2023-11-29 13:37:33 +00:00
|
|
|
export type TEmailCheckTypes = "magic_code" | "password";
|
|
|
|
|
|
|
|
export interface IEmailCheckData {
|
|
|
|
email: string;
|
2023-12-06 08:52:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface IEmailCheckResponse {
|
|
|
|
is_password_autoset: boolean;
|
|
|
|
is_existing: boolean;
|
2023-11-29 13:37:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface ILoginTokenResponse {
|
|
|
|
access_token: string;
|
2023-12-06 08:52:59 +00:00
|
|
|
refresh_token: string;
|
2023-11-29 13:37:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface IMagicSignInData {
|
|
|
|
email: string;
|
|
|
|
key: string;
|
|
|
|
token: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface IPasswordSignInData {
|
|
|
|
email: string;
|
|
|
|
password: string;
|
|
|
|
}
|