@fiado/type-kit 1.4.20 → 1.4.21

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.
Files changed (34) hide show
  1. package/bin/account/dtos/CreateBankAccountOutput.d.ts +5 -0
  2. package/bin/account/dtos/CreateBankAccountOutput.js +6 -0
  3. package/bin/account/dtos/CreateBankAccountUserOutput.d.ts +8 -0
  4. package/bin/account/dtos/CreateBankAccountUserOutput.js +6 -0
  5. package/bin/country/enums/CountriesISO3.d.ts +220 -0
  6. package/bin/country/enums/CountriesISO3.js +224 -0
  7. package/bin/country/index.d.ts +1 -3
  8. package/bin/country/index.js +1 -4
  9. package/bin/creditContract/dto/CreditContractCreateRequest.d.ts +15 -0
  10. package/bin/creditContract/dto/CreditContractCreateRequest.js +72 -0
  11. package/bin/transaction/TransactionCreateRequest.d.ts +2 -0
  12. package/bin/transaction/TransactionCreateRequest.js +6 -0
  13. package/bin/transaction/TransactionCreateResponse.d.ts +2 -0
  14. package/bin/transaction/TransactionCreateResponse.js +6 -0
  15. package/bin/transaction/dtos/TransactionSourceEnum.d.ts +5 -0
  16. package/bin/transaction/dtos/TransactionSourceEnum.js +9 -0
  17. package/package.json +1 -1
  18. package/src/country/enums/CountriesISO3.ts +220 -0
  19. package/src/country/index.ts +1 -5
  20. package/bin/country/enums/CountryISO2ToISO3.d.ts +0 -54
  21. package/bin/country/enums/CountryISO2ToISO3.js +0 -64
  22. package/bin/country/enums/CountryISO3ToISO2.d.ts +0 -52
  23. package/bin/country/enums/CountryISO3ToISO2.js +0 -60
  24. package/bin/country/utilities/CountryCodeConverter.d.ts +0 -4
  25. package/bin/country/utilities/CountryCodeConverter.js +0 -14
  26. package/bin/group/dtos/GroupDirectoryRetationsUpdateRequest.d.ts +0 -3
  27. package/bin/group/dtos/GroupDirectoryRetationsUpdateRequest.js +0 -22
  28. package/bin/transactionProcessor/dtos/private/AuthorizeP2pTransactionRequest.d.ts +0 -5
  29. package/bin/transactionProcessor/dtos/private/AuthorizeP2pTransactionRequest.js +0 -6
  30. package/bin/transactionProcessor/dtos/private/AuthorizePocketTransactionRequest.d.ts +0 -7
  31. package/bin/transactionProcessor/dtos/private/AuthorizePocketTransactionRequest.js +0 -6
  32. package/src/country/enums/CountryISO2ToISO3.ts +0 -69
  33. package/src/country/enums/CountryISO3ToISO2.ts +0 -61
  34. package/src/country/utilities/CountryCodeConverter.ts +0 -13
@@ -1,61 +0,0 @@
1
-
2
-
3
- export enum CountryISO3ToISO2 {
4
- // Latinoamérica
5
- ARG = "AR", // Argentina
6
- BOL = "BO", // Bolivia
7
- BRA = "BR", // Brasil
8
- CHL = "CL", // Chile
9
- COL = "CO", // Colombia
10
- CRI = "CR", // Costa Rica
11
- CUB = "CU", // Cuba
12
- DOM = "DO", // República Dominicana
13
- ECU = "EC", // Ecuador
14
- GTM = "GT", // Guatemala
15
- HND = "HN", // Honduras
16
- MEX = "MX", // México
17
- NIC = "NI", // Nicaragua
18
- PAN = "PA", // Panamá
19
- PRY = "PY", // Paraguay
20
- PER = "PE", // Perú
21
- SLV = "SV", // El Salvador
22
- URY = "UY", // Uruguay
23
- VEN = "VE", // Venezuela
24
-
25
- // Europa
26
- DEU = "DE", // Alemania
27
- AUT = "AT", // Austria
28
- BEL = "BE", // Bélgica
29
- DNK = "DK", // Dinamarca
30
- ESP = "ES", // España
31
- FIN = "FI", // Finlandia
32
- FRA = "FR", // Francia
33
- GRC = "GR", // Grecia
34
- HUN = "HU", // Hungría
35
- IRL = "IE", // Irlanda
36
- ITA = "IT", // Italia
37
- NLD = "NL", // Países Bajos
38
- NOR = "NO", // Noruega
39
- POL = "PL",
40
- PRT = "PT", // Portugal
41
- ROU = "RO", // Rumania
42
- SWE = "SE", // Suecia
43
- CHE = "CH", // Suiza
44
- GBR = "GB", // Reino Unido
45
- RUS = "RU", // Rusia
46
-
47
- // Asia y Oceanía
48
- CHN = "CN", // China
49
- IND = "IN", // India
50
- JPN = "JP", // Japón
51
- KOR = "KR", // Corea del Sur
52
- AUS = "AU", // Australia
53
- NZL = "NZ", // Nueva Zelanda
54
-
55
- // África
56
- ZAF = "ZA", // Sudáfrica
57
- EGY = "EG", // Egipto
58
- NGA = "NG", // Nigeria
59
- KEN = "KE", // Kenia
60
- MAR = "MA", // Marruecos
61
- }
@@ -1,13 +0,0 @@
1
- import { CountryISO2ToISO3 } from "../enums/CountryISO2ToISO3";
2
- import { CountryISO3ToISO2 } from "../enums/CountryISO3ToISO2";
3
-
4
-
5
- export class CountryCodeConverter {
6
- static getISO3FromISO2(iso2: string): string | undefined {
7
- return CountryISO2ToISO3[iso2 as keyof typeof CountryISO2ToISO3];
8
- }
9
-
10
- static getISO2FromISO3(iso3: string): string | undefined {
11
- return CountryISO3ToISO2[iso3 as keyof typeof CountryISO3ToISO2];
12
- }
13
- }