Skip to content

Commit c1050f4

Browse files
## Java SDK Changes: (#103)
* `clerk.users.getBillingCreditBalance()`: **Added** * `clerk.users.adjustBillingCreditBalance()`: **Added** * `clerk.instanceSettings.getOAuthApplicationSettings()`: **Added** * `clerk.instanceSettings.updateOAuthApplicationSettings()`: **Added** * `clerk.organizations.getBillingCreditBalance()`: **Added** * `clerk.organizations.adjustBillingCreditBalance()`: **Added** * `clerk.agentTasks.create()`: **Added** * `clerk.agentTasks.revoke()`: **Added** * `clerk.emailAddresses.create()`: `error.status[409]` **Added** * `clerk.emailAddresses.update()`: `error.status[409]` **Added** * `clerk.users.update()`: `error.status[409]` **Added** * `clerk.users.getBillingSubscription()`: `response.subscriptionItems[]` **Changed** * `clerk.users.getOrganizationInvitations()`: `request.status` **Changed** * `clerk.organizationInvitations.getAll()`: * `request.status` **Changed** * `clerk.organizationInvitations.create()`: `error.status[402]` **Added** * `clerk.organizationInvitations.list()`: * `request.status` **Changed** * `clerk.organizations.update()`: `error.status[400]` **Added** * `clerk.organizations.getBillingSubscription()`: `response.subscriptionItems[]` **Changed** * `clerk.billing.listPlans()`: `response.data[].unitPrices` **Added** * `clerk.billing.listPrices()`: `response.data[].isDefault` **Added** * `clerk.billing.createPrice()`: `response.isDefault` **Added** * `clerk.billing.listSubscriptionItems()`: `response.data[]` **Changed** * `clerk.billing.cancelSubscriptionItem()`: `response` **Changed** * `clerk.billing.createPriceTransition()`: `response.transition.previousPrice.isDefault` **Added** * `clerk.billing.listStatements()`: `response.data[]` **Changed** * `clerk.billing.getStatement()`: `response` **Changed** * `clerk.billing.getStatementPaymentAttempts()`: `response.data[].totals` **Added** * `clerk.m2m.createToken()`: * `request.tokenFormat` **Added** Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
1 parent 8b007d1 commit c1050f4

381 files changed

Lines changed: 15663 additions & 966 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitattributes

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,5 @@
44
# Linux start script should use lf
55
/gradlew text eol=lf
66

7-
# These are Windows script files and should use crlf
8-
*.bat text eol=crlf
9-
107
# This allows generated code to be indexed correctly
118
*.java linguist-generated=false

.speakeasy/gen.lock

Lines changed: 1067 additions & 563 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ generation:
1414
securityFeb2025: false
1515
sharedErrorComponentsApr2025: false
1616
sharedNestedComponentsJan2026: false
17+
nameOverrideFeb2026: false
1718
auth:
1819
oAuth2ClientCredentialsEnabled: true
1920
oAuth2PasswordEnabled: false
@@ -28,7 +29,7 @@ generation:
2829
generateNewTests: false
2930
skipResponseBodyAssertions: false
3031
java:
31-
version: 4.1.3
32+
version: 4.1.4
3233
additionalDependencies: []
3334
additionalPlugins: []
3435
artifactID: backend-api
@@ -39,13 +40,16 @@ java:
3940
companyURL: www.mycompany.com
4041
defaultErrorName: SDKError
4142
enableCustomCodeRegions: false
43+
enableFormatting: false
4244
enableSlf4jLogging: false
4345
enableStreamingUploads: false
46+
explicitDocImports: false
4447
flattenGlobalSecurity: true
4548
forwardCompatibleEnumsByDefault: false
4649
forwardCompatibleUnionsByDefault: "false"
4750
generateOptionalUnionAccessors: false
4851
generateSpringBootStarter: true
52+
generateUnionDocs: false
4953
githubURL: github.com/owner/repo
5054
groupID: com.clerk
5155
imports:
@@ -68,7 +72,9 @@ java:
6872
nullFriendlyParameters: false
6973
operationScopedParams: true
7074
outputModelSuffix: output
75+
prefixModeMethodNames: false
7176
projectName: api
7277
respectTitlesForPrimitiveUnionMembers: false
78+
showSetterGetterTypesInDocs: false
7379
templateVersion: v2
7480
unionStrategy: populated-fields

.speakeasy/workflow.lock

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
1-
speakeasyVersion: 1.719.0
1+
speakeasyVersion: 1.749.1
22
sources:
33
clerk-java-sdk:
44
sourceNamespace: clerk-java-sdk
5-
sourceRevisionDigest: sha256:67786e21dc7e6b0a9d7363f7d448ee91b877584ee464267868ab4bd24b533c51
6-
sourceBlobDigest: sha256:88671be82807d36bb9992ddbcf3cff521c1a389a5f664e6bc0d85d27684a4db6
5+
sourceRevisionDigest: sha256:9925228df9e79b73494a9562af086a54c935af7eb18119c3ac09a24d94f0abbe
6+
sourceBlobDigest: sha256:de9c002b801ef4410225c475dfd97d83484bcd298f746efee66cd32490029399
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1768262997
109
- "2025-11-10"
1110
targets:
1211
clerk-java:
1312
source: clerk-java-sdk
1413
sourceNamespace: clerk-java-sdk
15-
sourceRevisionDigest: sha256:67786e21dc7e6b0a9d7363f7d448ee91b877584ee464267868ab4bd24b533c51
16-
sourceBlobDigest: sha256:88671be82807d36bb9992ddbcf3cff521c1a389a5f664e6bc0d85d27684a4db6
14+
sourceRevisionDigest: sha256:9925228df9e79b73494a9562af086a54c935af7eb18119c3ac09a24d94f0abbe
15+
sourceBlobDigest: sha256:de9c002b801ef4410225c475dfd97d83484bcd298f746efee66cd32490029399
1716
codeSamplesNamespace: clerk-java-sdk-code-samples
18-
codeSamplesRevisionDigest: sha256:6664493944536da85f042d03312d78587af18aa4378d3d99c3f98e3cb385ba60
17+
codeSamplesRevisionDigest: sha256:46d01828964b174a2dbcc48b37ed652013dab500317d26d2a37cce2106c3c877
1918
my-first-target:
2019
source: clerk-java-sdk
2120
sourceNamespace: clerk-java-sdk

README.md

Lines changed: 82 additions & 31 deletions
Large diffs are not rendered by default.

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,4 +398,14 @@ Based on:
398398
### Generated
399399
- [java v4.1.3] .
400400
### Releases
401-
- [Maven Central v4.1.3] https://central.sonatype.com/artifact/com.clerk/backend-api/4.1.3 - .
401+
- [Maven Central v4.1.3] https://central.sonatype.com/artifact/com.clerk/backend-api/4.1.3 - .
402+
403+
## 2026-03-09 14:18:02
404+
### Changes
405+
Based on:
406+
- OpenAPI Doc
407+
- Speakeasy CLI 1.749.1 (2.855.2) https://github.com/speakeasy-api/speakeasy
408+
### Generated
409+
- [java v4.1.4] .
410+
### Releases
411+
- [Maven Central v4.1.4] https://central.sonatype.com/artifact/com.clerk/backend-api/4.1.4 - .

USAGE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public class Application {
2020
.call();
2121

2222
if (res.emailAddress().isPresent()) {
23-
// handle response
23+
System.out.println(res.emailAddress().get());
2424
}
2525
}
2626
}

docs/models/components/Action.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Action
2+
3+
Whether to increase or decrease the credit balance.
4+
5+
## Example Usage
6+
7+
```java
8+
import com.clerk.backend_api.models.components.Action;
9+
10+
Action value = Action.INCREASE;
11+
```
12+
13+
14+
## Values
15+
16+
| Name | Value |
17+
| ---------- | ---------- |
18+
| `INCREASE` | increase |
19+
| `DECREASE` | decrease |

docs/models/components/ActorTokenObject.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# ActorTokenObject
22

3+
## Example Usage
4+
5+
```java
6+
import com.clerk.backend_api.models.components.ActorTokenObject;
7+
8+
ActorTokenObject value = ActorTokenObject.ACTOR_TOKEN;
9+
```
10+
311

412
## Values
513

docs/models/components/ActorTokenStatus.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# ActorTokenStatus
22

3+
## Example Usage
4+
5+
```java
6+
import com.clerk.backend_api.models.components.ActorTokenStatus;
7+
8+
ActorTokenStatus value = ActorTokenStatus.PENDING;
9+
```
10+
311

412
## Values
513

0 commit comments

Comments
 (0)