From 624864d896aa9c9f84fe6692541fbad837d33cc9 Mon Sep 17 00:00:00 2001
From: aeneasr <3372410+aeneasr@users.noreply.github.com>
Date: Tue, 14 Nov 2023 12:56:17 +0000
Subject: [PATCH] chore: regenerate OpenAPI client v1.3.0
---
clients/client/dart/README.md | 4 +-
clients/client/dart/pubspec.yaml | 2 +-
clients/client/dotnet/Ory.Client.sln | 10 +-
clients/client/dotnet/README.md | 4 +-
.../Ory.Client.Test/Api/CourierApiTests.cs | 2 +-
.../Ory.Client.Test/Api/FrontendApiTests.cs | 2 +-
.../Ory.Client.Test/Api/IdentityApiTests.cs | 2 +-
.../src/Ory.Client.Test/Api/JwkApiTests.cs | 2 +-
.../Ory.Client.Test/Api/MetadataApiTests.cs | 2 +-
.../src/Ory.Client.Test/Api/OAuth2ApiTests.cs | 2 +-
.../src/Ory.Client.Test/Api/OidcApiTests.cs | 2 +-
.../Ory.Client.Test/Api/PermissionApiTests.cs | 2 +-
.../Ory.Client.Test/Api/ProjectApiTests.cs | 2 +-
.../Api/RelationshipApiTests.cs | 2 +-
.../Ory.Client.Test/Api/WellknownApiTests.cs | 2 +-
...tAcceptOAuth2ConsentRequestSessionTests.cs | 2 +-
.../ClientAcceptOAuth2ConsentRequestTests.cs | 2 +-
.../ClientAcceptOAuth2LoginRequestTests.cs | 2 +-
.../ClientActiveProjectInConsoleTests.cs | 2 +-
.../ClientAttributesCountDatapointTests.cs | 2 +-
.../ClientAuthenticatorAssuranceLevelTests.cs | 2 +-
...ClientBatchPatchIdentitiesResponseTests.cs | 2 +-
.../Model/ClientCheckOplSyntaxResultTests.cs | 2 +-
.../Model/ClientCheckPermissionResultTests.cs | 2 +-
.../Model/ClientCloudAccountTests.cs | 2 +-
...ClientConsistencyRequestParametersTests.cs | 2 +-
...ientContinueWithSetOrySessionTokenTests.cs | 2 +-
.../Model/ClientContinueWithTests.cs | 2 +-
...ientContinueWithVerificationUiFlowTests.cs | 2 +-
.../ClientContinueWithVerificationUiTests.cs | 2 +-
.../Model/ClientCourierMessageStatusTests.cs | 2 +-
.../Model/ClientCourierMessageTypeTests.cs | 2 +-
.../ClientCreateCustomDomainBodyTests.cs | 2 +-
.../Model/ClientCreateIdentityBodyTests.cs | 2 +-
.../Model/ClientCreateInviteResponseTests.cs | 2 +-
.../Model/ClientCreateJsonWebKeySetTests.cs | 2 +-
.../Model/ClientCreateProjectBodyTests.cs | 2 +-
.../Model/ClientCreateProjectBrandingTests.cs | 2 +-
...lientCreateProjectMemberInviteBodyTests.cs | 2 +-
...tCreateRecoveryCodeForIdentityBodyTests.cs | 2 +-
...tCreateRecoveryLinkForIdentityBodyTests.cs | 2 +-
.../ClientCreateRelationshipBodyTests.cs | 2 +-
.../ClientCreateSubscriptionBodyTests.cs | 2 +-
...ateVerifiableCredentialRequestBodyTests.cs | 2 +-
.../ClientCredentialSupportedDraft00Tests.cs | 2 +-
.../Model/ClientCustomDomainTests.cs | 2 +-
.../Model/ClientDeleteMySessionsCountTests.cs | 2 +-
.../Model/ClientEmailTemplateDataBodyTests.cs | 2 +-
.../Model/ClientEmailTemplateDataTests.cs | 2 +-
...nticatorAssuranceLevelNotSatisfiedTests.cs | 2 +-
...ErrorBrowserLocationChangeRequiredTests.cs | 2 +-
.../Model/ClientErrorFlowReplacedTests.cs | 2 +-
.../Model/ClientErrorGenericTests.cs | 2 +-
.../Model/ClientErrorOAuth2Tests.cs | 2 +-
.../ClientExpandedPermissionTreeTests.cs | 2 +-
.../Model/ClientFlowErrorTests.cs | 2 +-
.../Model/ClientGenericErrorContentTests.cs | 2 +-
.../Model/ClientGenericErrorTests.cs | 2 +-
.../Model/ClientGenericUsageTests.cs | 2 +-
.../ClientGetAttributesCountResponseTests.cs | 2 +-
...ntGetManagedIdentitySchemaLocationTests.cs | 2 +-
.../ClientGetOrganizationResponseTests.cs | 2 +-
.../ClientGetProjectMetricsResponseTests.cs | 2 +-
.../ClientGetSessionActivityResponseTests.cs | 2 +-
.../Model/ClientHealthNotReadyStatusTests.cs | 2 +-
.../Model/ClientHealthStatusTests.cs | 2 +-
.../ClientIdentityCredentialsCodeTests.cs | 2 +-
...entIdentityCredentialsOidcProviderTests.cs | 2 +-
.../ClientIdentityCredentialsOidcTests.cs | 2 +-
.../ClientIdentityCredentialsPasswordTests.cs | 2 +-
.../Model/ClientIdentityCredentialsTests.cs | 2 +-
.../ClientIdentityCredentialsTypeTests.cs | 2 +-
.../Model/ClientIdentityPatchResponseTests.cs | 2 +-
.../Model/ClientIdentityPatchTests.cs | 2 +-
.../ClientIdentitySchemaContainerTests.cs | 2 +-
.../Model/ClientIdentitySchemaPresetTests.cs | 2 +-
.../Model/ClientIdentityStateTests.cs | 2 +-
.../Model/ClientIdentityTests.cs | 2 +-
...yWithCredentialsOidcConfigProviderTests.cs | 2 +-
...tIdentityWithCredentialsOidcConfigTests.cs | 2 +-
.../ClientIdentityWithCredentialsOidcTests.cs | 2 +-
...ntityWithCredentialsPasswordConfigTests.cs | 2 +-
...entIdentityWithCredentialsPasswordTests.cs | 2 +-
.../ClientIdentityWithCredentialsTests.cs | 2 +-
.../Model/ClientInlineObject3Tests.cs | 2 +-
.../Model/ClientInlineResponse2001Tests.cs | 2 +-
.../Model/ClientInlineResponse200Tests.cs | 2 +-
.../Model/ClientInlineResponse503Tests.cs | 2 +-
...ientInternalGetProjectBrandingBodyTests.cs | 2 +-
...WelcomeScreenEnabledForProjectBodyTests.cs | 2 +-
...nternalIsOwnerForProjectBySlugBodyTests.cs | 2 +-
...nalIsOwnerForProjectBySlugResponseTests.cs | 2 +-
...tInternalProvisionMockSubscriptionTests.cs | 2 +-
.../ClientIntrospectedOAuth2TokenTests.cs | 2 +-
.../ClientIsOwnerForProjectBySlugTests.cs | 2 +-
.../Model/ClientJsonPatchTests.cs | 2 +-
.../Model/ClientJsonWebKeySetTests.cs | 2 +-
.../Model/ClientJsonWebKeyTests.cs | 2 +-
.../Model/ClientKetoNamespaceTests.cs | 2 +-
.../ClientListOrganizationsResponseTests.cs | 2 +-
.../Model/ClientLoginFlowStateTests.cs | 2 +-
.../Model/ClientLoginFlowTests.cs | 2 +-
.../Model/ClientLogoutFlowTests.cs | 2 +-
.../Model/ClientManagedIdentitySchemaTests.cs | 2 +-
...agedIdentitySchemaValidationResultTests.cs | 2 +-
.../Model/ClientMemberInviteTests.cs | 2 +-
.../Model/ClientMessageDispatchTests.cs | 2 +-
.../Model/ClientMessageTests.cs | 2 +-
.../Model/ClientMetricsDatapointTests.cs | 2 +-
.../Model/ClientNamespaceTests.cs | 2 +-
.../ClientNeedsPrivilegedSessionErrorTests.cs | 2 +-
...lientNormalizedProjectRevisionHookTests.cs | 2 +-
...lizedProjectRevisionIdentitySchemaTests.cs | 2 +-
.../ClientNormalizedProjectRevisionTests.cs | 2 +-
...dProjectRevisionThirdPartyProviderTests.cs | 2 +-
...edProjectRevisionTokenizerTemplateTests.cs | 2 +-
.../Model/ClientNormalizedProjectTests.cs | 2 +-
.../Model/ClientOAuth2ClientTests.cs | 2 +-
.../ClientOAuth2ClientTokenLifespansTests.cs | 2 +-
...ConsentRequestOpenIDConnectContextTests.cs | 2 +-
.../Model/ClientOAuth2ConsentRequestTests.cs | 2 +-
...lientOAuth2ConsentSessionExpiresAtTests.cs | 2 +-
.../Model/ClientOAuth2ConsentSessionTests.cs | 2 +-
.../Model/ClientOAuth2LoginRequestTests.cs | 2 +-
.../Model/ClientOAuth2LogoutRequestTests.cs | 2 +-
.../Model/ClientOAuth2RedirectToTests.cs | 2 +-
.../Model/ClientOAuth2TokenExchangeTests.cs | 2 +-
.../Model/ClientOidcConfigurationTests.cs | 2 +-
.../Model/ClientOidcUserInfoTests.cs | 2 +-
.../Model/ClientOrganizationBodyTests.cs | 2 +-
.../Model/ClientOrganizationTests.cs | 2 +-
.../Model/ClientPaginationHeadersTests.cs | 2 +-
.../Model/ClientPaginationTests.cs | 2 +-
.../Model/ClientParseErrorTests.cs | 2 +-
.../Model/ClientPatchIdentitiesBodyTests.cs | 2 +-
.../ClientPerformNativeLogoutBodyTests.cs | 2 +-
.../Model/ClientPlanDetailsTests.cs | 2 +-
.../Ory.Client.Test/Model/ClientPlanTests.cs | 2 +-
.../ClientPostCheckPermissionBodyTests.cs | 2 +-
...ientPostCheckPermissionOrErrorBodyTests.cs | 2 +-
.../Model/ClientProjectApiKeyTests.cs | 2 +-
.../Model/ClientProjectBrandingColorsTests.cs | 2 +-
.../Model/ClientProjectBrandingTests.cs | 2 +-
.../Model/ClientProjectBrandingThemeTests.cs | 2 +-
.../Model/ClientProjectCorsTests.cs | 2 +-
.../Model/ClientProjectHostTests.cs | 2 +-
.../Model/ClientProjectMetadataTests.cs | 2 +-
.../ClientProjectServiceIdentityTests.cs | 2 +-
.../Model/ClientProjectServiceOAuth2Tests.cs | 2 +-
.../ClientProjectServicePermissionTests.cs | 2 +-
.../Model/ClientProjectServicesTests.cs | 2 +-
.../Model/ClientProjectTests.cs | 2 +-
.../Model/ClientQuotaUsageTests.cs | 2 +-
.../Model/ClientRFC6749ErrorJsonTests.cs | 2 +-
.../ClientRecoveryCodeForIdentityTests.cs | 2 +-
.../Model/ClientRecoveryFlowStateTests.cs | 2 +-
.../Model/ClientRecoveryFlowTests.cs | 2 +-
.../ClientRecoveryIdentityAddressTests.cs | 2 +-
.../ClientRecoveryLinkForIdentityTests.cs | 2 +-
.../Model/ClientRegistrationFlowStateTests.cs | 2 +-
.../Model/ClientRegistrationFlowTests.cs | 2 +-
.../Model/ClientRejectOAuth2RequestTests.cs | 2 +-
.../Model/ClientRelationQueryTests.cs | 2 +-
.../ClientRelationshipNamespacesTests.cs | 2 +-
.../Model/ClientRelationshipPatchTests.cs | 2 +-
.../Model/ClientRelationshipTests.cs | 2 +-
.../Model/ClientRelationshipsTests.cs | 2 +-
.../Model/ClientSchemaPatchTests.cs | 2 +-
.../ClientSelfServiceFlowExpiredErrorTests.cs | 2 +-
.../ClientSessionActivityDatapointTests.cs | 2 +-
.../ClientSessionAuthenticationMethodTests.cs | 2 +-
.../Model/ClientSessionDeviceTests.cs | 2 +-
.../Model/ClientSessionTests.cs | 2 +-
...lientSetActiveProjectInConsoleBodyTests.cs | 2 +-
.../Model/ClientSetCustomDomainBodyTests.cs | 2 +-
.../ClientSetProjectBrandingThemeBodyTests.cs | 2 +-
.../Model/ClientSetProjectTests.cs | 2 +-
.../Model/ClientSettingsFlowStateTests.cs | 2 +-
.../Model/ClientSettingsFlowTests.cs | 2 +-
.../Model/ClientSourcePositionTests.cs | 2 +-
.../Model/ClientStripeCustomerTests.cs | 2 +-
.../Model/ClientSubjectSetTests.cs | 2 +-
.../Model/ClientSubscriptionTests.cs | 2 +-
...ientSuccessfulCodeExchangeResponseTests.cs | 2 +-
.../Model/ClientSuccessfulNativeLoginTests.cs | 2 +-
...ClientSuccessfulNativeRegistrationTests.cs | 2 +-
.../ClientSuccessfulProjectUpdateTests.cs | 2 +-
.../ClientTokenPaginationHeadersTests.cs | 2 +-
...ntTokenPaginationRequestParametersTests.cs | 2 +-
...ientTokenPaginationResponseHeadersTests.cs | 2 +-
.../Model/ClientTokenPaginationTests.cs | 2 +-
.../ClientTrustOAuth2JwtGrantIssuerTests.cs | 2 +-
.../ClientTrustedOAuth2JwtGrantIssuerTests.cs | 2 +-
...entTrustedOAuth2JwtGrantJsonWebKeyTests.cs | 2 +-
.../Model/ClientUiContainerTests.cs | 2 +-
.../ClientUiNodeAnchorAttributesTests.cs | 2 +-
.../Model/ClientUiNodeAttributesTests.cs | 2 +-
.../Model/ClientUiNodeImageAttributesTests.cs | 2 +-
.../Model/ClientUiNodeInputAttributesTests.cs | 2 +-
.../Model/ClientUiNodeMetaTests.cs | 2 +-
.../ClientUiNodeScriptAttributesTests.cs | 2 +-
.../Model/ClientUiNodeTests.cs | 2 +-
.../Model/ClientUiNodeTextAttributesTests.cs | 2 +-
.../Model/ClientUiTextTests.cs | 2 +-
.../Model/ClientUpdateIdentityBodyTests.cs | 2 +-
.../Model/ClientUpdateLoginFlowBodyTests.cs | 2 +-
...lientUpdateLoginFlowWithCodeMethodTests.cs | 2 +-
...ateLoginFlowWithLookupSecretMethodTests.cs | 2 +-
...lientUpdateLoginFlowWithOidcMethodTests.cs | 2 +-
...tUpdateLoginFlowWithPasswordMethodTests.cs | 2 +-
...lientUpdateLoginFlowWithTotpMethodTests.cs | 2 +-
...tUpdateLoginFlowWithWebAuthnMethodTests.cs | 2 +-
.../ClientUpdateRecoveryFlowBodyTests.cs | 2 +-
...ntUpdateRecoveryFlowWithCodeMethodTests.cs | 2 +-
...ntUpdateRecoveryFlowWithLinkMethodTests.cs | 2 +-
.../ClientUpdateRegistrationFlowBodyTests.cs | 2 +-
...dateRegistrationFlowWithCodeMethodTests.cs | 2 +-
...dateRegistrationFlowWithOidcMethodTests.cs | 2 +-
...RegistrationFlowWithPasswordMethodTests.cs | 2 +-
...RegistrationFlowWithWebAuthnMethodTests.cs | 2 +-
.../ClientUpdateSettingsFlowBodyTests.cs | 2 +-
...UpdateSettingsFlowWithLookupMethodTests.cs | 2 +-
...ntUpdateSettingsFlowWithOidcMethodTests.cs | 2 +-
...dateSettingsFlowWithPasswordMethodTests.cs | 2 +-
...pdateSettingsFlowWithProfileMethodTests.cs | 2 +-
...ntUpdateSettingsFlowWithTotpMethodTests.cs | 2 +-
...dateSettingsFlowWithWebAuthnMethodTests.cs | 2 +-
.../ClientUpdateSubscriptionBodyTests.cs | 2 +-
.../ClientUpdateVerificationFlowBodyTests.cs | 2 +-
...dateVerificationFlowWithCodeMethodTests.cs | 2 +-
...dateVerificationFlowWithLinkMethodTests.cs | 2 +-
.../Ory.Client.Test/Model/ClientUsageTests.cs | 2 +-
...erifiableCredentialPrimingResponseTests.cs | 2 +-
.../ClientVerifiableCredentialProofTests.cs | 2 +-
...ClientVerifiableCredentialResponseTests.cs | 2 +-
.../ClientVerifiableIdentityAddressTests.cs | 2 +-
.../Model/ClientVerificationFlowStateTests.cs | 2 +-
.../Model/ClientVerificationFlowTests.cs | 2 +-
.../Model/ClientVersionTests.cs | 2 +-
.../Model/ClientWarningTests.cs | 2 +-
.../dotnet/src/Ory.Client/Api/CourierApi.cs | 2 +-
.../dotnet/src/Ory.Client/Api/FrontendApi.cs | 2 +-
.../dotnet/src/Ory.Client/Api/IdentityApi.cs | 2 +-
.../dotnet/src/Ory.Client/Api/JwkApi.cs | 2 +-
.../dotnet/src/Ory.Client/Api/MetadataApi.cs | 2 +-
.../dotnet/src/Ory.Client/Api/OAuth2Api.cs | 2 +-
.../dotnet/src/Ory.Client/Api/OidcApi.cs | 2 +-
.../src/Ory.Client/Api/PermissionApi.cs | 2 +-
.../dotnet/src/Ory.Client/Api/ProjectApi.cs | 2 +-
.../src/Ory.Client/Api/RelationshipApi.cs | 2 +-
.../dotnet/src/Ory.Client/Api/WellknownApi.cs | 2 +-
.../dotnet/src/Ory.Client/Client/ApiClient.cs | 2 +-
.../src/Ory.Client/Client/ApiException.cs | 2 +-
.../src/Ory.Client/Client/ApiResponse.cs | 2 +-
.../src/Ory.Client/Client/ClientUtils.cs | 2 +-
.../src/Ory.Client/Client/Configuration.cs | 10 +-
.../src/Ory.Client/Client/ExceptionFactory.cs | 2 +-
.../Ory.Client/Client/GlobalConfiguration.cs | 2 +-
.../src/Ory.Client/Client/HttpMethod.cs | 2 +-
.../src/Ory.Client/Client/IApiAccessor.cs | 2 +-
.../Ory.Client/Client/IAsynchronousClient.cs | 2 +-
.../Client/IReadableConfiguration.cs | 2 +-
.../Ory.Client/Client/ISynchronousClient.cs | 2 +-
.../dotnet/src/Ory.Client/Client/Multimap.cs | 2 +-
.../Ory.Client/Client/OpenAPIDateConverter.cs | 2 +-
.../src/Ory.Client/Client/RequestOptions.cs | 2 +-
.../Ory.Client/Client/RetryConfiguration.cs | 2 +-
.../Ory.Client/Model/AbstractOpenAPISchema.cs | 2 +-
.../Model/ClientAcceptOAuth2ConsentRequest.cs | 2 +-
...ClientAcceptOAuth2ConsentRequestSession.cs | 2 +-
.../Model/ClientAcceptOAuth2LoginRequest.cs | 2 +-
.../Model/ClientActiveProjectInConsole.cs | 2 +-
.../Model/ClientAttributesCountDatapoint.cs | 2 +-
.../ClientAuthenticatorAssuranceLevel.cs | 2 +-
.../ClientBatchPatchIdentitiesResponse.cs | 2 +-
.../Model/ClientCheckOplSyntaxResult.cs | 2 +-
.../Model/ClientCheckPermissionResult.cs | 2 +-
.../Ory.Client/Model/ClientCloudAccount.cs | 2 +-
.../ClientConsistencyRequestParameters.cs | 2 +-
.../Ory.Client/Model/ClientContinueWith.cs | 2 +-
.../ClientContinueWithSetOrySessionToken.cs | 2 +-
.../Model/ClientContinueWithVerificationUi.cs | 2 +-
.../ClientContinueWithVerificationUiFlow.cs | 2 +-
.../Model/ClientCourierMessageStatus.cs | 2 +-
.../Model/ClientCourierMessageType.cs | 2 +-
.../Model/ClientCreateCustomDomainBody.cs | 2 +-
.../Model/ClientCreateIdentityBody.cs | 2 +-
.../Model/ClientCreateInviteResponse.cs | 2 +-
.../Model/ClientCreateJsonWebKeySet.cs | 2 +-
.../Model/ClientCreateProjectBody.cs | 2 +-
.../Model/ClientCreateProjectBranding.cs | 2 +-
.../ClientCreateProjectMemberInviteBody.cs | 2 +-
...ClientCreateRecoveryCodeForIdentityBody.cs | 2 +-
...ClientCreateRecoveryLinkForIdentityBody.cs | 2 +-
.../Model/ClientCreateRelationshipBody.cs | 2 +-
.../Model/ClientCreateSubscriptionBody.cs | 2 +-
...ntCreateVerifiableCredentialRequestBody.cs | 2 +-
.../Model/ClientCredentialSupportedDraft00.cs | 2 +-
.../Ory.Client/Model/ClientCustomDomain.cs | 2 +-
.../Model/ClientDeleteMySessionsCount.cs | 2 +-
.../Model/ClientEmailTemplateData.cs | 2 +-
.../Model/ClientEmailTemplateDataBody.cs | 2 +-
...AuthenticatorAssuranceLevelNotSatisfied.cs | 2 +-
...lientErrorBrowserLocationChangeRequired.cs | 2 +-
.../Model/ClientErrorFlowReplaced.cs | 2 +-
.../Ory.Client/Model/ClientErrorGeneric.cs | 2 +-
.../src/Ory.Client/Model/ClientErrorOAuth2.cs | 2 +-
.../Model/ClientExpandedPermissionTree.cs | 2 +-
.../src/Ory.Client/Model/ClientFlowError.cs | 2 +-
.../Ory.Client/Model/ClientGenericError.cs | 2 +-
.../Model/ClientGenericErrorContent.cs | 2 +-
.../Ory.Client/Model/ClientGenericUsage.cs | 2 +-
.../Model/ClientGetAttributesCountResponse.cs | 2 +-
.../ClientGetManagedIdentitySchemaLocation.cs | 2 +-
.../Model/ClientGetOrganizationResponse.cs | 2 +-
.../Model/ClientGetProjectMetricsResponse.cs | 2 +-
.../Model/ClientGetSessionActivityResponse.cs | 2 +-
.../Model/ClientHealthNotReadyStatus.cs | 2 +-
.../Ory.Client/Model/ClientHealthStatus.cs | 2 +-
.../src/Ory.Client/Model/ClientIdentity.cs | 2 +-
.../Model/ClientIdentityCredentials.cs | 2 +-
.../Model/ClientIdentityCredentialsCode.cs | 2 +-
.../Model/ClientIdentityCredentialsOidc.cs | 2 +-
.../ClientIdentityCredentialsOidcProvider.cs | 2 +-
.../ClientIdentityCredentialsPassword.cs | 2 +-
.../Model/ClientIdentityCredentialsType.cs | 2 +-
.../Ory.Client/Model/ClientIdentityPatch.cs | 2 +-
.../Model/ClientIdentityPatchResponse.cs | 2 +-
.../Model/ClientIdentitySchemaContainer.cs | 2 +-
.../Model/ClientIdentitySchemaPreset.cs | 2 +-
.../Ory.Client/Model/ClientIdentityState.cs | 2 +-
.../Model/ClientIdentityWithCredentials.cs | 2 +-
.../ClientIdentityWithCredentialsOidc.cs | 2 +-
...ClientIdentityWithCredentialsOidcConfig.cs | 2 +-
...entityWithCredentialsOidcConfigProvider.cs | 2 +-
.../ClientIdentityWithCredentialsPassword.cs | 2 +-
...ntIdentityWithCredentialsPasswordConfig.cs | 2 +-
.../Ory.Client/Model/ClientInlineObject3.cs | 2 +-
.../Model/ClientInlineResponse200.cs | 2 +-
.../Model/ClientInlineResponse2001.cs | 2 +-
.../Model/ClientInlineResponse503.cs | 2 +-
.../ClientInternalGetProjectBrandingBody.cs | 2 +-
...lIsAXWelcomeScreenEnabledForProjectBody.cs | 2 +-
...ientInternalIsOwnerForProjectBySlugBody.cs | 2 +-
...InternalIsOwnerForProjectBySlugResponse.cs | 2 +-
...ClientInternalProvisionMockSubscription.cs | 2 +-
.../Model/ClientIntrospectedOAuth2Token.cs | 2 +-
.../Model/ClientIsOwnerForProjectBySlug.cs | 2 +-
.../src/Ory.Client/Model/ClientJsonPatch.cs | 2 +-
.../src/Ory.Client/Model/ClientJsonWebKey.cs | 2 +-
.../Ory.Client/Model/ClientJsonWebKeySet.cs | 2 +-
.../Ory.Client/Model/ClientKetoNamespace.cs | 2 +-
.../Model/ClientListOrganizationsResponse.cs | 2 +-
.../src/Ory.Client/Model/ClientLoginFlow.cs | 2 +-
.../Ory.Client/Model/ClientLoginFlowState.cs | 2 +-
.../src/Ory.Client/Model/ClientLogoutFlow.cs | 2 +-
.../Model/ClientManagedIdentitySchema.cs | 2 +-
...ntManagedIdentitySchemaValidationResult.cs | 2 +-
.../Ory.Client/Model/ClientMemberInvite.cs | 2 +-
.../src/Ory.Client/Model/ClientMessage.cs | 2 +-
.../Ory.Client/Model/ClientMessageDispatch.cs | 2 +-
.../Model/ClientMetricsDatapoint.cs | 2 +-
.../src/Ory.Client/Model/ClientNamespace.cs | 2 +-
.../ClientNeedsPrivilegedSessionError.cs | 2 +-
.../Model/ClientNormalizedProject.cs | 2 +-
.../Model/ClientNormalizedProjectRevision.cs | 2 +-
.../ClientNormalizedProjectRevisionHook.cs | 2 +-
...NormalizedProjectRevisionIdentitySchema.cs | 2 +-
...alizedProjectRevisionThirdPartyProvider.cs | 2 +-
...malizedProjectRevisionTokenizerTemplate.cs | 2 +-
.../Ory.Client/Model/ClientOAuth2Client.cs | 2 +-
.../Model/ClientOAuth2ClientTokenLifespans.cs | 2 +-
.../Model/ClientOAuth2ConsentRequest.cs | 2 +-
...Auth2ConsentRequestOpenIDConnectContext.cs | 2 +-
.../Model/ClientOAuth2ConsentSession.cs | 2 +-
.../ClientOAuth2ConsentSessionExpiresAt.cs | 2 +-
.../Model/ClientOAuth2LoginRequest.cs | 2 +-
.../Model/ClientOAuth2LogoutRequest.cs | 2 +-
.../Model/ClientOAuth2RedirectTo.cs | 2 +-
.../Model/ClientOAuth2TokenExchange.cs | 2 +-
.../Model/ClientOidcConfiguration.cs | 2 +-
.../Ory.Client/Model/ClientOidcUserInfo.cs | 2 +-
.../Ory.Client/Model/ClientOrganization.cs | 2 +-
.../Model/ClientOrganizationBody.cs | 2 +-
.../src/Ory.Client/Model/ClientPagination.cs | 2 +-
.../Model/ClientPaginationHeaders.cs | 2 +-
.../src/Ory.Client/Model/ClientParseError.cs | 2 +-
.../Model/ClientPatchIdentitiesBody.cs | 2 +-
.../Model/ClientPerformNativeLogoutBody.cs | 2 +-
.../dotnet/src/Ory.Client/Model/ClientPlan.cs | 2 +-
.../src/Ory.Client/Model/ClientPlanDetails.cs | 2 +-
.../Model/ClientPostCheckPermissionBody.cs | 2 +-
.../ClientPostCheckPermissionOrErrorBody.cs | 2 +-
.../src/Ory.Client/Model/ClientProject.cs | 2 +-
.../Ory.Client/Model/ClientProjectApiKey.cs | 2 +-
.../Ory.Client/Model/ClientProjectBranding.cs | 2 +-
.../Model/ClientProjectBrandingColors.cs | 2 +-
.../Model/ClientProjectBrandingTheme.cs | 2 +-
.../src/Ory.Client/Model/ClientProjectCors.cs | 2 +-
.../src/Ory.Client/Model/ClientProjectHost.cs | 2 +-
.../Ory.Client/Model/ClientProjectMetadata.cs | 2 +-
.../Model/ClientProjectServiceIdentity.cs | 2 +-
.../Model/ClientProjectServiceOAuth2.cs | 2 +-
.../Model/ClientProjectServicePermission.cs | 2 +-
.../Ory.Client/Model/ClientProjectServices.cs | 2 +-
.../src/Ory.Client/Model/ClientQuotaUsage.cs | 2 +-
.../Model/ClientRFC6749ErrorJson.cs | 2 +-
.../Model/ClientRecoveryCodeForIdentity.cs | 2 +-
.../Ory.Client/Model/ClientRecoveryFlow.cs | 2 +-
.../Model/ClientRecoveryFlowState.cs | 2 +-
.../Model/ClientRecoveryIdentityAddress.cs | 2 +-
.../Model/ClientRecoveryLinkForIdentity.cs | 2 +-
.../Model/ClientRegistrationFlow.cs | 2 +-
.../Model/ClientRegistrationFlowState.cs | 2 +-
.../Model/ClientRejectOAuth2Request.cs | 2 +-
.../Ory.Client/Model/ClientRelationQuery.cs | 2 +-
.../Ory.Client/Model/ClientRelationship.cs | 2 +-
.../Model/ClientRelationshipNamespaces.cs | 2 +-
.../Model/ClientRelationshipPatch.cs | 2 +-
.../Ory.Client/Model/ClientRelationships.cs | 2 +-
.../src/Ory.Client/Model/ClientSchemaPatch.cs | 2 +-
.../ClientSelfServiceFlowExpiredError.cs | 2 +-
.../src/Ory.Client/Model/ClientSession.cs | 2 +-
.../Model/ClientSessionActivityDatapoint.cs | 2 +-
.../ClientSessionAuthenticationMethod.cs | 2 +-
.../Ory.Client/Model/ClientSessionDevice.cs | 2 +-
.../ClientSetActiveProjectInConsoleBody.cs | 2 +-
.../Model/ClientSetCustomDomainBody.cs | 2 +-
.../src/Ory.Client/Model/ClientSetProject.cs | 2 +-
.../ClientSetProjectBrandingThemeBody.cs | 2 +-
.../Ory.Client/Model/ClientSettingsFlow.cs | 2 +-
.../Model/ClientSettingsFlowState.cs | 2 +-
.../Ory.Client/Model/ClientSourcePosition.cs | 2 +-
.../Ory.Client/Model/ClientStripeCustomer.cs | 2 +-
.../src/Ory.Client/Model/ClientSubjectSet.cs | 2 +-
.../Ory.Client/Model/ClientSubscription.cs | 2 +-
.../ClientSuccessfulCodeExchangeResponse.cs | 2 +-
.../Model/ClientSuccessfulNativeLogin.cs | 2 +-
.../ClientSuccessfulNativeRegistration.cs | 2 +-
.../Model/ClientSuccessfulProjectUpdate.cs | 2 +-
.../Ory.Client/Model/ClientTokenPagination.cs | 2 +-
.../Model/ClientTokenPaginationHeaders.cs | 2 +-
.../ClientTokenPaginationRequestParameters.cs | 2 +-
.../ClientTokenPaginationResponseHeaders.cs | 2 +-
.../Model/ClientTrustOAuth2JwtGrantIssuer.cs | 2 +-
.../ClientTrustedOAuth2JwtGrantIssuer.cs | 2 +-
.../ClientTrustedOAuth2JwtGrantJsonWebKey.cs | 2 +-
.../src/Ory.Client/Model/ClientUiContainer.cs | 2 +-
.../src/Ory.Client/Model/ClientUiNode.cs | 2 +-
.../Model/ClientUiNodeAnchorAttributes.cs | 2 +-
.../Model/ClientUiNodeAttributes.cs | 2 +-
.../Model/ClientUiNodeImageAttributes.cs | 2 +-
.../Model/ClientUiNodeInputAttributes.cs | 2 +-
.../src/Ory.Client/Model/ClientUiNodeMeta.cs | 2 +-
.../Model/ClientUiNodeScriptAttributes.cs | 2 +-
.../Model/ClientUiNodeTextAttributes.cs | 2 +-
.../src/Ory.Client/Model/ClientUiText.cs | 2 +-
.../Model/ClientUpdateIdentityBody.cs | 2 +-
.../Model/ClientUpdateLoginFlowBody.cs | 2 +-
.../ClientUpdateLoginFlowWithCodeMethod.cs | 2 +-
...ntUpdateLoginFlowWithLookupSecretMethod.cs | 2 +-
.../ClientUpdateLoginFlowWithOidcMethod.cs | 2 +-
...ClientUpdateLoginFlowWithPasswordMethod.cs | 2 +-
.../ClientUpdateLoginFlowWithTotpMethod.cs | 2 +-
...ClientUpdateLoginFlowWithWebAuthnMethod.cs | 2 +-
.../Model/ClientUpdateRecoveryFlowBody.cs | 2 +-
.../ClientUpdateRecoveryFlowWithCodeMethod.cs | 2 +-
.../ClientUpdateRecoveryFlowWithLinkMethod.cs | 2 +-
.../Model/ClientUpdateRegistrationFlowBody.cs | 2 +-
...entUpdateRegistrationFlowWithCodeMethod.cs | 2 +-
...entUpdateRegistrationFlowWithOidcMethod.cs | 2 +-
...pdateRegistrationFlowWithPasswordMethod.cs | 2 +-
...pdateRegistrationFlowWithWebAuthnMethod.cs | 2 +-
.../Model/ClientUpdateSettingsFlowBody.cs | 2 +-
...lientUpdateSettingsFlowWithLookupMethod.cs | 2 +-
.../ClientUpdateSettingsFlowWithOidcMethod.cs | 2 +-
...entUpdateSettingsFlowWithPasswordMethod.cs | 2 +-
...ientUpdateSettingsFlowWithProfileMethod.cs | 2 +-
.../ClientUpdateSettingsFlowWithTotpMethod.cs | 2 +-
...entUpdateSettingsFlowWithWebAuthnMethod.cs | 2 +-
.../Model/ClientUpdateSubscriptionBody.cs | 2 +-
.../Model/ClientUpdateVerificationFlowBody.cs | 2 +-
...entUpdateVerificationFlowWithCodeMethod.cs | 2 +-
...entUpdateVerificationFlowWithLinkMethod.cs | 2 +-
.../src/Ory.Client/Model/ClientUsage.cs | 2 +-
...ientVerifiableCredentialPrimingResponse.cs | 2 +-
.../Model/ClientVerifiableCredentialProof.cs | 2 +-
.../ClientVerifiableCredentialResponse.cs | 2 +-
.../Model/ClientVerifiableIdentityAddress.cs | 2 +-
.../Model/ClientVerificationFlow.cs | 2 +-
.../Model/ClientVerificationFlowState.cs | 2 +-
.../src/Ory.Client/Model/ClientVersion.cs | 2 +-
.../src/Ory.Client/Model/ClientWarning.cs | 2 +-
.../dotnet/src/Ory.Client/Ory.Client.csproj | 2 +-
clients/client/elixir/README.md | 2 +-
clients/client/elixir/lib/ory/connection.ex | 2 +-
clients/client/elixir/mix.exs | 2 +-
clients/client/elixir/mix.lock | 2 +-
clients/client/go/.openapi-generator/FILES | 33 +-
clients/client/go/.openapi-generator/VERSION | 2 +-
clients/client/go/README.md | 279 +-
clients/client/go/api/openapi.yaml | 4169 ++++++++++-------
clients/client/go/api_courier.go | 95 +-
clients/client/go/api_frontend.go | 1340 +++---
clients/client/go/api_identity.go | 779 +--
clients/client/go/api_jwk.go | 239 +-
clients/client/go/api_metadata.go | 100 +-
clients/client/go/api_o_auth2.go | 1031 ++--
clients/client/go/api_oidc.go | 260 +-
clients/client/go/api_permission.go | 271 +-
clients/client/go/api_project.go | 760 +--
clients/client/go/api_relationship.go | 272 +-
clients/client/go/api_wellknown.go | 39 +-
clients/client/go/client.go | 231 +-
clients/client/go/configuration.go | 12 +-
.../go/docs/{CourierApi.md => CourierAPI.md} | 22 +-
.../docs/{FrontendApi.md => FrontendAPI.md} | 296 +-
.../docs/{IdentityApi.md => IdentityAPI.md} | 174 +-
.../client/go/docs/{JwkApi.md => JwkAPI.md} | 68 +-
.../docs/{MetadataApi.md => MetadataAPI.md} | 32 +-
.../go/docs/{OAuth2Api.md => OAuth2API.md} | 268 +-
.../client/go/docs/{OidcApi.md => OidcAPI.md} | 78 +-
.../{PermissionApi.md => PermissionAPI.md} | 52 +-
.../go/docs/{ProjectApi.md => ProjectAPI.md} | 182 +-
...{RelationshipApi.md => RelationshipAPI.md} | 58 +-
clients/client/go/docs/UiNodeAttributes.md | 8 +-
.../docs/{WellknownApi.md => WellknownAPI.md} | 12 +-
clients/client/go/go.mod | 8 +-
clients/client/go/go.sum | 1544 +-----
.../model_accept_o_auth2_consent_request.go | 71 +-
..._accept_o_auth2_consent_request_session.go | 31 +-
.../go/model_accept_o_auth2_login_request.go | 115 +-
.../go/model_active_project_in_console.go | 31 +-
.../go/model_attributes_count_datapoint.go | 54 +-
.../go/model_authenticator_assurance_level.go | 2 +-
.../model_batch_patch_identities_response.go | 31 +-
.../go/model_check_opl_syntax_result.go | 31 +-
.../go/model_check_permission_result.go | 49 +-
clients/client/go/model_cloud_account.go | 47 +-
.../model_consistency_request_parameters.go | 31 +-
clients/client/go/model_continue_with.go | 6 +-
...del_continue_with_set_ory_session_token.go | 54 +-
.../go/model_continue_with_verification_ui.go | 54 +-
...odel_continue_with_verification_ui_flow.go | 62 +-
.../client/go/model_courier_message_status.go | 2 +-
.../client/go/model_courier_message_type.go | 2 +-
.../go/model_create_custom_domain_body.go | 63 +-
.../client/go/model_create_identity_body.go | 96 +-
.../client/go/model_create_invite_response.go | 54 +-
.../go/model_create_json_web_key_set.go | 59 +-
.../model_create_project_api_key_request.go | 49 +-
.../client/go/model_create_project_body.go | 49 +-
.../go/model_create_project_branding.go | 71 +-
...model_create_project_member_invite_body.go | 31 +-
..._create_recovery_code_for_identity_body.go | 57 +-
..._create_recovery_link_for_identity_body.go | 57 +-
.../go/model_create_relationship_body.go | 63 +-
.../go/model_create_subscription_body.go | 75 +-
...eate_verifiable_credential_request_body.go | 47 +-
.../go/model_credential_supported_draft00.go | 55 +-
clients/client/go/model_custom_domain.go | 111 +-
.../go/model_delete_my_sessions_count.go | 31 +-
.../client/go/model_email_template_data.go | 54 +-
.../go/model_email_template_data_body.go | 54 +-
...enticator_assurance_level_not_satisfied.go | 39 +-
..._error_browser_location_change_required.go | 39 +-
.../client/go/model_error_flow_replaced.go | 39 +-
clients/client/go/model_error_generic.go | 49 +-
clients/client/go/model_error_o_auth2.go | 63 +-
.../go/model_expanded_permission_tree.go | 65 +-
clients/client/go/model_flow_error.go | 75 +-
clients/client/go/model_generic_error.go | 109 +-
.../client/go/model_generic_error_content.go | 63 +-
clients/client/go/model_generic_usage.go | 54 +-
.../go/model_get_attributes_count_response.go | 49 +-
...el_get_managed_identity_schema_location.go | 31 +-
.../go/model_get_organization_response.go | 49 +-
.../go/model_get_project_metrics_response.go | 49 +-
.../go/model_get_session_activity_response.go | 49 +-
.../go/model_get_version_200_response.go | 49 +-
.../go/model_health_not_ready_status.go | 31 +-
clients/client/go/model_health_status.go | 31 +-
clients/client/go/model_identity.go | 132 +-
.../client/go/model_identity_credentials.go | 73 +-
.../go/model_identity_credentials_code.go | 33 +-
.../go/model_identity_credentials_oidc.go | 31 +-
...odel_identity_credentials_oidc_provider.go | 71 +-
.../go/model_identity_credentials_password.go | 31 +-
.../go/model_identity_credentials_type.go | 2 +-
clients/client/go/model_identity_patch.go | 39 +-
.../go/model_identity_patch_response.go | 47 +-
.../go/model_identity_schema_container.go | 41 +-
.../client/go/model_identity_schema_preset.go | 56 +-
clients/client/go/model_identity_state.go | 2 +-
.../go/model_identity_with_credentials.go | 39 +-
.../model_identity_with_credentials_oidc.go | 31 +-
...l_identity_with_credentials_oidc_config.go | 39 +-
...y_with_credentials_oidc_config_provider.go | 54 +-
...odel_identity_with_credentials_password.go | 31 +-
...entity_with_credentials_password_config.go | 39 +-
...odel_internal_get_project_branding_body.go | 31 +-
...welcome_screen_enabled_for_project_body.go | 54 +-
...ernal_is_owner_for_project_by_slug_body.go | 67 +-
...l_is_owner_for_project_by_slug_response.go | 49 +-
...el_internal_provision_mock_subscription.go | 64 +-
.../go/model_introspected_o_auth2_token.go | 155 +-
.../go/model_is_owner_for_project_by_slug.go | 54 +-
.../client/go/model_is_ready_200_response.go | 49 +-
.../client/go/model_is_ready_503_response.go | 49 +-
clients/client/go/model_json_patch.go | 66 +-
clients/client/go/model_json_web_key.go | 168 +-
clients/client/go/model_json_web_key_set.go | 31 +-
clients/client/go/model_keto_namespace.go | 39 +-
.../go/model_list_organizations_response.go | 49 +-
clients/client/go/model_login_flow.go | 151 +-
clients/client/go/model_login_flow_state.go | 2 +-
clients/client/go/model_logout_flow.go | 54 +-
.../go/model_managed_identity_schema.go | 82 +-
...naged_identity_schema_validation_result.go | 39 +-
clients/client/go/model_member_invite.go | 86 +-
clients/client/go/model_message.go | 102 +-
clients/client/go/model_message_dispatch.go | 79 +-
clients/client/go/model_metrics_datapoint.go | 54 +-
clients/client/go/model_namespace.go | 31 +-
.../model_needs_privileged_session_error.go | 57 +-
clients/client/go/model_normalized_project.go | 83 +-
.../go/model_normalized_project_revision.go | 1515 +++---
.../model_normalized_project_revision_hook.go | 182 +-
...alized_project_revision_identity_schema.go | 97 +-
...d_project_revision_third_party_provider.go | 177 +-
...zed_project_revision_tokenizer_template.go | 87 +-
clients/client/go/model_o_auth2_client.go | 337 +-
.../model_o_auth2_client_token_lifespans.go | 43 +-
.../go/model_o_auth2_consent_request.go | 147 +-
...consent_request_open_id_connect_context.go | 65 +-
.../go/model_o_auth2_consent_session.go | 87 +-
...odel_o_auth2_consent_session_expires_at.go | 63 +-
.../client/go/model_o_auth2_login_request.go | 95 +-
.../client/go/model_o_auth2_logout_request.go | 71 +-
.../client/go/model_o_auth2_redirect_to.go | 49 +-
.../client/go/model_o_auth2_token_exchange.go | 71 +-
clients/client/go/model_oidc_configuration.go | 265 +-
clients/client/go/model_oidc_user_info.go | 175 +-
clients/client/go/model_organization.go | 74 +-
clients/client/go/model_organization_body.go | 39 +-
clients/client/go/model_pagination.go | 39 +-
clients/client/go/model_pagination_headers.go | 39 +-
clients/client/go/model_parse_error.go | 47 +-
.../client/go/model_patch_identities_body.go | 31 +-
.../go/model_perform_native_logout_body.go | 49 +-
clients/client/go/model_plan.go | 54 +-
clients/client/go/model_plan_details.go | 79 +-
.../go/model_post_check_permission_body.go | 63 +-
...del_post_check_permission_or_error_body.go | 63 +-
clients/client/go/model_project.go | 84 +-
clients/client/go/model_project_api_key.go | 91 +-
clients/client/go/model_project_branding.go | 74 +-
.../go/model_project_branding_colors.go | 255 +-
.../client/go/model_project_branding_theme.go | 333 +-
clients/client/go/model_project_cors.go | 54 +-
clients/client/go/model_project_host.go | 59 +-
clients/client/go/model_project_metadata.go | 86 +-
.../go/model_project_service_identity.go | 51 +-
.../go/model_project_service_o_auth2.go | 51 +-
.../go/model_project_service_permission.go | 51 +-
clients/client/go/model_project_services.go | 47 +-
clients/client/go/model_quota_usage.go | 74 +-
.../go/model_recovery_code_for_identity.go | 62 +-
clients/client/go/model_recovery_flow.go | 93 +-
.../client/go/model_recovery_flow_state.go | 2 +-
.../go/model_recovery_identity_address.go | 75 +-
.../go/model_recovery_link_for_identity.go | 57 +-
clients/client/go/model_registration_flow.go | 129 +-
.../go/model_registration_flow_state.go | 2 +-
.../client/go/model_reject_o_auth2_request.go | 63 +-
clients/client/go/model_relation_query.go | 63 +-
clients/client/go/model_relationship.go | 75 +-
.../go/model_relationship_namespaces.go | 31 +-
clients/client/go/model_relationship_patch.go | 39 +-
clients/client/go/model_relationships.go | 39 +-
clients/client/go/model_rfc6749_error_json.go | 63 +-
clients/client/go/model_schema_patch.go | 56 +-
.../model_self_service_flow_expired_error.go | 55 +-
clients/client/go/model_session.go | 121 +-
.../go/model_session_activity_datapoint.go | 59 +-
.../go/model_session_authentication_method.go | 63 +-
clients/client/go/model_session_device.go | 73 +-
...odel_set_active_project_in_console_body.go | 49 +-
.../client/go/model_set_custom_domain_body.go | 63 +-
clients/client/go/model_set_project.go | 64 +-
.../model_set_project_branding_theme_body.go | 71 +-
clients/client/go/model_settings_flow.go | 106 +-
.../client/go/model_settings_flow_state.go | 2 +-
clients/client/go/model_source_position.go | 39 +-
clients/client/go/model_stripe_customer.go | 31 +-
clients/client/go/model_subject_set.go | 59 +-
clients/client/go/model_subscription.go | 109 +-
...model_successful_code_exchange_response.go | 57 +-
.../go/model_successful_native_login.go | 57 +-
.../model_successful_native_registration.go | 73 +-
.../go/model_successful_project_update.go | 54 +-
clients/client/go/model_token_pagination.go | 39 +-
.../go/model_token_pagination_headers.go | 39 +-
...del_token_pagination_request_parameters.go | 39 +-
...model_token_pagination_response_headers.go | 39 +-
.../model_trust_o_auth2_jwt_grant_issuer.go | 80 +-
.../model_trusted_o_auth2_jwt_grant_issuer.go | 87 +-
..._trusted_o_auth2_jwt_grant_json_web_key.go | 39 +-
clients/client/go/model_ui_container.go | 67 +-
clients/client/go/model_ui_node.go | 69 +-
.../go/model_ui_node_anchor_attributes.go | 64 +-
clients/client/go/model_ui_node_attributes.go | 6 +-
.../go/model_ui_node_image_attributes.go | 69 +-
.../go/model_ui_node_input_attributes.go | 108 +-
clients/client/go/model_ui_node_meta.go | 31 +-
.../go/model_ui_node_script_attributes.go | 89 +-
.../go/model_ui_node_text_attributes.go | 59 +-
clients/client/go/model_ui_text.go | 69 +-
.../client/go/model_update_identity_body.go | 77 +-
.../client/go/model_update_login_flow_body.go | 6 +-
...odel_update_login_flow_with_code_method.go | 78 +-
...te_login_flow_with_lookup_secret_method.go | 62 +-
...odel_update_login_flow_with_oidc_method.go | 98 +-
..._update_login_flow_with_password_method.go | 75 +-
...odel_update_login_flow_with_totp_method.go | 62 +-
...update_login_flow_with_web_authn_method.go | 70 +-
.../go/model_update_recovery_flow_body.go | 6 +-
...l_update_recovery_flow_with_code_method.go | 73 +-
...l_update_recovery_flow_with_link_method.go | 62 +-
.../go/model_update_registration_flow_body.go | 6 +-
...date_registration_flow_with_code_method.go | 90 +-
...date_registration_flow_with_oidc_method.go | 108 +-
..._registration_flow_with_password_method.go | 79 +-
...registration_flow_with_web_authn_method.go | 90 +-
.../go/model_update_settings_flow_body.go | 6 +-
...update_settings_flow_with_lookup_method.go | 89 +-
...l_update_settings_flow_with_oidc_method.go | 93 +-
...date_settings_flow_with_password_method.go | 62 +-
...pdate_settings_flow_with_profile_method.go | 64 +-
...l_update_settings_flow_with_totp_method.go | 73 +-
...ate_settings_flow_with_web_authn_method.go | 81 +-
.../go/model_update_subscription_body.go | 62 +-
.../go/model_update_verification_flow_body.go | 6 +-
...date_verification_flow_with_code_method.go | 73 +-
...date_verification_flow_with_link_method.go | 62 +-
clients/client/go/model_usage.go | 31 +-
..._verifiable_credential_priming_response.go | 87 +-
.../go/model_verifiable_credential_proof.go | 39 +-
.../model_verifiable_credential_response.go | 39 +-
.../go/model_verifiable_identity_address.go | 96 +-
clients/client/go/model_verification_flow.go | 102 +-
.../go/model_verification_flow_state.go | 2 +-
clients/client/go/model_version.go | 31 +-
clients/client/go/model_warning.go | 39 +-
clients/client/go/response.go | 2 +-
clients/client/go/test/api_courier_test.go | 51 +
clients/client/go/test/api_frontend_test.go | 384 ++
clients/client/go/test/api_identity_test.go | 260 +
clients/client/go/test/api_jwk_test.go | 124 +
clients/client/go/test/api_metadata_test.go | 61 +
clients/client/go/test/api_o_auth2_test.go | 368 ++
clients/client/go/test/api_oidc_test.go | 125 +
clients/client/go/test/api_permission_test.go | 85 +
clients/client/go/test/api_project_test.go | 283 ++
.../client/go/test/api_relationship_test.go | 95 +
clients/client/go/test/api_wellknown_test.go | 37 +
clients/client/go/utils.go | 21 +-
clients/client/java/README.md | 10 +-
clients/client/java/api/openapi.yaml | 2 +-
clients/client/java/build.gradle | 2 +-
clients/client/java/build.sbt | 2 +-
.../src/main/java/sh/ory/ApiCallback.java | 2 +-
.../java/src/main/java/sh/ory/ApiClient.java | 4 +-
.../src/main/java/sh/ory/ApiException.java | 4 +-
.../src/main/java/sh/ory/ApiResponse.java | 2 +-
.../src/main/java/sh/ory/Configuration.java | 4 +-
.../java/sh/ory/GzipRequestInterceptor.java | 2 +-
.../java/src/main/java/sh/ory/JSON.java | 2 +-
.../java/src/main/java/sh/ory/Pair.java | 4 +-
.../main/java/sh/ory/ProgressRequestBody.java | 2 +-
.../java/sh/ory/ProgressResponseBody.java | 2 +-
.../java/src/main/java/sh/ory/StringUtil.java | 4 +-
.../src/main/java/sh/ory/api/CourierApi.java | 2 +-
.../src/main/java/sh/ory/api/FrontendApi.java | 2 +-
.../src/main/java/sh/ory/api/IdentityApi.java | 2 +-
.../java/src/main/java/sh/ory/api/JwkApi.java | 2 +-
.../src/main/java/sh/ory/api/MetadataApi.java | 2 +-
.../src/main/java/sh/ory/api/OAuth2Api.java | 2 +-
.../src/main/java/sh/ory/api/OidcApi.java | 2 +-
.../main/java/sh/ory/api/PermissionApi.java | 2 +-
.../src/main/java/sh/ory/api/ProjectApi.java | 2 +-
.../main/java/sh/ory/api/RelationshipApi.java | 2 +-
.../main/java/sh/ory/api/WellknownApi.java | 2 +-
.../src/main/java/sh/ory/auth/ApiKeyAuth.java | 4 +-
.../main/java/sh/ory/auth/Authentication.java | 2 +-
.../main/java/sh/ory/auth/HttpBasicAuth.java | 2 +-
.../main/java/sh/ory/auth/HttpBearerAuth.java | 4 +-
.../java/src/main/java/sh/ory/auth/OAuth.java | 4 +-
.../src/main/java/sh/ory/auth/OAuthFlow.java | 4 +-
.../sh/ory/model/AbstractOpenApiSchema.java | 4 +-
.../ory/model/AcceptOAuth2ConsentRequest.java | 4 +-
.../AcceptOAuth2ConsentRequestSession.java | 4 +-
.../ory/model/AcceptOAuth2LoginRequest.java | 4 +-
.../sh/ory/model/ActiveProjectInConsole.java | 4 +-
.../ory/model/AttributesCountDatapoint.java | 4 +-
.../model/AuthenticatorAssuranceLevel.java | 2 +-
.../model/BatchPatchIdentitiesResponse.java | 4 +-
.../sh/ory/model/CheckOplSyntaxResult.java | 4 +-
.../sh/ory/model/CheckPermissionResult.java | 4 +-
.../main/java/sh/ory/model/CloudAccount.java | 4 +-
.../model/ConsistencyRequestParameters.java | 4 +-
.../main/java/sh/ory/model/ContinueWith.java | 4 +-
.../model/ContinueWithSetOrySessionToken.java | 4 +-
.../ory/model/ContinueWithVerificationUi.java | 4 +-
.../model/ContinueWithVerificationUiFlow.java | 4 +-
.../sh/ory/model/CourierMessageStatus.java | 2 +-
.../java/sh/ory/model/CourierMessageType.java | 2 +-
.../sh/ory/model/CreateCustomDomainBody.java | 4 +-
.../java/sh/ory/model/CreateIdentityBody.java | 4 +-
.../sh/ory/model/CreateInviteResponse.java | 4 +-
.../sh/ory/model/CreateJsonWebKeySet.java | 4 +-
.../ory/model/CreateProjectApiKeyRequest.java | 4 +-
.../java/sh/ory/model/CreateProjectBody.java | 4 +-
.../sh/ory/model/CreateProjectBranding.java | 4 +-
.../model/CreateProjectMemberInviteBody.java | 4 +-
.../CreateRecoveryCodeForIdentityBody.java | 4 +-
.../CreateRecoveryLinkForIdentityBody.java | 4 +-
.../sh/ory/model/CreateRelationshipBody.java | 4 +-
.../sh/ory/model/CreateSubscriptionBody.java | 4 +-
...CreateVerifiableCredentialRequestBody.java | 4 +-
.../ory/model/CredentialSupportedDraft00.java | 4 +-
.../main/java/sh/ory/model/CustomDomain.java | 4 +-
.../sh/ory/model/DeleteMySessionsCount.java | 4 +-
.../java/sh/ory/model/EmailTemplateData.java | 4 +-
.../sh/ory/model/EmailTemplateDataBody.java | 4 +-
...thenticatorAssuranceLevelNotSatisfied.java | 4 +-
.../ErrorBrowserLocationChangeRequired.java | 4 +-
.../java/sh/ory/model/ErrorFlowReplaced.java | 4 +-
.../main/java/sh/ory/model/ErrorGeneric.java | 4 +-
.../main/java/sh/ory/model/ErrorOAuth2.java | 4 +-
.../sh/ory/model/ExpandedPermissionTree.java | 4 +-
.../src/main/java/sh/ory/model/FlowError.java | 4 +-
.../main/java/sh/ory/model/GenericError.java | 4 +-
.../sh/ory/model/GenericErrorContent.java | 4 +-
.../main/java/sh/ory/model/GenericUsage.java | 4 +-
.../ory/model/GetAttributesCountResponse.java | 4 +-
.../GetManagedIdentitySchemaLocation.java | 4 +-
.../sh/ory/model/GetOrganizationResponse.java | 4 +-
.../ory/model/GetProjectMetricsResponse.java | 4 +-
.../ory/model/GetSessionActivityResponse.java | 4 +-
.../sh/ory/model/GetVersion200Response.java | 4 +-
.../sh/ory/model/HealthNotReadyStatus.java | 4 +-
.../main/java/sh/ory/model/HealthStatus.java | 4 +-
.../src/main/java/sh/ory/model/Identity.java | 4 +-
.../sh/ory/model/IdentityCredentials.java | 4 +-
.../sh/ory/model/IdentityCredentialsCode.java | 4 +-
.../sh/ory/model/IdentityCredentialsOidc.java | 4 +-
.../IdentityCredentialsOidcProvider.java | 4 +-
.../model/IdentityCredentialsPassword.java | 4 +-
.../sh/ory/model/IdentityCredentialsType.java | 2 +-
.../main/java/sh/ory/model/IdentityPatch.java | 4 +-
.../sh/ory/model/IdentityPatchResponse.java | 4 +-
.../sh/ory/model/IdentitySchemaContainer.java | 4 +-
.../sh/ory/model/IdentitySchemaPreset.java | 4 +-
.../main/java/sh/ory/model/IdentityState.java | 2 +-
.../sh/ory/model/IdentityWithCredentials.java | 4 +-
.../model/IdentityWithCredentialsOidc.java | 4 +-
.../IdentityWithCredentialsOidcConfig.java | 4 +-
...tityWithCredentialsOidcConfigProvider.java | 4 +-
.../IdentityWithCredentialsPassword.java | 4 +-
...IdentityWithCredentialsPasswordConfig.java | 4 +-
.../model/InternalGetProjectBrandingBody.java | 4 +-
...sAXWelcomeScreenEnabledForProjectBody.java | 4 +-
.../InternalIsOwnerForProjectBySlugBody.java | 4 +-
...ternalIsOwnerForProjectBySlugResponse.java | 4 +-
.../InternalProvisionMockSubscription.java | 4 +-
.../sh/ory/model/IntrospectedOAuth2Token.java | 4 +-
.../sh/ory/model/IsOwnerForProjectBySlug.java | 4 +-
.../java/sh/ory/model/IsReady200Response.java | 4 +-
.../java/sh/ory/model/IsReady503Response.java | 4 +-
.../src/main/java/sh/ory/model/JsonPatch.java | 4 +-
.../main/java/sh/ory/model/JsonWebKey.java | 4 +-
.../main/java/sh/ory/model/JsonWebKeySet.java | 4 +-
.../main/java/sh/ory/model/KetoNamespace.java | 4 +-
.../ory/model/ListOrganizationsResponse.java | 4 +-
.../src/main/java/sh/ory/model/LoginFlow.java | 4 +-
.../java/sh/ory/model/LoginFlowState.java | 2 +-
.../main/java/sh/ory/model/LogoutFlow.java | 4 +-
.../sh/ory/model/ManagedIdentitySchema.java | 4 +-
...ManagedIdentitySchemaValidationResult.java | 4 +-
.../main/java/sh/ory/model/MemberInvite.java | 4 +-
.../src/main/java/sh/ory/model/Message.java | 4 +-
.../java/sh/ory/model/MessageDispatch.java | 4 +-
.../java/sh/ory/model/MetricsDatapoint.java | 4 +-
.../src/main/java/sh/ory/model/Namespace.java | 4 +-
.../model/NeedsPrivilegedSessionError.java | 4 +-
.../java/sh/ory/model/NormalizedProject.java | 4 +-
.../ory/model/NormalizedProjectRevision.java | 4 +-
.../model/NormalizedProjectRevisionHook.java | 4 +-
...rmalizedProjectRevisionIdentitySchema.java | 4 +-
...izedProjectRevisionThirdPartyProvider.java | 4 +-
...lizedProjectRevisionTokenizerTemplate.java | 4 +-
.../main/java/sh/ory/model/OAuth2Client.java | 4 +-
.../ory/model/OAuth2ClientTokenLifespans.java | 4 +-
.../sh/ory/model/OAuth2ConsentRequest.java | 4 +-
...th2ConsentRequestOpenIDConnectContext.java | 4 +-
.../sh/ory/model/OAuth2ConsentSession.java | 4 +-
.../model/OAuth2ConsentSessionExpiresAt.java | 4 +-
.../java/sh/ory/model/OAuth2LoginRequest.java | 4 +-
.../sh/ory/model/OAuth2LogoutRequest.java | 4 +-
.../java/sh/ory/model/OAuth2RedirectTo.java | 4 +-
.../sh/ory/model/OAuth2TokenExchange.java | 4 +-
.../java/sh/ory/model/OidcConfiguration.java | 4 +-
.../main/java/sh/ory/model/OidcUserInfo.java | 4 +-
.../main/java/sh/ory/model/Organization.java | 4 +-
.../java/sh/ory/model/OrganizationBody.java | 4 +-
.../main/java/sh/ory/model/Pagination.java | 4 +-
.../java/sh/ory/model/PaginationHeaders.java | 4 +-
.../main/java/sh/ory/model/ParseError.java | 4 +-
.../sh/ory/model/PatchIdentitiesBody.java | 4 +-
.../sh/ory/model/PerformNativeLogoutBody.java | 4 +-
.../java/src/main/java/sh/ory/model/Plan.java | 4 +-
.../main/java/sh/ory/model/PlanDetails.java | 4 +-
.../sh/ory/model/PostCheckPermissionBody.java | 4 +-
.../model/PostCheckPermissionOrErrorBody.java | 4 +-
.../src/main/java/sh/ory/model/Project.java | 4 +-
.../main/java/sh/ory/model/ProjectApiKey.java | 4 +-
.../java/sh/ory/model/ProjectBranding.java | 4 +-
.../sh/ory/model/ProjectBrandingColors.java | 4 +-
.../sh/ory/model/ProjectBrandingTheme.java | 4 +-
.../main/java/sh/ory/model/ProjectCors.java | 4 +-
.../main/java/sh/ory/model/ProjectHost.java | 4 +-
.../java/sh/ory/model/ProjectMetadata.java | 4 +-
.../sh/ory/model/ProjectServiceIdentity.java | 4 +-
.../sh/ory/model/ProjectServiceOAuth2.java | 4 +-
.../ory/model/ProjectServicePermission.java | 4 +-
.../java/sh/ory/model/ProjectServices.java | 4 +-
.../main/java/sh/ory/model/QuotaUsage.java | 4 +-
.../java/sh/ory/model/RFC6749ErrorJson.java | 4 +-
.../sh/ory/model/RecoveryCodeForIdentity.java | 4 +-
.../main/java/sh/ory/model/RecoveryFlow.java | 4 +-
.../java/sh/ory/model/RecoveryFlowState.java | 2 +-
.../sh/ory/model/RecoveryIdentityAddress.java | 4 +-
.../sh/ory/model/RecoveryLinkForIdentity.java | 4 +-
.../java/sh/ory/model/RegistrationFlow.java | 4 +-
.../sh/ory/model/RegistrationFlowState.java | 2 +-
.../sh/ory/model/RejectOAuth2Request.java | 4 +-
.../main/java/sh/ory/model/RelationQuery.java | 4 +-
.../main/java/sh/ory/model/Relationship.java | 4 +-
.../sh/ory/model/RelationshipNamespaces.java | 4 +-
.../java/sh/ory/model/RelationshipPatch.java | 4 +-
.../main/java/sh/ory/model/Relationships.java | 4 +-
.../main/java/sh/ory/model/SchemaPatch.java | 4 +-
.../model/SelfServiceFlowExpiredError.java | 4 +-
.../src/main/java/sh/ory/model/Session.java | 4 +-
.../ory/model/SessionActivityDatapoint.java | 4 +-
.../model/SessionAuthenticationMethod.java | 4 +-
.../main/java/sh/ory/model/SessionDevice.java | 4 +-
.../model/SetActiveProjectInConsoleBody.java | 4 +-
.../sh/ory/model/SetCustomDomainBody.java | 4 +-
.../main/java/sh/ory/model/SetProject.java | 4 +-
.../model/SetProjectBrandingThemeBody.java | 4 +-
.../main/java/sh/ory/model/SettingsFlow.java | 4 +-
.../java/sh/ory/model/SettingsFlowState.java | 2 +-
.../java/sh/ory/model/SourcePosition.java | 4 +-
.../java/sh/ory/model/StripeCustomer.java | 4 +-
.../main/java/sh/ory/model/SubjectSet.java | 4 +-
.../main/java/sh/ory/model/Subscription.java | 4 +-
.../model/SuccessfulCodeExchangeResponse.java | 4 +-
.../sh/ory/model/SuccessfulNativeLogin.java | 4 +-
.../model/SuccessfulNativeRegistration.java | 4 +-
.../sh/ory/model/SuccessfulProjectUpdate.java | 4 +-
.../java/sh/ory/model/TokenPagination.java | 4 +-
.../sh/ory/model/TokenPaginationHeaders.java | 4 +-
.../TokenPaginationRequestParameters.java | 4 +-
.../model/TokenPaginationResponseHeaders.java | 4 +-
.../ory/model/TrustOAuth2JwtGrantIssuer.java | 4 +-
.../model/TrustedOAuth2JwtGrantIssuer.java | 4 +-
.../TrustedOAuth2JwtGrantJsonWebKey.java | 4 +-
.../main/java/sh/ory/model/UiContainer.java | 4 +-
.../src/main/java/sh/ory/model/UiNode.java | 4 +-
.../sh/ory/model/UiNodeAnchorAttributes.java | 4 +-
.../java/sh/ory/model/UiNodeAttributes.java | 4 +-
.../sh/ory/model/UiNodeImageAttributes.java | 4 +-
.../sh/ory/model/UiNodeInputAttributes.java | 4 +-
.../main/java/sh/ory/model/UiNodeMeta.java | 4 +-
.../sh/ory/model/UiNodeScriptAttributes.java | 4 +-
.../sh/ory/model/UiNodeTextAttributes.java | 4 +-
.../src/main/java/sh/ory/model/UiText.java | 4 +-
.../java/sh/ory/model/UpdateIdentityBody.java | 4 +-
.../sh/ory/model/UpdateLoginFlowBody.java | 4 +-
.../model/UpdateLoginFlowWithCodeMethod.java | 4 +-
...UpdateLoginFlowWithLookupSecretMethod.java | 4 +-
.../model/UpdateLoginFlowWithOidcMethod.java | 4 +-
.../UpdateLoginFlowWithPasswordMethod.java | 4 +-
.../model/UpdateLoginFlowWithTotpMethod.java | 4 +-
.../UpdateLoginFlowWithWebAuthnMethod.java | 4 +-
.../sh/ory/model/UpdateRecoveryFlowBody.java | 4 +-
.../UpdateRecoveryFlowWithCodeMethod.java | 4 +-
.../UpdateRecoveryFlowWithLinkMethod.java | 4 +-
.../ory/model/UpdateRegistrationFlowBody.java | 4 +-
.../UpdateRegistrationFlowWithCodeMethod.java | 4 +-
.../UpdateRegistrationFlowWithOidcMethod.java | 4 +-
...ateRegistrationFlowWithPasswordMethod.java | 4 +-
...ateRegistrationFlowWithWebAuthnMethod.java | 4 +-
.../sh/ory/model/UpdateSettingsFlowBody.java | 4 +-
.../UpdateSettingsFlowWithLookupMethod.java | 4 +-
.../UpdateSettingsFlowWithOidcMethod.java | 4 +-
.../UpdateSettingsFlowWithPasswordMethod.java | 4 +-
.../UpdateSettingsFlowWithProfileMethod.java | 4 +-
.../UpdateSettingsFlowWithTotpMethod.java | 4 +-
.../UpdateSettingsFlowWithWebAuthnMethod.java | 4 +-
.../sh/ory/model/UpdateSubscriptionBody.java | 4 +-
.../ory/model/UpdateVerificationFlowBody.java | 4 +-
.../UpdateVerificationFlowWithCodeMethod.java | 4 +-
.../UpdateVerificationFlowWithLinkMethod.java | 4 +-
.../src/main/java/sh/ory/model/Usage.java | 4 +-
.../VerifiableCredentialPrimingResponse.java | 4 +-
.../ory/model/VerifiableCredentialProof.java | 4 +-
.../model/VerifiableCredentialResponse.java | 4 +-
.../ory/model/VerifiableIdentityAddress.java | 4 +-
.../java/sh/ory/model/VerificationFlow.java | 4 +-
.../sh/ory/model/VerificationFlowState.java | 2 +-
.../src/main/java/sh/ory/model/Version.java | 4 +-
.../src/main/java/sh/ory/model/Warning.java | 4 +-
.../test/java/sh/ory/api/CourierApiTest.java | 2 +-
.../test/java/sh/ory/api/FrontendApiTest.java | 2 +-
.../test/java/sh/ory/api/IdentityApiTest.java | 2 +-
.../src/test/java/sh/ory/api/JwkApiTest.java | 2 +-
.../test/java/sh/ory/api/MetadataApiTest.java | 2 +-
.../test/java/sh/ory/api/OAuth2ApiTest.java | 2 +-
.../src/test/java/sh/ory/api/OidcApiTest.java | 2 +-
.../java/sh/ory/api/PermissionApiTest.java | 2 +-
.../test/java/sh/ory/api/ProjectApiTest.java | 2 +-
.../java/sh/ory/api/RelationshipApiTest.java | 2 +-
.../java/sh/ory/api/WellknownApiTest.java | 2 +-
...AcceptOAuth2ConsentRequestSessionTest.java | 2 +-
.../model/AcceptOAuth2ConsentRequestTest.java | 2 +-
.../model/AcceptOAuth2LoginRequestTest.java | 2 +-
.../ory/model/ActiveProjectInConsoleTest.java | 2 +-
.../model/AttributesCountDatapointTest.java | 2 +-
.../AuthenticatorAssuranceLevelTest.java | 2 +-
.../BatchPatchIdentitiesResponseTest.java | 2 +-
.../ory/model/CheckOplSyntaxResultTest.java | 2 +-
.../ory/model/CheckPermissionResultTest.java | 2 +-
.../java/sh/ory/model/CloudAccountTest.java | 2 +-
.../ConsistencyRequestParametersTest.java | 2 +-
.../ContinueWithSetOrySessionTokenTest.java | 2 +-
.../java/sh/ory/model/ContinueWithTest.java | 2 +-
.../ContinueWithVerificationUiFlowTest.java | 2 +-
.../model/ContinueWithVerificationUiTest.java | 2 +-
.../ory/model/CourierMessageStatusTest.java | 2 +-
.../sh/ory/model/CourierMessageTypeTest.java | 2 +-
.../ory/model/CreateCustomDomainBodyTest.java | 2 +-
.../sh/ory/model/CreateIdentityBodyTest.java | 2 +-
.../ory/model/CreateInviteResponseTest.java | 2 +-
.../sh/ory/model/CreateJsonWebKeySetTest.java | 2 +-
.../model/CreateProjectApiKeyRequestTest.java | 2 +-
.../sh/ory/model/CreateProjectBodyTest.java | 2 +-
.../ory/model/CreateProjectBrandingTest.java | 2 +-
.../CreateProjectMemberInviteBodyTest.java | 2 +-
...CreateRecoveryCodeForIdentityBodyTest.java | 2 +-
...CreateRecoveryLinkForIdentityBodyTest.java | 2 +-
.../ory/model/CreateRelationshipBodyTest.java | 2 +-
.../ory/model/CreateSubscriptionBodyTest.java | 2 +-
...teVerifiableCredentialRequestBodyTest.java | 2 +-
.../model/CredentialSupportedDraft00Test.java | 2 +-
.../java/sh/ory/model/CustomDomainTest.java | 2 +-
.../ory/model/DeleteMySessionsCountTest.java | 2 +-
.../ory/model/EmailTemplateDataBodyTest.java | 2 +-
.../sh/ory/model/EmailTemplateDataTest.java | 2 +-
...ticatorAssuranceLevelNotSatisfiedTest.java | 2 +-
...rrorBrowserLocationChangeRequiredTest.java | 2 +-
.../sh/ory/model/ErrorFlowReplacedTest.java | 2 +-
.../java/sh/ory/model/ErrorGenericTest.java | 2 +-
.../java/sh/ory/model/ErrorOAuth2Test.java | 2 +-
.../ory/model/ExpandedPermissionTreeTest.java | 2 +-
.../test/java/sh/ory/model/FlowErrorTest.java | 2 +-
.../sh/ory/model/GenericErrorContentTest.java | 2 +-
.../java/sh/ory/model/GenericErrorTest.java | 2 +-
.../java/sh/ory/model/GenericUsageTest.java | 2 +-
.../model/GetAttributesCountResponseTest.java | 2 +-
.../GetManagedIdentitySchemaLocationTest.java | 2 +-
.../model/GetOrganizationResponseTest.java | 2 +-
.../model/GetProjectMetricsResponseTest.java | 2 +-
.../model/GetSessionActivityResponseTest.java | 2 +-
.../ory/model/GetVersion200ResponseTest.java | 2 +-
.../ory/model/HealthNotReadyStatusTest.java | 2 +-
.../java/sh/ory/model/HealthStatusTest.java | 2 +-
.../model/IdentityCredentialsCodeTest.java | 2 +-
.../IdentityCredentialsOidcProviderTest.java | 2 +-
.../model/IdentityCredentialsOidcTest.java | 2 +-
.../IdentityCredentialsPasswordTest.java | 2 +-
.../sh/ory/model/IdentityCredentialsTest.java | 2 +-
.../model/IdentityCredentialsTypeTest.java | 2 +-
.../ory/model/IdentityPatchResponseTest.java | 2 +-
.../java/sh/ory/model/IdentityPatchTest.java | 2 +-
.../model/IdentitySchemaContainerTest.java | 2 +-
.../ory/model/IdentitySchemaPresetTest.java | 2 +-
.../java/sh/ory/model/IdentityStateTest.java | 2 +-
.../test/java/sh/ory/model/IdentityTest.java | 2 +-
...WithCredentialsOidcConfigProviderTest.java | 2 +-
...IdentityWithCredentialsOidcConfigTest.java | 2 +-
.../IdentityWithCredentialsOidcTest.java | 2 +-
...tityWithCredentialsPasswordConfigTest.java | 2 +-
.../IdentityWithCredentialsPasswordTest.java | 2 +-
.../model/IdentityWithCredentialsTest.java | 2 +-
.../InternalGetProjectBrandingBodyTest.java | 2 +-
...elcomeScreenEnabledForProjectBodyTest.java | 2 +-
...ternalIsOwnerForProjectBySlugBodyTest.java | 2 +-
...alIsOwnerForProjectBySlugResponseTest.java | 2 +-
...InternalProvisionMockSubscriptionTest.java | 2 +-
.../model/IntrospectedOAuth2TokenTest.java | 2 +-
.../model/IsOwnerForProjectBySlugTest.java | 2 +-
.../sh/ory/model/IsReady200ResponseTest.java | 2 +-
.../sh/ory/model/IsReady503ResponseTest.java | 2 +-
.../test/java/sh/ory/model/JsonPatchTest.java | 2 +-
.../java/sh/ory/model/JsonWebKeySetTest.java | 2 +-
.../java/sh/ory/model/JsonWebKeyTest.java | 2 +-
.../java/sh/ory/model/KetoNamespaceTest.java | 2 +-
.../model/ListOrganizationsResponseTest.java | 2 +-
.../java/sh/ory/model/LoginFlowStateTest.java | 2 +-
.../test/java/sh/ory/model/LoginFlowTest.java | 2 +-
.../java/sh/ory/model/LogoutFlowTest.java | 2 +-
.../ory/model/ManagedIdentitySchemaTest.java | 2 +-
...gedIdentitySchemaValidationResultTest.java | 2 +-
.../java/sh/ory/model/MemberInviteTest.java | 2 +-
.../sh/ory/model/MessageDispatchTest.java | 2 +-
.../test/java/sh/ory/model/MessageTest.java | 2 +-
.../sh/ory/model/MetricsDatapointTest.java | 2 +-
.../test/java/sh/ory/model/NamespaceTest.java | 2 +-
.../NeedsPrivilegedSessionErrorTest.java | 2 +-
.../NormalizedProjectRevisionHookTest.java | 2 +-
...izedProjectRevisionIdentitySchemaTest.java | 2 +-
.../model/NormalizedProjectRevisionTest.java | 2 +-
...ProjectRevisionThirdPartyProviderTest.java | 2 +-
...dProjectRevisionTokenizerTemplateTest.java | 2 +-
.../sh/ory/model/NormalizedProjectTest.java | 2 +-
.../java/sh/ory/model/OAuth2ClientTest.java | 2 +-
.../model/OAuth2ClientTokenLifespansTest.java | 2 +-
...onsentRequestOpenIDConnectContextTest.java | 2 +-
.../ory/model/OAuth2ConsentRequestTest.java | 2 +-
.../OAuth2ConsentSessionExpiresAtTest.java | 2 +-
.../ory/model/OAuth2ConsentSessionTest.java | 2 +-
.../sh/ory/model/OAuth2LoginRequestTest.java | 2 +-
.../sh/ory/model/OAuth2LogoutRequestTest.java | 2 +-
.../sh/ory/model/OAuth2RedirectToTest.java | 2 +-
.../sh/ory/model/OAuth2TokenExchangeTest.java | 2 +-
.../sh/ory/model/OidcConfigurationTest.java | 2 +-
.../java/sh/ory/model/OidcUserInfoTest.java | 2 +-
.../sh/ory/model/OrganizationBodyTest.java | 2 +-
.../java/sh/ory/model/OrganizationTest.java | 2 +-
.../sh/ory/model/PaginationHeadersTest.java | 2 +-
.../java/sh/ory/model/PaginationTest.java | 2 +-
.../java/sh/ory/model/ParseErrorTest.java | 2 +-
.../sh/ory/model/PatchIdentitiesBodyTest.java | 2 +-
.../model/PerformNativeLogoutBodyTest.java | 2 +-
.../java/sh/ory/model/PlanDetailsTest.java | 2 +-
.../src/test/java/sh/ory/model/PlanTest.java | 2 +-
.../model/PostCheckPermissionBodyTest.java | 2 +-
.../PostCheckPermissionOrErrorBodyTest.java | 2 +-
.../java/sh/ory/model/ProjectApiKeyTest.java | 2 +-
.../ory/model/ProjectBrandingColorsTest.java | 2 +-
.../sh/ory/model/ProjectBrandingTest.java | 2 +-
.../ory/model/ProjectBrandingThemeTest.java | 2 +-
.../java/sh/ory/model/ProjectCorsTest.java | 2 +-
.../java/sh/ory/model/ProjectHostTest.java | 2 +-
.../sh/ory/model/ProjectMetadataTest.java | 2 +-
.../ory/model/ProjectServiceIdentityTest.java | 2 +-
.../ory/model/ProjectServiceOAuth2Test.java | 2 +-
.../model/ProjectServicePermissionTest.java | 2 +-
.../sh/ory/model/ProjectServicesTest.java | 2 +-
.../test/java/sh/ory/model/ProjectTest.java | 2 +-
.../java/sh/ory/model/QuotaUsageTest.java | 2 +-
.../sh/ory/model/RFC6749ErrorJsonTest.java | 2 +-
.../model/RecoveryCodeForIdentityTest.java | 2 +-
.../sh/ory/model/RecoveryFlowStateTest.java | 2 +-
.../java/sh/ory/model/RecoveryFlowTest.java | 2 +-
.../model/RecoveryIdentityAddressTest.java | 2 +-
.../model/RecoveryLinkForIdentityTest.java | 2 +-
.../ory/model/RegistrationFlowStateTest.java | 2 +-
.../sh/ory/model/RegistrationFlowTest.java | 2 +-
.../sh/ory/model/RejectOAuth2RequestTest.java | 2 +-
.../java/sh/ory/model/RelationQueryTest.java | 2 +-
.../ory/model/RelationshipNamespacesTest.java | 2 +-
.../sh/ory/model/RelationshipPatchTest.java | 2 +-
.../java/sh/ory/model/RelationshipTest.java | 2 +-
.../java/sh/ory/model/RelationshipsTest.java | 2 +-
.../java/sh/ory/model/SchemaPatchTest.java | 2 +-
.../SelfServiceFlowExpiredErrorTest.java | 2 +-
.../model/SessionActivityDatapointTest.java | 2 +-
.../SessionAuthenticationMethodTest.java | 2 +-
.../java/sh/ory/model/SessionDeviceTest.java | 2 +-
.../test/java/sh/ory/model/SessionTest.java | 2 +-
.../SetActiveProjectInConsoleBodyTest.java | 2 +-
.../sh/ory/model/SetCustomDomainBodyTest.java | 2 +-
.../SetProjectBrandingThemeBodyTest.java | 2 +-
.../java/sh/ory/model/SetProjectTest.java | 2 +-
.../sh/ory/model/SettingsFlowStateTest.java | 2 +-
.../java/sh/ory/model/SettingsFlowTest.java | 2 +-
.../java/sh/ory/model/SourcePositionTest.java | 2 +-
.../java/sh/ory/model/StripeCustomerTest.java | 2 +-
.../java/sh/ory/model/SubjectSetTest.java | 2 +-
.../java/sh/ory/model/SubscriptionTest.java | 2 +-
.../SuccessfulCodeExchangeResponseTest.java | 2 +-
.../ory/model/SuccessfulNativeLoginTest.java | 2 +-
.../SuccessfulNativeRegistrationTest.java | 2 +-
.../model/SuccessfulProjectUpdateTest.java | 2 +-
.../ory/model/TokenPaginationHeadersTest.java | 2 +-
.../TokenPaginationRequestParametersTest.java | 2 +-
.../TokenPaginationResponseHeadersTest.java | 2 +-
.../sh/ory/model/TokenPaginationTest.java | 2 +-
.../model/TrustOAuth2JwtGrantIssuerTest.java | 2 +-
.../TrustedOAuth2JwtGrantIssuerTest.java | 2 +-
.../TrustedOAuth2JwtGrantJsonWebKeyTest.java | 2 +-
.../java/sh/ory/model/UiContainerTest.java | 2 +-
.../ory/model/UiNodeAnchorAttributesTest.java | 2 +-
.../sh/ory/model/UiNodeAttributesTest.java | 2 +-
.../ory/model/UiNodeImageAttributesTest.java | 2 +-
.../ory/model/UiNodeInputAttributesTest.java | 2 +-
.../java/sh/ory/model/UiNodeMetaTest.java | 2 +-
.../ory/model/UiNodeScriptAttributesTest.java | 2 +-
.../test/java/sh/ory/model/UiNodeTest.java | 2 +-
.../ory/model/UiNodeTextAttributesTest.java | 2 +-
.../test/java/sh/ory/model/UiTextTest.java | 2 +-
.../sh/ory/model/UpdateIdentityBodyTest.java | 2 +-
.../sh/ory/model/UpdateLoginFlowBodyTest.java | 2 +-
.../UpdateLoginFlowWithCodeMethodTest.java | 2 +-
...teLoginFlowWithLookupSecretMethodTest.java | 2 +-
.../UpdateLoginFlowWithOidcMethodTest.java | 2 +-
...UpdateLoginFlowWithPasswordMethodTest.java | 2 +-
.../UpdateLoginFlowWithTotpMethodTest.java | 2 +-
...UpdateLoginFlowWithWebAuthnMethodTest.java | 2 +-
.../ory/model/UpdateRecoveryFlowBodyTest.java | 2 +-
.../UpdateRecoveryFlowWithCodeMethodTest.java | 2 +-
.../UpdateRecoveryFlowWithLinkMethodTest.java | 2 +-
.../model/UpdateRegistrationFlowBodyTest.java | 2 +-
...ateRegistrationFlowWithCodeMethodTest.java | 2 +-
...ateRegistrationFlowWithOidcMethodTest.java | 2 +-
...egistrationFlowWithPasswordMethodTest.java | 2 +-
...egistrationFlowWithWebAuthnMethodTest.java | 2 +-
.../ory/model/UpdateSettingsFlowBodyTest.java | 2 +-
...pdateSettingsFlowWithLookupMethodTest.java | 2 +-
.../UpdateSettingsFlowWithOidcMethodTest.java | 2 +-
...ateSettingsFlowWithPasswordMethodTest.java | 2 +-
...dateSettingsFlowWithProfileMethodTest.java | 2 +-
.../UpdateSettingsFlowWithTotpMethodTest.java | 2 +-
...ateSettingsFlowWithWebAuthnMethodTest.java | 2 +-
.../ory/model/UpdateSubscriptionBodyTest.java | 2 +-
.../model/UpdateVerificationFlowBodyTest.java | 2 +-
...ateVerificationFlowWithCodeMethodTest.java | 2 +-
...ateVerificationFlowWithLinkMethodTest.java | 2 +-
.../src/test/java/sh/ory/model/UsageTest.java | 2 +-
...rifiableCredentialPrimingResponseTest.java | 2 +-
.../model/VerifiableCredentialProofTest.java | 2 +-
.../VerifiableCredentialResponseTest.java | 2 +-
.../model/VerifiableIdentityAddressTest.java | 2 +-
.../ory/model/VerificationFlowStateTest.java | 2 +-
.../sh/ory/model/VerificationFlowTest.java | 2 +-
.../test/java/sh/ory/model/VersionTest.java | 2 +-
.../test/java/sh/ory/model/WarningTest.java | 2 +-
clients/client/php/README.md | 2 +-
clients/client/php/composer.lock | 20 +-
clients/client/php/lib/Api/CourierApi.php | 2 +-
clients/client/php/lib/Api/FrontendApi.php | 2 +-
clients/client/php/lib/Api/IdentityApi.php | 2 +-
clients/client/php/lib/Api/JwkApi.php | 2 +-
clients/client/php/lib/Api/MetadataApi.php | 2 +-
clients/client/php/lib/Api/OAuth2Api.php | 2 +-
clients/client/php/lib/Api/OidcApi.php | 2 +-
clients/client/php/lib/Api/PermissionApi.php | 2 +-
clients/client/php/lib/Api/ProjectApi.php | 2 +-
.../client/php/lib/Api/RelationshipApi.php | 2 +-
clients/client/php/lib/Api/WellknownApi.php | 2 +-
clients/client/php/lib/ApiException.php | 2 +-
clients/client/php/lib/Configuration.php | 4 +-
clients/client/php/lib/HeaderSelector.php | 2 +-
.../lib/Model/AcceptOAuth2ConsentRequest.php | 2 +-
.../AcceptOAuth2ConsentRequestSession.php | 2 +-
.../lib/Model/AcceptOAuth2LoginRequest.php | 2 +-
.../php/lib/Model/ActiveProjectInConsole.php | 2 +-
.../lib/Model/AttributesCountDatapoint.php | 2 +-
.../lib/Model/AuthenticatorAssuranceLevel.php | 2 +-
.../Model/BatchPatchIdentitiesResponse.php | 2 +-
.../php/lib/Model/CheckOplSyntaxResult.php | 2 +-
.../php/lib/Model/CheckPermissionResult.php | 2 +-
clients/client/php/lib/Model/CloudAccount.php | 2 +-
.../Model/ConsistencyRequestParameters.php | 2 +-
clients/client/php/lib/Model/ContinueWith.php | 2 +-
.../Model/ContinueWithSetOrySessionToken.php | 2 +-
.../lib/Model/ContinueWithVerificationUi.php | 2 +-
.../Model/ContinueWithVerificationUiFlow.php | 2 +-
.../php/lib/Model/CourierMessageStatus.php | 2 +-
.../php/lib/Model/CourierMessageType.php | 2 +-
.../php/lib/Model/CreateCustomDomainBody.php | 2 +-
.../php/lib/Model/CreateIdentityBody.php | 2 +-
.../php/lib/Model/CreateInviteResponse.php | 2 +-
.../php/lib/Model/CreateJsonWebKeySet.php | 2 +-
.../php/lib/Model/CreateProjectBody.php | 2 +-
.../php/lib/Model/CreateProjectBranding.php | 2 +-
.../Model/CreateProjectMemberInviteBody.php | 2 +-
.../CreateRecoveryCodeForIdentityBody.php | 2 +-
.../CreateRecoveryLinkForIdentityBody.php | 2 +-
.../php/lib/Model/CreateRelationshipBody.php | 2 +-
.../php/lib/Model/CreateSubscriptionBody.php | 2 +-
.../CreateVerifiableCredentialRequestBody.php | 2 +-
.../lib/Model/CredentialSupportedDraft00.php | 2 +-
clients/client/php/lib/Model/CustomDomain.php | 2 +-
.../php/lib/Model/DeleteMySessionsCount.php | 2 +-
.../php/lib/Model/EmailTemplateData.php | 2 +-
.../php/lib/Model/EmailTemplateDataBody.php | 2 +-
...uthenticatorAssuranceLevelNotSatisfied.php | 2 +-
.../ErrorBrowserLocationChangeRequired.php | 2 +-
.../php/lib/Model/ErrorFlowReplaced.php | 2 +-
clients/client/php/lib/Model/ErrorGeneric.php | 2 +-
clients/client/php/lib/Model/ErrorOAuth2.php | 2 +-
.../php/lib/Model/ExpandedPermissionTree.php | 2 +-
clients/client/php/lib/Model/FlowError.php | 2 +-
clients/client/php/lib/Model/GenericError.php | 2 +-
.../php/lib/Model/GenericErrorContent.php | 2 +-
clients/client/php/lib/Model/GenericUsage.php | 2 +-
.../lib/Model/GetAttributesCountResponse.php | 2 +-
.../GetManagedIdentitySchemaLocation.php | 2 +-
.../php/lib/Model/GetOrganizationResponse.php | 2 +-
.../lib/Model/GetProjectMetricsResponse.php | 2 +-
.../lib/Model/GetSessionActivityResponse.php | 2 +-
.../php/lib/Model/HealthNotReadyStatus.php | 2 +-
clients/client/php/lib/Model/HealthStatus.php | 2 +-
clients/client/php/lib/Model/Identity.php | 2 +-
.../php/lib/Model/IdentityCredentials.php | 2 +-
.../php/lib/Model/IdentityCredentialsCode.php | 2 +-
.../php/lib/Model/IdentityCredentialsOidc.php | 2 +-
.../Model/IdentityCredentialsOidcProvider.php | 2 +-
.../lib/Model/IdentityCredentialsPassword.php | 2 +-
.../php/lib/Model/IdentityCredentialsType.php | 2 +-
.../client/php/lib/Model/IdentityPatch.php | 2 +-
.../php/lib/Model/IdentityPatchResponse.php | 2 +-
.../php/lib/Model/IdentitySchemaContainer.php | 2 +-
.../php/lib/Model/IdentitySchemaPreset.php | 2 +-
.../client/php/lib/Model/IdentityState.php | 2 +-
.../php/lib/Model/IdentityWithCredentials.php | 2 +-
.../lib/Model/IdentityWithCredentialsOidc.php | 2 +-
.../IdentityWithCredentialsOidcConfig.php | 2 +-
...ntityWithCredentialsOidcConfigProvider.php | 2 +-
.../Model/IdentityWithCredentialsPassword.php | 2 +-
.../IdentityWithCredentialsPasswordConfig.php | 2 +-
.../client/php/lib/Model/InlineObject3.php | 2 +-
.../php/lib/Model/InlineResponse200.php | 2 +-
.../php/lib/Model/InlineResponse2001.php | 2 +-
.../php/lib/Model/InlineResponse503.php | 2 +-
.../Model/InternalGetProjectBrandingBody.php | 2 +-
...IsAXWelcomeScreenEnabledForProjectBody.php | 2 +-
.../InternalIsOwnerForProjectBySlugBody.php | 2 +-
...nternalIsOwnerForProjectBySlugResponse.php | 2 +-
.../InternalProvisionMockSubscription.php | 2 +-
.../php/lib/Model/IntrospectedOAuth2Token.php | 2 +-
.../php/lib/Model/IsOwnerForProjectBySlug.php | 2 +-
clients/client/php/lib/Model/JsonPatch.php | 2 +-
clients/client/php/lib/Model/JsonWebKey.php | 2 +-
.../client/php/lib/Model/JsonWebKeySet.php | 2 +-
.../client/php/lib/Model/KetoNamespace.php | 2 +-
.../lib/Model/ListOrganizationsResponse.php | 2 +-
clients/client/php/lib/Model/LoginFlow.php | 2 +-
.../client/php/lib/Model/LoginFlowState.php | 2 +-
clients/client/php/lib/Model/LogoutFlow.php | 2 +-
.../php/lib/Model/ManagedIdentitySchema.php | 2 +-
.../ManagedIdentitySchemaValidationResult.php | 2 +-
clients/client/php/lib/Model/MemberInvite.php | 2 +-
clients/client/php/lib/Model/Message.php | 2 +-
.../client/php/lib/Model/MessageDispatch.php | 2 +-
.../client/php/lib/Model/MetricsDatapoint.php | 2 +-
.../client/php/lib/Model/ModelInterface.php | 2 +-
.../client/php/lib/Model/ModelNamespace.php | 2 +-
.../lib/Model/NeedsPrivilegedSessionError.php | 2 +-
.../php/lib/Model/NormalizedProject.php | 2 +-
.../lib/Model/NormalizedProjectRevision.php | 2 +-
.../Model/NormalizedProjectRevisionHook.php | 2 +-
...ormalizedProjectRevisionIdentitySchema.php | 2 +-
...lizedProjectRevisionThirdPartyProvider.php | 2 +-
...alizedProjectRevisionTokenizerTemplate.php | 2 +-
clients/client/php/lib/Model/OAuth2Client.php | 2 +-
.../lib/Model/OAuth2ClientTokenLifespans.php | 2 +-
.../php/lib/Model/OAuth2ConsentRequest.php | 2 +-
...uth2ConsentRequestOpenIDConnectContext.php | 2 +-
.../php/lib/Model/OAuth2ConsentSession.php | 2 +-
.../Model/OAuth2ConsentSessionExpiresAt.php | 2 +-
.../php/lib/Model/OAuth2LoginRequest.php | 2 +-
.../php/lib/Model/OAuth2LogoutRequest.php | 2 +-
.../client/php/lib/Model/OAuth2RedirectTo.php | 2 +-
.../php/lib/Model/OAuth2TokenExchange.php | 2 +-
.../php/lib/Model/OidcConfiguration.php | 2 +-
clients/client/php/lib/Model/OidcUserInfo.php | 2 +-
clients/client/php/lib/Model/Organization.php | 2 +-
.../client/php/lib/Model/OrganizationBody.php | 2 +-
clients/client/php/lib/Model/Pagination.php | 2 +-
.../php/lib/Model/PaginationHeaders.php | 2 +-
clients/client/php/lib/Model/ParseError.php | 2 +-
.../php/lib/Model/PatchIdentitiesBody.php | 2 +-
.../php/lib/Model/PerformNativeLogoutBody.php | 2 +-
clients/client/php/lib/Model/Plan.php | 2 +-
clients/client/php/lib/Model/PlanDetails.php | 2 +-
.../php/lib/Model/PostCheckPermissionBody.php | 2 +-
.../Model/PostCheckPermissionOrErrorBody.php | 2 +-
clients/client/php/lib/Model/Project.php | 2 +-
.../client/php/lib/Model/ProjectApiKey.php | 2 +-
.../client/php/lib/Model/ProjectBranding.php | 2 +-
.../php/lib/Model/ProjectBrandingColors.php | 2 +-
.../php/lib/Model/ProjectBrandingTheme.php | 2 +-
clients/client/php/lib/Model/ProjectCors.php | 2 +-
clients/client/php/lib/Model/ProjectHost.php | 2 +-
.../client/php/lib/Model/ProjectMetadata.php | 2 +-
.../php/lib/Model/ProjectServiceIdentity.php | 2 +-
.../php/lib/Model/ProjectServiceOAuth2.php | 2 +-
.../lib/Model/ProjectServicePermission.php | 2 +-
.../client/php/lib/Model/ProjectServices.php | 2 +-
clients/client/php/lib/Model/QuotaUsage.php | 2 +-
.../client/php/lib/Model/RFC6749ErrorJson.php | 2 +-
.../php/lib/Model/RecoveryCodeForIdentity.php | 2 +-
clients/client/php/lib/Model/RecoveryFlow.php | 2 +-
.../php/lib/Model/RecoveryFlowState.php | 2 +-
.../php/lib/Model/RecoveryIdentityAddress.php | 2 +-
.../php/lib/Model/RecoveryLinkForIdentity.php | 2 +-
.../client/php/lib/Model/RegistrationFlow.php | 2 +-
.../php/lib/Model/RegistrationFlowState.php | 2 +-
.../php/lib/Model/RejectOAuth2Request.php | 2 +-
.../client/php/lib/Model/RelationQuery.php | 2 +-
clients/client/php/lib/Model/Relationship.php | 2 +-
.../php/lib/Model/RelationshipNamespaces.php | 2 +-
.../php/lib/Model/RelationshipPatch.php | 2 +-
.../client/php/lib/Model/Relationships.php | 2 +-
clients/client/php/lib/Model/SchemaPatch.php | 2 +-
.../lib/Model/SelfServiceFlowExpiredError.php | 2 +-
clients/client/php/lib/Model/Session.php | 2 +-
.../lib/Model/SessionActivityDatapoint.php | 2 +-
.../lib/Model/SessionAuthenticationMethod.php | 2 +-
.../client/php/lib/Model/SessionDevice.php | 2 +-
.../Model/SetActiveProjectInConsoleBody.php | 2 +-
.../php/lib/Model/SetCustomDomainBody.php | 2 +-
clients/client/php/lib/Model/SetProject.php | 2 +-
.../lib/Model/SetProjectBrandingThemeBody.php | 2 +-
clients/client/php/lib/Model/SettingsFlow.php | 2 +-
.../php/lib/Model/SettingsFlowState.php | 2 +-
.../client/php/lib/Model/SourcePosition.php | 2 +-
.../client/php/lib/Model/StripeCustomer.php | 2 +-
clients/client/php/lib/Model/SubjectSet.php | 2 +-
clients/client/php/lib/Model/Subscription.php | 2 +-
.../Model/SuccessfulCodeExchangeResponse.php | 2 +-
.../php/lib/Model/SuccessfulNativeLogin.php | 2 +-
.../Model/SuccessfulNativeRegistration.php | 2 +-
.../php/lib/Model/SuccessfulProjectUpdate.php | 2 +-
.../client/php/lib/Model/TokenPagination.php | 2 +-
.../php/lib/Model/TokenPaginationHeaders.php | 2 +-
.../TokenPaginationRequestParameters.php | 2 +-
.../Model/TokenPaginationResponseHeaders.php | 2 +-
.../lib/Model/TrustOAuth2JwtGrantIssuer.php | 2 +-
.../lib/Model/TrustedOAuth2JwtGrantIssuer.php | 2 +-
.../Model/TrustedOAuth2JwtGrantJsonWebKey.php | 2 +-
clients/client/php/lib/Model/UiContainer.php | 2 +-
clients/client/php/lib/Model/UiNode.php | 2 +-
.../php/lib/Model/UiNodeAnchorAttributes.php | 2 +-
.../client/php/lib/Model/UiNodeAttributes.php | 2 +-
.../php/lib/Model/UiNodeImageAttributes.php | 2 +-
.../php/lib/Model/UiNodeInputAttributes.php | 2 +-
clients/client/php/lib/Model/UiNodeMeta.php | 2 +-
.../php/lib/Model/UiNodeScriptAttributes.php | 2 +-
.../php/lib/Model/UiNodeTextAttributes.php | 2 +-
clients/client/php/lib/Model/UiText.php | 2 +-
.../php/lib/Model/UpdateIdentityBody.php | 2 +-
.../php/lib/Model/UpdateLoginFlowBody.php | 2 +-
.../Model/UpdateLoginFlowWithCodeMethod.php | 2 +-
.../UpdateLoginFlowWithLookupSecretMethod.php | 2 +-
.../Model/UpdateLoginFlowWithOidcMethod.php | 2 +-
.../UpdateLoginFlowWithPasswordMethod.php | 2 +-
.../Model/UpdateLoginFlowWithTotpMethod.php | 2 +-
.../UpdateLoginFlowWithWebAuthnMethod.php | 2 +-
.../php/lib/Model/UpdateRecoveryFlowBody.php | 2 +-
.../UpdateRecoveryFlowWithCodeMethod.php | 2 +-
.../UpdateRecoveryFlowWithLinkMethod.php | 2 +-
.../lib/Model/UpdateRegistrationFlowBody.php | 2 +-
.../UpdateRegistrationFlowWithCodeMethod.php | 2 +-
.../UpdateRegistrationFlowWithOidcMethod.php | 2 +-
...dateRegistrationFlowWithPasswordMethod.php | 2 +-
...dateRegistrationFlowWithWebAuthnMethod.php | 2 +-
.../php/lib/Model/UpdateSettingsFlowBody.php | 2 +-
.../UpdateSettingsFlowWithLookupMethod.php | 2 +-
.../UpdateSettingsFlowWithOidcMethod.php | 2 +-
.../UpdateSettingsFlowWithPasswordMethod.php | 2 +-
.../UpdateSettingsFlowWithProfileMethod.php | 2 +-
.../UpdateSettingsFlowWithTotpMethod.php | 2 +-
.../UpdateSettingsFlowWithWebAuthnMethod.php | 2 +-
.../php/lib/Model/UpdateSubscriptionBody.php | 2 +-
.../lib/Model/UpdateVerificationFlowBody.php | 2 +-
.../UpdateVerificationFlowWithCodeMethod.php | 2 +-
.../UpdateVerificationFlowWithLinkMethod.php | 2 +-
clients/client/php/lib/Model/Usage.php | 2 +-
.../VerifiableCredentialPrimingResponse.php | 2 +-
.../lib/Model/VerifiableCredentialProof.php | 2 +-
.../Model/VerifiableCredentialResponse.php | 2 +-
.../lib/Model/VerifiableIdentityAddress.php | 2 +-
.../client/php/lib/Model/VerificationFlow.php | 2 +-
.../php/lib/Model/VerificationFlowState.php | 2 +-
clients/client/php/lib/Model/Version.php | 2 +-
clients/client/php/lib/Model/Warning.php | 2 +-
clients/client/php/lib/ObjectSerializer.php | 2 +-
.../client/php/test/Api/CourierApiTest.php | 2 +-
.../client/php/test/Api/FrontendApiTest.php | 2 +-
.../client/php/test/Api/IdentityApiTest.php | 2 +-
clients/client/php/test/Api/JwkApiTest.php | 2 +-
.../client/php/test/Api/MetadataApiTest.php | 2 +-
clients/client/php/test/Api/OAuth2ApiTest.php | 2 +-
clients/client/php/test/Api/OidcApiTest.php | 2 +-
.../client/php/test/Api/PermissionApiTest.php | 2 +-
.../client/php/test/Api/ProjectApiTest.php | 2 +-
.../php/test/Api/RelationshipApiTest.php | 2 +-
.../client/php/test/Api/WellknownApiTest.php | 2 +-
.../AcceptOAuth2ConsentRequestSessionTest.php | 2 +-
.../Model/AcceptOAuth2ConsentRequestTest.php | 2 +-
.../Model/AcceptOAuth2LoginRequestTest.php | 2 +-
.../test/Model/ActiveProjectInConsoleTest.php | 2 +-
.../Model/AttributesCountDatapointTest.php | 2 +-
.../Model/AuthenticatorAssuranceLevelTest.php | 2 +-
.../BatchPatchIdentitiesResponseTest.php | 2 +-
.../test/Model/CheckOplSyntaxResultTest.php | 2 +-
.../test/Model/CheckPermissionResultTest.php | 2 +-
.../php/test/Model/CloudAccountTest.php | 2 +-
.../ConsistencyRequestParametersTest.php | 2 +-
.../ContinueWithSetOrySessionTokenTest.php | 2 +-
.../php/test/Model/ContinueWithTest.php | 2 +-
.../ContinueWithVerificationUiFlowTest.php | 2 +-
.../Model/ContinueWithVerificationUiTest.php | 2 +-
.../test/Model/CourierMessageStatusTest.php | 2 +-
.../php/test/Model/CourierMessageTypeTest.php | 2 +-
.../test/Model/CreateCustomDomainBodyTest.php | 2 +-
.../php/test/Model/CreateIdentityBodyTest.php | 2 +-
.../test/Model/CreateInviteResponseTest.php | 2 +-
.../test/Model/CreateJsonWebKeySetTest.php | 2 +-
.../php/test/Model/CreateProjectBodyTest.php | 2 +-
.../test/Model/CreateProjectBrandingTest.php | 2 +-
.../CreateProjectMemberInviteBodyTest.php | 2 +-
.../CreateRecoveryCodeForIdentityBodyTest.php | 2 +-
.../CreateRecoveryLinkForIdentityBodyTest.php | 2 +-
.../test/Model/CreateRelationshipBodyTest.php | 2 +-
.../test/Model/CreateSubscriptionBodyTest.php | 2 +-
...ateVerifiableCredentialRequestBodyTest.php | 2 +-
.../Model/CredentialSupportedDraft00Test.php | 2 +-
.../php/test/Model/CustomDomainTest.php | 2 +-
.../test/Model/DeleteMySessionsCountTest.php | 2 +-
.../test/Model/EmailTemplateDataBodyTest.php | 2 +-
.../php/test/Model/EmailTemplateDataTest.php | 2 +-
...nticatorAssuranceLevelNotSatisfiedTest.php | 2 +-
...ErrorBrowserLocationChangeRequiredTest.php | 2 +-
.../php/test/Model/ErrorFlowReplacedTest.php | 2 +-
.../php/test/Model/ErrorGenericTest.php | 2 +-
.../client/php/test/Model/ErrorOAuth2Test.php | 2 +-
.../test/Model/ExpandedPermissionTreeTest.php | 2 +-
.../client/php/test/Model/FlowErrorTest.php | 2 +-
.../test/Model/GenericErrorContentTest.php | 2 +-
.../php/test/Model/GenericErrorTest.php | 2 +-
.../php/test/Model/GenericUsageTest.php | 2 +-
.../Model/GetAttributesCountResponseTest.php | 2 +-
.../GetManagedIdentitySchemaLocationTest.php | 2 +-
.../Model/GetOrganizationResponseTest.php | 2 +-
.../Model/GetProjectMetricsResponseTest.php | 2 +-
.../Model/GetSessionActivityResponseTest.php | 2 +-
.../test/Model/HealthNotReadyStatusTest.php | 2 +-
.../php/test/Model/HealthStatusTest.php | 2 +-
.../Model/IdentityCredentialsCodeTest.php | 2 +-
.../IdentityCredentialsOidcProviderTest.php | 2 +-
.../Model/IdentityCredentialsOidcTest.php | 2 +-
.../Model/IdentityCredentialsPasswordTest.php | 2 +-
.../test/Model/IdentityCredentialsTest.php | 2 +-
.../Model/IdentityCredentialsTypeTest.php | 2 +-
.../test/Model/IdentityPatchResponseTest.php | 2 +-
.../php/test/Model/IdentityPatchTest.php | 2 +-
.../Model/IdentitySchemaContainerTest.php | 2 +-
.../test/Model/IdentitySchemaPresetTest.php | 2 +-
.../php/test/Model/IdentityStateTest.php | 2 +-
.../client/php/test/Model/IdentityTest.php | 2 +-
...yWithCredentialsOidcConfigProviderTest.php | 2 +-
.../IdentityWithCredentialsOidcConfigTest.php | 2 +-
.../Model/IdentityWithCredentialsOidcTest.php | 2 +-
...ntityWithCredentialsPasswordConfigTest.php | 2 +-
.../IdentityWithCredentialsPasswordTest.php | 2 +-
.../Model/IdentityWithCredentialsTest.php | 2 +-
.../php/test/Model/InlineObject3Test.php | 2 +-
.../php/test/Model/InlineResponse2001Test.php | 2 +-
.../php/test/Model/InlineResponse200Test.php | 2 +-
.../php/test/Model/InlineResponse503Test.php | 2 +-
.../InternalGetProjectBrandingBodyTest.php | 2 +-
...WelcomeScreenEnabledForProjectBodyTest.php | 2 +-
...nternalIsOwnerForProjectBySlugBodyTest.php | 2 +-
...nalIsOwnerForProjectBySlugResponseTest.php | 2 +-
.../InternalProvisionMockSubscriptionTest.php | 2 +-
.../Model/IntrospectedOAuth2TokenTest.php | 2 +-
.../Model/IsOwnerForProjectBySlugTest.php | 2 +-
.../client/php/test/Model/JsonPatchTest.php | 2 +-
.../php/test/Model/JsonWebKeySetTest.php | 2 +-
.../client/php/test/Model/JsonWebKeyTest.php | 2 +-
.../php/test/Model/KetoNamespaceTest.php | 2 +-
.../Model/ListOrganizationsResponseTest.php | 2 +-
.../php/test/Model/LoginFlowStateTest.php | 2 +-
.../client/php/test/Model/LoginFlowTest.php | 2 +-
.../client/php/test/Model/LogoutFlowTest.php | 2 +-
.../test/Model/ManagedIdentitySchemaTest.php | 2 +-
...agedIdentitySchemaValidationResultTest.php | 2 +-
.../php/test/Model/MemberInviteTest.php | 2 +-
.../php/test/Model/MessageDispatchTest.php | 2 +-
clients/client/php/test/Model/MessageTest.php | 2 +-
.../php/test/Model/MetricsDatapointTest.php | 2 +-
.../php/test/Model/ModelNamespaceTest.php | 2 +-
.../Model/NeedsPrivilegedSessionErrorTest.php | 2 +-
.../NormalizedProjectRevisionHookTest.php | 2 +-
...lizedProjectRevisionIdentitySchemaTest.php | 2 +-
.../Model/NormalizedProjectRevisionTest.php | 2 +-
...dProjectRevisionThirdPartyProviderTest.php | 2 +-
...edProjectRevisionTokenizerTemplateTest.php | 2 +-
.../php/test/Model/NormalizedProjectTest.php | 2 +-
.../php/test/Model/OAuth2ClientTest.php | 2 +-
.../Model/OAuth2ClientTokenLifespansTest.php | 2 +-
...ConsentRequestOpenIDConnectContextTest.php | 2 +-
.../test/Model/OAuth2ConsentRequestTest.php | 2 +-
.../OAuth2ConsentSessionExpiresAtTest.php | 2 +-
.../test/Model/OAuth2ConsentSessionTest.php | 2 +-
.../php/test/Model/OAuth2LoginRequestTest.php | 2 +-
.../test/Model/OAuth2LogoutRequestTest.php | 2 +-
.../php/test/Model/OAuth2RedirectToTest.php | 2 +-
.../test/Model/OAuth2TokenExchangeTest.php | 2 +-
.../php/test/Model/OidcConfigurationTest.php | 2 +-
.../php/test/Model/OidcUserInfoTest.php | 2 +-
.../php/test/Model/OrganizationBodyTest.php | 2 +-
.../php/test/Model/OrganizationTest.php | 2 +-
.../php/test/Model/PaginationHeadersTest.php | 2 +-
.../client/php/test/Model/PaginationTest.php | 2 +-
.../client/php/test/Model/ParseErrorTest.php | 2 +-
.../test/Model/PatchIdentitiesBodyTest.php | 2 +-
.../Model/PerformNativeLogoutBodyTest.php | 2 +-
.../client/php/test/Model/PlanDetailsTest.php | 2 +-
clients/client/php/test/Model/PlanTest.php | 2 +-
.../Model/PostCheckPermissionBodyTest.php | 2 +-
.../PostCheckPermissionOrErrorBodyTest.php | 2 +-
.../php/test/Model/ProjectApiKeyTest.php | 2 +-
.../test/Model/ProjectBrandingColorsTest.php | 2 +-
.../php/test/Model/ProjectBrandingTest.php | 2 +-
.../test/Model/ProjectBrandingThemeTest.php | 2 +-
.../client/php/test/Model/ProjectCorsTest.php | 2 +-
.../client/php/test/Model/ProjectHostTest.php | 2 +-
.../php/test/Model/ProjectMetadataTest.php | 2 +-
.../test/Model/ProjectServiceIdentityTest.php | 2 +-
.../test/Model/ProjectServiceOAuth2Test.php | 2 +-
.../Model/ProjectServicePermissionTest.php | 2 +-
.../php/test/Model/ProjectServicesTest.php | 2 +-
clients/client/php/test/Model/ProjectTest.php | 2 +-
.../client/php/test/Model/QuotaUsageTest.php | 2 +-
.../php/test/Model/RFC6749ErrorJsonTest.php | 2 +-
.../Model/RecoveryCodeForIdentityTest.php | 2 +-
.../php/test/Model/RecoveryFlowStateTest.php | 2 +-
.../php/test/Model/RecoveryFlowTest.php | 2 +-
.../Model/RecoveryIdentityAddressTest.php | 2 +-
.../Model/RecoveryLinkForIdentityTest.php | 2 +-
.../test/Model/RegistrationFlowStateTest.php | 2 +-
.../php/test/Model/RegistrationFlowTest.php | 2 +-
.../test/Model/RejectOAuth2RequestTest.php | 2 +-
.../php/test/Model/RelationQueryTest.php | 2 +-
.../test/Model/RelationshipNamespacesTest.php | 2 +-
.../php/test/Model/RelationshipPatchTest.php | 2 +-
.../php/test/Model/RelationshipTest.php | 2 +-
.../php/test/Model/RelationshipsTest.php | 2 +-
.../client/php/test/Model/SchemaPatchTest.php | 2 +-
.../Model/SelfServiceFlowExpiredErrorTest.php | 2 +-
.../Model/SessionActivityDatapointTest.php | 2 +-
.../Model/SessionAuthenticationMethodTest.php | 2 +-
.../php/test/Model/SessionDeviceTest.php | 2 +-
clients/client/php/test/Model/SessionTest.php | 2 +-
.../SetActiveProjectInConsoleBodyTest.php | 2 +-
.../test/Model/SetCustomDomainBodyTest.php | 2 +-
.../Model/SetProjectBrandingThemeBodyTest.php | 2 +-
.../client/php/test/Model/SetProjectTest.php | 2 +-
.../php/test/Model/SettingsFlowStateTest.php | 2 +-
.../php/test/Model/SettingsFlowTest.php | 2 +-
.../php/test/Model/SourcePositionTest.php | 2 +-
.../php/test/Model/StripeCustomerTest.php | 2 +-
.../client/php/test/Model/SubjectSetTest.php | 2 +-
.../php/test/Model/SubscriptionTest.php | 2 +-
.../SuccessfulCodeExchangeResponseTest.php | 2 +-
.../test/Model/SuccessfulNativeLoginTest.php | 2 +-
.../SuccessfulNativeRegistrationTest.php | 2 +-
.../Model/SuccessfulProjectUpdateTest.php | 2 +-
.../test/Model/TokenPaginationHeadersTest.php | 2 +-
.../TokenPaginationRequestParametersTest.php | 2 +-
.../TokenPaginationResponseHeadersTest.php | 2 +-
.../php/test/Model/TokenPaginationTest.php | 2 +-
.../Model/TrustOAuth2JwtGrantIssuerTest.php | 2 +-
.../Model/TrustedOAuth2JwtGrantIssuerTest.php | 2 +-
.../TrustedOAuth2JwtGrantJsonWebKeyTest.php | 2 +-
.../client/php/test/Model/UiContainerTest.php | 2 +-
.../test/Model/UiNodeAnchorAttributesTest.php | 2 +-
.../php/test/Model/UiNodeAttributesTest.php | 2 +-
.../test/Model/UiNodeImageAttributesTest.php | 2 +-
.../test/Model/UiNodeInputAttributesTest.php | 2 +-
.../client/php/test/Model/UiNodeMetaTest.php | 2 +-
.../test/Model/UiNodeScriptAttributesTest.php | 2 +-
clients/client/php/test/Model/UiNodeTest.php | 2 +-
.../test/Model/UiNodeTextAttributesTest.php | 2 +-
clients/client/php/test/Model/UiTextTest.php | 2 +-
.../php/test/Model/UpdateIdentityBodyTest.php | 2 +-
.../test/Model/UpdateLoginFlowBodyTest.php | 2 +-
.../UpdateLoginFlowWithCodeMethodTest.php | 2 +-
...ateLoginFlowWithLookupSecretMethodTest.php | 2 +-
.../UpdateLoginFlowWithOidcMethodTest.php | 2 +-
.../UpdateLoginFlowWithPasswordMethodTest.php | 2 +-
.../UpdateLoginFlowWithTotpMethodTest.php | 2 +-
.../UpdateLoginFlowWithWebAuthnMethodTest.php | 2 +-
.../test/Model/UpdateRecoveryFlowBodyTest.php | 2 +-
.../UpdateRecoveryFlowWithCodeMethodTest.php | 2 +-
.../UpdateRecoveryFlowWithLinkMethodTest.php | 2 +-
.../Model/UpdateRegistrationFlowBodyTest.php | 2 +-
...dateRegistrationFlowWithCodeMethodTest.php | 2 +-
...dateRegistrationFlowWithOidcMethodTest.php | 2 +-
...RegistrationFlowWithPasswordMethodTest.php | 2 +-
...RegistrationFlowWithWebAuthnMethodTest.php | 2 +-
.../test/Model/UpdateSettingsFlowBodyTest.php | 2 +-
...UpdateSettingsFlowWithLookupMethodTest.php | 2 +-
.../UpdateSettingsFlowWithOidcMethodTest.php | 2 +-
...dateSettingsFlowWithPasswordMethodTest.php | 2 +-
...pdateSettingsFlowWithProfileMethodTest.php | 2 +-
.../UpdateSettingsFlowWithTotpMethodTest.php | 2 +-
...dateSettingsFlowWithWebAuthnMethodTest.php | 2 +-
.../test/Model/UpdateSubscriptionBodyTest.php | 2 +-
.../Model/UpdateVerificationFlowBodyTest.php | 2 +-
...dateVerificationFlowWithCodeMethodTest.php | 2 +-
...dateVerificationFlowWithLinkMethodTest.php | 2 +-
clients/client/php/test/Model/UsageTest.php | 2 +-
...erifiableCredentialPrimingResponseTest.php | 2 +-
.../Model/VerifiableCredentialProofTest.php | 2 +-
.../VerifiableCredentialResponseTest.php | 2 +-
.../Model/VerifiableIdentityAddressTest.php | 2 +-
.../test/Model/VerificationFlowStateTest.php | 2 +-
.../php/test/Model/VerificationFlowTest.php | 2 +-
clients/client/php/test/Model/VersionTest.php | 2 +-
clients/client/php/test/Model/WarningTest.php | 2 +-
clients/client/python/README.md | 4 +-
clients/client/python/ory_client/__init__.py | 4 +-
.../python/ory_client/api/courier_api.py | 2 +-
.../python/ory_client/api/frontend_api.py | 2 +-
.../python/ory_client/api/identity_api.py | 2 +-
.../client/python/ory_client/api/jwk_api.py | 2 +-
.../python/ory_client/api/metadata_api.py | 2 +-
.../python/ory_client/api/o_auth2_api.py | 2 +-
.../client/python/ory_client/api/oidc_api.py | 2 +-
.../python/ory_client/api/permission_api.py | 2 +-
.../python/ory_client/api/project_api.py | 2 +-
.../python/ory_client/api/relationship_api.py | 2 +-
.../python/ory_client/api/wellknown_api.py | 2 +-
.../client/python/ory_client/api_client.py | 4 +-
.../client/python/ory_client/configuration.py | 6 +-
.../client/python/ory_client/exceptions.py | 2 +-
.../model/accept_o_auth2_consent_request.py | 2 +-
.../accept_o_auth2_consent_request_session.py | 2 +-
.../model/accept_o_auth2_login_request.py | 2 +-
.../model/active_project_in_console.py | 2 +-
.../model/attributes_count_datapoint.py | 2 +-
.../model/authenticator_assurance_level.py | 2 +-
.../model/batch_patch_identities_response.py | 2 +-
.../model/check_opl_syntax_result.py | 2 +-
.../model/check_permission_result.py | 2 +-
.../python/ory_client/model/cloud_account.py | 2 +-
.../model/consistency_request_parameters.py | 2 +-
.../python/ory_client/model/continue_with.py | 2 +-
.../continue_with_set_ory_session_token.py | 2 +-
.../model/continue_with_verification_ui.py | 2 +-
.../continue_with_verification_ui_flow.py | 2 +-
.../model/courier_message_status.py | 2 +-
.../ory_client/model/courier_message_type.py | 2 +-
.../model/create_custom_domain_body.py | 2 +-
.../ory_client/model/create_identity_body.py | 2 +-
.../model/create_invite_response.py | 2 +-
.../model/create_json_web_key_set.py | 2 +-
.../model/create_project_api_key_request.py | 2 +-
.../ory_client/model/create_project_body.py | 2 +-
.../model/create_project_branding.py | 2 +-
.../create_project_member_invite_body.py | 2 +-
.../create_project_member_invite_response.py | 2 +-
.../create_recovery_code_for_identity_body.py | 2 +-
.../create_recovery_link_for_identity_body.py | 2 +-
.../model/create_relationship_body.py | 2 +-
.../model/create_subscription_body.py | 2 +-
...eate_verifiable_credential_request_body.py | 2 +-
.../model/credential_supported_draft00.py | 2 +-
.../python/ory_client/model/custom_domain.py | 2 +-
.../model/delete_my_sessions_count.py | 2 +-
.../ory_client/model/email_template_data.py | 2 +-
.../model/email_template_data_body.py | 2 +-
...enticator_assurance_level_not_satisfied.py | 2 +-
.../error_browser_location_change_required.py | 2 +-
.../ory_client/model/error_flow_replaced.py | 2 +-
.../python/ory_client/model/error_generic.py | 2 +-
.../python/ory_client/model/error_o_auth2.py | 2 +-
.../model/expanded_permission_tree.py | 2 +-
.../python/ory_client/model/flow_error.py | 2 +-
.../python/ory_client/model/generic_error.py | 2 +-
.../ory_client/model/generic_error_content.py | 2 +-
.../python/ory_client/model/generic_usage.py | 2 +-
.../model/get_attributes_count_response.py | 2 +-
.../get_managed_identity_schema_location.py | 2 +-
.../model/get_organization_response.py | 2 +-
.../model/get_project_metrics_response.py | 2 +-
.../model/get_session_activity_response.py | 2 +-
.../model/get_version200_response.py | 2 +-
.../model/health_not_ready_status.py | 2 +-
.../python/ory_client/model/health_status.py | 2 +-
.../python/ory_client/model/identity.py | 2 +-
.../ory_client/model/identity_credentials.py | 2 +-
.../model/identity_credentials_code.py | 2 +-
.../model/identity_credentials_oidc.py | 2 +-
.../identity_credentials_oidc_provider.py | 2 +-
.../model/identity_credentials_password.py | 2 +-
.../model/identity_credentials_type.py | 2 +-
.../python/ory_client/model/identity_patch.py | 2 +-
.../model/identity_patch_response.py | 2 +-
.../model/identity_schema_container.py | 2 +-
.../model/identity_schema_preset.py | 2 +-
.../model/identity_schema_presets.py | 2 +-
.../ory_client/model/identity_schemas.py | 2 +-
.../python/ory_client/model/identity_state.py | 2 +-
.../model/identity_with_credentials.py | 2 +-
.../model/identity_with_credentials_oidc.py | 2 +-
.../identity_with_credentials_oidc_config.py | 2 +-
...y_with_credentials_oidc_config_provider.py | 2 +-
.../identity_with_credentials_password.py | 2 +-
...entity_with_credentials_password_config.py | 2 +-
.../internal_get_project_branding_body.py | 2 +-
...welcome_screen_enabled_for_project_body.py | 2 +-
...ernal_is_owner_for_project_by_slug_body.py | 2 +-
...l_is_owner_for_project_by_slug_response.py | 2 +-
.../internal_provision_mock_subscription.py | 2 +-
.../model/introspected_o_auth2_token.py | 2 +-
.../model/is_owner_for_project_by_slug.py | 2 +-
.../ory_client/model/is_ready200_response.py | 2 +-
.../ory_client/model/is_ready503_response.py | 2 +-
.../python/ory_client/model/json_patch.py | 2 +-
.../ory_client/model/json_patch_document.py | 2 +-
.../python/ory_client/model/json_web_key.py | 2 +-
.../ory_client/model/json_web_key_set.py | 2 +-
.../python/ory_client/model/keto_namespace.py | 2 +-
.../ory_client/model/keto_namespaces.py | 2 +-
.../ory_client/model/list_custom_domains.py | 2 +-
.../model/list_organizations_response.py | 2 +-
.../python/ory_client/model/login_flow.py | 2 +-
.../ory_client/model/login_flow_state.py | 2 +-
.../python/ory_client/model/logout_flow.py | 2 +-
.../model/managed_identity_schema.py | 2 +-
...naged_identity_schema_validation_result.py | 2 +-
.../model/managed_identity_schemas.py | 2 +-
.../python/ory_client/model/member_invite.py | 2 +-
.../python/ory_client/model/member_invites.py | 2 +-
.../client/python/ory_client/model/message.py | 2 +-
.../ory_client/model/message_dispatch.py | 2 +-
.../ory_client/model/metrics_datapoint.py | 2 +-
.../python/ory_client/model/namespace.py | 2 +-
.../model/needs_privileged_session_error.py | 2 +-
.../ory_client/model/normalized_project.py | 2 +-
.../model/normalized_project_revision.py | 2 +-
.../model/normalized_project_revision_hook.py | 2 +-
...alized_project_revision_identity_schema.py | 2 +-
...lized_project_revision_identity_schemas.py | 2 +-
...d_project_revision_third_party_provider.py | 2 +-
...zed_project_revision_tokenizer_template.py | 2 +-
...ed_project_revision_tokenizer_templates.py | 2 +-
.../ory_client/model/normalized_projects.py | 2 +-
.../python/ory_client/model/null_duration.py | 2 +-
.../python/ory_client/model/o_auth2_client.py | 2 +-
.../model/o_auth2_client_token_lifespans.py | 2 +-
.../model/o_auth2_consent_request.py | 2 +-
...consent_request_open_id_connect_context.py | 2 +-
.../model/o_auth2_consent_session.py | 2 +-
.../o_auth2_consent_session_expires_at.py | 2 +-
.../model/o_auth2_consent_sessions.py | 2 +-
.../ory_client/model/o_auth2_login_request.py | 2 +-
.../model/o_auth2_logout_request.py | 2 +-
.../ory_client/model/o_auth2_redirect_to.py | 2 +-
.../model/o_auth2_token_exchange.py | 2 +-
.../ory_client/model/oidc_configuration.py | 2 +-
.../python/ory_client/model/oidc_user_info.py | 2 +-
.../python/ory_client/model/organization.py | 2 +-
.../ory_client/model/organization_body.py | 2 +-
.../python/ory_client/model/pagination.py | 2 +-
.../ory_client/model/pagination_headers.py | 2 +-
.../python/ory_client/model/parse_error.py | 2 +-
.../ory_client/model/patch_identities_body.py | 2 +-
.../model/perform_native_logout_body.py | 2 +-
.../model/permissions_on_project.py | 2 +-
.../client/python/ory_client/model/plan.py | 2 +-
.../python/ory_client/model/plan_details.py | 2 +-
.../client/python/ory_client/model/plans.py | 2 +-
.../model/post_check_permission_body.py | 2 +-
.../post_check_permission_or_error_body.py | 2 +-
.../client/python/ory_client/model/pricing.py | 2 +-
.../client/python/ory_client/model/project.py | 2 +-
.../ory_client/model/project_api_key.py | 2 +-
.../ory_client/model/project_api_keys.py | 2 +-
.../ory_client/model/project_branding.py | 2 +-
.../model/project_branding_colors.py | 2 +-
.../model/project_branding_theme.py | 2 +-
.../model/project_branding_themes.py | 2 +-
.../python/ory_client/model/project_cors.py | 2 +-
.../python/ory_client/model/project_host.py | 2 +-
.../python/ory_client/model/project_member.py | 2 +-
.../ory_client/model/project_members.py | 2 +-
.../ory_client/model/project_metadata.py | 2 +-
.../ory_client/model/project_metadata_list.py | 2 +-
.../model/project_revision_hooks.py | 2 +-
.../project_revision_identity_schemas.py | 2 +-
...ct_revision_third_party_login_providers.py | 2 +-
.../ory_client/model/project_revisions.py | 2 +-
.../model/project_service_identity.py | 2 +-
.../model/project_service_o_auth2.py | 2 +-
.../model/project_service_permission.py | 2 +-
.../ory_client/model/project_services.py | 2 +-
.../python/ory_client/model/projects.py | 2 +-
.../python/ory_client/model/quota_usage.py | 2 +-
.../model/recovery_code_for_identity.py | 2 +-
.../python/ory_client/model/recovery_flow.py | 2 +-
.../ory_client/model/recovery_flow_state.py | 2 +-
.../model/recovery_identity_address.py | 2 +-
.../model/recovery_link_for_identity.py | 2 +-
.../ory_client/model/registration_flow.py | 2 +-
.../model/registration_flow_state.py | 2 +-
.../model/reject_o_auth2_request.py | 2 +-
.../python/ory_client/model/relation_query.py | 2 +-
.../python/ory_client/model/relationship.py | 2 +-
.../model/relationship_namespaces.py | 2 +-
.../ory_client/model/relationship_patch.py | 2 +-
.../python/ory_client/model/relationships.py | 2 +-
.../ory_client/model/rfc6749_error_json.py | 2 +-
.../python/ory_client/model/schema_patch.py | 2 +-
.../model/self_service_flow_expired_error.py | 2 +-
.../client/python/ory_client/model/session.py | 2 +-
.../model/session_activity_datapoint.py | 2 +-
.../model/session_authentication_method.py | 2 +-
.../model/session_authentication_methods.py | 2 +-
.../python/ory_client/model/session_device.py | 2 +-
.../set_active_project_in_console_body.py | 2 +-
.../model/set_custom_domain_body.py | 2 +-
.../python/ory_client/model/set_project.py | 2 +-
.../model/set_project_branding_theme_body.py | 2 +-
.../python/ory_client/model/settings_flow.py | 2 +-
.../ory_client/model/settings_flow_state.py | 2 +-
.../ory_client/model/source_position.py | 2 +-
.../model/string_slice_json_format.py | 2 +-
.../ory_client/model/stripe_customer.py | 2 +-
.../python/ory_client/model/subject_set.py | 2 +-
.../python/ory_client/model/subscription.py | 2 +-
.../successful_code_exchange_response.py | 2 +-
.../model/successful_native_login.py | 2 +-
.../model/successful_native_registration.py | 2 +-
.../model/successful_project_update.py | 2 +-
.../ory_client/model/token_pagination.py | 2 +-
.../model/token_pagination_headers.py | 2 +-
.../token_pagination_request_parameters.py | 2 +-
.../token_pagination_response_headers.py | 2 +-
.../model/trust_o_auth2_jwt_grant_issuer.py | 2 +-
.../model/trusted_o_auth2_jwt_grant_issuer.py | 2 +-
.../trusted_o_auth2_jwt_grant_issuers.py | 2 +-
.../trusted_o_auth2_jwt_grant_json_web_key.py | 2 +-
.../python/ory_client/model/ui_container.py | 2 +-
.../client/python/ory_client/model/ui_node.py | 2 +-
.../model/ui_node_anchor_attributes.py | 2 +-
.../ory_client/model/ui_node_attributes.py | 2 +-
.../model/ui_node_image_attributes.py | 2 +-
.../model/ui_node_input_attributes.py | 2 +-
.../python/ory_client/model/ui_node_meta.py | 2 +-
.../model/ui_node_script_attributes.py | 2 +-
.../model/ui_node_text_attributes.py | 2 +-
.../python/ory_client/model/ui_nodes.py | 2 +-
.../client/python/ory_client/model/ui_text.py | 2 +-
.../python/ory_client/model/ui_texts.py | 2 +-
.../ory_client/model/update_identity_body.py | 2 +-
.../model/update_login_flow_body.py | 2 +-
.../update_login_flow_with_code_method.py | 2 +-
...te_login_flow_with_lookup_secret_method.py | 2 +-
.../update_login_flow_with_oidc_method.py | 2 +-
.../update_login_flow_with_password_method.py | 2 +-
.../update_login_flow_with_totp_method.py | 2 +-
...update_login_flow_with_web_authn_method.py | 2 +-
.../model/update_recovery_flow_body.py | 2 +-
.../update_recovery_flow_with_code_method.py | 2 +-
.../update_recovery_flow_with_link_method.py | 2 +-
.../model/update_registration_flow_body.py | 2 +-
...date_registration_flow_with_code_method.py | 2 +-
...date_registration_flow_with_oidc_method.py | 2 +-
..._registration_flow_with_password_method.py | 2 +-
...registration_flow_with_web_authn_method.py | 2 +-
.../model/update_settings_flow_body.py | 2 +-
...update_settings_flow_with_lookup_method.py | 2 +-
.../update_settings_flow_with_oidc_method.py | 2 +-
...date_settings_flow_with_password_method.py | 2 +-
...pdate_settings_flow_with_profile_method.py | 2 +-
.../update_settings_flow_with_totp_method.py | 2 +-
...ate_settings_flow_with_web_authn_method.py | 2 +-
.../model/update_subscription_body.py | 2 +-
.../model/update_verification_flow_body.py | 2 +-
...date_verification_flow_with_code_method.py | 2 +-
...date_verification_flow_with_link_method.py | 2 +-
.../client/python/ory_client/model/usage.py | 2 +-
.../verifiable_credential_priming_response.py | 2 +-
.../model/verifiable_credential_proof.py | 2 +-
.../model/verifiable_credential_response.py | 2 +-
.../model/verifiable_identity_address.py | 2 +-
.../ory_client/model/verification_flow.py | 2 +-
.../model/verification_flow_state.py | 2 +-
.../client/python/ory_client/model/version.py | 2 +-
.../client/python/ory_client/model/warning.py | 2 +-
.../client/python/ory_client/model_utils.py | 2 +-
clients/client/python/ory_client/rest.py | 2 +-
clients/client/python/setup.py | 4 +-
.../test_accept_o_auth2_consent_request.py | 2 +-
..._accept_o_auth2_consent_request_session.py | 2 +-
.../test/test_accept_o_auth2_login_request.py | 2 +-
.../test/test_active_project_in_console.py | 2 +-
.../test/test_attributes_count_datapoint.py | 2 +-
.../test_authenticator_assurance_level.py | 2 +-
.../test_batch_patch_identities_response.py | 2 +-
.../test/test_check_opl_syntax_result.py | 2 +-
.../test/test_check_permission_result.py | 2 +-
.../client/python/test/test_cloud_account.py | 2 +-
.../test_consistency_request_parameters.py | 2 +-
.../client/python/test/test_continue_with.py | 2 +-
...est_continue_with_set_ory_session_token.py | 2 +-
.../test_continue_with_verification_ui.py | 2 +-
...test_continue_with_verification_ui_flow.py | 2 +-
.../client/python/test/test_courier_api.py | 2 +-
.../test/test_courier_message_status.py | 2 +-
.../python/test/test_courier_message_type.py | 2 +-
.../test/test_create_custom_domain_body.py | 2 +-
.../python/test/test_create_identity_body.py | 2 +-
.../test/test_create_invite_response.py | 2 +-
.../test/test_create_json_web_key_set.py | 2 +-
.../test_create_project_api_key_request.py | 2 +-
.../python/test/test_create_project_body.py | 2 +-
.../test/test_create_project_branding.py | 2 +-
.../test_create_project_member_invite_body.py | 2 +-
...t_create_project_member_invite_response.py | 2 +-
..._create_recovery_code_for_identity_body.py | 2 +-
..._create_recovery_link_for_identity_body.py | 2 +-
.../test/test_create_relationship_body.py | 2 +-
.../test/test_create_subscription_body.py | 2 +-
...eate_verifiable_credential_request_body.py | 2 +-
.../test/test_credential_supported_draft00.py | 2 +-
.../client/python/test/test_custom_domain.py | 2 +-
.../test/test_delete_my_sessions_count.py | 2 +-
.../python/test/test_email_template_data.py | 2 +-
.../test/test_email_template_data_body.py | 2 +-
...enticator_assurance_level_not_satisfied.py | 2 +-
..._error_browser_location_change_required.py | 2 +-
.../python/test/test_error_flow_replaced.py | 2 +-
.../client/python/test/test_error_generic.py | 2 +-
.../client/python/test/test_error_o_auth2.py | 2 +-
.../test/test_expanded_permission_tree.py | 2 +-
clients/client/python/test/test_flow_error.py | 2 +-
.../client/python/test/test_frontend_api.py | 2 +-
.../client/python/test/test_generic_error.py | 2 +-
.../python/test/test_generic_error_content.py | 2 +-
.../client/python/test/test_generic_usage.py | 2 +-
.../test_get_attributes_count_response.py | 2 +-
...st_get_managed_identity_schema_location.py | 2 +-
.../test/test_get_organization_response.py | 2 +-
.../test/test_get_project_metrics_response.py | 2 +-
.../test_get_session_activity_response.py | 2 +-
.../test/test_get_version200_response.py | 2 +-
.../test/test_health_not_ready_status.py | 2 +-
.../client/python/test/test_health_status.py | 2 +-
clients/client/python/test/test_identity.py | 2 +-
.../client/python/test/test_identity_api.py | 2 +-
.../python/test/test_identity_credentials.py | 2 +-
.../test/test_identity_credentials_code.py | 2 +-
.../test/test_identity_credentials_oidc.py | 2 +-
...test_identity_credentials_oidc_provider.py | 2 +-
.../test_identity_credentials_password.py | 2 +-
.../test/test_identity_credentials_type.py | 2 +-
.../client/python/test/test_identity_patch.py | 2 +-
.../test/test_identity_patch_response.py | 2 +-
.../test/test_identity_schema_container.py | 2 +-
.../test/test_identity_schema_preset.py | 2 +-
.../test/test_identity_schema_presets.py | 2 +-
.../python/test/test_identity_schemas.py | 2 +-
.../client/python/test/test_identity_state.py | 2 +-
.../test/test_identity_with_credentials.py | 2 +-
.../test_identity_with_credentials_oidc.py | 2 +-
...t_identity_with_credentials_oidc_config.py | 2 +-
...y_with_credentials_oidc_config_provider.py | 2 +-
...test_identity_with_credentials_password.py | 2 +-
...entity_with_credentials_password_config.py | 2 +-
...test_internal_get_project_branding_body.py | 2 +-
...welcome_screen_enabled_for_project_body.py | 2 +-
...ernal_is_owner_for_project_by_slug_body.py | 2 +-
...l_is_owner_for_project_by_slug_response.py | 2 +-
...st_internal_provision_mock_subscription.py | 2 +-
.../test/test_introspected_o_auth2_token.py | 2 +-
.../test/test_is_owner_for_project_by_slug.py | 2 +-
.../python/test/test_is_ready200_response.py | 2 +-
.../python/test/test_is_ready503_response.py | 2 +-
clients/client/python/test/test_json_patch.py | 2 +-
.../python/test/test_json_patch_document.py | 2 +-
.../client/python/test/test_json_web_key.py | 2 +-
.../python/test/test_json_web_key_set.py | 2 +-
clients/client/python/test/test_jwk_api.py | 2 +-
.../client/python/test/test_keto_namespace.py | 2 +-
.../python/test/test_keto_namespaces.py | 2 +-
.../python/test/test_list_custom_domains.py | 2 +-
.../test/test_list_organizations_response.py | 2 +-
clients/client/python/test/test_login_flow.py | 2 +-
.../python/test/test_login_flow_state.py | 2 +-
.../client/python/test/test_logout_flow.py | 2 +-
.../test/test_managed_identity_schema.py | 2 +-
...naged_identity_schema_validation_result.py | 2 +-
.../test/test_managed_identity_schemas.py | 2 +-
.../client/python/test/test_member_invite.py | 2 +-
.../client/python/test/test_member_invites.py | 2 +-
clients/client/python/test/test_message.py | 2 +-
.../python/test/test_message_dispatch.py | 2 +-
.../client/python/test/test_metadata_api.py | 2 +-
.../python/test/test_metrics_datapoint.py | 2 +-
clients/client/python/test/test_namespace.py | 2 +-
.../test_needs_privileged_session_error.py | 2 +-
.../python/test/test_normalized_project.py | 2 +-
.../test/test_normalized_project_revision.py | 2 +-
.../test_normalized_project_revision_hook.py | 2 +-
...alized_project_revision_identity_schema.py | 2 +-
...lized_project_revision_identity_schemas.py | 2 +-
...d_project_revision_third_party_provider.py | 2 +-
...zed_project_revision_tokenizer_template.py | 2 +-
...ed_project_revision_tokenizer_templates.py | 2 +-
.../python/test/test_normalized_projects.py | 2 +-
.../client/python/test/test_null_duration.py | 2 +-
.../client/python/test/test_o_auth2_api.py | 2 +-
.../client/python/test/test_o_auth2_client.py | 2 +-
.../test_o_auth2_client_token_lifespans.py | 2 +-
.../test/test_o_auth2_consent_request.py | 2 +-
...consent_request_open_id_connect_context.py | 2 +-
.../test/test_o_auth2_consent_session.py | 2 +-
...test_o_auth2_consent_session_expires_at.py | 2 +-
.../test/test_o_auth2_consent_sessions.py | 2 +-
.../python/test/test_o_auth2_login_request.py | 2 +-
.../test/test_o_auth2_logout_request.py | 2 +-
.../python/test/test_o_auth2_redirect_to.py | 2 +-
.../test/test_o_auth2_token_exchange.py | 2 +-
clients/client/python/test/test_oidc_api.py | 2 +-
.../python/test/test_oidc_configuration.py | 2 +-
.../client/python/test/test_oidc_user_info.py | 2 +-
.../client/python/test/test_organization.py | 2 +-
.../python/test/test_organization_body.py | 2 +-
clients/client/python/test/test_pagination.py | 2 +-
.../python/test/test_pagination_headers.py | 2 +-
.../client/python/test/test_parse_error.py | 2 +-
.../python/test/test_patch_identities_body.py | 2 +-
.../test/test_perform_native_logout_body.py | 2 +-
.../client/python/test/test_permission_api.py | 2 +-
.../test/test_permissions_on_project.py | 2 +-
clients/client/python/test/test_plan.py | 2 +-
.../client/python/test/test_plan_details.py | 2 +-
clients/client/python/test/test_plans.py | 2 +-
.../test/test_post_check_permission_body.py | 2 +-
...est_post_check_permission_or_error_body.py | 2 +-
clients/client/python/test/test_pricing.py | 2 +-
clients/client/python/test/test_project.py | 2 +-
.../client/python/test/test_project_api.py | 2 +-
.../python/test/test_project_api_key.py | 2 +-
.../python/test/test_project_api_keys.py | 2 +-
.../python/test/test_project_branding.py | 2 +-
.../test/test_project_branding_colors.py | 2 +-
.../test/test_project_branding_theme.py | 2 +-
.../test/test_project_branding_themes.py | 2 +-
.../client/python/test/test_project_cors.py | 2 +-
.../client/python/test/test_project_host.py | 2 +-
.../client/python/test/test_project_member.py | 2 +-
.../python/test/test_project_members.py | 2 +-
.../python/test/test_project_metadata.py | 2 +-
.../python/test/test_project_metadata_list.py | 2 +-
.../test/test_project_revision_hooks.py | 2 +-
.../test_project_revision_identity_schemas.py | 2 +-
...ct_revision_third_party_login_providers.py | 2 +-
.../python/test/test_project_revisions.py | 2 +-
.../test/test_project_service_identity.py | 2 +-
.../test/test_project_service_o_auth2.py | 2 +-
.../test/test_project_service_permission.py | 2 +-
.../python/test/test_project_services.py | 2 +-
clients/client/python/test/test_projects.py | 2 +-
.../client/python/test/test_quota_usage.py | 2 +-
.../test/test_recovery_code_for_identity.py | 2 +-
.../client/python/test/test_recovery_flow.py | 2 +-
.../python/test/test_recovery_flow_state.py | 2 +-
.../test/test_recovery_identity_address.py | 2 +-
.../test/test_recovery_link_for_identity.py | 2 +-
.../python/test/test_registration_flow.py | 2 +-
.../test/test_registration_flow_state.py | 2 +-
.../test/test_reject_o_auth2_request.py | 2 +-
.../client/python/test/test_relation_query.py | 2 +-
.../client/python/test/test_relationship.py | 2 +-
.../python/test/test_relationship_api.py | 2 +-
.../test/test_relationship_namespaces.py | 2 +-
.../python/test/test_relationship_patch.py | 2 +-
.../client/python/test/test_relationships.py | 2 +-
.../python/test/test_rfc6749_error_json.py | 2 +-
.../client/python/test/test_schema_patch.py | 2 +-
.../test_self_service_flow_expired_error.py | 2 +-
clients/client/python/test/test_session.py | 2 +-
.../test/test_session_activity_datapoint.py | 2 +-
.../test_session_authentication_method.py | 2 +-
.../test_session_authentication_methods.py | 2 +-
.../client/python/test/test_session_device.py | 2 +-
...test_set_active_project_in_console_body.py | 2 +-
.../test/test_set_custom_domain_body.py | 2 +-
.../client/python/test/test_set_project.py | 2 +-
.../test_set_project_branding_theme_body.py | 2 +-
.../client/python/test/test_settings_flow.py | 2 +-
.../python/test/test_settings_flow_state.py | 2 +-
.../python/test/test_source_position.py | 2 +-
.../test/test_string_slice_json_format.py | 2 +-
.../python/test/test_stripe_customer.py | 2 +-
.../client/python/test/test_subject_set.py | 2 +-
.../client/python/test/test_subscription.py | 2 +-
.../test_successful_code_exchange_response.py | 2 +-
.../test/test_successful_native_login.py | 2 +-
.../test_successful_native_registration.py | 2 +-
.../test/test_successful_project_update.py | 2 +-
.../python/test/test_token_pagination.py | 2 +-
.../test/test_token_pagination_headers.py | 2 +-
...est_token_pagination_request_parameters.py | 2 +-
.../test_token_pagination_response_headers.py | 2 +-
.../test_trust_o_auth2_jwt_grant_issuer.py | 2 +-
.../test_trusted_o_auth2_jwt_grant_issuer.py | 2 +-
.../test_trusted_o_auth2_jwt_grant_issuers.py | 2 +-
..._trusted_o_auth2_jwt_grant_json_web_key.py | 2 +-
.../client/python/test/test_ui_container.py | 2 +-
clients/client/python/test/test_ui_node.py | 2 +-
.../test/test_ui_node_anchor_attributes.py | 2 +-
.../python/test/test_ui_node_attributes.py | 2 +-
.../test/test_ui_node_image_attributes.py | 2 +-
.../test/test_ui_node_input_attributes.py | 2 +-
.../client/python/test/test_ui_node_meta.py | 2 +-
.../test/test_ui_node_script_attributes.py | 2 +-
.../test/test_ui_node_text_attributes.py | 2 +-
clients/client/python/test/test_ui_nodes.py | 2 +-
clients/client/python/test/test_ui_text.py | 2 +-
clients/client/python/test/test_ui_texts.py | 2 +-
.../python/test/test_update_identity_body.py | 2 +-
.../test/test_update_login_flow_body.py | 2 +-
...test_update_login_flow_with_code_method.py | 2 +-
...te_login_flow_with_lookup_secret_method.py | 2 +-
...test_update_login_flow_with_oidc_method.py | 2 +-
..._update_login_flow_with_password_method.py | 2 +-
...test_update_login_flow_with_totp_method.py | 2 +-
...update_login_flow_with_web_authn_method.py | 2 +-
.../test/test_update_recovery_flow_body.py | 2 +-
...t_update_recovery_flow_with_code_method.py | 2 +-
...t_update_recovery_flow_with_link_method.py | 2 +-
.../test_update_registration_flow_body.py | 2 +-
...date_registration_flow_with_code_method.py | 2 +-
...date_registration_flow_with_oidc_method.py | 2 +-
..._registration_flow_with_password_method.py | 2 +-
...registration_flow_with_web_authn_method.py | 2 +-
.../test/test_update_settings_flow_body.py | 2 +-
...update_settings_flow_with_lookup_method.py | 2 +-
...t_update_settings_flow_with_oidc_method.py | 2 +-
...date_settings_flow_with_password_method.py | 2 +-
...pdate_settings_flow_with_profile_method.py | 2 +-
...t_update_settings_flow_with_totp_method.py | 2 +-
...ate_settings_flow_with_web_authn_method.py | 2 +-
.../test/test_update_subscription_body.py | 2 +-
.../test_update_verification_flow_body.py | 2 +-
...date_verification_flow_with_code_method.py | 2 +-
...date_verification_flow_with_link_method.py | 2 +-
clients/client/python/test/test_usage.py | 2 +-
..._verifiable_credential_priming_response.py | 2 +-
.../test/test_verifiable_credential_proof.py | 2 +-
.../test_verifiable_credential_response.py | 2 +-
.../test/test_verifiable_identity_address.py | 2 +-
.../python/test/test_verification_flow.py | 2 +-
.../test/test_verification_flow_state.py | 2 +-
clients/client/python/test/test_version.py | 2 +-
clients/client/python/test/test_warning.py | 2 +-
.../client/python/test/test_wellknown_api.py | 2 +-
clients/client/ruby/Gemfile.lock | 2 +-
clients/client/ruby/README.md | 10 +-
clients/client/ruby/lib/ory-client.rb | 2 +-
.../ruby/lib/ory-client/api/courier_api.rb | 2 +-
.../ruby/lib/ory-client/api/frontend_api.rb | 2 +-
.../ruby/lib/ory-client/api/identity_api.rb | 2 +-
.../client/ruby/lib/ory-client/api/jwk_api.rb | 2 +-
.../ruby/lib/ory-client/api/metadata_api.rb | 2 +-
.../ruby/lib/ory-client/api/o_auth2_api.rb | 2 +-
.../ruby/lib/ory-client/api/oidc_api.rb | 2 +-
.../ruby/lib/ory-client/api/permission_api.rb | 2 +-
.../ruby/lib/ory-client/api/project_api.rb | 2 +-
.../lib/ory-client/api/relationship_api.rb | 2 +-
.../ruby/lib/ory-client/api/wellknown_api.rb | 2 +-
.../client/ruby/lib/ory-client/api_client.rb | 2 +-
.../client/ruby/lib/ory-client/api_error.rb | 2 +-
.../ruby/lib/ory-client/configuration.rb | 2 +-
.../models/accept_o_auth2_consent_request.rb | 2 +-
.../accept_o_auth2_consent_request_session.rb | 2 +-
.../models/accept_o_auth2_login_request.rb | 2 +-
.../models/active_project_in_console.rb | 2 +-
.../models/attributes_count_datapoint.rb | 2 +-
.../models/authenticator_assurance_level.rb | 2 +-
.../models/batch_patch_identities_response.rb | 2 +-
.../models/check_opl_syntax_result.rb | 2 +-
.../models/check_permission_result.rb | 2 +-
.../lib/ory-client/models/cloud_account.rb | 2 +-
.../models/consistency_request_parameters.rb | 2 +-
.../lib/ory-client/models/continue_with.rb | 2 +-
.../continue_with_set_ory_session_token.rb | 2 +-
.../models/continue_with_verification_ui.rb | 2 +-
.../continue_with_verification_ui_flow.rb | 2 +-
.../models/courier_message_status.rb | 2 +-
.../ory-client/models/courier_message_type.rb | 2 +-
.../models/create_custom_domain_body.rb | 2 +-
.../ory-client/models/create_identity_body.rb | 2 +-
.../models/create_invite_response.rb | 2 +-
.../models/create_json_web_key_set.rb | 2 +-
.../models/create_project_api_key_request.rb | 2 +-
.../ory-client/models/create_project_body.rb | 2 +-
.../models/create_project_branding.rb | 2 +-
.../create_project_member_invite_body.rb | 2 +-
.../create_recovery_code_for_identity_body.rb | 2 +-
.../create_recovery_link_for_identity_body.rb | 2 +-
.../models/create_relationship_body.rb | 2 +-
.../models/create_subscription_body.rb | 2 +-
...eate_verifiable_credential_request_body.rb | 2 +-
.../models/credential_supported_draft00.rb | 2 +-
.../lib/ory-client/models/custom_domain.rb | 2 +-
.../models/delete_my_sessions_count.rb | 2 +-
.../ory-client/models/email_template_data.rb | 2 +-
.../models/email_template_data_body.rb | 2 +-
...enticator_assurance_level_not_satisfied.rb | 2 +-
.../error_browser_location_change_required.rb | 2 +-
.../ory-client/models/error_flow_replaced.rb | 2 +-
.../lib/ory-client/models/error_generic.rb | 2 +-
.../lib/ory-client/models/error_o_auth2.rb | 2 +-
.../models/expanded_permission_tree.rb | 2 +-
.../ruby/lib/ory-client/models/flow_error.rb | 2 +-
.../lib/ory-client/models/generic_error.rb | 2 +-
.../models/generic_error_content.rb | 2 +-
.../lib/ory-client/models/generic_usage.rb | 2 +-
.../models/get_attributes_count_response.rb | 2 +-
.../get_managed_identity_schema_location.rb | 2 +-
.../models/get_organization_response.rb | 2 +-
.../models/get_project_metrics_response.rb | 2 +-
.../models/get_session_activity_response.rb | 2 +-
.../models/get_version200_response.rb | 2 +-
.../models/health_not_ready_status.rb | 2 +-
.../lib/ory-client/models/health_status.rb | 2 +-
.../ruby/lib/ory-client/models/identity.rb | 2 +-
.../ory-client/models/identity_credentials.rb | 2 +-
.../models/identity_credentials_code.rb | 2 +-
.../models/identity_credentials_oidc.rb | 2 +-
.../identity_credentials_oidc_provider.rb | 2 +-
.../models/identity_credentials_password.rb | 2 +-
.../models/identity_credentials_type.rb | 2 +-
.../lib/ory-client/models/identity_patch.rb | 2 +-
.../models/identity_patch_response.rb | 2 +-
.../models/identity_schema_container.rb | 2 +-
.../models/identity_schema_preset.rb | 2 +-
.../lib/ory-client/models/identity_state.rb | 2 +-
.../models/identity_with_credentials.rb | 2 +-
.../models/identity_with_credentials_oidc.rb | 2 +-
.../identity_with_credentials_oidc_config.rb | 2 +-
...y_with_credentials_oidc_config_provider.rb | 2 +-
.../identity_with_credentials_password.rb | 2 +-
...entity_with_credentials_password_config.rb | 2 +-
.../internal_get_project_branding_body.rb | 2 +-
...welcome_screen_enabled_for_project_body.rb | 2 +-
...ernal_is_owner_for_project_by_slug_body.rb | 2 +-
...l_is_owner_for_project_by_slug_response.rb | 2 +-
.../internal_provision_mock_subscription.rb | 2 +-
.../models/introspected_o_auth2_token.rb | 2 +-
.../models/is_owner_for_project_by_slug.rb | 2 +-
.../ory-client/models/is_ready200_response.rb | 2 +-
.../ory-client/models/is_ready503_response.rb | 2 +-
.../ruby/lib/ory-client/models/json_patch.rb | 2 +-
.../lib/ory-client/models/json_web_key.rb | 2 +-
.../lib/ory-client/models/json_web_key_set.rb | 2 +-
.../lib/ory-client/models/keto_namespace.rb | 2 +-
.../models/list_organizations_response.rb | 2 +-
.../ruby/lib/ory-client/models/login_flow.rb | 2 +-
.../lib/ory-client/models/login_flow_state.rb | 2 +-
.../ruby/lib/ory-client/models/logout_flow.rb | 2 +-
.../models/managed_identity_schema.rb | 2 +-
...naged_identity_schema_validation_result.rb | 2 +-
.../lib/ory-client/models/member_invite.rb | 2 +-
.../ruby/lib/ory-client/models/message.rb | 2 +-
.../lib/ory-client/models/message_dispatch.rb | 2 +-
.../ory-client/models/metrics_datapoint.rb | 2 +-
.../ruby/lib/ory-client/models/namespace.rb | 2 +-
.../models/needs_privileged_session_error.rb | 2 +-
.../ory-client/models/normalized_project.rb | 2 +-
.../models/normalized_project_revision.rb | 2 +-
.../normalized_project_revision_hook.rb | 2 +-
...alized_project_revision_identity_schema.rb | 2 +-
...d_project_revision_third_party_provider.rb | 2 +-
...zed_project_revision_tokenizer_template.rb | 2 +-
.../lib/ory-client/models/o_auth2_client.rb | 2 +-
.../models/o_auth2_client_token_lifespans.rb | 2 +-
.../models/o_auth2_consent_request.rb | 2 +-
...consent_request_open_id_connect_context.rb | 2 +-
.../models/o_auth2_consent_session.rb | 2 +-
.../o_auth2_consent_session_expires_at.rb | 2 +-
.../models/o_auth2_login_request.rb | 2 +-
.../models/o_auth2_logout_request.rb | 2 +-
.../ory-client/models/o_auth2_redirect_to.rb | 2 +-
.../models/o_auth2_token_exchange.rb | 2 +-
.../ory-client/models/oidc_configuration.rb | 2 +-
.../lib/ory-client/models/oidc_user_info.rb | 2 +-
.../lib/ory-client/models/organization.rb | 2 +-
.../ory-client/models/organization_body.rb | 2 +-
.../ruby/lib/ory-client/models/pagination.rb | 2 +-
.../ory-client/models/pagination_headers.rb | 2 +-
.../ruby/lib/ory-client/models/parse_error.rb | 2 +-
.../models/patch_identities_body.rb | 2 +-
.../models/perform_native_logout_body.rb | 2 +-
.../client/ruby/lib/ory-client/models/plan.rb | 2 +-
.../lib/ory-client/models/plan_details.rb | 2 +-
.../models/post_check_permission_body.rb | 2 +-
.../post_check_permission_or_error_body.rb | 2 +-
.../ruby/lib/ory-client/models/project.rb | 2 +-
.../lib/ory-client/models/project_api_key.rb | 2 +-
.../lib/ory-client/models/project_branding.rb | 2 +-
.../models/project_branding_colors.rb | 2 +-
.../models/project_branding_theme.rb | 2 +-
.../lib/ory-client/models/project_cors.rb | 2 +-
.../lib/ory-client/models/project_host.rb | 2 +-
.../lib/ory-client/models/project_metadata.rb | 2 +-
.../models/project_service_identity.rb | 2 +-
.../models/project_service_o_auth2.rb | 2 +-
.../models/project_service_permission.rb | 2 +-
.../lib/ory-client/models/project_services.rb | 2 +-
.../ruby/lib/ory-client/models/quota_usage.rb | 2 +-
.../models/recovery_code_for_identity.rb | 2 +-
.../lib/ory-client/models/recovery_flow.rb | 2 +-
.../ory-client/models/recovery_flow_state.rb | 2 +-
.../models/recovery_identity_address.rb | 2 +-
.../models/recovery_link_for_identity.rb | 2 +-
.../ory-client/models/registration_flow.rb | 2 +-
.../models/registration_flow_state.rb | 2 +-
.../models/reject_o_auth2_request.rb | 2 +-
.../lib/ory-client/models/relation_query.rb | 2 +-
.../lib/ory-client/models/relationship.rb | 2 +-
.../models/relationship_namespaces.rb | 2 +-
.../ory-client/models/relationship_patch.rb | 2 +-
.../lib/ory-client/models/relationships.rb | 2 +-
.../ory-client/models/rfc6749_error_json.rb | 2 +-
.../lib/ory-client/models/schema_patch.rb | 2 +-
.../models/self_service_flow_expired_error.rb | 2 +-
.../ruby/lib/ory-client/models/session.rb | 2 +-
.../models/session_activity_datapoint.rb | 2 +-
.../models/session_authentication_method.rb | 2 +-
.../lib/ory-client/models/session_device.rb | 2 +-
.../set_active_project_in_console_body.rb | 2 +-
.../models/set_custom_domain_body.rb | 2 +-
.../ruby/lib/ory-client/models/set_project.rb | 2 +-
.../models/set_project_branding_theme_body.rb | 2 +-
.../lib/ory-client/models/settings_flow.rb | 2 +-
.../ory-client/models/settings_flow_state.rb | 2 +-
.../lib/ory-client/models/source_position.rb | 2 +-
.../lib/ory-client/models/stripe_customer.rb | 2 +-
.../ruby/lib/ory-client/models/subject_set.rb | 2 +-
.../lib/ory-client/models/subscription.rb | 2 +-
.../successful_code_exchange_response.rb | 2 +-
.../models/successful_native_login.rb | 2 +-
.../models/successful_native_registration.rb | 2 +-
.../models/successful_project_update.rb | 2 +-
.../lib/ory-client/models/token_pagination.rb | 2 +-
.../models/token_pagination_headers.rb | 2 +-
.../token_pagination_request_parameters.rb | 2 +-
.../token_pagination_response_headers.rb | 2 +-
.../models/trust_o_auth2_jwt_grant_issuer.rb | 2 +-
.../trusted_o_auth2_jwt_grant_issuer.rb | 2 +-
.../trusted_o_auth2_jwt_grant_json_web_key.rb | 2 +-
.../lib/ory-client/models/ui_container.rb | 2 +-
.../ruby/lib/ory-client/models/ui_node.rb | 2 +-
.../models/ui_node_anchor_attributes.rb | 2 +-
.../ory-client/models/ui_node_attributes.rb | 2 +-
.../models/ui_node_image_attributes.rb | 2 +-
.../models/ui_node_input_attributes.rb | 2 +-
.../lib/ory-client/models/ui_node_meta.rb | 2 +-
.../models/ui_node_script_attributes.rb | 2 +-
.../models/ui_node_text_attributes.rb | 2 +-
.../ruby/lib/ory-client/models/ui_text.rb | 2 +-
.../ory-client/models/update_identity_body.rb | 2 +-
.../models/update_login_flow_body.rb | 2 +-
.../update_login_flow_with_code_method.rb | 2 +-
...te_login_flow_with_lookup_secret_method.rb | 2 +-
.../update_login_flow_with_oidc_method.rb | 2 +-
.../update_login_flow_with_password_method.rb | 2 +-
.../update_login_flow_with_totp_method.rb | 2 +-
...update_login_flow_with_web_authn_method.rb | 2 +-
.../models/update_recovery_flow_body.rb | 2 +-
.../update_recovery_flow_with_code_method.rb | 2 +-
.../update_recovery_flow_with_link_method.rb | 2 +-
.../models/update_registration_flow_body.rb | 2 +-
...date_registration_flow_with_code_method.rb | 2 +-
...date_registration_flow_with_oidc_method.rb | 2 +-
..._registration_flow_with_password_method.rb | 2 +-
...registration_flow_with_web_authn_method.rb | 2 +-
.../models/update_settings_flow_body.rb | 2 +-
...update_settings_flow_with_lookup_method.rb | 2 +-
.../update_settings_flow_with_oidc_method.rb | 2 +-
...date_settings_flow_with_password_method.rb | 2 +-
...pdate_settings_flow_with_profile_method.rb | 2 +-
.../update_settings_flow_with_totp_method.rb | 2 +-
...ate_settings_flow_with_web_authn_method.rb | 2 +-
.../models/update_subscription_body.rb | 2 +-
.../models/update_verification_flow_body.rb | 2 +-
...date_verification_flow_with_code_method.rb | 2 +-
...date_verification_flow_with_link_method.rb | 2 +-
.../ruby/lib/ory-client/models/usage.rb | 2 +-
.../verifiable_credential_priming_response.rb | 2 +-
.../models/verifiable_credential_proof.rb | 2 +-
.../models/verifiable_credential_response.rb | 2 +-
.../models/verifiable_identity_address.rb | 2 +-
.../ory-client/models/verification_flow.rb | 2 +-
.../models/verification_flow_state.rb | 2 +-
.../ruby/lib/ory-client/models/version.rb | 2 +-
.../ruby/lib/ory-client/models/warning.rb | 2 +-
clients/client/ruby/lib/ory-client/version.rb | 4 +-
clients/client/ruby/ory-client.gemspec | 2 +-
.../client/ruby/spec/api/courier_api_spec.rb | 2 +-
.../client/ruby/spec/api/frontend_api_spec.rb | 2 +-
.../client/ruby/spec/api/identity_api_spec.rb | 2 +-
clients/client/ruby/spec/api/jwk_api_spec.rb | 2 +-
.../client/ruby/spec/api/metadata_api_spec.rb | 2 +-
.../client/ruby/spec/api/o_auth2_api_spec.rb | 2 +-
clients/client/ruby/spec/api/oidc_api_spec.rb | 2 +-
.../ruby/spec/api/permission_api_spec.rb | 2 +-
.../client/ruby/spec/api/project_api_spec.rb | 2 +-
.../ruby/spec/api/relationship_api_spec.rb | 2 +-
.../ruby/spec/api/wellknown_api_spec.rb | 2 +-
clients/client/ruby/spec/api_client_spec.rb | 2 +-
.../client/ruby/spec/configuration_spec.rb | 2 +-
...pt_o_auth2_consent_request_session_spec.rb | 2 +-
.../accept_o_auth2_consent_request_spec.rb | 2 +-
.../accept_o_auth2_login_request_spec.rb | 2 +-
.../models/active_project_in_console_spec.rb | 2 +-
.../models/attributes_count_datapoint_spec.rb | 2 +-
.../authenticator_assurance_level_spec.rb | 2 +-
.../batch_patch_identities_response_spec.rb | 2 +-
.../models/check_opl_syntax_result_spec.rb | 2 +-
.../models/check_permission_result_spec.rb | 2 +-
.../ruby/spec/models/cloud_account_spec.rb | 2 +-
.../consistency_request_parameters_spec.rb | 2 +-
...ontinue_with_set_ory_session_token_spec.rb | 2 +-
.../ruby/spec/models/continue_with_spec.rb | 2 +-
...continue_with_verification_ui_flow_spec.rb | 2 +-
.../continue_with_verification_ui_spec.rb | 2 +-
.../models/courier_message_status_spec.rb | 2 +-
.../spec/models/courier_message_type_spec.rb | 2 +-
.../models/create_custom_domain_body_spec.rb | 2 +-
.../spec/models/create_identity_body_spec.rb | 2 +-
.../models/create_invite_response_spec.rb | 2 +-
.../models/create_json_web_key_set_spec.rb | 2 +-
.../create_project_api_key_request_spec.rb | 2 +-
.../spec/models/create_project_body_spec.rb | 2 +-
.../models/create_project_branding_spec.rb | 2 +-
.../create_project_member_invite_body_spec.rb | 2 +-
...te_recovery_code_for_identity_body_spec.rb | 2 +-
...te_recovery_link_for_identity_body_spec.rb | 2 +-
.../models/create_relationship_body_spec.rb | 2 +-
.../models/create_subscription_body_spec.rb | 2 +-
...verifiable_credential_request_body_spec.rb | 2 +-
.../credential_supported_draft00_spec.rb | 2 +-
.../ruby/spec/models/custom_domain_spec.rb | 2 +-
.../models/delete_my_sessions_count_spec.rb | 2 +-
.../models/email_template_data_body_spec.rb | 2 +-
.../spec/models/email_template_data_spec.rb | 2 +-
...ator_assurance_level_not_satisfied_spec.rb | 2 +-
...r_browser_location_change_required_spec.rb | 2 +-
.../spec/models/error_flow_replaced_spec.rb | 2 +-
.../ruby/spec/models/error_generic_spec.rb | 2 +-
.../ruby/spec/models/error_o_auth2_spec.rb | 2 +-
.../models/expanded_permission_tree_spec.rb | 2 +-
.../ruby/spec/models/flow_error_spec.rb | 2 +-
.../spec/models/generic_error_content_spec.rb | 2 +-
.../ruby/spec/models/generic_error_spec.rb | 2 +-
.../ruby/spec/models/generic_usage_spec.rb | 2 +-
.../get_attributes_count_response_spec.rb | 2 +-
...t_managed_identity_schema_location_spec.rb | 2 +-
.../models/get_organization_response_spec.rb | 2 +-
.../get_project_metrics_response_spec.rb | 2 +-
.../get_session_activity_response_spec.rb | 2 +-
.../models/get_version200_response_spec.rb | 2 +-
.../models/health_not_ready_status_spec.rb | 2 +-
.../ruby/spec/models/health_status_spec.rb | 2 +-
.../models/identity_credentials_code_spec.rb | 2 +-
...identity_credentials_oidc_provider_spec.rb | 2 +-
.../models/identity_credentials_oidc_spec.rb | 2 +-
.../identity_credentials_password_spec.rb | 2 +-
.../spec/models/identity_credentials_spec.rb | 2 +-
.../models/identity_credentials_type_spec.rb | 2 +-
.../models/identity_patch_response_spec.rb | 2 +-
.../ruby/spec/models/identity_patch_spec.rb | 2 +-
.../models/identity_schema_container_spec.rb | 2 +-
.../models/identity_schema_preset_spec.rb | 2 +-
.../client/ruby/spec/models/identity_spec.rb | 2 +-
.../ruby/spec/models/identity_state_spec.rb | 2 +-
...h_credentials_oidc_config_provider_spec.rb | 2 +-
...ntity_with_credentials_oidc_config_spec.rb | 2 +-
.../identity_with_credentials_oidc_spec.rb | 2 +-
...y_with_credentials_password_config_spec.rb | 2 +-
...identity_with_credentials_password_spec.rb | 2 +-
.../models/identity_with_credentials_spec.rb | 2 +-
...internal_get_project_branding_body_spec.rb | 2 +-
...me_screen_enabled_for_project_body_spec.rb | 2 +-
..._is_owner_for_project_by_slug_body_spec.rb | 2 +-
...owner_for_project_by_slug_response_spec.rb | 2 +-
...ternal_provision_mock_subscription_spec.rb | 2 +-
.../models/introspected_o_auth2_token_spec.rb | 2 +-
.../is_owner_for_project_by_slug_spec.rb | 2 +-
.../spec/models/is_ready200_response_spec.rb | 2 +-
.../spec/models/is_ready503_response_spec.rb | 2 +-
.../ruby/spec/models/json_patch_spec.rb | 2 +-
.../ruby/spec/models/json_web_key_set_spec.rb | 2 +-
.../ruby/spec/models/json_web_key_spec.rb | 2 +-
.../ruby/spec/models/keto_namespace_spec.rb | 2 +-
.../list_organizations_response_spec.rb | 2 +-
.../ruby/spec/models/login_flow_spec.rb | 2 +-
.../ruby/spec/models/login_flow_state_spec.rb | 2 +-
.../ruby/spec/models/logout_flow_spec.rb | 2 +-
.../models/managed_identity_schema_spec.rb | 2 +-
..._identity_schema_validation_result_spec.rb | 2 +-
.../ruby/spec/models/member_invite_spec.rb | 2 +-
.../ruby/spec/models/message_dispatch_spec.rb | 2 +-
.../client/ruby/spec/models/message_spec.rb | 2 +-
.../spec/models/metrics_datapoint_spec.rb | 2 +-
.../client/ruby/spec/models/namespace_spec.rb | 2 +-
.../needs_privileged_session_error_spec.rb | 2 +-
.../normalized_project_revision_hook_spec.rb | 2 +-
...d_project_revision_identity_schema_spec.rb | 2 +-
.../normalized_project_revision_spec.rb | 2 +-
...ject_revision_third_party_provider_spec.rb | 2 +-
...roject_revision_tokenizer_template_spec.rb | 2 +-
.../spec/models/normalized_project_spec.rb | 2 +-
.../ruby/spec/models/o_auth2_client_spec.rb | 2 +-
.../o_auth2_client_token_lifespans_spec.rb | 2 +-
...nt_request_open_id_connect_context_spec.rb | 2 +-
.../models/o_auth2_consent_request_spec.rb | 2 +-
...o_auth2_consent_session_expires_at_spec.rb | 2 +-
.../models/o_auth2_consent_session_spec.rb | 2 +-
.../spec/models/o_auth2_login_request_spec.rb | 2 +-
.../models/o_auth2_logout_request_spec.rb | 2 +-
.../spec/models/o_auth2_redirect_to_spec.rb | 2 +-
.../models/o_auth2_token_exchange_spec.rb | 2 +-
.../spec/models/oidc_configuration_spec.rb | 2 +-
.../ruby/spec/models/oidc_user_info_spec.rb | 2 +-
.../spec/models/organization_body_spec.rb | 2 +-
.../ruby/spec/models/organization_spec.rb | 2 +-
.../spec/models/pagination_headers_spec.rb | 2 +-
.../ruby/spec/models/pagination_spec.rb | 2 +-
.../ruby/spec/models/parse_error_spec.rb | 2 +-
.../spec/models/patch_identities_body_spec.rb | 2 +-
.../models/perform_native_logout_body_spec.rb | 2 +-
.../ruby/spec/models/plan_details_spec.rb | 2 +-
clients/client/ruby/spec/models/plan_spec.rb | 2 +-
.../models/post_check_permission_body_spec.rb | 2 +-
...ost_check_permission_or_error_body_spec.rb | 2 +-
.../ruby/spec/models/project_api_key_spec.rb | 2 +-
.../models/project_branding_colors_spec.rb | 2 +-
.../ruby/spec/models/project_branding_spec.rb | 2 +-
.../models/project_branding_theme_spec.rb | 2 +-
.../ruby/spec/models/project_cors_spec.rb | 2 +-
.../ruby/spec/models/project_host_spec.rb | 2 +-
.../ruby/spec/models/project_metadata_spec.rb | 2 +-
.../models/project_service_identity_spec.rb | 2 +-
.../models/project_service_o_auth2_spec.rb | 2 +-
.../models/project_service_permission_spec.rb | 2 +-
.../ruby/spec/models/project_services_spec.rb | 2 +-
.../client/ruby/spec/models/project_spec.rb | 2 +-
.../ruby/spec/models/quota_usage_spec.rb | 2 +-
.../models/recovery_code_for_identity_spec.rb | 2 +-
.../ruby/spec/models/recovery_flow_spec.rb | 2 +-
.../spec/models/recovery_flow_state_spec.rb | 2 +-
.../models/recovery_identity_address_spec.rb | 2 +-
.../models/recovery_link_for_identity_spec.rb | 2 +-
.../spec/models/registration_flow_spec.rb | 2 +-
.../models/registration_flow_state_spec.rb | 2 +-
.../models/reject_o_auth2_request_spec.rb | 2 +-
.../ruby/spec/models/relation_query_spec.rb | 2 +-
.../models/relationship_namespaces_spec.rb | 2 +-
.../spec/models/relationship_patch_spec.rb | 2 +-
.../ruby/spec/models/relationship_spec.rb | 2 +-
.../ruby/spec/models/relationships_spec.rb | 2 +-
.../spec/models/rfc6749_error_json_spec.rb | 2 +-
.../ruby/spec/models/schema_patch_spec.rb | 2 +-
.../self_service_flow_expired_error_spec.rb | 2 +-
.../models/session_activity_datapoint_spec.rb | 2 +-
.../session_authentication_method_spec.rb | 2 +-
.../ruby/spec/models/session_device_spec.rb | 2 +-
.../client/ruby/spec/models/session_spec.rb | 2 +-
...set_active_project_in_console_body_spec.rb | 2 +-
.../models/set_custom_domain_body_spec.rb | 2 +-
.../set_project_branding_theme_body_spec.rb | 2 +-
.../ruby/spec/models/set_project_spec.rb | 2 +-
.../ruby/spec/models/settings_flow_spec.rb | 2 +-
.../spec/models/settings_flow_state_spec.rb | 2 +-
.../ruby/spec/models/source_position_spec.rb | 2 +-
.../ruby/spec/models/stripe_customer_spec.rb | 2 +-
.../ruby/spec/models/subject_set_spec.rb | 2 +-
.../ruby/spec/models/subscription_spec.rb | 2 +-
.../successful_code_exchange_response_spec.rb | 2 +-
.../models/successful_native_login_spec.rb | 2 +-
.../successful_native_registration_spec.rb | 2 +-
.../models/successful_project_update_spec.rb | 2 +-
.../models/token_pagination_headers_spec.rb | 2 +-
...oken_pagination_request_parameters_spec.rb | 2 +-
.../token_pagination_response_headers_spec.rb | 2 +-
.../ruby/spec/models/token_pagination_spec.rb | 2 +-
.../trust_o_auth2_jwt_grant_issuer_spec.rb | 2 +-
.../trusted_o_auth2_jwt_grant_issuer_spec.rb | 2 +-
...ted_o_auth2_jwt_grant_json_web_key_spec.rb | 2 +-
.../ruby/spec/models/ui_container_spec.rb | 2 +-
.../models/ui_node_anchor_attributes_spec.rb | 2 +-
.../spec/models/ui_node_attributes_spec.rb | 2 +-
.../models/ui_node_image_attributes_spec.rb | 2 +-
.../models/ui_node_input_attributes_spec.rb | 2 +-
.../ruby/spec/models/ui_node_meta_spec.rb | 2 +-
.../models/ui_node_script_attributes_spec.rb | 2 +-
.../client/ruby/spec/models/ui_node_spec.rb | 2 +-
.../models/ui_node_text_attributes_spec.rb | 2 +-
.../client/ruby/spec/models/ui_text_spec.rb | 2 +-
.../spec/models/update_identity_body_spec.rb | 2 +-
.../models/update_login_flow_body_spec.rb | 2 +-
...update_login_flow_with_code_method_spec.rb | 2 +-
...gin_flow_with_lookup_secret_method_spec.rb | 2 +-
...update_login_flow_with_oidc_method_spec.rb | 2 +-
...te_login_flow_with_password_method_spec.rb | 2 +-
...update_login_flow_with_totp_method_spec.rb | 2 +-
...e_login_flow_with_web_authn_method_spec.rb | 2 +-
.../models/update_recovery_flow_body_spec.rb | 2 +-
...ate_recovery_flow_with_code_method_spec.rb | 2 +-
...ate_recovery_flow_with_link_method_spec.rb | 2 +-
.../update_registration_flow_body_spec.rb | 2 +-
...registration_flow_with_code_method_spec.rb | 2 +-
...registration_flow_with_oidc_method_spec.rb | 2 +-
...stration_flow_with_password_method_spec.rb | 2 +-
...tration_flow_with_web_authn_method_spec.rb | 2 +-
.../models/update_settings_flow_body_spec.rb | 2 +-
...e_settings_flow_with_lookup_method_spec.rb | 2 +-
...ate_settings_flow_with_oidc_method_spec.rb | 2 +-
...settings_flow_with_password_method_spec.rb | 2 +-
..._settings_flow_with_profile_method_spec.rb | 2 +-
...ate_settings_flow_with_totp_method_spec.rb | 2 +-
...ettings_flow_with_web_authn_method_spec.rb | 2 +-
.../models/update_subscription_body_spec.rb | 2 +-
.../update_verification_flow_body_spec.rb | 2 +-
...verification_flow_with_code_method_spec.rb | 2 +-
...verification_flow_with_link_method_spec.rb | 2 +-
clients/client/ruby/spec/models/usage_spec.rb | 2 +-
...fiable_credential_priming_response_spec.rb | 2 +-
.../verifiable_credential_proof_spec.rb | 2 +-
.../verifiable_credential_response_spec.rb | 2 +-
.../verifiable_identity_address_spec.rb | 2 +-
.../spec/models/verification_flow_spec.rb | 2 +-
.../models/verification_flow_state_spec.rb | 2 +-
.../client/ruby/spec/models/version_spec.rb | 2 +-
.../client/ruby/spec/models/warning_spec.rb | 2 +-
clients/client/ruby/spec/spec_helper.rb | 2 +-
clients/client/rust/Cargo.lock | 14 +-
clients/client/rust/Cargo.toml | 2 +-
clients/client/rust/README.md | 4 +-
clients/client/rust/src/apis/configuration.rs | 4 +-
clients/client/rust/src/apis/courier_api.rs | 2 +-
clients/client/rust/src/apis/frontend_api.rs | 2 +-
clients/client/rust/src/apis/identity_api.rs | 2 +-
clients/client/rust/src/apis/jwk_api.rs | 2 +-
clients/client/rust/src/apis/metadata_api.rs | 2 +-
clients/client/rust/src/apis/o_auth2_api.rs | 2 +-
clients/client/rust/src/apis/oidc_api.rs | 2 +-
.../client/rust/src/apis/permission_api.rs | 2 +-
clients/client/rust/src/apis/project_api.rs | 2 +-
.../client/rust/src/apis/relationship_api.rs | 2 +-
clients/client/rust/src/apis/wellknown_api.rs | 2 +-
.../models/accept_o_auth2_consent_request.rs | 2 +-
.../accept_o_auth2_consent_request_session.rs | 2 +-
.../models/accept_o_auth2_login_request.rs | 2 +-
.../src/models/active_project_in_console.rs | 2 +-
.../src/models/attributes_count_datapoint.rs | 2 +-
.../models/authenticator_assurance_level.rs | 2 +-
.../models/batch_patch_identities_response.rs | 2 +-
.../src/models/check_opl_syntax_result.rs | 2 +-
.../src/models/check_permission_result.rs | 2 +-
.../client/rust/src/models/cloud_account.rs | 2 +-
.../models/consistency_request_parameters.rs | 2 +-
.../client/rust/src/models/continue_with.rs | 2 +-
.../continue_with_set_ory_session_token.rs | 2 +-
.../models/continue_with_verification_ui.rs | 2 +-
.../continue_with_verification_ui_flow.rs | 2 +-
.../rust/src/models/courier_message_status.rs | 2 +-
.../rust/src/models/courier_message_type.rs | 2 +-
.../src/models/create_custom_domain_body.rs | 2 +-
.../rust/src/models/create_identity_body.rs | 2 +-
.../rust/src/models/create_invite_response.rs | 2 +-
.../src/models/create_json_web_key_set.rs | 2 +-
.../models/create_project_api_key_request.rs | 2 +-
.../rust/src/models/create_project_body.rs | 2 +-
.../src/models/create_project_branding.rs | 2 +-
.../create_project_member_invite_body.rs | 2 +-
.../create_recovery_code_for_identity_body.rs | 2 +-
.../create_recovery_link_for_identity_body.rs | 2 +-
.../src/models/create_relationship_body.rs | 2 +-
.../src/models/create_subscription_body.rs | 2 +-
...eate_verifiable_credential_request_body.rs | 2 +-
.../models/credential_supported_draft00.rs | 2 +-
.../client/rust/src/models/custom_domain.rs | 2 +-
.../src/models/delete_my_sessions_count.rs | 2 +-
.../rust/src/models/email_template_data.rs | 2 +-
.../src/models/email_template_data_body.rs | 2 +-
...enticator_assurance_level_not_satisfied.rs | 2 +-
.../error_browser_location_change_required.rs | 2 +-
.../rust/src/models/error_flow_replaced.rs | 2 +-
.../client/rust/src/models/error_generic.rs | 2 +-
.../client/rust/src/models/error_o_auth2.rs | 2 +-
.../src/models/expanded_permission_tree.rs | 2 +-
clients/client/rust/src/models/flow_error.rs | 2 +-
.../client/rust/src/models/generic_error.rs | 2 +-
.../rust/src/models/generic_error_content.rs | 2 +-
.../client/rust/src/models/generic_usage.rs | 2 +-
.../models/get_attributes_count_response.rs | 2 +-
.../get_managed_identity_schema_location.rs | 2 +-
.../src/models/get_organization_response.rs | 2 +-
.../models/get_project_metrics_response.rs | 2 +-
.../models/get_session_activity_response.rs | 2 +-
.../src/models/get_version_200_response.rs | 2 +-
.../src/models/health_not_ready_status.rs | 2 +-
.../client/rust/src/models/health_status.rs | 2 +-
clients/client/rust/src/models/identity.rs | 2 +-
.../rust/src/models/identity_credentials.rs | 2 +-
.../src/models/identity_credentials_code.rs | 2 +-
.../src/models/identity_credentials_oidc.rs | 2 +-
.../identity_credentials_oidc_provider.rs | 2 +-
.../models/identity_credentials_password.rs | 2 +-
.../src/models/identity_credentials_type.rs | 2 +-
.../client/rust/src/models/identity_patch.rs | 2 +-
.../src/models/identity_patch_response.rs | 2 +-
.../src/models/identity_schema_container.rs | 2 +-
.../rust/src/models/identity_schema_preset.rs | 2 +-
.../client/rust/src/models/identity_state.rs | 2 +-
.../src/models/identity_with_credentials.rs | 2 +-
.../models/identity_with_credentials_oidc.rs | 2 +-
.../identity_with_credentials_oidc_config.rs | 2 +-
...y_with_credentials_oidc_config_provider.rs | 2 +-
.../identity_with_credentials_password.rs | 2 +-
...entity_with_credentials_password_config.rs | 2 +-
.../internal_get_project_branding_body.rs | 2 +-
...welcome_screen_enabled_for_project_body.rs | 2 +-
...ernal_is_owner_for_project_by_slug_body.rs | 2 +-
...l_is_owner_for_project_by_slug_response.rs | 2 +-
.../internal_provision_mock_subscription.rs | 2 +-
.../src/models/introspected_o_auth2_token.rs | 2 +-
.../models/is_owner_for_project_by_slug.rs | 2 +-
.../rust/src/models/is_ready_200_response.rs | 2 +-
.../rust/src/models/is_ready_503_response.rs | 2 +-
clients/client/rust/src/models/json_patch.rs | 2 +-
.../client/rust/src/models/json_web_key.rs | 2 +-
.../rust/src/models/json_web_key_set.rs | 2 +-
.../client/rust/src/models/keto_namespace.rs | 2 +-
.../src/models/list_organizations_response.rs | 2 +-
clients/client/rust/src/models/login_flow.rs | 2 +-
.../rust/src/models/login_flow_state.rs | 2 +-
clients/client/rust/src/models/logout_flow.rs | 2 +-
.../src/models/managed_identity_schema.rs | 2 +-
...naged_identity_schema_validation_result.rs | 2 +-
.../client/rust/src/models/member_invite.rs | 2 +-
clients/client/rust/src/models/message.rs | 2 +-
.../rust/src/models/message_dispatch.rs | 2 +-
.../rust/src/models/metrics_datapoint.rs | 2 +-
clients/client/rust/src/models/namespace.rs | 2 +-
.../models/needs_privileged_session_error.rs | 2 +-
.../rust/src/models/normalized_project.rs | 2 +-
.../src/models/normalized_project_revision.rs | 2 +-
.../normalized_project_revision_hook.rs | 2 +-
...alized_project_revision_identity_schema.rs | 2 +-
...d_project_revision_third_party_provider.rs | 2 +-
...zed_project_revision_tokenizer_template.rs | 2 +-
.../client/rust/src/models/o_auth2_client.rs | 2 +-
.../models/o_auth2_client_token_lifespans.rs | 2 +-
.../src/models/o_auth2_consent_request.rs | 2 +-
...consent_request_open_id_connect_context.rs | 2 +-
.../src/models/o_auth2_consent_session.rs | 2 +-
.../o_auth2_consent_session_expires_at.rs | 2 +-
.../rust/src/models/o_auth2_login_request.rs | 2 +-
.../rust/src/models/o_auth2_logout_request.rs | 2 +-
.../rust/src/models/o_auth2_redirect_to.rs | 2 +-
.../rust/src/models/o_auth2_token_exchange.rs | 2 +-
.../rust/src/models/oidc_configuration.rs | 2 +-
.../client/rust/src/models/oidc_user_info.rs | 2 +-
.../client/rust/src/models/organization.rs | 2 +-
.../rust/src/models/organization_body.rs | 2 +-
clients/client/rust/src/models/pagination.rs | 2 +-
.../rust/src/models/pagination_headers.rs | 2 +-
clients/client/rust/src/models/parse_error.rs | 2 +-
.../rust/src/models/patch_identities_body.rs | 2 +-
.../src/models/perform_native_logout_body.rs | 2 +-
clients/client/rust/src/models/plan.rs | 2 +-
.../client/rust/src/models/plan_details.rs | 2 +-
.../src/models/post_check_permission_body.rs | 2 +-
.../post_check_permission_or_error_body.rs | 2 +-
clients/client/rust/src/models/project.rs | 2 +-
.../client/rust/src/models/project_api_key.rs | 2 +-
.../rust/src/models/project_branding.rs | 2 +-
.../src/models/project_branding_colors.rs | 2 +-
.../rust/src/models/project_branding_theme.rs | 2 +-
.../client/rust/src/models/project_cors.rs | 2 +-
.../client/rust/src/models/project_host.rs | 2 +-
.../rust/src/models/project_metadata.rs | 2 +-
.../src/models/project_service_identity.rs | 2 +-
.../src/models/project_service_o_auth2.rs | 2 +-
.../src/models/project_service_permission.rs | 2 +-
.../rust/src/models/project_services.rs | 2 +-
clients/client/rust/src/models/quota_usage.rs | 2 +-
.../src/models/recovery_code_for_identity.rs | 2 +-
.../client/rust/src/models/recovery_flow.rs | 2 +-
.../rust/src/models/recovery_flow_state.rs | 2 +-
.../src/models/recovery_identity_address.rs | 2 +-
.../src/models/recovery_link_for_identity.rs | 2 +-
.../rust/src/models/registration_flow.rs | 2 +-
.../src/models/registration_flow_state.rs | 2 +-
.../rust/src/models/reject_o_auth2_request.rs | 2 +-
.../client/rust/src/models/relation_query.rs | 2 +-
.../client/rust/src/models/relationship.rs | 2 +-
.../src/models/relationship_namespaces.rs | 2 +-
.../rust/src/models/relationship_patch.rs | 2 +-
.../client/rust/src/models/relationships.rs | 2 +-
.../rust/src/models/rfc6749_error_json.rs | 2 +-
.../client/rust/src/models/schema_patch.rs | 2 +-
.../models/self_service_flow_expired_error.rs | 2 +-
clients/client/rust/src/models/session.rs | 2 +-
.../src/models/session_activity_datapoint.rs | 2 +-
.../models/session_authentication_method.rs | 2 +-
.../client/rust/src/models/session_device.rs | 2 +-
.../set_active_project_in_console_body.rs | 2 +-
.../rust/src/models/set_custom_domain_body.rs | 2 +-
clients/client/rust/src/models/set_project.rs | 2 +-
.../models/set_project_branding_theme_body.rs | 2 +-
.../client/rust/src/models/settings_flow.rs | 2 +-
.../rust/src/models/settings_flow_state.rs | 2 +-
.../client/rust/src/models/source_position.rs | 2 +-
.../client/rust/src/models/stripe_customer.rs | 2 +-
clients/client/rust/src/models/subject_set.rs | 2 +-
.../client/rust/src/models/subscription.rs | 2 +-
.../successful_code_exchange_response.rs | 2 +-
.../src/models/successful_native_login.rs | 2 +-
.../models/successful_native_registration.rs | 2 +-
.../src/models/successful_project_update.rs | 2 +-
.../rust/src/models/token_pagination.rs | 2 +-
.../src/models/token_pagination_headers.rs | 2 +-
.../token_pagination_request_parameters.rs | 2 +-
.../token_pagination_response_headers.rs | 2 +-
.../models/trust_o_auth2_jwt_grant_issuer.rs | 2 +-
.../trusted_o_auth2_jwt_grant_issuer.rs | 2 +-
.../trusted_o_auth2_jwt_grant_json_web_key.rs | 2 +-
.../client/rust/src/models/ui_container.rs | 2 +-
clients/client/rust/src/models/ui_node.rs | 2 +-
.../src/models/ui_node_anchor_attributes.rs | 2 +-
.../rust/src/models/ui_node_attributes.rs | 2 +-
.../src/models/ui_node_image_attributes.rs | 2 +-
.../src/models/ui_node_input_attributes.rs | 2 +-
.../client/rust/src/models/ui_node_meta.rs | 2 +-
.../src/models/ui_node_script_attributes.rs | 2 +-
.../src/models/ui_node_text_attributes.rs | 2 +-
clients/client/rust/src/models/ui_text.rs | 2 +-
.../rust/src/models/update_identity_body.rs | 2 +-
.../rust/src/models/update_login_flow_body.rs | 2 +-
.../update_login_flow_with_code_method.rs | 2 +-
...te_login_flow_with_lookup_secret_method.rs | 2 +-
.../update_login_flow_with_oidc_method.rs | 2 +-
.../update_login_flow_with_password_method.rs | 2 +-
.../update_login_flow_with_totp_method.rs | 2 +-
...update_login_flow_with_web_authn_method.rs | 2 +-
.../src/models/update_recovery_flow_body.rs | 2 +-
.../update_recovery_flow_with_code_method.rs | 2 +-
.../update_recovery_flow_with_link_method.rs | 2 +-
.../models/update_registration_flow_body.rs | 2 +-
...date_registration_flow_with_code_method.rs | 2 +-
...date_registration_flow_with_oidc_method.rs | 2 +-
..._registration_flow_with_password_method.rs | 2 +-
...registration_flow_with_web_authn_method.rs | 2 +-
.../src/models/update_settings_flow_body.rs | 2 +-
...update_settings_flow_with_lookup_method.rs | 2 +-
.../update_settings_flow_with_oidc_method.rs | 2 +-
...date_settings_flow_with_password_method.rs | 2 +-
...pdate_settings_flow_with_profile_method.rs | 2 +-
.../update_settings_flow_with_totp_method.rs | 2 +-
...ate_settings_flow_with_web_authn_method.rs | 2 +-
.../src/models/update_subscription_body.rs | 2 +-
.../models/update_verification_flow_body.rs | 2 +-
...date_verification_flow_with_code_method.rs | 2 +-
...date_verification_flow_with_link_method.rs | 2 +-
clients/client/rust/src/models/usage.rs | 2 +-
.../verifiable_credential_priming_response.rs | 2 +-
.../src/models/verifiable_credential_proof.rs | 2 +-
.../models/verifiable_credential_response.rs | 2 +-
.../src/models/verifiable_identity_address.rs | 2 +-
.../rust/src/models/verification_flow.rs | 2 +-
.../src/models/verification_flow_state.rs | 2 +-
clients/client/rust/src/models/version.rs | 2 +-
clients/client/rust/src/models/warning.rs | 2 +-
clients/client/typescript/README.md | 4 +-
clients/client/typescript/api.ts | 2 +-
clients/client/typescript/base.ts | 2 +-
clients/client/typescript/common.ts | 2 +-
clients/client/typescript/configuration.ts | 2 +-
clients/client/typescript/index.ts | 2 +-
clients/client/typescript/package-lock.json | 4 +-
clients/client/typescript/package.json | 2 +-
spec/client/v1.3.0.json | 2 +-
3014 files changed, 21595 insertions(+), 14902 deletions(-)
rename clients/client/go/docs/{CourierApi.md => CourierAPI.md} (88%)
rename clients/client/go/docs/{FrontendApi.md => FrontendAPI.md} (89%)
rename clients/client/go/docs/{IdentityApi.md => IdentityAPI.md} (89%)
rename clients/client/go/docs/{JwkApi.md => JwkAPI.md} (85%)
rename clients/client/go/docs/{MetadataApi.md => MetadataAPI.md} (79%)
rename clients/client/go/docs/{OAuth2Api.md => OAuth2API.md} (85%)
rename clients/client/go/docs/{OidcApi.md => OidcAPI.md} (83%)
rename clients/client/go/docs/{PermissionApi.md => PermissionAPI.md} (86%)
rename clients/client/go/docs/{ProjectApi.md => ProjectAPI.md} (85%)
rename clients/client/go/docs/{RelationshipApi.md => RelationshipAPI.md} (86%)
rename clients/client/go/docs/{WellknownApi.md => WellknownAPI.md} (81%)
create mode 100644 clients/client/go/test/api_courier_test.go
create mode 100644 clients/client/go/test/api_frontend_test.go
create mode 100644 clients/client/go/test/api_identity_test.go
create mode 100644 clients/client/go/test/api_jwk_test.go
create mode 100644 clients/client/go/test/api_metadata_test.go
create mode 100644 clients/client/go/test/api_o_auth2_test.go
create mode 100644 clients/client/go/test/api_oidc_test.go
create mode 100644 clients/client/go/test/api_permission_test.go
create mode 100644 clients/client/go/test/api_project_test.go
create mode 100644 clients/client/go/test/api_relationship_test.go
create mode 100644 clients/client/go/test/api_wellknown_test.go
diff --git a/clients/client/dart/README.md b/clients/client/dart/README.md
index 7a661f846f9..3a8aeaca776 100644
--- a/clients/client/dart/README.md
+++ b/clients/client/dart/README.md
@@ -5,7 +5,7 @@ with a valid Personal Access Token. Public APIs are mostly used in browsers.
This Dart package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
-- API version: v1.2.17
+- API version: v1.3.0
- Build package: org.openapitools.codegen.languages.DartDioClientCodegen
## Requirements
@@ -19,7 +19,7 @@ This Dart package is automatically generated by the [OpenAPI Generator](https://
To use the package from [pub.dev](https://pub.dev), please include the following in pubspec.yaml
```yaml
dependencies:
- ory_client: 1.2.17
+ ory_client: 1.3.0
```
### Github
diff --git a/clients/client/dart/pubspec.yaml b/clients/client/dart/pubspec.yaml
index 300be621e1b..9bc2b73fad3 100644
--- a/clients/client/dart/pubspec.yaml
+++ b/clients/client/dart/pubspec.yaml
@@ -1,5 +1,5 @@
name: ory_client
-version: 1.2.17
+version: 1.3.0
description: OpenAPI API client for Ory Network, Ory's web-scale API for identity and access control.
homepage: https://www.ory.sh
repository: https://github.com/ory/sdk/tree/master/clients/client/dart
diff --git a/clients/client/dotnet/Ory.Client.sln b/clients/client/dotnet/Ory.Client.sln
index f344241a537..d36ce4bbc6c 100644
--- a/clients/client/dotnet/Ory.Client.sln
+++ b/clients/client/dotnet/Ory.Client.sln
@@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
VisualStudioVersion = 12.0.0.0
MinimumVisualStudioVersion = 10.0.0.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Ory.Client", "src\Ory.Client\Ory.Client.csproj", "{4DF68D79-D611-472E-B15D-192DECB2EA4D}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Ory.Client", "src\Ory.Client\Ory.Client.csproj", "{33B2A4D1-7FF3-4072-AAEF-00EF880426D5}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Ory.Client.Test", "src\Ory.Client.Test\Ory.Client.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
EndProject
@@ -12,10 +12,10 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {4DF68D79-D611-472E-B15D-192DECB2EA4D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {4DF68D79-D611-472E-B15D-192DECB2EA4D}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {4DF68D79-D611-472E-B15D-192DECB2EA4D}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {4DF68D79-D611-472E-B15D-192DECB2EA4D}.Release|Any CPU.Build.0 = Release|Any CPU
+ {33B2A4D1-7FF3-4072-AAEF-00EF880426D5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {33B2A4D1-7FF3-4072-AAEF-00EF880426D5}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {33B2A4D1-7FF3-4072-AAEF-00EF880426D5}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {33B2A4D1-7FF3-4072-AAEF-00EF880426D5}.Release|Any CPU.Build.0 = Release|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU
diff --git a/clients/client/dotnet/README.md b/clients/client/dotnet/README.md
index 8542ec8ce3c..595c0756343 100644
--- a/clients/client/dotnet/README.md
+++ b/clients/client/dotnet/README.md
@@ -6,8 +6,8 @@ with a valid Personal Access Token. Public APIs are mostly used in browsers.
This C# SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
-- API version: v1.2.17
-- SDK version: 1.2.17
+- API version: v1.3.0
+- SDK version: 1.3.0
- Build package: org.openapitools.codegen.languages.CSharpNetCoreClientCodegen
For more information, please visit [https://www.ory.sh](https://www.ory.sh)
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Api/CourierApiTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Api/CourierApiTests.cs
index c97d6021709..198ee4511cf 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Api/CourierApiTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Api/CourierApiTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Api/FrontendApiTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Api/FrontendApiTests.cs
index ffdecce26b5..ea78574b52a 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Api/FrontendApiTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Api/FrontendApiTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Api/IdentityApiTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Api/IdentityApiTests.cs
index 4351a16be9e..c7c1e78e4b1 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Api/IdentityApiTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Api/IdentityApiTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Api/JwkApiTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Api/JwkApiTests.cs
index f8fdb6cf3c8..b5bb67e553b 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Api/JwkApiTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Api/JwkApiTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Api/MetadataApiTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Api/MetadataApiTests.cs
index 4d26b7f8d40..1495a8a4f82 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Api/MetadataApiTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Api/MetadataApiTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Api/OAuth2ApiTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Api/OAuth2ApiTests.cs
index 662cb7ca37d..2fe1a585586 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Api/OAuth2ApiTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Api/OAuth2ApiTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Api/OidcApiTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Api/OidcApiTests.cs
index e0c30698ed2..2b722bee5c5 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Api/OidcApiTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Api/OidcApiTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Api/PermissionApiTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Api/PermissionApiTests.cs
index 08581d23552..8dbc3579d6b 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Api/PermissionApiTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Api/PermissionApiTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Api/ProjectApiTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Api/ProjectApiTests.cs
index 5a2fe62b2c5..3113677b797 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Api/ProjectApiTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Api/ProjectApiTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Api/RelationshipApiTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Api/RelationshipApiTests.cs
index 0a50493d4aa..143380d1e82 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Api/RelationshipApiTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Api/RelationshipApiTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Api/WellknownApiTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Api/WellknownApiTests.cs
index 1d7848db2fa..2ee0f43cfce 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Api/WellknownApiTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Api/WellknownApiTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientAcceptOAuth2ConsentRequestSessionTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientAcceptOAuth2ConsentRequestSessionTests.cs
index 60e5ad6d1ef..3d4880394b1 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientAcceptOAuth2ConsentRequestSessionTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientAcceptOAuth2ConsentRequestSessionTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientAcceptOAuth2ConsentRequestTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientAcceptOAuth2ConsentRequestTests.cs
index dd8b87ba80b..957a35da724 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientAcceptOAuth2ConsentRequestTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientAcceptOAuth2ConsentRequestTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientAcceptOAuth2LoginRequestTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientAcceptOAuth2LoginRequestTests.cs
index 501912a710f..77fbef9ba00 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientAcceptOAuth2LoginRequestTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientAcceptOAuth2LoginRequestTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientActiveProjectInConsoleTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientActiveProjectInConsoleTests.cs
index a7932dd0f5a..9c76e358b59 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientActiveProjectInConsoleTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientActiveProjectInConsoleTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientAttributesCountDatapointTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientAttributesCountDatapointTests.cs
index 65295fc463c..10427ebd2a7 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientAttributesCountDatapointTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientAttributesCountDatapointTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientAuthenticatorAssuranceLevelTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientAuthenticatorAssuranceLevelTests.cs
index 3539b0d7c27..00d93f73ea1 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientAuthenticatorAssuranceLevelTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientAuthenticatorAssuranceLevelTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientBatchPatchIdentitiesResponseTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientBatchPatchIdentitiesResponseTests.cs
index 29a3791c8fb..cb7a122d38d 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientBatchPatchIdentitiesResponseTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientBatchPatchIdentitiesResponseTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCheckOplSyntaxResultTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCheckOplSyntaxResultTests.cs
index 019783d4ec1..cb73b1a6c9d 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCheckOplSyntaxResultTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCheckOplSyntaxResultTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCheckPermissionResultTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCheckPermissionResultTests.cs
index 8d2d9840bda..885dd06ded7 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCheckPermissionResultTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCheckPermissionResultTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCloudAccountTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCloudAccountTests.cs
index 5a00b6678b3..fea1df2e0ff 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCloudAccountTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCloudAccountTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientConsistencyRequestParametersTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientConsistencyRequestParametersTests.cs
index ddb9e93db6e..f334a57eb08 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientConsistencyRequestParametersTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientConsistencyRequestParametersTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientContinueWithSetOrySessionTokenTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientContinueWithSetOrySessionTokenTests.cs
index b1a49624000..4305a55dec5 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientContinueWithSetOrySessionTokenTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientContinueWithSetOrySessionTokenTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientContinueWithTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientContinueWithTests.cs
index f1814e5dd66..c0475056dfb 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientContinueWithTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientContinueWithTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientContinueWithVerificationUiFlowTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientContinueWithVerificationUiFlowTests.cs
index e74bb3246a1..ff4d015d5cf 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientContinueWithVerificationUiFlowTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientContinueWithVerificationUiFlowTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientContinueWithVerificationUiTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientContinueWithVerificationUiTests.cs
index ec025135614..b614deb428c 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientContinueWithVerificationUiTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientContinueWithVerificationUiTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCourierMessageStatusTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCourierMessageStatusTests.cs
index b124c3292a1..eeb2d45296c 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCourierMessageStatusTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCourierMessageStatusTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCourierMessageTypeTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCourierMessageTypeTests.cs
index 47363150e22..3c5aae251ff 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCourierMessageTypeTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCourierMessageTypeTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCreateCustomDomainBodyTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCreateCustomDomainBodyTests.cs
index 73076ee82ae..5fd815590ac 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCreateCustomDomainBodyTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCreateCustomDomainBodyTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCreateIdentityBodyTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCreateIdentityBodyTests.cs
index 8db28674e9d..a620b6469e3 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCreateIdentityBodyTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCreateIdentityBodyTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCreateInviteResponseTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCreateInviteResponseTests.cs
index 276579909b4..abc037ffd2e 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCreateInviteResponseTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCreateInviteResponseTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCreateJsonWebKeySetTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCreateJsonWebKeySetTests.cs
index b3904ee1c08..584b46e59ce 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCreateJsonWebKeySetTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCreateJsonWebKeySetTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCreateProjectBodyTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCreateProjectBodyTests.cs
index d16face1e8e..afa93e776f6 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCreateProjectBodyTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCreateProjectBodyTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCreateProjectBrandingTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCreateProjectBrandingTests.cs
index ec6bfa25b52..db717261b37 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCreateProjectBrandingTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCreateProjectBrandingTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCreateProjectMemberInviteBodyTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCreateProjectMemberInviteBodyTests.cs
index ee8ddf521b5..4c9cc422321 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCreateProjectMemberInviteBodyTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCreateProjectMemberInviteBodyTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCreateRecoveryCodeForIdentityBodyTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCreateRecoveryCodeForIdentityBodyTests.cs
index c1ed319acb5..e2635ed9a8e 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCreateRecoveryCodeForIdentityBodyTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCreateRecoveryCodeForIdentityBodyTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCreateRecoveryLinkForIdentityBodyTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCreateRecoveryLinkForIdentityBodyTests.cs
index 56be4fef198..1659322e37e 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCreateRecoveryLinkForIdentityBodyTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCreateRecoveryLinkForIdentityBodyTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCreateRelationshipBodyTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCreateRelationshipBodyTests.cs
index 1d2eced59c4..2a13ed9ce60 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCreateRelationshipBodyTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCreateRelationshipBodyTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCreateSubscriptionBodyTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCreateSubscriptionBodyTests.cs
index a6f351a3753..5a2b8f74b91 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCreateSubscriptionBodyTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCreateSubscriptionBodyTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCreateVerifiableCredentialRequestBodyTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCreateVerifiableCredentialRequestBodyTests.cs
index c4812365e8c..c404ebbe81e 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCreateVerifiableCredentialRequestBodyTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCreateVerifiableCredentialRequestBodyTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCredentialSupportedDraft00Tests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCredentialSupportedDraft00Tests.cs
index b98a6a77de3..13de77896ea 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCredentialSupportedDraft00Tests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCredentialSupportedDraft00Tests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCustomDomainTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCustomDomainTests.cs
index c702ac6b05d..541d1a2a96d 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCustomDomainTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientCustomDomainTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientDeleteMySessionsCountTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientDeleteMySessionsCountTests.cs
index b1ceee54ed7..1352a63a640 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientDeleteMySessionsCountTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientDeleteMySessionsCountTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientEmailTemplateDataBodyTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientEmailTemplateDataBodyTests.cs
index c12b6765c0e..d7c4ae69255 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientEmailTemplateDataBodyTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientEmailTemplateDataBodyTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientEmailTemplateDataTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientEmailTemplateDataTests.cs
index 20c3900f80d..33128f7ee85 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientEmailTemplateDataTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientEmailTemplateDataTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientErrorAuthenticatorAssuranceLevelNotSatisfiedTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientErrorAuthenticatorAssuranceLevelNotSatisfiedTests.cs
index e6ab6666f8a..52116a1db9e 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientErrorAuthenticatorAssuranceLevelNotSatisfiedTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientErrorAuthenticatorAssuranceLevelNotSatisfiedTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientErrorBrowserLocationChangeRequiredTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientErrorBrowserLocationChangeRequiredTests.cs
index ba246893145..09861620993 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientErrorBrowserLocationChangeRequiredTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientErrorBrowserLocationChangeRequiredTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientErrorFlowReplacedTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientErrorFlowReplacedTests.cs
index e35b023605f..07625a99f56 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientErrorFlowReplacedTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientErrorFlowReplacedTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientErrorGenericTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientErrorGenericTests.cs
index 3831b773a59..e17b5630017 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientErrorGenericTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientErrorGenericTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientErrorOAuth2Tests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientErrorOAuth2Tests.cs
index d128f9425d9..4e2ea5c3ac7 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientErrorOAuth2Tests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientErrorOAuth2Tests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientExpandedPermissionTreeTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientExpandedPermissionTreeTests.cs
index 9aca86ec9d4..44a824457ba 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientExpandedPermissionTreeTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientExpandedPermissionTreeTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientFlowErrorTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientFlowErrorTests.cs
index 5aa64881a1d..8397c322e3f 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientFlowErrorTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientFlowErrorTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientGenericErrorContentTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientGenericErrorContentTests.cs
index b16209d58a6..1452aad98fe 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientGenericErrorContentTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientGenericErrorContentTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientGenericErrorTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientGenericErrorTests.cs
index 8a1b9ce1d74..cdd34c55add 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientGenericErrorTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientGenericErrorTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientGenericUsageTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientGenericUsageTests.cs
index 3192bfd5e71..d29b3e170a6 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientGenericUsageTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientGenericUsageTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientGetAttributesCountResponseTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientGetAttributesCountResponseTests.cs
index cd4361482be..0e1aab0b4aa 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientGetAttributesCountResponseTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientGetAttributesCountResponseTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientGetManagedIdentitySchemaLocationTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientGetManagedIdentitySchemaLocationTests.cs
index 361d1f024b7..1c8656f49c1 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientGetManagedIdentitySchemaLocationTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientGetManagedIdentitySchemaLocationTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientGetOrganizationResponseTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientGetOrganizationResponseTests.cs
index 3c07cbe242b..a22efe2e867 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientGetOrganizationResponseTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientGetOrganizationResponseTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientGetProjectMetricsResponseTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientGetProjectMetricsResponseTests.cs
index 85dbfbf3af8..893fb897800 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientGetProjectMetricsResponseTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientGetProjectMetricsResponseTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientGetSessionActivityResponseTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientGetSessionActivityResponseTests.cs
index f01f5e4ceb2..9e595b9967d 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientGetSessionActivityResponseTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientGetSessionActivityResponseTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientHealthNotReadyStatusTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientHealthNotReadyStatusTests.cs
index f1b9731043c..ae26f2b3dff 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientHealthNotReadyStatusTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientHealthNotReadyStatusTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientHealthStatusTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientHealthStatusTests.cs
index 635118347f9..85b0602bece 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientHealthStatusTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientHealthStatusTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityCredentialsCodeTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityCredentialsCodeTests.cs
index 9f34898b0e9..482226c84ec 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityCredentialsCodeTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityCredentialsCodeTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityCredentialsOidcProviderTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityCredentialsOidcProviderTests.cs
index 03476f01687..e850c3fc32a 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityCredentialsOidcProviderTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityCredentialsOidcProviderTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityCredentialsOidcTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityCredentialsOidcTests.cs
index d6d4579cdee..cb3d4ec446c 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityCredentialsOidcTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityCredentialsOidcTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityCredentialsPasswordTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityCredentialsPasswordTests.cs
index 9b76b9f7637..6deb22b1c71 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityCredentialsPasswordTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityCredentialsPasswordTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityCredentialsTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityCredentialsTests.cs
index 301720b064e..cc128ccbbd3 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityCredentialsTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityCredentialsTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityCredentialsTypeTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityCredentialsTypeTests.cs
index 9e3c040e027..37df5f05132 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityCredentialsTypeTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityCredentialsTypeTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityPatchResponseTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityPatchResponseTests.cs
index 2689e209a5f..c3d23e2224e 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityPatchResponseTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityPatchResponseTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityPatchTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityPatchTests.cs
index 49617aefa16..ad52d607e00 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityPatchTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityPatchTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentitySchemaContainerTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentitySchemaContainerTests.cs
index 1191c573fd0..0513574e766 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentitySchemaContainerTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentitySchemaContainerTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentitySchemaPresetTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentitySchemaPresetTests.cs
index cc3ed3549f6..294fa10a77f 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentitySchemaPresetTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentitySchemaPresetTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityStateTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityStateTests.cs
index c2358660481..851602eaf77 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityStateTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityStateTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityTests.cs
index 98d042e6bdc..b2184da4d35 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityWithCredentialsOidcConfigProviderTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityWithCredentialsOidcConfigProviderTests.cs
index 78d7eb2f475..3e9fdc282ee 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityWithCredentialsOidcConfigProviderTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityWithCredentialsOidcConfigProviderTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityWithCredentialsOidcConfigTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityWithCredentialsOidcConfigTests.cs
index 1eac6986b2e..f5aa4037e4c 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityWithCredentialsOidcConfigTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityWithCredentialsOidcConfigTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityWithCredentialsOidcTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityWithCredentialsOidcTests.cs
index 7a6db223dcb..d7f0778b88d 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityWithCredentialsOidcTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityWithCredentialsOidcTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityWithCredentialsPasswordConfigTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityWithCredentialsPasswordConfigTests.cs
index 109b556fbbf..570aa03b59d 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityWithCredentialsPasswordConfigTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityWithCredentialsPasswordConfigTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityWithCredentialsPasswordTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityWithCredentialsPasswordTests.cs
index c17805629bd..d4617cebf83 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityWithCredentialsPasswordTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityWithCredentialsPasswordTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityWithCredentialsTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityWithCredentialsTests.cs
index 173e44ca651..7882194f8ba 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityWithCredentialsTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIdentityWithCredentialsTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientInlineObject3Tests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientInlineObject3Tests.cs
index e0911be5918..c6f4894d63b 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientInlineObject3Tests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientInlineObject3Tests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientInlineResponse2001Tests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientInlineResponse2001Tests.cs
index 5f85cf778d9..504a1650b98 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientInlineResponse2001Tests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientInlineResponse2001Tests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientInlineResponse200Tests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientInlineResponse200Tests.cs
index dd66600a045..0a8c92ccbe9 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientInlineResponse200Tests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientInlineResponse200Tests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientInlineResponse503Tests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientInlineResponse503Tests.cs
index fbb57df8a82..57ce3fc9fe4 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientInlineResponse503Tests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientInlineResponse503Tests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientInternalGetProjectBrandingBodyTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientInternalGetProjectBrandingBodyTests.cs
index 0436cb0c563..05c4ed3f107 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientInternalGetProjectBrandingBodyTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientInternalGetProjectBrandingBodyTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientInternalIsAXWelcomeScreenEnabledForProjectBodyTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientInternalIsAXWelcomeScreenEnabledForProjectBodyTests.cs
index dd9ee76d76c..5d010728060 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientInternalIsAXWelcomeScreenEnabledForProjectBodyTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientInternalIsAXWelcomeScreenEnabledForProjectBodyTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientInternalIsOwnerForProjectBySlugBodyTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientInternalIsOwnerForProjectBySlugBodyTests.cs
index cfd54d30b9f..82280a45723 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientInternalIsOwnerForProjectBySlugBodyTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientInternalIsOwnerForProjectBySlugBodyTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientInternalIsOwnerForProjectBySlugResponseTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientInternalIsOwnerForProjectBySlugResponseTests.cs
index 1c7b02376f7..57f867a2e79 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientInternalIsOwnerForProjectBySlugResponseTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientInternalIsOwnerForProjectBySlugResponseTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientInternalProvisionMockSubscriptionTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientInternalProvisionMockSubscriptionTests.cs
index 1ef8df62f0d..70f1a678c40 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientInternalProvisionMockSubscriptionTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientInternalProvisionMockSubscriptionTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIntrospectedOAuth2TokenTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIntrospectedOAuth2TokenTests.cs
index 1f77359bd3b..5c7fa71a1a8 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIntrospectedOAuth2TokenTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIntrospectedOAuth2TokenTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIsOwnerForProjectBySlugTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIsOwnerForProjectBySlugTests.cs
index e9961e1e98f..ec5fe04623a 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIsOwnerForProjectBySlugTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientIsOwnerForProjectBySlugTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientJsonPatchTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientJsonPatchTests.cs
index e5670caa2b8..1e8b80d13e3 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientJsonPatchTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientJsonPatchTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientJsonWebKeySetTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientJsonWebKeySetTests.cs
index bc2e7c24543..cdcab4bf573 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientJsonWebKeySetTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientJsonWebKeySetTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientJsonWebKeyTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientJsonWebKeyTests.cs
index 150b5e52194..7ae85ace502 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientJsonWebKeyTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientJsonWebKeyTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientKetoNamespaceTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientKetoNamespaceTests.cs
index 58a96d52cc9..1a63285f39f 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientKetoNamespaceTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientKetoNamespaceTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientListOrganizationsResponseTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientListOrganizationsResponseTests.cs
index 05307e576aa..e3c050a0a44 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientListOrganizationsResponseTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientListOrganizationsResponseTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientLoginFlowStateTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientLoginFlowStateTests.cs
index cb6d54d2bf8..8045afd1aa7 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientLoginFlowStateTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientLoginFlowStateTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientLoginFlowTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientLoginFlowTests.cs
index c6562848663..fce24cfdff1 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientLoginFlowTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientLoginFlowTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientLogoutFlowTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientLogoutFlowTests.cs
index 02758418a0c..9966e491ffa 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientLogoutFlowTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientLogoutFlowTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientManagedIdentitySchemaTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientManagedIdentitySchemaTests.cs
index 9a4a77f5df3..8306875fd41 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientManagedIdentitySchemaTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientManagedIdentitySchemaTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientManagedIdentitySchemaValidationResultTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientManagedIdentitySchemaValidationResultTests.cs
index 218943c0bc3..e5c980009a1 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientManagedIdentitySchemaValidationResultTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientManagedIdentitySchemaValidationResultTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientMemberInviteTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientMemberInviteTests.cs
index d80ada5df1f..73bbed936b4 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientMemberInviteTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientMemberInviteTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientMessageDispatchTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientMessageDispatchTests.cs
index 8c19b0a1213..daab731cab7 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientMessageDispatchTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientMessageDispatchTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientMessageTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientMessageTests.cs
index 7229672ca0b..8b419884510 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientMessageTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientMessageTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientMetricsDatapointTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientMetricsDatapointTests.cs
index 9323cf2080a..7e8162de9c0 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientMetricsDatapointTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientMetricsDatapointTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientNamespaceTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientNamespaceTests.cs
index 2b1133be602..0d6e5cde59d 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientNamespaceTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientNamespaceTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientNeedsPrivilegedSessionErrorTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientNeedsPrivilegedSessionErrorTests.cs
index 259db4e45bb..b6ef846b23b 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientNeedsPrivilegedSessionErrorTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientNeedsPrivilegedSessionErrorTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientNormalizedProjectRevisionHookTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientNormalizedProjectRevisionHookTests.cs
index baaa36c8e2b..5e50d59785b 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientNormalizedProjectRevisionHookTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientNormalizedProjectRevisionHookTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientNormalizedProjectRevisionIdentitySchemaTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientNormalizedProjectRevisionIdentitySchemaTests.cs
index f4c1e1e91ec..4904d029fbf 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientNormalizedProjectRevisionIdentitySchemaTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientNormalizedProjectRevisionIdentitySchemaTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientNormalizedProjectRevisionTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientNormalizedProjectRevisionTests.cs
index 5164a098b7c..71031c33ff6 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientNormalizedProjectRevisionTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientNormalizedProjectRevisionTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientNormalizedProjectRevisionThirdPartyProviderTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientNormalizedProjectRevisionThirdPartyProviderTests.cs
index 377c897e883..19ce4d5b2ae 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientNormalizedProjectRevisionThirdPartyProviderTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientNormalizedProjectRevisionThirdPartyProviderTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientNormalizedProjectRevisionTokenizerTemplateTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientNormalizedProjectRevisionTokenizerTemplateTests.cs
index 2bb7f2a8139..5579e1f8104 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientNormalizedProjectRevisionTokenizerTemplateTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientNormalizedProjectRevisionTokenizerTemplateTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientNormalizedProjectTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientNormalizedProjectTests.cs
index 0124360f510..f785e044d80 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientNormalizedProjectTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientNormalizedProjectTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOAuth2ClientTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOAuth2ClientTests.cs
index 921dd8e0a5d..050477016c3 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOAuth2ClientTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOAuth2ClientTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOAuth2ClientTokenLifespansTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOAuth2ClientTokenLifespansTests.cs
index eccb7e52784..159fb30f167 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOAuth2ClientTokenLifespansTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOAuth2ClientTokenLifespansTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOAuth2ConsentRequestOpenIDConnectContextTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOAuth2ConsentRequestOpenIDConnectContextTests.cs
index 1a0c36ac85b..d73b209318e 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOAuth2ConsentRequestOpenIDConnectContextTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOAuth2ConsentRequestOpenIDConnectContextTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOAuth2ConsentRequestTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOAuth2ConsentRequestTests.cs
index f7d42002e8a..e478c5d996e 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOAuth2ConsentRequestTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOAuth2ConsentRequestTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOAuth2ConsentSessionExpiresAtTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOAuth2ConsentSessionExpiresAtTests.cs
index cff9e8ac5de..b4f384e7fbc 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOAuth2ConsentSessionExpiresAtTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOAuth2ConsentSessionExpiresAtTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOAuth2ConsentSessionTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOAuth2ConsentSessionTests.cs
index dbd8ddb968a..9814cc737ed 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOAuth2ConsentSessionTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOAuth2ConsentSessionTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOAuth2LoginRequestTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOAuth2LoginRequestTests.cs
index 8820d0350e9..5f5025112ae 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOAuth2LoginRequestTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOAuth2LoginRequestTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOAuth2LogoutRequestTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOAuth2LogoutRequestTests.cs
index 70735dceaaa..f70751d384a 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOAuth2LogoutRequestTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOAuth2LogoutRequestTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOAuth2RedirectToTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOAuth2RedirectToTests.cs
index 105700734a6..c584ed94bef 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOAuth2RedirectToTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOAuth2RedirectToTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOAuth2TokenExchangeTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOAuth2TokenExchangeTests.cs
index 480a609ea29..dbf50b0fd16 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOAuth2TokenExchangeTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOAuth2TokenExchangeTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOidcConfigurationTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOidcConfigurationTests.cs
index 416dd2824a7..14bdd97164d 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOidcConfigurationTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOidcConfigurationTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOidcUserInfoTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOidcUserInfoTests.cs
index c0df91915c5..2b0d6b9e335 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOidcUserInfoTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOidcUserInfoTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOrganizationBodyTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOrganizationBodyTests.cs
index 7220dd73b9f..2a52ea7c529 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOrganizationBodyTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOrganizationBodyTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOrganizationTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOrganizationTests.cs
index f20a40d537e..3f9c6b43bca 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOrganizationTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientOrganizationTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientPaginationHeadersTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientPaginationHeadersTests.cs
index f2fe6792d28..0352e1d8c1e 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientPaginationHeadersTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientPaginationHeadersTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientPaginationTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientPaginationTests.cs
index b1455610134..35e92e29682 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientPaginationTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientPaginationTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientParseErrorTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientParseErrorTests.cs
index bbe23a42af3..17c9f07e93b 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientParseErrorTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientParseErrorTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientPatchIdentitiesBodyTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientPatchIdentitiesBodyTests.cs
index 1337c3ecf54..b486e3008bf 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientPatchIdentitiesBodyTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientPatchIdentitiesBodyTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientPerformNativeLogoutBodyTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientPerformNativeLogoutBodyTests.cs
index d99c77c0ff8..6d5080641a9 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientPerformNativeLogoutBodyTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientPerformNativeLogoutBodyTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientPlanDetailsTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientPlanDetailsTests.cs
index a8924ab580b..7b3ec6820a5 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientPlanDetailsTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientPlanDetailsTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientPlanTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientPlanTests.cs
index bd23f3e7abb..f119bdc8d97 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientPlanTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientPlanTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientPostCheckPermissionBodyTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientPostCheckPermissionBodyTests.cs
index f41027b0d81..3c5e9142a93 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientPostCheckPermissionBodyTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientPostCheckPermissionBodyTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientPostCheckPermissionOrErrorBodyTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientPostCheckPermissionOrErrorBodyTests.cs
index 132215e12e4..6958886bc56 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientPostCheckPermissionOrErrorBodyTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientPostCheckPermissionOrErrorBodyTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientProjectApiKeyTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientProjectApiKeyTests.cs
index 4e2afa51f29..10fc862bf48 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientProjectApiKeyTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientProjectApiKeyTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientProjectBrandingColorsTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientProjectBrandingColorsTests.cs
index 710f6457a9e..464be4198a1 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientProjectBrandingColorsTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientProjectBrandingColorsTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientProjectBrandingTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientProjectBrandingTests.cs
index be4952106eb..7f2fcb0efc8 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientProjectBrandingTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientProjectBrandingTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientProjectBrandingThemeTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientProjectBrandingThemeTests.cs
index f310310ffbc..4394f115baa 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientProjectBrandingThemeTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientProjectBrandingThemeTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientProjectCorsTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientProjectCorsTests.cs
index 149457de7ae..8e80da7b2a2 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientProjectCorsTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientProjectCorsTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientProjectHostTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientProjectHostTests.cs
index a49d97bc830..5f833448a3a 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientProjectHostTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientProjectHostTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientProjectMetadataTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientProjectMetadataTests.cs
index 58a0765081a..8e519648233 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientProjectMetadataTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientProjectMetadataTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientProjectServiceIdentityTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientProjectServiceIdentityTests.cs
index 70c9f573f58..2bcb0ed6c2e 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientProjectServiceIdentityTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientProjectServiceIdentityTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientProjectServiceOAuth2Tests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientProjectServiceOAuth2Tests.cs
index a9597a1f3ed..228f3e35535 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientProjectServiceOAuth2Tests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientProjectServiceOAuth2Tests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientProjectServicePermissionTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientProjectServicePermissionTests.cs
index 00d409debb4..ab90aca7057 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientProjectServicePermissionTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientProjectServicePermissionTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientProjectServicesTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientProjectServicesTests.cs
index 9505bf14d0d..3c73bc55113 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientProjectServicesTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientProjectServicesTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientProjectTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientProjectTests.cs
index abf403a80af..4f7c64ee8db 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientProjectTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientProjectTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientQuotaUsageTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientQuotaUsageTests.cs
index b7372df5dc1..83a983bb990 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientQuotaUsageTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientQuotaUsageTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRFC6749ErrorJsonTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRFC6749ErrorJsonTests.cs
index e8b6811e70e..b851ffc4d9c 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRFC6749ErrorJsonTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRFC6749ErrorJsonTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRecoveryCodeForIdentityTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRecoveryCodeForIdentityTests.cs
index 628a3549fa0..55568586782 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRecoveryCodeForIdentityTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRecoveryCodeForIdentityTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRecoveryFlowStateTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRecoveryFlowStateTests.cs
index 6dd909f8717..bfd41fa9f17 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRecoveryFlowStateTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRecoveryFlowStateTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRecoveryFlowTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRecoveryFlowTests.cs
index 2d212af2f9e..9b5cc25bc1e 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRecoveryFlowTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRecoveryFlowTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRecoveryIdentityAddressTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRecoveryIdentityAddressTests.cs
index c20226cb407..0305ebd313e 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRecoveryIdentityAddressTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRecoveryIdentityAddressTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRecoveryLinkForIdentityTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRecoveryLinkForIdentityTests.cs
index 87b77a69851..f9674c23796 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRecoveryLinkForIdentityTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRecoveryLinkForIdentityTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRegistrationFlowStateTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRegistrationFlowStateTests.cs
index ed5264c9f37..326f4e3ad18 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRegistrationFlowStateTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRegistrationFlowStateTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRegistrationFlowTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRegistrationFlowTests.cs
index ea4c20ee72f..18cbb9f15a7 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRegistrationFlowTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRegistrationFlowTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRejectOAuth2RequestTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRejectOAuth2RequestTests.cs
index aafe26e9a78..864cf85532b 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRejectOAuth2RequestTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRejectOAuth2RequestTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRelationQueryTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRelationQueryTests.cs
index eff1c24a9fd..4223c443dac 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRelationQueryTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRelationQueryTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRelationshipNamespacesTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRelationshipNamespacesTests.cs
index 5ecdc0ce44f..88bbd3dc07f 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRelationshipNamespacesTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRelationshipNamespacesTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRelationshipPatchTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRelationshipPatchTests.cs
index a911e7c53c7..c2013757085 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRelationshipPatchTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRelationshipPatchTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRelationshipTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRelationshipTests.cs
index 9dcd97b8683..561303fd1bf 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRelationshipTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRelationshipTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRelationshipsTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRelationshipsTests.cs
index c0014fdebca..118eeb1f89f 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRelationshipsTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientRelationshipsTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSchemaPatchTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSchemaPatchTests.cs
index 94a522dda74..3930d8c3ea8 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSchemaPatchTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSchemaPatchTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSelfServiceFlowExpiredErrorTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSelfServiceFlowExpiredErrorTests.cs
index 236ad5e0054..52ab328b3b2 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSelfServiceFlowExpiredErrorTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSelfServiceFlowExpiredErrorTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSessionActivityDatapointTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSessionActivityDatapointTests.cs
index bd671cdfeb8..1262763c2a7 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSessionActivityDatapointTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSessionActivityDatapointTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSessionAuthenticationMethodTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSessionAuthenticationMethodTests.cs
index 5d84e1ea128..7f7dcce1e7d 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSessionAuthenticationMethodTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSessionAuthenticationMethodTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSessionDeviceTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSessionDeviceTests.cs
index bc874473d15..afb6ddb66ae 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSessionDeviceTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSessionDeviceTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSessionTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSessionTests.cs
index dc496c99faa..0420d65c2f0 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSessionTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSessionTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSetActiveProjectInConsoleBodyTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSetActiveProjectInConsoleBodyTests.cs
index 36394d88acf..1d04a0b9b85 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSetActiveProjectInConsoleBodyTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSetActiveProjectInConsoleBodyTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSetCustomDomainBodyTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSetCustomDomainBodyTests.cs
index ac63dd3d395..134b4a2b46a 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSetCustomDomainBodyTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSetCustomDomainBodyTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSetProjectBrandingThemeBodyTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSetProjectBrandingThemeBodyTests.cs
index e98de8ffb43..46f97360c1d 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSetProjectBrandingThemeBodyTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSetProjectBrandingThemeBodyTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSetProjectTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSetProjectTests.cs
index 0d18c753b7d..f1d915ed454 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSetProjectTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSetProjectTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSettingsFlowStateTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSettingsFlowStateTests.cs
index e0901ec87dc..86f4db228df 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSettingsFlowStateTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSettingsFlowStateTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSettingsFlowTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSettingsFlowTests.cs
index c6a7d4161e8..0d7e447fc47 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSettingsFlowTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSettingsFlowTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSourcePositionTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSourcePositionTests.cs
index a60d1f41c0d..eba3c183e02 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSourcePositionTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSourcePositionTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientStripeCustomerTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientStripeCustomerTests.cs
index a81c7df540f..25d87408e4a 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientStripeCustomerTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientStripeCustomerTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSubjectSetTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSubjectSetTests.cs
index f1a1a39bd0c..399f345ad12 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSubjectSetTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSubjectSetTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSubscriptionTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSubscriptionTests.cs
index 49b5025d722..10c788293fe 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSubscriptionTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSubscriptionTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSuccessfulCodeExchangeResponseTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSuccessfulCodeExchangeResponseTests.cs
index 91d8a4f77bd..96aad7d7835 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSuccessfulCodeExchangeResponseTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSuccessfulCodeExchangeResponseTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSuccessfulNativeLoginTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSuccessfulNativeLoginTests.cs
index 0723fc2d5d6..b6b556b7846 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSuccessfulNativeLoginTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSuccessfulNativeLoginTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSuccessfulNativeRegistrationTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSuccessfulNativeRegistrationTests.cs
index bffcd96237f..ff485f85739 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSuccessfulNativeRegistrationTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSuccessfulNativeRegistrationTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSuccessfulProjectUpdateTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSuccessfulProjectUpdateTests.cs
index b8fe269ceeb..ce54078b716 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSuccessfulProjectUpdateTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSuccessfulProjectUpdateTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientTokenPaginationHeadersTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientTokenPaginationHeadersTests.cs
index 111020ca0fc..e45a5585acb 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientTokenPaginationHeadersTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientTokenPaginationHeadersTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientTokenPaginationRequestParametersTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientTokenPaginationRequestParametersTests.cs
index 9c43c085872..76a04d5a661 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientTokenPaginationRequestParametersTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientTokenPaginationRequestParametersTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientTokenPaginationResponseHeadersTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientTokenPaginationResponseHeadersTests.cs
index 57cf39e8399..0a0317f3740 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientTokenPaginationResponseHeadersTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientTokenPaginationResponseHeadersTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientTokenPaginationTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientTokenPaginationTests.cs
index b6ffa8a9f83..0f75ef2c0ec 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientTokenPaginationTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientTokenPaginationTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientTrustOAuth2JwtGrantIssuerTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientTrustOAuth2JwtGrantIssuerTests.cs
index 825938718f5..74622bde3d0 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientTrustOAuth2JwtGrantIssuerTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientTrustOAuth2JwtGrantIssuerTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientTrustedOAuth2JwtGrantIssuerTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientTrustedOAuth2JwtGrantIssuerTests.cs
index 4e17d33eacd..8424e17ea90 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientTrustedOAuth2JwtGrantIssuerTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientTrustedOAuth2JwtGrantIssuerTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientTrustedOAuth2JwtGrantJsonWebKeyTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientTrustedOAuth2JwtGrantJsonWebKeyTests.cs
index f0fc6b6d5b0..cea4e73e0cd 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientTrustedOAuth2JwtGrantJsonWebKeyTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientTrustedOAuth2JwtGrantJsonWebKeyTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUiContainerTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUiContainerTests.cs
index 528ed9c11c4..5c782033d7f 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUiContainerTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUiContainerTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUiNodeAnchorAttributesTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUiNodeAnchorAttributesTests.cs
index b8ac8eb92bc..c07d7d7a027 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUiNodeAnchorAttributesTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUiNodeAnchorAttributesTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUiNodeAttributesTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUiNodeAttributesTests.cs
index a6241b749a7..559ef0a143e 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUiNodeAttributesTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUiNodeAttributesTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUiNodeImageAttributesTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUiNodeImageAttributesTests.cs
index cdfd9bc1ab1..228cad13e23 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUiNodeImageAttributesTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUiNodeImageAttributesTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUiNodeInputAttributesTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUiNodeInputAttributesTests.cs
index 8188fa67ac2..1b836dd6c58 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUiNodeInputAttributesTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUiNodeInputAttributesTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUiNodeMetaTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUiNodeMetaTests.cs
index 31f04440a89..f5fd6998a90 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUiNodeMetaTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUiNodeMetaTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUiNodeScriptAttributesTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUiNodeScriptAttributesTests.cs
index e48aa742776..bb8b2c02ec6 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUiNodeScriptAttributesTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUiNodeScriptAttributesTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUiNodeTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUiNodeTests.cs
index 44229c0faa2..9a73d81e9a0 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUiNodeTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUiNodeTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUiNodeTextAttributesTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUiNodeTextAttributesTests.cs
index 50483794368..5d8c987b4a4 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUiNodeTextAttributesTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUiNodeTextAttributesTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUiTextTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUiTextTests.cs
index ea5a4985ae7..6a0e9f6232a 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUiTextTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUiTextTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateIdentityBodyTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateIdentityBodyTests.cs
index f869126893b..7dfd287b1d4 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateIdentityBodyTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateIdentityBodyTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateLoginFlowBodyTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateLoginFlowBodyTests.cs
index c96c501dec0..78baf15330c 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateLoginFlowBodyTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateLoginFlowBodyTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateLoginFlowWithCodeMethodTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateLoginFlowWithCodeMethodTests.cs
index 3a16d4a2a21..c63feb80903 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateLoginFlowWithCodeMethodTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateLoginFlowWithCodeMethodTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateLoginFlowWithLookupSecretMethodTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateLoginFlowWithLookupSecretMethodTests.cs
index d9b085bc00b..7e0146bace3 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateLoginFlowWithLookupSecretMethodTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateLoginFlowWithLookupSecretMethodTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateLoginFlowWithOidcMethodTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateLoginFlowWithOidcMethodTests.cs
index 89f956a7fef..e2ec394038d 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateLoginFlowWithOidcMethodTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateLoginFlowWithOidcMethodTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateLoginFlowWithPasswordMethodTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateLoginFlowWithPasswordMethodTests.cs
index 7178de91d22..79e2c89d909 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateLoginFlowWithPasswordMethodTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateLoginFlowWithPasswordMethodTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateLoginFlowWithTotpMethodTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateLoginFlowWithTotpMethodTests.cs
index 10df542d191..16c748fc382 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateLoginFlowWithTotpMethodTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateLoginFlowWithTotpMethodTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateLoginFlowWithWebAuthnMethodTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateLoginFlowWithWebAuthnMethodTests.cs
index cf43fe3d586..51c2307b2a8 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateLoginFlowWithWebAuthnMethodTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateLoginFlowWithWebAuthnMethodTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateRecoveryFlowBodyTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateRecoveryFlowBodyTests.cs
index 663f18ed215..ca183eb831e 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateRecoveryFlowBodyTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateRecoveryFlowBodyTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateRecoveryFlowWithCodeMethodTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateRecoveryFlowWithCodeMethodTests.cs
index 9b41f58e9f7..d10828e8c88 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateRecoveryFlowWithCodeMethodTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateRecoveryFlowWithCodeMethodTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateRecoveryFlowWithLinkMethodTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateRecoveryFlowWithLinkMethodTests.cs
index f375468faea..4fe0bbb38bd 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateRecoveryFlowWithLinkMethodTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateRecoveryFlowWithLinkMethodTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateRegistrationFlowBodyTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateRegistrationFlowBodyTests.cs
index b2b3b163765..4dc06704ddd 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateRegistrationFlowBodyTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateRegistrationFlowBodyTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateRegistrationFlowWithCodeMethodTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateRegistrationFlowWithCodeMethodTests.cs
index fe89b82c58f..51f7bb3d70e 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateRegistrationFlowWithCodeMethodTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateRegistrationFlowWithCodeMethodTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateRegistrationFlowWithOidcMethodTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateRegistrationFlowWithOidcMethodTests.cs
index 043f557d713..406b3dca7fd 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateRegistrationFlowWithOidcMethodTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateRegistrationFlowWithOidcMethodTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateRegistrationFlowWithPasswordMethodTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateRegistrationFlowWithPasswordMethodTests.cs
index e9a2842ec4c..824590d1eea 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateRegistrationFlowWithPasswordMethodTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateRegistrationFlowWithPasswordMethodTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateRegistrationFlowWithWebAuthnMethodTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateRegistrationFlowWithWebAuthnMethodTests.cs
index 6a79b5f5b9a..43e22890911 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateRegistrationFlowWithWebAuthnMethodTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateRegistrationFlowWithWebAuthnMethodTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateSettingsFlowBodyTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateSettingsFlowBodyTests.cs
index c4394508904..28b84689204 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateSettingsFlowBodyTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateSettingsFlowBodyTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateSettingsFlowWithLookupMethodTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateSettingsFlowWithLookupMethodTests.cs
index ac8708c43cf..2a83cb35ec3 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateSettingsFlowWithLookupMethodTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateSettingsFlowWithLookupMethodTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateSettingsFlowWithOidcMethodTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateSettingsFlowWithOidcMethodTests.cs
index 3c1349870b4..0c84f0fedf2 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateSettingsFlowWithOidcMethodTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateSettingsFlowWithOidcMethodTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateSettingsFlowWithPasswordMethodTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateSettingsFlowWithPasswordMethodTests.cs
index de7ce22a9aa..438ede9e455 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateSettingsFlowWithPasswordMethodTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateSettingsFlowWithPasswordMethodTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateSettingsFlowWithProfileMethodTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateSettingsFlowWithProfileMethodTests.cs
index 2238ec8d8b0..2e4b803158b 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateSettingsFlowWithProfileMethodTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateSettingsFlowWithProfileMethodTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateSettingsFlowWithTotpMethodTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateSettingsFlowWithTotpMethodTests.cs
index 76ff09a791c..e421051c47b 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateSettingsFlowWithTotpMethodTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateSettingsFlowWithTotpMethodTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateSettingsFlowWithWebAuthnMethodTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateSettingsFlowWithWebAuthnMethodTests.cs
index cf717c60c5f..42c80dca407 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateSettingsFlowWithWebAuthnMethodTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateSettingsFlowWithWebAuthnMethodTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateSubscriptionBodyTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateSubscriptionBodyTests.cs
index d2c63b4f92b..b91416789f3 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateSubscriptionBodyTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateSubscriptionBodyTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateVerificationFlowBodyTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateVerificationFlowBodyTests.cs
index 4f93de188e7..9a3cbece6ae 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateVerificationFlowBodyTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateVerificationFlowBodyTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateVerificationFlowWithCodeMethodTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateVerificationFlowWithCodeMethodTests.cs
index d27c36166ce..83b8b422711 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateVerificationFlowWithCodeMethodTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateVerificationFlowWithCodeMethodTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateVerificationFlowWithLinkMethodTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateVerificationFlowWithLinkMethodTests.cs
index 7f0c5e57291..77717c543bb 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateVerificationFlowWithLinkMethodTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUpdateVerificationFlowWithLinkMethodTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUsageTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUsageTests.cs
index 001813f4486..97bd6e176a7 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUsageTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientUsageTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientVerifiableCredentialPrimingResponseTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientVerifiableCredentialPrimingResponseTests.cs
index e3aa0fb5501..e74eba270a9 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientVerifiableCredentialPrimingResponseTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientVerifiableCredentialPrimingResponseTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientVerifiableCredentialProofTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientVerifiableCredentialProofTests.cs
index 23e9a266b61..6a89eb1d2c6 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientVerifiableCredentialProofTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientVerifiableCredentialProofTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientVerifiableCredentialResponseTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientVerifiableCredentialResponseTests.cs
index 2cc2aac893c..4ce8f429f53 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientVerifiableCredentialResponseTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientVerifiableCredentialResponseTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientVerifiableIdentityAddressTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientVerifiableIdentityAddressTests.cs
index 48e4a65805b..cc278effe15 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientVerifiableIdentityAddressTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientVerifiableIdentityAddressTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientVerificationFlowStateTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientVerificationFlowStateTests.cs
index 5ad5b716c7c..c933ca9e193 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientVerificationFlowStateTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientVerificationFlowStateTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientVerificationFlowTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientVerificationFlowTests.cs
index 666eda94d0c..2eb11e0aa2c 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientVerificationFlowTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientVerificationFlowTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientVersionTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientVersionTests.cs
index 2bdeebc057c..9093088c853 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientVersionTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientVersionTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientWarningTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientWarningTests.cs
index e7868fc7bcd..29a9ea991bf 100644
--- a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientWarningTests.cs
+++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientWarningTests.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Api/CourierApi.cs b/clients/client/dotnet/src/Ory.Client/Api/CourierApi.cs
index f9138fc68e5..2a7269673f7 100644
--- a/clients/client/dotnet/src/Ory.Client/Api/CourierApi.cs
+++ b/clients/client/dotnet/src/Ory.Client/Api/CourierApi.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Api/FrontendApi.cs b/clients/client/dotnet/src/Ory.Client/Api/FrontendApi.cs
index 4dc23019ac3..80a8f9a2e39 100644
--- a/clients/client/dotnet/src/Ory.Client/Api/FrontendApi.cs
+++ b/clients/client/dotnet/src/Ory.Client/Api/FrontendApi.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Api/IdentityApi.cs b/clients/client/dotnet/src/Ory.Client/Api/IdentityApi.cs
index f95e6a458da..39a4f8a6a7d 100644
--- a/clients/client/dotnet/src/Ory.Client/Api/IdentityApi.cs
+++ b/clients/client/dotnet/src/Ory.Client/Api/IdentityApi.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Api/JwkApi.cs b/clients/client/dotnet/src/Ory.Client/Api/JwkApi.cs
index 70e56996e85..c3aa6500b8b 100644
--- a/clients/client/dotnet/src/Ory.Client/Api/JwkApi.cs
+++ b/clients/client/dotnet/src/Ory.Client/Api/JwkApi.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Api/MetadataApi.cs b/clients/client/dotnet/src/Ory.Client/Api/MetadataApi.cs
index d2014266b5f..d0787b62233 100644
--- a/clients/client/dotnet/src/Ory.Client/Api/MetadataApi.cs
+++ b/clients/client/dotnet/src/Ory.Client/Api/MetadataApi.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Api/OAuth2Api.cs b/clients/client/dotnet/src/Ory.Client/Api/OAuth2Api.cs
index 9d2b317c08a..11862ffd4f0 100644
--- a/clients/client/dotnet/src/Ory.Client/Api/OAuth2Api.cs
+++ b/clients/client/dotnet/src/Ory.Client/Api/OAuth2Api.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Api/OidcApi.cs b/clients/client/dotnet/src/Ory.Client/Api/OidcApi.cs
index 3e7cc415dad..a4506b722d5 100644
--- a/clients/client/dotnet/src/Ory.Client/Api/OidcApi.cs
+++ b/clients/client/dotnet/src/Ory.Client/Api/OidcApi.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Api/PermissionApi.cs b/clients/client/dotnet/src/Ory.Client/Api/PermissionApi.cs
index d6eb9403299..fa45ae5049f 100644
--- a/clients/client/dotnet/src/Ory.Client/Api/PermissionApi.cs
+++ b/clients/client/dotnet/src/Ory.Client/Api/PermissionApi.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Api/ProjectApi.cs b/clients/client/dotnet/src/Ory.Client/Api/ProjectApi.cs
index 0a8207a8344..217497a6b8d 100644
--- a/clients/client/dotnet/src/Ory.Client/Api/ProjectApi.cs
+++ b/clients/client/dotnet/src/Ory.Client/Api/ProjectApi.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Api/RelationshipApi.cs b/clients/client/dotnet/src/Ory.Client/Api/RelationshipApi.cs
index aa7318a08af..6260eec7d3f 100644
--- a/clients/client/dotnet/src/Ory.Client/Api/RelationshipApi.cs
+++ b/clients/client/dotnet/src/Ory.Client/Api/RelationshipApi.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Api/WellknownApi.cs b/clients/client/dotnet/src/Ory.Client/Api/WellknownApi.cs
index 7b3c4f44ee6..55df9d7346b 100644
--- a/clients/client/dotnet/src/Ory.Client/Api/WellknownApi.cs
+++ b/clients/client/dotnet/src/Ory.Client/Api/WellknownApi.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Client/ApiClient.cs b/clients/client/dotnet/src/Ory.Client/Client/ApiClient.cs
index 816d441d824..420d69928c8 100644
--- a/clients/client/dotnet/src/Ory.Client/Client/ApiClient.cs
+++ b/clients/client/dotnet/src/Ory.Client/Client/ApiClient.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Client/ApiException.cs b/clients/client/dotnet/src/Ory.Client/Client/ApiException.cs
index edb15bbbe76..85a2c49ad13 100644
--- a/clients/client/dotnet/src/Ory.Client/Client/ApiException.cs
+++ b/clients/client/dotnet/src/Ory.Client/Client/ApiException.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Client/ApiResponse.cs b/clients/client/dotnet/src/Ory.Client/Client/ApiResponse.cs
index 16a264458f2..37e59105fbb 100644
--- a/clients/client/dotnet/src/Ory.Client/Client/ApiResponse.cs
+++ b/clients/client/dotnet/src/Ory.Client/Client/ApiResponse.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Client/ClientUtils.cs b/clients/client/dotnet/src/Ory.Client/Client/ClientUtils.cs
index f31b19b172d..60a3e0d8e0c 100644
--- a/clients/client/dotnet/src/Ory.Client/Client/ClientUtils.cs
+++ b/clients/client/dotnet/src/Ory.Client/Client/ClientUtils.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Client/Configuration.cs b/clients/client/dotnet/src/Ory.Client/Client/Configuration.cs
index 886a47fd062..56c591bd5ad 100644
--- a/clients/client/dotnet/src/Ory.Client/Client/Configuration.cs
+++ b/clients/client/dotnet/src/Ory.Client/Client/Configuration.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
@@ -32,7 +32,7 @@ public class Configuration : IReadableConfiguration
/// Version of the package.
///
/// Version of the package.
- public const string Version = "1.2.17";
+ public const string Version = "1.3.0";
///
/// Identifier for ISO 8601 DateTime Format
@@ -107,7 +107,7 @@ public class Configuration : IReadableConfiguration
public Configuration()
{
Proxy = null;
- UserAgent = "OpenAPI-Generator/1.2.17/csharp";
+ UserAgent = "OpenAPI-Generator/1.3.0/csharp";
BasePath = "https://playground.projects.oryapis.com";
DefaultHeaders = new ConcurrentDictionary();
ApiKey = new ConcurrentDictionary();
@@ -461,8 +461,8 @@ public static string ToDebugReport()
string report = "C# SDK (Ory.Client) Debug Report:\n";
report += " OS: " + System.Environment.OSVersion + "\n";
report += " .NET Framework Version: " + System.Environment.Version + "\n";
- report += " Version of the API: v1.2.17\n";
- report += " SDK Package Version: 1.2.17\n";
+ report += " Version of the API: v1.3.0\n";
+ report += " SDK Package Version: 1.3.0\n";
return report;
}
diff --git a/clients/client/dotnet/src/Ory.Client/Client/ExceptionFactory.cs b/clients/client/dotnet/src/Ory.Client/Client/ExceptionFactory.cs
index 2f215fd611e..c01522f5496 100644
--- a/clients/client/dotnet/src/Ory.Client/Client/ExceptionFactory.cs
+++ b/clients/client/dotnet/src/Ory.Client/Client/ExceptionFactory.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Client/GlobalConfiguration.cs b/clients/client/dotnet/src/Ory.Client/Client/GlobalConfiguration.cs
index 297bb41570b..17ae1310dc9 100644
--- a/clients/client/dotnet/src/Ory.Client/Client/GlobalConfiguration.cs
+++ b/clients/client/dotnet/src/Ory.Client/Client/GlobalConfiguration.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Client/HttpMethod.cs b/clients/client/dotnet/src/Ory.Client/Client/HttpMethod.cs
index 9dd111ab3a0..7399f9b9fb9 100644
--- a/clients/client/dotnet/src/Ory.Client/Client/HttpMethod.cs
+++ b/clients/client/dotnet/src/Ory.Client/Client/HttpMethod.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Client/IApiAccessor.cs b/clients/client/dotnet/src/Ory.Client/Client/IApiAccessor.cs
index 2e9c1ab7398..f739616fbfa 100644
--- a/clients/client/dotnet/src/Ory.Client/Client/IApiAccessor.cs
+++ b/clients/client/dotnet/src/Ory.Client/Client/IApiAccessor.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Client/IAsynchronousClient.cs b/clients/client/dotnet/src/Ory.Client/Client/IAsynchronousClient.cs
index 1e8fa36af57..7d02887cdbe 100644
--- a/clients/client/dotnet/src/Ory.Client/Client/IAsynchronousClient.cs
+++ b/clients/client/dotnet/src/Ory.Client/Client/IAsynchronousClient.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Client/IReadableConfiguration.cs b/clients/client/dotnet/src/Ory.Client/Client/IReadableConfiguration.cs
index 38e28b9e163..d29585de386 100644
--- a/clients/client/dotnet/src/Ory.Client/Client/IReadableConfiguration.cs
+++ b/clients/client/dotnet/src/Ory.Client/Client/IReadableConfiguration.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Client/ISynchronousClient.cs b/clients/client/dotnet/src/Ory.Client/Client/ISynchronousClient.cs
index ac4e9bb05db..c1207a2c9b9 100644
--- a/clients/client/dotnet/src/Ory.Client/Client/ISynchronousClient.cs
+++ b/clients/client/dotnet/src/Ory.Client/Client/ISynchronousClient.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Client/Multimap.cs b/clients/client/dotnet/src/Ory.Client/Client/Multimap.cs
index 1f9d487aef2..b66a168f266 100644
--- a/clients/client/dotnet/src/Ory.Client/Client/Multimap.cs
+++ b/clients/client/dotnet/src/Ory.Client/Client/Multimap.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Client/OpenAPIDateConverter.cs b/clients/client/dotnet/src/Ory.Client/Client/OpenAPIDateConverter.cs
index 91b149dce5d..eb795d4b988 100644
--- a/clients/client/dotnet/src/Ory.Client/Client/OpenAPIDateConverter.cs
+++ b/clients/client/dotnet/src/Ory.Client/Client/OpenAPIDateConverter.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Client/RequestOptions.cs b/clients/client/dotnet/src/Ory.Client/Client/RequestOptions.cs
index cbb1d68ce9d..11af362634e 100644
--- a/clients/client/dotnet/src/Ory.Client/Client/RequestOptions.cs
+++ b/clients/client/dotnet/src/Ory.Client/Client/RequestOptions.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Client/RetryConfiguration.cs b/clients/client/dotnet/src/Ory.Client/Client/RetryConfiguration.cs
index 3fd0fe85161..1d0266b3d6d 100644
--- a/clients/client/dotnet/src/Ory.Client/Client/RetryConfiguration.cs
+++ b/clients/client/dotnet/src/Ory.Client/Client/RetryConfiguration.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/AbstractOpenAPISchema.cs b/clients/client/dotnet/src/Ory.Client/Model/AbstractOpenAPISchema.cs
index ded8d2c5ef1..0751ade813c 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/AbstractOpenAPISchema.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/AbstractOpenAPISchema.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientAcceptOAuth2ConsentRequest.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientAcceptOAuth2ConsentRequest.cs
index aa8aa7c3f7a..ce2e95fd366 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientAcceptOAuth2ConsentRequest.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientAcceptOAuth2ConsentRequest.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientAcceptOAuth2ConsentRequestSession.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientAcceptOAuth2ConsentRequestSession.cs
index 93af0391c81..cd81a2dce11 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientAcceptOAuth2ConsentRequestSession.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientAcceptOAuth2ConsentRequestSession.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientAcceptOAuth2LoginRequest.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientAcceptOAuth2LoginRequest.cs
index 7c6546a2fa9..1fbc876ce4e 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientAcceptOAuth2LoginRequest.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientAcceptOAuth2LoginRequest.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientActiveProjectInConsole.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientActiveProjectInConsole.cs
index 82fff7d10f4..863f0af5221 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientActiveProjectInConsole.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientActiveProjectInConsole.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientAttributesCountDatapoint.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientAttributesCountDatapoint.cs
index 986b46ccd4e..abcf923258c 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientAttributesCountDatapoint.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientAttributesCountDatapoint.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientAuthenticatorAssuranceLevel.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientAuthenticatorAssuranceLevel.cs
index 432b7e8db2d..926a266a013 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientAuthenticatorAssuranceLevel.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientAuthenticatorAssuranceLevel.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientBatchPatchIdentitiesResponse.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientBatchPatchIdentitiesResponse.cs
index 372b4cbf75b..4c4292d7b6c 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientBatchPatchIdentitiesResponse.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientBatchPatchIdentitiesResponse.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientCheckOplSyntaxResult.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientCheckOplSyntaxResult.cs
index 77f93269edc..d3ff960d369 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientCheckOplSyntaxResult.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientCheckOplSyntaxResult.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientCheckPermissionResult.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientCheckPermissionResult.cs
index 6013c5ce3da..ae725904feb 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientCheckPermissionResult.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientCheckPermissionResult.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientCloudAccount.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientCloudAccount.cs
index 40b31c50c01..409008b9edd 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientCloudAccount.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientCloudAccount.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientConsistencyRequestParameters.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientConsistencyRequestParameters.cs
index 43f411a1bc4..f15f3da8d59 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientConsistencyRequestParameters.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientConsistencyRequestParameters.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientContinueWith.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientContinueWith.cs
index 1d31e7bcc05..23eeaacdec0 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientContinueWith.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientContinueWith.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientContinueWithSetOrySessionToken.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientContinueWithSetOrySessionToken.cs
index 2c9a1b23d12..edc3583ce2e 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientContinueWithSetOrySessionToken.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientContinueWithSetOrySessionToken.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientContinueWithVerificationUi.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientContinueWithVerificationUi.cs
index 323021fec16..aced6ec3a14 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientContinueWithVerificationUi.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientContinueWithVerificationUi.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientContinueWithVerificationUiFlow.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientContinueWithVerificationUiFlow.cs
index 48d8a2c921f..76b9e451776 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientContinueWithVerificationUiFlow.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientContinueWithVerificationUiFlow.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientCourierMessageStatus.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientCourierMessageStatus.cs
index 5d798af660f..3461b13540f 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientCourierMessageStatus.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientCourierMessageStatus.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientCourierMessageType.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientCourierMessageType.cs
index 19b69515cf7..228d00fc605 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientCourierMessageType.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientCourierMessageType.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientCreateCustomDomainBody.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientCreateCustomDomainBody.cs
index 24532fed9ec..69c2f0771eb 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientCreateCustomDomainBody.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientCreateCustomDomainBody.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientCreateIdentityBody.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientCreateIdentityBody.cs
index 0055d5e3b11..0827a14d073 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientCreateIdentityBody.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientCreateIdentityBody.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientCreateInviteResponse.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientCreateInviteResponse.cs
index df0ba959010..f2edc8147ad 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientCreateInviteResponse.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientCreateInviteResponse.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientCreateJsonWebKeySet.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientCreateJsonWebKeySet.cs
index 0ba4bef3866..8e6eff3f697 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientCreateJsonWebKeySet.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientCreateJsonWebKeySet.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientCreateProjectBody.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientCreateProjectBody.cs
index 6b061910eb8..daed96c6957 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientCreateProjectBody.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientCreateProjectBody.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientCreateProjectBranding.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientCreateProjectBranding.cs
index 18761483945..f0ea918b848 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientCreateProjectBranding.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientCreateProjectBranding.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientCreateProjectMemberInviteBody.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientCreateProjectMemberInviteBody.cs
index aab7c15bc9a..bf0d1d9f730 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientCreateProjectMemberInviteBody.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientCreateProjectMemberInviteBody.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientCreateRecoveryCodeForIdentityBody.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientCreateRecoveryCodeForIdentityBody.cs
index cd2c8c6bd86..06f55939319 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientCreateRecoveryCodeForIdentityBody.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientCreateRecoveryCodeForIdentityBody.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientCreateRecoveryLinkForIdentityBody.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientCreateRecoveryLinkForIdentityBody.cs
index 0235af6fc44..f8bef7189ca 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientCreateRecoveryLinkForIdentityBody.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientCreateRecoveryLinkForIdentityBody.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientCreateRelationshipBody.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientCreateRelationshipBody.cs
index 33d2074e16e..c0f312aa86b 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientCreateRelationshipBody.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientCreateRelationshipBody.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientCreateSubscriptionBody.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientCreateSubscriptionBody.cs
index 4e029d11a4c..e4f08e80b9a 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientCreateSubscriptionBody.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientCreateSubscriptionBody.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientCreateVerifiableCredentialRequestBody.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientCreateVerifiableCredentialRequestBody.cs
index 38af5a8eb2a..597db717e22 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientCreateVerifiableCredentialRequestBody.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientCreateVerifiableCredentialRequestBody.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientCredentialSupportedDraft00.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientCredentialSupportedDraft00.cs
index 9bddb489bfa..eeed4b421b2 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientCredentialSupportedDraft00.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientCredentialSupportedDraft00.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientCustomDomain.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientCustomDomain.cs
index 934f522832f..fe90634a0db 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientCustomDomain.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientCustomDomain.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientDeleteMySessionsCount.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientDeleteMySessionsCount.cs
index 9c322b5fcbb..6c983659568 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientDeleteMySessionsCount.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientDeleteMySessionsCount.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientEmailTemplateData.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientEmailTemplateData.cs
index 63b75d89c2a..078dc56a4ee 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientEmailTemplateData.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientEmailTemplateData.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientEmailTemplateDataBody.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientEmailTemplateDataBody.cs
index 79e6d5020cf..75170129e73 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientEmailTemplateDataBody.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientEmailTemplateDataBody.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientErrorAuthenticatorAssuranceLevelNotSatisfied.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientErrorAuthenticatorAssuranceLevelNotSatisfied.cs
index 5e060e2c4b1..aea764ad3f1 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientErrorAuthenticatorAssuranceLevelNotSatisfied.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientErrorAuthenticatorAssuranceLevelNotSatisfied.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientErrorBrowserLocationChangeRequired.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientErrorBrowserLocationChangeRequired.cs
index 87dbec67ef5..2e6952e510a 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientErrorBrowserLocationChangeRequired.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientErrorBrowserLocationChangeRequired.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientErrorFlowReplaced.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientErrorFlowReplaced.cs
index eb7bffb11f6..0c685adbe0c 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientErrorFlowReplaced.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientErrorFlowReplaced.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientErrorGeneric.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientErrorGeneric.cs
index b5d2eefe194..601c352f16a 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientErrorGeneric.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientErrorGeneric.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientErrorOAuth2.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientErrorOAuth2.cs
index a251a8f3002..d87d74fe6ef 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientErrorOAuth2.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientErrorOAuth2.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientExpandedPermissionTree.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientExpandedPermissionTree.cs
index 87fed0327e6..181b65026f1 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientExpandedPermissionTree.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientExpandedPermissionTree.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientFlowError.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientFlowError.cs
index 62bb0eac093..81f4272f422 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientFlowError.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientFlowError.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientGenericError.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientGenericError.cs
index 80232426c8e..f25af15e007 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientGenericError.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientGenericError.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientGenericErrorContent.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientGenericErrorContent.cs
index 1f1c59f591e..6e35a73e0e9 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientGenericErrorContent.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientGenericErrorContent.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientGenericUsage.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientGenericUsage.cs
index 2e9c39628fc..2b95c907ba9 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientGenericUsage.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientGenericUsage.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientGetAttributesCountResponse.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientGetAttributesCountResponse.cs
index 6877c68589f..29ff4d60c94 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientGetAttributesCountResponse.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientGetAttributesCountResponse.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientGetManagedIdentitySchemaLocation.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientGetManagedIdentitySchemaLocation.cs
index b47bc0b02ae..cfefc664edb 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientGetManagedIdentitySchemaLocation.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientGetManagedIdentitySchemaLocation.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientGetOrganizationResponse.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientGetOrganizationResponse.cs
index 3dfe56d2323..f2b4a86a563 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientGetOrganizationResponse.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientGetOrganizationResponse.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientGetProjectMetricsResponse.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientGetProjectMetricsResponse.cs
index 915605f8dc5..a7ae7225d57 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientGetProjectMetricsResponse.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientGetProjectMetricsResponse.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientGetSessionActivityResponse.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientGetSessionActivityResponse.cs
index 189a45a11f8..9c884969da2 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientGetSessionActivityResponse.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientGetSessionActivityResponse.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientHealthNotReadyStatus.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientHealthNotReadyStatus.cs
index ddc2862271e..f9b186bf73c 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientHealthNotReadyStatus.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientHealthNotReadyStatus.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientHealthStatus.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientHealthStatus.cs
index 471709639fc..3bcc40758ba 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientHealthStatus.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientHealthStatus.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientIdentity.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientIdentity.cs
index e736a411fa0..8d3ef256b4a 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientIdentity.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientIdentity.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityCredentials.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityCredentials.cs
index 8162093dfa3..2132bfe2bd6 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityCredentials.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityCredentials.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityCredentialsCode.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityCredentialsCode.cs
index 0b452f66482..27eac3ca6e2 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityCredentialsCode.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityCredentialsCode.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityCredentialsOidc.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityCredentialsOidc.cs
index 9b2a2dc17e7..5d7959f840a 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityCredentialsOidc.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityCredentialsOidc.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityCredentialsOidcProvider.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityCredentialsOidcProvider.cs
index dc8cf2d9436..76a1e428d25 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityCredentialsOidcProvider.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityCredentialsOidcProvider.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityCredentialsPassword.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityCredentialsPassword.cs
index 58d353f6e2c..f8349aede08 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityCredentialsPassword.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityCredentialsPassword.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityCredentialsType.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityCredentialsType.cs
index d4b843959a3..6bcb934e5b6 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityCredentialsType.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityCredentialsType.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityPatch.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityPatch.cs
index 36b578f39d9..2b8dffd1499 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityPatch.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityPatch.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityPatchResponse.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityPatchResponse.cs
index 4edb32bce5b..3ac06d2f32d 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityPatchResponse.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityPatchResponse.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientIdentitySchemaContainer.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientIdentitySchemaContainer.cs
index f7224430846..8a666b47610 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientIdentitySchemaContainer.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientIdentitySchemaContainer.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientIdentitySchemaPreset.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientIdentitySchemaPreset.cs
index 25be1cf1d8d..32515ba6e1b 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientIdentitySchemaPreset.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientIdentitySchemaPreset.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityState.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityState.cs
index 608a13c2972..ce6ffadb801 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityState.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityState.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityWithCredentials.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityWithCredentials.cs
index ffbf8bcaf82..ae4204070ed 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityWithCredentials.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityWithCredentials.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityWithCredentialsOidc.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityWithCredentialsOidc.cs
index 0227075dbf2..d8b9c573cd0 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityWithCredentialsOidc.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityWithCredentialsOidc.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityWithCredentialsOidcConfig.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityWithCredentialsOidcConfig.cs
index 920c380da35..c8d1fd0d0aa 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityWithCredentialsOidcConfig.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityWithCredentialsOidcConfig.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityWithCredentialsOidcConfigProvider.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityWithCredentialsOidcConfigProvider.cs
index 274accda9ae..c590ea082c5 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityWithCredentialsOidcConfigProvider.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityWithCredentialsOidcConfigProvider.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityWithCredentialsPassword.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityWithCredentialsPassword.cs
index 4bb882b0e66..9dbaf3cb8aa 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityWithCredentialsPassword.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityWithCredentialsPassword.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityWithCredentialsPasswordConfig.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityWithCredentialsPasswordConfig.cs
index 6e954a4ebf7..f784a71f1ad 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityWithCredentialsPasswordConfig.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientIdentityWithCredentialsPasswordConfig.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientInlineObject3.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientInlineObject3.cs
index 92268440e54..26a64e92e65 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientInlineObject3.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientInlineObject3.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientInlineResponse200.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientInlineResponse200.cs
index 2c157d88342..37195b9d860 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientInlineResponse200.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientInlineResponse200.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientInlineResponse2001.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientInlineResponse2001.cs
index 8f15243d028..b608d9d5eb5 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientInlineResponse2001.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientInlineResponse2001.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientInlineResponse503.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientInlineResponse503.cs
index 8e4194920ad..5f45ad782a6 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientInlineResponse503.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientInlineResponse503.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientInternalGetProjectBrandingBody.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientInternalGetProjectBrandingBody.cs
index 766034d20f7..b5245d9cc9d 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientInternalGetProjectBrandingBody.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientInternalGetProjectBrandingBody.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientInternalIsAXWelcomeScreenEnabledForProjectBody.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientInternalIsAXWelcomeScreenEnabledForProjectBody.cs
index c59c7c2d2c4..b5cb32295d0 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientInternalIsAXWelcomeScreenEnabledForProjectBody.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientInternalIsAXWelcomeScreenEnabledForProjectBody.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientInternalIsOwnerForProjectBySlugBody.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientInternalIsOwnerForProjectBySlugBody.cs
index d144cd8cc75..31fae545f14 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientInternalIsOwnerForProjectBySlugBody.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientInternalIsOwnerForProjectBySlugBody.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientInternalIsOwnerForProjectBySlugResponse.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientInternalIsOwnerForProjectBySlugResponse.cs
index a448eee146d..a9c476a6d46 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientInternalIsOwnerForProjectBySlugResponse.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientInternalIsOwnerForProjectBySlugResponse.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientInternalProvisionMockSubscription.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientInternalProvisionMockSubscription.cs
index 8106e565871..e1942b0752e 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientInternalProvisionMockSubscription.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientInternalProvisionMockSubscription.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientIntrospectedOAuth2Token.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientIntrospectedOAuth2Token.cs
index 6a68217137a..ba63b25a394 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientIntrospectedOAuth2Token.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientIntrospectedOAuth2Token.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientIsOwnerForProjectBySlug.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientIsOwnerForProjectBySlug.cs
index ee448a5711b..6d90d590946 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientIsOwnerForProjectBySlug.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientIsOwnerForProjectBySlug.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientJsonPatch.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientJsonPatch.cs
index 966dc295146..89311bdad8b 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientJsonPatch.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientJsonPatch.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientJsonWebKey.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientJsonWebKey.cs
index 1a03b350431..aac9f704407 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientJsonWebKey.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientJsonWebKey.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientJsonWebKeySet.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientJsonWebKeySet.cs
index dc388e58858..24cf897ee13 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientJsonWebKeySet.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientJsonWebKeySet.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientKetoNamespace.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientKetoNamespace.cs
index 33d121d3805..25dd1526735 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientKetoNamespace.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientKetoNamespace.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientListOrganizationsResponse.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientListOrganizationsResponse.cs
index e6e9b622bdf..bd4c776caa5 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientListOrganizationsResponse.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientListOrganizationsResponse.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientLoginFlow.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientLoginFlow.cs
index b426873345e..3c3c228c473 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientLoginFlow.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientLoginFlow.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientLoginFlowState.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientLoginFlowState.cs
index e3bc968eeee..b6912b6eb99 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientLoginFlowState.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientLoginFlowState.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientLogoutFlow.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientLogoutFlow.cs
index 5b8a49c74a4..2bf3984f6d0 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientLogoutFlow.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientLogoutFlow.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientManagedIdentitySchema.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientManagedIdentitySchema.cs
index 971d775698d..447e552a0a9 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientManagedIdentitySchema.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientManagedIdentitySchema.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientManagedIdentitySchemaValidationResult.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientManagedIdentitySchemaValidationResult.cs
index 4e4f19a0272..bf570683277 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientManagedIdentitySchemaValidationResult.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientManagedIdentitySchemaValidationResult.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientMemberInvite.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientMemberInvite.cs
index 0f943863d15..dd3ce64d409 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientMemberInvite.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientMemberInvite.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientMessage.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientMessage.cs
index e1bed9572e5..4f6a825ebb0 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientMessage.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientMessage.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientMessageDispatch.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientMessageDispatch.cs
index f04ec6b154c..b5edbec863b 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientMessageDispatch.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientMessageDispatch.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientMetricsDatapoint.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientMetricsDatapoint.cs
index 18a110860e6..cde883618b9 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientMetricsDatapoint.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientMetricsDatapoint.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientNamespace.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientNamespace.cs
index ee2d72e5064..80473ba688f 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientNamespace.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientNamespace.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientNeedsPrivilegedSessionError.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientNeedsPrivilegedSessionError.cs
index 002bf89fb9b..6d0af008102 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientNeedsPrivilegedSessionError.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientNeedsPrivilegedSessionError.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientNormalizedProject.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientNormalizedProject.cs
index 11ff7b43708..ab1ea1aba47 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientNormalizedProject.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientNormalizedProject.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientNormalizedProjectRevision.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientNormalizedProjectRevision.cs
index f5c6aaa40aa..da8830a7b9e 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientNormalizedProjectRevision.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientNormalizedProjectRevision.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientNormalizedProjectRevisionHook.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientNormalizedProjectRevisionHook.cs
index 4ec56afade4..329515ace62 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientNormalizedProjectRevisionHook.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientNormalizedProjectRevisionHook.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientNormalizedProjectRevisionIdentitySchema.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientNormalizedProjectRevisionIdentitySchema.cs
index c4b2f076d8a..b896565de69 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientNormalizedProjectRevisionIdentitySchema.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientNormalizedProjectRevisionIdentitySchema.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientNormalizedProjectRevisionThirdPartyProvider.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientNormalizedProjectRevisionThirdPartyProvider.cs
index 853490f0001..e4983637ba6 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientNormalizedProjectRevisionThirdPartyProvider.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientNormalizedProjectRevisionThirdPartyProvider.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientNormalizedProjectRevisionTokenizerTemplate.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientNormalizedProjectRevisionTokenizerTemplate.cs
index 9cca2e525ad..c3445f2498b 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientNormalizedProjectRevisionTokenizerTemplate.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientNormalizedProjectRevisionTokenizerTemplate.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientOAuth2Client.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientOAuth2Client.cs
index 97c4be93824..38f1ae57ef7 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientOAuth2Client.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientOAuth2Client.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientOAuth2ClientTokenLifespans.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientOAuth2ClientTokenLifespans.cs
index 6133485ab15..89d2026ed78 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientOAuth2ClientTokenLifespans.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientOAuth2ClientTokenLifespans.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientOAuth2ConsentRequest.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientOAuth2ConsentRequest.cs
index e30b706bcef..22b99cf661d 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientOAuth2ConsentRequest.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientOAuth2ConsentRequest.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientOAuth2ConsentRequestOpenIDConnectContext.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientOAuth2ConsentRequestOpenIDConnectContext.cs
index c385891c332..7be753f062e 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientOAuth2ConsentRequestOpenIDConnectContext.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientOAuth2ConsentRequestOpenIDConnectContext.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientOAuth2ConsentSession.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientOAuth2ConsentSession.cs
index 62ac7f3b974..6f6b305db51 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientOAuth2ConsentSession.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientOAuth2ConsentSession.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientOAuth2ConsentSessionExpiresAt.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientOAuth2ConsentSessionExpiresAt.cs
index d5e98a54db7..e1dd965de83 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientOAuth2ConsentSessionExpiresAt.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientOAuth2ConsentSessionExpiresAt.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientOAuth2LoginRequest.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientOAuth2LoginRequest.cs
index 3bf4b7c2e81..708e66f2cc8 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientOAuth2LoginRequest.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientOAuth2LoginRequest.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientOAuth2LogoutRequest.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientOAuth2LogoutRequest.cs
index 1f4e429ef7f..5d8c6d59c8c 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientOAuth2LogoutRequest.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientOAuth2LogoutRequest.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientOAuth2RedirectTo.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientOAuth2RedirectTo.cs
index 154a74760cb..bb3faca9fc9 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientOAuth2RedirectTo.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientOAuth2RedirectTo.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientOAuth2TokenExchange.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientOAuth2TokenExchange.cs
index bc3814a3328..82268d82520 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientOAuth2TokenExchange.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientOAuth2TokenExchange.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientOidcConfiguration.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientOidcConfiguration.cs
index 0197f3857a0..aae2e64236d 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientOidcConfiguration.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientOidcConfiguration.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientOidcUserInfo.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientOidcUserInfo.cs
index f2d3662ec21..02ee0361cb1 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientOidcUserInfo.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientOidcUserInfo.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientOrganization.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientOrganization.cs
index e4e6947a8b7..9ed3c692ab3 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientOrganization.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientOrganization.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientOrganizationBody.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientOrganizationBody.cs
index 5f110f4e0d2..57a7f17b4fb 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientOrganizationBody.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientOrganizationBody.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientPagination.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientPagination.cs
index 6723d870151..f151d7a1fce 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientPagination.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientPagination.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientPaginationHeaders.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientPaginationHeaders.cs
index 2e6476c739b..4edcc36071d 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientPaginationHeaders.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientPaginationHeaders.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientParseError.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientParseError.cs
index 86042e3523e..f047b1acb84 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientParseError.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientParseError.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientPatchIdentitiesBody.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientPatchIdentitiesBody.cs
index 7b149723ccc..4948a378cb9 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientPatchIdentitiesBody.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientPatchIdentitiesBody.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientPerformNativeLogoutBody.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientPerformNativeLogoutBody.cs
index 08624ee83c2..22ec85dd32b 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientPerformNativeLogoutBody.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientPerformNativeLogoutBody.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientPlan.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientPlan.cs
index 8b323f2b1ab..fa44760ddb6 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientPlan.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientPlan.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientPlanDetails.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientPlanDetails.cs
index 8ca98d017b8..e2da83fc261 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientPlanDetails.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientPlanDetails.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientPostCheckPermissionBody.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientPostCheckPermissionBody.cs
index 7a4ca757abd..06b777daf41 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientPostCheckPermissionBody.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientPostCheckPermissionBody.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientPostCheckPermissionOrErrorBody.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientPostCheckPermissionOrErrorBody.cs
index 479b9d22364..c7c19b08bdb 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientPostCheckPermissionOrErrorBody.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientPostCheckPermissionOrErrorBody.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientProject.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientProject.cs
index 4e71a650605..5cdceabf5b2 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientProject.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientProject.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientProjectApiKey.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientProjectApiKey.cs
index 9df241449e2..feb67fa8019 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientProjectApiKey.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientProjectApiKey.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientProjectBranding.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientProjectBranding.cs
index 17b94964a83..5ea32beaac9 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientProjectBranding.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientProjectBranding.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientProjectBrandingColors.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientProjectBrandingColors.cs
index 692ac2dcd51..31a60f3fc4f 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientProjectBrandingColors.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientProjectBrandingColors.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientProjectBrandingTheme.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientProjectBrandingTheme.cs
index 316ebe05391..5a237b79847 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientProjectBrandingTheme.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientProjectBrandingTheme.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientProjectCors.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientProjectCors.cs
index 2572caf01cf..c51b0927a7e 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientProjectCors.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientProjectCors.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientProjectHost.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientProjectHost.cs
index fe72d209eb1..0dbb615dbc7 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientProjectHost.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientProjectHost.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientProjectMetadata.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientProjectMetadata.cs
index 3a081d1e656..4c1288365fe 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientProjectMetadata.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientProjectMetadata.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientProjectServiceIdentity.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientProjectServiceIdentity.cs
index b94d2bc9b4b..a6a84807024 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientProjectServiceIdentity.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientProjectServiceIdentity.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientProjectServiceOAuth2.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientProjectServiceOAuth2.cs
index b291fd6f353..2ea344d6d5b 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientProjectServiceOAuth2.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientProjectServiceOAuth2.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientProjectServicePermission.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientProjectServicePermission.cs
index 7ebfcccb257..4e2269e0b1e 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientProjectServicePermission.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientProjectServicePermission.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientProjectServices.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientProjectServices.cs
index ecbc0bca8dd..d3a246c6412 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientProjectServices.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientProjectServices.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientQuotaUsage.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientQuotaUsage.cs
index 0c963cfe6f9..f67fe6f61a3 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientQuotaUsage.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientQuotaUsage.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientRFC6749ErrorJson.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientRFC6749ErrorJson.cs
index 5f469a1c22a..88e1b90523c 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientRFC6749ErrorJson.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientRFC6749ErrorJson.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientRecoveryCodeForIdentity.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientRecoveryCodeForIdentity.cs
index 1726805b646..43e8bb8c3fa 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientRecoveryCodeForIdentity.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientRecoveryCodeForIdentity.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientRecoveryFlow.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientRecoveryFlow.cs
index 2dec7be6012..a78db6f6b3b 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientRecoveryFlow.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientRecoveryFlow.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientRecoveryFlowState.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientRecoveryFlowState.cs
index f3d9253878f..c85ec8431f6 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientRecoveryFlowState.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientRecoveryFlowState.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientRecoveryIdentityAddress.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientRecoveryIdentityAddress.cs
index 2961b725f53..355f9e07dfa 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientRecoveryIdentityAddress.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientRecoveryIdentityAddress.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientRecoveryLinkForIdentity.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientRecoveryLinkForIdentity.cs
index 1601258c170..113b65e8dd7 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientRecoveryLinkForIdentity.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientRecoveryLinkForIdentity.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientRegistrationFlow.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientRegistrationFlow.cs
index 664e5767a14..2b92665ec58 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientRegistrationFlow.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientRegistrationFlow.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientRegistrationFlowState.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientRegistrationFlowState.cs
index 59d20c49b1d..91b21f8fa1b 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientRegistrationFlowState.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientRegistrationFlowState.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientRejectOAuth2Request.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientRejectOAuth2Request.cs
index 7b00773113f..ad3453d83b2 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientRejectOAuth2Request.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientRejectOAuth2Request.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientRelationQuery.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientRelationQuery.cs
index 93af0c9dd80..118b96a2814 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientRelationQuery.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientRelationQuery.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientRelationship.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientRelationship.cs
index 02ac5d49346..3503f698e26 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientRelationship.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientRelationship.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientRelationshipNamespaces.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientRelationshipNamespaces.cs
index 28e1845c097..5aae3e5bc89 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientRelationshipNamespaces.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientRelationshipNamespaces.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientRelationshipPatch.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientRelationshipPatch.cs
index 62bffa1f48d..6943eee3c7c 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientRelationshipPatch.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientRelationshipPatch.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientRelationships.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientRelationships.cs
index 55189400dc5..009f1133423 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientRelationships.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientRelationships.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientSchemaPatch.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientSchemaPatch.cs
index 08cd764e42a..d133a3e1308 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientSchemaPatch.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientSchemaPatch.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientSelfServiceFlowExpiredError.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientSelfServiceFlowExpiredError.cs
index 64ff796e835..a11bec72299 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientSelfServiceFlowExpiredError.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientSelfServiceFlowExpiredError.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientSession.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientSession.cs
index 0b1aae2559d..29949786d7b 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientSession.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientSession.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientSessionActivityDatapoint.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientSessionActivityDatapoint.cs
index 3ddfd9af2b7..a847ac9d8b2 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientSessionActivityDatapoint.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientSessionActivityDatapoint.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientSessionAuthenticationMethod.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientSessionAuthenticationMethod.cs
index 4ebca17b449..c5c7b043c67 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientSessionAuthenticationMethod.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientSessionAuthenticationMethod.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientSessionDevice.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientSessionDevice.cs
index efee0122420..d28ab21255b 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientSessionDevice.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientSessionDevice.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientSetActiveProjectInConsoleBody.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientSetActiveProjectInConsoleBody.cs
index aff7fd460d1..f8d97ed52c7 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientSetActiveProjectInConsoleBody.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientSetActiveProjectInConsoleBody.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientSetCustomDomainBody.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientSetCustomDomainBody.cs
index 39c5b0522eb..d9deba8b365 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientSetCustomDomainBody.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientSetCustomDomainBody.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientSetProject.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientSetProject.cs
index adbc5aca892..06fceeb955a 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientSetProject.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientSetProject.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientSetProjectBrandingThemeBody.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientSetProjectBrandingThemeBody.cs
index 5770c27b941..c6b338b262d 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientSetProjectBrandingThemeBody.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientSetProjectBrandingThemeBody.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientSettingsFlow.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientSettingsFlow.cs
index c3dfb1b4ed6..48bf4766d3e 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientSettingsFlow.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientSettingsFlow.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientSettingsFlowState.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientSettingsFlowState.cs
index 7abb64152e1..2b6359b8fce 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientSettingsFlowState.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientSettingsFlowState.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientSourcePosition.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientSourcePosition.cs
index 98d65b510ab..37448044e0f 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientSourcePosition.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientSourcePosition.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientStripeCustomer.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientStripeCustomer.cs
index d58108cfb39..b4d510d96a5 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientStripeCustomer.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientStripeCustomer.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientSubjectSet.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientSubjectSet.cs
index 8a21acb1e70..59f8ece92f5 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientSubjectSet.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientSubjectSet.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientSubscription.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientSubscription.cs
index 2a45b456193..594e8272ab4 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientSubscription.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientSubscription.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientSuccessfulCodeExchangeResponse.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientSuccessfulCodeExchangeResponse.cs
index 38f75c28f22..bb2098ea484 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientSuccessfulCodeExchangeResponse.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientSuccessfulCodeExchangeResponse.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientSuccessfulNativeLogin.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientSuccessfulNativeLogin.cs
index e166bd5de8b..61cea300b45 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientSuccessfulNativeLogin.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientSuccessfulNativeLogin.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientSuccessfulNativeRegistration.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientSuccessfulNativeRegistration.cs
index c183e41bb19..a1823a4e3d2 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientSuccessfulNativeRegistration.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientSuccessfulNativeRegistration.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientSuccessfulProjectUpdate.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientSuccessfulProjectUpdate.cs
index 1f2f4a9ab16..e6a70970e45 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientSuccessfulProjectUpdate.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientSuccessfulProjectUpdate.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientTokenPagination.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientTokenPagination.cs
index af4ec9f1825..d500271d765 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientTokenPagination.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientTokenPagination.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientTokenPaginationHeaders.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientTokenPaginationHeaders.cs
index 52a3ef1cc2a..b62796399ae 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientTokenPaginationHeaders.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientTokenPaginationHeaders.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientTokenPaginationRequestParameters.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientTokenPaginationRequestParameters.cs
index 8d94bfe3eff..ff77c8f168b 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientTokenPaginationRequestParameters.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientTokenPaginationRequestParameters.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientTokenPaginationResponseHeaders.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientTokenPaginationResponseHeaders.cs
index d859b99119a..78560270528 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientTokenPaginationResponseHeaders.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientTokenPaginationResponseHeaders.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientTrustOAuth2JwtGrantIssuer.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientTrustOAuth2JwtGrantIssuer.cs
index b1ceb723d5c..73ae6297b10 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientTrustOAuth2JwtGrantIssuer.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientTrustOAuth2JwtGrantIssuer.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientTrustedOAuth2JwtGrantIssuer.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientTrustedOAuth2JwtGrantIssuer.cs
index 81125b1e64f..cea73f76bf1 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientTrustedOAuth2JwtGrantIssuer.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientTrustedOAuth2JwtGrantIssuer.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientTrustedOAuth2JwtGrantJsonWebKey.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientTrustedOAuth2JwtGrantJsonWebKey.cs
index 51f56c95b97..02bff82a159 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientTrustedOAuth2JwtGrantJsonWebKey.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientTrustedOAuth2JwtGrantJsonWebKey.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientUiContainer.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientUiContainer.cs
index 4a79f61cbea..1601f6b80c7 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientUiContainer.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientUiContainer.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientUiNode.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientUiNode.cs
index dc8faa1fd56..d1c07661f5e 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientUiNode.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientUiNode.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientUiNodeAnchorAttributes.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientUiNodeAnchorAttributes.cs
index 06d2c9c6c87..5830819e879 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientUiNodeAnchorAttributes.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientUiNodeAnchorAttributes.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientUiNodeAttributes.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientUiNodeAttributes.cs
index b494be561ed..51155a04067 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientUiNodeAttributes.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientUiNodeAttributes.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientUiNodeImageAttributes.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientUiNodeImageAttributes.cs
index d2fd4fd163c..9c6de91ef97 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientUiNodeImageAttributes.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientUiNodeImageAttributes.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientUiNodeInputAttributes.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientUiNodeInputAttributes.cs
index 4d2c4ca37b6..69ba9f1d930 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientUiNodeInputAttributes.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientUiNodeInputAttributes.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientUiNodeMeta.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientUiNodeMeta.cs
index cd511740e3d..d840086a899 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientUiNodeMeta.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientUiNodeMeta.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientUiNodeScriptAttributes.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientUiNodeScriptAttributes.cs
index b2d4d7df7fb..fa2d28d1330 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientUiNodeScriptAttributes.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientUiNodeScriptAttributes.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientUiNodeTextAttributes.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientUiNodeTextAttributes.cs
index ba45fb15c88..801ac958706 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientUiNodeTextAttributes.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientUiNodeTextAttributes.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientUiText.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientUiText.cs
index aeea0621a22..b4d098acf7f 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientUiText.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientUiText.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateIdentityBody.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateIdentityBody.cs
index 252cd8cd956..b6b6549ba60 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateIdentityBody.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateIdentityBody.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateLoginFlowBody.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateLoginFlowBody.cs
index 1e5cf8ebdbb..9e410ad546b 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateLoginFlowBody.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateLoginFlowBody.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateLoginFlowWithCodeMethod.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateLoginFlowWithCodeMethod.cs
index 5a872298032..3a2b1ca1b4f 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateLoginFlowWithCodeMethod.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateLoginFlowWithCodeMethod.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateLoginFlowWithLookupSecretMethod.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateLoginFlowWithLookupSecretMethod.cs
index a5ba4ad3ee9..15a3869722a 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateLoginFlowWithLookupSecretMethod.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateLoginFlowWithLookupSecretMethod.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateLoginFlowWithOidcMethod.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateLoginFlowWithOidcMethod.cs
index 22320d2d4fb..707a631c110 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateLoginFlowWithOidcMethod.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateLoginFlowWithOidcMethod.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateLoginFlowWithPasswordMethod.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateLoginFlowWithPasswordMethod.cs
index 513ae30add2..e944d794462 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateLoginFlowWithPasswordMethod.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateLoginFlowWithPasswordMethod.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateLoginFlowWithTotpMethod.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateLoginFlowWithTotpMethod.cs
index d01a01844cb..eb099f112db 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateLoginFlowWithTotpMethod.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateLoginFlowWithTotpMethod.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateLoginFlowWithWebAuthnMethod.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateLoginFlowWithWebAuthnMethod.cs
index f386d2e7c4f..56fa8cd4f10 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateLoginFlowWithWebAuthnMethod.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateLoginFlowWithWebAuthnMethod.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateRecoveryFlowBody.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateRecoveryFlowBody.cs
index 846dea4d125..73658307967 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateRecoveryFlowBody.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateRecoveryFlowBody.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateRecoveryFlowWithCodeMethod.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateRecoveryFlowWithCodeMethod.cs
index 7675ed895ff..b8dc7cf4bb1 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateRecoveryFlowWithCodeMethod.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateRecoveryFlowWithCodeMethod.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateRecoveryFlowWithLinkMethod.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateRecoveryFlowWithLinkMethod.cs
index a8ff59cee2e..8f02c76c5ec 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateRecoveryFlowWithLinkMethod.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateRecoveryFlowWithLinkMethod.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateRegistrationFlowBody.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateRegistrationFlowBody.cs
index 88493d8ceef..4f87d21ac4d 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateRegistrationFlowBody.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateRegistrationFlowBody.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateRegistrationFlowWithCodeMethod.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateRegistrationFlowWithCodeMethod.cs
index 676efb18b25..199eedeeb08 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateRegistrationFlowWithCodeMethod.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateRegistrationFlowWithCodeMethod.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateRegistrationFlowWithOidcMethod.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateRegistrationFlowWithOidcMethod.cs
index 78cd338feb5..372aecaf579 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateRegistrationFlowWithOidcMethod.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateRegistrationFlowWithOidcMethod.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateRegistrationFlowWithPasswordMethod.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateRegistrationFlowWithPasswordMethod.cs
index ac4d669b0c7..da32e8028d9 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateRegistrationFlowWithPasswordMethod.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateRegistrationFlowWithPasswordMethod.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateRegistrationFlowWithWebAuthnMethod.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateRegistrationFlowWithWebAuthnMethod.cs
index 2e626146fe0..49f6cd4293b 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateRegistrationFlowWithWebAuthnMethod.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateRegistrationFlowWithWebAuthnMethod.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateSettingsFlowBody.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateSettingsFlowBody.cs
index 39220df4cd7..237bc4c9619 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateSettingsFlowBody.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateSettingsFlowBody.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateSettingsFlowWithLookupMethod.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateSettingsFlowWithLookupMethod.cs
index 4e7d6081f55..f1279469094 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateSettingsFlowWithLookupMethod.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateSettingsFlowWithLookupMethod.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateSettingsFlowWithOidcMethod.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateSettingsFlowWithOidcMethod.cs
index 72a928ffe4a..84d53dce465 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateSettingsFlowWithOidcMethod.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateSettingsFlowWithOidcMethod.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateSettingsFlowWithPasswordMethod.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateSettingsFlowWithPasswordMethod.cs
index beb6b460ed1..c90add4e423 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateSettingsFlowWithPasswordMethod.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateSettingsFlowWithPasswordMethod.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateSettingsFlowWithProfileMethod.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateSettingsFlowWithProfileMethod.cs
index f4ee58a3b6f..d35d21e2bcd 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateSettingsFlowWithProfileMethod.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateSettingsFlowWithProfileMethod.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateSettingsFlowWithTotpMethod.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateSettingsFlowWithTotpMethod.cs
index cebafc66fde..724e2d22db2 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateSettingsFlowWithTotpMethod.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateSettingsFlowWithTotpMethod.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateSettingsFlowWithWebAuthnMethod.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateSettingsFlowWithWebAuthnMethod.cs
index f0625cb14f9..093a8740fa5 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateSettingsFlowWithWebAuthnMethod.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateSettingsFlowWithWebAuthnMethod.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateSubscriptionBody.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateSubscriptionBody.cs
index 7f0e0905126..aa07d834141 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateSubscriptionBody.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateSubscriptionBody.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateVerificationFlowBody.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateVerificationFlowBody.cs
index 6c49080f798..4e7a77fa7b3 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateVerificationFlowBody.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateVerificationFlowBody.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateVerificationFlowWithCodeMethod.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateVerificationFlowWithCodeMethod.cs
index dc8942ea123..7842800859b 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateVerificationFlowWithCodeMethod.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateVerificationFlowWithCodeMethod.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateVerificationFlowWithLinkMethod.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateVerificationFlowWithLinkMethod.cs
index 7208eae1086..d0e0ac6d9f3 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateVerificationFlowWithLinkMethod.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientUpdateVerificationFlowWithLinkMethod.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientUsage.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientUsage.cs
index fc2a53450f7..56c78658797 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientUsage.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientUsage.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientVerifiableCredentialPrimingResponse.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientVerifiableCredentialPrimingResponse.cs
index 70752f23f97..95590208cd6 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientVerifiableCredentialPrimingResponse.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientVerifiableCredentialPrimingResponse.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientVerifiableCredentialProof.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientVerifiableCredentialProof.cs
index db9b77258b2..6c7fce990d0 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientVerifiableCredentialProof.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientVerifiableCredentialProof.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientVerifiableCredentialResponse.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientVerifiableCredentialResponse.cs
index 584f8abaa7e..dbfa6723e12 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientVerifiableCredentialResponse.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientVerifiableCredentialResponse.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientVerifiableIdentityAddress.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientVerifiableIdentityAddress.cs
index cafe0af0bcf..066ef516955 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientVerifiableIdentityAddress.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientVerifiableIdentityAddress.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientVerificationFlow.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientVerificationFlow.cs
index 44b58a271b6..a53f4676631 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientVerificationFlow.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientVerificationFlow.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientVerificationFlowState.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientVerificationFlowState.cs
index 7cc41aaeac1..a505ff874ca 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientVerificationFlowState.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientVerificationFlowState.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientVersion.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientVersion.cs
index 9ba1b73e45f..586fc08c565 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientVersion.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientVersion.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientWarning.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientWarning.cs
index 6b203d67ff4..f0c531fc337 100644
--- a/clients/client/dotnet/src/Ory.Client/Model/ClientWarning.cs
+++ b/clients/client/dotnet/src/Ory.Client/Model/ClientWarning.cs
@@ -3,7 +3,7 @@
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
*
- * The version of the OpenAPI document: v1.2.17
+ * The version of the OpenAPI document: v1.3.0
* Contact: support@ory.sh
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
diff --git a/clients/client/dotnet/src/Ory.Client/Ory.Client.csproj b/clients/client/dotnet/src/Ory.Client/Ory.Client.csproj
index f8b3deaec8f..27adfc4dd7f 100644
--- a/clients/client/dotnet/src/Ory.Client/Ory.Client.csproj
+++ b/clients/client/dotnet/src/Ory.Client/Ory.Client.csproj
@@ -12,7 +12,7 @@
A library generated from a OpenAPI docNo CopyrightOry.Client
- 1.2.17
+ 1.3.0bin\$(Configuration)\$(TargetFramework)\Ory.Client.xmlApache-2.0https://github.com/ory/sdk.git
diff --git a/clients/client/elixir/README.md b/clients/client/elixir/README.md
index 2715f57320b..fb8da30fe4f 100644
--- a/clients/client/elixir/README.md
+++ b/clients/client/elixir/README.md
@@ -18,7 +18,7 @@ your list of dependencies in `mix.exs`:
```elixir
def deps do
- [{:ory_client, "~> v1.2.17"}]
+ [{:ory_client, "~> v1.3.0"}]
end
```
diff --git a/clients/client/elixir/lib/ory/connection.ex b/clients/client/elixir/lib/ory/connection.ex
index 30bf3b4a755..dd565b2e86a 100644
--- a/clients/client/elixir/lib/ory/connection.ex
+++ b/clients/client/elixir/lib/ory/connection.ex
@@ -164,7 +164,7 @@ defmodule Ory.Connection do
Keyword.get(
tesla_options,
:user_agent,
- "openapi-generator - Ory v1.2.17 - elixir"
+ "openapi-generator - Ory v1.3.0 - elixir"
)
)
diff --git a/clients/client/elixir/mix.exs b/clients/client/elixir/mix.exs
index 9f62946ec45..dbaca296835 100644
--- a/clients/client/elixir/mix.exs
+++ b/clients/client/elixir/mix.exs
@@ -4,7 +4,7 @@ defmodule Ory.Mixfile do
def project do
[
app: :ory_client,
- version: "1.2.17",
+ version: "1.3.0",
elixir: "~> 1.10",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
diff --git a/clients/client/elixir/mix.lock b/clients/client/elixir/mix.lock
index 3331d38aff3..f361badf656 100644
--- a/clients/client/elixir/mix.lock
+++ b/clients/client/elixir/mix.lock
@@ -1,5 +1,5 @@
%{
- "earmark_parser": {:hex, :earmark_parser, "1.4.37", "2ad73550e27c8946648b06905a57e4d454e4d7229c2dafa72a0348c99d8be5f7", [:mix], [], "hexpm", "6b19783f2802f039806f375610faa22da130b8edc21209d0bff47918bb48360e"},
+ "earmark_parser": {:hex, :earmark_parser, "1.4.38", "b42252eddf63bda05554ba8be93a1262dc0920c721f1aaf989f5de0f73a2e367", [:mix], [], "hexpm", "2cd0907795aaef0c7e8442e376633c5b3bd6edc8dbbdc539b22f095501c1cdb6"},
"ex_doc": {:hex, :ex_doc, "0.30.9", "d691453495c47434c0f2052b08dd91cc32bc4e1a218f86884563448ee2502dd2", [:mix], [{:earmark_parser, "~> 1.4.31", [hex: :earmark_parser, repo: "hexpm", optional: false]}, {:makeup_elixir, "~> 0.14", [hex: :makeup_elixir, repo: "hexpm", optional: false]}, {:makeup_erlang, "~> 0.1", [hex: :makeup_erlang, repo: "hexpm", optional: false]}], "hexpm", "d7aaaf21e95dc5cddabf89063327e96867d00013963eadf2c6ad135506a8bc10"},
"makeup": {:hex, :makeup, "1.1.1", "fa0bc768698053b2b3869fa8a62616501ff9d11a562f3ce39580d60860c3a55e", [:mix], [{:nimble_parsec, "~> 1.2.2 or ~> 1.3", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "5dc62fbdd0de44de194898b6710692490be74baa02d9d108bc29f007783b0b48"},
"makeup_elixir": {:hex, :makeup_elixir, "0.16.1", "cc9e3ca312f1cfeccc572b37a09980287e243648108384b97ff2b76e505c3555", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}, {:nimble_parsec, "~> 1.2.3 or ~> 1.3", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "e127a341ad1b209bd80f7bd1620a15693a9908ed780c3b763bccf7d200c767c6"},
diff --git a/clients/client/go/.openapi-generator/FILES b/clients/client/go/.openapi-generator/FILES
index c9645791374..8036d6fc64a 100644
--- a/clients/client/go/.openapi-generator/FILES
+++ b/clients/client/go/.openapi-generator/FILES
@@ -31,7 +31,7 @@ docs/ContinueWith.md
docs/ContinueWithSetOrySessionToken.md
docs/ContinueWithVerificationUi.md
docs/ContinueWithVerificationUiFlow.md
-docs/CourierApi.md
+docs/CourierAPI.md
docs/CourierMessageStatus.md
docs/CourierMessageType.md
docs/CreateCustomDomainBody.md
@@ -59,7 +59,7 @@ docs/ErrorGeneric.md
docs/ErrorOAuth2.md
docs/ExpandedPermissionTree.md
docs/FlowError.md
-docs/FrontendApi.md
+docs/FrontendAPI.md
docs/GenericError.md
docs/GenericErrorContent.md
docs/GenericUsage.md
@@ -72,7 +72,7 @@ docs/GetVersion200Response.md
docs/HealthNotReadyStatus.md
docs/HealthStatus.md
docs/Identity.md
-docs/IdentityApi.md
+docs/IdentityAPI.md
docs/IdentityCredentials.md
docs/IdentityCredentialsCode.md
docs/IdentityCredentialsOidc.md
@@ -102,7 +102,7 @@ docs/IsReady503Response.md
docs/JsonPatch.md
docs/JsonWebKey.md
docs/JsonWebKeySet.md
-docs/JwkApi.md
+docs/JwkAPI.md
docs/KetoNamespace.md
docs/ListOrganizationsResponse.md
docs/LoginFlow.md
@@ -113,7 +113,7 @@ docs/ManagedIdentitySchemaValidationResult.md
docs/MemberInvite.md
docs/Message.md
docs/MessageDispatch.md
-docs/MetadataApi.md
+docs/MetadataAPI.md
docs/MetricsDatapoint.md
docs/Namespace.md
docs/NeedsPrivilegedSessionError.md
@@ -123,7 +123,7 @@ docs/NormalizedProjectRevisionHook.md
docs/NormalizedProjectRevisionIdentitySchema.md
docs/NormalizedProjectRevisionThirdPartyProvider.md
docs/NormalizedProjectRevisionTokenizerTemplate.md
-docs/OAuth2Api.md
+docs/OAuth2API.md
docs/OAuth2Client.md
docs/OAuth2ClientTokenLifespans.md
docs/OAuth2ConsentRequest.md
@@ -134,7 +134,7 @@ docs/OAuth2LoginRequest.md
docs/OAuth2LogoutRequest.md
docs/OAuth2RedirectTo.md
docs/OAuth2TokenExchange.md
-docs/OidcApi.md
+docs/OidcAPI.md
docs/OidcConfiguration.md
docs/OidcUserInfo.md
docs/Organization.md
@@ -144,13 +144,13 @@ docs/PaginationHeaders.md
docs/ParseError.md
docs/PatchIdentitiesBody.md
docs/PerformNativeLogoutBody.md
-docs/PermissionApi.md
+docs/PermissionAPI.md
docs/Plan.md
docs/PlanDetails.md
docs/PostCheckPermissionBody.md
docs/PostCheckPermissionOrErrorBody.md
docs/Project.md
-docs/ProjectApi.md
+docs/ProjectAPI.md
docs/ProjectApiKey.md
docs/ProjectBranding.md
docs/ProjectBrandingColors.md
@@ -174,7 +174,7 @@ docs/RegistrationFlowState.md
docs/RejectOAuth2Request.md
docs/RelationQuery.md
docs/Relationship.md
-docs/RelationshipApi.md
+docs/RelationshipAPI.md
docs/RelationshipNamespaces.md
docs/RelationshipPatch.md
docs/Relationships.md
@@ -251,7 +251,7 @@ docs/VerificationFlow.md
docs/VerificationFlowState.md
docs/Version.md
docs/Warning.md
-docs/WellknownApi.md
+docs/WellknownAPI.md
git_push.sh
go.mod
go.sum
@@ -481,4 +481,15 @@ model_verification_flow_state.go
model_version.go
model_warning.go
response.go
+test/api_courier_test.go
+test/api_frontend_test.go
+test/api_identity_test.go
+test/api_jwk_test.go
+test/api_metadata_test.go
+test/api_o_auth2_test.go
+test/api_oidc_test.go
+test/api_permission_test.go
+test/api_project_test.go
+test/api_relationship_test.go
+test/api_wellknown_test.go
utils.go
diff --git a/clients/client/go/.openapi-generator/VERSION b/clients/client/go/.openapi-generator/VERSION
index 6d54bbd7751..3769235d3e6 100644
--- a/clients/client/go/.openapi-generator/VERSION
+++ b/clients/client/go/.openapi-generator/VERSION
@@ -1 +1 @@
-6.0.1
\ No newline at end of file
+7.1.0
\ No newline at end of file
diff --git a/clients/client/go/README.md b/clients/client/go/README.md
index e6a8de61def..db30259510e 100644
--- a/clients/client/go/README.md
+++ b/clients/client/go/README.md
@@ -7,7 +7,7 @@ with a valid Personal Access Token. Public APIs are mostly used in browsers.
## Overview
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client.
-- API version: v1.2.17
+- API version: v1.3.0
- Package version: 1.0.0
- Build package: org.openapitools.codegen.languages.GoClientCodegen
@@ -39,7 +39,7 @@ Default configuration comes with `Servers` field that contains server objects as
### Select Server Configuration
-For using other server than the one defined on index 0 set context value `sw.ContextServerIndex` of type `int`.
+For using other server than the one defined on index 0 set context value `client.ContextServerIndex` of type `int`.
```golang
ctx := context.WithValue(context.Background(), client.ContextServerIndex, 1)
@@ -47,7 +47,7 @@ ctx := context.WithValue(context.Background(), client.ContextServerIndex, 1)
### Templated Server URL
-Templated server URL is formatted using default variables from configuration or from context value `sw.ContextServerVariables` of type `map[string]string`.
+Templated server URL is formatted using default variables from configuration or from context value `client.ContextServerVariables` of type `map[string]string`.
```golang
ctx := context.WithValue(context.Background(), client.ContextServerVariables, map[string]string{
@@ -61,9 +61,9 @@ Note, enum values are always validated and all unused variables are silently ign
Each operation can use different server URL defined using `OperationServers` map in the `Configuration`.
An operation is uniquely identified by `"{classname}Service.{nickname}"` string.
-Similar rules for overriding default operation server index and variables applies by using `sw.ContextOperationServerIndices` and `sw.ContextOperationServerVariables` context maps.
+Similar rules for overriding default operation server index and variables applies by using `client.ContextOperationServerIndices` and `client.ContextOperationServerVariables` context maps.
-```
+```golang
ctx := context.WithValue(context.Background(), client.ContextOperationServerIndices, map[string]int{
"{classname}Service.{nickname}": 2,
})
@@ -80,133 +80,133 @@ All URIs are relative to *https://playground.projects.oryapis.com*
Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
-*CourierApi* | [**GetCourierMessage**](docs/CourierApi.md#getcouriermessage) | **Get** /admin/courier/messages/{id} | Get a Message
-*CourierApi* | [**ListCourierMessages**](docs/CourierApi.md#listcouriermessages) | **Get** /admin/courier/messages | List Messages
-*FrontendApi* | [**CreateBrowserLoginFlow**](docs/FrontendApi.md#createbrowserloginflow) | **Get** /self-service/login/browser | Create Login Flow for Browsers
-*FrontendApi* | [**CreateBrowserLogoutFlow**](docs/FrontendApi.md#createbrowserlogoutflow) | **Get** /self-service/logout/browser | Create a Logout URL for Browsers
-*FrontendApi* | [**CreateBrowserRecoveryFlow**](docs/FrontendApi.md#createbrowserrecoveryflow) | **Get** /self-service/recovery/browser | Create Recovery Flow for Browsers
-*FrontendApi* | [**CreateBrowserRegistrationFlow**](docs/FrontendApi.md#createbrowserregistrationflow) | **Get** /self-service/registration/browser | Create Registration Flow for Browsers
-*FrontendApi* | [**CreateBrowserSettingsFlow**](docs/FrontendApi.md#createbrowsersettingsflow) | **Get** /self-service/settings/browser | Create Settings Flow for Browsers
-*FrontendApi* | [**CreateBrowserVerificationFlow**](docs/FrontendApi.md#createbrowserverificationflow) | **Get** /self-service/verification/browser | Create Verification Flow for Browser Clients
-*FrontendApi* | [**CreateNativeLoginFlow**](docs/FrontendApi.md#createnativeloginflow) | **Get** /self-service/login/api | Create Login Flow for Native Apps
-*FrontendApi* | [**CreateNativeRecoveryFlow**](docs/FrontendApi.md#createnativerecoveryflow) | **Get** /self-service/recovery/api | Create Recovery Flow for Native Apps
-*FrontendApi* | [**CreateNativeRegistrationFlow**](docs/FrontendApi.md#createnativeregistrationflow) | **Get** /self-service/registration/api | Create Registration Flow for Native Apps
-*FrontendApi* | [**CreateNativeSettingsFlow**](docs/FrontendApi.md#createnativesettingsflow) | **Get** /self-service/settings/api | Create Settings Flow for Native Apps
-*FrontendApi* | [**CreateNativeVerificationFlow**](docs/FrontendApi.md#createnativeverificationflow) | **Get** /self-service/verification/api | Create Verification Flow for Native Apps
-*FrontendApi* | [**DisableMyOtherSessions**](docs/FrontendApi.md#disablemyothersessions) | **Delete** /sessions | Disable my other sessions
-*FrontendApi* | [**DisableMySession**](docs/FrontendApi.md#disablemysession) | **Delete** /sessions/{id} | Disable one of my sessions
-*FrontendApi* | [**ExchangeSessionToken**](docs/FrontendApi.md#exchangesessiontoken) | **Get** /sessions/token-exchange | Exchange Session Token
-*FrontendApi* | [**GetFlowError**](docs/FrontendApi.md#getflowerror) | **Get** /self-service/errors | Get User-Flow Errors
-*FrontendApi* | [**GetLoginFlow**](docs/FrontendApi.md#getloginflow) | **Get** /self-service/login/flows | Get Login Flow
-*FrontendApi* | [**GetRecoveryFlow**](docs/FrontendApi.md#getrecoveryflow) | **Get** /self-service/recovery/flows | Get Recovery Flow
-*FrontendApi* | [**GetRegistrationFlow**](docs/FrontendApi.md#getregistrationflow) | **Get** /self-service/registration/flows | Get Registration Flow
-*FrontendApi* | [**GetSettingsFlow**](docs/FrontendApi.md#getsettingsflow) | **Get** /self-service/settings/flows | Get Settings Flow
-*FrontendApi* | [**GetVerificationFlow**](docs/FrontendApi.md#getverificationflow) | **Get** /self-service/verification/flows | Get Verification Flow
-*FrontendApi* | [**GetWebAuthnJavaScript**](docs/FrontendApi.md#getwebauthnjavascript) | **Get** /.well-known/ory/webauthn.js | Get WebAuthn JavaScript
-*FrontendApi* | [**ListMySessions**](docs/FrontendApi.md#listmysessions) | **Get** /sessions | Get My Active Sessions
-*FrontendApi* | [**PerformNativeLogout**](docs/FrontendApi.md#performnativelogout) | **Delete** /self-service/logout/api | Perform Logout for Native Apps
-*FrontendApi* | [**ToSession**](docs/FrontendApi.md#tosession) | **Get** /sessions/whoami | Check Who the Current HTTP Session Belongs To
-*FrontendApi* | [**UpdateLoginFlow**](docs/FrontendApi.md#updateloginflow) | **Post** /self-service/login | Submit a Login Flow
-*FrontendApi* | [**UpdateLogoutFlow**](docs/FrontendApi.md#updatelogoutflow) | **Get** /self-service/logout | Update Logout Flow
-*FrontendApi* | [**UpdateRecoveryFlow**](docs/FrontendApi.md#updaterecoveryflow) | **Post** /self-service/recovery | Complete Recovery Flow
-*FrontendApi* | [**UpdateRegistrationFlow**](docs/FrontendApi.md#updateregistrationflow) | **Post** /self-service/registration | Update Registration Flow
-*FrontendApi* | [**UpdateSettingsFlow**](docs/FrontendApi.md#updatesettingsflow) | **Post** /self-service/settings | Complete Settings Flow
-*FrontendApi* | [**UpdateVerificationFlow**](docs/FrontendApi.md#updateverificationflow) | **Post** /self-service/verification | Complete Verification Flow
-*IdentityApi* | [**BatchPatchIdentities**](docs/IdentityApi.md#batchpatchidentities) | **Patch** /admin/identities | Create and deletes multiple identities
-*IdentityApi* | [**CreateIdentity**](docs/IdentityApi.md#createidentity) | **Post** /admin/identities | Create an Identity
-*IdentityApi* | [**CreateRecoveryCodeForIdentity**](docs/IdentityApi.md#createrecoverycodeforidentity) | **Post** /admin/recovery/code | Create a Recovery Code
-*IdentityApi* | [**CreateRecoveryLinkForIdentity**](docs/IdentityApi.md#createrecoverylinkforidentity) | **Post** /admin/recovery/link | Create a Recovery Link
-*IdentityApi* | [**DeleteIdentity**](docs/IdentityApi.md#deleteidentity) | **Delete** /admin/identities/{id} | Delete an Identity
-*IdentityApi* | [**DeleteIdentityCredentials**](docs/IdentityApi.md#deleteidentitycredentials) | **Delete** /admin/identities/{id}/credentials/{type} | Delete a credential for a specific identity
-*IdentityApi* | [**DeleteIdentitySessions**](docs/IdentityApi.md#deleteidentitysessions) | **Delete** /admin/identities/{id}/sessions | Delete & Invalidate an Identity's Sessions
-*IdentityApi* | [**DisableSession**](docs/IdentityApi.md#disablesession) | **Delete** /admin/sessions/{id} | Deactivate a Session
-*IdentityApi* | [**ExtendSession**](docs/IdentityApi.md#extendsession) | **Patch** /admin/sessions/{id}/extend | Extend a Session
-*IdentityApi* | [**GetIdentity**](docs/IdentityApi.md#getidentity) | **Get** /admin/identities/{id} | Get an Identity
-*IdentityApi* | [**GetIdentitySchema**](docs/IdentityApi.md#getidentityschema) | **Get** /schemas/{id} | Get Identity JSON Schema
-*IdentityApi* | [**GetSession**](docs/IdentityApi.md#getsession) | **Get** /admin/sessions/{id} | Get Session
-*IdentityApi* | [**ListIdentities**](docs/IdentityApi.md#listidentities) | **Get** /admin/identities | List Identities
-*IdentityApi* | [**ListIdentitySchemas**](docs/IdentityApi.md#listidentityschemas) | **Get** /schemas | Get all Identity Schemas
-*IdentityApi* | [**ListIdentitySessions**](docs/IdentityApi.md#listidentitysessions) | **Get** /admin/identities/{id}/sessions | List an Identity's Sessions
-*IdentityApi* | [**ListSessions**](docs/IdentityApi.md#listsessions) | **Get** /admin/sessions | List All Sessions
-*IdentityApi* | [**PatchIdentity**](docs/IdentityApi.md#patchidentity) | **Patch** /admin/identities/{id} | Patch an Identity
-*IdentityApi* | [**UpdateIdentity**](docs/IdentityApi.md#updateidentity) | **Put** /admin/identities/{id} | Update an Identity
-*JwkApi* | [**CreateJsonWebKeySet**](docs/JwkApi.md#createjsonwebkeyset) | **Post** /admin/keys/{set} | Create JSON Web Key
-*JwkApi* | [**DeleteJsonWebKey**](docs/JwkApi.md#deletejsonwebkey) | **Delete** /admin/keys/{set}/{kid} | Delete JSON Web Key
-*JwkApi* | [**DeleteJsonWebKeySet**](docs/JwkApi.md#deletejsonwebkeyset) | **Delete** /admin/keys/{set} | Delete JSON Web Key Set
-*JwkApi* | [**GetJsonWebKey**](docs/JwkApi.md#getjsonwebkey) | **Get** /admin/keys/{set}/{kid} | Get JSON Web Key
-*JwkApi* | [**GetJsonWebKeySet**](docs/JwkApi.md#getjsonwebkeyset) | **Get** /admin/keys/{set} | Retrieve a JSON Web Key Set
-*JwkApi* | [**SetJsonWebKey**](docs/JwkApi.md#setjsonwebkey) | **Put** /admin/keys/{set}/{kid} | Set JSON Web Key
-*JwkApi* | [**SetJsonWebKeySet**](docs/JwkApi.md#setjsonwebkeyset) | **Put** /admin/keys/{set} | Update a JSON Web Key Set
-*MetadataApi* | [**GetVersion**](docs/MetadataApi.md#getversion) | **Get** /version | Return Running Software Version.
-*MetadataApi* | [**IsAlive**](docs/MetadataApi.md#isalive) | **Get** /health/alive | Check HTTP Server Status
-*MetadataApi* | [**IsReady**](docs/MetadataApi.md#isready) | **Get** /health/ready | Check HTTP Server and Database Status
-*OAuth2Api* | [**AcceptOAuth2ConsentRequest**](docs/OAuth2Api.md#acceptoauth2consentrequest) | **Put** /admin/oauth2/auth/requests/consent/accept | Accept OAuth 2.0 Consent Request
-*OAuth2Api* | [**AcceptOAuth2LoginRequest**](docs/OAuth2Api.md#acceptoauth2loginrequest) | **Put** /admin/oauth2/auth/requests/login/accept | Accept OAuth 2.0 Login Request
-*OAuth2Api* | [**AcceptOAuth2LogoutRequest**](docs/OAuth2Api.md#acceptoauth2logoutrequest) | **Put** /admin/oauth2/auth/requests/logout/accept | Accept OAuth 2.0 Session Logout Request
-*OAuth2Api* | [**CreateOAuth2Client**](docs/OAuth2Api.md#createoauth2client) | **Post** /admin/clients | Create OAuth 2.0 Client
-*OAuth2Api* | [**DeleteOAuth2Client**](docs/OAuth2Api.md#deleteoauth2client) | **Delete** /admin/clients/{id} | Delete OAuth 2.0 Client
-*OAuth2Api* | [**DeleteOAuth2Token**](docs/OAuth2Api.md#deleteoauth2token) | **Delete** /admin/oauth2/tokens | Delete OAuth 2.0 Access Tokens from specific OAuth 2.0 Client
-*OAuth2Api* | [**DeleteTrustedOAuth2JwtGrantIssuer**](docs/OAuth2Api.md#deletetrustedoauth2jwtgrantissuer) | **Delete** /admin/trust/grants/jwt-bearer/issuers/{id} | Delete Trusted OAuth2 JWT Bearer Grant Type Issuer
-*OAuth2Api* | [**GetOAuth2Client**](docs/OAuth2Api.md#getoauth2client) | **Get** /admin/clients/{id} | Get an OAuth 2.0 Client
-*OAuth2Api* | [**GetOAuth2ConsentRequest**](docs/OAuth2Api.md#getoauth2consentrequest) | **Get** /admin/oauth2/auth/requests/consent | Get OAuth 2.0 Consent Request
-*OAuth2Api* | [**GetOAuth2LoginRequest**](docs/OAuth2Api.md#getoauth2loginrequest) | **Get** /admin/oauth2/auth/requests/login | Get OAuth 2.0 Login Request
-*OAuth2Api* | [**GetOAuth2LogoutRequest**](docs/OAuth2Api.md#getoauth2logoutrequest) | **Get** /admin/oauth2/auth/requests/logout | Get OAuth 2.0 Session Logout Request
-*OAuth2Api* | [**GetTrustedOAuth2JwtGrantIssuer**](docs/OAuth2Api.md#gettrustedoauth2jwtgrantissuer) | **Get** /admin/trust/grants/jwt-bearer/issuers/{id} | Get Trusted OAuth2 JWT Bearer Grant Type Issuer
-*OAuth2Api* | [**IntrospectOAuth2Token**](docs/OAuth2Api.md#introspectoauth2token) | **Post** /admin/oauth2/introspect | Introspect OAuth2 Access and Refresh Tokens
-*OAuth2Api* | [**ListOAuth2Clients**](docs/OAuth2Api.md#listoauth2clients) | **Get** /admin/clients | List OAuth 2.0 Clients
-*OAuth2Api* | [**ListOAuth2ConsentSessions**](docs/OAuth2Api.md#listoauth2consentsessions) | **Get** /admin/oauth2/auth/sessions/consent | List OAuth 2.0 Consent Sessions of a Subject
-*OAuth2Api* | [**ListTrustedOAuth2JwtGrantIssuers**](docs/OAuth2Api.md#listtrustedoauth2jwtgrantissuers) | **Get** /admin/trust/grants/jwt-bearer/issuers | List Trusted OAuth2 JWT Bearer Grant Type Issuers
-*OAuth2Api* | [**OAuth2Authorize**](docs/OAuth2Api.md#oauth2authorize) | **Get** /oauth2/auth | OAuth 2.0 Authorize Endpoint
-*OAuth2Api* | [**Oauth2TokenExchange**](docs/OAuth2Api.md#oauth2tokenexchange) | **Post** /oauth2/token | The OAuth 2.0 Token Endpoint
-*OAuth2Api* | [**PatchOAuth2Client**](docs/OAuth2Api.md#patchoauth2client) | **Patch** /admin/clients/{id} | Patch OAuth 2.0 Client
-*OAuth2Api* | [**RejectOAuth2ConsentRequest**](docs/OAuth2Api.md#rejectoauth2consentrequest) | **Put** /admin/oauth2/auth/requests/consent/reject | Reject OAuth 2.0 Consent Request
-*OAuth2Api* | [**RejectOAuth2LoginRequest**](docs/OAuth2Api.md#rejectoauth2loginrequest) | **Put** /admin/oauth2/auth/requests/login/reject | Reject OAuth 2.0 Login Request
-*OAuth2Api* | [**RejectOAuth2LogoutRequest**](docs/OAuth2Api.md#rejectoauth2logoutrequest) | **Put** /admin/oauth2/auth/requests/logout/reject | Reject OAuth 2.0 Session Logout Request
-*OAuth2Api* | [**RevokeOAuth2ConsentSessions**](docs/OAuth2Api.md#revokeoauth2consentsessions) | **Delete** /admin/oauth2/auth/sessions/consent | Revoke OAuth 2.0 Consent Sessions of a Subject
-*OAuth2Api* | [**RevokeOAuth2LoginSessions**](docs/OAuth2Api.md#revokeoauth2loginsessions) | **Delete** /admin/oauth2/auth/sessions/login | Revokes OAuth 2.0 Login Sessions by either a Subject or a SessionID
-*OAuth2Api* | [**RevokeOAuth2Token**](docs/OAuth2Api.md#revokeoauth2token) | **Post** /oauth2/revoke | Revoke OAuth 2.0 Access or Refresh Token
-*OAuth2Api* | [**SetOAuth2Client**](docs/OAuth2Api.md#setoauth2client) | **Put** /admin/clients/{id} | Set OAuth 2.0 Client
-*OAuth2Api* | [**SetOAuth2ClientLifespans**](docs/OAuth2Api.md#setoauth2clientlifespans) | **Put** /admin/clients/{id}/lifespans | Set OAuth2 Client Token Lifespans
-*OAuth2Api* | [**TrustOAuth2JwtGrantIssuer**](docs/OAuth2Api.md#trustoauth2jwtgrantissuer) | **Post** /admin/trust/grants/jwt-bearer/issuers | Trust OAuth2 JWT Bearer Grant Type Issuer
-*OidcApi* | [**CreateOidcDynamicClient**](docs/OidcApi.md#createoidcdynamicclient) | **Post** /oauth2/register | Register OAuth2 Client using OpenID Dynamic Client Registration
-*OidcApi* | [**CreateVerifiableCredential**](docs/OidcApi.md#createverifiablecredential) | **Post** /credentials | Issues a Verifiable Credential
-*OidcApi* | [**DeleteOidcDynamicClient**](docs/OidcApi.md#deleteoidcdynamicclient) | **Delete** /oauth2/register/{id} | Delete OAuth 2.0 Client using the OpenID Dynamic Client Registration Management Protocol
-*OidcApi* | [**DiscoverOidcConfiguration**](docs/OidcApi.md#discoveroidcconfiguration) | **Get** /.well-known/openid-configuration | OpenID Connect Discovery
-*OidcApi* | [**GetOidcDynamicClient**](docs/OidcApi.md#getoidcdynamicclient) | **Get** /oauth2/register/{id} | Get OAuth2 Client using OpenID Dynamic Client Registration
-*OidcApi* | [**GetOidcUserInfo**](docs/OidcApi.md#getoidcuserinfo) | **Get** /userinfo | OpenID Connect Userinfo
-*OidcApi* | [**RevokeOidcSession**](docs/OidcApi.md#revokeoidcsession) | **Get** /oauth2/sessions/logout | OpenID Connect Front- and Back-channel Enabled Logout
-*OidcApi* | [**SetOidcDynamicClient**](docs/OidcApi.md#setoidcdynamicclient) | **Put** /oauth2/register/{id} | Set OAuth2 Client using OpenID Dynamic Client Registration
-*PermissionApi* | [**CheckPermission**](docs/PermissionApi.md#checkpermission) | **Get** /relation-tuples/check/openapi | Check a permission
-*PermissionApi* | [**CheckPermissionOrError**](docs/PermissionApi.md#checkpermissionorerror) | **Get** /relation-tuples/check | Check a permission
-*PermissionApi* | [**ExpandPermissions**](docs/PermissionApi.md#expandpermissions) | **Get** /relation-tuples/expand | Expand a Relationship into permissions.
-*PermissionApi* | [**PostCheckPermission**](docs/PermissionApi.md#postcheckpermission) | **Post** /relation-tuples/check/openapi | Check a permission
-*PermissionApi* | [**PostCheckPermissionOrError**](docs/PermissionApi.md#postcheckpermissionorerror) | **Post** /relation-tuples/check | Check a permission
-*ProjectApi* | [**CreateOrganization**](docs/ProjectApi.md#createorganization) | **Post** /projects/{project_id}/organizations |
-*ProjectApi* | [**CreateProject**](docs/ProjectApi.md#createproject) | **Post** /projects | Create a Project
-*ProjectApi* | [**CreateProjectApiKey**](docs/ProjectApi.md#createprojectapikey) | **Post** /projects/{project}/tokens | Create project API token
-*ProjectApi* | [**DeleteOrganization**](docs/ProjectApi.md#deleteorganization) | **Delete** /projects/{project_id}/organizations/{organization_id} | Delete a B2B SSO Organization for a project.
-*ProjectApi* | [**DeleteProjectApiKey**](docs/ProjectApi.md#deleteprojectapikey) | **Delete** /projects/{project}/tokens/{token_id} | Delete project API token
-*ProjectApi* | [**GetActiveProjectInConsole**](docs/ProjectApi.md#getactiveprojectinconsole) | **Get** /console/active/project | Returns the Ory Network Project selected in the Ory Network Console
-*ProjectApi* | [**GetOrganization**](docs/ProjectApi.md#getorganization) | **Get** /projects/{project_id}/organizations/{organization_id} | Returns a B2B SSO Organization for a project by it's ID.
-*ProjectApi* | [**GetProject**](docs/ProjectApi.md#getproject) | **Get** /projects/{project_id} | Get a Project
-*ProjectApi* | [**GetProjectMembers**](docs/ProjectApi.md#getprojectmembers) | **Get** /projects/{project}/members | Get all members associated with this project
-*ProjectApi* | [**GetProjectMetrics**](docs/ProjectApi.md#getprojectmetrics) | **Get** /projects/{project_id}/metrics |
-*ProjectApi* | [**ListOrganizations**](docs/ProjectApi.md#listorganizations) | **Get** /projects/{project_id}/organizations |
-*ProjectApi* | [**ListProjectApiKeys**](docs/ProjectApi.md#listprojectapikeys) | **Get** /projects/{project}/tokens | List a project's API Tokens
-*ProjectApi* | [**ListProjects**](docs/ProjectApi.md#listprojects) | **Get** /projects | List All Projects
-*ProjectApi* | [**PatchProject**](docs/ProjectApi.md#patchproject) | **Patch** /projects/{project_id} | Patch an Ory Network Project Configuration
-*ProjectApi* | [**PurgeProject**](docs/ProjectApi.md#purgeproject) | **Delete** /projects/{project_id} | Irrecoverably purge a project
-*ProjectApi* | [**RemoveProjectMember**](docs/ProjectApi.md#removeprojectmember) | **Delete** /projects/{project}/members/{member} | Remove a member associated with this project
-*ProjectApi* | [**SetActiveProjectInConsole**](docs/ProjectApi.md#setactiveprojectinconsole) | **Put** /console/active/project | Sets the Ory Network Project active in the Ory Network Console
-*ProjectApi* | [**SetProject**](docs/ProjectApi.md#setproject) | **Put** /projects/{project_id} | Update an Ory Network Project Configuration
-*ProjectApi* | [**UpdateOrganization**](docs/ProjectApi.md#updateorganization) | **Put** /projects/{project_id}/organizations/{organization_id} | Update a B2B SSO Organization for a project.
-*RelationshipApi* | [**CheckOplSyntax**](docs/RelationshipApi.md#checkoplsyntax) | **Post** /opl/syntax/check | Check the syntax of an OPL file
-*RelationshipApi* | [**CreateRelationship**](docs/RelationshipApi.md#createrelationship) | **Put** /admin/relation-tuples | Create a Relationship
-*RelationshipApi* | [**DeleteRelationships**](docs/RelationshipApi.md#deleterelationships) | **Delete** /admin/relation-tuples | Delete Relationships
-*RelationshipApi* | [**GetRelationships**](docs/RelationshipApi.md#getrelationships) | **Get** /relation-tuples | Query relationships
-*RelationshipApi* | [**ListRelationshipNamespaces**](docs/RelationshipApi.md#listrelationshipnamespaces) | **Get** /namespaces | Query namespaces
-*RelationshipApi* | [**PatchRelationships**](docs/RelationshipApi.md#patchrelationships) | **Patch** /admin/relation-tuples | Patch Multiple Relationships
-*WellknownApi* | [**DiscoverJsonWebKeys**](docs/WellknownApi.md#discoverjsonwebkeys) | **Get** /.well-known/jwks.json | Discover Well-Known JSON Web Keys
+*CourierAPI* | [**GetCourierMessage**](docs/CourierAPI.md#getcouriermessage) | **Get** /admin/courier/messages/{id} | Get a Message
+*CourierAPI* | [**ListCourierMessages**](docs/CourierAPI.md#listcouriermessages) | **Get** /admin/courier/messages | List Messages
+*FrontendAPI* | [**CreateBrowserLoginFlow**](docs/FrontendAPI.md#createbrowserloginflow) | **Get** /self-service/login/browser | Create Login Flow for Browsers
+*FrontendAPI* | [**CreateBrowserLogoutFlow**](docs/FrontendAPI.md#createbrowserlogoutflow) | **Get** /self-service/logout/browser | Create a Logout URL for Browsers
+*FrontendAPI* | [**CreateBrowserRecoveryFlow**](docs/FrontendAPI.md#createbrowserrecoveryflow) | **Get** /self-service/recovery/browser | Create Recovery Flow for Browsers
+*FrontendAPI* | [**CreateBrowserRegistrationFlow**](docs/FrontendAPI.md#createbrowserregistrationflow) | **Get** /self-service/registration/browser | Create Registration Flow for Browsers
+*FrontendAPI* | [**CreateBrowserSettingsFlow**](docs/FrontendAPI.md#createbrowsersettingsflow) | **Get** /self-service/settings/browser | Create Settings Flow for Browsers
+*FrontendAPI* | [**CreateBrowserVerificationFlow**](docs/FrontendAPI.md#createbrowserverificationflow) | **Get** /self-service/verification/browser | Create Verification Flow for Browser Clients
+*FrontendAPI* | [**CreateNativeLoginFlow**](docs/FrontendAPI.md#createnativeloginflow) | **Get** /self-service/login/api | Create Login Flow for Native Apps
+*FrontendAPI* | [**CreateNativeRecoveryFlow**](docs/FrontendAPI.md#createnativerecoveryflow) | **Get** /self-service/recovery/api | Create Recovery Flow for Native Apps
+*FrontendAPI* | [**CreateNativeRegistrationFlow**](docs/FrontendAPI.md#createnativeregistrationflow) | **Get** /self-service/registration/api | Create Registration Flow for Native Apps
+*FrontendAPI* | [**CreateNativeSettingsFlow**](docs/FrontendAPI.md#createnativesettingsflow) | **Get** /self-service/settings/api | Create Settings Flow for Native Apps
+*FrontendAPI* | [**CreateNativeVerificationFlow**](docs/FrontendAPI.md#createnativeverificationflow) | **Get** /self-service/verification/api | Create Verification Flow for Native Apps
+*FrontendAPI* | [**DisableMyOtherSessions**](docs/FrontendAPI.md#disablemyothersessions) | **Delete** /sessions | Disable my other sessions
+*FrontendAPI* | [**DisableMySession**](docs/FrontendAPI.md#disablemysession) | **Delete** /sessions/{id} | Disable one of my sessions
+*FrontendAPI* | [**ExchangeSessionToken**](docs/FrontendAPI.md#exchangesessiontoken) | **Get** /sessions/token-exchange | Exchange Session Token
+*FrontendAPI* | [**GetFlowError**](docs/FrontendAPI.md#getflowerror) | **Get** /self-service/errors | Get User-Flow Errors
+*FrontendAPI* | [**GetLoginFlow**](docs/FrontendAPI.md#getloginflow) | **Get** /self-service/login/flows | Get Login Flow
+*FrontendAPI* | [**GetRecoveryFlow**](docs/FrontendAPI.md#getrecoveryflow) | **Get** /self-service/recovery/flows | Get Recovery Flow
+*FrontendAPI* | [**GetRegistrationFlow**](docs/FrontendAPI.md#getregistrationflow) | **Get** /self-service/registration/flows | Get Registration Flow
+*FrontendAPI* | [**GetSettingsFlow**](docs/FrontendAPI.md#getsettingsflow) | **Get** /self-service/settings/flows | Get Settings Flow
+*FrontendAPI* | [**GetVerificationFlow**](docs/FrontendAPI.md#getverificationflow) | **Get** /self-service/verification/flows | Get Verification Flow
+*FrontendAPI* | [**GetWebAuthnJavaScript**](docs/FrontendAPI.md#getwebauthnjavascript) | **Get** /.well-known/ory/webauthn.js | Get WebAuthn JavaScript
+*FrontendAPI* | [**ListMySessions**](docs/FrontendAPI.md#listmysessions) | **Get** /sessions | Get My Active Sessions
+*FrontendAPI* | [**PerformNativeLogout**](docs/FrontendAPI.md#performnativelogout) | **Delete** /self-service/logout/api | Perform Logout for Native Apps
+*FrontendAPI* | [**ToSession**](docs/FrontendAPI.md#tosession) | **Get** /sessions/whoami | Check Who the Current HTTP Session Belongs To
+*FrontendAPI* | [**UpdateLoginFlow**](docs/FrontendAPI.md#updateloginflow) | **Post** /self-service/login | Submit a Login Flow
+*FrontendAPI* | [**UpdateLogoutFlow**](docs/FrontendAPI.md#updatelogoutflow) | **Get** /self-service/logout | Update Logout Flow
+*FrontendAPI* | [**UpdateRecoveryFlow**](docs/FrontendAPI.md#updaterecoveryflow) | **Post** /self-service/recovery | Complete Recovery Flow
+*FrontendAPI* | [**UpdateRegistrationFlow**](docs/FrontendAPI.md#updateregistrationflow) | **Post** /self-service/registration | Update Registration Flow
+*FrontendAPI* | [**UpdateSettingsFlow**](docs/FrontendAPI.md#updatesettingsflow) | **Post** /self-service/settings | Complete Settings Flow
+*FrontendAPI* | [**UpdateVerificationFlow**](docs/FrontendAPI.md#updateverificationflow) | **Post** /self-service/verification | Complete Verification Flow
+*IdentityAPI* | [**BatchPatchIdentities**](docs/IdentityAPI.md#batchpatchidentities) | **Patch** /admin/identities | Create and deletes multiple identities
+*IdentityAPI* | [**CreateIdentity**](docs/IdentityAPI.md#createidentity) | **Post** /admin/identities | Create an Identity
+*IdentityAPI* | [**CreateRecoveryCodeForIdentity**](docs/IdentityAPI.md#createrecoverycodeforidentity) | **Post** /admin/recovery/code | Create a Recovery Code
+*IdentityAPI* | [**CreateRecoveryLinkForIdentity**](docs/IdentityAPI.md#createrecoverylinkforidentity) | **Post** /admin/recovery/link | Create a Recovery Link
+*IdentityAPI* | [**DeleteIdentity**](docs/IdentityAPI.md#deleteidentity) | **Delete** /admin/identities/{id} | Delete an Identity
+*IdentityAPI* | [**DeleteIdentityCredentials**](docs/IdentityAPI.md#deleteidentitycredentials) | **Delete** /admin/identities/{id}/credentials/{type} | Delete a credential for a specific identity
+*IdentityAPI* | [**DeleteIdentitySessions**](docs/IdentityAPI.md#deleteidentitysessions) | **Delete** /admin/identities/{id}/sessions | Delete & Invalidate an Identity's Sessions
+*IdentityAPI* | [**DisableSession**](docs/IdentityAPI.md#disablesession) | **Delete** /admin/sessions/{id} | Deactivate a Session
+*IdentityAPI* | [**ExtendSession**](docs/IdentityAPI.md#extendsession) | **Patch** /admin/sessions/{id}/extend | Extend a Session
+*IdentityAPI* | [**GetIdentity**](docs/IdentityAPI.md#getidentity) | **Get** /admin/identities/{id} | Get an Identity
+*IdentityAPI* | [**GetIdentitySchema**](docs/IdentityAPI.md#getidentityschema) | **Get** /schemas/{id} | Get Identity JSON Schema
+*IdentityAPI* | [**GetSession**](docs/IdentityAPI.md#getsession) | **Get** /admin/sessions/{id} | Get Session
+*IdentityAPI* | [**ListIdentities**](docs/IdentityAPI.md#listidentities) | **Get** /admin/identities | List Identities
+*IdentityAPI* | [**ListIdentitySchemas**](docs/IdentityAPI.md#listidentityschemas) | **Get** /schemas | Get all Identity Schemas
+*IdentityAPI* | [**ListIdentitySessions**](docs/IdentityAPI.md#listidentitysessions) | **Get** /admin/identities/{id}/sessions | List an Identity's Sessions
+*IdentityAPI* | [**ListSessions**](docs/IdentityAPI.md#listsessions) | **Get** /admin/sessions | List All Sessions
+*IdentityAPI* | [**PatchIdentity**](docs/IdentityAPI.md#patchidentity) | **Patch** /admin/identities/{id} | Patch an Identity
+*IdentityAPI* | [**UpdateIdentity**](docs/IdentityAPI.md#updateidentity) | **Put** /admin/identities/{id} | Update an Identity
+*JwkAPI* | [**CreateJsonWebKeySet**](docs/JwkAPI.md#createjsonwebkeyset) | **Post** /admin/keys/{set} | Create JSON Web Key
+*JwkAPI* | [**DeleteJsonWebKey**](docs/JwkAPI.md#deletejsonwebkey) | **Delete** /admin/keys/{set}/{kid} | Delete JSON Web Key
+*JwkAPI* | [**DeleteJsonWebKeySet**](docs/JwkAPI.md#deletejsonwebkeyset) | **Delete** /admin/keys/{set} | Delete JSON Web Key Set
+*JwkAPI* | [**GetJsonWebKey**](docs/JwkAPI.md#getjsonwebkey) | **Get** /admin/keys/{set}/{kid} | Get JSON Web Key
+*JwkAPI* | [**GetJsonWebKeySet**](docs/JwkAPI.md#getjsonwebkeyset) | **Get** /admin/keys/{set} | Retrieve a JSON Web Key Set
+*JwkAPI* | [**SetJsonWebKey**](docs/JwkAPI.md#setjsonwebkey) | **Put** /admin/keys/{set}/{kid} | Set JSON Web Key
+*JwkAPI* | [**SetJsonWebKeySet**](docs/JwkAPI.md#setjsonwebkeyset) | **Put** /admin/keys/{set} | Update a JSON Web Key Set
+*MetadataAPI* | [**GetVersion**](docs/MetadataAPI.md#getversion) | **Get** /version | Return Running Software Version.
+*MetadataAPI* | [**IsAlive**](docs/MetadataAPI.md#isalive) | **Get** /health/alive | Check HTTP Server Status
+*MetadataAPI* | [**IsReady**](docs/MetadataAPI.md#isready) | **Get** /health/ready | Check HTTP Server and Database Status
+*OAuth2API* | [**AcceptOAuth2ConsentRequest**](docs/OAuth2API.md#acceptoauth2consentrequest) | **Put** /admin/oauth2/auth/requests/consent/accept | Accept OAuth 2.0 Consent Request
+*OAuth2API* | [**AcceptOAuth2LoginRequest**](docs/OAuth2API.md#acceptoauth2loginrequest) | **Put** /admin/oauth2/auth/requests/login/accept | Accept OAuth 2.0 Login Request
+*OAuth2API* | [**AcceptOAuth2LogoutRequest**](docs/OAuth2API.md#acceptoauth2logoutrequest) | **Put** /admin/oauth2/auth/requests/logout/accept | Accept OAuth 2.0 Session Logout Request
+*OAuth2API* | [**CreateOAuth2Client**](docs/OAuth2API.md#createoauth2client) | **Post** /admin/clients | Create OAuth 2.0 Client
+*OAuth2API* | [**DeleteOAuth2Client**](docs/OAuth2API.md#deleteoauth2client) | **Delete** /admin/clients/{id} | Delete OAuth 2.0 Client
+*OAuth2API* | [**DeleteOAuth2Token**](docs/OAuth2API.md#deleteoauth2token) | **Delete** /admin/oauth2/tokens | Delete OAuth 2.0 Access Tokens from specific OAuth 2.0 Client
+*OAuth2API* | [**DeleteTrustedOAuth2JwtGrantIssuer**](docs/OAuth2API.md#deletetrustedoauth2jwtgrantissuer) | **Delete** /admin/trust/grants/jwt-bearer/issuers/{id} | Delete Trusted OAuth2 JWT Bearer Grant Type Issuer
+*OAuth2API* | [**GetOAuth2Client**](docs/OAuth2API.md#getoauth2client) | **Get** /admin/clients/{id} | Get an OAuth 2.0 Client
+*OAuth2API* | [**GetOAuth2ConsentRequest**](docs/OAuth2API.md#getoauth2consentrequest) | **Get** /admin/oauth2/auth/requests/consent | Get OAuth 2.0 Consent Request
+*OAuth2API* | [**GetOAuth2LoginRequest**](docs/OAuth2API.md#getoauth2loginrequest) | **Get** /admin/oauth2/auth/requests/login | Get OAuth 2.0 Login Request
+*OAuth2API* | [**GetOAuth2LogoutRequest**](docs/OAuth2API.md#getoauth2logoutrequest) | **Get** /admin/oauth2/auth/requests/logout | Get OAuth 2.0 Session Logout Request
+*OAuth2API* | [**GetTrustedOAuth2JwtGrantIssuer**](docs/OAuth2API.md#gettrustedoauth2jwtgrantissuer) | **Get** /admin/trust/grants/jwt-bearer/issuers/{id} | Get Trusted OAuth2 JWT Bearer Grant Type Issuer
+*OAuth2API* | [**IntrospectOAuth2Token**](docs/OAuth2API.md#introspectoauth2token) | **Post** /admin/oauth2/introspect | Introspect OAuth2 Access and Refresh Tokens
+*OAuth2API* | [**ListOAuth2Clients**](docs/OAuth2API.md#listoauth2clients) | **Get** /admin/clients | List OAuth 2.0 Clients
+*OAuth2API* | [**ListOAuth2ConsentSessions**](docs/OAuth2API.md#listoauth2consentsessions) | **Get** /admin/oauth2/auth/sessions/consent | List OAuth 2.0 Consent Sessions of a Subject
+*OAuth2API* | [**ListTrustedOAuth2JwtGrantIssuers**](docs/OAuth2API.md#listtrustedoauth2jwtgrantissuers) | **Get** /admin/trust/grants/jwt-bearer/issuers | List Trusted OAuth2 JWT Bearer Grant Type Issuers
+*OAuth2API* | [**OAuth2Authorize**](docs/OAuth2API.md#oauth2authorize) | **Get** /oauth2/auth | OAuth 2.0 Authorize Endpoint
+*OAuth2API* | [**Oauth2TokenExchange**](docs/OAuth2API.md#oauth2tokenexchange) | **Post** /oauth2/token | The OAuth 2.0 Token Endpoint
+*OAuth2API* | [**PatchOAuth2Client**](docs/OAuth2API.md#patchoauth2client) | **Patch** /admin/clients/{id} | Patch OAuth 2.0 Client
+*OAuth2API* | [**RejectOAuth2ConsentRequest**](docs/OAuth2API.md#rejectoauth2consentrequest) | **Put** /admin/oauth2/auth/requests/consent/reject | Reject OAuth 2.0 Consent Request
+*OAuth2API* | [**RejectOAuth2LoginRequest**](docs/OAuth2API.md#rejectoauth2loginrequest) | **Put** /admin/oauth2/auth/requests/login/reject | Reject OAuth 2.0 Login Request
+*OAuth2API* | [**RejectOAuth2LogoutRequest**](docs/OAuth2API.md#rejectoauth2logoutrequest) | **Put** /admin/oauth2/auth/requests/logout/reject | Reject OAuth 2.0 Session Logout Request
+*OAuth2API* | [**RevokeOAuth2ConsentSessions**](docs/OAuth2API.md#revokeoauth2consentsessions) | **Delete** /admin/oauth2/auth/sessions/consent | Revoke OAuth 2.0 Consent Sessions of a Subject
+*OAuth2API* | [**RevokeOAuth2LoginSessions**](docs/OAuth2API.md#revokeoauth2loginsessions) | **Delete** /admin/oauth2/auth/sessions/login | Revokes OAuth 2.0 Login Sessions by either a Subject or a SessionID
+*OAuth2API* | [**RevokeOAuth2Token**](docs/OAuth2API.md#revokeoauth2token) | **Post** /oauth2/revoke | Revoke OAuth 2.0 Access or Refresh Token
+*OAuth2API* | [**SetOAuth2Client**](docs/OAuth2API.md#setoauth2client) | **Put** /admin/clients/{id} | Set OAuth 2.0 Client
+*OAuth2API* | [**SetOAuth2ClientLifespans**](docs/OAuth2API.md#setoauth2clientlifespans) | **Put** /admin/clients/{id}/lifespans | Set OAuth2 Client Token Lifespans
+*OAuth2API* | [**TrustOAuth2JwtGrantIssuer**](docs/OAuth2API.md#trustoauth2jwtgrantissuer) | **Post** /admin/trust/grants/jwt-bearer/issuers | Trust OAuth2 JWT Bearer Grant Type Issuer
+*OidcAPI* | [**CreateOidcDynamicClient**](docs/OidcAPI.md#createoidcdynamicclient) | **Post** /oauth2/register | Register OAuth2 Client using OpenID Dynamic Client Registration
+*OidcAPI* | [**CreateVerifiableCredential**](docs/OidcAPI.md#createverifiablecredential) | **Post** /credentials | Issues a Verifiable Credential
+*OidcAPI* | [**DeleteOidcDynamicClient**](docs/OidcAPI.md#deleteoidcdynamicclient) | **Delete** /oauth2/register/{id} | Delete OAuth 2.0 Client using the OpenID Dynamic Client Registration Management Protocol
+*OidcAPI* | [**DiscoverOidcConfiguration**](docs/OidcAPI.md#discoveroidcconfiguration) | **Get** /.well-known/openid-configuration | OpenID Connect Discovery
+*OidcAPI* | [**GetOidcDynamicClient**](docs/OidcAPI.md#getoidcdynamicclient) | **Get** /oauth2/register/{id} | Get OAuth2 Client using OpenID Dynamic Client Registration
+*OidcAPI* | [**GetOidcUserInfo**](docs/OidcAPI.md#getoidcuserinfo) | **Get** /userinfo | OpenID Connect Userinfo
+*OidcAPI* | [**RevokeOidcSession**](docs/OidcAPI.md#revokeoidcsession) | **Get** /oauth2/sessions/logout | OpenID Connect Front- and Back-channel Enabled Logout
+*OidcAPI* | [**SetOidcDynamicClient**](docs/OidcAPI.md#setoidcdynamicclient) | **Put** /oauth2/register/{id} | Set OAuth2 Client using OpenID Dynamic Client Registration
+*PermissionAPI* | [**CheckPermission**](docs/PermissionAPI.md#checkpermission) | **Get** /relation-tuples/check/openapi | Check a permission
+*PermissionAPI* | [**CheckPermissionOrError**](docs/PermissionAPI.md#checkpermissionorerror) | **Get** /relation-tuples/check | Check a permission
+*PermissionAPI* | [**ExpandPermissions**](docs/PermissionAPI.md#expandpermissions) | **Get** /relation-tuples/expand | Expand a Relationship into permissions.
+*PermissionAPI* | [**PostCheckPermission**](docs/PermissionAPI.md#postcheckpermission) | **Post** /relation-tuples/check/openapi | Check a permission
+*PermissionAPI* | [**PostCheckPermissionOrError**](docs/PermissionAPI.md#postcheckpermissionorerror) | **Post** /relation-tuples/check | Check a permission
+*ProjectAPI* | [**CreateOrganization**](docs/ProjectAPI.md#createorganization) | **Post** /projects/{project_id}/organizations |
+*ProjectAPI* | [**CreateProject**](docs/ProjectAPI.md#createproject) | **Post** /projects | Create a Project
+*ProjectAPI* | [**CreateProjectApiKey**](docs/ProjectAPI.md#createprojectapikey) | **Post** /projects/{project}/tokens | Create project API token
+*ProjectAPI* | [**DeleteOrganization**](docs/ProjectAPI.md#deleteorganization) | **Delete** /projects/{project_id}/organizations/{organization_id} | Delete a B2B SSO Organization for a project.
+*ProjectAPI* | [**DeleteProjectApiKey**](docs/ProjectAPI.md#deleteprojectapikey) | **Delete** /projects/{project}/tokens/{token_id} | Delete project API token
+*ProjectAPI* | [**GetActiveProjectInConsole**](docs/ProjectAPI.md#getactiveprojectinconsole) | **Get** /console/active/project | Returns the Ory Network Project selected in the Ory Network Console
+*ProjectAPI* | [**GetOrganization**](docs/ProjectAPI.md#getorganization) | **Get** /projects/{project_id}/organizations/{organization_id} | Returns a B2B SSO Organization for a project by it's ID.
+*ProjectAPI* | [**GetProject**](docs/ProjectAPI.md#getproject) | **Get** /projects/{project_id} | Get a Project
+*ProjectAPI* | [**GetProjectMembers**](docs/ProjectAPI.md#getprojectmembers) | **Get** /projects/{project}/members | Get all members associated with this project
+*ProjectAPI* | [**GetProjectMetrics**](docs/ProjectAPI.md#getprojectmetrics) | **Get** /projects/{project_id}/metrics |
+*ProjectAPI* | [**ListOrganizations**](docs/ProjectAPI.md#listorganizations) | **Get** /projects/{project_id}/organizations |
+*ProjectAPI* | [**ListProjectApiKeys**](docs/ProjectAPI.md#listprojectapikeys) | **Get** /projects/{project}/tokens | List a project's API Tokens
+*ProjectAPI* | [**ListProjects**](docs/ProjectAPI.md#listprojects) | **Get** /projects | List All Projects
+*ProjectAPI* | [**PatchProject**](docs/ProjectAPI.md#patchproject) | **Patch** /projects/{project_id} | Patch an Ory Network Project Configuration
+*ProjectAPI* | [**PurgeProject**](docs/ProjectAPI.md#purgeproject) | **Delete** /projects/{project_id} | Irrecoverably purge a project
+*ProjectAPI* | [**RemoveProjectMember**](docs/ProjectAPI.md#removeprojectmember) | **Delete** /projects/{project}/members/{member} | Remove a member associated with this project
+*ProjectAPI* | [**SetActiveProjectInConsole**](docs/ProjectAPI.md#setactiveprojectinconsole) | **Put** /console/active/project | Sets the Ory Network Project active in the Ory Network Console
+*ProjectAPI* | [**SetProject**](docs/ProjectAPI.md#setproject) | **Put** /projects/{project_id} | Update an Ory Network Project Configuration
+*ProjectAPI* | [**UpdateOrganization**](docs/ProjectAPI.md#updateorganization) | **Put** /projects/{project_id}/organizations/{organization_id} | Update a B2B SSO Organization for a project.
+*RelationshipAPI* | [**CheckOplSyntax**](docs/RelationshipAPI.md#checkoplsyntax) | **Post** /opl/syntax/check | Check the syntax of an OPL file
+*RelationshipAPI* | [**CreateRelationship**](docs/RelationshipAPI.md#createrelationship) | **Put** /admin/relation-tuples | Create a Relationship
+*RelationshipAPI* | [**DeleteRelationships**](docs/RelationshipAPI.md#deleterelationships) | **Delete** /admin/relation-tuples | Delete Relationships
+*RelationshipAPI* | [**GetRelationships**](docs/RelationshipAPI.md#getrelationships) | **Get** /relation-tuples | Query relationships
+*RelationshipAPI* | [**ListRelationshipNamespaces**](docs/RelationshipAPI.md#listrelationshipnamespaces) | **Get** /namespaces | Query namespaces
+*RelationshipAPI* | [**PatchRelationships**](docs/RelationshipAPI.md#patchrelationships) | **Patch** /admin/relation-tuples | Patch Multiple Relationships
+*WellknownAPI* | [**DiscoverJsonWebKeys**](docs/WellknownAPI.md#discoverjsonwebkeys) | **Get** /.well-known/jwks.json | Discover Well-Known JSON Web Keys
## Documentation For Models
@@ -441,7 +441,7 @@ Class | Method | HTTP request | Description
## Documentation For Authorization
-
+Authentication schemes defined for the API:
### basic
- **Type**: HTTP basic authentication
@@ -449,14 +449,13 @@ Class | Method | HTTP request | Description
Example
```golang
-auth := context.WithValue(context.Background(), sw.ContextBasicAuth, sw.BasicAuth{
+auth := context.WithValue(context.Background(), client.ContextBasicAuth, client.BasicAuth{
UserName: "username",
Password: "password",
})
r, err := client.Service.Operation(auth, args)
```
-
### bearer
- **Type**: HTTP Bearer token authentication
@@ -464,11 +463,10 @@ r, err := client.Service.Operation(auth, args)
Example
```golang
-auth := context.WithValue(context.Background(), sw.ContextAccessToken, "BEARER_TOKEN_STRING")
+auth := context.WithValue(context.Background(), client.ContextAccessToken, "BEARER_TOKEN_STRING")
r, err := client.Service.Operation(auth, args)
```
-
### oauth2
@@ -483,7 +481,7 @@ r, err := client.Service.Operation(auth, args)
Example
```golang
-auth := context.WithValue(context.Background(), sw.ContextAccessToken, "ACCESSTOKENSTRING")
+auth := context.WithValue(context.Background(), client.ContextAccessToken, "ACCESSTOKENSTRING")
r, err := client.Service.Operation(auth, args)
```
@@ -495,11 +493,10 @@ import "golang.org/x/oauth2"
/* Perform OAuth2 round trip request and obtain a token */
tokenSource := oauth2cfg.TokenSource(createContext(httpClient), &token)
-auth := context.WithValue(oauth2.NoContext, sw.ContextOAuth2, tokenSource)
+auth := context.WithValue(oauth2.NoContext, client.ContextOAuth2, tokenSource)
r, err := client.Service.Operation(auth, args)
```
-
### oryAccessToken
- **Type**: HTTP Bearer token authentication
@@ -507,7 +504,7 @@ r, err := client.Service.Operation(auth, args)
Example
```golang
-auth := context.WithValue(context.Background(), sw.ContextAccessToken, "BEARER_TOKEN_STRING")
+auth := context.WithValue(context.Background(), client.ContextAccessToken, "BEARER_TOKEN_STRING")
r, err := client.Service.Operation(auth, args)
```
diff --git a/clients/client/go/api/openapi.yaml b/clients/client/go/api/openapi.yaml
index 354cc55bcd0..dfc1afece01 100644
--- a/clients/client/go/api/openapi.yaml
+++ b/clients/client/go/api/openapi.yaml
@@ -11,7 +11,7 @@ info:
url: https://www.apache.org/licenses/LICENSE-2.0.html
termsOfService: /ptos
title: Ory APIs
- version: v1.2.17
+ version: v1.3.0
servers:
- url: "https://{project}.projects.oryapis.com/"
variables:
@@ -32,10 +32,10 @@ tags:
paths:
/.well-known/jwks.json:
get:
- description: "This endpoint returns JSON Web Keys required to verifying OpenID\
- \ Connect ID Tokens and,\nif enabled, OAuth 2.0 JWT Access Tokens. This endpoint\
- \ can be used with client libraries like\n[node-jwks-rsa](https://github.com/auth0/node-jwks-rsa)\
- \ among others."
+ description: |-
+ This endpoint returns JSON Web Keys required to verifying OpenID Connect ID Tokens and,
+ if enabled, OAuth 2.0 JWT Access Tokens. This endpoint can be used with client libraries like
+ [node-jwks-rsa](https://github.com/auth0/node-jwks-rsa) among others.
operationId: discoverJsonWebKeys
responses:
"200":
@@ -55,11 +55,11 @@ paths:
- wellknown
/.well-known/openid-configuration:
get:
- description: "A mechanism for an OpenID Connect Relying Party to discover the\
- \ End-User's OpenID Provider and obtain information needed to interact with\
- \ it, including its OAuth 2.0 endpoint locations.\n\nPopular libraries for\
- \ OpenID Connect clients include oidc-client-js (JavaScript), go-oidc (Golang),\
- \ and others.\nFor a full list of clients go here: https://openid.net/developers/certified/"
+ description: |-
+ A mechanism for an OpenID Connect Relying Party to discover the End-User's OpenID Provider and obtain information needed to interact with it, including its OAuth 2.0 endpoint locations.
+
+ Popular libraries for OpenID Connect clients include oidc-client-js (JavaScript), go-oidc (Golang), and others.
+ For a full list of clients go here: https://openid.net/developers/certified/
operationId: discoverOidcConfiguration
responses:
"200":
@@ -79,13 +79,16 @@ paths:
- oidc
/.well-known/ory/webauthn.js:
get:
- description: "This endpoint provides JavaScript which is needed in order to\
- \ perform WebAuthn login and registration.\n\nIf you are building a JavaScript\
- \ Browser App (e.g. in ReactJS or AngularJS) you will need to load this file:\n\
- \n```html\n\n```\n\nMore information can be found at [Ory Kratos\
- \ User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login)\
- \ and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration)."
+ description: |-
+ This endpoint provides JavaScript which is needed in order to perform WebAuthn login and registration.
+
+ If you are building a JavaScript Browser App (e.g. in ReactJS or AngularJS) you will need to load this file:
+
+ ```html
+
+ ```
+
+ More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
operationId: getWebAuthnJavaScript
responses:
"200":
@@ -99,12 +102,16 @@ paths:
- frontend
/admin/clients:
get:
- description: "This endpoint lists all clients in the database, and never returns\
- \ client secrets.\nAs a default it lists the first 100 clients."
+ description: |-
+ This endpoint lists all clients in the database, and never returns client secrets.
+ As a default it lists the first 100 clients.
operationId: listOAuth2Clients
parameters:
- - description: "Items per Page\n\nThis is the number of items per page to return.\n\
- For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination)."
+ - description: |-
+ Items per Page
+
+ This is the number of items per page to return.
+ For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
explode: true
in: query
name: page_size
@@ -116,8 +123,11 @@ paths:
minimum: 1
type: integer
style: form
- - description: "Next Page Token\n\nThe next page token.\nFor details on pagination\
- \ please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination)."
+ - description: |-
+ Next Page Token
+
+ The next page token.
+ For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
explode: true
in: query
name: page_token
@@ -164,9 +174,9 @@ paths:
tags:
- oAuth2
post:
- description: "Create a new OAuth 2.0 client. If you pass `client_secret` the\
- \ secret is used, otherwise a random secret\nis generated. The secret is echoed\
- \ in the response. It is not possible to retrieve it later on."
+ description: |-
+ Create a new OAuth 2.0 client. If you pass `client_secret` the secret is used, otherwise a random secret
+ is generated. The secret is echoed in the response. It is not possible to retrieve it later on.
operationId: createOAuth2Client
requestBody:
content:
@@ -202,11 +212,13 @@ paths:
- oAuth2
/admin/clients/{id}:
delete:
- description: "Delete an existing OAuth 2.0 Client by its ID.\n\nOAuth 2.0 clients\
- \ are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0\
- \ clients are\ngenerated for applications which want to consume your OAuth\
- \ 2.0 or OpenID Connect capabilities.\n\nMake sure that this endpoint is well\
- \ protected and only callable by first-party components."
+ description: |-
+ Delete an existing OAuth 2.0 Client by its ID.
+
+ OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are
+ generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.
+
+ Make sure that this endpoint is well protected and only callable by first-party components.
operationId: deleteOAuth2Client
parameters:
- description: The id of the OAuth 2.0 Client.
@@ -219,8 +231,9 @@ paths:
style: simple
responses:
"204":
- description: "Empty responses are sent when, for example, resources are\
- \ deleted. The HTTP status code for empty responses is\ntypically 201."
+ description: |-
+ Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is
+ typically 201.
default:
content:
application/json:
@@ -233,10 +246,11 @@ paths:
tags:
- oAuth2
get:
- description: "Get an OAuth 2.0 client by its ID. This endpoint never returns\
- \ the client secret.\n\nOAuth 2.0 clients are used to perform OAuth 2.0 and\
- \ OpenID Connect flows. Usually, OAuth 2.0 clients are\ngenerated for applications\
- \ which want to consume your OAuth 2.0 or OpenID Connect capabilities."
+ description: |-
+ Get an OAuth 2.0 client by its ID. This endpoint never returns the client secret.
+
+ OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are
+ generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.
operationId: getOAuth2Client
parameters:
- description: The id of the OAuth 2.0 Client.
@@ -266,13 +280,13 @@ paths:
tags:
- oAuth2
patch:
- description: "Patch an existing OAuth 2.0 Client using JSON Patch. If you pass\
- \ `client_secret`\nthe secret will be updated and returned via the API. This\
- \ is the\nonly time you will be able to retrieve the client secret, so write\
- \ it down and keep it safe.\n\nOAuth 2.0 clients are used to perform OAuth\
- \ 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are\ngenerated\
- \ for applications which want to consume your OAuth 2.0 or OpenID Connect\
- \ capabilities."
+ description: |-
+ Patch an existing OAuth 2.0 Client using JSON Patch. If you pass `client_secret`
+ the secret will be updated and returned via the API. This is the
+ only time you will be able to retrieve the client secret, so write it down and keep it safe.
+
+ OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are
+ generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.
operationId: patchOAuth2Client
parameters:
- description: The id of the OAuth 2.0 Client.
@@ -316,13 +330,14 @@ paths:
tags:
- oAuth2
put:
- description: "Replaces an existing OAuth 2.0 Client with the payload you send.\
- \ If you pass `client_secret` the secret is used,\notherwise the existing\
- \ secret is used.\n\nIf set, the secret is echoed in the response. It is not\
- \ possible to retrieve it later on.\n\nOAuth 2.0 Clients are used to perform\
- \ OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are\ngenerated\
- \ for applications which want to consume your OAuth 2.0 or OpenID Connect\
- \ capabilities."
+ description: |-
+ Replaces an existing OAuth 2.0 Client with the payload you send. If you pass `client_secret` the secret is used,
+ otherwise the existing secret is used.
+
+ If set, the secret is echoed in the response. It is not possible to retrieve it later on.
+
+ OAuth 2.0 Clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are
+ generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.
operationId: setOAuth2Client
parameters:
- description: OAuth 2.0 Client ID
@@ -414,8 +429,11 @@ paths:
description: Lists all messages by given status and recipient.
operationId: listCourierMessages
parameters:
- - description: "Items per Page\n\nThis is the number of items per page to return.\n\
- For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination)."
+ - description: |-
+ Items per Page
+
+ This is the number of items per page to return.
+ For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
explode: true
in: query
name: page_size
@@ -427,8 +445,11 @@ paths:
minimum: 1
type: integer
style: form
- - description: "Next Page Token\n\nThe next page token.\nFor details on pagination\
- \ please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination)."
+ - description: |-
+ Next Page Token
+
+ The next page token.
+ For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
explode: true
in: query
name: page_token
@@ -436,8 +457,9 @@ paths:
schema:
type: string
style: form
- - description: "Status filters out messages based on status.\nIf no value is\
- \ provided, it doesn't take effect on filter."
+ - description: |-
+ Status filters out messages based on status.
+ If no value is provided, it doesn't take effect on filter.
explode: true
in: query
name: status
@@ -445,8 +467,9 @@ paths:
schema:
$ref: '#/components/schemas/courierMessageStatus'
style: form
- - description: "Recipient filters out messages based on recipient.\nIf no value\
- \ is provided, it doesn't take effect on filter."
+ - description: |-
+ Recipient filters out messages based on recipient.
+ If no value is provided, it doesn't take effect on filter.
explode: true
in: query
name: recipient
@@ -523,9 +546,12 @@ paths:
\ in the system."
operationId: listIdentities
parameters:
- - description: "Deprecated Items per Page\n\nDEPRECATED: Please use `page_token`\
- \ instead. This parameter will be removed in the future.\n\nThis is the\
- \ number of items per page."
+ - description: |-
+ Deprecated Items per Page
+
+ DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future.
+
+ This is the number of items per page.
explode: true
in: query
name: per_page
@@ -537,14 +563,17 @@ paths:
minimum: 1
type: integer
style: form
- - description: "Deprecated Pagination Page\n\nDEPRECATED: Please use `page_token`\
- \ instead. This parameter will be removed in the future.\n\nThis value is\
- \ currently an integer, but it is not sequential. The value is not the page\
- \ number, but a\nreference. The next page can be any number and some numbers\
- \ might return an empty list.\n\nFor example, page 2 might not follow after\
- \ page 1. And even if page 3 and 5 exist, but page 4 might not exist.\n\
- The first page can be retrieved by omitting this parameter. Following page\
- \ pointers will be returned in the\n`Link` header."
+ - description: |-
+ Deprecated Pagination Page
+
+ DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future.
+
+ This value is currently an integer, but it is not sequential. The value is not the page number, but a
+ reference. The next page can be any number and some numbers might return an empty list.
+
+ For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist.
+ The first page can be retrieved by omitting this parameter. Following page pointers will be returned in the
+ `Link` header.
explode: true
in: query
name: page
@@ -553,8 +582,11 @@ paths:
format: int64
type: integer
style: form
- - description: "Page Size\n\nThis is the number of items per page to return.\
- \ For details on pagination please head over to the\n[pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination)."
+ - description: |-
+ Page Size
+
+ This is the number of items per page to return. For details on pagination please head over to the
+ [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
explode: true
in: query
name: page_size
@@ -566,8 +598,11 @@ paths:
minimum: 1
type: integer
style: form
- - description: "Next Page Token\n\nThe next page token. For details on pagination\
- \ please head over to the\n[pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination)."
+ - description: |-
+ Next Page Token
+
+ The next page token. For details on pagination please head over to the
+ [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
explode: true
in: query
name: page_token
@@ -577,21 +612,26 @@ paths:
minimum: 1
type: string
style: form
- - description: "Read Consistency Level (preview)\n\nThe read consistency level\
- \ determines the consistency guarantee for reads:\n\nstrong (slow): The\
- \ read is guaranteed to return the most recent data committed at the start\
- \ of the read.\neventual (very fast): The result will return data that is\
- \ about 4.8 seconds old.\n\nThe default consistency guarantee can be changed\
- \ in the Ory Network Console or using the Ory CLI with\n`ory patch project\
- \ --replace '/previews/default_read_consistency_level=\"strong\"'`.\n\n\
- Setting the default consistency level to `eventual` may cause regressions\
- \ in the future as we add consistency\ncontrols to more APIs. Currently,\
- \ the following APIs will be affected by this setting:\n\n`GET /admin/identities`\n\
- \nThis feature is in preview and only available in Ory Network.\n ConsistencyLevelUnset\
- \ ConsistencyLevelUnset is the unset / default consistency level.\nstrong\
- \ ConsistencyLevelStrong ConsistencyLevelStrong is the strong consistency\
- \ level.\neventual ConsistencyLevelEventual ConsistencyLevelEventual is\
- \ the eventual consistency level using follower read timestamps."
+ - description: |-
+ Read Consistency Level (preview)
+
+ The read consistency level determines the consistency guarantee for reads:
+
+ strong (slow): The read is guaranteed to return the most recent data committed at the start of the read.
+ eventual (very fast): The result will return data that is about 4.8 seconds old.
+
+ The default consistency guarantee can be changed in the Ory Network Console or using the Ory CLI with
+ `ory patch project --replace '/previews/default_read_consistency_level="strong"'`.
+
+ Setting the default consistency level to `eventual` may cause regressions in the future as we add consistency
+ controls to more APIs. Currently, the following APIs will be affected by this setting:
+
+ `GET /admin/identities`
+
+ This feature is in preview and only available in Ory Network.
+ ConsistencyLevelUnset ConsistencyLevelUnset is the unset / default consistency level.
+ strong ConsistencyLevelStrong ConsistencyLevelStrong is the strong consistency level.
+ eventual ConsistencyLevelEventual ConsistencyLevelEventual is the eventual consistency level using follower read timestamps.
explode: true
in: query
name: consistency
@@ -607,9 +647,9 @@ paths:
ConsistencyLevelUnset ConsistencyLevelUnset is the unset / default consistency level.
strong ConsistencyLevelStrong ConsistencyLevelStrong is the strong consistency level.
eventual ConsistencyLevelEventual ConsistencyLevelEventual is the eventual consistency level using follower read timestamps.
- - description: "CredentialsIdentifier is the identifier (username, email) of\
- \ the credentials to look up using exact match.\nOnly one of CredentialsIdentifier\
- \ and CredentialsIdentifierSimilar can be used."
+ - description: |-
+ CredentialsIdentifier is the identifier (username, email) of the credentials to look up using exact match.
+ Only one of CredentialsIdentifier and CredentialsIdentifierSimilar can be used.
explode: true
in: query
name: credentials_identifier
@@ -617,12 +657,12 @@ paths:
schema:
type: string
style: form
- - description: "This is an EXPERIMENTAL parameter that WILL CHANGE. Do NOT rely\
- \ on consistent, deterministic behavior.\nTHIS PARAMETER WILL BE REMOVED\
- \ IN AN UPCOMING RELEASE WITHOUT ANY MIGRATION PATH.\n\nCredentialsIdentifierSimilar\
- \ is the (partial) identifier (username, email) of the credentials to look\
- \ up using similarity search.\nOnly one of CredentialsIdentifier and CredentialsIdentifierSimilar\
- \ can be used."
+ - description: |-
+ This is an EXPERIMENTAL parameter that WILL CHANGE. Do NOT rely on consistent, deterministic behavior.
+ THIS PARAMETER WILL BE REMOVED IN AN UPCOMING RELEASE WITHOUT ANY MIGRATION PATH.
+
+ CredentialsIdentifierSimilar is the (partial) identifier (username, email) of the credentials to look up using similarity search.
+ Only one of CredentialsIdentifier and CredentialsIdentifierSimilar can be used.
explode: true
in: query
name: preview_credentials_identifier_similar
@@ -651,9 +691,12 @@ paths:
tags:
- identity
patch:
- description: "Creates or delete multiple\n[identities](https://www.ory.sh/docs/kratos/concepts/identity-user-model).\n\
- This endpoint can also be used to [import\ncredentials](https://www.ory.sh/docs/kratos/manage-identities/import-user-accounts-identities)\n\
- for instance passwords, social sign in configurations or multifactor methods."
+ description: |-
+ Creates or delete multiple
+ [identities](https://www.ory.sh/docs/kratos/concepts/identity-user-model).
+ This endpoint can also be used to [import
+ credentials](https://www.ory.sh/docs/kratos/manage-identities/import-user-accounts-identities)
+ for instance passwords, social sign in configurations or multifactor methods.
operationId: batchPatchIdentities
requestBody:
content:
@@ -692,9 +735,10 @@ paths:
tags:
- identity
post:
- description: "Create an [identity](https://www.ory.sh/docs/kratos/concepts/identity-user-model).\
- \ This endpoint can also be used to\n[import credentials](https://www.ory.sh/docs/kratos/manage-identities/import-user-accounts-identities)\n\
- for instance passwords, social sign in configurations or multifactor methods."
+ description: |-
+ Create an [identity](https://www.ory.sh/docs/kratos/concepts/identity-user-model). This endpoint can also be used to
+ [import credentials](https://www.ory.sh/docs/kratos/manage-identities/import-user-accounts-identities)
+ for instance passwords, social sign in configurations or multifactor methods.
operationId: createIdentity
requestBody:
content:
@@ -734,11 +778,10 @@ paths:
- identity
/admin/identities/{id}:
delete:
- description: "Calling this endpoint irrecoverably and permanently deletes the\
- \ [identity](https://www.ory.sh/docs/kratos/concepts/identity-user-model)\
- \ given its ID. This action can not be undone.\nThis endpoint returns 204\
- \ when the identity was deleted or when the identity was not found, in which\
- \ case it is\nassumed that is has been deleted already."
+ description: |-
+ Calling this endpoint irrecoverably and permanently deletes the [identity](https://www.ory.sh/docs/kratos/concepts/identity-user-model) given its ID. This action can not be undone.
+ This endpoint returns 204 when the identity was deleted or when the identity was not found, in which case it is
+ assumed that is has been deleted already.
operationId: deleteIdentity
parameters:
- description: ID is the identity's ID.
@@ -751,8 +794,9 @@ paths:
style: simple
responses:
"204":
- description: "Empty responses are sent when, for example, resources are\
- \ deleted. The HTTP status code for empty responses is\ntypically 201."
+ description: |-
+ Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is
+ typically 201.
"404":
content:
application/json:
@@ -771,9 +815,9 @@ paths:
tags:
- identity
get:
- description: "Return an [identity](https://www.ory.sh/docs/kratos/concepts/identity-user-model)\
- \ by its ID. You can optionally\ninclude credentials (e.g. social sign in\
- \ connections) in the response by using the `include_credential` query parameter."
+ description: |-
+ Return an [identity](https://www.ory.sh/docs/kratos/concepts/identity-user-model) by its ID. You can optionally
+ include credentials (e.g. social sign in connections) in the response by using the `include_credential` query parameter.
operationId: getIdentity
parameters:
- description: ID must be set to the ID of identity you want to get
@@ -784,10 +828,11 @@ paths:
schema:
type: string
style: simple
- - description: "Include Credentials in Response\n\nInclude any credential, for\
- \ example `password` or `oidc`, in the response. When set to `oidc`, This\
- \ will return\nthe initial OAuth 2.0 Access Token, OAuth 2.0 Refresh Token\
- \ and the OpenID Connect ID Token if available."
+ - description: |-
+ Include Credentials in Response
+
+ Include any credential, for example `password` or `oidc`, in the response. When set to `oidc`, This will return
+ the initial OAuth 2.0 Access Token, OAuth 2.0 Refresh Token and the OpenID Connect ID Token if available.
explode: true
in: query
name: include_credential
@@ -829,9 +874,9 @@ paths:
tags:
- identity
patch:
- description: "Partially updates an [identity's](https://www.ory.sh/docs/kratos/concepts/identity-user-model)\
- \ field using [JSON Patch](https://jsonpatch.com/).\nThe fields `id`, `stateChangedAt`\
- \ and `credentials` can not be updated using this method."
+ description: |-
+ Partially updates an [identity's](https://www.ory.sh/docs/kratos/concepts/identity-user-model) field using [JSON Patch](https://jsonpatch.com/).
+ The fields `id`, `stateChangedAt` and `credentials` can not be updated using this method.
operationId: patchIdentity
parameters:
- description: ID must be set to the ID of identity you want to update
@@ -885,9 +930,9 @@ paths:
tags:
- identity
put:
- description: "This endpoint updates an [identity](https://www.ory.sh/docs/kratos/concepts/identity-user-model).\
- \ The full identity\npayload (except credentials) is expected. It is possible\
- \ to update the identity's credentials as well."
+ description: |-
+ This endpoint updates an [identity](https://www.ory.sh/docs/kratos/concepts/identity-user-model). The full identity
+ payload (except credentials) is expected. It is possible to update the identity's credentials as well.
operationId: updateIdentity
parameters:
- description: ID must be set to the ID of identity you want to update
@@ -942,8 +987,9 @@ paths:
- identity
/admin/identities/{id}/credentials/{type}:
delete:
- description: "Delete an [identity](https://www.ory.sh/docs/kratos/concepts/identity-user-model)\
- \ credential by its type\nYou can only delete second factor (aal2) credentials."
+ description: |-
+ Delete an [identity](https://www.ory.sh/docs/kratos/concepts/identity-user-model) credential by its type
+ You can only delete second factor (aal2) credentials.
operationId: deleteIdentityCredentials
parameters:
- description: ID is the identity's ID.
@@ -954,7 +1000,9 @@ paths:
schema:
type: string
style: simple
- - description: "Type is the credential's Type.\nOne of totp, webauthn, lookup"
+ - description: |-
+ Type is the credential's Type.
+ One of totp, webauthn, lookup
explode: false
in: path
name: type
@@ -968,8 +1016,9 @@ paths:
style: simple
responses:
"204":
- description: "Empty responses are sent when, for example, resources are\
- \ deleted. The HTTP status code for empty responses is\ntypically 201."
+ description: |-
+ Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is
+ typically 201.
"404":
content:
application/json:
@@ -1003,8 +1052,9 @@ paths:
style: simple
responses:
"204":
- description: "Empty responses are sent when, for example, resources are\
- \ deleted. The HTTP status code for empty responses is\ntypically 201."
+ description: |-
+ Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is
+ typically 201.
"400":
content:
application/json:
@@ -1038,9 +1088,12 @@ paths:
description: This endpoint returns all sessions that belong to the given Identity.
operationId: listIdentitySessions
parameters:
- - description: "Deprecated Items per Page\n\nDEPRECATED: Please use `page_token`\
- \ instead. This parameter will be removed in the future.\n\nThis is the\
- \ number of items per page."
+ - description: |-
+ Deprecated Items per Page
+
+ DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future.
+
+ This is the number of items per page.
explode: true
in: query
name: per_page
@@ -1052,14 +1105,17 @@ paths:
minimum: 1
type: integer
style: form
- - description: "Deprecated Pagination Page\n\nDEPRECATED: Please use `page_token`\
- \ instead. This parameter will be removed in the future.\n\nThis value is\
- \ currently an integer, but it is not sequential. The value is not the page\
- \ number, but a\nreference. The next page can be any number and some numbers\
- \ might return an empty list.\n\nFor example, page 2 might not follow after\
- \ page 1. And even if page 3 and 5 exist, but page 4 might not exist.\n\
- The first page can be retrieved by omitting this parameter. Following page\
- \ pointers will be returned in the\n`Link` header."
+ - description: |-
+ Deprecated Pagination Page
+
+ DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future.
+
+ This value is currently an integer, but it is not sequential. The value is not the page number, but a
+ reference. The next page can be any number and some numbers might return an empty list.
+
+ For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist.
+ The first page can be retrieved by omitting this parameter. Following page pointers will be returned in the
+ `Link` header.
explode: true
in: query
name: page
@@ -1068,8 +1124,11 @@ paths:
format: int64
type: integer
style: form
- - description: "Page Size\n\nThis is the number of items per page to return.\
- \ For details on pagination please head over to the\n[pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination)."
+ - description: |-
+ Page Size
+
+ This is the number of items per page to return. For details on pagination please head over to the
+ [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
explode: true
in: query
name: page_size
@@ -1081,8 +1140,11 @@ paths:
minimum: 1
type: integer
style: form
- - description: "Next Page Token\n\nThe next page token. For details on pagination\
- \ please head over to the\n[pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination)."
+ - description: |-
+ Next Page Token
+
+ The next page token. For details on pagination please head over to the
+ [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
explode: true
in: query
name: page_token
@@ -1143,13 +1205,10 @@ paths:
- identity
/admin/keys/{set}:
delete:
- description: "Use this endpoint to delete a complete JSON Web Key Set and all\
- \ the keys in that set.\n\nA JSON Web Key (JWK) is a JavaScript Object Notation\
- \ (JSON) data structure that represents a cryptographic key. A JWK Set is\
- \ a JSON data structure that represents a set of JWKs. A JSON Web Key is identified\
- \ by its set and key id. ORY Hydra uses this functionality to store cryptographic\
- \ keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens),\
- \ and allows storing user-defined keys as well."
+ description: |-
+ Use this endpoint to delete a complete JSON Web Key Set and all the keys in that set.
+
+ A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well.
operationId: deleteJsonWebKeySet
parameters:
- description: The JSON Web Key Set
@@ -1162,8 +1221,9 @@ paths:
style: simple
responses:
"204":
- description: "Empty responses are sent when, for example, resources are\
- \ deleted. The HTTP status code for empty responses is\ntypically 201."
+ description: |-
+ Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is
+ typically 201.
default:
content:
application/json:
@@ -1176,13 +1236,10 @@ paths:
tags:
- jwk
get:
- description: "This endpoint can be used to retrieve JWK Sets stored in ORY Hydra.\n\
- \nA JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure\
- \ that represents a cryptographic key. A JWK Set is a JSON data structure\
- \ that represents a set of JWKs. A JSON Web Key is identified by its set and\
- \ key id. ORY Hydra uses this functionality to store cryptographic keys used\
- \ for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows\
- \ storing user-defined keys as well."
+ description: |-
+ This endpoint can be used to retrieve JWK Sets stored in ORY Hydra.
+
+ A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well.
operationId: getJsonWebKeySet
parameters:
- description: JSON Web Key Set ID
@@ -1212,16 +1269,10 @@ paths:
tags:
- jwk
post:
- description: "This endpoint is capable of generating JSON Web Key Sets for you.\
- \ There a different strategies available, such as symmetric cryptographic\
- \ keys (HS256, HS512) and asymetric cryptographic keys (RS256, ECDSA). If\
- \ the specified JSON Web Key Set does not exist, it will be created.\n\nA\
- \ JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure\
- \ that represents a cryptographic key. A JWK Set is a JSON data structure\
- \ that represents a set of JWKs. A JSON Web Key is identified by its set and\
- \ key id. ORY Hydra uses this functionality to store cryptographic keys used\
- \ for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows\
- \ storing user-defined keys as well."
+ description: |-
+ This endpoint is capable of generating JSON Web Key Sets for you. There a different strategies available, such as symmetric cryptographic keys (HS256, HS512) and asymetric cryptographic keys (RS256, ECDSA). If the specified JSON Web Key Set does not exist, it will be created.
+
+ A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well.
operationId: createJsonWebKeySet
parameters:
- description: The JSON Web Key Set ID
@@ -1258,13 +1309,10 @@ paths:
tags:
- jwk
put:
- description: "Use this method if you do not want to let Hydra generate the JWKs\
- \ for you, but instead save your own.\n\nA JSON Web Key (JWK) is a JavaScript\
- \ Object Notation (JSON) data structure that represents a cryptographic key.\
- \ A JWK Set is a JSON data structure that represents a set of JWKs. A JSON\
- \ Web Key is identified by its set and key id. ORY Hydra uses this functionality\
- \ to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID\
- \ Connect ID tokens), and allows storing user-defined keys as well."
+ description: |-
+ Use this method if you do not want to let Hydra generate the JWKs for you, but instead save your own.
+
+ A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well.
operationId: setJsonWebKeySet
parameters:
- description: The JSON Web Key Set ID
@@ -1301,13 +1349,13 @@ paths:
- jwk
/admin/keys/{set}/{kid}:
delete:
- description: "Use this endpoint to delete a single JSON Web Key.\n\nA JSON Web\
- \ Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents\
- \ a cryptographic key. A\nJWK Set is a JSON data structure that represents\
- \ a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra\
- \ uses\nthis functionality to store cryptographic keys used for TLS and JSON\
- \ Web Tokens (such as OpenID Connect ID tokens),\nand allows storing user-defined\
- \ keys as well."
+ description: |-
+ Use this endpoint to delete a single JSON Web Key.
+
+ A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A
+ JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses
+ this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens),
+ and allows storing user-defined keys as well.
operationId: deleteJsonWebKey
parameters:
- description: The JSON Web Key Set
@@ -1328,8 +1376,9 @@ paths:
style: simple
responses:
"204":
- description: "Empty responses are sent when, for example, resources are\
- \ deleted. The HTTP status code for empty responses is\ntypically 201."
+ description: |-
+ Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is
+ typically 201.
default:
content:
application/json:
@@ -1381,13 +1430,10 @@ paths:
tags:
- jwk
put:
- description: "Use this method if you do not want to let Hydra generate the JWKs\
- \ for you, but instead save your own.\n\nA JSON Web Key (JWK) is a JavaScript\
- \ Object Notation (JSON) data structure that represents a cryptographic key.\
- \ A JWK Set is a JSON data structure that represents a set of JWKs. A JSON\
- \ Web Key is identified by its set and key id. ORY Hydra uses this functionality\
- \ to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID\
- \ Connect ID tokens), and allows storing user-defined keys as well."
+ description: |-
+ Use this method if you do not want to let Hydra generate the JWKs for you, but instead save your own.
+
+ A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well.
operationId: setJsonWebKey
parameters:
- description: The JSON Web Key Set ID
@@ -1432,17 +1478,17 @@ paths:
- jwk
/admin/oauth2/auth/requests/consent:
get:
- description: "When an authorization code, hybrid, or implicit OAuth 2.0 Flow\
- \ is initiated, Ory asks the login provider\nto authenticate the subject and\
- \ then tell Ory now about it. If the subject authenticated, he/she must now\
- \ be asked if\nthe OAuth 2.0 Client which initiated the flow should be allowed\
- \ to access the resources on the subject's behalf.\n\nThe consent challenge\
- \ is appended to the consent provider's URL to which the subject's user-agent\
- \ (browser) is redirected to. The consent\nprovider uses that challenge to\
- \ fetch information on the OAuth2 request and then tells Ory if the subject\
- \ accepted\nor rejected the request.\n\nThe default consent provider is available\
- \ via the Ory Managed Account Experience. To customize the consent provider,\
- \ please\nhead over to the OAuth 2.0 documentation."
+ description: |-
+ When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider
+ to authenticate the subject and then tell Ory now about it. If the subject authenticated, he/she must now be asked if
+ the OAuth 2.0 Client which initiated the flow should be allowed to access the resources on the subject's behalf.
+
+ The consent challenge is appended to the consent provider's URL to which the subject's user-agent (browser) is redirected to. The consent
+ provider uses that challenge to fetch information on the OAuth2 request and then tells Ory if the subject accepted
+ or rejected the request.
+
+ The default consent provider is available via the Ory Managed Account Experience. To customize the consent provider, please
+ head over to the OAuth 2.0 documentation.
operationId: getOAuth2ConsentRequest
parameters:
- description: OAuth 2.0 Consent Request Challenge
@@ -1479,22 +1525,23 @@ paths:
- oAuth2
/admin/oauth2/auth/requests/consent/accept:
put:
- description: "When an authorization code, hybrid, or implicit OAuth 2.0 Flow\
- \ is initiated, Ory asks the login provider\nto authenticate the subject and\
- \ then tell Ory now about it. If the subject authenticated, he/she must now\
- \ be asked if\nthe OAuth 2.0 Client which initiated the flow should be allowed\
- \ to access the resources on the subject's behalf.\n\nThe consent challenge\
- \ is appended to the consent provider's URL to which the subject's user-agent\
- \ (browser) is redirected to. The consent\nprovider uses that challenge to\
- \ fetch information on the OAuth2 request and then tells Ory if the subject\
- \ accepted\nor rejected the request.\n\nThis endpoint tells Ory that the subject\
- \ has authorized the OAuth 2.0 client to access resources on his/her behalf.\n\
- The consent provider includes additional information, such as session data\
- \ for access and ID tokens, and if the\nconsent request should be used as\
- \ basis for future requests.\n\nThe response contains a redirect URL which\
- \ the consent provider should redirect the user-agent to.\n\nThe default consent\
- \ provider is available via the Ory Managed Account Experience. To customize\
- \ the consent provider, please\nhead over to the OAuth 2.0 documentation."
+ description: |-
+ When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider
+ to authenticate the subject and then tell Ory now about it. If the subject authenticated, he/she must now be asked if
+ the OAuth 2.0 Client which initiated the flow should be allowed to access the resources on the subject's behalf.
+
+ The consent challenge is appended to the consent provider's URL to which the subject's user-agent (browser) is redirected to. The consent
+ provider uses that challenge to fetch information on the OAuth2 request and then tells Ory if the subject accepted
+ or rejected the request.
+
+ This endpoint tells Ory that the subject has authorized the OAuth 2.0 client to access resources on his/her behalf.
+ The consent provider includes additional information, such as session data for access and ID tokens, and if the
+ consent request should be used as basis for future requests.
+
+ The response contains a redirect URL which the consent provider should redirect the user-agent to.
+
+ The default consent provider is available via the Ory Managed Account Experience. To customize the consent provider, please
+ head over to the OAuth 2.0 documentation.
operationId: acceptOAuth2ConsentRequest
parameters:
- description: OAuth 2.0 Consent Request Challenge
@@ -1531,21 +1578,22 @@ paths:
- oAuth2
/admin/oauth2/auth/requests/consent/reject:
put:
- description: "When an authorization code, hybrid, or implicit OAuth 2.0 Flow\
- \ is initiated, Ory asks the login provider\nto authenticate the subject and\
- \ then tell Ory now about it. If the subject authenticated, he/she must now\
- \ be asked if\nthe OAuth 2.0 Client which initiated the flow should be allowed\
- \ to access the resources on the subject's behalf.\n\nThe consent challenge\
- \ is appended to the consent provider's URL to which the subject's user-agent\
- \ (browser) is redirected to. The consent\nprovider uses that challenge to\
- \ fetch information on the OAuth2 request and then tells Ory if the subject\
- \ accepted\nor rejected the request.\n\nThis endpoint tells Ory that the subject\
- \ has not authorized the OAuth 2.0 client to access resources on his/her behalf.\n\
- The consent provider must include a reason why the consent was not granted.\n\
- \nThe response contains a redirect URL which the consent provider should redirect\
- \ the user-agent to.\n\nThe default consent provider is available via the\
- \ Ory Managed Account Experience. To customize the consent provider, please\n\
- head over to the OAuth 2.0 documentation."
+ description: |-
+ When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider
+ to authenticate the subject and then tell Ory now about it. If the subject authenticated, he/she must now be asked if
+ the OAuth 2.0 Client which initiated the flow should be allowed to access the resources on the subject's behalf.
+
+ The consent challenge is appended to the consent provider's URL to which the subject's user-agent (browser) is redirected to. The consent
+ provider uses that challenge to fetch information on the OAuth2 request and then tells Ory if the subject accepted
+ or rejected the request.
+
+ This endpoint tells Ory that the subject has not authorized the OAuth 2.0 client to access resources on his/her behalf.
+ The consent provider must include a reason why the consent was not granted.
+
+ The response contains a redirect URL which the consent provider should redirect the user-agent to.
+
+ The default consent provider is available via the Ory Managed Account Experience. To customize the consent provider, please
+ head over to the OAuth 2.0 documentation.
operationId: rejectOAuth2ConsentRequest
parameters:
- description: OAuth 2.0 Consent Request Challenge
@@ -1582,17 +1630,16 @@ paths:
- oAuth2
/admin/oauth2/auth/requests/login:
get:
- description: "When an authorization code, hybrid, or implicit OAuth 2.0 Flow\
- \ is initiated, Ory asks the login provider\nto authenticate the subject and\
- \ then tell the Ory OAuth2 Service about it.\n\nPer default, the login provider\
- \ is Ory itself. You may use a different login provider which needs to be\
- \ a web-app\nyou write and host, and it must be able to authenticate (\"show\
- \ the subject a login screen\")\na subject (in OAuth2 the proper name for\
- \ subject is \"resource owner\").\n\nThe authentication challenge is appended\
- \ to the login provider URL to which the subject's user-agent (browser) is\
- \ redirected to. The login\nprovider uses that challenge to fetch information\
- \ on the OAuth2 request and then accept or reject the requested authentication\
- \ process."
+ description: |-
+ When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider
+ to authenticate the subject and then tell the Ory OAuth2 Service about it.
+
+ Per default, the login provider is Ory itself. You may use a different login provider which needs to be a web-app
+ you write and host, and it must be able to authenticate ("show the subject a login screen")
+ a subject (in OAuth2 the proper name for subject is "resource owner").
+
+ The authentication challenge is appended to the login provider URL to which the subject's user-agent (browser) is redirected to. The login
+ provider uses that challenge to fetch information on the OAuth2 request and then accept or reject the requested authentication process.
operationId: getOAuth2LoginRequest
parameters:
- description: OAuth 2.0 Login Request Challenge
@@ -1629,17 +1676,18 @@ paths:
- oAuth2
/admin/oauth2/auth/requests/login/accept:
put:
- description: "When an authorization code, hybrid, or implicit OAuth 2.0 Flow\
- \ is initiated, Ory asks the login provider\nto authenticate the subject and\
- \ then tell the Ory OAuth2 Service about it.\n\nThe authentication challenge\
- \ is appended to the login provider URL to which the subject's user-agent\
- \ (browser) is redirected to. The login\nprovider uses that challenge to fetch\
- \ information on the OAuth2 request and then accept or reject the requested\
- \ authentication process.\n\nThis endpoint tells Ory that the subject has\
- \ successfully authenticated and includes additional information such as\n\
- the subject's ID and if Ory should remember the subject's subject agent for\
- \ future authentication attempts by setting\na cookie.\n\nThe response contains\
- \ a redirect URL which the login provider should redirect the user-agent to."
+ description: |-
+ When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider
+ to authenticate the subject and then tell the Ory OAuth2 Service about it.
+
+ The authentication challenge is appended to the login provider URL to which the subject's user-agent (browser) is redirected to. The login
+ provider uses that challenge to fetch information on the OAuth2 request and then accept or reject the requested authentication process.
+
+ This endpoint tells Ory that the subject has successfully authenticated and includes additional information such as
+ the subject's ID and if Ory should remember the subject's subject agent for future authentication attempts by setting
+ a cookie.
+
+ The response contains a redirect URL which the login provider should redirect the user-agent to.
operationId: acceptOAuth2LoginRequest
parameters:
- description: OAuth 2.0 Login Request Challenge
@@ -1676,16 +1724,17 @@ paths:
- oAuth2
/admin/oauth2/auth/requests/login/reject:
put:
- description: "When an authorization code, hybrid, or implicit OAuth 2.0 Flow\
- \ is initiated, Ory asks the login provider\nto authenticate the subject and\
- \ then tell the Ory OAuth2 Service about it.\n\nThe authentication challenge\
- \ is appended to the login provider URL to which the subject's user-agent\
- \ (browser) is redirected to. The login\nprovider uses that challenge to fetch\
- \ information on the OAuth2 request and then accept or reject the requested\
- \ authentication process.\n\nThis endpoint tells Ory that the subject has\
- \ not authenticated and includes a reason why the authentication\nwas denied.\n\
- \nThe response contains a redirect URL which the login provider should redirect\
- \ the user-agent to."
+ description: |-
+ When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider
+ to authenticate the subject and then tell the Ory OAuth2 Service about it.
+
+ The authentication challenge is appended to the login provider URL to which the subject's user-agent (browser) is redirected to. The login
+ provider uses that challenge to fetch information on the OAuth2 request and then accept or reject the requested authentication process.
+
+ This endpoint tells Ory that the subject has not authenticated and includes a reason why the authentication
+ was denied.
+
+ The response contains a redirect URL which the login provider should redirect the user-agent to.
operationId: rejectOAuth2LoginRequest
parameters:
- description: OAuth 2.0 Login Request Challenge
@@ -1758,10 +1807,10 @@ paths:
- oAuth2
/admin/oauth2/auth/requests/logout/accept:
put:
- description: "When a user or an application requests Ory OAuth 2.0 to remove\
- \ the session state of a subject, this endpoint is used to confirm that logout\
- \ request.\n\nThe response contains a redirect URL which the consent provider\
- \ should redirect the user-agent to."
+ description: |-
+ When a user or an application requests Ory OAuth 2.0 to remove the session state of a subject, this endpoint is used to confirm that logout request.
+
+ The response contains a redirect URL which the consent provider should redirect the user-agent to.
operationId: acceptOAuth2LogoutRequest
parameters:
- description: OAuth 2.0 Logout Request Challenge
@@ -1792,10 +1841,11 @@ paths:
- oAuth2
/admin/oauth2/auth/requests/logout/reject:
put:
- description: "When a user or an application requests Ory OAuth 2.0 to remove\
- \ the session state of a subject, this endpoint is used to deny that logout\
- \ request.\nNo HTTP request body is required.\n\nThe response is empty as\
- \ the logout provider has to chose what action to perform next."
+ description: |-
+ When a user or an application requests Ory OAuth 2.0 to remove the session state of a subject, this endpoint is used to deny that logout request.
+ No HTTP request body is required.
+
+ The response is empty as the logout provider has to chose what action to perform next.
operationId: rejectOAuth2LogoutRequest
parameters:
- explode: true
@@ -1807,8 +1857,9 @@ paths:
style: form
responses:
"204":
- description: "Empty responses are sent when, for example, resources are\
- \ deleted. The HTTP status code for empty responses is\ntypically 201."
+ description: |-
+ Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is
+ typically 201.
default:
content:
application/json:
@@ -1838,8 +1889,10 @@ paths:
schema:
type: string
style: form
- - description: "OAuth 2.0 Client ID\n\nIf set, deletes only those consent sessions\
- \ that have been granted to the specified OAuth 2.0 Client ID."
+ - description: |-
+ OAuth 2.0 Client ID
+
+ If set, deletes only those consent sessions that have been granted to the specified OAuth 2.0 Client ID.
explode: true
in: query
name: client
@@ -1860,8 +1913,9 @@ paths:
style: form
responses:
"204":
- description: "Empty responses are sent when, for example, resources are\
- \ deleted. The HTTP status code for empty responses is\ntypically 201."
+ description: |-
+ Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is
+ typically 201.
default:
content:
application/json:
@@ -1874,14 +1928,17 @@ paths:
tags:
- oAuth2
get:
- description: "This endpoint lists all subject's granted consent sessions, including\
- \ client and granted scope.\nIf the subject is unknown or has not granted\
- \ any consent sessions yet, the endpoint returns an\nempty JSON array with\
- \ status code 200 OK."
+ description: |-
+ This endpoint lists all subject's granted consent sessions, including client and granted scope.
+ If the subject is unknown or has not granted any consent sessions yet, the endpoint returns an
+ empty JSON array with status code 200 OK.
operationId: listOAuth2ConsentSessions
parameters:
- - description: "Items per Page\n\nThis is the number of items per page to return.\n\
- For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination)."
+ - description: |-
+ Items per Page
+
+ This is the number of items per page to return.
+ For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
explode: true
in: query
name: page_size
@@ -1893,8 +1950,11 @@ paths:
minimum: 1
type: integer
style: form
- - description: "Next Page Token\n\nThe next page token.\nFor details on pagination\
- \ please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination)."
+ - description: |-
+ Next Page Token
+
+ The next page token.
+ For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
explode: true
in: query
name: page_token
@@ -1940,15 +2000,15 @@ paths:
- oAuth2
/admin/oauth2/auth/sessions/login:
delete:
- description: "This endpoint invalidates authentication sessions. After revoking\
- \ the authentication session(s), the subject\nhas to re-authenticate at the\
- \ Ory OAuth2 Provider. This endpoint does not invalidate any tokens.\n\nIf\
- \ you send the subject in a query param, all authentication sessions that\
- \ belong to that subject are revoked.\nNo OpennID Connect Front- or Back-channel\
- \ logout is performed in this case.\n\nAlternatively, you can send a SessionID\
- \ via `sid` query param, in which case, only the session that is connected\n\
- to that SessionID is revoked. OpenID Connect Back-channel logout is performed\
- \ in this case."
+ description: |-
+ This endpoint invalidates authentication sessions. After revoking the authentication session(s), the subject
+ has to re-authenticate at the Ory OAuth2 Provider. This endpoint does not invalidate any tokens.
+
+ If you send the subject in a query param, all authentication sessions that belong to that subject are revoked.
+ No OpennID Connect Front- or Back-channel logout is performed in this case.
+
+ Alternatively, you can send a SessionID via `sid` query param, in which case, only the session that is connected
+ to that SessionID is revoked. OpenID Connect Back-channel logout is performed in this case.
operationId: revokeOAuth2LoginSessions
parameters:
- description: |-
@@ -1975,8 +2035,9 @@ paths:
style: form
responses:
"204":
- description: "Empty responses are sent when, for example, resources are\
- \ deleted. The HTTP status code for empty responses is\ntypically 201."
+ description: |-
+ Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is
+ typically 201.
default:
content:
application/json:
@@ -1990,11 +2051,10 @@ paths:
- oAuth2
/admin/oauth2/introspect:
post:
- description: "The introspection endpoint allows to check if a token (both refresh\
- \ and access) is active or not. An active token\nis neither expired nor revoked.\
- \ If a token is active, additional information on the token will be included.\
- \ You can\nset additional data for a token by setting `session.access_token`\
- \ during the consent flow."
+ description: |-
+ The introspection endpoint allows to check if a token (both refresh and access) is active or not. An active token
+ is neither expired nor revoked. If a token is active, additional information on the token will be included. You can
+ set additional data for a token by setting `session.access_token` during the consent flow.
operationId: introspectOAuth2Token
requestBody:
content:
@@ -2035,8 +2095,9 @@ paths:
style: form
responses:
"204":
- description: "Empty responses are sent when, for example, resources are\
- \ deleted. The HTTP status code for empty responses is\ntypically 201."
+ description: |-
+ Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is
+ typically 201.
default:
content:
application/json:
@@ -2195,8 +2256,9 @@ paths:
style: form
responses:
"204":
- description: "Empty responses are sent when, for example, resources are\
- \ deleted. The HTTP status code for empty responses is\ntypically 201."
+ description: |-
+ Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is
+ typically 201.
"400":
content:
application/json:
@@ -2227,8 +2289,9 @@ paths:
x-originalParamName: Body
responses:
"204":
- description: "Empty responses are sent when, for example, resources are\
- \ deleted. The HTTP status code for empty responses is\ntypically 201."
+ description: |-
+ Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is
+ typically 201.
"400":
content:
application/json:
@@ -2290,8 +2353,11 @@ paths:
description: Listing all sessions that exist.
operationId: listSessions
parameters:
- - description: "Items per Page\n\nThis is the number of items per page to return.\n\
- For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination)."
+ - description: |-
+ Items per Page
+
+ This is the number of items per page to return.
+ For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
explode: true
in: query
name: page_size
@@ -2303,8 +2369,11 @@ paths:
minimum: 1
type: integer
style: form
- - description: "Next Page Token\n\nThe next page token.\nFor details on pagination\
- \ please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination)."
+ - description: |-
+ Next Page Token
+
+ The next page token.
+ For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
explode: true
in: query
name: page_token
@@ -2321,9 +2390,9 @@ paths:
schema:
type: boolean
style: form
- - description: "ExpandOptions is a query parameter encoded list of all properties\
- \ that must be expanded in the Session.\nIf no value is provided, the expandable\
- \ properties are skipped."
+ - description: |-
+ ExpandOptions is a query parameter encoded list of all properties that must be expanded in the Session.
+ If no value is provided, the expandable properties are skipped.
explode: true
in: query
name: expand
@@ -2381,8 +2450,9 @@ paths:
style: simple
responses:
"204":
- description: "Empty responses are sent when, for example, resources are\
- \ deleted. The HTTP status code for empty responses is\ntypically 201."
+ description: |-
+ Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is
+ typically 201.
"400":
content:
application/json:
@@ -2413,9 +2483,10 @@ paths:
Getting a session object with all specified expandables that exist in an administrative context.
operationId: getSession
parameters:
- - description: "ExpandOptions is a query parameter encoded list of all properties\
- \ that must be expanded in the Session.\nExample - ?expand=Identity&expand=Devices\n\
- If no value is provided, the expandable properties are skipped."
+ - description: |-
+ ExpandOptions is a query parameter encoded list of all properties that must be expanded in the Session.
+ Example - ?expand=Identity&expand=Devices
+ If no value is provided, the expandable properties are skipped.
explode: true
in: query
name: expand
@@ -2556,9 +2627,10 @@ paths:
tags:
- oAuth2
post:
- description: "Use this endpoint to establish a trust relationship for a JWT\
- \ issuer\nto perform JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication\n\
- and Authorization Grants [RFC7523](https://datatracker.ietf.org/doc/html/rfc7523)."
+ description: |-
+ Use this endpoint to establish a trust relationship for a JWT issuer
+ to perform JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication
+ and Authorization Grants [RFC7523](https://datatracker.ietf.org/doc/html/rfc7523).
operationId: trustOAuth2JwtGrantIssuer
requestBody:
content:
@@ -2586,11 +2658,12 @@ paths:
- oAuth2
/admin/trust/grants/jwt-bearer/issuers/{id}:
delete:
- description: "Use this endpoint to delete trusted JWT Bearer Grant Type Issuer.\
- \ The ID is the one returned when you\ncreated the trust relationship.\n\n\
- Once deleted, the associated issuer will no longer be able to perform the\
- \ JSON Web Token (JWT) Profile\nfor OAuth 2.0 Client Authentication and Authorization\
- \ Grant."
+ description: |-
+ Use this endpoint to delete trusted JWT Bearer Grant Type Issuer. The ID is the one returned when you
+ created the trust relationship.
+
+ Once deleted, the associated issuer will no longer be able to perform the JSON Web Token (JWT) Profile
+ for OAuth 2.0 Client Authentication and Authorization Grant.
operationId: deleteTrustedOAuth2JwtGrantIssuer
parameters:
- description: The id of the desired grant
@@ -2603,8 +2676,9 @@ paths:
style: simple
responses:
"204":
- description: "Empty responses are sent when, for example, resources are\
- \ deleted. The HTTP status code for empty responses is\ntypically 201."
+ description: |-
+ Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is
+ typically 201.
default:
content:
application/json:
@@ -2689,8 +2763,9 @@ paths:
x-originalParamName: Body
responses:
"204":
- description: "Empty responses are sent when, for example, resources are\
- \ deleted. The HTTP status code for empty responses is\ntypically 201."
+ description: |-
+ Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is
+ typically 201.
"401":
content:
application/json:
@@ -2748,13 +2823,15 @@ paths:
- oidc
/health/alive:
get:
- description: "This endpoint returns a HTTP 200 status code when Ory Kratos is\
- \ accepting incoming\nHTTP requests. This status does currently not include\
- \ checks whether the database connection is working.\n\nIf the service supports\
- \ TLS Edge Termination, this endpoint does not require the\n`X-Forwarded-Proto`\
- \ header to be set.\n\nBe aware that if you are running multiple nodes of\
- \ this service, the health status will never\nrefer to the cluster state,\
- \ only to a single instance."
+ description: |-
+ This endpoint returns a HTTP 200 status code when Ory Kratos is accepting incoming
+ HTTP requests. This status does currently not include checks whether the database connection is working.
+
+ If the service supports TLS Edge Termination, this endpoint does not require the
+ `X-Forwarded-Proto` header to be set.
+
+ Be aware that if you are running multiple nodes of this service, the health status will never
+ refer to the cluster state, only to a single instance.
operationId: isAlive
responses:
"200":
@@ -2782,12 +2859,15 @@ paths:
- metadata
/health/ready:
get:
- description: "This endpoint returns a HTTP 200 status code when Ory Kratos is\
- \ up running and the environment dependencies (e.g.\nthe database) are responsive\
- \ as well.\n\nIf the service supports TLS Edge Termination, this endpoint\
- \ does not require the\n`X-Forwarded-Proto` header to be set.\n\nBe aware\
- \ that if you are running multiple nodes of Ory Kratos, the health status\
- \ will never\nrefer to the cluster state, only to a single instance."
+ description: |-
+ This endpoint returns a HTTP 200 status code when Ory Kratos is up running and the environment dependencies (e.g.
+ the database) are responsive as well.
+
+ If the service supports TLS Edge Termination, this endpoint does not require the
+ `X-Forwarded-Proto` header to be set.
+
+ Be aware that if you are running multiple nodes of Ory Kratos, the health status will never
+ refer to the cluster state, only to a single instance.
operationId: isReady
responses:
"200":
@@ -2845,8 +2925,9 @@ paths:
operationId: oAuth2Authorize
responses:
"302":
- description: "Empty responses are sent when, for example, resources are\
- \ deleted. The HTTP status code for empty responses is\ntypically 201."
+ description: |-
+ Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is
+ typically 201.
default:
content:
application/json:
@@ -2903,18 +2984,18 @@ paths:
- oidc
/oauth2/register/{id}:
delete:
- description: "This endpoint behaves like the administrative counterpart (`deleteOAuth2Client`)\
- \ but is capable of facing the\npublic internet directly and can be used in\
- \ self-service. It implements the OpenID Connect\nDynamic Client Registration\
- \ Protocol. This feature needs to be enabled in the configuration. This endpoint\n\
- is disabled by default. It can be enabled by an administrator.\n\nTo use this\
- \ endpoint, you will need to present the client's authentication credentials.\
- \ If the OAuth2 Client\nuses the Token Endpoint Authentication Method `client_secret_post`,\
- \ you need to present the client secret in the URL query.\nIf it uses `client_secret_basic`,\
- \ present the Client ID and the Client Secret in the Authorization header.\n\
- \nOAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows.\
- \ Usually, OAuth 2.0 clients are\ngenerated for applications which want to\
- \ consume your OAuth 2.0 or OpenID Connect capabilities."
+ description: |-
+ This endpoint behaves like the administrative counterpart (`deleteOAuth2Client`) but is capable of facing the
+ public internet directly and can be used in self-service. It implements the OpenID Connect
+ Dynamic Client Registration Protocol. This feature needs to be enabled in the configuration. This endpoint
+ is disabled by default. It can be enabled by an administrator.
+
+ To use this endpoint, you will need to present the client's authentication credentials. If the OAuth2 Client
+ uses the Token Endpoint Authentication Method `client_secret_post`, you need to present the client secret in the URL query.
+ If it uses `client_secret_basic`, present the Client ID and the Client Secret in the Authorization header.
+
+ OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are
+ generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.
operationId: deleteOidcDynamicClient
parameters:
- description: The id of the OAuth 2.0 Client.
@@ -2927,8 +3008,9 @@ paths:
style: simple
responses:
"204":
- description: "Empty responses are sent when, for example, resources are\
- \ deleted. The HTTP status code for empty responses is\ntypically 201."
+ description: |-
+ Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is
+ typically 201.
default:
content:
application/json:
@@ -2942,14 +3024,14 @@ paths:
tags:
- oidc
get:
- description: "This endpoint behaves like the administrative counterpart (`getOAuth2Client`)\
- \ but is capable of facing the\npublic internet directly and can be used in\
- \ self-service. It implements the OpenID Connect\nDynamic Client Registration\
- \ Protocol.\n\nTo use this endpoint, you will need to present the client's\
- \ authentication credentials. If the OAuth2 Client\nuses the Token Endpoint\
- \ Authentication Method `client_secret_post`, you need to present the client\
- \ secret in the URL query.\nIf it uses `client_secret_basic`, present the\
- \ Client ID and the Client Secret in the Authorization header."
+ description: |-
+ This endpoint behaves like the administrative counterpart (`getOAuth2Client`) but is capable of facing the
+ public internet directly and can be used in self-service. It implements the OpenID Connect
+ Dynamic Client Registration Protocol.
+
+ To use this endpoint, you will need to present the client's authentication credentials. If the OAuth2 Client
+ uses the Token Endpoint Authentication Method `client_secret_post`, you need to present the client secret in the URL query.
+ If it uses `client_secret_basic`, present the Client ID and the Client Secret in the Authorization header.
operationId: getOidcDynamicClient
parameters:
- description: The id of the OAuth 2.0 Client.
@@ -2979,20 +3061,22 @@ paths:
tags:
- oidc
put:
- description: "This endpoint behaves like the administrative counterpart (`setOAuth2Client`)\
- \ but is capable of facing the\npublic internet directly to be used by third\
- \ parties. It implements the OpenID Connect\nDynamic Client Registration Protocol.\n\
- \nThis feature is disabled per default. It can be enabled by a system administrator.\n\
- \nIf you pass `client_secret` the secret is used, otherwise the existing secret\
- \ is used. If set, the secret is echoed in the response.\nIt is not possible\
- \ to retrieve it later on.\n\nTo use this endpoint, you will need to present\
- \ the client's authentication credentials. If the OAuth2 Client\nuses the\
- \ Token Endpoint Authentication Method `client_secret_post`, you need to present\
- \ the client secret in the URL query.\nIf it uses `client_secret_basic`, present\
- \ the Client ID and the Client Secret in the Authorization header.\n\nOAuth\
- \ 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually,\
- \ OAuth 2.0 clients are\ngenerated for applications which want to consume\
- \ your OAuth 2.0 or OpenID Connect capabilities."
+ description: |-
+ This endpoint behaves like the administrative counterpart (`setOAuth2Client`) but is capable of facing the
+ public internet directly to be used by third parties. It implements the OpenID Connect
+ Dynamic Client Registration Protocol.
+
+ This feature is disabled per default. It can be enabled by a system administrator.
+
+ If you pass `client_secret` the secret is used, otherwise the existing secret is used. If set, the secret is echoed in the response.
+ It is not possible to retrieve it later on.
+
+ To use this endpoint, you will need to present the client's authentication credentials. If the OAuth2 Client
+ uses the Token Endpoint Authentication Method `client_secret_post`, you need to present the client secret in the URL query.
+ If it uses `client_secret_basic`, present the Client ID and the Client Secret in the Authorization header.
+
+ OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are
+ generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.
operationId: setOidcDynamicClient
parameters:
- description: OAuth 2.0 Client ID
@@ -3037,12 +3121,11 @@ paths:
- oidc
/oauth2/revoke:
post:
- description: "Revoking a token (both access and refresh) means that the tokens\
- \ will be invalid. A revoked access token can no\nlonger be used to make access\
- \ requests, and a revoked refresh token can no longer be used to refresh an\
- \ access token.\nRevoking a refresh token also invalidates the access token\
- \ that was created with it. A token may only be revoked by\nthe client the\
- \ token was generated for."
+ description: |-
+ Revoking a token (both access and refresh) means that the tokens will be invalid. A revoked access token can no
+ longer be used to make access requests, and a revoked refresh token can no longer be used to refresh an access token.
+ Revoking a refresh token also invalidates the access token that was created with it. A token may only be revoked by
+ the client the token was generated for.
operationId: revokeOAuth2Token
requestBody:
content:
@@ -3051,8 +3134,9 @@ paths:
$ref: '#/components/schemas/revokeOAuth2Token_request'
responses:
"200":
- description: "Empty responses are sent when, for example, resources are\
- \ deleted. The HTTP status code for empty responses is\ntypically 201."
+ description: |-
+ Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is
+ typically 201.
default:
content:
application/json:
@@ -3077,8 +3161,9 @@ paths:
operationId: revokeOidcSession
responses:
"302":
- description: "Empty responses are sent when, for example, resources are\
- \ deleted. The HTTP status code for empty responses is\ntypically 201."
+ description: |-
+ Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is
+ typically 201.
summary: OpenID Connect Front- and Back-channel Enabled Logout
tags:
- oidc
@@ -3257,8 +3342,9 @@ paths:
style: simple
responses:
"204":
- description: "Empty responses are sent when, for example, resources are\
- \ deleted. The HTTP status code for empty responses is\ntypically 201."
+ description: |-
+ Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is
+ typically 201.
"401":
content:
application/json:
@@ -3340,21 +3426,24 @@ paths:
tags:
- project
patch:
- description: "Deprecated: Use the `patchProjectWithRevision` endpoint instead\
- \ to specify the exact revision the patch was generated for.\n\nThis endpoints\
- \ allows you to patch individual Ory Network project configuration keys for\n\
- Ory's services (identity, permission, ...). The configuration format is fully\
- \ compatible\nwith the open source projects for the respective services (e.g.\
- \ Ory Kratos for Identity, Ory Keto for Permissions).\n\nThis endpoint expects\
- \ the `version` key to be set in the payload. If it is unset, it\nwill try\
- \ to import the config as if it is from the most recent version.\n\nIf you\
- \ have an older version of a configuration, you should set the version key\
- \ in the payload!\n\nWhile this endpoint is able to process all configuration\
- \ items related to features (e.g. password reset),\nit does not support operational\
- \ configuration items (e.g. port, tracing, logging) otherwise available in\
- \ the\nopen source.\n\nFor configuration items that can not be translated\
- \ to the Ory Network, this endpoint will return a list of warnings\nto help\
- \ you understand which parts of your config could not be processed."
+ description: |-
+ Deprecated: Use the `patchProjectWithRevision` endpoint instead to specify the exact revision the patch was generated for.
+
+ This endpoints allows you to patch individual Ory Network project configuration keys for
+ Ory's services (identity, permission, ...). The configuration format is fully compatible
+ with the open source projects for the respective services (e.g. Ory Kratos for Identity, Ory Keto for Permissions).
+
+ This endpoint expects the `version` key to be set in the payload. If it is unset, it
+ will try to import the config as if it is from the most recent version.
+
+ If you have an older version of a configuration, you should set the version key in the payload!
+
+ While this endpoint is able to process all configuration items related to features (e.g. password reset),
+ it does not support operational configuration items (e.g. port, tracing, logging) otherwise available in the
+ open source.
+
+ For configuration items that can not be translated to the Ory Network, this endpoint will return a list of warnings
+ to help you understand which parts of your config could not be processed.
operationId: patchProject
parameters:
- description: |-
@@ -3419,21 +3508,25 @@ paths:
tags:
- project
put:
- description: "This endpoints allows you to update the Ory Network project configuration\
- \ for\nindividual services (identity, permission, ...). The configuration\
- \ is fully compatible\nwith the open source projects for the respective services\
- \ (e.g. Ory Kratos for Identity, Ory Keto for Permissions).\n\nThis endpoint\
- \ expects the `version` key to be set in the payload. If it is unset, it\n\
- will try to import the config as if it is from the most recent version.\n\n\
- If you have an older version of a configuration, you should set the version\
- \ key in the payload!\n\nWhile this endpoint is able to process all configuration\
- \ items related to features (e.g. password reset),\nit does not support operational\
- \ configuration items (e.g. port, tracing, logging) otherwise available in\
- \ the\nopen source.\n\nFor configuration items that can not be translated\
- \ to the Ory Network, this endpoint will return a list of warnings\nto help\
- \ you understand which parts of your config could not be processed.\n\nBe\
- \ aware that updating any service's configuration will completely override\
- \ your current configuration for that\nservice!"
+ description: |-
+ This endpoints allows you to update the Ory Network project configuration for
+ individual services (identity, permission, ...). The configuration is fully compatible
+ with the open source projects for the respective services (e.g. Ory Kratos for Identity, Ory Keto for Permissions).
+
+ This endpoint expects the `version` key to be set in the payload. If it is unset, it
+ will try to import the config as if it is from the most recent version.
+
+ If you have an older version of a configuration, you should set the version key in the payload!
+
+ While this endpoint is able to process all configuration items related to features (e.g. password reset),
+ it does not support operational configuration items (e.g. port, tracing, logging) otherwise available in the
+ open source.
+
+ For configuration items that can not be translated to the Ory Network, this endpoint will return a list of warnings
+ to help you understand which parts of your config could not be processed.
+
+ Be aware that updating any service's configuration will completely override your current configuration for that
+ service!
operationId: setProject
parameters:
- description: |-
@@ -3704,8 +3797,9 @@ paths:
style: simple
responses:
"204":
- description: "Empty responses are sent when, for example, resources are\
- \ deleted. The HTTP status code for empty responses is\ntypically 201."
+ description: |-
+ Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is
+ typically 201.
"400":
content:
application/json:
@@ -3935,8 +4029,9 @@ paths:
style: simple
responses:
"204":
- description: "Empty responses are sent when, for example, resources are\
- \ deleted. The HTTP status code for empty responses is\ntypically 201."
+ description: |-
+ Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is
+ typically 201.
"401":
content:
application/json:
@@ -4050,8 +4145,9 @@ paths:
style: simple
responses:
"204":
- description: "Empty responses are sent when, for example, resources are\
- \ deleted. The HTTP status code for empty responses is\ntypically 201."
+ description: |-
+ Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is
+ typically 201.
default:
content:
application/json:
@@ -4523,9 +4619,12 @@ paths:
description: Returns a list of all identity schemas currently in use.
operationId: listIdentitySchemas
parameters:
- - description: "Deprecated Items per Page\n\nDEPRECATED: Please use `page_token`\
- \ instead. This parameter will be removed in the future.\n\nThis is the\
- \ number of items per page."
+ - description: |-
+ Deprecated Items per Page
+
+ DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future.
+
+ This is the number of items per page.
explode: true
in: query
name: per_page
@@ -4537,14 +4636,17 @@ paths:
minimum: 1
type: integer
style: form
- - description: "Deprecated Pagination Page\n\nDEPRECATED: Please use `page_token`\
- \ instead. This parameter will be removed in the future.\n\nThis value is\
- \ currently an integer, but it is not sequential. The value is not the page\
- \ number, but a\nreference. The next page can be any number and some numbers\
- \ might return an empty list.\n\nFor example, page 2 might not follow after\
- \ page 1. And even if page 3 and 5 exist, but page 4 might not exist.\n\
- The first page can be retrieved by omitting this parameter. Following page\
- \ pointers will be returned in the\n`Link` header."
+ - description: |-
+ Deprecated Pagination Page
+
+ DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future.
+
+ This value is currently an integer, but it is not sequential. The value is not the page number, but a
+ reference. The next page can be any number and some numbers might return an empty list.
+
+ For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist.
+ The first page can be retrieved by omitting this parameter. Following page pointers will be returned in the
+ `Link` header.
explode: true
in: query
name: page
@@ -4553,8 +4655,11 @@ paths:
format: int64
type: integer
style: form
- - description: "Page Size\n\nThis is the number of items per page to return.\
- \ For details on pagination please head over to the\n[pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination)."
+ - description: |-
+ Page Size
+
+ This is the number of items per page to return. For details on pagination please head over to the
+ [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
explode: true
in: query
name: page_size
@@ -4566,8 +4671,11 @@ paths:
minimum: 1
type: integer
style: form
- - description: "Next Page Token\n\nThe next page token. For details on pagination\
- \ please head over to the\n[pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination)."
+ - description: |-
+ Next Page Token
+
+ The next page token. For details on pagination please head over to the
+ [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
explode: true
in: query
name: page_token
@@ -4630,11 +4738,14 @@ paths:
- identity
/self-service/errors:
get:
- description: "This endpoint returns the error associated with a user-facing\
- \ self service errors.\n\nThis endpoint supports stub values to help you implement\
- \ the error UI:\n\n`?id=stub:500` - returns a stub 500 (Internal Server Error)\
- \ error.\n\nMore information can be found at [Ory Kratos User User Facing\
- \ Error Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-facing-errors)."
+ description: |-
+ This endpoint returns the error associated with a user-facing self service errors.
+
+ This endpoint supports stub values to help you implement the error UI:
+
+ `?id=stub:500` - returns a stub 500 (Internal Server Error) error.
+
+ More information can be found at [Ory Kratos User User Facing Error Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-facing-errors).
operationId: getFlowError
parameters:
- description: Error is the error's ID
@@ -4675,32 +4786,34 @@ paths:
- frontend
/self-service/login:
post:
- description: "Use this endpoint to complete a login flow. This endpoint\nbehaves\
- \ differently for API and browser flows.\n\nAPI flows expect `application/json`\
- \ to be sent in the body and responds with\nHTTP 200 and a application/json\
- \ body with the session token on success;\nHTTP 410 if the original flow expired\
- \ with the appropriate error messages set and optionally a `use_flow_id` parameter\
- \ in the body;\nHTTP 400 on form validation errors.\n\nBrowser flows expect\
- \ a Content-Type of `application/x-www-form-urlencoded` or `application/json`\
- \ to be sent in the body and respond with\na HTTP 303 redirect to the post/after\
- \ login URL or the `return_to` value if it was set and if the login succeeded;\n\
- a HTTP 303 redirect to the login UI URL with the flow ID containing the validation\
- \ errors otherwise.\n\nBrowser flows with an accept header of `application/json`\
- \ will not redirect but instead respond with\nHTTP 200 and a application/json\
- \ body with the signed in identity and a `Set-Cookie` header on success;\n\
- HTTP 303 redirect to a fresh login flow if the original flow expired with\
- \ the appropriate error messages set;\nHTTP 400 on form validation errors.\n\
- \nIf this endpoint is called with `Accept: application/json` in the header,\
- \ the response contains the flow without a redirect. In the\ncase of an error,\
- \ the `error.id` of the JSON response body can be one of:\n\n`session_already_available`:\
- \ The user is already signed in.\n`security_csrf_violation`: Unable to fetch\
- \ the flow because a CSRF violation occurred.\n`security_identity_mismatch`:\
- \ The requested `?return_to` address is not allowed to be used. Adjust this\
- \ in the configuration!\n`browser_location_change_required`: Usually sent\
- \ when an AJAX request indicates that the browser needs to open a specific\
- \ URL.\nMost likely used in Social Sign In flows.\n\nMore information can\
- \ be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login)\
- \ and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration)."
+ description: |-
+ Use this endpoint to complete a login flow. This endpoint
+ behaves differently for API and browser flows.
+
+ API flows expect `application/json` to be sent in the body and responds with
+ HTTP 200 and a application/json body with the session token on success;
+ HTTP 410 if the original flow expired with the appropriate error messages set and optionally a `use_flow_id` parameter in the body;
+ HTTP 400 on form validation errors.
+
+ Browser flows expect a Content-Type of `application/x-www-form-urlencoded` or `application/json` to be sent in the body and respond with
+ a HTTP 303 redirect to the post/after login URL or the `return_to` value if it was set and if the login succeeded;
+ a HTTP 303 redirect to the login UI URL with the flow ID containing the validation errors otherwise.
+
+ Browser flows with an accept header of `application/json` will not redirect but instead respond with
+ HTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success;
+ HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set;
+ HTTP 400 on form validation errors.
+
+ If this endpoint is called with `Accept: application/json` in the header, the response contains the flow without a redirect. In the
+ case of an error, the `error.id` of the JSON response body can be one of:
+
+ `session_already_available`: The user is already signed in.
+ `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred.
+ `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration!
+ `browser_location_change_required`: Usually sent when an AJAX request indicates that the browser needs to open a specific URL.
+ Most likely used in Social Sign In flows.
+
+ More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
operationId: updateLoginFlow
parameters:
- description: |-
@@ -4723,9 +4836,11 @@ paths:
schema:
type: string
style: simple
- - description: "HTTP Cookies\n\nWhen using the SDK in a browser app, on the\
- \ server side you must include the HTTP Cookie Header\nsent by the client\
- \ to your server here. This ensures that CSRF and session cookies are respected."
+ - description: |-
+ HTTP Cookies
+
+ When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header
+ sent by the client to your server here. This ensures that CSRF and session cookies are respected.
explode: false
in: header
name: Cookie
@@ -4751,8 +4866,9 @@ paths:
$ref: '#/components/schemas/successfulNativeLogin'
description: successfulNativeLogin
"303":
- description: "Empty responses are sent when, for example, resources are\
- \ deleted. The HTTP status code for empty responses is\ntypically 201."
+ description: |-
+ Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is
+ typically 201.
"400":
content:
application/json:
@@ -4782,28 +4898,35 @@ paths:
- frontend
/self-service/login/api:
get:
- description: "This endpoint initiates a login flow for native apps that do not\
- \ use a browser, such as mobile devices, smart TVs, and so on.\n\nIf a valid\
- \ provided session cookie or session token is provided, a 400 Bad Request\
- \ error\nwill be returned unless the URL query parameter `?refresh=true` is\
- \ set.\n\nTo fetch an existing login flow call `/self-service/login/flows?flow=`.\n\
- \nYou MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS,\
- \ AngularJS) nor server-side (Java Server\nPages, NodeJS, PHP, Golang, ...)\
- \ browser applications. Using this endpoint in these applications will make\n\
- you vulnerable to a variety of CSRF attacks, including CSRF login attacks.\n\
- \nIn the case of an error, the `error.id` of the JSON response body can be\
- \ one of:\n\n`session_already_available`: The user is already signed in.\n\
- `session_aal1_required`: Multi-factor auth (e.g. 2fa) was requested but the\
- \ user has no session yet.\n`security_csrf_violation`: Unable to fetch the\
- \ flow because a CSRF violation occurred.\n\nThis endpoint MUST ONLY be used\
- \ in scenarios such as native mobile apps (React Native, Objective C, Swift,\
- \ Java, ...).\n\nMore information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login)\
- \ and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration)."
+ description: |-
+ This endpoint initiates a login flow for native apps that do not use a browser, such as mobile devices, smart TVs, and so on.
+
+ If a valid provided session cookie or session token is provided, a 400 Bad Request error
+ will be returned unless the URL query parameter `?refresh=true` is set.
+
+ To fetch an existing login flow call `/self-service/login/flows?flow=`.
+
+ You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server
+ Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make
+ you vulnerable to a variety of CSRF attacks, including CSRF login attacks.
+
+ In the case of an error, the `error.id` of the JSON response body can be one of:
+
+ `session_already_available`: The user is already signed in.
+ `session_aal1_required`: Multi-factor auth (e.g. 2fa) was requested but the user has no session yet.
+ `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred.
+
+ This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...).
+
+ More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
operationId: createNativeLoginFlow
parameters:
- - description: "Refresh a login session\n\nIf set to true, this will refresh\
- \ an existing login session by\nasking the user to sign in again. This will\
- \ reset the\nauthenticated_at time of the session."
+ - description: |-
+ Refresh a login session
+
+ If set to true, this will refresh an existing login session by
+ asking the user to sign in again. This will reset the
+ authenticated_at time of the session.
explode: true
in: query
name: refresh
@@ -4811,12 +4934,13 @@ paths:
schema:
type: boolean
style: form
- - description: "Request a Specific AuthenticationMethod Assurance Level\n\n\
- Use this parameter to upgrade an existing session's authenticator assurance\
- \ level (AAL). This\nallows you to ask for multi-factor authentication.\
- \ When an identity sign in using e.g. username+password,\nthe AAL is 1.\
- \ If you wish to \"upgrade\" the session's security by asking the user to\
- \ perform TOTP / WebAuth/ ...\nyou would set this to \"aal2\"."
+ - description: |-
+ Request a Specific AuthenticationMethod Assurance Level
+
+ Use this parameter to upgrade an existing session's authenticator assurance level (AAL). This
+ allows you to ask for multi-factor authentication. When an identity sign in using e.g. username+password,
+ the AAL is 1. If you wish to "upgrade" the session's security by asking the user to perform TOTP / WebAuth/ ...
+ you would set this to "aal2".
explode: true
in: query
name: aal
@@ -4874,31 +4998,38 @@ paths:
- frontend
/self-service/login/browser:
get:
- description: "This endpoint initializes a browser-based user login flow. This\
- \ endpoint will set the appropriate\ncookies and anti-CSRF measures required\
- \ for browser-based flows.\n\nIf this endpoint is opened as a link in the\
- \ browser, it will be redirected to\n`selfservice.flows.login.ui_url` with\
- \ the flow ID set as the query parameter `?flow=`. If a valid user session\n\
- exists already, the browser will be redirected to `urls.default_redirect_url`\
- \ unless the query parameter\n`?refresh=true` was set.\n\nIf this endpoint\
- \ is called via an AJAX request, the response contains the flow without a\
- \ redirect. In the\ncase of an error, the `error.id` of the JSON response\
- \ body can be one of:\n\n`session_already_available`: The user is already\
- \ signed in.\n`session_aal1_required`: Multi-factor auth (e.g. 2fa) was requested\
- \ but the user has no session yet.\n`security_csrf_violation`: Unable to fetch\
- \ the flow because a CSRF violation occurred.\n`security_identity_mismatch`:\
- \ The requested `?return_to` address is not allowed to be used. Adjust this\
- \ in the configuration!\n\nThe optional query parameter login_challenge is\
- \ set when using Kratos with\nHydra in an OAuth2 flow. See the oauth2_provider.url\
- \ configuration\noption.\n\nThis endpoint is NOT INTENDED for clients that\
- \ do not have a browser (Chrome, Firefox, ...) as cookies are needed.\n\n\
- More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login)\
- \ and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration)."
+ description: |-
+ This endpoint initializes a browser-based user login flow. This endpoint will set the appropriate
+ cookies and anti-CSRF measures required for browser-based flows.
+
+ If this endpoint is opened as a link in the browser, it will be redirected to
+ `selfservice.flows.login.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session
+ exists already, the browser will be redirected to `urls.default_redirect_url` unless the query parameter
+ `?refresh=true` was set.
+
+ If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the
+ case of an error, the `error.id` of the JSON response body can be one of:
+
+ `session_already_available`: The user is already signed in.
+ `session_aal1_required`: Multi-factor auth (e.g. 2fa) was requested but the user has no session yet.
+ `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred.
+ `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration!
+
+ The optional query parameter login_challenge is set when using Kratos with
+ Hydra in an OAuth2 flow. See the oauth2_provider.url configuration
+ option.
+
+ This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed.
+
+ More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
operationId: createBrowserLoginFlow
parameters:
- - description: "Refresh a login session\n\nIf set to true, this will refresh\
- \ an existing login session by\nasking the user to sign in again. This will\
- \ reset the\nauthenticated_at time of the session."
+ - description: |-
+ Refresh a login session
+
+ If set to true, this will refresh an existing login session by
+ asking the user to sign in again. This will reset the
+ authenticated_at time of the session.
explode: true
in: query
name: refresh
@@ -4906,12 +5037,13 @@ paths:
schema:
type: boolean
style: form
- - description: "Request a Specific AuthenticationMethod Assurance Level\n\n\
- Use this parameter to upgrade an existing session's authenticator assurance\
- \ level (AAL). This\nallows you to ask for multi-factor authentication.\
- \ When an identity sign in using e.g. username+password,\nthe AAL is 1.\
- \ If you wish to \"upgrade\" the session's security by asking the user to\
- \ perform TOTP / WebAuth/ ...\nyou would set this to \"aal2\"."
+ - description: |-
+ Request a Specific AuthenticationMethod Assurance Level
+
+ Use this parameter to upgrade an existing session's authenticator assurance level (AAL). This
+ allows you to ask for multi-factor authentication. When an identity sign in using e.g. username+password,
+ the AAL is 1. If you wish to "upgrade" the session's security by asking the user to perform TOTP / WebAuth/ ...
+ you would set this to "aal2".
explode: true
in: query
name: aal
@@ -4927,9 +5059,11 @@ paths:
schema:
type: string
style: form
- - description: "HTTP Cookies\n\nWhen using the SDK in a browser app, on the\
- \ server side you must include the HTTP Cookie Header\nsent by the client\
- \ to your server here. This ensures that CSRF and session cookies are respected."
+ - description: |-
+ HTTP Cookies
+
+ When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header
+ sent by the client to your server here. This ensures that CSRF and session cookies are respected.
explode: false
in: header
name: Cookie
@@ -4937,10 +5071,12 @@ paths:
schema:
type: string
style: simple
- - description: "An optional Hydra login challenge. If present, Kratos will cooperate\
- \ with\nOry Hydra to act as an OAuth2 identity provider.\n\nThe value for\
- \ this parameter comes from `login_challenge` URL Query parameter sent to\
- \ your\napplication (e.g. `/login?login_challenge=abcde`)."
+ - description: |-
+ An optional Hydra login challenge. If present, Kratos will cooperate with
+ Ory Hydra to act as an OAuth2 identity provider.
+
+ The value for this parameter comes from `login_challenge` URL Query parameter sent to your
+ application (e.g. `/login?login_challenge=abcde`).
explode: true
in: query
name: login_challenge
@@ -4966,8 +5102,9 @@ paths:
$ref: '#/components/schemas/loginFlow'
description: loginFlow
"303":
- description: "Empty responses are sent when, for example, resources are\
- \ deleted. The HTTP status code for empty responses is\ntypically 201."
+ description: |-
+ Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is
+ typically 201.
"400":
content:
application/json:
@@ -4985,20 +5122,30 @@ paths:
- frontend
/self-service/login/flows:
get:
- description: "This endpoint returns a login flow's context with, for example,\
- \ error details and other information.\n\nBrowser flows expect the anti-CSRF\
- \ cookie to be included in the request's HTTP Cookie Header.\nFor AJAX requests\
- \ you must ensure that cookies are included in the request or requests will\
- \ fail.\n\nIf you use the browser-flow for server-side apps, the services\
- \ need to run on a common top-level-domain\nand you need to forward the incoming\
- \ HTTP Cookie header to this endpoint:\n\n```js\npseudo-code example\nrouter.get('/login',\
- \ async function (req, res) {\nconst flow = await client.getLoginFlow(req.header('cookie'),\
- \ req.query['flow'])\n\nres.render('login', flow)\n})\n```\n\nThis request\
- \ may fail due to several reasons. The `error.id` can be one of:\n\n`session_already_available`:\
- \ The user is already signed in.\n`self_service_flow_expired`: The flow is\
- \ expired and you should request a new one.\n\nMore information can be found\
- \ at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login)\
- \ and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration)."
+ description: |-
+ This endpoint returns a login flow's context with, for example, error details and other information.
+
+ Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header.
+ For AJAX requests you must ensure that cookies are included in the request or requests will fail.
+
+ If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain
+ and you need to forward the incoming HTTP Cookie header to this endpoint:
+
+ ```js
+ pseudo-code example
+ router.get('/login', async function (req, res) {
+ const flow = await client.getLoginFlow(req.header('cookie'), req.query['flow'])
+
+ res.render('login', flow)
+ })
+ ```
+
+ This request may fail due to several reasons. The `error.id` can be one of:
+
+ `session_already_available`: The user is already signed in.
+ `self_service_flow_expired`: The flow is expired and you should request a new one.
+
+ More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
operationId: getLoginFlow
parameters:
- description: |-
@@ -5013,9 +5160,11 @@ paths:
schema:
type: string
style: form
- - description: "HTTP Cookies\n\nWhen using the SDK in a browser app, on the\
- \ server side you must include the HTTP Cookie Header\nsent by the client\
- \ to your server here. This ensures that CSRF and session cookies are respected."
+ - description: |-
+ HTTP Cookies
+
+ When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header
+ sent by the client to your server here. This ensures that CSRF and session cookies are respected.
explode: false
in: header
name: Cookie
@@ -5059,21 +5208,27 @@ paths:
- frontend
/self-service/logout:
get:
- description: "This endpoint logs out an identity in a self-service manner.\n\
- \nIf the `Accept` HTTP header is not set to `application/json`, the browser\
- \ will be redirected (HTTP 303 See Other)\nto the `return_to` parameter of\
- \ the initial request or fall back to `urls.default_return_to`.\n\nIf the\
- \ `Accept` HTTP header is set to `application/json`, a 204 No Content response\n\
- will be sent on successful logout instead.\n\nThis endpoint is NOT INTENDED\
- \ for API clients and only works\nwith browsers (Chrome, Firefox, ...). For\
- \ API clients you can\ncall the `/self-service/logout/api` URL directly with\
- \ the Ory Session Token.\n\nMore information can be found at [Ory Kratos User\
- \ Logout Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-logout)."
+ description: |-
+ This endpoint logs out an identity in a self-service manner.
+
+ If the `Accept` HTTP header is not set to `application/json`, the browser will be redirected (HTTP 303 See Other)
+ to the `return_to` parameter of the initial request or fall back to `urls.default_return_to`.
+
+ If the `Accept` HTTP header is set to `application/json`, a 204 No Content response
+ will be sent on successful logout instead.
+
+ This endpoint is NOT INTENDED for API clients and only works
+ with browsers (Chrome, Firefox, ...). For API clients you can
+ call the `/self-service/logout/api` URL directly with the Ory Session Token.
+
+ More information can be found at [Ory Kratos User Logout Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-logout).
operationId: updateLogoutFlow
parameters:
- - description: "A Valid Logout Token\n\nIf you do not have a logout token because\
- \ you only have a session cookie,\ncall `/self-service/logout/browser` to\
- \ generate a URL for this endpoint."
+ - description: |-
+ A Valid Logout Token
+
+ If you do not have a logout token because you only have a session cookie,
+ call `/self-service/logout/browser` to generate a URL for this endpoint.
explode: true
in: query
name: token
@@ -5089,9 +5244,11 @@ paths:
schema:
type: string
style: form
- - description: "HTTP Cookies\n\nWhen using the SDK in a browser app, on the\
- \ server side you must include the HTTP Cookie Header\nsent by the client\
- \ to your server here. This ensures that CSRF and session cookies are respected."
+ - description: |-
+ HTTP Cookies
+
+ When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header
+ sent by the client to your server here. This ensures that CSRF and session cookies are respected.
explode: false
in: header
name: Cookie
@@ -5101,11 +5258,13 @@ paths:
style: simple
responses:
"204":
- description: "Empty responses are sent when, for example, resources are\
- \ deleted. The HTTP status code for empty responses is\ntypically 201."
+ description: |-
+ Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is
+ typically 201.
"303":
- description: "Empty responses are sent when, for example, resources are\
- \ deleted. The HTTP status code for empty responses is\ntypically 201."
+ description: |-
+ Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is
+ typically 201.
default:
content:
application/json:
@@ -5117,13 +5276,15 @@ paths:
- frontend
/self-service/logout/api:
delete:
- description: "Use this endpoint to log out an identity using an Ory Session\
- \ Token. If the Ory Session Token was successfully\nrevoked, the server returns\
- \ a 204 No Content response. A 204 No Content response is also sent when\n\
- the Ory Session Token has been revoked already before.\n\nIf the Ory Session\
- \ Token is malformed or does not exist a 403 Forbidden response will be returned.\n\
- \nThis endpoint does not remove any HTTP\nCookies - use the Browser-Based\
- \ Self-Service Logout Flow instead."
+ description: |-
+ Use this endpoint to log out an identity using an Ory Session Token. If the Ory Session Token was successfully
+ revoked, the server returns a 204 No Content response. A 204 No Content response is also sent when
+ the Ory Session Token has been revoked already before.
+
+ If the Ory Session Token is malformed or does not exist a 403 Forbidden response will be returned.
+
+ This endpoint does not remove any HTTP
+ Cookies - use the Browser-Based Self-Service Logout Flow instead.
operationId: performNativeLogout
requestBody:
content:
@@ -5134,8 +5295,9 @@ paths:
x-originalParamName: Body
responses:
"204":
- description: "Empty responses are sent when, for example, resources are\
- \ deleted. The HTTP status code for empty responses is\ntypically 201."
+ description: |-
+ Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is
+ typically 201.
"400":
content:
application/json:
@@ -5153,18 +5315,24 @@ paths:
- frontend
/self-service/logout/browser:
get:
- description: "This endpoint initializes a browser-based user logout flow and\
- \ a URL which can be used to log out the user.\n\nThis endpoint is NOT INTENDED\
- \ for API clients and only works\nwith browsers (Chrome, Firefox, ...). For\
- \ API clients you can\ncall the `/self-service/logout/api` URL directly with\
- \ the Ory Session Token.\n\nThe URL is only valid for the currently signed\
- \ in user. If no user is signed in, this endpoint returns\na 401 error.\n\n\
- When calling this endpoint from a backend, please ensure to properly forward\
- \ the HTTP cookies."
+ description: |-
+ This endpoint initializes a browser-based user logout flow and a URL which can be used to log out the user.
+
+ This endpoint is NOT INTENDED for API clients and only works
+ with browsers (Chrome, Firefox, ...). For API clients you can
+ call the `/self-service/logout/api` URL directly with the Ory Session Token.
+
+ The URL is only valid for the currently signed in user. If no user is signed in, this endpoint returns
+ a 401 error.
+
+ When calling this endpoint from a backend, please ensure to properly forward the HTTP cookies.
operationId: createBrowserLogoutFlow
parameters:
- - description: "HTTP Cookies\n\nIf you call this endpoint from a backend, please\
- \ include the\noriginal Cookie header in the request."
+ - description: |-
+ HTTP Cookies
+
+ If you call this endpoint from a backend, please include the
+ original Cookie header in the request.
explode: false
in: header
name: cookie
@@ -5214,27 +5382,23 @@ paths:
- frontend
/self-service/recovery:
post:
- description: "Use this endpoint to complete a recovery flow. This endpoint\n\
- behaves differently for API and browser flows and has several states:\n\n\
- `choose_method` expects `flow` (in the URL query) and `email` (in the body)\
- \ to be sent\nand works with API- and Browser-initiated flows.\nFor API clients\
- \ and Browser clients with HTTP Header `Accept: application/json` it either\
- \ returns a HTTP 200 OK when the form is valid and HTTP 400 OK when the form\
- \ is invalid.\nand a HTTP 303 See Other redirect with a fresh recovery flow\
- \ if the flow was otherwise invalid (e.g. expired).\nFor Browser clients without\
- \ HTTP Header `Accept` or with `Accept: text/*` it returns a HTTP 303 See\
- \ Other redirect to the Recovery UI URL with the Recovery Flow ID appended.\n\
- `sent_email` is the success state after `choose_method` for the `link` method\
- \ and allows the user to request another recovery email. It\nworks for both\
- \ API and Browser-initiated flows and returns the same responses as the flow\
- \ in `choose_method` state.\n`passed_challenge` expects a `token` to be sent\
- \ in the URL query and given the nature of the flow (\"sending a recovery\
- \ link\")\ndoes not have any API capabilities. The server responds with a\
- \ HTTP 303 See Other redirect either to the Settings UI URL\n(if the link\
- \ was valid) and instructs the user to update their password, or a redirect\
- \ to the Recover UI URL with\na new Recovery Flow ID which contains an error\
- \ message that the recovery link was invalid.\n\nMore information can be found\
- \ at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery)."
+ description: |-
+ Use this endpoint to complete a recovery flow. This endpoint
+ behaves differently for API and browser flows and has several states:
+
+ `choose_method` expects `flow` (in the URL query) and `email` (in the body) to be sent
+ and works with API- and Browser-initiated flows.
+ For API clients and Browser clients with HTTP Header `Accept: application/json` it either returns a HTTP 200 OK when the form is valid and HTTP 400 OK when the form is invalid.
+ and a HTTP 303 See Other redirect with a fresh recovery flow if the flow was otherwise invalid (e.g. expired).
+ For Browser clients without HTTP Header `Accept` or with `Accept: text/*` it returns a HTTP 303 See Other redirect to the Recovery UI URL with the Recovery Flow ID appended.
+ `sent_email` is the success state after `choose_method` for the `link` method and allows the user to request another recovery email. It
+ works for both API and Browser-initiated flows and returns the same responses as the flow in `choose_method` state.
+ `passed_challenge` expects a `token` to be sent in the URL query and given the nature of the flow ("sending a recovery link")
+ does not have any API capabilities. The server responds with a HTTP 303 See Other redirect either to the Settings UI URL
+ (if the link was valid) and instructs the user to update their password, or a redirect to the Recover UI URL with
+ a new Recovery Flow ID which contains an error message that the recovery link was invalid.
+
+ More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).
operationId: updateRecoveryFlow
parameters:
- description: |-
@@ -5263,9 +5427,11 @@ paths:
schema:
type: string
style: form
- - description: "HTTP Cookies\n\nWhen using the SDK in a browser app, on the\
- \ server side you must include the HTTP Cookie Header\nsent by the client\
- \ to your server here. This ensures that CSRF and session cookies are respected."
+ - description: |-
+ HTTP Cookies
+
+ When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header
+ sent by the client to your server here. This ensures that CSRF and session cookies are respected.
explode: false
in: header
name: Cookie
@@ -5291,8 +5457,9 @@ paths:
$ref: '#/components/schemas/recoveryFlow'
description: recoveryFlow
"303":
- description: "Empty responses are sent when, for example, resources are\
- \ deleted. The HTTP status code for empty responses is\ntypically 201."
+ description: |-
+ Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is
+ typically 201.
"400":
content:
application/json:
@@ -5322,16 +5489,20 @@ paths:
- frontend
/self-service/recovery/api:
get:
- description: "This endpoint initiates a recovery flow for API clients such as\
- \ mobile devices, smart TVs, and so on.\n\nIf a valid provided session cookie\
- \ or session token is provided, a 400 Bad Request error.\n\nTo fetch an existing\
- \ recovery flow call `/self-service/recovery/flows?flow=`.\n\nYou\
- \ MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS)\
- \ nor server-side (Java Server\nPages, NodeJS, PHP, Golang, ...) browser applications.\
- \ Using this endpoint in these applications will make\nyou vulnerable to a\
- \ variety of CSRF attacks.\n\nThis endpoint MUST ONLY be used in scenarios\
- \ such as native mobile apps (React Native, Objective C, Swift, Java, ...).\n\
- \nMore information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery)."
+ description: |-
+ This endpoint initiates a recovery flow for API clients such as mobile devices, smart TVs, and so on.
+
+ If a valid provided session cookie or session token is provided, a 400 Bad Request error.
+
+ To fetch an existing recovery flow call `/self-service/recovery/flows?flow=`.
+
+ You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server
+ Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make
+ you vulnerable to a variety of CSRF attacks.
+
+ This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...).
+
+ More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).
operationId: createNativeRecoveryFlow
responses:
"200":
@@ -5357,15 +5528,17 @@ paths:
- frontend
/self-service/recovery/browser:
get:
- description: "This endpoint initializes a browser-based account recovery flow.\
- \ Once initialized, the browser will be redirected to\n`selfservice.flows.recovery.ui_url`\
- \ with the flow ID set as the query parameter `?flow=`. If a valid user session\n\
- exists, the browser is returned to the configured return URL.\n\nIf this endpoint\
- \ is called via an AJAX request, the response contains the recovery flow without\
- \ any redirects\nor a 400 bad request error if the user is already authenticated.\n\
- \nThis endpoint is NOT INTENDED for clients that do not have a browser (Chrome,\
- \ Firefox, ...) as cookies are needed.\n\nMore information can be found at\
- \ [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery)."
+ description: |-
+ This endpoint initializes a browser-based account recovery flow. Once initialized, the browser will be redirected to
+ `selfservice.flows.recovery.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session
+ exists, the browser is returned to the configured return URL.
+
+ If this endpoint is called via an AJAX request, the response contains the recovery flow without any redirects
+ or a 400 bad request error if the user is already authenticated.
+
+ This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed.
+
+ More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).
operationId: createBrowserRecoveryFlow
parameters:
- description: The URL to return the browser to after the flow was completed.
@@ -5384,8 +5557,9 @@ paths:
$ref: '#/components/schemas/recoveryFlow'
description: recoveryFlow
"303":
- description: "Empty responses are sent when, for example, resources are\
- \ deleted. The HTTP status code for empty responses is\ntypically 201."
+ description: |-
+ Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is
+ typically 201.
"400":
content:
application/json:
@@ -5403,16 +5577,25 @@ paths:
- frontend
/self-service/recovery/flows:
get:
- description: "This endpoint returns a recovery flow's context with, for example,\
- \ error details and other information.\n\nBrowser flows expect the anti-CSRF\
- \ cookie to be included in the request's HTTP Cookie Header.\nFor AJAX requests\
- \ you must ensure that cookies are included in the request or requests will\
- \ fail.\n\nIf you use the browser-flow for server-side apps, the services\
- \ need to run on a common top-level-domain\nand you need to forward the incoming\
- \ HTTP Cookie header to this endpoint:\n\n```js\npseudo-code example\nrouter.get('/recovery',\
- \ async function (req, res) {\nconst flow = await client.getRecoveryFlow(req.header('Cookie'),\
- \ req.query['flow'])\n\nres.render('recovery', flow)\n})\n```\n\nMore information\
- \ can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery)."
+ description: |-
+ This endpoint returns a recovery flow's context with, for example, error details and other information.
+
+ Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header.
+ For AJAX requests you must ensure that cookies are included in the request or requests will fail.
+
+ If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain
+ and you need to forward the incoming HTTP Cookie header to this endpoint:
+
+ ```js
+ pseudo-code example
+ router.get('/recovery', async function (req, res) {
+ const flow = await client.getRecoveryFlow(req.header('Cookie'), req.query['flow'])
+
+ res.render('recovery', flow)
+ })
+ ```
+
+ More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).
operationId: getRecoveryFlow
parameters:
- description: |-
@@ -5427,9 +5610,11 @@ paths:
schema:
type: string
style: form
- - description: "HTTP Cookies\n\nWhen using the SDK in a browser app, on the\
- \ server side you must include the HTTP Cookie Header\nsent by the client\
- \ to your server here. This ensures that CSRF and session cookies are respected."
+ - description: |-
+ HTTP Cookies
+
+ When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header
+ sent by the client to your server here. This ensures that CSRF and session cookies are respected.
explode: false
in: header
name: Cookie
@@ -5467,34 +5652,35 @@ paths:
- frontend
/self-service/registration:
post:
- description: "Use this endpoint to complete a registration flow by sending an\
- \ identity's traits and password. This endpoint\nbehaves differently for API\
- \ and browser flows.\n\nAPI flows expect `application/json` to be sent in\
- \ the body and respond with\nHTTP 200 and a application/json body with the\
- \ created identity success - if the session hook is configured the\n`session`\
- \ and `session_token` will also be included;\nHTTP 410 if the original flow\
- \ expired with the appropriate error messages set and optionally a `use_flow_id`\
- \ parameter in the body;\nHTTP 400 on form validation errors.\n\nBrowser flows\
- \ expect a Content-Type of `application/x-www-form-urlencoded` or `application/json`\
- \ to be sent in the body and respond with\na HTTP 303 redirect to the post/after\
- \ registration URL or the `return_to` value if it was set and if the registration\
- \ succeeded;\na HTTP 303 redirect to the registration UI URL with the flow\
- \ ID containing the validation errors otherwise.\n\nBrowser flows with an\
- \ accept header of `application/json` will not redirect but instead respond\
- \ with\nHTTP 200 and a application/json body with the signed in identity and\
- \ a `Set-Cookie` header on success;\nHTTP 303 redirect to a fresh login flow\
- \ if the original flow expired with the appropriate error messages set;\n\
- HTTP 400 on form validation errors.\n\nIf this endpoint is called with `Accept:\
- \ application/json` in the header, the response contains the flow without\
- \ a redirect. In the\ncase of an error, the `error.id` of the JSON response\
- \ body can be one of:\n\n`session_already_available`: The user is already\
- \ signed in.\n`security_csrf_violation`: Unable to fetch the flow because\
- \ a CSRF violation occurred.\n`security_identity_mismatch`: The requested\
- \ `?return_to` address is not allowed to be used. Adjust this in the configuration!\n\
- `browser_location_change_required`: Usually sent when an AJAX request indicates\
- \ that the browser needs to open a specific URL.\nMost likely used in Social\
- \ Sign In flows.\n\nMore information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login)\
- \ and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration)."
+ description: |-
+ Use this endpoint to complete a registration flow by sending an identity's traits and password. This endpoint
+ behaves differently for API and browser flows.
+
+ API flows expect `application/json` to be sent in the body and respond with
+ HTTP 200 and a application/json body with the created identity success - if the session hook is configured the
+ `session` and `session_token` will also be included;
+ HTTP 410 if the original flow expired with the appropriate error messages set and optionally a `use_flow_id` parameter in the body;
+ HTTP 400 on form validation errors.
+
+ Browser flows expect a Content-Type of `application/x-www-form-urlencoded` or `application/json` to be sent in the body and respond with
+ a HTTP 303 redirect to the post/after registration URL or the `return_to` value if it was set and if the registration succeeded;
+ a HTTP 303 redirect to the registration UI URL with the flow ID containing the validation errors otherwise.
+
+ Browser flows with an accept header of `application/json` will not redirect but instead respond with
+ HTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success;
+ HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set;
+ HTTP 400 on form validation errors.
+
+ If this endpoint is called with `Accept: application/json` in the header, the response contains the flow without a redirect. In the
+ case of an error, the `error.id` of the JSON response body can be one of:
+
+ `session_already_available`: The user is already signed in.
+ `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred.
+ `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration!
+ `browser_location_change_required`: Usually sent when an AJAX request indicates that the browser needs to open a specific URL.
+ Most likely used in Social Sign In flows.
+
+ More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
operationId: updateRegistrationFlow
parameters:
- description: |-
@@ -5509,9 +5695,11 @@ paths:
schema:
type: string
style: form
- - description: "HTTP Cookies\n\nWhen using the SDK in a browser app, on the\
- \ server side you must include the HTTP Cookie Header\nsent by the client\
- \ to your server here. This ensures that CSRF and session cookies are respected."
+ - description: |-
+ HTTP Cookies
+
+ When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header
+ sent by the client to your server here. This ensures that CSRF and session cookies are respected.
explode: false
in: header
name: Cookie
@@ -5537,8 +5725,9 @@ paths:
$ref: '#/components/schemas/successfulNativeRegistration'
description: successfulNativeRegistration
"303":
- description: "Empty responses are sent when, for example, resources are\
- \ deleted. The HTTP status code for empty responses is\ntypically 201."
+ description: |-
+ Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is
+ typically 201.
"400":
content:
application/json:
@@ -5568,22 +5757,26 @@ paths:
- frontend
/self-service/registration/api:
get:
- description: "This endpoint initiates a registration flow for API clients such\
- \ as mobile devices, smart TVs, and so on.\n\nIf a valid provided session\
- \ cookie or session token is provided, a 400 Bad Request error\nwill be returned\
- \ unless the URL query parameter `?refresh=true` is set.\n\nTo fetch an existing\
- \ registration flow call `/self-service/registration/flows?flow=`.\n\
- \nYou MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS,\
- \ AngularJS) nor server-side (Java Server\nPages, NodeJS, PHP, Golang, ...)\
- \ browser applications. Using this endpoint in these applications will make\n\
- you vulnerable to a variety of CSRF attacks.\n\nIn the case of an error, the\
- \ `error.id` of the JSON response body can be one of:\n\n`session_already_available`:\
- \ The user is already signed in.\n`security_csrf_violation`: Unable to fetch\
- \ the flow because a CSRF violation occurred.\n\nThis endpoint MUST ONLY be\
- \ used in scenarios such as native mobile apps (React Native, Objective C,\
- \ Swift, Java, ...).\n\nMore information can be found at [Ory Kratos User\
- \ Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and\
- \ [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration)."
+ description: |-
+ This endpoint initiates a registration flow for API clients such as mobile devices, smart TVs, and so on.
+
+ If a valid provided session cookie or session token is provided, a 400 Bad Request error
+ will be returned unless the URL query parameter `?refresh=true` is set.
+
+ To fetch an existing registration flow call `/self-service/registration/flows?flow=`.
+
+ You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server
+ Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make
+ you vulnerable to a variety of CSRF attacks.
+
+ In the case of an error, the `error.id` of the JSON response body can be one of:
+
+ `session_already_available`: The user is already signed in.
+ `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred.
+
+ This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...).
+
+ More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
operationId: createNativeRegistrationFlow
parameters:
- description: |-
@@ -5628,23 +5821,26 @@ paths:
- frontend
/self-service/registration/browser:
get:
- description: "This endpoint initializes a browser-based user registration flow.\
- \ This endpoint will set the appropriate\ncookies and anti-CSRF measures required\
- \ for browser-based flows.\n\nIf this endpoint is opened as a link in the\
- \ browser, it will be redirected to\n`selfservice.flows.registration.ui_url`\
- \ with the flow ID set as the query parameter `?flow=`. If a valid user session\n\
- exists already, the browser will be redirected to `urls.default_redirect_url`.\n\
- \nIf this endpoint is called via an AJAX request, the response contains the\
- \ flow without a redirect. In the\ncase of an error, the `error.id` of the\
- \ JSON response body can be one of:\n\n`session_already_available`: The user\
- \ is already signed in.\n`security_csrf_violation`: Unable to fetch the flow\
- \ because a CSRF violation occurred.\n`security_identity_mismatch`: The requested\
- \ `?return_to` address is not allowed to be used. Adjust this in the configuration!\n\
- \nIf this endpoint is called via an AJAX request, the response contains the\
- \ registration flow without a redirect.\n\nThis endpoint is NOT INTENDED for\
- \ clients that do not have a browser (Chrome, Firefox, ...) as cookies are\
- \ needed.\n\nMore information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login)\
- \ and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration)."
+ description: |-
+ This endpoint initializes a browser-based user registration flow. This endpoint will set the appropriate
+ cookies and anti-CSRF measures required for browser-based flows.
+
+ If this endpoint is opened as a link in the browser, it will be redirected to
+ `selfservice.flows.registration.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session
+ exists already, the browser will be redirected to `urls.default_redirect_url`.
+
+ If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the
+ case of an error, the `error.id` of the JSON response body can be one of:
+
+ `session_already_available`: The user is already signed in.
+ `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred.
+ `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration!
+
+ If this endpoint is called via an AJAX request, the response contains the registration flow without a redirect.
+
+ This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed.
+
+ More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
operationId: createBrowserRegistrationFlow
parameters:
- description: The URL to return the browser to after the flow was completed.
@@ -5671,11 +5867,12 @@ paths:
schema:
type: string
style: form
- - description: "The URL to return the browser to after the verification flow\
- \ was completed.\n\nAfter the registration flow is completed, the user will\
- \ be sent a verification email.\nUpon completing the verification flow,\
- \ this URL will be used to override the default\n`selfservice.flows.verification.after.default_redirect_to`\
- \ value."
+ - description: |-
+ The URL to return the browser to after the verification flow was completed.
+
+ After the registration flow is completed, the user will be sent a verification email.
+ Upon completing the verification flow, this URL will be used to override the default
+ `selfservice.flows.verification.after.default_redirect_to` value.
explode: true
in: query
name: after_verification_return_to
@@ -5698,8 +5895,9 @@ paths:
$ref: '#/components/schemas/registrationFlow'
description: registrationFlow
"303":
- description: "Empty responses are sent when, for example, resources are\
- \ deleted. The HTTP status code for empty responses is\ntypically 201."
+ description: |-
+ Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is
+ typically 201.
default:
content:
application/json:
@@ -5711,21 +5909,30 @@ paths:
- frontend
/self-service/registration/flows:
get:
- description: "This endpoint returns a registration flow's context with, for\
- \ example, error details and other information.\n\nBrowser flows expect the\
- \ anti-CSRF cookie to be included in the request's HTTP Cookie Header.\nFor\
- \ AJAX requests you must ensure that cookies are included in the request or\
- \ requests will fail.\n\nIf you use the browser-flow for server-side apps,\
- \ the services need to run on a common top-level-domain\nand you need to forward\
- \ the incoming HTTP Cookie header to this endpoint:\n\n```js\npseudo-code\
- \ example\nrouter.get('/registration', async function (req, res) {\nconst\
- \ flow = await client.getRegistrationFlow(req.header('cookie'), req.query['flow'])\n\
- \nres.render('registration', flow)\n})\n```\n\nThis request may fail due to\
- \ several reasons. The `error.id` can be one of:\n\n`session_already_available`:\
- \ The user is already signed in.\n`self_service_flow_expired`: The flow is\
- \ expired and you should request a new one.\n\nMore information can be found\
- \ at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login)\
- \ and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration)."
+ description: |-
+ This endpoint returns a registration flow's context with, for example, error details and other information.
+
+ Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header.
+ For AJAX requests you must ensure that cookies are included in the request or requests will fail.
+
+ If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain
+ and you need to forward the incoming HTTP Cookie header to this endpoint:
+
+ ```js
+ pseudo-code example
+ router.get('/registration', async function (req, res) {
+ const flow = await client.getRegistrationFlow(req.header('cookie'), req.query['flow'])
+
+ res.render('registration', flow)
+ })
+ ```
+
+ This request may fail due to several reasons. The `error.id` can be one of:
+
+ `session_already_available`: The user is already signed in.
+ `self_service_flow_expired`: The flow is expired and you should request a new one.
+
+ More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
operationId: getRegistrationFlow
parameters:
- description: |-
@@ -5740,9 +5947,11 @@ paths:
schema:
type: string
style: form
- - description: "HTTP Cookies\n\nWhen using the SDK in a browser app, on the\
- \ server side you must include the HTTP Cookie Header\nsent by the client\
- \ to your server here. This ensures that CSRF and session cookies are respected."
+ - description: |-
+ HTTP Cookies
+
+ When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header
+ sent by the client to your server here. This ensures that CSRF and session cookies are respected.
explode: false
in: header
name: Cookie
@@ -5786,49 +5995,50 @@ paths:
- frontend
/self-service/settings:
post:
- description: "Use this endpoint to complete a settings flow by sending an identity's\
- \ updated password. This endpoint\nbehaves differently for API and browser\
- \ flows.\n\nAPI-initiated flows expect `application/json` to be sent in the\
- \ body and respond with\nHTTP 200 and an application/json body with the session\
- \ token on success;\nHTTP 303 redirect to a fresh settings flow if the original\
- \ flow expired with the appropriate error messages set;\nHTTP 400 on form\
- \ validation errors.\nHTTP 401 when the endpoint is called without a valid\
- \ session token.\nHTTP 403 when `selfservice.flows.settings.privileged_session_max_age`\
- \ was reached or the session's AAL is too low.\nImplies that the user needs\
- \ to re-authenticate.\n\nBrowser flows without HTTP Header `Accept` or with\
- \ `Accept: text/*` respond with\na HTTP 303 redirect to the post/after settings\
- \ URL or the `return_to` value if it was set and if the flow succeeded;\n\
- a HTTP 303 redirect to the Settings UI URL with the flow ID containing the\
- \ validation errors otherwise.\na HTTP 303 redirect to the login endpoint\
- \ when `selfservice.flows.settings.privileged_session_max_age` was reached\
- \ or the session's AAL is too low.\n\nBrowser flows with HTTP Header `Accept:\
- \ application/json` respond with\nHTTP 200 and a application/json body with\
- \ the signed in identity and a `Set-Cookie` header on success;\nHTTP 303 redirect\
- \ to a fresh login flow if the original flow expired with the appropriate\
- \ error messages set;\nHTTP 401 when the endpoint is called without a valid\
- \ session cookie.\nHTTP 403 when the page is accessed without a session cookie\
- \ or the session's AAL is too low.\nHTTP 400 on form validation errors.\n\n\
- Depending on your configuration this endpoint might return a 403 error if\
- \ the session has a lower Authenticator\nAssurance Level (AAL) than is possible\
- \ for the identity. This can happen if the identity has password + webauthn\n\
- credentials (which would result in AAL2) but the session has only AAL1. If\
- \ this error occurs, ask the user\nto sign in with the second factor (happens\
- \ automatically for server-side browser flows) or change the configuration.\n\
- \nIf this endpoint is called with a `Accept: application/json` HTTP header,\
- \ the response contains the flow without a redirect. In the\ncase of an error,\
- \ the `error.id` of the JSON response body can be one of:\n\n`session_refresh_required`:\
- \ The identity requested to change something that needs a privileged session.\
- \ Redirect\nthe identity to the login init endpoint with query parameters\
- \ `?refresh=true&return_to=`,\nor initiate a refresh\
- \ login flow otherwise.\n`security_csrf_violation`: Unable to fetch the flow\
- \ because a CSRF violation occurred.\n`session_inactive`: No Ory Session was\
- \ found - sign in a user first.\n`security_identity_mismatch`: The flow was\
- \ interrupted with `session_refresh_required` but apparently some other\n\
- identity logged in instead.\n`security_identity_mismatch`: The requested `?return_to`\
- \ address is not allowed to be used. Adjust this in the configuration!\n`browser_location_change_required`:\
- \ Usually sent when an AJAX request indicates that the browser needs to open\
- \ a specific URL.\nMost likely used in Social Sign In flows.\n\nMore information\
- \ can be found at [Ory Kratos User Settings & Profile Management Documentation](../self-service/flows/user-settings)."
+ description: |-
+ Use this endpoint to complete a settings flow by sending an identity's updated password. This endpoint
+ behaves differently for API and browser flows.
+
+ API-initiated flows expect `application/json` to be sent in the body and respond with
+ HTTP 200 and an application/json body with the session token on success;
+ HTTP 303 redirect to a fresh settings flow if the original flow expired with the appropriate error messages set;
+ HTTP 400 on form validation errors.
+ HTTP 401 when the endpoint is called without a valid session token.
+ HTTP 403 when `selfservice.flows.settings.privileged_session_max_age` was reached or the session's AAL is too low.
+ Implies that the user needs to re-authenticate.
+
+ Browser flows without HTTP Header `Accept` or with `Accept: text/*` respond with
+ a HTTP 303 redirect to the post/after settings URL or the `return_to` value if it was set and if the flow succeeded;
+ a HTTP 303 redirect to the Settings UI URL with the flow ID containing the validation errors otherwise.
+ a HTTP 303 redirect to the login endpoint when `selfservice.flows.settings.privileged_session_max_age` was reached or the session's AAL is too low.
+
+ Browser flows with HTTP Header `Accept: application/json` respond with
+ HTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success;
+ HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set;
+ HTTP 401 when the endpoint is called without a valid session cookie.
+ HTTP 403 when the page is accessed without a session cookie or the session's AAL is too low.
+ HTTP 400 on form validation errors.
+
+ Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator
+ Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn
+ credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user
+ to sign in with the second factor (happens automatically for server-side browser flows) or change the configuration.
+
+ If this endpoint is called with a `Accept: application/json` HTTP header, the response contains the flow without a redirect. In the
+ case of an error, the `error.id` of the JSON response body can be one of:
+
+ `session_refresh_required`: The identity requested to change something that needs a privileged session. Redirect
+ the identity to the login init endpoint with query parameters `?refresh=true&return_to=`,
+ or initiate a refresh login flow otherwise.
+ `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred.
+ `session_inactive`: No Ory Session was found - sign in a user first.
+ `security_identity_mismatch`: The flow was interrupted with `session_refresh_required` but apparently some other
+ identity logged in instead.
+ `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration!
+ `browser_location_change_required`: Usually sent when an AJAX request indicates that the browser needs to open a specific URL.
+ Most likely used in Social Sign In flows.
+
+ More information can be found at [Ory Kratos User Settings & Profile Management Documentation](../self-service/flows/user-settings).
operationId: updateSettingsFlow
parameters:
- description: |-
@@ -5851,9 +6061,11 @@ paths:
schema:
type: string
style: simple
- - description: "HTTP Cookies\n\nWhen using the SDK in a browser app, on the\
- \ server side you must include the HTTP Cookie Header\nsent by the client\
- \ to your server here. This ensures that CSRF and session cookies are respected."
+ - description: |-
+ HTTP Cookies
+
+ When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header
+ sent by the client to your server here. This ensures that CSRF and session cookies are respected.
explode: false
in: header
name: Cookie
@@ -5879,8 +6091,9 @@ paths:
$ref: '#/components/schemas/settingsFlow'
description: settingsFlow
"303":
- description: "Empty responses are sent when, for example, resources are\
- \ deleted. The HTTP status code for empty responses is\ntypically 201."
+ description: |-
+ Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is
+ typically 201.
"400":
content:
application/json:
@@ -5924,25 +6137,29 @@ paths:
- frontend
/self-service/settings/api:
get:
- description: "This endpoint initiates a settings flow for API clients such as\
- \ mobile devices, smart TVs, and so on.\nYou must provide a valid Ory Kratos\
- \ Session Token for this endpoint to respond with HTTP 200 OK.\n\nTo fetch\
- \ an existing settings flow call `/self-service/settings/flows?flow=`.\n\
- \nYou MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS,\
- \ AngularJS) nor server-side (Java Server\nPages, NodeJS, PHP, Golang, ...)\
- \ browser applications. Using this endpoint in these applications will make\n\
- you vulnerable to a variety of CSRF attacks.\n\nDepending on your configuration\
- \ this endpoint might return a 403 error if the session has a lower Authenticator\n\
- Assurance Level (AAL) than is possible for the identity. This can happen if\
- \ the identity has password + webauthn\ncredentials (which would result in\
- \ AAL2) but the session has only AAL1. If this error occurs, ask the user\n\
- to sign in with the second factor or change the configuration.\n\nIn the case\
- \ of an error, the `error.id` of the JSON response body can be one of:\n\n\
- `security_csrf_violation`: Unable to fetch the flow because a CSRF violation\
- \ occurred.\n`session_inactive`: No Ory Session was found - sign in a user\
- \ first.\n\nThis endpoint MUST ONLY be used in scenarios such as native mobile\
- \ apps (React Native, Objective C, Swift, Java, ...).\n\nMore information\
- \ can be found at [Ory Kratos User Settings & Profile Management Documentation](../self-service/flows/user-settings)."
+ description: |-
+ This endpoint initiates a settings flow for API clients such as mobile devices, smart TVs, and so on.
+ You must provide a valid Ory Kratos Session Token for this endpoint to respond with HTTP 200 OK.
+
+ To fetch an existing settings flow call `/self-service/settings/flows?flow=`.
+
+ You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server
+ Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make
+ you vulnerable to a variety of CSRF attacks.
+
+ Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator
+ Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn
+ credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user
+ to sign in with the second factor or change the configuration.
+
+ In the case of an error, the `error.id` of the JSON response body can be one of:
+
+ `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred.
+ `session_inactive`: No Ory Session was found - sign in a user first.
+
+ This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...).
+
+ More information can be found at [Ory Kratos User Settings & Profile Management Documentation](../self-service/flows/user-settings).
operationId: createNativeSettingsFlow
parameters:
- description: The Session Token of the Identity performing the settings flow.
@@ -5977,31 +6194,33 @@ paths:
- frontend
/self-service/settings/browser:
get:
- description: "This endpoint initializes a browser-based user settings flow.\
- \ Once initialized, the browser will be redirected to\n`selfservice.flows.settings.ui_url`\
- \ with the flow ID set as the query parameter `?flow=`. If no valid\nOry Kratos\
- \ Session Cookie is included in the request, a login flow will be initialized.\n\
- \nIf this endpoint is opened as a link in the browser, it will be redirected\
- \ to\n`selfservice.flows.settings.ui_url` with the flow ID set as the query\
- \ parameter `?flow=`. If no valid user session\nwas set, the browser will\
- \ be redirected to the login endpoint.\n\nIf this endpoint is called via an\
- \ AJAX request, the response contains the settings flow without any redirects\n\
- or a 401 forbidden error if no valid session was set.\n\nDepending on your\
- \ configuration this endpoint might return a 403 error if the session has\
- \ a lower Authenticator\nAssurance Level (AAL) than is possible for the identity.\
- \ This can happen if the identity has password + webauthn\ncredentials (which\
- \ would result in AAL2) but the session has only AAL1. If this error occurs,\
- \ ask the user\nto sign in with the second factor (happens automatically for\
- \ server-side browser flows) or change the configuration.\n\nIf this endpoint\
- \ is called via an AJAX request, the response contains the flow without a\
- \ redirect. In the\ncase of an error, the `error.id` of the JSON response\
- \ body can be one of:\n\n`security_csrf_violation`: Unable to fetch the flow\
- \ because a CSRF violation occurred.\n`session_inactive`: No Ory Session was\
- \ found - sign in a user first.\n`security_identity_mismatch`: The requested\
- \ `?return_to` address is not allowed to be used. Adjust this in the configuration!\n\
- \nThis endpoint is NOT INTENDED for clients that do not have a browser (Chrome,\
- \ Firefox, ...) as cookies are needed.\n\nMore information can be found at\
- \ [Ory Kratos User Settings & Profile Management Documentation](../self-service/flows/user-settings)."
+ description: |-
+ This endpoint initializes a browser-based user settings flow. Once initialized, the browser will be redirected to
+ `selfservice.flows.settings.ui_url` with the flow ID set as the query parameter `?flow=`. If no valid
+ Ory Kratos Session Cookie is included in the request, a login flow will be initialized.
+
+ If this endpoint is opened as a link in the browser, it will be redirected to
+ `selfservice.flows.settings.ui_url` with the flow ID set as the query parameter `?flow=`. If no valid user session
+ was set, the browser will be redirected to the login endpoint.
+
+ If this endpoint is called via an AJAX request, the response contains the settings flow without any redirects
+ or a 401 forbidden error if no valid session was set.
+
+ Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator
+ Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn
+ credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user
+ to sign in with the second factor (happens automatically for server-side browser flows) or change the configuration.
+
+ If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the
+ case of an error, the `error.id` of the JSON response body can be one of:
+
+ `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred.
+ `session_inactive`: No Ory Session was found - sign in a user first.
+ `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration!
+
+ This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed.
+
+ More information can be found at [Ory Kratos User Settings & Profile Management Documentation](../self-service/flows/user-settings).
operationId: createBrowserSettingsFlow
parameters:
- description: The URL to return the browser to after the flow was completed.
@@ -6012,9 +6231,11 @@ paths:
schema:
type: string
style: form
- - description: "HTTP Cookies\n\nWhen using the SDK in a browser app, on the\
- \ server side you must include the HTTP Cookie Header\nsent by the client\
- \ to your server here. This ensures that CSRF and session cookies are respected."
+ - description: |-
+ HTTP Cookies
+
+ When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header
+ sent by the client to your server here. This ensures that CSRF and session cookies are respected.
explode: false
in: header
name: Cookie
@@ -6030,8 +6251,9 @@ paths:
$ref: '#/components/schemas/settingsFlow'
description: settingsFlow
"303":
- description: "Empty responses are sent when, for example, resources are\
- \ deleted. The HTTP status code for empty responses is\ntypically 201."
+ description: |-
+ Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is
+ typically 201.
"400":
content:
application/json:
@@ -6061,23 +6283,26 @@ paths:
- frontend
/self-service/settings/flows:
get:
- description: "When accessing this endpoint through Ory Kratos' Public API you\
- \ must ensure that either the Ory Kratos Session Cookie\nor the Ory Kratos\
- \ Session Token are set.\n\nDepending on your configuration this endpoint\
- \ might return a 403 error if the session has a lower Authenticator\nAssurance\
- \ Level (AAL) than is possible for the identity. This can happen if the identity\
- \ has password + webauthn\ncredentials (which would result in AAL2) but the\
- \ session has only AAL1. If this error occurs, ask the user\nto sign in with\
- \ the second factor or change the configuration.\n\nYou can access this endpoint\
- \ without credentials when using Ory Kratos' Admin API.\n\nIf this endpoint\
- \ is called via an AJAX request, the response contains the flow without a\
- \ redirect. In the\ncase of an error, the `error.id` of the JSON response\
- \ body can be one of:\n\n`security_csrf_violation`: Unable to fetch the flow\
- \ because a CSRF violation occurred.\n`session_inactive`: No Ory Session was\
- \ found - sign in a user first.\n`security_identity_mismatch`: The flow was\
- \ interrupted with `session_refresh_required` but apparently some other\n\
- identity logged in instead.\n\nMore information can be found at [Ory Kratos\
- \ User Settings & Profile Management Documentation](../self-service/flows/user-settings)."
+ description: |-
+ When accessing this endpoint through Ory Kratos' Public API you must ensure that either the Ory Kratos Session Cookie
+ or the Ory Kratos Session Token are set.
+
+ Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator
+ Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn
+ credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user
+ to sign in with the second factor or change the configuration.
+
+ You can access this endpoint without credentials when using Ory Kratos' Admin API.
+
+ If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the
+ case of an error, the `error.id` of the JSON response body can be one of:
+
+ `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred.
+ `session_inactive`: No Ory Session was found - sign in a user first.
+ `security_identity_mismatch`: The flow was interrupted with `session_refresh_required` but apparently some other
+ identity logged in instead.
+
+ More information can be found at [Ory Kratos User Settings & Profile Management Documentation](../self-service/flows/user-settings).
operationId: getSettingsFlow
parameters:
- description: |-
@@ -6092,8 +6317,11 @@ paths:
schema:
type: string
style: form
- - description: "The Session Token\n\nWhen using the SDK in an app without a\
- \ browser, please include the\nsession token here."
+ - description: |-
+ The Session Token
+
+ When using the SDK in an app without a browser, please include the
+ session token here.
explode: false
in: header
name: X-Session-Token
@@ -6101,9 +6329,11 @@ paths:
schema:
type: string
style: simple
- - description: "HTTP Cookies\n\nWhen using the SDK in a browser app, on the\
- \ server side you must include the HTTP Cookie Header\nsent by the client\
- \ to your server here. This ensures that CSRF and session cookies are respected."
+ - description: |-
+ HTTP Cookies
+
+ When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header
+ sent by the client to your server here. This ensures that CSRF and session cookies are respected.
explode: false
in: header
name: Cookie
@@ -6153,28 +6383,23 @@ paths:
- frontend
/self-service/verification:
post:
- description: "Use this endpoint to complete a verification flow. This endpoint\n\
- behaves differently for API and browser flows and has several states:\n\n\
- `choose_method` expects `flow` (in the URL query) and `email` (in the body)\
- \ to be sent\nand works with API- and Browser-initiated flows.\nFor API clients\
- \ and Browser clients with HTTP Header `Accept: application/json` it either\
- \ returns a HTTP 200 OK when the form is valid and HTTP 400 OK when the form\
- \ is invalid\nand a HTTP 303 See Other redirect with a fresh verification\
- \ flow if the flow was otherwise invalid (e.g. expired).\nFor Browser clients\
- \ without HTTP Header `Accept` or with `Accept: text/*` it returns a HTTP\
- \ 303 See Other redirect to the Verification UI URL with the Verification\
- \ Flow ID appended.\n`sent_email` is the success state after `choose_method`\
- \ when using the `link` method and allows the user to request another verification\
- \ email. It\nworks for both API and Browser-initiated flows and returns the\
- \ same responses as the flow in `choose_method` state.\n`passed_challenge`\
- \ expects a `token` to be sent in the URL query and given the nature of the\
- \ flow (\"sending a verification link\")\ndoes not have any API capabilities.\
- \ The server responds with a HTTP 303 See Other redirect either to the Settings\
- \ UI URL\n(if the link was valid) and instructs the user to update their password,\
- \ or a redirect to the Verification UI URL with\na new Verification Flow ID\
- \ which contains an error message that the verification link was invalid.\n\
- \nMore information can be found at [Ory Kratos Email and Phone Verification\
- \ Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation)."
+ description: |-
+ Use this endpoint to complete a verification flow. This endpoint
+ behaves differently for API and browser flows and has several states:
+
+ `choose_method` expects `flow` (in the URL query) and `email` (in the body) to be sent
+ and works with API- and Browser-initiated flows.
+ For API clients and Browser clients with HTTP Header `Accept: application/json` it either returns a HTTP 200 OK when the form is valid and HTTP 400 OK when the form is invalid
+ and a HTTP 303 See Other redirect with a fresh verification flow if the flow was otherwise invalid (e.g. expired).
+ For Browser clients without HTTP Header `Accept` or with `Accept: text/*` it returns a HTTP 303 See Other redirect to the Verification UI URL with the Verification Flow ID appended.
+ `sent_email` is the success state after `choose_method` when using the `link` method and allows the user to request another verification email. It
+ works for both API and Browser-initiated flows and returns the same responses as the flow in `choose_method` state.
+ `passed_challenge` expects a `token` to be sent in the URL query and given the nature of the flow ("sending a verification link")
+ does not have any API capabilities. The server responds with a HTTP 303 See Other redirect either to the Settings UI URL
+ (if the link was valid) and instructs the user to update their password, or a redirect to the Verification UI URL with
+ a new Verification Flow ID which contains an error message that the verification link was invalid.
+
+ More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation).
operationId: updateVerificationFlow
parameters:
- description: |-
@@ -6203,9 +6428,11 @@ paths:
schema:
type: string
style: form
- - description: "HTTP Cookies\n\nWhen using the SDK in a browser app, on the\
- \ server side you must include the HTTP Cookie Header\nsent by the client\
- \ to your server here. This ensures that CSRF and session cookies are respected."
+ - description: |-
+ HTTP Cookies
+
+ When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header
+ sent by the client to your server here. This ensures that CSRF and session cookies are respected.
explode: false
in: header
name: Cookie
@@ -6231,8 +6458,9 @@ paths:
$ref: '#/components/schemas/verificationFlow'
description: verificationFlow
"303":
- description: "Empty responses are sent when, for example, resources are\
- \ deleted. The HTTP status code for empty responses is\ntypically 201."
+ description: |-
+ Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is
+ typically 201.
"400":
content:
application/json:
@@ -6256,15 +6484,18 @@ paths:
- frontend
/self-service/verification/api:
get:
- description: "This endpoint initiates a verification flow for API clients such\
- \ as mobile devices, smart TVs, and so on.\n\nTo fetch an existing verification\
- \ flow call `/self-service/verification/flows?flow=`.\n\nYou MUST\
- \ NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS)\
- \ nor server-side (Java Server\nPages, NodeJS, PHP, Golang, ...) browser applications.\
- \ Using this endpoint in these applications will make\nyou vulnerable to a\
- \ variety of CSRF attacks.\n\nThis endpoint MUST ONLY be used in scenarios\
- \ such as native mobile apps (React Native, Objective C, Swift, Java, ...).\n\
- \nMore information can be found at [Ory Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation)."
+ description: |-
+ This endpoint initiates a verification flow for API clients such as mobile devices, smart TVs, and so on.
+
+ To fetch an existing verification flow call `/self-service/verification/flows?flow=`.
+
+ You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server
+ Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make
+ you vulnerable to a variety of CSRF attacks.
+
+ This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...).
+
+ More information can be found at [Ory Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation).
operationId: createNativeVerificationFlow
responses:
"200":
@@ -6290,13 +6521,15 @@ paths:
- frontend
/self-service/verification/browser:
get:
- description: "This endpoint initializes a browser-based account verification\
- \ flow. Once initialized, the browser will be redirected to\n`selfservice.flows.verification.ui_url`\
- \ with the flow ID set as the query parameter `?flow=`.\n\nIf this endpoint\
- \ is called via an AJAX request, the response contains the recovery flow without\
- \ any redirects.\n\nThis endpoint is NOT INTENDED for API clients and only\
- \ works with browsers (Chrome, Firefox, ...).\n\nMore information can be found\
- \ at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation)."
+ description: |-
+ This endpoint initializes a browser-based account verification flow. Once initialized, the browser will be redirected to
+ `selfservice.flows.verification.ui_url` with the flow ID set as the query parameter `?flow=`.
+
+ If this endpoint is called via an AJAX request, the response contains the recovery flow without any redirects.
+
+ This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...).
+
+ More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation).
operationId: createBrowserVerificationFlow
parameters:
- description: The URL to return the browser to after the flow was completed.
@@ -6315,8 +6548,9 @@ paths:
$ref: '#/components/schemas/verificationFlow'
description: verificationFlow
"303":
- description: "Empty responses are sent when, for example, resources are\
- \ deleted. The HTTP status code for empty responses is\ntypically 201."
+ description: |-
+ Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is
+ typically 201.
default:
content:
application/json:
@@ -6328,17 +6562,25 @@ paths:
- frontend
/self-service/verification/flows:
get:
- description: "This endpoint returns a verification flow's context with, for\
- \ example, error details and other information.\n\nBrowser flows expect the\
- \ anti-CSRF cookie to be included in the request's HTTP Cookie Header.\nFor\
- \ AJAX requests you must ensure that cookies are included in the request or\
- \ requests will fail.\n\nIf you use the browser-flow for server-side apps,\
- \ the services need to run on a common top-level-domain\nand you need to forward\
- \ the incoming HTTP Cookie header to this endpoint:\n\n```js\npseudo-code\
- \ example\nrouter.get('/recovery', async function (req, res) {\nconst flow\
- \ = await client.getVerificationFlow(req.header('cookie'), req.query['flow'])\n\
- \nres.render('verification', flow)\n})\n```\n\nMore information can be found\
- \ at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation)."
+ description: |-
+ This endpoint returns a verification flow's context with, for example, error details and other information.
+
+ Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header.
+ For AJAX requests you must ensure that cookies are included in the request or requests will fail.
+
+ If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain
+ and you need to forward the incoming HTTP Cookie header to this endpoint:
+
+ ```js
+ pseudo-code example
+ router.get('/recovery', async function (req, res) {
+ const flow = await client.getVerificationFlow(req.header('cookie'), req.query['flow'])
+
+ res.render('verification', flow)
+ })
+ ```
+
+ More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation).
operationId: getVerificationFlow
parameters:
- description: |-
@@ -6409,13 +6651,12 @@ paths:
schema:
type: string
style: simple
- - description: "Set the Cookie Header. This is especially useful when calling\
- \ this endpoint from a server-side application. In that\nscenario you must\
- \ include the HTTP Cookie Header which originally was included in the request\
- \ to your server.\nAn example of a session in the HTTP Cookie Header is:\
- \ `ory_kratos_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f==`.\n\
- \nIt is ok if more than one cookie are included here as all other cookies\
- \ will be ignored."
+ - description: |-
+ Set the Cookie Header. This is especially useful when calling this endpoint from a server-side application. In that
+ scenario you must include the HTTP Cookie Header which originally was included in the request to your server.
+ An example of a session in the HTTP Cookie Header is: `ory_kratos_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f==`.
+
+ It is ok if more than one cookie are included here as all other cookies will be ignored.
explode: false
in: header
name: Cookie
@@ -6457,9 +6698,12 @@ paths:
The current session can be retrieved by calling the `/sessions/whoami` endpoint.
operationId: listMySessions
parameters:
- - description: "Deprecated Items per Page\n\nDEPRECATED: Please use `page_token`\
- \ instead. This parameter will be removed in the future.\n\nThis is the\
- \ number of items per page."
+ - description: |-
+ Deprecated Items per Page
+
+ DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future.
+
+ This is the number of items per page.
explode: true
in: query
name: per_page
@@ -6471,14 +6715,17 @@ paths:
minimum: 1
type: integer
style: form
- - description: "Deprecated Pagination Page\n\nDEPRECATED: Please use `page_token`\
- \ instead. This parameter will be removed in the future.\n\nThis value is\
- \ currently an integer, but it is not sequential. The value is not the page\
- \ number, but a\nreference. The next page can be any number and some numbers\
- \ might return an empty list.\n\nFor example, page 2 might not follow after\
- \ page 1. And even if page 3 and 5 exist, but page 4 might not exist.\n\
- The first page can be retrieved by omitting this parameter. Following page\
- \ pointers will be returned in the\n`Link` header."
+ - description: |-
+ Deprecated Pagination Page
+
+ DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future.
+
+ This value is currently an integer, but it is not sequential. The value is not the page number, but a
+ reference. The next page can be any number and some numbers might return an empty list.
+
+ For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist.
+ The first page can be retrieved by omitting this parameter. Following page pointers will be returned in the
+ `Link` header.
explode: true
in: query
name: page
@@ -6487,8 +6734,11 @@ paths:
format: int64
type: integer
style: form
- - description: "Page Size\n\nThis is the number of items per page to return.\
- \ For details on pagination please head over to the\n[pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination)."
+ - description: |-
+ Page Size
+
+ This is the number of items per page to return. For details on pagination please head over to the
+ [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
explode: true
in: query
name: page_size
@@ -6500,8 +6750,11 @@ paths:
minimum: 1
type: integer
style: form
- - description: "Next Page Token\n\nThe next page token. For details on pagination\
- \ please head over to the\n[pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination)."
+ - description: |-
+ Next Page Token
+
+ The next page token. For details on pagination please head over to the
+ [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
explode: true
in: query
name: page_token
@@ -6520,13 +6773,12 @@ paths:
schema:
type: string
style: simple
- - description: "Set the Cookie Header. This is especially useful when calling\
- \ this endpoint from a server-side application. In that\nscenario you must\
- \ include the HTTP Cookie Header which originally was included in the request\
- \ to your server.\nAn example of a session in the HTTP Cookie Header is:\
- \ `ory_kratos_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f==`.\n\
- \nIt is ok if more than one cookie are included here as all other cookies\
- \ will be ignored."
+ - description: |-
+ Set the Cookie Header. This is especially useful when calling this endpoint from a server-side application. In that
+ scenario you must include the HTTP Cookie Header which originally was included in the request to your server.
+ An example of a session in the HTTP Cookie Header is: `ory_kratos_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f==`.
+
+ It is ok if more than one cookie are included here as all other cookies will be ignored.
explode: false
in: header
name: Cookie
@@ -6620,40 +6872,66 @@ paths:
- frontend
/sessions/whoami:
get:
- description: "Uses the HTTP Headers in the GET request to determine (e.g. by\
- \ using checking the cookies) who is authenticated.\nReturns a session object\
- \ in the body or 401 if the credentials are invalid or no credentials were\
- \ sent.\nWhen the request it successful it adds the user ID to the 'X-Kratos-Authenticated-Identity-Id'\
- \ header\nin the response.\n\nIf you call this endpoint from a server-side\
- \ application, you must forward the HTTP Cookie Header to this endpoint:\n\
- \n```js\npseudo-code example\nrouter.get('/protected-endpoint', async function\
- \ (req, res) {\nconst session = await client.toSession(undefined, req.header('cookie'))\n\
- \nconsole.log(session)\n})\n```\n\nWhen calling this endpoint from a non-browser\
- \ application (e.g. mobile app) you must include the session token:\n\n```js\n\
- pseudo-code example\n...\nconst session = await client.toSession(\"the-session-token\"\
- )\n\nconsole.log(session)\n```\n\nWhen using a token template, the token is\
- \ included in the `tokenized` field of the session.\n\n```js\npseudo-code\
- \ example\n...\nconst session = await client.toSession(\"the-session-token\"\
- , { tokenize_as: \"example-jwt-template\" })\n\nconsole.log(session.tokenized)\
- \ // The JWT\n```\n\nDepending on your configuration this endpoint might return\
- \ a 403 status code if the session has a lower Authenticator\nAssurance Level\
- \ (AAL) than is possible for the identity. This can happen if the identity\
- \ has password + webauthn\ncredentials (which would result in AAL2) but the\
- \ session has only AAL1. If this error occurs, ask the user\nto sign in with\
- \ the second factor or change the configuration.\n\nThis endpoint is useful\
- \ for:\n\nAJAX calls. Remember to send credentials and set up CORS correctly!\n\
- Reverse proxies and API Gateways\nServer-side calls - use the `X-Session-Token`\
- \ header!\n\nThis endpoint authenticates users by checking:\n\nif the `Cookie`\
- \ HTTP header was set containing an Ory Kratos Session Cookie;\nif the `Authorization:\
- \ bearer ` HTTP header was set with a valid Ory Kratos\
- \ Session Token;\nif the `X-Session-Token` HTTP header was set with a valid\
- \ Ory Kratos Session Token.\n\nIf none of these headers are set or the cookie\
- \ or token are invalid, the endpoint returns a HTTP 401 status code.\n\nAs\
- \ explained above, this request may fail due to several reasons. The `error.id`\
- \ can be one of:\n\n`session_inactive`: No active session was found in the\
- \ request (e.g. no Ory Session Cookie / Ory Session Token).\n`session_aal2_required`:\
- \ An active session was found but it does not fulfil the Authenticator Assurance\
- \ Level, implying that the session must (e.g.) authenticate the second factor."
+ description: |-
+ Uses the HTTP Headers in the GET request to determine (e.g. by using checking the cookies) who is authenticated.
+ Returns a session object in the body or 401 if the credentials are invalid or no credentials were sent.
+ When the request it successful it adds the user ID to the 'X-Kratos-Authenticated-Identity-Id' header
+ in the response.
+
+ If you call this endpoint from a server-side application, you must forward the HTTP Cookie Header to this endpoint:
+
+ ```js
+ pseudo-code example
+ router.get('/protected-endpoint', async function (req, res) {
+ const session = await client.toSession(undefined, req.header('cookie'))
+
+ console.log(session)
+ })
+ ```
+
+ When calling this endpoint from a non-browser application (e.g. mobile app) you must include the session token:
+
+ ```js
+ pseudo-code example
+ ...
+ const session = await client.toSession("the-session-token")
+
+ console.log(session)
+ ```
+
+ When using a token template, the token is included in the `tokenized` field of the session.
+
+ ```js
+ pseudo-code example
+ ...
+ const session = await client.toSession("the-session-token", { tokenize_as: "example-jwt-template" })
+
+ console.log(session.tokenized) // The JWT
+ ```
+
+ Depending on your configuration this endpoint might return a 403 status code if the session has a lower Authenticator
+ Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn
+ credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user
+ to sign in with the second factor or change the configuration.
+
+ This endpoint is useful for:
+
+ AJAX calls. Remember to send credentials and set up CORS correctly!
+ Reverse proxies and API Gateways
+ Server-side calls - use the `X-Session-Token` header!
+
+ This endpoint authenticates users by checking:
+
+ if the `Cookie` HTTP header was set containing an Ory Kratos Session Cookie;
+ if the `Authorization: bearer ` HTTP header was set with a valid Ory Kratos Session Token;
+ if the `X-Session-Token` HTTP header was set with a valid Ory Kratos Session Token.
+
+ If none of these headers are set or the cookie or token are invalid, the endpoint returns a HTTP 401 status code.
+
+ As explained above, this request may fail due to several reasons. The `error.id` can be one of:
+
+ `session_inactive`: No active session was found in the request (e.g. no Ory Session Cookie / Ory Session Token).
+ `session_aal2_required`: An active session was found but it does not fulfil the Authenticator Assurance Level, implying that the session must (e.g.) authenticate the second factor.
operationId: toSession
parameters:
- description: Set the Session Token when calling from non-browser clients.
@@ -6666,13 +6944,12 @@ paths:
schema:
type: string
style: simple
- - description: "Set the Cookie Header. This is especially useful when calling\
- \ this endpoint from a server-side application. In that\nscenario you must\
- \ include the HTTP Cookie Header which originally was included in the request\
- \ to your server.\nAn example of a session in the HTTP Cookie Header is:\
- \ `ory_kratos_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f==`.\n\
- \nIt is ok if more than one cookie are included here as all other cookies\
- \ will be ignored."
+ - description: |-
+ Set the Cookie Header. This is especially useful when calling this endpoint from a server-side application. In that
+ scenario you must include the HTTP Cookie Header which originally was included in the request to your server.
+ An example of a session in the HTTP Cookie Header is: `ory_kratos_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f==`.
+
+ It is ok if more than one cookie are included here as all other cookies will be ignored.
example: ory_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f==
explode: false
in: header
@@ -6681,9 +6958,10 @@ paths:
schema:
type: string
style: simple
- - description: "Returns the session additionally as a token (such as a JWT)\n\
- \nThe value of this parameter has to be a valid, configured Ory Session\
- \ token template. For more information head over to [the documentation](http://ory.sh/docs/identities/session-to-jwt-cors)."
+ - description: |-
+ Returns the session additionally as a token (such as a JWT)
+
+ The value of this parameter has to be a valid, configured Ory Session token template. For more information head over to [the documentation](http://ory.sh/docs/identities/session-to-jwt-cors).
explode: true
in: query
name: tokenize_as
@@ -6743,13 +7021,12 @@ paths:
schema:
type: string
style: simple
- - description: "Set the Cookie Header. This is especially useful when calling\
- \ this endpoint from a server-side application. In that\nscenario you must\
- \ include the HTTP Cookie Header which originally was included in the request\
- \ to your server.\nAn example of a session in the HTTP Cookie Header is:\
- \ `ory_kratos_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f==`.\n\
- \nIt is ok if more than one cookie are included here as all other cookies\
- \ will be ignored."
+ - description: |-
+ Set the Cookie Header. This is especially useful when calling this endpoint from a server-side application. In that
+ scenario you must include the HTTP Cookie Header which originally was included in the request to your server.
+ An example of a session in the HTTP Cookie Header is: `ory_kratos_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f==`.
+
+ It is ok if more than one cookie are included here as all other cookies will be ignored.
explode: false
in: header
name: Cookie
@@ -6759,8 +7036,9 @@ paths:
style: simple
responses:
"204":
- description: "Empty responses are sent when, for example, resources are\
- \ deleted. The HTTP status code for empty responses is\ntypically 201."
+ description: |-
+ Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is
+ typically 201.
"400":
content:
application/json:
@@ -6784,11 +7062,13 @@ paths:
- frontend
/userinfo:
get:
- description: "This endpoint returns the payload of the ID Token, including `session.id_token`\
- \ values, of\nthe provided OAuth 2.0 Access Token's consent request.\n\nIn\
- \ the case of authentication error, a WWW-Authenticate header might be set\
- \ in the response\nwith more information about the error. See [the spec](https://datatracker.ietf.org/doc/html/rfc6750#section-3)\n\
- for more details about header format."
+ description: |-
+ This endpoint returns the payload of the ID Token, including `session.id_token` values, of
+ the provided OAuth 2.0 Access Token's consent request.
+
+ In the case of authentication error, a WWW-Authenticate header might be set in the response
+ with more information about the error. See [the spec](https://datatracker.ietf.org/doc/html/rfc6750#section-3)
+ for more details about header format.
operationId: getOidcUserInfo
responses:
"200":
@@ -6810,11 +7090,14 @@ paths:
- oidc
/version:
get:
- description: "This endpoint returns the version of Ory Kratos.\n\nIf the service\
- \ supports TLS Edge Termination, this endpoint does not require the\n`X-Forwarded-Proto`\
- \ header to be set.\n\nBe aware that if you are running multiple nodes of\
- \ this service, the version will never\nrefer to the cluster state, only to\
- \ a single instance."
+ description: |-
+ This endpoint returns the version of Ory Kratos.
+
+ If the service supports TLS Edge Termination, this endpoint does not require the
+ `X-Forwarded-Proto` header to be set.
+
+ Be aware that if you are running multiple nodes of this service, the version will never
+ refer to the cluster state, only to a single instance.
operationId: getVersion
responses:
"200":
@@ -6831,8 +7114,9 @@ paths:
components:
responses:
emptyResponse:
- description: "Empty responses are sent when, for example, resources are deleted.\
- \ The HTTP status code for empty responses is\ntypically 201."
+ description: |-
+ Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is
+ typically 201.
errorOAuth2BadRequest:
content:
application/json:
@@ -7184,24 +7468,14 @@ components:
\ JSON for SQL storage."
type: array
SubscriptionStatus:
- description: "For `collection_method=charge_automatically` a subscription moves\
- \ into `incomplete` if the initial payment attempt fails. A subscription in\
- \ this state can only have metadata and default_source updated. Once the first\
- \ invoice is paid, the subscription moves into an `active` state. If the first\
- \ invoice is not paid within 23 hours, the subscription transitions to `incomplete_expired`.\
- \ This is a terminal state, the open invoice will be voided and no further\
- \ invoices will be generated.\n\nA subscription that is currently in a trial\
- \ period is `trialing` and moves to `active` when the trial period is over.\n\
- \nIf subscription `collection_method=charge_automatically` it becomes `past_due`\
- \ when payment to renew it fails and `canceled` or `unpaid` (depending on\
- \ your subscriptions settings) when Stripe has exhausted all payment retry\
- \ attempts.\n\nIf subscription `collection_method=send_invoice` it becomes\
- \ `past_due` when its invoice is not paid by the due date, and `canceled`\
- \ or `unpaid` if it is still not paid by an additional deadline after that.\
- \ Note that when a subscription has a status of `unpaid`, no subsequent invoices\
- \ will be attempted (invoices will be created, but then immediately automatically\
- \ closed). After receiving updated payment information from a customer, you\
- \ may choose to reopen and pay their closed invoices."
+ description: |-
+ For `collection_method=charge_automatically` a subscription moves into `incomplete` if the initial payment attempt fails. A subscription in this state can only have metadata and default_source updated. Once the first invoice is paid, the subscription moves into an `active` state. If the first invoice is not paid within 23 hours, the subscription transitions to `incomplete_expired`. This is a terminal state, the open invoice will be voided and no further invoices will be generated.
+
+ A subscription that is currently in a trial period is `trialing` and moves to `active` when the trial period is over.
+
+ If subscription `collection_method=charge_automatically` it becomes `past_due` when payment to renew it fails and `canceled` or `unpaid` (depending on your subscriptions settings) when Stripe has exhausted all payment retry attempts.
+
+ If subscription `collection_method=send_invoice` it becomes `past_due` when its invoice is not paid by the due date, and `canceled` or `unpaid` if it is still not paid by an additional deadline after that. Note that when a subscription has a status of `unpaid`, no subsequent invoices will be attempted (invoices will be created, but then immediately automatically closed). After receiving updated payment information from a customer, you may choose to reopen and pay their closed invoices.
title: "Possible values are `incomplete`, `incomplete_expired`, `trialing`,\
\ `active`, `past_due`, `canceled`, or `unpaid`."
type: string
@@ -7257,14 +7531,14 @@ components:
title: NullTime implements sql.NullTime functionality.
type: string
remember:
- description: "Remember, if set to true, tells ORY Hydra to remember this\
- \ consent authorization and reuse it if the same\nclient asks the same\
- \ user for the same, or a subset of, scope."
+ description: |-
+ Remember, if set to true, tells ORY Hydra to remember this consent authorization and reuse it if the same
+ client asks the same user for the same, or a subset of, scope.
type: boolean
remember_for:
- description: "RememberFor sets how long the consent authorization should\
- \ be remembered for in seconds. If set to `0`, the\nauthorization will\
- \ be remembered indefinitely."
+ description: |-
+ RememberFor sets how long the consent authorization should be remembered for in seconds. If set to `0`, the
+ authorization will be remembered indefinitely.
format: int64
type: integer
session:
@@ -7277,13 +7551,11 @@ components:
id_token: ""
properties:
access_token:
- description: "AccessToken sets session data for the access and refresh token,\
- \ as well as any future tokens issued by the\nrefresh grant. Keep in mind\
- \ that this data will be available to anyone performing OAuth 2.0 Challenge\
- \ Introspection.\nIf only your services can perform OAuth 2.0 Challenge\
- \ Introspection, this is usually fine. But if third parties\ncan access\
- \ that endpoint as well, sensitive data from the session might be exposed\
- \ to them. Use with care!"
+ description: |-
+ AccessToken sets session data for the access and refresh token, as well as any future tokens issued by the
+ refresh grant. Keep in mind that this data will be available to anyone performing OAuth 2.0 Challenge Introspection.
+ If only your services can perform OAuth 2.0 Challenge Introspection, this is usually fine. But if third parties
+ can access that endpoint as well, sensitive data from the session might be exposed to them. Use with care!
id_token:
description: |-
IDToken sets session data for the OpenID Connect ID token. Keep in mind that the session'id payloads are readable
@@ -7293,9 +7565,9 @@ components:
acceptOAuth2LoginRequest:
properties:
acr:
- description: "ACR sets the Authentication AuthorizationContext Class Reference\
- \ value for this authentication session. You can use it\nto express that,\
- \ for example, a user authenticated using two factor authentication."
+ description: |-
+ ACR sets the Authentication AuthorizationContext Class Reference value for this authentication session. You can use it
+ to express that, for example, a user authenticated using two factor authentication.
type: string
amr:
items:
@@ -7308,47 +7580,48 @@ components:
\ JSON, SQL, and Swagger."
type: object
extend_session_lifespan:
- description: "Extend OAuth2 authentication session lifespan\n\nIf set to\
- \ `true`, the OAuth2 authentication cookie lifespan is extended. This\
- \ is for example useful if you want the user to be able to use `prompt=none`\
- \ continuously.\n\nThis value can only be set to `true` if the user has\
- \ an authentication, which is the case if the `skip` value is `true`."
+ description: |-
+ Extend OAuth2 authentication session lifespan
+
+ If set to `true`, the OAuth2 authentication cookie lifespan is extended. This is for example useful if you want the user to be able to use `prompt=none` continuously.
+
+ This value can only be set to `true` if the user has an authentication, which is the case if the `skip` value is `true`.
type: boolean
force_subject_identifier:
- description: "ForceSubjectIdentifier forces the \"pairwise\" user ID of\
- \ the end-user that authenticated. The \"pairwise\" user ID refers to\
- \ the\n(Pairwise Identifier Algorithm)[http://openid.net/specs/openid-connect-core-1_0.html#PairwiseAlg]\
- \ of the OpenID\nConnect specification. It allows you to set an obfuscated\
- \ subject (\"user\") identifier that is unique to the client.\n\nPlease\
- \ note that this changes the user ID on endpoint /userinfo and sub claim\
- \ of the ID Token. It does not change the\nsub claim in the OAuth 2.0\
- \ Introspection.\n\nPer default, ORY Hydra handles this value with its\
- \ own algorithm. In case you want to set this yourself\nyou can use this\
- \ field. Please note that setting this field has no effect if `pairwise`\
- \ is not configured in\nORY Hydra or the OAuth 2.0 Client does not expect\
- \ a pairwise identifier (set via `subject_type` key in the client's\n\
- configuration).\n\nPlease also be aware that ORY Hydra is unable to properly\
- \ compute this value during authentication. This implies\nthat you have\
- \ to compute this value on every authentication process (probably depending\
- \ on the client ID or some\nother unique value).\n\nIf you fail to compute\
- \ the proper value, then authentication processes which have id_token_hint\
- \ set might fail."
+ description: |-
+ ForceSubjectIdentifier forces the "pairwise" user ID of the end-user that authenticated. The "pairwise" user ID refers to the
+ (Pairwise Identifier Algorithm)[http://openid.net/specs/openid-connect-core-1_0.html#PairwiseAlg] of the OpenID
+ Connect specification. It allows you to set an obfuscated subject ("user") identifier that is unique to the client.
+
+ Please note that this changes the user ID on endpoint /userinfo and sub claim of the ID Token. It does not change the
+ sub claim in the OAuth 2.0 Introspection.
+
+ Per default, ORY Hydra handles this value with its own algorithm. In case you want to set this yourself
+ you can use this field. Please note that setting this field has no effect if `pairwise` is not configured in
+ ORY Hydra or the OAuth 2.0 Client does not expect a pairwise identifier (set via `subject_type` key in the client's
+ configuration).
+
+ Please also be aware that ORY Hydra is unable to properly compute this value during authentication. This implies
+ that you have to compute this value on every authentication process (probably depending on the client ID or some
+ other unique value).
+
+ If you fail to compute the proper value, then authentication processes which have id_token_hint set might fail.
type: string
identity_provider_session_id:
- description: "IdentityProviderSessionID is the session ID of the end-user\
- \ that authenticated.\nIf specified, we will use this value to propagate\
- \ the logout."
+ description: |-
+ IdentityProviderSessionID is the session ID of the end-user that authenticated.
+ If specified, we will use this value to propagate the logout.
type: string
remember:
- description: "Remember, if set to true, tells ORY Hydra to remember this\
- \ user by telling the user agent (browser) to store\na cookie with authentication\
- \ data. If the same user performs another OAuth 2.0 Authorization Request,\
- \ he/she\nwill not be asked to log in again."
+ description: |-
+ Remember, if set to true, tells ORY Hydra to remember this user by telling the user agent (browser) to store
+ a cookie with authentication data. If the same user performs another OAuth 2.0 Authorization Request, he/she
+ will not be asked to log in again.
type: boolean
remember_for:
- description: "RememberFor sets how long the authentication should be remembered\
- \ for in seconds. If set to `0`, the\nauthorization will be remembered\
- \ for the duration of the browser session (using a session cookie)."
+ description: |-
+ RememberFor sets how long the authentication should be remembered for in seconds. If set to `0`, the
+ authorization will be remembered for the duration of the browser session (using a session cookie).
format: int64
type: integer
subject:
@@ -7364,16 +7637,21 @@ components:
project_id: project_id
properties:
project_id:
- description: "The Active Project ID\n\nformat: uuid"
+ description: |-
+ The Active Project ID
+
+ format: uuid
type: string
type: object
authenticatorAssuranceLevel:
- description: "The authenticator assurance level can be one of \"aal1\", \"aal2\"\
- , or \"aal3\". A higher number means that it is harder\nfor an attacker to\
- \ compromise the account.\n\nGenerally, \"aal1\" implies that one authentication\
- \ factor was used while AAL2 implies that two factors (e.g.\npassword + TOTP)\
- \ have been used.\n\nTo learn more about these levels please head over to:\
- \ https://www.ory.sh/kratos/docs/concepts/credentials"
+ description: |-
+ The authenticator assurance level can be one of "aal1", "aal2", or "aal3". A higher number means that it is harder
+ for an attacker to compromise the account.
+
+ Generally, "aal1" implies that one authentication factor was used while AAL2 implies that two factors (e.g.
+ password + TOTP) have been used.
+
+ To learn more about these levels please head over to: https://www.ory.sh/kratos/docs/concepts/credentials
enum:
- aal0
- aal1
@@ -7454,21 +7732,26 @@ components:
description: Control API consistency guarantees
properties:
consistency:
- description: "Read Consistency Level (preview)\n\nThe read consistency level\
- \ determines the consistency guarantee for reads:\n\nstrong (slow): The\
- \ read is guaranteed to return the most recent data committed at the start\
- \ of the read.\neventual (very fast): The result will return data that\
- \ is about 4.8 seconds old.\n\nThe default consistency guarantee can be\
- \ changed in the Ory Network Console or using the Ory CLI with\n`ory patch\
- \ project --replace '/previews/default_read_consistency_level=\"strong\"\
- '`.\n\nSetting the default consistency level to `eventual` may cause regressions\
- \ in the future as we add consistency\ncontrols to more APIs. Currently,\
- \ the following APIs will be affected by this setting:\n\n`GET /admin/identities`\n\
- \nThis feature is in preview and only available in Ory Network.\n ConsistencyLevelUnset\
- \ ConsistencyLevelUnset is the unset / default consistency level.\nstrong\
- \ ConsistencyLevelStrong ConsistencyLevelStrong is the strong consistency\
- \ level.\neventual ConsistencyLevelEventual ConsistencyLevelEventual\
- \ is the eventual consistency level using follower read timestamps."
+ description: |-
+ Read Consistency Level (preview)
+
+ The read consistency level determines the consistency guarantee for reads:
+
+ strong (slow): The read is guaranteed to return the most recent data committed at the start of the read.
+ eventual (very fast): The result will return data that is about 4.8 seconds old.
+
+ The default consistency guarantee can be changed in the Ory Network Console or using the Ory CLI with
+ `ory patch project --replace '/previews/default_read_consistency_level="strong"'`.
+
+ Setting the default consistency level to `eventual` may cause regressions in the future as we add consistency
+ controls to more APIs. Currently, the following APIs will be affected by this setting:
+
+ `GET /admin/identities`
+
+ This feature is in preview and only available in Ory Network.
+ ConsistencyLevelUnset ConsistencyLevelUnset is the unset / default consistency level.
+ strong ConsistencyLevelStrong ConsistencyLevelStrong is the strong consistency level.
+ eventual ConsistencyLevelEventual ConsistencyLevelEventual is the eventual consistency level using follower read timestamps.
enum:
- ""
- strong
@@ -7607,9 +7890,10 @@ components:
state:
$ref: '#/components/schemas/identityState'
traits:
- description: "Traits represent an identity's traits. The identity is able\
- \ to create, modify, and delete traits\nin a self-service manner. The\
- \ input will always be validated against the JSON Schema defined\nin `schema_url`."
+ description: |-
+ Traits represent an identity's traits. The identity is able to create, modify, and delete traits
+ in a self-service manner. The input will always be validated against the JSON Schema defined
+ in `schema_url`.
type: object
verifiable_addresses:
description: |-
@@ -7629,8 +7913,10 @@ components:
description: Create JSON Web Key Set Request Body
properties:
alg:
- description: "JSON Web Key Algorithm\n\nThe algorithm to be used for creating\
- \ the key. Supports `RS256`, `ES256`, `ES512`, `HS512`, and `HS256`."
+ description: |-
+ JSON Web Key Algorithm
+
+ The algorithm to be used for creating the key. Supports `RS256`, `ES256`, `ES512`, `HS512`, and `HS256`.
type: string
kid:
description: |-
@@ -8357,8 +8643,10 @@ components:
the identity's traits.
type: string
schema_url:
- description: "SchemaURL is the URL of the endpoint where the identity's\
- \ traits schema can be fetched from.\n\nformat: url"
+ description: |-
+ SchemaURL is the URL of the endpoint where the identity's traits schema can be fetched from.
+
+ format: url
type: string
state:
$ref: '#/components/schemas/identityState'
@@ -8367,9 +8655,10 @@ components:
title: NullTime implements sql.NullTime functionality.
type: string
traits:
- description: "Traits represent an identity's traits. The identity is able\
- \ to create, modify, and delete traits\nin a self-service manner. The\
- \ input will always be validated against the JSON Schema defined\nin `schema_url`."
+ description: |-
+ Traits represent an identity's traits. The identity is able to create, modify, and delete traits
+ in a self-service manner. The input will always be validated against the JSON Schema defined
+ in `schema_url`.
updated_at:
description: UpdatedAt is a helper struct field for gobuffalo.pop.
format: date-time
@@ -8491,9 +8780,12 @@ components:
create:
$ref: '#/components/schemas/createIdentityBody'
patch_id:
- description: "The ID of this patch.\n\nThe patch ID is optional. If specified,\
- \ the ID will be returned in the\nresponse, so consumers of this API can\
- \ correlate the response with the\npatch."
+ description: |-
+ The ID of this patch.
+
+ The patch ID is optional. If specified, the ID will be returned in the
+ response, so consumers of this API can correlate the response with the
+ patch.
format: uuid
type: string
type: object
@@ -8567,9 +8859,10 @@ components:
title: An Identity's State
type: string
identityTraits:
- description: "Traits represent an identity's traits. The identity is able to\
- \ create, modify, and delete traits\nin a self-service manner. The input will\
- \ always be validated against the JSON Schema defined\nin `schema_url`."
+ description: |-
+ Traits represent an identity's traits. The identity is able to create, modify, and delete traits
+ in a self-service manner. The input will always be validated against the JSON Schema defined
+ in `schema_url`.
identityVerifiableAddressStatus:
description: VerifiableAddressStatus must not exceed 16 characters as that is
the limitation in the SQL Schema
@@ -8726,8 +9019,9 @@ components:
- plan
type: object
introspectedOAuth2Token:
- description: "Introspection contains an access token's session data as specified\
- \ by\n[IETF RFC 7662](https://tools.ietf.org/html/rfc7662)"
+ description: |-
+ Introspection contains an access token's session data as specified by
+ [IETF RFC 7662](https://tools.ietf.org/html/rfc7662)
example:
ext:
key: ""
@@ -8748,14 +9042,16 @@ components:
username: username
properties:
active:
- description: "Active is a boolean indicator of whether or not the presented\
- \ token\nis currently active. The specifics of a token's \"active\" state\n\
- will vary depending on the implementation of the authorization\nserver\
- \ and the information it keeps about its tokens, but a \"true\"\nvalue\
- \ return for the \"active\" property will generally indicate\nthat a given\
- \ token has been issued by this authorization server,\nhas not been revoked\
- \ by the resource owner, and is within its\ngiven time window of validity\
- \ (e.g., after its issuance time and\nbefore its expiration time)."
+ description: |-
+ Active is a boolean indicator of whether or not the presented token
+ is currently active. The specifics of a token's "active" state
+ will vary depending on the implementation of the authorization
+ server and the information it keeps about its tokens, but a "true"
+ value return for the "active" property will generally indicate
+ that a given token has been issued by this authorization server,
+ has not been revoked by the resource owner, and is within its
+ given time window of validity (e.g., after its issuance time and
+ before its expiration time).
type: boolean
aud:
description: Audience contains a list of the token's intended audiences.
@@ -8768,9 +9064,9 @@ components:
requested this token.
type: string
exp:
- description: "Expires at is an integer timestamp, measured in the number\
- \ of seconds\nsince January 1 1970 UTC, indicating when this token will\
- \ expire."
+ description: |-
+ Expires at is an integer timestamp, measured in the number of seconds
+ since January 1 1970 UTC, indicating when this token will expire.
format: int64
type: integer
ext:
@@ -8778,18 +9074,20 @@ components:
description: Extra is arbitrary data set by the session.
type: object
iat:
- description: "Issued at is an integer timestamp, measured in the number\
- \ of seconds\nsince January 1 1970 UTC, indicating when this token was\n\
- originally issued."
+ description: |-
+ Issued at is an integer timestamp, measured in the number of seconds
+ since January 1 1970 UTC, indicating when this token was
+ originally issued.
format: int64
type: integer
iss:
description: IssuerURL is a string representing the issuer of this token
type: string
nbf:
- description: "NotBefore is an integer timestamp, measured in the number\
- \ of seconds\nsince January 1 1970 UTC, indicating when this token is\
- \ not to be\nused before."
+ description: |-
+ NotBefore is an integer timestamp, measured in the number of seconds
+ since January 1 1970 UTC, indicating when this token is not to be
+ used before.
format: int64
type: integer
obfuscated_subject:
@@ -8803,9 +9101,10 @@ components:
scopes associated with this token.
type: string
sub:
- description: "Subject of the token, as defined in JWT [RFC7519].\nUsually\
- \ a machine-readable identifier of the resource owner who\nauthorized\
- \ this token."
+ description: |-
+ Subject of the token, as defined in JWT [RFC7519].
+ Usually a machine-readable identifier of the resource owner who
+ authorized this token.
type: string
token_type:
description: "TokenType is the introspected token's type, typically `Bearer`."
@@ -8838,8 +9137,10 @@ components:
description: A JSONPatch document as defined by RFC 6902
properties:
from:
- description: "This field is used together with operation \"move\" and uses\
- \ JSON Pointer notation.\n\nLearn more [about JSON Pointers](https://datatracker.ietf.org/doc/html/rfc6901#section-5)."
+ description: |-
+ This field is used together with operation "move" and uses JSON Pointer notation.
+
+ Learn more [about JSON Pointers](https://datatracker.ietf.org/doc/html/rfc6901#section-5).
example: /name
type: string
op:
@@ -8855,13 +9156,17 @@ components:
example: replace
type: string
path:
- description: "The path to the target path. Uses JSON pointer notation.\n\
- \nLearn more [about JSON Pointers](https://datatracker.ietf.org/doc/html/rfc6901#section-5)."
+ description: |-
+ The path to the target path. Uses JSON pointer notation.
+
+ Learn more [about JSON Pointers](https://datatracker.ietf.org/doc/html/rfc6901#section-5).
example: /name
type: string
value:
- description: "The value to be used within the operations.\n\nLearn more\
- \ [about JSON Pointers](https://datatracker.ietf.org/doc/html/rfc6901#section-5)."
+ description: |-
+ The value to be used within the operations.
+
+ Learn more [about JSON Pointers](https://datatracker.ietf.org/doc/html/rfc6901#section-5).
example: foobar
required:
- op
@@ -8895,11 +9200,12 @@ components:
alg: RS256
properties:
alg:
- description: "The \"alg\" (algorithm) parameter identifies the algorithm\
- \ intended for\nuse with the key. The values used should either be registered\
- \ in the\nIANA \"JSON Web Signature and Encryption Algorithms\" registry\n\
- established by [JWA] or be a value that contains a Collision-\nResistant\
- \ Name."
+ description: |-
+ The "alg" (algorithm) parameter identifies the algorithm intended for
+ use with the key. The values used should either be registered in the
+ IANA "JSON Web Signature and Encryption Algorithms" registry
+ established by [JWA] or be a value that contains a Collision-
+ Resistant Name.
example: RS256
type: string
crv:
@@ -8921,23 +9227,25 @@ components:
example: GawgguFyGrWKav7AX4VKUg
type: string
kid:
- description: "The \"kid\" (key ID) parameter is used to match a specific\
- \ key. This\nis used, for instance, to choose among a set of keys within\
- \ a JWK Set\nduring key rollover. The structure of the \"kid\" value\
- \ is\nunspecified. When \"kid\" values are used within a JWK Set, different\n\
- keys within the JWK Set SHOULD use distinct \"kid\" values. (One\nexample\
- \ in which different keys might use the same \"kid\" value is if\nthey\
- \ have different \"kty\" (key type) values but are considered to be\n\
- equivalent alternatives by the application using them.) The \"kid\"\n\
- value is a case-sensitive string."
+ description: |-
+ The "kid" (key ID) parameter is used to match a specific key. This
+ is used, for instance, to choose among a set of keys within a JWK Set
+ during key rollover. The structure of the "kid" value is
+ unspecified. When "kid" values are used within a JWK Set, different
+ keys within the JWK Set SHOULD use distinct "kid" values. (One
+ example in which different keys might use the same "kid" value is if
+ they have different "kty" (key type) values but are considered to be
+ equivalent alternatives by the application using them.) The "kid"
+ value is a case-sensitive string.
example: 1603dfe0af8f4596
type: string
kty:
- description: "The \"kty\" (key type) parameter identifies the cryptographic\
- \ algorithm\nfamily used with the key, such as \"RSA\" or \"EC\". \"kty\"\
- \ values should\neither be registered in the IANA \"JSON Web Key Types\"\
- \ registry\nestablished by [JWA] or be a value that contains a Collision-\n\
- Resistant Name. The \"kty\" value is a case-sensitive string."
+ description: |-
+ The "kty" (key type) parameter identifies the cryptographic algorithm
+ family used with the key, such as "RSA" or "EC". "kty" values should
+ either be registered in the IANA "JSON Web Key Types" registry
+ established by [JWA] or be a value that contains a Collision-
+ Resistant Name. The "kty" value is a case-sensitive string.
example: RSA
type: string
"n":
@@ -8964,12 +9272,14 @@ components:
example: f83OJ3D2xF1Bg8vub9tLe1gHMzV76e8Tus9uPHvRVEU
type: string
x5c:
- description: "The \"x5c\" (X.509 certificate chain) parameter contains a\
- \ chain of one\nor more PKIX certificates [RFC5280]. The certificate\
- \ chain is\nrepresented as a JSON array of certificate value strings.\
- \ Each\nstring in the array is a base64-encoded (Section 4 of [RFC4648]\
- \ --\nnot base64url-encoded) DER [ITU.X690.1994] PKIX certificate value.\n\
- The PKIX certificate containing the key value MUST be the first\ncertificate."
+ description: |-
+ The "x5c" (X.509 certificate chain) parameter contains a chain of one
+ or more PKIX certificates [RFC5280]. The certificate chain is
+ represented as a JSON array of certificate value strings. Each
+ string in the array is a base64-encoded (Section 4 of [RFC4648] --
+ not base64url-encoded) DER [ITU.X690.1994] PKIX certificate value.
+ The PKIX certificate containing the key value MUST be the first
+ certificate.
items:
type: string
type: array
@@ -9026,11 +9336,14 @@ components:
alg: RS256
properties:
keys:
- description: "List of JSON Web Keys\n\nThe value of the \"keys\" parameter\
- \ is an array of JSON Web Key (JWK)\nvalues. By default, the order of\
- \ the JWK values within the array does\nnot imply an order of preference\
- \ among them, although applications\nof JWK Sets can choose to assign\
- \ a meaning to the order for their\npurposes, if desired."
+ description: |-
+ List of JSON Web Keys
+
+ The value of the "keys" parameter is an array of JSON Web Key (JWK)
+ values. By default, the order of the JWK values within the array does
+ not imply an order of preference among them, although applications
+ of JWK Sets can choose to assign a meaning to the order for their
+ purposes, if desired.
items:
$ref: '#/components/schemas/jsonWebKey'
type: array
@@ -9069,10 +9382,11 @@ components:
- organizations
type: object
loginFlow:
- description: "This object represents a login flow. A login flow is initiated\
- \ at the \"Initiate Login API / Browser Flow\"\nendpoint by a client.\n\n\
- Once a login flow is completed successfully, a session cookie or session token\
- \ will be issued."
+ description: |-
+ This object represents a login flow. A login flow is initiated at the "Initiate Login API / Browser Flow"
+ endpoint by a client.
+
+ Once a login flow is completed successfully, a session cookie or session token will be issued.
example:
requested_aal: null
active: null
@@ -9233,13 +9547,15 @@ components:
format: date-time
type: string
expires_at:
- description: "ExpiresAt is the time (UTC) when the flow expires. If the\
- \ user still wishes to log in,\na new flow has to be initiated."
+ description: |-
+ ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to log in,
+ a new flow has to be initiated.
format: date-time
type: string
id:
- description: "ID represents the flow's unique ID. When performing the login\
- \ flow, this\nrepresents the id in the login UI's query parameter: http:///?flow="
+ description: |-
+ ID represents the flow's unique ID. When performing the login flow, this
+ represents the id in the login UI's query parameter: http:///?flow=
format: uuid
type: string
issued_at:
@@ -9273,17 +9589,18 @@ components:
description: ReturnTo contains the requested return_to URL.
type: string
session_token_exchange_code:
- description: "SessionTokenExchangeCode holds the secret code that the client\
- \ can use to retrieve a session token after the login flow has been completed.\n\
- This is only set if the client has requested a session token exchange\
- \ code, and if the flow is of type \"api\",\nand only on creating the\
- \ login flow."
+ description: |-
+ SessionTokenExchangeCode holds the secret code that the client can use to retrieve a session token after the login flow has been completed.
+ This is only set if the client has requested a session token exchange code, and if the flow is of type "api",
+ and only on creating the login flow.
type: string
state:
- description: "State represents the state of this request:\n\nchoose_method:\
- \ ask the user to choose a method to sign in with\nsent_email: the email\
- \ has been sent to the user\npassed_challenge: the request was successful\
- \ and the login challenge was passed."
+ description: |-
+ State represents the state of this request:
+
+ choose_method: ask the user to choose a method to sign in with
+ sent_email: the email has been sent to the user
+ passed_challenge: the request was successful and the login challenge was passed.
type:
description: The flow type can either be `api` or `browser`.
title: Type is the flow type.
@@ -9305,10 +9622,12 @@ components:
title: Login Flow
type: object
loginFlowState:
- description: "The state represents the state of the login flow.\n\nchoose_method:\
- \ ask the user to choose a method (e.g. login account via email)\nsent_email:\
- \ the email has been sent to the user\npassed_challenge: the request was successful\
- \ and the login challenge was passed."
+ description: |-
+ The state represents the state of the login flow.
+
+ choose_method: ask the user to choose a method (e.g. login account via email)
+ sent_email: the email has been sent to the user
+ passed_challenge: the request was successful and the login challenge was passed.
enum:
- choose_method
- sent_email
@@ -9325,8 +9644,10 @@ components:
description: LogoutToken can be used to perform logout using AJAX.
type: string
logout_url:
- description: "LogoutURL can be opened in a browser to sign the user out.\n\
- \nformat: uri"
+ description: |-
+ LogoutURL can be opened in a browser to sign the user out.
+
+ format: uri
type: string
required:
- logout_token
@@ -9431,9 +9752,15 @@ components:
format: uuid
type: string
status:
- description: "The invite's status\nKeeps track of the invites status such\
- \ as pending, accepted, declined, expired\npending PENDING\naccepted ACCEPTED\n\
- declined DECLINED\nexpired EXPIRED\ncancelled CANCELLED\nremoved REMOVED"
+ description: |-
+ The invite's status
+ Keeps track of the invites status such as pending, accepted, declined, expired
+ pending PENDING
+ accepted ACCEPTED
+ declined DECLINED
+ expired EXPIRED
+ cancelled CANCELLED
+ removed REMOVED
enum:
- pending
- accepted
@@ -9501,9 +9828,9 @@ components:
format: date-time
type: string
dispatches:
- description: "Dispatches store information about the attempts of delivering\
- \ a message\nMay contain an error if any happened, or just the `success`\
- \ state."
+ description: |-
+ Dispatches store information about the attempts of delivering a message
+ May contain an error if any happened, or just the `success` state.
items:
$ref: '#/components/schemas/messageDispatch'
type: array
@@ -9748,15 +10075,17 @@ components:
\ JSON for SQL storage."
type: array
hydra_oauth2_client_credentials_default_grant_allowed_scope:
- description: "Automatically grant authorized OAuth2 Scope in OAuth2 Client\
- \ Credentials Flow.\n\nEach OAuth2 Client is allowed to request a predefined\
- \ OAuth2 Scope (for example `read write`). If this option is enabled,\
- \ the full\nscope is automatically granted when performing the OAuth2\
- \ Client Credentials flow.\n\nIf disabled, the OAuth2 Client has to request\
- \ the scope in the OAuth2 request by providing the `scope` query parameter.\n\
- \nSetting this option to true is common if you need compatibility with\
- \ MITREid.\n\nThis governs the \"oauth2.client_credentials.default_grant_allowed_scope\"\
- \ setting."
+ description: |-
+ Automatically grant authorized OAuth2 Scope in OAuth2 Client Credentials Flow.
+
+ Each OAuth2 Client is allowed to request a predefined OAuth2 Scope (for example `read write`). If this option is enabled, the full
+ scope is automatically granted when performing the OAuth2 Client Credentials flow.
+
+ If disabled, the OAuth2 Client has to request the scope in the OAuth2 request by providing the `scope` query parameter.
+
+ Setting this option to true is common if you need compatibility with MITREid.
+
+ This governs the "oauth2.client_credentials.default_grant_allowed_scope" setting.
type: boolean
hydra_oauth2_exclude_not_before_claim:
description: |-
@@ -9765,18 +10094,20 @@ components:
This governs the "oauth2.exclude_not_before_claim" setting.
type: boolean
hydra_oauth2_grant_jwt_iat_optional:
- description: "Configures if the issued at (`iat`) claim is required in the\
- \ JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and\
- \ Authorization Grants (RFC7523).\n\nIf set to `false`, the `iat` claim\
- \ is required. Set this value to `true` only after careful consideration.\n\
- \nThis governs the \"oauth2.grant.jwt.iat_optional\" setting."
+ description: |-
+ Configures if the issued at (`iat`) claim is required in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523).
+
+ If set to `false`, the `iat` claim is required. Set this value to `true` only after careful consideration.
+
+ This governs the "oauth2.grant.jwt.iat_optional" setting.
type: boolean
hydra_oauth2_grant_jwt_jti_optional:
- description: "Configures if the JSON Web Token ID (`jti`) claim is required\
- \ in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication\
- \ and Authorization Grants (RFC7523).\n\nIf set to `false`, the `jti`\
- \ claim is required. Set this value to `true` only after careful consideration.\n\
- \nThis governs the \"oauth2.grant.jwt.jti_optional\" setting."
+ description: |-
+ Configures if the JSON Web Token ID (`jti`) claim is required in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523).
+
+ If set to `false`, the `jti` claim is required. Set this value to `true` only after careful consideration.
+
+ This governs the "oauth2.grant.jwt.jti_optional" setting.
type: boolean
hydra_oauth2_grant_jwt_max_ttl:
default: 720h
@@ -9865,9 +10196,12 @@ components:
type: string
hydra_strategies_access_token:
default: opaque
- description: "Defines access token type. jwt is a bad idea, see https://www.ory.sh/docs/hydra/advanced#json-web-tokens\n\
- \nThis governs the \"strategies.access_token\" setting.\nopaque Oauth2AccessTokenStrategyOpaque\n\
- jwt Oauth2AccessTokenStrategyJwt"
+ description: |-
+ Defines access token type. jwt is a bad idea, see https://www.ory.sh/docs/hydra/advanced#json-web-tokens
+
+ This governs the "strategies.access_token" setting.
+ opaque Oauth2AccessTokenStrategyOpaque
+ jwt Oauth2AccessTokenStrategyJwt
enum:
- opaque
- jwt
@@ -9966,11 +10300,12 @@ components:
This governs the "urls.logout" setting.
type: string
hydra_urls_post_logout_redirect:
- description: "When an OAuth2-related user agent requests to log out, they\
- \ will be redirected to this url afterwards per default.\n\nDefaults to\
- \ the Ory Account Experience in development and your application in production\
- \ mode when a custom domain is connected.\n\nThis governs the \"urls.post_logout_redirect\"\
- \ setting."
+ description: |-
+ When an OAuth2-related user agent requests to log out, they will be redirected to this url afterwards per default.
+
+ Defaults to the Ory Account Experience in development and your application in production mode when a custom domain is connected.
+
+ This governs the "urls.post_logout_redirect" setting.
type: string
hydra_urls_registration:
description: |-
@@ -9981,12 +10316,12 @@ components:
This governs the "urls.registration" setting.
type: string
hydra_urls_self_issuer:
- description: "This value will be used as the issuer in access and ID tokens.\
- \ It must be specified and using HTTPS protocol, unless the development\
- \ mode is enabled.\n\nOn the Ory Network it will be very rare that you\
- \ want to modify this value. If left empty, it will default to the correct\
- \ value for the Ory Network.\n\nThis governs the \"urls.self.issuer\"\
- \ setting."
+ description: |-
+ This value will be used as the issuer in access and ID tokens. It must be specified and using HTTPS protocol, unless the development mode is enabled.
+
+ On the Ory Network it will be very rare that you want to modify this value. If left empty, it will default to the correct value for the Ory Network.
+
+ This governs the "urls.self.issuer" setting.
type: string
hydra_webfinger_jwks_broadcast_keys:
items:
@@ -10059,15 +10394,19 @@ components:
type: string
kratos_courier_delivery_strategy:
default: smtp
- description: "The delivery strategy to use when sending emails\n\n`smtp`:\
- \ Use SMTP server\n`http`: Use the built in HTTP client to send the email\
- \ to some remote service"
+ description: |-
+ The delivery strategy to use when sending emails
+
+ `smtp`: Use SMTP server
+ `http`: Use the built in HTTP client to send the email to some remote service
type: string
kratos_courier_http_request_config_auth_api_key_in:
- description: "The location of the API key to use in the HTTP email sending\
- \ service's authentication\n\n`header`: Send the key value pair as a header\n\
- `cookie`: Send the key value pair as a cookie\nThis governs the \"courier.http.auth.config.in\"\
- \ setting"
+ description: |-
+ The location of the API key to use in the HTTP email sending service's authentication
+
+ `header`: Send the key value pair as a header
+ `cookie`: Send the key value pair as a cookie
+ This governs the "courier.http.auth.config.in" setting
type: string
kratos_courier_http_request_config_auth_api_key_name:
description: |-
@@ -10095,9 +10434,11 @@ components:
type: string
kratos_courier_http_request_config_auth_type:
default: empty (no authentication)
- description: "The authentication type to use while contacting the remote\
- \ HTTP email sending service\n\n`basic_auth`: Use Basic Authentication\n\
- `api_key`: Use API Key Authentication in a header or cookie"
+ description: |-
+ The authentication type to use while contacting the remote HTTP email sending service
+
+ `basic_auth`: Use Basic Authentication
+ `api_key`: Use API Key Authentication in a header or cookie
type: string
kratos_courier_http_request_config_body:
description: |-
@@ -10348,10 +10689,10 @@ components:
nullable: true
type: object
kratos_oauth2_provider_override_return_to:
- description: "Kratos OAuth2 Provider Override Return To\n\nEnabling this\
- \ allows Kratos to set the return_to parameter automatically to the OAuth2\
- \ request URL on the login flow, allowing complex flows such as recovery\
- \ to continue to the initial OAuth2 flow."
+ description: |-
+ Kratos OAuth2 Provider Override Return To
+
+ Enabling this allows Kratos to set the return_to parameter automatically to the OAuth2 request URL on the login flow, allowing complex flows such as recovery to continue to the initial OAuth2 flow.
type: boolean
kratos_oauth2_provider_url:
description: |-
@@ -10360,17 +10701,22 @@ components:
This governs the "oauth2_provider.url" setting.
type: string
kratos_preview_default_read_consistency_level:
- description: "Configures the default read consistency level for identity\
- \ APIs\n\nThis governs the `preview.default_read_consistency_level` setting.\n\
- \nThe read consistency level determines the consistency guarantee for\
- \ reads:\n\nstrong (slow): The read is guaranteed to return the most recent\
- \ data committed at the start of the read.\neventual (very fast): The\
- \ result will return data that is about 4.8 seconds old.\n\nSetting the\
- \ default consistency level to `eventual` may cause regressions in the\
- \ future as we add consistency\ncontrols to more APIs. Currently, the\
- \ following APIs will be affected by this setting:\n\n`GET /admin/identities`\n\
- \nDefaults to \"strong\" for new and existing projects. This feature is\
- \ in preview. Use with caution."
+ description: |-
+ Configures the default read consistency level for identity APIs
+
+ This governs the `preview.default_read_consistency_level` setting.
+
+ The read consistency level determines the consistency guarantee for reads:
+
+ strong (slow): The read is guaranteed to return the most recent data committed at the start of the read.
+ eventual (very fast): The result will return data that is about 4.8 seconds old.
+
+ Setting the default consistency level to `eventual` may cause regressions in the future as we add consistency
+ controls to more APIs. Currently, the following APIs will be affected by this setting:
+
+ `GET /admin/identities`
+
+ Defaults to "strong" for new and existing projects. This feature is in preview. Use with caution.
type: string
kratos_secrets_cipher:
items:
@@ -10697,11 +11043,13 @@ components:
This governs the "selfservice.methods.code.passwordless_enabled" setting.
type: boolean
kratos_selfservice_methods_link_config_base_url:
- description: "Configures the Base URL which Recovery, Verification, and\
- \ Login Links Point to\n\nIt is recommended to leave this value empty.\
- \ It will be appropriately configured to the best matching domain\n(e.g.\
- \ when using custom domains) automatically.\n\nThis governs the \"selfservice.methods.link.config.base_url\"\
- \ setting."
+ description: |-
+ Configures the Base URL which Recovery, Verification, and Login Links Point to
+
+ It is recommended to leave this value empty. It will be appropriately configured to the best matching domain
+ (e.g. when using custom domains) automatically.
+
+ This governs the "selfservice.methods.link.config.base_url" setting.
type: string
kratos_selfservice_methods_link_config_lifespan:
description: |-
@@ -10806,9 +11154,11 @@ components:
This governs the "selfservice.methods.webauthn.config.rp.display_name" setting.
type: string
kratos_selfservice_methods_webauthn_config_rp_icon:
- description: "Configures the Ory Kratos Webauthn RP Icon\n\nThis governs\
- \ the \"selfservice.methods.webauthn.config.rp.icon\" setting.\nDeprecated:\
- \ This value will be ignored due to security considerations."
+ description: |-
+ Configures the Ory Kratos Webauthn RP Icon
+
+ This governs the "selfservice.methods.webauthn.config.rp.icon" setting.
+ Deprecated: This value will be ignored due to security considerations.
type: string
kratos_selfservice_methods_webauthn_config_rp_id:
description: |-
@@ -10860,9 +11210,10 @@ components:
description: The project's name.
type: string
production:
- description: "Whether this project is in production mode or not.\n\nIn development\
- \ mode, a low-security profile is used making it easier to develop against\
- \ your, for example, local environment."
+ description: |-
+ Whether this project is in production mode or not.
+
+ In development mode, a low-security profile is used making it easier to develop against your, for example, local environment.
type: boolean
project_id:
description: The Revision's Project ID
@@ -11003,17 +11354,22 @@ components:
the Ory Kratos config.
type: string
import_url:
- description: "The ImportURL can be used to import an Identity Schema from\
- \ a bse64 encoded string.\nIn the future, this key also support HTTPS\
- \ and other sources!\n\nIf you import an Ory Kratos configuration, this\
- \ would be akin to the `identity.schemas.#.url` key.\n\nThe configuration\
- \ will always return the import URL when you fetch it from the API."
+ description: |-
+ The ImportURL can be used to import an Identity Schema from a bse64 encoded string.
+ In the future, this key also support HTTPS and other sources!
+
+ If you import an Ory Kratos configuration, this would be akin to the `identity.schemas.#.url` key.
+
+ The configuration will always return the import URL when you fetch it from the API.
example: base64://ey...
type: string
is_default:
- description: "If true sets the default schema for identities\n\nOnly one\
- \ schema can ever be the default schema. If you\ntry to add two schemas\
- \ with default to true, the\nrequest will fail."
+ description: |-
+ If true sets the default schema for identities
+
+ Only one schema can ever be the default schema. If you
+ try to add two schemas with default to true, the
+ request will fail.
type: boolean
preset:
description: Use a preset instead of a custom identity schema.
@@ -11052,17 +11408,18 @@ components:
example: KP76DQS54M
type: string
auth_url:
- description: "AuthURL is the authorize url, typically something like: https://example.org/oauth2/auth\n\
- Should only be used when the OAuth2 / OpenID Connect server is not supporting\
- \ OpenID Connect Discovery and when\n`provider` is set to `generic`."
+ description: |-
+ AuthURL is the authorize url, typically something like: https://example.org/oauth2/auth
+ Should only be used when the OAuth2 / OpenID Connect server is not supporting OpenID Connect Discovery and when
+ `provider` is set to `generic`.
example: https://www.googleapis.com/oauth2/v2/auth
type: string
azure_tenant:
- description: "Tenant is the Azure AD Tenant to use for authentication, and\
- \ must be set when `provider` is set to `microsoft`.\n\nCan be either\
- \ `common`, `organizations`, `consumers` for a multitenant application\
- \ or a specific tenant like\n`8eaef023-2b34-4da1-9baa-8bc8c9d6a490` or\
- \ `contoso.onmicrosoft.com`."
+ description: |-
+ Tenant is the Azure AD Tenant to use for authentication, and must be set when `provider` is set to `microsoft`.
+
+ Can be either `common`, `organizations`, `consumers` for a multitenant application or a specific tenant like
+ `8eaef023-2b34-4da1-9baa-8bc8c9d6a490` or `contoso.onmicrosoft.com`.
example: contoso.onmicrosoft.com
type: string
client_id:
@@ -11080,9 +11437,9 @@ components:
format: uuid
type: string
issuer_url:
- description: "IssuerURL is the OpenID Connect Server URL. You can leave\
- \ this empty if `provider` is not set to `generic`.\nIf set, neither `auth_url`\
- \ nor `token_url` are required."
+ description: |-
+ IssuerURL is the OpenID Connect Server URL. You can leave this empty if `provider` is not set to `generic`.
+ If set, neither `auth_url` nor `token_url` are required.
example: https://accounts.google.com
type: string
label:
@@ -11149,9 +11506,11 @@ components:
nullable: true
type: string
token_url:
- description: "TokenURL is the token url, typically something like: https://example.org/oauth2/token\n\
- \nShould only be used when the OAuth2 / OpenID Connect server is not supporting\
- \ OpenID Connect Discovery and when\n`provider` is set to `generic`."
+ description: |-
+ TokenURL is the token url, typically something like: https://example.org/oauth2/token
+
+ Should only be used when the OAuth2 / OpenID Connect server is not supporting OpenID Connect Discovery and when
+ `provider` is set to `generic`.
example: https://www.googleapis.com/oauth2/v4/token
type: string
updated_at:
@@ -11227,9 +11586,9 @@ components:
title: NullTime implements sql.NullTime functionality.
type: string
oAuth2Client:
- description: "OAuth 2.0 Clients are used to perform OAuth 2.0 and OpenID Connect\
- \ flows. Usually, OAuth 2.0 clients are\ngenerated for applications which\
- \ want to consume your OAuth 2.0 or OpenID Connect capabilities."
+ description: |-
+ OAuth 2.0 Clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are
+ generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.
example:
metadata: "{}"
token_endpoint_auth_signing_alg: token_endpoint_auth_signing_alg
@@ -11296,10 +11655,12 @@ components:
- response_types
properties:
access_token_strategy:
- description: "OAuth 2.0 Access Token Strategy\n\nAccessTokenStrategy is\
- \ the strategy used to generate access tokens.\nValid options are `jwt`\
- \ and `opaque`. `jwt` is a bad idea, see https://www.ory.sh/docs/hydra/advanced#json-web-tokens\n\
- Setting the stragegy here overrides the global setting in `strategies.access_token`."
+ description: |-
+ OAuth 2.0 Access Token Strategy
+
+ AccessTokenStrategy is the strategy used to generate access tokens.
+ Valid options are `jwt` and `opaque`. `jwt` is a bad idea, see https://www.ory.sh/docs/hydra/advanced#json-web-tokens
+ Setting the stragegy here overrides the global setting in `strategies.access_token`.
type: string
allowed_cors_origins:
items:
@@ -11326,11 +11687,12 @@ components:
pattern: "^[0-9]+(ns|us|ms|s|m|h)$"
type: string
backchannel_logout_session_required:
- description: "OpenID Connect Back-Channel Logout Session Required\n\nBoolean\
- \ value specifying whether the RP requires that a sid (session ID) Claim\
- \ be included in the Logout\nToken to identify the RP session with the\
- \ OP when the backchannel_logout_uri is used.\nIf omitted, the default\
- \ value is false."
+ description: |-
+ OpenID Connect Back-Channel Logout Session Required
+
+ Boolean value specifying whether the RP requires that a sid (session ID) Claim be included in the Logout
+ Token to identify the RP session with the OP when the backchannel_logout_uri is used.
+ If omitted, the default value is false.
type: boolean
backchannel_logout_uri:
description: |-
@@ -11343,8 +11705,10 @@ components:
pattern: "^[0-9]+(ns|us|ms|s|m|h)$"
type: string
client_id:
- description: "OAuth 2.0 Client ID\n\nThe ID is immutable. If no ID is provided,\
- \ a UUID4 will be generated."
+ description: |-
+ OAuth 2.0 Client ID
+
+ The ID is immutable. If no ID is provided, a UUID4 will be generated.
type: string
client_name:
description: |-
@@ -11354,9 +11718,11 @@ components:
end-user during authorization.
type: string
client_secret:
- description: "OAuth 2.0 Client Secret\n\nThe secret will be included in\
- \ the create request as cleartext, and then\nnever again. The secret is\
- \ kept in hashed format and is not recoverable once lost."
+ description: |-
+ OAuth 2.0 Client Secret
+
+ The secret will be included in the create request as cleartext, and then
+ never again. The secret is kept in hashed format and is not recoverable once lost.
type: string
client_secret_expires_at:
description: |-
@@ -11366,9 +11732,12 @@ components:
format: int64
type: integer
client_uri:
- description: "OAuth 2.0 Client URI\n\nClientURI is a URL string of a web\
- \ page providing information about the client.\nIf present, the server\
- \ SHOULD display this URL to the end-user in\na clickable fashion."
+ description: |-
+ OAuth 2.0 Client URI
+
+ ClientURI is a URL string of a web page providing information about the client.
+ If present, the server SHOULD display this URL to the end-user in
+ a clickable fashion.
type: string
contacts:
items:
@@ -11384,19 +11753,21 @@ components:
format: date-time
type: string
frontchannel_logout_session_required:
- description: "OpenID Connect Front-Channel Logout Session Required\n\nBoolean\
- \ value specifying whether the RP requires that iss (issuer) and sid (session\
- \ ID) query parameters be\nincluded to identify the RP session with the\
- \ OP when the frontchannel_logout_uri is used.\nIf omitted, the default\
- \ value is false."
+ description: |-
+ OpenID Connect Front-Channel Logout Session Required
+
+ Boolean value specifying whether the RP requires that iss (issuer) and sid (session ID) query parameters be
+ included to identify the RP session with the OP when the frontchannel_logout_uri is used.
+ If omitted, the default value is false.
type: boolean
frontchannel_logout_uri:
- description: "OpenID Connect Front-Channel Logout URI\n\nRP URL that will\
- \ cause the RP to log itself out when rendered in an iframe by the OP.\
- \ An iss (issuer) query\nparameter and a sid (session ID) query parameter\
- \ MAY be included by the OP to enable the RP to validate the\nrequest\
- \ and to determine which of the potentially multiple sessions is to be\
- \ logged out; if either is\nincluded, both MUST be."
+ description: |-
+ OpenID Connect Front-Channel Logout URI
+
+ RP URL that will cause the RP to log itself out when rendered in an iframe by the OP. An iss (issuer) query
+ parameter and a sid (session ID) query parameter MAY be included by the OP to enable the RP to validate the
+ request and to determine which of the potentially multiple sessions is to be logged out; if either is
+ included, both MUST be.
type: string
grant_types:
items:
@@ -11413,31 +11784,28 @@ components:
pattern: "^[0-9]+(ns|us|ms|s|m|h)$"
type: string
jwks:
- description: "OAuth 2.0 Client JSON Web Key Set\n\nClient's JSON Web Key\
- \ Set [JWK] document, passed by value. The semantics of the jwks parameter\
- \ are the same as\nthe jwks_uri parameter, other than that the JWK Set\
- \ is passed by value, rather than by reference. This parameter\nis intended\
- \ only to be used by Clients that, for some reason, are unable to use\
- \ the jwks_uri parameter, for\ninstance, by native applications that might\
- \ not have a location to host the contents of the JWK Set. If a Client\n\
- can use jwks_uri, it MUST NOT use jwks. One significant downside of jwks\
- \ is that it does not enable key rotation\n(which jwks_uri does, as described\
- \ in Section 10 of OpenID Connect Core 1.0 [OpenID.Core]). The jwks_uri\
- \ and jwks\nparameters MUST NOT be used together."
+ description: |-
+ OAuth 2.0 Client JSON Web Key Set
+
+ Client's JSON Web Key Set [JWK] document, passed by value. The semantics of the jwks parameter are the same as
+ the jwks_uri parameter, other than that the JWK Set is passed by value, rather than by reference. This parameter
+ is intended only to be used by Clients that, for some reason, are unable to use the jwks_uri parameter, for
+ instance, by native applications that might not have a location to host the contents of the JWK Set. If a Client
+ can use jwks_uri, it MUST NOT use jwks. One significant downside of jwks is that it does not enable key rotation
+ (which jwks_uri does, as described in Section 10 of OpenID Connect Core 1.0 [OpenID.Core]). The jwks_uri and jwks
+ parameters MUST NOT be used together.
jwks_uri:
- description: "OAuth 2.0 Client JSON Web Key Set URL\n\nURL for the Client's\
- \ JSON Web Key Set [JWK] document. If the Client signs requests to the\
- \ Server, it contains\nthe signing key(s) the Server uses to validate\
- \ signatures from the Client. The JWK Set MAY also contain the\nClient's\
- \ encryption keys(s), which are used by the Server to encrypt responses\
- \ to the Client. When both signing\nand encryption keys are made available,\
- \ a use (Key Use) parameter value is REQUIRED for all keys in the referenced\n\
- JWK Set to indicate each key's intended usage. Although some algorithms\
- \ allow the same key to be used for both\nsignatures and encryption, doing\
- \ so is NOT RECOMMENDED, as it is less secure. The JWK x5c parameter MAY\
- \ be used\nto provide X.509 representations of keys provided. When used,\
- \ the bare key values MUST still be present and MUST\nmatch those in the\
- \ certificate."
+ description: |-
+ OAuth 2.0 Client JSON Web Key Set URL
+
+ URL for the Client's JSON Web Key Set [JWK] document. If the Client signs requests to the Server, it contains
+ the signing key(s) the Server uses to validate signatures from the Client. The JWK Set MAY also contain the
+ Client's encryption keys(s), which are used by the Server to encrypt responses to the Client. When both signing
+ and encryption keys are made available, a use (Key Use) parameter value is REQUIRED for all keys in the referenced
+ JWK Set to indicate each key's intended usage. Although some algorithms allow the same key to be used for both
+ signatures and encryption, doing so is NOT RECOMMENDED, as it is less secure. The JWK x5c parameter MAY be used
+ to provide X.509 representations of keys provided. When used, the bare key values MUST still be present and MUST
+ match those in the certificate.
type: string
jwt_bearer_grant_access_token_lifespan:
nullable: true
@@ -11460,10 +11828,12 @@ components:
Owner is a string identifying the owner of the OAuth 2.0 Client.
type: string
policy_uri:
- description: "OAuth 2.0 Client Policy URI\n\nPolicyURI is a URL string that\
- \ points to a human-readable privacy policy document\nthat describes how\
- \ the deployment organization collects, uses,\nretains, and discloses\
- \ personal data."
+ description: |-
+ OAuth 2.0 Client Policy URI
+
+ PolicyURI is a URL string that points to a human-readable privacy policy document
+ that describes how the deployment organization collects, uses,
+ retains, and discloses personal data.
type: string
post_logout_redirect_uris:
items:
@@ -11490,19 +11860,24 @@ components:
pattern: "^[0-9]+(ns|us|ms|s|m|h)$"
type: string
registration_access_token:
- description: "OpenID Connect Dynamic Client Registration Access Token\n\n\
- RegistrationAccessToken can be used to update, get, or delete the OAuth2\
- \ Client. It is sent when creating a client\nusing Dynamic Client Registration."
+ description: |-
+ OpenID Connect Dynamic Client Registration Access Token
+
+ RegistrationAccessToken can be used to update, get, or delete the OAuth2 Client. It is sent when creating a client
+ using Dynamic Client Registration.
type: string
registration_client_uri:
- description: "OpenID Connect Dynamic Client Registration URL\n\nRegistrationClientURI\
- \ is the URL used to update, get, or delete the OAuth2 Client."
+ description: |-
+ OpenID Connect Dynamic Client Registration URL
+
+ RegistrationClientURI is the URL used to update, get, or delete the OAuth2 Client.
type: string
request_object_signing_alg:
- description: "OpenID Connect Request Object Signing Algorithm\n\nJWS [JWS]\
- \ alg algorithm [JWA] that MUST be used for signing Request Objects sent\
- \ to the OP. All Request Objects\nfrom this Client MUST be rejected, if\
- \ not signed with this algorithm."
+ description: |-
+ OpenID Connect Request Object Signing Algorithm
+
+ JWS [JWS] alg algorithm [JWA] that MUST be used for signing Request Objects sent to the OP. All Request Objects
+ from this Client MUST be rejected, if not signed with this algorithm.
type: string
request_uris:
items:
@@ -11517,9 +11892,12 @@ components:
\ JSON for SQL storage."
type: array
scope:
- description: "OAuth 2.0 Client Scope\n\nScope is a string containing a space-separated\
- \ list of scope values (as\ndescribed in Section 3.3 of OAuth 2.0 [RFC6749])\
- \ that the client\ncan use when requesting access tokens."
+ description: |-
+ OAuth 2.0 Client Scope
+
+ Scope is a string containing a space-separated list of scope values (as
+ described in Section 3.3 of OAuth 2.0 [RFC6749]) that the client
+ can use when requesting access tokens.
example: scope1 scope-2 scope.3 scope:4
type: string
sector_identifier_uri:
@@ -11543,14 +11921,15 @@ components:
type: string
token_endpoint_auth_method:
default: client_secret_basic
- description: "OAuth 2.0 Token Endpoint Authentication Method\n\nRequested\
- \ Client Authentication method for the Token Endpoint. The options are:\n\
- \n`client_secret_basic`: (default) Send `client_id` and `client_secret`\
- \ as `application/x-www-form-urlencoded` encoded in the HTTP Authorization\
- \ header.\n`client_secret_post`: Send `client_id` and `client_secret`\
- \ as `application/x-www-form-urlencoded` in the HTTP body.\n`private_key_jwt`:\
- \ Use JSON Web Tokens to authenticate the client.\n`none`: Used for public\
- \ clients (native apps, mobile apps) which can not have secrets."
+ description: |-
+ OAuth 2.0 Token Endpoint Authentication Method
+
+ Requested Client Authentication method for the Token Endpoint. The options are:
+
+ `client_secret_basic`: (default) Send `client_id` and `client_secret` as `application/x-www-form-urlencoded` encoded in the HTTP Authorization header.
+ `client_secret_post`: Send `client_id` and `client_secret` as `application/x-www-form-urlencoded` in the HTTP body.
+ `private_key_jwt`: Use JSON Web Tokens to authenticate the client.
+ `none`: Used for public clients (native apps, mobile apps) which can not have secrets.
type: string
token_endpoint_auth_signing_alg:
description: |-
@@ -11575,12 +11954,12 @@ components:
format: date-time
type: string
userinfo_signed_response_alg:
- description: "OpenID Connect Request Userinfo Signed Response Algorithm\n\
- \nJWS alg algorithm [JWA] REQUIRED for signing UserInfo Responses. If\
- \ this is specified, the response will be JWT\n[JWT] serialized, and signed\
- \ using JWS. The default, if omitted, is for the UserInfo Response to\
- \ return the Claims\nas a UTF-8 encoded JSON object using the application/json\
- \ content-type."
+ description: |-
+ OpenID Connect Request Userinfo Signed Response Algorithm
+
+ JWS alg algorithm [JWA] REQUIRED for signing UserInfo Responses. If this is specified, the response will be JWT
+ [JWT] serialized, and signed using JWS. The default, if omitted, is for the UserInfo Response to return the Claims
+ as a UTF-8 encoded JSON object using the application/json content-type.
type: string
title: OAuth 2.0 Client
type: object
@@ -11725,9 +12104,9 @@ components:
- requested_scope
properties:
acr:
- description: "ACR represents the Authentication AuthorizationContext Class\
- \ Reference value for this authentication session. You can use it\nto\
- \ express that, for example, a user authenticated using two factor authentication."
+ description: |-
+ ACR represents the Authentication AuthorizationContext Class Reference value for this authentication session. You can use it
+ to express that, for example, a user authenticated using two factor authentication.
type: string
amr:
items:
@@ -11761,11 +12140,10 @@ components:
oidc_context:
$ref: '#/components/schemas/oAuth2ConsentRequestOpenIDConnectContext'
request_url:
- description: "RequestURL is the original OAuth 2.0 Authorization URL requested\
- \ by the OAuth 2.0 client. It is the URL which\ninitiates the OAuth 2.0\
- \ Authorization Code or OAuth 2.0 Implicit flow. This URL is typically\
- \ not needed, but\nmight come in handy if you want to deal with additional\
- \ request parameters."
+ description: |-
+ RequestURL is the original OAuth 2.0 Authorization URL requested by the OAuth 2.0 client. It is the URL which
+ initiates the OAuth 2.0 Authorization Code or OAuth 2.0 Implicit flow. This URL is typically not needed, but
+ might come in handy if you want to deal with additional request parameters.
type: string
requested_access_token_audience:
items:
@@ -11780,15 +12158,15 @@ components:
\ JSON for SQL storage."
type: array
skip:
- description: "Skip, if true, implies that the client has requested the same\
- \ scopes from the same user previously.\nIf true, you must not ask the\
- \ user to grant the requested scopes. You must however either allow or\
- \ deny the\nconsent request using the usual API call."
+ description: |-
+ Skip, if true, implies that the client has requested the same scopes from the same user previously.
+ If true, you must not ask the user to grant the requested scopes. You must however either allow or deny the
+ consent request using the usual API call.
type: boolean
subject:
- description: "Subject is the user ID of the end-user that authenticated.\
- \ Now, that end user needs to grant or deny the scope\nrequested by the\
- \ OAuth 2.0 client."
+ description: |-
+ Subject is the user ID of the end-user that authenticated. Now, that end user needs to grant or deny the scope
+ requested by the OAuth 2.0 client.
type: string
required:
- challenge
@@ -11808,36 +12186,29 @@ components:
display: display
properties:
acr_values:
- description: "ACRValues is the Authentication AuthorizationContext Class\
- \ Reference requested in the OAuth 2.0 Authorization request.\nIt is a\
- \ parameter defined by OpenID Connect and expresses which level of authentication\
- \ (e.g. 2FA) is required.\n\nOpenID Connect defines it as follows:\n>\
- \ Requested Authentication AuthorizationContext Class Reference values.\
- \ Space-separated string that specifies the acr values\nthat the Authorization\
- \ Server is being requested to use for processing this Authentication\
- \ Request, with the\nvalues appearing in order of preference. The Authentication\
- \ AuthorizationContext Class satisfied by the authentication\nperformed\
- \ is returned as the acr Claim Value, as specified in Section 2. The acr\
- \ Claim is requested as a\nVoluntary Claim by this parameter."
+ description: |-
+ ACRValues is the Authentication AuthorizationContext Class Reference requested in the OAuth 2.0 Authorization request.
+ It is a parameter defined by OpenID Connect and expresses which level of authentication (e.g. 2FA) is required.
+
+ OpenID Connect defines it as follows:
+ > Requested Authentication AuthorizationContext Class Reference values. Space-separated string that specifies the acr values
+ that the Authorization Server is being requested to use for processing this Authentication Request, with the
+ values appearing in order of preference. The Authentication AuthorizationContext Class satisfied by the authentication
+ performed is returned as the acr Claim Value, as specified in Section 2. The acr Claim is requested as a
+ Voluntary Claim by this parameter.
items:
type: string
type: array
display:
- description: "Display is a string value that specifies how the Authorization\
- \ Server displays the authentication and consent user interface pages\
- \ to the End-User.\nThe defined values are:\npage: The Authorization Server\
- \ SHOULD display the authentication and consent UI consistent with a full\
- \ User Agent page view. If the display parameter is not specified, this\
- \ is the default display mode.\npopup: The Authorization Server SHOULD\
- \ display the authentication and consent UI consistent with a popup User\
- \ Agent window. The popup User Agent window should be of an appropriate\
- \ size for a login-focused dialog and should not obscure the entire window\
- \ that it is popping up over.\ntouch: The Authorization Server SHOULD\
- \ display the authentication and consent UI consistent with a device that\
- \ leverages a touch interface.\nwap: The Authorization Server SHOULD display\
- \ the authentication and consent UI consistent with a \"feature phone\"\
- \ type display.\n\nThe Authorization Server MAY also attempt to detect\
- \ the capabilities of the User Agent and present an appropriate display."
+ description: |-
+ Display is a string value that specifies how the Authorization Server displays the authentication and consent user interface pages to the End-User.
+ The defined values are:
+ page: The Authorization Server SHOULD display the authentication and consent UI consistent with a full User Agent page view. If the display parameter is not specified, this is the default display mode.
+ popup: The Authorization Server SHOULD display the authentication and consent UI consistent with a popup User Agent window. The popup User Agent window should be of an appropriate size for a login-focused dialog and should not obscure the entire window that it is popping up over.
+ touch: The Authorization Server SHOULD display the authentication and consent UI consistent with a device that leverages a touch interface.
+ wap: The Authorization Server SHOULD display the authentication and consent UI consistent with a "feature phone" type display.
+
+ The Authorization Server MAY also attempt to detect the capabilities of the User Agent and present an appropriate display.
type: string
id_token_hint_claims:
additionalProperties: {}
@@ -11853,14 +12224,12 @@ components:
phone number in the format specified for the phone_number Claim. The use of this parameter is optional.
type: string
ui_locales:
- description: "UILocales is the End-User'id preferred languages and scripts\
- \ for the user interface, represented as a\nspace-separated list of BCP47\
- \ [RFC5646] language tag values, ordered by preference. For instance,\
- \ the value\n\"fr-CA fr en\" represents a preference for French as spoken\
- \ in Canada, then French (without a region designation),\nfollowed by\
- \ English (without a region designation). An error SHOULD NOT result if\
- \ some or all of the requested\nlocales are not supported by the OpenID\
- \ Provider."
+ description: |-
+ UILocales is the End-User'id preferred languages and scripts for the user interface, represented as a
+ space-separated list of BCP47 [RFC5646] language tag values, ordered by preference. For instance, the value
+ "fr-CA fr en" represents a preference for French as spoken in Canada, then French (without a region designation),
+ followed by English (without a region designation). An error SHOULD NOT result if some or all of the requested
+ locales are not supported by the OpenID Provider.
items:
type: string
type: array
@@ -12002,14 +12371,18 @@ components:
title: NullTime implements sql.NullTime functionality.
type: string
remember:
- description: "Remember Consent\n\nRemember, if set to true, tells ORY Hydra\
- \ to remember this consent authorization and reuse it if the same\nclient\
- \ asks the same user for the same, or a subset of, scope."
+ description: |-
+ Remember Consent
+
+ Remember, if set to true, tells ORY Hydra to remember this consent authorization and reuse it if the same
+ client asks the same user for the same, or a subset of, scope.
type: boolean
remember_for:
- description: "Remember Consent For\n\nRememberFor sets how long the consent\
- \ authorization should be remembered for in seconds. If set to `0`, the\n\
- authorization will be remembered indefinitely."
+ description: |-
+ Remember Consent For
+
+ RememberFor sets how long the consent authorization should be remembered for in seconds. If set to `0`, the
+ authorization will be remembered indefinitely.
format: int64
type: integer
session:
@@ -12120,11 +12493,10 @@ components:
oidc_context:
$ref: '#/components/schemas/oAuth2ConsentRequestOpenIDConnectContext'
request_url:
- description: "RequestURL is the original OAuth 2.0 Authorization URL requested\
- \ by the OAuth 2.0 client. It is the URL which\ninitiates the OAuth 2.0\
- \ Authorization Code or OAuth 2.0 Implicit flow. This URL is typically\
- \ not needed, but\nmight come in handy if you want to deal with additional\
- \ request parameters."
+ description: |-
+ RequestURL is the original OAuth 2.0 Authorization URL requested by the OAuth 2.0 client. It is the URL which
+ initiates the OAuth 2.0 Authorization Code or OAuth 2.0 Implicit flow. This URL is typically not needed, but
+ might come in handy if you want to deal with additional request parameters.
type: string
requested_access_token_audience:
items:
@@ -12146,18 +12518,17 @@ components:
channel logout. It's value can generally be used to associate consecutive login requests by a certain user.
type: string
skip:
- description: "Skip, if true, implies that the client has requested the same\
- \ scopes from the same user previously.\nIf true, you can skip asking\
- \ the user to grant the requested scopes, and simply forward the user\
- \ to the redirect URL.\n\nThis feature allows you to update / set session\
- \ information."
+ description: |-
+ Skip, if true, implies that the client has requested the same scopes from the same user previously.
+ If true, you can skip asking the user to grant the requested scopes, and simply forward the user to the redirect URL.
+
+ This feature allows you to update / set session information.
type: boolean
subject:
- description: "Subject is the user ID of the end-user that authenticated.\
- \ Now, that end user needs to grant or deny the scope\nrequested by the\
- \ OAuth 2.0 client. If this value is set and `skip` is true, you MUST\
- \ include this subject type\nwhen accepting the login request, or the\
- \ request will fail."
+ description: |-
+ Subject is the user ID of the end-user that authenticated. Now, that end user needs to grant or deny the scope
+ requested by the OAuth 2.0 client. If this value is set and `skip` is true, you MUST include this subject type
+ when accepting the login request, or the request will fail.
type: string
required:
- challenge
@@ -12292,18 +12663,19 @@ components:
description: The access token issued by the authorization server.
type: string
expires_in:
- description: "The lifetime in seconds of the access token. For\nexample,\
- \ the value \"3600\" denotes that the access token will\nexpire in one\
- \ hour from the time the response was generated."
+ description: |-
+ The lifetime in seconds of the access token. For
+ example, the value "3600" denotes that the access token will
+ expire in one hour from the time the response was generated.
format: int64
type: integer
id_token:
description: To retrieve a refresh token request the id_token scope.
type: string
refresh_token:
- description: "The refresh token, which can be used to obtain new\naccess\
- \ tokens. To retrieve it add the scope \"offline\" to your access token\
- \ request."
+ description: |-
+ The refresh token, which can be used to obtain new
+ access tokens. To retrieve it add the scope "offline" to your access token request.
type: string
scope:
description: The scope of the access token
@@ -12400,33 +12772,39 @@ components:
example: https://playground.ory.sh/ory-hydra/public/oauth2/auth
type: string
backchannel_logout_session_supported:
- description: "OpenID Connect Back-Channel Logout Session Required\n\nBoolean\
- \ value specifying whether the OP can pass a sid (session ID) Claim in\
- \ the Logout Token to identify the RP\nsession with the OP. If supported,\
- \ the sid Claim is also included in ID Tokens issued by the OP"
+ description: |-
+ OpenID Connect Back-Channel Logout Session Required
+
+ Boolean value specifying whether the OP can pass a sid (session ID) Claim in the Logout Token to identify the RP
+ session with the OP. If supported, the sid Claim is also included in ID Tokens issued by the OP
type: boolean
backchannel_logout_supported:
- description: "OpenID Connect Back-Channel Logout Supported\n\nBoolean value\
- \ specifying whether the OP supports back-channel logout, with true indicating\
- \ support."
+ description: |-
+ OpenID Connect Back-Channel Logout Supported
+
+ Boolean value specifying whether the OP supports back-channel logout, with true indicating support.
type: boolean
claims_parameter_supported:
- description: "OpenID Connect Claims Parameter Parameter Supported\n\nBoolean\
- \ value specifying whether the OP supports use of the claims parameter,\
- \ with true indicating support."
+ description: |-
+ OpenID Connect Claims Parameter Parameter Supported
+
+ Boolean value specifying whether the OP supports use of the claims parameter, with true indicating support.
type: boolean
claims_supported:
- description: "OpenID Connect Supported Claims\n\nJSON array containing a\
- \ list of the Claim Names of the Claims that the OpenID Provider MAY be\
- \ able to supply\nvalues for. Note that for privacy or other reasons,\
- \ this might not be an exhaustive list."
+ description: |-
+ OpenID Connect Supported Claims
+
+ JSON array containing a list of the Claim Names of the Claims that the OpenID Provider MAY be able to supply
+ values for. Note that for privacy or other reasons, this might not be an exhaustive list.
items:
type: string
type: array
code_challenge_methods_supported:
- description: "OAuth 2.0 PKCE Supported Code Challenge Methods\n\nJSON array\
- \ containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code\
- \ challenge methods supported\nby this authorization server."
+ description: |-
+ OAuth 2.0 PKCE Supported Code Challenge Methods
+
+ JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported
+ by this authorization server.
items:
type: string
type: array
@@ -12451,16 +12829,18 @@ components:
URL at the OP to which an RP can perform a redirect to request that the End-User be logged out at the OP.
type: string
frontchannel_logout_session_supported:
- description: "OpenID Connect Front-Channel Logout Session Required\n\nBoolean\
- \ value specifying whether the OP can pass iss (issuer) and sid (session\
- \ ID) query parameters to identify\nthe RP session with the OP when the\
- \ frontchannel_logout_uri is used. If supported, the sid Claim is also\n\
- included in ID Tokens issued by the OP."
+ description: |-
+ OpenID Connect Front-Channel Logout Session Required
+
+ Boolean value specifying whether the OP can pass iss (issuer) and sid (session ID) query parameters to identify
+ the RP session with the OP when the frontchannel_logout_uri is used. If supported, the sid Claim is also
+ included in ID Tokens issued by the OP.
type: boolean
frontchannel_logout_supported:
- description: "OpenID Connect Front-Channel Logout Supported\n\nBoolean value\
- \ specifying whether the OP supports HTTP-based logout, with true indicating\
- \ support."
+ description: |-
+ OpenID Connect Front-Channel Logout Supported
+
+ Boolean value specifying whether the OP supports HTTP-based logout, with true indicating support.
type: boolean
grant_types_supported:
description: |-
@@ -12488,26 +12868,25 @@ components:
type: string
type: array
issuer:
- description: "OpenID Connect Issuer URL\n\nAn URL using the https scheme\
- \ with no query or fragment component that the OP asserts as its IssuerURL\
- \ Identifier.\nIf IssuerURL discovery is supported , this value MUST be\
- \ identical to the issuer value returned\nby WebFinger. This also MUST\
- \ be identical to the iss Claim value in ID Tokens issued from this IssuerURL."
+ description: |-
+ OpenID Connect Issuer URL
+
+ An URL using the https scheme with no query or fragment component that the OP asserts as its IssuerURL Identifier.
+ If IssuerURL discovery is supported , this value MUST be identical to the issuer value returned
+ by WebFinger. This also MUST be identical to the iss Claim value in ID Tokens issued from this IssuerURL.
example: https://playground.ory.sh/ory-hydra/public/
type: string
jwks_uri:
- description: "OpenID Connect Well-Known JSON Web Keys URL\n\nURL of the\
- \ OP's JSON Web Key Set [JWK] document. This contains the signing key(s)\
- \ the RP uses to validate\nsignatures from the OP. The JWK Set MAY also\
- \ contain the Server's encryption key(s), which are used by RPs\nto encrypt\
- \ requests to the Server. When both signing and encryption keys are made\
- \ available, a use (Key Use)\nparameter value is REQUIRED for all keys\
- \ in the referenced JWK Set to indicate each key's intended usage.\nAlthough\
- \ some algorithms allow the same key to be used for both signatures and\
- \ encryption, doing so is\nNOT RECOMMENDED, as it is less secure. The\
- \ JWK x5c parameter MAY be used to provide X.509 representations of\n\
- keys provided. When used, the bare key values MUST still be present and\
- \ MUST match those in the certificate."
+ description: |-
+ OpenID Connect Well-Known JSON Web Keys URL
+
+ URL of the OP's JSON Web Key Set [JWK] document. This contains the signing key(s) the RP uses to validate
+ signatures from the OP. The JWK Set MAY also contain the Server's encryption key(s), which are used by RPs
+ to encrypt requests to the Server. When both signing and encryption keys are made available, a use (Key Use)
+ parameter value is REQUIRED for all keys in the referenced JWK Set to indicate each key's intended usage.
+ Although some algorithms allow the same key to be used for both signatures and encryption, doing so is
+ NOT RECOMMENDED, as it is less secure. The JWK x5c parameter MAY be used to provide X.509 representations of
+ keys provided. When used, the bare key values MUST still be present and MUST match those in the certificate.
example: "https://{slug}.projects.oryapis.com/.well-known/jwks.json"
type: string
registration_endpoint:
@@ -12515,25 +12894,27 @@ components:
example: https://playground.ory.sh/ory-hydra/admin/client
type: string
request_object_signing_alg_values_supported:
- description: "OpenID Connect Supported Request Object Signing Algorithms\n\
- \nJSON array containing a list of the JWS signing algorithms (alg values)\
- \ supported by the OP for Request Objects,\nwhich are described in Section\
- \ 6.1 of OpenID Connect Core 1.0 [OpenID.Core]. These algorithms are used\
- \ both when\nthe Request Object is passed by value (using the request\
- \ parameter) and when it is passed by reference\n(using the request_uri\
- \ parameter)."
+ description: |-
+ OpenID Connect Supported Request Object Signing Algorithms
+
+ JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for Request Objects,
+ which are described in Section 6.1 of OpenID Connect Core 1.0 [OpenID.Core]. These algorithms are used both when
+ the Request Object is passed by value (using the request parameter) and when it is passed by reference
+ (using the request_uri parameter).
items:
type: string
type: array
request_parameter_supported:
- description: "OpenID Connect Request Parameter Supported\n\nBoolean value\
- \ specifying whether the OP supports use of the request parameter, with\
- \ true indicating support."
+ description: |-
+ OpenID Connect Request Parameter Supported
+
+ Boolean value specifying whether the OP supports use of the request parameter, with true indicating support.
type: boolean
request_uri_parameter_supported:
- description: "OpenID Connect Request URI Parameter Supported\n\nBoolean\
- \ value specifying whether the OP supports use of the request_uri parameter,\
- \ with true indicating support."
+ description: |-
+ OpenID Connect Request URI Parameter Supported
+
+ Boolean value specifying whether the OP supports use of the request_uri parameter, with true indicating support.
type: boolean
require_request_uri_registration:
description: |-
@@ -12551,10 +12932,11 @@ components:
type: string
type: array
response_types_supported:
- description: "OAuth 2.0 Supported Response Types\n\nJSON array containing\
- \ a list of the OAuth 2.0 response_type values that this OP supports.\
- \ Dynamic OpenID\nProviders MUST support the code, id_token, and the token\
- \ id_token Response Type values."
+ description: |-
+ OAuth 2.0 Supported Response Types
+
+ JSON array containing a list of the OAuth 2.0 response_type values that this OP supports. Dynamic OpenID
+ Providers MUST support the code, id_token, and the token id_token Response Type values.
items:
type: string
type: array
@@ -12565,11 +12947,11 @@ components:
URL of the authorization server's OAuth 2.0 revocation endpoint.
type: string
scopes_supported:
- description: "OAuth 2.0 Supported Scope Values\n\nJSON array containing\
- \ a list of the OAuth 2.0 [RFC6749] scope values that this server supports.\
- \ The server MUST\nsupport the openid scope value. Servers MAY choose\
- \ not to advertise some supported scope values even when this parameter\
- \ is used"
+ description: |-
+ OAuth 2.0 Supported Scope Values
+
+ JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this server supports. The server MUST
+ support the openid scope value. Servers MAY choose not to advertise some supported scope values even when this parameter is used
items:
type: string
type: array
@@ -12587,11 +12969,11 @@ components:
example: https://playground.ory.sh/ory-hydra/public/oauth2/token
type: string
token_endpoint_auth_methods_supported:
- description: "OAuth 2.0 Supported Client Authentication Methods\n\nJSON\
- \ array containing a list of Client Authentication methods supported by\
- \ this Token Endpoint. The options are\nclient_secret_post, client_secret_basic,\
- \ client_secret_jwt, and private_key_jwt, as described in Section 9 of\
- \ OpenID Connect Core 1.0"
+ description: |-
+ OAuth 2.0 Supported Client Authentication Methods
+
+ JSON array containing a list of Client Authentication methods supported by this Token Endpoint. The options are
+ client_secret_post, client_secret_basic, client_secret_jwt, and private_key_jwt, as described in Section 9 of OpenID Connect Core 1.0
items:
type: string
type: array
@@ -12610,10 +12992,10 @@ components:
type: string
type: array
userinfo_signing_alg_values_supported:
- description: "OpenID Connect Supported Userinfo Signing Algorithm\n\nJSON\
- \ array containing a list of the JWS [JWS] signing algorithms (alg values)\
- \ [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT\
- \ [JWT]."
+ description: |-
+ OpenID Connect Supported Userinfo Signing Algorithm
+
+ JSON array containing a list of the JWS [JWS] signing algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT].
items:
type: string
type: array
@@ -12818,29 +13200,40 @@ components:
properties:
page_size:
default: 250
- description: "Items per page\n\nThis is the number of items per page to\
- \ return.\nFor details on pagination please head over to the [pagination\
- \ documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination)."
+ description: |-
+ Items per page
+
+ This is the number of items per page to return.
+ For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
format: int64
maximum: 1000
minimum: 1
type: integer
page_token:
default: "1"
- description: "Next Page Token\n\nThe next page token.\nFor details on pagination\
- \ please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination)."
+ description: |-
+ Next Page Token
+
+ The next page token.
+ For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
minimum: 1
type: string
type: object
paginationHeaders:
properties:
link:
- description: "The link header contains pagination links.\n\nFor details\
- \ on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).\n\
- \nin: header"
+ description: |-
+ The link header contains pagination links.
+
+ For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
+
+ in: header
type: string
x-total-count:
- description: "The total number of clients.\n\nin: header"
+ description: |-
+ The total number of clients.
+
+ in: header
type: string
type: object
patchIdentitiesBody:
@@ -13011,8 +13404,10 @@ components:
readOnly: true
type: string
name:
- description: "The Token's Name\n\nSet this to help you remember, for example,\
- \ where you use the token."
+ description: |-
+ The Token's Name
+
+ Set this to help you remember, for example, where you use the token.
type: string
owner_id:
description: The token's owner
@@ -13265,9 +13660,9 @@ components:
The Favicon mime type.
type: string
favicon_url:
- description: "Favicon URL\nFavicon can be an https:// or base64:// URL.\
- \ If the URL is not allowed, the favicon will be stored inside the Ory\
- \ Network storage bucket."
+ description: |-
+ Favicon URL
+ Favicon can be an https:// or base64:// URL. If the URL is not allowed, the favicon will be stored inside the Ory Network storage bucket.
type: string
foreground_default_color:
description: ForegroundDefaultColor is a hex color code used by the Ory
@@ -13324,9 +13719,9 @@ components:
The Logo mime type.
type: string
logo_url:
- description: "Logo URL\nLogo can be an https:// or base64:// URL. If the\
- \ URL is not allowed, the logo will be stored inside the Ory Network storage\
- \ bucket."
+ description: |-
+ Logo URL
+ Logo can be an https:// or base64:// URL. If the URL is not allowed, the logo will be stored inside the Ory Network storage bucket.
type: string
name:
description: The customization theme name.
@@ -13672,8 +14067,10 @@ components:
title: Recovery Code for Identity
type: object
recoveryFlow:
- description: "This request is used when an identity wants to recover their account.\n\
- \nWe recommend reading the [Account Recovery Documentation](../self-service/flows/password-reset-account-recovery)"
+ description: |-
+ This request is used when an identity wants to recover their account.
+
+ We recommend reading the [Account Recovery Documentation](../self-service/flows/password-reset-account-recovery)
example:
expires_at: 2000-01-23T04:56:07.000+00:00
ui:
@@ -13734,18 +14131,20 @@ components:
request_url: request_url
properties:
active:
- description: "Active, if set, contains the recovery method that is being\
- \ used. It is initially\nnot set."
+ description: |-
+ Active, if set, contains the recovery method that is being used. It is initially
+ not set.
type: string
expires_at:
- description: "ExpiresAt is the time (UTC) when the request expires. If the\
- \ user still wishes to update the setting,\na new request has to be initiated."
+ description: |-
+ ExpiresAt is the time (UTC) when the request expires. If the user still wishes to update the setting,
+ a new request has to be initiated.
format: date-time
type: string
id:
- description: "ID represents the request's unique ID. When performing the\
- \ recovery flow, this\nrepresents the id in the recovery ui's query parameter:\
- \ http://?request="
+ description: |-
+ ID represents the request's unique ID. When performing the recovery flow, this
+ represents the id in the recovery ui's query parameter: http://?request=
format: uuid
type: string
issued_at:
@@ -13761,10 +14160,12 @@ components:
description: ReturnTo contains the requested return_to URL.
type: string
state:
- description: "State represents the state of this request:\n\nchoose_method:\
- \ ask the user to choose a method (e.g. recover account via email)\nsent_email:\
- \ the email has been sent to the user\npassed_challenge: the request was\
- \ successful and the recovery challenge was passed."
+ description: |-
+ State represents the state of this request:
+
+ choose_method: ask the user to choose a method (e.g. recover account via email)
+ sent_email: the email has been sent to the user
+ passed_challenge: the request was successful and the recovery challenge was passed.
type:
description: The flow type can either be `api` or `browser`.
title: Type is the flow type.
@@ -13782,10 +14183,12 @@ components:
title: A Recovery Flow
type: object
recoveryFlowState:
- description: "The state represents the state of the recovery flow.\n\nchoose_method:\
- \ ask the user to choose a method (e.g. recover account via email)\nsent_email:\
- \ the email has been sent to the user\npassed_challenge: the request was successful\
- \ and the recovery challenge was passed."
+ description: |-
+ The state represents the state of the recovery flow.
+
+ choose_method: ask the user to choose a method (e.g. recover account via email)
+ sent_email: the email has been sent to the user
+ passed_challenge: the request was successful and the recovery challenge was passed.
enum:
- choose_method
- sent_email
@@ -13999,14 +14402,15 @@ components:
active:
$ref: '#/components/schemas/identityCredentialsType'
expires_at:
- description: "ExpiresAt is the time (UTC) when the flow expires. If the\
- \ user still wishes to log in,\na new flow has to be initiated."
+ description: |-
+ ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to log in,
+ a new flow has to be initiated.
format: date-time
type: string
id:
- description: "ID represents the flow's unique ID. When performing the registration\
- \ flow, this\nrepresents the id in the registration ui's query parameter:\
- \ http:///?flow="
+ description: |-
+ ID represents the flow's unique ID. When performing the registration flow, this
+ represents the id in the registration ui's query parameter: http:///?flow=
format: uuid
type: string
issued_at:
@@ -14035,17 +14439,18 @@ components:
description: ReturnTo contains the requested return_to URL.
type: string
session_token_exchange_code:
- description: "SessionTokenExchangeCode holds the secret code that the client\
- \ can use to retrieve a session token after the flow has been completed.\n\
- This is only set if the client has requested a session token exchange\
- \ code, and if the flow is of type \"api\",\nand only on creating the\
- \ flow."
+ description: |-
+ SessionTokenExchangeCode holds the secret code that the client can use to retrieve a session token after the flow has been completed.
+ This is only set if the client has requested a session token exchange code, and if the flow is of type "api",
+ and only on creating the flow.
type: string
state:
- description: "State represents the state of this request:\n\nchoose_method:\
- \ ask the user to choose a method (e.g. registration with email)\nsent_email:\
- \ the email has been sent to the user\npassed_challenge: the request was\
- \ successful and the registration challenge was passed."
+ description: |-
+ State represents the state of this request:
+
+ choose_method: ask the user to choose a method (e.g. registration with email)
+ sent_email: the email has been sent to the user
+ passed_challenge: the request was successful and the registration challenge was passed.
transient_payload:
description: TransientPayload is used to pass data from the registration
to a webhook
@@ -14066,9 +14471,10 @@ components:
- ui
type: object
registrationFlowState:
- description: "choose_method: ask the user to choose a method (e.g. registration\
- \ with email)\nsent_email: the email has been sent to the user\npassed_challenge:\
- \ the request was successful and the registration challenge was passed."
+ description: |-
+ choose_method: ask the user to choose a method (e.g. registration with email)
+ sent_email: the email has been sent to the user
+ passed_challenge: the request was successful and the registration challenge was passed.
enum:
- choose_method
- sent_email
@@ -14078,8 +14484,10 @@ components:
rejectOAuth2Request:
properties:
error:
- description: "The error should follow the OAuth2 error format (e.g. `invalid_request`,\
- \ `login_required`).\n\nDefaults to `request_denied`."
+ description: |-
+ The error should follow the OAuth2 error format (e.g. `invalid_request`, `login_required`).
+
+ Defaults to `request_denied`.
type: string
error_debug:
description: |-
@@ -14459,8 +14867,12 @@ components:
description: Set active project in the Ory Network Console Request Body
properties:
project_id:
- description: "Project ID\n\nThe Project ID you want to set active.\n\nformat:\
- \ uuid"
+ description: |-
+ Project ID
+
+ The Project ID you want to set active.
+
+ format: uuid
type: string
required:
- project_id
@@ -14527,9 +14939,11 @@ components:
theme endpoint.
type: object
settingsFlow:
- description: "This flow is used when an identity wants to update settings\n\
- (e.g. profile data, passwords, ...) in a selfservice manner.\n\nWe recommend\
- \ reading the [User Settings Documentation](../self-service/flows/user-settings)"
+ description: |-
+ This flow is used when an identity wants to update settings
+ (e.g. profile data, passwords, ...) in a selfservice manner.
+
+ We recommend reading the [User Settings Documentation](../self-service/flows/user-settings)
example:
expires_at: 2000-01-23T04:56:07.000+00:00
ui:
@@ -14643,25 +15057,29 @@ components:
request_url: request_url
properties:
active:
- description: "Active, if set, contains the registration method that is being\
- \ used. It is initially\nnot set."
+ description: |-
+ Active, if set, contains the registration method that is being used. It is initially
+ not set.
type: string
continue_with:
- description: "Contains a list of actions, that could follow this flow\n\n\
- It can, for example, contain a reference to the verification flow, created\
- \ as part of the user's\nregistration."
+ description: |-
+ Contains a list of actions, that could follow this flow
+
+ It can, for example, contain a reference to the verification flow, created as part of the user's
+ registration.
items:
$ref: '#/components/schemas/continueWith'
type: array
expires_at:
- description: "ExpiresAt is the time (UTC) when the flow expires. If the\
- \ user still wishes to update the setting,\na new flow has to be initiated."
+ description: |-
+ ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to update the setting,
+ a new flow has to be initiated.
format: date-time
type: string
id:
- description: "ID represents the flow's unique ID. When performing the settings\
- \ flow, this\nrepresents the id in the settings ui's query parameter:\
- \ http://?flow="
+ description: |-
+ ID represents the flow's unique ID. When performing the settings flow, this
+ represents the id in the settings ui's query parameter: http://?flow=
format: uuid
type: string
identity:
@@ -14679,13 +15097,13 @@ components:
description: ReturnTo contains the requested return_to URL.
type: string
state:
- description: "State represents the state of this flow. It knows two states:\n\
- \nshow_form: No user data has been collected, or it is invalid, and thus\
- \ the form should be shown.\nsuccess: Indicates that the settings flow\
- \ has been updated successfully with the provided data.\nDone will stay\
- \ true when repeatedly checking. If set to true, done will revert back\
- \ to false only\nwhen a flow with invalid (e.g. \"please use a valid phone\
- \ number\") data was sent."
+ description: |-
+ State represents the state of this flow. It knows two states:
+
+ show_form: No user data has been collected, or it is invalid, and thus the form should be shown.
+ success: Indicates that the settings flow has been updated successfully with the provided data.
+ Done will stay true when repeatedly checking. If set to true, done will revert back to false only
+ when a flow with invalid (e.g. "please use a valid phone number") data was sent.
type:
description: The flow type can either be `api` or `browser`.
title: Type is the flow type.
@@ -14704,12 +15122,11 @@ components:
title: Flow represents a Settings Flow
type: object
settingsFlowState:
- description: "show_form: No user data has been collected, or it is invalid,\
- \ and thus the form should be shown.\nsuccess: Indicates that the settings\
- \ flow has been updated successfully with the provided data.\nDone will stay\
- \ true when repeatedly checking. If set to true, done will revert back to\
- \ false only\nwhen a flow with invalid (e.g. \"please use a valid phone number\"\
- ) data was sent."
+ description: |-
+ show_form: No user data has been collected, or it is invalid, and thus the form should be shown.
+ success: Indicates that the settings flow has been updated successfully with the provided data.
+ Done will stay true when repeatedly checking. If set to true, done will revert back to false only
+ when a flow with invalid (e.g. "please use a valid phone number") data was sent.
enum:
- show_form
- success
@@ -14747,8 +15164,10 @@ components:
readOnly: true
type: string
currency:
- description: "The currency of the subscription. To change this, a new subscription\
- \ must be created.\nusd USD\neur Euro"
+ description: |-
+ The currency of the subscription. To change this, a new subscription must be created.
+ usd USD
+ eur Euro
enum:
- usd
- eur
@@ -14801,25 +15220,14 @@ components:
nullable: true
type: string
status:
- description: "For `collection_method=charge_automatically` a subscription\
- \ moves into `incomplete` if the initial payment attempt fails. A subscription\
- \ in this state can only have metadata and default_source updated. Once\
- \ the first invoice is paid, the subscription moves into an `active` state.\
- \ If the first invoice is not paid within 23 hours, the subscription transitions\
- \ to `incomplete_expired`. This is a terminal state, the open invoice\
- \ will be voided and no further invoices will be generated.\n\nA subscription\
- \ that is currently in a trial period is `trialing` and moves to `active`\
- \ when the trial period is over.\n\nIf subscription `collection_method=charge_automatically`\
- \ it becomes `past_due` when payment to renew it fails and `canceled`\
- \ or `unpaid` (depending on your subscriptions settings) when Stripe has\
- \ exhausted all payment retry attempts.\n\nIf subscription `collection_method=send_invoice`\
- \ it becomes `past_due` when its invoice is not paid by the due date,\
- \ and `canceled` or `unpaid` if it is still not paid by an additional\
- \ deadline after that. Note that when a subscription has a status of `unpaid`,\
- \ no subsequent invoices will be attempted (invoices will be created,\
- \ but then immediately automatically closed). After receiving updated\
- \ payment information from a customer, you may choose to reopen and pay\
- \ their closed invoices."
+ description: |-
+ For `collection_method=charge_automatically` a subscription moves into `incomplete` if the initial payment attempt fails. A subscription in this state can only have metadata and default_source updated. Once the first invoice is paid, the subscription moves into an `active` state. If the first invoice is not paid within 23 hours, the subscription transitions to `incomplete_expired`. This is a terminal state, the open invoice will be voided and no further invoices will be generated.
+
+ A subscription that is currently in a trial period is `trialing` and moves to `active` when the trial period is over.
+
+ If subscription `collection_method=charge_automatically` it becomes `past_due` when payment to renew it fails and `canceled` or `unpaid` (depending on your subscriptions settings) when Stripe has exhausted all payment retry attempts.
+
+ If subscription `collection_method=send_invoice` it becomes `past_due` when its invoice is not paid by the due date, and `canceled` or `unpaid` if it is still not paid by an additional deadline after that. Note that when a subscription has a status of `unpaid`, no subsequent invoices will be attempted (invoices will be created, but then immediately automatically closed). After receiving updated payment information from a customer, you may choose to reopen and pay their closed invoices.
title: "Possible values are `incomplete`, `incomplete_expired`, `trialing`,\
\ `active`, `past_due`, `canceled`, or `unpaid`."
type: string
@@ -14846,10 +15254,15 @@ components:
session:
$ref: '#/components/schemas/session'
session_token:
- description: "The Session Token\n\nA session token is equivalent to a session\
- \ cookie, but it can be sent in the HTTP Authorization\nHeader:\n\nAuthorization:\
- \ bearer ${session-token}\n\nThe session token is only issued for API\
- \ flows, not for Browser flows!"
+ description: |-
+ The Session Token
+
+ A session token is equivalent to a session cookie, but it can be sent in the HTTP Authorization
+ Header:
+
+ Authorization: bearer ${session-token}
+
+ The session token is only issued for API flows, not for Browser flows!
type: string
required:
- session
@@ -14940,10 +15353,15 @@ components:
session:
$ref: '#/components/schemas/session'
session_token:
- description: "The Session Token\n\nA session token is equivalent to a session\
- \ cookie, but it can be sent in the HTTP Authorization\nHeader:\n\nAuthorization:\
- \ bearer ${session-token}\n\nThe session token is only issued for API\
- \ flows, not for Browser flows!"
+ description: |-
+ The Session Token
+
+ A session token is equivalent to a session cookie, but it can be sent in the HTTP Authorization
+ Header:
+
+ Authorization: bearer ${session-token}
+
+ The session token is only issued for API flows, not for Browser flows!
type: string
required:
- session
@@ -15085,10 +15503,11 @@ components:
- null
properties:
continue_with:
- description: "Contains a list of actions, that could follow this flow\n\n\
- It can, for example, this will contain a reference to the verification\
- \ flow, created as part of the user's\nregistration or the token of the\
- \ session."
+ description: |-
+ Contains a list of actions, that could follow this flow
+
+ It can, for example, this will contain a reference to the verification flow, created as part of the user's
+ registration or the token of the session.
items:
$ref: '#/components/schemas/continueWith'
type: array
@@ -15097,11 +15516,17 @@ components:
session:
$ref: '#/components/schemas/session'
session_token:
- description: "The Session Token\n\nThis field is only set when the session\
- \ hook is configured as a post-registration hook.\n\nA session token is\
- \ equivalent to a session cookie, but it can be sent in the HTTP Authorization\n\
- Header:\n\nAuthorization: bearer ${session-token}\n\nThe session token\
- \ is only issued for API flows, not for Browser flows!"
+ description: |-
+ The Session Token
+
+ This field is only set when the session hook is configured as a post-registration hook.
+
+ A session token is equivalent to a session cookie, but it can be sent in the HTTP Authorization
+ Header:
+
+ Authorization: bearer ${session-token}
+
+ The session token is only issued for API flows, not for Browser flows!
type: string
required:
- identity
@@ -15140,13 +15565,16 @@ components:
project:
$ref: '#/components/schemas/project'
warnings:
- description: "Import Warnings\n\nNot all configuration items can be imported\
- \ to the Ory Network. For example,\nsetting the port does not make sense\
- \ because the Ory Network provides the runtime\nand networking.\n\nThis\
- \ field contains warnings where configuration keys were found but can\
- \ not\nbe imported. These keys will be ignored by the Ory Network. This\
- \ field will help\nyou understand why certain configuration keys might\
- \ not be respected!"
+ description: |-
+ Import Warnings
+
+ Not all configuration items can be imported to the Ory Network. For example,
+ setting the port does not make sense because the Ory Network provides the runtime
+ and networking.
+
+ This field contains warnings where configuration keys were found but can not
+ be imported. These keys will be ignored by the Ory Network. This field will help
+ you understand why certain configuration keys might not be respected!
items:
$ref: '#/components/schemas/Warning'
type: array
@@ -15158,69 +15586,92 @@ components:
properties:
page_size:
default: 250
- description: "Items per page\n\nThis is the number of items per page to\
- \ return.\nFor details on pagination please head over to the [pagination\
- \ documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination)."
+ description: |-
+ Items per page
+
+ This is the number of items per page to return.
+ For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
format: int64
maximum: 1000
minimum: 1
type: integer
page_token:
default: "1"
- description: "Next Page Token\n\nThe next page token.\nFor details on pagination\
- \ please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination)."
+ description: |-
+ Next Page Token
+
+ The next page token.
+ For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
minimum: 1
type: string
type: object
tokenPaginationHeaders:
properties:
link:
- description: "The link header contains pagination links.\n\nFor details\
- \ on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).\n\
- \nin: header"
+ description: |-
+ The link header contains pagination links.
+
+ For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
+
+ in: header
type: string
x-total-count:
- description: "The total number of clients.\n\nin: header"
+ description: |-
+ The total number of clients.
+
+ in: header
type: string
type: object
tokenPaginationRequestParameters:
- description: "The `Link` HTTP header contains multiple links (`first`, `next`,\
- \ `last`, `previous`) formatted as:\n`;\
- \ rel=\"{page}\"`\n\nFor details on pagination please head over to the [pagination\
- \ documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination)."
+ description: |-
+ The `Link` HTTP header contains multiple links (`first`, `next`, `last`, `previous`) formatted as:
+ `; rel="{page}"`
+
+ For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
properties:
page_size:
default: 250
- description: "Items per Page\n\nThis is the number of items per page to\
- \ return.\nFor details on pagination please head over to the [pagination\
- \ documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination)."
+ description: |-
+ Items per Page
+
+ This is the number of items per page to return.
+ For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
format: int64
maximum: 500
minimum: 1
type: integer
page_token:
default: "1"
- description: "Next Page Token\n\nThe next page token.\nFor details on pagination\
- \ please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination)."
+ description: |-
+ Next Page Token
+
+ The next page token.
+ For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
minimum: 1
type: string
title: Pagination Request Parameters
type: object
tokenPaginationResponseHeaders:
- description: "The `Link` HTTP header contains multiple links (`first`, `next`,\
- \ `last`, `previous`) formatted as:\n`;\
- \ rel=\"{page}\"`\n\nFor details on pagination please head over to the [pagination\
- \ documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination)."
+ description: |-
+ The `Link` HTTP header contains multiple links (`first`, `next`, `last`, `previous`) formatted as:
+ `; rel="{page}"`
+
+ For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
properties:
link:
- description: "The Link HTTP Header\n\nThe `Link` header contains a comma-delimited\
- \ list of links to the following pages:\n\nfirst: The first page of results.\n\
- next: The next page of results.\nprev: The previous page of results.\n\
- last: The last page of results.\n\nPages are omitted if they do not exist.\
- \ For example, if there is no next page, the `next` link is omitted. Examples:\n\
- \n; rel=\"first\",;\
- \ rel=\"next\",; rel=\"prev\",;\
- \ rel=\"last\""
+ description: |-
+ The Link HTTP Header
+
+ The `Link` header contains a comma-delimited list of links to the following pages:
+
+ first: The first page of results.
+ next: The next page of results.
+ prev: The previous page of results.
+ last: The last page of results.
+
+ Pages are omitted if they do not exist. For example, if there is no next page, the `next` link is omitted. Examples:
+
+ ; rel="first",; rel="next",; rel="prev",; rel="last"
type: string
x-total-count:
description: |-
@@ -15420,9 +15871,9 @@ components:
- nodes
type: object
uiNode:
- description: "Nodes are represented as HTML elements or their native UI equivalents.\
- \ For example,\na node can be an `` tag, or an `` but\
- \ also `some plain text`."
+ description: |-
+ Nodes are represented as HTML elements or their native UI equivalents. For example,
+ a node can be an `` tag, or an `` but also `some plain text`.
example:
meta:
label:
@@ -15516,7 +15967,10 @@ components:
uiNodeAnchorAttributes:
properties:
href:
- description: "The link's href (destination) URL.\n\nformat: uri"
+ description: |-
+ The link's href (destination) URL.
+
+ format: uri
type: string
id:
description: A unique identifier
@@ -15566,7 +16020,10 @@ components:
is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is "img".
type: string
src:
- description: "The image's source URL.\n\nformat: uri"
+ description: |-
+ The image's source URL.
+
+ format: uri
type: string
width:
description: Width of the image
@@ -15829,9 +16286,10 @@ components:
state:
$ref: '#/components/schemas/identityState'
traits:
- description: "Traits represent an identity's traits. The identity is able\
- \ to create, modify, and delete traits\nin a self-service manner. The\
- \ input will always be validated against the JSON Schema defined\nin `schema_id`."
+ description: |-
+ Traits represent an identity's traits. The identity is able to create, modify, and delete traits
+ in a self-service manner. The input will always be validated against the JSON Schema defined
+ in `schema_id`.
type: object
required:
- schema_id
@@ -15905,18 +16363,21 @@ components:
description: The CSRF Token
type: string
id_token:
- description: "IDToken is an optional id token provided by an OIDC provider\n\
- \nIf submitted, it is verified using the OIDC provider's public key set\
- \ and the claims are used to populate\nthe OIDC credentials of the identity.\n\
- If the OIDC provider does not store additional claims (such as name, etc.)\
- \ in the IDToken itself, you can use\nthe `traits` field to populate the\
- \ identity's traits. Note, that Apple only includes the users email in\
- \ the IDToken.\n\nSupported providers are\nApple"
+ description: |-
+ IDToken is an optional id token provided by an OIDC provider
+
+ If submitted, it is verified using the OIDC provider's public key set and the claims are used to populate
+ the OIDC credentials of the identity.
+ If the OIDC provider does not store additional claims (such as name, etc.) in the IDToken itself, you can use
+ the `traits` field to populate the identity's traits. Note, that Apple only includes the users email in the IDToken.
+
+ Supported providers are
+ Apple
type: string
id_token_nonce:
- description: "IDTokenNonce is the nonce, used when generating the IDToken.\n\
- If the provider supports nonce validation, the nonce will be validated\
- \ against this value and required."
+ description: |-
+ IDTokenNonce is the nonce, used when generating the IDToken.
+ If the provider supports nonce validation, the nonce will be validated against this value and required.
type: string
method:
description: |-
@@ -15932,15 +16393,14 @@ components:
flow.
type: object
upstream_parameters:
- description: "UpstreamParameters are the parameters that are passed to the\
- \ upstream identity provider.\n\nThese parameters are optional and depend\
- \ on what the upstream identity provider supports.\nSupported parameters\
- \ are:\n`login_hint` (string): The `login_hint` parameter suppresses the\
- \ account chooser and either pre-fills the email box on the sign-in form,\
- \ or selects the proper session.\n`hd` (string): The `hd` parameter limits\
- \ the login/registration process to a Google Organization, e.g. `mycollege.edu`.\n\
- `prompt` (string): The `prompt` specifies whether the Authorization Server\
- \ prompts the End-User for reauthentication and consent, e.g. `select_account`."
+ description: |-
+ UpstreamParameters are the parameters that are passed to the upstream identity provider.
+
+ These parameters are optional and depend on what the upstream identity provider supports.
+ Supported parameters are:
+ `login_hint` (string): The `login_hint` parameter suppresses the account chooser and either pre-fills the email box on the sign-in form, or selects the proper session.
+ `hd` (string): The `hd` parameter limits the login/registration process to a Google Organization, e.g. `mycollege.edu`.
+ `prompt` (string): The `prompt` specifies whether the Authorization Server prompts the End-User for reauthentication and consent, e.g. `select_account`.
type: object
required:
- method
@@ -16031,20 +16491,27 @@ components:
description: Update Recovery Flow with Code Method
properties:
code:
- description: "Code from the recovery email\n\nIf you want to submit a code,\
- \ use this field, but make sure to _not_ include the email field, as well."
+ description: |-
+ Code from the recovery email
+
+ If you want to submit a code, use this field, but make sure to _not_ include the email field, as well.
type: string
csrf_token:
description: Sending the anti-csrf token is only required for browser login
flows.
type: string
email:
- description: "The email address of the account to recover\n\nIf the email\
- \ belongs to a valid account, a recovery email will be sent.\n\nIf you\
- \ want to notify the email address if the account does not exist, see\n\
- the [notify_unknown_recipients flag](https://www.ory.sh/docs/kratos/self-service/flows/account-recovery-password-reset#attempted-recovery-notifications)\n\
- \nIf a code was already sent, including this field in the payload will\
- \ invalidate the sent code and re-send a new code.\n\nformat: email"
+ description: |-
+ The email address of the account to recover
+
+ If the email belongs to a valid account, a recovery email will be sent.
+
+ If you want to notify the email address if the account does not exist, see
+ the [notify_unknown_recipients flag](https://www.ory.sh/docs/kratos/self-service/flows/account-recovery-password-reset#attempted-recovery-notifications)
+
+ If a code was already sent, including this field in the payload will invalidate the sent code and re-send a new code.
+
+ format: email
type: string
method:
description: |-
@@ -16071,10 +16538,14 @@ components:
flows.
type: string
email:
- description: "Email to Recover\n\nNeeds to be set when initiating the flow.\
- \ If the email is a registered\nrecovery email, a recovery link will be\
- \ sent. If the email is not known,\na email with details on what happened\
- \ will be sent instead.\n\nformat: email"
+ description: |-
+ Email to Recover
+
+ Needs to be set when initiating the flow. If the email is a registered
+ recovery email, a recovery link will be sent. If the email is not known,
+ a email with details on what happened will be sent instead.
+
+ format: email
type: string
method:
description: |-
@@ -16143,18 +16614,21 @@ components:
description: The CSRF Token
type: string
id_token:
- description: "IDToken is an optional id token provided by an OIDC provider\n\
- \nIf submitted, it is verified using the OIDC provider's public key set\
- \ and the claims are used to populate\nthe OIDC credentials of the identity.\n\
- If the OIDC provider does not store additional claims (such as name, etc.)\
- \ in the IDToken itself, you can use\nthe `traits` field to populate the\
- \ identity's traits. Note, that Apple only includes the users email in\
- \ the IDToken.\n\nSupported providers are\nApple"
+ description: |-
+ IDToken is an optional id token provided by an OIDC provider
+
+ If submitted, it is verified using the OIDC provider's public key set and the claims are used to populate
+ the OIDC credentials of the identity.
+ If the OIDC provider does not store additional claims (such as name, etc.) in the IDToken itself, you can use
+ the `traits` field to populate the identity's traits. Note, that Apple only includes the users email in the IDToken.
+
+ Supported providers are
+ Apple
type: string
id_token_nonce:
- description: "IDTokenNonce is the nonce, used when generating the IDToken.\n\
- If the provider supports nonce validation, the nonce will be validated\
- \ against this value and is required."
+ description: |-
+ IDTokenNonce is the nonce, used when generating the IDToken.
+ If the provider supports nonce validation, the nonce will be validated against this value and is required.
type: string
method:
description: |-
@@ -16172,15 +16646,14 @@ components:
description: Transient data to pass along to any webhooks
type: object
upstream_parameters:
- description: "UpstreamParameters are the parameters that are passed to the\
- \ upstream identity provider.\n\nThese parameters are optional and depend\
- \ on what the upstream identity provider supports.\nSupported parameters\
- \ are:\n`login_hint` (string): The `login_hint` parameter suppresses the\
- \ account chooser and either pre-fills the email box on the sign-in form,\
- \ or selects the proper session.\n`hd` (string): The `hd` parameter limits\
- \ the login/registration process to a Google Organization, e.g. `mycollege.edu`.\n\
- `prompt` (string): The `prompt` specifies whether the Authorization Server\
- \ prompts the End-User for reauthentication and consent, e.g. `select_account`."
+ description: |-
+ UpstreamParameters are the parameters that are passed to the upstream identity provider.
+
+ These parameters are optional and depend on what the upstream identity provider supports.
+ Supported parameters are:
+ `login_hint` (string): The `login_hint` parameter suppresses the account chooser and either pre-fills the email box on the sign-in form, or selects the proper session.
+ `hd` (string): The `hd` parameter limits the login/registration process to a Google Organization, e.g. `mycollege.edu`.
+ `prompt` (string): The `prompt` specifies whether the Authorization Server prompts the End-User for reauthentication and consent, e.g. `select_account`.
type: object
required:
- method
@@ -16219,8 +16692,10 @@ components:
description: CSRFToken is the anti-CSRF token
type: string
method:
- description: "Method\n\nShould be set to \"webauthn\" when trying to add,\
- \ update, or remove a webAuthn pairing."
+ description: |-
+ Method
+
+ Should be set to "webauthn" when trying to add, update, or remove a webAuthn pairing.
type: string
traits:
description: The identity's traits
@@ -16283,8 +16758,10 @@ components:
description: If set to true will reveal the lookup secrets
type: boolean
method:
- description: "Method\n\nShould be set to \"lookup\" when trying to add,\
- \ update, or remove a lookup pairing."
+ description: |-
+ Method
+
+ Should be set to "lookup" when trying to add, update, or remove a lookup pairing.
type: string
required:
- method
@@ -16293,11 +16770,19 @@ components:
description: Update Settings Flow with OpenID Connect Method
properties:
flow:
- description: "Flow ID is the flow's ID.\n\nin: query"
+ description: |-
+ Flow ID is the flow's ID.
+
+ in: query
type: string
link:
- description: "Link this provider\n\nEither this or `unlink` must be set.\n\
- \ntype: string\nin: body"
+ description: |-
+ Link this provider
+
+ Either this or `unlink` must be set.
+
+ type: string
+ in: body
type: string
method:
description: |-
@@ -16306,22 +16791,29 @@ components:
Should be set to profile when trying to update a profile.
type: string
traits:
- description: "The identity's traits\n\nin: body"
+ description: |-
+ The identity's traits
+
+ in: body
type: object
unlink:
- description: "Unlink this provider\n\nEither this or `link` must be set.\n\
- \ntype: string\nin: body"
+ description: |-
+ Unlink this provider
+
+ Either this or `link` must be set.
+
+ type: string
+ in: body
type: string
upstream_parameters:
- description: "UpstreamParameters are the parameters that are passed to the\
- \ upstream identity provider.\n\nThese parameters are optional and depend\
- \ on what the upstream identity provider supports.\nSupported parameters\
- \ are:\n`login_hint` (string): The `login_hint` parameter suppresses the\
- \ account chooser and either pre-fills the email box on the sign-in form,\
- \ or selects the proper session.\n`hd` (string): The `hd` parameter limits\
- \ the login/registration process to a Google Organization, e.g. `mycollege.edu`.\n\
- `prompt` (string): The `prompt` specifies whether the Authorization Server\
- \ prompts the End-User for reauthentication and consent, e.g. `select_account`."
+ description: |-
+ UpstreamParameters are the parameters that are passed to the upstream identity provider.
+
+ These parameters are optional and depend on what the upstream identity provider supports.
+ Supported parameters are:
+ `login_hint` (string): The `login_hint` parameter suppresses the account chooser and either pre-fills the email box on the sign-in form, or selects the proper session.
+ `hd` (string): The `hd` parameter limits the login/registration process to a Google Organization, e.g. `mycollege.edu`.
+ `prompt` (string): The `prompt` specifies whether the Authorization Server prompts the End-User for reauthentication and consent, e.g. `select_account`.
type: object
required:
- method
@@ -16377,15 +16869,19 @@ components:
description: CSRFToken is the anti-CSRF token
type: string
method:
- description: "Method\n\nShould be set to \"totp\" when trying to add, update,\
- \ or remove a totp pairing."
+ description: |-
+ Method
+
+ Should be set to "totp" when trying to add, update, or remove a totp pairing.
type: string
totp_code:
description: ValidationTOTP must contain a valid TOTP based on the
type: string
totp_unlink:
- description: "UnlinkTOTP if true will remove the TOTP pairing,\neffectively\
- \ removing the credential. This can be used\nto set up a new TOTP device."
+ description: |-
+ UnlinkTOTP if true will remove the TOTP pairing,
+ effectively removing the credential. This can be used
+ to set up a new TOTP device.
type: boolean
required:
- method
@@ -16397,8 +16893,10 @@ components:
description: CSRFToken is the anti-CSRF token
type: string
method:
- description: "Method\n\nShould be set to \"webauthn\" when trying to add,\
- \ update, or remove a webAuthn pairing."
+ description: |-
+ Method
+
+ Should be set to "webauthn" when trying to add, update, or remove a webAuthn pairing.
type: string
webauthn_register:
description: |-
@@ -16458,20 +16956,27 @@ components:
updateVerificationFlowWithCodeMethod:
properties:
code:
- description: "Code from the recovery email\n\nIf you want to submit a code,\
- \ use this field, but make sure to _not_ include the email field, as well."
+ description: |-
+ Code from the recovery email
+
+ If you want to submit a code, use this field, but make sure to _not_ include the email field, as well.
type: string
csrf_token:
description: Sending the anti-csrf token is only required for browser login
flows.
type: string
email:
- description: "The email address to verify\n\nIf the email belongs to a valid\
- \ account, a verifiation email will be sent.\n\nIf you want to notify\
- \ the email address if the account does not exist, see\nthe [notify_unknown_recipients\
- \ flag](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation#attempted-verification-notifications)\n\
- \nIf a code was already sent, including this field in the payload will\
- \ invalidate the sent code and re-send a new code.\n\nformat: email"
+ description: |-
+ The email address to verify
+
+ If the email belongs to a valid account, a verifiation email will be sent.
+
+ If you want to notify the email address if the account does not exist, see
+ the [notify_unknown_recipients flag](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation#attempted-verification-notifications)
+
+ If a code was already sent, including this field in the payload will invalidate the sent code and re-send a new code.
+
+ format: email
type: string
method:
description: |-
@@ -16498,10 +17003,14 @@ components:
flows.
type: string
email:
- description: "Email to Verify\n\nNeeds to be set when initiating the flow.\
- \ If the email is a registered\nverification email, a verification link\
- \ will be sent. If the email is not known,\na email with details on what\
- \ happened will be sent instead.\n\nformat: email"
+ description: |-
+ Email to Verify
+
+ Needs to be set when initiating the flow. If the email is a registered
+ verification email, a verification link will be sent. If the email is not known,
+ a email with details on what happened will be sent instead.
+
+ format: email
type: string
method:
description: |-
@@ -16610,8 +17119,11 @@ components:
- via
type: object
verificationFlow:
- description: "Used to verify an out-of-band communication\nchannel such as an\
- \ email address or a phone number.\n\nFor more information head over to: https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation"
+ description: |-
+ Used to verify an out-of-band communication
+ channel such as an email address or a phone number.
+
+ For more information head over to: https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation
example:
expires_at: 2000-01-23T04:56:07.000+00:00
ui:
@@ -16672,19 +17184,23 @@ components:
request_url: request_url
properties:
active:
- description: "Active, if set, contains the registration method that is being\
- \ used. It is initially\nnot set."
+ description: |-
+ Active, if set, contains the registration method that is being used. It is initially
+ not set.
type: string
expires_at:
- description: "ExpiresAt is the time (UTC) when the request expires. If the\
- \ user still wishes to verify the address,\na new request has to be initiated."
+ description: |-
+ ExpiresAt is the time (UTC) when the request expires. If the user still wishes to verify the address,
+ a new request has to be initiated.
format: date-time
type: string
id:
- description: "ID represents the request's unique ID. When performing the\
- \ verification flow, this\nrepresents the id in the verify ui's query\
- \ parameter: http://?request=\n\
- \ntype: string\nformat: uuid"
+ description: |-
+ ID represents the request's unique ID. When performing the verification flow, this
+ represents the id in the verify ui's query parameter: http://?request=
+
+ type: string
+ format: uuid
format: uuid
type: string
issued_at:
@@ -16700,10 +17216,12 @@ components:
description: ReturnTo contains the requested return_to URL.
type: string
state:
- description: "State represents the state of this request:\n\nchoose_method:\
- \ ask the user to choose a method (e.g. verify your email)\nsent_email:\
- \ the email has been sent to the user\npassed_challenge: the request was\
- \ successful and the verification challenge was passed."
+ description: |-
+ State represents the state of this request:
+
+ choose_method: ask the user to choose a method (e.g. verify your email)
+ sent_email: the email has been sent to the user
+ passed_challenge: the request was successful and the verification challenge was passed.
type:
description: The flow type can either be `api` or `browser`.
title: Type is the flow type.
@@ -16718,10 +17236,12 @@ components:
title: A Verification Flow
type: object
verificationFlowState:
- description: "The state represents the state of the verification flow.\n\nchoose_method:\
- \ ask the user to choose a method (e.g. recover account via email)\nsent_email:\
- \ the email has been sent to the user\npassed_challenge: the request was successful\
- \ and the recovery challenge was passed."
+ description: |-
+ The state represents the state of the verification flow.
+
+ choose_method: ask the user to choose a method (e.g. recover account via email)
+ sent_email: the email has been sent to the user
+ passed_challenge: the request was successful and the recovery challenge was passed.
enum:
- choose_method
- sent_email
@@ -16739,16 +17259,17 @@ components:
introspectOAuth2Token_request:
properties:
scope:
- description: "An optional, space separated list of required scopes. If the\
- \ access token was not granted one of the\nscopes, the result of active\
- \ will be false."
+ description: |-
+ An optional, space separated list of required scopes. If the access token was not granted one of the
+ scopes, the result of active will be false.
type: string
x-formData-name: scope
token:
- description: "The string value of the token. For access tokens, this\nis\
- \ the \"access_token\" value returned from the token endpoint\ndefined\
- \ in OAuth 2.0. For refresh tokens, this is the \"refresh_token\"\nvalue\
- \ returned."
+ description: |-
+ The string value of the token. For access tokens, this
+ is the "access_token" value returned from the token endpoint
+ defined in OAuth 2.0. For refresh tokens, this is the "refresh_token"
+ value returned.
required:
- token
type: string
@@ -16818,8 +17339,12 @@ components:
createProjectApiKey_request:
properties:
name:
- description: "The Token Name\n\nA descriptive name for the token.\n\nin:\
- \ body"
+ description: |-
+ The Token Name
+
+ A descriptive name for the token.
+
+ in: body
type: string
required:
- name
diff --git a/clients/client/go/api_courier.go b/clients/client/go/api_courier.go
index 6fe97df5a67..c9581e8b29f 100644
--- a/clients/client/go/api_courier.go
+++ b/clients/client/go/api_courier.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -14,14 +14,14 @@ package client
import (
"bytes"
"context"
- "io/ioutil"
+ "io"
"net/http"
"net/url"
"strings"
)
-type CourierApi interface {
+type CourierAPI interface {
/*
GetCourierMessage Get a Message
@@ -30,13 +30,13 @@ type CourierApi interface {
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id MessageID is the ID of the message.
- @return CourierApiGetCourierMessageRequest
+ @return CourierAPIGetCourierMessageRequest
*/
- GetCourierMessage(ctx context.Context, id string) CourierApiGetCourierMessageRequest
+ GetCourierMessage(ctx context.Context, id string) CourierAPIGetCourierMessageRequest
// GetCourierMessageExecute executes the request
// @return Message
- GetCourierMessageExecute(r CourierApiGetCourierMessageRequest) (*Message, *http.Response, error)
+ GetCourierMessageExecute(r CourierAPIGetCourierMessageRequest) (*Message, *http.Response, error)
/*
ListCourierMessages List Messages
@@ -44,25 +44,25 @@ type CourierApi interface {
Lists all messages by given status and recipient.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return CourierApiListCourierMessagesRequest
+ @return CourierAPIListCourierMessagesRequest
*/
- ListCourierMessages(ctx context.Context) CourierApiListCourierMessagesRequest
+ ListCourierMessages(ctx context.Context) CourierAPIListCourierMessagesRequest
// ListCourierMessagesExecute executes the request
// @return []Message
- ListCourierMessagesExecute(r CourierApiListCourierMessagesRequest) ([]Message, *http.Response, error)
+ ListCourierMessagesExecute(r CourierAPIListCourierMessagesRequest) ([]Message, *http.Response, error)
}
-// CourierApiService CourierApi service
-type CourierApiService service
+// CourierAPIService CourierAPI service
+type CourierAPIService service
-type CourierApiGetCourierMessageRequest struct {
+type CourierAPIGetCourierMessageRequest struct {
ctx context.Context
- ApiService CourierApi
+ ApiService CourierAPI
id string
}
-func (r CourierApiGetCourierMessageRequest) Execute() (*Message, *http.Response, error) {
+func (r CourierAPIGetCourierMessageRequest) Execute() (*Message, *http.Response, error) {
return r.ApiService.GetCourierMessageExecute(r)
}
@@ -73,10 +73,10 @@ Gets a specific messages by the given ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id MessageID is the ID of the message.
- @return CourierApiGetCourierMessageRequest
+ @return CourierAPIGetCourierMessageRequest
*/
-func (a *CourierApiService) GetCourierMessage(ctx context.Context, id string) CourierApiGetCourierMessageRequest {
- return CourierApiGetCourierMessageRequest{
+func (a *CourierAPIService) GetCourierMessage(ctx context.Context, id string) CourierAPIGetCourierMessageRequest {
+ return CourierAPIGetCourierMessageRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -85,7 +85,7 @@ func (a *CourierApiService) GetCourierMessage(ctx context.Context, id string) Co
// Execute executes the request
// @return Message
-func (a *CourierApiService) GetCourierMessageExecute(r CourierApiGetCourierMessageRequest) (*Message, *http.Response, error) {
+func (a *CourierAPIService) GetCourierMessageExecute(r CourierAPIGetCourierMessageRequest) (*Message, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -93,13 +93,13 @@ func (a *CourierApiService) GetCourierMessageExecute(r CourierApiGetCourierMessa
localVarReturnValue *Message
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CourierApiService.GetCourierMessage")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CourierAPIService.GetCourierMessage")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/admin/courier/messages/{id}"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -132,9 +132,9 @@ func (a *CourierApiService) GetCourierMessageExecute(r CourierApiGetCourierMessa
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -151,7 +151,8 @@ func (a *CourierApiService) GetCourierMessageExecute(r CourierApiGetCourierMessa
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -160,7 +161,8 @@ func (a *CourierApiService) GetCourierMessageExecute(r CourierApiGetCourierMessa
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -176,9 +178,9 @@ func (a *CourierApiService) GetCourierMessageExecute(r CourierApiGetCourierMessa
return localVarReturnValue, localVarHTTPResponse, nil
}
-type CourierApiListCourierMessagesRequest struct {
+type CourierAPIListCourierMessagesRequest struct {
ctx context.Context
- ApiService CourierApi
+ ApiService CourierAPI
pageSize *int64
pageToken *string
status *CourierMessageStatus
@@ -186,30 +188,30 @@ type CourierApiListCourierMessagesRequest struct {
}
// Items per Page This is the number of items per page to return. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
-func (r CourierApiListCourierMessagesRequest) PageSize(pageSize int64) CourierApiListCourierMessagesRequest {
+func (r CourierAPIListCourierMessagesRequest) PageSize(pageSize int64) CourierAPIListCourierMessagesRequest {
r.pageSize = &pageSize
return r
}
// Next Page Token The next page token. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
-func (r CourierApiListCourierMessagesRequest) PageToken(pageToken string) CourierApiListCourierMessagesRequest {
+func (r CourierAPIListCourierMessagesRequest) PageToken(pageToken string) CourierAPIListCourierMessagesRequest {
r.pageToken = &pageToken
return r
}
// Status filters out messages based on status. If no value is provided, it doesn't take effect on filter.
-func (r CourierApiListCourierMessagesRequest) Status(status CourierMessageStatus) CourierApiListCourierMessagesRequest {
+func (r CourierAPIListCourierMessagesRequest) Status(status CourierMessageStatus) CourierAPIListCourierMessagesRequest {
r.status = &status
return r
}
// Recipient filters out messages based on recipient. If no value is provided, it doesn't take effect on filter.
-func (r CourierApiListCourierMessagesRequest) Recipient(recipient string) CourierApiListCourierMessagesRequest {
+func (r CourierAPIListCourierMessagesRequest) Recipient(recipient string) CourierAPIListCourierMessagesRequest {
r.recipient = &recipient
return r
}
-func (r CourierApiListCourierMessagesRequest) Execute() ([]Message, *http.Response, error) {
+func (r CourierAPIListCourierMessagesRequest) Execute() ([]Message, *http.Response, error) {
return r.ApiService.ListCourierMessagesExecute(r)
}
@@ -219,10 +221,10 @@ ListCourierMessages List Messages
Lists all messages by given status and recipient.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return CourierApiListCourierMessagesRequest
+ @return CourierAPIListCourierMessagesRequest
*/
-func (a *CourierApiService) ListCourierMessages(ctx context.Context) CourierApiListCourierMessagesRequest {
- return CourierApiListCourierMessagesRequest{
+func (a *CourierAPIService) ListCourierMessages(ctx context.Context) CourierAPIListCourierMessagesRequest {
+ return CourierAPIListCourierMessagesRequest{
ApiService: a,
ctx: ctx,
}
@@ -230,7 +232,7 @@ func (a *CourierApiService) ListCourierMessages(ctx context.Context) CourierApiL
// Execute executes the request
// @return []Message
-func (a *CourierApiService) ListCourierMessagesExecute(r CourierApiListCourierMessagesRequest) ([]Message, *http.Response, error) {
+func (a *CourierAPIService) ListCourierMessagesExecute(r CourierAPIListCourierMessagesRequest) ([]Message, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -238,7 +240,7 @@ func (a *CourierApiService) ListCourierMessagesExecute(r CourierApiListCourierMe
localVarReturnValue []Message
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CourierApiService.ListCourierMessages")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CourierAPIService.ListCourierMessages")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -250,16 +252,19 @@ func (a *CourierApiService) ListCourierMessagesExecute(r CourierApiListCourierMe
localVarFormParams := url.Values{}
if r.pageSize != nil {
- localVarQueryParams.Add("page_size", parameterToString(*r.pageSize, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "page_size", r.pageSize, "")
+ } else {
+ var defaultValue int64 = 250
+ r.pageSize = &defaultValue
}
if r.pageToken != nil {
- localVarQueryParams.Add("page_token", parameterToString(*r.pageToken, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "page_token", r.pageToken, "")
}
if r.status != nil {
- localVarQueryParams.Add("status", parameterToString(*r.status, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status", r.status, "")
}
if r.recipient != nil {
- localVarQueryParams.Add("recipient", parameterToString(*r.recipient, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "recipient", r.recipient, "")
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -288,9 +293,9 @@ func (a *CourierApiService) ListCourierMessagesExecute(r CourierApiListCourierMe
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -307,7 +312,8 @@ func (a *CourierApiService) ListCourierMessagesExecute(r CourierApiListCourierMe
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -316,7 +322,8 @@ func (a *CourierApiService) ListCourierMessagesExecute(r CourierApiListCourierMe
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
diff --git a/clients/client/go/api_frontend.go b/clients/client/go/api_frontend.go
index e1f4bca4711..5ff452eb7be 100644
--- a/clients/client/go/api_frontend.go
+++ b/clients/client/go/api_frontend.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -14,14 +14,14 @@ package client
import (
"bytes"
"context"
- "io/ioutil"
+ "io"
"net/http"
"net/url"
"strings"
)
-type FrontendApi interface {
+type FrontendAPI interface {
/*
CreateBrowserLoginFlow Create Login Flow for Browsers
@@ -51,13 +51,13 @@ This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Fi
More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiCreateBrowserLoginFlowRequest
+ @return FrontendAPICreateBrowserLoginFlowRequest
*/
- CreateBrowserLoginFlow(ctx context.Context) FrontendApiCreateBrowserLoginFlowRequest
+ CreateBrowserLoginFlow(ctx context.Context) FrontendAPICreateBrowserLoginFlowRequest
// CreateBrowserLoginFlowExecute executes the request
// @return LoginFlow
- CreateBrowserLoginFlowExecute(r FrontendApiCreateBrowserLoginFlowRequest) (*LoginFlow, *http.Response, error)
+ CreateBrowserLoginFlowExecute(r FrontendAPICreateBrowserLoginFlowRequest) (*LoginFlow, *http.Response, error)
/*
CreateBrowserLogoutFlow Create a Logout URL for Browsers
@@ -74,13 +74,13 @@ a 401 error.
When calling this endpoint from a backend, please ensure to properly forward the HTTP cookies.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiCreateBrowserLogoutFlowRequest
+ @return FrontendAPICreateBrowserLogoutFlowRequest
*/
- CreateBrowserLogoutFlow(ctx context.Context) FrontendApiCreateBrowserLogoutFlowRequest
+ CreateBrowserLogoutFlow(ctx context.Context) FrontendAPICreateBrowserLogoutFlowRequest
// CreateBrowserLogoutFlowExecute executes the request
// @return LogoutFlow
- CreateBrowserLogoutFlowExecute(r FrontendApiCreateBrowserLogoutFlowRequest) (*LogoutFlow, *http.Response, error)
+ CreateBrowserLogoutFlowExecute(r FrontendAPICreateBrowserLogoutFlowRequest) (*LogoutFlow, *http.Response, error)
/*
CreateBrowserRecoveryFlow Create Recovery Flow for Browsers
@@ -97,13 +97,13 @@ This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Fi
More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiCreateBrowserRecoveryFlowRequest
+ @return FrontendAPICreateBrowserRecoveryFlowRequest
*/
- CreateBrowserRecoveryFlow(ctx context.Context) FrontendApiCreateBrowserRecoveryFlowRequest
+ CreateBrowserRecoveryFlow(ctx context.Context) FrontendAPICreateBrowserRecoveryFlowRequest
// CreateBrowserRecoveryFlowExecute executes the request
// @return RecoveryFlow
- CreateBrowserRecoveryFlowExecute(r FrontendApiCreateBrowserRecoveryFlowRequest) (*RecoveryFlow, *http.Response, error)
+ CreateBrowserRecoveryFlowExecute(r FrontendAPICreateBrowserRecoveryFlowRequest) (*RecoveryFlow, *http.Response, error)
/*
CreateBrowserRegistrationFlow Create Registration Flow for Browsers
@@ -129,13 +129,13 @@ This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Fi
More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiCreateBrowserRegistrationFlowRequest
+ @return FrontendAPICreateBrowserRegistrationFlowRequest
*/
- CreateBrowserRegistrationFlow(ctx context.Context) FrontendApiCreateBrowserRegistrationFlowRequest
+ CreateBrowserRegistrationFlow(ctx context.Context) FrontendAPICreateBrowserRegistrationFlowRequest
// CreateBrowserRegistrationFlowExecute executes the request
// @return RegistrationFlow
- CreateBrowserRegistrationFlowExecute(r FrontendApiCreateBrowserRegistrationFlowRequest) (*RegistrationFlow, *http.Response, error)
+ CreateBrowserRegistrationFlowExecute(r FrontendAPICreateBrowserRegistrationFlowRequest) (*RegistrationFlow, *http.Response, error)
/*
CreateBrowserSettingsFlow Create Settings Flow for Browsers
@@ -168,13 +168,13 @@ This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Fi
More information can be found at [Ory Kratos User Settings & Profile Management Documentation](../self-service/flows/user-settings).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiCreateBrowserSettingsFlowRequest
+ @return FrontendAPICreateBrowserSettingsFlowRequest
*/
- CreateBrowserSettingsFlow(ctx context.Context) FrontendApiCreateBrowserSettingsFlowRequest
+ CreateBrowserSettingsFlow(ctx context.Context) FrontendAPICreateBrowserSettingsFlowRequest
// CreateBrowserSettingsFlowExecute executes the request
// @return SettingsFlow
- CreateBrowserSettingsFlowExecute(r FrontendApiCreateBrowserSettingsFlowRequest) (*SettingsFlow, *http.Response, error)
+ CreateBrowserSettingsFlowExecute(r FrontendAPICreateBrowserSettingsFlowRequest) (*SettingsFlow, *http.Response, error)
/*
CreateBrowserVerificationFlow Create Verification Flow for Browser Clients
@@ -189,13 +189,13 @@ This endpoint is NOT INTENDED for API clients and only works with browsers (Chro
More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiCreateBrowserVerificationFlowRequest
+ @return FrontendAPICreateBrowserVerificationFlowRequest
*/
- CreateBrowserVerificationFlow(ctx context.Context) FrontendApiCreateBrowserVerificationFlowRequest
+ CreateBrowserVerificationFlow(ctx context.Context) FrontendAPICreateBrowserVerificationFlowRequest
// CreateBrowserVerificationFlowExecute executes the request
// @return VerificationFlow
- CreateBrowserVerificationFlowExecute(r FrontendApiCreateBrowserVerificationFlowRequest) (*VerificationFlow, *http.Response, error)
+ CreateBrowserVerificationFlowExecute(r FrontendAPICreateBrowserVerificationFlowRequest) (*VerificationFlow, *http.Response, error)
/*
CreateNativeLoginFlow Create Login Flow for Native Apps
@@ -222,13 +222,13 @@ This endpoint MUST ONLY be used in scenarios such as native mobile apps (React N
More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiCreateNativeLoginFlowRequest
+ @return FrontendAPICreateNativeLoginFlowRequest
*/
- CreateNativeLoginFlow(ctx context.Context) FrontendApiCreateNativeLoginFlowRequest
+ CreateNativeLoginFlow(ctx context.Context) FrontendAPICreateNativeLoginFlowRequest
// CreateNativeLoginFlowExecute executes the request
// @return LoginFlow
- CreateNativeLoginFlowExecute(r FrontendApiCreateNativeLoginFlowRequest) (*LoginFlow, *http.Response, error)
+ CreateNativeLoginFlowExecute(r FrontendAPICreateNativeLoginFlowRequest) (*LoginFlow, *http.Response, error)
/*
CreateNativeRecoveryFlow Create Recovery Flow for Native Apps
@@ -248,13 +248,13 @@ This endpoint MUST ONLY be used in scenarios such as native mobile apps (React N
More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiCreateNativeRecoveryFlowRequest
+ @return FrontendAPICreateNativeRecoveryFlowRequest
*/
- CreateNativeRecoveryFlow(ctx context.Context) FrontendApiCreateNativeRecoveryFlowRequest
+ CreateNativeRecoveryFlow(ctx context.Context) FrontendAPICreateNativeRecoveryFlowRequest
// CreateNativeRecoveryFlowExecute executes the request
// @return RecoveryFlow
- CreateNativeRecoveryFlowExecute(r FrontendApiCreateNativeRecoveryFlowRequest) (*RecoveryFlow, *http.Response, error)
+ CreateNativeRecoveryFlowExecute(r FrontendAPICreateNativeRecoveryFlowRequest) (*RecoveryFlow, *http.Response, error)
/*
CreateNativeRegistrationFlow Create Registration Flow for Native Apps
@@ -280,13 +280,13 @@ This endpoint MUST ONLY be used in scenarios such as native mobile apps (React N
More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiCreateNativeRegistrationFlowRequest
+ @return FrontendAPICreateNativeRegistrationFlowRequest
*/
- CreateNativeRegistrationFlow(ctx context.Context) FrontendApiCreateNativeRegistrationFlowRequest
+ CreateNativeRegistrationFlow(ctx context.Context) FrontendAPICreateNativeRegistrationFlowRequest
// CreateNativeRegistrationFlowExecute executes the request
// @return RegistrationFlow
- CreateNativeRegistrationFlowExecute(r FrontendApiCreateNativeRegistrationFlowRequest) (*RegistrationFlow, *http.Response, error)
+ CreateNativeRegistrationFlowExecute(r FrontendAPICreateNativeRegistrationFlowRequest) (*RegistrationFlow, *http.Response, error)
/*
CreateNativeSettingsFlow Create Settings Flow for Native Apps
@@ -315,13 +315,13 @@ This endpoint MUST ONLY be used in scenarios such as native mobile apps (React N
More information can be found at [Ory Kratos User Settings & Profile Management Documentation](../self-service/flows/user-settings).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiCreateNativeSettingsFlowRequest
+ @return FrontendAPICreateNativeSettingsFlowRequest
*/
- CreateNativeSettingsFlow(ctx context.Context) FrontendApiCreateNativeSettingsFlowRequest
+ CreateNativeSettingsFlow(ctx context.Context) FrontendAPICreateNativeSettingsFlowRequest
// CreateNativeSettingsFlowExecute executes the request
// @return SettingsFlow
- CreateNativeSettingsFlowExecute(r FrontendApiCreateNativeSettingsFlowRequest) (*SettingsFlow, *http.Response, error)
+ CreateNativeSettingsFlowExecute(r FrontendAPICreateNativeSettingsFlowRequest) (*SettingsFlow, *http.Response, error)
/*
CreateNativeVerificationFlow Create Verification Flow for Native Apps
@@ -339,13 +339,13 @@ This endpoint MUST ONLY be used in scenarios such as native mobile apps (React N
More information can be found at [Ory Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiCreateNativeVerificationFlowRequest
+ @return FrontendAPICreateNativeVerificationFlowRequest
*/
- CreateNativeVerificationFlow(ctx context.Context) FrontendApiCreateNativeVerificationFlowRequest
+ CreateNativeVerificationFlow(ctx context.Context) FrontendAPICreateNativeVerificationFlowRequest
// CreateNativeVerificationFlowExecute executes the request
// @return VerificationFlow
- CreateNativeVerificationFlowExecute(r FrontendApiCreateNativeVerificationFlowRequest) (*VerificationFlow, *http.Response, error)
+ CreateNativeVerificationFlowExecute(r FrontendAPICreateNativeVerificationFlowRequest) (*VerificationFlow, *http.Response, error)
/*
DisableMyOtherSessions Disable my other sessions
@@ -354,13 +354,13 @@ More information can be found at [Ory Email and Phone Verification Documentation
Session data are not deleted.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiDisableMyOtherSessionsRequest
+ @return FrontendAPIDisableMyOtherSessionsRequest
*/
- DisableMyOtherSessions(ctx context.Context) FrontendApiDisableMyOtherSessionsRequest
+ DisableMyOtherSessions(ctx context.Context) FrontendAPIDisableMyOtherSessionsRequest
// DisableMyOtherSessionsExecute executes the request
// @return DeleteMySessionsCount
- DisableMyOtherSessionsExecute(r FrontendApiDisableMyOtherSessionsRequest) (*DeleteMySessionsCount, *http.Response, error)
+ DisableMyOtherSessionsExecute(r FrontendAPIDisableMyOtherSessionsRequest) (*DeleteMySessionsCount, *http.Response, error)
/*
DisableMySession Disable one of my sessions
@@ -370,24 +370,24 @@ Session data are not deleted.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id ID is the session's ID.
- @return FrontendApiDisableMySessionRequest
+ @return FrontendAPIDisableMySessionRequest
*/
- DisableMySession(ctx context.Context, id string) FrontendApiDisableMySessionRequest
+ DisableMySession(ctx context.Context, id string) FrontendAPIDisableMySessionRequest
// DisableMySessionExecute executes the request
- DisableMySessionExecute(r FrontendApiDisableMySessionRequest) (*http.Response, error)
+ DisableMySessionExecute(r FrontendAPIDisableMySessionRequest) (*http.Response, error)
/*
ExchangeSessionToken Exchange Session Token
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiExchangeSessionTokenRequest
+ @return FrontendAPIExchangeSessionTokenRequest
*/
- ExchangeSessionToken(ctx context.Context) FrontendApiExchangeSessionTokenRequest
+ ExchangeSessionToken(ctx context.Context) FrontendAPIExchangeSessionTokenRequest
// ExchangeSessionTokenExecute executes the request
// @return SuccessfulNativeLogin
- ExchangeSessionTokenExecute(r FrontendApiExchangeSessionTokenRequest) (*SuccessfulNativeLogin, *http.Response, error)
+ ExchangeSessionTokenExecute(r FrontendAPIExchangeSessionTokenRequest) (*SuccessfulNativeLogin, *http.Response, error)
/*
GetFlowError Get User-Flow Errors
@@ -401,13 +401,13 @@ This endpoint supports stub values to help you implement the error UI:
More information can be found at [Ory Kratos User User Facing Error Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-facing-errors).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiGetFlowErrorRequest
+ @return FrontendAPIGetFlowErrorRequest
*/
- GetFlowError(ctx context.Context) FrontendApiGetFlowErrorRequest
+ GetFlowError(ctx context.Context) FrontendAPIGetFlowErrorRequest
// GetFlowErrorExecute executes the request
// @return FlowError
- GetFlowErrorExecute(r FrontendApiGetFlowErrorRequest) (*FlowError, *http.Response, error)
+ GetFlowErrorExecute(r FrontendAPIGetFlowErrorRequest) (*FlowError, *http.Response, error)
/*
GetLoginFlow Get Login Flow
@@ -437,13 +437,13 @@ This request may fail due to several reasons. The `error.id` can be one of:
More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiGetLoginFlowRequest
+ @return FrontendAPIGetLoginFlowRequest
*/
- GetLoginFlow(ctx context.Context) FrontendApiGetLoginFlowRequest
+ GetLoginFlow(ctx context.Context) FrontendAPIGetLoginFlowRequest
// GetLoginFlowExecute executes the request
// @return LoginFlow
- GetLoginFlowExecute(r FrontendApiGetLoginFlowRequest) (*LoginFlow, *http.Response, error)
+ GetLoginFlowExecute(r FrontendAPIGetLoginFlowRequest) (*LoginFlow, *http.Response, error)
/*
GetRecoveryFlow Get Recovery Flow
@@ -468,13 +468,13 @@ res.render('recovery', flow)
More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiGetRecoveryFlowRequest
+ @return FrontendAPIGetRecoveryFlowRequest
*/
- GetRecoveryFlow(ctx context.Context) FrontendApiGetRecoveryFlowRequest
+ GetRecoveryFlow(ctx context.Context) FrontendAPIGetRecoveryFlowRequest
// GetRecoveryFlowExecute executes the request
// @return RecoveryFlow
- GetRecoveryFlowExecute(r FrontendApiGetRecoveryFlowRequest) (*RecoveryFlow, *http.Response, error)
+ GetRecoveryFlowExecute(r FrontendAPIGetRecoveryFlowRequest) (*RecoveryFlow, *http.Response, error)
/*
GetRegistrationFlow Get Registration Flow
@@ -504,13 +504,13 @@ This request may fail due to several reasons. The `error.id` can be one of:
More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiGetRegistrationFlowRequest
+ @return FrontendAPIGetRegistrationFlowRequest
*/
- GetRegistrationFlow(ctx context.Context) FrontendApiGetRegistrationFlowRequest
+ GetRegistrationFlow(ctx context.Context) FrontendAPIGetRegistrationFlowRequest
// GetRegistrationFlowExecute executes the request
// @return RegistrationFlow
- GetRegistrationFlowExecute(r FrontendApiGetRegistrationFlowRequest) (*RegistrationFlow, *http.Response, error)
+ GetRegistrationFlowExecute(r FrontendAPIGetRegistrationFlowRequest) (*RegistrationFlow, *http.Response, error)
/*
GetSettingsFlow Get Settings Flow
@@ -536,13 +536,13 @@ identity logged in instead.
More information can be found at [Ory Kratos User Settings & Profile Management Documentation](../self-service/flows/user-settings).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiGetSettingsFlowRequest
+ @return FrontendAPIGetSettingsFlowRequest
*/
- GetSettingsFlow(ctx context.Context) FrontendApiGetSettingsFlowRequest
+ GetSettingsFlow(ctx context.Context) FrontendAPIGetSettingsFlowRequest
// GetSettingsFlowExecute executes the request
// @return SettingsFlow
- GetSettingsFlowExecute(r FrontendApiGetSettingsFlowRequest) (*SettingsFlow, *http.Response, error)
+ GetSettingsFlowExecute(r FrontendAPIGetSettingsFlowRequest) (*SettingsFlow, *http.Response, error)
/*
GetVerificationFlow Get Verification Flow
@@ -567,13 +567,13 @@ res.render('verification', flow)
More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiGetVerificationFlowRequest
+ @return FrontendAPIGetVerificationFlowRequest
*/
- GetVerificationFlow(ctx context.Context) FrontendApiGetVerificationFlowRequest
+ GetVerificationFlow(ctx context.Context) FrontendAPIGetVerificationFlowRequest
// GetVerificationFlowExecute executes the request
// @return VerificationFlow
- GetVerificationFlowExecute(r FrontendApiGetVerificationFlowRequest) (*VerificationFlow, *http.Response, error)
+ GetVerificationFlowExecute(r FrontendAPIGetVerificationFlowRequest) (*VerificationFlow, *http.Response, error)
/*
GetWebAuthnJavaScript Get WebAuthn JavaScript
@@ -589,13 +589,13 @@ If you are building a JavaScript Browser App (e.g. in ReactJS or AngularJS) you
More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiGetWebAuthnJavaScriptRequest
+ @return FrontendAPIGetWebAuthnJavaScriptRequest
*/
- GetWebAuthnJavaScript(ctx context.Context) FrontendApiGetWebAuthnJavaScriptRequest
+ GetWebAuthnJavaScript(ctx context.Context) FrontendAPIGetWebAuthnJavaScriptRequest
// GetWebAuthnJavaScriptExecute executes the request
// @return string
- GetWebAuthnJavaScriptExecute(r FrontendApiGetWebAuthnJavaScriptRequest) (string, *http.Response, error)
+ GetWebAuthnJavaScriptExecute(r FrontendAPIGetWebAuthnJavaScriptRequest) (string, *http.Response, error)
/*
ListMySessions Get My Active Sessions
@@ -604,13 +604,13 @@ More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs
The current session can be retrieved by calling the `/sessions/whoami` endpoint.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiListMySessionsRequest
+ @return FrontendAPIListMySessionsRequest
*/
- ListMySessions(ctx context.Context) FrontendApiListMySessionsRequest
+ ListMySessions(ctx context.Context) FrontendAPIListMySessionsRequest
// ListMySessionsExecute executes the request
// @return []Session
- ListMySessionsExecute(r FrontendApiListMySessionsRequest) ([]Session, *http.Response, error)
+ ListMySessionsExecute(r FrontendAPIListMySessionsRequest) ([]Session, *http.Response, error)
/*
PerformNativeLogout Perform Logout for Native Apps
@@ -625,12 +625,12 @@ This endpoint does not remove any HTTP
Cookies - use the Browser-Based Self-Service Logout Flow instead.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiPerformNativeLogoutRequest
+ @return FrontendAPIPerformNativeLogoutRequest
*/
- PerformNativeLogout(ctx context.Context) FrontendApiPerformNativeLogoutRequest
+ PerformNativeLogout(ctx context.Context) FrontendAPIPerformNativeLogoutRequest
// PerformNativeLogoutExecute executes the request
- PerformNativeLogoutExecute(r FrontendApiPerformNativeLogoutRequest) (*http.Response, error)
+ PerformNativeLogoutExecute(r FrontendAPIPerformNativeLogoutRequest) (*http.Response, error)
/*
ToSession Check Who the Current HTTP Session Belongs To
@@ -696,13 +696,13 @@ As explained above, this request may fail due to several reasons. The `error.id`
`session_aal2_required`: An active session was found but it does not fulfil the Authenticator Assurance Level, implying that the session must (e.g.) authenticate the second factor.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiToSessionRequest
+ @return FrontendAPIToSessionRequest
*/
- ToSession(ctx context.Context) FrontendApiToSessionRequest
+ ToSession(ctx context.Context) FrontendAPIToSessionRequest
// ToSessionExecute executes the request
// @return Session
- ToSessionExecute(r FrontendApiToSessionRequest) (*Session, *http.Response, error)
+ ToSessionExecute(r FrontendAPIToSessionRequest) (*Session, *http.Response, error)
/*
UpdateLoginFlow Submit a Login Flow
@@ -736,13 +736,13 @@ Most likely used in Social Sign In flows.
More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiUpdateLoginFlowRequest
+ @return FrontendAPIUpdateLoginFlowRequest
*/
- UpdateLoginFlow(ctx context.Context) FrontendApiUpdateLoginFlowRequest
+ UpdateLoginFlow(ctx context.Context) FrontendAPIUpdateLoginFlowRequest
// UpdateLoginFlowExecute executes the request
// @return SuccessfulNativeLogin
- UpdateLoginFlowExecute(r FrontendApiUpdateLoginFlowRequest) (*SuccessfulNativeLogin, *http.Response, error)
+ UpdateLoginFlowExecute(r FrontendAPIUpdateLoginFlowRequest) (*SuccessfulNativeLogin, *http.Response, error)
/*
UpdateLogoutFlow Update Logout Flow
@@ -762,12 +762,12 @@ call the `/self-service/logout/api` URL directly with the Ory Session Token.
More information can be found at [Ory Kratos User Logout Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-logout).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiUpdateLogoutFlowRequest
+ @return FrontendAPIUpdateLogoutFlowRequest
*/
- UpdateLogoutFlow(ctx context.Context) FrontendApiUpdateLogoutFlowRequest
+ UpdateLogoutFlow(ctx context.Context) FrontendAPIUpdateLogoutFlowRequest
// UpdateLogoutFlowExecute executes the request
- UpdateLogoutFlowExecute(r FrontendApiUpdateLogoutFlowRequest) (*http.Response, error)
+ UpdateLogoutFlowExecute(r FrontendAPIUpdateLogoutFlowRequest) (*http.Response, error)
/*
UpdateRecoveryFlow Complete Recovery Flow
@@ -790,13 +790,13 @@ a new Recovery Flow ID which contains an error message that the recovery link wa
More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiUpdateRecoveryFlowRequest
+ @return FrontendAPIUpdateRecoveryFlowRequest
*/
- UpdateRecoveryFlow(ctx context.Context) FrontendApiUpdateRecoveryFlowRequest
+ UpdateRecoveryFlow(ctx context.Context) FrontendAPIUpdateRecoveryFlowRequest
// UpdateRecoveryFlowExecute executes the request
// @return RecoveryFlow
- UpdateRecoveryFlowExecute(r FrontendApiUpdateRecoveryFlowRequest) (*RecoveryFlow, *http.Response, error)
+ UpdateRecoveryFlowExecute(r FrontendAPIUpdateRecoveryFlowRequest) (*RecoveryFlow, *http.Response, error)
/*
UpdateRegistrationFlow Update Registration Flow
@@ -831,13 +831,13 @@ Most likely used in Social Sign In flows.
More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiUpdateRegistrationFlowRequest
+ @return FrontendAPIUpdateRegistrationFlowRequest
*/
- UpdateRegistrationFlow(ctx context.Context) FrontendApiUpdateRegistrationFlowRequest
+ UpdateRegistrationFlow(ctx context.Context) FrontendAPIUpdateRegistrationFlowRequest
// UpdateRegistrationFlowExecute executes the request
// @return SuccessfulNativeRegistration
- UpdateRegistrationFlowExecute(r FrontendApiUpdateRegistrationFlowRequest) (*SuccessfulNativeRegistration, *http.Response, error)
+ UpdateRegistrationFlowExecute(r FrontendAPIUpdateRegistrationFlowRequest) (*SuccessfulNativeRegistration, *http.Response, error)
/*
UpdateSettingsFlow Complete Settings Flow
@@ -887,13 +887,13 @@ Most likely used in Social Sign In flows.
More information can be found at [Ory Kratos User Settings & Profile Management Documentation](../self-service/flows/user-settings).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiUpdateSettingsFlowRequest
+ @return FrontendAPIUpdateSettingsFlowRequest
*/
- UpdateSettingsFlow(ctx context.Context) FrontendApiUpdateSettingsFlowRequest
+ UpdateSettingsFlow(ctx context.Context) FrontendAPIUpdateSettingsFlowRequest
// UpdateSettingsFlowExecute executes the request
// @return SettingsFlow
- UpdateSettingsFlowExecute(r FrontendApiUpdateSettingsFlowRequest) (*SettingsFlow, *http.Response, error)
+ UpdateSettingsFlowExecute(r FrontendAPIUpdateSettingsFlowRequest) (*SettingsFlow, *http.Response, error)
/*
UpdateVerificationFlow Complete Verification Flow
@@ -916,21 +916,21 @@ a new Verification Flow ID which contains an error message that the verification
More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiUpdateVerificationFlowRequest
+ @return FrontendAPIUpdateVerificationFlowRequest
*/
- UpdateVerificationFlow(ctx context.Context) FrontendApiUpdateVerificationFlowRequest
+ UpdateVerificationFlow(ctx context.Context) FrontendAPIUpdateVerificationFlowRequest
// UpdateVerificationFlowExecute executes the request
// @return VerificationFlow
- UpdateVerificationFlowExecute(r FrontendApiUpdateVerificationFlowRequest) (*VerificationFlow, *http.Response, error)
+ UpdateVerificationFlowExecute(r FrontendAPIUpdateVerificationFlowRequest) (*VerificationFlow, *http.Response, error)
}
-// FrontendApiService FrontendApi service
-type FrontendApiService service
+// FrontendAPIService FrontendAPI service
+type FrontendAPIService service
-type FrontendApiCreateBrowserLoginFlowRequest struct {
+type FrontendAPICreateBrowserLoginFlowRequest struct {
ctx context.Context
- ApiService FrontendApi
+ ApiService FrontendAPI
refresh *bool
aal *string
returnTo *string
@@ -940,42 +940,42 @@ type FrontendApiCreateBrowserLoginFlowRequest struct {
}
// Refresh a login session If set to true, this will refresh an existing login session by asking the user to sign in again. This will reset the authenticated_at time of the session.
-func (r FrontendApiCreateBrowserLoginFlowRequest) Refresh(refresh bool) FrontendApiCreateBrowserLoginFlowRequest {
+func (r FrontendAPICreateBrowserLoginFlowRequest) Refresh(refresh bool) FrontendAPICreateBrowserLoginFlowRequest {
r.refresh = &refresh
return r
}
// Request a Specific AuthenticationMethod Assurance Level Use this parameter to upgrade an existing session's authenticator assurance level (AAL). This allows you to ask for multi-factor authentication. When an identity sign in using e.g. username+password, the AAL is 1. If you wish to \"upgrade\" the session's security by asking the user to perform TOTP / WebAuth/ ... you would set this to \"aal2\".
-func (r FrontendApiCreateBrowserLoginFlowRequest) Aal(aal string) FrontendApiCreateBrowserLoginFlowRequest {
+func (r FrontendAPICreateBrowserLoginFlowRequest) Aal(aal string) FrontendAPICreateBrowserLoginFlowRequest {
r.aal = &aal
return r
}
// The URL to return the browser to after the flow was completed.
-func (r FrontendApiCreateBrowserLoginFlowRequest) ReturnTo(returnTo string) FrontendApiCreateBrowserLoginFlowRequest {
+func (r FrontendAPICreateBrowserLoginFlowRequest) ReturnTo(returnTo string) FrontendAPICreateBrowserLoginFlowRequest {
r.returnTo = &returnTo
return r
}
// HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
-func (r FrontendApiCreateBrowserLoginFlowRequest) Cookie(cookie string) FrontendApiCreateBrowserLoginFlowRequest {
+func (r FrontendAPICreateBrowserLoginFlowRequest) Cookie(cookie string) FrontendAPICreateBrowserLoginFlowRequest {
r.cookie = &cookie
return r
}
// An optional Hydra login challenge. If present, Kratos will cooperate with Ory Hydra to act as an OAuth2 identity provider. The value for this parameter comes from `login_challenge` URL Query parameter sent to your application (e.g. `/login?login_challenge=abcde`).
-func (r FrontendApiCreateBrowserLoginFlowRequest) LoginChallenge(loginChallenge string) FrontendApiCreateBrowserLoginFlowRequest {
+func (r FrontendAPICreateBrowserLoginFlowRequest) LoginChallenge(loginChallenge string) FrontendAPICreateBrowserLoginFlowRequest {
r.loginChallenge = &loginChallenge
return r
}
// An optional organization ID that should be used for logging this user in. This parameter is only effective in the Ory Network.
-func (r FrontendApiCreateBrowserLoginFlowRequest) Organization(organization string) FrontendApiCreateBrowserLoginFlowRequest {
+func (r FrontendAPICreateBrowserLoginFlowRequest) Organization(organization string) FrontendAPICreateBrowserLoginFlowRequest {
r.organization = &organization
return r
}
-func (r FrontendApiCreateBrowserLoginFlowRequest) Execute() (*LoginFlow, *http.Response, error) {
+func (r FrontendAPICreateBrowserLoginFlowRequest) Execute() (*LoginFlow, *http.Response, error) {
return r.ApiService.CreateBrowserLoginFlowExecute(r)
}
@@ -1007,10 +1007,10 @@ This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Fi
More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiCreateBrowserLoginFlowRequest
+ @return FrontendAPICreateBrowserLoginFlowRequest
*/
-func (a *FrontendApiService) CreateBrowserLoginFlow(ctx context.Context) FrontendApiCreateBrowserLoginFlowRequest {
- return FrontendApiCreateBrowserLoginFlowRequest{
+func (a *FrontendAPIService) CreateBrowserLoginFlow(ctx context.Context) FrontendAPICreateBrowserLoginFlowRequest {
+ return FrontendAPICreateBrowserLoginFlowRequest{
ApiService: a,
ctx: ctx,
}
@@ -1018,7 +1018,7 @@ func (a *FrontendApiService) CreateBrowserLoginFlow(ctx context.Context) Fronten
// Execute executes the request
// @return LoginFlow
-func (a *FrontendApiService) CreateBrowserLoginFlowExecute(r FrontendApiCreateBrowserLoginFlowRequest) (*LoginFlow, *http.Response, error) {
+func (a *FrontendAPIService) CreateBrowserLoginFlowExecute(r FrontendAPICreateBrowserLoginFlowRequest) (*LoginFlow, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -1026,7 +1026,7 @@ func (a *FrontendApiService) CreateBrowserLoginFlowExecute(r FrontendApiCreateBr
localVarReturnValue *LoginFlow
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendApiService.CreateBrowserLoginFlow")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendAPIService.CreateBrowserLoginFlow")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -1038,19 +1038,19 @@ func (a *FrontendApiService) CreateBrowserLoginFlowExecute(r FrontendApiCreateBr
localVarFormParams := url.Values{}
if r.refresh != nil {
- localVarQueryParams.Add("refresh", parameterToString(*r.refresh, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "refresh", r.refresh, "")
}
if r.aal != nil {
- localVarQueryParams.Add("aal", parameterToString(*r.aal, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "aal", r.aal, "")
}
if r.returnTo != nil {
- localVarQueryParams.Add("return_to", parameterToString(*r.returnTo, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "return_to", r.returnTo, "")
}
if r.loginChallenge != nil {
- localVarQueryParams.Add("login_challenge", parameterToString(*r.loginChallenge, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "login_challenge", r.loginChallenge, "")
}
if r.organization != nil {
- localVarQueryParams.Add("organization", parameterToString(*r.organization, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "organization", r.organization, "")
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -1070,7 +1070,7 @@ func (a *FrontendApiService) CreateBrowserLoginFlowExecute(r FrontendApiCreateBr
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
if r.cookie != nil {
- localVarHeaderParams["Cookie"] = parameterToString(*r.cookie, "")
+ parameterAddToHeaderOrQuery(localVarHeaderParams, "Cookie", r.cookie, "")
}
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
if err != nil {
@@ -1082,9 +1082,9 @@ func (a *FrontendApiService) CreateBrowserLoginFlowExecute(r FrontendApiCreateBr
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -1101,7 +1101,8 @@ func (a *FrontendApiService) CreateBrowserLoginFlowExecute(r FrontendApiCreateBr
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -1110,7 +1111,8 @@ func (a *FrontendApiService) CreateBrowserLoginFlowExecute(r FrontendApiCreateBr
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -1126,26 +1128,26 @@ func (a *FrontendApiService) CreateBrowserLoginFlowExecute(r FrontendApiCreateBr
return localVarReturnValue, localVarHTTPResponse, nil
}
-type FrontendApiCreateBrowserLogoutFlowRequest struct {
+type FrontendAPICreateBrowserLogoutFlowRequest struct {
ctx context.Context
- ApiService FrontendApi
+ ApiService FrontendAPI
cookie *string
returnTo *string
}
// HTTP Cookies If you call this endpoint from a backend, please include the original Cookie header in the request.
-func (r FrontendApiCreateBrowserLogoutFlowRequest) Cookie(cookie string) FrontendApiCreateBrowserLogoutFlowRequest {
+func (r FrontendAPICreateBrowserLogoutFlowRequest) Cookie(cookie string) FrontendAPICreateBrowserLogoutFlowRequest {
r.cookie = &cookie
return r
}
// Return to URL The URL to which the browser should be redirected to after the logout has been performed.
-func (r FrontendApiCreateBrowserLogoutFlowRequest) ReturnTo(returnTo string) FrontendApiCreateBrowserLogoutFlowRequest {
+func (r FrontendAPICreateBrowserLogoutFlowRequest) ReturnTo(returnTo string) FrontendAPICreateBrowserLogoutFlowRequest {
r.returnTo = &returnTo
return r
}
-func (r FrontendApiCreateBrowserLogoutFlowRequest) Execute() (*LogoutFlow, *http.Response, error) {
+func (r FrontendAPICreateBrowserLogoutFlowRequest) Execute() (*LogoutFlow, *http.Response, error) {
return r.ApiService.CreateBrowserLogoutFlowExecute(r)
}
@@ -1164,10 +1166,10 @@ a 401 error.
When calling this endpoint from a backend, please ensure to properly forward the HTTP cookies.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiCreateBrowserLogoutFlowRequest
+ @return FrontendAPICreateBrowserLogoutFlowRequest
*/
-func (a *FrontendApiService) CreateBrowserLogoutFlow(ctx context.Context) FrontendApiCreateBrowserLogoutFlowRequest {
- return FrontendApiCreateBrowserLogoutFlowRequest{
+func (a *FrontendAPIService) CreateBrowserLogoutFlow(ctx context.Context) FrontendAPICreateBrowserLogoutFlowRequest {
+ return FrontendAPICreateBrowserLogoutFlowRequest{
ApiService: a,
ctx: ctx,
}
@@ -1175,7 +1177,7 @@ func (a *FrontendApiService) CreateBrowserLogoutFlow(ctx context.Context) Fronte
// Execute executes the request
// @return LogoutFlow
-func (a *FrontendApiService) CreateBrowserLogoutFlowExecute(r FrontendApiCreateBrowserLogoutFlowRequest) (*LogoutFlow, *http.Response, error) {
+func (a *FrontendAPIService) CreateBrowserLogoutFlowExecute(r FrontendAPICreateBrowserLogoutFlowRequest) (*LogoutFlow, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -1183,7 +1185,7 @@ func (a *FrontendApiService) CreateBrowserLogoutFlowExecute(r FrontendApiCreateB
localVarReturnValue *LogoutFlow
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendApiService.CreateBrowserLogoutFlow")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendAPIService.CreateBrowserLogoutFlow")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -1195,7 +1197,7 @@ func (a *FrontendApiService) CreateBrowserLogoutFlowExecute(r FrontendApiCreateB
localVarFormParams := url.Values{}
if r.returnTo != nil {
- localVarQueryParams.Add("return_to", parameterToString(*r.returnTo, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "return_to", r.returnTo, "")
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -1215,7 +1217,7 @@ func (a *FrontendApiService) CreateBrowserLogoutFlowExecute(r FrontendApiCreateB
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
if r.cookie != nil {
- localVarHeaderParams["cookie"] = parameterToString(*r.cookie, "")
+ parameterAddToHeaderOrQuery(localVarHeaderParams, "cookie", r.cookie, "")
}
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
if err != nil {
@@ -1227,9 +1229,9 @@ func (a *FrontendApiService) CreateBrowserLogoutFlowExecute(r FrontendApiCreateB
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -1246,7 +1248,8 @@ func (a *FrontendApiService) CreateBrowserLogoutFlowExecute(r FrontendApiCreateB
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 401 {
@@ -1256,7 +1259,8 @@ func (a *FrontendApiService) CreateBrowserLogoutFlowExecute(r FrontendApiCreateB
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 500 {
@@ -1266,7 +1270,8 @@ func (a *FrontendApiService) CreateBrowserLogoutFlowExecute(r FrontendApiCreateB
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
}
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -1283,19 +1288,19 @@ func (a *FrontendApiService) CreateBrowserLogoutFlowExecute(r FrontendApiCreateB
return localVarReturnValue, localVarHTTPResponse, nil
}
-type FrontendApiCreateBrowserRecoveryFlowRequest struct {
+type FrontendAPICreateBrowserRecoveryFlowRequest struct {
ctx context.Context
- ApiService FrontendApi
+ ApiService FrontendAPI
returnTo *string
}
// The URL to return the browser to after the flow was completed.
-func (r FrontendApiCreateBrowserRecoveryFlowRequest) ReturnTo(returnTo string) FrontendApiCreateBrowserRecoveryFlowRequest {
+func (r FrontendAPICreateBrowserRecoveryFlowRequest) ReturnTo(returnTo string) FrontendAPICreateBrowserRecoveryFlowRequest {
r.returnTo = &returnTo
return r
}
-func (r FrontendApiCreateBrowserRecoveryFlowRequest) Execute() (*RecoveryFlow, *http.Response, error) {
+func (r FrontendAPICreateBrowserRecoveryFlowRequest) Execute() (*RecoveryFlow, *http.Response, error) {
return r.ApiService.CreateBrowserRecoveryFlowExecute(r)
}
@@ -1314,10 +1319,10 @@ This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Fi
More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiCreateBrowserRecoveryFlowRequest
+ @return FrontendAPICreateBrowserRecoveryFlowRequest
*/
-func (a *FrontendApiService) CreateBrowserRecoveryFlow(ctx context.Context) FrontendApiCreateBrowserRecoveryFlowRequest {
- return FrontendApiCreateBrowserRecoveryFlowRequest{
+func (a *FrontendAPIService) CreateBrowserRecoveryFlow(ctx context.Context) FrontendAPICreateBrowserRecoveryFlowRequest {
+ return FrontendAPICreateBrowserRecoveryFlowRequest{
ApiService: a,
ctx: ctx,
}
@@ -1325,7 +1330,7 @@ func (a *FrontendApiService) CreateBrowserRecoveryFlow(ctx context.Context) Fron
// Execute executes the request
// @return RecoveryFlow
-func (a *FrontendApiService) CreateBrowserRecoveryFlowExecute(r FrontendApiCreateBrowserRecoveryFlowRequest) (*RecoveryFlow, *http.Response, error) {
+func (a *FrontendAPIService) CreateBrowserRecoveryFlowExecute(r FrontendAPICreateBrowserRecoveryFlowRequest) (*RecoveryFlow, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -1333,7 +1338,7 @@ func (a *FrontendApiService) CreateBrowserRecoveryFlowExecute(r FrontendApiCreat
localVarReturnValue *RecoveryFlow
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendApiService.CreateBrowserRecoveryFlow")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendAPIService.CreateBrowserRecoveryFlow")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -1345,7 +1350,7 @@ func (a *FrontendApiService) CreateBrowserRecoveryFlowExecute(r FrontendApiCreat
localVarFormParams := url.Values{}
if r.returnTo != nil {
- localVarQueryParams.Add("return_to", parameterToString(*r.returnTo, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "return_to", r.returnTo, "")
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -1374,9 +1379,9 @@ func (a *FrontendApiService) CreateBrowserRecoveryFlowExecute(r FrontendApiCreat
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -1393,7 +1398,8 @@ func (a *FrontendApiService) CreateBrowserRecoveryFlowExecute(r FrontendApiCreat
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -1402,7 +1408,8 @@ func (a *FrontendApiService) CreateBrowserRecoveryFlowExecute(r FrontendApiCreat
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -1418,9 +1425,9 @@ func (a *FrontendApiService) CreateBrowserRecoveryFlowExecute(r FrontendApiCreat
return localVarReturnValue, localVarHTTPResponse, nil
}
-type FrontendApiCreateBrowserRegistrationFlowRequest struct {
+type FrontendAPICreateBrowserRegistrationFlowRequest struct {
ctx context.Context
- ApiService FrontendApi
+ ApiService FrontendAPI
returnTo *string
loginChallenge *string
afterVerificationReturnTo *string
@@ -1428,29 +1435,29 @@ type FrontendApiCreateBrowserRegistrationFlowRequest struct {
}
// The URL to return the browser to after the flow was completed.
-func (r FrontendApiCreateBrowserRegistrationFlowRequest) ReturnTo(returnTo string) FrontendApiCreateBrowserRegistrationFlowRequest {
+func (r FrontendAPICreateBrowserRegistrationFlowRequest) ReturnTo(returnTo string) FrontendAPICreateBrowserRegistrationFlowRequest {
r.returnTo = &returnTo
return r
}
// Ory OAuth 2.0 Login Challenge. If set will cooperate with Ory OAuth2 and OpenID to act as an OAuth2 server / OpenID Provider. The value for this parameter comes from `login_challenge` URL Query parameter sent to your application (e.g. `/registration?login_challenge=abcde`). This feature is compatible with Ory Hydra when not running on the Ory Network.
-func (r FrontendApiCreateBrowserRegistrationFlowRequest) LoginChallenge(loginChallenge string) FrontendApiCreateBrowserRegistrationFlowRequest {
+func (r FrontendAPICreateBrowserRegistrationFlowRequest) LoginChallenge(loginChallenge string) FrontendAPICreateBrowserRegistrationFlowRequest {
r.loginChallenge = &loginChallenge
return r
}
// The URL to return the browser to after the verification flow was completed. After the registration flow is completed, the user will be sent a verification email. Upon completing the verification flow, this URL will be used to override the default `selfservice.flows.verification.after.default_redirect_to` value.
-func (r FrontendApiCreateBrowserRegistrationFlowRequest) AfterVerificationReturnTo(afterVerificationReturnTo string) FrontendApiCreateBrowserRegistrationFlowRequest {
+func (r FrontendAPICreateBrowserRegistrationFlowRequest) AfterVerificationReturnTo(afterVerificationReturnTo string) FrontendAPICreateBrowserRegistrationFlowRequest {
r.afterVerificationReturnTo = &afterVerificationReturnTo
return r
}
-func (r FrontendApiCreateBrowserRegistrationFlowRequest) Organization(organization string) FrontendApiCreateBrowserRegistrationFlowRequest {
+func (r FrontendAPICreateBrowserRegistrationFlowRequest) Organization(organization string) FrontendAPICreateBrowserRegistrationFlowRequest {
r.organization = &organization
return r
}
-func (r FrontendApiCreateBrowserRegistrationFlowRequest) Execute() (*RegistrationFlow, *http.Response, error) {
+func (r FrontendAPICreateBrowserRegistrationFlowRequest) Execute() (*RegistrationFlow, *http.Response, error) {
return r.ApiService.CreateBrowserRegistrationFlowExecute(r)
}
@@ -1478,10 +1485,10 @@ This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Fi
More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiCreateBrowserRegistrationFlowRequest
+ @return FrontendAPICreateBrowserRegistrationFlowRequest
*/
-func (a *FrontendApiService) CreateBrowserRegistrationFlow(ctx context.Context) FrontendApiCreateBrowserRegistrationFlowRequest {
- return FrontendApiCreateBrowserRegistrationFlowRequest{
+func (a *FrontendAPIService) CreateBrowserRegistrationFlow(ctx context.Context) FrontendAPICreateBrowserRegistrationFlowRequest {
+ return FrontendAPICreateBrowserRegistrationFlowRequest{
ApiService: a,
ctx: ctx,
}
@@ -1489,7 +1496,7 @@ func (a *FrontendApiService) CreateBrowserRegistrationFlow(ctx context.Context)
// Execute executes the request
// @return RegistrationFlow
-func (a *FrontendApiService) CreateBrowserRegistrationFlowExecute(r FrontendApiCreateBrowserRegistrationFlowRequest) (*RegistrationFlow, *http.Response, error) {
+func (a *FrontendAPIService) CreateBrowserRegistrationFlowExecute(r FrontendAPICreateBrowserRegistrationFlowRequest) (*RegistrationFlow, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -1497,7 +1504,7 @@ func (a *FrontendApiService) CreateBrowserRegistrationFlowExecute(r FrontendApiC
localVarReturnValue *RegistrationFlow
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendApiService.CreateBrowserRegistrationFlow")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendAPIService.CreateBrowserRegistrationFlow")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -1509,16 +1516,16 @@ func (a *FrontendApiService) CreateBrowserRegistrationFlowExecute(r FrontendApiC
localVarFormParams := url.Values{}
if r.returnTo != nil {
- localVarQueryParams.Add("return_to", parameterToString(*r.returnTo, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "return_to", r.returnTo, "")
}
if r.loginChallenge != nil {
- localVarQueryParams.Add("login_challenge", parameterToString(*r.loginChallenge, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "login_challenge", r.loginChallenge, "")
}
if r.afterVerificationReturnTo != nil {
- localVarQueryParams.Add("after_verification_return_to", parameterToString(*r.afterVerificationReturnTo, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "after_verification_return_to", r.afterVerificationReturnTo, "")
}
if r.organization != nil {
- localVarQueryParams.Add("organization", parameterToString(*r.organization, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "organization", r.organization, "")
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -1547,9 +1554,9 @@ func (a *FrontendApiService) CreateBrowserRegistrationFlowExecute(r FrontendApiC
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -1565,7 +1572,8 @@ func (a *FrontendApiService) CreateBrowserRegistrationFlowExecute(r FrontendApiC
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -1581,26 +1589,26 @@ func (a *FrontendApiService) CreateBrowserRegistrationFlowExecute(r FrontendApiC
return localVarReturnValue, localVarHTTPResponse, nil
}
-type FrontendApiCreateBrowserSettingsFlowRequest struct {
+type FrontendAPICreateBrowserSettingsFlowRequest struct {
ctx context.Context
- ApiService FrontendApi
+ ApiService FrontendAPI
returnTo *string
cookie *string
}
// The URL to return the browser to after the flow was completed.
-func (r FrontendApiCreateBrowserSettingsFlowRequest) ReturnTo(returnTo string) FrontendApiCreateBrowserSettingsFlowRequest {
+func (r FrontendAPICreateBrowserSettingsFlowRequest) ReturnTo(returnTo string) FrontendAPICreateBrowserSettingsFlowRequest {
r.returnTo = &returnTo
return r
}
// HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
-func (r FrontendApiCreateBrowserSettingsFlowRequest) Cookie(cookie string) FrontendApiCreateBrowserSettingsFlowRequest {
+func (r FrontendAPICreateBrowserSettingsFlowRequest) Cookie(cookie string) FrontendAPICreateBrowserSettingsFlowRequest {
r.cookie = &cookie
return r
}
-func (r FrontendApiCreateBrowserSettingsFlowRequest) Execute() (*SettingsFlow, *http.Response, error) {
+func (r FrontendAPICreateBrowserSettingsFlowRequest) Execute() (*SettingsFlow, *http.Response, error) {
return r.ApiService.CreateBrowserSettingsFlowExecute(r)
}
@@ -1635,10 +1643,10 @@ This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Fi
More information can be found at [Ory Kratos User Settings & Profile Management Documentation](../self-service/flows/user-settings).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiCreateBrowserSettingsFlowRequest
+ @return FrontendAPICreateBrowserSettingsFlowRequest
*/
-func (a *FrontendApiService) CreateBrowserSettingsFlow(ctx context.Context) FrontendApiCreateBrowserSettingsFlowRequest {
- return FrontendApiCreateBrowserSettingsFlowRequest{
+func (a *FrontendAPIService) CreateBrowserSettingsFlow(ctx context.Context) FrontendAPICreateBrowserSettingsFlowRequest {
+ return FrontendAPICreateBrowserSettingsFlowRequest{
ApiService: a,
ctx: ctx,
}
@@ -1646,7 +1654,7 @@ func (a *FrontendApiService) CreateBrowserSettingsFlow(ctx context.Context) Fron
// Execute executes the request
// @return SettingsFlow
-func (a *FrontendApiService) CreateBrowserSettingsFlowExecute(r FrontendApiCreateBrowserSettingsFlowRequest) (*SettingsFlow, *http.Response, error) {
+func (a *FrontendAPIService) CreateBrowserSettingsFlowExecute(r FrontendAPICreateBrowserSettingsFlowRequest) (*SettingsFlow, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -1654,7 +1662,7 @@ func (a *FrontendApiService) CreateBrowserSettingsFlowExecute(r FrontendApiCreat
localVarReturnValue *SettingsFlow
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendApiService.CreateBrowserSettingsFlow")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendAPIService.CreateBrowserSettingsFlow")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -1666,7 +1674,7 @@ func (a *FrontendApiService) CreateBrowserSettingsFlowExecute(r FrontendApiCreat
localVarFormParams := url.Values{}
if r.returnTo != nil {
- localVarQueryParams.Add("return_to", parameterToString(*r.returnTo, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "return_to", r.returnTo, "")
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -1686,7 +1694,7 @@ func (a *FrontendApiService) CreateBrowserSettingsFlowExecute(r FrontendApiCreat
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
if r.cookie != nil {
- localVarHeaderParams["Cookie"] = parameterToString(*r.cookie, "")
+ parameterAddToHeaderOrQuery(localVarHeaderParams, "Cookie", r.cookie, "")
}
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
if err != nil {
@@ -1698,9 +1706,9 @@ func (a *FrontendApiService) CreateBrowserSettingsFlowExecute(r FrontendApiCreat
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -1717,7 +1725,8 @@ func (a *FrontendApiService) CreateBrowserSettingsFlowExecute(r FrontendApiCreat
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 401 {
@@ -1727,7 +1736,8 @@ func (a *FrontendApiService) CreateBrowserSettingsFlowExecute(r FrontendApiCreat
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 403 {
@@ -1737,7 +1747,8 @@ func (a *FrontendApiService) CreateBrowserSettingsFlowExecute(r FrontendApiCreat
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -1746,7 +1757,8 @@ func (a *FrontendApiService) CreateBrowserSettingsFlowExecute(r FrontendApiCreat
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -1762,19 +1774,19 @@ func (a *FrontendApiService) CreateBrowserSettingsFlowExecute(r FrontendApiCreat
return localVarReturnValue, localVarHTTPResponse, nil
}
-type FrontendApiCreateBrowserVerificationFlowRequest struct {
+type FrontendAPICreateBrowserVerificationFlowRequest struct {
ctx context.Context
- ApiService FrontendApi
+ ApiService FrontendAPI
returnTo *string
}
// The URL to return the browser to after the flow was completed.
-func (r FrontendApiCreateBrowserVerificationFlowRequest) ReturnTo(returnTo string) FrontendApiCreateBrowserVerificationFlowRequest {
+func (r FrontendAPICreateBrowserVerificationFlowRequest) ReturnTo(returnTo string) FrontendAPICreateBrowserVerificationFlowRequest {
r.returnTo = &returnTo
return r
}
-func (r FrontendApiCreateBrowserVerificationFlowRequest) Execute() (*VerificationFlow, *http.Response, error) {
+func (r FrontendAPICreateBrowserVerificationFlowRequest) Execute() (*VerificationFlow, *http.Response, error) {
return r.ApiService.CreateBrowserVerificationFlowExecute(r)
}
@@ -1791,10 +1803,10 @@ This endpoint is NOT INTENDED for API clients and only works with browsers (Chro
More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiCreateBrowserVerificationFlowRequest
+ @return FrontendAPICreateBrowserVerificationFlowRequest
*/
-func (a *FrontendApiService) CreateBrowserVerificationFlow(ctx context.Context) FrontendApiCreateBrowserVerificationFlowRequest {
- return FrontendApiCreateBrowserVerificationFlowRequest{
+func (a *FrontendAPIService) CreateBrowserVerificationFlow(ctx context.Context) FrontendAPICreateBrowserVerificationFlowRequest {
+ return FrontendAPICreateBrowserVerificationFlowRequest{
ApiService: a,
ctx: ctx,
}
@@ -1802,7 +1814,7 @@ func (a *FrontendApiService) CreateBrowserVerificationFlow(ctx context.Context)
// Execute executes the request
// @return VerificationFlow
-func (a *FrontendApiService) CreateBrowserVerificationFlowExecute(r FrontendApiCreateBrowserVerificationFlowRequest) (*VerificationFlow, *http.Response, error) {
+func (a *FrontendAPIService) CreateBrowserVerificationFlowExecute(r FrontendAPICreateBrowserVerificationFlowRequest) (*VerificationFlow, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -1810,7 +1822,7 @@ func (a *FrontendApiService) CreateBrowserVerificationFlowExecute(r FrontendApiC
localVarReturnValue *VerificationFlow
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendApiService.CreateBrowserVerificationFlow")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendAPIService.CreateBrowserVerificationFlow")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -1822,7 +1834,7 @@ func (a *FrontendApiService) CreateBrowserVerificationFlowExecute(r FrontendApiC
localVarFormParams := url.Values{}
if r.returnTo != nil {
- localVarQueryParams.Add("return_to", parameterToString(*r.returnTo, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "return_to", r.returnTo, "")
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -1851,9 +1863,9 @@ func (a *FrontendApiService) CreateBrowserVerificationFlowExecute(r FrontendApiC
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -1869,7 +1881,8 @@ func (a *FrontendApiService) CreateBrowserVerificationFlowExecute(r FrontendApiC
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -1885,9 +1898,9 @@ func (a *FrontendApiService) CreateBrowserVerificationFlowExecute(r FrontendApiC
return localVarReturnValue, localVarHTTPResponse, nil
}
-type FrontendApiCreateNativeLoginFlowRequest struct {
+type FrontendAPICreateNativeLoginFlowRequest struct {
ctx context.Context
- ApiService FrontendApi
+ ApiService FrontendAPI
refresh *bool
aal *string
xSessionToken *string
@@ -1896,36 +1909,36 @@ type FrontendApiCreateNativeLoginFlowRequest struct {
}
// Refresh a login session If set to true, this will refresh an existing login session by asking the user to sign in again. This will reset the authenticated_at time of the session.
-func (r FrontendApiCreateNativeLoginFlowRequest) Refresh(refresh bool) FrontendApiCreateNativeLoginFlowRequest {
+func (r FrontendAPICreateNativeLoginFlowRequest) Refresh(refresh bool) FrontendAPICreateNativeLoginFlowRequest {
r.refresh = &refresh
return r
}
// Request a Specific AuthenticationMethod Assurance Level Use this parameter to upgrade an existing session's authenticator assurance level (AAL). This allows you to ask for multi-factor authentication. When an identity sign in using e.g. username+password, the AAL is 1. If you wish to \"upgrade\" the session's security by asking the user to perform TOTP / WebAuth/ ... you would set this to \"aal2\".
-func (r FrontendApiCreateNativeLoginFlowRequest) Aal(aal string) FrontendApiCreateNativeLoginFlowRequest {
+func (r FrontendAPICreateNativeLoginFlowRequest) Aal(aal string) FrontendAPICreateNativeLoginFlowRequest {
r.aal = &aal
return r
}
// The Session Token of the Identity performing the settings flow.
-func (r FrontendApiCreateNativeLoginFlowRequest) XSessionToken(xSessionToken string) FrontendApiCreateNativeLoginFlowRequest {
+func (r FrontendAPICreateNativeLoginFlowRequest) XSessionToken(xSessionToken string) FrontendAPICreateNativeLoginFlowRequest {
r.xSessionToken = &xSessionToken
return r
}
// EnableSessionTokenExchangeCode requests the login flow to include a code that can be used to retrieve the session token after the login flow has been completed.
-func (r FrontendApiCreateNativeLoginFlowRequest) ReturnSessionTokenExchangeCode(returnSessionTokenExchangeCode bool) FrontendApiCreateNativeLoginFlowRequest {
+func (r FrontendAPICreateNativeLoginFlowRequest) ReturnSessionTokenExchangeCode(returnSessionTokenExchangeCode bool) FrontendAPICreateNativeLoginFlowRequest {
r.returnSessionTokenExchangeCode = &returnSessionTokenExchangeCode
return r
}
// The URL to return the browser to after the flow was completed.
-func (r FrontendApiCreateNativeLoginFlowRequest) ReturnTo(returnTo string) FrontendApiCreateNativeLoginFlowRequest {
+func (r FrontendAPICreateNativeLoginFlowRequest) ReturnTo(returnTo string) FrontendAPICreateNativeLoginFlowRequest {
r.returnTo = &returnTo
return r
}
-func (r FrontendApiCreateNativeLoginFlowRequest) Execute() (*LoginFlow, *http.Response, error) {
+func (r FrontendAPICreateNativeLoginFlowRequest) Execute() (*LoginFlow, *http.Response, error) {
return r.ApiService.CreateNativeLoginFlowExecute(r)
}
@@ -1954,10 +1967,10 @@ This endpoint MUST ONLY be used in scenarios such as native mobile apps (React N
More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiCreateNativeLoginFlowRequest
+ @return FrontendAPICreateNativeLoginFlowRequest
*/
-func (a *FrontendApiService) CreateNativeLoginFlow(ctx context.Context) FrontendApiCreateNativeLoginFlowRequest {
- return FrontendApiCreateNativeLoginFlowRequest{
+func (a *FrontendAPIService) CreateNativeLoginFlow(ctx context.Context) FrontendAPICreateNativeLoginFlowRequest {
+ return FrontendAPICreateNativeLoginFlowRequest{
ApiService: a,
ctx: ctx,
}
@@ -1965,7 +1978,7 @@ func (a *FrontendApiService) CreateNativeLoginFlow(ctx context.Context) Frontend
// Execute executes the request
// @return LoginFlow
-func (a *FrontendApiService) CreateNativeLoginFlowExecute(r FrontendApiCreateNativeLoginFlowRequest) (*LoginFlow, *http.Response, error) {
+func (a *FrontendAPIService) CreateNativeLoginFlowExecute(r FrontendAPICreateNativeLoginFlowRequest) (*LoginFlow, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -1973,7 +1986,7 @@ func (a *FrontendApiService) CreateNativeLoginFlowExecute(r FrontendApiCreateNat
localVarReturnValue *LoginFlow
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendApiService.CreateNativeLoginFlow")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendAPIService.CreateNativeLoginFlow")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -1985,16 +1998,16 @@ func (a *FrontendApiService) CreateNativeLoginFlowExecute(r FrontendApiCreateNat
localVarFormParams := url.Values{}
if r.refresh != nil {
- localVarQueryParams.Add("refresh", parameterToString(*r.refresh, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "refresh", r.refresh, "")
}
if r.aal != nil {
- localVarQueryParams.Add("aal", parameterToString(*r.aal, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "aal", r.aal, "")
}
if r.returnSessionTokenExchangeCode != nil {
- localVarQueryParams.Add("return_session_token_exchange_code", parameterToString(*r.returnSessionTokenExchangeCode, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "return_session_token_exchange_code", r.returnSessionTokenExchangeCode, "")
}
if r.returnTo != nil {
- localVarQueryParams.Add("return_to", parameterToString(*r.returnTo, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "return_to", r.returnTo, "")
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -2014,7 +2027,7 @@ func (a *FrontendApiService) CreateNativeLoginFlowExecute(r FrontendApiCreateNat
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
if r.xSessionToken != nil {
- localVarHeaderParams["X-Session-Token"] = parameterToString(*r.xSessionToken, "")
+ parameterAddToHeaderOrQuery(localVarHeaderParams, "X-Session-Token", r.xSessionToken, "")
}
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
if err != nil {
@@ -2026,9 +2039,9 @@ func (a *FrontendApiService) CreateNativeLoginFlowExecute(r FrontendApiCreateNat
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -2045,7 +2058,8 @@ func (a *FrontendApiService) CreateNativeLoginFlowExecute(r FrontendApiCreateNat
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -2054,7 +2068,8 @@ func (a *FrontendApiService) CreateNativeLoginFlowExecute(r FrontendApiCreateNat
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -2070,12 +2085,12 @@ func (a *FrontendApiService) CreateNativeLoginFlowExecute(r FrontendApiCreateNat
return localVarReturnValue, localVarHTTPResponse, nil
}
-type FrontendApiCreateNativeRecoveryFlowRequest struct {
+type FrontendAPICreateNativeRecoveryFlowRequest struct {
ctx context.Context
- ApiService FrontendApi
+ ApiService FrontendAPI
}
-func (r FrontendApiCreateNativeRecoveryFlowRequest) Execute() (*RecoveryFlow, *http.Response, error) {
+func (r FrontendAPICreateNativeRecoveryFlowRequest) Execute() (*RecoveryFlow, *http.Response, error) {
return r.ApiService.CreateNativeRecoveryFlowExecute(r)
}
@@ -2097,10 +2112,10 @@ This endpoint MUST ONLY be used in scenarios such as native mobile apps (React N
More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiCreateNativeRecoveryFlowRequest
+ @return FrontendAPICreateNativeRecoveryFlowRequest
*/
-func (a *FrontendApiService) CreateNativeRecoveryFlow(ctx context.Context) FrontendApiCreateNativeRecoveryFlowRequest {
- return FrontendApiCreateNativeRecoveryFlowRequest{
+func (a *FrontendAPIService) CreateNativeRecoveryFlow(ctx context.Context) FrontendAPICreateNativeRecoveryFlowRequest {
+ return FrontendAPICreateNativeRecoveryFlowRequest{
ApiService: a,
ctx: ctx,
}
@@ -2108,7 +2123,7 @@ func (a *FrontendApiService) CreateNativeRecoveryFlow(ctx context.Context) Front
// Execute executes the request
// @return RecoveryFlow
-func (a *FrontendApiService) CreateNativeRecoveryFlowExecute(r FrontendApiCreateNativeRecoveryFlowRequest) (*RecoveryFlow, *http.Response, error) {
+func (a *FrontendAPIService) CreateNativeRecoveryFlowExecute(r FrontendAPICreateNativeRecoveryFlowRequest) (*RecoveryFlow, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -2116,7 +2131,7 @@ func (a *FrontendApiService) CreateNativeRecoveryFlowExecute(r FrontendApiCreate
localVarReturnValue *RecoveryFlow
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendApiService.CreateNativeRecoveryFlow")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendAPIService.CreateNativeRecoveryFlow")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -2154,9 +2169,9 @@ func (a *FrontendApiService) CreateNativeRecoveryFlowExecute(r FrontendApiCreate
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -2173,7 +2188,8 @@ func (a *FrontendApiService) CreateNativeRecoveryFlowExecute(r FrontendApiCreate
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -2182,7 +2198,8 @@ func (a *FrontendApiService) CreateNativeRecoveryFlowExecute(r FrontendApiCreate
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -2198,26 +2215,26 @@ func (a *FrontendApiService) CreateNativeRecoveryFlowExecute(r FrontendApiCreate
return localVarReturnValue, localVarHTTPResponse, nil
}
-type FrontendApiCreateNativeRegistrationFlowRequest struct {
+type FrontendAPICreateNativeRegistrationFlowRequest struct {
ctx context.Context
- ApiService FrontendApi
+ ApiService FrontendAPI
returnSessionTokenExchangeCode *bool
returnTo *string
}
// EnableSessionTokenExchangeCode requests the login flow to include a code that can be used to retrieve the session token after the login flow has been completed.
-func (r FrontendApiCreateNativeRegistrationFlowRequest) ReturnSessionTokenExchangeCode(returnSessionTokenExchangeCode bool) FrontendApiCreateNativeRegistrationFlowRequest {
+func (r FrontendAPICreateNativeRegistrationFlowRequest) ReturnSessionTokenExchangeCode(returnSessionTokenExchangeCode bool) FrontendAPICreateNativeRegistrationFlowRequest {
r.returnSessionTokenExchangeCode = &returnSessionTokenExchangeCode
return r
}
// The URL to return the browser to after the flow was completed.
-func (r FrontendApiCreateNativeRegistrationFlowRequest) ReturnTo(returnTo string) FrontendApiCreateNativeRegistrationFlowRequest {
+func (r FrontendAPICreateNativeRegistrationFlowRequest) ReturnTo(returnTo string) FrontendAPICreateNativeRegistrationFlowRequest {
r.returnTo = &returnTo
return r
}
-func (r FrontendApiCreateNativeRegistrationFlowRequest) Execute() (*RegistrationFlow, *http.Response, error) {
+func (r FrontendAPICreateNativeRegistrationFlowRequest) Execute() (*RegistrationFlow, *http.Response, error) {
return r.ApiService.CreateNativeRegistrationFlowExecute(r)
}
@@ -2245,10 +2262,10 @@ This endpoint MUST ONLY be used in scenarios such as native mobile apps (React N
More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiCreateNativeRegistrationFlowRequest
+ @return FrontendAPICreateNativeRegistrationFlowRequest
*/
-func (a *FrontendApiService) CreateNativeRegistrationFlow(ctx context.Context) FrontendApiCreateNativeRegistrationFlowRequest {
- return FrontendApiCreateNativeRegistrationFlowRequest{
+func (a *FrontendAPIService) CreateNativeRegistrationFlow(ctx context.Context) FrontendAPICreateNativeRegistrationFlowRequest {
+ return FrontendAPICreateNativeRegistrationFlowRequest{
ApiService: a,
ctx: ctx,
}
@@ -2256,7 +2273,7 @@ func (a *FrontendApiService) CreateNativeRegistrationFlow(ctx context.Context) F
// Execute executes the request
// @return RegistrationFlow
-func (a *FrontendApiService) CreateNativeRegistrationFlowExecute(r FrontendApiCreateNativeRegistrationFlowRequest) (*RegistrationFlow, *http.Response, error) {
+func (a *FrontendAPIService) CreateNativeRegistrationFlowExecute(r FrontendAPICreateNativeRegistrationFlowRequest) (*RegistrationFlow, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -2264,7 +2281,7 @@ func (a *FrontendApiService) CreateNativeRegistrationFlowExecute(r FrontendApiCr
localVarReturnValue *RegistrationFlow
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendApiService.CreateNativeRegistrationFlow")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendAPIService.CreateNativeRegistrationFlow")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -2276,10 +2293,10 @@ func (a *FrontendApiService) CreateNativeRegistrationFlowExecute(r FrontendApiCr
localVarFormParams := url.Values{}
if r.returnSessionTokenExchangeCode != nil {
- localVarQueryParams.Add("return_session_token_exchange_code", parameterToString(*r.returnSessionTokenExchangeCode, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "return_session_token_exchange_code", r.returnSessionTokenExchangeCode, "")
}
if r.returnTo != nil {
- localVarQueryParams.Add("return_to", parameterToString(*r.returnTo, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "return_to", r.returnTo, "")
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -2308,9 +2325,9 @@ func (a *FrontendApiService) CreateNativeRegistrationFlowExecute(r FrontendApiCr
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -2327,7 +2344,8 @@ func (a *FrontendApiService) CreateNativeRegistrationFlowExecute(r FrontendApiCr
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -2336,7 +2354,8 @@ func (a *FrontendApiService) CreateNativeRegistrationFlowExecute(r FrontendApiCr
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -2352,19 +2371,19 @@ func (a *FrontendApiService) CreateNativeRegistrationFlowExecute(r FrontendApiCr
return localVarReturnValue, localVarHTTPResponse, nil
}
-type FrontendApiCreateNativeSettingsFlowRequest struct {
+type FrontendAPICreateNativeSettingsFlowRequest struct {
ctx context.Context
- ApiService FrontendApi
+ ApiService FrontendAPI
xSessionToken *string
}
// The Session Token of the Identity performing the settings flow.
-func (r FrontendApiCreateNativeSettingsFlowRequest) XSessionToken(xSessionToken string) FrontendApiCreateNativeSettingsFlowRequest {
+func (r FrontendAPICreateNativeSettingsFlowRequest) XSessionToken(xSessionToken string) FrontendAPICreateNativeSettingsFlowRequest {
r.xSessionToken = &xSessionToken
return r
}
-func (r FrontendApiCreateNativeSettingsFlowRequest) Execute() (*SettingsFlow, *http.Response, error) {
+func (r FrontendAPICreateNativeSettingsFlowRequest) Execute() (*SettingsFlow, *http.Response, error) {
return r.ApiService.CreateNativeSettingsFlowExecute(r)
}
@@ -2395,10 +2414,10 @@ This endpoint MUST ONLY be used in scenarios such as native mobile apps (React N
More information can be found at [Ory Kratos User Settings & Profile Management Documentation](../self-service/flows/user-settings).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiCreateNativeSettingsFlowRequest
+ @return FrontendAPICreateNativeSettingsFlowRequest
*/
-func (a *FrontendApiService) CreateNativeSettingsFlow(ctx context.Context) FrontendApiCreateNativeSettingsFlowRequest {
- return FrontendApiCreateNativeSettingsFlowRequest{
+func (a *FrontendAPIService) CreateNativeSettingsFlow(ctx context.Context) FrontendAPICreateNativeSettingsFlowRequest {
+ return FrontendAPICreateNativeSettingsFlowRequest{
ApiService: a,
ctx: ctx,
}
@@ -2406,7 +2425,7 @@ func (a *FrontendApiService) CreateNativeSettingsFlow(ctx context.Context) Front
// Execute executes the request
// @return SettingsFlow
-func (a *FrontendApiService) CreateNativeSettingsFlowExecute(r FrontendApiCreateNativeSettingsFlowRequest) (*SettingsFlow, *http.Response, error) {
+func (a *FrontendAPIService) CreateNativeSettingsFlowExecute(r FrontendAPICreateNativeSettingsFlowRequest) (*SettingsFlow, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -2414,7 +2433,7 @@ func (a *FrontendApiService) CreateNativeSettingsFlowExecute(r FrontendApiCreate
localVarReturnValue *SettingsFlow
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendApiService.CreateNativeSettingsFlow")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendAPIService.CreateNativeSettingsFlow")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -2443,7 +2462,7 @@ func (a *FrontendApiService) CreateNativeSettingsFlowExecute(r FrontendApiCreate
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
if r.xSessionToken != nil {
- localVarHeaderParams["X-Session-Token"] = parameterToString(*r.xSessionToken, "")
+ parameterAddToHeaderOrQuery(localVarHeaderParams, "X-Session-Token", r.xSessionToken, "")
}
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
if err != nil {
@@ -2455,9 +2474,9 @@ func (a *FrontendApiService) CreateNativeSettingsFlowExecute(r FrontendApiCreate
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -2474,7 +2493,8 @@ func (a *FrontendApiService) CreateNativeSettingsFlowExecute(r FrontendApiCreate
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -2483,7 +2503,8 @@ func (a *FrontendApiService) CreateNativeSettingsFlowExecute(r FrontendApiCreate
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -2499,12 +2520,12 @@ func (a *FrontendApiService) CreateNativeSettingsFlowExecute(r FrontendApiCreate
return localVarReturnValue, localVarHTTPResponse, nil
}
-type FrontendApiCreateNativeVerificationFlowRequest struct {
+type FrontendAPICreateNativeVerificationFlowRequest struct {
ctx context.Context
- ApiService FrontendApi
+ ApiService FrontendAPI
}
-func (r FrontendApiCreateNativeVerificationFlowRequest) Execute() (*VerificationFlow, *http.Response, error) {
+func (r FrontendAPICreateNativeVerificationFlowRequest) Execute() (*VerificationFlow, *http.Response, error) {
return r.ApiService.CreateNativeVerificationFlowExecute(r)
}
@@ -2524,10 +2545,10 @@ This endpoint MUST ONLY be used in scenarios such as native mobile apps (React N
More information can be found at [Ory Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiCreateNativeVerificationFlowRequest
+ @return FrontendAPICreateNativeVerificationFlowRequest
*/
-func (a *FrontendApiService) CreateNativeVerificationFlow(ctx context.Context) FrontendApiCreateNativeVerificationFlowRequest {
- return FrontendApiCreateNativeVerificationFlowRequest{
+func (a *FrontendAPIService) CreateNativeVerificationFlow(ctx context.Context) FrontendAPICreateNativeVerificationFlowRequest {
+ return FrontendAPICreateNativeVerificationFlowRequest{
ApiService: a,
ctx: ctx,
}
@@ -2535,7 +2556,7 @@ func (a *FrontendApiService) CreateNativeVerificationFlow(ctx context.Context) F
// Execute executes the request
// @return VerificationFlow
-func (a *FrontendApiService) CreateNativeVerificationFlowExecute(r FrontendApiCreateNativeVerificationFlowRequest) (*VerificationFlow, *http.Response, error) {
+func (a *FrontendAPIService) CreateNativeVerificationFlowExecute(r FrontendAPICreateNativeVerificationFlowRequest) (*VerificationFlow, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -2543,7 +2564,7 @@ func (a *FrontendApiService) CreateNativeVerificationFlowExecute(r FrontendApiCr
localVarReturnValue *VerificationFlow
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendApiService.CreateNativeVerificationFlow")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendAPIService.CreateNativeVerificationFlow")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -2581,9 +2602,9 @@ func (a *FrontendApiService) CreateNativeVerificationFlowExecute(r FrontendApiCr
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -2600,7 +2621,8 @@ func (a *FrontendApiService) CreateNativeVerificationFlowExecute(r FrontendApiCr
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -2609,7 +2631,8 @@ func (a *FrontendApiService) CreateNativeVerificationFlowExecute(r FrontendApiCr
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -2625,26 +2648,26 @@ func (a *FrontendApiService) CreateNativeVerificationFlowExecute(r FrontendApiCr
return localVarReturnValue, localVarHTTPResponse, nil
}
-type FrontendApiDisableMyOtherSessionsRequest struct {
+type FrontendAPIDisableMyOtherSessionsRequest struct {
ctx context.Context
- ApiService FrontendApi
+ ApiService FrontendAPI
xSessionToken *string
cookie *string
}
// Set the Session Token when calling from non-browser clients. A session token has a format of `MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj`.
-func (r FrontendApiDisableMyOtherSessionsRequest) XSessionToken(xSessionToken string) FrontendApiDisableMyOtherSessionsRequest {
+func (r FrontendAPIDisableMyOtherSessionsRequest) XSessionToken(xSessionToken string) FrontendAPIDisableMyOtherSessionsRequest {
r.xSessionToken = &xSessionToken
return r
}
// Set the Cookie Header. This is especially useful when calling this endpoint from a server-side application. In that scenario you must include the HTTP Cookie Header which originally was included in the request to your server. An example of a session in the HTTP Cookie Header is: `ory_kratos_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f==`. It is ok if more than one cookie are included here as all other cookies will be ignored.
-func (r FrontendApiDisableMyOtherSessionsRequest) Cookie(cookie string) FrontendApiDisableMyOtherSessionsRequest {
+func (r FrontendAPIDisableMyOtherSessionsRequest) Cookie(cookie string) FrontendAPIDisableMyOtherSessionsRequest {
r.cookie = &cookie
return r
}
-func (r FrontendApiDisableMyOtherSessionsRequest) Execute() (*DeleteMySessionsCount, *http.Response, error) {
+func (r FrontendAPIDisableMyOtherSessionsRequest) Execute() (*DeleteMySessionsCount, *http.Response, error) {
return r.ApiService.DisableMyOtherSessionsExecute(r)
}
@@ -2655,10 +2678,10 @@ Calling this endpoint invalidates all except the current session that belong to
Session data are not deleted.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiDisableMyOtherSessionsRequest
+ @return FrontendAPIDisableMyOtherSessionsRequest
*/
-func (a *FrontendApiService) DisableMyOtherSessions(ctx context.Context) FrontendApiDisableMyOtherSessionsRequest {
- return FrontendApiDisableMyOtherSessionsRequest{
+func (a *FrontendAPIService) DisableMyOtherSessions(ctx context.Context) FrontendAPIDisableMyOtherSessionsRequest {
+ return FrontendAPIDisableMyOtherSessionsRequest{
ApiService: a,
ctx: ctx,
}
@@ -2666,7 +2689,7 @@ func (a *FrontendApiService) DisableMyOtherSessions(ctx context.Context) Fronten
// Execute executes the request
// @return DeleteMySessionsCount
-func (a *FrontendApiService) DisableMyOtherSessionsExecute(r FrontendApiDisableMyOtherSessionsRequest) (*DeleteMySessionsCount, *http.Response, error) {
+func (a *FrontendAPIService) DisableMyOtherSessionsExecute(r FrontendAPIDisableMyOtherSessionsRequest) (*DeleteMySessionsCount, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
@@ -2674,7 +2697,7 @@ func (a *FrontendApiService) DisableMyOtherSessionsExecute(r FrontendApiDisableM
localVarReturnValue *DeleteMySessionsCount
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendApiService.DisableMyOtherSessions")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendAPIService.DisableMyOtherSessions")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -2703,10 +2726,10 @@ func (a *FrontendApiService) DisableMyOtherSessionsExecute(r FrontendApiDisableM
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
if r.xSessionToken != nil {
- localVarHeaderParams["X-Session-Token"] = parameterToString(*r.xSessionToken, "")
+ parameterAddToHeaderOrQuery(localVarHeaderParams, "X-Session-Token", r.xSessionToken, "")
}
if r.cookie != nil {
- localVarHeaderParams["Cookie"] = parameterToString(*r.cookie, "")
+ parameterAddToHeaderOrQuery(localVarHeaderParams, "Cookie", r.cookie, "")
}
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
if err != nil {
@@ -2718,9 +2741,9 @@ func (a *FrontendApiService) DisableMyOtherSessionsExecute(r FrontendApiDisableM
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -2737,7 +2760,8 @@ func (a *FrontendApiService) DisableMyOtherSessionsExecute(r FrontendApiDisableM
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 401 {
@@ -2747,7 +2771,8 @@ func (a *FrontendApiService) DisableMyOtherSessionsExecute(r FrontendApiDisableM
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -2756,7 +2781,8 @@ func (a *FrontendApiService) DisableMyOtherSessionsExecute(r FrontendApiDisableM
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -2772,27 +2798,27 @@ func (a *FrontendApiService) DisableMyOtherSessionsExecute(r FrontendApiDisableM
return localVarReturnValue, localVarHTTPResponse, nil
}
-type FrontendApiDisableMySessionRequest struct {
+type FrontendAPIDisableMySessionRequest struct {
ctx context.Context
- ApiService FrontendApi
+ ApiService FrontendAPI
id string
xSessionToken *string
cookie *string
}
// Set the Session Token when calling from non-browser clients. A session token has a format of `MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj`.
-func (r FrontendApiDisableMySessionRequest) XSessionToken(xSessionToken string) FrontendApiDisableMySessionRequest {
+func (r FrontendAPIDisableMySessionRequest) XSessionToken(xSessionToken string) FrontendAPIDisableMySessionRequest {
r.xSessionToken = &xSessionToken
return r
}
// Set the Cookie Header. This is especially useful when calling this endpoint from a server-side application. In that scenario you must include the HTTP Cookie Header which originally was included in the request to your server. An example of a session in the HTTP Cookie Header is: `ory_kratos_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f==`. It is ok if more than one cookie are included here as all other cookies will be ignored.
-func (r FrontendApiDisableMySessionRequest) Cookie(cookie string) FrontendApiDisableMySessionRequest {
+func (r FrontendAPIDisableMySessionRequest) Cookie(cookie string) FrontendAPIDisableMySessionRequest {
r.cookie = &cookie
return r
}
-func (r FrontendApiDisableMySessionRequest) Execute() (*http.Response, error) {
+func (r FrontendAPIDisableMySessionRequest) Execute() (*http.Response, error) {
return r.ApiService.DisableMySessionExecute(r)
}
@@ -2804,10 +2830,10 @@ Session data are not deleted.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id ID is the session's ID.
- @return FrontendApiDisableMySessionRequest
+ @return FrontendAPIDisableMySessionRequest
*/
-func (a *FrontendApiService) DisableMySession(ctx context.Context, id string) FrontendApiDisableMySessionRequest {
- return FrontendApiDisableMySessionRequest{
+func (a *FrontendAPIService) DisableMySession(ctx context.Context, id string) FrontendAPIDisableMySessionRequest {
+ return FrontendAPIDisableMySessionRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -2815,20 +2841,20 @@ func (a *FrontendApiService) DisableMySession(ctx context.Context, id string) Fr
}
// Execute executes the request
-func (a *FrontendApiService) DisableMySessionExecute(r FrontendApiDisableMySessionRequest) (*http.Response, error) {
+func (a *FrontendAPIService) DisableMySessionExecute(r FrontendAPIDisableMySessionRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendApiService.DisableMySession")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendAPIService.DisableMySession")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/sessions/{id}"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -2852,10 +2878,10 @@ func (a *FrontendApiService) DisableMySessionExecute(r FrontendApiDisableMySessi
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
if r.xSessionToken != nil {
- localVarHeaderParams["X-Session-Token"] = parameterToString(*r.xSessionToken, "")
+ parameterAddToHeaderOrQuery(localVarHeaderParams, "X-Session-Token", r.xSessionToken, "")
}
if r.cookie != nil {
- localVarHeaderParams["Cookie"] = parameterToString(*r.cookie, "")
+ parameterAddToHeaderOrQuery(localVarHeaderParams, "Cookie", r.cookie, "")
}
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
if err != nil {
@@ -2867,9 +2893,9 @@ func (a *FrontendApiService) DisableMySessionExecute(r FrontendApiDisableMySessi
return localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarHTTPResponse, err
}
@@ -2886,7 +2912,8 @@ func (a *FrontendApiService) DisableMySessionExecute(r FrontendApiDisableMySessi
newErr.error = err.Error()
return localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 401 {
@@ -2896,7 +2923,8 @@ func (a *FrontendApiService) DisableMySessionExecute(r FrontendApiDisableMySessi
newErr.error = err.Error()
return localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -2905,33 +2933,34 @@ func (a *FrontendApiService) DisableMySessionExecute(r FrontendApiDisableMySessi
newErr.error = err.Error()
return localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarHTTPResponse, newErr
}
return localVarHTTPResponse, nil
}
-type FrontendApiExchangeSessionTokenRequest struct {
+type FrontendAPIExchangeSessionTokenRequest struct {
ctx context.Context
- ApiService FrontendApi
+ ApiService FrontendAPI
initCode *string
returnToCode *string
}
// The part of the code return when initializing the flow.
-func (r FrontendApiExchangeSessionTokenRequest) InitCode(initCode string) FrontendApiExchangeSessionTokenRequest {
+func (r FrontendAPIExchangeSessionTokenRequest) InitCode(initCode string) FrontendAPIExchangeSessionTokenRequest {
r.initCode = &initCode
return r
}
// The part of the code returned by the return_to URL.
-func (r FrontendApiExchangeSessionTokenRequest) ReturnToCode(returnToCode string) FrontendApiExchangeSessionTokenRequest {
+func (r FrontendAPIExchangeSessionTokenRequest) ReturnToCode(returnToCode string) FrontendAPIExchangeSessionTokenRequest {
r.returnToCode = &returnToCode
return r
}
-func (r FrontendApiExchangeSessionTokenRequest) Execute() (*SuccessfulNativeLogin, *http.Response, error) {
+func (r FrontendAPIExchangeSessionTokenRequest) Execute() (*SuccessfulNativeLogin, *http.Response, error) {
return r.ApiService.ExchangeSessionTokenExecute(r)
}
@@ -2939,10 +2968,10 @@ func (r FrontendApiExchangeSessionTokenRequest) Execute() (*SuccessfulNativeLogi
ExchangeSessionToken Exchange Session Token
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiExchangeSessionTokenRequest
+ @return FrontendAPIExchangeSessionTokenRequest
*/
-func (a *FrontendApiService) ExchangeSessionToken(ctx context.Context) FrontendApiExchangeSessionTokenRequest {
- return FrontendApiExchangeSessionTokenRequest{
+func (a *FrontendAPIService) ExchangeSessionToken(ctx context.Context) FrontendAPIExchangeSessionTokenRequest {
+ return FrontendAPIExchangeSessionTokenRequest{
ApiService: a,
ctx: ctx,
}
@@ -2950,7 +2979,7 @@ func (a *FrontendApiService) ExchangeSessionToken(ctx context.Context) FrontendA
// Execute executes the request
// @return SuccessfulNativeLogin
-func (a *FrontendApiService) ExchangeSessionTokenExecute(r FrontendApiExchangeSessionTokenRequest) (*SuccessfulNativeLogin, *http.Response, error) {
+func (a *FrontendAPIService) ExchangeSessionTokenExecute(r FrontendAPIExchangeSessionTokenRequest) (*SuccessfulNativeLogin, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -2958,7 +2987,7 @@ func (a *FrontendApiService) ExchangeSessionTokenExecute(r FrontendApiExchangeSe
localVarReturnValue *SuccessfulNativeLogin
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendApiService.ExchangeSessionToken")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendAPIService.ExchangeSessionToken")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -2975,8 +3004,8 @@ func (a *FrontendApiService) ExchangeSessionTokenExecute(r FrontendApiExchangeSe
return localVarReturnValue, nil, reportError("returnToCode is required and must be specified")
}
- localVarQueryParams.Add("init_code", parameterToString(*r.initCode, ""))
- localVarQueryParams.Add("return_to_code", parameterToString(*r.returnToCode, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "init_code", r.initCode, "")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "return_to_code", r.returnToCode, "")
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -3004,9 +3033,9 @@ func (a *FrontendApiService) ExchangeSessionTokenExecute(r FrontendApiExchangeSe
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -3023,7 +3052,8 @@ func (a *FrontendApiService) ExchangeSessionTokenExecute(r FrontendApiExchangeSe
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 404 {
@@ -3033,7 +3063,8 @@ func (a *FrontendApiService) ExchangeSessionTokenExecute(r FrontendApiExchangeSe
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 410 {
@@ -3043,7 +3074,8 @@ func (a *FrontendApiService) ExchangeSessionTokenExecute(r FrontendApiExchangeSe
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -3052,7 +3084,8 @@ func (a *FrontendApiService) ExchangeSessionTokenExecute(r FrontendApiExchangeSe
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -3068,19 +3101,19 @@ func (a *FrontendApiService) ExchangeSessionTokenExecute(r FrontendApiExchangeSe
return localVarReturnValue, localVarHTTPResponse, nil
}
-type FrontendApiGetFlowErrorRequest struct {
+type FrontendAPIGetFlowErrorRequest struct {
ctx context.Context
- ApiService FrontendApi
+ ApiService FrontendAPI
id *string
}
// Error is the error's ID
-func (r FrontendApiGetFlowErrorRequest) Id(id string) FrontendApiGetFlowErrorRequest {
+func (r FrontendAPIGetFlowErrorRequest) Id(id string) FrontendAPIGetFlowErrorRequest {
r.id = &id
return r
}
-func (r FrontendApiGetFlowErrorRequest) Execute() (*FlowError, *http.Response, error) {
+func (r FrontendAPIGetFlowErrorRequest) Execute() (*FlowError, *http.Response, error) {
return r.ApiService.GetFlowErrorExecute(r)
}
@@ -3096,10 +3129,10 @@ This endpoint supports stub values to help you implement the error UI:
More information can be found at [Ory Kratos User User Facing Error Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-facing-errors).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiGetFlowErrorRequest
+ @return FrontendAPIGetFlowErrorRequest
*/
-func (a *FrontendApiService) GetFlowError(ctx context.Context) FrontendApiGetFlowErrorRequest {
- return FrontendApiGetFlowErrorRequest{
+func (a *FrontendAPIService) GetFlowError(ctx context.Context) FrontendAPIGetFlowErrorRequest {
+ return FrontendAPIGetFlowErrorRequest{
ApiService: a,
ctx: ctx,
}
@@ -3107,7 +3140,7 @@ func (a *FrontendApiService) GetFlowError(ctx context.Context) FrontendApiGetFlo
// Execute executes the request
// @return FlowError
-func (a *FrontendApiService) GetFlowErrorExecute(r FrontendApiGetFlowErrorRequest) (*FlowError, *http.Response, error) {
+func (a *FrontendAPIService) GetFlowErrorExecute(r FrontendAPIGetFlowErrorRequest) (*FlowError, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -3115,7 +3148,7 @@ func (a *FrontendApiService) GetFlowErrorExecute(r FrontendApiGetFlowErrorReques
localVarReturnValue *FlowError
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendApiService.GetFlowError")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendAPIService.GetFlowError")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -3129,7 +3162,7 @@ func (a *FrontendApiService) GetFlowErrorExecute(r FrontendApiGetFlowErrorReques
return localVarReturnValue, nil, reportError("id is required and must be specified")
}
- localVarQueryParams.Add("id", parameterToString(*r.id, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", r.id, "")
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -3157,9 +3190,9 @@ func (a *FrontendApiService) GetFlowErrorExecute(r FrontendApiGetFlowErrorReques
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -3176,7 +3209,8 @@ func (a *FrontendApiService) GetFlowErrorExecute(r FrontendApiGetFlowErrorReques
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 404 {
@@ -3186,7 +3220,8 @@ func (a *FrontendApiService) GetFlowErrorExecute(r FrontendApiGetFlowErrorReques
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 500 {
@@ -3196,7 +3231,8 @@ func (a *FrontendApiService) GetFlowErrorExecute(r FrontendApiGetFlowErrorReques
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
}
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -3213,26 +3249,26 @@ func (a *FrontendApiService) GetFlowErrorExecute(r FrontendApiGetFlowErrorReques
return localVarReturnValue, localVarHTTPResponse, nil
}
-type FrontendApiGetLoginFlowRequest struct {
+type FrontendAPIGetLoginFlowRequest struct {
ctx context.Context
- ApiService FrontendApi
+ ApiService FrontendAPI
id *string
cookie *string
}
// The Login Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/login?flow=abcde`).
-func (r FrontendApiGetLoginFlowRequest) Id(id string) FrontendApiGetLoginFlowRequest {
+func (r FrontendAPIGetLoginFlowRequest) Id(id string) FrontendAPIGetLoginFlowRequest {
r.id = &id
return r
}
// HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
-func (r FrontendApiGetLoginFlowRequest) Cookie(cookie string) FrontendApiGetLoginFlowRequest {
+func (r FrontendAPIGetLoginFlowRequest) Cookie(cookie string) FrontendAPIGetLoginFlowRequest {
r.cookie = &cookie
return r
}
-func (r FrontendApiGetLoginFlowRequest) Execute() (*LoginFlow, *http.Response, error) {
+func (r FrontendAPIGetLoginFlowRequest) Execute() (*LoginFlow, *http.Response, error) {
return r.ApiService.GetLoginFlowExecute(r)
}
@@ -3264,10 +3300,10 @@ This request may fail due to several reasons. The `error.id` can be one of:
More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiGetLoginFlowRequest
+ @return FrontendAPIGetLoginFlowRequest
*/
-func (a *FrontendApiService) GetLoginFlow(ctx context.Context) FrontendApiGetLoginFlowRequest {
- return FrontendApiGetLoginFlowRequest{
+func (a *FrontendAPIService) GetLoginFlow(ctx context.Context) FrontendAPIGetLoginFlowRequest {
+ return FrontendAPIGetLoginFlowRequest{
ApiService: a,
ctx: ctx,
}
@@ -3275,7 +3311,7 @@ func (a *FrontendApiService) GetLoginFlow(ctx context.Context) FrontendApiGetLog
// Execute executes the request
// @return LoginFlow
-func (a *FrontendApiService) GetLoginFlowExecute(r FrontendApiGetLoginFlowRequest) (*LoginFlow, *http.Response, error) {
+func (a *FrontendAPIService) GetLoginFlowExecute(r FrontendAPIGetLoginFlowRequest) (*LoginFlow, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -3283,7 +3319,7 @@ func (a *FrontendApiService) GetLoginFlowExecute(r FrontendApiGetLoginFlowReques
localVarReturnValue *LoginFlow
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendApiService.GetLoginFlow")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendAPIService.GetLoginFlow")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -3297,7 +3333,7 @@ func (a *FrontendApiService) GetLoginFlowExecute(r FrontendApiGetLoginFlowReques
return localVarReturnValue, nil, reportError("id is required and must be specified")
}
- localVarQueryParams.Add("id", parameterToString(*r.id, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", r.id, "")
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -3316,7 +3352,7 @@ func (a *FrontendApiService) GetLoginFlowExecute(r FrontendApiGetLoginFlowReques
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
if r.cookie != nil {
- localVarHeaderParams["Cookie"] = parameterToString(*r.cookie, "")
+ parameterAddToHeaderOrQuery(localVarHeaderParams, "Cookie", r.cookie, "")
}
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
if err != nil {
@@ -3328,9 +3364,9 @@ func (a *FrontendApiService) GetLoginFlowExecute(r FrontendApiGetLoginFlowReques
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -3347,7 +3383,8 @@ func (a *FrontendApiService) GetLoginFlowExecute(r FrontendApiGetLoginFlowReques
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 404 {
@@ -3357,7 +3394,8 @@ func (a *FrontendApiService) GetLoginFlowExecute(r FrontendApiGetLoginFlowReques
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 410 {
@@ -3367,7 +3405,8 @@ func (a *FrontendApiService) GetLoginFlowExecute(r FrontendApiGetLoginFlowReques
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -3376,7 +3415,8 @@ func (a *FrontendApiService) GetLoginFlowExecute(r FrontendApiGetLoginFlowReques
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -3392,26 +3432,26 @@ func (a *FrontendApiService) GetLoginFlowExecute(r FrontendApiGetLoginFlowReques
return localVarReturnValue, localVarHTTPResponse, nil
}
-type FrontendApiGetRecoveryFlowRequest struct {
+type FrontendAPIGetRecoveryFlowRequest struct {
ctx context.Context
- ApiService FrontendApi
+ ApiService FrontendAPI
id *string
cookie *string
}
// The Flow ID The value for this parameter comes from `request` URL Query parameter sent to your application (e.g. `/recovery?flow=abcde`).
-func (r FrontendApiGetRecoveryFlowRequest) Id(id string) FrontendApiGetRecoveryFlowRequest {
+func (r FrontendAPIGetRecoveryFlowRequest) Id(id string) FrontendAPIGetRecoveryFlowRequest {
r.id = &id
return r
}
// HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
-func (r FrontendApiGetRecoveryFlowRequest) Cookie(cookie string) FrontendApiGetRecoveryFlowRequest {
+func (r FrontendAPIGetRecoveryFlowRequest) Cookie(cookie string) FrontendAPIGetRecoveryFlowRequest {
r.cookie = &cookie
return r
}
-func (r FrontendApiGetRecoveryFlowRequest) Execute() (*RecoveryFlow, *http.Response, error) {
+func (r FrontendAPIGetRecoveryFlowRequest) Execute() (*RecoveryFlow, *http.Response, error) {
return r.ApiService.GetRecoveryFlowExecute(r)
}
@@ -3438,10 +3478,10 @@ res.render('recovery', flow)
More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiGetRecoveryFlowRequest
+ @return FrontendAPIGetRecoveryFlowRequest
*/
-func (a *FrontendApiService) GetRecoveryFlow(ctx context.Context) FrontendApiGetRecoveryFlowRequest {
- return FrontendApiGetRecoveryFlowRequest{
+func (a *FrontendAPIService) GetRecoveryFlow(ctx context.Context) FrontendAPIGetRecoveryFlowRequest {
+ return FrontendAPIGetRecoveryFlowRequest{
ApiService: a,
ctx: ctx,
}
@@ -3449,7 +3489,7 @@ func (a *FrontendApiService) GetRecoveryFlow(ctx context.Context) FrontendApiGet
// Execute executes the request
// @return RecoveryFlow
-func (a *FrontendApiService) GetRecoveryFlowExecute(r FrontendApiGetRecoveryFlowRequest) (*RecoveryFlow, *http.Response, error) {
+func (a *FrontendAPIService) GetRecoveryFlowExecute(r FrontendAPIGetRecoveryFlowRequest) (*RecoveryFlow, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -3457,7 +3497,7 @@ func (a *FrontendApiService) GetRecoveryFlowExecute(r FrontendApiGetRecoveryFlow
localVarReturnValue *RecoveryFlow
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendApiService.GetRecoveryFlow")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendAPIService.GetRecoveryFlow")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -3471,7 +3511,7 @@ func (a *FrontendApiService) GetRecoveryFlowExecute(r FrontendApiGetRecoveryFlow
return localVarReturnValue, nil, reportError("id is required and must be specified")
}
- localVarQueryParams.Add("id", parameterToString(*r.id, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", r.id, "")
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -3490,7 +3530,7 @@ func (a *FrontendApiService) GetRecoveryFlowExecute(r FrontendApiGetRecoveryFlow
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
if r.cookie != nil {
- localVarHeaderParams["Cookie"] = parameterToString(*r.cookie, "")
+ parameterAddToHeaderOrQuery(localVarHeaderParams, "Cookie", r.cookie, "")
}
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
if err != nil {
@@ -3502,9 +3542,9 @@ func (a *FrontendApiService) GetRecoveryFlowExecute(r FrontendApiGetRecoveryFlow
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -3521,7 +3561,8 @@ func (a *FrontendApiService) GetRecoveryFlowExecute(r FrontendApiGetRecoveryFlow
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 410 {
@@ -3531,7 +3572,8 @@ func (a *FrontendApiService) GetRecoveryFlowExecute(r FrontendApiGetRecoveryFlow
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -3540,7 +3582,8 @@ func (a *FrontendApiService) GetRecoveryFlowExecute(r FrontendApiGetRecoveryFlow
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -3556,26 +3599,26 @@ func (a *FrontendApiService) GetRecoveryFlowExecute(r FrontendApiGetRecoveryFlow
return localVarReturnValue, localVarHTTPResponse, nil
}
-type FrontendApiGetRegistrationFlowRequest struct {
+type FrontendAPIGetRegistrationFlowRequest struct {
ctx context.Context
- ApiService FrontendApi
+ ApiService FrontendAPI
id *string
cookie *string
}
// The Registration Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/registration?flow=abcde`).
-func (r FrontendApiGetRegistrationFlowRequest) Id(id string) FrontendApiGetRegistrationFlowRequest {
+func (r FrontendAPIGetRegistrationFlowRequest) Id(id string) FrontendAPIGetRegistrationFlowRequest {
r.id = &id
return r
}
// HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
-func (r FrontendApiGetRegistrationFlowRequest) Cookie(cookie string) FrontendApiGetRegistrationFlowRequest {
+func (r FrontendAPIGetRegistrationFlowRequest) Cookie(cookie string) FrontendAPIGetRegistrationFlowRequest {
r.cookie = &cookie
return r
}
-func (r FrontendApiGetRegistrationFlowRequest) Execute() (*RegistrationFlow, *http.Response, error) {
+func (r FrontendAPIGetRegistrationFlowRequest) Execute() (*RegistrationFlow, *http.Response, error) {
return r.ApiService.GetRegistrationFlowExecute(r)
}
@@ -3607,10 +3650,10 @@ This request may fail due to several reasons. The `error.id` can be one of:
More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiGetRegistrationFlowRequest
+ @return FrontendAPIGetRegistrationFlowRequest
*/
-func (a *FrontendApiService) GetRegistrationFlow(ctx context.Context) FrontendApiGetRegistrationFlowRequest {
- return FrontendApiGetRegistrationFlowRequest{
+func (a *FrontendAPIService) GetRegistrationFlow(ctx context.Context) FrontendAPIGetRegistrationFlowRequest {
+ return FrontendAPIGetRegistrationFlowRequest{
ApiService: a,
ctx: ctx,
}
@@ -3618,7 +3661,7 @@ func (a *FrontendApiService) GetRegistrationFlow(ctx context.Context) FrontendAp
// Execute executes the request
// @return RegistrationFlow
-func (a *FrontendApiService) GetRegistrationFlowExecute(r FrontendApiGetRegistrationFlowRequest) (*RegistrationFlow, *http.Response, error) {
+func (a *FrontendAPIService) GetRegistrationFlowExecute(r FrontendAPIGetRegistrationFlowRequest) (*RegistrationFlow, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -3626,7 +3669,7 @@ func (a *FrontendApiService) GetRegistrationFlowExecute(r FrontendApiGetRegistra
localVarReturnValue *RegistrationFlow
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendApiService.GetRegistrationFlow")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendAPIService.GetRegistrationFlow")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -3640,7 +3683,7 @@ func (a *FrontendApiService) GetRegistrationFlowExecute(r FrontendApiGetRegistra
return localVarReturnValue, nil, reportError("id is required and must be specified")
}
- localVarQueryParams.Add("id", parameterToString(*r.id, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", r.id, "")
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -3659,7 +3702,7 @@ func (a *FrontendApiService) GetRegistrationFlowExecute(r FrontendApiGetRegistra
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
if r.cookie != nil {
- localVarHeaderParams["Cookie"] = parameterToString(*r.cookie, "")
+ parameterAddToHeaderOrQuery(localVarHeaderParams, "Cookie", r.cookie, "")
}
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
if err != nil {
@@ -3671,9 +3714,9 @@ func (a *FrontendApiService) GetRegistrationFlowExecute(r FrontendApiGetRegistra
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -3690,7 +3733,8 @@ func (a *FrontendApiService) GetRegistrationFlowExecute(r FrontendApiGetRegistra
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 404 {
@@ -3700,7 +3744,8 @@ func (a *FrontendApiService) GetRegistrationFlowExecute(r FrontendApiGetRegistra
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 410 {
@@ -3710,7 +3755,8 @@ func (a *FrontendApiService) GetRegistrationFlowExecute(r FrontendApiGetRegistra
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -3719,7 +3765,8 @@ func (a *FrontendApiService) GetRegistrationFlowExecute(r FrontendApiGetRegistra
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -3735,33 +3782,33 @@ func (a *FrontendApiService) GetRegistrationFlowExecute(r FrontendApiGetRegistra
return localVarReturnValue, localVarHTTPResponse, nil
}
-type FrontendApiGetSettingsFlowRequest struct {
+type FrontendAPIGetSettingsFlowRequest struct {
ctx context.Context
- ApiService FrontendApi
+ ApiService FrontendAPI
id *string
xSessionToken *string
cookie *string
}
// ID is the Settings Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/settings?flow=abcde`).
-func (r FrontendApiGetSettingsFlowRequest) Id(id string) FrontendApiGetSettingsFlowRequest {
+func (r FrontendAPIGetSettingsFlowRequest) Id(id string) FrontendAPIGetSettingsFlowRequest {
r.id = &id
return r
}
// The Session Token When using the SDK in an app without a browser, please include the session token here.
-func (r FrontendApiGetSettingsFlowRequest) XSessionToken(xSessionToken string) FrontendApiGetSettingsFlowRequest {
+func (r FrontendAPIGetSettingsFlowRequest) XSessionToken(xSessionToken string) FrontendAPIGetSettingsFlowRequest {
r.xSessionToken = &xSessionToken
return r
}
// HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
-func (r FrontendApiGetSettingsFlowRequest) Cookie(cookie string) FrontendApiGetSettingsFlowRequest {
+func (r FrontendAPIGetSettingsFlowRequest) Cookie(cookie string) FrontendAPIGetSettingsFlowRequest {
r.cookie = &cookie
return r
}
-func (r FrontendApiGetSettingsFlowRequest) Execute() (*SettingsFlow, *http.Response, error) {
+func (r FrontendAPIGetSettingsFlowRequest) Execute() (*SettingsFlow, *http.Response, error) {
return r.ApiService.GetSettingsFlowExecute(r)
}
@@ -3789,10 +3836,10 @@ identity logged in instead.
More information can be found at [Ory Kratos User Settings & Profile Management Documentation](../self-service/flows/user-settings).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiGetSettingsFlowRequest
+ @return FrontendAPIGetSettingsFlowRequest
*/
-func (a *FrontendApiService) GetSettingsFlow(ctx context.Context) FrontendApiGetSettingsFlowRequest {
- return FrontendApiGetSettingsFlowRequest{
+func (a *FrontendAPIService) GetSettingsFlow(ctx context.Context) FrontendAPIGetSettingsFlowRequest {
+ return FrontendAPIGetSettingsFlowRequest{
ApiService: a,
ctx: ctx,
}
@@ -3800,7 +3847,7 @@ func (a *FrontendApiService) GetSettingsFlow(ctx context.Context) FrontendApiGet
// Execute executes the request
// @return SettingsFlow
-func (a *FrontendApiService) GetSettingsFlowExecute(r FrontendApiGetSettingsFlowRequest) (*SettingsFlow, *http.Response, error) {
+func (a *FrontendAPIService) GetSettingsFlowExecute(r FrontendAPIGetSettingsFlowRequest) (*SettingsFlow, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -3808,7 +3855,7 @@ func (a *FrontendApiService) GetSettingsFlowExecute(r FrontendApiGetSettingsFlow
localVarReturnValue *SettingsFlow
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendApiService.GetSettingsFlow")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendAPIService.GetSettingsFlow")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -3822,7 +3869,7 @@ func (a *FrontendApiService) GetSettingsFlowExecute(r FrontendApiGetSettingsFlow
return localVarReturnValue, nil, reportError("id is required and must be specified")
}
- localVarQueryParams.Add("id", parameterToString(*r.id, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", r.id, "")
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -3841,10 +3888,10 @@ func (a *FrontendApiService) GetSettingsFlowExecute(r FrontendApiGetSettingsFlow
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
if r.xSessionToken != nil {
- localVarHeaderParams["X-Session-Token"] = parameterToString(*r.xSessionToken, "")
+ parameterAddToHeaderOrQuery(localVarHeaderParams, "X-Session-Token", r.xSessionToken, "")
}
if r.cookie != nil {
- localVarHeaderParams["Cookie"] = parameterToString(*r.cookie, "")
+ parameterAddToHeaderOrQuery(localVarHeaderParams, "Cookie", r.cookie, "")
}
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
if err != nil {
@@ -3856,9 +3903,9 @@ func (a *FrontendApiService) GetSettingsFlowExecute(r FrontendApiGetSettingsFlow
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -3875,7 +3922,8 @@ func (a *FrontendApiService) GetSettingsFlowExecute(r FrontendApiGetSettingsFlow
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 403 {
@@ -3885,7 +3933,8 @@ func (a *FrontendApiService) GetSettingsFlowExecute(r FrontendApiGetSettingsFlow
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 404 {
@@ -3895,7 +3944,8 @@ func (a *FrontendApiService) GetSettingsFlowExecute(r FrontendApiGetSettingsFlow
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 410 {
@@ -3905,7 +3955,8 @@ func (a *FrontendApiService) GetSettingsFlowExecute(r FrontendApiGetSettingsFlow
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -3914,7 +3965,8 @@ func (a *FrontendApiService) GetSettingsFlowExecute(r FrontendApiGetSettingsFlow
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -3930,26 +3982,26 @@ func (a *FrontendApiService) GetSettingsFlowExecute(r FrontendApiGetSettingsFlow
return localVarReturnValue, localVarHTTPResponse, nil
}
-type FrontendApiGetVerificationFlowRequest struct {
+type FrontendAPIGetVerificationFlowRequest struct {
ctx context.Context
- ApiService FrontendApi
+ ApiService FrontendAPI
id *string
cookie *string
}
// The Flow ID The value for this parameter comes from `request` URL Query parameter sent to your application (e.g. `/verification?flow=abcde`).
-func (r FrontendApiGetVerificationFlowRequest) Id(id string) FrontendApiGetVerificationFlowRequest {
+func (r FrontendAPIGetVerificationFlowRequest) Id(id string) FrontendAPIGetVerificationFlowRequest {
r.id = &id
return r
}
// HTTP Cookies When using the SDK on the server side you must include the HTTP Cookie Header originally sent to your HTTP handler here.
-func (r FrontendApiGetVerificationFlowRequest) Cookie(cookie string) FrontendApiGetVerificationFlowRequest {
+func (r FrontendAPIGetVerificationFlowRequest) Cookie(cookie string) FrontendAPIGetVerificationFlowRequest {
r.cookie = &cookie
return r
}
-func (r FrontendApiGetVerificationFlowRequest) Execute() (*VerificationFlow, *http.Response, error) {
+func (r FrontendAPIGetVerificationFlowRequest) Execute() (*VerificationFlow, *http.Response, error) {
return r.ApiService.GetVerificationFlowExecute(r)
}
@@ -3976,10 +4028,10 @@ res.render('verification', flow)
More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiGetVerificationFlowRequest
+ @return FrontendAPIGetVerificationFlowRequest
*/
-func (a *FrontendApiService) GetVerificationFlow(ctx context.Context) FrontendApiGetVerificationFlowRequest {
- return FrontendApiGetVerificationFlowRequest{
+func (a *FrontendAPIService) GetVerificationFlow(ctx context.Context) FrontendAPIGetVerificationFlowRequest {
+ return FrontendAPIGetVerificationFlowRequest{
ApiService: a,
ctx: ctx,
}
@@ -3987,7 +4039,7 @@ func (a *FrontendApiService) GetVerificationFlow(ctx context.Context) FrontendAp
// Execute executes the request
// @return VerificationFlow
-func (a *FrontendApiService) GetVerificationFlowExecute(r FrontendApiGetVerificationFlowRequest) (*VerificationFlow, *http.Response, error) {
+func (a *FrontendAPIService) GetVerificationFlowExecute(r FrontendAPIGetVerificationFlowRequest) (*VerificationFlow, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -3995,7 +4047,7 @@ func (a *FrontendApiService) GetVerificationFlowExecute(r FrontendApiGetVerifica
localVarReturnValue *VerificationFlow
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendApiService.GetVerificationFlow")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendAPIService.GetVerificationFlow")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -4009,7 +4061,7 @@ func (a *FrontendApiService) GetVerificationFlowExecute(r FrontendApiGetVerifica
return localVarReturnValue, nil, reportError("id is required and must be specified")
}
- localVarQueryParams.Add("id", parameterToString(*r.id, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", r.id, "")
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -4028,7 +4080,7 @@ func (a *FrontendApiService) GetVerificationFlowExecute(r FrontendApiGetVerifica
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
if r.cookie != nil {
- localVarHeaderParams["cookie"] = parameterToString(*r.cookie, "")
+ parameterAddToHeaderOrQuery(localVarHeaderParams, "cookie", r.cookie, "")
}
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
if err != nil {
@@ -4040,9 +4092,9 @@ func (a *FrontendApiService) GetVerificationFlowExecute(r FrontendApiGetVerifica
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -4059,7 +4111,8 @@ func (a *FrontendApiService) GetVerificationFlowExecute(r FrontendApiGetVerifica
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 404 {
@@ -4069,7 +4122,8 @@ func (a *FrontendApiService) GetVerificationFlowExecute(r FrontendApiGetVerifica
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -4078,7 +4132,8 @@ func (a *FrontendApiService) GetVerificationFlowExecute(r FrontendApiGetVerifica
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -4094,12 +4149,12 @@ func (a *FrontendApiService) GetVerificationFlowExecute(r FrontendApiGetVerifica
return localVarReturnValue, localVarHTTPResponse, nil
}
-type FrontendApiGetWebAuthnJavaScriptRequest struct {
+type FrontendAPIGetWebAuthnJavaScriptRequest struct {
ctx context.Context
- ApiService FrontendApi
+ ApiService FrontendAPI
}
-func (r FrontendApiGetWebAuthnJavaScriptRequest) Execute() (string, *http.Response, error) {
+func (r FrontendAPIGetWebAuthnJavaScriptRequest) Execute() (string, *http.Response, error) {
return r.ApiService.GetWebAuthnJavaScriptExecute(r)
}
@@ -4117,10 +4172,10 @@ If you are building a JavaScript Browser App (e.g. in ReactJS or AngularJS) you
More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiGetWebAuthnJavaScriptRequest
+ @return FrontendAPIGetWebAuthnJavaScriptRequest
*/
-func (a *FrontendApiService) GetWebAuthnJavaScript(ctx context.Context) FrontendApiGetWebAuthnJavaScriptRequest {
- return FrontendApiGetWebAuthnJavaScriptRequest{
+func (a *FrontendAPIService) GetWebAuthnJavaScript(ctx context.Context) FrontendAPIGetWebAuthnJavaScriptRequest {
+ return FrontendAPIGetWebAuthnJavaScriptRequest{
ApiService: a,
ctx: ctx,
}
@@ -4128,7 +4183,7 @@ func (a *FrontendApiService) GetWebAuthnJavaScript(ctx context.Context) Frontend
// Execute executes the request
// @return string
-func (a *FrontendApiService) GetWebAuthnJavaScriptExecute(r FrontendApiGetWebAuthnJavaScriptRequest) (string, *http.Response, error) {
+func (a *FrontendAPIService) GetWebAuthnJavaScriptExecute(r FrontendAPIGetWebAuthnJavaScriptRequest) (string, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -4136,7 +4191,7 @@ func (a *FrontendApiService) GetWebAuthnJavaScriptExecute(r FrontendApiGetWebAut
localVarReturnValue string
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendApiService.GetWebAuthnJavaScript")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendAPIService.GetWebAuthnJavaScript")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -4174,9 +4229,9 @@ func (a *FrontendApiService) GetWebAuthnJavaScriptExecute(r FrontendApiGetWebAut
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -4201,9 +4256,9 @@ func (a *FrontendApiService) GetWebAuthnJavaScriptExecute(r FrontendApiGetWebAut
return localVarReturnValue, localVarHTTPResponse, nil
}
-type FrontendApiListMySessionsRequest struct {
+type FrontendAPIListMySessionsRequest struct {
ctx context.Context
- ApiService FrontendApi
+ ApiService FrontendAPI
perPage *int64
page *int64
pageSize *int64
@@ -4213,42 +4268,42 @@ type FrontendApiListMySessionsRequest struct {
}
// Deprecated Items per Page DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future. This is the number of items per page.
-func (r FrontendApiListMySessionsRequest) PerPage(perPage int64) FrontendApiListMySessionsRequest {
+func (r FrontendAPIListMySessionsRequest) PerPage(perPage int64) FrontendAPIListMySessionsRequest {
r.perPage = &perPage
return r
}
// Deprecated Pagination Page DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future. This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. The first page can be retrieved by omitting this parameter. Following page pointers will be returned in the `Link` header.
-func (r FrontendApiListMySessionsRequest) Page(page int64) FrontendApiListMySessionsRequest {
+func (r FrontendAPIListMySessionsRequest) Page(page int64) FrontendAPIListMySessionsRequest {
r.page = &page
return r
}
// Page Size This is the number of items per page to return. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
-func (r FrontendApiListMySessionsRequest) PageSize(pageSize int64) FrontendApiListMySessionsRequest {
+func (r FrontendAPIListMySessionsRequest) PageSize(pageSize int64) FrontendAPIListMySessionsRequest {
r.pageSize = &pageSize
return r
}
// Next Page Token The next page token. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
-func (r FrontendApiListMySessionsRequest) PageToken(pageToken string) FrontendApiListMySessionsRequest {
+func (r FrontendAPIListMySessionsRequest) PageToken(pageToken string) FrontendAPIListMySessionsRequest {
r.pageToken = &pageToken
return r
}
// Set the Session Token when calling from non-browser clients. A session token has a format of `MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj`.
-func (r FrontendApiListMySessionsRequest) XSessionToken(xSessionToken string) FrontendApiListMySessionsRequest {
+func (r FrontendAPIListMySessionsRequest) XSessionToken(xSessionToken string) FrontendAPIListMySessionsRequest {
r.xSessionToken = &xSessionToken
return r
}
// Set the Cookie Header. This is especially useful when calling this endpoint from a server-side application. In that scenario you must include the HTTP Cookie Header which originally was included in the request to your server. An example of a session in the HTTP Cookie Header is: `ory_kratos_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f==`. It is ok if more than one cookie are included here as all other cookies will be ignored.
-func (r FrontendApiListMySessionsRequest) Cookie(cookie string) FrontendApiListMySessionsRequest {
+func (r FrontendAPIListMySessionsRequest) Cookie(cookie string) FrontendAPIListMySessionsRequest {
r.cookie = &cookie
return r
}
-func (r FrontendApiListMySessionsRequest) Execute() ([]Session, *http.Response, error) {
+func (r FrontendAPIListMySessionsRequest) Execute() ([]Session, *http.Response, error) {
return r.ApiService.ListMySessionsExecute(r)
}
@@ -4259,10 +4314,10 @@ This endpoints returns all other active sessions that belong to the logged-in us
The current session can be retrieved by calling the `/sessions/whoami` endpoint.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiListMySessionsRequest
+ @return FrontendAPIListMySessionsRequest
*/
-func (a *FrontendApiService) ListMySessions(ctx context.Context) FrontendApiListMySessionsRequest {
- return FrontendApiListMySessionsRequest{
+func (a *FrontendAPIService) ListMySessions(ctx context.Context) FrontendAPIListMySessionsRequest {
+ return FrontendAPIListMySessionsRequest{
ApiService: a,
ctx: ctx,
}
@@ -4270,7 +4325,7 @@ func (a *FrontendApiService) ListMySessions(ctx context.Context) FrontendApiList
// Execute executes the request
// @return []Session
-func (a *FrontendApiService) ListMySessionsExecute(r FrontendApiListMySessionsRequest) ([]Session, *http.Response, error) {
+func (a *FrontendAPIService) ListMySessionsExecute(r FrontendAPIListMySessionsRequest) ([]Session, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -4278,7 +4333,7 @@ func (a *FrontendApiService) ListMySessionsExecute(r FrontendApiListMySessionsRe
localVarReturnValue []Session
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendApiService.ListMySessions")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendAPIService.ListMySessions")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -4290,16 +4345,25 @@ func (a *FrontendApiService) ListMySessionsExecute(r FrontendApiListMySessionsRe
localVarFormParams := url.Values{}
if r.perPage != nil {
- localVarQueryParams.Add("per_page", parameterToString(*r.perPage, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "per_page", r.perPage, "")
+ } else {
+ var defaultValue int64 = 250
+ r.perPage = &defaultValue
}
if r.page != nil {
- localVarQueryParams.Add("page", parameterToString(*r.page, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "page", r.page, "")
}
if r.pageSize != nil {
- localVarQueryParams.Add("page_size", parameterToString(*r.pageSize, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "page_size", r.pageSize, "")
+ } else {
+ var defaultValue int64 = 250
+ r.pageSize = &defaultValue
}
if r.pageToken != nil {
- localVarQueryParams.Add("page_token", parameterToString(*r.pageToken, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "page_token", r.pageToken, "")
+ } else {
+ var defaultValue string = "1"
+ r.pageToken = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -4319,10 +4383,10 @@ func (a *FrontendApiService) ListMySessionsExecute(r FrontendApiListMySessionsRe
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
if r.xSessionToken != nil {
- localVarHeaderParams["X-Session-Token"] = parameterToString(*r.xSessionToken, "")
+ parameterAddToHeaderOrQuery(localVarHeaderParams, "X-Session-Token", r.xSessionToken, "")
}
if r.cookie != nil {
- localVarHeaderParams["Cookie"] = parameterToString(*r.cookie, "")
+ parameterAddToHeaderOrQuery(localVarHeaderParams, "Cookie", r.cookie, "")
}
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
if err != nil {
@@ -4334,9 +4398,9 @@ func (a *FrontendApiService) ListMySessionsExecute(r FrontendApiListMySessionsRe
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -4353,7 +4417,8 @@ func (a *FrontendApiService) ListMySessionsExecute(r FrontendApiListMySessionsRe
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 401 {
@@ -4363,7 +4428,8 @@ func (a *FrontendApiService) ListMySessionsExecute(r FrontendApiListMySessionsRe
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -4372,7 +4438,8 @@ func (a *FrontendApiService) ListMySessionsExecute(r FrontendApiListMySessionsRe
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -4388,18 +4455,18 @@ func (a *FrontendApiService) ListMySessionsExecute(r FrontendApiListMySessionsRe
return localVarReturnValue, localVarHTTPResponse, nil
}
-type FrontendApiPerformNativeLogoutRequest struct {
+type FrontendAPIPerformNativeLogoutRequest struct {
ctx context.Context
- ApiService FrontendApi
+ ApiService FrontendAPI
performNativeLogoutBody *PerformNativeLogoutBody
}
-func (r FrontendApiPerformNativeLogoutRequest) PerformNativeLogoutBody(performNativeLogoutBody PerformNativeLogoutBody) FrontendApiPerformNativeLogoutRequest {
+func (r FrontendAPIPerformNativeLogoutRequest) PerformNativeLogoutBody(performNativeLogoutBody PerformNativeLogoutBody) FrontendAPIPerformNativeLogoutRequest {
r.performNativeLogoutBody = &performNativeLogoutBody
return r
}
-func (r FrontendApiPerformNativeLogoutRequest) Execute() (*http.Response, error) {
+func (r FrontendAPIPerformNativeLogoutRequest) Execute() (*http.Response, error) {
return r.ApiService.PerformNativeLogoutExecute(r)
}
@@ -4416,24 +4483,24 @@ This endpoint does not remove any HTTP
Cookies - use the Browser-Based Self-Service Logout Flow instead.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiPerformNativeLogoutRequest
+ @return FrontendAPIPerformNativeLogoutRequest
*/
-func (a *FrontendApiService) PerformNativeLogout(ctx context.Context) FrontendApiPerformNativeLogoutRequest {
- return FrontendApiPerformNativeLogoutRequest{
+func (a *FrontendAPIService) PerformNativeLogout(ctx context.Context) FrontendAPIPerformNativeLogoutRequest {
+ return FrontendAPIPerformNativeLogoutRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-func (a *FrontendApiService) PerformNativeLogoutExecute(r FrontendApiPerformNativeLogoutRequest) (*http.Response, error) {
+func (a *FrontendAPIService) PerformNativeLogoutExecute(r FrontendAPIPerformNativeLogoutRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendApiService.PerformNativeLogout")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendAPIService.PerformNativeLogout")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -4476,9 +4543,9 @@ func (a *FrontendApiService) PerformNativeLogoutExecute(r FrontendApiPerformNati
return localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarHTTPResponse, err
}
@@ -4495,7 +4562,8 @@ func (a *FrontendApiService) PerformNativeLogoutExecute(r FrontendApiPerformNati
newErr.error = err.Error()
return localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -4504,40 +4572,41 @@ func (a *FrontendApiService) PerformNativeLogoutExecute(r FrontendApiPerformNati
newErr.error = err.Error()
return localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarHTTPResponse, newErr
}
return localVarHTTPResponse, nil
}
-type FrontendApiToSessionRequest struct {
+type FrontendAPIToSessionRequest struct {
ctx context.Context
- ApiService FrontendApi
+ ApiService FrontendAPI
xSessionToken *string
cookie *string
tokenizeAs *string
}
// Set the Session Token when calling from non-browser clients. A session token has a format of `MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj`.
-func (r FrontendApiToSessionRequest) XSessionToken(xSessionToken string) FrontendApiToSessionRequest {
+func (r FrontendAPIToSessionRequest) XSessionToken(xSessionToken string) FrontendAPIToSessionRequest {
r.xSessionToken = &xSessionToken
return r
}
// Set the Cookie Header. This is especially useful when calling this endpoint from a server-side application. In that scenario you must include the HTTP Cookie Header which originally was included in the request to your server. An example of a session in the HTTP Cookie Header is: `ory_kratos_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f==`. It is ok if more than one cookie are included here as all other cookies will be ignored.
-func (r FrontendApiToSessionRequest) Cookie(cookie string) FrontendApiToSessionRequest {
+func (r FrontendAPIToSessionRequest) Cookie(cookie string) FrontendAPIToSessionRequest {
r.cookie = &cookie
return r
}
// Returns the session additionally as a token (such as a JWT) The value of this parameter has to be a valid, configured Ory Session token template. For more information head over to [the documentation](http://ory.sh/docs/identities/session-to-jwt-cors).
-func (r FrontendApiToSessionRequest) TokenizeAs(tokenizeAs string) FrontendApiToSessionRequest {
+func (r FrontendAPIToSessionRequest) TokenizeAs(tokenizeAs string) FrontendAPIToSessionRequest {
r.tokenizeAs = &tokenizeAs
return r
}
-func (r FrontendApiToSessionRequest) Execute() (*Session, *http.Response, error) {
+func (r FrontendAPIToSessionRequest) Execute() (*Session, *http.Response, error) {
return r.ApiService.ToSessionExecute(r)
}
@@ -4605,10 +4674,10 @@ As explained above, this request may fail due to several reasons. The `error.id`
`session_aal2_required`: An active session was found but it does not fulfil the Authenticator Assurance Level, implying that the session must (e.g.) authenticate the second factor.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiToSessionRequest
+ @return FrontendAPIToSessionRequest
*/
-func (a *FrontendApiService) ToSession(ctx context.Context) FrontendApiToSessionRequest {
- return FrontendApiToSessionRequest{
+func (a *FrontendAPIService) ToSession(ctx context.Context) FrontendAPIToSessionRequest {
+ return FrontendAPIToSessionRequest{
ApiService: a,
ctx: ctx,
}
@@ -4616,7 +4685,7 @@ func (a *FrontendApiService) ToSession(ctx context.Context) FrontendApiToSession
// Execute executes the request
// @return Session
-func (a *FrontendApiService) ToSessionExecute(r FrontendApiToSessionRequest) (*Session, *http.Response, error) {
+func (a *FrontendAPIService) ToSessionExecute(r FrontendAPIToSessionRequest) (*Session, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -4624,7 +4693,7 @@ func (a *FrontendApiService) ToSessionExecute(r FrontendApiToSessionRequest) (*S
localVarReturnValue *Session
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendApiService.ToSession")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendAPIService.ToSession")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -4636,7 +4705,7 @@ func (a *FrontendApiService) ToSessionExecute(r FrontendApiToSessionRequest) (*S
localVarFormParams := url.Values{}
if r.tokenizeAs != nil {
- localVarQueryParams.Add("tokenize_as", parameterToString(*r.tokenizeAs, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tokenize_as", r.tokenizeAs, "")
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -4656,10 +4725,10 @@ func (a *FrontendApiService) ToSessionExecute(r FrontendApiToSessionRequest) (*S
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
if r.xSessionToken != nil {
- localVarHeaderParams["X-Session-Token"] = parameterToString(*r.xSessionToken, "")
+ parameterAddToHeaderOrQuery(localVarHeaderParams, "X-Session-Token", r.xSessionToken, "")
}
if r.cookie != nil {
- localVarHeaderParams["Cookie"] = parameterToString(*r.cookie, "")
+ parameterAddToHeaderOrQuery(localVarHeaderParams, "Cookie", r.cookie, "")
}
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
if err != nil {
@@ -4671,9 +4740,9 @@ func (a *FrontendApiService) ToSessionExecute(r FrontendApiToSessionRequest) (*S
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -4690,7 +4759,8 @@ func (a *FrontendApiService) ToSessionExecute(r FrontendApiToSessionRequest) (*S
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 403 {
@@ -4700,7 +4770,8 @@ func (a *FrontendApiService) ToSessionExecute(r FrontendApiToSessionRequest) (*S
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -4709,7 +4780,8 @@ func (a *FrontendApiService) ToSessionExecute(r FrontendApiToSessionRequest) (*S
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -4725,9 +4797,9 @@ func (a *FrontendApiService) ToSessionExecute(r FrontendApiToSessionRequest) (*S
return localVarReturnValue, localVarHTTPResponse, nil
}
-type FrontendApiUpdateLoginFlowRequest struct {
+type FrontendAPIUpdateLoginFlowRequest struct {
ctx context.Context
- ApiService FrontendApi
+ ApiService FrontendAPI
flow *string
updateLoginFlowBody *UpdateLoginFlowBody
xSessionToken *string
@@ -4735,29 +4807,29 @@ type FrontendApiUpdateLoginFlowRequest struct {
}
// The Login Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/login?flow=abcde`).
-func (r FrontendApiUpdateLoginFlowRequest) Flow(flow string) FrontendApiUpdateLoginFlowRequest {
+func (r FrontendAPIUpdateLoginFlowRequest) Flow(flow string) FrontendAPIUpdateLoginFlowRequest {
r.flow = &flow
return r
}
-func (r FrontendApiUpdateLoginFlowRequest) UpdateLoginFlowBody(updateLoginFlowBody UpdateLoginFlowBody) FrontendApiUpdateLoginFlowRequest {
+func (r FrontendAPIUpdateLoginFlowRequest) UpdateLoginFlowBody(updateLoginFlowBody UpdateLoginFlowBody) FrontendAPIUpdateLoginFlowRequest {
r.updateLoginFlowBody = &updateLoginFlowBody
return r
}
// The Session Token of the Identity performing the settings flow.
-func (r FrontendApiUpdateLoginFlowRequest) XSessionToken(xSessionToken string) FrontendApiUpdateLoginFlowRequest {
+func (r FrontendAPIUpdateLoginFlowRequest) XSessionToken(xSessionToken string) FrontendAPIUpdateLoginFlowRequest {
r.xSessionToken = &xSessionToken
return r
}
// HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
-func (r FrontendApiUpdateLoginFlowRequest) Cookie(cookie string) FrontendApiUpdateLoginFlowRequest {
+func (r FrontendAPIUpdateLoginFlowRequest) Cookie(cookie string) FrontendAPIUpdateLoginFlowRequest {
r.cookie = &cookie
return r
}
-func (r FrontendApiUpdateLoginFlowRequest) Execute() (*SuccessfulNativeLogin, *http.Response, error) {
+func (r FrontendAPIUpdateLoginFlowRequest) Execute() (*SuccessfulNativeLogin, *http.Response, error) {
return r.ApiService.UpdateLoginFlowExecute(r)
}
@@ -4793,10 +4865,10 @@ Most likely used in Social Sign In flows.
More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiUpdateLoginFlowRequest
+ @return FrontendAPIUpdateLoginFlowRequest
*/
-func (a *FrontendApiService) UpdateLoginFlow(ctx context.Context) FrontendApiUpdateLoginFlowRequest {
- return FrontendApiUpdateLoginFlowRequest{
+func (a *FrontendAPIService) UpdateLoginFlow(ctx context.Context) FrontendAPIUpdateLoginFlowRequest {
+ return FrontendAPIUpdateLoginFlowRequest{
ApiService: a,
ctx: ctx,
}
@@ -4804,7 +4876,7 @@ func (a *FrontendApiService) UpdateLoginFlow(ctx context.Context) FrontendApiUpd
// Execute executes the request
// @return SuccessfulNativeLogin
-func (a *FrontendApiService) UpdateLoginFlowExecute(r FrontendApiUpdateLoginFlowRequest) (*SuccessfulNativeLogin, *http.Response, error) {
+func (a *FrontendAPIService) UpdateLoginFlowExecute(r FrontendAPIUpdateLoginFlowRequest) (*SuccessfulNativeLogin, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
@@ -4812,7 +4884,7 @@ func (a *FrontendApiService) UpdateLoginFlowExecute(r FrontendApiUpdateLoginFlow
localVarReturnValue *SuccessfulNativeLogin
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendApiService.UpdateLoginFlow")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendAPIService.UpdateLoginFlow")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -4829,7 +4901,7 @@ func (a *FrontendApiService) UpdateLoginFlowExecute(r FrontendApiUpdateLoginFlow
return localVarReturnValue, nil, reportError("updateLoginFlowBody is required and must be specified")
}
- localVarQueryParams.Add("flow", parameterToString(*r.flow, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "flow", r.flow, "")
// to determine the Content-Type header
localVarHTTPContentTypes := []string{"application/json", "application/x-www-form-urlencoded"}
@@ -4848,10 +4920,10 @@ func (a *FrontendApiService) UpdateLoginFlowExecute(r FrontendApiUpdateLoginFlow
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
if r.xSessionToken != nil {
- localVarHeaderParams["X-Session-Token"] = parameterToString(*r.xSessionToken, "")
+ parameterAddToHeaderOrQuery(localVarHeaderParams, "X-Session-Token", r.xSessionToken, "")
}
if r.cookie != nil {
- localVarHeaderParams["Cookie"] = parameterToString(*r.cookie, "")
+ parameterAddToHeaderOrQuery(localVarHeaderParams, "Cookie", r.cookie, "")
}
// body params
localVarPostBody = r.updateLoginFlowBody
@@ -4865,9 +4937,9 @@ func (a *FrontendApiService) UpdateLoginFlowExecute(r FrontendApiUpdateLoginFlow
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -4884,7 +4956,8 @@ func (a *FrontendApiService) UpdateLoginFlowExecute(r FrontendApiUpdateLoginFlow
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 410 {
@@ -4894,7 +4967,8 @@ func (a *FrontendApiService) UpdateLoginFlowExecute(r FrontendApiUpdateLoginFlow
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 422 {
@@ -4904,7 +4978,8 @@ func (a *FrontendApiService) UpdateLoginFlowExecute(r FrontendApiUpdateLoginFlow
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -4913,7 +4988,8 @@ func (a *FrontendApiService) UpdateLoginFlowExecute(r FrontendApiUpdateLoginFlow
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -4929,33 +5005,33 @@ func (a *FrontendApiService) UpdateLoginFlowExecute(r FrontendApiUpdateLoginFlow
return localVarReturnValue, localVarHTTPResponse, nil
}
-type FrontendApiUpdateLogoutFlowRequest struct {
+type FrontendAPIUpdateLogoutFlowRequest struct {
ctx context.Context
- ApiService FrontendApi
+ ApiService FrontendAPI
token *string
returnTo *string
cookie *string
}
// A Valid Logout Token If you do not have a logout token because you only have a session cookie, call `/self-service/logout/browser` to generate a URL for this endpoint.
-func (r FrontendApiUpdateLogoutFlowRequest) Token(token string) FrontendApiUpdateLogoutFlowRequest {
+func (r FrontendAPIUpdateLogoutFlowRequest) Token(token string) FrontendAPIUpdateLogoutFlowRequest {
r.token = &token
return r
}
// The URL to return to after the logout was completed.
-func (r FrontendApiUpdateLogoutFlowRequest) ReturnTo(returnTo string) FrontendApiUpdateLogoutFlowRequest {
+func (r FrontendAPIUpdateLogoutFlowRequest) ReturnTo(returnTo string) FrontendAPIUpdateLogoutFlowRequest {
r.returnTo = &returnTo
return r
}
// HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
-func (r FrontendApiUpdateLogoutFlowRequest) Cookie(cookie string) FrontendApiUpdateLogoutFlowRequest {
+func (r FrontendAPIUpdateLogoutFlowRequest) Cookie(cookie string) FrontendAPIUpdateLogoutFlowRequest {
r.cookie = &cookie
return r
}
-func (r FrontendApiUpdateLogoutFlowRequest) Execute() (*http.Response, error) {
+func (r FrontendAPIUpdateLogoutFlowRequest) Execute() (*http.Response, error) {
return r.ApiService.UpdateLogoutFlowExecute(r)
}
@@ -4977,24 +5053,24 @@ call the `/self-service/logout/api` URL directly with the Ory Session Token.
More information can be found at [Ory Kratos User Logout Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-logout).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiUpdateLogoutFlowRequest
+ @return FrontendAPIUpdateLogoutFlowRequest
*/
-func (a *FrontendApiService) UpdateLogoutFlow(ctx context.Context) FrontendApiUpdateLogoutFlowRequest {
- return FrontendApiUpdateLogoutFlowRequest{
+func (a *FrontendAPIService) UpdateLogoutFlow(ctx context.Context) FrontendAPIUpdateLogoutFlowRequest {
+ return FrontendAPIUpdateLogoutFlowRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-func (a *FrontendApiService) UpdateLogoutFlowExecute(r FrontendApiUpdateLogoutFlowRequest) (*http.Response, error) {
+func (a *FrontendAPIService) UpdateLogoutFlowExecute(r FrontendAPIUpdateLogoutFlowRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendApiService.UpdateLogoutFlow")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendAPIService.UpdateLogoutFlow")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -5006,10 +5082,10 @@ func (a *FrontendApiService) UpdateLogoutFlowExecute(r FrontendApiUpdateLogoutFl
localVarFormParams := url.Values{}
if r.token != nil {
- localVarQueryParams.Add("token", parameterToString(*r.token, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "token", r.token, "")
}
if r.returnTo != nil {
- localVarQueryParams.Add("return_to", parameterToString(*r.returnTo, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "return_to", r.returnTo, "")
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -5029,7 +5105,7 @@ func (a *FrontendApiService) UpdateLogoutFlowExecute(r FrontendApiUpdateLogoutFl
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
if r.cookie != nil {
- localVarHeaderParams["Cookie"] = parameterToString(*r.cookie, "")
+ parameterAddToHeaderOrQuery(localVarHeaderParams, "Cookie", r.cookie, "")
}
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
if err != nil {
@@ -5041,9 +5117,9 @@ func (a *FrontendApiService) UpdateLogoutFlowExecute(r FrontendApiUpdateLogoutFl
return localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarHTTPResponse, err
}
@@ -5059,16 +5135,17 @@ func (a *FrontendApiService) UpdateLogoutFlowExecute(r FrontendApiUpdateLogoutFl
newErr.error = err.Error()
return localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarHTTPResponse, newErr
}
return localVarHTTPResponse, nil
}
-type FrontendApiUpdateRecoveryFlowRequest struct {
+type FrontendAPIUpdateRecoveryFlowRequest struct {
ctx context.Context
- ApiService FrontendApi
+ ApiService FrontendAPI
flow *string
updateRecoveryFlowBody *UpdateRecoveryFlowBody
token *string
@@ -5076,29 +5153,29 @@ type FrontendApiUpdateRecoveryFlowRequest struct {
}
// The Recovery Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/recovery?flow=abcde`).
-func (r FrontendApiUpdateRecoveryFlowRequest) Flow(flow string) FrontendApiUpdateRecoveryFlowRequest {
+func (r FrontendAPIUpdateRecoveryFlowRequest) Flow(flow string) FrontendAPIUpdateRecoveryFlowRequest {
r.flow = &flow
return r
}
-func (r FrontendApiUpdateRecoveryFlowRequest) UpdateRecoveryFlowBody(updateRecoveryFlowBody UpdateRecoveryFlowBody) FrontendApiUpdateRecoveryFlowRequest {
+func (r FrontendAPIUpdateRecoveryFlowRequest) UpdateRecoveryFlowBody(updateRecoveryFlowBody UpdateRecoveryFlowBody) FrontendAPIUpdateRecoveryFlowRequest {
r.updateRecoveryFlowBody = &updateRecoveryFlowBody
return r
}
// Recovery Token The recovery token which completes the recovery request. If the token is invalid (e.g. expired) an error will be shown to the end-user. This parameter is usually set in a link and not used by any direct API call.
-func (r FrontendApiUpdateRecoveryFlowRequest) Token(token string) FrontendApiUpdateRecoveryFlowRequest {
+func (r FrontendAPIUpdateRecoveryFlowRequest) Token(token string) FrontendAPIUpdateRecoveryFlowRequest {
r.token = &token
return r
}
// HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
-func (r FrontendApiUpdateRecoveryFlowRequest) Cookie(cookie string) FrontendApiUpdateRecoveryFlowRequest {
+func (r FrontendAPIUpdateRecoveryFlowRequest) Cookie(cookie string) FrontendAPIUpdateRecoveryFlowRequest {
r.cookie = &cookie
return r
}
-func (r FrontendApiUpdateRecoveryFlowRequest) Execute() (*RecoveryFlow, *http.Response, error) {
+func (r FrontendAPIUpdateRecoveryFlowRequest) Execute() (*RecoveryFlow, *http.Response, error) {
return r.ApiService.UpdateRecoveryFlowExecute(r)
}
@@ -5123,10 +5200,10 @@ a new Recovery Flow ID which contains an error message that the recovery link wa
More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiUpdateRecoveryFlowRequest
+ @return FrontendAPIUpdateRecoveryFlowRequest
*/
-func (a *FrontendApiService) UpdateRecoveryFlow(ctx context.Context) FrontendApiUpdateRecoveryFlowRequest {
- return FrontendApiUpdateRecoveryFlowRequest{
+func (a *FrontendAPIService) UpdateRecoveryFlow(ctx context.Context) FrontendAPIUpdateRecoveryFlowRequest {
+ return FrontendAPIUpdateRecoveryFlowRequest{
ApiService: a,
ctx: ctx,
}
@@ -5134,7 +5211,7 @@ func (a *FrontendApiService) UpdateRecoveryFlow(ctx context.Context) FrontendApi
// Execute executes the request
// @return RecoveryFlow
-func (a *FrontendApiService) UpdateRecoveryFlowExecute(r FrontendApiUpdateRecoveryFlowRequest) (*RecoveryFlow, *http.Response, error) {
+func (a *FrontendAPIService) UpdateRecoveryFlowExecute(r FrontendAPIUpdateRecoveryFlowRequest) (*RecoveryFlow, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
@@ -5142,7 +5219,7 @@ func (a *FrontendApiService) UpdateRecoveryFlowExecute(r FrontendApiUpdateRecove
localVarReturnValue *RecoveryFlow
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendApiService.UpdateRecoveryFlow")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendAPIService.UpdateRecoveryFlow")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -5159,9 +5236,9 @@ func (a *FrontendApiService) UpdateRecoveryFlowExecute(r FrontendApiUpdateRecove
return localVarReturnValue, nil, reportError("updateRecoveryFlowBody is required and must be specified")
}
- localVarQueryParams.Add("flow", parameterToString(*r.flow, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "flow", r.flow, "")
if r.token != nil {
- localVarQueryParams.Add("token", parameterToString(*r.token, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "token", r.token, "")
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{"application/json", "application/x-www-form-urlencoded"}
@@ -5181,7 +5258,7 @@ func (a *FrontendApiService) UpdateRecoveryFlowExecute(r FrontendApiUpdateRecove
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
if r.cookie != nil {
- localVarHeaderParams["Cookie"] = parameterToString(*r.cookie, "")
+ parameterAddToHeaderOrQuery(localVarHeaderParams, "Cookie", r.cookie, "")
}
// body params
localVarPostBody = r.updateRecoveryFlowBody
@@ -5195,9 +5272,9 @@ func (a *FrontendApiService) UpdateRecoveryFlowExecute(r FrontendApiUpdateRecove
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -5214,7 +5291,8 @@ func (a *FrontendApiService) UpdateRecoveryFlowExecute(r FrontendApiUpdateRecove
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 410 {
@@ -5224,7 +5302,8 @@ func (a *FrontendApiService) UpdateRecoveryFlowExecute(r FrontendApiUpdateRecove
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 422 {
@@ -5234,7 +5313,8 @@ func (a *FrontendApiService) UpdateRecoveryFlowExecute(r FrontendApiUpdateRecove
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -5243,7 +5323,8 @@ func (a *FrontendApiService) UpdateRecoveryFlowExecute(r FrontendApiUpdateRecove
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -5259,32 +5340,32 @@ func (a *FrontendApiService) UpdateRecoveryFlowExecute(r FrontendApiUpdateRecove
return localVarReturnValue, localVarHTTPResponse, nil
}
-type FrontendApiUpdateRegistrationFlowRequest struct {
+type FrontendAPIUpdateRegistrationFlowRequest struct {
ctx context.Context
- ApiService FrontendApi
+ ApiService FrontendAPI
flow *string
updateRegistrationFlowBody *UpdateRegistrationFlowBody
cookie *string
}
// The Registration Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/registration?flow=abcde`).
-func (r FrontendApiUpdateRegistrationFlowRequest) Flow(flow string) FrontendApiUpdateRegistrationFlowRequest {
+func (r FrontendAPIUpdateRegistrationFlowRequest) Flow(flow string) FrontendAPIUpdateRegistrationFlowRequest {
r.flow = &flow
return r
}
-func (r FrontendApiUpdateRegistrationFlowRequest) UpdateRegistrationFlowBody(updateRegistrationFlowBody UpdateRegistrationFlowBody) FrontendApiUpdateRegistrationFlowRequest {
+func (r FrontendAPIUpdateRegistrationFlowRequest) UpdateRegistrationFlowBody(updateRegistrationFlowBody UpdateRegistrationFlowBody) FrontendAPIUpdateRegistrationFlowRequest {
r.updateRegistrationFlowBody = &updateRegistrationFlowBody
return r
}
// HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
-func (r FrontendApiUpdateRegistrationFlowRequest) Cookie(cookie string) FrontendApiUpdateRegistrationFlowRequest {
+func (r FrontendAPIUpdateRegistrationFlowRequest) Cookie(cookie string) FrontendAPIUpdateRegistrationFlowRequest {
r.cookie = &cookie
return r
}
-func (r FrontendApiUpdateRegistrationFlowRequest) Execute() (*SuccessfulNativeRegistration, *http.Response, error) {
+func (r FrontendAPIUpdateRegistrationFlowRequest) Execute() (*SuccessfulNativeRegistration, *http.Response, error) {
return r.ApiService.UpdateRegistrationFlowExecute(r)
}
@@ -5321,10 +5402,10 @@ Most likely used in Social Sign In flows.
More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiUpdateRegistrationFlowRequest
+ @return FrontendAPIUpdateRegistrationFlowRequest
*/
-func (a *FrontendApiService) UpdateRegistrationFlow(ctx context.Context) FrontendApiUpdateRegistrationFlowRequest {
- return FrontendApiUpdateRegistrationFlowRequest{
+func (a *FrontendAPIService) UpdateRegistrationFlow(ctx context.Context) FrontendAPIUpdateRegistrationFlowRequest {
+ return FrontendAPIUpdateRegistrationFlowRequest{
ApiService: a,
ctx: ctx,
}
@@ -5332,7 +5413,7 @@ func (a *FrontendApiService) UpdateRegistrationFlow(ctx context.Context) Fronten
// Execute executes the request
// @return SuccessfulNativeRegistration
-func (a *FrontendApiService) UpdateRegistrationFlowExecute(r FrontendApiUpdateRegistrationFlowRequest) (*SuccessfulNativeRegistration, *http.Response, error) {
+func (a *FrontendAPIService) UpdateRegistrationFlowExecute(r FrontendAPIUpdateRegistrationFlowRequest) (*SuccessfulNativeRegistration, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
@@ -5340,7 +5421,7 @@ func (a *FrontendApiService) UpdateRegistrationFlowExecute(r FrontendApiUpdateRe
localVarReturnValue *SuccessfulNativeRegistration
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendApiService.UpdateRegistrationFlow")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendAPIService.UpdateRegistrationFlow")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -5357,7 +5438,7 @@ func (a *FrontendApiService) UpdateRegistrationFlowExecute(r FrontendApiUpdateRe
return localVarReturnValue, nil, reportError("updateRegistrationFlowBody is required and must be specified")
}
- localVarQueryParams.Add("flow", parameterToString(*r.flow, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "flow", r.flow, "")
// to determine the Content-Type header
localVarHTTPContentTypes := []string{"application/json", "application/x-www-form-urlencoded"}
@@ -5376,7 +5457,7 @@ func (a *FrontendApiService) UpdateRegistrationFlowExecute(r FrontendApiUpdateRe
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
if r.cookie != nil {
- localVarHeaderParams["Cookie"] = parameterToString(*r.cookie, "")
+ parameterAddToHeaderOrQuery(localVarHeaderParams, "Cookie", r.cookie, "")
}
// body params
localVarPostBody = r.updateRegistrationFlowBody
@@ -5390,9 +5471,9 @@ func (a *FrontendApiService) UpdateRegistrationFlowExecute(r FrontendApiUpdateRe
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -5409,7 +5490,8 @@ func (a *FrontendApiService) UpdateRegistrationFlowExecute(r FrontendApiUpdateRe
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 410 {
@@ -5419,7 +5501,8 @@ func (a *FrontendApiService) UpdateRegistrationFlowExecute(r FrontendApiUpdateRe
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 422 {
@@ -5429,7 +5512,8 @@ func (a *FrontendApiService) UpdateRegistrationFlowExecute(r FrontendApiUpdateRe
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -5438,7 +5522,8 @@ func (a *FrontendApiService) UpdateRegistrationFlowExecute(r FrontendApiUpdateRe
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -5454,9 +5539,9 @@ func (a *FrontendApiService) UpdateRegistrationFlowExecute(r FrontendApiUpdateRe
return localVarReturnValue, localVarHTTPResponse, nil
}
-type FrontendApiUpdateSettingsFlowRequest struct {
+type FrontendAPIUpdateSettingsFlowRequest struct {
ctx context.Context
- ApiService FrontendApi
+ ApiService FrontendAPI
flow *string
updateSettingsFlowBody *UpdateSettingsFlowBody
xSessionToken *string
@@ -5464,29 +5549,29 @@ type FrontendApiUpdateSettingsFlowRequest struct {
}
// The Settings Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/settings?flow=abcde`).
-func (r FrontendApiUpdateSettingsFlowRequest) Flow(flow string) FrontendApiUpdateSettingsFlowRequest {
+func (r FrontendAPIUpdateSettingsFlowRequest) Flow(flow string) FrontendAPIUpdateSettingsFlowRequest {
r.flow = &flow
return r
}
-func (r FrontendApiUpdateSettingsFlowRequest) UpdateSettingsFlowBody(updateSettingsFlowBody UpdateSettingsFlowBody) FrontendApiUpdateSettingsFlowRequest {
+func (r FrontendAPIUpdateSettingsFlowRequest) UpdateSettingsFlowBody(updateSettingsFlowBody UpdateSettingsFlowBody) FrontendAPIUpdateSettingsFlowRequest {
r.updateSettingsFlowBody = &updateSettingsFlowBody
return r
}
// The Session Token of the Identity performing the settings flow.
-func (r FrontendApiUpdateSettingsFlowRequest) XSessionToken(xSessionToken string) FrontendApiUpdateSettingsFlowRequest {
+func (r FrontendAPIUpdateSettingsFlowRequest) XSessionToken(xSessionToken string) FrontendAPIUpdateSettingsFlowRequest {
r.xSessionToken = &xSessionToken
return r
}
// HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
-func (r FrontendApiUpdateSettingsFlowRequest) Cookie(cookie string) FrontendApiUpdateSettingsFlowRequest {
+func (r FrontendAPIUpdateSettingsFlowRequest) Cookie(cookie string) FrontendAPIUpdateSettingsFlowRequest {
r.cookie = &cookie
return r
}
-func (r FrontendApiUpdateSettingsFlowRequest) Execute() (*SettingsFlow, *http.Response, error) {
+func (r FrontendAPIUpdateSettingsFlowRequest) Execute() (*SettingsFlow, *http.Response, error) {
return r.ApiService.UpdateSettingsFlowExecute(r)
}
@@ -5538,10 +5623,10 @@ Most likely used in Social Sign In flows.
More information can be found at [Ory Kratos User Settings & Profile Management Documentation](../self-service/flows/user-settings).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiUpdateSettingsFlowRequest
+ @return FrontendAPIUpdateSettingsFlowRequest
*/
-func (a *FrontendApiService) UpdateSettingsFlow(ctx context.Context) FrontendApiUpdateSettingsFlowRequest {
- return FrontendApiUpdateSettingsFlowRequest{
+func (a *FrontendAPIService) UpdateSettingsFlow(ctx context.Context) FrontendAPIUpdateSettingsFlowRequest {
+ return FrontendAPIUpdateSettingsFlowRequest{
ApiService: a,
ctx: ctx,
}
@@ -5549,7 +5634,7 @@ func (a *FrontendApiService) UpdateSettingsFlow(ctx context.Context) FrontendApi
// Execute executes the request
// @return SettingsFlow
-func (a *FrontendApiService) UpdateSettingsFlowExecute(r FrontendApiUpdateSettingsFlowRequest) (*SettingsFlow, *http.Response, error) {
+func (a *FrontendAPIService) UpdateSettingsFlowExecute(r FrontendAPIUpdateSettingsFlowRequest) (*SettingsFlow, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
@@ -5557,7 +5642,7 @@ func (a *FrontendApiService) UpdateSettingsFlowExecute(r FrontendApiUpdateSettin
localVarReturnValue *SettingsFlow
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendApiService.UpdateSettingsFlow")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendAPIService.UpdateSettingsFlow")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -5574,7 +5659,7 @@ func (a *FrontendApiService) UpdateSettingsFlowExecute(r FrontendApiUpdateSettin
return localVarReturnValue, nil, reportError("updateSettingsFlowBody is required and must be specified")
}
- localVarQueryParams.Add("flow", parameterToString(*r.flow, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "flow", r.flow, "")
// to determine the Content-Type header
localVarHTTPContentTypes := []string{"application/json", "application/x-www-form-urlencoded"}
@@ -5593,10 +5678,10 @@ func (a *FrontendApiService) UpdateSettingsFlowExecute(r FrontendApiUpdateSettin
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
if r.xSessionToken != nil {
- localVarHeaderParams["X-Session-Token"] = parameterToString(*r.xSessionToken, "")
+ parameterAddToHeaderOrQuery(localVarHeaderParams, "X-Session-Token", r.xSessionToken, "")
}
if r.cookie != nil {
- localVarHeaderParams["Cookie"] = parameterToString(*r.cookie, "")
+ parameterAddToHeaderOrQuery(localVarHeaderParams, "Cookie", r.cookie, "")
}
// body params
localVarPostBody = r.updateSettingsFlowBody
@@ -5610,9 +5695,9 @@ func (a *FrontendApiService) UpdateSettingsFlowExecute(r FrontendApiUpdateSettin
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -5629,7 +5714,8 @@ func (a *FrontendApiService) UpdateSettingsFlowExecute(r FrontendApiUpdateSettin
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 401 {
@@ -5639,7 +5725,8 @@ func (a *FrontendApiService) UpdateSettingsFlowExecute(r FrontendApiUpdateSettin
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 403 {
@@ -5649,7 +5736,8 @@ func (a *FrontendApiService) UpdateSettingsFlowExecute(r FrontendApiUpdateSettin
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 410 {
@@ -5659,7 +5747,8 @@ func (a *FrontendApiService) UpdateSettingsFlowExecute(r FrontendApiUpdateSettin
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 422 {
@@ -5669,7 +5758,8 @@ func (a *FrontendApiService) UpdateSettingsFlowExecute(r FrontendApiUpdateSettin
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -5678,7 +5768,8 @@ func (a *FrontendApiService) UpdateSettingsFlowExecute(r FrontendApiUpdateSettin
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -5694,9 +5785,9 @@ func (a *FrontendApiService) UpdateSettingsFlowExecute(r FrontendApiUpdateSettin
return localVarReturnValue, localVarHTTPResponse, nil
}
-type FrontendApiUpdateVerificationFlowRequest struct {
+type FrontendAPIUpdateVerificationFlowRequest struct {
ctx context.Context
- ApiService FrontendApi
+ ApiService FrontendAPI
flow *string
updateVerificationFlowBody *UpdateVerificationFlowBody
token *string
@@ -5704,29 +5795,29 @@ type FrontendApiUpdateVerificationFlowRequest struct {
}
// The Verification Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/verification?flow=abcde`).
-func (r FrontendApiUpdateVerificationFlowRequest) Flow(flow string) FrontendApiUpdateVerificationFlowRequest {
+func (r FrontendAPIUpdateVerificationFlowRequest) Flow(flow string) FrontendAPIUpdateVerificationFlowRequest {
r.flow = &flow
return r
}
-func (r FrontendApiUpdateVerificationFlowRequest) UpdateVerificationFlowBody(updateVerificationFlowBody UpdateVerificationFlowBody) FrontendApiUpdateVerificationFlowRequest {
+func (r FrontendAPIUpdateVerificationFlowRequest) UpdateVerificationFlowBody(updateVerificationFlowBody UpdateVerificationFlowBody) FrontendAPIUpdateVerificationFlowRequest {
r.updateVerificationFlowBody = &updateVerificationFlowBody
return r
}
// Verification Token The verification token which completes the verification request. If the token is invalid (e.g. expired) an error will be shown to the end-user. This parameter is usually set in a link and not used by any direct API call.
-func (r FrontendApiUpdateVerificationFlowRequest) Token(token string) FrontendApiUpdateVerificationFlowRequest {
+func (r FrontendAPIUpdateVerificationFlowRequest) Token(token string) FrontendAPIUpdateVerificationFlowRequest {
r.token = &token
return r
}
// HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
-func (r FrontendApiUpdateVerificationFlowRequest) Cookie(cookie string) FrontendApiUpdateVerificationFlowRequest {
+func (r FrontendAPIUpdateVerificationFlowRequest) Cookie(cookie string) FrontendAPIUpdateVerificationFlowRequest {
r.cookie = &cookie
return r
}
-func (r FrontendApiUpdateVerificationFlowRequest) Execute() (*VerificationFlow, *http.Response, error) {
+func (r FrontendAPIUpdateVerificationFlowRequest) Execute() (*VerificationFlow, *http.Response, error) {
return r.ApiService.UpdateVerificationFlowExecute(r)
}
@@ -5751,10 +5842,10 @@ a new Verification Flow ID which contains an error message that the verification
More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return FrontendApiUpdateVerificationFlowRequest
+ @return FrontendAPIUpdateVerificationFlowRequest
*/
-func (a *FrontendApiService) UpdateVerificationFlow(ctx context.Context) FrontendApiUpdateVerificationFlowRequest {
- return FrontendApiUpdateVerificationFlowRequest{
+func (a *FrontendAPIService) UpdateVerificationFlow(ctx context.Context) FrontendAPIUpdateVerificationFlowRequest {
+ return FrontendAPIUpdateVerificationFlowRequest{
ApiService: a,
ctx: ctx,
}
@@ -5762,7 +5853,7 @@ func (a *FrontendApiService) UpdateVerificationFlow(ctx context.Context) Fronten
// Execute executes the request
// @return VerificationFlow
-func (a *FrontendApiService) UpdateVerificationFlowExecute(r FrontendApiUpdateVerificationFlowRequest) (*VerificationFlow, *http.Response, error) {
+func (a *FrontendAPIService) UpdateVerificationFlowExecute(r FrontendAPIUpdateVerificationFlowRequest) (*VerificationFlow, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
@@ -5770,7 +5861,7 @@ func (a *FrontendApiService) UpdateVerificationFlowExecute(r FrontendApiUpdateVe
localVarReturnValue *VerificationFlow
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendApiService.UpdateVerificationFlow")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FrontendAPIService.UpdateVerificationFlow")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -5787,9 +5878,9 @@ func (a *FrontendApiService) UpdateVerificationFlowExecute(r FrontendApiUpdateVe
return localVarReturnValue, nil, reportError("updateVerificationFlowBody is required and must be specified")
}
- localVarQueryParams.Add("flow", parameterToString(*r.flow, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "flow", r.flow, "")
if r.token != nil {
- localVarQueryParams.Add("token", parameterToString(*r.token, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "token", r.token, "")
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{"application/json", "application/x-www-form-urlencoded"}
@@ -5809,7 +5900,7 @@ func (a *FrontendApiService) UpdateVerificationFlowExecute(r FrontendApiUpdateVe
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
if r.cookie != nil {
- localVarHeaderParams["Cookie"] = parameterToString(*r.cookie, "")
+ parameterAddToHeaderOrQuery(localVarHeaderParams, "Cookie", r.cookie, "")
}
// body params
localVarPostBody = r.updateVerificationFlowBody
@@ -5823,9 +5914,9 @@ func (a *FrontendApiService) UpdateVerificationFlowExecute(r FrontendApiUpdateVe
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -5842,7 +5933,8 @@ func (a *FrontendApiService) UpdateVerificationFlowExecute(r FrontendApiUpdateVe
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 410 {
@@ -5852,7 +5944,8 @@ func (a *FrontendApiService) UpdateVerificationFlowExecute(r FrontendApiUpdateVe
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -5861,7 +5954,8 @@ func (a *FrontendApiService) UpdateVerificationFlowExecute(r FrontendApiUpdateVe
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
diff --git a/clients/client/go/api_identity.go b/clients/client/go/api_identity.go
index 21c0651ae12..9078ade209a 100644
--- a/clients/client/go/api_identity.go
+++ b/clients/client/go/api_identity.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -14,7 +14,7 @@ package client
import (
"bytes"
"context"
- "io/ioutil"
+ "io"
"net/http"
"net/url"
"strings"
@@ -22,7 +22,7 @@ import (
)
-type IdentityApi interface {
+type IdentityAPI interface {
/*
BatchPatchIdentities Create and deletes multiple identities
@@ -34,13 +34,13 @@ credentials](https://www.ory.sh/docs/kratos/manage-identities/import-user-accoun
for instance passwords, social sign in configurations or multifactor methods.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return IdentityApiBatchPatchIdentitiesRequest
+ @return IdentityAPIBatchPatchIdentitiesRequest
*/
- BatchPatchIdentities(ctx context.Context) IdentityApiBatchPatchIdentitiesRequest
+ BatchPatchIdentities(ctx context.Context) IdentityAPIBatchPatchIdentitiesRequest
// BatchPatchIdentitiesExecute executes the request
// @return BatchPatchIdentitiesResponse
- BatchPatchIdentitiesExecute(r IdentityApiBatchPatchIdentitiesRequest) (*BatchPatchIdentitiesResponse, *http.Response, error)
+ BatchPatchIdentitiesExecute(r IdentityAPIBatchPatchIdentitiesRequest) (*BatchPatchIdentitiesResponse, *http.Response, error)
/*
CreateIdentity Create an Identity
@@ -50,13 +50,13 @@ for instance passwords, social sign in configurations or multifactor methods.
for instance passwords, social sign in configurations or multifactor methods.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return IdentityApiCreateIdentityRequest
+ @return IdentityAPICreateIdentityRequest
*/
- CreateIdentity(ctx context.Context) IdentityApiCreateIdentityRequest
+ CreateIdentity(ctx context.Context) IdentityAPICreateIdentityRequest
// CreateIdentityExecute executes the request
// @return Identity
- CreateIdentityExecute(r IdentityApiCreateIdentityRequest) (*Identity, *http.Response, error)
+ CreateIdentityExecute(r IdentityAPICreateIdentityRequest) (*Identity, *http.Response, error)
/*
CreateRecoveryCodeForIdentity Create a Recovery Code
@@ -65,13 +65,13 @@ for instance passwords, social sign in configurations or multifactor methods.
(or activate) their account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return IdentityApiCreateRecoveryCodeForIdentityRequest
+ @return IdentityAPICreateRecoveryCodeForIdentityRequest
*/
- CreateRecoveryCodeForIdentity(ctx context.Context) IdentityApiCreateRecoveryCodeForIdentityRequest
+ CreateRecoveryCodeForIdentity(ctx context.Context) IdentityAPICreateRecoveryCodeForIdentityRequest
// CreateRecoveryCodeForIdentityExecute executes the request
// @return RecoveryCodeForIdentity
- CreateRecoveryCodeForIdentityExecute(r IdentityApiCreateRecoveryCodeForIdentityRequest) (*RecoveryCodeForIdentity, *http.Response, error)
+ CreateRecoveryCodeForIdentityExecute(r IdentityAPICreateRecoveryCodeForIdentityRequest) (*RecoveryCodeForIdentity, *http.Response, error)
/*
CreateRecoveryLinkForIdentity Create a Recovery Link
@@ -80,13 +80,13 @@ for instance passwords, social sign in configurations or multifactor methods.
(or activate) their account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return IdentityApiCreateRecoveryLinkForIdentityRequest
+ @return IdentityAPICreateRecoveryLinkForIdentityRequest
*/
- CreateRecoveryLinkForIdentity(ctx context.Context) IdentityApiCreateRecoveryLinkForIdentityRequest
+ CreateRecoveryLinkForIdentity(ctx context.Context) IdentityAPICreateRecoveryLinkForIdentityRequest
// CreateRecoveryLinkForIdentityExecute executes the request
// @return RecoveryLinkForIdentity
- CreateRecoveryLinkForIdentityExecute(r IdentityApiCreateRecoveryLinkForIdentityRequest) (*RecoveryLinkForIdentity, *http.Response, error)
+ CreateRecoveryLinkForIdentityExecute(r IdentityAPICreateRecoveryLinkForIdentityRequest) (*RecoveryLinkForIdentity, *http.Response, error)
/*
DeleteIdentity Delete an Identity
@@ -97,12 +97,12 @@ assumed that is has been deleted already.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id ID is the identity's ID.
- @return IdentityApiDeleteIdentityRequest
+ @return IdentityAPIDeleteIdentityRequest
*/
- DeleteIdentity(ctx context.Context, id string) IdentityApiDeleteIdentityRequest
+ DeleteIdentity(ctx context.Context, id string) IdentityAPIDeleteIdentityRequest
// DeleteIdentityExecute executes the request
- DeleteIdentityExecute(r IdentityApiDeleteIdentityRequest) (*http.Response, error)
+ DeleteIdentityExecute(r IdentityAPIDeleteIdentityRequest) (*http.Response, error)
/*
DeleteIdentityCredentials Delete a credential for a specific identity
@@ -113,12 +113,12 @@ You can only delete second factor (aal2) credentials.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id ID is the identity's ID.
@param type_ Type is the credential's Type. One of totp, webauthn, lookup
- @return IdentityApiDeleteIdentityCredentialsRequest
+ @return IdentityAPIDeleteIdentityCredentialsRequest
*/
- DeleteIdentityCredentials(ctx context.Context, id string, type_ string) IdentityApiDeleteIdentityCredentialsRequest
+ DeleteIdentityCredentials(ctx context.Context, id string, type_ string) IdentityAPIDeleteIdentityCredentialsRequest
// DeleteIdentityCredentialsExecute executes the request
- DeleteIdentityCredentialsExecute(r IdentityApiDeleteIdentityCredentialsRequest) (*http.Response, error)
+ DeleteIdentityCredentialsExecute(r IdentityAPIDeleteIdentityCredentialsRequest) (*http.Response, error)
/*
DeleteIdentitySessions Delete & Invalidate an Identity's Sessions
@@ -127,12 +127,12 @@ You can only delete second factor (aal2) credentials.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id ID is the identity's ID.
- @return IdentityApiDeleteIdentitySessionsRequest
+ @return IdentityAPIDeleteIdentitySessionsRequest
*/
- DeleteIdentitySessions(ctx context.Context, id string) IdentityApiDeleteIdentitySessionsRequest
+ DeleteIdentitySessions(ctx context.Context, id string) IdentityAPIDeleteIdentitySessionsRequest
// DeleteIdentitySessionsExecute executes the request
- DeleteIdentitySessionsExecute(r IdentityApiDeleteIdentitySessionsRequest) (*http.Response, error)
+ DeleteIdentitySessionsExecute(r IdentityAPIDeleteIdentitySessionsRequest) (*http.Response, error)
/*
DisableSession Deactivate a Session
@@ -141,12 +141,12 @@ You can only delete second factor (aal2) credentials.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id ID is the session's ID.
- @return IdentityApiDisableSessionRequest
+ @return IdentityAPIDisableSessionRequest
*/
- DisableSession(ctx context.Context, id string) IdentityApiDisableSessionRequest
+ DisableSession(ctx context.Context, id string) IdentityAPIDisableSessionRequest
// DisableSessionExecute executes the request
- DisableSessionExecute(r IdentityApiDisableSessionRequest) (*http.Response, error)
+ DisableSessionExecute(r IdentityAPIDisableSessionRequest) (*http.Response, error)
/*
ExtendSession Extend a Session
@@ -158,13 +158,13 @@ Retrieve the session ID from the `/sessions/whoami` endpoint / `toSession` SDK m
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id ID is the session's ID.
- @return IdentityApiExtendSessionRequest
+ @return IdentityAPIExtendSessionRequest
*/
- ExtendSession(ctx context.Context, id string) IdentityApiExtendSessionRequest
+ ExtendSession(ctx context.Context, id string) IdentityAPIExtendSessionRequest
// ExtendSessionExecute executes the request
// @return Session
- ExtendSessionExecute(r IdentityApiExtendSessionRequest) (*Session, *http.Response, error)
+ ExtendSessionExecute(r IdentityAPIExtendSessionRequest) (*Session, *http.Response, error)
/*
GetIdentity Get an Identity
@@ -174,13 +174,13 @@ include credentials (e.g. social sign in connections) in the response by using t
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id ID must be set to the ID of identity you want to get
- @return IdentityApiGetIdentityRequest
+ @return IdentityAPIGetIdentityRequest
*/
- GetIdentity(ctx context.Context, id string) IdentityApiGetIdentityRequest
+ GetIdentity(ctx context.Context, id string) IdentityAPIGetIdentityRequest
// GetIdentityExecute executes the request
// @return Identity
- GetIdentityExecute(r IdentityApiGetIdentityRequest) (*Identity, *http.Response, error)
+ GetIdentityExecute(r IdentityAPIGetIdentityRequest) (*Identity, *http.Response, error)
/*
GetIdentitySchema Get Identity JSON Schema
@@ -189,13 +189,13 @@ include credentials (e.g. social sign in connections) in the response by using t
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id ID must be set to the ID of schema you want to get
- @return IdentityApiGetIdentitySchemaRequest
+ @return IdentityAPIGetIdentitySchemaRequest
*/
- GetIdentitySchema(ctx context.Context, id string) IdentityApiGetIdentitySchemaRequest
+ GetIdentitySchema(ctx context.Context, id string) IdentityAPIGetIdentitySchemaRequest
// GetIdentitySchemaExecute executes the request
// @return map[string]interface{}
- GetIdentitySchemaExecute(r IdentityApiGetIdentitySchemaRequest) (map[string]interface{}, *http.Response, error)
+ GetIdentitySchemaExecute(r IdentityAPIGetIdentitySchemaRequest) (map[string]interface{}, *http.Response, error)
/*
GetSession Get Session
@@ -206,13 +206,13 @@ Getting a session object with all specified expandables that exist in an adminis
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id ID is the session's ID.
- @return IdentityApiGetSessionRequest
+ @return IdentityAPIGetSessionRequest
*/
- GetSession(ctx context.Context, id string) IdentityApiGetSessionRequest
+ GetSession(ctx context.Context, id string) IdentityAPIGetSessionRequest
// GetSessionExecute executes the request
// @return Session
- GetSessionExecute(r IdentityApiGetSessionRequest) (*Session, *http.Response, error)
+ GetSessionExecute(r IdentityAPIGetSessionRequest) (*Session, *http.Response, error)
/*
ListIdentities List Identities
@@ -220,13 +220,13 @@ Getting a session object with all specified expandables that exist in an adminis
Lists all [identities](https://www.ory.sh/docs/kratos/concepts/identity-user-model) in the system.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return IdentityApiListIdentitiesRequest
+ @return IdentityAPIListIdentitiesRequest
*/
- ListIdentities(ctx context.Context) IdentityApiListIdentitiesRequest
+ ListIdentities(ctx context.Context) IdentityAPIListIdentitiesRequest
// ListIdentitiesExecute executes the request
// @return []Identity
- ListIdentitiesExecute(r IdentityApiListIdentitiesRequest) ([]Identity, *http.Response, error)
+ ListIdentitiesExecute(r IdentityAPIListIdentitiesRequest) ([]Identity, *http.Response, error)
/*
ListIdentitySchemas Get all Identity Schemas
@@ -234,13 +234,13 @@ Getting a session object with all specified expandables that exist in an adminis
Returns a list of all identity schemas currently in use.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return IdentityApiListIdentitySchemasRequest
+ @return IdentityAPIListIdentitySchemasRequest
*/
- ListIdentitySchemas(ctx context.Context) IdentityApiListIdentitySchemasRequest
+ ListIdentitySchemas(ctx context.Context) IdentityAPIListIdentitySchemasRequest
// ListIdentitySchemasExecute executes the request
// @return []IdentitySchemaContainer
- ListIdentitySchemasExecute(r IdentityApiListIdentitySchemasRequest) ([]IdentitySchemaContainer, *http.Response, error)
+ ListIdentitySchemasExecute(r IdentityAPIListIdentitySchemasRequest) ([]IdentitySchemaContainer, *http.Response, error)
/*
ListIdentitySessions List an Identity's Sessions
@@ -249,13 +249,13 @@ Getting a session object with all specified expandables that exist in an adminis
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id ID is the identity's ID.
- @return IdentityApiListIdentitySessionsRequest
+ @return IdentityAPIListIdentitySessionsRequest
*/
- ListIdentitySessions(ctx context.Context, id string) IdentityApiListIdentitySessionsRequest
+ ListIdentitySessions(ctx context.Context, id string) IdentityAPIListIdentitySessionsRequest
// ListIdentitySessionsExecute executes the request
// @return []Session
- ListIdentitySessionsExecute(r IdentityApiListIdentitySessionsRequest) ([]Session, *http.Response, error)
+ ListIdentitySessionsExecute(r IdentityAPIListIdentitySessionsRequest) ([]Session, *http.Response, error)
/*
ListSessions List All Sessions
@@ -263,13 +263,13 @@ Getting a session object with all specified expandables that exist in an adminis
Listing all sessions that exist.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return IdentityApiListSessionsRequest
+ @return IdentityAPIListSessionsRequest
*/
- ListSessions(ctx context.Context) IdentityApiListSessionsRequest
+ ListSessions(ctx context.Context) IdentityAPIListSessionsRequest
// ListSessionsExecute executes the request
// @return []Session
- ListSessionsExecute(r IdentityApiListSessionsRequest) ([]Session, *http.Response, error)
+ ListSessionsExecute(r IdentityAPIListSessionsRequest) ([]Session, *http.Response, error)
/*
PatchIdentity Patch an Identity
@@ -279,13 +279,13 @@ The fields `id`, `stateChangedAt` and `credentials` can not be updated using thi
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id ID must be set to the ID of identity you want to update
- @return IdentityApiPatchIdentityRequest
+ @return IdentityAPIPatchIdentityRequest
*/
- PatchIdentity(ctx context.Context, id string) IdentityApiPatchIdentityRequest
+ PatchIdentity(ctx context.Context, id string) IdentityAPIPatchIdentityRequest
// PatchIdentityExecute executes the request
// @return Identity
- PatchIdentityExecute(r IdentityApiPatchIdentityRequest) (*Identity, *http.Response, error)
+ PatchIdentityExecute(r IdentityAPIPatchIdentityRequest) (*Identity, *http.Response, error)
/*
UpdateIdentity Update an Identity
@@ -295,30 +295,30 @@ payload (except credentials) is expected. It is possible to update the identity'
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id ID must be set to the ID of identity you want to update
- @return IdentityApiUpdateIdentityRequest
+ @return IdentityAPIUpdateIdentityRequest
*/
- UpdateIdentity(ctx context.Context, id string) IdentityApiUpdateIdentityRequest
+ UpdateIdentity(ctx context.Context, id string) IdentityAPIUpdateIdentityRequest
// UpdateIdentityExecute executes the request
// @return Identity
- UpdateIdentityExecute(r IdentityApiUpdateIdentityRequest) (*Identity, *http.Response, error)
+ UpdateIdentityExecute(r IdentityAPIUpdateIdentityRequest) (*Identity, *http.Response, error)
}
-// IdentityApiService IdentityApi service
-type IdentityApiService service
+// IdentityAPIService IdentityAPI service
+type IdentityAPIService service
-type IdentityApiBatchPatchIdentitiesRequest struct {
+type IdentityAPIBatchPatchIdentitiesRequest struct {
ctx context.Context
- ApiService IdentityApi
+ ApiService IdentityAPI
patchIdentitiesBody *PatchIdentitiesBody
}
-func (r IdentityApiBatchPatchIdentitiesRequest) PatchIdentitiesBody(patchIdentitiesBody PatchIdentitiesBody) IdentityApiBatchPatchIdentitiesRequest {
+func (r IdentityAPIBatchPatchIdentitiesRequest) PatchIdentitiesBody(patchIdentitiesBody PatchIdentitiesBody) IdentityAPIBatchPatchIdentitiesRequest {
r.patchIdentitiesBody = &patchIdentitiesBody
return r
}
-func (r IdentityApiBatchPatchIdentitiesRequest) Execute() (*BatchPatchIdentitiesResponse, *http.Response, error) {
+func (r IdentityAPIBatchPatchIdentitiesRequest) Execute() (*BatchPatchIdentitiesResponse, *http.Response, error) {
return r.ApiService.BatchPatchIdentitiesExecute(r)
}
@@ -332,10 +332,10 @@ credentials](https://www.ory.sh/docs/kratos/manage-identities/import-user-accoun
for instance passwords, social sign in configurations or multifactor methods.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return IdentityApiBatchPatchIdentitiesRequest
+ @return IdentityAPIBatchPatchIdentitiesRequest
*/
-func (a *IdentityApiService) BatchPatchIdentities(ctx context.Context) IdentityApiBatchPatchIdentitiesRequest {
- return IdentityApiBatchPatchIdentitiesRequest{
+func (a *IdentityAPIService) BatchPatchIdentities(ctx context.Context) IdentityAPIBatchPatchIdentitiesRequest {
+ return IdentityAPIBatchPatchIdentitiesRequest{
ApiService: a,
ctx: ctx,
}
@@ -343,7 +343,7 @@ func (a *IdentityApiService) BatchPatchIdentities(ctx context.Context) IdentityA
// Execute executes the request
// @return BatchPatchIdentitiesResponse
-func (a *IdentityApiService) BatchPatchIdentitiesExecute(r IdentityApiBatchPatchIdentitiesRequest) (*BatchPatchIdentitiesResponse, *http.Response, error) {
+func (a *IdentityAPIService) BatchPatchIdentitiesExecute(r IdentityAPIBatchPatchIdentitiesRequest) (*BatchPatchIdentitiesResponse, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPatch
localVarPostBody interface{}
@@ -351,7 +351,7 @@ func (a *IdentityApiService) BatchPatchIdentitiesExecute(r IdentityApiBatchPatch
localVarReturnValue *BatchPatchIdentitiesResponse
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityApiService.BatchPatchIdentities")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityAPIService.BatchPatchIdentities")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -391,9 +391,9 @@ func (a *IdentityApiService) BatchPatchIdentitiesExecute(r IdentityApiBatchPatch
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -410,7 +410,8 @@ func (a *IdentityApiService) BatchPatchIdentitiesExecute(r IdentityApiBatchPatch
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 409 {
@@ -420,7 +421,8 @@ func (a *IdentityApiService) BatchPatchIdentitiesExecute(r IdentityApiBatchPatch
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -429,7 +431,8 @@ func (a *IdentityApiService) BatchPatchIdentitiesExecute(r IdentityApiBatchPatch
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -445,18 +448,18 @@ func (a *IdentityApiService) BatchPatchIdentitiesExecute(r IdentityApiBatchPatch
return localVarReturnValue, localVarHTTPResponse, nil
}
-type IdentityApiCreateIdentityRequest struct {
+type IdentityAPICreateIdentityRequest struct {
ctx context.Context
- ApiService IdentityApi
+ ApiService IdentityAPI
createIdentityBody *CreateIdentityBody
}
-func (r IdentityApiCreateIdentityRequest) CreateIdentityBody(createIdentityBody CreateIdentityBody) IdentityApiCreateIdentityRequest {
+func (r IdentityAPICreateIdentityRequest) CreateIdentityBody(createIdentityBody CreateIdentityBody) IdentityAPICreateIdentityRequest {
r.createIdentityBody = &createIdentityBody
return r
}
-func (r IdentityApiCreateIdentityRequest) Execute() (*Identity, *http.Response, error) {
+func (r IdentityAPICreateIdentityRequest) Execute() (*Identity, *http.Response, error) {
return r.ApiService.CreateIdentityExecute(r)
}
@@ -468,10 +471,10 @@ Create an [identity](https://www.ory.sh/docs/kratos/concepts/identity-user-model
for instance passwords, social sign in configurations or multifactor methods.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return IdentityApiCreateIdentityRequest
+ @return IdentityAPICreateIdentityRequest
*/
-func (a *IdentityApiService) CreateIdentity(ctx context.Context) IdentityApiCreateIdentityRequest {
- return IdentityApiCreateIdentityRequest{
+func (a *IdentityAPIService) CreateIdentity(ctx context.Context) IdentityAPICreateIdentityRequest {
+ return IdentityAPICreateIdentityRequest{
ApiService: a,
ctx: ctx,
}
@@ -479,7 +482,7 @@ func (a *IdentityApiService) CreateIdentity(ctx context.Context) IdentityApiCrea
// Execute executes the request
// @return Identity
-func (a *IdentityApiService) CreateIdentityExecute(r IdentityApiCreateIdentityRequest) (*Identity, *http.Response, error) {
+func (a *IdentityAPIService) CreateIdentityExecute(r IdentityAPICreateIdentityRequest) (*Identity, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
@@ -487,7 +490,7 @@ func (a *IdentityApiService) CreateIdentityExecute(r IdentityApiCreateIdentityRe
localVarReturnValue *Identity
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityApiService.CreateIdentity")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityAPIService.CreateIdentity")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -527,9 +530,9 @@ func (a *IdentityApiService) CreateIdentityExecute(r IdentityApiCreateIdentityRe
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -546,7 +549,8 @@ func (a *IdentityApiService) CreateIdentityExecute(r IdentityApiCreateIdentityRe
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 409 {
@@ -556,7 +560,8 @@ func (a *IdentityApiService) CreateIdentityExecute(r IdentityApiCreateIdentityRe
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -565,7 +570,8 @@ func (a *IdentityApiService) CreateIdentityExecute(r IdentityApiCreateIdentityRe
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -581,18 +587,18 @@ func (a *IdentityApiService) CreateIdentityExecute(r IdentityApiCreateIdentityRe
return localVarReturnValue, localVarHTTPResponse, nil
}
-type IdentityApiCreateRecoveryCodeForIdentityRequest struct {
+type IdentityAPICreateRecoveryCodeForIdentityRequest struct {
ctx context.Context
- ApiService IdentityApi
+ ApiService IdentityAPI
createRecoveryCodeForIdentityBody *CreateRecoveryCodeForIdentityBody
}
-func (r IdentityApiCreateRecoveryCodeForIdentityRequest) CreateRecoveryCodeForIdentityBody(createRecoveryCodeForIdentityBody CreateRecoveryCodeForIdentityBody) IdentityApiCreateRecoveryCodeForIdentityRequest {
+func (r IdentityAPICreateRecoveryCodeForIdentityRequest) CreateRecoveryCodeForIdentityBody(createRecoveryCodeForIdentityBody CreateRecoveryCodeForIdentityBody) IdentityAPICreateRecoveryCodeForIdentityRequest {
r.createRecoveryCodeForIdentityBody = &createRecoveryCodeForIdentityBody
return r
}
-func (r IdentityApiCreateRecoveryCodeForIdentityRequest) Execute() (*RecoveryCodeForIdentity, *http.Response, error) {
+func (r IdentityAPICreateRecoveryCodeForIdentityRequest) Execute() (*RecoveryCodeForIdentity, *http.Response, error) {
return r.ApiService.CreateRecoveryCodeForIdentityExecute(r)
}
@@ -603,10 +609,10 @@ This endpoint creates a recovery code which should be given to the user in order
(or activate) their account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return IdentityApiCreateRecoveryCodeForIdentityRequest
+ @return IdentityAPICreateRecoveryCodeForIdentityRequest
*/
-func (a *IdentityApiService) CreateRecoveryCodeForIdentity(ctx context.Context) IdentityApiCreateRecoveryCodeForIdentityRequest {
- return IdentityApiCreateRecoveryCodeForIdentityRequest{
+func (a *IdentityAPIService) CreateRecoveryCodeForIdentity(ctx context.Context) IdentityAPICreateRecoveryCodeForIdentityRequest {
+ return IdentityAPICreateRecoveryCodeForIdentityRequest{
ApiService: a,
ctx: ctx,
}
@@ -614,7 +620,7 @@ func (a *IdentityApiService) CreateRecoveryCodeForIdentity(ctx context.Context)
// Execute executes the request
// @return RecoveryCodeForIdentity
-func (a *IdentityApiService) CreateRecoveryCodeForIdentityExecute(r IdentityApiCreateRecoveryCodeForIdentityRequest) (*RecoveryCodeForIdentity, *http.Response, error) {
+func (a *IdentityAPIService) CreateRecoveryCodeForIdentityExecute(r IdentityAPICreateRecoveryCodeForIdentityRequest) (*RecoveryCodeForIdentity, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
@@ -622,7 +628,7 @@ func (a *IdentityApiService) CreateRecoveryCodeForIdentityExecute(r IdentityApiC
localVarReturnValue *RecoveryCodeForIdentity
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityApiService.CreateRecoveryCodeForIdentity")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityAPIService.CreateRecoveryCodeForIdentity")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -662,9 +668,9 @@ func (a *IdentityApiService) CreateRecoveryCodeForIdentityExecute(r IdentityApiC
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -681,7 +687,8 @@ func (a *IdentityApiService) CreateRecoveryCodeForIdentityExecute(r IdentityApiC
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 404 {
@@ -691,7 +698,8 @@ func (a *IdentityApiService) CreateRecoveryCodeForIdentityExecute(r IdentityApiC
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -700,7 +708,8 @@ func (a *IdentityApiService) CreateRecoveryCodeForIdentityExecute(r IdentityApiC
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -716,18 +725,18 @@ func (a *IdentityApiService) CreateRecoveryCodeForIdentityExecute(r IdentityApiC
return localVarReturnValue, localVarHTTPResponse, nil
}
-type IdentityApiCreateRecoveryLinkForIdentityRequest struct {
+type IdentityAPICreateRecoveryLinkForIdentityRequest struct {
ctx context.Context
- ApiService IdentityApi
+ ApiService IdentityAPI
createRecoveryLinkForIdentityBody *CreateRecoveryLinkForIdentityBody
}
-func (r IdentityApiCreateRecoveryLinkForIdentityRequest) CreateRecoveryLinkForIdentityBody(createRecoveryLinkForIdentityBody CreateRecoveryLinkForIdentityBody) IdentityApiCreateRecoveryLinkForIdentityRequest {
+func (r IdentityAPICreateRecoveryLinkForIdentityRequest) CreateRecoveryLinkForIdentityBody(createRecoveryLinkForIdentityBody CreateRecoveryLinkForIdentityBody) IdentityAPICreateRecoveryLinkForIdentityRequest {
r.createRecoveryLinkForIdentityBody = &createRecoveryLinkForIdentityBody
return r
}
-func (r IdentityApiCreateRecoveryLinkForIdentityRequest) Execute() (*RecoveryLinkForIdentity, *http.Response, error) {
+func (r IdentityAPICreateRecoveryLinkForIdentityRequest) Execute() (*RecoveryLinkForIdentity, *http.Response, error) {
return r.ApiService.CreateRecoveryLinkForIdentityExecute(r)
}
@@ -738,10 +747,10 @@ This endpoint creates a recovery link which should be given to the user in order
(or activate) their account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return IdentityApiCreateRecoveryLinkForIdentityRequest
+ @return IdentityAPICreateRecoveryLinkForIdentityRequest
*/
-func (a *IdentityApiService) CreateRecoveryLinkForIdentity(ctx context.Context) IdentityApiCreateRecoveryLinkForIdentityRequest {
- return IdentityApiCreateRecoveryLinkForIdentityRequest{
+func (a *IdentityAPIService) CreateRecoveryLinkForIdentity(ctx context.Context) IdentityAPICreateRecoveryLinkForIdentityRequest {
+ return IdentityAPICreateRecoveryLinkForIdentityRequest{
ApiService: a,
ctx: ctx,
}
@@ -749,7 +758,7 @@ func (a *IdentityApiService) CreateRecoveryLinkForIdentity(ctx context.Context)
// Execute executes the request
// @return RecoveryLinkForIdentity
-func (a *IdentityApiService) CreateRecoveryLinkForIdentityExecute(r IdentityApiCreateRecoveryLinkForIdentityRequest) (*RecoveryLinkForIdentity, *http.Response, error) {
+func (a *IdentityAPIService) CreateRecoveryLinkForIdentityExecute(r IdentityAPICreateRecoveryLinkForIdentityRequest) (*RecoveryLinkForIdentity, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
@@ -757,7 +766,7 @@ func (a *IdentityApiService) CreateRecoveryLinkForIdentityExecute(r IdentityApiC
localVarReturnValue *RecoveryLinkForIdentity
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityApiService.CreateRecoveryLinkForIdentity")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityAPIService.CreateRecoveryLinkForIdentity")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -797,9 +806,9 @@ func (a *IdentityApiService) CreateRecoveryLinkForIdentityExecute(r IdentityApiC
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -816,7 +825,8 @@ func (a *IdentityApiService) CreateRecoveryLinkForIdentityExecute(r IdentityApiC
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 404 {
@@ -826,7 +836,8 @@ func (a *IdentityApiService) CreateRecoveryLinkForIdentityExecute(r IdentityApiC
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -835,7 +846,8 @@ func (a *IdentityApiService) CreateRecoveryLinkForIdentityExecute(r IdentityApiC
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -851,13 +863,13 @@ func (a *IdentityApiService) CreateRecoveryLinkForIdentityExecute(r IdentityApiC
return localVarReturnValue, localVarHTTPResponse, nil
}
-type IdentityApiDeleteIdentityRequest struct {
+type IdentityAPIDeleteIdentityRequest struct {
ctx context.Context
- ApiService IdentityApi
+ ApiService IdentityAPI
id string
}
-func (r IdentityApiDeleteIdentityRequest) Execute() (*http.Response, error) {
+func (r IdentityAPIDeleteIdentityRequest) Execute() (*http.Response, error) {
return r.ApiService.DeleteIdentityExecute(r)
}
@@ -870,10 +882,10 @@ assumed that is has been deleted already.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id ID is the identity's ID.
- @return IdentityApiDeleteIdentityRequest
+ @return IdentityAPIDeleteIdentityRequest
*/
-func (a *IdentityApiService) DeleteIdentity(ctx context.Context, id string) IdentityApiDeleteIdentityRequest {
- return IdentityApiDeleteIdentityRequest{
+func (a *IdentityAPIService) DeleteIdentity(ctx context.Context, id string) IdentityAPIDeleteIdentityRequest {
+ return IdentityAPIDeleteIdentityRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -881,20 +893,20 @@ func (a *IdentityApiService) DeleteIdentity(ctx context.Context, id string) Iden
}
// Execute executes the request
-func (a *IdentityApiService) DeleteIdentityExecute(r IdentityApiDeleteIdentityRequest) (*http.Response, error) {
+func (a *IdentityAPIService) DeleteIdentityExecute(r IdentityAPIDeleteIdentityRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityApiService.DeleteIdentity")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityAPIService.DeleteIdentity")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/admin/identities/{id}"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -927,9 +939,9 @@ func (a *IdentityApiService) DeleteIdentityExecute(r IdentityApiDeleteIdentityRe
return localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarHTTPResponse, err
}
@@ -946,7 +958,8 @@ func (a *IdentityApiService) DeleteIdentityExecute(r IdentityApiDeleteIdentityRe
newErr.error = err.Error()
return localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -955,21 +968,22 @@ func (a *IdentityApiService) DeleteIdentityExecute(r IdentityApiDeleteIdentityRe
newErr.error = err.Error()
return localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarHTTPResponse, newErr
}
return localVarHTTPResponse, nil
}
-type IdentityApiDeleteIdentityCredentialsRequest struct {
+type IdentityAPIDeleteIdentityCredentialsRequest struct {
ctx context.Context
- ApiService IdentityApi
+ ApiService IdentityAPI
id string
type_ string
}
-func (r IdentityApiDeleteIdentityCredentialsRequest) Execute() (*http.Response, error) {
+func (r IdentityAPIDeleteIdentityCredentialsRequest) Execute() (*http.Response, error) {
return r.ApiService.DeleteIdentityCredentialsExecute(r)
}
@@ -982,10 +996,10 @@ You can only delete second factor (aal2) credentials.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id ID is the identity's ID.
@param type_ Type is the credential's Type. One of totp, webauthn, lookup
- @return IdentityApiDeleteIdentityCredentialsRequest
+ @return IdentityAPIDeleteIdentityCredentialsRequest
*/
-func (a *IdentityApiService) DeleteIdentityCredentials(ctx context.Context, id string, type_ string) IdentityApiDeleteIdentityCredentialsRequest {
- return IdentityApiDeleteIdentityCredentialsRequest{
+func (a *IdentityAPIService) DeleteIdentityCredentials(ctx context.Context, id string, type_ string) IdentityAPIDeleteIdentityCredentialsRequest {
+ return IdentityAPIDeleteIdentityCredentialsRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -994,21 +1008,21 @@ func (a *IdentityApiService) DeleteIdentityCredentials(ctx context.Context, id s
}
// Execute executes the request
-func (a *IdentityApiService) DeleteIdentityCredentialsExecute(r IdentityApiDeleteIdentityCredentialsRequest) (*http.Response, error) {
+func (a *IdentityAPIService) DeleteIdentityCredentialsExecute(r IdentityAPIDeleteIdentityCredentialsRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityApiService.DeleteIdentityCredentials")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityAPIService.DeleteIdentityCredentials")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/admin/identities/{id}/credentials/{type}"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1)
- localVarPath = strings.Replace(localVarPath, "{"+"type"+"}", url.PathEscape(parameterToString(r.type_, "")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"type"+"}", url.PathEscape(parameterValueToString(r.type_, "type_")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -1041,9 +1055,9 @@ func (a *IdentityApiService) DeleteIdentityCredentialsExecute(r IdentityApiDelet
return localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarHTTPResponse, err
}
@@ -1060,7 +1074,8 @@ func (a *IdentityApiService) DeleteIdentityCredentialsExecute(r IdentityApiDelet
newErr.error = err.Error()
return localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -1069,20 +1084,21 @@ func (a *IdentityApiService) DeleteIdentityCredentialsExecute(r IdentityApiDelet
newErr.error = err.Error()
return localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarHTTPResponse, newErr
}
return localVarHTTPResponse, nil
}
-type IdentityApiDeleteIdentitySessionsRequest struct {
+type IdentityAPIDeleteIdentitySessionsRequest struct {
ctx context.Context
- ApiService IdentityApi
+ ApiService IdentityAPI
id string
}
-func (r IdentityApiDeleteIdentitySessionsRequest) Execute() (*http.Response, error) {
+func (r IdentityAPIDeleteIdentitySessionsRequest) Execute() (*http.Response, error) {
return r.ApiService.DeleteIdentitySessionsExecute(r)
}
@@ -1093,10 +1109,10 @@ Calling this endpoint irrecoverably and permanently deletes and invalidates all
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id ID is the identity's ID.
- @return IdentityApiDeleteIdentitySessionsRequest
+ @return IdentityAPIDeleteIdentitySessionsRequest
*/
-func (a *IdentityApiService) DeleteIdentitySessions(ctx context.Context, id string) IdentityApiDeleteIdentitySessionsRequest {
- return IdentityApiDeleteIdentitySessionsRequest{
+func (a *IdentityAPIService) DeleteIdentitySessions(ctx context.Context, id string) IdentityAPIDeleteIdentitySessionsRequest {
+ return IdentityAPIDeleteIdentitySessionsRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -1104,20 +1120,20 @@ func (a *IdentityApiService) DeleteIdentitySessions(ctx context.Context, id stri
}
// Execute executes the request
-func (a *IdentityApiService) DeleteIdentitySessionsExecute(r IdentityApiDeleteIdentitySessionsRequest) (*http.Response, error) {
+func (a *IdentityAPIService) DeleteIdentitySessionsExecute(r IdentityAPIDeleteIdentitySessionsRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityApiService.DeleteIdentitySessions")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityAPIService.DeleteIdentitySessions")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/admin/identities/{id}/sessions"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -1150,9 +1166,9 @@ func (a *IdentityApiService) DeleteIdentitySessionsExecute(r IdentityApiDeleteId
return localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarHTTPResponse, err
}
@@ -1169,7 +1185,8 @@ func (a *IdentityApiService) DeleteIdentitySessionsExecute(r IdentityApiDeleteId
newErr.error = err.Error()
return localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 401 {
@@ -1179,7 +1196,8 @@ func (a *IdentityApiService) DeleteIdentitySessionsExecute(r IdentityApiDeleteId
newErr.error = err.Error()
return localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 404 {
@@ -1189,7 +1207,8 @@ func (a *IdentityApiService) DeleteIdentitySessionsExecute(r IdentityApiDeleteId
newErr.error = err.Error()
return localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -1198,20 +1217,21 @@ func (a *IdentityApiService) DeleteIdentitySessionsExecute(r IdentityApiDeleteId
newErr.error = err.Error()
return localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarHTTPResponse, newErr
}
return localVarHTTPResponse, nil
}
-type IdentityApiDisableSessionRequest struct {
+type IdentityAPIDisableSessionRequest struct {
ctx context.Context
- ApiService IdentityApi
+ ApiService IdentityAPI
id string
}
-func (r IdentityApiDisableSessionRequest) Execute() (*http.Response, error) {
+func (r IdentityAPIDisableSessionRequest) Execute() (*http.Response, error) {
return r.ApiService.DisableSessionExecute(r)
}
@@ -1222,10 +1242,10 @@ Calling this endpoint deactivates the specified session. Session data is not del
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id ID is the session's ID.
- @return IdentityApiDisableSessionRequest
+ @return IdentityAPIDisableSessionRequest
*/
-func (a *IdentityApiService) DisableSession(ctx context.Context, id string) IdentityApiDisableSessionRequest {
- return IdentityApiDisableSessionRequest{
+func (a *IdentityAPIService) DisableSession(ctx context.Context, id string) IdentityAPIDisableSessionRequest {
+ return IdentityAPIDisableSessionRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -1233,20 +1253,20 @@ func (a *IdentityApiService) DisableSession(ctx context.Context, id string) Iden
}
// Execute executes the request
-func (a *IdentityApiService) DisableSessionExecute(r IdentityApiDisableSessionRequest) (*http.Response, error) {
+func (a *IdentityAPIService) DisableSessionExecute(r IdentityAPIDisableSessionRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityApiService.DisableSession")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityAPIService.DisableSession")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/admin/sessions/{id}"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -1279,9 +1299,9 @@ func (a *IdentityApiService) DisableSessionExecute(r IdentityApiDisableSessionRe
return localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarHTTPResponse, err
}
@@ -1298,7 +1318,8 @@ func (a *IdentityApiService) DisableSessionExecute(r IdentityApiDisableSessionRe
newErr.error = err.Error()
return localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 401 {
@@ -1308,7 +1329,8 @@ func (a *IdentityApiService) DisableSessionExecute(r IdentityApiDisableSessionRe
newErr.error = err.Error()
return localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -1317,20 +1339,21 @@ func (a *IdentityApiService) DisableSessionExecute(r IdentityApiDisableSessionRe
newErr.error = err.Error()
return localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarHTTPResponse, newErr
}
return localVarHTTPResponse, nil
}
-type IdentityApiExtendSessionRequest struct {
+type IdentityAPIExtendSessionRequest struct {
ctx context.Context
- ApiService IdentityApi
+ ApiService IdentityAPI
id string
}
-func (r IdentityApiExtendSessionRequest) Execute() (*Session, *http.Response, error) {
+func (r IdentityAPIExtendSessionRequest) Execute() (*Session, *http.Response, error) {
return r.ApiService.ExtendSessionExecute(r)
}
@@ -1344,10 +1367,10 @@ Retrieve the session ID from the `/sessions/whoami` endpoint / `toSession` SDK m
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id ID is the session's ID.
- @return IdentityApiExtendSessionRequest
+ @return IdentityAPIExtendSessionRequest
*/
-func (a *IdentityApiService) ExtendSession(ctx context.Context, id string) IdentityApiExtendSessionRequest {
- return IdentityApiExtendSessionRequest{
+func (a *IdentityAPIService) ExtendSession(ctx context.Context, id string) IdentityAPIExtendSessionRequest {
+ return IdentityAPIExtendSessionRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -1356,7 +1379,7 @@ func (a *IdentityApiService) ExtendSession(ctx context.Context, id string) Ident
// Execute executes the request
// @return Session
-func (a *IdentityApiService) ExtendSessionExecute(r IdentityApiExtendSessionRequest) (*Session, *http.Response, error) {
+func (a *IdentityAPIService) ExtendSessionExecute(r IdentityAPIExtendSessionRequest) (*Session, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPatch
localVarPostBody interface{}
@@ -1364,13 +1387,13 @@ func (a *IdentityApiService) ExtendSessionExecute(r IdentityApiExtendSessionRequ
localVarReturnValue *Session
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityApiService.ExtendSession")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityAPIService.ExtendSession")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/admin/sessions/{id}/extend"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -1403,9 +1426,9 @@ func (a *IdentityApiService) ExtendSessionExecute(r IdentityApiExtendSessionRequ
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -1422,7 +1445,8 @@ func (a *IdentityApiService) ExtendSessionExecute(r IdentityApiExtendSessionRequ
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 404 {
@@ -1432,7 +1456,8 @@ func (a *IdentityApiService) ExtendSessionExecute(r IdentityApiExtendSessionRequ
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -1441,7 +1466,8 @@ func (a *IdentityApiService) ExtendSessionExecute(r IdentityApiExtendSessionRequ
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -1457,20 +1483,20 @@ func (a *IdentityApiService) ExtendSessionExecute(r IdentityApiExtendSessionRequ
return localVarReturnValue, localVarHTTPResponse, nil
}
-type IdentityApiGetIdentityRequest struct {
+type IdentityAPIGetIdentityRequest struct {
ctx context.Context
- ApiService IdentityApi
+ ApiService IdentityAPI
id string
includeCredential *[]string
}
// Include Credentials in Response Include any credential, for example `password` or `oidc`, in the response. When set to `oidc`, This will return the initial OAuth 2.0 Access Token, OAuth 2.0 Refresh Token and the OpenID Connect ID Token if available.
-func (r IdentityApiGetIdentityRequest) IncludeCredential(includeCredential []string) IdentityApiGetIdentityRequest {
+func (r IdentityAPIGetIdentityRequest) IncludeCredential(includeCredential []string) IdentityAPIGetIdentityRequest {
r.includeCredential = &includeCredential
return r
}
-func (r IdentityApiGetIdentityRequest) Execute() (*Identity, *http.Response, error) {
+func (r IdentityAPIGetIdentityRequest) Execute() (*Identity, *http.Response, error) {
return r.ApiService.GetIdentityExecute(r)
}
@@ -1482,10 +1508,10 @@ include credentials (e.g. social sign in connections) in the response by using t
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id ID must be set to the ID of identity you want to get
- @return IdentityApiGetIdentityRequest
+ @return IdentityAPIGetIdentityRequest
*/
-func (a *IdentityApiService) GetIdentity(ctx context.Context, id string) IdentityApiGetIdentityRequest {
- return IdentityApiGetIdentityRequest{
+func (a *IdentityAPIService) GetIdentity(ctx context.Context, id string) IdentityAPIGetIdentityRequest {
+ return IdentityAPIGetIdentityRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -1494,7 +1520,7 @@ func (a *IdentityApiService) GetIdentity(ctx context.Context, id string) Identit
// Execute executes the request
// @return Identity
-func (a *IdentityApiService) GetIdentityExecute(r IdentityApiGetIdentityRequest) (*Identity, *http.Response, error) {
+func (a *IdentityAPIService) GetIdentityExecute(r IdentityAPIGetIdentityRequest) (*Identity, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -1502,13 +1528,13 @@ func (a *IdentityApiService) GetIdentityExecute(r IdentityApiGetIdentityRequest)
localVarReturnValue *Identity
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityApiService.GetIdentity")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityAPIService.GetIdentity")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/admin/identities/{id}"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -1519,10 +1545,10 @@ func (a *IdentityApiService) GetIdentityExecute(r IdentityApiGetIdentityRequest)
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- localVarQueryParams.Add("include_credential", parameterToString(s.Index(i), "multi"))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "include_credential", s.Index(i).Interface(), "multi")
}
} else {
- localVarQueryParams.Add("include_credential", parameterToString(t, "multi"))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "include_credential", t, "multi")
}
}
// to determine the Content-Type header
@@ -1552,9 +1578,9 @@ func (a *IdentityApiService) GetIdentityExecute(r IdentityApiGetIdentityRequest)
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -1571,7 +1597,8 @@ func (a *IdentityApiService) GetIdentityExecute(r IdentityApiGetIdentityRequest)
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -1580,7 +1607,8 @@ func (a *IdentityApiService) GetIdentityExecute(r IdentityApiGetIdentityRequest)
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -1596,13 +1624,13 @@ func (a *IdentityApiService) GetIdentityExecute(r IdentityApiGetIdentityRequest)
return localVarReturnValue, localVarHTTPResponse, nil
}
-type IdentityApiGetIdentitySchemaRequest struct {
+type IdentityAPIGetIdentitySchemaRequest struct {
ctx context.Context
- ApiService IdentityApi
+ ApiService IdentityAPI
id string
}
-func (r IdentityApiGetIdentitySchemaRequest) Execute() (map[string]interface{}, *http.Response, error) {
+func (r IdentityAPIGetIdentitySchemaRequest) Execute() (map[string]interface{}, *http.Response, error) {
return r.ApiService.GetIdentitySchemaExecute(r)
}
@@ -1613,10 +1641,10 @@ Return a specific identity schema.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id ID must be set to the ID of schema you want to get
- @return IdentityApiGetIdentitySchemaRequest
+ @return IdentityAPIGetIdentitySchemaRequest
*/
-func (a *IdentityApiService) GetIdentitySchema(ctx context.Context, id string) IdentityApiGetIdentitySchemaRequest {
- return IdentityApiGetIdentitySchemaRequest{
+func (a *IdentityAPIService) GetIdentitySchema(ctx context.Context, id string) IdentityAPIGetIdentitySchemaRequest {
+ return IdentityAPIGetIdentitySchemaRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -1625,7 +1653,7 @@ func (a *IdentityApiService) GetIdentitySchema(ctx context.Context, id string) I
// Execute executes the request
// @return map[string]interface{}
-func (a *IdentityApiService) GetIdentitySchemaExecute(r IdentityApiGetIdentitySchemaRequest) (map[string]interface{}, *http.Response, error) {
+func (a *IdentityAPIService) GetIdentitySchemaExecute(r IdentityAPIGetIdentitySchemaRequest) (map[string]interface{}, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -1633,13 +1661,13 @@ func (a *IdentityApiService) GetIdentitySchemaExecute(r IdentityApiGetIdentitySc
localVarReturnValue map[string]interface{}
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityApiService.GetIdentitySchema")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityAPIService.GetIdentitySchema")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/schemas/{id}"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -1672,9 +1700,9 @@ func (a *IdentityApiService) GetIdentitySchemaExecute(r IdentityApiGetIdentitySc
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -1691,7 +1719,8 @@ func (a *IdentityApiService) GetIdentitySchemaExecute(r IdentityApiGetIdentitySc
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -1700,7 +1729,8 @@ func (a *IdentityApiService) GetIdentitySchemaExecute(r IdentityApiGetIdentitySc
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -1716,20 +1746,20 @@ func (a *IdentityApiService) GetIdentitySchemaExecute(r IdentityApiGetIdentitySc
return localVarReturnValue, localVarHTTPResponse, nil
}
-type IdentityApiGetSessionRequest struct {
+type IdentityAPIGetSessionRequest struct {
ctx context.Context
- ApiService IdentityApi
+ ApiService IdentityAPI
id string
expand *[]string
}
// ExpandOptions is a query parameter encoded list of all properties that must be expanded in the Session. Example - ?expand=Identity&expand=Devices If no value is provided, the expandable properties are skipped.
-func (r IdentityApiGetSessionRequest) Expand(expand []string) IdentityApiGetSessionRequest {
+func (r IdentityAPIGetSessionRequest) Expand(expand []string) IdentityAPIGetSessionRequest {
r.expand = &expand
return r
}
-func (r IdentityApiGetSessionRequest) Execute() (*Session, *http.Response, error) {
+func (r IdentityAPIGetSessionRequest) Execute() (*Session, *http.Response, error) {
return r.ApiService.GetSessionExecute(r)
}
@@ -1742,10 +1772,10 @@ Getting a session object with all specified expandables that exist in an adminis
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id ID is the session's ID.
- @return IdentityApiGetSessionRequest
+ @return IdentityAPIGetSessionRequest
*/
-func (a *IdentityApiService) GetSession(ctx context.Context, id string) IdentityApiGetSessionRequest {
- return IdentityApiGetSessionRequest{
+func (a *IdentityAPIService) GetSession(ctx context.Context, id string) IdentityAPIGetSessionRequest {
+ return IdentityAPIGetSessionRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -1754,7 +1784,7 @@ func (a *IdentityApiService) GetSession(ctx context.Context, id string) Identity
// Execute executes the request
// @return Session
-func (a *IdentityApiService) GetSessionExecute(r IdentityApiGetSessionRequest) (*Session, *http.Response, error) {
+func (a *IdentityAPIService) GetSessionExecute(r IdentityAPIGetSessionRequest) (*Session, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -1762,13 +1792,13 @@ func (a *IdentityApiService) GetSessionExecute(r IdentityApiGetSessionRequest) (
localVarReturnValue *Session
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityApiService.GetSession")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityAPIService.GetSession")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/admin/sessions/{id}"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -1779,10 +1809,10 @@ func (a *IdentityApiService) GetSessionExecute(r IdentityApiGetSessionRequest) (
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- localVarQueryParams.Add("expand", parameterToString(s.Index(i), "multi"))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "expand", s.Index(i).Interface(), "multi")
}
} else {
- localVarQueryParams.Add("expand", parameterToString(t, "multi"))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "expand", t, "multi")
}
}
// to determine the Content-Type header
@@ -1812,9 +1842,9 @@ func (a *IdentityApiService) GetSessionExecute(r IdentityApiGetSessionRequest) (
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -1831,7 +1861,8 @@ func (a *IdentityApiService) GetSessionExecute(r IdentityApiGetSessionRequest) (
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -1840,7 +1871,8 @@ func (a *IdentityApiService) GetSessionExecute(r IdentityApiGetSessionRequest) (
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -1856,9 +1888,9 @@ func (a *IdentityApiService) GetSessionExecute(r IdentityApiGetSessionRequest) (
return localVarReturnValue, localVarHTTPResponse, nil
}
-type IdentityApiListIdentitiesRequest struct {
+type IdentityAPIListIdentitiesRequest struct {
ctx context.Context
- ApiService IdentityApi
+ ApiService IdentityAPI
perPage *int64
page *int64
pageSize *int64
@@ -1869,48 +1901,48 @@ type IdentityApiListIdentitiesRequest struct {
}
// Deprecated Items per Page DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future. This is the number of items per page.
-func (r IdentityApiListIdentitiesRequest) PerPage(perPage int64) IdentityApiListIdentitiesRequest {
+func (r IdentityAPIListIdentitiesRequest) PerPage(perPage int64) IdentityAPIListIdentitiesRequest {
r.perPage = &perPage
return r
}
// Deprecated Pagination Page DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future. This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. The first page can be retrieved by omitting this parameter. Following page pointers will be returned in the `Link` header.
-func (r IdentityApiListIdentitiesRequest) Page(page int64) IdentityApiListIdentitiesRequest {
+func (r IdentityAPIListIdentitiesRequest) Page(page int64) IdentityAPIListIdentitiesRequest {
r.page = &page
return r
}
// Page Size This is the number of items per page to return. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
-func (r IdentityApiListIdentitiesRequest) PageSize(pageSize int64) IdentityApiListIdentitiesRequest {
+func (r IdentityAPIListIdentitiesRequest) PageSize(pageSize int64) IdentityAPIListIdentitiesRequest {
r.pageSize = &pageSize
return r
}
// Next Page Token The next page token. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
-func (r IdentityApiListIdentitiesRequest) PageToken(pageToken string) IdentityApiListIdentitiesRequest {
+func (r IdentityAPIListIdentitiesRequest) PageToken(pageToken string) IdentityAPIListIdentitiesRequest {
r.pageToken = &pageToken
return r
}
// Read Consistency Level (preview) The read consistency level determines the consistency guarantee for reads: strong (slow): The read is guaranteed to return the most recent data committed at the start of the read. eventual (very fast): The result will return data that is about 4.8 seconds old. The default consistency guarantee can be changed in the Ory Network Console or using the Ory CLI with `ory patch project --replace '/previews/default_read_consistency_level=\"strong\"'`. Setting the default consistency level to `eventual` may cause regressions in the future as we add consistency controls to more APIs. Currently, the following APIs will be affected by this setting: `GET /admin/identities` This feature is in preview and only available in Ory Network. ConsistencyLevelUnset ConsistencyLevelUnset is the unset / default consistency level. strong ConsistencyLevelStrong ConsistencyLevelStrong is the strong consistency level. eventual ConsistencyLevelEventual ConsistencyLevelEventual is the eventual consistency level using follower read timestamps.
-func (r IdentityApiListIdentitiesRequest) Consistency(consistency string) IdentityApiListIdentitiesRequest {
+func (r IdentityAPIListIdentitiesRequest) Consistency(consistency string) IdentityAPIListIdentitiesRequest {
r.consistency = &consistency
return r
}
// CredentialsIdentifier is the identifier (username, email) of the credentials to look up using exact match. Only one of CredentialsIdentifier and CredentialsIdentifierSimilar can be used.
-func (r IdentityApiListIdentitiesRequest) CredentialsIdentifier(credentialsIdentifier string) IdentityApiListIdentitiesRequest {
+func (r IdentityAPIListIdentitiesRequest) CredentialsIdentifier(credentialsIdentifier string) IdentityAPIListIdentitiesRequest {
r.credentialsIdentifier = &credentialsIdentifier
return r
}
// This is an EXPERIMENTAL parameter that WILL CHANGE. Do NOT rely on consistent, deterministic behavior. THIS PARAMETER WILL BE REMOVED IN AN UPCOMING RELEASE WITHOUT ANY MIGRATION PATH. CredentialsIdentifierSimilar is the (partial) identifier (username, email) of the credentials to look up using similarity search. Only one of CredentialsIdentifier and CredentialsIdentifierSimilar can be used.
-func (r IdentityApiListIdentitiesRequest) PreviewCredentialsIdentifierSimilar(previewCredentialsIdentifierSimilar string) IdentityApiListIdentitiesRequest {
+func (r IdentityAPIListIdentitiesRequest) PreviewCredentialsIdentifierSimilar(previewCredentialsIdentifierSimilar string) IdentityAPIListIdentitiesRequest {
r.previewCredentialsIdentifierSimilar = &previewCredentialsIdentifierSimilar
return r
}
-func (r IdentityApiListIdentitiesRequest) Execute() ([]Identity, *http.Response, error) {
+func (r IdentityAPIListIdentitiesRequest) Execute() ([]Identity, *http.Response, error) {
return r.ApiService.ListIdentitiesExecute(r)
}
@@ -1920,10 +1952,10 @@ ListIdentities List Identities
Lists all [identities](https://www.ory.sh/docs/kratos/concepts/identity-user-model) in the system.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return IdentityApiListIdentitiesRequest
+ @return IdentityAPIListIdentitiesRequest
*/
-func (a *IdentityApiService) ListIdentities(ctx context.Context) IdentityApiListIdentitiesRequest {
- return IdentityApiListIdentitiesRequest{
+func (a *IdentityAPIService) ListIdentities(ctx context.Context) IdentityAPIListIdentitiesRequest {
+ return IdentityAPIListIdentitiesRequest{
ApiService: a,
ctx: ctx,
}
@@ -1931,7 +1963,7 @@ func (a *IdentityApiService) ListIdentities(ctx context.Context) IdentityApiList
// Execute executes the request
// @return []Identity
-func (a *IdentityApiService) ListIdentitiesExecute(r IdentityApiListIdentitiesRequest) ([]Identity, *http.Response, error) {
+func (a *IdentityAPIService) ListIdentitiesExecute(r IdentityAPIListIdentitiesRequest) ([]Identity, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -1939,7 +1971,7 @@ func (a *IdentityApiService) ListIdentitiesExecute(r IdentityApiListIdentitiesRe
localVarReturnValue []Identity
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityApiService.ListIdentities")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityAPIService.ListIdentities")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -1951,25 +1983,34 @@ func (a *IdentityApiService) ListIdentitiesExecute(r IdentityApiListIdentitiesRe
localVarFormParams := url.Values{}
if r.perPage != nil {
- localVarQueryParams.Add("per_page", parameterToString(*r.perPage, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "per_page", r.perPage, "")
+ } else {
+ var defaultValue int64 = 250
+ r.perPage = &defaultValue
}
if r.page != nil {
- localVarQueryParams.Add("page", parameterToString(*r.page, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "page", r.page, "")
}
if r.pageSize != nil {
- localVarQueryParams.Add("page_size", parameterToString(*r.pageSize, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "page_size", r.pageSize, "")
+ } else {
+ var defaultValue int64 = 250
+ r.pageSize = &defaultValue
}
if r.pageToken != nil {
- localVarQueryParams.Add("page_token", parameterToString(*r.pageToken, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "page_token", r.pageToken, "")
+ } else {
+ var defaultValue string = "1"
+ r.pageToken = &defaultValue
}
if r.consistency != nil {
- localVarQueryParams.Add("consistency", parameterToString(*r.consistency, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "consistency", r.consistency, "")
}
if r.credentialsIdentifier != nil {
- localVarQueryParams.Add("credentials_identifier", parameterToString(*r.credentialsIdentifier, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "credentials_identifier", r.credentialsIdentifier, "")
}
if r.previewCredentialsIdentifierSimilar != nil {
- localVarQueryParams.Add("preview_credentials_identifier_similar", parameterToString(*r.previewCredentialsIdentifierSimilar, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "preview_credentials_identifier_similar", r.previewCredentialsIdentifierSimilar, "")
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -1998,9 +2039,9 @@ func (a *IdentityApiService) ListIdentitiesExecute(r IdentityApiListIdentitiesRe
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -2016,7 +2057,8 @@ func (a *IdentityApiService) ListIdentitiesExecute(r IdentityApiListIdentitiesRe
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -2032,9 +2074,9 @@ func (a *IdentityApiService) ListIdentitiesExecute(r IdentityApiListIdentitiesRe
return localVarReturnValue, localVarHTTPResponse, nil
}
-type IdentityApiListIdentitySchemasRequest struct {
+type IdentityAPIListIdentitySchemasRequest struct {
ctx context.Context
- ApiService IdentityApi
+ ApiService IdentityAPI
perPage *int64
page *int64
pageSize *int64
@@ -2042,30 +2084,30 @@ type IdentityApiListIdentitySchemasRequest struct {
}
// Deprecated Items per Page DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future. This is the number of items per page.
-func (r IdentityApiListIdentitySchemasRequest) PerPage(perPage int64) IdentityApiListIdentitySchemasRequest {
+func (r IdentityAPIListIdentitySchemasRequest) PerPage(perPage int64) IdentityAPIListIdentitySchemasRequest {
r.perPage = &perPage
return r
}
// Deprecated Pagination Page DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future. This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. The first page can be retrieved by omitting this parameter. Following page pointers will be returned in the `Link` header.
-func (r IdentityApiListIdentitySchemasRequest) Page(page int64) IdentityApiListIdentitySchemasRequest {
+func (r IdentityAPIListIdentitySchemasRequest) Page(page int64) IdentityAPIListIdentitySchemasRequest {
r.page = &page
return r
}
// Page Size This is the number of items per page to return. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
-func (r IdentityApiListIdentitySchemasRequest) PageSize(pageSize int64) IdentityApiListIdentitySchemasRequest {
+func (r IdentityAPIListIdentitySchemasRequest) PageSize(pageSize int64) IdentityAPIListIdentitySchemasRequest {
r.pageSize = &pageSize
return r
}
// Next Page Token The next page token. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
-func (r IdentityApiListIdentitySchemasRequest) PageToken(pageToken string) IdentityApiListIdentitySchemasRequest {
+func (r IdentityAPIListIdentitySchemasRequest) PageToken(pageToken string) IdentityAPIListIdentitySchemasRequest {
r.pageToken = &pageToken
return r
}
-func (r IdentityApiListIdentitySchemasRequest) Execute() ([]IdentitySchemaContainer, *http.Response, error) {
+func (r IdentityAPIListIdentitySchemasRequest) Execute() ([]IdentitySchemaContainer, *http.Response, error) {
return r.ApiService.ListIdentitySchemasExecute(r)
}
@@ -2075,10 +2117,10 @@ ListIdentitySchemas Get all Identity Schemas
Returns a list of all identity schemas currently in use.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return IdentityApiListIdentitySchemasRequest
+ @return IdentityAPIListIdentitySchemasRequest
*/
-func (a *IdentityApiService) ListIdentitySchemas(ctx context.Context) IdentityApiListIdentitySchemasRequest {
- return IdentityApiListIdentitySchemasRequest{
+func (a *IdentityAPIService) ListIdentitySchemas(ctx context.Context) IdentityAPIListIdentitySchemasRequest {
+ return IdentityAPIListIdentitySchemasRequest{
ApiService: a,
ctx: ctx,
}
@@ -2086,7 +2128,7 @@ func (a *IdentityApiService) ListIdentitySchemas(ctx context.Context) IdentityAp
// Execute executes the request
// @return []IdentitySchemaContainer
-func (a *IdentityApiService) ListIdentitySchemasExecute(r IdentityApiListIdentitySchemasRequest) ([]IdentitySchemaContainer, *http.Response, error) {
+func (a *IdentityAPIService) ListIdentitySchemasExecute(r IdentityAPIListIdentitySchemasRequest) ([]IdentitySchemaContainer, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -2094,7 +2136,7 @@ func (a *IdentityApiService) ListIdentitySchemasExecute(r IdentityApiListIdentit
localVarReturnValue []IdentitySchemaContainer
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityApiService.ListIdentitySchemas")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityAPIService.ListIdentitySchemas")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -2106,16 +2148,25 @@ func (a *IdentityApiService) ListIdentitySchemasExecute(r IdentityApiListIdentit
localVarFormParams := url.Values{}
if r.perPage != nil {
- localVarQueryParams.Add("per_page", parameterToString(*r.perPage, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "per_page", r.perPage, "")
+ } else {
+ var defaultValue int64 = 250
+ r.perPage = &defaultValue
}
if r.page != nil {
- localVarQueryParams.Add("page", parameterToString(*r.page, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "page", r.page, "")
}
if r.pageSize != nil {
- localVarQueryParams.Add("page_size", parameterToString(*r.pageSize, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "page_size", r.pageSize, "")
+ } else {
+ var defaultValue int64 = 250
+ r.pageSize = &defaultValue
}
if r.pageToken != nil {
- localVarQueryParams.Add("page_token", parameterToString(*r.pageToken, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "page_token", r.pageToken, "")
+ } else {
+ var defaultValue string = "1"
+ r.pageToken = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -2144,9 +2195,9 @@ func (a *IdentityApiService) ListIdentitySchemasExecute(r IdentityApiListIdentit
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -2162,7 +2213,8 @@ func (a *IdentityApiService) ListIdentitySchemasExecute(r IdentityApiListIdentit
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -2178,9 +2230,9 @@ func (a *IdentityApiService) ListIdentitySchemasExecute(r IdentityApiListIdentit
return localVarReturnValue, localVarHTTPResponse, nil
}
-type IdentityApiListIdentitySessionsRequest struct {
+type IdentityAPIListIdentitySessionsRequest struct {
ctx context.Context
- ApiService IdentityApi
+ ApiService IdentityAPI
id string
perPage *int64
page *int64
@@ -2190,36 +2242,36 @@ type IdentityApiListIdentitySessionsRequest struct {
}
// Deprecated Items per Page DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future. This is the number of items per page.
-func (r IdentityApiListIdentitySessionsRequest) PerPage(perPage int64) IdentityApiListIdentitySessionsRequest {
+func (r IdentityAPIListIdentitySessionsRequest) PerPage(perPage int64) IdentityAPIListIdentitySessionsRequest {
r.perPage = &perPage
return r
}
// Deprecated Pagination Page DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future. This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. The first page can be retrieved by omitting this parameter. Following page pointers will be returned in the `Link` header.
-func (r IdentityApiListIdentitySessionsRequest) Page(page int64) IdentityApiListIdentitySessionsRequest {
+func (r IdentityAPIListIdentitySessionsRequest) Page(page int64) IdentityAPIListIdentitySessionsRequest {
r.page = &page
return r
}
// Page Size This is the number of items per page to return. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
-func (r IdentityApiListIdentitySessionsRequest) PageSize(pageSize int64) IdentityApiListIdentitySessionsRequest {
+func (r IdentityAPIListIdentitySessionsRequest) PageSize(pageSize int64) IdentityAPIListIdentitySessionsRequest {
r.pageSize = &pageSize
return r
}
// Next Page Token The next page token. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
-func (r IdentityApiListIdentitySessionsRequest) PageToken(pageToken string) IdentityApiListIdentitySessionsRequest {
+func (r IdentityAPIListIdentitySessionsRequest) PageToken(pageToken string) IdentityAPIListIdentitySessionsRequest {
r.pageToken = &pageToken
return r
}
// Active is a boolean flag that filters out sessions based on the state. If no value is provided, all sessions are returned.
-func (r IdentityApiListIdentitySessionsRequest) Active(active bool) IdentityApiListIdentitySessionsRequest {
+func (r IdentityAPIListIdentitySessionsRequest) Active(active bool) IdentityAPIListIdentitySessionsRequest {
r.active = &active
return r
}
-func (r IdentityApiListIdentitySessionsRequest) Execute() ([]Session, *http.Response, error) {
+func (r IdentityAPIListIdentitySessionsRequest) Execute() ([]Session, *http.Response, error) {
return r.ApiService.ListIdentitySessionsExecute(r)
}
@@ -2230,10 +2282,10 @@ This endpoint returns all sessions that belong to the given Identity.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id ID is the identity's ID.
- @return IdentityApiListIdentitySessionsRequest
+ @return IdentityAPIListIdentitySessionsRequest
*/
-func (a *IdentityApiService) ListIdentitySessions(ctx context.Context, id string) IdentityApiListIdentitySessionsRequest {
- return IdentityApiListIdentitySessionsRequest{
+func (a *IdentityAPIService) ListIdentitySessions(ctx context.Context, id string) IdentityAPIListIdentitySessionsRequest {
+ return IdentityAPIListIdentitySessionsRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -2242,7 +2294,7 @@ func (a *IdentityApiService) ListIdentitySessions(ctx context.Context, id string
// Execute executes the request
// @return []Session
-func (a *IdentityApiService) ListIdentitySessionsExecute(r IdentityApiListIdentitySessionsRequest) ([]Session, *http.Response, error) {
+func (a *IdentityAPIService) ListIdentitySessionsExecute(r IdentityAPIListIdentitySessionsRequest) ([]Session, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -2250,32 +2302,41 @@ func (a *IdentityApiService) ListIdentitySessionsExecute(r IdentityApiListIdenti
localVarReturnValue []Session
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityApiService.ListIdentitySessions")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityAPIService.ListIdentitySessions")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/admin/identities/{id}/sessions"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
if r.perPage != nil {
- localVarQueryParams.Add("per_page", parameterToString(*r.perPage, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "per_page", r.perPage, "")
+ } else {
+ var defaultValue int64 = 250
+ r.perPage = &defaultValue
}
if r.page != nil {
- localVarQueryParams.Add("page", parameterToString(*r.page, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "page", r.page, "")
}
if r.pageSize != nil {
- localVarQueryParams.Add("page_size", parameterToString(*r.pageSize, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "page_size", r.pageSize, "")
+ } else {
+ var defaultValue int64 = 250
+ r.pageSize = &defaultValue
}
if r.pageToken != nil {
- localVarQueryParams.Add("page_token", parameterToString(*r.pageToken, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "page_token", r.pageToken, "")
+ } else {
+ var defaultValue string = "1"
+ r.pageToken = &defaultValue
}
if r.active != nil {
- localVarQueryParams.Add("active", parameterToString(*r.active, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "active", r.active, "")
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -2304,9 +2365,9 @@ func (a *IdentityApiService) ListIdentitySessionsExecute(r IdentityApiListIdenti
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -2323,7 +2384,8 @@ func (a *IdentityApiService) ListIdentitySessionsExecute(r IdentityApiListIdenti
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 404 {
@@ -2333,7 +2395,8 @@ func (a *IdentityApiService) ListIdentitySessionsExecute(r IdentityApiListIdenti
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -2342,7 +2405,8 @@ func (a *IdentityApiService) ListIdentitySessionsExecute(r IdentityApiListIdenti
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -2358,9 +2422,9 @@ func (a *IdentityApiService) ListIdentitySessionsExecute(r IdentityApiListIdenti
return localVarReturnValue, localVarHTTPResponse, nil
}
-type IdentityApiListSessionsRequest struct {
+type IdentityAPIListSessionsRequest struct {
ctx context.Context
- ApiService IdentityApi
+ ApiService IdentityAPI
pageSize *int64
pageToken *string
active *bool
@@ -2368,30 +2432,30 @@ type IdentityApiListSessionsRequest struct {
}
// Items per Page This is the number of items per page to return. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
-func (r IdentityApiListSessionsRequest) PageSize(pageSize int64) IdentityApiListSessionsRequest {
+func (r IdentityAPIListSessionsRequest) PageSize(pageSize int64) IdentityAPIListSessionsRequest {
r.pageSize = &pageSize
return r
}
// Next Page Token The next page token. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
-func (r IdentityApiListSessionsRequest) PageToken(pageToken string) IdentityApiListSessionsRequest {
+func (r IdentityAPIListSessionsRequest) PageToken(pageToken string) IdentityAPIListSessionsRequest {
r.pageToken = &pageToken
return r
}
// Active is a boolean flag that filters out sessions based on the state. If no value is provided, all sessions are returned.
-func (r IdentityApiListSessionsRequest) Active(active bool) IdentityApiListSessionsRequest {
+func (r IdentityAPIListSessionsRequest) Active(active bool) IdentityAPIListSessionsRequest {
r.active = &active
return r
}
// ExpandOptions is a query parameter encoded list of all properties that must be expanded in the Session. If no value is provided, the expandable properties are skipped.
-func (r IdentityApiListSessionsRequest) Expand(expand []string) IdentityApiListSessionsRequest {
+func (r IdentityAPIListSessionsRequest) Expand(expand []string) IdentityAPIListSessionsRequest {
r.expand = &expand
return r
}
-func (r IdentityApiListSessionsRequest) Execute() ([]Session, *http.Response, error) {
+func (r IdentityAPIListSessionsRequest) Execute() ([]Session, *http.Response, error) {
return r.ApiService.ListSessionsExecute(r)
}
@@ -2401,10 +2465,10 @@ ListSessions List All Sessions
Listing all sessions that exist.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return IdentityApiListSessionsRequest
+ @return IdentityAPIListSessionsRequest
*/
-func (a *IdentityApiService) ListSessions(ctx context.Context) IdentityApiListSessionsRequest {
- return IdentityApiListSessionsRequest{
+func (a *IdentityAPIService) ListSessions(ctx context.Context) IdentityAPIListSessionsRequest {
+ return IdentityAPIListSessionsRequest{
ApiService: a,
ctx: ctx,
}
@@ -2412,7 +2476,7 @@ func (a *IdentityApiService) ListSessions(ctx context.Context) IdentityApiListSe
// Execute executes the request
// @return []Session
-func (a *IdentityApiService) ListSessionsExecute(r IdentityApiListSessionsRequest) ([]Session, *http.Response, error) {
+func (a *IdentityAPIService) ListSessionsExecute(r IdentityAPIListSessionsRequest) ([]Session, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -2420,7 +2484,7 @@ func (a *IdentityApiService) ListSessionsExecute(r IdentityApiListSessionsReques
localVarReturnValue []Session
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityApiService.ListSessions")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityAPIService.ListSessions")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -2432,23 +2496,26 @@ func (a *IdentityApiService) ListSessionsExecute(r IdentityApiListSessionsReques
localVarFormParams := url.Values{}
if r.pageSize != nil {
- localVarQueryParams.Add("page_size", parameterToString(*r.pageSize, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "page_size", r.pageSize, "")
+ } else {
+ var defaultValue int64 = 250
+ r.pageSize = &defaultValue
}
if r.pageToken != nil {
- localVarQueryParams.Add("page_token", parameterToString(*r.pageToken, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "page_token", r.pageToken, "")
}
if r.active != nil {
- localVarQueryParams.Add("active", parameterToString(*r.active, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "active", r.active, "")
}
if r.expand != nil {
t := *r.expand
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- localVarQueryParams.Add("expand", parameterToString(s.Index(i), "multi"))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "expand", s.Index(i).Interface(), "multi")
}
} else {
- localVarQueryParams.Add("expand", parameterToString(t, "multi"))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "expand", t, "multi")
}
}
// to determine the Content-Type header
@@ -2478,9 +2545,9 @@ func (a *IdentityApiService) ListSessionsExecute(r IdentityApiListSessionsReques
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -2497,7 +2564,8 @@ func (a *IdentityApiService) ListSessionsExecute(r IdentityApiListSessionsReques
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -2506,7 +2574,8 @@ func (a *IdentityApiService) ListSessionsExecute(r IdentityApiListSessionsReques
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -2522,19 +2591,19 @@ func (a *IdentityApiService) ListSessionsExecute(r IdentityApiListSessionsReques
return localVarReturnValue, localVarHTTPResponse, nil
}
-type IdentityApiPatchIdentityRequest struct {
+type IdentityAPIPatchIdentityRequest struct {
ctx context.Context
- ApiService IdentityApi
+ ApiService IdentityAPI
id string
jsonPatch *[]JsonPatch
}
-func (r IdentityApiPatchIdentityRequest) JsonPatch(jsonPatch []JsonPatch) IdentityApiPatchIdentityRequest {
+func (r IdentityAPIPatchIdentityRequest) JsonPatch(jsonPatch []JsonPatch) IdentityAPIPatchIdentityRequest {
r.jsonPatch = &jsonPatch
return r
}
-func (r IdentityApiPatchIdentityRequest) Execute() (*Identity, *http.Response, error) {
+func (r IdentityAPIPatchIdentityRequest) Execute() (*Identity, *http.Response, error) {
return r.ApiService.PatchIdentityExecute(r)
}
@@ -2546,10 +2615,10 @@ The fields `id`, `stateChangedAt` and `credentials` can not be updated using thi
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id ID must be set to the ID of identity you want to update
- @return IdentityApiPatchIdentityRequest
+ @return IdentityAPIPatchIdentityRequest
*/
-func (a *IdentityApiService) PatchIdentity(ctx context.Context, id string) IdentityApiPatchIdentityRequest {
- return IdentityApiPatchIdentityRequest{
+func (a *IdentityAPIService) PatchIdentity(ctx context.Context, id string) IdentityAPIPatchIdentityRequest {
+ return IdentityAPIPatchIdentityRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -2558,7 +2627,7 @@ func (a *IdentityApiService) PatchIdentity(ctx context.Context, id string) Ident
// Execute executes the request
// @return Identity
-func (a *IdentityApiService) PatchIdentityExecute(r IdentityApiPatchIdentityRequest) (*Identity, *http.Response, error) {
+func (a *IdentityAPIService) PatchIdentityExecute(r IdentityAPIPatchIdentityRequest) (*Identity, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPatch
localVarPostBody interface{}
@@ -2566,13 +2635,13 @@ func (a *IdentityApiService) PatchIdentityExecute(r IdentityApiPatchIdentityRequ
localVarReturnValue *Identity
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityApiService.PatchIdentity")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityAPIService.PatchIdentity")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/admin/identities/{id}"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -2607,9 +2676,9 @@ func (a *IdentityApiService) PatchIdentityExecute(r IdentityApiPatchIdentityRequ
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -2626,7 +2695,8 @@ func (a *IdentityApiService) PatchIdentityExecute(r IdentityApiPatchIdentityRequ
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 404 {
@@ -2636,7 +2706,8 @@ func (a *IdentityApiService) PatchIdentityExecute(r IdentityApiPatchIdentityRequ
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 409 {
@@ -2646,7 +2717,8 @@ func (a *IdentityApiService) PatchIdentityExecute(r IdentityApiPatchIdentityRequ
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -2655,7 +2727,8 @@ func (a *IdentityApiService) PatchIdentityExecute(r IdentityApiPatchIdentityRequ
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -2671,19 +2744,19 @@ func (a *IdentityApiService) PatchIdentityExecute(r IdentityApiPatchIdentityRequ
return localVarReturnValue, localVarHTTPResponse, nil
}
-type IdentityApiUpdateIdentityRequest struct {
+type IdentityAPIUpdateIdentityRequest struct {
ctx context.Context
- ApiService IdentityApi
+ ApiService IdentityAPI
id string
updateIdentityBody *UpdateIdentityBody
}
-func (r IdentityApiUpdateIdentityRequest) UpdateIdentityBody(updateIdentityBody UpdateIdentityBody) IdentityApiUpdateIdentityRequest {
+func (r IdentityAPIUpdateIdentityRequest) UpdateIdentityBody(updateIdentityBody UpdateIdentityBody) IdentityAPIUpdateIdentityRequest {
r.updateIdentityBody = &updateIdentityBody
return r
}
-func (r IdentityApiUpdateIdentityRequest) Execute() (*Identity, *http.Response, error) {
+func (r IdentityAPIUpdateIdentityRequest) Execute() (*Identity, *http.Response, error) {
return r.ApiService.UpdateIdentityExecute(r)
}
@@ -2695,10 +2768,10 @@ payload (except credentials) is expected. It is possible to update the identity'
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id ID must be set to the ID of identity you want to update
- @return IdentityApiUpdateIdentityRequest
+ @return IdentityAPIUpdateIdentityRequest
*/
-func (a *IdentityApiService) UpdateIdentity(ctx context.Context, id string) IdentityApiUpdateIdentityRequest {
- return IdentityApiUpdateIdentityRequest{
+func (a *IdentityAPIService) UpdateIdentity(ctx context.Context, id string) IdentityAPIUpdateIdentityRequest {
+ return IdentityAPIUpdateIdentityRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -2707,7 +2780,7 @@ func (a *IdentityApiService) UpdateIdentity(ctx context.Context, id string) Iden
// Execute executes the request
// @return Identity
-func (a *IdentityApiService) UpdateIdentityExecute(r IdentityApiUpdateIdentityRequest) (*Identity, *http.Response, error) {
+func (a *IdentityAPIService) UpdateIdentityExecute(r IdentityAPIUpdateIdentityRequest) (*Identity, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
@@ -2715,13 +2788,13 @@ func (a *IdentityApiService) UpdateIdentityExecute(r IdentityApiUpdateIdentityRe
localVarReturnValue *Identity
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityApiService.UpdateIdentity")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityAPIService.UpdateIdentity")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/admin/identities/{id}"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -2756,9 +2829,9 @@ func (a *IdentityApiService) UpdateIdentityExecute(r IdentityApiUpdateIdentityRe
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -2775,7 +2848,8 @@ func (a *IdentityApiService) UpdateIdentityExecute(r IdentityApiUpdateIdentityRe
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 404 {
@@ -2785,7 +2859,8 @@ func (a *IdentityApiService) UpdateIdentityExecute(r IdentityApiUpdateIdentityRe
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 409 {
@@ -2795,7 +2870,8 @@ func (a *IdentityApiService) UpdateIdentityExecute(r IdentityApiUpdateIdentityRe
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -2804,7 +2880,8 @@ func (a *IdentityApiService) UpdateIdentityExecute(r IdentityApiUpdateIdentityRe
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
diff --git a/clients/client/go/api_jwk.go b/clients/client/go/api_jwk.go
index 563703fc216..b32d427f6a1 100644
--- a/clients/client/go/api_jwk.go
+++ b/clients/client/go/api_jwk.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -14,14 +14,14 @@ package client
import (
"bytes"
"context"
- "io/ioutil"
+ "io"
"net/http"
"net/url"
"strings"
)
-type JwkApi interface {
+type JwkAPI interface {
/*
CreateJsonWebKeySet Create JSON Web Key
@@ -32,13 +32,13 @@ A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param set The JSON Web Key Set ID
- @return JwkApiCreateJsonWebKeySetRequest
+ @return JwkAPICreateJsonWebKeySetRequest
*/
- CreateJsonWebKeySet(ctx context.Context, set string) JwkApiCreateJsonWebKeySetRequest
+ CreateJsonWebKeySet(ctx context.Context, set string) JwkAPICreateJsonWebKeySetRequest
// CreateJsonWebKeySetExecute executes the request
// @return JsonWebKeySet
- CreateJsonWebKeySetExecute(r JwkApiCreateJsonWebKeySetRequest) (*JsonWebKeySet, *http.Response, error)
+ CreateJsonWebKeySetExecute(r JwkAPICreateJsonWebKeySetRequest) (*JsonWebKeySet, *http.Response, error)
/*
DeleteJsonWebKey Delete JSON Web Key
@@ -53,12 +53,12 @@ and allows storing user-defined keys as well.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param set The JSON Web Key Set
@param kid The JSON Web Key ID (kid)
- @return JwkApiDeleteJsonWebKeyRequest
+ @return JwkAPIDeleteJsonWebKeyRequest
*/
- DeleteJsonWebKey(ctx context.Context, set string, kid string) JwkApiDeleteJsonWebKeyRequest
+ DeleteJsonWebKey(ctx context.Context, set string, kid string) JwkAPIDeleteJsonWebKeyRequest
// DeleteJsonWebKeyExecute executes the request
- DeleteJsonWebKeyExecute(r JwkApiDeleteJsonWebKeyRequest) (*http.Response, error)
+ DeleteJsonWebKeyExecute(r JwkAPIDeleteJsonWebKeyRequest) (*http.Response, error)
/*
DeleteJsonWebKeySet Delete JSON Web Key Set
@@ -69,12 +69,12 @@ A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param set The JSON Web Key Set
- @return JwkApiDeleteJsonWebKeySetRequest
+ @return JwkAPIDeleteJsonWebKeySetRequest
*/
- DeleteJsonWebKeySet(ctx context.Context, set string) JwkApiDeleteJsonWebKeySetRequest
+ DeleteJsonWebKeySet(ctx context.Context, set string) JwkAPIDeleteJsonWebKeySetRequest
// DeleteJsonWebKeySetExecute executes the request
- DeleteJsonWebKeySetExecute(r JwkApiDeleteJsonWebKeySetRequest) (*http.Response, error)
+ DeleteJsonWebKeySetExecute(r JwkAPIDeleteJsonWebKeySetRequest) (*http.Response, error)
/*
GetJsonWebKey Get JSON Web Key
@@ -84,13 +84,13 @@ A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param set JSON Web Key Set ID
@param kid JSON Web Key ID
- @return JwkApiGetJsonWebKeyRequest
+ @return JwkAPIGetJsonWebKeyRequest
*/
- GetJsonWebKey(ctx context.Context, set string, kid string) JwkApiGetJsonWebKeyRequest
+ GetJsonWebKey(ctx context.Context, set string, kid string) JwkAPIGetJsonWebKeyRequest
// GetJsonWebKeyExecute executes the request
// @return JsonWebKeySet
- GetJsonWebKeyExecute(r JwkApiGetJsonWebKeyRequest) (*JsonWebKeySet, *http.Response, error)
+ GetJsonWebKeyExecute(r JwkAPIGetJsonWebKeyRequest) (*JsonWebKeySet, *http.Response, error)
/*
GetJsonWebKeySet Retrieve a JSON Web Key Set
@@ -101,13 +101,13 @@ A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param set JSON Web Key Set ID
- @return JwkApiGetJsonWebKeySetRequest
+ @return JwkAPIGetJsonWebKeySetRequest
*/
- GetJsonWebKeySet(ctx context.Context, set string) JwkApiGetJsonWebKeySetRequest
+ GetJsonWebKeySet(ctx context.Context, set string) JwkAPIGetJsonWebKeySetRequest
// GetJsonWebKeySetExecute executes the request
// @return JsonWebKeySet
- GetJsonWebKeySetExecute(r JwkApiGetJsonWebKeySetRequest) (*JsonWebKeySet, *http.Response, error)
+ GetJsonWebKeySetExecute(r JwkAPIGetJsonWebKeySetRequest) (*JsonWebKeySet, *http.Response, error)
/*
SetJsonWebKey Set JSON Web Key
@@ -119,13 +119,13 @@ A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param set The JSON Web Key Set ID
@param kid JSON Web Key ID
- @return JwkApiSetJsonWebKeyRequest
+ @return JwkAPISetJsonWebKeyRequest
*/
- SetJsonWebKey(ctx context.Context, set string, kid string) JwkApiSetJsonWebKeyRequest
+ SetJsonWebKey(ctx context.Context, set string, kid string) JwkAPISetJsonWebKeyRequest
// SetJsonWebKeyExecute executes the request
// @return JsonWebKey
- SetJsonWebKeyExecute(r JwkApiSetJsonWebKeyRequest) (*JsonWebKey, *http.Response, error)
+ SetJsonWebKeyExecute(r JwkAPISetJsonWebKeyRequest) (*JsonWebKey, *http.Response, error)
/*
SetJsonWebKeySet Update a JSON Web Key Set
@@ -136,31 +136,31 @@ A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param set The JSON Web Key Set ID
- @return JwkApiSetJsonWebKeySetRequest
+ @return JwkAPISetJsonWebKeySetRequest
*/
- SetJsonWebKeySet(ctx context.Context, set string) JwkApiSetJsonWebKeySetRequest
+ SetJsonWebKeySet(ctx context.Context, set string) JwkAPISetJsonWebKeySetRequest
// SetJsonWebKeySetExecute executes the request
// @return JsonWebKeySet
- SetJsonWebKeySetExecute(r JwkApiSetJsonWebKeySetRequest) (*JsonWebKeySet, *http.Response, error)
+ SetJsonWebKeySetExecute(r JwkAPISetJsonWebKeySetRequest) (*JsonWebKeySet, *http.Response, error)
}
-// JwkApiService JwkApi service
-type JwkApiService service
+// JwkAPIService JwkAPI service
+type JwkAPIService service
-type JwkApiCreateJsonWebKeySetRequest struct {
+type JwkAPICreateJsonWebKeySetRequest struct {
ctx context.Context
- ApiService JwkApi
+ ApiService JwkAPI
set string
createJsonWebKeySet *CreateJsonWebKeySet
}
-func (r JwkApiCreateJsonWebKeySetRequest) CreateJsonWebKeySet(createJsonWebKeySet CreateJsonWebKeySet) JwkApiCreateJsonWebKeySetRequest {
+func (r JwkAPICreateJsonWebKeySetRequest) CreateJsonWebKeySet(createJsonWebKeySet CreateJsonWebKeySet) JwkAPICreateJsonWebKeySetRequest {
r.createJsonWebKeySet = &createJsonWebKeySet
return r
}
-func (r JwkApiCreateJsonWebKeySetRequest) Execute() (*JsonWebKeySet, *http.Response, error) {
+func (r JwkAPICreateJsonWebKeySetRequest) Execute() (*JsonWebKeySet, *http.Response, error) {
return r.ApiService.CreateJsonWebKeySetExecute(r)
}
@@ -173,10 +173,10 @@ A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param set The JSON Web Key Set ID
- @return JwkApiCreateJsonWebKeySetRequest
+ @return JwkAPICreateJsonWebKeySetRequest
*/
-func (a *JwkApiService) CreateJsonWebKeySet(ctx context.Context, set string) JwkApiCreateJsonWebKeySetRequest {
- return JwkApiCreateJsonWebKeySetRequest{
+func (a *JwkAPIService) CreateJsonWebKeySet(ctx context.Context, set string) JwkAPICreateJsonWebKeySetRequest {
+ return JwkAPICreateJsonWebKeySetRequest{
ApiService: a,
ctx: ctx,
set: set,
@@ -185,7 +185,7 @@ func (a *JwkApiService) CreateJsonWebKeySet(ctx context.Context, set string) Jwk
// Execute executes the request
// @return JsonWebKeySet
-func (a *JwkApiService) CreateJsonWebKeySetExecute(r JwkApiCreateJsonWebKeySetRequest) (*JsonWebKeySet, *http.Response, error) {
+func (a *JwkAPIService) CreateJsonWebKeySetExecute(r JwkAPICreateJsonWebKeySetRequest) (*JsonWebKeySet, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
@@ -193,13 +193,13 @@ func (a *JwkApiService) CreateJsonWebKeySetExecute(r JwkApiCreateJsonWebKeySetRe
localVarReturnValue *JsonWebKeySet
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "JwkApiService.CreateJsonWebKeySet")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "JwkAPIService.CreateJsonWebKeySet")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/admin/keys/{set}"
- localVarPath = strings.Replace(localVarPath, "{"+"set"+"}", url.PathEscape(parameterToString(r.set, "")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"set"+"}", url.PathEscape(parameterValueToString(r.set, "set")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -237,9 +237,9 @@ func (a *JwkApiService) CreateJsonWebKeySetExecute(r JwkApiCreateJsonWebKeySetRe
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -255,7 +255,8 @@ func (a *JwkApiService) CreateJsonWebKeySetExecute(r JwkApiCreateJsonWebKeySetRe
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -271,14 +272,14 @@ func (a *JwkApiService) CreateJsonWebKeySetExecute(r JwkApiCreateJsonWebKeySetRe
return localVarReturnValue, localVarHTTPResponse, nil
}
-type JwkApiDeleteJsonWebKeyRequest struct {
+type JwkAPIDeleteJsonWebKeyRequest struct {
ctx context.Context
- ApiService JwkApi
+ ApiService JwkAPI
set string
kid string
}
-func (r JwkApiDeleteJsonWebKeyRequest) Execute() (*http.Response, error) {
+func (r JwkAPIDeleteJsonWebKeyRequest) Execute() (*http.Response, error) {
return r.ApiService.DeleteJsonWebKeyExecute(r)
}
@@ -295,10 +296,10 @@ and allows storing user-defined keys as well.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param set The JSON Web Key Set
@param kid The JSON Web Key ID (kid)
- @return JwkApiDeleteJsonWebKeyRequest
+ @return JwkAPIDeleteJsonWebKeyRequest
*/
-func (a *JwkApiService) DeleteJsonWebKey(ctx context.Context, set string, kid string) JwkApiDeleteJsonWebKeyRequest {
- return JwkApiDeleteJsonWebKeyRequest{
+func (a *JwkAPIService) DeleteJsonWebKey(ctx context.Context, set string, kid string) JwkAPIDeleteJsonWebKeyRequest {
+ return JwkAPIDeleteJsonWebKeyRequest{
ApiService: a,
ctx: ctx,
set: set,
@@ -307,21 +308,21 @@ func (a *JwkApiService) DeleteJsonWebKey(ctx context.Context, set string, kid st
}
// Execute executes the request
-func (a *JwkApiService) DeleteJsonWebKeyExecute(r JwkApiDeleteJsonWebKeyRequest) (*http.Response, error) {
+func (a *JwkAPIService) DeleteJsonWebKeyExecute(r JwkAPIDeleteJsonWebKeyRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "JwkApiService.DeleteJsonWebKey")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "JwkAPIService.DeleteJsonWebKey")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/admin/keys/{set}/{kid}"
- localVarPath = strings.Replace(localVarPath, "{"+"set"+"}", url.PathEscape(parameterToString(r.set, "")), -1)
- localVarPath = strings.Replace(localVarPath, "{"+"kid"+"}", url.PathEscape(parameterToString(r.kid, "")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"set"+"}", url.PathEscape(parameterValueToString(r.set, "set")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"kid"+"}", url.PathEscape(parameterValueToString(r.kid, "kid")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -354,9 +355,9 @@ func (a *JwkApiService) DeleteJsonWebKeyExecute(r JwkApiDeleteJsonWebKeyRequest)
return localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarHTTPResponse, err
}
@@ -372,20 +373,21 @@ func (a *JwkApiService) DeleteJsonWebKeyExecute(r JwkApiDeleteJsonWebKeyRequest)
newErr.error = err.Error()
return localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarHTTPResponse, newErr
}
return localVarHTTPResponse, nil
}
-type JwkApiDeleteJsonWebKeySetRequest struct {
+type JwkAPIDeleteJsonWebKeySetRequest struct {
ctx context.Context
- ApiService JwkApi
+ ApiService JwkAPI
set string
}
-func (r JwkApiDeleteJsonWebKeySetRequest) Execute() (*http.Response, error) {
+func (r JwkAPIDeleteJsonWebKeySetRequest) Execute() (*http.Response, error) {
return r.ApiService.DeleteJsonWebKeySetExecute(r)
}
@@ -398,10 +400,10 @@ A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param set The JSON Web Key Set
- @return JwkApiDeleteJsonWebKeySetRequest
+ @return JwkAPIDeleteJsonWebKeySetRequest
*/
-func (a *JwkApiService) DeleteJsonWebKeySet(ctx context.Context, set string) JwkApiDeleteJsonWebKeySetRequest {
- return JwkApiDeleteJsonWebKeySetRequest{
+func (a *JwkAPIService) DeleteJsonWebKeySet(ctx context.Context, set string) JwkAPIDeleteJsonWebKeySetRequest {
+ return JwkAPIDeleteJsonWebKeySetRequest{
ApiService: a,
ctx: ctx,
set: set,
@@ -409,20 +411,20 @@ func (a *JwkApiService) DeleteJsonWebKeySet(ctx context.Context, set string) Jwk
}
// Execute executes the request
-func (a *JwkApiService) DeleteJsonWebKeySetExecute(r JwkApiDeleteJsonWebKeySetRequest) (*http.Response, error) {
+func (a *JwkAPIService) DeleteJsonWebKeySetExecute(r JwkAPIDeleteJsonWebKeySetRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "JwkApiService.DeleteJsonWebKeySet")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "JwkAPIService.DeleteJsonWebKeySet")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/admin/keys/{set}"
- localVarPath = strings.Replace(localVarPath, "{"+"set"+"}", url.PathEscape(parameterToString(r.set, "")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"set"+"}", url.PathEscape(parameterValueToString(r.set, "set")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -455,9 +457,9 @@ func (a *JwkApiService) DeleteJsonWebKeySetExecute(r JwkApiDeleteJsonWebKeySetRe
return localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarHTTPResponse, err
}
@@ -473,21 +475,22 @@ func (a *JwkApiService) DeleteJsonWebKeySetExecute(r JwkApiDeleteJsonWebKeySetRe
newErr.error = err.Error()
return localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarHTTPResponse, newErr
}
return localVarHTTPResponse, nil
}
-type JwkApiGetJsonWebKeyRequest struct {
+type JwkAPIGetJsonWebKeyRequest struct {
ctx context.Context
- ApiService JwkApi
+ ApiService JwkAPI
set string
kid string
}
-func (r JwkApiGetJsonWebKeyRequest) Execute() (*JsonWebKeySet, *http.Response, error) {
+func (r JwkAPIGetJsonWebKeyRequest) Execute() (*JsonWebKeySet, *http.Response, error) {
return r.ApiService.GetJsonWebKeyExecute(r)
}
@@ -499,10 +502,10 @@ This endpoint returns a singular JSON Web Key contained in a set. It is identifi
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param set JSON Web Key Set ID
@param kid JSON Web Key ID
- @return JwkApiGetJsonWebKeyRequest
+ @return JwkAPIGetJsonWebKeyRequest
*/
-func (a *JwkApiService) GetJsonWebKey(ctx context.Context, set string, kid string) JwkApiGetJsonWebKeyRequest {
- return JwkApiGetJsonWebKeyRequest{
+func (a *JwkAPIService) GetJsonWebKey(ctx context.Context, set string, kid string) JwkAPIGetJsonWebKeyRequest {
+ return JwkAPIGetJsonWebKeyRequest{
ApiService: a,
ctx: ctx,
set: set,
@@ -512,7 +515,7 @@ func (a *JwkApiService) GetJsonWebKey(ctx context.Context, set string, kid strin
// Execute executes the request
// @return JsonWebKeySet
-func (a *JwkApiService) GetJsonWebKeyExecute(r JwkApiGetJsonWebKeyRequest) (*JsonWebKeySet, *http.Response, error) {
+func (a *JwkAPIService) GetJsonWebKeyExecute(r JwkAPIGetJsonWebKeyRequest) (*JsonWebKeySet, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -520,14 +523,14 @@ func (a *JwkApiService) GetJsonWebKeyExecute(r JwkApiGetJsonWebKeyRequest) (*Jso
localVarReturnValue *JsonWebKeySet
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "JwkApiService.GetJsonWebKey")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "JwkAPIService.GetJsonWebKey")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/admin/keys/{set}/{kid}"
- localVarPath = strings.Replace(localVarPath, "{"+"set"+"}", url.PathEscape(parameterToString(r.set, "")), -1)
- localVarPath = strings.Replace(localVarPath, "{"+"kid"+"}", url.PathEscape(parameterToString(r.kid, "")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"set"+"}", url.PathEscape(parameterValueToString(r.set, "set")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"kid"+"}", url.PathEscape(parameterValueToString(r.kid, "kid")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -560,9 +563,9 @@ func (a *JwkApiService) GetJsonWebKeyExecute(r JwkApiGetJsonWebKeyRequest) (*Jso
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -578,7 +581,8 @@ func (a *JwkApiService) GetJsonWebKeyExecute(r JwkApiGetJsonWebKeyRequest) (*Jso
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -594,13 +598,13 @@ func (a *JwkApiService) GetJsonWebKeyExecute(r JwkApiGetJsonWebKeyRequest) (*Jso
return localVarReturnValue, localVarHTTPResponse, nil
}
-type JwkApiGetJsonWebKeySetRequest struct {
+type JwkAPIGetJsonWebKeySetRequest struct {
ctx context.Context
- ApiService JwkApi
+ ApiService JwkAPI
set string
}
-func (r JwkApiGetJsonWebKeySetRequest) Execute() (*JsonWebKeySet, *http.Response, error) {
+func (r JwkAPIGetJsonWebKeySetRequest) Execute() (*JsonWebKeySet, *http.Response, error) {
return r.ApiService.GetJsonWebKeySetExecute(r)
}
@@ -613,10 +617,10 @@ A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param set JSON Web Key Set ID
- @return JwkApiGetJsonWebKeySetRequest
+ @return JwkAPIGetJsonWebKeySetRequest
*/
-func (a *JwkApiService) GetJsonWebKeySet(ctx context.Context, set string) JwkApiGetJsonWebKeySetRequest {
- return JwkApiGetJsonWebKeySetRequest{
+func (a *JwkAPIService) GetJsonWebKeySet(ctx context.Context, set string) JwkAPIGetJsonWebKeySetRequest {
+ return JwkAPIGetJsonWebKeySetRequest{
ApiService: a,
ctx: ctx,
set: set,
@@ -625,7 +629,7 @@ func (a *JwkApiService) GetJsonWebKeySet(ctx context.Context, set string) JwkApi
// Execute executes the request
// @return JsonWebKeySet
-func (a *JwkApiService) GetJsonWebKeySetExecute(r JwkApiGetJsonWebKeySetRequest) (*JsonWebKeySet, *http.Response, error) {
+func (a *JwkAPIService) GetJsonWebKeySetExecute(r JwkAPIGetJsonWebKeySetRequest) (*JsonWebKeySet, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -633,13 +637,13 @@ func (a *JwkApiService) GetJsonWebKeySetExecute(r JwkApiGetJsonWebKeySetRequest)
localVarReturnValue *JsonWebKeySet
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "JwkApiService.GetJsonWebKeySet")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "JwkAPIService.GetJsonWebKeySet")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/admin/keys/{set}"
- localVarPath = strings.Replace(localVarPath, "{"+"set"+"}", url.PathEscape(parameterToString(r.set, "")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"set"+"}", url.PathEscape(parameterValueToString(r.set, "set")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -672,9 +676,9 @@ func (a *JwkApiService) GetJsonWebKeySetExecute(r JwkApiGetJsonWebKeySetRequest)
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -690,7 +694,8 @@ func (a *JwkApiService) GetJsonWebKeySetExecute(r JwkApiGetJsonWebKeySetRequest)
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -706,20 +711,20 @@ func (a *JwkApiService) GetJsonWebKeySetExecute(r JwkApiGetJsonWebKeySetRequest)
return localVarReturnValue, localVarHTTPResponse, nil
}
-type JwkApiSetJsonWebKeyRequest struct {
+type JwkAPISetJsonWebKeyRequest struct {
ctx context.Context
- ApiService JwkApi
+ ApiService JwkAPI
set string
kid string
jsonWebKey *JsonWebKey
}
-func (r JwkApiSetJsonWebKeyRequest) JsonWebKey(jsonWebKey JsonWebKey) JwkApiSetJsonWebKeyRequest {
+func (r JwkAPISetJsonWebKeyRequest) JsonWebKey(jsonWebKey JsonWebKey) JwkAPISetJsonWebKeyRequest {
r.jsonWebKey = &jsonWebKey
return r
}
-func (r JwkApiSetJsonWebKeyRequest) Execute() (*JsonWebKey, *http.Response, error) {
+func (r JwkAPISetJsonWebKeyRequest) Execute() (*JsonWebKey, *http.Response, error) {
return r.ApiService.SetJsonWebKeyExecute(r)
}
@@ -733,10 +738,10 @@ A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param set The JSON Web Key Set ID
@param kid JSON Web Key ID
- @return JwkApiSetJsonWebKeyRequest
+ @return JwkAPISetJsonWebKeyRequest
*/
-func (a *JwkApiService) SetJsonWebKey(ctx context.Context, set string, kid string) JwkApiSetJsonWebKeyRequest {
- return JwkApiSetJsonWebKeyRequest{
+func (a *JwkAPIService) SetJsonWebKey(ctx context.Context, set string, kid string) JwkAPISetJsonWebKeyRequest {
+ return JwkAPISetJsonWebKeyRequest{
ApiService: a,
ctx: ctx,
set: set,
@@ -746,7 +751,7 @@ func (a *JwkApiService) SetJsonWebKey(ctx context.Context, set string, kid strin
// Execute executes the request
// @return JsonWebKey
-func (a *JwkApiService) SetJsonWebKeyExecute(r JwkApiSetJsonWebKeyRequest) (*JsonWebKey, *http.Response, error) {
+func (a *JwkAPIService) SetJsonWebKeyExecute(r JwkAPISetJsonWebKeyRequest) (*JsonWebKey, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
@@ -754,14 +759,14 @@ func (a *JwkApiService) SetJsonWebKeyExecute(r JwkApiSetJsonWebKeyRequest) (*Jso
localVarReturnValue *JsonWebKey
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "JwkApiService.SetJsonWebKey")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "JwkAPIService.SetJsonWebKey")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/admin/keys/{set}/{kid}"
- localVarPath = strings.Replace(localVarPath, "{"+"set"+"}", url.PathEscape(parameterToString(r.set, "")), -1)
- localVarPath = strings.Replace(localVarPath, "{"+"kid"+"}", url.PathEscape(parameterToString(r.kid, "")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"set"+"}", url.PathEscape(parameterValueToString(r.set, "set")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"kid"+"}", url.PathEscape(parameterValueToString(r.kid, "kid")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -796,9 +801,9 @@ func (a *JwkApiService) SetJsonWebKeyExecute(r JwkApiSetJsonWebKeyRequest) (*Jso
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -814,7 +819,8 @@ func (a *JwkApiService) SetJsonWebKeyExecute(r JwkApiSetJsonWebKeyRequest) (*Jso
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -830,19 +836,19 @@ func (a *JwkApiService) SetJsonWebKeyExecute(r JwkApiSetJsonWebKeyRequest) (*Jso
return localVarReturnValue, localVarHTTPResponse, nil
}
-type JwkApiSetJsonWebKeySetRequest struct {
+type JwkAPISetJsonWebKeySetRequest struct {
ctx context.Context
- ApiService JwkApi
+ ApiService JwkAPI
set string
jsonWebKeySet *JsonWebKeySet
}
-func (r JwkApiSetJsonWebKeySetRequest) JsonWebKeySet(jsonWebKeySet JsonWebKeySet) JwkApiSetJsonWebKeySetRequest {
+func (r JwkAPISetJsonWebKeySetRequest) JsonWebKeySet(jsonWebKeySet JsonWebKeySet) JwkAPISetJsonWebKeySetRequest {
r.jsonWebKeySet = &jsonWebKeySet
return r
}
-func (r JwkApiSetJsonWebKeySetRequest) Execute() (*JsonWebKeySet, *http.Response, error) {
+func (r JwkAPISetJsonWebKeySetRequest) Execute() (*JsonWebKeySet, *http.Response, error) {
return r.ApiService.SetJsonWebKeySetExecute(r)
}
@@ -855,10 +861,10 @@ A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param set The JSON Web Key Set ID
- @return JwkApiSetJsonWebKeySetRequest
+ @return JwkAPISetJsonWebKeySetRequest
*/
-func (a *JwkApiService) SetJsonWebKeySet(ctx context.Context, set string) JwkApiSetJsonWebKeySetRequest {
- return JwkApiSetJsonWebKeySetRequest{
+func (a *JwkAPIService) SetJsonWebKeySet(ctx context.Context, set string) JwkAPISetJsonWebKeySetRequest {
+ return JwkAPISetJsonWebKeySetRequest{
ApiService: a,
ctx: ctx,
set: set,
@@ -867,7 +873,7 @@ func (a *JwkApiService) SetJsonWebKeySet(ctx context.Context, set string) JwkApi
// Execute executes the request
// @return JsonWebKeySet
-func (a *JwkApiService) SetJsonWebKeySetExecute(r JwkApiSetJsonWebKeySetRequest) (*JsonWebKeySet, *http.Response, error) {
+func (a *JwkAPIService) SetJsonWebKeySetExecute(r JwkAPISetJsonWebKeySetRequest) (*JsonWebKeySet, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
@@ -875,13 +881,13 @@ func (a *JwkApiService) SetJsonWebKeySetExecute(r JwkApiSetJsonWebKeySetRequest)
localVarReturnValue *JsonWebKeySet
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "JwkApiService.SetJsonWebKeySet")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "JwkAPIService.SetJsonWebKeySet")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/admin/keys/{set}"
- localVarPath = strings.Replace(localVarPath, "{"+"set"+"}", url.PathEscape(parameterToString(r.set, "")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"set"+"}", url.PathEscape(parameterValueToString(r.set, "set")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -916,9 +922,9 @@ func (a *JwkApiService) SetJsonWebKeySetExecute(r JwkApiSetJsonWebKeySetRequest)
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -934,7 +940,8 @@ func (a *JwkApiService) SetJsonWebKeySetExecute(r JwkApiSetJsonWebKeySetRequest)
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
diff --git a/clients/client/go/api_metadata.go b/clients/client/go/api_metadata.go
index fb9901326fc..5d5cad965fd 100644
--- a/clients/client/go/api_metadata.go
+++ b/clients/client/go/api_metadata.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -14,13 +14,13 @@ package client
import (
"bytes"
"context"
- "io/ioutil"
+ "io"
"net/http"
"net/url"
)
-type MetadataApi interface {
+type MetadataAPI interface {
/*
GetVersion Return Running Software Version.
@@ -34,13 +34,13 @@ Be aware that if you are running multiple nodes of this service, the version wil
refer to the cluster state, only to a single instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return MetadataApiGetVersionRequest
+ @return MetadataAPIGetVersionRequest
*/
- GetVersion(ctx context.Context) MetadataApiGetVersionRequest
+ GetVersion(ctx context.Context) MetadataAPIGetVersionRequest
// GetVersionExecute executes the request
// @return GetVersion200Response
- GetVersionExecute(r MetadataApiGetVersionRequest) (*GetVersion200Response, *http.Response, error)
+ GetVersionExecute(r MetadataAPIGetVersionRequest) (*GetVersion200Response, *http.Response, error)
/*
IsAlive Check HTTP Server Status
@@ -55,13 +55,13 @@ Be aware that if you are running multiple nodes of this service, the health stat
refer to the cluster state, only to a single instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return MetadataApiIsAliveRequest
+ @return MetadataAPIIsAliveRequest
*/
- IsAlive(ctx context.Context) MetadataApiIsAliveRequest
+ IsAlive(ctx context.Context) MetadataAPIIsAliveRequest
// IsAliveExecute executes the request
// @return HealthStatus
- IsAliveExecute(r MetadataApiIsAliveRequest) (*HealthStatus, *http.Response, error)
+ IsAliveExecute(r MetadataAPIIsAliveRequest) (*HealthStatus, *http.Response, error)
/*
IsReady Check HTTP Server and Database Status
@@ -76,24 +76,24 @@ Be aware that if you are running multiple nodes of Ory Kratos, the health status
refer to the cluster state, only to a single instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return MetadataApiIsReadyRequest
+ @return MetadataAPIIsReadyRequest
*/
- IsReady(ctx context.Context) MetadataApiIsReadyRequest
+ IsReady(ctx context.Context) MetadataAPIIsReadyRequest
// IsReadyExecute executes the request
// @return IsReady200Response
- IsReadyExecute(r MetadataApiIsReadyRequest) (*IsReady200Response, *http.Response, error)
+ IsReadyExecute(r MetadataAPIIsReadyRequest) (*IsReady200Response, *http.Response, error)
}
-// MetadataApiService MetadataApi service
-type MetadataApiService service
+// MetadataAPIService MetadataAPI service
+type MetadataAPIService service
-type MetadataApiGetVersionRequest struct {
+type MetadataAPIGetVersionRequest struct {
ctx context.Context
- ApiService MetadataApi
+ ApiService MetadataAPI
}
-func (r MetadataApiGetVersionRequest) Execute() (*GetVersion200Response, *http.Response, error) {
+func (r MetadataAPIGetVersionRequest) Execute() (*GetVersion200Response, *http.Response, error) {
return r.ApiService.GetVersionExecute(r)
}
@@ -109,10 +109,10 @@ Be aware that if you are running multiple nodes of this service, the version wil
refer to the cluster state, only to a single instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return MetadataApiGetVersionRequest
+ @return MetadataAPIGetVersionRequest
*/
-func (a *MetadataApiService) GetVersion(ctx context.Context) MetadataApiGetVersionRequest {
- return MetadataApiGetVersionRequest{
+func (a *MetadataAPIService) GetVersion(ctx context.Context) MetadataAPIGetVersionRequest {
+ return MetadataAPIGetVersionRequest{
ApiService: a,
ctx: ctx,
}
@@ -120,7 +120,7 @@ func (a *MetadataApiService) GetVersion(ctx context.Context) MetadataApiGetVersi
// Execute executes the request
// @return GetVersion200Response
-func (a *MetadataApiService) GetVersionExecute(r MetadataApiGetVersionRequest) (*GetVersion200Response, *http.Response, error) {
+func (a *MetadataAPIService) GetVersionExecute(r MetadataAPIGetVersionRequest) (*GetVersion200Response, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -128,7 +128,7 @@ func (a *MetadataApiService) GetVersionExecute(r MetadataApiGetVersionRequest) (
localVarReturnValue *GetVersion200Response
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataApiService.GetVersion")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataAPIService.GetVersion")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -166,9 +166,9 @@ func (a *MetadataApiService) GetVersionExecute(r MetadataApiGetVersionRequest) (
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -193,12 +193,12 @@ func (a *MetadataApiService) GetVersionExecute(r MetadataApiGetVersionRequest) (
return localVarReturnValue, localVarHTTPResponse, nil
}
-type MetadataApiIsAliveRequest struct {
+type MetadataAPIIsAliveRequest struct {
ctx context.Context
- ApiService MetadataApi
+ ApiService MetadataAPI
}
-func (r MetadataApiIsAliveRequest) Execute() (*HealthStatus, *http.Response, error) {
+func (r MetadataAPIIsAliveRequest) Execute() (*HealthStatus, *http.Response, error) {
return r.ApiService.IsAliveExecute(r)
}
@@ -215,10 +215,10 @@ Be aware that if you are running multiple nodes of this service, the health stat
refer to the cluster state, only to a single instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return MetadataApiIsAliveRequest
+ @return MetadataAPIIsAliveRequest
*/
-func (a *MetadataApiService) IsAlive(ctx context.Context) MetadataApiIsAliveRequest {
- return MetadataApiIsAliveRequest{
+func (a *MetadataAPIService) IsAlive(ctx context.Context) MetadataAPIIsAliveRequest {
+ return MetadataAPIIsAliveRequest{
ApiService: a,
ctx: ctx,
}
@@ -226,7 +226,7 @@ func (a *MetadataApiService) IsAlive(ctx context.Context) MetadataApiIsAliveRequ
// Execute executes the request
// @return HealthStatus
-func (a *MetadataApiService) IsAliveExecute(r MetadataApiIsAliveRequest) (*HealthStatus, *http.Response, error) {
+func (a *MetadataAPIService) IsAliveExecute(r MetadataAPIIsAliveRequest) (*HealthStatus, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -234,7 +234,7 @@ func (a *MetadataApiService) IsAliveExecute(r MetadataApiIsAliveRequest) (*Healt
localVarReturnValue *HealthStatus
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataApiService.IsAlive")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataAPIService.IsAlive")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -272,9 +272,9 @@ func (a *MetadataApiService) IsAliveExecute(r MetadataApiIsAliveRequest) (*Healt
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -291,7 +291,8 @@ func (a *MetadataApiService) IsAliveExecute(r MetadataApiIsAliveRequest) (*Healt
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v string
@@ -300,7 +301,8 @@ func (a *MetadataApiService) IsAliveExecute(r MetadataApiIsAliveRequest) (*Healt
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -316,12 +318,12 @@ func (a *MetadataApiService) IsAliveExecute(r MetadataApiIsAliveRequest) (*Healt
return localVarReturnValue, localVarHTTPResponse, nil
}
-type MetadataApiIsReadyRequest struct {
+type MetadataAPIIsReadyRequest struct {
ctx context.Context
- ApiService MetadataApi
+ ApiService MetadataAPI
}
-func (r MetadataApiIsReadyRequest) Execute() (*IsReady200Response, *http.Response, error) {
+func (r MetadataAPIIsReadyRequest) Execute() (*IsReady200Response, *http.Response, error) {
return r.ApiService.IsReadyExecute(r)
}
@@ -338,10 +340,10 @@ Be aware that if you are running multiple nodes of Ory Kratos, the health status
refer to the cluster state, only to a single instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return MetadataApiIsReadyRequest
+ @return MetadataAPIIsReadyRequest
*/
-func (a *MetadataApiService) IsReady(ctx context.Context) MetadataApiIsReadyRequest {
- return MetadataApiIsReadyRequest{
+func (a *MetadataAPIService) IsReady(ctx context.Context) MetadataAPIIsReadyRequest {
+ return MetadataAPIIsReadyRequest{
ApiService: a,
ctx: ctx,
}
@@ -349,7 +351,7 @@ func (a *MetadataApiService) IsReady(ctx context.Context) MetadataApiIsReadyRequ
// Execute executes the request
// @return IsReady200Response
-func (a *MetadataApiService) IsReadyExecute(r MetadataApiIsReadyRequest) (*IsReady200Response, *http.Response, error) {
+func (a *MetadataAPIService) IsReadyExecute(r MetadataAPIIsReadyRequest) (*IsReady200Response, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -357,7 +359,7 @@ func (a *MetadataApiService) IsReadyExecute(r MetadataApiIsReadyRequest) (*IsRea
localVarReturnValue *IsReady200Response
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataApiService.IsReady")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataAPIService.IsReady")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -395,9 +397,9 @@ func (a *MetadataApiService) IsReadyExecute(r MetadataApiIsReadyRequest) (*IsRea
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -414,7 +416,8 @@ func (a *MetadataApiService) IsReadyExecute(r MetadataApiIsReadyRequest) (*IsRea
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v string
@@ -423,7 +426,8 @@ func (a *MetadataApiService) IsReadyExecute(r MetadataApiIsReadyRequest) (*IsRea
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
diff --git a/clients/client/go/api_o_auth2.go b/clients/client/go/api_o_auth2.go
index 855e1e0b06d..8b014e9aefc 100644
--- a/clients/client/go/api_o_auth2.go
+++ b/clients/client/go/api_o_auth2.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -14,14 +14,14 @@ package client
import (
"bytes"
"context"
- "io/ioutil"
+ "io"
"net/http"
"net/url"
"strings"
)
-type OAuth2Api interface {
+type OAuth2API interface {
/*
AcceptOAuth2ConsentRequest Accept OAuth 2.0 Consent Request
@@ -44,13 +44,13 @@ The default consent provider is available via the Ory Managed Account Experience
head over to the OAuth 2.0 documentation.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OAuth2ApiAcceptOAuth2ConsentRequestRequest
+ @return OAuth2APIAcceptOAuth2ConsentRequestRequest
*/
- AcceptOAuth2ConsentRequest(ctx context.Context) OAuth2ApiAcceptOAuth2ConsentRequestRequest
+ AcceptOAuth2ConsentRequest(ctx context.Context) OAuth2APIAcceptOAuth2ConsentRequestRequest
// AcceptOAuth2ConsentRequestExecute executes the request
// @return OAuth2RedirectTo
- AcceptOAuth2ConsentRequestExecute(r OAuth2ApiAcceptOAuth2ConsentRequestRequest) (*OAuth2RedirectTo, *http.Response, error)
+ AcceptOAuth2ConsentRequestExecute(r OAuth2APIAcceptOAuth2ConsentRequestRequest) (*OAuth2RedirectTo, *http.Response, error)
/*
AcceptOAuth2LoginRequest Accept OAuth 2.0 Login Request
@@ -68,13 +68,13 @@ a cookie.
The response contains a redirect URL which the login provider should redirect the user-agent to.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OAuth2ApiAcceptOAuth2LoginRequestRequest
+ @return OAuth2APIAcceptOAuth2LoginRequestRequest
*/
- AcceptOAuth2LoginRequest(ctx context.Context) OAuth2ApiAcceptOAuth2LoginRequestRequest
+ AcceptOAuth2LoginRequest(ctx context.Context) OAuth2APIAcceptOAuth2LoginRequestRequest
// AcceptOAuth2LoginRequestExecute executes the request
// @return OAuth2RedirectTo
- AcceptOAuth2LoginRequestExecute(r OAuth2ApiAcceptOAuth2LoginRequestRequest) (*OAuth2RedirectTo, *http.Response, error)
+ AcceptOAuth2LoginRequestExecute(r OAuth2APIAcceptOAuth2LoginRequestRequest) (*OAuth2RedirectTo, *http.Response, error)
/*
AcceptOAuth2LogoutRequest Accept OAuth 2.0 Session Logout Request
@@ -84,13 +84,13 @@ The response contains a redirect URL which the login provider should redirect th
The response contains a redirect URL which the consent provider should redirect the user-agent to.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OAuth2ApiAcceptOAuth2LogoutRequestRequest
+ @return OAuth2APIAcceptOAuth2LogoutRequestRequest
*/
- AcceptOAuth2LogoutRequest(ctx context.Context) OAuth2ApiAcceptOAuth2LogoutRequestRequest
+ AcceptOAuth2LogoutRequest(ctx context.Context) OAuth2APIAcceptOAuth2LogoutRequestRequest
// AcceptOAuth2LogoutRequestExecute executes the request
// @return OAuth2RedirectTo
- AcceptOAuth2LogoutRequestExecute(r OAuth2ApiAcceptOAuth2LogoutRequestRequest) (*OAuth2RedirectTo, *http.Response, error)
+ AcceptOAuth2LogoutRequestExecute(r OAuth2APIAcceptOAuth2LogoutRequestRequest) (*OAuth2RedirectTo, *http.Response, error)
/*
CreateOAuth2Client Create OAuth 2.0 Client
@@ -99,13 +99,13 @@ The response contains a redirect URL which the consent provider should redirect
is generated. The secret is echoed in the response. It is not possible to retrieve it later on.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OAuth2ApiCreateOAuth2ClientRequest
+ @return OAuth2APICreateOAuth2ClientRequest
*/
- CreateOAuth2Client(ctx context.Context) OAuth2ApiCreateOAuth2ClientRequest
+ CreateOAuth2Client(ctx context.Context) OAuth2APICreateOAuth2ClientRequest
// CreateOAuth2ClientExecute executes the request
// @return OAuth2Client
- CreateOAuth2ClientExecute(r OAuth2ApiCreateOAuth2ClientRequest) (*OAuth2Client, *http.Response, error)
+ CreateOAuth2ClientExecute(r OAuth2APICreateOAuth2ClientRequest) (*OAuth2Client, *http.Response, error)
/*
DeleteOAuth2Client Delete OAuth 2.0 Client
@@ -119,12 +119,12 @@ Make sure that this endpoint is well protected and only callable by first-party
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The id of the OAuth 2.0 Client.
- @return OAuth2ApiDeleteOAuth2ClientRequest
+ @return OAuth2APIDeleteOAuth2ClientRequest
*/
- DeleteOAuth2Client(ctx context.Context, id string) OAuth2ApiDeleteOAuth2ClientRequest
+ DeleteOAuth2Client(ctx context.Context, id string) OAuth2APIDeleteOAuth2ClientRequest
// DeleteOAuth2ClientExecute executes the request
- DeleteOAuth2ClientExecute(r OAuth2ApiDeleteOAuth2ClientRequest) (*http.Response, error)
+ DeleteOAuth2ClientExecute(r OAuth2APIDeleteOAuth2ClientRequest) (*http.Response, error)
/*
DeleteOAuth2Token Delete OAuth 2.0 Access Tokens from specific OAuth 2.0 Client
@@ -132,12 +132,12 @@ Make sure that this endpoint is well protected and only callable by first-party
This endpoint deletes OAuth2 access tokens issued to an OAuth 2.0 Client from the database.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OAuth2ApiDeleteOAuth2TokenRequest
+ @return OAuth2APIDeleteOAuth2TokenRequest
*/
- DeleteOAuth2Token(ctx context.Context) OAuth2ApiDeleteOAuth2TokenRequest
+ DeleteOAuth2Token(ctx context.Context) OAuth2APIDeleteOAuth2TokenRequest
// DeleteOAuth2TokenExecute executes the request
- DeleteOAuth2TokenExecute(r OAuth2ApiDeleteOAuth2TokenRequest) (*http.Response, error)
+ DeleteOAuth2TokenExecute(r OAuth2APIDeleteOAuth2TokenRequest) (*http.Response, error)
/*
DeleteTrustedOAuth2JwtGrantIssuer Delete Trusted OAuth2 JWT Bearer Grant Type Issuer
@@ -150,12 +150,12 @@ for OAuth 2.0 Client Authentication and Authorization Grant.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The id of the desired grant
- @return OAuth2ApiDeleteTrustedOAuth2JwtGrantIssuerRequest
+ @return OAuth2APIDeleteTrustedOAuth2JwtGrantIssuerRequest
*/
- DeleteTrustedOAuth2JwtGrantIssuer(ctx context.Context, id string) OAuth2ApiDeleteTrustedOAuth2JwtGrantIssuerRequest
+ DeleteTrustedOAuth2JwtGrantIssuer(ctx context.Context, id string) OAuth2APIDeleteTrustedOAuth2JwtGrantIssuerRequest
// DeleteTrustedOAuth2JwtGrantIssuerExecute executes the request
- DeleteTrustedOAuth2JwtGrantIssuerExecute(r OAuth2ApiDeleteTrustedOAuth2JwtGrantIssuerRequest) (*http.Response, error)
+ DeleteTrustedOAuth2JwtGrantIssuerExecute(r OAuth2APIDeleteTrustedOAuth2JwtGrantIssuerRequest) (*http.Response, error)
/*
GetOAuth2Client Get an OAuth 2.0 Client
@@ -167,13 +167,13 @@ generated for applications which want to consume your OAuth 2.0 or OpenID Connec
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The id of the OAuth 2.0 Client.
- @return OAuth2ApiGetOAuth2ClientRequest
+ @return OAuth2APIGetOAuth2ClientRequest
*/
- GetOAuth2Client(ctx context.Context, id string) OAuth2ApiGetOAuth2ClientRequest
+ GetOAuth2Client(ctx context.Context, id string) OAuth2APIGetOAuth2ClientRequest
// GetOAuth2ClientExecute executes the request
// @return OAuth2Client
- GetOAuth2ClientExecute(r OAuth2ApiGetOAuth2ClientRequest) (*OAuth2Client, *http.Response, error)
+ GetOAuth2ClientExecute(r OAuth2APIGetOAuth2ClientRequest) (*OAuth2Client, *http.Response, error)
/*
GetOAuth2ConsentRequest Get OAuth 2.0 Consent Request
@@ -190,13 +190,13 @@ The default consent provider is available via the Ory Managed Account Experience
head over to the OAuth 2.0 documentation.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OAuth2ApiGetOAuth2ConsentRequestRequest
+ @return OAuth2APIGetOAuth2ConsentRequestRequest
*/
- GetOAuth2ConsentRequest(ctx context.Context) OAuth2ApiGetOAuth2ConsentRequestRequest
+ GetOAuth2ConsentRequest(ctx context.Context) OAuth2APIGetOAuth2ConsentRequestRequest
// GetOAuth2ConsentRequestExecute executes the request
// @return OAuth2ConsentRequest
- GetOAuth2ConsentRequestExecute(r OAuth2ApiGetOAuth2ConsentRequestRequest) (*OAuth2ConsentRequest, *http.Response, error)
+ GetOAuth2ConsentRequestExecute(r OAuth2APIGetOAuth2ConsentRequestRequest) (*OAuth2ConsentRequest, *http.Response, error)
/*
GetOAuth2LoginRequest Get OAuth 2.0 Login Request
@@ -212,13 +212,13 @@ The authentication challenge is appended to the login provider URL to which the
provider uses that challenge to fetch information on the OAuth2 request and then accept or reject the requested authentication process.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OAuth2ApiGetOAuth2LoginRequestRequest
+ @return OAuth2APIGetOAuth2LoginRequestRequest
*/
- GetOAuth2LoginRequest(ctx context.Context) OAuth2ApiGetOAuth2LoginRequestRequest
+ GetOAuth2LoginRequest(ctx context.Context) OAuth2APIGetOAuth2LoginRequestRequest
// GetOAuth2LoginRequestExecute executes the request
// @return OAuth2LoginRequest
- GetOAuth2LoginRequestExecute(r OAuth2ApiGetOAuth2LoginRequestRequest) (*OAuth2LoginRequest, *http.Response, error)
+ GetOAuth2LoginRequestExecute(r OAuth2APIGetOAuth2LoginRequestRequest) (*OAuth2LoginRequest, *http.Response, error)
/*
GetOAuth2LogoutRequest Get OAuth 2.0 Session Logout Request
@@ -226,13 +226,13 @@ provider uses that challenge to fetch information on the OAuth2 request and then
Use this endpoint to fetch an Ory OAuth 2.0 logout request.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OAuth2ApiGetOAuth2LogoutRequestRequest
+ @return OAuth2APIGetOAuth2LogoutRequestRequest
*/
- GetOAuth2LogoutRequest(ctx context.Context) OAuth2ApiGetOAuth2LogoutRequestRequest
+ GetOAuth2LogoutRequest(ctx context.Context) OAuth2APIGetOAuth2LogoutRequestRequest
// GetOAuth2LogoutRequestExecute executes the request
// @return OAuth2LogoutRequest
- GetOAuth2LogoutRequestExecute(r OAuth2ApiGetOAuth2LogoutRequestRequest) (*OAuth2LogoutRequest, *http.Response, error)
+ GetOAuth2LogoutRequestExecute(r OAuth2APIGetOAuth2LogoutRequestRequest) (*OAuth2LogoutRequest, *http.Response, error)
/*
GetTrustedOAuth2JwtGrantIssuer Get Trusted OAuth2 JWT Bearer Grant Type Issuer
@@ -242,13 +242,13 @@ created the trust relationship.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The id of the desired grant
- @return OAuth2ApiGetTrustedOAuth2JwtGrantIssuerRequest
+ @return OAuth2APIGetTrustedOAuth2JwtGrantIssuerRequest
*/
- GetTrustedOAuth2JwtGrantIssuer(ctx context.Context, id string) OAuth2ApiGetTrustedOAuth2JwtGrantIssuerRequest
+ GetTrustedOAuth2JwtGrantIssuer(ctx context.Context, id string) OAuth2APIGetTrustedOAuth2JwtGrantIssuerRequest
// GetTrustedOAuth2JwtGrantIssuerExecute executes the request
// @return TrustedOAuth2JwtGrantIssuer
- GetTrustedOAuth2JwtGrantIssuerExecute(r OAuth2ApiGetTrustedOAuth2JwtGrantIssuerRequest) (*TrustedOAuth2JwtGrantIssuer, *http.Response, error)
+ GetTrustedOAuth2JwtGrantIssuerExecute(r OAuth2APIGetTrustedOAuth2JwtGrantIssuerRequest) (*TrustedOAuth2JwtGrantIssuer, *http.Response, error)
/*
IntrospectOAuth2Token Introspect OAuth2 Access and Refresh Tokens
@@ -258,13 +258,13 @@ is neither expired nor revoked. If a token is active, additional information on
set additional data for a token by setting `session.access_token` during the consent flow.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OAuth2ApiIntrospectOAuth2TokenRequest
+ @return OAuth2APIIntrospectOAuth2TokenRequest
*/
- IntrospectOAuth2Token(ctx context.Context) OAuth2ApiIntrospectOAuth2TokenRequest
+ IntrospectOAuth2Token(ctx context.Context) OAuth2APIIntrospectOAuth2TokenRequest
// IntrospectOAuth2TokenExecute executes the request
// @return IntrospectedOAuth2Token
- IntrospectOAuth2TokenExecute(r OAuth2ApiIntrospectOAuth2TokenRequest) (*IntrospectedOAuth2Token, *http.Response, error)
+ IntrospectOAuth2TokenExecute(r OAuth2APIIntrospectOAuth2TokenRequest) (*IntrospectedOAuth2Token, *http.Response, error)
/*
ListOAuth2Clients List OAuth 2.0 Clients
@@ -273,13 +273,13 @@ set additional data for a token by setting `session.access_token` during the con
As a default it lists the first 100 clients.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OAuth2ApiListOAuth2ClientsRequest
+ @return OAuth2APIListOAuth2ClientsRequest
*/
- ListOAuth2Clients(ctx context.Context) OAuth2ApiListOAuth2ClientsRequest
+ ListOAuth2Clients(ctx context.Context) OAuth2APIListOAuth2ClientsRequest
// ListOAuth2ClientsExecute executes the request
// @return []OAuth2Client
- ListOAuth2ClientsExecute(r OAuth2ApiListOAuth2ClientsRequest) ([]OAuth2Client, *http.Response, error)
+ ListOAuth2ClientsExecute(r OAuth2APIListOAuth2ClientsRequest) ([]OAuth2Client, *http.Response, error)
/*
ListOAuth2ConsentSessions List OAuth 2.0 Consent Sessions of a Subject
@@ -289,13 +289,13 @@ If the subject is unknown or has not granted any consent sessions yet, the endpo
empty JSON array with status code 200 OK.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OAuth2ApiListOAuth2ConsentSessionsRequest
+ @return OAuth2APIListOAuth2ConsentSessionsRequest
*/
- ListOAuth2ConsentSessions(ctx context.Context) OAuth2ApiListOAuth2ConsentSessionsRequest
+ ListOAuth2ConsentSessions(ctx context.Context) OAuth2APIListOAuth2ConsentSessionsRequest
// ListOAuth2ConsentSessionsExecute executes the request
// @return []OAuth2ConsentSession
- ListOAuth2ConsentSessionsExecute(r OAuth2ApiListOAuth2ConsentSessionsRequest) ([]OAuth2ConsentSession, *http.Response, error)
+ ListOAuth2ConsentSessionsExecute(r OAuth2APIListOAuth2ConsentSessionsRequest) ([]OAuth2ConsentSession, *http.Response, error)
/*
ListTrustedOAuth2JwtGrantIssuers List Trusted OAuth2 JWT Bearer Grant Type Issuers
@@ -303,13 +303,13 @@ empty JSON array with status code 200 OK.
Use this endpoint to list all trusted JWT Bearer Grant Type Issuers.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OAuth2ApiListTrustedOAuth2JwtGrantIssuersRequest
+ @return OAuth2APIListTrustedOAuth2JwtGrantIssuersRequest
*/
- ListTrustedOAuth2JwtGrantIssuers(ctx context.Context) OAuth2ApiListTrustedOAuth2JwtGrantIssuersRequest
+ ListTrustedOAuth2JwtGrantIssuers(ctx context.Context) OAuth2APIListTrustedOAuth2JwtGrantIssuersRequest
// ListTrustedOAuth2JwtGrantIssuersExecute executes the request
// @return []TrustedOAuth2JwtGrantIssuer
- ListTrustedOAuth2JwtGrantIssuersExecute(r OAuth2ApiListTrustedOAuth2JwtGrantIssuersRequest) ([]TrustedOAuth2JwtGrantIssuer, *http.Response, error)
+ ListTrustedOAuth2JwtGrantIssuersExecute(r OAuth2APIListTrustedOAuth2JwtGrantIssuersRequest) ([]TrustedOAuth2JwtGrantIssuer, *http.Response, error)
/*
OAuth2Authorize OAuth 2.0 Authorize Endpoint
@@ -320,13 +320,13 @@ available for any programming language. You can find a list of libraries at http
The Ory SDK is not yet able to this endpoint properly.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OAuth2ApiOAuth2AuthorizeRequest
+ @return OAuth2APIOAuth2AuthorizeRequest
*/
- OAuth2Authorize(ctx context.Context) OAuth2ApiOAuth2AuthorizeRequest
+ OAuth2Authorize(ctx context.Context) OAuth2APIOAuth2AuthorizeRequest
// OAuth2AuthorizeExecute executes the request
// @return ErrorOAuth2
- OAuth2AuthorizeExecute(r OAuth2ApiOAuth2AuthorizeRequest) (*ErrorOAuth2, *http.Response, error)
+ OAuth2AuthorizeExecute(r OAuth2APIOAuth2AuthorizeRequest) (*ErrorOAuth2, *http.Response, error)
/*
Oauth2TokenExchange The OAuth 2.0 Token Endpoint
@@ -337,13 +337,13 @@ available for any programming language. You can find a list of libraries here ht
The Ory SDK is not yet able to this endpoint properly.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OAuth2ApiOauth2TokenExchangeRequest
+ @return OAuth2APIOauth2TokenExchangeRequest
*/
- Oauth2TokenExchange(ctx context.Context) OAuth2ApiOauth2TokenExchangeRequest
+ Oauth2TokenExchange(ctx context.Context) OAuth2APIOauth2TokenExchangeRequest
// Oauth2TokenExchangeExecute executes the request
// @return OAuth2TokenExchange
- Oauth2TokenExchangeExecute(r OAuth2ApiOauth2TokenExchangeRequest) (*OAuth2TokenExchange, *http.Response, error)
+ Oauth2TokenExchangeExecute(r OAuth2APIOauth2TokenExchangeRequest) (*OAuth2TokenExchange, *http.Response, error)
/*
PatchOAuth2Client Patch OAuth 2.0 Client
@@ -357,13 +357,13 @@ generated for applications which want to consume your OAuth 2.0 or OpenID Connec
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The id of the OAuth 2.0 Client.
- @return OAuth2ApiPatchOAuth2ClientRequest
+ @return OAuth2APIPatchOAuth2ClientRequest
*/
- PatchOAuth2Client(ctx context.Context, id string) OAuth2ApiPatchOAuth2ClientRequest
+ PatchOAuth2Client(ctx context.Context, id string) OAuth2APIPatchOAuth2ClientRequest
// PatchOAuth2ClientExecute executes the request
// @return OAuth2Client
- PatchOAuth2ClientExecute(r OAuth2ApiPatchOAuth2ClientRequest) (*OAuth2Client, *http.Response, error)
+ PatchOAuth2ClientExecute(r OAuth2APIPatchOAuth2ClientRequest) (*OAuth2Client, *http.Response, error)
/*
RejectOAuth2ConsentRequest Reject OAuth 2.0 Consent Request
@@ -385,13 +385,13 @@ The default consent provider is available via the Ory Managed Account Experience
head over to the OAuth 2.0 documentation.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OAuth2ApiRejectOAuth2ConsentRequestRequest
+ @return OAuth2APIRejectOAuth2ConsentRequestRequest
*/
- RejectOAuth2ConsentRequest(ctx context.Context) OAuth2ApiRejectOAuth2ConsentRequestRequest
+ RejectOAuth2ConsentRequest(ctx context.Context) OAuth2APIRejectOAuth2ConsentRequestRequest
// RejectOAuth2ConsentRequestExecute executes the request
// @return OAuth2RedirectTo
- RejectOAuth2ConsentRequestExecute(r OAuth2ApiRejectOAuth2ConsentRequestRequest) (*OAuth2RedirectTo, *http.Response, error)
+ RejectOAuth2ConsentRequestExecute(r OAuth2APIRejectOAuth2ConsentRequestRequest) (*OAuth2RedirectTo, *http.Response, error)
/*
RejectOAuth2LoginRequest Reject OAuth 2.0 Login Request
@@ -408,13 +408,13 @@ was denied.
The response contains a redirect URL which the login provider should redirect the user-agent to.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OAuth2ApiRejectOAuth2LoginRequestRequest
+ @return OAuth2APIRejectOAuth2LoginRequestRequest
*/
- RejectOAuth2LoginRequest(ctx context.Context) OAuth2ApiRejectOAuth2LoginRequestRequest
+ RejectOAuth2LoginRequest(ctx context.Context) OAuth2APIRejectOAuth2LoginRequestRequest
// RejectOAuth2LoginRequestExecute executes the request
// @return OAuth2RedirectTo
- RejectOAuth2LoginRequestExecute(r OAuth2ApiRejectOAuth2LoginRequestRequest) (*OAuth2RedirectTo, *http.Response, error)
+ RejectOAuth2LoginRequestExecute(r OAuth2APIRejectOAuth2LoginRequestRequest) (*OAuth2RedirectTo, *http.Response, error)
/*
RejectOAuth2LogoutRequest Reject OAuth 2.0 Session Logout Request
@@ -425,12 +425,12 @@ No HTTP request body is required.
The response is empty as the logout provider has to chose what action to perform next.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OAuth2ApiRejectOAuth2LogoutRequestRequest
+ @return OAuth2APIRejectOAuth2LogoutRequestRequest
*/
- RejectOAuth2LogoutRequest(ctx context.Context) OAuth2ApiRejectOAuth2LogoutRequestRequest
+ RejectOAuth2LogoutRequest(ctx context.Context) OAuth2APIRejectOAuth2LogoutRequestRequest
// RejectOAuth2LogoutRequestExecute executes the request
- RejectOAuth2LogoutRequestExecute(r OAuth2ApiRejectOAuth2LogoutRequestRequest) (*http.Response, error)
+ RejectOAuth2LogoutRequestExecute(r OAuth2APIRejectOAuth2LogoutRequestRequest) (*http.Response, error)
/*
RevokeOAuth2ConsentSessions Revoke OAuth 2.0 Consent Sessions of a Subject
@@ -439,12 +439,12 @@ The response is empty as the logout provider has to chose what action to perform
associated OAuth 2.0 Access Tokens. You may also only revoke sessions for a specific OAuth 2.0 Client ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OAuth2ApiRevokeOAuth2ConsentSessionsRequest
+ @return OAuth2APIRevokeOAuth2ConsentSessionsRequest
*/
- RevokeOAuth2ConsentSessions(ctx context.Context) OAuth2ApiRevokeOAuth2ConsentSessionsRequest
+ RevokeOAuth2ConsentSessions(ctx context.Context) OAuth2APIRevokeOAuth2ConsentSessionsRequest
// RevokeOAuth2ConsentSessionsExecute executes the request
- RevokeOAuth2ConsentSessionsExecute(r OAuth2ApiRevokeOAuth2ConsentSessionsRequest) (*http.Response, error)
+ RevokeOAuth2ConsentSessionsExecute(r OAuth2APIRevokeOAuth2ConsentSessionsRequest) (*http.Response, error)
/*
RevokeOAuth2LoginSessions Revokes OAuth 2.0 Login Sessions by either a Subject or a SessionID
@@ -459,12 +459,12 @@ Alternatively, you can send a SessionID via `sid` query param, in which case, on
to that SessionID is revoked. OpenID Connect Back-channel logout is performed in this case.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OAuth2ApiRevokeOAuth2LoginSessionsRequest
+ @return OAuth2APIRevokeOAuth2LoginSessionsRequest
*/
- RevokeOAuth2LoginSessions(ctx context.Context) OAuth2ApiRevokeOAuth2LoginSessionsRequest
+ RevokeOAuth2LoginSessions(ctx context.Context) OAuth2APIRevokeOAuth2LoginSessionsRequest
// RevokeOAuth2LoginSessionsExecute executes the request
- RevokeOAuth2LoginSessionsExecute(r OAuth2ApiRevokeOAuth2LoginSessionsRequest) (*http.Response, error)
+ RevokeOAuth2LoginSessionsExecute(r OAuth2APIRevokeOAuth2LoginSessionsRequest) (*http.Response, error)
/*
RevokeOAuth2Token Revoke OAuth 2.0 Access or Refresh Token
@@ -475,12 +475,12 @@ Revoking a refresh token also invalidates the access token that was created with
the client the token was generated for.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OAuth2ApiRevokeOAuth2TokenRequest
+ @return OAuth2APIRevokeOAuth2TokenRequest
*/
- RevokeOAuth2Token(ctx context.Context) OAuth2ApiRevokeOAuth2TokenRequest
+ RevokeOAuth2Token(ctx context.Context) OAuth2APIRevokeOAuth2TokenRequest
// RevokeOAuth2TokenExecute executes the request
- RevokeOAuth2TokenExecute(r OAuth2ApiRevokeOAuth2TokenRequest) (*http.Response, error)
+ RevokeOAuth2TokenExecute(r OAuth2APIRevokeOAuth2TokenRequest) (*http.Response, error)
/*
SetOAuth2Client Set OAuth 2.0 Client
@@ -495,13 +495,13 @@ generated for applications which want to consume your OAuth 2.0 or OpenID Connec
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id OAuth 2.0 Client ID
- @return OAuth2ApiSetOAuth2ClientRequest
+ @return OAuth2APISetOAuth2ClientRequest
*/
- SetOAuth2Client(ctx context.Context, id string) OAuth2ApiSetOAuth2ClientRequest
+ SetOAuth2Client(ctx context.Context, id string) OAuth2APISetOAuth2ClientRequest
// SetOAuth2ClientExecute executes the request
// @return OAuth2Client
- SetOAuth2ClientExecute(r OAuth2ApiSetOAuth2ClientRequest) (*OAuth2Client, *http.Response, error)
+ SetOAuth2ClientExecute(r OAuth2APISetOAuth2ClientRequest) (*OAuth2Client, *http.Response, error)
/*
SetOAuth2ClientLifespans Set OAuth2 Client Token Lifespans
@@ -510,13 +510,13 @@ generated for applications which want to consume your OAuth 2.0 or OpenID Connec
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id OAuth 2.0 Client ID
- @return OAuth2ApiSetOAuth2ClientLifespansRequest
+ @return OAuth2APISetOAuth2ClientLifespansRequest
*/
- SetOAuth2ClientLifespans(ctx context.Context, id string) OAuth2ApiSetOAuth2ClientLifespansRequest
+ SetOAuth2ClientLifespans(ctx context.Context, id string) OAuth2APISetOAuth2ClientLifespansRequest
// SetOAuth2ClientLifespansExecute executes the request
// @return OAuth2Client
- SetOAuth2ClientLifespansExecute(r OAuth2ApiSetOAuth2ClientLifespansRequest) (*OAuth2Client, *http.Response, error)
+ SetOAuth2ClientLifespansExecute(r OAuth2APISetOAuth2ClientLifespansRequest) (*OAuth2Client, *http.Response, error)
/*
TrustOAuth2JwtGrantIssuer Trust OAuth2 JWT Bearer Grant Type Issuer
@@ -526,37 +526,37 @@ to perform JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication
and Authorization Grants [RFC7523](https://datatracker.ietf.org/doc/html/rfc7523).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OAuth2ApiTrustOAuth2JwtGrantIssuerRequest
+ @return OAuth2APITrustOAuth2JwtGrantIssuerRequest
*/
- TrustOAuth2JwtGrantIssuer(ctx context.Context) OAuth2ApiTrustOAuth2JwtGrantIssuerRequest
+ TrustOAuth2JwtGrantIssuer(ctx context.Context) OAuth2APITrustOAuth2JwtGrantIssuerRequest
// TrustOAuth2JwtGrantIssuerExecute executes the request
// @return TrustedOAuth2JwtGrantIssuer
- TrustOAuth2JwtGrantIssuerExecute(r OAuth2ApiTrustOAuth2JwtGrantIssuerRequest) (*TrustedOAuth2JwtGrantIssuer, *http.Response, error)
+ TrustOAuth2JwtGrantIssuerExecute(r OAuth2APITrustOAuth2JwtGrantIssuerRequest) (*TrustedOAuth2JwtGrantIssuer, *http.Response, error)
}
-// OAuth2ApiService OAuth2Api service
-type OAuth2ApiService service
+// OAuth2APIService OAuth2API service
+type OAuth2APIService service
-type OAuth2ApiAcceptOAuth2ConsentRequestRequest struct {
+type OAuth2APIAcceptOAuth2ConsentRequestRequest struct {
ctx context.Context
- ApiService OAuth2Api
+ ApiService OAuth2API
consentChallenge *string
acceptOAuth2ConsentRequest *AcceptOAuth2ConsentRequest
}
// OAuth 2.0 Consent Request Challenge
-func (r OAuth2ApiAcceptOAuth2ConsentRequestRequest) ConsentChallenge(consentChallenge string) OAuth2ApiAcceptOAuth2ConsentRequestRequest {
+func (r OAuth2APIAcceptOAuth2ConsentRequestRequest) ConsentChallenge(consentChallenge string) OAuth2APIAcceptOAuth2ConsentRequestRequest {
r.consentChallenge = &consentChallenge
return r
}
-func (r OAuth2ApiAcceptOAuth2ConsentRequestRequest) AcceptOAuth2ConsentRequest(acceptOAuth2ConsentRequest AcceptOAuth2ConsentRequest) OAuth2ApiAcceptOAuth2ConsentRequestRequest {
+func (r OAuth2APIAcceptOAuth2ConsentRequestRequest) AcceptOAuth2ConsentRequest(acceptOAuth2ConsentRequest AcceptOAuth2ConsentRequest) OAuth2APIAcceptOAuth2ConsentRequestRequest {
r.acceptOAuth2ConsentRequest = &acceptOAuth2ConsentRequest
return r
}
-func (r OAuth2ApiAcceptOAuth2ConsentRequestRequest) Execute() (*OAuth2RedirectTo, *http.Response, error) {
+func (r OAuth2APIAcceptOAuth2ConsentRequestRequest) Execute() (*OAuth2RedirectTo, *http.Response, error) {
return r.ApiService.AcceptOAuth2ConsentRequestExecute(r)
}
@@ -581,10 +581,10 @@ The default consent provider is available via the Ory Managed Account Experience
head over to the OAuth 2.0 documentation.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OAuth2ApiAcceptOAuth2ConsentRequestRequest
+ @return OAuth2APIAcceptOAuth2ConsentRequestRequest
*/
-func (a *OAuth2ApiService) AcceptOAuth2ConsentRequest(ctx context.Context) OAuth2ApiAcceptOAuth2ConsentRequestRequest {
- return OAuth2ApiAcceptOAuth2ConsentRequestRequest{
+func (a *OAuth2APIService) AcceptOAuth2ConsentRequest(ctx context.Context) OAuth2APIAcceptOAuth2ConsentRequestRequest {
+ return OAuth2APIAcceptOAuth2ConsentRequestRequest{
ApiService: a,
ctx: ctx,
}
@@ -592,7 +592,7 @@ func (a *OAuth2ApiService) AcceptOAuth2ConsentRequest(ctx context.Context) OAuth
// Execute executes the request
// @return OAuth2RedirectTo
-func (a *OAuth2ApiService) AcceptOAuth2ConsentRequestExecute(r OAuth2ApiAcceptOAuth2ConsentRequestRequest) (*OAuth2RedirectTo, *http.Response, error) {
+func (a *OAuth2APIService) AcceptOAuth2ConsentRequestExecute(r OAuth2APIAcceptOAuth2ConsentRequestRequest) (*OAuth2RedirectTo, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
@@ -600,7 +600,7 @@ func (a *OAuth2ApiService) AcceptOAuth2ConsentRequestExecute(r OAuth2ApiAcceptOA
localVarReturnValue *OAuth2RedirectTo
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2ApiService.AcceptOAuth2ConsentRequest")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2APIService.AcceptOAuth2ConsentRequest")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -614,7 +614,7 @@ func (a *OAuth2ApiService) AcceptOAuth2ConsentRequestExecute(r OAuth2ApiAcceptOA
return localVarReturnValue, nil, reportError("consentChallenge is required and must be specified")
}
- localVarQueryParams.Add("consent_challenge", parameterToString(*r.consentChallenge, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "consent_challenge", r.consentChallenge, "")
// to determine the Content-Type header
localVarHTTPContentTypes := []string{"application/json"}
@@ -644,9 +644,9 @@ func (a *OAuth2ApiService) AcceptOAuth2ConsentRequestExecute(r OAuth2ApiAcceptOA
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -662,7 +662,8 @@ func (a *OAuth2ApiService) AcceptOAuth2ConsentRequestExecute(r OAuth2ApiAcceptOA
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -678,25 +679,25 @@ func (a *OAuth2ApiService) AcceptOAuth2ConsentRequestExecute(r OAuth2ApiAcceptOA
return localVarReturnValue, localVarHTTPResponse, nil
}
-type OAuth2ApiAcceptOAuth2LoginRequestRequest struct {
+type OAuth2APIAcceptOAuth2LoginRequestRequest struct {
ctx context.Context
- ApiService OAuth2Api
+ ApiService OAuth2API
loginChallenge *string
acceptOAuth2LoginRequest *AcceptOAuth2LoginRequest
}
// OAuth 2.0 Login Request Challenge
-func (r OAuth2ApiAcceptOAuth2LoginRequestRequest) LoginChallenge(loginChallenge string) OAuth2ApiAcceptOAuth2LoginRequestRequest {
+func (r OAuth2APIAcceptOAuth2LoginRequestRequest) LoginChallenge(loginChallenge string) OAuth2APIAcceptOAuth2LoginRequestRequest {
r.loginChallenge = &loginChallenge
return r
}
-func (r OAuth2ApiAcceptOAuth2LoginRequestRequest) AcceptOAuth2LoginRequest(acceptOAuth2LoginRequest AcceptOAuth2LoginRequest) OAuth2ApiAcceptOAuth2LoginRequestRequest {
+func (r OAuth2APIAcceptOAuth2LoginRequestRequest) AcceptOAuth2LoginRequest(acceptOAuth2LoginRequest AcceptOAuth2LoginRequest) OAuth2APIAcceptOAuth2LoginRequestRequest {
r.acceptOAuth2LoginRequest = &acceptOAuth2LoginRequest
return r
}
-func (r OAuth2ApiAcceptOAuth2LoginRequestRequest) Execute() (*OAuth2RedirectTo, *http.Response, error) {
+func (r OAuth2APIAcceptOAuth2LoginRequestRequest) Execute() (*OAuth2RedirectTo, *http.Response, error) {
return r.ApiService.AcceptOAuth2LoginRequestExecute(r)
}
@@ -716,10 +717,10 @@ a cookie.
The response contains a redirect URL which the login provider should redirect the user-agent to.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OAuth2ApiAcceptOAuth2LoginRequestRequest
+ @return OAuth2APIAcceptOAuth2LoginRequestRequest
*/
-func (a *OAuth2ApiService) AcceptOAuth2LoginRequest(ctx context.Context) OAuth2ApiAcceptOAuth2LoginRequestRequest {
- return OAuth2ApiAcceptOAuth2LoginRequestRequest{
+func (a *OAuth2APIService) AcceptOAuth2LoginRequest(ctx context.Context) OAuth2APIAcceptOAuth2LoginRequestRequest {
+ return OAuth2APIAcceptOAuth2LoginRequestRequest{
ApiService: a,
ctx: ctx,
}
@@ -727,7 +728,7 @@ func (a *OAuth2ApiService) AcceptOAuth2LoginRequest(ctx context.Context) OAuth2A
// Execute executes the request
// @return OAuth2RedirectTo
-func (a *OAuth2ApiService) AcceptOAuth2LoginRequestExecute(r OAuth2ApiAcceptOAuth2LoginRequestRequest) (*OAuth2RedirectTo, *http.Response, error) {
+func (a *OAuth2APIService) AcceptOAuth2LoginRequestExecute(r OAuth2APIAcceptOAuth2LoginRequestRequest) (*OAuth2RedirectTo, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
@@ -735,7 +736,7 @@ func (a *OAuth2ApiService) AcceptOAuth2LoginRequestExecute(r OAuth2ApiAcceptOAut
localVarReturnValue *OAuth2RedirectTo
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2ApiService.AcceptOAuth2LoginRequest")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2APIService.AcceptOAuth2LoginRequest")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -749,7 +750,7 @@ func (a *OAuth2ApiService) AcceptOAuth2LoginRequestExecute(r OAuth2ApiAcceptOAut
return localVarReturnValue, nil, reportError("loginChallenge is required and must be specified")
}
- localVarQueryParams.Add("login_challenge", parameterToString(*r.loginChallenge, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "login_challenge", r.loginChallenge, "")
// to determine the Content-Type header
localVarHTTPContentTypes := []string{"application/json"}
@@ -779,9 +780,9 @@ func (a *OAuth2ApiService) AcceptOAuth2LoginRequestExecute(r OAuth2ApiAcceptOAut
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -797,7 +798,8 @@ func (a *OAuth2ApiService) AcceptOAuth2LoginRequestExecute(r OAuth2ApiAcceptOAut
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -813,19 +815,19 @@ func (a *OAuth2ApiService) AcceptOAuth2LoginRequestExecute(r OAuth2ApiAcceptOAut
return localVarReturnValue, localVarHTTPResponse, nil
}
-type OAuth2ApiAcceptOAuth2LogoutRequestRequest struct {
+type OAuth2APIAcceptOAuth2LogoutRequestRequest struct {
ctx context.Context
- ApiService OAuth2Api
+ ApiService OAuth2API
logoutChallenge *string
}
// OAuth 2.0 Logout Request Challenge
-func (r OAuth2ApiAcceptOAuth2LogoutRequestRequest) LogoutChallenge(logoutChallenge string) OAuth2ApiAcceptOAuth2LogoutRequestRequest {
+func (r OAuth2APIAcceptOAuth2LogoutRequestRequest) LogoutChallenge(logoutChallenge string) OAuth2APIAcceptOAuth2LogoutRequestRequest {
r.logoutChallenge = &logoutChallenge
return r
}
-func (r OAuth2ApiAcceptOAuth2LogoutRequestRequest) Execute() (*OAuth2RedirectTo, *http.Response, error) {
+func (r OAuth2APIAcceptOAuth2LogoutRequestRequest) Execute() (*OAuth2RedirectTo, *http.Response, error) {
return r.ApiService.AcceptOAuth2LogoutRequestExecute(r)
}
@@ -837,10 +839,10 @@ When a user or an application requests Ory OAuth 2.0 to remove the session state
The response contains a redirect URL which the consent provider should redirect the user-agent to.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OAuth2ApiAcceptOAuth2LogoutRequestRequest
+ @return OAuth2APIAcceptOAuth2LogoutRequestRequest
*/
-func (a *OAuth2ApiService) AcceptOAuth2LogoutRequest(ctx context.Context) OAuth2ApiAcceptOAuth2LogoutRequestRequest {
- return OAuth2ApiAcceptOAuth2LogoutRequestRequest{
+func (a *OAuth2APIService) AcceptOAuth2LogoutRequest(ctx context.Context) OAuth2APIAcceptOAuth2LogoutRequestRequest {
+ return OAuth2APIAcceptOAuth2LogoutRequestRequest{
ApiService: a,
ctx: ctx,
}
@@ -848,7 +850,7 @@ func (a *OAuth2ApiService) AcceptOAuth2LogoutRequest(ctx context.Context) OAuth2
// Execute executes the request
// @return OAuth2RedirectTo
-func (a *OAuth2ApiService) AcceptOAuth2LogoutRequestExecute(r OAuth2ApiAcceptOAuth2LogoutRequestRequest) (*OAuth2RedirectTo, *http.Response, error) {
+func (a *OAuth2APIService) AcceptOAuth2LogoutRequestExecute(r OAuth2APIAcceptOAuth2LogoutRequestRequest) (*OAuth2RedirectTo, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
@@ -856,7 +858,7 @@ func (a *OAuth2ApiService) AcceptOAuth2LogoutRequestExecute(r OAuth2ApiAcceptOAu
localVarReturnValue *OAuth2RedirectTo
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2ApiService.AcceptOAuth2LogoutRequest")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2APIService.AcceptOAuth2LogoutRequest")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -870,7 +872,7 @@ func (a *OAuth2ApiService) AcceptOAuth2LogoutRequestExecute(r OAuth2ApiAcceptOAu
return localVarReturnValue, nil, reportError("logoutChallenge is required and must be specified")
}
- localVarQueryParams.Add("logout_challenge", parameterToString(*r.logoutChallenge, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "logout_challenge", r.logoutChallenge, "")
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -898,9 +900,9 @@ func (a *OAuth2ApiService) AcceptOAuth2LogoutRequestExecute(r OAuth2ApiAcceptOAu
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -916,7 +918,8 @@ func (a *OAuth2ApiService) AcceptOAuth2LogoutRequestExecute(r OAuth2ApiAcceptOAu
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -932,19 +935,19 @@ func (a *OAuth2ApiService) AcceptOAuth2LogoutRequestExecute(r OAuth2ApiAcceptOAu
return localVarReturnValue, localVarHTTPResponse, nil
}
-type OAuth2ApiCreateOAuth2ClientRequest struct {
+type OAuth2APICreateOAuth2ClientRequest struct {
ctx context.Context
- ApiService OAuth2Api
+ ApiService OAuth2API
oAuth2Client *OAuth2Client
}
// OAuth 2.0 Client Request Body
-func (r OAuth2ApiCreateOAuth2ClientRequest) OAuth2Client(oAuth2Client OAuth2Client) OAuth2ApiCreateOAuth2ClientRequest {
+func (r OAuth2APICreateOAuth2ClientRequest) OAuth2Client(oAuth2Client OAuth2Client) OAuth2APICreateOAuth2ClientRequest {
r.oAuth2Client = &oAuth2Client
return r
}
-func (r OAuth2ApiCreateOAuth2ClientRequest) Execute() (*OAuth2Client, *http.Response, error) {
+func (r OAuth2APICreateOAuth2ClientRequest) Execute() (*OAuth2Client, *http.Response, error) {
return r.ApiService.CreateOAuth2ClientExecute(r)
}
@@ -955,10 +958,10 @@ Create a new OAuth 2.0 client. If you pass `client_secret` the secret is used, o
is generated. The secret is echoed in the response. It is not possible to retrieve it later on.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OAuth2ApiCreateOAuth2ClientRequest
+ @return OAuth2APICreateOAuth2ClientRequest
*/
-func (a *OAuth2ApiService) CreateOAuth2Client(ctx context.Context) OAuth2ApiCreateOAuth2ClientRequest {
- return OAuth2ApiCreateOAuth2ClientRequest{
+func (a *OAuth2APIService) CreateOAuth2Client(ctx context.Context) OAuth2APICreateOAuth2ClientRequest {
+ return OAuth2APICreateOAuth2ClientRequest{
ApiService: a,
ctx: ctx,
}
@@ -966,7 +969,7 @@ func (a *OAuth2ApiService) CreateOAuth2Client(ctx context.Context) OAuth2ApiCrea
// Execute executes the request
// @return OAuth2Client
-func (a *OAuth2ApiService) CreateOAuth2ClientExecute(r OAuth2ApiCreateOAuth2ClientRequest) (*OAuth2Client, *http.Response, error) {
+func (a *OAuth2APIService) CreateOAuth2ClientExecute(r OAuth2APICreateOAuth2ClientRequest) (*OAuth2Client, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
@@ -974,7 +977,7 @@ func (a *OAuth2ApiService) CreateOAuth2ClientExecute(r OAuth2ApiCreateOAuth2Clie
localVarReturnValue *OAuth2Client
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2ApiService.CreateOAuth2Client")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2APIService.CreateOAuth2Client")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -1017,9 +1020,9 @@ func (a *OAuth2ApiService) CreateOAuth2ClientExecute(r OAuth2ApiCreateOAuth2Clie
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -1036,7 +1039,8 @@ func (a *OAuth2ApiService) CreateOAuth2ClientExecute(r OAuth2ApiCreateOAuth2Clie
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorOAuth2
@@ -1045,7 +1049,8 @@ func (a *OAuth2ApiService) CreateOAuth2ClientExecute(r OAuth2ApiCreateOAuth2Clie
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -1061,13 +1066,13 @@ func (a *OAuth2ApiService) CreateOAuth2ClientExecute(r OAuth2ApiCreateOAuth2Clie
return localVarReturnValue, localVarHTTPResponse, nil
}
-type OAuth2ApiDeleteOAuth2ClientRequest struct {
+type OAuth2APIDeleteOAuth2ClientRequest struct {
ctx context.Context
- ApiService OAuth2Api
+ ApiService OAuth2API
id string
}
-func (r OAuth2ApiDeleteOAuth2ClientRequest) Execute() (*http.Response, error) {
+func (r OAuth2APIDeleteOAuth2ClientRequest) Execute() (*http.Response, error) {
return r.ApiService.DeleteOAuth2ClientExecute(r)
}
@@ -1083,10 +1088,10 @@ Make sure that this endpoint is well protected and only callable by first-party
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The id of the OAuth 2.0 Client.
- @return OAuth2ApiDeleteOAuth2ClientRequest
+ @return OAuth2APIDeleteOAuth2ClientRequest
*/
-func (a *OAuth2ApiService) DeleteOAuth2Client(ctx context.Context, id string) OAuth2ApiDeleteOAuth2ClientRequest {
- return OAuth2ApiDeleteOAuth2ClientRequest{
+func (a *OAuth2APIService) DeleteOAuth2Client(ctx context.Context, id string) OAuth2APIDeleteOAuth2ClientRequest {
+ return OAuth2APIDeleteOAuth2ClientRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -1094,20 +1099,20 @@ func (a *OAuth2ApiService) DeleteOAuth2Client(ctx context.Context, id string) OA
}
// Execute executes the request
-func (a *OAuth2ApiService) DeleteOAuth2ClientExecute(r OAuth2ApiDeleteOAuth2ClientRequest) (*http.Response, error) {
+func (a *OAuth2APIService) DeleteOAuth2ClientExecute(r OAuth2APIDeleteOAuth2ClientRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2ApiService.DeleteOAuth2Client")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2APIService.DeleteOAuth2Client")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/admin/clients/{id}"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -1140,9 +1145,9 @@ func (a *OAuth2ApiService) DeleteOAuth2ClientExecute(r OAuth2ApiDeleteOAuth2Clie
return localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarHTTPResponse, err
}
@@ -1158,26 +1163,27 @@ func (a *OAuth2ApiService) DeleteOAuth2ClientExecute(r OAuth2ApiDeleteOAuth2Clie
newErr.error = err.Error()
return localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarHTTPResponse, newErr
}
return localVarHTTPResponse, nil
}
-type OAuth2ApiDeleteOAuth2TokenRequest struct {
+type OAuth2APIDeleteOAuth2TokenRequest struct {
ctx context.Context
- ApiService OAuth2Api
+ ApiService OAuth2API
clientId *string
}
// OAuth 2.0 Client ID
-func (r OAuth2ApiDeleteOAuth2TokenRequest) ClientId(clientId string) OAuth2ApiDeleteOAuth2TokenRequest {
+func (r OAuth2APIDeleteOAuth2TokenRequest) ClientId(clientId string) OAuth2APIDeleteOAuth2TokenRequest {
r.clientId = &clientId
return r
}
-func (r OAuth2ApiDeleteOAuth2TokenRequest) Execute() (*http.Response, error) {
+func (r OAuth2APIDeleteOAuth2TokenRequest) Execute() (*http.Response, error) {
return r.ApiService.DeleteOAuth2TokenExecute(r)
}
@@ -1187,24 +1193,24 @@ DeleteOAuth2Token Delete OAuth 2.0 Access Tokens from specific OAuth 2.0 Client
This endpoint deletes OAuth2 access tokens issued to an OAuth 2.0 Client from the database.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OAuth2ApiDeleteOAuth2TokenRequest
+ @return OAuth2APIDeleteOAuth2TokenRequest
*/
-func (a *OAuth2ApiService) DeleteOAuth2Token(ctx context.Context) OAuth2ApiDeleteOAuth2TokenRequest {
- return OAuth2ApiDeleteOAuth2TokenRequest{
+func (a *OAuth2APIService) DeleteOAuth2Token(ctx context.Context) OAuth2APIDeleteOAuth2TokenRequest {
+ return OAuth2APIDeleteOAuth2TokenRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-func (a *OAuth2ApiService) DeleteOAuth2TokenExecute(r OAuth2ApiDeleteOAuth2TokenRequest) (*http.Response, error) {
+func (a *OAuth2APIService) DeleteOAuth2TokenExecute(r OAuth2APIDeleteOAuth2TokenRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2ApiService.DeleteOAuth2Token")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2APIService.DeleteOAuth2Token")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -1218,7 +1224,7 @@ func (a *OAuth2ApiService) DeleteOAuth2TokenExecute(r OAuth2ApiDeleteOAuth2Token
return nil, reportError("clientId is required and must be specified")
}
- localVarQueryParams.Add("client_id", parameterToString(*r.clientId, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "client_id", r.clientId, "")
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -1246,9 +1252,9 @@ func (a *OAuth2ApiService) DeleteOAuth2TokenExecute(r OAuth2ApiDeleteOAuth2Token
return localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarHTTPResponse, err
}
@@ -1264,20 +1270,21 @@ func (a *OAuth2ApiService) DeleteOAuth2TokenExecute(r OAuth2ApiDeleteOAuth2Token
newErr.error = err.Error()
return localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarHTTPResponse, newErr
}
return localVarHTTPResponse, nil
}
-type OAuth2ApiDeleteTrustedOAuth2JwtGrantIssuerRequest struct {
+type OAuth2APIDeleteTrustedOAuth2JwtGrantIssuerRequest struct {
ctx context.Context
- ApiService OAuth2Api
+ ApiService OAuth2API
id string
}
-func (r OAuth2ApiDeleteTrustedOAuth2JwtGrantIssuerRequest) Execute() (*http.Response, error) {
+func (r OAuth2APIDeleteTrustedOAuth2JwtGrantIssuerRequest) Execute() (*http.Response, error) {
return r.ApiService.DeleteTrustedOAuth2JwtGrantIssuerExecute(r)
}
@@ -1292,10 +1299,10 @@ for OAuth 2.0 Client Authentication and Authorization Grant.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The id of the desired grant
- @return OAuth2ApiDeleteTrustedOAuth2JwtGrantIssuerRequest
+ @return OAuth2APIDeleteTrustedOAuth2JwtGrantIssuerRequest
*/
-func (a *OAuth2ApiService) DeleteTrustedOAuth2JwtGrantIssuer(ctx context.Context, id string) OAuth2ApiDeleteTrustedOAuth2JwtGrantIssuerRequest {
- return OAuth2ApiDeleteTrustedOAuth2JwtGrantIssuerRequest{
+func (a *OAuth2APIService) DeleteTrustedOAuth2JwtGrantIssuer(ctx context.Context, id string) OAuth2APIDeleteTrustedOAuth2JwtGrantIssuerRequest {
+ return OAuth2APIDeleteTrustedOAuth2JwtGrantIssuerRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -1303,20 +1310,20 @@ func (a *OAuth2ApiService) DeleteTrustedOAuth2JwtGrantIssuer(ctx context.Context
}
// Execute executes the request
-func (a *OAuth2ApiService) DeleteTrustedOAuth2JwtGrantIssuerExecute(r OAuth2ApiDeleteTrustedOAuth2JwtGrantIssuerRequest) (*http.Response, error) {
+func (a *OAuth2APIService) DeleteTrustedOAuth2JwtGrantIssuerExecute(r OAuth2APIDeleteTrustedOAuth2JwtGrantIssuerRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2ApiService.DeleteTrustedOAuth2JwtGrantIssuer")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2APIService.DeleteTrustedOAuth2JwtGrantIssuer")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/admin/trust/grants/jwt-bearer/issuers/{id}"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -1349,9 +1356,9 @@ func (a *OAuth2ApiService) DeleteTrustedOAuth2JwtGrantIssuerExecute(r OAuth2ApiD
return localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarHTTPResponse, err
}
@@ -1367,20 +1374,21 @@ func (a *OAuth2ApiService) DeleteTrustedOAuth2JwtGrantIssuerExecute(r OAuth2ApiD
newErr.error = err.Error()
return localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarHTTPResponse, newErr
}
return localVarHTTPResponse, nil
}
-type OAuth2ApiGetOAuth2ClientRequest struct {
+type OAuth2APIGetOAuth2ClientRequest struct {
ctx context.Context
- ApiService OAuth2Api
+ ApiService OAuth2API
id string
}
-func (r OAuth2ApiGetOAuth2ClientRequest) Execute() (*OAuth2Client, *http.Response, error) {
+func (r OAuth2APIGetOAuth2ClientRequest) Execute() (*OAuth2Client, *http.Response, error) {
return r.ApiService.GetOAuth2ClientExecute(r)
}
@@ -1394,10 +1402,10 @@ generated for applications which want to consume your OAuth 2.0 or OpenID Connec
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The id of the OAuth 2.0 Client.
- @return OAuth2ApiGetOAuth2ClientRequest
+ @return OAuth2APIGetOAuth2ClientRequest
*/
-func (a *OAuth2ApiService) GetOAuth2Client(ctx context.Context, id string) OAuth2ApiGetOAuth2ClientRequest {
- return OAuth2ApiGetOAuth2ClientRequest{
+func (a *OAuth2APIService) GetOAuth2Client(ctx context.Context, id string) OAuth2APIGetOAuth2ClientRequest {
+ return OAuth2APIGetOAuth2ClientRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -1406,7 +1414,7 @@ func (a *OAuth2ApiService) GetOAuth2Client(ctx context.Context, id string) OAuth
// Execute executes the request
// @return OAuth2Client
-func (a *OAuth2ApiService) GetOAuth2ClientExecute(r OAuth2ApiGetOAuth2ClientRequest) (*OAuth2Client, *http.Response, error) {
+func (a *OAuth2APIService) GetOAuth2ClientExecute(r OAuth2APIGetOAuth2ClientRequest) (*OAuth2Client, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -1414,13 +1422,13 @@ func (a *OAuth2ApiService) GetOAuth2ClientExecute(r OAuth2ApiGetOAuth2ClientRequ
localVarReturnValue *OAuth2Client
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2ApiService.GetOAuth2Client")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2APIService.GetOAuth2Client")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/admin/clients/{id}"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -1453,9 +1461,9 @@ func (a *OAuth2ApiService) GetOAuth2ClientExecute(r OAuth2ApiGetOAuth2ClientRequ
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -1471,7 +1479,8 @@ func (a *OAuth2ApiService) GetOAuth2ClientExecute(r OAuth2ApiGetOAuth2ClientRequ
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -1487,19 +1496,19 @@ func (a *OAuth2ApiService) GetOAuth2ClientExecute(r OAuth2ApiGetOAuth2ClientRequ
return localVarReturnValue, localVarHTTPResponse, nil
}
-type OAuth2ApiGetOAuth2ConsentRequestRequest struct {
+type OAuth2APIGetOAuth2ConsentRequestRequest struct {
ctx context.Context
- ApiService OAuth2Api
+ ApiService OAuth2API
consentChallenge *string
}
// OAuth 2.0 Consent Request Challenge
-func (r OAuth2ApiGetOAuth2ConsentRequestRequest) ConsentChallenge(consentChallenge string) OAuth2ApiGetOAuth2ConsentRequestRequest {
+func (r OAuth2APIGetOAuth2ConsentRequestRequest) ConsentChallenge(consentChallenge string) OAuth2APIGetOAuth2ConsentRequestRequest {
r.consentChallenge = &consentChallenge
return r
}
-func (r OAuth2ApiGetOAuth2ConsentRequestRequest) Execute() (*OAuth2ConsentRequest, *http.Response, error) {
+func (r OAuth2APIGetOAuth2ConsentRequestRequest) Execute() (*OAuth2ConsentRequest, *http.Response, error) {
return r.ApiService.GetOAuth2ConsentRequestExecute(r)
}
@@ -1518,10 +1527,10 @@ The default consent provider is available via the Ory Managed Account Experience
head over to the OAuth 2.0 documentation.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OAuth2ApiGetOAuth2ConsentRequestRequest
+ @return OAuth2APIGetOAuth2ConsentRequestRequest
*/
-func (a *OAuth2ApiService) GetOAuth2ConsentRequest(ctx context.Context) OAuth2ApiGetOAuth2ConsentRequestRequest {
- return OAuth2ApiGetOAuth2ConsentRequestRequest{
+func (a *OAuth2APIService) GetOAuth2ConsentRequest(ctx context.Context) OAuth2APIGetOAuth2ConsentRequestRequest {
+ return OAuth2APIGetOAuth2ConsentRequestRequest{
ApiService: a,
ctx: ctx,
}
@@ -1529,7 +1538,7 @@ func (a *OAuth2ApiService) GetOAuth2ConsentRequest(ctx context.Context) OAuth2Ap
// Execute executes the request
// @return OAuth2ConsentRequest
-func (a *OAuth2ApiService) GetOAuth2ConsentRequestExecute(r OAuth2ApiGetOAuth2ConsentRequestRequest) (*OAuth2ConsentRequest, *http.Response, error) {
+func (a *OAuth2APIService) GetOAuth2ConsentRequestExecute(r OAuth2APIGetOAuth2ConsentRequestRequest) (*OAuth2ConsentRequest, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -1537,7 +1546,7 @@ func (a *OAuth2ApiService) GetOAuth2ConsentRequestExecute(r OAuth2ApiGetOAuth2Co
localVarReturnValue *OAuth2ConsentRequest
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2ApiService.GetOAuth2ConsentRequest")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2APIService.GetOAuth2ConsentRequest")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -1551,7 +1560,7 @@ func (a *OAuth2ApiService) GetOAuth2ConsentRequestExecute(r OAuth2ApiGetOAuth2Co
return localVarReturnValue, nil, reportError("consentChallenge is required and must be specified")
}
- localVarQueryParams.Add("consent_challenge", parameterToString(*r.consentChallenge, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "consent_challenge", r.consentChallenge, "")
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -1579,9 +1588,9 @@ func (a *OAuth2ApiService) GetOAuth2ConsentRequestExecute(r OAuth2ApiGetOAuth2Co
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -1598,7 +1607,8 @@ func (a *OAuth2ApiService) GetOAuth2ConsentRequestExecute(r OAuth2ApiGetOAuth2Co
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorOAuth2
@@ -1607,7 +1617,8 @@ func (a *OAuth2ApiService) GetOAuth2ConsentRequestExecute(r OAuth2ApiGetOAuth2Co
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -1623,19 +1634,19 @@ func (a *OAuth2ApiService) GetOAuth2ConsentRequestExecute(r OAuth2ApiGetOAuth2Co
return localVarReturnValue, localVarHTTPResponse, nil
}
-type OAuth2ApiGetOAuth2LoginRequestRequest struct {
+type OAuth2APIGetOAuth2LoginRequestRequest struct {
ctx context.Context
- ApiService OAuth2Api
+ ApiService OAuth2API
loginChallenge *string
}
// OAuth 2.0 Login Request Challenge
-func (r OAuth2ApiGetOAuth2LoginRequestRequest) LoginChallenge(loginChallenge string) OAuth2ApiGetOAuth2LoginRequestRequest {
+func (r OAuth2APIGetOAuth2LoginRequestRequest) LoginChallenge(loginChallenge string) OAuth2APIGetOAuth2LoginRequestRequest {
r.loginChallenge = &loginChallenge
return r
}
-func (r OAuth2ApiGetOAuth2LoginRequestRequest) Execute() (*OAuth2LoginRequest, *http.Response, error) {
+func (r OAuth2APIGetOAuth2LoginRequestRequest) Execute() (*OAuth2LoginRequest, *http.Response, error) {
return r.ApiService.GetOAuth2LoginRequestExecute(r)
}
@@ -1653,10 +1664,10 @@ The authentication challenge is appended to the login provider URL to which the
provider uses that challenge to fetch information on the OAuth2 request and then accept or reject the requested authentication process.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OAuth2ApiGetOAuth2LoginRequestRequest
+ @return OAuth2APIGetOAuth2LoginRequestRequest
*/
-func (a *OAuth2ApiService) GetOAuth2LoginRequest(ctx context.Context) OAuth2ApiGetOAuth2LoginRequestRequest {
- return OAuth2ApiGetOAuth2LoginRequestRequest{
+func (a *OAuth2APIService) GetOAuth2LoginRequest(ctx context.Context) OAuth2APIGetOAuth2LoginRequestRequest {
+ return OAuth2APIGetOAuth2LoginRequestRequest{
ApiService: a,
ctx: ctx,
}
@@ -1664,7 +1675,7 @@ func (a *OAuth2ApiService) GetOAuth2LoginRequest(ctx context.Context) OAuth2ApiG
// Execute executes the request
// @return OAuth2LoginRequest
-func (a *OAuth2ApiService) GetOAuth2LoginRequestExecute(r OAuth2ApiGetOAuth2LoginRequestRequest) (*OAuth2LoginRequest, *http.Response, error) {
+func (a *OAuth2APIService) GetOAuth2LoginRequestExecute(r OAuth2APIGetOAuth2LoginRequestRequest) (*OAuth2LoginRequest, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -1672,7 +1683,7 @@ func (a *OAuth2ApiService) GetOAuth2LoginRequestExecute(r OAuth2ApiGetOAuth2Logi
localVarReturnValue *OAuth2LoginRequest
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2ApiService.GetOAuth2LoginRequest")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2APIService.GetOAuth2LoginRequest")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -1686,7 +1697,7 @@ func (a *OAuth2ApiService) GetOAuth2LoginRequestExecute(r OAuth2ApiGetOAuth2Logi
return localVarReturnValue, nil, reportError("loginChallenge is required and must be specified")
}
- localVarQueryParams.Add("login_challenge", parameterToString(*r.loginChallenge, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "login_challenge", r.loginChallenge, "")
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -1714,9 +1725,9 @@ func (a *OAuth2ApiService) GetOAuth2LoginRequestExecute(r OAuth2ApiGetOAuth2Logi
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -1733,7 +1744,8 @@ func (a *OAuth2ApiService) GetOAuth2LoginRequestExecute(r OAuth2ApiGetOAuth2Logi
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorOAuth2
@@ -1742,7 +1754,8 @@ func (a *OAuth2ApiService) GetOAuth2LoginRequestExecute(r OAuth2ApiGetOAuth2Logi
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -1758,18 +1771,18 @@ func (a *OAuth2ApiService) GetOAuth2LoginRequestExecute(r OAuth2ApiGetOAuth2Logi
return localVarReturnValue, localVarHTTPResponse, nil
}
-type OAuth2ApiGetOAuth2LogoutRequestRequest struct {
+type OAuth2APIGetOAuth2LogoutRequestRequest struct {
ctx context.Context
- ApiService OAuth2Api
+ ApiService OAuth2API
logoutChallenge *string
}
-func (r OAuth2ApiGetOAuth2LogoutRequestRequest) LogoutChallenge(logoutChallenge string) OAuth2ApiGetOAuth2LogoutRequestRequest {
+func (r OAuth2APIGetOAuth2LogoutRequestRequest) LogoutChallenge(logoutChallenge string) OAuth2APIGetOAuth2LogoutRequestRequest {
r.logoutChallenge = &logoutChallenge
return r
}
-func (r OAuth2ApiGetOAuth2LogoutRequestRequest) Execute() (*OAuth2LogoutRequest, *http.Response, error) {
+func (r OAuth2APIGetOAuth2LogoutRequestRequest) Execute() (*OAuth2LogoutRequest, *http.Response, error) {
return r.ApiService.GetOAuth2LogoutRequestExecute(r)
}
@@ -1779,10 +1792,10 @@ GetOAuth2LogoutRequest Get OAuth 2.0 Session Logout Request
Use this endpoint to fetch an Ory OAuth 2.0 logout request.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OAuth2ApiGetOAuth2LogoutRequestRequest
+ @return OAuth2APIGetOAuth2LogoutRequestRequest
*/
-func (a *OAuth2ApiService) GetOAuth2LogoutRequest(ctx context.Context) OAuth2ApiGetOAuth2LogoutRequestRequest {
- return OAuth2ApiGetOAuth2LogoutRequestRequest{
+func (a *OAuth2APIService) GetOAuth2LogoutRequest(ctx context.Context) OAuth2APIGetOAuth2LogoutRequestRequest {
+ return OAuth2APIGetOAuth2LogoutRequestRequest{
ApiService: a,
ctx: ctx,
}
@@ -1790,7 +1803,7 @@ func (a *OAuth2ApiService) GetOAuth2LogoutRequest(ctx context.Context) OAuth2Api
// Execute executes the request
// @return OAuth2LogoutRequest
-func (a *OAuth2ApiService) GetOAuth2LogoutRequestExecute(r OAuth2ApiGetOAuth2LogoutRequestRequest) (*OAuth2LogoutRequest, *http.Response, error) {
+func (a *OAuth2APIService) GetOAuth2LogoutRequestExecute(r OAuth2APIGetOAuth2LogoutRequestRequest) (*OAuth2LogoutRequest, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -1798,7 +1811,7 @@ func (a *OAuth2ApiService) GetOAuth2LogoutRequestExecute(r OAuth2ApiGetOAuth2Log
localVarReturnValue *OAuth2LogoutRequest
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2ApiService.GetOAuth2LogoutRequest")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2APIService.GetOAuth2LogoutRequest")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -1812,7 +1825,7 @@ func (a *OAuth2ApiService) GetOAuth2LogoutRequestExecute(r OAuth2ApiGetOAuth2Log
return localVarReturnValue, nil, reportError("logoutChallenge is required and must be specified")
}
- localVarQueryParams.Add("logout_challenge", parameterToString(*r.logoutChallenge, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "logout_challenge", r.logoutChallenge, "")
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -1840,9 +1853,9 @@ func (a *OAuth2ApiService) GetOAuth2LogoutRequestExecute(r OAuth2ApiGetOAuth2Log
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -1859,7 +1872,8 @@ func (a *OAuth2ApiService) GetOAuth2LogoutRequestExecute(r OAuth2ApiGetOAuth2Log
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorOAuth2
@@ -1868,7 +1882,8 @@ func (a *OAuth2ApiService) GetOAuth2LogoutRequestExecute(r OAuth2ApiGetOAuth2Log
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -1884,13 +1899,13 @@ func (a *OAuth2ApiService) GetOAuth2LogoutRequestExecute(r OAuth2ApiGetOAuth2Log
return localVarReturnValue, localVarHTTPResponse, nil
}
-type OAuth2ApiGetTrustedOAuth2JwtGrantIssuerRequest struct {
+type OAuth2APIGetTrustedOAuth2JwtGrantIssuerRequest struct {
ctx context.Context
- ApiService OAuth2Api
+ ApiService OAuth2API
id string
}
-func (r OAuth2ApiGetTrustedOAuth2JwtGrantIssuerRequest) Execute() (*TrustedOAuth2JwtGrantIssuer, *http.Response, error) {
+func (r OAuth2APIGetTrustedOAuth2JwtGrantIssuerRequest) Execute() (*TrustedOAuth2JwtGrantIssuer, *http.Response, error) {
return r.ApiService.GetTrustedOAuth2JwtGrantIssuerExecute(r)
}
@@ -1902,10 +1917,10 @@ created the trust relationship.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The id of the desired grant
- @return OAuth2ApiGetTrustedOAuth2JwtGrantIssuerRequest
+ @return OAuth2APIGetTrustedOAuth2JwtGrantIssuerRequest
*/
-func (a *OAuth2ApiService) GetTrustedOAuth2JwtGrantIssuer(ctx context.Context, id string) OAuth2ApiGetTrustedOAuth2JwtGrantIssuerRequest {
- return OAuth2ApiGetTrustedOAuth2JwtGrantIssuerRequest{
+func (a *OAuth2APIService) GetTrustedOAuth2JwtGrantIssuer(ctx context.Context, id string) OAuth2APIGetTrustedOAuth2JwtGrantIssuerRequest {
+ return OAuth2APIGetTrustedOAuth2JwtGrantIssuerRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -1914,7 +1929,7 @@ func (a *OAuth2ApiService) GetTrustedOAuth2JwtGrantIssuer(ctx context.Context, i
// Execute executes the request
// @return TrustedOAuth2JwtGrantIssuer
-func (a *OAuth2ApiService) GetTrustedOAuth2JwtGrantIssuerExecute(r OAuth2ApiGetTrustedOAuth2JwtGrantIssuerRequest) (*TrustedOAuth2JwtGrantIssuer, *http.Response, error) {
+func (a *OAuth2APIService) GetTrustedOAuth2JwtGrantIssuerExecute(r OAuth2APIGetTrustedOAuth2JwtGrantIssuerRequest) (*TrustedOAuth2JwtGrantIssuer, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -1922,13 +1937,13 @@ func (a *OAuth2ApiService) GetTrustedOAuth2JwtGrantIssuerExecute(r OAuth2ApiGetT
localVarReturnValue *TrustedOAuth2JwtGrantIssuer
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2ApiService.GetTrustedOAuth2JwtGrantIssuer")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2APIService.GetTrustedOAuth2JwtGrantIssuer")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/admin/trust/grants/jwt-bearer/issuers/{id}"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -1961,9 +1976,9 @@ func (a *OAuth2ApiService) GetTrustedOAuth2JwtGrantIssuerExecute(r OAuth2ApiGetT
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -1979,7 +1994,8 @@ func (a *OAuth2ApiService) GetTrustedOAuth2JwtGrantIssuerExecute(r OAuth2ApiGetT
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -1995,26 +2011,26 @@ func (a *OAuth2ApiService) GetTrustedOAuth2JwtGrantIssuerExecute(r OAuth2ApiGetT
return localVarReturnValue, localVarHTTPResponse, nil
}
-type OAuth2ApiIntrospectOAuth2TokenRequest struct {
+type OAuth2APIIntrospectOAuth2TokenRequest struct {
ctx context.Context
- ApiService OAuth2Api
+ ApiService OAuth2API
token *string
scope *string
}
// The string value of the token. For access tokens, this is the \\\"access_token\\\" value returned from the token endpoint defined in OAuth 2.0. For refresh tokens, this is the \\\"refresh_token\\\" value returned.
-func (r OAuth2ApiIntrospectOAuth2TokenRequest) Token(token string) OAuth2ApiIntrospectOAuth2TokenRequest {
+func (r OAuth2APIIntrospectOAuth2TokenRequest) Token(token string) OAuth2APIIntrospectOAuth2TokenRequest {
r.token = &token
return r
}
// An optional, space separated list of required scopes. If the access token was not granted one of the scopes, the result of active will be false.
-func (r OAuth2ApiIntrospectOAuth2TokenRequest) Scope(scope string) OAuth2ApiIntrospectOAuth2TokenRequest {
+func (r OAuth2APIIntrospectOAuth2TokenRequest) Scope(scope string) OAuth2APIIntrospectOAuth2TokenRequest {
r.scope = &scope
return r
}
-func (r OAuth2ApiIntrospectOAuth2TokenRequest) Execute() (*IntrospectedOAuth2Token, *http.Response, error) {
+func (r OAuth2APIIntrospectOAuth2TokenRequest) Execute() (*IntrospectedOAuth2Token, *http.Response, error) {
return r.ApiService.IntrospectOAuth2TokenExecute(r)
}
@@ -2026,10 +2042,10 @@ is neither expired nor revoked. If a token is active, additional information on
set additional data for a token by setting `session.access_token` during the consent flow.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OAuth2ApiIntrospectOAuth2TokenRequest
+ @return OAuth2APIIntrospectOAuth2TokenRequest
*/
-func (a *OAuth2ApiService) IntrospectOAuth2Token(ctx context.Context) OAuth2ApiIntrospectOAuth2TokenRequest {
- return OAuth2ApiIntrospectOAuth2TokenRequest{
+func (a *OAuth2APIService) IntrospectOAuth2Token(ctx context.Context) OAuth2APIIntrospectOAuth2TokenRequest {
+ return OAuth2APIIntrospectOAuth2TokenRequest{
ApiService: a,
ctx: ctx,
}
@@ -2037,7 +2053,7 @@ func (a *OAuth2ApiService) IntrospectOAuth2Token(ctx context.Context) OAuth2ApiI
// Execute executes the request
// @return IntrospectedOAuth2Token
-func (a *OAuth2ApiService) IntrospectOAuth2TokenExecute(r OAuth2ApiIntrospectOAuth2TokenRequest) (*IntrospectedOAuth2Token, *http.Response, error) {
+func (a *OAuth2APIService) IntrospectOAuth2TokenExecute(r OAuth2APIIntrospectOAuth2TokenRequest) (*IntrospectedOAuth2Token, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
@@ -2045,7 +2061,7 @@ func (a *OAuth2ApiService) IntrospectOAuth2TokenExecute(r OAuth2ApiIntrospectOAu
localVarReturnValue *IntrospectedOAuth2Token
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2ApiService.IntrospectOAuth2Token")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2APIService.IntrospectOAuth2Token")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -2077,9 +2093,9 @@ func (a *OAuth2ApiService) IntrospectOAuth2TokenExecute(r OAuth2ApiIntrospectOAu
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
if r.scope != nil {
- localVarFormParams.Add("scope", parameterToString(*r.scope, ""))
+ parameterAddToHeaderOrQuery(localVarFormParams, "scope", r.scope, "")
}
- localVarFormParams.Add("token", parameterToString(*r.token, ""))
+ parameterAddToHeaderOrQuery(localVarFormParams, "token", r.token, "")
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
if err != nil {
return localVarReturnValue, nil, err
@@ -2090,9 +2106,9 @@ func (a *OAuth2ApiService) IntrospectOAuth2TokenExecute(r OAuth2ApiIntrospectOAu
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -2108,7 +2124,8 @@ func (a *OAuth2ApiService) IntrospectOAuth2TokenExecute(r OAuth2ApiIntrospectOAu
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -2124,9 +2141,9 @@ func (a *OAuth2ApiService) IntrospectOAuth2TokenExecute(r OAuth2ApiIntrospectOAu
return localVarReturnValue, localVarHTTPResponse, nil
}
-type OAuth2ApiListOAuth2ClientsRequest struct {
+type OAuth2APIListOAuth2ClientsRequest struct {
ctx context.Context
- ApiService OAuth2Api
+ ApiService OAuth2API
pageSize *int64
pageToken *string
clientName *string
@@ -2134,30 +2151,30 @@ type OAuth2ApiListOAuth2ClientsRequest struct {
}
// Items per Page This is the number of items per page to return. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
-func (r OAuth2ApiListOAuth2ClientsRequest) PageSize(pageSize int64) OAuth2ApiListOAuth2ClientsRequest {
+func (r OAuth2APIListOAuth2ClientsRequest) PageSize(pageSize int64) OAuth2APIListOAuth2ClientsRequest {
r.pageSize = &pageSize
return r
}
// Next Page Token The next page token. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
-func (r OAuth2ApiListOAuth2ClientsRequest) PageToken(pageToken string) OAuth2ApiListOAuth2ClientsRequest {
+func (r OAuth2APIListOAuth2ClientsRequest) PageToken(pageToken string) OAuth2APIListOAuth2ClientsRequest {
r.pageToken = &pageToken
return r
}
// The name of the clients to filter by.
-func (r OAuth2ApiListOAuth2ClientsRequest) ClientName(clientName string) OAuth2ApiListOAuth2ClientsRequest {
+func (r OAuth2APIListOAuth2ClientsRequest) ClientName(clientName string) OAuth2APIListOAuth2ClientsRequest {
r.clientName = &clientName
return r
}
// The owner of the clients to filter by.
-func (r OAuth2ApiListOAuth2ClientsRequest) Owner(owner string) OAuth2ApiListOAuth2ClientsRequest {
+func (r OAuth2APIListOAuth2ClientsRequest) Owner(owner string) OAuth2APIListOAuth2ClientsRequest {
r.owner = &owner
return r
}
-func (r OAuth2ApiListOAuth2ClientsRequest) Execute() ([]OAuth2Client, *http.Response, error) {
+func (r OAuth2APIListOAuth2ClientsRequest) Execute() ([]OAuth2Client, *http.Response, error) {
return r.ApiService.ListOAuth2ClientsExecute(r)
}
@@ -2168,10 +2185,10 @@ This endpoint lists all clients in the database, and never returns client secret
As a default it lists the first 100 clients.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OAuth2ApiListOAuth2ClientsRequest
+ @return OAuth2APIListOAuth2ClientsRequest
*/
-func (a *OAuth2ApiService) ListOAuth2Clients(ctx context.Context) OAuth2ApiListOAuth2ClientsRequest {
- return OAuth2ApiListOAuth2ClientsRequest{
+func (a *OAuth2APIService) ListOAuth2Clients(ctx context.Context) OAuth2APIListOAuth2ClientsRequest {
+ return OAuth2APIListOAuth2ClientsRequest{
ApiService: a,
ctx: ctx,
}
@@ -2179,7 +2196,7 @@ func (a *OAuth2ApiService) ListOAuth2Clients(ctx context.Context) OAuth2ApiListO
// Execute executes the request
// @return []OAuth2Client
-func (a *OAuth2ApiService) ListOAuth2ClientsExecute(r OAuth2ApiListOAuth2ClientsRequest) ([]OAuth2Client, *http.Response, error) {
+func (a *OAuth2APIService) ListOAuth2ClientsExecute(r OAuth2APIListOAuth2ClientsRequest) ([]OAuth2Client, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -2187,7 +2204,7 @@ func (a *OAuth2ApiService) ListOAuth2ClientsExecute(r OAuth2ApiListOAuth2Clients
localVarReturnValue []OAuth2Client
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2ApiService.ListOAuth2Clients")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2APIService.ListOAuth2Clients")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -2199,16 +2216,22 @@ func (a *OAuth2ApiService) ListOAuth2ClientsExecute(r OAuth2ApiListOAuth2Clients
localVarFormParams := url.Values{}
if r.pageSize != nil {
- localVarQueryParams.Add("page_size", parameterToString(*r.pageSize, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "page_size", r.pageSize, "")
+ } else {
+ var defaultValue int64 = 250
+ r.pageSize = &defaultValue
}
if r.pageToken != nil {
- localVarQueryParams.Add("page_token", parameterToString(*r.pageToken, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "page_token", r.pageToken, "")
+ } else {
+ var defaultValue string = "1"
+ r.pageToken = &defaultValue
}
if r.clientName != nil {
- localVarQueryParams.Add("client_name", parameterToString(*r.clientName, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "client_name", r.clientName, "")
}
if r.owner != nil {
- localVarQueryParams.Add("owner", parameterToString(*r.owner, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "owner", r.owner, "")
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -2237,9 +2260,9 @@ func (a *OAuth2ApiService) ListOAuth2ClientsExecute(r OAuth2ApiListOAuth2Clients
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -2255,7 +2278,8 @@ func (a *OAuth2ApiService) ListOAuth2ClientsExecute(r OAuth2ApiListOAuth2Clients
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -2271,9 +2295,9 @@ func (a *OAuth2ApiService) ListOAuth2ClientsExecute(r OAuth2ApiListOAuth2Clients
return localVarReturnValue, localVarHTTPResponse, nil
}
-type OAuth2ApiListOAuth2ConsentSessionsRequest struct {
+type OAuth2APIListOAuth2ConsentSessionsRequest struct {
ctx context.Context
- ApiService OAuth2Api
+ ApiService OAuth2API
subject *string
pageSize *int64
pageToken *string
@@ -2281,30 +2305,30 @@ type OAuth2ApiListOAuth2ConsentSessionsRequest struct {
}
// The subject to list the consent sessions for.
-func (r OAuth2ApiListOAuth2ConsentSessionsRequest) Subject(subject string) OAuth2ApiListOAuth2ConsentSessionsRequest {
+func (r OAuth2APIListOAuth2ConsentSessionsRequest) Subject(subject string) OAuth2APIListOAuth2ConsentSessionsRequest {
r.subject = &subject
return r
}
// Items per Page This is the number of items per page to return. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
-func (r OAuth2ApiListOAuth2ConsentSessionsRequest) PageSize(pageSize int64) OAuth2ApiListOAuth2ConsentSessionsRequest {
+func (r OAuth2APIListOAuth2ConsentSessionsRequest) PageSize(pageSize int64) OAuth2APIListOAuth2ConsentSessionsRequest {
r.pageSize = &pageSize
return r
}
// Next Page Token The next page token. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
-func (r OAuth2ApiListOAuth2ConsentSessionsRequest) PageToken(pageToken string) OAuth2ApiListOAuth2ConsentSessionsRequest {
+func (r OAuth2APIListOAuth2ConsentSessionsRequest) PageToken(pageToken string) OAuth2APIListOAuth2ConsentSessionsRequest {
r.pageToken = &pageToken
return r
}
// The login session id to list the consent sessions for.
-func (r OAuth2ApiListOAuth2ConsentSessionsRequest) LoginSessionId(loginSessionId string) OAuth2ApiListOAuth2ConsentSessionsRequest {
+func (r OAuth2APIListOAuth2ConsentSessionsRequest) LoginSessionId(loginSessionId string) OAuth2APIListOAuth2ConsentSessionsRequest {
r.loginSessionId = &loginSessionId
return r
}
-func (r OAuth2ApiListOAuth2ConsentSessionsRequest) Execute() ([]OAuth2ConsentSession, *http.Response, error) {
+func (r OAuth2APIListOAuth2ConsentSessionsRequest) Execute() ([]OAuth2ConsentSession, *http.Response, error) {
return r.ApiService.ListOAuth2ConsentSessionsExecute(r)
}
@@ -2316,10 +2340,10 @@ If the subject is unknown or has not granted any consent sessions yet, the endpo
empty JSON array with status code 200 OK.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OAuth2ApiListOAuth2ConsentSessionsRequest
+ @return OAuth2APIListOAuth2ConsentSessionsRequest
*/
-func (a *OAuth2ApiService) ListOAuth2ConsentSessions(ctx context.Context) OAuth2ApiListOAuth2ConsentSessionsRequest {
- return OAuth2ApiListOAuth2ConsentSessionsRequest{
+func (a *OAuth2APIService) ListOAuth2ConsentSessions(ctx context.Context) OAuth2APIListOAuth2ConsentSessionsRequest {
+ return OAuth2APIListOAuth2ConsentSessionsRequest{
ApiService: a,
ctx: ctx,
}
@@ -2327,7 +2351,7 @@ func (a *OAuth2ApiService) ListOAuth2ConsentSessions(ctx context.Context) OAuth2
// Execute executes the request
// @return []OAuth2ConsentSession
-func (a *OAuth2ApiService) ListOAuth2ConsentSessionsExecute(r OAuth2ApiListOAuth2ConsentSessionsRequest) ([]OAuth2ConsentSession, *http.Response, error) {
+func (a *OAuth2APIService) ListOAuth2ConsentSessionsExecute(r OAuth2APIListOAuth2ConsentSessionsRequest) ([]OAuth2ConsentSession, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -2335,7 +2359,7 @@ func (a *OAuth2ApiService) ListOAuth2ConsentSessionsExecute(r OAuth2ApiListOAuth
localVarReturnValue []OAuth2ConsentSession
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2ApiService.ListOAuth2ConsentSessions")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2APIService.ListOAuth2ConsentSessions")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -2350,14 +2374,20 @@ func (a *OAuth2ApiService) ListOAuth2ConsentSessionsExecute(r OAuth2ApiListOAuth
}
if r.pageSize != nil {
- localVarQueryParams.Add("page_size", parameterToString(*r.pageSize, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "page_size", r.pageSize, "")
+ } else {
+ var defaultValue int64 = 250
+ r.pageSize = &defaultValue
}
if r.pageToken != nil {
- localVarQueryParams.Add("page_token", parameterToString(*r.pageToken, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "page_token", r.pageToken, "")
+ } else {
+ var defaultValue string = "1"
+ r.pageToken = &defaultValue
}
- localVarQueryParams.Add("subject", parameterToString(*r.subject, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "subject", r.subject, "")
if r.loginSessionId != nil {
- localVarQueryParams.Add("login_session_id", parameterToString(*r.loginSessionId, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "login_session_id", r.loginSessionId, "")
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -2386,9 +2416,9 @@ func (a *OAuth2ApiService) ListOAuth2ConsentSessionsExecute(r OAuth2ApiListOAuth
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -2404,7 +2434,8 @@ func (a *OAuth2ApiService) ListOAuth2ConsentSessionsExecute(r OAuth2ApiListOAuth
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -2420,31 +2451,31 @@ func (a *OAuth2ApiService) ListOAuth2ConsentSessionsExecute(r OAuth2ApiListOAuth
return localVarReturnValue, localVarHTTPResponse, nil
}
-type OAuth2ApiListTrustedOAuth2JwtGrantIssuersRequest struct {
+type OAuth2APIListTrustedOAuth2JwtGrantIssuersRequest struct {
ctx context.Context
- ApiService OAuth2Api
+ ApiService OAuth2API
maxItems *int64
defaultItems *int64
issuer *string
}
-func (r OAuth2ApiListTrustedOAuth2JwtGrantIssuersRequest) MaxItems(maxItems int64) OAuth2ApiListTrustedOAuth2JwtGrantIssuersRequest {
+func (r OAuth2APIListTrustedOAuth2JwtGrantIssuersRequest) MaxItems(maxItems int64) OAuth2APIListTrustedOAuth2JwtGrantIssuersRequest {
r.maxItems = &maxItems
return r
}
-func (r OAuth2ApiListTrustedOAuth2JwtGrantIssuersRequest) DefaultItems(defaultItems int64) OAuth2ApiListTrustedOAuth2JwtGrantIssuersRequest {
+func (r OAuth2APIListTrustedOAuth2JwtGrantIssuersRequest) DefaultItems(defaultItems int64) OAuth2APIListTrustedOAuth2JwtGrantIssuersRequest {
r.defaultItems = &defaultItems
return r
}
// If optional \"issuer\" is supplied, only jwt-bearer grants with this issuer will be returned.
-func (r OAuth2ApiListTrustedOAuth2JwtGrantIssuersRequest) Issuer(issuer string) OAuth2ApiListTrustedOAuth2JwtGrantIssuersRequest {
+func (r OAuth2APIListTrustedOAuth2JwtGrantIssuersRequest) Issuer(issuer string) OAuth2APIListTrustedOAuth2JwtGrantIssuersRequest {
r.issuer = &issuer
return r
}
-func (r OAuth2ApiListTrustedOAuth2JwtGrantIssuersRequest) Execute() ([]TrustedOAuth2JwtGrantIssuer, *http.Response, error) {
+func (r OAuth2APIListTrustedOAuth2JwtGrantIssuersRequest) Execute() ([]TrustedOAuth2JwtGrantIssuer, *http.Response, error) {
return r.ApiService.ListTrustedOAuth2JwtGrantIssuersExecute(r)
}
@@ -2454,10 +2485,10 @@ ListTrustedOAuth2JwtGrantIssuers List Trusted OAuth2 JWT Bearer Grant Type Issue
Use this endpoint to list all trusted JWT Bearer Grant Type Issuers.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OAuth2ApiListTrustedOAuth2JwtGrantIssuersRequest
+ @return OAuth2APIListTrustedOAuth2JwtGrantIssuersRequest
*/
-func (a *OAuth2ApiService) ListTrustedOAuth2JwtGrantIssuers(ctx context.Context) OAuth2ApiListTrustedOAuth2JwtGrantIssuersRequest {
- return OAuth2ApiListTrustedOAuth2JwtGrantIssuersRequest{
+func (a *OAuth2APIService) ListTrustedOAuth2JwtGrantIssuers(ctx context.Context) OAuth2APIListTrustedOAuth2JwtGrantIssuersRequest {
+ return OAuth2APIListTrustedOAuth2JwtGrantIssuersRequest{
ApiService: a,
ctx: ctx,
}
@@ -2465,7 +2496,7 @@ func (a *OAuth2ApiService) ListTrustedOAuth2JwtGrantIssuers(ctx context.Context)
// Execute executes the request
// @return []TrustedOAuth2JwtGrantIssuer
-func (a *OAuth2ApiService) ListTrustedOAuth2JwtGrantIssuersExecute(r OAuth2ApiListTrustedOAuth2JwtGrantIssuersRequest) ([]TrustedOAuth2JwtGrantIssuer, *http.Response, error) {
+func (a *OAuth2APIService) ListTrustedOAuth2JwtGrantIssuersExecute(r OAuth2APIListTrustedOAuth2JwtGrantIssuersRequest) ([]TrustedOAuth2JwtGrantIssuer, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -2473,7 +2504,7 @@ func (a *OAuth2ApiService) ListTrustedOAuth2JwtGrantIssuersExecute(r OAuth2ApiLi
localVarReturnValue []TrustedOAuth2JwtGrantIssuer
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2ApiService.ListTrustedOAuth2JwtGrantIssuers")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2APIService.ListTrustedOAuth2JwtGrantIssuers")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -2485,13 +2516,13 @@ func (a *OAuth2ApiService) ListTrustedOAuth2JwtGrantIssuersExecute(r OAuth2ApiLi
localVarFormParams := url.Values{}
if r.maxItems != nil {
- localVarQueryParams.Add("MaxItems", parameterToString(*r.maxItems, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "MaxItems", r.maxItems, "")
}
if r.defaultItems != nil {
- localVarQueryParams.Add("DefaultItems", parameterToString(*r.defaultItems, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "DefaultItems", r.defaultItems, "")
}
if r.issuer != nil {
- localVarQueryParams.Add("issuer", parameterToString(*r.issuer, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "issuer", r.issuer, "")
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -2520,9 +2551,9 @@ func (a *OAuth2ApiService) ListTrustedOAuth2JwtGrantIssuersExecute(r OAuth2ApiLi
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -2538,7 +2569,8 @@ func (a *OAuth2ApiService) ListTrustedOAuth2JwtGrantIssuersExecute(r OAuth2ApiLi
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -2554,12 +2586,12 @@ func (a *OAuth2ApiService) ListTrustedOAuth2JwtGrantIssuersExecute(r OAuth2ApiLi
return localVarReturnValue, localVarHTTPResponse, nil
}
-type OAuth2ApiOAuth2AuthorizeRequest struct {
+type OAuth2APIOAuth2AuthorizeRequest struct {
ctx context.Context
- ApiService OAuth2Api
+ ApiService OAuth2API
}
-func (r OAuth2ApiOAuth2AuthorizeRequest) Execute() (*ErrorOAuth2, *http.Response, error) {
+func (r OAuth2APIOAuth2AuthorizeRequest) Execute() (*ErrorOAuth2, *http.Response, error) {
return r.ApiService.OAuth2AuthorizeExecute(r)
}
@@ -2572,10 +2604,10 @@ available for any programming language. You can find a list of libraries at http
The Ory SDK is not yet able to this endpoint properly.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OAuth2ApiOAuth2AuthorizeRequest
+ @return OAuth2APIOAuth2AuthorizeRequest
*/
-func (a *OAuth2ApiService) OAuth2Authorize(ctx context.Context) OAuth2ApiOAuth2AuthorizeRequest {
- return OAuth2ApiOAuth2AuthorizeRequest{
+func (a *OAuth2APIService) OAuth2Authorize(ctx context.Context) OAuth2APIOAuth2AuthorizeRequest {
+ return OAuth2APIOAuth2AuthorizeRequest{
ApiService: a,
ctx: ctx,
}
@@ -2583,7 +2615,7 @@ func (a *OAuth2ApiService) OAuth2Authorize(ctx context.Context) OAuth2ApiOAuth2A
// Execute executes the request
// @return ErrorOAuth2
-func (a *OAuth2ApiService) OAuth2AuthorizeExecute(r OAuth2ApiOAuth2AuthorizeRequest) (*ErrorOAuth2, *http.Response, error) {
+func (a *OAuth2APIService) OAuth2AuthorizeExecute(r OAuth2APIOAuth2AuthorizeRequest) (*ErrorOAuth2, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -2591,7 +2623,7 @@ func (a *OAuth2ApiService) OAuth2AuthorizeExecute(r OAuth2ApiOAuth2AuthorizeRequ
localVarReturnValue *ErrorOAuth2
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2ApiService.OAuth2Authorize")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2APIService.OAuth2Authorize")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -2629,9 +2661,9 @@ func (a *OAuth2ApiService) OAuth2AuthorizeExecute(r OAuth2ApiOAuth2AuthorizeRequ
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -2647,7 +2679,8 @@ func (a *OAuth2ApiService) OAuth2AuthorizeExecute(r OAuth2ApiOAuth2AuthorizeRequ
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -2663,9 +2696,9 @@ func (a *OAuth2ApiService) OAuth2AuthorizeExecute(r OAuth2ApiOAuth2AuthorizeRequ
return localVarReturnValue, localVarHTTPResponse, nil
}
-type OAuth2ApiOauth2TokenExchangeRequest struct {
+type OAuth2APIOauth2TokenExchangeRequest struct {
ctx context.Context
- ApiService OAuth2Api
+ ApiService OAuth2API
grantType *string
clientId *string
code *string
@@ -2673,32 +2706,32 @@ type OAuth2ApiOauth2TokenExchangeRequest struct {
refreshToken *string
}
-func (r OAuth2ApiOauth2TokenExchangeRequest) GrantType(grantType string) OAuth2ApiOauth2TokenExchangeRequest {
+func (r OAuth2APIOauth2TokenExchangeRequest) GrantType(grantType string) OAuth2APIOauth2TokenExchangeRequest {
r.grantType = &grantType
return r
}
-func (r OAuth2ApiOauth2TokenExchangeRequest) ClientId(clientId string) OAuth2ApiOauth2TokenExchangeRequest {
+func (r OAuth2APIOauth2TokenExchangeRequest) ClientId(clientId string) OAuth2APIOauth2TokenExchangeRequest {
r.clientId = &clientId
return r
}
-func (r OAuth2ApiOauth2TokenExchangeRequest) Code(code string) OAuth2ApiOauth2TokenExchangeRequest {
+func (r OAuth2APIOauth2TokenExchangeRequest) Code(code string) OAuth2APIOauth2TokenExchangeRequest {
r.code = &code
return r
}
-func (r OAuth2ApiOauth2TokenExchangeRequest) RedirectUri(redirectUri string) OAuth2ApiOauth2TokenExchangeRequest {
+func (r OAuth2APIOauth2TokenExchangeRequest) RedirectUri(redirectUri string) OAuth2APIOauth2TokenExchangeRequest {
r.redirectUri = &redirectUri
return r
}
-func (r OAuth2ApiOauth2TokenExchangeRequest) RefreshToken(refreshToken string) OAuth2ApiOauth2TokenExchangeRequest {
+func (r OAuth2APIOauth2TokenExchangeRequest) RefreshToken(refreshToken string) OAuth2APIOauth2TokenExchangeRequest {
r.refreshToken = &refreshToken
return r
}
-func (r OAuth2ApiOauth2TokenExchangeRequest) Execute() (*OAuth2TokenExchange, *http.Response, error) {
+func (r OAuth2APIOauth2TokenExchangeRequest) Execute() (*OAuth2TokenExchange, *http.Response, error) {
return r.ApiService.Oauth2TokenExchangeExecute(r)
}
@@ -2711,10 +2744,10 @@ available for any programming language. You can find a list of libraries here ht
The Ory SDK is not yet able to this endpoint properly.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OAuth2ApiOauth2TokenExchangeRequest
+ @return OAuth2APIOauth2TokenExchangeRequest
*/
-func (a *OAuth2ApiService) Oauth2TokenExchange(ctx context.Context) OAuth2ApiOauth2TokenExchangeRequest {
- return OAuth2ApiOauth2TokenExchangeRequest{
+func (a *OAuth2APIService) Oauth2TokenExchange(ctx context.Context) OAuth2APIOauth2TokenExchangeRequest {
+ return OAuth2APIOauth2TokenExchangeRequest{
ApiService: a,
ctx: ctx,
}
@@ -2722,7 +2755,7 @@ func (a *OAuth2ApiService) Oauth2TokenExchange(ctx context.Context) OAuth2ApiOau
// Execute executes the request
// @return OAuth2TokenExchange
-func (a *OAuth2ApiService) Oauth2TokenExchangeExecute(r OAuth2ApiOauth2TokenExchangeRequest) (*OAuth2TokenExchange, *http.Response, error) {
+func (a *OAuth2APIService) Oauth2TokenExchangeExecute(r OAuth2APIOauth2TokenExchangeRequest) (*OAuth2TokenExchange, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
@@ -2730,7 +2763,7 @@ func (a *OAuth2ApiService) Oauth2TokenExchangeExecute(r OAuth2ApiOauth2TokenExch
localVarReturnValue *OAuth2TokenExchange
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2ApiService.Oauth2TokenExchange")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2APIService.Oauth2TokenExchange")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -2762,17 +2795,17 @@ func (a *OAuth2ApiService) Oauth2TokenExchangeExecute(r OAuth2ApiOauth2TokenExch
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
if r.clientId != nil {
- localVarFormParams.Add("client_id", parameterToString(*r.clientId, ""))
+ parameterAddToHeaderOrQuery(localVarFormParams, "client_id", r.clientId, "")
}
if r.code != nil {
- localVarFormParams.Add("code", parameterToString(*r.code, ""))
+ parameterAddToHeaderOrQuery(localVarFormParams, "code", r.code, "")
}
- localVarFormParams.Add("grant_type", parameterToString(*r.grantType, ""))
+ parameterAddToHeaderOrQuery(localVarFormParams, "grant_type", r.grantType, "")
if r.redirectUri != nil {
- localVarFormParams.Add("redirect_uri", parameterToString(*r.redirectUri, ""))
+ parameterAddToHeaderOrQuery(localVarFormParams, "redirect_uri", r.redirectUri, "")
}
if r.refreshToken != nil {
- localVarFormParams.Add("refresh_token", parameterToString(*r.refreshToken, ""))
+ parameterAddToHeaderOrQuery(localVarFormParams, "refresh_token", r.refreshToken, "")
}
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
if err != nil {
@@ -2784,9 +2817,9 @@ func (a *OAuth2ApiService) Oauth2TokenExchangeExecute(r OAuth2ApiOauth2TokenExch
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -2802,7 +2835,8 @@ func (a *OAuth2ApiService) Oauth2TokenExchangeExecute(r OAuth2ApiOauth2TokenExch
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -2818,20 +2852,20 @@ func (a *OAuth2ApiService) Oauth2TokenExchangeExecute(r OAuth2ApiOauth2TokenExch
return localVarReturnValue, localVarHTTPResponse, nil
}
-type OAuth2ApiPatchOAuth2ClientRequest struct {
+type OAuth2APIPatchOAuth2ClientRequest struct {
ctx context.Context
- ApiService OAuth2Api
+ ApiService OAuth2API
id string
jsonPatch *[]JsonPatch
}
// OAuth 2.0 Client JSON Patch Body
-func (r OAuth2ApiPatchOAuth2ClientRequest) JsonPatch(jsonPatch []JsonPatch) OAuth2ApiPatchOAuth2ClientRequest {
+func (r OAuth2APIPatchOAuth2ClientRequest) JsonPatch(jsonPatch []JsonPatch) OAuth2APIPatchOAuth2ClientRequest {
r.jsonPatch = &jsonPatch
return r
}
-func (r OAuth2ApiPatchOAuth2ClientRequest) Execute() (*OAuth2Client, *http.Response, error) {
+func (r OAuth2APIPatchOAuth2ClientRequest) Execute() (*OAuth2Client, *http.Response, error) {
return r.ApiService.PatchOAuth2ClientExecute(r)
}
@@ -2847,10 +2881,10 @@ generated for applications which want to consume your OAuth 2.0 or OpenID Connec
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The id of the OAuth 2.0 Client.
- @return OAuth2ApiPatchOAuth2ClientRequest
+ @return OAuth2APIPatchOAuth2ClientRequest
*/
-func (a *OAuth2ApiService) PatchOAuth2Client(ctx context.Context, id string) OAuth2ApiPatchOAuth2ClientRequest {
- return OAuth2ApiPatchOAuth2ClientRequest{
+func (a *OAuth2APIService) PatchOAuth2Client(ctx context.Context, id string) OAuth2APIPatchOAuth2ClientRequest {
+ return OAuth2APIPatchOAuth2ClientRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -2859,7 +2893,7 @@ func (a *OAuth2ApiService) PatchOAuth2Client(ctx context.Context, id string) OAu
// Execute executes the request
// @return OAuth2Client
-func (a *OAuth2ApiService) PatchOAuth2ClientExecute(r OAuth2ApiPatchOAuth2ClientRequest) (*OAuth2Client, *http.Response, error) {
+func (a *OAuth2APIService) PatchOAuth2ClientExecute(r OAuth2APIPatchOAuth2ClientRequest) (*OAuth2Client, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPatch
localVarPostBody interface{}
@@ -2867,13 +2901,13 @@ func (a *OAuth2ApiService) PatchOAuth2ClientExecute(r OAuth2ApiPatchOAuth2Client
localVarReturnValue *OAuth2Client
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2ApiService.PatchOAuth2Client")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2APIService.PatchOAuth2Client")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/admin/clients/{id}"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -2911,9 +2945,9 @@ func (a *OAuth2ApiService) PatchOAuth2ClientExecute(r OAuth2ApiPatchOAuth2Client
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -2930,7 +2964,8 @@ func (a *OAuth2ApiService) PatchOAuth2ClientExecute(r OAuth2ApiPatchOAuth2Client
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorOAuth2
@@ -2939,7 +2974,8 @@ func (a *OAuth2ApiService) PatchOAuth2ClientExecute(r OAuth2ApiPatchOAuth2Client
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -2955,25 +2991,25 @@ func (a *OAuth2ApiService) PatchOAuth2ClientExecute(r OAuth2ApiPatchOAuth2Client
return localVarReturnValue, localVarHTTPResponse, nil
}
-type OAuth2ApiRejectOAuth2ConsentRequestRequest struct {
+type OAuth2APIRejectOAuth2ConsentRequestRequest struct {
ctx context.Context
- ApiService OAuth2Api
+ ApiService OAuth2API
consentChallenge *string
rejectOAuth2Request *RejectOAuth2Request
}
// OAuth 2.0 Consent Request Challenge
-func (r OAuth2ApiRejectOAuth2ConsentRequestRequest) ConsentChallenge(consentChallenge string) OAuth2ApiRejectOAuth2ConsentRequestRequest {
+func (r OAuth2APIRejectOAuth2ConsentRequestRequest) ConsentChallenge(consentChallenge string) OAuth2APIRejectOAuth2ConsentRequestRequest {
r.consentChallenge = &consentChallenge
return r
}
-func (r OAuth2ApiRejectOAuth2ConsentRequestRequest) RejectOAuth2Request(rejectOAuth2Request RejectOAuth2Request) OAuth2ApiRejectOAuth2ConsentRequestRequest {
+func (r OAuth2APIRejectOAuth2ConsentRequestRequest) RejectOAuth2Request(rejectOAuth2Request RejectOAuth2Request) OAuth2APIRejectOAuth2ConsentRequestRequest {
r.rejectOAuth2Request = &rejectOAuth2Request
return r
}
-func (r OAuth2ApiRejectOAuth2ConsentRequestRequest) Execute() (*OAuth2RedirectTo, *http.Response, error) {
+func (r OAuth2APIRejectOAuth2ConsentRequestRequest) Execute() (*OAuth2RedirectTo, *http.Response, error) {
return r.ApiService.RejectOAuth2ConsentRequestExecute(r)
}
@@ -2997,10 +3033,10 @@ The default consent provider is available via the Ory Managed Account Experience
head over to the OAuth 2.0 documentation.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OAuth2ApiRejectOAuth2ConsentRequestRequest
+ @return OAuth2APIRejectOAuth2ConsentRequestRequest
*/
-func (a *OAuth2ApiService) RejectOAuth2ConsentRequest(ctx context.Context) OAuth2ApiRejectOAuth2ConsentRequestRequest {
- return OAuth2ApiRejectOAuth2ConsentRequestRequest{
+func (a *OAuth2APIService) RejectOAuth2ConsentRequest(ctx context.Context) OAuth2APIRejectOAuth2ConsentRequestRequest {
+ return OAuth2APIRejectOAuth2ConsentRequestRequest{
ApiService: a,
ctx: ctx,
}
@@ -3008,7 +3044,7 @@ func (a *OAuth2ApiService) RejectOAuth2ConsentRequest(ctx context.Context) OAuth
// Execute executes the request
// @return OAuth2RedirectTo
-func (a *OAuth2ApiService) RejectOAuth2ConsentRequestExecute(r OAuth2ApiRejectOAuth2ConsentRequestRequest) (*OAuth2RedirectTo, *http.Response, error) {
+func (a *OAuth2APIService) RejectOAuth2ConsentRequestExecute(r OAuth2APIRejectOAuth2ConsentRequestRequest) (*OAuth2RedirectTo, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
@@ -3016,7 +3052,7 @@ func (a *OAuth2ApiService) RejectOAuth2ConsentRequestExecute(r OAuth2ApiRejectOA
localVarReturnValue *OAuth2RedirectTo
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2ApiService.RejectOAuth2ConsentRequest")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2APIService.RejectOAuth2ConsentRequest")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -3030,7 +3066,7 @@ func (a *OAuth2ApiService) RejectOAuth2ConsentRequestExecute(r OAuth2ApiRejectOA
return localVarReturnValue, nil, reportError("consentChallenge is required and must be specified")
}
- localVarQueryParams.Add("consent_challenge", parameterToString(*r.consentChallenge, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "consent_challenge", r.consentChallenge, "")
// to determine the Content-Type header
localVarHTTPContentTypes := []string{"application/json"}
@@ -3060,9 +3096,9 @@ func (a *OAuth2ApiService) RejectOAuth2ConsentRequestExecute(r OAuth2ApiRejectOA
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -3078,7 +3114,8 @@ func (a *OAuth2ApiService) RejectOAuth2ConsentRequestExecute(r OAuth2ApiRejectOA
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -3094,25 +3131,25 @@ func (a *OAuth2ApiService) RejectOAuth2ConsentRequestExecute(r OAuth2ApiRejectOA
return localVarReturnValue, localVarHTTPResponse, nil
}
-type OAuth2ApiRejectOAuth2LoginRequestRequest struct {
+type OAuth2APIRejectOAuth2LoginRequestRequest struct {
ctx context.Context
- ApiService OAuth2Api
+ ApiService OAuth2API
loginChallenge *string
rejectOAuth2Request *RejectOAuth2Request
}
// OAuth 2.0 Login Request Challenge
-func (r OAuth2ApiRejectOAuth2LoginRequestRequest) LoginChallenge(loginChallenge string) OAuth2ApiRejectOAuth2LoginRequestRequest {
+func (r OAuth2APIRejectOAuth2LoginRequestRequest) LoginChallenge(loginChallenge string) OAuth2APIRejectOAuth2LoginRequestRequest {
r.loginChallenge = &loginChallenge
return r
}
-func (r OAuth2ApiRejectOAuth2LoginRequestRequest) RejectOAuth2Request(rejectOAuth2Request RejectOAuth2Request) OAuth2ApiRejectOAuth2LoginRequestRequest {
+func (r OAuth2APIRejectOAuth2LoginRequestRequest) RejectOAuth2Request(rejectOAuth2Request RejectOAuth2Request) OAuth2APIRejectOAuth2LoginRequestRequest {
r.rejectOAuth2Request = &rejectOAuth2Request
return r
}
-func (r OAuth2ApiRejectOAuth2LoginRequestRequest) Execute() (*OAuth2RedirectTo, *http.Response, error) {
+func (r OAuth2APIRejectOAuth2LoginRequestRequest) Execute() (*OAuth2RedirectTo, *http.Response, error) {
return r.ApiService.RejectOAuth2LoginRequestExecute(r)
}
@@ -3131,10 +3168,10 @@ was denied.
The response contains a redirect URL which the login provider should redirect the user-agent to.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OAuth2ApiRejectOAuth2LoginRequestRequest
+ @return OAuth2APIRejectOAuth2LoginRequestRequest
*/
-func (a *OAuth2ApiService) RejectOAuth2LoginRequest(ctx context.Context) OAuth2ApiRejectOAuth2LoginRequestRequest {
- return OAuth2ApiRejectOAuth2LoginRequestRequest{
+func (a *OAuth2APIService) RejectOAuth2LoginRequest(ctx context.Context) OAuth2APIRejectOAuth2LoginRequestRequest {
+ return OAuth2APIRejectOAuth2LoginRequestRequest{
ApiService: a,
ctx: ctx,
}
@@ -3142,7 +3179,7 @@ func (a *OAuth2ApiService) RejectOAuth2LoginRequest(ctx context.Context) OAuth2A
// Execute executes the request
// @return OAuth2RedirectTo
-func (a *OAuth2ApiService) RejectOAuth2LoginRequestExecute(r OAuth2ApiRejectOAuth2LoginRequestRequest) (*OAuth2RedirectTo, *http.Response, error) {
+func (a *OAuth2APIService) RejectOAuth2LoginRequestExecute(r OAuth2APIRejectOAuth2LoginRequestRequest) (*OAuth2RedirectTo, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
@@ -3150,7 +3187,7 @@ func (a *OAuth2ApiService) RejectOAuth2LoginRequestExecute(r OAuth2ApiRejectOAut
localVarReturnValue *OAuth2RedirectTo
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2ApiService.RejectOAuth2LoginRequest")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2APIService.RejectOAuth2LoginRequest")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -3164,7 +3201,7 @@ func (a *OAuth2ApiService) RejectOAuth2LoginRequestExecute(r OAuth2ApiRejectOAut
return localVarReturnValue, nil, reportError("loginChallenge is required and must be specified")
}
- localVarQueryParams.Add("login_challenge", parameterToString(*r.loginChallenge, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "login_challenge", r.loginChallenge, "")
// to determine the Content-Type header
localVarHTTPContentTypes := []string{"application/json"}
@@ -3194,9 +3231,9 @@ func (a *OAuth2ApiService) RejectOAuth2LoginRequestExecute(r OAuth2ApiRejectOAut
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -3212,7 +3249,8 @@ func (a *OAuth2ApiService) RejectOAuth2LoginRequestExecute(r OAuth2ApiRejectOAut
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -3228,18 +3266,18 @@ func (a *OAuth2ApiService) RejectOAuth2LoginRequestExecute(r OAuth2ApiRejectOAut
return localVarReturnValue, localVarHTTPResponse, nil
}
-type OAuth2ApiRejectOAuth2LogoutRequestRequest struct {
+type OAuth2APIRejectOAuth2LogoutRequestRequest struct {
ctx context.Context
- ApiService OAuth2Api
+ ApiService OAuth2API
logoutChallenge *string
}
-func (r OAuth2ApiRejectOAuth2LogoutRequestRequest) LogoutChallenge(logoutChallenge string) OAuth2ApiRejectOAuth2LogoutRequestRequest {
+func (r OAuth2APIRejectOAuth2LogoutRequestRequest) LogoutChallenge(logoutChallenge string) OAuth2APIRejectOAuth2LogoutRequestRequest {
r.logoutChallenge = &logoutChallenge
return r
}
-func (r OAuth2ApiRejectOAuth2LogoutRequestRequest) Execute() (*http.Response, error) {
+func (r OAuth2APIRejectOAuth2LogoutRequestRequest) Execute() (*http.Response, error) {
return r.ApiService.RejectOAuth2LogoutRequestExecute(r)
}
@@ -3252,24 +3290,24 @@ No HTTP request body is required.
The response is empty as the logout provider has to chose what action to perform next.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OAuth2ApiRejectOAuth2LogoutRequestRequest
+ @return OAuth2APIRejectOAuth2LogoutRequestRequest
*/
-func (a *OAuth2ApiService) RejectOAuth2LogoutRequest(ctx context.Context) OAuth2ApiRejectOAuth2LogoutRequestRequest {
- return OAuth2ApiRejectOAuth2LogoutRequestRequest{
+func (a *OAuth2APIService) RejectOAuth2LogoutRequest(ctx context.Context) OAuth2APIRejectOAuth2LogoutRequestRequest {
+ return OAuth2APIRejectOAuth2LogoutRequestRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-func (a *OAuth2ApiService) RejectOAuth2LogoutRequestExecute(r OAuth2ApiRejectOAuth2LogoutRequestRequest) (*http.Response, error) {
+func (a *OAuth2APIService) RejectOAuth2LogoutRequestExecute(r OAuth2APIRejectOAuth2LogoutRequestRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2ApiService.RejectOAuth2LogoutRequest")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2APIService.RejectOAuth2LogoutRequest")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -3283,7 +3321,7 @@ func (a *OAuth2ApiService) RejectOAuth2LogoutRequestExecute(r OAuth2ApiRejectOAu
return nil, reportError("logoutChallenge is required and must be specified")
}
- localVarQueryParams.Add("logout_challenge", parameterToString(*r.logoutChallenge, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "logout_challenge", r.logoutChallenge, "")
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -3311,9 +3349,9 @@ func (a *OAuth2ApiService) RejectOAuth2LogoutRequestExecute(r OAuth2ApiRejectOAu
return localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarHTTPResponse, err
}
@@ -3329,40 +3367,41 @@ func (a *OAuth2ApiService) RejectOAuth2LogoutRequestExecute(r OAuth2ApiRejectOAu
newErr.error = err.Error()
return localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarHTTPResponse, newErr
}
return localVarHTTPResponse, nil
}
-type OAuth2ApiRevokeOAuth2ConsentSessionsRequest struct {
+type OAuth2APIRevokeOAuth2ConsentSessionsRequest struct {
ctx context.Context
- ApiService OAuth2Api
+ ApiService OAuth2API
subject *string
client *string
all *bool
}
// OAuth 2.0 Consent Subject The subject whose consent sessions should be deleted.
-func (r OAuth2ApiRevokeOAuth2ConsentSessionsRequest) Subject(subject string) OAuth2ApiRevokeOAuth2ConsentSessionsRequest {
+func (r OAuth2APIRevokeOAuth2ConsentSessionsRequest) Subject(subject string) OAuth2APIRevokeOAuth2ConsentSessionsRequest {
r.subject = &subject
return r
}
// OAuth 2.0 Client ID If set, deletes only those consent sessions that have been granted to the specified OAuth 2.0 Client ID.
-func (r OAuth2ApiRevokeOAuth2ConsentSessionsRequest) Client(client string) OAuth2ApiRevokeOAuth2ConsentSessionsRequest {
+func (r OAuth2APIRevokeOAuth2ConsentSessionsRequest) Client(client string) OAuth2APIRevokeOAuth2ConsentSessionsRequest {
r.client = &client
return r
}
// Revoke All Consent Sessions If set to `true` deletes all consent sessions by the Subject that have been granted.
-func (r OAuth2ApiRevokeOAuth2ConsentSessionsRequest) All(all bool) OAuth2ApiRevokeOAuth2ConsentSessionsRequest {
+func (r OAuth2APIRevokeOAuth2ConsentSessionsRequest) All(all bool) OAuth2APIRevokeOAuth2ConsentSessionsRequest {
r.all = &all
return r
}
-func (r OAuth2ApiRevokeOAuth2ConsentSessionsRequest) Execute() (*http.Response, error) {
+func (r OAuth2APIRevokeOAuth2ConsentSessionsRequest) Execute() (*http.Response, error) {
return r.ApiService.RevokeOAuth2ConsentSessionsExecute(r)
}
@@ -3373,24 +3412,24 @@ This endpoint revokes a subject's granted consent sessions and invalidates all
associated OAuth 2.0 Access Tokens. You may also only revoke sessions for a specific OAuth 2.0 Client ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OAuth2ApiRevokeOAuth2ConsentSessionsRequest
+ @return OAuth2APIRevokeOAuth2ConsentSessionsRequest
*/
-func (a *OAuth2ApiService) RevokeOAuth2ConsentSessions(ctx context.Context) OAuth2ApiRevokeOAuth2ConsentSessionsRequest {
- return OAuth2ApiRevokeOAuth2ConsentSessionsRequest{
+func (a *OAuth2APIService) RevokeOAuth2ConsentSessions(ctx context.Context) OAuth2APIRevokeOAuth2ConsentSessionsRequest {
+ return OAuth2APIRevokeOAuth2ConsentSessionsRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-func (a *OAuth2ApiService) RevokeOAuth2ConsentSessionsExecute(r OAuth2ApiRevokeOAuth2ConsentSessionsRequest) (*http.Response, error) {
+func (a *OAuth2APIService) RevokeOAuth2ConsentSessionsExecute(r OAuth2APIRevokeOAuth2ConsentSessionsRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2ApiService.RevokeOAuth2ConsentSessions")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2APIService.RevokeOAuth2ConsentSessions")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -3404,12 +3443,12 @@ func (a *OAuth2ApiService) RevokeOAuth2ConsentSessionsExecute(r OAuth2ApiRevokeO
return nil, reportError("subject is required and must be specified")
}
- localVarQueryParams.Add("subject", parameterToString(*r.subject, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "subject", r.subject, "")
if r.client != nil {
- localVarQueryParams.Add("client", parameterToString(*r.client, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "client", r.client, "")
}
if r.all != nil {
- localVarQueryParams.Add("all", parameterToString(*r.all, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "all", r.all, "")
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -3438,9 +3477,9 @@ func (a *OAuth2ApiService) RevokeOAuth2ConsentSessionsExecute(r OAuth2ApiRevokeO
return localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarHTTPResponse, err
}
@@ -3456,33 +3495,34 @@ func (a *OAuth2ApiService) RevokeOAuth2ConsentSessionsExecute(r OAuth2ApiRevokeO
newErr.error = err.Error()
return localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarHTTPResponse, newErr
}
return localVarHTTPResponse, nil
}
-type OAuth2ApiRevokeOAuth2LoginSessionsRequest struct {
+type OAuth2APIRevokeOAuth2LoginSessionsRequest struct {
ctx context.Context
- ApiService OAuth2Api
+ ApiService OAuth2API
subject *string
sid *string
}
// OAuth 2.0 Subject The subject to revoke authentication sessions for.
-func (r OAuth2ApiRevokeOAuth2LoginSessionsRequest) Subject(subject string) OAuth2ApiRevokeOAuth2LoginSessionsRequest {
+func (r OAuth2APIRevokeOAuth2LoginSessionsRequest) Subject(subject string) OAuth2APIRevokeOAuth2LoginSessionsRequest {
r.subject = &subject
return r
}
// OAuth 2.0 Subject The subject to revoke authentication sessions for.
-func (r OAuth2ApiRevokeOAuth2LoginSessionsRequest) Sid(sid string) OAuth2ApiRevokeOAuth2LoginSessionsRequest {
+func (r OAuth2APIRevokeOAuth2LoginSessionsRequest) Sid(sid string) OAuth2APIRevokeOAuth2LoginSessionsRequest {
r.sid = &sid
return r
}
-func (r OAuth2ApiRevokeOAuth2LoginSessionsRequest) Execute() (*http.Response, error) {
+func (r OAuth2APIRevokeOAuth2LoginSessionsRequest) Execute() (*http.Response, error) {
return r.ApiService.RevokeOAuth2LoginSessionsExecute(r)
}
@@ -3499,24 +3539,24 @@ Alternatively, you can send a SessionID via `sid` query param, in which case, on
to that SessionID is revoked. OpenID Connect Back-channel logout is performed in this case.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OAuth2ApiRevokeOAuth2LoginSessionsRequest
+ @return OAuth2APIRevokeOAuth2LoginSessionsRequest
*/
-func (a *OAuth2ApiService) RevokeOAuth2LoginSessions(ctx context.Context) OAuth2ApiRevokeOAuth2LoginSessionsRequest {
- return OAuth2ApiRevokeOAuth2LoginSessionsRequest{
+func (a *OAuth2APIService) RevokeOAuth2LoginSessions(ctx context.Context) OAuth2APIRevokeOAuth2LoginSessionsRequest {
+ return OAuth2APIRevokeOAuth2LoginSessionsRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-func (a *OAuth2ApiService) RevokeOAuth2LoginSessionsExecute(r OAuth2ApiRevokeOAuth2LoginSessionsRequest) (*http.Response, error) {
+func (a *OAuth2APIService) RevokeOAuth2LoginSessionsExecute(r OAuth2APIRevokeOAuth2LoginSessionsRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2ApiService.RevokeOAuth2LoginSessions")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2APIService.RevokeOAuth2LoginSessions")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -3528,10 +3568,10 @@ func (a *OAuth2ApiService) RevokeOAuth2LoginSessionsExecute(r OAuth2ApiRevokeOAu
localVarFormParams := url.Values{}
if r.subject != nil {
- localVarQueryParams.Add("subject", parameterToString(*r.subject, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "subject", r.subject, "")
}
if r.sid != nil {
- localVarQueryParams.Add("sid", parameterToString(*r.sid, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "sid", r.sid, "")
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -3560,9 +3600,9 @@ func (a *OAuth2ApiService) RevokeOAuth2LoginSessionsExecute(r OAuth2ApiRevokeOAu
return localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarHTTPResponse, err
}
@@ -3578,37 +3618,38 @@ func (a *OAuth2ApiService) RevokeOAuth2LoginSessionsExecute(r OAuth2ApiRevokeOAu
newErr.error = err.Error()
return localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarHTTPResponse, newErr
}
return localVarHTTPResponse, nil
}
-type OAuth2ApiRevokeOAuth2TokenRequest struct {
+type OAuth2APIRevokeOAuth2TokenRequest struct {
ctx context.Context
- ApiService OAuth2Api
+ ApiService OAuth2API
token *string
clientId *string
clientSecret *string
}
-func (r OAuth2ApiRevokeOAuth2TokenRequest) Token(token string) OAuth2ApiRevokeOAuth2TokenRequest {
+func (r OAuth2APIRevokeOAuth2TokenRequest) Token(token string) OAuth2APIRevokeOAuth2TokenRequest {
r.token = &token
return r
}
-func (r OAuth2ApiRevokeOAuth2TokenRequest) ClientId(clientId string) OAuth2ApiRevokeOAuth2TokenRequest {
+func (r OAuth2APIRevokeOAuth2TokenRequest) ClientId(clientId string) OAuth2APIRevokeOAuth2TokenRequest {
r.clientId = &clientId
return r
}
-func (r OAuth2ApiRevokeOAuth2TokenRequest) ClientSecret(clientSecret string) OAuth2ApiRevokeOAuth2TokenRequest {
+func (r OAuth2APIRevokeOAuth2TokenRequest) ClientSecret(clientSecret string) OAuth2APIRevokeOAuth2TokenRequest {
r.clientSecret = &clientSecret
return r
}
-func (r OAuth2ApiRevokeOAuth2TokenRequest) Execute() (*http.Response, error) {
+func (r OAuth2APIRevokeOAuth2TokenRequest) Execute() (*http.Response, error) {
return r.ApiService.RevokeOAuth2TokenExecute(r)
}
@@ -3621,24 +3662,24 @@ Revoking a refresh token also invalidates the access token that was created with
the client the token was generated for.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OAuth2ApiRevokeOAuth2TokenRequest
+ @return OAuth2APIRevokeOAuth2TokenRequest
*/
-func (a *OAuth2ApiService) RevokeOAuth2Token(ctx context.Context) OAuth2ApiRevokeOAuth2TokenRequest {
- return OAuth2ApiRevokeOAuth2TokenRequest{
+func (a *OAuth2APIService) RevokeOAuth2Token(ctx context.Context) OAuth2APIRevokeOAuth2TokenRequest {
+ return OAuth2APIRevokeOAuth2TokenRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-func (a *OAuth2ApiService) RevokeOAuth2TokenExecute(r OAuth2ApiRevokeOAuth2TokenRequest) (*http.Response, error) {
+func (a *OAuth2APIService) RevokeOAuth2TokenExecute(r OAuth2APIRevokeOAuth2TokenRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2ApiService.RevokeOAuth2Token")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2APIService.RevokeOAuth2Token")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -3670,12 +3711,12 @@ func (a *OAuth2ApiService) RevokeOAuth2TokenExecute(r OAuth2ApiRevokeOAuth2Token
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
if r.clientId != nil {
- localVarFormParams.Add("client_id", parameterToString(*r.clientId, ""))
+ parameterAddToHeaderOrQuery(localVarFormParams, "client_id", r.clientId, "")
}
if r.clientSecret != nil {
- localVarFormParams.Add("client_secret", parameterToString(*r.clientSecret, ""))
+ parameterAddToHeaderOrQuery(localVarFormParams, "client_secret", r.clientSecret, "")
}
- localVarFormParams.Add("token", parameterToString(*r.token, ""))
+ parameterAddToHeaderOrQuery(localVarFormParams, "token", r.token, "")
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
if err != nil {
return nil, err
@@ -3686,9 +3727,9 @@ func (a *OAuth2ApiService) RevokeOAuth2TokenExecute(r OAuth2ApiRevokeOAuth2Token
return localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarHTTPResponse, err
}
@@ -3704,27 +3745,28 @@ func (a *OAuth2ApiService) RevokeOAuth2TokenExecute(r OAuth2ApiRevokeOAuth2Token
newErr.error = err.Error()
return localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarHTTPResponse, newErr
}
return localVarHTTPResponse, nil
}
-type OAuth2ApiSetOAuth2ClientRequest struct {
+type OAuth2APISetOAuth2ClientRequest struct {
ctx context.Context
- ApiService OAuth2Api
+ ApiService OAuth2API
id string
oAuth2Client *OAuth2Client
}
// OAuth 2.0 Client Request Body
-func (r OAuth2ApiSetOAuth2ClientRequest) OAuth2Client(oAuth2Client OAuth2Client) OAuth2ApiSetOAuth2ClientRequest {
+func (r OAuth2APISetOAuth2ClientRequest) OAuth2Client(oAuth2Client OAuth2Client) OAuth2APISetOAuth2ClientRequest {
r.oAuth2Client = &oAuth2Client
return r
}
-func (r OAuth2ApiSetOAuth2ClientRequest) Execute() (*OAuth2Client, *http.Response, error) {
+func (r OAuth2APISetOAuth2ClientRequest) Execute() (*OAuth2Client, *http.Response, error) {
return r.ApiService.SetOAuth2ClientExecute(r)
}
@@ -3741,10 +3783,10 @@ generated for applications which want to consume your OAuth 2.0 or OpenID Connec
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id OAuth 2.0 Client ID
- @return OAuth2ApiSetOAuth2ClientRequest
+ @return OAuth2APISetOAuth2ClientRequest
*/
-func (a *OAuth2ApiService) SetOAuth2Client(ctx context.Context, id string) OAuth2ApiSetOAuth2ClientRequest {
- return OAuth2ApiSetOAuth2ClientRequest{
+func (a *OAuth2APIService) SetOAuth2Client(ctx context.Context, id string) OAuth2APISetOAuth2ClientRequest {
+ return OAuth2APISetOAuth2ClientRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -3753,7 +3795,7 @@ func (a *OAuth2ApiService) SetOAuth2Client(ctx context.Context, id string) OAuth
// Execute executes the request
// @return OAuth2Client
-func (a *OAuth2ApiService) SetOAuth2ClientExecute(r OAuth2ApiSetOAuth2ClientRequest) (*OAuth2Client, *http.Response, error) {
+func (a *OAuth2APIService) SetOAuth2ClientExecute(r OAuth2APISetOAuth2ClientRequest) (*OAuth2Client, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
@@ -3761,13 +3803,13 @@ func (a *OAuth2ApiService) SetOAuth2ClientExecute(r OAuth2ApiSetOAuth2ClientRequ
localVarReturnValue *OAuth2Client
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2ApiService.SetOAuth2Client")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2APIService.SetOAuth2Client")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/admin/clients/{id}"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -3805,9 +3847,9 @@ func (a *OAuth2ApiService) SetOAuth2ClientExecute(r OAuth2ApiSetOAuth2ClientRequ
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -3824,7 +3866,8 @@ func (a *OAuth2ApiService) SetOAuth2ClientExecute(r OAuth2ApiSetOAuth2ClientRequ
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 404 {
@@ -3834,7 +3877,8 @@ func (a *OAuth2ApiService) SetOAuth2ClientExecute(r OAuth2ApiSetOAuth2ClientRequ
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorOAuth2
@@ -3843,7 +3887,8 @@ func (a *OAuth2ApiService) SetOAuth2ClientExecute(r OAuth2ApiSetOAuth2ClientRequ
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -3859,19 +3904,19 @@ func (a *OAuth2ApiService) SetOAuth2ClientExecute(r OAuth2ApiSetOAuth2ClientRequ
return localVarReturnValue, localVarHTTPResponse, nil
}
-type OAuth2ApiSetOAuth2ClientLifespansRequest struct {
+type OAuth2APISetOAuth2ClientLifespansRequest struct {
ctx context.Context
- ApiService OAuth2Api
+ ApiService OAuth2API
id string
oAuth2ClientTokenLifespans *OAuth2ClientTokenLifespans
}
-func (r OAuth2ApiSetOAuth2ClientLifespansRequest) OAuth2ClientTokenLifespans(oAuth2ClientTokenLifespans OAuth2ClientTokenLifespans) OAuth2ApiSetOAuth2ClientLifespansRequest {
+func (r OAuth2APISetOAuth2ClientLifespansRequest) OAuth2ClientTokenLifespans(oAuth2ClientTokenLifespans OAuth2ClientTokenLifespans) OAuth2APISetOAuth2ClientLifespansRequest {
r.oAuth2ClientTokenLifespans = &oAuth2ClientTokenLifespans
return r
}
-func (r OAuth2ApiSetOAuth2ClientLifespansRequest) Execute() (*OAuth2Client, *http.Response, error) {
+func (r OAuth2APISetOAuth2ClientLifespansRequest) Execute() (*OAuth2Client, *http.Response, error) {
return r.ApiService.SetOAuth2ClientLifespansExecute(r)
}
@@ -3882,10 +3927,10 @@ Set lifespans of different token types issued for this OAuth 2.0 client. Does no
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id OAuth 2.0 Client ID
- @return OAuth2ApiSetOAuth2ClientLifespansRequest
+ @return OAuth2APISetOAuth2ClientLifespansRequest
*/
-func (a *OAuth2ApiService) SetOAuth2ClientLifespans(ctx context.Context, id string) OAuth2ApiSetOAuth2ClientLifespansRequest {
- return OAuth2ApiSetOAuth2ClientLifespansRequest{
+func (a *OAuth2APIService) SetOAuth2ClientLifespans(ctx context.Context, id string) OAuth2APISetOAuth2ClientLifespansRequest {
+ return OAuth2APISetOAuth2ClientLifespansRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -3894,7 +3939,7 @@ func (a *OAuth2ApiService) SetOAuth2ClientLifespans(ctx context.Context, id stri
// Execute executes the request
// @return OAuth2Client
-func (a *OAuth2ApiService) SetOAuth2ClientLifespansExecute(r OAuth2ApiSetOAuth2ClientLifespansRequest) (*OAuth2Client, *http.Response, error) {
+func (a *OAuth2APIService) SetOAuth2ClientLifespansExecute(r OAuth2APISetOAuth2ClientLifespansRequest) (*OAuth2Client, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
@@ -3902,13 +3947,13 @@ func (a *OAuth2ApiService) SetOAuth2ClientLifespansExecute(r OAuth2ApiSetOAuth2C
localVarReturnValue *OAuth2Client
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2ApiService.SetOAuth2ClientLifespans")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2APIService.SetOAuth2ClientLifespans")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/admin/clients/{id}/lifespans"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -3943,9 +3988,9 @@ func (a *OAuth2ApiService) SetOAuth2ClientLifespansExecute(r OAuth2ApiSetOAuth2C
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -3961,7 +4006,8 @@ func (a *OAuth2ApiService) SetOAuth2ClientLifespansExecute(r OAuth2ApiSetOAuth2C
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -3977,18 +4023,18 @@ func (a *OAuth2ApiService) SetOAuth2ClientLifespansExecute(r OAuth2ApiSetOAuth2C
return localVarReturnValue, localVarHTTPResponse, nil
}
-type OAuth2ApiTrustOAuth2JwtGrantIssuerRequest struct {
+type OAuth2APITrustOAuth2JwtGrantIssuerRequest struct {
ctx context.Context
- ApiService OAuth2Api
+ ApiService OAuth2API
trustOAuth2JwtGrantIssuer *TrustOAuth2JwtGrantIssuer
}
-func (r OAuth2ApiTrustOAuth2JwtGrantIssuerRequest) TrustOAuth2JwtGrantIssuer(trustOAuth2JwtGrantIssuer TrustOAuth2JwtGrantIssuer) OAuth2ApiTrustOAuth2JwtGrantIssuerRequest {
+func (r OAuth2APITrustOAuth2JwtGrantIssuerRequest) TrustOAuth2JwtGrantIssuer(trustOAuth2JwtGrantIssuer TrustOAuth2JwtGrantIssuer) OAuth2APITrustOAuth2JwtGrantIssuerRequest {
r.trustOAuth2JwtGrantIssuer = &trustOAuth2JwtGrantIssuer
return r
}
-func (r OAuth2ApiTrustOAuth2JwtGrantIssuerRequest) Execute() (*TrustedOAuth2JwtGrantIssuer, *http.Response, error) {
+func (r OAuth2APITrustOAuth2JwtGrantIssuerRequest) Execute() (*TrustedOAuth2JwtGrantIssuer, *http.Response, error) {
return r.ApiService.TrustOAuth2JwtGrantIssuerExecute(r)
}
@@ -4000,10 +4046,10 @@ to perform JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication
and Authorization Grants [RFC7523](https://datatracker.ietf.org/doc/html/rfc7523).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OAuth2ApiTrustOAuth2JwtGrantIssuerRequest
+ @return OAuth2APITrustOAuth2JwtGrantIssuerRequest
*/
-func (a *OAuth2ApiService) TrustOAuth2JwtGrantIssuer(ctx context.Context) OAuth2ApiTrustOAuth2JwtGrantIssuerRequest {
- return OAuth2ApiTrustOAuth2JwtGrantIssuerRequest{
+func (a *OAuth2APIService) TrustOAuth2JwtGrantIssuer(ctx context.Context) OAuth2APITrustOAuth2JwtGrantIssuerRequest {
+ return OAuth2APITrustOAuth2JwtGrantIssuerRequest{
ApiService: a,
ctx: ctx,
}
@@ -4011,7 +4057,7 @@ func (a *OAuth2ApiService) TrustOAuth2JwtGrantIssuer(ctx context.Context) OAuth2
// Execute executes the request
// @return TrustedOAuth2JwtGrantIssuer
-func (a *OAuth2ApiService) TrustOAuth2JwtGrantIssuerExecute(r OAuth2ApiTrustOAuth2JwtGrantIssuerRequest) (*TrustedOAuth2JwtGrantIssuer, *http.Response, error) {
+func (a *OAuth2APIService) TrustOAuth2JwtGrantIssuerExecute(r OAuth2APITrustOAuth2JwtGrantIssuerRequest) (*TrustedOAuth2JwtGrantIssuer, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
@@ -4019,7 +4065,7 @@ func (a *OAuth2ApiService) TrustOAuth2JwtGrantIssuerExecute(r OAuth2ApiTrustOAut
localVarReturnValue *TrustedOAuth2JwtGrantIssuer
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2ApiService.TrustOAuth2JwtGrantIssuer")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OAuth2APIService.TrustOAuth2JwtGrantIssuer")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -4059,9 +4105,9 @@ func (a *OAuth2ApiService) TrustOAuth2JwtGrantIssuerExecute(r OAuth2ApiTrustOAut
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -4077,7 +4123,8 @@ func (a *OAuth2ApiService) TrustOAuth2JwtGrantIssuerExecute(r OAuth2ApiTrustOAut
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
diff --git a/clients/client/go/api_oidc.go b/clients/client/go/api_oidc.go
index 192824faecb..92442c94de0 100644
--- a/clients/client/go/api_oidc.go
+++ b/clients/client/go/api_oidc.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -14,14 +14,14 @@ package client
import (
"bytes"
"context"
- "io/ioutil"
+ "io"
"net/http"
"net/url"
"strings"
)
-type OidcApi interface {
+type OidcAPI interface {
/*
CreateOidcDynamicClient Register OAuth2 Client using OpenID Dynamic Client Registration
@@ -39,13 +39,13 @@ The `client_secret` will be returned in the response and you will not be able to
Write the secret down and keep it somewhere safe.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OidcApiCreateOidcDynamicClientRequest
+ @return OidcAPICreateOidcDynamicClientRequest
*/
- CreateOidcDynamicClient(ctx context.Context) OidcApiCreateOidcDynamicClientRequest
+ CreateOidcDynamicClient(ctx context.Context) OidcAPICreateOidcDynamicClientRequest
// CreateOidcDynamicClientExecute executes the request
// @return OAuth2Client
- CreateOidcDynamicClientExecute(r OidcApiCreateOidcDynamicClientRequest) (*OAuth2Client, *http.Response, error)
+ CreateOidcDynamicClientExecute(r OidcAPICreateOidcDynamicClientRequest) (*OAuth2Client, *http.Response, error)
/*
CreateVerifiableCredential Issues a Verifiable Credential
@@ -58,13 +58,13 @@ More information can be found at
https://openid.net/specs/openid-connect-userinfo-vc-1_0.html.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OidcApiCreateVerifiableCredentialRequest
+ @return OidcAPICreateVerifiableCredentialRequest
*/
- CreateVerifiableCredential(ctx context.Context) OidcApiCreateVerifiableCredentialRequest
+ CreateVerifiableCredential(ctx context.Context) OidcAPICreateVerifiableCredentialRequest
// CreateVerifiableCredentialExecute executes the request
// @return VerifiableCredentialResponse
- CreateVerifiableCredentialExecute(r OidcApiCreateVerifiableCredentialRequest) (*VerifiableCredentialResponse, *http.Response, error)
+ CreateVerifiableCredentialExecute(r OidcAPICreateVerifiableCredentialRequest) (*VerifiableCredentialResponse, *http.Response, error)
/*
DeleteOidcDynamicClient Delete OAuth 2.0 Client using the OpenID Dynamic Client Registration Management Protocol
@@ -83,12 +83,12 @@ generated for applications which want to consume your OAuth 2.0 or OpenID Connec
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The id of the OAuth 2.0 Client.
- @return OidcApiDeleteOidcDynamicClientRequest
+ @return OidcAPIDeleteOidcDynamicClientRequest
*/
- DeleteOidcDynamicClient(ctx context.Context, id string) OidcApiDeleteOidcDynamicClientRequest
+ DeleteOidcDynamicClient(ctx context.Context, id string) OidcAPIDeleteOidcDynamicClientRequest
// DeleteOidcDynamicClientExecute executes the request
- DeleteOidcDynamicClientExecute(r OidcApiDeleteOidcDynamicClientRequest) (*http.Response, error)
+ DeleteOidcDynamicClientExecute(r OidcAPIDeleteOidcDynamicClientRequest) (*http.Response, error)
/*
DiscoverOidcConfiguration OpenID Connect Discovery
@@ -99,13 +99,13 @@ Popular libraries for OpenID Connect clients include oidc-client-js (JavaScript)
For a full list of clients go here: https://openid.net/developers/certified/
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OidcApiDiscoverOidcConfigurationRequest
+ @return OidcAPIDiscoverOidcConfigurationRequest
*/
- DiscoverOidcConfiguration(ctx context.Context) OidcApiDiscoverOidcConfigurationRequest
+ DiscoverOidcConfiguration(ctx context.Context) OidcAPIDiscoverOidcConfigurationRequest
// DiscoverOidcConfigurationExecute executes the request
// @return OidcConfiguration
- DiscoverOidcConfigurationExecute(r OidcApiDiscoverOidcConfigurationRequest) (*OidcConfiguration, *http.Response, error)
+ DiscoverOidcConfigurationExecute(r OidcAPIDiscoverOidcConfigurationRequest) (*OidcConfiguration, *http.Response, error)
/*
GetOidcDynamicClient Get OAuth2 Client using OpenID Dynamic Client Registration
@@ -120,13 +120,13 @@ If it uses `client_secret_basic`, present the Client ID and the Client Secret in
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The id of the OAuth 2.0 Client.
- @return OidcApiGetOidcDynamicClientRequest
+ @return OidcAPIGetOidcDynamicClientRequest
*/
- GetOidcDynamicClient(ctx context.Context, id string) OidcApiGetOidcDynamicClientRequest
+ GetOidcDynamicClient(ctx context.Context, id string) OidcAPIGetOidcDynamicClientRequest
// GetOidcDynamicClientExecute executes the request
// @return OAuth2Client
- GetOidcDynamicClientExecute(r OidcApiGetOidcDynamicClientRequest) (*OAuth2Client, *http.Response, error)
+ GetOidcDynamicClientExecute(r OidcAPIGetOidcDynamicClientRequest) (*OAuth2Client, *http.Response, error)
/*
GetOidcUserInfo OpenID Connect Userinfo
@@ -139,13 +139,13 @@ with more information about the error. See [the spec](https://datatracker.ietf.o
for more details about header format.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OidcApiGetOidcUserInfoRequest
+ @return OidcAPIGetOidcUserInfoRequest
*/
- GetOidcUserInfo(ctx context.Context) OidcApiGetOidcUserInfoRequest
+ GetOidcUserInfo(ctx context.Context) OidcAPIGetOidcUserInfoRequest
// GetOidcUserInfoExecute executes the request
// @return OidcUserInfo
- GetOidcUserInfoExecute(r OidcApiGetOidcUserInfoRequest) (*OidcUserInfo, *http.Response, error)
+ GetOidcUserInfoExecute(r OidcAPIGetOidcUserInfoRequest) (*OidcUserInfo, *http.Response, error)
/*
RevokeOidcSession OpenID Connect Front- and Back-channel Enabled Logout
@@ -158,12 +158,12 @@ https://openid.net/specs/openid-connect-backchannel-1_0.html
Back-channel logout is performed asynchronously and does not affect logout flow.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OidcApiRevokeOidcSessionRequest
+ @return OidcAPIRevokeOidcSessionRequest
*/
- RevokeOidcSession(ctx context.Context) OidcApiRevokeOidcSessionRequest
+ RevokeOidcSession(ctx context.Context) OidcAPIRevokeOidcSessionRequest
// RevokeOidcSessionExecute executes the request
- RevokeOidcSessionExecute(r OidcApiRevokeOidcSessionRequest) (*http.Response, error)
+ RevokeOidcSessionExecute(r OidcAPIRevokeOidcSessionRequest) (*http.Response, error)
/*
SetOidcDynamicClient Set OAuth2 Client using OpenID Dynamic Client Registration
@@ -186,31 +186,31 @@ generated for applications which want to consume your OAuth 2.0 or OpenID Connec
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id OAuth 2.0 Client ID
- @return OidcApiSetOidcDynamicClientRequest
+ @return OidcAPISetOidcDynamicClientRequest
*/
- SetOidcDynamicClient(ctx context.Context, id string) OidcApiSetOidcDynamicClientRequest
+ SetOidcDynamicClient(ctx context.Context, id string) OidcAPISetOidcDynamicClientRequest
// SetOidcDynamicClientExecute executes the request
// @return OAuth2Client
- SetOidcDynamicClientExecute(r OidcApiSetOidcDynamicClientRequest) (*OAuth2Client, *http.Response, error)
+ SetOidcDynamicClientExecute(r OidcAPISetOidcDynamicClientRequest) (*OAuth2Client, *http.Response, error)
}
-// OidcApiService OidcApi service
-type OidcApiService service
+// OidcAPIService OidcAPI service
+type OidcAPIService service
-type OidcApiCreateOidcDynamicClientRequest struct {
+type OidcAPICreateOidcDynamicClientRequest struct {
ctx context.Context
- ApiService OidcApi
+ ApiService OidcAPI
oAuth2Client *OAuth2Client
}
// Dynamic Client Registration Request Body
-func (r OidcApiCreateOidcDynamicClientRequest) OAuth2Client(oAuth2Client OAuth2Client) OidcApiCreateOidcDynamicClientRequest {
+func (r OidcAPICreateOidcDynamicClientRequest) OAuth2Client(oAuth2Client OAuth2Client) OidcAPICreateOidcDynamicClientRequest {
r.oAuth2Client = &oAuth2Client
return r
}
-func (r OidcApiCreateOidcDynamicClientRequest) Execute() (*OAuth2Client, *http.Response, error) {
+func (r OidcAPICreateOidcDynamicClientRequest) Execute() (*OAuth2Client, *http.Response, error) {
return r.ApiService.CreateOidcDynamicClientExecute(r)
}
@@ -230,10 +230,10 @@ The `client_secret` will be returned in the response and you will not be able to
Write the secret down and keep it somewhere safe.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OidcApiCreateOidcDynamicClientRequest
+ @return OidcAPICreateOidcDynamicClientRequest
*/
-func (a *OidcApiService) CreateOidcDynamicClient(ctx context.Context) OidcApiCreateOidcDynamicClientRequest {
- return OidcApiCreateOidcDynamicClientRequest{
+func (a *OidcAPIService) CreateOidcDynamicClient(ctx context.Context) OidcAPICreateOidcDynamicClientRequest {
+ return OidcAPICreateOidcDynamicClientRequest{
ApiService: a,
ctx: ctx,
}
@@ -241,7 +241,7 @@ func (a *OidcApiService) CreateOidcDynamicClient(ctx context.Context) OidcApiCre
// Execute executes the request
// @return OAuth2Client
-func (a *OidcApiService) CreateOidcDynamicClientExecute(r OidcApiCreateOidcDynamicClientRequest) (*OAuth2Client, *http.Response, error) {
+func (a *OidcAPIService) CreateOidcDynamicClientExecute(r OidcAPICreateOidcDynamicClientRequest) (*OAuth2Client, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
@@ -249,7 +249,7 @@ func (a *OidcApiService) CreateOidcDynamicClientExecute(r OidcApiCreateOidcDynam
localVarReturnValue *OAuth2Client
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OidcApiService.CreateOidcDynamicClient")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OidcAPIService.CreateOidcDynamicClient")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -292,9 +292,9 @@ func (a *OidcApiService) CreateOidcDynamicClientExecute(r OidcApiCreateOidcDynam
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -311,7 +311,8 @@ func (a *OidcApiService) CreateOidcDynamicClientExecute(r OidcApiCreateOidcDynam
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorOAuth2
@@ -320,7 +321,8 @@ func (a *OidcApiService) CreateOidcDynamicClientExecute(r OidcApiCreateOidcDynam
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -336,18 +338,18 @@ func (a *OidcApiService) CreateOidcDynamicClientExecute(r OidcApiCreateOidcDynam
return localVarReturnValue, localVarHTTPResponse, nil
}
-type OidcApiCreateVerifiableCredentialRequest struct {
+type OidcAPICreateVerifiableCredentialRequest struct {
ctx context.Context
- ApiService OidcApi
+ ApiService OidcAPI
createVerifiableCredentialRequestBody *CreateVerifiableCredentialRequestBody
}
-func (r OidcApiCreateVerifiableCredentialRequest) CreateVerifiableCredentialRequestBody(createVerifiableCredentialRequestBody CreateVerifiableCredentialRequestBody) OidcApiCreateVerifiableCredentialRequest {
+func (r OidcAPICreateVerifiableCredentialRequest) CreateVerifiableCredentialRequestBody(createVerifiableCredentialRequestBody CreateVerifiableCredentialRequestBody) OidcAPICreateVerifiableCredentialRequest {
r.createVerifiableCredentialRequestBody = &createVerifiableCredentialRequestBody
return r
}
-func (r OidcApiCreateVerifiableCredentialRequest) Execute() (*VerifiableCredentialResponse, *http.Response, error) {
+func (r OidcAPICreateVerifiableCredentialRequest) Execute() (*VerifiableCredentialResponse, *http.Response, error) {
return r.ApiService.CreateVerifiableCredentialExecute(r)
}
@@ -362,10 +364,10 @@ More information can be found at
https://openid.net/specs/openid-connect-userinfo-vc-1_0.html.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OidcApiCreateVerifiableCredentialRequest
+ @return OidcAPICreateVerifiableCredentialRequest
*/
-func (a *OidcApiService) CreateVerifiableCredential(ctx context.Context) OidcApiCreateVerifiableCredentialRequest {
- return OidcApiCreateVerifiableCredentialRequest{
+func (a *OidcAPIService) CreateVerifiableCredential(ctx context.Context) OidcAPICreateVerifiableCredentialRequest {
+ return OidcAPICreateVerifiableCredentialRequest{
ApiService: a,
ctx: ctx,
}
@@ -373,7 +375,7 @@ func (a *OidcApiService) CreateVerifiableCredential(ctx context.Context) OidcApi
// Execute executes the request
// @return VerifiableCredentialResponse
-func (a *OidcApiService) CreateVerifiableCredentialExecute(r OidcApiCreateVerifiableCredentialRequest) (*VerifiableCredentialResponse, *http.Response, error) {
+func (a *OidcAPIService) CreateVerifiableCredentialExecute(r OidcAPICreateVerifiableCredentialRequest) (*VerifiableCredentialResponse, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
@@ -381,7 +383,7 @@ func (a *OidcApiService) CreateVerifiableCredentialExecute(r OidcApiCreateVerifi
localVarReturnValue *VerifiableCredentialResponse
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OidcApiService.CreateVerifiableCredential")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OidcAPIService.CreateVerifiableCredential")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -421,9 +423,9 @@ func (a *OidcApiService) CreateVerifiableCredentialExecute(r OidcApiCreateVerifi
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -440,7 +442,8 @@ func (a *OidcApiService) CreateVerifiableCredentialExecute(r OidcApiCreateVerifi
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorOAuth2
@@ -449,7 +452,8 @@ func (a *OidcApiService) CreateVerifiableCredentialExecute(r OidcApiCreateVerifi
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -465,13 +469,13 @@ func (a *OidcApiService) CreateVerifiableCredentialExecute(r OidcApiCreateVerifi
return localVarReturnValue, localVarHTTPResponse, nil
}
-type OidcApiDeleteOidcDynamicClientRequest struct {
+type OidcAPIDeleteOidcDynamicClientRequest struct {
ctx context.Context
- ApiService OidcApi
+ ApiService OidcAPI
id string
}
-func (r OidcApiDeleteOidcDynamicClientRequest) Execute() (*http.Response, error) {
+func (r OidcAPIDeleteOidcDynamicClientRequest) Execute() (*http.Response, error) {
return r.ApiService.DeleteOidcDynamicClientExecute(r)
}
@@ -492,10 +496,10 @@ generated for applications which want to consume your OAuth 2.0 or OpenID Connec
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The id of the OAuth 2.0 Client.
- @return OidcApiDeleteOidcDynamicClientRequest
+ @return OidcAPIDeleteOidcDynamicClientRequest
*/
-func (a *OidcApiService) DeleteOidcDynamicClient(ctx context.Context, id string) OidcApiDeleteOidcDynamicClientRequest {
- return OidcApiDeleteOidcDynamicClientRequest{
+func (a *OidcAPIService) DeleteOidcDynamicClient(ctx context.Context, id string) OidcAPIDeleteOidcDynamicClientRequest {
+ return OidcAPIDeleteOidcDynamicClientRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -503,20 +507,20 @@ func (a *OidcApiService) DeleteOidcDynamicClient(ctx context.Context, id string)
}
// Execute executes the request
-func (a *OidcApiService) DeleteOidcDynamicClientExecute(r OidcApiDeleteOidcDynamicClientRequest) (*http.Response, error) {
+func (a *OidcAPIService) DeleteOidcDynamicClientExecute(r OidcAPIDeleteOidcDynamicClientRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OidcApiService.DeleteOidcDynamicClient")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OidcAPIService.DeleteOidcDynamicClient")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/oauth2/register/{id}"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -549,9 +553,9 @@ func (a *OidcApiService) DeleteOidcDynamicClientExecute(r OidcApiDeleteOidcDynam
return localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarHTTPResponse, err
}
@@ -567,19 +571,20 @@ func (a *OidcApiService) DeleteOidcDynamicClientExecute(r OidcApiDeleteOidcDynam
newErr.error = err.Error()
return localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarHTTPResponse, newErr
}
return localVarHTTPResponse, nil
}
-type OidcApiDiscoverOidcConfigurationRequest struct {
+type OidcAPIDiscoverOidcConfigurationRequest struct {
ctx context.Context
- ApiService OidcApi
+ ApiService OidcAPI
}
-func (r OidcApiDiscoverOidcConfigurationRequest) Execute() (*OidcConfiguration, *http.Response, error) {
+func (r OidcAPIDiscoverOidcConfigurationRequest) Execute() (*OidcConfiguration, *http.Response, error) {
return r.ApiService.DiscoverOidcConfigurationExecute(r)
}
@@ -592,10 +597,10 @@ Popular libraries for OpenID Connect clients include oidc-client-js (JavaScript)
For a full list of clients go here: https://openid.net/developers/certified/
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OidcApiDiscoverOidcConfigurationRequest
+ @return OidcAPIDiscoverOidcConfigurationRequest
*/
-func (a *OidcApiService) DiscoverOidcConfiguration(ctx context.Context) OidcApiDiscoverOidcConfigurationRequest {
- return OidcApiDiscoverOidcConfigurationRequest{
+func (a *OidcAPIService) DiscoverOidcConfiguration(ctx context.Context) OidcAPIDiscoverOidcConfigurationRequest {
+ return OidcAPIDiscoverOidcConfigurationRequest{
ApiService: a,
ctx: ctx,
}
@@ -603,7 +608,7 @@ func (a *OidcApiService) DiscoverOidcConfiguration(ctx context.Context) OidcApiD
// Execute executes the request
// @return OidcConfiguration
-func (a *OidcApiService) DiscoverOidcConfigurationExecute(r OidcApiDiscoverOidcConfigurationRequest) (*OidcConfiguration, *http.Response, error) {
+func (a *OidcAPIService) DiscoverOidcConfigurationExecute(r OidcAPIDiscoverOidcConfigurationRequest) (*OidcConfiguration, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -611,7 +616,7 @@ func (a *OidcApiService) DiscoverOidcConfigurationExecute(r OidcApiDiscoverOidcC
localVarReturnValue *OidcConfiguration
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OidcApiService.DiscoverOidcConfiguration")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OidcAPIService.DiscoverOidcConfiguration")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -649,9 +654,9 @@ func (a *OidcApiService) DiscoverOidcConfigurationExecute(r OidcApiDiscoverOidcC
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -667,7 +672,8 @@ func (a *OidcApiService) DiscoverOidcConfigurationExecute(r OidcApiDiscoverOidcC
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -683,13 +689,13 @@ func (a *OidcApiService) DiscoverOidcConfigurationExecute(r OidcApiDiscoverOidcC
return localVarReturnValue, localVarHTTPResponse, nil
}
-type OidcApiGetOidcDynamicClientRequest struct {
+type OidcAPIGetOidcDynamicClientRequest struct {
ctx context.Context
- ApiService OidcApi
+ ApiService OidcAPI
id string
}
-func (r OidcApiGetOidcDynamicClientRequest) Execute() (*OAuth2Client, *http.Response, error) {
+func (r OidcAPIGetOidcDynamicClientRequest) Execute() (*OAuth2Client, *http.Response, error) {
return r.ApiService.GetOidcDynamicClientExecute(r)
}
@@ -706,10 +712,10 @@ If it uses `client_secret_basic`, present the Client ID and the Client Secret in
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The id of the OAuth 2.0 Client.
- @return OidcApiGetOidcDynamicClientRequest
+ @return OidcAPIGetOidcDynamicClientRequest
*/
-func (a *OidcApiService) GetOidcDynamicClient(ctx context.Context, id string) OidcApiGetOidcDynamicClientRequest {
- return OidcApiGetOidcDynamicClientRequest{
+func (a *OidcAPIService) GetOidcDynamicClient(ctx context.Context, id string) OidcAPIGetOidcDynamicClientRequest {
+ return OidcAPIGetOidcDynamicClientRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -718,7 +724,7 @@ func (a *OidcApiService) GetOidcDynamicClient(ctx context.Context, id string) Oi
// Execute executes the request
// @return OAuth2Client
-func (a *OidcApiService) GetOidcDynamicClientExecute(r OidcApiGetOidcDynamicClientRequest) (*OAuth2Client, *http.Response, error) {
+func (a *OidcAPIService) GetOidcDynamicClientExecute(r OidcAPIGetOidcDynamicClientRequest) (*OAuth2Client, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -726,13 +732,13 @@ func (a *OidcApiService) GetOidcDynamicClientExecute(r OidcApiGetOidcDynamicClie
localVarReturnValue *OAuth2Client
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OidcApiService.GetOidcDynamicClient")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OidcAPIService.GetOidcDynamicClient")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/oauth2/register/{id}"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -765,9 +771,9 @@ func (a *OidcApiService) GetOidcDynamicClientExecute(r OidcApiGetOidcDynamicClie
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -783,7 +789,8 @@ func (a *OidcApiService) GetOidcDynamicClientExecute(r OidcApiGetOidcDynamicClie
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -799,12 +806,12 @@ func (a *OidcApiService) GetOidcDynamicClientExecute(r OidcApiGetOidcDynamicClie
return localVarReturnValue, localVarHTTPResponse, nil
}
-type OidcApiGetOidcUserInfoRequest struct {
+type OidcAPIGetOidcUserInfoRequest struct {
ctx context.Context
- ApiService OidcApi
+ ApiService OidcAPI
}
-func (r OidcApiGetOidcUserInfoRequest) Execute() (*OidcUserInfo, *http.Response, error) {
+func (r OidcAPIGetOidcUserInfoRequest) Execute() (*OidcUserInfo, *http.Response, error) {
return r.ApiService.GetOidcUserInfoExecute(r)
}
@@ -819,10 +826,10 @@ with more information about the error. See [the spec](https://datatracker.ietf.o
for more details about header format.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OidcApiGetOidcUserInfoRequest
+ @return OidcAPIGetOidcUserInfoRequest
*/
-func (a *OidcApiService) GetOidcUserInfo(ctx context.Context) OidcApiGetOidcUserInfoRequest {
- return OidcApiGetOidcUserInfoRequest{
+func (a *OidcAPIService) GetOidcUserInfo(ctx context.Context) OidcAPIGetOidcUserInfoRequest {
+ return OidcAPIGetOidcUserInfoRequest{
ApiService: a,
ctx: ctx,
}
@@ -830,7 +837,7 @@ func (a *OidcApiService) GetOidcUserInfo(ctx context.Context) OidcApiGetOidcUser
// Execute executes the request
// @return OidcUserInfo
-func (a *OidcApiService) GetOidcUserInfoExecute(r OidcApiGetOidcUserInfoRequest) (*OidcUserInfo, *http.Response, error) {
+func (a *OidcAPIService) GetOidcUserInfoExecute(r OidcAPIGetOidcUserInfoRequest) (*OidcUserInfo, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -838,7 +845,7 @@ func (a *OidcApiService) GetOidcUserInfoExecute(r OidcApiGetOidcUserInfoRequest)
localVarReturnValue *OidcUserInfo
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OidcApiService.GetOidcUserInfo")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OidcAPIService.GetOidcUserInfo")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -876,9 +883,9 @@ func (a *OidcApiService) GetOidcUserInfoExecute(r OidcApiGetOidcUserInfoRequest)
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -894,7 +901,8 @@ func (a *OidcApiService) GetOidcUserInfoExecute(r OidcApiGetOidcUserInfoRequest)
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -910,12 +918,12 @@ func (a *OidcApiService) GetOidcUserInfoExecute(r OidcApiGetOidcUserInfoRequest)
return localVarReturnValue, localVarHTTPResponse, nil
}
-type OidcApiRevokeOidcSessionRequest struct {
+type OidcAPIRevokeOidcSessionRequest struct {
ctx context.Context
- ApiService OidcApi
+ ApiService OidcAPI
}
-func (r OidcApiRevokeOidcSessionRequest) Execute() (*http.Response, error) {
+func (r OidcAPIRevokeOidcSessionRequest) Execute() (*http.Response, error) {
return r.ApiService.RevokeOidcSessionExecute(r)
}
@@ -930,24 +938,24 @@ https://openid.net/specs/openid-connect-backchannel-1_0.html
Back-channel logout is performed asynchronously and does not affect logout flow.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return OidcApiRevokeOidcSessionRequest
+ @return OidcAPIRevokeOidcSessionRequest
*/
-func (a *OidcApiService) RevokeOidcSession(ctx context.Context) OidcApiRevokeOidcSessionRequest {
- return OidcApiRevokeOidcSessionRequest{
+func (a *OidcAPIService) RevokeOidcSession(ctx context.Context) OidcAPIRevokeOidcSessionRequest {
+ return OidcAPIRevokeOidcSessionRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-func (a *OidcApiService) RevokeOidcSessionExecute(r OidcApiRevokeOidcSessionRequest) (*http.Response, error) {
+func (a *OidcAPIService) RevokeOidcSessionExecute(r OidcAPIRevokeOidcSessionRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OidcApiService.RevokeOidcSession")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OidcAPIService.RevokeOidcSession")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -985,9 +993,9 @@ func (a *OidcApiService) RevokeOidcSessionExecute(r OidcApiRevokeOidcSessionRequ
return localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarHTTPResponse, err
}
@@ -1003,20 +1011,20 @@ func (a *OidcApiService) RevokeOidcSessionExecute(r OidcApiRevokeOidcSessionRequ
return localVarHTTPResponse, nil
}
-type OidcApiSetOidcDynamicClientRequest struct {
+type OidcAPISetOidcDynamicClientRequest struct {
ctx context.Context
- ApiService OidcApi
+ ApiService OidcAPI
id string
oAuth2Client *OAuth2Client
}
// OAuth 2.0 Client Request Body
-func (r OidcApiSetOidcDynamicClientRequest) OAuth2Client(oAuth2Client OAuth2Client) OidcApiSetOidcDynamicClientRequest {
+func (r OidcAPISetOidcDynamicClientRequest) OAuth2Client(oAuth2Client OAuth2Client) OidcAPISetOidcDynamicClientRequest {
r.oAuth2Client = &oAuth2Client
return r
}
-func (r OidcApiSetOidcDynamicClientRequest) Execute() (*OAuth2Client, *http.Response, error) {
+func (r OidcAPISetOidcDynamicClientRequest) Execute() (*OAuth2Client, *http.Response, error) {
return r.ApiService.SetOidcDynamicClientExecute(r)
}
@@ -1041,10 +1049,10 @@ generated for applications which want to consume your OAuth 2.0 or OpenID Connec
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id OAuth 2.0 Client ID
- @return OidcApiSetOidcDynamicClientRequest
+ @return OidcAPISetOidcDynamicClientRequest
*/
-func (a *OidcApiService) SetOidcDynamicClient(ctx context.Context, id string) OidcApiSetOidcDynamicClientRequest {
- return OidcApiSetOidcDynamicClientRequest{
+func (a *OidcAPIService) SetOidcDynamicClient(ctx context.Context, id string) OidcAPISetOidcDynamicClientRequest {
+ return OidcAPISetOidcDynamicClientRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -1053,7 +1061,7 @@ func (a *OidcApiService) SetOidcDynamicClient(ctx context.Context, id string) Oi
// Execute executes the request
// @return OAuth2Client
-func (a *OidcApiService) SetOidcDynamicClientExecute(r OidcApiSetOidcDynamicClientRequest) (*OAuth2Client, *http.Response, error) {
+func (a *OidcAPIService) SetOidcDynamicClientExecute(r OidcAPISetOidcDynamicClientRequest) (*OAuth2Client, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
@@ -1061,13 +1069,13 @@ func (a *OidcApiService) SetOidcDynamicClientExecute(r OidcApiSetOidcDynamicClie
localVarReturnValue *OAuth2Client
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OidcApiService.SetOidcDynamicClient")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OidcAPIService.SetOidcDynamicClient")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/oauth2/register/{id}"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -1105,9 +1113,9 @@ func (a *OidcApiService) SetOidcDynamicClientExecute(r OidcApiSetOidcDynamicClie
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -1124,7 +1132,8 @@ func (a *OidcApiService) SetOidcDynamicClientExecute(r OidcApiSetOidcDynamicClie
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorOAuth2
@@ -1133,7 +1142,8 @@ func (a *OidcApiService) SetOidcDynamicClientExecute(r OidcApiSetOidcDynamicClie
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
diff --git a/clients/client/go/api_permission.go b/clients/client/go/api_permission.go
index 475780edc44..86b388e4cb4 100644
--- a/clients/client/go/api_permission.go
+++ b/clients/client/go/api_permission.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -14,13 +14,13 @@ package client
import (
"bytes"
"context"
- "io/ioutil"
+ "io"
"net/http"
"net/url"
)
-type PermissionApi interface {
+type PermissionAPI interface {
/*
CheckPermission Check a permission
@@ -28,13 +28,13 @@ type PermissionApi interface {
To learn how relationship tuples and the check works, head over to [the documentation](https://www.ory.sh/docs/keto/concepts/api-overview).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return PermissionApiCheckPermissionRequest
+ @return PermissionAPICheckPermissionRequest
*/
- CheckPermission(ctx context.Context) PermissionApiCheckPermissionRequest
+ CheckPermission(ctx context.Context) PermissionAPICheckPermissionRequest
// CheckPermissionExecute executes the request
// @return CheckPermissionResult
- CheckPermissionExecute(r PermissionApiCheckPermissionRequest) (*CheckPermissionResult, *http.Response, error)
+ CheckPermissionExecute(r PermissionAPICheckPermissionRequest) (*CheckPermissionResult, *http.Response, error)
/*
CheckPermissionOrError Check a permission
@@ -42,13 +42,13 @@ type PermissionApi interface {
To learn how relationship tuples and the check works, head over to [the documentation](https://www.ory.sh/docs/keto/concepts/api-overview).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return PermissionApiCheckPermissionOrErrorRequest
+ @return PermissionAPICheckPermissionOrErrorRequest
*/
- CheckPermissionOrError(ctx context.Context) PermissionApiCheckPermissionOrErrorRequest
+ CheckPermissionOrError(ctx context.Context) PermissionAPICheckPermissionOrErrorRequest
// CheckPermissionOrErrorExecute executes the request
// @return CheckPermissionResult
- CheckPermissionOrErrorExecute(r PermissionApiCheckPermissionOrErrorRequest) (*CheckPermissionResult, *http.Response, error)
+ CheckPermissionOrErrorExecute(r PermissionAPICheckPermissionOrErrorRequest) (*CheckPermissionResult, *http.Response, error)
/*
ExpandPermissions Expand a Relationship into permissions.
@@ -56,13 +56,13 @@ type PermissionApi interface {
Use this endpoint to expand a relationship tuple into permissions.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return PermissionApiExpandPermissionsRequest
+ @return PermissionAPIExpandPermissionsRequest
*/
- ExpandPermissions(ctx context.Context) PermissionApiExpandPermissionsRequest
+ ExpandPermissions(ctx context.Context) PermissionAPIExpandPermissionsRequest
// ExpandPermissionsExecute executes the request
// @return ExpandedPermissionTree
- ExpandPermissionsExecute(r PermissionApiExpandPermissionsRequest) (*ExpandedPermissionTree, *http.Response, error)
+ ExpandPermissionsExecute(r PermissionAPIExpandPermissionsRequest) (*ExpandedPermissionTree, *http.Response, error)
/*
PostCheckPermission Check a permission
@@ -70,13 +70,13 @@ type PermissionApi interface {
To learn how relationship tuples and the check works, head over to [the documentation](https://www.ory.sh/docs/keto/concepts/api-overview).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return PermissionApiPostCheckPermissionRequest
+ @return PermissionAPIPostCheckPermissionRequest
*/
- PostCheckPermission(ctx context.Context) PermissionApiPostCheckPermissionRequest
+ PostCheckPermission(ctx context.Context) PermissionAPIPostCheckPermissionRequest
// PostCheckPermissionExecute executes the request
// @return CheckPermissionResult
- PostCheckPermissionExecute(r PermissionApiPostCheckPermissionRequest) (*CheckPermissionResult, *http.Response, error)
+ PostCheckPermissionExecute(r PermissionAPIPostCheckPermissionRequest) (*CheckPermissionResult, *http.Response, error)
/*
PostCheckPermissionOrError Check a permission
@@ -84,21 +84,21 @@ type PermissionApi interface {
To learn how relationship tuples and the check works, head over to [the documentation](https://www.ory.sh/docs/keto/concepts/api-overview).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return PermissionApiPostCheckPermissionOrErrorRequest
+ @return PermissionAPIPostCheckPermissionOrErrorRequest
*/
- PostCheckPermissionOrError(ctx context.Context) PermissionApiPostCheckPermissionOrErrorRequest
+ PostCheckPermissionOrError(ctx context.Context) PermissionAPIPostCheckPermissionOrErrorRequest
// PostCheckPermissionOrErrorExecute executes the request
// @return CheckPermissionResult
- PostCheckPermissionOrErrorExecute(r PermissionApiPostCheckPermissionOrErrorRequest) (*CheckPermissionResult, *http.Response, error)
+ PostCheckPermissionOrErrorExecute(r PermissionAPIPostCheckPermissionOrErrorRequest) (*CheckPermissionResult, *http.Response, error)
}
-// PermissionApiService PermissionApi service
-type PermissionApiService service
+// PermissionAPIService PermissionAPI service
+type PermissionAPIService service
-type PermissionApiCheckPermissionRequest struct {
+type PermissionAPICheckPermissionRequest struct {
ctx context.Context
- ApiService PermissionApi
+ ApiService PermissionAPI
namespace *string
object *string
relation *string
@@ -110,53 +110,53 @@ type PermissionApiCheckPermissionRequest struct {
}
// Namespace of the Relationship
-func (r PermissionApiCheckPermissionRequest) Namespace(namespace string) PermissionApiCheckPermissionRequest {
+func (r PermissionAPICheckPermissionRequest) Namespace(namespace string) PermissionAPICheckPermissionRequest {
r.namespace = &namespace
return r
}
// Object of the Relationship
-func (r PermissionApiCheckPermissionRequest) Object(object string) PermissionApiCheckPermissionRequest {
+func (r PermissionAPICheckPermissionRequest) Object(object string) PermissionAPICheckPermissionRequest {
r.object = &object
return r
}
// Relation of the Relationship
-func (r PermissionApiCheckPermissionRequest) Relation(relation string) PermissionApiCheckPermissionRequest {
+func (r PermissionAPICheckPermissionRequest) Relation(relation string) PermissionAPICheckPermissionRequest {
r.relation = &relation
return r
}
// SubjectID of the Relationship
-func (r PermissionApiCheckPermissionRequest) SubjectId(subjectId string) PermissionApiCheckPermissionRequest {
+func (r PermissionAPICheckPermissionRequest) SubjectId(subjectId string) PermissionAPICheckPermissionRequest {
r.subjectId = &subjectId
return r
}
// Namespace of the Subject Set
-func (r PermissionApiCheckPermissionRequest) SubjectSetNamespace(subjectSetNamespace string) PermissionApiCheckPermissionRequest {
+func (r PermissionAPICheckPermissionRequest) SubjectSetNamespace(subjectSetNamespace string) PermissionAPICheckPermissionRequest {
r.subjectSetNamespace = &subjectSetNamespace
return r
}
// Object of the Subject Set
-func (r PermissionApiCheckPermissionRequest) SubjectSetObject(subjectSetObject string) PermissionApiCheckPermissionRequest {
+func (r PermissionAPICheckPermissionRequest) SubjectSetObject(subjectSetObject string) PermissionAPICheckPermissionRequest {
r.subjectSetObject = &subjectSetObject
return r
}
// Relation of the Subject Set
-func (r PermissionApiCheckPermissionRequest) SubjectSetRelation(subjectSetRelation string) PermissionApiCheckPermissionRequest {
+func (r PermissionAPICheckPermissionRequest) SubjectSetRelation(subjectSetRelation string) PermissionAPICheckPermissionRequest {
r.subjectSetRelation = &subjectSetRelation
return r
}
-func (r PermissionApiCheckPermissionRequest) MaxDepth(maxDepth int64) PermissionApiCheckPermissionRequest {
+func (r PermissionAPICheckPermissionRequest) MaxDepth(maxDepth int64) PermissionAPICheckPermissionRequest {
r.maxDepth = &maxDepth
return r
}
-func (r PermissionApiCheckPermissionRequest) Execute() (*CheckPermissionResult, *http.Response, error) {
+func (r PermissionAPICheckPermissionRequest) Execute() (*CheckPermissionResult, *http.Response, error) {
return r.ApiService.CheckPermissionExecute(r)
}
@@ -166,10 +166,10 @@ CheckPermission Check a permission
To learn how relationship tuples and the check works, head over to [the documentation](https://www.ory.sh/docs/keto/concepts/api-overview).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return PermissionApiCheckPermissionRequest
+ @return PermissionAPICheckPermissionRequest
*/
-func (a *PermissionApiService) CheckPermission(ctx context.Context) PermissionApiCheckPermissionRequest {
- return PermissionApiCheckPermissionRequest{
+func (a *PermissionAPIService) CheckPermission(ctx context.Context) PermissionAPICheckPermissionRequest {
+ return PermissionAPICheckPermissionRequest{
ApiService: a,
ctx: ctx,
}
@@ -177,7 +177,7 @@ func (a *PermissionApiService) CheckPermission(ctx context.Context) PermissionAp
// Execute executes the request
// @return CheckPermissionResult
-func (a *PermissionApiService) CheckPermissionExecute(r PermissionApiCheckPermissionRequest) (*CheckPermissionResult, *http.Response, error) {
+func (a *PermissionAPIService) CheckPermissionExecute(r PermissionAPICheckPermissionRequest) (*CheckPermissionResult, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -185,7 +185,7 @@ func (a *PermissionApiService) CheckPermissionExecute(r PermissionApiCheckPermis
localVarReturnValue *CheckPermissionResult
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PermissionApiService.CheckPermission")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PermissionAPIService.CheckPermission")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -197,28 +197,28 @@ func (a *PermissionApiService) CheckPermissionExecute(r PermissionApiCheckPermis
localVarFormParams := url.Values{}
if r.namespace != nil {
- localVarQueryParams.Add("namespace", parameterToString(*r.namespace, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "namespace", r.namespace, "")
}
if r.object != nil {
- localVarQueryParams.Add("object", parameterToString(*r.object, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "object", r.object, "")
}
if r.relation != nil {
- localVarQueryParams.Add("relation", parameterToString(*r.relation, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "relation", r.relation, "")
}
if r.subjectId != nil {
- localVarQueryParams.Add("subject_id", parameterToString(*r.subjectId, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "subject_id", r.subjectId, "")
}
if r.subjectSetNamespace != nil {
- localVarQueryParams.Add("subject_set.namespace", parameterToString(*r.subjectSetNamespace, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "subject_set.namespace", r.subjectSetNamespace, "")
}
if r.subjectSetObject != nil {
- localVarQueryParams.Add("subject_set.object", parameterToString(*r.subjectSetObject, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "subject_set.object", r.subjectSetObject, "")
}
if r.subjectSetRelation != nil {
- localVarQueryParams.Add("subject_set.relation", parameterToString(*r.subjectSetRelation, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "subject_set.relation", r.subjectSetRelation, "")
}
if r.maxDepth != nil {
- localVarQueryParams.Add("max-depth", parameterToString(*r.maxDepth, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "max-depth", r.maxDepth, "")
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -247,9 +247,9 @@ func (a *PermissionApiService) CheckPermissionExecute(r PermissionApiCheckPermis
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -266,7 +266,8 @@ func (a *PermissionApiService) CheckPermissionExecute(r PermissionApiCheckPermis
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -275,7 +276,8 @@ func (a *PermissionApiService) CheckPermissionExecute(r PermissionApiCheckPermis
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -291,9 +293,9 @@ func (a *PermissionApiService) CheckPermissionExecute(r PermissionApiCheckPermis
return localVarReturnValue, localVarHTTPResponse, nil
}
-type PermissionApiCheckPermissionOrErrorRequest struct {
+type PermissionAPICheckPermissionOrErrorRequest struct {
ctx context.Context
- ApiService PermissionApi
+ ApiService PermissionAPI
namespace *string
object *string
relation *string
@@ -305,53 +307,53 @@ type PermissionApiCheckPermissionOrErrorRequest struct {
}
// Namespace of the Relationship
-func (r PermissionApiCheckPermissionOrErrorRequest) Namespace(namespace string) PermissionApiCheckPermissionOrErrorRequest {
+func (r PermissionAPICheckPermissionOrErrorRequest) Namespace(namespace string) PermissionAPICheckPermissionOrErrorRequest {
r.namespace = &namespace
return r
}
// Object of the Relationship
-func (r PermissionApiCheckPermissionOrErrorRequest) Object(object string) PermissionApiCheckPermissionOrErrorRequest {
+func (r PermissionAPICheckPermissionOrErrorRequest) Object(object string) PermissionAPICheckPermissionOrErrorRequest {
r.object = &object
return r
}
// Relation of the Relationship
-func (r PermissionApiCheckPermissionOrErrorRequest) Relation(relation string) PermissionApiCheckPermissionOrErrorRequest {
+func (r PermissionAPICheckPermissionOrErrorRequest) Relation(relation string) PermissionAPICheckPermissionOrErrorRequest {
r.relation = &relation
return r
}
// SubjectID of the Relationship
-func (r PermissionApiCheckPermissionOrErrorRequest) SubjectId(subjectId string) PermissionApiCheckPermissionOrErrorRequest {
+func (r PermissionAPICheckPermissionOrErrorRequest) SubjectId(subjectId string) PermissionAPICheckPermissionOrErrorRequest {
r.subjectId = &subjectId
return r
}
// Namespace of the Subject Set
-func (r PermissionApiCheckPermissionOrErrorRequest) SubjectSetNamespace(subjectSetNamespace string) PermissionApiCheckPermissionOrErrorRequest {
+func (r PermissionAPICheckPermissionOrErrorRequest) SubjectSetNamespace(subjectSetNamespace string) PermissionAPICheckPermissionOrErrorRequest {
r.subjectSetNamespace = &subjectSetNamespace
return r
}
// Object of the Subject Set
-func (r PermissionApiCheckPermissionOrErrorRequest) SubjectSetObject(subjectSetObject string) PermissionApiCheckPermissionOrErrorRequest {
+func (r PermissionAPICheckPermissionOrErrorRequest) SubjectSetObject(subjectSetObject string) PermissionAPICheckPermissionOrErrorRequest {
r.subjectSetObject = &subjectSetObject
return r
}
// Relation of the Subject Set
-func (r PermissionApiCheckPermissionOrErrorRequest) SubjectSetRelation(subjectSetRelation string) PermissionApiCheckPermissionOrErrorRequest {
+func (r PermissionAPICheckPermissionOrErrorRequest) SubjectSetRelation(subjectSetRelation string) PermissionAPICheckPermissionOrErrorRequest {
r.subjectSetRelation = &subjectSetRelation
return r
}
-func (r PermissionApiCheckPermissionOrErrorRequest) MaxDepth(maxDepth int64) PermissionApiCheckPermissionOrErrorRequest {
+func (r PermissionAPICheckPermissionOrErrorRequest) MaxDepth(maxDepth int64) PermissionAPICheckPermissionOrErrorRequest {
r.maxDepth = &maxDepth
return r
}
-func (r PermissionApiCheckPermissionOrErrorRequest) Execute() (*CheckPermissionResult, *http.Response, error) {
+func (r PermissionAPICheckPermissionOrErrorRequest) Execute() (*CheckPermissionResult, *http.Response, error) {
return r.ApiService.CheckPermissionOrErrorExecute(r)
}
@@ -361,10 +363,10 @@ CheckPermissionOrError Check a permission
To learn how relationship tuples and the check works, head over to [the documentation](https://www.ory.sh/docs/keto/concepts/api-overview).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return PermissionApiCheckPermissionOrErrorRequest
+ @return PermissionAPICheckPermissionOrErrorRequest
*/
-func (a *PermissionApiService) CheckPermissionOrError(ctx context.Context) PermissionApiCheckPermissionOrErrorRequest {
- return PermissionApiCheckPermissionOrErrorRequest{
+func (a *PermissionAPIService) CheckPermissionOrError(ctx context.Context) PermissionAPICheckPermissionOrErrorRequest {
+ return PermissionAPICheckPermissionOrErrorRequest{
ApiService: a,
ctx: ctx,
}
@@ -372,7 +374,7 @@ func (a *PermissionApiService) CheckPermissionOrError(ctx context.Context) Permi
// Execute executes the request
// @return CheckPermissionResult
-func (a *PermissionApiService) CheckPermissionOrErrorExecute(r PermissionApiCheckPermissionOrErrorRequest) (*CheckPermissionResult, *http.Response, error) {
+func (a *PermissionAPIService) CheckPermissionOrErrorExecute(r PermissionAPICheckPermissionOrErrorRequest) (*CheckPermissionResult, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -380,7 +382,7 @@ func (a *PermissionApiService) CheckPermissionOrErrorExecute(r PermissionApiChec
localVarReturnValue *CheckPermissionResult
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PermissionApiService.CheckPermissionOrError")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PermissionAPIService.CheckPermissionOrError")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -392,28 +394,28 @@ func (a *PermissionApiService) CheckPermissionOrErrorExecute(r PermissionApiChec
localVarFormParams := url.Values{}
if r.namespace != nil {
- localVarQueryParams.Add("namespace", parameterToString(*r.namespace, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "namespace", r.namespace, "")
}
if r.object != nil {
- localVarQueryParams.Add("object", parameterToString(*r.object, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "object", r.object, "")
}
if r.relation != nil {
- localVarQueryParams.Add("relation", parameterToString(*r.relation, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "relation", r.relation, "")
}
if r.subjectId != nil {
- localVarQueryParams.Add("subject_id", parameterToString(*r.subjectId, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "subject_id", r.subjectId, "")
}
if r.subjectSetNamespace != nil {
- localVarQueryParams.Add("subject_set.namespace", parameterToString(*r.subjectSetNamespace, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "subject_set.namespace", r.subjectSetNamespace, "")
}
if r.subjectSetObject != nil {
- localVarQueryParams.Add("subject_set.object", parameterToString(*r.subjectSetObject, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "subject_set.object", r.subjectSetObject, "")
}
if r.subjectSetRelation != nil {
- localVarQueryParams.Add("subject_set.relation", parameterToString(*r.subjectSetRelation, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "subject_set.relation", r.subjectSetRelation, "")
}
if r.maxDepth != nil {
- localVarQueryParams.Add("max-depth", parameterToString(*r.maxDepth, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "max-depth", r.maxDepth, "")
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -442,9 +444,9 @@ func (a *PermissionApiService) CheckPermissionOrErrorExecute(r PermissionApiChec
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -461,7 +463,8 @@ func (a *PermissionApiService) CheckPermissionOrErrorExecute(r PermissionApiChec
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 403 {
@@ -471,7 +474,8 @@ func (a *PermissionApiService) CheckPermissionOrErrorExecute(r PermissionApiChec
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -480,7 +484,8 @@ func (a *PermissionApiService) CheckPermissionOrErrorExecute(r PermissionApiChec
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -496,9 +501,9 @@ func (a *PermissionApiService) CheckPermissionOrErrorExecute(r PermissionApiChec
return localVarReturnValue, localVarHTTPResponse, nil
}
-type PermissionApiExpandPermissionsRequest struct {
+type PermissionAPIExpandPermissionsRequest struct {
ctx context.Context
- ApiService PermissionApi
+ ApiService PermissionAPI
namespace *string
object *string
relation *string
@@ -506,29 +511,29 @@ type PermissionApiExpandPermissionsRequest struct {
}
// Namespace of the Subject Set
-func (r PermissionApiExpandPermissionsRequest) Namespace(namespace string) PermissionApiExpandPermissionsRequest {
+func (r PermissionAPIExpandPermissionsRequest) Namespace(namespace string) PermissionAPIExpandPermissionsRequest {
r.namespace = &namespace
return r
}
// Object of the Subject Set
-func (r PermissionApiExpandPermissionsRequest) Object(object string) PermissionApiExpandPermissionsRequest {
+func (r PermissionAPIExpandPermissionsRequest) Object(object string) PermissionAPIExpandPermissionsRequest {
r.object = &object
return r
}
// Relation of the Subject Set
-func (r PermissionApiExpandPermissionsRequest) Relation(relation string) PermissionApiExpandPermissionsRequest {
+func (r PermissionAPIExpandPermissionsRequest) Relation(relation string) PermissionAPIExpandPermissionsRequest {
r.relation = &relation
return r
}
-func (r PermissionApiExpandPermissionsRequest) MaxDepth(maxDepth int64) PermissionApiExpandPermissionsRequest {
+func (r PermissionAPIExpandPermissionsRequest) MaxDepth(maxDepth int64) PermissionAPIExpandPermissionsRequest {
r.maxDepth = &maxDepth
return r
}
-func (r PermissionApiExpandPermissionsRequest) Execute() (*ExpandedPermissionTree, *http.Response, error) {
+func (r PermissionAPIExpandPermissionsRequest) Execute() (*ExpandedPermissionTree, *http.Response, error) {
return r.ApiService.ExpandPermissionsExecute(r)
}
@@ -538,10 +543,10 @@ ExpandPermissions Expand a Relationship into permissions.
Use this endpoint to expand a relationship tuple into permissions.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return PermissionApiExpandPermissionsRequest
+ @return PermissionAPIExpandPermissionsRequest
*/
-func (a *PermissionApiService) ExpandPermissions(ctx context.Context) PermissionApiExpandPermissionsRequest {
- return PermissionApiExpandPermissionsRequest{
+func (a *PermissionAPIService) ExpandPermissions(ctx context.Context) PermissionAPIExpandPermissionsRequest {
+ return PermissionAPIExpandPermissionsRequest{
ApiService: a,
ctx: ctx,
}
@@ -549,7 +554,7 @@ func (a *PermissionApiService) ExpandPermissions(ctx context.Context) Permission
// Execute executes the request
// @return ExpandedPermissionTree
-func (a *PermissionApiService) ExpandPermissionsExecute(r PermissionApiExpandPermissionsRequest) (*ExpandedPermissionTree, *http.Response, error) {
+func (a *PermissionAPIService) ExpandPermissionsExecute(r PermissionAPIExpandPermissionsRequest) (*ExpandedPermissionTree, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -557,7 +562,7 @@ func (a *PermissionApiService) ExpandPermissionsExecute(r PermissionApiExpandPer
localVarReturnValue *ExpandedPermissionTree
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PermissionApiService.ExpandPermissions")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PermissionAPIService.ExpandPermissions")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -577,11 +582,11 @@ func (a *PermissionApiService) ExpandPermissionsExecute(r PermissionApiExpandPer
return localVarReturnValue, nil, reportError("relation is required and must be specified")
}
- localVarQueryParams.Add("namespace", parameterToString(*r.namespace, ""))
- localVarQueryParams.Add("object", parameterToString(*r.object, ""))
- localVarQueryParams.Add("relation", parameterToString(*r.relation, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "namespace", r.namespace, "")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "object", r.object, "")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "relation", r.relation, "")
if r.maxDepth != nil {
- localVarQueryParams.Add("max-depth", parameterToString(*r.maxDepth, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "max-depth", r.maxDepth, "")
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -610,9 +615,9 @@ func (a *PermissionApiService) ExpandPermissionsExecute(r PermissionApiExpandPer
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -629,7 +634,8 @@ func (a *PermissionApiService) ExpandPermissionsExecute(r PermissionApiExpandPer
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 404 {
@@ -639,7 +645,8 @@ func (a *PermissionApiService) ExpandPermissionsExecute(r PermissionApiExpandPer
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -648,7 +655,8 @@ func (a *PermissionApiService) ExpandPermissionsExecute(r PermissionApiExpandPer
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -664,24 +672,24 @@ func (a *PermissionApiService) ExpandPermissionsExecute(r PermissionApiExpandPer
return localVarReturnValue, localVarHTTPResponse, nil
}
-type PermissionApiPostCheckPermissionRequest struct {
+type PermissionAPIPostCheckPermissionRequest struct {
ctx context.Context
- ApiService PermissionApi
+ ApiService PermissionAPI
maxDepth *int64
postCheckPermissionBody *PostCheckPermissionBody
}
-func (r PermissionApiPostCheckPermissionRequest) MaxDepth(maxDepth int64) PermissionApiPostCheckPermissionRequest {
+func (r PermissionAPIPostCheckPermissionRequest) MaxDepth(maxDepth int64) PermissionAPIPostCheckPermissionRequest {
r.maxDepth = &maxDepth
return r
}
-func (r PermissionApiPostCheckPermissionRequest) PostCheckPermissionBody(postCheckPermissionBody PostCheckPermissionBody) PermissionApiPostCheckPermissionRequest {
+func (r PermissionAPIPostCheckPermissionRequest) PostCheckPermissionBody(postCheckPermissionBody PostCheckPermissionBody) PermissionAPIPostCheckPermissionRequest {
r.postCheckPermissionBody = &postCheckPermissionBody
return r
}
-func (r PermissionApiPostCheckPermissionRequest) Execute() (*CheckPermissionResult, *http.Response, error) {
+func (r PermissionAPIPostCheckPermissionRequest) Execute() (*CheckPermissionResult, *http.Response, error) {
return r.ApiService.PostCheckPermissionExecute(r)
}
@@ -691,10 +699,10 @@ PostCheckPermission Check a permission
To learn how relationship tuples and the check works, head over to [the documentation](https://www.ory.sh/docs/keto/concepts/api-overview).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return PermissionApiPostCheckPermissionRequest
+ @return PermissionAPIPostCheckPermissionRequest
*/
-func (a *PermissionApiService) PostCheckPermission(ctx context.Context) PermissionApiPostCheckPermissionRequest {
- return PermissionApiPostCheckPermissionRequest{
+func (a *PermissionAPIService) PostCheckPermission(ctx context.Context) PermissionAPIPostCheckPermissionRequest {
+ return PermissionAPIPostCheckPermissionRequest{
ApiService: a,
ctx: ctx,
}
@@ -702,7 +710,7 @@ func (a *PermissionApiService) PostCheckPermission(ctx context.Context) Permissi
// Execute executes the request
// @return CheckPermissionResult
-func (a *PermissionApiService) PostCheckPermissionExecute(r PermissionApiPostCheckPermissionRequest) (*CheckPermissionResult, *http.Response, error) {
+func (a *PermissionAPIService) PostCheckPermissionExecute(r PermissionAPIPostCheckPermissionRequest) (*CheckPermissionResult, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
@@ -710,7 +718,7 @@ func (a *PermissionApiService) PostCheckPermissionExecute(r PermissionApiPostChe
localVarReturnValue *CheckPermissionResult
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PermissionApiService.PostCheckPermission")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PermissionAPIService.PostCheckPermission")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -722,7 +730,7 @@ func (a *PermissionApiService) PostCheckPermissionExecute(r PermissionApiPostChe
localVarFormParams := url.Values{}
if r.maxDepth != nil {
- localVarQueryParams.Add("max-depth", parameterToString(*r.maxDepth, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "max-depth", r.maxDepth, "")
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{"application/json"}
@@ -753,9 +761,9 @@ func (a *PermissionApiService) PostCheckPermissionExecute(r PermissionApiPostChe
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -772,7 +780,8 @@ func (a *PermissionApiService) PostCheckPermissionExecute(r PermissionApiPostChe
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -781,7 +790,8 @@ func (a *PermissionApiService) PostCheckPermissionExecute(r PermissionApiPostChe
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -797,25 +807,25 @@ func (a *PermissionApiService) PostCheckPermissionExecute(r PermissionApiPostChe
return localVarReturnValue, localVarHTTPResponse, nil
}
-type PermissionApiPostCheckPermissionOrErrorRequest struct {
+type PermissionAPIPostCheckPermissionOrErrorRequest struct {
ctx context.Context
- ApiService PermissionApi
+ ApiService PermissionAPI
maxDepth *int64
postCheckPermissionOrErrorBody *PostCheckPermissionOrErrorBody
}
// nolint:deadcode,unused
-func (r PermissionApiPostCheckPermissionOrErrorRequest) MaxDepth(maxDepth int64) PermissionApiPostCheckPermissionOrErrorRequest {
+func (r PermissionAPIPostCheckPermissionOrErrorRequest) MaxDepth(maxDepth int64) PermissionAPIPostCheckPermissionOrErrorRequest {
r.maxDepth = &maxDepth
return r
}
-func (r PermissionApiPostCheckPermissionOrErrorRequest) PostCheckPermissionOrErrorBody(postCheckPermissionOrErrorBody PostCheckPermissionOrErrorBody) PermissionApiPostCheckPermissionOrErrorRequest {
+func (r PermissionAPIPostCheckPermissionOrErrorRequest) PostCheckPermissionOrErrorBody(postCheckPermissionOrErrorBody PostCheckPermissionOrErrorBody) PermissionAPIPostCheckPermissionOrErrorRequest {
r.postCheckPermissionOrErrorBody = &postCheckPermissionOrErrorBody
return r
}
-func (r PermissionApiPostCheckPermissionOrErrorRequest) Execute() (*CheckPermissionResult, *http.Response, error) {
+func (r PermissionAPIPostCheckPermissionOrErrorRequest) Execute() (*CheckPermissionResult, *http.Response, error) {
return r.ApiService.PostCheckPermissionOrErrorExecute(r)
}
@@ -825,10 +835,10 @@ PostCheckPermissionOrError Check a permission
To learn how relationship tuples and the check works, head over to [the documentation](https://www.ory.sh/docs/keto/concepts/api-overview).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return PermissionApiPostCheckPermissionOrErrorRequest
+ @return PermissionAPIPostCheckPermissionOrErrorRequest
*/
-func (a *PermissionApiService) PostCheckPermissionOrError(ctx context.Context) PermissionApiPostCheckPermissionOrErrorRequest {
- return PermissionApiPostCheckPermissionOrErrorRequest{
+func (a *PermissionAPIService) PostCheckPermissionOrError(ctx context.Context) PermissionAPIPostCheckPermissionOrErrorRequest {
+ return PermissionAPIPostCheckPermissionOrErrorRequest{
ApiService: a,
ctx: ctx,
}
@@ -836,7 +846,7 @@ func (a *PermissionApiService) PostCheckPermissionOrError(ctx context.Context) P
// Execute executes the request
// @return CheckPermissionResult
-func (a *PermissionApiService) PostCheckPermissionOrErrorExecute(r PermissionApiPostCheckPermissionOrErrorRequest) (*CheckPermissionResult, *http.Response, error) {
+func (a *PermissionAPIService) PostCheckPermissionOrErrorExecute(r PermissionAPIPostCheckPermissionOrErrorRequest) (*CheckPermissionResult, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
@@ -844,7 +854,7 @@ func (a *PermissionApiService) PostCheckPermissionOrErrorExecute(r PermissionApi
localVarReturnValue *CheckPermissionResult
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PermissionApiService.PostCheckPermissionOrError")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PermissionAPIService.PostCheckPermissionOrError")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -856,7 +866,7 @@ func (a *PermissionApiService) PostCheckPermissionOrErrorExecute(r PermissionApi
localVarFormParams := url.Values{}
if r.maxDepth != nil {
- localVarQueryParams.Add("max-depth", parameterToString(*r.maxDepth, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "max-depth", r.maxDepth, "")
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{"application/json"}
@@ -887,9 +897,9 @@ func (a *PermissionApiService) PostCheckPermissionOrErrorExecute(r PermissionApi
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -906,7 +916,8 @@ func (a *PermissionApiService) PostCheckPermissionOrErrorExecute(r PermissionApi
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 403 {
@@ -916,7 +927,8 @@ func (a *PermissionApiService) PostCheckPermissionOrErrorExecute(r PermissionApi
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -925,7 +937,8 @@ func (a *PermissionApiService) PostCheckPermissionOrErrorExecute(r PermissionApi
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
diff --git a/clients/client/go/api_project.go b/clients/client/go/api_project.go
index 5dff65b0c27..dc7090fd153 100644
--- a/clients/client/go/api_project.go
+++ b/clients/client/go/api_project.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -14,7 +14,7 @@ package client
import (
"bytes"
"context"
- "io/ioutil"
+ "io"
"net/http"
"net/url"
"strings"
@@ -22,7 +22,7 @@ import (
)
-type ProjectApi interface {
+type ProjectAPI interface {
/*
CreateOrganization Method for CreateOrganization
@@ -31,13 +31,13 @@ type ProjectApi interface {
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID The project's ID.
- @return ProjectApiCreateOrganizationRequest
+ @return ProjectAPICreateOrganizationRequest
*/
- CreateOrganization(ctx context.Context, projectId string) ProjectApiCreateOrganizationRequest
+ CreateOrganization(ctx context.Context, projectId string) ProjectAPICreateOrganizationRequest
// CreateOrganizationExecute executes the request
// @return Organization
- CreateOrganizationExecute(r ProjectApiCreateOrganizationRequest) (*Organization, *http.Response, error)
+ CreateOrganizationExecute(r ProjectAPICreateOrganizationRequest) (*Organization, *http.Response, error)
/*
CreateProject Create a Project
@@ -45,13 +45,13 @@ type ProjectApi interface {
Creates a new project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ProjectApiCreateProjectRequest
+ @return ProjectAPICreateProjectRequest
*/
- CreateProject(ctx context.Context) ProjectApiCreateProjectRequest
+ CreateProject(ctx context.Context) ProjectAPICreateProjectRequest
// CreateProjectExecute executes the request
// @return Project
- CreateProjectExecute(r ProjectApiCreateProjectRequest) (*Project, *http.Response, error)
+ CreateProjectExecute(r ProjectAPICreateProjectRequest) (*Project, *http.Response, error)
/*
CreateProjectApiKey Create project API token
@@ -60,13 +60,13 @@ type ProjectApi interface {
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param project The Project ID or Project slug
- @return ProjectApiCreateProjectApiKeyRequest
+ @return ProjectAPICreateProjectApiKeyRequest
*/
- CreateProjectApiKey(ctx context.Context, project string) ProjectApiCreateProjectApiKeyRequest
+ CreateProjectApiKey(ctx context.Context, project string) ProjectAPICreateProjectApiKeyRequest
// CreateProjectApiKeyExecute executes the request
// @return ProjectApiKey
- CreateProjectApiKeyExecute(r ProjectApiCreateProjectApiKeyRequest) (*ProjectApiKey, *http.Response, error)
+ CreateProjectApiKeyExecute(r ProjectAPICreateProjectApiKeyRequest) (*ProjectApiKey, *http.Response, error)
/*
DeleteOrganization Delete a B2B SSO Organization for a project.
@@ -74,12 +74,12 @@ type ProjectApi interface {
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID The project's ID.
@param organizationId Organization ID The Organization's ID.
- @return ProjectApiDeleteOrganizationRequest
+ @return ProjectAPIDeleteOrganizationRequest
*/
- DeleteOrganization(ctx context.Context, projectId string, organizationId string) ProjectApiDeleteOrganizationRequest
+ DeleteOrganization(ctx context.Context, projectId string, organizationId string) ProjectAPIDeleteOrganizationRequest
// DeleteOrganizationExecute executes the request
- DeleteOrganizationExecute(r ProjectApiDeleteOrganizationRequest) (*http.Response, error)
+ DeleteOrganizationExecute(r ProjectAPIDeleteOrganizationRequest) (*http.Response, error)
/*
DeleteProjectApiKey Delete project API token
@@ -89,12 +89,12 @@ type ProjectApi interface {
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param project The Project ID or Project slug
@param tokenId The Token ID
- @return ProjectApiDeleteProjectApiKeyRequest
+ @return ProjectAPIDeleteProjectApiKeyRequest
*/
- DeleteProjectApiKey(ctx context.Context, project string, tokenId string) ProjectApiDeleteProjectApiKeyRequest
+ DeleteProjectApiKey(ctx context.Context, project string, tokenId string) ProjectAPIDeleteProjectApiKeyRequest
// DeleteProjectApiKeyExecute executes the request
- DeleteProjectApiKeyExecute(r ProjectApiDeleteProjectApiKeyRequest) (*http.Response, error)
+ DeleteProjectApiKeyExecute(r ProjectAPIDeleteProjectApiKeyRequest) (*http.Response, error)
/*
GetActiveProjectInConsole Returns the Ory Network Project selected in the Ory Network Console
@@ -102,13 +102,13 @@ type ProjectApi interface {
Use this API to get your active project in the Ory Network Console UI.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ProjectApiGetActiveProjectInConsoleRequest
+ @return ProjectAPIGetActiveProjectInConsoleRequest
*/
- GetActiveProjectInConsole(ctx context.Context) ProjectApiGetActiveProjectInConsoleRequest
+ GetActiveProjectInConsole(ctx context.Context) ProjectAPIGetActiveProjectInConsoleRequest
// GetActiveProjectInConsoleExecute executes the request
// @return ActiveProjectInConsole
- GetActiveProjectInConsoleExecute(r ProjectApiGetActiveProjectInConsoleRequest) (*ActiveProjectInConsole, *http.Response, error)
+ GetActiveProjectInConsoleExecute(r ProjectAPIGetActiveProjectInConsoleRequest) (*ActiveProjectInConsole, *http.Response, error)
/*
GetOrganization Returns a B2B SSO Organization for a project by it's ID.
@@ -116,13 +116,13 @@ type ProjectApi interface {
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID The project's ID.
@param organizationId Organization ID The Organization's ID.
- @return ProjectApiGetOrganizationRequest
+ @return ProjectAPIGetOrganizationRequest
*/
- GetOrganization(ctx context.Context, projectId string, organizationId string) ProjectApiGetOrganizationRequest
+ GetOrganization(ctx context.Context, projectId string, organizationId string) ProjectAPIGetOrganizationRequest
// GetOrganizationExecute executes the request
// @return GetOrganizationResponse
- GetOrganizationExecute(r ProjectApiGetOrganizationRequest) (*GetOrganizationResponse, *http.Response, error)
+ GetOrganizationExecute(r ProjectAPIGetOrganizationRequest) (*GetOrganizationResponse, *http.Response, error)
/*
GetProject Get a Project
@@ -131,13 +131,13 @@ type ProjectApi interface {
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID The project's ID.
- @return ProjectApiGetProjectRequest
+ @return ProjectAPIGetProjectRequest
*/
- GetProject(ctx context.Context, projectId string) ProjectApiGetProjectRequest
+ GetProject(ctx context.Context, projectId string) ProjectAPIGetProjectRequest
// GetProjectExecute executes the request
// @return Project
- GetProjectExecute(r ProjectApiGetProjectRequest) (*Project, *http.Response, error)
+ GetProjectExecute(r ProjectAPIGetProjectRequest) (*Project, *http.Response, error)
/*
GetProjectMembers Get all members associated with this project
@@ -146,13 +146,13 @@ type ProjectApi interface {
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param project
- @return ProjectApiGetProjectMembersRequest
+ @return ProjectAPIGetProjectMembersRequest
*/
- GetProjectMembers(ctx context.Context, project string) ProjectApiGetProjectMembersRequest
+ GetProjectMembers(ctx context.Context, project string) ProjectAPIGetProjectMembersRequest
// GetProjectMembersExecute executes the request
// @return []CloudAccount
- GetProjectMembersExecute(r ProjectApiGetProjectMembersRequest) ([]CloudAccount, *http.Response, error)
+ GetProjectMembersExecute(r ProjectAPIGetProjectMembersRequest) ([]CloudAccount, *http.Response, error)
/*
GetProjectMetrics Method for GetProjectMetrics
@@ -161,26 +161,26 @@ type ProjectApi interface {
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID
- @return ProjectApiGetProjectMetricsRequest
+ @return ProjectAPIGetProjectMetricsRequest
*/
- GetProjectMetrics(ctx context.Context, projectId string) ProjectApiGetProjectMetricsRequest
+ GetProjectMetrics(ctx context.Context, projectId string) ProjectAPIGetProjectMetricsRequest
// GetProjectMetricsExecute executes the request
// @return GetProjectMetricsResponse
- GetProjectMetricsExecute(r ProjectApiGetProjectMetricsRequest) (*GetProjectMetricsResponse, *http.Response, error)
+ GetProjectMetricsExecute(r ProjectAPIGetProjectMetricsRequest) (*GetProjectMetricsResponse, *http.Response, error)
/*
ListOrganizations Method for ListOrganizations
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID The project's ID.
- @return ProjectApiListOrganizationsRequest
+ @return ProjectAPIListOrganizationsRequest
*/
- ListOrganizations(ctx context.Context, projectId string) ProjectApiListOrganizationsRequest
+ ListOrganizations(ctx context.Context, projectId string) ProjectAPIListOrganizationsRequest
// ListOrganizationsExecute executes the request
// @return ListOrganizationsResponse
- ListOrganizationsExecute(r ProjectApiListOrganizationsRequest) (*ListOrganizationsResponse, *http.Response, error)
+ ListOrganizationsExecute(r ProjectAPIListOrganizationsRequest) (*ListOrganizationsResponse, *http.Response, error)
/*
ListProjectApiKeys List a project's API Tokens
@@ -189,13 +189,13 @@ type ProjectApi interface {
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param project The Project ID or Project slug
- @return ProjectApiListProjectApiKeysRequest
+ @return ProjectAPIListProjectApiKeysRequest
*/
- ListProjectApiKeys(ctx context.Context, project string) ProjectApiListProjectApiKeysRequest
+ ListProjectApiKeys(ctx context.Context, project string) ProjectAPIListProjectApiKeysRequest
// ListProjectApiKeysExecute executes the request
// @return []ProjectApiKey
- ListProjectApiKeysExecute(r ProjectApiListProjectApiKeysRequest) ([]ProjectApiKey, *http.Response, error)
+ ListProjectApiKeysExecute(r ProjectAPIListProjectApiKeysRequest) ([]ProjectApiKey, *http.Response, error)
/*
ListProjects List All Projects
@@ -203,13 +203,13 @@ type ProjectApi interface {
Lists all projects you have access to.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ProjectApiListProjectsRequest
+ @return ProjectAPIListProjectsRequest
*/
- ListProjects(ctx context.Context) ProjectApiListProjectsRequest
+ ListProjects(ctx context.Context) ProjectAPIListProjectsRequest
// ListProjectsExecute executes the request
// @return []ProjectMetadata
- ListProjectsExecute(r ProjectApiListProjectsRequest) ([]ProjectMetadata, *http.Response, error)
+ ListProjectsExecute(r ProjectAPIListProjectsRequest) ([]ProjectMetadata, *http.Response, error)
/*
PatchProject Patch an Ory Network Project Configuration
@@ -234,13 +234,13 @@ to help you understand which parts of your config could not be processed.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID The project's ID.
- @return ProjectApiPatchProjectRequest
+ @return ProjectAPIPatchProjectRequest
*/
- PatchProject(ctx context.Context, projectId string) ProjectApiPatchProjectRequest
+ PatchProject(ctx context.Context, projectId string) ProjectAPIPatchProjectRequest
// PatchProjectExecute executes the request
// @return SuccessfulProjectUpdate
- PatchProjectExecute(r ProjectApiPatchProjectRequest) (*SuccessfulProjectUpdate, *http.Response, error)
+ PatchProjectExecute(r ProjectAPIPatchProjectRequest) (*SuccessfulProjectUpdate, *http.Response, error)
/*
PurgeProject Irrecoverably purge a project
@@ -254,12 +254,12 @@ This action can not be undone and will delete ALL your data.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID The project's ID.
- @return ProjectApiPurgeProjectRequest
+ @return ProjectAPIPurgeProjectRequest
*/
- PurgeProject(ctx context.Context, projectId string) ProjectApiPurgeProjectRequest
+ PurgeProject(ctx context.Context, projectId string) ProjectAPIPurgeProjectRequest
// PurgeProjectExecute executes the request
- PurgeProjectExecute(r ProjectApiPurgeProjectRequest) (*http.Response, error)
+ PurgeProjectExecute(r ProjectAPIPurgeProjectRequest) (*http.Response, error)
/*
RemoveProjectMember Remove a member associated with this project
@@ -270,12 +270,12 @@ This endpoint requires the user to be a member of the project with the role `OWN
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param project
@param member
- @return ProjectApiRemoveProjectMemberRequest
+ @return ProjectAPIRemoveProjectMemberRequest
*/
- RemoveProjectMember(ctx context.Context, project string, member string) ProjectApiRemoveProjectMemberRequest
+ RemoveProjectMember(ctx context.Context, project string, member string) ProjectAPIRemoveProjectMemberRequest
// RemoveProjectMemberExecute executes the request
- RemoveProjectMemberExecute(r ProjectApiRemoveProjectMemberRequest) (*http.Response, error)
+ RemoveProjectMemberExecute(r ProjectAPIRemoveProjectMemberRequest) (*http.Response, error)
/*
SetActiveProjectInConsole Sets the Ory Network Project active in the Ory Network Console
@@ -283,12 +283,12 @@ This endpoint requires the user to be a member of the project with the role `OWN
Use this API to set your active project in the Ory Network Console UI.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ProjectApiSetActiveProjectInConsoleRequest
+ @return ProjectAPISetActiveProjectInConsoleRequest
*/
- SetActiveProjectInConsole(ctx context.Context) ProjectApiSetActiveProjectInConsoleRequest
+ SetActiveProjectInConsole(ctx context.Context) ProjectAPISetActiveProjectInConsoleRequest
// SetActiveProjectInConsoleExecute executes the request
- SetActiveProjectInConsoleExecute(r ProjectApiSetActiveProjectInConsoleRequest) (*http.Response, error)
+ SetActiveProjectInConsoleExecute(r ProjectAPISetActiveProjectInConsoleRequest) (*http.Response, error)
/*
SetProject Update an Ory Network Project Configuration
@@ -314,13 +314,13 @@ service!
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID The project's ID.
- @return ProjectApiSetProjectRequest
+ @return ProjectAPISetProjectRequest
*/
- SetProject(ctx context.Context, projectId string) ProjectApiSetProjectRequest
+ SetProject(ctx context.Context, projectId string) ProjectAPISetProjectRequest
// SetProjectExecute executes the request
// @return SuccessfulProjectUpdate
- SetProjectExecute(r ProjectApiSetProjectRequest) (*SuccessfulProjectUpdate, *http.Response, error)
+ SetProjectExecute(r ProjectAPISetProjectRequest) (*SuccessfulProjectUpdate, *http.Response, error)
/*
UpdateOrganization Update a B2B SSO Organization for a project.
@@ -328,31 +328,31 @@ service!
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID The project's ID.
@param organizationId Organization ID The Organization's ID.
- @return ProjectApiUpdateOrganizationRequest
+ @return ProjectAPIUpdateOrganizationRequest
*/
- UpdateOrganization(ctx context.Context, projectId string, organizationId string) ProjectApiUpdateOrganizationRequest
+ UpdateOrganization(ctx context.Context, projectId string, organizationId string) ProjectAPIUpdateOrganizationRequest
// UpdateOrganizationExecute executes the request
// @return Organization
- UpdateOrganizationExecute(r ProjectApiUpdateOrganizationRequest) (*Organization, *http.Response, error)
+ UpdateOrganizationExecute(r ProjectAPIUpdateOrganizationRequest) (*Organization, *http.Response, error)
}
-// ProjectApiService ProjectApi service
-type ProjectApiService service
+// ProjectAPIService ProjectAPI service
+type ProjectAPIService service
-type ProjectApiCreateOrganizationRequest struct {
+type ProjectAPICreateOrganizationRequest struct {
ctx context.Context
- ApiService ProjectApi
+ ApiService ProjectAPI
projectId string
organizationBody *OrganizationBody
}
-func (r ProjectApiCreateOrganizationRequest) OrganizationBody(organizationBody OrganizationBody) ProjectApiCreateOrganizationRequest {
+func (r ProjectAPICreateOrganizationRequest) OrganizationBody(organizationBody OrganizationBody) ProjectAPICreateOrganizationRequest {
r.organizationBody = &organizationBody
return r
}
-func (r ProjectApiCreateOrganizationRequest) Execute() (*Organization, *http.Response, error) {
+func (r ProjectAPICreateOrganizationRequest) Execute() (*Organization, *http.Response, error) {
return r.ApiService.CreateOrganizationExecute(r)
}
@@ -363,10 +363,10 @@ Create a B2B SSO Organization
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID The project's ID.
- @return ProjectApiCreateOrganizationRequest
+ @return ProjectAPICreateOrganizationRequest
*/
-func (a *ProjectApiService) CreateOrganization(ctx context.Context, projectId string) ProjectApiCreateOrganizationRequest {
- return ProjectApiCreateOrganizationRequest{
+func (a *ProjectAPIService) CreateOrganization(ctx context.Context, projectId string) ProjectAPICreateOrganizationRequest {
+ return ProjectAPICreateOrganizationRequest{
ApiService: a,
ctx: ctx,
projectId: projectId,
@@ -375,7 +375,7 @@ func (a *ProjectApiService) CreateOrganization(ctx context.Context, projectId st
// Execute executes the request
// @return Organization
-func (a *ProjectApiService) CreateOrganizationExecute(r ProjectApiCreateOrganizationRequest) (*Organization, *http.Response, error) {
+func (a *ProjectAPIService) CreateOrganizationExecute(r ProjectAPICreateOrganizationRequest) (*Organization, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
@@ -383,13 +383,13 @@ func (a *ProjectApiService) CreateOrganizationExecute(r ProjectApiCreateOrganiza
localVarReturnValue *Organization
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProjectApiService.CreateOrganization")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProjectAPIService.CreateOrganization")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/projects/{project_id}/organizations"
- localVarPath = strings.Replace(localVarPath, "{"+"project_id"+"}", url.PathEscape(parameterToString(r.projectId, "")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"project_id"+"}", url.PathEscape(parameterValueToString(r.projectId, "projectId")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -424,9 +424,9 @@ func (a *ProjectApiService) CreateOrganizationExecute(r ProjectApiCreateOrganiza
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -443,7 +443,8 @@ func (a *ProjectApiService) CreateOrganizationExecute(r ProjectApiCreateOrganiza
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 403 {
@@ -453,7 +454,8 @@ func (a *ProjectApiService) CreateOrganizationExecute(r ProjectApiCreateOrganiza
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 409 {
@@ -463,7 +465,8 @@ func (a *ProjectApiService) CreateOrganizationExecute(r ProjectApiCreateOrganiza
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -472,7 +475,8 @@ func (a *ProjectApiService) CreateOrganizationExecute(r ProjectApiCreateOrganiza
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -488,18 +492,18 @@ func (a *ProjectApiService) CreateOrganizationExecute(r ProjectApiCreateOrganiza
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ProjectApiCreateProjectRequest struct {
+type ProjectAPICreateProjectRequest struct {
ctx context.Context
- ApiService ProjectApi
+ ApiService ProjectAPI
createProjectBody *CreateProjectBody
}
-func (r ProjectApiCreateProjectRequest) CreateProjectBody(createProjectBody CreateProjectBody) ProjectApiCreateProjectRequest {
+func (r ProjectAPICreateProjectRequest) CreateProjectBody(createProjectBody CreateProjectBody) ProjectAPICreateProjectRequest {
r.createProjectBody = &createProjectBody
return r
}
-func (r ProjectApiCreateProjectRequest) Execute() (*Project, *http.Response, error) {
+func (r ProjectAPICreateProjectRequest) Execute() (*Project, *http.Response, error) {
return r.ApiService.CreateProjectExecute(r)
}
@@ -509,10 +513,10 @@ CreateProject Create a Project
Creates a new project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ProjectApiCreateProjectRequest
+ @return ProjectAPICreateProjectRequest
*/
-func (a *ProjectApiService) CreateProject(ctx context.Context) ProjectApiCreateProjectRequest {
- return ProjectApiCreateProjectRequest{
+func (a *ProjectAPIService) CreateProject(ctx context.Context) ProjectAPICreateProjectRequest {
+ return ProjectAPICreateProjectRequest{
ApiService: a,
ctx: ctx,
}
@@ -520,7 +524,7 @@ func (a *ProjectApiService) CreateProject(ctx context.Context) ProjectApiCreateP
// Execute executes the request
// @return Project
-func (a *ProjectApiService) CreateProjectExecute(r ProjectApiCreateProjectRequest) (*Project, *http.Response, error) {
+func (a *ProjectAPIService) CreateProjectExecute(r ProjectAPICreateProjectRequest) (*Project, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
@@ -528,7 +532,7 @@ func (a *ProjectApiService) CreateProjectExecute(r ProjectApiCreateProjectReques
localVarReturnValue *Project
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProjectApiService.CreateProject")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProjectAPIService.CreateProject")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -568,9 +572,9 @@ func (a *ProjectApiService) CreateProjectExecute(r ProjectApiCreateProjectReques
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -587,7 +591,8 @@ func (a *ProjectApiService) CreateProjectExecute(r ProjectApiCreateProjectReques
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 403 {
@@ -597,7 +602,8 @@ func (a *ProjectApiService) CreateProjectExecute(r ProjectApiCreateProjectReques
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 404 {
@@ -607,7 +613,8 @@ func (a *ProjectApiService) CreateProjectExecute(r ProjectApiCreateProjectReques
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -616,7 +623,8 @@ func (a *ProjectApiService) CreateProjectExecute(r ProjectApiCreateProjectReques
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -632,19 +640,19 @@ func (a *ProjectApiService) CreateProjectExecute(r ProjectApiCreateProjectReques
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ProjectApiCreateProjectApiKeyRequest struct {
+type ProjectAPICreateProjectApiKeyRequest struct {
ctx context.Context
- ApiService ProjectApi
+ ApiService ProjectAPI
project string
createProjectApiKeyRequest *CreateProjectApiKeyRequest
}
-func (r ProjectApiCreateProjectApiKeyRequest) CreateProjectApiKeyRequest(createProjectApiKeyRequest CreateProjectApiKeyRequest) ProjectApiCreateProjectApiKeyRequest {
+func (r ProjectAPICreateProjectApiKeyRequest) CreateProjectApiKeyRequest(createProjectApiKeyRequest CreateProjectApiKeyRequest) ProjectAPICreateProjectApiKeyRequest {
r.createProjectApiKeyRequest = &createProjectApiKeyRequest
return r
}
-func (r ProjectApiCreateProjectApiKeyRequest) Execute() (*ProjectApiKey, *http.Response, error) {
+func (r ProjectAPICreateProjectApiKeyRequest) Execute() (*ProjectApiKey, *http.Response, error) {
return r.ApiService.CreateProjectApiKeyExecute(r)
}
@@ -655,10 +663,10 @@ Create an API token for a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param project The Project ID or Project slug
- @return ProjectApiCreateProjectApiKeyRequest
+ @return ProjectAPICreateProjectApiKeyRequest
*/
-func (a *ProjectApiService) CreateProjectApiKey(ctx context.Context, project string) ProjectApiCreateProjectApiKeyRequest {
- return ProjectApiCreateProjectApiKeyRequest{
+func (a *ProjectAPIService) CreateProjectApiKey(ctx context.Context, project string) ProjectAPICreateProjectApiKeyRequest {
+ return ProjectAPICreateProjectApiKeyRequest{
ApiService: a,
ctx: ctx,
project: project,
@@ -667,7 +675,7 @@ func (a *ProjectApiService) CreateProjectApiKey(ctx context.Context, project str
// Execute executes the request
// @return ProjectApiKey
-func (a *ProjectApiService) CreateProjectApiKeyExecute(r ProjectApiCreateProjectApiKeyRequest) (*ProjectApiKey, *http.Response, error) {
+func (a *ProjectAPIService) CreateProjectApiKeyExecute(r ProjectAPICreateProjectApiKeyRequest) (*ProjectApiKey, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
@@ -675,13 +683,13 @@ func (a *ProjectApiService) CreateProjectApiKeyExecute(r ProjectApiCreateProject
localVarReturnValue *ProjectApiKey
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProjectApiService.CreateProjectApiKey")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProjectAPIService.CreateProjectApiKey")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/projects/{project}/tokens"
- localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", url.PathEscape(parameterToString(r.project, "")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", url.PathEscape(parameterValueToString(r.project, "project")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -716,9 +724,9 @@ func (a *ProjectApiService) CreateProjectApiKeyExecute(r ProjectApiCreateProject
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -734,7 +742,8 @@ func (a *ProjectApiService) CreateProjectApiKeyExecute(r ProjectApiCreateProject
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -750,14 +759,14 @@ func (a *ProjectApiService) CreateProjectApiKeyExecute(r ProjectApiCreateProject
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ProjectApiDeleteOrganizationRequest struct {
+type ProjectAPIDeleteOrganizationRequest struct {
ctx context.Context
- ApiService ProjectApi
+ ApiService ProjectAPI
projectId string
organizationId string
}
-func (r ProjectApiDeleteOrganizationRequest) Execute() (*http.Response, error) {
+func (r ProjectAPIDeleteOrganizationRequest) Execute() (*http.Response, error) {
return r.ApiService.DeleteOrganizationExecute(r)
}
@@ -767,10 +776,10 @@ DeleteOrganization Delete a B2B SSO Organization for a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID The project's ID.
@param organizationId Organization ID The Organization's ID.
- @return ProjectApiDeleteOrganizationRequest
+ @return ProjectAPIDeleteOrganizationRequest
*/
-func (a *ProjectApiService) DeleteOrganization(ctx context.Context, projectId string, organizationId string) ProjectApiDeleteOrganizationRequest {
- return ProjectApiDeleteOrganizationRequest{
+func (a *ProjectAPIService) DeleteOrganization(ctx context.Context, projectId string, organizationId string) ProjectAPIDeleteOrganizationRequest {
+ return ProjectAPIDeleteOrganizationRequest{
ApiService: a,
ctx: ctx,
projectId: projectId,
@@ -779,21 +788,21 @@ func (a *ProjectApiService) DeleteOrganization(ctx context.Context, projectId st
}
// Execute executes the request
-func (a *ProjectApiService) DeleteOrganizationExecute(r ProjectApiDeleteOrganizationRequest) (*http.Response, error) {
+func (a *ProjectAPIService) DeleteOrganizationExecute(r ProjectAPIDeleteOrganizationRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProjectApiService.DeleteOrganization")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProjectAPIService.DeleteOrganization")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/projects/{project_id}/organizations/{organization_id}"
- localVarPath = strings.Replace(localVarPath, "{"+"project_id"+"}", url.PathEscape(parameterToString(r.projectId, "")), -1)
- localVarPath = strings.Replace(localVarPath, "{"+"organization_id"+"}", url.PathEscape(parameterToString(r.organizationId, "")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"project_id"+"}", url.PathEscape(parameterValueToString(r.projectId, "projectId")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"organization_id"+"}", url.PathEscape(parameterValueToString(r.organizationId, "organizationId")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -826,9 +835,9 @@ func (a *ProjectApiService) DeleteOrganizationExecute(r ProjectApiDeleteOrganiza
return localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarHTTPResponse, err
}
@@ -845,7 +854,8 @@ func (a *ProjectApiService) DeleteOrganizationExecute(r ProjectApiDeleteOrganiza
newErr.error = err.Error()
return localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 403 {
@@ -855,7 +865,8 @@ func (a *ProjectApiService) DeleteOrganizationExecute(r ProjectApiDeleteOrganiza
newErr.error = err.Error()
return localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 404 {
@@ -865,7 +876,8 @@ func (a *ProjectApiService) DeleteOrganizationExecute(r ProjectApiDeleteOrganiza
newErr.error = err.Error()
return localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 409 {
@@ -875,7 +887,8 @@ func (a *ProjectApiService) DeleteOrganizationExecute(r ProjectApiDeleteOrganiza
newErr.error = err.Error()
return localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -884,21 +897,22 @@ func (a *ProjectApiService) DeleteOrganizationExecute(r ProjectApiDeleteOrganiza
newErr.error = err.Error()
return localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarHTTPResponse, newErr
}
return localVarHTTPResponse, nil
}
-type ProjectApiDeleteProjectApiKeyRequest struct {
+type ProjectAPIDeleteProjectApiKeyRequest struct {
ctx context.Context
- ApiService ProjectApi
+ ApiService ProjectAPI
project string
tokenId string
}
-func (r ProjectApiDeleteProjectApiKeyRequest) Execute() (*http.Response, error) {
+func (r ProjectAPIDeleteProjectApiKeyRequest) Execute() (*http.Response, error) {
return r.ApiService.DeleteProjectApiKeyExecute(r)
}
@@ -910,10 +924,10 @@ Deletes an API token and immediately removes it.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param project The Project ID or Project slug
@param tokenId The Token ID
- @return ProjectApiDeleteProjectApiKeyRequest
+ @return ProjectAPIDeleteProjectApiKeyRequest
*/
-func (a *ProjectApiService) DeleteProjectApiKey(ctx context.Context, project string, tokenId string) ProjectApiDeleteProjectApiKeyRequest {
- return ProjectApiDeleteProjectApiKeyRequest{
+func (a *ProjectAPIService) DeleteProjectApiKey(ctx context.Context, project string, tokenId string) ProjectAPIDeleteProjectApiKeyRequest {
+ return ProjectAPIDeleteProjectApiKeyRequest{
ApiService: a,
ctx: ctx,
project: project,
@@ -922,21 +936,21 @@ func (a *ProjectApiService) DeleteProjectApiKey(ctx context.Context, project str
}
// Execute executes the request
-func (a *ProjectApiService) DeleteProjectApiKeyExecute(r ProjectApiDeleteProjectApiKeyRequest) (*http.Response, error) {
+func (a *ProjectAPIService) DeleteProjectApiKeyExecute(r ProjectAPIDeleteProjectApiKeyRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProjectApiService.DeleteProjectApiKey")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProjectAPIService.DeleteProjectApiKey")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/projects/{project}/tokens/{token_id}"
- localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", url.PathEscape(parameterToString(r.project, "")), -1)
- localVarPath = strings.Replace(localVarPath, "{"+"token_id"+"}", url.PathEscape(parameterToString(r.tokenId, "")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", url.PathEscape(parameterValueToString(r.project, "project")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"token_id"+"}", url.PathEscape(parameterValueToString(r.tokenId, "tokenId")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -969,9 +983,9 @@ func (a *ProjectApiService) DeleteProjectApiKeyExecute(r ProjectApiDeleteProject
return localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarHTTPResponse, err
}
@@ -987,19 +1001,20 @@ func (a *ProjectApiService) DeleteProjectApiKeyExecute(r ProjectApiDeleteProject
newErr.error = err.Error()
return localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarHTTPResponse, newErr
}
return localVarHTTPResponse, nil
}
-type ProjectApiGetActiveProjectInConsoleRequest struct {
+type ProjectAPIGetActiveProjectInConsoleRequest struct {
ctx context.Context
- ApiService ProjectApi
+ ApiService ProjectAPI
}
-func (r ProjectApiGetActiveProjectInConsoleRequest) Execute() (*ActiveProjectInConsole, *http.Response, error) {
+func (r ProjectAPIGetActiveProjectInConsoleRequest) Execute() (*ActiveProjectInConsole, *http.Response, error) {
return r.ApiService.GetActiveProjectInConsoleExecute(r)
}
@@ -1009,10 +1024,10 @@ GetActiveProjectInConsole Returns the Ory Network Project selected in the Ory Ne
Use this API to get your active project in the Ory Network Console UI.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ProjectApiGetActiveProjectInConsoleRequest
+ @return ProjectAPIGetActiveProjectInConsoleRequest
*/
-func (a *ProjectApiService) GetActiveProjectInConsole(ctx context.Context) ProjectApiGetActiveProjectInConsoleRequest {
- return ProjectApiGetActiveProjectInConsoleRequest{
+func (a *ProjectAPIService) GetActiveProjectInConsole(ctx context.Context) ProjectAPIGetActiveProjectInConsoleRequest {
+ return ProjectAPIGetActiveProjectInConsoleRequest{
ApiService: a,
ctx: ctx,
}
@@ -1020,7 +1035,7 @@ func (a *ProjectApiService) GetActiveProjectInConsole(ctx context.Context) Proje
// Execute executes the request
// @return ActiveProjectInConsole
-func (a *ProjectApiService) GetActiveProjectInConsoleExecute(r ProjectApiGetActiveProjectInConsoleRequest) (*ActiveProjectInConsole, *http.Response, error) {
+func (a *ProjectAPIService) GetActiveProjectInConsoleExecute(r ProjectAPIGetActiveProjectInConsoleRequest) (*ActiveProjectInConsole, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -1028,7 +1043,7 @@ func (a *ProjectApiService) GetActiveProjectInConsoleExecute(r ProjectApiGetActi
localVarReturnValue *ActiveProjectInConsole
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProjectApiService.GetActiveProjectInConsole")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProjectAPIService.GetActiveProjectInConsole")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -1066,9 +1081,9 @@ func (a *ProjectApiService) GetActiveProjectInConsoleExecute(r ProjectApiGetActi
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -1085,7 +1100,8 @@ func (a *ProjectApiService) GetActiveProjectInConsoleExecute(r ProjectApiGetActi
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v GenericError
@@ -1094,7 +1110,8 @@ func (a *ProjectApiService) GetActiveProjectInConsoleExecute(r ProjectApiGetActi
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -1110,14 +1127,14 @@ func (a *ProjectApiService) GetActiveProjectInConsoleExecute(r ProjectApiGetActi
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ProjectApiGetOrganizationRequest struct {
+type ProjectAPIGetOrganizationRequest struct {
ctx context.Context
- ApiService ProjectApi
+ ApiService ProjectAPI
projectId string
organizationId string
}
-func (r ProjectApiGetOrganizationRequest) Execute() (*GetOrganizationResponse, *http.Response, error) {
+func (r ProjectAPIGetOrganizationRequest) Execute() (*GetOrganizationResponse, *http.Response, error) {
return r.ApiService.GetOrganizationExecute(r)
}
@@ -1127,10 +1144,10 @@ GetOrganization Returns a B2B SSO Organization for a project by it's ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID The project's ID.
@param organizationId Organization ID The Organization's ID.
- @return ProjectApiGetOrganizationRequest
+ @return ProjectAPIGetOrganizationRequest
*/
-func (a *ProjectApiService) GetOrganization(ctx context.Context, projectId string, organizationId string) ProjectApiGetOrganizationRequest {
- return ProjectApiGetOrganizationRequest{
+func (a *ProjectAPIService) GetOrganization(ctx context.Context, projectId string, organizationId string) ProjectAPIGetOrganizationRequest {
+ return ProjectAPIGetOrganizationRequest{
ApiService: a,
ctx: ctx,
projectId: projectId,
@@ -1140,7 +1157,7 @@ func (a *ProjectApiService) GetOrganization(ctx context.Context, projectId strin
// Execute executes the request
// @return GetOrganizationResponse
-func (a *ProjectApiService) GetOrganizationExecute(r ProjectApiGetOrganizationRequest) (*GetOrganizationResponse, *http.Response, error) {
+func (a *ProjectAPIService) GetOrganizationExecute(r ProjectAPIGetOrganizationRequest) (*GetOrganizationResponse, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -1148,14 +1165,14 @@ func (a *ProjectApiService) GetOrganizationExecute(r ProjectApiGetOrganizationRe
localVarReturnValue *GetOrganizationResponse
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProjectApiService.GetOrganization")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProjectAPIService.GetOrganization")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/projects/{project_id}/organizations/{organization_id}"
- localVarPath = strings.Replace(localVarPath, "{"+"project_id"+"}", url.PathEscape(parameterToString(r.projectId, "")), -1)
- localVarPath = strings.Replace(localVarPath, "{"+"organization_id"+"}", url.PathEscape(parameterToString(r.organizationId, "")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"project_id"+"}", url.PathEscape(parameterValueToString(r.projectId, "projectId")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"organization_id"+"}", url.PathEscape(parameterValueToString(r.organizationId, "organizationId")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -1188,9 +1205,9 @@ func (a *ProjectApiService) GetOrganizationExecute(r ProjectApiGetOrganizationRe
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -1207,7 +1224,8 @@ func (a *ProjectApiService) GetOrganizationExecute(r ProjectApiGetOrganizationRe
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 403 {
@@ -1217,7 +1235,8 @@ func (a *ProjectApiService) GetOrganizationExecute(r ProjectApiGetOrganizationRe
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -1226,7 +1245,8 @@ func (a *ProjectApiService) GetOrganizationExecute(r ProjectApiGetOrganizationRe
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -1242,13 +1262,13 @@ func (a *ProjectApiService) GetOrganizationExecute(r ProjectApiGetOrganizationRe
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ProjectApiGetProjectRequest struct {
+type ProjectAPIGetProjectRequest struct {
ctx context.Context
- ApiService ProjectApi
+ ApiService ProjectAPI
projectId string
}
-func (r ProjectApiGetProjectRequest) Execute() (*Project, *http.Response, error) {
+func (r ProjectAPIGetProjectRequest) Execute() (*Project, *http.Response, error) {
return r.ApiService.GetProjectExecute(r)
}
@@ -1259,10 +1279,10 @@ Get a projects you have access to by its ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID The project's ID.
- @return ProjectApiGetProjectRequest
+ @return ProjectAPIGetProjectRequest
*/
-func (a *ProjectApiService) GetProject(ctx context.Context, projectId string) ProjectApiGetProjectRequest {
- return ProjectApiGetProjectRequest{
+func (a *ProjectAPIService) GetProject(ctx context.Context, projectId string) ProjectAPIGetProjectRequest {
+ return ProjectAPIGetProjectRequest{
ApiService: a,
ctx: ctx,
projectId: projectId,
@@ -1271,7 +1291,7 @@ func (a *ProjectApiService) GetProject(ctx context.Context, projectId string) Pr
// Execute executes the request
// @return Project
-func (a *ProjectApiService) GetProjectExecute(r ProjectApiGetProjectRequest) (*Project, *http.Response, error) {
+func (a *ProjectAPIService) GetProjectExecute(r ProjectAPIGetProjectRequest) (*Project, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -1279,13 +1299,13 @@ func (a *ProjectApiService) GetProjectExecute(r ProjectApiGetProjectRequest) (*P
localVarReturnValue *Project
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProjectApiService.GetProject")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProjectAPIService.GetProject")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/projects/{project_id}"
- localVarPath = strings.Replace(localVarPath, "{"+"project_id"+"}", url.PathEscape(parameterToString(r.projectId, "")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"project_id"+"}", url.PathEscape(parameterValueToString(r.projectId, "projectId")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -1318,9 +1338,9 @@ func (a *ProjectApiService) GetProjectExecute(r ProjectApiGetProjectRequest) (*P
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -1337,7 +1357,8 @@ func (a *ProjectApiService) GetProjectExecute(r ProjectApiGetProjectRequest) (*P
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 403 {
@@ -1347,7 +1368,8 @@ func (a *ProjectApiService) GetProjectExecute(r ProjectApiGetProjectRequest) (*P
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 404 {
@@ -1357,7 +1379,8 @@ func (a *ProjectApiService) GetProjectExecute(r ProjectApiGetProjectRequest) (*P
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -1366,7 +1389,8 @@ func (a *ProjectApiService) GetProjectExecute(r ProjectApiGetProjectRequest) (*P
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -1382,13 +1406,13 @@ func (a *ProjectApiService) GetProjectExecute(r ProjectApiGetProjectRequest) (*P
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ProjectApiGetProjectMembersRequest struct {
+type ProjectAPIGetProjectMembersRequest struct {
ctx context.Context
- ApiService ProjectApi
+ ApiService ProjectAPI
project string
}
-func (r ProjectApiGetProjectMembersRequest) Execute() ([]CloudAccount, *http.Response, error) {
+func (r ProjectAPIGetProjectMembersRequest) Execute() ([]CloudAccount, *http.Response, error) {
return r.ApiService.GetProjectMembersExecute(r)
}
@@ -1399,10 +1423,10 @@ This endpoint requires the user to be a member of the project with the role `OWN
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param project
- @return ProjectApiGetProjectMembersRequest
+ @return ProjectAPIGetProjectMembersRequest
*/
-func (a *ProjectApiService) GetProjectMembers(ctx context.Context, project string) ProjectApiGetProjectMembersRequest {
- return ProjectApiGetProjectMembersRequest{
+func (a *ProjectAPIService) GetProjectMembers(ctx context.Context, project string) ProjectAPIGetProjectMembersRequest {
+ return ProjectAPIGetProjectMembersRequest{
ApiService: a,
ctx: ctx,
project: project,
@@ -1411,7 +1435,7 @@ func (a *ProjectApiService) GetProjectMembers(ctx context.Context, project strin
// Execute executes the request
// @return []CloudAccount
-func (a *ProjectApiService) GetProjectMembersExecute(r ProjectApiGetProjectMembersRequest) ([]CloudAccount, *http.Response, error) {
+func (a *ProjectAPIService) GetProjectMembersExecute(r ProjectAPIGetProjectMembersRequest) ([]CloudAccount, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -1419,13 +1443,13 @@ func (a *ProjectApiService) GetProjectMembersExecute(r ProjectApiGetProjectMembe
localVarReturnValue []CloudAccount
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProjectApiService.GetProjectMembers")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProjectAPIService.GetProjectMembers")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/projects/{project}/members"
- localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", url.PathEscape(parameterToString(r.project, "")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", url.PathEscape(parameterValueToString(r.project, "project")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -1458,9 +1482,9 @@ func (a *ProjectApiService) GetProjectMembersExecute(r ProjectApiGetProjectMembe
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -1477,7 +1501,8 @@ func (a *ProjectApiService) GetProjectMembersExecute(r ProjectApiGetProjectMembe
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 406 {
@@ -1487,7 +1512,8 @@ func (a *ProjectApiService) GetProjectMembersExecute(r ProjectApiGetProjectMembe
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v GenericError
@@ -1496,7 +1522,8 @@ func (a *ProjectApiService) GetProjectMembersExecute(r ProjectApiGetProjectMembe
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -1512,9 +1539,9 @@ func (a *ProjectApiService) GetProjectMembersExecute(r ProjectApiGetProjectMembe
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ProjectApiGetProjectMetricsRequest struct {
+type ProjectAPIGetProjectMetricsRequest struct {
ctx context.Context
- ApiService ProjectApi
+ ApiService ProjectAPI
projectId string
eventType *string
resolution *string
@@ -1523,30 +1550,30 @@ type ProjectApiGetProjectMetricsRequest struct {
}
// The event type to query for
-func (r ProjectApiGetProjectMetricsRequest) EventType(eventType string) ProjectApiGetProjectMetricsRequest {
+func (r ProjectAPIGetProjectMetricsRequest) EventType(eventType string) ProjectAPIGetProjectMetricsRequest {
r.eventType = &eventType
return r
}
// The resolution of the buckets The minimum resolution is 1 hour.
-func (r ProjectApiGetProjectMetricsRequest) Resolution(resolution string) ProjectApiGetProjectMetricsRequest {
+func (r ProjectAPIGetProjectMetricsRequest) Resolution(resolution string) ProjectAPIGetProjectMetricsRequest {
r.resolution = &resolution
return r
}
// The start RFC3339 date of the time window
-func (r ProjectApiGetProjectMetricsRequest) From(from time.Time) ProjectApiGetProjectMetricsRequest {
+func (r ProjectAPIGetProjectMetricsRequest) From(from time.Time) ProjectAPIGetProjectMetricsRequest {
r.from = &from
return r
}
// The end RFC3339 date of the time window
-func (r ProjectApiGetProjectMetricsRequest) To(to time.Time) ProjectApiGetProjectMetricsRequest {
+func (r ProjectAPIGetProjectMetricsRequest) To(to time.Time) ProjectAPIGetProjectMetricsRequest {
r.to = &to
return r
}
-func (r ProjectApiGetProjectMetricsRequest) Execute() (*GetProjectMetricsResponse, *http.Response, error) {
+func (r ProjectAPIGetProjectMetricsRequest) Execute() (*GetProjectMetricsResponse, *http.Response, error) {
return r.ApiService.GetProjectMetricsExecute(r)
}
@@ -1557,10 +1584,10 @@ Retrieves project metrics for the specified event type and time range
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID
- @return ProjectApiGetProjectMetricsRequest
+ @return ProjectAPIGetProjectMetricsRequest
*/
-func (a *ProjectApiService) GetProjectMetrics(ctx context.Context, projectId string) ProjectApiGetProjectMetricsRequest {
- return ProjectApiGetProjectMetricsRequest{
+func (a *ProjectAPIService) GetProjectMetrics(ctx context.Context, projectId string) ProjectAPIGetProjectMetricsRequest {
+ return ProjectAPIGetProjectMetricsRequest{
ApiService: a,
ctx: ctx,
projectId: projectId,
@@ -1569,7 +1596,7 @@ func (a *ProjectApiService) GetProjectMetrics(ctx context.Context, projectId str
// Execute executes the request
// @return GetProjectMetricsResponse
-func (a *ProjectApiService) GetProjectMetricsExecute(r ProjectApiGetProjectMetricsRequest) (*GetProjectMetricsResponse, *http.Response, error) {
+func (a *ProjectAPIService) GetProjectMetricsExecute(r ProjectAPIGetProjectMetricsRequest) (*GetProjectMetricsResponse, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -1577,13 +1604,13 @@ func (a *ProjectApiService) GetProjectMetricsExecute(r ProjectApiGetProjectMetri
localVarReturnValue *GetProjectMetricsResponse
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProjectApiService.GetProjectMetrics")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProjectAPIService.GetProjectMetrics")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/projects/{project_id}/metrics"
- localVarPath = strings.Replace(localVarPath, "{"+"project_id"+"}", url.PathEscape(parameterToString(r.projectId, "")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"project_id"+"}", url.PathEscape(parameterValueToString(r.projectId, "projectId")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -1601,10 +1628,10 @@ func (a *ProjectApiService) GetProjectMetricsExecute(r ProjectApiGetProjectMetri
return localVarReturnValue, nil, reportError("to is required and must be specified")
}
- localVarQueryParams.Add("event_type", parameterToString(*r.eventType, ""))
- localVarQueryParams.Add("resolution", parameterToString(*r.resolution, ""))
- localVarQueryParams.Add("from", parameterToString(*r.from, ""))
- localVarQueryParams.Add("to", parameterToString(*r.to, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "event_type", r.eventType, "")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "resolution", r.resolution, "")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "from", r.from, "")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "to", r.to, "")
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -1632,9 +1659,9 @@ func (a *ProjectApiService) GetProjectMetricsExecute(r ProjectApiGetProjectMetri
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -1651,7 +1678,8 @@ func (a *ProjectApiService) GetProjectMetricsExecute(r ProjectApiGetProjectMetri
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 403 {
@@ -1661,7 +1689,8 @@ func (a *ProjectApiService) GetProjectMetricsExecute(r ProjectApiGetProjectMetri
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v GenericError
@@ -1670,7 +1699,8 @@ func (a *ProjectApiService) GetProjectMetricsExecute(r ProjectApiGetProjectMetri
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -1686,13 +1716,13 @@ func (a *ProjectApiService) GetProjectMetricsExecute(r ProjectApiGetProjectMetri
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ProjectApiListOrganizationsRequest struct {
+type ProjectAPIListOrganizationsRequest struct {
ctx context.Context
- ApiService ProjectApi
+ ApiService ProjectAPI
projectId string
}
-func (r ProjectApiListOrganizationsRequest) Execute() (*ListOrganizationsResponse, *http.Response, error) {
+func (r ProjectAPIListOrganizationsRequest) Execute() (*ListOrganizationsResponse, *http.Response, error) {
return r.ApiService.ListOrganizationsExecute(r)
}
@@ -1701,10 +1731,10 @@ ListOrganizations Method for ListOrganizations
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID The project's ID.
- @return ProjectApiListOrganizationsRequest
+ @return ProjectAPIListOrganizationsRequest
*/
-func (a *ProjectApiService) ListOrganizations(ctx context.Context, projectId string) ProjectApiListOrganizationsRequest {
- return ProjectApiListOrganizationsRequest{
+func (a *ProjectAPIService) ListOrganizations(ctx context.Context, projectId string) ProjectAPIListOrganizationsRequest {
+ return ProjectAPIListOrganizationsRequest{
ApiService: a,
ctx: ctx,
projectId: projectId,
@@ -1713,7 +1743,7 @@ func (a *ProjectApiService) ListOrganizations(ctx context.Context, projectId str
// Execute executes the request
// @return ListOrganizationsResponse
-func (a *ProjectApiService) ListOrganizationsExecute(r ProjectApiListOrganizationsRequest) (*ListOrganizationsResponse, *http.Response, error) {
+func (a *ProjectAPIService) ListOrganizationsExecute(r ProjectAPIListOrganizationsRequest) (*ListOrganizationsResponse, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -1721,13 +1751,13 @@ func (a *ProjectApiService) ListOrganizationsExecute(r ProjectApiListOrganizatio
localVarReturnValue *ListOrganizationsResponse
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProjectApiService.ListOrganizations")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProjectAPIService.ListOrganizations")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/projects/{project_id}/organizations"
- localVarPath = strings.Replace(localVarPath, "{"+"project_id"+"}", url.PathEscape(parameterToString(r.projectId, "")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"project_id"+"}", url.PathEscape(parameterValueToString(r.projectId, "projectId")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -1760,9 +1790,9 @@ func (a *ProjectApiService) ListOrganizationsExecute(r ProjectApiListOrganizatio
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -1779,7 +1809,8 @@ func (a *ProjectApiService) ListOrganizationsExecute(r ProjectApiListOrganizatio
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 403 {
@@ -1789,7 +1820,8 @@ func (a *ProjectApiService) ListOrganizationsExecute(r ProjectApiListOrganizatio
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -1798,7 +1830,8 @@ func (a *ProjectApiService) ListOrganizationsExecute(r ProjectApiListOrganizatio
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -1814,13 +1847,13 @@ func (a *ProjectApiService) ListOrganizationsExecute(r ProjectApiListOrganizatio
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ProjectApiListProjectApiKeysRequest struct {
+type ProjectAPIListProjectApiKeysRequest struct {
ctx context.Context
- ApiService ProjectApi
+ ApiService ProjectAPI
project string
}
-func (r ProjectApiListProjectApiKeysRequest) Execute() ([]ProjectApiKey, *http.Response, error) {
+func (r ProjectAPIListProjectApiKeysRequest) Execute() ([]ProjectApiKey, *http.Response, error) {
return r.ApiService.ListProjectApiKeysExecute(r)
}
@@ -1831,10 +1864,10 @@ A list of all the project's API tokens.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param project The Project ID or Project slug
- @return ProjectApiListProjectApiKeysRequest
+ @return ProjectAPIListProjectApiKeysRequest
*/
-func (a *ProjectApiService) ListProjectApiKeys(ctx context.Context, project string) ProjectApiListProjectApiKeysRequest {
- return ProjectApiListProjectApiKeysRequest{
+func (a *ProjectAPIService) ListProjectApiKeys(ctx context.Context, project string) ProjectAPIListProjectApiKeysRequest {
+ return ProjectAPIListProjectApiKeysRequest{
ApiService: a,
ctx: ctx,
project: project,
@@ -1843,7 +1876,7 @@ func (a *ProjectApiService) ListProjectApiKeys(ctx context.Context, project stri
// Execute executes the request
// @return []ProjectApiKey
-func (a *ProjectApiService) ListProjectApiKeysExecute(r ProjectApiListProjectApiKeysRequest) ([]ProjectApiKey, *http.Response, error) {
+func (a *ProjectAPIService) ListProjectApiKeysExecute(r ProjectAPIListProjectApiKeysRequest) ([]ProjectApiKey, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -1851,13 +1884,13 @@ func (a *ProjectApiService) ListProjectApiKeysExecute(r ProjectApiListProjectApi
localVarReturnValue []ProjectApiKey
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProjectApiService.ListProjectApiKeys")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProjectAPIService.ListProjectApiKeys")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/projects/{project}/tokens"
- localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", url.PathEscape(parameterToString(r.project, "")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", url.PathEscape(parameterValueToString(r.project, "project")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -1890,9 +1923,9 @@ func (a *ProjectApiService) ListProjectApiKeysExecute(r ProjectApiListProjectApi
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -1908,7 +1941,8 @@ func (a *ProjectApiService) ListProjectApiKeysExecute(r ProjectApiListProjectApi
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -1924,12 +1958,12 @@ func (a *ProjectApiService) ListProjectApiKeysExecute(r ProjectApiListProjectApi
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ProjectApiListProjectsRequest struct {
+type ProjectAPIListProjectsRequest struct {
ctx context.Context
- ApiService ProjectApi
+ ApiService ProjectAPI
}
-func (r ProjectApiListProjectsRequest) Execute() ([]ProjectMetadata, *http.Response, error) {
+func (r ProjectAPIListProjectsRequest) Execute() ([]ProjectMetadata, *http.Response, error) {
return r.ApiService.ListProjectsExecute(r)
}
@@ -1939,10 +1973,10 @@ ListProjects List All Projects
Lists all projects you have access to.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ProjectApiListProjectsRequest
+ @return ProjectAPIListProjectsRequest
*/
-func (a *ProjectApiService) ListProjects(ctx context.Context) ProjectApiListProjectsRequest {
- return ProjectApiListProjectsRequest{
+func (a *ProjectAPIService) ListProjects(ctx context.Context) ProjectAPIListProjectsRequest {
+ return ProjectAPIListProjectsRequest{
ApiService: a,
ctx: ctx,
}
@@ -1950,7 +1984,7 @@ func (a *ProjectApiService) ListProjects(ctx context.Context) ProjectApiListProj
// Execute executes the request
// @return []ProjectMetadata
-func (a *ProjectApiService) ListProjectsExecute(r ProjectApiListProjectsRequest) ([]ProjectMetadata, *http.Response, error) {
+func (a *ProjectAPIService) ListProjectsExecute(r ProjectAPIListProjectsRequest) ([]ProjectMetadata, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -1958,7 +1992,7 @@ func (a *ProjectApiService) ListProjectsExecute(r ProjectApiListProjectsRequest)
localVarReturnValue []ProjectMetadata
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProjectApiService.ListProjects")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProjectAPIService.ListProjects")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -1996,9 +2030,9 @@ func (a *ProjectApiService) ListProjectsExecute(r ProjectApiListProjectsRequest)
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -2015,7 +2049,8 @@ func (a *ProjectApiService) ListProjectsExecute(r ProjectApiListProjectsRequest)
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 403 {
@@ -2025,7 +2060,8 @@ func (a *ProjectApiService) ListProjectsExecute(r ProjectApiListProjectsRequest)
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 404 {
@@ -2035,7 +2071,8 @@ func (a *ProjectApiService) ListProjectsExecute(r ProjectApiListProjectsRequest)
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -2044,7 +2081,8 @@ func (a *ProjectApiService) ListProjectsExecute(r ProjectApiListProjectsRequest)
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -2060,19 +2098,19 @@ func (a *ProjectApiService) ListProjectsExecute(r ProjectApiListProjectsRequest)
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ProjectApiPatchProjectRequest struct {
+type ProjectAPIPatchProjectRequest struct {
ctx context.Context
- ApiService ProjectApi
+ ApiService ProjectAPI
projectId string
jsonPatch *[]JsonPatch
}
-func (r ProjectApiPatchProjectRequest) JsonPatch(jsonPatch []JsonPatch) ProjectApiPatchProjectRequest {
+func (r ProjectAPIPatchProjectRequest) JsonPatch(jsonPatch []JsonPatch) ProjectAPIPatchProjectRequest {
r.jsonPatch = &jsonPatch
return r
}
-func (r ProjectApiPatchProjectRequest) Execute() (*SuccessfulProjectUpdate, *http.Response, error) {
+func (r ProjectAPIPatchProjectRequest) Execute() (*SuccessfulProjectUpdate, *http.Response, error) {
return r.ApiService.PatchProjectExecute(r)
}
@@ -2099,10 +2137,10 @@ to help you understand which parts of your config could not be processed.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID The project's ID.
- @return ProjectApiPatchProjectRequest
+ @return ProjectAPIPatchProjectRequest
*/
-func (a *ProjectApiService) PatchProject(ctx context.Context, projectId string) ProjectApiPatchProjectRequest {
- return ProjectApiPatchProjectRequest{
+func (a *ProjectAPIService) PatchProject(ctx context.Context, projectId string) ProjectAPIPatchProjectRequest {
+ return ProjectAPIPatchProjectRequest{
ApiService: a,
ctx: ctx,
projectId: projectId,
@@ -2111,7 +2149,7 @@ func (a *ProjectApiService) PatchProject(ctx context.Context, projectId string)
// Execute executes the request
// @return SuccessfulProjectUpdate
-func (a *ProjectApiService) PatchProjectExecute(r ProjectApiPatchProjectRequest) (*SuccessfulProjectUpdate, *http.Response, error) {
+func (a *ProjectAPIService) PatchProjectExecute(r ProjectAPIPatchProjectRequest) (*SuccessfulProjectUpdate, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPatch
localVarPostBody interface{}
@@ -2119,13 +2157,13 @@ func (a *ProjectApiService) PatchProjectExecute(r ProjectApiPatchProjectRequest)
localVarReturnValue *SuccessfulProjectUpdate
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProjectApiService.PatchProject")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProjectAPIService.PatchProject")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/projects/{project_id}"
- localVarPath = strings.Replace(localVarPath, "{"+"project_id"+"}", url.PathEscape(parameterToString(r.projectId, "")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"project_id"+"}", url.PathEscape(parameterValueToString(r.projectId, "projectId")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -2160,9 +2198,9 @@ func (a *ProjectApiService) PatchProjectExecute(r ProjectApiPatchProjectRequest)
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -2179,7 +2217,8 @@ func (a *ProjectApiService) PatchProjectExecute(r ProjectApiPatchProjectRequest)
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 401 {
@@ -2189,7 +2228,8 @@ func (a *ProjectApiService) PatchProjectExecute(r ProjectApiPatchProjectRequest)
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 403 {
@@ -2199,7 +2239,8 @@ func (a *ProjectApiService) PatchProjectExecute(r ProjectApiPatchProjectRequest)
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 404 {
@@ -2209,7 +2250,8 @@ func (a *ProjectApiService) PatchProjectExecute(r ProjectApiPatchProjectRequest)
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -2218,7 +2260,8 @@ func (a *ProjectApiService) PatchProjectExecute(r ProjectApiPatchProjectRequest)
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -2234,13 +2277,13 @@ func (a *ProjectApiService) PatchProjectExecute(r ProjectApiPatchProjectRequest)
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ProjectApiPurgeProjectRequest struct {
+type ProjectAPIPurgeProjectRequest struct {
ctx context.Context
- ApiService ProjectApi
+ ApiService ProjectAPI
projectId string
}
-func (r ProjectApiPurgeProjectRequest) Execute() (*http.Response, error) {
+func (r ProjectAPIPurgeProjectRequest) Execute() (*http.Response, error) {
return r.ApiService.PurgeProjectExecute(r)
}
@@ -2256,10 +2299,10 @@ This action can not be undone and will delete ALL your data.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID The project's ID.
- @return ProjectApiPurgeProjectRequest
+ @return ProjectAPIPurgeProjectRequest
*/
-func (a *ProjectApiService) PurgeProject(ctx context.Context, projectId string) ProjectApiPurgeProjectRequest {
- return ProjectApiPurgeProjectRequest{
+func (a *ProjectAPIService) PurgeProject(ctx context.Context, projectId string) ProjectAPIPurgeProjectRequest {
+ return ProjectAPIPurgeProjectRequest{
ApiService: a,
ctx: ctx,
projectId: projectId,
@@ -2267,20 +2310,20 @@ func (a *ProjectApiService) PurgeProject(ctx context.Context, projectId string)
}
// Execute executes the request
-func (a *ProjectApiService) PurgeProjectExecute(r ProjectApiPurgeProjectRequest) (*http.Response, error) {
+func (a *ProjectAPIService) PurgeProjectExecute(r ProjectAPIPurgeProjectRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProjectApiService.PurgeProject")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProjectAPIService.PurgeProject")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/projects/{project_id}"
- localVarPath = strings.Replace(localVarPath, "{"+"project_id"+"}", url.PathEscape(parameterToString(r.projectId, "")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"project_id"+"}", url.PathEscape(parameterValueToString(r.projectId, "projectId")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -2313,9 +2356,9 @@ func (a *ProjectApiService) PurgeProjectExecute(r ProjectApiPurgeProjectRequest)
return localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarHTTPResponse, err
}
@@ -2332,7 +2375,8 @@ func (a *ProjectApiService) PurgeProjectExecute(r ProjectApiPurgeProjectRequest)
newErr.error = err.Error()
return localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 403 {
@@ -2342,7 +2386,8 @@ func (a *ProjectApiService) PurgeProjectExecute(r ProjectApiPurgeProjectRequest)
newErr.error = err.Error()
return localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 404 {
@@ -2352,7 +2397,8 @@ func (a *ProjectApiService) PurgeProjectExecute(r ProjectApiPurgeProjectRequest)
newErr.error = err.Error()
return localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarHTTPResponse, newErr
}
var v GenericError
@@ -2361,21 +2407,22 @@ func (a *ProjectApiService) PurgeProjectExecute(r ProjectApiPurgeProjectRequest)
newErr.error = err.Error()
return localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarHTTPResponse, newErr
}
return localVarHTTPResponse, nil
}
-type ProjectApiRemoveProjectMemberRequest struct {
+type ProjectAPIRemoveProjectMemberRequest struct {
ctx context.Context
- ApiService ProjectApi
+ ApiService ProjectAPI
project string
member string
}
-func (r ProjectApiRemoveProjectMemberRequest) Execute() (*http.Response, error) {
+func (r ProjectAPIRemoveProjectMemberRequest) Execute() (*http.Response, error) {
return r.ApiService.RemoveProjectMemberExecute(r)
}
@@ -2388,10 +2435,10 @@ This endpoint requires the user to be a member of the project with the role `OWN
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param project
@param member
- @return ProjectApiRemoveProjectMemberRequest
+ @return ProjectAPIRemoveProjectMemberRequest
*/
-func (a *ProjectApiService) RemoveProjectMember(ctx context.Context, project string, member string) ProjectApiRemoveProjectMemberRequest {
- return ProjectApiRemoveProjectMemberRequest{
+func (a *ProjectAPIService) RemoveProjectMember(ctx context.Context, project string, member string) ProjectAPIRemoveProjectMemberRequest {
+ return ProjectAPIRemoveProjectMemberRequest{
ApiService: a,
ctx: ctx,
project: project,
@@ -2400,21 +2447,21 @@ func (a *ProjectApiService) RemoveProjectMember(ctx context.Context, project str
}
// Execute executes the request
-func (a *ProjectApiService) RemoveProjectMemberExecute(r ProjectApiRemoveProjectMemberRequest) (*http.Response, error) {
+func (a *ProjectAPIService) RemoveProjectMemberExecute(r ProjectAPIRemoveProjectMemberRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProjectApiService.RemoveProjectMember")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProjectAPIService.RemoveProjectMember")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/projects/{project}/members/{member}"
- localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", url.PathEscape(parameterToString(r.project, "")), -1)
- localVarPath = strings.Replace(localVarPath, "{"+"member"+"}", url.PathEscape(parameterToString(r.member, "")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", url.PathEscape(parameterValueToString(r.project, "project")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"member"+"}", url.PathEscape(parameterValueToString(r.member, "member")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -2447,9 +2494,9 @@ func (a *ProjectApiService) RemoveProjectMemberExecute(r ProjectApiRemoveProject
return localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarHTTPResponse, err
}
@@ -2466,7 +2513,8 @@ func (a *ProjectApiService) RemoveProjectMemberExecute(r ProjectApiRemoveProject
newErr.error = err.Error()
return localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 406 {
@@ -2476,7 +2524,8 @@ func (a *ProjectApiService) RemoveProjectMemberExecute(r ProjectApiRemoveProject
newErr.error = err.Error()
return localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarHTTPResponse, newErr
}
var v GenericError
@@ -2485,25 +2534,26 @@ func (a *ProjectApiService) RemoveProjectMemberExecute(r ProjectApiRemoveProject
newErr.error = err.Error()
return localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarHTTPResponse, newErr
}
return localVarHTTPResponse, nil
}
-type ProjectApiSetActiveProjectInConsoleRequest struct {
+type ProjectAPISetActiveProjectInConsoleRequest struct {
ctx context.Context
- ApiService ProjectApi
+ ApiService ProjectAPI
setActiveProjectInConsoleBody *SetActiveProjectInConsoleBody
}
-func (r ProjectApiSetActiveProjectInConsoleRequest) SetActiveProjectInConsoleBody(setActiveProjectInConsoleBody SetActiveProjectInConsoleBody) ProjectApiSetActiveProjectInConsoleRequest {
+func (r ProjectAPISetActiveProjectInConsoleRequest) SetActiveProjectInConsoleBody(setActiveProjectInConsoleBody SetActiveProjectInConsoleBody) ProjectAPISetActiveProjectInConsoleRequest {
r.setActiveProjectInConsoleBody = &setActiveProjectInConsoleBody
return r
}
-func (r ProjectApiSetActiveProjectInConsoleRequest) Execute() (*http.Response, error) {
+func (r ProjectAPISetActiveProjectInConsoleRequest) Execute() (*http.Response, error) {
return r.ApiService.SetActiveProjectInConsoleExecute(r)
}
@@ -2513,24 +2563,24 @@ SetActiveProjectInConsole Sets the Ory Network Project active in the Ory Network
Use this API to set your active project in the Ory Network Console UI.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ProjectApiSetActiveProjectInConsoleRequest
+ @return ProjectAPISetActiveProjectInConsoleRequest
*/
-func (a *ProjectApiService) SetActiveProjectInConsole(ctx context.Context) ProjectApiSetActiveProjectInConsoleRequest {
- return ProjectApiSetActiveProjectInConsoleRequest{
+func (a *ProjectAPIService) SetActiveProjectInConsole(ctx context.Context) ProjectAPISetActiveProjectInConsoleRequest {
+ return ProjectAPISetActiveProjectInConsoleRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-func (a *ProjectApiService) SetActiveProjectInConsoleExecute(r ProjectApiSetActiveProjectInConsoleRequest) (*http.Response, error) {
+func (a *ProjectAPIService) SetActiveProjectInConsoleExecute(r ProjectAPISetActiveProjectInConsoleRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProjectApiService.SetActiveProjectInConsole")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProjectAPIService.SetActiveProjectInConsole")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -2570,9 +2620,9 @@ func (a *ProjectApiService) SetActiveProjectInConsoleExecute(r ProjectApiSetActi
return localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarHTTPResponse, err
}
@@ -2589,7 +2639,8 @@ func (a *ProjectApiService) SetActiveProjectInConsoleExecute(r ProjectApiSetActi
newErr.error = err.Error()
return localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarHTTPResponse, newErr
}
var v GenericError
@@ -2598,26 +2649,27 @@ func (a *ProjectApiService) SetActiveProjectInConsoleExecute(r ProjectApiSetActi
newErr.error = err.Error()
return localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarHTTPResponse, newErr
}
return localVarHTTPResponse, nil
}
-type ProjectApiSetProjectRequest struct {
+type ProjectAPISetProjectRequest struct {
ctx context.Context
- ApiService ProjectApi
+ ApiService ProjectAPI
projectId string
setProject *SetProject
}
-func (r ProjectApiSetProjectRequest) SetProject(setProject SetProject) ProjectApiSetProjectRequest {
+func (r ProjectAPISetProjectRequest) SetProject(setProject SetProject) ProjectAPISetProjectRequest {
r.setProject = &setProject
return r
}
-func (r ProjectApiSetProjectRequest) Execute() (*SuccessfulProjectUpdate, *http.Response, error) {
+func (r ProjectAPISetProjectRequest) Execute() (*SuccessfulProjectUpdate, *http.Response, error) {
return r.ApiService.SetProjectExecute(r)
}
@@ -2645,10 +2697,10 @@ service!
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID The project's ID.
- @return ProjectApiSetProjectRequest
+ @return ProjectAPISetProjectRequest
*/
-func (a *ProjectApiService) SetProject(ctx context.Context, projectId string) ProjectApiSetProjectRequest {
- return ProjectApiSetProjectRequest{
+func (a *ProjectAPIService) SetProject(ctx context.Context, projectId string) ProjectAPISetProjectRequest {
+ return ProjectAPISetProjectRequest{
ApiService: a,
ctx: ctx,
projectId: projectId,
@@ -2657,7 +2709,7 @@ func (a *ProjectApiService) SetProject(ctx context.Context, projectId string) Pr
// Execute executes the request
// @return SuccessfulProjectUpdate
-func (a *ProjectApiService) SetProjectExecute(r ProjectApiSetProjectRequest) (*SuccessfulProjectUpdate, *http.Response, error) {
+func (a *ProjectAPIService) SetProjectExecute(r ProjectAPISetProjectRequest) (*SuccessfulProjectUpdate, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
@@ -2665,13 +2717,13 @@ func (a *ProjectApiService) SetProjectExecute(r ProjectApiSetProjectRequest) (*S
localVarReturnValue *SuccessfulProjectUpdate
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProjectApiService.SetProject")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProjectAPIService.SetProject")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/projects/{project_id}"
- localVarPath = strings.Replace(localVarPath, "{"+"project_id"+"}", url.PathEscape(parameterToString(r.projectId, "")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"project_id"+"}", url.PathEscape(parameterValueToString(r.projectId, "projectId")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -2706,9 +2758,9 @@ func (a *ProjectApiService) SetProjectExecute(r ProjectApiSetProjectRequest) (*S
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -2725,7 +2777,8 @@ func (a *ProjectApiService) SetProjectExecute(r ProjectApiSetProjectRequest) (*S
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 401 {
@@ -2735,7 +2788,8 @@ func (a *ProjectApiService) SetProjectExecute(r ProjectApiSetProjectRequest) (*S
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 403 {
@@ -2745,7 +2799,8 @@ func (a *ProjectApiService) SetProjectExecute(r ProjectApiSetProjectRequest) (*S
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 404 {
@@ -2755,7 +2810,8 @@ func (a *ProjectApiService) SetProjectExecute(r ProjectApiSetProjectRequest) (*S
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -2764,7 +2820,8 @@ func (a *ProjectApiService) SetProjectExecute(r ProjectApiSetProjectRequest) (*S
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -2780,20 +2837,20 @@ func (a *ProjectApiService) SetProjectExecute(r ProjectApiSetProjectRequest) (*S
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ProjectApiUpdateOrganizationRequest struct {
+type ProjectAPIUpdateOrganizationRequest struct {
ctx context.Context
- ApiService ProjectApi
+ ApiService ProjectAPI
projectId string
organizationId string
organizationBody *OrganizationBody
}
-func (r ProjectApiUpdateOrganizationRequest) OrganizationBody(organizationBody OrganizationBody) ProjectApiUpdateOrganizationRequest {
+func (r ProjectAPIUpdateOrganizationRequest) OrganizationBody(organizationBody OrganizationBody) ProjectAPIUpdateOrganizationRequest {
r.organizationBody = &organizationBody
return r
}
-func (r ProjectApiUpdateOrganizationRequest) Execute() (*Organization, *http.Response, error) {
+func (r ProjectAPIUpdateOrganizationRequest) Execute() (*Organization, *http.Response, error) {
return r.ApiService.UpdateOrganizationExecute(r)
}
@@ -2803,10 +2860,10 @@ UpdateOrganization Update a B2B SSO Organization for a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project ID The project's ID.
@param organizationId Organization ID The Organization's ID.
- @return ProjectApiUpdateOrganizationRequest
+ @return ProjectAPIUpdateOrganizationRequest
*/
-func (a *ProjectApiService) UpdateOrganization(ctx context.Context, projectId string, organizationId string) ProjectApiUpdateOrganizationRequest {
- return ProjectApiUpdateOrganizationRequest{
+func (a *ProjectAPIService) UpdateOrganization(ctx context.Context, projectId string, organizationId string) ProjectAPIUpdateOrganizationRequest {
+ return ProjectAPIUpdateOrganizationRequest{
ApiService: a,
ctx: ctx,
projectId: projectId,
@@ -2816,7 +2873,7 @@ func (a *ProjectApiService) UpdateOrganization(ctx context.Context, projectId st
// Execute executes the request
// @return Organization
-func (a *ProjectApiService) UpdateOrganizationExecute(r ProjectApiUpdateOrganizationRequest) (*Organization, *http.Response, error) {
+func (a *ProjectAPIService) UpdateOrganizationExecute(r ProjectAPIUpdateOrganizationRequest) (*Organization, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
@@ -2824,14 +2881,14 @@ func (a *ProjectApiService) UpdateOrganizationExecute(r ProjectApiUpdateOrganiza
localVarReturnValue *Organization
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProjectApiService.UpdateOrganization")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProjectAPIService.UpdateOrganization")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/projects/{project_id}/organizations/{organization_id}"
- localVarPath = strings.Replace(localVarPath, "{"+"project_id"+"}", url.PathEscape(parameterToString(r.projectId, "")), -1)
- localVarPath = strings.Replace(localVarPath, "{"+"organization_id"+"}", url.PathEscape(parameterToString(r.organizationId, "")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"project_id"+"}", url.PathEscape(parameterValueToString(r.projectId, "projectId")), -1)
+ localVarPath = strings.Replace(localVarPath, "{"+"organization_id"+"}", url.PathEscape(parameterValueToString(r.organizationId, "organizationId")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -2866,9 +2923,9 @@ func (a *ProjectApiService) UpdateOrganizationExecute(r ProjectApiUpdateOrganiza
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -2885,7 +2942,8 @@ func (a *ProjectApiService) UpdateOrganizationExecute(r ProjectApiUpdateOrganiza
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 403 {
@@ -2895,7 +2953,8 @@ func (a *ProjectApiService) UpdateOrganizationExecute(r ProjectApiUpdateOrganiza
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 404 {
@@ -2905,7 +2964,8 @@ func (a *ProjectApiService) UpdateOrganizationExecute(r ProjectApiUpdateOrganiza
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 409 {
@@ -2915,7 +2975,8 @@ func (a *ProjectApiService) UpdateOrganizationExecute(r ProjectApiUpdateOrganiza
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -2924,7 +2985,8 @@ func (a *ProjectApiService) UpdateOrganizationExecute(r ProjectApiUpdateOrganiza
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
diff --git a/clients/client/go/api_relationship.go b/clients/client/go/api_relationship.go
index 3bc93abc9fe..57a10073d1a 100644
--- a/clients/client/go/api_relationship.go
+++ b/clients/client/go/api_relationship.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -14,13 +14,13 @@ package client
import (
"bytes"
"context"
- "io/ioutil"
+ "io"
"net/http"
"net/url"
)
-type RelationshipApi interface {
+type RelationshipAPI interface {
/*
CheckOplSyntax Check the syntax of an OPL file
@@ -28,13 +28,13 @@ type RelationshipApi interface {
The OPL file is expected in the body of the request.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return RelationshipApiCheckOplSyntaxRequest
+ @return RelationshipAPICheckOplSyntaxRequest
*/
- CheckOplSyntax(ctx context.Context) RelationshipApiCheckOplSyntaxRequest
+ CheckOplSyntax(ctx context.Context) RelationshipAPICheckOplSyntaxRequest
// CheckOplSyntaxExecute executes the request
// @return CheckOplSyntaxResult
- CheckOplSyntaxExecute(r RelationshipApiCheckOplSyntaxRequest) (*CheckOplSyntaxResult, *http.Response, error)
+ CheckOplSyntaxExecute(r RelationshipAPICheckOplSyntaxRequest) (*CheckOplSyntaxResult, *http.Response, error)
/*
CreateRelationship Create a Relationship
@@ -42,13 +42,13 @@ type RelationshipApi interface {
Use this endpoint to create a relationship.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return RelationshipApiCreateRelationshipRequest
+ @return RelationshipAPICreateRelationshipRequest
*/
- CreateRelationship(ctx context.Context) RelationshipApiCreateRelationshipRequest
+ CreateRelationship(ctx context.Context) RelationshipAPICreateRelationshipRequest
// CreateRelationshipExecute executes the request
// @return Relationship
- CreateRelationshipExecute(r RelationshipApiCreateRelationshipRequest) (*Relationship, *http.Response, error)
+ CreateRelationshipExecute(r RelationshipAPICreateRelationshipRequest) (*Relationship, *http.Response, error)
/*
DeleteRelationships Delete Relationships
@@ -56,12 +56,12 @@ type RelationshipApi interface {
Use this endpoint to delete relationships
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return RelationshipApiDeleteRelationshipsRequest
+ @return RelationshipAPIDeleteRelationshipsRequest
*/
- DeleteRelationships(ctx context.Context) RelationshipApiDeleteRelationshipsRequest
+ DeleteRelationships(ctx context.Context) RelationshipAPIDeleteRelationshipsRequest
// DeleteRelationshipsExecute executes the request
- DeleteRelationshipsExecute(r RelationshipApiDeleteRelationshipsRequest) (*http.Response, error)
+ DeleteRelationshipsExecute(r RelationshipAPIDeleteRelationshipsRequest) (*http.Response, error)
/*
GetRelationships Query relationships
@@ -69,13 +69,13 @@ type RelationshipApi interface {
Get all relationships that match the query. Only the namespace field is required.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return RelationshipApiGetRelationshipsRequest
+ @return RelationshipAPIGetRelationshipsRequest
*/
- GetRelationships(ctx context.Context) RelationshipApiGetRelationshipsRequest
+ GetRelationships(ctx context.Context) RelationshipAPIGetRelationshipsRequest
// GetRelationshipsExecute executes the request
// @return Relationships
- GetRelationshipsExecute(r RelationshipApiGetRelationshipsRequest) (*Relationships, *http.Response, error)
+ GetRelationshipsExecute(r RelationshipAPIGetRelationshipsRequest) (*Relationships, *http.Response, error)
/*
ListRelationshipNamespaces Query namespaces
@@ -83,13 +83,13 @@ type RelationshipApi interface {
Get all namespaces
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return RelationshipApiListRelationshipNamespacesRequest
+ @return RelationshipAPIListRelationshipNamespacesRequest
*/
- ListRelationshipNamespaces(ctx context.Context) RelationshipApiListRelationshipNamespacesRequest
+ ListRelationshipNamespaces(ctx context.Context) RelationshipAPIListRelationshipNamespacesRequest
// ListRelationshipNamespacesExecute executes the request
// @return RelationshipNamespaces
- ListRelationshipNamespacesExecute(r RelationshipApiListRelationshipNamespacesRequest) (*RelationshipNamespaces, *http.Response, error)
+ ListRelationshipNamespacesExecute(r RelationshipAPIListRelationshipNamespacesRequest) (*RelationshipNamespaces, *http.Response, error)
/*
PatchRelationships Patch Multiple Relationships
@@ -97,29 +97,29 @@ type RelationshipApi interface {
Use this endpoint to patch one or more relationships.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return RelationshipApiPatchRelationshipsRequest
+ @return RelationshipAPIPatchRelationshipsRequest
*/
- PatchRelationships(ctx context.Context) RelationshipApiPatchRelationshipsRequest
+ PatchRelationships(ctx context.Context) RelationshipAPIPatchRelationshipsRequest
// PatchRelationshipsExecute executes the request
- PatchRelationshipsExecute(r RelationshipApiPatchRelationshipsRequest) (*http.Response, error)
+ PatchRelationshipsExecute(r RelationshipAPIPatchRelationshipsRequest) (*http.Response, error)
}
-// RelationshipApiService RelationshipApi service
-type RelationshipApiService service
+// RelationshipAPIService RelationshipAPI service
+type RelationshipAPIService service
-type RelationshipApiCheckOplSyntaxRequest struct {
+type RelationshipAPICheckOplSyntaxRequest struct {
ctx context.Context
- ApiService RelationshipApi
+ ApiService RelationshipAPI
body *string
}
-func (r RelationshipApiCheckOplSyntaxRequest) Body(body string) RelationshipApiCheckOplSyntaxRequest {
+func (r RelationshipAPICheckOplSyntaxRequest) Body(body string) RelationshipAPICheckOplSyntaxRequest {
r.body = &body
return r
}
-func (r RelationshipApiCheckOplSyntaxRequest) Execute() (*CheckOplSyntaxResult, *http.Response, error) {
+func (r RelationshipAPICheckOplSyntaxRequest) Execute() (*CheckOplSyntaxResult, *http.Response, error) {
return r.ApiService.CheckOplSyntaxExecute(r)
}
@@ -129,10 +129,10 @@ CheckOplSyntax Check the syntax of an OPL file
The OPL file is expected in the body of the request.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return RelationshipApiCheckOplSyntaxRequest
+ @return RelationshipAPICheckOplSyntaxRequest
*/
-func (a *RelationshipApiService) CheckOplSyntax(ctx context.Context) RelationshipApiCheckOplSyntaxRequest {
- return RelationshipApiCheckOplSyntaxRequest{
+func (a *RelationshipAPIService) CheckOplSyntax(ctx context.Context) RelationshipAPICheckOplSyntaxRequest {
+ return RelationshipAPICheckOplSyntaxRequest{
ApiService: a,
ctx: ctx,
}
@@ -140,7 +140,7 @@ func (a *RelationshipApiService) CheckOplSyntax(ctx context.Context) Relationshi
// Execute executes the request
// @return CheckOplSyntaxResult
-func (a *RelationshipApiService) CheckOplSyntaxExecute(r RelationshipApiCheckOplSyntaxRequest) (*CheckOplSyntaxResult, *http.Response, error) {
+func (a *RelationshipAPIService) CheckOplSyntaxExecute(r RelationshipAPICheckOplSyntaxRequest) (*CheckOplSyntaxResult, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
@@ -148,7 +148,7 @@ func (a *RelationshipApiService) CheckOplSyntaxExecute(r RelationshipApiCheckOpl
localVarReturnValue *CheckOplSyntaxResult
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RelationshipApiService.CheckOplSyntax")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RelationshipAPIService.CheckOplSyntax")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -188,9 +188,9 @@ func (a *RelationshipApiService) CheckOplSyntaxExecute(r RelationshipApiCheckOpl
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -207,7 +207,8 @@ func (a *RelationshipApiService) CheckOplSyntaxExecute(r RelationshipApiCheckOpl
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -216,7 +217,8 @@ func (a *RelationshipApiService) CheckOplSyntaxExecute(r RelationshipApiCheckOpl
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -232,18 +234,18 @@ func (a *RelationshipApiService) CheckOplSyntaxExecute(r RelationshipApiCheckOpl
return localVarReturnValue, localVarHTTPResponse, nil
}
-type RelationshipApiCreateRelationshipRequest struct {
+type RelationshipAPICreateRelationshipRequest struct {
ctx context.Context
- ApiService RelationshipApi
+ ApiService RelationshipAPI
createRelationshipBody *CreateRelationshipBody
}
-func (r RelationshipApiCreateRelationshipRequest) CreateRelationshipBody(createRelationshipBody CreateRelationshipBody) RelationshipApiCreateRelationshipRequest {
+func (r RelationshipAPICreateRelationshipRequest) CreateRelationshipBody(createRelationshipBody CreateRelationshipBody) RelationshipAPICreateRelationshipRequest {
r.createRelationshipBody = &createRelationshipBody
return r
}
-func (r RelationshipApiCreateRelationshipRequest) Execute() (*Relationship, *http.Response, error) {
+func (r RelationshipAPICreateRelationshipRequest) Execute() (*Relationship, *http.Response, error) {
return r.ApiService.CreateRelationshipExecute(r)
}
@@ -253,10 +255,10 @@ CreateRelationship Create a Relationship
Use this endpoint to create a relationship.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return RelationshipApiCreateRelationshipRequest
+ @return RelationshipAPICreateRelationshipRequest
*/
-func (a *RelationshipApiService) CreateRelationship(ctx context.Context) RelationshipApiCreateRelationshipRequest {
- return RelationshipApiCreateRelationshipRequest{
+func (a *RelationshipAPIService) CreateRelationship(ctx context.Context) RelationshipAPICreateRelationshipRequest {
+ return RelationshipAPICreateRelationshipRequest{
ApiService: a,
ctx: ctx,
}
@@ -264,7 +266,7 @@ func (a *RelationshipApiService) CreateRelationship(ctx context.Context) Relatio
// Execute executes the request
// @return Relationship
-func (a *RelationshipApiService) CreateRelationshipExecute(r RelationshipApiCreateRelationshipRequest) (*Relationship, *http.Response, error) {
+func (a *RelationshipAPIService) CreateRelationshipExecute(r RelationshipAPICreateRelationshipRequest) (*Relationship, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
@@ -272,7 +274,7 @@ func (a *RelationshipApiService) CreateRelationshipExecute(r RelationshipApiCrea
localVarReturnValue *Relationship
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RelationshipApiService.CreateRelationship")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RelationshipAPIService.CreateRelationship")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -312,9 +314,9 @@ func (a *RelationshipApiService) CreateRelationshipExecute(r RelationshipApiCrea
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -331,7 +333,8 @@ func (a *RelationshipApiService) CreateRelationshipExecute(r RelationshipApiCrea
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -340,7 +343,8 @@ func (a *RelationshipApiService) CreateRelationshipExecute(r RelationshipApiCrea
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -356,9 +360,9 @@ func (a *RelationshipApiService) CreateRelationshipExecute(r RelationshipApiCrea
return localVarReturnValue, localVarHTTPResponse, nil
}
-type RelationshipApiDeleteRelationshipsRequest struct {
+type RelationshipAPIDeleteRelationshipsRequest struct {
ctx context.Context
- ApiService RelationshipApi
+ ApiService RelationshipAPI
namespace *string
object *string
relation *string
@@ -369,48 +373,48 @@ type RelationshipApiDeleteRelationshipsRequest struct {
}
// Namespace of the Relationship
-func (r RelationshipApiDeleteRelationshipsRequest) Namespace(namespace string) RelationshipApiDeleteRelationshipsRequest {
+func (r RelationshipAPIDeleteRelationshipsRequest) Namespace(namespace string) RelationshipAPIDeleteRelationshipsRequest {
r.namespace = &namespace
return r
}
// Object of the Relationship
-func (r RelationshipApiDeleteRelationshipsRequest) Object(object string) RelationshipApiDeleteRelationshipsRequest {
+func (r RelationshipAPIDeleteRelationshipsRequest) Object(object string) RelationshipAPIDeleteRelationshipsRequest {
r.object = &object
return r
}
// Relation of the Relationship
-func (r RelationshipApiDeleteRelationshipsRequest) Relation(relation string) RelationshipApiDeleteRelationshipsRequest {
+func (r RelationshipAPIDeleteRelationshipsRequest) Relation(relation string) RelationshipAPIDeleteRelationshipsRequest {
r.relation = &relation
return r
}
// SubjectID of the Relationship
-func (r RelationshipApiDeleteRelationshipsRequest) SubjectId(subjectId string) RelationshipApiDeleteRelationshipsRequest {
+func (r RelationshipAPIDeleteRelationshipsRequest) SubjectId(subjectId string) RelationshipAPIDeleteRelationshipsRequest {
r.subjectId = &subjectId
return r
}
// Namespace of the Subject Set
-func (r RelationshipApiDeleteRelationshipsRequest) SubjectSetNamespace(subjectSetNamespace string) RelationshipApiDeleteRelationshipsRequest {
+func (r RelationshipAPIDeleteRelationshipsRequest) SubjectSetNamespace(subjectSetNamespace string) RelationshipAPIDeleteRelationshipsRequest {
r.subjectSetNamespace = &subjectSetNamespace
return r
}
// Object of the Subject Set
-func (r RelationshipApiDeleteRelationshipsRequest) SubjectSetObject(subjectSetObject string) RelationshipApiDeleteRelationshipsRequest {
+func (r RelationshipAPIDeleteRelationshipsRequest) SubjectSetObject(subjectSetObject string) RelationshipAPIDeleteRelationshipsRequest {
r.subjectSetObject = &subjectSetObject
return r
}
// Relation of the Subject Set
-func (r RelationshipApiDeleteRelationshipsRequest) SubjectSetRelation(subjectSetRelation string) RelationshipApiDeleteRelationshipsRequest {
+func (r RelationshipAPIDeleteRelationshipsRequest) SubjectSetRelation(subjectSetRelation string) RelationshipAPIDeleteRelationshipsRequest {
r.subjectSetRelation = &subjectSetRelation
return r
}
-func (r RelationshipApiDeleteRelationshipsRequest) Execute() (*http.Response, error) {
+func (r RelationshipAPIDeleteRelationshipsRequest) Execute() (*http.Response, error) {
return r.ApiService.DeleteRelationshipsExecute(r)
}
@@ -420,24 +424,24 @@ DeleteRelationships Delete Relationships
Use this endpoint to delete relationships
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return RelationshipApiDeleteRelationshipsRequest
+ @return RelationshipAPIDeleteRelationshipsRequest
*/
-func (a *RelationshipApiService) DeleteRelationships(ctx context.Context) RelationshipApiDeleteRelationshipsRequest {
- return RelationshipApiDeleteRelationshipsRequest{
+func (a *RelationshipAPIService) DeleteRelationships(ctx context.Context) RelationshipAPIDeleteRelationshipsRequest {
+ return RelationshipAPIDeleteRelationshipsRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-func (a *RelationshipApiService) DeleteRelationshipsExecute(r RelationshipApiDeleteRelationshipsRequest) (*http.Response, error) {
+func (a *RelationshipAPIService) DeleteRelationshipsExecute(r RelationshipAPIDeleteRelationshipsRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RelationshipApiService.DeleteRelationships")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RelationshipAPIService.DeleteRelationships")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -449,25 +453,25 @@ func (a *RelationshipApiService) DeleteRelationshipsExecute(r RelationshipApiDel
localVarFormParams := url.Values{}
if r.namespace != nil {
- localVarQueryParams.Add("namespace", parameterToString(*r.namespace, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "namespace", r.namespace, "")
}
if r.object != nil {
- localVarQueryParams.Add("object", parameterToString(*r.object, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "object", r.object, "")
}
if r.relation != nil {
- localVarQueryParams.Add("relation", parameterToString(*r.relation, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "relation", r.relation, "")
}
if r.subjectId != nil {
- localVarQueryParams.Add("subject_id", parameterToString(*r.subjectId, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "subject_id", r.subjectId, "")
}
if r.subjectSetNamespace != nil {
- localVarQueryParams.Add("subject_set.namespace", parameterToString(*r.subjectSetNamespace, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "subject_set.namespace", r.subjectSetNamespace, "")
}
if r.subjectSetObject != nil {
- localVarQueryParams.Add("subject_set.object", parameterToString(*r.subjectSetObject, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "subject_set.object", r.subjectSetObject, "")
}
if r.subjectSetRelation != nil {
- localVarQueryParams.Add("subject_set.relation", parameterToString(*r.subjectSetRelation, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "subject_set.relation", r.subjectSetRelation, "")
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -496,9 +500,9 @@ func (a *RelationshipApiService) DeleteRelationshipsExecute(r RelationshipApiDel
return localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarHTTPResponse, err
}
@@ -515,7 +519,8 @@ func (a *RelationshipApiService) DeleteRelationshipsExecute(r RelationshipApiDel
newErr.error = err.Error()
return localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -524,16 +529,17 @@ func (a *RelationshipApiService) DeleteRelationshipsExecute(r RelationshipApiDel
newErr.error = err.Error()
return localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarHTTPResponse, newErr
}
return localVarHTTPResponse, nil
}
-type RelationshipApiGetRelationshipsRequest struct {
+type RelationshipAPIGetRelationshipsRequest struct {
ctx context.Context
- ApiService RelationshipApi
+ ApiService RelationshipAPI
pageToken *string
pageSize *int64
namespace *string
@@ -545,59 +551,59 @@ type RelationshipApiGetRelationshipsRequest struct {
subjectSetRelation *string
}
-func (r RelationshipApiGetRelationshipsRequest) PageToken(pageToken string) RelationshipApiGetRelationshipsRequest {
+func (r RelationshipAPIGetRelationshipsRequest) PageToken(pageToken string) RelationshipAPIGetRelationshipsRequest {
r.pageToken = &pageToken
return r
}
-func (r RelationshipApiGetRelationshipsRequest) PageSize(pageSize int64) RelationshipApiGetRelationshipsRequest {
+func (r RelationshipAPIGetRelationshipsRequest) PageSize(pageSize int64) RelationshipAPIGetRelationshipsRequest {
r.pageSize = &pageSize
return r
}
// Namespace of the Relationship
-func (r RelationshipApiGetRelationshipsRequest) Namespace(namespace string) RelationshipApiGetRelationshipsRequest {
+func (r RelationshipAPIGetRelationshipsRequest) Namespace(namespace string) RelationshipAPIGetRelationshipsRequest {
r.namespace = &namespace
return r
}
// Object of the Relationship
-func (r RelationshipApiGetRelationshipsRequest) Object(object string) RelationshipApiGetRelationshipsRequest {
+func (r RelationshipAPIGetRelationshipsRequest) Object(object string) RelationshipAPIGetRelationshipsRequest {
r.object = &object
return r
}
// Relation of the Relationship
-func (r RelationshipApiGetRelationshipsRequest) Relation(relation string) RelationshipApiGetRelationshipsRequest {
+func (r RelationshipAPIGetRelationshipsRequest) Relation(relation string) RelationshipAPIGetRelationshipsRequest {
r.relation = &relation
return r
}
// SubjectID of the Relationship
-func (r RelationshipApiGetRelationshipsRequest) SubjectId(subjectId string) RelationshipApiGetRelationshipsRequest {
+func (r RelationshipAPIGetRelationshipsRequest) SubjectId(subjectId string) RelationshipAPIGetRelationshipsRequest {
r.subjectId = &subjectId
return r
}
// Namespace of the Subject Set
-func (r RelationshipApiGetRelationshipsRequest) SubjectSetNamespace(subjectSetNamespace string) RelationshipApiGetRelationshipsRequest {
+func (r RelationshipAPIGetRelationshipsRequest) SubjectSetNamespace(subjectSetNamespace string) RelationshipAPIGetRelationshipsRequest {
r.subjectSetNamespace = &subjectSetNamespace
return r
}
// Object of the Subject Set
-func (r RelationshipApiGetRelationshipsRequest) SubjectSetObject(subjectSetObject string) RelationshipApiGetRelationshipsRequest {
+func (r RelationshipAPIGetRelationshipsRequest) SubjectSetObject(subjectSetObject string) RelationshipAPIGetRelationshipsRequest {
r.subjectSetObject = &subjectSetObject
return r
}
// Relation of the Subject Set
-func (r RelationshipApiGetRelationshipsRequest) SubjectSetRelation(subjectSetRelation string) RelationshipApiGetRelationshipsRequest {
+func (r RelationshipAPIGetRelationshipsRequest) SubjectSetRelation(subjectSetRelation string) RelationshipAPIGetRelationshipsRequest {
r.subjectSetRelation = &subjectSetRelation
return r
}
-func (r RelationshipApiGetRelationshipsRequest) Execute() (*Relationships, *http.Response, error) {
+func (r RelationshipAPIGetRelationshipsRequest) Execute() (*Relationships, *http.Response, error) {
return r.ApiService.GetRelationshipsExecute(r)
}
@@ -607,10 +613,10 @@ GetRelationships Query relationships
Get all relationships that match the query. Only the namespace field is required.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return RelationshipApiGetRelationshipsRequest
+ @return RelationshipAPIGetRelationshipsRequest
*/
-func (a *RelationshipApiService) GetRelationships(ctx context.Context) RelationshipApiGetRelationshipsRequest {
- return RelationshipApiGetRelationshipsRequest{
+func (a *RelationshipAPIService) GetRelationships(ctx context.Context) RelationshipAPIGetRelationshipsRequest {
+ return RelationshipAPIGetRelationshipsRequest{
ApiService: a,
ctx: ctx,
}
@@ -618,7 +624,7 @@ func (a *RelationshipApiService) GetRelationships(ctx context.Context) Relations
// Execute executes the request
// @return Relationships
-func (a *RelationshipApiService) GetRelationshipsExecute(r RelationshipApiGetRelationshipsRequest) (*Relationships, *http.Response, error) {
+func (a *RelationshipAPIService) GetRelationshipsExecute(r RelationshipAPIGetRelationshipsRequest) (*Relationships, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -626,7 +632,7 @@ func (a *RelationshipApiService) GetRelationshipsExecute(r RelationshipApiGetRel
localVarReturnValue *Relationships
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RelationshipApiService.GetRelationships")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RelationshipAPIService.GetRelationships")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -638,31 +644,31 @@ func (a *RelationshipApiService) GetRelationshipsExecute(r RelationshipApiGetRel
localVarFormParams := url.Values{}
if r.pageToken != nil {
- localVarQueryParams.Add("page_token", parameterToString(*r.pageToken, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "page_token", r.pageToken, "")
}
if r.pageSize != nil {
- localVarQueryParams.Add("page_size", parameterToString(*r.pageSize, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "page_size", r.pageSize, "")
}
if r.namespace != nil {
- localVarQueryParams.Add("namespace", parameterToString(*r.namespace, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "namespace", r.namespace, "")
}
if r.object != nil {
- localVarQueryParams.Add("object", parameterToString(*r.object, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "object", r.object, "")
}
if r.relation != nil {
- localVarQueryParams.Add("relation", parameterToString(*r.relation, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "relation", r.relation, "")
}
if r.subjectId != nil {
- localVarQueryParams.Add("subject_id", parameterToString(*r.subjectId, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "subject_id", r.subjectId, "")
}
if r.subjectSetNamespace != nil {
- localVarQueryParams.Add("subject_set.namespace", parameterToString(*r.subjectSetNamespace, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "subject_set.namespace", r.subjectSetNamespace, "")
}
if r.subjectSetObject != nil {
- localVarQueryParams.Add("subject_set.object", parameterToString(*r.subjectSetObject, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "subject_set.object", r.subjectSetObject, "")
}
if r.subjectSetRelation != nil {
- localVarQueryParams.Add("subject_set.relation", parameterToString(*r.subjectSetRelation, ""))
+ parameterAddToHeaderOrQuery(localVarQueryParams, "subject_set.relation", r.subjectSetRelation, "")
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -691,9 +697,9 @@ func (a *RelationshipApiService) GetRelationshipsExecute(r RelationshipApiGetRel
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -710,7 +716,8 @@ func (a *RelationshipApiService) GetRelationshipsExecute(r RelationshipApiGetRel
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -719,7 +726,8 @@ func (a *RelationshipApiService) GetRelationshipsExecute(r RelationshipApiGetRel
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -735,12 +743,12 @@ func (a *RelationshipApiService) GetRelationshipsExecute(r RelationshipApiGetRel
return localVarReturnValue, localVarHTTPResponse, nil
}
-type RelationshipApiListRelationshipNamespacesRequest struct {
+type RelationshipAPIListRelationshipNamespacesRequest struct {
ctx context.Context
- ApiService RelationshipApi
+ ApiService RelationshipAPI
}
-func (r RelationshipApiListRelationshipNamespacesRequest) Execute() (*RelationshipNamespaces, *http.Response, error) {
+func (r RelationshipAPIListRelationshipNamespacesRequest) Execute() (*RelationshipNamespaces, *http.Response, error) {
return r.ApiService.ListRelationshipNamespacesExecute(r)
}
@@ -750,10 +758,10 @@ ListRelationshipNamespaces Query namespaces
Get all namespaces
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return RelationshipApiListRelationshipNamespacesRequest
+ @return RelationshipAPIListRelationshipNamespacesRequest
*/
-func (a *RelationshipApiService) ListRelationshipNamespaces(ctx context.Context) RelationshipApiListRelationshipNamespacesRequest {
- return RelationshipApiListRelationshipNamespacesRequest{
+func (a *RelationshipAPIService) ListRelationshipNamespaces(ctx context.Context) RelationshipAPIListRelationshipNamespacesRequest {
+ return RelationshipAPIListRelationshipNamespacesRequest{
ApiService: a,
ctx: ctx,
}
@@ -761,7 +769,7 @@ func (a *RelationshipApiService) ListRelationshipNamespaces(ctx context.Context)
// Execute executes the request
// @return RelationshipNamespaces
-func (a *RelationshipApiService) ListRelationshipNamespacesExecute(r RelationshipApiListRelationshipNamespacesRequest) (*RelationshipNamespaces, *http.Response, error) {
+func (a *RelationshipAPIService) ListRelationshipNamespacesExecute(r RelationshipAPIListRelationshipNamespacesRequest) (*RelationshipNamespaces, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -769,7 +777,7 @@ func (a *RelationshipApiService) ListRelationshipNamespacesExecute(r Relationshi
localVarReturnValue *RelationshipNamespaces
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RelationshipApiService.ListRelationshipNamespaces")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RelationshipAPIService.ListRelationshipNamespaces")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -807,9 +815,9 @@ func (a *RelationshipApiService) ListRelationshipNamespacesExecute(r Relationshi
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -825,7 +833,8 @@ func (a *RelationshipApiService) ListRelationshipNamespacesExecute(r Relationshi
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
@@ -841,18 +850,18 @@ func (a *RelationshipApiService) ListRelationshipNamespacesExecute(r Relationshi
return localVarReturnValue, localVarHTTPResponse, nil
}
-type RelationshipApiPatchRelationshipsRequest struct {
+type RelationshipAPIPatchRelationshipsRequest struct {
ctx context.Context
- ApiService RelationshipApi
+ ApiService RelationshipAPI
relationshipPatch *[]RelationshipPatch
}
-func (r RelationshipApiPatchRelationshipsRequest) RelationshipPatch(relationshipPatch []RelationshipPatch) RelationshipApiPatchRelationshipsRequest {
+func (r RelationshipAPIPatchRelationshipsRequest) RelationshipPatch(relationshipPatch []RelationshipPatch) RelationshipAPIPatchRelationshipsRequest {
r.relationshipPatch = &relationshipPatch
return r
}
-func (r RelationshipApiPatchRelationshipsRequest) Execute() (*http.Response, error) {
+func (r RelationshipAPIPatchRelationshipsRequest) Execute() (*http.Response, error) {
return r.ApiService.PatchRelationshipsExecute(r)
}
@@ -862,24 +871,24 @@ PatchRelationships Patch Multiple Relationships
Use this endpoint to patch one or more relationships.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return RelationshipApiPatchRelationshipsRequest
+ @return RelationshipAPIPatchRelationshipsRequest
*/
-func (a *RelationshipApiService) PatchRelationships(ctx context.Context) RelationshipApiPatchRelationshipsRequest {
- return RelationshipApiPatchRelationshipsRequest{
+func (a *RelationshipAPIService) PatchRelationships(ctx context.Context) RelationshipAPIPatchRelationshipsRequest {
+ return RelationshipAPIPatchRelationshipsRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-func (a *RelationshipApiService) PatchRelationshipsExecute(r RelationshipApiPatchRelationshipsRequest) (*http.Response, error) {
+func (a *RelationshipAPIService) PatchRelationshipsExecute(r RelationshipAPIPatchRelationshipsRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodPatch
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RelationshipApiService.PatchRelationships")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RelationshipAPIService.PatchRelationships")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -919,9 +928,9 @@ func (a *RelationshipApiService) PatchRelationshipsExecute(r RelationshipApiPatc
return localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarHTTPResponse, err
}
@@ -938,7 +947,8 @@ func (a *RelationshipApiService) PatchRelationshipsExecute(r RelationshipApiPatc
newErr.error = err.Error()
return localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarHTTPResponse, newErr
}
if localVarHTTPResponse.StatusCode == 404 {
@@ -948,7 +958,8 @@ func (a *RelationshipApiService) PatchRelationshipsExecute(r RelationshipApiPatc
newErr.error = err.Error()
return localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarHTTPResponse, newErr
}
var v ErrorGeneric
@@ -957,7 +968,8 @@ func (a *RelationshipApiService) PatchRelationshipsExecute(r RelationshipApiPatc
newErr.error = err.Error()
return localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarHTTPResponse, newErr
}
diff --git a/clients/client/go/api_wellknown.go b/clients/client/go/api_wellknown.go
index 3edd7f43d24..e9c295add23 100644
--- a/clients/client/go/api_wellknown.go
+++ b/clients/client/go/api_wellknown.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -14,13 +14,13 @@ package client
import (
"bytes"
"context"
- "io/ioutil"
+ "io"
"net/http"
"net/url"
)
-type WellknownApi interface {
+type WellknownAPI interface {
/*
DiscoverJsonWebKeys Discover Well-Known JSON Web Keys
@@ -30,24 +30,24 @@ if enabled, OAuth 2.0 JWT Access Tokens. This endpoint can be used with client l
[node-jwks-rsa](https://github.com/auth0/node-jwks-rsa) among others.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return WellknownApiDiscoverJsonWebKeysRequest
+ @return WellknownAPIDiscoverJsonWebKeysRequest
*/
- DiscoverJsonWebKeys(ctx context.Context) WellknownApiDiscoverJsonWebKeysRequest
+ DiscoverJsonWebKeys(ctx context.Context) WellknownAPIDiscoverJsonWebKeysRequest
// DiscoverJsonWebKeysExecute executes the request
// @return JsonWebKeySet
- DiscoverJsonWebKeysExecute(r WellknownApiDiscoverJsonWebKeysRequest) (*JsonWebKeySet, *http.Response, error)
+ DiscoverJsonWebKeysExecute(r WellknownAPIDiscoverJsonWebKeysRequest) (*JsonWebKeySet, *http.Response, error)
}
-// WellknownApiService WellknownApi service
-type WellknownApiService service
+// WellknownAPIService WellknownAPI service
+type WellknownAPIService service
-type WellknownApiDiscoverJsonWebKeysRequest struct {
+type WellknownAPIDiscoverJsonWebKeysRequest struct {
ctx context.Context
- ApiService WellknownApi
+ ApiService WellknownAPI
}
-func (r WellknownApiDiscoverJsonWebKeysRequest) Execute() (*JsonWebKeySet, *http.Response, error) {
+func (r WellknownAPIDiscoverJsonWebKeysRequest) Execute() (*JsonWebKeySet, *http.Response, error) {
return r.ApiService.DiscoverJsonWebKeysExecute(r)
}
@@ -59,10 +59,10 @@ if enabled, OAuth 2.0 JWT Access Tokens. This endpoint can be used with client l
[node-jwks-rsa](https://github.com/auth0/node-jwks-rsa) among others.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return WellknownApiDiscoverJsonWebKeysRequest
+ @return WellknownAPIDiscoverJsonWebKeysRequest
*/
-func (a *WellknownApiService) DiscoverJsonWebKeys(ctx context.Context) WellknownApiDiscoverJsonWebKeysRequest {
- return WellknownApiDiscoverJsonWebKeysRequest{
+func (a *WellknownAPIService) DiscoverJsonWebKeys(ctx context.Context) WellknownAPIDiscoverJsonWebKeysRequest {
+ return WellknownAPIDiscoverJsonWebKeysRequest{
ApiService: a,
ctx: ctx,
}
@@ -70,7 +70,7 @@ func (a *WellknownApiService) DiscoverJsonWebKeys(ctx context.Context) Wellknown
// Execute executes the request
// @return JsonWebKeySet
-func (a *WellknownApiService) DiscoverJsonWebKeysExecute(r WellknownApiDiscoverJsonWebKeysRequest) (*JsonWebKeySet, *http.Response, error) {
+func (a *WellknownAPIService) DiscoverJsonWebKeysExecute(r WellknownAPIDiscoverJsonWebKeysRequest) (*JsonWebKeySet, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -78,7 +78,7 @@ func (a *WellknownApiService) DiscoverJsonWebKeysExecute(r WellknownApiDiscoverJ
localVarReturnValue *JsonWebKeySet
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WellknownApiService.DiscoverJsonWebKeys")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WellknownAPIService.DiscoverJsonWebKeys")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -116,9 +116,9 @@ func (a *WellknownApiService) DiscoverJsonWebKeysExecute(r WellknownApiDiscoverJ
return localVarReturnValue, localVarHTTPResponse, err
}
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
return localVarReturnValue, localVarHTTPResponse, err
}
@@ -134,7 +134,8 @@ func (a *WellknownApiService) DiscoverJsonWebKeysExecute(r WellknownApiDiscoverJ
newErr.error = err.Error()
return localVarReturnValue, localVarHTTPResponse, newErr
}
- newErr.model = v
+ newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
+ newErr.model = v
return localVarReturnValue, localVarHTTPResponse, newErr
}
diff --git a/clients/client/go/client.go b/clients/client/go/client.go
index 658d0029981..649533dd7f0 100644
--- a/clients/client/go/client.go
+++ b/clients/client/go/client.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -19,7 +19,6 @@ import (
"errors"
"fmt"
"io"
- "io/ioutil"
"log"
"mime/multipart"
"net/http"
@@ -38,11 +37,13 @@ import (
)
var (
- jsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:vnd\.[^;]+\+)?json)`)
- xmlCheck = regexp.MustCompile(`(?i:(?:application|text)/xml)`)
+ JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
+ XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
+ queryParamSplit = regexp.MustCompile(`(^|&)([^&]+)`)
+ queryDescape = strings.NewReplacer( "%5B", "[", "%5D", "]" )
)
-// APIClient manages communication with the Ory APIs API vv1.2.17
+// APIClient manages communication with the Ory APIs API vv1.3.0
// In most cases there should be only one, shared, APIClient.
type APIClient struct {
cfg *Configuration
@@ -50,27 +51,27 @@ type APIClient struct {
// API Services
- CourierApi CourierApi
+ CourierAPI CourierAPI
- FrontendApi FrontendApi
+ FrontendAPI FrontendAPI
- IdentityApi IdentityApi
+ IdentityAPI IdentityAPI
- JwkApi JwkApi
+ JwkAPI JwkAPI
- MetadataApi MetadataApi
+ MetadataAPI MetadataAPI
- OAuth2Api OAuth2Api
+ OAuth2API OAuth2API
- OidcApi OidcApi
+ OidcAPI OidcAPI
- PermissionApi PermissionApi
+ PermissionAPI PermissionAPI
- ProjectApi ProjectApi
+ ProjectAPI ProjectAPI
- RelationshipApi RelationshipApi
+ RelationshipAPI RelationshipAPI
- WellknownApi WellknownApi
+ WellknownAPI WellknownAPI
}
type service struct {
@@ -89,17 +90,17 @@ func NewAPIClient(cfg *Configuration) *APIClient {
c.common.client = c
// API Services
- c.CourierApi = (*CourierApiService)(&c.common)
- c.FrontendApi = (*FrontendApiService)(&c.common)
- c.IdentityApi = (*IdentityApiService)(&c.common)
- c.JwkApi = (*JwkApiService)(&c.common)
- c.MetadataApi = (*MetadataApiService)(&c.common)
- c.OAuth2Api = (*OAuth2ApiService)(&c.common)
- c.OidcApi = (*OidcApiService)(&c.common)
- c.PermissionApi = (*PermissionApiService)(&c.common)
- c.ProjectApi = (*ProjectApiService)(&c.common)
- c.RelationshipApi = (*RelationshipApiService)(&c.common)
- c.WellknownApi = (*WellknownApiService)(&c.common)
+ c.CourierAPI = (*CourierAPIService)(&c.common)
+ c.FrontendAPI = (*FrontendAPIService)(&c.common)
+ c.IdentityAPI = (*IdentityAPIService)(&c.common)
+ c.JwkAPI = (*JwkAPIService)(&c.common)
+ c.MetadataAPI = (*MetadataAPIService)(&c.common)
+ c.OAuth2API = (*OAuth2APIService)(&c.common)
+ c.OidcAPI = (*OidcAPIService)(&c.common)
+ c.PermissionAPI = (*PermissionAPIService)(&c.common)
+ c.ProjectAPI = (*ProjectAPIService)(&c.common)
+ c.RelationshipAPI = (*RelationshipAPIService)(&c.common)
+ c.WellknownAPI = (*WellknownAPIService)(&c.common)
return c
}
@@ -151,33 +152,111 @@ func typeCheckParameter(obj interface{}, expected string, name string) error {
// Check the type is as expected.
if reflect.TypeOf(obj).String() != expected {
- return fmt.Errorf("Expected %s to be of type %s but received %s.", name, expected, reflect.TypeOf(obj).String())
+ return fmt.Errorf("expected %s to be of type %s but received %s", name, expected, reflect.TypeOf(obj).String())
}
return nil
}
-// parameterToString convert interface{} parameters to string, using a delimiter if format is provided.
-func parameterToString(obj interface{}, collectionFormat string) string {
- var delimiter string
-
- switch collectionFormat {
- case "pipes":
- delimiter = "|"
- case "ssv":
- delimiter = " "
- case "tsv":
- delimiter = "\t"
- case "csv":
- delimiter = ","
+func parameterValueToString( obj interface{}, key string ) string {
+ if reflect.TypeOf(obj).Kind() != reflect.Ptr {
+ return fmt.Sprintf("%v", obj)
+ }
+ var param,ok = obj.(MappedNullable)
+ if !ok {
+ return ""
+ }
+ dataMap,err := param.ToMap()
+ if err != nil {
+ return ""
}
+ return fmt.Sprintf("%v", dataMap[key])
+}
+
+// parameterAddToHeaderOrQuery adds the provided object to the request header or url query
+// supporting deep object syntax
+func parameterAddToHeaderOrQuery(headerOrQueryParams interface{}, keyPrefix string, obj interface{}, collectionType string) {
+ var v = reflect.ValueOf(obj)
+ var value = ""
+ if v == reflect.ValueOf(nil) {
+ value = "null"
+ } else {
+ switch v.Kind() {
+ case reflect.Invalid:
+ value = "invalid"
+
+ case reflect.Struct:
+ if t,ok := obj.(MappedNullable); ok {
+ dataMap,err := t.ToMap()
+ if err != nil {
+ return
+ }
+ parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, dataMap, collectionType)
+ return
+ }
+ if t, ok := obj.(time.Time); ok {
+ parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, t.Format(time.RFC3339), collectionType)
+ return
+ }
+ value = v.Type().String() + " value"
+ case reflect.Slice:
+ var indValue = reflect.ValueOf(obj)
+ if indValue == reflect.ValueOf(nil) {
+ return
+ }
+ var lenIndValue = indValue.Len()
+ for i:=0;i Requested Authentication AuthorizationContext Class Reference values. Space-separated string that specifies the acr values that the Authorization Server is being requested to use for processing this Authentication Request, with the values appearing in order of preference. The Authentication AuthorizationContext Class satisfied by the authentication performed is returned as the acr Claim Value, as specified in Section 2. The acr Claim is requested as a Voluntary Claim by this parameter.
@@ -51,7 +54,7 @@ func NewOAuth2ConsentRequestOpenIDConnectContextWithDefaults() *OAuth2ConsentReq
// GetAcrValues returns the AcrValues field value if set, zero value otherwise.
func (o *OAuth2ConsentRequestOpenIDConnectContext) GetAcrValues() []string {
- if o == nil || o.AcrValues == nil {
+ if o == nil || IsNil(o.AcrValues) {
var ret []string
return ret
}
@@ -61,7 +64,7 @@ func (o *OAuth2ConsentRequestOpenIDConnectContext) GetAcrValues() []string {
// GetAcrValuesOk returns a tuple with the AcrValues field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OAuth2ConsentRequestOpenIDConnectContext) GetAcrValuesOk() ([]string, bool) {
- if o == nil || o.AcrValues == nil {
+ if o == nil || IsNil(o.AcrValues) {
return nil, false
}
return o.AcrValues, true
@@ -69,7 +72,7 @@ func (o *OAuth2ConsentRequestOpenIDConnectContext) GetAcrValuesOk() ([]string, b
// HasAcrValues returns a boolean if a field has been set.
func (o *OAuth2ConsentRequestOpenIDConnectContext) HasAcrValues() bool {
- if o != nil && o.AcrValues != nil {
+ if o != nil && !IsNil(o.AcrValues) {
return true
}
@@ -83,7 +86,7 @@ func (o *OAuth2ConsentRequestOpenIDConnectContext) SetAcrValues(v []string) {
// GetDisplay returns the Display field value if set, zero value otherwise.
func (o *OAuth2ConsentRequestOpenIDConnectContext) GetDisplay() string {
- if o == nil || o.Display == nil {
+ if o == nil || IsNil(o.Display) {
var ret string
return ret
}
@@ -93,7 +96,7 @@ func (o *OAuth2ConsentRequestOpenIDConnectContext) GetDisplay() string {
// GetDisplayOk returns a tuple with the Display field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OAuth2ConsentRequestOpenIDConnectContext) GetDisplayOk() (*string, bool) {
- if o == nil || o.Display == nil {
+ if o == nil || IsNil(o.Display) {
return nil, false
}
return o.Display, true
@@ -101,7 +104,7 @@ func (o *OAuth2ConsentRequestOpenIDConnectContext) GetDisplayOk() (*string, bool
// HasDisplay returns a boolean if a field has been set.
func (o *OAuth2ConsentRequestOpenIDConnectContext) HasDisplay() bool {
- if o != nil && o.Display != nil {
+ if o != nil && !IsNil(o.Display) {
return true
}
@@ -115,7 +118,7 @@ func (o *OAuth2ConsentRequestOpenIDConnectContext) SetDisplay(v string) {
// GetIdTokenHintClaims returns the IdTokenHintClaims field value if set, zero value otherwise.
func (o *OAuth2ConsentRequestOpenIDConnectContext) GetIdTokenHintClaims() map[string]interface{} {
- if o == nil || o.IdTokenHintClaims == nil {
+ if o == nil || IsNil(o.IdTokenHintClaims) {
var ret map[string]interface{}
return ret
}
@@ -125,15 +128,15 @@ func (o *OAuth2ConsentRequestOpenIDConnectContext) GetIdTokenHintClaims() map[st
// GetIdTokenHintClaimsOk returns a tuple with the IdTokenHintClaims field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OAuth2ConsentRequestOpenIDConnectContext) GetIdTokenHintClaimsOk() (map[string]interface{}, bool) {
- if o == nil || o.IdTokenHintClaims == nil {
- return nil, false
+ if o == nil || IsNil(o.IdTokenHintClaims) {
+ return map[string]interface{}{}, false
}
return o.IdTokenHintClaims, true
}
// HasIdTokenHintClaims returns a boolean if a field has been set.
func (o *OAuth2ConsentRequestOpenIDConnectContext) HasIdTokenHintClaims() bool {
- if o != nil && o.IdTokenHintClaims != nil {
+ if o != nil && !IsNil(o.IdTokenHintClaims) {
return true
}
@@ -147,7 +150,7 @@ func (o *OAuth2ConsentRequestOpenIDConnectContext) SetIdTokenHintClaims(v map[st
// GetLoginHint returns the LoginHint field value if set, zero value otherwise.
func (o *OAuth2ConsentRequestOpenIDConnectContext) GetLoginHint() string {
- if o == nil || o.LoginHint == nil {
+ if o == nil || IsNil(o.LoginHint) {
var ret string
return ret
}
@@ -157,7 +160,7 @@ func (o *OAuth2ConsentRequestOpenIDConnectContext) GetLoginHint() string {
// GetLoginHintOk returns a tuple with the LoginHint field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OAuth2ConsentRequestOpenIDConnectContext) GetLoginHintOk() (*string, bool) {
- if o == nil || o.LoginHint == nil {
+ if o == nil || IsNil(o.LoginHint) {
return nil, false
}
return o.LoginHint, true
@@ -165,7 +168,7 @@ func (o *OAuth2ConsentRequestOpenIDConnectContext) GetLoginHintOk() (*string, bo
// HasLoginHint returns a boolean if a field has been set.
func (o *OAuth2ConsentRequestOpenIDConnectContext) HasLoginHint() bool {
- if o != nil && o.LoginHint != nil {
+ if o != nil && !IsNil(o.LoginHint) {
return true
}
@@ -179,7 +182,7 @@ func (o *OAuth2ConsentRequestOpenIDConnectContext) SetLoginHint(v string) {
// GetUiLocales returns the UiLocales field value if set, zero value otherwise.
func (o *OAuth2ConsentRequestOpenIDConnectContext) GetUiLocales() []string {
- if o == nil || o.UiLocales == nil {
+ if o == nil || IsNil(o.UiLocales) {
var ret []string
return ret
}
@@ -189,7 +192,7 @@ func (o *OAuth2ConsentRequestOpenIDConnectContext) GetUiLocales() []string {
// GetUiLocalesOk returns a tuple with the UiLocales field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OAuth2ConsentRequestOpenIDConnectContext) GetUiLocalesOk() ([]string, bool) {
- if o == nil || o.UiLocales == nil {
+ if o == nil || IsNil(o.UiLocales) {
return nil, false
}
return o.UiLocales, true
@@ -197,7 +200,7 @@ func (o *OAuth2ConsentRequestOpenIDConnectContext) GetUiLocalesOk() ([]string, b
// HasUiLocales returns a boolean if a field has been set.
func (o *OAuth2ConsentRequestOpenIDConnectContext) HasUiLocales() bool {
- if o != nil && o.UiLocales != nil {
+ if o != nil && !IsNil(o.UiLocales) {
return true
}
@@ -210,20 +213,28 @@ func (o *OAuth2ConsentRequestOpenIDConnectContext) SetUiLocales(v []string) {
}
func (o OAuth2ConsentRequestOpenIDConnectContext) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o OAuth2ConsentRequestOpenIDConnectContext) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
- if o.AcrValues != nil {
+ if !IsNil(o.AcrValues) {
toSerialize["acr_values"] = o.AcrValues
}
- if o.Display != nil {
+ if !IsNil(o.Display) {
toSerialize["display"] = o.Display
}
- if o.IdTokenHintClaims != nil {
+ if !IsNil(o.IdTokenHintClaims) {
toSerialize["id_token_hint_claims"] = o.IdTokenHintClaims
}
- if o.LoginHint != nil {
+ if !IsNil(o.LoginHint) {
toSerialize["login_hint"] = o.LoginHint
}
- if o.UiLocales != nil {
+ if !IsNil(o.UiLocales) {
toSerialize["ui_locales"] = o.UiLocales
}
@@ -231,16 +242,20 @@ func (o OAuth2ConsentRequestOpenIDConnectContext) MarshalJSON() ([]byte, error)
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *OAuth2ConsentRequestOpenIDConnectContext) UnmarshalJSON(bytes []byte) (err error) {
varOAuth2ConsentRequestOpenIDConnectContext := _OAuth2ConsentRequestOpenIDConnectContext{}
- if err = json.Unmarshal(bytes, &varOAuth2ConsentRequestOpenIDConnectContext); err == nil {
- *o = OAuth2ConsentRequestOpenIDConnectContext(varOAuth2ConsentRequestOpenIDConnectContext)
+ err = json.Unmarshal(bytes, &varOAuth2ConsentRequestOpenIDConnectContext)
+
+ if err != nil {
+ return err
}
+ *o = OAuth2ConsentRequestOpenIDConnectContext(varOAuth2ConsentRequestOpenIDConnectContext)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_o_auth2_consent_session.go b/clients/client/go/model_o_auth2_consent_session.go
index 76d79ab5ccc..667e7b69148 100644
--- a/clients/client/go/model_o_auth2_consent_session.go
+++ b/clients/client/go/model_o_auth2_consent_session.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -16,6 +16,9 @@ import (
"time"
)
+// checks if the OAuth2ConsentSession type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &OAuth2ConsentSession{}
+
// OAuth2ConsentSession A completed OAuth 2.0 Consent Session.
type OAuth2ConsentSession struct {
ConsentRequest *OAuth2ConsentRequest `json:"consent_request,omitempty"`
@@ -52,7 +55,7 @@ func NewOAuth2ConsentSessionWithDefaults() *OAuth2ConsentSession {
// GetConsentRequest returns the ConsentRequest field value if set, zero value otherwise.
func (o *OAuth2ConsentSession) GetConsentRequest() OAuth2ConsentRequest {
- if o == nil || o.ConsentRequest == nil {
+ if o == nil || IsNil(o.ConsentRequest) {
var ret OAuth2ConsentRequest
return ret
}
@@ -62,7 +65,7 @@ func (o *OAuth2ConsentSession) GetConsentRequest() OAuth2ConsentRequest {
// GetConsentRequestOk returns a tuple with the ConsentRequest field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OAuth2ConsentSession) GetConsentRequestOk() (*OAuth2ConsentRequest, bool) {
- if o == nil || o.ConsentRequest == nil {
+ if o == nil || IsNil(o.ConsentRequest) {
return nil, false
}
return o.ConsentRequest, true
@@ -70,7 +73,7 @@ func (o *OAuth2ConsentSession) GetConsentRequestOk() (*OAuth2ConsentRequest, boo
// HasConsentRequest returns a boolean if a field has been set.
func (o *OAuth2ConsentSession) HasConsentRequest() bool {
- if o != nil && o.ConsentRequest != nil {
+ if o != nil && !IsNil(o.ConsentRequest) {
return true
}
@@ -84,7 +87,7 @@ func (o *OAuth2ConsentSession) SetConsentRequest(v OAuth2ConsentRequest) {
// GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.
func (o *OAuth2ConsentSession) GetExpiresAt() OAuth2ConsentSessionExpiresAt {
- if o == nil || o.ExpiresAt == nil {
+ if o == nil || IsNil(o.ExpiresAt) {
var ret OAuth2ConsentSessionExpiresAt
return ret
}
@@ -94,7 +97,7 @@ func (o *OAuth2ConsentSession) GetExpiresAt() OAuth2ConsentSessionExpiresAt {
// GetExpiresAtOk returns a tuple with the ExpiresAt field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OAuth2ConsentSession) GetExpiresAtOk() (*OAuth2ConsentSessionExpiresAt, bool) {
- if o == nil || o.ExpiresAt == nil {
+ if o == nil || IsNil(o.ExpiresAt) {
return nil, false
}
return o.ExpiresAt, true
@@ -102,7 +105,7 @@ func (o *OAuth2ConsentSession) GetExpiresAtOk() (*OAuth2ConsentSessionExpiresAt,
// HasExpiresAt returns a boolean if a field has been set.
func (o *OAuth2ConsentSession) HasExpiresAt() bool {
- if o != nil && o.ExpiresAt != nil {
+ if o != nil && !IsNil(o.ExpiresAt) {
return true
}
@@ -116,7 +119,7 @@ func (o *OAuth2ConsentSession) SetExpiresAt(v OAuth2ConsentSessionExpiresAt) {
// GetGrantAccessTokenAudience returns the GrantAccessTokenAudience field value if set, zero value otherwise.
func (o *OAuth2ConsentSession) GetGrantAccessTokenAudience() []string {
- if o == nil || o.GrantAccessTokenAudience == nil {
+ if o == nil || IsNil(o.GrantAccessTokenAudience) {
var ret []string
return ret
}
@@ -126,7 +129,7 @@ func (o *OAuth2ConsentSession) GetGrantAccessTokenAudience() []string {
// GetGrantAccessTokenAudienceOk returns a tuple with the GrantAccessTokenAudience field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OAuth2ConsentSession) GetGrantAccessTokenAudienceOk() ([]string, bool) {
- if o == nil || o.GrantAccessTokenAudience == nil {
+ if o == nil || IsNil(o.GrantAccessTokenAudience) {
return nil, false
}
return o.GrantAccessTokenAudience, true
@@ -134,7 +137,7 @@ func (o *OAuth2ConsentSession) GetGrantAccessTokenAudienceOk() ([]string, bool)
// HasGrantAccessTokenAudience returns a boolean if a field has been set.
func (o *OAuth2ConsentSession) HasGrantAccessTokenAudience() bool {
- if o != nil && o.GrantAccessTokenAudience != nil {
+ if o != nil && !IsNil(o.GrantAccessTokenAudience) {
return true
}
@@ -148,7 +151,7 @@ func (o *OAuth2ConsentSession) SetGrantAccessTokenAudience(v []string) {
// GetGrantScope returns the GrantScope field value if set, zero value otherwise.
func (o *OAuth2ConsentSession) GetGrantScope() []string {
- if o == nil || o.GrantScope == nil {
+ if o == nil || IsNil(o.GrantScope) {
var ret []string
return ret
}
@@ -158,7 +161,7 @@ func (o *OAuth2ConsentSession) GetGrantScope() []string {
// GetGrantScopeOk returns a tuple with the GrantScope field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OAuth2ConsentSession) GetGrantScopeOk() ([]string, bool) {
- if o == nil || o.GrantScope == nil {
+ if o == nil || IsNil(o.GrantScope) {
return nil, false
}
return o.GrantScope, true
@@ -166,7 +169,7 @@ func (o *OAuth2ConsentSession) GetGrantScopeOk() ([]string, bool) {
// HasGrantScope returns a boolean if a field has been set.
func (o *OAuth2ConsentSession) HasGrantScope() bool {
- if o != nil && o.GrantScope != nil {
+ if o != nil && !IsNil(o.GrantScope) {
return true
}
@@ -180,7 +183,7 @@ func (o *OAuth2ConsentSession) SetGrantScope(v []string) {
// GetHandledAt returns the HandledAt field value if set, zero value otherwise.
func (o *OAuth2ConsentSession) GetHandledAt() time.Time {
- if o == nil || o.HandledAt == nil {
+ if o == nil || IsNil(o.HandledAt) {
var ret time.Time
return ret
}
@@ -190,7 +193,7 @@ func (o *OAuth2ConsentSession) GetHandledAt() time.Time {
// GetHandledAtOk returns a tuple with the HandledAt field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OAuth2ConsentSession) GetHandledAtOk() (*time.Time, bool) {
- if o == nil || o.HandledAt == nil {
+ if o == nil || IsNil(o.HandledAt) {
return nil, false
}
return o.HandledAt, true
@@ -198,7 +201,7 @@ func (o *OAuth2ConsentSession) GetHandledAtOk() (*time.Time, bool) {
// HasHandledAt returns a boolean if a field has been set.
func (o *OAuth2ConsentSession) HasHandledAt() bool {
- if o != nil && o.HandledAt != nil {
+ if o != nil && !IsNil(o.HandledAt) {
return true
}
@@ -212,7 +215,7 @@ func (o *OAuth2ConsentSession) SetHandledAt(v time.Time) {
// GetRemember returns the Remember field value if set, zero value otherwise.
func (o *OAuth2ConsentSession) GetRemember() bool {
- if o == nil || o.Remember == nil {
+ if o == nil || IsNil(o.Remember) {
var ret bool
return ret
}
@@ -222,7 +225,7 @@ func (o *OAuth2ConsentSession) GetRemember() bool {
// GetRememberOk returns a tuple with the Remember field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OAuth2ConsentSession) GetRememberOk() (*bool, bool) {
- if o == nil || o.Remember == nil {
+ if o == nil || IsNil(o.Remember) {
return nil, false
}
return o.Remember, true
@@ -230,7 +233,7 @@ func (o *OAuth2ConsentSession) GetRememberOk() (*bool, bool) {
// HasRemember returns a boolean if a field has been set.
func (o *OAuth2ConsentSession) HasRemember() bool {
- if o != nil && o.Remember != nil {
+ if o != nil && !IsNil(o.Remember) {
return true
}
@@ -244,7 +247,7 @@ func (o *OAuth2ConsentSession) SetRemember(v bool) {
// GetRememberFor returns the RememberFor field value if set, zero value otherwise.
func (o *OAuth2ConsentSession) GetRememberFor() int64 {
- if o == nil || o.RememberFor == nil {
+ if o == nil || IsNil(o.RememberFor) {
var ret int64
return ret
}
@@ -254,7 +257,7 @@ func (o *OAuth2ConsentSession) GetRememberFor() int64 {
// GetRememberForOk returns a tuple with the RememberFor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OAuth2ConsentSession) GetRememberForOk() (*int64, bool) {
- if o == nil || o.RememberFor == nil {
+ if o == nil || IsNil(o.RememberFor) {
return nil, false
}
return o.RememberFor, true
@@ -262,7 +265,7 @@ func (o *OAuth2ConsentSession) GetRememberForOk() (*int64, bool) {
// HasRememberFor returns a boolean if a field has been set.
func (o *OAuth2ConsentSession) HasRememberFor() bool {
- if o != nil && o.RememberFor != nil {
+ if o != nil && !IsNil(o.RememberFor) {
return true
}
@@ -276,7 +279,7 @@ func (o *OAuth2ConsentSession) SetRememberFor(v int64) {
// GetSession returns the Session field value if set, zero value otherwise.
func (o *OAuth2ConsentSession) GetSession() AcceptOAuth2ConsentRequestSession {
- if o == nil || o.Session == nil {
+ if o == nil || IsNil(o.Session) {
var ret AcceptOAuth2ConsentRequestSession
return ret
}
@@ -286,7 +289,7 @@ func (o *OAuth2ConsentSession) GetSession() AcceptOAuth2ConsentRequestSession {
// GetSessionOk returns a tuple with the Session field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OAuth2ConsentSession) GetSessionOk() (*AcceptOAuth2ConsentRequestSession, bool) {
- if o == nil || o.Session == nil {
+ if o == nil || IsNil(o.Session) {
return nil, false
}
return o.Session, true
@@ -294,7 +297,7 @@ func (o *OAuth2ConsentSession) GetSessionOk() (*AcceptOAuth2ConsentRequestSessio
// HasSession returns a boolean if a field has been set.
func (o *OAuth2ConsentSession) HasSession() bool {
- if o != nil && o.Session != nil {
+ if o != nil && !IsNil(o.Session) {
return true
}
@@ -307,29 +310,37 @@ func (o *OAuth2ConsentSession) SetSession(v AcceptOAuth2ConsentRequestSession) {
}
func (o OAuth2ConsentSession) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o OAuth2ConsentSession) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
- if o.ConsentRequest != nil {
+ if !IsNil(o.ConsentRequest) {
toSerialize["consent_request"] = o.ConsentRequest
}
- if o.ExpiresAt != nil {
+ if !IsNil(o.ExpiresAt) {
toSerialize["expires_at"] = o.ExpiresAt
}
- if o.GrantAccessTokenAudience != nil {
+ if !IsNil(o.GrantAccessTokenAudience) {
toSerialize["grant_access_token_audience"] = o.GrantAccessTokenAudience
}
- if o.GrantScope != nil {
+ if !IsNil(o.GrantScope) {
toSerialize["grant_scope"] = o.GrantScope
}
- if o.HandledAt != nil {
+ if !IsNil(o.HandledAt) {
toSerialize["handled_at"] = o.HandledAt
}
- if o.Remember != nil {
+ if !IsNil(o.Remember) {
toSerialize["remember"] = o.Remember
}
- if o.RememberFor != nil {
+ if !IsNil(o.RememberFor) {
toSerialize["remember_for"] = o.RememberFor
}
- if o.Session != nil {
+ if !IsNil(o.Session) {
toSerialize["session"] = o.Session
}
@@ -337,16 +348,20 @@ func (o OAuth2ConsentSession) MarshalJSON() ([]byte, error) {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *OAuth2ConsentSession) UnmarshalJSON(bytes []byte) (err error) {
varOAuth2ConsentSession := _OAuth2ConsentSession{}
- if err = json.Unmarshal(bytes, &varOAuth2ConsentSession); err == nil {
- *o = OAuth2ConsentSession(varOAuth2ConsentSession)
+ err = json.Unmarshal(bytes, &varOAuth2ConsentSession)
+
+ if err != nil {
+ return err
}
+ *o = OAuth2ConsentSession(varOAuth2ConsentSession)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_o_auth2_consent_session_expires_at.go b/clients/client/go/model_o_auth2_consent_session_expires_at.go
index b75f8f38f56..9f634ad5edd 100644
--- a/clients/client/go/model_o_auth2_consent_session_expires_at.go
+++ b/clients/client/go/model_o_auth2_consent_session_expires_at.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -16,6 +16,9 @@ import (
"time"
)
+// checks if the OAuth2ConsentSessionExpiresAt type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &OAuth2ConsentSessionExpiresAt{}
+
// OAuth2ConsentSessionExpiresAt struct for OAuth2ConsentSessionExpiresAt
type OAuth2ConsentSessionExpiresAt struct {
AccessToken *time.Time `json:"access_token,omitempty"`
@@ -47,7 +50,7 @@ func NewOAuth2ConsentSessionExpiresAtWithDefaults() *OAuth2ConsentSessionExpires
// GetAccessToken returns the AccessToken field value if set, zero value otherwise.
func (o *OAuth2ConsentSessionExpiresAt) GetAccessToken() time.Time {
- if o == nil || o.AccessToken == nil {
+ if o == nil || IsNil(o.AccessToken) {
var ret time.Time
return ret
}
@@ -57,7 +60,7 @@ func (o *OAuth2ConsentSessionExpiresAt) GetAccessToken() time.Time {
// GetAccessTokenOk returns a tuple with the AccessToken field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OAuth2ConsentSessionExpiresAt) GetAccessTokenOk() (*time.Time, bool) {
- if o == nil || o.AccessToken == nil {
+ if o == nil || IsNil(o.AccessToken) {
return nil, false
}
return o.AccessToken, true
@@ -65,7 +68,7 @@ func (o *OAuth2ConsentSessionExpiresAt) GetAccessTokenOk() (*time.Time, bool) {
// HasAccessToken returns a boolean if a field has been set.
func (o *OAuth2ConsentSessionExpiresAt) HasAccessToken() bool {
- if o != nil && o.AccessToken != nil {
+ if o != nil && !IsNil(o.AccessToken) {
return true
}
@@ -79,7 +82,7 @@ func (o *OAuth2ConsentSessionExpiresAt) SetAccessToken(v time.Time) {
// GetAuthorizeCode returns the AuthorizeCode field value if set, zero value otherwise.
func (o *OAuth2ConsentSessionExpiresAt) GetAuthorizeCode() time.Time {
- if o == nil || o.AuthorizeCode == nil {
+ if o == nil || IsNil(o.AuthorizeCode) {
var ret time.Time
return ret
}
@@ -89,7 +92,7 @@ func (o *OAuth2ConsentSessionExpiresAt) GetAuthorizeCode() time.Time {
// GetAuthorizeCodeOk returns a tuple with the AuthorizeCode field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OAuth2ConsentSessionExpiresAt) GetAuthorizeCodeOk() (*time.Time, bool) {
- if o == nil || o.AuthorizeCode == nil {
+ if o == nil || IsNil(o.AuthorizeCode) {
return nil, false
}
return o.AuthorizeCode, true
@@ -97,7 +100,7 @@ func (o *OAuth2ConsentSessionExpiresAt) GetAuthorizeCodeOk() (*time.Time, bool)
// HasAuthorizeCode returns a boolean if a field has been set.
func (o *OAuth2ConsentSessionExpiresAt) HasAuthorizeCode() bool {
- if o != nil && o.AuthorizeCode != nil {
+ if o != nil && !IsNil(o.AuthorizeCode) {
return true
}
@@ -111,7 +114,7 @@ func (o *OAuth2ConsentSessionExpiresAt) SetAuthorizeCode(v time.Time) {
// GetIdToken returns the IdToken field value if set, zero value otherwise.
func (o *OAuth2ConsentSessionExpiresAt) GetIdToken() time.Time {
- if o == nil || o.IdToken == nil {
+ if o == nil || IsNil(o.IdToken) {
var ret time.Time
return ret
}
@@ -121,7 +124,7 @@ func (o *OAuth2ConsentSessionExpiresAt) GetIdToken() time.Time {
// GetIdTokenOk returns a tuple with the IdToken field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OAuth2ConsentSessionExpiresAt) GetIdTokenOk() (*time.Time, bool) {
- if o == nil || o.IdToken == nil {
+ if o == nil || IsNil(o.IdToken) {
return nil, false
}
return o.IdToken, true
@@ -129,7 +132,7 @@ func (o *OAuth2ConsentSessionExpiresAt) GetIdTokenOk() (*time.Time, bool) {
// HasIdToken returns a boolean if a field has been set.
func (o *OAuth2ConsentSessionExpiresAt) HasIdToken() bool {
- if o != nil && o.IdToken != nil {
+ if o != nil && !IsNil(o.IdToken) {
return true
}
@@ -143,7 +146,7 @@ func (o *OAuth2ConsentSessionExpiresAt) SetIdToken(v time.Time) {
// GetParContext returns the ParContext field value if set, zero value otherwise.
func (o *OAuth2ConsentSessionExpiresAt) GetParContext() time.Time {
- if o == nil || o.ParContext == nil {
+ if o == nil || IsNil(o.ParContext) {
var ret time.Time
return ret
}
@@ -153,7 +156,7 @@ func (o *OAuth2ConsentSessionExpiresAt) GetParContext() time.Time {
// GetParContextOk returns a tuple with the ParContext field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OAuth2ConsentSessionExpiresAt) GetParContextOk() (*time.Time, bool) {
- if o == nil || o.ParContext == nil {
+ if o == nil || IsNil(o.ParContext) {
return nil, false
}
return o.ParContext, true
@@ -161,7 +164,7 @@ func (o *OAuth2ConsentSessionExpiresAt) GetParContextOk() (*time.Time, bool) {
// HasParContext returns a boolean if a field has been set.
func (o *OAuth2ConsentSessionExpiresAt) HasParContext() bool {
- if o != nil && o.ParContext != nil {
+ if o != nil && !IsNil(o.ParContext) {
return true
}
@@ -175,7 +178,7 @@ func (o *OAuth2ConsentSessionExpiresAt) SetParContext(v time.Time) {
// GetRefreshToken returns the RefreshToken field value if set, zero value otherwise.
func (o *OAuth2ConsentSessionExpiresAt) GetRefreshToken() time.Time {
- if o == nil || o.RefreshToken == nil {
+ if o == nil || IsNil(o.RefreshToken) {
var ret time.Time
return ret
}
@@ -185,7 +188,7 @@ func (o *OAuth2ConsentSessionExpiresAt) GetRefreshToken() time.Time {
// GetRefreshTokenOk returns a tuple with the RefreshToken field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OAuth2ConsentSessionExpiresAt) GetRefreshTokenOk() (*time.Time, bool) {
- if o == nil || o.RefreshToken == nil {
+ if o == nil || IsNil(o.RefreshToken) {
return nil, false
}
return o.RefreshToken, true
@@ -193,7 +196,7 @@ func (o *OAuth2ConsentSessionExpiresAt) GetRefreshTokenOk() (*time.Time, bool) {
// HasRefreshToken returns a boolean if a field has been set.
func (o *OAuth2ConsentSessionExpiresAt) HasRefreshToken() bool {
- if o != nil && o.RefreshToken != nil {
+ if o != nil && !IsNil(o.RefreshToken) {
return true
}
@@ -206,20 +209,28 @@ func (o *OAuth2ConsentSessionExpiresAt) SetRefreshToken(v time.Time) {
}
func (o OAuth2ConsentSessionExpiresAt) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o OAuth2ConsentSessionExpiresAt) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
- if o.AccessToken != nil {
+ if !IsNil(o.AccessToken) {
toSerialize["access_token"] = o.AccessToken
}
- if o.AuthorizeCode != nil {
+ if !IsNil(o.AuthorizeCode) {
toSerialize["authorize_code"] = o.AuthorizeCode
}
- if o.IdToken != nil {
+ if !IsNil(o.IdToken) {
toSerialize["id_token"] = o.IdToken
}
- if o.ParContext != nil {
+ if !IsNil(o.ParContext) {
toSerialize["par_context"] = o.ParContext
}
- if o.RefreshToken != nil {
+ if !IsNil(o.RefreshToken) {
toSerialize["refresh_token"] = o.RefreshToken
}
@@ -227,16 +238,20 @@ func (o OAuth2ConsentSessionExpiresAt) MarshalJSON() ([]byte, error) {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *OAuth2ConsentSessionExpiresAt) UnmarshalJSON(bytes []byte) (err error) {
varOAuth2ConsentSessionExpiresAt := _OAuth2ConsentSessionExpiresAt{}
- if err = json.Unmarshal(bytes, &varOAuth2ConsentSessionExpiresAt); err == nil {
- *o = OAuth2ConsentSessionExpiresAt(varOAuth2ConsentSessionExpiresAt)
+ err = json.Unmarshal(bytes, &varOAuth2ConsentSessionExpiresAt)
+
+ if err != nil {
+ return err
}
+ *o = OAuth2ConsentSessionExpiresAt(varOAuth2ConsentSessionExpiresAt)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_o_auth2_login_request.go b/clients/client/go/model_o_auth2_login_request.go
index 07df81c726a..053e06a9e51 100644
--- a/clients/client/go/model_o_auth2_login_request.go
+++ b/clients/client/go/model_o_auth2_login_request.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -13,8 +13,12 @@ package client
import (
"encoding/json"
+ "fmt"
)
+// checks if the OAuth2LoginRequest type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &OAuth2LoginRequest{}
+
// OAuth2LoginRequest struct for OAuth2LoginRequest
type OAuth2LoginRequest struct {
// ID is the identifier (\"login challenge\") of the login request. It is used to identify the session.
@@ -110,7 +114,7 @@ func (o *OAuth2LoginRequest) SetClient(v OAuth2Client) {
// GetOidcContext returns the OidcContext field value if set, zero value otherwise.
func (o *OAuth2LoginRequest) GetOidcContext() OAuth2ConsentRequestOpenIDConnectContext {
- if o == nil || o.OidcContext == nil {
+ if o == nil || IsNil(o.OidcContext) {
var ret OAuth2ConsentRequestOpenIDConnectContext
return ret
}
@@ -120,7 +124,7 @@ func (o *OAuth2LoginRequest) GetOidcContext() OAuth2ConsentRequestOpenIDConnectC
// GetOidcContextOk returns a tuple with the OidcContext field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OAuth2LoginRequest) GetOidcContextOk() (*OAuth2ConsentRequestOpenIDConnectContext, bool) {
- if o == nil || o.OidcContext == nil {
+ if o == nil || IsNil(o.OidcContext) {
return nil, false
}
return o.OidcContext, true
@@ -128,7 +132,7 @@ func (o *OAuth2LoginRequest) GetOidcContextOk() (*OAuth2ConsentRequestOpenIDConn
// HasOidcContext returns a boolean if a field has been set.
func (o *OAuth2LoginRequest) HasOidcContext() bool {
- if o != nil && o.OidcContext != nil {
+ if o != nil && !IsNil(o.OidcContext) {
return true
}
@@ -214,7 +218,7 @@ func (o *OAuth2LoginRequest) SetRequestedScope(v []string) {
// GetSessionId returns the SessionId field value if set, zero value otherwise.
func (o *OAuth2LoginRequest) GetSessionId() string {
- if o == nil || o.SessionId == nil {
+ if o == nil || IsNil(o.SessionId) {
var ret string
return ret
}
@@ -224,7 +228,7 @@ func (o *OAuth2LoginRequest) GetSessionId() string {
// GetSessionIdOk returns a tuple with the SessionId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OAuth2LoginRequest) GetSessionIdOk() (*string, bool) {
- if o == nil || o.SessionId == nil {
+ if o == nil || IsNil(o.SessionId) {
return nil, false
}
return o.SessionId, true
@@ -232,7 +236,7 @@ func (o *OAuth2LoginRequest) GetSessionIdOk() (*string, bool) {
// HasSessionId returns a boolean if a field has been set.
func (o *OAuth2LoginRequest) HasSessionId() bool {
- if o != nil && o.SessionId != nil {
+ if o != nil && !IsNil(o.SessionId) {
return true
}
@@ -293,49 +297,74 @@ func (o *OAuth2LoginRequest) SetSubject(v string) {
}
func (o OAuth2LoginRequest) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if true {
- toSerialize["challenge"] = o.Challenge
- }
- if true {
- toSerialize["client"] = o.Client
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
}
- if o.OidcContext != nil {
+ return json.Marshal(toSerialize)
+}
+
+func (o OAuth2LoginRequest) ToMap() (map[string]interface{}, error) {
+ toSerialize := map[string]interface{}{}
+ toSerialize["challenge"] = o.Challenge
+ toSerialize["client"] = o.Client
+ if !IsNil(o.OidcContext) {
toSerialize["oidc_context"] = o.OidcContext
}
- if true {
- toSerialize["request_url"] = o.RequestUrl
- }
- if true {
- toSerialize["requested_access_token_audience"] = o.RequestedAccessTokenAudience
- }
- if true {
- toSerialize["requested_scope"] = o.RequestedScope
- }
- if o.SessionId != nil {
+ toSerialize["request_url"] = o.RequestUrl
+ toSerialize["requested_access_token_audience"] = o.RequestedAccessTokenAudience
+ toSerialize["requested_scope"] = o.RequestedScope
+ if !IsNil(o.SessionId) {
toSerialize["session_id"] = o.SessionId
}
- if true {
- toSerialize["skip"] = o.Skip
- }
- if true {
- toSerialize["subject"] = o.Subject
- }
+ toSerialize["skip"] = o.Skip
+ toSerialize["subject"] = o.Subject
for key, value := range o.AdditionalProperties {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *OAuth2LoginRequest) UnmarshalJSON(bytes []byte) (err error) {
+ // This validates that all required properties are included in the JSON object
+ // by unmarshalling the object into a generic map with string keys and checking
+ // that every required field exists as a key in the generic map.
+ requiredProperties := []string{
+ "challenge",
+ "client",
+ "request_url",
+ "requested_access_token_audience",
+ "requested_scope",
+ "skip",
+ "subject",
+ }
+
+ allProperties := make(map[string]interface{})
+
+ err = json.Unmarshal(bytes, &allProperties)
+
+ if err != nil {
+ return err;
+ }
+
+ for _, requiredProperty := range(requiredProperties) {
+ if _, exists := allProperties[requiredProperty]; !exists {
+ return fmt.Errorf("no value given for required property %v", requiredProperty)
+ }
+ }
+
varOAuth2LoginRequest := _OAuth2LoginRequest{}
- if err = json.Unmarshal(bytes, &varOAuth2LoginRequest); err == nil {
- *o = OAuth2LoginRequest(varOAuth2LoginRequest)
+ err = json.Unmarshal(bytes, &varOAuth2LoginRequest)
+
+ if err != nil {
+ return err
}
+ *o = OAuth2LoginRequest(varOAuth2LoginRequest)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_o_auth2_logout_request.go b/clients/client/go/model_o_auth2_logout_request.go
index d4a60afb185..a64c878768c 100644
--- a/clients/client/go/model_o_auth2_logout_request.go
+++ b/clients/client/go/model_o_auth2_logout_request.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -15,6 +15,9 @@ import (
"encoding/json"
)
+// checks if the OAuth2LogoutRequest type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &OAuth2LogoutRequest{}
+
// OAuth2LogoutRequest struct for OAuth2LogoutRequest
type OAuth2LogoutRequest struct {
// Challenge is the identifier (\"logout challenge\") of the logout authentication request. It is used to identify the session.
@@ -52,7 +55,7 @@ func NewOAuth2LogoutRequestWithDefaults() *OAuth2LogoutRequest {
// GetChallenge returns the Challenge field value if set, zero value otherwise.
func (o *OAuth2LogoutRequest) GetChallenge() string {
- if o == nil || o.Challenge == nil {
+ if o == nil || IsNil(o.Challenge) {
var ret string
return ret
}
@@ -62,7 +65,7 @@ func (o *OAuth2LogoutRequest) GetChallenge() string {
// GetChallengeOk returns a tuple with the Challenge field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OAuth2LogoutRequest) GetChallengeOk() (*string, bool) {
- if o == nil || o.Challenge == nil {
+ if o == nil || IsNil(o.Challenge) {
return nil, false
}
return o.Challenge, true
@@ -70,7 +73,7 @@ func (o *OAuth2LogoutRequest) GetChallengeOk() (*string, bool) {
// HasChallenge returns a boolean if a field has been set.
func (o *OAuth2LogoutRequest) HasChallenge() bool {
- if o != nil && o.Challenge != nil {
+ if o != nil && !IsNil(o.Challenge) {
return true
}
@@ -84,7 +87,7 @@ func (o *OAuth2LogoutRequest) SetChallenge(v string) {
// GetClient returns the Client field value if set, zero value otherwise.
func (o *OAuth2LogoutRequest) GetClient() OAuth2Client {
- if o == nil || o.Client == nil {
+ if o == nil || IsNil(o.Client) {
var ret OAuth2Client
return ret
}
@@ -94,7 +97,7 @@ func (o *OAuth2LogoutRequest) GetClient() OAuth2Client {
// GetClientOk returns a tuple with the Client field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OAuth2LogoutRequest) GetClientOk() (*OAuth2Client, bool) {
- if o == nil || o.Client == nil {
+ if o == nil || IsNil(o.Client) {
return nil, false
}
return o.Client, true
@@ -102,7 +105,7 @@ func (o *OAuth2LogoutRequest) GetClientOk() (*OAuth2Client, bool) {
// HasClient returns a boolean if a field has been set.
func (o *OAuth2LogoutRequest) HasClient() bool {
- if o != nil && o.Client != nil {
+ if o != nil && !IsNil(o.Client) {
return true
}
@@ -116,7 +119,7 @@ func (o *OAuth2LogoutRequest) SetClient(v OAuth2Client) {
// GetRequestUrl returns the RequestUrl field value if set, zero value otherwise.
func (o *OAuth2LogoutRequest) GetRequestUrl() string {
- if o == nil || o.RequestUrl == nil {
+ if o == nil || IsNil(o.RequestUrl) {
var ret string
return ret
}
@@ -126,7 +129,7 @@ func (o *OAuth2LogoutRequest) GetRequestUrl() string {
// GetRequestUrlOk returns a tuple with the RequestUrl field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OAuth2LogoutRequest) GetRequestUrlOk() (*string, bool) {
- if o == nil || o.RequestUrl == nil {
+ if o == nil || IsNil(o.RequestUrl) {
return nil, false
}
return o.RequestUrl, true
@@ -134,7 +137,7 @@ func (o *OAuth2LogoutRequest) GetRequestUrlOk() (*string, bool) {
// HasRequestUrl returns a boolean if a field has been set.
func (o *OAuth2LogoutRequest) HasRequestUrl() bool {
- if o != nil && o.RequestUrl != nil {
+ if o != nil && !IsNil(o.RequestUrl) {
return true
}
@@ -148,7 +151,7 @@ func (o *OAuth2LogoutRequest) SetRequestUrl(v string) {
// GetRpInitiated returns the RpInitiated field value if set, zero value otherwise.
func (o *OAuth2LogoutRequest) GetRpInitiated() bool {
- if o == nil || o.RpInitiated == nil {
+ if o == nil || IsNil(o.RpInitiated) {
var ret bool
return ret
}
@@ -158,7 +161,7 @@ func (o *OAuth2LogoutRequest) GetRpInitiated() bool {
// GetRpInitiatedOk returns a tuple with the RpInitiated field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OAuth2LogoutRequest) GetRpInitiatedOk() (*bool, bool) {
- if o == nil || o.RpInitiated == nil {
+ if o == nil || IsNil(o.RpInitiated) {
return nil, false
}
return o.RpInitiated, true
@@ -166,7 +169,7 @@ func (o *OAuth2LogoutRequest) GetRpInitiatedOk() (*bool, bool) {
// HasRpInitiated returns a boolean if a field has been set.
func (o *OAuth2LogoutRequest) HasRpInitiated() bool {
- if o != nil && o.RpInitiated != nil {
+ if o != nil && !IsNil(o.RpInitiated) {
return true
}
@@ -180,7 +183,7 @@ func (o *OAuth2LogoutRequest) SetRpInitiated(v bool) {
// GetSid returns the Sid field value if set, zero value otherwise.
func (o *OAuth2LogoutRequest) GetSid() string {
- if o == nil || o.Sid == nil {
+ if o == nil || IsNil(o.Sid) {
var ret string
return ret
}
@@ -190,7 +193,7 @@ func (o *OAuth2LogoutRequest) GetSid() string {
// GetSidOk returns a tuple with the Sid field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OAuth2LogoutRequest) GetSidOk() (*string, bool) {
- if o == nil || o.Sid == nil {
+ if o == nil || IsNil(o.Sid) {
return nil, false
}
return o.Sid, true
@@ -198,7 +201,7 @@ func (o *OAuth2LogoutRequest) GetSidOk() (*string, bool) {
// HasSid returns a boolean if a field has been set.
func (o *OAuth2LogoutRequest) HasSid() bool {
- if o != nil && o.Sid != nil {
+ if o != nil && !IsNil(o.Sid) {
return true
}
@@ -212,7 +215,7 @@ func (o *OAuth2LogoutRequest) SetSid(v string) {
// GetSubject returns the Subject field value if set, zero value otherwise.
func (o *OAuth2LogoutRequest) GetSubject() string {
- if o == nil || o.Subject == nil {
+ if o == nil || IsNil(o.Subject) {
var ret string
return ret
}
@@ -222,7 +225,7 @@ func (o *OAuth2LogoutRequest) GetSubject() string {
// GetSubjectOk returns a tuple with the Subject field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OAuth2LogoutRequest) GetSubjectOk() (*string, bool) {
- if o == nil || o.Subject == nil {
+ if o == nil || IsNil(o.Subject) {
return nil, false
}
return o.Subject, true
@@ -230,7 +233,7 @@ func (o *OAuth2LogoutRequest) GetSubjectOk() (*string, bool) {
// HasSubject returns a boolean if a field has been set.
func (o *OAuth2LogoutRequest) HasSubject() bool {
- if o != nil && o.Subject != nil {
+ if o != nil && !IsNil(o.Subject) {
return true
}
@@ -243,23 +246,31 @@ func (o *OAuth2LogoutRequest) SetSubject(v string) {
}
func (o OAuth2LogoutRequest) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o OAuth2LogoutRequest) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
- if o.Challenge != nil {
+ if !IsNil(o.Challenge) {
toSerialize["challenge"] = o.Challenge
}
- if o.Client != nil {
+ if !IsNil(o.Client) {
toSerialize["client"] = o.Client
}
- if o.RequestUrl != nil {
+ if !IsNil(o.RequestUrl) {
toSerialize["request_url"] = o.RequestUrl
}
- if o.RpInitiated != nil {
+ if !IsNil(o.RpInitiated) {
toSerialize["rp_initiated"] = o.RpInitiated
}
- if o.Sid != nil {
+ if !IsNil(o.Sid) {
toSerialize["sid"] = o.Sid
}
- if o.Subject != nil {
+ if !IsNil(o.Subject) {
toSerialize["subject"] = o.Subject
}
@@ -267,16 +278,20 @@ func (o OAuth2LogoutRequest) MarshalJSON() ([]byte, error) {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *OAuth2LogoutRequest) UnmarshalJSON(bytes []byte) (err error) {
varOAuth2LogoutRequest := _OAuth2LogoutRequest{}
- if err = json.Unmarshal(bytes, &varOAuth2LogoutRequest); err == nil {
- *o = OAuth2LogoutRequest(varOAuth2LogoutRequest)
+ err = json.Unmarshal(bytes, &varOAuth2LogoutRequest)
+
+ if err != nil {
+ return err
}
+ *o = OAuth2LogoutRequest(varOAuth2LogoutRequest)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_o_auth2_redirect_to.go b/clients/client/go/model_o_auth2_redirect_to.go
index 93ded1feeff..ae9c8e307d9 100644
--- a/clients/client/go/model_o_auth2_redirect_to.go
+++ b/clients/client/go/model_o_auth2_redirect_to.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -13,8 +13,12 @@ package client
import (
"encoding/json"
+ "fmt"
)
+// checks if the OAuth2RedirectTo type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &OAuth2RedirectTo{}
+
// OAuth2RedirectTo Contains a redirect URL used to complete a login, consent, or logout request.
type OAuth2RedirectTo struct {
// RedirectURL is the URL which you should redirect the user's browser to once the authentication process is completed.
@@ -67,25 +71,56 @@ func (o *OAuth2RedirectTo) SetRedirectTo(v string) {
}
func (o OAuth2RedirectTo) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if true {
- toSerialize["redirect_to"] = o.RedirectTo
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
}
+ return json.Marshal(toSerialize)
+}
+
+func (o OAuth2RedirectTo) ToMap() (map[string]interface{}, error) {
+ toSerialize := map[string]interface{}{}
+ toSerialize["redirect_to"] = o.RedirectTo
for key, value := range o.AdditionalProperties {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *OAuth2RedirectTo) UnmarshalJSON(bytes []byte) (err error) {
+ // This validates that all required properties are included in the JSON object
+ // by unmarshalling the object into a generic map with string keys and checking
+ // that every required field exists as a key in the generic map.
+ requiredProperties := []string{
+ "redirect_to",
+ }
+
+ allProperties := make(map[string]interface{})
+
+ err = json.Unmarshal(bytes, &allProperties)
+
+ if err != nil {
+ return err;
+ }
+
+ for _, requiredProperty := range(requiredProperties) {
+ if _, exists := allProperties[requiredProperty]; !exists {
+ return fmt.Errorf("no value given for required property %v", requiredProperty)
+ }
+ }
+
varOAuth2RedirectTo := _OAuth2RedirectTo{}
- if err = json.Unmarshal(bytes, &varOAuth2RedirectTo); err == nil {
- *o = OAuth2RedirectTo(varOAuth2RedirectTo)
+ err = json.Unmarshal(bytes, &varOAuth2RedirectTo)
+
+ if err != nil {
+ return err
}
+ *o = OAuth2RedirectTo(varOAuth2RedirectTo)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_o_auth2_token_exchange.go b/clients/client/go/model_o_auth2_token_exchange.go
index 21d99c183be..1d039b86ded 100644
--- a/clients/client/go/model_o_auth2_token_exchange.go
+++ b/clients/client/go/model_o_auth2_token_exchange.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -15,6 +15,9 @@ import (
"encoding/json"
)
+// checks if the OAuth2TokenExchange type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &OAuth2TokenExchange{}
+
// OAuth2TokenExchange OAuth2 Token Exchange Result
type OAuth2TokenExchange struct {
// The access token issued by the authorization server.
@@ -53,7 +56,7 @@ func NewOAuth2TokenExchangeWithDefaults() *OAuth2TokenExchange {
// GetAccessToken returns the AccessToken field value if set, zero value otherwise.
func (o *OAuth2TokenExchange) GetAccessToken() string {
- if o == nil || o.AccessToken == nil {
+ if o == nil || IsNil(o.AccessToken) {
var ret string
return ret
}
@@ -63,7 +66,7 @@ func (o *OAuth2TokenExchange) GetAccessToken() string {
// GetAccessTokenOk returns a tuple with the AccessToken field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OAuth2TokenExchange) GetAccessTokenOk() (*string, bool) {
- if o == nil || o.AccessToken == nil {
+ if o == nil || IsNil(o.AccessToken) {
return nil, false
}
return o.AccessToken, true
@@ -71,7 +74,7 @@ func (o *OAuth2TokenExchange) GetAccessTokenOk() (*string, bool) {
// HasAccessToken returns a boolean if a field has been set.
func (o *OAuth2TokenExchange) HasAccessToken() bool {
- if o != nil && o.AccessToken != nil {
+ if o != nil && !IsNil(o.AccessToken) {
return true
}
@@ -85,7 +88,7 @@ func (o *OAuth2TokenExchange) SetAccessToken(v string) {
// GetExpiresIn returns the ExpiresIn field value if set, zero value otherwise.
func (o *OAuth2TokenExchange) GetExpiresIn() int64 {
- if o == nil || o.ExpiresIn == nil {
+ if o == nil || IsNil(o.ExpiresIn) {
var ret int64
return ret
}
@@ -95,7 +98,7 @@ func (o *OAuth2TokenExchange) GetExpiresIn() int64 {
// GetExpiresInOk returns a tuple with the ExpiresIn field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OAuth2TokenExchange) GetExpiresInOk() (*int64, bool) {
- if o == nil || o.ExpiresIn == nil {
+ if o == nil || IsNil(o.ExpiresIn) {
return nil, false
}
return o.ExpiresIn, true
@@ -103,7 +106,7 @@ func (o *OAuth2TokenExchange) GetExpiresInOk() (*int64, bool) {
// HasExpiresIn returns a boolean if a field has been set.
func (o *OAuth2TokenExchange) HasExpiresIn() bool {
- if o != nil && o.ExpiresIn != nil {
+ if o != nil && !IsNil(o.ExpiresIn) {
return true
}
@@ -117,7 +120,7 @@ func (o *OAuth2TokenExchange) SetExpiresIn(v int64) {
// GetIdToken returns the IdToken field value if set, zero value otherwise.
func (o *OAuth2TokenExchange) GetIdToken() string {
- if o == nil || o.IdToken == nil {
+ if o == nil || IsNil(o.IdToken) {
var ret string
return ret
}
@@ -127,7 +130,7 @@ func (o *OAuth2TokenExchange) GetIdToken() string {
// GetIdTokenOk returns a tuple with the IdToken field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OAuth2TokenExchange) GetIdTokenOk() (*string, bool) {
- if o == nil || o.IdToken == nil {
+ if o == nil || IsNil(o.IdToken) {
return nil, false
}
return o.IdToken, true
@@ -135,7 +138,7 @@ func (o *OAuth2TokenExchange) GetIdTokenOk() (*string, bool) {
// HasIdToken returns a boolean if a field has been set.
func (o *OAuth2TokenExchange) HasIdToken() bool {
- if o != nil && o.IdToken != nil {
+ if o != nil && !IsNil(o.IdToken) {
return true
}
@@ -149,7 +152,7 @@ func (o *OAuth2TokenExchange) SetIdToken(v string) {
// GetRefreshToken returns the RefreshToken field value if set, zero value otherwise.
func (o *OAuth2TokenExchange) GetRefreshToken() string {
- if o == nil || o.RefreshToken == nil {
+ if o == nil || IsNil(o.RefreshToken) {
var ret string
return ret
}
@@ -159,7 +162,7 @@ func (o *OAuth2TokenExchange) GetRefreshToken() string {
// GetRefreshTokenOk returns a tuple with the RefreshToken field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OAuth2TokenExchange) GetRefreshTokenOk() (*string, bool) {
- if o == nil || o.RefreshToken == nil {
+ if o == nil || IsNil(o.RefreshToken) {
return nil, false
}
return o.RefreshToken, true
@@ -167,7 +170,7 @@ func (o *OAuth2TokenExchange) GetRefreshTokenOk() (*string, bool) {
// HasRefreshToken returns a boolean if a field has been set.
func (o *OAuth2TokenExchange) HasRefreshToken() bool {
- if o != nil && o.RefreshToken != nil {
+ if o != nil && !IsNil(o.RefreshToken) {
return true
}
@@ -181,7 +184,7 @@ func (o *OAuth2TokenExchange) SetRefreshToken(v string) {
// GetScope returns the Scope field value if set, zero value otherwise.
func (o *OAuth2TokenExchange) GetScope() string {
- if o == nil || o.Scope == nil {
+ if o == nil || IsNil(o.Scope) {
var ret string
return ret
}
@@ -191,7 +194,7 @@ func (o *OAuth2TokenExchange) GetScope() string {
// GetScopeOk returns a tuple with the Scope field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OAuth2TokenExchange) GetScopeOk() (*string, bool) {
- if o == nil || o.Scope == nil {
+ if o == nil || IsNil(o.Scope) {
return nil, false
}
return o.Scope, true
@@ -199,7 +202,7 @@ func (o *OAuth2TokenExchange) GetScopeOk() (*string, bool) {
// HasScope returns a boolean if a field has been set.
func (o *OAuth2TokenExchange) HasScope() bool {
- if o != nil && o.Scope != nil {
+ if o != nil && !IsNil(o.Scope) {
return true
}
@@ -213,7 +216,7 @@ func (o *OAuth2TokenExchange) SetScope(v string) {
// GetTokenType returns the TokenType field value if set, zero value otherwise.
func (o *OAuth2TokenExchange) GetTokenType() string {
- if o == nil || o.TokenType == nil {
+ if o == nil || IsNil(o.TokenType) {
var ret string
return ret
}
@@ -223,7 +226,7 @@ func (o *OAuth2TokenExchange) GetTokenType() string {
// GetTokenTypeOk returns a tuple with the TokenType field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OAuth2TokenExchange) GetTokenTypeOk() (*string, bool) {
- if o == nil || o.TokenType == nil {
+ if o == nil || IsNil(o.TokenType) {
return nil, false
}
return o.TokenType, true
@@ -231,7 +234,7 @@ func (o *OAuth2TokenExchange) GetTokenTypeOk() (*string, bool) {
// HasTokenType returns a boolean if a field has been set.
func (o *OAuth2TokenExchange) HasTokenType() bool {
- if o != nil && o.TokenType != nil {
+ if o != nil && !IsNil(o.TokenType) {
return true
}
@@ -244,23 +247,31 @@ func (o *OAuth2TokenExchange) SetTokenType(v string) {
}
func (o OAuth2TokenExchange) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o OAuth2TokenExchange) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
- if o.AccessToken != nil {
+ if !IsNil(o.AccessToken) {
toSerialize["access_token"] = o.AccessToken
}
- if o.ExpiresIn != nil {
+ if !IsNil(o.ExpiresIn) {
toSerialize["expires_in"] = o.ExpiresIn
}
- if o.IdToken != nil {
+ if !IsNil(o.IdToken) {
toSerialize["id_token"] = o.IdToken
}
- if o.RefreshToken != nil {
+ if !IsNil(o.RefreshToken) {
toSerialize["refresh_token"] = o.RefreshToken
}
- if o.Scope != nil {
+ if !IsNil(o.Scope) {
toSerialize["scope"] = o.Scope
}
- if o.TokenType != nil {
+ if !IsNil(o.TokenType) {
toSerialize["token_type"] = o.TokenType
}
@@ -268,16 +279,20 @@ func (o OAuth2TokenExchange) MarshalJSON() ([]byte, error) {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *OAuth2TokenExchange) UnmarshalJSON(bytes []byte) (err error) {
varOAuth2TokenExchange := _OAuth2TokenExchange{}
- if err = json.Unmarshal(bytes, &varOAuth2TokenExchange); err == nil {
- *o = OAuth2TokenExchange(varOAuth2TokenExchange)
+ err = json.Unmarshal(bytes, &varOAuth2TokenExchange)
+
+ if err != nil {
+ return err
}
+ *o = OAuth2TokenExchange(varOAuth2TokenExchange)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_oidc_configuration.go b/clients/client/go/model_oidc_configuration.go
index 887996bb038..56e967f1568 100644
--- a/clients/client/go/model_oidc_configuration.go
+++ b/clients/client/go/model_oidc_configuration.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -13,8 +13,12 @@ package client
import (
"encoding/json"
+ "fmt"
)
+// checks if the OidcConfiguration type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &OidcConfiguration{}
+
// OidcConfiguration Includes links to several endpoints (for example `/oauth2/token`) and exposes information on supported signature algorithms among others.
type OidcConfiguration struct {
// OAuth 2.0 Authorization Endpoint URL
@@ -136,7 +140,7 @@ func (o *OidcConfiguration) SetAuthorizationEndpoint(v string) {
// GetBackchannelLogoutSessionSupported returns the BackchannelLogoutSessionSupported field value if set, zero value otherwise.
func (o *OidcConfiguration) GetBackchannelLogoutSessionSupported() bool {
- if o == nil || o.BackchannelLogoutSessionSupported == nil {
+ if o == nil || IsNil(o.BackchannelLogoutSessionSupported) {
var ret bool
return ret
}
@@ -146,7 +150,7 @@ func (o *OidcConfiguration) GetBackchannelLogoutSessionSupported() bool {
// GetBackchannelLogoutSessionSupportedOk returns a tuple with the BackchannelLogoutSessionSupported field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetBackchannelLogoutSessionSupportedOk() (*bool, bool) {
- if o == nil || o.BackchannelLogoutSessionSupported == nil {
+ if o == nil || IsNil(o.BackchannelLogoutSessionSupported) {
return nil, false
}
return o.BackchannelLogoutSessionSupported, true
@@ -154,7 +158,7 @@ func (o *OidcConfiguration) GetBackchannelLogoutSessionSupportedOk() (*bool, boo
// HasBackchannelLogoutSessionSupported returns a boolean if a field has been set.
func (o *OidcConfiguration) HasBackchannelLogoutSessionSupported() bool {
- if o != nil && o.BackchannelLogoutSessionSupported != nil {
+ if o != nil && !IsNil(o.BackchannelLogoutSessionSupported) {
return true
}
@@ -168,7 +172,7 @@ func (o *OidcConfiguration) SetBackchannelLogoutSessionSupported(v bool) {
// GetBackchannelLogoutSupported returns the BackchannelLogoutSupported field value if set, zero value otherwise.
func (o *OidcConfiguration) GetBackchannelLogoutSupported() bool {
- if o == nil || o.BackchannelLogoutSupported == nil {
+ if o == nil || IsNil(o.BackchannelLogoutSupported) {
var ret bool
return ret
}
@@ -178,7 +182,7 @@ func (o *OidcConfiguration) GetBackchannelLogoutSupported() bool {
// GetBackchannelLogoutSupportedOk returns a tuple with the BackchannelLogoutSupported field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetBackchannelLogoutSupportedOk() (*bool, bool) {
- if o == nil || o.BackchannelLogoutSupported == nil {
+ if o == nil || IsNil(o.BackchannelLogoutSupported) {
return nil, false
}
return o.BackchannelLogoutSupported, true
@@ -186,7 +190,7 @@ func (o *OidcConfiguration) GetBackchannelLogoutSupportedOk() (*bool, bool) {
// HasBackchannelLogoutSupported returns a boolean if a field has been set.
func (o *OidcConfiguration) HasBackchannelLogoutSupported() bool {
- if o != nil && o.BackchannelLogoutSupported != nil {
+ if o != nil && !IsNil(o.BackchannelLogoutSupported) {
return true
}
@@ -200,7 +204,7 @@ func (o *OidcConfiguration) SetBackchannelLogoutSupported(v bool) {
// GetClaimsParameterSupported returns the ClaimsParameterSupported field value if set, zero value otherwise.
func (o *OidcConfiguration) GetClaimsParameterSupported() bool {
- if o == nil || o.ClaimsParameterSupported == nil {
+ if o == nil || IsNil(o.ClaimsParameterSupported) {
var ret bool
return ret
}
@@ -210,7 +214,7 @@ func (o *OidcConfiguration) GetClaimsParameterSupported() bool {
// GetClaimsParameterSupportedOk returns a tuple with the ClaimsParameterSupported field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetClaimsParameterSupportedOk() (*bool, bool) {
- if o == nil || o.ClaimsParameterSupported == nil {
+ if o == nil || IsNil(o.ClaimsParameterSupported) {
return nil, false
}
return o.ClaimsParameterSupported, true
@@ -218,7 +222,7 @@ func (o *OidcConfiguration) GetClaimsParameterSupportedOk() (*bool, bool) {
// HasClaimsParameterSupported returns a boolean if a field has been set.
func (o *OidcConfiguration) HasClaimsParameterSupported() bool {
- if o != nil && o.ClaimsParameterSupported != nil {
+ if o != nil && !IsNil(o.ClaimsParameterSupported) {
return true
}
@@ -232,7 +236,7 @@ func (o *OidcConfiguration) SetClaimsParameterSupported(v bool) {
// GetClaimsSupported returns the ClaimsSupported field value if set, zero value otherwise.
func (o *OidcConfiguration) GetClaimsSupported() []string {
- if o == nil || o.ClaimsSupported == nil {
+ if o == nil || IsNil(o.ClaimsSupported) {
var ret []string
return ret
}
@@ -242,7 +246,7 @@ func (o *OidcConfiguration) GetClaimsSupported() []string {
// GetClaimsSupportedOk returns a tuple with the ClaimsSupported field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetClaimsSupportedOk() ([]string, bool) {
- if o == nil || o.ClaimsSupported == nil {
+ if o == nil || IsNil(o.ClaimsSupported) {
return nil, false
}
return o.ClaimsSupported, true
@@ -250,7 +254,7 @@ func (o *OidcConfiguration) GetClaimsSupportedOk() ([]string, bool) {
// HasClaimsSupported returns a boolean if a field has been set.
func (o *OidcConfiguration) HasClaimsSupported() bool {
- if o != nil && o.ClaimsSupported != nil {
+ if o != nil && !IsNil(o.ClaimsSupported) {
return true
}
@@ -264,7 +268,7 @@ func (o *OidcConfiguration) SetClaimsSupported(v []string) {
// GetCodeChallengeMethodsSupported returns the CodeChallengeMethodsSupported field value if set, zero value otherwise.
func (o *OidcConfiguration) GetCodeChallengeMethodsSupported() []string {
- if o == nil || o.CodeChallengeMethodsSupported == nil {
+ if o == nil || IsNil(o.CodeChallengeMethodsSupported) {
var ret []string
return ret
}
@@ -274,7 +278,7 @@ func (o *OidcConfiguration) GetCodeChallengeMethodsSupported() []string {
// GetCodeChallengeMethodsSupportedOk returns a tuple with the CodeChallengeMethodsSupported field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetCodeChallengeMethodsSupportedOk() ([]string, bool) {
- if o == nil || o.CodeChallengeMethodsSupported == nil {
+ if o == nil || IsNil(o.CodeChallengeMethodsSupported) {
return nil, false
}
return o.CodeChallengeMethodsSupported, true
@@ -282,7 +286,7 @@ func (o *OidcConfiguration) GetCodeChallengeMethodsSupportedOk() ([]string, bool
// HasCodeChallengeMethodsSupported returns a boolean if a field has been set.
func (o *OidcConfiguration) HasCodeChallengeMethodsSupported() bool {
- if o != nil && o.CodeChallengeMethodsSupported != nil {
+ if o != nil && !IsNil(o.CodeChallengeMethodsSupported) {
return true
}
@@ -296,7 +300,7 @@ func (o *OidcConfiguration) SetCodeChallengeMethodsSupported(v []string) {
// GetCredentialsEndpointDraft00 returns the CredentialsEndpointDraft00 field value if set, zero value otherwise.
func (o *OidcConfiguration) GetCredentialsEndpointDraft00() string {
- if o == nil || o.CredentialsEndpointDraft00 == nil {
+ if o == nil || IsNil(o.CredentialsEndpointDraft00) {
var ret string
return ret
}
@@ -306,7 +310,7 @@ func (o *OidcConfiguration) GetCredentialsEndpointDraft00() string {
// GetCredentialsEndpointDraft00Ok returns a tuple with the CredentialsEndpointDraft00 field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetCredentialsEndpointDraft00Ok() (*string, bool) {
- if o == nil || o.CredentialsEndpointDraft00 == nil {
+ if o == nil || IsNil(o.CredentialsEndpointDraft00) {
return nil, false
}
return o.CredentialsEndpointDraft00, true
@@ -314,7 +318,7 @@ func (o *OidcConfiguration) GetCredentialsEndpointDraft00Ok() (*string, bool) {
// HasCredentialsEndpointDraft00 returns a boolean if a field has been set.
func (o *OidcConfiguration) HasCredentialsEndpointDraft00() bool {
- if o != nil && o.CredentialsEndpointDraft00 != nil {
+ if o != nil && !IsNil(o.CredentialsEndpointDraft00) {
return true
}
@@ -328,7 +332,7 @@ func (o *OidcConfiguration) SetCredentialsEndpointDraft00(v string) {
// GetCredentialsSupportedDraft00 returns the CredentialsSupportedDraft00 field value if set, zero value otherwise.
func (o *OidcConfiguration) GetCredentialsSupportedDraft00() []CredentialSupportedDraft00 {
- if o == nil || o.CredentialsSupportedDraft00 == nil {
+ if o == nil || IsNil(o.CredentialsSupportedDraft00) {
var ret []CredentialSupportedDraft00
return ret
}
@@ -338,7 +342,7 @@ func (o *OidcConfiguration) GetCredentialsSupportedDraft00() []CredentialSupport
// GetCredentialsSupportedDraft00Ok returns a tuple with the CredentialsSupportedDraft00 field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetCredentialsSupportedDraft00Ok() ([]CredentialSupportedDraft00, bool) {
- if o == nil || o.CredentialsSupportedDraft00 == nil {
+ if o == nil || IsNil(o.CredentialsSupportedDraft00) {
return nil, false
}
return o.CredentialsSupportedDraft00, true
@@ -346,7 +350,7 @@ func (o *OidcConfiguration) GetCredentialsSupportedDraft00Ok() ([]CredentialSupp
// HasCredentialsSupportedDraft00 returns a boolean if a field has been set.
func (o *OidcConfiguration) HasCredentialsSupportedDraft00() bool {
- if o != nil && o.CredentialsSupportedDraft00 != nil {
+ if o != nil && !IsNil(o.CredentialsSupportedDraft00) {
return true
}
@@ -360,7 +364,7 @@ func (o *OidcConfiguration) SetCredentialsSupportedDraft00(v []CredentialSupport
// GetEndSessionEndpoint returns the EndSessionEndpoint field value if set, zero value otherwise.
func (o *OidcConfiguration) GetEndSessionEndpoint() string {
- if o == nil || o.EndSessionEndpoint == nil {
+ if o == nil || IsNil(o.EndSessionEndpoint) {
var ret string
return ret
}
@@ -370,7 +374,7 @@ func (o *OidcConfiguration) GetEndSessionEndpoint() string {
// GetEndSessionEndpointOk returns a tuple with the EndSessionEndpoint field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetEndSessionEndpointOk() (*string, bool) {
- if o == nil || o.EndSessionEndpoint == nil {
+ if o == nil || IsNil(o.EndSessionEndpoint) {
return nil, false
}
return o.EndSessionEndpoint, true
@@ -378,7 +382,7 @@ func (o *OidcConfiguration) GetEndSessionEndpointOk() (*string, bool) {
// HasEndSessionEndpoint returns a boolean if a field has been set.
func (o *OidcConfiguration) HasEndSessionEndpoint() bool {
- if o != nil && o.EndSessionEndpoint != nil {
+ if o != nil && !IsNil(o.EndSessionEndpoint) {
return true
}
@@ -392,7 +396,7 @@ func (o *OidcConfiguration) SetEndSessionEndpoint(v string) {
// GetFrontchannelLogoutSessionSupported returns the FrontchannelLogoutSessionSupported field value if set, zero value otherwise.
func (o *OidcConfiguration) GetFrontchannelLogoutSessionSupported() bool {
- if o == nil || o.FrontchannelLogoutSessionSupported == nil {
+ if o == nil || IsNil(o.FrontchannelLogoutSessionSupported) {
var ret bool
return ret
}
@@ -402,7 +406,7 @@ func (o *OidcConfiguration) GetFrontchannelLogoutSessionSupported() bool {
// GetFrontchannelLogoutSessionSupportedOk returns a tuple with the FrontchannelLogoutSessionSupported field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetFrontchannelLogoutSessionSupportedOk() (*bool, bool) {
- if o == nil || o.FrontchannelLogoutSessionSupported == nil {
+ if o == nil || IsNil(o.FrontchannelLogoutSessionSupported) {
return nil, false
}
return o.FrontchannelLogoutSessionSupported, true
@@ -410,7 +414,7 @@ func (o *OidcConfiguration) GetFrontchannelLogoutSessionSupportedOk() (*bool, bo
// HasFrontchannelLogoutSessionSupported returns a boolean if a field has been set.
func (o *OidcConfiguration) HasFrontchannelLogoutSessionSupported() bool {
- if o != nil && o.FrontchannelLogoutSessionSupported != nil {
+ if o != nil && !IsNil(o.FrontchannelLogoutSessionSupported) {
return true
}
@@ -424,7 +428,7 @@ func (o *OidcConfiguration) SetFrontchannelLogoutSessionSupported(v bool) {
// GetFrontchannelLogoutSupported returns the FrontchannelLogoutSupported field value if set, zero value otherwise.
func (o *OidcConfiguration) GetFrontchannelLogoutSupported() bool {
- if o == nil || o.FrontchannelLogoutSupported == nil {
+ if o == nil || IsNil(o.FrontchannelLogoutSupported) {
var ret bool
return ret
}
@@ -434,7 +438,7 @@ func (o *OidcConfiguration) GetFrontchannelLogoutSupported() bool {
// GetFrontchannelLogoutSupportedOk returns a tuple with the FrontchannelLogoutSupported field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetFrontchannelLogoutSupportedOk() (*bool, bool) {
- if o == nil || o.FrontchannelLogoutSupported == nil {
+ if o == nil || IsNil(o.FrontchannelLogoutSupported) {
return nil, false
}
return o.FrontchannelLogoutSupported, true
@@ -442,7 +446,7 @@ func (o *OidcConfiguration) GetFrontchannelLogoutSupportedOk() (*bool, bool) {
// HasFrontchannelLogoutSupported returns a boolean if a field has been set.
func (o *OidcConfiguration) HasFrontchannelLogoutSupported() bool {
- if o != nil && o.FrontchannelLogoutSupported != nil {
+ if o != nil && !IsNil(o.FrontchannelLogoutSupported) {
return true
}
@@ -456,7 +460,7 @@ func (o *OidcConfiguration) SetFrontchannelLogoutSupported(v bool) {
// GetGrantTypesSupported returns the GrantTypesSupported field value if set, zero value otherwise.
func (o *OidcConfiguration) GetGrantTypesSupported() []string {
- if o == nil || o.GrantTypesSupported == nil {
+ if o == nil || IsNil(o.GrantTypesSupported) {
var ret []string
return ret
}
@@ -466,7 +470,7 @@ func (o *OidcConfiguration) GetGrantTypesSupported() []string {
// GetGrantTypesSupportedOk returns a tuple with the GrantTypesSupported field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetGrantTypesSupportedOk() ([]string, bool) {
- if o == nil || o.GrantTypesSupported == nil {
+ if o == nil || IsNil(o.GrantTypesSupported) {
return nil, false
}
return o.GrantTypesSupported, true
@@ -474,7 +478,7 @@ func (o *OidcConfiguration) GetGrantTypesSupportedOk() ([]string, bool) {
// HasGrantTypesSupported returns a boolean if a field has been set.
func (o *OidcConfiguration) HasGrantTypesSupported() bool {
- if o != nil && o.GrantTypesSupported != nil {
+ if o != nil && !IsNil(o.GrantTypesSupported) {
return true
}
@@ -584,7 +588,7 @@ func (o *OidcConfiguration) SetJwksUri(v string) {
// GetRegistrationEndpoint returns the RegistrationEndpoint field value if set, zero value otherwise.
func (o *OidcConfiguration) GetRegistrationEndpoint() string {
- if o == nil || o.RegistrationEndpoint == nil {
+ if o == nil || IsNil(o.RegistrationEndpoint) {
var ret string
return ret
}
@@ -594,7 +598,7 @@ func (o *OidcConfiguration) GetRegistrationEndpoint() string {
// GetRegistrationEndpointOk returns a tuple with the RegistrationEndpoint field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetRegistrationEndpointOk() (*string, bool) {
- if o == nil || o.RegistrationEndpoint == nil {
+ if o == nil || IsNil(o.RegistrationEndpoint) {
return nil, false
}
return o.RegistrationEndpoint, true
@@ -602,7 +606,7 @@ func (o *OidcConfiguration) GetRegistrationEndpointOk() (*string, bool) {
// HasRegistrationEndpoint returns a boolean if a field has been set.
func (o *OidcConfiguration) HasRegistrationEndpoint() bool {
- if o != nil && o.RegistrationEndpoint != nil {
+ if o != nil && !IsNil(o.RegistrationEndpoint) {
return true
}
@@ -616,7 +620,7 @@ func (o *OidcConfiguration) SetRegistrationEndpoint(v string) {
// GetRequestObjectSigningAlgValuesSupported returns the RequestObjectSigningAlgValuesSupported field value if set, zero value otherwise.
func (o *OidcConfiguration) GetRequestObjectSigningAlgValuesSupported() []string {
- if o == nil || o.RequestObjectSigningAlgValuesSupported == nil {
+ if o == nil || IsNil(o.RequestObjectSigningAlgValuesSupported) {
var ret []string
return ret
}
@@ -626,7 +630,7 @@ func (o *OidcConfiguration) GetRequestObjectSigningAlgValuesSupported() []string
// GetRequestObjectSigningAlgValuesSupportedOk returns a tuple with the RequestObjectSigningAlgValuesSupported field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetRequestObjectSigningAlgValuesSupportedOk() ([]string, bool) {
- if o == nil || o.RequestObjectSigningAlgValuesSupported == nil {
+ if o == nil || IsNil(o.RequestObjectSigningAlgValuesSupported) {
return nil, false
}
return o.RequestObjectSigningAlgValuesSupported, true
@@ -634,7 +638,7 @@ func (o *OidcConfiguration) GetRequestObjectSigningAlgValuesSupportedOk() ([]str
// HasRequestObjectSigningAlgValuesSupported returns a boolean if a field has been set.
func (o *OidcConfiguration) HasRequestObjectSigningAlgValuesSupported() bool {
- if o != nil && o.RequestObjectSigningAlgValuesSupported != nil {
+ if o != nil && !IsNil(o.RequestObjectSigningAlgValuesSupported) {
return true
}
@@ -648,7 +652,7 @@ func (o *OidcConfiguration) SetRequestObjectSigningAlgValuesSupported(v []string
// GetRequestParameterSupported returns the RequestParameterSupported field value if set, zero value otherwise.
func (o *OidcConfiguration) GetRequestParameterSupported() bool {
- if o == nil || o.RequestParameterSupported == nil {
+ if o == nil || IsNil(o.RequestParameterSupported) {
var ret bool
return ret
}
@@ -658,7 +662,7 @@ func (o *OidcConfiguration) GetRequestParameterSupported() bool {
// GetRequestParameterSupportedOk returns a tuple with the RequestParameterSupported field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetRequestParameterSupportedOk() (*bool, bool) {
- if o == nil || o.RequestParameterSupported == nil {
+ if o == nil || IsNil(o.RequestParameterSupported) {
return nil, false
}
return o.RequestParameterSupported, true
@@ -666,7 +670,7 @@ func (o *OidcConfiguration) GetRequestParameterSupportedOk() (*bool, bool) {
// HasRequestParameterSupported returns a boolean if a field has been set.
func (o *OidcConfiguration) HasRequestParameterSupported() bool {
- if o != nil && o.RequestParameterSupported != nil {
+ if o != nil && !IsNil(o.RequestParameterSupported) {
return true
}
@@ -680,7 +684,7 @@ func (o *OidcConfiguration) SetRequestParameterSupported(v bool) {
// GetRequestUriParameterSupported returns the RequestUriParameterSupported field value if set, zero value otherwise.
func (o *OidcConfiguration) GetRequestUriParameterSupported() bool {
- if o == nil || o.RequestUriParameterSupported == nil {
+ if o == nil || IsNil(o.RequestUriParameterSupported) {
var ret bool
return ret
}
@@ -690,7 +694,7 @@ func (o *OidcConfiguration) GetRequestUriParameterSupported() bool {
// GetRequestUriParameterSupportedOk returns a tuple with the RequestUriParameterSupported field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetRequestUriParameterSupportedOk() (*bool, bool) {
- if o == nil || o.RequestUriParameterSupported == nil {
+ if o == nil || IsNil(o.RequestUriParameterSupported) {
return nil, false
}
return o.RequestUriParameterSupported, true
@@ -698,7 +702,7 @@ func (o *OidcConfiguration) GetRequestUriParameterSupportedOk() (*bool, bool) {
// HasRequestUriParameterSupported returns a boolean if a field has been set.
func (o *OidcConfiguration) HasRequestUriParameterSupported() bool {
- if o != nil && o.RequestUriParameterSupported != nil {
+ if o != nil && !IsNil(o.RequestUriParameterSupported) {
return true
}
@@ -712,7 +716,7 @@ func (o *OidcConfiguration) SetRequestUriParameterSupported(v bool) {
// GetRequireRequestUriRegistration returns the RequireRequestUriRegistration field value if set, zero value otherwise.
func (o *OidcConfiguration) GetRequireRequestUriRegistration() bool {
- if o == nil || o.RequireRequestUriRegistration == nil {
+ if o == nil || IsNil(o.RequireRequestUriRegistration) {
var ret bool
return ret
}
@@ -722,7 +726,7 @@ func (o *OidcConfiguration) GetRequireRequestUriRegistration() bool {
// GetRequireRequestUriRegistrationOk returns a tuple with the RequireRequestUriRegistration field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetRequireRequestUriRegistrationOk() (*bool, bool) {
- if o == nil || o.RequireRequestUriRegistration == nil {
+ if o == nil || IsNil(o.RequireRequestUriRegistration) {
return nil, false
}
return o.RequireRequestUriRegistration, true
@@ -730,7 +734,7 @@ func (o *OidcConfiguration) GetRequireRequestUriRegistrationOk() (*bool, bool) {
// HasRequireRequestUriRegistration returns a boolean if a field has been set.
func (o *OidcConfiguration) HasRequireRequestUriRegistration() bool {
- if o != nil && o.RequireRequestUriRegistration != nil {
+ if o != nil && !IsNil(o.RequireRequestUriRegistration) {
return true
}
@@ -744,7 +748,7 @@ func (o *OidcConfiguration) SetRequireRequestUriRegistration(v bool) {
// GetResponseModesSupported returns the ResponseModesSupported field value if set, zero value otherwise.
func (o *OidcConfiguration) GetResponseModesSupported() []string {
- if o == nil || o.ResponseModesSupported == nil {
+ if o == nil || IsNil(o.ResponseModesSupported) {
var ret []string
return ret
}
@@ -754,7 +758,7 @@ func (o *OidcConfiguration) GetResponseModesSupported() []string {
// GetResponseModesSupportedOk returns a tuple with the ResponseModesSupported field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetResponseModesSupportedOk() ([]string, bool) {
- if o == nil || o.ResponseModesSupported == nil {
+ if o == nil || IsNil(o.ResponseModesSupported) {
return nil, false
}
return o.ResponseModesSupported, true
@@ -762,7 +766,7 @@ func (o *OidcConfiguration) GetResponseModesSupportedOk() ([]string, bool) {
// HasResponseModesSupported returns a boolean if a field has been set.
func (o *OidcConfiguration) HasResponseModesSupported() bool {
- if o != nil && o.ResponseModesSupported != nil {
+ if o != nil && !IsNil(o.ResponseModesSupported) {
return true
}
@@ -800,7 +804,7 @@ func (o *OidcConfiguration) SetResponseTypesSupported(v []string) {
// GetRevocationEndpoint returns the RevocationEndpoint field value if set, zero value otherwise.
func (o *OidcConfiguration) GetRevocationEndpoint() string {
- if o == nil || o.RevocationEndpoint == nil {
+ if o == nil || IsNil(o.RevocationEndpoint) {
var ret string
return ret
}
@@ -810,7 +814,7 @@ func (o *OidcConfiguration) GetRevocationEndpoint() string {
// GetRevocationEndpointOk returns a tuple with the RevocationEndpoint field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetRevocationEndpointOk() (*string, bool) {
- if o == nil || o.RevocationEndpoint == nil {
+ if o == nil || IsNil(o.RevocationEndpoint) {
return nil, false
}
return o.RevocationEndpoint, true
@@ -818,7 +822,7 @@ func (o *OidcConfiguration) GetRevocationEndpointOk() (*string, bool) {
// HasRevocationEndpoint returns a boolean if a field has been set.
func (o *OidcConfiguration) HasRevocationEndpoint() bool {
- if o != nil && o.RevocationEndpoint != nil {
+ if o != nil && !IsNil(o.RevocationEndpoint) {
return true
}
@@ -832,7 +836,7 @@ func (o *OidcConfiguration) SetRevocationEndpoint(v string) {
// GetScopesSupported returns the ScopesSupported field value if set, zero value otherwise.
func (o *OidcConfiguration) GetScopesSupported() []string {
- if o == nil || o.ScopesSupported == nil {
+ if o == nil || IsNil(o.ScopesSupported) {
var ret []string
return ret
}
@@ -842,7 +846,7 @@ func (o *OidcConfiguration) GetScopesSupported() []string {
// GetScopesSupportedOk returns a tuple with the ScopesSupported field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetScopesSupportedOk() ([]string, bool) {
- if o == nil || o.ScopesSupported == nil {
+ if o == nil || IsNil(o.ScopesSupported) {
return nil, false
}
return o.ScopesSupported, true
@@ -850,7 +854,7 @@ func (o *OidcConfiguration) GetScopesSupportedOk() ([]string, bool) {
// HasScopesSupported returns a boolean if a field has been set.
func (o *OidcConfiguration) HasScopesSupported() bool {
- if o != nil && o.ScopesSupported != nil {
+ if o != nil && !IsNil(o.ScopesSupported) {
return true
}
@@ -912,7 +916,7 @@ func (o *OidcConfiguration) SetTokenEndpoint(v string) {
// GetTokenEndpointAuthMethodsSupported returns the TokenEndpointAuthMethodsSupported field value if set, zero value otherwise.
func (o *OidcConfiguration) GetTokenEndpointAuthMethodsSupported() []string {
- if o == nil || o.TokenEndpointAuthMethodsSupported == nil {
+ if o == nil || IsNil(o.TokenEndpointAuthMethodsSupported) {
var ret []string
return ret
}
@@ -922,7 +926,7 @@ func (o *OidcConfiguration) GetTokenEndpointAuthMethodsSupported() []string {
// GetTokenEndpointAuthMethodsSupportedOk returns a tuple with the TokenEndpointAuthMethodsSupported field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetTokenEndpointAuthMethodsSupportedOk() ([]string, bool) {
- if o == nil || o.TokenEndpointAuthMethodsSupported == nil {
+ if o == nil || IsNil(o.TokenEndpointAuthMethodsSupported) {
return nil, false
}
return o.TokenEndpointAuthMethodsSupported, true
@@ -930,7 +934,7 @@ func (o *OidcConfiguration) GetTokenEndpointAuthMethodsSupportedOk() ([]string,
// HasTokenEndpointAuthMethodsSupported returns a boolean if a field has been set.
func (o *OidcConfiguration) HasTokenEndpointAuthMethodsSupported() bool {
- if o != nil && o.TokenEndpointAuthMethodsSupported != nil {
+ if o != nil && !IsNil(o.TokenEndpointAuthMethodsSupported) {
return true
}
@@ -944,7 +948,7 @@ func (o *OidcConfiguration) SetTokenEndpointAuthMethodsSupported(v []string) {
// GetUserinfoEndpoint returns the UserinfoEndpoint field value if set, zero value otherwise.
func (o *OidcConfiguration) GetUserinfoEndpoint() string {
- if o == nil || o.UserinfoEndpoint == nil {
+ if o == nil || IsNil(o.UserinfoEndpoint) {
var ret string
return ret
}
@@ -954,7 +958,7 @@ func (o *OidcConfiguration) GetUserinfoEndpoint() string {
// GetUserinfoEndpointOk returns a tuple with the UserinfoEndpoint field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetUserinfoEndpointOk() (*string, bool) {
- if o == nil || o.UserinfoEndpoint == nil {
+ if o == nil || IsNil(o.UserinfoEndpoint) {
return nil, false
}
return o.UserinfoEndpoint, true
@@ -962,7 +966,7 @@ func (o *OidcConfiguration) GetUserinfoEndpointOk() (*string, bool) {
// HasUserinfoEndpoint returns a boolean if a field has been set.
func (o *OidcConfiguration) HasUserinfoEndpoint() bool {
- if o != nil && o.UserinfoEndpoint != nil {
+ if o != nil && !IsNil(o.UserinfoEndpoint) {
return true
}
@@ -1000,7 +1004,7 @@ func (o *OidcConfiguration) SetUserinfoSignedResponseAlg(v []string) {
// GetUserinfoSigningAlgValuesSupported returns the UserinfoSigningAlgValuesSupported field value if set, zero value otherwise.
func (o *OidcConfiguration) GetUserinfoSigningAlgValuesSupported() []string {
- if o == nil || o.UserinfoSigningAlgValuesSupported == nil {
+ if o == nil || IsNil(o.UserinfoSigningAlgValuesSupported) {
var ret []string
return ret
}
@@ -1010,7 +1014,7 @@ func (o *OidcConfiguration) GetUserinfoSigningAlgValuesSupported() []string {
// GetUserinfoSigningAlgValuesSupportedOk returns a tuple with the UserinfoSigningAlgValuesSupported field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetUserinfoSigningAlgValuesSupportedOk() ([]string, bool) {
- if o == nil || o.UserinfoSigningAlgValuesSupported == nil {
+ if o == nil || IsNil(o.UserinfoSigningAlgValuesSupported) {
return nil, false
}
return o.UserinfoSigningAlgValuesSupported, true
@@ -1018,7 +1022,7 @@ func (o *OidcConfiguration) GetUserinfoSigningAlgValuesSupportedOk() ([]string,
// HasUserinfoSigningAlgValuesSupported returns a boolean if a field has been set.
func (o *OidcConfiguration) HasUserinfoSigningAlgValuesSupported() bool {
- if o != nil && o.UserinfoSigningAlgValuesSupported != nil {
+ if o != nil && !IsNil(o.UserinfoSigningAlgValuesSupported) {
return true
}
@@ -1031,98 +1035,88 @@ func (o *OidcConfiguration) SetUserinfoSigningAlgValuesSupported(v []string) {
}
func (o OidcConfiguration) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if true {
- toSerialize["authorization_endpoint"] = o.AuthorizationEndpoint
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
}
- if o.BackchannelLogoutSessionSupported != nil {
+ return json.Marshal(toSerialize)
+}
+
+func (o OidcConfiguration) ToMap() (map[string]interface{}, error) {
+ toSerialize := map[string]interface{}{}
+ toSerialize["authorization_endpoint"] = o.AuthorizationEndpoint
+ if !IsNil(o.BackchannelLogoutSessionSupported) {
toSerialize["backchannel_logout_session_supported"] = o.BackchannelLogoutSessionSupported
}
- if o.BackchannelLogoutSupported != nil {
+ if !IsNil(o.BackchannelLogoutSupported) {
toSerialize["backchannel_logout_supported"] = o.BackchannelLogoutSupported
}
- if o.ClaimsParameterSupported != nil {
+ if !IsNil(o.ClaimsParameterSupported) {
toSerialize["claims_parameter_supported"] = o.ClaimsParameterSupported
}
- if o.ClaimsSupported != nil {
+ if !IsNil(o.ClaimsSupported) {
toSerialize["claims_supported"] = o.ClaimsSupported
}
- if o.CodeChallengeMethodsSupported != nil {
+ if !IsNil(o.CodeChallengeMethodsSupported) {
toSerialize["code_challenge_methods_supported"] = o.CodeChallengeMethodsSupported
}
- if o.CredentialsEndpointDraft00 != nil {
+ if !IsNil(o.CredentialsEndpointDraft00) {
toSerialize["credentials_endpoint_draft_00"] = o.CredentialsEndpointDraft00
}
- if o.CredentialsSupportedDraft00 != nil {
+ if !IsNil(o.CredentialsSupportedDraft00) {
toSerialize["credentials_supported_draft_00"] = o.CredentialsSupportedDraft00
}
- if o.EndSessionEndpoint != nil {
+ if !IsNil(o.EndSessionEndpoint) {
toSerialize["end_session_endpoint"] = o.EndSessionEndpoint
}
- if o.FrontchannelLogoutSessionSupported != nil {
+ if !IsNil(o.FrontchannelLogoutSessionSupported) {
toSerialize["frontchannel_logout_session_supported"] = o.FrontchannelLogoutSessionSupported
}
- if o.FrontchannelLogoutSupported != nil {
+ if !IsNil(o.FrontchannelLogoutSupported) {
toSerialize["frontchannel_logout_supported"] = o.FrontchannelLogoutSupported
}
- if o.GrantTypesSupported != nil {
+ if !IsNil(o.GrantTypesSupported) {
toSerialize["grant_types_supported"] = o.GrantTypesSupported
}
- if true {
- toSerialize["id_token_signed_response_alg"] = o.IdTokenSignedResponseAlg
- }
- if true {
- toSerialize["id_token_signing_alg_values_supported"] = o.IdTokenSigningAlgValuesSupported
- }
- if true {
- toSerialize["issuer"] = o.Issuer
- }
- if true {
- toSerialize["jwks_uri"] = o.JwksUri
- }
- if o.RegistrationEndpoint != nil {
+ toSerialize["id_token_signed_response_alg"] = o.IdTokenSignedResponseAlg
+ toSerialize["id_token_signing_alg_values_supported"] = o.IdTokenSigningAlgValuesSupported
+ toSerialize["issuer"] = o.Issuer
+ toSerialize["jwks_uri"] = o.JwksUri
+ if !IsNil(o.RegistrationEndpoint) {
toSerialize["registration_endpoint"] = o.RegistrationEndpoint
}
- if o.RequestObjectSigningAlgValuesSupported != nil {
+ if !IsNil(o.RequestObjectSigningAlgValuesSupported) {
toSerialize["request_object_signing_alg_values_supported"] = o.RequestObjectSigningAlgValuesSupported
}
- if o.RequestParameterSupported != nil {
+ if !IsNil(o.RequestParameterSupported) {
toSerialize["request_parameter_supported"] = o.RequestParameterSupported
}
- if o.RequestUriParameterSupported != nil {
+ if !IsNil(o.RequestUriParameterSupported) {
toSerialize["request_uri_parameter_supported"] = o.RequestUriParameterSupported
}
- if o.RequireRequestUriRegistration != nil {
+ if !IsNil(o.RequireRequestUriRegistration) {
toSerialize["require_request_uri_registration"] = o.RequireRequestUriRegistration
}
- if o.ResponseModesSupported != nil {
+ if !IsNil(o.ResponseModesSupported) {
toSerialize["response_modes_supported"] = o.ResponseModesSupported
}
- if true {
- toSerialize["response_types_supported"] = o.ResponseTypesSupported
- }
- if o.RevocationEndpoint != nil {
+ toSerialize["response_types_supported"] = o.ResponseTypesSupported
+ if !IsNil(o.RevocationEndpoint) {
toSerialize["revocation_endpoint"] = o.RevocationEndpoint
}
- if o.ScopesSupported != nil {
+ if !IsNil(o.ScopesSupported) {
toSerialize["scopes_supported"] = o.ScopesSupported
}
- if true {
- toSerialize["subject_types_supported"] = o.SubjectTypesSupported
- }
- if true {
- toSerialize["token_endpoint"] = o.TokenEndpoint
- }
- if o.TokenEndpointAuthMethodsSupported != nil {
+ toSerialize["subject_types_supported"] = o.SubjectTypesSupported
+ toSerialize["token_endpoint"] = o.TokenEndpoint
+ if !IsNil(o.TokenEndpointAuthMethodsSupported) {
toSerialize["token_endpoint_auth_methods_supported"] = o.TokenEndpointAuthMethodsSupported
}
- if o.UserinfoEndpoint != nil {
+ if !IsNil(o.UserinfoEndpoint) {
toSerialize["userinfo_endpoint"] = o.UserinfoEndpoint
}
- if true {
- toSerialize["userinfo_signed_response_alg"] = o.UserinfoSignedResponseAlg
- }
- if o.UserinfoSigningAlgValuesSupported != nil {
+ toSerialize["userinfo_signed_response_alg"] = o.UserinfoSignedResponseAlg
+ if !IsNil(o.UserinfoSigningAlgValuesSupported) {
toSerialize["userinfo_signing_alg_values_supported"] = o.UserinfoSigningAlgValuesSupported
}
@@ -1130,16 +1124,49 @@ func (o OidcConfiguration) MarshalJSON() ([]byte, error) {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *OidcConfiguration) UnmarshalJSON(bytes []byte) (err error) {
+ // This validates that all required properties are included in the JSON object
+ // by unmarshalling the object into a generic map with string keys and checking
+ // that every required field exists as a key in the generic map.
+ requiredProperties := []string{
+ "authorization_endpoint",
+ "id_token_signed_response_alg",
+ "id_token_signing_alg_values_supported",
+ "issuer",
+ "jwks_uri",
+ "response_types_supported",
+ "subject_types_supported",
+ "token_endpoint",
+ "userinfo_signed_response_alg",
+ }
+
+ allProperties := make(map[string]interface{})
+
+ err = json.Unmarshal(bytes, &allProperties)
+
+ if err != nil {
+ return err;
+ }
+
+ for _, requiredProperty := range(requiredProperties) {
+ if _, exists := allProperties[requiredProperty]; !exists {
+ return fmt.Errorf("no value given for required property %v", requiredProperty)
+ }
+ }
+
varOidcConfiguration := _OidcConfiguration{}
- if err = json.Unmarshal(bytes, &varOidcConfiguration); err == nil {
- *o = OidcConfiguration(varOidcConfiguration)
+ err = json.Unmarshal(bytes, &varOidcConfiguration)
+
+ if err != nil {
+ return err
}
+ *o = OidcConfiguration(varOidcConfiguration)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_oidc_user_info.go b/clients/client/go/model_oidc_user_info.go
index e611dfdfbbc..72d06ed2b66 100644
--- a/clients/client/go/model_oidc_user_info.go
+++ b/clients/client/go/model_oidc_user_info.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -15,6 +15,9 @@ import (
"encoding/json"
)
+// checks if the OidcUserInfo type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &OidcUserInfo{}
+
// OidcUserInfo OpenID Connect Userinfo
type OidcUserInfo struct {
// End-User's birthday, represented as an ISO 8601:2004 [ISO8601‑2004] YYYY-MM-DD format. The year MAY be 0000, indicating that it is omitted. To represent only the year, YYYY format is allowed. Note that depending on the underlying platform's date related function, providing just year can result in varying month and day, so the implementers need to take this factor into account to correctly process the dates.
@@ -79,7 +82,7 @@ func NewOidcUserInfoWithDefaults() *OidcUserInfo {
// GetBirthdate returns the Birthdate field value if set, zero value otherwise.
func (o *OidcUserInfo) GetBirthdate() string {
- if o == nil || o.Birthdate == nil {
+ if o == nil || IsNil(o.Birthdate) {
var ret string
return ret
}
@@ -89,7 +92,7 @@ func (o *OidcUserInfo) GetBirthdate() string {
// GetBirthdateOk returns a tuple with the Birthdate field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcUserInfo) GetBirthdateOk() (*string, bool) {
- if o == nil || o.Birthdate == nil {
+ if o == nil || IsNil(o.Birthdate) {
return nil, false
}
return o.Birthdate, true
@@ -97,7 +100,7 @@ func (o *OidcUserInfo) GetBirthdateOk() (*string, bool) {
// HasBirthdate returns a boolean if a field has been set.
func (o *OidcUserInfo) HasBirthdate() bool {
- if o != nil && o.Birthdate != nil {
+ if o != nil && !IsNil(o.Birthdate) {
return true
}
@@ -111,7 +114,7 @@ func (o *OidcUserInfo) SetBirthdate(v string) {
// GetEmail returns the Email field value if set, zero value otherwise.
func (o *OidcUserInfo) GetEmail() string {
- if o == nil || o.Email == nil {
+ if o == nil || IsNil(o.Email) {
var ret string
return ret
}
@@ -121,7 +124,7 @@ func (o *OidcUserInfo) GetEmail() string {
// GetEmailOk returns a tuple with the Email field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcUserInfo) GetEmailOk() (*string, bool) {
- if o == nil || o.Email == nil {
+ if o == nil || IsNil(o.Email) {
return nil, false
}
return o.Email, true
@@ -129,7 +132,7 @@ func (o *OidcUserInfo) GetEmailOk() (*string, bool) {
// HasEmail returns a boolean if a field has been set.
func (o *OidcUserInfo) HasEmail() bool {
- if o != nil && o.Email != nil {
+ if o != nil && !IsNil(o.Email) {
return true
}
@@ -143,7 +146,7 @@ func (o *OidcUserInfo) SetEmail(v string) {
// GetEmailVerified returns the EmailVerified field value if set, zero value otherwise.
func (o *OidcUserInfo) GetEmailVerified() bool {
- if o == nil || o.EmailVerified == nil {
+ if o == nil || IsNil(o.EmailVerified) {
var ret bool
return ret
}
@@ -153,7 +156,7 @@ func (o *OidcUserInfo) GetEmailVerified() bool {
// GetEmailVerifiedOk returns a tuple with the EmailVerified field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcUserInfo) GetEmailVerifiedOk() (*bool, bool) {
- if o == nil || o.EmailVerified == nil {
+ if o == nil || IsNil(o.EmailVerified) {
return nil, false
}
return o.EmailVerified, true
@@ -161,7 +164,7 @@ func (o *OidcUserInfo) GetEmailVerifiedOk() (*bool, bool) {
// HasEmailVerified returns a boolean if a field has been set.
func (o *OidcUserInfo) HasEmailVerified() bool {
- if o != nil && o.EmailVerified != nil {
+ if o != nil && !IsNil(o.EmailVerified) {
return true
}
@@ -175,7 +178,7 @@ func (o *OidcUserInfo) SetEmailVerified(v bool) {
// GetFamilyName returns the FamilyName field value if set, zero value otherwise.
func (o *OidcUserInfo) GetFamilyName() string {
- if o == nil || o.FamilyName == nil {
+ if o == nil || IsNil(o.FamilyName) {
var ret string
return ret
}
@@ -185,7 +188,7 @@ func (o *OidcUserInfo) GetFamilyName() string {
// GetFamilyNameOk returns a tuple with the FamilyName field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcUserInfo) GetFamilyNameOk() (*string, bool) {
- if o == nil || o.FamilyName == nil {
+ if o == nil || IsNil(o.FamilyName) {
return nil, false
}
return o.FamilyName, true
@@ -193,7 +196,7 @@ func (o *OidcUserInfo) GetFamilyNameOk() (*string, bool) {
// HasFamilyName returns a boolean if a field has been set.
func (o *OidcUserInfo) HasFamilyName() bool {
- if o != nil && o.FamilyName != nil {
+ if o != nil && !IsNil(o.FamilyName) {
return true
}
@@ -207,7 +210,7 @@ func (o *OidcUserInfo) SetFamilyName(v string) {
// GetGender returns the Gender field value if set, zero value otherwise.
func (o *OidcUserInfo) GetGender() string {
- if o == nil || o.Gender == nil {
+ if o == nil || IsNil(o.Gender) {
var ret string
return ret
}
@@ -217,7 +220,7 @@ func (o *OidcUserInfo) GetGender() string {
// GetGenderOk returns a tuple with the Gender field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcUserInfo) GetGenderOk() (*string, bool) {
- if o == nil || o.Gender == nil {
+ if o == nil || IsNil(o.Gender) {
return nil, false
}
return o.Gender, true
@@ -225,7 +228,7 @@ func (o *OidcUserInfo) GetGenderOk() (*string, bool) {
// HasGender returns a boolean if a field has been set.
func (o *OidcUserInfo) HasGender() bool {
- if o != nil && o.Gender != nil {
+ if o != nil && !IsNil(o.Gender) {
return true
}
@@ -239,7 +242,7 @@ func (o *OidcUserInfo) SetGender(v string) {
// GetGivenName returns the GivenName field value if set, zero value otherwise.
func (o *OidcUserInfo) GetGivenName() string {
- if o == nil || o.GivenName == nil {
+ if o == nil || IsNil(o.GivenName) {
var ret string
return ret
}
@@ -249,7 +252,7 @@ func (o *OidcUserInfo) GetGivenName() string {
// GetGivenNameOk returns a tuple with the GivenName field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcUserInfo) GetGivenNameOk() (*string, bool) {
- if o == nil || o.GivenName == nil {
+ if o == nil || IsNil(o.GivenName) {
return nil, false
}
return o.GivenName, true
@@ -257,7 +260,7 @@ func (o *OidcUserInfo) GetGivenNameOk() (*string, bool) {
// HasGivenName returns a boolean if a field has been set.
func (o *OidcUserInfo) HasGivenName() bool {
- if o != nil && o.GivenName != nil {
+ if o != nil && !IsNil(o.GivenName) {
return true
}
@@ -271,7 +274,7 @@ func (o *OidcUserInfo) SetGivenName(v string) {
// GetLocale returns the Locale field value if set, zero value otherwise.
func (o *OidcUserInfo) GetLocale() string {
- if o == nil || o.Locale == nil {
+ if o == nil || IsNil(o.Locale) {
var ret string
return ret
}
@@ -281,7 +284,7 @@ func (o *OidcUserInfo) GetLocale() string {
// GetLocaleOk returns a tuple with the Locale field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcUserInfo) GetLocaleOk() (*string, bool) {
- if o == nil || o.Locale == nil {
+ if o == nil || IsNil(o.Locale) {
return nil, false
}
return o.Locale, true
@@ -289,7 +292,7 @@ func (o *OidcUserInfo) GetLocaleOk() (*string, bool) {
// HasLocale returns a boolean if a field has been set.
func (o *OidcUserInfo) HasLocale() bool {
- if o != nil && o.Locale != nil {
+ if o != nil && !IsNil(o.Locale) {
return true
}
@@ -303,7 +306,7 @@ func (o *OidcUserInfo) SetLocale(v string) {
// GetMiddleName returns the MiddleName field value if set, zero value otherwise.
func (o *OidcUserInfo) GetMiddleName() string {
- if o == nil || o.MiddleName == nil {
+ if o == nil || IsNil(o.MiddleName) {
var ret string
return ret
}
@@ -313,7 +316,7 @@ func (o *OidcUserInfo) GetMiddleName() string {
// GetMiddleNameOk returns a tuple with the MiddleName field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcUserInfo) GetMiddleNameOk() (*string, bool) {
- if o == nil || o.MiddleName == nil {
+ if o == nil || IsNil(o.MiddleName) {
return nil, false
}
return o.MiddleName, true
@@ -321,7 +324,7 @@ func (o *OidcUserInfo) GetMiddleNameOk() (*string, bool) {
// HasMiddleName returns a boolean if a field has been set.
func (o *OidcUserInfo) HasMiddleName() bool {
- if o != nil && o.MiddleName != nil {
+ if o != nil && !IsNil(o.MiddleName) {
return true
}
@@ -335,7 +338,7 @@ func (o *OidcUserInfo) SetMiddleName(v string) {
// GetName returns the Name field value if set, zero value otherwise.
func (o *OidcUserInfo) GetName() string {
- if o == nil || o.Name == nil {
+ if o == nil || IsNil(o.Name) {
var ret string
return ret
}
@@ -345,7 +348,7 @@ func (o *OidcUserInfo) GetName() string {
// GetNameOk returns a tuple with the Name field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcUserInfo) GetNameOk() (*string, bool) {
- if o == nil || o.Name == nil {
+ if o == nil || IsNil(o.Name) {
return nil, false
}
return o.Name, true
@@ -353,7 +356,7 @@ func (o *OidcUserInfo) GetNameOk() (*string, bool) {
// HasName returns a boolean if a field has been set.
func (o *OidcUserInfo) HasName() bool {
- if o != nil && o.Name != nil {
+ if o != nil && !IsNil(o.Name) {
return true
}
@@ -367,7 +370,7 @@ func (o *OidcUserInfo) SetName(v string) {
// GetNickname returns the Nickname field value if set, zero value otherwise.
func (o *OidcUserInfo) GetNickname() string {
- if o == nil || o.Nickname == nil {
+ if o == nil || IsNil(o.Nickname) {
var ret string
return ret
}
@@ -377,7 +380,7 @@ func (o *OidcUserInfo) GetNickname() string {
// GetNicknameOk returns a tuple with the Nickname field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcUserInfo) GetNicknameOk() (*string, bool) {
- if o == nil || o.Nickname == nil {
+ if o == nil || IsNil(o.Nickname) {
return nil, false
}
return o.Nickname, true
@@ -385,7 +388,7 @@ func (o *OidcUserInfo) GetNicknameOk() (*string, bool) {
// HasNickname returns a boolean if a field has been set.
func (o *OidcUserInfo) HasNickname() bool {
- if o != nil && o.Nickname != nil {
+ if o != nil && !IsNil(o.Nickname) {
return true
}
@@ -399,7 +402,7 @@ func (o *OidcUserInfo) SetNickname(v string) {
// GetPhoneNumber returns the PhoneNumber field value if set, zero value otherwise.
func (o *OidcUserInfo) GetPhoneNumber() string {
- if o == nil || o.PhoneNumber == nil {
+ if o == nil || IsNil(o.PhoneNumber) {
var ret string
return ret
}
@@ -409,7 +412,7 @@ func (o *OidcUserInfo) GetPhoneNumber() string {
// GetPhoneNumberOk returns a tuple with the PhoneNumber field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcUserInfo) GetPhoneNumberOk() (*string, bool) {
- if o == nil || o.PhoneNumber == nil {
+ if o == nil || IsNil(o.PhoneNumber) {
return nil, false
}
return o.PhoneNumber, true
@@ -417,7 +420,7 @@ func (o *OidcUserInfo) GetPhoneNumberOk() (*string, bool) {
// HasPhoneNumber returns a boolean if a field has been set.
func (o *OidcUserInfo) HasPhoneNumber() bool {
- if o != nil && o.PhoneNumber != nil {
+ if o != nil && !IsNil(o.PhoneNumber) {
return true
}
@@ -431,7 +434,7 @@ func (o *OidcUserInfo) SetPhoneNumber(v string) {
// GetPhoneNumberVerified returns the PhoneNumberVerified field value if set, zero value otherwise.
func (o *OidcUserInfo) GetPhoneNumberVerified() bool {
- if o == nil || o.PhoneNumberVerified == nil {
+ if o == nil || IsNil(o.PhoneNumberVerified) {
var ret bool
return ret
}
@@ -441,7 +444,7 @@ func (o *OidcUserInfo) GetPhoneNumberVerified() bool {
// GetPhoneNumberVerifiedOk returns a tuple with the PhoneNumberVerified field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcUserInfo) GetPhoneNumberVerifiedOk() (*bool, bool) {
- if o == nil || o.PhoneNumberVerified == nil {
+ if o == nil || IsNil(o.PhoneNumberVerified) {
return nil, false
}
return o.PhoneNumberVerified, true
@@ -449,7 +452,7 @@ func (o *OidcUserInfo) GetPhoneNumberVerifiedOk() (*bool, bool) {
// HasPhoneNumberVerified returns a boolean if a field has been set.
func (o *OidcUserInfo) HasPhoneNumberVerified() bool {
- if o != nil && o.PhoneNumberVerified != nil {
+ if o != nil && !IsNil(o.PhoneNumberVerified) {
return true
}
@@ -463,7 +466,7 @@ func (o *OidcUserInfo) SetPhoneNumberVerified(v bool) {
// GetPicture returns the Picture field value if set, zero value otherwise.
func (o *OidcUserInfo) GetPicture() string {
- if o == nil || o.Picture == nil {
+ if o == nil || IsNil(o.Picture) {
var ret string
return ret
}
@@ -473,7 +476,7 @@ func (o *OidcUserInfo) GetPicture() string {
// GetPictureOk returns a tuple with the Picture field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcUserInfo) GetPictureOk() (*string, bool) {
- if o == nil || o.Picture == nil {
+ if o == nil || IsNil(o.Picture) {
return nil, false
}
return o.Picture, true
@@ -481,7 +484,7 @@ func (o *OidcUserInfo) GetPictureOk() (*string, bool) {
// HasPicture returns a boolean if a field has been set.
func (o *OidcUserInfo) HasPicture() bool {
- if o != nil && o.Picture != nil {
+ if o != nil && !IsNil(o.Picture) {
return true
}
@@ -495,7 +498,7 @@ func (o *OidcUserInfo) SetPicture(v string) {
// GetPreferredUsername returns the PreferredUsername field value if set, zero value otherwise.
func (o *OidcUserInfo) GetPreferredUsername() string {
- if o == nil || o.PreferredUsername == nil {
+ if o == nil || IsNil(o.PreferredUsername) {
var ret string
return ret
}
@@ -505,7 +508,7 @@ func (o *OidcUserInfo) GetPreferredUsername() string {
// GetPreferredUsernameOk returns a tuple with the PreferredUsername field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcUserInfo) GetPreferredUsernameOk() (*string, bool) {
- if o == nil || o.PreferredUsername == nil {
+ if o == nil || IsNil(o.PreferredUsername) {
return nil, false
}
return o.PreferredUsername, true
@@ -513,7 +516,7 @@ func (o *OidcUserInfo) GetPreferredUsernameOk() (*string, bool) {
// HasPreferredUsername returns a boolean if a field has been set.
func (o *OidcUserInfo) HasPreferredUsername() bool {
- if o != nil && o.PreferredUsername != nil {
+ if o != nil && !IsNil(o.PreferredUsername) {
return true
}
@@ -527,7 +530,7 @@ func (o *OidcUserInfo) SetPreferredUsername(v string) {
// GetProfile returns the Profile field value if set, zero value otherwise.
func (o *OidcUserInfo) GetProfile() string {
- if o == nil || o.Profile == nil {
+ if o == nil || IsNil(o.Profile) {
var ret string
return ret
}
@@ -537,7 +540,7 @@ func (o *OidcUserInfo) GetProfile() string {
// GetProfileOk returns a tuple with the Profile field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcUserInfo) GetProfileOk() (*string, bool) {
- if o == nil || o.Profile == nil {
+ if o == nil || IsNil(o.Profile) {
return nil, false
}
return o.Profile, true
@@ -545,7 +548,7 @@ func (o *OidcUserInfo) GetProfileOk() (*string, bool) {
// HasProfile returns a boolean if a field has been set.
func (o *OidcUserInfo) HasProfile() bool {
- if o != nil && o.Profile != nil {
+ if o != nil && !IsNil(o.Profile) {
return true
}
@@ -559,7 +562,7 @@ func (o *OidcUserInfo) SetProfile(v string) {
// GetSub returns the Sub field value if set, zero value otherwise.
func (o *OidcUserInfo) GetSub() string {
- if o == nil || o.Sub == nil {
+ if o == nil || IsNil(o.Sub) {
var ret string
return ret
}
@@ -569,7 +572,7 @@ func (o *OidcUserInfo) GetSub() string {
// GetSubOk returns a tuple with the Sub field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcUserInfo) GetSubOk() (*string, bool) {
- if o == nil || o.Sub == nil {
+ if o == nil || IsNil(o.Sub) {
return nil, false
}
return o.Sub, true
@@ -577,7 +580,7 @@ func (o *OidcUserInfo) GetSubOk() (*string, bool) {
// HasSub returns a boolean if a field has been set.
func (o *OidcUserInfo) HasSub() bool {
- if o != nil && o.Sub != nil {
+ if o != nil && !IsNil(o.Sub) {
return true
}
@@ -591,7 +594,7 @@ func (o *OidcUserInfo) SetSub(v string) {
// GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (o *OidcUserInfo) GetUpdatedAt() int64 {
- if o == nil || o.UpdatedAt == nil {
+ if o == nil || IsNil(o.UpdatedAt) {
var ret int64
return ret
}
@@ -601,7 +604,7 @@ func (o *OidcUserInfo) GetUpdatedAt() int64 {
// GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcUserInfo) GetUpdatedAtOk() (*int64, bool) {
- if o == nil || o.UpdatedAt == nil {
+ if o == nil || IsNil(o.UpdatedAt) {
return nil, false
}
return o.UpdatedAt, true
@@ -609,7 +612,7 @@ func (o *OidcUserInfo) GetUpdatedAtOk() (*int64, bool) {
// HasUpdatedAt returns a boolean if a field has been set.
func (o *OidcUserInfo) HasUpdatedAt() bool {
- if o != nil && o.UpdatedAt != nil {
+ if o != nil && !IsNil(o.UpdatedAt) {
return true
}
@@ -623,7 +626,7 @@ func (o *OidcUserInfo) SetUpdatedAt(v int64) {
// GetWebsite returns the Website field value if set, zero value otherwise.
func (o *OidcUserInfo) GetWebsite() string {
- if o == nil || o.Website == nil {
+ if o == nil || IsNil(o.Website) {
var ret string
return ret
}
@@ -633,7 +636,7 @@ func (o *OidcUserInfo) GetWebsite() string {
// GetWebsiteOk returns a tuple with the Website field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcUserInfo) GetWebsiteOk() (*string, bool) {
- if o == nil || o.Website == nil {
+ if o == nil || IsNil(o.Website) {
return nil, false
}
return o.Website, true
@@ -641,7 +644,7 @@ func (o *OidcUserInfo) GetWebsiteOk() (*string, bool) {
// HasWebsite returns a boolean if a field has been set.
func (o *OidcUserInfo) HasWebsite() bool {
- if o != nil && o.Website != nil {
+ if o != nil && !IsNil(o.Website) {
return true
}
@@ -655,7 +658,7 @@ func (o *OidcUserInfo) SetWebsite(v string) {
// GetZoneinfo returns the Zoneinfo field value if set, zero value otherwise.
func (o *OidcUserInfo) GetZoneinfo() string {
- if o == nil || o.Zoneinfo == nil {
+ if o == nil || IsNil(o.Zoneinfo) {
var ret string
return ret
}
@@ -665,7 +668,7 @@ func (o *OidcUserInfo) GetZoneinfo() string {
// GetZoneinfoOk returns a tuple with the Zoneinfo field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcUserInfo) GetZoneinfoOk() (*string, bool) {
- if o == nil || o.Zoneinfo == nil {
+ if o == nil || IsNil(o.Zoneinfo) {
return nil, false
}
return o.Zoneinfo, true
@@ -673,7 +676,7 @@ func (o *OidcUserInfo) GetZoneinfoOk() (*string, bool) {
// HasZoneinfo returns a boolean if a field has been set.
func (o *OidcUserInfo) HasZoneinfo() bool {
- if o != nil && o.Zoneinfo != nil {
+ if o != nil && !IsNil(o.Zoneinfo) {
return true
}
@@ -686,62 +689,70 @@ func (o *OidcUserInfo) SetZoneinfo(v string) {
}
func (o OidcUserInfo) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o OidcUserInfo) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
- if o.Birthdate != nil {
+ if !IsNil(o.Birthdate) {
toSerialize["birthdate"] = o.Birthdate
}
- if o.Email != nil {
+ if !IsNil(o.Email) {
toSerialize["email"] = o.Email
}
- if o.EmailVerified != nil {
+ if !IsNil(o.EmailVerified) {
toSerialize["email_verified"] = o.EmailVerified
}
- if o.FamilyName != nil {
+ if !IsNil(o.FamilyName) {
toSerialize["family_name"] = o.FamilyName
}
- if o.Gender != nil {
+ if !IsNil(o.Gender) {
toSerialize["gender"] = o.Gender
}
- if o.GivenName != nil {
+ if !IsNil(o.GivenName) {
toSerialize["given_name"] = o.GivenName
}
- if o.Locale != nil {
+ if !IsNil(o.Locale) {
toSerialize["locale"] = o.Locale
}
- if o.MiddleName != nil {
+ if !IsNil(o.MiddleName) {
toSerialize["middle_name"] = o.MiddleName
}
- if o.Name != nil {
+ if !IsNil(o.Name) {
toSerialize["name"] = o.Name
}
- if o.Nickname != nil {
+ if !IsNil(o.Nickname) {
toSerialize["nickname"] = o.Nickname
}
- if o.PhoneNumber != nil {
+ if !IsNil(o.PhoneNumber) {
toSerialize["phone_number"] = o.PhoneNumber
}
- if o.PhoneNumberVerified != nil {
+ if !IsNil(o.PhoneNumberVerified) {
toSerialize["phone_number_verified"] = o.PhoneNumberVerified
}
- if o.Picture != nil {
+ if !IsNil(o.Picture) {
toSerialize["picture"] = o.Picture
}
- if o.PreferredUsername != nil {
+ if !IsNil(o.PreferredUsername) {
toSerialize["preferred_username"] = o.PreferredUsername
}
- if o.Profile != nil {
+ if !IsNil(o.Profile) {
toSerialize["profile"] = o.Profile
}
- if o.Sub != nil {
+ if !IsNil(o.Sub) {
toSerialize["sub"] = o.Sub
}
- if o.UpdatedAt != nil {
+ if !IsNil(o.UpdatedAt) {
toSerialize["updated_at"] = o.UpdatedAt
}
- if o.Website != nil {
+ if !IsNil(o.Website) {
toSerialize["website"] = o.Website
}
- if o.Zoneinfo != nil {
+ if !IsNil(o.Zoneinfo) {
toSerialize["zoneinfo"] = o.Zoneinfo
}
@@ -749,16 +760,20 @@ func (o OidcUserInfo) MarshalJSON() ([]byte, error) {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *OidcUserInfo) UnmarshalJSON(bytes []byte) (err error) {
varOidcUserInfo := _OidcUserInfo{}
- if err = json.Unmarshal(bytes, &varOidcUserInfo); err == nil {
- *o = OidcUserInfo(varOidcUserInfo)
+ err = json.Unmarshal(bytes, &varOidcUserInfo)
+
+ if err != nil {
+ return err
}
+ *o = OidcUserInfo(varOidcUserInfo)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_organization.go b/clients/client/go/model_organization.go
index 011321c67b2..b99fb4d2ca4 100644
--- a/clients/client/go/model_organization.go
+++ b/clients/client/go/model_organization.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -14,8 +14,12 @@ package client
import (
"encoding/json"
"time"
+ "fmt"
)
+// checks if the Organization type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &Organization{}
+
// Organization B2B SSO Organization
type Organization struct {
// The organization's creation date.
@@ -202,40 +206,66 @@ func (o *Organization) SetUpdatedAt(v time.Time) {
}
func (o Organization) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if true {
- toSerialize["created_at"] = o.CreatedAt
- }
- if true {
- toSerialize["domains"] = o.Domains
- }
- if true {
- toSerialize["id"] = o.Id
- }
- if true {
- toSerialize["label"] = o.Label
- }
- if true {
- toSerialize["project_id"] = o.ProjectId
- }
- if true {
- toSerialize["updated_at"] = o.UpdatedAt
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
}
+ return json.Marshal(toSerialize)
+}
+
+func (o Organization) ToMap() (map[string]interface{}, error) {
+ toSerialize := map[string]interface{}{}
+ toSerialize["created_at"] = o.CreatedAt
+ toSerialize["domains"] = o.Domains
+ toSerialize["id"] = o.Id
+ toSerialize["label"] = o.Label
+ toSerialize["project_id"] = o.ProjectId
+ toSerialize["updated_at"] = o.UpdatedAt
for key, value := range o.AdditionalProperties {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *Organization) UnmarshalJSON(bytes []byte) (err error) {
+ // This validates that all required properties are included in the JSON object
+ // by unmarshalling the object into a generic map with string keys and checking
+ // that every required field exists as a key in the generic map.
+ requiredProperties := []string{
+ "created_at",
+ "domains",
+ "id",
+ "label",
+ "project_id",
+ "updated_at",
+ }
+
+ allProperties := make(map[string]interface{})
+
+ err = json.Unmarshal(bytes, &allProperties)
+
+ if err != nil {
+ return err;
+ }
+
+ for _, requiredProperty := range(requiredProperties) {
+ if _, exists := allProperties[requiredProperty]; !exists {
+ return fmt.Errorf("no value given for required property %v", requiredProperty)
+ }
+ }
+
varOrganization := _Organization{}
- if err = json.Unmarshal(bytes, &varOrganization); err == nil {
- *o = Organization(varOrganization)
+ err = json.Unmarshal(bytes, &varOrganization)
+
+ if err != nil {
+ return err
}
+ *o = Organization(varOrganization)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_organization_body.go b/clients/client/go/model_organization_body.go
index c3ba60f370f..5496d4190e9 100644
--- a/clients/client/go/model_organization_body.go
+++ b/clients/client/go/model_organization_body.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -15,6 +15,9 @@ import (
"encoding/json"
)
+// checks if the OrganizationBody type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &OrganizationBody{}
+
// OrganizationBody Create B2B SSO Organization Request Body
type OrganizationBody struct {
// Domains contains the list of organization's domains.
@@ -45,7 +48,7 @@ func NewOrganizationBodyWithDefaults() *OrganizationBody {
// GetDomains returns the Domains field value if set, zero value otherwise.
func (o *OrganizationBody) GetDomains() []string {
- if o == nil || o.Domains == nil {
+ if o == nil || IsNil(o.Domains) {
var ret []string
return ret
}
@@ -55,7 +58,7 @@ func (o *OrganizationBody) GetDomains() []string {
// GetDomainsOk returns a tuple with the Domains field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OrganizationBody) GetDomainsOk() ([]string, bool) {
- if o == nil || o.Domains == nil {
+ if o == nil || IsNil(o.Domains) {
return nil, false
}
return o.Domains, true
@@ -63,7 +66,7 @@ func (o *OrganizationBody) GetDomainsOk() ([]string, bool) {
// HasDomains returns a boolean if a field has been set.
func (o *OrganizationBody) HasDomains() bool {
- if o != nil && o.Domains != nil {
+ if o != nil && !IsNil(o.Domains) {
return true
}
@@ -77,7 +80,7 @@ func (o *OrganizationBody) SetDomains(v []string) {
// GetLabel returns the Label field value if set, zero value otherwise.
func (o *OrganizationBody) GetLabel() string {
- if o == nil || o.Label == nil {
+ if o == nil || IsNil(o.Label) {
var ret string
return ret
}
@@ -87,7 +90,7 @@ func (o *OrganizationBody) GetLabel() string {
// GetLabelOk returns a tuple with the Label field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OrganizationBody) GetLabelOk() (*string, bool) {
- if o == nil || o.Label == nil {
+ if o == nil || IsNil(o.Label) {
return nil, false
}
return o.Label, true
@@ -95,7 +98,7 @@ func (o *OrganizationBody) GetLabelOk() (*string, bool) {
// HasLabel returns a boolean if a field has been set.
func (o *OrganizationBody) HasLabel() bool {
- if o != nil && o.Label != nil {
+ if o != nil && !IsNil(o.Label) {
return true
}
@@ -108,11 +111,19 @@ func (o *OrganizationBody) SetLabel(v string) {
}
func (o OrganizationBody) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o OrganizationBody) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
- if o.Domains != nil {
+ if !IsNil(o.Domains) {
toSerialize["domains"] = o.Domains
}
- if o.Label != nil {
+ if !IsNil(o.Label) {
toSerialize["label"] = o.Label
}
@@ -120,16 +131,20 @@ func (o OrganizationBody) MarshalJSON() ([]byte, error) {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *OrganizationBody) UnmarshalJSON(bytes []byte) (err error) {
varOrganizationBody := _OrganizationBody{}
- if err = json.Unmarshal(bytes, &varOrganizationBody); err == nil {
- *o = OrganizationBody(varOrganizationBody)
+ err = json.Unmarshal(bytes, &varOrganizationBody)
+
+ if err != nil {
+ return err
}
+ *o = OrganizationBody(varOrganizationBody)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_pagination.go b/clients/client/go/model_pagination.go
index faa23f90a6d..a2a9fda1138 100644
--- a/clients/client/go/model_pagination.go
+++ b/clients/client/go/model_pagination.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -15,6 +15,9 @@ import (
"encoding/json"
)
+// checks if the Pagination type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &Pagination{}
+
// Pagination struct for Pagination
type Pagination struct {
// Items per page This is the number of items per page to return. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
@@ -53,7 +56,7 @@ func NewPaginationWithDefaults() *Pagination {
// GetPageSize returns the PageSize field value if set, zero value otherwise.
func (o *Pagination) GetPageSize() int64 {
- if o == nil || o.PageSize == nil {
+ if o == nil || IsNil(o.PageSize) {
var ret int64
return ret
}
@@ -63,7 +66,7 @@ func (o *Pagination) GetPageSize() int64 {
// GetPageSizeOk returns a tuple with the PageSize field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *Pagination) GetPageSizeOk() (*int64, bool) {
- if o == nil || o.PageSize == nil {
+ if o == nil || IsNil(o.PageSize) {
return nil, false
}
return o.PageSize, true
@@ -71,7 +74,7 @@ func (o *Pagination) GetPageSizeOk() (*int64, bool) {
// HasPageSize returns a boolean if a field has been set.
func (o *Pagination) HasPageSize() bool {
- if o != nil && o.PageSize != nil {
+ if o != nil && !IsNil(o.PageSize) {
return true
}
@@ -85,7 +88,7 @@ func (o *Pagination) SetPageSize(v int64) {
// GetPageToken returns the PageToken field value if set, zero value otherwise.
func (o *Pagination) GetPageToken() string {
- if o == nil || o.PageToken == nil {
+ if o == nil || IsNil(o.PageToken) {
var ret string
return ret
}
@@ -95,7 +98,7 @@ func (o *Pagination) GetPageToken() string {
// GetPageTokenOk returns a tuple with the PageToken field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *Pagination) GetPageTokenOk() (*string, bool) {
- if o == nil || o.PageToken == nil {
+ if o == nil || IsNil(o.PageToken) {
return nil, false
}
return o.PageToken, true
@@ -103,7 +106,7 @@ func (o *Pagination) GetPageTokenOk() (*string, bool) {
// HasPageToken returns a boolean if a field has been set.
func (o *Pagination) HasPageToken() bool {
- if o != nil && o.PageToken != nil {
+ if o != nil && !IsNil(o.PageToken) {
return true
}
@@ -116,11 +119,19 @@ func (o *Pagination) SetPageToken(v string) {
}
func (o Pagination) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o Pagination) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
- if o.PageSize != nil {
+ if !IsNil(o.PageSize) {
toSerialize["page_size"] = o.PageSize
}
- if o.PageToken != nil {
+ if !IsNil(o.PageToken) {
toSerialize["page_token"] = o.PageToken
}
@@ -128,16 +139,20 @@ func (o Pagination) MarshalJSON() ([]byte, error) {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *Pagination) UnmarshalJSON(bytes []byte) (err error) {
varPagination := _Pagination{}
- if err = json.Unmarshal(bytes, &varPagination); err == nil {
- *o = Pagination(varPagination)
+ err = json.Unmarshal(bytes, &varPagination)
+
+ if err != nil {
+ return err
}
+ *o = Pagination(varPagination)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_pagination_headers.go b/clients/client/go/model_pagination_headers.go
index 298bbd66b34..49ecd5e6722 100644
--- a/clients/client/go/model_pagination_headers.go
+++ b/clients/client/go/model_pagination_headers.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -15,6 +15,9 @@ import (
"encoding/json"
)
+// checks if the PaginationHeaders type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &PaginationHeaders{}
+
// PaginationHeaders struct for PaginationHeaders
type PaginationHeaders struct {
// The link header contains pagination links. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination). in: header
@@ -45,7 +48,7 @@ func NewPaginationHeadersWithDefaults() *PaginationHeaders {
// GetLink returns the Link field value if set, zero value otherwise.
func (o *PaginationHeaders) GetLink() string {
- if o == nil || o.Link == nil {
+ if o == nil || IsNil(o.Link) {
var ret string
return ret
}
@@ -55,7 +58,7 @@ func (o *PaginationHeaders) GetLink() string {
// GetLinkOk returns a tuple with the Link field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PaginationHeaders) GetLinkOk() (*string, bool) {
- if o == nil || o.Link == nil {
+ if o == nil || IsNil(o.Link) {
return nil, false
}
return o.Link, true
@@ -63,7 +66,7 @@ func (o *PaginationHeaders) GetLinkOk() (*string, bool) {
// HasLink returns a boolean if a field has been set.
func (o *PaginationHeaders) HasLink() bool {
- if o != nil && o.Link != nil {
+ if o != nil && !IsNil(o.Link) {
return true
}
@@ -77,7 +80,7 @@ func (o *PaginationHeaders) SetLink(v string) {
// GetXTotalCount returns the XTotalCount field value if set, zero value otherwise.
func (o *PaginationHeaders) GetXTotalCount() string {
- if o == nil || o.XTotalCount == nil {
+ if o == nil || IsNil(o.XTotalCount) {
var ret string
return ret
}
@@ -87,7 +90,7 @@ func (o *PaginationHeaders) GetXTotalCount() string {
// GetXTotalCountOk returns a tuple with the XTotalCount field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PaginationHeaders) GetXTotalCountOk() (*string, bool) {
- if o == nil || o.XTotalCount == nil {
+ if o == nil || IsNil(o.XTotalCount) {
return nil, false
}
return o.XTotalCount, true
@@ -95,7 +98,7 @@ func (o *PaginationHeaders) GetXTotalCountOk() (*string, bool) {
// HasXTotalCount returns a boolean if a field has been set.
func (o *PaginationHeaders) HasXTotalCount() bool {
- if o != nil && o.XTotalCount != nil {
+ if o != nil && !IsNil(o.XTotalCount) {
return true
}
@@ -108,11 +111,19 @@ func (o *PaginationHeaders) SetXTotalCount(v string) {
}
func (o PaginationHeaders) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o PaginationHeaders) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
- if o.Link != nil {
+ if !IsNil(o.Link) {
toSerialize["link"] = o.Link
}
- if o.XTotalCount != nil {
+ if !IsNil(o.XTotalCount) {
toSerialize["x-total-count"] = o.XTotalCount
}
@@ -120,16 +131,20 @@ func (o PaginationHeaders) MarshalJSON() ([]byte, error) {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *PaginationHeaders) UnmarshalJSON(bytes []byte) (err error) {
varPaginationHeaders := _PaginationHeaders{}
- if err = json.Unmarshal(bytes, &varPaginationHeaders); err == nil {
- *o = PaginationHeaders(varPaginationHeaders)
+ err = json.Unmarshal(bytes, &varPaginationHeaders)
+
+ if err != nil {
+ return err
}
+ *o = PaginationHeaders(varPaginationHeaders)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_parse_error.go b/clients/client/go/model_parse_error.go
index e4183a22565..217e68731b2 100644
--- a/clients/client/go/model_parse_error.go
+++ b/clients/client/go/model_parse_error.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -15,6 +15,9 @@ import (
"encoding/json"
)
+// checks if the ParseError type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &ParseError{}
+
// ParseError struct for ParseError
type ParseError struct {
End *SourcePosition `json:"end,omitempty"`
@@ -44,7 +47,7 @@ func NewParseErrorWithDefaults() *ParseError {
// GetEnd returns the End field value if set, zero value otherwise.
func (o *ParseError) GetEnd() SourcePosition {
- if o == nil || o.End == nil {
+ if o == nil || IsNil(o.End) {
var ret SourcePosition
return ret
}
@@ -54,7 +57,7 @@ func (o *ParseError) GetEnd() SourcePosition {
// GetEndOk returns a tuple with the End field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ParseError) GetEndOk() (*SourcePosition, bool) {
- if o == nil || o.End == nil {
+ if o == nil || IsNil(o.End) {
return nil, false
}
return o.End, true
@@ -62,7 +65,7 @@ func (o *ParseError) GetEndOk() (*SourcePosition, bool) {
// HasEnd returns a boolean if a field has been set.
func (o *ParseError) HasEnd() bool {
- if o != nil && o.End != nil {
+ if o != nil && !IsNil(o.End) {
return true
}
@@ -76,7 +79,7 @@ func (o *ParseError) SetEnd(v SourcePosition) {
// GetMessage returns the Message field value if set, zero value otherwise.
func (o *ParseError) GetMessage() string {
- if o == nil || o.Message == nil {
+ if o == nil || IsNil(o.Message) {
var ret string
return ret
}
@@ -86,7 +89,7 @@ func (o *ParseError) GetMessage() string {
// GetMessageOk returns a tuple with the Message field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ParseError) GetMessageOk() (*string, bool) {
- if o == nil || o.Message == nil {
+ if o == nil || IsNil(o.Message) {
return nil, false
}
return o.Message, true
@@ -94,7 +97,7 @@ func (o *ParseError) GetMessageOk() (*string, bool) {
// HasMessage returns a boolean if a field has been set.
func (o *ParseError) HasMessage() bool {
- if o != nil && o.Message != nil {
+ if o != nil && !IsNil(o.Message) {
return true
}
@@ -108,7 +111,7 @@ func (o *ParseError) SetMessage(v string) {
// GetStart returns the Start field value if set, zero value otherwise.
func (o *ParseError) GetStart() SourcePosition {
- if o == nil || o.Start == nil {
+ if o == nil || IsNil(o.Start) {
var ret SourcePosition
return ret
}
@@ -118,7 +121,7 @@ func (o *ParseError) GetStart() SourcePosition {
// GetStartOk returns a tuple with the Start field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ParseError) GetStartOk() (*SourcePosition, bool) {
- if o == nil || o.Start == nil {
+ if o == nil || IsNil(o.Start) {
return nil, false
}
return o.Start, true
@@ -126,7 +129,7 @@ func (o *ParseError) GetStartOk() (*SourcePosition, bool) {
// HasStart returns a boolean if a field has been set.
func (o *ParseError) HasStart() bool {
- if o != nil && o.Start != nil {
+ if o != nil && !IsNil(o.Start) {
return true
}
@@ -139,14 +142,22 @@ func (o *ParseError) SetStart(v SourcePosition) {
}
func (o ParseError) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o ParseError) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
- if o.End != nil {
+ if !IsNil(o.End) {
toSerialize["end"] = o.End
}
- if o.Message != nil {
+ if !IsNil(o.Message) {
toSerialize["message"] = o.Message
}
- if o.Start != nil {
+ if !IsNil(o.Start) {
toSerialize["start"] = o.Start
}
@@ -154,16 +165,20 @@ func (o ParseError) MarshalJSON() ([]byte, error) {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *ParseError) UnmarshalJSON(bytes []byte) (err error) {
varParseError := _ParseError{}
- if err = json.Unmarshal(bytes, &varParseError); err == nil {
- *o = ParseError(varParseError)
+ err = json.Unmarshal(bytes, &varParseError)
+
+ if err != nil {
+ return err
}
+ *o = ParseError(varParseError)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_patch_identities_body.go b/clients/client/go/model_patch_identities_body.go
index 252328179c1..d0263b26f28 100644
--- a/clients/client/go/model_patch_identities_body.go
+++ b/clients/client/go/model_patch_identities_body.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -15,6 +15,9 @@ import (
"encoding/json"
)
+// checks if the PatchIdentitiesBody type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &PatchIdentitiesBody{}
+
// PatchIdentitiesBody Patch Identities Body
type PatchIdentitiesBody struct {
// Identities holds the list of patches to apply required
@@ -43,7 +46,7 @@ func NewPatchIdentitiesBodyWithDefaults() *PatchIdentitiesBody {
// GetIdentities returns the Identities field value if set, zero value otherwise.
func (o *PatchIdentitiesBody) GetIdentities() []IdentityPatch {
- if o == nil || o.Identities == nil {
+ if o == nil || IsNil(o.Identities) {
var ret []IdentityPatch
return ret
}
@@ -53,7 +56,7 @@ func (o *PatchIdentitiesBody) GetIdentities() []IdentityPatch {
// GetIdentitiesOk returns a tuple with the Identities field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PatchIdentitiesBody) GetIdentitiesOk() ([]IdentityPatch, bool) {
- if o == nil || o.Identities == nil {
+ if o == nil || IsNil(o.Identities) {
return nil, false
}
return o.Identities, true
@@ -61,7 +64,7 @@ func (o *PatchIdentitiesBody) GetIdentitiesOk() ([]IdentityPatch, bool) {
// HasIdentities returns a boolean if a field has been set.
func (o *PatchIdentitiesBody) HasIdentities() bool {
- if o != nil && o.Identities != nil {
+ if o != nil && !IsNil(o.Identities) {
return true
}
@@ -74,8 +77,16 @@ func (o *PatchIdentitiesBody) SetIdentities(v []IdentityPatch) {
}
func (o PatchIdentitiesBody) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o PatchIdentitiesBody) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
- if o.Identities != nil {
+ if !IsNil(o.Identities) {
toSerialize["identities"] = o.Identities
}
@@ -83,16 +94,20 @@ func (o PatchIdentitiesBody) MarshalJSON() ([]byte, error) {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *PatchIdentitiesBody) UnmarshalJSON(bytes []byte) (err error) {
varPatchIdentitiesBody := _PatchIdentitiesBody{}
- if err = json.Unmarshal(bytes, &varPatchIdentitiesBody); err == nil {
- *o = PatchIdentitiesBody(varPatchIdentitiesBody)
+ err = json.Unmarshal(bytes, &varPatchIdentitiesBody)
+
+ if err != nil {
+ return err
}
+ *o = PatchIdentitiesBody(varPatchIdentitiesBody)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_perform_native_logout_body.go b/clients/client/go/model_perform_native_logout_body.go
index 63a066f9207..011c299baba 100644
--- a/clients/client/go/model_perform_native_logout_body.go
+++ b/clients/client/go/model_perform_native_logout_body.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -13,8 +13,12 @@ package client
import (
"encoding/json"
+ "fmt"
)
+// checks if the PerformNativeLogoutBody type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &PerformNativeLogoutBody{}
+
// PerformNativeLogoutBody Perform Native Logout Request Body
type PerformNativeLogoutBody struct {
// The Session Token Invalidate this session token.
@@ -67,25 +71,56 @@ func (o *PerformNativeLogoutBody) SetSessionToken(v string) {
}
func (o PerformNativeLogoutBody) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if true {
- toSerialize["session_token"] = o.SessionToken
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
}
+ return json.Marshal(toSerialize)
+}
+
+func (o PerformNativeLogoutBody) ToMap() (map[string]interface{}, error) {
+ toSerialize := map[string]interface{}{}
+ toSerialize["session_token"] = o.SessionToken
for key, value := range o.AdditionalProperties {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *PerformNativeLogoutBody) UnmarshalJSON(bytes []byte) (err error) {
+ // This validates that all required properties are included in the JSON object
+ // by unmarshalling the object into a generic map with string keys and checking
+ // that every required field exists as a key in the generic map.
+ requiredProperties := []string{
+ "session_token",
+ }
+
+ allProperties := make(map[string]interface{})
+
+ err = json.Unmarshal(bytes, &allProperties)
+
+ if err != nil {
+ return err;
+ }
+
+ for _, requiredProperty := range(requiredProperties) {
+ if _, exists := allProperties[requiredProperty]; !exists {
+ return fmt.Errorf("no value given for required property %v", requiredProperty)
+ }
+ }
+
varPerformNativeLogoutBody := _PerformNativeLogoutBody{}
- if err = json.Unmarshal(bytes, &varPerformNativeLogoutBody); err == nil {
- *o = PerformNativeLogoutBody(varPerformNativeLogoutBody)
+ err = json.Unmarshal(bytes, &varPerformNativeLogoutBody)
+
+ if err != nil {
+ return err
}
+ *o = PerformNativeLogoutBody(varPerformNativeLogoutBody)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_plan.go b/clients/client/go/model_plan.go
index f972d32a412..bdec0d7665c 100644
--- a/clients/client/go/model_plan.go
+++ b/clients/client/go/model_plan.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -13,8 +13,12 @@ package client
import (
"encoding/json"
+ "fmt"
)
+// checks if the Plan type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &Plan{}
+
// Plan struct for Plan
type Plan struct {
// Name is the name of the plan.
@@ -94,28 +98,58 @@ func (o *Plan) SetVersion(v int64) {
}
func (o Plan) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if true {
- toSerialize["name"] = o.Name
- }
- if true {
- toSerialize["version"] = o.Version
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
}
+ return json.Marshal(toSerialize)
+}
+
+func (o Plan) ToMap() (map[string]interface{}, error) {
+ toSerialize := map[string]interface{}{}
+ toSerialize["name"] = o.Name
+ toSerialize["version"] = o.Version
for key, value := range o.AdditionalProperties {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *Plan) UnmarshalJSON(bytes []byte) (err error) {
+ // This validates that all required properties are included in the JSON object
+ // by unmarshalling the object into a generic map with string keys and checking
+ // that every required field exists as a key in the generic map.
+ requiredProperties := []string{
+ "name",
+ "version",
+ }
+
+ allProperties := make(map[string]interface{})
+
+ err = json.Unmarshal(bytes, &allProperties)
+
+ if err != nil {
+ return err;
+ }
+
+ for _, requiredProperty := range(requiredProperties) {
+ if _, exists := allProperties[requiredProperty]; !exists {
+ return fmt.Errorf("no value given for required property %v", requiredProperty)
+ }
+ }
+
varPlan := _Plan{}
- if err = json.Unmarshal(bytes, &varPlan); err == nil {
- *o = Plan(varPlan)
+ err = json.Unmarshal(bytes, &varPlan)
+
+ if err != nil {
+ return err
}
+ *o = Plan(varPlan)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_plan_details.go b/clients/client/go/model_plan_details.go
index 9b72b865637..bf7a4f1a7b4 100644
--- a/clients/client/go/model_plan_details.go
+++ b/clients/client/go/model_plan_details.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -13,8 +13,12 @@ package client
import (
"encoding/json"
+ "fmt"
)
+// checks if the PlanDetails type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &PlanDetails{}
+
// PlanDetails struct for PlanDetails
type PlanDetails struct {
// BaseFeeMonthly is the monthly base fee for the plan.
@@ -229,43 +233,68 @@ func (o *PlanDetails) SetVersion(v int64) {
}
func (o PlanDetails) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if true {
- toSerialize["base_fee_monthly"] = o.BaseFeeMonthly
- }
- if true {
- toSerialize["base_fee_yearly"] = o.BaseFeeYearly
- }
- if true {
- toSerialize["custom"] = o.Custom
- }
- if true {
- toSerialize["description"] = o.Description
- }
- if true {
- toSerialize["features"] = o.Features
- }
- if true {
- toSerialize["name"] = o.Name
- }
- if true {
- toSerialize["version"] = o.Version
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
}
+ return json.Marshal(toSerialize)
+}
+
+func (o PlanDetails) ToMap() (map[string]interface{}, error) {
+ toSerialize := map[string]interface{}{}
+ toSerialize["base_fee_monthly"] = o.BaseFeeMonthly
+ toSerialize["base_fee_yearly"] = o.BaseFeeYearly
+ toSerialize["custom"] = o.Custom
+ toSerialize["description"] = o.Description
+ toSerialize["features"] = o.Features
+ toSerialize["name"] = o.Name
+ toSerialize["version"] = o.Version
for key, value := range o.AdditionalProperties {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *PlanDetails) UnmarshalJSON(bytes []byte) (err error) {
+ // This validates that all required properties are included in the JSON object
+ // by unmarshalling the object into a generic map with string keys and checking
+ // that every required field exists as a key in the generic map.
+ requiredProperties := []string{
+ "base_fee_monthly",
+ "base_fee_yearly",
+ "custom",
+ "description",
+ "features",
+ "name",
+ "version",
+ }
+
+ allProperties := make(map[string]interface{})
+
+ err = json.Unmarshal(bytes, &allProperties)
+
+ if err != nil {
+ return err;
+ }
+
+ for _, requiredProperty := range(requiredProperties) {
+ if _, exists := allProperties[requiredProperty]; !exists {
+ return fmt.Errorf("no value given for required property %v", requiredProperty)
+ }
+ }
+
varPlanDetails := _PlanDetails{}
- if err = json.Unmarshal(bytes, &varPlanDetails); err == nil {
- *o = PlanDetails(varPlanDetails)
+ err = json.Unmarshal(bytes, &varPlanDetails)
+
+ if err != nil {
+ return err
}
+ *o = PlanDetails(varPlanDetails)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_post_check_permission_body.go b/clients/client/go/model_post_check_permission_body.go
index 1445f60ae8c..76b3af8aaca 100644
--- a/clients/client/go/model_post_check_permission_body.go
+++ b/clients/client/go/model_post_check_permission_body.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -15,6 +15,9 @@ import (
"encoding/json"
)
+// checks if the PostCheckPermissionBody type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &PostCheckPermissionBody{}
+
// PostCheckPermissionBody Check Permission using Post Request Body
type PostCheckPermissionBody struct {
// Namespace to query
@@ -50,7 +53,7 @@ func NewPostCheckPermissionBodyWithDefaults() *PostCheckPermissionBody {
// GetNamespace returns the Namespace field value if set, zero value otherwise.
func (o *PostCheckPermissionBody) GetNamespace() string {
- if o == nil || o.Namespace == nil {
+ if o == nil || IsNil(o.Namespace) {
var ret string
return ret
}
@@ -60,7 +63,7 @@ func (o *PostCheckPermissionBody) GetNamespace() string {
// GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PostCheckPermissionBody) GetNamespaceOk() (*string, bool) {
- if o == nil || o.Namespace == nil {
+ if o == nil || IsNil(o.Namespace) {
return nil, false
}
return o.Namespace, true
@@ -68,7 +71,7 @@ func (o *PostCheckPermissionBody) GetNamespaceOk() (*string, bool) {
// HasNamespace returns a boolean if a field has been set.
func (o *PostCheckPermissionBody) HasNamespace() bool {
- if o != nil && o.Namespace != nil {
+ if o != nil && !IsNil(o.Namespace) {
return true
}
@@ -82,7 +85,7 @@ func (o *PostCheckPermissionBody) SetNamespace(v string) {
// GetObject returns the Object field value if set, zero value otherwise.
func (o *PostCheckPermissionBody) GetObject() string {
- if o == nil || o.Object == nil {
+ if o == nil || IsNil(o.Object) {
var ret string
return ret
}
@@ -92,7 +95,7 @@ func (o *PostCheckPermissionBody) GetObject() string {
// GetObjectOk returns a tuple with the Object field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PostCheckPermissionBody) GetObjectOk() (*string, bool) {
- if o == nil || o.Object == nil {
+ if o == nil || IsNil(o.Object) {
return nil, false
}
return o.Object, true
@@ -100,7 +103,7 @@ func (o *PostCheckPermissionBody) GetObjectOk() (*string, bool) {
// HasObject returns a boolean if a field has been set.
func (o *PostCheckPermissionBody) HasObject() bool {
- if o != nil && o.Object != nil {
+ if o != nil && !IsNil(o.Object) {
return true
}
@@ -114,7 +117,7 @@ func (o *PostCheckPermissionBody) SetObject(v string) {
// GetRelation returns the Relation field value if set, zero value otherwise.
func (o *PostCheckPermissionBody) GetRelation() string {
- if o == nil || o.Relation == nil {
+ if o == nil || IsNil(o.Relation) {
var ret string
return ret
}
@@ -124,7 +127,7 @@ func (o *PostCheckPermissionBody) GetRelation() string {
// GetRelationOk returns a tuple with the Relation field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PostCheckPermissionBody) GetRelationOk() (*string, bool) {
- if o == nil || o.Relation == nil {
+ if o == nil || IsNil(o.Relation) {
return nil, false
}
return o.Relation, true
@@ -132,7 +135,7 @@ func (o *PostCheckPermissionBody) GetRelationOk() (*string, bool) {
// HasRelation returns a boolean if a field has been set.
func (o *PostCheckPermissionBody) HasRelation() bool {
- if o != nil && o.Relation != nil {
+ if o != nil && !IsNil(o.Relation) {
return true
}
@@ -146,7 +149,7 @@ func (o *PostCheckPermissionBody) SetRelation(v string) {
// GetSubjectId returns the SubjectId field value if set, zero value otherwise.
func (o *PostCheckPermissionBody) GetSubjectId() string {
- if o == nil || o.SubjectId == nil {
+ if o == nil || IsNil(o.SubjectId) {
var ret string
return ret
}
@@ -156,7 +159,7 @@ func (o *PostCheckPermissionBody) GetSubjectId() string {
// GetSubjectIdOk returns a tuple with the SubjectId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PostCheckPermissionBody) GetSubjectIdOk() (*string, bool) {
- if o == nil || o.SubjectId == nil {
+ if o == nil || IsNil(o.SubjectId) {
return nil, false
}
return o.SubjectId, true
@@ -164,7 +167,7 @@ func (o *PostCheckPermissionBody) GetSubjectIdOk() (*string, bool) {
// HasSubjectId returns a boolean if a field has been set.
func (o *PostCheckPermissionBody) HasSubjectId() bool {
- if o != nil && o.SubjectId != nil {
+ if o != nil && !IsNil(o.SubjectId) {
return true
}
@@ -178,7 +181,7 @@ func (o *PostCheckPermissionBody) SetSubjectId(v string) {
// GetSubjectSet returns the SubjectSet field value if set, zero value otherwise.
func (o *PostCheckPermissionBody) GetSubjectSet() SubjectSet {
- if o == nil || o.SubjectSet == nil {
+ if o == nil || IsNil(o.SubjectSet) {
var ret SubjectSet
return ret
}
@@ -188,7 +191,7 @@ func (o *PostCheckPermissionBody) GetSubjectSet() SubjectSet {
// GetSubjectSetOk returns a tuple with the SubjectSet field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PostCheckPermissionBody) GetSubjectSetOk() (*SubjectSet, bool) {
- if o == nil || o.SubjectSet == nil {
+ if o == nil || IsNil(o.SubjectSet) {
return nil, false
}
return o.SubjectSet, true
@@ -196,7 +199,7 @@ func (o *PostCheckPermissionBody) GetSubjectSetOk() (*SubjectSet, bool) {
// HasSubjectSet returns a boolean if a field has been set.
func (o *PostCheckPermissionBody) HasSubjectSet() bool {
- if o != nil && o.SubjectSet != nil {
+ if o != nil && !IsNil(o.SubjectSet) {
return true
}
@@ -209,20 +212,28 @@ func (o *PostCheckPermissionBody) SetSubjectSet(v SubjectSet) {
}
func (o PostCheckPermissionBody) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o PostCheckPermissionBody) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
- if o.Namespace != nil {
+ if !IsNil(o.Namespace) {
toSerialize["namespace"] = o.Namespace
}
- if o.Object != nil {
+ if !IsNil(o.Object) {
toSerialize["object"] = o.Object
}
- if o.Relation != nil {
+ if !IsNil(o.Relation) {
toSerialize["relation"] = o.Relation
}
- if o.SubjectId != nil {
+ if !IsNil(o.SubjectId) {
toSerialize["subject_id"] = o.SubjectId
}
- if o.SubjectSet != nil {
+ if !IsNil(o.SubjectSet) {
toSerialize["subject_set"] = o.SubjectSet
}
@@ -230,16 +241,20 @@ func (o PostCheckPermissionBody) MarshalJSON() ([]byte, error) {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *PostCheckPermissionBody) UnmarshalJSON(bytes []byte) (err error) {
varPostCheckPermissionBody := _PostCheckPermissionBody{}
- if err = json.Unmarshal(bytes, &varPostCheckPermissionBody); err == nil {
- *o = PostCheckPermissionBody(varPostCheckPermissionBody)
+ err = json.Unmarshal(bytes, &varPostCheckPermissionBody)
+
+ if err != nil {
+ return err
}
+ *o = PostCheckPermissionBody(varPostCheckPermissionBody)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_post_check_permission_or_error_body.go b/clients/client/go/model_post_check_permission_or_error_body.go
index 3f54fae68ca..60f84f07e04 100644
--- a/clients/client/go/model_post_check_permission_or_error_body.go
+++ b/clients/client/go/model_post_check_permission_or_error_body.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -15,6 +15,9 @@ import (
"encoding/json"
)
+// checks if the PostCheckPermissionOrErrorBody type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &PostCheckPermissionOrErrorBody{}
+
// PostCheckPermissionOrErrorBody Post Check Permission Or Error Body
type PostCheckPermissionOrErrorBody struct {
// Namespace to query
@@ -50,7 +53,7 @@ func NewPostCheckPermissionOrErrorBodyWithDefaults() *PostCheckPermissionOrError
// GetNamespace returns the Namespace field value if set, zero value otherwise.
func (o *PostCheckPermissionOrErrorBody) GetNamespace() string {
- if o == nil || o.Namespace == nil {
+ if o == nil || IsNil(o.Namespace) {
var ret string
return ret
}
@@ -60,7 +63,7 @@ func (o *PostCheckPermissionOrErrorBody) GetNamespace() string {
// GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PostCheckPermissionOrErrorBody) GetNamespaceOk() (*string, bool) {
- if o == nil || o.Namespace == nil {
+ if o == nil || IsNil(o.Namespace) {
return nil, false
}
return o.Namespace, true
@@ -68,7 +71,7 @@ func (o *PostCheckPermissionOrErrorBody) GetNamespaceOk() (*string, bool) {
// HasNamespace returns a boolean if a field has been set.
func (o *PostCheckPermissionOrErrorBody) HasNamespace() bool {
- if o != nil && o.Namespace != nil {
+ if o != nil && !IsNil(o.Namespace) {
return true
}
@@ -82,7 +85,7 @@ func (o *PostCheckPermissionOrErrorBody) SetNamespace(v string) {
// GetObject returns the Object field value if set, zero value otherwise.
func (o *PostCheckPermissionOrErrorBody) GetObject() string {
- if o == nil || o.Object == nil {
+ if o == nil || IsNil(o.Object) {
var ret string
return ret
}
@@ -92,7 +95,7 @@ func (o *PostCheckPermissionOrErrorBody) GetObject() string {
// GetObjectOk returns a tuple with the Object field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PostCheckPermissionOrErrorBody) GetObjectOk() (*string, bool) {
- if o == nil || o.Object == nil {
+ if o == nil || IsNil(o.Object) {
return nil, false
}
return o.Object, true
@@ -100,7 +103,7 @@ func (o *PostCheckPermissionOrErrorBody) GetObjectOk() (*string, bool) {
// HasObject returns a boolean if a field has been set.
func (o *PostCheckPermissionOrErrorBody) HasObject() bool {
- if o != nil && o.Object != nil {
+ if o != nil && !IsNil(o.Object) {
return true
}
@@ -114,7 +117,7 @@ func (o *PostCheckPermissionOrErrorBody) SetObject(v string) {
// GetRelation returns the Relation field value if set, zero value otherwise.
func (o *PostCheckPermissionOrErrorBody) GetRelation() string {
- if o == nil || o.Relation == nil {
+ if o == nil || IsNil(o.Relation) {
var ret string
return ret
}
@@ -124,7 +127,7 @@ func (o *PostCheckPermissionOrErrorBody) GetRelation() string {
// GetRelationOk returns a tuple with the Relation field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PostCheckPermissionOrErrorBody) GetRelationOk() (*string, bool) {
- if o == nil || o.Relation == nil {
+ if o == nil || IsNil(o.Relation) {
return nil, false
}
return o.Relation, true
@@ -132,7 +135,7 @@ func (o *PostCheckPermissionOrErrorBody) GetRelationOk() (*string, bool) {
// HasRelation returns a boolean if a field has been set.
func (o *PostCheckPermissionOrErrorBody) HasRelation() bool {
- if o != nil && o.Relation != nil {
+ if o != nil && !IsNil(o.Relation) {
return true
}
@@ -146,7 +149,7 @@ func (o *PostCheckPermissionOrErrorBody) SetRelation(v string) {
// GetSubjectId returns the SubjectId field value if set, zero value otherwise.
func (o *PostCheckPermissionOrErrorBody) GetSubjectId() string {
- if o == nil || o.SubjectId == nil {
+ if o == nil || IsNil(o.SubjectId) {
var ret string
return ret
}
@@ -156,7 +159,7 @@ func (o *PostCheckPermissionOrErrorBody) GetSubjectId() string {
// GetSubjectIdOk returns a tuple with the SubjectId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PostCheckPermissionOrErrorBody) GetSubjectIdOk() (*string, bool) {
- if o == nil || o.SubjectId == nil {
+ if o == nil || IsNil(o.SubjectId) {
return nil, false
}
return o.SubjectId, true
@@ -164,7 +167,7 @@ func (o *PostCheckPermissionOrErrorBody) GetSubjectIdOk() (*string, bool) {
// HasSubjectId returns a boolean if a field has been set.
func (o *PostCheckPermissionOrErrorBody) HasSubjectId() bool {
- if o != nil && o.SubjectId != nil {
+ if o != nil && !IsNil(o.SubjectId) {
return true
}
@@ -178,7 +181,7 @@ func (o *PostCheckPermissionOrErrorBody) SetSubjectId(v string) {
// GetSubjectSet returns the SubjectSet field value if set, zero value otherwise.
func (o *PostCheckPermissionOrErrorBody) GetSubjectSet() SubjectSet {
- if o == nil || o.SubjectSet == nil {
+ if o == nil || IsNil(o.SubjectSet) {
var ret SubjectSet
return ret
}
@@ -188,7 +191,7 @@ func (o *PostCheckPermissionOrErrorBody) GetSubjectSet() SubjectSet {
// GetSubjectSetOk returns a tuple with the SubjectSet field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PostCheckPermissionOrErrorBody) GetSubjectSetOk() (*SubjectSet, bool) {
- if o == nil || o.SubjectSet == nil {
+ if o == nil || IsNil(o.SubjectSet) {
return nil, false
}
return o.SubjectSet, true
@@ -196,7 +199,7 @@ func (o *PostCheckPermissionOrErrorBody) GetSubjectSetOk() (*SubjectSet, bool) {
// HasSubjectSet returns a boolean if a field has been set.
func (o *PostCheckPermissionOrErrorBody) HasSubjectSet() bool {
- if o != nil && o.SubjectSet != nil {
+ if o != nil && !IsNil(o.SubjectSet) {
return true
}
@@ -209,20 +212,28 @@ func (o *PostCheckPermissionOrErrorBody) SetSubjectSet(v SubjectSet) {
}
func (o PostCheckPermissionOrErrorBody) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o PostCheckPermissionOrErrorBody) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
- if o.Namespace != nil {
+ if !IsNil(o.Namespace) {
toSerialize["namespace"] = o.Namespace
}
- if o.Object != nil {
+ if !IsNil(o.Object) {
toSerialize["object"] = o.Object
}
- if o.Relation != nil {
+ if !IsNil(o.Relation) {
toSerialize["relation"] = o.Relation
}
- if o.SubjectId != nil {
+ if !IsNil(o.SubjectId) {
toSerialize["subject_id"] = o.SubjectId
}
- if o.SubjectSet != nil {
+ if !IsNil(o.SubjectSet) {
toSerialize["subject_set"] = o.SubjectSet
}
@@ -230,16 +241,20 @@ func (o PostCheckPermissionOrErrorBody) MarshalJSON() ([]byte, error) {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *PostCheckPermissionOrErrorBody) UnmarshalJSON(bytes []byte) (err error) {
varPostCheckPermissionOrErrorBody := _PostCheckPermissionOrErrorBody{}
- if err = json.Unmarshal(bytes, &varPostCheckPermissionOrErrorBody); err == nil {
- *o = PostCheckPermissionOrErrorBody(varPostCheckPermissionOrErrorBody)
+ err = json.Unmarshal(bytes, &varPostCheckPermissionOrErrorBody)
+
+ if err != nil {
+ return err
}
+ *o = PostCheckPermissionOrErrorBody(varPostCheckPermissionOrErrorBody)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_project.go b/clients/client/go/model_project.go
index 29efe9b9439..7f3d2703b4e 100644
--- a/clients/client/go/model_project.go
+++ b/clients/client/go/model_project.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -13,8 +13,12 @@ package client
import (
"encoding/json"
+ "fmt"
)
+// checks if the Project type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &Project{}
+
// Project struct for Project
type Project struct {
CorsAdmin ProjectCors `json:"cors_admin"`
@@ -253,46 +257,70 @@ func (o *Project) SetState(v string) {
}
func (o Project) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if true {
- toSerialize["cors_admin"] = o.CorsAdmin
- }
- if true {
- toSerialize["cors_public"] = o.CorsPublic
- }
- if true {
- toSerialize["id"] = o.Id
- }
- if true {
- toSerialize["name"] = o.Name
- }
- if true {
- toSerialize["revision_id"] = o.RevisionId
- }
- if true {
- toSerialize["services"] = o.Services
- }
- if true {
- toSerialize["slug"] = o.Slug
- }
- if true {
- toSerialize["state"] = o.State
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
}
+ return json.Marshal(toSerialize)
+}
+
+func (o Project) ToMap() (map[string]interface{}, error) {
+ toSerialize := map[string]interface{}{}
+ toSerialize["cors_admin"] = o.CorsAdmin
+ toSerialize["cors_public"] = o.CorsPublic
+ toSerialize["id"] = o.Id
+ toSerialize["name"] = o.Name
+ toSerialize["revision_id"] = o.RevisionId
+ toSerialize["services"] = o.Services
+ toSerialize["slug"] = o.Slug
+ toSerialize["state"] = o.State
for key, value := range o.AdditionalProperties {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *Project) UnmarshalJSON(bytes []byte) (err error) {
+ // This validates that all required properties are included in the JSON object
+ // by unmarshalling the object into a generic map with string keys and checking
+ // that every required field exists as a key in the generic map.
+ requiredProperties := []string{
+ "cors_admin",
+ "cors_public",
+ "id",
+ "name",
+ "revision_id",
+ "services",
+ "slug",
+ "state",
+ }
+
+ allProperties := make(map[string]interface{})
+
+ err = json.Unmarshal(bytes, &allProperties)
+
+ if err != nil {
+ return err;
+ }
+
+ for _, requiredProperty := range(requiredProperties) {
+ if _, exists := allProperties[requiredProperty]; !exists {
+ return fmt.Errorf("no value given for required property %v", requiredProperty)
+ }
+ }
+
varProject := _Project{}
- if err = json.Unmarshal(bytes, &varProject); err == nil {
- *o = Project(varProject)
+ err = json.Unmarshal(bytes, &varProject)
+
+ if err != nil {
+ return err
}
+ *o = Project(varProject)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_project_api_key.go b/clients/client/go/model_project_api_key.go
index 783bc173220..a4c625c811c 100644
--- a/clients/client/go/model_project_api_key.go
+++ b/clients/client/go/model_project_api_key.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -14,8 +14,12 @@ package client
import (
"encoding/json"
"time"
+ "fmt"
)
+// checks if the ProjectApiKey type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &ProjectApiKey{}
+
// ProjectApiKey struct for ProjectApiKey
type ProjectApiKey struct {
// The token's creation date
@@ -59,7 +63,7 @@ func NewProjectApiKeyWithDefaults() *ProjectApiKey {
// GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (o *ProjectApiKey) GetCreatedAt() time.Time {
- if o == nil || o.CreatedAt == nil {
+ if o == nil || IsNil(o.CreatedAt) {
var ret time.Time
return ret
}
@@ -69,7 +73,7 @@ func (o *ProjectApiKey) GetCreatedAt() time.Time {
// GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectApiKey) GetCreatedAtOk() (*time.Time, bool) {
- if o == nil || o.CreatedAt == nil {
+ if o == nil || IsNil(o.CreatedAt) {
return nil, false
}
return o.CreatedAt, true
@@ -77,7 +81,7 @@ func (o *ProjectApiKey) GetCreatedAtOk() (*time.Time, bool) {
// HasCreatedAt returns a boolean if a field has been set.
func (o *ProjectApiKey) HasCreatedAt() bool {
- if o != nil && o.CreatedAt != nil {
+ if o != nil && !IsNil(o.CreatedAt) {
return true
}
@@ -163,7 +167,7 @@ func (o *ProjectApiKey) SetOwnerId(v string) {
// GetProjectId returns the ProjectId field value if set, zero value otherwise.
func (o *ProjectApiKey) GetProjectId() string {
- if o == nil || o.ProjectId == nil {
+ if o == nil || IsNil(o.ProjectId) {
var ret string
return ret
}
@@ -173,7 +177,7 @@ func (o *ProjectApiKey) GetProjectId() string {
// GetProjectIdOk returns a tuple with the ProjectId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectApiKey) GetProjectIdOk() (*string, bool) {
- if o == nil || o.ProjectId == nil {
+ if o == nil || IsNil(o.ProjectId) {
return nil, false
}
return o.ProjectId, true
@@ -181,7 +185,7 @@ func (o *ProjectApiKey) GetProjectIdOk() (*string, bool) {
// HasProjectId returns a boolean if a field has been set.
func (o *ProjectApiKey) HasProjectId() bool {
- if o != nil && o.ProjectId != nil {
+ if o != nil && !IsNil(o.ProjectId) {
return true
}
@@ -195,7 +199,7 @@ func (o *ProjectApiKey) SetProjectId(v string) {
// GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (o *ProjectApiKey) GetUpdatedAt() time.Time {
- if o == nil || o.UpdatedAt == nil {
+ if o == nil || IsNil(o.UpdatedAt) {
var ret time.Time
return ret
}
@@ -205,7 +209,7 @@ func (o *ProjectApiKey) GetUpdatedAt() time.Time {
// GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectApiKey) GetUpdatedAtOk() (*time.Time, bool) {
- if o == nil || o.UpdatedAt == nil {
+ if o == nil || IsNil(o.UpdatedAt) {
return nil, false
}
return o.UpdatedAt, true
@@ -213,7 +217,7 @@ func (o *ProjectApiKey) GetUpdatedAtOk() (*time.Time, bool) {
// HasUpdatedAt returns a boolean if a field has been set.
func (o *ProjectApiKey) HasUpdatedAt() bool {
- if o != nil && o.UpdatedAt != nil {
+ if o != nil && !IsNil(o.UpdatedAt) {
return true
}
@@ -227,7 +231,7 @@ func (o *ProjectApiKey) SetUpdatedAt(v time.Time) {
// GetValue returns the Value field value if set, zero value otherwise.
func (o *ProjectApiKey) GetValue() string {
- if o == nil || o.Value == nil {
+ if o == nil || IsNil(o.Value) {
var ret string
return ret
}
@@ -237,7 +241,7 @@ func (o *ProjectApiKey) GetValue() string {
// GetValueOk returns a tuple with the Value field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectApiKey) GetValueOk() (*string, bool) {
- if o == nil || o.Value == nil {
+ if o == nil || IsNil(o.Value) {
return nil, false
}
return o.Value, true
@@ -245,7 +249,7 @@ func (o *ProjectApiKey) GetValueOk() (*string, bool) {
// HasValue returns a boolean if a field has been set.
func (o *ProjectApiKey) HasValue() bool {
- if o != nil && o.Value != nil {
+ if o != nil && !IsNil(o.Value) {
return true
}
@@ -258,26 +262,28 @@ func (o *ProjectApiKey) SetValue(v string) {
}
func (o ProjectApiKey) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o ProjectApiKey) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
- if o.CreatedAt != nil {
+ if !IsNil(o.CreatedAt) {
toSerialize["created_at"] = o.CreatedAt
}
- if true {
- toSerialize["id"] = o.Id
- }
- if true {
- toSerialize["name"] = o.Name
- }
- if true {
- toSerialize["owner_id"] = o.OwnerId
- }
- if o.ProjectId != nil {
+ toSerialize["id"] = o.Id
+ toSerialize["name"] = o.Name
+ toSerialize["owner_id"] = o.OwnerId
+ if !IsNil(o.ProjectId) {
toSerialize["project_id"] = o.ProjectId
}
- if o.UpdatedAt != nil {
+ if !IsNil(o.UpdatedAt) {
toSerialize["updated_at"] = o.UpdatedAt
}
- if o.Value != nil {
+ if !IsNil(o.Value) {
toSerialize["value"] = o.Value
}
@@ -285,16 +291,43 @@ func (o ProjectApiKey) MarshalJSON() ([]byte, error) {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *ProjectApiKey) UnmarshalJSON(bytes []byte) (err error) {
+ // This validates that all required properties are included in the JSON object
+ // by unmarshalling the object into a generic map with string keys and checking
+ // that every required field exists as a key in the generic map.
+ requiredProperties := []string{
+ "id",
+ "name",
+ "owner_id",
+ }
+
+ allProperties := make(map[string]interface{})
+
+ err = json.Unmarshal(bytes, &allProperties)
+
+ if err != nil {
+ return err;
+ }
+
+ for _, requiredProperty := range(requiredProperties) {
+ if _, exists := allProperties[requiredProperty]; !exists {
+ return fmt.Errorf("no value given for required property %v", requiredProperty)
+ }
+ }
+
varProjectApiKey := _ProjectApiKey{}
- if err = json.Unmarshal(bytes, &varProjectApiKey); err == nil {
- *o = ProjectApiKey(varProjectApiKey)
+ err = json.Unmarshal(bytes, &varProjectApiKey)
+
+ if err != nil {
+ return err
}
+ *o = ProjectApiKey(varProjectApiKey)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_project_branding.go b/clients/client/go/model_project_branding.go
index 655fadbc22d..b26928376b8 100644
--- a/clients/client/go/model_project_branding.go
+++ b/clients/client/go/model_project_branding.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -14,8 +14,12 @@ package client
import (
"encoding/json"
"time"
+ "fmt"
)
+// checks if the ProjectBranding type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &ProjectBranding{}
+
// ProjectBranding struct for ProjectBranding
type ProjectBranding struct {
// The Customization Creation Date
@@ -201,40 +205,66 @@ func (o *ProjectBranding) SetUpdatedAt(v time.Time) {
}
func (o ProjectBranding) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if true {
- toSerialize["created_at"] = o.CreatedAt
- }
- if true {
- toSerialize["default_theme"] = o.DefaultTheme
- }
- if true {
- toSerialize["id"] = o.Id
- }
- if true {
- toSerialize["project_id"] = o.ProjectId
- }
- if true {
- toSerialize["themes"] = o.Themes
- }
- if true {
- toSerialize["updated_at"] = o.UpdatedAt
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
}
+ return json.Marshal(toSerialize)
+}
+
+func (o ProjectBranding) ToMap() (map[string]interface{}, error) {
+ toSerialize := map[string]interface{}{}
+ toSerialize["created_at"] = o.CreatedAt
+ toSerialize["default_theme"] = o.DefaultTheme
+ toSerialize["id"] = o.Id
+ toSerialize["project_id"] = o.ProjectId
+ toSerialize["themes"] = o.Themes
+ toSerialize["updated_at"] = o.UpdatedAt
for key, value := range o.AdditionalProperties {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *ProjectBranding) UnmarshalJSON(bytes []byte) (err error) {
+ // This validates that all required properties are included in the JSON object
+ // by unmarshalling the object into a generic map with string keys and checking
+ // that every required field exists as a key in the generic map.
+ requiredProperties := []string{
+ "created_at",
+ "default_theme",
+ "id",
+ "project_id",
+ "themes",
+ "updated_at",
+ }
+
+ allProperties := make(map[string]interface{})
+
+ err = json.Unmarshal(bytes, &allProperties)
+
+ if err != nil {
+ return err;
+ }
+
+ for _, requiredProperty := range(requiredProperties) {
+ if _, exists := allProperties[requiredProperty]; !exists {
+ return fmt.Errorf("no value given for required property %v", requiredProperty)
+ }
+ }
+
varProjectBranding := _ProjectBranding{}
- if err = json.Unmarshal(bytes, &varProjectBranding); err == nil {
- *o = ProjectBranding(varProjectBranding)
+ err = json.Unmarshal(bytes, &varProjectBranding)
+
+ if err != nil {
+ return err
}
+ *o = ProjectBranding(varProjectBranding)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_project_branding_colors.go b/clients/client/go/model_project_branding_colors.go
index eac20fd4b7c..c079414a452 100644
--- a/clients/client/go/model_project_branding_colors.go
+++ b/clients/client/go/model_project_branding_colors.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -15,6 +15,9 @@ import (
"encoding/json"
)
+// checks if the ProjectBrandingColors type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &ProjectBrandingColors{}
+
// ProjectBrandingColors struct for ProjectBrandingColors
type ProjectBrandingColors struct {
// AccentDefaultColor is a hex color code used by the Ory Account Experience theme.
@@ -99,7 +102,7 @@ func NewProjectBrandingColorsWithDefaults() *ProjectBrandingColors {
// GetAccentDefaultColor returns the AccentDefaultColor field value if set, zero value otherwise.
func (o *ProjectBrandingColors) GetAccentDefaultColor() string {
- if o == nil || o.AccentDefaultColor == nil {
+ if o == nil || IsNil(o.AccentDefaultColor) {
var ret string
return ret
}
@@ -109,7 +112,7 @@ func (o *ProjectBrandingColors) GetAccentDefaultColor() string {
// GetAccentDefaultColorOk returns a tuple with the AccentDefaultColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingColors) GetAccentDefaultColorOk() (*string, bool) {
- if o == nil || o.AccentDefaultColor == nil {
+ if o == nil || IsNil(o.AccentDefaultColor) {
return nil, false
}
return o.AccentDefaultColor, true
@@ -117,7 +120,7 @@ func (o *ProjectBrandingColors) GetAccentDefaultColorOk() (*string, bool) {
// HasAccentDefaultColor returns a boolean if a field has been set.
func (o *ProjectBrandingColors) HasAccentDefaultColor() bool {
- if o != nil && o.AccentDefaultColor != nil {
+ if o != nil && !IsNil(o.AccentDefaultColor) {
return true
}
@@ -131,7 +134,7 @@ func (o *ProjectBrandingColors) SetAccentDefaultColor(v string) {
// GetAccentDisabledColor returns the AccentDisabledColor field value if set, zero value otherwise.
func (o *ProjectBrandingColors) GetAccentDisabledColor() string {
- if o == nil || o.AccentDisabledColor == nil {
+ if o == nil || IsNil(o.AccentDisabledColor) {
var ret string
return ret
}
@@ -141,7 +144,7 @@ func (o *ProjectBrandingColors) GetAccentDisabledColor() string {
// GetAccentDisabledColorOk returns a tuple with the AccentDisabledColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingColors) GetAccentDisabledColorOk() (*string, bool) {
- if o == nil || o.AccentDisabledColor == nil {
+ if o == nil || IsNil(o.AccentDisabledColor) {
return nil, false
}
return o.AccentDisabledColor, true
@@ -149,7 +152,7 @@ func (o *ProjectBrandingColors) GetAccentDisabledColorOk() (*string, bool) {
// HasAccentDisabledColor returns a boolean if a field has been set.
func (o *ProjectBrandingColors) HasAccentDisabledColor() bool {
- if o != nil && o.AccentDisabledColor != nil {
+ if o != nil && !IsNil(o.AccentDisabledColor) {
return true
}
@@ -163,7 +166,7 @@ func (o *ProjectBrandingColors) SetAccentDisabledColor(v string) {
// GetAccentEmphasisColor returns the AccentEmphasisColor field value if set, zero value otherwise.
func (o *ProjectBrandingColors) GetAccentEmphasisColor() string {
- if o == nil || o.AccentEmphasisColor == nil {
+ if o == nil || IsNil(o.AccentEmphasisColor) {
var ret string
return ret
}
@@ -173,7 +176,7 @@ func (o *ProjectBrandingColors) GetAccentEmphasisColor() string {
// GetAccentEmphasisColorOk returns a tuple with the AccentEmphasisColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingColors) GetAccentEmphasisColorOk() (*string, bool) {
- if o == nil || o.AccentEmphasisColor == nil {
+ if o == nil || IsNil(o.AccentEmphasisColor) {
return nil, false
}
return o.AccentEmphasisColor, true
@@ -181,7 +184,7 @@ func (o *ProjectBrandingColors) GetAccentEmphasisColorOk() (*string, bool) {
// HasAccentEmphasisColor returns a boolean if a field has been set.
func (o *ProjectBrandingColors) HasAccentEmphasisColor() bool {
- if o != nil && o.AccentEmphasisColor != nil {
+ if o != nil && !IsNil(o.AccentEmphasisColor) {
return true
}
@@ -195,7 +198,7 @@ func (o *ProjectBrandingColors) SetAccentEmphasisColor(v string) {
// GetAccentMutedColor returns the AccentMutedColor field value if set, zero value otherwise.
func (o *ProjectBrandingColors) GetAccentMutedColor() string {
- if o == nil || o.AccentMutedColor == nil {
+ if o == nil || IsNil(o.AccentMutedColor) {
var ret string
return ret
}
@@ -205,7 +208,7 @@ func (o *ProjectBrandingColors) GetAccentMutedColor() string {
// GetAccentMutedColorOk returns a tuple with the AccentMutedColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingColors) GetAccentMutedColorOk() (*string, bool) {
- if o == nil || o.AccentMutedColor == nil {
+ if o == nil || IsNil(o.AccentMutedColor) {
return nil, false
}
return o.AccentMutedColor, true
@@ -213,7 +216,7 @@ func (o *ProjectBrandingColors) GetAccentMutedColorOk() (*string, bool) {
// HasAccentMutedColor returns a boolean if a field has been set.
func (o *ProjectBrandingColors) HasAccentMutedColor() bool {
- if o != nil && o.AccentMutedColor != nil {
+ if o != nil && !IsNil(o.AccentMutedColor) {
return true
}
@@ -227,7 +230,7 @@ func (o *ProjectBrandingColors) SetAccentMutedColor(v string) {
// GetAccentSubtleColor returns the AccentSubtleColor field value if set, zero value otherwise.
func (o *ProjectBrandingColors) GetAccentSubtleColor() string {
- if o == nil || o.AccentSubtleColor == nil {
+ if o == nil || IsNil(o.AccentSubtleColor) {
var ret string
return ret
}
@@ -237,7 +240,7 @@ func (o *ProjectBrandingColors) GetAccentSubtleColor() string {
// GetAccentSubtleColorOk returns a tuple with the AccentSubtleColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingColors) GetAccentSubtleColorOk() (*string, bool) {
- if o == nil || o.AccentSubtleColor == nil {
+ if o == nil || IsNil(o.AccentSubtleColor) {
return nil, false
}
return o.AccentSubtleColor, true
@@ -245,7 +248,7 @@ func (o *ProjectBrandingColors) GetAccentSubtleColorOk() (*string, bool) {
// HasAccentSubtleColor returns a boolean if a field has been set.
func (o *ProjectBrandingColors) HasAccentSubtleColor() bool {
- if o != nil && o.AccentSubtleColor != nil {
+ if o != nil && !IsNil(o.AccentSubtleColor) {
return true
}
@@ -259,7 +262,7 @@ func (o *ProjectBrandingColors) SetAccentSubtleColor(v string) {
// GetBackgroundCanvasColor returns the BackgroundCanvasColor field value if set, zero value otherwise.
func (o *ProjectBrandingColors) GetBackgroundCanvasColor() string {
- if o == nil || o.BackgroundCanvasColor == nil {
+ if o == nil || IsNil(o.BackgroundCanvasColor) {
var ret string
return ret
}
@@ -269,7 +272,7 @@ func (o *ProjectBrandingColors) GetBackgroundCanvasColor() string {
// GetBackgroundCanvasColorOk returns a tuple with the BackgroundCanvasColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingColors) GetBackgroundCanvasColorOk() (*string, bool) {
- if o == nil || o.BackgroundCanvasColor == nil {
+ if o == nil || IsNil(o.BackgroundCanvasColor) {
return nil, false
}
return o.BackgroundCanvasColor, true
@@ -277,7 +280,7 @@ func (o *ProjectBrandingColors) GetBackgroundCanvasColorOk() (*string, bool) {
// HasBackgroundCanvasColor returns a boolean if a field has been set.
func (o *ProjectBrandingColors) HasBackgroundCanvasColor() bool {
- if o != nil && o.BackgroundCanvasColor != nil {
+ if o != nil && !IsNil(o.BackgroundCanvasColor) {
return true
}
@@ -291,7 +294,7 @@ func (o *ProjectBrandingColors) SetBackgroundCanvasColor(v string) {
// GetBackgroundSubtleColor returns the BackgroundSubtleColor field value if set, zero value otherwise.
func (o *ProjectBrandingColors) GetBackgroundSubtleColor() string {
- if o == nil || o.BackgroundSubtleColor == nil {
+ if o == nil || IsNil(o.BackgroundSubtleColor) {
var ret string
return ret
}
@@ -301,7 +304,7 @@ func (o *ProjectBrandingColors) GetBackgroundSubtleColor() string {
// GetBackgroundSubtleColorOk returns a tuple with the BackgroundSubtleColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingColors) GetBackgroundSubtleColorOk() (*string, bool) {
- if o == nil || o.BackgroundSubtleColor == nil {
+ if o == nil || IsNil(o.BackgroundSubtleColor) {
return nil, false
}
return o.BackgroundSubtleColor, true
@@ -309,7 +312,7 @@ func (o *ProjectBrandingColors) GetBackgroundSubtleColorOk() (*string, bool) {
// HasBackgroundSubtleColor returns a boolean if a field has been set.
func (o *ProjectBrandingColors) HasBackgroundSubtleColor() bool {
- if o != nil && o.BackgroundSubtleColor != nil {
+ if o != nil && !IsNil(o.BackgroundSubtleColor) {
return true
}
@@ -323,7 +326,7 @@ func (o *ProjectBrandingColors) SetBackgroundSubtleColor(v string) {
// GetBackgroundSurfaceColor returns the BackgroundSurfaceColor field value if set, zero value otherwise.
func (o *ProjectBrandingColors) GetBackgroundSurfaceColor() string {
- if o == nil || o.BackgroundSurfaceColor == nil {
+ if o == nil || IsNil(o.BackgroundSurfaceColor) {
var ret string
return ret
}
@@ -333,7 +336,7 @@ func (o *ProjectBrandingColors) GetBackgroundSurfaceColor() string {
// GetBackgroundSurfaceColorOk returns a tuple with the BackgroundSurfaceColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingColors) GetBackgroundSurfaceColorOk() (*string, bool) {
- if o == nil || o.BackgroundSurfaceColor == nil {
+ if o == nil || IsNil(o.BackgroundSurfaceColor) {
return nil, false
}
return o.BackgroundSurfaceColor, true
@@ -341,7 +344,7 @@ func (o *ProjectBrandingColors) GetBackgroundSurfaceColorOk() (*string, bool) {
// HasBackgroundSurfaceColor returns a boolean if a field has been set.
func (o *ProjectBrandingColors) HasBackgroundSurfaceColor() bool {
- if o != nil && o.BackgroundSurfaceColor != nil {
+ if o != nil && !IsNil(o.BackgroundSurfaceColor) {
return true
}
@@ -355,7 +358,7 @@ func (o *ProjectBrandingColors) SetBackgroundSurfaceColor(v string) {
// GetBorderDefaultColor returns the BorderDefaultColor field value if set, zero value otherwise.
func (o *ProjectBrandingColors) GetBorderDefaultColor() string {
- if o == nil || o.BorderDefaultColor == nil {
+ if o == nil || IsNil(o.BorderDefaultColor) {
var ret string
return ret
}
@@ -365,7 +368,7 @@ func (o *ProjectBrandingColors) GetBorderDefaultColor() string {
// GetBorderDefaultColorOk returns a tuple with the BorderDefaultColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingColors) GetBorderDefaultColorOk() (*string, bool) {
- if o == nil || o.BorderDefaultColor == nil {
+ if o == nil || IsNil(o.BorderDefaultColor) {
return nil, false
}
return o.BorderDefaultColor, true
@@ -373,7 +376,7 @@ func (o *ProjectBrandingColors) GetBorderDefaultColorOk() (*string, bool) {
// HasBorderDefaultColor returns a boolean if a field has been set.
func (o *ProjectBrandingColors) HasBorderDefaultColor() bool {
- if o != nil && o.BorderDefaultColor != nil {
+ if o != nil && !IsNil(o.BorderDefaultColor) {
return true
}
@@ -387,7 +390,7 @@ func (o *ProjectBrandingColors) SetBorderDefaultColor(v string) {
// GetErrorDefaultColor returns the ErrorDefaultColor field value if set, zero value otherwise.
func (o *ProjectBrandingColors) GetErrorDefaultColor() string {
- if o == nil || o.ErrorDefaultColor == nil {
+ if o == nil || IsNil(o.ErrorDefaultColor) {
var ret string
return ret
}
@@ -397,7 +400,7 @@ func (o *ProjectBrandingColors) GetErrorDefaultColor() string {
// GetErrorDefaultColorOk returns a tuple with the ErrorDefaultColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingColors) GetErrorDefaultColorOk() (*string, bool) {
- if o == nil || o.ErrorDefaultColor == nil {
+ if o == nil || IsNil(o.ErrorDefaultColor) {
return nil, false
}
return o.ErrorDefaultColor, true
@@ -405,7 +408,7 @@ func (o *ProjectBrandingColors) GetErrorDefaultColorOk() (*string, bool) {
// HasErrorDefaultColor returns a boolean if a field has been set.
func (o *ProjectBrandingColors) HasErrorDefaultColor() bool {
- if o != nil && o.ErrorDefaultColor != nil {
+ if o != nil && !IsNil(o.ErrorDefaultColor) {
return true
}
@@ -419,7 +422,7 @@ func (o *ProjectBrandingColors) SetErrorDefaultColor(v string) {
// GetErrorEmphasisColor returns the ErrorEmphasisColor field value if set, zero value otherwise.
func (o *ProjectBrandingColors) GetErrorEmphasisColor() string {
- if o == nil || o.ErrorEmphasisColor == nil {
+ if o == nil || IsNil(o.ErrorEmphasisColor) {
var ret string
return ret
}
@@ -429,7 +432,7 @@ func (o *ProjectBrandingColors) GetErrorEmphasisColor() string {
// GetErrorEmphasisColorOk returns a tuple with the ErrorEmphasisColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingColors) GetErrorEmphasisColorOk() (*string, bool) {
- if o == nil || o.ErrorEmphasisColor == nil {
+ if o == nil || IsNil(o.ErrorEmphasisColor) {
return nil, false
}
return o.ErrorEmphasisColor, true
@@ -437,7 +440,7 @@ func (o *ProjectBrandingColors) GetErrorEmphasisColorOk() (*string, bool) {
// HasErrorEmphasisColor returns a boolean if a field has been set.
func (o *ProjectBrandingColors) HasErrorEmphasisColor() bool {
- if o != nil && o.ErrorEmphasisColor != nil {
+ if o != nil && !IsNil(o.ErrorEmphasisColor) {
return true
}
@@ -451,7 +454,7 @@ func (o *ProjectBrandingColors) SetErrorEmphasisColor(v string) {
// GetErrorMutedColor returns the ErrorMutedColor field value if set, zero value otherwise.
func (o *ProjectBrandingColors) GetErrorMutedColor() string {
- if o == nil || o.ErrorMutedColor == nil {
+ if o == nil || IsNil(o.ErrorMutedColor) {
var ret string
return ret
}
@@ -461,7 +464,7 @@ func (o *ProjectBrandingColors) GetErrorMutedColor() string {
// GetErrorMutedColorOk returns a tuple with the ErrorMutedColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingColors) GetErrorMutedColorOk() (*string, bool) {
- if o == nil || o.ErrorMutedColor == nil {
+ if o == nil || IsNil(o.ErrorMutedColor) {
return nil, false
}
return o.ErrorMutedColor, true
@@ -469,7 +472,7 @@ func (o *ProjectBrandingColors) GetErrorMutedColorOk() (*string, bool) {
// HasErrorMutedColor returns a boolean if a field has been set.
func (o *ProjectBrandingColors) HasErrorMutedColor() bool {
- if o != nil && o.ErrorMutedColor != nil {
+ if o != nil && !IsNil(o.ErrorMutedColor) {
return true
}
@@ -483,7 +486,7 @@ func (o *ProjectBrandingColors) SetErrorMutedColor(v string) {
// GetErrorSubtleColor returns the ErrorSubtleColor field value if set, zero value otherwise.
func (o *ProjectBrandingColors) GetErrorSubtleColor() string {
- if o == nil || o.ErrorSubtleColor == nil {
+ if o == nil || IsNil(o.ErrorSubtleColor) {
var ret string
return ret
}
@@ -493,7 +496,7 @@ func (o *ProjectBrandingColors) GetErrorSubtleColor() string {
// GetErrorSubtleColorOk returns a tuple with the ErrorSubtleColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingColors) GetErrorSubtleColorOk() (*string, bool) {
- if o == nil || o.ErrorSubtleColor == nil {
+ if o == nil || IsNil(o.ErrorSubtleColor) {
return nil, false
}
return o.ErrorSubtleColor, true
@@ -501,7 +504,7 @@ func (o *ProjectBrandingColors) GetErrorSubtleColorOk() (*string, bool) {
// HasErrorSubtleColor returns a boolean if a field has been set.
func (o *ProjectBrandingColors) HasErrorSubtleColor() bool {
- if o != nil && o.ErrorSubtleColor != nil {
+ if o != nil && !IsNil(o.ErrorSubtleColor) {
return true
}
@@ -515,7 +518,7 @@ func (o *ProjectBrandingColors) SetErrorSubtleColor(v string) {
// GetForegroundDefaultColor returns the ForegroundDefaultColor field value if set, zero value otherwise.
func (o *ProjectBrandingColors) GetForegroundDefaultColor() string {
- if o == nil || o.ForegroundDefaultColor == nil {
+ if o == nil || IsNil(o.ForegroundDefaultColor) {
var ret string
return ret
}
@@ -525,7 +528,7 @@ func (o *ProjectBrandingColors) GetForegroundDefaultColor() string {
// GetForegroundDefaultColorOk returns a tuple with the ForegroundDefaultColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingColors) GetForegroundDefaultColorOk() (*string, bool) {
- if o == nil || o.ForegroundDefaultColor == nil {
+ if o == nil || IsNil(o.ForegroundDefaultColor) {
return nil, false
}
return o.ForegroundDefaultColor, true
@@ -533,7 +536,7 @@ func (o *ProjectBrandingColors) GetForegroundDefaultColorOk() (*string, bool) {
// HasForegroundDefaultColor returns a boolean if a field has been set.
func (o *ProjectBrandingColors) HasForegroundDefaultColor() bool {
- if o != nil && o.ForegroundDefaultColor != nil {
+ if o != nil && !IsNil(o.ForegroundDefaultColor) {
return true
}
@@ -547,7 +550,7 @@ func (o *ProjectBrandingColors) SetForegroundDefaultColor(v string) {
// GetForegroundDisabledColor returns the ForegroundDisabledColor field value if set, zero value otherwise.
func (o *ProjectBrandingColors) GetForegroundDisabledColor() string {
- if o == nil || o.ForegroundDisabledColor == nil {
+ if o == nil || IsNil(o.ForegroundDisabledColor) {
var ret string
return ret
}
@@ -557,7 +560,7 @@ func (o *ProjectBrandingColors) GetForegroundDisabledColor() string {
// GetForegroundDisabledColorOk returns a tuple with the ForegroundDisabledColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingColors) GetForegroundDisabledColorOk() (*string, bool) {
- if o == nil || o.ForegroundDisabledColor == nil {
+ if o == nil || IsNil(o.ForegroundDisabledColor) {
return nil, false
}
return o.ForegroundDisabledColor, true
@@ -565,7 +568,7 @@ func (o *ProjectBrandingColors) GetForegroundDisabledColorOk() (*string, bool) {
// HasForegroundDisabledColor returns a boolean if a field has been set.
func (o *ProjectBrandingColors) HasForegroundDisabledColor() bool {
- if o != nil && o.ForegroundDisabledColor != nil {
+ if o != nil && !IsNil(o.ForegroundDisabledColor) {
return true
}
@@ -579,7 +582,7 @@ func (o *ProjectBrandingColors) SetForegroundDisabledColor(v string) {
// GetForegroundMutedColor returns the ForegroundMutedColor field value if set, zero value otherwise.
func (o *ProjectBrandingColors) GetForegroundMutedColor() string {
- if o == nil || o.ForegroundMutedColor == nil {
+ if o == nil || IsNil(o.ForegroundMutedColor) {
var ret string
return ret
}
@@ -589,7 +592,7 @@ func (o *ProjectBrandingColors) GetForegroundMutedColor() string {
// GetForegroundMutedColorOk returns a tuple with the ForegroundMutedColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingColors) GetForegroundMutedColorOk() (*string, bool) {
- if o == nil || o.ForegroundMutedColor == nil {
+ if o == nil || IsNil(o.ForegroundMutedColor) {
return nil, false
}
return o.ForegroundMutedColor, true
@@ -597,7 +600,7 @@ func (o *ProjectBrandingColors) GetForegroundMutedColorOk() (*string, bool) {
// HasForegroundMutedColor returns a boolean if a field has been set.
func (o *ProjectBrandingColors) HasForegroundMutedColor() bool {
- if o != nil && o.ForegroundMutedColor != nil {
+ if o != nil && !IsNil(o.ForegroundMutedColor) {
return true
}
@@ -611,7 +614,7 @@ func (o *ProjectBrandingColors) SetForegroundMutedColor(v string) {
// GetForegroundOnAccentColor returns the ForegroundOnAccentColor field value if set, zero value otherwise.
func (o *ProjectBrandingColors) GetForegroundOnAccentColor() string {
- if o == nil || o.ForegroundOnAccentColor == nil {
+ if o == nil || IsNil(o.ForegroundOnAccentColor) {
var ret string
return ret
}
@@ -621,7 +624,7 @@ func (o *ProjectBrandingColors) GetForegroundOnAccentColor() string {
// GetForegroundOnAccentColorOk returns a tuple with the ForegroundOnAccentColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingColors) GetForegroundOnAccentColorOk() (*string, bool) {
- if o == nil || o.ForegroundOnAccentColor == nil {
+ if o == nil || IsNil(o.ForegroundOnAccentColor) {
return nil, false
}
return o.ForegroundOnAccentColor, true
@@ -629,7 +632,7 @@ func (o *ProjectBrandingColors) GetForegroundOnAccentColorOk() (*string, bool) {
// HasForegroundOnAccentColor returns a boolean if a field has been set.
func (o *ProjectBrandingColors) HasForegroundOnAccentColor() bool {
- if o != nil && o.ForegroundOnAccentColor != nil {
+ if o != nil && !IsNil(o.ForegroundOnAccentColor) {
return true
}
@@ -643,7 +646,7 @@ func (o *ProjectBrandingColors) SetForegroundOnAccentColor(v string) {
// GetForegroundOnDarkColor returns the ForegroundOnDarkColor field value if set, zero value otherwise.
func (o *ProjectBrandingColors) GetForegroundOnDarkColor() string {
- if o == nil || o.ForegroundOnDarkColor == nil {
+ if o == nil || IsNil(o.ForegroundOnDarkColor) {
var ret string
return ret
}
@@ -653,7 +656,7 @@ func (o *ProjectBrandingColors) GetForegroundOnDarkColor() string {
// GetForegroundOnDarkColorOk returns a tuple with the ForegroundOnDarkColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingColors) GetForegroundOnDarkColorOk() (*string, bool) {
- if o == nil || o.ForegroundOnDarkColor == nil {
+ if o == nil || IsNil(o.ForegroundOnDarkColor) {
return nil, false
}
return o.ForegroundOnDarkColor, true
@@ -661,7 +664,7 @@ func (o *ProjectBrandingColors) GetForegroundOnDarkColorOk() (*string, bool) {
// HasForegroundOnDarkColor returns a boolean if a field has been set.
func (o *ProjectBrandingColors) HasForegroundOnDarkColor() bool {
- if o != nil && o.ForegroundOnDarkColor != nil {
+ if o != nil && !IsNil(o.ForegroundOnDarkColor) {
return true
}
@@ -675,7 +678,7 @@ func (o *ProjectBrandingColors) SetForegroundOnDarkColor(v string) {
// GetForegroundOnDisabledColor returns the ForegroundOnDisabledColor field value if set, zero value otherwise.
func (o *ProjectBrandingColors) GetForegroundOnDisabledColor() string {
- if o == nil || o.ForegroundOnDisabledColor == nil {
+ if o == nil || IsNil(o.ForegroundOnDisabledColor) {
var ret string
return ret
}
@@ -685,7 +688,7 @@ func (o *ProjectBrandingColors) GetForegroundOnDisabledColor() string {
// GetForegroundOnDisabledColorOk returns a tuple with the ForegroundOnDisabledColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingColors) GetForegroundOnDisabledColorOk() (*string, bool) {
- if o == nil || o.ForegroundOnDisabledColor == nil {
+ if o == nil || IsNil(o.ForegroundOnDisabledColor) {
return nil, false
}
return o.ForegroundOnDisabledColor, true
@@ -693,7 +696,7 @@ func (o *ProjectBrandingColors) GetForegroundOnDisabledColorOk() (*string, bool)
// HasForegroundOnDisabledColor returns a boolean if a field has been set.
func (o *ProjectBrandingColors) HasForegroundOnDisabledColor() bool {
- if o != nil && o.ForegroundOnDisabledColor != nil {
+ if o != nil && !IsNil(o.ForegroundOnDisabledColor) {
return true
}
@@ -707,7 +710,7 @@ func (o *ProjectBrandingColors) SetForegroundOnDisabledColor(v string) {
// GetForegroundSubtleColor returns the ForegroundSubtleColor field value if set, zero value otherwise.
func (o *ProjectBrandingColors) GetForegroundSubtleColor() string {
- if o == nil || o.ForegroundSubtleColor == nil {
+ if o == nil || IsNil(o.ForegroundSubtleColor) {
var ret string
return ret
}
@@ -717,7 +720,7 @@ func (o *ProjectBrandingColors) GetForegroundSubtleColor() string {
// GetForegroundSubtleColorOk returns a tuple with the ForegroundSubtleColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingColors) GetForegroundSubtleColorOk() (*string, bool) {
- if o == nil || o.ForegroundSubtleColor == nil {
+ if o == nil || IsNil(o.ForegroundSubtleColor) {
return nil, false
}
return o.ForegroundSubtleColor, true
@@ -725,7 +728,7 @@ func (o *ProjectBrandingColors) GetForegroundSubtleColorOk() (*string, bool) {
// HasForegroundSubtleColor returns a boolean if a field has been set.
func (o *ProjectBrandingColors) HasForegroundSubtleColor() bool {
- if o != nil && o.ForegroundSubtleColor != nil {
+ if o != nil && !IsNil(o.ForegroundSubtleColor) {
return true
}
@@ -739,7 +742,7 @@ func (o *ProjectBrandingColors) SetForegroundSubtleColor(v string) {
// GetInputBackgroundColor returns the InputBackgroundColor field value if set, zero value otherwise.
func (o *ProjectBrandingColors) GetInputBackgroundColor() string {
- if o == nil || o.InputBackgroundColor == nil {
+ if o == nil || IsNil(o.InputBackgroundColor) {
var ret string
return ret
}
@@ -749,7 +752,7 @@ func (o *ProjectBrandingColors) GetInputBackgroundColor() string {
// GetInputBackgroundColorOk returns a tuple with the InputBackgroundColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingColors) GetInputBackgroundColorOk() (*string, bool) {
- if o == nil || o.InputBackgroundColor == nil {
+ if o == nil || IsNil(o.InputBackgroundColor) {
return nil, false
}
return o.InputBackgroundColor, true
@@ -757,7 +760,7 @@ func (o *ProjectBrandingColors) GetInputBackgroundColorOk() (*string, bool) {
// HasInputBackgroundColor returns a boolean if a field has been set.
func (o *ProjectBrandingColors) HasInputBackgroundColor() bool {
- if o != nil && o.InputBackgroundColor != nil {
+ if o != nil && !IsNil(o.InputBackgroundColor) {
return true
}
@@ -771,7 +774,7 @@ func (o *ProjectBrandingColors) SetInputBackgroundColor(v string) {
// GetInputDisabledColor returns the InputDisabledColor field value if set, zero value otherwise.
func (o *ProjectBrandingColors) GetInputDisabledColor() string {
- if o == nil || o.InputDisabledColor == nil {
+ if o == nil || IsNil(o.InputDisabledColor) {
var ret string
return ret
}
@@ -781,7 +784,7 @@ func (o *ProjectBrandingColors) GetInputDisabledColor() string {
// GetInputDisabledColorOk returns a tuple with the InputDisabledColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingColors) GetInputDisabledColorOk() (*string, bool) {
- if o == nil || o.InputDisabledColor == nil {
+ if o == nil || IsNil(o.InputDisabledColor) {
return nil, false
}
return o.InputDisabledColor, true
@@ -789,7 +792,7 @@ func (o *ProjectBrandingColors) GetInputDisabledColorOk() (*string, bool) {
// HasInputDisabledColor returns a boolean if a field has been set.
func (o *ProjectBrandingColors) HasInputDisabledColor() bool {
- if o != nil && o.InputDisabledColor != nil {
+ if o != nil && !IsNil(o.InputDisabledColor) {
return true
}
@@ -803,7 +806,7 @@ func (o *ProjectBrandingColors) SetInputDisabledColor(v string) {
// GetInputPlaceholderColor returns the InputPlaceholderColor field value if set, zero value otherwise.
func (o *ProjectBrandingColors) GetInputPlaceholderColor() string {
- if o == nil || o.InputPlaceholderColor == nil {
+ if o == nil || IsNil(o.InputPlaceholderColor) {
var ret string
return ret
}
@@ -813,7 +816,7 @@ func (o *ProjectBrandingColors) GetInputPlaceholderColor() string {
// GetInputPlaceholderColorOk returns a tuple with the InputPlaceholderColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingColors) GetInputPlaceholderColorOk() (*string, bool) {
- if o == nil || o.InputPlaceholderColor == nil {
+ if o == nil || IsNil(o.InputPlaceholderColor) {
return nil, false
}
return o.InputPlaceholderColor, true
@@ -821,7 +824,7 @@ func (o *ProjectBrandingColors) GetInputPlaceholderColorOk() (*string, bool) {
// HasInputPlaceholderColor returns a boolean if a field has been set.
func (o *ProjectBrandingColors) HasInputPlaceholderColor() bool {
- if o != nil && o.InputPlaceholderColor != nil {
+ if o != nil && !IsNil(o.InputPlaceholderColor) {
return true
}
@@ -835,7 +838,7 @@ func (o *ProjectBrandingColors) SetInputPlaceholderColor(v string) {
// GetInputTextColor returns the InputTextColor field value if set, zero value otherwise.
func (o *ProjectBrandingColors) GetInputTextColor() string {
- if o == nil || o.InputTextColor == nil {
+ if o == nil || IsNil(o.InputTextColor) {
var ret string
return ret
}
@@ -845,7 +848,7 @@ func (o *ProjectBrandingColors) GetInputTextColor() string {
// GetInputTextColorOk returns a tuple with the InputTextColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingColors) GetInputTextColorOk() (*string, bool) {
- if o == nil || o.InputTextColor == nil {
+ if o == nil || IsNil(o.InputTextColor) {
return nil, false
}
return o.InputTextColor, true
@@ -853,7 +856,7 @@ func (o *ProjectBrandingColors) GetInputTextColorOk() (*string, bool) {
// HasInputTextColor returns a boolean if a field has been set.
func (o *ProjectBrandingColors) HasInputTextColor() bool {
- if o != nil && o.InputTextColor != nil {
+ if o != nil && !IsNil(o.InputTextColor) {
return true
}
@@ -867,7 +870,7 @@ func (o *ProjectBrandingColors) SetInputTextColor(v string) {
// GetPrimaryColor returns the PrimaryColor field value if set, zero value otherwise.
func (o *ProjectBrandingColors) GetPrimaryColor() string {
- if o == nil || o.PrimaryColor == nil {
+ if o == nil || IsNil(o.PrimaryColor) {
var ret string
return ret
}
@@ -877,7 +880,7 @@ func (o *ProjectBrandingColors) GetPrimaryColor() string {
// GetPrimaryColorOk returns a tuple with the PrimaryColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingColors) GetPrimaryColorOk() (*string, bool) {
- if o == nil || o.PrimaryColor == nil {
+ if o == nil || IsNil(o.PrimaryColor) {
return nil, false
}
return o.PrimaryColor, true
@@ -885,7 +888,7 @@ func (o *ProjectBrandingColors) GetPrimaryColorOk() (*string, bool) {
// HasPrimaryColor returns a boolean if a field has been set.
func (o *ProjectBrandingColors) HasPrimaryColor() bool {
- if o != nil && o.PrimaryColor != nil {
+ if o != nil && !IsNil(o.PrimaryColor) {
return true
}
@@ -899,7 +902,7 @@ func (o *ProjectBrandingColors) SetPrimaryColor(v string) {
// GetSecondaryColor returns the SecondaryColor field value if set, zero value otherwise.
func (o *ProjectBrandingColors) GetSecondaryColor() string {
- if o == nil || o.SecondaryColor == nil {
+ if o == nil || IsNil(o.SecondaryColor) {
var ret string
return ret
}
@@ -909,7 +912,7 @@ func (o *ProjectBrandingColors) GetSecondaryColor() string {
// GetSecondaryColorOk returns a tuple with the SecondaryColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingColors) GetSecondaryColorOk() (*string, bool) {
- if o == nil || o.SecondaryColor == nil {
+ if o == nil || IsNil(o.SecondaryColor) {
return nil, false
}
return o.SecondaryColor, true
@@ -917,7 +920,7 @@ func (o *ProjectBrandingColors) GetSecondaryColorOk() (*string, bool) {
// HasSecondaryColor returns a boolean if a field has been set.
func (o *ProjectBrandingColors) HasSecondaryColor() bool {
- if o != nil && o.SecondaryColor != nil {
+ if o != nil && !IsNil(o.SecondaryColor) {
return true
}
@@ -931,7 +934,7 @@ func (o *ProjectBrandingColors) SetSecondaryColor(v string) {
// GetSuccessEmphasisColor returns the SuccessEmphasisColor field value if set, zero value otherwise.
func (o *ProjectBrandingColors) GetSuccessEmphasisColor() string {
- if o == nil || o.SuccessEmphasisColor == nil {
+ if o == nil || IsNil(o.SuccessEmphasisColor) {
var ret string
return ret
}
@@ -941,7 +944,7 @@ func (o *ProjectBrandingColors) GetSuccessEmphasisColor() string {
// GetSuccessEmphasisColorOk returns a tuple with the SuccessEmphasisColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingColors) GetSuccessEmphasisColorOk() (*string, bool) {
- if o == nil || o.SuccessEmphasisColor == nil {
+ if o == nil || IsNil(o.SuccessEmphasisColor) {
return nil, false
}
return o.SuccessEmphasisColor, true
@@ -949,7 +952,7 @@ func (o *ProjectBrandingColors) GetSuccessEmphasisColorOk() (*string, bool) {
// HasSuccessEmphasisColor returns a boolean if a field has been set.
func (o *ProjectBrandingColors) HasSuccessEmphasisColor() bool {
- if o != nil && o.SuccessEmphasisColor != nil {
+ if o != nil && !IsNil(o.SuccessEmphasisColor) {
return true
}
@@ -963,7 +966,7 @@ func (o *ProjectBrandingColors) SetSuccessEmphasisColor(v string) {
// GetTextDefaultColor returns the TextDefaultColor field value if set, zero value otherwise.
func (o *ProjectBrandingColors) GetTextDefaultColor() string {
- if o == nil || o.TextDefaultColor == nil {
+ if o == nil || IsNil(o.TextDefaultColor) {
var ret string
return ret
}
@@ -973,7 +976,7 @@ func (o *ProjectBrandingColors) GetTextDefaultColor() string {
// GetTextDefaultColorOk returns a tuple with the TextDefaultColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingColors) GetTextDefaultColorOk() (*string, bool) {
- if o == nil || o.TextDefaultColor == nil {
+ if o == nil || IsNil(o.TextDefaultColor) {
return nil, false
}
return o.TextDefaultColor, true
@@ -981,7 +984,7 @@ func (o *ProjectBrandingColors) GetTextDefaultColorOk() (*string, bool) {
// HasTextDefaultColor returns a boolean if a field has been set.
func (o *ProjectBrandingColors) HasTextDefaultColor() bool {
- if o != nil && o.TextDefaultColor != nil {
+ if o != nil && !IsNil(o.TextDefaultColor) {
return true
}
@@ -995,7 +998,7 @@ func (o *ProjectBrandingColors) SetTextDefaultColor(v string) {
// GetTextDisabledColor returns the TextDisabledColor field value if set, zero value otherwise.
func (o *ProjectBrandingColors) GetTextDisabledColor() string {
- if o == nil || o.TextDisabledColor == nil {
+ if o == nil || IsNil(o.TextDisabledColor) {
var ret string
return ret
}
@@ -1005,7 +1008,7 @@ func (o *ProjectBrandingColors) GetTextDisabledColor() string {
// GetTextDisabledColorOk returns a tuple with the TextDisabledColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingColors) GetTextDisabledColorOk() (*string, bool) {
- if o == nil || o.TextDisabledColor == nil {
+ if o == nil || IsNil(o.TextDisabledColor) {
return nil, false
}
return o.TextDisabledColor, true
@@ -1013,7 +1016,7 @@ func (o *ProjectBrandingColors) GetTextDisabledColorOk() (*string, bool) {
// HasTextDisabledColor returns a boolean if a field has been set.
func (o *ProjectBrandingColors) HasTextDisabledColor() bool {
- if o != nil && o.TextDisabledColor != nil {
+ if o != nil && !IsNil(o.TextDisabledColor) {
return true
}
@@ -1026,92 +1029,100 @@ func (o *ProjectBrandingColors) SetTextDisabledColor(v string) {
}
func (o ProjectBrandingColors) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o ProjectBrandingColors) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
- if o.AccentDefaultColor != nil {
+ if !IsNil(o.AccentDefaultColor) {
toSerialize["accent_default_color"] = o.AccentDefaultColor
}
- if o.AccentDisabledColor != nil {
+ if !IsNil(o.AccentDisabledColor) {
toSerialize["accent_disabled_color"] = o.AccentDisabledColor
}
- if o.AccentEmphasisColor != nil {
+ if !IsNil(o.AccentEmphasisColor) {
toSerialize["accent_emphasis_color"] = o.AccentEmphasisColor
}
- if o.AccentMutedColor != nil {
+ if !IsNil(o.AccentMutedColor) {
toSerialize["accent_muted_color"] = o.AccentMutedColor
}
- if o.AccentSubtleColor != nil {
+ if !IsNil(o.AccentSubtleColor) {
toSerialize["accent_subtle_color"] = o.AccentSubtleColor
}
- if o.BackgroundCanvasColor != nil {
+ if !IsNil(o.BackgroundCanvasColor) {
toSerialize["background_canvas_color"] = o.BackgroundCanvasColor
}
- if o.BackgroundSubtleColor != nil {
+ if !IsNil(o.BackgroundSubtleColor) {
toSerialize["background_subtle_color"] = o.BackgroundSubtleColor
}
- if o.BackgroundSurfaceColor != nil {
+ if !IsNil(o.BackgroundSurfaceColor) {
toSerialize["background_surface_color"] = o.BackgroundSurfaceColor
}
- if o.BorderDefaultColor != nil {
+ if !IsNil(o.BorderDefaultColor) {
toSerialize["border_default_color"] = o.BorderDefaultColor
}
- if o.ErrorDefaultColor != nil {
+ if !IsNil(o.ErrorDefaultColor) {
toSerialize["error_default_color"] = o.ErrorDefaultColor
}
- if o.ErrorEmphasisColor != nil {
+ if !IsNil(o.ErrorEmphasisColor) {
toSerialize["error_emphasis_color"] = o.ErrorEmphasisColor
}
- if o.ErrorMutedColor != nil {
+ if !IsNil(o.ErrorMutedColor) {
toSerialize["error_muted_color"] = o.ErrorMutedColor
}
- if o.ErrorSubtleColor != nil {
+ if !IsNil(o.ErrorSubtleColor) {
toSerialize["error_subtle_color"] = o.ErrorSubtleColor
}
- if o.ForegroundDefaultColor != nil {
+ if !IsNil(o.ForegroundDefaultColor) {
toSerialize["foreground_default_color"] = o.ForegroundDefaultColor
}
- if o.ForegroundDisabledColor != nil {
+ if !IsNil(o.ForegroundDisabledColor) {
toSerialize["foreground_disabled_color"] = o.ForegroundDisabledColor
}
- if o.ForegroundMutedColor != nil {
+ if !IsNil(o.ForegroundMutedColor) {
toSerialize["foreground_muted_color"] = o.ForegroundMutedColor
}
- if o.ForegroundOnAccentColor != nil {
+ if !IsNil(o.ForegroundOnAccentColor) {
toSerialize["foreground_on_accent_color"] = o.ForegroundOnAccentColor
}
- if o.ForegroundOnDarkColor != nil {
+ if !IsNil(o.ForegroundOnDarkColor) {
toSerialize["foreground_on_dark_color"] = o.ForegroundOnDarkColor
}
- if o.ForegroundOnDisabledColor != nil {
+ if !IsNil(o.ForegroundOnDisabledColor) {
toSerialize["foreground_on_disabled_color"] = o.ForegroundOnDisabledColor
}
- if o.ForegroundSubtleColor != nil {
+ if !IsNil(o.ForegroundSubtleColor) {
toSerialize["foreground_subtle_color"] = o.ForegroundSubtleColor
}
- if o.InputBackgroundColor != nil {
+ if !IsNil(o.InputBackgroundColor) {
toSerialize["input_background_color"] = o.InputBackgroundColor
}
- if o.InputDisabledColor != nil {
+ if !IsNil(o.InputDisabledColor) {
toSerialize["input_disabled_color"] = o.InputDisabledColor
}
- if o.InputPlaceholderColor != nil {
+ if !IsNil(o.InputPlaceholderColor) {
toSerialize["input_placeholder_color"] = o.InputPlaceholderColor
}
- if o.InputTextColor != nil {
+ if !IsNil(o.InputTextColor) {
toSerialize["input_text_color"] = o.InputTextColor
}
- if o.PrimaryColor != nil {
+ if !IsNil(o.PrimaryColor) {
toSerialize["primary_color"] = o.PrimaryColor
}
- if o.SecondaryColor != nil {
+ if !IsNil(o.SecondaryColor) {
toSerialize["secondary_color"] = o.SecondaryColor
}
- if o.SuccessEmphasisColor != nil {
+ if !IsNil(o.SuccessEmphasisColor) {
toSerialize["success_emphasis_color"] = o.SuccessEmphasisColor
}
- if o.TextDefaultColor != nil {
+ if !IsNil(o.TextDefaultColor) {
toSerialize["text_default_color"] = o.TextDefaultColor
}
- if o.TextDisabledColor != nil {
+ if !IsNil(o.TextDisabledColor) {
toSerialize["text_disabled_color"] = o.TextDisabledColor
}
@@ -1119,16 +1130,20 @@ func (o ProjectBrandingColors) MarshalJSON() ([]byte, error) {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *ProjectBrandingColors) UnmarshalJSON(bytes []byte) (err error) {
varProjectBrandingColors := _ProjectBrandingColors{}
- if err = json.Unmarshal(bytes, &varProjectBrandingColors); err == nil {
- *o = ProjectBrandingColors(varProjectBrandingColors)
+ err = json.Unmarshal(bytes, &varProjectBrandingColors)
+
+ if err != nil {
+ return err
}
+ *o = ProjectBrandingColors(varProjectBrandingColors)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_project_branding_theme.go b/clients/client/go/model_project_branding_theme.go
index 2567bd1c105..35d82b0f0cc 100644
--- a/clients/client/go/model_project_branding_theme.go
+++ b/clients/client/go/model_project_branding_theme.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -14,8 +14,12 @@ package client
import (
"encoding/json"
"time"
+ "fmt"
)
+// checks if the ProjectBrandingTheme type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &ProjectBrandingTheme{}
+
// ProjectBrandingTheme struct for ProjectBrandingTheme
type ProjectBrandingTheme struct {
// AccentDefaultColor is a hex color code used by the Ory Account Experience theme.
@@ -123,7 +127,7 @@ func NewProjectBrandingThemeWithDefaults() *ProjectBrandingTheme {
// GetAccentDefaultColor returns the AccentDefaultColor field value if set, zero value otherwise.
func (o *ProjectBrandingTheme) GetAccentDefaultColor() string {
- if o == nil || o.AccentDefaultColor == nil {
+ if o == nil || IsNil(o.AccentDefaultColor) {
var ret string
return ret
}
@@ -133,7 +137,7 @@ func (o *ProjectBrandingTheme) GetAccentDefaultColor() string {
// GetAccentDefaultColorOk returns a tuple with the AccentDefaultColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingTheme) GetAccentDefaultColorOk() (*string, bool) {
- if o == nil || o.AccentDefaultColor == nil {
+ if o == nil || IsNil(o.AccentDefaultColor) {
return nil, false
}
return o.AccentDefaultColor, true
@@ -141,7 +145,7 @@ func (o *ProjectBrandingTheme) GetAccentDefaultColorOk() (*string, bool) {
// HasAccentDefaultColor returns a boolean if a field has been set.
func (o *ProjectBrandingTheme) HasAccentDefaultColor() bool {
- if o != nil && o.AccentDefaultColor != nil {
+ if o != nil && !IsNil(o.AccentDefaultColor) {
return true
}
@@ -155,7 +159,7 @@ func (o *ProjectBrandingTheme) SetAccentDefaultColor(v string) {
// GetAccentDisabledColor returns the AccentDisabledColor field value if set, zero value otherwise.
func (o *ProjectBrandingTheme) GetAccentDisabledColor() string {
- if o == nil || o.AccentDisabledColor == nil {
+ if o == nil || IsNil(o.AccentDisabledColor) {
var ret string
return ret
}
@@ -165,7 +169,7 @@ func (o *ProjectBrandingTheme) GetAccentDisabledColor() string {
// GetAccentDisabledColorOk returns a tuple with the AccentDisabledColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingTheme) GetAccentDisabledColorOk() (*string, bool) {
- if o == nil || o.AccentDisabledColor == nil {
+ if o == nil || IsNil(o.AccentDisabledColor) {
return nil, false
}
return o.AccentDisabledColor, true
@@ -173,7 +177,7 @@ func (o *ProjectBrandingTheme) GetAccentDisabledColorOk() (*string, bool) {
// HasAccentDisabledColor returns a boolean if a field has been set.
func (o *ProjectBrandingTheme) HasAccentDisabledColor() bool {
- if o != nil && o.AccentDisabledColor != nil {
+ if o != nil && !IsNil(o.AccentDisabledColor) {
return true
}
@@ -187,7 +191,7 @@ func (o *ProjectBrandingTheme) SetAccentDisabledColor(v string) {
// GetAccentEmphasisColor returns the AccentEmphasisColor field value if set, zero value otherwise.
func (o *ProjectBrandingTheme) GetAccentEmphasisColor() string {
- if o == nil || o.AccentEmphasisColor == nil {
+ if o == nil || IsNil(o.AccentEmphasisColor) {
var ret string
return ret
}
@@ -197,7 +201,7 @@ func (o *ProjectBrandingTheme) GetAccentEmphasisColor() string {
// GetAccentEmphasisColorOk returns a tuple with the AccentEmphasisColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingTheme) GetAccentEmphasisColorOk() (*string, bool) {
- if o == nil || o.AccentEmphasisColor == nil {
+ if o == nil || IsNil(o.AccentEmphasisColor) {
return nil, false
}
return o.AccentEmphasisColor, true
@@ -205,7 +209,7 @@ func (o *ProjectBrandingTheme) GetAccentEmphasisColorOk() (*string, bool) {
// HasAccentEmphasisColor returns a boolean if a field has been set.
func (o *ProjectBrandingTheme) HasAccentEmphasisColor() bool {
- if o != nil && o.AccentEmphasisColor != nil {
+ if o != nil && !IsNil(o.AccentEmphasisColor) {
return true
}
@@ -219,7 +223,7 @@ func (o *ProjectBrandingTheme) SetAccentEmphasisColor(v string) {
// GetAccentMutedColor returns the AccentMutedColor field value if set, zero value otherwise.
func (o *ProjectBrandingTheme) GetAccentMutedColor() string {
- if o == nil || o.AccentMutedColor == nil {
+ if o == nil || IsNil(o.AccentMutedColor) {
var ret string
return ret
}
@@ -229,7 +233,7 @@ func (o *ProjectBrandingTheme) GetAccentMutedColor() string {
// GetAccentMutedColorOk returns a tuple with the AccentMutedColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingTheme) GetAccentMutedColorOk() (*string, bool) {
- if o == nil || o.AccentMutedColor == nil {
+ if o == nil || IsNil(o.AccentMutedColor) {
return nil, false
}
return o.AccentMutedColor, true
@@ -237,7 +241,7 @@ func (o *ProjectBrandingTheme) GetAccentMutedColorOk() (*string, bool) {
// HasAccentMutedColor returns a boolean if a field has been set.
func (o *ProjectBrandingTheme) HasAccentMutedColor() bool {
- if o != nil && o.AccentMutedColor != nil {
+ if o != nil && !IsNil(o.AccentMutedColor) {
return true
}
@@ -251,7 +255,7 @@ func (o *ProjectBrandingTheme) SetAccentMutedColor(v string) {
// GetAccentSubtleColor returns the AccentSubtleColor field value if set, zero value otherwise.
func (o *ProjectBrandingTheme) GetAccentSubtleColor() string {
- if o == nil || o.AccentSubtleColor == nil {
+ if o == nil || IsNil(o.AccentSubtleColor) {
var ret string
return ret
}
@@ -261,7 +265,7 @@ func (o *ProjectBrandingTheme) GetAccentSubtleColor() string {
// GetAccentSubtleColorOk returns a tuple with the AccentSubtleColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingTheme) GetAccentSubtleColorOk() (*string, bool) {
- if o == nil || o.AccentSubtleColor == nil {
+ if o == nil || IsNil(o.AccentSubtleColor) {
return nil, false
}
return o.AccentSubtleColor, true
@@ -269,7 +273,7 @@ func (o *ProjectBrandingTheme) GetAccentSubtleColorOk() (*string, bool) {
// HasAccentSubtleColor returns a boolean if a field has been set.
func (o *ProjectBrandingTheme) HasAccentSubtleColor() bool {
- if o != nil && o.AccentSubtleColor != nil {
+ if o != nil && !IsNil(o.AccentSubtleColor) {
return true
}
@@ -283,7 +287,7 @@ func (o *ProjectBrandingTheme) SetAccentSubtleColor(v string) {
// GetBackgroundCanvasColor returns the BackgroundCanvasColor field value if set, zero value otherwise.
func (o *ProjectBrandingTheme) GetBackgroundCanvasColor() string {
- if o == nil || o.BackgroundCanvasColor == nil {
+ if o == nil || IsNil(o.BackgroundCanvasColor) {
var ret string
return ret
}
@@ -293,7 +297,7 @@ func (o *ProjectBrandingTheme) GetBackgroundCanvasColor() string {
// GetBackgroundCanvasColorOk returns a tuple with the BackgroundCanvasColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingTheme) GetBackgroundCanvasColorOk() (*string, bool) {
- if o == nil || o.BackgroundCanvasColor == nil {
+ if o == nil || IsNil(o.BackgroundCanvasColor) {
return nil, false
}
return o.BackgroundCanvasColor, true
@@ -301,7 +305,7 @@ func (o *ProjectBrandingTheme) GetBackgroundCanvasColorOk() (*string, bool) {
// HasBackgroundCanvasColor returns a boolean if a field has been set.
func (o *ProjectBrandingTheme) HasBackgroundCanvasColor() bool {
- if o != nil && o.BackgroundCanvasColor != nil {
+ if o != nil && !IsNil(o.BackgroundCanvasColor) {
return true
}
@@ -315,7 +319,7 @@ func (o *ProjectBrandingTheme) SetBackgroundCanvasColor(v string) {
// GetBackgroundSubtleColor returns the BackgroundSubtleColor field value if set, zero value otherwise.
func (o *ProjectBrandingTheme) GetBackgroundSubtleColor() string {
- if o == nil || o.BackgroundSubtleColor == nil {
+ if o == nil || IsNil(o.BackgroundSubtleColor) {
var ret string
return ret
}
@@ -325,7 +329,7 @@ func (o *ProjectBrandingTheme) GetBackgroundSubtleColor() string {
// GetBackgroundSubtleColorOk returns a tuple with the BackgroundSubtleColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingTheme) GetBackgroundSubtleColorOk() (*string, bool) {
- if o == nil || o.BackgroundSubtleColor == nil {
+ if o == nil || IsNil(o.BackgroundSubtleColor) {
return nil, false
}
return o.BackgroundSubtleColor, true
@@ -333,7 +337,7 @@ func (o *ProjectBrandingTheme) GetBackgroundSubtleColorOk() (*string, bool) {
// HasBackgroundSubtleColor returns a boolean if a field has been set.
func (o *ProjectBrandingTheme) HasBackgroundSubtleColor() bool {
- if o != nil && o.BackgroundSubtleColor != nil {
+ if o != nil && !IsNil(o.BackgroundSubtleColor) {
return true
}
@@ -347,7 +351,7 @@ func (o *ProjectBrandingTheme) SetBackgroundSubtleColor(v string) {
// GetBackgroundSurfaceColor returns the BackgroundSurfaceColor field value if set, zero value otherwise.
func (o *ProjectBrandingTheme) GetBackgroundSurfaceColor() string {
- if o == nil || o.BackgroundSurfaceColor == nil {
+ if o == nil || IsNil(o.BackgroundSurfaceColor) {
var ret string
return ret
}
@@ -357,7 +361,7 @@ func (o *ProjectBrandingTheme) GetBackgroundSurfaceColor() string {
// GetBackgroundSurfaceColorOk returns a tuple with the BackgroundSurfaceColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingTheme) GetBackgroundSurfaceColorOk() (*string, bool) {
- if o == nil || o.BackgroundSurfaceColor == nil {
+ if o == nil || IsNil(o.BackgroundSurfaceColor) {
return nil, false
}
return o.BackgroundSurfaceColor, true
@@ -365,7 +369,7 @@ func (o *ProjectBrandingTheme) GetBackgroundSurfaceColorOk() (*string, bool) {
// HasBackgroundSurfaceColor returns a boolean if a field has been set.
func (o *ProjectBrandingTheme) HasBackgroundSurfaceColor() bool {
- if o != nil && o.BackgroundSurfaceColor != nil {
+ if o != nil && !IsNil(o.BackgroundSurfaceColor) {
return true
}
@@ -379,7 +383,7 @@ func (o *ProjectBrandingTheme) SetBackgroundSurfaceColor(v string) {
// GetBorderDefaultColor returns the BorderDefaultColor field value if set, zero value otherwise.
func (o *ProjectBrandingTheme) GetBorderDefaultColor() string {
- if o == nil || o.BorderDefaultColor == nil {
+ if o == nil || IsNil(o.BorderDefaultColor) {
var ret string
return ret
}
@@ -389,7 +393,7 @@ func (o *ProjectBrandingTheme) GetBorderDefaultColor() string {
// GetBorderDefaultColorOk returns a tuple with the BorderDefaultColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingTheme) GetBorderDefaultColorOk() (*string, bool) {
- if o == nil || o.BorderDefaultColor == nil {
+ if o == nil || IsNil(o.BorderDefaultColor) {
return nil, false
}
return o.BorderDefaultColor, true
@@ -397,7 +401,7 @@ func (o *ProjectBrandingTheme) GetBorderDefaultColorOk() (*string, bool) {
// HasBorderDefaultColor returns a boolean if a field has been set.
func (o *ProjectBrandingTheme) HasBorderDefaultColor() bool {
- if o != nil && o.BorderDefaultColor != nil {
+ if o != nil && !IsNil(o.BorderDefaultColor) {
return true
}
@@ -435,7 +439,7 @@ func (o *ProjectBrandingTheme) SetCreatedAt(v time.Time) {
// GetErrorDefaultColor returns the ErrorDefaultColor field value if set, zero value otherwise.
func (o *ProjectBrandingTheme) GetErrorDefaultColor() string {
- if o == nil || o.ErrorDefaultColor == nil {
+ if o == nil || IsNil(o.ErrorDefaultColor) {
var ret string
return ret
}
@@ -445,7 +449,7 @@ func (o *ProjectBrandingTheme) GetErrorDefaultColor() string {
// GetErrorDefaultColorOk returns a tuple with the ErrorDefaultColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingTheme) GetErrorDefaultColorOk() (*string, bool) {
- if o == nil || o.ErrorDefaultColor == nil {
+ if o == nil || IsNil(o.ErrorDefaultColor) {
return nil, false
}
return o.ErrorDefaultColor, true
@@ -453,7 +457,7 @@ func (o *ProjectBrandingTheme) GetErrorDefaultColorOk() (*string, bool) {
// HasErrorDefaultColor returns a boolean if a field has been set.
func (o *ProjectBrandingTheme) HasErrorDefaultColor() bool {
- if o != nil && o.ErrorDefaultColor != nil {
+ if o != nil && !IsNil(o.ErrorDefaultColor) {
return true
}
@@ -467,7 +471,7 @@ func (o *ProjectBrandingTheme) SetErrorDefaultColor(v string) {
// GetErrorEmphasisColor returns the ErrorEmphasisColor field value if set, zero value otherwise.
func (o *ProjectBrandingTheme) GetErrorEmphasisColor() string {
- if o == nil || o.ErrorEmphasisColor == nil {
+ if o == nil || IsNil(o.ErrorEmphasisColor) {
var ret string
return ret
}
@@ -477,7 +481,7 @@ func (o *ProjectBrandingTheme) GetErrorEmphasisColor() string {
// GetErrorEmphasisColorOk returns a tuple with the ErrorEmphasisColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingTheme) GetErrorEmphasisColorOk() (*string, bool) {
- if o == nil || o.ErrorEmphasisColor == nil {
+ if o == nil || IsNil(o.ErrorEmphasisColor) {
return nil, false
}
return o.ErrorEmphasisColor, true
@@ -485,7 +489,7 @@ func (o *ProjectBrandingTheme) GetErrorEmphasisColorOk() (*string, bool) {
// HasErrorEmphasisColor returns a boolean if a field has been set.
func (o *ProjectBrandingTheme) HasErrorEmphasisColor() bool {
- if o != nil && o.ErrorEmphasisColor != nil {
+ if o != nil && !IsNil(o.ErrorEmphasisColor) {
return true
}
@@ -499,7 +503,7 @@ func (o *ProjectBrandingTheme) SetErrorEmphasisColor(v string) {
// GetErrorMutedColor returns the ErrorMutedColor field value if set, zero value otherwise.
func (o *ProjectBrandingTheme) GetErrorMutedColor() string {
- if o == nil || o.ErrorMutedColor == nil {
+ if o == nil || IsNil(o.ErrorMutedColor) {
var ret string
return ret
}
@@ -509,7 +513,7 @@ func (o *ProjectBrandingTheme) GetErrorMutedColor() string {
// GetErrorMutedColorOk returns a tuple with the ErrorMutedColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingTheme) GetErrorMutedColorOk() (*string, bool) {
- if o == nil || o.ErrorMutedColor == nil {
+ if o == nil || IsNil(o.ErrorMutedColor) {
return nil, false
}
return o.ErrorMutedColor, true
@@ -517,7 +521,7 @@ func (o *ProjectBrandingTheme) GetErrorMutedColorOk() (*string, bool) {
// HasErrorMutedColor returns a boolean if a field has been set.
func (o *ProjectBrandingTheme) HasErrorMutedColor() bool {
- if o != nil && o.ErrorMutedColor != nil {
+ if o != nil && !IsNil(o.ErrorMutedColor) {
return true
}
@@ -531,7 +535,7 @@ func (o *ProjectBrandingTheme) SetErrorMutedColor(v string) {
// GetErrorSubtleColor returns the ErrorSubtleColor field value if set, zero value otherwise.
func (o *ProjectBrandingTheme) GetErrorSubtleColor() string {
- if o == nil || o.ErrorSubtleColor == nil {
+ if o == nil || IsNil(o.ErrorSubtleColor) {
var ret string
return ret
}
@@ -541,7 +545,7 @@ func (o *ProjectBrandingTheme) GetErrorSubtleColor() string {
// GetErrorSubtleColorOk returns a tuple with the ErrorSubtleColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingTheme) GetErrorSubtleColorOk() (*string, bool) {
- if o == nil || o.ErrorSubtleColor == nil {
+ if o == nil || IsNil(o.ErrorSubtleColor) {
return nil, false
}
return o.ErrorSubtleColor, true
@@ -549,7 +553,7 @@ func (o *ProjectBrandingTheme) GetErrorSubtleColorOk() (*string, bool) {
// HasErrorSubtleColor returns a boolean if a field has been set.
func (o *ProjectBrandingTheme) HasErrorSubtleColor() bool {
- if o != nil && o.ErrorSubtleColor != nil {
+ if o != nil && !IsNil(o.ErrorSubtleColor) {
return true
}
@@ -563,7 +567,7 @@ func (o *ProjectBrandingTheme) SetErrorSubtleColor(v string) {
// GetFaviconType returns the FaviconType field value if set, zero value otherwise.
func (o *ProjectBrandingTheme) GetFaviconType() string {
- if o == nil || o.FaviconType == nil {
+ if o == nil || IsNil(o.FaviconType) {
var ret string
return ret
}
@@ -573,7 +577,7 @@ func (o *ProjectBrandingTheme) GetFaviconType() string {
// GetFaviconTypeOk returns a tuple with the FaviconType field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingTheme) GetFaviconTypeOk() (*string, bool) {
- if o == nil || o.FaviconType == nil {
+ if o == nil || IsNil(o.FaviconType) {
return nil, false
}
return o.FaviconType, true
@@ -581,7 +585,7 @@ func (o *ProjectBrandingTheme) GetFaviconTypeOk() (*string, bool) {
// HasFaviconType returns a boolean if a field has been set.
func (o *ProjectBrandingTheme) HasFaviconType() bool {
- if o != nil && o.FaviconType != nil {
+ if o != nil && !IsNil(o.FaviconType) {
return true
}
@@ -595,7 +599,7 @@ func (o *ProjectBrandingTheme) SetFaviconType(v string) {
// GetFaviconUrl returns the FaviconUrl field value if set, zero value otherwise.
func (o *ProjectBrandingTheme) GetFaviconUrl() string {
- if o == nil || o.FaviconUrl == nil {
+ if o == nil || IsNil(o.FaviconUrl) {
var ret string
return ret
}
@@ -605,7 +609,7 @@ func (o *ProjectBrandingTheme) GetFaviconUrl() string {
// GetFaviconUrlOk returns a tuple with the FaviconUrl field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingTheme) GetFaviconUrlOk() (*string, bool) {
- if o == nil || o.FaviconUrl == nil {
+ if o == nil || IsNil(o.FaviconUrl) {
return nil, false
}
return o.FaviconUrl, true
@@ -613,7 +617,7 @@ func (o *ProjectBrandingTheme) GetFaviconUrlOk() (*string, bool) {
// HasFaviconUrl returns a boolean if a field has been set.
func (o *ProjectBrandingTheme) HasFaviconUrl() bool {
- if o != nil && o.FaviconUrl != nil {
+ if o != nil && !IsNil(o.FaviconUrl) {
return true
}
@@ -627,7 +631,7 @@ func (o *ProjectBrandingTheme) SetFaviconUrl(v string) {
// GetForegroundDefaultColor returns the ForegroundDefaultColor field value if set, zero value otherwise.
func (o *ProjectBrandingTheme) GetForegroundDefaultColor() string {
- if o == nil || o.ForegroundDefaultColor == nil {
+ if o == nil || IsNil(o.ForegroundDefaultColor) {
var ret string
return ret
}
@@ -637,7 +641,7 @@ func (o *ProjectBrandingTheme) GetForegroundDefaultColor() string {
// GetForegroundDefaultColorOk returns a tuple with the ForegroundDefaultColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingTheme) GetForegroundDefaultColorOk() (*string, bool) {
- if o == nil || o.ForegroundDefaultColor == nil {
+ if o == nil || IsNil(o.ForegroundDefaultColor) {
return nil, false
}
return o.ForegroundDefaultColor, true
@@ -645,7 +649,7 @@ func (o *ProjectBrandingTheme) GetForegroundDefaultColorOk() (*string, bool) {
// HasForegroundDefaultColor returns a boolean if a field has been set.
func (o *ProjectBrandingTheme) HasForegroundDefaultColor() bool {
- if o != nil && o.ForegroundDefaultColor != nil {
+ if o != nil && !IsNil(o.ForegroundDefaultColor) {
return true
}
@@ -659,7 +663,7 @@ func (o *ProjectBrandingTheme) SetForegroundDefaultColor(v string) {
// GetForegroundDisabledColor returns the ForegroundDisabledColor field value if set, zero value otherwise.
func (o *ProjectBrandingTheme) GetForegroundDisabledColor() string {
- if o == nil || o.ForegroundDisabledColor == nil {
+ if o == nil || IsNil(o.ForegroundDisabledColor) {
var ret string
return ret
}
@@ -669,7 +673,7 @@ func (o *ProjectBrandingTheme) GetForegroundDisabledColor() string {
// GetForegroundDisabledColorOk returns a tuple with the ForegroundDisabledColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingTheme) GetForegroundDisabledColorOk() (*string, bool) {
- if o == nil || o.ForegroundDisabledColor == nil {
+ if o == nil || IsNil(o.ForegroundDisabledColor) {
return nil, false
}
return o.ForegroundDisabledColor, true
@@ -677,7 +681,7 @@ func (o *ProjectBrandingTheme) GetForegroundDisabledColorOk() (*string, bool) {
// HasForegroundDisabledColor returns a boolean if a field has been set.
func (o *ProjectBrandingTheme) HasForegroundDisabledColor() bool {
- if o != nil && o.ForegroundDisabledColor != nil {
+ if o != nil && !IsNil(o.ForegroundDisabledColor) {
return true
}
@@ -691,7 +695,7 @@ func (o *ProjectBrandingTheme) SetForegroundDisabledColor(v string) {
// GetForegroundMutedColor returns the ForegroundMutedColor field value if set, zero value otherwise.
func (o *ProjectBrandingTheme) GetForegroundMutedColor() string {
- if o == nil || o.ForegroundMutedColor == nil {
+ if o == nil || IsNil(o.ForegroundMutedColor) {
var ret string
return ret
}
@@ -701,7 +705,7 @@ func (o *ProjectBrandingTheme) GetForegroundMutedColor() string {
// GetForegroundMutedColorOk returns a tuple with the ForegroundMutedColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingTheme) GetForegroundMutedColorOk() (*string, bool) {
- if o == nil || o.ForegroundMutedColor == nil {
+ if o == nil || IsNil(o.ForegroundMutedColor) {
return nil, false
}
return o.ForegroundMutedColor, true
@@ -709,7 +713,7 @@ func (o *ProjectBrandingTheme) GetForegroundMutedColorOk() (*string, bool) {
// HasForegroundMutedColor returns a boolean if a field has been set.
func (o *ProjectBrandingTheme) HasForegroundMutedColor() bool {
- if o != nil && o.ForegroundMutedColor != nil {
+ if o != nil && !IsNil(o.ForegroundMutedColor) {
return true
}
@@ -723,7 +727,7 @@ func (o *ProjectBrandingTheme) SetForegroundMutedColor(v string) {
// GetForegroundOnAccentColor returns the ForegroundOnAccentColor field value if set, zero value otherwise.
func (o *ProjectBrandingTheme) GetForegroundOnAccentColor() string {
- if o == nil || o.ForegroundOnAccentColor == nil {
+ if o == nil || IsNil(o.ForegroundOnAccentColor) {
var ret string
return ret
}
@@ -733,7 +737,7 @@ func (o *ProjectBrandingTheme) GetForegroundOnAccentColor() string {
// GetForegroundOnAccentColorOk returns a tuple with the ForegroundOnAccentColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingTheme) GetForegroundOnAccentColorOk() (*string, bool) {
- if o == nil || o.ForegroundOnAccentColor == nil {
+ if o == nil || IsNil(o.ForegroundOnAccentColor) {
return nil, false
}
return o.ForegroundOnAccentColor, true
@@ -741,7 +745,7 @@ func (o *ProjectBrandingTheme) GetForegroundOnAccentColorOk() (*string, bool) {
// HasForegroundOnAccentColor returns a boolean if a field has been set.
func (o *ProjectBrandingTheme) HasForegroundOnAccentColor() bool {
- if o != nil && o.ForegroundOnAccentColor != nil {
+ if o != nil && !IsNil(o.ForegroundOnAccentColor) {
return true
}
@@ -755,7 +759,7 @@ func (o *ProjectBrandingTheme) SetForegroundOnAccentColor(v string) {
// GetForegroundOnDarkColor returns the ForegroundOnDarkColor field value if set, zero value otherwise.
func (o *ProjectBrandingTheme) GetForegroundOnDarkColor() string {
- if o == nil || o.ForegroundOnDarkColor == nil {
+ if o == nil || IsNil(o.ForegroundOnDarkColor) {
var ret string
return ret
}
@@ -765,7 +769,7 @@ func (o *ProjectBrandingTheme) GetForegroundOnDarkColor() string {
// GetForegroundOnDarkColorOk returns a tuple with the ForegroundOnDarkColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingTheme) GetForegroundOnDarkColorOk() (*string, bool) {
- if o == nil || o.ForegroundOnDarkColor == nil {
+ if o == nil || IsNil(o.ForegroundOnDarkColor) {
return nil, false
}
return o.ForegroundOnDarkColor, true
@@ -773,7 +777,7 @@ func (o *ProjectBrandingTheme) GetForegroundOnDarkColorOk() (*string, bool) {
// HasForegroundOnDarkColor returns a boolean if a field has been set.
func (o *ProjectBrandingTheme) HasForegroundOnDarkColor() bool {
- if o != nil && o.ForegroundOnDarkColor != nil {
+ if o != nil && !IsNil(o.ForegroundOnDarkColor) {
return true
}
@@ -787,7 +791,7 @@ func (o *ProjectBrandingTheme) SetForegroundOnDarkColor(v string) {
// GetForegroundOnDisabledColor returns the ForegroundOnDisabledColor field value if set, zero value otherwise.
func (o *ProjectBrandingTheme) GetForegroundOnDisabledColor() string {
- if o == nil || o.ForegroundOnDisabledColor == nil {
+ if o == nil || IsNil(o.ForegroundOnDisabledColor) {
var ret string
return ret
}
@@ -797,7 +801,7 @@ func (o *ProjectBrandingTheme) GetForegroundOnDisabledColor() string {
// GetForegroundOnDisabledColorOk returns a tuple with the ForegroundOnDisabledColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingTheme) GetForegroundOnDisabledColorOk() (*string, bool) {
- if o == nil || o.ForegroundOnDisabledColor == nil {
+ if o == nil || IsNil(o.ForegroundOnDisabledColor) {
return nil, false
}
return o.ForegroundOnDisabledColor, true
@@ -805,7 +809,7 @@ func (o *ProjectBrandingTheme) GetForegroundOnDisabledColorOk() (*string, bool)
// HasForegroundOnDisabledColor returns a boolean if a field has been set.
func (o *ProjectBrandingTheme) HasForegroundOnDisabledColor() bool {
- if o != nil && o.ForegroundOnDisabledColor != nil {
+ if o != nil && !IsNil(o.ForegroundOnDisabledColor) {
return true
}
@@ -819,7 +823,7 @@ func (o *ProjectBrandingTheme) SetForegroundOnDisabledColor(v string) {
// GetForegroundSubtleColor returns the ForegroundSubtleColor field value if set, zero value otherwise.
func (o *ProjectBrandingTheme) GetForegroundSubtleColor() string {
- if o == nil || o.ForegroundSubtleColor == nil {
+ if o == nil || IsNil(o.ForegroundSubtleColor) {
var ret string
return ret
}
@@ -829,7 +833,7 @@ func (o *ProjectBrandingTheme) GetForegroundSubtleColor() string {
// GetForegroundSubtleColorOk returns a tuple with the ForegroundSubtleColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingTheme) GetForegroundSubtleColorOk() (*string, bool) {
- if o == nil || o.ForegroundSubtleColor == nil {
+ if o == nil || IsNil(o.ForegroundSubtleColor) {
return nil, false
}
return o.ForegroundSubtleColor, true
@@ -837,7 +841,7 @@ func (o *ProjectBrandingTheme) GetForegroundSubtleColorOk() (*string, bool) {
// HasForegroundSubtleColor returns a boolean if a field has been set.
func (o *ProjectBrandingTheme) HasForegroundSubtleColor() bool {
- if o != nil && o.ForegroundSubtleColor != nil {
+ if o != nil && !IsNil(o.ForegroundSubtleColor) {
return true
}
@@ -875,7 +879,7 @@ func (o *ProjectBrandingTheme) SetId(v string) {
// GetInputBackgroundColor returns the InputBackgroundColor field value if set, zero value otherwise.
func (o *ProjectBrandingTheme) GetInputBackgroundColor() string {
- if o == nil || o.InputBackgroundColor == nil {
+ if o == nil || IsNil(o.InputBackgroundColor) {
var ret string
return ret
}
@@ -885,7 +889,7 @@ func (o *ProjectBrandingTheme) GetInputBackgroundColor() string {
// GetInputBackgroundColorOk returns a tuple with the InputBackgroundColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingTheme) GetInputBackgroundColorOk() (*string, bool) {
- if o == nil || o.InputBackgroundColor == nil {
+ if o == nil || IsNil(o.InputBackgroundColor) {
return nil, false
}
return o.InputBackgroundColor, true
@@ -893,7 +897,7 @@ func (o *ProjectBrandingTheme) GetInputBackgroundColorOk() (*string, bool) {
// HasInputBackgroundColor returns a boolean if a field has been set.
func (o *ProjectBrandingTheme) HasInputBackgroundColor() bool {
- if o != nil && o.InputBackgroundColor != nil {
+ if o != nil && !IsNil(o.InputBackgroundColor) {
return true
}
@@ -907,7 +911,7 @@ func (o *ProjectBrandingTheme) SetInputBackgroundColor(v string) {
// GetInputDisabledColor returns the InputDisabledColor field value if set, zero value otherwise.
func (o *ProjectBrandingTheme) GetInputDisabledColor() string {
- if o == nil || o.InputDisabledColor == nil {
+ if o == nil || IsNil(o.InputDisabledColor) {
var ret string
return ret
}
@@ -917,7 +921,7 @@ func (o *ProjectBrandingTheme) GetInputDisabledColor() string {
// GetInputDisabledColorOk returns a tuple with the InputDisabledColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingTheme) GetInputDisabledColorOk() (*string, bool) {
- if o == nil || o.InputDisabledColor == nil {
+ if o == nil || IsNil(o.InputDisabledColor) {
return nil, false
}
return o.InputDisabledColor, true
@@ -925,7 +929,7 @@ func (o *ProjectBrandingTheme) GetInputDisabledColorOk() (*string, bool) {
// HasInputDisabledColor returns a boolean if a field has been set.
func (o *ProjectBrandingTheme) HasInputDisabledColor() bool {
- if o != nil && o.InputDisabledColor != nil {
+ if o != nil && !IsNil(o.InputDisabledColor) {
return true
}
@@ -939,7 +943,7 @@ func (o *ProjectBrandingTheme) SetInputDisabledColor(v string) {
// GetInputPlaceholderColor returns the InputPlaceholderColor field value if set, zero value otherwise.
func (o *ProjectBrandingTheme) GetInputPlaceholderColor() string {
- if o == nil || o.InputPlaceholderColor == nil {
+ if o == nil || IsNil(o.InputPlaceholderColor) {
var ret string
return ret
}
@@ -949,7 +953,7 @@ func (o *ProjectBrandingTheme) GetInputPlaceholderColor() string {
// GetInputPlaceholderColorOk returns a tuple with the InputPlaceholderColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingTheme) GetInputPlaceholderColorOk() (*string, bool) {
- if o == nil || o.InputPlaceholderColor == nil {
+ if o == nil || IsNil(o.InputPlaceholderColor) {
return nil, false
}
return o.InputPlaceholderColor, true
@@ -957,7 +961,7 @@ func (o *ProjectBrandingTheme) GetInputPlaceholderColorOk() (*string, bool) {
// HasInputPlaceholderColor returns a boolean if a field has been set.
func (o *ProjectBrandingTheme) HasInputPlaceholderColor() bool {
- if o != nil && o.InputPlaceholderColor != nil {
+ if o != nil && !IsNil(o.InputPlaceholderColor) {
return true
}
@@ -971,7 +975,7 @@ func (o *ProjectBrandingTheme) SetInputPlaceholderColor(v string) {
// GetInputTextColor returns the InputTextColor field value if set, zero value otherwise.
func (o *ProjectBrandingTheme) GetInputTextColor() string {
- if o == nil || o.InputTextColor == nil {
+ if o == nil || IsNil(o.InputTextColor) {
var ret string
return ret
}
@@ -981,7 +985,7 @@ func (o *ProjectBrandingTheme) GetInputTextColor() string {
// GetInputTextColorOk returns a tuple with the InputTextColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingTheme) GetInputTextColorOk() (*string, bool) {
- if o == nil || o.InputTextColor == nil {
+ if o == nil || IsNil(o.InputTextColor) {
return nil, false
}
return o.InputTextColor, true
@@ -989,7 +993,7 @@ func (o *ProjectBrandingTheme) GetInputTextColorOk() (*string, bool) {
// HasInputTextColor returns a boolean if a field has been set.
func (o *ProjectBrandingTheme) HasInputTextColor() bool {
- if o != nil && o.InputTextColor != nil {
+ if o != nil && !IsNil(o.InputTextColor) {
return true
}
@@ -1003,7 +1007,7 @@ func (o *ProjectBrandingTheme) SetInputTextColor(v string) {
// GetLogoType returns the LogoType field value if set, zero value otherwise.
func (o *ProjectBrandingTheme) GetLogoType() string {
- if o == nil || o.LogoType == nil {
+ if o == nil || IsNil(o.LogoType) {
var ret string
return ret
}
@@ -1013,7 +1017,7 @@ func (o *ProjectBrandingTheme) GetLogoType() string {
// GetLogoTypeOk returns a tuple with the LogoType field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingTheme) GetLogoTypeOk() (*string, bool) {
- if o == nil || o.LogoType == nil {
+ if o == nil || IsNil(o.LogoType) {
return nil, false
}
return o.LogoType, true
@@ -1021,7 +1025,7 @@ func (o *ProjectBrandingTheme) GetLogoTypeOk() (*string, bool) {
// HasLogoType returns a boolean if a field has been set.
func (o *ProjectBrandingTheme) HasLogoType() bool {
- if o != nil && o.LogoType != nil {
+ if o != nil && !IsNil(o.LogoType) {
return true
}
@@ -1035,7 +1039,7 @@ func (o *ProjectBrandingTheme) SetLogoType(v string) {
// GetLogoUrl returns the LogoUrl field value if set, zero value otherwise.
func (o *ProjectBrandingTheme) GetLogoUrl() string {
- if o == nil || o.LogoUrl == nil {
+ if o == nil || IsNil(o.LogoUrl) {
var ret string
return ret
}
@@ -1045,7 +1049,7 @@ func (o *ProjectBrandingTheme) GetLogoUrl() string {
// GetLogoUrlOk returns a tuple with the LogoUrl field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingTheme) GetLogoUrlOk() (*string, bool) {
- if o == nil || o.LogoUrl == nil {
+ if o == nil || IsNil(o.LogoUrl) {
return nil, false
}
return o.LogoUrl, true
@@ -1053,7 +1057,7 @@ func (o *ProjectBrandingTheme) GetLogoUrlOk() (*string, bool) {
// HasLogoUrl returns a boolean if a field has been set.
func (o *ProjectBrandingTheme) HasLogoUrl() bool {
- if o != nil && o.LogoUrl != nil {
+ if o != nil && !IsNil(o.LogoUrl) {
return true
}
@@ -1091,7 +1095,7 @@ func (o *ProjectBrandingTheme) SetName(v string) {
// GetPrimaryColor returns the PrimaryColor field value if set, zero value otherwise.
func (o *ProjectBrandingTheme) GetPrimaryColor() string {
- if o == nil || o.PrimaryColor == nil {
+ if o == nil || IsNil(o.PrimaryColor) {
var ret string
return ret
}
@@ -1101,7 +1105,7 @@ func (o *ProjectBrandingTheme) GetPrimaryColor() string {
// GetPrimaryColorOk returns a tuple with the PrimaryColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingTheme) GetPrimaryColorOk() (*string, bool) {
- if o == nil || o.PrimaryColor == nil {
+ if o == nil || IsNil(o.PrimaryColor) {
return nil, false
}
return o.PrimaryColor, true
@@ -1109,7 +1113,7 @@ func (o *ProjectBrandingTheme) GetPrimaryColorOk() (*string, bool) {
// HasPrimaryColor returns a boolean if a field has been set.
func (o *ProjectBrandingTheme) HasPrimaryColor() bool {
- if o != nil && o.PrimaryColor != nil {
+ if o != nil && !IsNil(o.PrimaryColor) {
return true
}
@@ -1147,7 +1151,7 @@ func (o *ProjectBrandingTheme) SetProjectBrandingId(v string) {
// GetSecondaryColor returns the SecondaryColor field value if set, zero value otherwise.
func (o *ProjectBrandingTheme) GetSecondaryColor() string {
- if o == nil || o.SecondaryColor == nil {
+ if o == nil || IsNil(o.SecondaryColor) {
var ret string
return ret
}
@@ -1157,7 +1161,7 @@ func (o *ProjectBrandingTheme) GetSecondaryColor() string {
// GetSecondaryColorOk returns a tuple with the SecondaryColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingTheme) GetSecondaryColorOk() (*string, bool) {
- if o == nil || o.SecondaryColor == nil {
+ if o == nil || IsNil(o.SecondaryColor) {
return nil, false
}
return o.SecondaryColor, true
@@ -1165,7 +1169,7 @@ func (o *ProjectBrandingTheme) GetSecondaryColorOk() (*string, bool) {
// HasSecondaryColor returns a boolean if a field has been set.
func (o *ProjectBrandingTheme) HasSecondaryColor() bool {
- if o != nil && o.SecondaryColor != nil {
+ if o != nil && !IsNil(o.SecondaryColor) {
return true
}
@@ -1179,7 +1183,7 @@ func (o *ProjectBrandingTheme) SetSecondaryColor(v string) {
// GetSuccessEmphasisColor returns the SuccessEmphasisColor field value if set, zero value otherwise.
func (o *ProjectBrandingTheme) GetSuccessEmphasisColor() string {
- if o == nil || o.SuccessEmphasisColor == nil {
+ if o == nil || IsNil(o.SuccessEmphasisColor) {
var ret string
return ret
}
@@ -1189,7 +1193,7 @@ func (o *ProjectBrandingTheme) GetSuccessEmphasisColor() string {
// GetSuccessEmphasisColorOk returns a tuple with the SuccessEmphasisColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingTheme) GetSuccessEmphasisColorOk() (*string, bool) {
- if o == nil || o.SuccessEmphasisColor == nil {
+ if o == nil || IsNil(o.SuccessEmphasisColor) {
return nil, false
}
return o.SuccessEmphasisColor, true
@@ -1197,7 +1201,7 @@ func (o *ProjectBrandingTheme) GetSuccessEmphasisColorOk() (*string, bool) {
// HasSuccessEmphasisColor returns a boolean if a field has been set.
func (o *ProjectBrandingTheme) HasSuccessEmphasisColor() bool {
- if o != nil && o.SuccessEmphasisColor != nil {
+ if o != nil && !IsNil(o.SuccessEmphasisColor) {
return true
}
@@ -1211,7 +1215,7 @@ func (o *ProjectBrandingTheme) SetSuccessEmphasisColor(v string) {
// GetTextDefaultColor returns the TextDefaultColor field value if set, zero value otherwise.
func (o *ProjectBrandingTheme) GetTextDefaultColor() string {
- if o == nil || o.TextDefaultColor == nil {
+ if o == nil || IsNil(o.TextDefaultColor) {
var ret string
return ret
}
@@ -1221,7 +1225,7 @@ func (o *ProjectBrandingTheme) GetTextDefaultColor() string {
// GetTextDefaultColorOk returns a tuple with the TextDefaultColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingTheme) GetTextDefaultColorOk() (*string, bool) {
- if o == nil || o.TextDefaultColor == nil {
+ if o == nil || IsNil(o.TextDefaultColor) {
return nil, false
}
return o.TextDefaultColor, true
@@ -1229,7 +1233,7 @@ func (o *ProjectBrandingTheme) GetTextDefaultColorOk() (*string, bool) {
// HasTextDefaultColor returns a boolean if a field has been set.
func (o *ProjectBrandingTheme) HasTextDefaultColor() bool {
- if o != nil && o.TextDefaultColor != nil {
+ if o != nil && !IsNil(o.TextDefaultColor) {
return true
}
@@ -1243,7 +1247,7 @@ func (o *ProjectBrandingTheme) SetTextDefaultColor(v string) {
// GetTextDisabledColor returns the TextDisabledColor field value if set, zero value otherwise.
func (o *ProjectBrandingTheme) GetTextDisabledColor() string {
- if o == nil || o.TextDisabledColor == nil {
+ if o == nil || IsNil(o.TextDisabledColor) {
var ret string
return ret
}
@@ -1253,7 +1257,7 @@ func (o *ProjectBrandingTheme) GetTextDisabledColor() string {
// GetTextDisabledColorOk returns a tuple with the TextDisabledColor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectBrandingTheme) GetTextDisabledColorOk() (*string, bool) {
- if o == nil || o.TextDisabledColor == nil {
+ if o == nil || IsNil(o.TextDisabledColor) {
return nil, false
}
return o.TextDisabledColor, true
@@ -1261,7 +1265,7 @@ func (o *ProjectBrandingTheme) GetTextDisabledColorOk() (*string, bool) {
// HasTextDisabledColor returns a boolean if a field has been set.
func (o *ProjectBrandingTheme) HasTextDisabledColor() bool {
- if o != nil && o.TextDisabledColor != nil {
+ if o != nil && !IsNil(o.TextDisabledColor) {
return true
}
@@ -1298,136 +1302,163 @@ func (o *ProjectBrandingTheme) SetUpdatedAt(v time.Time) {
}
func (o ProjectBrandingTheme) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o ProjectBrandingTheme) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
- if o.AccentDefaultColor != nil {
+ if !IsNil(o.AccentDefaultColor) {
toSerialize["accent_default_color"] = o.AccentDefaultColor
}
- if o.AccentDisabledColor != nil {
+ if !IsNil(o.AccentDisabledColor) {
toSerialize["accent_disabled_color"] = o.AccentDisabledColor
}
- if o.AccentEmphasisColor != nil {
+ if !IsNil(o.AccentEmphasisColor) {
toSerialize["accent_emphasis_color"] = o.AccentEmphasisColor
}
- if o.AccentMutedColor != nil {
+ if !IsNil(o.AccentMutedColor) {
toSerialize["accent_muted_color"] = o.AccentMutedColor
}
- if o.AccentSubtleColor != nil {
+ if !IsNil(o.AccentSubtleColor) {
toSerialize["accent_subtle_color"] = o.AccentSubtleColor
}
- if o.BackgroundCanvasColor != nil {
+ if !IsNil(o.BackgroundCanvasColor) {
toSerialize["background_canvas_color"] = o.BackgroundCanvasColor
}
- if o.BackgroundSubtleColor != nil {
+ if !IsNil(o.BackgroundSubtleColor) {
toSerialize["background_subtle_color"] = o.BackgroundSubtleColor
}
- if o.BackgroundSurfaceColor != nil {
+ if !IsNil(o.BackgroundSurfaceColor) {
toSerialize["background_surface_color"] = o.BackgroundSurfaceColor
}
- if o.BorderDefaultColor != nil {
+ if !IsNil(o.BorderDefaultColor) {
toSerialize["border_default_color"] = o.BorderDefaultColor
}
- if true {
- toSerialize["created_at"] = o.CreatedAt
- }
- if o.ErrorDefaultColor != nil {
+ toSerialize["created_at"] = o.CreatedAt
+ if !IsNil(o.ErrorDefaultColor) {
toSerialize["error_default_color"] = o.ErrorDefaultColor
}
- if o.ErrorEmphasisColor != nil {
+ if !IsNil(o.ErrorEmphasisColor) {
toSerialize["error_emphasis_color"] = o.ErrorEmphasisColor
}
- if o.ErrorMutedColor != nil {
+ if !IsNil(o.ErrorMutedColor) {
toSerialize["error_muted_color"] = o.ErrorMutedColor
}
- if o.ErrorSubtleColor != nil {
+ if !IsNil(o.ErrorSubtleColor) {
toSerialize["error_subtle_color"] = o.ErrorSubtleColor
}
- if o.FaviconType != nil {
+ if !IsNil(o.FaviconType) {
toSerialize["favicon_type"] = o.FaviconType
}
- if o.FaviconUrl != nil {
+ if !IsNil(o.FaviconUrl) {
toSerialize["favicon_url"] = o.FaviconUrl
}
- if o.ForegroundDefaultColor != nil {
+ if !IsNil(o.ForegroundDefaultColor) {
toSerialize["foreground_default_color"] = o.ForegroundDefaultColor
}
- if o.ForegroundDisabledColor != nil {
+ if !IsNil(o.ForegroundDisabledColor) {
toSerialize["foreground_disabled_color"] = o.ForegroundDisabledColor
}
- if o.ForegroundMutedColor != nil {
+ if !IsNil(o.ForegroundMutedColor) {
toSerialize["foreground_muted_color"] = o.ForegroundMutedColor
}
- if o.ForegroundOnAccentColor != nil {
+ if !IsNil(o.ForegroundOnAccentColor) {
toSerialize["foreground_on_accent_color"] = o.ForegroundOnAccentColor
}
- if o.ForegroundOnDarkColor != nil {
+ if !IsNil(o.ForegroundOnDarkColor) {
toSerialize["foreground_on_dark_color"] = o.ForegroundOnDarkColor
}
- if o.ForegroundOnDisabledColor != nil {
+ if !IsNil(o.ForegroundOnDisabledColor) {
toSerialize["foreground_on_disabled_color"] = o.ForegroundOnDisabledColor
}
- if o.ForegroundSubtleColor != nil {
+ if !IsNil(o.ForegroundSubtleColor) {
toSerialize["foreground_subtle_color"] = o.ForegroundSubtleColor
}
- if true {
- toSerialize["id"] = o.Id
- }
- if o.InputBackgroundColor != nil {
+ toSerialize["id"] = o.Id
+ if !IsNil(o.InputBackgroundColor) {
toSerialize["input_background_color"] = o.InputBackgroundColor
}
- if o.InputDisabledColor != nil {
+ if !IsNil(o.InputDisabledColor) {
toSerialize["input_disabled_color"] = o.InputDisabledColor
}
- if o.InputPlaceholderColor != nil {
+ if !IsNil(o.InputPlaceholderColor) {
toSerialize["input_placeholder_color"] = o.InputPlaceholderColor
}
- if o.InputTextColor != nil {
+ if !IsNil(o.InputTextColor) {
toSerialize["input_text_color"] = o.InputTextColor
}
- if o.LogoType != nil {
+ if !IsNil(o.LogoType) {
toSerialize["logo_type"] = o.LogoType
}
- if o.LogoUrl != nil {
+ if !IsNil(o.LogoUrl) {
toSerialize["logo_url"] = o.LogoUrl
}
- if true {
- toSerialize["name"] = o.Name
- }
- if o.PrimaryColor != nil {
+ toSerialize["name"] = o.Name
+ if !IsNil(o.PrimaryColor) {
toSerialize["primary_color"] = o.PrimaryColor
}
- if true {
- toSerialize["project_branding_id"] = o.ProjectBrandingId
- }
- if o.SecondaryColor != nil {
+ toSerialize["project_branding_id"] = o.ProjectBrandingId
+ if !IsNil(o.SecondaryColor) {
toSerialize["secondary_color"] = o.SecondaryColor
}
- if o.SuccessEmphasisColor != nil {
+ if !IsNil(o.SuccessEmphasisColor) {
toSerialize["success_emphasis_color"] = o.SuccessEmphasisColor
}
- if o.TextDefaultColor != nil {
+ if !IsNil(o.TextDefaultColor) {
toSerialize["text_default_color"] = o.TextDefaultColor
}
- if o.TextDisabledColor != nil {
+ if !IsNil(o.TextDisabledColor) {
toSerialize["text_disabled_color"] = o.TextDisabledColor
}
- if true {
- toSerialize["updated_at"] = o.UpdatedAt
- }
+ toSerialize["updated_at"] = o.UpdatedAt
for key, value := range o.AdditionalProperties {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *ProjectBrandingTheme) UnmarshalJSON(bytes []byte) (err error) {
+ // This validates that all required properties are included in the JSON object
+ // by unmarshalling the object into a generic map with string keys and checking
+ // that every required field exists as a key in the generic map.
+ requiredProperties := []string{
+ "created_at",
+ "id",
+ "name",
+ "project_branding_id",
+ "updated_at",
+ }
+
+ allProperties := make(map[string]interface{})
+
+ err = json.Unmarshal(bytes, &allProperties)
+
+ if err != nil {
+ return err;
+ }
+
+ for _, requiredProperty := range(requiredProperties) {
+ if _, exists := allProperties[requiredProperty]; !exists {
+ return fmt.Errorf("no value given for required property %v", requiredProperty)
+ }
+ }
+
varProjectBrandingTheme := _ProjectBrandingTheme{}
- if err = json.Unmarshal(bytes, &varProjectBrandingTheme); err == nil {
- *o = ProjectBrandingTheme(varProjectBrandingTheme)
+ err = json.Unmarshal(bytes, &varProjectBrandingTheme)
+
+ if err != nil {
+ return err
}
+ *o = ProjectBrandingTheme(varProjectBrandingTheme)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_project_cors.go b/clients/client/go/model_project_cors.go
index 88f937ff5ac..784c8ce7e9c 100644
--- a/clients/client/go/model_project_cors.go
+++ b/clients/client/go/model_project_cors.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -13,8 +13,12 @@ package client
import (
"encoding/json"
+ "fmt"
)
+// checks if the ProjectCors type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &ProjectCors{}
+
// ProjectCors struct for ProjectCors
type ProjectCors struct {
// Whether CORS is enabled for this endpoint.
@@ -94,28 +98,58 @@ func (o *ProjectCors) SetOrigins(v []string) {
}
func (o ProjectCors) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if true {
- toSerialize["enabled"] = o.Enabled
- }
- if true {
- toSerialize["origins"] = o.Origins
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
}
+ return json.Marshal(toSerialize)
+}
+
+func (o ProjectCors) ToMap() (map[string]interface{}, error) {
+ toSerialize := map[string]interface{}{}
+ toSerialize["enabled"] = o.Enabled
+ toSerialize["origins"] = o.Origins
for key, value := range o.AdditionalProperties {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *ProjectCors) UnmarshalJSON(bytes []byte) (err error) {
+ // This validates that all required properties are included in the JSON object
+ // by unmarshalling the object into a generic map with string keys and checking
+ // that every required field exists as a key in the generic map.
+ requiredProperties := []string{
+ "enabled",
+ "origins",
+ }
+
+ allProperties := make(map[string]interface{})
+
+ err = json.Unmarshal(bytes, &allProperties)
+
+ if err != nil {
+ return err;
+ }
+
+ for _, requiredProperty := range(requiredProperties) {
+ if _, exists := allProperties[requiredProperty]; !exists {
+ return fmt.Errorf("no value given for required property %v", requiredProperty)
+ }
+ }
+
varProjectCors := _ProjectCors{}
- if err = json.Unmarshal(bytes, &varProjectCors); err == nil {
- *o = ProjectCors(varProjectCors)
+ err = json.Unmarshal(bytes, &varProjectCors)
+
+ if err != nil {
+ return err
}
+ *o = ProjectCors(varProjectCors)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_project_host.go b/clients/client/go/model_project_host.go
index 52753f2ade0..05896b0f4b7 100644
--- a/clients/client/go/model_project_host.go
+++ b/clients/client/go/model_project_host.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -13,8 +13,12 @@ package client
import (
"encoding/json"
+ "fmt"
)
+// checks if the ProjectHost type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &ProjectHost{}
+
// ProjectHost struct for ProjectHost
type ProjectHost struct {
// The project's host.
@@ -121,31 +125,60 @@ func (o *ProjectHost) SetProjectId(v string) {
}
func (o ProjectHost) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if true {
- toSerialize["host"] = o.Host
- }
- if true {
- toSerialize["id"] = o.Id
- }
- if true {
- toSerialize["project_id"] = o.ProjectId
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
}
+ return json.Marshal(toSerialize)
+}
+
+func (o ProjectHost) ToMap() (map[string]interface{}, error) {
+ toSerialize := map[string]interface{}{}
+ toSerialize["host"] = o.Host
+ toSerialize["id"] = o.Id
+ toSerialize["project_id"] = o.ProjectId
for key, value := range o.AdditionalProperties {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *ProjectHost) UnmarshalJSON(bytes []byte) (err error) {
+ // This validates that all required properties are included in the JSON object
+ // by unmarshalling the object into a generic map with string keys and checking
+ // that every required field exists as a key in the generic map.
+ requiredProperties := []string{
+ "host",
+ "id",
+ "project_id",
+ }
+
+ allProperties := make(map[string]interface{})
+
+ err = json.Unmarshal(bytes, &allProperties)
+
+ if err != nil {
+ return err;
+ }
+
+ for _, requiredProperty := range(requiredProperties) {
+ if _, exists := allProperties[requiredProperty]; !exists {
+ return fmt.Errorf("no value given for required property %v", requiredProperty)
+ }
+ }
+
varProjectHost := _ProjectHost{}
- if err = json.Unmarshal(bytes, &varProjectHost); err == nil {
- *o = ProjectHost(varProjectHost)
+ err = json.Unmarshal(bytes, &varProjectHost)
+
+ if err != nil {
+ return err
}
+ *o = ProjectHost(varProjectHost)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_project_metadata.go b/clients/client/go/model_project_metadata.go
index f2c88e56911..4985649e151 100644
--- a/clients/client/go/model_project_metadata.go
+++ b/clients/client/go/model_project_metadata.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -14,8 +14,12 @@ package client
import (
"encoding/json"
"time"
+ "fmt"
)
+// checks if the ProjectMetadata type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &ProjectMetadata{}
+
// ProjectMetadata struct for ProjectMetadata
type ProjectMetadata struct {
// The Project's Creation Date
@@ -159,7 +163,7 @@ func (o *ProjectMetadata) SetName(v string) {
// GetSlug returns the Slug field value if set, zero value otherwise.
func (o *ProjectMetadata) GetSlug() string {
- if o == nil || o.Slug == nil {
+ if o == nil || IsNil(o.Slug) {
var ret string
return ret
}
@@ -169,7 +173,7 @@ func (o *ProjectMetadata) GetSlug() string {
// GetSlugOk returns a tuple with the Slug field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectMetadata) GetSlugOk() (*string, bool) {
- if o == nil || o.Slug == nil {
+ if o == nil || IsNil(o.Slug) {
return nil, false
}
return o.Slug, true
@@ -177,7 +181,7 @@ func (o *ProjectMetadata) GetSlugOk() (*string, bool) {
// HasSlug returns a boolean if a field has been set.
func (o *ProjectMetadata) HasSlug() bool {
- if o != nil && o.Slug != nil {
+ if o != nil && !IsNil(o.Slug) {
return true
}
@@ -215,7 +219,7 @@ func (o *ProjectMetadata) SetState(v string) {
// GetSubscriptionId returns the SubscriptionId field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *ProjectMetadata) GetSubscriptionId() string {
- if o == nil || o.SubscriptionId.Get() == nil {
+ if o == nil || IsNil(o.SubscriptionId.Get()) {
var ret string
return ret
}
@@ -257,7 +261,7 @@ func (o *ProjectMetadata) UnsetSubscriptionId() {
// GetSubscriptionPlan returns the SubscriptionPlan field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *ProjectMetadata) GetSubscriptionPlan() string {
- if o == nil || o.SubscriptionPlan.Get() == nil {
+ if o == nil || IsNil(o.SubscriptionPlan.Get()) {
var ret string
return ret
}
@@ -322,49 +326,75 @@ func (o *ProjectMetadata) SetUpdatedAt(v time.Time) {
}
func (o ProjectMetadata) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if true {
- toSerialize["created_at"] = o.CreatedAt
- }
- if true {
- toSerialize["hosts"] = o.Hosts
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
}
- if true {
- toSerialize["id"] = o.Id
- }
- if true {
- toSerialize["name"] = o.Name
- }
- if o.Slug != nil {
+ return json.Marshal(toSerialize)
+}
+
+func (o ProjectMetadata) ToMap() (map[string]interface{}, error) {
+ toSerialize := map[string]interface{}{}
+ toSerialize["created_at"] = o.CreatedAt
+ toSerialize["hosts"] = o.Hosts
+ toSerialize["id"] = o.Id
+ toSerialize["name"] = o.Name
+ if !IsNil(o.Slug) {
toSerialize["slug"] = o.Slug
}
- if true {
- toSerialize["state"] = o.State
- }
+ toSerialize["state"] = o.State
if o.SubscriptionId.IsSet() {
toSerialize["subscription_id"] = o.SubscriptionId.Get()
}
if o.SubscriptionPlan.IsSet() {
toSerialize["subscription_plan"] = o.SubscriptionPlan.Get()
}
- if true {
- toSerialize["updated_at"] = o.UpdatedAt
- }
+ toSerialize["updated_at"] = o.UpdatedAt
for key, value := range o.AdditionalProperties {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *ProjectMetadata) UnmarshalJSON(bytes []byte) (err error) {
+ // This validates that all required properties are included in the JSON object
+ // by unmarshalling the object into a generic map with string keys and checking
+ // that every required field exists as a key in the generic map.
+ requiredProperties := []string{
+ "created_at",
+ "hosts",
+ "id",
+ "name",
+ "state",
+ "updated_at",
+ }
+
+ allProperties := make(map[string]interface{})
+
+ err = json.Unmarshal(bytes, &allProperties)
+
+ if err != nil {
+ return err;
+ }
+
+ for _, requiredProperty := range(requiredProperties) {
+ if _, exists := allProperties[requiredProperty]; !exists {
+ return fmt.Errorf("no value given for required property %v", requiredProperty)
+ }
+ }
+
varProjectMetadata := _ProjectMetadata{}
- if err = json.Unmarshal(bytes, &varProjectMetadata); err == nil {
- *o = ProjectMetadata(varProjectMetadata)
+ err = json.Unmarshal(bytes, &varProjectMetadata)
+
+ if err != nil {
+ return err
}
+ *o = ProjectMetadata(varProjectMetadata)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_project_service_identity.go b/clients/client/go/model_project_service_identity.go
index bb801accd27..213be8a56a3 100644
--- a/clients/client/go/model_project_service_identity.go
+++ b/clients/client/go/model_project_service_identity.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -13,8 +13,12 @@ package client
import (
"encoding/json"
+ "fmt"
)
+// checks if the ProjectServiceIdentity type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &ProjectServiceIdentity{}
+
// ProjectServiceIdentity struct for ProjectServiceIdentity
type ProjectServiceIdentity struct {
Config map[string]interface{} `json:"config"`
@@ -55,7 +59,7 @@ func (o *ProjectServiceIdentity) GetConfig() map[string]interface{} {
// and a boolean to check if the value has been set.
func (o *ProjectServiceIdentity) GetConfigOk() (map[string]interface{}, bool) {
if o == nil {
- return nil, false
+ return map[string]interface{}{}, false
}
return o.Config, true
}
@@ -66,25 +70,56 @@ func (o *ProjectServiceIdentity) SetConfig(v map[string]interface{}) {
}
func (o ProjectServiceIdentity) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if true {
- toSerialize["config"] = o.Config
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
}
+ return json.Marshal(toSerialize)
+}
+
+func (o ProjectServiceIdentity) ToMap() (map[string]interface{}, error) {
+ toSerialize := map[string]interface{}{}
+ toSerialize["config"] = o.Config
for key, value := range o.AdditionalProperties {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *ProjectServiceIdentity) UnmarshalJSON(bytes []byte) (err error) {
+ // This validates that all required properties are included in the JSON object
+ // by unmarshalling the object into a generic map with string keys and checking
+ // that every required field exists as a key in the generic map.
+ requiredProperties := []string{
+ "config",
+ }
+
+ allProperties := make(map[string]interface{})
+
+ err = json.Unmarshal(bytes, &allProperties)
+
+ if err != nil {
+ return err;
+ }
+
+ for _, requiredProperty := range(requiredProperties) {
+ if _, exists := allProperties[requiredProperty]; !exists {
+ return fmt.Errorf("no value given for required property %v", requiredProperty)
+ }
+ }
+
varProjectServiceIdentity := _ProjectServiceIdentity{}
- if err = json.Unmarshal(bytes, &varProjectServiceIdentity); err == nil {
- *o = ProjectServiceIdentity(varProjectServiceIdentity)
+ err = json.Unmarshal(bytes, &varProjectServiceIdentity)
+
+ if err != nil {
+ return err
}
+ *o = ProjectServiceIdentity(varProjectServiceIdentity)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_project_service_o_auth2.go b/clients/client/go/model_project_service_o_auth2.go
index bad957f7ae4..02e412a2d50 100644
--- a/clients/client/go/model_project_service_o_auth2.go
+++ b/clients/client/go/model_project_service_o_auth2.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -13,8 +13,12 @@ package client
import (
"encoding/json"
+ "fmt"
)
+// checks if the ProjectServiceOAuth2 type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &ProjectServiceOAuth2{}
+
// ProjectServiceOAuth2 struct for ProjectServiceOAuth2
type ProjectServiceOAuth2 struct {
Config map[string]interface{} `json:"config"`
@@ -55,7 +59,7 @@ func (o *ProjectServiceOAuth2) GetConfig() map[string]interface{} {
// and a boolean to check if the value has been set.
func (o *ProjectServiceOAuth2) GetConfigOk() (map[string]interface{}, bool) {
if o == nil {
- return nil, false
+ return map[string]interface{}{}, false
}
return o.Config, true
}
@@ -66,25 +70,56 @@ func (o *ProjectServiceOAuth2) SetConfig(v map[string]interface{}) {
}
func (o ProjectServiceOAuth2) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if true {
- toSerialize["config"] = o.Config
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
}
+ return json.Marshal(toSerialize)
+}
+
+func (o ProjectServiceOAuth2) ToMap() (map[string]interface{}, error) {
+ toSerialize := map[string]interface{}{}
+ toSerialize["config"] = o.Config
for key, value := range o.AdditionalProperties {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *ProjectServiceOAuth2) UnmarshalJSON(bytes []byte) (err error) {
+ // This validates that all required properties are included in the JSON object
+ // by unmarshalling the object into a generic map with string keys and checking
+ // that every required field exists as a key in the generic map.
+ requiredProperties := []string{
+ "config",
+ }
+
+ allProperties := make(map[string]interface{})
+
+ err = json.Unmarshal(bytes, &allProperties)
+
+ if err != nil {
+ return err;
+ }
+
+ for _, requiredProperty := range(requiredProperties) {
+ if _, exists := allProperties[requiredProperty]; !exists {
+ return fmt.Errorf("no value given for required property %v", requiredProperty)
+ }
+ }
+
varProjectServiceOAuth2 := _ProjectServiceOAuth2{}
- if err = json.Unmarshal(bytes, &varProjectServiceOAuth2); err == nil {
- *o = ProjectServiceOAuth2(varProjectServiceOAuth2)
+ err = json.Unmarshal(bytes, &varProjectServiceOAuth2)
+
+ if err != nil {
+ return err
}
+ *o = ProjectServiceOAuth2(varProjectServiceOAuth2)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_project_service_permission.go b/clients/client/go/model_project_service_permission.go
index 1cd72dd611d..d09f6d19e1c 100644
--- a/clients/client/go/model_project_service_permission.go
+++ b/clients/client/go/model_project_service_permission.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -13,8 +13,12 @@ package client
import (
"encoding/json"
+ "fmt"
)
+// checks if the ProjectServicePermission type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &ProjectServicePermission{}
+
// ProjectServicePermission struct for ProjectServicePermission
type ProjectServicePermission struct {
Config map[string]interface{} `json:"config"`
@@ -55,7 +59,7 @@ func (o *ProjectServicePermission) GetConfig() map[string]interface{} {
// and a boolean to check if the value has been set.
func (o *ProjectServicePermission) GetConfigOk() (map[string]interface{}, bool) {
if o == nil {
- return nil, false
+ return map[string]interface{}{}, false
}
return o.Config, true
}
@@ -66,25 +70,56 @@ func (o *ProjectServicePermission) SetConfig(v map[string]interface{}) {
}
func (o ProjectServicePermission) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if true {
- toSerialize["config"] = o.Config
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
}
+ return json.Marshal(toSerialize)
+}
+
+func (o ProjectServicePermission) ToMap() (map[string]interface{}, error) {
+ toSerialize := map[string]interface{}{}
+ toSerialize["config"] = o.Config
for key, value := range o.AdditionalProperties {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *ProjectServicePermission) UnmarshalJSON(bytes []byte) (err error) {
+ // This validates that all required properties are included in the JSON object
+ // by unmarshalling the object into a generic map with string keys and checking
+ // that every required field exists as a key in the generic map.
+ requiredProperties := []string{
+ "config",
+ }
+
+ allProperties := make(map[string]interface{})
+
+ err = json.Unmarshal(bytes, &allProperties)
+
+ if err != nil {
+ return err;
+ }
+
+ for _, requiredProperty := range(requiredProperties) {
+ if _, exists := allProperties[requiredProperty]; !exists {
+ return fmt.Errorf("no value given for required property %v", requiredProperty)
+ }
+ }
+
varProjectServicePermission := _ProjectServicePermission{}
- if err = json.Unmarshal(bytes, &varProjectServicePermission); err == nil {
- *o = ProjectServicePermission(varProjectServicePermission)
+ err = json.Unmarshal(bytes, &varProjectServicePermission)
+
+ if err != nil {
+ return err
}
+ *o = ProjectServicePermission(varProjectServicePermission)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_project_services.go b/clients/client/go/model_project_services.go
index 7846944cf6b..8973a91929e 100644
--- a/clients/client/go/model_project_services.go
+++ b/clients/client/go/model_project_services.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -15,6 +15,9 @@ import (
"encoding/json"
)
+// checks if the ProjectServices type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &ProjectServices{}
+
// ProjectServices struct for ProjectServices
type ProjectServices struct {
Identity *ProjectServiceIdentity `json:"identity,omitempty"`
@@ -44,7 +47,7 @@ func NewProjectServicesWithDefaults() *ProjectServices {
// GetIdentity returns the Identity field value if set, zero value otherwise.
func (o *ProjectServices) GetIdentity() ProjectServiceIdentity {
- if o == nil || o.Identity == nil {
+ if o == nil || IsNil(o.Identity) {
var ret ProjectServiceIdentity
return ret
}
@@ -54,7 +57,7 @@ func (o *ProjectServices) GetIdentity() ProjectServiceIdentity {
// GetIdentityOk returns a tuple with the Identity field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectServices) GetIdentityOk() (*ProjectServiceIdentity, bool) {
- if o == nil || o.Identity == nil {
+ if o == nil || IsNil(o.Identity) {
return nil, false
}
return o.Identity, true
@@ -62,7 +65,7 @@ func (o *ProjectServices) GetIdentityOk() (*ProjectServiceIdentity, bool) {
// HasIdentity returns a boolean if a field has been set.
func (o *ProjectServices) HasIdentity() bool {
- if o != nil && o.Identity != nil {
+ if o != nil && !IsNil(o.Identity) {
return true
}
@@ -76,7 +79,7 @@ func (o *ProjectServices) SetIdentity(v ProjectServiceIdentity) {
// GetOauth2 returns the Oauth2 field value if set, zero value otherwise.
func (o *ProjectServices) GetOauth2() ProjectServiceOAuth2 {
- if o == nil || o.Oauth2 == nil {
+ if o == nil || IsNil(o.Oauth2) {
var ret ProjectServiceOAuth2
return ret
}
@@ -86,7 +89,7 @@ func (o *ProjectServices) GetOauth2() ProjectServiceOAuth2 {
// GetOauth2Ok returns a tuple with the Oauth2 field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectServices) GetOauth2Ok() (*ProjectServiceOAuth2, bool) {
- if o == nil || o.Oauth2 == nil {
+ if o == nil || IsNil(o.Oauth2) {
return nil, false
}
return o.Oauth2, true
@@ -94,7 +97,7 @@ func (o *ProjectServices) GetOauth2Ok() (*ProjectServiceOAuth2, bool) {
// HasOauth2 returns a boolean if a field has been set.
func (o *ProjectServices) HasOauth2() bool {
- if o != nil && o.Oauth2 != nil {
+ if o != nil && !IsNil(o.Oauth2) {
return true
}
@@ -108,7 +111,7 @@ func (o *ProjectServices) SetOauth2(v ProjectServiceOAuth2) {
// GetPermission returns the Permission field value if set, zero value otherwise.
func (o *ProjectServices) GetPermission() ProjectServicePermission {
- if o == nil || o.Permission == nil {
+ if o == nil || IsNil(o.Permission) {
var ret ProjectServicePermission
return ret
}
@@ -118,7 +121,7 @@ func (o *ProjectServices) GetPermission() ProjectServicePermission {
// GetPermissionOk returns a tuple with the Permission field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProjectServices) GetPermissionOk() (*ProjectServicePermission, bool) {
- if o == nil || o.Permission == nil {
+ if o == nil || IsNil(o.Permission) {
return nil, false
}
return o.Permission, true
@@ -126,7 +129,7 @@ func (o *ProjectServices) GetPermissionOk() (*ProjectServicePermission, bool) {
// HasPermission returns a boolean if a field has been set.
func (o *ProjectServices) HasPermission() bool {
- if o != nil && o.Permission != nil {
+ if o != nil && !IsNil(o.Permission) {
return true
}
@@ -139,14 +142,22 @@ func (o *ProjectServices) SetPermission(v ProjectServicePermission) {
}
func (o ProjectServices) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o ProjectServices) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
- if o.Identity != nil {
+ if !IsNil(o.Identity) {
toSerialize["identity"] = o.Identity
}
- if o.Oauth2 != nil {
+ if !IsNil(o.Oauth2) {
toSerialize["oauth2"] = o.Oauth2
}
- if o.Permission != nil {
+ if !IsNil(o.Permission) {
toSerialize["permission"] = o.Permission
}
@@ -154,16 +165,20 @@ func (o ProjectServices) MarshalJSON() ([]byte, error) {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *ProjectServices) UnmarshalJSON(bytes []byte) (err error) {
varProjectServices := _ProjectServices{}
- if err = json.Unmarshal(bytes, &varProjectServices); err == nil {
- *o = ProjectServices(varProjectServices)
+ err = json.Unmarshal(bytes, &varProjectServices)
+
+ if err != nil {
+ return err
}
+ *o = ProjectServices(varProjectServices)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_quota_usage.go b/clients/client/go/model_quota_usage.go
index 00a692f42a0..82694a729b4 100644
--- a/clients/client/go/model_quota_usage.go
+++ b/clients/client/go/model_quota_usage.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -13,8 +13,12 @@ package client
import (
"encoding/json"
+ "fmt"
)
+// checks if the QuotaUsage type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &QuotaUsage{}
+
// QuotaUsage struct for QuotaUsage
type QuotaUsage struct {
// The additional price per unit in cents.
@@ -198,40 +202,66 @@ func (o *QuotaUsage) SetUsed(v int64) {
}
func (o QuotaUsage) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if true {
- toSerialize["additional_price"] = o.AdditionalPrice
- }
- if true {
- toSerialize["can_use_more"] = o.CanUseMore
- }
- if true {
- toSerialize["feature"] = o.Feature
- }
- if true {
- toSerialize["feature_available"] = o.FeatureAvailable
- }
- if true {
- toSerialize["included"] = o.Included
- }
- if true {
- toSerialize["used"] = o.Used
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
}
+ return json.Marshal(toSerialize)
+}
+
+func (o QuotaUsage) ToMap() (map[string]interface{}, error) {
+ toSerialize := map[string]interface{}{}
+ toSerialize["additional_price"] = o.AdditionalPrice
+ toSerialize["can_use_more"] = o.CanUseMore
+ toSerialize["feature"] = o.Feature
+ toSerialize["feature_available"] = o.FeatureAvailable
+ toSerialize["included"] = o.Included
+ toSerialize["used"] = o.Used
for key, value := range o.AdditionalProperties {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *QuotaUsage) UnmarshalJSON(bytes []byte) (err error) {
+ // This validates that all required properties are included in the JSON object
+ // by unmarshalling the object into a generic map with string keys and checking
+ // that every required field exists as a key in the generic map.
+ requiredProperties := []string{
+ "additional_price",
+ "can_use_more",
+ "feature",
+ "feature_available",
+ "included",
+ "used",
+ }
+
+ allProperties := make(map[string]interface{})
+
+ err = json.Unmarshal(bytes, &allProperties)
+
+ if err != nil {
+ return err;
+ }
+
+ for _, requiredProperty := range(requiredProperties) {
+ if _, exists := allProperties[requiredProperty]; !exists {
+ return fmt.Errorf("no value given for required property %v", requiredProperty)
+ }
+ }
+
varQuotaUsage := _QuotaUsage{}
- if err = json.Unmarshal(bytes, &varQuotaUsage); err == nil {
- *o = QuotaUsage(varQuotaUsage)
+ err = json.Unmarshal(bytes, &varQuotaUsage)
+
+ if err != nil {
+ return err
}
+ *o = QuotaUsage(varQuotaUsage)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_recovery_code_for_identity.go b/clients/client/go/model_recovery_code_for_identity.go
index 850ae494f3d..76d92136c8e 100644
--- a/clients/client/go/model_recovery_code_for_identity.go
+++ b/clients/client/go/model_recovery_code_for_identity.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -14,8 +14,12 @@ package client
import (
"encoding/json"
"time"
+ "fmt"
)
+// checks if the RecoveryCodeForIdentity type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &RecoveryCodeForIdentity{}
+
// RecoveryCodeForIdentity Used when an administrator creates a recovery code for an identity.
type RecoveryCodeForIdentity struct {
// Expires At is the timestamp of when the recovery flow expires The timestamp when the recovery link expires.
@@ -50,7 +54,7 @@ func NewRecoveryCodeForIdentityWithDefaults() *RecoveryCodeForIdentity {
// GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.
func (o *RecoveryCodeForIdentity) GetExpiresAt() time.Time {
- if o == nil || o.ExpiresAt == nil {
+ if o == nil || IsNil(o.ExpiresAt) {
var ret time.Time
return ret
}
@@ -60,7 +64,7 @@ func (o *RecoveryCodeForIdentity) GetExpiresAt() time.Time {
// GetExpiresAtOk returns a tuple with the ExpiresAt field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *RecoveryCodeForIdentity) GetExpiresAtOk() (*time.Time, bool) {
- if o == nil || o.ExpiresAt == nil {
+ if o == nil || IsNil(o.ExpiresAt) {
return nil, false
}
return o.ExpiresAt, true
@@ -68,7 +72,7 @@ func (o *RecoveryCodeForIdentity) GetExpiresAtOk() (*time.Time, bool) {
// HasExpiresAt returns a boolean if a field has been set.
func (o *RecoveryCodeForIdentity) HasExpiresAt() bool {
- if o != nil && o.ExpiresAt != nil {
+ if o != nil && !IsNil(o.ExpiresAt) {
return true
}
@@ -129,31 +133,61 @@ func (o *RecoveryCodeForIdentity) SetRecoveryLink(v string) {
}
func (o RecoveryCodeForIdentity) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o RecoveryCodeForIdentity) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
- if o.ExpiresAt != nil {
+ if !IsNil(o.ExpiresAt) {
toSerialize["expires_at"] = o.ExpiresAt
}
- if true {
- toSerialize["recovery_code"] = o.RecoveryCode
- }
- if true {
- toSerialize["recovery_link"] = o.RecoveryLink
- }
+ toSerialize["recovery_code"] = o.RecoveryCode
+ toSerialize["recovery_link"] = o.RecoveryLink
for key, value := range o.AdditionalProperties {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *RecoveryCodeForIdentity) UnmarshalJSON(bytes []byte) (err error) {
+ // This validates that all required properties are included in the JSON object
+ // by unmarshalling the object into a generic map with string keys and checking
+ // that every required field exists as a key in the generic map.
+ requiredProperties := []string{
+ "recovery_code",
+ "recovery_link",
+ }
+
+ allProperties := make(map[string]interface{})
+
+ err = json.Unmarshal(bytes, &allProperties)
+
+ if err != nil {
+ return err;
+ }
+
+ for _, requiredProperty := range(requiredProperties) {
+ if _, exists := allProperties[requiredProperty]; !exists {
+ return fmt.Errorf("no value given for required property %v", requiredProperty)
+ }
+ }
+
varRecoveryCodeForIdentity := _RecoveryCodeForIdentity{}
- if err = json.Unmarshal(bytes, &varRecoveryCodeForIdentity); err == nil {
- *o = RecoveryCodeForIdentity(varRecoveryCodeForIdentity)
+ err = json.Unmarshal(bytes, &varRecoveryCodeForIdentity)
+
+ if err != nil {
+ return err
}
+ *o = RecoveryCodeForIdentity(varRecoveryCodeForIdentity)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_recovery_flow.go b/clients/client/go/model_recovery_flow.go
index d3b82f4ed69..fe27d9a16b5 100644
--- a/clients/client/go/model_recovery_flow.go
+++ b/clients/client/go/model_recovery_flow.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -14,8 +14,12 @@ package client
import (
"encoding/json"
"time"
+ "fmt"
)
+// checks if the RecoveryFlow type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &RecoveryFlow{}
+
// RecoveryFlow This request is used when an identity wants to recover their account. We recommend reading the [Account Recovery Documentation](../self-service/flows/password-reset-account-recovery)
type RecoveryFlow struct {
// Active, if set, contains the recovery method that is being used. It is initially not set.
@@ -66,7 +70,7 @@ func NewRecoveryFlowWithDefaults() *RecoveryFlow {
// GetActive returns the Active field value if set, zero value otherwise.
func (o *RecoveryFlow) GetActive() string {
- if o == nil || o.Active == nil {
+ if o == nil || IsNil(o.Active) {
var ret string
return ret
}
@@ -76,7 +80,7 @@ func (o *RecoveryFlow) GetActive() string {
// GetActiveOk returns a tuple with the Active field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *RecoveryFlow) GetActiveOk() (*string, bool) {
- if o == nil || o.Active == nil {
+ if o == nil || IsNil(o.Active) {
return nil, false
}
return o.Active, true
@@ -84,7 +88,7 @@ func (o *RecoveryFlow) GetActiveOk() (*string, bool) {
// HasActive returns a boolean if a field has been set.
func (o *RecoveryFlow) HasActive() bool {
- if o != nil && o.Active != nil {
+ if o != nil && !IsNil(o.Active) {
return true
}
@@ -194,7 +198,7 @@ func (o *RecoveryFlow) SetRequestUrl(v string) {
// GetReturnTo returns the ReturnTo field value if set, zero value otherwise.
func (o *RecoveryFlow) GetReturnTo() string {
- if o == nil || o.ReturnTo == nil {
+ if o == nil || IsNil(o.ReturnTo) {
var ret string
return ret
}
@@ -204,7 +208,7 @@ func (o *RecoveryFlow) GetReturnTo() string {
// GetReturnToOk returns a tuple with the ReturnTo field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *RecoveryFlow) GetReturnToOk() (*string, bool) {
- if o == nil || o.ReturnTo == nil {
+ if o == nil || IsNil(o.ReturnTo) {
return nil, false
}
return o.ReturnTo, true
@@ -212,7 +216,7 @@ func (o *RecoveryFlow) GetReturnToOk() (*string, bool) {
// HasReturnTo returns a boolean if a field has been set.
func (o *RecoveryFlow) HasReturnTo() bool {
- if o != nil && o.ReturnTo != nil {
+ if o != nil && !IsNil(o.ReturnTo) {
return true
}
@@ -239,7 +243,7 @@ func (o *RecoveryFlow) GetState() interface{} {
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *RecoveryFlow) GetStateOk() (*interface{}, bool) {
- if o == nil || o.State == nil {
+ if o == nil || IsNil(o.State) {
return nil, false
}
return &o.State, true
@@ -299,49 +303,76 @@ func (o *RecoveryFlow) SetUi(v UiContainer) {
}
func (o RecoveryFlow) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o RecoveryFlow) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
- if o.Active != nil {
+ if !IsNil(o.Active) {
toSerialize["active"] = o.Active
}
- if true {
- toSerialize["expires_at"] = o.ExpiresAt
- }
- if true {
- toSerialize["id"] = o.Id
- }
- if true {
- toSerialize["issued_at"] = o.IssuedAt
- }
- if true {
- toSerialize["request_url"] = o.RequestUrl
- }
- if o.ReturnTo != nil {
+ toSerialize["expires_at"] = o.ExpiresAt
+ toSerialize["id"] = o.Id
+ toSerialize["issued_at"] = o.IssuedAt
+ toSerialize["request_url"] = o.RequestUrl
+ if !IsNil(o.ReturnTo) {
toSerialize["return_to"] = o.ReturnTo
}
if o.State != nil {
toSerialize["state"] = o.State
}
- if true {
- toSerialize["type"] = o.Type
- }
- if true {
- toSerialize["ui"] = o.Ui
- }
+ toSerialize["type"] = o.Type
+ toSerialize["ui"] = o.Ui
for key, value := range o.AdditionalProperties {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *RecoveryFlow) UnmarshalJSON(bytes []byte) (err error) {
+ // This validates that all required properties are included in the JSON object
+ // by unmarshalling the object into a generic map with string keys and checking
+ // that every required field exists as a key in the generic map.
+ requiredProperties := []string{
+ "expires_at",
+ "id",
+ "issued_at",
+ "request_url",
+ "state",
+ "type",
+ "ui",
+ }
+
+ allProperties := make(map[string]interface{})
+
+ err = json.Unmarshal(bytes, &allProperties)
+
+ if err != nil {
+ return err;
+ }
+
+ for _, requiredProperty := range(requiredProperties) {
+ if _, exists := allProperties[requiredProperty]; !exists {
+ return fmt.Errorf("no value given for required property %v", requiredProperty)
+ }
+ }
+
varRecoveryFlow := _RecoveryFlow{}
- if err = json.Unmarshal(bytes, &varRecoveryFlow); err == nil {
- *o = RecoveryFlow(varRecoveryFlow)
+ err = json.Unmarshal(bytes, &varRecoveryFlow)
+
+ if err != nil {
+ return err
}
+ *o = RecoveryFlow(varRecoveryFlow)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_recovery_flow_state.go b/clients/client/go/model_recovery_flow_state.go
index 75a5c61c047..b9974e6e47d 100644
--- a/clients/client/go/model_recovery_flow_state.go
+++ b/clients/client/go/model_recovery_flow_state.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
diff --git a/clients/client/go/model_recovery_identity_address.go b/clients/client/go/model_recovery_identity_address.go
index 0f8d5dd4495..3a03b3d6131 100644
--- a/clients/client/go/model_recovery_identity_address.go
+++ b/clients/client/go/model_recovery_identity_address.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -14,8 +14,12 @@ package client
import (
"encoding/json"
"time"
+ "fmt"
)
+// checks if the RecoveryIdentityAddress type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &RecoveryIdentityAddress{}
+
// RecoveryIdentityAddress struct for RecoveryIdentityAddress
type RecoveryIdentityAddress struct {
// CreatedAt is a helper struct field for gobuffalo.pop.
@@ -52,7 +56,7 @@ func NewRecoveryIdentityAddressWithDefaults() *RecoveryIdentityAddress {
// GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (o *RecoveryIdentityAddress) GetCreatedAt() time.Time {
- if o == nil || o.CreatedAt == nil {
+ if o == nil || IsNil(o.CreatedAt) {
var ret time.Time
return ret
}
@@ -62,7 +66,7 @@ func (o *RecoveryIdentityAddress) GetCreatedAt() time.Time {
// GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *RecoveryIdentityAddress) GetCreatedAtOk() (*time.Time, bool) {
- if o == nil || o.CreatedAt == nil {
+ if o == nil || IsNil(o.CreatedAt) {
return nil, false
}
return o.CreatedAt, true
@@ -70,7 +74,7 @@ func (o *RecoveryIdentityAddress) GetCreatedAtOk() (*time.Time, bool) {
// HasCreatedAt returns a boolean if a field has been set.
func (o *RecoveryIdentityAddress) HasCreatedAt() bool {
- if o != nil && o.CreatedAt != nil {
+ if o != nil && !IsNil(o.CreatedAt) {
return true
}
@@ -108,7 +112,7 @@ func (o *RecoveryIdentityAddress) SetId(v string) {
// GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (o *RecoveryIdentityAddress) GetUpdatedAt() time.Time {
- if o == nil || o.UpdatedAt == nil {
+ if o == nil || IsNil(o.UpdatedAt) {
var ret time.Time
return ret
}
@@ -118,7 +122,7 @@ func (o *RecoveryIdentityAddress) GetUpdatedAt() time.Time {
// GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *RecoveryIdentityAddress) GetUpdatedAtOk() (*time.Time, bool) {
- if o == nil || o.UpdatedAt == nil {
+ if o == nil || IsNil(o.UpdatedAt) {
return nil, false
}
return o.UpdatedAt, true
@@ -126,7 +130,7 @@ func (o *RecoveryIdentityAddress) GetUpdatedAtOk() (*time.Time, bool) {
// HasUpdatedAt returns a boolean if a field has been set.
func (o *RecoveryIdentityAddress) HasUpdatedAt() bool {
- if o != nil && o.UpdatedAt != nil {
+ if o != nil && !IsNil(o.UpdatedAt) {
return true
}
@@ -187,37 +191,66 @@ func (o *RecoveryIdentityAddress) SetVia(v string) {
}
func (o RecoveryIdentityAddress) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o RecoveryIdentityAddress) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
- if o.CreatedAt != nil {
+ if !IsNil(o.CreatedAt) {
toSerialize["created_at"] = o.CreatedAt
}
- if true {
- toSerialize["id"] = o.Id
- }
- if o.UpdatedAt != nil {
+ toSerialize["id"] = o.Id
+ if !IsNil(o.UpdatedAt) {
toSerialize["updated_at"] = o.UpdatedAt
}
- if true {
- toSerialize["value"] = o.Value
- }
- if true {
- toSerialize["via"] = o.Via
- }
+ toSerialize["value"] = o.Value
+ toSerialize["via"] = o.Via
for key, value := range o.AdditionalProperties {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *RecoveryIdentityAddress) UnmarshalJSON(bytes []byte) (err error) {
+ // This validates that all required properties are included in the JSON object
+ // by unmarshalling the object into a generic map with string keys and checking
+ // that every required field exists as a key in the generic map.
+ requiredProperties := []string{
+ "id",
+ "value",
+ "via",
+ }
+
+ allProperties := make(map[string]interface{})
+
+ err = json.Unmarshal(bytes, &allProperties)
+
+ if err != nil {
+ return err;
+ }
+
+ for _, requiredProperty := range(requiredProperties) {
+ if _, exists := allProperties[requiredProperty]; !exists {
+ return fmt.Errorf("no value given for required property %v", requiredProperty)
+ }
+ }
+
varRecoveryIdentityAddress := _RecoveryIdentityAddress{}
- if err = json.Unmarshal(bytes, &varRecoveryIdentityAddress); err == nil {
- *o = RecoveryIdentityAddress(varRecoveryIdentityAddress)
+ err = json.Unmarshal(bytes, &varRecoveryIdentityAddress)
+
+ if err != nil {
+ return err
}
+ *o = RecoveryIdentityAddress(varRecoveryIdentityAddress)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_recovery_link_for_identity.go b/clients/client/go/model_recovery_link_for_identity.go
index 3e5263da3bd..89aa46d9046 100644
--- a/clients/client/go/model_recovery_link_for_identity.go
+++ b/clients/client/go/model_recovery_link_for_identity.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -14,8 +14,12 @@ package client
import (
"encoding/json"
"time"
+ "fmt"
)
+// checks if the RecoveryLinkForIdentity type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &RecoveryLinkForIdentity{}
+
// RecoveryLinkForIdentity Used when an administrator creates a recovery link for an identity.
type RecoveryLinkForIdentity struct {
// Recovery Link Expires At The timestamp when the recovery link expires.
@@ -47,7 +51,7 @@ func NewRecoveryLinkForIdentityWithDefaults() *RecoveryLinkForIdentity {
// GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.
func (o *RecoveryLinkForIdentity) GetExpiresAt() time.Time {
- if o == nil || o.ExpiresAt == nil {
+ if o == nil || IsNil(o.ExpiresAt) {
var ret time.Time
return ret
}
@@ -57,7 +61,7 @@ func (o *RecoveryLinkForIdentity) GetExpiresAt() time.Time {
// GetExpiresAtOk returns a tuple with the ExpiresAt field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *RecoveryLinkForIdentity) GetExpiresAtOk() (*time.Time, bool) {
- if o == nil || o.ExpiresAt == nil {
+ if o == nil || IsNil(o.ExpiresAt) {
return nil, false
}
return o.ExpiresAt, true
@@ -65,7 +69,7 @@ func (o *RecoveryLinkForIdentity) GetExpiresAtOk() (*time.Time, bool) {
// HasExpiresAt returns a boolean if a field has been set.
func (o *RecoveryLinkForIdentity) HasExpiresAt() bool {
- if o != nil && o.ExpiresAt != nil {
+ if o != nil && !IsNil(o.ExpiresAt) {
return true
}
@@ -102,28 +106,59 @@ func (o *RecoveryLinkForIdentity) SetRecoveryLink(v string) {
}
func (o RecoveryLinkForIdentity) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o RecoveryLinkForIdentity) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
- if o.ExpiresAt != nil {
+ if !IsNil(o.ExpiresAt) {
toSerialize["expires_at"] = o.ExpiresAt
}
- if true {
- toSerialize["recovery_link"] = o.RecoveryLink
- }
+ toSerialize["recovery_link"] = o.RecoveryLink
for key, value := range o.AdditionalProperties {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *RecoveryLinkForIdentity) UnmarshalJSON(bytes []byte) (err error) {
+ // This validates that all required properties are included in the JSON object
+ // by unmarshalling the object into a generic map with string keys and checking
+ // that every required field exists as a key in the generic map.
+ requiredProperties := []string{
+ "recovery_link",
+ }
+
+ allProperties := make(map[string]interface{})
+
+ err = json.Unmarshal(bytes, &allProperties)
+
+ if err != nil {
+ return err;
+ }
+
+ for _, requiredProperty := range(requiredProperties) {
+ if _, exists := allProperties[requiredProperty]; !exists {
+ return fmt.Errorf("no value given for required property %v", requiredProperty)
+ }
+ }
+
varRecoveryLinkForIdentity := _RecoveryLinkForIdentity{}
- if err = json.Unmarshal(bytes, &varRecoveryLinkForIdentity); err == nil {
- *o = RecoveryLinkForIdentity(varRecoveryLinkForIdentity)
+ err = json.Unmarshal(bytes, &varRecoveryLinkForIdentity)
+
+ if err != nil {
+ return err
}
+ *o = RecoveryLinkForIdentity(varRecoveryLinkForIdentity)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_registration_flow.go b/clients/client/go/model_registration_flow.go
index afbb62c0407..a7885c453a2 100644
--- a/clients/client/go/model_registration_flow.go
+++ b/clients/client/go/model_registration_flow.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -14,8 +14,12 @@ package client
import (
"encoding/json"
"time"
+ "fmt"
)
+// checks if the RegistrationFlow type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &RegistrationFlow{}
+
// RegistrationFlow struct for RegistrationFlow
type RegistrationFlow struct {
Active *IdentityCredentialsType `json:"active,omitempty"`
@@ -73,7 +77,7 @@ func NewRegistrationFlowWithDefaults() *RegistrationFlow {
// GetActive returns the Active field value if set, zero value otherwise.
func (o *RegistrationFlow) GetActive() IdentityCredentialsType {
- if o == nil || o.Active == nil {
+ if o == nil || IsNil(o.Active) {
var ret IdentityCredentialsType
return ret
}
@@ -83,7 +87,7 @@ func (o *RegistrationFlow) GetActive() IdentityCredentialsType {
// GetActiveOk returns a tuple with the Active field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *RegistrationFlow) GetActiveOk() (*IdentityCredentialsType, bool) {
- if o == nil || o.Active == nil {
+ if o == nil || IsNil(o.Active) {
return nil, false
}
return o.Active, true
@@ -91,7 +95,7 @@ func (o *RegistrationFlow) GetActiveOk() (*IdentityCredentialsType, bool) {
// HasActive returns a boolean if a field has been set.
func (o *RegistrationFlow) HasActive() bool {
- if o != nil && o.Active != nil {
+ if o != nil && !IsNil(o.Active) {
return true
}
@@ -177,7 +181,7 @@ func (o *RegistrationFlow) SetIssuedAt(v time.Time) {
// GetOauth2LoginChallenge returns the Oauth2LoginChallenge field value if set, zero value otherwise.
func (o *RegistrationFlow) GetOauth2LoginChallenge() string {
- if o == nil || o.Oauth2LoginChallenge == nil {
+ if o == nil || IsNil(o.Oauth2LoginChallenge) {
var ret string
return ret
}
@@ -187,7 +191,7 @@ func (o *RegistrationFlow) GetOauth2LoginChallenge() string {
// GetOauth2LoginChallengeOk returns a tuple with the Oauth2LoginChallenge field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *RegistrationFlow) GetOauth2LoginChallengeOk() (*string, bool) {
- if o == nil || o.Oauth2LoginChallenge == nil {
+ if o == nil || IsNil(o.Oauth2LoginChallenge) {
return nil, false
}
return o.Oauth2LoginChallenge, true
@@ -195,7 +199,7 @@ func (o *RegistrationFlow) GetOauth2LoginChallengeOk() (*string, bool) {
// HasOauth2LoginChallenge returns a boolean if a field has been set.
func (o *RegistrationFlow) HasOauth2LoginChallenge() bool {
- if o != nil && o.Oauth2LoginChallenge != nil {
+ if o != nil && !IsNil(o.Oauth2LoginChallenge) {
return true
}
@@ -209,7 +213,7 @@ func (o *RegistrationFlow) SetOauth2LoginChallenge(v string) {
// GetOauth2LoginRequest returns the Oauth2LoginRequest field value if set, zero value otherwise.
func (o *RegistrationFlow) GetOauth2LoginRequest() OAuth2LoginRequest {
- if o == nil || o.Oauth2LoginRequest == nil {
+ if o == nil || IsNil(o.Oauth2LoginRequest) {
var ret OAuth2LoginRequest
return ret
}
@@ -219,7 +223,7 @@ func (o *RegistrationFlow) GetOauth2LoginRequest() OAuth2LoginRequest {
// GetOauth2LoginRequestOk returns a tuple with the Oauth2LoginRequest field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *RegistrationFlow) GetOauth2LoginRequestOk() (*OAuth2LoginRequest, bool) {
- if o == nil || o.Oauth2LoginRequest == nil {
+ if o == nil || IsNil(o.Oauth2LoginRequest) {
return nil, false
}
return o.Oauth2LoginRequest, true
@@ -227,7 +231,7 @@ func (o *RegistrationFlow) GetOauth2LoginRequestOk() (*OAuth2LoginRequest, bool)
// HasOauth2LoginRequest returns a boolean if a field has been set.
func (o *RegistrationFlow) HasOauth2LoginRequest() bool {
- if o != nil && o.Oauth2LoginRequest != nil {
+ if o != nil && !IsNil(o.Oauth2LoginRequest) {
return true
}
@@ -241,7 +245,7 @@ func (o *RegistrationFlow) SetOauth2LoginRequest(v OAuth2LoginRequest) {
// GetOrganizationId returns the OrganizationId field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *RegistrationFlow) GetOrganizationId() string {
- if o == nil || o.OrganizationId.Get() == nil {
+ if o == nil || IsNil(o.OrganizationId.Get()) {
var ret string
return ret
}
@@ -307,7 +311,7 @@ func (o *RegistrationFlow) SetRequestUrl(v string) {
// GetReturnTo returns the ReturnTo field value if set, zero value otherwise.
func (o *RegistrationFlow) GetReturnTo() string {
- if o == nil || o.ReturnTo == nil {
+ if o == nil || IsNil(o.ReturnTo) {
var ret string
return ret
}
@@ -317,7 +321,7 @@ func (o *RegistrationFlow) GetReturnTo() string {
// GetReturnToOk returns a tuple with the ReturnTo field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *RegistrationFlow) GetReturnToOk() (*string, bool) {
- if o == nil || o.ReturnTo == nil {
+ if o == nil || IsNil(o.ReturnTo) {
return nil, false
}
return o.ReturnTo, true
@@ -325,7 +329,7 @@ func (o *RegistrationFlow) GetReturnToOk() (*string, bool) {
// HasReturnTo returns a boolean if a field has been set.
func (o *RegistrationFlow) HasReturnTo() bool {
- if o != nil && o.ReturnTo != nil {
+ if o != nil && !IsNil(o.ReturnTo) {
return true
}
@@ -339,7 +343,7 @@ func (o *RegistrationFlow) SetReturnTo(v string) {
// GetSessionTokenExchangeCode returns the SessionTokenExchangeCode field value if set, zero value otherwise.
func (o *RegistrationFlow) GetSessionTokenExchangeCode() string {
- if o == nil || o.SessionTokenExchangeCode == nil {
+ if o == nil || IsNil(o.SessionTokenExchangeCode) {
var ret string
return ret
}
@@ -349,7 +353,7 @@ func (o *RegistrationFlow) GetSessionTokenExchangeCode() string {
// GetSessionTokenExchangeCodeOk returns a tuple with the SessionTokenExchangeCode field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *RegistrationFlow) GetSessionTokenExchangeCodeOk() (*string, bool) {
- if o == nil || o.SessionTokenExchangeCode == nil {
+ if o == nil || IsNil(o.SessionTokenExchangeCode) {
return nil, false
}
return o.SessionTokenExchangeCode, true
@@ -357,7 +361,7 @@ func (o *RegistrationFlow) GetSessionTokenExchangeCodeOk() (*string, bool) {
// HasSessionTokenExchangeCode returns a boolean if a field has been set.
func (o *RegistrationFlow) HasSessionTokenExchangeCode() bool {
- if o != nil && o.SessionTokenExchangeCode != nil {
+ if o != nil && !IsNil(o.SessionTokenExchangeCode) {
return true
}
@@ -384,7 +388,7 @@ func (o *RegistrationFlow) GetState() interface{} {
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *RegistrationFlow) GetStateOk() (*interface{}, bool) {
- if o == nil || o.State == nil {
+ if o == nil || IsNil(o.State) {
return nil, false
}
return &o.State, true
@@ -397,7 +401,7 @@ func (o *RegistrationFlow) SetState(v interface{}) {
// GetTransientPayload returns the TransientPayload field value if set, zero value otherwise.
func (o *RegistrationFlow) GetTransientPayload() map[string]interface{} {
- if o == nil || o.TransientPayload == nil {
+ if o == nil || IsNil(o.TransientPayload) {
var ret map[string]interface{}
return ret
}
@@ -407,15 +411,15 @@ func (o *RegistrationFlow) GetTransientPayload() map[string]interface{} {
// GetTransientPayloadOk returns a tuple with the TransientPayload field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *RegistrationFlow) GetTransientPayloadOk() (map[string]interface{}, bool) {
- if o == nil || o.TransientPayload == nil {
- return nil, false
+ if o == nil || IsNil(o.TransientPayload) {
+ return map[string]interface{}{}, false
}
return o.TransientPayload, true
}
// HasTransientPayload returns a boolean if a field has been set.
func (o *RegistrationFlow) HasTransientPayload() bool {
- if o != nil && o.TransientPayload != nil {
+ if o != nil && !IsNil(o.TransientPayload) {
return true
}
@@ -476,64 +480,91 @@ func (o *RegistrationFlow) SetUi(v UiContainer) {
}
func (o RegistrationFlow) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o RegistrationFlow) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
- if o.Active != nil {
+ if !IsNil(o.Active) {
toSerialize["active"] = o.Active
}
- if true {
- toSerialize["expires_at"] = o.ExpiresAt
- }
- if true {
- toSerialize["id"] = o.Id
- }
- if true {
- toSerialize["issued_at"] = o.IssuedAt
- }
- if o.Oauth2LoginChallenge != nil {
+ toSerialize["expires_at"] = o.ExpiresAt
+ toSerialize["id"] = o.Id
+ toSerialize["issued_at"] = o.IssuedAt
+ if !IsNil(o.Oauth2LoginChallenge) {
toSerialize["oauth2_login_challenge"] = o.Oauth2LoginChallenge
}
- if o.Oauth2LoginRequest != nil {
+ if !IsNil(o.Oauth2LoginRequest) {
toSerialize["oauth2_login_request"] = o.Oauth2LoginRequest
}
if o.OrganizationId.IsSet() {
toSerialize["organization_id"] = o.OrganizationId.Get()
}
- if true {
- toSerialize["request_url"] = o.RequestUrl
- }
- if o.ReturnTo != nil {
+ toSerialize["request_url"] = o.RequestUrl
+ if !IsNil(o.ReturnTo) {
toSerialize["return_to"] = o.ReturnTo
}
- if o.SessionTokenExchangeCode != nil {
+ if !IsNil(o.SessionTokenExchangeCode) {
toSerialize["session_token_exchange_code"] = o.SessionTokenExchangeCode
}
if o.State != nil {
toSerialize["state"] = o.State
}
- if o.TransientPayload != nil {
+ if !IsNil(o.TransientPayload) {
toSerialize["transient_payload"] = o.TransientPayload
}
- if true {
- toSerialize["type"] = o.Type
- }
- if true {
- toSerialize["ui"] = o.Ui
- }
+ toSerialize["type"] = o.Type
+ toSerialize["ui"] = o.Ui
for key, value := range o.AdditionalProperties {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *RegistrationFlow) UnmarshalJSON(bytes []byte) (err error) {
+ // This validates that all required properties are included in the JSON object
+ // by unmarshalling the object into a generic map with string keys and checking
+ // that every required field exists as a key in the generic map.
+ requiredProperties := []string{
+ "expires_at",
+ "id",
+ "issued_at",
+ "request_url",
+ "state",
+ "type",
+ "ui",
+ }
+
+ allProperties := make(map[string]interface{})
+
+ err = json.Unmarshal(bytes, &allProperties)
+
+ if err != nil {
+ return err;
+ }
+
+ for _, requiredProperty := range(requiredProperties) {
+ if _, exists := allProperties[requiredProperty]; !exists {
+ return fmt.Errorf("no value given for required property %v", requiredProperty)
+ }
+ }
+
varRegistrationFlow := _RegistrationFlow{}
- if err = json.Unmarshal(bytes, &varRegistrationFlow); err == nil {
- *o = RegistrationFlow(varRegistrationFlow)
+ err = json.Unmarshal(bytes, &varRegistrationFlow)
+
+ if err != nil {
+ return err
}
+ *o = RegistrationFlow(varRegistrationFlow)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_registration_flow_state.go b/clients/client/go/model_registration_flow_state.go
index f26557b261c..e0697403e00 100644
--- a/clients/client/go/model_registration_flow_state.go
+++ b/clients/client/go/model_registration_flow_state.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
diff --git a/clients/client/go/model_reject_o_auth2_request.go b/clients/client/go/model_reject_o_auth2_request.go
index ee045a39a3b..25969c99647 100644
--- a/clients/client/go/model_reject_o_auth2_request.go
+++ b/clients/client/go/model_reject_o_auth2_request.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -15,6 +15,9 @@ import (
"encoding/json"
)
+// checks if the RejectOAuth2Request type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &RejectOAuth2Request{}
+
// RejectOAuth2Request struct for RejectOAuth2Request
type RejectOAuth2Request struct {
// The error should follow the OAuth2 error format (e.g. `invalid_request`, `login_required`). Defaults to `request_denied`.
@@ -51,7 +54,7 @@ func NewRejectOAuth2RequestWithDefaults() *RejectOAuth2Request {
// GetError returns the Error field value if set, zero value otherwise.
func (o *RejectOAuth2Request) GetError() string {
- if o == nil || o.Error == nil {
+ if o == nil || IsNil(o.Error) {
var ret string
return ret
}
@@ -61,7 +64,7 @@ func (o *RejectOAuth2Request) GetError() string {
// GetErrorOk returns a tuple with the Error field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *RejectOAuth2Request) GetErrorOk() (*string, bool) {
- if o == nil || o.Error == nil {
+ if o == nil || IsNil(o.Error) {
return nil, false
}
return o.Error, true
@@ -69,7 +72,7 @@ func (o *RejectOAuth2Request) GetErrorOk() (*string, bool) {
// HasError returns a boolean if a field has been set.
func (o *RejectOAuth2Request) HasError() bool {
- if o != nil && o.Error != nil {
+ if o != nil && !IsNil(o.Error) {
return true
}
@@ -83,7 +86,7 @@ func (o *RejectOAuth2Request) SetError(v string) {
// GetErrorDebug returns the ErrorDebug field value if set, zero value otherwise.
func (o *RejectOAuth2Request) GetErrorDebug() string {
- if o == nil || o.ErrorDebug == nil {
+ if o == nil || IsNil(o.ErrorDebug) {
var ret string
return ret
}
@@ -93,7 +96,7 @@ func (o *RejectOAuth2Request) GetErrorDebug() string {
// GetErrorDebugOk returns a tuple with the ErrorDebug field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *RejectOAuth2Request) GetErrorDebugOk() (*string, bool) {
- if o == nil || o.ErrorDebug == nil {
+ if o == nil || IsNil(o.ErrorDebug) {
return nil, false
}
return o.ErrorDebug, true
@@ -101,7 +104,7 @@ func (o *RejectOAuth2Request) GetErrorDebugOk() (*string, bool) {
// HasErrorDebug returns a boolean if a field has been set.
func (o *RejectOAuth2Request) HasErrorDebug() bool {
- if o != nil && o.ErrorDebug != nil {
+ if o != nil && !IsNil(o.ErrorDebug) {
return true
}
@@ -115,7 +118,7 @@ func (o *RejectOAuth2Request) SetErrorDebug(v string) {
// GetErrorDescription returns the ErrorDescription field value if set, zero value otherwise.
func (o *RejectOAuth2Request) GetErrorDescription() string {
- if o == nil || o.ErrorDescription == nil {
+ if o == nil || IsNil(o.ErrorDescription) {
var ret string
return ret
}
@@ -125,7 +128,7 @@ func (o *RejectOAuth2Request) GetErrorDescription() string {
// GetErrorDescriptionOk returns a tuple with the ErrorDescription field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *RejectOAuth2Request) GetErrorDescriptionOk() (*string, bool) {
- if o == nil || o.ErrorDescription == nil {
+ if o == nil || IsNil(o.ErrorDescription) {
return nil, false
}
return o.ErrorDescription, true
@@ -133,7 +136,7 @@ func (o *RejectOAuth2Request) GetErrorDescriptionOk() (*string, bool) {
// HasErrorDescription returns a boolean if a field has been set.
func (o *RejectOAuth2Request) HasErrorDescription() bool {
- if o != nil && o.ErrorDescription != nil {
+ if o != nil && !IsNil(o.ErrorDescription) {
return true
}
@@ -147,7 +150,7 @@ func (o *RejectOAuth2Request) SetErrorDescription(v string) {
// GetErrorHint returns the ErrorHint field value if set, zero value otherwise.
func (o *RejectOAuth2Request) GetErrorHint() string {
- if o == nil || o.ErrorHint == nil {
+ if o == nil || IsNil(o.ErrorHint) {
var ret string
return ret
}
@@ -157,7 +160,7 @@ func (o *RejectOAuth2Request) GetErrorHint() string {
// GetErrorHintOk returns a tuple with the ErrorHint field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *RejectOAuth2Request) GetErrorHintOk() (*string, bool) {
- if o == nil || o.ErrorHint == nil {
+ if o == nil || IsNil(o.ErrorHint) {
return nil, false
}
return o.ErrorHint, true
@@ -165,7 +168,7 @@ func (o *RejectOAuth2Request) GetErrorHintOk() (*string, bool) {
// HasErrorHint returns a boolean if a field has been set.
func (o *RejectOAuth2Request) HasErrorHint() bool {
- if o != nil && o.ErrorHint != nil {
+ if o != nil && !IsNil(o.ErrorHint) {
return true
}
@@ -179,7 +182,7 @@ func (o *RejectOAuth2Request) SetErrorHint(v string) {
// GetStatusCode returns the StatusCode field value if set, zero value otherwise.
func (o *RejectOAuth2Request) GetStatusCode() int64 {
- if o == nil || o.StatusCode == nil {
+ if o == nil || IsNil(o.StatusCode) {
var ret int64
return ret
}
@@ -189,7 +192,7 @@ func (o *RejectOAuth2Request) GetStatusCode() int64 {
// GetStatusCodeOk returns a tuple with the StatusCode field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *RejectOAuth2Request) GetStatusCodeOk() (*int64, bool) {
- if o == nil || o.StatusCode == nil {
+ if o == nil || IsNil(o.StatusCode) {
return nil, false
}
return o.StatusCode, true
@@ -197,7 +200,7 @@ func (o *RejectOAuth2Request) GetStatusCodeOk() (*int64, bool) {
// HasStatusCode returns a boolean if a field has been set.
func (o *RejectOAuth2Request) HasStatusCode() bool {
- if o != nil && o.StatusCode != nil {
+ if o != nil && !IsNil(o.StatusCode) {
return true
}
@@ -210,20 +213,28 @@ func (o *RejectOAuth2Request) SetStatusCode(v int64) {
}
func (o RejectOAuth2Request) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o RejectOAuth2Request) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
- if o.Error != nil {
+ if !IsNil(o.Error) {
toSerialize["error"] = o.Error
}
- if o.ErrorDebug != nil {
+ if !IsNil(o.ErrorDebug) {
toSerialize["error_debug"] = o.ErrorDebug
}
- if o.ErrorDescription != nil {
+ if !IsNil(o.ErrorDescription) {
toSerialize["error_description"] = o.ErrorDescription
}
- if o.ErrorHint != nil {
+ if !IsNil(o.ErrorHint) {
toSerialize["error_hint"] = o.ErrorHint
}
- if o.StatusCode != nil {
+ if !IsNil(o.StatusCode) {
toSerialize["status_code"] = o.StatusCode
}
@@ -231,16 +242,20 @@ func (o RejectOAuth2Request) MarshalJSON() ([]byte, error) {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *RejectOAuth2Request) UnmarshalJSON(bytes []byte) (err error) {
varRejectOAuth2Request := _RejectOAuth2Request{}
- if err = json.Unmarshal(bytes, &varRejectOAuth2Request); err == nil {
- *o = RejectOAuth2Request(varRejectOAuth2Request)
+ err = json.Unmarshal(bytes, &varRejectOAuth2Request)
+
+ if err != nil {
+ return err
}
+ *o = RejectOAuth2Request(varRejectOAuth2Request)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_relation_query.go b/clients/client/go/model_relation_query.go
index bf3872c35d4..6a883a597ea 100644
--- a/clients/client/go/model_relation_query.go
+++ b/clients/client/go/model_relation_query.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -15,6 +15,9 @@ import (
"encoding/json"
)
+// checks if the RelationQuery type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &RelationQuery{}
+
// RelationQuery Relation Query
type RelationQuery struct {
// Namespace to query
@@ -50,7 +53,7 @@ func NewRelationQueryWithDefaults() *RelationQuery {
// GetNamespace returns the Namespace field value if set, zero value otherwise.
func (o *RelationQuery) GetNamespace() string {
- if o == nil || o.Namespace == nil {
+ if o == nil || IsNil(o.Namespace) {
var ret string
return ret
}
@@ -60,7 +63,7 @@ func (o *RelationQuery) GetNamespace() string {
// GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *RelationQuery) GetNamespaceOk() (*string, bool) {
- if o == nil || o.Namespace == nil {
+ if o == nil || IsNil(o.Namespace) {
return nil, false
}
return o.Namespace, true
@@ -68,7 +71,7 @@ func (o *RelationQuery) GetNamespaceOk() (*string, bool) {
// HasNamespace returns a boolean if a field has been set.
func (o *RelationQuery) HasNamespace() bool {
- if o != nil && o.Namespace != nil {
+ if o != nil && !IsNil(o.Namespace) {
return true
}
@@ -82,7 +85,7 @@ func (o *RelationQuery) SetNamespace(v string) {
// GetObject returns the Object field value if set, zero value otherwise.
func (o *RelationQuery) GetObject() string {
- if o == nil || o.Object == nil {
+ if o == nil || IsNil(o.Object) {
var ret string
return ret
}
@@ -92,7 +95,7 @@ func (o *RelationQuery) GetObject() string {
// GetObjectOk returns a tuple with the Object field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *RelationQuery) GetObjectOk() (*string, bool) {
- if o == nil || o.Object == nil {
+ if o == nil || IsNil(o.Object) {
return nil, false
}
return o.Object, true
@@ -100,7 +103,7 @@ func (o *RelationQuery) GetObjectOk() (*string, bool) {
// HasObject returns a boolean if a field has been set.
func (o *RelationQuery) HasObject() bool {
- if o != nil && o.Object != nil {
+ if o != nil && !IsNil(o.Object) {
return true
}
@@ -114,7 +117,7 @@ func (o *RelationQuery) SetObject(v string) {
// GetRelation returns the Relation field value if set, zero value otherwise.
func (o *RelationQuery) GetRelation() string {
- if o == nil || o.Relation == nil {
+ if o == nil || IsNil(o.Relation) {
var ret string
return ret
}
@@ -124,7 +127,7 @@ func (o *RelationQuery) GetRelation() string {
// GetRelationOk returns a tuple with the Relation field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *RelationQuery) GetRelationOk() (*string, bool) {
- if o == nil || o.Relation == nil {
+ if o == nil || IsNil(o.Relation) {
return nil, false
}
return o.Relation, true
@@ -132,7 +135,7 @@ func (o *RelationQuery) GetRelationOk() (*string, bool) {
// HasRelation returns a boolean if a field has been set.
func (o *RelationQuery) HasRelation() bool {
- if o != nil && o.Relation != nil {
+ if o != nil && !IsNil(o.Relation) {
return true
}
@@ -146,7 +149,7 @@ func (o *RelationQuery) SetRelation(v string) {
// GetSubjectId returns the SubjectId field value if set, zero value otherwise.
func (o *RelationQuery) GetSubjectId() string {
- if o == nil || o.SubjectId == nil {
+ if o == nil || IsNil(o.SubjectId) {
var ret string
return ret
}
@@ -156,7 +159,7 @@ func (o *RelationQuery) GetSubjectId() string {
// GetSubjectIdOk returns a tuple with the SubjectId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *RelationQuery) GetSubjectIdOk() (*string, bool) {
- if o == nil || o.SubjectId == nil {
+ if o == nil || IsNil(o.SubjectId) {
return nil, false
}
return o.SubjectId, true
@@ -164,7 +167,7 @@ func (o *RelationQuery) GetSubjectIdOk() (*string, bool) {
// HasSubjectId returns a boolean if a field has been set.
func (o *RelationQuery) HasSubjectId() bool {
- if o != nil && o.SubjectId != nil {
+ if o != nil && !IsNil(o.SubjectId) {
return true
}
@@ -178,7 +181,7 @@ func (o *RelationQuery) SetSubjectId(v string) {
// GetSubjectSet returns the SubjectSet field value if set, zero value otherwise.
func (o *RelationQuery) GetSubjectSet() SubjectSet {
- if o == nil || o.SubjectSet == nil {
+ if o == nil || IsNil(o.SubjectSet) {
var ret SubjectSet
return ret
}
@@ -188,7 +191,7 @@ func (o *RelationQuery) GetSubjectSet() SubjectSet {
// GetSubjectSetOk returns a tuple with the SubjectSet field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *RelationQuery) GetSubjectSetOk() (*SubjectSet, bool) {
- if o == nil || o.SubjectSet == nil {
+ if o == nil || IsNil(o.SubjectSet) {
return nil, false
}
return o.SubjectSet, true
@@ -196,7 +199,7 @@ func (o *RelationQuery) GetSubjectSetOk() (*SubjectSet, bool) {
// HasSubjectSet returns a boolean if a field has been set.
func (o *RelationQuery) HasSubjectSet() bool {
- if o != nil && o.SubjectSet != nil {
+ if o != nil && !IsNil(o.SubjectSet) {
return true
}
@@ -209,20 +212,28 @@ func (o *RelationQuery) SetSubjectSet(v SubjectSet) {
}
func (o RelationQuery) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o RelationQuery) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
- if o.Namespace != nil {
+ if !IsNil(o.Namespace) {
toSerialize["namespace"] = o.Namespace
}
- if o.Object != nil {
+ if !IsNil(o.Object) {
toSerialize["object"] = o.Object
}
- if o.Relation != nil {
+ if !IsNil(o.Relation) {
toSerialize["relation"] = o.Relation
}
- if o.SubjectId != nil {
+ if !IsNil(o.SubjectId) {
toSerialize["subject_id"] = o.SubjectId
}
- if o.SubjectSet != nil {
+ if !IsNil(o.SubjectSet) {
toSerialize["subject_set"] = o.SubjectSet
}
@@ -230,16 +241,20 @@ func (o RelationQuery) MarshalJSON() ([]byte, error) {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *RelationQuery) UnmarshalJSON(bytes []byte) (err error) {
varRelationQuery := _RelationQuery{}
- if err = json.Unmarshal(bytes, &varRelationQuery); err == nil {
- *o = RelationQuery(varRelationQuery)
+ err = json.Unmarshal(bytes, &varRelationQuery)
+
+ if err != nil {
+ return err
}
+ *o = RelationQuery(varRelationQuery)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_relationship.go b/clients/client/go/model_relationship.go
index 2589f03ef64..5d372a1137d 100644
--- a/clients/client/go/model_relationship.go
+++ b/clients/client/go/model_relationship.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -13,8 +13,12 @@ package client
import (
"encoding/json"
+ "fmt"
)
+// checks if the Relationship type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &Relationship{}
+
// Relationship Relationship
type Relationship struct {
// Namespace of the Relation Tuple
@@ -125,7 +129,7 @@ func (o *Relationship) SetRelation(v string) {
// GetSubjectId returns the SubjectId field value if set, zero value otherwise.
func (o *Relationship) GetSubjectId() string {
- if o == nil || o.SubjectId == nil {
+ if o == nil || IsNil(o.SubjectId) {
var ret string
return ret
}
@@ -135,7 +139,7 @@ func (o *Relationship) GetSubjectId() string {
// GetSubjectIdOk returns a tuple with the SubjectId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *Relationship) GetSubjectIdOk() (*string, bool) {
- if o == nil || o.SubjectId == nil {
+ if o == nil || IsNil(o.SubjectId) {
return nil, false
}
return o.SubjectId, true
@@ -143,7 +147,7 @@ func (o *Relationship) GetSubjectIdOk() (*string, bool) {
// HasSubjectId returns a boolean if a field has been set.
func (o *Relationship) HasSubjectId() bool {
- if o != nil && o.SubjectId != nil {
+ if o != nil && !IsNil(o.SubjectId) {
return true
}
@@ -157,7 +161,7 @@ func (o *Relationship) SetSubjectId(v string) {
// GetSubjectSet returns the SubjectSet field value if set, zero value otherwise.
func (o *Relationship) GetSubjectSet() SubjectSet {
- if o == nil || o.SubjectSet == nil {
+ if o == nil || IsNil(o.SubjectSet) {
var ret SubjectSet
return ret
}
@@ -167,7 +171,7 @@ func (o *Relationship) GetSubjectSet() SubjectSet {
// GetSubjectSetOk returns a tuple with the SubjectSet field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *Relationship) GetSubjectSetOk() (*SubjectSet, bool) {
- if o == nil || o.SubjectSet == nil {
+ if o == nil || IsNil(o.SubjectSet) {
return nil, false
}
return o.SubjectSet, true
@@ -175,7 +179,7 @@ func (o *Relationship) GetSubjectSetOk() (*SubjectSet, bool) {
// HasSubjectSet returns a boolean if a field has been set.
func (o *Relationship) HasSubjectSet() bool {
- if o != nil && o.SubjectSet != nil {
+ if o != nil && !IsNil(o.SubjectSet) {
return true
}
@@ -188,20 +192,22 @@ func (o *Relationship) SetSubjectSet(v SubjectSet) {
}
func (o Relationship) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if true {
- toSerialize["namespace"] = o.Namespace
- }
- if true {
- toSerialize["object"] = o.Object
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
}
- if true {
- toSerialize["relation"] = o.Relation
- }
- if o.SubjectId != nil {
+ return json.Marshal(toSerialize)
+}
+
+func (o Relationship) ToMap() (map[string]interface{}, error) {
+ toSerialize := map[string]interface{}{}
+ toSerialize["namespace"] = o.Namespace
+ toSerialize["object"] = o.Object
+ toSerialize["relation"] = o.Relation
+ if !IsNil(o.SubjectId) {
toSerialize["subject_id"] = o.SubjectId
}
- if o.SubjectSet != nil {
+ if !IsNil(o.SubjectSet) {
toSerialize["subject_set"] = o.SubjectSet
}
@@ -209,16 +215,43 @@ func (o Relationship) MarshalJSON() ([]byte, error) {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *Relationship) UnmarshalJSON(bytes []byte) (err error) {
+ // This validates that all required properties are included in the JSON object
+ // by unmarshalling the object into a generic map with string keys and checking
+ // that every required field exists as a key in the generic map.
+ requiredProperties := []string{
+ "namespace",
+ "object",
+ "relation",
+ }
+
+ allProperties := make(map[string]interface{})
+
+ err = json.Unmarshal(bytes, &allProperties)
+
+ if err != nil {
+ return err;
+ }
+
+ for _, requiredProperty := range(requiredProperties) {
+ if _, exists := allProperties[requiredProperty]; !exists {
+ return fmt.Errorf("no value given for required property %v", requiredProperty)
+ }
+ }
+
varRelationship := _Relationship{}
- if err = json.Unmarshal(bytes, &varRelationship); err == nil {
- *o = Relationship(varRelationship)
+ err = json.Unmarshal(bytes, &varRelationship)
+
+ if err != nil {
+ return err
}
+ *o = Relationship(varRelationship)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_relationship_namespaces.go b/clients/client/go/model_relationship_namespaces.go
index 6257a60cc20..1f30c4b84fe 100644
--- a/clients/client/go/model_relationship_namespaces.go
+++ b/clients/client/go/model_relationship_namespaces.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -15,6 +15,9 @@ import (
"encoding/json"
)
+// checks if the RelationshipNamespaces type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &RelationshipNamespaces{}
+
// RelationshipNamespaces Relationship Namespace List
type RelationshipNamespaces struct {
Namespaces []Namespace `json:"namespaces,omitempty"`
@@ -42,7 +45,7 @@ func NewRelationshipNamespacesWithDefaults() *RelationshipNamespaces {
// GetNamespaces returns the Namespaces field value if set, zero value otherwise.
func (o *RelationshipNamespaces) GetNamespaces() []Namespace {
- if o == nil || o.Namespaces == nil {
+ if o == nil || IsNil(o.Namespaces) {
var ret []Namespace
return ret
}
@@ -52,7 +55,7 @@ func (o *RelationshipNamespaces) GetNamespaces() []Namespace {
// GetNamespacesOk returns a tuple with the Namespaces field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *RelationshipNamespaces) GetNamespacesOk() ([]Namespace, bool) {
- if o == nil || o.Namespaces == nil {
+ if o == nil || IsNil(o.Namespaces) {
return nil, false
}
return o.Namespaces, true
@@ -60,7 +63,7 @@ func (o *RelationshipNamespaces) GetNamespacesOk() ([]Namespace, bool) {
// HasNamespaces returns a boolean if a field has been set.
func (o *RelationshipNamespaces) HasNamespaces() bool {
- if o != nil && o.Namespaces != nil {
+ if o != nil && !IsNil(o.Namespaces) {
return true
}
@@ -73,8 +76,16 @@ func (o *RelationshipNamespaces) SetNamespaces(v []Namespace) {
}
func (o RelationshipNamespaces) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o RelationshipNamespaces) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
- if o.Namespaces != nil {
+ if !IsNil(o.Namespaces) {
toSerialize["namespaces"] = o.Namespaces
}
@@ -82,16 +93,20 @@ func (o RelationshipNamespaces) MarshalJSON() ([]byte, error) {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *RelationshipNamespaces) UnmarshalJSON(bytes []byte) (err error) {
varRelationshipNamespaces := _RelationshipNamespaces{}
- if err = json.Unmarshal(bytes, &varRelationshipNamespaces); err == nil {
- *o = RelationshipNamespaces(varRelationshipNamespaces)
+ err = json.Unmarshal(bytes, &varRelationshipNamespaces)
+
+ if err != nil {
+ return err
}
+ *o = RelationshipNamespaces(varRelationshipNamespaces)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_relationship_patch.go b/clients/client/go/model_relationship_patch.go
index 883d200cfc0..d58aaa187c9 100644
--- a/clients/client/go/model_relationship_patch.go
+++ b/clients/client/go/model_relationship_patch.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -15,6 +15,9 @@ import (
"encoding/json"
)
+// checks if the RelationshipPatch type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &RelationshipPatch{}
+
// RelationshipPatch Payload for patching a relationship
type RelationshipPatch struct {
Action *string `json:"action,omitempty"`
@@ -43,7 +46,7 @@ func NewRelationshipPatchWithDefaults() *RelationshipPatch {
// GetAction returns the Action field value if set, zero value otherwise.
func (o *RelationshipPatch) GetAction() string {
- if o == nil || o.Action == nil {
+ if o == nil || IsNil(o.Action) {
var ret string
return ret
}
@@ -53,7 +56,7 @@ func (o *RelationshipPatch) GetAction() string {
// GetActionOk returns a tuple with the Action field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *RelationshipPatch) GetActionOk() (*string, bool) {
- if o == nil || o.Action == nil {
+ if o == nil || IsNil(o.Action) {
return nil, false
}
return o.Action, true
@@ -61,7 +64,7 @@ func (o *RelationshipPatch) GetActionOk() (*string, bool) {
// HasAction returns a boolean if a field has been set.
func (o *RelationshipPatch) HasAction() bool {
- if o != nil && o.Action != nil {
+ if o != nil && !IsNil(o.Action) {
return true
}
@@ -75,7 +78,7 @@ func (o *RelationshipPatch) SetAction(v string) {
// GetRelationTuple returns the RelationTuple field value if set, zero value otherwise.
func (o *RelationshipPatch) GetRelationTuple() Relationship {
- if o == nil || o.RelationTuple == nil {
+ if o == nil || IsNil(o.RelationTuple) {
var ret Relationship
return ret
}
@@ -85,7 +88,7 @@ func (o *RelationshipPatch) GetRelationTuple() Relationship {
// GetRelationTupleOk returns a tuple with the RelationTuple field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *RelationshipPatch) GetRelationTupleOk() (*Relationship, bool) {
- if o == nil || o.RelationTuple == nil {
+ if o == nil || IsNil(o.RelationTuple) {
return nil, false
}
return o.RelationTuple, true
@@ -93,7 +96,7 @@ func (o *RelationshipPatch) GetRelationTupleOk() (*Relationship, bool) {
// HasRelationTuple returns a boolean if a field has been set.
func (o *RelationshipPatch) HasRelationTuple() bool {
- if o != nil && o.RelationTuple != nil {
+ if o != nil && !IsNil(o.RelationTuple) {
return true
}
@@ -106,11 +109,19 @@ func (o *RelationshipPatch) SetRelationTuple(v Relationship) {
}
func (o RelationshipPatch) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o RelationshipPatch) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
- if o.Action != nil {
+ if !IsNil(o.Action) {
toSerialize["action"] = o.Action
}
- if o.RelationTuple != nil {
+ if !IsNil(o.RelationTuple) {
toSerialize["relation_tuple"] = o.RelationTuple
}
@@ -118,16 +129,20 @@ func (o RelationshipPatch) MarshalJSON() ([]byte, error) {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *RelationshipPatch) UnmarshalJSON(bytes []byte) (err error) {
varRelationshipPatch := _RelationshipPatch{}
- if err = json.Unmarshal(bytes, &varRelationshipPatch); err == nil {
- *o = RelationshipPatch(varRelationshipPatch)
+ err = json.Unmarshal(bytes, &varRelationshipPatch)
+
+ if err != nil {
+ return err
}
+ *o = RelationshipPatch(varRelationshipPatch)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_relationships.go b/clients/client/go/model_relationships.go
index b8cfa41b60e..3192efb4b99 100644
--- a/clients/client/go/model_relationships.go
+++ b/clients/client/go/model_relationships.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -15,6 +15,9 @@ import (
"encoding/json"
)
+// checks if the Relationships type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &Relationships{}
+
// Relationships Paginated Relationship List
type Relationships struct {
// The opaque token to provide in a subsequent request to get the next page. It is the empty string iff this is the last page.
@@ -44,7 +47,7 @@ func NewRelationshipsWithDefaults() *Relationships {
// GetNextPageToken returns the NextPageToken field value if set, zero value otherwise.
func (o *Relationships) GetNextPageToken() string {
- if o == nil || o.NextPageToken == nil {
+ if o == nil || IsNil(o.NextPageToken) {
var ret string
return ret
}
@@ -54,7 +57,7 @@ func (o *Relationships) GetNextPageToken() string {
// GetNextPageTokenOk returns a tuple with the NextPageToken field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *Relationships) GetNextPageTokenOk() (*string, bool) {
- if o == nil || o.NextPageToken == nil {
+ if o == nil || IsNil(o.NextPageToken) {
return nil, false
}
return o.NextPageToken, true
@@ -62,7 +65,7 @@ func (o *Relationships) GetNextPageTokenOk() (*string, bool) {
// HasNextPageToken returns a boolean if a field has been set.
func (o *Relationships) HasNextPageToken() bool {
- if o != nil && o.NextPageToken != nil {
+ if o != nil && !IsNil(o.NextPageToken) {
return true
}
@@ -76,7 +79,7 @@ func (o *Relationships) SetNextPageToken(v string) {
// GetRelationTuples returns the RelationTuples field value if set, zero value otherwise.
func (o *Relationships) GetRelationTuples() []Relationship {
- if o == nil || o.RelationTuples == nil {
+ if o == nil || IsNil(o.RelationTuples) {
var ret []Relationship
return ret
}
@@ -86,7 +89,7 @@ func (o *Relationships) GetRelationTuples() []Relationship {
// GetRelationTuplesOk returns a tuple with the RelationTuples field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *Relationships) GetRelationTuplesOk() ([]Relationship, bool) {
- if o == nil || o.RelationTuples == nil {
+ if o == nil || IsNil(o.RelationTuples) {
return nil, false
}
return o.RelationTuples, true
@@ -94,7 +97,7 @@ func (o *Relationships) GetRelationTuplesOk() ([]Relationship, bool) {
// HasRelationTuples returns a boolean if a field has been set.
func (o *Relationships) HasRelationTuples() bool {
- if o != nil && o.RelationTuples != nil {
+ if o != nil && !IsNil(o.RelationTuples) {
return true
}
@@ -107,11 +110,19 @@ func (o *Relationships) SetRelationTuples(v []Relationship) {
}
func (o Relationships) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o Relationships) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
- if o.NextPageToken != nil {
+ if !IsNil(o.NextPageToken) {
toSerialize["next_page_token"] = o.NextPageToken
}
- if o.RelationTuples != nil {
+ if !IsNil(o.RelationTuples) {
toSerialize["relation_tuples"] = o.RelationTuples
}
@@ -119,16 +130,20 @@ func (o Relationships) MarshalJSON() ([]byte, error) {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *Relationships) UnmarshalJSON(bytes []byte) (err error) {
varRelationships := _Relationships{}
- if err = json.Unmarshal(bytes, &varRelationships); err == nil {
- *o = Relationships(varRelationships)
+ err = json.Unmarshal(bytes, &varRelationships)
+
+ if err != nil {
+ return err
}
+ *o = Relationships(varRelationships)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_rfc6749_error_json.go b/clients/client/go/model_rfc6749_error_json.go
index 09f419c2ef5..936b73d207b 100644
--- a/clients/client/go/model_rfc6749_error_json.go
+++ b/clients/client/go/model_rfc6749_error_json.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -15,6 +15,9 @@ import (
"encoding/json"
)
+// checks if the RFC6749ErrorJson type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &RFC6749ErrorJson{}
+
// RFC6749ErrorJson struct for RFC6749ErrorJson
type RFC6749ErrorJson struct {
Error *string `json:"error,omitempty"`
@@ -46,7 +49,7 @@ func NewRFC6749ErrorJsonWithDefaults() *RFC6749ErrorJson {
// GetError returns the Error field value if set, zero value otherwise.
func (o *RFC6749ErrorJson) GetError() string {
- if o == nil || o.Error == nil {
+ if o == nil || IsNil(o.Error) {
var ret string
return ret
}
@@ -56,7 +59,7 @@ func (o *RFC6749ErrorJson) GetError() string {
// GetErrorOk returns a tuple with the Error field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *RFC6749ErrorJson) GetErrorOk() (*string, bool) {
- if o == nil || o.Error == nil {
+ if o == nil || IsNil(o.Error) {
return nil, false
}
return o.Error, true
@@ -64,7 +67,7 @@ func (o *RFC6749ErrorJson) GetErrorOk() (*string, bool) {
// HasError returns a boolean if a field has been set.
func (o *RFC6749ErrorJson) HasError() bool {
- if o != nil && o.Error != nil {
+ if o != nil && !IsNil(o.Error) {
return true
}
@@ -78,7 +81,7 @@ func (o *RFC6749ErrorJson) SetError(v string) {
// GetErrorDebug returns the ErrorDebug field value if set, zero value otherwise.
func (o *RFC6749ErrorJson) GetErrorDebug() string {
- if o == nil || o.ErrorDebug == nil {
+ if o == nil || IsNil(o.ErrorDebug) {
var ret string
return ret
}
@@ -88,7 +91,7 @@ func (o *RFC6749ErrorJson) GetErrorDebug() string {
// GetErrorDebugOk returns a tuple with the ErrorDebug field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *RFC6749ErrorJson) GetErrorDebugOk() (*string, bool) {
- if o == nil || o.ErrorDebug == nil {
+ if o == nil || IsNil(o.ErrorDebug) {
return nil, false
}
return o.ErrorDebug, true
@@ -96,7 +99,7 @@ func (o *RFC6749ErrorJson) GetErrorDebugOk() (*string, bool) {
// HasErrorDebug returns a boolean if a field has been set.
func (o *RFC6749ErrorJson) HasErrorDebug() bool {
- if o != nil && o.ErrorDebug != nil {
+ if o != nil && !IsNil(o.ErrorDebug) {
return true
}
@@ -110,7 +113,7 @@ func (o *RFC6749ErrorJson) SetErrorDebug(v string) {
// GetErrorDescription returns the ErrorDescription field value if set, zero value otherwise.
func (o *RFC6749ErrorJson) GetErrorDescription() string {
- if o == nil || o.ErrorDescription == nil {
+ if o == nil || IsNil(o.ErrorDescription) {
var ret string
return ret
}
@@ -120,7 +123,7 @@ func (o *RFC6749ErrorJson) GetErrorDescription() string {
// GetErrorDescriptionOk returns a tuple with the ErrorDescription field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *RFC6749ErrorJson) GetErrorDescriptionOk() (*string, bool) {
- if o == nil || o.ErrorDescription == nil {
+ if o == nil || IsNil(o.ErrorDescription) {
return nil, false
}
return o.ErrorDescription, true
@@ -128,7 +131,7 @@ func (o *RFC6749ErrorJson) GetErrorDescriptionOk() (*string, bool) {
// HasErrorDescription returns a boolean if a field has been set.
func (o *RFC6749ErrorJson) HasErrorDescription() bool {
- if o != nil && o.ErrorDescription != nil {
+ if o != nil && !IsNil(o.ErrorDescription) {
return true
}
@@ -142,7 +145,7 @@ func (o *RFC6749ErrorJson) SetErrorDescription(v string) {
// GetErrorHint returns the ErrorHint field value if set, zero value otherwise.
func (o *RFC6749ErrorJson) GetErrorHint() string {
- if o == nil || o.ErrorHint == nil {
+ if o == nil || IsNil(o.ErrorHint) {
var ret string
return ret
}
@@ -152,7 +155,7 @@ func (o *RFC6749ErrorJson) GetErrorHint() string {
// GetErrorHintOk returns a tuple with the ErrorHint field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *RFC6749ErrorJson) GetErrorHintOk() (*string, bool) {
- if o == nil || o.ErrorHint == nil {
+ if o == nil || IsNil(o.ErrorHint) {
return nil, false
}
return o.ErrorHint, true
@@ -160,7 +163,7 @@ func (o *RFC6749ErrorJson) GetErrorHintOk() (*string, bool) {
// HasErrorHint returns a boolean if a field has been set.
func (o *RFC6749ErrorJson) HasErrorHint() bool {
- if o != nil && o.ErrorHint != nil {
+ if o != nil && !IsNil(o.ErrorHint) {
return true
}
@@ -174,7 +177,7 @@ func (o *RFC6749ErrorJson) SetErrorHint(v string) {
// GetStatusCode returns the StatusCode field value if set, zero value otherwise.
func (o *RFC6749ErrorJson) GetStatusCode() int64 {
- if o == nil || o.StatusCode == nil {
+ if o == nil || IsNil(o.StatusCode) {
var ret int64
return ret
}
@@ -184,7 +187,7 @@ func (o *RFC6749ErrorJson) GetStatusCode() int64 {
// GetStatusCodeOk returns a tuple with the StatusCode field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *RFC6749ErrorJson) GetStatusCodeOk() (*int64, bool) {
- if o == nil || o.StatusCode == nil {
+ if o == nil || IsNil(o.StatusCode) {
return nil, false
}
return o.StatusCode, true
@@ -192,7 +195,7 @@ func (o *RFC6749ErrorJson) GetStatusCodeOk() (*int64, bool) {
// HasStatusCode returns a boolean if a field has been set.
func (o *RFC6749ErrorJson) HasStatusCode() bool {
- if o != nil && o.StatusCode != nil {
+ if o != nil && !IsNil(o.StatusCode) {
return true
}
@@ -205,20 +208,28 @@ func (o *RFC6749ErrorJson) SetStatusCode(v int64) {
}
func (o RFC6749ErrorJson) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o RFC6749ErrorJson) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
- if o.Error != nil {
+ if !IsNil(o.Error) {
toSerialize["error"] = o.Error
}
- if o.ErrorDebug != nil {
+ if !IsNil(o.ErrorDebug) {
toSerialize["error_debug"] = o.ErrorDebug
}
- if o.ErrorDescription != nil {
+ if !IsNil(o.ErrorDescription) {
toSerialize["error_description"] = o.ErrorDescription
}
- if o.ErrorHint != nil {
+ if !IsNil(o.ErrorHint) {
toSerialize["error_hint"] = o.ErrorHint
}
- if o.StatusCode != nil {
+ if !IsNil(o.StatusCode) {
toSerialize["status_code"] = o.StatusCode
}
@@ -226,16 +237,20 @@ func (o RFC6749ErrorJson) MarshalJSON() ([]byte, error) {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *RFC6749ErrorJson) UnmarshalJSON(bytes []byte) (err error) {
varRFC6749ErrorJson := _RFC6749ErrorJson{}
- if err = json.Unmarshal(bytes, &varRFC6749ErrorJson); err == nil {
- *o = RFC6749ErrorJson(varRFC6749ErrorJson)
+ err = json.Unmarshal(bytes, &varRFC6749ErrorJson)
+
+ if err != nil {
+ return err
}
+ *o = RFC6749ErrorJson(varRFC6749ErrorJson)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_schema_patch.go b/clients/client/go/model_schema_patch.go
index c7ce1d8b554..d675a9d6195 100644
--- a/clients/client/go/model_schema_patch.go
+++ b/clients/client/go/model_schema_patch.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -13,8 +13,12 @@ package client
import (
"encoding/json"
+ "fmt"
)
+// checks if the SchemaPatch type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &SchemaPatch{}
+
// SchemaPatch struct for SchemaPatch
type SchemaPatch struct {
// The json schema
@@ -59,7 +63,7 @@ func (o *SchemaPatch) GetData() map[string]interface{} {
// and a boolean to check if the value has been set.
func (o *SchemaPatch) GetDataOk() (map[string]interface{}, bool) {
if o == nil {
- return nil, false
+ return map[string]interface{}{}, false
}
return o.Data, true
}
@@ -94,28 +98,58 @@ func (o *SchemaPatch) SetName(v string) {
}
func (o SchemaPatch) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if true {
- toSerialize["data"] = o.Data
- }
- if true {
- toSerialize["name"] = o.Name
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
}
+ return json.Marshal(toSerialize)
+}
+
+func (o SchemaPatch) ToMap() (map[string]interface{}, error) {
+ toSerialize := map[string]interface{}{}
+ toSerialize["data"] = o.Data
+ toSerialize["name"] = o.Name
for key, value := range o.AdditionalProperties {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *SchemaPatch) UnmarshalJSON(bytes []byte) (err error) {
+ // This validates that all required properties are included in the JSON object
+ // by unmarshalling the object into a generic map with string keys and checking
+ // that every required field exists as a key in the generic map.
+ requiredProperties := []string{
+ "data",
+ "name",
+ }
+
+ allProperties := make(map[string]interface{})
+
+ err = json.Unmarshal(bytes, &allProperties)
+
+ if err != nil {
+ return err;
+ }
+
+ for _, requiredProperty := range(requiredProperties) {
+ if _, exists := allProperties[requiredProperty]; !exists {
+ return fmt.Errorf("no value given for required property %v", requiredProperty)
+ }
+ }
+
varSchemaPatch := _SchemaPatch{}
- if err = json.Unmarshal(bytes, &varSchemaPatch); err == nil {
- *o = SchemaPatch(varSchemaPatch)
+ err = json.Unmarshal(bytes, &varSchemaPatch)
+
+ if err != nil {
+ return err
}
+ *o = SchemaPatch(varSchemaPatch)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_self_service_flow_expired_error.go b/clients/client/go/model_self_service_flow_expired_error.go
index 7bed4d8fcb8..d7ca608e8fc 100644
--- a/clients/client/go/model_self_service_flow_expired_error.go
+++ b/clients/client/go/model_self_service_flow_expired_error.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -16,6 +16,9 @@ import (
"time"
)
+// checks if the SelfServiceFlowExpiredError type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &SelfServiceFlowExpiredError{}
+
// SelfServiceFlowExpiredError Is sent when a flow is expired
type SelfServiceFlowExpiredError struct {
Error *GenericError `json:"error,omitempty"`
@@ -49,7 +52,7 @@ func NewSelfServiceFlowExpiredErrorWithDefaults() *SelfServiceFlowExpiredError {
// GetError returns the Error field value if set, zero value otherwise.
func (o *SelfServiceFlowExpiredError) GetError() GenericError {
- if o == nil || o.Error == nil {
+ if o == nil || IsNil(o.Error) {
var ret GenericError
return ret
}
@@ -59,7 +62,7 @@ func (o *SelfServiceFlowExpiredError) GetError() GenericError {
// GetErrorOk returns a tuple with the Error field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SelfServiceFlowExpiredError) GetErrorOk() (*GenericError, bool) {
- if o == nil || o.Error == nil {
+ if o == nil || IsNil(o.Error) {
return nil, false
}
return o.Error, true
@@ -67,7 +70,7 @@ func (o *SelfServiceFlowExpiredError) GetErrorOk() (*GenericError, bool) {
// HasError returns a boolean if a field has been set.
func (o *SelfServiceFlowExpiredError) HasError() bool {
- if o != nil && o.Error != nil {
+ if o != nil && !IsNil(o.Error) {
return true
}
@@ -81,7 +84,7 @@ func (o *SelfServiceFlowExpiredError) SetError(v GenericError) {
// GetExpiredAt returns the ExpiredAt field value if set, zero value otherwise.
func (o *SelfServiceFlowExpiredError) GetExpiredAt() time.Time {
- if o == nil || o.ExpiredAt == nil {
+ if o == nil || IsNil(o.ExpiredAt) {
var ret time.Time
return ret
}
@@ -91,7 +94,7 @@ func (o *SelfServiceFlowExpiredError) GetExpiredAt() time.Time {
// GetExpiredAtOk returns a tuple with the ExpiredAt field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SelfServiceFlowExpiredError) GetExpiredAtOk() (*time.Time, bool) {
- if o == nil || o.ExpiredAt == nil {
+ if o == nil || IsNil(o.ExpiredAt) {
return nil, false
}
return o.ExpiredAt, true
@@ -99,7 +102,7 @@ func (o *SelfServiceFlowExpiredError) GetExpiredAtOk() (*time.Time, bool) {
// HasExpiredAt returns a boolean if a field has been set.
func (o *SelfServiceFlowExpiredError) HasExpiredAt() bool {
- if o != nil && o.ExpiredAt != nil {
+ if o != nil && !IsNil(o.ExpiredAt) {
return true
}
@@ -113,7 +116,7 @@ func (o *SelfServiceFlowExpiredError) SetExpiredAt(v time.Time) {
// GetSince returns the Since field value if set, zero value otherwise.
func (o *SelfServiceFlowExpiredError) GetSince() int64 {
- if o == nil || o.Since == nil {
+ if o == nil || IsNil(o.Since) {
var ret int64
return ret
}
@@ -123,7 +126,7 @@ func (o *SelfServiceFlowExpiredError) GetSince() int64 {
// GetSinceOk returns a tuple with the Since field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SelfServiceFlowExpiredError) GetSinceOk() (*int64, bool) {
- if o == nil || o.Since == nil {
+ if o == nil || IsNil(o.Since) {
return nil, false
}
return o.Since, true
@@ -131,7 +134,7 @@ func (o *SelfServiceFlowExpiredError) GetSinceOk() (*int64, bool) {
// HasSince returns a boolean if a field has been set.
func (o *SelfServiceFlowExpiredError) HasSince() bool {
- if o != nil && o.Since != nil {
+ if o != nil && !IsNil(o.Since) {
return true
}
@@ -145,7 +148,7 @@ func (o *SelfServiceFlowExpiredError) SetSince(v int64) {
// GetUseFlowId returns the UseFlowId field value if set, zero value otherwise.
func (o *SelfServiceFlowExpiredError) GetUseFlowId() string {
- if o == nil || o.UseFlowId == nil {
+ if o == nil || IsNil(o.UseFlowId) {
var ret string
return ret
}
@@ -155,7 +158,7 @@ func (o *SelfServiceFlowExpiredError) GetUseFlowId() string {
// GetUseFlowIdOk returns a tuple with the UseFlowId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SelfServiceFlowExpiredError) GetUseFlowIdOk() (*string, bool) {
- if o == nil || o.UseFlowId == nil {
+ if o == nil || IsNil(o.UseFlowId) {
return nil, false
}
return o.UseFlowId, true
@@ -163,7 +166,7 @@ func (o *SelfServiceFlowExpiredError) GetUseFlowIdOk() (*string, bool) {
// HasUseFlowId returns a boolean if a field has been set.
func (o *SelfServiceFlowExpiredError) HasUseFlowId() bool {
- if o != nil && o.UseFlowId != nil {
+ if o != nil && !IsNil(o.UseFlowId) {
return true
}
@@ -176,17 +179,25 @@ func (o *SelfServiceFlowExpiredError) SetUseFlowId(v string) {
}
func (o SelfServiceFlowExpiredError) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o SelfServiceFlowExpiredError) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
- if o.Error != nil {
+ if !IsNil(o.Error) {
toSerialize["error"] = o.Error
}
- if o.ExpiredAt != nil {
+ if !IsNil(o.ExpiredAt) {
toSerialize["expired_at"] = o.ExpiredAt
}
- if o.Since != nil {
+ if !IsNil(o.Since) {
toSerialize["since"] = o.Since
}
- if o.UseFlowId != nil {
+ if !IsNil(o.UseFlowId) {
toSerialize["use_flow_id"] = o.UseFlowId
}
@@ -194,16 +205,20 @@ func (o SelfServiceFlowExpiredError) MarshalJSON() ([]byte, error) {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *SelfServiceFlowExpiredError) UnmarshalJSON(bytes []byte) (err error) {
varSelfServiceFlowExpiredError := _SelfServiceFlowExpiredError{}
- if err = json.Unmarshal(bytes, &varSelfServiceFlowExpiredError); err == nil {
- *o = SelfServiceFlowExpiredError(varSelfServiceFlowExpiredError)
+ err = json.Unmarshal(bytes, &varSelfServiceFlowExpiredError)
+
+ if err != nil {
+ return err
}
+ *o = SelfServiceFlowExpiredError(varSelfServiceFlowExpiredError)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_session.go b/clients/client/go/model_session.go
index 88f2d3a1463..7477ac71514 100644
--- a/clients/client/go/model_session.go
+++ b/clients/client/go/model_session.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -14,8 +14,12 @@ package client
import (
"encoding/json"
"time"
+ "fmt"
)
+// checks if the Session type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &Session{}
+
// Session A Session
type Session struct {
// Active state. If false the session is no longer active.
@@ -61,7 +65,7 @@ func NewSessionWithDefaults() *Session {
// GetActive returns the Active field value if set, zero value otherwise.
func (o *Session) GetActive() bool {
- if o == nil || o.Active == nil {
+ if o == nil || IsNil(o.Active) {
var ret bool
return ret
}
@@ -71,7 +75,7 @@ func (o *Session) GetActive() bool {
// GetActiveOk returns a tuple with the Active field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *Session) GetActiveOk() (*bool, bool) {
- if o == nil || o.Active == nil {
+ if o == nil || IsNil(o.Active) {
return nil, false
}
return o.Active, true
@@ -79,7 +83,7 @@ func (o *Session) GetActiveOk() (*bool, bool) {
// HasActive returns a boolean if a field has been set.
func (o *Session) HasActive() bool {
- if o != nil && o.Active != nil {
+ if o != nil && !IsNil(o.Active) {
return true
}
@@ -93,7 +97,7 @@ func (o *Session) SetActive(v bool) {
// GetAuthenticatedAt returns the AuthenticatedAt field value if set, zero value otherwise.
func (o *Session) GetAuthenticatedAt() time.Time {
- if o == nil || o.AuthenticatedAt == nil {
+ if o == nil || IsNil(o.AuthenticatedAt) {
var ret time.Time
return ret
}
@@ -103,7 +107,7 @@ func (o *Session) GetAuthenticatedAt() time.Time {
// GetAuthenticatedAtOk returns a tuple with the AuthenticatedAt field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *Session) GetAuthenticatedAtOk() (*time.Time, bool) {
- if o == nil || o.AuthenticatedAt == nil {
+ if o == nil || IsNil(o.AuthenticatedAt) {
return nil, false
}
return o.AuthenticatedAt, true
@@ -111,7 +115,7 @@ func (o *Session) GetAuthenticatedAtOk() (*time.Time, bool) {
// HasAuthenticatedAt returns a boolean if a field has been set.
func (o *Session) HasAuthenticatedAt() bool {
- if o != nil && o.AuthenticatedAt != nil {
+ if o != nil && !IsNil(o.AuthenticatedAt) {
return true
}
@@ -125,7 +129,7 @@ func (o *Session) SetAuthenticatedAt(v time.Time) {
// GetAuthenticationMethods returns the AuthenticationMethods field value if set, zero value otherwise.
func (o *Session) GetAuthenticationMethods() []SessionAuthenticationMethod {
- if o == nil || o.AuthenticationMethods == nil {
+ if o == nil || IsNil(o.AuthenticationMethods) {
var ret []SessionAuthenticationMethod
return ret
}
@@ -135,7 +139,7 @@ func (o *Session) GetAuthenticationMethods() []SessionAuthenticationMethod {
// GetAuthenticationMethodsOk returns a tuple with the AuthenticationMethods field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *Session) GetAuthenticationMethodsOk() ([]SessionAuthenticationMethod, bool) {
- if o == nil || o.AuthenticationMethods == nil {
+ if o == nil || IsNil(o.AuthenticationMethods) {
return nil, false
}
return o.AuthenticationMethods, true
@@ -143,7 +147,7 @@ func (o *Session) GetAuthenticationMethodsOk() ([]SessionAuthenticationMethod, b
// HasAuthenticationMethods returns a boolean if a field has been set.
func (o *Session) HasAuthenticationMethods() bool {
- if o != nil && o.AuthenticationMethods != nil {
+ if o != nil && !IsNil(o.AuthenticationMethods) {
return true
}
@@ -157,7 +161,7 @@ func (o *Session) SetAuthenticationMethods(v []SessionAuthenticationMethod) {
// GetAuthenticatorAssuranceLevel returns the AuthenticatorAssuranceLevel field value if set, zero value otherwise.
func (o *Session) GetAuthenticatorAssuranceLevel() AuthenticatorAssuranceLevel {
- if o == nil || o.AuthenticatorAssuranceLevel == nil {
+ if o == nil || IsNil(o.AuthenticatorAssuranceLevel) {
var ret AuthenticatorAssuranceLevel
return ret
}
@@ -167,7 +171,7 @@ func (o *Session) GetAuthenticatorAssuranceLevel() AuthenticatorAssuranceLevel {
// GetAuthenticatorAssuranceLevelOk returns a tuple with the AuthenticatorAssuranceLevel field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *Session) GetAuthenticatorAssuranceLevelOk() (*AuthenticatorAssuranceLevel, bool) {
- if o == nil || o.AuthenticatorAssuranceLevel == nil {
+ if o == nil || IsNil(o.AuthenticatorAssuranceLevel) {
return nil, false
}
return o.AuthenticatorAssuranceLevel, true
@@ -175,7 +179,7 @@ func (o *Session) GetAuthenticatorAssuranceLevelOk() (*AuthenticatorAssuranceLev
// HasAuthenticatorAssuranceLevel returns a boolean if a field has been set.
func (o *Session) HasAuthenticatorAssuranceLevel() bool {
- if o != nil && o.AuthenticatorAssuranceLevel != nil {
+ if o != nil && !IsNil(o.AuthenticatorAssuranceLevel) {
return true
}
@@ -189,7 +193,7 @@ func (o *Session) SetAuthenticatorAssuranceLevel(v AuthenticatorAssuranceLevel)
// GetDevices returns the Devices field value if set, zero value otherwise.
func (o *Session) GetDevices() []SessionDevice {
- if o == nil || o.Devices == nil {
+ if o == nil || IsNil(o.Devices) {
var ret []SessionDevice
return ret
}
@@ -199,7 +203,7 @@ func (o *Session) GetDevices() []SessionDevice {
// GetDevicesOk returns a tuple with the Devices field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *Session) GetDevicesOk() ([]SessionDevice, bool) {
- if o == nil || o.Devices == nil {
+ if o == nil || IsNil(o.Devices) {
return nil, false
}
return o.Devices, true
@@ -207,7 +211,7 @@ func (o *Session) GetDevicesOk() ([]SessionDevice, bool) {
// HasDevices returns a boolean if a field has been set.
func (o *Session) HasDevices() bool {
- if o != nil && o.Devices != nil {
+ if o != nil && !IsNil(o.Devices) {
return true
}
@@ -221,7 +225,7 @@ func (o *Session) SetDevices(v []SessionDevice) {
// GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.
func (o *Session) GetExpiresAt() time.Time {
- if o == nil || o.ExpiresAt == nil {
+ if o == nil || IsNil(o.ExpiresAt) {
var ret time.Time
return ret
}
@@ -231,7 +235,7 @@ func (o *Session) GetExpiresAt() time.Time {
// GetExpiresAtOk returns a tuple with the ExpiresAt field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *Session) GetExpiresAtOk() (*time.Time, bool) {
- if o == nil || o.ExpiresAt == nil {
+ if o == nil || IsNil(o.ExpiresAt) {
return nil, false
}
return o.ExpiresAt, true
@@ -239,7 +243,7 @@ func (o *Session) GetExpiresAtOk() (*time.Time, bool) {
// HasExpiresAt returns a boolean if a field has been set.
func (o *Session) HasExpiresAt() bool {
- if o != nil && o.ExpiresAt != nil {
+ if o != nil && !IsNil(o.ExpiresAt) {
return true
}
@@ -277,7 +281,7 @@ func (o *Session) SetId(v string) {
// GetIdentity returns the Identity field value if set, zero value otherwise.
func (o *Session) GetIdentity() Identity {
- if o == nil || o.Identity == nil {
+ if o == nil || IsNil(o.Identity) {
var ret Identity
return ret
}
@@ -287,7 +291,7 @@ func (o *Session) GetIdentity() Identity {
// GetIdentityOk returns a tuple with the Identity field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *Session) GetIdentityOk() (*Identity, bool) {
- if o == nil || o.Identity == nil {
+ if o == nil || IsNil(o.Identity) {
return nil, false
}
return o.Identity, true
@@ -295,7 +299,7 @@ func (o *Session) GetIdentityOk() (*Identity, bool) {
// HasIdentity returns a boolean if a field has been set.
func (o *Session) HasIdentity() bool {
- if o != nil && o.Identity != nil {
+ if o != nil && !IsNil(o.Identity) {
return true
}
@@ -309,7 +313,7 @@ func (o *Session) SetIdentity(v Identity) {
// GetIssuedAt returns the IssuedAt field value if set, zero value otherwise.
func (o *Session) GetIssuedAt() time.Time {
- if o == nil || o.IssuedAt == nil {
+ if o == nil || IsNil(o.IssuedAt) {
var ret time.Time
return ret
}
@@ -319,7 +323,7 @@ func (o *Session) GetIssuedAt() time.Time {
// GetIssuedAtOk returns a tuple with the IssuedAt field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *Session) GetIssuedAtOk() (*time.Time, bool) {
- if o == nil || o.IssuedAt == nil {
+ if o == nil || IsNil(o.IssuedAt) {
return nil, false
}
return o.IssuedAt, true
@@ -327,7 +331,7 @@ func (o *Session) GetIssuedAtOk() (*time.Time, bool) {
// HasIssuedAt returns a boolean if a field has been set.
func (o *Session) HasIssuedAt() bool {
- if o != nil && o.IssuedAt != nil {
+ if o != nil && !IsNil(o.IssuedAt) {
return true
}
@@ -341,7 +345,7 @@ func (o *Session) SetIssuedAt(v time.Time) {
// GetTokenized returns the Tokenized field value if set, zero value otherwise.
func (o *Session) GetTokenized() string {
- if o == nil || o.Tokenized == nil {
+ if o == nil || IsNil(o.Tokenized) {
var ret string
return ret
}
@@ -351,7 +355,7 @@ func (o *Session) GetTokenized() string {
// GetTokenizedOk returns a tuple with the Tokenized field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *Session) GetTokenizedOk() (*string, bool) {
- if o == nil || o.Tokenized == nil {
+ if o == nil || IsNil(o.Tokenized) {
return nil, false
}
return o.Tokenized, true
@@ -359,7 +363,7 @@ func (o *Session) GetTokenizedOk() (*string, bool) {
// HasTokenized returns a boolean if a field has been set.
func (o *Session) HasTokenized() bool {
- if o != nil && o.Tokenized != nil {
+ if o != nil && !IsNil(o.Tokenized) {
return true
}
@@ -372,35 +376,41 @@ func (o *Session) SetTokenized(v string) {
}
func (o Session) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o Session) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
- if o.Active != nil {
+ if !IsNil(o.Active) {
toSerialize["active"] = o.Active
}
- if o.AuthenticatedAt != nil {
+ if !IsNil(o.AuthenticatedAt) {
toSerialize["authenticated_at"] = o.AuthenticatedAt
}
- if o.AuthenticationMethods != nil {
+ if !IsNil(o.AuthenticationMethods) {
toSerialize["authentication_methods"] = o.AuthenticationMethods
}
- if o.AuthenticatorAssuranceLevel != nil {
+ if !IsNil(o.AuthenticatorAssuranceLevel) {
toSerialize["authenticator_assurance_level"] = o.AuthenticatorAssuranceLevel
}
- if o.Devices != nil {
+ if !IsNil(o.Devices) {
toSerialize["devices"] = o.Devices
}
- if o.ExpiresAt != nil {
+ if !IsNil(o.ExpiresAt) {
toSerialize["expires_at"] = o.ExpiresAt
}
- if true {
- toSerialize["id"] = o.Id
- }
- if o.Identity != nil {
+ toSerialize["id"] = o.Id
+ if !IsNil(o.Identity) {
toSerialize["identity"] = o.Identity
}
- if o.IssuedAt != nil {
+ if !IsNil(o.IssuedAt) {
toSerialize["issued_at"] = o.IssuedAt
}
- if o.Tokenized != nil {
+ if !IsNil(o.Tokenized) {
toSerialize["tokenized"] = o.Tokenized
}
@@ -408,16 +418,41 @@ func (o Session) MarshalJSON() ([]byte, error) {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *Session) UnmarshalJSON(bytes []byte) (err error) {
+ // This validates that all required properties are included in the JSON object
+ // by unmarshalling the object into a generic map with string keys and checking
+ // that every required field exists as a key in the generic map.
+ requiredProperties := []string{
+ "id",
+ }
+
+ allProperties := make(map[string]interface{})
+
+ err = json.Unmarshal(bytes, &allProperties)
+
+ if err != nil {
+ return err;
+ }
+
+ for _, requiredProperty := range(requiredProperties) {
+ if _, exists := allProperties[requiredProperty]; !exists {
+ return fmt.Errorf("no value given for required property %v", requiredProperty)
+ }
+ }
+
varSession := _Session{}
- if err = json.Unmarshal(bytes, &varSession); err == nil {
- *o = Session(varSession)
+ err = json.Unmarshal(bytes, &varSession)
+
+ if err != nil {
+ return err
}
+ *o = Session(varSession)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_session_activity_datapoint.go b/clients/client/go/model_session_activity_datapoint.go
index 0b1b60f3855..4b46fb6c1fe 100644
--- a/clients/client/go/model_session_activity_datapoint.go
+++ b/clients/client/go/model_session_activity_datapoint.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -13,8 +13,12 @@ package client
import (
"encoding/json"
+ "fmt"
)
+// checks if the SessionActivityDatapoint type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &SessionActivityDatapoint{}
+
// SessionActivityDatapoint struct for SessionActivityDatapoint
type SessionActivityDatapoint struct {
// Country of the events
@@ -121,31 +125,60 @@ func (o *SessionActivityDatapoint) SetSucceeded(v int64) {
}
func (o SessionActivityDatapoint) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if true {
- toSerialize["country"] = o.Country
- }
- if true {
- toSerialize["failed"] = o.Failed
- }
- if true {
- toSerialize["succeeded"] = o.Succeeded
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
}
+ return json.Marshal(toSerialize)
+}
+
+func (o SessionActivityDatapoint) ToMap() (map[string]interface{}, error) {
+ toSerialize := map[string]interface{}{}
+ toSerialize["country"] = o.Country
+ toSerialize["failed"] = o.Failed
+ toSerialize["succeeded"] = o.Succeeded
for key, value := range o.AdditionalProperties {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *SessionActivityDatapoint) UnmarshalJSON(bytes []byte) (err error) {
+ // This validates that all required properties are included in the JSON object
+ // by unmarshalling the object into a generic map with string keys and checking
+ // that every required field exists as a key in the generic map.
+ requiredProperties := []string{
+ "country",
+ "failed",
+ "succeeded",
+ }
+
+ allProperties := make(map[string]interface{})
+
+ err = json.Unmarshal(bytes, &allProperties)
+
+ if err != nil {
+ return err;
+ }
+
+ for _, requiredProperty := range(requiredProperties) {
+ if _, exists := allProperties[requiredProperty]; !exists {
+ return fmt.Errorf("no value given for required property %v", requiredProperty)
+ }
+ }
+
varSessionActivityDatapoint := _SessionActivityDatapoint{}
- if err = json.Unmarshal(bytes, &varSessionActivityDatapoint); err == nil {
- *o = SessionActivityDatapoint(varSessionActivityDatapoint)
+ err = json.Unmarshal(bytes, &varSessionActivityDatapoint)
+
+ if err != nil {
+ return err
}
+ *o = SessionActivityDatapoint(varSessionActivityDatapoint)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_session_authentication_method.go b/clients/client/go/model_session_authentication_method.go
index d8d67fdf110..133e8ba56f1 100644
--- a/clients/client/go/model_session_authentication_method.go
+++ b/clients/client/go/model_session_authentication_method.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -16,6 +16,9 @@ import (
"time"
)
+// checks if the SessionAuthenticationMethod type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &SessionAuthenticationMethod{}
+
// SessionAuthenticationMethod A singular authenticator used during authentication / login.
type SessionAuthenticationMethod struct {
Aal *AuthenticatorAssuranceLevel `json:"aal,omitempty"`
@@ -50,7 +53,7 @@ func NewSessionAuthenticationMethodWithDefaults() *SessionAuthenticationMethod {
// GetAal returns the Aal field value if set, zero value otherwise.
func (o *SessionAuthenticationMethod) GetAal() AuthenticatorAssuranceLevel {
- if o == nil || o.Aal == nil {
+ if o == nil || IsNil(o.Aal) {
var ret AuthenticatorAssuranceLevel
return ret
}
@@ -60,7 +63,7 @@ func (o *SessionAuthenticationMethod) GetAal() AuthenticatorAssuranceLevel {
// GetAalOk returns a tuple with the Aal field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SessionAuthenticationMethod) GetAalOk() (*AuthenticatorAssuranceLevel, bool) {
- if o == nil || o.Aal == nil {
+ if o == nil || IsNil(o.Aal) {
return nil, false
}
return o.Aal, true
@@ -68,7 +71,7 @@ func (o *SessionAuthenticationMethod) GetAalOk() (*AuthenticatorAssuranceLevel,
// HasAal returns a boolean if a field has been set.
func (o *SessionAuthenticationMethod) HasAal() bool {
- if o != nil && o.Aal != nil {
+ if o != nil && !IsNil(o.Aal) {
return true
}
@@ -82,7 +85,7 @@ func (o *SessionAuthenticationMethod) SetAal(v AuthenticatorAssuranceLevel) {
// GetCompletedAt returns the CompletedAt field value if set, zero value otherwise.
func (o *SessionAuthenticationMethod) GetCompletedAt() time.Time {
- if o == nil || o.CompletedAt == nil {
+ if o == nil || IsNil(o.CompletedAt) {
var ret time.Time
return ret
}
@@ -92,7 +95,7 @@ func (o *SessionAuthenticationMethod) GetCompletedAt() time.Time {
// GetCompletedAtOk returns a tuple with the CompletedAt field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SessionAuthenticationMethod) GetCompletedAtOk() (*time.Time, bool) {
- if o == nil || o.CompletedAt == nil {
+ if o == nil || IsNil(o.CompletedAt) {
return nil, false
}
return o.CompletedAt, true
@@ -100,7 +103,7 @@ func (o *SessionAuthenticationMethod) GetCompletedAtOk() (*time.Time, bool) {
// HasCompletedAt returns a boolean if a field has been set.
func (o *SessionAuthenticationMethod) HasCompletedAt() bool {
- if o != nil && o.CompletedAt != nil {
+ if o != nil && !IsNil(o.CompletedAt) {
return true
}
@@ -114,7 +117,7 @@ func (o *SessionAuthenticationMethod) SetCompletedAt(v time.Time) {
// GetMethod returns the Method field value if set, zero value otherwise.
func (o *SessionAuthenticationMethod) GetMethod() string {
- if o == nil || o.Method == nil {
+ if o == nil || IsNil(o.Method) {
var ret string
return ret
}
@@ -124,7 +127,7 @@ func (o *SessionAuthenticationMethod) GetMethod() string {
// GetMethodOk returns a tuple with the Method field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SessionAuthenticationMethod) GetMethodOk() (*string, bool) {
- if o == nil || o.Method == nil {
+ if o == nil || IsNil(o.Method) {
return nil, false
}
return o.Method, true
@@ -132,7 +135,7 @@ func (o *SessionAuthenticationMethod) GetMethodOk() (*string, bool) {
// HasMethod returns a boolean if a field has been set.
func (o *SessionAuthenticationMethod) HasMethod() bool {
- if o != nil && o.Method != nil {
+ if o != nil && !IsNil(o.Method) {
return true
}
@@ -146,7 +149,7 @@ func (o *SessionAuthenticationMethod) SetMethod(v string) {
// GetOrganization returns the Organization field value if set, zero value otherwise.
func (o *SessionAuthenticationMethod) GetOrganization() string {
- if o == nil || o.Organization == nil {
+ if o == nil || IsNil(o.Organization) {
var ret string
return ret
}
@@ -156,7 +159,7 @@ func (o *SessionAuthenticationMethod) GetOrganization() string {
// GetOrganizationOk returns a tuple with the Organization field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SessionAuthenticationMethod) GetOrganizationOk() (*string, bool) {
- if o == nil || o.Organization == nil {
+ if o == nil || IsNil(o.Organization) {
return nil, false
}
return o.Organization, true
@@ -164,7 +167,7 @@ func (o *SessionAuthenticationMethod) GetOrganizationOk() (*string, bool) {
// HasOrganization returns a boolean if a field has been set.
func (o *SessionAuthenticationMethod) HasOrganization() bool {
- if o != nil && o.Organization != nil {
+ if o != nil && !IsNil(o.Organization) {
return true
}
@@ -178,7 +181,7 @@ func (o *SessionAuthenticationMethod) SetOrganization(v string) {
// GetProvider returns the Provider field value if set, zero value otherwise.
func (o *SessionAuthenticationMethod) GetProvider() string {
- if o == nil || o.Provider == nil {
+ if o == nil || IsNil(o.Provider) {
var ret string
return ret
}
@@ -188,7 +191,7 @@ func (o *SessionAuthenticationMethod) GetProvider() string {
// GetProviderOk returns a tuple with the Provider field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SessionAuthenticationMethod) GetProviderOk() (*string, bool) {
- if o == nil || o.Provider == nil {
+ if o == nil || IsNil(o.Provider) {
return nil, false
}
return o.Provider, true
@@ -196,7 +199,7 @@ func (o *SessionAuthenticationMethod) GetProviderOk() (*string, bool) {
// HasProvider returns a boolean if a field has been set.
func (o *SessionAuthenticationMethod) HasProvider() bool {
- if o != nil && o.Provider != nil {
+ if o != nil && !IsNil(o.Provider) {
return true
}
@@ -209,20 +212,28 @@ func (o *SessionAuthenticationMethod) SetProvider(v string) {
}
func (o SessionAuthenticationMethod) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o SessionAuthenticationMethod) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
- if o.Aal != nil {
+ if !IsNil(o.Aal) {
toSerialize["aal"] = o.Aal
}
- if o.CompletedAt != nil {
+ if !IsNil(o.CompletedAt) {
toSerialize["completed_at"] = o.CompletedAt
}
- if o.Method != nil {
+ if !IsNil(o.Method) {
toSerialize["method"] = o.Method
}
- if o.Organization != nil {
+ if !IsNil(o.Organization) {
toSerialize["organization"] = o.Organization
}
- if o.Provider != nil {
+ if !IsNil(o.Provider) {
toSerialize["provider"] = o.Provider
}
@@ -230,16 +241,20 @@ func (o SessionAuthenticationMethod) MarshalJSON() ([]byte, error) {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *SessionAuthenticationMethod) UnmarshalJSON(bytes []byte) (err error) {
varSessionAuthenticationMethod := _SessionAuthenticationMethod{}
- if err = json.Unmarshal(bytes, &varSessionAuthenticationMethod); err == nil {
- *o = SessionAuthenticationMethod(varSessionAuthenticationMethod)
+ err = json.Unmarshal(bytes, &varSessionAuthenticationMethod)
+
+ if err != nil {
+ return err
}
+ *o = SessionAuthenticationMethod(varSessionAuthenticationMethod)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_session_device.go b/clients/client/go/model_session_device.go
index 3b22961e6c8..a33128ef432 100644
--- a/clients/client/go/model_session_device.go
+++ b/clients/client/go/model_session_device.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -13,8 +13,12 @@ package client
import (
"encoding/json"
+ "fmt"
)
+// checks if the SessionDevice type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &SessionDevice{}
+
// SessionDevice Device corresponding to a Session
type SessionDevice struct {
// Device record ID
@@ -74,7 +78,7 @@ func (o *SessionDevice) SetId(v string) {
// GetIpAddress returns the IpAddress field value if set, zero value otherwise.
func (o *SessionDevice) GetIpAddress() string {
- if o == nil || o.IpAddress == nil {
+ if o == nil || IsNil(o.IpAddress) {
var ret string
return ret
}
@@ -84,7 +88,7 @@ func (o *SessionDevice) GetIpAddress() string {
// GetIpAddressOk returns a tuple with the IpAddress field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SessionDevice) GetIpAddressOk() (*string, bool) {
- if o == nil || o.IpAddress == nil {
+ if o == nil || IsNil(o.IpAddress) {
return nil, false
}
return o.IpAddress, true
@@ -92,7 +96,7 @@ func (o *SessionDevice) GetIpAddressOk() (*string, bool) {
// HasIpAddress returns a boolean if a field has been set.
func (o *SessionDevice) HasIpAddress() bool {
- if o != nil && o.IpAddress != nil {
+ if o != nil && !IsNil(o.IpAddress) {
return true
}
@@ -106,7 +110,7 @@ func (o *SessionDevice) SetIpAddress(v string) {
// GetLocation returns the Location field value if set, zero value otherwise.
func (o *SessionDevice) GetLocation() string {
- if o == nil || o.Location == nil {
+ if o == nil || IsNil(o.Location) {
var ret string
return ret
}
@@ -116,7 +120,7 @@ func (o *SessionDevice) GetLocation() string {
// GetLocationOk returns a tuple with the Location field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SessionDevice) GetLocationOk() (*string, bool) {
- if o == nil || o.Location == nil {
+ if o == nil || IsNil(o.Location) {
return nil, false
}
return o.Location, true
@@ -124,7 +128,7 @@ func (o *SessionDevice) GetLocationOk() (*string, bool) {
// HasLocation returns a boolean if a field has been set.
func (o *SessionDevice) HasLocation() bool {
- if o != nil && o.Location != nil {
+ if o != nil && !IsNil(o.Location) {
return true
}
@@ -138,7 +142,7 @@ func (o *SessionDevice) SetLocation(v string) {
// GetUserAgent returns the UserAgent field value if set, zero value otherwise.
func (o *SessionDevice) GetUserAgent() string {
- if o == nil || o.UserAgent == nil {
+ if o == nil || IsNil(o.UserAgent) {
var ret string
return ret
}
@@ -148,7 +152,7 @@ func (o *SessionDevice) GetUserAgent() string {
// GetUserAgentOk returns a tuple with the UserAgent field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SessionDevice) GetUserAgentOk() (*string, bool) {
- if o == nil || o.UserAgent == nil {
+ if o == nil || IsNil(o.UserAgent) {
return nil, false
}
return o.UserAgent, true
@@ -156,7 +160,7 @@ func (o *SessionDevice) GetUserAgentOk() (*string, bool) {
// HasUserAgent returns a boolean if a field has been set.
func (o *SessionDevice) HasUserAgent() bool {
- if o != nil && o.UserAgent != nil {
+ if o != nil && !IsNil(o.UserAgent) {
return true
}
@@ -169,17 +173,23 @@ func (o *SessionDevice) SetUserAgent(v string) {
}
func (o SessionDevice) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if true {
- toSerialize["id"] = o.Id
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
}
- if o.IpAddress != nil {
+ return json.Marshal(toSerialize)
+}
+
+func (o SessionDevice) ToMap() (map[string]interface{}, error) {
+ toSerialize := map[string]interface{}{}
+ toSerialize["id"] = o.Id
+ if !IsNil(o.IpAddress) {
toSerialize["ip_address"] = o.IpAddress
}
- if o.Location != nil {
+ if !IsNil(o.Location) {
toSerialize["location"] = o.Location
}
- if o.UserAgent != nil {
+ if !IsNil(o.UserAgent) {
toSerialize["user_agent"] = o.UserAgent
}
@@ -187,16 +197,41 @@ func (o SessionDevice) MarshalJSON() ([]byte, error) {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *SessionDevice) UnmarshalJSON(bytes []byte) (err error) {
+ // This validates that all required properties are included in the JSON object
+ // by unmarshalling the object into a generic map with string keys and checking
+ // that every required field exists as a key in the generic map.
+ requiredProperties := []string{
+ "id",
+ }
+
+ allProperties := make(map[string]interface{})
+
+ err = json.Unmarshal(bytes, &allProperties)
+
+ if err != nil {
+ return err;
+ }
+
+ for _, requiredProperty := range(requiredProperties) {
+ if _, exists := allProperties[requiredProperty]; !exists {
+ return fmt.Errorf("no value given for required property %v", requiredProperty)
+ }
+ }
+
varSessionDevice := _SessionDevice{}
- if err = json.Unmarshal(bytes, &varSessionDevice); err == nil {
- *o = SessionDevice(varSessionDevice)
+ err = json.Unmarshal(bytes, &varSessionDevice)
+
+ if err != nil {
+ return err
}
+ *o = SessionDevice(varSessionDevice)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_set_active_project_in_console_body.go b/clients/client/go/model_set_active_project_in_console_body.go
index 2e7ab524a1f..eec8ed21222 100644
--- a/clients/client/go/model_set_active_project_in_console_body.go
+++ b/clients/client/go/model_set_active_project_in_console_body.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -13,8 +13,12 @@ package client
import (
"encoding/json"
+ "fmt"
)
+// checks if the SetActiveProjectInConsoleBody type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &SetActiveProjectInConsoleBody{}
+
// SetActiveProjectInConsoleBody Set active project in the Ory Network Console Request Body
type SetActiveProjectInConsoleBody struct {
// Project ID The Project ID you want to set active. format: uuid
@@ -67,25 +71,56 @@ func (o *SetActiveProjectInConsoleBody) SetProjectId(v string) {
}
func (o SetActiveProjectInConsoleBody) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if true {
- toSerialize["project_id"] = o.ProjectId
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
}
+ return json.Marshal(toSerialize)
+}
+
+func (o SetActiveProjectInConsoleBody) ToMap() (map[string]interface{}, error) {
+ toSerialize := map[string]interface{}{}
+ toSerialize["project_id"] = o.ProjectId
for key, value := range o.AdditionalProperties {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *SetActiveProjectInConsoleBody) UnmarshalJSON(bytes []byte) (err error) {
+ // This validates that all required properties are included in the JSON object
+ // by unmarshalling the object into a generic map with string keys and checking
+ // that every required field exists as a key in the generic map.
+ requiredProperties := []string{
+ "project_id",
+ }
+
+ allProperties := make(map[string]interface{})
+
+ err = json.Unmarshal(bytes, &allProperties)
+
+ if err != nil {
+ return err;
+ }
+
+ for _, requiredProperty := range(requiredProperties) {
+ if _, exists := allProperties[requiredProperty]; !exists {
+ return fmt.Errorf("no value given for required property %v", requiredProperty)
+ }
+ }
+
varSetActiveProjectInConsoleBody := _SetActiveProjectInConsoleBody{}
- if err = json.Unmarshal(bytes, &varSetActiveProjectInConsoleBody); err == nil {
- *o = SetActiveProjectInConsoleBody(varSetActiveProjectInConsoleBody)
+ err = json.Unmarshal(bytes, &varSetActiveProjectInConsoleBody)
+
+ if err != nil {
+ return err
}
+ *o = SetActiveProjectInConsoleBody(varSetActiveProjectInConsoleBody)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_set_custom_domain_body.go b/clients/client/go/model_set_custom_domain_body.go
index 1f366a8c470..edec9ae2de2 100644
--- a/clients/client/go/model_set_custom_domain_body.go
+++ b/clients/client/go/model_set_custom_domain_body.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -15,6 +15,9 @@ import (
"encoding/json"
)
+// checks if the SetCustomDomainBody type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &SetCustomDomainBody{}
+
// SetCustomDomainBody Update Custom Hostname Body
type SetCustomDomainBody struct {
// The domain where cookies will be set. Has to be a parent domain of the custom hostname to work.
@@ -51,7 +54,7 @@ func NewSetCustomDomainBodyWithDefaults() *SetCustomDomainBody {
// GetCookieDomain returns the CookieDomain field value if set, zero value otherwise.
func (o *SetCustomDomainBody) GetCookieDomain() string {
- if o == nil || o.CookieDomain == nil {
+ if o == nil || IsNil(o.CookieDomain) {
var ret string
return ret
}
@@ -61,7 +64,7 @@ func (o *SetCustomDomainBody) GetCookieDomain() string {
// GetCookieDomainOk returns a tuple with the CookieDomain field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SetCustomDomainBody) GetCookieDomainOk() (*string, bool) {
- if o == nil || o.CookieDomain == nil {
+ if o == nil || IsNil(o.CookieDomain) {
return nil, false
}
return o.CookieDomain, true
@@ -69,7 +72,7 @@ func (o *SetCustomDomainBody) GetCookieDomainOk() (*string, bool) {
// HasCookieDomain returns a boolean if a field has been set.
func (o *SetCustomDomainBody) HasCookieDomain() bool {
- if o != nil && o.CookieDomain != nil {
+ if o != nil && !IsNil(o.CookieDomain) {
return true
}
@@ -83,7 +86,7 @@ func (o *SetCustomDomainBody) SetCookieDomain(v string) {
// GetCorsAllowedOrigins returns the CorsAllowedOrigins field value if set, zero value otherwise.
func (o *SetCustomDomainBody) GetCorsAllowedOrigins() []string {
- if o == nil || o.CorsAllowedOrigins == nil {
+ if o == nil || IsNil(o.CorsAllowedOrigins) {
var ret []string
return ret
}
@@ -93,7 +96,7 @@ func (o *SetCustomDomainBody) GetCorsAllowedOrigins() []string {
// GetCorsAllowedOriginsOk returns a tuple with the CorsAllowedOrigins field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SetCustomDomainBody) GetCorsAllowedOriginsOk() ([]string, bool) {
- if o == nil || o.CorsAllowedOrigins == nil {
+ if o == nil || IsNil(o.CorsAllowedOrigins) {
return nil, false
}
return o.CorsAllowedOrigins, true
@@ -101,7 +104,7 @@ func (o *SetCustomDomainBody) GetCorsAllowedOriginsOk() ([]string, bool) {
// HasCorsAllowedOrigins returns a boolean if a field has been set.
func (o *SetCustomDomainBody) HasCorsAllowedOrigins() bool {
- if o != nil && o.CorsAllowedOrigins != nil {
+ if o != nil && !IsNil(o.CorsAllowedOrigins) {
return true
}
@@ -115,7 +118,7 @@ func (o *SetCustomDomainBody) SetCorsAllowedOrigins(v []string) {
// GetCorsEnabled returns the CorsEnabled field value if set, zero value otherwise.
func (o *SetCustomDomainBody) GetCorsEnabled() bool {
- if o == nil || o.CorsEnabled == nil {
+ if o == nil || IsNil(o.CorsEnabled) {
var ret bool
return ret
}
@@ -125,7 +128,7 @@ func (o *SetCustomDomainBody) GetCorsEnabled() bool {
// GetCorsEnabledOk returns a tuple with the CorsEnabled field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SetCustomDomainBody) GetCorsEnabledOk() (*bool, bool) {
- if o == nil || o.CorsEnabled == nil {
+ if o == nil || IsNil(o.CorsEnabled) {
return nil, false
}
return o.CorsEnabled, true
@@ -133,7 +136,7 @@ func (o *SetCustomDomainBody) GetCorsEnabledOk() (*bool, bool) {
// HasCorsEnabled returns a boolean if a field has been set.
func (o *SetCustomDomainBody) HasCorsEnabled() bool {
- if o != nil && o.CorsEnabled != nil {
+ if o != nil && !IsNil(o.CorsEnabled) {
return true
}
@@ -147,7 +150,7 @@ func (o *SetCustomDomainBody) SetCorsEnabled(v bool) {
// GetCustomUiBaseUrl returns the CustomUiBaseUrl field value if set, zero value otherwise.
func (o *SetCustomDomainBody) GetCustomUiBaseUrl() string {
- if o == nil || o.CustomUiBaseUrl == nil {
+ if o == nil || IsNil(o.CustomUiBaseUrl) {
var ret string
return ret
}
@@ -157,7 +160,7 @@ func (o *SetCustomDomainBody) GetCustomUiBaseUrl() string {
// GetCustomUiBaseUrlOk returns a tuple with the CustomUiBaseUrl field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SetCustomDomainBody) GetCustomUiBaseUrlOk() (*string, bool) {
- if o == nil || o.CustomUiBaseUrl == nil {
+ if o == nil || IsNil(o.CustomUiBaseUrl) {
return nil, false
}
return o.CustomUiBaseUrl, true
@@ -165,7 +168,7 @@ func (o *SetCustomDomainBody) GetCustomUiBaseUrlOk() (*string, bool) {
// HasCustomUiBaseUrl returns a boolean if a field has been set.
func (o *SetCustomDomainBody) HasCustomUiBaseUrl() bool {
- if o != nil && o.CustomUiBaseUrl != nil {
+ if o != nil && !IsNil(o.CustomUiBaseUrl) {
return true
}
@@ -179,7 +182,7 @@ func (o *SetCustomDomainBody) SetCustomUiBaseUrl(v string) {
// GetHostname returns the Hostname field value if set, zero value otherwise.
func (o *SetCustomDomainBody) GetHostname() string {
- if o == nil || o.Hostname == nil {
+ if o == nil || IsNil(o.Hostname) {
var ret string
return ret
}
@@ -189,7 +192,7 @@ func (o *SetCustomDomainBody) GetHostname() string {
// GetHostnameOk returns a tuple with the Hostname field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SetCustomDomainBody) GetHostnameOk() (*string, bool) {
- if o == nil || o.Hostname == nil {
+ if o == nil || IsNil(o.Hostname) {
return nil, false
}
return o.Hostname, true
@@ -197,7 +200,7 @@ func (o *SetCustomDomainBody) GetHostnameOk() (*string, bool) {
// HasHostname returns a boolean if a field has been set.
func (o *SetCustomDomainBody) HasHostname() bool {
- if o != nil && o.Hostname != nil {
+ if o != nil && !IsNil(o.Hostname) {
return true
}
@@ -210,20 +213,28 @@ func (o *SetCustomDomainBody) SetHostname(v string) {
}
func (o SetCustomDomainBody) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o SetCustomDomainBody) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
- if o.CookieDomain != nil {
+ if !IsNil(o.CookieDomain) {
toSerialize["cookie_domain"] = o.CookieDomain
}
- if o.CorsAllowedOrigins != nil {
+ if !IsNil(o.CorsAllowedOrigins) {
toSerialize["cors_allowed_origins"] = o.CorsAllowedOrigins
}
- if o.CorsEnabled != nil {
+ if !IsNil(o.CorsEnabled) {
toSerialize["cors_enabled"] = o.CorsEnabled
}
- if o.CustomUiBaseUrl != nil {
+ if !IsNil(o.CustomUiBaseUrl) {
toSerialize["custom_ui_base_url"] = o.CustomUiBaseUrl
}
- if o.Hostname != nil {
+ if !IsNil(o.Hostname) {
toSerialize["hostname"] = o.Hostname
}
@@ -231,16 +242,20 @@ func (o SetCustomDomainBody) MarshalJSON() ([]byte, error) {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *SetCustomDomainBody) UnmarshalJSON(bytes []byte) (err error) {
varSetCustomDomainBody := _SetCustomDomainBody{}
- if err = json.Unmarshal(bytes, &varSetCustomDomainBody); err == nil {
- *o = SetCustomDomainBody(varSetCustomDomainBody)
+ err = json.Unmarshal(bytes, &varSetCustomDomainBody)
+
+ if err != nil {
+ return err
}
+ *o = SetCustomDomainBody(varSetCustomDomainBody)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_set_project.go b/clients/client/go/model_set_project.go
index 68d7b784449..ee7b560b72f 100644
--- a/clients/client/go/model_set_project.go
+++ b/clients/client/go/model_set_project.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -13,8 +13,12 @@ package client
import (
"encoding/json"
+ "fmt"
)
+// checks if the SetProject type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &SetProject{}
+
// SetProject struct for SetProject
type SetProject struct {
CorsAdmin ProjectCors `json:"cors_admin"`
@@ -145,34 +149,62 @@ func (o *SetProject) SetServices(v ProjectServices) {
}
func (o SetProject) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if true {
- toSerialize["cors_admin"] = o.CorsAdmin
- }
- if true {
- toSerialize["cors_public"] = o.CorsPublic
- }
- if true {
- toSerialize["name"] = o.Name
- }
- if true {
- toSerialize["services"] = o.Services
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
}
+ return json.Marshal(toSerialize)
+}
+
+func (o SetProject) ToMap() (map[string]interface{}, error) {
+ toSerialize := map[string]interface{}{}
+ toSerialize["cors_admin"] = o.CorsAdmin
+ toSerialize["cors_public"] = o.CorsPublic
+ toSerialize["name"] = o.Name
+ toSerialize["services"] = o.Services
for key, value := range o.AdditionalProperties {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *SetProject) UnmarshalJSON(bytes []byte) (err error) {
+ // This validates that all required properties are included in the JSON object
+ // by unmarshalling the object into a generic map with string keys and checking
+ // that every required field exists as a key in the generic map.
+ requiredProperties := []string{
+ "cors_admin",
+ "cors_public",
+ "name",
+ "services",
+ }
+
+ allProperties := make(map[string]interface{})
+
+ err = json.Unmarshal(bytes, &allProperties)
+
+ if err != nil {
+ return err;
+ }
+
+ for _, requiredProperty := range(requiredProperties) {
+ if _, exists := allProperties[requiredProperty]; !exists {
+ return fmt.Errorf("no value given for required property %v", requiredProperty)
+ }
+ }
+
varSetProject := _SetProject{}
- if err = json.Unmarshal(bytes, &varSetProject); err == nil {
- *o = SetProject(varSetProject)
+ err = json.Unmarshal(bytes, &varSetProject)
+
+ if err != nil {
+ return err
}
+ *o = SetProject(varSetProject)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_set_project_branding_theme_body.go b/clients/client/go/model_set_project_branding_theme_body.go
index 909c264c392..2f69e174696 100644
--- a/clients/client/go/model_set_project_branding_theme_body.go
+++ b/clients/client/go/model_set_project_branding_theme_body.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -15,6 +15,9 @@ import (
"encoding/json"
)
+// checks if the SetProjectBrandingThemeBody type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &SetProjectBrandingThemeBody{}
+
// SetProjectBrandingThemeBody struct for SetProjectBrandingThemeBody
type SetProjectBrandingThemeBody struct {
// Favicon Type
@@ -52,7 +55,7 @@ func NewSetProjectBrandingThemeBodyWithDefaults() *SetProjectBrandingThemeBody {
// GetFaviconType returns the FaviconType field value if set, zero value otherwise.
func (o *SetProjectBrandingThemeBody) GetFaviconType() string {
- if o == nil || o.FaviconType == nil {
+ if o == nil || IsNil(o.FaviconType) {
var ret string
return ret
}
@@ -62,7 +65,7 @@ func (o *SetProjectBrandingThemeBody) GetFaviconType() string {
// GetFaviconTypeOk returns a tuple with the FaviconType field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SetProjectBrandingThemeBody) GetFaviconTypeOk() (*string, bool) {
- if o == nil || o.FaviconType == nil {
+ if o == nil || IsNil(o.FaviconType) {
return nil, false
}
return o.FaviconType, true
@@ -70,7 +73,7 @@ func (o *SetProjectBrandingThemeBody) GetFaviconTypeOk() (*string, bool) {
// HasFaviconType returns a boolean if a field has been set.
func (o *SetProjectBrandingThemeBody) HasFaviconType() bool {
- if o != nil && o.FaviconType != nil {
+ if o != nil && !IsNil(o.FaviconType) {
return true
}
@@ -84,7 +87,7 @@ func (o *SetProjectBrandingThemeBody) SetFaviconType(v string) {
// GetFaviconUrl returns the FaviconUrl field value if set, zero value otherwise.
func (o *SetProjectBrandingThemeBody) GetFaviconUrl() string {
- if o == nil || o.FaviconUrl == nil {
+ if o == nil || IsNil(o.FaviconUrl) {
var ret string
return ret
}
@@ -94,7 +97,7 @@ func (o *SetProjectBrandingThemeBody) GetFaviconUrl() string {
// GetFaviconUrlOk returns a tuple with the FaviconUrl field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SetProjectBrandingThemeBody) GetFaviconUrlOk() (*string, bool) {
- if o == nil || o.FaviconUrl == nil {
+ if o == nil || IsNil(o.FaviconUrl) {
return nil, false
}
return o.FaviconUrl, true
@@ -102,7 +105,7 @@ func (o *SetProjectBrandingThemeBody) GetFaviconUrlOk() (*string, bool) {
// HasFaviconUrl returns a boolean if a field has been set.
func (o *SetProjectBrandingThemeBody) HasFaviconUrl() bool {
- if o != nil && o.FaviconUrl != nil {
+ if o != nil && !IsNil(o.FaviconUrl) {
return true
}
@@ -116,7 +119,7 @@ func (o *SetProjectBrandingThemeBody) SetFaviconUrl(v string) {
// GetLogoType returns the LogoType field value if set, zero value otherwise.
func (o *SetProjectBrandingThemeBody) GetLogoType() string {
- if o == nil || o.LogoType == nil {
+ if o == nil || IsNil(o.LogoType) {
var ret string
return ret
}
@@ -126,7 +129,7 @@ func (o *SetProjectBrandingThemeBody) GetLogoType() string {
// GetLogoTypeOk returns a tuple with the LogoType field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SetProjectBrandingThemeBody) GetLogoTypeOk() (*string, bool) {
- if o == nil || o.LogoType == nil {
+ if o == nil || IsNil(o.LogoType) {
return nil, false
}
return o.LogoType, true
@@ -134,7 +137,7 @@ func (o *SetProjectBrandingThemeBody) GetLogoTypeOk() (*string, bool) {
// HasLogoType returns a boolean if a field has been set.
func (o *SetProjectBrandingThemeBody) HasLogoType() bool {
- if o != nil && o.LogoType != nil {
+ if o != nil && !IsNil(o.LogoType) {
return true
}
@@ -148,7 +151,7 @@ func (o *SetProjectBrandingThemeBody) SetLogoType(v string) {
// GetLogoUrl returns the LogoUrl field value if set, zero value otherwise.
func (o *SetProjectBrandingThemeBody) GetLogoUrl() string {
- if o == nil || o.LogoUrl == nil {
+ if o == nil || IsNil(o.LogoUrl) {
var ret string
return ret
}
@@ -158,7 +161,7 @@ func (o *SetProjectBrandingThemeBody) GetLogoUrl() string {
// GetLogoUrlOk returns a tuple with the LogoUrl field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SetProjectBrandingThemeBody) GetLogoUrlOk() (*string, bool) {
- if o == nil || o.LogoUrl == nil {
+ if o == nil || IsNil(o.LogoUrl) {
return nil, false
}
return o.LogoUrl, true
@@ -166,7 +169,7 @@ func (o *SetProjectBrandingThemeBody) GetLogoUrlOk() (*string, bool) {
// HasLogoUrl returns a boolean if a field has been set.
func (o *SetProjectBrandingThemeBody) HasLogoUrl() bool {
- if o != nil && o.LogoUrl != nil {
+ if o != nil && !IsNil(o.LogoUrl) {
return true
}
@@ -180,7 +183,7 @@ func (o *SetProjectBrandingThemeBody) SetLogoUrl(v string) {
// GetName returns the Name field value if set, zero value otherwise.
func (o *SetProjectBrandingThemeBody) GetName() string {
- if o == nil || o.Name == nil {
+ if o == nil || IsNil(o.Name) {
var ret string
return ret
}
@@ -190,7 +193,7 @@ func (o *SetProjectBrandingThemeBody) GetName() string {
// GetNameOk returns a tuple with the Name field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SetProjectBrandingThemeBody) GetNameOk() (*string, bool) {
- if o == nil || o.Name == nil {
+ if o == nil || IsNil(o.Name) {
return nil, false
}
return o.Name, true
@@ -198,7 +201,7 @@ func (o *SetProjectBrandingThemeBody) GetNameOk() (*string, bool) {
// HasName returns a boolean if a field has been set.
func (o *SetProjectBrandingThemeBody) HasName() bool {
- if o != nil && o.Name != nil {
+ if o != nil && !IsNil(o.Name) {
return true
}
@@ -212,7 +215,7 @@ func (o *SetProjectBrandingThemeBody) SetName(v string) {
// GetTheme returns the Theme field value if set, zero value otherwise.
func (o *SetProjectBrandingThemeBody) GetTheme() ProjectBrandingColors {
- if o == nil || o.Theme == nil {
+ if o == nil || IsNil(o.Theme) {
var ret ProjectBrandingColors
return ret
}
@@ -222,7 +225,7 @@ func (o *SetProjectBrandingThemeBody) GetTheme() ProjectBrandingColors {
// GetThemeOk returns a tuple with the Theme field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SetProjectBrandingThemeBody) GetThemeOk() (*ProjectBrandingColors, bool) {
- if o == nil || o.Theme == nil {
+ if o == nil || IsNil(o.Theme) {
return nil, false
}
return o.Theme, true
@@ -230,7 +233,7 @@ func (o *SetProjectBrandingThemeBody) GetThemeOk() (*ProjectBrandingColors, bool
// HasTheme returns a boolean if a field has been set.
func (o *SetProjectBrandingThemeBody) HasTheme() bool {
- if o != nil && o.Theme != nil {
+ if o != nil && !IsNil(o.Theme) {
return true
}
@@ -243,23 +246,31 @@ func (o *SetProjectBrandingThemeBody) SetTheme(v ProjectBrandingColors) {
}
func (o SetProjectBrandingThemeBody) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o SetProjectBrandingThemeBody) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
- if o.FaviconType != nil {
+ if !IsNil(o.FaviconType) {
toSerialize["favicon_type"] = o.FaviconType
}
- if o.FaviconUrl != nil {
+ if !IsNil(o.FaviconUrl) {
toSerialize["favicon_url"] = o.FaviconUrl
}
- if o.LogoType != nil {
+ if !IsNil(o.LogoType) {
toSerialize["logo_type"] = o.LogoType
}
- if o.LogoUrl != nil {
+ if !IsNil(o.LogoUrl) {
toSerialize["logo_url"] = o.LogoUrl
}
- if o.Name != nil {
+ if !IsNil(o.Name) {
toSerialize["name"] = o.Name
}
- if o.Theme != nil {
+ if !IsNil(o.Theme) {
toSerialize["theme"] = o.Theme
}
@@ -267,16 +278,20 @@ func (o SetProjectBrandingThemeBody) MarshalJSON() ([]byte, error) {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *SetProjectBrandingThemeBody) UnmarshalJSON(bytes []byte) (err error) {
varSetProjectBrandingThemeBody := _SetProjectBrandingThemeBody{}
- if err = json.Unmarshal(bytes, &varSetProjectBrandingThemeBody); err == nil {
- *o = SetProjectBrandingThemeBody(varSetProjectBrandingThemeBody)
+ err = json.Unmarshal(bytes, &varSetProjectBrandingThemeBody)
+
+ if err != nil {
+ return err
}
+ *o = SetProjectBrandingThemeBody(varSetProjectBrandingThemeBody)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_settings_flow.go b/clients/client/go/model_settings_flow.go
index 30bbd845512..e238f3abb58 100644
--- a/clients/client/go/model_settings_flow.go
+++ b/clients/client/go/model_settings_flow.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -14,8 +14,12 @@ package client
import (
"encoding/json"
"time"
+ "fmt"
)
+// checks if the SettingsFlow type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &SettingsFlow{}
+
// SettingsFlow This flow is used when an identity wants to update settings (e.g. profile data, passwords, ...) in a selfservice manner. We recommend reading the [User Settings Documentation](../self-service/flows/user-settings)
type SettingsFlow struct {
// Active, if set, contains the registration method that is being used. It is initially not set.
@@ -70,7 +74,7 @@ func NewSettingsFlowWithDefaults() *SettingsFlow {
// GetActive returns the Active field value if set, zero value otherwise.
func (o *SettingsFlow) GetActive() string {
- if o == nil || o.Active == nil {
+ if o == nil || IsNil(o.Active) {
var ret string
return ret
}
@@ -80,7 +84,7 @@ func (o *SettingsFlow) GetActive() string {
// GetActiveOk returns a tuple with the Active field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SettingsFlow) GetActiveOk() (*string, bool) {
- if o == nil || o.Active == nil {
+ if o == nil || IsNil(o.Active) {
return nil, false
}
return o.Active, true
@@ -88,7 +92,7 @@ func (o *SettingsFlow) GetActiveOk() (*string, bool) {
// HasActive returns a boolean if a field has been set.
func (o *SettingsFlow) HasActive() bool {
- if o != nil && o.Active != nil {
+ if o != nil && !IsNil(o.Active) {
return true
}
@@ -102,7 +106,7 @@ func (o *SettingsFlow) SetActive(v string) {
// GetContinueWith returns the ContinueWith field value if set, zero value otherwise.
func (o *SettingsFlow) GetContinueWith() []ContinueWith {
- if o == nil || o.ContinueWith == nil {
+ if o == nil || IsNil(o.ContinueWith) {
var ret []ContinueWith
return ret
}
@@ -112,7 +116,7 @@ func (o *SettingsFlow) GetContinueWith() []ContinueWith {
// GetContinueWithOk returns a tuple with the ContinueWith field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SettingsFlow) GetContinueWithOk() ([]ContinueWith, bool) {
- if o == nil || o.ContinueWith == nil {
+ if o == nil || IsNil(o.ContinueWith) {
return nil, false
}
return o.ContinueWith, true
@@ -120,7 +124,7 @@ func (o *SettingsFlow) GetContinueWithOk() ([]ContinueWith, bool) {
// HasContinueWith returns a boolean if a field has been set.
func (o *SettingsFlow) HasContinueWith() bool {
- if o != nil && o.ContinueWith != nil {
+ if o != nil && !IsNil(o.ContinueWith) {
return true
}
@@ -254,7 +258,7 @@ func (o *SettingsFlow) SetRequestUrl(v string) {
// GetReturnTo returns the ReturnTo field value if set, zero value otherwise.
func (o *SettingsFlow) GetReturnTo() string {
- if o == nil || o.ReturnTo == nil {
+ if o == nil || IsNil(o.ReturnTo) {
var ret string
return ret
}
@@ -264,7 +268,7 @@ func (o *SettingsFlow) GetReturnTo() string {
// GetReturnToOk returns a tuple with the ReturnTo field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SettingsFlow) GetReturnToOk() (*string, bool) {
- if o == nil || o.ReturnTo == nil {
+ if o == nil || IsNil(o.ReturnTo) {
return nil, false
}
return o.ReturnTo, true
@@ -272,7 +276,7 @@ func (o *SettingsFlow) GetReturnToOk() (*string, bool) {
// HasReturnTo returns a boolean if a field has been set.
func (o *SettingsFlow) HasReturnTo() bool {
- if o != nil && o.ReturnTo != nil {
+ if o != nil && !IsNil(o.ReturnTo) {
return true
}
@@ -299,7 +303,7 @@ func (o *SettingsFlow) GetState() interface{} {
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *SettingsFlow) GetStateOk() (*interface{}, bool) {
- if o == nil || o.State == nil {
+ if o == nil || IsNil(o.State) {
return nil, false
}
return &o.State, true
@@ -359,55 +363,81 @@ func (o *SettingsFlow) SetUi(v UiContainer) {
}
func (o SettingsFlow) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o SettingsFlow) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
- if o.Active != nil {
+ if !IsNil(o.Active) {
toSerialize["active"] = o.Active
}
- if o.ContinueWith != nil {
+ if !IsNil(o.ContinueWith) {
toSerialize["continue_with"] = o.ContinueWith
}
- if true {
- toSerialize["expires_at"] = o.ExpiresAt
- }
- if true {
- toSerialize["id"] = o.Id
- }
- if true {
- toSerialize["identity"] = o.Identity
- }
- if true {
- toSerialize["issued_at"] = o.IssuedAt
- }
- if true {
- toSerialize["request_url"] = o.RequestUrl
- }
- if o.ReturnTo != nil {
+ toSerialize["expires_at"] = o.ExpiresAt
+ toSerialize["id"] = o.Id
+ toSerialize["identity"] = o.Identity
+ toSerialize["issued_at"] = o.IssuedAt
+ toSerialize["request_url"] = o.RequestUrl
+ if !IsNil(o.ReturnTo) {
toSerialize["return_to"] = o.ReturnTo
}
if o.State != nil {
toSerialize["state"] = o.State
}
- if true {
- toSerialize["type"] = o.Type
- }
- if true {
- toSerialize["ui"] = o.Ui
- }
+ toSerialize["type"] = o.Type
+ toSerialize["ui"] = o.Ui
for key, value := range o.AdditionalProperties {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *SettingsFlow) UnmarshalJSON(bytes []byte) (err error) {
+ // This validates that all required properties are included in the JSON object
+ // by unmarshalling the object into a generic map with string keys and checking
+ // that every required field exists as a key in the generic map.
+ requiredProperties := []string{
+ "expires_at",
+ "id",
+ "identity",
+ "issued_at",
+ "request_url",
+ "state",
+ "type",
+ "ui",
+ }
+
+ allProperties := make(map[string]interface{})
+
+ err = json.Unmarshal(bytes, &allProperties)
+
+ if err != nil {
+ return err;
+ }
+
+ for _, requiredProperty := range(requiredProperties) {
+ if _, exists := allProperties[requiredProperty]; !exists {
+ return fmt.Errorf("no value given for required property %v", requiredProperty)
+ }
+ }
+
varSettingsFlow := _SettingsFlow{}
- if err = json.Unmarshal(bytes, &varSettingsFlow); err == nil {
- *o = SettingsFlow(varSettingsFlow)
+ err = json.Unmarshal(bytes, &varSettingsFlow)
+
+ if err != nil {
+ return err
}
+ *o = SettingsFlow(varSettingsFlow)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_settings_flow_state.go b/clients/client/go/model_settings_flow_state.go
index e75811c6da1..9e416426538 100644
--- a/clients/client/go/model_settings_flow_state.go
+++ b/clients/client/go/model_settings_flow_state.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
diff --git a/clients/client/go/model_source_position.go b/clients/client/go/model_source_position.go
index 8bbefa60ba1..eb0d6348be8 100644
--- a/clients/client/go/model_source_position.go
+++ b/clients/client/go/model_source_position.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -15,6 +15,9 @@ import (
"encoding/json"
)
+// checks if the SourcePosition type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &SourcePosition{}
+
// SourcePosition struct for SourcePosition
type SourcePosition struct {
Line *int64 `json:"Line,omitempty"`
@@ -43,7 +46,7 @@ func NewSourcePositionWithDefaults() *SourcePosition {
// GetLine returns the Line field value if set, zero value otherwise.
func (o *SourcePosition) GetLine() int64 {
- if o == nil || o.Line == nil {
+ if o == nil || IsNil(o.Line) {
var ret int64
return ret
}
@@ -53,7 +56,7 @@ func (o *SourcePosition) GetLine() int64 {
// GetLineOk returns a tuple with the Line field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SourcePosition) GetLineOk() (*int64, bool) {
- if o == nil || o.Line == nil {
+ if o == nil || IsNil(o.Line) {
return nil, false
}
return o.Line, true
@@ -61,7 +64,7 @@ func (o *SourcePosition) GetLineOk() (*int64, bool) {
// HasLine returns a boolean if a field has been set.
func (o *SourcePosition) HasLine() bool {
- if o != nil && o.Line != nil {
+ if o != nil && !IsNil(o.Line) {
return true
}
@@ -75,7 +78,7 @@ func (o *SourcePosition) SetLine(v int64) {
// GetColumn returns the Column field value if set, zero value otherwise.
func (o *SourcePosition) GetColumn() int64 {
- if o == nil || o.Column == nil {
+ if o == nil || IsNil(o.Column) {
var ret int64
return ret
}
@@ -85,7 +88,7 @@ func (o *SourcePosition) GetColumn() int64 {
// GetColumnOk returns a tuple with the Column field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SourcePosition) GetColumnOk() (*int64, bool) {
- if o == nil || o.Column == nil {
+ if o == nil || IsNil(o.Column) {
return nil, false
}
return o.Column, true
@@ -93,7 +96,7 @@ func (o *SourcePosition) GetColumnOk() (*int64, bool) {
// HasColumn returns a boolean if a field has been set.
func (o *SourcePosition) HasColumn() bool {
- if o != nil && o.Column != nil {
+ if o != nil && !IsNil(o.Column) {
return true
}
@@ -106,11 +109,19 @@ func (o *SourcePosition) SetColumn(v int64) {
}
func (o SourcePosition) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o SourcePosition) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
- if o.Line != nil {
+ if !IsNil(o.Line) {
toSerialize["Line"] = o.Line
}
- if o.Column != nil {
+ if !IsNil(o.Column) {
toSerialize["column"] = o.Column
}
@@ -118,16 +129,20 @@ func (o SourcePosition) MarshalJSON() ([]byte, error) {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *SourcePosition) UnmarshalJSON(bytes []byte) (err error) {
varSourcePosition := _SourcePosition{}
- if err = json.Unmarshal(bytes, &varSourcePosition); err == nil {
- *o = SourcePosition(varSourcePosition)
+ err = json.Unmarshal(bytes, &varSourcePosition)
+
+ if err != nil {
+ return err
}
+ *o = SourcePosition(varSourcePosition)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_stripe_customer.go b/clients/client/go/model_stripe_customer.go
index f32bd562b4c..117831e4b52 100644
--- a/clients/client/go/model_stripe_customer.go
+++ b/clients/client/go/model_stripe_customer.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -15,6 +15,9 @@ import (
"encoding/json"
)
+// checks if the StripeCustomer type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &StripeCustomer{}
+
// StripeCustomer struct for StripeCustomer
type StripeCustomer struct {
Id *string `json:"id,omitempty"`
@@ -42,7 +45,7 @@ func NewStripeCustomerWithDefaults() *StripeCustomer {
// GetId returns the Id field value if set, zero value otherwise.
func (o *StripeCustomer) GetId() string {
- if o == nil || o.Id == nil {
+ if o == nil || IsNil(o.Id) {
var ret string
return ret
}
@@ -52,7 +55,7 @@ func (o *StripeCustomer) GetId() string {
// GetIdOk returns a tuple with the Id field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *StripeCustomer) GetIdOk() (*string, bool) {
- if o == nil || o.Id == nil {
+ if o == nil || IsNil(o.Id) {
return nil, false
}
return o.Id, true
@@ -60,7 +63,7 @@ func (o *StripeCustomer) GetIdOk() (*string, bool) {
// HasId returns a boolean if a field has been set.
func (o *StripeCustomer) HasId() bool {
- if o != nil && o.Id != nil {
+ if o != nil && !IsNil(o.Id) {
return true
}
@@ -73,8 +76,16 @@ func (o *StripeCustomer) SetId(v string) {
}
func (o StripeCustomer) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o StripeCustomer) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
- if o.Id != nil {
+ if !IsNil(o.Id) {
toSerialize["id"] = o.Id
}
@@ -82,16 +93,20 @@ func (o StripeCustomer) MarshalJSON() ([]byte, error) {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *StripeCustomer) UnmarshalJSON(bytes []byte) (err error) {
varStripeCustomer := _StripeCustomer{}
- if err = json.Unmarshal(bytes, &varStripeCustomer); err == nil {
- *o = StripeCustomer(varStripeCustomer)
+ err = json.Unmarshal(bytes, &varStripeCustomer)
+
+ if err != nil {
+ return err
}
+ *o = StripeCustomer(varStripeCustomer)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_subject_set.go b/clients/client/go/model_subject_set.go
index c62fc693fa8..762e638e9cc 100644
--- a/clients/client/go/model_subject_set.go
+++ b/clients/client/go/model_subject_set.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -13,8 +13,12 @@ package client
import (
"encoding/json"
+ "fmt"
)
+// checks if the SubjectSet type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &SubjectSet{}
+
// SubjectSet struct for SubjectSet
type SubjectSet struct {
// Namespace of the Subject Set
@@ -121,31 +125,60 @@ func (o *SubjectSet) SetRelation(v string) {
}
func (o SubjectSet) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if true {
- toSerialize["namespace"] = o.Namespace
- }
- if true {
- toSerialize["object"] = o.Object
- }
- if true {
- toSerialize["relation"] = o.Relation
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
}
+ return json.Marshal(toSerialize)
+}
+
+func (o SubjectSet) ToMap() (map[string]interface{}, error) {
+ toSerialize := map[string]interface{}{}
+ toSerialize["namespace"] = o.Namespace
+ toSerialize["object"] = o.Object
+ toSerialize["relation"] = o.Relation
for key, value := range o.AdditionalProperties {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *SubjectSet) UnmarshalJSON(bytes []byte) (err error) {
+ // This validates that all required properties are included in the JSON object
+ // by unmarshalling the object into a generic map with string keys and checking
+ // that every required field exists as a key in the generic map.
+ requiredProperties := []string{
+ "namespace",
+ "object",
+ "relation",
+ }
+
+ allProperties := make(map[string]interface{})
+
+ err = json.Unmarshal(bytes, &allProperties)
+
+ if err != nil {
+ return err;
+ }
+
+ for _, requiredProperty := range(requiredProperties) {
+ if _, exists := allProperties[requiredProperty]; !exists {
+ return fmt.Errorf("no value given for required property %v", requiredProperty)
+ }
+ }
+
varSubjectSet := _SubjectSet{}
- if err = json.Unmarshal(bytes, &varSubjectSet); err == nil {
- *o = SubjectSet(varSubjectSet)
+ err = json.Unmarshal(bytes, &varSubjectSet)
+
+ if err != nil {
+ return err
}
+ *o = SubjectSet(varSubjectSet)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_subscription.go b/clients/client/go/model_subscription.go
index 557e3bbae27..483984d1b6f 100644
--- a/clients/client/go/model_subscription.go
+++ b/clients/client/go/model_subscription.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -14,8 +14,12 @@ package client
import (
"encoding/json"
"time"
+ "fmt"
)
+// checks if the Subscription type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &Subscription{}
+
// Subscription struct for Subscription
type Subscription struct {
CreatedAt time.Time `json:"created_at"`
@@ -243,7 +247,7 @@ func (o *Subscription) SetIntervalChangesTo(v string) {
// GetOngoingStripeCheckoutId returns the OngoingStripeCheckoutId field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *Subscription) GetOngoingStripeCheckoutId() string {
- if o == nil || o.OngoingStripeCheckoutId.Get() == nil {
+ if o == nil || IsNil(o.OngoingStripeCheckoutId.Get()) {
var ret string
return ret
}
@@ -309,7 +313,7 @@ func (o *Subscription) SetPayedUntil(v time.Time) {
// GetPlanChangesAt returns the PlanChangesAt field value if set, zero value otherwise.
func (o *Subscription) GetPlanChangesAt() time.Time {
- if o == nil || o.PlanChangesAt == nil {
+ if o == nil || IsNil(o.PlanChangesAt) {
var ret time.Time
return ret
}
@@ -319,7 +323,7 @@ func (o *Subscription) GetPlanChangesAt() time.Time {
// GetPlanChangesAtOk returns a tuple with the PlanChangesAt field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *Subscription) GetPlanChangesAtOk() (*time.Time, bool) {
- if o == nil || o.PlanChangesAt == nil {
+ if o == nil || IsNil(o.PlanChangesAt) {
return nil, false
}
return o.PlanChangesAt, true
@@ -327,7 +331,7 @@ func (o *Subscription) GetPlanChangesAtOk() (*time.Time, bool) {
// HasPlanChangesAt returns a boolean if a field has been set.
func (o *Subscription) HasPlanChangesAt() bool {
- if o != nil && o.PlanChangesAt != nil {
+ if o != nil && !IsNil(o.PlanChangesAt) {
return true
}
@@ -414,61 +418,82 @@ func (o *Subscription) SetUpdatedAt(v time.Time) {
}
func (o Subscription) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if true {
- toSerialize["created_at"] = o.CreatedAt
- }
- if true {
- toSerialize["currency"] = o.Currency
- }
- if true {
- toSerialize["current_interval"] = o.CurrentInterval
- }
- if true {
- toSerialize["current_plan"] = o.CurrentPlan
- }
- if true {
- toSerialize["customer_id"] = o.CustomerId
- }
- if true {
- toSerialize["id"] = o.Id
- }
- if true {
- toSerialize["interval_changes_to"] = o.IntervalChangesTo.Get()
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
}
+ return json.Marshal(toSerialize)
+}
+
+func (o Subscription) ToMap() (map[string]interface{}, error) {
+ toSerialize := map[string]interface{}{}
+ toSerialize["created_at"] = o.CreatedAt
+ toSerialize["currency"] = o.Currency
+ toSerialize["current_interval"] = o.CurrentInterval
+ toSerialize["current_plan"] = o.CurrentPlan
+ toSerialize["customer_id"] = o.CustomerId
+ toSerialize["id"] = o.Id
+ toSerialize["interval_changes_to"] = o.IntervalChangesTo.Get()
if o.OngoingStripeCheckoutId.IsSet() {
toSerialize["ongoing_stripe_checkout_id"] = o.OngoingStripeCheckoutId.Get()
}
- if true {
- toSerialize["payed_until"] = o.PayedUntil
- }
- if o.PlanChangesAt != nil {
+ toSerialize["payed_until"] = o.PayedUntil
+ if !IsNil(o.PlanChangesAt) {
toSerialize["plan_changes_at"] = o.PlanChangesAt
}
- if true {
- toSerialize["plan_changes_to"] = o.PlanChangesTo.Get()
- }
- if true {
- toSerialize["status"] = o.Status
- }
- if true {
- toSerialize["updated_at"] = o.UpdatedAt
- }
+ toSerialize["plan_changes_to"] = o.PlanChangesTo.Get()
+ toSerialize["status"] = o.Status
+ toSerialize["updated_at"] = o.UpdatedAt
for key, value := range o.AdditionalProperties {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *Subscription) UnmarshalJSON(bytes []byte) (err error) {
+ // This validates that all required properties are included in the JSON object
+ // by unmarshalling the object into a generic map with string keys and checking
+ // that every required field exists as a key in the generic map.
+ requiredProperties := []string{
+ "created_at",
+ "currency",
+ "current_interval",
+ "current_plan",
+ "customer_id",
+ "id",
+ "interval_changes_to",
+ "payed_until",
+ "plan_changes_to",
+ "status",
+ "updated_at",
+ }
+
+ allProperties := make(map[string]interface{})
+
+ err = json.Unmarshal(bytes, &allProperties)
+
+ if err != nil {
+ return err;
+ }
+
+ for _, requiredProperty := range(requiredProperties) {
+ if _, exists := allProperties[requiredProperty]; !exists {
+ return fmt.Errorf("no value given for required property %v", requiredProperty)
+ }
+ }
+
varSubscription := _Subscription{}
- if err = json.Unmarshal(bytes, &varSubscription); err == nil {
- *o = Subscription(varSubscription)
+ err = json.Unmarshal(bytes, &varSubscription)
+
+ if err != nil {
+ return err
}
+ *o = Subscription(varSubscription)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_successful_code_exchange_response.go b/clients/client/go/model_successful_code_exchange_response.go
index 1f7ded8c612..4998463580a 100644
--- a/clients/client/go/model_successful_code_exchange_response.go
+++ b/clients/client/go/model_successful_code_exchange_response.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -13,8 +13,12 @@ package client
import (
"encoding/json"
+ "fmt"
)
+// checks if the SuccessfulCodeExchangeResponse type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &SuccessfulCodeExchangeResponse{}
+
// SuccessfulCodeExchangeResponse The Response for Registration Flows via API
type SuccessfulCodeExchangeResponse struct {
Session Session `json:"session"`
@@ -69,7 +73,7 @@ func (o *SuccessfulCodeExchangeResponse) SetSession(v Session) {
// GetSessionToken returns the SessionToken field value if set, zero value otherwise.
func (o *SuccessfulCodeExchangeResponse) GetSessionToken() string {
- if o == nil || o.SessionToken == nil {
+ if o == nil || IsNil(o.SessionToken) {
var ret string
return ret
}
@@ -79,7 +83,7 @@ func (o *SuccessfulCodeExchangeResponse) GetSessionToken() string {
// GetSessionTokenOk returns a tuple with the SessionToken field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SuccessfulCodeExchangeResponse) GetSessionTokenOk() (*string, bool) {
- if o == nil || o.SessionToken == nil {
+ if o == nil || IsNil(o.SessionToken) {
return nil, false
}
return o.SessionToken, true
@@ -87,7 +91,7 @@ func (o *SuccessfulCodeExchangeResponse) GetSessionTokenOk() (*string, bool) {
// HasSessionToken returns a boolean if a field has been set.
func (o *SuccessfulCodeExchangeResponse) HasSessionToken() bool {
- if o != nil && o.SessionToken != nil {
+ if o != nil && !IsNil(o.SessionToken) {
return true
}
@@ -100,11 +104,17 @@ func (o *SuccessfulCodeExchangeResponse) SetSessionToken(v string) {
}
func (o SuccessfulCodeExchangeResponse) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if true {
- toSerialize["session"] = o.Session
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
}
- if o.SessionToken != nil {
+ return json.Marshal(toSerialize)
+}
+
+func (o SuccessfulCodeExchangeResponse) ToMap() (map[string]interface{}, error) {
+ toSerialize := map[string]interface{}{}
+ toSerialize["session"] = o.Session
+ if !IsNil(o.SessionToken) {
toSerialize["session_token"] = o.SessionToken
}
@@ -112,16 +122,41 @@ func (o SuccessfulCodeExchangeResponse) MarshalJSON() ([]byte, error) {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *SuccessfulCodeExchangeResponse) UnmarshalJSON(bytes []byte) (err error) {
+ // This validates that all required properties are included in the JSON object
+ // by unmarshalling the object into a generic map with string keys and checking
+ // that every required field exists as a key in the generic map.
+ requiredProperties := []string{
+ "session",
+ }
+
+ allProperties := make(map[string]interface{})
+
+ err = json.Unmarshal(bytes, &allProperties)
+
+ if err != nil {
+ return err;
+ }
+
+ for _, requiredProperty := range(requiredProperties) {
+ if _, exists := allProperties[requiredProperty]; !exists {
+ return fmt.Errorf("no value given for required property %v", requiredProperty)
+ }
+ }
+
varSuccessfulCodeExchangeResponse := _SuccessfulCodeExchangeResponse{}
- if err = json.Unmarshal(bytes, &varSuccessfulCodeExchangeResponse); err == nil {
- *o = SuccessfulCodeExchangeResponse(varSuccessfulCodeExchangeResponse)
+ err = json.Unmarshal(bytes, &varSuccessfulCodeExchangeResponse)
+
+ if err != nil {
+ return err
}
+ *o = SuccessfulCodeExchangeResponse(varSuccessfulCodeExchangeResponse)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_successful_native_login.go b/clients/client/go/model_successful_native_login.go
index 5bdb2a4cd60..667669c773d 100644
--- a/clients/client/go/model_successful_native_login.go
+++ b/clients/client/go/model_successful_native_login.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -13,8 +13,12 @@ package client
import (
"encoding/json"
+ "fmt"
)
+// checks if the SuccessfulNativeLogin type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &SuccessfulNativeLogin{}
+
// SuccessfulNativeLogin The Response for Login Flows via API
type SuccessfulNativeLogin struct {
Session Session `json:"session"`
@@ -69,7 +73,7 @@ func (o *SuccessfulNativeLogin) SetSession(v Session) {
// GetSessionToken returns the SessionToken field value if set, zero value otherwise.
func (o *SuccessfulNativeLogin) GetSessionToken() string {
- if o == nil || o.SessionToken == nil {
+ if o == nil || IsNil(o.SessionToken) {
var ret string
return ret
}
@@ -79,7 +83,7 @@ func (o *SuccessfulNativeLogin) GetSessionToken() string {
// GetSessionTokenOk returns a tuple with the SessionToken field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SuccessfulNativeLogin) GetSessionTokenOk() (*string, bool) {
- if o == nil || o.SessionToken == nil {
+ if o == nil || IsNil(o.SessionToken) {
return nil, false
}
return o.SessionToken, true
@@ -87,7 +91,7 @@ func (o *SuccessfulNativeLogin) GetSessionTokenOk() (*string, bool) {
// HasSessionToken returns a boolean if a field has been set.
func (o *SuccessfulNativeLogin) HasSessionToken() bool {
- if o != nil && o.SessionToken != nil {
+ if o != nil && !IsNil(o.SessionToken) {
return true
}
@@ -100,11 +104,17 @@ func (o *SuccessfulNativeLogin) SetSessionToken(v string) {
}
func (o SuccessfulNativeLogin) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if true {
- toSerialize["session"] = o.Session
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
}
- if o.SessionToken != nil {
+ return json.Marshal(toSerialize)
+}
+
+func (o SuccessfulNativeLogin) ToMap() (map[string]interface{}, error) {
+ toSerialize := map[string]interface{}{}
+ toSerialize["session"] = o.Session
+ if !IsNil(o.SessionToken) {
toSerialize["session_token"] = o.SessionToken
}
@@ -112,16 +122,41 @@ func (o SuccessfulNativeLogin) MarshalJSON() ([]byte, error) {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *SuccessfulNativeLogin) UnmarshalJSON(bytes []byte) (err error) {
+ // This validates that all required properties are included in the JSON object
+ // by unmarshalling the object into a generic map with string keys and checking
+ // that every required field exists as a key in the generic map.
+ requiredProperties := []string{
+ "session",
+ }
+
+ allProperties := make(map[string]interface{})
+
+ err = json.Unmarshal(bytes, &allProperties)
+
+ if err != nil {
+ return err;
+ }
+
+ for _, requiredProperty := range(requiredProperties) {
+ if _, exists := allProperties[requiredProperty]; !exists {
+ return fmt.Errorf("no value given for required property %v", requiredProperty)
+ }
+ }
+
varSuccessfulNativeLogin := _SuccessfulNativeLogin{}
- if err = json.Unmarshal(bytes, &varSuccessfulNativeLogin); err == nil {
- *o = SuccessfulNativeLogin(varSuccessfulNativeLogin)
+ err = json.Unmarshal(bytes, &varSuccessfulNativeLogin)
+
+ if err != nil {
+ return err
}
+ *o = SuccessfulNativeLogin(varSuccessfulNativeLogin)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_successful_native_registration.go b/clients/client/go/model_successful_native_registration.go
index fe8a10e88d7..3140b314a99 100644
--- a/clients/client/go/model_successful_native_registration.go
+++ b/clients/client/go/model_successful_native_registration.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -13,8 +13,12 @@ package client
import (
"encoding/json"
+ "fmt"
)
+// checks if the SuccessfulNativeRegistration type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &SuccessfulNativeRegistration{}
+
// SuccessfulNativeRegistration The Response for Registration Flows via API
type SuccessfulNativeRegistration struct {
// Contains a list of actions, that could follow this flow It can, for example, this will contain a reference to the verification flow, created as part of the user's registration or the token of the session.
@@ -48,7 +52,7 @@ func NewSuccessfulNativeRegistrationWithDefaults() *SuccessfulNativeRegistration
// GetContinueWith returns the ContinueWith field value if set, zero value otherwise.
func (o *SuccessfulNativeRegistration) GetContinueWith() []ContinueWith {
- if o == nil || o.ContinueWith == nil {
+ if o == nil || IsNil(o.ContinueWith) {
var ret []ContinueWith
return ret
}
@@ -58,7 +62,7 @@ func (o *SuccessfulNativeRegistration) GetContinueWith() []ContinueWith {
// GetContinueWithOk returns a tuple with the ContinueWith field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SuccessfulNativeRegistration) GetContinueWithOk() ([]ContinueWith, bool) {
- if o == nil || o.ContinueWith == nil {
+ if o == nil || IsNil(o.ContinueWith) {
return nil, false
}
return o.ContinueWith, true
@@ -66,7 +70,7 @@ func (o *SuccessfulNativeRegistration) GetContinueWithOk() ([]ContinueWith, bool
// HasContinueWith returns a boolean if a field has been set.
func (o *SuccessfulNativeRegistration) HasContinueWith() bool {
- if o != nil && o.ContinueWith != nil {
+ if o != nil && !IsNil(o.ContinueWith) {
return true
}
@@ -104,7 +108,7 @@ func (o *SuccessfulNativeRegistration) SetIdentity(v Identity) {
// GetSession returns the Session field value if set, zero value otherwise.
func (o *SuccessfulNativeRegistration) GetSession() Session {
- if o == nil || o.Session == nil {
+ if o == nil || IsNil(o.Session) {
var ret Session
return ret
}
@@ -114,7 +118,7 @@ func (o *SuccessfulNativeRegistration) GetSession() Session {
// GetSessionOk returns a tuple with the Session field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SuccessfulNativeRegistration) GetSessionOk() (*Session, bool) {
- if o == nil || o.Session == nil {
+ if o == nil || IsNil(o.Session) {
return nil, false
}
return o.Session, true
@@ -122,7 +126,7 @@ func (o *SuccessfulNativeRegistration) GetSessionOk() (*Session, bool) {
// HasSession returns a boolean if a field has been set.
func (o *SuccessfulNativeRegistration) HasSession() bool {
- if o != nil && o.Session != nil {
+ if o != nil && !IsNil(o.Session) {
return true
}
@@ -136,7 +140,7 @@ func (o *SuccessfulNativeRegistration) SetSession(v Session) {
// GetSessionToken returns the SessionToken field value if set, zero value otherwise.
func (o *SuccessfulNativeRegistration) GetSessionToken() string {
- if o == nil || o.SessionToken == nil {
+ if o == nil || IsNil(o.SessionToken) {
var ret string
return ret
}
@@ -146,7 +150,7 @@ func (o *SuccessfulNativeRegistration) GetSessionToken() string {
// GetSessionTokenOk returns a tuple with the SessionToken field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SuccessfulNativeRegistration) GetSessionTokenOk() (*string, bool) {
- if o == nil || o.SessionToken == nil {
+ if o == nil || IsNil(o.SessionToken) {
return nil, false
}
return o.SessionToken, true
@@ -154,7 +158,7 @@ func (o *SuccessfulNativeRegistration) GetSessionTokenOk() (*string, bool) {
// HasSessionToken returns a boolean if a field has been set.
func (o *SuccessfulNativeRegistration) HasSessionToken() bool {
- if o != nil && o.SessionToken != nil {
+ if o != nil && !IsNil(o.SessionToken) {
return true
}
@@ -167,17 +171,23 @@ func (o *SuccessfulNativeRegistration) SetSessionToken(v string) {
}
func (o SuccessfulNativeRegistration) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o SuccessfulNativeRegistration) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
- if o.ContinueWith != nil {
+ if !IsNil(o.ContinueWith) {
toSerialize["continue_with"] = o.ContinueWith
}
- if true {
- toSerialize["identity"] = o.Identity
- }
- if o.Session != nil {
+ toSerialize["identity"] = o.Identity
+ if !IsNil(o.Session) {
toSerialize["session"] = o.Session
}
- if o.SessionToken != nil {
+ if !IsNil(o.SessionToken) {
toSerialize["session_token"] = o.SessionToken
}
@@ -185,16 +195,41 @@ func (o SuccessfulNativeRegistration) MarshalJSON() ([]byte, error) {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *SuccessfulNativeRegistration) UnmarshalJSON(bytes []byte) (err error) {
+ // This validates that all required properties are included in the JSON object
+ // by unmarshalling the object into a generic map with string keys and checking
+ // that every required field exists as a key in the generic map.
+ requiredProperties := []string{
+ "identity",
+ }
+
+ allProperties := make(map[string]interface{})
+
+ err = json.Unmarshal(bytes, &allProperties)
+
+ if err != nil {
+ return err;
+ }
+
+ for _, requiredProperty := range(requiredProperties) {
+ if _, exists := allProperties[requiredProperty]; !exists {
+ return fmt.Errorf("no value given for required property %v", requiredProperty)
+ }
+ }
+
varSuccessfulNativeRegistration := _SuccessfulNativeRegistration{}
- if err = json.Unmarshal(bytes, &varSuccessfulNativeRegistration); err == nil {
- *o = SuccessfulNativeRegistration(varSuccessfulNativeRegistration)
+ err = json.Unmarshal(bytes, &varSuccessfulNativeRegistration)
+
+ if err != nil {
+ return err
}
+ *o = SuccessfulNativeRegistration(varSuccessfulNativeRegistration)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_successful_project_update.go b/clients/client/go/model_successful_project_update.go
index 6a1299e3612..944a3e94d4d 100644
--- a/clients/client/go/model_successful_project_update.go
+++ b/clients/client/go/model_successful_project_update.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -13,8 +13,12 @@ package client
import (
"encoding/json"
+ "fmt"
)
+// checks if the SuccessfulProjectUpdate type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &SuccessfulProjectUpdate{}
+
// SuccessfulProjectUpdate struct for SuccessfulProjectUpdate
type SuccessfulProjectUpdate struct {
Project Project `json:"project"`
@@ -93,28 +97,58 @@ func (o *SuccessfulProjectUpdate) SetWarnings(v []Warning) {
}
func (o SuccessfulProjectUpdate) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if true {
- toSerialize["project"] = o.Project
- }
- if true {
- toSerialize["warnings"] = o.Warnings
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
}
+ return json.Marshal(toSerialize)
+}
+
+func (o SuccessfulProjectUpdate) ToMap() (map[string]interface{}, error) {
+ toSerialize := map[string]interface{}{}
+ toSerialize["project"] = o.Project
+ toSerialize["warnings"] = o.Warnings
for key, value := range o.AdditionalProperties {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *SuccessfulProjectUpdate) UnmarshalJSON(bytes []byte) (err error) {
+ // This validates that all required properties are included in the JSON object
+ // by unmarshalling the object into a generic map with string keys and checking
+ // that every required field exists as a key in the generic map.
+ requiredProperties := []string{
+ "project",
+ "warnings",
+ }
+
+ allProperties := make(map[string]interface{})
+
+ err = json.Unmarshal(bytes, &allProperties)
+
+ if err != nil {
+ return err;
+ }
+
+ for _, requiredProperty := range(requiredProperties) {
+ if _, exists := allProperties[requiredProperty]; !exists {
+ return fmt.Errorf("no value given for required property %v", requiredProperty)
+ }
+ }
+
varSuccessfulProjectUpdate := _SuccessfulProjectUpdate{}
- if err = json.Unmarshal(bytes, &varSuccessfulProjectUpdate); err == nil {
- *o = SuccessfulProjectUpdate(varSuccessfulProjectUpdate)
+ err = json.Unmarshal(bytes, &varSuccessfulProjectUpdate)
+
+ if err != nil {
+ return err
}
+ *o = SuccessfulProjectUpdate(varSuccessfulProjectUpdate)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_token_pagination.go b/clients/client/go/model_token_pagination.go
index f6fd873320b..0e6f413b2de 100644
--- a/clients/client/go/model_token_pagination.go
+++ b/clients/client/go/model_token_pagination.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -15,6 +15,9 @@ import (
"encoding/json"
)
+// checks if the TokenPagination type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &TokenPagination{}
+
// TokenPagination struct for TokenPagination
type TokenPagination struct {
// Items per page This is the number of items per page to return. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
@@ -53,7 +56,7 @@ func NewTokenPaginationWithDefaults() *TokenPagination {
// GetPageSize returns the PageSize field value if set, zero value otherwise.
func (o *TokenPagination) GetPageSize() int64 {
- if o == nil || o.PageSize == nil {
+ if o == nil || IsNil(o.PageSize) {
var ret int64
return ret
}
@@ -63,7 +66,7 @@ func (o *TokenPagination) GetPageSize() int64 {
// GetPageSizeOk returns a tuple with the PageSize field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TokenPagination) GetPageSizeOk() (*int64, bool) {
- if o == nil || o.PageSize == nil {
+ if o == nil || IsNil(o.PageSize) {
return nil, false
}
return o.PageSize, true
@@ -71,7 +74,7 @@ func (o *TokenPagination) GetPageSizeOk() (*int64, bool) {
// HasPageSize returns a boolean if a field has been set.
func (o *TokenPagination) HasPageSize() bool {
- if o != nil && o.PageSize != nil {
+ if o != nil && !IsNil(o.PageSize) {
return true
}
@@ -85,7 +88,7 @@ func (o *TokenPagination) SetPageSize(v int64) {
// GetPageToken returns the PageToken field value if set, zero value otherwise.
func (o *TokenPagination) GetPageToken() string {
- if o == nil || o.PageToken == nil {
+ if o == nil || IsNil(o.PageToken) {
var ret string
return ret
}
@@ -95,7 +98,7 @@ func (o *TokenPagination) GetPageToken() string {
// GetPageTokenOk returns a tuple with the PageToken field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TokenPagination) GetPageTokenOk() (*string, bool) {
- if o == nil || o.PageToken == nil {
+ if o == nil || IsNil(o.PageToken) {
return nil, false
}
return o.PageToken, true
@@ -103,7 +106,7 @@ func (o *TokenPagination) GetPageTokenOk() (*string, bool) {
// HasPageToken returns a boolean if a field has been set.
func (o *TokenPagination) HasPageToken() bool {
- if o != nil && o.PageToken != nil {
+ if o != nil && !IsNil(o.PageToken) {
return true
}
@@ -116,11 +119,19 @@ func (o *TokenPagination) SetPageToken(v string) {
}
func (o TokenPagination) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o TokenPagination) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
- if o.PageSize != nil {
+ if !IsNil(o.PageSize) {
toSerialize["page_size"] = o.PageSize
}
- if o.PageToken != nil {
+ if !IsNil(o.PageToken) {
toSerialize["page_token"] = o.PageToken
}
@@ -128,16 +139,20 @@ func (o TokenPagination) MarshalJSON() ([]byte, error) {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *TokenPagination) UnmarshalJSON(bytes []byte) (err error) {
varTokenPagination := _TokenPagination{}
- if err = json.Unmarshal(bytes, &varTokenPagination); err == nil {
- *o = TokenPagination(varTokenPagination)
+ err = json.Unmarshal(bytes, &varTokenPagination)
+
+ if err != nil {
+ return err
}
+ *o = TokenPagination(varTokenPagination)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_token_pagination_headers.go b/clients/client/go/model_token_pagination_headers.go
index 312c5982a46..bed6be56cdd 100644
--- a/clients/client/go/model_token_pagination_headers.go
+++ b/clients/client/go/model_token_pagination_headers.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -15,6 +15,9 @@ import (
"encoding/json"
)
+// checks if the TokenPaginationHeaders type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &TokenPaginationHeaders{}
+
// TokenPaginationHeaders struct for TokenPaginationHeaders
type TokenPaginationHeaders struct {
// The link header contains pagination links. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination). in: header
@@ -45,7 +48,7 @@ func NewTokenPaginationHeadersWithDefaults() *TokenPaginationHeaders {
// GetLink returns the Link field value if set, zero value otherwise.
func (o *TokenPaginationHeaders) GetLink() string {
- if o == nil || o.Link == nil {
+ if o == nil || IsNil(o.Link) {
var ret string
return ret
}
@@ -55,7 +58,7 @@ func (o *TokenPaginationHeaders) GetLink() string {
// GetLinkOk returns a tuple with the Link field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TokenPaginationHeaders) GetLinkOk() (*string, bool) {
- if o == nil || o.Link == nil {
+ if o == nil || IsNil(o.Link) {
return nil, false
}
return o.Link, true
@@ -63,7 +66,7 @@ func (o *TokenPaginationHeaders) GetLinkOk() (*string, bool) {
// HasLink returns a boolean if a field has been set.
func (o *TokenPaginationHeaders) HasLink() bool {
- if o != nil && o.Link != nil {
+ if o != nil && !IsNil(o.Link) {
return true
}
@@ -77,7 +80,7 @@ func (o *TokenPaginationHeaders) SetLink(v string) {
// GetXTotalCount returns the XTotalCount field value if set, zero value otherwise.
func (o *TokenPaginationHeaders) GetXTotalCount() string {
- if o == nil || o.XTotalCount == nil {
+ if o == nil || IsNil(o.XTotalCount) {
var ret string
return ret
}
@@ -87,7 +90,7 @@ func (o *TokenPaginationHeaders) GetXTotalCount() string {
// GetXTotalCountOk returns a tuple with the XTotalCount field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TokenPaginationHeaders) GetXTotalCountOk() (*string, bool) {
- if o == nil || o.XTotalCount == nil {
+ if o == nil || IsNil(o.XTotalCount) {
return nil, false
}
return o.XTotalCount, true
@@ -95,7 +98,7 @@ func (o *TokenPaginationHeaders) GetXTotalCountOk() (*string, bool) {
// HasXTotalCount returns a boolean if a field has been set.
func (o *TokenPaginationHeaders) HasXTotalCount() bool {
- if o != nil && o.XTotalCount != nil {
+ if o != nil && !IsNil(o.XTotalCount) {
return true
}
@@ -108,11 +111,19 @@ func (o *TokenPaginationHeaders) SetXTotalCount(v string) {
}
func (o TokenPaginationHeaders) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o TokenPaginationHeaders) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
- if o.Link != nil {
+ if !IsNil(o.Link) {
toSerialize["link"] = o.Link
}
- if o.XTotalCount != nil {
+ if !IsNil(o.XTotalCount) {
toSerialize["x-total-count"] = o.XTotalCount
}
@@ -120,16 +131,20 @@ func (o TokenPaginationHeaders) MarshalJSON() ([]byte, error) {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *TokenPaginationHeaders) UnmarshalJSON(bytes []byte) (err error) {
varTokenPaginationHeaders := _TokenPaginationHeaders{}
- if err = json.Unmarshal(bytes, &varTokenPaginationHeaders); err == nil {
- *o = TokenPaginationHeaders(varTokenPaginationHeaders)
+ err = json.Unmarshal(bytes, &varTokenPaginationHeaders)
+
+ if err != nil {
+ return err
}
+ *o = TokenPaginationHeaders(varTokenPaginationHeaders)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_token_pagination_request_parameters.go b/clients/client/go/model_token_pagination_request_parameters.go
index 26ed34df2d2..acf2e3cedef 100644
--- a/clients/client/go/model_token_pagination_request_parameters.go
+++ b/clients/client/go/model_token_pagination_request_parameters.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -15,6 +15,9 @@ import (
"encoding/json"
)
+// checks if the TokenPaginationRequestParameters type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &TokenPaginationRequestParameters{}
+
// TokenPaginationRequestParameters The `Link` HTTP header contains multiple links (`first`, `next`, `last`, `previous`) formatted as: `; rel=\"{page}\"` For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
type TokenPaginationRequestParameters struct {
// Items per Page This is the number of items per page to return. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
@@ -53,7 +56,7 @@ func NewTokenPaginationRequestParametersWithDefaults() *TokenPaginationRequestPa
// GetPageSize returns the PageSize field value if set, zero value otherwise.
func (o *TokenPaginationRequestParameters) GetPageSize() int64 {
- if o == nil || o.PageSize == nil {
+ if o == nil || IsNil(o.PageSize) {
var ret int64
return ret
}
@@ -63,7 +66,7 @@ func (o *TokenPaginationRequestParameters) GetPageSize() int64 {
// GetPageSizeOk returns a tuple with the PageSize field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TokenPaginationRequestParameters) GetPageSizeOk() (*int64, bool) {
- if o == nil || o.PageSize == nil {
+ if o == nil || IsNil(o.PageSize) {
return nil, false
}
return o.PageSize, true
@@ -71,7 +74,7 @@ func (o *TokenPaginationRequestParameters) GetPageSizeOk() (*int64, bool) {
// HasPageSize returns a boolean if a field has been set.
func (o *TokenPaginationRequestParameters) HasPageSize() bool {
- if o != nil && o.PageSize != nil {
+ if o != nil && !IsNil(o.PageSize) {
return true
}
@@ -85,7 +88,7 @@ func (o *TokenPaginationRequestParameters) SetPageSize(v int64) {
// GetPageToken returns the PageToken field value if set, zero value otherwise.
func (o *TokenPaginationRequestParameters) GetPageToken() string {
- if o == nil || o.PageToken == nil {
+ if o == nil || IsNil(o.PageToken) {
var ret string
return ret
}
@@ -95,7 +98,7 @@ func (o *TokenPaginationRequestParameters) GetPageToken() string {
// GetPageTokenOk returns a tuple with the PageToken field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TokenPaginationRequestParameters) GetPageTokenOk() (*string, bool) {
- if o == nil || o.PageToken == nil {
+ if o == nil || IsNil(o.PageToken) {
return nil, false
}
return o.PageToken, true
@@ -103,7 +106,7 @@ func (o *TokenPaginationRequestParameters) GetPageTokenOk() (*string, bool) {
// HasPageToken returns a boolean if a field has been set.
func (o *TokenPaginationRequestParameters) HasPageToken() bool {
- if o != nil && o.PageToken != nil {
+ if o != nil && !IsNil(o.PageToken) {
return true
}
@@ -116,11 +119,19 @@ func (o *TokenPaginationRequestParameters) SetPageToken(v string) {
}
func (o TokenPaginationRequestParameters) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o TokenPaginationRequestParameters) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
- if o.PageSize != nil {
+ if !IsNil(o.PageSize) {
toSerialize["page_size"] = o.PageSize
}
- if o.PageToken != nil {
+ if !IsNil(o.PageToken) {
toSerialize["page_token"] = o.PageToken
}
@@ -128,16 +139,20 @@ func (o TokenPaginationRequestParameters) MarshalJSON() ([]byte, error) {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *TokenPaginationRequestParameters) UnmarshalJSON(bytes []byte) (err error) {
varTokenPaginationRequestParameters := _TokenPaginationRequestParameters{}
- if err = json.Unmarshal(bytes, &varTokenPaginationRequestParameters); err == nil {
- *o = TokenPaginationRequestParameters(varTokenPaginationRequestParameters)
+ err = json.Unmarshal(bytes, &varTokenPaginationRequestParameters)
+
+ if err != nil {
+ return err
}
+ *o = TokenPaginationRequestParameters(varTokenPaginationRequestParameters)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_token_pagination_response_headers.go b/clients/client/go/model_token_pagination_response_headers.go
index 9aafb208063..fe72abfb07b 100644
--- a/clients/client/go/model_token_pagination_response_headers.go
+++ b/clients/client/go/model_token_pagination_response_headers.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -15,6 +15,9 @@ import (
"encoding/json"
)
+// checks if the TokenPaginationResponseHeaders type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &TokenPaginationResponseHeaders{}
+
// TokenPaginationResponseHeaders The `Link` HTTP header contains multiple links (`first`, `next`, `last`, `previous`) formatted as: `; rel=\"{page}\"` For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
type TokenPaginationResponseHeaders struct {
// The Link HTTP Header The `Link` header contains a comma-delimited list of links to the following pages: first: The first page of results. next: The next page of results. prev: The previous page of results. last: The last page of results. Pages are omitted if they do not exist. For example, if there is no next page, the `next` link is omitted. Examples: ; rel=\"first\",; rel=\"next\",; rel=\"prev\",; rel=\"last\"
@@ -45,7 +48,7 @@ func NewTokenPaginationResponseHeadersWithDefaults() *TokenPaginationResponseHea
// GetLink returns the Link field value if set, zero value otherwise.
func (o *TokenPaginationResponseHeaders) GetLink() string {
- if o == nil || o.Link == nil {
+ if o == nil || IsNil(o.Link) {
var ret string
return ret
}
@@ -55,7 +58,7 @@ func (o *TokenPaginationResponseHeaders) GetLink() string {
// GetLinkOk returns a tuple with the Link field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TokenPaginationResponseHeaders) GetLinkOk() (*string, bool) {
- if o == nil || o.Link == nil {
+ if o == nil || IsNil(o.Link) {
return nil, false
}
return o.Link, true
@@ -63,7 +66,7 @@ func (o *TokenPaginationResponseHeaders) GetLinkOk() (*string, bool) {
// HasLink returns a boolean if a field has been set.
func (o *TokenPaginationResponseHeaders) HasLink() bool {
- if o != nil && o.Link != nil {
+ if o != nil && !IsNil(o.Link) {
return true
}
@@ -77,7 +80,7 @@ func (o *TokenPaginationResponseHeaders) SetLink(v string) {
// GetXTotalCount returns the XTotalCount field value if set, zero value otherwise.
func (o *TokenPaginationResponseHeaders) GetXTotalCount() int64 {
- if o == nil || o.XTotalCount == nil {
+ if o == nil || IsNil(o.XTotalCount) {
var ret int64
return ret
}
@@ -87,7 +90,7 @@ func (o *TokenPaginationResponseHeaders) GetXTotalCount() int64 {
// GetXTotalCountOk returns a tuple with the XTotalCount field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TokenPaginationResponseHeaders) GetXTotalCountOk() (*int64, bool) {
- if o == nil || o.XTotalCount == nil {
+ if o == nil || IsNil(o.XTotalCount) {
return nil, false
}
return o.XTotalCount, true
@@ -95,7 +98,7 @@ func (o *TokenPaginationResponseHeaders) GetXTotalCountOk() (*int64, bool) {
// HasXTotalCount returns a boolean if a field has been set.
func (o *TokenPaginationResponseHeaders) HasXTotalCount() bool {
- if o != nil && o.XTotalCount != nil {
+ if o != nil && !IsNil(o.XTotalCount) {
return true
}
@@ -108,11 +111,19 @@ func (o *TokenPaginationResponseHeaders) SetXTotalCount(v int64) {
}
func (o TokenPaginationResponseHeaders) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o TokenPaginationResponseHeaders) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
- if o.Link != nil {
+ if !IsNil(o.Link) {
toSerialize["link"] = o.Link
}
- if o.XTotalCount != nil {
+ if !IsNil(o.XTotalCount) {
toSerialize["x-total-count"] = o.XTotalCount
}
@@ -120,16 +131,20 @@ func (o TokenPaginationResponseHeaders) MarshalJSON() ([]byte, error) {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *TokenPaginationResponseHeaders) UnmarshalJSON(bytes []byte) (err error) {
varTokenPaginationResponseHeaders := _TokenPaginationResponseHeaders{}
- if err = json.Unmarshal(bytes, &varTokenPaginationResponseHeaders); err == nil {
- *o = TokenPaginationResponseHeaders(varTokenPaginationResponseHeaders)
+ err = json.Unmarshal(bytes, &varTokenPaginationResponseHeaders)
+
+ if err != nil {
+ return err
}
+ *o = TokenPaginationResponseHeaders(varTokenPaginationResponseHeaders)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_trust_o_auth2_jwt_grant_issuer.go b/clients/client/go/model_trust_o_auth2_jwt_grant_issuer.go
index 889e9b53045..2de31c96b6e 100644
--- a/clients/client/go/model_trust_o_auth2_jwt_grant_issuer.go
+++ b/clients/client/go/model_trust_o_auth2_jwt_grant_issuer.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -14,8 +14,12 @@ package client
import (
"encoding/json"
"time"
+ "fmt"
)
+// checks if the TrustOAuth2JwtGrantIssuer type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &TrustOAuth2JwtGrantIssuer{}
+
// TrustOAuth2JwtGrantIssuer Trust OAuth2 JWT Bearer Grant Type Issuer Request Body
type TrustOAuth2JwtGrantIssuer struct {
// The \"allow_any_subject\" indicates that the issuer is allowed to have any principal as the subject of the JWT.
@@ -57,7 +61,7 @@ func NewTrustOAuth2JwtGrantIssuerWithDefaults() *TrustOAuth2JwtGrantIssuer {
// GetAllowAnySubject returns the AllowAnySubject field value if set, zero value otherwise.
func (o *TrustOAuth2JwtGrantIssuer) GetAllowAnySubject() bool {
- if o == nil || o.AllowAnySubject == nil {
+ if o == nil || IsNil(o.AllowAnySubject) {
var ret bool
return ret
}
@@ -67,7 +71,7 @@ func (o *TrustOAuth2JwtGrantIssuer) GetAllowAnySubject() bool {
// GetAllowAnySubjectOk returns a tuple with the AllowAnySubject field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TrustOAuth2JwtGrantIssuer) GetAllowAnySubjectOk() (*bool, bool) {
- if o == nil || o.AllowAnySubject == nil {
+ if o == nil || IsNil(o.AllowAnySubject) {
return nil, false
}
return o.AllowAnySubject, true
@@ -75,7 +79,7 @@ func (o *TrustOAuth2JwtGrantIssuer) GetAllowAnySubjectOk() (*bool, bool) {
// HasAllowAnySubject returns a boolean if a field has been set.
func (o *TrustOAuth2JwtGrantIssuer) HasAllowAnySubject() bool {
- if o != nil && o.AllowAnySubject != nil {
+ if o != nil && !IsNil(o.AllowAnySubject) {
return true
}
@@ -185,7 +189,7 @@ func (o *TrustOAuth2JwtGrantIssuer) SetScope(v []string) {
// GetSubject returns the Subject field value if set, zero value otherwise.
func (o *TrustOAuth2JwtGrantIssuer) GetSubject() string {
- if o == nil || o.Subject == nil {
+ if o == nil || IsNil(o.Subject) {
var ret string
return ret
}
@@ -195,7 +199,7 @@ func (o *TrustOAuth2JwtGrantIssuer) GetSubject() string {
// GetSubjectOk returns a tuple with the Subject field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TrustOAuth2JwtGrantIssuer) GetSubjectOk() (*string, bool) {
- if o == nil || o.Subject == nil {
+ if o == nil || IsNil(o.Subject) {
return nil, false
}
return o.Subject, true
@@ -203,7 +207,7 @@ func (o *TrustOAuth2JwtGrantIssuer) GetSubjectOk() (*string, bool) {
// HasSubject returns a boolean if a field has been set.
func (o *TrustOAuth2JwtGrantIssuer) HasSubject() bool {
- if o != nil && o.Subject != nil {
+ if o != nil && !IsNil(o.Subject) {
return true
}
@@ -216,23 +220,23 @@ func (o *TrustOAuth2JwtGrantIssuer) SetSubject(v string) {
}
func (o TrustOAuth2JwtGrantIssuer) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o TrustOAuth2JwtGrantIssuer) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
- if o.AllowAnySubject != nil {
+ if !IsNil(o.AllowAnySubject) {
toSerialize["allow_any_subject"] = o.AllowAnySubject
}
- if true {
- toSerialize["expires_at"] = o.ExpiresAt
- }
- if true {
- toSerialize["issuer"] = o.Issuer
- }
- if true {
- toSerialize["jwk"] = o.Jwk
- }
- if true {
- toSerialize["scope"] = o.Scope
- }
- if o.Subject != nil {
+ toSerialize["expires_at"] = o.ExpiresAt
+ toSerialize["issuer"] = o.Issuer
+ toSerialize["jwk"] = o.Jwk
+ toSerialize["scope"] = o.Scope
+ if !IsNil(o.Subject) {
toSerialize["subject"] = o.Subject
}
@@ -240,16 +244,44 @@ func (o TrustOAuth2JwtGrantIssuer) MarshalJSON() ([]byte, error) {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *TrustOAuth2JwtGrantIssuer) UnmarshalJSON(bytes []byte) (err error) {
+ // This validates that all required properties are included in the JSON object
+ // by unmarshalling the object into a generic map with string keys and checking
+ // that every required field exists as a key in the generic map.
+ requiredProperties := []string{
+ "expires_at",
+ "issuer",
+ "jwk",
+ "scope",
+ }
+
+ allProperties := make(map[string]interface{})
+
+ err = json.Unmarshal(bytes, &allProperties)
+
+ if err != nil {
+ return err;
+ }
+
+ for _, requiredProperty := range(requiredProperties) {
+ if _, exists := allProperties[requiredProperty]; !exists {
+ return fmt.Errorf("no value given for required property %v", requiredProperty)
+ }
+ }
+
varTrustOAuth2JwtGrantIssuer := _TrustOAuth2JwtGrantIssuer{}
- if err = json.Unmarshal(bytes, &varTrustOAuth2JwtGrantIssuer); err == nil {
- *o = TrustOAuth2JwtGrantIssuer(varTrustOAuth2JwtGrantIssuer)
+ err = json.Unmarshal(bytes, &varTrustOAuth2JwtGrantIssuer)
+
+ if err != nil {
+ return err
}
+ *o = TrustOAuth2JwtGrantIssuer(varTrustOAuth2JwtGrantIssuer)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_trusted_o_auth2_jwt_grant_issuer.go b/clients/client/go/model_trusted_o_auth2_jwt_grant_issuer.go
index afb0ce6d35a..afc1496dd94 100644
--- a/clients/client/go/model_trusted_o_auth2_jwt_grant_issuer.go
+++ b/clients/client/go/model_trusted_o_auth2_jwt_grant_issuer.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -16,6 +16,9 @@ import (
"time"
)
+// checks if the TrustedOAuth2JwtGrantIssuer type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &TrustedOAuth2JwtGrantIssuer{}
+
// TrustedOAuth2JwtGrantIssuer OAuth2 JWT Bearer Grant Type Issuer Trust Relationship
type TrustedOAuth2JwtGrantIssuer struct {
// The \"allow_any_subject\" indicates that the issuer is allowed to have any principal as the subject of the JWT.
@@ -56,7 +59,7 @@ func NewTrustedOAuth2JwtGrantIssuerWithDefaults() *TrustedOAuth2JwtGrantIssuer {
// GetAllowAnySubject returns the AllowAnySubject field value if set, zero value otherwise.
func (o *TrustedOAuth2JwtGrantIssuer) GetAllowAnySubject() bool {
- if o == nil || o.AllowAnySubject == nil {
+ if o == nil || IsNil(o.AllowAnySubject) {
var ret bool
return ret
}
@@ -66,7 +69,7 @@ func (o *TrustedOAuth2JwtGrantIssuer) GetAllowAnySubject() bool {
// GetAllowAnySubjectOk returns a tuple with the AllowAnySubject field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TrustedOAuth2JwtGrantIssuer) GetAllowAnySubjectOk() (*bool, bool) {
- if o == nil || o.AllowAnySubject == nil {
+ if o == nil || IsNil(o.AllowAnySubject) {
return nil, false
}
return o.AllowAnySubject, true
@@ -74,7 +77,7 @@ func (o *TrustedOAuth2JwtGrantIssuer) GetAllowAnySubjectOk() (*bool, bool) {
// HasAllowAnySubject returns a boolean if a field has been set.
func (o *TrustedOAuth2JwtGrantIssuer) HasAllowAnySubject() bool {
- if o != nil && o.AllowAnySubject != nil {
+ if o != nil && !IsNil(o.AllowAnySubject) {
return true
}
@@ -88,7 +91,7 @@ func (o *TrustedOAuth2JwtGrantIssuer) SetAllowAnySubject(v bool) {
// GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (o *TrustedOAuth2JwtGrantIssuer) GetCreatedAt() time.Time {
- if o == nil || o.CreatedAt == nil {
+ if o == nil || IsNil(o.CreatedAt) {
var ret time.Time
return ret
}
@@ -98,7 +101,7 @@ func (o *TrustedOAuth2JwtGrantIssuer) GetCreatedAt() time.Time {
// GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TrustedOAuth2JwtGrantIssuer) GetCreatedAtOk() (*time.Time, bool) {
- if o == nil || o.CreatedAt == nil {
+ if o == nil || IsNil(o.CreatedAt) {
return nil, false
}
return o.CreatedAt, true
@@ -106,7 +109,7 @@ func (o *TrustedOAuth2JwtGrantIssuer) GetCreatedAtOk() (*time.Time, bool) {
// HasCreatedAt returns a boolean if a field has been set.
func (o *TrustedOAuth2JwtGrantIssuer) HasCreatedAt() bool {
- if o != nil && o.CreatedAt != nil {
+ if o != nil && !IsNil(o.CreatedAt) {
return true
}
@@ -120,7 +123,7 @@ func (o *TrustedOAuth2JwtGrantIssuer) SetCreatedAt(v time.Time) {
// GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.
func (o *TrustedOAuth2JwtGrantIssuer) GetExpiresAt() time.Time {
- if o == nil || o.ExpiresAt == nil {
+ if o == nil || IsNil(o.ExpiresAt) {
var ret time.Time
return ret
}
@@ -130,7 +133,7 @@ func (o *TrustedOAuth2JwtGrantIssuer) GetExpiresAt() time.Time {
// GetExpiresAtOk returns a tuple with the ExpiresAt field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TrustedOAuth2JwtGrantIssuer) GetExpiresAtOk() (*time.Time, bool) {
- if o == nil || o.ExpiresAt == nil {
+ if o == nil || IsNil(o.ExpiresAt) {
return nil, false
}
return o.ExpiresAt, true
@@ -138,7 +141,7 @@ func (o *TrustedOAuth2JwtGrantIssuer) GetExpiresAtOk() (*time.Time, bool) {
// HasExpiresAt returns a boolean if a field has been set.
func (o *TrustedOAuth2JwtGrantIssuer) HasExpiresAt() bool {
- if o != nil && o.ExpiresAt != nil {
+ if o != nil && !IsNil(o.ExpiresAt) {
return true
}
@@ -152,7 +155,7 @@ func (o *TrustedOAuth2JwtGrantIssuer) SetExpiresAt(v time.Time) {
// GetId returns the Id field value if set, zero value otherwise.
func (o *TrustedOAuth2JwtGrantIssuer) GetId() string {
- if o == nil || o.Id == nil {
+ if o == nil || IsNil(o.Id) {
var ret string
return ret
}
@@ -162,7 +165,7 @@ func (o *TrustedOAuth2JwtGrantIssuer) GetId() string {
// GetIdOk returns a tuple with the Id field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TrustedOAuth2JwtGrantIssuer) GetIdOk() (*string, bool) {
- if o == nil || o.Id == nil {
+ if o == nil || IsNil(o.Id) {
return nil, false
}
return o.Id, true
@@ -170,7 +173,7 @@ func (o *TrustedOAuth2JwtGrantIssuer) GetIdOk() (*string, bool) {
// HasId returns a boolean if a field has been set.
func (o *TrustedOAuth2JwtGrantIssuer) HasId() bool {
- if o != nil && o.Id != nil {
+ if o != nil && !IsNil(o.Id) {
return true
}
@@ -184,7 +187,7 @@ func (o *TrustedOAuth2JwtGrantIssuer) SetId(v string) {
// GetIssuer returns the Issuer field value if set, zero value otherwise.
func (o *TrustedOAuth2JwtGrantIssuer) GetIssuer() string {
- if o == nil || o.Issuer == nil {
+ if o == nil || IsNil(o.Issuer) {
var ret string
return ret
}
@@ -194,7 +197,7 @@ func (o *TrustedOAuth2JwtGrantIssuer) GetIssuer() string {
// GetIssuerOk returns a tuple with the Issuer field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TrustedOAuth2JwtGrantIssuer) GetIssuerOk() (*string, bool) {
- if o == nil || o.Issuer == nil {
+ if o == nil || IsNil(o.Issuer) {
return nil, false
}
return o.Issuer, true
@@ -202,7 +205,7 @@ func (o *TrustedOAuth2JwtGrantIssuer) GetIssuerOk() (*string, bool) {
// HasIssuer returns a boolean if a field has been set.
func (o *TrustedOAuth2JwtGrantIssuer) HasIssuer() bool {
- if o != nil && o.Issuer != nil {
+ if o != nil && !IsNil(o.Issuer) {
return true
}
@@ -216,7 +219,7 @@ func (o *TrustedOAuth2JwtGrantIssuer) SetIssuer(v string) {
// GetPublicKey returns the PublicKey field value if set, zero value otherwise.
func (o *TrustedOAuth2JwtGrantIssuer) GetPublicKey() TrustedOAuth2JwtGrantJsonWebKey {
- if o == nil || o.PublicKey == nil {
+ if o == nil || IsNil(o.PublicKey) {
var ret TrustedOAuth2JwtGrantJsonWebKey
return ret
}
@@ -226,7 +229,7 @@ func (o *TrustedOAuth2JwtGrantIssuer) GetPublicKey() TrustedOAuth2JwtGrantJsonWe
// GetPublicKeyOk returns a tuple with the PublicKey field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TrustedOAuth2JwtGrantIssuer) GetPublicKeyOk() (*TrustedOAuth2JwtGrantJsonWebKey, bool) {
- if o == nil || o.PublicKey == nil {
+ if o == nil || IsNil(o.PublicKey) {
return nil, false
}
return o.PublicKey, true
@@ -234,7 +237,7 @@ func (o *TrustedOAuth2JwtGrantIssuer) GetPublicKeyOk() (*TrustedOAuth2JwtGrantJs
// HasPublicKey returns a boolean if a field has been set.
func (o *TrustedOAuth2JwtGrantIssuer) HasPublicKey() bool {
- if o != nil && o.PublicKey != nil {
+ if o != nil && !IsNil(o.PublicKey) {
return true
}
@@ -248,7 +251,7 @@ func (o *TrustedOAuth2JwtGrantIssuer) SetPublicKey(v TrustedOAuth2JwtGrantJsonWe
// GetScope returns the Scope field value if set, zero value otherwise.
func (o *TrustedOAuth2JwtGrantIssuer) GetScope() []string {
- if o == nil || o.Scope == nil {
+ if o == nil || IsNil(o.Scope) {
var ret []string
return ret
}
@@ -258,7 +261,7 @@ func (o *TrustedOAuth2JwtGrantIssuer) GetScope() []string {
// GetScopeOk returns a tuple with the Scope field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TrustedOAuth2JwtGrantIssuer) GetScopeOk() ([]string, bool) {
- if o == nil || o.Scope == nil {
+ if o == nil || IsNil(o.Scope) {
return nil, false
}
return o.Scope, true
@@ -266,7 +269,7 @@ func (o *TrustedOAuth2JwtGrantIssuer) GetScopeOk() ([]string, bool) {
// HasScope returns a boolean if a field has been set.
func (o *TrustedOAuth2JwtGrantIssuer) HasScope() bool {
- if o != nil && o.Scope != nil {
+ if o != nil && !IsNil(o.Scope) {
return true
}
@@ -280,7 +283,7 @@ func (o *TrustedOAuth2JwtGrantIssuer) SetScope(v []string) {
// GetSubject returns the Subject field value if set, zero value otherwise.
func (o *TrustedOAuth2JwtGrantIssuer) GetSubject() string {
- if o == nil || o.Subject == nil {
+ if o == nil || IsNil(o.Subject) {
var ret string
return ret
}
@@ -290,7 +293,7 @@ func (o *TrustedOAuth2JwtGrantIssuer) GetSubject() string {
// GetSubjectOk returns a tuple with the Subject field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TrustedOAuth2JwtGrantIssuer) GetSubjectOk() (*string, bool) {
- if o == nil || o.Subject == nil {
+ if o == nil || IsNil(o.Subject) {
return nil, false
}
return o.Subject, true
@@ -298,7 +301,7 @@ func (o *TrustedOAuth2JwtGrantIssuer) GetSubjectOk() (*string, bool) {
// HasSubject returns a boolean if a field has been set.
func (o *TrustedOAuth2JwtGrantIssuer) HasSubject() bool {
- if o != nil && o.Subject != nil {
+ if o != nil && !IsNil(o.Subject) {
return true
}
@@ -311,29 +314,37 @@ func (o *TrustedOAuth2JwtGrantIssuer) SetSubject(v string) {
}
func (o TrustedOAuth2JwtGrantIssuer) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o TrustedOAuth2JwtGrantIssuer) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
- if o.AllowAnySubject != nil {
+ if !IsNil(o.AllowAnySubject) {
toSerialize["allow_any_subject"] = o.AllowAnySubject
}
- if o.CreatedAt != nil {
+ if !IsNil(o.CreatedAt) {
toSerialize["created_at"] = o.CreatedAt
}
- if o.ExpiresAt != nil {
+ if !IsNil(o.ExpiresAt) {
toSerialize["expires_at"] = o.ExpiresAt
}
- if o.Id != nil {
+ if !IsNil(o.Id) {
toSerialize["id"] = o.Id
}
- if o.Issuer != nil {
+ if !IsNil(o.Issuer) {
toSerialize["issuer"] = o.Issuer
}
- if o.PublicKey != nil {
+ if !IsNil(o.PublicKey) {
toSerialize["public_key"] = o.PublicKey
}
- if o.Scope != nil {
+ if !IsNil(o.Scope) {
toSerialize["scope"] = o.Scope
}
- if o.Subject != nil {
+ if !IsNil(o.Subject) {
toSerialize["subject"] = o.Subject
}
@@ -341,16 +352,20 @@ func (o TrustedOAuth2JwtGrantIssuer) MarshalJSON() ([]byte, error) {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *TrustedOAuth2JwtGrantIssuer) UnmarshalJSON(bytes []byte) (err error) {
varTrustedOAuth2JwtGrantIssuer := _TrustedOAuth2JwtGrantIssuer{}
- if err = json.Unmarshal(bytes, &varTrustedOAuth2JwtGrantIssuer); err == nil {
- *o = TrustedOAuth2JwtGrantIssuer(varTrustedOAuth2JwtGrantIssuer)
+ err = json.Unmarshal(bytes, &varTrustedOAuth2JwtGrantIssuer)
+
+ if err != nil {
+ return err
}
+ *o = TrustedOAuth2JwtGrantIssuer(varTrustedOAuth2JwtGrantIssuer)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_trusted_o_auth2_jwt_grant_json_web_key.go b/clients/client/go/model_trusted_o_auth2_jwt_grant_json_web_key.go
index 70ccc8ae439..c8f58451a45 100644
--- a/clients/client/go/model_trusted_o_auth2_jwt_grant_json_web_key.go
+++ b/clients/client/go/model_trusted_o_auth2_jwt_grant_json_web_key.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -15,6 +15,9 @@ import (
"encoding/json"
)
+// checks if the TrustedOAuth2JwtGrantJsonWebKey type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &TrustedOAuth2JwtGrantJsonWebKey{}
+
// TrustedOAuth2JwtGrantJsonWebKey OAuth2 JWT Bearer Grant Type Issuer Trusted JSON Web Key
type TrustedOAuth2JwtGrantJsonWebKey struct {
// The \"key_id\" is key unique identifier (same as kid header in jws/jwt).
@@ -45,7 +48,7 @@ func NewTrustedOAuth2JwtGrantJsonWebKeyWithDefaults() *TrustedOAuth2JwtGrantJson
// GetKid returns the Kid field value if set, zero value otherwise.
func (o *TrustedOAuth2JwtGrantJsonWebKey) GetKid() string {
- if o == nil || o.Kid == nil {
+ if o == nil || IsNil(o.Kid) {
var ret string
return ret
}
@@ -55,7 +58,7 @@ func (o *TrustedOAuth2JwtGrantJsonWebKey) GetKid() string {
// GetKidOk returns a tuple with the Kid field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TrustedOAuth2JwtGrantJsonWebKey) GetKidOk() (*string, bool) {
- if o == nil || o.Kid == nil {
+ if o == nil || IsNil(o.Kid) {
return nil, false
}
return o.Kid, true
@@ -63,7 +66,7 @@ func (o *TrustedOAuth2JwtGrantJsonWebKey) GetKidOk() (*string, bool) {
// HasKid returns a boolean if a field has been set.
func (o *TrustedOAuth2JwtGrantJsonWebKey) HasKid() bool {
- if o != nil && o.Kid != nil {
+ if o != nil && !IsNil(o.Kid) {
return true
}
@@ -77,7 +80,7 @@ func (o *TrustedOAuth2JwtGrantJsonWebKey) SetKid(v string) {
// GetSet returns the Set field value if set, zero value otherwise.
func (o *TrustedOAuth2JwtGrantJsonWebKey) GetSet() string {
- if o == nil || o.Set == nil {
+ if o == nil || IsNil(o.Set) {
var ret string
return ret
}
@@ -87,7 +90,7 @@ func (o *TrustedOAuth2JwtGrantJsonWebKey) GetSet() string {
// GetSetOk returns a tuple with the Set field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TrustedOAuth2JwtGrantJsonWebKey) GetSetOk() (*string, bool) {
- if o == nil || o.Set == nil {
+ if o == nil || IsNil(o.Set) {
return nil, false
}
return o.Set, true
@@ -95,7 +98,7 @@ func (o *TrustedOAuth2JwtGrantJsonWebKey) GetSetOk() (*string, bool) {
// HasSet returns a boolean if a field has been set.
func (o *TrustedOAuth2JwtGrantJsonWebKey) HasSet() bool {
- if o != nil && o.Set != nil {
+ if o != nil && !IsNil(o.Set) {
return true
}
@@ -108,11 +111,19 @@ func (o *TrustedOAuth2JwtGrantJsonWebKey) SetSet(v string) {
}
func (o TrustedOAuth2JwtGrantJsonWebKey) MarshalJSON() ([]byte, error) {
+ toSerialize,err := o.ToMap()
+ if err != nil {
+ return []byte{}, err
+ }
+ return json.Marshal(toSerialize)
+}
+
+func (o TrustedOAuth2JwtGrantJsonWebKey) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
- if o.Kid != nil {
+ if !IsNil(o.Kid) {
toSerialize["kid"] = o.Kid
}
- if o.Set != nil {
+ if !IsNil(o.Set) {
toSerialize["set"] = o.Set
}
@@ -120,16 +131,20 @@ func (o TrustedOAuth2JwtGrantJsonWebKey) MarshalJSON() ([]byte, error) {
toSerialize[key] = value
}
- return json.Marshal(toSerialize)
+ return toSerialize, nil
}
func (o *TrustedOAuth2JwtGrantJsonWebKey) UnmarshalJSON(bytes []byte) (err error) {
varTrustedOAuth2JwtGrantJsonWebKey := _TrustedOAuth2JwtGrantJsonWebKey{}
- if err = json.Unmarshal(bytes, &varTrustedOAuth2JwtGrantJsonWebKey); err == nil {
- *o = TrustedOAuth2JwtGrantJsonWebKey(varTrustedOAuth2JwtGrantJsonWebKey)
+ err = json.Unmarshal(bytes, &varTrustedOAuth2JwtGrantJsonWebKey)
+
+ if err != nil {
+ return err
}
+ *o = TrustedOAuth2JwtGrantJsonWebKey(varTrustedOAuth2JwtGrantJsonWebKey)
+
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
diff --git a/clients/client/go/model_ui_container.go b/clients/client/go/model_ui_container.go
index 4898f8ab526..c36ad7377cf 100644
--- a/clients/client/go/model_ui_container.go
+++ b/clients/client/go/model_ui_container.go
@@ -3,7 +3,7 @@ Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
-API version: v1.2.17
+API version: v1.3.0
Contact: support@ory.sh
*/
@@ -13,8 +13,12 @@ package client
import (
"encoding/json"
+ "fmt"
)
+// checks if the UiContainer type satisfies the MappedNullable interface at compile time
+var _ MappedNullable = &UiContainer{}
+
// UiContainer Container represents a HTML Form. The container can work with both HTTP Form and JSON requests
type UiContainer struct {
// Action should be used as the form action URL `