import { OdooApiProps } from './odoo'; export type AuthProps = { id: number; parent_id: number; parent_name: string; partner_id: number; name: string; email: string; phone: string; mobile: string; external: boolean; company: boolean; pricelist: string | null; token: string; }; export type AuthApiProps = OdooApiProps & { result: AuthProps }; export type RegisterProps = { name: string; email: string; password: string; company: string; phone: string; }; export type RegisterResApiProps = { register: boolean; reason: 'EMAIL_USED' | null; }; type ActivationResProps = { activation: boolean; user: AuthProps | null; }; export type ActivationTokenProps = { token: string; }; export type ActivationTokenResApiProps = ActivationResProps & { reason: 'INVALID_TOKEN' | null; }; export type ActivationOtpProps = { email: string; otp: string; }; export type ActivationOtpResApiProps = ActivationResProps & { reason: 'INVALID_OTP' | null; };