/** @format int32 */ import type { Tenant, User } from './common'; export interface ExtensionAuthmethod { UUID?: string; component?: ServiceAssets; configJson?: string; description?: string; extension_id?: string; logoutScript?: string; name?: string; } export interface ServiceAssets { path?: string; } export interface AuthCredentialReqVO { authMethod?: string; credential?: Record; extension?: string; } export interface AuthCredentialRespVO { addon?: { validation_expired?: number; }; auth?: string; tenants?: Tenant[]; token?: string; user?: User; } export interface AuthEmailVerifyChangeReqVO { code?: string; id?: string; password?: string; } export interface AuthEmailVerifyChangeRespVO { addon?: { validation_expired?: number; }; auth?: string; /** 需要重置密码时返回此字段 */ need_reset_password?: boolean; tenants?: Tenant[]; /** 成功时返回登录信息 */ token?: string; user?: User; } export interface AuthEmployeeIdLoginReqVO { employee_id?: string; kiosk_group_id?: string; organization_id?: string; password?: string; } export interface AuthEmployeeIdLoginRespVO { addon?: { validation_expired?: number; }; auth?: string; tenants?: Tenant[]; token?: string; user?: User; } export interface AuthIdCardLoginReqVO { code?: string; kiosk_group_id?: string; organization_id?: string; } export interface AuthIdCardLoginRespVO { addon?: { validation_expired?: number; }; auth?: string; tenants?: Tenant[]; token?: string; user?: User; } export interface AuthPasswordLoginReqVO { email?: string; password?: string; } export interface AuthPasswordLoginRespVO { addon?: { validation_expired?: number; }; auth?: string; tenants?: Tenant[]; token?: string; user?: User; } export interface AuthRegisterReqVO { email?: string; locale?: string; password?: string; } export interface AuthRegisterRespVO { login_id?: number; } export interface AuthResetPasswordReqVO { code?: string; password?: string; } export interface AuthResetPasswordRespVO { success?: boolean; } export interface AuthSendResetPasswordEmailReqVO { email?: string; locale?: string; user?: string; } export interface AuthSendResetPasswordEmailRespVO { validation_id?: number; } export interface AuthStrategyRespVO { banner?: string; banner_bg_color?: string; banner_bg_mode?: string; banner_bg_url?: string; methods?: ExtensionAuthmethod[]; organization_id?: string; role?: string; site_icon_url?: string; site_logo_url?: string; tenant_icon_url?: string; tenant_logo_url?: string; tenant_name?: string; } export interface AuthVerifyEmailResetPasswordCodeReqVO { code?: string; } export interface AuthVerifyEmailResetPasswordCodeRespVO { email?: string; } //# sourceMappingURL=auth.d.ts.map