Skip to content

Commit 7b505ec

Browse files
authored
Merge pull request #27 from clerk/speakeasy-sdk-regen-1725288014
chore: 🐝 Update SDK - Generate 0.3.0-beta.3
2 parents a363b5f + c2e37a1 commit 7b505ec

File tree

147 files changed

+373
-505
lines changed

Some content is hidden

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

147 files changed

+373
-505
lines changed

.speakeasy/gen.lock

+5-5
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@ id: 1d22a5a4-8bac-42e3-b164-121fcacf66c9
33
management:
44
docChecksum: f6e25376d224dc39635a7f5eed081de2
55
docVersion: v1
6-
speakeasyVersion: 1.363.1
7-
generationVersion: 2.396.0
8-
releaseVersion: 0.3.0-beta.2
9-
configChecksum: 80434d26185e1d667e08dee8aa5c755a
6+
speakeasyVersion: 1.390.1
7+
generationVersion: 2.409.0
8+
releaseVersion: 0.3.0-beta.3
9+
configChecksum: 457823c8a9591ad2fc26d7cbfd0453a1
1010
repoURL: https://github.com/clerk/clerk-sdk-java.git
1111
published: true
1212
features:
1313
java:
1414
additionalDependencies: 0.1.0
1515
constsAndDefaults: 0.1.1
16-
core: 3.28.1
16+
core: 3.29.4
1717
deprecations: 2.81.1
1818
examples: 2.81.3
1919
flattening: 2.81.1

.speakeasy/gen.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ generation:
1212
auth:
1313
oAuth2ClientCredentialsEnabled: true
1414
java:
15-
version: 0.3.0-beta.2
15+
version: 0.3.0-beta.3
1616
additionalDependencies: []
1717
additionalPlugins: []
1818
artifactID: backend-api

.speakeasy/workflow.lock

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
speakeasyVersion: 1.363.1
1+
speakeasyVersion: 1.390.1
22
sources:
33
clerk-java-sdk:
44
sourceNamespace: clerk-java-sdk
5-
sourceRevisionDigest: sha256:a1d17471885280f9bc34dcc58e923357e6497e706b83ee918cdc2078413a95f4
6-
sourceBlobDigest: sha256:709394a2b429d8bae8f4277a60d93a25c65c9a88cecd5f073ee1b576fd8129f1
5+
sourceRevisionDigest: sha256:515e4f10455f21ad59bbe16319a383e9e12c116d55bcf7652c681bba41aa304b
6+
sourceBlobDigest: sha256:9f3e5fb65dd3e8c708debe9a1dc453eeea8f47bd0bce5691c696b39e7b4391db
77
tags:
88
- latest
99
- main
1010
targets:
1111
clerk-java:
1212
source: clerk-java-sdk
1313
sourceNamespace: clerk-java-sdk
14-
sourceRevisionDigest: sha256:a1d17471885280f9bc34dcc58e923357e6497e706b83ee918cdc2078413a95f4
15-
sourceBlobDigest: sha256:709394a2b429d8bae8f4277a60d93a25c65c9a88cecd5f073ee1b576fd8129f1
14+
sourceRevisionDigest: sha256:515e4f10455f21ad59bbe16319a383e9e12c116d55bcf7652c681bba41aa304b
15+
sourceBlobDigest: sha256:9f3e5fb65dd3e8c708debe9a1dc453eeea8f47bd0bce5691c696b39e7b4391db
1616
outLocation: /github/workspace/repo
1717
my-first-target:
1818
source: clerk-java-sdk

README.md

+31-2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,35 @@
88

99
The Clerk Java library provides convenient access to the Clerk REST API from from a Java application. The library includes type definitions for all request params and response fields, and is powered by [Apache Httpclient](https://hc.apache.org/httpcomponents-client-4.5.x/index.html).
1010

11+
<!-- Start Summary [summary] -->
12+
## Summary
13+
14+
Clerk Backend API: The Clerk REST Backend API, meant to be accessed by backend
15+
servers.
16+
17+
### Versions
18+
19+
When the API changes in a way that isn't compatible with older versions, a new version is released.
20+
Each version is identified by its release date, e.g. `2021-02-05`. For more information, please see [Clerk API Versions](https://clerk.com/docs/backend-requests/versioning/overview).
21+
22+
23+
Please see https://clerk.com/docs for more information.
24+
25+
More information about the API can be found at https://clerk.com/docs
26+
<!-- End Summary [summary] -->
27+
28+
<!-- Start Table of Contents [toc] -->
29+
## Table of Contents
30+
31+
* [SDK Installation](#sdk-installation)
32+
* [SDK Example Usage](#sdk-example-usage)
33+
* [Available Resources and Operations](#available-resources-and-operations)
34+
* [Pagination](#pagination)
35+
* [Error Handling](#error-handling)
36+
* [Server Selection](#server-selection)
37+
* [Authentication](#authentication)
38+
<!-- End Table of Contents [toc] -->
39+
1140
<!-- Start SDK Installation [installation] -->
1241
## SDK Installation
1342

@@ -19,15 +48,15 @@ The samples below show how a published SDK artifact is used:
1948

2049
Gradle:
2150
```groovy
22-
implementation 'com.clerk:backend-api:0.3.0-beta.2'
51+
implementation 'com.clerk:backend-api:0.3.0-beta.3'
2352
```
2453

2554
Maven:
2655
```xml
2756
<dependency>
2857
<groupId>com.clerk</groupId>
2958
<artifactId>backend-api</artifactId>
30-
<version>0.3.0-beta.2</version>
59+
<version>0.3.0-beta.3</version>
3160
</dependency>
3261
```
3362

RELEASES.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -118,4 +118,14 @@ Based on:
118118
### Generated
119119
- [java v0.3.0-beta.2] .
120120
### Releases
121-
- [Maven Central v0.3.0-beta.2] https://central.sonatype.com/artifact/com.clerk/backend-api/0.3.0-beta.2 - .
121+
- [Maven Central v0.3.0-beta.2] https://central.sonatype.com/artifact/com.clerk/backend-api/0.3.0-beta.2 - .
122+
123+
## 2024-09-04 00:08:10
124+
### Changes
125+
Based on:
126+
- OpenAPI Doc
127+
- Speakeasy CLI 1.390.1 (2.409.0) https://github.com/speakeasy-api/speakeasy
128+
### Generated
129+
- [java v0.3.0-beta.3] .
130+
### Releases
131+
- [Maven Central v0.3.0-beta.3] https://central.sonatype.com/artifact/com.clerk/backend-api/0.3.0-beta.3 - .

build.gradle

+10-8
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ plugins {
1414
id 'java-library'
1515
id 'maven-publish'
1616
id 'signing'
17-
id 'cl.franciscosolis.sonatype-central-upload' version '1.0.0'
17+
id 'cl.franciscosolis.sonatype-central-upload' version '1.0.3'
1818
}
1919

2020
compileJava.options.encoding = "UTF-8"
@@ -32,6 +32,7 @@ java {
3232
withSourcesJar()
3333
withJavadocJar()
3434
}
35+
3536
model {
3637
tasks.generatePomFileForMavenPublication {
3738
destination = file("$buildDir/pom.xml")
@@ -56,13 +57,13 @@ javadoc {
5657
options.addStringOption('Xdoclint:none', '-quiet')
5758
}
5859

59-
6060
tasks.withType(Javadoc) {
6161
failOnError false
6262
options.addStringOption('Xdoclint:none', '-quiet')
6363
}
64+
6465
group = "com.clerk"
65-
version = "0.3.0-beta.2"
66+
version = "0.3.0-beta.3"
6667

6768
sourcesJar {
6869
archiveBaseName = "backend-api"
@@ -71,7 +72,6 @@ sourcesJar {
7172
javadocJar {
7273
archiveBaseName = "backend-api"
7374
}
74-
7575
sonatypeCentralUpload {
7676
// This is your Sonatype generated username
7777
username = System.getenv("SONATYPE_USERNAME")
@@ -93,13 +93,15 @@ sonatypeCentralUpload {
9393
// This is your PGP private key passphrase to decrypt your private key
9494
signingKeyPassphrase = System.getenv("SIGNING_KEY_PASSPHRASE")
9595
}
96+
97+
9698
publishing {
9799

98100
publications {
99101
maven(MavenPublication) {
100102
groupId = 'com.clerk'
101103
artifactId = 'backend-api'
102-
version = '0.3.0-beta.2'
104+
version = '0.3.0-beta.3'
103105

104106
from components.java
105107

@@ -143,9 +145,9 @@ if (!project.hasProperty('skip.signing')) {
143145
}
144146

145147
dependencies {
146-
implementation 'com.fasterxml.jackson.core:jackson-databind:2.17.0'
147-
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.17.0'
148-
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.17.0'
148+
implementation 'com.fasterxml.jackson.core:jackson-databind:2.17.2'
149+
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.17.2'
150+
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.17.2'
149151
implementation 'org.openapitools:jackson-databind-nullable:0.2.6'
150152
implementation 'org.apache.httpcomponents:httpclient:4.5.14'
151153
implementation 'org.apache.httpcomponents:httpmime:4.5.14'

docs/sdks/actors/README.md

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Actors
22
(*actors()*)
33

4+
## Overview
5+
46
### Available Operations
57

68
* [createToken](#createtoken) - Create actor token
@@ -59,25 +61,24 @@ public class Application {
5961
}
6062
```
6163

62-
63-
6464
### Parameters
6565

6666
| Parameter | Type | Required | Description |
6767
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
6868
| `request` | [CreateActorTokenRequestBody](../../models/operations/CreateActorTokenRequestBody.md) | :heavy_check_mark: | The request object to use for the request. |
6969

70-
7170
### Response
7271

7372
**[CreateActorTokenResponse](../../models/operations/CreateActorTokenResponse.md)**
73+
7474
### Errors
7575

7676
| Error Object | Status Code | Content Type |
7777
| ------------------------- | ------------------------- | ------------------------- |
7878
| models/errors/ClerkErrors | 400,402,422 | application/json |
7979
| models/errors/SDKError | 4xx-5xx | \*\/* |
8080

81+
8182
## revokeToken
8283

8384
Revokes a pending actor token.
@@ -122,18 +123,16 @@ public class Application {
122123
}
123124
```
124125

125-
126-
127126
### Parameters
128127

129128
| Parameter | Type | Required | Description |
130129
| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- |
131130
| `actorTokenId` | *String* | :heavy_check_mark: | The ID of the actor token to be revoked. |
132131

133-
134132
### Response
135133

136134
**[RevokeActorTokenResponse](../../models/operations/RevokeActorTokenResponse.md)**
135+
137136
### Errors
138137

139138
| Error Object | Status Code | Content Type |

docs/sdks/allowlist/README.md

+7-9
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Allowlist
22
(*allowlist()*)
33

4+
## Overview
5+
46
### Available Operations
57

68
* [list](#list) - List all identifiers on the allow-list
@@ -50,19 +52,18 @@ public class Application {
5052
}
5153
```
5254

53-
54-
55-
5655
### Response
5756

5857
**[ListAllowlistIdentifiersResponse](../../models/operations/ListAllowlistIdentifiersResponse.md)**
58+
5959
### Errors
6060

6161
| Error Object | Status Code | Content Type |
6262
| ------------------------- | ------------------------- | ------------------------- |
6363
| models/errors/ClerkErrors | 401,402 | application/json |
6464
| models/errors/SDKError | 4xx-5xx | \*\/* |
6565

66+
6667
## create
6768

6869
Create an identifier allowed to sign up to an instance
@@ -112,25 +113,24 @@ public class Application {
112113
}
113114
```
114115

115-
116-
117116
### Parameters
118117

119118
| Parameter | Type | Required | Description |
120119
| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
121120
| `request` | [CreateAllowlistIdentifierRequestBody](../../models/operations/CreateAllowlistIdentifierRequestBody.md) | :heavy_check_mark: | The request object to use for the request. |
122121

123-
124122
### Response
125123

126124
**[CreateAllowlistIdentifierResponse](../../models/operations/CreateAllowlistIdentifierResponse.md)**
125+
127126
### Errors
128127

129128
| Error Object | Status Code | Content Type |
130129
| ------------------------- | ------------------------- | ------------------------- |
131130
| models/errors/ClerkErrors | 400,402,422 | application/json |
132131
| models/errors/SDKError | 4xx-5xx | \*\/* |
133132

133+
134134
## delete
135135

136136
Delete an identifier from the instance allow-list
@@ -175,18 +175,16 @@ public class Application {
175175
}
176176
```
177177

178-
179-
180178
### Parameters
181179

182180
| Parameter | Type | Required | Description |
183181
| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ |
184182
| `identifierId` | *String* | :heavy_check_mark: | The ID of the identifier to delete from the allow-list |
185183

186-
187184
### Response
188185

189186
**[DeleteAllowlistIdentifierResponse](../../models/operations/DeleteAllowlistIdentifierResponse.md)**
187+
190188
### Errors
191189

192190
| Error Object | Status Code | Content Type |

0 commit comments

Comments
 (0)