From c6cafdea65f4200c7c6b111b6e9c456683de0f6b Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 31 Jan 2025 00:07:15 +0000 Subject: [PATCH] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.480.0 --- .speakeasy/gen.lock | 16 ++--- .speakeasy/gen.yaml | 2 +- .speakeasy/workflow.lock | 14 ++-- RELEASES.md | 12 +++- docs/Models/Components/IdentificationLink.md | 8 +-- docs/Models/Components/Type.md | 14 ---- src/Clerk/BackendAPI/ActorTokens.cs | 6 +- src/Clerk/BackendAPI/AllowBlockList.cs | 6 +- src/Clerk/BackendAPI/AllowListBlockList.cs | 6 +- src/Clerk/BackendAPI/AllowlistIdentifiers.cs | 6 +- src/Clerk/BackendAPI/BetaFeatures.cs | 6 +- src/Clerk/BackendAPI/BlocklistIdentifiers.cs | 6 +- src/Clerk/BackendAPI/Clerk.BackendAPI.csproj | 2 +- src/Clerk/BackendAPI/ClerkBackendApi.cs | 6 +- src/Clerk/BackendAPI/Clients.cs | 6 +- src/Clerk/BackendAPI/Domains.cs | 6 +- src/Clerk/BackendAPI/EmailAddresses.cs | 6 +- src/Clerk/BackendAPI/EmailAndSmsTemplates.cs | 6 +- src/Clerk/BackendAPI/EmailSmsTemplates.cs | 6 +- src/Clerk/BackendAPI/InstanceSettings.cs | 6 +- src/Clerk/BackendAPI/Invitations.cs | 6 +- src/Clerk/BackendAPI/Jwks.cs | 6 +- src/Clerk/BackendAPI/JwtTemplates.cs | 6 +- src/Clerk/BackendAPI/Miscellaneous.cs | 6 +- .../Models/Components/IdentificationLink.cs | 3 +- .../BackendAPI/Models/Components/Type.cs | 67 ------------------- src/Clerk/BackendAPI/OauthApplications.cs | 6 +- src/Clerk/BackendAPI/OrganizationDomain.cs | 6 +- src/Clerk/BackendAPI/OrganizationDomains.cs | 6 +- .../BackendAPI/OrganizationInvitations.cs | 6 +- .../BackendAPI/OrganizationMemberships.cs | 6 +- src/Clerk/BackendAPI/Organizations.cs | 6 +- src/Clerk/BackendAPI/PhoneNumbers.cs | 6 +- src/Clerk/BackendAPI/ProxyChecks.cs | 6 +- src/Clerk/BackendAPI/RedirectUrls.cs | 6 +- src/Clerk/BackendAPI/SamlConnections.cs | 6 +- src/Clerk/BackendAPI/Sessions.cs | 6 +- src/Clerk/BackendAPI/SignInTokens.cs | 6 +- src/Clerk/BackendAPI/SignUps.cs | 6 +- src/Clerk/BackendAPI/TestingTokens.cs | 6 +- src/Clerk/BackendAPI/UserWeb3Wallets.cs | 6 +- src/Clerk/BackendAPI/Users.cs | 22 +++--- src/Clerk/BackendAPI/WaitlistEntries.cs | 6 +- src/Clerk/BackendAPI/Webhooks.cs | 6 +- 44 files changed, 145 insertions(+), 219 deletions(-) delete mode 100644 docs/Models/Components/Type.md delete mode 100644 src/Clerk/BackendAPI/Models/Components/Type.cs diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 4241f1a..bb162cd 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: 248c4615-4118-44e3-9280-c0978ea11cf6 management: - docChecksum: 9e89f4e0df39546add90b40ae6eac529 + docChecksum: e5d1b54556d2746ce6a216e44501b4f9 docVersion: v1 - speakeasyVersion: 1.473.0 - generationVersion: 2.495.0 - releaseVersion: 0.3.0 - configChecksum: c14f8f63ea342007562335282736245c + speakeasyVersion: 1.480.0 + generationVersion: 2.499.0 + releaseVersion: 0.3.1 + configChecksum: 1779f6aa1a596804adfb78b76dceec75 repoURL: https://github.com/clerk/clerk-sdk-csharp.git published: true features: @@ -14,7 +14,7 @@ features: additionalDependencies: 0.1.0 additionalProperties: 0.0.1 constsAndDefaults: 0.0.1 - core: 3.10.11 + core: 3.10.12 deprecations: 2.81.2 examples: 2.81.5 flattening: 2.81.3 @@ -176,7 +176,6 @@ generatedFiles: - docs/Models/Components/TotalCount.md - docs/Models/Components/TotalCountObject.md - docs/Models/Components/Totp.md - - docs/Models/Components/Type.md - docs/Models/Components/User.md - docs/Models/Components/UserObject.md - docs/Models/Components/Verification.md @@ -707,7 +706,6 @@ generatedFiles: - src/Clerk/BackendAPI/Models/Components/TotalCount.cs - src/Clerk/BackendAPI/Models/Components/TotalCountObject.cs - src/Clerk/BackendAPI/Models/Components/Totp.cs - - src/Clerk/BackendAPI/Models/Components/Type.cs - src/Clerk/BackendAPI/Models/Components/User.cs - src/Clerk/BackendAPI/Models/Components/UserObject.cs - src/Clerk/BackendAPI/Models/Components/Verification.cs @@ -1368,7 +1366,7 @@ examples: order_by: "-created_at" responses: "200": - application/json: [{"id": "user_id_123", "object": "user", "external_id": "external_user_id_123", "primary_email_address_id": "email_id_123", "primary_phone_number_id": "phone_id_123", "primary_web3_wallet_id": "wallet_id_123", "username": "john_doe", "first_name": "John", "last_name": "Doe", "image_url": "https://example.com/new-profile.jpg", "has_image": true, "public_metadata": {"role": "admin"}, "private_metadata": {"ssn": "123-45-6789"}, "unsafe_metadata": {"theme": "dark"}, "email_addresses": [{"id": "email_id_123", "object": "email_address", "email_address": "john.doe@example.com", "reserved": false, "verification": {"status": "verified", "strategy": "admin"}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "created_at": 1609459200, "updated_at": 1609459200}], "phone_numbers": [{"id": "phone_id_123", "object": "phone_number", "phone_number": "+12345678901", "reserved": false, "verification": {"status": "verified", "strategy": "admin", "attempts": 2, "expire_at": 1622852400}, "linked_to": [{"type": "oauth_google", "id": "link_id_123"}], "created_at": 1609459200, "updated_at": 1609459200}], "web3_wallets": [{"id": "wallet_id_123", "object": "web3_wallet", "web3_wallet": "0x123456789abcdef", "verification": {"status": "verified", "strategy": "web3_metamask_signature"}, "created_at": 1609459200, "updated_at": 1609459200}], "passkeys": [{"id": "passkey_id_123", "object": "passkey", "name": "My Passkey", "last_used_at": 1615852800, "verification": {"status": "verified", "strategy": "passkey"}}], "password_enabled": true, "two_factor_enabled": true, "totp_enabled": true, "backup_code_enabled": true, "mfa_enabled_at": 1615852800, "mfa_disabled_at": null, "external_accounts": [{}], "saml_accounts": [{"id": "saml_account_id_123", "object": "saml_account", "provider": "SAML Provider", "active": true, "email_address": "user@example.com", "public_metadata": {"department": "IT"}, "verification": {"status": "verified", "strategy": "saml"}}], "last_sign_in_at": 1622852400, "banned": false, "locked": false, "lockout_expires_in_seconds": null, "verification_attempts_remaining": 5, "updated_at": 1622852400, "created_at": 1609459200, "delete_self_enabled": true, "create_organization_enabled": true, "last_active_at": 1700690400000, "legal_accepted_at": 1700690400000}, {"id": "user_id_123", "object": "user", "external_id": "external_user_id_123", "primary_email_address_id": "email_id_123", "primary_phone_number_id": "phone_id_123", "primary_web3_wallet_id": "wallet_id_123", "username": "john_doe", "first_name": "John", "last_name": "Doe", "image_url": "https://example.com/new-profile.jpg", "has_image": true, "public_metadata": {"role": "admin"}, "private_metadata": {"ssn": "123-45-6789"}, "unsafe_metadata": {"theme": "dark"}, "email_addresses": [{"id": "email_id_123", "object": "email_address", "email_address": "john.doe@example.com", "reserved": false, "verification": {"status": "verified", "strategy": "email_link", "attempts": 1, "expire_at": 1615462399}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "created_at": 1609459200, "updated_at": 1609459200}], "phone_numbers": [{"id": "phone_id_123", "object": "phone_number", "phone_number": "+12345678901", "reserved": false, "verification": {"status": "verified", "strategy": "phone_code", "attempts": 2, "expire_at": 1622852400}, "linked_to": [{"type": "oauth_google", "id": "link_id_123"}], "created_at": 1609459200, "updated_at": 1609459200}], "web3_wallets": [{"id": "wallet_id_123", "object": "web3_wallet", "web3_wallet": "0x123456789abcdef", "verification": {"status": "verified", "strategy": "web3_metamask_signature"}, "created_at": 1609459200, "updated_at": 1609459200}], "passkeys": [{"id": "passkey_id_123", "object": "passkey", "name": "My Passkey", "last_used_at": 1615852800, "verification": {"status": "verified", "strategy": "passkey"}}], "password_enabled": true, "two_factor_enabled": true, "totp_enabled": true, "backup_code_enabled": true, "mfa_enabled_at": 1615852800, "mfa_disabled_at": null, "external_accounts": [{}], "saml_accounts": [{"id": "saml_account_id_123", "object": "saml_account", "provider": "SAML Provider", "active": true, "email_address": "user@example.com", "public_metadata": {"department": "IT"}, "verification": {"status": "verified", "strategy": "saml"}}], "last_sign_in_at": 1622852400, "banned": false, "locked": false, "lockout_expires_in_seconds": null, "verification_attempts_remaining": 5, "updated_at": 1622852400, "created_at": 1609459200, "delete_self_enabled": true, "create_organization_enabled": true, "last_active_at": 1700690400000, "legal_accepted_at": 1700690400000}, {"id": "user_id_123", "object": "user", "external_id": "external_user_id_123", "primary_email_address_id": "email_id_123", "primary_phone_number_id": "phone_id_123", "primary_web3_wallet_id": "wallet_id_123", "username": "john_doe", "first_name": "John", "last_name": "Doe", "image_url": "https://example.com/new-profile.jpg", "has_image": true, "public_metadata": {"role": "admin"}, "private_metadata": {"ssn": "123-45-6789"}, "unsafe_metadata": {"theme": "dark"}, "email_addresses": [{"id": "email_id_123", "object": "email_address", "email_address": "john.doe@example.com", "reserved": false, "verification": {"status": "verified", "strategy": "admin"}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "created_at": 1609459200, "updated_at": 1609459200}], "phone_numbers": [{"id": "phone_id_123", "object": "phone_number", "phone_number": "+12345678901", "reserved": false, "verification": {"status": "verified", "strategy": "admin", "attempts": 2, "expire_at": 1622852400}, "linked_to": [{"type": "oauth_google", "id": "link_id_123"}], "created_at": 1609459200, "updated_at": 1609459200}], "web3_wallets": [{"id": "wallet_id_123", "object": "web3_wallet", "web3_wallet": "0x123456789abcdef", "verification": {"status": "verified", "strategy": "web3_metamask_signature"}, "created_at": 1609459200, "updated_at": 1609459200}], "passkeys": [{"id": "passkey_id_123", "object": "passkey", "name": "My Passkey", "last_used_at": 1615852800, "verification": {"status": "verified", "strategy": "passkey"}}], "password_enabled": true, "two_factor_enabled": true, "totp_enabled": true, "backup_code_enabled": true, "mfa_enabled_at": 1615852800, "mfa_disabled_at": null, "external_accounts": [{}], "saml_accounts": [{"id": "saml_account_id_123", "object": "saml_account", "provider": "SAML Provider", "active": true, "email_address": "user@example.com", "public_metadata": {"department": "IT"}, "verification": {"status": "verified", "strategy": "saml"}}], "last_sign_in_at": 1622852400, "banned": false, "locked": false, "lockout_expires_in_seconds": null, "verification_attempts_remaining": 5, "updated_at": 1622852400, "created_at": 1609459200, "delete_self_enabled": true, "create_organization_enabled": true, "last_active_at": 1700690400000, "legal_accepted_at": 1700690400000}] + application/json: [{"id": "user_id_123", "object": "user", "external_id": "external_user_id_123", "primary_email_address_id": "email_id_123", "primary_phone_number_id": "phone_id_123", "primary_web3_wallet_id": "wallet_id_123", "username": "john_doe", "first_name": "John", "last_name": "Doe", "image_url": "https://example.com/new-profile.jpg", "has_image": true, "public_metadata": {"role": "admin"}, "private_metadata": {"ssn": "123-45-6789"}, "unsafe_metadata": {"theme": "dark"}, "email_addresses": [{"id": "email_id_123", "object": "email_address", "email_address": "john.doe@example.com", "reserved": false, "verification": {"status": "verified", "strategy": "admin"}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "created_at": 1609459200, "updated_at": 1609459200}], "phone_numbers": [{"id": "phone_id_123", "object": "phone_number", "phone_number": "+12345678901", "reserved": false, "verification": {"status": "verified", "strategy": "admin", "attempts": 2, "expire_at": 1622852400}, "linked_to": [{"type": "oauth_google", "id": "link_id_123"}], "created_at": 1609459200, "updated_at": 1609459200}], "web3_wallets": [{"id": "wallet_id_123", "object": "web3_wallet", "web3_wallet": "0x123456789abcdef", "verification": {"status": "verified", "strategy": "web3_metamask_signature"}, "created_at": 1609459200, "updated_at": 1609459200}], "passkeys": [{"id": "passkey_id_123", "object": "passkey", "name": "My Passkey", "last_used_at": 1615852800, "verification": {"status": "verified", "strategy": "passkey"}}], "password_enabled": true, "two_factor_enabled": true, "totp_enabled": true, "backup_code_enabled": true, "mfa_enabled_at": 1615852800, "mfa_disabled_at": null, "external_accounts": [{}], "saml_accounts": [{"id": "saml_account_id_123", "object": "saml_account", "provider": "SAML Provider", "active": true, "email_address": "user@example.com", "public_metadata": {"department": "IT"}, "verification": {"status": "verified", "strategy": "saml"}}], "last_sign_in_at": 1622852400, "banned": false, "locked": false, "lockout_expires_in_seconds": null, "verification_attempts_remaining": 5, "updated_at": 1622852400, "created_at": 1609459200, "delete_self_enabled": true, "create_organization_enabled": true, "last_active_at": 1700690400000, "legal_accepted_at": 1700690400000}, {"id": "user_id_123", "object": "user", "external_id": "external_user_id_123", "primary_email_address_id": "email_id_123", "primary_phone_number_id": "phone_id_123", "primary_web3_wallet_id": "wallet_id_123", "username": "john_doe", "first_name": "John", "last_name": "Doe", "image_url": "https://example.com/new-profile.jpg", "has_image": true, "public_metadata": {"role": "admin"}, "private_metadata": {"ssn": "123-45-6789"}, "unsafe_metadata": {"theme": "dark"}, "email_addresses": [{"id": "email_id_123", "object": "email_address", "email_address": "john.doe@example.com", "reserved": false, "verification": {"status": "verified", "strategy": "email_link", "expire_at": 1615462399, "attempts": 1}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "created_at": 1609459200, "updated_at": 1609459200}], "phone_numbers": [{"id": "phone_id_123", "object": "phone_number", "phone_number": "+12345678901", "reserved": false, "verification": {"status": "verified", "strategy": "phone_code", "attempts": 2, "expire_at": 1622852400}, "linked_to": [{"type": "oauth_google", "id": "link_id_123"}], "created_at": 1609459200, "updated_at": 1609459200}], "web3_wallets": [{"id": "wallet_id_123", "object": "web3_wallet", "web3_wallet": "0x123456789abcdef", "verification": {"status": "verified", "strategy": "web3_metamask_signature"}, "created_at": 1609459200, "updated_at": 1609459200}], "passkeys": [{"id": "passkey_id_123", "object": "passkey", "name": "My Passkey", "last_used_at": 1615852800, "verification": {"status": "verified", "strategy": "passkey"}}], "password_enabled": true, "two_factor_enabled": true, "totp_enabled": true, "backup_code_enabled": true, "mfa_enabled_at": 1615852800, "mfa_disabled_at": null, "external_accounts": [{}], "saml_accounts": [{"id": "saml_account_id_123", "object": "saml_account", "provider": "SAML Provider", "active": true, "email_address": "user@example.com", "public_metadata": {"department": "IT"}, "verification": {"status": "verified", "strategy": "saml"}}], "last_sign_in_at": 1622852400, "banned": false, "locked": false, "lockout_expires_in_seconds": null, "verification_attempts_remaining": 5, "updated_at": 1622852400, "created_at": 1609459200, "delete_self_enabled": true, "create_organization_enabled": true, "last_active_at": 1700690400000, "legal_accepted_at": 1700690400000}, {"id": "user_id_123", "object": "user", "external_id": "external_user_id_123", "primary_email_address_id": "email_id_123", "primary_phone_number_id": "phone_id_123", "primary_web3_wallet_id": "wallet_id_123", "username": "john_doe", "first_name": "John", "last_name": "Doe", "image_url": "https://example.com/new-profile.jpg", "has_image": true, "public_metadata": {"role": "admin"}, "private_metadata": {"ssn": "123-45-6789"}, "unsafe_metadata": {"theme": "dark"}, "email_addresses": [{"id": "email_id_123", "object": "email_address", "email_address": "john.doe@example.com", "reserved": false, "verification": {"status": "verified", "strategy": "admin"}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "created_at": 1609459200, "updated_at": 1609459200}], "phone_numbers": [{"id": "phone_id_123", "object": "phone_number", "phone_number": "+12345678901", "reserved": false, "verification": {"status": "verified", "strategy": "admin", "attempts": 2, "expire_at": 1622852400}, "linked_to": [{"type": "oauth_google", "id": "link_id_123"}], "created_at": 1609459200, "updated_at": 1609459200}], "web3_wallets": [{"id": "wallet_id_123", "object": "web3_wallet", "web3_wallet": "0x123456789abcdef", "verification": {"status": "verified", "strategy": "web3_metamask_signature"}, "created_at": 1609459200, "updated_at": 1609459200}], "passkeys": [{"id": "passkey_id_123", "object": "passkey", "name": "My Passkey", "last_used_at": 1615852800, "verification": {"status": "verified", "strategy": "passkey"}}], "password_enabled": true, "two_factor_enabled": true, "totp_enabled": true, "backup_code_enabled": true, "mfa_enabled_at": 1615852800, "mfa_disabled_at": null, "external_accounts": [{}], "saml_accounts": [{"id": "saml_account_id_123", "object": "saml_account", "provider": "SAML Provider", "active": true, "email_address": "user@example.com", "public_metadata": {"department": "IT"}, "verification": {"status": "verified", "strategy": "saml"}}], "last_sign_in_at": 1622852400, "banned": false, "locked": false, "lockout_expires_in_seconds": null, "verification_attempts_remaining": 5, "updated_at": 1622852400, "created_at": 1609459200, "delete_self_enabled": true, "create_organization_enabled": true, "last_active_at": 1700690400000, "legal_accepted_at": 1700690400000}] "400": application/json: {"errors": [{"message": "Invalid input", "long_message": "The input provided does not meet the requirements.", "code": "400_bad_request", "clerk_trace_id": "trace_123456789abcd"}], "meta": {}} CreateUser: diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 70338b0..f1a5cf2 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -13,7 +13,7 @@ generation: oAuth2ClientCredentialsEnabled: true oAuth2PasswordEnabled: true csharp: - version: 0.3.0 + version: 0.3.1 additionalDependencies: - package: System.IdentityModel.Tokens.Jwt version: 8.2.0 diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 249d873..9f9f2ab 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,21 +1,21 @@ -speakeasyVersion: 1.473.0 +speakeasyVersion: 1.480.0 sources: clerk-backend-api-OAS: sourceNamespace: clerk-openapi - sourceRevisionDigest: sha256:53525efdf49a8b28bf3c77fd74febf52f0f4e563cea7337d3f64ee7690ccf405 - sourceBlobDigest: sha256:3508bdedcc9af2c8f425007085f5fe060d7c0b32d0aa9502a44ca5bc6a9b6303 + sourceRevisionDigest: sha256:e2f8d34d0c6872fbbafa7996fd5d8960215a4046d19e8b14e1453014a4c51d4b + sourceBlobDigest: sha256:67c731c9a6c2135299c2ccdaf1668ca9c88be07cfe0bab5aaba679e436b02e26 tags: - latest - - speakeasy-sdk-regen-1737669739 + - speakeasy-sdk-regen-1738022735 - v1 targets: clerk-backend-api: source: clerk-backend-api-OAS sourceNamespace: clerk-openapi - sourceRevisionDigest: sha256:53525efdf49a8b28bf3c77fd74febf52f0f4e563cea7337d3f64ee7690ccf405 - sourceBlobDigest: sha256:3508bdedcc9af2c8f425007085f5fe060d7c0b32d0aa9502a44ca5bc6a9b6303 + sourceRevisionDigest: sha256:e2f8d34d0c6872fbbafa7996fd5d8960215a4046d19e8b14e1453014a4c51d4b + sourceBlobDigest: sha256:67c731c9a6c2135299c2ccdaf1668ca9c88be07cfe0bab5aaba679e436b02e26 codeSamplesNamespace: clerk-backend-api-oas-csharp-code-samples - codeSamplesRevisionDigest: sha256:1d74df474d1eb925efaae16c859fb2f289753caf9eef03ae34f75882f1c8249e + codeSamplesRevisionDigest: sha256:58c07750be47959e390e2c004b2472dfcbe70db9eb5d8a59b6c21b9cfd45644d workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/RELEASES.md b/RELEASES.md index fe591da..435dfe1 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -38,4 +38,14 @@ Based on: ### Generated - [csharp v0.3.0] . ### Releases -- [NuGet v0.3.0] https://www.nuget.org/packages/Clerk.BackendAPI/0.3.0 - . \ No newline at end of file +- [NuGet v0.3.0] https://www.nuget.org/packages/Clerk.BackendAPI/0.3.0 - . + +## 2025-01-31 00:05:21 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.480.0 (2.499.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [csharp v0.3.1] . +### Releases +- [NuGet v0.3.1] https://www.nuget.org/packages/Clerk.BackendAPI/0.3.1 - . \ No newline at end of file diff --git a/docs/Models/Components/IdentificationLink.md b/docs/Models/Components/IdentificationLink.md index 4374be2..d8cfd17 100644 --- a/docs/Models/Components/IdentificationLink.md +++ b/docs/Models/Components/IdentificationLink.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | -| `Type` | [Models.Components.Type](../../Models/Components/Type.md) | :heavy_check_mark: | N/A | oauth_google | -| `Id` | *string* | :heavy_check_mark: | N/A | link_12345 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `Type` | *string* | :heavy_check_mark: | N/A | oauth_google | +| `Id` | *string* | :heavy_check_mark: | N/A | link_12345 | \ No newline at end of file diff --git a/docs/Models/Components/Type.md b/docs/Models/Components/Type.md deleted file mode 100644 index d0762fe..0000000 --- a/docs/Models/Components/Type.md +++ /dev/null @@ -1,14 +0,0 @@ -# Type - - -## Values - -| Name | Value | -| ---------------- | ---------------- | -| `OauthGoogle` | oauth_google | -| `OauthMock` | oauth_mock | -| `Saml` | saml | -| `OauthApple` | oauth_apple | -| `OauthDiscord` | oauth_discord | -| `OauthMicrosoft` | oauth_microsoft | -| `OauthGithub` | oauth_github | \ No newline at end of file diff --git a/src/Clerk/BackendAPI/ActorTokens.cs b/src/Clerk/BackendAPI/ActorTokens.cs index 5029359..9788575 100644 --- a/src/Clerk/BackendAPI/ActorTokens.cs +++ b/src/Clerk/BackendAPI/ActorTokens.cs @@ -49,10 +49,10 @@ public class ActorTokens: IActorTokens { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.3.0"; - private const string _sdkGenVersion = "2.495.0"; + private const string _sdkVersion = "0.3.1"; + private const string _sdkGenVersion = "2.499.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.3.0 2.495.0 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.3.1 2.499.0 v1 Clerk.BackendAPI"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/src/Clerk/BackendAPI/AllowBlockList.cs b/src/Clerk/BackendAPI/AllowBlockList.cs index 79e918d..e4540e5 100644 --- a/src/Clerk/BackendAPI/AllowBlockList.cs +++ b/src/Clerk/BackendAPI/AllowBlockList.cs @@ -39,10 +39,10 @@ public class AllowBlockList: IAllowBlockList { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.3.0"; - private const string _sdkGenVersion = "2.495.0"; + private const string _sdkVersion = "0.3.1"; + private const string _sdkGenVersion = "2.499.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.3.0 2.495.0 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.3.1 2.499.0 v1 Clerk.BackendAPI"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/src/Clerk/BackendAPI/AllowListBlockList.cs b/src/Clerk/BackendAPI/AllowListBlockList.cs index f1d5c6e..1d339a1 100644 --- a/src/Clerk/BackendAPI/AllowListBlockList.cs +++ b/src/Clerk/BackendAPI/AllowListBlockList.cs @@ -38,10 +38,10 @@ public class AllowListBlockList: IAllowListBlockList { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.3.0"; - private const string _sdkGenVersion = "2.495.0"; + private const string _sdkVersion = "0.3.1"; + private const string _sdkGenVersion = "2.499.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.3.0 2.495.0 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.3.1 2.499.0 v1 Clerk.BackendAPI"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/src/Clerk/BackendAPI/AllowlistIdentifiers.cs b/src/Clerk/BackendAPI/AllowlistIdentifiers.cs index bae162e..c52c456 100644 --- a/src/Clerk/BackendAPI/AllowlistIdentifiers.cs +++ b/src/Clerk/BackendAPI/AllowlistIdentifiers.cs @@ -57,10 +57,10 @@ public class AllowlistIdentifiers: IAllowlistIdentifiers { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.3.0"; - private const string _sdkGenVersion = "2.495.0"; + private const string _sdkVersion = "0.3.1"; + private const string _sdkGenVersion = "2.499.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.3.0 2.495.0 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.3.1 2.499.0 v1 Clerk.BackendAPI"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/src/Clerk/BackendAPI/BetaFeatures.cs b/src/Clerk/BackendAPI/BetaFeatures.cs index f1e068a..3eeb074 100644 --- a/src/Clerk/BackendAPI/BetaFeatures.cs +++ b/src/Clerk/BackendAPI/BetaFeatures.cs @@ -65,10 +65,10 @@ public class BetaFeatures: IBetaFeatures { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.3.0"; - private const string _sdkGenVersion = "2.495.0"; + private const string _sdkVersion = "0.3.1"; + private const string _sdkGenVersion = "2.499.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.3.0 2.495.0 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.3.1 2.499.0 v1 Clerk.BackendAPI"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/src/Clerk/BackendAPI/BlocklistIdentifiers.cs b/src/Clerk/BackendAPI/BlocklistIdentifiers.cs index dd52ef8..e9584d7 100644 --- a/src/Clerk/BackendAPI/BlocklistIdentifiers.cs +++ b/src/Clerk/BackendAPI/BlocklistIdentifiers.cs @@ -39,10 +39,10 @@ public class BlocklistIdentifiers: IBlocklistIdentifiers { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.3.0"; - private const string _sdkGenVersion = "2.495.0"; + private const string _sdkVersion = "0.3.1"; + private const string _sdkGenVersion = "2.499.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.3.0 2.495.0 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.3.1 2.499.0 v1 Clerk.BackendAPI"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/src/Clerk/BackendAPI/Clerk.BackendAPI.csproj b/src/Clerk/BackendAPI/Clerk.BackendAPI.csproj index cf82590..6d10ac7 100644 --- a/src/Clerk/BackendAPI/Clerk.BackendAPI.csproj +++ b/src/Clerk/BackendAPI/Clerk.BackendAPI.csproj @@ -3,7 +3,7 @@ true Clerk.BackendAPI - 0.3.0 + 0.3.1 net8.0 Clerk Copyright (c) Clerk 2025 diff --git a/src/Clerk/BackendAPI/ClerkBackendApi.cs b/src/Clerk/BackendAPI/ClerkBackendApi.cs index f224e66..247c607 100644 --- a/src/Clerk/BackendAPI/ClerkBackendApi.cs +++ b/src/Clerk/BackendAPI/ClerkBackendApi.cs @@ -181,10 +181,10 @@ public class ClerkBackendApi: IClerkBackendApi public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.3.0"; - private const string _sdkGenVersion = "2.495.0"; + private const string _sdkVersion = "0.3.1"; + private const string _sdkGenVersion = "2.499.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.3.0 2.495.0 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.3.1 2.499.0 v1 Clerk.BackendAPI"; private string _serverUrl = ""; private int _serverIndex = 0; private ISpeakeasyHttpClient _client; diff --git a/src/Clerk/BackendAPI/Clients.cs b/src/Clerk/BackendAPI/Clients.cs index 650f291..12b9567 100644 --- a/src/Clerk/BackendAPI/Clients.cs +++ b/src/Clerk/BackendAPI/Clients.cs @@ -69,10 +69,10 @@ public class Clients: IClients { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.3.0"; - private const string _sdkGenVersion = "2.495.0"; + private const string _sdkVersion = "0.3.1"; + private const string _sdkGenVersion = "2.499.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.3.0 2.495.0 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.3.1 2.499.0 v1 Clerk.BackendAPI"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/src/Clerk/BackendAPI/Domains.cs b/src/Clerk/BackendAPI/Domains.cs index 4dc2d9d..b51dde7 100644 --- a/src/Clerk/BackendAPI/Domains.cs +++ b/src/Clerk/BackendAPI/Domains.cs @@ -85,10 +85,10 @@ public class Domains: IDomains { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.3.0"; - private const string _sdkGenVersion = "2.495.0"; + private const string _sdkVersion = "0.3.1"; + private const string _sdkGenVersion = "2.499.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.3.0 2.495.0 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.3.1 2.499.0 v1 Clerk.BackendAPI"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/src/Clerk/BackendAPI/EmailAddresses.cs b/src/Clerk/BackendAPI/EmailAddresses.cs index c26a3e0..9d52054 100644 --- a/src/Clerk/BackendAPI/EmailAddresses.cs +++ b/src/Clerk/BackendAPI/EmailAddresses.cs @@ -66,10 +66,10 @@ public class EmailAddresses: IEmailAddresses { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.3.0"; - private const string _sdkGenVersion = "2.495.0"; + private const string _sdkVersion = "0.3.1"; + private const string _sdkGenVersion = "2.499.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.3.0 2.495.0 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.3.1 2.499.0 v1 Clerk.BackendAPI"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/src/Clerk/BackendAPI/EmailAndSmsTemplates.cs b/src/Clerk/BackendAPI/EmailAndSmsTemplates.cs index b607bb5..f5ba8a6 100644 --- a/src/Clerk/BackendAPI/EmailAndSmsTemplates.cs +++ b/src/Clerk/BackendAPI/EmailAndSmsTemplates.cs @@ -57,10 +57,10 @@ public class EmailAndSmsTemplates: IEmailAndSmsTemplates { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.3.0"; - private const string _sdkGenVersion = "2.495.0"; + private const string _sdkVersion = "0.3.1"; + private const string _sdkGenVersion = "2.499.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.3.0 2.495.0 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.3.1 2.499.0 v1 Clerk.BackendAPI"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/src/Clerk/BackendAPI/EmailSmsTemplates.cs b/src/Clerk/BackendAPI/EmailSmsTemplates.cs index 2554137..e7ff8ff 100644 --- a/src/Clerk/BackendAPI/EmailSmsTemplates.cs +++ b/src/Clerk/BackendAPI/EmailSmsTemplates.cs @@ -60,10 +60,10 @@ public class EmailSmsTemplates: IEmailSmsTemplates { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.3.0"; - private const string _sdkGenVersion = "2.495.0"; + private const string _sdkVersion = "0.3.1"; + private const string _sdkGenVersion = "2.499.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.3.0 2.495.0 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.3.1 2.499.0 v1 Clerk.BackendAPI"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/src/Clerk/BackendAPI/InstanceSettings.cs b/src/Clerk/BackendAPI/InstanceSettings.cs index 13b8adb..52ad97e 100644 --- a/src/Clerk/BackendAPI/InstanceSettings.cs +++ b/src/Clerk/BackendAPI/InstanceSettings.cs @@ -66,10 +66,10 @@ public class InstanceSettings: IInstanceSettings { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.3.0"; - private const string _sdkGenVersion = "2.495.0"; + private const string _sdkVersion = "0.3.1"; + private const string _sdkGenVersion = "2.499.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.3.0 2.495.0 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.3.1 2.499.0 v1 Clerk.BackendAPI"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/src/Clerk/BackendAPI/Invitations.cs b/src/Clerk/BackendAPI/Invitations.cs index 2e3788f..0ec481b 100644 --- a/src/Clerk/BackendAPI/Invitations.cs +++ b/src/Clerk/BackendAPI/Invitations.cs @@ -84,10 +84,10 @@ public class Invitations: IInvitations { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.3.0"; - private const string _sdkGenVersion = "2.495.0"; + private const string _sdkVersion = "0.3.1"; + private const string _sdkGenVersion = "2.499.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.3.0 2.495.0 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.3.1 2.499.0 v1 Clerk.BackendAPI"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/src/Clerk/BackendAPI/Jwks.cs b/src/Clerk/BackendAPI/Jwks.cs index 322ad76..a34a4fd 100644 --- a/src/Clerk/BackendAPI/Jwks.cs +++ b/src/Clerk/BackendAPI/Jwks.cs @@ -38,10 +38,10 @@ public class Jwks: IJwks { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.3.0"; - private const string _sdkGenVersion = "2.495.0"; + private const string _sdkVersion = "0.3.1"; + private const string _sdkGenVersion = "2.499.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.3.0 2.495.0 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.3.1 2.499.0 v1 Clerk.BackendAPI"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/src/Clerk/BackendAPI/JwtTemplates.cs b/src/Clerk/BackendAPI/JwtTemplates.cs index eab4f91..a1a1557 100644 --- a/src/Clerk/BackendAPI/JwtTemplates.cs +++ b/src/Clerk/BackendAPI/JwtTemplates.cs @@ -67,10 +67,10 @@ public class JwtTemplates: IJwtTemplates { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.3.0"; - private const string _sdkGenVersion = "2.495.0"; + private const string _sdkVersion = "0.3.1"; + private const string _sdkGenVersion = "2.499.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.3.0 2.495.0 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.3.1 2.499.0 v1 Clerk.BackendAPI"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/src/Clerk/BackendAPI/Miscellaneous.cs b/src/Clerk/BackendAPI/Miscellaneous.cs index 51e0996..1aa1876 100644 --- a/src/Clerk/BackendAPI/Miscellaneous.cs +++ b/src/Clerk/BackendAPI/Miscellaneous.cs @@ -45,10 +45,10 @@ public class Miscellaneous: IMiscellaneous { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.3.0"; - private const string _sdkGenVersion = "2.495.0"; + private const string _sdkVersion = "0.3.1"; + private const string _sdkGenVersion = "2.499.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.3.0 2.495.0 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.3.1 2.499.0 v1 Clerk.BackendAPI"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/src/Clerk/BackendAPI/Models/Components/IdentificationLink.cs b/src/Clerk/BackendAPI/Models/Components/IdentificationLink.cs index 893aea7..4da1e10 100644 --- a/src/Clerk/BackendAPI/Models/Components/IdentificationLink.cs +++ b/src/Clerk/BackendAPI/Models/Components/IdentificationLink.cs @@ -9,7 +9,6 @@ #nullable enable namespace Clerk.BackendAPI.Models.Components { - using Clerk.BackendAPI.Models.Components; using Clerk.BackendAPI.Utils; using Newtonsoft.Json; @@ -17,7 +16,7 @@ public class IdentificationLink { [JsonProperty("type")] - public Models.Components.Type Type { get; set; } = default!; + public string Type { get; set; } = default!; [JsonProperty("id")] public string Id { get; set; } = default!; diff --git a/src/Clerk/BackendAPI/Models/Components/Type.cs b/src/Clerk/BackendAPI/Models/Components/Type.cs deleted file mode 100644 index 6644469..0000000 --- a/src/Clerk/BackendAPI/Models/Components/Type.cs +++ /dev/null @@ -1,67 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. -// -// Changes to this file may cause incorrect behavior and will be lost when -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#nullable enable -namespace Clerk.BackendAPI.Models.Components -{ - using Clerk.BackendAPI.Utils; - using Newtonsoft.Json; - using System; - - public enum Type - { - [JsonProperty("oauth_google")] - OauthGoogle, - [JsonProperty("oauth_mock")] - OauthMock, - [JsonProperty("saml")] - Saml, - [JsonProperty("oauth_apple")] - OauthApple, - [JsonProperty("oauth_discord")] - OauthDiscord, - [JsonProperty("oauth_microsoft")] - OauthMicrosoft, - [JsonProperty("oauth_github")] - OauthGithub, - } - - public static class TypeExtension - { - public static string Value(this Type value) - { - return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString())[0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); - } - - public static Type ToEnum(this string value) - { - foreach(var field in typeof(Type).GetFields()) - { - var attributes = field.GetCustomAttributes(typeof(JsonPropertyAttribute), false); - if (attributes.Length == 0) - { - continue; - } - - var attribute = attributes[0] as JsonPropertyAttribute; - if (attribute != null && attribute.PropertyName == value) - { - var enumVal = field.GetValue(null); - - if (enumVal is Type) - { - return (Type)enumVal; - } - } - } - - throw new Exception($"Unknown value {value} for enum Type"); - } - } - -} \ No newline at end of file diff --git a/src/Clerk/BackendAPI/OauthApplications.cs b/src/Clerk/BackendAPI/OauthApplications.cs index 26c02b7..191d19c 100644 --- a/src/Clerk/BackendAPI/OauthApplications.cs +++ b/src/Clerk/BackendAPI/OauthApplications.cs @@ -91,10 +91,10 @@ public class OauthApplications: IOauthApplications { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.3.0"; - private const string _sdkGenVersion = "2.495.0"; + private const string _sdkVersion = "0.3.1"; + private const string _sdkGenVersion = "2.499.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.3.0 2.495.0 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.3.1 2.499.0 v1 Clerk.BackendAPI"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/src/Clerk/BackendAPI/OrganizationDomain.cs b/src/Clerk/BackendAPI/OrganizationDomain.cs index 62d5483..78b4313 100644 --- a/src/Clerk/BackendAPI/OrganizationDomain.cs +++ b/src/Clerk/BackendAPI/OrganizationDomain.cs @@ -39,10 +39,10 @@ public class OrganizationDomain: IOrganizationDomain { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.3.0"; - private const string _sdkGenVersion = "2.495.0"; + private const string _sdkVersion = "0.3.1"; + private const string _sdkGenVersion = "2.499.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.3.0 2.495.0 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.3.1 2.499.0 v1 Clerk.BackendAPI"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/src/Clerk/BackendAPI/OrganizationDomains.cs b/src/Clerk/BackendAPI/OrganizationDomains.cs index 77ffec7..919879c 100644 --- a/src/Clerk/BackendAPI/OrganizationDomains.cs +++ b/src/Clerk/BackendAPI/OrganizationDomains.cs @@ -57,10 +57,10 @@ public class OrganizationDomains: IOrganizationDomains { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.3.0"; - private const string _sdkGenVersion = "2.495.0"; + private const string _sdkVersion = "0.3.1"; + private const string _sdkGenVersion = "2.499.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.3.0 2.495.0 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.3.1 2.499.0 v1 Clerk.BackendAPI"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/src/Clerk/BackendAPI/OrganizationInvitations.cs b/src/Clerk/BackendAPI/OrganizationInvitations.cs index 844d0e5..8bb70f3 100644 --- a/src/Clerk/BackendAPI/OrganizationInvitations.cs +++ b/src/Clerk/BackendAPI/OrganizationInvitations.cs @@ -139,10 +139,10 @@ public class OrganizationInvitations: IOrganizationInvitations { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.3.0"; - private const string _sdkGenVersion = "2.495.0"; + private const string _sdkVersion = "0.3.1"; + private const string _sdkGenVersion = "2.499.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.3.0 2.495.0 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.3.1 2.499.0 v1 Clerk.BackendAPI"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/src/Clerk/BackendAPI/OrganizationMemberships.cs b/src/Clerk/BackendAPI/OrganizationMemberships.cs index b8a49e0..8c650d8 100644 --- a/src/Clerk/BackendAPI/OrganizationMemberships.cs +++ b/src/Clerk/BackendAPI/OrganizationMemberships.cs @@ -86,10 +86,10 @@ public class OrganizationMemberships: IOrganizationMemberships { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.3.0"; - private const string _sdkGenVersion = "2.495.0"; + private const string _sdkVersion = "0.3.1"; + private const string _sdkGenVersion = "2.499.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.3.0 2.495.0 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.3.1 2.499.0 v1 Clerk.BackendAPI"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/src/Clerk/BackendAPI/Organizations.cs b/src/Clerk/BackendAPI/Organizations.cs index 1fd9c96..c5a959d 100644 --- a/src/Clerk/BackendAPI/Organizations.cs +++ b/src/Clerk/BackendAPI/Organizations.cs @@ -128,10 +128,10 @@ public class Organizations: IOrganizations { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.3.0"; - private const string _sdkGenVersion = "2.495.0"; + private const string _sdkVersion = "0.3.1"; + private const string _sdkGenVersion = "2.499.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.3.0 2.495.0 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.3.1 2.499.0 v1 Clerk.BackendAPI"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/src/Clerk/BackendAPI/PhoneNumbers.cs b/src/Clerk/BackendAPI/PhoneNumbers.cs index 2f0b2eb..7b92654 100644 --- a/src/Clerk/BackendAPI/PhoneNumbers.cs +++ b/src/Clerk/BackendAPI/PhoneNumbers.cs @@ -66,10 +66,10 @@ public class PhoneNumbers: IPhoneNumbers { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.3.0"; - private const string _sdkGenVersion = "2.495.0"; + private const string _sdkVersion = "0.3.1"; + private const string _sdkGenVersion = "2.499.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.3.0 2.495.0 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.3.1 2.499.0 v1 Clerk.BackendAPI"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/src/Clerk/BackendAPI/ProxyChecks.cs b/src/Clerk/BackendAPI/ProxyChecks.cs index c067399..4f764ab 100644 --- a/src/Clerk/BackendAPI/ProxyChecks.cs +++ b/src/Clerk/BackendAPI/ProxyChecks.cs @@ -46,10 +46,10 @@ public class ProxyChecks: IProxyChecks { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.3.0"; - private const string _sdkGenVersion = "2.495.0"; + private const string _sdkVersion = "0.3.1"; + private const string _sdkGenVersion = "2.499.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.3.0 2.495.0 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.3.1 2.499.0 v1 Clerk.BackendAPI"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/src/Clerk/BackendAPI/RedirectUrls.cs b/src/Clerk/BackendAPI/RedirectUrls.cs index 2484f37..90a52a6 100644 --- a/src/Clerk/BackendAPI/RedirectUrls.cs +++ b/src/Clerk/BackendAPI/RedirectUrls.cs @@ -66,10 +66,10 @@ public class RedirectUrls: IRedirectUrls { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.3.0"; - private const string _sdkGenVersion = "2.495.0"; + private const string _sdkVersion = "0.3.1"; + private const string _sdkGenVersion = "2.499.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.3.0 2.495.0 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.3.1 2.499.0 v1 Clerk.BackendAPI"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/src/Clerk/BackendAPI/SamlConnections.cs b/src/Clerk/BackendAPI/SamlConnections.cs index bea3221..72f1c60 100644 --- a/src/Clerk/BackendAPI/SamlConnections.cs +++ b/src/Clerk/BackendAPI/SamlConnections.cs @@ -77,10 +77,10 @@ public class SamlConnections: ISamlConnections { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.3.0"; - private const string _sdkGenVersion = "2.495.0"; + private const string _sdkVersion = "0.3.1"; + private const string _sdkGenVersion = "2.499.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.3.0 2.495.0 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.3.1 2.499.0 v1 Clerk.BackendAPI"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/src/Clerk/BackendAPI/Sessions.cs b/src/Clerk/BackendAPI/Sessions.cs index 5b5ea46..c112735 100644 --- a/src/Clerk/BackendAPI/Sessions.cs +++ b/src/Clerk/BackendAPI/Sessions.cs @@ -122,10 +122,10 @@ public class Sessions: ISessions { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.3.0"; - private const string _sdkGenVersion = "2.495.0"; + private const string _sdkVersion = "0.3.1"; + private const string _sdkGenVersion = "2.499.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.3.0 2.495.0 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.3.1 2.499.0 v1 Clerk.BackendAPI"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/src/Clerk/BackendAPI/SignInTokens.cs b/src/Clerk/BackendAPI/SignInTokens.cs index 1c2cb85..c306d4b 100644 --- a/src/Clerk/BackendAPI/SignInTokens.cs +++ b/src/Clerk/BackendAPI/SignInTokens.cs @@ -50,10 +50,10 @@ public class SignInTokens: ISignInTokens { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.3.0"; - private const string _sdkGenVersion = "2.495.0"; + private const string _sdkVersion = "0.3.1"; + private const string _sdkGenVersion = "2.499.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.3.0 2.495.0 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.3.1 2.499.0 v1 Clerk.BackendAPI"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/src/Clerk/BackendAPI/SignUps.cs b/src/Clerk/BackendAPI/SignUps.cs index 040307c..98e17ee 100644 --- a/src/Clerk/BackendAPI/SignUps.cs +++ b/src/Clerk/BackendAPI/SignUps.cs @@ -39,10 +39,10 @@ public class SignUps: ISignUps { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.3.0"; - private const string _sdkGenVersion = "2.495.0"; + private const string _sdkVersion = "0.3.1"; + private const string _sdkGenVersion = "2.499.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.3.0 2.495.0 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.3.1 2.499.0 v1 Clerk.BackendAPI"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/src/Clerk/BackendAPI/TestingTokens.cs b/src/Clerk/BackendAPI/TestingTokens.cs index ffae124..aeda79f 100644 --- a/src/Clerk/BackendAPI/TestingTokens.cs +++ b/src/Clerk/BackendAPI/TestingTokens.cs @@ -38,10 +38,10 @@ public class TestingTokens: ITestingTokens { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.3.0"; - private const string _sdkGenVersion = "2.495.0"; + private const string _sdkVersion = "0.3.1"; + private const string _sdkGenVersion = "2.499.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.3.0 2.495.0 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.3.1 2.499.0 v1 Clerk.BackendAPI"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/src/Clerk/BackendAPI/UserWeb3Wallets.cs b/src/Clerk/BackendAPI/UserWeb3Wallets.cs index 881e85c..e2e1433 100644 --- a/src/Clerk/BackendAPI/UserWeb3Wallets.cs +++ b/src/Clerk/BackendAPI/UserWeb3Wallets.cs @@ -39,10 +39,10 @@ public class UserWeb3Wallets: IUserWeb3Wallets { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.3.0"; - private const string _sdkGenVersion = "2.495.0"; + private const string _sdkVersion = "0.3.1"; + private const string _sdkGenVersion = "2.499.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.3.0 2.495.0 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.3.1 2.499.0 v1 Clerk.BackendAPI"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/src/Clerk/BackendAPI/Users.cs b/src/Clerk/BackendAPI/Users.cs index d4bcbf9..d2cc680 100644 --- a/src/Clerk/BackendAPI/Users.cs +++ b/src/Clerk/BackendAPI/Users.cs @@ -288,10 +288,10 @@ public class Users: IUsers { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.3.0"; - private const string _sdkGenVersion = "2.495.0"; + private const string _sdkVersion = "0.3.1"; + private const string _sdkGenVersion = "2.499.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.3.0 2.495.0 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.3.1 2.499.0 v1 Clerk.BackendAPI"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; @@ -1909,10 +1909,6 @@ public async Task VerifyPasswordAsync(string userId, Ver throw new Models.Errors.SDKError("Unknown content type received", httpRequest, httpResponse); } - else if(responseStatusCode == 400 || responseStatusCode == 404 || responseStatusCode == 422 || responseStatusCode >= 400 && responseStatusCode < 500) - { - throw new Models.Errors.SDKError("API error occurred", httpRequest, httpResponse); - } else if(responseStatusCode == 500) { if(Utilities.IsContentTypeMatch("application/json", contentType)) @@ -1923,6 +1919,10 @@ public async Task VerifyPasswordAsync(string userId, Ver throw new Models.Errors.SDKError("Unknown content type received", httpRequest, httpResponse); } + else if(responseStatusCode == 400 || responseStatusCode == 404 || responseStatusCode == 422 || responseStatusCode >= 400 && responseStatusCode < 500) + { + throw new Models.Errors.SDKError("API error occurred", httpRequest, httpResponse); + } else if(responseStatusCode >= 500 && responseStatusCode < 600) { throw new Models.Errors.SDKError("API error occurred", httpRequest, httpResponse); @@ -2010,10 +2010,6 @@ public async Task VerifyTotpAsync(string userId, VerifyTOTPR throw new Models.Errors.SDKError("Unknown content type received", httpRequest, httpResponse); } - else if(responseStatusCode == 400 || responseStatusCode == 404 || responseStatusCode == 422 || responseStatusCode >= 400 && responseStatusCode < 500) - { - throw new Models.Errors.SDKError("API error occurred", httpRequest, httpResponse); - } else if(responseStatusCode == 500) { if(Utilities.IsContentTypeMatch("application/json", contentType)) @@ -2024,6 +2020,10 @@ public async Task VerifyTotpAsync(string userId, VerifyTOTPR throw new Models.Errors.SDKError("Unknown content type received", httpRequest, httpResponse); } + else if(responseStatusCode == 400 || responseStatusCode == 404 || responseStatusCode == 422 || responseStatusCode >= 400 && responseStatusCode < 500) + { + throw new Models.Errors.SDKError("API error occurred", httpRequest, httpResponse); + } else if(responseStatusCode >= 500 && responseStatusCode < 600) { throw new Models.Errors.SDKError("API error occurred", httpRequest, httpResponse); diff --git a/src/Clerk/BackendAPI/WaitlistEntries.cs b/src/Clerk/BackendAPI/WaitlistEntries.cs index aca04ee..10d9eb5 100644 --- a/src/Clerk/BackendAPI/WaitlistEntries.cs +++ b/src/Clerk/BackendAPI/WaitlistEntries.cs @@ -51,10 +51,10 @@ public class WaitlistEntries: IWaitlistEntries { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.3.0"; - private const string _sdkGenVersion = "2.495.0"; + private const string _sdkVersion = "0.3.1"; + private const string _sdkGenVersion = "2.499.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.3.0 2.495.0 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.3.1 2.499.0 v1 Clerk.BackendAPI"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/src/Clerk/BackendAPI/Webhooks.cs b/src/Clerk/BackendAPI/Webhooks.cs index 0e41497..f227641 100644 --- a/src/Clerk/BackendAPI/Webhooks.cs +++ b/src/Clerk/BackendAPI/Webhooks.cs @@ -66,10 +66,10 @@ public class Webhooks: IWebhooks { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.3.0"; - private const string _sdkGenVersion = "2.495.0"; + private const string _sdkVersion = "0.3.1"; + private const string _sdkGenVersion = "2.499.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.3.0 2.495.0 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.3.1 2.499.0 v1 Clerk.BackendAPI"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource;