type Nullable = T | null | undefined declare function KtSingleton(): T & (abstract new() => any); export declare interface KtList /* extends Collection */ { asJsReadonlyArrayView(): ReadonlyArray; readonly __doNotUseOrImplementIt: { readonly "kotlin.collections.KtList": unique symbol; }; } export declare namespace KtList { function fromJsArray(array: ReadonlyArray): KtList; } export declare interface KtMap { asJsReadonlyMapView(): ReadonlyMap; readonly __doNotUseOrImplementIt: { readonly "kotlin.collections.KtMap": unique symbol; }; } export declare namespace KtMap { function fromJsMap(map: ReadonlyMap): KtMap; } /** @deprecated */ export declare const initHook: { get(): any; }; export declare interface StytchClient { readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.StytchClient": unique symbol; }; } export declare abstract class BiometricsAvailability { protected constructor(); } export declare namespace BiometricsAvailability { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => BiometricsAvailability; } abstract class Available extends KtSingleton() { private constructor(); } namespace Available { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { abstract class constructor extends BiometricsAvailability.$metadata$.constructor /* implements SerializerFactory */ { toString(): string; hashCode(): number; equals(other: Nullable): boolean; private constructor(); } } } abstract class AlreadyRegistered extends KtSingleton() { private constructor(); } namespace AlreadyRegistered { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { abstract class constructor extends BiometricsAvailability.$metadata$.constructor /* implements SerializerFactory */ { toString(): string; hashCode(): number; equals(other: Nullable): boolean; private constructor(); } } } abstract class RegistrationRevoked extends KtSingleton() { private constructor(); } namespace RegistrationRevoked { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { abstract class constructor extends BiometricsAvailability.$metadata$.constructor /* implements SerializerFactory */ { toString(): string; hashCode(): number; equals(other: Nullable): boolean; private constructor(); } } } abstract class UserAuthenticationRequired extends KtSingleton() { private constructor(); } namespace UserAuthenticationRequired { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { abstract class constructor extends BiometricsAvailability.$metadata$.constructor /* implements SerializerFactory */ { toString(): string; hashCode(): number; equals(other: Nullable): boolean; private constructor(); } } } class Unavailable extends BiometricsAvailability.$metadata$.constructor { constructor(reason: Nullable, code?: Nullable); get reason(): Nullable; get code(): Nullable; copy(reason?: Nullable, code?: Nullable): BiometricsAvailability.Unavailable; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } namespace Unavailable { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => Unavailable; } abstract class Companion extends KtSingleton() { private constructor(); } namespace Companion { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { abstract class constructor { private constructor(); } } } } abstract class Companion extends KtSingleton() { private constructor(); } namespace Companion { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { abstract class constructor /* implements SerializerFactory */ { private constructor(); } } } } export declare interface BasicResponse extends StytchAPIResponse { readonly statusCode: number; readonly requestId: string; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.data.BasicResponse": unique symbol; } & StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare class EndpointOptions { constructor(testDomain?: string, liveDomain?: string, dfppaDomain?: string); get testDomain(): string; get liveDomain(): string; get dfppaDomain(): string; } export declare namespace EndpointOptions { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => EndpointOptions; } } export declare class GoogleCredentialConfiguration { constructor(googleClientId: string, autoSelectEnabled?: boolean); get googleClientId(): string; get autoSelectEnabled(): boolean; } export declare namespace GoogleCredentialConfiguration { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => GoogleCredentialConfiguration; } } export declare interface JsCleanup { stop(): void; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.data.JsCleanup": unique symbol; }; } export declare class PKCECodePair { constructor(challenge: string, verifier: string); get challenge(): string; get verifier(): string; copy(challenge?: string, verifier?: string): PKCECodePair; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace PKCECodePair { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => PKCECodePair; } } export declare interface StytchAPIResponse { readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.data.StytchAPIResponse": unique symbol; }; } export declare class PublicTokenInfo { constructor(publicToken: string, isTestToken: boolean); get publicToken(): string; get isTestToken(): boolean; } export declare namespace PublicTokenInfo { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => PublicTokenInfo; } } export declare class StytchClientConfigurationInternal { constructor(publicToken: string, endpointOptions: EndpointOptions, defaultSessionDuration: number, deviceInfo: any/* DeviceInfo */, tokenInfo: PublicTokenInfo | undefined, appSessionId: string | undefined, timezone: string | undefined, platformPersistenceClient: StytchPlatformPersistenceClient, platform: KMPPlatformType, encryptionClient: StytchEncryptionClient, dfpProvider: Nullable/* Nullable */ | undefined, captchaProvider: Nullable/* Nullable */ | undefined, passkeyProvider: any/* IPasskeyProvider */, biometricsProvider: any/* IBiometricsProvider */, oAuthProvider: any/* IOAuthProvider */); get endpointOptions(): EndpointOptions; get defaultSessionDuration(): number; get tokenInfo(): PublicTokenInfo; get platformPersistenceClient(): StytchPlatformPersistenceClient; get platform(): KMPPlatformType; get encryptionClient(): StytchEncryptionClient; get dfpProvider(): Nullable/* Nullable */; get captchaProvider(): Nullable/* Nullable */; get passkeyProvider(): any/* IPasskeyProvider */; get biometricsProvider(): any/* IBiometricsProvider */; get oAuthProvider(): any/* IOAuthProvider */; } export declare namespace StytchClientConfigurationInternal { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => StytchClientConfigurationInternal; } } export declare abstract class KMPPlatformType { private constructor(); static get ANDROID(): KMPPlatformType & { get name(): "ANDROID"; get ordinal(): 0; }; static get IOS(): KMPPlatformType & { get name(): "IOS"; get ordinal(): 1; }; static get REACTNATIVE(): KMPPlatformType & { get name(): "REACTNATIVE"; get ordinal(): 2; }; static get JVM(): KMPPlatformType & { get name(): "JVM"; get ordinal(): 3; }; get name(): "ANDROID" | "IOS" | "REACTNATIVE" | "JVM"; get ordinal(): 0 | 1 | 2 | 3; static values(): Array; static valueOf(value: string): KMPPlatformType; } export declare namespace KMPPlatformType { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => KMPPlatformType; } } export declare class AndroidBiometricOptions { constructor(allowDeviceCredentials?: boolean, title?: Nullable, subTitle?: Nullable, negativeButtonText?: Nullable, allowFallbackToCleartext?: boolean); get allowDeviceCredentials(): boolean; get title(): Nullable; get subTitle(): Nullable; get negativeButtonText(): Nullable; get allowFallbackToCleartext(): boolean; } export declare namespace AndroidBiometricOptions { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => AndroidBiometricOptions; } } export declare class BiometricsParameters { constructor(sessionDurationMinutes: number, androidBiometricOptions?: AndroidBiometricOptions, iosBiometricOptions?: IosBiometricOptions); get sessionDurationMinutes(): number; get androidBiometricOptions(): AndroidBiometricOptions; get iosBiometricOptions(): IosBiometricOptions; } export declare namespace BiometricsParameters { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => BiometricsParameters; } } export declare class IosBiometricOptions { constructor(reason?: string, fallbackTitle?: Nullable, cancelTitle?: Nullable); get reason(): string; get fallbackTitle(): Nullable; get cancelTitle(): Nullable; } export declare namespace IosBiometricOptions { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => IosBiometricOptions; } } export declare class StytchClientConfiguration { constructor(publicToken: string, endpointOptions?: EndpointOptions, defaultSessionDuration?: Nullable, googleCredentialConfiguration?: Nullable); toInternal(): StytchClientConfigurationInternal; } export declare namespace StytchClientConfiguration { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => StytchClientConfiguration; } } export declare class StytchEncryptionClient { constructor(); encrypt(data: Int8Array): Int8Array; decrypt(data: Int8Array): Int8Array; deleteKey(): void; generateCodeVerifier(): Int8Array; generateCodeChallenge(codeVerifier: Int8Array): Int8Array; signEd25519(key: Int8Array, data: Int8Array): Int8Array; generateEd25519KeyPair(): any/* Ed25519KeyPair */; deriveEd25519PublicKeyFromPrivateKeyBytes(privateKeyBytes: Int8Array): Int8Array; } export declare namespace StytchEncryptionClient { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => StytchEncryptionClient; } } export declare class B2BOAuthDiscoveryStartParameters { constructor(discoveryRedirectUrl?: Nullable, customScopes?: Nullable>, providerParams?: Nullable>); get discoveryRedirectUrl(): Nullable; get customScopes(): Nullable>; get providerParams(): Nullable>; toOAuthStartParameters(): OAuthStartParameters; } export declare namespace B2BOAuthDiscoveryStartParameters { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BOAuthDiscoveryStartParameters; } } export declare class B2BOAuthStartParameters { constructor(loginRedirectUrl?: Nullable, signupRedirectUrl?: Nullable, organizationId?: Nullable, organizationSlug?: Nullable, customScopes?: Nullable>, providerParams?: Nullable>, sessionDurationMinutes?: Nullable); get loginRedirectUrl(): Nullable; get signupRedirectUrl(): Nullable; get organizationId(): Nullable; get organizationSlug(): Nullable; get customScopes(): Nullable>; get providerParams(): Nullable>; get sessionDurationMinutes(): Nullable; toOAuthStartParameters(): OAuthStartParameters; } export declare namespace B2BOAuthStartParameters { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BOAuthStartParameters; } } export declare class B2BSSOStartParameters { constructor(connectionId: string, loginRedirectUrl?: Nullable, signupRedirectUrl?: Nullable, sessionDurationMinutes?: Nullable); get connectionId(): string; get loginRedirectUrl(): Nullable; get signupRedirectUrl(): Nullable; get sessionDurationMinutes(): Nullable; toOAuthStartParameters(): OAuthStartParameters; } export declare namespace B2BSSOStartParameters { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BSSOStartParameters; } } export declare class OAuthStartParameters { constructor(loginRedirectUrl?: Nullable, signupRedirectUrl?: Nullable, customScopes?: Nullable>, providerParams?: Nullable>, oauthAttachToken?: Nullable, sessionDurationMinutes?: Nullable); get loginRedirectUrl(): Nullable; get signupRedirectUrl(): Nullable; get customScopes(): Nullable>; get providerParams(): Nullable>; get oauthAttachToken(): Nullable; get sessionDurationMinutes(): Nullable; } export declare namespace OAuthStartParameters { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OAuthStartParameters; } } export declare class PasskeysParameters { constructor(domain: string, sessionDurationMinutes?: Nullable, preferImmediatelyAvailableCredentials?: boolean); get domain(): string; get sessionDurationMinutes(): Nullable; get preferImmediatelyAvailableCredentials(): boolean; } export declare namespace PasskeysParameters { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => PasskeysParameters; } } export declare class StytchPlatformPersistenceClient { constructor(bridge: typeof StytchBridge); saveData(key: string, data: string): void; getData(key: string): Nullable; removeData(key: string): void; reset(): void; } export declare namespace StytchPlatformPersistenceClient { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => StytchPlatformPersistenceClient; } } export declare interface B2BCreateExternalConnectionParameters { readonly externalConnectionId: string; readonly externalOrganizationId: string; readonly displayName?: Nullable; } export declare interface B2BCreateOIDCConnectionParameters { readonly displayName?: Nullable; readonly identityProvider?: Nullable; } export declare interface B2BCreateSAMLConnectionParameters { readonly displayName?: Nullable; readonly identityProvider?: Nullable; } export declare interface B2BDiscoveryIntermediateSessionsExchangeParameters { readonly organizationId: string; readonly sessionDurationMinutes: number; readonly locale?: Nullable; } export declare interface B2BDiscoveryOrganizationsCreateParameters { readonly sessionDurationMinutes: number; readonly organizationName?: Nullable; readonly organizationSlug?: Nullable; readonly organizationLogoUrl?: Nullable; readonly ssoJitProvisioning?: Nullable; readonly emailAllowedDomains?: Nullable>; readonly emailJitProvisioning?: Nullable; readonly emailInvites?: Nullable; readonly authMethods?: Nullable; readonly allowedAuthMethods?: Nullable>; readonly mfaMethods?: Nullable; readonly allowedMfaMethods?: Nullable>; readonly mfaPolicy?: Nullable; readonly oauthTenantJitProvisioning?: Nullable; readonly allowedOauthTenants?: Nullable>>; } export declare interface B2BDiscoveryOrganizationsParameters { } export declare interface B2BDiscoveryPasswordResetParameters { readonly passwordResetToken: string; readonly password: string; } export declare interface B2BDiscoveryPasswordResetStartParameters { readonly emailAddress: string; readonly discoveryRedirectUrl?: Nullable; readonly resetPasswordRedirectUrl?: Nullable; readonly resetPasswordExpirationMinutes?: Nullable; readonly resetPasswordTemplateId?: Nullable; readonly locale?: Nullable; readonly verifyEmailTemplateId?: Nullable; } export declare interface B2BGetSCIMConnectionGroupsParameters { readonly cursor?: Nullable; readonly limit?: Nullable; } export declare interface B2BImpersonationTokenAuthenticateParameters { readonly impersonationToken: string; } export declare interface B2BMagicLinksAuthenticateParameters { readonly magicLinksToken: string; readonly sessionDurationMinutes: number; readonly locale?: Nullable; } export declare interface B2BMagicLinksDiscoveryAuthenticateParameters { readonly discoveryMagicLinksToken: string; } export declare interface B2BMagicLinksDiscoveryEmailSendParameters { readonly emailAddress: string; readonly discoveryRedirectUrl?: Nullable; readonly loginTemplateId?: Nullable; readonly locale?: Nullable; readonly discoveryExpirationMinutes?: Nullable; } export declare interface B2BMagicLinksInviteParameters { readonly emailAddress: string; readonly inviteRedirectUrl?: Nullable; readonly inviteTemplateId?: Nullable; readonly name?: Nullable; readonly untrustedMetadata?: Nullable>>; readonly locale?: Nullable; readonly roles?: Nullable>; } export declare interface B2BMagicLinksLoginOrSignupParameters { readonly emailAddress: string; readonly organizationId: string; readonly loginRedirectUrl?: Nullable; readonly signupRedirectUrl?: Nullable; readonly loginTemplateId?: Nullable; readonly signupTemplateId?: Nullable; readonly locale?: Nullable; } export declare interface B2BOAuthAuthenticateParameters { readonly oauthToken: string; readonly sessionDurationMinutes?: Nullable; readonly locale?: Nullable; } export declare interface B2BOAuthAuthorizeParameters { readonly clientId: string; readonly redirectUri: string; readonly responseType: string; readonly scope: string; readonly state?: Nullable; readonly nonce?: Nullable; readonly consentGranted?: Nullable; readonly prompt?: Nullable; readonly resources?: Nullable>; } export declare interface B2BOAuthAuthorizeStartParameters { readonly clientId: string; readonly redirectUri: string; readonly responseType: string; readonly scope: string; readonly prompt?: Nullable; } export declare interface B2BOAuthDiscoveryAuthenticateParameters { readonly discoveryOauthToken: string; } export declare interface B2BOAuthGoogleOneTapDiscoverySubmitParameters { readonly idToken: string; readonly discoveryRedirectUrl?: Nullable; } export declare interface B2BOAuthGoogleOneTapSubmitParameters { readonly idToken: string; readonly organizationId: string; readonly loginRedirectUrl?: Nullable; readonly signupRedirectUrl?: Nullable; } export declare interface B2BOTPsEmailAuthenticateParameters { readonly organizationId: string; readonly emailAddress: string; readonly code: string; readonly sessionDurationMinutes: number; readonly locale?: Nullable; } export declare interface B2BOTPsEmailDiscoveryAuthenticateParameters { readonly emailAddress: string; readonly code: string; } export declare interface B2BOTPsEmailDiscoverySendParameters { readonly emailAddress: string; readonly loginTemplateId?: Nullable; readonly locale?: Nullable; readonly discoveryExpirationMinutes?: Nullable; } export declare interface B2BOTPsEmailLoginOrSignupParameters { readonly organizationId: string; readonly emailAddress: string; readonly loginTemplateId?: Nullable; readonly signupTemplateId?: Nullable; readonly locale?: Nullable; readonly loginExpirationMinutes?: Nullable; readonly signupExpirationMinutes?: Nullable; } export declare interface B2BOTPsSMSAuthenticateParameters { readonly organizationId: string; readonly memberId: string; readonly code: string; readonly sessionDurationMinutes: number; readonly setMfaEnrollment?: Nullable; } export declare interface B2BOTPsSMSSendParameters { readonly organizationId: string; readonly memberId: string; readonly mfaPhoneNumber?: Nullable; readonly locale?: Nullable; readonly enableAutofill?: Nullable; } export declare interface B2BOrganizationsUpdateParameters { readonly organizationName?: Nullable; readonly organizationSlug?: Nullable; readonly organizationLogoUrl?: Nullable; readonly ssoDefaultConnectionId?: Nullable; readonly ssoJitProvisioning?: Nullable; readonly ssoJitProvisioningAllowedConnections?: Nullable>; readonly emailAllowedDomains?: Nullable>; readonly emailJitProvisioning?: Nullable; readonly emailInvites?: Nullable; readonly authMethods?: Nullable; readonly allowedAuthMethods?: Nullable>; readonly mfaPolicy?: Nullable; readonly rbacEmailImplicitRoleAssignments?: Nullable>; readonly mfaMethods?: Nullable; readonly allowedMfaMethods?: Nullable>; readonly oauthTenantJitProvisioning?: Nullable; readonly allowedOauthTenants?: Nullable>>; readonly firstPartyConnectedAppsAllowedType?: Nullable; readonly allowedFirstPartyConnectedApps?: Nullable>; readonly thirdPartyConnectedAppsAllowedType?: Nullable; readonly allowedThirdPartyConnectedApps?: Nullable>; readonly organizationExternalId?: Nullable; } export declare interface B2BPasswordAuthenticateParameters { readonly organizationId: string; readonly emailAddress: string; readonly password: string; readonly sessionDurationMinutes: number; readonly locale?: Nullable; } export declare interface B2BPasswordDiscoveryAuthenticateParameters { readonly emailAddress: string; readonly password: string; } export declare interface B2BPasswordEmailResetParameters { readonly passwordResetToken: string; readonly password: string; readonly sessionDurationMinutes: number; readonly locale?: Nullable; } export declare interface B2BPasswordEmailResetStartParameters { readonly organizationId: string; readonly emailAddress: string; readonly loginRedirectUrl?: Nullable; readonly resetPasswordRedirectUrl?: Nullable; readonly resetPasswordExpirationMinutes?: Nullable; readonly resetPasswordTemplateId?: Nullable; readonly locale?: Nullable; readonly verifyEmailTemplateId?: Nullable; } export declare interface B2BPasswordExistingPasswordResetParameters { readonly organizationId: string; readonly emailAddress: string; readonly existingPassword: string; readonly newPassword: string; readonly sessionDurationMinutes: number; readonly locale?: Nullable; } export declare interface B2BPasswordSessionResetParameters { readonly password: string; } export declare interface B2BPasswordStrengthCheckParameters { readonly password: string; readonly emailAddress?: Nullable; } export declare interface B2BRecoveryCodesRecoverParameters { readonly organizationId: string; readonly memberId: string; readonly recoveryCode: string; readonly sessionDurationMinutes: number; } export declare interface B2BRecoveryCodesRotateParameters { } export declare interface B2BSCIMCreateConnectionParameters { readonly displayName: string; readonly identityProvider?: Nullable; } export declare interface B2BSCIMUpdateConnectionParameters { readonly identityProvider?: Nullable; readonly displayName?: Nullable; readonly scimGroupImplicitRoleAssignments?: Nullable>; } export declare interface B2BSSOAuthEnticateParameters { readonly ssoToken: string; readonly sessionDurationMinutes: number; readonly locale?: Nullable; } export declare interface B2BSessionsAccessTokenExchangeParameters { readonly accessToken: string; readonly sessionDurationMinutes: number; } export declare interface B2BSessionsAttestParameters { readonly profileId: string; readonly token: string; readonly organizationId?: Nullable; readonly sessionDurationMinutes?: Nullable; } export declare interface B2BSessionsAuthenticateParameters { readonly sessionDurationMinutes?: Nullable; } export declare interface B2BSessionsExchangeParameters { readonly organizationId: string; readonly sessionDurationMinutes: number; readonly locale?: Nullable; } export declare interface B2BTOTPsAuthenticateParameters { readonly organizationId: string; readonly memberId: string; readonly code: string; readonly sessionDurationMinutes: number; readonly setMfaEnrollment?: Nullable; readonly setDefaultMfa?: Nullable; } export declare interface B2BTOTPsCreateParameters { readonly organizationId: string; readonly memberId: string; readonly expirationMinutes?: Nullable; } export declare interface B2BUpdateExternalConnectionParameters { readonly displayName: string; readonly externalConnectionImplicitRoleAssignments?: Nullable>; readonly externalGroupImplicitRoleAssignments?: Nullable>; } export declare interface B2BUpdateOIDCConnectionParameters { readonly displayName?: Nullable; readonly clientId?: Nullable; readonly clientSecret?: Nullable; readonly issuer?: Nullable; readonly authorizationUrl?: Nullable; readonly tokenUrl?: Nullable; readonly userinfoUrl?: Nullable; readonly jwksUrl?: Nullable; readonly identityProvider?: Nullable; readonly customScopes?: Nullable; readonly attributeMapping?: Nullable>>; } export declare interface B2BUpdateSAMLConnectionByURLParameters { readonly metadataUrl: string; } export declare interface B2BUpdateSAMLConnectionParameters { readonly idpEntityId?: Nullable; readonly displayName?: Nullable; readonly attributeMapping?: Nullable>>; readonly x509Certificate?: Nullable; readonly idpSsoUrl?: Nullable; readonly samlConnectionImplicitRoleAssignments?: Nullable>; readonly samlGroupImplicitRoleAssignments?: Nullable>; readonly alternativeAudienceUri?: Nullable; readonly identityProvider?: Nullable; readonly signingPrivateKey?: Nullable; readonly allowGatewayCallback?: Nullable; } export declare interface BiometricsAuthenticateParameters { readonly sessionDurationMinutes: number; } export declare interface BiometricsAuthenticateStartParameters { } export declare interface BiometricsRegisterParameters { readonly sessionDurationMinutes: number; } export declare interface BiometricsRegisterStartParameters { } export declare interface CryptoWalletsAuthenticateParameters { readonly cryptoWalletAddress: string; readonly cryptoWalletType: string; readonly sessionDurationMinutes: number; } export declare interface CryptoWalletsAuthenticateStartSecondaryParameters { readonly cryptoWalletType: string; readonly cryptoWalletAddress: string; readonly siweParams?: Nullable; } export declare interface ExternalB2BOAuthAuthorizeStartParameters { readonly clientId: string; readonly redirectUri: string; readonly responseType: string; readonly scopes: KtList; readonly prompt?: Nullable; } export declare interface ExternalB2BOAuthAuthorizeSubmitParameters { readonly clientId: string; readonly redirectUri: string; readonly responseType: string; readonly scopes: KtList; readonly consentGranted: boolean; readonly state?: Nullable; readonly nonce?: Nullable; readonly prompt?: Nullable; } export declare interface ExternalOAuthAuthorizeStartParameters { readonly clientId: string; readonly redirectUri: string; readonly responseType: string; readonly scopes: KtList; readonly prompt?: Nullable; } export declare interface ExternalOAuthAuthorizeSubmitParameters { readonly clientId: string; readonly redirectUri: string; readonly responseType: string; readonly scopes: KtList; readonly consentGranted: boolean; readonly state?: Nullable; readonly nonce?: Nullable; readonly prompt?: Nullable; readonly resources?: Nullable>; } export declare interface ImpersonationTokenAuthenticateParameters { readonly impersonationToken: string; } export declare interface MagicLinksAuthenticateParameters { readonly token: string; readonly sessionDurationMinutes: number; } export declare interface MagicLinksEmailLoginOrCreateParameters { readonly email: string; readonly loginMagicLinkUrl?: Nullable; readonly signupMagicLinkUrl?: Nullable; readonly loginExpirationMinutes?: Nullable; readonly signupExpirationMinutes?: Nullable; readonly loginTemplateId?: Nullable; readonly signupTemplateId?: Nullable; readonly locale?: Nullable; } export declare interface MagicLinksEmailSendSecondaryParameters { readonly email: string; readonly loginMagicLinkUrl?: Nullable; readonly signupMagicLinkUrl?: Nullable; readonly loginExpirationMinutes?: Nullable; readonly signupExpirationMinutes?: Nullable; readonly loginTemplateId?: Nullable; readonly signupTemplateId?: Nullable; readonly locale?: Nullable; } export declare interface MemberSearchByEmailParameters { readonly organizationId: string; readonly emailAddress: string; } export declare interface OAuthAppleIDTokenAuthenticateParameters { readonly idToken: string; readonly sessionDurationMinutes: number; readonly name?: Nullable; readonly nonce?: Nullable; readonly oauthAttachToken?: Nullable; } export declare interface OAuthAttachParameters { readonly provider: string; } export declare interface OAuthAuthenticateParameters { readonly token: string; readonly sessionDurationMinutes: number; } export declare interface OAuthAuthorizeParameters { readonly clientId: string; readonly redirectUri: string; readonly responseType: string; readonly scope: string; readonly state?: Nullable; readonly nonce?: Nullable; readonly consentGranted?: Nullable; readonly prompt?: Nullable; readonly resources?: Nullable>; } export declare interface OAuthAuthorizeStartParameters { readonly clientId: string; readonly redirectUri: string; readonly responseType: string; readonly scope: string; readonly prompt?: Nullable; } export declare interface OAuthGoogleIDTokenAuthenticateParameters { readonly idToken: string; readonly sessionDurationMinutes: number; readonly nonce?: Nullable; readonly oauthAttachToken?: Nullable; } export declare interface OIDCLogoutParameters { readonly clientId: string; readonly postLogoutRedirectUri: string; readonly state: string; readonly idTokenHint?: Nullable; } export declare interface OTPsAuthenticateParameters { readonly token: string; readonly methodId: string; readonly sessionDurationMinutes: number; } export declare interface OTPsEmailLoginOrCreateParameters { readonly email: string; readonly expirationMinutes?: Nullable; readonly signupTemplateId?: Nullable; readonly loginTemplateId?: Nullable; readonly locale?: Nullable; } export declare interface OTPsEmailSendSecondaryParameters { readonly email: string; readonly expirationMinutes?: Nullable; readonly signupTemplateId?: Nullable; readonly loginTemplateId?: Nullable; readonly locale?: Nullable; } export declare interface OTPsSMSLoginOrCreateParameters { readonly phoneNumber: string; readonly expirationMinutes?: Nullable; readonly locale?: Nullable; readonly enableAutofill?: Nullable; } export declare interface OTPsSMSSendSecondaryParameters { readonly phoneNumber: string; readonly expirationMinutes?: Nullable; readonly locale?: Nullable; readonly enableAutofill?: Nullable; } export declare interface OTPsWhatsAppLoginOrCreateParameters { readonly phoneNumber: string; readonly expirationMinutes?: Nullable; readonly locale?: Nullable; } export declare interface OTPsWhatsAppSendSecondaryParameters { readonly phoneNumber: string; readonly expirationMinutes?: Nullable; readonly locale?: Nullable; } export declare interface OrgSearchBySlugParameters { readonly organizationSlug: string; } export declare interface OrganizationsAdminMemberStartEmailUpdateParameters { readonly emailAddress: string; readonly loginRedirectUrl?: Nullable; readonly locale?: Nullable; readonly loginTemplateId?: Nullable; readonly deliveryMethod?: Nullable; } export declare interface OrganizationsAdminMemberUnlinkRetiredEmailParameters { readonly emailId?: Nullable; readonly emailAddress?: Nullable; } export declare interface OrganizationsAdminMemberUpdateParameters { readonly preserveExistingSessions: boolean; readonly name?: Nullable; readonly mfaEnrolled?: Nullable; readonly mfaPhoneNumber?: Nullable; readonly untrustedMetadata?: Nullable>>; readonly isBreakglass?: Nullable; readonly roles?: Nullable>; readonly defaultMfaMethod?: Nullable; readonly emailAddress?: Nullable; readonly unlinkEmail?: Nullable; } export declare interface OrganizationsMemberCreateParameters { readonly emailAddress: string; readonly isBreakglass: boolean; readonly createMemberAsPending: boolean; readonly roles: KtList; readonly name?: Nullable; readonly mfaEnrolled?: Nullable; readonly mfaPhoneNumber?: Nullable; readonly untrustedMetadata?: Nullable>>; } export declare interface OrganizationsMemberSearchParameters { readonly cursor: string; readonly limit?: Nullable; readonly query?: Nullable; } export declare interface OrganizationsMemberStartEmailUpdateParameters { readonly emailAddress: string; readonly loginRedirectUrl?: Nullable; readonly locale?: Nullable; readonly loginTemplateId?: Nullable; readonly deliveryMethod?: Nullable; } export declare interface OrganizationsMemberUnlinkRetiredEmailParameters { readonly emailId?: Nullable; readonly emailAddress?: Nullable; } export declare interface OrganizationsMemberUpdateParameters { readonly name?: Nullable; readonly mfaEnrolled?: Nullable; readonly mfaPhoneNumber?: Nullable; readonly untrustedMetadata?: Nullable>>; readonly defaultMfaMethod?: Nullable; } export declare interface PasswordsAuthenticateParameters { readonly email: string; readonly password: string; readonly sessionDurationMinutes: number; } export declare interface PasswordsCreateParameters { readonly email: string; readonly password: string; readonly sessionDurationMinutes: number; } export declare interface PasswordsEmailResetParameters { readonly token: string; readonly password: string; readonly sessionDurationMinutes: number; } export declare interface PasswordsEmailResetStartParameters { readonly email: string; readonly loginRedirectUrl?: Nullable; readonly resetPasswordRedirectUrl?: Nullable; readonly resetPasswordExpirationMinutes?: Nullable; readonly resetPasswordTemplateId?: Nullable; } export declare interface PasswordsExistingPasswordResetParameters { readonly email: string; readonly existingPassword: string; readonly newPassword: string; readonly sessionDurationMinutes?: Nullable; } export declare interface PasswordsSessionResetParameters { readonly password: string; readonly sessionDurationMinutes?: Nullable; } export declare interface PasswordsStrengthCheckParameters { readonly password: string; readonly email?: Nullable; } export declare interface SCIMRotateTokenCancelParameters { readonly connectionId: string; } export declare interface SCIMRotateTokenCompleteParameters { readonly connectionId: string; } export declare interface SCIMRotateTokenStartParameters { readonly connectionId: string; } export declare interface SessionsAccessTokenExchangeParameters { readonly accessToken: string; readonly sessionDurationMinutes: number; } export declare interface SessionsAttestParameters { readonly profileId: string; readonly token: string; readonly sessionDurationMinutes?: Nullable; } export declare interface SessionsAuthenticateParameters { readonly sessionDurationMinutes?: Nullable; } export declare interface TOTPsAuthenticateParameters { readonly totpCode: string; readonly sessionDurationMinutes: number; } export declare interface TOTPsCreateParameters { readonly expirationMinutes?: Nullable; } export declare interface TOTPsRecoverParameters { readonly recoveryCode: string; readonly sessionDurationMinutes: number; } export declare interface UpdateMeParameters { readonly name?: Nullable; readonly emails?: Nullable>; readonly phoneNumbers?: Nullable>; readonly cryptoWallets?: Nullable>; readonly trustedMetadata?: Nullable>>; readonly untrustedMetadata?: Nullable>>; } export declare interface UserSearchByEmailParameters { readonly email: string; } export declare interface WebAuthnAuthenticateParameters { readonly publicKeyCredential: string; readonly sessionDurationMinutes?: Nullable; } export declare interface WebAuthnAuthenticateStartSecondaryParameters { readonly domain: string; } export declare interface WebAuthnRegisterParameters { readonly publicKeyCredential: string; readonly sessionDurationMinutes?: Nullable; } export declare interface WebAuthnRegisterStartParameters { readonly domain: string; readonly overrideId?: Nullable; readonly overrideName?: Nullable; readonly overrideDisplayName?: Nullable; } export declare interface WebAuthnUpdateParameters { readonly name: string; } /** * @param connectionId * @param displayName * @param identityProvider */ export declare class ActiveSSOConnection { constructor(connectionId: string, displayName: string, identityProvider: string); get connectionId(): string; get displayName(): string; get identityProvider(): string; copy(connectionId?: string, displayName?: string, identityProvider?: string): ActiveSSOConnection; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ActiveSSOConnection { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ActiveSSOConnection; } } /** * @param ipAddress * @param userAgent */ export declare class ApiAttributeV1Attributes { constructor(ipAddress?: Nullable, userAgent?: Nullable); get ipAddress(): Nullable; get userAgent(): Nullable; copy(ipAddress?: Nullable, userAgent?: Nullable): ApiAttributeV1Attributes; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiAttributeV1Attributes { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiAttributeV1Attributes; } } /** * @param scope * @param description * @param isGrantable */ export declare class ApiB2bIdpV1ScopeResult { constructor(scope: string, description: string, isGrantable: boolean); get scope(): string; get description(): string; get isGrantable(): boolean; copy(scope?: string, description?: string, isGrantable?: boolean): ApiB2bIdpV1ScopeResult; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiB2bIdpV1ScopeResult { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiB2bIdpV1ScopeResult; } } /** * @param mfaPhoneNumber * @param totpRegistrationId */ export declare class ApiB2bMfaV1MemberOptions { constructor(mfaPhoneNumber: string, totpRegistrationId: string); get mfaPhoneNumber(): string; get totpRegistrationId(): string; copy(mfaPhoneNumber?: string, totpRegistrationId?: string): ApiB2bMfaV1MemberOptions; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiB2bMfaV1MemberOptions { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiB2bMfaV1MemberOptions; } } /** * @param memberOptions * @param secondaryAuthInitiated */ export declare class ApiB2bMfaV1MfaRequired { constructor(memberOptions?: Nullable, secondaryAuthInitiated?: Nullable); get memberOptions(): Nullable; get secondaryAuthInitiated(): Nullable; copy(memberOptions?: Nullable, secondaryAuthInitiated?: Nullable): ApiB2bMfaV1MfaRequired; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiB2bMfaV1MfaRequired { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiB2bMfaV1MfaRequired; } } /** * @param scopes * @param accessToken * @param refreshToken * @param expiresAt * @param idToken */ export declare class ApiB2bOauthV1ProviderValues { constructor(scopes: KtList, accessToken?: Nullable, refreshToken?: Nullable, expiresAt?: Nullable/* Nullable */, idToken?: Nullable); get scopes(): KtList; get accessToken(): Nullable; get refreshToken(): Nullable; get expiresAt(): Nullable/* Nullable */; get idToken(): Nullable; copy(scopes?: KtList, accessToken?: Nullable, refreshToken?: Nullable, expiresAt?: Nullable/* Nullable */, idToken?: Nullable): ApiB2bOauthV1ProviderValues; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiB2bOauthV1ProviderValues { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiB2bOauthV1ProviderValues; } } /** * @param hasLowerCase * @param hasUpperCase * @param hasDigit * @param hasSymbol * @param missingComplexity * @param missingCharacters */ export declare class ApiB2bPasswordV1LudsFeedback { constructor(hasLowerCase: boolean, hasUpperCase: boolean, hasDigit: boolean, hasSymbol: boolean, missingComplexity: number, missingCharacters: number); get hasLowerCase(): boolean; get hasUpperCase(): boolean; get hasDigit(): boolean; get hasSymbol(): boolean; get missingComplexity(): number; get missingCharacters(): number; copy(hasLowerCase?: boolean, hasUpperCase?: boolean, hasDigit?: boolean, hasSymbol?: boolean, missingComplexity?: number, missingCharacters?: number): ApiB2bPasswordV1LudsFeedback; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiB2bPasswordV1LudsFeedback { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiB2bPasswordV1LudsFeedback; } } /** * @param warning * @param suggestions */ export declare class ApiB2bPasswordV1ZxcvbnFeedback { constructor(warning: string, suggestions: KtList); get warning(): string; get suggestions(): KtList; copy(warning?: string, suggestions?: KtList): ApiB2bPasswordV1ZxcvbnFeedback; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiB2bPasswordV1ZxcvbnFeedback { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiB2bPasswordV1ZxcvbnFeedback; } } /** * @param roles * @param resources * @param scopes */ export declare class ApiB2bRbacV1Policy { constructor(roles: KtList, resources: KtList, scopes: KtList); get roles(): KtList; get resources(): KtList; get scopes(): KtList; copy(roles?: KtList, resources?: KtList, scopes?: KtList): ApiB2bRbacV1Policy; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiB2bRbacV1Policy { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiB2bRbacV1Policy; } } /** * @param resourceId * @param description * @param actions */ export declare class ApiB2bRbacV1PolicyResource { constructor(resourceId: string, description: string, actions: KtList); get resourceId(): string; get description(): string; get actions(): KtList; copy(resourceId?: string, description?: string, actions?: KtList): ApiB2bRbacV1PolicyResource; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiB2bRbacV1PolicyResource { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiB2bRbacV1PolicyResource; } } /** * @param roleId * @param description * @param permissions */ export declare class ApiB2bRbacV1PolicyRole { constructor(roleId: string, description: string, permissions: KtList); get roleId(): string; get description(): string; get permissions(): KtList; copy(roleId?: string, description?: string, permissions?: KtList): ApiB2bRbacV1PolicyRole; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiB2bRbacV1PolicyRole { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiB2bRbacV1PolicyRole; } } /** * @param resourceId * @param actions */ export declare class ApiB2bRbacV1PolicyRolePermission { constructor(resourceId: string, actions: KtList); get resourceId(): string; get actions(): KtList; copy(resourceId?: string, actions?: KtList): ApiB2bRbacV1PolicyRolePermission; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiB2bRbacV1PolicyRolePermission { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiB2bRbacV1PolicyRolePermission; } } /** * @param scope * @param description * @param permissions */ export declare class ApiB2bRbacV1PolicyScope { constructor(scope: string, description: string, permissions: KtList); get scope(): string; get description(): string; get permissions(): KtList; copy(scope?: string, description?: string, permissions?: KtList): ApiB2bRbacV1PolicyScope; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiB2bRbacV1PolicyScope { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiB2bRbacV1PolicyScope; } } /** * @param resourceId * @param actions */ export declare class ApiB2bRbacV1PolicyScopePermission { constructor(resourceId: string, actions: KtList); get resourceId(): string; get actions(): KtList; copy(resourceId?: string, actions?: KtList): ApiB2bRbacV1PolicyScopePermission; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiB2bRbacV1PolicyScopePermission { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiB2bRbacV1PolicyScopePermission; } } /** * @param formatted * @param streetAddress * @param locality * @param region * @param postalCode * @param country * @param type * @param primary */ export declare class ApiB2bScimV1Address { constructor(formatted: string, streetAddress: string, locality: string, region: string, postalCode: string, country: string, type: string, primary: boolean); get formatted(): string; get streetAddress(): string; get locality(): string; get region(): string; get postalCode(): string; get country(): string; get type(): string; get primary(): boolean; copy(formatted?: string, streetAddress?: string, locality?: string, region?: string, postalCode?: string, country?: string, type?: string, primary?: boolean): ApiB2bScimV1Address; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiB2bScimV1Address { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiB2bScimV1Address; } } /** * @param `value` * @param type * @param primary */ export declare class ApiB2bScimV1Email { constructor(value: string, type: string, primary: boolean); get value(): string; get type(): string; get primary(): boolean; copy(value?: string, type?: string, primary?: boolean): ApiB2bScimV1Email; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiB2bScimV1Email { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiB2bScimV1Email; } } /** * @param employeeNumber * @param costCenter * @param division * @param department * @param organization * @param manager */ export declare class ApiB2bScimV1EnterpriseExtension { constructor(employeeNumber: string, costCenter: string, division: string, department: string, organization: string, manager?: Nullable); get employeeNumber(): string; get costCenter(): string; get division(): string; get department(): string; get organization(): string; get manager(): Nullable; copy(employeeNumber?: string, costCenter?: string, division?: string, department?: string, organization?: string, manager?: Nullable): ApiB2bScimV1EnterpriseExtension; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiB2bScimV1EnterpriseExtension { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiB2bScimV1EnterpriseExtension; } } /** * @param `value` * @param type * @param primary */ export declare class ApiB2bScimV1Entitlement { constructor(value: string, type: string, primary: boolean); get value(): string; get type(): string; get primary(): boolean; copy(value?: string, type?: string, primary?: boolean): ApiB2bScimV1Entitlement; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiB2bScimV1Entitlement { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiB2bScimV1Entitlement; } } /** * @param `value` * @param display */ export declare class ApiB2bScimV1Group { constructor(value: string, display: string); get value(): string; get display(): string; copy(value?: string, display?: string): ApiB2bScimV1Group; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiB2bScimV1Group { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiB2bScimV1Group; } } /** * @param `value` * @param type * @param primary */ export declare class ApiB2bScimV1IMs { constructor(value: string, type: string, primary: boolean); get value(): string; get type(): string; get primary(): boolean; copy(value?: string, type?: string, primary?: boolean): ApiB2bScimV1IMs; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiB2bScimV1IMs { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiB2bScimV1IMs; } } /** * @param `value` * @param ref * @param displayName */ export declare class ApiB2bScimV1Manager { constructor(value: string, ref: string, displayName: string); get value(): string; get ref(): string; get displayName(): string; copy(value?: string, ref?: string, displayName?: string): ApiB2bScimV1Manager; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiB2bScimV1Manager { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiB2bScimV1Manager; } } /** * @param formatted * @param familyName * @param givenName * @param middleName * @param honorificPrefix * @param honorificSuffix */ export declare class ApiB2bScimV1Name { constructor(formatted: string, familyName: string, givenName: string, middleName: string, honorificPrefix: string, honorificSuffix: string); get formatted(): string; get familyName(): string; get givenName(): string; get middleName(): string; get honorificPrefix(): string; get honorificSuffix(): string; copy(formatted?: string, familyName?: string, givenName?: string, middleName?: string, honorificPrefix?: string, honorificSuffix?: string): ApiB2bScimV1Name; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiB2bScimV1Name { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiB2bScimV1Name; } } /** * @param `value` * @param type * @param primary */ export declare class ApiB2bScimV1PhoneNumber { constructor(value: string, type: string, primary: boolean); get value(): string; get type(): string; get primary(): boolean; copy(value?: string, type?: string, primary?: boolean): ApiB2bScimV1PhoneNumber; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiB2bScimV1PhoneNumber { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiB2bScimV1PhoneNumber; } } /** * @param `value` * @param type * @param primary */ export declare class ApiB2bScimV1Photo { constructor(value: string, type: string, primary: boolean); get value(): string; get type(): string; get primary(): boolean; copy(value?: string, type?: string, primary?: boolean): ApiB2bScimV1Photo; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiB2bScimV1Photo { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiB2bScimV1Photo; } } /** * @param `value` * @param type * @param primary */ export declare class ApiB2bScimV1Role { constructor(value: string, type: string, primary: boolean); get value(): string; get type(): string; get primary(): boolean; copy(value?: string, type?: string, primary?: boolean): ApiB2bScimV1Role; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiB2bScimV1Role { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiB2bScimV1Role; } } /** * @param userName * @param id * @param externalId * @param active * @param groups * @param displayName * @param nickName * @param profileUrl * @param userType * @param title * @param preferredLanguage * @param locale * @param timezone * @param emails * @param phoneNumbers * @param addresses * @param ims * @param photos * @param entitlements * @param roles * @param x509certificates * @param name * @param enterpriseExtension */ export declare class ApiB2bScimV1SCIMAttributes { constructor(userName: string, id: string, externalId: string, active: boolean, groups: KtList, displayName: string, nickName: string, profileUrl: string, userType: string, title: string, preferredLanguage: string, locale: string, timezone: string, emails: KtList, phoneNumbers: KtList, addresses: KtList, ims: KtList, photos: KtList, entitlements: KtList, roles: KtList, x509certificates: KtList, name?: Nullable, enterpriseExtension?: Nullable); get userName(): string; get id(): string; get externalId(): string; get active(): boolean; get groups(): KtList; get displayName(): string; get nickName(): string; get profileUrl(): string; get userType(): string; get title(): string; get preferredLanguage(): string; get locale(): string; get timezone(): string; get emails(): KtList; get phoneNumbers(): KtList; get addresses(): KtList; get ims(): KtList; get photos(): KtList; get entitlements(): KtList; get roles(): KtList; get x509certificates(): KtList; get name(): Nullable; get enterpriseExtension(): Nullable; copy(userName?: string, id?: string, externalId?: string, active?: boolean, groups?: KtList, displayName?: string, nickName?: string, profileUrl?: string, userType?: string, title?: string, preferredLanguage?: string, locale?: string, timezone?: string, emails?: KtList, phoneNumbers?: KtList, addresses?: KtList, ims?: KtList, photos?: KtList, entitlements?: KtList, roles?: KtList, x509certificates?: KtList, name?: Nullable, enterpriseExtension?: Nullable): ApiB2bScimV1SCIMAttributes; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiB2bScimV1SCIMAttributes { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiB2bScimV1SCIMAttributes; } } /** * @param organizationId * @param connectionId * @param status * @param displayName * @param identityProvider * @param baseUrl * @param bearerTokenLastFour * @param scimGroupImplicitRoleAssignments * @param nextBearerTokenLastFour * @param bearerTokenExpiresAt * @param nextBearerTokenExpiresAt */ export declare class ApiB2bScimV1SCIMConnection { constructor(organizationId: string, connectionId: string, status: string, displayName: string, identityProvider: string, baseUrl: string, bearerTokenLastFour: string, scimGroupImplicitRoleAssignments: KtList, nextBearerTokenLastFour: string, bearerTokenExpiresAt?: Nullable/* Nullable */, nextBearerTokenExpiresAt?: Nullable/* Nullable */); get organizationId(): string; get connectionId(): string; get status(): string; get displayName(): string; get identityProvider(): string; get baseUrl(): string; get bearerTokenLastFour(): string; get scimGroupImplicitRoleAssignments(): KtList; get nextBearerTokenLastFour(): string; get bearerTokenExpiresAt(): Nullable/* Nullable */; get nextBearerTokenExpiresAt(): Nullable/* Nullable */; copy(organizationId?: string, connectionId?: string, status?: string, displayName?: string, identityProvider?: string, baseUrl?: string, bearerTokenLastFour?: string, scimGroupImplicitRoleAssignments?: KtList, nextBearerTokenLastFour?: string, bearerTokenExpiresAt?: Nullable/* Nullable */, nextBearerTokenExpiresAt?: Nullable/* Nullable */): ApiB2bScimV1SCIMConnection; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiB2bScimV1SCIMConnection { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiB2bScimV1SCIMConnection; } } /** * @param organizationId * @param connectionId * @param status * @param displayName * @param baseUrl * @param identityProvider * @param bearerTokenLastFour * @param nextBearerToken * @param scimGroupImplicitRoleAssignments * @param bearerTokenExpiresAt * @param nextBearerTokenExpiresAt */ export declare class ApiB2bScimV1SCIMConnectionWithNextToken { constructor(organizationId: string, connectionId: string, status: string, displayName: string, baseUrl: string, identityProvider: string, bearerTokenLastFour: string, nextBearerToken: string, scimGroupImplicitRoleAssignments: KtList, bearerTokenExpiresAt?: Nullable/* Nullable */, nextBearerTokenExpiresAt?: Nullable/* Nullable */); get organizationId(): string; get connectionId(): string; get status(): string; get displayName(): string; get baseUrl(): string; get identityProvider(): string; get bearerTokenLastFour(): string; get nextBearerToken(): string; get scimGroupImplicitRoleAssignments(): KtList; get bearerTokenExpiresAt(): Nullable/* Nullable */; get nextBearerTokenExpiresAt(): Nullable/* Nullable */; copy(organizationId?: string, connectionId?: string, status?: string, displayName?: string, baseUrl?: string, identityProvider?: string, bearerTokenLastFour?: string, nextBearerToken?: string, scimGroupImplicitRoleAssignments?: KtList, bearerTokenExpiresAt?: Nullable/* Nullable */, nextBearerTokenExpiresAt?: Nullable/* Nullable */): ApiB2bScimV1SCIMConnectionWithNextToken; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiB2bScimV1SCIMConnectionWithNextToken { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiB2bScimV1SCIMConnectionWithNextToken; } } /** * @param organizationId * @param connectionId * @param status * @param displayName * @param identityProvider * @param baseUrl * @param bearerToken * @param scimGroupImplicitRoleAssignments * @param bearerTokenExpiresAt */ export declare class ApiB2bScimV1SCIMConnectionWithToken { constructor(organizationId: string, connectionId: string, status: string, displayName: string, identityProvider: string, baseUrl: string, bearerToken: string, scimGroupImplicitRoleAssignments: KtList, bearerTokenExpiresAt?: Nullable/* Nullable */); get organizationId(): string; get connectionId(): string; get status(): string; get displayName(): string; get identityProvider(): string; get baseUrl(): string; get bearerToken(): string; get scimGroupImplicitRoleAssignments(): KtList; get bearerTokenExpiresAt(): Nullable/* Nullable */; copy(organizationId?: string, connectionId?: string, status?: string, displayName?: string, identityProvider?: string, baseUrl?: string, bearerToken?: string, scimGroupImplicitRoleAssignments?: KtList, bearerTokenExpiresAt?: Nullable/* Nullable */): ApiB2bScimV1SCIMConnectionWithToken; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiB2bScimV1SCIMConnectionWithToken { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiB2bScimV1SCIMConnectionWithToken; } } /** * @param groupId * @param groupName * @param organizationId * @param connectionId */ export declare class ApiB2bScimV1SCIMGroup { constructor(groupId: string, groupName: string, organizationId: string, connectionId: string); get groupId(): string; get groupName(): string; get organizationId(): string; get connectionId(): string; copy(groupId?: string, groupName?: string, organizationId?: string, connectionId?: string): ApiB2bScimV1SCIMGroup; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiB2bScimV1SCIMGroup { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiB2bScimV1SCIMGroup; } } /** * @param roleId * @param groupId * @param groupName */ export declare class ApiB2bScimV1SCIMGroupImplicitRoleAssignments { constructor(roleId: string, groupId: string, groupName: string); get roleId(): string; get groupId(): string; get groupName(): string; copy(roleId?: string, groupId?: string, groupName?: string): ApiB2bScimV1SCIMGroupImplicitRoleAssignments; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiB2bScimV1SCIMGroupImplicitRoleAssignments { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiB2bScimV1SCIMGroupImplicitRoleAssignments; } } /** * @param `value` * @param type * @param primary */ export declare class ApiB2bScimV1X509Certificate { constructor(value: string, type: string, primary: boolean); get value(): string; get type(): string; get primary(): boolean; copy(value?: string, type?: string, primary?: boolean): ApiB2bScimV1X509Certificate; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiB2bScimV1X509Certificate { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiB2bScimV1X509Certificate; } } /** * @param authorized * @param grantingRoles */ export declare class ApiB2bSessionV1AuthorizationVerdict { constructor(authorized: boolean, grantingRoles: KtList); get authorized(): boolean; get grantingRoles(): KtList; copy(authorized?: boolean, grantingRoles?: KtList): ApiB2bSessionV1AuthorizationVerdict; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiB2bSessionV1AuthorizationVerdict { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiB2bSessionV1AuthorizationVerdict; } } /** * @param memberSessionId * @param memberId * @param startedAt * @param lastAccessedAt * @param expiresAt * @param authenticationFactors * @param organizationId * @param roles * @param organizationSlug * @param customClaims */ export declare class ApiB2bSessionV1MemberSession { constructor(memberSessionId: string, memberId: string, startedAt: any/* Instant */, lastAccessedAt: any/* Instant */, expiresAt: any/* Instant */, authenticationFactors: KtList, organizationId: string, roles: KtList, organizationSlug: string, customClaims?: Nullable>); get memberSessionId(): string; get memberId(): string; get startedAt(): any/* Instant */; get lastAccessedAt(): any/* Instant */; get expiresAt(): any/* Instant */; get authenticationFactors(): KtList; get organizationId(): string; get roles(): KtList; get organizationSlug(): string; get customClaims(): Nullable>; copy(memberSessionId?: string, memberId?: string, startedAt?: any/* Instant */, lastAccessedAt?: any/* Instant */, expiresAt?: any/* Instant */, authenticationFactors?: KtList, organizationId?: string, roles?: KtList, organizationSlug?: string, customClaims?: Nullable>): ApiB2bSessionV1MemberSession; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiB2bSessionV1MemberSession { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiB2bSessionV1MemberSession; } } /** @param allowedAuthMethods */ export declare class ApiB2bSessionV1PrimaryRequired { constructor(allowedAuthMethods: KtList); get allowedAuthMethods(): KtList; copy(allowedAuthMethods?: KtList): ApiB2bSessionV1PrimaryRequired; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiB2bSessionV1PrimaryRequired { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiB2bSessionV1PrimaryRequired; } } /** * @param clientId * @param clientName * @param clientDescription * @param clientType * @param logoUrl */ export declare class ApiConnectedappsV1ConnectedAppPublic { constructor(clientId: string, clientName: string, clientDescription: string, clientType: string, logoUrl?: Nullable); get clientId(): string; get clientName(): string; get clientDescription(): string; get clientType(): string; get logoUrl(): Nullable; copy(clientId?: string, clientName?: string, clientDescription?: string, clientType?: string, logoUrl?: Nullable): ApiConnectedappsV1ConnectedAppPublic; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiConnectedappsV1ConnectedAppPublic { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiConnectedappsV1ConnectedAppPublic; } } /** * @param domain * @param uri * @param chainId * @param resources * @param statusCode * @param issuedAt * @param messageRequestId */ export declare class ApiCryptoWalletV1SIWEParamsResponse implements StytchAPIResponse { constructor(domain: string, uri: string, chainId: string, resources: KtList, statusCode: number, issuedAt?: Nullable/* Nullable */, messageRequestId?: Nullable); get domain(): string; get uri(): string; get chainId(): string; get resources(): KtList; get statusCode(): number; get issuedAt(): Nullable/* Nullable */; get messageRequestId(): Nullable; copy(domain?: string, uri?: string, chainId?: string, resources?: KtList, statusCode?: number, issuedAt?: Nullable/* Nullable */, messageRequestId?: Nullable): ApiCryptoWalletV1SIWEParamsResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace ApiCryptoWalletV1SIWEParamsResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiCryptoWalletV1SIWEParamsResponse; } } /** * @param isNew * @param firstSeenAt * @param lastSeenAt */ export declare class ApiDeviceHistoryV1DeviceAttributeDetails { constructor(isNew: boolean, firstSeenAt?: Nullable/* Nullable */, lastSeenAt?: Nullable/* Nullable */); get isNew(): boolean; get firstSeenAt(): Nullable/* Nullable */; get lastSeenAt(): Nullable/* Nullable */; copy(isNew?: boolean, firstSeenAt?: Nullable/* Nullable */, lastSeenAt?: Nullable/* Nullable */): ApiDeviceHistoryV1DeviceAttributeDetails; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiDeviceHistoryV1DeviceAttributeDetails { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiDeviceHistoryV1DeviceAttributeDetails; } } /** * @param memberAuthenticated * @param organization * @param membership * @param primaryRequired * @param mfaRequired */ export declare class ApiDiscoveryV1DiscoveredOrganization { constructor(memberAuthenticated: boolean, organization?: Nullable, membership?: Nullable, primaryRequired?: Nullable, mfaRequired?: Nullable); get memberAuthenticated(): boolean; get organization(): Nullable; get membership(): Nullable; get primaryRequired(): Nullable; get mfaRequired(): Nullable; copy(memberAuthenticated?: boolean, organization?: Nullable, membership?: Nullable, primaryRequired?: Nullable, mfaRequired?: Nullable): ApiDiscoveryV1DiscoveredOrganization; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiDiscoveryV1DiscoveredOrganization { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiDiscoveryV1DiscoveredOrganization; } } /** * @param type * @param details * @param member */ export declare class ApiDiscoveryV1Membership { constructor(type: string, details?: Nullable>, member?: Nullable); get type(): string; get details(): Nullable>; get member(): Nullable; copy(type?: string, details?: Nullable>, member?: Nullable): ApiDiscoveryV1Membership; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiDiscoveryV1Membership { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiDiscoveryV1Membership; } } /** * @param scope * @param description * @param isGrantable */ export declare class ApiIdpV1ScopeResult { constructor(scope: string, description: string, isGrantable: boolean); get scope(): string; get description(): string; get isGrantable(): boolean; copy(scope?: string, description?: string, isGrantable?: boolean): ApiIdpV1ScopeResult; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiIdpV1ScopeResult { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiIdpV1ScopeResult; } } /** * @param accessToken * @param refreshToken * @param idToken * @param scopes * @param expiresAt */ export declare class ApiOauthV1ProviderValues { constructor(accessToken: string, refreshToken: string, idToken: string, scopes: KtList, expiresAt?: Nullable/* Nullable */); get accessToken(): string; get refreshToken(): string; get idToken(): string; get scopes(): KtList; get expiresAt(): Nullable/* Nullable */; copy(accessToken?: string, refreshToken?: string, idToken?: string, scopes?: KtList, expiresAt?: Nullable/* Nullable */): ApiOauthV1ProviderValues; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiOauthV1ProviderValues { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiOauthV1ProviderValues; } } /** * @param connectionId * @param displayName * @param bearerTokenLastFour * @param bearerTokenExpiresAt */ export declare class ApiOrganizationV1ActiveSCIMConnection { constructor(connectionId: string, displayName: string, bearerTokenLastFour: string, bearerTokenExpiresAt?: Nullable/* Nullable */); get connectionId(): string; get displayName(): string; get bearerTokenLastFour(): string; get bearerTokenExpiresAt(): Nullable/* Nullable */; copy(connectionId?: string, displayName?: string, bearerTokenLastFour?: string, bearerTokenExpiresAt?: Nullable/* Nullable */): ApiOrganizationV1ActiveSCIMConnection; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiOrganizationV1ActiveSCIMConnection { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiOrganizationV1ActiveSCIMConnection; } } /** * @param connectionId * @param displayName * @param identityProvider */ export declare class ApiOrganizationV1ActiveSSOConnection { constructor(connectionId: string, displayName: string, identityProvider: string); get connectionId(): string; get displayName(): string; get identityProvider(): string; copy(connectionId?: string, displayName?: string, identityProvider?: string): ApiOrganizationV1ActiveSSOConnection; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiOrganizationV1ActiveSSOConnection { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiOrganizationV1ActiveSSOConnection; } } /** * @param roleId * @param description * @param permissions */ export declare class ApiOrganizationV1CustomRole { constructor(roleId: string, description: string, permissions: KtList); get roleId(): string; get description(): string; get permissions(): KtList; copy(roleId?: string, description?: string, permissions?: KtList): ApiOrganizationV1CustomRole; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiOrganizationV1CustomRole { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiOrganizationV1CustomRole; } } /** * @param resourceId * @param actions */ export declare class ApiOrganizationV1CustomRolePermission { constructor(resourceId: string, actions: KtList); get resourceId(): string; get actions(): KtList; copy(resourceId?: string, actions?: KtList): ApiOrganizationV1CustomRolePermission; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiOrganizationV1CustomRolePermission { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiOrganizationV1CustomRolePermission; } } /** * @param domain * @param roleId */ export declare class ApiOrganizationV1EmailImplicitRoleAssignment { constructor(domain: string, roleId: string); get domain(): string; get roleId(): string; copy(domain?: string, roleId?: string): ApiOrganizationV1EmailImplicitRoleAssignment; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiOrganizationV1EmailImplicitRoleAssignment { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiOrganizationV1EmailImplicitRoleAssignment; } } /** * @param `operator` * @param operands */ export declare class ApiOrganizationV1ExternalSearchQuery { constructor(operator: any/* ApiOrganizationV1ExternalSearchQueryOperator */, operands: KtList>); get operator(): any/* ApiOrganizationV1ExternalSearchQueryOperator */; get operands(): KtList>; copy(operator?: any/* ApiOrganizationV1ExternalSearchQueryOperator */, operands?: KtList>): ApiOrganizationV1ExternalSearchQuery; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiOrganizationV1ExternalSearchQuery { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiOrganizationV1ExternalSearchQuery; } } /** * @param organizationId * @param memberId * @param emailAddress * @param status * @param name * @param ssoRegistrations * @param isBreakglass * @param memberPasswordId * @param oauthRegistrations * @param emailAddressVerified * @param mfaPhoneNumberVerified * @param isAdmin * @param totpRegistrationId * @param retiredEmailAddresses * @param isLocked * @param mfaEnrolled * @param mfaPhoneNumber * @param defaultMfaMethod * @param roles * @param trustedMetadata * @param untrustedMetadata * @param createdAt * @param updatedAt * @param scimRegistration * @param externalId * @param lockCreatedAt * @param lockExpiresAt */ export declare class ApiOrganizationV1Member { constructor(organizationId: string, memberId: string, emailAddress: string, status: string, name: string, ssoRegistrations: KtList, isBreakglass: boolean, memberPasswordId: string, oauthRegistrations: KtList, emailAddressVerified: boolean, mfaPhoneNumberVerified: boolean, isAdmin: boolean, totpRegistrationId: string, retiredEmailAddresses: KtList, isLocked: boolean, mfaEnrolled: boolean, mfaPhoneNumber: string, defaultMfaMethod: string, roles: KtList, trustedMetadata?: Nullable>, untrustedMetadata?: Nullable>, createdAt?: Nullable/* Nullable */, updatedAt?: Nullable/* Nullable */, scimRegistration?: Nullable, externalId?: Nullable, lockCreatedAt?: Nullable/* Nullable */, lockExpiresAt?: Nullable/* Nullable */); get organizationId(): string; get memberId(): string; get emailAddress(): string; get status(): string; get name(): string; get ssoRegistrations(): KtList; get isBreakglass(): boolean; get memberPasswordId(): string; get oauthRegistrations(): KtList; get emailAddressVerified(): boolean; get mfaPhoneNumberVerified(): boolean; get isAdmin(): boolean; get totpRegistrationId(): string; get retiredEmailAddresses(): KtList; get isLocked(): boolean; get mfaEnrolled(): boolean; get mfaPhoneNumber(): string; get defaultMfaMethod(): string; get roles(): KtList; get trustedMetadata(): Nullable>; get untrustedMetadata(): Nullable>; get createdAt(): Nullable/* Nullable */; get updatedAt(): Nullable/* Nullable */; get scimRegistration(): Nullable; get externalId(): Nullable; get lockCreatedAt(): Nullable/* Nullable */; get lockExpiresAt(): Nullable/* Nullable */; copy(organizationId?: string, memberId?: string, emailAddress?: string, status?: string, name?: string, ssoRegistrations?: KtList, isBreakglass?: boolean, memberPasswordId?: string, oauthRegistrations?: KtList, emailAddressVerified?: boolean, mfaPhoneNumberVerified?: boolean, isAdmin?: boolean, totpRegistrationId?: string, retiredEmailAddresses?: KtList, isLocked?: boolean, mfaEnrolled?: boolean, mfaPhoneNumber?: string, defaultMfaMethod?: string, roles?: KtList, trustedMetadata?: Nullable>, untrustedMetadata?: Nullable>, createdAt?: Nullable/* Nullable */, updatedAt?: Nullable/* Nullable */, scimRegistration?: Nullable, externalId?: Nullable, lockCreatedAt?: Nullable/* Nullable */, lockExpiresAt?: Nullable/* Nullable */): ApiOrganizationV1Member; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiOrganizationV1Member { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiOrganizationV1Member; } } /** * @param connectedAppId * @param name * @param description * @param clientType * @param scopesGranted * @param logoUrl */ export declare class ApiOrganizationV1MemberConnectedApp { constructor(connectedAppId: string, name: string, description: string, clientType: string, scopesGranted: string, logoUrl?: Nullable); get connectedAppId(): string; get name(): string; get description(): string; get clientType(): string; get scopesGranted(): string; get logoUrl(): Nullable; copy(connectedAppId?: string, name?: string, description?: string, clientType?: string, scopesGranted?: string, logoUrl?: Nullable): ApiOrganizationV1MemberConnectedApp; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiOrganizationV1MemberConnectedApp { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiOrganizationV1MemberConnectedApp; } } /** * @param roleId * @param sources */ export declare class ApiOrganizationV1MemberRole { constructor(roleId: string, sources: KtList); get roleId(): string; get sources(): KtList; copy(roleId?: string, sources?: KtList): ApiOrganizationV1MemberRole; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiOrganizationV1MemberRole { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiOrganizationV1MemberRole; } } /** * @param type * @param details */ export declare class ApiOrganizationV1MemberRoleSource { constructor(type: string, details?: Nullable>); get type(): string; get details(): Nullable>; copy(type?: string, details?: Nullable>): ApiOrganizationV1MemberRoleSource; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiOrganizationV1MemberRoleSource { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiOrganizationV1MemberRoleSource; } } /** * @param providerType * @param providerSubject * @param memberOauthRegistrationId * @param profilePictureUrl * @param locale */ export declare class ApiOrganizationV1OAuthRegistration { constructor(providerType: string, providerSubject: string, memberOauthRegistrationId: string, profilePictureUrl?: Nullable, locale?: Nullable); get providerType(): string; get providerSubject(): string; get memberOauthRegistrationId(): string; get profilePictureUrl(): Nullable; get locale(): Nullable; copy(providerType?: string, providerSubject?: string, memberOauthRegistrationId?: string, profilePictureUrl?: Nullable, locale?: Nullable): ApiOrganizationV1OAuthRegistration; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiOrganizationV1OAuthRegistration { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiOrganizationV1OAuthRegistration; } } /** * @param organizationId * @param organizationName * @param organizationLogoUrl * @param organizationSlug * @param ssoJitProvisioning * @param ssoJitProvisioningAllowedConnections * @param ssoActiveConnections * @param emailAllowedDomains * @param emailJitProvisioning * @param emailInvites * @param authMethods * @param allowedAuthMethods * @param mfaPolicy * @param rbacEmailImplicitRoleAssignments * @param mfaMethods * @param allowedMfaMethods * @param oauthTenantJitProvisioning * @param claimedEmailDomains * @param firstPartyConnectedAppsAllowedType * @param allowedFirstPartyConnectedApps * @param thirdPartyConnectedAppsAllowedType * @param allowedThirdPartyConnectedApps * @param customRoles * @param trustedMetadata * @param createdAt * @param updatedAt * @param organizationExternalId * @param ssoDefaultConnectionId * @param scimActiveConnection * @param allowedOauthTenants */ export declare class ApiOrganizationV1Organization { constructor(organizationId: string, organizationName: string, organizationLogoUrl: string, organizationSlug: string, ssoJitProvisioning: string, ssoJitProvisioningAllowedConnections: KtList, ssoActiveConnections: KtList, emailAllowedDomains: KtList, emailJitProvisioning: string, emailInvites: string, authMethods: string, allowedAuthMethods: KtList, mfaPolicy: string, rbacEmailImplicitRoleAssignments: KtList, mfaMethods: string, allowedMfaMethods: KtList, oauthTenantJitProvisioning: string, claimedEmailDomains: KtList, firstPartyConnectedAppsAllowedType: string, allowedFirstPartyConnectedApps: KtList, thirdPartyConnectedAppsAllowedType: string, allowedThirdPartyConnectedApps: KtList, customRoles: KtList, trustedMetadata?: Nullable>, createdAt?: Nullable/* Nullable */, updatedAt?: Nullable/* Nullable */, organizationExternalId?: Nullable, ssoDefaultConnectionId?: Nullable, scimActiveConnection?: Nullable, allowedOauthTenants?: Nullable>); get organizationId(): string; get organizationName(): string; get organizationLogoUrl(): string; get organizationSlug(): string; get ssoJitProvisioning(): string; get ssoJitProvisioningAllowedConnections(): KtList; get ssoActiveConnections(): KtList; get emailAllowedDomains(): KtList; get emailJitProvisioning(): string; get emailInvites(): string; get authMethods(): string; get allowedAuthMethods(): KtList; get mfaPolicy(): string; get rbacEmailImplicitRoleAssignments(): KtList; get mfaMethods(): string; get allowedMfaMethods(): KtList; get oauthTenantJitProvisioning(): string; get claimedEmailDomains(): KtList; get firstPartyConnectedAppsAllowedType(): string; get allowedFirstPartyConnectedApps(): KtList; get thirdPartyConnectedAppsAllowedType(): string; get allowedThirdPartyConnectedApps(): KtList; get customRoles(): KtList; get trustedMetadata(): Nullable>; get createdAt(): Nullable/* Nullable */; get updatedAt(): Nullable/* Nullable */; get organizationExternalId(): Nullable; get ssoDefaultConnectionId(): Nullable; get scimActiveConnection(): Nullable; get allowedOauthTenants(): Nullable>; copy(organizationId?: string, organizationName?: string, organizationLogoUrl?: string, organizationSlug?: string, ssoJitProvisioning?: string, ssoJitProvisioningAllowedConnections?: KtList, ssoActiveConnections?: KtList, emailAllowedDomains?: KtList, emailJitProvisioning?: string, emailInvites?: string, authMethods?: string, allowedAuthMethods?: KtList, mfaPolicy?: string, rbacEmailImplicitRoleAssignments?: KtList, mfaMethods?: string, allowedMfaMethods?: KtList, oauthTenantJitProvisioning?: string, claimedEmailDomains?: KtList, firstPartyConnectedAppsAllowedType?: string, allowedFirstPartyConnectedApps?: KtList, thirdPartyConnectedAppsAllowedType?: string, allowedThirdPartyConnectedApps?: KtList, customRoles?: KtList, trustedMetadata?: Nullable>, createdAt?: Nullable/* Nullable */, updatedAt?: Nullable/* Nullable */, organizationExternalId?: Nullable, ssoDefaultConnectionId?: Nullable, scimActiveConnection?: Nullable, allowedOauthTenants?: Nullable>): ApiOrganizationV1Organization; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiOrganizationV1Organization { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiOrganizationV1Organization; } } /** * @param connectedAppId * @param name * @param description * @param clientType * @param logoUrl */ export declare class ApiOrganizationV1OrganizationConnectedApp { constructor(connectedAppId: string, name: string, description: string, clientType: string, logoUrl?: Nullable); get connectedAppId(): string; get name(): string; get description(): string; get clientType(): string; get logoUrl(): Nullable; copy(connectedAppId?: string, name?: string, description?: string, clientType?: string, logoUrl?: Nullable): ApiOrganizationV1OrganizationConnectedApp; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiOrganizationV1OrganizationConnectedApp { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiOrganizationV1OrganizationConnectedApp; } } /** * @param memberId * @param grantedScopes */ export declare class ApiOrganizationV1OrganizationConnectedAppActiveMember { constructor(memberId: string, grantedScopes: KtList); get memberId(): string; get grantedScopes(): KtList; copy(memberId?: string, grantedScopes?: KtList): ApiOrganizationV1OrganizationConnectedAppActiveMember; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiOrganizationV1OrganizationConnectedAppActiveMember { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiOrganizationV1OrganizationConnectedAppActiveMember; } } /** * @param total * @param nextCursor */ export declare class ApiOrganizationV1ResultsMetadata { constructor(total: number, nextCursor?: Nullable); get total(): number; get nextCursor(): Nullable; copy(total?: number, nextCursor?: Nullable): ApiOrganizationV1ResultsMetadata; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiOrganizationV1ResultsMetadata { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiOrganizationV1ResultsMetadata; } } /** * @param emailId * @param emailAddress */ export declare class ApiOrganizationV1RetiredEmail { constructor(emailId: string, emailAddress: string); get emailId(): string; get emailAddress(): string; copy(emailId?: string, emailAddress?: string): ApiOrganizationV1RetiredEmail; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiOrganizationV1RetiredEmail { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiOrganizationV1RetiredEmail; } } /** * @param connectionId * @param registrationId * @param externalId * @param scimAttributes */ export declare class ApiOrganizationV1SCIMRegistration { constructor(connectionId: string, registrationId: string, externalId?: Nullable, scimAttributes?: Nullable); get connectionId(): string; get registrationId(): string; get externalId(): Nullable; get scimAttributes(): Nullable; copy(connectionId?: string, registrationId?: string, externalId?: Nullable, scimAttributes?: Nullable): ApiOrganizationV1SCIMRegistration; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiOrganizationV1SCIMRegistration { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiOrganizationV1SCIMRegistration; } } /** * @param connectionId * @param externalId * @param registrationId * @param ssoAttributes */ export declare class ApiOrganizationV1SSORegistration { constructor(connectionId: string, externalId: string, registrationId: string, ssoAttributes?: Nullable>); get connectionId(): string; get externalId(): string; get registrationId(): string; get ssoAttributes(): Nullable>; copy(connectionId?: string, externalId?: string, registrationId?: string, ssoAttributes?: Nullable>): ApiOrganizationV1SSORegistration; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiOrganizationV1SSORegistration { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiOrganizationV1SSORegistration; } } /** * @param warning * @param suggestions * @param ludsRequirements */ export declare class ApiPasswordV1Feedback { constructor(warning: string, suggestions: KtList, ludsRequirements?: Nullable); get warning(): string; get suggestions(): KtList; get ludsRequirements(): Nullable; copy(warning?: string, suggestions?: KtList, ludsRequirements?: Nullable): ApiPasswordV1Feedback; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiPasswordV1Feedback { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiPasswordV1Feedback; } } /** * @param hasLowerCase * @param hasUpperCase * @param hasDigit * @param hasSymbol * @param missingComplexity * @param missingCharacters */ export declare class ApiPasswordV1LUDSRequirements { constructor(hasLowerCase: boolean, hasUpperCase: boolean, hasDigit: boolean, hasSymbol: boolean, missingComplexity: number, missingCharacters: number); get hasLowerCase(): boolean; get hasUpperCase(): boolean; get hasDigit(): boolean; get hasSymbol(): boolean; get missingComplexity(): number; get missingCharacters(): number; copy(hasLowerCase?: boolean, hasUpperCase?: boolean, hasDigit?: boolean, hasSymbol?: boolean, missingComplexity?: number, missingCharacters?: number): ApiPasswordV1LUDSRequirements; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiPasswordV1LUDSRequirements { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiPasswordV1LUDSRequirements; } } /** * @param id * @param providerSubject * @param emailId */ export declare class ApiSessionV1AmazonOAuthFactor { constructor(id: string, providerSubject: string, emailId?: Nullable); get id(): string; get providerSubject(): string; get emailId(): Nullable; copy(id?: string, providerSubject?: string, emailId?: Nullable): ApiSessionV1AmazonOAuthFactor; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSessionV1AmazonOAuthFactor { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSessionV1AmazonOAuthFactor; } } /** * @param id * @param providerSubject * @param emailId */ export declare class ApiSessionV1AppleOAuthFactor { constructor(id: string, providerSubject: string, emailId?: Nullable); get id(): string; get providerSubject(): string; get emailId(): Nullable; copy(id?: string, providerSubject?: string, emailId?: Nullable): ApiSessionV1AppleOAuthFactor; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSessionV1AppleOAuthFactor { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSessionV1AppleOAuthFactor; } } /** * @param type * @param deliveryMethod * @param lastAuthenticatedAt * @param createdAt * @param updatedAt * @param emailFactor * @param phoneNumberFactor * @param googleOauthFactor * @param microsoftOauthFactor * @param appleOauthFactor * @param webauthnFactor * @param authenticatorAppFactor * @param githubOauthFactor * @param recoveryCodeFactor * @param facebookOauthFactor * @param cryptoWalletFactor * @param amazonOauthFactor * @param bitbucketOauthFactor * @param coinbaseOauthFactor * @param discordOauthFactor * @param figmaOauthFactor * @param gitLabOauthFactor * @param instagramOauthFactor * @param linkedInOauthFactor * @param shopifyOauthFactor * @param slackOauthFactor * @param snapchatOauthFactor * @param spotifyOauthFactor * @param steamOauthFactor * @param tikTokOauthFactor * @param twitchOauthFactor * @param twitterOauthFactor * @param embeddableMagicLinkFactor * @param biometricFactor * @param samlSsoFactor * @param oidcSsoFactor * @param salesforceOauthFactor * @param yahooOauthFactor * @param hubspotOauthFactor * @param slackOauthExchangeFactor * @param hubspotOauthExchangeFactor * @param githubOauthExchangeFactor * @param googleOauthExchangeFactor * @param impersonatedFactor * @param oauthAccessTokenExchangeFactor * @param trustedAuthTokenFactor */ export declare class ApiSessionV1AuthenticationFactor { constructor(type: any/* ApiSessionV1AuthenticationFactorType */, deliveryMethod: any/* ApiSessionV1AuthenticationFactorDeliveryMethod */, lastAuthenticatedAt?: Nullable/* Nullable */, createdAt?: Nullable/* Nullable */, updatedAt?: Nullable/* Nullable */, emailFactor?: Nullable, phoneNumberFactor?: Nullable, googleOauthFactor?: Nullable, microsoftOauthFactor?: Nullable, appleOauthFactor?: Nullable, webauthnFactor?: Nullable, authenticatorAppFactor?: Nullable, githubOauthFactor?: Nullable, recoveryCodeFactor?: Nullable, facebookOauthFactor?: Nullable, cryptoWalletFactor?: Nullable, amazonOauthFactor?: Nullable, bitbucketOauthFactor?: Nullable, coinbaseOauthFactor?: Nullable, discordOauthFactor?: Nullable, figmaOauthFactor?: Nullable, gitLabOauthFactor?: Nullable, instagramOauthFactor?: Nullable, linkedInOauthFactor?: Nullable, shopifyOauthFactor?: Nullable, slackOauthFactor?: Nullable, snapchatOauthFactor?: Nullable, spotifyOauthFactor?: Nullable, steamOauthFactor?: Nullable, tikTokOauthFactor?: Nullable, twitchOauthFactor?: Nullable, twitterOauthFactor?: Nullable, embeddableMagicLinkFactor?: Nullable, biometricFactor?: Nullable, samlSsoFactor?: Nullable, oidcSsoFactor?: Nullable, salesforceOauthFactor?: Nullable, yahooOauthFactor?: Nullable, hubspotOauthFactor?: Nullable, slackOauthExchangeFactor?: Nullable, hubspotOauthExchangeFactor?: Nullable, githubOauthExchangeFactor?: Nullable, googleOauthExchangeFactor?: Nullable, impersonatedFactor?: Nullable, oauthAccessTokenExchangeFactor?: Nullable, trustedAuthTokenFactor?: Nullable); get type(): any/* ApiSessionV1AuthenticationFactorType */; get deliveryMethod(): any/* ApiSessionV1AuthenticationFactorDeliveryMethod */; get lastAuthenticatedAt(): Nullable/* Nullable */; get createdAt(): Nullable/* Nullable */; get updatedAt(): Nullable/* Nullable */; get emailFactor(): Nullable; get phoneNumberFactor(): Nullable; get googleOauthFactor(): Nullable; get microsoftOauthFactor(): Nullable; get appleOauthFactor(): Nullable; get webauthnFactor(): Nullable; get authenticatorAppFactor(): Nullable; get githubOauthFactor(): Nullable; get recoveryCodeFactor(): Nullable; get facebookOauthFactor(): Nullable; get cryptoWalletFactor(): Nullable; get amazonOauthFactor(): Nullable; get bitbucketOauthFactor(): Nullable; get coinbaseOauthFactor(): Nullable; get discordOauthFactor(): Nullable; get figmaOauthFactor(): Nullable; get gitLabOauthFactor(): Nullable; get instagramOauthFactor(): Nullable; get linkedInOauthFactor(): Nullable; get shopifyOauthFactor(): Nullable; get slackOauthFactor(): Nullable; get snapchatOauthFactor(): Nullable; get spotifyOauthFactor(): Nullable; get steamOauthFactor(): Nullable; get tikTokOauthFactor(): Nullable; get twitchOauthFactor(): Nullable; get twitterOauthFactor(): Nullable; get embeddableMagicLinkFactor(): Nullable; get biometricFactor(): Nullable; get samlSsoFactor(): Nullable; get oidcSsoFactor(): Nullable; get salesforceOauthFactor(): Nullable; get yahooOauthFactor(): Nullable; get hubspotOauthFactor(): Nullable; get slackOauthExchangeFactor(): Nullable; get hubspotOauthExchangeFactor(): Nullable; get githubOauthExchangeFactor(): Nullable; get googleOauthExchangeFactor(): Nullable; get impersonatedFactor(): Nullable; get oauthAccessTokenExchangeFactor(): Nullable; get trustedAuthTokenFactor(): Nullable; copy(type?: any/* ApiSessionV1AuthenticationFactorType */, deliveryMethod?: any/* ApiSessionV1AuthenticationFactorDeliveryMethod */, lastAuthenticatedAt?: Nullable/* Nullable */, createdAt?: Nullable/* Nullable */, updatedAt?: Nullable/* Nullable */, emailFactor?: Nullable, phoneNumberFactor?: Nullable, googleOauthFactor?: Nullable, microsoftOauthFactor?: Nullable, appleOauthFactor?: Nullable, webauthnFactor?: Nullable, authenticatorAppFactor?: Nullable, githubOauthFactor?: Nullable, recoveryCodeFactor?: Nullable, facebookOauthFactor?: Nullable, cryptoWalletFactor?: Nullable, amazonOauthFactor?: Nullable, bitbucketOauthFactor?: Nullable, coinbaseOauthFactor?: Nullable, discordOauthFactor?: Nullable, figmaOauthFactor?: Nullable, gitLabOauthFactor?: Nullable, instagramOauthFactor?: Nullable, linkedInOauthFactor?: Nullable, shopifyOauthFactor?: Nullable, slackOauthFactor?: Nullable, snapchatOauthFactor?: Nullable, spotifyOauthFactor?: Nullable, steamOauthFactor?: Nullable, tikTokOauthFactor?: Nullable, twitchOauthFactor?: Nullable, twitterOauthFactor?: Nullable, embeddableMagicLinkFactor?: Nullable, biometricFactor?: Nullable, samlSsoFactor?: Nullable, oidcSsoFactor?: Nullable, salesforceOauthFactor?: Nullable, yahooOauthFactor?: Nullable, hubspotOauthFactor?: Nullable, slackOauthExchangeFactor?: Nullable, hubspotOauthExchangeFactor?: Nullable, githubOauthExchangeFactor?: Nullable, googleOauthExchangeFactor?: Nullable, impersonatedFactor?: Nullable, oauthAccessTokenExchangeFactor?: Nullable, trustedAuthTokenFactor?: Nullable): ApiSessionV1AuthenticationFactor; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSessionV1AuthenticationFactor { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSessionV1AuthenticationFactor; } } /** @param totpId */ export declare class ApiSessionV1AuthenticatorAppFactor { constructor(totpId: string); get totpId(): string; copy(totpId?: string): ApiSessionV1AuthenticatorAppFactor; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSessionV1AuthenticatorAppFactor { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSessionV1AuthenticatorAppFactor; } } /** @param biometricRegistrationId */ export declare class ApiSessionV1BiometricFactor { constructor(biometricRegistrationId: string); get biometricRegistrationId(): string; copy(biometricRegistrationId?: string): ApiSessionV1BiometricFactor; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSessionV1BiometricFactor { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSessionV1BiometricFactor; } } /** * @param id * @param providerSubject * @param emailId */ export declare class ApiSessionV1BitbucketOAuthFactor { constructor(id: string, providerSubject: string, emailId?: Nullable); get id(): string; get providerSubject(): string; get emailId(): Nullable; copy(id?: string, providerSubject?: string, emailId?: Nullable): ApiSessionV1BitbucketOAuthFactor; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSessionV1BitbucketOAuthFactor { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSessionV1BitbucketOAuthFactor; } } /** * @param id * @param providerSubject * @param emailId */ export declare class ApiSessionV1CoinbaseOAuthFactor { constructor(id: string, providerSubject: string, emailId?: Nullable); get id(): string; get providerSubject(): string; get emailId(): Nullable; copy(id?: string, providerSubject?: string, emailId?: Nullable): ApiSessionV1CoinbaseOAuthFactor; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSessionV1CoinbaseOAuthFactor { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSessionV1CoinbaseOAuthFactor; } } /** * @param cryptoWalletId * @param cryptoWalletAddress * @param cryptoWalletType */ export declare class ApiSessionV1CryptoWalletFactor { constructor(cryptoWalletId: string, cryptoWalletAddress: string, cryptoWalletType: string); get cryptoWalletId(): string; get cryptoWalletAddress(): string; get cryptoWalletType(): string; copy(cryptoWalletId?: string, cryptoWalletAddress?: string, cryptoWalletType?: string): ApiSessionV1CryptoWalletFactor; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSessionV1CryptoWalletFactor { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSessionV1CryptoWalletFactor; } } /** * @param id * @param providerSubject * @param emailId */ export declare class ApiSessionV1DiscordOAuthFactor { constructor(id: string, providerSubject: string, emailId?: Nullable); get id(): string; get providerSubject(): string; get emailId(): Nullable; copy(id?: string, providerSubject?: string, emailId?: Nullable): ApiSessionV1DiscordOAuthFactor; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSessionV1DiscordOAuthFactor { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSessionV1DiscordOAuthFactor; } } /** * @param emailId * @param emailAddress */ export declare class ApiSessionV1EmailFactor { constructor(emailId: string, emailAddress: string); get emailId(): string; get emailAddress(): string; copy(emailId?: string, emailAddress?: string): ApiSessionV1EmailFactor; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSessionV1EmailFactor { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSessionV1EmailFactor; } } /** @param embeddedId */ export declare class ApiSessionV1EmbeddableMagicLinkFactor { constructor(embeddedId: string); get embeddedId(): string; copy(embeddedId?: string): ApiSessionV1EmbeddableMagicLinkFactor; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSessionV1EmbeddableMagicLinkFactor { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSessionV1EmbeddableMagicLinkFactor; } } /** * @param id * @param providerSubject * @param emailId */ export declare class ApiSessionV1FacebookOAuthFactor { constructor(id: string, providerSubject: string, emailId?: Nullable); get id(): string; get providerSubject(): string; get emailId(): Nullable; copy(id?: string, providerSubject?: string, emailId?: Nullable): ApiSessionV1FacebookOAuthFactor; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSessionV1FacebookOAuthFactor { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSessionV1FacebookOAuthFactor; } } /** * @param id * @param providerSubject * @param emailId */ export declare class ApiSessionV1FigmaOAuthFactor { constructor(id: string, providerSubject: string, emailId?: Nullable); get id(): string; get providerSubject(): string; get emailId(): Nullable; copy(id?: string, providerSubject?: string, emailId?: Nullable): ApiSessionV1FigmaOAuthFactor; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSessionV1FigmaOAuthFactor { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSessionV1FigmaOAuthFactor; } } /** * @param id * @param providerSubject * @param emailId */ export declare class ApiSessionV1GitLabOAuthFactor { constructor(id: string, providerSubject: string, emailId?: Nullable); get id(): string; get providerSubject(): string; get emailId(): Nullable; copy(id?: string, providerSubject?: string, emailId?: Nullable): ApiSessionV1GitLabOAuthFactor; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSessionV1GitLabOAuthFactor { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSessionV1GitLabOAuthFactor; } } /** @param emailId */ export declare class ApiSessionV1GithubOAuthExchangeFactor { constructor(emailId: string); get emailId(): string; copy(emailId?: string): ApiSessionV1GithubOAuthExchangeFactor; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSessionV1GithubOAuthExchangeFactor { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSessionV1GithubOAuthExchangeFactor; } } /** * @param id * @param providerSubject * @param emailId */ export declare class ApiSessionV1GithubOAuthFactor { constructor(id: string, providerSubject: string, emailId?: Nullable); get id(): string; get providerSubject(): string; get emailId(): Nullable; copy(id?: string, providerSubject?: string, emailId?: Nullable): ApiSessionV1GithubOAuthFactor; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSessionV1GithubOAuthFactor { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSessionV1GithubOAuthFactor; } } /** @param emailId */ export declare class ApiSessionV1GoogleOAuthExchangeFactor { constructor(emailId: string); get emailId(): string; copy(emailId?: string): ApiSessionV1GoogleOAuthExchangeFactor; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSessionV1GoogleOAuthExchangeFactor { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSessionV1GoogleOAuthExchangeFactor; } } /** * @param id * @param providerSubject * @param emailId */ export declare class ApiSessionV1GoogleOAuthFactor { constructor(id: string, providerSubject: string, emailId?: Nullable); get id(): string; get providerSubject(): string; get emailId(): Nullable; copy(id?: string, providerSubject?: string, emailId?: Nullable): ApiSessionV1GoogleOAuthFactor; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSessionV1GoogleOAuthFactor { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSessionV1GoogleOAuthFactor; } } /** @param emailId */ export declare class ApiSessionV1HubspotOAuthExchangeFactor { constructor(emailId: string); get emailId(): string; copy(emailId?: string): ApiSessionV1HubspotOAuthExchangeFactor; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSessionV1HubspotOAuthExchangeFactor { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSessionV1HubspotOAuthExchangeFactor; } } /** * @param id * @param providerSubject * @param emailId */ export declare class ApiSessionV1HubspotOAuthFactor { constructor(id: string, providerSubject: string, emailId?: Nullable); get id(): string; get providerSubject(): string; get emailId(): Nullable; copy(id?: string, providerSubject?: string, emailId?: Nullable): ApiSessionV1HubspotOAuthFactor; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSessionV1HubspotOAuthFactor { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSessionV1HubspotOAuthFactor; } } /** * @param impersonatorId * @param impersonatorEmailAddress */ export declare class ApiSessionV1ImpersonatedFactor { constructor(impersonatorId: string, impersonatorEmailAddress: string); get impersonatorId(): string; get impersonatorEmailAddress(): string; copy(impersonatorId?: string, impersonatorEmailAddress?: string): ApiSessionV1ImpersonatedFactor; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSessionV1ImpersonatedFactor { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSessionV1ImpersonatedFactor; } } /** * @param id * @param providerSubject * @param emailId */ export declare class ApiSessionV1InstagramOAuthFactor { constructor(id: string, providerSubject: string, emailId?: Nullable); get id(): string; get providerSubject(): string; get emailId(): Nullable; copy(id?: string, providerSubject?: string, emailId?: Nullable): ApiSessionV1InstagramOAuthFactor; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSessionV1InstagramOAuthFactor { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSessionV1InstagramOAuthFactor; } } /** * @param id * @param providerSubject * @param emailId */ export declare class ApiSessionV1LinkedInOAuthFactor { constructor(id: string, providerSubject: string, emailId?: Nullable); get id(): string; get providerSubject(): string; get emailId(): Nullable; copy(id?: string, providerSubject?: string, emailId?: Nullable): ApiSessionV1LinkedInOAuthFactor; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSessionV1LinkedInOAuthFactor { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSessionV1LinkedInOAuthFactor; } } /** * @param id * @param providerSubject * @param emailId */ export declare class ApiSessionV1MicrosoftOAuthFactor { constructor(id: string, providerSubject: string, emailId?: Nullable); get id(): string; get providerSubject(): string; get emailId(): Nullable; copy(id?: string, providerSubject?: string, emailId?: Nullable): ApiSessionV1MicrosoftOAuthFactor; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSessionV1MicrosoftOAuthFactor { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSessionV1MicrosoftOAuthFactor; } } /** @param clientId */ export declare class ApiSessionV1OAuthAccessTokenExchangeFactor { constructor(clientId: string); get clientId(): string; copy(clientId?: string): ApiSessionV1OAuthAccessTokenExchangeFactor; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSessionV1OAuthAccessTokenExchangeFactor { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSessionV1OAuthAccessTokenExchangeFactor; } } /** * @param id * @param providerId * @param externalId */ export declare class ApiSessionV1OIDCSSOFactor { constructor(id: string, providerId: string, externalId: string); get id(): string; get providerId(): string; get externalId(): string; copy(id?: string, providerId?: string, externalId?: string): ApiSessionV1OIDCSSOFactor; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSessionV1OIDCSSOFactor { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSessionV1OIDCSSOFactor; } } /** * @param phoneId * @param phoneNumber */ export declare class ApiSessionV1PhoneNumberFactor { constructor(phoneId: string, phoneNumber: string); get phoneId(): string; get phoneNumber(): string; copy(phoneId?: string, phoneNumber?: string): ApiSessionV1PhoneNumberFactor; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSessionV1PhoneNumberFactor { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSessionV1PhoneNumberFactor; } } /** @param totpRecoveryCodeId */ export declare class ApiSessionV1RecoveryCodeFactor { constructor(totpRecoveryCodeId: string); get totpRecoveryCodeId(): string; copy(totpRecoveryCodeId?: string): ApiSessionV1RecoveryCodeFactor; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSessionV1RecoveryCodeFactor { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSessionV1RecoveryCodeFactor; } } /** * @param id * @param providerId * @param externalId */ export declare class ApiSessionV1SAMLSSOFactor { constructor(id: string, providerId: string, externalId: string); get id(): string; get providerId(): string; get externalId(): string; copy(id?: string, providerId?: string, externalId?: string): ApiSessionV1SAMLSSOFactor; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSessionV1SAMLSSOFactor { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSessionV1SAMLSSOFactor; } } /** * @param id * @param providerSubject * @param emailId */ export declare class ApiSessionV1SalesforceOAuthFactor { constructor(id: string, providerSubject: string, emailId?: Nullable); get id(): string; get providerSubject(): string; get emailId(): Nullable; copy(id?: string, providerSubject?: string, emailId?: Nullable): ApiSessionV1SalesforceOAuthFactor; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSessionV1SalesforceOAuthFactor { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSessionV1SalesforceOAuthFactor; } } /** * @param sessionId * @param userId * @param authenticationFactors * @param roles * @param startedAt * @param lastAccessedAt * @param expiresAt * @param attributes * @param customClaims */ export declare class ApiSessionV1Session { constructor(sessionId: string, userId: string, authenticationFactors: KtList, roles: KtList, startedAt?: Nullable/* Nullable */, lastAccessedAt?: Nullable/* Nullable */, expiresAt?: Nullable/* Nullable */, attributes?: Nullable, customClaims?: Nullable>); get sessionId(): string; get userId(): string; get authenticationFactors(): KtList; get roles(): KtList; get startedAt(): Nullable/* Nullable */; get lastAccessedAt(): Nullable/* Nullable */; get expiresAt(): Nullable/* Nullable */; get attributes(): Nullable; get customClaims(): Nullable>; copy(sessionId?: string, userId?: string, authenticationFactors?: KtList, roles?: KtList, startedAt?: Nullable/* Nullable */, lastAccessedAt?: Nullable/* Nullable */, expiresAt?: Nullable/* Nullable */, attributes?: Nullable, customClaims?: Nullable>): ApiSessionV1Session; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSessionV1Session { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSessionV1Session; } } /** * @param id * @param providerSubject * @param emailId */ export declare class ApiSessionV1ShopifyOAuthFactor { constructor(id: string, providerSubject: string, emailId?: Nullable); get id(): string; get providerSubject(): string; get emailId(): Nullable; copy(id?: string, providerSubject?: string, emailId?: Nullable): ApiSessionV1ShopifyOAuthFactor; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSessionV1ShopifyOAuthFactor { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSessionV1ShopifyOAuthFactor; } } /** @param emailId */ export declare class ApiSessionV1SlackOAuthExchangeFactor { constructor(emailId: string); get emailId(): string; copy(emailId?: string): ApiSessionV1SlackOAuthExchangeFactor; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSessionV1SlackOAuthExchangeFactor { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSessionV1SlackOAuthExchangeFactor; } } /** * @param id * @param providerSubject * @param emailId */ export declare class ApiSessionV1SlackOAuthFactor { constructor(id: string, providerSubject: string, emailId?: Nullable); get id(): string; get providerSubject(): string; get emailId(): Nullable; copy(id?: string, providerSubject?: string, emailId?: Nullable): ApiSessionV1SlackOAuthFactor; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSessionV1SlackOAuthFactor { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSessionV1SlackOAuthFactor; } } /** * @param id * @param providerSubject * @param emailId */ export declare class ApiSessionV1SnapchatOAuthFactor { constructor(id: string, providerSubject: string, emailId?: Nullable); get id(): string; get providerSubject(): string; get emailId(): Nullable; copy(id?: string, providerSubject?: string, emailId?: Nullable): ApiSessionV1SnapchatOAuthFactor; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSessionV1SnapchatOAuthFactor { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSessionV1SnapchatOAuthFactor; } } /** * @param id * @param providerSubject * @param emailId */ export declare class ApiSessionV1SpotifyOAuthFactor { constructor(id: string, providerSubject: string, emailId?: Nullable); get id(): string; get providerSubject(): string; get emailId(): Nullable; copy(id?: string, providerSubject?: string, emailId?: Nullable): ApiSessionV1SpotifyOAuthFactor; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSessionV1SpotifyOAuthFactor { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSessionV1SpotifyOAuthFactor; } } /** * @param id * @param providerSubject * @param emailId */ export declare class ApiSessionV1SteamOAuthFactor { constructor(id: string, providerSubject: string, emailId?: Nullable); get id(): string; get providerSubject(): string; get emailId(): Nullable; copy(id?: string, providerSubject?: string, emailId?: Nullable): ApiSessionV1SteamOAuthFactor; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSessionV1SteamOAuthFactor { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSessionV1SteamOAuthFactor; } } /** * @param id * @param providerSubject * @param emailId */ export declare class ApiSessionV1TikTokOAuthFactor { constructor(id: string, providerSubject: string, emailId?: Nullable); get id(): string; get providerSubject(): string; get emailId(): Nullable; copy(id?: string, providerSubject?: string, emailId?: Nullable): ApiSessionV1TikTokOAuthFactor; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSessionV1TikTokOAuthFactor { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSessionV1TikTokOAuthFactor; } } /** @param tokenId */ export declare class ApiSessionV1TrustedAuthTokenFactor { constructor(tokenId: string); get tokenId(): string; copy(tokenId?: string): ApiSessionV1TrustedAuthTokenFactor; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSessionV1TrustedAuthTokenFactor { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSessionV1TrustedAuthTokenFactor; } } /** * @param id * @param providerSubject * @param emailId */ export declare class ApiSessionV1TwitchOAuthFactor { constructor(id: string, providerSubject: string, emailId?: Nullable); get id(): string; get providerSubject(): string; get emailId(): Nullable; copy(id?: string, providerSubject?: string, emailId?: Nullable): ApiSessionV1TwitchOAuthFactor; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSessionV1TwitchOAuthFactor { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSessionV1TwitchOAuthFactor; } } /** * @param id * @param providerSubject * @param emailId */ export declare class ApiSessionV1TwitterOAuthFactor { constructor(id: string, providerSubject: string, emailId?: Nullable); get id(): string; get providerSubject(): string; get emailId(): Nullable; copy(id?: string, providerSubject?: string, emailId?: Nullable): ApiSessionV1TwitterOAuthFactor; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSessionV1TwitterOAuthFactor { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSessionV1TwitterOAuthFactor; } } /** * @param webauthnRegistrationId * @param domain * @param userAgent */ export declare class ApiSessionV1WebAuthnFactor { constructor(webauthnRegistrationId: string, domain: string, userAgent?: Nullable); get webauthnRegistrationId(): string; get domain(): string; get userAgent(): Nullable; copy(webauthnRegistrationId?: string, domain?: string, userAgent?: Nullable): ApiSessionV1WebAuthnFactor; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSessionV1WebAuthnFactor { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSessionV1WebAuthnFactor; } } /** * @param id * @param providerSubject * @param emailId */ export declare class ApiSessionV1YahooOAuthFactor { constructor(id: string, providerSubject: string, emailId?: Nullable); get id(): string; get providerSubject(): string; get emailId(): Nullable; copy(id?: string, providerSubject?: string, emailId?: Nullable): ApiSessionV1YahooOAuthFactor; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSessionV1YahooOAuthFactor { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSessionV1YahooOAuthFactor; } } /** * @param privateKeyId * @param privateKey * @param createdAt */ export declare class ApiSsoV1EncryptionPrivateKey { constructor(privateKeyId: string, privateKey: string, createdAt?: Nullable/* Nullable */); get privateKeyId(): string; get privateKey(): string; get createdAt(): Nullable/* Nullable */; copy(privateKeyId?: string, privateKey?: string, createdAt?: Nullable/* Nullable */): ApiSsoV1EncryptionPrivateKey; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSsoV1EncryptionPrivateKey { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSsoV1EncryptionPrivateKey; } } /** * @param organizationId * @param connectionId * @param externalOrganizationId * @param externalConnectionId * @param displayName * @param status * @param externalConnectionImplicitRoleAssignments * @param externalGroupImplicitRoleAssignments */ export declare class ApiSsoV1ExternalConnection { constructor(organizationId: string, connectionId: string, externalOrganizationId: string, externalConnectionId: string, displayName: string, status: string, externalConnectionImplicitRoleAssignments: KtList, externalGroupImplicitRoleAssignments: KtList); get organizationId(): string; get connectionId(): string; get externalOrganizationId(): string; get externalConnectionId(): string; get displayName(): string; get status(): string; get externalConnectionImplicitRoleAssignments(): KtList; get externalGroupImplicitRoleAssignments(): KtList; copy(organizationId?: string, connectionId?: string, externalOrganizationId?: string, externalConnectionId?: string, displayName?: string, status?: string, externalConnectionImplicitRoleAssignments?: KtList, externalGroupImplicitRoleAssignments?: KtList): ApiSsoV1ExternalConnection; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSsoV1ExternalConnection { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSsoV1ExternalConnection; } } /** @param roleId */ export declare class ApiSsoV1ExternalConnectionImplicitRoleAssignment { constructor(roleId: string); get roleId(): string; copy(roleId?: string): ApiSsoV1ExternalConnectionImplicitRoleAssignment; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSsoV1ExternalConnectionImplicitRoleAssignment { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSsoV1ExternalConnectionImplicitRoleAssignment; } } /** * @param roleId * @param group */ export declare class ApiSsoV1ExternalGroupImplicitRoleAssignment { constructor(roleId: string, group: string); get roleId(): string; get group(): string; copy(roleId?: string, group?: string): ApiSsoV1ExternalGroupImplicitRoleAssignment; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSsoV1ExternalGroupImplicitRoleAssignment { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSsoV1ExternalGroupImplicitRoleAssignment; } } /** * @param organizationId * @param connectionId * @param status * @param displayName * @param redirectUrl * @param clientId * @param clientSecret * @param issuer * @param authorizationUrl * @param tokenUrl * @param userinfoUrl * @param jwksUrl * @param identityProvider * @param customScopes * @param attributeMapping */ export declare class ApiSsoV1OIDCConnection { constructor(organizationId: string, connectionId: string, status: string, displayName: string, redirectUrl: string, clientId: string, clientSecret: string, issuer: string, authorizationUrl: string, tokenUrl: string, userinfoUrl: string, jwksUrl: string, identityProvider: string, customScopes: string, attributeMapping?: Nullable>); get organizationId(): string; get connectionId(): string; get status(): string; get displayName(): string; get redirectUrl(): string; get clientId(): string; get clientSecret(): string; get issuer(): string; get authorizationUrl(): string; get tokenUrl(): string; get userinfoUrl(): string; get jwksUrl(): string; get identityProvider(): string; get customScopes(): string; get attributeMapping(): Nullable>; copy(organizationId?: string, connectionId?: string, status?: string, displayName?: string, redirectUrl?: string, clientId?: string, clientSecret?: string, issuer?: string, authorizationUrl?: string, tokenUrl?: string, userinfoUrl?: string, jwksUrl?: string, identityProvider?: string, customScopes?: string, attributeMapping?: Nullable>): ApiSsoV1OIDCConnection; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSsoV1OIDCConnection { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSsoV1OIDCConnection; } } /** * @param organizationId * @param connectionId * @param status * @param idpEntityId * @param displayName * @param idpSsoUrl * @param acsUrl * @param audienceUri * @param signingCertificates * @param verificationCertificates * @param encryptionPrivateKeys * @param samlConnectionImplicitRoleAssignments * @param samlGroupImplicitRoleAssignments * @param alternativeAudienceUri * @param identityProvider * @param nameidFormat * @param alternativeAcsUrl * @param idpInitiatedAuthDisabled * @param allowGatewayCallback * @param attributeMapping */ export declare class ApiSsoV1SAMLConnection { constructor(organizationId: string, connectionId: string, status: string, idpEntityId: string, displayName: string, idpSsoUrl: string, acsUrl: string, audienceUri: string, signingCertificates: KtList, verificationCertificates: KtList, encryptionPrivateKeys: KtList, samlConnectionImplicitRoleAssignments: KtList, samlGroupImplicitRoleAssignments: KtList, alternativeAudienceUri: string, identityProvider: string, nameidFormat: string, alternativeAcsUrl: string, idpInitiatedAuthDisabled: boolean, allowGatewayCallback: boolean, attributeMapping?: Nullable>); get organizationId(): string; get connectionId(): string; get status(): string; get idpEntityId(): string; get displayName(): string; get idpSsoUrl(): string; get acsUrl(): string; get audienceUri(): string; get signingCertificates(): KtList; get verificationCertificates(): KtList; get encryptionPrivateKeys(): KtList; get samlConnectionImplicitRoleAssignments(): KtList; get samlGroupImplicitRoleAssignments(): KtList; get alternativeAudienceUri(): string; get identityProvider(): string; get nameidFormat(): string; get alternativeAcsUrl(): string; get idpInitiatedAuthDisabled(): boolean; get allowGatewayCallback(): boolean; get attributeMapping(): Nullable>; copy(organizationId?: string, connectionId?: string, status?: string, idpEntityId?: string, displayName?: string, idpSsoUrl?: string, acsUrl?: string, audienceUri?: string, signingCertificates?: KtList, verificationCertificates?: KtList, encryptionPrivateKeys?: KtList, samlConnectionImplicitRoleAssignments?: KtList, samlGroupImplicitRoleAssignments?: KtList, alternativeAudienceUri?: string, identityProvider?: string, nameidFormat?: string, alternativeAcsUrl?: string, idpInitiatedAuthDisabled?: boolean, allowGatewayCallback?: boolean, attributeMapping?: Nullable>): ApiSsoV1SAMLConnection; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSsoV1SAMLConnection { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSsoV1SAMLConnection; } } /** @param roleId */ export declare class ApiSsoV1SAMLConnectionImplicitRoleAssignment { constructor(roleId: string); get roleId(): string; copy(roleId?: string): ApiSsoV1SAMLConnectionImplicitRoleAssignment; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSsoV1SAMLConnectionImplicitRoleAssignment { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSsoV1SAMLConnectionImplicitRoleAssignment; } } /** * @param roleId * @param group */ export declare class ApiSsoV1SAMLGroupImplicitRoleAssignment { constructor(roleId: string, group: string); get roleId(): string; get group(): string; copy(roleId?: string, group?: string): ApiSsoV1SAMLGroupImplicitRoleAssignment; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSsoV1SAMLGroupImplicitRoleAssignment { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSsoV1SAMLGroupImplicitRoleAssignment; } } /** * @param certificateId * @param certificate * @param issuer * @param createdAt * @param expiresAt * @param updatedAt */ export declare class ApiSsoV1X509Certificate { constructor(certificateId: string, certificate: string, issuer: string, createdAt?: Nullable/* Nullable */, expiresAt?: Nullable/* Nullable */, updatedAt?: Nullable/* Nullable */); get certificateId(): string; get certificate(): string; get issuer(): string; get createdAt(): Nullable/* Nullable */; get expiresAt(): Nullable/* Nullable */; get updatedAt(): Nullable/* Nullable */; copy(certificateId?: string, certificate?: string, issuer?: string, createdAt?: Nullable/* Nullable */, expiresAt?: Nullable/* Nullable */, updatedAt?: Nullable/* Nullable */): ApiSsoV1X509Certificate; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiSsoV1X509Certificate { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiSsoV1X509Certificate; } } /** * @param totpId * @param verified * @param recoveryCodes */ export declare class ApiTotpV1TOTP { constructor(totpId: string, verified: boolean, recoveryCodes: KtList); get totpId(): string; get verified(): boolean; get recoveryCodes(): KtList; copy(totpId?: string, verified?: boolean, recoveryCodes?: KtList): ApiTotpV1TOTP; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiTotpV1TOTP { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiTotpV1TOTP; } } /** * @param biometricRegistrationId * @param verified */ export declare class ApiUserV1BiometricRegistration { constructor(biometricRegistrationId: string, verified: boolean); get biometricRegistrationId(): string; get verified(): boolean; copy(biometricRegistrationId?: string, verified?: boolean): ApiUserV1BiometricRegistration; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiUserV1BiometricRegistration { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiUserV1BiometricRegistration; } } /** * @param cryptoWalletId * @param cryptoWalletAddress * @param cryptoWalletType * @param verified */ export declare class ApiUserV1CryptoWallet { constructor(cryptoWalletId: string, cryptoWalletAddress: string, cryptoWalletType: string, verified: boolean); get cryptoWalletId(): string; get cryptoWalletAddress(): string; get cryptoWalletType(): string; get verified(): boolean; copy(cryptoWalletId?: string, cryptoWalletAddress?: string, cryptoWalletType?: string, verified?: boolean): ApiUserV1CryptoWallet; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiUserV1CryptoWallet { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiUserV1CryptoWallet; } } /** * @param cryptoWalletAddress * @param cryptoWalletType */ export declare class ApiUserV1CryptoWalletString { constructor(cryptoWalletAddress: string, cryptoWalletType: string); get cryptoWalletAddress(): string; get cryptoWalletType(): string; copy(cryptoWalletAddress?: string, cryptoWalletType?: string): ApiUserV1CryptoWalletString; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiUserV1CryptoWalletString { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiUserV1CryptoWalletString; } } /** * @param emailId * @param email * @param verified */ export declare class ApiUserV1Email { constructor(emailId: string, email: string, verified: boolean); get emailId(): string; get email(): string; get verified(): boolean; copy(emailId?: string, email?: string, verified?: boolean): ApiUserV1Email; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiUserV1Email { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiUserV1Email; } } /** @param email */ export declare class ApiUserV1EmailString { constructor(email: string); get email(): string; copy(email?: string): ApiUserV1EmailString; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiUserV1EmailString { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiUserV1EmailString; } } /** * @param firstName * @param middleName * @param lastName */ export declare class ApiUserV1Name { constructor(firstName?: Nullable, middleName?: Nullable, lastName?: Nullable); get firstName(): Nullable; get middleName(): Nullable; get lastName(): Nullable; copy(firstName?: Nullable, middleName?: Nullable, lastName?: Nullable): ApiUserV1Name; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiUserV1Name { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiUserV1Name; } } /** * @param providerType * @param providerSubject * @param profilePictureUrl * @param locale * @param oauthUserRegistrationId */ export declare class ApiUserV1OAuthProvider { constructor(providerType: string, providerSubject: string, profilePictureUrl: string, locale: string, oauthUserRegistrationId: string); get providerType(): string; get providerSubject(): string; get profilePictureUrl(): string; get locale(): string; get oauthUserRegistrationId(): string; copy(providerType?: string, providerSubject?: string, profilePictureUrl?: string, locale?: string, oauthUserRegistrationId?: string): ApiUserV1OAuthProvider; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiUserV1OAuthProvider { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiUserV1OAuthProvider; } } /** * @param passwordId * @param requiresReset */ export declare class ApiUserV1Password { constructor(passwordId: string, requiresReset: boolean); get passwordId(): string; get requiresReset(): boolean; copy(passwordId?: string, requiresReset?: boolean): ApiUserV1Password; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiUserV1Password { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiUserV1Password; } } /** * @param phoneId * @param phoneNumber * @param verified */ export declare class ApiUserV1PhoneNumber { constructor(phoneId: string, phoneNumber: string, verified: boolean); get phoneId(): string; get phoneNumber(): string; get verified(): boolean; copy(phoneId?: string, phoneNumber?: string, verified?: boolean): ApiUserV1PhoneNumber; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiUserV1PhoneNumber { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiUserV1PhoneNumber; } } /** @param phoneNumber */ export declare class ApiUserV1PhoneNumberString { constructor(phoneNumber: string); get phoneNumber(): string; copy(phoneNumber?: string): ApiUserV1PhoneNumberString; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiUserV1PhoneNumberString { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiUserV1PhoneNumberString; } } /** * @param totpId * @param verified */ export declare class ApiUserV1TOTP { constructor(totpId: string, verified: boolean); get totpId(): string; get verified(): boolean; copy(totpId?: string, verified?: boolean): ApiUserV1TOTP; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiUserV1TOTP { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiUserV1TOTP; } } /** * @param userId * @param emails * @param status * @param phoneNumbers * @param webauthnRegistrations * @param providers * @param totps * @param cryptoWallets * @param biometricRegistrations * @param isLocked * @param roles * @param name * @param createdAt * @param password * @param trustedMetadata * @param untrustedMetadata * @param externalId * @param lockCreatedAt * @param lockExpiresAt */ export declare class ApiUserV1User { constructor(userId: string, emails: KtList, status: string, phoneNumbers: KtList, webauthnRegistrations: KtList, providers: KtList, totps: KtList, cryptoWallets: KtList, biometricRegistrations: KtList, isLocked: boolean, roles: KtList, name?: Nullable, createdAt?: Nullable/* Nullable */, password?: Nullable, trustedMetadata?: Nullable>, untrustedMetadata?: Nullable>, externalId?: Nullable, lockCreatedAt?: Nullable/* Nullable */, lockExpiresAt?: Nullable/* Nullable */); get userId(): string; get emails(): KtList; get status(): string; get phoneNumbers(): KtList; get webauthnRegistrations(): KtList; get providers(): KtList; get totps(): KtList; get cryptoWallets(): KtList; get biometricRegistrations(): KtList; get isLocked(): boolean; get roles(): KtList; get name(): Nullable; get createdAt(): Nullable/* Nullable */; get password(): Nullable; get trustedMetadata(): Nullable>; get untrustedMetadata(): Nullable>; get externalId(): Nullable; get lockCreatedAt(): Nullable/* Nullable */; get lockExpiresAt(): Nullable/* Nullable */; copy(userId?: string, emails?: KtList, status?: string, phoneNumbers?: KtList, webauthnRegistrations?: KtList, providers?: KtList, totps?: KtList, cryptoWallets?: KtList, biometricRegistrations?: KtList, isLocked?: boolean, roles?: KtList, name?: Nullable, createdAt?: Nullable/* Nullable */, password?: Nullable, trustedMetadata?: Nullable>, untrustedMetadata?: Nullable>, externalId?: Nullable, lockCreatedAt?: Nullable/* Nullable */, lockExpiresAt?: Nullable/* Nullable */): ApiUserV1User; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiUserV1User { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiUserV1User; } } /** * @param connectedAppId * @param name * @param description * @param clientType * @param scopesGranted * @param logoUrl */ export declare class ApiUserV1UserConnectedApp { constructor(connectedAppId: string, name: string, description: string, clientType: string, scopesGranted: string, logoUrl?: Nullable); get connectedAppId(): string; get name(): string; get description(): string; get clientType(): string; get scopesGranted(): string; get logoUrl(): Nullable; copy(connectedAppId?: string, name?: string, description?: string, clientType?: string, scopesGranted?: string, logoUrl?: Nullable): ApiUserV1UserConnectedApp; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiUserV1UserConnectedApp { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiUserV1UserConnectedApp; } } /** * @param webauthnRegistrationId * @param domain * @param userAgent * @param verified * @param authenticatorType * @param name */ export declare class ApiUserV1WebAuthnRegistration { constructor(webauthnRegistrationId: string, domain: string, userAgent: string, verified: boolean, authenticatorType: string, name: string); get webauthnRegistrationId(): string; get domain(): string; get userAgent(): string; get verified(): boolean; get authenticatorType(): string; get name(): string; copy(webauthnRegistrationId?: string, domain?: string, userAgent?: string, verified?: boolean, authenticatorType?: string, name?: string): ApiUserV1WebAuthnRegistration; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ApiUserV1WebAuthnRegistration { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ApiUserV1WebAuthnRegistration; } } /** * Response type * @param statusCode * @param ssoConfig * @param scimConfig * @param organizationConfig */ export declare class B2BAdminPortalConfigResponse implements StytchAPIResponse { constructor(statusCode: number, ssoConfig?: Nullable, scimConfig?: Nullable, organizationConfig?: Nullable); get statusCode(): number; get ssoConfig(): Nullable; get scimConfig(): Nullable; get organizationConfig(): Nullable; copy(statusCode?: number, ssoConfig?: Nullable, scimConfig?: Nullable, organizationConfig?: Nullable): B2BAdminPortalConfigResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BAdminPortalConfigResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BAdminPortalConfigResponse; } } /** * Request type * @param externalConnectionId * @param externalOrganizationId * @param displayName */ export declare class B2BCreateExternalConnectionRequest { constructor(externalConnectionId: string, externalOrganizationId: string, displayName?: Nullable); get externalConnectionId(): string; get externalOrganizationId(): string; get displayName(): Nullable; copy(externalConnectionId?: string, externalOrganizationId?: string, displayName?: Nullable): B2BCreateExternalConnectionRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BCreateExternalConnectionRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BCreateExternalConnectionRequest; } } /** * Response type * @param requestId * @param statusCode * @param connection */ export declare class B2BCreateExternalConnectionResponse implements StytchAPIResponse { constructor(requestId: string, statusCode: number, connection?: Nullable); get requestId(): string; get statusCode(): number; get connection(): Nullable; copy(requestId?: string, statusCode?: number, connection?: Nullable): B2BCreateExternalConnectionResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BCreateExternalConnectionResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BCreateExternalConnectionResponse; } } /** * Request type * @param displayName * @param identityProvider */ export declare class B2BCreateOIDCConnectionRequest { constructor(displayName?: Nullable, identityProvider?: Nullable); get displayName(): Nullable; get identityProvider(): Nullable; copy(displayName?: Nullable, identityProvider?: Nullable): B2BCreateOIDCConnectionRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BCreateOIDCConnectionRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BCreateOIDCConnectionRequest; } } /** * Response type * @param requestId * @param statusCode * @param connection */ export declare class B2BCreateOIDCConnectionResponse implements StytchAPIResponse { constructor(requestId: string, statusCode: number, connection?: Nullable); get requestId(): string; get statusCode(): number; get connection(): Nullable; copy(requestId?: string, statusCode?: number, connection?: Nullable): B2BCreateOIDCConnectionResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BCreateOIDCConnectionResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BCreateOIDCConnectionResponse; } } /** * Request type * @param displayName * @param identityProvider */ export declare class B2BCreateSAMLConnectionRequest { constructor(displayName?: Nullable, identityProvider?: Nullable); get displayName(): Nullable; get identityProvider(): Nullable; copy(displayName?: Nullable, identityProvider?: Nullable): B2BCreateSAMLConnectionRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BCreateSAMLConnectionRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BCreateSAMLConnectionRequest; } } /** * Response type * @param requestId * @param statusCode * @param connection */ export declare class B2BCreateSAMLConnectionResponse implements StytchAPIResponse { constructor(requestId: string, statusCode: number, connection?: Nullable); get requestId(): string; get statusCode(): number; get connection(): Nullable; copy(requestId?: string, statusCode?: number, connection?: Nullable): B2BCreateSAMLConnectionResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BCreateSAMLConnectionResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BCreateSAMLConnectionResponse; } } /** * Response type * @param requestId * @param privateKeyId * @param statusCode */ export declare class B2BDeleteSAMLEncryptionPrivateKeyResponse implements StytchAPIResponse { constructor(requestId: string, privateKeyId: string, statusCode: number); get requestId(): string; get privateKeyId(): string; get statusCode(): number; copy(requestId?: string, privateKeyId?: string, statusCode?: number): B2BDeleteSAMLEncryptionPrivateKeyResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BDeleteSAMLEncryptionPrivateKeyResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BDeleteSAMLEncryptionPrivateKeyResponse; } } /** * Response type * @param requestId * @param certificateId * @param statusCode */ export declare class B2BDeleteSAMLVerificationCertificateResponse implements StytchAPIResponse { constructor(requestId: string, certificateId: string, statusCode: number); get requestId(): string; get certificateId(): string; get statusCode(): number; copy(requestId?: string, certificateId?: string, statusCode?: number): B2BDeleteSAMLVerificationCertificateResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BDeleteSAMLVerificationCertificateResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BDeleteSAMLVerificationCertificateResponse; } } /** * Response type * @param requestId * @param connectionId * @param statusCode */ export declare class B2BDeleteSSOConnectionResponse implements StytchAPIResponse { constructor(requestId: string, connectionId: string, statusCode: number); get requestId(): string; get connectionId(): string; get statusCode(): number; copy(requestId?: string, connectionId?: string, statusCode?: number): B2BDeleteSSOConnectionResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BDeleteSSOConnectionResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BDeleteSSOConnectionResponse; } } /** * Request type * @param intermediateSessionToken * @param organizationId * @param sessionDurationMinutes * @param locale */ export declare class B2BDiscoveryIntermediateSessionsExchangeRequest { constructor(intermediateSessionToken: string, organizationId: string, sessionDurationMinutes: number, locale?: Nullable); get intermediateSessionToken(): string; get organizationId(): string; get sessionDurationMinutes(): number; get locale(): Nullable; copy(intermediateSessionToken?: string, organizationId?: string, sessionDurationMinutes?: number, locale?: Nullable): B2BDiscoveryIntermediateSessionsExchangeRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BDiscoveryIntermediateSessionsExchangeRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BDiscoveryIntermediateSessionsExchangeRequest; } } /** * Response type * @param requestId * @param memberId * @param sessionToken * @param sessionJwt * @param member * @param organization * @param memberAuthenticated * @param intermediateSessionToken * @param statusCode * @param memberSession * @param mfaRequired * @param primaryRequired */ export declare class B2BDiscoveryIntermediateSessionsExchangeResponse implements StytchAPIResponse/*, AuthenticatedResponse, B2BResponse */ { constructor(requestId: string, memberId: string, sessionToken: string, sessionJwt: string, member: ApiOrganizationV1Member, organization: ApiOrganizationV1Organization, memberAuthenticated: boolean, intermediateSessionToken: string, statusCode: number, memberSession?: Nullable, mfaRequired?: Nullable, primaryRequired?: Nullable); get requestId(): string; get memberId(): string; get memberAuthenticated(): boolean; get statusCode(): number; get primaryRequired(): Nullable; copy(requestId?: string, memberId?: string, sessionToken?: string, sessionJwt?: string, member?: ApiOrganizationV1Member, organization?: ApiOrganizationV1Organization, memberAuthenticated?: boolean, intermediateSessionToken?: string, statusCode?: number, memberSession?: Nullable, mfaRequired?: Nullable, primaryRequired?: Nullable): B2BDiscoveryIntermediateSessionsExchangeResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BDiscoveryIntermediateSessionsExchangeResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BDiscoveryIntermediateSessionsExchangeResponse; } } /** * Request type * @param intermediateSessionToken * @param sessionDurationMinutes * @param organizationName * @param organizationSlug * @param organizationLogoUrl * @param ssoJitProvisioning * @param emailAllowedDomains * @param emailJitProvisioning * @param emailInvites * @param authMethods * @param allowedAuthMethods * @param mfaMethods * @param allowedMfaMethods * @param mfaPolicy * @param oauthTenantJitProvisioning * @param allowedOauthTenants */ export declare class B2BDiscoveryOrganizationsCreateRequest { constructor(intermediateSessionToken: string, sessionDurationMinutes: number, organizationName?: Nullable, organizationSlug?: Nullable, organizationLogoUrl?: Nullable, ssoJitProvisioning?: Nullable, emailAllowedDomains?: Nullable>, emailJitProvisioning?: Nullable, emailInvites?: Nullable, authMethods?: Nullable, allowedAuthMethods?: Nullable>, mfaMethods?: Nullable, allowedMfaMethods?: Nullable>, mfaPolicy?: Nullable, oauthTenantJitProvisioning?: Nullable, allowedOauthTenants?: Nullable>); get intermediateSessionToken(): string; get sessionDurationMinutes(): number; get organizationName(): Nullable; get organizationSlug(): Nullable; get organizationLogoUrl(): Nullable; get ssoJitProvisioning(): Nullable; get emailAllowedDomains(): Nullable>; get emailJitProvisioning(): Nullable; get emailInvites(): Nullable; get authMethods(): Nullable; get allowedAuthMethods(): Nullable>; get mfaMethods(): Nullable; get allowedMfaMethods(): Nullable>; get mfaPolicy(): Nullable; get oauthTenantJitProvisioning(): Nullable; get allowedOauthTenants(): Nullable>; copy(intermediateSessionToken?: string, sessionDurationMinutes?: number, organizationName?: Nullable, organizationSlug?: Nullable, organizationLogoUrl?: Nullable, ssoJitProvisioning?: Nullable, emailAllowedDomains?: Nullable>, emailJitProvisioning?: Nullable, emailInvites?: Nullable, authMethods?: Nullable, allowedAuthMethods?: Nullable>, mfaMethods?: Nullable, allowedMfaMethods?: Nullable>, mfaPolicy?: Nullable, oauthTenantJitProvisioning?: Nullable, allowedOauthTenants?: Nullable>): B2BDiscoveryOrganizationsCreateRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BDiscoveryOrganizationsCreateRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BDiscoveryOrganizationsCreateRequest; } } /** * Response type * @param requestId * @param memberId * @param sessionToken * @param sessionJwt * @param member * @param organization * @param memberAuthenticated * @param intermediateSessionToken * @param statusCode * @param memberSession * @param mfaRequired * @param primaryRequired */ export declare class B2BDiscoveryOrganizationsCreateResponse implements StytchAPIResponse/*, AuthenticatedResponse, B2BResponse */ { constructor(requestId: string, memberId: string, sessionToken: string, sessionJwt: string, member: ApiOrganizationV1Member, organization: ApiOrganizationV1Organization, memberAuthenticated: boolean, intermediateSessionToken: string, statusCode: number, memberSession?: Nullable, mfaRequired?: Nullable, primaryRequired?: Nullable); get requestId(): string; get memberId(): string; get memberAuthenticated(): boolean; get statusCode(): number; get primaryRequired(): Nullable; copy(requestId?: string, memberId?: string, sessionToken?: string, sessionJwt?: string, member?: ApiOrganizationV1Member, organization?: ApiOrganizationV1Organization, memberAuthenticated?: boolean, intermediateSessionToken?: string, statusCode?: number, memberSession?: Nullable, mfaRequired?: Nullable, primaryRequired?: Nullable): B2BDiscoveryOrganizationsCreateResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BDiscoveryOrganizationsCreateResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BDiscoveryOrganizationsCreateResponse; } } /** * Request type * @param intermediateSessionToken */ export declare class B2BDiscoveryOrganizationsRequest { constructor(intermediateSessionToken?: Nullable); get intermediateSessionToken(): Nullable; copy(intermediateSessionToken?: Nullable): B2BDiscoveryOrganizationsRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BDiscoveryOrganizationsRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BDiscoveryOrganizationsRequest; } } /** * Response type * @param requestId * @param emailAddress * @param discoveredOrganizations * @param statusCode * @param organizationIdHint */ export declare class B2BDiscoveryOrganizationsResponse implements StytchAPIResponse { constructor(requestId: string, emailAddress: string, discoveredOrganizations: KtList, statusCode: number, organizationIdHint?: Nullable); get requestId(): string; get emailAddress(): string; get discoveredOrganizations(): KtList; get statusCode(): number; get organizationIdHint(): Nullable; copy(requestId?: string, emailAddress?: string, discoveredOrganizations?: KtList, statusCode?: number, organizationIdHint?: Nullable): B2BDiscoveryOrganizationsResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BDiscoveryOrganizationsResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BDiscoveryOrganizationsResponse; } } /** * Request type * @param passwordResetToken * @param password * @param pkceCodeVerifier * @param captchaToken * @param dfpTelemetryId */ export declare class B2BDiscoveryPasswordResetRequest { constructor(passwordResetToken: string, password: string, pkceCodeVerifier?: Nullable, captchaToken?: Nullable, dfpTelemetryId?: Nullable); get passwordResetToken(): string; get password(): string; get pkceCodeVerifier(): Nullable; get captchaToken(): Nullable; get dfpTelemetryId(): Nullable; copy(passwordResetToken?: string, password?: string, pkceCodeVerifier?: Nullable, captchaToken?: Nullable, dfpTelemetryId?: Nullable): B2BDiscoveryPasswordResetRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BDiscoveryPasswordResetRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BDiscoveryPasswordResetRequest; } } /** * Response type * @param requestId * @param emailAddress * @param intermediateSessionToken * @param discoveredOrganizations * @param statusCode */ export declare class B2BDiscoveryPasswordResetResponse implements StytchAPIResponse/*, B2BResponse */ { constructor(requestId: string, emailAddress: string, intermediateSessionToken: string, discoveredOrganizations: KtList, statusCode: number); get requestId(): string; get emailAddress(): string; get discoveredOrganizations(): KtList; get statusCode(): number; copy(requestId?: string, emailAddress?: string, intermediateSessionToken?: string, discoveredOrganizations?: KtList, statusCode?: number): B2BDiscoveryPasswordResetResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BDiscoveryPasswordResetResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BDiscoveryPasswordResetResponse; } } /** * Request type * @param emailAddress * @param discoveryRedirectUrl * @param resetPasswordRedirectUrl * @param resetPasswordExpirationMinutes * @param resetPasswordTemplateId * @param pkceCodeChallenge * @param locale * @param dfpTelemetryId * @param captchaToken * @param verifyEmailTemplateId */ export declare class B2BDiscoveryPasswordResetStartRequest { constructor(emailAddress: string, discoveryRedirectUrl?: Nullable, resetPasswordRedirectUrl?: Nullable, resetPasswordExpirationMinutes?: Nullable, resetPasswordTemplateId?: Nullable, pkceCodeChallenge?: Nullable, locale?: Nullable, dfpTelemetryId?: Nullable, captchaToken?: Nullable, verifyEmailTemplateId?: Nullable); get emailAddress(): string; get discoveryRedirectUrl(): Nullable; get resetPasswordRedirectUrl(): Nullable; get resetPasswordExpirationMinutes(): Nullable; get resetPasswordTemplateId(): Nullable; get pkceCodeChallenge(): Nullable; get locale(): Nullable; get dfpTelemetryId(): Nullable; get captchaToken(): Nullable; get verifyEmailTemplateId(): Nullable; copy(emailAddress?: string, discoveryRedirectUrl?: Nullable, resetPasswordRedirectUrl?: Nullable, resetPasswordExpirationMinutes?: Nullable, resetPasswordTemplateId?: Nullable, pkceCodeChallenge?: Nullable, locale?: Nullable, dfpTelemetryId?: Nullable, captchaToken?: Nullable, verifyEmailTemplateId?: Nullable): B2BDiscoveryPasswordResetStartRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BDiscoveryPasswordResetStartRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BDiscoveryPasswordResetStartRequest; } } /** * Response type * @param requestId * @param statusCode */ export declare class B2BDiscoveryPasswordResetStartResponse implements StytchAPIResponse { constructor(requestId: string, statusCode: number); get requestId(): string; get statusCode(): number; copy(requestId?: string, statusCode?: number): B2BDiscoveryPasswordResetStartResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BDiscoveryPasswordResetStartResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BDiscoveryPasswordResetStartResponse; } } /** * Response type * @param requestId * @param statusCode * @param member */ export declare class B2BGetMeResponse implements StytchAPIResponse { constructor(requestId: string, statusCode: number, member?: Nullable); get requestId(): string; get statusCode(): number; get member(): Nullable; copy(requestId?: string, statusCode?: number, member?: Nullable): B2BGetMeResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BGetMeResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BGetMeResponse; } } /** * Request type * @param cursor * @param limit */ export declare class B2BGetSCIMConnectionGroupsRequest { constructor(cursor?: Nullable, limit?: Nullable); get cursor(): Nullable; get limit(): Nullable; copy(cursor?: Nullable, limit?: Nullable): B2BGetSCIMConnectionGroupsRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BGetSCIMConnectionGroupsRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BGetSCIMConnectionGroupsRequest; } } /** * Response type * @param scimGroups * @param statusCode * @param nextCursor */ export declare class B2BGetSCIMConnectionGroupsResponse implements StytchAPIResponse { constructor(scimGroups: KtList, statusCode: number, nextCursor?: Nullable); get scimGroups(): KtList; get statusCode(): number; get nextCursor(): Nullable; copy(scimGroups?: KtList, statusCode?: number, nextCursor?: Nullable): B2BGetSCIMConnectionGroupsResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BGetSCIMConnectionGroupsResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BGetSCIMConnectionGroupsResponse; } } /** * Response type * @param requestId * @param statusCode * @param connection */ export declare class B2BGetSCIMConnectionResponse implements StytchAPIResponse { constructor(requestId: string, statusCode: number, connection?: Nullable); get requestId(): string; get statusCode(): number; get connection(): Nullable; copy(requestId?: string, statusCode?: number, connection?: Nullable): B2BGetSCIMConnectionResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BGetSCIMConnectionResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BGetSCIMConnectionResponse; } } /** * Response type * @param requestId * @param samlConnections * @param oidcConnections * @param externalConnections * @param statusCode */ export declare class B2BGetSSOConnectionsResponse implements StytchAPIResponse { constructor(requestId: string, samlConnections: KtList, oidcConnections: KtList, externalConnections: KtList, statusCode: number); get requestId(): string; get samlConnections(): KtList; get oidcConnections(): KtList; get externalConnections(): KtList; get statusCode(): number; copy(requestId?: string, samlConnections?: KtList, oidcConnections?: KtList, externalConnections?: KtList, statusCode?: number): B2BGetSSOConnectionsResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BGetSSOConnectionsResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BGetSSOConnectionsResponse; } } /** * Request type * @param impersonationToken * @param dfpTelemetryId * @param captchaToken */ export declare class B2BImpersonationTokenAuthenticateRequest { constructor(impersonationToken: string, dfpTelemetryId?: Nullable, captchaToken?: Nullable); get impersonationToken(): string; get dfpTelemetryId(): Nullable; get captchaToken(): Nullable; copy(impersonationToken?: string, dfpTelemetryId?: Nullable, captchaToken?: Nullable): B2BImpersonationTokenAuthenticateRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BImpersonationTokenAuthenticateRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BImpersonationTokenAuthenticateRequest; } } /** * Response type * @param requestId * @param memberId * @param organizationId * @param member * @param sessionToken * @param sessionJwt * @param organization * @param intermediateSessionToken * @param memberAuthenticated * @param statusCode * @param memberSession * @param mfaRequired */ export declare class B2BImpersonationTokenAuthenticateResponse implements StytchAPIResponse/*, AuthenticatedResponse, B2BResponse */ { constructor(requestId: string, memberId: string, organizationId: string, member: ApiOrganizationV1Member, sessionToken: string, sessionJwt: string, organization: ApiOrganizationV1Organization, intermediateSessionToken: string, memberAuthenticated: boolean, statusCode: number, memberSession?: Nullable, mfaRequired?: Nullable); get requestId(): string; get memberId(): string; get organizationId(): string; get memberAuthenticated(): boolean; get statusCode(): number; copy(requestId?: string, memberId?: string, organizationId?: string, member?: ApiOrganizationV1Member, sessionToken?: string, sessionJwt?: string, organization?: ApiOrganizationV1Organization, intermediateSessionToken?: string, memberAuthenticated?: boolean, statusCode?: number, memberSession?: Nullable, mfaRequired?: Nullable): B2BImpersonationTokenAuthenticateResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BImpersonationTokenAuthenticateResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BImpersonationTokenAuthenticateResponse; } } /** * Request type * @param magicLinksToken * @param sessionDurationMinutes * @param pkceCodeVerifier * @param locale * @param dfpTelemetryId * @param captchaToken * @param intermediateSessionToken */ export declare class B2BMagicLinksAuthenticateRequest { constructor(magicLinksToken: string, sessionDurationMinutes: number, pkceCodeVerifier?: Nullable, locale?: Nullable, dfpTelemetryId?: Nullable, captchaToken?: Nullable, intermediateSessionToken?: Nullable); get magicLinksToken(): string; get sessionDurationMinutes(): number; get pkceCodeVerifier(): Nullable; get locale(): Nullable; get dfpTelemetryId(): Nullable; get captchaToken(): Nullable; get intermediateSessionToken(): Nullable; copy(magicLinksToken?: string, sessionDurationMinutes?: number, pkceCodeVerifier?: Nullable, locale?: Nullable, dfpTelemetryId?: Nullable, captchaToken?: Nullable, intermediateSessionToken?: Nullable): B2BMagicLinksAuthenticateRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BMagicLinksAuthenticateRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BMagicLinksAuthenticateRequest; } } /** * Response type * @param requestId * @param memberId * @param methodId * @param resetSessions * @param organizationId * @param member * @param sessionToken * @param sessionJwt * @param organization * @param intermediateSessionToken * @param memberAuthenticated * @param statusCode * @param memberSession * @param mfaRequired * @param primaryRequired * @param memberDevice */ export declare class B2BMagicLinksAuthenticateResponse implements StytchAPIResponse/*, AuthenticatedResponse, B2BResponse */ { constructor(requestId: string, memberId: string, methodId: string, resetSessions: boolean, organizationId: string, member: ApiOrganizationV1Member, sessionToken: string, sessionJwt: string, organization: ApiOrganizationV1Organization, intermediateSessionToken: string, memberAuthenticated: boolean, statusCode: number, memberSession?: Nullable, mfaRequired?: Nullable, primaryRequired?: Nullable, memberDevice?: Nullable); get requestId(): string; get memberId(): string; get methodId(): string; get resetSessions(): boolean; get organizationId(): string; get memberAuthenticated(): boolean; get statusCode(): number; get primaryRequired(): Nullable; get memberDevice(): Nullable; copy(requestId?: string, memberId?: string, methodId?: string, resetSessions?: boolean, organizationId?: string, member?: ApiOrganizationV1Member, sessionToken?: string, sessionJwt?: string, organization?: ApiOrganizationV1Organization, intermediateSessionToken?: string, memberAuthenticated?: boolean, statusCode?: number, memberSession?: Nullable, mfaRequired?: Nullable, primaryRequired?: Nullable, memberDevice?: Nullable): B2BMagicLinksAuthenticateResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BMagicLinksAuthenticateResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BMagicLinksAuthenticateResponse; } } /** * Request type * @param discoveryMagicLinksToken * @param pkceCodeVerifier * @param dfpTelemetryId * @param captchaToken */ export declare class B2BMagicLinksDiscoveryAuthenticateRequest { constructor(discoveryMagicLinksToken: string, pkceCodeVerifier?: Nullable, dfpTelemetryId?: Nullable, captchaToken?: Nullable); get discoveryMagicLinksToken(): string; get pkceCodeVerifier(): Nullable; get dfpTelemetryId(): Nullable; get captchaToken(): Nullable; copy(discoveryMagicLinksToken?: string, pkceCodeVerifier?: Nullable, dfpTelemetryId?: Nullable, captchaToken?: Nullable): B2BMagicLinksDiscoveryAuthenticateRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BMagicLinksDiscoveryAuthenticateRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BMagicLinksDiscoveryAuthenticateRequest; } } /** * Response type * @param requestId * @param emailAddress * @param intermediateSessionToken * @param discoveredOrganizations * @param statusCode */ export declare class B2BMagicLinksDiscoveryAuthenticateResponse implements StytchAPIResponse/*, B2BResponse */ { constructor(requestId: string, emailAddress: string, intermediateSessionToken: string, discoveredOrganizations: KtList, statusCode: number); get requestId(): string; get emailAddress(): string; get discoveredOrganizations(): KtList; get statusCode(): number; copy(requestId?: string, emailAddress?: string, intermediateSessionToken?: string, discoveredOrganizations?: KtList, statusCode?: number): B2BMagicLinksDiscoveryAuthenticateResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BMagicLinksDiscoveryAuthenticateResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BMagicLinksDiscoveryAuthenticateResponse; } } /** * Request type * @param emailAddress * @param discoveryRedirectUrl * @param pkceCodeChallenge * @param loginTemplateId * @param locale * @param dfpTelemetryId * @param captchaToken * @param discoveryExpirationMinutes */ export declare class B2BMagicLinksDiscoveryEmailSendRequest { constructor(emailAddress: string, discoveryRedirectUrl?: Nullable, pkceCodeChallenge?: Nullable, loginTemplateId?: Nullable, locale?: Nullable, dfpTelemetryId?: Nullable, captchaToken?: Nullable, discoveryExpirationMinutes?: Nullable); get emailAddress(): string; get discoveryRedirectUrl(): Nullable; get pkceCodeChallenge(): Nullable; get loginTemplateId(): Nullable; get locale(): Nullable; get dfpTelemetryId(): Nullable; get captchaToken(): Nullable; get discoveryExpirationMinutes(): Nullable; copy(emailAddress?: string, discoveryRedirectUrl?: Nullable, pkceCodeChallenge?: Nullable, loginTemplateId?: Nullable, locale?: Nullable, dfpTelemetryId?: Nullable, captchaToken?: Nullable, discoveryExpirationMinutes?: Nullable): B2BMagicLinksDiscoveryEmailSendRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BMagicLinksDiscoveryEmailSendRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BMagicLinksDiscoveryEmailSendRequest; } } /** * Response type * @param requestId * @param statusCode */ export declare class B2BMagicLinksDiscoveryEmailSendResponse implements StytchAPIResponse { constructor(requestId: string, statusCode: number); get requestId(): string; get statusCode(): number; copy(requestId?: string, statusCode?: number): B2BMagicLinksDiscoveryEmailSendResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BMagicLinksDiscoveryEmailSendResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BMagicLinksDiscoveryEmailSendResponse; } } /** * Request type * @param emailAddress * @param inviteRedirectUrl * @param inviteTemplateId * @param name * @param untrustedMetadata * @param locale * @param roles */ export declare class B2BMagicLinksInviteRequest { constructor(emailAddress: string, inviteRedirectUrl?: Nullable, inviteTemplateId?: Nullable, name?: Nullable, untrustedMetadata?: Nullable>, locale?: Nullable, roles?: Nullable>); get emailAddress(): string; get inviteRedirectUrl(): Nullable; get inviteTemplateId(): Nullable; get name(): Nullable; get untrustedMetadata(): Nullable>; get locale(): Nullable; get roles(): Nullable>; copy(emailAddress?: string, inviteRedirectUrl?: Nullable, inviteTemplateId?: Nullable, name?: Nullable, untrustedMetadata?: Nullable>, locale?: Nullable, roles?: Nullable>): B2BMagicLinksInviteRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BMagicLinksInviteRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BMagicLinksInviteRequest; } } /** * Response type * @param requestId * @param memberId * @param member * @param organization * @param statusCode */ export declare class B2BMagicLinksInviteResponse implements StytchAPIResponse { constructor(requestId: string, memberId: string, member: ApiOrganizationV1Member, organization: ApiOrganizationV1Organization, statusCode: number); get requestId(): string; get memberId(): string; get member(): ApiOrganizationV1Member; get organization(): ApiOrganizationV1Organization; get statusCode(): number; copy(requestId?: string, memberId?: string, member?: ApiOrganizationV1Member, organization?: ApiOrganizationV1Organization, statusCode?: number): B2BMagicLinksInviteResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BMagicLinksInviteResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BMagicLinksInviteResponse; } } /** * Request type * @param emailAddress * @param organizationId * @param loginRedirectUrl * @param signupRedirectUrl * @param pkceCodeChallenge * @param loginTemplateId * @param signupTemplateId * @param locale */ export declare class B2BMagicLinksLoginOrSignupRequest { constructor(emailAddress: string, organizationId: string, loginRedirectUrl?: Nullable, signupRedirectUrl?: Nullable, pkceCodeChallenge?: Nullable, loginTemplateId?: Nullable, signupTemplateId?: Nullable, locale?: Nullable); get emailAddress(): string; get organizationId(): string; get loginRedirectUrl(): Nullable; get signupRedirectUrl(): Nullable; get pkceCodeChallenge(): Nullable; get loginTemplateId(): Nullable; get signupTemplateId(): Nullable; get locale(): Nullable; copy(emailAddress?: string, organizationId?: string, loginRedirectUrl?: Nullable, signupRedirectUrl?: Nullable, pkceCodeChallenge?: Nullable, loginTemplateId?: Nullable, signupTemplateId?: Nullable, locale?: Nullable): B2BMagicLinksLoginOrSignupRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BMagicLinksLoginOrSignupRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BMagicLinksLoginOrSignupRequest; } } /** * Response type * @param requestId * @param statusCode */ export declare class B2BMagicLinksLoginOrSignupResponse implements StytchAPIResponse { constructor(requestId: string, statusCode: number); get requestId(): string; get statusCode(): number; copy(requestId?: string, statusCode?: number): B2BMagicLinksLoginOrSignupResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BMagicLinksLoginOrSignupResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BMagicLinksLoginOrSignupResponse; } } /** * Request type * @param oauthToken * @param sessionDurationMinutes * @param pkceCodeVerifier * @param locale * @param dfpTelemetryId * @param captchaToken * @param intermediateSessionToken */ export declare class B2BOAuthAuthenticateRequest { constructor(oauthToken: string, sessionDurationMinutes?: Nullable, pkceCodeVerifier?: Nullable, locale?: Nullable, dfpTelemetryId?: Nullable, captchaToken?: Nullable, intermediateSessionToken?: Nullable); get oauthToken(): string; get sessionDurationMinutes(): Nullable; get pkceCodeVerifier(): Nullable; get locale(): Nullable; get dfpTelemetryId(): Nullable; get captchaToken(): Nullable; get intermediateSessionToken(): Nullable; copy(oauthToken?: string, sessionDurationMinutes?: Nullable, pkceCodeVerifier?: Nullable, locale?: Nullable, dfpTelemetryId?: Nullable, captchaToken?: Nullable, intermediateSessionToken?: Nullable): B2BOAuthAuthenticateRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BOAuthAuthenticateRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BOAuthAuthenticateRequest; } } /** * Response type * @param requestId * @param memberId * @param providerSubject * @param providerType * @param sessionToken * @param sessionJwt * @param member * @param organizationId * @param organization * @param resetSessions * @param memberAuthenticated * @param intermediateSessionToken * @param statusCode * @param memberSession * @param providerValues * @param mfaRequired * @param primaryRequired * @param memberDevice */ export declare class B2BOAuthAuthenticateResponse implements StytchAPIResponse/*, AuthenticatedResponse, B2BResponse */ { constructor(requestId: string, memberId: string, providerSubject: string, providerType: string, sessionToken: string, sessionJwt: string, member: ApiOrganizationV1Member, organizationId: string, organization: ApiOrganizationV1Organization, resetSessions: boolean, memberAuthenticated: boolean, intermediateSessionToken: string, statusCode: number, memberSession?: Nullable, providerValues?: Nullable, mfaRequired?: Nullable, primaryRequired?: Nullable, memberDevice?: Nullable); get requestId(): string; get memberId(): string; get providerSubject(): string; get providerType(): string; get organizationId(): string; get resetSessions(): boolean; get memberAuthenticated(): boolean; get statusCode(): number; get providerValues(): Nullable; get primaryRequired(): Nullable; get memberDevice(): Nullable; copy(requestId?: string, memberId?: string, providerSubject?: string, providerType?: string, sessionToken?: string, sessionJwt?: string, member?: ApiOrganizationV1Member, organizationId?: string, organization?: ApiOrganizationV1Organization, resetSessions?: boolean, memberAuthenticated?: boolean, intermediateSessionToken?: string, statusCode?: number, memberSession?: Nullable, providerValues?: Nullable, mfaRequired?: Nullable, primaryRequired?: Nullable, memberDevice?: Nullable): B2BOAuthAuthenticateResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BOAuthAuthenticateResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BOAuthAuthenticateResponse; } } /** * Request type * @param clientId * @param redirectUri * @param responseType * @param scope * @param state * @param nonce * @param codeChallenge * @param consentGranted * @param prompt * @param resources */ export declare class B2BOAuthAuthorizeRequest { constructor(clientId: string, redirectUri: string, responseType: string, scope: string, state?: Nullable, nonce?: Nullable, codeChallenge?: Nullable, consentGranted?: Nullable, prompt?: Nullable, resources?: Nullable>); get clientId(): string; get redirectUri(): string; get responseType(): string; get scope(): string; get state(): Nullable; get nonce(): Nullable; get codeChallenge(): Nullable; get consentGranted(): Nullable; get prompt(): Nullable; get resources(): Nullable>; copy(clientId?: string, redirectUri?: string, responseType?: string, scope?: string, state?: Nullable, nonce?: Nullable, codeChallenge?: Nullable, consentGranted?: Nullable, prompt?: Nullable, resources?: Nullable>): B2BOAuthAuthorizeRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BOAuthAuthorizeRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BOAuthAuthorizeRequest; } } /** * Response type * @param requestId * @param redirectUrl * @param statusCode */ export declare class B2BOAuthAuthorizeResponse implements StytchAPIResponse { constructor(requestId: string, redirectUrl: string, statusCode: number); get requestId(): string; get redirectUrl(): string; get statusCode(): number; copy(requestId?: string, redirectUrl?: string, statusCode?: number): B2BOAuthAuthorizeResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BOAuthAuthorizeResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BOAuthAuthorizeResponse; } } /** * Request type * @param clientId * @param redirectUri * @param responseType * @param scope * @param prompt */ export declare class B2BOAuthAuthorizeStartRequest { constructor(clientId: string, redirectUri: string, responseType: string, scope: string, prompt?: Nullable); get clientId(): string; get redirectUri(): string; get responseType(): string; get scope(): string; get prompt(): Nullable; copy(clientId?: string, redirectUri?: string, responseType?: string, scope?: string, prompt?: Nullable): B2BOAuthAuthorizeStartRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BOAuthAuthorizeStartRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BOAuthAuthorizeStartRequest; } } /** * Response type * @param requestId * @param consentRequired * @param grantableScope * @param ungrantableScope * @param statusCode * @param oidcClient */ export declare class B2BOAuthAuthorizeStartResponse implements StytchAPIResponse { constructor(requestId: string, consentRequired: boolean, grantableScope: string, ungrantableScope: string, statusCode: number, oidcClient?: Nullable); get requestId(): string; get consentRequired(): boolean; get grantableScope(): string; get ungrantableScope(): string; get statusCode(): number; get oidcClient(): Nullable; copy(requestId?: string, consentRequired?: boolean, grantableScope?: string, ungrantableScope?: string, statusCode?: number, oidcClient?: Nullable): B2BOAuthAuthorizeStartResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BOAuthAuthorizeStartResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BOAuthAuthorizeStartResponse; } } /** * Request type * @param discoveryOauthToken * @param pkceCodeVerifier * @param dfpTelemetryId * @param captchaToken */ export declare class B2BOAuthDiscoveryAuthenticateRequest { constructor(discoveryOauthToken: string, pkceCodeVerifier?: Nullable, dfpTelemetryId?: Nullable, captchaToken?: Nullable); get discoveryOauthToken(): string; get pkceCodeVerifier(): Nullable; get dfpTelemetryId(): Nullable; get captchaToken(): Nullable; copy(discoveryOauthToken?: string, pkceCodeVerifier?: Nullable, dfpTelemetryId?: Nullable, captchaToken?: Nullable): B2BOAuthDiscoveryAuthenticateRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BOAuthDiscoveryAuthenticateRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BOAuthDiscoveryAuthenticateRequest; } } /** * Response type * @param requestId * @param intermediateSessionToken * @param emailAddress * @param discoveredOrganizations * @param providerType * @param providerTenantId * @param fullName * @param statusCode */ export declare class B2BOAuthDiscoveryAuthenticateResponse implements StytchAPIResponse/*, B2BResponse */ { constructor(requestId: string, intermediateSessionToken: string, emailAddress: string, discoveredOrganizations: KtList, providerType: string, providerTenantId: string, fullName: string, statusCode: number); get requestId(): string; get emailAddress(): string; get discoveredOrganizations(): KtList; get providerType(): string; get providerTenantId(): string; get fullName(): string; get statusCode(): number; copy(requestId?: string, intermediateSessionToken?: string, emailAddress?: string, discoveredOrganizations?: KtList, providerType?: string, providerTenantId?: string, fullName?: string, statusCode?: number): B2BOAuthDiscoveryAuthenticateResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BOAuthDiscoveryAuthenticateResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BOAuthDiscoveryAuthenticateResponse; } } /** * Request type * @param idToken * @param discoveryRedirectUrl * @param pkceCodeChallenge */ export declare class B2BOAuthGoogleOneTapDiscoverySubmitRequest { constructor(idToken: string, discoveryRedirectUrl?: Nullable, pkceCodeChallenge?: Nullable); get idToken(): string; get discoveryRedirectUrl(): Nullable; get pkceCodeChallenge(): Nullable; copy(idToken?: string, discoveryRedirectUrl?: Nullable, pkceCodeChallenge?: Nullable): B2BOAuthGoogleOneTapDiscoverySubmitRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BOAuthGoogleOneTapDiscoverySubmitRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BOAuthGoogleOneTapDiscoverySubmitRequest; } } /** * Response type * @param requestId * @param redirectUrl * @param statusCode */ export declare class B2BOAuthGoogleOneTapDiscoverySubmitResponse implements StytchAPIResponse { constructor(requestId: string, redirectUrl: string, statusCode: number); get requestId(): string; get redirectUrl(): string; get statusCode(): number; copy(requestId?: string, redirectUrl?: string, statusCode?: number): B2BOAuthGoogleOneTapDiscoverySubmitResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BOAuthGoogleOneTapDiscoverySubmitResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BOAuthGoogleOneTapDiscoverySubmitResponse; } } /** * Response type * @param requestId * @param googleClientId * @param statusCode */ export declare class B2BOAuthGoogleOneTapStartResponse implements StytchAPIResponse { constructor(requestId: string, googleClientId: string, statusCode: number); get requestId(): string; get googleClientId(): string; get statusCode(): number; copy(requestId?: string, googleClientId?: string, statusCode?: number): B2BOAuthGoogleOneTapStartResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BOAuthGoogleOneTapStartResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BOAuthGoogleOneTapStartResponse; } } /** * Request type * @param idToken * @param organizationId * @param loginRedirectUrl * @param signupRedirectUrl * @param pkceCodeChallenge */ export declare class B2BOAuthGoogleOneTapSubmitRequest { constructor(idToken: string, organizationId: string, loginRedirectUrl?: Nullable, signupRedirectUrl?: Nullable, pkceCodeChallenge?: Nullable); get idToken(): string; get organizationId(): string; get loginRedirectUrl(): Nullable; get signupRedirectUrl(): Nullable; get pkceCodeChallenge(): Nullable; copy(idToken?: string, organizationId?: string, loginRedirectUrl?: Nullable, signupRedirectUrl?: Nullable, pkceCodeChallenge?: Nullable): B2BOAuthGoogleOneTapSubmitRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BOAuthGoogleOneTapSubmitRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BOAuthGoogleOneTapSubmitRequest; } } /** * Response type * @param requestId * @param redirectUrl * @param statusCode */ export declare class B2BOAuthGoogleOneTapSubmitResponse implements StytchAPIResponse { constructor(requestId: string, redirectUrl: string, statusCode: number); get requestId(): string; get redirectUrl(): string; get statusCode(): number; copy(requestId?: string, redirectUrl?: string, statusCode?: number): B2BOAuthGoogleOneTapSubmitResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BOAuthGoogleOneTapSubmitResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BOAuthGoogleOneTapSubmitResponse; } } /** * Request type * @param organizationId * @param emailAddress * @param code * @param sessionDurationMinutes * @param intermediateSessionToken * @param locale * @param captchaToken * @param dfpTelemetryId */ export declare class B2BOTPsEmailAuthenticateRequest { constructor(organizationId: string, emailAddress: string, code: string, sessionDurationMinutes: number, intermediateSessionToken?: Nullable, locale?: Nullable, captchaToken?: Nullable, dfpTelemetryId?: Nullable); get organizationId(): string; get emailAddress(): string; get code(): string; get sessionDurationMinutes(): number; get intermediateSessionToken(): Nullable; get locale(): Nullable; get captchaToken(): Nullable; get dfpTelemetryId(): Nullable; copy(organizationId?: string, emailAddress?: string, code?: string, sessionDurationMinutes?: number, intermediateSessionToken?: Nullable, locale?: Nullable, captchaToken?: Nullable, dfpTelemetryId?: Nullable): B2BOTPsEmailAuthenticateRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BOTPsEmailAuthenticateRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BOTPsEmailAuthenticateRequest; } } /** * Response type * @param requestId * @param memberId * @param methodId * @param organizationId * @param member * @param sessionToken * @param sessionJwt * @param organization * @param intermediateSessionToken * @param memberAuthenticated * @param statusCode * @param memberSession * @param mfaRequired * @param primaryRequired * @param memberDevice */ export declare class B2BOTPsEmailAuthenticateResponse implements StytchAPIResponse/*, AuthenticatedResponse, B2BResponse */ { constructor(requestId: string, memberId: string, methodId: string, organizationId: string, member: ApiOrganizationV1Member, sessionToken: string, sessionJwt: string, organization: ApiOrganizationV1Organization, intermediateSessionToken: string, memberAuthenticated: boolean, statusCode: number, memberSession?: Nullable, mfaRequired?: Nullable, primaryRequired?: Nullable, memberDevice?: Nullable); get requestId(): string; get memberId(): string; get methodId(): string; get organizationId(): string; get memberAuthenticated(): boolean; get statusCode(): number; get primaryRequired(): Nullable; get memberDevice(): Nullable; copy(requestId?: string, memberId?: string, methodId?: string, organizationId?: string, member?: ApiOrganizationV1Member, sessionToken?: string, sessionJwt?: string, organization?: ApiOrganizationV1Organization, intermediateSessionToken?: string, memberAuthenticated?: boolean, statusCode?: number, memberSession?: Nullable, mfaRequired?: Nullable, primaryRequired?: Nullable, memberDevice?: Nullable): B2BOTPsEmailAuthenticateResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BOTPsEmailAuthenticateResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BOTPsEmailAuthenticateResponse; } } /** * Request type * @param emailAddress * @param code * @param captchaToken * @param dfpTelemetryId */ export declare class B2BOTPsEmailDiscoveryAuthenticateRequest { constructor(emailAddress: string, code: string, captchaToken?: Nullable, dfpTelemetryId?: Nullable); get emailAddress(): string; get code(): string; get captchaToken(): Nullable; get dfpTelemetryId(): Nullable; copy(emailAddress?: string, code?: string, captchaToken?: Nullable, dfpTelemetryId?: Nullable): B2BOTPsEmailDiscoveryAuthenticateRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BOTPsEmailDiscoveryAuthenticateRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BOTPsEmailDiscoveryAuthenticateRequest; } } /** * Response type * @param requestId * @param emailAddress * @param intermediateSessionToken * @param discoveredOrganizations * @param statusCode */ export declare class B2BOTPsEmailDiscoveryAuthenticateResponse implements StytchAPIResponse/*, B2BResponse */ { constructor(requestId: string, emailAddress: string, intermediateSessionToken: string, discoveredOrganizations: KtList, statusCode: number); get requestId(): string; get emailAddress(): string; get discoveredOrganizations(): KtList; get statusCode(): number; copy(requestId?: string, emailAddress?: string, intermediateSessionToken?: string, discoveredOrganizations?: KtList, statusCode?: number): B2BOTPsEmailDiscoveryAuthenticateResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BOTPsEmailDiscoveryAuthenticateResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BOTPsEmailDiscoveryAuthenticateResponse; } } /** * Request type * @param emailAddress * @param loginTemplateId * @param locale * @param captchaToken * @param dfpTelemetryId * @param discoveryExpirationMinutes */ export declare class B2BOTPsEmailDiscoverySendRequest { constructor(emailAddress: string, loginTemplateId?: Nullable, locale?: Nullable, captchaToken?: Nullable, dfpTelemetryId?: Nullable, discoveryExpirationMinutes?: Nullable); get emailAddress(): string; get loginTemplateId(): Nullable; get locale(): Nullable; get captchaToken(): Nullable; get dfpTelemetryId(): Nullable; get discoveryExpirationMinutes(): Nullable; copy(emailAddress?: string, loginTemplateId?: Nullable, locale?: Nullable, captchaToken?: Nullable, dfpTelemetryId?: Nullable, discoveryExpirationMinutes?: Nullable): B2BOTPsEmailDiscoverySendRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BOTPsEmailDiscoverySendRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BOTPsEmailDiscoverySendRequest; } } /** * Response type * @param requestId * @param statusCode */ export declare class B2BOTPsEmailDiscoverySendResponse implements StytchAPIResponse { constructor(requestId: string, statusCode: number); get requestId(): string; get statusCode(): number; copy(requestId?: string, statusCode?: number): B2BOTPsEmailDiscoverySendResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BOTPsEmailDiscoverySendResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BOTPsEmailDiscoverySendResponse; } } /** * Request type * @param organizationId * @param emailAddress * @param loginTemplateId * @param signupTemplateId * @param locale * @param captchaToken * @param dfpTelemetryId * @param loginExpirationMinutes * @param signupExpirationMinutes */ export declare class B2BOTPsEmailLoginOrSignupRequest { constructor(organizationId: string, emailAddress: string, loginTemplateId?: Nullable, signupTemplateId?: Nullable, locale?: Nullable, captchaToken?: Nullable, dfpTelemetryId?: Nullable, loginExpirationMinutes?: Nullable, signupExpirationMinutes?: Nullable); get organizationId(): string; get emailAddress(): string; get loginTemplateId(): Nullable; get signupTemplateId(): Nullable; get locale(): Nullable; get captchaToken(): Nullable; get dfpTelemetryId(): Nullable; get loginExpirationMinutes(): Nullable; get signupExpirationMinutes(): Nullable; copy(organizationId?: string, emailAddress?: string, loginTemplateId?: Nullable, signupTemplateId?: Nullable, locale?: Nullable, captchaToken?: Nullable, dfpTelemetryId?: Nullable, loginExpirationMinutes?: Nullable, signupExpirationMinutes?: Nullable): B2BOTPsEmailLoginOrSignupRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BOTPsEmailLoginOrSignupRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BOTPsEmailLoginOrSignupRequest; } } /** * Response type * @param requestId * @param statusCode */ export declare class B2BOTPsEmailLoginOrSignupResponse implements StytchAPIResponse { constructor(requestId: string, statusCode: number); get requestId(): string; get statusCode(): number; copy(requestId?: string, statusCode?: number): B2BOTPsEmailLoginOrSignupResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BOTPsEmailLoginOrSignupResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BOTPsEmailLoginOrSignupResponse; } } /** * Request type * @param organizationId * @param memberId * @param code * @param sessionDurationMinutes * @param intermediateSessionToken * @param setMfaEnrollment * @param captchaToken * @param dfpTelemetryId */ export declare class B2BOTPsSMSAuthenticateRequest { constructor(organizationId: string, memberId: string, code: string, sessionDurationMinutes: number, intermediateSessionToken?: Nullable, setMfaEnrollment?: Nullable, captchaToken?: Nullable, dfpTelemetryId?: Nullable); get organizationId(): string; get memberId(): string; get code(): string; get sessionDurationMinutes(): number; get intermediateSessionToken(): Nullable; get setMfaEnrollment(): Nullable; get captchaToken(): Nullable; get dfpTelemetryId(): Nullable; copy(organizationId?: string, memberId?: string, code?: string, sessionDurationMinutes?: number, intermediateSessionToken?: Nullable, setMfaEnrollment?: Nullable, captchaToken?: Nullable, dfpTelemetryId?: Nullable): B2BOTPsSMSAuthenticateRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BOTPsSMSAuthenticateRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BOTPsSMSAuthenticateRequest; } } /** * Response type * @param requestId * @param memberId * @param member * @param organization * @param sessionToken * @param sessionJwt * @param statusCode * @param memberSession * @param memberDevice */ export declare class B2BOTPsSMSAuthenticateResponse implements StytchAPIResponse/*, AuthenticatedResponse */ { constructor(requestId: string, memberId: string, member: ApiOrganizationV1Member, organization: ApiOrganizationV1Organization, sessionToken: string, sessionJwt: string, statusCode: number, memberSession?: Nullable, memberDevice?: Nullable); get requestId(): string; get memberId(): string; get statusCode(): number; get memberDevice(): Nullable; copy(requestId?: string, memberId?: string, member?: ApiOrganizationV1Member, organization?: ApiOrganizationV1Organization, sessionToken?: string, sessionJwt?: string, statusCode?: number, memberSession?: Nullable, memberDevice?: Nullable): B2BOTPsSMSAuthenticateResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BOTPsSMSAuthenticateResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BOTPsSMSAuthenticateResponse; } } /** * Request type * @param organizationId * @param memberId * @param mfaPhoneNumber * @param locale * @param intermediateSessionToken * @param captchaToken * @param dfpTelemetryId * @param enableAutofill */ export declare class B2BOTPsSMSSendRequest { constructor(organizationId: string, memberId: string, mfaPhoneNumber?: Nullable, locale?: Nullable, intermediateSessionToken?: Nullable, captchaToken?: Nullable, dfpTelemetryId?: Nullable, enableAutofill?: Nullable); get organizationId(): string; get memberId(): string; get mfaPhoneNumber(): Nullable; get locale(): Nullable; get intermediateSessionToken(): Nullable; get captchaToken(): Nullable; get dfpTelemetryId(): Nullable; get enableAutofill(): Nullable; copy(organizationId?: string, memberId?: string, mfaPhoneNumber?: Nullable, locale?: Nullable, intermediateSessionToken?: Nullable, captchaToken?: Nullable, dfpTelemetryId?: Nullable, enableAutofill?: Nullable): B2BOTPsSMSSendRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BOTPsSMSSendRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BOTPsSMSSendRequest; } } /** * Response type * @param requestId * @param statusCode */ export declare class B2BOTPsSMSSendResponse implements StytchAPIResponse { constructor(requestId: string, statusCode: number); get requestId(): string; get statusCode(): number; copy(requestId?: string, statusCode?: number): B2BOTPsSMSSendResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BOTPsSMSSendResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BOTPsSMSSendResponse; } } /** @param mfaControlsEnabled */ export declare class B2BOrganizationConfig { constructor(mfaControlsEnabled: boolean); get mfaControlsEnabled(): boolean; copy(mfaControlsEnabled?: boolean): B2BOrganizationConfig; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BOrganizationConfig { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BOrganizationConfig; } } /** * Response type * @param requestId * @param organizationId * @param statusCode */ export declare class B2BOrganizationsDeleteResponse implements StytchAPIResponse { constructor(requestId: string, organizationId: string, statusCode: number); get requestId(): string; get organizationId(): string; get statusCode(): number; copy(requestId?: string, organizationId?: string, statusCode?: number): B2BOrganizationsDeleteResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BOrganizationsDeleteResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BOrganizationsDeleteResponse; } } /** * Response type * @param requestId * @param statusCode * @param organization */ export declare class B2BOrganizationsGetResponse implements StytchAPIResponse { constructor(requestId: string, statusCode: number, organization?: Nullable); get requestId(): string; get statusCode(): number; get organization(): Nullable; copy(requestId?: string, statusCode?: number, organization?: Nullable): B2BOrganizationsGetResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BOrganizationsGetResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BOrganizationsGetResponse; } } /** * Request type * @param organizationName * @param organizationSlug * @param organizationLogoUrl * @param ssoDefaultConnectionId * @param ssoJitProvisioning * @param ssoJitProvisioningAllowedConnections * @param emailAllowedDomains * @param emailJitProvisioning * @param emailInvites * @param authMethods * @param allowedAuthMethods * @param mfaPolicy * @param rbacEmailImplicitRoleAssignments * @param mfaMethods * @param allowedMfaMethods * @param oauthTenantJitProvisioning * @param allowedOauthTenants * @param firstPartyConnectedAppsAllowedType * @param allowedFirstPartyConnectedApps * @param thirdPartyConnectedAppsAllowedType * @param allowedThirdPartyConnectedApps * @param organizationExternalId */ export declare class B2BOrganizationsUpdateRequest { constructor(organizationName?: Nullable, organizationSlug?: Nullable, organizationLogoUrl?: Nullable, ssoDefaultConnectionId?: Nullable, ssoJitProvisioning?: Nullable, ssoJitProvisioningAllowedConnections?: Nullable>, emailAllowedDomains?: Nullable>, emailJitProvisioning?: Nullable, emailInvites?: Nullable, authMethods?: Nullable, allowedAuthMethods?: Nullable>, mfaPolicy?: Nullable, rbacEmailImplicitRoleAssignments?: Nullable>, mfaMethods?: Nullable, allowedMfaMethods?: Nullable>, oauthTenantJitProvisioning?: Nullable, allowedOauthTenants?: Nullable>, firstPartyConnectedAppsAllowedType?: Nullable, allowedFirstPartyConnectedApps?: Nullable>, thirdPartyConnectedAppsAllowedType?: Nullable, allowedThirdPartyConnectedApps?: Nullable>, organizationExternalId?: Nullable); get organizationName(): Nullable; get organizationSlug(): Nullable; get organizationLogoUrl(): Nullable; get ssoDefaultConnectionId(): Nullable; get ssoJitProvisioning(): Nullable; get ssoJitProvisioningAllowedConnections(): Nullable>; get emailAllowedDomains(): Nullable>; get emailJitProvisioning(): Nullable; get emailInvites(): Nullable; get authMethods(): Nullable; get allowedAuthMethods(): Nullable>; get mfaPolicy(): Nullable; get rbacEmailImplicitRoleAssignments(): Nullable>; get mfaMethods(): Nullable; get allowedMfaMethods(): Nullable>; get oauthTenantJitProvisioning(): Nullable; get allowedOauthTenants(): Nullable>; get firstPartyConnectedAppsAllowedType(): Nullable; get allowedFirstPartyConnectedApps(): Nullable>; get thirdPartyConnectedAppsAllowedType(): Nullable; get allowedThirdPartyConnectedApps(): Nullable>; get organizationExternalId(): Nullable; copy(organizationName?: Nullable, organizationSlug?: Nullable, organizationLogoUrl?: Nullable, ssoDefaultConnectionId?: Nullable, ssoJitProvisioning?: Nullable, ssoJitProvisioningAllowedConnections?: Nullable>, emailAllowedDomains?: Nullable>, emailJitProvisioning?: Nullable, emailInvites?: Nullable, authMethods?: Nullable, allowedAuthMethods?: Nullable>, mfaPolicy?: Nullable, rbacEmailImplicitRoleAssignments?: Nullable>, mfaMethods?: Nullable, allowedMfaMethods?: Nullable>, oauthTenantJitProvisioning?: Nullable, allowedOauthTenants?: Nullable>, firstPartyConnectedAppsAllowedType?: Nullable, allowedFirstPartyConnectedApps?: Nullable>, thirdPartyConnectedAppsAllowedType?: Nullable, allowedThirdPartyConnectedApps?: Nullable>, organizationExternalId?: Nullable): B2BOrganizationsUpdateRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BOrganizationsUpdateRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BOrganizationsUpdateRequest; } } /** * Response type * @param requestId * @param statusCode * @param organization */ export declare class B2BOrganizationsUpdateResponse implements StytchAPIResponse { constructor(requestId: string, statusCode: number, organization?: Nullable); get requestId(): string; get statusCode(): number; get organization(): Nullable; copy(requestId?: string, statusCode?: number, organization?: Nullable): B2BOrganizationsUpdateResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BOrganizationsUpdateResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BOrganizationsUpdateResponse; } } /** * Request type * @param organizationId * @param emailAddress * @param password * @param sessionDurationMinutes * @param locale * @param intermediateSessionToken * @param dfpTelemetryId * @param captchaToken */ export declare class B2BPasswordAuthenticateRequest { constructor(organizationId: string, emailAddress: string, password: string, sessionDurationMinutes: number, locale?: Nullable, intermediateSessionToken?: Nullable, dfpTelemetryId?: Nullable, captchaToken?: Nullable); get organizationId(): string; get emailAddress(): string; get password(): string; get sessionDurationMinutes(): number; get locale(): Nullable; get intermediateSessionToken(): Nullable; get dfpTelemetryId(): Nullable; get captchaToken(): Nullable; copy(organizationId?: string, emailAddress?: string, password?: string, sessionDurationMinutes?: number, locale?: Nullable, intermediateSessionToken?: Nullable, dfpTelemetryId?: Nullable, captchaToken?: Nullable): B2BPasswordAuthenticateRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BPasswordAuthenticateRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BPasswordAuthenticateRequest; } } /** * Response type * @param requestId * @param memberId * @param organizationId * @param member * @param sessionToken * @param sessionJwt * @param organization * @param intermediateSessionToken * @param memberAuthenticated * @param statusCode * @param memberSession * @param mfaRequired * @param primaryRequired * @param memberDevice */ export declare class B2BPasswordAuthenticateResponse implements StytchAPIResponse/*, AuthenticatedResponse, B2BResponse */ { constructor(requestId: string, memberId: string, organizationId: string, member: ApiOrganizationV1Member, sessionToken: string, sessionJwt: string, organization: ApiOrganizationV1Organization, intermediateSessionToken: string, memberAuthenticated: boolean, statusCode: number, memberSession?: Nullable, mfaRequired?: Nullable, primaryRequired?: Nullable, memberDevice?: Nullable); get requestId(): string; get memberId(): string; get organizationId(): string; get memberAuthenticated(): boolean; get statusCode(): number; get primaryRequired(): Nullable; get memberDevice(): Nullable; copy(requestId?: string, memberId?: string, organizationId?: string, member?: ApiOrganizationV1Member, sessionToken?: string, sessionJwt?: string, organization?: ApiOrganizationV1Organization, intermediateSessionToken?: string, memberAuthenticated?: boolean, statusCode?: number, memberSession?: Nullable, mfaRequired?: Nullable, primaryRequired?: Nullable, memberDevice?: Nullable): B2BPasswordAuthenticateResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BPasswordAuthenticateResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BPasswordAuthenticateResponse; } } /** * Request type * @param emailAddress * @param password * @param dfpTelemetryId * @param captchaToken */ export declare class B2BPasswordDiscoveryAuthenticateRequest { constructor(emailAddress: string, password: string, dfpTelemetryId?: Nullable, captchaToken?: Nullable); get emailAddress(): string; get password(): string; get dfpTelemetryId(): Nullable; get captchaToken(): Nullable; copy(emailAddress?: string, password?: string, dfpTelemetryId?: Nullable, captchaToken?: Nullable): B2BPasswordDiscoveryAuthenticateRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BPasswordDiscoveryAuthenticateRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BPasswordDiscoveryAuthenticateRequest; } } /** * Response type * @param requestId * @param emailAddress * @param intermediateSessionToken * @param discoveredOrganizations * @param statusCode */ export declare class B2BPasswordDiscoveryAuthenticateResponse implements StytchAPIResponse/*, B2BResponse */ { constructor(requestId: string, emailAddress: string, intermediateSessionToken: string, discoveredOrganizations: KtList, statusCode: number); get requestId(): string; get emailAddress(): string; get discoveredOrganizations(): KtList; get statusCode(): number; copy(requestId?: string, emailAddress?: string, intermediateSessionToken?: string, discoveredOrganizations?: KtList, statusCode?: number): B2BPasswordDiscoveryAuthenticateResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BPasswordDiscoveryAuthenticateResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BPasswordDiscoveryAuthenticateResponse; } } /** * Request type * @param passwordResetToken * @param password * @param sessionDurationMinutes * @param codeVerifier * @param captchaToken * @param dfpTelemetryId * @param locale * @param intermediateSessionToken */ export declare class B2BPasswordEmailResetRequest { constructor(passwordResetToken: string, password: string, sessionDurationMinutes: number, codeVerifier?: Nullable, captchaToken?: Nullable, dfpTelemetryId?: Nullable, locale?: Nullable, intermediateSessionToken?: Nullable); get passwordResetToken(): string; get password(): string; get sessionDurationMinutes(): number; get codeVerifier(): Nullable; get captchaToken(): Nullable; get dfpTelemetryId(): Nullable; get locale(): Nullable; get intermediateSessionToken(): Nullable; copy(passwordResetToken?: string, password?: string, sessionDurationMinutes?: number, codeVerifier?: Nullable, captchaToken?: Nullable, dfpTelemetryId?: Nullable, locale?: Nullable, intermediateSessionToken?: Nullable): B2BPasswordEmailResetRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BPasswordEmailResetRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BPasswordEmailResetRequest; } } /** * Response type * @param requestId * @param memberId * @param memberEmailId * @param organizationId * @param member * @param sessionToken * @param sessionJwt * @param organization * @param intermediateSessionToken * @param memberAuthenticated * @param statusCode * @param memberSession * @param mfaRequired * @param primaryRequired * @param memberDevice */ export declare class B2BPasswordEmailResetResponse implements StytchAPIResponse/*, AuthenticatedResponse, B2BResponse */ { constructor(requestId: string, memberId: string, memberEmailId: string, organizationId: string, member: ApiOrganizationV1Member, sessionToken: string, sessionJwt: string, organization: ApiOrganizationV1Organization, intermediateSessionToken: string, memberAuthenticated: boolean, statusCode: number, memberSession?: Nullable, mfaRequired?: Nullable, primaryRequired?: Nullable, memberDevice?: Nullable); get requestId(): string; get memberId(): string; get memberEmailId(): string; get organizationId(): string; get memberAuthenticated(): boolean; get statusCode(): number; get primaryRequired(): Nullable; get memberDevice(): Nullable; copy(requestId?: string, memberId?: string, memberEmailId?: string, organizationId?: string, member?: ApiOrganizationV1Member, sessionToken?: string, sessionJwt?: string, organization?: ApiOrganizationV1Organization, intermediateSessionToken?: string, memberAuthenticated?: boolean, statusCode?: number, memberSession?: Nullable, mfaRequired?: Nullable, primaryRequired?: Nullable, memberDevice?: Nullable): B2BPasswordEmailResetResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BPasswordEmailResetResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BPasswordEmailResetResponse; } } /** * Request type * @param organizationId * @param emailAddress * @param loginRedirectUrl * @param resetPasswordRedirectUrl * @param resetPasswordExpirationMinutes * @param resetPasswordTemplateId * @param codeChallenge * @param locale * @param dfpTelemetryId * @param captchaToken * @param verifyEmailTemplateId */ export declare class B2BPasswordEmailResetStartRequest { constructor(organizationId: string, emailAddress: string, loginRedirectUrl?: Nullable, resetPasswordRedirectUrl?: Nullable, resetPasswordExpirationMinutes?: Nullable, resetPasswordTemplateId?: Nullable, codeChallenge?: Nullable, locale?: Nullable, dfpTelemetryId?: Nullable, captchaToken?: Nullable, verifyEmailTemplateId?: Nullable); get organizationId(): string; get emailAddress(): string; get loginRedirectUrl(): Nullable; get resetPasswordRedirectUrl(): Nullable; get resetPasswordExpirationMinutes(): Nullable; get resetPasswordTemplateId(): Nullable; get codeChallenge(): Nullable; get locale(): Nullable; get dfpTelemetryId(): Nullable; get captchaToken(): Nullable; get verifyEmailTemplateId(): Nullable; copy(organizationId?: string, emailAddress?: string, loginRedirectUrl?: Nullable, resetPasswordRedirectUrl?: Nullable, resetPasswordExpirationMinutes?: Nullable, resetPasswordTemplateId?: Nullable, codeChallenge?: Nullable, locale?: Nullable, dfpTelemetryId?: Nullable, captchaToken?: Nullable, verifyEmailTemplateId?: Nullable): B2BPasswordEmailResetStartRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BPasswordEmailResetStartRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BPasswordEmailResetStartRequest; } } /** * Response type * @param requestId * @param statusCode */ export declare class B2BPasswordEmailResetStartResponse implements StytchAPIResponse { constructor(requestId: string, statusCode: number); get requestId(): string; get statusCode(): number; copy(requestId?: string, statusCode?: number): B2BPasswordEmailResetStartResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BPasswordEmailResetStartResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BPasswordEmailResetStartResponse; } } /** * Request type * @param organizationId * @param emailAddress * @param existingPassword * @param newPassword * @param sessionDurationMinutes * @param locale * @param captchaToken * @param dfpTelemetryId */ export declare class B2BPasswordExistingPasswordResetRequest { constructor(organizationId: string, emailAddress: string, existingPassword: string, newPassword: string, sessionDurationMinutes: number, locale?: Nullable, captchaToken?: Nullable, dfpTelemetryId?: Nullable); get organizationId(): string; get emailAddress(): string; get existingPassword(): string; get newPassword(): string; get sessionDurationMinutes(): number; get locale(): Nullable; get captchaToken(): Nullable; get dfpTelemetryId(): Nullable; copy(organizationId?: string, emailAddress?: string, existingPassword?: string, newPassword?: string, sessionDurationMinutes?: number, locale?: Nullable, captchaToken?: Nullable, dfpTelemetryId?: Nullable): B2BPasswordExistingPasswordResetRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BPasswordExistingPasswordResetRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BPasswordExistingPasswordResetRequest; } } /** * Response type * @param requestId * @param memberId * @param member * @param sessionToken * @param sessionJwt * @param organization * @param intermediateSessionToken * @param memberAuthenticated * @param statusCode * @param memberSession * @param mfaRequired * @param primaryRequired * @param memberDevice */ export declare class B2BPasswordExistingPasswordResetResponse implements StytchAPIResponse/*, AuthenticatedResponse, B2BResponse */ { constructor(requestId: string, memberId: string, member: ApiOrganizationV1Member, sessionToken: string, sessionJwt: string, organization: ApiOrganizationV1Organization, intermediateSessionToken: string, memberAuthenticated: boolean, statusCode: number, memberSession?: Nullable, mfaRequired?: Nullable, primaryRequired?: Nullable, memberDevice?: Nullable); get requestId(): string; get memberId(): string; get memberAuthenticated(): boolean; get statusCode(): number; get primaryRequired(): Nullable; get memberDevice(): Nullable; copy(requestId?: string, memberId?: string, member?: ApiOrganizationV1Member, sessionToken?: string, sessionJwt?: string, organization?: ApiOrganizationV1Organization, intermediateSessionToken?: string, memberAuthenticated?: boolean, statusCode?: number, memberSession?: Nullable, mfaRequired?: Nullable, primaryRequired?: Nullable, memberDevice?: Nullable): B2BPasswordExistingPasswordResetResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BPasswordExistingPasswordResetResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BPasswordExistingPasswordResetResponse; } } /** * Request type * @param password * @param dfpTelemetryId * @param captchaToken */ export declare class B2BPasswordSessionResetRequest { constructor(password: string, dfpTelemetryId?: Nullable, captchaToken?: Nullable); get password(): string; get dfpTelemetryId(): Nullable; get captchaToken(): Nullable; copy(password?: string, dfpTelemetryId?: Nullable, captchaToken?: Nullable): B2BPasswordSessionResetRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BPasswordSessionResetRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BPasswordSessionResetRequest; } } /** * Response type * @param requestId * @param memberId * @param member * @param organization * @param sessionToken * @param sessionJwt * @param intermediateSessionToken * @param memberAuthenticated * @param statusCode * @param memberSession * @param mfaRequired * @param memberDevice */ export declare class B2BPasswordSessionResetResponse implements StytchAPIResponse/*, AuthenticatedResponse, B2BResponse */ { constructor(requestId: string, memberId: string, member: ApiOrganizationV1Member, organization: ApiOrganizationV1Organization, sessionToken: string, sessionJwt: string, intermediateSessionToken: string, memberAuthenticated: boolean, statusCode: number, memberSession?: Nullable, mfaRequired?: Nullable, memberDevice?: Nullable); get requestId(): string; get memberId(): string; get memberAuthenticated(): boolean; get statusCode(): number; get memberDevice(): Nullable; copy(requestId?: string, memberId?: string, member?: ApiOrganizationV1Member, organization?: ApiOrganizationV1Organization, sessionToken?: string, sessionJwt?: string, intermediateSessionToken?: string, memberAuthenticated?: boolean, statusCode?: number, memberSession?: Nullable, mfaRequired?: Nullable, memberDevice?: Nullable): B2BPasswordSessionResetResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BPasswordSessionResetResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BPasswordSessionResetResponse; } } /** * Request type * @param password * @param emailAddress */ export declare class B2BPasswordStrengthCheckRequest { constructor(password: string, emailAddress?: Nullable); get password(): string; get emailAddress(): Nullable; copy(password?: string, emailAddress?: Nullable): B2BPasswordStrengthCheckRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BPasswordStrengthCheckRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BPasswordStrengthCheckRequest; } } /** * Response type * @param requestId * @param validPassword * @param score * @param breachedPassword * @param strengthPolicy * @param breachDetectionOnCreate * @param statusCode * @param ludsFeedback * @param zxcvbnFeedback */ export declare class B2BPasswordStrengthCheckResponse implements StytchAPIResponse { constructor(requestId: string, validPassword: boolean, score: number, breachedPassword: boolean, strengthPolicy: string, breachDetectionOnCreate: boolean, statusCode: number, ludsFeedback?: Nullable, zxcvbnFeedback?: Nullable); get requestId(): string; get validPassword(): boolean; get score(): number; get breachedPassword(): boolean; get strengthPolicy(): string; get breachDetectionOnCreate(): boolean; get statusCode(): number; get ludsFeedback(): Nullable; get zxcvbnFeedback(): Nullable; copy(requestId?: string, validPassword?: boolean, score?: number, breachedPassword?: boolean, strengthPolicy?: string, breachDetectionOnCreate?: boolean, statusCode?: number, ludsFeedback?: Nullable, zxcvbnFeedback?: Nullable): B2BPasswordStrengthCheckResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BPasswordStrengthCheckResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BPasswordStrengthCheckResponse; } } /** * Response type * @param requestId * @param memberId * @param member * @param organization * @param recoveryCodes * @param statusCode */ export declare class B2BRecoveryCodesGetResponse implements StytchAPIResponse { constructor(requestId: string, memberId: string, member: ApiOrganizationV1Member, organization: ApiOrganizationV1Organization, recoveryCodes: KtList, statusCode: number); get requestId(): string; get memberId(): string; get member(): ApiOrganizationV1Member; get organization(): ApiOrganizationV1Organization; get recoveryCodes(): KtList; get statusCode(): number; copy(requestId?: string, memberId?: string, member?: ApiOrganizationV1Member, organization?: ApiOrganizationV1Organization, recoveryCodes?: KtList, statusCode?: number): B2BRecoveryCodesGetResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BRecoveryCodesGetResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BRecoveryCodesGetResponse; } } /** * Request type * @param organizationId * @param memberId * @param recoveryCode * @param sessionDurationMinutes * @param intermediateSessionToken * @param dfpTelemetryId * @param captchaToken */ export declare class B2BRecoveryCodesRecoverRequest { constructor(organizationId: string, memberId: string, recoveryCode: string, sessionDurationMinutes: number, intermediateSessionToken?: Nullable, dfpTelemetryId?: Nullable, captchaToken?: Nullable); get organizationId(): string; get memberId(): string; get recoveryCode(): string; get sessionDurationMinutes(): number; get intermediateSessionToken(): Nullable; get dfpTelemetryId(): Nullable; get captchaToken(): Nullable; copy(organizationId?: string, memberId?: string, recoveryCode?: string, sessionDurationMinutes?: number, intermediateSessionToken?: Nullable, dfpTelemetryId?: Nullable, captchaToken?: Nullable): B2BRecoveryCodesRecoverRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BRecoveryCodesRecoverRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BRecoveryCodesRecoverRequest; } } /** * Response type * @param requestId * @param memberId * @param member * @param organization * @param sessionToken * @param sessionJwt * @param recoveryCodesRemaining * @param statusCode * @param memberSession * @param memberDevice */ export declare class B2BRecoveryCodesRecoverResponse implements StytchAPIResponse/*, AuthenticatedResponse */ { constructor(requestId: string, memberId: string, member: ApiOrganizationV1Member, organization: ApiOrganizationV1Organization, sessionToken: string, sessionJwt: string, recoveryCodesRemaining: number, statusCode: number, memberSession?: Nullable, memberDevice?: Nullable); get requestId(): string; get memberId(): string; get recoveryCodesRemaining(): number; get statusCode(): number; get memberDevice(): Nullable; copy(requestId?: string, memberId?: string, member?: ApiOrganizationV1Member, organization?: ApiOrganizationV1Organization, sessionToken?: string, sessionJwt?: string, recoveryCodesRemaining?: number, statusCode?: number, memberSession?: Nullable, memberDevice?: Nullable): B2BRecoveryCodesRecoverResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BRecoveryCodesRecoverResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BRecoveryCodesRecoverResponse; } } /** * Request type * @param dfpTelemetryId * @param captchaToken */ export declare class B2BRecoveryCodesRotateRequest { constructor(dfpTelemetryId?: Nullable, captchaToken?: Nullable); get dfpTelemetryId(): Nullable; get captchaToken(): Nullable; copy(dfpTelemetryId?: Nullable, captchaToken?: Nullable): B2BRecoveryCodesRotateRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BRecoveryCodesRotateRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BRecoveryCodesRotateRequest; } } /** * Response type * @param requestId * @param memberId * @param member * @param organization * @param recoveryCodes * @param statusCode */ export declare class B2BRecoveryCodesRotateResponse implements StytchAPIResponse { constructor(requestId: string, memberId: string, member: ApiOrganizationV1Member, organization: ApiOrganizationV1Organization, recoveryCodes: KtList, statusCode: number); get requestId(): string; get memberId(): string; get member(): ApiOrganizationV1Member; get organization(): ApiOrganizationV1Organization; get recoveryCodes(): KtList; get statusCode(): number; copy(requestId?: string, memberId?: string, member?: ApiOrganizationV1Member, organization?: ApiOrganizationV1Organization, recoveryCodes?: KtList, statusCode?: number): B2BRecoveryCodesRotateResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BRecoveryCodesRotateResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BRecoveryCodesRotateResponse; } } /** @param scimEnabled */ export declare class B2BSCIMConfig { constructor(scimEnabled: boolean); get scimEnabled(): boolean; copy(scimEnabled?: boolean): B2BSCIMConfig; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BSCIMConfig { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BSCIMConfig; } } /** * Request type * @param displayName * @param identityProvider */ export declare class B2BSCIMCreateConnectionRequest { constructor(displayName: string, identityProvider?: Nullable); get displayName(): string; get identityProvider(): Nullable; copy(displayName?: string, identityProvider?: Nullable): B2BSCIMCreateConnectionRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BSCIMCreateConnectionRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BSCIMCreateConnectionRequest; } } /** * Response type * @param requestId * @param statusCode * @param connection */ export declare class B2BSCIMCreateConnectionResponse implements StytchAPIResponse { constructor(requestId: string, statusCode: number, connection?: Nullable); get requestId(): string; get statusCode(): number; get connection(): Nullable; copy(requestId?: string, statusCode?: number, connection?: Nullable): B2BSCIMCreateConnectionResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BSCIMCreateConnectionResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BSCIMCreateConnectionResponse; } } /** * Response type * @param requestId * @param connectionId * @param statusCode */ export declare class B2BSCIMDeleteConnectionResponse implements StytchAPIResponse { constructor(requestId: string, connectionId: string, statusCode: number); get requestId(): string; get connectionId(): string; get statusCode(): number; copy(requestId?: string, connectionId?: string, statusCode?: number): B2BSCIMDeleteConnectionResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BSCIMDeleteConnectionResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BSCIMDeleteConnectionResponse; } } /** * Request type * @param identityProvider * @param displayName * @param scimGroupImplicitRoleAssignments */ export declare class B2BSCIMUpdateConnectionRequest { constructor(identityProvider?: Nullable, displayName?: Nullable, scimGroupImplicitRoleAssignments?: Nullable>); get identityProvider(): Nullable; get displayName(): Nullable; get scimGroupImplicitRoleAssignments(): Nullable>; copy(identityProvider?: Nullable, displayName?: Nullable, scimGroupImplicitRoleAssignments?: Nullable>): B2BSCIMUpdateConnectionRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BSCIMUpdateConnectionRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BSCIMUpdateConnectionRequest; } } /** * Response type * @param requestId * @param statusCode * @param connection */ export declare class B2BSCIMUpdateConnectionResponse implements StytchAPIResponse { constructor(requestId: string, statusCode: number, connection?: Nullable); get requestId(): string; get statusCode(): number; get connection(): Nullable; copy(requestId?: string, statusCode?: number, connection?: Nullable): B2BSCIMUpdateConnectionResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BSCIMUpdateConnectionResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BSCIMUpdateConnectionResponse; } } /** * Request type * @param ssoToken * @param sessionDurationMinutes * @param pkceCodeVerifier * @param locale * @param dfpTelemetryId * @param captchaToken * @param intermediateSessionToken */ export declare class B2BSSOAuthEnticateRequest { constructor(ssoToken: string, sessionDurationMinutes: number, pkceCodeVerifier?: Nullable, locale?: Nullable, dfpTelemetryId?: Nullable, captchaToken?: Nullable, intermediateSessionToken?: Nullable); get ssoToken(): string; get sessionDurationMinutes(): number; get pkceCodeVerifier(): Nullable; get locale(): Nullable; get dfpTelemetryId(): Nullable; get captchaToken(): Nullable; get intermediateSessionToken(): Nullable; copy(ssoToken?: string, sessionDurationMinutes?: number, pkceCodeVerifier?: Nullable, locale?: Nullable, dfpTelemetryId?: Nullable, captchaToken?: Nullable, intermediateSessionToken?: Nullable): B2BSSOAuthEnticateRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BSSOAuthEnticateRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BSSOAuthEnticateRequest; } } /** * Response type * @param requestId * @param memberId * @param organizationId * @param member * @param sessionToken * @param sessionJwt * @param resetSession * @param organization * @param intermediateSessionToken * @param memberAuthenticated * @param statusCode * @param memberSession * @param mfaRequired * @param primaryRequired * @param memberDevice */ export declare class B2BSSOAuthEnticateResponse implements StytchAPIResponse/*, AuthenticatedResponse, B2BResponse */ { constructor(requestId: string, memberId: string, organizationId: string, member: ApiOrganizationV1Member, sessionToken: string, sessionJwt: string, resetSession: boolean, organization: ApiOrganizationV1Organization, intermediateSessionToken: string, memberAuthenticated: boolean, statusCode: number, memberSession?: Nullable, mfaRequired?: Nullable, primaryRequired?: Nullable, memberDevice?: Nullable); get requestId(): string; get memberId(): string; get organizationId(): string; get resetSession(): boolean; get memberAuthenticated(): boolean; get statusCode(): number; get primaryRequired(): Nullable; get memberDevice(): Nullable; copy(requestId?: string, memberId?: string, organizationId?: string, member?: ApiOrganizationV1Member, sessionToken?: string, sessionJwt?: string, resetSession?: boolean, organization?: ApiOrganizationV1Organization, intermediateSessionToken?: string, memberAuthenticated?: boolean, statusCode?: number, memberSession?: Nullable, mfaRequired?: Nullable, primaryRequired?: Nullable, memberDevice?: Nullable): B2BSSOAuthEnticateResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BSSOAuthEnticateResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BSSOAuthEnticateResponse; } } /** * @param ssoEnabled * @param canCreateSamlConnection * @param canCreateOidcConnection */ export declare class B2BSSOConfig { constructor(ssoEnabled: boolean, canCreateSamlConnection: boolean, canCreateOidcConnection: boolean); get ssoEnabled(): boolean; get canCreateSamlConnection(): boolean; get canCreateOidcConnection(): boolean; copy(ssoEnabled?: boolean, canCreateSamlConnection?: boolean, canCreateOidcConnection?: boolean): B2BSSOConfig; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BSSOConfig { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BSSOConfig; } } /** * Response type * @param requestId * @param connections * @param statusCode */ export declare class B2BSSODiscoveryConnectionsResponse implements StytchAPIResponse { constructor(requestId: string, connections: KtList, statusCode: number); get requestId(): string; get connections(): KtList; get statusCode(): number; copy(requestId?: string, connections?: KtList, statusCode?: number): B2BSSODiscoveryConnectionsResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BSSODiscoveryConnectionsResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BSSODiscoveryConnectionsResponse; } } /** * Request type * @param accessToken * @param sessionDurationMinutes */ export declare class B2BSessionsAccessTokenExchangeRequest { constructor(accessToken: string, sessionDurationMinutes: number); get accessToken(): string; get sessionDurationMinutes(): number; copy(accessToken?: string, sessionDurationMinutes?: number): B2BSessionsAccessTokenExchangeRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BSessionsAccessTokenExchangeRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BSessionsAccessTokenExchangeRequest; } } /** * Response type * @param requestId * @param memberId * @param sessionToken * @param sessionJwt * @param member * @param organization * @param statusCode * @param memberSession */ export declare class B2BSessionsAccessTokenExchangeResponse implements StytchAPIResponse/*, AuthenticatedResponse */ { constructor(requestId: string, memberId: string, sessionToken: string, sessionJwt: string, member: ApiOrganizationV1Member, organization: ApiOrganizationV1Organization, statusCode: number, memberSession?: Nullable); get requestId(): string; get memberId(): string; get statusCode(): number; copy(requestId?: string, memberId?: string, sessionToken?: string, sessionJwt?: string, member?: ApiOrganizationV1Member, organization?: ApiOrganizationV1Organization, statusCode?: number, memberSession?: Nullable): B2BSessionsAccessTokenExchangeResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BSessionsAccessTokenExchangeResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BSessionsAccessTokenExchangeResponse; } } /** * Request type * @param profileId * @param token * @param organizationId * @param sessionDurationMinutes */ export declare class B2BSessionsAttestRequest { constructor(profileId: string, token: string, organizationId?: Nullable, sessionDurationMinutes?: Nullable); get profileId(): string; get token(): string; get organizationId(): Nullable; get sessionDurationMinutes(): Nullable; copy(profileId?: string, token?: string, organizationId?: Nullable, sessionDurationMinutes?: Nullable): B2BSessionsAttestRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BSessionsAttestRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BSessionsAttestRequest; } } /** * Response type * @param requestId * @param memberId * @param memberSession * @param sessionToken * @param sessionJwt * @param member * @param organization * @param statusCode */ export declare class B2BSessionsAttestResponse implements StytchAPIResponse/*, AuthenticatedResponse */ { constructor(requestId: string, memberId: string, memberSession: ApiB2bSessionV1MemberSession, sessionToken: string, sessionJwt: string, member: ApiOrganizationV1Member, organization: ApiOrganizationV1Organization, statusCode: number); get requestId(): string; get memberId(): string; get statusCode(): number; copy(requestId?: string, memberId?: string, memberSession?: ApiB2bSessionV1MemberSession, sessionToken?: string, sessionJwt?: string, member?: ApiOrganizationV1Member, organization?: ApiOrganizationV1Organization, statusCode?: number): B2BSessionsAttestResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BSessionsAttestResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BSessionsAttestResponse; } } /** * Request type * @param sessionDurationMinutes */ export declare class B2BSessionsAuthenticateRequest { constructor(sessionDurationMinutes?: Nullable); get sessionDurationMinutes(): Nullable; copy(sessionDurationMinutes?: Nullable): B2BSessionsAuthenticateRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BSessionsAuthenticateRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BSessionsAuthenticateRequest; } } /** * Response type * @param requestId * @param memberSession * @param sessionToken * @param sessionJwt * @param member * @param organization * @param statusCode * @param verdict */ export declare class B2BSessionsAuthenticateResponse implements StytchAPIResponse/*, AuthenticatedResponse */ { constructor(requestId: string, memberSession: ApiB2bSessionV1MemberSession, sessionToken: string, sessionJwt: string, member: ApiOrganizationV1Member, organization: ApiOrganizationV1Organization, statusCode: number, verdict?: Nullable); get requestId(): string; get statusCode(): number; get verdict(): Nullable; copy(requestId?: string, memberSession?: ApiB2bSessionV1MemberSession, sessionToken?: string, sessionJwt?: string, member?: ApiOrganizationV1Member, organization?: ApiOrganizationV1Organization, statusCode?: number, verdict?: Nullable): B2BSessionsAuthenticateResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BSessionsAuthenticateResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BSessionsAuthenticateResponse; } } /** * Request type * @param organizationId * @param sessionDurationMinutes * @param locale */ export declare class B2BSessionsExchangeRequest { constructor(organizationId: string, sessionDurationMinutes: number, locale?: Nullable); get organizationId(): string; get sessionDurationMinutes(): number; get locale(): Nullable; copy(organizationId?: string, sessionDurationMinutes?: number, locale?: Nullable): B2BSessionsExchangeRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BSessionsExchangeRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BSessionsExchangeRequest; } } /** * Response type * @param requestId * @param memberId * @param sessionToken * @param sessionJwt * @param member * @param organization * @param memberAuthenticated * @param intermediateSessionToken * @param statusCode * @param memberSession * @param mfaRequired * @param primaryRequired */ export declare class B2BSessionsExchangeResponse implements StytchAPIResponse/*, AuthenticatedResponse, B2BResponse */ { constructor(requestId: string, memberId: string, sessionToken: string, sessionJwt: string, member: ApiOrganizationV1Member, organization: ApiOrganizationV1Organization, memberAuthenticated: boolean, intermediateSessionToken: string, statusCode: number, memberSession?: Nullable, mfaRequired?: Nullable, primaryRequired?: Nullable); get requestId(): string; get memberId(): string; get memberAuthenticated(): boolean; get statusCode(): number; get primaryRequired(): Nullable; copy(requestId?: string, memberId?: string, sessionToken?: string, sessionJwt?: string, member?: ApiOrganizationV1Member, organization?: ApiOrganizationV1Organization, memberAuthenticated?: boolean, intermediateSessionToken?: string, statusCode?: number, memberSession?: Nullable, mfaRequired?: Nullable, primaryRequired?: Nullable): B2BSessionsExchangeResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BSessionsExchangeResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BSessionsExchangeResponse; } } /** * Response type * @param requestId * @param statusCode */ export declare class B2BSessionsRevokeByMemberIDResponse implements StytchAPIResponse { constructor(requestId: string, statusCode: number); get requestId(): string; get statusCode(): number; copy(requestId?: string, statusCode?: number): B2BSessionsRevokeByMemberIDResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BSessionsRevokeByMemberIDResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BSessionsRevokeByMemberIDResponse; } } /** * Response type * @param requestId * @param statusCode */ export declare class B2BSessionsRevokeResponse implements StytchAPIResponse { constructor(requestId: string, statusCode: number); get requestId(): string; get statusCode(): number; copy(requestId?: string, statusCode?: number): B2BSessionsRevokeResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BSessionsRevokeResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BSessionsRevokeResponse; } } /** * Request type * @param organizationId * @param memberId * @param code * @param sessionDurationMinutes * @param intermediateSessionToken * @param setMfaEnrollment * @param setDefaultMfa * @param dfpTelemetryId * @param captchaToken */ export declare class B2BTOTPsAuthenticateRequest { constructor(organizationId: string, memberId: string, code: string, sessionDurationMinutes: number, intermediateSessionToken?: Nullable, setMfaEnrollment?: Nullable, setDefaultMfa?: Nullable, dfpTelemetryId?: Nullable, captchaToken?: Nullable); get organizationId(): string; get memberId(): string; get code(): string; get sessionDurationMinutes(): number; get intermediateSessionToken(): Nullable; get setMfaEnrollment(): Nullable; get setDefaultMfa(): Nullable; get dfpTelemetryId(): Nullable; get captchaToken(): Nullable; copy(organizationId?: string, memberId?: string, code?: string, sessionDurationMinutes?: number, intermediateSessionToken?: Nullable, setMfaEnrollment?: Nullable, setDefaultMfa?: Nullable, dfpTelemetryId?: Nullable, captchaToken?: Nullable): B2BTOTPsAuthenticateRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BTOTPsAuthenticateRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BTOTPsAuthenticateRequest; } } /** * Response type * @param requestId * @param memberId * @param member * @param organization * @param sessionToken * @param sessionJwt * @param statusCode * @param memberSession * @param memberDevice */ export declare class B2BTOTPsAuthenticateResponse implements StytchAPIResponse/*, AuthenticatedResponse */ { constructor(requestId: string, memberId: string, member: ApiOrganizationV1Member, organization: ApiOrganizationV1Organization, sessionToken: string, sessionJwt: string, statusCode: number, memberSession?: Nullable, memberDevice?: Nullable); get requestId(): string; get memberId(): string; get statusCode(): number; get memberDevice(): Nullable; copy(requestId?: string, memberId?: string, member?: ApiOrganizationV1Member, organization?: ApiOrganizationV1Organization, sessionToken?: string, sessionJwt?: string, statusCode?: number, memberSession?: Nullable, memberDevice?: Nullable): B2BTOTPsAuthenticateResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BTOTPsAuthenticateResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BTOTPsAuthenticateResponse; } } /** * Request type * @param organizationId * @param memberId * @param expirationMinutes * @param dfpTelemetryId * @param captchaToken * @param intermediateSessionToken */ export declare class B2BTOTPsCreateRequest { constructor(organizationId: string, memberId: string, expirationMinutes?: Nullable, dfpTelemetryId?: Nullable, captchaToken?: Nullable, intermediateSessionToken?: Nullable); get organizationId(): string; get memberId(): string; get expirationMinutes(): Nullable; get dfpTelemetryId(): Nullable; get captchaToken(): Nullable; get intermediateSessionToken(): Nullable; copy(organizationId?: string, memberId?: string, expirationMinutes?: Nullable, dfpTelemetryId?: Nullable, captchaToken?: Nullable, intermediateSessionToken?: Nullable): B2BTOTPsCreateRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BTOTPsCreateRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BTOTPsCreateRequest; } } /** * Response type * @param requestId * @param memberId * @param totpRegistrationId * @param secret * @param qrCode * @param recoveryCodes * @param member * @param organization * @param statusCode */ export declare class B2BTOTPsCreateResponse implements StytchAPIResponse { constructor(requestId: string, memberId: string, totpRegistrationId: string, secret: string, qrCode: string, recoveryCodes: KtList, member: ApiOrganizationV1Member, organization: ApiOrganizationV1Organization, statusCode: number); get requestId(): string; get memberId(): string; get totpRegistrationId(): string; get secret(): string; get qrCode(): string; get recoveryCodes(): KtList; get member(): ApiOrganizationV1Member; get organization(): ApiOrganizationV1Organization; get statusCode(): number; copy(requestId?: string, memberId?: string, totpRegistrationId?: string, secret?: string, qrCode?: string, recoveryCodes?: KtList, member?: ApiOrganizationV1Member, organization?: ApiOrganizationV1Organization, statusCode?: number): B2BTOTPsCreateResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BTOTPsCreateResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BTOTPsCreateResponse; } } /** * Request type * @param displayName * @param externalConnectionImplicitRoleAssignments * @param externalGroupImplicitRoleAssignments */ export declare class B2BUpdateExternalConnectionRequest { constructor(displayName: string, externalConnectionImplicitRoleAssignments?: Nullable>, externalGroupImplicitRoleAssignments?: Nullable>); get displayName(): string; get externalConnectionImplicitRoleAssignments(): Nullable>; get externalGroupImplicitRoleAssignments(): Nullable>; copy(displayName?: string, externalConnectionImplicitRoleAssignments?: Nullable>, externalGroupImplicitRoleAssignments?: Nullable>): B2BUpdateExternalConnectionRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BUpdateExternalConnectionRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BUpdateExternalConnectionRequest; } } /** * Response type * @param requestId * @param statusCode * @param connection */ export declare class B2BUpdateExternalConnectionResponse implements StytchAPIResponse { constructor(requestId: string, statusCode: number, connection?: Nullable); get requestId(): string; get statusCode(): number; get connection(): Nullable; copy(requestId?: string, statusCode?: number, connection?: Nullable): B2BUpdateExternalConnectionResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BUpdateExternalConnectionResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BUpdateExternalConnectionResponse; } } /** * Request type * @param displayName * @param clientId * @param clientSecret * @param issuer * @param authorizationUrl * @param tokenUrl * @param userinfoUrl * @param jwksUrl * @param identityProvider * @param customScopes * @param attributeMapping */ export declare class B2BUpdateOIDCConnectionRequest { constructor(displayName?: Nullable, clientId?: Nullable, clientSecret?: Nullable, issuer?: Nullable, authorizationUrl?: Nullable, tokenUrl?: Nullable, userinfoUrl?: Nullable, jwksUrl?: Nullable, identityProvider?: Nullable, customScopes?: Nullable, attributeMapping?: Nullable>); get displayName(): Nullable; get clientId(): Nullable; get clientSecret(): Nullable; get issuer(): Nullable; get authorizationUrl(): Nullable; get tokenUrl(): Nullable; get userinfoUrl(): Nullable; get jwksUrl(): Nullable; get identityProvider(): Nullable; get customScopes(): Nullable; get attributeMapping(): Nullable>; copy(displayName?: Nullable, clientId?: Nullable, clientSecret?: Nullable, issuer?: Nullable, authorizationUrl?: Nullable, tokenUrl?: Nullable, userinfoUrl?: Nullable, jwksUrl?: Nullable, identityProvider?: Nullable, customScopes?: Nullable, attributeMapping?: Nullable>): B2BUpdateOIDCConnectionRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BUpdateOIDCConnectionRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BUpdateOIDCConnectionRequest; } } /** * Response type * @param requestId * @param statusCode * @param connection * @param warning */ export declare class B2BUpdateOIDCConnectionResponse implements StytchAPIResponse { constructor(requestId: string, statusCode: number, connection?: Nullable, warning?: Nullable); get requestId(): string; get statusCode(): number; get connection(): Nullable; get warning(): Nullable; copy(requestId?: string, statusCode?: number, connection?: Nullable, warning?: Nullable): B2BUpdateOIDCConnectionResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BUpdateOIDCConnectionResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BUpdateOIDCConnectionResponse; } } /** * Request type * @param metadataUrl */ export declare class B2BUpdateSAMLConnectionByURLRequest { constructor(metadataUrl: string); get metadataUrl(): string; copy(metadataUrl?: string): B2BUpdateSAMLConnectionByURLRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BUpdateSAMLConnectionByURLRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BUpdateSAMLConnectionByURLRequest; } } /** * Response type * @param requestId * @param statusCode * @param connection */ export declare class B2BUpdateSAMLConnectionByURLResponse implements StytchAPIResponse { constructor(requestId: string, statusCode: number, connection?: Nullable); get requestId(): string; get statusCode(): number; get connection(): Nullable; copy(requestId?: string, statusCode?: number, connection?: Nullable): B2BUpdateSAMLConnectionByURLResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BUpdateSAMLConnectionByURLResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BUpdateSAMLConnectionByURLResponse; } } /** * Request type * @param idpEntityId * @param displayName * @param attributeMapping * @param x509Certificate * @param idpSsoUrl * @param samlConnectionImplicitRoleAssignments * @param samlGroupImplicitRoleAssignments * @param alternativeAudienceUri * @param identityProvider * @param signingPrivateKey * @param allowGatewayCallback */ export declare class B2BUpdateSAMLConnectionRequest { constructor(idpEntityId?: Nullable, displayName?: Nullable, attributeMapping?: Nullable>, x509Certificate?: Nullable, idpSsoUrl?: Nullable, samlConnectionImplicitRoleAssignments?: Nullable>, samlGroupImplicitRoleAssignments?: Nullable>, alternativeAudienceUri?: Nullable, identityProvider?: Nullable, signingPrivateKey?: Nullable, allowGatewayCallback?: Nullable); get idpEntityId(): Nullable; get displayName(): Nullable; get attributeMapping(): Nullable>; get x509Certificate(): Nullable; get idpSsoUrl(): Nullable; get samlConnectionImplicitRoleAssignments(): Nullable>; get samlGroupImplicitRoleAssignments(): Nullable>; get alternativeAudienceUri(): Nullable; get identityProvider(): Nullable; get signingPrivateKey(): Nullable; get allowGatewayCallback(): Nullable; copy(idpEntityId?: Nullable, displayName?: Nullable, attributeMapping?: Nullable>, x509Certificate?: Nullable, idpSsoUrl?: Nullable, samlConnectionImplicitRoleAssignments?: Nullable>, samlGroupImplicitRoleAssignments?: Nullable>, alternativeAudienceUri?: Nullable, identityProvider?: Nullable, signingPrivateKey?: Nullable, allowGatewayCallback?: Nullable): B2BUpdateSAMLConnectionRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace B2BUpdateSAMLConnectionRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BUpdateSAMLConnectionRequest; } } /** * Response type * @param requestId * @param statusCode * @param connection */ export declare class B2BUpdateSAMLConnectionResponse implements StytchAPIResponse { constructor(requestId: string, statusCode: number, connection?: Nullable); get requestId(): string; get statusCode(): number; get connection(): Nullable; copy(requestId?: string, statusCode?: number, connection?: Nullable): B2BUpdateSAMLConnectionResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace B2BUpdateSAMLConnectionResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BUpdateSAMLConnectionResponse; } } /** * Request type * @param biometricRegistrationId * @param signature * @param sessionDurationMinutes * @param dfpTelemetryId * @param captchaToken */ export declare class BiometricsAuthenticateRequest { constructor(biometricRegistrationId: string, signature: string, sessionDurationMinutes: number, dfpTelemetryId?: Nullable, captchaToken?: Nullable); get biometricRegistrationId(): string; get signature(): string; get sessionDurationMinutes(): number; get dfpTelemetryId(): Nullable; get captchaToken(): Nullable; copy(biometricRegistrationId?: string, signature?: string, sessionDurationMinutes?: number, dfpTelemetryId?: Nullable, captchaToken?: Nullable): BiometricsAuthenticateRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace BiometricsAuthenticateRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => BiometricsAuthenticateRequest; } } /** * Response type * @param requestId * @param userId * @param biometricRegistrationId * @param sessionToken * @param session * @param sessionJwt * @param user * @param statusCode * @param userDevice */ export declare class BiometricsAuthenticateResponse implements StytchAPIResponse, AuthenticatedResponse { constructor(requestId: string, userId: string, biometricRegistrationId: string, sessionToken: string, session: ApiSessionV1Session, sessionJwt: string, user: ApiUserV1User, statusCode: number, userDevice?: Nullable); get requestId(): string; get userId(): string; get biometricRegistrationId(): string; get sessionToken(): string; get session(): ApiSessionV1Session; get sessionJwt(): string; get user(): ApiUserV1User; get statusCode(): number; get userDevice(): Nullable; copy(requestId?: string, userId?: string, biometricRegistrationId?: string, sessionToken?: string, session?: ApiSessionV1Session, sessionJwt?: string, user?: ApiUserV1User, statusCode?: number, userDevice?: Nullable): BiometricsAuthenticateResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"] & AuthenticatedResponse["__doNotUseOrImplementIt"]; } export declare namespace BiometricsAuthenticateResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => BiometricsAuthenticateResponse; } } /** * Request type * @param publicKey */ export declare class BiometricsAuthenticateStartRequest { constructor(publicKey: string); get publicKey(): string; copy(publicKey?: string): BiometricsAuthenticateStartRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace BiometricsAuthenticateStartRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => BiometricsAuthenticateStartRequest; } } /** * Response type * @param requestId * @param userId * @param biometricRegistrationId * @param challenge * @param statusCode */ export declare class BiometricsAuthenticateStartResponse implements StytchAPIResponse { constructor(requestId: string, userId: string, biometricRegistrationId: string, challenge: string, statusCode: number); get requestId(): string; get userId(): string; get biometricRegistrationId(): string; get challenge(): string; get statusCode(): number; copy(requestId?: string, userId?: string, biometricRegistrationId?: string, challenge?: string, statusCode?: number): BiometricsAuthenticateStartResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace BiometricsAuthenticateStartResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => BiometricsAuthenticateStartResponse; } } /** * Request type * @param biometricRegistrationId * @param signature * @param sessionDurationMinutes */ export declare class BiometricsRegisterRequest { constructor(biometricRegistrationId: string, signature: string, sessionDurationMinutes: number); get biometricRegistrationId(): string; get signature(): string; get sessionDurationMinutes(): number; copy(biometricRegistrationId?: string, signature?: string, sessionDurationMinutes?: number): BiometricsRegisterRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace BiometricsRegisterRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => BiometricsRegisterRequest; } } /** * Response type * @param requestId * @param userId * @param biometricRegistrationId * @param user * @param sessionToken * @param session * @param sessionJwt * @param statusCode */ export declare class BiometricsRegisterResponse implements StytchAPIResponse, AuthenticatedResponse { constructor(requestId: string, userId: string, biometricRegistrationId: string, user: ApiUserV1User, sessionToken: string, session: ApiSessionV1Session, sessionJwt: string, statusCode: number); get requestId(): string; get userId(): string; get biometricRegistrationId(): string; get user(): ApiUserV1User; get sessionToken(): string; get session(): ApiSessionV1Session; get sessionJwt(): string; get statusCode(): number; copy(requestId?: string, userId?: string, biometricRegistrationId?: string, user?: ApiUserV1User, sessionToken?: string, session?: ApiSessionV1Session, sessionJwt?: string, statusCode?: number): BiometricsRegisterResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"] & AuthenticatedResponse["__doNotUseOrImplementIt"]; } export declare namespace BiometricsRegisterResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => BiometricsRegisterResponse; } } /** * Request type * @param publicKey */ export declare class BiometricsRegisterStartRequest { constructor(publicKey: string); get publicKey(): string; copy(publicKey?: string): BiometricsRegisterStartRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace BiometricsRegisterStartRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => BiometricsRegisterStartRequest; } } /** * Response type * @param requestId * @param userId * @param biometricRegistrationId * @param challenge * @param statusCode */ export declare class BiometricsRegisterStartResponse implements StytchAPIResponse { constructor(requestId: string, userId: string, biometricRegistrationId: string, challenge: string, statusCode: number); get requestId(): string; get userId(): string; get biometricRegistrationId(): string; get challenge(): string; get statusCode(): number; copy(requestId?: string, userId?: string, biometricRegistrationId?: string, challenge?: string, statusCode?: number): BiometricsRegisterStartResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace BiometricsRegisterStartResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => BiometricsRegisterStartResponse; } } /** * @param enabled * @param siteKey * @param providerType */ export declare class BootstrapDataCaptcha { constructor(enabled: boolean, siteKey?: Nullable, providerType?: Nullable); get enabled(): boolean; get siteKey(): Nullable; get providerType(): Nullable; copy(enabled?: boolean, siteKey?: Nullable, providerType?: Nullable): BootstrapDataCaptcha; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace BootstrapDataCaptcha { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => BootstrapDataCaptcha; } } /** * @param ludsComplexity * @param ludsMinimumCount */ export declare class BootstrapPasswordConfig { constructor(ludsComplexity: number, ludsMinimumCount: number); get ludsComplexity(): number; get ludsMinimumCount(): number; copy(ludsComplexity?: number, ludsMinimumCount?: number): BootstrapPasswordConfig; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace BootstrapPasswordConfig { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => BootstrapPasswordConfig; } } /** * Response type * @param requestId * @param disableSdkWatermark * @param emailDomains * @param pkceRequiredForEmailMagicLinks * @param pkceRequiredForPasswordResets * @param pkceRequiredForOauth * @param pkceRequiredForSso * @param createOrganizationEnabled * @param dfpProtectedAuthEnabled * @param siweRequiredForCryptoWallets * @param opaqueErrors * @param projectName * @param statusCode * @param cnameDomain * @param captchaSettings * @param slugPattern * @param passwordConfig * @param dfpProtectedAuthMode * @param rbacPolicy * @param vertical */ export declare class BootstrapResponse implements StytchAPIResponse { constructor(requestId: string, disableSdkWatermark: boolean, emailDomains: KtList, pkceRequiredForEmailMagicLinks: boolean, pkceRequiredForPasswordResets: boolean, pkceRequiredForOauth: boolean, pkceRequiredForSso: boolean, createOrganizationEnabled: boolean, dfpProtectedAuthEnabled: boolean, siweRequiredForCryptoWallets: boolean, opaqueErrors: boolean, projectName: string, statusCode: number, cnameDomain?: Nullable, captchaSettings?: Nullable, slugPattern?: Nullable, passwordConfig?: Nullable, dfpProtectedAuthMode?: Nullable, rbacPolicy?: Nullable, vertical?: Nullable/* Nullable */); get requestId(): string; get disableSdkWatermark(): boolean; get emailDomains(): KtList; get pkceRequiredForEmailMagicLinks(): boolean; get pkceRequiredForPasswordResets(): boolean; get pkceRequiredForOauth(): boolean; get pkceRequiredForSso(): boolean; get createOrganizationEnabled(): boolean; get dfpProtectedAuthEnabled(): boolean; get siweRequiredForCryptoWallets(): boolean; get opaqueErrors(): boolean; get projectName(): string; get statusCode(): number; get cnameDomain(): Nullable; get captchaSettings(): Nullable; get slugPattern(): Nullable; get passwordConfig(): Nullable; get dfpProtectedAuthMode(): Nullable; get rbacPolicy(): Nullable; get vertical(): Nullable/* Nullable */; copy(requestId?: string, disableSdkWatermark?: boolean, emailDomains?: KtList, pkceRequiredForEmailMagicLinks?: boolean, pkceRequiredForPasswordResets?: boolean, pkceRequiredForOauth?: boolean, pkceRequiredForSso?: boolean, createOrganizationEnabled?: boolean, dfpProtectedAuthEnabled?: boolean, siweRequiredForCryptoWallets?: boolean, opaqueErrors?: boolean, projectName?: string, statusCode?: number, cnameDomain?: Nullable, captchaSettings?: Nullable, slugPattern?: Nullable, passwordConfig?: Nullable, dfpProtectedAuthMode?: Nullable, rbacPolicy?: Nullable, vertical?: Nullable/* Nullable */): BootstrapResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace BootstrapResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => BootstrapResponse; } } /** * Request type * @param cryptoWalletAddress * @param cryptoWalletType * @param signature * @param sessionDurationMinutes * @param dfpTelemetryId * @param captchaToken */ export declare class CryptoWalletsAuthenticateRequest { constructor(cryptoWalletAddress: string, cryptoWalletType: string, signature: string, sessionDurationMinutes: number, dfpTelemetryId?: Nullable, captchaToken?: Nullable); get cryptoWalletAddress(): string; get cryptoWalletType(): string; get signature(): string; get sessionDurationMinutes(): number; get dfpTelemetryId(): Nullable; get captchaToken(): Nullable; copy(cryptoWalletAddress?: string, cryptoWalletType?: string, signature?: string, sessionDurationMinutes?: number, dfpTelemetryId?: Nullable, captchaToken?: Nullable): CryptoWalletsAuthenticateRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace CryptoWalletsAuthenticateRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => CryptoWalletsAuthenticateRequest; } } /** * Response type * @param requestId * @param userId * @param sessionToken * @param session * @param sessionJwt * @param user * @param statusCode * @param siweParams * @param userDevice */ export declare class CryptoWalletsAuthenticateResponse implements StytchAPIResponse, AuthenticatedResponse { constructor(requestId: string, userId: string, sessionToken: string, session: ApiSessionV1Session, sessionJwt: string, user: ApiUserV1User, statusCode: number, siweParams?: Nullable, userDevice?: Nullable); get requestId(): string; get userId(): string; get sessionToken(): string; get session(): ApiSessionV1Session; get sessionJwt(): string; get user(): ApiUserV1User; get statusCode(): number; get siweParams(): Nullable; get userDevice(): Nullable; copy(requestId?: string, userId?: string, sessionToken?: string, session?: ApiSessionV1Session, sessionJwt?: string, user?: ApiUserV1User, statusCode?: number, siweParams?: Nullable, userDevice?: Nullable): CryptoWalletsAuthenticateResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"] & AuthenticatedResponse["__doNotUseOrImplementIt"]; } export declare namespace CryptoWalletsAuthenticateResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => CryptoWalletsAuthenticateResponse; } } /** * Response type * @param requestId * @param challenge * @param statusCode */ export declare class CryptoWalletsAuthenticateStartPrimaryResponse implements StytchAPIResponse { constructor(requestId: string, challenge: string, statusCode: number); get requestId(): string; get challenge(): string; get statusCode(): number; copy(requestId?: string, challenge?: string, statusCode?: number): CryptoWalletsAuthenticateStartPrimaryResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace CryptoWalletsAuthenticateStartPrimaryResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => CryptoWalletsAuthenticateStartPrimaryResponse; } } /** * Request type * @param cryptoWalletType * @param cryptoWalletAddress * @param siweParams */ export declare class CryptoWalletsAuthenticateStartSecondaryRequest { constructor(cryptoWalletType: string, cryptoWalletAddress: string, siweParams?: Nullable); get cryptoWalletType(): string; get cryptoWalletAddress(): string; get siweParams(): Nullable; copy(cryptoWalletType?: string, cryptoWalletAddress?: string, siweParams?: Nullable): CryptoWalletsAuthenticateStartSecondaryRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace CryptoWalletsAuthenticateStartSecondaryRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => CryptoWalletsAuthenticateStartSecondaryRequest; } } /** * Response type * @param requestId * @param userId * @param challenge * @param userCreated * @param statusCode */ export declare class CryptoWalletsAuthenticateStartSecondaryResponse implements StytchAPIResponse { constructor(requestId: string, userId: string, challenge: string, userCreated: boolean, statusCode: number); get requestId(): string; get userId(): string; get challenge(): string; get userCreated(): boolean; get statusCode(): number; copy(requestId?: string, userId?: string, challenge?: string, userCreated?: boolean, statusCode?: number): CryptoWalletsAuthenticateStartSecondaryResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace CryptoWalletsAuthenticateStartSecondaryResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => CryptoWalletsAuthenticateStartSecondaryResponse; } } /** * Response type * @param requestId * @param userId * @param user * @param statusCode */ export declare class DeleteBiometricRegistrationResponse implements StytchAPIResponse { constructor(requestId: string, userId: string, user: ApiUserV1User, statusCode: number); get requestId(): string; get userId(): string; get user(): ApiUserV1User; get statusCode(): number; copy(requestId?: string, userId?: string, user?: ApiUserV1User, statusCode?: number): DeleteBiometricRegistrationResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace DeleteBiometricRegistrationResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => DeleteBiometricRegistrationResponse; } } /** * Response type * @param requestId * @param userId * @param user * @param statusCode */ export declare class DeleteCryptoWalletResponse implements StytchAPIResponse { constructor(requestId: string, userId: string, user: ApiUserV1User, statusCode: number); get requestId(): string; get userId(): string; get user(): ApiUserV1User; get statusCode(): number; copy(requestId?: string, userId?: string, user?: ApiUserV1User, statusCode?: number): DeleteCryptoWalletResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace DeleteCryptoWalletResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => DeleteCryptoWalletResponse; } } /** * Response type * @param requestId * @param userId * @param user * @param statusCode */ export declare class DeleteEmailResponse implements StytchAPIResponse { constructor(requestId: string, userId: string, user: ApiUserV1User, statusCode: number); get requestId(): string; get userId(): string; get user(): ApiUserV1User; get statusCode(): number; copy(requestId?: string, userId?: string, user?: ApiUserV1User, statusCode?: number): DeleteEmailResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace DeleteEmailResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => DeleteEmailResponse; } } /** * Response type * @param requestId * @param userId * @param user * @param statusCode */ export declare class DeleteOAuthUserRegistrationResponse implements StytchAPIResponse { constructor(requestId: string, userId: string, user: ApiUserV1User, statusCode: number); get requestId(): string; get userId(): string; get user(): ApiUserV1User; get statusCode(): number; copy(requestId?: string, userId?: string, user?: ApiUserV1User, statusCode?: number): DeleteOAuthUserRegistrationResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace DeleteOAuthUserRegistrationResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => DeleteOAuthUserRegistrationResponse; } } /** * Response type * @param requestId * @param userId * @param user * @param statusCode */ export declare class DeletePhoneNumberResponse implements StytchAPIResponse { constructor(requestId: string, userId: string, user: ApiUserV1User, statusCode: number); get requestId(): string; get userId(): string; get user(): ApiUserV1User; get statusCode(): number; copy(requestId?: string, userId?: string, user?: ApiUserV1User, statusCode?: number): DeletePhoneNumberResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace DeletePhoneNumberResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => DeletePhoneNumberResponse; } } /** * Response type * @param requestId * @param userId * @param user * @param statusCode */ export declare class DeleteTOTPResponse implements StytchAPIResponse { constructor(requestId: string, userId: string, user: ApiUserV1User, statusCode: number); get requestId(): string; get userId(): string; get user(): ApiUserV1User; get statusCode(): number; copy(requestId?: string, userId?: string, user?: ApiUserV1User, statusCode?: number): DeleteTOTPResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace DeleteTOTPResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => DeleteTOTPResponse; } } /** * Response type * @param requestId * @param userId * @param user * @param statusCode */ export declare class DeleteWebAuthnRegistrationResponse implements StytchAPIResponse { constructor(requestId: string, userId: string, user: ApiUserV1User, statusCode: number); get requestId(): string; get userId(): string; get user(): ApiUserV1User; get statusCode(): number; copy(requestId?: string, userId?: string, user?: ApiUserV1User, statusCode?: number): DeleteWebAuthnRegistrationResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace DeleteWebAuthnRegistrationResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => DeleteWebAuthnRegistrationResponse; } } /** * Request type * @param clientId * @param redirectUri * @param responseType * @param scopes * @param prompt */ export declare class ExternalB2BOAuthAuthorizeStartRequest { constructor(clientId: string, redirectUri: string, responseType: string, scopes: KtList, prompt?: Nullable); get clientId(): string; get redirectUri(): string; get responseType(): string; get scopes(): KtList; get prompt(): Nullable; copy(clientId?: string, redirectUri?: string, responseType?: string, scopes?: KtList, prompt?: Nullable): ExternalB2BOAuthAuthorizeStartRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ExternalB2BOAuthAuthorizeStartRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ExternalB2BOAuthAuthorizeStartRequest; } } /** * Response type * @param requestId * @param consentRequired * @param client * @param scopeResults * @param statusCode */ export declare class ExternalB2BOAuthAuthorizeStartResponse implements StytchAPIResponse { constructor(requestId: string, consentRequired: boolean, client: ApiConnectedappsV1ConnectedAppPublic, scopeResults: KtList, statusCode: number); get requestId(): string; get consentRequired(): boolean; get client(): ApiConnectedappsV1ConnectedAppPublic; get scopeResults(): KtList; get statusCode(): number; copy(requestId?: string, consentRequired?: boolean, client?: ApiConnectedappsV1ConnectedAppPublic, scopeResults?: KtList, statusCode?: number): ExternalB2BOAuthAuthorizeStartResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace ExternalB2BOAuthAuthorizeStartResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ExternalB2BOAuthAuthorizeStartResponse; } } /** * Request type * @param clientId * @param redirectUri * @param responseType * @param scopes * @param consentGranted * @param state * @param nonce * @param codeChallenge * @param prompt */ export declare class ExternalB2BOAuthAuthorizeSubmitRequest { constructor(clientId: string, redirectUri: string, responseType: string, scopes: KtList, consentGranted: boolean, state?: Nullable, nonce?: Nullable, codeChallenge?: Nullable, prompt?: Nullable); get clientId(): string; get redirectUri(): string; get responseType(): string; get scopes(): KtList; get consentGranted(): boolean; get state(): Nullable; get nonce(): Nullable; get codeChallenge(): Nullable; get prompt(): Nullable; copy(clientId?: string, redirectUri?: string, responseType?: string, scopes?: KtList, consentGranted?: boolean, state?: Nullable, nonce?: Nullable, codeChallenge?: Nullable, prompt?: Nullable): ExternalB2BOAuthAuthorizeSubmitRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ExternalB2BOAuthAuthorizeSubmitRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ExternalB2BOAuthAuthorizeSubmitRequest; } } /** * Response type * @param requestId * @param redirectUri * @param statusCode * @param authorizationCode */ export declare class ExternalB2BOAuthAuthorizeSubmitResponse implements StytchAPIResponse { constructor(requestId: string, redirectUri: string, statusCode: number, authorizationCode?: Nullable); get requestId(): string; get redirectUri(): string; get statusCode(): number; get authorizationCode(): Nullable; copy(requestId?: string, redirectUri?: string, statusCode?: number, authorizationCode?: Nullable): ExternalB2BOAuthAuthorizeSubmitResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace ExternalB2BOAuthAuthorizeSubmitResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ExternalB2BOAuthAuthorizeSubmitResponse; } } /** * Request type * @param clientId * @param redirectUri * @param responseType * @param scopes * @param prompt */ export declare class ExternalOAuthAuthorizeStartRequest { constructor(clientId: string, redirectUri: string, responseType: string, scopes: KtList, prompt?: Nullable); get clientId(): string; get redirectUri(): string; get responseType(): string; get scopes(): KtList; get prompt(): Nullable; copy(clientId?: string, redirectUri?: string, responseType?: string, scopes?: KtList, prompt?: Nullable): ExternalOAuthAuthorizeStartRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ExternalOAuthAuthorizeStartRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ExternalOAuthAuthorizeStartRequest; } } /** * Response type * @param requestId * @param userId * @param user * @param client * @param consentRequired * @param scopeResults * @param statusCode */ export declare class ExternalOAuthAuthorizeStartResponse implements StytchAPIResponse { constructor(requestId: string, userId: string, user: ApiUserV1User, client: ApiConnectedappsV1ConnectedAppPublic, consentRequired: boolean, scopeResults: KtList, statusCode: number); get requestId(): string; get userId(): string; get user(): ApiUserV1User; get client(): ApiConnectedappsV1ConnectedAppPublic; get consentRequired(): boolean; get scopeResults(): KtList; get statusCode(): number; copy(requestId?: string, userId?: string, user?: ApiUserV1User, client?: ApiConnectedappsV1ConnectedAppPublic, consentRequired?: boolean, scopeResults?: KtList, statusCode?: number): ExternalOAuthAuthorizeStartResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace ExternalOAuthAuthorizeStartResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ExternalOAuthAuthorizeStartResponse; } } /** * Request type * @param clientId * @param redirectUri * @param responseType * @param scopes * @param consentGranted * @param state * @param nonce * @param codeChallenge * @param prompt * @param resources */ export declare class ExternalOAuthAuthorizeSubmitRequest { constructor(clientId: string, redirectUri: string, responseType: string, scopes: KtList, consentGranted: boolean, state?: Nullable, nonce?: Nullable, codeChallenge?: Nullable, prompt?: Nullable, resources?: Nullable>); get clientId(): string; get redirectUri(): string; get responseType(): string; get scopes(): KtList; get consentGranted(): boolean; get state(): Nullable; get nonce(): Nullable; get codeChallenge(): Nullable; get prompt(): Nullable; get resources(): Nullable>; copy(clientId?: string, redirectUri?: string, responseType?: string, scopes?: KtList, consentGranted?: boolean, state?: Nullable, nonce?: Nullable, codeChallenge?: Nullable, prompt?: Nullable, resources?: Nullable>): ExternalOAuthAuthorizeSubmitRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ExternalOAuthAuthorizeSubmitRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ExternalOAuthAuthorizeSubmitRequest; } } /** * Response type * @param requestId * @param redirectUri * @param statusCode * @param authorizationCode */ export declare class ExternalOAuthAuthorizeSubmitResponse implements StytchAPIResponse { constructor(requestId: string, redirectUri: string, statusCode: number, authorizationCode?: Nullable); get requestId(): string; get redirectUri(): string; get statusCode(): number; get authorizationCode(): Nullable; copy(requestId?: string, redirectUri?: string, statusCode?: number, authorizationCode?: Nullable): ExternalOAuthAuthorizeSubmitResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace ExternalOAuthAuthorizeSubmitResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ExternalOAuthAuthorizeSubmitResponse; } } /** * Response type * @param requestId * @param connectedApps * @param statusCode */ export declare class GetConnectedAppsResponse implements StytchAPIResponse { constructor(requestId: string, connectedApps: KtList, statusCode: number); get requestId(): string; get connectedApps(): KtList; get statusCode(): number; copy(requestId?: string, connectedApps?: KtList, statusCode?: number): GetConnectedAppsResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace GetConnectedAppsResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => GetConnectedAppsResponse; } } /** * Response type * @param requestId * @param userId * @param emails * @param status * @param phoneNumbers * @param webauthnRegistrations * @param providers * @param totps * @param cryptoWallets * @param biometricRegistrations * @param statusCode * @param name * @param createdAt * @param password * @param trustedMetadata * @param untrustedMetadata */ export declare class GetMeResponse implements StytchAPIResponse { constructor(requestId: string, userId: string, emails: KtList, status: string, phoneNumbers: KtList, webauthnRegistrations: KtList, providers: KtList, totps: KtList, cryptoWallets: KtList, biometricRegistrations: KtList, statusCode: number, name?: Nullable, createdAt?: Nullable/* Nullable */, password?: Nullable, trustedMetadata?: Nullable>, untrustedMetadata?: Nullable>); get requestId(): string; get userId(): string; get emails(): KtList; get status(): string; get phoneNumbers(): KtList; get webauthnRegistrations(): KtList; get providers(): KtList; get totps(): KtList; get cryptoWallets(): KtList; get biometricRegistrations(): KtList; get statusCode(): number; get name(): Nullable; get createdAt(): Nullable/* Nullable */; get password(): Nullable; get trustedMetadata(): Nullable>; get untrustedMetadata(): Nullable>; copy(requestId?: string, userId?: string, emails?: KtList, status?: string, phoneNumbers?: KtList, webauthnRegistrations?: KtList, providers?: KtList, totps?: KtList, cryptoWallets?: KtList, biometricRegistrations?: KtList, statusCode?: number, name?: Nullable, createdAt?: Nullable/* Nullable */, password?: Nullable, trustedMetadata?: Nullable>, untrustedMetadata?: Nullable>): GetMeResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace GetMeResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => GetMeResponse; } } /** * Request type * @param impersonationToken * @param dfpTelemetryId * @param captchaToken */ export declare class ImpersonationTokenAuthenticateRequest { constructor(impersonationToken: string, dfpTelemetryId?: Nullable, captchaToken?: Nullable); get impersonationToken(): string; get dfpTelemetryId(): Nullable; get captchaToken(): Nullable; copy(impersonationToken?: string, dfpTelemetryId?: Nullable, captchaToken?: Nullable): ImpersonationTokenAuthenticateRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace ImpersonationTokenAuthenticateRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ImpersonationTokenAuthenticateRequest; } } /** * Response type * @param requestId * @param userId * @param session * @param sessionToken * @param sessionJwt * @param user * @param statusCode */ export declare class ImpersonationTokenAuthenticateResponse implements StytchAPIResponse, AuthenticatedResponse { constructor(requestId: string, userId: string, session: ApiSessionV1Session, sessionToken: string, sessionJwt: string, user: ApiUserV1User, statusCode: number); get requestId(): string; get userId(): string; get session(): ApiSessionV1Session; get sessionToken(): string; get sessionJwt(): string; get user(): ApiUserV1User; get statusCode(): number; copy(requestId?: string, userId?: string, session?: ApiSessionV1Session, sessionToken?: string, sessionJwt?: string, user?: ApiUserV1User, statusCode?: number): ImpersonationTokenAuthenticateResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"] & AuthenticatedResponse["__doNotUseOrImplementIt"]; } export declare namespace ImpersonationTokenAuthenticateResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ImpersonationTokenAuthenticateResponse; } } /** * Request type * @param token * @param sessionDurationMinutes * @param codeVerifier */ export declare class MagicLinksAuthenticateRequest { constructor(token: string, sessionDurationMinutes: number, codeVerifier?: Nullable); get token(): string; get sessionDurationMinutes(): number; get codeVerifier(): Nullable; copy(token?: string, sessionDurationMinutes?: number, codeVerifier?: Nullable): MagicLinksAuthenticateRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace MagicLinksAuthenticateRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => MagicLinksAuthenticateRequest; } } /** * Response type * @param requestId * @param userId * @param methodId * @param sessionToken * @param session * @param sessionJwt * @param user * @param resetSessions * @param statusCode */ export declare class MagicLinksAuthenticateResponse implements StytchAPIResponse, AuthenticatedResponse { constructor(requestId: string, userId: string, methodId: string, sessionToken: string, session: ApiSessionV1Session, sessionJwt: string, user: ApiUserV1User, resetSessions: boolean, statusCode: number); get requestId(): string; get userId(): string; get methodId(): string; get sessionToken(): string; get session(): ApiSessionV1Session; get sessionJwt(): string; get user(): ApiUserV1User; get resetSessions(): boolean; get statusCode(): number; copy(requestId?: string, userId?: string, methodId?: string, sessionToken?: string, session?: ApiSessionV1Session, sessionJwt?: string, user?: ApiUserV1User, resetSessions?: boolean, statusCode?: number): MagicLinksAuthenticateResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"] & AuthenticatedResponse["__doNotUseOrImplementIt"]; } export declare namespace MagicLinksAuthenticateResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => MagicLinksAuthenticateResponse; } } /** * Request type * @param email * @param captchaToken * @param loginMagicLinkUrl * @param signupMagicLinkUrl * @param loginExpirationMinutes * @param signupExpirationMinutes * @param codeChallenge * @param loginTemplateId * @param signupTemplateId * @param dfpTelemetryId * @param locale */ export declare class MagicLinksEmailLoginOrCreateRequest { constructor(email: string, captchaToken?: Nullable, loginMagicLinkUrl?: Nullable, signupMagicLinkUrl?: Nullable, loginExpirationMinutes?: Nullable, signupExpirationMinutes?: Nullable, codeChallenge?: Nullable, loginTemplateId?: Nullable, signupTemplateId?: Nullable, dfpTelemetryId?: Nullable, locale?: Nullable); get email(): string; get captchaToken(): Nullable; get loginMagicLinkUrl(): Nullable; get signupMagicLinkUrl(): Nullable; get loginExpirationMinutes(): Nullable; get signupExpirationMinutes(): Nullable; get codeChallenge(): Nullable; get loginTemplateId(): Nullable; get signupTemplateId(): Nullable; get dfpTelemetryId(): Nullable; get locale(): Nullable; copy(email?: string, captchaToken?: Nullable, loginMagicLinkUrl?: Nullable, signupMagicLinkUrl?: Nullable, loginExpirationMinutes?: Nullable, signupExpirationMinutes?: Nullable, codeChallenge?: Nullable, loginTemplateId?: Nullable, signupTemplateId?: Nullable, dfpTelemetryId?: Nullable, locale?: Nullable): MagicLinksEmailLoginOrCreateRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace MagicLinksEmailLoginOrCreateRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => MagicLinksEmailLoginOrCreateRequest; } } /** * Response type * @param requestId * @param statusCode */ export declare class MagicLinksEmailLoginOrCreateResponse implements StytchAPIResponse { constructor(requestId: string, statusCode: number); get requestId(): string; get statusCode(): number; copy(requestId?: string, statusCode?: number): MagicLinksEmailLoginOrCreateResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace MagicLinksEmailLoginOrCreateResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => MagicLinksEmailLoginOrCreateResponse; } } /** * Request type * @param email * @param captchaToken * @param loginMagicLinkUrl * @param signupMagicLinkUrl * @param loginExpirationMinutes * @param signupExpirationMinutes * @param codeChallenge * @param loginTemplateId * @param signupTemplateId * @param dfpTelemetryId * @param locale */ export declare class MagicLinksEmailSendSecondaryRequest { constructor(email: string, captchaToken?: Nullable, loginMagicLinkUrl?: Nullable, signupMagicLinkUrl?: Nullable, loginExpirationMinutes?: Nullable, signupExpirationMinutes?: Nullable, codeChallenge?: Nullable, loginTemplateId?: Nullable, signupTemplateId?: Nullable, dfpTelemetryId?: Nullable, locale?: Nullable); get email(): string; get captchaToken(): Nullable; get loginMagicLinkUrl(): Nullable; get signupMagicLinkUrl(): Nullable; get loginExpirationMinutes(): Nullable; get signupExpirationMinutes(): Nullable; get codeChallenge(): Nullable; get loginTemplateId(): Nullable; get signupTemplateId(): Nullable; get dfpTelemetryId(): Nullable; get locale(): Nullable; copy(email?: string, captchaToken?: Nullable, loginMagicLinkUrl?: Nullable, signupMagicLinkUrl?: Nullable, loginExpirationMinutes?: Nullable, signupExpirationMinutes?: Nullable, codeChallenge?: Nullable, loginTemplateId?: Nullable, signupTemplateId?: Nullable, dfpTelemetryId?: Nullable, locale?: Nullable): MagicLinksEmailSendSecondaryRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace MagicLinksEmailSendSecondaryRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => MagicLinksEmailSendSecondaryRequest; } } /** * Response type * @param requestId * @param statusCode */ export declare class MagicLinksEmailSendSecondaryResponse implements StytchAPIResponse { constructor(requestId: string, statusCode: number); get requestId(): string; get statusCode(): number; copy(requestId?: string, statusCode?: number): MagicLinksEmailSendSecondaryResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace MagicLinksEmailSendSecondaryResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => MagicLinksEmailSendSecondaryResponse; } } /** * @param status * @param name * @param memberPasswordId * @param mfaEnrolled */ export declare class Member { constructor(status: string, name: string, memberPasswordId: string, mfaEnrolled: boolean); get status(): string; get name(): string; get memberPasswordId(): string; get mfaEnrolled(): boolean; copy(status?: string, name?: string, memberPasswordId?: string, mfaEnrolled?: boolean): Member; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace Member { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => Member; } } /** * Request type * @param organizationId * @param emailAddress */ export declare class MemberSearchByEmailRequest { constructor(organizationId: string, emailAddress: string); get organizationId(): string; get emailAddress(): string; copy(organizationId?: string, emailAddress?: string): MemberSearchByEmailRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace MemberSearchByEmailRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => MemberSearchByEmailRequest; } } /** * Response type * @param requestId * @param statusCode * @param member */ export declare class MemberSearchByEmailResponse implements StytchAPIResponse { constructor(requestId: string, statusCode: number, member?: Nullable); get requestId(): string; get statusCode(): number; get member(): Nullable; copy(requestId?: string, statusCode?: number, member?: Nullable): MemberSearchByEmailResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace MemberSearchByEmailResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => MemberSearchByEmailResponse; } } /** * Request type * @param idToken * @param sessionDurationMinutes * @param name * @param nonce * @param oauthAttachToken */ export declare class OAuthAppleIDTokenAuthenticateRequest { constructor(idToken: string, sessionDurationMinutes: number, name?: Nullable, nonce?: Nullable, oauthAttachToken?: Nullable); get idToken(): string; get sessionDurationMinutes(): number; get name(): Nullable; get nonce(): Nullable; get oauthAttachToken(): Nullable; copy(idToken?: string, sessionDurationMinutes?: number, name?: Nullable, nonce?: Nullable, oauthAttachToken?: Nullable): OAuthAppleIDTokenAuthenticateRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace OAuthAppleIDTokenAuthenticateRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OAuthAppleIDTokenAuthenticateRequest; } } /** * Request type * @param provider */ export declare class OAuthAttachRequest { constructor(provider: string); get provider(): string; copy(provider?: string): OAuthAttachRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace OAuthAttachRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OAuthAttachRequest; } } /** * Response type * @param requestId * @param oauthAttachToken * @param statusCode */ export declare class OAuthAttachResponse implements StytchAPIResponse { constructor(requestId: string, oauthAttachToken: string, statusCode: number); get requestId(): string; get oauthAttachToken(): string; get statusCode(): number; copy(requestId?: string, oauthAttachToken?: string, statusCode?: number): OAuthAttachResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace OAuthAttachResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OAuthAttachResponse; } } /** * Request type * @param token * @param sessionDurationMinutes * @param codeVerifier */ export declare class OAuthAuthenticateRequest { constructor(token: string, sessionDurationMinutes: number, codeVerifier?: Nullable); get token(): string; get sessionDurationMinutes(): number; get codeVerifier(): Nullable; copy(token?: string, sessionDurationMinutes?: number, codeVerifier?: Nullable): OAuthAuthenticateRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace OAuthAuthenticateRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OAuthAuthenticateRequest; } } /** * Response type * @param requestId * @param userId * @param providerSubject * @param providerType * @param session * @param sessionToken * @param sessionJwt * @param providerValues * @param user * @param resetSessions * @param oauthUserRegistrationId * @param statusCode * @param userSession */ export declare class OAuthAuthenticateResponse implements StytchAPIResponse, AuthenticatedResponse { constructor(requestId: string, userId: string, providerSubject: string, providerType: string, session: ApiSessionV1Session, sessionToken: string, sessionJwt: string, providerValues: ApiOauthV1ProviderValues, user: ApiUserV1User, resetSessions: boolean, oauthUserRegistrationId: string, statusCode: number, userSession?: Nullable); get requestId(): string; get userId(): string; get providerSubject(): string; get providerType(): string; get session(): ApiSessionV1Session; get sessionToken(): string; get sessionJwt(): string; get providerValues(): ApiOauthV1ProviderValues; get user(): ApiUserV1User; get resetSessions(): boolean; get oauthUserRegistrationId(): string; get statusCode(): number; get userSession(): Nullable; copy(requestId?: string, userId?: string, providerSubject?: string, providerType?: string, session?: ApiSessionV1Session, sessionToken?: string, sessionJwt?: string, providerValues?: ApiOauthV1ProviderValues, user?: ApiUserV1User, resetSessions?: boolean, oauthUserRegistrationId?: string, statusCode?: number, userSession?: Nullable): OAuthAuthenticateResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"] & AuthenticatedResponse["__doNotUseOrImplementIt"]; } export declare namespace OAuthAuthenticateResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OAuthAuthenticateResponse; } } /** * Request type * @param clientId * @param redirectUri * @param responseType * @param scope * @param state * @param nonce * @param codeChallenge * @param consentGranted * @param prompt * @param resources */ export declare class OAuthAuthorizeRequest { constructor(clientId: string, redirectUri: string, responseType: string, scope: string, state?: Nullable, nonce?: Nullable, codeChallenge?: Nullable, consentGranted?: Nullable, prompt?: Nullable, resources?: Nullable>); get clientId(): string; get redirectUri(): string; get responseType(): string; get scope(): string; get state(): Nullable; get nonce(): Nullable; get codeChallenge(): Nullable; get consentGranted(): Nullable; get prompt(): Nullable; get resources(): Nullable>; copy(clientId?: string, redirectUri?: string, responseType?: string, scope?: string, state?: Nullable, nonce?: Nullable, codeChallenge?: Nullable, consentGranted?: Nullable, prompt?: Nullable, resources?: Nullable>): OAuthAuthorizeRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace OAuthAuthorizeRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OAuthAuthorizeRequest; } } /** * Response type * @param requestId * @param redirectUrl * @param statusCode */ export declare class OAuthAuthorizeResponse implements StytchAPIResponse { constructor(requestId: string, redirectUrl: string, statusCode: number); get requestId(): string; get redirectUrl(): string; get statusCode(): number; copy(requestId?: string, redirectUrl?: string, statusCode?: number): OAuthAuthorizeResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace OAuthAuthorizeResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OAuthAuthorizeResponse; } } /** * Request type * @param clientId * @param redirectUri * @param responseType * @param scope * @param prompt */ export declare class OAuthAuthorizeStartRequest { constructor(clientId: string, redirectUri: string, responseType: string, scope: string, prompt?: Nullable); get clientId(): string; get redirectUri(): string; get responseType(): string; get scope(): string; get prompt(): Nullable; copy(clientId?: string, redirectUri?: string, responseType?: string, scope?: string, prompt?: Nullable): OAuthAuthorizeStartRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace OAuthAuthorizeStartRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OAuthAuthorizeStartRequest; } } /** * Response type * @param requestId * @param consentRequired * @param grantableScope * @param ungrantableScope * @param statusCode * @param oidcClient */ export declare class OAuthAuthorizeStartResponse implements StytchAPIResponse { constructor(requestId: string, consentRequired: boolean, grantableScope: string, ungrantableScope: string, statusCode: number, oidcClient?: Nullable); get requestId(): string; get consentRequired(): boolean; get grantableScope(): string; get ungrantableScope(): string; get statusCode(): number; get oidcClient(): Nullable; copy(requestId?: string, consentRequired?: boolean, grantableScope?: string, ungrantableScope?: string, statusCode?: number, oidcClient?: Nullable): OAuthAuthorizeStartResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace OAuthAuthorizeStartResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OAuthAuthorizeStartResponse; } } /** * Request type * @param idToken * @param sessionDurationMinutes * @param nonce * @param oauthAttachToken */ export declare class OAuthGoogleIDTokenAuthenticateRequest { constructor(idToken: string, sessionDurationMinutes: number, nonce?: Nullable, oauthAttachToken?: Nullable); get idToken(): string; get sessionDurationMinutes(): number; get nonce(): Nullable; get oauthAttachToken(): Nullable; copy(idToken?: string, sessionDurationMinutes?: number, nonce?: Nullable, oauthAttachToken?: Nullable): OAuthGoogleIDTokenAuthenticateRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace OAuthGoogleIDTokenAuthenticateRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OAuthGoogleIDTokenAuthenticateRequest; } } /** * Response type * @param requestId * @param userId * @param providerSubject * @param session * @param sessionToken * @param sessionJwt * @param user * @param resetSessions * @param userCreated * @param statusCode */ export declare class OAuthGoogleIDTokenAuthenticateResponse implements StytchAPIResponse, AuthenticatedResponse { constructor(requestId: string, userId: string, providerSubject: string, session: ApiSessionV1Session, sessionToken: string, sessionJwt: string, user: ApiUserV1User, resetSessions: boolean, userCreated: boolean, statusCode: number); get requestId(): string; get userId(): string; get providerSubject(): string; get session(): ApiSessionV1Session; get sessionToken(): string; get sessionJwt(): string; get user(): ApiUserV1User; get resetSessions(): boolean; get userCreated(): boolean; get statusCode(): number; copy(requestId?: string, userId?: string, providerSubject?: string, session?: ApiSessionV1Session, sessionToken?: string, sessionJwt?: string, user?: ApiUserV1User, resetSessions?: boolean, userCreated?: boolean, statusCode?: number): OAuthGoogleIDTokenAuthenticateResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"] & AuthenticatedResponse["__doNotUseOrImplementIt"]; } export declare namespace OAuthGoogleIDTokenAuthenticateResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OAuthGoogleIDTokenAuthenticateResponse; } } /** * Request type * @param clientId * @param postLogoutRedirectUri * @param state * @param idTokenHint */ export declare class OIDCLogoutRequest { constructor(clientId: string, postLogoutRedirectUri: string, state: string, idTokenHint?: Nullable); get clientId(): string; get postLogoutRedirectUri(): string; get state(): string; get idTokenHint(): Nullable; copy(clientId?: string, postLogoutRedirectUri?: string, state?: string, idTokenHint?: Nullable): OIDCLogoutRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace OIDCLogoutRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OIDCLogoutRequest; } } /** * Response type * @param consentRequired * @param redirectUri * @param statusCode */ export declare class OIDCLogoutResponse implements StytchAPIResponse { constructor(consentRequired: boolean, redirectUri: string, statusCode: number); get consentRequired(): boolean; get redirectUri(): string; get statusCode(): number; copy(consentRequired?: boolean, redirectUri?: string, statusCode?: number): OIDCLogoutResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace OIDCLogoutResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OIDCLogoutResponse; } } /** * Request type * @param token * @param methodId * @param sessionDurationMinutes * @param dfpTelemetryId * @param captchaToken */ export declare class OTPsAuthenticateRequest { constructor(token: string, methodId: string, sessionDurationMinutes: number, dfpTelemetryId?: Nullable, captchaToken?: Nullable); get token(): string; get methodId(): string; get sessionDurationMinutes(): number; get dfpTelemetryId(): Nullable; get captchaToken(): Nullable; copy(token?: string, methodId?: string, sessionDurationMinutes?: number, dfpTelemetryId?: Nullable, captchaToken?: Nullable): OTPsAuthenticateRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace OTPsAuthenticateRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OTPsAuthenticateRequest; } } /** * Response type * @param requestId * @param userId * @param methodId * @param sessionToken * @param session * @param sessionJwt * @param user * @param resetSessions * @param statusCode * @param userDevice */ export declare class OTPsAuthenticateResponse implements StytchAPIResponse, AuthenticatedResponse { constructor(requestId: string, userId: string, methodId: string, sessionToken: string, session: ApiSessionV1Session, sessionJwt: string, user: ApiUserV1User, resetSessions: boolean, statusCode: number, userDevice?: Nullable); get requestId(): string; get userId(): string; get methodId(): string; get sessionToken(): string; get session(): ApiSessionV1Session; get sessionJwt(): string; get user(): ApiUserV1User; get resetSessions(): boolean; get statusCode(): number; get userDevice(): Nullable; copy(requestId?: string, userId?: string, methodId?: string, sessionToken?: string, session?: ApiSessionV1Session, sessionJwt?: string, user?: ApiUserV1User, resetSessions?: boolean, statusCode?: number, userDevice?: Nullable): OTPsAuthenticateResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"] & AuthenticatedResponse["__doNotUseOrImplementIt"]; } export declare namespace OTPsAuthenticateResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OTPsAuthenticateResponse; } } /** * Request type * @param email * @param expirationMinutes * @param signupTemplateId * @param loginTemplateId * @param captchaToken * @param locale * @param dfpTelemetryId */ export declare class OTPsEmailLoginOrCreateRequest { constructor(email: string, expirationMinutes?: Nullable, signupTemplateId?: Nullable, loginTemplateId?: Nullable, captchaToken?: Nullable, locale?: Nullable, dfpTelemetryId?: Nullable); get email(): string; get expirationMinutes(): Nullable; get signupTemplateId(): Nullable; get loginTemplateId(): Nullable; get captchaToken(): Nullable; get locale(): Nullable; get dfpTelemetryId(): Nullable; copy(email?: string, expirationMinutes?: Nullable, signupTemplateId?: Nullable, loginTemplateId?: Nullable, captchaToken?: Nullable, locale?: Nullable, dfpTelemetryId?: Nullable): OTPsEmailLoginOrCreateRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace OTPsEmailLoginOrCreateRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OTPsEmailLoginOrCreateRequest; } } /** * Response type * @param requestId * @param methodId * @param statusCode */ export declare class OTPsEmailLoginOrCreateResponse implements StytchAPIResponse { constructor(requestId: string, methodId: string, statusCode: number); get requestId(): string; get methodId(): string; get statusCode(): number; copy(requestId?: string, methodId?: string, statusCode?: number): OTPsEmailLoginOrCreateResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace OTPsEmailLoginOrCreateResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OTPsEmailLoginOrCreateResponse; } } /** * Request type * @param email * @param expirationMinutes * @param signupTemplateId * @param loginTemplateId * @param captchaToken * @param locale */ export declare class OTPsEmailSendSecondaryRequest { constructor(email: string, expirationMinutes?: Nullable, signupTemplateId?: Nullable, loginTemplateId?: Nullable, captchaToken?: Nullable, locale?: Nullable); get email(): string; get expirationMinutes(): Nullable; get signupTemplateId(): Nullable; get loginTemplateId(): Nullable; get captchaToken(): Nullable; get locale(): Nullable; copy(email?: string, expirationMinutes?: Nullable, signupTemplateId?: Nullable, loginTemplateId?: Nullable, captchaToken?: Nullable, locale?: Nullable): OTPsEmailSendSecondaryRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace OTPsEmailSendSecondaryRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OTPsEmailSendSecondaryRequest; } } /** * Response type * @param requestId * @param methodId * @param statusCode */ export declare class OTPsEmailSendSecondaryResponse implements StytchAPIResponse { constructor(requestId: string, methodId: string, statusCode: number); get requestId(): string; get methodId(): string; get statusCode(): number; copy(requestId?: string, methodId?: string, statusCode?: number): OTPsEmailSendSecondaryResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace OTPsEmailSendSecondaryResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OTPsEmailSendSecondaryResponse; } } /** * Request type * @param phoneNumber * @param expirationMinutes * @param dfpTelemetryId * @param captchaToken * @param locale * @param enableAutofill */ export declare class OTPsSMSLoginOrCreateRequest { constructor(phoneNumber: string, expirationMinutes?: Nullable, dfpTelemetryId?: Nullable, captchaToken?: Nullable, locale?: Nullable, enableAutofill?: Nullable); get phoneNumber(): string; get expirationMinutes(): Nullable; get dfpTelemetryId(): Nullable; get captchaToken(): Nullable; get locale(): Nullable; get enableAutofill(): Nullable; copy(phoneNumber?: string, expirationMinutes?: Nullable, dfpTelemetryId?: Nullable, captchaToken?: Nullable, locale?: Nullable, enableAutofill?: Nullable): OTPsSMSLoginOrCreateRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace OTPsSMSLoginOrCreateRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OTPsSMSLoginOrCreateRequest; } } /** * Response type * @param requestId * @param methodId * @param statusCode */ export declare class OTPsSMSLoginOrCreateResponse implements StytchAPIResponse { constructor(requestId: string, methodId: string, statusCode: number); get requestId(): string; get methodId(): string; get statusCode(): number; copy(requestId?: string, methodId?: string, statusCode?: number): OTPsSMSLoginOrCreateResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace OTPsSMSLoginOrCreateResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OTPsSMSLoginOrCreateResponse; } } /** * Request type * @param phoneNumber * @param expirationMinutes * @param dfpTelemetryId * @param captchaToken * @param locale * @param enableAutofill */ export declare class OTPsSMSSendSecondaryRequest { constructor(phoneNumber: string, expirationMinutes?: Nullable, dfpTelemetryId?: Nullable, captchaToken?: Nullable, locale?: Nullable, enableAutofill?: Nullable); get phoneNumber(): string; get expirationMinutes(): Nullable; get dfpTelemetryId(): Nullable; get captchaToken(): Nullable; get locale(): Nullable; get enableAutofill(): Nullable; copy(phoneNumber?: string, expirationMinutes?: Nullable, dfpTelemetryId?: Nullable, captchaToken?: Nullable, locale?: Nullable, enableAutofill?: Nullable): OTPsSMSSendSecondaryRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace OTPsSMSSendSecondaryRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OTPsSMSSendSecondaryRequest; } } /** * Response type * @param requestId * @param methodId * @param statusCode */ export declare class OTPsSMSSendSecondaryResponse implements StytchAPIResponse { constructor(requestId: string, methodId: string, statusCode: number); get requestId(): string; get methodId(): string; get statusCode(): number; copy(requestId?: string, methodId?: string, statusCode?: number): OTPsSMSSendSecondaryResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace OTPsSMSSendSecondaryResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OTPsSMSSendSecondaryResponse; } } /** * Request type * @param phoneNumber * @param expirationMinutes * @param dfpTelemetryId * @param captchaToken * @param locale */ export declare class OTPsWhatsAppLoginOrCreateRequest { constructor(phoneNumber: string, expirationMinutes?: Nullable, dfpTelemetryId?: Nullable, captchaToken?: Nullable, locale?: Nullable); get phoneNumber(): string; get expirationMinutes(): Nullable; get dfpTelemetryId(): Nullable; get captchaToken(): Nullable; get locale(): Nullable; copy(phoneNumber?: string, expirationMinutes?: Nullable, dfpTelemetryId?: Nullable, captchaToken?: Nullable, locale?: Nullable): OTPsWhatsAppLoginOrCreateRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace OTPsWhatsAppLoginOrCreateRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OTPsWhatsAppLoginOrCreateRequest; } } /** * Response type * @param requestId * @param methodId * @param statusCode */ export declare class OTPsWhatsAppLoginOrCreateResponse implements StytchAPIResponse { constructor(requestId: string, methodId: string, statusCode: number); get requestId(): string; get methodId(): string; get statusCode(): number; copy(requestId?: string, methodId?: string, statusCode?: number): OTPsWhatsAppLoginOrCreateResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace OTPsWhatsAppLoginOrCreateResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OTPsWhatsAppLoginOrCreateResponse; } } /** * Request type * @param phoneNumber * @param expirationMinutes * @param dfpTelemetryId * @param captchaToken * @param locale */ export declare class OTPsWhatsAppSendSecondaryRequest { constructor(phoneNumber: string, expirationMinutes?: Nullable, dfpTelemetryId?: Nullable, captchaToken?: Nullable, locale?: Nullable); get phoneNumber(): string; get expirationMinutes(): Nullable; get dfpTelemetryId(): Nullable; get captchaToken(): Nullable; get locale(): Nullable; copy(phoneNumber?: string, expirationMinutes?: Nullable, dfpTelemetryId?: Nullable, captchaToken?: Nullable, locale?: Nullable): OTPsWhatsAppSendSecondaryRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace OTPsWhatsAppSendSecondaryRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OTPsWhatsAppSendSecondaryRequest; } } /** * Response type * @param requestId * @param methodId * @param statusCode */ export declare class OTPsWhatsAppSendSecondaryResponse implements StytchAPIResponse { constructor(requestId: string, methodId: string, statusCode: number); get requestId(): string; get methodId(): string; get statusCode(): number; copy(requestId?: string, methodId?: string, statusCode?: number): OTPsWhatsAppSendSecondaryResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace OTPsWhatsAppSendSecondaryResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OTPsWhatsAppSendSecondaryResponse; } } /** * Request type * @param organizationSlug */ export declare class OrgSearchBySlugRequest { constructor(organizationSlug: string); get organizationSlug(): string; copy(organizationSlug?: string): OrgSearchBySlugRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace OrgSearchBySlugRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OrgSearchBySlugRequest; } } /** * Response type * @param requestId * @param statusCode * @param organization */ export declare class OrgSearchBySlugResponse implements StytchAPIResponse { constructor(requestId: string, statusCode: number, organization?: Nullable); get requestId(): string; get statusCode(): number; get organization(): Nullable; copy(requestId?: string, statusCode?: number, organization?: Nullable): OrgSearchBySlugResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace OrgSearchBySlugResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OrgSearchBySlugResponse; } } /** * @param organizationName * @param organizationLogoUrl * @param organizationId * @param ssoActiveConnections * @param emailJitProvisioning * @param emailAllowedDomains * @param authMethods * @param allowedAuthMethods * @param mfaPolicy * @param organizationSlug * @param ssoDefaultConnectionId */ export declare class Organization { constructor(organizationName: string, organizationLogoUrl: string, organizationId: string, ssoActiveConnections: KtList, emailJitProvisioning: string, emailAllowedDomains: KtList, authMethods: string, allowedAuthMethods: KtList, mfaPolicy: string, organizationSlug: string, ssoDefaultConnectionId?: Nullable); get organizationName(): string; get organizationLogoUrl(): string; get organizationId(): string; get ssoActiveConnections(): KtList; get emailJitProvisioning(): string; get emailAllowedDomains(): KtList; get authMethods(): string; get allowedAuthMethods(): KtList; get mfaPolicy(): string; get organizationSlug(): string; get ssoDefaultConnectionId(): Nullable; copy(organizationName?: string, organizationLogoUrl?: string, organizationId?: string, ssoActiveConnections?: KtList, emailJitProvisioning?: string, emailAllowedDomains?: KtList, authMethods?: string, allowedAuthMethods?: KtList, mfaPolicy?: string, organizationSlug?: string, ssoDefaultConnectionId?: Nullable): Organization; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace Organization { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => Organization; } } /** * Response type * @param requestId * @param memberId * @param member * @param organization * @param statusCode */ export declare class OrganizationsAdminMemberDeleteMFAPhoneNumberResponse implements StytchAPIResponse { constructor(requestId: string, memberId: string, member: ApiOrganizationV1Member, organization: ApiOrganizationV1Organization, statusCode: number); get requestId(): string; get memberId(): string; get member(): ApiOrganizationV1Member; get organization(): ApiOrganizationV1Organization; get statusCode(): number; copy(requestId?: string, memberId?: string, member?: ApiOrganizationV1Member, organization?: ApiOrganizationV1Organization, statusCode?: number): OrganizationsAdminMemberDeleteMFAPhoneNumberResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace OrganizationsAdminMemberDeleteMFAPhoneNumberResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OrganizationsAdminMemberDeleteMFAPhoneNumberResponse; } } /** * Response type * @param requestId * @param memberId * @param member * @param organization * @param statusCode */ export declare class OrganizationsAdminMemberDeleteMFATOTPResponse implements StytchAPIResponse { constructor(requestId: string, memberId: string, member: ApiOrganizationV1Member, organization: ApiOrganizationV1Organization, statusCode: number); get requestId(): string; get memberId(): string; get member(): ApiOrganizationV1Member; get organization(): ApiOrganizationV1Organization; get statusCode(): number; copy(requestId?: string, memberId?: string, member?: ApiOrganizationV1Member, organization?: ApiOrganizationV1Organization, statusCode?: number): OrganizationsAdminMemberDeleteMFATOTPResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace OrganizationsAdminMemberDeleteMFATOTPResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OrganizationsAdminMemberDeleteMFATOTPResponse; } } /** * Response type * @param requestId * @param memberId * @param member * @param organization * @param statusCode */ export declare class OrganizationsAdminMemberDeletePasswordResponse implements StytchAPIResponse { constructor(requestId: string, memberId: string, member: ApiOrganizationV1Member, organization: ApiOrganizationV1Organization, statusCode: number); get requestId(): string; get memberId(): string; get member(): ApiOrganizationV1Member; get organization(): ApiOrganizationV1Organization; get statusCode(): number; copy(requestId?: string, memberId?: string, member?: ApiOrganizationV1Member, organization?: ApiOrganizationV1Organization, statusCode?: number): OrganizationsAdminMemberDeletePasswordResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace OrganizationsAdminMemberDeletePasswordResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OrganizationsAdminMemberDeletePasswordResponse; } } /** * Response type * @param requestId * @param memberId * @param statusCode */ export declare class OrganizationsAdminMemberDeleteResponse implements StytchAPIResponse { constructor(requestId: string, memberId: string, statusCode: number); get requestId(): string; get memberId(): string; get statusCode(): number; copy(requestId?: string, memberId?: string, statusCode?: number): OrganizationsAdminMemberDeleteResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace OrganizationsAdminMemberDeleteResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OrganizationsAdminMemberDeleteResponse; } } /** * Response type * @param requestId * @param connectedApps * @param statusCode */ export declare class OrganizationsAdminMemberGetConnectedAppsResponse implements StytchAPIResponse { constructor(requestId: string, connectedApps: KtList, statusCode: number); get requestId(): string; get connectedApps(): KtList; get statusCode(): number; copy(requestId?: string, connectedApps?: KtList, statusCode?: number): OrganizationsAdminMemberGetConnectedAppsResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace OrganizationsAdminMemberGetConnectedAppsResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OrganizationsAdminMemberGetConnectedAppsResponse; } } /** * Response type * @param requestId * @param memberId * @param member * @param organization * @param statusCode */ export declare class OrganizationsAdminMemberReactivateResponse implements StytchAPIResponse { constructor(requestId: string, memberId: string, member: ApiOrganizationV1Member, organization: ApiOrganizationV1Organization, statusCode: number); get requestId(): string; get memberId(): string; get member(): ApiOrganizationV1Member; get organization(): ApiOrganizationV1Organization; get statusCode(): number; copy(requestId?: string, memberId?: string, member?: ApiOrganizationV1Member, organization?: ApiOrganizationV1Organization, statusCode?: number): OrganizationsAdminMemberReactivateResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace OrganizationsAdminMemberReactivateResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OrganizationsAdminMemberReactivateResponse; } } /** * Response type * @param requestId * @param statusCode */ export declare class OrganizationsAdminMemberRevokeConnectedAppResponse implements StytchAPIResponse { constructor(requestId: string, statusCode: number); get requestId(): string; get statusCode(): number; copy(requestId?: string, statusCode?: number): OrganizationsAdminMemberRevokeConnectedAppResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace OrganizationsAdminMemberRevokeConnectedAppResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OrganizationsAdminMemberRevokeConnectedAppResponse; } } /** * Request type * @param emailAddress * @param loginRedirectUrl * @param locale * @param loginTemplateId * @param deliveryMethod */ export declare class OrganizationsAdminMemberStartEmailUpdateRequest { constructor(emailAddress: string, loginRedirectUrl?: Nullable, locale?: Nullable, loginTemplateId?: Nullable, deliveryMethod?: Nullable); get emailAddress(): string; get loginRedirectUrl(): Nullable; get locale(): Nullable; get loginTemplateId(): Nullable; get deliveryMethod(): Nullable; copy(emailAddress?: string, loginRedirectUrl?: Nullable, locale?: Nullable, loginTemplateId?: Nullable, deliveryMethod?: Nullable): OrganizationsAdminMemberStartEmailUpdateRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace OrganizationsAdminMemberStartEmailUpdateRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OrganizationsAdminMemberStartEmailUpdateRequest; } } /** * Response type * @param requestId * @param memberId * @param member * @param organization * @param statusCode */ export declare class OrganizationsAdminMemberStartEmailUpdateResponse implements StytchAPIResponse { constructor(requestId: string, memberId: string, member: ApiOrganizationV1Member, organization: ApiOrganizationV1Organization, statusCode: number); get requestId(): string; get memberId(): string; get member(): ApiOrganizationV1Member; get organization(): ApiOrganizationV1Organization; get statusCode(): number; copy(requestId?: string, memberId?: string, member?: ApiOrganizationV1Member, organization?: ApiOrganizationV1Organization, statusCode?: number): OrganizationsAdminMemberStartEmailUpdateResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace OrganizationsAdminMemberStartEmailUpdateResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OrganizationsAdminMemberStartEmailUpdateResponse; } } /** * Request type * @param emailId * @param emailAddress */ export declare class OrganizationsAdminMemberUnlinkRetiredEmailRequest { constructor(emailId?: Nullable, emailAddress?: Nullable); get emailId(): Nullable; get emailAddress(): Nullable; copy(emailId?: Nullable, emailAddress?: Nullable): OrganizationsAdminMemberUnlinkRetiredEmailRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace OrganizationsAdminMemberUnlinkRetiredEmailRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OrganizationsAdminMemberUnlinkRetiredEmailRequest; } } /** * Response type * @param requestId * @param memberId * @param member * @param organization * @param statusCode */ export declare class OrganizationsAdminMemberUnlinkRetiredEmailResponse implements StytchAPIResponse { constructor(requestId: string, memberId: string, member: ApiOrganizationV1Member, organization: ApiOrganizationV1Organization, statusCode: number); get requestId(): string; get memberId(): string; get member(): ApiOrganizationV1Member; get organization(): ApiOrganizationV1Organization; get statusCode(): number; copy(requestId?: string, memberId?: string, member?: ApiOrganizationV1Member, organization?: ApiOrganizationV1Organization, statusCode?: number): OrganizationsAdminMemberUnlinkRetiredEmailResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace OrganizationsAdminMemberUnlinkRetiredEmailResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OrganizationsAdminMemberUnlinkRetiredEmailResponse; } } /** * Request type * @param preserveExistingSessions * @param name * @param mfaEnrolled * @param mfaPhoneNumber * @param untrustedMetadata * @param isBreakglass * @param roles * @param defaultMfaMethod * @param emailAddress * @param unlinkEmail */ export declare class OrganizationsAdminMemberUpdateRequest { constructor(preserveExistingSessions: boolean, name?: Nullable, mfaEnrolled?: Nullable, mfaPhoneNumber?: Nullable, untrustedMetadata?: Nullable>, isBreakglass?: Nullable, roles?: Nullable>, defaultMfaMethod?: Nullable, emailAddress?: Nullable, unlinkEmail?: Nullable); get preserveExistingSessions(): boolean; get name(): Nullable; get mfaEnrolled(): Nullable; get mfaPhoneNumber(): Nullable; get untrustedMetadata(): Nullable>; get isBreakglass(): Nullable; get roles(): Nullable>; get defaultMfaMethod(): Nullable; get emailAddress(): Nullable; get unlinkEmail(): Nullable; copy(preserveExistingSessions?: boolean, name?: Nullable, mfaEnrolled?: Nullable, mfaPhoneNumber?: Nullable, untrustedMetadata?: Nullable>, isBreakglass?: Nullable, roles?: Nullable>, defaultMfaMethod?: Nullable, emailAddress?: Nullable, unlinkEmail?: Nullable): OrganizationsAdminMemberUpdateRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace OrganizationsAdminMemberUpdateRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OrganizationsAdminMemberUpdateRequest; } } /** * Response type * @param requestId * @param memberId * @param member * @param organization * @param statusCode */ export declare class OrganizationsAdminMemberUpdateResponse implements StytchAPIResponse { constructor(requestId: string, memberId: string, member: ApiOrganizationV1Member, organization: ApiOrganizationV1Organization, statusCode: number); get requestId(): string; get memberId(): string; get member(): ApiOrganizationV1Member; get organization(): ApiOrganizationV1Organization; get statusCode(): number; copy(requestId?: string, memberId?: string, member?: ApiOrganizationV1Member, organization?: ApiOrganizationV1Organization, statusCode?: number): OrganizationsAdminMemberUpdateResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace OrganizationsAdminMemberUpdateResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OrganizationsAdminMemberUpdateResponse; } } /** * Response type * @param requestId * @param connectedAppId * @param name * @param description * @param clientType * @param activeMembers * @param statusCode * @param logoUrl */ export declare class OrganizationsGetConnectedAppResponse implements StytchAPIResponse { constructor(requestId: string, connectedAppId: string, name: string, description: string, clientType: string, activeMembers: KtList, statusCode: number, logoUrl?: Nullable); get requestId(): string; get connectedAppId(): string; get name(): string; get description(): string; get clientType(): string; get activeMembers(): KtList; get statusCode(): number; get logoUrl(): Nullable; copy(requestId?: string, connectedAppId?: string, name?: string, description?: string, clientType?: string, activeMembers?: KtList, statusCode?: number, logoUrl?: Nullable): OrganizationsGetConnectedAppResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace OrganizationsGetConnectedAppResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OrganizationsGetConnectedAppResponse; } } /** * Response type * @param requestId * @param connectedApps * @param statusCode */ export declare class OrganizationsGetConnectedAppsResponse implements StytchAPIResponse { constructor(requestId: string, connectedApps: KtList, statusCode: number); get requestId(): string; get connectedApps(): KtList; get statusCode(): number; copy(requestId?: string, connectedApps?: KtList, statusCode?: number): OrganizationsGetConnectedAppsResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace OrganizationsGetConnectedAppsResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OrganizationsGetConnectedAppsResponse; } } /** * Request type * @param emailAddress * @param isBreakglass * @param createMemberAsPending * @param roles * @param name * @param mfaEnrolled * @param mfaPhoneNumber * @param untrustedMetadata */ export declare class OrganizationsMemberCreateRequest { constructor(emailAddress: string, isBreakglass: boolean, createMemberAsPending: boolean, roles: KtList, name?: Nullable, mfaEnrolled?: Nullable, mfaPhoneNumber?: Nullable, untrustedMetadata?: Nullable>); get emailAddress(): string; get isBreakglass(): boolean; get createMemberAsPending(): boolean; get roles(): KtList; get name(): Nullable; get mfaEnrolled(): Nullable; get mfaPhoneNumber(): Nullable; get untrustedMetadata(): Nullable>; copy(emailAddress?: string, isBreakglass?: boolean, createMemberAsPending?: boolean, roles?: KtList, name?: Nullable, mfaEnrolled?: Nullable, mfaPhoneNumber?: Nullable, untrustedMetadata?: Nullable>): OrganizationsMemberCreateRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace OrganizationsMemberCreateRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OrganizationsMemberCreateRequest; } } /** * Response type * @param requestId * @param memberId * @param member * @param organization * @param statusCode */ export declare class OrganizationsMemberCreateResponse implements StytchAPIResponse { constructor(requestId: string, memberId: string, member: ApiOrganizationV1Member, organization: ApiOrganizationV1Organization, statusCode: number); get requestId(): string; get memberId(): string; get member(): ApiOrganizationV1Member; get organization(): ApiOrganizationV1Organization; get statusCode(): number; copy(requestId?: string, memberId?: string, member?: ApiOrganizationV1Member, organization?: ApiOrganizationV1Organization, statusCode?: number): OrganizationsMemberCreateResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace OrganizationsMemberCreateResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OrganizationsMemberCreateResponse; } } /** * Response type * @param requestId * @param memberId * @param member * @param organization * @param statusCode */ export declare class OrganizationsMemberDeleteMFAPhoneNumberResponse implements StytchAPIResponse { constructor(requestId: string, memberId: string, member: ApiOrganizationV1Member, organization: ApiOrganizationV1Organization, statusCode: number); get requestId(): string; get memberId(): string; get member(): ApiOrganizationV1Member; get organization(): ApiOrganizationV1Organization; get statusCode(): number; copy(requestId?: string, memberId?: string, member?: ApiOrganizationV1Member, organization?: ApiOrganizationV1Organization, statusCode?: number): OrganizationsMemberDeleteMFAPhoneNumberResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace OrganizationsMemberDeleteMFAPhoneNumberResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OrganizationsMemberDeleteMFAPhoneNumberResponse; } } /** * Response type * @param requestId * @param memberId * @param member * @param organization * @param statusCode */ export declare class OrganizationsMemberDeleteMFATOTPResponse implements StytchAPIResponse { constructor(requestId: string, memberId: string, member: ApiOrganizationV1Member, organization: ApiOrganizationV1Organization, statusCode: number); get requestId(): string; get memberId(): string; get member(): ApiOrganizationV1Member; get organization(): ApiOrganizationV1Organization; get statusCode(): number; copy(requestId?: string, memberId?: string, member?: ApiOrganizationV1Member, organization?: ApiOrganizationV1Organization, statusCode?: number): OrganizationsMemberDeleteMFATOTPResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace OrganizationsMemberDeleteMFATOTPResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OrganizationsMemberDeleteMFATOTPResponse; } } /** * Response type * @param requestId * @param connectedApps * @param statusCode */ export declare class OrganizationsMemberGetConnectedAppsResponse implements StytchAPIResponse { constructor(requestId: string, connectedApps: KtList, statusCode: number); get requestId(): string; get connectedApps(): KtList; get statusCode(): number; copy(requestId?: string, connectedApps?: KtList, statusCode?: number): OrganizationsMemberGetConnectedAppsResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace OrganizationsMemberGetConnectedAppsResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OrganizationsMemberGetConnectedAppsResponse; } } /** * Response type * @param requestId * @param statusCode */ export declare class OrganizationsMemberRevokeConnectedAppResponse implements StytchAPIResponse { constructor(requestId: string, statusCode: number); get requestId(): string; get statusCode(): number; copy(requestId?: string, statusCode?: number): OrganizationsMemberRevokeConnectedAppResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace OrganizationsMemberRevokeConnectedAppResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OrganizationsMemberRevokeConnectedAppResponse; } } /** * Request type * @param cursor * @param limit * @param query */ export declare class OrganizationsMemberSearchRequest { constructor(cursor: string, limit?: Nullable, query?: Nullable); get cursor(): string; get limit(): Nullable; get query(): Nullable; copy(cursor?: string, limit?: Nullable, query?: Nullable): OrganizationsMemberSearchRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace OrganizationsMemberSearchRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OrganizationsMemberSearchRequest; } } /** * Response type * @param requestId * @param members * @param organizations * @param statusCode * @param resultsMetadata */ export declare class OrganizationsMemberSearchResponse implements StytchAPIResponse { constructor(requestId: string, members: KtList, organizations: KtMap, statusCode: number, resultsMetadata?: Nullable); get requestId(): string; get members(): KtList; get organizations(): KtMap; get statusCode(): number; get resultsMetadata(): Nullable; copy(requestId?: string, members?: KtList, organizations?: KtMap, statusCode?: number, resultsMetadata?: Nullable): OrganizationsMemberSearchResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace OrganizationsMemberSearchResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OrganizationsMemberSearchResponse; } } /** * Request type * @param emailAddress * @param loginRedirectUrl * @param locale * @param loginTemplateId * @param deliveryMethod */ export declare class OrganizationsMemberStartEmailUpdateRequest { constructor(emailAddress: string, loginRedirectUrl?: Nullable, locale?: Nullable, loginTemplateId?: Nullable, deliveryMethod?: Nullable); get emailAddress(): string; get loginRedirectUrl(): Nullable; get locale(): Nullable; get loginTemplateId(): Nullable; get deliveryMethod(): Nullable; copy(emailAddress?: string, loginRedirectUrl?: Nullable, locale?: Nullable, loginTemplateId?: Nullable, deliveryMethod?: Nullable): OrganizationsMemberStartEmailUpdateRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace OrganizationsMemberStartEmailUpdateRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OrganizationsMemberStartEmailUpdateRequest; } } /** * Response type * @param requestId * @param memberId * @param member * @param organization * @param statusCode */ export declare class OrganizationsMemberStartEmailUpdateResponse implements StytchAPIResponse { constructor(requestId: string, memberId: string, member: ApiOrganizationV1Member, organization: ApiOrganizationV1Organization, statusCode: number); get requestId(): string; get memberId(): string; get member(): ApiOrganizationV1Member; get organization(): ApiOrganizationV1Organization; get statusCode(): number; copy(requestId?: string, memberId?: string, member?: ApiOrganizationV1Member, organization?: ApiOrganizationV1Organization, statusCode?: number): OrganizationsMemberStartEmailUpdateResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace OrganizationsMemberStartEmailUpdateResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OrganizationsMemberStartEmailUpdateResponse; } } /** * Request type * @param emailId * @param emailAddress */ export declare class OrganizationsMemberUnlinkRetiredEmailRequest { constructor(emailId?: Nullable, emailAddress?: Nullable); get emailId(): Nullable; get emailAddress(): Nullable; copy(emailId?: Nullable, emailAddress?: Nullable): OrganizationsMemberUnlinkRetiredEmailRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace OrganizationsMemberUnlinkRetiredEmailRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OrganizationsMemberUnlinkRetiredEmailRequest; } } /** * Response type * @param requestId * @param memberId * @param member * @param organization * @param statusCode */ export declare class OrganizationsMemberUnlinkRetiredEmailResponse implements StytchAPIResponse { constructor(requestId: string, memberId: string, member: ApiOrganizationV1Member, organization: ApiOrganizationV1Organization, statusCode: number); get requestId(): string; get memberId(): string; get member(): ApiOrganizationV1Member; get organization(): ApiOrganizationV1Organization; get statusCode(): number; copy(requestId?: string, memberId?: string, member?: ApiOrganizationV1Member, organization?: ApiOrganizationV1Organization, statusCode?: number): OrganizationsMemberUnlinkRetiredEmailResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace OrganizationsMemberUnlinkRetiredEmailResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OrganizationsMemberUnlinkRetiredEmailResponse; } } /** * Request type * @param name * @param mfaEnrolled * @param mfaPhoneNumber * @param untrustedMetadata * @param defaultMfaMethod */ export declare class OrganizationsMemberUpdateRequest { constructor(name?: Nullable, mfaEnrolled?: Nullable, mfaPhoneNumber?: Nullable, untrustedMetadata?: Nullable>, defaultMfaMethod?: Nullable); get name(): Nullable; get mfaEnrolled(): Nullable; get mfaPhoneNumber(): Nullable; get untrustedMetadata(): Nullable>; get defaultMfaMethod(): Nullable; copy(name?: Nullable, mfaEnrolled?: Nullable, mfaPhoneNumber?: Nullable, untrustedMetadata?: Nullable>, defaultMfaMethod?: Nullable): OrganizationsMemberUpdateRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace OrganizationsMemberUpdateRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OrganizationsMemberUpdateRequest; } } /** * Response type * @param requestId * @param memberId * @param member * @param organization * @param statusCode */ export declare class OrganizationsMemberUpdateResponse implements StytchAPIResponse { constructor(requestId: string, memberId: string, member: ApiOrganizationV1Member, organization: ApiOrganizationV1Organization, statusCode: number); get requestId(): string; get memberId(): string; get member(): ApiOrganizationV1Member; get organization(): ApiOrganizationV1Organization; get statusCode(): number; copy(requestId?: string, memberId?: string, member?: ApiOrganizationV1Member, organization?: ApiOrganizationV1Organization, statusCode?: number): OrganizationsMemberUpdateResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace OrganizationsMemberUpdateResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OrganizationsMemberUpdateResponse; } } /** * Request type * @param email * @param password * @param sessionDurationMinutes * @param captchaToken * @param dfpTelemetryId */ export declare class PasswordsAuthenticateRequest { constructor(email: string, password: string, sessionDurationMinutes: number, captchaToken?: Nullable, dfpTelemetryId?: Nullable); get email(): string; get password(): string; get sessionDurationMinutes(): number; get captchaToken(): Nullable; get dfpTelemetryId(): Nullable; copy(email?: string, password?: string, sessionDurationMinutes?: number, captchaToken?: Nullable, dfpTelemetryId?: Nullable): PasswordsAuthenticateRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace PasswordsAuthenticateRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => PasswordsAuthenticateRequest; } } /** * Response type * @param requestId * @param userId * @param sessionToken * @param session * @param sessionJwt * @param user * @param statusCode * @param userDevice */ export declare class PasswordsAuthenticateResponse implements StytchAPIResponse, AuthenticatedResponse { constructor(requestId: string, userId: string, sessionToken: string, session: ApiSessionV1Session, sessionJwt: string, user: ApiUserV1User, statusCode: number, userDevice?: Nullable); get requestId(): string; get userId(): string; get sessionToken(): string; get session(): ApiSessionV1Session; get sessionJwt(): string; get user(): ApiUserV1User; get statusCode(): number; get userDevice(): Nullable; copy(requestId?: string, userId?: string, sessionToken?: string, session?: ApiSessionV1Session, sessionJwt?: string, user?: ApiUserV1User, statusCode?: number, userDevice?: Nullable): PasswordsAuthenticateResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"] & AuthenticatedResponse["__doNotUseOrImplementIt"]; } export declare namespace PasswordsAuthenticateResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => PasswordsAuthenticateResponse; } } /** * Request type * @param email * @param password * @param sessionDurationMinutes * @param captchaToken * @param dfpTelemetryId */ export declare class PasswordsCreateRequest { constructor(email: string, password: string, sessionDurationMinutes: number, captchaToken?: Nullable, dfpTelemetryId?: Nullable); get email(): string; get password(): string; get sessionDurationMinutes(): number; get captchaToken(): Nullable; get dfpTelemetryId(): Nullable; copy(email?: string, password?: string, sessionDurationMinutes?: number, captchaToken?: Nullable, dfpTelemetryId?: Nullable): PasswordsCreateRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace PasswordsCreateRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => PasswordsCreateRequest; } } /** * Response type * @param requestId * @param userId * @param emailId * @param sessionToken * @param session * @param sessionJwt * @param user * @param statusCode * @param userDevice */ export declare class PasswordsCreateResponse implements StytchAPIResponse, AuthenticatedResponse { constructor(requestId: string, userId: string, emailId: string, sessionToken: string, session: ApiSessionV1Session, sessionJwt: string, user: ApiUserV1User, statusCode: number, userDevice?: Nullable); get requestId(): string; get userId(): string; get emailId(): string; get sessionToken(): string; get session(): ApiSessionV1Session; get sessionJwt(): string; get user(): ApiUserV1User; get statusCode(): number; get userDevice(): Nullable; copy(requestId?: string, userId?: string, emailId?: string, sessionToken?: string, session?: ApiSessionV1Session, sessionJwt?: string, user?: ApiUserV1User, statusCode?: number, userDevice?: Nullable): PasswordsCreateResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"] & AuthenticatedResponse["__doNotUseOrImplementIt"]; } export declare namespace PasswordsCreateResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => PasswordsCreateResponse; } } /** * Request type * @param token * @param password * @param sessionDurationMinutes * @param captchaToken * @param dfpTelemetryId * @param codeVerifier */ export declare class PasswordsEmailResetRequest { constructor(token: string, password: string, sessionDurationMinutes: number, captchaToken?: Nullable, dfpTelemetryId?: Nullable, codeVerifier?: Nullable); get token(): string; get password(): string; get sessionDurationMinutes(): number; get captchaToken(): Nullable; get dfpTelemetryId(): Nullable; get codeVerifier(): Nullable; copy(token?: string, password?: string, sessionDurationMinutes?: number, captchaToken?: Nullable, dfpTelemetryId?: Nullable, codeVerifier?: Nullable): PasswordsEmailResetRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace PasswordsEmailResetRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => PasswordsEmailResetRequest; } } /** * Response type * @param requestId * @param userId * @param sessionToken * @param session * @param sessionJwt * @param user * @param statusCode * @param userDevice */ export declare class PasswordsEmailResetResponse implements StytchAPIResponse, AuthenticatedResponse { constructor(requestId: string, userId: string, sessionToken: string, session: ApiSessionV1Session, sessionJwt: string, user: ApiUserV1User, statusCode: number, userDevice?: Nullable); get requestId(): string; get userId(): string; get sessionToken(): string; get session(): ApiSessionV1Session; get sessionJwt(): string; get user(): ApiUserV1User; get statusCode(): number; get userDevice(): Nullable; copy(requestId?: string, userId?: string, sessionToken?: string, session?: ApiSessionV1Session, sessionJwt?: string, user?: ApiUserV1User, statusCode?: number, userDevice?: Nullable): PasswordsEmailResetResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"] & AuthenticatedResponse["__doNotUseOrImplementIt"]; } export declare namespace PasswordsEmailResetResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => PasswordsEmailResetResponse; } } /** * Request type * @param email * @param loginRedirectUrl * @param resetPasswordRedirectUrl * @param resetPasswordExpirationMinutes * @param codeChallenge * @param captchaToken * @param resetPasswordTemplateId * @param dfpTelemetryId */ export declare class PasswordsEmailResetStartRequest { constructor(email: string, loginRedirectUrl?: Nullable, resetPasswordRedirectUrl?: Nullable, resetPasswordExpirationMinutes?: Nullable, codeChallenge?: Nullable, captchaToken?: Nullable, resetPasswordTemplateId?: Nullable, dfpTelemetryId?: Nullable); get email(): string; get loginRedirectUrl(): Nullable; get resetPasswordRedirectUrl(): Nullable; get resetPasswordExpirationMinutes(): Nullable; get codeChallenge(): Nullable; get captchaToken(): Nullable; get resetPasswordTemplateId(): Nullable; get dfpTelemetryId(): Nullable; copy(email?: string, loginRedirectUrl?: Nullable, resetPasswordRedirectUrl?: Nullable, resetPasswordExpirationMinutes?: Nullable, codeChallenge?: Nullable, captchaToken?: Nullable, resetPasswordTemplateId?: Nullable, dfpTelemetryId?: Nullable): PasswordsEmailResetStartRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace PasswordsEmailResetStartRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => PasswordsEmailResetStartRequest; } } /** * Response type * @param requestId * @param statusCode */ export declare class PasswordsEmailResetStartResponse implements StytchAPIResponse { constructor(requestId: string, statusCode: number); get requestId(): string; get statusCode(): number; copy(requestId?: string, statusCode?: number): PasswordsEmailResetStartResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace PasswordsEmailResetStartResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => PasswordsEmailResetStartResponse; } } /** * Request type * @param email * @param existingPassword * @param newPassword * @param sessionDurationMinutes * @param captchaToken * @param dfpTelemetryId */ export declare class PasswordsExistingPasswordResetRequest { constructor(email: string, existingPassword: string, newPassword: string, sessionDurationMinutes?: Nullable, captchaToken?: Nullable, dfpTelemetryId?: Nullable); get email(): string; get existingPassword(): string; get newPassword(): string; get sessionDurationMinutes(): Nullable; get captchaToken(): Nullable; get dfpTelemetryId(): Nullable; copy(email?: string, existingPassword?: string, newPassword?: string, sessionDurationMinutes?: Nullable, captchaToken?: Nullable, dfpTelemetryId?: Nullable): PasswordsExistingPasswordResetRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace PasswordsExistingPasswordResetRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => PasswordsExistingPasswordResetRequest; } } /** * Response type * @param requestId * @param userId * @param sessionToken * @param session * @param sessionJwt * @param user * @param statusCode * @param userDevice */ export declare class PasswordsExistingPasswordResetResponse implements StytchAPIResponse, AuthenticatedResponse { constructor(requestId: string, userId: string, sessionToken: string, session: ApiSessionV1Session, sessionJwt: string, user: ApiUserV1User, statusCode: number, userDevice?: Nullable); get requestId(): string; get userId(): string; get sessionToken(): string; get session(): ApiSessionV1Session; get sessionJwt(): string; get user(): ApiUserV1User; get statusCode(): number; get userDevice(): Nullable; copy(requestId?: string, userId?: string, sessionToken?: string, session?: ApiSessionV1Session, sessionJwt?: string, user?: ApiUserV1User, statusCode?: number, userDevice?: Nullable): PasswordsExistingPasswordResetResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"] & AuthenticatedResponse["__doNotUseOrImplementIt"]; } export declare namespace PasswordsExistingPasswordResetResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => PasswordsExistingPasswordResetResponse; } } /** * Request type * @param password * @param sessionDurationMinutes * @param captchaToken * @param dfpTelemetryId */ export declare class PasswordsSessionResetRequest { constructor(password: string, sessionDurationMinutes?: Nullable, captchaToken?: Nullable, dfpTelemetryId?: Nullable); get password(): string; get sessionDurationMinutes(): Nullable; get captchaToken(): Nullable; get dfpTelemetryId(): Nullable; copy(password?: string, sessionDurationMinutes?: Nullable, captchaToken?: Nullable, dfpTelemetryId?: Nullable): PasswordsSessionResetRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace PasswordsSessionResetRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => PasswordsSessionResetRequest; } } /** * Response type * @param requestId * @param userId * @param sessionToken * @param session * @param sessionJwt * @param user * @param statusCode * @param userDevice */ export declare class PasswordsSessionResetResponse implements StytchAPIResponse, AuthenticatedResponse { constructor(requestId: string, userId: string, sessionToken: string, session: ApiSessionV1Session, sessionJwt: string, user: ApiUserV1User, statusCode: number, userDevice?: Nullable); get requestId(): string; get userId(): string; get sessionToken(): string; get session(): ApiSessionV1Session; get sessionJwt(): string; get user(): ApiUserV1User; get statusCode(): number; get userDevice(): Nullable; copy(requestId?: string, userId?: string, sessionToken?: string, session?: ApiSessionV1Session, sessionJwt?: string, user?: ApiUserV1User, statusCode?: number, userDevice?: Nullable): PasswordsSessionResetResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"] & AuthenticatedResponse["__doNotUseOrImplementIt"]; } export declare namespace PasswordsSessionResetResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => PasswordsSessionResetResponse; } } /** * Request type * @param password * @param email */ export declare class PasswordsStrengthCheckRequest { constructor(password: string, email?: Nullable); get password(): string; get email(): Nullable; copy(password?: string, email?: Nullable): PasswordsStrengthCheckRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace PasswordsStrengthCheckRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => PasswordsStrengthCheckRequest; } } /** * Response type * @param requestId * @param validPassword * @param score * @param breachedPassword * @param strengthPolicy * @param breachDetectionOnCreate * @param statusCode * @param feedback */ export declare class PasswordsStrengthCheckResponse implements StytchAPIResponse { constructor(requestId: string, validPassword: boolean, score: number, breachedPassword: boolean, strengthPolicy: string, breachDetectionOnCreate: boolean, statusCode: number, feedback?: Nullable); get requestId(): string; get validPassword(): boolean; get score(): number; get breachedPassword(): boolean; get strengthPolicy(): string; get breachDetectionOnCreate(): boolean; get statusCode(): number; get feedback(): Nullable; copy(requestId?: string, validPassword?: boolean, score?: number, breachedPassword?: boolean, strengthPolicy?: string, breachDetectionOnCreate?: boolean, statusCode?: number, feedback?: Nullable): PasswordsStrengthCheckResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace PasswordsStrengthCheckResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => PasswordsStrengthCheckResponse; } } /** * Response type * @param requestId * @param statusCode */ export declare class RevokeConnectedAppResponse implements StytchAPIResponse { constructor(requestId: string, statusCode: number); get requestId(): string; get statusCode(): number; copy(requestId?: string, statusCode?: number): RevokeConnectedAppResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace RevokeConnectedAppResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => RevokeConnectedAppResponse; } } /** * Request type * @param connectionId */ export declare class SCIMRotateTokenCancelRequest { constructor(connectionId: string); get connectionId(): string; copy(connectionId?: string): SCIMRotateTokenCancelRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace SCIMRotateTokenCancelRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => SCIMRotateTokenCancelRequest; } } /** * Response type * @param requestId * @param statusCode * @param connection */ export declare class SCIMRotateTokenCancelResponse implements StytchAPIResponse { constructor(requestId: string, statusCode: number, connection?: Nullable); get requestId(): string; get statusCode(): number; get connection(): Nullable; copy(requestId?: string, statusCode?: number, connection?: Nullable): SCIMRotateTokenCancelResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace SCIMRotateTokenCancelResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => SCIMRotateTokenCancelResponse; } } /** * Request type * @param connectionId */ export declare class SCIMRotateTokenCompleteRequest { constructor(connectionId: string); get connectionId(): string; copy(connectionId?: string): SCIMRotateTokenCompleteRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace SCIMRotateTokenCompleteRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => SCIMRotateTokenCompleteRequest; } } /** * Response type * @param requestId * @param statusCode * @param connection */ export declare class SCIMRotateTokenCompleteResponse implements StytchAPIResponse { constructor(requestId: string, statusCode: number, connection?: Nullable); get requestId(): string; get statusCode(): number; get connection(): Nullable; copy(requestId?: string, statusCode?: number, connection?: Nullable): SCIMRotateTokenCompleteResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace SCIMRotateTokenCompleteResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => SCIMRotateTokenCompleteResponse; } } /** * Request type * @param connectionId */ export declare class SCIMRotateTokenStartRequest { constructor(connectionId: string); get connectionId(): string; copy(connectionId?: string): SCIMRotateTokenStartRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace SCIMRotateTokenStartRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => SCIMRotateTokenStartRequest; } } /** * Response type * @param requestId * @param statusCode * @param connection */ export declare class SCIMRotateTokenStartResponse implements StytchAPIResponse { constructor(requestId: string, statusCode: number, connection?: Nullable); get requestId(): string; get statusCode(): number; get connection(): Nullable; copy(requestId?: string, statusCode?: number, connection?: Nullable): SCIMRotateTokenStartResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace SCIMRotateTokenStartResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => SCIMRotateTokenStartResponse; } } /** * @param ipAddress * @param ipAddressDetails * @param ipGeoCity * @param ipGeoRegion * @param ipGeoCountry * @param ipGeoCountryDetails */ export declare class SDKDeviceInfo { constructor(ipAddress?: Nullable, ipAddressDetails?: Nullable, ipGeoCity?: Nullable, ipGeoRegion?: Nullable, ipGeoCountry?: Nullable, ipGeoCountryDetails?: Nullable); get ipAddress(): Nullable; get ipAddressDetails(): Nullable; get ipGeoCity(): Nullable; get ipGeoRegion(): Nullable; get ipGeoCountry(): Nullable; get ipGeoCountryDetails(): Nullable; copy(ipAddress?: Nullable, ipAddressDetails?: Nullable, ipGeoCity?: Nullable, ipGeoRegion?: Nullable, ipGeoCountry?: Nullable, ipGeoCountryDetails?: Nullable): SDKDeviceInfo; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace SDKDeviceInfo { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => SDKDeviceInfo; } } /** * @param uri * @param resources * @param chainId * @param statement * @param issuedAt * @param notBefore * @param messageRequestId */ export declare class SDKSIWEParams { constructor(uri: string, resources: KtList, chainId?: Nullable, statement?: Nullable, issuedAt?: Nullable/* Nullable */, notBefore?: Nullable, messageRequestId?: Nullable); get uri(): string; get resources(): KtList; get chainId(): Nullable; get statement(): Nullable; get issuedAt(): Nullable/* Nullable */; get notBefore(): Nullable; get messageRequestId(): Nullable; copy(uri?: string, resources?: KtList, chainId?: Nullable, statement?: Nullable, issuedAt?: Nullable/* Nullable */, notBefore?: Nullable, messageRequestId?: Nullable): SDKSIWEParams; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace SDKSIWEParams { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => SDKSIWEParams; } } /** * @param connectionId * @param displayName * @param identityProvider */ export declare class SSOConnection { constructor(connectionId: string, displayName: string, identityProvider: string); get connectionId(): string; get displayName(): string; get identityProvider(): string; copy(connectionId?: string, displayName?: string, identityProvider?: string): SSOConnection; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace SSOConnection { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => SSOConnection; } } /** * Request type * @param accessToken * @param sessionDurationMinutes */ export declare class SessionsAccessTokenExchangeRequest { constructor(accessToken: string, sessionDurationMinutes: number); get accessToken(): string; get sessionDurationMinutes(): number; copy(accessToken?: string, sessionDurationMinutes?: number): SessionsAccessTokenExchangeRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace SessionsAccessTokenExchangeRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => SessionsAccessTokenExchangeRequest; } } /** * Response type * @param requestId * @param session * @param sessionToken * @param sessionJwt * @param user * @param statusCode */ export declare class SessionsAccessTokenExchangeResponse implements StytchAPIResponse, AuthenticatedResponse { constructor(requestId: string, session: ApiSessionV1Session, sessionToken: string, sessionJwt: string, user: ApiUserV1User, statusCode: number); get requestId(): string; get session(): ApiSessionV1Session; get sessionToken(): string; get sessionJwt(): string; get user(): ApiUserV1User; get statusCode(): number; copy(requestId?: string, session?: ApiSessionV1Session, sessionToken?: string, sessionJwt?: string, user?: ApiUserV1User, statusCode?: number): SessionsAccessTokenExchangeResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"] & AuthenticatedResponse["__doNotUseOrImplementIt"]; } export declare namespace SessionsAccessTokenExchangeResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => SessionsAccessTokenExchangeResponse; } } /** * Request type * @param profileId * @param token * @param sessionDurationMinutes */ export declare class SessionsAttestRequest { constructor(profileId: string, token: string, sessionDurationMinutes?: Nullable); get profileId(): string; get token(): string; get sessionDurationMinutes(): Nullable; copy(profileId?: string, token?: string, sessionDurationMinutes?: Nullable): SessionsAttestRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace SessionsAttestRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => SessionsAttestRequest; } } /** * Response type * @param requestId * @param userId * @param session * @param sessionToken * @param sessionJwt * @param user * @param statusCode */ export declare class SessionsAttestResponse implements StytchAPIResponse, AuthenticatedResponse { constructor(requestId: string, userId: string, session: ApiSessionV1Session, sessionToken: string, sessionJwt: string, user: ApiUserV1User, statusCode: number); get requestId(): string; get userId(): string; get session(): ApiSessionV1Session; get sessionToken(): string; get sessionJwt(): string; get user(): ApiUserV1User; get statusCode(): number; copy(requestId?: string, userId?: string, session?: ApiSessionV1Session, sessionToken?: string, sessionJwt?: string, user?: ApiUserV1User, statusCode?: number): SessionsAttestResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"] & AuthenticatedResponse["__doNotUseOrImplementIt"]; } export declare namespace SessionsAttestResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => SessionsAttestResponse; } } /** * Request type * @param sessionDurationMinutes */ export declare class SessionsAuthenticateRequest { constructor(sessionDurationMinutes?: Nullable); get sessionDurationMinutes(): Nullable; copy(sessionDurationMinutes?: Nullable): SessionsAuthenticateRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace SessionsAuthenticateRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => SessionsAuthenticateRequest; } } /** * Response type * @param requestId * @param session * @param sessionToken * @param sessionJwt * @param user * @param statusCode */ export declare class SessionsAuthenticateResponse implements StytchAPIResponse, AuthenticatedResponse { constructor(requestId: string, session: ApiSessionV1Session, sessionToken: string, sessionJwt: string, user: ApiUserV1User, statusCode: number); get requestId(): string; get session(): ApiSessionV1Session; get sessionToken(): string; get sessionJwt(): string; get user(): ApiUserV1User; get statusCode(): number; copy(requestId?: string, session?: ApiSessionV1Session, sessionToken?: string, sessionJwt?: string, user?: ApiUserV1User, statusCode?: number): SessionsAuthenticateResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"] & AuthenticatedResponse["__doNotUseOrImplementIt"]; } export declare namespace SessionsAuthenticateResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => SessionsAuthenticateResponse; } } /** * Response type * @param requestId * @param statusCode */ export declare class SessionsRevokeResponse implements StytchAPIResponse { constructor(requestId: string, statusCode: number); get requestId(): string; get statusCode(): number; copy(requestId?: string, statusCode?: number): SessionsRevokeResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace SessionsRevokeResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => SessionsRevokeResponse; } } /** * Request type * @param totpCode * @param sessionDurationMinutes * @param dfpTelemetryId * @param captchaToken */ export declare class TOTPsAuthenticateRequest { constructor(totpCode: string, sessionDurationMinutes: number, dfpTelemetryId?: Nullable, captchaToken?: Nullable); get totpCode(): string; get sessionDurationMinutes(): number; get dfpTelemetryId(): Nullable; get captchaToken(): Nullable; copy(totpCode?: string, sessionDurationMinutes?: number, dfpTelemetryId?: Nullable, captchaToken?: Nullable): TOTPsAuthenticateRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace TOTPsAuthenticateRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => TOTPsAuthenticateRequest; } } /** * Response type * @param requestId * @param userId * @param totpId * @param sessionToken * @param sessionJwt * @param session * @param user * @param statusCode * @param userDevice */ export declare class TOTPsAuthenticateResponse implements StytchAPIResponse, AuthenticatedResponse { constructor(requestId: string, userId: string, totpId: string, sessionToken: string, sessionJwt: string, session: ApiSessionV1Session, user: ApiUserV1User, statusCode: number, userDevice?: Nullable); get requestId(): string; get userId(): string; get totpId(): string; get sessionToken(): string; get sessionJwt(): string; get session(): ApiSessionV1Session; get user(): ApiUserV1User; get statusCode(): number; get userDevice(): Nullable; copy(requestId?: string, userId?: string, totpId?: string, sessionToken?: string, sessionJwt?: string, session?: ApiSessionV1Session, user?: ApiUserV1User, statusCode?: number, userDevice?: Nullable): TOTPsAuthenticateResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"] & AuthenticatedResponse["__doNotUseOrImplementIt"]; } export declare namespace TOTPsAuthenticateResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => TOTPsAuthenticateResponse; } } /** * Request type * @param expirationMinutes */ export declare class TOTPsCreateRequest { constructor(expirationMinutes?: Nullable); get expirationMinutes(): Nullable; copy(expirationMinutes?: Nullable): TOTPsCreateRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace TOTPsCreateRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => TOTPsCreateRequest; } } /** * Response type * @param requestId * @param totpId * @param secret * @param qrCode * @param recoveryCodes * @param user * @param userId * @param statusCode */ export declare class TOTPsCreateResponse implements StytchAPIResponse { constructor(requestId: string, totpId: string, secret: string, qrCode: string, recoveryCodes: KtList, user: ApiUserV1User, userId: string, statusCode: number); get requestId(): string; get totpId(): string; get secret(): string; get qrCode(): string; get recoveryCodes(): KtList; get user(): ApiUserV1User; get userId(): string; get statusCode(): number; copy(requestId?: string, totpId?: string, secret?: string, qrCode?: string, recoveryCodes?: KtList, user?: ApiUserV1User, userId?: string, statusCode?: number): TOTPsCreateResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace TOTPsCreateResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => TOTPsCreateResponse; } } /** * Response type * @param requestId * @param userId * @param totps * @param statusCode */ export declare class TOTPsGetRecoveryCodesResponse implements StytchAPIResponse { constructor(requestId: string, userId: string, totps: KtList, statusCode: number); get requestId(): string; get userId(): string; get totps(): KtList; get statusCode(): number; copy(requestId?: string, userId?: string, totps?: KtList, statusCode?: number): TOTPsGetRecoveryCodesResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace TOTPsGetRecoveryCodesResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => TOTPsGetRecoveryCodesResponse; } } /** * Request type * @param recoveryCode * @param sessionDurationMinutes * @param dfpTelemetryId * @param captchaToken */ export declare class TOTPsRecoverRequest { constructor(recoveryCode: string, sessionDurationMinutes: number, dfpTelemetryId?: Nullable, captchaToken?: Nullable); get recoveryCode(): string; get sessionDurationMinutes(): number; get dfpTelemetryId(): Nullable; get captchaToken(): Nullable; copy(recoveryCode?: string, sessionDurationMinutes?: number, dfpTelemetryId?: Nullable, captchaToken?: Nullable): TOTPsRecoverRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace TOTPsRecoverRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => TOTPsRecoverRequest; } } /** * Response type * @param requestId * @param userId * @param totpId * @param sessionToken * @param sessionJwt * @param session * @param user * @param statusCode * @param userDevice */ export declare class TOTPsRecoverResponse implements StytchAPIResponse, AuthenticatedResponse { constructor(requestId: string, userId: string, totpId: string, sessionToken: string, sessionJwt: string, session: ApiSessionV1Session, user: ApiUserV1User, statusCode: number, userDevice?: Nullable); get requestId(): string; get userId(): string; get totpId(): string; get sessionToken(): string; get sessionJwt(): string; get session(): ApiSessionV1Session; get user(): ApiUserV1User; get statusCode(): number; get userDevice(): Nullable; copy(requestId?: string, userId?: string, totpId?: string, sessionToken?: string, sessionJwt?: string, session?: ApiSessionV1Session, user?: ApiUserV1User, statusCode?: number, userDevice?: Nullable): TOTPsRecoverResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"] & AuthenticatedResponse["__doNotUseOrImplementIt"]; } export declare namespace TOTPsRecoverResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => TOTPsRecoverResponse; } } /** * Request type * @param name * @param emails * @param phoneNumbers * @param cryptoWallets * @param trustedMetadata * @param untrustedMetadata */ export declare class UpdateMeRequest { constructor(name?: Nullable, emails?: Nullable>, phoneNumbers?: Nullable>, cryptoWallets?: Nullable>, trustedMetadata?: Nullable>, untrustedMetadata?: Nullable>); get name(): Nullable; get emails(): Nullable>; get phoneNumbers(): Nullable>; get cryptoWallets(): Nullable>; get trustedMetadata(): Nullable>; get untrustedMetadata(): Nullable>; copy(name?: Nullable, emails?: Nullable>, phoneNumbers?: Nullable>, cryptoWallets?: Nullable>, trustedMetadata?: Nullable>, untrustedMetadata?: Nullable>): UpdateMeRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace UpdateMeRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => UpdateMeRequest; } } /** * Response type * @param requestId * @param userId * @param emails * @param phoneNumbers * @param cryptoWallets * @param user * @param statusCode */ export declare class UpdateMeResponse implements StytchAPIResponse { constructor(requestId: string, userId: string, emails: KtList, phoneNumbers: KtList, cryptoWallets: KtList, user: ApiUserV1User, statusCode: number); get requestId(): string; get userId(): string; get emails(): KtList; get phoneNumbers(): KtList; get cryptoWallets(): KtList; get user(): ApiUserV1User; get statusCode(): number; copy(requestId?: string, userId?: string, emails?: KtList, phoneNumbers?: KtList, cryptoWallets?: KtList, user?: ApiUserV1User, statusCode?: number): UpdateMeResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace UpdateMeResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => UpdateMeResponse; } } /** * Request type * @param email */ export declare class UserSearchByEmailRequest { constructor(email: string); get email(): string; copy(email?: string): UserSearchByEmailRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace UserSearchByEmailRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => UserSearchByEmailRequest; } } /** * Response type * @param requestId * @param statusCode * @param userType */ export declare class UserSearchByEmailResponse implements StytchAPIResponse { constructor(requestId: string, statusCode: number, userType?: Nullable/* Nullable */); get requestId(): string; get statusCode(): number; get userType(): Nullable/* Nullable */; copy(requestId?: string, statusCode?: number, userType?: Nullable/* Nullable */): UserSearchByEmailResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace UserSearchByEmailResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => UserSearchByEmailResponse; } } /** * Request type * @param publicKeyCredential * @param sessionDurationMinutes * @param dfpTelemetryId * @param captchaToken */ export declare class WebAuthnAuthenticateRequest { constructor(publicKeyCredential: string, sessionDurationMinutes?: Nullable, dfpTelemetryId?: Nullable, captchaToken?: Nullable); get publicKeyCredential(): string; get sessionDurationMinutes(): Nullable; get dfpTelemetryId(): Nullable; get captchaToken(): Nullable; copy(publicKeyCredential?: string, sessionDurationMinutes?: Nullable, dfpTelemetryId?: Nullable, captchaToken?: Nullable): WebAuthnAuthenticateRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace WebAuthnAuthenticateRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => WebAuthnAuthenticateRequest; } } /** * Response type * @param requestId * @param userId * @param webauthnRegistrationId * @param sessionToken * @param session * @param sessionJwt * @param user * @param statusCode * @param userDevice */ export declare class WebAuthnAuthenticateResponse implements StytchAPIResponse, AuthenticatedResponse { constructor(requestId: string, userId: string, webauthnRegistrationId: string, sessionToken: string, session: ApiSessionV1Session, sessionJwt: string, user: ApiUserV1User, statusCode: number, userDevice?: Nullable); get requestId(): string; get userId(): string; get webauthnRegistrationId(): string; get sessionToken(): string; get session(): ApiSessionV1Session; get sessionJwt(): string; get user(): ApiUserV1User; get statusCode(): number; get userDevice(): Nullable; copy(requestId?: string, userId?: string, webauthnRegistrationId?: string, sessionToken?: string, session?: ApiSessionV1Session, sessionJwt?: string, user?: ApiUserV1User, statusCode?: number, userDevice?: Nullable): WebAuthnAuthenticateResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"] & AuthenticatedResponse["__doNotUseOrImplementIt"]; } export declare namespace WebAuthnAuthenticateResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => WebAuthnAuthenticateResponse; } } /** * Request type * @param domain * @param returnPasskeyCredentialOptions */ export declare class WebAuthnAuthenticateStartSecondaryRequest { constructor(domain: string, returnPasskeyCredentialOptions?: Nullable); get domain(): string; get returnPasskeyCredentialOptions(): Nullable; copy(domain?: string, returnPasskeyCredentialOptions?: Nullable): WebAuthnAuthenticateStartSecondaryRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace WebAuthnAuthenticateStartSecondaryRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => WebAuthnAuthenticateStartSecondaryRequest; } } /** * Response type * @param requestId * @param userId * @param publicKeyCredentialRequestOptions * @param statusCode */ export declare class WebAuthnAuthenticateStartSecondaryResponse implements StytchAPIResponse { constructor(requestId: string, userId: string, publicKeyCredentialRequestOptions: string, statusCode: number); get requestId(): string; get userId(): string; get publicKeyCredentialRequestOptions(): string; get statusCode(): number; copy(requestId?: string, userId?: string, publicKeyCredentialRequestOptions?: string, statusCode?: number): WebAuthnAuthenticateStartSecondaryResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace WebAuthnAuthenticateStartSecondaryResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => WebAuthnAuthenticateStartSecondaryResponse; } } /** * Request type * @param publicKeyCredential * @param sessionDurationMinutes */ export declare class WebAuthnRegisterRequest { constructor(publicKeyCredential: string, sessionDurationMinutes?: Nullable); get publicKeyCredential(): string; get sessionDurationMinutes(): Nullable; copy(publicKeyCredential?: string, sessionDurationMinutes?: Nullable): WebAuthnRegisterRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace WebAuthnRegisterRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => WebAuthnRegisterRequest; } } /** * Response type * @param requestId * @param userId * @param webauthnRegistrationId * @param sessionToken * @param sessionJwt * @param user * @param session * @param statusCode */ export declare class WebAuthnRegisterResponse implements StytchAPIResponse, AuthenticatedResponse { constructor(requestId: string, userId: string, webauthnRegistrationId: string, sessionToken: string, sessionJwt: string, user: ApiUserV1User, session: ApiSessionV1Session, statusCode: number); get requestId(): string; get userId(): string; get webauthnRegistrationId(): string; get sessionToken(): string; get sessionJwt(): string; get user(): ApiUserV1User; get session(): ApiSessionV1Session; get statusCode(): number; copy(requestId?: string, userId?: string, webauthnRegistrationId?: string, sessionToken?: string, sessionJwt?: string, user?: ApiUserV1User, session?: ApiSessionV1Session, statusCode?: number): WebAuthnRegisterResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"] & AuthenticatedResponse["__doNotUseOrImplementIt"]; } export declare namespace WebAuthnRegisterResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => WebAuthnRegisterResponse; } } /** * Request type * @param domain * @param userAgent * @param authenticatorType * @param returnPasskeyCredentialOptions * @param overrideId * @param overrideName * @param overrideDisplayName */ export declare class WebAuthnRegisterStartRequest { constructor(domain: string, userAgent?: Nullable, authenticatorType?: Nullable, returnPasskeyCredentialOptions?: Nullable, overrideId?: Nullable, overrideName?: Nullable, overrideDisplayName?: Nullable); get domain(): string; get userAgent(): Nullable; get authenticatorType(): Nullable; get returnPasskeyCredentialOptions(): Nullable; get overrideId(): Nullable; get overrideName(): Nullable; get overrideDisplayName(): Nullable; copy(domain?: string, userAgent?: Nullable, authenticatorType?: Nullable, returnPasskeyCredentialOptions?: Nullable, overrideId?: Nullable, overrideName?: Nullable, overrideDisplayName?: Nullable): WebAuthnRegisterStartRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace WebAuthnRegisterStartRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => WebAuthnRegisterStartRequest; } } /** * Response type * @param requestId * @param userId * @param publicKeyCredentialCreationOptions * @param statusCode */ export declare class WebAuthnRegisterStartResponse implements StytchAPIResponse { constructor(requestId: string, userId: string, publicKeyCredentialCreationOptions: string, statusCode: number); get requestId(): string; get userId(): string; get publicKeyCredentialCreationOptions(): string; get statusCode(): number; copy(requestId?: string, userId?: string, publicKeyCredentialCreationOptions?: string, statusCode?: number): WebAuthnRegisterStartResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace WebAuthnRegisterStartResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => WebAuthnRegisterStartResponse; } } /** * Request type * @param name */ export declare class WebAuthnUpdateRequest { constructor(name: string); get name(): string; copy(name?: string): WebAuthnUpdateRequest; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } export declare namespace WebAuthnUpdateRequest { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => WebAuthnUpdateRequest; } } /** * Response type * @param requestId * @param statusCode * @param webauthnRegistration */ export declare class WebAuthnUpdateResponse implements StytchAPIResponse { constructor(requestId: string, statusCode: number, webauthnRegistration?: Nullable); get requestId(): string; get statusCode(): number; get webauthnRegistration(): Nullable; copy(requestId?: string, statusCode?: number, webauthnRegistration?: Nullable): WebAuthnUpdateResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: StytchAPIResponse["__doNotUseOrImplementIt"]; } export declare namespace WebAuthnUpdateResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => WebAuthnUpdateResponse; } } /** The main entry point for the Stytch Consumer SDK. */ export declare interface StytchConsumer extends StytchClient { /** OTP (one-time passcode) authentication via SMS, email, or WhatsApp. */ readonly otp: OtpClient; /** Session management. */ readonly session: SessionClient; /** Crypto wallet authentication. */ readonly crypto: CryptoClient; /** Magic link authentication. */ readonly magicLinks: MagicLinksClient; /** TOTP (time-based one-time passcode) authentication. */ readonly totp: TOTPClient; /** Password-based authentication. */ readonly passwords: PasswordsClient; /** User account management. */ readonly user: UserClient; /** Passkey (WebAuthn) authentication. */ readonly passkeys: PasskeysClient; /** Biometric authentication. */ readonly biometrics: BiometricsClient; /** OAuth authentication (browser-based and native provider flows). */ readonly oauth: OAuthClient; /** Device fingerprinting (DFP) integration. */ readonly dfp: DFPClient; /** A `StateFlow` that emits the current authentication state whenever it changes. */ readonly authenticationStateFlow: any/* StateFlow */; /** * Registers a callback that is invoked whenever the authentication state changes. * Returns a `JsCleanup` that stops the observer when `JsCleanup.stop` is called. */ authenticationStateObserver(callback: (p0: ConsumerAuthenticationState) => void): JsCleanup; /** * Authenticates a Stytch deeplink URL, dispatching to the appropriate auth method based on * the token type embedded in the URL. Returns `DeeplinkAuthenticationStatus.ManualHandlingRequired` * for password reset tokens, which must be handled by the caller. * @param url The full deeplink URL to authenticate. * @param sessionDurationMinutes The desired session duration. Defaults to the SDK's configured value. */ authenticate(url: string, sessionDurationMinutes: Nullable): Promise; /** Returns the current PKCE code pair if one has been generated and not yet consumed. */ getPKCECodePair(): Promise>; /** * Parses a URL and returns the Stytch token it contains, or `null` if the URL is not a * recognized Stytch deeplink. */ parseDeeplink(url: string): Nullable; /** Hydrates a session from a given session token */ hydrate(sessionToken: string): Promise; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.consumer.StytchConsumer": unique symbol; } & StytchClient["__doNotUseOrImplementIt"]; } /** * Creates and returns a `StytchConsumer` instance configured with the provided `StytchClientConfiguration`. * Repeated calls with the same process return the same singleton instance. */ export declare function createStytchConsumer(configuration: StytchClientConfiguration): StytchConsumer; /** * Retrieves a previously configured `StytchConsumer` instance, in essence providing a singleton for custom use-cases * Repeated calls with the same process return the same singleton instance. */ export declare function getStytchConsumer(): Nullable; /** Biometric authentication methods. */ export declare interface BiometricsClient { /** * Registers the device's biometric credential (fingerprint, face, etc.) for the current user. * Performs a two-step flow: calls `POST /sdk/v1/biometrics/register/start` to get a challenge, * prompts the user for biometric authentication, then calls `POST /sdk/v1/biometrics/register` * to complete registration. Requires an active session. * *Kotlin (Android):** * ```kotlin * StytchConsumer.biometrics.register( * BiometricsParameters( * context = activity, * sessionDurationMinutes = 30, * ) * ) * ``` * *iOS:** * ```swift * let params = BiometricsParameters(sessionDurationMinutes: 30) * let response = try await StytchConsumer.biometrics.register(params) * ``` * *React Native:** * ```js * StytchConsumer.biometrics.register({ sessionDurationMinutes: 30 }) * ``` * @param parameters - `BiometricsParameters` * - `sessionDurationMinutes` — Duration of the session after successful registration, in minutes. * - *(Android only)* `context` — The `FragmentActivity` used to display the biometric prompt. * - *(Android only)* `allowDeviceCredentials` — Whether to allow PIN/pattern/password as a fallback. * - *(Android only)* `promptData` — Custom title, subtitle, and description for the biometric prompt. * - *(Android only)* `allowFallbackToCleartext` — Whether to store the key in cleartext if the secure enclave is unavailable. * - *(iOS only)* `promptData` — Custom reason string shown in the Face ID / Touch ID prompt. * @returns `BiometricsRegisterResponse` containing the updated session and user. * @throws `BiometricsAlreadyEnrolled` if a biometric registration already exists on this device. * @throws `NoSessionExists` if no active session is present. * @throws `com.stytch.sdk.biometrics.BiometricsUnsupportedError` if the device does not support biometrics. * @throws `StytchError` if registration fails. * @throws `CancellationException` if the coroutine is cancelled. */ register(parameters: BiometricsParameters): Promise; /** * Authenticates the user using a previously registered biometric credential. Performs a two-step * flow: calls `POST /sdk/v1/biometrics/authenticate/start` to get a challenge, prompts the user * for biometric authentication, then calls `POST /sdk/v1/biometrics/authenticate` to complete. * *Kotlin (Android):** * ```kotlin * StytchConsumer.biometrics.authenticate( * BiometricsParameters( * context = activity, * sessionDurationMinutes = 30, * ) * ) * ``` * *iOS:** * ```swift * let params = BiometricsParameters(sessionDurationMinutes: 30) * let response = try await StytchConsumer.biometrics.authenticate(params) * ``` * *React Native:** * ```js * StytchConsumer.biometrics.authenticate({ sessionDurationMinutes: 30 }) * ``` * @param parameters - `BiometricsParameters` * - `sessionDurationMinutes` — Duration of the session to create, in minutes. * - *(Android only)* `context` — The `FragmentActivity` used to display the biometric prompt. * - *(Android only)* `allowDeviceCredentials` — Whether to allow PIN/pattern/password as a fallback. * - *(Android only)* `promptData` — Custom title, subtitle, and description for the biometric prompt. * - *(Android only)* `allowFallbackToCleartext` — Whether to store the key in cleartext if the secure enclave is unavailable. * - *(iOS only)* `promptData` — Custom reason string shown in the Face ID / Touch ID prompt. * @returns `BiometricsAuthenticateResponse` containing the authenticated session and user. * @throws `NoBiometricsRegistered` if no biometric registration exists on this device. * @throws `StytchError` if authentication fails. * @throws `CancellationException` if the coroutine is cancelled. */ authenticate(parameters: BiometricsParameters): Promise; /** * Removes the locally stored biometric registration keypair from this device. This is a local-only * operation — it does not make a network call and does not remove the registration from the Stytch * backend. Requires an active session. * *Kotlin:** * ```kotlin * StytchConsumer.biometrics.removeRegistration() * ``` * *iOS:** * ```swift * let success = try await StytchConsumer.biometrics.removeRegistration() * ``` * *React Native:** * ```js * StytchConsumer.biometrics.removeRegistration() * ``` * @returns `true` if the local registration was successfully removed. * @throws `NoSessionExists` if no active session is present. * @throws `CancellationException` if the coroutine is cancelled. */ removeRegistration(): Promise; /** * Returns the biometric availability status for the current device and user. This is a local-only * operation — it does not make a network call. * *Kotlin (Android):** * ```kotlin * StytchConsumer.biometrics.getAvailability( * BiometricsParameters(context = activity, sessionDurationMinutes = 0) * ) * ``` * *iOS:** * ```swift * let params = BiometricsParameters(sessionDurationMinutes: 0) * let availability = try await StytchConsumer.biometrics.getAvailability(params) * ``` * *React Native:** * ```js * StytchConsumer.biometrics.getAvailability({ sessionDurationMinutes: 0 }) * ``` * @param parameters - `BiometricsParameters` (see `register` for field descriptions). * @returns `BiometricsAvailability` — one of `Available`, `AlreadyRegistered`, or `Unavailable`. * @throws `CancellationException` if the coroutine is cancelled. */ getAvailability(parameters: BiometricsParameters): Promise; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.consumer.biometrics.BiometricsClient": unique symbol; }; } /** Crypto wallet authentication methods. */ export declare interface CryptoClient { /** * Authenticates a crypto wallet by signing a server-issued challenge with the wallet's private key. * Performs a two-step flow: calls `POST /sdk/v1/crypto_wallets/authenticate/start/primary` (no session) * or `POST /sdk/v1/crypto_wallets/authenticate/start/secondary` (with session) to get a challenge * string, invokes `signChallenge` to sign it, then calls `POST /sdk/v1/crypto_wallets/authenticate` * to complete authentication. * *Kotlin:** * ```kotlin * StytchConsumer.crypto.authenticate( * request = CryptoWalletsAuthenticateParameters( * cryptoWalletAddress = "0xABC123...", * cryptoWalletType = "ethereum", * sessionDurationMinutes = 30, * ), * signChallenge = { challenge -> myWallet.signMessage(challenge) }, * ) * ``` * *iOS:** * ```swift * let params = CryptoWalletsAuthenticateParameters( * cryptoWalletAddress: "0xABC123...", * cryptoWalletType: "ethereum", * sessionDurationMinutes: 30 * ) * let response = try await StytchConsumer.crypto.authenticate(params) { challenge in * return myWallet.signMessage(challenge) * } * ``` * *React Native:** * ```js * StytchConsumer.crypto.authenticate( * { cryptoWalletAddress: "0xABC123...", cryptoWalletType: "ethereum", sessionDurationMinutes: 30 }, * (challenge) => myWallet.signMessage(challenge), * ) * ``` * @param request - `ICryptoWalletsAuthenticateParameters` * - `cryptoWalletAddress` — The public wallet address (e.g. an Ethereum address). * - `cryptoWalletType` — The wallet type identifier (e.g. `"ethereum"`, `"solana"`). * - `sessionDurationMinutes` — Duration of the session to create, in minutes. * @param signChallenge - A suspend function that receives the server-issued challenge string and * returns the hex-encoded signature produced by the wallet's private key. * @returns `CryptoWalletsAuthenticateResponse` containing the authenticated session and user. * @throws `StytchError` if the wallet address is not registered or the signature is invalid. * @throws `CancellationException` if the coroutine is cancelled. */ authenticate(request: CryptoWalletsAuthenticateParameters, signChallenge: any /*Suspend functions are not supported*/): Promise; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.consumer.crypto.CryptoClient": unique symbol; }; } /** Represents the current authentication state of a consumer user. */ export declare abstract class ConsumerAuthenticationState /* implements AuthenticationState */ { protected constructor(); } export declare namespace ConsumerAuthenticationState { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ConsumerAuthenticationState; } /** The initial state before the SDK has determined the authentication status. */ class Loading extends ConsumerAuthenticationState.$metadata$.constructor { constructor(); } namespace Loading { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => Loading; } } /** The user is not authenticated. */ class Unauthenticated extends ConsumerAuthenticationState.$metadata$.constructor { constructor(); } namespace Unauthenticated { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => Unauthenticated; } } /** The user is authenticated. */ class Authenticated extends ConsumerAuthenticationState.$metadata$.constructor { constructor(user: ApiUserV1User, session: ApiSessionV1Session, sessionToken: string, sessionJwt: string); /** The authenticated user. */ get user(): ApiUserV1User; /** The active session. */ get session(): ApiSessionV1Session; /** The opaque session token. */ get sessionToken(): string; /** The session JWT. */ get sessionJwt(): string; } namespace Authenticated { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => Authenticated; } } /** An error during startup has occurred */ class Error extends ConsumerAuthenticationState.$metadata$.constructor { constructor(exception: Error); /** The underlying error that was thrown */ get exception(): Error; } namespace Error { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => Error; } } } /** The type of token present in a Stytch deeplink URL. */ export declare abstract class ConsumerTokenType { private constructor(); static get MAGIC_LINKS(): ConsumerTokenType & { get name(): "MAGIC_LINKS"; get ordinal(): 0; }; static get OAUTH(): ConsumerTokenType & { get name(): "OAUTH"; get ordinal(): 1; }; static get RESET_PASSWORD(): ConsumerTokenType & { get name(): "RESET_PASSWORD"; get ordinal(): 2; }; static get UNKNOWN(): ConsumerTokenType & { get name(): "UNKNOWN"; get ordinal(): 3; }; get name(): "MAGIC_LINKS" | "OAUTH" | "RESET_PASSWORD" | "UNKNOWN"; get ordinal(): 0 | 1 | 2 | 3; static values(): Array; static valueOf(value: string): ConsumerTokenType; } export declare namespace ConsumerTokenType { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ConsumerTokenType; } } /** The result of processing a Stytch deeplink via `com.stytch.sdk.consumer.StytchConsumer.authenticate`. */ export declare abstract class DeeplinkAuthenticationStatus { protected constructor(); } export declare namespace DeeplinkAuthenticationStatus { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => DeeplinkAuthenticationStatus; } /** The deeplink was successfully authenticated. */ class Authenticated extends DeeplinkAuthenticationStatus.$metadata$.constructor { constructor(response: AuthenticatedResponse); /** The authentication response from the Stytch API. */ get response(): AuthenticatedResponse; } namespace Authenticated { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => Authenticated; } } /** * The deeplink contains a token that requires manual handling by the caller. * For example, a password reset token — pass `token` to the passwords reset flow. */ class ManualHandlingRequired extends DeeplinkAuthenticationStatus.$metadata$.constructor { constructor(token: string); /** The raw token extracted from the deeplink. */ get token(): string; } namespace ManualHandlingRequired { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => ManualHandlingRequired; } } /** The URL was not recognized as a Stytch deeplink. */ class UnknownDeeplink extends DeeplinkAuthenticationStatus.$metadata$.constructor { constructor(url: string); /** The original URL that was passed to authenticate. */ get url(): string; } namespace UnknownDeeplink { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => UnknownDeeplink; } } } /** A token parsed from a Stytch deeplink URL. */ export declare class DeeplinkToken { constructor(type: ConsumerTokenType, token: string); /** The type of the token. */ get type(): ConsumerTokenType; /** The raw token value. */ get token(): string; } export declare namespace DeeplinkToken { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => DeeplinkToken; } } /** Device fingerprinting (DFP) integration. Provides a telemetry ID for Stytch's fraud prevention layer. */ export declare interface DFPClient { /** * Returns a DFP telemetry ID generated by the Stytch device fingerprinting SDK. This is a local * operation — it does not make a network call to the Stytch API. Pass the returned ID to your * backend, which can use it in server-side Stytch DFP lookup calls. * *Kotlin:** * ```kotlin * StytchConsumer.dfp.getTelemetryId() * ``` * *iOS:** * ```swift * let telemetryId = try await StytchConsumer.dfp.getTelemetryId() * ``` * *React Native:** * ```js * StytchConsumer.dfp.getTelemetryId() * ``` * @returns The DFP telemetry ID string to pass to your backend. * @throws `com.stytch.sdk.dfp.DFPNotConfiguredError` if DFP was not configured during SDK initialization. * @throws `CancellationException` if the coroutine is cancelled. */ getTelemetryId(): Promise; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.consumer.dfp.DFPClient": unique symbol; }; } /** Magic link authentication methods. */ export declare interface MagicLinksClient { /** Email magic link methods. */ readonly email: EmailMagicLinksClient; /** * Authenticates a magic link token received via deeplink, establishing a session for the user. * Calls the `POST /sdk/v1/magic_links/authenticate` endpoint. Retrieves the PKCE code verifier * stored during the corresponding `EmailMagicLinksClient.loginOrCreate` or `EmailMagicLinksClient.send` call. * *Kotlin:** * ```kotlin * StytchConsumer.magicLinks.authenticate( * MagicLinksAuthenticateParameters( * token = "token", * sessionDurationMinutes = 30, * ) * ) * ``` * *iOS:** * ```swift * let params = MagicLinksAuthenticateParameters(token: "token", sessionDurationMinutes: 30) * let response = try await StytchConsumer.magicLinks.authenticate(params) * ``` * *React Native:** * ```js * StytchConsumer.magicLinks.authenticate({ token: "token", sessionDurationMinutes: 30 }) * ``` * @param request - `IMagicLinksAuthenticateParameters` * - `token` — The magic link token extracted from the deeplink URL. * - `sessionDurationMinutes` — Duration of the session to create, in minutes. * @returns `MagicLinksAuthenticateResponse` containing the authenticated session and user. * @throws `StytchError` if the token is invalid or expired, or if no PKCE verifier is found in storage. * @throws `CancellationException` if the coroutine is cancelled. */ authenticate(request: MagicLinksAuthenticateParameters): Promise; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.consumer.magicLinks.MagicLinksClient": unique symbol; }; } /** Email magic link methods. */ export declare interface EmailMagicLinksClient { /** * Sends a magic link email to the provided address, logging in an existing user or creating a new one. * Calls the `POST /sdk/v1/magic_links/email/login_or_create` endpoint. Generates and stores a PKCE * code pair for use in the subsequent `MagicLinksClient.authenticate` call. * *Kotlin:** * ```kotlin * StytchConsumer.magicLinks.email.loginOrCreate( * MagicLinksEmailLoginOrCreateParameters( * email = "user@example.com", * ) * ) * ``` * *iOS:** * ```swift * let params = MagicLinksEmailLoginOrCreateParameters(email: "user@example.com") * let response = try await StytchConsumer.magicLinks.email.loginOrCreate(params) * ``` * *React Native:** * ```js * StytchConsumer.magicLinks.email.loginOrCreate({ email: "user@example.com" }) * ``` * @param request - `IMagicLinksEmailLoginOrCreateParameters` * - `email` — The email address to send the magic link to. * - `loginMagicLinkUrl?` — The URL to redirect existing users to after clicking the link. * - `signupMagicLinkUrl?` — The URL to redirect new users to after clicking the link. * - `loginExpirationMinutes?` — Expiration for the login magic link, in minutes. * - `signupExpirationMinutes?` — Expiration for the signup magic link, in minutes. * - `loginTemplateId?` — Custom email template ID to use for login emails. * - `signupTemplateId?` — Custom email template ID to use for signup emails. * - `locale?` — Locale for the email content (e.g. `"en"`). * @returns `MagicLinksEmailLoginOrCreateResponse` confirming the email was sent. * @throws `StytchError` if the request fails. * @throws `CancellationException` if the coroutine is cancelled. */ loginOrCreate(request: MagicLinksEmailLoginOrCreateParameters): Promise; /** * Sends a magic link email to an existing user's email address. Routes to * `POST /sdk/v1/magic_links/email/send/primary` if no session is active, or * `POST /sdk/v1/magic_links/email/send/secondary` if a session exists (to add an additional * auth factor). Generates and stores a PKCE code pair for use in the subsequent * `MagicLinksClient.authenticate` call. * *Kotlin:** * ```kotlin * StytchConsumer.magicLinks.email.send( * MagicLinksEmailSendSecondaryParameters( * email = "user@example.com", * ) * ) * ``` * *iOS:** * ```swift * let params = MagicLinksEmailSendSecondaryParameters(email: "user@example.com") * let response = try await StytchConsumer.magicLinks.email.send(params) * ``` * *React Native:** * ```js * StytchConsumer.magicLinks.email.send({ email: "user@example.com" }) * ``` * @param request - `IMagicLinksEmailSendSecondaryParameters` * - `email` — The email address to send the magic link to. * - `loginMagicLinkUrl?` — The URL to redirect existing users to after clicking the link. * - `signupMagicLinkUrl?` — The URL to redirect new users to after clicking the link. * - `loginExpirationMinutes?` — Expiration for the login magic link, in minutes. * - `signupExpirationMinutes?` — Expiration for the signup magic link, in minutes. * - `loginTemplateId?` — Custom email template ID to use for login emails. * - `signupTemplateId?` — Custom email template ID to use for signup emails. * - `locale?` — Locale for the email content (e.g. `"en"`). * @returns `MagicLinksEmailSendSecondaryResponse` confirming the email was sent. * @throws `StytchError` if the request fails. * @throws `CancellationException` if the coroutine is cancelled. */ send(request: MagicLinksEmailSendSecondaryParameters): Promise; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.consumer.magicLinks.EmailMagicLinksClient": unique symbol; }; } /** Common fields returned in every successful consumer authentication response. */ export declare interface AuthenticatedResponse { /** The authenticated user. */ readonly user: ApiUserV1User; /** The opaque session token. */ readonly sessionToken: string; /** The active session. */ readonly session: ApiSessionV1Session; /** The session JWT. */ readonly sessionJwt: string; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.consumer.networking.AuthenticatedResponse": unique symbol; }; } /** OAuth authentication methods for browser-based and native provider flows. */ export declare interface OAuthClient { /** * Authenticates an OAuth token received from a deeplink after the browser-based OAuth flow completes. * Calls the `POST /sdk/v1/oauth/authenticate` endpoint. Retrieves the PKCE code verifier stored * during the corresponding `OAuthType.start` call. * This method is called automatically by `OAuthType.start` when using the browser flow — you typically * only need to call it directly if you are handling the deeplink redirect yourself. * *Kotlin:** * ```kotlin * StytchConsumer.oauth.authenticate( * OAuthAuthenticateParameters(token = "token", sessionDurationMinutes = 30) * ) * ``` * *iOS:** * ```swift * let params = OAuthAuthenticateParameters(token: "token", sessionDurationMinutes: 30) * let response = try await StytchConsumer.oauth.authenticate(params) * ``` * *React Native:** * ```js * StytchConsumer.oauth.authenticate({ token: "token", sessionDurationMinutes: 30 }) * ``` * @param request - `IOAuthAuthenticateParameters` * - `token` — The OAuth token extracted from the deeplink URL. * - `sessionDurationMinutes` — Duration of the session to create, in minutes. * @returns `OAuthAuthenticateResponse` containing the authenticated session and user. * @throws `StytchError` if the token is invalid or expired, or if no PKCE verifier is found in storage. * @throws `CancellationException` if the coroutine is cancelled. */ authenticate(request: OAuthAuthenticateParameters): Promise; /** * Authenticates a Google ID token obtained via native Android Google Sign-In. * Calls the `POST /sdk/v1/oauth/google/id_token/authenticate` endpoint. * This method is called automatically by `OAuthClient.google` `start()` on Android — you typically * only need to call it directly if you are supplying the ID token yourself. * *Kotlin:** * ```kotlin * StytchConsumer.oauth.authenticateGoogleIdToken( * OAuthGoogleIDTokenAuthenticateParameters( * idToken = "google-id-token", * sessionDurationMinutes = 30, * ) * ) * ``` * *iOS:** * ```swift * let params = OAuthGoogleIDTokenAuthenticateParameters( * idToken: "google-id-token", * sessionDurationMinutes: 30 * ) * let response = try await StytchConsumer.oauth.authenticateGoogleIdToken(params) * ``` * *React Native:** * ```js * StytchConsumer.oauth.authenticateGoogleIdToken({ idToken: "google-id-token", sessionDurationMinutes: 30 }) * ``` * @param request - `IOAuthGoogleIDTokenAuthenticateParameters` * - `idToken` — The Google ID token from native Google Sign-In. * - `sessionDurationMinutes` — Duration of the session to create, in minutes. * - `nonce?` — The nonce used when requesting the ID token, for replay protection. * - `oauthAttachToken?` — An OAuth attach token to link this provider to an existing session. * @returns `OAuthGoogleIDTokenAuthenticateResponse` containing the authenticated session and user. * @throws `StytchError` if the ID token is invalid or expired. * @throws `CancellationException` if the coroutine is cancelled. */ authenticateGoogleIdToken(request: OAuthGoogleIDTokenAuthenticateParameters): Promise; /** * Authenticates an Apple ID token obtained via native iOS Sign In with Apple. * Calls the `POST /sdk/v1/oauth/apple/id_token/authenticate` endpoint. * This method is called automatically by `OAuthClient.apple` `start()` on iOS — you typically * only need to call it directly if you are supplying the ID token yourself. * *Kotlin:** * ```kotlin * StytchConsumer.oauth.authenticateAppleIdToken( * OAuthAppleIDTokenAuthenticateParameters( * idToken = "apple-id-token", * sessionDurationMinutes = 30, * ) * ) * ``` * *iOS:** * ```swift * let params = OAuthAppleIDTokenAuthenticateParameters( * idToken: "apple-id-token", * sessionDurationMinutes: 30 * ) * let response = try await StytchConsumer.oauth.authenticateAppleIdToken(params) * ``` * *React Native:** * ```js * StytchConsumer.oauth.authenticateAppleIdToken({ idToken: "apple-id-token", sessionDurationMinutes: 30 }) * ``` * @param request - `IOAuthAppleIDTokenAuthenticateParameters` * - `idToken` — The Apple ID token from Sign In with Apple. * - `sessionDurationMinutes` — Duration of the session to create, in minutes. * - `name?` — The user's name as provided by Apple on first sign-in (only returned once by Apple). * - `nonce?` — The nonce used when requesting the ID token, for replay protection. * - `oauthAttachToken?` — An OAuth attach token to link this provider to an existing session. * @returns `OAuthGoogleIDTokenAuthenticateResponse` containing the authenticated session and user. * @throws `StytchError` if the ID token is invalid or expired. * @throws `CancellationException` if the coroutine is cancelled. */ authenticateAppleIdToken(request: OAuthAppleIDTokenAuthenticateParameters): Promise; /** * Creates an OAuth attach token that can be used to link an OAuth provider to an existing * authenticated session. Calls the `POST /sdk/v1/oauth/attach` endpoint. Pass the returned * attach token as `oauthAttachToken` in a subsequent `OAuthType.start` call. * *Kotlin:** * ```kotlin * StytchConsumer.oauth.attach( * OAuthAttachParameters(provider = "google") * ) * ``` * *iOS:** * ```swift * let params = OAuthAttachParameters(provider: "google") * let response = try await StytchConsumer.oauth.attach(params) * ``` * *React Native:** * ```js * StytchConsumer.oauth.attach({ provider: "google" }) * ``` * @param request - `IOAuthAttachParameters` * - `provider` — The OAuth provider identifier (e.g. `"google"`, `"apple"`, `"github"`). * @returns `OAuthAttachResponse` containing the `oauthAttachToken` to pass to `OAuthType.start`. * @throws `StytchError` if the request fails or no active session exists. * @throws `CancellationException` if the coroutine is cancelled. */ attach(request: OAuthAttachParameters): Promise; /** Apple OAuth. */ readonly apple: OAuthType; /** Amazon OAuth. */ readonly amazon: OAuthType; /** Bitbucket OAuth. */ readonly bitbucket: OAuthType; /** Coinbase OAuth. */ readonly coinbase: OAuthType; /** Discord OAuth. */ readonly discord: OAuthType; /** Facebook OAuth. */ readonly facebook: OAuthType; /** Figma OAuth. */ readonly figma: OAuthType; /** GitHub OAuth. */ readonly github: OAuthType; /** GitLab OAuth. */ readonly gitlab: OAuthType; /** Google OAuth. */ readonly google: OAuthType; /** LinkedIn OAuth. */ readonly linkedin: OAuthType; /** Microsoft OAuth. */ readonly microsoft: OAuthType; /** Salesforce OAuth. */ readonly salesforce: OAuthType; /** Slack OAuth. */ readonly slack: OAuthType; /** Snapchat OAuth. */ readonly snapchat: OAuthType; /** TikTok OAuth. */ readonly tiktok: OAuthType; /** Twitch OAuth. */ readonly twitch: OAuthType; /** Twitter/X OAuth. */ readonly twitter: OAuthType; /** Yahoo OAuth. */ readonly yahoo: OAuthType; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.consumer.oauth.OAuthClient": unique symbol; }; } /** An individual OAuth provider integration. */ export declare interface OAuthType { /** * Initiates the browser-based OAuth flow for this provider and authenticates the result, * establishing a session. On Android, opens a Custom Tab; on iOS, uses `ASWebAuthenticationSession`. * Internally calls `OAuthClient.authenticate`, `OAuthClient.authenticateGoogleIdToken`, or * `OAuthClient.authenticateAppleIdToken` depending on the provider and platform response. * *Kotlin (Android):** * ```kotlin * StytchConsumer.oauth.google.start( * OAuthStartParameters( * activity = activity, * loginRedirectUrl = "myapp://oauth", * signupRedirectUrl = "myapp://oauth", * sessionDurationMinutes = 30, * ) * ) * ``` * *iOS:** * ```swift * let params = OAuthStartParameters( * loginRedirectUrl: "myapp://oauth", * signupRedirectUrl: "myapp://oauth", * sessionDurationMinutes: 30, * oauthPresentationContextProvider: self * ) * let response = try await StytchConsumer.oauth.google.start(params) * ``` * *React Native:** * ```js * StytchConsumer.oauth.google.start({ * loginRedirectUrl: "myapp://oauth", * signupRedirectUrl: "myapp://oauth", * sessionDurationMinutes: 30, * }) * ``` * @param startParameters - `OAuthStartParameters` * - `loginRedirectUrl?` — Deep link URL to redirect existing users to after authorization. * - `signupRedirectUrl?` — Deep link URL to redirect new users to after authorization. * - `customScopes?` — Additional OAuth scopes to request from the provider. * - `providerParams?` — Extra provider-specific query parameters to include in the authorization URL. * - `oauthAttachToken?` — Attach token to link this provider to an existing session. * - `sessionDurationMinutes?` — Duration of the session to create, in minutes. * - *(Android only)* `activity` — The `Activity` used to launch the Custom Tab. * - *(iOS only)* `applePresentationContextProvider` — Presentation context for Sign In with Apple sheets. * - *(iOS only)* `oauthPresentationContextProvider` — Presentation context for the web authentication session. * @returns `AuthenticatedResponse` containing the authenticated session and user. * @throws `StytchError` if the OAuth flow fails or the resulting token cannot be authenticated. * @throws `CancellationException` if the coroutine is cancelled. */ start(startParameters: OAuthStartParameters): Promise; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.consumer.oauth.OAuthType": unique symbol; }; } /** OTP (one-time passcode) authentication via SMS, email, or WhatsApp. */ export declare interface OtpClient { /** SMS OTP methods. */ readonly sms: SmsOtpClient; /** Email OTP methods. */ readonly email: EmailOtpClient; /** WhatsApp OTP methods. */ readonly whatsapp: WhatsAppOtpClient; /** * Authenticates a one-time passcode entered by the user, establishing a session. * Calls the `POST /sdk/v1/otps/authenticate` endpoint. * *Kotlin:** * ```kotlin * StytchConsumer.otps.authenticate( * OTPsAuthenticateParameters( * token = "123456", * methodId = "phone-number-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * sessionDurationMinutes = 30, * ) * ) * ``` * *iOS:** * ```swift * let params = OTPsAuthenticateParameters( * token: "123456", * methodId: "phone-number-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * sessionDurationMinutes: 30 * ) * let response = try await StytchConsumer.otps.authenticate(params) * ``` * *React Native:** * ```js * StytchConsumer.otps.authenticate({ * token: "123456", * methodId: "phone-number-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * sessionDurationMinutes: 30, * }) * ``` * @param request - `IOTPsAuthenticateParameters` * - `token` — The OTP code entered by the user. * - `methodId` — The method ID returned from the send or loginOrCreate call (e.g. `phone-number-xxx` or `email-xxx`). * - `sessionDurationMinutes` — Duration of the session to create, in minutes. * @returns `OTPsAuthenticateResponse` containing the authenticated session and user. * @throws `StytchError` if the code is invalid, expired, or the method ID does not match. * @throws `CancellationException` if the coroutine is cancelled. */ authenticate(request: OTPsAuthenticateParameters): Promise; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.consumer.otp.OtpClient": unique symbol; }; } /** SMS OTP methods. */ export declare interface SmsOtpClient { /** * Sends a one-time passcode via SMS to the provided phone number, logging in an existing user * or creating a new one. Calls the `POST /sdk/v1/otps/sms/login_or_create` endpoint. * *Kotlin:** * ```kotlin * StytchConsumer.otps.sms.loginOrCreate( * OTPsSMSLoginOrCreateParameters(phoneNumber = "+15005550006") * ) * ``` * *iOS:** * ```swift * let params = OTPsSMSLoginOrCreateParameters(phoneNumber: "+15005550006") * let response = try await StytchConsumer.otps.sms.loginOrCreate(params) * ``` * *React Native:** * ```js * StytchConsumer.otps.sms.loginOrCreate({ phoneNumber: "+15005550006" }) * ``` * @param request - `IOTPsSMSLoginOrCreateParameters` * - `phoneNumber` — The phone number to send the OTP to, in E.164 format (e.g. `"+15005550006"`). * - `expirationMinutes?` — Expiration for the OTP, in minutes. * - `locale?` — Locale used for the SMS message (e.g. `"en"`). * - `enableAutofill?` — Whether to enable OS-level OTP autofill hints on supported platforms. * @returns `OTPsSMSLoginOrCreateResponse` containing the `methodId` needed for `OtpClient.authenticate`. * @throws `StytchError` if the request fails. * @throws `CancellationException` if the coroutine is cancelled. */ loginOrCreate(request: OTPsSMSLoginOrCreateParameters): Promise; /** * Sends a one-time passcode via SMS to an existing user's phone number. Routes to * `POST /sdk/v1/otps/sms/send/primary` if no session is active, or * `POST /sdk/v1/otps/sms/send/secondary` if a session exists (to add an additional auth factor). * *Kotlin:** * ```kotlin * StytchConsumer.otps.sms.send( * OTPsSMSSendSecondaryParameters(phoneNumber = "+15005550006") * ) * ``` * *iOS:** * ```swift * let params = OTPsSMSSendSecondaryParameters(phoneNumber: "+15005550006") * let response = try await StytchConsumer.otps.sms.send(params) * ``` * *React Native:** * ```js * StytchConsumer.otps.sms.send({ phoneNumber: "+15005550006" }) * ``` * @param request - `IOTPsSMSSendSecondaryParameters` * - `phoneNumber` — The phone number to send the OTP to, in E.164 format (e.g. `"+15005550006"`). * - `expirationMinutes?` — Expiration for the OTP, in minutes. * - `locale?` — Locale used for the SMS message (e.g. `"en"`). * - `enableAutofill?` — Whether to enable OS-level OTP autofill hints on supported platforms. * @returns `OTPsSMSSendSecondaryResponse` containing the `methodId` needed for `OtpClient.authenticate`. * @throws `StytchError` if the request fails. * @throws `CancellationException` if the coroutine is cancelled. */ send(request: OTPsSMSSendSecondaryParameters): Promise; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.consumer.otp.SmsOtpClient": unique symbol; }; } /** Email OTP methods. */ export declare interface EmailOtpClient { /** * Sends a one-time passcode via email to the provided address, logging in an existing user * or creating a new one. Calls the `POST /sdk/v1/otps/email/login_or_create` endpoint. * *Kotlin:** * ```kotlin * StytchConsumer.otps.email.loginOrCreate( * OTPsEmailLoginOrCreateParameters(email = "user@example.com") * ) * ``` * *iOS:** * ```swift * let params = OTPsEmailLoginOrCreateParameters(email: "user@example.com") * let response = try await StytchConsumer.otps.email.loginOrCreate(params) * ``` * *React Native:** * ```js * StytchConsumer.otps.email.loginOrCreate({ email: "user@example.com" }) * ``` * @param request - `IOTPsEmailLoginOrCreateParameters` * - `email` — The email address to send the OTP to. * - `expirationMinutes?` — Expiration for the OTP, in minutes. * - `signupTemplateId?` — Custom email template ID to use for new-user emails. * - `loginTemplateId?` — Custom email template ID to use for returning-user emails. * - `locale?` — Locale used for the email content (e.g. `"en"`). * @returns `OTPsEmailLoginOrCreateResponse` containing the `methodId` needed for `OtpClient.authenticate`. * @throws `StytchError` if the request fails. * @throws `CancellationException` if the coroutine is cancelled. */ loginOrCreate(request: OTPsEmailLoginOrCreateParameters): Promise; /** * Sends a one-time passcode via email to an existing user's email address. Routes to * `POST /sdk/v1/otps/email/send/primary` if no session is active, or * `POST /sdk/v1/otps/email/send/secondary` if a session exists (to add an additional auth factor). * *Kotlin:** * ```kotlin * StytchConsumer.otps.email.send( * OTPsEmailSendSecondaryParameters(email = "user@example.com") * ) * ``` * *iOS:** * ```swift * let params = OTPsEmailSendSecondaryParameters(email: "user@example.com") * let response = try await StytchConsumer.otps.email.send(params) * ``` * *React Native:** * ```js * StytchConsumer.otps.email.send({ email: "user@example.com" }) * ``` * @param request - `IOTPsEmailSendSecondaryParameters` * - `email` — The email address to send the OTP to. * - `expirationMinutes?` — Expiration for the OTP, in minutes. * - `signupTemplateId?` — Custom email template ID to use for new-user emails. * - `loginTemplateId?` — Custom email template ID to use for returning-user emails. * - `locale?` — Locale used for the email content (e.g. `"en"`). * @returns `OTPsEmailSendSecondaryResponse` containing the `methodId` needed for `OtpClient.authenticate`. * @throws `StytchError` if the request fails. * @throws `CancellationException` if the coroutine is cancelled. */ send(request: OTPsEmailSendSecondaryParameters): Promise; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.consumer.otp.EmailOtpClient": unique symbol; }; } /** WhatsApp OTP methods. */ export declare interface WhatsAppOtpClient { /** * Sends a one-time passcode via WhatsApp to the provided phone number, logging in an existing user * or creating a new one. Calls the `POST /sdk/v1/otps/whatsapp/login_or_create` endpoint. * *Kotlin:** * ```kotlin * StytchConsumer.otps.whatsapp.loginOrCreate( * OTPsWhatsAppLoginOrCreateParameters(phoneNumber = "+15005550006") * ) * ``` * *iOS:** * ```swift * let params = OTPsWhatsAppLoginOrCreateParameters(phoneNumber: "+15005550006") * let response = try await StytchConsumer.otps.whatsapp.loginOrCreate(params) * ``` * *React Native:** * ```js * StytchConsumer.otps.whatsapp.loginOrCreate({ phoneNumber: "+15005550006" }) * ``` * @param request - `IOTPsWhatsAppLoginOrCreateParameters` * - `phoneNumber` — The phone number to send the OTP to, in E.164 format (e.g. `"+15005550006"`). * - `expirationMinutes?` — Expiration for the OTP, in minutes. * - `locale?` — Locale used for the message (e.g. `"en"`). * @returns `OTPsWhatsAppLoginOrCreateResponse` containing the `methodId` needed for `OtpClient.authenticate`. * @throws `StytchError` if the request fails. * @throws `CancellationException` if the coroutine is cancelled. */ loginOrCreate(request: OTPsWhatsAppLoginOrCreateParameters): Promise; /** * Sends a one-time passcode via WhatsApp to an existing user's phone number. Routes to * `POST /sdk/v1/otps/whatsapp/send/primary` if no session is active, or * `POST /sdk/v1/otps/whatsapp/send/secondary` if a session exists (to add an additional auth factor). * *Kotlin:** * ```kotlin * StytchConsumer.otps.whatsapp.send( * OTPsWhatsAppSendSecondaryParameters(phoneNumber = "+15005550006") * ) * ``` * *iOS:** * ```swift * let params = OTPsWhatsAppSendSecondaryParameters(phoneNumber: "+15005550006") * let response = try await StytchConsumer.otps.whatsapp.send(params) * ``` * *React Native:** * ```js * StytchConsumer.otps.whatsapp.send({ phoneNumber: "+15005550006" }) * ``` * @param request - `IOTPsWhatsAppSendSecondaryParameters` * - `phoneNumber` — The phone number to send the OTP to, in E.164 format (e.g. `"+15005550006"`). * - `expirationMinutes?` — Expiration for the OTP, in minutes. * - `locale?` — Locale used for the message (e.g. `"en"`). * @returns `OTPsWhatsAppSendSecondaryResponse` containing the `methodId` needed for `OtpClient.authenticate`. * @throws `StytchError` if the request fails. * @throws `CancellationException` if the coroutine is cancelled. */ send(request: OTPsWhatsAppSendSecondaryParameters): Promise; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.consumer.otp.WhatsAppOtpClient": unique symbol; }; } /** Passkey (WebAuthn) authentication methods. */ export declare interface PasskeysClient { /** Whether passkeys are supported on the current platform. */ readonly isSupported: boolean; /** * Registers a new passkey for the current user. Performs a two-step flow: calls * `POST /sdk/v1/webauthn/register/start` to get creation options, invokes the platform * credential API to create the passkey, then calls `POST /sdk/v1/webauthn/register` to complete * registration. Requires an active session. * *Kotlin (Android):** * ```kotlin * StytchConsumer.passkeys.register( * PasskeysParameters( * activity = activity, * domain = "example.com", * sessionDurationMinutes = 30, * ) * ) * ``` * *iOS:** * ```swift * let params = PasskeysParameters(domain: "example.com", sessionDurationMinutes: 30) * let response = try await StytchConsumer.passkeys.register(params) * ``` * *React Native:** * ```js * StytchConsumer.passkeys.register({ domain: "example.com", sessionDurationMinutes: 30 }) * ``` * @param parameters - `PasskeysParameters` * - `domain` — The relying party domain (e.g. `"example.com"`). * - `sessionDurationMinutes?` — Duration of the session to create after registration, in minutes. * - `preferImmediatelyAvailableCredentials` — Whether to prefer credentials that are immediately available on this device. * - *(Android only)* `activity` — The `Activity` used to present the credential creation dialog. * @returns `WebAuthnRegisterResponse` containing the updated session and user. * @throws `com.stytch.sdk.passkeys.PasskeysUnsupportedError` if passkeys are not supported on the current platform. * @throws `StytchError` if registration fails. * @throws `CancellationException` if the coroutine is cancelled. */ register(parameters: PasskeysParameters): Promise; /** * Authenticates the user with an existing registered passkey. Performs a two-step flow: calls * `POST /sdk/v1/webauthn/authenticate/start/primary` (no session) or * `POST /sdk/v1/webauthn/authenticate/start/secondary` (with session) to get assertion options, * invokes the platform credential API, then calls `POST /sdk/v1/webauthn/authenticate` to complete. * *Kotlin (Android):** * ```kotlin * StytchConsumer.passkeys.authenticate( * PasskeysParameters( * activity = activity, * domain = "example.com", * sessionDurationMinutes = 30, * ) * ) * ``` * *iOS:** * ```swift * let params = PasskeysParameters(domain: "example.com", sessionDurationMinutes: 30) * let response = try await StytchConsumer.passkeys.authenticate(params) * ``` * *React Native:** * ```js * StytchConsumer.passkeys.authenticate({ domain: "example.com", sessionDurationMinutes: 30 }) * ``` * @param parameters - `PasskeysParameters` * - `domain` — The relying party domain (e.g. `"example.com"`). * - `sessionDurationMinutes?` — Duration of the session to create, in minutes. * - `preferImmediatelyAvailableCredentials` — Whether to prefer credentials that are immediately available on this device. * - *(Android only)* `activity` — The `Activity` used to present the credential selection dialog. * @returns `WebAuthnAuthenticateResponse` containing the authenticated session and user. * @throws `com.stytch.sdk.passkeys.PasskeysUnsupportedError` if passkeys are not supported on the current platform. * @throws `StytchError` if authentication fails. * @throws `CancellationException` if the coroutine is cancelled. */ authenticate(parameters: PasskeysParameters): Promise; /** * Updates metadata for an existing passkey registration (e.g. sets a user-friendly display name). * Calls the `PUT /sdk/v1/webauthn/update/{webauthn_registration_id}` endpoint. * *Kotlin:** * ```kotlin * StytchConsumer.passkeys.update( * id = "webauthn-registration-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * request = WebAuthnUpdateParameters(name = "My iPhone"), * ) * ``` * *iOS:** * ```swift * let params = WebAuthnUpdateParameters(name: "My iPhone") * let response = try await StytchConsumer.passkeys.update( * id: "webauthn-registration-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * request: params * ) * ``` * *React Native:** * ```js * StytchConsumer.passkeys.update( * "webauthn-registration-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * { name: "My iPhone" } * ) * ``` * @param id The unique ID of the WebAuthn registration to update. * @param request - `IWebAuthnUpdateParameters` * - `name` — A human-readable display name for the passkey (e.g. `"My iPhone"`). * @returns `WebAuthnUpdateResponse` containing the updated registration. * @throws `com.stytch.sdk.passkeys.PasskeysUnsupportedError` if passkeys are not supported on the current platform. * @throws `StytchError` if the registration ID does not exist or the request fails. * @throws `CancellationException` if the coroutine is cancelled. */ update(id: string, request: WebAuthnUpdateParameters): Promise; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.consumer.passkeys.PasskeysClient": unique symbol; }; } /** Password-based authentication methods. */ export declare interface PasswordsClient { /** * Authenticates a user with their email address and password, establishing a session. * Calls the `POST /sdk/v1/passwords/authenticate` endpoint. * *Kotlin:** * ```kotlin * StytchConsumer.passwords.authenticate( * PasswordsAuthenticateParameters( * email = "user@example.com", * password = "secretpassword", * sessionDurationMinutes = 30, * ) * ) * ``` * *iOS:** * ```swift * let params = PasswordsAuthenticateParameters( * email: "user@example.com", * password: "secretpassword", * sessionDurationMinutes: 30 * ) * let response = try await StytchConsumer.passwords.authenticate(params) * ``` * *React Native:** * ```js * StytchConsumer.passwords.authenticate({ * email: "user@example.com", * password: "secretpassword", * sessionDurationMinutes: 30, * }) * ``` * @param request - `IPasswordsAuthenticateParameters` * - `email` — The user's email address. * - `password` — The user's password. * - `sessionDurationMinutes` — Duration of the session to create, in minutes. * @returns `PasswordsAuthenticateResponse` containing the authenticated session and user. * @throws `StytchError` if the credentials are invalid. * @throws `CancellationException` if the coroutine is cancelled. */ authenticate(request: PasswordsAuthenticateParameters): Promise; /** * Creates a new user with an email address and password, and establishes a session. * Calls the `POST /sdk/v1/passwords` endpoint. * *Kotlin:** * ```kotlin * StytchConsumer.passwords.create( * PasswordsCreateParameters( * email = "user@example.com", * password = "secretpassword", * sessionDurationMinutes = 30, * ) * ) * ``` * *iOS:** * ```swift * let params = PasswordsCreateParameters( * email: "user@example.com", * password: "secretpassword", * sessionDurationMinutes: 30 * ) * let response = try await StytchConsumer.passwords.create(params) * ``` * *React Native:** * ```js * StytchConsumer.passwords.create({ * email: "user@example.com", * password: "secretpassword", * sessionDurationMinutes: 30, * }) * ``` * @param request - `IPasswordsCreateParameters` * - `email` — The email address for the new user. * - `password` — The password for the new user. * - `sessionDurationMinutes` — Duration of the session to create, in minutes. * @returns `PasswordsCreateResponse` containing the newly created user and their session. * @throws `StytchError` if the email is already in use or the password does not meet strength requirements. * @throws `CancellationException` if the coroutine is cancelled. */ create(request: PasswordsCreateParameters): Promise; /** * Initiates an email-based password reset by sending a reset link to the user's email address. * Calls the `POST /sdk/v1/passwords/email/reset/start` endpoint. Generates and stores a PKCE * code pair for use in the subsequent `resetByEmail` call. * *Kotlin:** * ```kotlin * StytchConsumer.passwords.resetByEmailStart( * PasswordsEmailResetStartParameters(email = "user@example.com") * ) * ``` * *iOS:** * ```swift * let params = PasswordsEmailResetStartParameters(email: "user@example.com") * let response = try await StytchConsumer.passwords.resetByEmailStart(params) * ``` * *React Native:** * ```js * StytchConsumer.passwords.resetByEmailStart({ email: "user@example.com" }) * ``` * @param request - `IPasswordsEmailResetStartParameters` * - `email` — The email address of the user requesting a password reset. * - `loginRedirectUrl?` — URL to redirect the user to if they click the link but already have a valid session. * - `resetPasswordRedirectUrl?` — URL to redirect the user to for completing the password reset. * - `resetPasswordExpirationMinutes?` — Expiration for the reset link, in minutes. * - `resetPasswordTemplateId?` — Custom email template ID for the reset email. * @returns `PasswordsEmailResetStartResponse` confirming the reset email was sent. * @throws `StytchError` if no user with the given email exists. * @throws `CancellationException` if the coroutine is cancelled. */ resetByEmailStart(request: PasswordsEmailResetStartParameters): Promise; /** * Completes the email password reset flow by setting a new password using the token from the * reset link. Calls the `POST /sdk/v1/passwords/email/reset` endpoint. Retrieves the PKCE code * verifier stored during the corresponding `resetByEmailStart` call. * *Kotlin:** * ```kotlin * StytchConsumer.passwords.resetByEmail( * PasswordsEmailResetParameters( * token = "token", * password = "newpassword", * sessionDurationMinutes = 30, * ) * ) * ``` * *iOS:** * ```swift * let params = PasswordsEmailResetParameters( * token: "token", * password: "newpassword", * sessionDurationMinutes: 30 * ) * let response = try await StytchConsumer.passwords.resetByEmail(params) * ``` * *React Native:** * ```js * StytchConsumer.passwords.resetByEmail({ * token: "token", * password: "newpassword", * sessionDurationMinutes: 30, * }) * ``` * @param request - `IPasswordsEmailResetParameters` * - `token` — The password reset token extracted from the deeplink URL. * - `password` — The new password to set for the user. * - `sessionDurationMinutes` — Duration of the session to create, in minutes. * @returns `PasswordsEmailResetResponse` containing the authenticated session and user. * @throws `StytchError` if the token is invalid or expired, or if no PKCE verifier is found in storage. * @throws `CancellationException` if the coroutine is cancelled. */ resetByEmail(request: PasswordsEmailResetParameters): Promise; /** * Resets a user's password by verifying their existing password, then setting a new one. * Calls the `POST /sdk/v1/passwords/existing_password/reset` endpoint. * *Kotlin:** * ```kotlin * StytchConsumer.passwords.resetByExistingPassword( * PasswordsExistingPasswordResetParameters( * email = "user@example.com", * existingPassword = "oldpassword", * newPassword = "newpassword", * ) * ) * ``` * *iOS:** * ```swift * let params = PasswordsExistingPasswordResetParameters( * email: "user@example.com", * existingPassword: "oldpassword", * newPassword: "newpassword" * ) * let response = try await StytchConsumer.passwords.resetByExistingPassword(params) * ``` * *React Native:** * ```js * StytchConsumer.passwords.resetByExistingPassword({ * email: "user@example.com", * existingPassword: "oldpassword", * newPassword: "newpassword", * }) * ``` * @param request - `IPasswordsExistingPasswordResetParameters` * - `email` — The user's email address. * - `existingPassword` — The user's current password for verification. * - `newPassword` — The new password to set. * - `sessionDurationMinutes?` — Duration of the session to create, in minutes. * @returns `PasswordsExistingPasswordResetResponse` containing the authenticated session and user. * @throws `StytchError` if the existing password is incorrect or the new password is too weak. * @throws `CancellationException` if the coroutine is cancelled. */ resetByExistingPassword(request: PasswordsExistingPasswordResetParameters): Promise; /** * Resets a user's password using their active session for verification (no existing password required). * Calls the `POST /sdk/v1/passwords/session/reset` endpoint. Requires an active session. * *Kotlin:** * ```kotlin * StytchConsumer.passwords.resetBySession( * PasswordsSessionResetParameters(password = "newpassword") * ) * ``` * *iOS:** * ```swift * let params = PasswordsSessionResetParameters(password: "newpassword") * let response = try await StytchConsumer.passwords.resetBySession(params) * ``` * *React Native:** * ```js * StytchConsumer.passwords.resetBySession({ password: "newpassword" }) * ``` * @param request - `IPasswordsSessionResetParameters` * - `password` — The new password to set for the currently authenticated user. * - `sessionDurationMinutes?` — Duration of the session to create, in minutes. * @returns `PasswordsSessionResetResponse` containing the updated session and user. * @throws `StytchError` if no active session exists or the password does not meet strength requirements. * @throws `CancellationException` if the coroutine is cancelled. */ resetBySession(request: PasswordsSessionResetParameters): Promise; /** * Checks the strength of a password and returns a score with actionable feedback. * Calls the `POST /sdk/v1/passwords/strength_check` endpoint. Does not create a session. * *Kotlin:** * ```kotlin * StytchConsumer.passwords.strengthCheck( * PasswordsStrengthCheckParameters( * password = "mypassword", * email = "user@example.com", * ) * ) * ``` * *iOS:** * ```swift * let params = PasswordsStrengthCheckParameters(password: "mypassword", email: "user@example.com") * let response = try await StytchConsumer.passwords.strengthCheck(params) * ``` * *React Native:** * ```js * StytchConsumer.passwords.strengthCheck({ password: "mypassword", email: "user@example.com" }) * ``` * @param request - `IPasswordsStrengthCheckParameters` * - `password` — The password to evaluate. * - `email?` — The user's email address, used to improve strength scoring by checking against personal information. * @returns `PasswordsStrengthCheckResponse` containing a strength score, breach detection result, and feedback. * @throws `StytchError` if the request fails. * @throws `CancellationException` if the coroutine is cancelled. */ strengthCheck(request: PasswordsStrengthCheckParameters): Promise; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.consumer.passwords.PasswordsClient": unique symbol; }; } /** Session management methods. */ export declare interface SessionClient { /** * Validates the current session token against the Stytch backend and optionally extends the session. * Calls the `POST /sdk/v1/sessions/authenticate` endpoint. * *Kotlin:** * ```kotlin * StytchConsumer.sessions.authenticate( * SessionsAuthenticateParameters(sessionDurationMinutes = 30) * ) * ``` * *iOS:** * ```swift * let params = SessionsAuthenticateParameters(sessionDurationMinutes: 30) * let response = try await StytchConsumer.sessions.authenticate(params) * ``` * *React Native:** * ```js * StytchConsumer.sessions.authenticate({ sessionDurationMinutes: 30 }) * ``` * @param request - `ISessionsAuthenticateParameters` * - `sessionDurationMinutes?` — If provided, extends the session by this many minutes from the current time. * @returns `SessionsAuthenticateResponse` containing the validated session and user. * @throws `StytchError` if the session token is invalid or expired. * @throws `CancellationException` if the coroutine is cancelled. */ authenticate(request: SessionsAuthenticateParameters): Promise; /** * Revokes the current session, signing the user out on the backend and clearing local session state. * Calls the `POST /sdk/v1/sessions/revoke` endpoint. * *Kotlin:** * ```kotlin * StytchConsumer.sessions.revoke() * ``` * *iOS:** * ```swift * let response = try await StytchConsumer.sessions.revoke() * ``` * *React Native:** * ```js * StytchConsumer.sessions.revoke() * ``` * @returns `SessionsRevokeResponse` confirming the session was revoked. * @throws `StytchError` if the request fails. * @throws `CancellationException` if the coroutine is cancelled. */ revoke(): Promise; /** * Attests the current session using a Stytch Trusted Auth Token. Calls the `POST /sdk/v1/sessions/attest` endpoint. * *Kotlin:** * ```kotlin * StytchConsumer.sessions.attest( * SessionsAttestParameters( * profileId = "profile-id", * token = "integrity-token", * ) * ) * ``` * *iOS:** * ```swift * let params = SessionsAttestParameters(profileId: "profile-id", token: "integrity-token") * let response = try await StytchConsumer.sessions.attest(params) * ``` * *React Native:** * ```js * StytchConsumer.sessions.attest({ profileId: "profile-id", token: "integrity-token" }) * ``` * @param request - `ISessionsAttestParameters` * - `profileId` — The device profile ID from the integrity provider. * - `token` — The Stytch Trusted Auth Token * - `sessionDurationMinutes?` — If provided, extends the session by this many minutes. * @returns `SessionsAttestResponse` containing the updated session. * @throws `StytchError` if the attestation token is invalid. * @throws `CancellationException` if the coroutine is cancelled. */ attest(request: SessionsAttestParameters): Promise; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.consumer.session.SessionClient": unique symbol; }; } /** TOTP (time-based one-time passcode) authentication methods. */ export declare interface TOTPClient { /** * Creates a new TOTP instance for the current user and returns the secret, QR code URL, * and recovery codes. Calls the `POST /sdk/v1/totps` endpoint. The user should scan the QR code * with their authenticator app, then call `authenticate` to verify setup. * *Kotlin:** * ```kotlin * StytchConsumer.totps.create(TOTPsCreateParameters()) * ``` * *iOS:** * ```swift * let params = TOTPsCreateParameters() * let response = try await StytchConsumer.totps.create(params) * ``` * *React Native:** * ```js * StytchConsumer.totps.create({}) * ``` * @param request - `ITOTPsCreateParameters` * - `expirationMinutes?` — Time before the TOTP setup expires if not verified, in minutes. * @returns `TOTPsCreateResponse` containing the TOTP `secret`, `qrCode` URL, and `recoveryCodes`. * @throws `StytchError` if the request fails or the user already has an active TOTP instance. * @throws `CancellationException` if the coroutine is cancelled. */ create(request: TOTPsCreateParameters): Promise; /** * Authenticates a time-based one-time passcode from the user's authenticator app. * Calls the `POST /sdk/v1/totps/authenticate` endpoint. * *Kotlin:** * ```kotlin * StytchConsumer.totps.authenticate( * TOTPsAuthenticateParameters(totpCode = "123456", sessionDurationMinutes = 30) * ) * ``` * *iOS:** * ```swift * let params = TOTPsAuthenticateParameters(totpCode: "123456", sessionDurationMinutes: 30) * let response = try await StytchConsumer.totps.authenticate(params) * ``` * *React Native:** * ```js * StytchConsumer.totps.authenticate({ totpCode: "123456", sessionDurationMinutes: 30 }) * ``` * @param request - `ITOTPsAuthenticateParameters` * - `totpCode` — The 6-digit code from the user's authenticator app. * - `sessionDurationMinutes` — Duration of the session to create, in minutes. * @returns `TOTPsAuthenticateResponse` containing the authenticated session and user. * @throws `StytchError` if the code is invalid or expired. * @throws `CancellationException` if the coroutine is cancelled. */ authenticate(request: TOTPsAuthenticateParameters): Promise; /** * Authenticates the user with a TOTP recovery code instead of a time-based code. * Calls the `POST /sdk/v1/totps/recover` endpoint. Each recovery code can only be used once. * *Kotlin:** * ```kotlin * StytchConsumer.totps.recover( * TOTPsRecoverParameters(recoveryCode = "recovery-code", sessionDurationMinutes = 30) * ) * ``` * *iOS:** * ```swift * let params = TOTPsRecoverParameters(recoveryCode: "recovery-code", sessionDurationMinutes: 30) * let response = try await StytchConsumer.totps.recover(params) * ``` * *React Native:** * ```js * StytchConsumer.totps.recover({ recoveryCode: "recovery-code", sessionDurationMinutes: 30 }) * ``` * @param request - `ITOTPsRecoverParameters` * - `recoveryCode` — A one-time-use recovery code issued during TOTP setup. * - `sessionDurationMinutes` — Duration of the session to create, in minutes. * @returns `TOTPsRecoverResponse` containing the authenticated session and user. * @throws `StytchError` if the recovery code is invalid or has already been used. * @throws `CancellationException` if the coroutine is cancelled. */ recover(request: TOTPsRecoverParameters): Promise; /** * Retrieves the recovery codes for the current user's TOTP instance. * Calls the `POST /sdk/v1/totps/recovery_codes` endpoint. Requires an active session. * *Kotlin:** * ```kotlin * StytchConsumer.totps.recoveryCodes() * ``` * *iOS:** * ```swift * let response = try await StytchConsumer.totps.recoveryCodes() * ``` * *React Native:** * ```js * StytchConsumer.totps.recoveryCodes() * ``` * @returns `TOTPsGetRecoveryCodesResponse` containing the user's TOTP recovery codes. * @throws `StytchError` if the request fails or no TOTP instance exists. * @throws `CancellationException` if the coroutine is cancelled. */ recoveryCodes(): Promise; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.consumer.totp.TOTPClient": unique symbol; }; } /** User account management methods. */ export declare interface UserClient { /** * Fetches the current user's full profile from the Stytch backend. * Calls the `GET /sdk/v1/users/me` endpoint. Requires an active session. * *Kotlin:** * ```kotlin * StytchConsumer.user.getUser() * ``` * *iOS:** * ```swift * let response = try await StytchConsumer.user.getUser() * ``` * *React Native:** * ```js * StytchConsumer.user.getUser() * ``` * @returns `GetMeResponse` containing the full user object with all registered authentication factors. * @throws `StytchError` if the request fails or no active session exists. * @throws `CancellationException` if the coroutine is cancelled. */ getUser(): Promise; /** * Deletes an authentication factor from the current user's account. The endpoint called depends * on the type of the `AuthenticationFactor` passed: * - `AuthenticationFactor.TOTP` → `DELETE /sdk/v1/users/totps/{totp_id}` * - `AuthenticationFactor.Email` → `DELETE /sdk/v1/users/emails/{email_id}` * - `AuthenticationFactor.OAuth` → `DELETE /sdk/v1/users/oauth/{oauth_user_registration_id}` * - `AuthenticationFactor.WebAuthn` → `DELETE /sdk/v1/users/webauthn_registrations/{webauthn_registration_id}` * - `AuthenticationFactor.Biometric` → `DELETE /sdk/v1/users/biometric_registrations/{biometric_registration_id}` * - `AuthenticationFactor.CryptoWallet` → `DELETE /sdk/v1/users/crypto_wallets/{crypto_wallet_id}` * - `AuthenticationFactor.PhoneNumber` → `DELETE /sdk/v1/users/phone_numbers/{phone_id}` * *Kotlin:** * ```kotlin * StytchConsumer.user.deleteFactor( * AuthenticationFactor.Email(factorId = "email-test-d5a3b680-e8a3-40c0-b815-ab79986666d0") * ) * ``` * *iOS:** * ```swift * let factor = AuthenticationFactor.Email(factorId: "email-test-d5a3b680-e8a3-40c0-b815-ab79986666d0") * let response = try await StytchConsumer.user.deleteFactor(factor) * ``` * *React Native:** * ```js * StytchConsumer.user.deleteFactor({ type: "email", factorId: "email-test-d5a3b680-e8a3-40c0-b815-ab79986666d0" }) * ``` * @param factor - `AuthenticationFactor` sealed class identifying the factor to delete. The `factorId` * is the unique ID of the specific factor registration (e.g. the email ID or phone number ID). * @returns `DeleteFactorResponse` containing the updated user object after the factor was removed. * @throws `StytchError` if the factor does not exist or the request fails. * @throws `CancellationException` if the coroutine is cancelled. */ deleteFactor(factor: AuthenticationFactor): Promise; /** * Updates the current user's profile. Calls the `PUT /sdk/v1/users/me` endpoint. * Requires an active session. * *Kotlin:** * ```kotlin * StytchConsumer.user.update( * UpdateMeParameters( * name = ApiUserV1Name(firstName = "Jane", lastName = "Doe"), * ) * ) * ``` * *iOS:** * ```swift * let name = ApiUserV1Name(firstName: "Jane", lastName: "Doe") * let params = UpdateMeParameters(name: name) * let response = try await StytchConsumer.user.update(params) * ``` * *React Native:** * ```js * StytchConsumer.user.update({ name: { firstName: "Jane", lastName: "Doe" } }) * ``` * @param request - `IUpdateMeParameters` * - `name?` — Updated name fields (`firstName`, `middleName`, `lastName`). * - `emails?` — List of email addresses to set on the user. * - `phoneNumbers?` — List of phone numbers to set on the user. * - `cryptoWallets?` — List of crypto wallet addresses to set on the user. * - `trustedMetadata?` — Key-value metadata set by your backend (requires server-side auth to modify). * - `untrustedMetadata?` — Key-value metadata that can be set by the client. * @returns `UpdateMeResponse` containing the updated user object. * @throws `StytchError` if the request fails or no active session exists. * @throws `CancellationException` if the coroutine is cancelled. */ update(request: UpdateMeParameters): Promise; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.consumer.user.UserClient": unique symbol; }; } /** A user authentication factor that can be deleted from the user's account. */ export declare abstract class AuthenticationFactor { protected constructor(factorId: string); /** The unique ID of the factor. */ get factorId(): string; } export declare namespace AuthenticationFactor { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => AuthenticationFactor; } /** A TOTP authenticator factor. */ class TOTP extends AuthenticationFactor.$metadata$.constructor { constructor(factorId: string); get factorId(): string; copy(factorId?: string): AuthenticationFactor.TOTP; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } namespace TOTP { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => TOTP; } } /** An email address factor. */ class Email extends AuthenticationFactor.$metadata$.constructor { constructor(factorId: string); get factorId(): string; copy(factorId?: string): AuthenticationFactor.Email; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } namespace Email { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => Email; } } /** An OAuth provider registration factor. */ class OAuth extends AuthenticationFactor.$metadata$.constructor { constructor(factorId: string); get factorId(): string; copy(factorId?: string): AuthenticationFactor.OAuth; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } namespace OAuth { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => OAuth; } } /** A WebAuthn (passkey) factor. */ class WebAuthn extends AuthenticationFactor.$metadata$.constructor { constructor(factorId: string); get factorId(): string; copy(factorId?: string): AuthenticationFactor.WebAuthn; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } namespace WebAuthn { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => WebAuthn; } } /** A biometric factor. */ class Biometric extends AuthenticationFactor.$metadata$.constructor { constructor(factorId: string); get factorId(): string; copy(factorId?: string): AuthenticationFactor.Biometric; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } namespace Biometric { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => Biometric; } } /** A crypto wallet factor. */ class CryptoWallet extends AuthenticationFactor.$metadata$.constructor { constructor(factorId: string); get factorId(): string; copy(factorId?: string): AuthenticationFactor.CryptoWallet; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } namespace CryptoWallet { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => CryptoWallet; } } /** A phone number factor. */ class PhoneNumber extends AuthenticationFactor.$metadata$.constructor { constructor(factorId: string); get factorId(): string; copy(factorId?: string): AuthenticationFactor.PhoneNumber; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } namespace PhoneNumber { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => PhoneNumber; } } } /** The response returned after successfully deleting an authentication factor. */ export declare class DeleteFactorResponse implements BasicResponse { constructor(requestId: string, statusCode: number, user: ApiUserV1User); get requestId(): string; get statusCode(): number; /** The updated user object after the factor was removed. */ get user(): ApiUserV1User; copy(requestId?: string, statusCode?: number, user?: ApiUserV1User): DeleteFactorResponse; toString(): string; hashCode(): number; equals(other: Nullable): boolean; readonly __doNotUseOrImplementIt: BasicResponse["__doNotUseOrImplementIt"]; } export declare namespace DeleteFactorResponse { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => DeleteFactorResponse; } }