@leancodepl/kratos 8.5.1 → 9.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +457 -263
- package/index.cjs.js +16665 -3810
- package/index.esm.js +16644 -3789
- package/package.json +6 -7
- package/src/index.d.ts +4 -11
- package/src/lib/factories/index.d.ts +1 -0
- package/src/lib/factories/mkKratos.d.ts +292 -0
- package/src/lib/flows/index.d.ts +6 -7
- package/src/lib/flows/login/chooseMethodForm/ChooseMethodFormWrapper.d.ts +46 -0
- package/src/lib/flows/login/chooseMethodForm/chooseMethodFormContext.d.ts +10 -0
- package/src/lib/flows/login/chooseMethodForm/fields/Identifier.d.ts +6 -0
- package/src/lib/flows/login/chooseMethodForm/fields/Oidc.d.ts +13 -0
- package/src/lib/flows/login/chooseMethodForm/fields/Passkey.d.ts +9 -0
- package/src/lib/flows/login/chooseMethodForm/fields/Password.d.ts +6 -0
- package/src/lib/flows/login/chooseMethodForm/fields/index.d.ts +4 -0
- package/src/lib/flows/login/chooseMethodForm/index.d.ts +1 -0
- package/src/lib/flows/login/chooseMethodForm/types.d.ts +4 -0
- package/src/lib/flows/login/chooseMethodForm/usePasswordForm.d.ts +34 -0
- package/src/lib/flows/login/hooks/index.d.ts +5 -0
- package/src/lib/flows/login/hooks/queryKeys.d.ts +1 -0
- package/src/lib/flows/login/hooks/useCreateLoginFlow.d.ts +5 -0
- package/src/lib/flows/login/hooks/useExistingIdentifierFromFlow.d.ts +1 -0
- package/src/lib/flows/login/hooks/useGetLoginFlow.d.ts +2 -0
- package/src/lib/flows/login/hooks/useLoginFlowContext.d.ts +11 -0
- package/src/lib/flows/login/hooks/useUpdateLoginFlow.d.ts +2 -0
- package/src/lib/flows/login/index.d.ts +5 -0
- package/src/lib/flows/login/loginFlow.d.ts +58 -0
- package/src/lib/flows/login/secondFactorEmailForm/SecondFactorEmailFormWrapper.d.ts +21 -0
- package/src/lib/flows/login/secondFactorEmailForm/fields/Code.d.ts +6 -0
- package/src/lib/flows/login/secondFactorEmailForm/fields/Resend.d.ts +6 -0
- package/src/lib/flows/login/secondFactorEmailForm/fields/index.d.ts +2 -0
- package/src/lib/flows/login/secondFactorEmailForm/index.d.ts +1 -0
- package/src/lib/flows/login/secondFactorEmailForm/secondFactorEmailFormContext.d.ts +10 -0
- package/src/lib/flows/login/secondFactorEmailForm/types.d.ts +3 -0
- package/src/lib/flows/login/secondFactorEmailForm/useCodeForm.d.ts +25 -0
- package/src/lib/flows/login/secondFactorForm/SecondFactorFormWrapper.d.ts +33 -0
- package/src/lib/flows/login/secondFactorForm/fields/Email.d.ts +6 -0
- package/src/lib/flows/login/secondFactorForm/fields/Totp.d.ts +6 -0
- package/src/lib/flows/login/secondFactorForm/fields/index.d.ts +2 -0
- package/src/lib/flows/login/secondFactorForm/index.d.ts +1 -0
- package/src/lib/flows/login/secondFactorForm/secondFactorFormContext.d.ts +10 -0
- package/src/lib/flows/login/secondFactorForm/types.d.ts +3 -0
- package/src/lib/flows/login/secondFactorForm/useTotpForm.d.ts +25 -0
- package/src/lib/flows/login/types.d.ts +6 -0
- package/src/lib/flows/logout/index.d.ts +1 -0
- package/src/lib/flows/logout/useLogout.d.ts +32 -0
- package/src/lib/flows/recovery/codeForm/CodeFormWrapper.d.ts +17 -0
- package/src/lib/flows/recovery/codeForm/codeFormContext.d.ts +10 -0
- package/src/lib/flows/recovery/codeForm/fields/Code.d.ts +6 -0
- package/src/lib/flows/recovery/codeForm/fields/index.d.ts +1 -0
- package/src/lib/flows/recovery/codeForm/index.d.ts +1 -0
- package/src/lib/flows/recovery/codeForm/types.d.ts +3 -0
- package/src/lib/flows/recovery/codeForm/useCodeForm.d.ts +24 -0
- package/src/lib/flows/recovery/emailForm/EmailFormWrapper.d.ts +17 -0
- package/src/lib/flows/recovery/emailForm/emailFormContext.d.ts +10 -0
- package/src/lib/flows/recovery/emailForm/fields/Email.d.ts +6 -0
- package/src/lib/flows/recovery/emailForm/fields/index.d.ts +1 -0
- package/src/lib/flows/recovery/emailForm/index.d.ts +1 -0
- package/src/lib/flows/recovery/emailForm/types.d.ts +3 -0
- package/src/lib/flows/recovery/emailForm/useEmailForm.d.ts +24 -0
- package/src/lib/flows/recovery/hooks/index.d.ts +4 -0
- package/src/lib/flows/recovery/hooks/queryKeys.d.ts +1 -0
- package/src/lib/flows/recovery/hooks/useCreateRecoveryFlow.d.ts +3 -0
- package/src/lib/flows/recovery/hooks/useGetRecoveryFlow.d.ts +2 -0
- package/src/lib/flows/recovery/hooks/useRecoveryFlowContext.d.ts +11 -0
- package/src/lib/flows/recovery/hooks/useUpdateRecoveryFlow.d.ts +2 -0
- package/src/lib/flows/recovery/index.d.ts +4 -0
- package/src/lib/flows/recovery/recoveryFlow.d.ts +49 -0
- package/src/lib/flows/recovery/types.d.ts +5 -0
- package/src/lib/flows/registration/chooseMethodForm/ChooseMethodFormWrapper.d.ts +27 -0
- package/src/lib/flows/registration/chooseMethodForm/chooseMethodFormContext.d.ts +10 -0
- package/src/lib/flows/registration/chooseMethodForm/fields/Passkey.d.ts +10 -0
- package/src/lib/flows/registration/chooseMethodForm/fields/Password.d.ts +6 -0
- package/src/lib/flows/registration/chooseMethodForm/fields/PasswordConfirmation.d.ts +9 -0
- package/src/lib/flows/registration/chooseMethodForm/fields/ReturnToTraitsForm.d.ts +6 -0
- package/src/lib/flows/registration/chooseMethodForm/fields/index.d.ts +4 -0
- package/src/lib/flows/registration/chooseMethodForm/index.d.ts +1 -0
- package/src/lib/flows/registration/chooseMethodForm/types.d.ts +4 -0
- package/src/lib/flows/registration/chooseMethodForm/useChooseMethodForm.d.ts +35 -0
- package/src/lib/flows/registration/hooks/index.d.ts +4 -0
- package/src/lib/flows/registration/hooks/queryKeys.d.ts +1 -0
- package/src/lib/flows/registration/hooks/useCreateRegistrationFlow.d.ts +3 -0
- package/src/lib/flows/registration/hooks/useGetRegistrationFlow.d.ts +2 -0
- package/src/lib/flows/registration/hooks/useRegistrationFlowContext.d.ts +15 -0
- package/src/lib/flows/registration/hooks/useUpdateRegistrationFlow.d.ts +2 -0
- package/src/lib/flows/registration/index.d.ts +4 -0
- package/src/lib/flows/registration/registrationFlow.d.ts +61 -0
- package/src/lib/flows/registration/traitsForm/TraitsFormWrapper.d.ts +33 -0
- package/src/lib/flows/registration/traitsForm/fields/Oidc.d.ts +13 -0
- package/src/lib/flows/registration/traitsForm/fields/Trait.d.ts +8 -0
- package/src/lib/flows/registration/traitsForm/fields/index.d.ts +2 -0
- package/src/lib/flows/registration/traitsForm/index.d.ts +1 -0
- package/src/lib/flows/registration/traitsForm/traitsFormContext.d.ts +10 -0
- package/src/lib/flows/registration/traitsForm/useTraitsForm.d.ts +27 -0
- package/src/lib/flows/registration/types.d.ts +4 -0
- package/src/lib/flows/settings/hooks/index.d.ts +4 -0
- package/src/lib/flows/settings/hooks/queryKeys.d.ts +1 -0
- package/src/lib/flows/settings/hooks/useCreateSettingsFlow.d.ts +1 -0
- package/src/lib/flows/settings/hooks/useGetSettingsFlow.d.ts +2 -0
- package/src/lib/flows/settings/hooks/useSettingsFlowContext.d.ts +13 -0
- package/src/lib/flows/settings/hooks/useUpdateSettingsFlow.d.ts +2 -0
- package/src/lib/flows/settings/index.d.ts +8 -0
- package/src/lib/flows/settings/newPasswordForm/NewPasswordFormWrapper.d.ts +24 -0
- package/src/lib/flows/settings/newPasswordForm/fields/Password.d.ts +6 -0
- package/src/lib/flows/settings/newPasswordForm/fields/PasswordConfirmation.d.ts +9 -0
- package/src/lib/flows/settings/newPasswordForm/fields/index.d.ts +2 -0
- package/src/lib/flows/settings/newPasswordForm/index.d.ts +1 -0
- package/src/lib/flows/settings/newPasswordForm/newPasswordFormContext.d.ts +10 -0
- package/src/lib/flows/settings/newPasswordForm/types.d.ts +4 -0
- package/src/lib/flows/settings/newPasswordForm/useNewPasswordForm.d.ts +35 -0
- package/src/lib/flows/settings/oidcForm/OidcFormWrapper.d.ts +15 -0
- package/src/lib/flows/settings/oidcForm/fields/Oidc.d.ts +12 -0
- package/src/lib/flows/settings/oidcForm/fields/index.d.ts +1 -0
- package/src/lib/flows/settings/oidcForm/index.d.ts +2 -0
- package/src/lib/flows/settings/oidcForm/providers.d.ts +3 -0
- package/src/lib/flows/settings/passkeysForm/PasskeysFormWrapper.d.ts +18 -0
- package/src/lib/flows/settings/passkeysForm/fields/AddPasskey.d.ts +6 -0
- package/src/lib/flows/settings/passkeysForm/fields/index.d.ts +1 -0
- package/src/lib/flows/settings/passkeysForm/hooks/index.d.ts +1 -0
- package/src/lib/flows/settings/passkeysForm/hooks/usePasskeys.d.ts +5 -0
- package/src/lib/flows/settings/passkeysForm/index.d.ts +1 -0
- package/src/lib/flows/settings/settingsFlow.d.ts +72 -0
- package/src/lib/flows/settings/totpForm/TotpFormFormWrapper.d.ts +38 -0
- package/src/lib/flows/settings/totpForm/fields/Code.d.ts +6 -0
- package/src/lib/flows/settings/totpForm/fields/Unlink.d.ts +6 -0
- package/src/lib/flows/settings/totpForm/fields/index.d.ts +2 -0
- package/src/lib/flows/settings/totpForm/index.d.ts +1 -0
- package/src/lib/flows/settings/totpForm/totpFormContext.d.ts +10 -0
- package/src/lib/flows/settings/totpForm/types.d.ts +3 -0
- package/src/lib/flows/settings/totpForm/useTotpForm.d.ts +26 -0
- package/src/lib/flows/settings/traitsForm/TraitsFormWrapper.d.ts +27 -0
- package/src/lib/flows/settings/traitsForm/fields/Trait.d.ts +8 -0
- package/src/lib/flows/settings/traitsForm/fields/index.d.ts +1 -0
- package/src/lib/flows/settings/traitsForm/index.d.ts +1 -0
- package/src/lib/flows/settings/traitsForm/traitsFormContext.d.ts +10 -0
- package/src/lib/flows/settings/traitsForm/types.d.ts +3 -0
- package/src/lib/flows/settings/traitsForm/useTraitsForm.d.ts +27 -0
- package/src/lib/flows/settings/types.d.ts +4 -0
- package/src/lib/flows/verification/emailVerificationForm/EmailVerificationFormWrapper.d.ts +21 -0
- package/src/lib/flows/verification/emailVerificationForm/emailVerificationFormContext.d.ts +10 -0
- package/src/lib/flows/verification/emailVerificationForm/fields/Code.d.ts +6 -0
- package/src/lib/flows/verification/emailVerificationForm/fields/Resend.d.ts +6 -0
- package/src/lib/flows/verification/emailVerificationForm/fields/index.d.ts +2 -0
- package/src/lib/flows/verification/emailVerificationForm/index.d.ts +1 -0
- package/src/lib/flows/verification/emailVerificationForm/types.d.ts +3 -0
- package/src/lib/flows/verification/emailVerificationForm/useEmailVerificationForm.d.ts +25 -0
- package/src/lib/flows/verification/hooks/index.d.ts +4 -0
- package/src/lib/flows/verification/hooks/queryKeys.d.ts +1 -0
- package/src/lib/flows/verification/hooks/useCreateVerificationFlow.d.ts +3 -0
- package/src/lib/flows/verification/hooks/useGetVerificationFlow.d.ts +2 -0
- package/src/lib/flows/verification/hooks/useUpdateVerificationFlow.d.ts +2 -0
- package/src/lib/flows/verification/hooks/useVerificationFlowContext.d.ts +13 -0
- package/src/lib/flows/verification/index.d.ts +4 -0
- package/src/lib/flows/verification/types.d.ts +3 -0
- package/src/lib/flows/verification/verificationFlow.d.ts +41 -0
- package/src/lib/hooks/index.d.ts +4 -0
- package/src/lib/hooks/useFlowManager.d.ts +10 -0
- package/src/lib/hooks/useFormErrors.d.ts +2 -0
- package/src/lib/hooks/useKratosClientContext.d.ts +12 -0
- package/src/lib/hooks/useKratosSessionContext.d.ts +13 -0
- package/src/lib/kratos/api.generated/apis/CourierApi.d.ts +86 -0
- package/src/lib/kratos/api.generated/apis/EventsApi.d.ts +133 -0
- package/src/lib/kratos/api.generated/apis/FrontendApi.d.ts +979 -0
- package/src/lib/kratos/api.generated/apis/IdentityApi.d.ts +630 -0
- package/src/lib/kratos/api.generated/apis/JwkApi.d.ts +227 -0
- package/src/lib/kratos/api.generated/apis/MetadataApi.d.ts +49 -0
- package/src/lib/kratos/api.generated/apis/OAuth2Api.d.ts +830 -0
- package/src/lib/kratos/api.generated/apis/OidcApi.d.ts +232 -0
- package/src/lib/kratos/api.generated/apis/PermissionApi.d.ts +228 -0
- package/src/lib/kratos/api.generated/apis/ProjectApi.d.ts +511 -0
- package/src/lib/kratos/api.generated/apis/RelationshipApi.d.ts +212 -0
- package/src/lib/kratos/api.generated/apis/WellknownApi.d.ts +49 -0
- package/src/lib/kratos/api.generated/apis/WorkspaceApi.d.ts +244 -0
- package/src/lib/kratos/api.generated/apis/index.d.ts +13 -0
- package/src/lib/kratos/api.generated/index.d.ts +3 -0
- package/src/lib/kratos/api.generated/models/AcceptOAuth2ConsentRequest.d.ts +71 -0
- package/src/lib/kratos/api.generated/models/AcceptOAuth2ConsentRequestSession.d.ts +42 -0
- package/src/lib/kratos/api.generated/models/AcceptOAuth2LoginRequest.d.ts +105 -0
- package/src/lib/kratos/api.generated/models/AccountExperienceColors.d.ts +884 -0
- package/src/lib/kratos/api.generated/models/AccountExperienceConfiguration.d.ts +145 -0
- package/src/lib/kratos/api.generated/models/AccountExperienceThemeVariables.d.ts +572 -0
- package/src/lib/kratos/api.generated/models/ActiveProjectInConsole.d.ts +34 -0
- package/src/lib/kratos/api.generated/models/AddProjectToWorkspaceBody.d.ts +66 -0
- package/src/lib/kratos/api.generated/models/Attribute.d.ts +38 -0
- package/src/lib/kratos/api.generated/models/AttributeFilter.d.ts +59 -0
- package/src/lib/kratos/api.generated/models/AttributesCountDatapoint.d.ts +38 -0
- package/src/lib/kratos/api.generated/models/AuthenticatorAssuranceLevel.d.ts +34 -0
- package/src/lib/kratos/api.generated/models/BatchCheckPermissionBody.d.ts +33 -0
- package/src/lib/kratos/api.generated/models/BatchCheckPermissionResult.d.ts +33 -0
- package/src/lib/kratos/api.generated/models/BatchPatchIdentitiesResponse.d.ts +33 -0
- package/src/lib/kratos/api.generated/models/BillingPeriodBucket.d.ts +46 -0
- package/src/lib/kratos/api.generated/models/CheckOplSyntaxResult.d.ts +33 -0
- package/src/lib/kratos/api.generated/models/CheckPermissionResult.d.ts +32 -0
- package/src/lib/kratos/api.generated/models/CheckPermissionResultWithError.d.ts +38 -0
- package/src/lib/kratos/api.generated/models/CloudAccount.d.ts +50 -0
- package/src/lib/kratos/api.generated/models/ConsistencyRequestParameters.d.ts +60 -0
- package/src/lib/kratos/api.generated/models/ContinueWith.d.ts +36 -0
- package/src/lib/kratos/api.generated/models/ContinueWithRecoveryUi.d.ts +48 -0
- package/src/lib/kratos/api.generated/models/ContinueWithRecoveryUiFlow.d.ts +40 -0
- package/src/lib/kratos/api.generated/models/ContinueWithRedirectBrowserTo.d.ts +47 -0
- package/src/lib/kratos/api.generated/models/ContinueWithSetOrySessionToken.d.ts +47 -0
- package/src/lib/kratos/api.generated/models/ContinueWithSettingsUi.d.ts +48 -0
- package/src/lib/kratos/api.generated/models/ContinueWithSettingsUiFlow.d.ts +40 -0
- package/src/lib/kratos/api.generated/models/ContinueWithVerificationUi.d.ts +48 -0
- package/src/lib/kratos/api.generated/models/ContinueWithVerificationUiFlow.d.ts +46 -0
- package/src/lib/kratos/api.generated/models/CourierMessageStatus.d.ts +28 -0
- package/src/lib/kratos/api.generated/models/CourierMessageType.d.ts +26 -0
- package/src/lib/kratos/api.generated/models/CreateCustomDomainBody.d.ts +56 -0
- package/src/lib/kratos/api.generated/models/CreateEventStreamBody.d.ts +52 -0
- package/src/lib/kratos/api.generated/models/CreateFedcmFlowResponse.d.ts +39 -0
- package/src/lib/kratos/api.generated/models/CreateIdentityBody.d.ts +105 -0
- package/src/lib/kratos/api.generated/models/CreateInviteResponse.d.ts +39 -0
- package/src/lib/kratos/api.generated/models/CreateJsonWebKeySet.d.ts +53 -0
- package/src/lib/kratos/api.generated/models/CreateProjectApiKeyRequest.d.ts +42 -0
- package/src/lib/kratos/api.generated/models/CreateProjectBody.d.ts +84 -0
- package/src/lib/kratos/api.generated/models/CreateProjectBranding.d.ts +63 -0
- package/src/lib/kratos/api.generated/models/CreateProjectMemberInviteBody.d.ts +32 -0
- package/src/lib/kratos/api.generated/models/CreateProjectNormalizedPayload.d.ts +1903 -0
- package/src/lib/kratos/api.generated/models/CreateRecoveryCodeForIdentityBody.d.ts +49 -0
- package/src/lib/kratos/api.generated/models/CreateRecoveryLinkForIdentityBody.d.ts +43 -0
- package/src/lib/kratos/api.generated/models/CreateRelationshipBody.d.ts +59 -0
- package/src/lib/kratos/api.generated/models/CreateSubscriptionBody.d.ts +78 -0
- package/src/lib/kratos/api.generated/models/CreateSubscriptionCommon.d.ts +72 -0
- package/src/lib/kratos/api.generated/models/CreateVerifiableCredentialRequestBody.d.ts +45 -0
- package/src/lib/kratos/api.generated/models/CreateWorkspaceApiKeyBody.d.ts +40 -0
- package/src/lib/kratos/api.generated/models/CreateWorkspaceBody.d.ts +32 -0
- package/src/lib/kratos/api.generated/models/CreateWorkspaceMemberInviteBody.d.ts +49 -0
- package/src/lib/kratos/api.generated/models/CreateWorkspaceSubscriptionBody.d.ts +72 -0
- package/src/lib/kratos/api.generated/models/CredentialSupportedDraft00.d.ts +58 -0
- package/src/lib/kratos/api.generated/models/CustomDomain.d.ts +121 -0
- package/src/lib/kratos/api.generated/models/DeleteMySessionsCount.d.ts +32 -0
- package/src/lib/kratos/api.generated/models/EmailTemplateData.d.ts +39 -0
- package/src/lib/kratos/api.generated/models/EmailTemplateDataBody.d.ts +38 -0
- package/src/lib/kratos/api.generated/models/ErrorAuthenticatorAssuranceLevelNotSatisfied.d.ts +39 -0
- package/src/lib/kratos/api.generated/models/ErrorBrowserLocationChangeRequired.d.ts +39 -0
- package/src/lib/kratos/api.generated/models/ErrorFlowReplaced.d.ts +39 -0
- package/src/lib/kratos/api.generated/models/ErrorGeneric.d.ts +33 -0
- package/src/lib/kratos/api.generated/models/ErrorOAuth2.d.ts +60 -0
- package/src/lib/kratos/api.generated/models/EventStream.d.ts +62 -0
- package/src/lib/kratos/api.generated/models/ExpandedPermissionTree.d.ts +68 -0
- package/src/lib/kratos/api.generated/models/FlowError.d.ts +50 -0
- package/src/lib/kratos/api.generated/models/GenericError.d.ts +91 -0
- package/src/lib/kratos/api.generated/models/GenericErrorContent.d.ts +73 -0
- package/src/lib/kratos/api.generated/models/GenericUsage.d.ts +39 -0
- package/src/lib/kratos/api.generated/models/GetAttributesCountResponse.d.ts +33 -0
- package/src/lib/kratos/api.generated/models/GetManagedIdentitySchemaLocation.d.ts +32 -0
- package/src/lib/kratos/api.generated/models/GetMetricsEventAttributesResponse.d.ts +32 -0
- package/src/lib/kratos/api.generated/models/GetMetricsEventTypesResponse.d.ts +32 -0
- package/src/lib/kratos/api.generated/models/GetOrganizationResponse.d.ts +33 -0
- package/src/lib/kratos/api.generated/models/GetProjectEventsBody.d.ts +63 -0
- package/src/lib/kratos/api.generated/models/GetProjectEventsResponse.d.ts +39 -0
- package/src/lib/kratos/api.generated/models/GetProjectMetricsResponse.d.ts +33 -0
- package/src/lib/kratos/api.generated/models/GetSessionActivityResponse.d.ts +33 -0
- package/src/lib/kratos/api.generated/models/GetVersion200Response.d.ts +32 -0
- package/src/lib/kratos/api.generated/models/HealthNotReadyStatus.d.ts +34 -0
- package/src/lib/kratos/api.generated/models/HealthStatus.d.ts +32 -0
- package/src/lib/kratos/api.generated/models/Identity.d.ts +135 -0
- package/src/lib/kratos/api.generated/models/IdentityCredentials.d.ts +91 -0
- package/src/lib/kratos/api.generated/models/IdentityCredentialsCode.d.ts +33 -0
- package/src/lib/kratos/api.generated/models/IdentityCredentialsCodeAddress.d.ts +38 -0
- package/src/lib/kratos/api.generated/models/IdentityCredentialsOidc.d.ts +33 -0
- package/src/lib/kratos/api.generated/models/IdentityCredentialsOidcProvider.d.ts +68 -0
- package/src/lib/kratos/api.generated/models/IdentityCredentialsPassword.d.ts +40 -0
- package/src/lib/kratos/api.generated/models/IdentityPatch.d.ts +43 -0
- package/src/lib/kratos/api.generated/models/IdentityPatchResponse.d.ts +61 -0
- package/src/lib/kratos/api.generated/models/IdentitySchemaContainer.d.ts +38 -0
- package/src/lib/kratos/api.generated/models/IdentitySchemaPreset.d.ts +38 -0
- package/src/lib/kratos/api.generated/models/IdentityWithCredentials.d.ts +47 -0
- package/src/lib/kratos/api.generated/models/IdentityWithCredentialsOidc.d.ts +33 -0
- package/src/lib/kratos/api.generated/models/IdentityWithCredentialsOidcConfig.d.ts +33 -0
- package/src/lib/kratos/api.generated/models/IdentityWithCredentialsOidcConfigProvider.d.ts +50 -0
- package/src/lib/kratos/api.generated/models/IdentityWithCredentialsPassword.d.ts +33 -0
- package/src/lib/kratos/api.generated/models/IdentityWithCredentialsPasswordConfig.d.ts +44 -0
- package/src/lib/kratos/api.generated/models/IdentityWithCredentialsSaml.d.ts +33 -0
- package/src/lib/kratos/api.generated/models/IdentityWithCredentialsSamlConfig.d.ts +33 -0
- package/src/lib/kratos/api.generated/models/IdentityWithCredentialsSamlConfigProvider.d.ts +44 -0
- package/src/lib/kratos/api.generated/models/InternalGetProjectBrandingBody.d.ts +32 -0
- package/src/lib/kratos/api.generated/models/InternalIsAXWelcomeScreenEnabledForProjectBody.d.ts +38 -0
- package/src/lib/kratos/api.generated/models/InternalIsOwnerForProjectBySlugBody.d.ts +60 -0
- package/src/lib/kratos/api.generated/models/InternalIsOwnerForProjectBySlugResponse.d.ts +32 -0
- package/src/lib/kratos/api.generated/models/IntrospectedOAuth2Token.d.ts +132 -0
- package/src/lib/kratos/api.generated/models/InviteTokenBody.d.ts +36 -0
- package/src/lib/kratos/api.generated/models/Invoice.d.ts +68 -0
- package/src/lib/kratos/api.generated/models/InvoiceDataV1.d.ts +101 -0
- package/src/lib/kratos/api.generated/models/IsOwnerForProjectBySlug.d.ts +38 -0
- package/src/lib/kratos/api.generated/models/JsonPatch.d.ts +69 -0
- package/src/lib/kratos/api.generated/models/JsonWebKey.d.ts +153 -0
- package/src/lib/kratos/api.generated/models/JsonWebKeySet.d.ts +39 -0
- package/src/lib/kratos/api.generated/models/KetoNamespace.d.ts +38 -0
- package/src/lib/kratos/api.generated/models/LineItemV1.d.ts +62 -0
- package/src/lib/kratos/api.generated/models/ListEventStreams.d.ts +33 -0
- package/src/lib/kratos/api.generated/models/ListInvoicesResponse.d.ts +45 -0
- package/src/lib/kratos/api.generated/models/ListOrganizationsResponse.d.ts +45 -0
- package/src/lib/kratos/api.generated/models/ListWorkspaceProjects.d.ts +45 -0
- package/src/lib/kratos/api.generated/models/ListWorkspaces.d.ts +45 -0
- package/src/lib/kratos/api.generated/models/LoginFlow.d.ts +183 -0
- package/src/lib/kratos/api.generated/models/LoginFlowState.d.ts +27 -0
- package/src/lib/kratos/api.generated/models/LogoutFlow.d.ts +40 -0
- package/src/lib/kratos/api.generated/models/ManagedIdentitySchema.d.ts +76 -0
- package/src/lib/kratos/api.generated/models/ManagedIdentitySchemaValidationResult.d.ts +38 -0
- package/src/lib/kratos/api.generated/models/MemberInvite.d.ts +114 -0
- package/src/lib/kratos/api.generated/models/Message.d.ts +131 -0
- package/src/lib/kratos/api.generated/models/MessageDispatch.d.ts +75 -0
- package/src/lib/kratos/api.generated/models/MetricsDatapoint.d.ts +38 -0
- package/src/lib/kratos/api.generated/models/Money.d.ts +44 -0
- package/src/lib/kratos/api.generated/models/Namespace.d.ts +32 -0
- package/src/lib/kratos/api.generated/models/NeedsPrivilegedSessionError.d.ts +39 -0
- package/src/lib/kratos/api.generated/models/NormalizedProject.d.ts +151 -0
- package/src/lib/kratos/api.generated/models/NormalizedProjectRevision.d.ts +1853 -0
- package/src/lib/kratos/api.generated/models/NormalizedProjectRevisionCourierChannel.d.ts +127 -0
- package/src/lib/kratos/api.generated/models/NormalizedProjectRevisionHook.d.ts +134 -0
- package/src/lib/kratos/api.generated/models/NormalizedProjectRevisionIdentitySchema.d.ts +96 -0
- package/src/lib/kratos/api.generated/models/NormalizedProjectRevisionSAMLProvider.d.ts +100 -0
- package/src/lib/kratos/api.generated/models/NormalizedProjectRevisionScimClient.d.ts +89 -0
- package/src/lib/kratos/api.generated/models/NormalizedProjectRevisionThirdPartyProvider.d.ts +243 -0
- package/src/lib/kratos/api.generated/models/NormalizedProjectRevisionTokenizerTemplate.d.ts +74 -0
- package/src/lib/kratos/api.generated/models/OAuth2Client.d.ts +415 -0
- package/src/lib/kratos/api.generated/models/OAuth2ClientTokenLifespans.d.ts +86 -0
- package/src/lib/kratos/api.generated/models/OAuth2ConsentRequest.d.ts +122 -0
- package/src/lib/kratos/api.generated/models/OAuth2ConsentRequestOpenIDConnectContext.d.ts +81 -0
- package/src/lib/kratos/api.generated/models/OAuth2ConsentSession.d.ts +95 -0
- package/src/lib/kratos/api.generated/models/OAuth2ConsentSessionExpiresAt.d.ts +56 -0
- package/src/lib/kratos/api.generated/models/OAuth2LoginRequest.d.ts +92 -0
- package/src/lib/kratos/api.generated/models/OAuth2LogoutRequest.d.ts +75 -0
- package/src/lib/kratos/api.generated/models/OAuth2RedirectTo.d.ts +32 -0
- package/src/lib/kratos/api.generated/models/OAuth2TokenExchange.d.ts +65 -0
- package/src/lib/kratos/api.generated/models/OidcConfiguration.d.ts +292 -0
- package/src/lib/kratos/api.generated/models/OidcUserInfo.d.ts +140 -0
- package/src/lib/kratos/api.generated/models/Organization.d.ts +62 -0
- package/src/lib/kratos/api.generated/models/OrganizationBody.d.ts +38 -0
- package/src/lib/kratos/api.generated/models/Pagination.d.ts +44 -0
- package/src/lib/kratos/api.generated/models/PaginationHeaders.d.ts +44 -0
- package/src/lib/kratos/api.generated/models/ParseError.d.ts +45 -0
- package/src/lib/kratos/api.generated/models/PatchIdentitiesBody.d.ts +35 -0
- package/src/lib/kratos/api.generated/models/PerformNativeLogoutBody.d.ts +34 -0
- package/src/lib/kratos/api.generated/models/PermissionsOnWorkspace.d.ts +34 -0
- package/src/lib/kratos/api.generated/models/Plan.d.ts +38 -0
- package/src/lib/kratos/api.generated/models/PlanDetails.d.ts +77 -0
- package/src/lib/kratos/api.generated/models/PostCheckPermissionBody.d.ts +59 -0
- package/src/lib/kratos/api.generated/models/PostCheckPermissionOrErrorBody.d.ts +59 -0
- package/src/lib/kratos/api.generated/models/Project.d.ts +141 -0
- package/src/lib/kratos/api.generated/models/ProjectApiKey.d.ts +76 -0
- package/src/lib/kratos/api.generated/models/ProjectBranding.d.ts +63 -0
- package/src/lib/kratos/api.generated/models/ProjectBrandingColors.d.ts +200 -0
- package/src/lib/kratos/api.generated/models/ProjectBrandingTheme.d.ts +271 -0
- package/src/lib/kratos/api.generated/models/ProjectCors.d.ts +38 -0
- package/src/lib/kratos/api.generated/models/ProjectEventsDatapoint.d.ts +45 -0
- package/src/lib/kratos/api.generated/models/ProjectHost.d.ts +44 -0
- package/src/lib/kratos/api.generated/models/ProjectMember.d.ts +56 -0
- package/src/lib/kratos/api.generated/models/ProjectMetadata.d.ts +150 -0
- package/src/lib/kratos/api.generated/models/ProjectServiceIdentity.d.ts +32 -0
- package/src/lib/kratos/api.generated/models/ProjectServiceOAuth2.d.ts +32 -0
- package/src/lib/kratos/api.generated/models/ProjectServicePermission.d.ts +32 -0
- package/src/lib/kratos/api.generated/models/ProjectServices.d.ts +47 -0
- package/src/lib/kratos/api.generated/models/Provider.d.ts +84 -0
- package/src/lib/kratos/api.generated/models/QuotaUsage.d.ts +149 -0
- package/src/lib/kratos/api.generated/models/RFC6749ErrorJson.d.ts +56 -0
- package/src/lib/kratos/api.generated/models/RecoveryCodeForIdentity.d.ts +48 -0
- package/src/lib/kratos/api.generated/models/RecoveryFlow.d.ts +104 -0
- package/src/lib/kratos/api.generated/models/RecoveryFlowState.d.ts +27 -0
- package/src/lib/kratos/api.generated/models/RecoveryIdentityAddress.d.ts +56 -0
- package/src/lib/kratos/api.generated/models/RecoveryLinkForIdentity.d.ts +42 -0
- package/src/lib/kratos/api.generated/models/RegistrationFlow.d.ts +154 -0
- package/src/lib/kratos/api.generated/models/RegistrationFlowState.d.ts +27 -0
- package/src/lib/kratos/api.generated/models/RejectOAuth2Request.d.ts +61 -0
- package/src/lib/kratos/api.generated/models/RelationQuery.d.ts +59 -0
- package/src/lib/kratos/api.generated/models/Relationship.d.ts +59 -0
- package/src/lib/kratos/api.generated/models/RelationshipNamespaces.d.ts +33 -0
- package/src/lib/kratos/api.generated/models/RelationshipPatch.d.ts +48 -0
- package/src/lib/kratos/api.generated/models/Relationships.d.ts +41 -0
- package/src/lib/kratos/api.generated/models/SchemaPatch.d.ts +38 -0
- package/src/lib/kratos/api.generated/models/SelfServiceFlowExpiredError.d.ts +53 -0
- package/src/lib/kratos/api.generated/models/Session.d.ts +99 -0
- package/src/lib/kratos/api.generated/models/SessionActivityDatapoint.d.ts +44 -0
- package/src/lib/kratos/api.generated/models/SessionAuthenticationMethod.d.ts +73 -0
- package/src/lib/kratos/api.generated/models/SessionDevice.d.ts +50 -0
- package/src/lib/kratos/api.generated/models/SetActiveProjectInConsoleBody.d.ts +36 -0
- package/src/lib/kratos/api.generated/models/SetCustomDomainBody.d.ts +56 -0
- package/src/lib/kratos/api.generated/models/SetEventStreamBody.d.ts +52 -0
- package/src/lib/kratos/api.generated/models/SetProject.d.ts +52 -0
- package/src/lib/kratos/api.generated/models/SetProjectBrandingThemeBody.d.ts +63 -0
- package/src/lib/kratos/api.generated/models/SettingsFlow.d.ts +116 -0
- package/src/lib/kratos/api.generated/models/SettingsFlowState.d.ts +26 -0
- package/src/lib/kratos/api.generated/models/SourcePosition.d.ts +38 -0
- package/src/lib/kratos/api.generated/models/SubjectSet.d.ts +44 -0
- package/src/lib/kratos/api.generated/models/Subscription.d.ts +147 -0
- package/src/lib/kratos/api.generated/models/SuccessfulCodeExchangeResponse.d.ts +46 -0
- package/src/lib/kratos/api.generated/models/SuccessfulNativeLogin.d.ts +56 -0
- package/src/lib/kratos/api.generated/models/SuccessfulNativeRegistration.d.ts +65 -0
- package/src/lib/kratos/api.generated/models/SuccessfulProjectUpdate.d.ts +48 -0
- package/src/lib/kratos/api.generated/models/TaxLineItem.d.ts +38 -0
- package/src/lib/kratos/api.generated/models/TimeInterval.d.ts +38 -0
- package/src/lib/kratos/api.generated/models/TokenPagination.d.ts +44 -0
- package/src/lib/kratos/api.generated/models/TokenPaginationHeaders.d.ts +44 -0
- package/src/lib/kratos/api.generated/models/TokenPaginationRequestParameters.d.ts +47 -0
- package/src/lib/kratos/api.generated/models/TokenPaginationResponseHeaders.d.ts +54 -0
- package/src/lib/kratos/api.generated/models/TrustOAuth2JwtGrantIssuer.d.ts +63 -0
- package/src/lib/kratos/api.generated/models/TrustedOAuth2JwtGrantIssuer.d.ts +75 -0
- package/src/lib/kratos/api.generated/models/TrustedOAuth2JwtGrantJsonWebKey.d.ts +38 -0
- package/src/lib/kratos/api.generated/models/UiContainer.d.ts +52 -0
- package/src/lib/kratos/api.generated/models/UiNode.d.ts +113 -0
- package/src/lib/kratos/api.generated/models/UiNodeAnchorAttributes.d.ts +73 -0
- package/src/lib/kratos/api.generated/models/UiNodeAttributes.d.ts +39 -0
- package/src/lib/kratos/api.generated/models/UiNodeDivisionAttributes.d.ts +74 -0
- package/src/lib/kratos/api.generated/models/UiNodeImageAttributes.d.ts +78 -0
- package/src/lib/kratos/api.generated/models/UiNodeInputAttributes.d.ts +229 -0
- package/src/lib/kratos/api.generated/models/UiNodeMeta.d.ts +34 -0
- package/src/lib/kratos/api.generated/models/UiNodeScriptAttributes.d.ts +104 -0
- package/src/lib/kratos/api.generated/models/UiNodeTextAttributes.d.ts +65 -0
- package/src/lib/kratos/api.generated/models/UiText.d.ts +63 -0
- package/src/lib/kratos/api.generated/models/UpdateFedcmFlowBody.d.ts +51 -0
- package/src/lib/kratos/api.generated/models/UpdateIdentityBody.d.ts +78 -0
- package/src/lib/kratos/api.generated/models/UpdateLoginFlowBody.d.ts +48 -0
- package/src/lib/kratos/api.generated/models/UpdateLoginFlowWithCodeMethod.d.ts +70 -0
- package/src/lib/kratos/api.generated/models/UpdateLoginFlowWithIdentifierFirstMethod.d.ts +50 -0
- package/src/lib/kratos/api.generated/models/UpdateLoginFlowWithLookupSecretMethod.d.ts +44 -0
- package/src/lib/kratos/api.generated/models/UpdateLoginFlowWithOidcMethod.d.ts +92 -0
- package/src/lib/kratos/api.generated/models/UpdateLoginFlowWithPasskeyMethod.d.ts +46 -0
- package/src/lib/kratos/api.generated/models/UpdateLoginFlowWithPasswordMethod.d.ts +63 -0
- package/src/lib/kratos/api.generated/models/UpdateLoginFlowWithSamlMethod.d.ts +52 -0
- package/src/lib/kratos/api.generated/models/UpdateLoginFlowWithTotpMethod.d.ts +50 -0
- package/src/lib/kratos/api.generated/models/UpdateLoginFlowWithWebAuthnMethod.d.ts +58 -0
- package/src/lib/kratos/api.generated/models/UpdateRecoveryFlowBody.d.ts +27 -0
- package/src/lib/kratos/api.generated/models/UpdateRecoveryFlowWithCodeMethod.d.ts +80 -0
- package/src/lib/kratos/api.generated/models/UpdateRecoveryFlowWithLinkMethod.d.ts +69 -0
- package/src/lib/kratos/api.generated/models/UpdateRegistrationFlowBody.d.ts +42 -0
- package/src/lib/kratos/api.generated/models/UpdateRegistrationFlowWithCodeMethod.d.ts +64 -0
- package/src/lib/kratos/api.generated/models/UpdateRegistrationFlowWithOidcMethod.d.ts +92 -0
- package/src/lib/kratos/api.generated/models/UpdateRegistrationFlowWithPasskeyMethod.d.ts +61 -0
- package/src/lib/kratos/api.generated/models/UpdateRegistrationFlowWithPasswordMethod.d.ts +58 -0
- package/src/lib/kratos/api.generated/models/UpdateRegistrationFlowWithProfileMethod.d.ts +76 -0
- package/src/lib/kratos/api.generated/models/UpdateRegistrationFlowWithSamlMethod.d.ts +58 -0
- package/src/lib/kratos/api.generated/models/UpdateRegistrationFlowWithWebAuthnMethod.d.ts +69 -0
- package/src/lib/kratos/api.generated/models/UpdateSettingsFlowBody.d.ts +45 -0
- package/src/lib/kratos/api.generated/models/UpdateSettingsFlowWithLookupMethod.d.ts +70 -0
- package/src/lib/kratos/api.generated/models/UpdateSettingsFlowWithOidcMethod.d.ts +90 -0
- package/src/lib/kratos/api.generated/models/UpdateSettingsFlowWithPasskeyMethod.d.ts +57 -0
- package/src/lib/kratos/api.generated/models/UpdateSettingsFlowWithPasswordMethod.d.ts +52 -0
- package/src/lib/kratos/api.generated/models/UpdateSettingsFlowWithProfileMethod.d.ts +56 -0
- package/src/lib/kratos/api.generated/models/UpdateSettingsFlowWithSamlMethod.d.ts +84 -0
- package/src/lib/kratos/api.generated/models/UpdateSettingsFlowWithTotpMethod.d.ts +60 -0
- package/src/lib/kratos/api.generated/models/UpdateSettingsFlowWithWebAuthnMethod.d.ts +71 -0
- package/src/lib/kratos/api.generated/models/UpdateSubscriptionBody.d.ts +55 -0
- package/src/lib/kratos/api.generated/models/UpdateVerificationFlowBody.d.ts +27 -0
- package/src/lib/kratos/api.generated/models/UpdateVerificationFlowWithCodeMethod.d.ts +80 -0
- package/src/lib/kratos/api.generated/models/UpdateVerificationFlowWithLinkMethod.d.ts +69 -0
- package/src/lib/kratos/api.generated/models/UpdateWorkspaceBody.d.ts +32 -0
- package/src/lib/kratos/api.generated/models/Usage.d.ts +33 -0
- package/src/lib/kratos/api.generated/models/VerifiableCredentialPrimingResponse.d.ts +74 -0
- package/src/lib/kratos/api.generated/models/VerifiableCredentialProof.d.ts +38 -0
- package/src/lib/kratos/api.generated/models/VerifiableCredentialResponse.d.ts +38 -0
- package/src/lib/kratos/api.generated/models/VerifiableIdentityAddress.d.ts +85 -0
- package/src/lib/kratos/api.generated/models/VerificationFlow.d.ts +101 -0
- package/src/lib/kratos/api.generated/models/VerificationFlowState.d.ts +27 -0
- package/src/lib/kratos/api.generated/models/Version.d.ts +32 -0
- package/src/lib/kratos/api.generated/models/Warning.d.ts +38 -0
- package/src/lib/kratos/api.generated/models/Workspace.d.ts +62 -0
- package/src/lib/kratos/api.generated/models/WorkspaceApiKey.d.ts +76 -0
- package/src/lib/kratos/api.generated/models/index.d.ts +283 -0
- package/src/lib/kratos/api.generated/runtime.d.ts +182 -0
- package/src/lib/kratos/contrib/continueWith.d.ts +51 -0
- package/src/lib/kratos/contrib/error.d.ts +87 -0
- package/src/lib/kratos/contrib/flowTypes.d.ts +9 -0
- package/src/lib/kratos/contrib/index.d.ts +6 -0
- package/src/lib/kratos/contrib/ui.d.ts +63 -0
- package/src/lib/kratos/contrib/urlHelpers.d.ts +25 -0
- package/src/lib/kratos/contrib/utils.d.ts +32 -0
- package/src/lib/kratos/index.d.ts +2 -0
- package/src/lib/sessionManager/baseSessionManager.d.ts +50 -27
- package/src/lib/sessionManager/index.d.ts +1 -0
- package/src/lib/sessionManager/types.d.ts +10 -0
- package/src/lib/types/index.d.ts +17 -0
- package/src/lib/utils/assertion.d.ts +9 -0
- package/src/lib/utils/errors.d.ts +386 -0
- package/src/lib/utils/fields.d.ts +9 -0
- package/src/lib/utils/flow.d.ts +46 -0
- package/src/lib/utils/form.d.ts +12 -0
- package/src/lib/utils/index.d.ts +9 -0
- package/src/lib/utils/passkeys/credential.d.ts +13 -0
- package/src/lib/utils/passkeys/helpers.d.ts +2 -0
- package/src/lib/utils/passkeys/index.d.ts +4 -0
- package/src/lib/utils/passkeys/types.d.ts +31 -0
- package/src/lib/utils/query.d.ts +3 -0
- package/src/lib/utils/searchQuery.d.ts +6 -0
- package/src/lib/utils/traits.d.ts +5 -0
- package/src/lib/cards/index.d.ts +0 -2
- package/src/lib/cards/userAuthCard.d.ts +0 -62
- package/src/lib/cards/userSettingsCard.d.ts +0 -36
- package/src/lib/createKratosClient.d.ts +0 -19
- package/src/lib/defaultComponents/DefaultButtonComponent/index.d.ts +0 -2
- package/src/lib/defaultComponents/DefaultCheckboxComponent/index.d.ts +0 -2
- package/src/lib/defaultComponents/DefaultImageComponent/index.d.ts +0 -2
- package/src/lib/defaultComponents/DefaultInputComponent/index.d.ts +0 -2
- package/src/lib/defaultComponents/DefaultLinkComponent/index.d.ts +0 -2
- package/src/lib/defaultComponents/DefaultMessageComponent/index.d.ts +0 -2
- package/src/lib/defaultComponents/DefaultMessageFormatComponent/index.d.ts +0 -2
- package/src/lib/defaultComponents/DefaultTextComponent/index.d.ts +0 -2
- package/src/lib/defaultComponents/DefaultUiMessagesComponent/index.d.ts +0 -2
- package/src/lib/defaultComponents.d.ts +0 -2
- package/src/lib/flows/useLoginFlow.d.ts +0 -50
- package/src/lib/flows/useLogoutFlow.d.ts +0 -33
- package/src/lib/flows/useReauthenticationFlow.d.ts +0 -31
- package/src/lib/flows/useRecoveryFlow.d.ts +0 -47
- package/src/lib/flows/useRegistrationFlow.d.ts +0 -47
- package/src/lib/flows/useSettingsFlow.d.ts +0 -47
- package/src/lib/flows/useVerificationFlow.d.ts +0 -47
- package/src/lib/helpers/errorMessages.d.ts +0 -7
- package/src/lib/helpers/filterFlowNodes.d.ts +0 -7
- package/src/lib/helpers/formattedMessage.d.ts +0 -4
- package/src/lib/helpers/getNodeLabel.d.ts +0 -2
- package/src/lib/helpers/node.d.ts +0 -7
- package/src/lib/helpers/useScriptNodes.d.ts +0 -5
- package/src/lib/helpers/userAuthForm.d.ts +0 -31
- package/src/lib/kratosContext.d.ts +0 -29
- package/src/lib/kratosContextProvider.d.ts +0 -34
- package/src/lib/sections/authCodeSection.d.ts +0 -14
- package/src/lib/sections/identifierFirstLoginSection.d.ts +0 -8
- package/src/lib/sections/linkSection.d.ts +0 -14
- package/src/lib/sections/loginSection.d.ts +0 -8
- package/src/lib/sections/lookupSecretSettingsSection.d.ts +0 -8
- package/src/lib/sections/oidcSection.d.ts +0 -8
- package/src/lib/sections/oidcSettingsSection.d.ts +0 -8
- package/src/lib/sections/passkeySettingsSection.d.ts +0 -8
- package/src/lib/sections/passwordSettingsSection.d.ts +0 -8
- package/src/lib/sections/passwordlessSection.d.ts +0 -8
- package/src/lib/sections/profileLoginSection.d.ts +0 -8
- package/src/lib/sections/profileRegistrationSection.d.ts +0 -8
- package/src/lib/sections/profileSettingsSection.d.ts +0 -8
- package/src/lib/sections/registrationSection.d.ts +0 -8
- package/src/lib/sections/totpSettingsSection.d.ts +0 -8
- package/src/lib/types/components.d.ts +0 -78
- package/src/lib/types/enums/errorId.d.ts +0 -16
- package/src/lib/types/enums/errorValidation.d.ts +0 -30
- package/src/lib/types/enums/errorValidationLogin.d.ts +0 -9
- package/src/lib/types/enums/errorValidationRecovery.d.ts +0 -9
- package/src/lib/types/enums/errorValidationRegistration.d.ts +0 -4
- package/src/lib/types/enums/errorValidationSettings.d.ts +0 -4
- package/src/lib/types/enums/errorValidationVerification.d.ts +0 -9
- package/src/lib/types/enums/index.d.ts +0 -14
- package/src/lib/types/enums/infoNodeLabel.d.ts +0 -14
- package/src/lib/types/enums/infoSelfServiceLogin.d.ts +0 -16
- package/src/lib/types/enums/infoSelfServiceRecovery.d.ts +0 -6
- package/src/lib/types/enums/infoSelfServiceRegistration.d.ts +0 -7
- package/src/lib/types/enums/infoSelfServiceSettings.d.ts +0 -21
- package/src/lib/types/enums/infoSelfServiceVerification.d.ts +0 -6
- package/src/lib/types/enums/misc.d.ts +0 -10
- package/src/lib/types/responseError.d.ts +0 -2
- package/src/lib/types/useHandleFlowError.d.ts +0 -13
- package/src/lib/utils/filterNodesByGroups.d.ts +0 -22
- package/src/lib/utils/getNodeInputType.d.ts +0 -1
- package/src/lib/utils/handleCancelError.d.ts +0 -2
- package/src/lib/utils/helpers.d.ts +0 -11
- package/src/lib/utils/typeGuards.d.ts +0 -24
- package/src/lib/utils/variables.d.ts +0 -4
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Ory APIs
|
|
3
|
+
* # Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1.20.10
|
|
6
|
+
* Contact: support@ory.sh
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Update Login Flow with Lookup Secret Method
|
|
14
|
+
* @export
|
|
15
|
+
* @interface UpdateLoginFlowWithLookupSecretMethod
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateLoginFlowWithLookupSecretMethod {
|
|
18
|
+
/**
|
|
19
|
+
* Sending the anti-csrf token is only required for browser login flows.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UpdateLoginFlowWithLookupSecretMethod
|
|
22
|
+
*/
|
|
23
|
+
csrf_token?: string;
|
|
24
|
+
/**
|
|
25
|
+
* The lookup secret.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UpdateLoginFlowWithLookupSecretMethod
|
|
28
|
+
*/
|
|
29
|
+
lookup_secret: string;
|
|
30
|
+
/**
|
|
31
|
+
* Method should be set to "lookup_secret" when logging in using the lookup_secret strategy.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UpdateLoginFlowWithLookupSecretMethod
|
|
34
|
+
*/
|
|
35
|
+
method: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the UpdateLoginFlowWithLookupSecretMethod interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfUpdateLoginFlowWithLookupSecretMethod(value: object): value is UpdateLoginFlowWithLookupSecretMethod;
|
|
41
|
+
export declare function UpdateLoginFlowWithLookupSecretMethodFromJSON(json: any): UpdateLoginFlowWithLookupSecretMethod;
|
|
42
|
+
export declare function UpdateLoginFlowWithLookupSecretMethodFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateLoginFlowWithLookupSecretMethod;
|
|
43
|
+
export declare function UpdateLoginFlowWithLookupSecretMethodToJSON(json: any): UpdateLoginFlowWithLookupSecretMethod;
|
|
44
|
+
export declare function UpdateLoginFlowWithLookupSecretMethodToJSONTyped(value?: UpdateLoginFlowWithLookupSecretMethod | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Ory APIs
|
|
3
|
+
* # Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1.20.10
|
|
6
|
+
* Contact: support@ory.sh
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Update Login Flow with OpenID Connect Method
|
|
14
|
+
* @export
|
|
15
|
+
* @interface UpdateLoginFlowWithOidcMethod
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateLoginFlowWithOidcMethod {
|
|
18
|
+
/**
|
|
19
|
+
* The CSRF Token
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UpdateLoginFlowWithOidcMethod
|
|
22
|
+
*/
|
|
23
|
+
csrf_token?: string;
|
|
24
|
+
/**
|
|
25
|
+
* IDToken is an optional id token provided by an OIDC provider
|
|
26
|
+
*
|
|
27
|
+
* If submitted, it is verified using the OIDC provider's public key set and the claims are used to populate
|
|
28
|
+
* the OIDC credentials of the identity.
|
|
29
|
+
* If the OIDC provider does not store additional claims (such as name, etc.) in the IDToken itself, you can use
|
|
30
|
+
* the `traits` field to populate the identity's traits. Note, that Apple only includes the users email in the IDToken.
|
|
31
|
+
*
|
|
32
|
+
* Supported providers are
|
|
33
|
+
* Apple
|
|
34
|
+
* Google
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof UpdateLoginFlowWithOidcMethod
|
|
37
|
+
*/
|
|
38
|
+
id_token?: string;
|
|
39
|
+
/**
|
|
40
|
+
* IDTokenNonce is the nonce, used when generating the IDToken.
|
|
41
|
+
* If the provider supports nonce validation, the nonce will be validated against this value and required.
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof UpdateLoginFlowWithOidcMethod
|
|
44
|
+
*/
|
|
45
|
+
id_token_nonce?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Method to use
|
|
48
|
+
*
|
|
49
|
+
* This field must be set to `oidc` when using the oidc method.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof UpdateLoginFlowWithOidcMethod
|
|
52
|
+
*/
|
|
53
|
+
method: string;
|
|
54
|
+
/**
|
|
55
|
+
* The provider to register with
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof UpdateLoginFlowWithOidcMethod
|
|
58
|
+
*/
|
|
59
|
+
provider: string;
|
|
60
|
+
/**
|
|
61
|
+
* The identity traits. This is a placeholder for the registration flow.
|
|
62
|
+
* @type {object}
|
|
63
|
+
* @memberof UpdateLoginFlowWithOidcMethod
|
|
64
|
+
*/
|
|
65
|
+
traits?: object;
|
|
66
|
+
/**
|
|
67
|
+
* Transient data to pass along to any webhooks
|
|
68
|
+
* @type {object}
|
|
69
|
+
* @memberof UpdateLoginFlowWithOidcMethod
|
|
70
|
+
*/
|
|
71
|
+
transient_payload?: object;
|
|
72
|
+
/**
|
|
73
|
+
* UpstreamParameters are the parameters that are passed to the upstream identity provider.
|
|
74
|
+
*
|
|
75
|
+
* These parameters are optional and depend on what the upstream identity provider supports.
|
|
76
|
+
* Supported parameters are:
|
|
77
|
+
* `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.
|
|
78
|
+
* `hd` (string): The `hd` parameter limits the login/registration process to a Google Organization, e.g. `mycollege.edu`.
|
|
79
|
+
* `prompt` (string): The `prompt` specifies whether the Authorization Server prompts the End-User for reauthentication and consent, e.g. `select_account`.
|
|
80
|
+
* @type {object}
|
|
81
|
+
* @memberof UpdateLoginFlowWithOidcMethod
|
|
82
|
+
*/
|
|
83
|
+
upstream_parameters?: object;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Check if a given object implements the UpdateLoginFlowWithOidcMethod interface.
|
|
87
|
+
*/
|
|
88
|
+
export declare function instanceOfUpdateLoginFlowWithOidcMethod(value: object): value is UpdateLoginFlowWithOidcMethod;
|
|
89
|
+
export declare function UpdateLoginFlowWithOidcMethodFromJSON(json: any): UpdateLoginFlowWithOidcMethod;
|
|
90
|
+
export declare function UpdateLoginFlowWithOidcMethodFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateLoginFlowWithOidcMethod;
|
|
91
|
+
export declare function UpdateLoginFlowWithOidcMethodToJSON(json: any): UpdateLoginFlowWithOidcMethod;
|
|
92
|
+
export declare function UpdateLoginFlowWithOidcMethodToJSONTyped(value?: UpdateLoginFlowWithOidcMethod | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Ory APIs
|
|
3
|
+
* # Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1.20.10
|
|
6
|
+
* Contact: support@ory.sh
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Update Login Flow with Passkey Method
|
|
14
|
+
* @export
|
|
15
|
+
* @interface UpdateLoginFlowWithPasskeyMethod
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateLoginFlowWithPasskeyMethod {
|
|
18
|
+
/**
|
|
19
|
+
* Sending the anti-csrf token is only required for browser login flows.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UpdateLoginFlowWithPasskeyMethod
|
|
22
|
+
*/
|
|
23
|
+
csrf_token?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Method should be set to "passkey" when logging in using the Passkey strategy.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UpdateLoginFlowWithPasskeyMethod
|
|
28
|
+
*/
|
|
29
|
+
method: string;
|
|
30
|
+
/**
|
|
31
|
+
* Login a WebAuthn Security Key
|
|
32
|
+
*
|
|
33
|
+
* This must contain the ID of the WebAuthN connection.
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof UpdateLoginFlowWithPasskeyMethod
|
|
36
|
+
*/
|
|
37
|
+
passkey_login?: string;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the UpdateLoginFlowWithPasskeyMethod interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfUpdateLoginFlowWithPasskeyMethod(value: object): value is UpdateLoginFlowWithPasskeyMethod;
|
|
43
|
+
export declare function UpdateLoginFlowWithPasskeyMethodFromJSON(json: any): UpdateLoginFlowWithPasskeyMethod;
|
|
44
|
+
export declare function UpdateLoginFlowWithPasskeyMethodFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateLoginFlowWithPasskeyMethod;
|
|
45
|
+
export declare function UpdateLoginFlowWithPasskeyMethodToJSON(json: any): UpdateLoginFlowWithPasskeyMethod;
|
|
46
|
+
export declare function UpdateLoginFlowWithPasskeyMethodToJSONTyped(value?: UpdateLoginFlowWithPasskeyMethod | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Ory APIs
|
|
3
|
+
* # Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1.20.10
|
|
6
|
+
* Contact: support@ory.sh
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Update Login Flow with Password Method
|
|
14
|
+
* @export
|
|
15
|
+
* @interface UpdateLoginFlowWithPasswordMethod
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateLoginFlowWithPasswordMethod {
|
|
18
|
+
/**
|
|
19
|
+
* Sending the anti-csrf token is only required for browser login flows.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UpdateLoginFlowWithPasswordMethod
|
|
22
|
+
*/
|
|
23
|
+
csrf_token?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Identifier is the email or username of the user trying to log in.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UpdateLoginFlowWithPasswordMethod
|
|
28
|
+
*/
|
|
29
|
+
identifier: string;
|
|
30
|
+
/**
|
|
31
|
+
* Method should be set to "password" when logging in using the identifier and password strategy.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UpdateLoginFlowWithPasswordMethod
|
|
34
|
+
*/
|
|
35
|
+
method: string;
|
|
36
|
+
/**
|
|
37
|
+
* The user's password.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof UpdateLoginFlowWithPasswordMethod
|
|
40
|
+
*/
|
|
41
|
+
password: string;
|
|
42
|
+
/**
|
|
43
|
+
* Identifier is the email or username of the user trying to log in.
|
|
44
|
+
* This field is deprecated!
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof UpdateLoginFlowWithPasswordMethod
|
|
47
|
+
*/
|
|
48
|
+
password_identifier?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Transient data to pass along to any webhooks
|
|
51
|
+
* @type {object}
|
|
52
|
+
* @memberof UpdateLoginFlowWithPasswordMethod
|
|
53
|
+
*/
|
|
54
|
+
transient_payload?: object;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the UpdateLoginFlowWithPasswordMethod interface.
|
|
58
|
+
*/
|
|
59
|
+
export declare function instanceOfUpdateLoginFlowWithPasswordMethod(value: object): value is UpdateLoginFlowWithPasswordMethod;
|
|
60
|
+
export declare function UpdateLoginFlowWithPasswordMethodFromJSON(json: any): UpdateLoginFlowWithPasswordMethod;
|
|
61
|
+
export declare function UpdateLoginFlowWithPasswordMethodFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateLoginFlowWithPasswordMethod;
|
|
62
|
+
export declare function UpdateLoginFlowWithPasswordMethodToJSON(json: any): UpdateLoginFlowWithPasswordMethod;
|
|
63
|
+
export declare function UpdateLoginFlowWithPasswordMethodToJSONTyped(value?: UpdateLoginFlowWithPasswordMethod | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Ory APIs
|
|
3
|
+
* # Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1.20.10
|
|
6
|
+
* Contact: support@ory.sh
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Update login flow using SAML
|
|
14
|
+
* @export
|
|
15
|
+
* @interface UpdateLoginFlowWithSamlMethod
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateLoginFlowWithSamlMethod {
|
|
18
|
+
/**
|
|
19
|
+
* The CSRF Token
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UpdateLoginFlowWithSamlMethod
|
|
22
|
+
*/
|
|
23
|
+
csrf_token?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Method to use
|
|
26
|
+
*
|
|
27
|
+
* This field must be set to `saml` when using the saml method.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof UpdateLoginFlowWithSamlMethod
|
|
30
|
+
*/
|
|
31
|
+
method: string;
|
|
32
|
+
/**
|
|
33
|
+
* The provider to register with
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof UpdateLoginFlowWithSamlMethod
|
|
36
|
+
*/
|
|
37
|
+
provider: string;
|
|
38
|
+
/**
|
|
39
|
+
* Transient data to pass along to any webhooks
|
|
40
|
+
* @type {object}
|
|
41
|
+
* @memberof UpdateLoginFlowWithSamlMethod
|
|
42
|
+
*/
|
|
43
|
+
transient_payload?: object;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Check if a given object implements the UpdateLoginFlowWithSamlMethod interface.
|
|
47
|
+
*/
|
|
48
|
+
export declare function instanceOfUpdateLoginFlowWithSamlMethod(value: object): value is UpdateLoginFlowWithSamlMethod;
|
|
49
|
+
export declare function UpdateLoginFlowWithSamlMethodFromJSON(json: any): UpdateLoginFlowWithSamlMethod;
|
|
50
|
+
export declare function UpdateLoginFlowWithSamlMethodFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateLoginFlowWithSamlMethod;
|
|
51
|
+
export declare function UpdateLoginFlowWithSamlMethodToJSON(json: any): UpdateLoginFlowWithSamlMethod;
|
|
52
|
+
export declare function UpdateLoginFlowWithSamlMethodToJSONTyped(value?: UpdateLoginFlowWithSamlMethod | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Ory APIs
|
|
3
|
+
* # Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1.20.10
|
|
6
|
+
* Contact: support@ory.sh
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Update Login Flow with TOTP Method
|
|
14
|
+
* @export
|
|
15
|
+
* @interface UpdateLoginFlowWithTotpMethod
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateLoginFlowWithTotpMethod {
|
|
18
|
+
/**
|
|
19
|
+
* Sending the anti-csrf token is only required for browser login flows.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UpdateLoginFlowWithTotpMethod
|
|
22
|
+
*/
|
|
23
|
+
csrf_token?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Method should be set to "totp" when logging in using the TOTP strategy.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UpdateLoginFlowWithTotpMethod
|
|
28
|
+
*/
|
|
29
|
+
method: string;
|
|
30
|
+
/**
|
|
31
|
+
* The TOTP code.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UpdateLoginFlowWithTotpMethod
|
|
34
|
+
*/
|
|
35
|
+
totp_code: string;
|
|
36
|
+
/**
|
|
37
|
+
* Transient data to pass along to any webhooks
|
|
38
|
+
* @type {object}
|
|
39
|
+
* @memberof UpdateLoginFlowWithTotpMethod
|
|
40
|
+
*/
|
|
41
|
+
transient_payload?: object;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the UpdateLoginFlowWithTotpMethod interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfUpdateLoginFlowWithTotpMethod(value: object): value is UpdateLoginFlowWithTotpMethod;
|
|
47
|
+
export declare function UpdateLoginFlowWithTotpMethodFromJSON(json: any): UpdateLoginFlowWithTotpMethod;
|
|
48
|
+
export declare function UpdateLoginFlowWithTotpMethodFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateLoginFlowWithTotpMethod;
|
|
49
|
+
export declare function UpdateLoginFlowWithTotpMethodToJSON(json: any): UpdateLoginFlowWithTotpMethod;
|
|
50
|
+
export declare function UpdateLoginFlowWithTotpMethodToJSONTyped(value?: UpdateLoginFlowWithTotpMethod | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Ory APIs
|
|
3
|
+
* # Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1.20.10
|
|
6
|
+
* Contact: support@ory.sh
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Update Login Flow with WebAuthn Method
|
|
14
|
+
* @export
|
|
15
|
+
* @interface UpdateLoginFlowWithWebAuthnMethod
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateLoginFlowWithWebAuthnMethod {
|
|
18
|
+
/**
|
|
19
|
+
* Sending the anti-csrf token is only required for browser login flows.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UpdateLoginFlowWithWebAuthnMethod
|
|
22
|
+
*/
|
|
23
|
+
csrf_token?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Identifier is the email or username of the user trying to log in.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UpdateLoginFlowWithWebAuthnMethod
|
|
28
|
+
*/
|
|
29
|
+
identifier: string;
|
|
30
|
+
/**
|
|
31
|
+
* Method should be set to "webAuthn" when logging in using the WebAuthn strategy.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UpdateLoginFlowWithWebAuthnMethod
|
|
34
|
+
*/
|
|
35
|
+
method: string;
|
|
36
|
+
/**
|
|
37
|
+
* Transient data to pass along to any webhooks
|
|
38
|
+
* @type {object}
|
|
39
|
+
* @memberof UpdateLoginFlowWithWebAuthnMethod
|
|
40
|
+
*/
|
|
41
|
+
transient_payload?: object;
|
|
42
|
+
/**
|
|
43
|
+
* Login a WebAuthn Security Key
|
|
44
|
+
*
|
|
45
|
+
* This must contain the ID of the WebAuthN connection.
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof UpdateLoginFlowWithWebAuthnMethod
|
|
48
|
+
*/
|
|
49
|
+
webauthn_login?: string;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the UpdateLoginFlowWithWebAuthnMethod interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfUpdateLoginFlowWithWebAuthnMethod(value: object): value is UpdateLoginFlowWithWebAuthnMethod;
|
|
55
|
+
export declare function UpdateLoginFlowWithWebAuthnMethodFromJSON(json: any): UpdateLoginFlowWithWebAuthnMethod;
|
|
56
|
+
export declare function UpdateLoginFlowWithWebAuthnMethodFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateLoginFlowWithWebAuthnMethod;
|
|
57
|
+
export declare function UpdateLoginFlowWithWebAuthnMethodToJSON(json: any): UpdateLoginFlowWithWebAuthnMethod;
|
|
58
|
+
export declare function UpdateLoginFlowWithWebAuthnMethodToJSONTyped(value?: UpdateLoginFlowWithWebAuthnMethod | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Ory APIs
|
|
3
|
+
* # Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1.20.10
|
|
6
|
+
* Contact: support@ory.sh
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { UpdateRecoveryFlowWithCodeMethod } from './UpdateRecoveryFlowWithCodeMethod';
|
|
13
|
+
import type { UpdateRecoveryFlowWithLinkMethod } from './UpdateRecoveryFlowWithLinkMethod';
|
|
14
|
+
/**
|
|
15
|
+
* @type UpdateRecoveryFlowBody
|
|
16
|
+
* Update Recovery Flow Request Body
|
|
17
|
+
* @export
|
|
18
|
+
*/
|
|
19
|
+
export type UpdateRecoveryFlowBody = {
|
|
20
|
+
method: 'code';
|
|
21
|
+
} & UpdateRecoveryFlowWithCodeMethod | {
|
|
22
|
+
method: 'link';
|
|
23
|
+
} & UpdateRecoveryFlowWithLinkMethod;
|
|
24
|
+
export declare function UpdateRecoveryFlowBodyFromJSON(json: any): UpdateRecoveryFlowBody;
|
|
25
|
+
export declare function UpdateRecoveryFlowBodyFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateRecoveryFlowBody;
|
|
26
|
+
export declare function UpdateRecoveryFlowBodyToJSON(json: any): any;
|
|
27
|
+
export declare function UpdateRecoveryFlowBodyToJSONTyped(value?: UpdateRecoveryFlowBody | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Ory APIs
|
|
3
|
+
* # Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1.20.10
|
|
6
|
+
* Contact: support@ory.sh
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Update Recovery Flow with Code Method
|
|
14
|
+
* @export
|
|
15
|
+
* @interface UpdateRecoveryFlowWithCodeMethod
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateRecoveryFlowWithCodeMethod {
|
|
18
|
+
/**
|
|
19
|
+
* Code from the recovery email
|
|
20
|
+
*
|
|
21
|
+
* If you want to submit a code, use this field, but make sure to _not_ include the email field, as well.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof UpdateRecoveryFlowWithCodeMethod
|
|
24
|
+
*/
|
|
25
|
+
code?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Sending the anti-csrf token is only required for browser login flows.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof UpdateRecoveryFlowWithCodeMethod
|
|
30
|
+
*/
|
|
31
|
+
csrf_token?: string;
|
|
32
|
+
/**
|
|
33
|
+
* The email address of the account to recover
|
|
34
|
+
*
|
|
35
|
+
* If the email belongs to a valid account, a recovery email will be sent.
|
|
36
|
+
*
|
|
37
|
+
* If you want to notify the email address if the account does not exist, see
|
|
38
|
+
* the [notify_unknown_recipients flag](https://www.ory.sh/docs/kratos/self-service/flows/account-recovery-password-reset#attempted-recovery-notifications)
|
|
39
|
+
*
|
|
40
|
+
* If a code was already sent, including this field in the payload will invalidate the sent code and re-send a new code.
|
|
41
|
+
*
|
|
42
|
+
* format: email
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof UpdateRecoveryFlowWithCodeMethod
|
|
45
|
+
*/
|
|
46
|
+
email?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Method is the method that should be used for this recovery flow
|
|
49
|
+
*
|
|
50
|
+
* Allowed values are `link` and `code`.
|
|
51
|
+
* link RecoveryStrategyLink
|
|
52
|
+
* code RecoveryStrategyCode
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof UpdateRecoveryFlowWithCodeMethod
|
|
55
|
+
*/
|
|
56
|
+
method: UpdateRecoveryFlowWithCodeMethodMethodEnum;
|
|
57
|
+
/**
|
|
58
|
+
* Transient data to pass along to any webhooks
|
|
59
|
+
* @type {object}
|
|
60
|
+
* @memberof UpdateRecoveryFlowWithCodeMethod
|
|
61
|
+
*/
|
|
62
|
+
transient_payload?: object;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* @export
|
|
66
|
+
*/
|
|
67
|
+
export declare const UpdateRecoveryFlowWithCodeMethodMethodEnum: {
|
|
68
|
+
readonly Link: "link";
|
|
69
|
+
readonly Code: "code";
|
|
70
|
+
readonly UnknownDefaultOpenApi: "11184809";
|
|
71
|
+
};
|
|
72
|
+
export type UpdateRecoveryFlowWithCodeMethodMethodEnum = typeof UpdateRecoveryFlowWithCodeMethodMethodEnum[keyof typeof UpdateRecoveryFlowWithCodeMethodMethodEnum];
|
|
73
|
+
/**
|
|
74
|
+
* Check if a given object implements the UpdateRecoveryFlowWithCodeMethod interface.
|
|
75
|
+
*/
|
|
76
|
+
export declare function instanceOfUpdateRecoveryFlowWithCodeMethod(value: object): value is UpdateRecoveryFlowWithCodeMethod;
|
|
77
|
+
export declare function UpdateRecoveryFlowWithCodeMethodFromJSON(json: any): UpdateRecoveryFlowWithCodeMethod;
|
|
78
|
+
export declare function UpdateRecoveryFlowWithCodeMethodFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateRecoveryFlowWithCodeMethod;
|
|
79
|
+
export declare function UpdateRecoveryFlowWithCodeMethodToJSON(json: any): UpdateRecoveryFlowWithCodeMethod;
|
|
80
|
+
export declare function UpdateRecoveryFlowWithCodeMethodToJSONTyped(value?: UpdateRecoveryFlowWithCodeMethod | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Ory APIs
|
|
3
|
+
* # Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1.20.10
|
|
6
|
+
* Contact: support@ory.sh
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Update Recovery Flow with Link Method
|
|
14
|
+
* @export
|
|
15
|
+
* @interface UpdateRecoveryFlowWithLinkMethod
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateRecoveryFlowWithLinkMethod {
|
|
18
|
+
/**
|
|
19
|
+
* Sending the anti-csrf token is only required for browser login flows.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UpdateRecoveryFlowWithLinkMethod
|
|
22
|
+
*/
|
|
23
|
+
csrf_token?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Email to Recover
|
|
26
|
+
*
|
|
27
|
+
* Needs to be set when initiating the flow. If the email is a registered
|
|
28
|
+
* recovery email, a recovery link will be sent. If the email is not known,
|
|
29
|
+
* a email with details on what happened will be sent instead.
|
|
30
|
+
*
|
|
31
|
+
* format: email
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UpdateRecoveryFlowWithLinkMethod
|
|
34
|
+
*/
|
|
35
|
+
email: string;
|
|
36
|
+
/**
|
|
37
|
+
* Method is the method that should be used for this recovery flow
|
|
38
|
+
*
|
|
39
|
+
* Allowed values are `link` and `code`
|
|
40
|
+
* link RecoveryStrategyLink
|
|
41
|
+
* code RecoveryStrategyCode
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof UpdateRecoveryFlowWithLinkMethod
|
|
44
|
+
*/
|
|
45
|
+
method: UpdateRecoveryFlowWithLinkMethodMethodEnum;
|
|
46
|
+
/**
|
|
47
|
+
* Transient data to pass along to any webhooks
|
|
48
|
+
* @type {object}
|
|
49
|
+
* @memberof UpdateRecoveryFlowWithLinkMethod
|
|
50
|
+
*/
|
|
51
|
+
transient_payload?: object;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* @export
|
|
55
|
+
*/
|
|
56
|
+
export declare const UpdateRecoveryFlowWithLinkMethodMethodEnum: {
|
|
57
|
+
readonly Link: "link";
|
|
58
|
+
readonly Code: "code";
|
|
59
|
+
readonly UnknownDefaultOpenApi: "11184809";
|
|
60
|
+
};
|
|
61
|
+
export type UpdateRecoveryFlowWithLinkMethodMethodEnum = typeof UpdateRecoveryFlowWithLinkMethodMethodEnum[keyof typeof UpdateRecoveryFlowWithLinkMethodMethodEnum];
|
|
62
|
+
/**
|
|
63
|
+
* Check if a given object implements the UpdateRecoveryFlowWithLinkMethod interface.
|
|
64
|
+
*/
|
|
65
|
+
export declare function instanceOfUpdateRecoveryFlowWithLinkMethod(value: object): value is UpdateRecoveryFlowWithLinkMethod;
|
|
66
|
+
export declare function UpdateRecoveryFlowWithLinkMethodFromJSON(json: any): UpdateRecoveryFlowWithLinkMethod;
|
|
67
|
+
export declare function UpdateRecoveryFlowWithLinkMethodFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateRecoveryFlowWithLinkMethod;
|
|
68
|
+
export declare function UpdateRecoveryFlowWithLinkMethodToJSON(json: any): UpdateRecoveryFlowWithLinkMethod;
|
|
69
|
+
export declare function UpdateRecoveryFlowWithLinkMethodToJSONTyped(value?: UpdateRecoveryFlowWithLinkMethod | null, ignoreDiscriminator?: boolean): any;
|