import { Color, Branding, LanguageInfo, SignIn, SignUp, SocialSignIn, ConnectorTargets, CustomContent, CustomUiAssets, PartialPasswordPolicy, Mfa, AdaptiveMfa, CaptchaPolicy, SentinelPolicy, EmailBlocklistPolicy, ForgotPasswordMethods, PasskeySignIn, GeneratedSchema } from './../foundations/index.js'; import { AgreeToTermsPolicy, SignInMode } from './custom-types.js'; /** * * @remarks This is a type for database creation. * @see {@link SignInExperience} for the original type. */ export type CreateSignInExperience = { tenantId?: string; id: string; color: Color; branding: Branding; hideLogtoBranding?: boolean; languageInfo: LanguageInfo; termsOfUseUrl?: string | null; privacyPolicyUrl?: string | null; /** The policy that determines how users agree to the terms of use and privacy policy. */ agreeToTermsPolicy?: AgreeToTermsPolicy; signIn: SignIn; signUp: SignUp; socialSignIn?: SocialSignIn; socialSignInConnectorTargets?: ConnectorTargets; signInMode?: SignInMode; customCss?: string | null; customContent?: CustomContent; customUiAssets?: CustomUiAssets | null; passwordPolicy?: PartialPasswordPolicy; mfa?: Mfa; adaptiveMfa?: AdaptiveMfa; singleSignOnEnabled?: boolean; supportEmail?: string | null; supportWebsiteUrl?: string | null; unknownSessionRedirectUrl?: string | null; captchaPolicy?: CaptchaPolicy; sentinelPolicy?: SentinelPolicy; emailBlocklistPolicy?: EmailBlocklistPolicy; forgotPasswordMethods?: ForgotPasswordMethods | null; passkeySignIn?: PasskeySignIn; }; export type SignInExperience = { tenantId: string; id: string; color: Color; branding: Branding; hideLogtoBranding: boolean; languageInfo: LanguageInfo; termsOfUseUrl: string | null; privacyPolicyUrl: string | null; /** The policy that determines how users agree to the terms of use and privacy policy. */ agreeToTermsPolicy: AgreeToTermsPolicy; signIn: SignIn; signUp: SignUp; socialSignIn: SocialSignIn; socialSignInConnectorTargets: ConnectorTargets; signInMode: SignInMode; customCss: string | null; customContent: CustomContent; customUiAssets: CustomUiAssets | null; passwordPolicy: PartialPasswordPolicy; mfa: Mfa; adaptiveMfa: AdaptiveMfa; singleSignOnEnabled: boolean; supportEmail: string | null; supportWebsiteUrl: string | null; unknownSessionRedirectUrl: string | null; captchaPolicy: CaptchaPolicy; sentinelPolicy: SentinelPolicy; emailBlocklistPolicy: EmailBlocklistPolicy; forgotPasswordMethods: ForgotPasswordMethods | null; passkeySignIn: PasskeySignIn; }; export type SignInExperienceKeys = 'tenantId' | 'id' | 'color' | 'branding' | 'hideLogtoBranding' | 'languageInfo' | 'termsOfUseUrl' | 'privacyPolicyUrl' | 'agreeToTermsPolicy' | 'signIn' | 'signUp' | 'socialSignIn' | 'socialSignInConnectorTargets' | 'signInMode' | 'customCss' | 'customContent' | 'customUiAssets' | 'passwordPolicy' | 'mfa' | 'adaptiveMfa' | 'singleSignOnEnabled' | 'supportEmail' | 'supportWebsiteUrl' | 'unknownSessionRedirectUrl' | 'captchaPolicy' | 'sentinelPolicy' | 'emailBlocklistPolicy' | 'forgotPasswordMethods' | 'passkeySignIn'; export declare const SignInExperiences: GeneratedSchema;