@enfuce/nextgen-sdk 0.0.2 → 0.0.4

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 (251) hide show
  1. package/dist/authorisation-control/api.d.ts +0 -302
  2. package/dist/authorisation-control/api.js +10 -28
  3. package/dist/authorisation-control/base.d.ts +0 -24
  4. package/dist/authorisation-control/base.js +0 -19
  5. package/dist/authorisation-control/common.d.ts +4 -35
  6. package/dist/authorisation-control/common.js +16 -38
  7. package/dist/authorisation-control/configuration.d.ts +24 -17
  8. package/dist/authorisation-control/configuration.js +3 -3
  9. package/dist/card/api.d.ts +41 -740
  10. package/dist/card/api.js +38 -105
  11. package/dist/card/base.d.ts +0 -24
  12. package/dist/card/base.js +0 -19
  13. package/dist/card/common.d.ts +4 -35
  14. package/dist/card/common.js +16 -38
  15. package/dist/card/configuration.d.ts +24 -17
  16. package/dist/card/configuration.js +3 -3
  17. package/dist/cardholder/api.d.ts +959 -686
  18. package/dist/cardholder/api.js +783 -73
  19. package/dist/cardholder/base.d.ts +0 -24
  20. package/dist/cardholder/base.js +0 -19
  21. package/dist/cardholder/common.d.ts +4 -35
  22. package/dist/cardholder/common.js +16 -38
  23. package/dist/cardholder/configuration.d.ts +24 -17
  24. package/dist/cardholder/configuration.js +3 -3
  25. package/dist/cards/api.d.ts +0 -7
  26. package/dist/cards/api.js +2 -9
  27. package/dist/cards/base.d.ts +0 -24
  28. package/dist/cards/base.js +0 -19
  29. package/dist/cards/common.d.ts +4 -35
  30. package/dist/cards/common.js +16 -38
  31. package/dist/cards/configuration.d.ts +24 -17
  32. package/dist/cards/configuration.js +3 -3
  33. package/dist/clearing-file-copy/api.d.ts +0 -497
  34. package/dist/clearing-file-copy/api.js +12 -26
  35. package/dist/clearing-file-copy/base.d.ts +0 -24
  36. package/dist/clearing-file-copy/base.js +0 -19
  37. package/dist/clearing-file-copy/common.d.ts +4 -35
  38. package/dist/clearing-file-copy/common.js +16 -38
  39. package/dist/clearing-file-copy/configuration.d.ts +24 -17
  40. package/dist/clearing-file-copy/configuration.js +3 -3
  41. package/dist/esm/authorisation-control/api.d.ts +0 -302
  42. package/dist/esm/authorisation-control/api.js +10 -28
  43. package/dist/esm/authorisation-control/base.d.ts +0 -24
  44. package/dist/esm/authorisation-control/base.js +0 -19
  45. package/dist/esm/authorisation-control/common.d.ts +4 -35
  46. package/dist/esm/authorisation-control/common.js +14 -37
  47. package/dist/esm/authorisation-control/configuration.d.ts +24 -17
  48. package/dist/esm/authorisation-control/configuration.js +3 -3
  49. package/dist/esm/card/api.d.ts +41 -740
  50. package/dist/esm/card/api.js +38 -105
  51. package/dist/esm/card/base.d.ts +0 -24
  52. package/dist/esm/card/base.js +0 -19
  53. package/dist/esm/card/common.d.ts +4 -35
  54. package/dist/esm/card/common.js +14 -37
  55. package/dist/esm/card/configuration.d.ts +24 -17
  56. package/dist/esm/card/configuration.js +3 -3
  57. package/dist/esm/cardholder/api.d.ts +959 -686
  58. package/dist/esm/cardholder/api.js +782 -72
  59. package/dist/esm/cardholder/base.d.ts +0 -24
  60. package/dist/esm/cardholder/base.js +0 -19
  61. package/dist/esm/cardholder/common.d.ts +4 -35
  62. package/dist/esm/cardholder/common.js +14 -37
  63. package/dist/esm/cardholder/configuration.d.ts +24 -17
  64. package/dist/esm/cardholder/configuration.js +3 -3
  65. package/dist/esm/cards/api.d.ts +0 -7
  66. package/dist/esm/cards/api.js +2 -9
  67. package/dist/esm/cards/base.d.ts +0 -24
  68. package/dist/esm/cards/base.js +0 -19
  69. package/dist/esm/cards/common.d.ts +4 -35
  70. package/dist/esm/cards/common.js +14 -37
  71. package/dist/esm/cards/configuration.d.ts +24 -17
  72. package/dist/esm/cards/configuration.js +3 -3
  73. package/dist/esm/clearing-file-copy/api.d.ts +0 -497
  74. package/dist/esm/clearing-file-copy/api.js +12 -26
  75. package/dist/esm/clearing-file-copy/base.d.ts +0 -24
  76. package/dist/esm/clearing-file-copy/base.js +0 -19
  77. package/dist/esm/clearing-file-copy/common.d.ts +4 -35
  78. package/dist/esm/clearing-file-copy/common.js +14 -37
  79. package/dist/esm/clearing-file-copy/configuration.d.ts +24 -17
  80. package/dist/esm/clearing-file-copy/configuration.js +3 -3
  81. package/dist/esm/exchange-rate/api.d.ts +409 -0
  82. package/dist/esm/exchange-rate/api.js +403 -0
  83. package/dist/esm/exchange-rate/base.d.ts +42 -0
  84. package/dist/esm/exchange-rate/base.js +41 -0
  85. package/dist/esm/exchange-rate/common.d.ts +34 -0
  86. package/dist/esm/exchange-rate/common.js +126 -0
  87. package/dist/esm/exchange-rate/configuration.d.ts +98 -0
  88. package/dist/esm/exchange-rate/configuration.js +40 -0
  89. package/dist/esm/exchange-rate/index.d.ts +13 -0
  90. package/dist/esm/exchange-rate/index.js +15 -0
  91. package/dist/esm/index.d.ts +1 -0
  92. package/dist/esm/index.js +1 -0
  93. package/dist/esm/issuer-events/api.d.ts +639 -601
  94. package/dist/esm/issuer-events/api.js +520 -54
  95. package/dist/esm/issuer-events/base.d.ts +0 -24
  96. package/dist/esm/issuer-events/base.js +0 -19
  97. package/dist/esm/issuer-events/common.d.ts +4 -35
  98. package/dist/esm/issuer-events/common.js +14 -37
  99. package/dist/esm/issuer-events/configuration.d.ts +24 -17
  100. package/dist/esm/issuer-events/configuration.js +3 -3
  101. package/dist/esm/pin/api.d.ts +0 -76
  102. package/dist/esm/pin/api.js +3 -15
  103. package/dist/esm/pin/base.d.ts +0 -24
  104. package/dist/esm/pin/base.js +0 -19
  105. package/dist/esm/pin/common.d.ts +4 -35
  106. package/dist/esm/pin/common.js +14 -37
  107. package/dist/esm/pin/configuration.d.ts +24 -17
  108. package/dist/esm/pin/configuration.js +3 -3
  109. package/dist/esm/threeds/api.d.ts +0 -18
  110. package/dist/esm/threeds/api.js +1 -8
  111. package/dist/esm/threeds/base.d.ts +0 -24
  112. package/dist/esm/threeds/base.js +0 -19
  113. package/dist/esm/threeds/common.d.ts +4 -35
  114. package/dist/esm/threeds/common.js +14 -37
  115. package/dist/esm/threeds/configuration.d.ts +24 -17
  116. package/dist/esm/threeds/configuration.js +3 -3
  117. package/dist/esm/threeds-oob/api.d.ts +0 -90
  118. package/dist/esm/threeds-oob/api.js +2 -9
  119. package/dist/esm/threeds-oob/base.d.ts +0 -24
  120. package/dist/esm/threeds-oob/base.js +0 -19
  121. package/dist/esm/threeds-oob/common.d.ts +4 -35
  122. package/dist/esm/threeds-oob/common.js +14 -37
  123. package/dist/esm/threeds-oob/configuration.d.ts +24 -17
  124. package/dist/esm/threeds-oob/configuration.js +3 -3
  125. package/dist/esm/transaction-event/api.d.ts +0 -452
  126. package/dist/esm/transaction-event/api.js +11 -27
  127. package/dist/esm/transaction-event/base.d.ts +0 -24
  128. package/dist/esm/transaction-event/base.js +0 -19
  129. package/dist/esm/transaction-event/common.d.ts +4 -35
  130. package/dist/esm/transaction-event/common.js +14 -37
  131. package/dist/esm/transaction-event/configuration.d.ts +24 -17
  132. package/dist/esm/transaction-event/configuration.js +3 -3
  133. package/dist/esm/wallet/api.d.ts +0 -342
  134. package/dist/esm/wallet/api.js +29 -83
  135. package/dist/esm/wallet/base.d.ts +0 -24
  136. package/dist/esm/wallet/base.js +0 -19
  137. package/dist/esm/wallet/common.d.ts +4 -35
  138. package/dist/esm/wallet/common.js +14 -37
  139. package/dist/esm/wallet/configuration.d.ts +24 -17
  140. package/dist/esm/wallet/configuration.js +3 -3
  141. package/dist/exchange-rate/api.d.ts +409 -0
  142. package/dist/exchange-rate/api.js +418 -0
  143. package/dist/exchange-rate/base.d.ts +42 -0
  144. package/dist/exchange-rate/base.js +46 -0
  145. package/dist/exchange-rate/common.d.ts +34 -0
  146. package/dist/exchange-rate/common.js +139 -0
  147. package/dist/exchange-rate/configuration.d.ts +98 -0
  148. package/dist/exchange-rate/configuration.js +44 -0
  149. package/dist/exchange-rate/index.d.ts +13 -0
  150. package/dist/exchange-rate/index.js +31 -0
  151. package/dist/index.d.ts +1 -0
  152. package/dist/index.js +2 -1
  153. package/dist/issuer-events/api.d.ts +639 -601
  154. package/dist/issuer-events/api.js +521 -55
  155. package/dist/issuer-events/base.d.ts +0 -24
  156. package/dist/issuer-events/base.js +0 -19
  157. package/dist/issuer-events/common.d.ts +4 -35
  158. package/dist/issuer-events/common.js +16 -38
  159. package/dist/issuer-events/configuration.d.ts +24 -17
  160. package/dist/issuer-events/configuration.js +3 -3
  161. package/dist/pin/api.d.ts +0 -76
  162. package/dist/pin/api.js +3 -15
  163. package/dist/pin/base.d.ts +0 -24
  164. package/dist/pin/base.js +0 -19
  165. package/dist/pin/common.d.ts +4 -35
  166. package/dist/pin/common.js +16 -38
  167. package/dist/pin/configuration.d.ts +24 -17
  168. package/dist/pin/configuration.js +3 -3
  169. package/dist/threeds/api.d.ts +0 -18
  170. package/dist/threeds/api.js +1 -8
  171. package/dist/threeds/base.d.ts +0 -24
  172. package/dist/threeds/base.js +0 -19
  173. package/dist/threeds/common.d.ts +4 -35
  174. package/dist/threeds/common.js +16 -38
  175. package/dist/threeds/configuration.d.ts +24 -17
  176. package/dist/threeds/configuration.js +3 -3
  177. package/dist/threeds-oob/api.d.ts +0 -90
  178. package/dist/threeds-oob/api.js +2 -9
  179. package/dist/threeds-oob/base.d.ts +0 -24
  180. package/dist/threeds-oob/base.js +0 -19
  181. package/dist/threeds-oob/common.d.ts +4 -35
  182. package/dist/threeds-oob/common.js +16 -38
  183. package/dist/threeds-oob/configuration.d.ts +24 -17
  184. package/dist/threeds-oob/configuration.js +3 -3
  185. package/dist/transaction-event/api.d.ts +0 -452
  186. package/dist/transaction-event/api.js +11 -27
  187. package/dist/transaction-event/base.d.ts +0 -24
  188. package/dist/transaction-event/base.js +0 -19
  189. package/dist/transaction-event/common.d.ts +4 -35
  190. package/dist/transaction-event/common.js +16 -38
  191. package/dist/transaction-event/configuration.d.ts +24 -17
  192. package/dist/transaction-event/configuration.js +3 -3
  193. package/dist/wallet/api.d.ts +0 -342
  194. package/dist/wallet/api.js +29 -83
  195. package/dist/wallet/base.d.ts +0 -24
  196. package/dist/wallet/base.js +0 -19
  197. package/dist/wallet/common.d.ts +4 -35
  198. package/dist/wallet/common.js +16 -38
  199. package/dist/wallet/configuration.d.ts +24 -17
  200. package/dist/wallet/configuration.js +3 -3
  201. package/package.json +2 -2
  202. package/src/authorisation-control/api.ts +11 -314
  203. package/src/authorisation-control/base.ts +0 -24
  204. package/src/authorisation-control/common.ts +15 -38
  205. package/src/authorisation-control/configuration.ts +26 -20
  206. package/src/card/api.ts +80 -786
  207. package/src/card/base.ts +0 -24
  208. package/src/card/common.ts +15 -38
  209. package/src/card/configuration.ts +26 -20
  210. package/src/cardholder/api.ts +987 -714
  211. package/src/cardholder/base.ts +0 -24
  212. package/src/cardholder/common.ts +15 -38
  213. package/src/cardholder/configuration.ts +26 -20
  214. package/src/cards/api.ts +3 -11
  215. package/src/cards/base.ts +0 -24
  216. package/src/cards/common.ts +15 -38
  217. package/src/cards/configuration.ts +26 -20
  218. package/src/clearing-file-copy/api.ts +13 -510
  219. package/src/clearing-file-copy/base.ts +0 -24
  220. package/src/clearing-file-copy/common.ts +15 -38
  221. package/src/clearing-file-copy/configuration.ts +26 -20
  222. package/src/exchange-rate/api.ts +615 -0
  223. package/src/exchange-rate/base.ts +62 -0
  224. package/src/exchange-rate/common.ts +127 -0
  225. package/src/exchange-rate/configuration.ts +121 -0
  226. package/src/exchange-rate/index.ts +18 -0
  227. package/src/index.ts +1 -0
  228. package/src/issuer-events/api.ts +661 -628
  229. package/src/issuer-events/base.ts +0 -24
  230. package/src/issuer-events/common.ts +15 -38
  231. package/src/issuer-events/configuration.ts +26 -20
  232. package/src/pin/api.ts +4 -83
  233. package/src/pin/base.ts +0 -24
  234. package/src/pin/common.ts +15 -38
  235. package/src/pin/configuration.ts +26 -20
  236. package/src/threeds/api.ts +2 -22
  237. package/src/threeds/base.ts +0 -24
  238. package/src/threeds/common.ts +15 -38
  239. package/src/threeds/configuration.ts +26 -20
  240. package/src/threeds-oob/api.ts +3 -95
  241. package/src/threeds-oob/base.ts +0 -24
  242. package/src/threeds-oob/common.ts +15 -38
  243. package/src/threeds-oob/configuration.ts +26 -20
  244. package/src/transaction-event/api.ts +12 -464
  245. package/src/transaction-event/base.ts +0 -24
  246. package/src/transaction-event/common.ts +15 -38
  247. package/src/transaction-event/configuration.ts +26 -20
  248. package/src/wallet/api.ts +30 -377
  249. package/src/wallet/base.ts +0 -24
  250. package/src/wallet/common.ts +15 -38
  251. package/src/wallet/configuration.ts +26 -20
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
22
22
  });
23
23
  };
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
- exports.UpdateCardholderApi = exports.UpdateCardholderApiFactory = exports.UpdateCardholderApiFp = exports.UpdateCardholderApiAxiosParamCreator = exports.GetCardsByCardholderIdApi = exports.GetCardsByCardholderIdApiFactory = exports.GetCardsByCardholderIdApiFp = exports.GetCardsByCardholderIdApiAxiosParamCreator = exports.GetCardholderApi = exports.GetCardholderApiFactory = exports.GetCardholderApiFp = exports.GetCardholderApiAxiosParamCreator = exports.CreateCardholderApi = exports.CreateCardholderApiFactory = exports.CreateCardholderApiFp = exports.CreateCardholderApiAxiosParamCreator = exports.RiskScore = exports.PinStatus = exports.PinDeliveryType = exports.Locale = exports.CountryCodesAlpha3 = exports.CardVersionStatus = exports.CardStatus = exports.CardScheme = exports.CardRole = exports.CardDeliveryType = exports.CardConfigurationType = void 0;
25
+ exports.UpdateCardholderApi = exports.UpdateCardholderApiFactory = exports.UpdateCardholderApiFp = exports.UpdateCardholderApiAxiosParamCreator = exports.GetCardsByCardholderIdApi = exports.GetCardsByCardholderIdApiFactory = exports.GetCardsByCardholderIdApiFp = exports.GetCardsByCardholderIdApiAxiosParamCreator = exports.GetCardholderApi = exports.GetCardholderApiFactory = exports.GetCardholderApiFp = exports.GetCardholderApiAxiosParamCreator = exports.CreateCardholderApi = exports.CreateCardholderApiFactory = exports.CreateCardholderApiFp = exports.CreateCardholderApiAxiosParamCreator = exports.UpdateCardholderBodyNationalityEnum = exports.RiskScore = exports.PinStatus = exports.PinDeliveryType = exports.Locale = exports.CreateCardholderBodyNationalityEnum = exports.CountryCodesAlpha3 = exports.CardholderResponseNationalityEnum = exports.CardVersionStatus = exports.CardStatus = exports.CardScheme = exports.CardRole = exports.CardDeliveryType = exports.CardConfigurationType = void 0;
26
26
  const axios_1 = require("axios");
27
27
  // Some imports not used depending on template conditions
28
28
  // @ts-ignore
@@ -31,18 +31,14 @@ const common_1 = require("./common");
31
31
  const base_1 = require("./base");
32
32
  /**
33
33
  * The type of card defined by this card configuration.
34
- * @export
35
- * @enum {string}
36
34
  */
37
35
  exports.CardConfigurationType = {
38
36
  Debit: 'DEBIT',
39
37
  Credit: 'CREDIT',
40
- Combo: 'COMBO'
38
+ Combo: 'COMBO',
41
39
  };
42
40
  /**
43
41
  * Select the type of delivery you prefer for the new card being created. - MAIL - The card would be sent via mail services. - COURIER - The card would be sent via courier services. - CUSTOM_1–CUSTOM_5 - Custom delivery types that can be used for shipping methods agreed between the customer and the bureau.
44
- * @export
45
- * @enum {string}
46
42
  */
47
43
  exports.CardDeliveryType = {
48
44
  Mail: 'MAIL',
@@ -51,30 +47,21 @@ exports.CardDeliveryType = {
51
47
  Custom2: 'CUSTOM_2',
52
48
  Custom3: 'CUSTOM_3',
53
49
  Custom4: 'CUSTOM_4',
54
- Custom5: 'CUSTOM_5'
50
+ Custom5: 'CUSTOM_5',
55
51
  };
56
52
  /**
57
53
  * The role of the card. Multi application cards will have one main card and multiple card applications. Single cards will be treated as main cards.
58
- * @export
59
- * @enum {string}
60
54
  */
61
55
  exports.CardRole = {
62
56
  MainCard: 'MAIN_CARD',
63
- CardApplication: 'CARD_APPLICATION'
57
+ CardApplication: 'CARD_APPLICATION',
64
58
  };
65
- /**
66
- *
67
- * @export
68
- * @enum {string}
69
- */
70
59
  exports.CardScheme = {
71
60
  Mastercard: 'MASTERCARD',
72
- Visa: 'VISA'
61
+ Visa: 'VISA',
73
62
  };
74
63
  /**
75
64
  * - ACTIVE - Card is active and is enabled for normal usage. - BLOCKED - Card is temporarily blocked. - BLOCKED_SUSPECTED_FRAUD - Card is temporarily blocked due to suspected fraud. - CLOSED_DUE_TO_FRAUD - Card has been closed due to fraud. - CLOSED_LOST - Card has been closed due to being lost. - CLOSED_STOLEN - Card has been closed due to being stolen. - CLOSED - Card has been manually closed. - CLOSED_EXPIRED - Card has no active or initial card versions and cannot be used.
76
- * @export
77
- * @enum {string}
78
65
  */
79
66
  exports.CardStatus = {
80
67
  Active: 'ACTIVE',
@@ -84,24 +71,525 @@ exports.CardStatus = {
84
71
  ClosedLost: 'CLOSED_LOST',
85
72
  ClosedStolen: 'CLOSED_STOLEN',
86
73
  Closed: 'CLOSED',
87
- ClosedExpired: 'CLOSED_EXPIRED'
74
+ ClosedExpired: 'CLOSED_EXPIRED',
88
75
  };
89
76
  /**
90
77
  * - ACTIVE - The card is completely operational. You can perform all actions with the card. - INITIAL - The specific card version is awaiting activation. During this state, the card can have limited usage, such as being added to a digital wallet or cardholder can view the PIN (if it is a plastic card). However, in the INITIAL state, the card cannot be used for payments. - CLOSED - The previous versions of the card are no longer valid as a new version is activated or the card is closed.
91
- * @export
92
- * @enum {string}
93
78
  */
94
79
  exports.CardVersionStatus = {
95
80
  Active: 'ACTIVE',
96
81
  Initial: 'INITIAL',
97
- Closed: 'CLOSED'
82
+ Closed: 'CLOSED',
83
+ };
84
+ exports.CardholderResponseNationalityEnum = {
85
+ Abw: 'ABW',
86
+ Afg: 'AFG',
87
+ Ago: 'AGO',
88
+ Aia: 'AIA',
89
+ Ala: 'ALA',
90
+ Alb: 'ALB',
91
+ And: 'AND',
92
+ Are: 'ARE',
93
+ Arg: 'ARG',
94
+ Arm: 'ARM',
95
+ Asm: 'ASM',
96
+ Ata: 'ATA',
97
+ Atf: 'ATF',
98
+ Atg: 'ATG',
99
+ Aus: 'AUS',
100
+ Aut: 'AUT',
101
+ Aze: 'AZE',
102
+ Bdi: 'BDI',
103
+ Bel: 'BEL',
104
+ Ben: 'BEN',
105
+ Bes: 'BES',
106
+ Bfa: 'BFA',
107
+ Bgd: 'BGD',
108
+ Bgr: 'BGR',
109
+ Bhr: 'BHR',
110
+ Bhs: 'BHS',
111
+ Bih: 'BIH',
112
+ Blm: 'BLM',
113
+ Blr: 'BLR',
114
+ Blz: 'BLZ',
115
+ Bmu: 'BMU',
116
+ Bol: 'BOL',
117
+ Bra: 'BRA',
118
+ Brb: 'BRB',
119
+ Brn: 'BRN',
120
+ Btn: 'BTN',
121
+ Bvt: 'BVT',
122
+ Bwa: 'BWA',
123
+ Caf: 'CAF',
124
+ Can: 'CAN',
125
+ Cck: 'CCK',
126
+ Che: 'CHE',
127
+ Chl: 'CHL',
128
+ Chn: 'CHN',
129
+ Civ: 'CIV',
130
+ Cmr: 'CMR',
131
+ Cod: 'COD',
132
+ Cog: 'COG',
133
+ Cok: 'COK',
134
+ Col: 'COL',
135
+ Com: 'COM',
136
+ Cpv: 'CPV',
137
+ Cri: 'CRI',
138
+ Cub: 'CUB',
139
+ Cuw: 'CUW',
140
+ Cxr: 'CXR',
141
+ Cym: 'CYM',
142
+ Cyp: 'CYP',
143
+ Cze: 'CZE',
144
+ Deu: 'DEU',
145
+ Dji: 'DJI',
146
+ Dma: 'DMA',
147
+ Dnk: 'DNK',
148
+ Dom: 'DOM',
149
+ Dza: 'DZA',
150
+ Ecu: 'ECU',
151
+ Egy: 'EGY',
152
+ Eri: 'ERI',
153
+ Esh: 'ESH',
154
+ Esp: 'ESP',
155
+ Est: 'EST',
156
+ Eth: 'ETH',
157
+ Fin: 'FIN',
158
+ Fji: 'FJI',
159
+ Flk: 'FLK',
160
+ Fra: 'FRA',
161
+ Fro: 'FRO',
162
+ Fsm: 'FSM',
163
+ Gab: 'GAB',
164
+ Gbr: 'GBR',
165
+ Geo: 'GEO',
166
+ Ggy: 'GGY',
167
+ Gha: 'GHA',
168
+ Gib: 'GIB',
169
+ Gin: 'GIN',
170
+ Glp: 'GLP',
171
+ Gmb: 'GMB',
172
+ Gnb: 'GNB',
173
+ Gnq: 'GNQ',
174
+ Grc: 'GRC',
175
+ Grd: 'GRD',
176
+ Grl: 'GRL',
177
+ Gtm: 'GTM',
178
+ Guf: 'GUF',
179
+ Gum: 'GUM',
180
+ Guy: 'GUY',
181
+ Hkg: 'HKG',
182
+ Hmd: 'HMD',
183
+ Hnd: 'HND',
184
+ Hrv: 'HRV',
185
+ Hti: 'HTI',
186
+ Hun: 'HUN',
187
+ Idn: 'IDN',
188
+ Imn: 'IMN',
189
+ Ind: 'IND',
190
+ Iot: 'IOT',
191
+ Irl: 'IRL',
192
+ Irn: 'IRN',
193
+ Irq: 'IRQ',
194
+ Isl: 'ISL',
195
+ Isr: 'ISR',
196
+ Ita: 'ITA',
197
+ Jam: 'JAM',
198
+ Jey: 'JEY',
199
+ Jor: 'JOR',
200
+ Jpn: 'JPN',
201
+ Kaz: 'KAZ',
202
+ Ken: 'KEN',
203
+ Kgz: 'KGZ',
204
+ Khm: 'KHM',
205
+ Kir: 'KIR',
206
+ Kna: 'KNA',
207
+ Kor: 'KOR',
208
+ Kwt: 'KWT',
209
+ Lao: 'LAO',
210
+ Lbn: 'LBN',
211
+ Lbr: 'LBR',
212
+ Lby: 'LBY',
213
+ Lca: 'LCA',
214
+ Lie: 'LIE',
215
+ Lka: 'LKA',
216
+ Lso: 'LSO',
217
+ Ltu: 'LTU',
218
+ Lux: 'LUX',
219
+ Lva: 'LVA',
220
+ Mac: 'MAC',
221
+ Maf: 'MAF',
222
+ Mar: 'MAR',
223
+ Mco: 'MCO',
224
+ Mda: 'MDA',
225
+ Mdg: 'MDG',
226
+ Mdv: 'MDV',
227
+ Mex: 'MEX',
228
+ Mhl: 'MHL',
229
+ Mkd: 'MKD',
230
+ Mli: 'MLI',
231
+ Mlt: 'MLT',
232
+ Mmr: 'MMR',
233
+ Mne: 'MNE',
234
+ Mng: 'MNG',
235
+ Mnp: 'MNP',
236
+ Moz: 'MOZ',
237
+ Mrt: 'MRT',
238
+ Msr: 'MSR',
239
+ Mtq: 'MTQ',
240
+ Mus: 'MUS',
241
+ Mwi: 'MWI',
242
+ Mys: 'MYS',
243
+ Myt: 'MYT',
244
+ Nam: 'NAM',
245
+ Ncl: 'NCL',
246
+ Ner: 'NER',
247
+ Nfk: 'NFK',
248
+ Nga: 'NGA',
249
+ Nic: 'NIC',
250
+ Niu: 'NIU',
251
+ Nld: 'NLD',
252
+ Nor: 'NOR',
253
+ Npl: 'NPL',
254
+ Nru: 'NRU',
255
+ Nzl: 'NZL',
256
+ Omn: 'OMN',
257
+ Pak: 'PAK',
258
+ Pan: 'PAN',
259
+ Pcn: 'PCN',
260
+ Per: 'PER',
261
+ Phl: 'PHL',
262
+ Plw: 'PLW',
263
+ Png: 'PNG',
264
+ Pol: 'POL',
265
+ Pri: 'PRI',
266
+ Prk: 'PRK',
267
+ Prt: 'PRT',
268
+ Pry: 'PRY',
269
+ Pse: 'PSE',
270
+ Pyf: 'PYF',
271
+ Qat: 'QAT',
272
+ Reu: 'REU',
273
+ Rou: 'ROU',
274
+ Rus: 'RUS',
275
+ Rwa: 'RWA',
276
+ Sau: 'SAU',
277
+ Sdn: 'SDN',
278
+ Sen: 'SEN',
279
+ Sgp: 'SGP',
280
+ Sgs: 'SGS',
281
+ Shn: 'SHN',
282
+ Sjm: 'SJM',
283
+ Slb: 'SLB',
284
+ Sle: 'SLE',
285
+ Slv: 'SLV',
286
+ Smr: 'SMR',
287
+ Som: 'SOM',
288
+ Spm: 'SPM',
289
+ Srb: 'SRB',
290
+ Ssd: 'SSD',
291
+ Stp: 'STP',
292
+ Sur: 'SUR',
293
+ Svk: 'SVK',
294
+ Svn: 'SVN',
295
+ Swe: 'SWE',
296
+ Swz: 'SWZ',
297
+ Sxm: 'SXM',
298
+ Syc: 'SYC',
299
+ Syr: 'SYR',
300
+ Tca: 'TCA',
301
+ Tcd: 'TCD',
302
+ Tgo: 'TGO',
303
+ Tha: 'THA',
304
+ Tjk: 'TJK',
305
+ Tkl: 'TKL',
306
+ Tkm: 'TKM',
307
+ Tls: 'TLS',
308
+ Ton: 'TON',
309
+ Tto: 'TTO',
310
+ Tun: 'TUN',
311
+ Tur: 'TUR',
312
+ Tuv: 'TUV',
313
+ Twn: 'TWN',
314
+ Tza: 'TZA',
315
+ Uga: 'UGA',
316
+ Ukr: 'UKR',
317
+ Umi: 'UMI',
318
+ Ury: 'URY',
319
+ Usa: 'USA',
320
+ Uzb: 'UZB',
321
+ Vat: 'VAT',
322
+ Vct: 'VCT',
323
+ Ven: 'VEN',
324
+ Vgb: 'VGB',
325
+ Vir: 'VIR',
326
+ Vnm: 'VNM',
327
+ Vut: 'VUT',
328
+ Wlf: 'WLF',
329
+ Wsm: 'WSM',
330
+ Yem: 'YEM',
331
+ Zaf: 'ZAF',
332
+ Zmb: 'ZMB',
333
+ Zwe: 'ZWE',
334
+ Xkx: 'XKX',
335
+ Xxx: 'XXX',
336
+ };
337
+ /**
338
+ * ISO 3166-1 alpha-3 country codes. XKX is used for the Kosovo.
339
+ */
340
+ exports.CountryCodesAlpha3 = {
341
+ Abw: 'ABW',
342
+ Afg: 'AFG',
343
+ Ago: 'AGO',
344
+ Aia: 'AIA',
345
+ Ala: 'ALA',
346
+ Alb: 'ALB',
347
+ And: 'AND',
348
+ Are: 'ARE',
349
+ Arg: 'ARG',
350
+ Arm: 'ARM',
351
+ Asm: 'ASM',
352
+ Ata: 'ATA',
353
+ Atf: 'ATF',
354
+ Atg: 'ATG',
355
+ Aus: 'AUS',
356
+ Aut: 'AUT',
357
+ Aze: 'AZE',
358
+ Bdi: 'BDI',
359
+ Bel: 'BEL',
360
+ Ben: 'BEN',
361
+ Bes: 'BES',
362
+ Bfa: 'BFA',
363
+ Bgd: 'BGD',
364
+ Bgr: 'BGR',
365
+ Bhr: 'BHR',
366
+ Bhs: 'BHS',
367
+ Bih: 'BIH',
368
+ Blm: 'BLM',
369
+ Blr: 'BLR',
370
+ Blz: 'BLZ',
371
+ Bmu: 'BMU',
372
+ Bol: 'BOL',
373
+ Bra: 'BRA',
374
+ Brb: 'BRB',
375
+ Brn: 'BRN',
376
+ Btn: 'BTN',
377
+ Bvt: 'BVT',
378
+ Bwa: 'BWA',
379
+ Caf: 'CAF',
380
+ Can: 'CAN',
381
+ Cck: 'CCK',
382
+ Che: 'CHE',
383
+ Chl: 'CHL',
384
+ Chn: 'CHN',
385
+ Civ: 'CIV',
386
+ Cmr: 'CMR',
387
+ Cod: 'COD',
388
+ Cog: 'COG',
389
+ Cok: 'COK',
390
+ Col: 'COL',
391
+ Com: 'COM',
392
+ Cpv: 'CPV',
393
+ Cri: 'CRI',
394
+ Cub: 'CUB',
395
+ Cuw: 'CUW',
396
+ Cxr: 'CXR',
397
+ Cym: 'CYM',
398
+ Cyp: 'CYP',
399
+ Cze: 'CZE',
400
+ Deu: 'DEU',
401
+ Dji: 'DJI',
402
+ Dma: 'DMA',
403
+ Dnk: 'DNK',
404
+ Dom: 'DOM',
405
+ Dza: 'DZA',
406
+ Ecu: 'ECU',
407
+ Egy: 'EGY',
408
+ Eri: 'ERI',
409
+ Esh: 'ESH',
410
+ Esp: 'ESP',
411
+ Est: 'EST',
412
+ Eth: 'ETH',
413
+ Fin: 'FIN',
414
+ Fji: 'FJI',
415
+ Flk: 'FLK',
416
+ Fra: 'FRA',
417
+ Fro: 'FRO',
418
+ Fsm: 'FSM',
419
+ Gab: 'GAB',
420
+ Gbr: 'GBR',
421
+ Geo: 'GEO',
422
+ Ggy: 'GGY',
423
+ Gha: 'GHA',
424
+ Gib: 'GIB',
425
+ Gin: 'GIN',
426
+ Glp: 'GLP',
427
+ Gmb: 'GMB',
428
+ Gnb: 'GNB',
429
+ Gnq: 'GNQ',
430
+ Grc: 'GRC',
431
+ Grd: 'GRD',
432
+ Grl: 'GRL',
433
+ Gtm: 'GTM',
434
+ Guf: 'GUF',
435
+ Gum: 'GUM',
436
+ Guy: 'GUY',
437
+ Hkg: 'HKG',
438
+ Hmd: 'HMD',
439
+ Hnd: 'HND',
440
+ Hrv: 'HRV',
441
+ Hti: 'HTI',
442
+ Hun: 'HUN',
443
+ Idn: 'IDN',
444
+ Imn: 'IMN',
445
+ Ind: 'IND',
446
+ Iot: 'IOT',
447
+ Irl: 'IRL',
448
+ Irn: 'IRN',
449
+ Irq: 'IRQ',
450
+ Isl: 'ISL',
451
+ Isr: 'ISR',
452
+ Ita: 'ITA',
453
+ Jam: 'JAM',
454
+ Jey: 'JEY',
455
+ Jor: 'JOR',
456
+ Jpn: 'JPN',
457
+ Kaz: 'KAZ',
458
+ Ken: 'KEN',
459
+ Kgz: 'KGZ',
460
+ Khm: 'KHM',
461
+ Kir: 'KIR',
462
+ Kna: 'KNA',
463
+ Kor: 'KOR',
464
+ Kwt: 'KWT',
465
+ Lao: 'LAO',
466
+ Lbn: 'LBN',
467
+ Lbr: 'LBR',
468
+ Lby: 'LBY',
469
+ Lca: 'LCA',
470
+ Lie: 'LIE',
471
+ Lka: 'LKA',
472
+ Lso: 'LSO',
473
+ Ltu: 'LTU',
474
+ Lux: 'LUX',
475
+ Lva: 'LVA',
476
+ Mac: 'MAC',
477
+ Maf: 'MAF',
478
+ Mar: 'MAR',
479
+ Mco: 'MCO',
480
+ Mda: 'MDA',
481
+ Mdg: 'MDG',
482
+ Mdv: 'MDV',
483
+ Mex: 'MEX',
484
+ Mhl: 'MHL',
485
+ Mkd: 'MKD',
486
+ Mli: 'MLI',
487
+ Mlt: 'MLT',
488
+ Mmr: 'MMR',
489
+ Mne: 'MNE',
490
+ Mng: 'MNG',
491
+ Mnp: 'MNP',
492
+ Moz: 'MOZ',
493
+ Mrt: 'MRT',
494
+ Msr: 'MSR',
495
+ Mtq: 'MTQ',
496
+ Mus: 'MUS',
497
+ Mwi: 'MWI',
498
+ Mys: 'MYS',
499
+ Myt: 'MYT',
500
+ Nam: 'NAM',
501
+ Ncl: 'NCL',
502
+ Ner: 'NER',
503
+ Nfk: 'NFK',
504
+ Nga: 'NGA',
505
+ Nic: 'NIC',
506
+ Niu: 'NIU',
507
+ Nld: 'NLD',
508
+ Nor: 'NOR',
509
+ Npl: 'NPL',
510
+ Nru: 'NRU',
511
+ Nzl: 'NZL',
512
+ Omn: 'OMN',
513
+ Pak: 'PAK',
514
+ Pan: 'PAN',
515
+ Pcn: 'PCN',
516
+ Per: 'PER',
517
+ Phl: 'PHL',
518
+ Plw: 'PLW',
519
+ Png: 'PNG',
520
+ Pol: 'POL',
521
+ Pri: 'PRI',
522
+ Prk: 'PRK',
523
+ Prt: 'PRT',
524
+ Pry: 'PRY',
525
+ Pse: 'PSE',
526
+ Pyf: 'PYF',
527
+ Qat: 'QAT',
528
+ Reu: 'REU',
529
+ Rou: 'ROU',
530
+ Rus: 'RUS',
531
+ Rwa: 'RWA',
532
+ Sau: 'SAU',
533
+ Sdn: 'SDN',
534
+ Sen: 'SEN',
535
+ Sgp: 'SGP',
536
+ Sgs: 'SGS',
537
+ Shn: 'SHN',
538
+ Sjm: 'SJM',
539
+ Slb: 'SLB',
540
+ Sle: 'SLE',
541
+ Slv: 'SLV',
542
+ Smr: 'SMR',
543
+ Som: 'SOM',
544
+ Spm: 'SPM',
545
+ Srb: 'SRB',
546
+ Ssd: 'SSD',
547
+ Stp: 'STP',
548
+ Sur: 'SUR',
549
+ Svk: 'SVK',
550
+ Svn: 'SVN',
551
+ Swe: 'SWE',
552
+ Swz: 'SWZ',
553
+ Sxm: 'SXM',
554
+ Syc: 'SYC',
555
+ Syr: 'SYR',
556
+ Tca: 'TCA',
557
+ Tcd: 'TCD',
558
+ Tgo: 'TGO',
559
+ Tha: 'THA',
560
+ Tjk: 'TJK',
561
+ Tkl: 'TKL',
562
+ Tkm: 'TKM',
563
+ Tls: 'TLS',
564
+ Ton: 'TON',
565
+ Tto: 'TTO',
566
+ Tun: 'TUN',
567
+ Tur: 'TUR',
568
+ Tuv: 'TUV',
569
+ Twn: 'TWN',
570
+ Tza: 'TZA',
571
+ Uga: 'UGA',
572
+ Ukr: 'UKR',
573
+ Umi: 'UMI',
574
+ Ury: 'URY',
575
+ Usa: 'USA',
576
+ Uzb: 'UZB',
577
+ Vat: 'VAT',
578
+ Vct: 'VCT',
579
+ Ven: 'VEN',
580
+ Vgb: 'VGB',
581
+ Vir: 'VIR',
582
+ Vnm: 'VNM',
583
+ Vut: 'VUT',
584
+ Wlf: 'WLF',
585
+ Wsm: 'WSM',
586
+ Yem: 'YEM',
587
+ Zaf: 'ZAF',
588
+ Zmb: 'ZMB',
589
+ Zwe: 'ZWE',
590
+ Xkx: 'XKX',
98
591
  };
99
- /**
100
- * ISO 3166-1 alpha-3 country codes. XKX is used for the Kosovo.
101
- * @export
102
- * @enum {string}
103
- */
104
- exports.CountryCodesAlpha3 = {
592
+ exports.CreateCardholderBodyNationalityEnum = {
105
593
  Abw: 'ABW',
106
594
  Afg: 'AFG',
107
595
  Ago: 'AGO',
@@ -351,12 +839,11 @@ exports.CountryCodesAlpha3 = {
351
839
  Zaf: 'ZAF',
352
840
  Zmb: 'ZMB',
353
841
  Zwe: 'ZWE',
354
- Xkx: 'XKX'
842
+ Xkx: 'XKX',
843
+ Xxx: 'XXX',
355
844
  };
356
845
  /**
357
846
  * Cardholder\'s language and country code in RFC 5646 format. Temporary for backwards compatibility, the API also accepts legacy underscore values such as en_GB, but will be removed in future releases. Responses and events always use the RFC 5646 hyphenated format.
358
- * @export
359
- * @enum {string}
360
847
  */
361
848
  exports.Locale = {
362
849
  AfZa: 'af-ZA',
@@ -638,44 +1125,290 @@ exports.Locale = {
638
1125
  ZhMo2: 'zh_MO',
639
1126
  ZhSg2: 'zh_SG',
640
1127
  ZhTw2: 'zh_TW',
641
- ZuZa2: 'zu_ZA'
1128
+ ZuZa2: 'zu_ZA',
642
1129
  };
643
1130
  /**
644
1131
  * Select the type of delivery you prefer for sending the card PIN. - MAIL - The card PIN would be sent via mail services. - COURIER - The card PIN would be sent via courier services. - EPIN - The card PIN would be sent digitally.
645
- * @export
646
- * @enum {string}
647
1132
  */
648
1133
  exports.PinDeliveryType = {
649
1134
  Mail: 'MAIL',
650
1135
  Courier: 'COURIER',
651
- Epin: 'EPIN'
1136
+ Epin: 'EPIN',
652
1137
  };
653
1138
  /**
654
1139
  * - GENERATED - A pin has been randomly generated for the card. - WAITING - A pin is waiting to be set on the card. - SET - A pin has been manually set on the card. - INHERITED - For card applications only. The pin status is inherited from the main card.
655
- * @export
656
- * @enum {string}
657
1140
  */
658
1141
  exports.PinStatus = {
659
1142
  Generated: 'GENERATED',
660
1143
  Waiting: 'WAITING',
661
1144
  Set: 'SET',
662
- Inherited: 'INHERITED'
1145
+ Inherited: 'INHERITED',
663
1146
  };
664
1147
  /**
665
1148
  * Risk assessment score of the customer: - High - High-risk customer - Med - Medium-risk customer - Low - Low-risk customer - Pep - Politically Exposed Person (PEP) - Prohibited - Customer sanctioned or outside of risk appetite If you are using Enfuce as your BIN sponsor (under ELS or EUK licensing), you are required to populate this field due to regulatory requirements.
666
- * @export
667
- * @enum {string}
668
1149
  */
669
1150
  exports.RiskScore = {
670
1151
  High: 'High',
671
1152
  Med: 'Med',
672
1153
  Low: 'Low',
673
1154
  Pep: 'Pep',
674
- Prohibited: 'Prohibited'
1155
+ Prohibited: 'Prohibited',
1156
+ };
1157
+ exports.UpdateCardholderBodyNationalityEnum = {
1158
+ Abw: 'ABW',
1159
+ Afg: 'AFG',
1160
+ Ago: 'AGO',
1161
+ Aia: 'AIA',
1162
+ Ala: 'ALA',
1163
+ Alb: 'ALB',
1164
+ And: 'AND',
1165
+ Are: 'ARE',
1166
+ Arg: 'ARG',
1167
+ Arm: 'ARM',
1168
+ Asm: 'ASM',
1169
+ Ata: 'ATA',
1170
+ Atf: 'ATF',
1171
+ Atg: 'ATG',
1172
+ Aus: 'AUS',
1173
+ Aut: 'AUT',
1174
+ Aze: 'AZE',
1175
+ Bdi: 'BDI',
1176
+ Bel: 'BEL',
1177
+ Ben: 'BEN',
1178
+ Bes: 'BES',
1179
+ Bfa: 'BFA',
1180
+ Bgd: 'BGD',
1181
+ Bgr: 'BGR',
1182
+ Bhr: 'BHR',
1183
+ Bhs: 'BHS',
1184
+ Bih: 'BIH',
1185
+ Blm: 'BLM',
1186
+ Blr: 'BLR',
1187
+ Blz: 'BLZ',
1188
+ Bmu: 'BMU',
1189
+ Bol: 'BOL',
1190
+ Bra: 'BRA',
1191
+ Brb: 'BRB',
1192
+ Brn: 'BRN',
1193
+ Btn: 'BTN',
1194
+ Bvt: 'BVT',
1195
+ Bwa: 'BWA',
1196
+ Caf: 'CAF',
1197
+ Can: 'CAN',
1198
+ Cck: 'CCK',
1199
+ Che: 'CHE',
1200
+ Chl: 'CHL',
1201
+ Chn: 'CHN',
1202
+ Civ: 'CIV',
1203
+ Cmr: 'CMR',
1204
+ Cod: 'COD',
1205
+ Cog: 'COG',
1206
+ Cok: 'COK',
1207
+ Col: 'COL',
1208
+ Com: 'COM',
1209
+ Cpv: 'CPV',
1210
+ Cri: 'CRI',
1211
+ Cub: 'CUB',
1212
+ Cuw: 'CUW',
1213
+ Cxr: 'CXR',
1214
+ Cym: 'CYM',
1215
+ Cyp: 'CYP',
1216
+ Cze: 'CZE',
1217
+ Deu: 'DEU',
1218
+ Dji: 'DJI',
1219
+ Dma: 'DMA',
1220
+ Dnk: 'DNK',
1221
+ Dom: 'DOM',
1222
+ Dza: 'DZA',
1223
+ Ecu: 'ECU',
1224
+ Egy: 'EGY',
1225
+ Eri: 'ERI',
1226
+ Esh: 'ESH',
1227
+ Esp: 'ESP',
1228
+ Est: 'EST',
1229
+ Eth: 'ETH',
1230
+ Fin: 'FIN',
1231
+ Fji: 'FJI',
1232
+ Flk: 'FLK',
1233
+ Fra: 'FRA',
1234
+ Fro: 'FRO',
1235
+ Fsm: 'FSM',
1236
+ Gab: 'GAB',
1237
+ Gbr: 'GBR',
1238
+ Geo: 'GEO',
1239
+ Ggy: 'GGY',
1240
+ Gha: 'GHA',
1241
+ Gib: 'GIB',
1242
+ Gin: 'GIN',
1243
+ Glp: 'GLP',
1244
+ Gmb: 'GMB',
1245
+ Gnb: 'GNB',
1246
+ Gnq: 'GNQ',
1247
+ Grc: 'GRC',
1248
+ Grd: 'GRD',
1249
+ Grl: 'GRL',
1250
+ Gtm: 'GTM',
1251
+ Guf: 'GUF',
1252
+ Gum: 'GUM',
1253
+ Guy: 'GUY',
1254
+ Hkg: 'HKG',
1255
+ Hmd: 'HMD',
1256
+ Hnd: 'HND',
1257
+ Hrv: 'HRV',
1258
+ Hti: 'HTI',
1259
+ Hun: 'HUN',
1260
+ Idn: 'IDN',
1261
+ Imn: 'IMN',
1262
+ Ind: 'IND',
1263
+ Iot: 'IOT',
1264
+ Irl: 'IRL',
1265
+ Irn: 'IRN',
1266
+ Irq: 'IRQ',
1267
+ Isl: 'ISL',
1268
+ Isr: 'ISR',
1269
+ Ita: 'ITA',
1270
+ Jam: 'JAM',
1271
+ Jey: 'JEY',
1272
+ Jor: 'JOR',
1273
+ Jpn: 'JPN',
1274
+ Kaz: 'KAZ',
1275
+ Ken: 'KEN',
1276
+ Kgz: 'KGZ',
1277
+ Khm: 'KHM',
1278
+ Kir: 'KIR',
1279
+ Kna: 'KNA',
1280
+ Kor: 'KOR',
1281
+ Kwt: 'KWT',
1282
+ Lao: 'LAO',
1283
+ Lbn: 'LBN',
1284
+ Lbr: 'LBR',
1285
+ Lby: 'LBY',
1286
+ Lca: 'LCA',
1287
+ Lie: 'LIE',
1288
+ Lka: 'LKA',
1289
+ Lso: 'LSO',
1290
+ Ltu: 'LTU',
1291
+ Lux: 'LUX',
1292
+ Lva: 'LVA',
1293
+ Mac: 'MAC',
1294
+ Maf: 'MAF',
1295
+ Mar: 'MAR',
1296
+ Mco: 'MCO',
1297
+ Mda: 'MDA',
1298
+ Mdg: 'MDG',
1299
+ Mdv: 'MDV',
1300
+ Mex: 'MEX',
1301
+ Mhl: 'MHL',
1302
+ Mkd: 'MKD',
1303
+ Mli: 'MLI',
1304
+ Mlt: 'MLT',
1305
+ Mmr: 'MMR',
1306
+ Mne: 'MNE',
1307
+ Mng: 'MNG',
1308
+ Mnp: 'MNP',
1309
+ Moz: 'MOZ',
1310
+ Mrt: 'MRT',
1311
+ Msr: 'MSR',
1312
+ Mtq: 'MTQ',
1313
+ Mus: 'MUS',
1314
+ Mwi: 'MWI',
1315
+ Mys: 'MYS',
1316
+ Myt: 'MYT',
1317
+ Nam: 'NAM',
1318
+ Ncl: 'NCL',
1319
+ Ner: 'NER',
1320
+ Nfk: 'NFK',
1321
+ Nga: 'NGA',
1322
+ Nic: 'NIC',
1323
+ Niu: 'NIU',
1324
+ Nld: 'NLD',
1325
+ Nor: 'NOR',
1326
+ Npl: 'NPL',
1327
+ Nru: 'NRU',
1328
+ Nzl: 'NZL',
1329
+ Omn: 'OMN',
1330
+ Pak: 'PAK',
1331
+ Pan: 'PAN',
1332
+ Pcn: 'PCN',
1333
+ Per: 'PER',
1334
+ Phl: 'PHL',
1335
+ Plw: 'PLW',
1336
+ Png: 'PNG',
1337
+ Pol: 'POL',
1338
+ Pri: 'PRI',
1339
+ Prk: 'PRK',
1340
+ Prt: 'PRT',
1341
+ Pry: 'PRY',
1342
+ Pse: 'PSE',
1343
+ Pyf: 'PYF',
1344
+ Qat: 'QAT',
1345
+ Reu: 'REU',
1346
+ Rou: 'ROU',
1347
+ Rus: 'RUS',
1348
+ Rwa: 'RWA',
1349
+ Sau: 'SAU',
1350
+ Sdn: 'SDN',
1351
+ Sen: 'SEN',
1352
+ Sgp: 'SGP',
1353
+ Sgs: 'SGS',
1354
+ Shn: 'SHN',
1355
+ Sjm: 'SJM',
1356
+ Slb: 'SLB',
1357
+ Sle: 'SLE',
1358
+ Slv: 'SLV',
1359
+ Smr: 'SMR',
1360
+ Som: 'SOM',
1361
+ Spm: 'SPM',
1362
+ Srb: 'SRB',
1363
+ Ssd: 'SSD',
1364
+ Stp: 'STP',
1365
+ Sur: 'SUR',
1366
+ Svk: 'SVK',
1367
+ Svn: 'SVN',
1368
+ Swe: 'SWE',
1369
+ Swz: 'SWZ',
1370
+ Sxm: 'SXM',
1371
+ Syc: 'SYC',
1372
+ Syr: 'SYR',
1373
+ Tca: 'TCA',
1374
+ Tcd: 'TCD',
1375
+ Tgo: 'TGO',
1376
+ Tha: 'THA',
1377
+ Tjk: 'TJK',
1378
+ Tkl: 'TKL',
1379
+ Tkm: 'TKM',
1380
+ Tls: 'TLS',
1381
+ Ton: 'TON',
1382
+ Tto: 'TTO',
1383
+ Tun: 'TUN',
1384
+ Tur: 'TUR',
1385
+ Tuv: 'TUV',
1386
+ Twn: 'TWN',
1387
+ Tza: 'TZA',
1388
+ Uga: 'UGA',
1389
+ Ukr: 'UKR',
1390
+ Umi: 'UMI',
1391
+ Ury: 'URY',
1392
+ Usa: 'USA',
1393
+ Uzb: 'UZB',
1394
+ Vat: 'VAT',
1395
+ Vct: 'VCT',
1396
+ Ven: 'VEN',
1397
+ Vgb: 'VGB',
1398
+ Vir: 'VIR',
1399
+ Vnm: 'VNM',
1400
+ Vut: 'VUT',
1401
+ Wlf: 'WLF',
1402
+ Wsm: 'WSM',
1403
+ Yem: 'YEM',
1404
+ Zaf: 'ZAF',
1405
+ Zmb: 'ZMB',
1406
+ Zwe: 'ZWE',
1407
+ Xkx: 'XKX',
1408
+ Xxx: 'XXX',
675
1409
  };
676
1410
  /**
677
1411
  * CreateCardholderApi - axios parameter creator
678
- * @export
679
1412
  */
680
1413
  const CreateCardholderApiAxiosParamCreator = function (configuration) {
681
1414
  return {
@@ -705,6 +1438,7 @@ const CreateCardholderApiAxiosParamCreator = function (configuration) {
705
1438
  // http bearer authentication required
706
1439
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
707
1440
  localVarHeaderParameter['Content-Type'] = 'application/json';
1441
+ localVarHeaderParameter['Accept'] = 'application/json';
708
1442
  if (xIdempotencyKey != null) {
709
1443
  localVarHeaderParameter['x-idempotency-key'] = String(xIdempotencyKey);
710
1444
  }
@@ -725,7 +1459,6 @@ const CreateCardholderApiAxiosParamCreator = function (configuration) {
725
1459
  exports.CreateCardholderApiAxiosParamCreator = CreateCardholderApiAxiosParamCreator;
726
1460
  /**
727
1461
  * CreateCardholderApi - functional programming interface
728
- * @export
729
1462
  */
730
1463
  const CreateCardholderApiFp = function (configuration) {
731
1464
  const localVarAxiosParamCreator = (0, exports.CreateCardholderApiAxiosParamCreator)(configuration);
@@ -753,7 +1486,6 @@ const CreateCardholderApiFp = function (configuration) {
753
1486
  exports.CreateCardholderApiFp = CreateCardholderApiFp;
754
1487
  /**
755
1488
  * CreateCardholderApi - factory interface
756
- * @export
757
1489
  */
758
1490
  const CreateCardholderApiFactory = function (configuration, basePath, axios) {
759
1491
  const localVarFp = (0, exports.CreateCardholderApiFp)(configuration);
@@ -775,9 +1507,6 @@ const CreateCardholderApiFactory = function (configuration, basePath, axios) {
775
1507
  exports.CreateCardholderApiFactory = CreateCardholderApiFactory;
776
1508
  /**
777
1509
  * CreateCardholderApi - object-oriented interface
778
- * @export
779
- * @class CreateCardholderApi
780
- * @extends {BaseAPI}
781
1510
  */
782
1511
  class CreateCardholderApi extends base_1.BaseAPI {
783
1512
  /**
@@ -788,7 +1517,6 @@ class CreateCardholderApi extends base_1.BaseAPI {
788
1517
  * @param {string} [xAuditUser] Optional audit user header
789
1518
  * @param {*} [options] Override http request option.
790
1519
  * @throws {RequiredError}
791
- * @memberof CreateCardholderApi
792
1520
  */
793
1521
  createCardholder(createCardholderBody, xIdempotencyKey, xAuditUser, options) {
794
1522
  return (0, exports.CreateCardholderApiFp)(this.configuration).createCardholder(createCardholderBody, xIdempotencyKey, xAuditUser, options).then((request) => request(this.axios, this.basePath));
@@ -797,7 +1525,6 @@ class CreateCardholderApi extends base_1.BaseAPI {
797
1525
  exports.CreateCardholderApi = CreateCardholderApi;
798
1526
  /**
799
1527
  * GetCardholderApi - axios parameter creator
800
- * @export
801
1528
  */
802
1529
  const GetCardholderApiAxiosParamCreator = function (configuration) {
803
1530
  return {
@@ -813,7 +1540,7 @@ const GetCardholderApiAxiosParamCreator = function (configuration) {
813
1540
  // verify required parameter 'id' is not null or undefined
814
1541
  (0, common_1.assertParamExists)('getCardholderById', 'id', id);
815
1542
  const localVarPath = `/v1/cardholders/{id}`
816
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1543
+ .replace('{id}', encodeURIComponent(String(id)));
817
1544
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
818
1545
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
819
1546
  let baseOptions;
@@ -826,6 +1553,7 @@ const GetCardholderApiAxiosParamCreator = function (configuration) {
826
1553
  // authentication bearerAuth required
827
1554
  // http bearer authentication required
828
1555
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1556
+ localVarHeaderParameter['Accept'] = 'application/json';
829
1557
  if (xAuditUser != null) {
830
1558
  localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
831
1559
  }
@@ -864,6 +1592,7 @@ const GetCardholderApiAxiosParamCreator = function (configuration) {
864
1592
  if (customerNumber !== undefined) {
865
1593
  localVarQueryParameter['customerNumber'] = customerNumber;
866
1594
  }
1595
+ localVarHeaderParameter['Accept'] = 'application/json';
867
1596
  if (xAuditUser != null) {
868
1597
  localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
869
1598
  }
@@ -880,7 +1609,6 @@ const GetCardholderApiAxiosParamCreator = function (configuration) {
880
1609
  exports.GetCardholderApiAxiosParamCreator = GetCardholderApiAxiosParamCreator;
881
1610
  /**
882
1611
  * GetCardholderApi - functional programming interface
883
- * @export
884
1612
  */
885
1613
  const GetCardholderApiFp = function (configuration) {
886
1614
  const localVarAxiosParamCreator = (0, exports.GetCardholderApiAxiosParamCreator)(configuration);
@@ -924,7 +1652,6 @@ const GetCardholderApiFp = function (configuration) {
924
1652
  exports.GetCardholderApiFp = GetCardholderApiFp;
925
1653
  /**
926
1654
  * GetCardholderApi - factory interface
927
- * @export
928
1655
  */
929
1656
  const GetCardholderApiFactory = function (configuration, basePath, axios) {
930
1657
  const localVarFp = (0, exports.GetCardholderApiFp)(configuration);
@@ -956,9 +1683,6 @@ const GetCardholderApiFactory = function (configuration, basePath, axios) {
956
1683
  exports.GetCardholderApiFactory = GetCardholderApiFactory;
957
1684
  /**
958
1685
  * GetCardholderApi - object-oriented interface
959
- * @export
960
- * @class GetCardholderApi
961
- * @extends {BaseAPI}
962
1686
  */
963
1687
  class GetCardholderApi extends base_1.BaseAPI {
964
1688
  /**
@@ -968,7 +1692,6 @@ class GetCardholderApi extends base_1.BaseAPI {
968
1692
  * @param {string} [xAuditUser] Optional audit user header
969
1693
  * @param {*} [options] Override http request option.
970
1694
  * @throws {RequiredError}
971
- * @memberof GetCardholderApi
972
1695
  */
973
1696
  getCardholderById(id, xAuditUser, options) {
974
1697
  return (0, exports.GetCardholderApiFp)(this.configuration).getCardholderById(id, xAuditUser, options).then((request) => request(this.axios, this.basePath));
@@ -980,7 +1703,6 @@ class GetCardholderApi extends base_1.BaseAPI {
980
1703
  * @param {string} [xAuditUser] Optional audit user header
981
1704
  * @param {*} [options] Override http request option.
982
1705
  * @throws {RequiredError}
983
- * @memberof GetCardholderApi
984
1706
  */
985
1707
  getCardholders(customerNumber, xAuditUser, options) {
986
1708
  return (0, exports.GetCardholderApiFp)(this.configuration).getCardholders(customerNumber, xAuditUser, options).then((request) => request(this.axios, this.basePath));
@@ -989,7 +1711,6 @@ class GetCardholderApi extends base_1.BaseAPI {
989
1711
  exports.GetCardholderApi = GetCardholderApi;
990
1712
  /**
991
1713
  * GetCardsByCardholderIdApi - axios parameter creator
992
- * @export
993
1714
  */
994
1715
  const GetCardsByCardholderIdApiAxiosParamCreator = function (configuration) {
995
1716
  return {
@@ -1007,7 +1728,7 @@ const GetCardsByCardholderIdApiAxiosParamCreator = function (configuration) {
1007
1728
  // verify required parameter 'id' is not null or undefined
1008
1729
  (0, common_1.assertParamExists)('getCardsByCardholderId', 'id', id);
1009
1730
  const localVarPath = `/v1/cardholders/{id}/cards`
1010
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1731
+ .replace('{id}', encodeURIComponent(String(id)));
1011
1732
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1012
1733
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1013
1734
  let baseOptions;
@@ -1026,6 +1747,7 @@ const GetCardsByCardholderIdApiAxiosParamCreator = function (configuration) {
1026
1747
  if (size !== undefined) {
1027
1748
  localVarQueryParameter['size'] = size;
1028
1749
  }
1750
+ localVarHeaderParameter['Accept'] = 'application/json';
1029
1751
  if (xAuditUser != null) {
1030
1752
  localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
1031
1753
  }
@@ -1042,7 +1764,6 @@ const GetCardsByCardholderIdApiAxiosParamCreator = function (configuration) {
1042
1764
  exports.GetCardsByCardholderIdApiAxiosParamCreator = GetCardsByCardholderIdApiAxiosParamCreator;
1043
1765
  /**
1044
1766
  * GetCardsByCardholderIdApi - functional programming interface
1045
- * @export
1046
1767
  */
1047
1768
  const GetCardsByCardholderIdApiFp = function (configuration) {
1048
1769
  const localVarAxiosParamCreator = (0, exports.GetCardsByCardholderIdApiAxiosParamCreator)(configuration);
@@ -1071,7 +1792,6 @@ const GetCardsByCardholderIdApiFp = function (configuration) {
1071
1792
  exports.GetCardsByCardholderIdApiFp = GetCardsByCardholderIdApiFp;
1072
1793
  /**
1073
1794
  * GetCardsByCardholderIdApi - factory interface
1074
- * @export
1075
1795
  */
1076
1796
  const GetCardsByCardholderIdApiFactory = function (configuration, basePath, axios) {
1077
1797
  const localVarFp = (0, exports.GetCardsByCardholderIdApiFp)(configuration);
@@ -1094,9 +1814,6 @@ const GetCardsByCardholderIdApiFactory = function (configuration, basePath, axio
1094
1814
  exports.GetCardsByCardholderIdApiFactory = GetCardsByCardholderIdApiFactory;
1095
1815
  /**
1096
1816
  * GetCardsByCardholderIdApi - object-oriented interface
1097
- * @export
1098
- * @class GetCardsByCardholderIdApi
1099
- * @extends {BaseAPI}
1100
1817
  */
1101
1818
  class GetCardsByCardholderIdApi extends base_1.BaseAPI {
1102
1819
  /**
@@ -1108,7 +1825,6 @@ class GetCardsByCardholderIdApi extends base_1.BaseAPI {
1108
1825
  * @param {string} [xAuditUser] Optional audit user header
1109
1826
  * @param {*} [options] Override http request option.
1110
1827
  * @throws {RequiredError}
1111
- * @memberof GetCardsByCardholderIdApi
1112
1828
  */
1113
1829
  getCardsByCardholderId(id, page, size, xAuditUser, options) {
1114
1830
  return (0, exports.GetCardsByCardholderIdApiFp)(this.configuration).getCardsByCardholderId(id, page, size, xAuditUser, options).then((request) => request(this.axios, this.basePath));
@@ -1117,7 +1833,6 @@ class GetCardsByCardholderIdApi extends base_1.BaseAPI {
1117
1833
  exports.GetCardsByCardholderIdApi = GetCardsByCardholderIdApi;
1118
1834
  /**
1119
1835
  * UpdateCardholderApi - axios parameter creator
1120
- * @export
1121
1836
  */
1122
1837
  const UpdateCardholderApiAxiosParamCreator = function (configuration) {
1123
1838
  return {
@@ -1136,7 +1851,7 @@ const UpdateCardholderApiAxiosParamCreator = function (configuration) {
1136
1851
  // verify required parameter 'updateCardholderBody' is not null or undefined
1137
1852
  (0, common_1.assertParamExists)('updateCardholder', 'updateCardholderBody', updateCardholderBody);
1138
1853
  const localVarPath = `/v1/cardholders/{id}`
1139
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1854
+ .replace('{id}', encodeURIComponent(String(id)));
1140
1855
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1141
1856
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1142
1857
  let baseOptions;
@@ -1150,6 +1865,7 @@ const UpdateCardholderApiAxiosParamCreator = function (configuration) {
1150
1865
  // http bearer authentication required
1151
1866
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1152
1867
  localVarHeaderParameter['Content-Type'] = 'application/json';
1868
+ localVarHeaderParameter['Accept'] = 'application/json';
1153
1869
  if (xAuditUser != null) {
1154
1870
  localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
1155
1871
  }
@@ -1167,7 +1883,6 @@ const UpdateCardholderApiAxiosParamCreator = function (configuration) {
1167
1883
  exports.UpdateCardholderApiAxiosParamCreator = UpdateCardholderApiAxiosParamCreator;
1168
1884
  /**
1169
1885
  * UpdateCardholderApi - functional programming interface
1170
- * @export
1171
1886
  */
1172
1887
  const UpdateCardholderApiFp = function (configuration) {
1173
1888
  const localVarAxiosParamCreator = (0, exports.UpdateCardholderApiAxiosParamCreator)(configuration);
@@ -1195,7 +1910,6 @@ const UpdateCardholderApiFp = function (configuration) {
1195
1910
  exports.UpdateCardholderApiFp = UpdateCardholderApiFp;
1196
1911
  /**
1197
1912
  * UpdateCardholderApi - factory interface
1198
- * @export
1199
1913
  */
1200
1914
  const UpdateCardholderApiFactory = function (configuration, basePath, axios) {
1201
1915
  const localVarFp = (0, exports.UpdateCardholderApiFp)(configuration);
@@ -1217,9 +1931,6 @@ const UpdateCardholderApiFactory = function (configuration, basePath, axios) {
1217
1931
  exports.UpdateCardholderApiFactory = UpdateCardholderApiFactory;
1218
1932
  /**
1219
1933
  * UpdateCardholderApi - object-oriented interface
1220
- * @export
1221
- * @class UpdateCardholderApi
1222
- * @extends {BaseAPI}
1223
1934
  */
1224
1935
  class UpdateCardholderApi extends base_1.BaseAPI {
1225
1936
  /**
@@ -1230,7 +1941,6 @@ class UpdateCardholderApi extends base_1.BaseAPI {
1230
1941
  * @param {string} [xAuditUser] Optional audit user header
1231
1942
  * @param {*} [options] Override http request option.
1232
1943
  * @throws {RequiredError}
1233
- * @memberof UpdateCardholderApi
1234
1944
  */
1235
1945
  updateCardholder(id, updateCardholderBody, xAuditUser, options) {
1236
1946
  return (0, exports.UpdateCardholderApiFp)(this.configuration).updateCardholder(id, updateCardholderBody, xAuditUser, options).then((request) => request(this.axios, this.basePath));