Skip to content

Commit 34dc754

Browse files
authored
Merge pull request #52 from clerk/speakeasy-sdk-regen-1741132495
chore: 🐝 Update SDK - Generate 2.0.0
2 parents 59c3c1d + 086d17b commit 34dc754

File tree

931 files changed

+38099
-18089
lines changed

Some content is hidden

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

931 files changed

+38099
-18089
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
.speakeasy/reports
12
# Ignore Gradle project-specific cache directory
23
.gradle
34
# Ignore Gradle build output directory

.speakeasy/gen.lock

Lines changed: 465 additions & 330 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,15 @@ generation:
77
useClassNamesForArrayFields: true
88
fixes:
99
nameResolutionDec2023: true
10+
nameResolutionFeb2025: false
1011
parameterOrderingFeb2024: true
1112
requestResponseComponentNamesFeb2024: true
13+
securityFeb2025: false
1214
auth:
1315
oAuth2ClientCredentialsEnabled: true
1416
oAuth2PasswordEnabled: false
1517
java:
16-
version: 1.5.0
18+
version: 2.0.0
1719
additionalDependencies: []
1820
additionalPlugins: []
1921
artifactID: backend-api

.speakeasy/workflow.lock

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.456.1
1+
speakeasyVersion: 1.510.0
22
sources:
33
clerk-java-sdk:
44
sourceNamespace: clerk-java-sdk
5-
sourceRevisionDigest: sha256:bfefe98b41e740defff0a03f01252a3b6267134984b14ede64221006fa1ac063
6-
sourceBlobDigest: sha256:ff770ca4e1220e72028c4285967fd63f63c68a1d27da9815d826384905cadcfa
5+
sourceRevisionDigest: sha256:97ca1adafc9ae5e399b72c7b080e0518d6016bfb50ad75875df04265060a813f
6+
sourceBlobDigest: sha256:2b71237f436348d2cd0068137c6eeefa1a61edb8dcba32820d3e6842b48b8c19
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1733789375
10-
- v1
9+
- speakeasy-sdk-regen-1741132495
10+
- "2024-10-01"
1111
targets:
1212
clerk-java:
1313
source: clerk-java-sdk
1414
sourceNamespace: clerk-java-sdk
15-
sourceRevisionDigest: sha256:bfefe98b41e740defff0a03f01252a3b6267134984b14ede64221006fa1ac063
16-
sourceBlobDigest: sha256:ff770ca4e1220e72028c4285967fd63f63c68a1d27da9815d826384905cadcfa
15+
sourceRevisionDigest: sha256:97ca1adafc9ae5e399b72c7b080e0518d6016bfb50ad75875df04265060a813f
16+
sourceBlobDigest: sha256:2b71237f436348d2cd0068137c6eeefa1a61edb8dcba32820d3e6842b48b8c19
1717
codeSamplesNamespace: clerk-java-sdk-code-samples
18-
codeSamplesRevisionDigest: sha256:bf210dc764b909e1d20c7c06ab5e5d040243afc06d7fe23c731f289006918af8
18+
codeSamplesRevisionDigest: sha256:efb4ef82b8f5b1d6eacf851ce6862c3bff1ec1ad5456ac68be434fe8266bd8cb
1919
my-first-target:
2020
source: clerk-java-sdk
2121
sourceNamespace: clerk-java-sdk
@@ -28,9 +28,6 @@ workflow:
2828
clerk-java-sdk:
2929
inputs:
3030
- location: https://raw.githubusercontent.com/clerk/openapi-specs/refs/heads/main/bapi/2024-10-01.yml
31-
overlays:
32-
- location: fixes.yml
33-
- location: .speakeasy/speakeasy-suggestions.yaml
3431
registry:
3532
location: registry.speakeasyapi.dev/clerk/clerk/clerk-java-sdk
3633
targets:

README.md

Lines changed: 144 additions & 50 deletions
Large diffs are not rendered by default.

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,4 +188,14 @@ Based on:
188188
### Generated
189189
- [java v1.5.0] .
190190
### Releases
191-
- [Maven Central v1.5.0] https://central.sonatype.com/artifact/com.clerk/backend-api/1.5.0 - .
191+
- [Maven Central v1.5.0] https://central.sonatype.com/artifact/com.clerk/backend-api/1.5.0 - .
192+
193+
## 2025-03-06 00:09:10
194+
### Changes
195+
Based on:
196+
- OpenAPI Doc
197+
- Speakeasy CLI 1.510.0 (2.541.0) https://github.com/speakeasy-api/speakeasy
198+
### Generated
199+
- [java v2.0.0] .
200+
### Releases
201+
- [Maven Central v2.0.0] https://central.sonatype.com/artifact/com.clerk/backend-api/2.0.0 - .

USAGE.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,25 @@
33
package hello.world;
44

55
import com.clerk.backend_api.Clerk;
6-
import com.clerk.backend_api.models.errors.ClerkErrors;
7-
import com.clerk.backend_api.models.operations.GetEmailAddressResponse;
6+
import com.clerk.backend_api.models.operations.GetPublicInterstitialRequest;
7+
import com.clerk.backend_api.models.operations.GetPublicInterstitialResponse;
88
import java.lang.Exception;
99

1010
public class Application {
1111

12-
public static void main(String[] args) throws ClerkErrors, Exception {
12+
public static void main(String[] args) throws Exception {
1313

1414
Clerk sdk = Clerk.builder()
15-
.bearerAuth("<YOUR_BEARER_TOKEN_HERE>")
1615
.build();
1716

18-
GetEmailAddressResponse res = sdk.emailAddresses().get()
19-
.emailAddressId("<id>")
17+
GetPublicInterstitialRequest req = GetPublicInterstitialRequest.builder()
18+
.build();
19+
20+
GetPublicInterstitialResponse res = sdk.miscellaneous().getPublicInterstitial()
21+
.request(req)
2022
.call();
2123

22-
if (res.emailAddress().isPresent()) {
23-
// handle response
24-
}
24+
// handle response
2525
}
2626
}
2727
```

build.gradle

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ tasks.withType(Javadoc) {
6363
}
6464

6565
group = "com.clerk"
66-
version = "1.5.0"
66+
version = "2.0.0"
6767

6868
sourcesJar {
6969
archiveBaseName = "backend-api"
@@ -101,7 +101,7 @@ publishing {
101101
maven(MavenPublication) {
102102
groupId = 'com.clerk'
103103
artifactId = 'backend-api'
104-
version = '1.5.0'
104+
version = '2.0.0'
105105

106106
from components.java
107107

@@ -144,17 +144,15 @@ if (!project.hasProperty('skip.signing')) {
144144
}
145145
}
146146

147+
148+
147149
dependencies {
148-
api 'com.fasterxml.jackson.core:jackson-annotations:2.17.2'
149-
implementation 'com.fasterxml.jackson.core:jackson-databind:2.17.2'
150-
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.17.2'
151-
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.17.2'
150+
api 'com.fasterxml.jackson.core:jackson-annotations:2.18.2'
151+
implementation 'com.fasterxml.jackson.core:jackson-databind:2.18.2'
152+
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.18.2'
153+
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.18.2'
152154
api('org.openapitools:jackson-databind-nullable:0.2.6') {exclude group: 'com.fasterxml.jackson.core', module: 'jackson-databind'}
153-
implementation 'org.apache.httpcomponents:httpclient:4.5.14'
154-
implementation 'org.apache.httpcomponents:httpmime:4.5.14'
155-
implementation 'commons-io:commons-io:2.15.1'
155+
implementation 'commons-io:commons-io:2.18.0'
156156
}
157157

158-
159-
160158
apply from: 'build-extras.gradle'

docs/models/components/ActorToken.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Success
1212
| `status` | [ActorTokenStatus](../../models/components/ActorTokenStatus.md) | :heavy_check_mark: | N/A |
1313
| `userId` | *String* | :heavy_check_mark: | N/A |
1414
| `actor` | [ActorTokenActor](../../models/components/ActorTokenActor.md) | :heavy_check_mark: | N/A |
15-
| `token` | *JsonNullable\<String>* | :heavy_minus_sign: | N/A |
16-
| `url` | *JsonNullable\<String>* | :heavy_minus_sign: | N/A |
15+
| `token` | *Optional\<String>* | :heavy_minus_sign: | N/A |
16+
| `url` | *Optional\<String>* | :heavy_minus_sign: | N/A |
1717
| `createdAt` | *long* | :heavy_check_mark: | Unix timestamp of creation.<br/> |
1818
| `updatedAt` | *long* | :heavy_check_mark: | Unix timestamp of last update.<br/> |

docs/models/components/Admin.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@
77
| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- |
88
| `status` | [AdminVerificationStatus](../../models/components/AdminVerificationStatus.md) | :heavy_check_mark: | N/A |
99
| `strategy` | [VerificationStrategy](../../models/components/VerificationStrategy.md) | :heavy_check_mark: | N/A |
10-
| `attempts` | *JsonNullable\<Long>* | :heavy_minus_sign: | N/A |
11-
| `expireAt` | *JsonNullable\<Long>* | :heavy_minus_sign: | N/A |
10+
| `attempts` | *Optional\<Long>* | :heavy_check_mark: | N/A |
11+
| `expireAt` | *Optional\<Long>* | :heavy_check_mark: | N/A |
12+
| `verifiedAtClient` | *JsonNullable\<String>* | :heavy_minus_sign: | N/A |

0 commit comments

Comments
 (0)