export enum AddressType { individual = 'false', company = 'true' } export type AddressFormType = { type: string; is_corporate: AddressType; title: string; first_name: string; last_name: string; phone_number: string; country: string; city: string; township: string; district: string; line: string; postcode: string; company_name?: string; tax_no?: string; tax_office?: string; e_bill_taxpayer?: boolean; country_code?: string; }; export type Country = { code: string; is_active: boolean; name: string; pk: number; translations: string | null; }; export type City = { country: Country; is_active: boolean; name: string; pk: number; postcode: number; priority: null; translations: string | null; }; export type Township = { city: City; is_active: boolean; name: string; pk: number; postcode: number; }; export type District = { city: number; is_active: boolean; name: string; pk: number; postcode: number; township: number; }; export interface Address { address_type: string; city: City; company_name: string; country: Country; district: District; e_bill_taxpayer: boolean; email: string; extra_field: null; first_name: string; hash_data: string; identity_number: number | null; is_corporate: 'true' | 'false'; last_name: string; line: string; notes: string | null; phone_number: string; pk: number; postcode: string; primary: boolean; remote_id: null; retail_store: null; tax_no: string; tax_office: string; title: string; township: Township; user: { pk: number }; latitude: string; longitude: string; name: string; address: string; fax_phone_number: string; image: string; [key: string]: any; }