login
This commit is contained in:
15
types/checkout.ts
Normal file
15
types/checkout.ts
Normal file
@ -0,0 +1,15 @@
|
||||
export interface AddressesList {
|
||||
address: {
|
||||
city: string;
|
||||
country_iso: string;
|
||||
name: string;
|
||||
postcode: string;
|
||||
street: string;
|
||||
surname: string;
|
||||
};
|
||||
address_id: number;
|
||||
alias: string;
|
||||
customer_id: number;
|
||||
is_default: boolean;
|
||||
is_official: boolean;
|
||||
}
|
49
types/user.ts
Normal file
49
types/user.ts
Normal file
@ -0,0 +1,49 @@
|
||||
export interface Customer {
|
||||
active: boolean;
|
||||
agreed_for_newsletter: boolean;
|
||||
bank_accounts: {
|
||||
bank_currency_iso: string;
|
||||
bank_name: string;
|
||||
customer_id: number;
|
||||
iban: string;
|
||||
swift: string;
|
||||
verified: boolean;
|
||||
}[];
|
||||
birthday_date: string;
|
||||
communication_languag_id: number;
|
||||
document_verified: boolean;
|
||||
documents: {
|
||||
file: string;
|
||||
id: number;
|
||||
name: string;
|
||||
size: number;
|
||||
typ: string;
|
||||
}[];
|
||||
email: string;
|
||||
entity: {
|
||||
city: string;
|
||||
country_iso: string;
|
||||
customer_id: number;
|
||||
extra_enitity_id: string;
|
||||
name: string;
|
||||
national_court_register_number: string;
|
||||
postcode: string;
|
||||
statistical_number: string;
|
||||
street: string;
|
||||
vat_number: string;
|
||||
web_pages_list: string;
|
||||
}[];
|
||||
first_name: string;
|
||||
is_entity: boolean;
|
||||
is_partner: boolean;
|
||||
is_root: boolean;
|
||||
last_name: string;
|
||||
metadata: {
|
||||
id: number;
|
||||
metadata: string;
|
||||
type: string;
|
||||
}[];
|
||||
partner_code: string;
|
||||
phone_number: string;
|
||||
taxes_country_iso: string;
|
||||
}
|
Reference in New Issue
Block a user