@enfuce/nextgen-sdk 0.0.2 → 0.0.3

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 (221) 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/issuer-events/api.d.ts +639 -601
  82. package/dist/esm/issuer-events/api.js +520 -54
  83. package/dist/esm/issuer-events/base.d.ts +0 -24
  84. package/dist/esm/issuer-events/base.js +0 -19
  85. package/dist/esm/issuer-events/common.d.ts +4 -35
  86. package/dist/esm/issuer-events/common.js +14 -37
  87. package/dist/esm/issuer-events/configuration.d.ts +24 -17
  88. package/dist/esm/issuer-events/configuration.js +3 -3
  89. package/dist/esm/pin/api.d.ts +0 -76
  90. package/dist/esm/pin/api.js +3 -15
  91. package/dist/esm/pin/base.d.ts +0 -24
  92. package/dist/esm/pin/base.js +0 -19
  93. package/dist/esm/pin/common.d.ts +4 -35
  94. package/dist/esm/pin/common.js +14 -37
  95. package/dist/esm/pin/configuration.d.ts +24 -17
  96. package/dist/esm/pin/configuration.js +3 -3
  97. package/dist/esm/threeds/api.d.ts +0 -18
  98. package/dist/esm/threeds/api.js +1 -8
  99. package/dist/esm/threeds/base.d.ts +0 -24
  100. package/dist/esm/threeds/base.js +0 -19
  101. package/dist/esm/threeds/common.d.ts +4 -35
  102. package/dist/esm/threeds/common.js +14 -37
  103. package/dist/esm/threeds/configuration.d.ts +24 -17
  104. package/dist/esm/threeds/configuration.js +3 -3
  105. package/dist/esm/threeds-oob/api.d.ts +0 -90
  106. package/dist/esm/threeds-oob/api.js +2 -9
  107. package/dist/esm/threeds-oob/base.d.ts +0 -24
  108. package/dist/esm/threeds-oob/base.js +0 -19
  109. package/dist/esm/threeds-oob/common.d.ts +4 -35
  110. package/dist/esm/threeds-oob/common.js +14 -37
  111. package/dist/esm/threeds-oob/configuration.d.ts +24 -17
  112. package/dist/esm/threeds-oob/configuration.js +3 -3
  113. package/dist/esm/transaction-event/api.d.ts +0 -452
  114. package/dist/esm/transaction-event/api.js +11 -27
  115. package/dist/esm/transaction-event/base.d.ts +0 -24
  116. package/dist/esm/transaction-event/base.js +0 -19
  117. package/dist/esm/transaction-event/common.d.ts +4 -35
  118. package/dist/esm/transaction-event/common.js +14 -37
  119. package/dist/esm/transaction-event/configuration.d.ts +24 -17
  120. package/dist/esm/transaction-event/configuration.js +3 -3
  121. package/dist/esm/wallet/api.d.ts +0 -342
  122. package/dist/esm/wallet/api.js +29 -83
  123. package/dist/esm/wallet/base.d.ts +0 -24
  124. package/dist/esm/wallet/base.js +0 -19
  125. package/dist/esm/wallet/common.d.ts +4 -35
  126. package/dist/esm/wallet/common.js +14 -37
  127. package/dist/esm/wallet/configuration.d.ts +24 -17
  128. package/dist/esm/wallet/configuration.js +3 -3
  129. package/dist/issuer-events/api.d.ts +639 -601
  130. package/dist/issuer-events/api.js +521 -55
  131. package/dist/issuer-events/base.d.ts +0 -24
  132. package/dist/issuer-events/base.js +0 -19
  133. package/dist/issuer-events/common.d.ts +4 -35
  134. package/dist/issuer-events/common.js +16 -38
  135. package/dist/issuer-events/configuration.d.ts +24 -17
  136. package/dist/issuer-events/configuration.js +3 -3
  137. package/dist/pin/api.d.ts +0 -76
  138. package/dist/pin/api.js +3 -15
  139. package/dist/pin/base.d.ts +0 -24
  140. package/dist/pin/base.js +0 -19
  141. package/dist/pin/common.d.ts +4 -35
  142. package/dist/pin/common.js +16 -38
  143. package/dist/pin/configuration.d.ts +24 -17
  144. package/dist/pin/configuration.js +3 -3
  145. package/dist/threeds/api.d.ts +0 -18
  146. package/dist/threeds/api.js +1 -8
  147. package/dist/threeds/base.d.ts +0 -24
  148. package/dist/threeds/base.js +0 -19
  149. package/dist/threeds/common.d.ts +4 -35
  150. package/dist/threeds/common.js +16 -38
  151. package/dist/threeds/configuration.d.ts +24 -17
  152. package/dist/threeds/configuration.js +3 -3
  153. package/dist/threeds-oob/api.d.ts +0 -90
  154. package/dist/threeds-oob/api.js +2 -9
  155. package/dist/threeds-oob/base.d.ts +0 -24
  156. package/dist/threeds-oob/base.js +0 -19
  157. package/dist/threeds-oob/common.d.ts +4 -35
  158. package/dist/threeds-oob/common.js +16 -38
  159. package/dist/threeds-oob/configuration.d.ts +24 -17
  160. package/dist/threeds-oob/configuration.js +3 -3
  161. package/dist/transaction-event/api.d.ts +0 -452
  162. package/dist/transaction-event/api.js +11 -27
  163. package/dist/transaction-event/base.d.ts +0 -24
  164. package/dist/transaction-event/base.js +0 -19
  165. package/dist/transaction-event/common.d.ts +4 -35
  166. package/dist/transaction-event/common.js +16 -38
  167. package/dist/transaction-event/configuration.d.ts +24 -17
  168. package/dist/transaction-event/configuration.js +3 -3
  169. package/dist/wallet/api.d.ts +0 -342
  170. package/dist/wallet/api.js +29 -83
  171. package/dist/wallet/base.d.ts +0 -24
  172. package/dist/wallet/base.js +0 -19
  173. package/dist/wallet/common.d.ts +4 -35
  174. package/dist/wallet/common.js +16 -38
  175. package/dist/wallet/configuration.d.ts +24 -17
  176. package/dist/wallet/configuration.js +3 -3
  177. package/package.json +2 -2
  178. package/src/authorisation-control/api.ts +11 -314
  179. package/src/authorisation-control/base.ts +0 -24
  180. package/src/authorisation-control/common.ts +15 -38
  181. package/src/authorisation-control/configuration.ts +26 -20
  182. package/src/card/api.ts +80 -786
  183. package/src/card/base.ts +0 -24
  184. package/src/card/common.ts +15 -38
  185. package/src/card/configuration.ts +26 -20
  186. package/src/cardholder/api.ts +987 -714
  187. package/src/cardholder/base.ts +0 -24
  188. package/src/cardholder/common.ts +15 -38
  189. package/src/cardholder/configuration.ts +26 -20
  190. package/src/cards/api.ts +3 -11
  191. package/src/cards/base.ts +0 -24
  192. package/src/cards/common.ts +15 -38
  193. package/src/cards/configuration.ts +26 -20
  194. package/src/clearing-file-copy/api.ts +13 -510
  195. package/src/clearing-file-copy/base.ts +0 -24
  196. package/src/clearing-file-copy/common.ts +15 -38
  197. package/src/clearing-file-copy/configuration.ts +26 -20
  198. package/src/issuer-events/api.ts +661 -628
  199. package/src/issuer-events/base.ts +0 -24
  200. package/src/issuer-events/common.ts +15 -38
  201. package/src/issuer-events/configuration.ts +26 -20
  202. package/src/pin/api.ts +4 -83
  203. package/src/pin/base.ts +0 -24
  204. package/src/pin/common.ts +15 -38
  205. package/src/pin/configuration.ts +26 -20
  206. package/src/threeds/api.ts +2 -22
  207. package/src/threeds/base.ts +0 -24
  208. package/src/threeds/common.ts +15 -38
  209. package/src/threeds/configuration.ts +26 -20
  210. package/src/threeds-oob/api.ts +3 -95
  211. package/src/threeds-oob/base.ts +0 -24
  212. package/src/threeds-oob/common.ts +15 -38
  213. package/src/threeds-oob/configuration.ts +26 -20
  214. package/src/transaction-event/api.ts +12 -464
  215. package/src/transaction-event/base.ts +0 -24
  216. package/src/transaction-event/common.ts +15 -38
  217. package/src/transaction-event/configuration.ts +26 -20
  218. package/src/wallet/api.ts +30 -377
  219. package/src/wallet/base.ts +0 -24
  220. package/src/wallet/common.ts +15 -38
  221. package/src/wallet/configuration.ts +26 -20
@@ -18,132 +18,70 @@ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
18
18
  import globalAxios from 'axios';
19
19
  // Some imports not used depending on template conditions
20
20
  // @ts-ignore
21
- import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
21
+ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction, replaceWithSerializableTypeIfNeeded } from './common';
22
22
  import type { RequestArgs } from './base';
23
23
  // @ts-ignore
24
24
  import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';
25
25
 
26
- /**
27
- *
28
- * @export
29
- * @interface Address
30
- */
31
26
  export interface Address {
32
27
  /**
33
28
  * First line of address.
34
- * @type {string}
35
- * @memberof Address
36
29
  */
37
30
  'address1': string;
38
31
  /**
39
32
  * Second line of address. Any string without trailing or leading whitespaces, or an empty string.
40
- * @type {string}
41
- * @memberof Address
42
33
  */
43
34
  'address2'?: string;
44
35
  /**
45
36
  * Third line of address. Any string without trailing or leading whitespaces, or an empty string.
46
- * @type {string}
47
- * @memberof Address
48
37
  */
49
38
  'address3'?: string;
50
39
  /**
51
40
  * Fourth line of the address. Any string without trailing or leading whitespaces, or an empty string.
52
- * @type {string}
53
- * @memberof Address
54
41
  */
55
42
  'address4'?: string;
56
- /**
57
- *
58
- * @type {string}
59
- * @memberof Address
60
- */
61
43
  'city': string;
62
44
  /**
63
45
  * A valid ISO-3166-1 alpha-3 country code.
64
- * @type {string}
65
- * @memberof Address
66
46
  */
67
47
  'country': string;
68
- /**
69
- *
70
- * @type {string}
71
- * @memberof Address
72
- */
73
48
  'region'?: string;
74
- /**
75
- *
76
- * @type {string}
77
- * @memberof Address
78
- */
79
49
  'zipCode': string;
80
50
  }
81
- /**
82
- *
83
- * @export
84
- * @interface AddressResponse
85
- */
86
51
  export interface AddressResponse {
87
52
  /**
88
53
  * First line of address.
89
- * @type {string}
90
- * @memberof AddressResponse
91
54
  */
92
55
  'address1': string;
93
56
  /**
94
57
  * Any string without trailing or leading whitespaces, or an empty string.
95
- * @type {string}
96
- * @memberof AddressResponse
97
58
  */
98
59
  'address2'?: string | null;
99
60
  /**
100
61
  * Any string without trailing or leading whitespaces, or an empty string.
101
- * @type {string}
102
- * @memberof AddressResponse
103
62
  */
104
63
  'address3'?: string | null;
105
64
  /**
106
65
  * Any string without trailing or leading whitespaces, or an empty string.
107
- * @type {string}
108
- * @memberof AddressResponse
109
66
  */
110
67
  'address4'?: string | null;
111
- /**
112
- *
113
- * @type {string}
114
- * @memberof AddressResponse
115
- */
116
68
  'city': string;
117
69
  /**
118
70
  * A valid ISO-3166-1 alpha-3 country code.
119
- * @type {string}
120
- * @memberof AddressResponse
121
71
  */
122
72
  'country': string;
123
- /**
124
- *
125
- * @type {string}
126
- * @memberof AddressResponse
127
- */
128
73
  'region'?: string | null;
129
- /**
130
- *
131
- * @type {string}
132
- * @memberof AddressResponse
133
- */
134
74
  'zipCode': string;
135
75
  }
136
76
  /**
137
77
  * The wallets common name for authorization decision.
138
- * @export
139
- * @enum {string}
140
78
  */
141
79
 
142
80
  export const AuthorizationDecisionColor = {
143
81
  Green: 'GREEN',
144
82
  Yellow: 'YELLOW',
145
83
  Orange: 'ORANGE',
146
- Red: 'RED'
84
+ Red: 'RED',
147
85
  } as const;
148
86
 
149
87
  export type AuthorizationDecisionColor = typeof AuthorizationDecisionColor[keyof typeof AuthorizationDecisionColor];
@@ -151,14 +89,12 @@ export type AuthorizationDecisionColor = typeof AuthorizationDecisionColor[keyof
151
89
 
152
90
  /**
153
91
  * The type of card defined by this card configuration.
154
- * @export
155
- * @enum {string}
156
92
  */
157
93
 
158
94
  export const CardConfigurationType = {
159
95
  Debit: 'DEBIT',
160
96
  Credit: 'CREDIT',
161
- Combo: 'COMBO'
97
+ Combo: 'COMBO',
162
98
  } as const;
163
99
 
164
100
  export type CardConfigurationType = typeof CardConfigurationType[keyof typeof CardConfigurationType];
@@ -166,8 +102,6 @@ export type CardConfigurationType = typeof CardConfigurationType[keyof typeof Ca
166
102
 
167
103
  /**
168
104
  * 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.
169
- * @export
170
- * @enum {string}
171
105
  */
172
106
 
173
107
  export const CardDeliveryType = {
@@ -177,289 +111,149 @@ export const CardDeliveryType = {
177
111
  Custom2: 'CUSTOM_2',
178
112
  Custom3: 'CUSTOM_3',
179
113
  Custom4: 'CUSTOM_4',
180
- Custom5: 'CUSTOM_5'
114
+ Custom5: 'CUSTOM_5',
181
115
  } as const;
182
116
 
183
117
  export type CardDeliveryType = typeof CardDeliveryType[keyof typeof CardDeliveryType];
184
118
 
185
119
 
186
- /**
187
- *
188
- * @export
189
- * @interface CardEvent
190
- */
191
120
  export interface CardEvent {
192
121
  /**
193
122
  * Unique identifier of a card.
194
- * @type {string}
195
- * @memberof CardEvent
196
123
  */
197
124
  'id'?: string;
198
125
  /**
199
126
  * The date and time when the card was created.
200
- * @type {string}
201
- * @memberof CardEvent
202
127
  */
203
128
  'createdAt'?: string;
204
129
  /**
205
130
  * The date and time when the object/entity was updated last time.
206
- * @type {string}
207
- * @memberof CardEvent
208
131
  */
209
132
  'updatedAt'?: string;
210
133
  /**
211
134
  * The program ID associated with the card.
212
- * @type {string}
213
- * @memberof CardEvent
214
135
  */
215
136
  'programId'?: string;
216
137
  /**
217
138
  * Unique identifier of the cardholder associated with the card.
218
- * @type {string}
219
- * @memberof CardEvent
220
139
  */
221
140
  'cardholderId'?: string;
222
141
  /**
223
142
  * Unique identifier of the account associated with the card.
224
- * @type {string}
225
- * @memberof CardEvent
226
143
  */
227
144
  'accountId'?: string;
228
- /**
229
- *
230
- * @type {Plastic}
231
- * @memberof CardEvent
232
- */
233
145
  'plastic'?: Plastic;
234
146
  /**
235
147
  * Card versions ordered by sequence number ascending.
236
- * @type {Array<CardVersion>}
237
- * @memberof CardEvent
238
148
  */
239
149
  'cardVersions'?: Array<CardVersion>;
240
- /**
241
- *
242
- * @type {CardRole}
243
- * @memberof CardEvent
244
- */
245
150
  'role'?: CardRole;
246
151
  /**
247
152
  * Unique identifier of the main card. Populated if this card is part of a card application
248
- * @type {string}
249
- * @memberof CardEvent
250
153
  */
251
154
  'mainCardId'?: string;
252
155
  /**
253
156
  * A unique code to identify the card configuration. Max character limit is 36.
254
- * @type {string}
255
- * @memberof CardEvent
256
157
  */
257
158
  'cardConfigurationCode'?: string;
258
- /**
259
- *
260
- * @type {CardConfigurationType}
261
- * @memberof CardEvent
262
- */
263
159
  'cardConfigurationType'?: CardConfigurationType;
264
- /**
265
- *
266
- * @type {CardScheme}
267
- * @memberof CardEvent
268
- */
269
160
  'cardScheme'?: CardScheme;
270
161
  /**
271
162
  * A masked version of the primary account number
272
- * @type {string}
273
- * @memberof CardEvent
274
163
  */
275
164
  'maskedPan'?: string;
276
- /**
277
- *
278
- * @type {PinStatus}
279
- * @memberof CardEvent
280
- */
281
165
  'pinStatus'?: PinStatus;
282
- /**
283
- *
284
- * @type {CardStatus}
285
- * @memberof CardEvent
286
- */
287
166
  'cardStatus'?: CardStatus;
288
167
  /**
289
168
  * A flag indicating whether automatic renewal is enabled or not.
290
- * @type {boolean}
291
- * @memberof CardEvent
292
169
  */
293
170
  'automaticRenewal'?: boolean;
294
171
  /**
295
172
  * The digital layout code for the card. Max character limit is 36.
296
- * @type {string}
297
- * @memberof CardEvent
298
173
  */
299
174
  'digitalLayoutCode'?: string;
300
- /**
301
- *
302
- * @type {MultiApplicationProperties}
303
- * @memberof CardEvent
304
- */
305
175
  'multiApplicationProperties'?: MultiApplicationProperties;
306
176
  /**
307
177
  * The version number of the entity.
308
- * @type {number}
309
- * @memberof CardEvent
310
178
  */
311
179
  'updateCount'?: number;
312
180
  /**
313
181
  * You can include up to **30 additional key-value pairs** in the embossing file sent to the card manufacturer. - **Keys** must follow the pattern: `^[a-zA-Z0-9-]{1,36}$` (only letters, numbers, and hyphens, with a maximum length of 36 characters). - **Values** must follow the pattern: `^[a-zA-Z0-9|\\-_ +.@éàèùçâêîôûëïü\'/=]{1,1000}$`. Enfuce **does not perform any additional validation** on these key-value pairs beyond ensuring they match the specified patterns. These fields are intended for **storing data without further processing**. If you need to store a **complex structure**, you can **base64 encode** the value. The encoded value will be passed as entered, without modifications. ⚠ **Important:** Any usage of these fields should be agreed upon with the manufacturer.
314
- * @type {{ [key: string]: string; }}
315
- * @memberof CardEvent
316
182
  */
317
183
  'additionalValues'?: { [key: string]: string; };
318
184
  /**
319
185
  * Unique identifier of a fee configuration. When provided, this value overrides the program default. This feature must be enabled for the tenant; otherwise, this field can be left null and will not be used.
320
- * @type {string}
321
- * @memberof CardEvent
322
186
  */
323
187
  'feeConfigId'?: string | null;
324
188
  }
325
189
 
326
190
 
327
- /**
328
- *
329
- * @export
330
- * @interface CardResponse
331
- */
332
191
  export interface CardResponse {
333
192
  /**
334
193
  * Unique identifier of a card.
335
- * @type {string}
336
- * @memberof CardResponse
337
194
  */
338
195
  'id'?: string;
339
196
  /**
340
197
  * The date and time when the card was created.
341
- * @type {string}
342
- * @memberof CardResponse
343
198
  */
344
199
  'createdAt'?: string;
345
200
  /**
346
201
  * The date and time when the object/entity was updated last time.
347
- * @type {string}
348
- * @memberof CardResponse
349
202
  */
350
203
  'updatedAt'?: string;
351
204
  /**
352
205
  * The program ID associated with the card.
353
- * @type {string}
354
- * @memberof CardResponse
355
206
  */
356
207
  'programId'?: string;
357
208
  /**
358
209
  * Unique identifier of the cardholder associated with the card.
359
- * @type {string}
360
- * @memberof CardResponse
361
210
  */
362
211
  'cardholderId'?: string;
363
212
  /**
364
213
  * Unique identifier of the account associated with the card.
365
- * @type {string}
366
- * @memberof CardResponse
367
214
  */
368
215
  'accountId'?: string;
369
- /**
370
- *
371
- * @type {Plastic}
372
- * @memberof CardResponse
373
- */
374
216
  'plastic'?: Plastic;
375
217
  /**
376
218
  * Card versions ordered by sequence number ascending.
377
- * @type {Array<CardVersion>}
378
- * @memberof CardResponse
379
219
  */
380
220
  'cardVersions'?: Array<CardVersion>;
381
- /**
382
- *
383
- * @type {CardRole}
384
- * @memberof CardResponse
385
- */
386
221
  'role'?: CardRole;
387
222
  /**
388
223
  * Unique identifier of the main card. Populated if this card is part of a card application
389
- * @type {string}
390
- * @memberof CardResponse
391
224
  */
392
225
  'mainCardId'?: string;
393
226
  /**
394
227
  * A unique code to identify the card configuration. Max character limit is 36.
395
- * @type {string}
396
- * @memberof CardResponse
397
228
  */
398
229
  'cardConfigurationCode'?: string;
399
- /**
400
- *
401
- * @type {CardConfigurationType}
402
- * @memberof CardResponse
403
- */
404
230
  'cardConfigurationType'?: CardConfigurationType;
405
- /**
406
- *
407
- * @type {CardScheme}
408
- * @memberof CardResponse
409
- */
410
231
  'cardScheme'?: CardScheme;
411
232
  /**
412
233
  * A masked version of the primary account number
413
- * @type {string}
414
- * @memberof CardResponse
415
234
  */
416
235
  'maskedPan'?: string;
417
- /**
418
- *
419
- * @type {PinStatus}
420
- * @memberof CardResponse
421
- */
422
236
  'pinStatus'?: PinStatus;
423
- /**
424
- *
425
- * @type {CardStatus}
426
- * @memberof CardResponse
427
- */
428
237
  'cardStatus'?: CardStatus;
429
238
  /**
430
239
  * A flag indicating whether automatic renewal is enabled or not.
431
- * @type {boolean}
432
- * @memberof CardResponse
433
240
  */
434
241
  'automaticRenewal'?: boolean;
435
242
  /**
436
243
  * The digital layout code for the card. Max character limit is 36.
437
- * @type {string}
438
- * @memberof CardResponse
439
244
  */
440
245
  'digitalLayoutCode'?: string;
441
- /**
442
- *
443
- * @type {MultiApplicationProperties}
444
- * @memberof CardResponse
445
- */
446
246
  'multiApplicationProperties'?: MultiApplicationProperties;
447
247
  /**
448
248
  * The version number of the entity.
449
- * @type {number}
450
- * @memberof CardResponse
451
249
  */
452
250
  'updateCount'?: number;
453
251
  /**
454
252
  * You can include up to **30 additional key-value pairs** in the embossing file sent to the card manufacturer. - **Keys** must follow the pattern: `^[a-zA-Z0-9-]{1,36}$` (only letters, numbers, and hyphens, with a maximum length of 36 characters). - **Values** must follow the pattern: `^[a-zA-Z0-9|\\-_ +.@éàèùçâêîôûëïü\'/=]{1,1000}$`. Enfuce **does not perform any additional validation** on these key-value pairs beyond ensuring they match the specified patterns. These fields are intended for **storing data without further processing**. If you need to store a **complex structure**, you can **base64 encode** the value. The encoded value will be passed as entered, without modifications. ⚠ **Important:** Any usage of these fields should be agreed upon with the manufacturer.
455
- * @type {{ [key: string]: string; }}
456
- * @memberof CardResponse
457
253
  */
458
254
  'additionalValues'?: { [key: string]: string; };
459
255
  /**
460
256
  * Unique identifier of a fee configuration. When provided, this value overrides the program default. This feature must be enabled for the tenant; otherwise, this field can be left null and will not be used.
461
- * @type {string}
462
- * @memberof CardResponse
463
257
  */
464
258
  'feeConfigId'?: string | null;
465
259
  }
@@ -467,27 +261,20 @@ export interface CardResponse {
467
261
 
468
262
  /**
469
263
  * 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.
470
- * @export
471
- * @enum {string}
472
264
  */
473
265
 
474
266
  export const CardRole = {
475
267
  MainCard: 'MAIN_CARD',
476
- CardApplication: 'CARD_APPLICATION'
268
+ CardApplication: 'CARD_APPLICATION',
477
269
  } as const;
478
270
 
479
271
  export type CardRole = typeof CardRole[keyof typeof CardRole];
480
272
 
481
273
 
482
- /**
483
- *
484
- * @export
485
- * @enum {string}
486
- */
487
274
 
488
275
  export const CardScheme = {
489
276
  Mastercard: 'MASTERCARD',
490
- Visa: 'VISA'
277
+ Visa: 'VISA',
491
278
  } as const;
492
279
 
493
280
  export type CardScheme = typeof CardScheme[keyof typeof CardScheme];
@@ -495,8 +282,6 @@ export type CardScheme = typeof CardScheme[keyof typeof CardScheme];
495
282
 
496
283
  /**
497
284
  * - 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.
498
- * @export
499
- * @enum {string}
500
285
  */
501
286
 
502
287
  export const CardStatus = {
@@ -507,58 +292,36 @@ export const CardStatus = {
507
292
  ClosedLost: 'CLOSED_LOST',
508
293
  ClosedStolen: 'CLOSED_STOLEN',
509
294
  Closed: 'CLOSED',
510
- ClosedExpired: 'CLOSED_EXPIRED'
295
+ ClosedExpired: 'CLOSED_EXPIRED',
511
296
  } as const;
512
297
 
513
298
  export type CardStatus = typeof CardStatus[keyof typeof CardStatus];
514
299
 
515
300
 
516
- /**
517
- *
518
- * @export
519
- * @interface CardVersion
520
- */
521
301
  export interface CardVersion {
522
- /**
523
- *
524
- * @type {CardVersionStatus}
525
- * @memberof CardVersion
526
- */
527
302
  'status'?: CardVersionStatus;
528
303
  /**
529
304
  * The expiration date-time of the card in UTC format. The time must be a value in te future.
530
- * @type {string}
531
- * @memberof CardVersion
532
305
  */
533
306
  'expirationTime'?: string;
534
307
  /**
535
308
  * The date when the auto renewal occurs.
536
- * @type {string}
537
- * @memberof CardVersion
538
309
  */
539
310
  'renewalDate'?: string;
540
311
  /**
541
312
  * The sequence number of the card version, this value is also known as PSN (pan sequence number)
542
- * @type {number}
543
- * @memberof CardVersion
544
313
  */
545
314
  'sequenceNumber'?: number;
546
315
  /**
547
316
  * The id of the key set used by this card version
548
- * @type {string}
549
- * @memberof CardVersion
550
317
  */
551
318
  'keySetId'?: string;
552
319
  /**
553
320
  * The date and time when the card was created.
554
- * @type {string}
555
- * @memberof CardVersion
556
321
  */
557
322
  'createdAt'?: string;
558
323
  /**
559
324
  * The date and time when the object/entity was updated last time.
560
- * @type {string}
561
- * @memberof CardVersion
562
325
  */
563
326
  'updatedAt'?: string;
564
327
  }
@@ -566,257 +329,663 @@ export interface CardVersion {
566
329
 
567
330
  /**
568
331
  * - 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.
569
- * @export
570
- * @enum {string}
571
332
  */
572
333
 
573
334
  export const CardVersionStatus = {
574
335
  Active: 'ACTIVE',
575
336
  Initial: 'INITIAL',
576
- Closed: 'CLOSED'
337
+ Closed: 'CLOSED',
338
+ } as const;
339
+
340
+ export type CardVersionStatus = typeof CardVersionStatus[keyof typeof CardVersionStatus];
341
+
342
+
343
+ export interface CardholderEvent {
344
+ /**
345
+ * Enfuce generated unique identifier of the cardholder.
346
+ */
347
+ 'id': string;
348
+ /**
349
+ * External unique identifier of the cardholder, set by the issuer. Can contain both letters and numbers. Max character limit is 36.
350
+ */
351
+ 'customerNumber': string;
352
+ 'locale': Locale;
353
+ 'address'?: AddressResponse;
354
+ /**
355
+ * Mobile number of the cardholder — it must be a full number, including the country code and starting with +.
356
+ */
357
+ 'mobileNumber'?: string | null;
358
+ /**
359
+ * First name of the cardholder. Max character limit is 256.
360
+ */
361
+ 'firstName'?: string;
362
+ /**
363
+ * Middle name of the cardholder. Max character limit is 256.
364
+ */
365
+ 'middleName'?: string | null;
366
+ /**
367
+ * Last name of the cardholder. Max character limit is 256.
368
+ */
369
+ 'lastName'?: string;
370
+ /**
371
+ * The date and time when the card was created.
372
+ */
373
+ 'createdAt'?: string;
374
+ /**
375
+ * The date and time when the object/entity was updated last time.
376
+ */
377
+ 'updatedAt'?: string | null;
378
+ /**
379
+ * The version number of the entity.
380
+ */
381
+ 'updateCount'?: number;
382
+ /**
383
+ * Email address of the cardholder. Max character limit is 256.
384
+ */
385
+ 'email'?: string | null;
386
+ /**
387
+ * Tax Identification Number used for taxation, regulatory reporting, or authority requirements in many countries. Depending on regional regulatory or scheme mandates (for example Brazil requirements), this value may be forwarded to Mastercard. In some countries, this value may be the same as the customer registration or identification number (identificationNumber). Omit to keep current value.
388
+ */
389
+ 'taxId'?: string | null;
390
+ /**
391
+ * Date of birth of the cardholder. 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.
392
+ */
393
+ 'dateOfBirth'?: string | null;
394
+ /**
395
+ * Nationality of the cardholder. Maximum of 3 values. Duplicate values are not allowed. XXX may be used when nationality is unknown. XKX may be used for Kosovo. 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.
396
+ */
397
+ 'nationality'?: Array<CardholderEventNationalityEnum> | null;
398
+ 'riskScore'?: RiskScore | null;
399
+ /**
400
+ * Cardholder\'s country of birth. 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.
401
+ */
402
+ 'birthCountry'?: CountryCodesAlpha3 | null;
403
+ /**
404
+ * Customer or company identification number, such as a social security number (SSN), national identity number, or company registration number. Enfuce does not validate whether the provided identificationNumber is a real or officially valid identifier. Customers may populate this field according to their own business or regulatory needs. If you are using Enfuce as your BIN sponsor (under ELS or EUK licensing), you are required to populate this field for Finnish cardholders due to regulatory requirements.
405
+ */
406
+ 'identificationNumber'?: string | null;
407
+ }
408
+
409
+ export const CardholderEventNationalityEnum = {
410
+ Abw: 'ABW',
411
+ Afg: 'AFG',
412
+ Ago: 'AGO',
413
+ Aia: 'AIA',
414
+ Ala: 'ALA',
415
+ Alb: 'ALB',
416
+ And: 'AND',
417
+ Are: 'ARE',
418
+ Arg: 'ARG',
419
+ Arm: 'ARM',
420
+ Asm: 'ASM',
421
+ Ata: 'ATA',
422
+ Atf: 'ATF',
423
+ Atg: 'ATG',
424
+ Aus: 'AUS',
425
+ Aut: 'AUT',
426
+ Aze: 'AZE',
427
+ Bdi: 'BDI',
428
+ Bel: 'BEL',
429
+ Ben: 'BEN',
430
+ Bes: 'BES',
431
+ Bfa: 'BFA',
432
+ Bgd: 'BGD',
433
+ Bgr: 'BGR',
434
+ Bhr: 'BHR',
435
+ Bhs: 'BHS',
436
+ Bih: 'BIH',
437
+ Blm: 'BLM',
438
+ Blr: 'BLR',
439
+ Blz: 'BLZ',
440
+ Bmu: 'BMU',
441
+ Bol: 'BOL',
442
+ Bra: 'BRA',
443
+ Brb: 'BRB',
444
+ Brn: 'BRN',
445
+ Btn: 'BTN',
446
+ Bvt: 'BVT',
447
+ Bwa: 'BWA',
448
+ Caf: 'CAF',
449
+ Can: 'CAN',
450
+ Cck: 'CCK',
451
+ Che: 'CHE',
452
+ Chl: 'CHL',
453
+ Chn: 'CHN',
454
+ Civ: 'CIV',
455
+ Cmr: 'CMR',
456
+ Cod: 'COD',
457
+ Cog: 'COG',
458
+ Cok: 'COK',
459
+ Col: 'COL',
460
+ Com: 'COM',
461
+ Cpv: 'CPV',
462
+ Cri: 'CRI',
463
+ Cub: 'CUB',
464
+ Cuw: 'CUW',
465
+ Cxr: 'CXR',
466
+ Cym: 'CYM',
467
+ Cyp: 'CYP',
468
+ Cze: 'CZE',
469
+ Deu: 'DEU',
470
+ Dji: 'DJI',
471
+ Dma: 'DMA',
472
+ Dnk: 'DNK',
473
+ Dom: 'DOM',
474
+ Dza: 'DZA',
475
+ Ecu: 'ECU',
476
+ Egy: 'EGY',
477
+ Eri: 'ERI',
478
+ Esh: 'ESH',
479
+ Esp: 'ESP',
480
+ Est: 'EST',
481
+ Eth: 'ETH',
482
+ Fin: 'FIN',
483
+ Fji: 'FJI',
484
+ Flk: 'FLK',
485
+ Fra: 'FRA',
486
+ Fro: 'FRO',
487
+ Fsm: 'FSM',
488
+ Gab: 'GAB',
489
+ Gbr: 'GBR',
490
+ Geo: 'GEO',
491
+ Ggy: 'GGY',
492
+ Gha: 'GHA',
493
+ Gib: 'GIB',
494
+ Gin: 'GIN',
495
+ Glp: 'GLP',
496
+ Gmb: 'GMB',
497
+ Gnb: 'GNB',
498
+ Gnq: 'GNQ',
499
+ Grc: 'GRC',
500
+ Grd: 'GRD',
501
+ Grl: 'GRL',
502
+ Gtm: 'GTM',
503
+ Guf: 'GUF',
504
+ Gum: 'GUM',
505
+ Guy: 'GUY',
506
+ Hkg: 'HKG',
507
+ Hmd: 'HMD',
508
+ Hnd: 'HND',
509
+ Hrv: 'HRV',
510
+ Hti: 'HTI',
511
+ Hun: 'HUN',
512
+ Idn: 'IDN',
513
+ Imn: 'IMN',
514
+ Ind: 'IND',
515
+ Iot: 'IOT',
516
+ Irl: 'IRL',
517
+ Irn: 'IRN',
518
+ Irq: 'IRQ',
519
+ Isl: 'ISL',
520
+ Isr: 'ISR',
521
+ Ita: 'ITA',
522
+ Jam: 'JAM',
523
+ Jey: 'JEY',
524
+ Jor: 'JOR',
525
+ Jpn: 'JPN',
526
+ Kaz: 'KAZ',
527
+ Ken: 'KEN',
528
+ Kgz: 'KGZ',
529
+ Khm: 'KHM',
530
+ Kir: 'KIR',
531
+ Kna: 'KNA',
532
+ Kor: 'KOR',
533
+ Kwt: 'KWT',
534
+ Lao: 'LAO',
535
+ Lbn: 'LBN',
536
+ Lbr: 'LBR',
537
+ Lby: 'LBY',
538
+ Lca: 'LCA',
539
+ Lie: 'LIE',
540
+ Lka: 'LKA',
541
+ Lso: 'LSO',
542
+ Ltu: 'LTU',
543
+ Lux: 'LUX',
544
+ Lva: 'LVA',
545
+ Mac: 'MAC',
546
+ Maf: 'MAF',
547
+ Mar: 'MAR',
548
+ Mco: 'MCO',
549
+ Mda: 'MDA',
550
+ Mdg: 'MDG',
551
+ Mdv: 'MDV',
552
+ Mex: 'MEX',
553
+ Mhl: 'MHL',
554
+ Mkd: 'MKD',
555
+ Mli: 'MLI',
556
+ Mlt: 'MLT',
557
+ Mmr: 'MMR',
558
+ Mne: 'MNE',
559
+ Mng: 'MNG',
560
+ Mnp: 'MNP',
561
+ Moz: 'MOZ',
562
+ Mrt: 'MRT',
563
+ Msr: 'MSR',
564
+ Mtq: 'MTQ',
565
+ Mus: 'MUS',
566
+ Mwi: 'MWI',
567
+ Mys: 'MYS',
568
+ Myt: 'MYT',
569
+ Nam: 'NAM',
570
+ Ncl: 'NCL',
571
+ Ner: 'NER',
572
+ Nfk: 'NFK',
573
+ Nga: 'NGA',
574
+ Nic: 'NIC',
575
+ Niu: 'NIU',
576
+ Nld: 'NLD',
577
+ Nor: 'NOR',
578
+ Npl: 'NPL',
579
+ Nru: 'NRU',
580
+ Nzl: 'NZL',
581
+ Omn: 'OMN',
582
+ Pak: 'PAK',
583
+ Pan: 'PAN',
584
+ Pcn: 'PCN',
585
+ Per: 'PER',
586
+ Phl: 'PHL',
587
+ Plw: 'PLW',
588
+ Png: 'PNG',
589
+ Pol: 'POL',
590
+ Pri: 'PRI',
591
+ Prk: 'PRK',
592
+ Prt: 'PRT',
593
+ Pry: 'PRY',
594
+ Pse: 'PSE',
595
+ Pyf: 'PYF',
596
+ Qat: 'QAT',
597
+ Reu: 'REU',
598
+ Rou: 'ROU',
599
+ Rus: 'RUS',
600
+ Rwa: 'RWA',
601
+ Sau: 'SAU',
602
+ Sdn: 'SDN',
603
+ Sen: 'SEN',
604
+ Sgp: 'SGP',
605
+ Sgs: 'SGS',
606
+ Shn: 'SHN',
607
+ Sjm: 'SJM',
608
+ Slb: 'SLB',
609
+ Sle: 'SLE',
610
+ Slv: 'SLV',
611
+ Smr: 'SMR',
612
+ Som: 'SOM',
613
+ Spm: 'SPM',
614
+ Srb: 'SRB',
615
+ Ssd: 'SSD',
616
+ Stp: 'STP',
617
+ Sur: 'SUR',
618
+ Svk: 'SVK',
619
+ Svn: 'SVN',
620
+ Swe: 'SWE',
621
+ Swz: 'SWZ',
622
+ Sxm: 'SXM',
623
+ Syc: 'SYC',
624
+ Syr: 'SYR',
625
+ Tca: 'TCA',
626
+ Tcd: 'TCD',
627
+ Tgo: 'TGO',
628
+ Tha: 'THA',
629
+ Tjk: 'TJK',
630
+ Tkl: 'TKL',
631
+ Tkm: 'TKM',
632
+ Tls: 'TLS',
633
+ Ton: 'TON',
634
+ Tto: 'TTO',
635
+ Tun: 'TUN',
636
+ Tur: 'TUR',
637
+ Tuv: 'TUV',
638
+ Twn: 'TWN',
639
+ Tza: 'TZA',
640
+ Uga: 'UGA',
641
+ Ukr: 'UKR',
642
+ Umi: 'UMI',
643
+ Ury: 'URY',
644
+ Usa: 'USA',
645
+ Uzb: 'UZB',
646
+ Vat: 'VAT',
647
+ Vct: 'VCT',
648
+ Ven: 'VEN',
649
+ Vgb: 'VGB',
650
+ Vir: 'VIR',
651
+ Vnm: 'VNM',
652
+ Vut: 'VUT',
653
+ Wlf: 'WLF',
654
+ Wsm: 'WSM',
655
+ Yem: 'YEM',
656
+ Zaf: 'ZAF',
657
+ Zmb: 'ZMB',
658
+ Zwe: 'ZWE',
659
+ Xkx: 'XKX',
660
+ Xxx: 'XXX',
661
+ } as const;
662
+
663
+ export type CardholderEventNationalityEnum = typeof CardholderEventNationalityEnum[keyof typeof CardholderEventNationalityEnum];
664
+
665
+ export interface CardholderResponse {
666
+ /**
667
+ * Enfuce generated unique identifier of the cardholder.
668
+ */
669
+ 'id': string;
670
+ /**
671
+ * External unique identifier of the cardholder, set by the issuer. Can contain both letters and numbers. Max character limit is 36.
672
+ */
673
+ 'customerNumber': string;
674
+ 'locale': Locale;
675
+ 'address'?: AddressResponse;
676
+ /**
677
+ * Mobile number of the cardholder — it must be a full number, including the country code and starting with +.
678
+ */
679
+ 'mobileNumber'?: string | null;
680
+ /**
681
+ * First name of the cardholder. Max character limit is 256.
682
+ */
683
+ 'firstName'?: string;
684
+ /**
685
+ * Middle name of the cardholder. Max character limit is 256.
686
+ */
687
+ 'middleName'?: string | null;
688
+ /**
689
+ * Last name of the cardholder. Max character limit is 256.
690
+ */
691
+ 'lastName'?: string;
692
+ /**
693
+ * The date and time when the card was created.
694
+ */
695
+ 'createdAt'?: string;
696
+ /**
697
+ * The date and time when the object/entity was updated last time.
698
+ */
699
+ 'updatedAt'?: string | null;
700
+ /**
701
+ * The version number of the entity.
702
+ */
703
+ 'updateCount'?: number;
704
+ /**
705
+ * Email address of the cardholder. Max character limit is 256.
706
+ */
707
+ 'email'?: string | null;
708
+ /**
709
+ * Tax Identification Number used for taxation, regulatory reporting, or authority requirements in many countries. Depending on regional regulatory or scheme mandates (for example Brazil requirements), this value may be forwarded to Mastercard. In some countries, this value may be the same as the customer registration or identification number (identificationNumber). Omit to keep current value.
710
+ */
711
+ 'taxId'?: string | null;
712
+ /**
713
+ * Date of birth of the cardholder. 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.
714
+ */
715
+ 'dateOfBirth'?: string | null;
716
+ /**
717
+ * Nationality of the cardholder. Maximum of 3 values. Duplicate values are not allowed. XXX may be used when nationality is unknown. XKX may be used for Kosovo. 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.
718
+ */
719
+ 'nationality'?: Array<CardholderResponseNationalityEnum> | null;
720
+ 'riskScore'?: RiskScore | null;
721
+ /**
722
+ * Cardholder\'s country of birth. 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.
723
+ */
724
+ 'birthCountry'?: CountryCodesAlpha3 | null;
725
+ /**
726
+ * Customer or company identification number, such as a social security number (SSN), national identity number, or company registration number. Enfuce does not validate whether the provided identificationNumber is a real or officially valid identifier. Customers may populate this field according to their own business or regulatory needs. If you are using Enfuce as your BIN sponsor (under ELS or EUK licensing), you are required to populate this field for Finnish cardholders due to regulatory requirements.
727
+ */
728
+ 'identificationNumber'?: string | null;
729
+ }
730
+
731
+ export const CardholderResponseNationalityEnum = {
732
+ Abw: 'ABW',
733
+ Afg: 'AFG',
734
+ Ago: 'AGO',
735
+ Aia: 'AIA',
736
+ Ala: 'ALA',
737
+ Alb: 'ALB',
738
+ And: 'AND',
739
+ Are: 'ARE',
740
+ Arg: 'ARG',
741
+ Arm: 'ARM',
742
+ Asm: 'ASM',
743
+ Ata: 'ATA',
744
+ Atf: 'ATF',
745
+ Atg: 'ATG',
746
+ Aus: 'AUS',
747
+ Aut: 'AUT',
748
+ Aze: 'AZE',
749
+ Bdi: 'BDI',
750
+ Bel: 'BEL',
751
+ Ben: 'BEN',
752
+ Bes: 'BES',
753
+ Bfa: 'BFA',
754
+ Bgd: 'BGD',
755
+ Bgr: 'BGR',
756
+ Bhr: 'BHR',
757
+ Bhs: 'BHS',
758
+ Bih: 'BIH',
759
+ Blm: 'BLM',
760
+ Blr: 'BLR',
761
+ Blz: 'BLZ',
762
+ Bmu: 'BMU',
763
+ Bol: 'BOL',
764
+ Bra: 'BRA',
765
+ Brb: 'BRB',
766
+ Brn: 'BRN',
767
+ Btn: 'BTN',
768
+ Bvt: 'BVT',
769
+ Bwa: 'BWA',
770
+ Caf: 'CAF',
771
+ Can: 'CAN',
772
+ Cck: 'CCK',
773
+ Che: 'CHE',
774
+ Chl: 'CHL',
775
+ Chn: 'CHN',
776
+ Civ: 'CIV',
777
+ Cmr: 'CMR',
778
+ Cod: 'COD',
779
+ Cog: 'COG',
780
+ Cok: 'COK',
781
+ Col: 'COL',
782
+ Com: 'COM',
783
+ Cpv: 'CPV',
784
+ Cri: 'CRI',
785
+ Cub: 'CUB',
786
+ Cuw: 'CUW',
787
+ Cxr: 'CXR',
788
+ Cym: 'CYM',
789
+ Cyp: 'CYP',
790
+ Cze: 'CZE',
791
+ Deu: 'DEU',
792
+ Dji: 'DJI',
793
+ Dma: 'DMA',
794
+ Dnk: 'DNK',
795
+ Dom: 'DOM',
796
+ Dza: 'DZA',
797
+ Ecu: 'ECU',
798
+ Egy: 'EGY',
799
+ Eri: 'ERI',
800
+ Esh: 'ESH',
801
+ Esp: 'ESP',
802
+ Est: 'EST',
803
+ Eth: 'ETH',
804
+ Fin: 'FIN',
805
+ Fji: 'FJI',
806
+ Flk: 'FLK',
807
+ Fra: 'FRA',
808
+ Fro: 'FRO',
809
+ Fsm: 'FSM',
810
+ Gab: 'GAB',
811
+ Gbr: 'GBR',
812
+ Geo: 'GEO',
813
+ Ggy: 'GGY',
814
+ Gha: 'GHA',
815
+ Gib: 'GIB',
816
+ Gin: 'GIN',
817
+ Glp: 'GLP',
818
+ Gmb: 'GMB',
819
+ Gnb: 'GNB',
820
+ Gnq: 'GNQ',
821
+ Grc: 'GRC',
822
+ Grd: 'GRD',
823
+ Grl: 'GRL',
824
+ Gtm: 'GTM',
825
+ Guf: 'GUF',
826
+ Gum: 'GUM',
827
+ Guy: 'GUY',
828
+ Hkg: 'HKG',
829
+ Hmd: 'HMD',
830
+ Hnd: 'HND',
831
+ Hrv: 'HRV',
832
+ Hti: 'HTI',
833
+ Hun: 'HUN',
834
+ Idn: 'IDN',
835
+ Imn: 'IMN',
836
+ Ind: 'IND',
837
+ Iot: 'IOT',
838
+ Irl: 'IRL',
839
+ Irn: 'IRN',
840
+ Irq: 'IRQ',
841
+ Isl: 'ISL',
842
+ Isr: 'ISR',
843
+ Ita: 'ITA',
844
+ Jam: 'JAM',
845
+ Jey: 'JEY',
846
+ Jor: 'JOR',
847
+ Jpn: 'JPN',
848
+ Kaz: 'KAZ',
849
+ Ken: 'KEN',
850
+ Kgz: 'KGZ',
851
+ Khm: 'KHM',
852
+ Kir: 'KIR',
853
+ Kna: 'KNA',
854
+ Kor: 'KOR',
855
+ Kwt: 'KWT',
856
+ Lao: 'LAO',
857
+ Lbn: 'LBN',
858
+ Lbr: 'LBR',
859
+ Lby: 'LBY',
860
+ Lca: 'LCA',
861
+ Lie: 'LIE',
862
+ Lka: 'LKA',
863
+ Lso: 'LSO',
864
+ Ltu: 'LTU',
865
+ Lux: 'LUX',
866
+ Lva: 'LVA',
867
+ Mac: 'MAC',
868
+ Maf: 'MAF',
869
+ Mar: 'MAR',
870
+ Mco: 'MCO',
871
+ Mda: 'MDA',
872
+ Mdg: 'MDG',
873
+ Mdv: 'MDV',
874
+ Mex: 'MEX',
875
+ Mhl: 'MHL',
876
+ Mkd: 'MKD',
877
+ Mli: 'MLI',
878
+ Mlt: 'MLT',
879
+ Mmr: 'MMR',
880
+ Mne: 'MNE',
881
+ Mng: 'MNG',
882
+ Mnp: 'MNP',
883
+ Moz: 'MOZ',
884
+ Mrt: 'MRT',
885
+ Msr: 'MSR',
886
+ Mtq: 'MTQ',
887
+ Mus: 'MUS',
888
+ Mwi: 'MWI',
889
+ Mys: 'MYS',
890
+ Myt: 'MYT',
891
+ Nam: 'NAM',
892
+ Ncl: 'NCL',
893
+ Ner: 'NER',
894
+ Nfk: 'NFK',
895
+ Nga: 'NGA',
896
+ Nic: 'NIC',
897
+ Niu: 'NIU',
898
+ Nld: 'NLD',
899
+ Nor: 'NOR',
900
+ Npl: 'NPL',
901
+ Nru: 'NRU',
902
+ Nzl: 'NZL',
903
+ Omn: 'OMN',
904
+ Pak: 'PAK',
905
+ Pan: 'PAN',
906
+ Pcn: 'PCN',
907
+ Per: 'PER',
908
+ Phl: 'PHL',
909
+ Plw: 'PLW',
910
+ Png: 'PNG',
911
+ Pol: 'POL',
912
+ Pri: 'PRI',
913
+ Prk: 'PRK',
914
+ Prt: 'PRT',
915
+ Pry: 'PRY',
916
+ Pse: 'PSE',
917
+ Pyf: 'PYF',
918
+ Qat: 'QAT',
919
+ Reu: 'REU',
920
+ Rou: 'ROU',
921
+ Rus: 'RUS',
922
+ Rwa: 'RWA',
923
+ Sau: 'SAU',
924
+ Sdn: 'SDN',
925
+ Sen: 'SEN',
926
+ Sgp: 'SGP',
927
+ Sgs: 'SGS',
928
+ Shn: 'SHN',
929
+ Sjm: 'SJM',
930
+ Slb: 'SLB',
931
+ Sle: 'SLE',
932
+ Slv: 'SLV',
933
+ Smr: 'SMR',
934
+ Som: 'SOM',
935
+ Spm: 'SPM',
936
+ Srb: 'SRB',
937
+ Ssd: 'SSD',
938
+ Stp: 'STP',
939
+ Sur: 'SUR',
940
+ Svk: 'SVK',
941
+ Svn: 'SVN',
942
+ Swe: 'SWE',
943
+ Swz: 'SWZ',
944
+ Sxm: 'SXM',
945
+ Syc: 'SYC',
946
+ Syr: 'SYR',
947
+ Tca: 'TCA',
948
+ Tcd: 'TCD',
949
+ Tgo: 'TGO',
950
+ Tha: 'THA',
951
+ Tjk: 'TJK',
952
+ Tkl: 'TKL',
953
+ Tkm: 'TKM',
954
+ Tls: 'TLS',
955
+ Ton: 'TON',
956
+ Tto: 'TTO',
957
+ Tun: 'TUN',
958
+ Tur: 'TUR',
959
+ Tuv: 'TUV',
960
+ Twn: 'TWN',
961
+ Tza: 'TZA',
962
+ Uga: 'UGA',
963
+ Ukr: 'UKR',
964
+ Umi: 'UMI',
965
+ Ury: 'URY',
966
+ Usa: 'USA',
967
+ Uzb: 'UZB',
968
+ Vat: 'VAT',
969
+ Vct: 'VCT',
970
+ Ven: 'VEN',
971
+ Vgb: 'VGB',
972
+ Vir: 'VIR',
973
+ Vnm: 'VNM',
974
+ Vut: 'VUT',
975
+ Wlf: 'WLF',
976
+ Wsm: 'WSM',
977
+ Yem: 'YEM',
978
+ Zaf: 'ZAF',
979
+ Zmb: 'ZMB',
980
+ Zwe: 'ZWE',
981
+ Xkx: 'XKX',
982
+ Xxx: 'XXX',
577
983
  } as const;
578
984
 
579
- export type CardVersionStatus = typeof CardVersionStatus[keyof typeof CardVersionStatus];
580
-
581
-
582
- /**
583
- *
584
- * @export
585
- * @interface CardholderEvent
586
- */
587
- export interface CardholderEvent {
588
- /**
589
- * Enfuce generated unique identifier of the cardholder.
590
- * @type {string}
591
- * @memberof CardholderEvent
592
- */
593
- 'id': string;
594
- /**
595
- * External unique identifier of the cardholder, set by the issuer. Can contain both letters and numbers. Max character limit is 36.
596
- * @type {string}
597
- * @memberof CardholderEvent
598
- */
599
- 'customerNumber': string;
600
- /**
601
- *
602
- * @type {Locale}
603
- * @memberof CardholderEvent
604
- */
605
- 'locale': Locale;
606
- /**
607
- *
608
- * @type {AddressResponse}
609
- * @memberof CardholderEvent
610
- */
611
- 'address'?: AddressResponse;
612
- /**
613
- * Mobile number of the cardholder — it must be a full number, including the country code and starting with +.
614
- * @type {string}
615
- * @memberof CardholderEvent
616
- */
617
- 'mobileNumber'?: string | null;
618
- /**
619
- * First name of the cardholder. Max character limit is 256.
620
- * @type {string}
621
- * @memberof CardholderEvent
622
- */
623
- 'firstName'?: string;
624
- /**
625
- * Middle name of the cardholder. Max character limit is 256.
626
- * @type {string}
627
- * @memberof CardholderEvent
628
- */
629
- 'middleName'?: string | null;
630
- /**
631
- * Last name of the cardholder. Max character limit is 256.
632
- * @type {string}
633
- * @memberof CardholderEvent
634
- */
635
- 'lastName'?: string;
636
- /**
637
- * The date and time when the card was created.
638
- * @type {string}
639
- * @memberof CardholderEvent
640
- */
641
- 'createdAt'?: string;
642
- /**
643
- * The date and time when the object/entity was updated last time.
644
- * @type {string}
645
- * @memberof CardholderEvent
646
- */
647
- 'updatedAt'?: string | null;
648
- /**
649
- * The version number of the entity.
650
- * @type {number}
651
- * @memberof CardholderEvent
652
- */
653
- 'updateCount'?: number;
654
- /**
655
- * Email address of the cardholder. Max character limit is 256.
656
- * @type {string}
657
- * @memberof CardholderEvent
658
- */
659
- 'email'?: string | null;
660
- /**
661
- * Tax Identification Number used for taxation, regulatory reporting, or authority requirements in many countries. Depending on regional regulatory or scheme mandates (for example Brazil requirements), this value may be forwarded to Mastercard. In some countries, this value may be the same as the customer registration or identification number (identificationNumber). Omit to keep current value.
662
- * @type {string}
663
- * @memberof CardholderEvent
664
- */
665
- 'taxId'?: string | null;
666
- /**
667
- * Date of birth of the cardholder. 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.
668
- * @type {string}
669
- * @memberof CardholderEvent
670
- */
671
- 'dateOfBirth'?: string | null;
672
- /**
673
- * Nationality of the cardholder. Maximum of 3 values. Duplicate values are not allowed. XXX may be used when nationality is unknown. XKX may be used for Kosovo. 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.
674
- * @type {Array<NationalityInner>}
675
- * @memberof CardholderEvent
676
- */
677
- 'nationality'?: Array<NationalityInner> | null;
678
- /**
679
- *
680
- * @type {RiskScore}
681
- * @memberof CardholderEvent
682
- */
683
- 'riskScore'?: RiskScore | null;
684
- /**
685
- * Cardholder\'s country of birth. 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.
686
- * @type {CountryCodesAlpha3}
687
- * @memberof CardholderEvent
688
- */
689
- 'birthCountry'?: CountryCodesAlpha3 | null;
690
- /**
691
- * Customer or company identification number, such as a social security number (SSN), national identity number, or company registration number. Enfuce does not validate whether the provided identificationNumber is a real or officially valid identifier. Customers may populate this field according to their own business or regulatory needs. If you are using Enfuce as your BIN sponsor (under ELS or EUK licensing), you are required to populate this field for Finnish cardholders due to regulatory requirements.
692
- * @type {string}
693
- * @memberof CardholderEvent
694
- */
695
- 'identificationNumber'?: string | null;
696
- }
697
-
698
-
699
- /**
700
- *
701
- * @export
702
- * @interface CardholderResponse
703
- */
704
- export interface CardholderResponse {
705
- /**
706
- * Enfuce generated unique identifier of the cardholder.
707
- * @type {string}
708
- * @memberof CardholderResponse
709
- */
710
- 'id': string;
711
- /**
712
- * External unique identifier of the cardholder, set by the issuer. Can contain both letters and numbers. Max character limit is 36.
713
- * @type {string}
714
- * @memberof CardholderResponse
715
- */
716
- 'customerNumber': string;
717
- /**
718
- *
719
- * @type {Locale}
720
- * @memberof CardholderResponse
721
- */
722
- 'locale': Locale;
723
- /**
724
- *
725
- * @type {AddressResponse}
726
- * @memberof CardholderResponse
727
- */
728
- 'address'?: AddressResponse;
729
- /**
730
- * Mobile number of the cardholder — it must be a full number, including the country code and starting with +.
731
- * @type {string}
732
- * @memberof CardholderResponse
733
- */
734
- 'mobileNumber'?: string | null;
735
- /**
736
- * First name of the cardholder. Max character limit is 256.
737
- * @type {string}
738
- * @memberof CardholderResponse
739
- */
740
- 'firstName'?: string;
741
- /**
742
- * Middle name of the cardholder. Max character limit is 256.
743
- * @type {string}
744
- * @memberof CardholderResponse
745
- */
746
- 'middleName'?: string | null;
747
- /**
748
- * Last name of the cardholder. Max character limit is 256.
749
- * @type {string}
750
- * @memberof CardholderResponse
751
- */
752
- 'lastName'?: string;
753
- /**
754
- * The date and time when the card was created.
755
- * @type {string}
756
- * @memberof CardholderResponse
757
- */
758
- 'createdAt'?: string;
759
- /**
760
- * The date and time when the object/entity was updated last time.
761
- * @type {string}
762
- * @memberof CardholderResponse
763
- */
764
- 'updatedAt'?: string | null;
765
- /**
766
- * The version number of the entity.
767
- * @type {number}
768
- * @memberof CardholderResponse
769
- */
770
- 'updateCount'?: number;
771
- /**
772
- * Email address of the cardholder. Max character limit is 256.
773
- * @type {string}
774
- * @memberof CardholderResponse
775
- */
776
- 'email'?: string | null;
777
- /**
778
- * Tax Identification Number used for taxation, regulatory reporting, or authority requirements in many countries. Depending on regional regulatory or scheme mandates (for example Brazil requirements), this value may be forwarded to Mastercard. In some countries, this value may be the same as the customer registration or identification number (identificationNumber). Omit to keep current value.
779
- * @type {string}
780
- * @memberof CardholderResponse
781
- */
782
- 'taxId'?: string | null;
783
- /**
784
- * Date of birth of the cardholder. 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.
785
- * @type {string}
786
- * @memberof CardholderResponse
787
- */
788
- 'dateOfBirth'?: string | null;
789
- /**
790
- * Nationality of the cardholder. Maximum of 3 values. Duplicate values are not allowed. XXX may be used when nationality is unknown. XKX may be used for Kosovo. 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.
791
- * @type {Array<NationalityInner>}
792
- * @memberof CardholderResponse
793
- */
794
- 'nationality'?: Array<NationalityInner> | null;
795
- /**
796
- *
797
- * @type {RiskScore}
798
- * @memberof CardholderResponse
799
- */
800
- 'riskScore'?: RiskScore | null;
801
- /**
802
- * Cardholder\'s country of birth. 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.
803
- * @type {CountryCodesAlpha3}
804
- * @memberof CardholderResponse
805
- */
806
- 'birthCountry'?: CountryCodesAlpha3 | null;
807
- /**
808
- * Customer or company identification number, such as a social security number (SSN), national identity number, or company registration number. Enfuce does not validate whether the provided identificationNumber is a real or officially valid identifier. Customers may populate this field according to their own business or regulatory needs. If you are using Enfuce as your BIN sponsor (under ELS or EUK licensing), you are required to populate this field for Finnish cardholders due to regulatory requirements.
809
- * @type {string}
810
- * @memberof CardholderResponse
811
- */
812
- 'identificationNumber'?: string | null;
813
- }
814
-
985
+ export type CardholderResponseNationalityEnum = typeof CardholderResponseNationalityEnum[keyof typeof CardholderResponseNationalityEnum];
815
986
 
816
987
  /**
817
988
  * ISO 3166-1 alpha-3 country codes. XKX is used for the Kosovo.
818
- * @export
819
- * @enum {string}
820
989
  */
821
990
 
822
991
  export const CountryCodesAlpha3 = {
@@ -1069,7 +1238,7 @@ export const CountryCodesAlpha3 = {
1069
1238
  Zaf: 'ZAF',
1070
1239
  Zmb: 'ZMB',
1071
1240
  Zwe: 'ZWE',
1072
- Xkx: 'XKX'
1241
+ Xkx: 'XKX',
1073
1242
  } as const;
1074
1243
 
1075
1244
  export type CountryCodesAlpha3 = typeof CountryCodesAlpha3[keyof typeof CountryCodesAlpha3];
@@ -1077,33 +1246,23 @@ export type CountryCodesAlpha3 = typeof CountryCodesAlpha3[keyof typeof CountryC
1077
1246
 
1078
1247
  /**
1079
1248
  * Device information.
1080
- * @export
1081
- * @interface DeviceInfo
1082
1249
  */
1083
1250
  export interface DeviceInfo {
1084
1251
  /**
1085
1252
  * User-defined name of the device provided by the wallet or operating system.
1086
- * @type {string}
1087
- * @memberof DeviceInfo
1088
1253
  */
1089
1254
  'deviceName'?: string;
1090
1255
  /**
1091
1256
  * Indicates the type of device on which the token is provisioned. Typical values include PHONE, WATCH, TABLET, or WEARABLE.
1092
- * @type {string}
1093
- * @memberof DeviceInfo
1094
1257
  */
1095
1258
  'deviceType'?: string;
1096
1259
  /**
1097
1260
  * Operating system running on the device. Typical values include IOS, ANDROID, or WATCHOS.
1098
- * @type {string}
1099
- * @memberof DeviceInfo
1100
1261
  */
1101
1262
  'operatingSystem'?: string;
1102
1263
  }
1103
1264
  /**
1104
1265
  * 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.
1105
- * @export
1106
- * @enum {string}
1107
1266
  */
1108
1267
 
1109
1268
  export const Locale = {
@@ -1386,71 +1545,46 @@ export const Locale = {
1386
1545
  ZhMo2: 'zh_MO',
1387
1546
  ZhSg2: 'zh_SG',
1388
1547
  ZhTw2: 'zh_TW',
1389
- ZuZa2: 'zu_ZA'
1548
+ ZuZa2: 'zu_ZA',
1390
1549
  } as const;
1391
1550
 
1392
1551
  export type Locale = typeof Locale[keyof typeof Locale];
1393
1552
 
1394
1553
 
1395
- /**
1396
- *
1397
- * @export
1398
- * @interface MultiApplicationProperties
1399
- */
1400
1554
  export interface MultiApplicationProperties {
1401
1555
  /**
1402
1556
  * Name of the application. Max character limit is 16. Only applicable to multi-application cards. Otherwise, the request will return 400 Bad Request.
1403
- * @type {string}
1404
- * @memberof MultiApplicationProperties
1405
1557
  */
1406
1558
  'applicationName'?: string;
1407
1559
  /**
1408
1560
  * The index of the application
1409
- * @type {number}
1410
- * @memberof MultiApplicationProperties
1411
1561
  */
1412
1562
  'applicationIndex'?: number;
1413
1563
  /**
1414
1564
  * The contact priority level for given card. Only applicable to multi-application cards. Otherwise, the request will return 400 Bad Request.
1415
- * @type {number}
1416
- * @memberof MultiApplicationProperties
1417
1565
  */
1418
1566
  'contactPriorityLevel'?: number;
1419
1567
  /**
1420
1568
  * The contactless priority level of the given card. Only applicable to multi-application cards. Otherwise, the request will return 400 Bad Request.
1421
- * @type {number}
1422
- * @memberof MultiApplicationProperties
1423
1569
  */
1424
1570
  'contactlessPriorityLevel'?: number;
1425
1571
  /**
1426
1572
  * Indicates whether the specific card would be printed or not. Only applicable to multi-application cards. Otherwise, the request will return 400 Bad Request.
1427
- * @type {boolean}
1428
- * @memberof MultiApplicationProperties
1429
1573
  */
1430
1574
  'printed'?: boolean;
1431
1575
  /**
1432
1576
  * Whether the card should be visible in card terminal or not. Only applicable to multi-application cards. Otherwise, the request will return 400 Bad Request.
1433
- * @type {boolean}
1434
- * @memberof MultiApplicationProperties
1435
1577
  */
1436
1578
  'chipEnabled'?: boolean;
1437
1579
  }
1438
- /**
1439
- * @type NationalityInner
1440
- * @export
1441
- */
1442
- export type NationalityInner = CountryCodesAlpha3 | string;
1443
-
1444
1580
  /**
1445
1581
  * 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.
1446
- * @export
1447
- * @enum {string}
1448
1582
  */
1449
1583
 
1450
1584
  export const PinDeliveryType = {
1451
1585
  Mail: 'MAIL',
1452
1586
  Courier: 'COURIER',
1453
- Epin: 'EPIN'
1587
+ Epin: 'EPIN',
1454
1588
  } as const;
1455
1589
 
1456
1590
  export type PinDeliveryType = typeof PinDeliveryType[keyof typeof PinDeliveryType];
@@ -1458,78 +1592,41 @@ export type PinDeliveryType = typeof PinDeliveryType[keyof typeof PinDeliveryTyp
1458
1592
 
1459
1593
  /**
1460
1594
  * - 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.
1461
- * @export
1462
- * @enum {string}
1463
1595
  */
1464
1596
 
1465
1597
  export const PinStatus = {
1466
1598
  Generated: 'GENERATED',
1467
1599
  Waiting: 'WAITING',
1468
1600
  Set: 'SET',
1469
- Inherited: 'INHERITED'
1601
+ Inherited: 'INHERITED',
1470
1602
  } as const;
1471
1603
 
1472
1604
  export type PinStatus = typeof PinStatus[keyof typeof PinStatus];
1473
1605
 
1474
1606
 
1475
- /**
1476
- *
1477
- * @export
1478
- * @interface Plastic
1479
- */
1480
1607
  export interface Plastic {
1481
1608
  /**
1482
1609
  * The name to be embossed on the card. Max character limit is 26.
1483
- * @type {string}
1484
- * @memberof Plastic
1485
1610
  */
1486
1611
  'embossingName'?: string;
1487
- /**
1488
- *
1489
- * @type {Address}
1490
- * @memberof Plastic
1491
- */
1492
1612
  'preferredCardAddress'?: Address;
1493
- /**
1494
- *
1495
- * @type {CardDeliveryType}
1496
- * @memberof Plastic
1497
- */
1498
1613
  'preferredCardDeliveryType': CardDeliveryType;
1499
- /**
1500
- *
1501
- * @type {Address}
1502
- * @memberof Plastic
1503
- */
1504
1614
  'preferredPinAddress'?: Address;
1505
- /**
1506
- *
1507
- * @type {PinDeliveryType}
1508
- * @memberof Plastic
1509
- */
1510
1615
  'preferredPinDeliveryType': PinDeliveryType;
1511
1616
  /**
1512
1617
  * Unique identifier of a resource.
1513
- * @type {string}
1514
- * @memberof Plastic
1515
1618
  */
1516
1619
  'manufacturerId'?: string;
1517
1620
  /**
1518
1621
  * Unique code forwarded to the embossing house; the code identifies the plastic layout to be used for printing the new card. Ensure beforehand, the selected embossing house is aligned with the code used for each layout.
1519
- * @type {string}
1520
- * @memberof Plastic
1521
1622
  */
1522
1623
  'externalLayoutCode'?: string;
1523
1624
  /**
1524
1625
  * The date and time when the card was created.
1525
- * @type {string}
1526
- * @memberof Plastic
1527
1626
  */
1528
1627
  'createdAt'?: string;
1529
1628
  /**
1530
1629
  * The date and time when the object/entity was updated last time.
1531
- * @type {string}
1532
- * @memberof Plastic
1533
1630
  */
1534
1631
  'updatedAt'?: string;
1535
1632
  }
@@ -1537,8 +1634,6 @@ export interface Plastic {
1537
1634
 
1538
1635
  /**
1539
1636
  * 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.
1540
- * @export
1541
- * @enum {string}
1542
1637
  */
1543
1638
 
1544
1639
  export const RiskScore = {
@@ -1546,94 +1641,51 @@ export const RiskScore = {
1546
1641
  Med: 'Med',
1547
1642
  Low: 'Low',
1548
1643
  Pep: 'Pep',
1549
- Prohibited: 'Prohibited'
1644
+ Prohibited: 'Prohibited',
1550
1645
  } as const;
1551
1646
 
1552
1647
  export type RiskScore = typeof RiskScore[keyof typeof RiskScore];
1553
1648
 
1554
1649
 
1555
- /**
1556
- *
1557
- * @export
1558
- * @interface TokenEvent
1559
- */
1560
1650
  export interface TokenEvent {
1561
1651
  /**
1562
1652
  * A unique identifier for the token assigned by the Token Service Provider (TSP) (eg. Visa or MC) to manage the lifecycle of the token.
1563
- * @type {string}
1564
- * @memberof TokenEvent
1565
1653
  */
1566
1654
  'tokenUniqueReferenceId'?: string;
1567
1655
  /**
1568
1656
  * Identifier used by merchants or wallet providers to request tokens from the TSP.
1569
- * @type {string}
1570
- * @memberof TokenEvent
1571
1657
  */
1572
1658
  'tokenRequestorId'?: string;
1573
- /**
1574
- *
1575
- * @type {TokenRequestor}
1576
- * @memberof TokenEvent
1577
- */
1578
1659
  'tokenRequestor'?: TokenRequestor;
1579
- /**
1580
- *
1581
- * @type {TokenStatus}
1582
- * @memberof TokenEvent
1583
- */
1584
1660
  'status'?: TokenStatus;
1585
1661
  /**
1586
1662
  * The last 4 digits of the tokenised PAN (DPAN) used for display and identification purposes.
1587
- * @type {string}
1588
- * @memberof TokenEvent
1589
1663
  */
1590
1664
  'tokenSuffix'?: string;
1591
1665
  /**
1592
1666
  * The Device Primary Account Number (DPAN) represents the tokenised card number assigned by the payment network (Visa, Mastercard, etc.) when a card is added to a digital wallet. It replaces the original funding PAN (FPAN) in wallet transactions.
1593
- * @type {string}
1594
- * @memberof TokenEvent
1595
1667
  */
1596
1668
  'dPan'?: string;
1597
1669
  /**
1598
1670
  * If the token was deleted from the consumer app
1599
- * @type {boolean}
1600
- * @memberof TokenEvent
1601
1671
  */
1602
1672
  'deletedFromConsumerApp'?: boolean;
1603
- /**
1604
- *
1605
- * @type {AuthorizationDecisionColor}
1606
- * @memberof TokenEvent
1607
- */
1608
1673
  'authorizationDecision'?: AuthorizationDecisionColor;
1609
1674
  /**
1610
1675
  * The id of the card associated with the token.
1611
- * @type {string}
1612
- * @memberof TokenEvent
1613
1676
  */
1614
1677
  'cardId'?: string;
1615
- /**
1616
- *
1617
- * @type {DeviceInfo}
1618
- * @memberof TokenEvent
1619
- */
1620
1678
  'deviceInfo'?: DeviceInfo;
1621
1679
  /**
1622
1680
  * The timestamp when the token was created by the TSP.
1623
- * @type {string}
1624
- * @memberof TokenEvent
1625
1681
  */
1626
1682
  'createdAt'?: string;
1627
1683
  /**
1628
1684
  * The timestamp of the most recent update to the token’s status.
1629
- * @type {string}
1630
- * @memberof TokenEvent
1631
1685
  */
1632
1686
  'updatedAt'?: string;
1633
1687
  /**
1634
1688
  * The version number of the entity.
1635
- * @type {number}
1636
- * @memberof TokenEvent
1637
1689
  */
1638
1690
  'updateCount'?: number;
1639
1691
  }
@@ -1641,15 +1693,13 @@ export interface TokenEvent {
1641
1693
 
1642
1694
  /**
1643
1695
  * Code of the wallet provider or merchant that requested the token (APPLE_PAY /GOOGLE_PAY/SAMSUNG_PAY/OTHER). OTHER is used for tokens not linked to a wallet provider, such as merchant tokens (credential-on-file, subscription payments) or cloud tokens (e.g., Mastercard APANs).
1644
- * @export
1645
- * @enum {string}
1646
1696
  */
1647
1697
 
1648
1698
  export const TokenRequestor = {
1649
1699
  ApplePay: 'APPLE_PAY',
1650
1700
  GooglePay: 'GOOGLE_PAY',
1651
1701
  SamsungPay: 'SAMSUNG_PAY',
1652
- Other: 'OTHER'
1702
+ Other: 'OTHER',
1653
1703
  } as const;
1654
1704
 
1655
1705
  export type TokenRequestor = typeof TokenRequestor[keyof typeof TokenRequestor];
@@ -1657,15 +1707,13 @@ export type TokenRequestor = typeof TokenRequestor[keyof typeof TokenRequestor];
1657
1707
 
1658
1708
  /**
1659
1709
  * Current status of the token: - ACTIVE - Available for payments - DEACTIVATED - Permanently deactivated - INACTIVE - Waiting for activation - SUSPENDED - Temporarily not available for payments
1660
- * @export
1661
- * @enum {string}
1662
1710
  */
1663
1711
 
1664
1712
  export const TokenStatus = {
1665
1713
  Active: 'ACTIVE',
1666
1714
  Deactivated: 'DEACTIVATED',
1667
1715
  Inactive: 'INACTIVE',
1668
- Suspended: 'SUSPENDED'
1716
+ Suspended: 'SUSPENDED',
1669
1717
  } as const;
1670
1718
 
1671
1719
  export type TokenStatus = typeof TokenStatus[keyof typeof TokenStatus];
@@ -1674,7 +1722,6 @@ export type TokenStatus = typeof TokenStatus[keyof typeof TokenStatus];
1674
1722
 
1675
1723
  /**
1676
1724
  * IssuerEventWebhooksApi - axios parameter creator
1677
- * @export
1678
1725
  */
1679
1726
  export const IssuerEventWebhooksApiAxiosParamCreator = function (configuration?: Configuration) {
1680
1727
  return {
@@ -1700,8 +1747,6 @@ export const IssuerEventWebhooksApiAxiosParamCreator = function (configuration?:
1700
1747
  const localVarHeaderParameter = {} as any;
1701
1748
  const localVarQueryParameter = {} as any;
1702
1749
 
1703
-
1704
-
1705
1750
  localVarHeaderParameter['Content-Type'] = 'application/json';
1706
1751
 
1707
1752
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -1736,8 +1781,6 @@ export const IssuerEventWebhooksApiAxiosParamCreator = function (configuration?:
1736
1781
  const localVarHeaderParameter = {} as any;
1737
1782
  const localVarQueryParameter = {} as any;
1738
1783
 
1739
-
1740
-
1741
1784
  localVarHeaderParameter['Content-Type'] = 'application/json';
1742
1785
 
1743
1786
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -1772,8 +1815,6 @@ export const IssuerEventWebhooksApiAxiosParamCreator = function (configuration?:
1772
1815
  const localVarHeaderParameter = {} as any;
1773
1816
  const localVarQueryParameter = {} as any;
1774
1817
 
1775
-
1776
-
1777
1818
  localVarHeaderParameter['Content-Type'] = 'application/json';
1778
1819
 
1779
1820
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -1791,7 +1832,6 @@ export const IssuerEventWebhooksApiAxiosParamCreator = function (configuration?:
1791
1832
 
1792
1833
  /**
1793
1834
  * IssuerEventWebhooksApi - functional programming interface
1794
- * @export
1795
1835
  */
1796
1836
  export const IssuerEventWebhooksApiFp = function(configuration?: Configuration) {
1797
1837
  const localVarAxiosParamCreator = IssuerEventWebhooksApiAxiosParamCreator(configuration)
@@ -1840,7 +1880,6 @@ export const IssuerEventWebhooksApiFp = function(configuration?: Configuration)
1840
1880
 
1841
1881
  /**
1842
1882
  * IssuerEventWebhooksApi - factory interface
1843
- * @export
1844
1883
  */
1845
1884
  export const IssuerEventWebhooksApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
1846
1885
  const localVarFp = IssuerEventWebhooksApiFp(configuration)
@@ -1880,9 +1919,6 @@ export const IssuerEventWebhooksApiFactory = function (configuration?: Configura
1880
1919
 
1881
1920
  /**
1882
1921
  * IssuerEventWebhooksApi - object-oriented interface
1883
- * @export
1884
- * @class IssuerEventWebhooksApi
1885
- * @extends {BaseAPI}
1886
1922
  */
1887
1923
  export class IssuerEventWebhooksApi extends BaseAPI {
1888
1924
  /**
@@ -1891,7 +1927,6 @@ export class IssuerEventWebhooksApi extends BaseAPI {
1891
1927
  * @param {CardEvent} cardEvent Card event
1892
1928
  * @param {*} [options] Override http request option.
1893
1929
  * @throws {RequiredError}
1894
- * @memberof IssuerEventWebhooksApi
1895
1930
  */
1896
1931
  public cardEvent(cardEvent: CardEvent, options?: RawAxiosRequestConfig) {
1897
1932
  return IssuerEventWebhooksApiFp(this.configuration).cardEvent(cardEvent, options).then((request) => request(this.axios, this.basePath));
@@ -1903,7 +1938,6 @@ export class IssuerEventWebhooksApi extends BaseAPI {
1903
1938
  * @param {CardholderEvent} cardholderEvent Cardholder event
1904
1939
  * @param {*} [options] Override http request option.
1905
1940
  * @throws {RequiredError}
1906
- * @memberof IssuerEventWebhooksApi
1907
1941
  */
1908
1942
  public cardholderEvent(cardholderEvent: CardholderEvent, options?: RawAxiosRequestConfig) {
1909
1943
  return IssuerEventWebhooksApiFp(this.configuration).cardholderEvent(cardholderEvent, options).then((request) => request(this.axios, this.basePath));
@@ -1915,7 +1949,6 @@ export class IssuerEventWebhooksApi extends BaseAPI {
1915
1949
  * @param {TokenEvent} tokenEvent Token event
1916
1950
  * @param {*} [options] Override http request option.
1917
1951
  * @throws {RequiredError}
1918
- * @memberof IssuerEventWebhooksApi
1919
1952
  */
1920
1953
  public tokenEvent(tokenEvent: TokenEvent, options?: RawAxiosRequestConfig) {
1921
1954
  return IssuerEventWebhooksApiFp(this.configuration).tokenEvent(tokenEvent, options).then((request) => request(this.axios, this.basePath));