Skip to content

Commit

Permalink
Merge pull request #21 from clerk/speakeasy-sdk-regen-1739989414
Browse files Browse the repository at this point in the history
chore: 🐝 Update SDK - Generate 0.5.0
  • Loading branch information
logangingerich authored Feb 19, 2025
2 parents d5e474f + 7489575 commit 9d2b6e2
Show file tree
Hide file tree
Showing 45 changed files with 156 additions and 129 deletions.
19 changes: 10 additions & 9 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@ generation:
useClassNamesForArrayFields: true
fixes:
nameResolutionDec2023: true
nameResolutionFeb2025: false
parameterOrderingFeb2024: true
requestResponseComponentNamesFeb2024: true
securityFeb2025: false
auth:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: true
csharp:
version: 0.4.0
version: 0.5.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.493.2
speakeasyVersion: 1.495.1
sources:
clerk-backend-api-OAS:
sourceNamespace: clerk-openapi
sourceRevisionDigest: sha256:091593901d6ecefb1a6edc0f701eb891de583bf9423f587aa587a2afed9423e7
sourceBlobDigest: sha256:7fed4302fddb8a1a81894fe4228ba40a78a8c724bb3603dcdc32355f649d9c99
sourceRevisionDigest: sha256:ce6ab7b0af738dc6613a20f434aa7e53e15430905d7445628881d52bc9dbac2d
sourceBlobDigest: sha256:49cd2694f21271ce7315b653a28fbfe5cc83da23dc6e5673c4a4181fa67a16b5
tags:
- latest
- speakeasy-sdk-regen-1738022735
- speakeasy-sdk-regen-1739989414
- v1
targets:
clerk-backend-api:
source: clerk-backend-api-OAS
sourceNamespace: clerk-openapi
sourceRevisionDigest: sha256:091593901d6ecefb1a6edc0f701eb891de583bf9423f587aa587a2afed9423e7
sourceBlobDigest: sha256:7fed4302fddb8a1a81894fe4228ba40a78a8c724bb3603dcdc32355f649d9c99
sourceRevisionDigest: sha256:ce6ab7b0af738dc6613a20f434aa7e53e15430905d7445628881d52bc9dbac2d
sourceBlobDigest: sha256:49cd2694f21271ce7315b653a28fbfe5cc83da23dc6e5673c4a4181fa67a16b5
codeSamplesNamespace: clerk-backend-api-oas-csharp-code-samples
codeSamplesRevisionDigest: sha256:38b50789057cc3e58ce46833e5edf0fdf5006402b4a28d8447b73960fcebd687
codeSamplesRevisionDigest: sha256:6a4cfb41807bfb379e8560057f6e8efff25d1278a72b8c49cb757485f1fe5a7c
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
2 changes: 1 addition & 1 deletion NUGET.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ catch (Exception ex)

### Override Server URL Per-Client

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:
The default server can 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;

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ catch (Exception ex)

### Override Server URL Per-Client

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:
The default server can 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;

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

## 2025-02-19 18:23:19
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.495.1 (2.515.4) https://github.com/speakeasy-api/speakeasy
### Generated
- [csharp v0.5.0] .
### Releases
- [NuGet v0.5.0] https://www.nuget.org/packages/Clerk.BackendAPI/0.5.0 - .
6 changes: 4 additions & 2 deletions docs/Models/Operations/Actor.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,7 @@ This whole payload will be also included in the JWT session token.

## Fields

| Field | Type | Required | Description |
| ----------- | ----------- | ----------- | ----------- |
| Field | Type | Required | Description | Example |
| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- |
| `Sub` | *string* | :heavy_minus_sign: | The ID of the actor. | user_2OEpKhcCN1Lat9NQ0G6puh7q5Rb |
| `AdditionalProperties` | Dictionary<String, *object*> | :heavy_minus_sign: | N/A | {<br/>"sub": "user_2OEpKhcCN1Lat9NQ0G6puh7q5Rb"<br/>} |
4 changes: 3 additions & 1 deletion docs/sdks/actortokens/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ var sdk = new ClerkBackendApi(bearerAuth: "<YOUR_BEARER_TOKEN_HERE>");

CreateActorTokenRequestBody req = new CreateActorTokenRequestBody() {
UserId = "user_1a2b3c",
Actor = new Models.Operations.Actor() {},
Actor = new Models.Operations.Actor() {
Sub = "user_2OEpKhcCN1Lat9NQ0G6puh7q5Rb",
},
};

var res = await sdk.ActorTokens.CreateAsync(req);
Expand Down
6 changes: 3 additions & 3 deletions src/Clerk/BackendAPI/ActorTokens.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ public class ActorTokens: IActorTokens
{
public SDKConfig SDKConfiguration { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "0.4.0";
private const string _sdkGenVersion = "2.512.4";
private const string _sdkVersion = "0.5.0";
private const string _sdkGenVersion = "2.515.4";
private const string _openapiDocVersion = "v1";
private const string _userAgent = "speakeasy-sdk/csharp 0.4.0 2.512.4 v1 Clerk.BackendAPI";
private const string _userAgent = "speakeasy-sdk/csharp 0.5.0 2.515.4 v1 Clerk.BackendAPI";
private string _serverUrl = "";
private ISpeakeasyHttpClient _client;
private Func<Clerk.BackendAPI.Models.Components.Security>? _securitySource;
Expand Down
6 changes: 3 additions & 3 deletions src/Clerk/BackendAPI/AllowBlockList.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ public class AllowBlockList: IAllowBlockList
{
public SDKConfig SDKConfiguration { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "0.4.0";
private const string _sdkGenVersion = "2.512.4";
private const string _sdkVersion = "0.5.0";
private const string _sdkGenVersion = "2.515.4";
private const string _openapiDocVersion = "v1";
private const string _userAgent = "speakeasy-sdk/csharp 0.4.0 2.512.4 v1 Clerk.BackendAPI";
private const string _userAgent = "speakeasy-sdk/csharp 0.5.0 2.515.4 v1 Clerk.BackendAPI";
private string _serverUrl = "";
private ISpeakeasyHttpClient _client;
private Func<Clerk.BackendAPI.Models.Components.Security>? _securitySource;
Expand Down
6 changes: 3 additions & 3 deletions src/Clerk/BackendAPI/AllowListBlockList.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ public class AllowListBlockList: IAllowListBlockList
{
public SDKConfig SDKConfiguration { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "0.4.0";
private const string _sdkGenVersion = "2.512.4";
private const string _sdkVersion = "0.5.0";
private const string _sdkGenVersion = "2.515.4";
private const string _openapiDocVersion = "v1";
private const string _userAgent = "speakeasy-sdk/csharp 0.4.0 2.512.4 v1 Clerk.BackendAPI";
private const string _userAgent = "speakeasy-sdk/csharp 0.5.0 2.515.4 v1 Clerk.BackendAPI";
private string _serverUrl = "";
private ISpeakeasyHttpClient _client;
private Func<Clerk.BackendAPI.Models.Components.Security>? _securitySource;
Expand Down
6 changes: 3 additions & 3 deletions src/Clerk/BackendAPI/AllowlistIdentifiers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ public class AllowlistIdentifiers: IAllowlistIdentifiers
{
public SDKConfig SDKConfiguration { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "0.4.0";
private const string _sdkGenVersion = "2.512.4";
private const string _sdkVersion = "0.5.0";
private const string _sdkGenVersion = "2.515.4";
private const string _openapiDocVersion = "v1";
private const string _userAgent = "speakeasy-sdk/csharp 0.4.0 2.512.4 v1 Clerk.BackendAPI";
private const string _userAgent = "speakeasy-sdk/csharp 0.5.0 2.515.4 v1 Clerk.BackendAPI";
private string _serverUrl = "";
private ISpeakeasyHttpClient _client;
private Func<Clerk.BackendAPI.Models.Components.Security>? _securitySource;
Expand Down
6 changes: 3 additions & 3 deletions src/Clerk/BackendAPI/BetaFeatures.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ public class BetaFeatures: IBetaFeatures
{
public SDKConfig SDKConfiguration { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "0.4.0";
private const string _sdkGenVersion = "2.512.4";
private const string _sdkVersion = "0.5.0";
private const string _sdkGenVersion = "2.515.4";
private const string _openapiDocVersion = "v1";
private const string _userAgent = "speakeasy-sdk/csharp 0.4.0 2.512.4 v1 Clerk.BackendAPI";
private const string _userAgent = "speakeasy-sdk/csharp 0.5.0 2.515.4 v1 Clerk.BackendAPI";
private string _serverUrl = "";
private ISpeakeasyHttpClient _client;
private Func<Clerk.BackendAPI.Models.Components.Security>? _securitySource;
Expand Down
6 changes: 3 additions & 3 deletions src/Clerk/BackendAPI/BlocklistIdentifiers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ public class BlocklistIdentifiers: IBlocklistIdentifiers
{
public SDKConfig SDKConfiguration { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "0.4.0";
private const string _sdkGenVersion = "2.512.4";
private const string _sdkVersion = "0.5.0";
private const string _sdkGenVersion = "2.515.4";
private const string _openapiDocVersion = "v1";
private const string _userAgent = "speakeasy-sdk/csharp 0.4.0 2.512.4 v1 Clerk.BackendAPI";
private const string _userAgent = "speakeasy-sdk/csharp 0.5.0 2.515.4 v1 Clerk.BackendAPI";
private string _serverUrl = "";
private ISpeakeasyHttpClient _client;
private Func<Clerk.BackendAPI.Models.Components.Security>? _securitySource;
Expand Down
2 changes: 1 addition & 1 deletion src/Clerk/BackendAPI/Clerk.BackendAPI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<IsPackable>true</IsPackable>
<PackageId>Clerk.BackendAPI</PackageId>
<Version>0.4.0</Version>
<Version>0.5.0</Version>
<TargetFramework>net8.0</TargetFramework>
<Authors>Clerk</Authors>
<Copyright>Copyright (c) Clerk 2025</Copyright>
Expand Down
6 changes: 3 additions & 3 deletions src/Clerk/BackendAPI/ClerkBackendApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -181,10 +181,10 @@ public class ClerkBackendApi: IClerkBackendApi
public SDKConfig SDKConfiguration { get; private set; }

private const string _language = "csharp";
private const string _sdkVersion = "0.4.0";
private const string _sdkGenVersion = "2.512.4";
private const string _sdkVersion = "0.5.0";
private const string _sdkGenVersion = "2.515.4";
private const string _openapiDocVersion = "v1";
private const string _userAgent = "speakeasy-sdk/csharp 0.4.0 2.512.4 v1 Clerk.BackendAPI";
private const string _userAgent = "speakeasy-sdk/csharp 0.5.0 2.515.4 v1 Clerk.BackendAPI";
private string _serverUrl = "";
private int _serverIndex = 0;
private ISpeakeasyHttpClient _client;
Expand Down
6 changes: 3 additions & 3 deletions src/Clerk/BackendAPI/Clients.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ public class Clients: IClients
{
public SDKConfig SDKConfiguration { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "0.4.0";
private const string _sdkGenVersion = "2.512.4";
private const string _sdkVersion = "0.5.0";
private const string _sdkGenVersion = "2.515.4";
private const string _openapiDocVersion = "v1";
private const string _userAgent = "speakeasy-sdk/csharp 0.4.0 2.512.4 v1 Clerk.BackendAPI";
private const string _userAgent = "speakeasy-sdk/csharp 0.5.0 2.515.4 v1 Clerk.BackendAPI";
private string _serverUrl = "";
private ISpeakeasyHttpClient _client;
private Func<Clerk.BackendAPI.Models.Components.Security>? _securitySource;
Expand Down
6 changes: 3 additions & 3 deletions src/Clerk/BackendAPI/Domains.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,10 @@ public class Domains: IDomains
{
public SDKConfig SDKConfiguration { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "0.4.0";
private const string _sdkGenVersion = "2.512.4";
private const string _sdkVersion = "0.5.0";
private const string _sdkGenVersion = "2.515.4";
private const string _openapiDocVersion = "v1";
private const string _userAgent = "speakeasy-sdk/csharp 0.4.0 2.512.4 v1 Clerk.BackendAPI";
private const string _userAgent = "speakeasy-sdk/csharp 0.5.0 2.515.4 v1 Clerk.BackendAPI";
private string _serverUrl = "";
private ISpeakeasyHttpClient _client;
private Func<Clerk.BackendAPI.Models.Components.Security>? _securitySource;
Expand Down
6 changes: 3 additions & 3 deletions src/Clerk/BackendAPI/EmailAddresses.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ public class EmailAddresses: IEmailAddresses
{
public SDKConfig SDKConfiguration { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "0.4.0";
private const string _sdkGenVersion = "2.512.4";
private const string _sdkVersion = "0.5.0";
private const string _sdkGenVersion = "2.515.4";
private const string _openapiDocVersion = "v1";
private const string _userAgent = "speakeasy-sdk/csharp 0.4.0 2.512.4 v1 Clerk.BackendAPI";
private const string _userAgent = "speakeasy-sdk/csharp 0.5.0 2.515.4 v1 Clerk.BackendAPI";
private string _serverUrl = "";
private ISpeakeasyHttpClient _client;
private Func<Clerk.BackendAPI.Models.Components.Security>? _securitySource;
Expand Down
6 changes: 3 additions & 3 deletions src/Clerk/BackendAPI/EmailAndSmsTemplates.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ public class EmailAndSmsTemplates: IEmailAndSmsTemplates
{
public SDKConfig SDKConfiguration { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "0.4.0";
private const string _sdkGenVersion = "2.512.4";
private const string _sdkVersion = "0.5.0";
private const string _sdkGenVersion = "2.515.4";
private const string _openapiDocVersion = "v1";
private const string _userAgent = "speakeasy-sdk/csharp 0.4.0 2.512.4 v1 Clerk.BackendAPI";
private const string _userAgent = "speakeasy-sdk/csharp 0.5.0 2.515.4 v1 Clerk.BackendAPI";
private string _serverUrl = "";
private ISpeakeasyHttpClient _client;
private Func<Clerk.BackendAPI.Models.Components.Security>? _securitySource;
Expand Down
6 changes: 3 additions & 3 deletions src/Clerk/BackendAPI/EmailSmsTemplates.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ public class EmailSmsTemplates: IEmailSmsTemplates
{
public SDKConfig SDKConfiguration { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "0.4.0";
private const string _sdkGenVersion = "2.512.4";
private const string _sdkVersion = "0.5.0";
private const string _sdkGenVersion = "2.515.4";
private const string _openapiDocVersion = "v1";
private const string _userAgent = "speakeasy-sdk/csharp 0.4.0 2.512.4 v1 Clerk.BackendAPI";
private const string _userAgent = "speakeasy-sdk/csharp 0.5.0 2.515.4 v1 Clerk.BackendAPI";
private string _serverUrl = "";
private ISpeakeasyHttpClient _client;
private Func<Clerk.BackendAPI.Models.Components.Security>? _securitySource;
Expand Down
6 changes: 3 additions & 3 deletions src/Clerk/BackendAPI/InstanceSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ public class InstanceSettings: IInstanceSettings
{
public SDKConfig SDKConfiguration { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "0.4.0";
private const string _sdkGenVersion = "2.512.4";
private const string _sdkVersion = "0.5.0";
private const string _sdkGenVersion = "2.515.4";
private const string _openapiDocVersion = "v1";
private const string _userAgent = "speakeasy-sdk/csharp 0.4.0 2.512.4 v1 Clerk.BackendAPI";
private const string _userAgent = "speakeasy-sdk/csharp 0.5.0 2.515.4 v1 Clerk.BackendAPI";
private string _serverUrl = "";
private ISpeakeasyHttpClient _client;
private Func<Clerk.BackendAPI.Models.Components.Security>? _securitySource;
Expand Down
6 changes: 3 additions & 3 deletions src/Clerk/BackendAPI/Invitations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,10 @@ public class Invitations: IInvitations
{
public SDKConfig SDKConfiguration { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "0.4.0";
private const string _sdkGenVersion = "2.512.4";
private const string _sdkVersion = "0.5.0";
private const string _sdkGenVersion = "2.515.4";
private const string _openapiDocVersion = "v1";
private const string _userAgent = "speakeasy-sdk/csharp 0.4.0 2.512.4 v1 Clerk.BackendAPI";
private const string _userAgent = "speakeasy-sdk/csharp 0.5.0 2.515.4 v1 Clerk.BackendAPI";
private string _serverUrl = "";
private ISpeakeasyHttpClient _client;
private Func<Clerk.BackendAPI.Models.Components.Security>? _securitySource;
Expand Down
6 changes: 3 additions & 3 deletions src/Clerk/BackendAPI/Jwks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ public class Jwks: IJwks
{
public SDKConfig SDKConfiguration { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "0.4.0";
private const string _sdkGenVersion = "2.512.4";
private const string _sdkVersion = "0.5.0";
private const string _sdkGenVersion = "2.515.4";
private const string _openapiDocVersion = "v1";
private const string _userAgent = "speakeasy-sdk/csharp 0.4.0 2.512.4 v1 Clerk.BackendAPI";
private const string _userAgent = "speakeasy-sdk/csharp 0.5.0 2.515.4 v1 Clerk.BackendAPI";
private string _serverUrl = "";
private ISpeakeasyHttpClient _client;
private Func<Clerk.BackendAPI.Models.Components.Security>? _securitySource;
Expand Down
6 changes: 3 additions & 3 deletions src/Clerk/BackendAPI/JwtTemplates.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ public class JwtTemplates: IJwtTemplates
{
public SDKConfig SDKConfiguration { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "0.4.0";
private const string _sdkGenVersion = "2.512.4";
private const string _sdkVersion = "0.5.0";
private const string _sdkGenVersion = "2.515.4";
private const string _openapiDocVersion = "v1";
private const string _userAgent = "speakeasy-sdk/csharp 0.4.0 2.512.4 v1 Clerk.BackendAPI";
private const string _userAgent = "speakeasy-sdk/csharp 0.5.0 2.515.4 v1 Clerk.BackendAPI";
private string _serverUrl = "";
private ISpeakeasyHttpClient _client;
private Func<Clerk.BackendAPI.Models.Components.Security>? _securitySource;
Expand Down
6 changes: 3 additions & 3 deletions src/Clerk/BackendAPI/Miscellaneous.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ public class Miscellaneous: IMiscellaneous
{
public SDKConfig SDKConfiguration { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "0.4.0";
private const string _sdkGenVersion = "2.512.4";
private const string _sdkVersion = "0.5.0";
private const string _sdkGenVersion = "2.515.4";
private const string _openapiDocVersion = "v1";
private const string _userAgent = "speakeasy-sdk/csharp 0.4.0 2.512.4 v1 Clerk.BackendAPI";
private const string _userAgent = "speakeasy-sdk/csharp 0.5.0 2.515.4 v1 Clerk.BackendAPI";
private string _serverUrl = "";
private ISpeakeasyHttpClient _client;
private Func<Clerk.BackendAPI.Models.Components.Security>? _securitySource;
Expand Down
Loading

0 comments on commit 9d2b6e2

Please sign in to comment.