From bd290c4857f3d30b6a6b665cf25d32928234ce41 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 27 Nov 2024 14:36:30 +0000 Subject: [PATCH] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.448.0 --- .speakeasy/gen.lock | 269 +++++++++--------- .speakeasy/gen.yaml | 2 +- .speakeasy/workflow.lock | 18 +- .speakeasy/workflow.yaml | 2 +- RELEASES.md | 12 +- .../Components/TicketVerificationStrategy.md | 3 +- .../Operations/UpdateEmailAddressRequest.md | 2 +- .../Operations/UpdateJWTTemplateRequest.md | 2 +- .../Operations/UpdatePhoneNumberRequest.md | 2 +- docs/Models/Operations/UpdateSignUpRequest.md | 2 +- .../Operations/UpdateUserMetadataRequest.md | 2 +- .../UploadOrganizationLogoRequest.md | 2 +- .../Operations/VerifyClientRequestBody.md | 2 - .../Operations/VerifyPasswordRequest.md | 2 +- docs/Models/Operations/VerifyTOTPRequest.md | 2 +- docs/sdks/clerkbackendapi/README.md | 4 +- docs/sdks/emailaddresses/README.md | 2 +- docs/sdks/jwttemplates/README.md | 2 +- docs/sdks/organizations/README.md | 2 +- docs/sdks/phonenumbers/README.md | 2 +- docs/sdks/signups/README.md | 2 +- docs/sdks/users/README.md | 6 +- src/Clerk/BackendAPI/ActorTokens.cs | 16 +- src/Clerk/BackendAPI/AllowBlockList.cs | 6 +- src/Clerk/BackendAPI/AllowListBlockList.cs | 6 +- src/Clerk/BackendAPI/AllowlistIdentifiers.cs | 16 +- src/Clerk/BackendAPI/BetaFeatures.cs | 6 +- src/Clerk/BackendAPI/BlocklistIdentifiers.cs | 16 +- src/Clerk/BackendAPI/Clerk.BackendAPI.csproj | 2 +- src/Clerk/BackendAPI/ClerkBackendApi.cs | 6 +- src/Clerk/BackendAPI/Clients.cs | 6 +- src/Clerk/BackendAPI/Domains.cs | 16 +- src/Clerk/BackendAPI/EmailAddresses.cs | 12 +- src/Clerk/BackendAPI/EmailAndSmsTemplates.cs | 6 +- src/Clerk/BackendAPI/EmailSmsTemplates.cs | 6 +- src/Clerk/BackendAPI/InstanceSettings.cs | 6 +- src/Clerk/BackendAPI/Invitations.cs | 16 +- src/Clerk/BackendAPI/Jwks.cs | 6 +- src/Clerk/BackendAPI/JwtTemplates.cs | 12 +- src/Clerk/BackendAPI/Miscellaneous.cs | 6 +- .../Components/TicketVerificationStrategy.cs | 2 + .../Operations/UpdateEmailAddressRequest.cs | 2 +- .../Operations/UpdateJWTTemplateRequest.cs | 2 +- .../Operations/UpdatePhoneNumberRequest.cs | 2 +- .../Models/Operations/UpdateSignUpRequest.cs | 2 +- .../Operations/UpdateUserMetadataRequest.cs | 2 +- .../UploadOrganizationLogoRequest.cs | 2 +- .../Operations/VerifyClientRequestBody.cs | 3 - .../Operations/VerifyPasswordRequest.cs | 2 +- .../Models/Operations/VerifyTOTPRequest.cs | 2 +- src/Clerk/BackendAPI/OauthApplications.cs | 16 +- 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 | 22 +- src/Clerk/BackendAPI/PhoneNumbers.cs | 12 +- src/Clerk/BackendAPI/ProxyChecks.cs | 6 +- src/Clerk/BackendAPI/RedirectUrls.cs | 6 +- src/Clerk/BackendAPI/SamlConnections.cs | 16 +- src/Clerk/BackendAPI/Sessions.cs | 6 +- src/Clerk/BackendAPI/SignInTokens.cs | 6 +- src/Clerk/BackendAPI/SignUps.cs | 12 +- src/Clerk/BackendAPI/TestingTokens.cs | 6 +- src/Clerk/BackendAPI/UserWeb3Wallets.cs | 6 +- src/Clerk/BackendAPI/Users.cs | 24 +- src/Clerk/BackendAPI/Webhooks.cs | 6 +- 67 files changed, 355 insertions(+), 344 deletions(-) diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 2986d77..588e869 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: 436af4aa2ae857e820511e8c375674af + docChecksum: 4e86217399ffa709d7db6ff06388b07c docVersion: v1 - speakeasyVersion: 1.445.2 - generationVersion: 2.461.4 - releaseVersion: 0.2.2 - configChecksum: 8cc0571368214ae12711a4589fb8cedc + speakeasyVersion: 1.448.0 + generationVersion: 2.466.0 + releaseVersion: 0.2.3 + configChecksum: 4f7e126da047b023f834b2f4843fbb9e 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.5 + core: 3.10.6 deprecations: 2.81.2 examples: 2.81.3 flattening: 2.81.3 @@ -1044,7 +1044,7 @@ examples: "200": application/json: [{"object": "client", "id": "client_123456789abcd", "session_ids": ["sess_123456789abcd", "sess_23456789abcd"], "sessions": [{"object": "session", "id": "sess_123456789abcd", "user_id": "user_123456789abcd", "client_id": "client_123456789abcd", "actor": null, "status": "active", "last_active_organization_id": "org_123456789abcd", "last_active_at": 1622471123, "expire_at": 1685471123, "abandon_at": 1630471123, "updated_at": 1622532323, "created_at": 1622470000}, {"object": "session", "id": "sess_123456789abcd", "user_id": "user_123456789abcd", "client_id": "client_123456789abcd", "actor": null, "status": "active", "last_active_organization_id": "org_123456789abcd", "last_active_at": 1622471123, "expire_at": 1685471123, "abandon_at": 1630471123, "updated_at": 1622532323, "created_at": 1622470000}, {"object": "session", "id": "sess_123456789abcd", "user_id": "user_123456789abcd", "client_id": "client_123456789abcd", "actor": null, "status": "active", "last_active_organization_id": "org_123456789abcd", "last_active_at": 1622471123, "expire_at": 1685471123, "abandon_at": 1630471123, "updated_at": 1622532323, "created_at": 1622470000}], "sign_in_id": "signin_123456789abcd", "sign_up_id": "signup_123456789abcd", "last_active_session_id": "session_123456789abcd", "updated_at": 1632580323, "created_at": 1622481123}] "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} VerifyClient: speakeasy-default-verify-client: requestBody: @@ -1053,7 +1053,7 @@ examples: "200": application/json: {"object": "client", "id": "client_123456789abcd", "session_ids": ["sess_123456789abcd", "sess_23456789abcd"], "sessions": [{"object": "session", "id": "sess_123456789abcd", "user_id": "user_123456789abcd", "client_id": "client_123456789abcd", "actor": null, "status": "active", "last_active_organization_id": "org_123456789abcd", "last_active_at": 1622471123, "expire_at": 1685471123, "abandon_at": 1630471123, "updated_at": 1622532323, "created_at": 1622470000}], "sign_in_id": "signin_123456789abcd", "sign_up_id": "signup_123456789abcd", "last_active_session_id": "session_123456789abcd", "updated_at": 1632580323, "created_at": 1622481123} "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} GetClient: speakeasy-default-get-client: parameters: @@ -1063,7 +1063,7 @@ examples: "200": application/json: {"object": "client", "id": "client_123456789abcd", "session_ids": ["sess_123456789abcd", "sess_23456789abcd"], "sessions": [{"object": "session", "id": "sess_123456789abcd", "user_id": "user_123456789abcd", "client_id": "client_123456789abcd", "actor": null, "status": "active", "last_active_organization_id": "org_123456789abcd", "last_active_at": 1622471123, "expire_at": 1685471123, "abandon_at": 1630471123, "updated_at": 1622532323, "created_at": 1622470000}, {"object": "session", "id": "sess_123456789abcd", "user_id": "user_123456789abcd", "client_id": "client_123456789abcd", "actor": null, "status": "active", "last_active_organization_id": "org_123456789abcd", "last_active_at": 1622471123, "expire_at": 1685471123, "abandon_at": 1630471123, "updated_at": 1622532323, "created_at": 1622470000}, {"object": "session", "id": "sess_123456789abcd", "user_id": "user_123456789abcd", "client_id": "client_123456789abcd", "actor": null, "status": "active", "last_active_organization_id": "org_123456789abcd", "last_active_at": 1622471123, "expire_at": 1685471123, "abandon_at": 1630471123, "updated_at": 1622532323, "created_at": 1622470000}], "sign_in_id": "signin_123456789abcd", "sign_up_id": "signup_123456789abcd", "last_active_session_id": "session_123456789abcd", "updated_at": 1632580323, "created_at": 1622481123} "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} CreateEmailAddress: speakeasy-default-create-email-address: requestBody: @@ -1072,7 +1072,7 @@ examples: "200": application/json: {"id": "email_id_56789", "object": "email_address", "email_address": "example@clerk.com", "reserved": false, "verification": {"status": "verified", "strategy": "admin", "attempts": 0, "expire_at": 1620000000}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "created_at": 1615458901, "updated_at": 1615459001} "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} GetEmailAddress: speakeasy-default-get-email-address: parameters: @@ -1082,7 +1082,7 @@ examples: "200": application/json: {"id": "email_id_56789", "object": "email_address", "email_address": "example@clerk.com", "reserved": false, "verification": {"status": "verified", "strategy": "admin", "attempts": 0, "expire_at": 1620000000}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "created_at": 1615458901, "updated_at": 1615459001} "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} DeleteEmailAddress: speakeasy-default-delete-email-address: parameters: @@ -1092,7 +1092,7 @@ examples: "200": application/json: {"object": "deleted_object", "id": "deleted_object_id_example", "slug": "deleted-object-slug", "deleted": true} "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} UpdateEmailAddress: speakeasy-default-update-email-address: parameters: @@ -1104,7 +1104,7 @@ examples: "200": application/json: {"id": "email_id_56789", "object": "email_address", "email_address": "example@clerk.com", "reserved": false, "verification": {"status": "verified", "strategy": "admin", "attempts": 0, "expire_at": 1620000000}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "created_at": 1615458901, "updated_at": 1615459001} "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} CreatePhoneNumber: speakeasy-default-create-phone-number: requestBody: @@ -1113,7 +1113,7 @@ examples: "200": application/json: {"id": "ph_123456789", "object": "phone_number", "phone_number": "+11234567890", "reserved_for_second_factor": false, "default_second_factor": true, "reserved": false, "verification": {"status": "verified", "strategy": "email_code", "attempts": 1, "expire_at": 1615462399}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "backup_codes": ["code1", "code2", "code3"], "created_at": 1594842023, "updated_at": 1604842023} "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} GetPhoneNumber: speakeasy-default-get-phone-number: parameters: @@ -1123,7 +1123,7 @@ examples: "200": application/json: {"id": "ph_123456789", "object": "phone_number", "phone_number": "+11234567890", "reserved_for_second_factor": false, "default_second_factor": true, "reserved": false, "verification": {"status": "verified", "strategy": "email_code", "attempts": 1, "expire_at": 1615462399}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "backup_codes": ["code1", "code2", "code3"], "created_at": 1594842023, "updated_at": 1604842023} "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} DeletePhoneNumber: speakeasy-default-delete-phone-number: parameters: @@ -1133,7 +1133,7 @@ examples: "200": application/json: {"object": "deleted_object", "id": "deleted_object_id_example", "slug": "deleted-object-slug", "deleted": true} "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} UpdatePhoneNumber: speakeasy-default-update-phone-number: parameters: @@ -1145,7 +1145,7 @@ examples: "200": application/json: {"id": "ph_123456789", "object": "phone_number", "phone_number": "+11234567890", "reserved_for_second_factor": false, "default_second_factor": true, "reserved": false, "verification": {"status": "verified", "strategy": "email_code", "attempts": 1, "expire_at": 1615462399}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "backup_codes": ["code1", "code2", "code3"], "created_at": 1594842023, "updated_at": 1604842023} "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} GetSessionList: speakeasy-default-get-session-list: parameters: @@ -1157,9 +1157,9 @@ examples: offset: 10 responses: "200": - application/json: [{"object": "session", "id": "sess_123456789abcd", "user_id": "user_123456789abcd", "client_id": "client_123456789abcd", "actor": null, "status": "active", "last_active_organization_id": "org_123456789abcd", "last_active_at": 1622471123, "expire_at": 1685471123, "abandon_at": 1630471123, "updated_at": 1622532323, "created_at": 1622470000}] + application/json: [{"object": "session", "id": "sess_123456789abcd", "user_id": "user_123456789abcd", "client_id": "client_123456789abcd", "status": "active", "last_active_organization_id": "org_123456789abcd", "last_active_at": 1622471123, "expire_at": 1685471123, "abandon_at": 1630471123, "updated_at": 1622532323, "created_at": 1622470000}] "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} GetSession: speakeasy-default-get-session: parameters: @@ -1169,7 +1169,7 @@ examples: "200": application/json: {"object": "session", "id": "sess_123456789abcd", "user_id": "user_123456789abcd", "client_id": "client_123456789abcd", "actor": null, "status": "active", "last_active_organization_id": "org_123456789abcd", "last_active_at": 1622471123, "expire_at": 1685471123, "abandon_at": 1630471123, "updated_at": 1622532323, "created_at": 1622470000} "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} RevokeSession: speakeasy-default-revoke-session: parameters: @@ -1179,7 +1179,7 @@ examples: "200": application/json: {"object": "session", "id": "sess_123456789abcd", "user_id": "user_123456789abcd", "client_id": "client_123456789abcd", "actor": null, "status": "active", "last_active_organization_id": "org_123456789abcd", "last_active_at": 1622471123, "expire_at": 1685471123, "abandon_at": 1630471123, "updated_at": 1622532323, "created_at": 1622470000} "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} VerifySession: speakeasy-default-verify-session: parameters: @@ -1191,7 +1191,7 @@ examples: "200": application/json: {"object": "session", "id": "sess_123456789abcd", "user_id": "user_123456789abcd", "client_id": "client_123456789abcd", "actor": null, "status": "active", "last_active_organization_id": "org_123456789abcd", "last_active_at": 1622471123, "expire_at": 1685471123, "abandon_at": 1630471123, "updated_at": 1622532323, "created_at": 1622470000} "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} CreateSessionTokenFromTemplate: speakeasy-default-create-session-token-from-template: parameters: @@ -1200,7 +1200,7 @@ examples: template_name: "custom_hasura" responses: "401": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} "200": application/json: {"object": "token", "jwt": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvZSBCbG9nZ3MiLCJpYXQiOjE1MTYyMzkwMjJ9.qKVwLLnbfqfM5VCfU8vDhXXXS0VklRcsErgTpELYgfw"} GetTemplateList: @@ -1229,7 +1229,7 @@ examples: slug: "welcome-email" responses: "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} "200": application/json: {"id": "temp_12345", "object": "template", "instance_id": "inst_67890", "resource_type": "system", "template_type": "email", "name": "Welcome Email", "slug": "welcome_email", "position": 1, "can_revert": false, "can_delete": true, "subject": "Welcome to our service!", "markup": "

Hello, {{ user.name }}

", "body": "You are now signed up. Welcome!", "available_variables": ["user.name", "user.email"], "required_variables": ["user.name"], "from_email_name": "Clerk Support", "reply_to_email_name": "support@clerk.com", "delivered_by_clerk": true, "updated_at": 1610000000, "created_at": 1600000000} UpsertTemplate: @@ -1242,7 +1242,7 @@ examples: application/json: {"name": "Verification Code", "subject": "Your Verification Code", "markup": "

Your code: {{code}}

", "body": "Use this code to verify your email: {{code}}", "delivered_by_clerk": true, "from_email_name": "hello", "reply_to_email_name": "support"} responses: "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} "200": application/json: {"id": "temp_12345", "object": "template", "instance_id": "inst_67890", "resource_type": "system", "template_type": "email", "name": "Welcome Email", "slug": "welcome_email", "position": 1, "can_revert": false, "can_delete": true, "subject": "Welcome to our service!", "markup": "

Hello, {{ user.name }}

", "body": "You are now signed up. Welcome!", "available_variables": ["user.name", "user.email"], "required_variables": ["user.name"], "from_email_name": "Clerk Support", "reply_to_email_name": "support@clerk.com", "delivered_by_clerk": true, "updated_at": 1610000000, "created_at": 1600000000} RevertTemplate: @@ -1253,7 +1253,7 @@ examples: slug: "welcome-email" responses: "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} "200": application/json: {"id": "temp_12345", "object": "template", "instance_id": "inst_67890", "resource_type": "system", "template_type": "email", "name": "Welcome Email", "slug": "welcome_email", "position": 1, "can_revert": false, "can_delete": true, "subject": "Welcome to our service!", "markup": "

Hello, {{ user.name }}

", "body": "You are now signed up. Welcome!", "available_variables": ["user.name", "user.email"], "required_variables": ["user.name"], "from_email_name": "Clerk Support", "reply_to_email_name": "support@clerk.com", "delivered_by_clerk": true, "updated_at": 1610000000, "created_at": 1600000000} PreviewTemplate: @@ -1266,7 +1266,7 @@ examples: application/json: {"subject": "Welcome to our service!", "body": "Hi, thank you for joining our service.", "from_email_name": "hello", "reply_to_email_name": "support"} responses: "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} "200": {} ToggleTemplateDelivery: speakeasy-default-toggle-template-delivery: @@ -1278,7 +1278,7 @@ examples: application/json: {"delivered_by_clerk": true} responses: "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} "200": application/json: {"id": "temp_12345", "object": "template", "instance_id": "inst_67890", "resource_type": "system", "template_type": "email", "name": "Welcome Email", "slug": "welcome_email", "position": 1, "can_revert": false, "can_delete": true, "subject": "Welcome to our service!", "markup": "

Hello, {{ user.name }}

", "body": "You are now signed up. Welcome!", "available_variables": ["user.name", "user.email"], "required_variables": ["user.name"], "from_email_name": "Clerk Support", "reply_to_email_name": "support@clerk.com", "delivered_by_clerk": true, "updated_at": 1610000000, "created_at": 1600000000} GetUserList: @@ -1298,7 +1298,7 @@ examples: offset: 10 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": "from_oauth_microsoft", "external_verification_redirect_url": "https://oauth.google.com/verify", "error": null, "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_for_second_factor": false, "default_second_factor": true, "reserved": false, "verification": {"status": "verified", "strategy": "admin", "attempts": 2, "expire_at": 1622852400}, "linked_to": [{"type": "oauth_google", "id": "link_id_123"}], "backup_codes": ["code1", "code2", "code3"], "created_at": 1609459200, "updated_at": 1609459200}], "web3_wallets": [{"id": "wallet_id_123", "object": "web3_wallet", "web3_wallet": "0x123456789abcdef", "verification": {"status": "verified", "strategy": "admin", "attempts": 0, "expire_at": 1620000000}, "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", "nonce": "nonce", "attempts": null, "expire_at": null}}], "password_enabled": true, "two_factor_enabled": true, "totp_enabled": true, "backup_code_enabled": true, "mfa_enabled_at": 1615852800, "mfa_disabled_at": null, "saml_accounts": [{"id": "saml_account_id_123", "object": "saml_account", "provider": "SAML Provider", "active": true, "email_address": "user@example.com", "first_name": "John", "last_name": "Doe", "provider_user_id": "prov_user_id_123", "public_metadata": {"department": "IT"}, "verification": {"status": "verified", "strategy": "saml", "external_verification_redirect_url": "https://example.com/saml_callback", "error": null, "expire_at": 1622852400, "attempts": null}, "saml_connection": {"id": "sc_1234567890", "name": "My Company SAML Config", "domain": "mycompany.com", "active": true, "provider": "saml_custom", "sync_user_attributes": true, "allow_subdomains": false, "allow_idp_initiated": true, "created_at": 1614768000, "updated_at": 1622540800}}], "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": "from_oauth_microsoft", "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_for_second_factor": false, "default_second_factor": true, "reserved": false, "verification": {"status": "verified", "strategy": "admin", "attempts": 2, "expire_at": 1622852400}, "linked_to": [{"type": "oauth_google", "id": "link_id_123"}], "backup_codes": ["code1", "code2", "code3"], "created_at": 1609459200, "updated_at": 1609459200}], "web3_wallets": [{"id": "wallet_id_123", "object": "web3_wallet", "web3_wallet": "0x123456789abcdef", "verification": {"status": "verified", "strategy": "admin", "attempts": 0, "expire_at": 1620000000}, "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", "nonce": "nonce"}}], "password_enabled": true, "two_factor_enabled": true, "totp_enabled": true, "backup_code_enabled": true, "mfa_enabled_at": 1615852800, "mfa_disabled_at": null, "saml_accounts": [{"id": "saml_account_id_123", "object": "saml_account", "provider": "SAML Provider", "active": true, "email_address": "user@example.com", "first_name": "John", "last_name": "Doe", "provider_user_id": "prov_user_id_123", "public_metadata": {"department": "IT"}, "verification": {"status": "verified", "strategy": "saml"}, "saml_connection": {"id": "sc_1234567890", "name": "My Company SAML Config", "domain": "mycompany.com", "active": true, "provider": "saml_custom", "sync_user_attributes": true, "allow_subdomains": false, "allow_idp_initiated": true, "created_at": 1614768000, "updated_at": 1622540800}}], "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": "", "long_message": "", "code": "", "meta": {}, "clerk_trace_id": "trace_123456789abcd"}, {"message": "", "long_message": "", "code": "", "meta": {}, "clerk_trace_id": "trace_123456789abcd"}, {"message": "", "long_message": "", "code": "", "meta": {}, "clerk_trace_id": "trace_123456789abcd"}], "meta": {}} CreateUser: @@ -1307,9 +1307,9 @@ examples: application/json: {"external_id": "ext-id-001", "first_name": "John", "last_name": "Doe", "email_address": ["john.doe@example.com"], "phone_number": ["+12345678901"], "web3_wallet": ["0x123456789abcdef0x123456789abcdef"], "username": "johndoe123", "password": "Secure*Pass4", "password_digest": "$argon2i$v=19$m=4096,t=3,p=1$4t6CL3P7YiHBtwESXawI8Hm20zJj4cs7/4/G3c187e0$m7RQFczcKr5bIR0IIxbpO2P0tyrLjf3eUW3M3QSwnLc", "skip_password_checks": false, "skip_password_requirement": false, "totp_secret": "base32totpsecretkey", "backup_codes": ["123456", "654321"], "public_metadata": {"role": "user"}, "private_metadata": {"internal_id": "789"}, "unsafe_metadata": {"preferences": {"theme": "dark"}}, "created_at": "2023-03-15T07:15:20.902Z"} 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_56789", "object": "email_address", "email_address": "example@clerk.com", "reserved": false, "verification": {"status": "verified", "strategy": "admin", "attempts": 0, "expire_at": 1620000000}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "created_at": 1615458901, "updated_at": 1615459001}], "phone_numbers": [{"id": "ph_123456789", "object": "phone_number", "phone_number": "+11234567890", "reserved_for_second_factor": false, "default_second_factor": true, "reserved": false, "verification": {"status": "verified", "strategy": "email_code", "attempts": 1, "expire_at": 1615462399}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "backup_codes": ["code1", "code2", "code3"], "created_at": 1594842023, "updated_at": 1604842023}], "web3_wallets": [{"id": "wallet_id_123", "object": "web3_wallet", "web3_wallet": "0x123456789abcdef", "verification": {"status": "verified", "strategy": "web3_metamask_signature", "nonce": "nonce_value", "attempts": null, "expire_at": null}, "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", "nonce": "nonce", "attempts": null, "expire_at": null}}], "password_enabled": true, "two_factor_enabled": true, "totp_enabled": true, "backup_code_enabled": true, "mfa_enabled_at": 1615852800, "mfa_disabled_at": null, "saml_accounts": [{"id": "saml_account_id_123", "object": "saml_account", "provider": "SAML Provider", "active": true, "email_address": "user@example.com", "first_name": "John", "last_name": "Doe", "provider_user_id": "prov_user_id_123", "public_metadata": {"department": "IT"}, "verification": {"status": "verified", "strategy": "saml", "external_verification_redirect_url": "https://example.com/saml_callback", "error": null, "expire_at": 1622852400, "attempts": null}, "saml_connection": {"id": "sc_1234567890", "name": "My Company SAML Config", "domain": "mycompany.com", "active": true, "provider": "saml_custom", "sync_user_attributes": true, "allow_subdomains": false, "allow_idp_initiated": true, "created_at": 1614768000, "updated_at": 1622540800}}], "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_56789", "object": "email_address", "email_address": "example@clerk.com", "reserved": false, "verification": {"status": "verified", "strategy": "admin"}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "created_at": 1615458901, "updated_at": 1615459001}], "phone_numbers": [{"id": "ph_123456789", "object": "phone_number", "phone_number": "+11234567890", "reserved": false, "verification": {"status": "verified", "strategy": "email_code", "attempts": 1, "expire_at": 1615462399}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "created_at": 1594842023, "updated_at": 1604842023}], "web3_wallets": [{"id": "wallet_id_123", "object": "web3_wallet", "web3_wallet": "0x123456789abcdef", "verification": {"status": "verified", "strategy": "web3_metamask_signature", "nonce": "nonce_value"}, "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", "nonce": "nonce"}}], "password_enabled": true, "two_factor_enabled": true, "totp_enabled": true, "backup_code_enabled": true, "mfa_enabled_at": 1615852800, "mfa_disabled_at": null, "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", "external_verification_redirect_url": "https://example.com/saml_callback", "expire_at": 1622852400}}], "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": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} GetUsersCount: speakeasy-default-get-users-count: parameters: @@ -1325,7 +1325,7 @@ examples: "200": application/json: {"object": "total_count", "total_count": 100} "422": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} GetUser: speakeasy-default-get-user: parameters: @@ -1333,9 +1333,9 @@ examples: user_id: "usr_1" 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_56789", "object": "email_address", "email_address": "example@clerk.com", "reserved": false, "verification": {"status": "verified", "strategy": "admin", "attempts": 0, "expire_at": 1620000000}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "created_at": 1615458901, "updated_at": 1615459001}], "phone_numbers": [{"id": "ph_123456789", "object": "phone_number", "phone_number": "+11234567890", "reserved_for_second_factor": false, "default_second_factor": true, "reserved": false, "verification": {"status": "verified", "strategy": "email_code", "attempts": 1, "expire_at": 1615462399}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "backup_codes": ["code1", "code2", "code3"], "created_at": 1594842023, "updated_at": 1604842023}], "web3_wallets": [{"id": "wallet_id_123", "object": "web3_wallet", "web3_wallet": "0x123456789abcdef", "verification": {"status": "verified", "strategy": "web3_metamask_signature", "nonce": "nonce_value", "attempts": null, "expire_at": null}, "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", "nonce": "nonce", "attempts": null, "expire_at": null}}], "password_enabled": true, "two_factor_enabled": true, "totp_enabled": true, "backup_code_enabled": true, "mfa_enabled_at": 1615852800, "mfa_disabled_at": null, "saml_accounts": [{"id": "saml_account_id_123", "object": "saml_account", "provider": "SAML Provider", "active": true, "email_address": "user@example.com", "first_name": "John", "last_name": "Doe", "provider_user_id": "prov_user_id_123", "public_metadata": {"department": "IT"}, "verification": {"status": "verified", "strategy": "ticket", "attempts": null, "expire_at": null}, "saml_connection": {"id": "sc_1234567890", "name": "My Company SAML Config", "domain": "mycompany.com", "active": true, "provider": "saml_custom", "sync_user_attributes": true, "allow_subdomains": false, "allow_idp_initiated": true, "created_at": 1614768000, "updated_at": 1622540800}}], "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_56789", "object": "email_address", "email_address": "example@clerk.com", "reserved": false, "verification": {"status": "verified", "strategy": "admin"}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "created_at": 1615458901, "updated_at": 1615459001}], "phone_numbers": [{"id": "ph_123456789", "object": "phone_number", "phone_number": "+11234567890", "reserved": false, "verification": {"status": "verified", "strategy": "email_code", "attempts": 1, "expire_at": 1615462399}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "created_at": 1594842023, "updated_at": 1604842023}], "web3_wallets": [{"id": "wallet_id_123", "object": "web3_wallet", "web3_wallet": "0x123456789abcdef", "verification": {"status": "verified", "strategy": "web3_metamask_signature", "nonce": "nonce_value"}, "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", "nonce": "nonce"}}], "password_enabled": true, "two_factor_enabled": true, "totp_enabled": true, "backup_code_enabled": true, "mfa_enabled_at": 1615852800, "mfa_disabled_at": null, "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": "ticket"}}], "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": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} UpdateUser: speakeasy-default-update-user: parameters: @@ -1345,9 +1345,9 @@ examples: application/json: {"external_id": "ext_123", "first_name": "Jane", "last_name": "Doe", "primary_email_address_id": "eml_12345", "notify_primary_email_address_changed": true, "primary_phone_number_id": "phn_67890", "primary_web3_wallet_id": "wlt_123", "username": "janedoe", "profile_image_id": "img_789", "password": "secretPass123!", "password_digest": "$argon2i$v=19$m=4096,t=3,p=1$4t6CL3P7YiHBtwESXawI8Hm20zJj4cs7/4/G3c187e0$m7RQFczcKr5bIR0IIxbpO2P0tyrLjf3eUW3M3QSwnLc", "skip_password_checks": false, "sign_out_of_other_sessions": true, "totp_secret": "ABCD1234EFGH5678", "backup_codes": ["123456", "654321"], "public_metadata": {"theme": "dark"}, "private_metadata": {"vip": true}, "unsafe_metadata": {"age": 30}, "delete_self_enabled": true, "create_organization_enabled": false, "created_at": "2021-04-05T14:30:00.000Z"} 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_56789", "object": "email_address", "email_address": "example@clerk.com", "reserved": false, "verification": {"status": "verified", "strategy": "admin", "attempts": 0, "expire_at": 1620000000}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "created_at": 1615458901, "updated_at": 1615459001}], "phone_numbers": [{"id": "ph_123456789", "object": "phone_number", "phone_number": "+11234567890", "reserved_for_second_factor": false, "default_second_factor": true, "reserved": false, "verification": {"status": "verified", "strategy": "email_code", "attempts": 1, "expire_at": 1615462399}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "backup_codes": ["code1", "code2", "code3"], "created_at": 1594842023, "updated_at": 1604842023}], "web3_wallets": [{"id": "wallet_id_123", "object": "web3_wallet", "web3_wallet": "0x123456789abcdef", "verification": {"status": "verified", "strategy": "web3_metamask_signature", "nonce": "nonce_value", "attempts": null, "expire_at": null}, "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", "nonce": "nonce", "attempts": null, "expire_at": null}}], "password_enabled": true, "two_factor_enabled": true, "totp_enabled": true, "backup_code_enabled": true, "mfa_enabled_at": 1615852800, "mfa_disabled_at": null, "saml_accounts": [{"id": "saml_account_id_123", "object": "saml_account", "provider": "SAML Provider", "active": true, "email_address": "user@example.com", "first_name": "John", "last_name": "Doe", "provider_user_id": "prov_user_id_123", "public_metadata": {"department": "IT"}, "verification": {"status": "verified", "strategy": "ticket", "attempts": null, "expire_at": null}, "saml_connection": {"id": "sc_1234567890", "name": "My Company SAML Config", "domain": "mycompany.com", "active": true, "provider": "saml_custom", "sync_user_attributes": true, "allow_subdomains": false, "allow_idp_initiated": true, "created_at": 1614768000, "updated_at": 1622540800}}], "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_56789", "object": "email_address", "email_address": "example@clerk.com", "reserved": false, "verification": {"status": "verified", "strategy": "admin"}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "created_at": 1615458901, "updated_at": 1615459001}], "phone_numbers": [{"id": "ph_123456789", "object": "phone_number", "phone_number": "+11234567890", "reserved": false, "verification": {"status": "verified", "strategy": "email_code", "attempts": 1, "expire_at": 1615462399}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "created_at": 1594842023, "updated_at": 1604842023}], "web3_wallets": [{"id": "wallet_id_123", "object": "web3_wallet", "web3_wallet": "0x123456789abcdef", "verification": {"status": "verified", "strategy": "web3_metamask_signature", "nonce": "nonce_value"}, "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", "nonce": "nonce"}}], "password_enabled": true, "two_factor_enabled": true, "totp_enabled": true, "backup_code_enabled": true, "mfa_enabled_at": 1615852800, "mfa_disabled_at": null, "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": "ticket"}}], "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": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} DeleteUser: speakeasy-default-delete-user: parameters: @@ -1357,7 +1357,7 @@ examples: "200": application/json: {"object": "deleted_object", "id": "deleted_object_id_example", "slug": "deleted-object-slug", "deleted": true} "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} BanUser: speakeasy-default-ban-user: parameters: @@ -1365,9 +1365,9 @@ examples: user_id: "user_12345" 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_56789", "object": "email_address", "email_address": "example@clerk.com", "reserved": false, "verification": {"status": "verified", "strategy": "admin", "attempts": 0, "expire_at": 1620000000}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "created_at": 1615458901, "updated_at": 1615459001}], "phone_numbers": [{"id": "ph_123456789", "object": "phone_number", "phone_number": "+11234567890", "reserved_for_second_factor": false, "default_second_factor": true, "reserved": false, "verification": {"status": "verified", "strategy": "email_code", "attempts": 1, "expire_at": 1615462399}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "backup_codes": ["code1", "code2", "code3"], "created_at": 1594842023, "updated_at": 1604842023}], "web3_wallets": [{"id": "wallet_id_123", "object": "web3_wallet", "web3_wallet": "0x123456789abcdef", "verification": {"status": "verified", "strategy": "web3_metamask_signature", "nonce": "nonce_value", "attempts": null, "expire_at": null}, "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", "nonce": "nonce", "attempts": null, "expire_at": null}}], "password_enabled": true, "two_factor_enabled": true, "totp_enabled": true, "backup_code_enabled": true, "mfa_enabled_at": 1615852800, "mfa_disabled_at": null, "saml_accounts": [{"id": "saml_account_id_123", "object": "saml_account", "provider": "SAML Provider", "active": true, "email_address": "user@example.com", "first_name": "John", "last_name": "Doe", "provider_user_id": "prov_user_id_123", "public_metadata": {"department": "IT"}, "verification": {"status": "verified", "strategy": "ticket", "attempts": null, "expire_at": null}, "saml_connection": {"id": "sc_1234567890", "name": "My Company SAML Config", "domain": "mycompany.com", "active": true, "provider": "saml_custom", "sync_user_attributes": true, "allow_subdomains": false, "allow_idp_initiated": true, "created_at": 1614768000, "updated_at": 1622540800}}], "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_56789", "object": "email_address", "email_address": "example@clerk.com", "reserved": false, "verification": {"status": "verified", "strategy": "admin"}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "created_at": 1615458901, "updated_at": 1615459001}], "phone_numbers": [{"id": "ph_123456789", "object": "phone_number", "phone_number": "+11234567890", "reserved": false, "verification": {"status": "verified", "strategy": "email_code", "attempts": 1, "expire_at": 1615462399}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "created_at": 1594842023, "updated_at": 1604842023}], "web3_wallets": [{"id": "wallet_id_123", "object": "web3_wallet", "web3_wallet": "0x123456789abcdef", "verification": {"status": "verified", "strategy": "web3_metamask_signature", "nonce": "nonce_value"}, "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", "nonce": "nonce"}}], "password_enabled": true, "two_factor_enabled": true, "totp_enabled": true, "backup_code_enabled": true, "mfa_enabled_at": 1615852800, "mfa_disabled_at": null, "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": "ticket"}}], "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} "402": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} UnbanUser: speakeasy-default-unban-user: parameters: @@ -1375,9 +1375,9 @@ examples: user_id: "user_12345" 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_56789", "object": "email_address", "email_address": "example@clerk.com", "reserved": false, "verification": {"status": "verified", "strategy": "admin", "attempts": 0, "expire_at": 1620000000}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "created_at": 1615458901, "updated_at": 1615459001}], "phone_numbers": [{"id": "ph_123456789", "object": "phone_number", "phone_number": "+11234567890", "reserved_for_second_factor": false, "default_second_factor": true, "reserved": false, "verification": {"status": "verified", "strategy": "email_code", "attempts": 1, "expire_at": 1615462399}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "backup_codes": ["code1", "code2", "code3"], "created_at": 1594842023, "updated_at": 1604842023}], "web3_wallets": [{"id": "wallet_id_123", "object": "web3_wallet", "web3_wallet": "0x123456789abcdef", "verification": {"status": "verified", "strategy": "web3_metamask_signature", "nonce": "nonce_value", "attempts": null, "expire_at": null}, "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", "nonce": "nonce", "attempts": null, "expire_at": null}}], "password_enabled": true, "two_factor_enabled": true, "totp_enabled": true, "backup_code_enabled": true, "mfa_enabled_at": 1615852800, "mfa_disabled_at": null, "saml_accounts": [{"id": "saml_account_id_123", "object": "saml_account", "provider": "SAML Provider", "active": true, "email_address": "user@example.com", "first_name": "John", "last_name": "Doe", "provider_user_id": "prov_user_id_123", "public_metadata": {"department": "IT"}, "verification": {"status": "verified", "strategy": "saml", "external_verification_redirect_url": "https://example.com/saml_callback", "error": null, "expire_at": 1622852400, "attempts": null}, "saml_connection": {"id": "sc_1234567890", "name": "My Company SAML Config", "domain": "mycompany.com", "active": true, "provider": "saml_custom", "sync_user_attributes": true, "allow_subdomains": false, "allow_idp_initiated": true, "created_at": 1614768000, "updated_at": 1622540800}}], "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_56789", "object": "email_address", "email_address": "example@clerk.com", "reserved": false, "verification": {"status": "verified", "strategy": "admin"}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "created_at": 1615458901, "updated_at": 1615459001}], "phone_numbers": [{"id": "ph_123456789", "object": "phone_number", "phone_number": "+11234567890", "reserved": false, "verification": {"status": "verified", "strategy": "email_code", "attempts": 1, "expire_at": 1615462399}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "created_at": 1594842023, "updated_at": 1604842023}], "web3_wallets": [{"id": "wallet_id_123", "object": "web3_wallet", "web3_wallet": "0x123456789abcdef", "verification": {"status": "verified", "strategy": "web3_metamask_signature", "nonce": "nonce_value"}, "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", "nonce": "nonce"}}], "password_enabled": true, "two_factor_enabled": true, "totp_enabled": true, "backup_code_enabled": true, "mfa_enabled_at": 1615852800, "mfa_disabled_at": null, "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", "external_verification_redirect_url": "https://example.com/saml_callback", "expire_at": 1622852400}}], "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} "402": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} LockUser: speakeasy-default-lock-user: parameters: @@ -1385,9 +1385,9 @@ examples: user_id: "user_123456789" 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_56789", "object": "email_address", "email_address": "example@clerk.com", "reserved": false, "verification": {"status": "verified", "strategy": "admin", "attempts": 0, "expire_at": 1620000000}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "created_at": 1615458901, "updated_at": 1615459001}], "phone_numbers": [{"id": "ph_123456789", "object": "phone_number", "phone_number": "+11234567890", "reserved_for_second_factor": false, "default_second_factor": true, "reserved": false, "verification": {"status": "verified", "strategy": "email_code", "attempts": 1, "expire_at": 1615462399}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "backup_codes": ["code1", "code2", "code3"], "created_at": 1594842023, "updated_at": 1604842023}], "web3_wallets": [{"id": "wallet_id_123", "object": "web3_wallet", "web3_wallet": "0x123456789abcdef", "verification": {"status": "verified", "strategy": "web3_metamask_signature", "nonce": "nonce_value", "attempts": null, "expire_at": null}, "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", "nonce": "nonce", "attempts": null, "expire_at": null}}], "password_enabled": true, "two_factor_enabled": true, "totp_enabled": true, "backup_code_enabled": true, "mfa_enabled_at": 1615852800, "mfa_disabled_at": null, "saml_accounts": [{"id": "saml_account_id_123", "object": "saml_account", "provider": "SAML Provider", "active": true, "email_address": "user@example.com", "first_name": "John", "last_name": "Doe", "provider_user_id": "prov_user_id_123", "public_metadata": {"department": "IT"}, "verification": {"status": "verified", "strategy": "saml", "external_verification_redirect_url": "https://example.com/saml_callback", "error": null, "expire_at": 1622852400, "attempts": null}, "saml_connection": {"id": "sc_1234567890", "name": "My Company SAML Config", "domain": "mycompany.com", "active": true, "provider": "saml_custom", "sync_user_attributes": true, "allow_subdomains": false, "allow_idp_initiated": true, "created_at": 1614768000, "updated_at": 1622540800}}], "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_56789", "object": "email_address", "email_address": "example@clerk.com", "reserved": false, "verification": {"status": "verified", "strategy": "admin"}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "created_at": 1615458901, "updated_at": 1615459001}], "phone_numbers": [{"id": "ph_123456789", "object": "phone_number", "phone_number": "+11234567890", "reserved": false, "verification": {"status": "verified", "strategy": "email_code", "attempts": 1, "expire_at": 1615462399}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "created_at": 1594842023, "updated_at": 1604842023}], "web3_wallets": [{"id": "wallet_id_123", "object": "web3_wallet", "web3_wallet": "0x123456789abcdef", "verification": {"status": "verified", "strategy": "web3_metamask_signature", "nonce": "nonce_value"}, "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", "nonce": "nonce"}}], "password_enabled": true, "two_factor_enabled": true, "totp_enabled": true, "backup_code_enabled": true, "mfa_enabled_at": 1615852800, "mfa_disabled_at": null, "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", "external_verification_redirect_url": "https://example.com/saml_callback", "expire_at": 1622852400}}], "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} "403": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} UnlockUser: speakeasy-default-unlock-user: parameters: @@ -1395,9 +1395,9 @@ examples: user_id: "user_12345" 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_56789", "object": "email_address", "email_address": "example@clerk.com", "reserved": false, "verification": {"status": "verified", "strategy": "admin", "attempts": 0, "expire_at": 1620000000}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "created_at": 1615458901, "updated_at": 1615459001}], "phone_numbers": [{"id": "ph_123456789", "object": "phone_number", "phone_number": "+11234567890", "reserved_for_second_factor": false, "default_second_factor": true, "reserved": false, "verification": {"status": "verified", "strategy": "email_code", "attempts": 1, "expire_at": 1615462399}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "backup_codes": ["code1", "code2", "code3"], "created_at": 1594842023, "updated_at": 1604842023}], "web3_wallets": [{"id": "wallet_id_123", "object": "web3_wallet", "web3_wallet": "0x123456789abcdef", "verification": {"status": "verified", "strategy": "web3_metamask_signature", "nonce": "nonce_value", "attempts": null, "expire_at": null}, "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", "nonce": "nonce", "attempts": null, "expire_at": null}}], "password_enabled": true, "two_factor_enabled": true, "totp_enabled": true, "backup_code_enabled": true, "mfa_enabled_at": 1615852800, "mfa_disabled_at": null, "saml_accounts": [{"id": "saml_account_id_123", "object": "saml_account", "provider": "SAML Provider", "active": true, "email_address": "user@example.com", "first_name": "John", "last_name": "Doe", "provider_user_id": "prov_user_id_123", "public_metadata": {"department": "IT"}, "verification": {"status": "verified", "strategy": "saml", "external_verification_redirect_url": "https://example.com/saml_callback", "error": null, "expire_at": 1622852400, "attempts": null}, "saml_connection": {"id": "sc_1234567890", "name": "My Company SAML Config", "domain": "mycompany.com", "active": true, "provider": "saml_custom", "sync_user_attributes": true, "allow_subdomains": false, "allow_idp_initiated": true, "created_at": 1614768000, "updated_at": 1622540800}}], "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_56789", "object": "email_address", "email_address": "example@clerk.com", "reserved": false, "verification": {"status": "verified", "strategy": "admin"}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "created_at": 1615458901, "updated_at": 1615459001}], "phone_numbers": [{"id": "ph_123456789", "object": "phone_number", "phone_number": "+11234567890", "reserved": false, "verification": {"status": "verified", "strategy": "email_code", "attempts": 1, "expire_at": 1615462399}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "created_at": 1594842023, "updated_at": 1604842023}], "web3_wallets": [{"id": "wallet_id_123", "object": "web3_wallet", "web3_wallet": "0x123456789abcdef", "verification": {"status": "verified", "strategy": "web3_metamask_signature", "nonce": "nonce_value"}, "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", "nonce": "nonce"}}], "password_enabled": true, "two_factor_enabled": true, "totp_enabled": true, "backup_code_enabled": true, "mfa_enabled_at": 1615852800, "mfa_disabled_at": null, "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", "external_verification_redirect_url": "https://example.com/saml_callback", "expire_at": 1622852400}}], "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} "403": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} SetUserProfileImage: speakeasy-default-set-user-profile-image: parameters: @@ -1405,9 +1405,9 @@ examples: user_id: "usr_test123" 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_56789", "object": "email_address", "email_address": "example@clerk.com", "reserved": false, "verification": {"status": "verified", "strategy": "admin", "attempts": 0, "expire_at": 1620000000}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "created_at": 1615458901, "updated_at": 1615459001}], "phone_numbers": [{"id": "ph_123456789", "object": "phone_number", "phone_number": "+11234567890", "reserved_for_second_factor": false, "default_second_factor": true, "reserved": false, "verification": {"status": "verified", "strategy": "email_code", "attempts": 1, "expire_at": 1615462399}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "backup_codes": ["code1", "code2", "code3"], "created_at": 1594842023, "updated_at": 1604842023}], "web3_wallets": [{"id": "wallet_id_123", "object": "web3_wallet", "web3_wallet": "0x123456789abcdef", "verification": {"status": "verified", "strategy": "web3_metamask_signature", "nonce": "nonce_value", "attempts": null, "expire_at": null}, "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", "nonce": "nonce", "attempts": null, "expire_at": null}}], "password_enabled": true, "two_factor_enabled": true, "totp_enabled": true, "backup_code_enabled": true, "mfa_enabled_at": 1615852800, "mfa_disabled_at": null, "saml_accounts": [{"id": "saml_account_id_123", "object": "saml_account", "provider": "SAML Provider", "active": true, "email_address": "user@example.com", "first_name": "John", "last_name": "Doe", "provider_user_id": "prov_user_id_123", "public_metadata": {"department": "IT"}, "verification": {"status": "verified", "strategy": "ticket", "attempts": null, "expire_at": null}, "saml_connection": {"id": "sc_1234567890", "name": "My Company SAML Config", "domain": "mycompany.com", "active": true, "provider": "saml_custom", "sync_user_attributes": true, "allow_subdomains": false, "allow_idp_initiated": true, "created_at": 1614768000, "updated_at": 1622540800}}], "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_56789", "object": "email_address", "email_address": "example@clerk.com", "reserved": false, "verification": {"status": "verified", "strategy": "admin"}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "created_at": 1615458901, "updated_at": 1615459001}], "phone_numbers": [{"id": "ph_123456789", "object": "phone_number", "phone_number": "+11234567890", "reserved": false, "verification": {"status": "verified", "strategy": "email_code", "attempts": 1, "expire_at": 1615462399}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "created_at": 1594842023, "updated_at": 1604842023}], "web3_wallets": [{"id": "wallet_id_123", "object": "web3_wallet", "web3_wallet": "0x123456789abcdef", "verification": {"status": "verified", "strategy": "web3_metamask_signature", "nonce": "nonce_value"}, "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", "nonce": "nonce"}}], "password_enabled": true, "two_factor_enabled": true, "totp_enabled": true, "backup_code_enabled": true, "mfa_enabled_at": 1615852800, "mfa_disabled_at": null, "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": "ticket"}}], "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": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} DeleteUserProfileImage: speakeasy-default-delete-user-profile-image: parameters: @@ -1415,9 +1415,9 @@ examples: user_id: "usr_test123" 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_56789", "object": "email_address", "email_address": "example@clerk.com", "reserved": false, "verification": {"status": "verified", "strategy": "admin", "attempts": 0, "expire_at": 1620000000}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "created_at": 1615458901, "updated_at": 1615459001}], "phone_numbers": [{"id": "ph_123456789", "object": "phone_number", "phone_number": "+11234567890", "reserved_for_second_factor": false, "default_second_factor": true, "reserved": false, "verification": {"status": "verified", "strategy": "email_code", "attempts": 1, "expire_at": 1615462399}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "backup_codes": ["code1", "code2", "code3"], "created_at": 1594842023, "updated_at": 1604842023}], "web3_wallets": [{"id": "wallet_id_123", "object": "web3_wallet", "web3_wallet": "0x123456789abcdef", "verification": {"status": "verified", "strategy": "web3_metamask_signature", "nonce": "nonce_value", "attempts": null, "expire_at": null}, "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", "nonce": "nonce", "attempts": null, "expire_at": null}}], "password_enabled": true, "two_factor_enabled": true, "totp_enabled": true, "backup_code_enabled": true, "mfa_enabled_at": 1615852800, "mfa_disabled_at": null, "saml_accounts": [{"id": "saml_account_id_123", "object": "saml_account", "provider": "SAML Provider", "active": true, "email_address": "user@example.com", "first_name": "John", "last_name": "Doe", "provider_user_id": "prov_user_id_123", "public_metadata": {"department": "IT"}, "verification": {"status": "verified", "strategy": "saml", "external_verification_redirect_url": "https://example.com/saml_callback", "error": null, "expire_at": 1622852400, "attempts": null}, "saml_connection": {"id": "sc_1234567890", "name": "My Company SAML Config", "domain": "mycompany.com", "active": true, "provider": "saml_custom", "sync_user_attributes": true, "allow_subdomains": false, "allow_idp_initiated": true, "created_at": 1614768000, "updated_at": 1622540800}}], "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_56789", "object": "email_address", "email_address": "example@clerk.com", "reserved": false, "verification": {"status": "verified", "strategy": "admin"}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "created_at": 1615458901, "updated_at": 1615459001}], "phone_numbers": [{"id": "ph_123456789", "object": "phone_number", "phone_number": "+11234567890", "reserved": false, "verification": {"status": "verified", "strategy": "email_code", "attempts": 1, "expire_at": 1615462399}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "created_at": 1594842023, "updated_at": 1604842023}], "web3_wallets": [{"id": "wallet_id_123", "object": "web3_wallet", "web3_wallet": "0x123456789abcdef", "verification": {"status": "verified", "strategy": "web3_metamask_signature", "nonce": "nonce_value"}, "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", "nonce": "nonce"}}], "password_enabled": true, "two_factor_enabled": true, "totp_enabled": true, "backup_code_enabled": true, "mfa_enabled_at": 1615852800, "mfa_disabled_at": null, "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", "external_verification_redirect_url": "https://example.com/saml_callback", "expire_at": 1622852400}}], "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} "404": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} UpdateUserMetadata: speakeasy-default-update-user-metadata: parameters: @@ -1425,9 +1425,9 @@ examples: user_id: "user_123456789" 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_56789", "object": "email_address", "email_address": "example@clerk.com", "reserved": false, "verification": {"status": "verified", "strategy": "admin", "attempts": 0, "expire_at": 1620000000}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "created_at": 1615458901, "updated_at": 1615459001}], "phone_numbers": [{"id": "ph_123456789", "object": "phone_number", "phone_number": "+11234567890", "reserved_for_second_factor": false, "default_second_factor": true, "reserved": false, "verification": {"status": "verified", "strategy": "email_code", "attempts": 1, "expire_at": 1615462399}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "backup_codes": ["code1", "code2", "code3"], "created_at": 1594842023, "updated_at": 1604842023}], "web3_wallets": [{"id": "wallet_id_123", "object": "web3_wallet", "web3_wallet": "0x123456789abcdef", "verification": {"status": "verified", "strategy": "web3_metamask_signature", "nonce": "nonce_value", "attempts": null, "expire_at": null}, "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", "nonce": "nonce", "attempts": null, "expire_at": null}}], "password_enabled": true, "two_factor_enabled": true, "totp_enabled": true, "backup_code_enabled": true, "mfa_enabled_at": 1615852800, "mfa_disabled_at": null, "saml_accounts": [{"id": "saml_account_id_123", "object": "saml_account", "provider": "SAML Provider", "active": true, "email_address": "user@example.com", "first_name": "John", "last_name": "Doe", "provider_user_id": "prov_user_id_123", "public_metadata": {"department": "IT"}, "verification": {"status": "verified", "strategy": "ticket", "attempts": null, "expire_at": null}, "saml_connection": {"id": "sc_1234567890", "name": "My Company SAML Config", "domain": "mycompany.com", "active": true, "provider": "saml_custom", "sync_user_attributes": true, "allow_subdomains": false, "allow_idp_initiated": true, "created_at": 1614768000, "updated_at": 1622540800}}], "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_56789", "object": "email_address", "email_address": "example@clerk.com", "reserved": false, "verification": {"status": "verified", "strategy": "admin"}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "created_at": 1615458901, "updated_at": 1615459001}], "phone_numbers": [{"id": "ph_123456789", "object": "phone_number", "phone_number": "+11234567890", "reserved": false, "verification": {"status": "verified", "strategy": "email_code", "attempts": 1, "expire_at": 1615462399}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "created_at": 1594842023, "updated_at": 1604842023}], "web3_wallets": [{"id": "wallet_id_123", "object": "web3_wallet", "web3_wallet": "0x123456789abcdef", "verification": {"status": "verified", "strategy": "web3_metamask_signature", "nonce": "nonce_value"}, "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", "nonce": "nonce"}}], "password_enabled": true, "two_factor_enabled": true, "totp_enabled": true, "backup_code_enabled": true, "mfa_enabled_at": 1615852800, "mfa_disabled_at": null, "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": "ticket"}}], "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": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} GetOAuthAccessToken: speakeasy-default-get-O-auth-access-token: parameters: @@ -1436,7 +1436,7 @@ examples: provider: "oauth_google" responses: "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} "200": application/json: [{"object": "oauth_access_token", "external_account_id": "external_account_456", "provider_user_id": "provider_user_789", "token": "access_token_123", "provider": "oauth_google", "public_metadata": {}, "label": "Primary account", "scopes": ["email", "profile"], "token_secret": "token_secret_xyz"}] UsersGetOrganizationMemberships: @@ -1451,7 +1451,7 @@ examples: "200": application/json: {"data": [{"id": "org_mem_123", "object": "organization_membership", "role": "member", "permissions": ["read"], "public_metadata": {}, "private_metadata": {}, "organization": {"object": "organization", "id": "org_123", "name": "Acme Corp", "slug": "acme-corp", "members_count": 150, "max_allowed_memberships": 300, "admin_delete_enabled": true, "public_metadata": {"public_info": "Info visible to everyone"}, "private_metadata": {"internal_use_only": "Sensitive data"}, "created_by": "user_123456", "created_at": 1625078400, "updated_at": 1625164800}, "public_user_data": {"user_id": "usr_123456", "first_name": "John", "last_name": "Doe", "image_url": "https://example.com/path/to/image.jpg", "has_image": true, "identifier": "john.doe@example.com"}, "created_at": 1625078400, "updated_at": 1625164800}], "total_count": 1} "403": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} UsersGetOrganizationInvitations: speakeasy-default-users-get-organization-invitations: parameters: @@ -1464,7 +1464,7 @@ examples: "200": application/json: {"data": [], "total_count": 939995} "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} VerifyPassword: speakeasy-default-verify-password: parameters: @@ -1474,7 +1474,7 @@ examples: application/json: {"password": "securepassword123"} responses: "500": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} "200": application/json: {"verified": true} VerifyTOTP: @@ -1486,7 +1486,7 @@ examples: application/json: {"code": "123456"} responses: "500": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} "200": application/json: {"verified": true, "code_type": "totp"} DisableMFA: @@ -1496,7 +1496,7 @@ examples: user_id: "user_123456" responses: "404": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} "200": application/json: {"user_id": "user_123456"} DeleteBackupCode: @@ -1506,7 +1506,7 @@ examples: user_id: "" responses: "404": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} "200": {} UserPasskeyDelete: speakeasy-default-user-passkey-delete: @@ -1518,7 +1518,7 @@ examples: "200": application/json: {"object": "deleted_object", "id": "deleted_object_id_example", "slug": "deleted-object-slug", "deleted": true} "403": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} UserWeb3WalletDelete: speakeasy-default-user-web3-wallet-delete: parameters: @@ -1529,7 +1529,7 @@ examples: "200": application/json: {"object": "deleted_object", "id": "deleted_object_id_example", "slug": "deleted-object-slug", "deleted": true} "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} CreateUserTOTP: speakeasy-default-create-user-TOTP: parameters: @@ -1539,7 +1539,7 @@ examples: "200": application/json: {"object": "", "id": "", "secret": "", "uri": "https://watery-humidity.org", "verified": true, "key": ""} "403": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} DeleteTOTP: speakeasy-default-delete-TOTP: parameters: @@ -1547,7 +1547,7 @@ examples: user_id: "" responses: "404": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} "200": {} DeleteExternalAccount: speakeasy-default-delete-external-account: @@ -1559,7 +1559,7 @@ examples: "200": application/json: {"object": "deleted_object", "id": "deleted_object_id_example", "slug": "deleted-object-slug", "deleted": true} "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} CreateInvitation: speakeasy-default-create-invitation: requestBody: @@ -1568,7 +1568,7 @@ examples: "200": application/json: {"object": "invitation", "id": "inv_f02930r3", "email_address": "invitee@example.com", "public_metadata": {}, "revoked": false, "status": "pending", "url": "https://example.com/invitations/accept?code=abcd1234", "created_at": 1622549600, "updated_at": 1622553200} "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} ListInvitations: speakeasy-default-list-invitations: parameters: @@ -1588,7 +1588,7 @@ examples: "200": application/json: {"object": "invitation", "id": "inv_f02930r3", "email_address": "invitee@example.com", "public_metadata": {}, "revoked": true, "status": "revoked", "url": "https://example.com/invitations/accept?code=abcd1234", "created_at": 1622549600, "updated_at": 1622553200} "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} ListInstanceOrganizationInvitations: speakeasy-default-list-instance-organization-invitations: parameters: @@ -1599,7 +1599,7 @@ examples: "200": application/json: {"data": [], "total_count": 5142} "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} CreateOrganizationInvitation: speakeasy-default-create-organization-invitation: parameters: @@ -1609,7 +1609,7 @@ examples: application/json: {"email_address": "user@example.com", "inviter_user_id": "user_67890", "role": "admin", "public_metadata": {"key": "value"}, "private_metadata": {"private_key": "secret_value"}, "redirect_url": "https://example.com/welcome"} responses: "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} "200": application/json: {"id": "inv_12345", "object": "organization_invitation", "email_address": "user@example.com", "role": "admin", "organization_id": "org_12345", "status": "pending", "public_metadata": {"key": "value"}, "private_metadata": {"private_key": "secret_value"}, "created_at": 1622547600, "updated_at": 1622551200} ListOrganizationInvitations: @@ -1623,9 +1623,9 @@ examples: status: "pending" responses: "200": - application/json: {"data": [{"id": "inv_12345", "object": "organization_invitation", "email_address": "user@example.com", "role": "admin", "organization_id": "org_12345", "status": "pending", "public_metadata": {"key": "value"}, "private_metadata": {"private_key": "secret_value"}, "created_at": 1622547600, "updated_at": 1622551200}], "total_count": 10} + application/json: {"data": [{"id": "inv_12345", "object": "organization_invitation", "email_address": "user@example.com", "role": "admin", "organization_id": "org_12345", "status": "pending", "created_at": 1622547600, "updated_at": 1622551200}], "total_count": 10} "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} CreateOrganizationInvitationBulk: speakeasy-default-create-organization-invitation-bulk: parameters: @@ -1635,9 +1635,9 @@ examples: application/json: [] responses: "200": - application/json: {"data": [{"id": "inv_12345", "object": "organization_invitation", "email_address": "user@example.com", "role": "admin", "organization_id": "org_12345", "status": "pending", "public_metadata": {"key": "value"}, "private_metadata": {"private_key": "secret_value"}, "created_at": 1622547600, "updated_at": 1622551200}], "total_count": 10} + application/json: {"data": [{"id": "inv_12345", "object": "organization_invitation", "email_address": "user@example.com", "role": "admin", "organization_id": "org_12345", "status": "pending", "created_at": 1622547600, "updated_at": 1622551200}], "total_count": 10} "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} ListPendingOrganizationInvitations: speakeasy-default-list-pending-organization-invitations: parameters: @@ -1669,7 +1669,7 @@ examples: invitation_id: "inv_987654321" responses: "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} "200": application/json: {"id": "inv_12345", "object": "organization_invitation", "email_address": "user@example.com", "role": "admin", "organization_id": "org_12345", "status": "pending", "public_metadata": {"key": "value"}, "private_metadata": {"private_key": "secret_value"}, "created_at": 1622547600, "updated_at": 1622551200} RevokeOrganizationInvitation: @@ -1682,14 +1682,14 @@ examples: application/json: {"requesting_user_id": "usr_12345"} responses: "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} "200": application/json: {"id": "inv_12345", "object": "organization_invitation", "email_address": "user@example.com", "role": "admin", "organization_id": "org_12345", "status": "pending", "public_metadata": {"key": "value"}, "private_metadata": {"private_key": "secret_value"}, "created_at": 1622547600, "updated_at": 1622551200} ListAllowlistIdentifiers: speakeasy-default-list-allowlist-identifiers: responses: "401": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} "200": application/json: [{"object": "allowlist_identifier", "id": "alid_123456", "invitation_id": "inv_123456", "identifier": "user@example.com", "identifier_type": "email_address", "instance_id": "instance_12345", "created_at": 1622547600, "updated_at": 1622648600}, {"object": "allowlist_identifier", "id": "alid_123456", "invitation_id": "inv_123456", "identifier": "user@example.com", "identifier_type": "email_address", "instance_id": "instance_12345", "created_at": 1622547600, "updated_at": 1622648600}, {"object": "allowlist_identifier", "id": "alid_123456", "invitation_id": "inv_123456", "identifier": "user@example.com", "identifier_type": "email_address", "instance_id": "instance_12345", "created_at": 1622547600, "updated_at": 1622648600}] CreateAllowlistIdentifier: @@ -1698,7 +1698,7 @@ examples: application/json: {"identifier": "user@example.com", "notify": true} responses: "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} "200": application/json: {"object": "allowlist_identifier", "id": "alid_123456", "invitation_id": "inv_123456", "identifier": "user@example.com", "identifier_type": "email_address", "instance_id": "instance_12345", "created_at": 1622547600, "updated_at": 1622648600} DeleteAllowlistIdentifier: @@ -1710,21 +1710,21 @@ examples: "200": application/json: {"object": "deleted_object", "id": "deleted_object_id_example", "slug": "deleted-object-slug", "deleted": true} "402": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} ListBlocklistIdentifiers: speakeasy-default-list-blocklist-identifiers: responses: "200": application/json: {"data": [{"object": "blocklist_identifier", "id": "identifier_id", "identifier": "blocked@example.com", "identifier_type": "email_address", "instance_id": "instance_id_here", "created_at": 1609459200, "updated_at": 1612137600}, {"object": "blocklist_identifier", "id": "identifier_id", "identifier": "blocked@example.com", "identifier_type": "email_address", "instance_id": "instance_id_here", "created_at": 1609459200, "updated_at": 1612137600}, {"object": "blocklist_identifier", "id": "identifier_id", "identifier": "blocked@example.com", "identifier_type": "email_address", "instance_id": "instance_id_here", "created_at": 1609459200, "updated_at": 1612137600}], "total_count": 100} "401": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} CreateBlocklistIdentifier: speakeasy-default-create-blocklist-identifier: requestBody: application/json: {"identifier": "example@example.com"} responses: "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} "200": application/json: {"object": "blocklist_identifier", "id": "identifier_id", "identifier": "blocked@example.com", "identifier_type": "email_address", "instance_id": "instance_id_here", "created_at": 1609459200, "updated_at": 1612137600} DeleteBlocklistIdentifier: @@ -1736,14 +1736,14 @@ examples: "200": application/json: {"object": "deleted_object", "id": "deleted_object_id_example", "slug": "deleted-object-slug", "deleted": true} "402": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} UpdateInstanceAuthConfig: speakeasy-default-update-instance-auth-config: requestBody: application/json: {"restricted_to_allowlist": false, "from_email_address": "noreply", "progressive_sign_up": true, "session_token_template": "defaultSessionToken", "enhanced_email_deliverability": true, "test_mode": true} responses: "402": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} "200": application/json: {"object": "instance_settings", "id": "inst_123456789", "restricted_to_allowlist": false, "from_email_address": "noreply@clerk.dev", "progressive_sign_up": true, "enhanced_email_deliverability": true} UpdateProductionInstanceDomain: @@ -1752,14 +1752,14 @@ examples: application/json: {"home_url": "https://www.example.com"} responses: "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} ChangeProductionInstanceDomain: speakeasy-default-change-production-instance-domain: requestBody: application/json: {"home_url": "https://www.newdomain.com"} responses: "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} CreateActorToken: speakeasy-default-create-actor-token: requestBody: @@ -1768,7 +1768,7 @@ examples: "200": application/json: {"object": "actor_token", "id": "actor_tok_1a2b3c", "status": "pending", "user_id": "user_1a2b3c", "token": "token_string", "url": "https://example.com/token", "created_at": 1609459200, "updated_at": 1612137600} "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} RevokeActorToken: speakeasy-default-revoke-actor-token: parameters: @@ -1778,7 +1778,7 @@ examples: "200": application/json: {"object": "actor_token", "id": "actor_tok_1a2b3c", "status": "pending", "user_id": "user_1a2b3c", "token": "token_string", "url": "https://example.com/token", "created_at": 1609459200, "updated_at": 1612137600} "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} ListDomains: speakeasy-default-list-domains: responses: @@ -1792,7 +1792,7 @@ examples: "200": application/json: {"object": "domain", "id": "domain_id", "name": "example.com", "is_satellite": false, "frontend_api_url": "https://frontend.example.com", "accounts_portal_url": null, "proxy_url": null, "development_origin": "http://localhost:3000", "cname_targets": [{"host": "cname.example.com", "value": "value.example.com", "required": true}]} "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} DeleteDomain: speakeasy-default-delete-domain: parameters: @@ -1802,7 +1802,7 @@ examples: "200": application/json: {"object": "deleted_object", "id": "deleted_object_id_example", "slug": "deleted-object-slug", "deleted": true} "403": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} UpdateDomain: speakeasy-default-update-domain: parameters: @@ -1814,21 +1814,21 @@ examples: "200": application/json: {"object": "domain", "id": "domain_id", "name": "example.com", "is_satellite": false, "frontend_api_url": "https://frontend.example.com", "accounts_portal_url": null, "proxy_url": null, "development_origin": "http://localhost:3000", "cname_targets": [{"host": "cname.example.com", "value": "value.example.com", "required": true}]} "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} UpdateInstance: speakeasy-default-update-instance: requestBody: application/json: {"test_mode": true, "hibp": false, "enhanced_email_deliverability": true, "support_email": "support@example.com", "clerk_js_version": "2.3.1", "development_origin": "http://localhost:3000", "allowed_origins": ["http://localhost:3000", "chrome-extension://extension_uiid", "capacitor://localhost"], "url_based_session_syncing": true} responses: "422": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} UpdateInstanceRestrictions: speakeasy-default-update-instance-restrictions: requestBody: application/json: {"allowlist": false, "blocklist": true, "block_email_subaddresses": true, "block_disposable_email_domains": true, "ignore_dots_for_gmail_addresses": false} responses: "402": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} "200": application/json: {"object": "instance_restrictions", "allowlist": false, "blocklist": true, "block_email_subaddresses": true, "ignore_dots_for_gmail_addresses": false} UpdateInstanceOrganizationSettings: @@ -1839,26 +1839,26 @@ examples: "200": application/json: {"object": "organization_settings", "enabled": true, "max_allowed_memberships": 5, "max_allowed_roles": 3, "max_allowed_permissions": 15, "creator_role": "admin", "admin_delete_enabled": true, "domains_enabled": true, "domains_enrollment_modes": ["automatic_invitation", "automatic_suggestion"], "domains_default_role": "member"} "402": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} CreateSvixApp: speakeasy-default-create-svix-app: responses: "200": application/json: {"svix_url": "https://app.svix.com/your-instance-url"} "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} DeleteSvixApp: speakeasy-default-delete-svix-app: responses: "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} GenerateSvixAuthURL: speakeasy-default-generate-svix-auth-URL: responses: "200": application/json: {"svix_url": "https://app.svix.com/your-instance-url"} "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} ListJWTTemplates: speakeasy-default-list-JWT-templates: responses: @@ -1872,7 +1872,7 @@ examples: "200": application/json: {"object": "jwt_template", "id": "jt_1234567890abcdef", "name": "My First JWT Template", "claims": {}, "lifetime": 3600, "allowed_clock_skew": 5, "custom_signing_key": false, "signing_algorithm": "RS256", "created_at": 1609459200, "updated_at": 1612137600} "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} GetJWTTemplate: speakeasy-default-get-JWT-template: parameters: @@ -1882,7 +1882,7 @@ examples: "200": application/json: {"object": "jwt_template", "id": "jt_1234567890abcdef", "name": "My First JWT Template", "claims": {}, "lifetime": 3600, "allowed_clock_skew": 5, "custom_signing_key": false, "signing_algorithm": "RS256", "created_at": 1609459200, "updated_at": 1612137600} "404": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} UpdateJWTTemplate: speakeasy-default-update-JWT-template: parameters: @@ -1892,7 +1892,7 @@ examples: "200": application/json: {"object": "jwt_template", "id": "jt_1234567890abcdef", "name": "My First JWT Template", "claims": {}, "lifetime": 3600, "allowed_clock_skew": 5, "custom_signing_key": false, "signing_algorithm": "RS256", "created_at": 1609459200, "updated_at": 1612137600} "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} DeleteJWTTemplate: speakeasy-default-delete-JWT-template: parameters: @@ -1902,7 +1902,7 @@ examples: "200": application/json: {"object": "deleted_object", "id": "deleted_object_id_example", "slug": "deleted-object-slug", "deleted": true} "403": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} ListOrganizations: speakeasy-default-list-organizations: parameters: @@ -1914,9 +1914,9 @@ examples: order_by: "-name" responses: "200": - application/json: {"data": [{"object": "organization", "id": "org_123", "name": "Acme Corp", "slug": "acme-corp", "members_count": 150, "max_allowed_memberships": 300, "admin_delete_enabled": true, "public_metadata": {"public_info": "Info visible to everyone"}, "private_metadata": {"internal_use_only": "Sensitive data"}, "created_by": "user_123456", "created_at": 1625078400, "updated_at": 1625164800}], "total_count": 1} + application/json: {"data": [{"object": "organization", "id": "org_123", "name": "Acme Corp", "slug": "acme-corp", "max_allowed_memberships": 300, "public_metadata": {"public_info": "Info visible to everyone"}, "private_metadata": {"internal_use_only": "Sensitive data"}, "created_at": 1625078400, "updated_at": 1625164800}], "total_count": 1} "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} CreateOrganization: speakeasy-default-create-organization: requestBody: @@ -1925,7 +1925,7 @@ examples: "200": application/json: {"object": "organization", "id": "org_123", "name": "Acme Corp", "slug": "acme-corp", "members_count": 150, "max_allowed_memberships": 300, "admin_delete_enabled": true, "public_metadata": {"key": "", "public_info": "Info visible to everyone"}, "private_metadata": {"key": "", "key1": "", "internal_use_only": "Sensitive data"}, "created_by": "user_123456", "created_at": 1625078400, "updated_at": 1625164800} "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} GetOrganization: speakeasy-default-get-organization: parameters: @@ -1936,7 +1936,7 @@ examples: "200": application/json: {"object": "organization", "id": "org_123", "name": "Acme Corp", "slug": "acme-corp", "members_count": 150, "max_allowed_memberships": 300, "admin_delete_enabled": true, "public_metadata": {"key": "", "key1": "", "public_info": "Info visible to everyone"}, "private_metadata": {"key": "", "key1": "", "internal_use_only": "Sensitive data"}, "created_by": "user_123456", "created_at": 1625078400, "updated_at": 1625164800} "403": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} UpdateOrganization: speakeasy-default-update-organization: parameters: @@ -1948,7 +1948,7 @@ examples: "200": application/json: {"object": "organization", "id": "org_123", "name": "Acme Corp", "slug": "acme-corp", "members_count": 150, "max_allowed_memberships": 300, "admin_delete_enabled": true, "public_metadata": {"key": "", "key1": "", "key2": "", "public_info": "Info visible to everyone"}, "private_metadata": {"key": "", "key1": "", "internal_use_only": "Sensitive data"}, "created_by": "user_123456", "created_at": 1625078400, "updated_at": 1625164800} "402": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} DeleteOrganization: speakeasy-default-delete-organization: parameters: @@ -1958,7 +1958,7 @@ examples: "200": application/json: {"object": "deleted_object", "id": "deleted_object_id_example", "slug": "deleted-object-slug", "deleted": true} "404": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} MergeOrganizationMetadata: speakeasy-default-merge-organization-metadata: parameters: @@ -1970,7 +1970,7 @@ examples: "200": application/json: {"object": "organization", "id": "org_123", "name": "Acme Corp", "slug": "acme-corp", "members_count": 150, "max_allowed_memberships": 300, "admin_delete_enabled": true, "public_metadata": {"key": "", "key1": "", "key2": "", "public_info": "Info visible to everyone"}, "private_metadata": {"key": "", "key1": "", "internal_use_only": "Sensitive data"}, "created_by": "user_123456", "created_at": 1625078400, "updated_at": 1625164800} "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} UploadOrganizationLogo: speakeasy-default-upload-organization-logo: parameters: @@ -1982,7 +1982,7 @@ examples: "200": application/json: {"object": "organization", "id": "org_123", "name": "Acme Corp", "slug": "acme-corp", "members_count": 150, "max_allowed_memberships": 300, "admin_delete_enabled": true, "public_metadata": {"public_info": "Info visible to everyone"}, "private_metadata": {"key": "", "key1": "", "key2": "", "internal_use_only": "Sensitive data"}, "created_by": "user_123456", "created_at": 1625078400, "updated_at": 1625164800, "image_url": "https://example.com/image_url.png", "has_image": true} "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} DeleteOrganizationLogo: speakeasy-default-delete-organization-logo: parameters: @@ -1992,7 +1992,7 @@ examples: "200": application/json: {"object": "organization", "id": "org_123", "name": "Acme Corp", "slug": "acme-corp", "members_count": 150, "max_allowed_memberships": 300, "admin_delete_enabled": true, "public_metadata": {"key": "", "key1": "", "key2": "", "public_info": "Info visible to everyone"}, "private_metadata": {"key": "", "key1": "", "key2": "", "internal_use_only": "Sensitive data"}, "created_by": "user_123456", "created_at": 1625078400, "updated_at": 1625164800} "404": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} CreateOrganizationMembership: speakeasy-default-create-organization-membership: parameters: @@ -2002,7 +2002,7 @@ examples: application/json: {"user_id": "user_456", "role": "admin"} responses: "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} "200": application/json: {"id": "org_mem_123", "object": "organization_membership", "role": "member", "permissions": ["read"], "public_metadata": {}, "private_metadata": {}, "organization": {"object": "organization", "id": "org_123", "name": "Acme Corp", "slug": "acme-corp", "members_count": 150, "max_allowed_memberships": 300, "admin_delete_enabled": true, "public_metadata": {"public_info": "Info visible to everyone"}, "private_metadata": {"internal_use_only": "Sensitive data"}, "created_by": "user_123456", "created_at": 1625078400, "updated_at": 1625164800}, "public_user_data": {"user_id": "usr_123456", "first_name": "John", "last_name": "Doe", "image_url": "https://example.com/path/to/image.jpg", "has_image": true, "identifier": "john.doe@example.com"}, "created_at": 1625078400, "updated_at": 1625164800} ListOrganizationMemberships: @@ -2018,7 +2018,7 @@ examples: "200": application/json: {"data": [{"id": "org_mem_123", "object": "organization_membership", "role": "member", "permissions": ["read"], "public_metadata": {}, "private_metadata": {}, "organization": {"object": "organization", "id": "org_123", "name": "Acme Corp", "slug": "acme-corp", "members_count": 150, "max_allowed_memberships": 300, "admin_delete_enabled": true, "public_metadata": {"public_info": "Info visible to everyone"}, "private_metadata": {"internal_use_only": "Sensitive data"}, "created_by": "user_123456", "created_at": 1625078400, "updated_at": 1625164800}, "public_user_data": {"user_id": "usr_123456", "first_name": "John", "last_name": "Doe", "image_url": "https://example.com/path/to/image.jpg", "has_image": true, "identifier": "john.doe@example.com"}, "created_at": 1625078400, "updated_at": 1625164800}, {"id": "org_mem_123", "object": "organization_membership", "role": "member", "permissions": ["read"], "public_metadata": {}, "private_metadata": {}, "organization": {"object": "organization", "id": "org_123", "name": "Acme Corp", "slug": "acme-corp", "members_count": 150, "max_allowed_memberships": 300, "admin_delete_enabled": true, "public_metadata": {"public_info": "Info visible to everyone"}, "private_metadata": {"internal_use_only": "Sensitive data"}, "created_by": "user_123456", "created_at": 1625078400, "updated_at": 1625164800}, "public_user_data": {"user_id": "usr_123456", "first_name": "John", "last_name": "Doe", "image_url": "https://example.com/path/to/image.jpg", "has_image": true, "identifier": "john.doe@example.com"}, "created_at": 1625078400, "updated_at": 1625164800}, {"id": "org_mem_123", "object": "organization_membership", "role": "member", "permissions": ["read"], "public_metadata": {}, "private_metadata": {}, "organization": {"object": "organization", "id": "org_123", "name": "Acme Corp", "slug": "acme-corp", "members_count": 150, "max_allowed_memberships": 300, "admin_delete_enabled": true, "public_metadata": {"public_info": "Info visible to everyone"}, "private_metadata": {"internal_use_only": "Sensitive data"}, "created_by": "user_123456", "created_at": 1625078400, "updated_at": 1625164800}, "public_user_data": {"user_id": "usr_123456", "first_name": "John", "last_name": "Doe", "image_url": "https://example.com/path/to/image.jpg", "has_image": true, "identifier": "john.doe@example.com"}, "created_at": 1625078400, "updated_at": 1625164800}], "total_count": 1} "401": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} UpdateOrganizationMembership: speakeasy-default-update-organization-membership: parameters: @@ -2029,7 +2029,7 @@ examples: application/json: {"role": "admin"} responses: "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} "200": application/json: {"id": "org_mem_123", "object": "organization_membership", "role": "member", "permissions": ["read"], "public_metadata": {}, "private_metadata": {}, "organization": {"object": "organization", "id": "org_123", "name": "Acme Corp", "slug": "acme-corp", "members_count": 150, "max_allowed_memberships": 300, "admin_delete_enabled": true, "public_metadata": {"public_info": "Info visible to everyone"}, "private_metadata": {"internal_use_only": "Sensitive data"}, "created_by": "user_123456", "created_at": 1625078400, "updated_at": 1625164800}, "public_user_data": {"user_id": "usr_123456", "first_name": "John", "last_name": "Doe", "image_url": "https://example.com/path/to/image.jpg", "has_image": true, "identifier": "john.doe@example.com"}, "created_at": 1625078400, "updated_at": 1625164800} DeleteOrganizationMembership: @@ -2040,7 +2040,7 @@ examples: user_id: "user_67890" responses: "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} "200": application/json: {"id": "org_mem_123", "object": "organization_membership", "role": "member", "permissions": ["read"], "public_metadata": {}, "private_metadata": {}, "organization": {"object": "organization", "id": "org_123", "name": "Acme Corp", "slug": "acme-corp", "members_count": 150, "max_allowed_memberships": 300, "admin_delete_enabled": true, "public_metadata": {"public_info": "Info visible to everyone"}, "private_metadata": {"internal_use_only": "Sensitive data"}, "created_by": "user_123456", "created_at": 1625078400, "updated_at": 1625164800}, "public_user_data": {"user_id": "usr_123456", "first_name": "John", "last_name": "Doe", "image_url": "https://example.com/path/to/image.jpg", "has_image": true, "identifier": "john.doe@example.com"}, "created_at": 1625078400, "updated_at": 1625164800} UpdateOrganizationMembershipMetadata: @@ -2053,7 +2053,7 @@ examples: application/json: {"public_metadata": {}, "private_metadata": {}} responses: "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} "200": application/json: {"id": "org_mem_123", "object": "organization_membership", "role": "member", "permissions": ["read"], "public_metadata": {}, "private_metadata": {}, "organization": {"object": "organization", "id": "org_123", "name": "Acme Corp", "slug": "acme-corp", "members_count": 150, "max_allowed_memberships": 300, "admin_delete_enabled": true, "public_metadata": {"public_info": "Info visible to everyone"}, "private_metadata": {"internal_use_only": "Sensitive data"}, "created_by": "user_123456", "created_at": 1625078400, "updated_at": 1625164800}, "public_user_data": {"user_id": "usr_123456", "first_name": "John", "last_name": "Doe", "image_url": "https://example.com/path/to/image.jpg", "has_image": true, "identifier": "john.doe@example.com"}, "created_at": 1625078400, "updated_at": 1625164800} InstanceGetOrganizationMemberships: @@ -2066,7 +2066,7 @@ examples: "200": application/json: {"data": [], "total_count": 1} "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} CreateOrganizationDomain: speakeasy-default-create-organization-domain: parameters: @@ -2074,7 +2074,7 @@ examples: organization_id: "" responses: "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} "200": {} ListOrganizationDomains: speakeasy-default-list-organization-domains: @@ -2088,7 +2088,7 @@ examples: "200": application/json: {"total_count": 605114} "401": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} DeleteOrganizationDomain: speakeasy-default-delete-organization-domain: parameters: @@ -2099,7 +2099,7 @@ examples: "200": application/json: {"object": "deleted_object", "id": "deleted_object_id_example", "slug": "deleted-object-slug", "deleted": true} "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} UpdateOrganizationDomain: speakeasy-default-update-organization-domain: parameters: @@ -2108,7 +2108,7 @@ examples: domain_id: "" responses: "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} "200": {} VerifyDomainProxy: speakeasy-default-verify-domain-proxy: @@ -2118,7 +2118,7 @@ examples: "200": application/json: {"object": "proxy_check", "id": "chk_3498fd", "domain_id": "domain_32hfu3e", "last_run_at": 1622547600, "proxy_url": "https://example.com/__clerk", "successful": true, "created_at": 1622547000, "updated_at": 1622547700} "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} ListRedirectURLs: speakeasy-default-list-redirect-UR-ls: responses: @@ -2132,7 +2132,7 @@ examples: "200": application/json: {"object": "redirect_url", "id": "red_12345", "url": "https://my-app.com/oauth-callback", "created_at": 1610000000, "updated_at": 1620000000} "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} GetRedirectURL: speakeasy-default-get-redirect-URL: parameters: @@ -2142,7 +2142,7 @@ examples: "200": application/json: {"object": "redirect_url", "id": "red_12345", "url": "https://my-app.com/oauth-callback", "created_at": 1610000000, "updated_at": 1620000000} "404": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} DeleteRedirectURL: speakeasy-default-delete-redirect-URL: parameters: @@ -2152,7 +2152,7 @@ examples: "200": application/json: {"object": "deleted_object", "id": "deleted_object_id_example", "slug": "deleted-object-slug", "deleted": true} "404": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} CreateSignInToken: speakeasy-default-create-sign-in-token: requestBody: @@ -2161,7 +2161,7 @@ examples: "200": application/json: {"object": "sign_in_token", "id": "token_12345", "status": "pending", "user_id": "user_12345", "token": "secret_token", "url": "https://example.com/signin/token", "created_at": 1609459200, "updated_at": 1612137600} "404": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} RevokeSignInToken: speakeasy-default-revoke-sign-in-token: parameters: @@ -2171,7 +2171,7 @@ examples: "200": application/json: {"object": "sign_in_token", "id": "token_12345", "status": "pending", "user_id": "user_12345", "token": "secret_token", "url": "https://example.com/signin/token", "created_at": 1609459200, "updated_at": 1612137600} "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} UpdateSignUp: speakeasy-default-update-sign-up: parameters: @@ -2183,7 +2183,7 @@ examples: "200": application/json: {"object": "sign_up_attempt", "id": "signup_1234567890abcdef", "status": "complete", "required_fields": ["email_address"], "optional_fields": ["first_name", "last_name"], "missing_fields": ["phone_number"], "unverified_fields": ["email_address"], "username": "user_123456", "email_address": "user@example.com", "phone_number": "+1234567890", "web3_wallet": "0x1234567890abcdef1234567890abcdef12345678", "password_enabled": true, "first_name": "John", "last_name": "Doe", "custom_action": false, "external_id": "ext_id_7890abcdef123456", "created_session_id": "sess_1234567890abcdef", "created_user_id": "user_1234567890abcdef", "abandon_at": 1609459200} "403": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} ListOAuthApplications: speakeasy-default-list-O-auth-applications: parameters: @@ -2194,7 +2194,7 @@ examples: "200": application/json: {"data": [{"object": "oauth_application", "id": "oauth_app_1234", "instance_id": "instance_5678", "name": "Example OAuth App", "client_id": "client_12345", "public": false, "scopes": "profile email", "callback_url": "https://example.com/oauth/callback", "authorize_url": "https://example.com/authorize", "token_fetch_url": "https://example.com/oauth/token", "user_info_url": "https://example.com/userinfo", "created_at": 1609459200, "updated_at": 1612137600}], "total_count": 1} "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} CreateOAuthApplication: speakeasy-default-create-O-auth-application: requestBody: @@ -2203,7 +2203,7 @@ examples: "200": application/json: {"object": "oauth_application", "id": "oauth_app_1234", "instance_id": "instance_5678", "name": "Example OAuth App", "client_id": "client_12345", "public": false, "scopes": "profile email", "callback_url": "https://example.com/oauth/callback", "authorize_url": "https://example.com/authorize", "token_fetch_url": "https://example.com/oauth/token", "user_info_url": "https://example.com/userinfo", "created_at": 1609459200, "updated_at": 1612137600, "client_secret": "secretXYZ123"} "400": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} GetOAuthApplication: speakeasy-default-get-O-auth-application: parameters: @@ -2213,7 +2213,7 @@ examples: "200": application/json: {"object": "oauth_application", "id": "oauth_app_1234", "instance_id": "instance_5678", "name": "Example OAuth App", "client_id": "client_12345", "public": false, "scopes": "profile email", "callback_url": "https://example.com/oauth/callback", "authorize_url": "https://example.com/authorize", "token_fetch_url": "https://example.com/oauth/token", "user_info_url": "https://example.com/userinfo", "created_at": 1609459200, "updated_at": 1612137600} "403": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} UpdateOAuthApplication: speakeasy-default-update-O-auth-application: parameters: @@ -2225,7 +2225,7 @@ examples: "200": application/json: {"object": "oauth_application", "id": "oauth_app_1234", "instance_id": "instance_5678", "name": "Example OAuth App", "client_id": "client_12345", "public": false, "scopes": "profile email", "callback_url": "https://example.com/oauth/callback", "authorize_url": "https://example.com/authorize", "token_fetch_url": "https://example.com/oauth/token", "user_info_url": "https://example.com/userinfo", "created_at": 1609459200, "updated_at": 1612137600} "403": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} DeleteOAuthApplication: speakeasy-default-delete-O-auth-application: parameters: @@ -2235,7 +2235,7 @@ examples: "200": application/json: {"object": "deleted_object", "id": "deleted_object_id_example", "slug": "deleted-object-slug", "deleted": true} "403": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} RotateOAuthApplicationSecret: speakeasy-default-rotate-O-auth-application-secret: parameters: @@ -2245,7 +2245,7 @@ examples: "200": application/json: {"object": "oauth_application", "id": "oauth_app_1234", "instance_id": "instance_5678", "name": "Example OAuth App", "client_id": "client_12345", "public": false, "scopes": "profile email", "callback_url": "https://example.com/oauth/callback", "authorize_url": "https://example.com/authorize", "token_fetch_url": "https://example.com/oauth/token", "user_info_url": "https://example.com/userinfo", "created_at": 1609459200, "updated_at": 1612137600, "client_secret": "secretXYZ123"} "403": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} ListSAMLConnections: speakeasy-default-list-SAML-connections: parameters: @@ -2256,7 +2256,7 @@ examples: "200": application/json: {"data": [{"object": "saml_connection", "id": "", "name": "", "domain": "soft-integer.com", "idp_entity_id": "", "idp_sso_url": "https://baggy-conservative.biz/", "idp_certificate": "", "acs_url": "https://impartial-epic.com/", "sp_entity_id": "", "sp_metadata_url": "https://lavish-order.biz/", "active": false, "provider": "", "user_count": 160633, "sync_user_attributes": false, "created_at": 521364, "updated_at": 469208}, {"object": "saml_connection", "id": "", "name": "", "domain": "rusty-summary.name", "idp_entity_id": "", "idp_sso_url": "https://winding-heating.com", "idp_certificate": "", "acs_url": "https://enlightened-space.net/", "sp_entity_id": "", "sp_metadata_url": "https://favorable-heartbeat.net/", "active": false, "provider": "", "user_count": 15207, "sync_user_attributes": true, "created_at": 532002, "updated_at": 785391}], "total_count": 5} "402": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} CreateSAMLConnection: speakeasy-default-create-SAML-connection: requestBody: @@ -2265,7 +2265,7 @@ examples: "200": application/json: {"object": "saml_connection", "id": "", "name": "", "domain": "stingy-necklace.name", "idp_entity_id": "", "idp_sso_url": "https://descriptive-skyscraper.net", "idp_certificate": "", "acs_url": "https://junior-meatloaf.org", "sp_entity_id": "", "sp_metadata_url": "https://glorious-discourse.name/", "active": false, "provider": "", "user_count": 373144, "sync_user_attributes": false, "created_at": 67442, "updated_at": 70153} "402": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} GetSAMLConnection: speakeasy-default-get-SAML-connection: parameters: @@ -2275,7 +2275,7 @@ examples: "200": application/json: {"object": "saml_connection", "id": "", "name": "", "domain": "whopping-offset.org", "idp_entity_id": "", "idp_sso_url": "https://hospitable-eyeliner.net/", "idp_certificate": "", "acs_url": "https://focused-marimba.org/", "sp_entity_id": "", "sp_metadata_url": "https://athletic-wriggler.name", "active": false, "provider": "", "user_count": 660557, "sync_user_attributes": false, "created_at": 503710, "updated_at": 338454} "402": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} UpdateSAMLConnection: speakeasy-default-update-SAML-connection: parameters: @@ -2287,7 +2287,7 @@ examples: "200": application/json: {"object": "saml_connection", "id": "", "name": "", "domain": "bitter-cheetah.biz", "idp_entity_id": "", "idp_sso_url": "https://dual-pomelo.org", "idp_certificate": "", "acs_url": "https://paltry-middle.net", "sp_entity_id": "", "sp_metadata_url": "https://immediate-tune-up.info/", "active": true, "provider": "", "user_count": 910631, "sync_user_attributes": true, "created_at": 347299, "updated_at": 414806} "402": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} DeleteSAMLConnection: speakeasy-default-delete-SAML-connection: parameters: @@ -2297,9 +2297,10 @@ examples: "200": application/json: {"object": "deleted_object", "id": "deleted_object_id_example", "slug": "deleted-object-slug", "deleted": true} "402": - application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "meta": {}, "clerk_trace_id": "trace_id"}], "meta": {}} + application/json: {"errors": [{"message": "Error message", "long_message": "Longer error message with more details", "code": "error_code", "clerk_trace_id": "trace_id"}], "meta": {}} CreateTestingToken: speakeasy-default-create-testing-token: responses: "200": application/json: {"object": "testing_token", "token": "1713877200-c_2J2MvPu9PnXcuhbPZNao0LOXqK9A7YrnBn0HmIWxy", "expires_at": 1713880800} +generatedTests: {} diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 781d1a2..81ec9c7 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -13,7 +13,7 @@ generation: oAuth2ClientCredentialsEnabled: true oAuth2PasswordEnabled: true csharp: - version: 0.2.2 + version: 0.2.3 additionalDependencies: - package: System.IdentityModel.Tokens.Jwt version: 8.2.0 diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 4dfe298..1660de8 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,21 +1,21 @@ -speakeasyVersion: 1.445.2 +speakeasyVersion: 1.448.0 sources: clerk-backend-api-OAS: sourceNamespace: clerk-openapi - sourceRevisionDigest: sha256:1b9965b9c97a7e5df88e302f937e5782c6fb149a59f167ea908ea9b8befc129e - sourceBlobDigest: sha256:5d6a29bf9f0008381585f32700a84d502810125ee4086e99723a70dd15e6d0f3 + sourceRevisionDigest: sha256:ca22548efe6d97316f5ea46789a2e0e7487f4a27a57f383f1bcfe378f8807a23 + sourceBlobDigest: sha256:ee32be2459f93da2d088dfa4a993ab0ef5af064cdff4a3dc40bb492cfb630001 tags: - latest - - speakeasy-sdk-regen-1732565431 + - speakeasy-sdk-regen-1732579558 - v1 targets: clerk-backend-api: source: clerk-backend-api-OAS sourceNamespace: clerk-openapi - sourceRevisionDigest: sha256:1b9965b9c97a7e5df88e302f937e5782c6fb149a59f167ea908ea9b8befc129e - sourceBlobDigest: sha256:5d6a29bf9f0008381585f32700a84d502810125ee4086e99723a70dd15e6d0f3 - codeSamplesNamespace: clerk-backend-api-oas-code-samples - codeSamplesRevisionDigest: sha256:4d91ab90159cf2d6517cd23430f01ca4e7886a3de29accc98ea680b35a874acb + sourceRevisionDigest: sha256:ca22548efe6d97316f5ea46789a2e0e7487f4a27a57f383f1bcfe378f8807a23 + sourceBlobDigest: sha256:ee32be2459f93da2d088dfa4a993ab0ef5af064cdff4a3dc40bb492cfb630001 + codeSamplesNamespace: clerk-backend-api-oas-csharp-code-samples + codeSamplesRevisionDigest: sha256:e2c68176c53fdaee43a94c33aa07d6c9ff0fc50e8f8f21bf38206a9ddbb4aa67 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest @@ -38,5 +38,5 @@ workflow: apiKey: $nuget_api_key codeSamples: registry: - location: registry.speakeasyapi.dev/clerk/clerk/clerk-backend-api-oas-code-samples + location: registry.speakeasyapi.dev/clerk/clerk/clerk-backend-api-oas-csharp-code-samples blocking: false diff --git a/.speakeasy/workflow.yaml b/.speakeasy/workflow.yaml index 888a147..db32c42 100644 --- a/.speakeasy/workflow.yaml +++ b/.speakeasy/workflow.yaml @@ -19,5 +19,5 @@ targets: apiKey: $nuget_api_key codeSamples: registry: - location: registry.speakeasyapi.dev/clerk/clerk/clerk-backend-api-oas-code-samples + location: registry.speakeasyapi.dev/clerk/clerk/clerk-backend-api-oas-csharp-code-samples blocking: false diff --git a/RELEASES.md b/RELEASES.md index 5d2c51d..b6115a7 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -8,4 +8,14 @@ Based on: ### Generated - [csharp v0.2.2] . ### Releases -- [NuGet v0.2.2] https://www.nuget.org/packages/Clerk.BackendAPI/0.2.2 - . \ No newline at end of file +- [NuGet v0.2.2] https://www.nuget.org/packages/Clerk.BackendAPI/0.2.2 - . + +## 2024-11-27 14:34:49 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.448.0 (2.466.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [csharp v0.2.3] . +### Releases +- [NuGet v0.2.3] https://www.nuget.org/packages/Clerk.BackendAPI/0.2.3 - . \ No newline at end of file diff --git a/docs/Models/Components/TicketVerificationStrategy.md b/docs/Models/Components/TicketVerificationStrategy.md index b6fe507..d40b5bb 100644 --- a/docs/Models/Components/TicketVerificationStrategy.md +++ b/docs/Models/Components/TicketVerificationStrategy.md @@ -5,4 +5,5 @@ | Name | Value | | -------- | -------- | -| `Ticket` | ticket | \ No newline at end of file +| `Ticket` | ticket | +| `Saml` | saml | \ No newline at end of file diff --git a/docs/Models/Operations/UpdateEmailAddressRequest.md b/docs/Models/Operations/UpdateEmailAddressRequest.md index 5631c8a..0686c00 100644 --- a/docs/Models/Operations/UpdateEmailAddressRequest.md +++ b/docs/Models/Operations/UpdateEmailAddressRequest.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | | `EmailAddressId` | *string* | :heavy_check_mark: | The ID of the email address to update | email_address_id_example | -| `RequestBody` | [UpdateEmailAddressRequestBody](../../Models/Operations/UpdateEmailAddressRequestBody.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file +| `RequestBody` | [UpdateEmailAddressRequestBody](../../Models/Operations/UpdateEmailAddressRequestBody.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/Models/Operations/UpdateJWTTemplateRequest.md b/docs/Models/Operations/UpdateJWTTemplateRequest.md index 798da3c..b2c6496 100644 --- a/docs/Models/Operations/UpdateJWTTemplateRequest.md +++ b/docs/Models/Operations/UpdateJWTTemplateRequest.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | | `TemplateId` | *string* | :heavy_check_mark: | The ID of the JWT template to update | -| `RequestBody` | [UpdateJWTTemplateRequestBody](../../Models/Operations/UpdateJWTTemplateRequestBody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `RequestBody` | [UpdateJWTTemplateRequestBody](../../Models/Operations/UpdateJWTTemplateRequestBody.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/Models/Operations/UpdatePhoneNumberRequest.md b/docs/Models/Operations/UpdatePhoneNumberRequest.md index 71ab133..f16052c 100644 --- a/docs/Models/Operations/UpdatePhoneNumberRequest.md +++ b/docs/Models/Operations/UpdatePhoneNumberRequest.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | | `PhoneNumberId` | *string* | :heavy_check_mark: | The ID of the phone number to update | phone_12345 | -| `RequestBody` | [UpdatePhoneNumberRequestBody](../../Models/Operations/UpdatePhoneNumberRequestBody.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file +| `RequestBody` | [UpdatePhoneNumberRequestBody](../../Models/Operations/UpdatePhoneNumberRequestBody.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/Models/Operations/UpdateSignUpRequest.md b/docs/Models/Operations/UpdateSignUpRequest.md index bf51137..312a6fd 100644 --- a/docs/Models/Operations/UpdateSignUpRequest.md +++ b/docs/Models/Operations/UpdateSignUpRequest.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | | `Id` | *string* | :heavy_check_mark: | The ID of the sign-up to update | signup_1234567890abcdef | -| `RequestBody` | [UpdateSignUpRequestBody](../../Models/Operations/UpdateSignUpRequestBody.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file +| `RequestBody` | [UpdateSignUpRequestBody](../../Models/Operations/UpdateSignUpRequestBody.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/Models/Operations/UpdateUserMetadataRequest.md b/docs/Models/Operations/UpdateUserMetadataRequest.md index 57b1580..901c756 100644 --- a/docs/Models/Operations/UpdateUserMetadataRequest.md +++ b/docs/Models/Operations/UpdateUserMetadataRequest.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | | `UserId` | *string* | :heavy_check_mark: | The ID of the user whose metadata will be updated and merged | user_123456789 | -| `RequestBody` | [UpdateUserMetadataRequestBody](../../Models/Operations/UpdateUserMetadataRequestBody.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file +| `RequestBody` | [UpdateUserMetadataRequestBody](../../Models/Operations/UpdateUserMetadataRequestBody.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/Models/Operations/UploadOrganizationLogoRequest.md b/docs/Models/Operations/UploadOrganizationLogoRequest.md index 1740c2e..8c12c79 100644 --- a/docs/Models/Operations/UploadOrganizationLogoRequest.md +++ b/docs/Models/Operations/UploadOrganizationLogoRequest.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | | `OrganizationId` | *string* | :heavy_check_mark: | The ID of the organization for which to upload a logo | org_12345 | -| `RequestBody` | [UploadOrganizationLogoRequestBody](../../Models/Operations/UploadOrganizationLogoRequestBody.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file +| `RequestBody` | [UploadOrganizationLogoRequestBody](../../Models/Operations/UploadOrganizationLogoRequestBody.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/Models/Operations/VerifyClientRequestBody.md b/docs/Models/Operations/VerifyClientRequestBody.md index bf56ed3..26fce8f 100644 --- a/docs/Models/Operations/VerifyClientRequestBody.md +++ b/docs/Models/Operations/VerifyClientRequestBody.md @@ -1,7 +1,5 @@ # VerifyClientRequestBody -Parameters. - ## Fields diff --git a/docs/Models/Operations/VerifyPasswordRequest.md b/docs/Models/Operations/VerifyPasswordRequest.md index a123fdd..5572fff 100644 --- a/docs/Models/Operations/VerifyPasswordRequest.md +++ b/docs/Models/Operations/VerifyPasswordRequest.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | | `UserId` | *string* | :heavy_check_mark: | The ID of the user for whom to verify the password | user_123 | -| `RequestBody` | [VerifyPasswordRequestBody](../../Models/Operations/VerifyPasswordRequestBody.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file +| `RequestBody` | [VerifyPasswordRequestBody](../../Models/Operations/VerifyPasswordRequestBody.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/Models/Operations/VerifyTOTPRequest.md b/docs/Models/Operations/VerifyTOTPRequest.md index 4fdadda..9cc4771 100644 --- a/docs/Models/Operations/VerifyTOTPRequest.md +++ b/docs/Models/Operations/VerifyTOTPRequest.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | | `UserId` | *string* | :heavy_check_mark: | The ID of the user for whom to verify the TOTP | usr_1a2b3c | -| `RequestBody` | [VerifyTOTPRequestBody](../../Models/Operations/VerifyTOTPRequestBody.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file +| `RequestBody` | [VerifyTOTPRequestBody](../../Models/Operations/VerifyTOTPRequestBody.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/sdks/clerkbackendapi/README.md b/docs/sdks/clerkbackendapi/README.md index a290e8a..bfeca4b 100644 --- a/docs/sdks/clerkbackendapi/README.md +++ b/docs/sdks/clerkbackendapi/README.md @@ -12,4 +12,6 @@ Each version is identified by its release date, e.g. `2021-02-05`. For more info Please see https://clerk.com/docs for more information. - \ No newline at end of file + + +### Available Operations diff --git a/docs/sdks/emailaddresses/README.md b/docs/sdks/emailaddresses/README.md index 1b5955b..34656cb 100644 --- a/docs/sdks/emailaddresses/README.md +++ b/docs/sdks/emailaddresses/README.md @@ -151,7 +151,7 @@ var res = await sdk.EmailAddresses.UpdateAsync( | Parameter | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | | `EmailAddressId` | *string* | :heavy_check_mark: | The ID of the email address to update | email_address_id_example | -| `RequestBody` | [UpdateEmailAddressRequestBody](../../Models/Operations/UpdateEmailAddressRequestBody.md) | :heavy_minus_sign: | N/A | | +| `RequestBody` | [UpdateEmailAddressRequestBody](../../Models/Operations/UpdateEmailAddressRequestBody.md) | :heavy_check_mark: | N/A | | ### Response diff --git a/docs/sdks/jwttemplates/README.md b/docs/sdks/jwttemplates/README.md index bc8b32c..e2d4cd7 100644 --- a/docs/sdks/jwttemplates/README.md +++ b/docs/sdks/jwttemplates/README.md @@ -144,7 +144,7 @@ var res = await sdk.JwtTemplates.UpdateAsync( | Parameter | Type | Required | Description | | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | | `TemplateId` | *string* | :heavy_check_mark: | The ID of the JWT template to update | -| `RequestBody` | [UpdateJWTTemplateRequestBody](../../Models/Operations/UpdateJWTTemplateRequestBody.md) | :heavy_minus_sign: | N/A | +| `RequestBody` | [UpdateJWTTemplateRequestBody](../../Models/Operations/UpdateJWTTemplateRequestBody.md) | :heavy_check_mark: | N/A | ### Response diff --git a/docs/sdks/organizations/README.md b/docs/sdks/organizations/README.md index f1ec4b1..c915da6 100644 --- a/docs/sdks/organizations/README.md +++ b/docs/sdks/organizations/README.md @@ -334,7 +334,7 @@ var res = await sdk.Organizations.UploadLogoAsync( | Parameter | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | | `OrganizationId` | *string* | :heavy_check_mark: | The ID of the organization for which to upload a logo | org_12345 | -| `RequestBody` | [UploadOrganizationLogoRequestBody](../../Models/Operations/UploadOrganizationLogoRequestBody.md) | :heavy_minus_sign: | N/A | | +| `RequestBody` | [UploadOrganizationLogoRequestBody](../../Models/Operations/UploadOrganizationLogoRequestBody.md) | :heavy_check_mark: | N/A | | ### Response diff --git a/docs/sdks/phonenumbers/README.md b/docs/sdks/phonenumbers/README.md index 933715b..c48a4a6 100644 --- a/docs/sdks/phonenumbers/README.md +++ b/docs/sdks/phonenumbers/README.md @@ -153,7 +153,7 @@ var res = await sdk.PhoneNumbers.UpdateAsync( | Parameter | Type | Required | Description | Example | | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | | `PhoneNumberId` | *string* | :heavy_check_mark: | The ID of the phone number to update | phone_12345 | -| `RequestBody` | [UpdatePhoneNumberRequestBody](../../Models/Operations/UpdatePhoneNumberRequestBody.md) | :heavy_minus_sign: | N/A | | +| `RequestBody` | [UpdatePhoneNumberRequestBody](../../Models/Operations/UpdatePhoneNumberRequestBody.md) | :heavy_check_mark: | N/A | | ### Response diff --git a/docs/sdks/signups/README.md b/docs/sdks/signups/README.md index 1d38904..80f1f7a 100644 --- a/docs/sdks/signups/README.md +++ b/docs/sdks/signups/README.md @@ -35,7 +35,7 @@ var res = await sdk.SignUps.UpdateAsync( | Parameter | Type | Required | Description | Example | | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | | `Id` | *string* | :heavy_check_mark: | The ID of the sign-up to update | signup_1234567890abcdef | -| `RequestBody` | [UpdateSignUpRequestBody](../../Models/Operations/UpdateSignUpRequestBody.md) | :heavy_minus_sign: | N/A | | +| `RequestBody` | [UpdateSignUpRequestBody](../../Models/Operations/UpdateSignUpRequestBody.md) | :heavy_check_mark: | N/A | | ### Response diff --git a/docs/sdks/users/README.md b/docs/sdks/users/README.md index 1f6eeda..66353a3 100644 --- a/docs/sdks/users/README.md +++ b/docs/sdks/users/README.md @@ -636,7 +636,7 @@ var res = await sdk.Users.UpdateMetadataAsync( | Parameter | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | | `UserId` | *string* | :heavy_check_mark: | The ID of the user whose metadata will be updated and merged | user_123456789 | -| `RequestBody` | [UpdateUserMetadataRequestBody](../../Models/Operations/UpdateUserMetadataRequestBody.md) | :heavy_minus_sign: | N/A | | +| `RequestBody` | [UpdateUserMetadataRequestBody](../../Models/Operations/UpdateUserMetadataRequestBody.md) | :heavy_check_mark: | N/A | | ### Response @@ -802,7 +802,7 @@ var res = await sdk.Users.VerifyPasswordAsync( | Parameter | Type | Required | Description | Example | | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | | `UserId` | *string* | :heavy_check_mark: | The ID of the user for whom to verify the password | user_123 | -| `RequestBody` | [VerifyPasswordRequestBody](../../Models/Operations/VerifyPasswordRequestBody.md) | :heavy_minus_sign: | N/A | | +| `RequestBody` | [VerifyPasswordRequestBody](../../Models/Operations/VerifyPasswordRequestBody.md) | :heavy_check_mark: | N/A | | ### Response @@ -846,7 +846,7 @@ var res = await sdk.Users.VerifyTotpAsync( | Parameter | Type | Required | Description | Example | | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | | `UserId` | *string* | :heavy_check_mark: | The ID of the user for whom to verify the TOTP | usr_1a2b3c | -| `RequestBody` | [VerifyTOTPRequestBody](../../Models/Operations/VerifyTOTPRequestBody.md) | :heavy_minus_sign: | N/A | | +| `RequestBody` | [VerifyTOTPRequestBody](../../Models/Operations/VerifyTOTPRequestBody.md) | :heavy_check_mark: | N/A | | ### Response diff --git a/src/Clerk/BackendAPI/ActorTokens.cs b/src/Clerk/BackendAPI/ActorTokens.cs index c5e321b..5da101d 100644 --- a/src/Clerk/BackendAPI/ActorTokens.cs +++ b/src/Clerk/BackendAPI/ActorTokens.cs @@ -33,7 +33,7 @@ public interface IActorTokens /// The `actor` parameter needs to include at least a "sub" key whose value is the ID of the actor (impersonating) user. /// /// - Task CreateAsync(CreateActorTokenRequestBody? request = null); + Task CreateAsync(CreateActorTokenRequestBody request); /// /// Revoke actor token @@ -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.2"; - private const string _sdkGenVersion = "2.461.4"; + private const string _sdkVersion = "0.2.3"; + private const string _sdkGenVersion = "2.466.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.2.2 2.461.4 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.2.3 2.466.0 v1 Clerk.BackendAPI"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; @@ -65,7 +65,7 @@ public ActorTokens(ISpeakeasyHttpClient client, Func CreateAsync(CreateActorTokenRequestBody? request = null) + public async Task CreateAsync(CreateActorTokenRequestBody request) { string baseUrl = this.SDKConfiguration.GetTemplatedServerUrl(); @@ -74,7 +74,7 @@ public async Task CreateAsync(CreateActorTokenRequestB var httpRequest = new HttpRequestMessage(HttpMethod.Post, urlString); httpRequest.Headers.Add("user-agent", _userAgent); - var serializedBody = RequestBodySerializer.Serialize(request, "Request", "json", false, true); + var serializedBody = RequestBodySerializer.Serialize(request, "Request", "json", false, false); if (serializedBody != null) { httpRequest.Content = serializedBody; @@ -125,7 +125,7 @@ public async Task CreateAsync(CreateActorTokenRequestB { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Include); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); var response = new CreateActorTokenResponse() { HttpMeta = new Models.Components.HTTPMetadata() @@ -144,7 +144,7 @@ public async Task CreateAsync(CreateActorTokenRequestB { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Include); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); throw obj!; } diff --git a/src/Clerk/BackendAPI/AllowBlockList.cs b/src/Clerk/BackendAPI/AllowBlockList.cs index 187407a..fba3129 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.2.2"; - private const string _sdkGenVersion = "2.461.4"; + private const string _sdkVersion = "0.2.3"; + private const string _sdkGenVersion = "2.466.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.2.2 2.461.4 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.2.3 2.466.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 f6b0122..2d331a3 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.2.2"; - private const string _sdkGenVersion = "2.461.4"; + private const string _sdkVersion = "0.2.3"; + private const string _sdkGenVersion = "2.466.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.2.2 2.461.4 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.2.3 2.466.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 5c10f45..3981009 100644 --- a/src/Clerk/BackendAPI/AllowlistIdentifiers.cs +++ b/src/Clerk/BackendAPI/AllowlistIdentifiers.cs @@ -41,7 +41,7 @@ public interface IAllowlistIdentifiers /// Create an identifier allowed to sign up to an instance /// /// - Task CreateAsync(CreateAllowlistIdentifierRequestBody? request = null); + Task CreateAsync(CreateAllowlistIdentifierRequestBody request); /// /// Delete identifier from allow-list @@ -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.2"; - private const string _sdkGenVersion = "2.461.4"; + private const string _sdkVersion = "0.2.3"; + private const string _sdkGenVersion = "2.466.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.2.2 2.461.4 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.2.3 2.466.0 v1 Clerk.BackendAPI"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; @@ -160,7 +160,7 @@ public async Task ListAsync() throw new Models.Errors.SDKError("Unknown status code received", httpRequest, httpResponse); } - public async Task CreateAsync(CreateAllowlistIdentifierRequestBody? request = null) + public async Task CreateAsync(CreateAllowlistIdentifierRequestBody request) { string baseUrl = this.SDKConfiguration.GetTemplatedServerUrl(); @@ -169,7 +169,7 @@ public async Task CreateAsync(CreateAllowlist var httpRequest = new HttpRequestMessage(HttpMethod.Post, urlString); httpRequest.Headers.Add("user-agent", _userAgent); - var serializedBody = RequestBodySerializer.Serialize(request, "Request", "json", false, true); + var serializedBody = RequestBodySerializer.Serialize(request, "Request", "json", false, false); if (serializedBody != null) { httpRequest.Content = serializedBody; @@ -220,7 +220,7 @@ public async Task CreateAsync(CreateAllowlist { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Include); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); var response = new CreateAllowlistIdentifierResponse() { HttpMeta = new Models.Components.HTTPMetadata() @@ -239,7 +239,7 @@ public async Task CreateAsync(CreateAllowlist { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Include); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); throw obj!; } diff --git a/src/Clerk/BackendAPI/BetaFeatures.cs b/src/Clerk/BackendAPI/BetaFeatures.cs index 10e6d24..571a7cc 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.2.2"; - private const string _sdkGenVersion = "2.461.4"; + private const string _sdkVersion = "0.2.3"; + private const string _sdkGenVersion = "2.466.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.2.2 2.461.4 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.2.3 2.466.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 9b05931..2a0fc8b 100644 --- a/src/Clerk/BackendAPI/BlocklistIdentifiers.cs +++ b/src/Clerk/BackendAPI/BlocklistIdentifiers.cs @@ -32,17 +32,17 @@ public interface IBlocklistIdentifiers /// Create an identifier that is blocked from accessing an instance /// /// - Task CreateAsync(CreateBlocklistIdentifierRequestBody? request = null); + Task CreateAsync(CreateBlocklistIdentifierRequestBody request); } public class BlocklistIdentifiers: IBlocklistIdentifiers { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.2.2"; - private const string _sdkGenVersion = "2.461.4"; + private const string _sdkVersion = "0.2.3"; + private const string _sdkGenVersion = "2.466.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.2.2 2.461.4 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.2.3 2.466.0 v1 Clerk.BackendAPI"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; @@ -55,7 +55,7 @@ public BlocklistIdentifiers(ISpeakeasyHttpClient client, Func CreateAsync(CreateBlocklistIdentifierRequestBody? request = null) + public async Task CreateAsync(CreateBlocklistIdentifierRequestBody request) { string baseUrl = this.SDKConfiguration.GetTemplatedServerUrl(); @@ -64,7 +64,7 @@ public async Task CreateAsync(CreateBlocklist var httpRequest = new HttpRequestMessage(HttpMethod.Post, urlString); httpRequest.Headers.Add("user-agent", _userAgent); - var serializedBody = RequestBodySerializer.Serialize(request, "Request", "json", false, true); + var serializedBody = RequestBodySerializer.Serialize(request, "Request", "json", false, false); if (serializedBody != null) { httpRequest.Content = serializedBody; @@ -115,7 +115,7 @@ public async Task CreateAsync(CreateBlocklist { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Include); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); var response = new CreateBlocklistIdentifierResponse() { HttpMeta = new Models.Components.HTTPMetadata() @@ -134,7 +134,7 @@ public async Task CreateAsync(CreateBlocklist { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Include); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); throw obj!; } diff --git a/src/Clerk/BackendAPI/Clerk.BackendAPI.csproj b/src/Clerk/BackendAPI/Clerk.BackendAPI.csproj index 23e03d7..5a1b7af 100644 --- a/src/Clerk/BackendAPI/Clerk.BackendAPI.csproj +++ b/src/Clerk/BackendAPI/Clerk.BackendAPI.csproj @@ -3,7 +3,7 @@ true Clerk.BackendAPI - 0.2.2 + 0.2.3 net8.0 Clerk Copyright (c) Clerk 2024 diff --git a/src/Clerk/BackendAPI/ClerkBackendApi.cs b/src/Clerk/BackendAPI/ClerkBackendApi.cs index eb46b4f..436f6cd 100644 --- a/src/Clerk/BackendAPI/ClerkBackendApi.cs +++ b/src/Clerk/BackendAPI/ClerkBackendApi.cs @@ -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.2"; - private const string _sdkGenVersion = "2.461.4"; + private const string _sdkVersion = "0.2.3"; + private const string _sdkGenVersion = "2.466.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.2.2 2.461.4 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.2.3 2.466.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 6044a13..69172a5 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.2.2"; - private const string _sdkGenVersion = "2.461.4"; + private const string _sdkVersion = "0.2.3"; + private const string _sdkGenVersion = "2.466.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.2.2 2.461.4 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.2.3 2.466.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 a522ef8..533c382 100644 --- a/src/Clerk/BackendAPI/Domains.cs +++ b/src/Clerk/BackendAPI/Domains.cs @@ -49,7 +49,7 @@ public interface IDomains /// If you're planning to configure the new satellite domain to run behind a proxy, pass the `proxy_url` parameter accordingly. /// /// - Task AddAsync(AddDomainRequestBody? request = null); + Task AddAsync(AddDomainRequestBody request); /// /// Delete a satellite domain @@ -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.2"; - private const string _sdkGenVersion = "2.461.4"; + private const string _sdkVersion = "0.2.3"; + private const string _sdkGenVersion = "2.466.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.2.2 2.461.4 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.2.3 2.466.0 v1 Clerk.BackendAPI"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; @@ -178,7 +178,7 @@ public async Task ListAsync() throw new Models.Errors.SDKError("Unknown status code received", httpRequest, httpResponse); } - public async Task AddAsync(AddDomainRequestBody? request = null) + public async Task AddAsync(AddDomainRequestBody request) { string baseUrl = this.SDKConfiguration.GetTemplatedServerUrl(); @@ -187,7 +187,7 @@ public async Task AddAsync(AddDomainRequestBody? request = nu var httpRequest = new HttpRequestMessage(HttpMethod.Post, urlString); httpRequest.Headers.Add("user-agent", _userAgent); - var serializedBody = RequestBodySerializer.Serialize(request, "Request", "json", false, true); + var serializedBody = RequestBodySerializer.Serialize(request, "Request", "json", false, false); if (serializedBody != null) { httpRequest.Content = serializedBody; @@ -238,7 +238,7 @@ public async Task AddAsync(AddDomainRequestBody? request = nu { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Include); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); var response = new AddDomainResponse() { HttpMeta = new Models.Components.HTTPMetadata() @@ -257,7 +257,7 @@ public async Task AddAsync(AddDomainRequestBody? request = nu { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Include); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); throw obj!; } diff --git a/src/Clerk/BackendAPI/EmailAddresses.cs b/src/Clerk/BackendAPI/EmailAddresses.cs index 7d479cf..23493cf 100644 --- a/src/Clerk/BackendAPI/EmailAddresses.cs +++ b/src/Clerk/BackendAPI/EmailAddresses.cs @@ -59,17 +59,17 @@ public interface IEmailAddresses /// Updates an email address. /// /// - Task UpdateAsync(string emailAddressId, UpdateEmailAddressRequestBody? requestBody = null); + Task UpdateAsync(string emailAddressId, UpdateEmailAddressRequestBody requestBody); } public class EmailAddresses: IEmailAddresses { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.2.2"; - private const string _sdkGenVersion = "2.461.4"; + private const string _sdkVersion = "0.2.3"; + private const string _sdkGenVersion = "2.466.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.2.2 2.461.4 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.2.3 2.466.0 v1 Clerk.BackendAPI"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; @@ -355,7 +355,7 @@ public async Task DeleteAsync(string emailAddressId) throw new Models.Errors.SDKError("Unknown status code received", httpRequest, httpResponse); } - public async Task UpdateAsync(string emailAddressId, UpdateEmailAddressRequestBody? requestBody = null) + public async Task UpdateAsync(string emailAddressId, UpdateEmailAddressRequestBody requestBody) { var request = new UpdateEmailAddressRequest() { @@ -368,7 +368,7 @@ public async Task UpdateAsync(string emailAddressId, var httpRequest = new HttpRequestMessage(HttpMethod.Patch, urlString); httpRequest.Headers.Add("user-agent", _userAgent); - var serializedBody = RequestBodySerializer.Serialize(request, "RequestBody", "json", false, true); + var serializedBody = RequestBodySerializer.Serialize(request, "RequestBody", "json", false, false); if (serializedBody != null) { httpRequest.Content = serializedBody; diff --git a/src/Clerk/BackendAPI/EmailAndSmsTemplates.cs b/src/Clerk/BackendAPI/EmailAndSmsTemplates.cs index 5aabd31..17c92cf 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.2.2"; - private const string _sdkGenVersion = "2.461.4"; + private const string _sdkVersion = "0.2.3"; + private const string _sdkGenVersion = "2.466.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.2.2 2.461.4 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.2.3 2.466.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 e42e46b..3fb183f 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.2.2"; - private const string _sdkGenVersion = "2.461.4"; + private const string _sdkVersion = "0.2.3"; + private const string _sdkGenVersion = "2.466.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.2.2 2.461.4 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.2.3 2.466.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 f30cb5d..e56d97c 100644 --- a/src/Clerk/BackendAPI/InstanceSettings.cs +++ b/src/Clerk/BackendAPI/InstanceSettings.cs @@ -57,10 +57,10 @@ public class InstanceSettings: IInstanceSettings { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.2.2"; - private const string _sdkGenVersion = "2.461.4"; + private const string _sdkVersion = "0.2.3"; + private const string _sdkGenVersion = "2.466.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.2.2 2.461.4 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.2.3 2.466.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 69f9c21..c00a77d 100644 --- a/src/Clerk/BackendAPI/Invitations.cs +++ b/src/Clerk/BackendAPI/Invitations.cs @@ -39,7 +39,7 @@ public interface IInvitations /// Also, trying to create an invitation for an email address that already exists in your application will result to an error. /// /// - Task CreateAsync(CreateInvitationRequestBody? request = null); + Task CreateAsync(CreateInvitationRequestBody request); /// /// List all invitations @@ -72,10 +72,10 @@ public class Invitations: IInvitations { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.2.2"; - private const string _sdkGenVersion = "2.461.4"; + private const string _sdkVersion = "0.2.3"; + private const string _sdkGenVersion = "2.466.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.2.2 2.461.4 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.2.3 2.466.0 v1 Clerk.BackendAPI"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; @@ -88,7 +88,7 @@ public Invitations(ISpeakeasyHttpClient client, Func CreateAsync(CreateInvitationRequestBody? request = null) + public async Task CreateAsync(CreateInvitationRequestBody request) { string baseUrl = this.SDKConfiguration.GetTemplatedServerUrl(); @@ -97,7 +97,7 @@ public async Task CreateAsync(CreateInvitationRequestB var httpRequest = new HttpRequestMessage(HttpMethod.Post, urlString); httpRequest.Headers.Add("user-agent", _userAgent); - var serializedBody = RequestBodySerializer.Serialize(request, "Request", "json", false, true); + var serializedBody = RequestBodySerializer.Serialize(request, "Request", "json", false, false); if (serializedBody != null) { httpRequest.Content = serializedBody; @@ -148,7 +148,7 @@ public async Task CreateAsync(CreateInvitationRequestB { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Include); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); var response = new CreateInvitationResponse() { HttpMeta = new Models.Components.HTTPMetadata() @@ -167,7 +167,7 @@ public async Task CreateAsync(CreateInvitationRequestB { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Include); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); throw obj!; } diff --git a/src/Clerk/BackendAPI/Jwks.cs b/src/Clerk/BackendAPI/Jwks.cs index 88e20d1..8f9e97c 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.2.2"; - private const string _sdkGenVersion = "2.461.4"; + private const string _sdkVersion = "0.2.3"; + private const string _sdkGenVersion = "2.466.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.2.2 2.461.4 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.2.3 2.466.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 9ee47ff..e94b5ba 100644 --- a/src/Clerk/BackendAPI/JwtTemplates.cs +++ b/src/Clerk/BackendAPI/JwtTemplates.cs @@ -55,7 +55,7 @@ public interface IJwtTemplates /// Updates an existing JWT template /// /// - Task UpdateAsync(string templateId, UpdateJWTTemplateRequestBody? requestBody = null); + Task UpdateAsync(string templateId, UpdateJWTTemplateRequestBody requestBody); /// /// Delete a Template @@ -67,10 +67,10 @@ public class JwtTemplates: IJwtTemplates { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.2.2"; - private const string _sdkGenVersion = "2.461.4"; + private const string _sdkVersion = "0.2.3"; + private const string _sdkGenVersion = "2.466.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.2.2 2.461.4 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.2.3 2.466.0 v1 Clerk.BackendAPI"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; @@ -343,7 +343,7 @@ public async Task GetAsync(string templateId) throw new Models.Errors.SDKError("Unknown status code received", httpRequest, httpResponse); } - public async Task UpdateAsync(string templateId, UpdateJWTTemplateRequestBody? requestBody = null) + public async Task UpdateAsync(string templateId, UpdateJWTTemplateRequestBody requestBody) { var request = new UpdateJWTTemplateRequest() { @@ -356,7 +356,7 @@ public async Task UpdateAsync(string templateId, Upda var httpRequest = new HttpRequestMessage(HttpMethod.Patch, urlString); httpRequest.Headers.Add("user-agent", _userAgent); - var serializedBody = RequestBodySerializer.Serialize(request, "RequestBody", "json", false, true); + var serializedBody = RequestBodySerializer.Serialize(request, "RequestBody", "json", false, false); if (serializedBody != null) { httpRequest.Content = serializedBody; diff --git a/src/Clerk/BackendAPI/Miscellaneous.cs b/src/Clerk/BackendAPI/Miscellaneous.cs index a0cb4b9..77ac566 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.2.2"; - private const string _sdkGenVersion = "2.461.4"; + private const string _sdkVersion = "0.2.3"; + private const string _sdkGenVersion = "2.466.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.2.2 2.461.4 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.2.3 2.466.0 v1 Clerk.BackendAPI"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/src/Clerk/BackendAPI/Models/Components/TicketVerificationStrategy.cs b/src/Clerk/BackendAPI/Models/Components/TicketVerificationStrategy.cs index 76b48a7..a9b7b60 100644 --- a/src/Clerk/BackendAPI/Models/Components/TicketVerificationStrategy.cs +++ b/src/Clerk/BackendAPI/Models/Components/TicketVerificationStrategy.cs @@ -17,6 +17,8 @@ public enum TicketVerificationStrategy { [JsonProperty("ticket")] Ticket, + [JsonProperty("saml")] + Saml, } public static class TicketVerificationStrategyExtension diff --git a/src/Clerk/BackendAPI/Models/Operations/UpdateEmailAddressRequest.cs b/src/Clerk/BackendAPI/Models/Operations/UpdateEmailAddressRequest.cs index 2c8c728..76892e3 100644 --- a/src/Clerk/BackendAPI/Models/Operations/UpdateEmailAddressRequest.cs +++ b/src/Clerk/BackendAPI/Models/Operations/UpdateEmailAddressRequest.cs @@ -22,6 +22,6 @@ public class UpdateEmailAddressRequest public string EmailAddressId { get; set; } = default!; [SpeakeasyMetadata("request:mediaType=application/json")] - public UpdateEmailAddressRequestBody? RequestBody { get; set; } + public UpdateEmailAddressRequestBody RequestBody { get; set; } = default!; } } \ No newline at end of file diff --git a/src/Clerk/BackendAPI/Models/Operations/UpdateJWTTemplateRequest.cs b/src/Clerk/BackendAPI/Models/Operations/UpdateJWTTemplateRequest.cs index 5dbfc3b..981e7cd 100644 --- a/src/Clerk/BackendAPI/Models/Operations/UpdateJWTTemplateRequest.cs +++ b/src/Clerk/BackendAPI/Models/Operations/UpdateJWTTemplateRequest.cs @@ -22,6 +22,6 @@ public class UpdateJWTTemplateRequest public string TemplateId { get; set; } = default!; [SpeakeasyMetadata("request:mediaType=application/json")] - public UpdateJWTTemplateRequestBody? RequestBody { get; set; } + public UpdateJWTTemplateRequestBody RequestBody { get; set; } = default!; } } \ No newline at end of file diff --git a/src/Clerk/BackendAPI/Models/Operations/UpdatePhoneNumberRequest.cs b/src/Clerk/BackendAPI/Models/Operations/UpdatePhoneNumberRequest.cs index 2597bcd..bb81f24 100644 --- a/src/Clerk/BackendAPI/Models/Operations/UpdatePhoneNumberRequest.cs +++ b/src/Clerk/BackendAPI/Models/Operations/UpdatePhoneNumberRequest.cs @@ -22,6 +22,6 @@ public class UpdatePhoneNumberRequest public string PhoneNumberId { get; set; } = default!; [SpeakeasyMetadata("request:mediaType=application/json")] - public UpdatePhoneNumberRequestBody? RequestBody { get; set; } + public UpdatePhoneNumberRequestBody RequestBody { get; set; } = default!; } } \ No newline at end of file diff --git a/src/Clerk/BackendAPI/Models/Operations/UpdateSignUpRequest.cs b/src/Clerk/BackendAPI/Models/Operations/UpdateSignUpRequest.cs index 3776da4..0451607 100644 --- a/src/Clerk/BackendAPI/Models/Operations/UpdateSignUpRequest.cs +++ b/src/Clerk/BackendAPI/Models/Operations/UpdateSignUpRequest.cs @@ -22,6 +22,6 @@ public class UpdateSignUpRequest public string Id { get; set; } = default!; [SpeakeasyMetadata("request:mediaType=application/json")] - public UpdateSignUpRequestBody? RequestBody { get; set; } + public UpdateSignUpRequestBody RequestBody { get; set; } = default!; } } \ No newline at end of file diff --git a/src/Clerk/BackendAPI/Models/Operations/UpdateUserMetadataRequest.cs b/src/Clerk/BackendAPI/Models/Operations/UpdateUserMetadataRequest.cs index 51e95c5..eae8a36 100644 --- a/src/Clerk/BackendAPI/Models/Operations/UpdateUserMetadataRequest.cs +++ b/src/Clerk/BackendAPI/Models/Operations/UpdateUserMetadataRequest.cs @@ -22,6 +22,6 @@ public class UpdateUserMetadataRequest public string UserId { get; set; } = default!; [SpeakeasyMetadata("request:mediaType=application/json")] - public UpdateUserMetadataRequestBody? RequestBody { get; set; } + public UpdateUserMetadataRequestBody RequestBody { get; set; } = default!; } } \ No newline at end of file diff --git a/src/Clerk/BackendAPI/Models/Operations/UploadOrganizationLogoRequest.cs b/src/Clerk/BackendAPI/Models/Operations/UploadOrganizationLogoRequest.cs index 98415e7..d0bd8dd 100644 --- a/src/Clerk/BackendAPI/Models/Operations/UploadOrganizationLogoRequest.cs +++ b/src/Clerk/BackendAPI/Models/Operations/UploadOrganizationLogoRequest.cs @@ -22,6 +22,6 @@ public class UploadOrganizationLogoRequest public string OrganizationId { get; set; } = default!; [SpeakeasyMetadata("request:mediaType=multipart/form-data")] - public UploadOrganizationLogoRequestBody? RequestBody { get; set; } + public UploadOrganizationLogoRequestBody RequestBody { get; set; } = default!; } } \ No newline at end of file diff --git a/src/Clerk/BackendAPI/Models/Operations/VerifyClientRequestBody.cs b/src/Clerk/BackendAPI/Models/Operations/VerifyClientRequestBody.cs index 281399b..069e763 100644 --- a/src/Clerk/BackendAPI/Models/Operations/VerifyClientRequestBody.cs +++ b/src/Clerk/BackendAPI/Models/Operations/VerifyClientRequestBody.cs @@ -12,9 +12,6 @@ namespace Clerk.BackendAPI.Models.Operations using Clerk.BackendAPI.Utils; using Newtonsoft.Json; - /// - /// Parameters. - /// public class VerifyClientRequestBody { diff --git a/src/Clerk/BackendAPI/Models/Operations/VerifyPasswordRequest.cs b/src/Clerk/BackendAPI/Models/Operations/VerifyPasswordRequest.cs index dc8393f..32e7297 100644 --- a/src/Clerk/BackendAPI/Models/Operations/VerifyPasswordRequest.cs +++ b/src/Clerk/BackendAPI/Models/Operations/VerifyPasswordRequest.cs @@ -22,6 +22,6 @@ public class VerifyPasswordRequest public string UserId { get; set; } = default!; [SpeakeasyMetadata("request:mediaType=application/json")] - public VerifyPasswordRequestBody? RequestBody { get; set; } + public VerifyPasswordRequestBody RequestBody { get; set; } = default!; } } \ No newline at end of file diff --git a/src/Clerk/BackendAPI/Models/Operations/VerifyTOTPRequest.cs b/src/Clerk/BackendAPI/Models/Operations/VerifyTOTPRequest.cs index 11f013d..4b9bbd9 100644 --- a/src/Clerk/BackendAPI/Models/Operations/VerifyTOTPRequest.cs +++ b/src/Clerk/BackendAPI/Models/Operations/VerifyTOTPRequest.cs @@ -22,6 +22,6 @@ public class VerifyTOTPRequest public string UserId { get; set; } = default!; [SpeakeasyMetadata("request:mediaType=application/json")] - public VerifyTOTPRequestBody? RequestBody { get; set; } + public VerifyTOTPRequestBody RequestBody { get; set; } = default!; } } \ No newline at end of file diff --git a/src/Clerk/BackendAPI/OauthApplications.cs b/src/Clerk/BackendAPI/OauthApplications.cs index ecd09c2..e1b1221 100644 --- a/src/Clerk/BackendAPI/OauthApplications.cs +++ b/src/Clerk/BackendAPI/OauthApplications.cs @@ -46,7 +46,7 @@ public interface IOauthApplications /// All URL schemes are allowed such as `http://`, `https://`, `myapp://`, etc... /// /// - Task CreateAsync(CreateOAuthApplicationRequestBody? request = null); + Task CreateAsync(CreateOAuthApplicationRequestBody request); /// /// Retrieve an OAuth application by ID @@ -91,10 +91,10 @@ public class OauthApplications: IOauthApplications { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.2.2"; - private const string _sdkGenVersion = "2.461.4"; + private const string _sdkVersion = "0.2.3"; + private const string _sdkGenVersion = "2.466.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.2.2 2.461.4 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.2.3 2.466.0 v1 Clerk.BackendAPI"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; @@ -198,7 +198,7 @@ public async Task ListAsync(long? limit = null, l throw new Models.Errors.SDKError("Unknown status code received", httpRequest, httpResponse); } - public async Task CreateAsync(CreateOAuthApplicationRequestBody? request = null) + public async Task CreateAsync(CreateOAuthApplicationRequestBody request) { string baseUrl = this.SDKConfiguration.GetTemplatedServerUrl(); @@ -207,7 +207,7 @@ public async Task CreateAsync(CreateOAuthApplica var httpRequest = new HttpRequestMessage(HttpMethod.Post, urlString); httpRequest.Headers.Add("user-agent", _userAgent); - var serializedBody = RequestBodySerializer.Serialize(request, "Request", "json", false, true); + var serializedBody = RequestBodySerializer.Serialize(request, "Request", "json", false, false); if (serializedBody != null) { httpRequest.Content = serializedBody; @@ -258,7 +258,7 @@ public async Task CreateAsync(CreateOAuthApplica { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Include); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); var response = new CreateOAuthApplicationResponse() { HttpMeta = new Models.Components.HTTPMetadata() @@ -277,7 +277,7 @@ public async Task CreateAsync(CreateOAuthApplica { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Include); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); throw obj!; } diff --git a/src/Clerk/BackendAPI/OrganizationDomain.cs b/src/Clerk/BackendAPI/OrganizationDomain.cs index 64bf84e..d4a1668 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.2.2"; - private const string _sdkGenVersion = "2.461.4"; + private const string _sdkVersion = "0.2.3"; + private const string _sdkGenVersion = "2.466.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.2.2 2.461.4 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.2.3 2.466.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 764f61e..3dd8f0d 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.2.2"; - private const string _sdkGenVersion = "2.461.4"; + private const string _sdkVersion = "0.2.3"; + private const string _sdkGenVersion = "2.466.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.2.2 2.461.4 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.2.3 2.466.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 656d3b6..f773c1b 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.2.2"; - private const string _sdkGenVersion = "2.461.4"; + private const string _sdkVersion = "0.2.3"; + private const string _sdkGenVersion = "2.466.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.2.2 2.461.4 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.2.3 2.466.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 8a1f8fb..e2e6931 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.2.2"; - private const string _sdkGenVersion = "2.461.4"; + private const string _sdkVersion = "0.2.3"; + private const string _sdkGenVersion = "2.466.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.2.2 2.461.4 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.2.3 2.466.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 6bba33e..aceb405 100644 --- a/src/Clerk/BackendAPI/Organizations.cs +++ b/src/Clerk/BackendAPI/Organizations.cs @@ -59,7 +59,7 @@ public interface IOrganizations /// the next time they create a session, presuming they don't explicitly set a different organization as active before then. /// /// - Task CreateAsync(CreateOrganizationRequestBody? request = null); + Task CreateAsync(CreateOrganizationRequestBody request); /// /// Retrieve an organization by ID or slug @@ -112,7 +112,7 @@ public interface IOrganizations /// Only the following file content types are supported: `image/jpeg`, `image/png`, `image/gif`, `image/webp`, `image/x-icon`, `image/vnd.microsoft.icon`. /// /// - Task UploadLogoAsync(string organizationId, UploadOrganizationLogoRequestBody? requestBody = null); + Task UploadLogoAsync(string organizationId, UploadOrganizationLogoRequestBody requestBody); /// /// Delete the organization's logo. @@ -129,10 +129,10 @@ public class Organizations: IOrganizations { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.2.2"; - private const string _sdkGenVersion = "2.461.4"; + private const string _sdkVersion = "0.2.3"; + private const string _sdkGenVersion = "2.466.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.2.2 2.461.4 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.2.3 2.466.0 v1 Clerk.BackendAPI"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; @@ -231,7 +231,7 @@ public async Task ListAsync(ListOrganizationsRequest? throw new Models.Errors.SDKError("Unknown status code received", httpRequest, httpResponse); } - public async Task CreateAsync(CreateOrganizationRequestBody? request = null) + public async Task CreateAsync(CreateOrganizationRequestBody request) { string baseUrl = this.SDKConfiguration.GetTemplatedServerUrl(); @@ -240,7 +240,7 @@ public async Task CreateAsync(CreateOrganizationRequ var httpRequest = new HttpRequestMessage(HttpMethod.Post, urlString); httpRequest.Headers.Add("user-agent", _userAgent); - var serializedBody = RequestBodySerializer.Serialize(request, "Request", "json", false, true); + var serializedBody = RequestBodySerializer.Serialize(request, "Request", "json", false, false); if (serializedBody != null) { httpRequest.Content = serializedBody; @@ -291,7 +291,7 @@ public async Task CreateAsync(CreateOrganizationRequ { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Include); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); var response = new CreateOrganizationResponse() { HttpMeta = new Models.Components.HTTPMetadata() @@ -310,7 +310,7 @@ public async Task CreateAsync(CreateOrganizationRequ { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Include); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); throw obj!; } @@ -699,7 +699,7 @@ public async Task MergeMetadataAsync(string o throw new Models.Errors.SDKError("Unknown status code received", httpRequest, httpResponse); } - public async Task UploadLogoAsync(string organizationId, UploadOrganizationLogoRequestBody? requestBody = null) + public async Task UploadLogoAsync(string organizationId, UploadOrganizationLogoRequestBody requestBody) { var request = new UploadOrganizationLogoRequest() { @@ -712,7 +712,7 @@ public async Task UploadLogoAsync(string organiz var httpRequest = new HttpRequestMessage(HttpMethod.Put, urlString); httpRequest.Headers.Add("user-agent", _userAgent); - var serializedBody = RequestBodySerializer.Serialize(request, "RequestBody", "multipart", false, true); + var serializedBody = RequestBodySerializer.Serialize(request, "RequestBody", "multipart", false, false); if (serializedBody != null) { httpRequest.Content = serializedBody; diff --git a/src/Clerk/BackendAPI/PhoneNumbers.cs b/src/Clerk/BackendAPI/PhoneNumbers.cs index f92309e..028f506 100644 --- a/src/Clerk/BackendAPI/PhoneNumbers.cs +++ b/src/Clerk/BackendAPI/PhoneNumbers.cs @@ -59,17 +59,17 @@ public interface IPhoneNumbers /// Updates a phone number /// /// - Task UpdateAsync(string phoneNumberId, UpdatePhoneNumberRequestBody? requestBody = null); + Task UpdateAsync(string phoneNumberId, UpdatePhoneNumberRequestBody requestBody); } public class PhoneNumbers: IPhoneNumbers { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.2.2"; - private const string _sdkGenVersion = "2.461.4"; + private const string _sdkVersion = "0.2.3"; + private const string _sdkGenVersion = "2.466.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.2.2 2.461.4 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.2.3 2.466.0 v1 Clerk.BackendAPI"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; @@ -355,7 +355,7 @@ public async Task DeleteAsync(string phoneNumberId) throw new Models.Errors.SDKError("Unknown status code received", httpRequest, httpResponse); } - public async Task UpdateAsync(string phoneNumberId, UpdatePhoneNumberRequestBody? requestBody = null) + public async Task UpdateAsync(string phoneNumberId, UpdatePhoneNumberRequestBody requestBody) { var request = new UpdatePhoneNumberRequest() { @@ -368,7 +368,7 @@ public async Task UpdateAsync(string phoneNumberId, U var httpRequest = new HttpRequestMessage(HttpMethod.Patch, urlString); httpRequest.Headers.Add("user-agent", _userAgent); - var serializedBody = RequestBodySerializer.Serialize(request, "RequestBody", "json", false, true); + var serializedBody = RequestBodySerializer.Serialize(request, "RequestBody", "json", false, false); if (serializedBody != null) { httpRequest.Content = serializedBody; diff --git a/src/Clerk/BackendAPI/ProxyChecks.cs b/src/Clerk/BackendAPI/ProxyChecks.cs index 79fc743..e71e3e4 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.2.2"; - private const string _sdkGenVersion = "2.461.4"; + private const string _sdkVersion = "0.2.3"; + private const string _sdkGenVersion = "2.466.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.2.2 2.461.4 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.2.3 2.466.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 5151c0b..d231e1c 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.2.2"; - private const string _sdkGenVersion = "2.461.4"; + private const string _sdkVersion = "0.2.3"; + private const string _sdkGenVersion = "2.466.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.2.2 2.461.4 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.2.3 2.466.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 4c99ca3..589fcf8 100644 --- a/src/Clerk/BackendAPI/SamlConnections.cs +++ b/src/Clerk/BackendAPI/SamlConnections.cs @@ -43,7 +43,7 @@ public interface ISamlConnections /// Create a new SAML Connection. /// /// - Task CreateAsync(CreateSAMLConnectionRequestBody? request = null); + Task CreateAsync(CreateSAMLConnectionRequestBody request); /// /// Retrieve a SAML Connection by ID @@ -77,10 +77,10 @@ public class SamlConnections: ISamlConnections { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.2.2"; - private const string _sdkGenVersion = "2.461.4"; + private const string _sdkVersion = "0.2.3"; + private const string _sdkGenVersion = "2.466.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.2.2 2.461.4 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.2.3 2.466.0 v1 Clerk.BackendAPI"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; @@ -184,7 +184,7 @@ public async Task ListAsync(long? limit = null, lon throw new Models.Errors.SDKError("Unknown status code received", httpRequest, httpResponse); } - public async Task CreateAsync(CreateSAMLConnectionRequestBody? request = null) + public async Task CreateAsync(CreateSAMLConnectionRequestBody request) { string baseUrl = this.SDKConfiguration.GetTemplatedServerUrl(); @@ -193,7 +193,7 @@ public async Task CreateAsync(CreateSAMLConnection var httpRequest = new HttpRequestMessage(HttpMethod.Post, urlString); httpRequest.Headers.Add("user-agent", _userAgent); - var serializedBody = RequestBodySerializer.Serialize(request, "Request", "json", false, true); + var serializedBody = RequestBodySerializer.Serialize(request, "Request", "json", false, false); if (serializedBody != null) { httpRequest.Content = serializedBody; @@ -244,7 +244,7 @@ public async Task CreateAsync(CreateSAMLConnection { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Include); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); var response = new CreateSAMLConnectionResponse() { HttpMeta = new Models.Components.HTTPMetadata() @@ -263,7 +263,7 @@ public async Task CreateAsync(CreateSAMLConnection { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Include); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); throw obj!; } diff --git a/src/Clerk/BackendAPI/Sessions.cs b/src/Clerk/BackendAPI/Sessions.cs index 914b5d7..ecc3c7f 100644 --- a/src/Clerk/BackendAPI/Sessions.cs +++ b/src/Clerk/BackendAPI/Sessions.cs @@ -102,10 +102,10 @@ public class Sessions: ISessions { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.2.2"; - private const string _sdkGenVersion = "2.461.4"; + private const string _sdkVersion = "0.2.3"; + private const string _sdkGenVersion = "2.466.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.2.2 2.461.4 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.2.3 2.466.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 2af8ca6..8beb82c 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.2.2"; - private const string _sdkGenVersion = "2.461.4"; + private const string _sdkVersion = "0.2.3"; + private const string _sdkGenVersion = "2.466.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.2.2 2.461.4 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.2.3 2.466.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 e980356..795fc2d 100644 --- a/src/Clerk/BackendAPI/SignUps.cs +++ b/src/Clerk/BackendAPI/SignUps.cs @@ -32,17 +32,17 @@ public interface ISignUps /// Update the sign-up with the given ID /// /// - Task UpdateAsync(string id, UpdateSignUpRequestBody? requestBody = null); + Task UpdateAsync(string id, UpdateSignUpRequestBody requestBody); } public class SignUps: ISignUps { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.2.2"; - private const string _sdkGenVersion = "2.461.4"; + private const string _sdkVersion = "0.2.3"; + private const string _sdkGenVersion = "2.466.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.2.2 2.461.4 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.2.3 2.466.0 v1 Clerk.BackendAPI"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; @@ -55,7 +55,7 @@ public SignUps(ISpeakeasyHttpClient client, Func UpdateAsync(string id, UpdateSignUpRequestBody? requestBody = null) + public async Task UpdateAsync(string id, UpdateSignUpRequestBody requestBody) { var request = new UpdateSignUpRequest() { @@ -68,7 +68,7 @@ public async Task UpdateAsync(string id, UpdateSignUpReque var httpRequest = new HttpRequestMessage(HttpMethod.Patch, urlString); httpRequest.Headers.Add("user-agent", _userAgent); - var serializedBody = RequestBodySerializer.Serialize(request, "RequestBody", "json", false, true); + var serializedBody = RequestBodySerializer.Serialize(request, "RequestBody", "json", false, false); if (serializedBody != null) { httpRequest.Content = serializedBody; diff --git a/src/Clerk/BackendAPI/TestingTokens.cs b/src/Clerk/BackendAPI/TestingTokens.cs index a9a4bdd..12c562e 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.2.2"; - private const string _sdkGenVersion = "2.461.4"; + private const string _sdkVersion = "0.2.3"; + private const string _sdkGenVersion = "2.466.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.2.2 2.461.4 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.2.3 2.466.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 9e81772..fee0161 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.2.2"; - private const string _sdkGenVersion = "2.461.4"; + private const string _sdkVersion = "0.2.3"; + private const string _sdkGenVersion = "2.466.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.2.2 2.461.4 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.2.3 2.466.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 8b62cdd..d96d9f5 100644 --- a/src/Clerk/BackendAPI/Users.cs +++ b/src/Clerk/BackendAPI/Users.cs @@ -171,7 +171,7 @@ public interface IUsers /// You can remove metadata keys at any level by setting their value to `null`. /// /// - Task UpdateMetadataAsync(string userId, UpdateUserMetadataRequestBody? requestBody = null); + Task UpdateMetadataAsync(string userId, UpdateUserMetadataRequestBody requestBody); /// /// Retrieve the OAuth access token of a user @@ -209,7 +209,7 @@ public interface IUsers /// Useful for custom auth flows and re-verification. /// /// - Task VerifyPasswordAsync(string userId, VerifyPasswordRequestBody? requestBody = null); + Task VerifyPasswordAsync(string userId, VerifyPasswordRequestBody requestBody); /// /// Verify a TOTP or backup code for a user @@ -221,7 +221,7 @@ public interface IUsers /// Useful for custom auth flows and re-verification. /// /// - Task VerifyTotpAsync(string userId, VerifyTOTPRequestBody? requestBody = null); + Task VerifyTotpAsync(string userId, VerifyTOTPRequestBody requestBody); /// /// Disable a user's MFA methods @@ -288,10 +288,10 @@ public class Users: IUsers { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.2.2"; - private const string _sdkGenVersion = "2.461.4"; + private const string _sdkVersion = "0.2.3"; + private const string _sdkGenVersion = "2.466.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.2.2 2.461.4 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.2.3 2.466.0 v1 Clerk.BackendAPI"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; @@ -1393,7 +1393,7 @@ public async Task DeleteProfileImageAsync(string throw new Models.Errors.SDKError("Unknown status code received", httpRequest, httpResponse); } - public async Task UpdateMetadataAsync(string userId, UpdateUserMetadataRequestBody? requestBody = null) + public async Task UpdateMetadataAsync(string userId, UpdateUserMetadataRequestBody requestBody) { var request = new UpdateUserMetadataRequest() { @@ -1406,7 +1406,7 @@ public async Task UpdateMetadataAsync(string userId, var httpRequest = new HttpRequestMessage(HttpMethod.Patch, urlString); httpRequest.Headers.Add("user-agent", _userAgent); - var serializedBody = RequestBodySerializer.Serialize(request, "RequestBody", "json", false, true); + var serializedBody = RequestBodySerializer.Serialize(request, "RequestBody", "json", false, false); if (serializedBody != null) { httpRequest.Content = serializedBody; @@ -1766,7 +1766,7 @@ public async Task GetOrganizationInvita throw new Models.Errors.SDKError("Unknown status code received", httpRequest, httpResponse); } - public async Task VerifyPasswordAsync(string userId, VerifyPasswordRequestBody? requestBody = null) + public async Task VerifyPasswordAsync(string userId, VerifyPasswordRequestBody requestBody) { var request = new VerifyPasswordRequest() { @@ -1779,7 +1779,7 @@ public async Task VerifyPasswordAsync(string userId, Ver var httpRequest = new HttpRequestMessage(HttpMethod.Post, urlString); httpRequest.Headers.Add("user-agent", _userAgent); - var serializedBody = RequestBodySerializer.Serialize(request, "RequestBody", "json", false, true); + var serializedBody = RequestBodySerializer.Serialize(request, "RequestBody", "json", false, false); if (serializedBody != null) { httpRequest.Content = serializedBody; @@ -1863,7 +1863,7 @@ public async Task VerifyPasswordAsync(string userId, Ver throw new Models.Errors.SDKError("Unknown status code received", httpRequest, httpResponse); } - public async Task VerifyTotpAsync(string userId, VerifyTOTPRequestBody? requestBody = null) + public async Task VerifyTotpAsync(string userId, VerifyTOTPRequestBody requestBody) { var request = new VerifyTOTPRequest() { @@ -1876,7 +1876,7 @@ public async Task VerifyTotpAsync(string userId, VerifyTOTPR var httpRequest = new HttpRequestMessage(HttpMethod.Post, urlString); httpRequest.Headers.Add("user-agent", _userAgent); - var serializedBody = RequestBodySerializer.Serialize(request, "RequestBody", "json", false, true); + var serializedBody = RequestBodySerializer.Serialize(request, "RequestBody", "json", false, false); if (serializedBody != null) { httpRequest.Content = serializedBody; diff --git a/src/Clerk/BackendAPI/Webhooks.cs b/src/Clerk/BackendAPI/Webhooks.cs index a9a87c3..569c419 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.2.2"; - private const string _sdkGenVersion = "2.461.4"; + private const string _sdkVersion = "0.2.3"; + private const string _sdkGenVersion = "2.466.0"; private const string _openapiDocVersion = "v1"; - private const string _userAgent = "speakeasy-sdk/csharp 0.2.2 2.461.4 v1 Clerk.BackendAPI"; + private const string _userAgent = "speakeasy-sdk/csharp 0.2.3 2.466.0 v1 Clerk.BackendAPI"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource;