2021-11-12 05:30:10 +08:00
|
|
|
export interface IBase {
|
2023-03-19 23:21:32 +08:00
|
|
|
uid?: string;
|
2022-03-03 07:13:52 +08:00
|
|
|
name?: string;
|
|
|
|
code?: string;
|
2021-11-12 05:30:10 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface ICountry extends IBase {
|
|
|
|
//
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface ILocation extends IBase {
|
2022-03-03 07:13:52 +08:00
|
|
|
email?: string;
|
|
|
|
emailCc?: string[];
|
|
|
|
consentEmail?: boolean;
|
|
|
|
businessPhone?: string;
|
|
|
|
mobilePhone?: string;
|
|
|
|
consentSms?: boolean;
|
2021-11-12 05:30:10 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface IProvince extends ILocation {
|
2022-03-03 07:13:52 +08:00
|
|
|
country?: ICountry
|
2021-11-12 05:30:10 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface IDistrict extends ILocation {
|
2022-03-03 07:13:52 +08:00
|
|
|
province?: IProvince
|
2021-11-12 05:30:10 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface IGenericLocation extends ILocation {
|
2022-03-03 07:13:52 +08:00
|
|
|
district?: IDistrict;
|
|
|
|
province?: IProvince;
|
|
|
|
country?: ICountry;
|
2021-11-12 05:30:10 +08:00
|
|
|
};
|