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 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"]; } 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 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"]; } 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 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"]; } 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 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"]; } 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 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"]; } 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 providerValues(): ApiOauthV1ProviderValues; 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"]; } 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 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"]; } 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 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"]; } 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 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"]; } 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 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"]; } 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 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"]; } 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 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"]; } 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 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"]; } 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 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"]; } 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 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"]; } 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 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"]; } 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 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"]; } 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 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"]; } 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 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"]; } 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 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"]; } 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; } } /** * Main entry point for the Stytch B2B SDK. * Provides access to all B2B authentication methods and session management. * Create an instance with `createStytchB2B`. */ export declare interface StytchB2B extends StytchClient { /** Session management methods. */ readonly session: B2BSessionsClient; /** Magic link authentication methods. */ readonly magicLinks: B2BMagicLinksClient; /** OTP (SMS and email) authentication methods. */ readonly otp: B2BOtpClient; /** Password-based authentication methods. */ readonly passwords: B2BPasswordsClient; /** TOTP authenticator methods. */ readonly totp: B2BTOTPClient; /** Cross-org discovery flow methods for listing and joining organizations. */ readonly discovery: B2BDiscoveryClient; /** Member management methods. */ readonly members: B2BMembersClient; /** Organization management methods. */ readonly organizations: B2BOrganizationsClient; /** Recovery code management methods. */ readonly recoveryCodes: B2BRecoveryCodesClient; /** SCIM provisioning methods. */ readonly scim: B2BSCIMClient; /** OAuth authentication methods. */ readonly oauth: B2BOAuthClient; /** SSO authentication methods. */ readonly sso: B2BSSOClient; /** Role-based access control (RBAC) methods. */ readonly rbac: B2BRBACClient; /** Device fingerprinting (DFP) methods. */ readonly dfp: DFPClient; /** A `StateFlow` emitting the current authentication state whenever it changes. */ readonly authenticationStateFlow: any/* StateFlow */; /** * Subscribes to authentication state changes via a callback. * Returns a `JsCleanup` whose `JsCleanup.stop` cancels the subscription. */ authenticationStateObserver(callback: (p0: B2BAuthenticationState) => void): JsCleanup; /** * Handles an incoming deeplink URL, authenticating the token it contains if possible. * Returns `DeeplinkAuthenticationStatus.Authenticated` for magic links, OAuth, and SSO tokens. * Returns `DeeplinkAuthenticationStatus.ManualHandlingRequired` for password reset and * discovery tokens, which require additional user interaction. * Returns `DeeplinkAuthenticationStatus.UnknownDeeplink` if the URL is not a Stytch deeplink. */ authenticate(url: string, sessionDurationMinutes: Nullable): Promise; /** Returns the current PKCE code pair if one exists (used for advanced manual flows). */ getPKCECodePair(): Promise>; /** Parses a URL and returns a `DeeplinkToken` if it contains a Stytch token, or null otherwise. */ parseDeeplink(url: string): Nullable; /** Hydrates a session from a given session token */ hydrate(sessionToken: string): Promise; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.b2b.StytchB2B": unique symbol; } & StytchClient["__doNotUseOrImplementIt"]; } /** * Creates a new `StytchB2B` instance with the given `StytchClientConfiguration`. * Repeated calls with the same process return the same singleton instance. */ export declare function createStytchB2B(configuration: StytchClientConfiguration): StytchB2B; /** * Retrieves a previously configured `StytchB2B` instance, in essence providing a singleton for custom use-cases * Repeated calls with the same process return the same singleton instance. */ export declare function getStytchB2B(): Nullable; /** Represents the current authentication state of a B2B member. */ export declare abstract class B2BAuthenticationState /* implements AuthenticationState */ { protected constructor(); } export declare namespace B2BAuthenticationState { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BAuthenticationState; } /** The initial state before the SDK has determined the authentication status. */ class Loading extends B2BAuthenticationState.$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 member is not authenticated. */ class Unauthenticated extends B2BAuthenticationState.$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 member is authenticated. */ class Authenticated extends B2BAuthenticationState.$metadata$.constructor { constructor(member: ApiOrganizationV1Member, memberSession: ApiB2bSessionV1MemberSession, organization: ApiOrganizationV1Organization, sessionToken: string, sessionJwt: string); /** The authenticated member. */ get member(): ApiOrganizationV1Member; /** The active member session. */ get memberSession(): ApiB2bSessionV1MemberSession; /** The organization the member belongs to. */ get organization(): ApiOrganizationV1Organization; /** 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 B2BAuthenticationState.$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 B2B deeplink URL. */ export declare abstract class B2BTokenType { private constructor(); static get MULTI_TENANT_MAGIC_LINKS(): B2BTokenType & { get name(): "MULTI_TENANT_MAGIC_LINKS"; get ordinal(): 0; }; static get MULTI_TENANT_PASSWORDS(): B2BTokenType & { get name(): "MULTI_TENANT_PASSWORDS"; get ordinal(): 1; }; static get DISCOVERY(): B2BTokenType & { get name(): "DISCOVERY"; get ordinal(): 2; }; static get SSO(): B2BTokenType & { get name(): "SSO"; get ordinal(): 3; }; static get OAUTH(): B2BTokenType & { get name(): "OAUTH"; get ordinal(): 4; }; static get DISCOVERY_OAUTH(): B2BTokenType & { get name(): "DISCOVERY_OAUTH"; get ordinal(): 5; }; static get UNKNOWN(): B2BTokenType & { get name(): "UNKNOWN"; get ordinal(): 6; }; get name(): "MULTI_TENANT_MAGIC_LINKS" | "MULTI_TENANT_PASSWORDS" | "DISCOVERY" | "SSO" | "OAUTH" | "DISCOVERY_OAUTH" | "UNKNOWN"; get ordinal(): 0 | 1 | 2 | 3 | 4 | 5 | 6; static values(): Array; static valueOf(value: string): B2BTokenType; } export declare namespace B2BTokenType { /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace $metadata$ { const constructor: abstract new () => B2BTokenType; } } /** The result of processing a Stytch B2B deeplink via `com.stytch.sdk.b2b.StytchB2B.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: any/* AuthenticatedResponse */); /** The authentication response from the Stytch API. */ get response(): any/* 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 or a discovery/discovery-OAuth token. */ 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 B2B 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 B2B deeplink URL. */ export declare class DeeplinkToken { constructor(type: B2BTokenType, token: string); /** The type of the token. */ get type(): B2BTokenType; /** 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 { /** * Fetches a DFP telemetry ID from the local device fingerprinting provider. The ID is passed to your * backend for use in Stytch lookup calls. * *Kotlin:** * ```kotlin * val telemetryId = StytchB2B.dfp.getTelemetryId() * ``` * *iOS:** * ```swift * let telemetryId = try await StytchB2B.dfp.getTelemetryId() * ``` * *React Native:** * ```js * const telemetryId = await StytchB2B.dfp.getTelemetryId() * ``` * @returns The DFP telemetry ID string. * @throws `DFPNotConfiguredError` if DFP was not configured during SDK initialization. * @throws `CancellationException` if the coroutine is cancelled. */ getTelemetryId(): Promise; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.b2b.dfp.DFPClient": unique symbol; }; } /** * Discovery flow methods for listing and joining organizations. * Used after obtaining an intermediate session token via magic link, OTP, OAuth, or SSO discovery. */ export declare interface B2BDiscoveryClient { /** Methods for listing and creating organizations during the discovery flow. */ readonly organizations: B2BDiscoveryOrganizationsClient; /** Methods for exchanging an intermediate session token into a full member session. */ readonly intermediateSessions: B2BDiscoveryIntermediateSessionsClient; /** Password-based authentication and reset within the discovery flow. */ readonly passwords: B2BDiscoveryPasswordsClient; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.b2b.discovery.B2BDiscoveryClient": unique symbol; }; } /** Organization discovery methods. */ export declare interface B2BDiscoveryOrganizationsClient { /** * Lists all organizations discoverable for the authenticated user. Calls the * `POST /sdk/v1/b2b/discovery/organizations` endpoint. Automatically includes the intermediate * session token if one is present. * *Kotlin:** * ```kotlin * val response = StytchB2B.discovery.organizations.list(B2BDiscoveryOrganizationsParameters()) * ``` * *iOS:** * ```swift * let response = try await StytchB2B.discovery.organizations.list(B2BDiscoveryOrganizationsParameters()) * ``` * *React Native:** * ```js * StytchB2B.discovery.organizations.list({}) * ``` * @param request - `IB2BDiscoveryOrganizationsParameters` — no fields required. * @returns `B2BDiscoveryOrganizationsResponse` containing discoverable organizations. * @throws `StytchError` if the request fails. * @throws `CancellationException` if the coroutine is cancelled. */ list(request: B2BDiscoveryOrganizationsParameters): Promise; /** * Creates a new organization and immediately establishes a member session within it. * Calls the `POST /sdk/v1/b2b/discovery/organizations/create` endpoint. Automatically * includes the intermediate session token if one is present. * *Kotlin:** * ```kotlin * StytchB2B.discovery.organizations.create( * B2BDiscoveryOrganizationsCreateParameters( * organizationName = "My Company", * organizationSlug = "my-company", * sessionDurationMinutes = 30, * ) * ) * ``` * *iOS:** * ```swift * let params = B2BDiscoveryOrganizationsCreateParameters( * organizationName: "My Company", * organizationSlug: "my-company", * sessionDurationMinutes: 30 * ) * let response = try await StytchB2B.discovery.organizations.create(params) * ``` * *React Native:** * ```js * StytchB2B.discovery.organizations.create({ * organizationName: "My Company", * organizationSlug: "my-company", * sessionDurationMinutes: 30, * }) * ``` * @param request - `IB2BDiscoveryOrganizationsCreateParameters` * - `sessionDurationMinutes` — Duration of the session to create, in minutes. * - `organizationName?` — Display name for the new organization. * - `organizationSlug?` — URL-safe identifier for the new organization. * - `organizationLogoUrl?` — URL for the organization's logo. * - `ssoJitProvisioning?` — SSO just-in-time provisioning policy. * - `emailAllowedDomains?` — List of allowed email domains for the organization. * - `emailJitProvisioning?` — Email just-in-time provisioning policy. * - `emailInvites?` — Email invite policy for the organization. * - `authMethods?` — Authentication methods policy. * - `allowedAuthMethods?` — List of allowed authentication methods. * - `mfaMethods?` — MFA methods policy. * - `allowedMfaMethods?` — List of allowed MFA methods. * - `mfaPolicy?` — MFA enforcement policy. * - `oauthTenantJitProvisioning?` — OAuth tenant just-in-time provisioning policy. * - `allowedOauthTenants?` — Map of allowed OAuth tenants. * @returns `B2BDiscoveryOrganizationsCreateResponse` containing the new organization and member session. * @throws `StytchError` if the organization cannot be created. * @throws `CancellationException` if the coroutine is cancelled. */ create(request: B2BDiscoveryOrganizationsCreateParameters): Promise; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.b2b.discovery.B2BDiscoveryOrganizationsClient": unique symbol; }; } /** Intermediate session exchange — converts a discovery token into a full member session. */ export declare interface B2BDiscoveryIntermediateSessionsClient { /** * Exchanges an intermediate session token for a full member session in the selected organization. * Calls the `POST /sdk/v1/b2b/discovery/intermediate_sessions/exchange` endpoint. Automatically * includes the intermediate session token if one is present. * *Kotlin:** * ```kotlin * StytchB2B.discovery.intermediateSessions.exchange( * B2BDiscoveryIntermediateSessionsExchangeParameters( * organizationId = "org-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * sessionDurationMinutes = 30, * ) * ) * ``` * *iOS:** * ```swift * let params = B2BDiscoveryIntermediateSessionsExchangeParameters( * organizationId: "org-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * sessionDurationMinutes: 30 * ) * let response = try await StytchB2B.discovery.intermediateSessions.exchange(params) * ``` * *React Native:** * ```js * StytchB2B.discovery.intermediateSessions.exchange({ * organizationId: "org-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * sessionDurationMinutes: 30, * }) * ``` * @param request - `IB2BDiscoveryIntermediateSessionsExchangeParameters` * - `organizationId` — The ID of the organization to join. * - `sessionDurationMinutes` — Duration of the session to create, in minutes. * - `locale?` — Locale for any follow-up communications. * @returns `B2BDiscoveryIntermediateSessionsExchangeResponse` containing the full member session. * @throws `StytchError` if the exchange fails or no intermediate session token is present. * @throws `CancellationException` if the coroutine is cancelled. */ exchange(request: B2BDiscoveryIntermediateSessionsExchangeParameters): Promise; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.b2b.discovery.B2BDiscoveryIntermediateSessionsClient": unique symbol; }; } /** Password authentication and reset within the discovery flow (before an org is selected). */ export declare interface B2BDiscoveryPasswordsClient { /** * Authenticates an email and password credential during the cross-org discovery flow, before an * organization is selected. Calls the `POST /sdk/v1/b2b/passwords/discovery/authenticate` endpoint. * Returns discovered organizations and an intermediate session token; call * `B2BDiscoveryIntermediateSessionsClient.exchange` to establish a full member session. * *Kotlin:** * ```kotlin * StytchB2B.discovery.passwords.authenticate( * B2BPasswordDiscoveryAuthenticateParameters( * emailAddress = "user@example.com", * password = "correct-horse-battery-staple", * ) * ) * ``` * *iOS:** * ```swift * let params = B2BPasswordDiscoveryAuthenticateParameters( * emailAddress: "user@example.com", * password: "correct-horse-battery-staple" * ) * let response = try await StytchB2B.discovery.passwords.authenticate(params) * ``` * *React Native:** * ```js * StytchB2B.discovery.passwords.authenticate({ * emailAddress: "user@example.com", * password: "correct-horse-battery-staple", * }) * ``` * @param request - `IB2BPasswordDiscoveryAuthenticateParameters` * - `emailAddress` — The user's email address. * - `password` — The user's password. * @returns `B2BPasswordDiscoveryAuthenticateResponse` containing discovered organizations and an intermediate session token. * @throws `StytchError` if the credentials are invalid. * @throws `CancellationException` if the coroutine is cancelled. */ authenticate(request: B2BPasswordDiscoveryAuthenticateParameters): Promise; /** * Sends a password reset email to the specified address for use in the cross-org discovery flow. * Calls the `POST /sdk/v1/b2b/passwords/discovery/reset/start` endpoint. Stores a PKCE code * challenge for verification when `reset` is called. * *Kotlin:** * ```kotlin * StytchB2B.discovery.passwords.resetStart( * B2BDiscoveryPasswordResetStartParameters( * emailAddress = "user@example.com", * discoveryRedirectUrl = "myapp://discovery", * ) * ) * ``` * *iOS:** * ```swift * let params = B2BDiscoveryPasswordResetStartParameters( * emailAddress: "user@example.com", * discoveryRedirectUrl: "myapp://discovery" * ) * let response = try await StytchB2B.discovery.passwords.resetStart(params) * ``` * *React Native:** * ```js * StytchB2B.discovery.passwords.resetStart({ * emailAddress: "user@example.com", * discoveryRedirectUrl: "myapp://discovery", * }) * ``` * @param request - `IB2BDiscoveryPasswordResetStartParameters` * - `emailAddress` — The user's email address. * - `discoveryRedirectUrl?` — URL to redirect to after the reset flow completes. * - `resetPasswordRedirectUrl?` — URL embedded in the reset email link. * - `resetPasswordExpirationMinutes?` — Expiry duration for the reset link, in minutes. * - `resetPasswordTemplateId?` — Custom email template ID for the reset email. * - `locale?` — Locale for the reset email. * - `verifyEmailTemplateId?` — Custom email template ID for email verification. * @returns `B2BDiscoveryPasswordResetStartResponse` confirming the reset email was sent. * @throws `StytchError` if the email address is not found or the request fails. * @throws `CancellationException` if the coroutine is cancelled. */ resetStart(request: B2BDiscoveryPasswordResetStartParameters): Promise; /** * Completes the password reset in the cross-org discovery flow using the token from the reset * email. Calls the `POST /sdk/v1/b2b/passwords/discovery/reset` endpoint. Retrieves the PKCE * code verifier stored during the `resetStart` call. * *Kotlin:** * ```kotlin * StytchB2B.discovery.passwords.reset( * B2BDiscoveryPasswordResetParameters( * passwordResetToken = "token-from-email", * password = "new-correct-horse-battery-staple", * ) * ) * ``` * *iOS:** * ```swift * let params = B2BDiscoveryPasswordResetParameters( * passwordResetToken: "token-from-email", * password: "new-correct-horse-battery-staple" * ) * let response = try await StytchB2B.discovery.passwords.reset(params) * ``` * *React Native:** * ```js * StytchB2B.discovery.passwords.reset({ * passwordResetToken: "token-from-email", * password: "new-correct-horse-battery-staple", * }) * ``` * @param request - `IB2BDiscoveryPasswordResetParameters` * - `passwordResetToken` — The password reset token extracted from the email link. * - `password` — The new password to set. * @returns `B2BDiscoveryPasswordResetResponse` containing discovered organizations and an intermediate session token. * @throws `StytchError` if the token is invalid, expired, or no PKCE verifier is found in storage. * @throws `CancellationException` if the coroutine is cancelled. */ reset(request: B2BDiscoveryPasswordResetParameters): Promise; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.b2b.discovery.B2BDiscoveryPasswordsClient": unique symbol; }; } /** B2B magic link authentication methods. */ export declare interface B2BMagicLinksClient { /** Email magic link methods. */ readonly email: B2BEmailMagicLinksClient; /** Discovery magic link methods (cross-org, unauthenticated). */ readonly discovery: B2BMagicLinksDiscoveryClient; /** * Authenticates a magic link token received via deeplink, establishing a member session. * Calls the `POST /sdk/v1/b2b/magic_links/authenticate` endpoint. Retrieves the PKCE code * verifier stored during the corresponding `B2BEmailMagicLinksClient.loginOrSignup` call, and * automatically includes the intermediate session token if one is present. * *Kotlin:** * ```kotlin * StytchB2B.magicLinks.authenticate( * B2BMagicLinksAuthenticateParameters( * magicLinksToken = "token", * sessionDurationMinutes = 30, * ) * ) * ``` * *iOS:** * ```swift * let params = B2BMagicLinksAuthenticateParameters(magicLinksToken: "token", sessionDurationMinutes: 30) * let response = try await StytchB2B.magicLinks.authenticate(params) * ``` * *React Native:** * ```js * StytchB2B.magicLinks.authenticate({ magicLinksToken: "token", sessionDurationMinutes: 30 }) * ``` * @param request - `IB2BMagicLinksAuthenticateParameters` * - `magicLinksToken` — The token extracted from the magic link deeplink URL. * - `sessionDurationMinutes` — Duration of the session to create, in minutes. * - `locale?` — Locale used for any follow-up communications. * @returns `B2BMagicLinksAuthenticateResponse` containing the authenticated member session. * @throws `StytchError` if the token is invalid, expired, or no PKCE verifier is found in storage. * @throws `CancellationException` if the coroutine is cancelled. */ authenticate(request: B2BMagicLinksAuthenticateParameters): Promise; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.b2b.magicLinks.B2BMagicLinksClient": unique symbol; }; } /** Email magic link methods for org-scoped authentication. */ export declare interface B2BEmailMagicLinksClient { /** * Sends a magic link email to the provided address for login or signup within an organization. * Calls the `POST /sdk/v1/b2b/magic_links/email/login_or_signup` endpoint. Generates and stores * a PKCE code pair for use in the subsequent `B2BMagicLinksClient.authenticate` call. * *Kotlin:** * ```kotlin * StytchB2B.magicLinks.email.loginOrSignup( * B2BMagicLinksLoginOrSignupParameters( * emailAddress = "user@example.com", * organizationId = "org-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * ) * ) * ``` * *iOS:** * ```swift * let params = B2BMagicLinksLoginOrSignupParameters( * emailAddress: "user@example.com", * organizationId: "org-test-d5a3b680-e8a3-40c0-b815-ab79986666d0" * ) * let response = try await StytchB2B.magicLinks.email.loginOrSignup(params) * ``` * *React Native:** * ```js * StytchB2B.magicLinks.email.loginOrSignup({ * emailAddress: "user@example.com", * organizationId: "org-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * }) * ``` * @param request - `IB2BMagicLinksLoginOrSignupParameters` * - `emailAddress` — The email address of the member. * - `organizationId` — The ID of the organization the member belongs to. * - `loginRedirectUrl?` — URL to redirect to after a successful login magic link click. * - `signupRedirectUrl?` — URL to redirect to after a successful signup magic link click. * - `loginTemplateId?` — Custom email template ID for the login email. * - `signupTemplateId?` — Custom email template ID for the signup email. * - `locale?` — Locale used for the email content. * @returns `B2BMagicLinksLoginOrSignupResponse` confirming the magic link email was sent. * @throws `StytchError` if the request fails. * @throws `CancellationException` if the coroutine is cancelled. */ loginOrSignup(request: B2BMagicLinksLoginOrSignupParameters): Promise; /** * Sends a magic link invitation email to a new member of the organization. * Calls the `POST /sdk/v1/b2b/magic_links/email/invite` endpoint. Requires an active session. * *Kotlin:** * ```kotlin * StytchB2B.magicLinks.email.invite( * B2BMagicLinksInviteParameters(emailAddress = "newmember@example.com") * ) * ``` * *iOS:** * ```swift * let params = B2BMagicLinksInviteParameters(emailAddress: "newmember@example.com") * let response = try await StytchB2B.magicLinks.email.invite(params) * ``` * *React Native:** * ```js * StytchB2B.magicLinks.email.invite({ emailAddress: "newmember@example.com" }) * ``` * @param request - `IB2BMagicLinksInviteParameters` * - `emailAddress` — The email address of the person to invite. * - `inviteRedirectUrl?` — URL to redirect to when the invite is accepted. * - `inviteTemplateId?` — Custom email template ID for the invitation email. * - `name?` — Display name to pre-populate for the new member. * - `untrustedMetadata?` — Client-settable key-value metadata to assign to the new member. * - `locale?` — Locale used for the invitation email. * - `roles?` — List of RBAC role IDs to assign to the new member. * @returns `B2BMagicLinksInviteResponse` confirming the invitation email was sent. * @throws `StytchError` if the request fails or the caller lacks permission to invite members. * @throws `CancellationException` if the coroutine is cancelled. */ invite(request: B2BMagicLinksInviteParameters): Promise; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.b2b.magicLinks.B2BEmailMagicLinksClient": unique symbol; }; } /** Magic link discovery methods for listing organizations before a session is established. */ export declare interface B2BMagicLinksDiscoveryClient { /** * Sends a discovery magic link email to enumerate the organizations associated with the given * email address. Calls the `POST /sdk/v1/b2b/magic_links/email/discovery/send` endpoint. * Generates and stores a PKCE code pair for use in the subsequent `authenticate` call. * *Kotlin:** * ```kotlin * StytchB2B.magicLinks.discovery.emailSend( * B2BMagicLinksDiscoveryEmailSendParameters(emailAddress = "user@example.com") * ) * ``` * *iOS:** * ```swift * let params = B2BMagicLinksDiscoveryEmailSendParameters(emailAddress: "user@example.com") * let response = try await StytchB2B.magicLinks.discovery.emailSend(params) * ``` * *React Native:** * ```js * StytchB2B.magicLinks.discovery.emailSend({ emailAddress: "user@example.com" }) * ``` * @param request - `IB2BMagicLinksDiscoveryEmailSendParameters` * - `emailAddress` — The email address to send the discovery link to. * - `discoveryRedirectUrl?` — URL to redirect to after the user clicks the discovery link. * - `loginTemplateId?` — Custom email template ID for the discovery email. * - `locale?` — Locale used for the email content. * - `discoveryExpirationMinutes?` — Expiration time for the discovery link, in minutes. * @returns `B2BMagicLinksDiscoveryEmailSendResponse` confirming the discovery email was sent. * @throws `StytchError` if the request fails. * @throws `CancellationException` if the coroutine is cancelled. */ emailSend(request: B2BMagicLinksDiscoveryEmailSendParameters): Promise; /** * Authenticates the discovery magic link token received via deeplink, returning an intermediate * session token and the list of discovered organizations. Calls the * `POST /sdk/v1/b2b/magic_links/discovery/authenticate` endpoint. Retrieves the PKCE code * verifier stored during the corresponding `emailSend` call. * *Kotlin:** * ```kotlin * StytchB2B.magicLinks.discovery.authenticate( * B2BMagicLinksDiscoveryAuthenticateParameters( * discoveryMagicLinksToken = "token", * ) * ) * ``` * *iOS:** * ```swift * let params = B2BMagicLinksDiscoveryAuthenticateParameters(discoveryMagicLinksToken: "token") * let response = try await StytchB2B.magicLinks.discovery.authenticate(params) * ``` * *React Native:** * ```js * StytchB2B.magicLinks.discovery.authenticate({ discoveryMagicLinksToken: "token" }) * ``` * @param request - `IB2BMagicLinksDiscoveryAuthenticateParameters` * - `discoveryMagicLinksToken` — The discovery token extracted from the magic link deeplink URL. * @returns `B2BMagicLinksDiscoveryAuthenticateResponse` containing an intermediate session token * and a list of discovered organizations. * @throws `StytchError` if the token is invalid, expired, or no PKCE verifier is found in storage. * @throws `CancellationException` if the coroutine is cancelled. */ authenticate(request: B2BMagicLinksDiscoveryAuthenticateParameters): Promise; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.b2b.magicLinks.B2BMagicLinksDiscoveryClient": unique symbol; }; } /** B2B member management methods for the authenticated member and organization members. */ export declare interface B2BMembersClient { /** Admin-level member management methods requiring elevated permissions. */ readonly admin: B2BMembersAdminClient; /** * Returns the currently authenticated member and their organization. * Calls the `GET /sdk/v1/b2b/organizations/members/me` endpoint. Requires an active session. * *Kotlin:** * ```kotlin * StytchB2B.members.me() * ``` * *iOS:** * ```swift * let response = try await StytchB2B.members.me() * ``` * *React Native:** * ```js * StytchB2B.members.me() * ``` * @returns `B2BGetMeResponse` containing the current member and organization objects. * @throws `StytchError` if the request fails or no active session exists. * @throws `CancellationException` if the coroutine is cancelled. */ me(): Promise; /** * Updates profile fields on the currently authenticated member. * Calls the `PUT /sdk/v1/b2b/organizations/members/update` endpoint. Requires an active session. * *Kotlin:** * ```kotlin * StytchB2B.members.update( * OrganizationsMemberUpdateParameters(name = "Jane Doe") * ) * ``` * *iOS:** * ```swift * let params = OrganizationsMemberUpdateParameters(name: "Jane Doe") * let response = try await StytchB2B.members.update(params) * ``` * *React Native:** * ```js * StytchB2B.members.update({ name: "Jane Doe" }) * ``` * @param request - `IOrganizationsMemberUpdateParameters` * - `name?` — Updated display name for the member. * - `mfaEnrolled?` — Whether MFA is enrolled for this member. * - `mfaPhoneNumber?` — Updated MFA phone number. * - `untrustedMetadata?` — Client-settable key-value metadata. * - `defaultMfaMethod?` — The default MFA method for this member. * @returns `OrganizationsMemberUpdateResponse` containing the updated member object. * @throws `StytchError` if the request fails. * @throws `CancellationException` if the coroutine is cancelled. */ update(request: OrganizationsMemberUpdateParameters): Promise; /** * Searches for members within the organization matching the provided criteria. * Calls the `POST /sdk/v1/b2b/organizations/me/members/search` endpoint. Requires an active * session and appropriate RBAC permissions. * *Kotlin:** * ```kotlin * StytchB2B.members.search( * OrganizationsMemberSearchParameters(cursor = "") * ) * ``` * *iOS:** * ```swift * let params = OrganizationsMemberSearchParameters(cursor: "") * let response = try await StytchB2B.members.search(params) * ``` * *React Native:** * ```js * StytchB2B.members.search({ cursor: "" }) * ``` * @param request - `IOrganizationsMemberSearchParameters` * - `cursor` — Pagination cursor from a previous response; pass an empty string to start from the beginning. * - `limit?` — Maximum number of members to return per page. * - `query?` — Search query to filter results. * @returns `OrganizationsMemberSearchResponse` containing a page of matching members. * @throws `StytchError` if the request fails. * @throws `CancellationException` if the coroutine is cancelled. */ search(request: OrganizationsMemberSearchParameters): Promise; /** * Creates a new member in the organization. * Calls the `POST /sdk/v1/b2b/organizations/members` endpoint. Requires an active session and * appropriate RBAC permissions. * *Kotlin:** * ```kotlin * StytchB2B.members.create( * OrganizationsMemberCreateParameters( * emailAddress = "newmember@example.com", * isBreakglass = false, * createMemberAsPending = false, * roles = listOf("member"), * ) * ) * ``` * *iOS:** * ```swift * let params = OrganizationsMemberCreateParameters( * emailAddress: "newmember@example.com", * isBreakglass: false, * createMemberAsPending: false, * roles: `"member"` * ) * let response = try await StytchB2B.members.create(params) * ``` * *React Native:** * ```js * StytchB2B.members.create({ * emailAddress: "newmember@example.com", * isBreakglass: false, * createMemberAsPending: false, * roles: `"member"`, * }) * ``` * @param request - `IOrganizationsMemberCreateParameters` * - `emailAddress` — The email address of the new member. * - `isBreakglass` — Whether this is a breakglass (emergency access) account. * - `createMemberAsPending` — Whether to create the member in a pending state. * - `roles` — List of RBAC role IDs to assign to the member. * - `name?` — Display name for the new member. * - `mfaEnrolled?` — Whether MFA is enrolled. * - `mfaPhoneNumber?` — MFA phone number. * - `untrustedMetadata?` — Client-settable key-value metadata. * @returns `OrganizationsMemberCreateResponse` containing the newly created member. * @throws `StytchError` if the request fails or the email is already in use. * @throws `CancellationException` if the coroutine is cancelled. */ create(request: OrganizationsMemberCreateParameters): Promise; /** * Removes the MFA phone number from the currently authenticated member's account. * Calls the `DELETE /sdk/v1/b2b/organizations/members/deletePhoneNumber` endpoint. Requires * an active session. * *Kotlin:** * ```kotlin * StytchB2B.members.deleteMFAPhoneNumber() * ``` * *iOS:** * ```swift * let response = try await StytchB2B.members.deleteMFAPhoneNumber() * ``` * *React Native:** * ```js * StytchB2B.members.deleteMFAPhoneNumber() * ``` * @returns `OrganizationsMemberDeleteMFAPhoneNumberResponse` containing the updated member object. * @throws `StytchError` if the request fails. * @throws `CancellationException` if the coroutine is cancelled. */ deleteMFAPhoneNumber(): Promise; /** * Removes the TOTP authenticator registration from the currently authenticated member's account. * Calls the `DELETE /sdk/v1/b2b/organizations/members/deleteTOTP` endpoint. Requires an active * session. * *Kotlin:** * ```kotlin * StytchB2B.members.deleteMFATOTP() * ``` * *iOS:** * ```swift * let response = try await StytchB2B.members.deleteMFATOTP() * ``` * *React Native:** * ```js * StytchB2B.members.deleteMFATOTP() * ``` * @returns `OrganizationsMemberDeleteMFATOTPResponse` containing the updated member object. * @throws `StytchError` if the request fails. * @throws `CancellationException` if the coroutine is cancelled. */ deleteMFATOTP(): Promise; /** * Initiates an email address update for the currently authenticated member by sending a * verification link to the new address. Calls the * `POST /sdk/v1/b2b/organizations/members/start_email_update` endpoint. * *Kotlin:** * ```kotlin * StytchB2B.members.startEmailUpdate( * OrganizationsMemberStartEmailUpdateParameters(emailAddress = "newemail@example.com") * ) * ``` * *iOS:** * ```swift * let params = OrganizationsMemberStartEmailUpdateParameters(emailAddress: "newemail@example.com") * let response = try await StytchB2B.members.startEmailUpdate(params) * ``` * *React Native:** * ```js * StytchB2B.members.startEmailUpdate({ emailAddress: "newemail@example.com" }) * ``` * @param request - `IOrganizationsMemberStartEmailUpdateParameters` * - `emailAddress` — The new email address to update to. * - `loginRedirectUrl?` — URL to redirect to after the email is verified. * - `locale?` — Locale for the verification email. * - `loginTemplateId?` — Custom email template ID. * - `deliveryMethod?` — Delivery method for the verification (e.g. `"magic_link"`, `"otp"`). * @returns `OrganizationsMemberStartEmailUpdateResponse` confirming the verification was sent. * @throws `StytchError` if the request fails. * @throws `CancellationException` if the coroutine is cancelled. */ startEmailUpdate(request: OrganizationsMemberStartEmailUpdateParameters): Promise; /** * Removes a retired (previously used) email address from the currently authenticated member's * account. Calls the `POST /sdk/v1/b2b/organizations/members/unlink_retired_email` endpoint. * *Kotlin:** * ```kotlin * StytchB2B.members.unlinkRetiredEmail( * OrganizationsMemberUnlinkRetiredEmailParameters(emailAddress = "old@example.com") * ) * ``` * *iOS:** * ```swift * let params = OrganizationsMemberUnlinkRetiredEmailParameters(emailAddress: "old@example.com") * let response = try await StytchB2B.members.unlinkRetiredEmail(params) * ``` * *React Native:** * ```js * StytchB2B.members.unlinkRetiredEmail({ emailAddress: "old@example.com" }) * ``` * @param request - `IOrganizationsMemberUnlinkRetiredEmailParameters` * - `emailId?` — The ID of the retired email to unlink. * - `emailAddress?` — The address of the retired email to unlink. * @returns `OrganizationsMemberUnlinkRetiredEmailResponse` containing the updated member object. * @throws `StytchError` if the request fails. * @throws `CancellationException` if the coroutine is cancelled. */ unlinkRetiredEmail(request: OrganizationsMemberUnlinkRetiredEmailParameters): Promise; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.b2b.members.B2BMembersClient": unique symbol; }; } /** Admin-level operations on organization members, requiring appropriate RBAC permissions. */ export declare interface B2BMembersAdminClient { /** * Updates profile fields on any member in the organization. * Calls the `PUT /sdk/v1/b2b/organizations/members/{member_id}` endpoint. Requires an active * session and appropriate RBAC permissions. * *Kotlin:** * ```kotlin * StytchB2B.members.admin.update( * memberId = "member-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * request = OrganizationsAdminMemberUpdateParameters( * preserveExistingSessions = true, * name = "Jane Doe", * ), * ) * ``` * *iOS:** * ```swift * let params = OrganizationsAdminMemberUpdateParameters(preserveExistingSessions: true, name: "Jane Doe") * let response = try await StytchB2B.members.admin.update( * memberId: "member-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * request: params * ) * ``` * *React Native:** * ```js * StytchB2B.members.admin.update( * "member-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * { preserveExistingSessions: true, name: "Jane Doe" } * ) * ``` * @param memberId The unique ID of the member to update. * @param request - `IOrganizationsAdminMemberUpdateParameters` * - `preserveExistingSessions` — Whether to keep existing sessions active after the update. * - `name?` — Updated display name. * - `mfaEnrolled?` — Whether MFA is enrolled. * - `mfaPhoneNumber?` — Updated MFA phone number. * - `untrustedMetadata?` — Client-settable key-value metadata. * - `isBreakglass?` — Whether this is a breakglass account. * - `roles?` — List of RBAC role IDs to assign. * - `defaultMfaMethod?` — The default MFA method. * - `emailAddress?` — Updated email address. * - `unlinkEmail?` — Whether to unlink the current primary email. * @returns `OrganizationsAdminMemberUpdateResponse` containing the updated member object. * @throws `StytchError` if the request fails or the caller lacks permission. * @throws `CancellationException` if the coroutine is cancelled. */ update(memberId: string, request: OrganizationsAdminMemberUpdateParameters): Promise; /** * Permanently deletes the specified member from the organization. * Calls the `DELETE /sdk/v1/b2b/organizations/members/{member_id}` endpoint. Requires an active * session and appropriate RBAC permissions. This action is irreversible. * *Kotlin:** * ```kotlin * StytchB2B.members.admin.delete("member-test-d5a3b680-e8a3-40c0-b815-ab79986666d0") * ``` * *iOS:** * ```swift * let response = try await StytchB2B.members.admin.delete("member-test-d5a3b680-e8a3-40c0-b815-ab79986666d0") * ``` * *React Native:** * ```js * StytchB2B.members.admin.delete("member-test-d5a3b680-e8a3-40c0-b815-ab79986666d0") * ``` * @param memberId The unique ID of the member to delete. * @returns `OrganizationsAdminMemberDeleteResponse` confirming the member was deleted. * @throws `StytchError` if the request fails or the caller lacks permission. * @throws `CancellationException` if the coroutine is cancelled. */ delete(memberId: string): Promise; /** * Removes the MFA phone number from the specified member's account. * Calls the `DELETE /sdk/v1/b2b/organizations/members/mfa_phone_numbers/{member_id}` endpoint. * Requires an active session and appropriate RBAC permissions. * *Kotlin:** * ```kotlin * StytchB2B.members.admin.deleteMFAPhoneNumber("member-test-d5a3b680-e8a3-40c0-b815-ab79986666d0") * ``` * *iOS:** * ```swift * let response = try await StytchB2B.members.admin.deleteMFAPhoneNumber("member-test-d5a3b680-e8a3-40c0-b815-ab79986666d0") * ``` * *React Native:** * ```js * StytchB2B.members.admin.deleteMFAPhoneNumber("member-test-d5a3b680-e8a3-40c0-b815-ab79986666d0") * ``` * @param memberId The unique ID of the member whose MFA phone number to remove. * @returns `OrganizationsAdminMemberDeleteMFAPhoneNumberResponse` containing the updated member object. * @throws `StytchError` if the request fails or the caller lacks permission. * @throws `CancellationException` if the coroutine is cancelled. */ deleteMFAPhoneNumber(memberId: string): Promise; /** * Removes the TOTP authenticator registration from the specified member's account. * Calls the `DELETE /sdk/v1/b2b/organizations/members/totp/{member_id}` endpoint. Requires an * active session and appropriate RBAC permissions. * *Kotlin:** * ```kotlin * StytchB2B.members.admin.deleteMFATOTP("member-test-d5a3b680-e8a3-40c0-b815-ab79986666d0") * ``` * *iOS:** * ```swift * let response = try await StytchB2B.members.admin.deleteMFATOTP("member-test-d5a3b680-e8a3-40c0-b815-ab79986666d0") * ``` * *React Native:** * ```js * StytchB2B.members.admin.deleteMFATOTP("member-test-d5a3b680-e8a3-40c0-b815-ab79986666d0") * ``` * @param memberId The unique ID of the member whose TOTP registration to remove. * @returns `OrganizationsAdminMemberDeleteMFATOTPResponse` containing the updated member object. * @throws `StytchError` if the request fails or the caller lacks permission. * @throws `CancellationException` if the coroutine is cancelled. */ deleteMFATOTP(memberId: string): Promise; /** * Deletes the specified password credential from the organization. * Calls the `DELETE /sdk/v1/b2b/organizations/members/passwords/{member_password_id}` endpoint. * Requires an active session and appropriate RBAC permissions. * *Kotlin:** * ```kotlin * StytchB2B.members.admin.deletePassword("member-password-test-d5a3b680-e8a3-40c0-b815-ab79986666d0") * ``` * *iOS:** * ```swift * let response = try await StytchB2B.members.admin.deletePassword("member-password-test-d5a3b680-e8a3-40c0-b815-ab79986666d0") * ``` * *React Native:** * ```js * StytchB2B.members.admin.deletePassword("member-password-test-d5a3b680-e8a3-40c0-b815-ab79986666d0") * ``` * @param memberPasswordId The unique ID of the password credential to delete. * @returns `OrganizationsAdminMemberDeletePasswordResponse` containing the updated member object. * @throws `StytchError` if the request fails or the caller lacks permission. * @throws `CancellationException` if the coroutine is cancelled. */ deletePassword(memberPasswordId: string): Promise; /** * Reactivates a previously deleted member in the organization, restoring their access. * Calls the `PUT /sdk/v1/b2b/organizations/members/{member_id}/reactivate` endpoint. Requires * an active session and appropriate RBAC permissions. * *Kotlin:** * ```kotlin * StytchB2B.members.admin.reactivate("member-test-d5a3b680-e8a3-40c0-b815-ab79986666d0") * ``` * *iOS:** * ```swift * let response = try await StytchB2B.members.admin.reactivate("member-test-d5a3b680-e8a3-40c0-b815-ab79986666d0") * ``` * *React Native:** * ```js * StytchB2B.members.admin.reactivate("member-test-d5a3b680-e8a3-40c0-b815-ab79986666d0") * ``` * @param memberId The unique ID of the member to reactivate. * @returns `OrganizationsAdminMemberReactivateResponse` containing the reactivated member object. * @throws `StytchError` if the request fails or the caller lacks permission. * @throws `CancellationException` if the coroutine is cancelled. */ reactivate(memberId: string): Promise; /** * Initiates an email address update for the specified member by sending a verification link to * the new address. Calls the * `POST /sdk/v1/b2b/organizations/members/{member_id}/start_email_update` endpoint. Requires an * active session and appropriate RBAC permissions. * *Kotlin:** * ```kotlin * StytchB2B.members.admin.startEmailUpdate( * memberId = "member-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * request = OrganizationsAdminMemberStartEmailUpdateParameters(emailAddress = "newemail@example.com"), * ) * ``` * *iOS:** * ```swift * let params = OrganizationsAdminMemberStartEmailUpdateParameters(emailAddress: "newemail@example.com") * let response = try await StytchB2B.members.admin.startEmailUpdate( * memberId: "member-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * request: params * ) * ``` * *React Native:** * ```js * StytchB2B.members.admin.startEmailUpdate( * "member-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * { emailAddress: "newemail@example.com" } * ) * ``` * @param memberId The unique ID of the member whose email to update. * @param request - `IOrganizationsAdminMemberStartEmailUpdateParameters` * - `emailAddress` — The new email address to update to. * - `loginRedirectUrl?` — URL to redirect to after verification. * - `locale?` — Locale for the verification email. * - `loginTemplateId?` — Custom email template ID. * - `deliveryMethod?` — Delivery method for the verification (e.g. `"magic_link"`, `"otp"`). * @returns `OrganizationsAdminMemberStartEmailUpdateResponse` confirming the verification was sent. * @throws `StytchError` if the request fails or the caller lacks permission. * @throws `CancellationException` if the coroutine is cancelled. */ startEmailUpdate(memberId: string, request: OrganizationsAdminMemberStartEmailUpdateParameters): Promise; /** * Removes a retired (previously used) email address from the specified member's account. * Calls the `POST /sdk/v1/b2b/organizations/members/{member_id}/unlink_retired_email` endpoint. * Requires an active session and appropriate RBAC permissions. * *Kotlin:** * ```kotlin * StytchB2B.members.admin.unlinkRetiredEmail( * memberId = "member-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * request = OrganizationsAdminMemberUnlinkRetiredEmailParameters(emailAddress = "old@example.com"), * ) * ``` * *iOS:** * ```swift * let params = OrganizationsAdminMemberUnlinkRetiredEmailParameters(emailAddress: "old@example.com") * let response = try await StytchB2B.members.admin.unlinkRetiredEmail( * memberId: "member-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * request: params * ) * ``` * *React Native:** * ```js * StytchB2B.members.admin.unlinkRetiredEmail( * "member-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * { emailAddress: "old@example.com" } * ) * ``` * @param memberId The unique ID of the member whose retired email to remove. * @param request - `IOrganizationsAdminMemberUnlinkRetiredEmailParameters` * - `emailId?` — The ID of the retired email to unlink. * - `emailAddress?` — The address of the retired email to unlink. * @returns `OrganizationsAdminMemberUnlinkRetiredEmailResponse` containing the updated member object. * @throws `StytchError` if the request fails or the caller lacks permission. * @throws `CancellationException` if the coroutine is cancelled. */ unlinkRetiredEmail(memberId: string, request: OrganizationsAdminMemberUnlinkRetiredEmailParameters): Promise; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.b2b.members.B2BMembersAdminClient": unique symbol; }; } /** B2B OAuth authentication methods for supported identity providers. */ export declare interface B2BOAuthClient { /** Google OAuth provider client. */ readonly google: B2BOAuthProviderClient; /** Microsoft OAuth provider client. */ readonly microsoft: B2BOAuthProviderClient; /** HubSpot OAuth provider client. */ readonly hubspot: B2BOAuthProviderClient; /** Slack OAuth provider client. */ readonly slack: B2BOAuthProviderClient; /** GitHub OAuth provider client. */ readonly github: B2BOAuthProviderClient; /** Cross-org OAuth discovery methods for enumerating organizations before authentication. */ readonly discovery: B2BOAuthDiscoveryClient; /** * Authenticates an OAuth token received via deeplink after a browser-based OAuth flow completes, * establishing a member session. Calls the `POST /sdk/v1/b2b/oauth/authenticate` endpoint. * Retrieves the PKCE code verifier stored during the `B2BOAuthProviderClient.start` call, and * automatically includes the intermediate session token if one is present. * Use this method when handling deeplinks manually; prefer `B2BOAuthProviderClient.start` for * the end-to-end flow. * *Kotlin:** * ```kotlin * StytchB2B.oauth.authenticate( * B2BOAuthAuthenticateParameters( * oauthToken = "token", * sessionDurationMinutes = 30, * ) * ) * ``` * *iOS:** * ```swift * let params = B2BOAuthAuthenticateParameters(oauthToken: "token", sessionDurationMinutes: 30) * let response = try await StytchB2B.oauth.authenticate(params) * ``` * *React Native:** * ```js * StytchB2B.oauth.authenticate({ oauthToken: "token", sessionDurationMinutes: 30 }) * ``` * @param request - `IB2BOAuthAuthenticateParameters` * - `oauthToken` — The OAuth token extracted from the deeplink URL. * - `sessionDurationMinutes?` — Duration of the session to create, in minutes. * - `locale?` — Locale for any follow-up communications. * @returns `B2BOAuthAuthenticateResponse` containing the authenticated member session. * @throws `StytchError` if the token is invalid, expired, or no PKCE verifier is found in storage. * @throws `CancellationException` if the coroutine is cancelled. */ authenticate(request: B2BOAuthAuthenticateParameters): Promise; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.b2b.oauth.B2BOAuthClient": unique symbol; }; } /** OAuth authentication and discovery methods for a single identity provider. */ export declare interface B2BOAuthProviderClient { /** Discovery OAuth methods for listing organizations before a session is established. */ readonly discovery: B2BOAuthProviderDiscoveryClient; /** * Initiates an OAuth browser flow for the provider, scoped to the specified organization. * Opens a browser session at `https://{domain}/b2b/public/oauth/{provider}/start`, then * automatically exchanges the resulting token by calling `POST /sdk/v1/b2b/oauth/authenticate`, * establishing a member session on success. * *Kotlin:** * ```kotlin * val response = StytchB2B.oauth.google.start( * B2BOAuthStartParameters( * organizationId = "org-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * loginRedirectUrl = "myapp://callback", * signupRedirectUrl = "myapp://callback", * sessionDurationMinutes = 30, * ) * ) * ``` * *iOS:** * ```swift * let params = B2BOAuthStartParameters( * organizationId: "org-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * loginRedirectUrl: "myapp://callback", * signupRedirectUrl: "myapp://callback", * sessionDurationMinutes: 30 * ) * let response = try await StytchB2B.oauth.google.start(params) * ``` * *React Native:** * ```js * StytchB2B.oauth.google.start({ * organizationId: "org-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * loginRedirectUrl: "myapp://callback", * signupRedirectUrl: "myapp://callback", * sessionDurationMinutes: 30, * }) * ``` * @param parameters - `B2BOAuthStartParameters` * - `organizationId?` — The ID of the organization to authenticate into. * - `organizationSlug?` — The slug of the organization to authenticate into. * - `loginRedirectUrl?` — URL to redirect to after a successful login. * - `signupRedirectUrl?` — URL to redirect to after a successful sign-up. * - `customScopes?` — Additional OAuth scopes to request from the provider. * - `providerParams?` — Provider-specific query parameters to append to the OAuth URL. * - `sessionDurationMinutes?` — Duration of the session to create, in minutes. * - `activity?` *(Android only)* — The Android `Activity` used to launch the browser. * - `oauthPresentationContextProvider?` *(iOS only)* — Presentation context for the `ASWebAuthenticationSession`. * @returns `AuthenticatedResponse` containing the authenticated member session. * @throws `StytchError` if the OAuth flow fails or the token cannot be exchanged. * @throws `CancellationException` if the coroutine is cancelled. */ start(parameters: B2BOAuthStartParameters): Promise; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.b2b.oauth.B2BOAuthProviderClient": unique symbol; }; } /** Discovery OAuth start for a single provider — returns discovered organizations instead of a session. */ export declare interface B2BOAuthProviderDiscoveryClient { /** * Initiates a discovery OAuth browser flow for the provider, allowing the user to enumerate * organizations before authenticating. Opens a browser session at * `https://{domain}/b2b/public/oauth/{provider}/discovery/start`, then automatically calls * `POST /sdk/v1/b2b/oauth/discovery/authenticate`, returning discovered organizations and an * intermediate session token. * *Kotlin:** * ```kotlin * val response = StytchB2B.oauth.google.discovery.start( * B2BOAuthDiscoveryStartParameters( * discoveryRedirectUrl = "myapp://discovery", * ) * ) * ``` * *iOS:** * ```swift * let params = B2BOAuthDiscoveryStartParameters(discoveryRedirectUrl: "myapp://discovery") * let response = try await StytchB2B.oauth.google.discovery.start(params) * ``` * *React Native:** * ```js * StytchB2B.oauth.google.discovery.start({ discoveryRedirectUrl: "myapp://discovery" }) * ``` * @param parameters - `B2BOAuthDiscoveryStartParameters` * - `discoveryRedirectUrl?` — URL to redirect to after the discovery flow completes. * - `customScopes?` — Additional OAuth scopes to request from the provider. * - `providerParams?` — Provider-specific query parameters to append to the OAuth URL. * - `activity?` *(Android only)* — The Android `Activity` used to launch the browser. * - `oauthPresentationContextProvider?` *(iOS only)* — Presentation context for the `ASWebAuthenticationSession`. * @returns `B2BOAuthDiscoveryAuthenticateResponse` containing discovered organizations and an intermediate session token. * @throws `StytchError` if the OAuth flow fails or the token cannot be exchanged. * @throws `CancellationException` if the coroutine is cancelled. */ start(parameters: B2BOAuthDiscoveryStartParameters): Promise; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.b2b.oauth.B2BOAuthProviderDiscoveryClient": unique symbol; }; } /** Cross-provider OAuth discovery authentication — exchanges a discovery token for an intermediate session. */ export declare interface B2BOAuthDiscoveryClient { /** * Authenticates a discovery OAuth token received via deeplink after a browser-based discovery * OAuth flow completes. Calls the `POST /sdk/v1/b2b/oauth/discovery/authenticate` endpoint. * Retrieves the PKCE code verifier stored during the `B2BOAuthProviderDiscoveryClient.start` call. * Returns discovered organizations and an intermediate session token; call * `B2BDiscoveryIntermediateSessionsClient.exchange` to establish a full member session. * Use this method when handling deeplinks manually; prefer `B2BOAuthProviderDiscoveryClient.start` * for the end-to-end flow. * *Kotlin:** * ```kotlin * StytchB2B.oauth.discovery.authenticate( * B2BOAuthDiscoveryAuthenticateParameters( * discoveryOauthToken = "token", * ) * ) * ``` * *iOS:** * ```swift * let params = B2BOAuthDiscoveryAuthenticateParameters(discoveryOauthToken: "token") * let response = try await StytchB2B.oauth.discovery.authenticate(params) * ``` * *React Native:** * ```js * StytchB2B.oauth.discovery.authenticate({ discoveryOauthToken: "token" }) * ``` * @param request - `IB2BOAuthDiscoveryAuthenticateParameters` * - `discoveryOauthToken` — The discovery OAuth token extracted from the deeplink URL. * @returns `B2BOAuthDiscoveryAuthenticateResponse` containing discovered organizations and an intermediate session token. * @throws `StytchError` if the token is invalid, expired, or no PKCE verifier is found in storage. * @throws `CancellationException` if the coroutine is cancelled. */ authenticate(request: B2BOAuthDiscoveryAuthenticateParameters): Promise; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.b2b.oauth.B2BOAuthDiscoveryClient": unique symbol; }; } /** Organization management methods for the current member's organization. */ export declare interface B2BOrganizationsClient { /** * Fetches the current member's organization and its settings. * Calls the `GET /sdk/v1/b2b/organizations/me` endpoint. Requires an active session. * *Kotlin:** * ```kotlin * StytchB2B.organizations.get() * ``` * *iOS:** * ```swift * let response = try await StytchB2B.organizations.get() * ``` * *React Native:** * ```js * StytchB2B.organizations.get() * ``` * @returns `B2BOrganizationsGetResponse` containing the organization object. * @throws `StytchError` if the request fails or no active session exists. * @throws `CancellationException` if the coroutine is cancelled. */ get(): Promise; /** * Updates settings on the current member's organization. * Calls the `PUT /sdk/v1/b2b/organizations/me` endpoint. Requires an active session and * appropriate RBAC permissions. * *Kotlin:** * ```kotlin * StytchB2B.organizations.update( * B2BOrganizationsUpdateParameters(organizationName = "Acme Corp") * ) * ``` * *iOS:** * ```swift * let params = B2BOrganizationsUpdateParameters(organizationName: "Acme Corp") * let response = try await StytchB2B.organizations.update(params) * ``` * *React Native:** * ```js * StytchB2B.organizations.update({ organizationName: "Acme Corp" }) * ``` * @param request - `IB2BOrganizationsUpdateParameters` * - `organizationName?` — Updated display name for the organization. * - `organizationSlug?` — Updated URL slug for the organization. * - `organizationLogoUrl?` — Updated logo URL. * - `ssoDefaultConnectionId?` — Default SSO connection ID. * - `ssoJitProvisioning?` — JIT provisioning policy for SSO (`"ALL_ALLOWED"`, `"RESTRICTED"`, `"NOT_ALLOWED"`). * - `ssoJitProvisioningAllowedConnections?` — List of SSO connection IDs allowed for JIT provisioning. * - `emailAllowedDomains?` — Allowed email domains for the organization. * - `emailJitProvisioning?` — JIT provisioning policy for email-based auth. * - `emailInvites?` — Email invite policy (`"ALL_ALLOWED"`, `"RESTRICTED"`, `"NOT_ALLOWED"`). * - `authMethods?` — Authentication methods policy. * - `allowedAuthMethods?` — List of allowed auth methods. * - `mfaPolicy?` — MFA requirement policy. * - `mfaMethods?` — MFA methods policy. * - `allowedMfaMethods?` — List of allowed MFA methods. * - Additional organization-level configuration fields. * @returns `B2BOrganizationsUpdateResponse` containing the updated organization. * @throws `StytchError` if the request fails or the caller lacks permission. * @throws `CancellationException` if the coroutine is cancelled. */ update(request: B2BOrganizationsUpdateParameters): Promise; /** * Permanently deletes the current member's organization and all associated data. * Calls the `DELETE /sdk/v1/b2b/organizations/me` endpoint. Requires an active session and * appropriate RBAC permissions. This action is irreversible. * *Kotlin:** * ```kotlin * StytchB2B.organizations.delete() * ``` * *iOS:** * ```swift * let response = try await StytchB2B.organizations.delete() * ``` * *React Native:** * ```js * StytchB2B.organizations.delete() * ``` * @returns `B2BOrganizationsDeleteResponse` confirming the organization was deleted. * @throws `StytchError` if the request fails or the caller lacks permission. * @throws `CancellationException` if the coroutine is cancelled. */ delete(): Promise; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.b2b.organizations.B2BOrganizationsClient": unique symbol; }; } /** B2B OTP (one-time passcode) authentication via SMS and email. */ export declare interface B2BOtpClient { /** SMS OTP methods. */ readonly sms: B2BSmsOtpClient; /** Email OTP methods. */ readonly email: B2BEmailOtpClient; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.b2b.otp.B2BOtpClient": unique symbol; }; } /** B2B SMS OTP methods. */ export declare interface B2BSmsOtpClient { /** * Sends an SMS OTP to the member's phone number for MFA verification. * Calls the `POST /sdk/v1/b2b/otps/sms/send` endpoint. Automatically includes the intermediate * session token if one is present. * *Kotlin:** * ```kotlin * StytchB2B.otp.sms.send( * B2BOTPsSMSSendParameters( * organizationId = "org-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * memberId = "member-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * ) * ) * ``` * *iOS:** * ```swift * let params = B2BOTPsSMSSendParameters( * organizationId: "org-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * memberId: "member-test-d5a3b680-e8a3-40c0-b815-ab79986666d0" * ) * let response = try await StytchB2B.otp.sms.send(params) * ``` * *React Native:** * ```js * StytchB2B.otp.sms.send({ * organizationId: "org-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * memberId: "member-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * }) * ``` * @param request - `IB2BOTPsSMSSendParameters` * - `organizationId` — The ID of the organization. * - `memberId` — The ID of the member to send the OTP to. * - `mfaPhoneNumber?` — Phone number to send to; uses the member's existing number if omitted. * - `locale?` — Locale for the SMS content. * - `enableAutofill?` — Whether to enable OS-level SMS autofill on supported devices. * @returns `B2BOTPsSMSSendResponse` confirming the OTP was sent. * @throws `StytchError` if the request fails. * @throws `CancellationException` if the coroutine is cancelled. */ send(request: B2BOTPsSMSSendParameters): Promise; /** * Authenticates an SMS OTP code submitted by the member, completing the MFA step. * Calls the `POST /sdk/v1/b2b/otps/sms/authenticate` endpoint. Automatically includes the * intermediate session token if one is present. * *Kotlin:** * ```kotlin * StytchB2B.otp.sms.authenticate( * B2BOTPsSMSAuthenticateParameters( * organizationId = "org-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * memberId = "member-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * code = "123456", * sessionDurationMinutes = 30, * ) * ) * ``` * *iOS:** * ```swift * let params = B2BOTPsSMSAuthenticateParameters( * organizationId: "org-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * memberId: "member-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * code: "123456", * sessionDurationMinutes: 30 * ) * let response = try await StytchB2B.otp.sms.authenticate(params) * ``` * *React Native:** * ```js * StytchB2B.otp.sms.authenticate({ * organizationId: "org-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * memberId: "member-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * code: "123456", * sessionDurationMinutes: 30, * }) * ``` * @param request - `IB2BOTPsSMSAuthenticateParameters` * - `organizationId` — The ID of the organization. * - `memberId` — The ID of the member authenticating. * - `code` — The OTP code the member received via SMS. * - `sessionDurationMinutes` — Duration of the session to create, in minutes. * - `setMfaEnrollment?` — Whether to enroll or unenroll the member's MFA method (`"enroll"` or `"unenroll"`). * @returns `B2BOTPsSMSAuthenticateResponse` containing the authenticated member session. * @throws `StytchError` if the code is invalid or expired. * @throws `CancellationException` if the coroutine is cancelled. */ authenticate(request: B2BOTPsSMSAuthenticateParameters): Promise; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.b2b.otp.B2BSmsOtpClient": unique symbol; }; } /** B2B email OTP methods. */ export declare interface B2BEmailOtpClient { /** Email OTP discovery methods for listing organizations before a session is established. */ readonly discovery: B2BEmailOtpDiscoveryClient; /** * Sends an email OTP to the provided address for login or signup within the organization. * Calls the `POST /sdk/v1/b2b/otps/email/login_or_signup` endpoint. * *Kotlin:** * ```kotlin * StytchB2B.otp.email.loginOrSignup( * B2BOTPsEmailLoginOrSignupParameters( * organizationId = "org-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * emailAddress = "user@example.com", * ) * ) * ``` * *iOS:** * ```swift * let params = B2BOTPsEmailLoginOrSignupParameters( * organizationId: "org-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * emailAddress: "user@example.com" * ) * let response = try await StytchB2B.otp.email.loginOrSignup(params) * ``` * *React Native:** * ```js * StytchB2B.otp.email.loginOrSignup({ * organizationId: "org-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * emailAddress: "user@example.com", * }) * ``` * @param request - `IB2BOTPsEmailLoginOrSignupParameters` * - `organizationId` — The ID of the organization. * - `emailAddress` — The email address to send the OTP to. * - `loginTemplateId?` — Custom email template ID for the login OTP email. * - `signupTemplateId?` — Custom email template ID for the signup OTP email. * - `locale?` — Locale for the email content. * - `loginExpirationMinutes?` — Expiration for the login OTP, in minutes. * - `signupExpirationMinutes?` — Expiration for the signup OTP, in minutes. * @returns `B2BOTPsEmailLoginOrSignupResponse` confirming the OTP email was sent. * @throws `StytchError` if the request fails. * @throws `CancellationException` if the coroutine is cancelled. */ loginOrSignup(request: B2BOTPsEmailLoginOrSignupParameters): Promise; /** * Authenticates an email OTP code submitted by the member, completing the authentication step. * Calls the `POST /sdk/v1/b2b/otps/email/authenticate` endpoint. Automatically includes the * intermediate session token if one is present. * *Kotlin:** * ```kotlin * StytchB2B.otp.email.authenticate( * B2BOTPsEmailAuthenticateParameters( * organizationId = "org-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * emailAddress = "user@example.com", * code = "123456", * sessionDurationMinutes = 30, * ) * ) * ``` * *iOS:** * ```swift * let params = B2BOTPsEmailAuthenticateParameters( * organizationId: "org-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * emailAddress: "user@example.com", * code: "123456", * sessionDurationMinutes: 30 * ) * let response = try await StytchB2B.otp.email.authenticate(params) * ``` * *React Native:** * ```js * StytchB2B.otp.email.authenticate({ * organizationId: "org-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * emailAddress: "user@example.com", * code: "123456", * sessionDurationMinutes: 30, * }) * ``` * @param request - `IB2BOTPsEmailAuthenticateParameters` * - `organizationId` — The ID of the organization. * - `emailAddress` — The email address that received the OTP. * - `code` — The OTP code submitted by the member. * - `sessionDurationMinutes` — Duration of the session to create, in minutes. * - `locale?` — Locale for any follow-up communications. * @returns `B2BOTPsEmailAuthenticateResponse` containing the authenticated member session. * @throws `StytchError` if the code is invalid or expired. * @throws `CancellationException` if the coroutine is cancelled. */ authenticate(request: B2BOTPsEmailAuthenticateParameters): Promise; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.b2b.otp.B2BEmailOtpClient": unique symbol; }; } /** Email OTP discovery methods for enumerating organizations before authentication. */ export declare interface B2BEmailOtpDiscoveryClient { /** * Sends a discovery email OTP to enumerate the organizations associated with the given email * address. Calls the `POST /sdk/v1/b2b/otps/email/discovery/send` endpoint. * *Kotlin:** * ```kotlin * StytchB2B.otp.email.discovery.send( * B2BOTPsEmailDiscoverySendParameters(emailAddress = "user@example.com") * ) * ``` * *iOS:** * ```swift * let params = B2BOTPsEmailDiscoverySendParameters(emailAddress: "user@example.com") * let response = try await StytchB2B.otp.email.discovery.send(params) * ``` * *React Native:** * ```js * StytchB2B.otp.email.discovery.send({ emailAddress: "user@example.com" }) * ``` * @param request - `IB2BOTPsEmailDiscoverySendParameters` * - `emailAddress` — The email address to send the discovery OTP to. * - `loginTemplateId?` — Custom email template ID for the discovery email. * - `locale?` — Locale for the email content. * - `discoveryExpirationMinutes?` — Expiration time for the discovery OTP, in minutes. * @returns `B2BOTPsEmailDiscoverySendResponse` confirming the discovery OTP was sent. * @throws `StytchError` if the request fails. * @throws `CancellationException` if the coroutine is cancelled. */ send(request: B2BOTPsEmailDiscoverySendParameters): Promise; /** * Authenticates the discovery email OTP, returning an intermediate session token and the list * of discovered organizations. Calls the `POST /sdk/v1/b2b/otps/email/discovery/authenticate` * endpoint. * *Kotlin:** * ```kotlin * StytchB2B.otp.email.discovery.authenticate( * B2BOTPsEmailDiscoveryAuthenticateParameters( * emailAddress = "user@example.com", * code = "123456", * ) * ) * ``` * *iOS:** * ```swift * let params = B2BOTPsEmailDiscoveryAuthenticateParameters( * emailAddress: "user@example.com", * code: "123456" * ) * let response = try await StytchB2B.otp.email.discovery.authenticate(params) * ``` * *React Native:** * ```js * StytchB2B.otp.email.discovery.authenticate({ emailAddress: "user@example.com", code: "123456" }) * ``` * @param request - `IB2BOTPsEmailDiscoveryAuthenticateParameters` * - `emailAddress` — The email address that received the discovery OTP. * - `code` — The OTP code submitted by the user. * @returns `B2BOTPsEmailDiscoveryAuthenticateResponse` containing an intermediate session token * and a list of discovered organizations. * @throws `StytchError` if the code is invalid or expired. * @throws `CancellationException` if the coroutine is cancelled. */ authenticate(request: B2BOTPsEmailDiscoveryAuthenticateParameters): Promise; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.b2b.otp.B2BEmailOtpDiscoveryClient": unique symbol; }; } /** B2B password-based authentication methods. */ export declare interface B2BPasswordsClient { /** Email password reset methods. */ readonly email: B2BPasswordsEmailClient; /** Existing-password reset methods. */ readonly existingPassword: B2BPasswordsExistingPasswordClient; /** Session-based password reset methods. */ readonly session: B2BPasswordsSessionClient; /** * Authenticates a member with their email address and password, establishing a member session. * Calls the `POST /sdk/v1/b2b/passwords/authenticate` endpoint. Automatically includes the * intermediate session token if one is present. * *Kotlin:** * ```kotlin * StytchB2B.passwords.authenticate( * B2BPasswordAuthenticateParameters( * organizationId = "org-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * emailAddress = "user@example.com", * password = "secretpassword", * sessionDurationMinutes = 30, * ) * ) * ``` * *iOS:** * ```swift * let params = B2BPasswordAuthenticateParameters( * organizationId: "org-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * emailAddress: "user@example.com", * password: "secretpassword", * sessionDurationMinutes: 30 * ) * let response = try await StytchB2B.passwords.authenticate(params) * ``` * *React Native:** * ```js * StytchB2B.passwords.authenticate({ * organizationId: "org-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * emailAddress: "user@example.com", * password: "secretpassword", * sessionDurationMinutes: 30, * }) * ``` * @param request - `IB2BPasswordAuthenticateParameters` * - `organizationId` — The ID of the organization the member belongs to. * - `emailAddress` — The member's email address. * - `password` — The member's password. * - `sessionDurationMinutes` — Duration of the session to create, in minutes. * - `locale?` — Locale for any follow-up communications. * @returns `B2BPasswordAuthenticateResponse` containing the authenticated member session. * @throws `StytchError` if the credentials are invalid. * @throws `CancellationException` if the coroutine is cancelled. */ authenticate(request: B2BPasswordAuthenticateParameters): Promise; /** * Checks the strength of a password and returns a score with actionable feedback. * Calls the `POST /sdk/v1/b2b/passwords/strength_check` endpoint. Does not require a session. * *Kotlin:** * ```kotlin * StytchB2B.passwords.strengthCheck( * B2BPasswordStrengthCheckParameters( * password = "mypassword", * emailAddress = "user@example.com", * ) * ) * ``` * *iOS:** * ```swift * let params = B2BPasswordStrengthCheckParameters(password: "mypassword", emailAddress: "user@example.com") * let response = try await StytchB2B.passwords.strengthCheck(params) * ``` * *React Native:** * ```js * StytchB2B.passwords.strengthCheck({ password: "mypassword", emailAddress: "user@example.com" }) * ``` * @param request - `IB2BPasswordStrengthCheckParameters` * - `password` — The password to evaluate. * - `emailAddress?` — The member's email address, used to improve scoring by checking against personal information. * @returns `B2BPasswordStrengthCheckResponse` containing a strength score, breach detection result, and feedback. * @throws `StytchError` if the request fails. * @throws `CancellationException` if the coroutine is cancelled. */ strengthCheck(request: B2BPasswordStrengthCheckParameters): Promise; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.b2b.passwords.B2BPasswordsClient": unique symbol; }; } /** Email-based password reset methods. */ export declare interface B2BPasswordsEmailClient { /** * Initiates an email-based password reset by sending a reset link to the member's email address. * Calls the `POST /sdk/v1/b2b/passwords/email/reset/start` endpoint. Generates and stores a * PKCE code pair for use in the subsequent `reset` call. * *Kotlin:** * ```kotlin * StytchB2B.passwords.email.resetStart( * B2BPasswordEmailResetStartParameters( * organizationId = "org-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * emailAddress = "user@example.com", * ) * ) * ``` * *iOS:** * ```swift * let params = B2BPasswordEmailResetStartParameters( * organizationId: "org-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * emailAddress: "user@example.com" * ) * let response = try await StytchB2B.passwords.email.resetStart(params) * ``` * *React Native:** * ```js * StytchB2B.passwords.email.resetStart({ * organizationId: "org-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * emailAddress: "user@example.com", * }) * ``` * @param request - `IB2BPasswordEmailResetStartParameters` * - `organizationId` — The ID of the organization the member belongs to. * - `emailAddress` — The email address of the member requesting a password reset. * - `loginRedirectUrl?` — URL to redirect to if the member clicks the link but already has a valid session. * - `resetPasswordRedirectUrl?` — URL to redirect to for completing the password reset. * - `resetPasswordExpirationMinutes?` — Expiration for the reset link, in minutes. * - `resetPasswordTemplateId?` — Custom email template ID for the reset email. * - `locale?` — Locale for the email content. * - `verifyEmailTemplateId?` — Custom email template ID for an email verification step, if required. * @returns `B2BPasswordEmailResetStartResponse` confirming the reset email was sent. * @throws `StytchError` if no member with the given email exists in the organization. * @throws `CancellationException` if the coroutine is cancelled. */ resetStart(request: B2BPasswordEmailResetStartParameters): Promise; /** * Completes the email password reset flow by setting a new password using the token from the * reset link. Calls the `POST /sdk/v1/b2b/passwords/email/reset` endpoint. Retrieves the PKCE * code verifier stored during the corresponding `resetStart` call, and automatically includes * the intermediate session token if one is present. * *Kotlin:** * ```kotlin * StytchB2B.passwords.email.reset( * B2BPasswordEmailResetParameters( * passwordResetToken = "token", * password = "newpassword", * sessionDurationMinutes = 30, * ) * ) * ``` * *iOS:** * ```swift * let params = B2BPasswordEmailResetParameters( * passwordResetToken: "token", * password: "newpassword", * sessionDurationMinutes: 30 * ) * let response = try await StytchB2B.passwords.email.reset(params) * ``` * *React Native:** * ```js * StytchB2B.passwords.email.reset({ * passwordResetToken: "token", * password: "newpassword", * sessionDurationMinutes: 30, * }) * ``` * @param request - `IB2BPasswordEmailResetParameters` * - `passwordResetToken` — The password reset token extracted from the deeplink URL. * - `password` — The new password to set for the member. * - `sessionDurationMinutes` — Duration of the session to create, in minutes. * - `locale?` — Locale for any follow-up communications. * @returns `B2BPasswordEmailResetResponse` containing the authenticated member session. * @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. */ reset(request: B2BPasswordEmailResetParameters): Promise; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.b2b.passwords.B2BPasswordsEmailClient": unique symbol; }; } /** Existing-password reset — updates the password using the current password for verification. */ export declare interface B2BPasswordsExistingPasswordClient { /** * Resets a member's password by verifying their existing password, then setting a new one. * Calls the `POST /sdk/v1/b2b/passwords/existing_password/reset` endpoint. * *Kotlin:** * ```kotlin * StytchB2B.passwords.existingPassword.reset( * B2BPasswordExistingPasswordResetParameters( * organizationId = "org-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * emailAddress = "user@example.com", * existingPassword = "oldpassword", * newPassword = "newpassword", * sessionDurationMinutes = 30, * ) * ) * ``` * *iOS:** * ```swift * let params = B2BPasswordExistingPasswordResetParameters( * organizationId: "org-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * emailAddress: "user@example.com", * existingPassword: "oldpassword", * newPassword: "newpassword", * sessionDurationMinutes: 30 * ) * let response = try await StytchB2B.passwords.existingPassword.reset(params) * ``` * *React Native:** * ```js * StytchB2B.passwords.existingPassword.reset({ * organizationId: "org-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * emailAddress: "user@example.com", * existingPassword: "oldpassword", * newPassword: "newpassword", * sessionDurationMinutes: 30, * }) * ``` * @param request - `IB2BPasswordExistingPasswordResetParameters` * - `organizationId` — The ID of the organization. * - `emailAddress` — The member's email address. * - `existingPassword` — The member's current password for verification. * - `newPassword` — The new password to set. * - `sessionDurationMinutes` — Duration of the session to create, in minutes. * - `locale?` — Locale for any follow-up communications. * @returns `B2BPasswordExistingPasswordResetResponse` containing the authenticated member session. * @throws `StytchError` if the existing password is incorrect or the new password is too weak. * @throws `CancellationException` if the coroutine is cancelled. */ reset(request: B2BPasswordExistingPasswordResetParameters): Promise; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.b2b.passwords.B2BPasswordsExistingPasswordClient": unique symbol; }; } /** Session-based password reset — updates the password using an active session for verification. */ export declare interface B2BPasswordsSessionClient { /** * Resets a member's password using their active session for verification (no existing password * required). Calls the `POST /sdk/v1/b2b/passwords/session/reset` endpoint. Requires an active * session. * *Kotlin:** * ```kotlin * StytchB2B.passwords.session.reset( * B2BPasswordSessionResetParameters(password = "newpassword") * ) * ``` * *iOS:** * ```swift * let params = B2BPasswordSessionResetParameters(password: "newpassword") * let response = try await StytchB2B.passwords.session.reset(params) * ``` * *React Native:** * ```js * StytchB2B.passwords.session.reset({ password: "newpassword" }) * ``` * @param request - `IB2BPasswordSessionResetParameters` * - `password` — The new password to set for the currently authenticated member. * @returns `B2BPasswordSessionResetResponse` containing the updated member session. * @throws `StytchError` if no active session exists or the password does not meet strength requirements. * @throws `CancellationException` if the coroutine is cancelled. */ reset(request: B2BPasswordSessionResetParameters): Promise; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.b2b.passwords.B2BPasswordsSessionClient": unique symbol; }; } /** Role-based access control (RBAC) authorization checks for the current member. */ export declare interface B2BRBACClient { /** * Checks whether the logged-in member is authorized to perform `action` on `resourceId` using * the locally cached RBAC policy. No network request is made; returns `false` if no policy is * cached yet. * *Kotlin:** * ```kotlin * val allowed = StytchB2B.rbac.isAuthorizedSync( * resourceId = "documents", * action = "read", * ) * ``` * *iOS:** * ```swift * let allowed = StytchB2B.rbac.isAuthorizedSync(resourceId: "documents", action: "read") * ``` * *React Native:** * ```js * const allowed = StytchB2B.rbac.isAuthorizedSync("documents", "read") * ``` * @param resourceId The ID of the resource to check authorization for. * @param action The action to check (e.g. `"read"`, `"write"`, `"delete"`). * @returns `true` if the member is authorized; `false` otherwise or if no policy is cached. */ isAuthorizedSync(resourceId: string, action: string): boolean; /** * Refreshes the RBAC policy from the server, then checks whether the logged-in member is * authorized to perform `action` on `resourceId`. * *Kotlin:** * ```kotlin * val allowed = StytchB2B.rbac.isAuthorized( * resourceId = "documents", * action = "read", * ) * ``` * *iOS:** * ```swift * let allowed = try await StytchB2B.rbac.isAuthorized(resourceId: "documents", action: "read") * ``` * *React Native:** * ```js * const allowed = await StytchB2B.rbac.isAuthorized("documents", "read") * ``` * @param resourceId The ID of the resource to check authorization for. * @param action The action to check (e.g. `"read"`, `"write"`, `"delete"`). * @returns `true` if the member is authorized; `false` otherwise. * @throws `CancellationException` if the coroutine is cancelled. */ isAuthorized(resourceId: string, action: string): Promise; /** * Refreshes the RBAC policy from the server, then returns a map of all permissions for the * logged-in member in the form `Map>`. * *Kotlin:** * ```kotlin * val permissions = StytchB2B.rbac.allPermissions() * ``` * *iOS:** * ```swift * let permissions = try await StytchB2B.rbac.allPermissions() * ``` * *React Native:** * ```js * const permissions = await StytchB2B.rbac.allPermissions() * ``` * @returns A map of `resourceId` to `Map` representing all permissions. * @throws `CancellationException` if the coroutine is cancelled. */ allPermissions(): Promise>>; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.b2b.rbac.B2BRBACClient": unique symbol; }; } /** Recovery code management methods for the current member. */ export declare interface B2BRecoveryCodesClient { /** * Retrieves the recovery codes for the current member's account. * Calls the `GET /sdk/v1/b2b/recovery_codes` endpoint. Requires an active session. * *Kotlin:** * ```kotlin * StytchB2B.recoveryCodes.get() * ``` * *iOS:** * ```swift * let response = try await StytchB2B.recoveryCodes.get() * ``` * *React Native:** * ```js * StytchB2B.recoveryCodes.get() * ``` * @returns `B2BRecoveryCodesGetResponse` containing the member's current recovery codes. * @throws `StytchError` if the request fails or no active session exists. * @throws `CancellationException` if the coroutine is cancelled. */ get(): Promise; /** * Authenticates the member using a recovery code as an MFA fallback, establishing a member * session. Calls the `POST /sdk/v1/b2b/recovery_codes/recover` endpoint. Automatically includes * the intermediate session token if one is present. Each recovery code can only be used once. * *Kotlin:** * ```kotlin * StytchB2B.recoveryCodes.recover( * B2BRecoveryCodesRecoverParameters( * organizationId = "org-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * memberId = "member-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * recoveryCode = "recovery-code", * sessionDurationMinutes = 30, * ) * ) * ``` * *iOS:** * ```swift * let params = B2BRecoveryCodesRecoverParameters( * organizationId: "org-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * memberId: "member-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * recoveryCode: "recovery-code", * sessionDurationMinutes: 30 * ) * let response = try await StytchB2B.recoveryCodes.recover(params) * ``` * *React Native:** * ```js * StytchB2B.recoveryCodes.recover({ * organizationId: "org-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * memberId: "member-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * recoveryCode: "recovery-code", * sessionDurationMinutes: 30, * }) * ``` * @param request - `IB2BRecoveryCodesRecoverParameters` * - `organizationId` — The ID of the organization. * - `memberId` — The ID of the member using the recovery code. * - `recoveryCode` — A one-time-use recovery code issued during MFA enrollment. * - `sessionDurationMinutes` — Duration of the session to create, in minutes. * @returns `B2BRecoveryCodesRecoverResponse` containing the authenticated member session. * @throws `StytchError` if the recovery code is invalid or has already been used. * @throws `CancellationException` if the coroutine is cancelled. */ recover(request: B2BRecoveryCodesRecoverParameters): Promise; /** * Rotates the recovery codes for the current member's account, invalidating the previous set * and generating a new set. Calls the `POST /sdk/v1/b2b/recovery_codes/rotate` endpoint. * Requires an active session. * *Kotlin:** * ```kotlin * StytchB2B.recoveryCodes.rotate(B2BRecoveryCodesRotateParameters()) * ``` * *iOS:** * ```swift * let response = try await StytchB2B.recoveryCodes.rotate(B2BRecoveryCodesRotateParameters()) * ``` * *React Native:** * ```js * StytchB2B.recoveryCodes.rotate({}) * ``` * @param request - `IB2BRecoveryCodesRotateParameters` — no fields required. * @returns `B2BRecoveryCodesRotateResponse` containing the newly generated recovery codes. * @throws `StytchError` if the request fails. * @throws `CancellationException` if the coroutine is cancelled. */ rotate(request: B2BRecoveryCodesRotateParameters): Promise; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.b2b.recoveryCodes.B2BRecoveryCodesClient": unique symbol; }; } /** SCIM (System for Cross-domain Identity Management) provisioning methods. */ export declare interface B2BSCIMClient { /** * Retrieves the organization's SCIM connection. Calls the `GET /sdk/v1/b2b/scim` endpoint. * Requires an active session. * *Kotlin:** * ```kotlin * val response = StytchB2B.scim.getConnection() * ``` * *iOS:** * ```swift * let response = try await StytchB2B.scim.getConnection() * ``` * *React Native:** * ```js * StytchB2B.scim.getConnection() * ``` * @returns `B2BGetSCIMConnectionResponse` containing the organization's SCIM connection. * @throws `StytchError` if no SCIM connection exists or the request fails. * @throws `CancellationException` if the coroutine is cancelled. */ getConnection(): Promise; /** * Retrieves the groups associated with the organization's SCIM connection. * Calls the `POST /sdk/v1/b2b/scim/groups` endpoint. Requires an active session. * *Kotlin:** * ```kotlin * StytchB2B.scim.getConnectionGroups( * B2BGetSCIMConnectionGroupsParameters(limit = 100) * ) * ``` * *iOS:** * ```swift * let params = B2BGetSCIMConnectionGroupsParameters(limit: 100) * let response = try await StytchB2B.scim.getConnectionGroups(params) * ``` * *React Native:** * ```js * StytchB2B.scim.getConnectionGroups({ limit: 100 }) * ``` * @param request - `IB2BGetSCIMConnectionGroupsParameters` * - `cursor?` — Pagination cursor from a previous response. * - `limit?` — Maximum number of groups to return. * @returns `B2BGetSCIMConnectionGroupsResponse` containing the SCIM groups. * @throws `StytchError` if the request fails. * @throws `CancellationException` if the coroutine is cancelled. */ getConnectionGroups(request: B2BGetSCIMConnectionGroupsParameters): Promise; /** * Creates a new SCIM connection for the organization. * Calls the `POST /sdk/v1/b2b/scim` endpoint. Requires an active session. * *Kotlin:** * ```kotlin * StytchB2B.scim.createConnection( * B2BSCIMCreateConnectionParameters(displayName = "Okta SCIM") * ) * ``` * *iOS:** * ```swift * let params = B2BSCIMCreateConnectionParameters(displayName: "Okta SCIM") * let response = try await StytchB2B.scim.createConnection(params) * ``` * *React Native:** * ```js * StytchB2B.scim.createConnection({ displayName: "Okta SCIM" }) * ``` * @param request - `IB2BSCIMCreateConnectionParameters` * - `displayName` — Human-readable label for the SCIM connection. * - `identityProvider?` — The identity provider type (e.g. `"okta"`, `"generic"`). * @returns `B2BSCIMCreateConnectionResponse` containing the newly created SCIM connection and its bearer token. * @throws `StytchError` if the request fails. * @throws `CancellationException` if the coroutine is cancelled. */ createConnection(request: B2BSCIMCreateConnectionParameters): Promise; /** * Deletes the specified SCIM connection. * Calls the `DELETE /sdk/v1/b2b/scim/{connection_id}` endpoint. Requires an active session. * *Kotlin:** * ```kotlin * StytchB2B.scim.deleteConnection("scim-connection-test-d5a3b680-e8a3-40c0-b815-ab79986666d0") * ``` * *iOS:** * ```swift * let response = try await StytchB2B.scim.deleteConnection("scim-connection-test-d5a3b680-e8a3-40c0-b815-ab79986666d0") * ``` * *React Native:** * ```js * StytchB2B.scim.deleteConnection("scim-connection-test-d5a3b680-e8a3-40c0-b815-ab79986666d0") * ``` * @param connectionId The ID of the SCIM connection to delete. * @returns `B2BSCIMDeleteConnectionResponse` confirming the deletion. * @throws `StytchError` if the connection is not found or the request fails. * @throws `CancellationException` if the coroutine is cancelled. */ deleteConnection(connectionId: string): Promise; /** * Updates settings on the specified SCIM connection. * Calls the `PUT /sdk/v1/b2b/scim/{connection_id}` endpoint. Requires an active session. * *Kotlin:** * ```kotlin * StytchB2B.scim.updateConnection( * connectionId = "scim-connection-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * request = B2BSCIMUpdateConnectionParameters( * displayName = "Updated SCIM Connection", * ), * ) * ``` * *iOS:** * ```swift * let params = B2BSCIMUpdateConnectionParameters(displayName: "Updated SCIM Connection") * let response = try await StytchB2B.scim.updateConnection( * connectionId: "scim-connection-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * request: params * ) * ``` * *React Native:** * ```js * StytchB2B.scim.updateConnection( * "scim-connection-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * { displayName: "Updated SCIM Connection" }, * ) * ``` * @param connectionId The ID of the SCIM connection to update. * @param request - `IB2BSCIMUpdateConnectionParameters` * - `identityProvider?` — The identity provider type. * - `displayName?` — Human-readable label for the connection. * - `scimGroupImplicitRoleAssignments?` — Roles assigned based on SCIM group membership. * @returns `B2BSCIMUpdateConnectionResponse` containing the updated connection. * @throws `StytchError` if the connection is not found or the request fails. * @throws `CancellationException` if the coroutine is cancelled. */ updateConnection(connectionId: string, request: B2BSCIMUpdateConnectionParameters): Promise; /** * Initiates a SCIM bearer token rotation for the specified connection. The new token is generated * in a pending state; call `rotateTokenComplete` to activate it. Calls the * `POST /sdk/v1/b2b/scim/rotate/start` endpoint. Requires an active session. * *Kotlin:** * ```kotlin * StytchB2B.scim.rotateTokenStart( * SCIMRotateTokenStartParameters( * connectionId = "scim-connection-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * ) * ) * ``` * *iOS:** * ```swift * let params = SCIMRotateTokenStartParameters(connectionId: "scim-connection-test-d5a3b680-e8a3-40c0-b815-ab79986666d0") * let response = try await StytchB2B.scim.rotateTokenStart(params) * ``` * *React Native:** * ```js * StytchB2B.scim.rotateTokenStart({ connectionId: "scim-connection-test-d5a3b680-e8a3-40c0-b815-ab79986666d0" }) * ``` * @param request - `ISCIMRotateTokenStartParameters` * - `connectionId` — The ID of the SCIM connection whose token to rotate. * @returns `SCIMRotateTokenStartResponse` containing the pending new token. * @throws `StytchError` if the connection is not found or the request fails. * @throws `CancellationException` if the coroutine is cancelled. */ rotateTokenStart(request: SCIMRotateTokenStartParameters): Promise; /** * Completes a SCIM bearer token rotation, activating the new token and invalidating the old one. * Must be called after `rotateTokenStart`. Calls the `POST /sdk/v1/b2b/scim/rotate/complete` * endpoint. Requires an active session. * *Kotlin:** * ```kotlin * StytchB2B.scim.rotateTokenComplete( * SCIMRotateTokenCompleteParameters( * connectionId = "scim-connection-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * ) * ) * ``` * *iOS:** * ```swift * let params = SCIMRotateTokenCompleteParameters(connectionId: "scim-connection-test-d5a3b680-e8a3-40c0-b815-ab79986666d0") * let response = try await StytchB2B.scim.rotateTokenComplete(params) * ``` * *React Native:** * ```js * StytchB2B.scim.rotateTokenComplete({ connectionId: "scim-connection-test-d5a3b680-e8a3-40c0-b815-ab79986666d0" }) * ``` * @param request - `ISCIMRotateTokenCompleteParameters` * - `connectionId` — The ID of the SCIM connection whose rotation to complete. * @returns `SCIMRotateTokenCompleteResponse` confirming the new token is active. * @throws `StytchError` if no rotation is in progress or the request fails. * @throws `CancellationException` if the coroutine is cancelled. */ rotateTokenComplete(request: SCIMRotateTokenCompleteParameters): Promise; /** * Cancels an in-progress SCIM bearer token rotation, keeping the existing token active. * Calls the `POST /sdk/v1/b2b/scim/rotate/cancel` endpoint. Requires an active session. * *Kotlin:** * ```kotlin * StytchB2B.scim.rotateTokenCancel( * SCIMRotateTokenCancelParameters( * connectionId = "scim-connection-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * ) * ) * ``` * *iOS:** * ```swift * let params = SCIMRotateTokenCancelParameters(connectionId: "scim-connection-test-d5a3b680-e8a3-40c0-b815-ab79986666d0") * let response = try await StytchB2B.scim.rotateTokenCancel(params) * ``` * *React Native:** * ```js * StytchB2B.scim.rotateTokenCancel({ connectionId: "scim-connection-test-d5a3b680-e8a3-40c0-b815-ab79986666d0" }) * ``` * @param request - `ISCIMRotateTokenCancelParameters` * - `connectionId` — The ID of the SCIM connection whose rotation to cancel. * @returns `SCIMRotateTokenCancelResponse` confirming the rotation was cancelled. * @throws `StytchError` if no rotation is in progress or the request fails. * @throws `CancellationException` if the coroutine is cancelled. */ rotateTokenCancel(request: SCIMRotateTokenCancelParameters): Promise; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.b2b.scim.B2BSCIMClient": unique symbol; }; } /** B2B session management methods. */ export declare interface B2BSessionsClient { /** * Validates the current member session token against the Stytch backend and optionally extends * the session. Calls the `POST /sdk/v1/b2b/sessions/authenticate` endpoint. * *Kotlin:** * ```kotlin * StytchB2B.sessions.authenticate( * B2BSessionsAuthenticateParameters(sessionDurationMinutes = 30) * ) * ``` * *iOS:** * ```swift * let params = B2BSessionsAuthenticateParameters(sessionDurationMinutes: 30) * let response = try await StytchB2B.sessions.authenticate(params) * ``` * *React Native:** * ```js * StytchB2B.sessions.authenticate({ sessionDurationMinutes: 30 }) * ``` * @param request - `IB2BSessionsAuthenticateParameters` * - `sessionDurationMinutes?` — If provided, extends the session by this many minutes from now. * @returns `B2BSessionsAuthenticateResponse` containing the validated member session. * @throws `StytchError` if the session token is invalid or expired. * @throws `CancellationException` if the coroutine is cancelled. */ authenticate(request: B2BSessionsAuthenticateParameters): Promise; /** * Revokes the current member session, signing the member out on the backend and clearing local * session state. Calls the `POST /sdk/v1/b2b/sessions/revoke` endpoint. * *Kotlin:** * ```kotlin * StytchB2B.sessions.revoke() * ``` * *iOS:** * ```swift * let response = try await StytchB2B.sessions.revoke() * ``` * *React Native:** * ```js * StytchB2B.sessions.revoke() * ``` * @returns `B2BSessionsRevokeResponse` confirming the session was revoked. * @throws `StytchError` if the request fails. * @throws `CancellationException` if the coroutine is cancelled. */ revoke(): Promise; /** * Exchanges the current member session for a session in a different organization. * Calls the `POST /sdk/v1/b2b/sessions/exchange` endpoint. The member must belong to the * target organization. * *Kotlin:** * ```kotlin * StytchB2B.sessions.exchange( * B2BSessionsExchangeParameters( * organizationId = "org-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * sessionDurationMinutes = 30, * ) * ) * ``` * *iOS:** * ```swift * let params = B2BSessionsExchangeParameters( * organizationId: "org-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * sessionDurationMinutes: 30 * ) * let response = try await StytchB2B.sessions.exchange(params) * ``` * *React Native:** * ```js * StytchB2B.sessions.exchange({ * organizationId: "org-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * sessionDurationMinutes: 30, * }) * ``` * @param request - `IB2BSessionsExchangeParameters` * - `organizationId` — The ID of the organization to exchange into. * - `sessionDurationMinutes` — Duration of the new session, in minutes. * - `locale?` — Locale for any follow-up communications. * @returns `B2BSessionsExchangeResponse` containing the new member session for the target organization. * @throws `StytchError` if the current session is invalid or the member is not in the target organization. * @throws `CancellationException` if the coroutine is cancelled. */ exchange(request: B2BSessionsExchangeParameters): Promise; /** * Exchanges the current member session for an OAuth access token for a connected provider. * Calls the `POST /sdk/v1/b2b/sessions/exchange_access_token` endpoint. * *Kotlin:** * ```kotlin * StytchB2B.sessions.exchangeAccessToken( * B2BSessionsAccessTokenExchangeParameters( * accessToken = "access-token", * sessionDurationMinutes = 30, * ) * ) * ``` * *iOS:** * ```swift * let params = B2BSessionsAccessTokenExchangeParameters( * accessToken: "access-token", * sessionDurationMinutes: 30 * ) * let response = try await StytchB2B.sessions.exchangeAccessToken(params) * ``` * *React Native:** * ```js * StytchB2B.sessions.exchangeAccessToken({ * accessToken: "access-token", * sessionDurationMinutes: 30, * }) * ``` * @param request - `IB2BSessionsAccessTokenExchangeParameters` * - `accessToken` — The OAuth access token to exchange. * - `sessionDurationMinutes` — Duration of the resulting session, in minutes. * @returns `B2BSessionsAccessTokenExchangeResponse` containing the authenticated member session. * @throws `StytchError` if the access token is invalid or the exchange fails. * @throws `CancellationException` if the coroutine is cancelled. */ exchangeAccessToken(request: B2BSessionsAccessTokenExchangeParameters): Promise; /** * Attests the current member session using a Stytch Trusted Auth Token. Calls the `POST /sdk/v1/b2b/sessions/attest` * endpoint. * *Kotlin:** * ```kotlin * StytchB2B.sessions.attest( * B2BSessionsAttestParameters( * profileId = "profile-id", * token = "integrity-token", * ) * ) * ``` * *iOS:** * ```swift * let params = B2BSessionsAttestParameters(profileId: "profile-id", token: "integrity-token") * let response = try await StytchB2B.sessions.attest(params) * ``` * *React Native:** * ```js * StytchB2B.sessions.attest({ profileId: "profile-id", token: "integrity-token" }) * ``` * @param request - `IB2BSessionsAttestParameters` * - `profileId` — The device profile ID from the integrity provider. * - `token` — The Stytch Trusted Auth Token. * - `organizationId?` — The ID of the organization to attest for; defaults to the current session's org. * - `sessionDurationMinutes?` — If provided, extends the session by this many minutes. * @returns `B2BSessionsAttestResponse` containing the updated member session. * @throws `StytchError` if the attestation token is invalid. * @throws `CancellationException` if the coroutine is cancelled. */ attest(request: B2BSessionsAttestParameters): Promise; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.b2b.session.B2BSessionsClient": unique symbol; }; } /** B2B SSO (Single Sign-On) authentication methods via SAML, OIDC, and external connections. */ export declare interface B2BSSOClient { /** SAML SSO connection management methods. */ readonly saml: B2BSSOSAMLClient; /** OIDC SSO connection management methods. */ readonly oidc: B2BSSOOIDCClient; /** External SSO connection management methods. */ readonly external: B2BSSOExternalClient; /** * Initiates an SSO authentication flow by opening a browser to the SSO provider. Opens a browser * session at `https://{domain}/b2b/public/sso/start`, then automatically exchanges the resulting * token by calling `POST /sdk/v1/b2b/sso/authenticate`, establishing a member session on success. * *Kotlin:** * ```kotlin * val response = StytchB2B.sso.start( * B2BSSOStartParameters( * connectionId = "saml-connection-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * loginRedirectUrl = "myapp://callback", * signupRedirectUrl = "myapp://callback", * sessionDurationMinutes = 30, * ) * ) * ``` * *iOS:** * ```swift * let params = B2BSSOStartParameters( * connectionId: "saml-connection-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * loginRedirectUrl: "myapp://callback", * signupRedirectUrl: "myapp://callback", * sessionDurationMinutes: 30 * ) * let response = try await StytchB2B.sso.start(params) * ``` * *React Native:** * ```js * StytchB2B.sso.start({ * connectionId: "saml-connection-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * loginRedirectUrl: "myapp://callback", * signupRedirectUrl: "myapp://callback", * sessionDurationMinutes: 30, * }) * ``` * @param parameters - `B2BSSOStartParameters` * - `connectionId` — The ID of the SSO connection to authenticate with. * - `loginRedirectUrl?` — URL to redirect to after a successful login. * - `signupRedirectUrl?` — URL to redirect to after a successful sign-up. * - `sessionDurationMinutes?` — Duration of the session to create, in minutes. * - `activity?` *(Android only)* — The Android `Activity` used to launch the browser. * - `oauthPresentationContextProvider?` *(iOS only)* — Presentation context for the `ASWebAuthenticationSession`. * @returns `AuthenticatedResponse` containing the authenticated member session. * @throws `StytchError` if the SSO flow fails or the token cannot be exchanged. * @throws `CancellationException` if the coroutine is cancelled. */ start(parameters: B2BSSOStartParameters): Promise; /** * Authenticates an SSO token received via deeplink after the browser-based SSO flow completes, * establishing a member session. Calls the `POST /sdk/v1/b2b/sso/authenticate` endpoint. * Retrieves the PKCE code verifier stored during the `start` call, and automatically includes the * intermediate session token if one is present. * Use this method when handling deeplinks manually; prefer `start` for the end-to-end flow. * *Kotlin:** * ```kotlin * StytchB2B.sso.authenticate( * B2BSSOAuthEnticateParameters( * ssoToken = "token", * sessionDurationMinutes = 30, * ) * ) * ``` * *iOS:** * ```swift * let params = B2BSSOAuthEnticateParameters(ssoToken: "token", sessionDurationMinutes: 30) * let response = try await StytchB2B.sso.authenticate(params) * ``` * *React Native:** * ```js * StytchB2B.sso.authenticate({ ssoToken: "token", sessionDurationMinutes: 30 }) * ``` * @param request - `IB2BSSOAuthEnticateParameters` * - `ssoToken` — The SSO token extracted from the deeplink URL. * - `sessionDurationMinutes` — Duration of the session to create, in minutes. * - `locale?` — Locale for any follow-up communications. * @returns `B2BSSOAuthenticateResponse` containing the authenticated member session. * @throws `StytchError` if the token is invalid, expired, or no PKCE verifier is found in storage. * @throws `CancellationException` if the coroutine is cancelled. */ authenticate(request: B2BSSOAuthEnticateParameters): Promise; /** * Returns all SSO connections (SAML, OIDC, and external) configured for the organization. * Calls the `GET /sdk/v1/b2b/sso` endpoint. Requires an active session. * *Kotlin:** * ```kotlin * val response = StytchB2B.sso.getConnections() * ``` * *iOS:** * ```swift * let response = try await StytchB2B.sso.getConnections() * ``` * *React Native:** * ```js * StytchB2B.sso.getConnections() * ``` * @returns `B2BGetSSOConnectionsResponse` containing all SSO connections for the organization. * @throws `StytchError` if the request fails or no active session exists. * @throws `CancellationException` if the coroutine is cancelled. */ getConnections(): Promise; /** * Deletes the specified SSO connection from the organization. * Calls the `DELETE /sdk/v1/b2b/sso/{connection_id}` endpoint. Requires an active session. * *Kotlin:** * ```kotlin * StytchB2B.sso.deleteConnection("saml-connection-test-d5a3b680-e8a3-40c0-b815-ab79986666d0") * ``` * *iOS:** * ```swift * let response = try await StytchB2B.sso.deleteConnection("saml-connection-test-d5a3b680-e8a3-40c0-b815-ab79986666d0") * ``` * *React Native:** * ```js * StytchB2B.sso.deleteConnection("saml-connection-test-d5a3b680-e8a3-40c0-b815-ab79986666d0") * ``` * @param connectionId The ID of the SSO connection to delete. * @returns `B2BDeleteSSOConnectionResponse` confirming the deletion. * @throws `StytchError` if the connection is not found or the request fails. * @throws `CancellationException` if the coroutine is cancelled. */ deleteConnection(connectionId: string): Promise; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.b2b.sso.B2BSSOClient": unique symbol; }; } /** SAML SSO connection management methods. */ export declare interface B2BSSOSAMLClient { /** * Creates a new SAML SSO connection for the organization. * Calls the `POST /sdk/v1/b2b/sso/saml` endpoint. Requires an active session. * *Kotlin:** * ```kotlin * StytchB2B.sso.saml.createConnection( * B2BCreateSAMLConnectionParameters( * displayName = "My SAML IdP", * ) * ) * ``` * *iOS:** * ```swift * let params = B2BCreateSAMLConnectionParameters(displayName: "My SAML IdP") * let response = try await StytchB2B.sso.saml.createConnection(params) * ``` * *React Native:** * ```js * StytchB2B.sso.saml.createConnection({ displayName: "My SAML IdP" }) * ``` * @param request - `IB2BCreateSAMLConnectionParameters` * - `displayName?` — Human-readable label for the connection. * - `identityProvider?` — The identity provider type (e.g. `"okta"`, `"google"`, `"generic"`). * @returns `B2BCreateSAMLConnectionResponse` containing the newly created connection. * @throws `StytchError` if the request fails. * @throws `CancellationException` if the coroutine is cancelled. */ createConnection(request: B2BCreateSAMLConnectionParameters): Promise; /** * Updates an existing SAML SSO connection. * Calls the `PUT /sdk/v1/b2b/sso/saml/{connection_id}` endpoint. Requires an active session. * *Kotlin:** * ```kotlin * StytchB2B.sso.saml.updateConnection( * connectionId = "saml-connection-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * request = B2BUpdateSAMLConnectionParameters( * displayName = "Updated IdP", * idpSsoUrl = "https://idp.example.com/sso", * ), * ) * ``` * *iOS:** * ```swift * let params = B2BUpdateSAMLConnectionParameters( * displayName: "Updated IdP", * idpSsoUrl: "https://idp.example.com/sso" * ) * let response = try await StytchB2B.sso.saml.updateConnection( * connectionId: "saml-connection-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * request: params * ) * ``` * *React Native:** * ```js * StytchB2B.sso.saml.updateConnection( * "saml-connection-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * { displayName: "Updated IdP", idpSsoUrl: "https://idp.example.com/sso" }, * ) * ``` * @param connectionId The ID of the SAML connection to update. * @param request - `IB2BUpdateSAMLConnectionParameters` * - `idpEntityId?` — The IdP entity ID. * - `displayName?` — Human-readable label for the connection. * - `attributeMapping?` — Map of IdP attributes to Stytch member fields. * - `x509Certificate?` — PEM-encoded X.509 certificate from the IdP. * - `idpSsoUrl?` — The IdP SSO URL. * - `samlConnectionImplicitRoleAssignments?` — Roles assigned to all members via this connection. * - `samlGroupImplicitRoleAssignments?` — Roles assigned based on SAML group membership. * - `alternativeAudienceUri?` — Alternative audience URI for the SAML assertion. * - `identityProvider?` — The identity provider type. * - `signingPrivateKey?` — Private key used to sign SAML requests. * - `allowGatewayCallback?` — Whether to allow gateway callback. * @returns `B2BUpdateSAMLConnectionResponse` containing the updated connection. * @throws `StytchError` if the connection is not found or the request fails. * @throws `CancellationException` if the coroutine is cancelled. */ updateConnection(connectionId: string, request: B2BUpdateSAMLConnectionParameters): Promise; /** * Updates a SAML SSO connection by fetching its metadata directly from the provided URL. * Calls the `PUT /sdk/v1/b2b/sso/saml/{connection_id}/url` endpoint. Requires an active session. * *Kotlin:** * ```kotlin * StytchB2B.sso.saml.updateConnectionByUrl( * connectionId = "saml-connection-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * request = B2BUpdateSAMLConnectionByURLParameters( * metadataUrl = "https://idp.example.com/metadata.xml", * ), * ) * ``` * *iOS:** * ```swift * let params = B2BUpdateSAMLConnectionByURLParameters(metadataUrl: "https://idp.example.com/metadata.xml") * let response = try await StytchB2B.sso.saml.updateConnectionByUrl( * connectionId: "saml-connection-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * request: params * ) * ``` * *React Native:** * ```js * StytchB2B.sso.saml.updateConnectionByUrl( * "saml-connection-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * { metadataUrl: "https://idp.example.com/metadata.xml" }, * ) * ``` * @param connectionId The ID of the SAML connection to update. * @param request - `IB2BUpdateSAMLConnectionByURLParameters` * - `metadataUrl` — URL from which to fetch the SAML IdP metadata XML. * @returns `B2BUpdateSAMLConnectionByURLResponse` containing the updated connection. * @throws `StytchError` if the metadata URL is unreachable or the request fails. * @throws `CancellationException` if the coroutine is cancelled. */ updateConnectionByUrl(connectionId: string, request: B2BUpdateSAMLConnectionByURLParameters): Promise; /** * Deletes a verification certificate from the specified SAML SSO connection. * Calls the `DELETE /sdk/v1/b2b/sso/saml/{connection_id}/verification_certificates/{certificate_id}` * endpoint. Requires an active session. * *Kotlin:** * ```kotlin * StytchB2B.sso.saml.deleteVerificationCertificate( * connectionId = "saml-connection-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * certificateId = "cert-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * ) * ``` * *iOS:** * ```swift * let response = try await StytchB2B.sso.saml.deleteVerificationCertificate( * connectionId: "saml-connection-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * certificateId: "cert-test-d5a3b680-e8a3-40c0-b815-ab79986666d0" * ) * ``` * *React Native:** * ```js * StytchB2B.sso.saml.deleteVerificationCertificate( * "saml-connection-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * "cert-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * ) * ``` * @param connectionId The ID of the SAML connection. * @param certificateId The ID of the certificate to delete. * @returns `B2BDeleteSAMLVerificationCertificateResponse` confirming the deletion. * @throws `StytchError` if the certificate or connection is not found. * @throws `CancellationException` if the coroutine is cancelled. */ deleteVerificationCertificate(connectionId: string, certificateId: string): Promise; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.b2b.sso.B2BSSOSAMLClient": unique symbol; }; } /** OIDC SSO connection management methods. */ export declare interface B2BSSOOIDCClient { /** * Creates a new OIDC SSO connection for the organization. * Calls the `POST /sdk/v1/b2b/sso/oidc` endpoint. Requires an active session. * *Kotlin:** * ```kotlin * StytchB2B.sso.oidc.createConnection( * B2BCreateOIDCConnectionParameters( * displayName = "My OIDC IdP", * ) * ) * ``` * *iOS:** * ```swift * let params = B2BCreateOIDCConnectionParameters(displayName: "My OIDC IdP") * let response = try await StytchB2B.sso.oidc.createConnection(params) * ``` * *React Native:** * ```js * StytchB2B.sso.oidc.createConnection({ displayName: "My OIDC IdP" }) * ``` * @param request - `IB2BCreateOIDCConnectionParameters` * - `displayName?` — Human-readable label for the connection. * - `identityProvider?` — The identity provider type. * @returns `B2BCreateOIDCConnectionResponse` containing the newly created connection. * @throws `StytchError` if the request fails. * @throws `CancellationException` if the coroutine is cancelled. */ createConnection(request: B2BCreateOIDCConnectionParameters): Promise; /** * Updates an existing OIDC SSO connection. * Calls the `PUT /sdk/v1/b2b/sso/oidc/{connection_id}` endpoint. Requires an active session. * *Kotlin:** * ```kotlin * StytchB2B.sso.oidc.updateConnection( * connectionId = "oidc-connection-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * request = B2BUpdateOIDCConnectionParameters( * displayName = "Updated OIDC IdP", * issuer = "https://idp.example.com", * ), * ) * ``` * *iOS:** * ```swift * let params = B2BUpdateOIDCConnectionParameters( * displayName: "Updated OIDC IdP", * issuer: "https://idp.example.com" * ) * let response = try await StytchB2B.sso.oidc.updateConnection( * connectionId: "oidc-connection-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * request: params * ) * ``` * *React Native:** * ```js * StytchB2B.sso.oidc.updateConnection( * "oidc-connection-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * { displayName: "Updated OIDC IdP", issuer: "https://idp.example.com" }, * ) * ``` * @param connectionId The ID of the OIDC connection to update. * @param request - `IB2BUpdateOIDCConnectionParameters` * - `displayName?` — Human-readable label for the connection. * - `clientId?` — The OIDC client ID. * - `clientSecret?` — The OIDC client secret. * - `issuer?` — The OIDC issuer URL. * - `authorizationUrl?` — The OIDC authorization endpoint URL. * - `tokenUrl?` — The OIDC token endpoint URL. * - `userinfoUrl?` — The OIDC userinfo endpoint URL. * - `jwksUrl?` — The OIDC JWKS endpoint URL. * - `identityProvider?` — The identity provider type. * - `customScopes?` — Additional OIDC scopes to request. * - `attributeMapping?` — Map of OIDC claims to Stytch member fields. * @returns `B2BUpdateOIDCConnectionResponse` containing the updated connection. * @throws `StytchError` if the connection is not found or the request fails. * @throws `CancellationException` if the coroutine is cancelled. */ updateConnection(connectionId: string, request: B2BUpdateOIDCConnectionParameters): Promise; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.b2b.sso.B2BSSOOIDCClient": unique symbol; }; } /** External SSO connection management methods. */ export declare interface B2BSSOExternalClient { /** * Creates a new external SSO connection for the organization. * Calls the `POST /sdk/v1/b2b/sso/external` endpoint. Requires an active session. * *Kotlin:** * ```kotlin * StytchB2B.sso.external.createConnection( * B2BCreateExternalConnectionParameters( * externalConnectionId = "ext-conn-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * externalOrganizationId = "ext-org-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * ) * ) * ``` * *iOS:** * ```swift * let params = B2BCreateExternalConnectionParameters( * externalConnectionId: "ext-conn-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * externalOrganizationId: "ext-org-test-d5a3b680-e8a3-40c0-b815-ab79986666d0" * ) * let response = try await StytchB2B.sso.external.createConnection(params) * ``` * *React Native:** * ```js * StytchB2B.sso.external.createConnection({ * externalConnectionId: "ext-conn-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * externalOrganizationId: "ext-org-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * }) * ``` * @param request - `IB2BCreateExternalConnectionParameters` * - `externalConnectionId` — The ID of the external SSO connection in the partner organization. * - `externalOrganizationId` — The ID of the partner organization. * - `displayName?` — Human-readable label for the connection. * @returns `B2BCreateExternalConnectionResponse` containing the newly created connection. * @throws `StytchError` if the request fails. * @throws `CancellationException` if the coroutine is cancelled. */ createConnection(request: B2BCreateExternalConnectionParameters): Promise; /** * Updates an existing external SSO connection. * Calls the `PUT /sdk/v1/b2b/sso/external/{connection_id}` endpoint. Requires an active session. * *Kotlin:** * ```kotlin * StytchB2B.sso.external.updateConnection( * connectionId = "ext-conn-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * request = B2BUpdateExternalConnectionParameters( * displayName = "Updated External Connection", * ), * ) * ``` * *iOS:** * ```swift * let params = B2BUpdateExternalConnectionParameters(displayName: "Updated External Connection") * let response = try await StytchB2B.sso.external.updateConnection( * connectionId: "ext-conn-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * request: params * ) * ``` * *React Native:** * ```js * StytchB2B.sso.external.updateConnection( * "ext-conn-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * { displayName: "Updated External Connection" }, * ) * ``` * @param connectionId The ID of the external SSO connection to update. * @param request - `IB2BUpdateExternalConnectionParameters` * - `displayName` — Human-readable label for the connection. * - `externalConnectionImplicitRoleAssignments?` — Roles assigned to all members via this connection. * - `externalGroupImplicitRoleAssignments?` — Roles assigned based on group membership. * @returns `B2BUpdateExternalConnectionResponse` containing the updated connection. * @throws `StytchError` if the connection is not found or the request fails. * @throws `CancellationException` if the coroutine is cancelled. */ updateConnection(connectionId: string, request: B2BUpdateExternalConnectionParameters): Promise; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.b2b.sso.B2BSSOExternalClient": unique symbol; }; } /** TOTP (time-based one-time passcode) MFA methods for B2B members. */ export declare interface B2BTOTPClient { /** * Creates a new TOTP instance for the current member and returns the secret, QR code URL, and * recovery codes. Calls the `POST /sdk/v1/b2b/totp` endpoint. Automatically includes the * intermediate session token if one is present. The member should scan the QR code with their * authenticator app, then call `authenticate` to verify setup. * *Kotlin:** * ```kotlin * StytchB2B.totp.create( * B2BTOTPsCreateParameters( * organizationId = "org-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * memberId = "member-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * ) * ) * ``` * *iOS:** * ```swift * let params = B2BTOTPsCreateParameters( * organizationId: "org-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * memberId: "member-test-d5a3b680-e8a3-40c0-b815-ab79986666d0" * ) * let response = try await StytchB2B.totp.create(params) * ``` * *React Native:** * ```js * StytchB2B.totp.create({ * organizationId: "org-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * memberId: "member-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * }) * ``` * @param request - `IB2BTOTPsCreateParameters` * - `organizationId` — The ID of the organization. * - `memberId` — The ID of the member to create the TOTP instance for. * - `expirationMinutes?` — Time before the TOTP setup expires if not verified, in minutes. * @returns `B2BTOTPsCreateResponse` containing the TOTP `secret`, `qrCode` URL, and `recoveryCodes`. * @throws `StytchError` if the request fails or the member already has an active TOTP instance. * @throws `CancellationException` if the coroutine is cancelled. */ create(request: B2BTOTPsCreateParameters): Promise; /** * Authenticates a TOTP code from the member's authenticator app, completing the MFA step. * Calls the `POST /sdk/v1/b2b/totp/authenticate` endpoint. Automatically includes the * intermediate session token if one is present. * *Kotlin:** * ```kotlin * StytchB2B.totp.authenticate( * B2BTOTPsAuthenticateParameters( * organizationId = "org-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * memberId = "member-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * code = "123456", * sessionDurationMinutes = 30, * ) * ) * ``` * *iOS:** * ```swift * let params = B2BTOTPsAuthenticateParameters( * organizationId: "org-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * memberId: "member-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * code: "123456", * sessionDurationMinutes: 30 * ) * let response = try await StytchB2B.totp.authenticate(params) * ``` * *React Native:** * ```js * StytchB2B.totp.authenticate({ * organizationId: "org-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * memberId: "member-test-d5a3b680-e8a3-40c0-b815-ab79986666d0", * code: "123456", * sessionDurationMinutes: 30, * }) * ``` * @param request - `IB2BTOTPsAuthenticateParameters` * - `organizationId` — The ID of the organization. * - `memberId` — The ID of the member authenticating. * - `code` — The 6-digit code from the member's authenticator app. * - `sessionDurationMinutes` — Duration of the session to create, in minutes. * - `setMfaEnrollment?` — Whether to enroll or unenroll the member's MFA method (`"enroll"` or `"unenroll"`). * - `setDefaultMfa?` — Whether to set TOTP as the member's default MFA method. * @returns `B2BTOTPsAuthenticateResponse` containing the authenticated member session. * @throws `StytchError` if the code is invalid or expired. * @throws `CancellationException` if the coroutine is cancelled. */ authenticate(request: B2BTOTPsAuthenticateParameters): Promise; readonly __doNotUseOrImplementIt: { readonly "com.stytch.sdk.b2b.totp.B2BTOTPClient": unique symbol; }; }