regions-config 1.5.0 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -3
- package/dist/index.d.mts +13 -4
- package/dist/index.d.ts +13 -4
- package/dist/index.js +10 -1
- package/dist/index.mjs +10 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ Paquete de configuración de regiones para las aplicaciones de IATI. Proporciona
|
|
|
10
10
|
| --------- | ------------ | ---------------- | ----------------------------- |
|
|
11
11
|
| `es` | `es-ES` | `spain` | España |
|
|
12
12
|
| `commx` | `es-MX` | `mexico` | México |
|
|
13
|
-
| `comeneu` | `en-EU` | `
|
|
13
|
+
| `comeneu` | `en-EU` | `europe` | Internacional Europa (EN) |
|
|
14
14
|
| `comen` | `en-ROW` | `row` | Internacional resto del mundo |
|
|
15
15
|
| `it` | `it-IT` | `italy` | Italia |
|
|
16
16
|
| `pt` | `pt-PT` | `portugal` | Portugal |
|
|
@@ -116,7 +116,7 @@ Atajo que devuelve únicamente el `regionCode` que corresponde a una app de `iat
|
|
|
116
116
|
```ts
|
|
117
117
|
import { getRegionCodeByWebsiteAppName } from 'regions-config';
|
|
118
118
|
|
|
119
|
-
const regionCode = getRegionCodeByWebsiteAppName('
|
|
119
|
+
const regionCode = getRegionCodeByWebsiteAppName('europe'); // 'en-EU'
|
|
120
120
|
```
|
|
121
121
|
|
|
122
122
|
---
|
|
@@ -160,7 +160,7 @@ type RegionConfig = {
|
|
|
160
160
|
id: number;
|
|
161
161
|
gtmId: string; // Formato: GTM-XXXXXXX
|
|
162
162
|
regionCode: 'es-ES' | 'es-MX' | 'en-EU' | 'en-ROW' | 'it-IT' | 'pt-PT' | 'es-CO' | 'es-PE';
|
|
163
|
-
websiteAppName: 'spain' | 'mexico' | '
|
|
163
|
+
websiteAppName: 'spain' | 'mexico' | 'europe' | 'row' | 'italy' | 'portugal' | 'colombia' | 'peru';
|
|
164
164
|
timeZone: string;
|
|
165
165
|
dateFormat: string;
|
|
166
166
|
footer: Array<{ href: string; label: string }>;
|
|
@@ -168,6 +168,9 @@ type RegionConfig = {
|
|
|
168
168
|
documentTypeOptionsByOrigin?: DocumentTypeOptionsByOrigin;
|
|
169
169
|
paymentCardTypes: Array<{ id: number; name: string; imagePath: string }>;
|
|
170
170
|
countriesToRedirect?: CountriesToRedirectMap;
|
|
171
|
+
residenceCountries?: Array<{ countryId: string; name?: string }>;
|
|
172
|
+
hasDefaultResidenceCountry: boolean;
|
|
173
|
+
usdPricingForNonResidents?: boolean;
|
|
171
174
|
regionsToGroup?: RegionToGroup[];
|
|
172
175
|
regionUrls?: { staging: string; production: string };
|
|
173
176
|
webSitePath?: string;
|
package/dist/index.d.mts
CHANGED
|
@@ -122,6 +122,7 @@ declare const regions: {
|
|
|
122
122
|
readonly name: "Uruguay";
|
|
123
123
|
}];
|
|
124
124
|
readonly usdPricingForNonResidents: true;
|
|
125
|
+
readonly hasDefaultResidenceCountry: false;
|
|
125
126
|
readonly regionUrls: {
|
|
126
127
|
readonly staging: "https://iatiglobal.iatidev.link/co/";
|
|
127
128
|
readonly production: "https://www.iatiglobal.com/co/";
|
|
@@ -273,6 +274,7 @@ declare const regions: {
|
|
|
273
274
|
}];
|
|
274
275
|
};
|
|
275
276
|
};
|
|
277
|
+
readonly hasDefaultResidenceCountry: false;
|
|
276
278
|
readonly regionUrls: {
|
|
277
279
|
readonly staging: "https://stg.iatiglobal.com/en/";
|
|
278
280
|
readonly production: "https://www.iatiglobal.com/en/";
|
|
@@ -347,7 +349,7 @@ declare const regions: {
|
|
|
347
349
|
readonly comeneu: {
|
|
348
350
|
readonly id: 6;
|
|
349
351
|
readonly name: "europe";
|
|
350
|
-
readonly websiteAppName: "
|
|
352
|
+
readonly websiteAppName: "europe";
|
|
351
353
|
readonly countryCode: "EU";
|
|
352
354
|
readonly defaultCurrency: "EUR";
|
|
353
355
|
readonly marketRegion: "europe";
|
|
@@ -436,6 +438,7 @@ declare const regions: {
|
|
|
436
438
|
}];
|
|
437
439
|
};
|
|
438
440
|
};
|
|
441
|
+
readonly hasDefaultResidenceCountry: false;
|
|
439
442
|
readonly regionUrls: {
|
|
440
443
|
readonly staging: "https://stg.iatiglobal.com/en-eu/";
|
|
441
444
|
readonly production: "https://www.iatiglobal.com/en-eu/";
|
|
@@ -599,6 +602,7 @@ declare const regions: {
|
|
|
599
602
|
}];
|
|
600
603
|
};
|
|
601
604
|
};
|
|
605
|
+
readonly hasDefaultResidenceCountry: true;
|
|
602
606
|
readonly regionUrls: {
|
|
603
607
|
readonly staging: "https://stg.iatiglobal.com/mx/";
|
|
604
608
|
readonly production: "https://www.iatiglobal.com/mx/";
|
|
@@ -750,6 +754,7 @@ declare const regions: {
|
|
|
750
754
|
}];
|
|
751
755
|
};
|
|
752
756
|
};
|
|
757
|
+
readonly hasDefaultResidenceCountry: true;
|
|
753
758
|
readonly regionUrls: {
|
|
754
759
|
readonly staging: "https://stg.iatiglobal.com/pe/";
|
|
755
760
|
readonly production: "https://www.iatiglobal.com/pe/";
|
|
@@ -901,6 +906,7 @@ declare const regions: {
|
|
|
901
906
|
}];
|
|
902
907
|
};
|
|
903
908
|
};
|
|
909
|
+
readonly hasDefaultResidenceCountry: true;
|
|
904
910
|
readonly regionUrls: {
|
|
905
911
|
readonly staging: "https://stg.iatiseguros.com";
|
|
906
912
|
readonly production: "https://www.iatiseguros.com";
|
|
@@ -1079,6 +1085,7 @@ declare const regions: {
|
|
|
1079
1085
|
}];
|
|
1080
1086
|
};
|
|
1081
1087
|
};
|
|
1088
|
+
readonly hasDefaultResidenceCountry: true;
|
|
1082
1089
|
readonly regionUrls: {
|
|
1083
1090
|
readonly staging: "https://stg.iatiassicurazioni.it";
|
|
1084
1091
|
readonly production: "https://www.iatiassicurazioni.it";
|
|
@@ -1238,6 +1245,7 @@ declare const regions: {
|
|
|
1238
1245
|
}];
|
|
1239
1246
|
};
|
|
1240
1247
|
};
|
|
1248
|
+
readonly hasDefaultResidenceCountry: false;
|
|
1241
1249
|
readonly regionUrls: {
|
|
1242
1250
|
readonly staging: "https://stg.iatiseguros.pt";
|
|
1243
1251
|
readonly production: "https://www.iatiseguros.pt";
|
|
@@ -1361,7 +1369,7 @@ declare const RegionCodeSchema: z.ZodEnum<{
|
|
|
1361
1369
|
declare const WebsiteAppNameSchema: z.ZodEnum<{
|
|
1362
1370
|
colombia: "colombia";
|
|
1363
1371
|
row: "row";
|
|
1364
|
-
|
|
1372
|
+
europe: "europe";
|
|
1365
1373
|
mexico: "mexico";
|
|
1366
1374
|
peru: "peru";
|
|
1367
1375
|
spain: "spain";
|
|
@@ -1405,7 +1413,7 @@ declare const MarketRegionEnum: {
|
|
|
1405
1413
|
declare const WebsiteAppNameEnum: {
|
|
1406
1414
|
colombia: "colombia";
|
|
1407
1415
|
row: "row";
|
|
1408
|
-
|
|
1416
|
+
europe: "europe";
|
|
1409
1417
|
mexico: "mexico";
|
|
1410
1418
|
peru: "peru";
|
|
1411
1419
|
spain: "spain";
|
|
@@ -1462,6 +1470,7 @@ declare const RegionConfigSchema: z.ZodObject<{
|
|
|
1462
1470
|
countryId: z.ZodString;
|
|
1463
1471
|
name: z.ZodOptional<z.ZodString>;
|
|
1464
1472
|
}, z.core.$strip>>>;
|
|
1473
|
+
hasDefaultResidenceCountry: z.ZodBoolean;
|
|
1465
1474
|
usdPricingForNonResidents: z.ZodOptional<z.ZodBoolean>;
|
|
1466
1475
|
regionUrls: z.ZodOptional<z.ZodObject<{
|
|
1467
1476
|
staging: z.ZodURL;
|
|
@@ -1526,7 +1535,7 @@ declare const RegionConfigSchema: z.ZodObject<{
|
|
|
1526
1535
|
websiteAppName: z.ZodEnum<{
|
|
1527
1536
|
colombia: "colombia";
|
|
1528
1537
|
row: "row";
|
|
1529
|
-
|
|
1538
|
+
europe: "europe";
|
|
1530
1539
|
mexico: "mexico";
|
|
1531
1540
|
peru: "peru";
|
|
1532
1541
|
spain: "spain";
|
package/dist/index.d.ts
CHANGED
|
@@ -122,6 +122,7 @@ declare const regions: {
|
|
|
122
122
|
readonly name: "Uruguay";
|
|
123
123
|
}];
|
|
124
124
|
readonly usdPricingForNonResidents: true;
|
|
125
|
+
readonly hasDefaultResidenceCountry: false;
|
|
125
126
|
readonly regionUrls: {
|
|
126
127
|
readonly staging: "https://iatiglobal.iatidev.link/co/";
|
|
127
128
|
readonly production: "https://www.iatiglobal.com/co/";
|
|
@@ -273,6 +274,7 @@ declare const regions: {
|
|
|
273
274
|
}];
|
|
274
275
|
};
|
|
275
276
|
};
|
|
277
|
+
readonly hasDefaultResidenceCountry: false;
|
|
276
278
|
readonly regionUrls: {
|
|
277
279
|
readonly staging: "https://stg.iatiglobal.com/en/";
|
|
278
280
|
readonly production: "https://www.iatiglobal.com/en/";
|
|
@@ -347,7 +349,7 @@ declare const regions: {
|
|
|
347
349
|
readonly comeneu: {
|
|
348
350
|
readonly id: 6;
|
|
349
351
|
readonly name: "europe";
|
|
350
|
-
readonly websiteAppName: "
|
|
352
|
+
readonly websiteAppName: "europe";
|
|
351
353
|
readonly countryCode: "EU";
|
|
352
354
|
readonly defaultCurrency: "EUR";
|
|
353
355
|
readonly marketRegion: "europe";
|
|
@@ -436,6 +438,7 @@ declare const regions: {
|
|
|
436
438
|
}];
|
|
437
439
|
};
|
|
438
440
|
};
|
|
441
|
+
readonly hasDefaultResidenceCountry: false;
|
|
439
442
|
readonly regionUrls: {
|
|
440
443
|
readonly staging: "https://stg.iatiglobal.com/en-eu/";
|
|
441
444
|
readonly production: "https://www.iatiglobal.com/en-eu/";
|
|
@@ -599,6 +602,7 @@ declare const regions: {
|
|
|
599
602
|
}];
|
|
600
603
|
};
|
|
601
604
|
};
|
|
605
|
+
readonly hasDefaultResidenceCountry: true;
|
|
602
606
|
readonly regionUrls: {
|
|
603
607
|
readonly staging: "https://stg.iatiglobal.com/mx/";
|
|
604
608
|
readonly production: "https://www.iatiglobal.com/mx/";
|
|
@@ -750,6 +754,7 @@ declare const regions: {
|
|
|
750
754
|
}];
|
|
751
755
|
};
|
|
752
756
|
};
|
|
757
|
+
readonly hasDefaultResidenceCountry: true;
|
|
753
758
|
readonly regionUrls: {
|
|
754
759
|
readonly staging: "https://stg.iatiglobal.com/pe/";
|
|
755
760
|
readonly production: "https://www.iatiglobal.com/pe/";
|
|
@@ -901,6 +906,7 @@ declare const regions: {
|
|
|
901
906
|
}];
|
|
902
907
|
};
|
|
903
908
|
};
|
|
909
|
+
readonly hasDefaultResidenceCountry: true;
|
|
904
910
|
readonly regionUrls: {
|
|
905
911
|
readonly staging: "https://stg.iatiseguros.com";
|
|
906
912
|
readonly production: "https://www.iatiseguros.com";
|
|
@@ -1079,6 +1085,7 @@ declare const regions: {
|
|
|
1079
1085
|
}];
|
|
1080
1086
|
};
|
|
1081
1087
|
};
|
|
1088
|
+
readonly hasDefaultResidenceCountry: true;
|
|
1082
1089
|
readonly regionUrls: {
|
|
1083
1090
|
readonly staging: "https://stg.iatiassicurazioni.it";
|
|
1084
1091
|
readonly production: "https://www.iatiassicurazioni.it";
|
|
@@ -1238,6 +1245,7 @@ declare const regions: {
|
|
|
1238
1245
|
}];
|
|
1239
1246
|
};
|
|
1240
1247
|
};
|
|
1248
|
+
readonly hasDefaultResidenceCountry: false;
|
|
1241
1249
|
readonly regionUrls: {
|
|
1242
1250
|
readonly staging: "https://stg.iatiseguros.pt";
|
|
1243
1251
|
readonly production: "https://www.iatiseguros.pt";
|
|
@@ -1361,7 +1369,7 @@ declare const RegionCodeSchema: z.ZodEnum<{
|
|
|
1361
1369
|
declare const WebsiteAppNameSchema: z.ZodEnum<{
|
|
1362
1370
|
colombia: "colombia";
|
|
1363
1371
|
row: "row";
|
|
1364
|
-
|
|
1372
|
+
europe: "europe";
|
|
1365
1373
|
mexico: "mexico";
|
|
1366
1374
|
peru: "peru";
|
|
1367
1375
|
spain: "spain";
|
|
@@ -1405,7 +1413,7 @@ declare const MarketRegionEnum: {
|
|
|
1405
1413
|
declare const WebsiteAppNameEnum: {
|
|
1406
1414
|
colombia: "colombia";
|
|
1407
1415
|
row: "row";
|
|
1408
|
-
|
|
1416
|
+
europe: "europe";
|
|
1409
1417
|
mexico: "mexico";
|
|
1410
1418
|
peru: "peru";
|
|
1411
1419
|
spain: "spain";
|
|
@@ -1462,6 +1470,7 @@ declare const RegionConfigSchema: z.ZodObject<{
|
|
|
1462
1470
|
countryId: z.ZodString;
|
|
1463
1471
|
name: z.ZodOptional<z.ZodString>;
|
|
1464
1472
|
}, z.core.$strip>>>;
|
|
1473
|
+
hasDefaultResidenceCountry: z.ZodBoolean;
|
|
1465
1474
|
usdPricingForNonResidents: z.ZodOptional<z.ZodBoolean>;
|
|
1466
1475
|
regionUrls: z.ZodOptional<z.ZodObject<{
|
|
1467
1476
|
staging: z.ZodURL;
|
|
@@ -1526,7 +1535,7 @@ declare const RegionConfigSchema: z.ZodObject<{
|
|
|
1526
1535
|
websiteAppName: z.ZodEnum<{
|
|
1527
1536
|
colombia: "colombia";
|
|
1528
1537
|
row: "row";
|
|
1529
|
-
|
|
1538
|
+
europe: "europe";
|
|
1530
1539
|
mexico: "mexico";
|
|
1531
1540
|
peru: "peru";
|
|
1532
1541
|
spain: "spain";
|
package/dist/index.js
CHANGED
|
@@ -383,6 +383,7 @@ var comco_default = {
|
|
|
383
383
|
countriesToRedirect: getCountriesToRedirect("comco"),
|
|
384
384
|
residenceCountries: COUNTRIES_TO_REDIRECT.comco.countries,
|
|
385
385
|
usdPricingForNonResidents: true,
|
|
386
|
+
hasDefaultResidenceCountry: false,
|
|
386
387
|
regionUrls: {
|
|
387
388
|
staging: "https://iatiglobal.iatidev.link/co/",
|
|
388
389
|
production: "https://www.iatiglobal.com/co/"
|
|
@@ -469,6 +470,7 @@ var comen_default = {
|
|
|
469
470
|
marketRegion: "world",
|
|
470
471
|
emoji: "\u{1F310}",
|
|
471
472
|
countriesToRedirect: getCountriesToRedirect("comen"),
|
|
473
|
+
hasDefaultResidenceCountry: false,
|
|
472
474
|
regionUrls: {
|
|
473
475
|
staging: "https://stg.iatiglobal.com/en/",
|
|
474
476
|
production: "https://www.iatiglobal.com/en/"
|
|
@@ -564,12 +566,13 @@ var comen_default = {
|
|
|
564
566
|
var comeneu_default = {
|
|
565
567
|
id: 6,
|
|
566
568
|
name: "europe",
|
|
567
|
-
websiteAppName: "
|
|
569
|
+
websiteAppName: "europe",
|
|
568
570
|
countryCode: "EU",
|
|
569
571
|
defaultCurrency: "EUR",
|
|
570
572
|
marketRegion: "europe",
|
|
571
573
|
emoji: "\u{1F1EA}\u{1F1FA}",
|
|
572
574
|
countriesToRedirect: getCountriesToRedirect("comeneu"),
|
|
575
|
+
hasDefaultResidenceCountry: false,
|
|
573
576
|
regionUrls: {
|
|
574
577
|
staging: "https://stg.iatiglobal.com/en-eu/",
|
|
575
578
|
production: "https://www.iatiglobal.com/en-eu/"
|
|
@@ -671,6 +674,7 @@ var commx_default = {
|
|
|
671
674
|
marketRegion: "latam",
|
|
672
675
|
emoji: "\u{1F1F2}\u{1F1FD}",
|
|
673
676
|
countriesToRedirect: getCountriesToRedirect("commx"),
|
|
677
|
+
hasDefaultResidenceCountry: true,
|
|
674
678
|
regionUrls: {
|
|
675
679
|
staging: "https://stg.iatiglobal.com/mx/",
|
|
676
680
|
production: "https://www.iatiglobal.com/mx/"
|
|
@@ -757,6 +761,7 @@ var compe_default = {
|
|
|
757
761
|
marketRegion: "latam",
|
|
758
762
|
emoji: "\u{1F1F5}\u{1F1EA}",
|
|
759
763
|
countriesToRedirect: getCountriesToRedirect("compe"),
|
|
764
|
+
hasDefaultResidenceCountry: true,
|
|
760
765
|
regionUrls: {
|
|
761
766
|
staging: "https://stg.iatiglobal.com/pe/",
|
|
762
767
|
production: "https://www.iatiglobal.com/pe/"
|
|
@@ -843,6 +848,7 @@ var es_default = {
|
|
|
843
848
|
marketRegion: "europe",
|
|
844
849
|
emoji: "\u{1F1EA}\u{1F1F8}",
|
|
845
850
|
countriesToRedirect: getCountriesToRedirect("es"),
|
|
851
|
+
hasDefaultResidenceCountry: true,
|
|
846
852
|
regionUrls: {
|
|
847
853
|
staging: "https://stg.iatiseguros.com",
|
|
848
854
|
production: "https://www.iatiseguros.com"
|
|
@@ -965,6 +971,7 @@ var it_default = {
|
|
|
965
971
|
marketRegion: "europe",
|
|
966
972
|
emoji: "\u{1F1EE}\u{1F1F9}",
|
|
967
973
|
countriesToRedirect: getCountriesToRedirect("it"),
|
|
974
|
+
hasDefaultResidenceCountry: true,
|
|
968
975
|
regionUrls: {
|
|
969
976
|
staging: "https://stg.iatiassicurazioni.it",
|
|
970
977
|
production: "https://www.iatiassicurazioni.it"
|
|
@@ -1061,6 +1068,7 @@ var pt_default = {
|
|
|
1061
1068
|
marketRegion: "europe",
|
|
1062
1069
|
emoji: "\u{1F1F5}\u{1F1F9}",
|
|
1063
1070
|
countriesToRedirect: getCountriesToRedirect("pt"),
|
|
1071
|
+
hasDefaultResidenceCountry: false,
|
|
1064
1072
|
regionUrls: {
|
|
1065
1073
|
staging: "https://stg.iatiseguros.pt",
|
|
1066
1074
|
production: "https://www.iatiseguros.pt"
|
|
@@ -1219,6 +1227,7 @@ var RegionConfigSchema = import_zod.z.strictObject({
|
|
|
1219
1227
|
})
|
|
1220
1228
|
).optional(),
|
|
1221
1229
|
residenceCountries: import_zod.z.array(CountryReferenceSchema).optional(),
|
|
1230
|
+
hasDefaultResidenceCountry: import_zod.z.boolean(),
|
|
1222
1231
|
usdPricingForNonResidents: import_zod.z.boolean().optional(),
|
|
1223
1232
|
regionUrls: import_zod.z.object({
|
|
1224
1233
|
staging: import_zod.z.url(),
|
package/dist/index.mjs
CHANGED
|
@@ -329,6 +329,7 @@ var comco_default = {
|
|
|
329
329
|
countriesToRedirect: getCountriesToRedirect("comco"),
|
|
330
330
|
residenceCountries: COUNTRIES_TO_REDIRECT.comco.countries,
|
|
331
331
|
usdPricingForNonResidents: true,
|
|
332
|
+
hasDefaultResidenceCountry: false,
|
|
332
333
|
regionUrls: {
|
|
333
334
|
staging: "https://iatiglobal.iatidev.link/co/",
|
|
334
335
|
production: "https://www.iatiglobal.com/co/"
|
|
@@ -415,6 +416,7 @@ var comen_default = {
|
|
|
415
416
|
marketRegion: "world",
|
|
416
417
|
emoji: "\u{1F310}",
|
|
417
418
|
countriesToRedirect: getCountriesToRedirect("comen"),
|
|
419
|
+
hasDefaultResidenceCountry: false,
|
|
418
420
|
regionUrls: {
|
|
419
421
|
staging: "https://stg.iatiglobal.com/en/",
|
|
420
422
|
production: "https://www.iatiglobal.com/en/"
|
|
@@ -510,12 +512,13 @@ var comen_default = {
|
|
|
510
512
|
var comeneu_default = {
|
|
511
513
|
id: 6,
|
|
512
514
|
name: "europe",
|
|
513
|
-
websiteAppName: "
|
|
515
|
+
websiteAppName: "europe",
|
|
514
516
|
countryCode: "EU",
|
|
515
517
|
defaultCurrency: "EUR",
|
|
516
518
|
marketRegion: "europe",
|
|
517
519
|
emoji: "\u{1F1EA}\u{1F1FA}",
|
|
518
520
|
countriesToRedirect: getCountriesToRedirect("comeneu"),
|
|
521
|
+
hasDefaultResidenceCountry: false,
|
|
519
522
|
regionUrls: {
|
|
520
523
|
staging: "https://stg.iatiglobal.com/en-eu/",
|
|
521
524
|
production: "https://www.iatiglobal.com/en-eu/"
|
|
@@ -617,6 +620,7 @@ var commx_default = {
|
|
|
617
620
|
marketRegion: "latam",
|
|
618
621
|
emoji: "\u{1F1F2}\u{1F1FD}",
|
|
619
622
|
countriesToRedirect: getCountriesToRedirect("commx"),
|
|
623
|
+
hasDefaultResidenceCountry: true,
|
|
620
624
|
regionUrls: {
|
|
621
625
|
staging: "https://stg.iatiglobal.com/mx/",
|
|
622
626
|
production: "https://www.iatiglobal.com/mx/"
|
|
@@ -703,6 +707,7 @@ var compe_default = {
|
|
|
703
707
|
marketRegion: "latam",
|
|
704
708
|
emoji: "\u{1F1F5}\u{1F1EA}",
|
|
705
709
|
countriesToRedirect: getCountriesToRedirect("compe"),
|
|
710
|
+
hasDefaultResidenceCountry: true,
|
|
706
711
|
regionUrls: {
|
|
707
712
|
staging: "https://stg.iatiglobal.com/pe/",
|
|
708
713
|
production: "https://www.iatiglobal.com/pe/"
|
|
@@ -789,6 +794,7 @@ var es_default = {
|
|
|
789
794
|
marketRegion: "europe",
|
|
790
795
|
emoji: "\u{1F1EA}\u{1F1F8}",
|
|
791
796
|
countriesToRedirect: getCountriesToRedirect("es"),
|
|
797
|
+
hasDefaultResidenceCountry: true,
|
|
792
798
|
regionUrls: {
|
|
793
799
|
staging: "https://stg.iatiseguros.com",
|
|
794
800
|
production: "https://www.iatiseguros.com"
|
|
@@ -911,6 +917,7 @@ var it_default = {
|
|
|
911
917
|
marketRegion: "europe",
|
|
912
918
|
emoji: "\u{1F1EE}\u{1F1F9}",
|
|
913
919
|
countriesToRedirect: getCountriesToRedirect("it"),
|
|
920
|
+
hasDefaultResidenceCountry: true,
|
|
914
921
|
regionUrls: {
|
|
915
922
|
staging: "https://stg.iatiassicurazioni.it",
|
|
916
923
|
production: "https://www.iatiassicurazioni.it"
|
|
@@ -1007,6 +1014,7 @@ var pt_default = {
|
|
|
1007
1014
|
marketRegion: "europe",
|
|
1008
1015
|
emoji: "\u{1F1F5}\u{1F1F9}",
|
|
1009
1016
|
countriesToRedirect: getCountriesToRedirect("pt"),
|
|
1017
|
+
hasDefaultResidenceCountry: false,
|
|
1010
1018
|
regionUrls: {
|
|
1011
1019
|
staging: "https://stg.iatiseguros.pt",
|
|
1012
1020
|
production: "https://www.iatiseguros.pt"
|
|
@@ -1165,6 +1173,7 @@ var RegionConfigSchema = z.strictObject({
|
|
|
1165
1173
|
})
|
|
1166
1174
|
).optional(),
|
|
1167
1175
|
residenceCountries: z.array(CountryReferenceSchema).optional(),
|
|
1176
|
+
hasDefaultResidenceCountry: z.boolean(),
|
|
1168
1177
|
usdPricingForNonResidents: z.boolean().optional(),
|
|
1169
1178
|
regionUrls: z.object({
|
|
1170
1179
|
staging: z.url(),
|