32 lines
615 B
TypeScript
32 lines
615 B
TypeScript
export interface CountryDto {
|
|
id: string;
|
|
iso2: string;
|
|
iso3: string;
|
|
name: string;
|
|
phoneCode: string | null;
|
|
defaultCurrencyId: string | null;
|
|
isActive: boolean;
|
|
createdOn?: string;
|
|
modifiedOn?: string | null;
|
|
}
|
|
|
|
export interface CountryLookupDto {
|
|
id: string;
|
|
iso2: string;
|
|
name: string;
|
|
}
|
|
|
|
export interface CreateCountryRequest {
|
|
iso2: string;
|
|
iso3: string;
|
|
name: string;
|
|
phoneCode: string | null;
|
|
defaultCurrencyId: string | null;
|
|
}
|
|
|
|
export interface UpdateCountryRequest extends CreateCountryRequest {
|
|
isActive: boolean;
|
|
}
|
|
|
|
export type CountryModalMode = 'create' | 'edit';
|