From b6732d4a55f2ce2da1a17db82fd9450736dfa0cf Mon Sep 17 00:00:00 2001 From: Pierre Date: Tue, 13 Mar 2018 15:06:57 +0100 Subject: [PATCH 1/3] Support null national prefix For Aruba, there is a null national prefix --- models/countries.model.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/countries.model.ts b/models/countries.model.ts index c1c88a0..12b6f59 100644 --- a/models/countries.model.ts +++ b/models/countries.model.ts @@ -58,7 +58,7 @@ export interface ICountry { }, dialling: { calling_code: string[], - national_prefix: string, + national_prefix: string | null, national_number_lengths: number[], national_destination_code_lengths: number[], international_prefix: string | number @@ -99,4 +99,4 @@ export interface ICountry { export class Countries { [key: string]: ICountry; -} \ No newline at end of file +} From b1929995fa540bba51da7191fc53ff904e6b7859 Mon Sep 17 00:00:00 2001 From: Pierre Date: Tue, 13 Mar 2018 15:12:34 +0100 Subject: [PATCH 2/3] Add null to address_format --- models/countries.model.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/countries.model.ts b/models/countries.model.ts index 12b6f59..ab91507 100644 --- a/models/countries.model.ts +++ b/models/countries.model.ts @@ -79,7 +79,7 @@ export interface ICountry { fao: number, imf: number, ar5: string | number, - address_format: string, + address_format: string | null, eu_member: boolean, vat_rates: { standard: number, From cc01906a0b6acff5182250b3ae5f2356322f5aa8 Mon Sep 17 00:00:00 2001 From: Pierre Date: Tue, 13 Mar 2018 15:14:14 +0100 Subject: [PATCH 3/3] Update countries.model.ts --- models/countries.model.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/countries.model.ts b/models/countries.model.ts index ab91507..9490ecf 100644 --- a/models/countries.model.ts +++ b/models/countries.model.ts @@ -80,8 +80,8 @@ export interface ICountry { imf: number, ar5: string | number, address_format: string | null, - eu_member: boolean, - vat_rates: { + eu_member: boolean | null, + vat_rates: null | { standard: number, reduced: number[], super_reduced: number,