add endpoint configuration for city, currency, language, and timezone
This commit is contained in:
@@ -5,7 +5,27 @@ export interface CountryDto {
|
||||
name: string;
|
||||
phoneCode: string | null;
|
||||
defaultCurrencyId: string | null;
|
||||
isActive?: boolean;
|
||||
isActive: boolean;
|
||||
createdOn?: string;
|
||||
modifiedOn?: string | null;
|
||||
}
|
||||
|
||||
export type CountryModalMode = 'create' | 'edit';
|
||||
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';
|
||||
|
||||
Reference in New Issue
Block a user