import { RegisterRequest as RegisterRequest$1, RegisterResponse as RegisterResponse$1, LoginRequest as LoginRequest$1, LoginResponse as LoginResponse$1, SendSetPasswordEmailRequest as SendSetPasswordEmailRequest$1, SendSetPasswordEmailResponse as SendSetPasswordEmailResponse$1, ChangeLoginEmailRequest as ChangeLoginEmailRequest$1, ChangeLoginEmailResponse as ChangeLoginEmailResponse$1, ApproveMemberRequest as ApproveMemberRequest$1, ApproveMemberResponse as ApproveMemberResponse$1, BlockMemberRequest as BlockMemberRequest$1, BlockMemberResponse as BlockMemberResponse$1 } from './index.typings.js'; import '@wix/sdk-types'; interface Member { /** * member's id * @format GUID * @readonly */ id?: string; /** * `true` if member completed email verification, otherwise `false` * @readonly */ emailVerified?: boolean; /** * member's role: * * `OWNER` - member that belongs to site owner * `CONTRIBUTOR` - member that belongs to a contributor in site * `MEMBER` - other members that registered to site */ role?: RoleWithLiterals; /** * email to be used when logging in * @format EMAIL */ loginEmail?: string | null; /** member's full name */ memberName?: string | null; /** member's first name */ firstName?: string | null; /** member's last name */ lastName?: string | null; /** * Deprecated: please use `picture` field instead. * URL for member's profile image * @format WEB_URL * @deprecated */ imageUrl?: string | null; /** member's nickname (exposed to other members) */ nickname?: string | null; /** `PUBLIC` if other members can view this profile, `PRIVATE` otherwise */ profilePrivacyStatus?: SiteMemberPrivacyStatusWithLiterals; /** url segment for accessing the member's profile */ slug?: string | null; /** member's language */ language?: string | null; /** * member's status: * * `ACTIVE` - when member is approved * `APPLICANT` - when pending site owner's approval * `BLOCKED` - when member is blocked by the site's owner * `INACTIVE` - not used */ status?: SiteMemberStatusWithLiterals; /** * date the member was created * @readonly */ creationDate?: Date | null; /** * date the member was last updated * @readonly */ lastUpdateDate?: Date | null; /** * date of last login * @readonly */ lastLoginDate?: Date | null; /** * member's email addresses * (returned when `include_contact_details` is set to `true`) */ emails?: string[]; /** * member's phone numbers * (returned when `include_contact_details` is set to `true`) */ phones?: string[]; /** * member's addresses * (returned when `include_contact_details` is set to `true`) */ addresses?: Address[]; /** * labels attached to the member by the owner (in contacts dashboard) * (returned when `include_contact_details` is set to `true`) */ labels?: string[]; /** * custom fields set for the member by the owner (in contacts dashboard) * (returned when `include_contact_details` is set to `true`) */ customFields?: CustomField[]; /** * member's profile picture * supports both media-items and external urls */ picture?: Image; /** member's user id */ userId?: string | null; /** Groups the the member is registered to */ groups?: Group[]; /** * member's contact id * @readonly */ contactId?: string | null; /** * `true` if the member still needs to complete required registration fields (e.g. after social signup), otherwise `false` * @readonly */ requireProfileCompletion?: boolean; } declare enum Role { UNDEFINED_ROLE = "UNDEFINED_ROLE", MEMBER = "MEMBER", OWNER = "OWNER", CONTRIBUTOR = "CONTRIBUTOR" } /** @enumType */ type RoleWithLiterals = Role | 'UNDEFINED_ROLE' | 'MEMBER' | 'OWNER' | 'CONTRIBUTOR'; declare enum SiteMemberPrivacyStatus { UNDEFINED = "UNDEFINED", PUBLIC = "PUBLIC", PRIVATE = "PRIVATE", COMMUNITY = "COMMUNITY" } /** @enumType */ type SiteMemberPrivacyStatusWithLiterals = SiteMemberPrivacyStatus | 'UNDEFINED' | 'PUBLIC' | 'PRIVATE' | 'COMMUNITY'; declare enum SiteMemberStatus { UNDEFINED_STATUS = "UNDEFINED_STATUS", APPLICANT = "APPLICANT", ACTIVE = "ACTIVE", INACTIVE = "INACTIVE", BLOCKED = "BLOCKED", OFFLINE_ONLY = "OFFLINE_ONLY" } /** @enumType */ type SiteMemberStatusWithLiterals = SiteMemberStatus | 'UNDEFINED_STATUS' | 'APPLICANT' | 'ACTIVE' | 'INACTIVE' | 'BLOCKED' | 'OFFLINE_ONLY'; interface Address { /** member's street address */ street?: string | null; /** member's city */ city?: string | null; /** member's region */ region?: string | null; /** member's country */ country?: string | null; /** member's postal code */ postalCode?: string | null; } interface CustomField extends CustomFieldValueOneOf { strValue?: string | null; numValue?: number; dateValue?: Date | null; name?: string; } /** @oneof */ interface CustomFieldValueOneOf { strValue?: string | null; numValue?: number; dateValue?: Date | null; } interface Image { /** WixMedia image ID. */ id?: string; /** Image URL. */ url?: string; /** * Original image height. * @readonly */ height?: number; /** * Original image width. * @readonly */ width?: number; /** Image alt text. */ altText?: string | null; /** * Image filename. * @readonly */ filename?: string | null; } interface FocalPoint { /** X-coordinate of the focal point. */ x?: number; /** Y-coordinate of the focal point. */ y?: number; /** crop by height */ height?: number | null; /** crop by width */ width?: number | null; } interface Group { /** @format GUID */ id?: string; name?: string; type?: string; } /** Registration options. */ interface RegisterRequest { /** Login email address for the new site member. */ email?: string; /** * Password the new site member will use to log in. * * Must be 4 to 15 ASCII-printable characters. */ password?: string; /** Contact information for the registered member. */ contactInfo?: MemberContactInfo; /** identification of the app that initiated the register request */ dialogData?: DialogData; /** * Sets the privacy status of a new member upon registration. * * - `PUBLIC`: Member is visible to everyone. * - `PRIVATE`: Member is hidden from site visitors and other site members. Member is returned only to site contributors and apps with the appropriate permissions. * - `UNKNOWN`: Insufficient permissions to get the status. */ profilePrivacyStatus?: SiteMemberPrivacyStatusWithLiterals; /** is registration offline */ isOfflineRegistration?: boolean; recaptchaToken?: string | null; invisibleRecaptchaToken?: string | null; emailVerification?: EmailVerification; /** * an indication that the request needs to follow mobile signup flow * difference from the regular flow is the OTP email */ isMobile?: boolean | null; } interface MemberContactInfo { /** First name. */ firstName?: string | null; /** Last name. */ lastName?: string | null; /** * Contact's profile picture. * @format WEB_URL */ picture?: string | null; /** Contact's email addresses. */ emails?: string[]; /** Contact's phone numbers. */ phones?: string[]; /** List of contact's labels. */ labels?: string[]; /** * Contact's locale, formatted as an * [IETF BCP 47 language tag](https://tools.ietf.org/html/rfc5646). * Typically, this is a lowercase 2-letter language code, * followed by a hyphen, * followed by an uppercase 2-letter country code. * * For example, German from Germany is formatted as `"de-DE"`, * and U.S. English is formatted as `"en-US"`. * @format LANGUAGE */ locale?: string | null; /** * Any number of custom fields. * [Custom fields](https://support.wix.com/en/article/adding-custom-fields-to-contacts) * are used to store additional information about your site's contacts. * When setting a custom field, use key:value pairs, * where the key matches the names defined in your site's * [Contact List](https://support.wix.com/en/article/accessing-your-contact-list). * You can only set values for custom fields that already exist in the Contacts application. */ customFields?: CustomField[]; } interface DialogData { visitorId?: string | null; appId?: string | null; initiator?: string | null; } interface EmailVerification { /** Id of the verification process */ verificationId?: string; /** * 6-digit code to verify (between 100000 and 999999) * @minLength 6 * @maxLength 6 */ otp?: string; } interface RegisterResponse { /** Newly registered member. */ member?: Member; /** * in case the site is open for registration, all members are automatically * approved. they will get a temporary token for obtaining a valid session */ session?: Session; /** * in case the site requires members approval, the registered member * will be an applicant until he's approved. the token can be used as a member * identifier for approval using the `MembersService.Approve` API */ approvalToken?: string | null; } interface Session { token?: string | null; } interface EmailVerificationRequired { /** Id of the verification process. */ verificationId?: string; } interface EmailVerificationFailed { /** Id of the failed verification process. */ verificationId?: string; /** Reason for verification failure. */ verificationFailureReason?: VerificationFailureReasonWithLiterals; } declare enum VerificationFailureReason { /** Default value - means no failure */ UNSPECIFIED = "UNSPECIFIED", /** Bad verification code */ BAD_CODE = "BAD_CODE", /** Verification code was not found */ NOT_FOUND = "NOT_FOUND", /** Error while sending the code to the user */ SEND_CODE_ERROR = "SEND_CODE_ERROR" } /** @enumType */ type VerificationFailureReasonWithLiterals = VerificationFailureReason | 'UNSPECIFIED' | 'BAD_CODE' | 'NOT_FOUND' | 'SEND_CODE_ERROR'; interface LoginRequest { /** Login email address. */ email?: string; /** Member password. */ password?: string; /** Recaptcha token. */ recaptchaToken?: string; /** Invisible recaptcha token. */ invisibleRecaptchaToken?: string; emailVerification?: EmailVerification; /** * an indication that the request needs to follow mobile login flow * difference from the regular flow is the OTP email */ isMobile?: boolean | null; } /** Session token for logging the member in. */ interface LoginResponse { session?: Session; /** the member's details */ member?: Member; } interface GetResetPasswordLinkRequest { /** Contact ID of the member whose password will be reset. */ contactId?: string; } interface GetResetPasswordLinkResponse { /** * Reset password link. * Valid for one use, up to two weeks from when it is created. */ resetPasswordLink?: string; } interface SendSetPasswordEmailRequest { /** Login email of the member whose password will be set. */ email: string; /** * > **Deprecated:** * > This field has been replaced with `hideIgnoreMessage`. * * Whether the email is being sent by member request. * * If `true`, the email tells the member * they can safely ignore * if they did not request the password change. * * Defaults to `false`. * @deprecated */ requestedByMember?: boolean; /** * Whether to hide the ignore this email message . * * If `true`, the email tells the member * they can safely ignore * if they did not request the password change. * * Default: `false`. */ hideIgnoreMessage?: boolean; } interface SendSetPasswordEmailResponse { /** Indicates if the request was successfully received. */ accepted?: boolean; } interface ResetPasswordRequest { /** Contact ID of the member whose password will be reset. */ contactId?: string; } interface ResetPasswordResponse { /** Indicates if the request was successfully received. */ accepted?: boolean; } interface SocialLoginRequest extends SocialLoginRequestLoginOneOf { appleLogin?: AppleLogin; googleLogin?: GoogleLogin; facebookLogin?: FacebookLogin; /** * Must either pass explicit msid OR signed instance with visitor * @format GUID */ metaSiteId?: string | null; } /** @oneof */ interface SocialLoginRequestLoginOneOf { appleLogin?: AppleLogin; googleLogin?: GoogleLogin; facebookLogin?: FacebookLogin; } interface AppleLogin { /** JWT signed by apple, contains target (aud), email etc */ token?: string; } interface GoogleLogin { /** JWT signed by Google, contains target (aud), email etc */ token?: string; } interface FacebookLogin { /** AccessToken created by Facebook, used to later fetch details over API */ token?: string; } interface ListMembersRequest { /** for paging - maximum number of records to retrieve */ limit?: number; /** for paging - how many records to skip */ offset?: number; /** sort order - list of field and direction tuples. e.g. `["first_name:asc", "last_name:desc"]` */ order?: string[]; /** partial response request - list of field names to get back in response */ fields?: string[]; /** filter members with specific status */ status?: SiteMemberStatusWithLiterals; /** whether to include contact details */ includeContactDetails?: boolean; } interface ListMembersResponse { /** members returned by List request */ members?: Member[]; /** pagination information */ pagination?: PaginationResponse; } interface PaginationResponse { /** offset that was applied to the request */ offset?: number; /** limit that was applied to the request */ limit?: number; /** total rows available */ total?: number; /** indication that the total count was too expensive to calculate */ tooManyToCount?: boolean; } interface SearchRequest { /** paging - offset and limit */ paging?: Paging; /** search by field */ searchBy?: SearchBy; /** partial response request - list of field names to get back in response */ fields?: string[]; /** filters */ filterBy?: FilterBy; /** ASC or DESC order */ sort?: SortingWithLiterals; } interface Paging { /** Number of items to load. */ limit?: number | null; /** Number of items to skip in the current sort order. */ offset?: number | null; } interface SearchBy { /** nick name filter */ nickname?: string | null; } interface FilterBy { /** filter members with specific status */ status?: string | null; /** group Id filter */ groupId?: string | null; /** privacy status filter */ privacyStatus?: SiteMemberPrivacyStatusWithLiterals; /** roles filter */ roles?: RoleWithLiterals[]; } declare enum Sorting { DESC = "DESC", ASC = "ASC" } /** @enumType */ type SortingWithLiterals = Sorting | 'DESC' | 'ASC'; interface SearchResponse { /** members returned by List request */ members?: Member[]; /** pagination information */ pagination?: PaginationResponse; } interface GetCurrentMemberRequest { } interface GetMemberResponse { member?: Member; } interface GetMemberRequest { /** unique identifier of the requested member(required) */ id?: string; /** whether to include contact details */ includeContactDetails?: boolean; /** whether to include groups details */ includeGroupsDetails?: boolean; } interface GetUserMembershipsRequest { /** * unique identifier of the requested **Wix** user * @format GUID */ userId?: string; /** paging - offset and limit ( the max limit for page is 200) */ paging?: Paging; } interface GetUserMembershipsResponse { /** sequence of member's of the user with there metaSiteId */ userMemberships?: UserMembership[]; } interface UserMembership { /** * member id * @format GUID */ memberId?: string; /** * meta site id whom the member existing on * @format GUID */ metasiteId?: string; } interface GetMemberRoleRequest { id?: string; } interface GetMemberRoleResponse { /** * member's role: * * `OWNER` - member that belongs to site owner * `CONTRIBUTOR` - member that belongs to a contributor in site * `MEMBER` - other members that registered to site */ role?: RoleWithLiterals; userId?: string | null; status?: SiteMemberStatusWithLiterals; contactId?: string | null; } interface GetMemberRolesRequest { /** user_id and/or contact_id */ ids?: string[]; } interface GetMemberRolesResponse { idsToRoles?: Record; } interface MemberRole { /** * member's role: * * `OWNER` - member that belongs to site owner * `CONTRIBUTOR` - member that belongs to a contributor in site * `MEMBER` - other members that registered to site */ role?: RoleWithLiterals; userId?: string | null; status?: SiteMemberStatusWithLiterals; contactId?: string | null; } interface BatchGetMembersRequest { /** unique identifier of the requested member(required) */ ids?: string[]; /** whether to include contact details */ includeContactDetails?: boolean; /** whether to include groups details */ includeGroupsDetails?: boolean; } interface BatchGetMembersResponse { /** lest of members details */ members?: Member[]; } interface GetAuthorizedPagesRequest { id?: string; siteId?: string; } interface GetAuthorizedPagesResponse { authorizedPages?: Record; } interface UpdateMemberRequest { /** member id */ id?: string; /** the Member object containing the fields to update */ member?: Member; /** * an explicit declaration of contact fields that should be updated by this request. * *Currently only affects contact fields. */ fieldMask?: string[]; } interface UpdateMemberResponse { /** updated member */ member?: Member; } interface ChangeLoginEmailRequest { /** Member ID. */ id: string; /** * New login email address. * @format EMAIL */ newEmail?: string; /** Whether to revoke active sessions immediately after changing the member's login email. */ revokeCurrentSessions?: boolean | null; } interface ChangeLoginEmailResponse { /** Member with the updated login email address. */ member?: Member; } interface QueryMembersRequest { /** * query - See https://github.com/wix-private/platformization-guidelines/blob/master/Server/API-Query.md * supported fields: `id`, `login_email`, `status`, `language`, `date_created`, `last_update_date`, `flags`, `name`, `first_name`, `last_name`, `nickname`, `email_verified`, `privacy_status` */ query?: string; /** whether to include contact details */ includeContactDetails?: boolean; /** whether to include offline members */ includeOfflineMembers?: boolean; } interface QueryMembersResponse { /** members matching the query criteria */ members?: Member[]; /** pagination information */ pagination?: PaginationResponse; } interface DeleteMemberRequest { /** id of member that should be deleted (required) */ id?: string; /** defines if the request is a bulk action */ isBulkAction?: boolean; } interface DeleteMemberResponse { } interface ApproveMemberRequest extends ApproveMemberRequestMemberIdentifierOneOf { /** ID of the member to approve. */ id?: string; /** Login email address of the member to approve. */ email?: string; /** * */ token?: string; } /** @oneof */ interface ApproveMemberRequestMemberIdentifierOneOf { /** ID of the member to approve. */ id?: string; /** Login email address of the member to approve. */ email?: string; /** * */ token?: string; } interface ApproveMemberResponse { session?: Session; } interface BlockMemberRequest extends BlockMemberRequestMemberIdentifierOneOf { id?: string; /** Login email address of the member to block. */ email?: string; /** Indicate the source of the block request */ source?: SourceWithLiterals; } /** @oneof */ interface BlockMemberRequestMemberIdentifierOneOf { id?: string; /** Login email address of the member to block. */ email?: string; } declare enum Source { UNKNOWN = "UNKNOWN", HANDLING_SPAM = "HANDLING_SPAM" } /** @enumType */ type SourceWithLiterals = Source | 'UNKNOWN' | 'HANDLING_SPAM'; interface BlockMemberResponse { } interface MakeMemberOfflineRequest { /** * unique identifier of the requested member * @format GUID */ id?: string; } interface MakeMemberOfflineResponse { } /** @docsIgnore */ type RegisterApplicationErrors = { code?: 'EMAIL_VERIFICATION_REQUIRED'; description?: string; data?: EmailVerificationRequired; } | { code?: 'EMAIL_VERIFICATION_FAILED'; description?: string; data?: EmailVerificationFailed; }; /** @docsIgnore */ type LoginApplicationErrors = { code?: 'EMAIL_VERIFICATION_REQUIRED'; description?: string; data?: EmailVerificationRequired; } | { code?: 'EMAIL_VERIFICATION_FAILED'; description?: string; data?: EmailVerificationFailed; }; type __PublicMethodMetaInfo = { getUrl: (context: any) => string; httpMethod: K; path: string; pathParams: M; __requestType: T; __originalRequestType: S; __responseType: Q; __originalResponseType: R; }; declare function register(): __PublicMethodMetaInfo<'POST', {}, RegisterRequest$1, RegisterRequest, RegisterResponse$1, RegisterResponse>; declare function login(): __PublicMethodMetaInfo<'POST', {}, LoginRequest$1, LoginRequest, LoginResponse$1, LoginResponse>; declare function sendSetPasswordEmail(): __PublicMethodMetaInfo<'POST', {}, SendSetPasswordEmailRequest$1, SendSetPasswordEmailRequest, SendSetPasswordEmailResponse$1, SendSetPasswordEmailResponse>; declare function changeLoginEmail(): __PublicMethodMetaInfo<'PATCH', { id: string; }, ChangeLoginEmailRequest$1, ChangeLoginEmailRequest, ChangeLoginEmailResponse$1, ChangeLoginEmailResponse>; declare function approve(): __PublicMethodMetaInfo<'POST', {}, ApproveMemberRequest$1, ApproveMemberRequest, ApproveMemberResponse$1, ApproveMemberResponse>; declare function block(): __PublicMethodMetaInfo<'POST', {}, BlockMemberRequest$1, BlockMemberRequest, BlockMemberResponse$1, BlockMemberResponse>; export { type Address as AddressOriginal, type AppleLogin as AppleLoginOriginal, type ApproveMemberRequestMemberIdentifierOneOf as ApproveMemberRequestMemberIdentifierOneOfOriginal, type ApproveMemberRequest as ApproveMemberRequestOriginal, type ApproveMemberResponse as ApproveMemberResponseOriginal, type BatchGetMembersRequest as BatchGetMembersRequestOriginal, type BatchGetMembersResponse as BatchGetMembersResponseOriginal, type BlockMemberRequestMemberIdentifierOneOf as BlockMemberRequestMemberIdentifierOneOfOriginal, type BlockMemberRequest as BlockMemberRequestOriginal, type BlockMemberResponse as BlockMemberResponseOriginal, type ChangeLoginEmailRequest as ChangeLoginEmailRequestOriginal, type ChangeLoginEmailResponse as ChangeLoginEmailResponseOriginal, type CustomField as CustomFieldOriginal, type CustomFieldValueOneOf as CustomFieldValueOneOfOriginal, type DeleteMemberRequest as DeleteMemberRequestOriginal, type DeleteMemberResponse as DeleteMemberResponseOriginal, type DialogData as DialogDataOriginal, type EmailVerificationFailed as EmailVerificationFailedOriginal, type EmailVerification as EmailVerificationOriginal, type EmailVerificationRequired as EmailVerificationRequiredOriginal, type FacebookLogin as FacebookLoginOriginal, type FilterBy as FilterByOriginal, type FocalPoint as FocalPointOriginal, type GetAuthorizedPagesRequest as GetAuthorizedPagesRequestOriginal, type GetAuthorizedPagesResponse as GetAuthorizedPagesResponseOriginal, type GetCurrentMemberRequest as GetCurrentMemberRequestOriginal, type GetMemberRequest as GetMemberRequestOriginal, type GetMemberResponse as GetMemberResponseOriginal, type GetMemberRoleRequest as GetMemberRoleRequestOriginal, type GetMemberRoleResponse as GetMemberRoleResponseOriginal, type GetMemberRolesRequest as GetMemberRolesRequestOriginal, type GetMemberRolesResponse as GetMemberRolesResponseOriginal, type GetResetPasswordLinkRequest as GetResetPasswordLinkRequestOriginal, type GetResetPasswordLinkResponse as GetResetPasswordLinkResponseOriginal, type GetUserMembershipsRequest as GetUserMembershipsRequestOriginal, type GetUserMembershipsResponse as GetUserMembershipsResponseOriginal, type GoogleLogin as GoogleLoginOriginal, type Group as GroupOriginal, type Image as ImageOriginal, type ListMembersRequest as ListMembersRequestOriginal, type ListMembersResponse as ListMembersResponseOriginal, type LoginApplicationErrors as LoginApplicationErrorsOriginal, type LoginRequest as LoginRequestOriginal, type LoginResponse as LoginResponseOriginal, type MakeMemberOfflineRequest as MakeMemberOfflineRequestOriginal, type MakeMemberOfflineResponse as MakeMemberOfflineResponseOriginal, type MemberContactInfo as MemberContactInfoOriginal, type Member as MemberOriginal, type MemberRole as MemberRoleOriginal, type PaginationResponse as PaginationResponseOriginal, type Paging as PagingOriginal, type QueryMembersRequest as QueryMembersRequestOriginal, type QueryMembersResponse as QueryMembersResponseOriginal, type RegisterApplicationErrors as RegisterApplicationErrorsOriginal, type RegisterRequest as RegisterRequestOriginal, type RegisterResponse as RegisterResponseOriginal, type ResetPasswordRequest as ResetPasswordRequestOriginal, type ResetPasswordResponse as ResetPasswordResponseOriginal, Role as RoleOriginal, type RoleWithLiterals as RoleWithLiteralsOriginal, type SearchBy as SearchByOriginal, type SearchRequest as SearchRequestOriginal, type SearchResponse as SearchResponseOriginal, type SendSetPasswordEmailRequest as SendSetPasswordEmailRequestOriginal, type SendSetPasswordEmailResponse as SendSetPasswordEmailResponseOriginal, type Session as SessionOriginal, SiteMemberPrivacyStatus as SiteMemberPrivacyStatusOriginal, type SiteMemberPrivacyStatusWithLiterals as SiteMemberPrivacyStatusWithLiteralsOriginal, SiteMemberStatus as SiteMemberStatusOriginal, type SiteMemberStatusWithLiterals as SiteMemberStatusWithLiteralsOriginal, type SocialLoginRequestLoginOneOf as SocialLoginRequestLoginOneOfOriginal, type SocialLoginRequest as SocialLoginRequestOriginal, Sorting as SortingOriginal, type SortingWithLiterals as SortingWithLiteralsOriginal, Source as SourceOriginal, type SourceWithLiterals as SourceWithLiteralsOriginal, type UpdateMemberRequest as UpdateMemberRequestOriginal, type UpdateMemberResponse as UpdateMemberResponseOriginal, type UserMembership as UserMembershipOriginal, VerificationFailureReason as VerificationFailureReasonOriginal, type VerificationFailureReasonWithLiterals as VerificationFailureReasonWithLiteralsOriginal, type __PublicMethodMetaInfo, approve, block, changeLoginEmail, login, register, sendSetPasswordEmail };