1 export const postVerifySend = (data: {
2 Type: 'recovery_email' | 'external_email';
3 /* required if type is external_email, optional & not used if type is recovery_email */
6 url: 'core/v4/verify/send',
11 export const postVerifyValidate = (data: { JWT: string }) => ({
12 url: 'core/v4/verify/validate',
17 export const postVerifyUnvalidate = (data: { JWT: string }) => ({
18 url: 'core/v4/verify/validate',
23 export const postVerifyEmail = () => ({
24 url: 'core/v4/verify/email',
28 export const postVerifyPhone = () => ({
29 url: 'core/v4/verify/phone',
33 export const reauthByEmailVerification = () => ({
34 url: 'core/v4/verify/reauth/email',
38 export const reauthBySmsVerification = () => ({
39 url: 'core/v4/verify/reauth/phone',