Skip to content

Commit

Permalink
Merge pull request #27 from clerk/speakeasy-sdk-regen-1725288014
Browse files Browse the repository at this point in the history
chore: 🐝 Update SDK - Generate 0.3.0-beta.3
  • Loading branch information
speakeasybot authored Sep 4, 2024
2 parents a363b5f + c2e37a1 commit 7b505ec
Show file tree
Hide file tree
Showing 147 changed files with 373 additions and 505 deletions.
10 changes: 5 additions & 5 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ id: 1d22a5a4-8bac-42e3-b164-121fcacf66c9
management:
docChecksum: f6e25376d224dc39635a7f5eed081de2
docVersion: v1
speakeasyVersion: 1.363.1
generationVersion: 2.396.0
releaseVersion: 0.3.0-beta.2
configChecksum: 80434d26185e1d667e08dee8aa5c755a
speakeasyVersion: 1.390.1
generationVersion: 2.409.0
releaseVersion: 0.3.0-beta.3
configChecksum: 457823c8a9591ad2fc26d7cbfd0453a1
repoURL: https://github.com/clerk/clerk-sdk-java.git
published: true
features:
java:
additionalDependencies: 0.1.0
constsAndDefaults: 0.1.1
core: 3.28.1
core: 3.29.4
deprecations: 2.81.1
examples: 2.81.3
flattening: 2.81.1
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: true
java:
version: 0.3.0-beta.2
version: 0.3.0-beta.3
additionalDependencies: []
additionalPlugins: []
artifactID: backend-api
Expand Down
10 changes: 5 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
speakeasyVersion: 1.363.1
speakeasyVersion: 1.390.1
sources:
clerk-java-sdk:
sourceNamespace: clerk-java-sdk
sourceRevisionDigest: sha256:a1d17471885280f9bc34dcc58e923357e6497e706b83ee918cdc2078413a95f4
sourceBlobDigest: sha256:709394a2b429d8bae8f4277a60d93a25c65c9a88cecd5f073ee1b576fd8129f1
sourceRevisionDigest: sha256:515e4f10455f21ad59bbe16319a383e9e12c116d55bcf7652c681bba41aa304b
sourceBlobDigest: sha256:9f3e5fb65dd3e8c708debe9a1dc453eeea8f47bd0bce5691c696b39e7b4391db
tags:
- latest
- main
targets:
clerk-java:
source: clerk-java-sdk
sourceNamespace: clerk-java-sdk
sourceRevisionDigest: sha256:a1d17471885280f9bc34dcc58e923357e6497e706b83ee918cdc2078413a95f4
sourceBlobDigest: sha256:709394a2b429d8bae8f4277a60d93a25c65c9a88cecd5f073ee1b576fd8129f1
sourceRevisionDigest: sha256:515e4f10455f21ad59bbe16319a383e9e12c116d55bcf7652c681bba41aa304b
sourceBlobDigest: sha256:9f3e5fb65dd3e8c708debe9a1dc453eeea8f47bd0bce5691c696b39e7b4391db
outLocation: /github/workspace/repo
my-first-target:
source: clerk-java-sdk
Expand Down
33 changes: 31 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,35 @@

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).

<!-- Start Summary [summary] -->
## Summary

Clerk Backend API: The Clerk REST Backend API, meant to be accessed by backend
servers.

### Versions

When the API changes in a way that isn't compatible with older versions, a new version is released.
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).


Please see https://clerk.com/docs for more information.

More information about the API can be found at https://clerk.com/docs
<!-- End Summary [summary] -->

<!-- Start Table of Contents [toc] -->
## Table of Contents

* [SDK Installation](#sdk-installation)
* [SDK Example Usage](#sdk-example-usage)
* [Available Resources and Operations](#available-resources-and-operations)
* [Pagination](#pagination)
* [Error Handling](#error-handling)
* [Server Selection](#server-selection)
* [Authentication](#authentication)
<!-- End Table of Contents [toc] -->

<!-- Start SDK Installation [installation] -->
## SDK Installation

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

Gradle:
```groovy
implementation 'com.clerk:backend-api:0.3.0-beta.2'
implementation 'com.clerk:backend-api:0.3.0-beta.3'
```

Maven:
```xml
<dependency>
<groupId>com.clerk</groupId>
<artifactId>backend-api</artifactId>
<version>0.3.0-beta.2</version>
<version>0.3.0-beta.3</version>
</dependency>
```

Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,14 @@ Based on:
### Generated
- [java v0.3.0-beta.2] .
### Releases
- [Maven Central v0.3.0-beta.2] https://central.sonatype.com/artifact/com.clerk/backend-api/0.3.0-beta.2 - .
- [Maven Central v0.3.0-beta.2] https://central.sonatype.com/artifact/com.clerk/backend-api/0.3.0-beta.2 - .

## 2024-09-04 00:08:10
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.390.1 (2.409.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v0.3.0-beta.3] .
### Releases
- [Maven Central v0.3.0-beta.3] https://central.sonatype.com/artifact/com.clerk/backend-api/0.3.0-beta.3 - .
18 changes: 10 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ plugins {
id 'java-library'
id 'maven-publish'
id 'signing'
id 'cl.franciscosolis.sonatype-central-upload' version '1.0.0'
id 'cl.franciscosolis.sonatype-central-upload' version '1.0.3'
}

compileJava.options.encoding = "UTF-8"
Expand All @@ -32,6 +32,7 @@ java {
withSourcesJar()
withJavadocJar()
}

model {
tasks.generatePomFileForMavenPublication {
destination = file("$buildDir/pom.xml")
Expand All @@ -56,13 +57,13 @@ javadoc {
options.addStringOption('Xdoclint:none', '-quiet')
}


tasks.withType(Javadoc) {
failOnError false
options.addStringOption('Xdoclint:none', '-quiet')
}

group = "com.clerk"
version = "0.3.0-beta.2"
version = "0.3.0-beta.3"

sourcesJar {
archiveBaseName = "backend-api"
Expand All @@ -71,7 +72,6 @@ sourcesJar {
javadocJar {
archiveBaseName = "backend-api"
}

sonatypeCentralUpload {
// This is your Sonatype generated username
username = System.getenv("SONATYPE_USERNAME")
Expand All @@ -93,13 +93,15 @@ sonatypeCentralUpload {
// This is your PGP private key passphrase to decrypt your private key
signingKeyPassphrase = System.getenv("SIGNING_KEY_PASSPHRASE")
}


publishing {

publications {
maven(MavenPublication) {
groupId = 'com.clerk'
artifactId = 'backend-api'
version = '0.3.0-beta.2'
version = '0.3.0-beta.3'

from components.java

Expand Down Expand Up @@ -143,9 +145,9 @@ if (!project.hasProperty('skip.signing')) {
}

dependencies {
implementation 'com.fasterxml.jackson.core:jackson-databind:2.17.0'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.17.0'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.17.0'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.17.2'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.17.2'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.17.2'
implementation 'org.openapitools:jackson-databind-nullable:0.2.6'
implementation 'org.apache.httpcomponents:httpclient:4.5.14'
implementation 'org.apache.httpcomponents:httpmime:4.5.14'
Expand Down
11 changes: 5 additions & 6 deletions docs/sdks/actors/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Actors
(*actors()*)

## Overview

### Available Operations

* [createToken](#createtoken) - Create actor token
Expand Down Expand Up @@ -59,25 +61,24 @@ public class Application {
}
```



### Parameters

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


### Response

**[CreateActorTokenResponse](../../models/operations/CreateActorTokenResponse.md)**

### Errors

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


## revokeToken

Revokes a pending actor token.
Expand Down Expand Up @@ -122,18 +123,16 @@ public class Application {
}
```



### Parameters

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


### Response

**[RevokeActorTokenResponse](../../models/operations/RevokeActorTokenResponse.md)**

### Errors

| Error Object | Status Code | Content Type |
Expand Down
16 changes: 7 additions & 9 deletions docs/sdks/allowlist/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Allowlist
(*allowlist()*)

## Overview

### Available Operations

* [list](#list) - List all identifiers on the allow-list
Expand Down Expand Up @@ -50,19 +52,18 @@ public class Application {
}
```




### Response

**[ListAllowlistIdentifiersResponse](../../models/operations/ListAllowlistIdentifiersResponse.md)**

### Errors

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


## create

Create an identifier allowed to sign up to an instance
Expand Down Expand Up @@ -112,25 +113,24 @@ public class Application {
}
```



### Parameters

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


### Response

**[CreateAllowlistIdentifierResponse](../../models/operations/CreateAllowlistIdentifierResponse.md)**

### Errors

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


## delete

Delete an identifier from the instance allow-list
Expand Down Expand Up @@ -175,18 +175,16 @@ public class Application {
}
```



### Parameters

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


### Response

**[DeleteAllowlistIdentifierResponse](../../models/operations/DeleteAllowlistIdentifierResponse.md)**

### Errors

| Error Object | Status Code | Content Type |
Expand Down
Loading

0 comments on commit 7b505ec

Please sign in to comment.