Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.456.0
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Dec 18, 2024
1 parent 8992843 commit 59b6d8b
Show file tree
Hide file tree
Showing 46 changed files with 188 additions and 166 deletions.
33 changes: 21 additions & 12 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
lockVersion: 2.0.0
id: 248c4615-4118-44e3-9280-c0978ea11cf6
management:
docChecksum: 4e86217399ffa709d7db6ff06388b07c
docChecksum: e35fb338329b9ae2dee4d840c652b608
docVersion: v1
speakeasyVersion: 1.448.0
generationVersion: 2.466.0
releaseVersion: 0.2.3
configChecksum: 4f7e126da047b023f834b2f4843fbb9e
speakeasyVersion: 1.456.0
generationVersion: 2.481.0
releaseVersion: 0.2.4
configChecksum: b129f5eda208ed130bef4e9687189926
repoURL: https://github.com/clerk/clerk-sdk-csharp.git
published: true
features:
csharp:
additionalDependencies: 0.1.0
additionalProperties: 0.0.1
constsAndDefaults: 0.0.1
core: 3.10.6
core: 3.10.9
deprecations: 2.81.2
examples: 2.81.3
flattening: 2.81.3
Expand Down Expand Up @@ -1033,7 +1033,11 @@ examples:
query:
frontendApi: "frontend-api_1a2b3c4d"
publishable_key: "pub_1a2b3c4d"
GetJWKS: {}
GetJWKS:
speakeasy-default-get-JWKS:
responses:
"200":
application/json: {}
GetClientList:
speakeasy-default-get-client-list:
parameters:
Expand Down Expand Up @@ -1267,7 +1271,8 @@ examples:
responses:
"400":
application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}}
"200": {}
"200":
application/json: {}
ToggleTemplateDelivery:
speakeasy-default-toggle-template-delivery:
parameters:
Expand Down Expand Up @@ -1507,7 +1512,8 @@ examples:
responses:
"404":
application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}}
"200": {}
"200":
application/json: {}
UserPasskeyDelete:
speakeasy-default-user-passkey-delete:
parameters:
Expand Down Expand Up @@ -1548,7 +1554,8 @@ examples:
responses:
"404":
application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}}
"200": {}
"200":
application/json: {}
DeleteExternalAccount:
speakeasy-default-delete-external-account:
parameters:
Expand Down Expand Up @@ -2075,7 +2082,8 @@ examples:
responses:
"400":
application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}}
"200": {}
"200":
application/json: {}
ListOrganizationDomains:
speakeasy-default-list-organization-domains:
parameters:
Expand Down Expand Up @@ -2109,7 +2117,8 @@ examples:
responses:
"400":
application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}}
"200": {}
"200":
application/json: {}
VerifyDomainProxy:
speakeasy-default-verify-domain-proxy:
requestBody:
Expand Down
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.3
version: 0.2.4
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.448.0
speakeasyVersion: 1.456.0
sources:
clerk-backend-api-OAS:
sourceNamespace: clerk-openapi
sourceRevisionDigest: sha256:ca22548efe6d97316f5ea46789a2e0e7487f4a27a57f383f1bcfe378f8807a23
sourceBlobDigest: sha256:ee32be2459f93da2d088dfa4a993ab0ef5af064cdff4a3dc40bb492cfb630001
sourceRevisionDigest: sha256:e16d220b1802d43f8974d8bee386b1ab46c2768046d41205f88adc227533478c
sourceBlobDigest: sha256:74e7f7e3b1353e754bcc42733c2c3609f83e3d3e7305deae0b5bfeb8db44376f
tags:
- latest
- speakeasy-sdk-regen-1732579558
- speakeasy-sdk-regen-1733789165
- v1
targets:
clerk-backend-api:
source: clerk-backend-api-OAS
sourceNamespace: clerk-openapi
sourceRevisionDigest: sha256:ca22548efe6d97316f5ea46789a2e0e7487f4a27a57f383f1bcfe378f8807a23
sourceBlobDigest: sha256:ee32be2459f93da2d088dfa4a993ab0ef5af064cdff4a3dc40bb492cfb630001
sourceRevisionDigest: sha256:e16d220b1802d43f8974d8bee386b1ab46c2768046d41205f88adc227533478c
sourceBlobDigest: sha256:74e7f7e3b1353e754bcc42733c2c3609f83e3d3e7305deae0b5bfeb8db44376f
codeSamplesNamespace: clerk-backend-api-oas-csharp-code-samples
codeSamplesRevisionDigest: sha256:e2c68176c53fdaee43a94c33aa07d6c9ff0fc50e8f8f21bf38206a9ddbb4aa67
codeSamplesRevisionDigest: sha256:0c040faafef3bfdce03e38ae349a42e99de42b69560bebbb3c0677abedc46469
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
56 changes: 28 additions & 28 deletions NUGET.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,34 @@ var res = await sdk.EmailAddresses.GetAsync(emailAddressId: "email_address_id_ex
```
<!-- End SDK Example Usage [usage] -->

<!-- Start Authentication [security] -->
## Authentication

### Per-Client Security Schemes

This SDK supports the following security scheme globally:

| Name | Type | Scheme |
| ------------ | ---- | ----------- |
| `BearerAuth` | http | HTTP Bearer |

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>");

var res = await sdk.Miscellaneous.GetPublicInterstitialAsync(
frontendApi: "frontend-api_1a2b3c4d",
publishableKey: "pub_1a2b3c4d"
);

// handle response
```
<!-- End Authentication [security] -->

<!-- Start Error Handling [errors] -->
## Error Handling

Expand Down Expand Up @@ -98,32 +126,4 @@ var res = await sdk.Miscellaneous.GetPublicInterstitialAsync(
```
<!-- End Server Selection [server] -->

<!-- Start Authentication [security] -->
## Authentication

### Per-Client Security Schemes

This SDK supports the following security scheme globally:

| Name | Type | Scheme |
| ------------ | ---- | ----------- |
| `BearerAuth` | http | HTTP Bearer |

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>");

var res = await sdk.Miscellaneous.GetPublicInterstitialAsync(
frontendApi: "frontend-api_1a2b3c4d",
publishableKey: "pub_1a2b3c4d"
);

// handle response
```
<!-- End Authentication [security] -->

<!-- Placeholder for Future Speakeasy SDK Sections -->
18 changes: 11 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,18 @@ More information about the API can be found at https://clerk.com/docs

<!-- Start Table of Contents [toc] -->
## Table of Contents
<!-- $toc-max-depth=2 -->
* [SDK Installation](#sdk-installation)
* [SDK Example Usage](#sdk-example-usage)
* [Authentication](#authentication)
* [Request Authentication](#request-authentication)
* [Available Resources and Operations](#available-resources-and-operations)
* [Error Handling](#error-handling)
* [Server Selection](#server-selection)
* [Development](#development)
* [Maturity](#maturity)
* [Contributions](#contributions)

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

<!-- Start SDK Installation [installation] -->
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,14 @@ Based on:
### Generated
- [csharp v0.2.3] .
### Releases
- [NuGet v0.2.3] https://www.nuget.org/packages/Clerk.BackendAPI/0.2.3 - .
- [NuGet v0.2.3] https://www.nuget.org/packages/Clerk.BackendAPI/0.2.3 - .

## 2024-12-18 00:06:00
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.456.0 (2.481.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [csharp v0.2.4] .
### Releases
- [NuGet v0.2.4] https://www.nuget.org/packages/Clerk.BackendAPI/0.2.4 - .
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.2.3";
private const string _sdkGenVersion = "2.466.0";
private const string _sdkVersion = "0.2.4";
private const string _sdkGenVersion = "2.481.0";
private const string _openapiDocVersion = "v1";
private const string _userAgent = "speakeasy-sdk/csharp 0.2.3 2.466.0 v1 Clerk.BackendAPI";
private const string _userAgent = "speakeasy-sdk/csharp 0.2.4 2.481.0 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.2.3";
private const string _sdkGenVersion = "2.466.0";
private const string _sdkVersion = "0.2.4";
private const string _sdkGenVersion = "2.481.0";
private const string _openapiDocVersion = "v1";
private const string _userAgent = "speakeasy-sdk/csharp 0.2.3 2.466.0 v1 Clerk.BackendAPI";
private const string _userAgent = "speakeasy-sdk/csharp 0.2.4 2.481.0 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.2.3";
private const string _sdkGenVersion = "2.466.0";
private const string _sdkVersion = "0.2.4";
private const string _sdkGenVersion = "2.481.0";
private const string _openapiDocVersion = "v1";
private const string _userAgent = "speakeasy-sdk/csharp 0.2.3 2.466.0 v1 Clerk.BackendAPI";
private const string _userAgent = "speakeasy-sdk/csharp 0.2.4 2.481.0 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.2.3";
private const string _sdkGenVersion = "2.466.0";
private const string _sdkVersion = "0.2.4";
private const string _sdkGenVersion = "2.481.0";
private const string _openapiDocVersion = "v1";
private const string _userAgent = "speakeasy-sdk/csharp 0.2.3 2.466.0 v1 Clerk.BackendAPI";
private const string _userAgent = "speakeasy-sdk/csharp 0.2.4 2.481.0 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.2.3";
private const string _sdkGenVersion = "2.466.0";
private const string _sdkVersion = "0.2.4";
private const string _sdkGenVersion = "2.481.0";
private const string _openapiDocVersion = "v1";
private const string _userAgent = "speakeasy-sdk/csharp 0.2.3 2.466.0 v1 Clerk.BackendAPI";
private const string _userAgent = "speakeasy-sdk/csharp 0.2.4 2.481.0 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.2.3";
private const string _sdkGenVersion = "2.466.0";
private const string _sdkVersion = "0.2.4";
private const string _sdkGenVersion = "2.481.0";
private const string _openapiDocVersion = "v1";
private const string _userAgent = "speakeasy-sdk/csharp 0.2.3 2.466.0 v1 Clerk.BackendAPI";
private const string _userAgent = "speakeasy-sdk/csharp 0.2.4 2.481.0 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.2.3</Version>
<Version>0.2.4</Version>
<TargetFramework>net8.0</TargetFramework>
<Authors>Clerk</Authors>
<Copyright>Copyright (c) Clerk 2024</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 @@ -180,10 +180,10 @@ public class ClerkBackendApi: IClerkBackendApi
public SDKConfig SDKConfiguration { get; private set; }

private const string _language = "csharp";
private const string _sdkVersion = "0.2.3";
private const string _sdkGenVersion = "2.466.0";
private const string _sdkVersion = "0.2.4";
private const string _sdkGenVersion = "2.481.0";
private const string _openapiDocVersion = "v1";
private const string _userAgent = "speakeasy-sdk/csharp 0.2.3 2.466.0 v1 Clerk.BackendAPI";
private const string _userAgent = "speakeasy-sdk/csharp 0.2.4 2.481.0 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.2.3";
private const string _sdkGenVersion = "2.466.0";
private const string _sdkVersion = "0.2.4";
private const string _sdkGenVersion = "2.481.0";
private const string _openapiDocVersion = "v1";
private const string _userAgent = "speakeasy-sdk/csharp 0.2.3 2.466.0 v1 Clerk.BackendAPI";
private const string _userAgent = "speakeasy-sdk/csharp 0.2.4 2.481.0 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.2.3";
private const string _sdkGenVersion = "2.466.0";
private const string _sdkVersion = "0.2.4";
private const string _sdkGenVersion = "2.481.0";
private const string _openapiDocVersion = "v1";
private const string _userAgent = "speakeasy-sdk/csharp 0.2.3 2.466.0 v1 Clerk.BackendAPI";
private const string _userAgent = "speakeasy-sdk/csharp 0.2.4 2.481.0 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.2.3";
private const string _sdkGenVersion = "2.466.0";
private const string _sdkVersion = "0.2.4";
private const string _sdkGenVersion = "2.481.0";
private const string _openapiDocVersion = "v1";
private const string _userAgent = "speakeasy-sdk/csharp 0.2.3 2.466.0 v1 Clerk.BackendAPI";
private const string _userAgent = "speakeasy-sdk/csharp 0.2.4 2.481.0 v1 Clerk.BackendAPI";
private string _serverUrl = "";
private ISpeakeasyHttpClient _client;
private Func<Clerk.BackendAPI.Models.Components.Security>? _securitySource;
Expand Down
Loading

0 comments on commit 59b6d8b

Please sign in to comment.