52 lines
1.8 KiB
TypeScript
52 lines
1.8 KiB
TypeScript
import { z } from 'zod';
|
|
export declare const loginBodySchema: z.ZodObject<{
|
|
email: z.ZodString;
|
|
password: z.ZodString;
|
|
totpCode: z.ZodOptional<z.ZodString>;
|
|
captchaToken: z.ZodOptional<z.ZodString>;
|
|
}, z.core.$strip>;
|
|
export declare const registerBodySchema: z.ZodObject<{
|
|
email: z.ZodString;
|
|
password: z.ZodString;
|
|
fullName: z.ZodString;
|
|
phone: z.ZodOptional<z.ZodString>;
|
|
countryOfResidence: z.ZodString;
|
|
nationality: z.ZodOptional<z.ZodString>;
|
|
gender: z.ZodEnum<{
|
|
male: "male";
|
|
female: "female";
|
|
other: "other";
|
|
}>;
|
|
referralCode: z.ZodOptional<z.ZodString>;
|
|
}, z.core.$strip>;
|
|
export declare const changePasswordBodySchema: z.ZodObject<{
|
|
currentPassword: z.ZodString;
|
|
newPassword: z.ZodString;
|
|
}, z.core.$strip>;
|
|
export declare const withdrawBodySchema: z.ZodObject<{
|
|
walletType: z.ZodString;
|
|
toAddress: z.ZodString;
|
|
amount: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
totpCode: z.ZodOptional<z.ZodString>;
|
|
}, z.core.$strip>;
|
|
export declare const transferBodySchema: z.ZodObject<{
|
|
toEmail: z.ZodString;
|
|
walletType: z.ZodString;
|
|
amount: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
totpCode: z.ZodOptional<z.ZodString>;
|
|
}, z.core.$strip>;
|
|
export declare const totpEnableBodySchema: z.ZodObject<{
|
|
code: z.ZodString;
|
|
}, z.core.$strip>;
|
|
export declare const totpDisableBodySchema: z.ZodObject<{
|
|
password: z.ZodString;
|
|
code: z.ZodString;
|
|
}, z.core.$strip>;
|
|
export declare const refreshBodySchema: z.ZodObject<{
|
|
refreshToken: z.ZodString;
|
|
}, z.core.$strip>;
|
|
export declare const logoutBodySchema: z.ZodObject<{
|
|
refreshToken: z.ZodString;
|
|
}, z.core.$strip>;
|
|
export declare const settingsUpdateBodySchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
//# sourceMappingURL=schemas.d.ts.map
|