@enfuce/nextgen-sdk 0.0.1

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 (313) hide show
  1. package/dist/authorisation-control/api.d.ts +771 -0
  2. package/dist/authorisation-control/api.js +240 -0
  3. package/dist/authorisation-control/base.d.ts +66 -0
  4. package/dist/authorisation-control/base.js +65 -0
  5. package/dist/authorisation-control/common.d.ts +65 -0
  6. package/dist/authorisation-control/common.js +161 -0
  7. package/dist/authorisation-control/configuration.d.ts +91 -0
  8. package/dist/authorisation-control/configuration.js +44 -0
  9. package/dist/authorisation-control/index.d.ts +13 -0
  10. package/dist/authorisation-control/index.js +31 -0
  11. package/dist/card/api.d.ts +2065 -0
  12. package/dist/card/api.js +1406 -0
  13. package/dist/card/base.d.ts +66 -0
  14. package/dist/card/base.js +65 -0
  15. package/dist/card/common.d.ts +65 -0
  16. package/dist/card/common.js +161 -0
  17. package/dist/card/configuration.d.ts +91 -0
  18. package/dist/card/configuration.js +44 -0
  19. package/dist/card/index.d.ts +13 -0
  20. package/dist/card/index.js +31 -0
  21. package/dist/cardholder/api.d.ts +1890 -0
  22. package/dist/cardholder/api.js +1239 -0
  23. package/dist/cardholder/base.d.ts +66 -0
  24. package/dist/cardholder/base.js +65 -0
  25. package/dist/cardholder/common.d.ts +65 -0
  26. package/dist/cardholder/common.js +161 -0
  27. package/dist/cardholder/configuration.d.ts +91 -0
  28. package/dist/cardholder/configuration.js +44 -0
  29. package/dist/cardholder/index.d.ts +13 -0
  30. package/dist/cardholder/index.js +31 -0
  31. package/dist/cards/api.d.ts +78 -0
  32. package/dist/cards/api.js +142 -0
  33. package/dist/cards/base.d.ts +66 -0
  34. package/dist/cards/base.js +65 -0
  35. package/dist/cards/common.d.ts +65 -0
  36. package/dist/cards/common.js +161 -0
  37. package/dist/cards/configuration.d.ts +91 -0
  38. package/dist/cards/configuration.js +44 -0
  39. package/dist/cards/index.d.ts +13 -0
  40. package/dist/cards/index.js +31 -0
  41. package/dist/clearing-file-copy/api.d.ts +1245 -0
  42. package/dist/clearing-file-copy/api.js +139 -0
  43. package/dist/clearing-file-copy/base.d.ts +66 -0
  44. package/dist/clearing-file-copy/base.js +65 -0
  45. package/dist/clearing-file-copy/common.d.ts +65 -0
  46. package/dist/clearing-file-copy/common.js +161 -0
  47. package/dist/clearing-file-copy/configuration.d.ts +91 -0
  48. package/dist/clearing-file-copy/configuration.js +44 -0
  49. package/dist/clearing-file-copy/index.d.ts +13 -0
  50. package/dist/clearing-file-copy/index.js +31 -0
  51. package/dist/esm/authorisation-control/api.d.ts +771 -0
  52. package/dist/esm/authorisation-control/api.js +233 -0
  53. package/dist/esm/authorisation-control/base.d.ts +66 -0
  54. package/dist/esm/authorisation-control/base.js +60 -0
  55. package/dist/esm/authorisation-control/common.d.ts +65 -0
  56. package/dist/esm/authorisation-control/common.js +149 -0
  57. package/dist/esm/authorisation-control/configuration.d.ts +91 -0
  58. package/dist/esm/authorisation-control/configuration.js +40 -0
  59. package/dist/esm/authorisation-control/index.d.ts +13 -0
  60. package/dist/esm/authorisation-control/index.js +15 -0
  61. package/dist/esm/card/api.d.ts +2065 -0
  62. package/dist/esm/card/api.js +1379 -0
  63. package/dist/esm/card/base.d.ts +66 -0
  64. package/dist/esm/card/base.js +60 -0
  65. package/dist/esm/card/common.d.ts +65 -0
  66. package/dist/esm/card/common.js +149 -0
  67. package/dist/esm/card/configuration.d.ts +91 -0
  68. package/dist/esm/card/configuration.js +40 -0
  69. package/dist/esm/card/index.d.ts +13 -0
  70. package/dist/esm/card/index.js +15 -0
  71. package/dist/esm/cardholder/api.d.ts +1890 -0
  72. package/dist/esm/cardholder/api.js +1220 -0
  73. package/dist/esm/cardholder/base.d.ts +66 -0
  74. package/dist/esm/cardholder/base.js +60 -0
  75. package/dist/esm/cardholder/common.d.ts +65 -0
  76. package/dist/esm/cardholder/common.js +149 -0
  77. package/dist/esm/cardholder/configuration.d.ts +91 -0
  78. package/dist/esm/cardholder/configuration.js +40 -0
  79. package/dist/esm/cardholder/index.d.ts +13 -0
  80. package/dist/esm/cardholder/index.js +15 -0
  81. package/dist/esm/cards/api.d.ts +78 -0
  82. package/dist/esm/cards/api.js +135 -0
  83. package/dist/esm/cards/base.d.ts +66 -0
  84. package/dist/esm/cards/base.js +60 -0
  85. package/dist/esm/cards/common.d.ts +65 -0
  86. package/dist/esm/cards/common.js +149 -0
  87. package/dist/esm/cards/configuration.d.ts +91 -0
  88. package/dist/esm/cards/configuration.js +40 -0
  89. package/dist/esm/cards/index.d.ts +13 -0
  90. package/dist/esm/cards/index.js +15 -0
  91. package/dist/esm/clearing-file-copy/api.d.ts +1245 -0
  92. package/dist/esm/clearing-file-copy/api.js +136 -0
  93. package/dist/esm/clearing-file-copy/base.d.ts +66 -0
  94. package/dist/esm/clearing-file-copy/base.js +60 -0
  95. package/dist/esm/clearing-file-copy/common.d.ts +65 -0
  96. package/dist/esm/clearing-file-copy/common.js +149 -0
  97. package/dist/esm/clearing-file-copy/configuration.d.ts +91 -0
  98. package/dist/esm/clearing-file-copy/configuration.js +40 -0
  99. package/dist/esm/clearing-file-copy/index.d.ts +13 -0
  100. package/dist/esm/clearing-file-copy/index.js +15 -0
  101. package/dist/esm/index.d.ts +12 -0
  102. package/dist/esm/index.js +14 -0
  103. package/dist/esm/issuer-events/api.d.ts +1721 -0
  104. package/dist/esm/issuer-events/api.js +940 -0
  105. package/dist/esm/issuer-events/base.d.ts +66 -0
  106. package/dist/esm/issuer-events/base.js +60 -0
  107. package/dist/esm/issuer-events/common.d.ts +65 -0
  108. package/dist/esm/issuer-events/common.js +149 -0
  109. package/dist/esm/issuer-events/configuration.d.ts +91 -0
  110. package/dist/esm/issuer-events/configuration.js +40 -0
  111. package/dist/esm/issuer-events/index.d.ts +13 -0
  112. package/dist/esm/issuer-events/index.js +15 -0
  113. package/dist/esm/oauth/axios.d.ts +14 -0
  114. package/dist/esm/oauth/axios.js +58 -0
  115. package/dist/esm/oauth/clientCredentials.d.ts +24 -0
  116. package/dist/esm/oauth/clientCredentials.js +59 -0
  117. package/dist/esm/oauth/index.d.ts +3 -0
  118. package/dist/esm/oauth/index.js +24 -0
  119. package/dist/esm/oauth/tokenManager.d.ts +38 -0
  120. package/dist/esm/oauth/tokenManager.js +77 -0
  121. package/dist/esm/pin/api.d.ts +329 -0
  122. package/dist/esm/pin/api.js +341 -0
  123. package/dist/esm/pin/base.d.ts +66 -0
  124. package/dist/esm/pin/base.js +60 -0
  125. package/dist/esm/pin/common.d.ts +65 -0
  126. package/dist/esm/pin/common.js +149 -0
  127. package/dist/esm/pin/configuration.d.ts +91 -0
  128. package/dist/esm/pin/configuration.js +40 -0
  129. package/dist/esm/pin/index.d.ts +13 -0
  130. package/dist/esm/pin/index.js +15 -0
  131. package/dist/esm/threeds/api.d.ts +104 -0
  132. package/dist/esm/threeds/api.js +136 -0
  133. package/dist/esm/threeds/base.d.ts +66 -0
  134. package/dist/esm/threeds/base.js +60 -0
  135. package/dist/esm/threeds/common.d.ts +65 -0
  136. package/dist/esm/threeds/common.js +149 -0
  137. package/dist/esm/threeds/configuration.d.ts +91 -0
  138. package/dist/esm/threeds/configuration.js +40 -0
  139. package/dist/esm/threeds/index.d.ts +13 -0
  140. package/dist/esm/threeds/index.js +15 -0
  141. package/dist/esm/threeds-oob/api.d.ts +241 -0
  142. package/dist/esm/threeds-oob/api.js +141 -0
  143. package/dist/esm/threeds-oob/base.d.ts +66 -0
  144. package/dist/esm/threeds-oob/base.js +60 -0
  145. package/dist/esm/threeds-oob/common.d.ts +65 -0
  146. package/dist/esm/threeds-oob/common.js +149 -0
  147. package/dist/esm/threeds-oob/configuration.d.ts +91 -0
  148. package/dist/esm/threeds-oob/configuration.js +40 -0
  149. package/dist/esm/threeds-oob/index.d.ts +13 -0
  150. package/dist/esm/threeds-oob/index.js +15 -0
  151. package/dist/esm/transaction-event/api.d.ts +1082 -0
  152. package/dist/esm/transaction-event/api.js +163 -0
  153. package/dist/esm/transaction-event/base.d.ts +66 -0
  154. package/dist/esm/transaction-event/base.js +60 -0
  155. package/dist/esm/transaction-event/common.d.ts +65 -0
  156. package/dist/esm/transaction-event/common.js +149 -0
  157. package/dist/esm/transaction-event/configuration.d.ts +91 -0
  158. package/dist/esm/transaction-event/configuration.js +40 -0
  159. package/dist/esm/transaction-event/index.d.ts +13 -0
  160. package/dist/esm/transaction-event/index.js +15 -0
  161. package/dist/esm/wallet/api.d.ts +1385 -0
  162. package/dist/esm/wallet/api.js +1342 -0
  163. package/dist/esm/wallet/base.d.ts +66 -0
  164. package/dist/esm/wallet/base.js +60 -0
  165. package/dist/esm/wallet/common.d.ts +65 -0
  166. package/dist/esm/wallet/common.js +149 -0
  167. package/dist/esm/wallet/configuration.d.ts +91 -0
  168. package/dist/esm/wallet/configuration.js +40 -0
  169. package/dist/esm/wallet/index.d.ts +13 -0
  170. package/dist/esm/wallet/index.js +15 -0
  171. package/dist/index.d.ts +12 -0
  172. package/dist/index.js +17 -0
  173. package/dist/issuer-events/api.d.ts +1721 -0
  174. package/dist/issuer-events/api.js +947 -0
  175. package/dist/issuer-events/base.d.ts +66 -0
  176. package/dist/issuer-events/base.js +65 -0
  177. package/dist/issuer-events/common.d.ts +65 -0
  178. package/dist/issuer-events/common.js +161 -0
  179. package/dist/issuer-events/configuration.d.ts +91 -0
  180. package/dist/issuer-events/configuration.js +44 -0
  181. package/dist/issuer-events/index.d.ts +13 -0
  182. package/dist/issuer-events/index.js +31 -0
  183. package/dist/oauth/axios.d.ts +14 -0
  184. package/dist/oauth/axios.js +61 -0
  185. package/dist/oauth/clientCredentials.d.ts +24 -0
  186. package/dist/oauth/clientCredentials.js +63 -0
  187. package/dist/oauth/index.d.ts +3 -0
  188. package/dist/oauth/index.js +31 -0
  189. package/dist/oauth/tokenManager.d.ts +38 -0
  190. package/dist/oauth/tokenManager.js +81 -0
  191. package/dist/pin/api.d.ts +329 -0
  192. package/dist/pin/api.js +352 -0
  193. package/dist/pin/base.d.ts +66 -0
  194. package/dist/pin/base.js +65 -0
  195. package/dist/pin/common.d.ts +65 -0
  196. package/dist/pin/common.js +161 -0
  197. package/dist/pin/configuration.d.ts +91 -0
  198. package/dist/pin/configuration.js +44 -0
  199. package/dist/pin/index.d.ts +13 -0
  200. package/dist/pin/index.js +31 -0
  201. package/dist/threeds/api.d.ts +104 -0
  202. package/dist/threeds/api.js +143 -0
  203. package/dist/threeds/base.d.ts +66 -0
  204. package/dist/threeds/base.js +65 -0
  205. package/dist/threeds/common.d.ts +65 -0
  206. package/dist/threeds/common.js +161 -0
  207. package/dist/threeds/configuration.d.ts +91 -0
  208. package/dist/threeds/configuration.js +44 -0
  209. package/dist/threeds/index.d.ts +13 -0
  210. package/dist/threeds/index.js +31 -0
  211. package/dist/threeds-oob/api.d.ts +241 -0
  212. package/dist/threeds-oob/api.js +148 -0
  213. package/dist/threeds-oob/base.d.ts +66 -0
  214. package/dist/threeds-oob/base.js +65 -0
  215. package/dist/threeds-oob/common.d.ts +65 -0
  216. package/dist/threeds-oob/common.js +161 -0
  217. package/dist/threeds-oob/configuration.d.ts +91 -0
  218. package/dist/threeds-oob/configuration.js +44 -0
  219. package/dist/threeds-oob/index.d.ts +13 -0
  220. package/dist/threeds-oob/index.js +31 -0
  221. package/dist/transaction-event/api.d.ts +1082 -0
  222. package/dist/transaction-event/api.js +166 -0
  223. package/dist/transaction-event/base.d.ts +66 -0
  224. package/dist/transaction-event/base.js +65 -0
  225. package/dist/transaction-event/common.d.ts +65 -0
  226. package/dist/transaction-event/common.js +161 -0
  227. package/dist/transaction-event/configuration.d.ts +91 -0
  228. package/dist/transaction-event/configuration.js +44 -0
  229. package/dist/transaction-event/index.d.ts +13 -0
  230. package/dist/transaction-event/index.js +31 -0
  231. package/dist/wallet/api.d.ts +1385 -0
  232. package/dist/wallet/api.js +1377 -0
  233. package/dist/wallet/base.d.ts +66 -0
  234. package/dist/wallet/base.js +65 -0
  235. package/dist/wallet/common.d.ts +65 -0
  236. package/dist/wallet/common.js +161 -0
  237. package/dist/wallet/configuration.d.ts +91 -0
  238. package/dist/wallet/configuration.js +44 -0
  239. package/dist/wallet/index.d.ts +13 -0
  240. package/dist/wallet/index.js +31 -0
  241. package/package.json +25 -0
  242. package/src/authorisation-control/api.ts +876 -0
  243. package/src/authorisation-control/base.ts +86 -0
  244. package/src/authorisation-control/common.ts +150 -0
  245. package/src/authorisation-control/configuration.ts +115 -0
  246. package/src/authorisation-control/index.ts +18 -0
  247. package/src/card/api.ts +2792 -0
  248. package/src/card/base.ts +86 -0
  249. package/src/card/common.ts +150 -0
  250. package/src/card/configuration.ts +115 -0
  251. package/src/card/index.ts +18 -0
  252. package/src/cardholder/api.ts +2244 -0
  253. package/src/cardholder/base.ts +86 -0
  254. package/src/cardholder/common.ts +150 -0
  255. package/src/cardholder/configuration.ts +115 -0
  256. package/src/cardholder/index.ts +18 -0
  257. package/src/cards/api.ts +141 -0
  258. package/src/cards/base.ts +86 -0
  259. package/src/cards/common.ts +150 -0
  260. package/src/cards/configuration.ts +115 -0
  261. package/src/cards/index.ts +18 -0
  262. package/src/clearing-file-copy/api.ts +1309 -0
  263. package/src/clearing-file-copy/base.ts +86 -0
  264. package/src/clearing-file-copy/common.ts +150 -0
  265. package/src/clearing-file-copy/configuration.ts +115 -0
  266. package/src/clearing-file-copy/index.ts +18 -0
  267. package/src/index.ts +16 -0
  268. package/src/issuer-events/api.ts +1926 -0
  269. package/src/issuer-events/base.ts +86 -0
  270. package/src/issuer-events/common.ts +150 -0
  271. package/src/issuer-events/configuration.ts +115 -0
  272. package/src/issuer-events/index.ts +18 -0
  273. package/src/oauth/axios.ts +60 -0
  274. package/src/oauth/clientCredentials.ts +72 -0
  275. package/src/oauth/index.ts +24 -0
  276. package/src/oauth/tokenManager.ts +85 -0
  277. package/src/pin/api.ts +507 -0
  278. package/src/pin/base.ts +86 -0
  279. package/src/pin/common.ts +150 -0
  280. package/src/pin/configuration.ts +115 -0
  281. package/src/pin/index.ts +18 -0
  282. package/src/threeds/api.ts +173 -0
  283. package/src/threeds/base.ts +86 -0
  284. package/src/threeds/common.ts +150 -0
  285. package/src/threeds/configuration.ts +115 -0
  286. package/src/threeds/index.ts +18 -0
  287. package/src/threeds-oob/api.ts +311 -0
  288. package/src/threeds-oob/base.ts +86 -0
  289. package/src/threeds-oob/common.ts +150 -0
  290. package/src/threeds-oob/configuration.ts +115 -0
  291. package/src/threeds-oob/index.ts +18 -0
  292. package/src/transaction-event/api.ts +1152 -0
  293. package/src/transaction-event/base.ts +86 -0
  294. package/src/transaction-event/common.ts +150 -0
  295. package/src/transaction-event/configuration.ts +115 -0
  296. package/src/transaction-event/index.ts +18 -0
  297. package/src/wallet/api.ts +2083 -0
  298. package/src/wallet/base.ts +86 -0
  299. package/src/wallet/common.ts +150 -0
  300. package/src/wallet/configuration.ts +115 -0
  301. package/src/wallet/index.ts +18 -0
  302. package/test/authorisation-control.test.ts +71 -0
  303. package/test/card.test.ts +39 -0
  304. package/test/cardholder.test.ts +51 -0
  305. package/test/cards.test.ts +35 -0
  306. package/test/issuer-events.test.ts +55 -0
  307. package/test/oauth.test.ts +205 -0
  308. package/test/pin.test.ts +39 -0
  309. package/test/threeds-oob.test.ts +90 -0
  310. package/test/threeds.test.ts +55 -0
  311. package/test/wallet.test.ts +62 -0
  312. package/tsconfig.esm.json +7 -0
  313. package/tsconfig.json +14 -0
@@ -0,0 +1,1926 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Issuer Events API
5
+ * All date-time fields adhere to the ISO 8601 standard unless specified otherwise. For example: 2024-05-31T06:55:17Z
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import type { Configuration } from './configuration';
17
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
18
+ import globalAxios from 'axios';
19
+ // Some imports not used depending on template conditions
20
+ // @ts-ignore
21
+ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
22
+ import type { RequestArgs } from './base';
23
+ // @ts-ignore
24
+ import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';
25
+
26
+ /**
27
+ *
28
+ * @export
29
+ * @interface Address
30
+ */
31
+ export interface Address {
32
+ /**
33
+ * First line of address.
34
+ * @type {string}
35
+ * @memberof Address
36
+ */
37
+ 'address1': string;
38
+ /**
39
+ * Second line of address. Any string without trailing or leading whitespaces, or an empty string.
40
+ * @type {string}
41
+ * @memberof Address
42
+ */
43
+ 'address2'?: string;
44
+ /**
45
+ * Third line of address. Any string without trailing or leading whitespaces, or an empty string.
46
+ * @type {string}
47
+ * @memberof Address
48
+ */
49
+ 'address3'?: string;
50
+ /**
51
+ * Fourth line of the address. Any string without trailing or leading whitespaces, or an empty string.
52
+ * @type {string}
53
+ * @memberof Address
54
+ */
55
+ 'address4'?: string;
56
+ /**
57
+ *
58
+ * @type {string}
59
+ * @memberof Address
60
+ */
61
+ 'city': string;
62
+ /**
63
+ * A valid ISO-3166-1 alpha-3 country code.
64
+ * @type {string}
65
+ * @memberof Address
66
+ */
67
+ 'country': string;
68
+ /**
69
+ *
70
+ * @type {string}
71
+ * @memberof Address
72
+ */
73
+ 'region'?: string;
74
+ /**
75
+ *
76
+ * @type {string}
77
+ * @memberof Address
78
+ */
79
+ 'zipCode': string;
80
+ }
81
+ /**
82
+ *
83
+ * @export
84
+ * @interface AddressResponse
85
+ */
86
+ export interface AddressResponse {
87
+ /**
88
+ * First line of address.
89
+ * @type {string}
90
+ * @memberof AddressResponse
91
+ */
92
+ 'address1': string;
93
+ /**
94
+ * Any string without trailing or leading whitespaces, or an empty string.
95
+ * @type {string}
96
+ * @memberof AddressResponse
97
+ */
98
+ 'address2'?: string | null;
99
+ /**
100
+ * Any string without trailing or leading whitespaces, or an empty string.
101
+ * @type {string}
102
+ * @memberof AddressResponse
103
+ */
104
+ 'address3'?: string | null;
105
+ /**
106
+ * Any string without trailing or leading whitespaces, or an empty string.
107
+ * @type {string}
108
+ * @memberof AddressResponse
109
+ */
110
+ 'address4'?: string | null;
111
+ /**
112
+ *
113
+ * @type {string}
114
+ * @memberof AddressResponse
115
+ */
116
+ 'city': string;
117
+ /**
118
+ * A valid ISO-3166-1 alpha-3 country code.
119
+ * @type {string}
120
+ * @memberof AddressResponse
121
+ */
122
+ 'country': string;
123
+ /**
124
+ *
125
+ * @type {string}
126
+ * @memberof AddressResponse
127
+ */
128
+ 'region'?: string | null;
129
+ /**
130
+ *
131
+ * @type {string}
132
+ * @memberof AddressResponse
133
+ */
134
+ 'zipCode': string;
135
+ }
136
+ /**
137
+ * The wallets common name for authorization decision.
138
+ * @export
139
+ * @enum {string}
140
+ */
141
+
142
+ export const AuthorizationDecisionColor = {
143
+ Green: 'GREEN',
144
+ Yellow: 'YELLOW',
145
+ Orange: 'ORANGE',
146
+ Red: 'RED'
147
+ } as const;
148
+
149
+ export type AuthorizationDecisionColor = typeof AuthorizationDecisionColor[keyof typeof AuthorizationDecisionColor];
150
+
151
+
152
+ /**
153
+ * The type of card defined by this card configuration.
154
+ * @export
155
+ * @enum {string}
156
+ */
157
+
158
+ export const CardConfigurationType = {
159
+ Debit: 'DEBIT',
160
+ Credit: 'CREDIT',
161
+ Combo: 'COMBO'
162
+ } as const;
163
+
164
+ export type CardConfigurationType = typeof CardConfigurationType[keyof typeof CardConfigurationType];
165
+
166
+
167
+ /**
168
+ * 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
+ */
172
+
173
+ export const CardDeliveryType = {
174
+ Mail: 'MAIL',
175
+ Courier: 'COURIER',
176
+ Custom1: 'CUSTOM_1',
177
+ Custom2: 'CUSTOM_2',
178
+ Custom3: 'CUSTOM_3',
179
+ Custom4: 'CUSTOM_4',
180
+ Custom5: 'CUSTOM_5'
181
+ } as const;
182
+
183
+ export type CardDeliveryType = typeof CardDeliveryType[keyof typeof CardDeliveryType];
184
+
185
+
186
+ /**
187
+ *
188
+ * @export
189
+ * @interface CardEvent
190
+ */
191
+ export interface CardEvent {
192
+ /**
193
+ * Unique identifier of a card.
194
+ * @type {string}
195
+ * @memberof CardEvent
196
+ */
197
+ 'id'?: string;
198
+ /**
199
+ * The date and time when the card was created.
200
+ * @type {string}
201
+ * @memberof CardEvent
202
+ */
203
+ 'createdAt'?: string;
204
+ /**
205
+ * The date and time when the object/entity was updated last time.
206
+ * @type {string}
207
+ * @memberof CardEvent
208
+ */
209
+ 'updatedAt'?: string;
210
+ /**
211
+ * The program ID associated with the card.
212
+ * @type {string}
213
+ * @memberof CardEvent
214
+ */
215
+ 'programId'?: string;
216
+ /**
217
+ * Unique identifier of the cardholder associated with the card.
218
+ * @type {string}
219
+ * @memberof CardEvent
220
+ */
221
+ 'cardholderId'?: string;
222
+ /**
223
+ * Unique identifier of the account associated with the card.
224
+ * @type {string}
225
+ * @memberof CardEvent
226
+ */
227
+ 'accountId'?: string;
228
+ /**
229
+ *
230
+ * @type {Plastic}
231
+ * @memberof CardEvent
232
+ */
233
+ 'plastic'?: Plastic;
234
+ /**
235
+ * Card versions ordered by sequence number ascending.
236
+ * @type {Array<CardVersion>}
237
+ * @memberof CardEvent
238
+ */
239
+ 'cardVersions'?: Array<CardVersion>;
240
+ /**
241
+ *
242
+ * @type {CardRole}
243
+ * @memberof CardEvent
244
+ */
245
+ 'role'?: CardRole;
246
+ /**
247
+ * Unique identifier of the main card. Populated if this card is part of a card application
248
+ * @type {string}
249
+ * @memberof CardEvent
250
+ */
251
+ 'mainCardId'?: string;
252
+ /**
253
+ * A unique code to identify the card configuration. Max character limit is 36.
254
+ * @type {string}
255
+ * @memberof CardEvent
256
+ */
257
+ 'cardConfigurationCode'?: string;
258
+ /**
259
+ *
260
+ * @type {CardConfigurationType}
261
+ * @memberof CardEvent
262
+ */
263
+ 'cardConfigurationType'?: CardConfigurationType;
264
+ /**
265
+ *
266
+ * @type {CardScheme}
267
+ * @memberof CardEvent
268
+ */
269
+ 'cardScheme'?: CardScheme;
270
+ /**
271
+ * A masked version of the primary account number
272
+ * @type {string}
273
+ * @memberof CardEvent
274
+ */
275
+ 'maskedPan'?: string;
276
+ /**
277
+ *
278
+ * @type {PinStatus}
279
+ * @memberof CardEvent
280
+ */
281
+ 'pinStatus'?: PinStatus;
282
+ /**
283
+ *
284
+ * @type {CardStatus}
285
+ * @memberof CardEvent
286
+ */
287
+ 'cardStatus'?: CardStatus;
288
+ /**
289
+ * A flag indicating whether automatic renewal is enabled or not.
290
+ * @type {boolean}
291
+ * @memberof CardEvent
292
+ */
293
+ 'automaticRenewal'?: boolean;
294
+ /**
295
+ * The digital layout code for the card. Max character limit is 36.
296
+ * @type {string}
297
+ * @memberof CardEvent
298
+ */
299
+ 'digitalLayoutCode'?: string;
300
+ /**
301
+ *
302
+ * @type {MultiApplicationProperties}
303
+ * @memberof CardEvent
304
+ */
305
+ 'multiApplicationProperties'?: MultiApplicationProperties;
306
+ /**
307
+ * The version number of the entity.
308
+ * @type {number}
309
+ * @memberof CardEvent
310
+ */
311
+ 'updateCount'?: number;
312
+ /**
313
+ * 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
+ */
317
+ 'additionalValues'?: { [key: string]: string; };
318
+ /**
319
+ * 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
+ */
323
+ 'feeConfigId'?: string | null;
324
+ }
325
+
326
+
327
+ /**
328
+ *
329
+ * @export
330
+ * @interface CardResponse
331
+ */
332
+ export interface CardResponse {
333
+ /**
334
+ * Unique identifier of a card.
335
+ * @type {string}
336
+ * @memberof CardResponse
337
+ */
338
+ 'id'?: string;
339
+ /**
340
+ * The date and time when the card was created.
341
+ * @type {string}
342
+ * @memberof CardResponse
343
+ */
344
+ 'createdAt'?: string;
345
+ /**
346
+ * The date and time when the object/entity was updated last time.
347
+ * @type {string}
348
+ * @memberof CardResponse
349
+ */
350
+ 'updatedAt'?: string;
351
+ /**
352
+ * The program ID associated with the card.
353
+ * @type {string}
354
+ * @memberof CardResponse
355
+ */
356
+ 'programId'?: string;
357
+ /**
358
+ * Unique identifier of the cardholder associated with the card.
359
+ * @type {string}
360
+ * @memberof CardResponse
361
+ */
362
+ 'cardholderId'?: string;
363
+ /**
364
+ * Unique identifier of the account associated with the card.
365
+ * @type {string}
366
+ * @memberof CardResponse
367
+ */
368
+ 'accountId'?: string;
369
+ /**
370
+ *
371
+ * @type {Plastic}
372
+ * @memberof CardResponse
373
+ */
374
+ 'plastic'?: Plastic;
375
+ /**
376
+ * Card versions ordered by sequence number ascending.
377
+ * @type {Array<CardVersion>}
378
+ * @memberof CardResponse
379
+ */
380
+ 'cardVersions'?: Array<CardVersion>;
381
+ /**
382
+ *
383
+ * @type {CardRole}
384
+ * @memberof CardResponse
385
+ */
386
+ 'role'?: CardRole;
387
+ /**
388
+ * Unique identifier of the main card. Populated if this card is part of a card application
389
+ * @type {string}
390
+ * @memberof CardResponse
391
+ */
392
+ 'mainCardId'?: string;
393
+ /**
394
+ * A unique code to identify the card configuration. Max character limit is 36.
395
+ * @type {string}
396
+ * @memberof CardResponse
397
+ */
398
+ 'cardConfigurationCode'?: string;
399
+ /**
400
+ *
401
+ * @type {CardConfigurationType}
402
+ * @memberof CardResponse
403
+ */
404
+ 'cardConfigurationType'?: CardConfigurationType;
405
+ /**
406
+ *
407
+ * @type {CardScheme}
408
+ * @memberof CardResponse
409
+ */
410
+ 'cardScheme'?: CardScheme;
411
+ /**
412
+ * A masked version of the primary account number
413
+ * @type {string}
414
+ * @memberof CardResponse
415
+ */
416
+ 'maskedPan'?: string;
417
+ /**
418
+ *
419
+ * @type {PinStatus}
420
+ * @memberof CardResponse
421
+ */
422
+ 'pinStatus'?: PinStatus;
423
+ /**
424
+ *
425
+ * @type {CardStatus}
426
+ * @memberof CardResponse
427
+ */
428
+ 'cardStatus'?: CardStatus;
429
+ /**
430
+ * A flag indicating whether automatic renewal is enabled or not.
431
+ * @type {boolean}
432
+ * @memberof CardResponse
433
+ */
434
+ 'automaticRenewal'?: boolean;
435
+ /**
436
+ * The digital layout code for the card. Max character limit is 36.
437
+ * @type {string}
438
+ * @memberof CardResponse
439
+ */
440
+ 'digitalLayoutCode'?: string;
441
+ /**
442
+ *
443
+ * @type {MultiApplicationProperties}
444
+ * @memberof CardResponse
445
+ */
446
+ 'multiApplicationProperties'?: MultiApplicationProperties;
447
+ /**
448
+ * The version number of the entity.
449
+ * @type {number}
450
+ * @memberof CardResponse
451
+ */
452
+ 'updateCount'?: number;
453
+ /**
454
+ * 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
+ */
458
+ 'additionalValues'?: { [key: string]: string; };
459
+ /**
460
+ * 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
+ */
464
+ 'feeConfigId'?: string | null;
465
+ }
466
+
467
+
468
+ /**
469
+ * 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
+ */
473
+
474
+ export const CardRole = {
475
+ MainCard: 'MAIN_CARD',
476
+ CardApplication: 'CARD_APPLICATION'
477
+ } as const;
478
+
479
+ export type CardRole = typeof CardRole[keyof typeof CardRole];
480
+
481
+
482
+ /**
483
+ *
484
+ * @export
485
+ * @enum {string}
486
+ */
487
+
488
+ export const CardScheme = {
489
+ Mastercard: 'MASTERCARD',
490
+ Visa: 'VISA'
491
+ } as const;
492
+
493
+ export type CardScheme = typeof CardScheme[keyof typeof CardScheme];
494
+
495
+
496
+ /**
497
+ * - 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
+ */
501
+
502
+ export const CardStatus = {
503
+ Active: 'ACTIVE',
504
+ Blocked: 'BLOCKED',
505
+ BlockedSuspectedFraud: 'BLOCKED_SUSPECTED_FRAUD',
506
+ ClosedDueToFraud: 'CLOSED_DUE_TO_FRAUD',
507
+ ClosedLost: 'CLOSED_LOST',
508
+ ClosedStolen: 'CLOSED_STOLEN',
509
+ Closed: 'CLOSED',
510
+ ClosedExpired: 'CLOSED_EXPIRED'
511
+ } as const;
512
+
513
+ export type CardStatus = typeof CardStatus[keyof typeof CardStatus];
514
+
515
+
516
+ /**
517
+ *
518
+ * @export
519
+ * @interface CardVersion
520
+ */
521
+ export interface CardVersion {
522
+ /**
523
+ *
524
+ * @type {CardVersionStatus}
525
+ * @memberof CardVersion
526
+ */
527
+ 'status'?: CardVersionStatus;
528
+ /**
529
+ * 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
+ */
533
+ 'expirationTime'?: string;
534
+ /**
535
+ * The date when the auto renewal occurs.
536
+ * @type {string}
537
+ * @memberof CardVersion
538
+ */
539
+ 'renewalDate'?: string;
540
+ /**
541
+ * The sequence number of the card version, this value is also known as PSN (pan sequence number)
542
+ * @type {number}
543
+ * @memberof CardVersion
544
+ */
545
+ 'sequenceNumber'?: number;
546
+ /**
547
+ * The id of the key set used by this card version
548
+ * @type {string}
549
+ * @memberof CardVersion
550
+ */
551
+ 'keySetId'?: string;
552
+ /**
553
+ * The date and time when the card was created.
554
+ * @type {string}
555
+ * @memberof CardVersion
556
+ */
557
+ 'createdAt'?: string;
558
+ /**
559
+ * The date and time when the object/entity was updated last time.
560
+ * @type {string}
561
+ * @memberof CardVersion
562
+ */
563
+ 'updatedAt'?: string;
564
+ }
565
+
566
+
567
+ /**
568
+ * - 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
+ */
572
+
573
+ export const CardVersionStatus = {
574
+ Active: 'ACTIVE',
575
+ Initial: 'INITIAL',
576
+ Closed: 'CLOSED'
577
+ } as const;
578
+
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
+
815
+
816
+ /**
817
+ * ISO 3166-1 alpha-3 country codes. XKX is used for the Kosovo.
818
+ * @export
819
+ * @enum {string}
820
+ */
821
+
822
+ export const CountryCodesAlpha3 = {
823
+ Abw: 'ABW',
824
+ Afg: 'AFG',
825
+ Ago: 'AGO',
826
+ Aia: 'AIA',
827
+ Ala: 'ALA',
828
+ Alb: 'ALB',
829
+ And: 'AND',
830
+ Are: 'ARE',
831
+ Arg: 'ARG',
832
+ Arm: 'ARM',
833
+ Asm: 'ASM',
834
+ Ata: 'ATA',
835
+ Atf: 'ATF',
836
+ Atg: 'ATG',
837
+ Aus: 'AUS',
838
+ Aut: 'AUT',
839
+ Aze: 'AZE',
840
+ Bdi: 'BDI',
841
+ Bel: 'BEL',
842
+ Ben: 'BEN',
843
+ Bes: 'BES',
844
+ Bfa: 'BFA',
845
+ Bgd: 'BGD',
846
+ Bgr: 'BGR',
847
+ Bhr: 'BHR',
848
+ Bhs: 'BHS',
849
+ Bih: 'BIH',
850
+ Blm: 'BLM',
851
+ Blr: 'BLR',
852
+ Blz: 'BLZ',
853
+ Bmu: 'BMU',
854
+ Bol: 'BOL',
855
+ Bra: 'BRA',
856
+ Brb: 'BRB',
857
+ Brn: 'BRN',
858
+ Btn: 'BTN',
859
+ Bvt: 'BVT',
860
+ Bwa: 'BWA',
861
+ Caf: 'CAF',
862
+ Can: 'CAN',
863
+ Cck: 'CCK',
864
+ Che: 'CHE',
865
+ Chl: 'CHL',
866
+ Chn: 'CHN',
867
+ Civ: 'CIV',
868
+ Cmr: 'CMR',
869
+ Cod: 'COD',
870
+ Cog: 'COG',
871
+ Cok: 'COK',
872
+ Col: 'COL',
873
+ Com: 'COM',
874
+ Cpv: 'CPV',
875
+ Cri: 'CRI',
876
+ Cub: 'CUB',
877
+ Cuw: 'CUW',
878
+ Cxr: 'CXR',
879
+ Cym: 'CYM',
880
+ Cyp: 'CYP',
881
+ Cze: 'CZE',
882
+ Deu: 'DEU',
883
+ Dji: 'DJI',
884
+ Dma: 'DMA',
885
+ Dnk: 'DNK',
886
+ Dom: 'DOM',
887
+ Dza: 'DZA',
888
+ Ecu: 'ECU',
889
+ Egy: 'EGY',
890
+ Eri: 'ERI',
891
+ Esh: 'ESH',
892
+ Esp: 'ESP',
893
+ Est: 'EST',
894
+ Eth: 'ETH',
895
+ Fin: 'FIN',
896
+ Fji: 'FJI',
897
+ Flk: 'FLK',
898
+ Fra: 'FRA',
899
+ Fro: 'FRO',
900
+ Fsm: 'FSM',
901
+ Gab: 'GAB',
902
+ Gbr: 'GBR',
903
+ Geo: 'GEO',
904
+ Ggy: 'GGY',
905
+ Gha: 'GHA',
906
+ Gib: 'GIB',
907
+ Gin: 'GIN',
908
+ Glp: 'GLP',
909
+ Gmb: 'GMB',
910
+ Gnb: 'GNB',
911
+ Gnq: 'GNQ',
912
+ Grc: 'GRC',
913
+ Grd: 'GRD',
914
+ Grl: 'GRL',
915
+ Gtm: 'GTM',
916
+ Guf: 'GUF',
917
+ Gum: 'GUM',
918
+ Guy: 'GUY',
919
+ Hkg: 'HKG',
920
+ Hmd: 'HMD',
921
+ Hnd: 'HND',
922
+ Hrv: 'HRV',
923
+ Hti: 'HTI',
924
+ Hun: 'HUN',
925
+ Idn: 'IDN',
926
+ Imn: 'IMN',
927
+ Ind: 'IND',
928
+ Iot: 'IOT',
929
+ Irl: 'IRL',
930
+ Irn: 'IRN',
931
+ Irq: 'IRQ',
932
+ Isl: 'ISL',
933
+ Isr: 'ISR',
934
+ Ita: 'ITA',
935
+ Jam: 'JAM',
936
+ Jey: 'JEY',
937
+ Jor: 'JOR',
938
+ Jpn: 'JPN',
939
+ Kaz: 'KAZ',
940
+ Ken: 'KEN',
941
+ Kgz: 'KGZ',
942
+ Khm: 'KHM',
943
+ Kir: 'KIR',
944
+ Kna: 'KNA',
945
+ Kor: 'KOR',
946
+ Kwt: 'KWT',
947
+ Lao: 'LAO',
948
+ Lbn: 'LBN',
949
+ Lbr: 'LBR',
950
+ Lby: 'LBY',
951
+ Lca: 'LCA',
952
+ Lie: 'LIE',
953
+ Lka: 'LKA',
954
+ Lso: 'LSO',
955
+ Ltu: 'LTU',
956
+ Lux: 'LUX',
957
+ Lva: 'LVA',
958
+ Mac: 'MAC',
959
+ Maf: 'MAF',
960
+ Mar: 'MAR',
961
+ Mco: 'MCO',
962
+ Mda: 'MDA',
963
+ Mdg: 'MDG',
964
+ Mdv: 'MDV',
965
+ Mex: 'MEX',
966
+ Mhl: 'MHL',
967
+ Mkd: 'MKD',
968
+ Mli: 'MLI',
969
+ Mlt: 'MLT',
970
+ Mmr: 'MMR',
971
+ Mne: 'MNE',
972
+ Mng: 'MNG',
973
+ Mnp: 'MNP',
974
+ Moz: 'MOZ',
975
+ Mrt: 'MRT',
976
+ Msr: 'MSR',
977
+ Mtq: 'MTQ',
978
+ Mus: 'MUS',
979
+ Mwi: 'MWI',
980
+ Mys: 'MYS',
981
+ Myt: 'MYT',
982
+ Nam: 'NAM',
983
+ Ncl: 'NCL',
984
+ Ner: 'NER',
985
+ Nfk: 'NFK',
986
+ Nga: 'NGA',
987
+ Nic: 'NIC',
988
+ Niu: 'NIU',
989
+ Nld: 'NLD',
990
+ Nor: 'NOR',
991
+ Npl: 'NPL',
992
+ Nru: 'NRU',
993
+ Nzl: 'NZL',
994
+ Omn: 'OMN',
995
+ Pak: 'PAK',
996
+ Pan: 'PAN',
997
+ Pcn: 'PCN',
998
+ Per: 'PER',
999
+ Phl: 'PHL',
1000
+ Plw: 'PLW',
1001
+ Png: 'PNG',
1002
+ Pol: 'POL',
1003
+ Pri: 'PRI',
1004
+ Prk: 'PRK',
1005
+ Prt: 'PRT',
1006
+ Pry: 'PRY',
1007
+ Pse: 'PSE',
1008
+ Pyf: 'PYF',
1009
+ Qat: 'QAT',
1010
+ Reu: 'REU',
1011
+ Rou: 'ROU',
1012
+ Rus: 'RUS',
1013
+ Rwa: 'RWA',
1014
+ Sau: 'SAU',
1015
+ Sdn: 'SDN',
1016
+ Sen: 'SEN',
1017
+ Sgp: 'SGP',
1018
+ Sgs: 'SGS',
1019
+ Shn: 'SHN',
1020
+ Sjm: 'SJM',
1021
+ Slb: 'SLB',
1022
+ Sle: 'SLE',
1023
+ Slv: 'SLV',
1024
+ Smr: 'SMR',
1025
+ Som: 'SOM',
1026
+ Spm: 'SPM',
1027
+ Srb: 'SRB',
1028
+ Ssd: 'SSD',
1029
+ Stp: 'STP',
1030
+ Sur: 'SUR',
1031
+ Svk: 'SVK',
1032
+ Svn: 'SVN',
1033
+ Swe: 'SWE',
1034
+ Swz: 'SWZ',
1035
+ Sxm: 'SXM',
1036
+ Syc: 'SYC',
1037
+ Syr: 'SYR',
1038
+ Tca: 'TCA',
1039
+ Tcd: 'TCD',
1040
+ Tgo: 'TGO',
1041
+ Tha: 'THA',
1042
+ Tjk: 'TJK',
1043
+ Tkl: 'TKL',
1044
+ Tkm: 'TKM',
1045
+ Tls: 'TLS',
1046
+ Ton: 'TON',
1047
+ Tto: 'TTO',
1048
+ Tun: 'TUN',
1049
+ Tur: 'TUR',
1050
+ Tuv: 'TUV',
1051
+ Twn: 'TWN',
1052
+ Tza: 'TZA',
1053
+ Uga: 'UGA',
1054
+ Ukr: 'UKR',
1055
+ Umi: 'UMI',
1056
+ Ury: 'URY',
1057
+ Usa: 'USA',
1058
+ Uzb: 'UZB',
1059
+ Vat: 'VAT',
1060
+ Vct: 'VCT',
1061
+ Ven: 'VEN',
1062
+ Vgb: 'VGB',
1063
+ Vir: 'VIR',
1064
+ Vnm: 'VNM',
1065
+ Vut: 'VUT',
1066
+ Wlf: 'WLF',
1067
+ Wsm: 'WSM',
1068
+ Yem: 'YEM',
1069
+ Zaf: 'ZAF',
1070
+ Zmb: 'ZMB',
1071
+ Zwe: 'ZWE',
1072
+ Xkx: 'XKX'
1073
+ } as const;
1074
+
1075
+ export type CountryCodesAlpha3 = typeof CountryCodesAlpha3[keyof typeof CountryCodesAlpha3];
1076
+
1077
+
1078
+ /**
1079
+ * Device information.
1080
+ * @export
1081
+ * @interface DeviceInfo
1082
+ */
1083
+ export interface DeviceInfo {
1084
+ /**
1085
+ * User-defined name of the device provided by the wallet or operating system.
1086
+ * @type {string}
1087
+ * @memberof DeviceInfo
1088
+ */
1089
+ 'deviceName'?: string;
1090
+ /**
1091
+ * 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
+ */
1095
+ 'deviceType'?: string;
1096
+ /**
1097
+ * Operating system running on the device. Typical values include IOS, ANDROID, or WATCHOS.
1098
+ * @type {string}
1099
+ * @memberof DeviceInfo
1100
+ */
1101
+ 'operatingSystem'?: string;
1102
+ }
1103
+ /**
1104
+ * 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
+ */
1108
+
1109
+ export const Locale = {
1110
+ AfZa: 'af-ZA',
1111
+ ArAe: 'ar-AE',
1112
+ ArBh: 'ar-BH',
1113
+ ArDz: 'ar-DZ',
1114
+ ArEg: 'ar-EG',
1115
+ ArIq: 'ar-IQ',
1116
+ ArJo: 'ar-JO',
1117
+ ArKw: 'ar-KW',
1118
+ ArLb: 'ar-LB',
1119
+ ArLy: 'ar-LY',
1120
+ ArMa: 'ar-MA',
1121
+ ArOm: 'ar-OM',
1122
+ ArQa: 'ar-QA',
1123
+ ArSa: 'ar-SA',
1124
+ ArSy: 'ar-SY',
1125
+ ArTn: 'ar-TN',
1126
+ ArYe: 'ar-YE',
1127
+ AzAz: 'az-AZ',
1128
+ BeBy: 'be-BY',
1129
+ BgBg: 'bg-BG',
1130
+ BnIn: 'bn-IN',
1131
+ BsBa: 'bs-BA',
1132
+ CaEs: 'ca-ES',
1133
+ CsCz: 'cs-CZ',
1134
+ CyGb: 'cy-GB',
1135
+ DaDk: 'da-DK',
1136
+ DeAt: 'de-AT',
1137
+ DeCh: 'de-CH',
1138
+ DeDe: 'de-DE',
1139
+ DeLi: 'de-LI',
1140
+ DeNl: 'de-NL',
1141
+ ElGr: 'el-GR',
1142
+ EnAu: 'en-AU',
1143
+ EnBz: 'en-BZ',
1144
+ EnCa: 'en-CA',
1145
+ EnGb: 'en-GB',
1146
+ EnIe: 'en-IE',
1147
+ EnJm: 'en-JM',
1148
+ EnMt: 'en-MT',
1149
+ EnNz: 'en-NZ',
1150
+ EnPh: 'en-PH',
1151
+ EnTt: 'en-TT',
1152
+ EnUs: 'en-US',
1153
+ EnVi: 'en-VI',
1154
+ EnZa: 'en-ZA',
1155
+ EnZw: 'en-ZW',
1156
+ EsAr: 'es-AR',
1157
+ EsBo: 'es-BO',
1158
+ EsCl: 'es-CL',
1159
+ EsCo: 'es-CO',
1160
+ EsCr: 'es-CR',
1161
+ EsDo: 'es-DO',
1162
+ EsEc: 'es-EC',
1163
+ EsEs: 'es-ES',
1164
+ EsGt: 'es-GT',
1165
+ EsHn: 'es-HN',
1166
+ EsMx: 'es-MX',
1167
+ EsNi: 'es-NI',
1168
+ EsPa: 'es-PA',
1169
+ EsPe: 'es-PE',
1170
+ EsPr: 'es-PR',
1171
+ EsPy: 'es-PY',
1172
+ EsSv: 'es-SV',
1173
+ EsUy: 'es-UY',
1174
+ EsVe: 'es-VE',
1175
+ EtEe: 'et-EE',
1176
+ EuEs: 'eu-ES',
1177
+ FaIr: 'fa-IR',
1178
+ FiFi: 'fi-FI',
1179
+ FoFo: 'fo-FO',
1180
+ FrBe: 'fr-BE',
1181
+ FrCa: 'fr-CA',
1182
+ FrCh: 'fr-CH',
1183
+ FrFr: 'fr-FR',
1184
+ FrMc: 'fr-MC',
1185
+ FrNl: 'fr-NL',
1186
+ GaIe: 'ga-IE',
1187
+ GlEs: 'gl-ES',
1188
+ GuIn: 'gu-IN',
1189
+ HeIl: 'he-IL',
1190
+ HiIn: 'hi-IN',
1191
+ HrHr: 'hr-HR',
1192
+ HuHu: 'hu-HU',
1193
+ HyAm: 'hy-AM',
1194
+ IdId: 'id-ID',
1195
+ IsIs: 'is-IS',
1196
+ ItCh: 'it-CH',
1197
+ ItIt: 'it-IT',
1198
+ JaJp: 'ja-JP',
1199
+ KaGe: 'ka-GE',
1200
+ KkKz: 'kk-KZ',
1201
+ KlGl: 'kl-GL',
1202
+ KnIn: 'kn-IN',
1203
+ KoKr: 'ko-KR',
1204
+ KokIn: 'kok-IN',
1205
+ LtLt: 'lt-LT',
1206
+ LvLv: 'lv-LV',
1207
+ MkMk: 'mk-MK',
1208
+ MlIn: 'ml-IN',
1209
+ MnMn: 'mn-MN',
1210
+ MrIn: 'mr-IN',
1211
+ MsBn: 'ms-BN',
1212
+ MsMy: 'ms-MY',
1213
+ MtMt: 'mt-MT',
1214
+ NbNo: 'nb-NO',
1215
+ NlBe: 'nl-BE',
1216
+ NlNl: 'nl-NL',
1217
+ NnNo: 'nn-NO',
1218
+ NoNo: 'no-NO',
1219
+ PaIn: 'pa-IN',
1220
+ PlPl: 'pl-PL',
1221
+ PtBr: 'pt-BR',
1222
+ PtPt: 'pt-PT',
1223
+ RoRo: 'ro-RO',
1224
+ RuRu: 'ru-RU',
1225
+ SeNo: 'se-NO',
1226
+ SkSk: 'sk-SK',
1227
+ SlSi: 'sl-SI',
1228
+ SqAl: 'sq-AL',
1229
+ SrBa: 'sr-BA',
1230
+ SrCs: 'sr-CS',
1231
+ SvFi: 'sv-FI',
1232
+ SvSe: 'sv-SE',
1233
+ SwKe: 'sw-KE',
1234
+ SyrSy: 'syr-SY',
1235
+ TaIn: 'ta-IN',
1236
+ TeIn: 'te-IN',
1237
+ ThTh: 'th-TH',
1238
+ TnZa: 'tn-ZA',
1239
+ TrTr: 'tr-TR',
1240
+ UkUa: 'uk-UA',
1241
+ UzUz: 'uz-UZ',
1242
+ ViVn: 'vi-VN',
1243
+ XhZa: 'xh-ZA',
1244
+ ZhCn: 'zh-CN',
1245
+ ZhHk: 'zh-HK',
1246
+ ZhMo: 'zh-MO',
1247
+ ZhSg: 'zh-SG',
1248
+ ZhTw: 'zh-TW',
1249
+ ZuZa: 'zu-ZA',
1250
+ AfZa2: 'af_ZA',
1251
+ ArAe2: 'ar_AE',
1252
+ ArBh2: 'ar_BH',
1253
+ ArDz2: 'ar_DZ',
1254
+ ArEg2: 'ar_EG',
1255
+ ArIq2: 'ar_IQ',
1256
+ ArJo2: 'ar_JO',
1257
+ ArKw2: 'ar_KW',
1258
+ ArLb2: 'ar_LB',
1259
+ ArLy2: 'ar_LY',
1260
+ ArMa2: 'ar_MA',
1261
+ ArOm2: 'ar_OM',
1262
+ ArQa2: 'ar_QA',
1263
+ ArSa2: 'ar_SA',
1264
+ ArSy2: 'ar_SY',
1265
+ ArTn2: 'ar_TN',
1266
+ ArYe2: 'ar_YE',
1267
+ AzAz2: 'az_AZ',
1268
+ BeBy2: 'be_BY',
1269
+ BgBg2: 'bg_BG',
1270
+ BnIn2: 'bn_IN',
1271
+ BsBa2: 'bs_BA',
1272
+ CaEs2: 'ca_ES',
1273
+ CsCz2: 'cs_CZ',
1274
+ CyGb2: 'cy_GB',
1275
+ DaDk2: 'da_DK',
1276
+ DeAt2: 'de_AT',
1277
+ DeCh2: 'de_CH',
1278
+ DeDe2: 'de_DE',
1279
+ DeLi2: 'de_LI',
1280
+ DeNl2: 'de_NL',
1281
+ ElGr2: 'el_GR',
1282
+ EnAu2: 'en_AU',
1283
+ EnBz2: 'en_BZ',
1284
+ EnCa2: 'en_CA',
1285
+ EnGb2: 'en_GB',
1286
+ EnIe2: 'en_IE',
1287
+ EnJm2: 'en_JM',
1288
+ EnMt2: 'en_MT',
1289
+ EnNz2: 'en_NZ',
1290
+ EnPh2: 'en_PH',
1291
+ EnTt2: 'en_TT',
1292
+ EnUs2: 'en_US',
1293
+ EnVi2: 'en_VI',
1294
+ EnZa2: 'en_ZA',
1295
+ EnZw2: 'en_ZW',
1296
+ EsAr2: 'es_AR',
1297
+ EsBo2: 'es_BO',
1298
+ EsCl2: 'es_CL',
1299
+ EsCo2: 'es_CO',
1300
+ EsCr2: 'es_CR',
1301
+ EsDo2: 'es_DO',
1302
+ EsEc2: 'es_EC',
1303
+ EsEs2: 'es_ES',
1304
+ EsGt2: 'es_GT',
1305
+ EsHn2: 'es_HN',
1306
+ EsMx2: 'es_MX',
1307
+ EsNi2: 'es_NI',
1308
+ EsPa2: 'es_PA',
1309
+ EsPe2: 'es_PE',
1310
+ EsPr2: 'es_PR',
1311
+ EsPy2: 'es_PY',
1312
+ EsSv2: 'es_SV',
1313
+ EsUy2: 'es_UY',
1314
+ EsVe2: 'es_VE',
1315
+ EtEe2: 'et_EE',
1316
+ EuEs2: 'eu_ES',
1317
+ FaIr2: 'fa_IR',
1318
+ FiFi2: 'fi_FI',
1319
+ FoFo2: 'fo_FO',
1320
+ FrBe2: 'fr_BE',
1321
+ FrCa2: 'fr_CA',
1322
+ FrCh2: 'fr_CH',
1323
+ FrFr2: 'fr_FR',
1324
+ FrMc2: 'fr_MC',
1325
+ FrNl2: 'fr_NL',
1326
+ GaIe2: 'ga_IE',
1327
+ GlEs2: 'gl_ES',
1328
+ GuIn2: 'gu_IN',
1329
+ HeIl2: 'he_IL',
1330
+ HiIn2: 'hi_IN',
1331
+ HrHr2: 'hr_HR',
1332
+ HuHu2: 'hu_HU',
1333
+ HyAm2: 'hy_AM',
1334
+ IdId2: 'id_ID',
1335
+ IsIs2: 'is_IS',
1336
+ ItCh2: 'it_CH',
1337
+ ItIt2: 'it_IT',
1338
+ JaJp2: 'ja_JP',
1339
+ KaGe2: 'ka_GE',
1340
+ KkKz2: 'kk_KZ',
1341
+ KlGl2: 'kl_GL',
1342
+ KnIn2: 'kn_IN',
1343
+ KoKr2: 'ko_KR',
1344
+ KokIn2: 'kok_IN',
1345
+ LtLt2: 'lt_LT',
1346
+ LvLv2: 'lv_LV',
1347
+ MkMk2: 'mk_MK',
1348
+ MlIn2: 'ml_IN',
1349
+ MnMn2: 'mn_MN',
1350
+ MrIn2: 'mr_IN',
1351
+ MsBn2: 'ms_BN',
1352
+ MsMy2: 'ms_MY',
1353
+ MtMt2: 'mt_MT',
1354
+ NbNo2: 'nb_NO',
1355
+ NlBe2: 'nl_BE',
1356
+ NlNl2: 'nl_NL',
1357
+ NnNo2: 'nn_NO',
1358
+ NoNo2: 'no_NO',
1359
+ PaIn2: 'pa_IN',
1360
+ PlPl2: 'pl_PL',
1361
+ PtBr2: 'pt_BR',
1362
+ PtPt2: 'pt_PT',
1363
+ RoRo2: 'ro_RO',
1364
+ RuRu2: 'ru_RU',
1365
+ SeNo2: 'se_NO',
1366
+ SkSk2: 'sk_SK',
1367
+ SlSi2: 'sl_SI',
1368
+ SqAl2: 'sq_AL',
1369
+ SrBa2: 'sr_BA',
1370
+ SrCs2: 'sr_CS',
1371
+ SvFi2: 'sv_FI',
1372
+ SvSe2: 'sv_SE',
1373
+ SwKe2: 'sw_KE',
1374
+ SyrSy2: 'syr_SY',
1375
+ TaIn2: 'ta_IN',
1376
+ TeIn2: 'te_IN',
1377
+ ThTh2: 'th_TH',
1378
+ TnZa2: 'tn_ZA',
1379
+ TrTr2: 'tr_TR',
1380
+ UkUa2: 'uk_UA',
1381
+ UzUz2: 'uz_UZ',
1382
+ ViVn2: 'vi_VN',
1383
+ XhZa2: 'xh_ZA',
1384
+ ZhCn2: 'zh_CN',
1385
+ ZhHk2: 'zh_HK',
1386
+ ZhMo2: 'zh_MO',
1387
+ ZhSg2: 'zh_SG',
1388
+ ZhTw2: 'zh_TW',
1389
+ ZuZa2: 'zu_ZA'
1390
+ } as const;
1391
+
1392
+ export type Locale = typeof Locale[keyof typeof Locale];
1393
+
1394
+
1395
+ /**
1396
+ *
1397
+ * @export
1398
+ * @interface MultiApplicationProperties
1399
+ */
1400
+ export interface MultiApplicationProperties {
1401
+ /**
1402
+ * 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
+ */
1406
+ 'applicationName'?: string;
1407
+ /**
1408
+ * The index of the application
1409
+ * @type {number}
1410
+ * @memberof MultiApplicationProperties
1411
+ */
1412
+ 'applicationIndex'?: number;
1413
+ /**
1414
+ * 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
+ */
1418
+ 'contactPriorityLevel'?: number;
1419
+ /**
1420
+ * 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
+ */
1424
+ 'contactlessPriorityLevel'?: number;
1425
+ /**
1426
+ * 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
+ */
1430
+ 'printed'?: boolean;
1431
+ /**
1432
+ * 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
+ */
1436
+ 'chipEnabled'?: boolean;
1437
+ }
1438
+ /**
1439
+ * @type NationalityInner
1440
+ * @export
1441
+ */
1442
+ export type NationalityInner = CountryCodesAlpha3 | string;
1443
+
1444
+ /**
1445
+ * 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
+ */
1449
+
1450
+ export const PinDeliveryType = {
1451
+ Mail: 'MAIL',
1452
+ Courier: 'COURIER',
1453
+ Epin: 'EPIN'
1454
+ } as const;
1455
+
1456
+ export type PinDeliveryType = typeof PinDeliveryType[keyof typeof PinDeliveryType];
1457
+
1458
+
1459
+ /**
1460
+ * - 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
+ */
1464
+
1465
+ export const PinStatus = {
1466
+ Generated: 'GENERATED',
1467
+ Waiting: 'WAITING',
1468
+ Set: 'SET',
1469
+ Inherited: 'INHERITED'
1470
+ } as const;
1471
+
1472
+ export type PinStatus = typeof PinStatus[keyof typeof PinStatus];
1473
+
1474
+
1475
+ /**
1476
+ *
1477
+ * @export
1478
+ * @interface Plastic
1479
+ */
1480
+ export interface Plastic {
1481
+ /**
1482
+ * The name to be embossed on the card. Max character limit is 26.
1483
+ * @type {string}
1484
+ * @memberof Plastic
1485
+ */
1486
+ 'embossingName'?: string;
1487
+ /**
1488
+ *
1489
+ * @type {Address}
1490
+ * @memberof Plastic
1491
+ */
1492
+ 'preferredCardAddress'?: Address;
1493
+ /**
1494
+ *
1495
+ * @type {CardDeliveryType}
1496
+ * @memberof Plastic
1497
+ */
1498
+ 'preferredCardDeliveryType': CardDeliveryType;
1499
+ /**
1500
+ *
1501
+ * @type {Address}
1502
+ * @memberof Plastic
1503
+ */
1504
+ 'preferredPinAddress'?: Address;
1505
+ /**
1506
+ *
1507
+ * @type {PinDeliveryType}
1508
+ * @memberof Plastic
1509
+ */
1510
+ 'preferredPinDeliveryType': PinDeliveryType;
1511
+ /**
1512
+ * Unique identifier of a resource.
1513
+ * @type {string}
1514
+ * @memberof Plastic
1515
+ */
1516
+ 'manufacturerId'?: string;
1517
+ /**
1518
+ * 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
+ */
1522
+ 'externalLayoutCode'?: string;
1523
+ /**
1524
+ * The date and time when the card was created.
1525
+ * @type {string}
1526
+ * @memberof Plastic
1527
+ */
1528
+ 'createdAt'?: string;
1529
+ /**
1530
+ * The date and time when the object/entity was updated last time.
1531
+ * @type {string}
1532
+ * @memberof Plastic
1533
+ */
1534
+ 'updatedAt'?: string;
1535
+ }
1536
+
1537
+
1538
+ /**
1539
+ * 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
+ */
1543
+
1544
+ export const RiskScore = {
1545
+ High: 'High',
1546
+ Med: 'Med',
1547
+ Low: 'Low',
1548
+ Pep: 'Pep',
1549
+ Prohibited: 'Prohibited'
1550
+ } as const;
1551
+
1552
+ export type RiskScore = typeof RiskScore[keyof typeof RiskScore];
1553
+
1554
+
1555
+ /**
1556
+ *
1557
+ * @export
1558
+ * @interface TokenEvent
1559
+ */
1560
+ export interface TokenEvent {
1561
+ /**
1562
+ * 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
+ */
1566
+ 'tokenUniqueReferenceId'?: string;
1567
+ /**
1568
+ * Identifier used by merchants or wallet providers to request tokens from the TSP.
1569
+ * @type {string}
1570
+ * @memberof TokenEvent
1571
+ */
1572
+ 'tokenRequestorId'?: string;
1573
+ /**
1574
+ *
1575
+ * @type {TokenRequestor}
1576
+ * @memberof TokenEvent
1577
+ */
1578
+ 'tokenRequestor'?: TokenRequestor;
1579
+ /**
1580
+ *
1581
+ * @type {TokenStatus}
1582
+ * @memberof TokenEvent
1583
+ */
1584
+ 'status'?: TokenStatus;
1585
+ /**
1586
+ * The last 4 digits of the tokenised PAN (DPAN) used for display and identification purposes.
1587
+ * @type {string}
1588
+ * @memberof TokenEvent
1589
+ */
1590
+ 'tokenSuffix'?: string;
1591
+ /**
1592
+ * 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
+ */
1596
+ 'dPan'?: string;
1597
+ /**
1598
+ * If the token was deleted from the consumer app
1599
+ * @type {boolean}
1600
+ * @memberof TokenEvent
1601
+ */
1602
+ 'deletedFromConsumerApp'?: boolean;
1603
+ /**
1604
+ *
1605
+ * @type {AuthorizationDecisionColor}
1606
+ * @memberof TokenEvent
1607
+ */
1608
+ 'authorizationDecision'?: AuthorizationDecisionColor;
1609
+ /**
1610
+ * The id of the card associated with the token.
1611
+ * @type {string}
1612
+ * @memberof TokenEvent
1613
+ */
1614
+ 'cardId'?: string;
1615
+ /**
1616
+ *
1617
+ * @type {DeviceInfo}
1618
+ * @memberof TokenEvent
1619
+ */
1620
+ 'deviceInfo'?: DeviceInfo;
1621
+ /**
1622
+ * The timestamp when the token was created by the TSP.
1623
+ * @type {string}
1624
+ * @memberof TokenEvent
1625
+ */
1626
+ 'createdAt'?: string;
1627
+ /**
1628
+ * The timestamp of the most recent update to the token’s status.
1629
+ * @type {string}
1630
+ * @memberof TokenEvent
1631
+ */
1632
+ 'updatedAt'?: string;
1633
+ /**
1634
+ * The version number of the entity.
1635
+ * @type {number}
1636
+ * @memberof TokenEvent
1637
+ */
1638
+ 'updateCount'?: number;
1639
+ }
1640
+
1641
+
1642
+ /**
1643
+ * 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
+ */
1647
+
1648
+ export const TokenRequestor = {
1649
+ ApplePay: 'APPLE_PAY',
1650
+ GooglePay: 'GOOGLE_PAY',
1651
+ SamsungPay: 'SAMSUNG_PAY',
1652
+ Other: 'OTHER'
1653
+ } as const;
1654
+
1655
+ export type TokenRequestor = typeof TokenRequestor[keyof typeof TokenRequestor];
1656
+
1657
+
1658
+ /**
1659
+ * 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
+ */
1663
+
1664
+ export const TokenStatus = {
1665
+ Active: 'ACTIVE',
1666
+ Deactivated: 'DEACTIVATED',
1667
+ Inactive: 'INACTIVE',
1668
+ Suspended: 'SUSPENDED'
1669
+ } as const;
1670
+
1671
+ export type TokenStatus = typeof TokenStatus[keyof typeof TokenStatus];
1672
+
1673
+
1674
+
1675
+ /**
1676
+ * IssuerEventWebhooksApi - axios parameter creator
1677
+ * @export
1678
+ */
1679
+ export const IssuerEventWebhooksApiAxiosParamCreator = function (configuration?: Configuration) {
1680
+ return {
1681
+ /**
1682
+ * This is not an endpoint. This is the description of a request that is sent to subscribed webhooks upon card creation, update or closure.
1683
+ * @summary Outgoing card event webhook endpoint
1684
+ * @param {CardEvent} cardEvent Card event
1685
+ * @param {*} [options] Override http request option.
1686
+ * @throws {RequiredError}
1687
+ */
1688
+ cardEvent: async (cardEvent: CardEvent, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1689
+ // verify required parameter 'cardEvent' is not null or undefined
1690
+ assertParamExists('cardEvent', 'cardEvent', cardEvent)
1691
+ const localVarPath = `/card`;
1692
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1693
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1694
+ let baseOptions;
1695
+ if (configuration) {
1696
+ baseOptions = configuration.baseOptions;
1697
+ }
1698
+
1699
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
1700
+ const localVarHeaderParameter = {} as any;
1701
+ const localVarQueryParameter = {} as any;
1702
+
1703
+
1704
+
1705
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1706
+
1707
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1708
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1709
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1710
+ localVarRequestOptions.data = serializeDataIfNeeded(cardEvent, localVarRequestOptions, configuration)
1711
+
1712
+ return {
1713
+ url: toPathString(localVarUrlObj),
1714
+ options: localVarRequestOptions,
1715
+ };
1716
+ },
1717
+ /**
1718
+ * This is not an endpoint. This is the description of a request that is sent to subscribed webhooks upon cardholder creation or update.
1719
+ * @summary Outgoing cardholder event webhook endpoint
1720
+ * @param {CardholderEvent} cardholderEvent Cardholder event
1721
+ * @param {*} [options] Override http request option.
1722
+ * @throws {RequiredError}
1723
+ */
1724
+ cardholderEvent: async (cardholderEvent: CardholderEvent, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1725
+ // verify required parameter 'cardholderEvent' is not null or undefined
1726
+ assertParamExists('cardholderEvent', 'cardholderEvent', cardholderEvent)
1727
+ const localVarPath = `/cardholder`;
1728
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1729
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1730
+ let baseOptions;
1731
+ if (configuration) {
1732
+ baseOptions = configuration.baseOptions;
1733
+ }
1734
+
1735
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
1736
+ const localVarHeaderParameter = {} as any;
1737
+ const localVarQueryParameter = {} as any;
1738
+
1739
+
1740
+
1741
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1742
+
1743
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1744
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1745
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1746
+ localVarRequestOptions.data = serializeDataIfNeeded(cardholderEvent, localVarRequestOptions, configuration)
1747
+
1748
+ return {
1749
+ url: toPathString(localVarUrlObj),
1750
+ options: localVarRequestOptions,
1751
+ };
1752
+ },
1753
+ /**
1754
+ * This is not an endpoint. This is the description of a request that is sent to subscribed webhooks upon token creation or update.
1755
+ * @summary Outgoing token event webhook endpoint
1756
+ * @param {TokenEvent} tokenEvent Token event
1757
+ * @param {*} [options] Override http request option.
1758
+ * @throws {RequiredError}
1759
+ */
1760
+ tokenEvent: async (tokenEvent: TokenEvent, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1761
+ // verify required parameter 'tokenEvent' is not null or undefined
1762
+ assertParamExists('tokenEvent', 'tokenEvent', tokenEvent)
1763
+ const localVarPath = `/token`;
1764
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1765
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1766
+ let baseOptions;
1767
+ if (configuration) {
1768
+ baseOptions = configuration.baseOptions;
1769
+ }
1770
+
1771
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
1772
+ const localVarHeaderParameter = {} as any;
1773
+ const localVarQueryParameter = {} as any;
1774
+
1775
+
1776
+
1777
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1778
+
1779
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1780
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1781
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1782
+ localVarRequestOptions.data = serializeDataIfNeeded(tokenEvent, localVarRequestOptions, configuration)
1783
+
1784
+ return {
1785
+ url: toPathString(localVarUrlObj),
1786
+ options: localVarRequestOptions,
1787
+ };
1788
+ },
1789
+ }
1790
+ };
1791
+
1792
+ /**
1793
+ * IssuerEventWebhooksApi - functional programming interface
1794
+ * @export
1795
+ */
1796
+ export const IssuerEventWebhooksApiFp = function(configuration?: Configuration) {
1797
+ const localVarAxiosParamCreator = IssuerEventWebhooksApiAxiosParamCreator(configuration)
1798
+ return {
1799
+ /**
1800
+ * This is not an endpoint. This is the description of a request that is sent to subscribed webhooks upon card creation, update or closure.
1801
+ * @summary Outgoing card event webhook endpoint
1802
+ * @param {CardEvent} cardEvent Card event
1803
+ * @param {*} [options] Override http request option.
1804
+ * @throws {RequiredError}
1805
+ */
1806
+ async cardEvent(cardEvent: CardEvent, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1807
+ const localVarAxiosArgs = await localVarAxiosParamCreator.cardEvent(cardEvent, options);
1808
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1809
+ const localVarOperationServerBasePath = operationServerMap['IssuerEventWebhooksApi.cardEvent']?.[localVarOperationServerIndex]?.url;
1810
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1811
+ },
1812
+ /**
1813
+ * This is not an endpoint. This is the description of a request that is sent to subscribed webhooks upon cardholder creation or update.
1814
+ * @summary Outgoing cardholder event webhook endpoint
1815
+ * @param {CardholderEvent} cardholderEvent Cardholder event
1816
+ * @param {*} [options] Override http request option.
1817
+ * @throws {RequiredError}
1818
+ */
1819
+ async cardholderEvent(cardholderEvent: CardholderEvent, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1820
+ const localVarAxiosArgs = await localVarAxiosParamCreator.cardholderEvent(cardholderEvent, options);
1821
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1822
+ const localVarOperationServerBasePath = operationServerMap['IssuerEventWebhooksApi.cardholderEvent']?.[localVarOperationServerIndex]?.url;
1823
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1824
+ },
1825
+ /**
1826
+ * This is not an endpoint. This is the description of a request that is sent to subscribed webhooks upon token creation or update.
1827
+ * @summary Outgoing token event webhook endpoint
1828
+ * @param {TokenEvent} tokenEvent Token event
1829
+ * @param {*} [options] Override http request option.
1830
+ * @throws {RequiredError}
1831
+ */
1832
+ async tokenEvent(tokenEvent: TokenEvent, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1833
+ const localVarAxiosArgs = await localVarAxiosParamCreator.tokenEvent(tokenEvent, options);
1834
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1835
+ const localVarOperationServerBasePath = operationServerMap['IssuerEventWebhooksApi.tokenEvent']?.[localVarOperationServerIndex]?.url;
1836
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1837
+ },
1838
+ }
1839
+ };
1840
+
1841
+ /**
1842
+ * IssuerEventWebhooksApi - factory interface
1843
+ * @export
1844
+ */
1845
+ export const IssuerEventWebhooksApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
1846
+ const localVarFp = IssuerEventWebhooksApiFp(configuration)
1847
+ return {
1848
+ /**
1849
+ * This is not an endpoint. This is the description of a request that is sent to subscribed webhooks upon card creation, update or closure.
1850
+ * @summary Outgoing card event webhook endpoint
1851
+ * @param {CardEvent} cardEvent Card event
1852
+ * @param {*} [options] Override http request option.
1853
+ * @throws {RequiredError}
1854
+ */
1855
+ cardEvent(cardEvent: CardEvent, options?: RawAxiosRequestConfig): AxiosPromise<void> {
1856
+ return localVarFp.cardEvent(cardEvent, options).then((request) => request(axios, basePath));
1857
+ },
1858
+ /**
1859
+ * This is not an endpoint. This is the description of a request that is sent to subscribed webhooks upon cardholder creation or update.
1860
+ * @summary Outgoing cardholder event webhook endpoint
1861
+ * @param {CardholderEvent} cardholderEvent Cardholder event
1862
+ * @param {*} [options] Override http request option.
1863
+ * @throws {RequiredError}
1864
+ */
1865
+ cardholderEvent(cardholderEvent: CardholderEvent, options?: RawAxiosRequestConfig): AxiosPromise<void> {
1866
+ return localVarFp.cardholderEvent(cardholderEvent, options).then((request) => request(axios, basePath));
1867
+ },
1868
+ /**
1869
+ * This is not an endpoint. This is the description of a request that is sent to subscribed webhooks upon token creation or update.
1870
+ * @summary Outgoing token event webhook endpoint
1871
+ * @param {TokenEvent} tokenEvent Token event
1872
+ * @param {*} [options] Override http request option.
1873
+ * @throws {RequiredError}
1874
+ */
1875
+ tokenEvent(tokenEvent: TokenEvent, options?: RawAxiosRequestConfig): AxiosPromise<void> {
1876
+ return localVarFp.tokenEvent(tokenEvent, options).then((request) => request(axios, basePath));
1877
+ },
1878
+ };
1879
+ };
1880
+
1881
+ /**
1882
+ * IssuerEventWebhooksApi - object-oriented interface
1883
+ * @export
1884
+ * @class IssuerEventWebhooksApi
1885
+ * @extends {BaseAPI}
1886
+ */
1887
+ export class IssuerEventWebhooksApi extends BaseAPI {
1888
+ /**
1889
+ * This is not an endpoint. This is the description of a request that is sent to subscribed webhooks upon card creation, update or closure.
1890
+ * @summary Outgoing card event webhook endpoint
1891
+ * @param {CardEvent} cardEvent Card event
1892
+ * @param {*} [options] Override http request option.
1893
+ * @throws {RequiredError}
1894
+ * @memberof IssuerEventWebhooksApi
1895
+ */
1896
+ public cardEvent(cardEvent: CardEvent, options?: RawAxiosRequestConfig) {
1897
+ return IssuerEventWebhooksApiFp(this.configuration).cardEvent(cardEvent, options).then((request) => request(this.axios, this.basePath));
1898
+ }
1899
+
1900
+ /**
1901
+ * This is not an endpoint. This is the description of a request that is sent to subscribed webhooks upon cardholder creation or update.
1902
+ * @summary Outgoing cardholder event webhook endpoint
1903
+ * @param {CardholderEvent} cardholderEvent Cardholder event
1904
+ * @param {*} [options] Override http request option.
1905
+ * @throws {RequiredError}
1906
+ * @memberof IssuerEventWebhooksApi
1907
+ */
1908
+ public cardholderEvent(cardholderEvent: CardholderEvent, options?: RawAxiosRequestConfig) {
1909
+ return IssuerEventWebhooksApiFp(this.configuration).cardholderEvent(cardholderEvent, options).then((request) => request(this.axios, this.basePath));
1910
+ }
1911
+
1912
+ /**
1913
+ * This is not an endpoint. This is the description of a request that is sent to subscribed webhooks upon token creation or update.
1914
+ * @summary Outgoing token event webhook endpoint
1915
+ * @param {TokenEvent} tokenEvent Token event
1916
+ * @param {*} [options] Override http request option.
1917
+ * @throws {RequiredError}
1918
+ * @memberof IssuerEventWebhooksApi
1919
+ */
1920
+ public tokenEvent(tokenEvent: TokenEvent, options?: RawAxiosRequestConfig) {
1921
+ return IssuerEventWebhooksApiFp(this.configuration).tokenEvent(tokenEvent, options).then((request) => request(this.axios, this.basePath));
1922
+ }
1923
+ }
1924
+
1925
+
1926
+