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; }; export type RegisterApiProps = OdooApiProps & { result: { register: boolean; reason?: 'EMAIL_USED'; }; };