Skip to content

Commit

Permalink
Merge pull request #15 from clerk/speakeasy-sdk-regen-1737669739
Browse files Browse the repository at this point in the history
chore: 🐝 Update SDK - Generate 0.3.0
  • Loading branch information
logangingerich authored Jan 23, 2025
2 parents 7806907 + 5eaec7e commit 652053a
Show file tree
Hide file tree
Showing 225 changed files with 4,216 additions and 1,044 deletions.
432 changes: 271 additions & 161 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ generation:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: true
csharp:
version: 0.2.4
version: 0.3.0
additionalDependencies:
- package: System.IdentityModel.Tokens.Jwt
version: 8.2.0
Expand Down
14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
speakeasyVersion: 1.456.0
speakeasyVersion: 1.473.0
sources:
clerk-backend-api-OAS:
sourceNamespace: clerk-openapi
sourceRevisionDigest: sha256:efdf986b92d6862a0b94ab2cfed73cb30d81a555892efb24fc6e378a2af4a577
sourceBlobDigest: sha256:0a5ace726161fd961371da7a7e552954e4ffb456e1d3762ec2f551f5f14bc1f0
sourceRevisionDigest: sha256:53525efdf49a8b28bf3c77fd74febf52f0f4e563cea7337d3f64ee7690ccf405
sourceBlobDigest: sha256:3508bdedcc9af2c8f425007085f5fe060d7c0b32d0aa9502a44ca5bc6a9b6303
tags:
- latest
- speakeasy-sdk-regen-1733789165
- speakeasy-sdk-regen-1737669739
- v1
targets:
clerk-backend-api:
source: clerk-backend-api-OAS
sourceNamespace: clerk-openapi
sourceRevisionDigest: sha256:efdf986b92d6862a0b94ab2cfed73cb30d81a555892efb24fc6e378a2af4a577
sourceBlobDigest: sha256:0a5ace726161fd961371da7a7e552954e4ffb456e1d3762ec2f551f5f14bc1f0
sourceRevisionDigest: sha256:53525efdf49a8b28bf3c77fd74febf52f0f4e563cea7337d3f64ee7690ccf405
sourceBlobDigest: sha256:3508bdedcc9af2c8f425007085f5fe060d7c0b32d0aa9502a44ca5bc6a9b6303
codeSamplesNamespace: clerk-backend-api-oas-csharp-code-samples
codeSamplesRevisionDigest: sha256:96f7d941706af8b63df143e3a2ac81b4abdb797a5efb58ad2991bdc8ed2389f9
codeSamplesRevisionDigest: sha256:1d74df474d1eb925efaae16c859fb2f289753caf9eef03ae34f75882f1c8249e
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
7 changes: 1 addition & 6 deletions NUGET.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

```csharp
using Clerk.BackendAPI;
using Clerk.BackendAPI.Models.Operations;
using Clerk.BackendAPI.Models.Components;

var sdk = new ClerkBackendApi(bearerAuth: "<YOUR_BEARER_TOKEN_HERE>");
Expand All @@ -33,7 +32,6 @@ This SDK supports the following security scheme globally:
To authenticate with the API the `BearerAuth` parameter must be set when initializing the SDK client instance. For example:
```csharp
using Clerk.BackendAPI;
using Clerk.BackendAPI.Models.Operations;
using Clerk.BackendAPI.Models.Components;

var sdk = new ClerkBackendApi(bearerAuth: "<YOUR_BEARER_TOKEN_HERE>");
Expand Down Expand Up @@ -71,10 +69,9 @@ When custom error responses are specified for an operation, the SDK may also thr

```csharp
using Clerk.BackendAPI;
using Clerk.BackendAPI.Models.Operations;
using Clerk.BackendAPI.Models.Components;
using System;
using Clerk.BackendAPI.Models.Errors;
using Clerk.BackendAPI.Models.Operations;

var sdk = new ClerkBackendApi(bearerAuth: "<YOUR_BEARER_TOKEN_HERE>");

Expand Down Expand Up @@ -112,8 +109,6 @@ catch (Exception ex)
The default server can also be overridden globally by passing a URL to the `serverUrl: string` optional parameter when initializing the SDK client instance. For example:
```csharp
using Clerk.BackendAPI;
using Clerk.BackendAPI.Models.Operations;
using Clerk.BackendAPI.Models.Components;

var sdk = new ClerkBackendApi(serverUrl: "https://api.clerk.com/v1");

Expand Down
16 changes: 10 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ dotnet add reference src/Clerk/BackendAPI/Clerk.BackendAPI.csproj

```csharp
using Clerk.BackendAPI;
using Clerk.BackendAPI.Models.Operations;
using Clerk.BackendAPI.Models.Components;

var sdk = new ClerkBackendApi(bearerAuth: "<YOUR_BEARER_TOKEN_HERE>");
Expand All @@ -94,7 +93,6 @@ This SDK supports the following security scheme globally:
To authenticate with the API the `BearerAuth` parameter must be set when initializing the SDK client instance. For example:
```csharp
using Clerk.BackendAPI;
using Clerk.BackendAPI.Models.Operations;
using Clerk.BackendAPI.Models.Components;

var sdk = new ClerkBackendApi(bearerAuth: "<YOUR_BEARER_TOKEN_HERE>");
Expand Down Expand Up @@ -207,6 +205,7 @@ If the request is correctly authenticated, the token's claims are made available

### [InstanceSettings](docs/sdks/instancesettings/README.md)

* [GetInstance](docs/sdks/instancesettings/README.md#getinstance) - Fetch the current instance
* [Update](docs/sdks/instancesettings/README.md#update) - Update instance settings
* [UpdateRestrictions](docs/sdks/instancesettings/README.md#updaterestrictions) - Update instance restrictions
* [UpdateOrganization](docs/sdks/instancesettings/README.md#updateorganization) - Update instance organization settings
Expand All @@ -215,6 +214,7 @@ If the request is correctly authenticated, the token's claims are made available

* [Create](docs/sdks/invitations/README.md#create) - Create an invitation
* [List](docs/sdks/invitations/README.md#list) - List all invitations
* [CreateBulkInvitations](docs/sdks/invitations/README.md#createbulkinvitations) - Create multiple invitations
* [Revoke](docs/sdks/invitations/README.md#revoke) - Revokes an invitation

### [Jwks](docs/sdks/jwks/README.md)
Expand Down Expand Up @@ -311,9 +311,11 @@ If the request is correctly authenticated, the token's claims are made available
### [Sessions](docs/sdks/sessions/README.md)

* [List](docs/sdks/sessions/README.md#list) - List all sessions
* [CreateSession](docs/sdks/sessions/README.md#createsession) - Create a new active session
* [Get](docs/sdks/sessions/README.md#get) - Retrieve a session
* [Revoke](docs/sdks/sessions/README.md#revoke) - Revoke a session
* [~~Verify~~](docs/sdks/sessions/README.md#verify) - Verify a session :warning: **Deprecated**
* [CreateSessionToken](docs/sdks/sessions/README.md#createsessiontoken) - Create a session token
* [CreateToken](docs/sdks/sessions/README.md#createtoken) - Create a session token from a jwt template

### [SignInTokens](docs/sdks/signintokens/README.md)
Expand Down Expand Up @@ -360,6 +362,11 @@ If the request is correctly authenticated, the token's claims are made available

* [Delete](docs/sdks/userweb3wallets/README.md#delete) - Delete a user web3 wallet

### [WaitlistEntries](docs/sdks/waitlistentries/README.md)

* [ListWaitlistEntries](docs/sdks/waitlistentries/README.md#listwaitlistentries) - List all waitlist entries
* [CreateWaitlistEntry](docs/sdks/waitlistentries/README.md#createwaitlistentry) - Create a waitlist entry

### [Webhooks](docs/sdks/webhooks/README.md)

* [CreateSvixApp](docs/sdks/webhooks/README.md#createsvixapp) - Create a Svix app
Expand Down Expand Up @@ -393,10 +400,9 @@ When custom error responses are specified for an operation, the SDK may also thr

```csharp
using Clerk.BackendAPI;
using Clerk.BackendAPI.Models.Operations;
using Clerk.BackendAPI.Models.Components;
using System;
using Clerk.BackendAPI.Models.Errors;
using Clerk.BackendAPI.Models.Operations;

var sdk = new ClerkBackendApi(bearerAuth: "<YOUR_BEARER_TOKEN_HERE>");

Expand Down Expand Up @@ -434,8 +440,6 @@ catch (Exception ex)
The default server can also be overridden globally by passing a URL to the `serverUrl: string` optional parameter when initializing the SDK client instance. For example:
```csharp
using Clerk.BackendAPI;
using Clerk.BackendAPI.Models.Operations;
using Clerk.BackendAPI.Models.Components;

var sdk = new ClerkBackendApi(serverUrl: "https://api.clerk.com/v1");

Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,14 @@ Based on:
### Generated
- [csharp v0.2.4] .
### Releases
- [NuGet v0.2.4] https://www.nuget.org/packages/Clerk.BackendAPI/0.2.4 - .
- [NuGet v0.2.4] https://www.nuget.org/packages/Clerk.BackendAPI/0.2.4 - .

## 2025-01-23 22:02:03
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.473.0 (2.495.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [csharp v0.3.0] .
### Releases
- [NuGet v0.3.0] https://www.nuget.org/packages/Clerk.BackendAPI/0.3.0 - .
1 change: 0 additions & 1 deletion USAGE.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<!-- Start SDK Example Usage [usage] -->
```csharp
using Clerk.BackendAPI;
using Clerk.BackendAPI.Models.Operations;
using Clerk.BackendAPI.Models.Components;

var sdk = new ClerkBackendApi(bearerAuth: "<YOUR_BEARER_TOKEN_HERE>");
Expand Down
1 change: 1 addition & 0 deletions docs/Models/Components/EmailAddress.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ Success
| `Reserved` | *bool* | :heavy_check_mark: | N/A | false |
| `Verification` | [Verification](../../Models/Components/Verification.md) | :heavy_check_mark: | N/A | {<br/>"status": "verified",<br/>"strategy": "admin"<br/>} |
| `LinkedTo` | List<[IdentificationLink](../../Models/Components/IdentificationLink.md)> | :heavy_check_mark: | N/A | [<br/>{<br/>"type": "oauth_google",<br/>"id": "link_12345"<br/>}<br/>] |
| `MatchesSsoConnection` | *bool* | :heavy_minus_sign: | Indicates whether this email address domain matches an active enterprise connection.<br/> | |
| `CreatedAt` | *long* | :heavy_check_mark: | Unix timestamp of creation<br/> | 1615458901 |
| `UpdatedAt` | *long* | :heavy_check_mark: | Unix timestamp of creation<br/> | 1615459001 |
12 changes: 12 additions & 0 deletions docs/Models/Components/FromOAuth.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# FromOAuth


## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
| `Status` | [FromOAuthVerificationStatus](../../Models/Components/FromOAuthVerificationStatus.md) | :heavy_check_mark: | N/A |
| `Strategy` | *string* | :heavy_check_mark: | N/A |
| `Error` | [Error](../../Models/Components/Error.md) | :heavy_minus_sign: | N/A |
| `ExpireAt` | *long* | :heavy_check_mark: | N/A |
| `Attempts` | *long* | :heavy_minus_sign: | N/A |
9 changes: 9 additions & 0 deletions docs/Models/Components/FromOAuthVerificationStatus.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# FromOAuthVerificationStatus


## Values

| Name | Value |
| ------------ | ------------ |
| `Unverified` | unverified |
| `Verified` | verified |
13 changes: 13 additions & 0 deletions docs/Models/Components/Instance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Instance

Success


## Fields

| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
| `Object` | [InstanceObject](../../Models/Components/InstanceObject.md) | :heavy_minus_sign: | String representing the object's type. Objects of the same type share the same value. | |
| `Id` | *string* | :heavy_minus_sign: | N/A | |
| `EnvironmentType` | *string* | :heavy_minus_sign: | N/A | development |
| `AllowedOrigins` | List<*string*> | :heavy_minus_sign: | N/A | [<br/>"http://localhost:3000",<br/>"https://some-domain"<br/>] |
10 changes: 10 additions & 0 deletions docs/Models/Components/InstanceObject.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# InstanceObject

String representing the object's type. Objects of the same type share the same value.


## Values

| Name | Value |
| ---------- | ---------- |
| `Instance` | instance |
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# WellKnownJWKS
# Jwks

Get the JSON Web Key Set

Expand Down
4 changes: 3 additions & 1 deletion docs/Models/Components/Keys.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@
| `Kid` | *string* | :heavy_minus_sign: | N/A |
| `Alg` | *string* | :heavy_minus_sign: | N/A |
| `N` | *string* | :heavy_minus_sign: | N/A |
| `E` | *string* | :heavy_minus_sign: | N/A |
| `E` | *string* | :heavy_minus_sign: | N/A |
| `X` | *string* | :heavy_minus_sign: | N/A |
| `Crv` | *string* | :heavy_minus_sign: | N/A |
2 changes: 2 additions & 0 deletions docs/Models/Components/OAuthApplication.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,7 @@
| `AuthorizeUrl` | *string* | :heavy_check_mark: | N/A | https://example.com/authorize |
| `TokenFetchUrl` | *string* | :heavy_check_mark: | N/A | https://example.com/oauth/token |
| `UserInfoUrl` | *string* | :heavy_check_mark: | N/A | https://example.com/userinfo |
| `DiscoveryUrl` | *string* | :heavy_check_mark: | N/A | |
| `TokenIntrospectionUrl` | *string* | :heavy_check_mark: | N/A | |
| `CreatedAt` | *long* | :heavy_check_mark: | Unix timestamp of creation.<br/> | 1609459200 |
| `UpdatedAt` | *long* | :heavy_check_mark: | Unix timestamp of last update.<br/> | 1612137600 |
Loading

0 comments on commit 652053a

Please sign in to comment.