115 lines
1.8 KiB
TypeScript
115 lines
1.8 KiB
TypeScript
export interface IListAccountsResponseDTO {
|
|
id: string;
|
|
|
|
is_companyr: boolean;
|
|
name: string;
|
|
trade_name: string;
|
|
tin: string;
|
|
|
|
street: string;
|
|
city: string;
|
|
state: string;
|
|
postal_code: string;
|
|
country: string;
|
|
|
|
email: string;
|
|
phone: string;
|
|
fax: string;
|
|
website: string;
|
|
|
|
legal_record: string;
|
|
|
|
default_tax: number;
|
|
status: string;
|
|
language_code: string;
|
|
currency_code: string;
|
|
logo: string;
|
|
}
|
|
|
|
export interface IGetAccountResponseDTO {
|
|
id: string;
|
|
|
|
is_companyr: boolean;
|
|
name: string;
|
|
trade_name: string;
|
|
tin: string;
|
|
|
|
street: string;
|
|
city: string;
|
|
state: string;
|
|
postal_code: string;
|
|
country: string;
|
|
|
|
email: string;
|
|
phone: string;
|
|
fax: string;
|
|
website: string;
|
|
|
|
legal_record: string;
|
|
|
|
default_tax: number;
|
|
status: string;
|
|
language_code: string;
|
|
currency_code: string;
|
|
logo: string;
|
|
}
|
|
|
|
export interface ICreateAccountResponseDTO {
|
|
id: string;
|
|
|
|
is_companyr: boolean;
|
|
name: string;
|
|
trade_name: string;
|
|
tin: string;
|
|
|
|
street: string;
|
|
city: string;
|
|
state: string;
|
|
postal_code: string;
|
|
country: string;
|
|
|
|
email: string;
|
|
phone: string;
|
|
fax: string;
|
|
website: string;
|
|
|
|
legal_record: string;
|
|
|
|
default_tax: number;
|
|
status: string;
|
|
language_code: string;
|
|
currency_code: string;
|
|
logo: string;
|
|
}
|
|
|
|
// Inferir el tipo en TypeScript desde el esquema Zod
|
|
//export type IUpdateAcccountResponseDTO = z.infer<typeof IUpdateAcccountResponseDTOSchema>;
|
|
|
|
export interface IUpdateAccountResponseDTO {
|
|
id: string;
|
|
|
|
is_companyr: boolean;
|
|
name: string;
|
|
trade_name: string;
|
|
tin: string;
|
|
|
|
street: string;
|
|
city: string;
|
|
state: string;
|
|
postal_code: string;
|
|
country: string;
|
|
|
|
email: string;
|
|
phone: string;
|
|
fax: string;
|
|
website: string;
|
|
|
|
legal_record: string;
|
|
|
|
default_tax: number;
|
|
status: string;
|
|
language_code: string;
|
|
currency_code: string;
|
|
logo: string;
|
|
}
|