26 lines
1.4 KiB
TypeScript

export declare const AUTH_ERROR_CODE: {
readonly INVALID_CREDENTIALS: "INVALID_CREDENTIALS";
readonly EMAIL_NOT_VERIFIED: "EMAIL_NOT_VERIFIED";
readonly ACCOUNT_LOCKED: "ACCOUNT_LOCKED";
readonly MFA_REQUIRED: "MFA_REQUIRED";
readonly INVALID_TOKEN: "INVALID_TOKEN";
readonly TOKEN_EXPIRED: "TOKEN_EXPIRED";
readonly PASSWORD_TOO_WEAK: "PASSWORD_TOO_WEAK";
readonly EMAIL_ALREADY_EXISTS: "EMAIL_ALREADY_EXISTS";
readonly WHMCS_ACCOUNT_NOT_FOUND: "WHMCS_ACCOUNT_NOT_FOUND";
readonly SALESFORCE_ACCOUNT_NOT_FOUND: "SALESFORCE_ACCOUNT_NOT_FOUND";
readonly LINKING_FAILED: "LINKING_FAILED";
};
export type AuthErrorCode = (typeof AUTH_ERROR_CODE)[keyof typeof AUTH_ERROR_CODE];
export declare const TOKEN_TYPE: {
readonly BEARER: "Bearer";
};
export type TokenTypeValue = (typeof TOKEN_TYPE)[keyof typeof TOKEN_TYPE];
export declare const GENDER: {
readonly MALE: "male";
readonly FEMALE: "female";
readonly OTHER: "other";
};
export type GenderValue = (typeof GENDER)[keyof typeof GENDER];
export type { LoginRequest, SignupRequest, PasswordResetRequest, ResetPasswordRequest, SetPasswordRequest, ChangePasswordRequest, LinkWhmcsRequest, ValidateSignupRequest, UpdateCustomerProfileRequest, AccountStatusRequest, SsoLinkRequest, CheckPasswordNeededRequest, RefreshTokenRequest, AuthTokens, AuthResponse, SignupResult, PasswordChangeResult, SsoLinkResponse, CheckPasswordNeededResponse, AuthError, } from './schema';