@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,940 @@
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
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
15
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
16
+ return new (P || (P = Promise))(function (resolve, reject) {
17
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
18
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
19
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
20
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
21
+ });
22
+ };
23
+ import globalAxios from 'axios';
24
+ // Some imports not used depending on template conditions
25
+ // @ts-ignore
26
+ import { DUMMY_BASE_URL, assertParamExists, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
27
+ // @ts-ignore
28
+ import { BASE_PATH, BaseAPI, operationServerMap } from './base';
29
+ /**
30
+ * The wallets common name for authorization decision.
31
+ * @export
32
+ * @enum {string}
33
+ */
34
+ export const AuthorizationDecisionColor = {
35
+ Green: 'GREEN',
36
+ Yellow: 'YELLOW',
37
+ Orange: 'ORANGE',
38
+ Red: 'RED'
39
+ };
40
+ /**
41
+ * The type of card defined by this card configuration.
42
+ * @export
43
+ * @enum {string}
44
+ */
45
+ export const CardConfigurationType = {
46
+ Debit: 'DEBIT',
47
+ Credit: 'CREDIT',
48
+ Combo: 'COMBO'
49
+ };
50
+ /**
51
+ * 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.
52
+ * @export
53
+ * @enum {string}
54
+ */
55
+ export const CardDeliveryType = {
56
+ Mail: 'MAIL',
57
+ Courier: 'COURIER',
58
+ Custom1: 'CUSTOM_1',
59
+ Custom2: 'CUSTOM_2',
60
+ Custom3: 'CUSTOM_3',
61
+ Custom4: 'CUSTOM_4',
62
+ Custom5: 'CUSTOM_5'
63
+ };
64
+ /**
65
+ * 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.
66
+ * @export
67
+ * @enum {string}
68
+ */
69
+ export const CardRole = {
70
+ MainCard: 'MAIN_CARD',
71
+ CardApplication: 'CARD_APPLICATION'
72
+ };
73
+ /**
74
+ *
75
+ * @export
76
+ * @enum {string}
77
+ */
78
+ export const CardScheme = {
79
+ Mastercard: 'MASTERCARD',
80
+ Visa: 'VISA'
81
+ };
82
+ /**
83
+ * - 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.
84
+ * @export
85
+ * @enum {string}
86
+ */
87
+ export const CardStatus = {
88
+ Active: 'ACTIVE',
89
+ Blocked: 'BLOCKED',
90
+ BlockedSuspectedFraud: 'BLOCKED_SUSPECTED_FRAUD',
91
+ ClosedDueToFraud: 'CLOSED_DUE_TO_FRAUD',
92
+ ClosedLost: 'CLOSED_LOST',
93
+ ClosedStolen: 'CLOSED_STOLEN',
94
+ Closed: 'CLOSED',
95
+ ClosedExpired: 'CLOSED_EXPIRED'
96
+ };
97
+ /**
98
+ * - 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.
99
+ * @export
100
+ * @enum {string}
101
+ */
102
+ export const CardVersionStatus = {
103
+ Active: 'ACTIVE',
104
+ Initial: 'INITIAL',
105
+ Closed: 'CLOSED'
106
+ };
107
+ /**
108
+ * ISO 3166-1 alpha-3 country codes. XKX is used for the Kosovo.
109
+ * @export
110
+ * @enum {string}
111
+ */
112
+ export const CountryCodesAlpha3 = {
113
+ Abw: 'ABW',
114
+ Afg: 'AFG',
115
+ Ago: 'AGO',
116
+ Aia: 'AIA',
117
+ Ala: 'ALA',
118
+ Alb: 'ALB',
119
+ And: 'AND',
120
+ Are: 'ARE',
121
+ Arg: 'ARG',
122
+ Arm: 'ARM',
123
+ Asm: 'ASM',
124
+ Ata: 'ATA',
125
+ Atf: 'ATF',
126
+ Atg: 'ATG',
127
+ Aus: 'AUS',
128
+ Aut: 'AUT',
129
+ Aze: 'AZE',
130
+ Bdi: 'BDI',
131
+ Bel: 'BEL',
132
+ Ben: 'BEN',
133
+ Bes: 'BES',
134
+ Bfa: 'BFA',
135
+ Bgd: 'BGD',
136
+ Bgr: 'BGR',
137
+ Bhr: 'BHR',
138
+ Bhs: 'BHS',
139
+ Bih: 'BIH',
140
+ Blm: 'BLM',
141
+ Blr: 'BLR',
142
+ Blz: 'BLZ',
143
+ Bmu: 'BMU',
144
+ Bol: 'BOL',
145
+ Bra: 'BRA',
146
+ Brb: 'BRB',
147
+ Brn: 'BRN',
148
+ Btn: 'BTN',
149
+ Bvt: 'BVT',
150
+ Bwa: 'BWA',
151
+ Caf: 'CAF',
152
+ Can: 'CAN',
153
+ Cck: 'CCK',
154
+ Che: 'CHE',
155
+ Chl: 'CHL',
156
+ Chn: 'CHN',
157
+ Civ: 'CIV',
158
+ Cmr: 'CMR',
159
+ Cod: 'COD',
160
+ Cog: 'COG',
161
+ Cok: 'COK',
162
+ Col: 'COL',
163
+ Com: 'COM',
164
+ Cpv: 'CPV',
165
+ Cri: 'CRI',
166
+ Cub: 'CUB',
167
+ Cuw: 'CUW',
168
+ Cxr: 'CXR',
169
+ Cym: 'CYM',
170
+ Cyp: 'CYP',
171
+ Cze: 'CZE',
172
+ Deu: 'DEU',
173
+ Dji: 'DJI',
174
+ Dma: 'DMA',
175
+ Dnk: 'DNK',
176
+ Dom: 'DOM',
177
+ Dza: 'DZA',
178
+ Ecu: 'ECU',
179
+ Egy: 'EGY',
180
+ Eri: 'ERI',
181
+ Esh: 'ESH',
182
+ Esp: 'ESP',
183
+ Est: 'EST',
184
+ Eth: 'ETH',
185
+ Fin: 'FIN',
186
+ Fji: 'FJI',
187
+ Flk: 'FLK',
188
+ Fra: 'FRA',
189
+ Fro: 'FRO',
190
+ Fsm: 'FSM',
191
+ Gab: 'GAB',
192
+ Gbr: 'GBR',
193
+ Geo: 'GEO',
194
+ Ggy: 'GGY',
195
+ Gha: 'GHA',
196
+ Gib: 'GIB',
197
+ Gin: 'GIN',
198
+ Glp: 'GLP',
199
+ Gmb: 'GMB',
200
+ Gnb: 'GNB',
201
+ Gnq: 'GNQ',
202
+ Grc: 'GRC',
203
+ Grd: 'GRD',
204
+ Grl: 'GRL',
205
+ Gtm: 'GTM',
206
+ Guf: 'GUF',
207
+ Gum: 'GUM',
208
+ Guy: 'GUY',
209
+ Hkg: 'HKG',
210
+ Hmd: 'HMD',
211
+ Hnd: 'HND',
212
+ Hrv: 'HRV',
213
+ Hti: 'HTI',
214
+ Hun: 'HUN',
215
+ Idn: 'IDN',
216
+ Imn: 'IMN',
217
+ Ind: 'IND',
218
+ Iot: 'IOT',
219
+ Irl: 'IRL',
220
+ Irn: 'IRN',
221
+ Irq: 'IRQ',
222
+ Isl: 'ISL',
223
+ Isr: 'ISR',
224
+ Ita: 'ITA',
225
+ Jam: 'JAM',
226
+ Jey: 'JEY',
227
+ Jor: 'JOR',
228
+ Jpn: 'JPN',
229
+ Kaz: 'KAZ',
230
+ Ken: 'KEN',
231
+ Kgz: 'KGZ',
232
+ Khm: 'KHM',
233
+ Kir: 'KIR',
234
+ Kna: 'KNA',
235
+ Kor: 'KOR',
236
+ Kwt: 'KWT',
237
+ Lao: 'LAO',
238
+ Lbn: 'LBN',
239
+ Lbr: 'LBR',
240
+ Lby: 'LBY',
241
+ Lca: 'LCA',
242
+ Lie: 'LIE',
243
+ Lka: 'LKA',
244
+ Lso: 'LSO',
245
+ Ltu: 'LTU',
246
+ Lux: 'LUX',
247
+ Lva: 'LVA',
248
+ Mac: 'MAC',
249
+ Maf: 'MAF',
250
+ Mar: 'MAR',
251
+ Mco: 'MCO',
252
+ Mda: 'MDA',
253
+ Mdg: 'MDG',
254
+ Mdv: 'MDV',
255
+ Mex: 'MEX',
256
+ Mhl: 'MHL',
257
+ Mkd: 'MKD',
258
+ Mli: 'MLI',
259
+ Mlt: 'MLT',
260
+ Mmr: 'MMR',
261
+ Mne: 'MNE',
262
+ Mng: 'MNG',
263
+ Mnp: 'MNP',
264
+ Moz: 'MOZ',
265
+ Mrt: 'MRT',
266
+ Msr: 'MSR',
267
+ Mtq: 'MTQ',
268
+ Mus: 'MUS',
269
+ Mwi: 'MWI',
270
+ Mys: 'MYS',
271
+ Myt: 'MYT',
272
+ Nam: 'NAM',
273
+ Ncl: 'NCL',
274
+ Ner: 'NER',
275
+ Nfk: 'NFK',
276
+ Nga: 'NGA',
277
+ Nic: 'NIC',
278
+ Niu: 'NIU',
279
+ Nld: 'NLD',
280
+ Nor: 'NOR',
281
+ Npl: 'NPL',
282
+ Nru: 'NRU',
283
+ Nzl: 'NZL',
284
+ Omn: 'OMN',
285
+ Pak: 'PAK',
286
+ Pan: 'PAN',
287
+ Pcn: 'PCN',
288
+ Per: 'PER',
289
+ Phl: 'PHL',
290
+ Plw: 'PLW',
291
+ Png: 'PNG',
292
+ Pol: 'POL',
293
+ Pri: 'PRI',
294
+ Prk: 'PRK',
295
+ Prt: 'PRT',
296
+ Pry: 'PRY',
297
+ Pse: 'PSE',
298
+ Pyf: 'PYF',
299
+ Qat: 'QAT',
300
+ Reu: 'REU',
301
+ Rou: 'ROU',
302
+ Rus: 'RUS',
303
+ Rwa: 'RWA',
304
+ Sau: 'SAU',
305
+ Sdn: 'SDN',
306
+ Sen: 'SEN',
307
+ Sgp: 'SGP',
308
+ Sgs: 'SGS',
309
+ Shn: 'SHN',
310
+ Sjm: 'SJM',
311
+ Slb: 'SLB',
312
+ Sle: 'SLE',
313
+ Slv: 'SLV',
314
+ Smr: 'SMR',
315
+ Som: 'SOM',
316
+ Spm: 'SPM',
317
+ Srb: 'SRB',
318
+ Ssd: 'SSD',
319
+ Stp: 'STP',
320
+ Sur: 'SUR',
321
+ Svk: 'SVK',
322
+ Svn: 'SVN',
323
+ Swe: 'SWE',
324
+ Swz: 'SWZ',
325
+ Sxm: 'SXM',
326
+ Syc: 'SYC',
327
+ Syr: 'SYR',
328
+ Tca: 'TCA',
329
+ Tcd: 'TCD',
330
+ Tgo: 'TGO',
331
+ Tha: 'THA',
332
+ Tjk: 'TJK',
333
+ Tkl: 'TKL',
334
+ Tkm: 'TKM',
335
+ Tls: 'TLS',
336
+ Ton: 'TON',
337
+ Tto: 'TTO',
338
+ Tun: 'TUN',
339
+ Tur: 'TUR',
340
+ Tuv: 'TUV',
341
+ Twn: 'TWN',
342
+ Tza: 'TZA',
343
+ Uga: 'UGA',
344
+ Ukr: 'UKR',
345
+ Umi: 'UMI',
346
+ Ury: 'URY',
347
+ Usa: 'USA',
348
+ Uzb: 'UZB',
349
+ Vat: 'VAT',
350
+ Vct: 'VCT',
351
+ Ven: 'VEN',
352
+ Vgb: 'VGB',
353
+ Vir: 'VIR',
354
+ Vnm: 'VNM',
355
+ Vut: 'VUT',
356
+ Wlf: 'WLF',
357
+ Wsm: 'WSM',
358
+ Yem: 'YEM',
359
+ Zaf: 'ZAF',
360
+ Zmb: 'ZMB',
361
+ Zwe: 'ZWE',
362
+ Xkx: 'XKX'
363
+ };
364
+ /**
365
+ * 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.
366
+ * @export
367
+ * @enum {string}
368
+ */
369
+ export const Locale = {
370
+ AfZa: 'af-ZA',
371
+ ArAe: 'ar-AE',
372
+ ArBh: 'ar-BH',
373
+ ArDz: 'ar-DZ',
374
+ ArEg: 'ar-EG',
375
+ ArIq: 'ar-IQ',
376
+ ArJo: 'ar-JO',
377
+ ArKw: 'ar-KW',
378
+ ArLb: 'ar-LB',
379
+ ArLy: 'ar-LY',
380
+ ArMa: 'ar-MA',
381
+ ArOm: 'ar-OM',
382
+ ArQa: 'ar-QA',
383
+ ArSa: 'ar-SA',
384
+ ArSy: 'ar-SY',
385
+ ArTn: 'ar-TN',
386
+ ArYe: 'ar-YE',
387
+ AzAz: 'az-AZ',
388
+ BeBy: 'be-BY',
389
+ BgBg: 'bg-BG',
390
+ BnIn: 'bn-IN',
391
+ BsBa: 'bs-BA',
392
+ CaEs: 'ca-ES',
393
+ CsCz: 'cs-CZ',
394
+ CyGb: 'cy-GB',
395
+ DaDk: 'da-DK',
396
+ DeAt: 'de-AT',
397
+ DeCh: 'de-CH',
398
+ DeDe: 'de-DE',
399
+ DeLi: 'de-LI',
400
+ DeNl: 'de-NL',
401
+ ElGr: 'el-GR',
402
+ EnAu: 'en-AU',
403
+ EnBz: 'en-BZ',
404
+ EnCa: 'en-CA',
405
+ EnGb: 'en-GB',
406
+ EnIe: 'en-IE',
407
+ EnJm: 'en-JM',
408
+ EnMt: 'en-MT',
409
+ EnNz: 'en-NZ',
410
+ EnPh: 'en-PH',
411
+ EnTt: 'en-TT',
412
+ EnUs: 'en-US',
413
+ EnVi: 'en-VI',
414
+ EnZa: 'en-ZA',
415
+ EnZw: 'en-ZW',
416
+ EsAr: 'es-AR',
417
+ EsBo: 'es-BO',
418
+ EsCl: 'es-CL',
419
+ EsCo: 'es-CO',
420
+ EsCr: 'es-CR',
421
+ EsDo: 'es-DO',
422
+ EsEc: 'es-EC',
423
+ EsEs: 'es-ES',
424
+ EsGt: 'es-GT',
425
+ EsHn: 'es-HN',
426
+ EsMx: 'es-MX',
427
+ EsNi: 'es-NI',
428
+ EsPa: 'es-PA',
429
+ EsPe: 'es-PE',
430
+ EsPr: 'es-PR',
431
+ EsPy: 'es-PY',
432
+ EsSv: 'es-SV',
433
+ EsUy: 'es-UY',
434
+ EsVe: 'es-VE',
435
+ EtEe: 'et-EE',
436
+ EuEs: 'eu-ES',
437
+ FaIr: 'fa-IR',
438
+ FiFi: 'fi-FI',
439
+ FoFo: 'fo-FO',
440
+ FrBe: 'fr-BE',
441
+ FrCa: 'fr-CA',
442
+ FrCh: 'fr-CH',
443
+ FrFr: 'fr-FR',
444
+ FrMc: 'fr-MC',
445
+ FrNl: 'fr-NL',
446
+ GaIe: 'ga-IE',
447
+ GlEs: 'gl-ES',
448
+ GuIn: 'gu-IN',
449
+ HeIl: 'he-IL',
450
+ HiIn: 'hi-IN',
451
+ HrHr: 'hr-HR',
452
+ HuHu: 'hu-HU',
453
+ HyAm: 'hy-AM',
454
+ IdId: 'id-ID',
455
+ IsIs: 'is-IS',
456
+ ItCh: 'it-CH',
457
+ ItIt: 'it-IT',
458
+ JaJp: 'ja-JP',
459
+ KaGe: 'ka-GE',
460
+ KkKz: 'kk-KZ',
461
+ KlGl: 'kl-GL',
462
+ KnIn: 'kn-IN',
463
+ KoKr: 'ko-KR',
464
+ KokIn: 'kok-IN',
465
+ LtLt: 'lt-LT',
466
+ LvLv: 'lv-LV',
467
+ MkMk: 'mk-MK',
468
+ MlIn: 'ml-IN',
469
+ MnMn: 'mn-MN',
470
+ MrIn: 'mr-IN',
471
+ MsBn: 'ms-BN',
472
+ MsMy: 'ms-MY',
473
+ MtMt: 'mt-MT',
474
+ NbNo: 'nb-NO',
475
+ NlBe: 'nl-BE',
476
+ NlNl: 'nl-NL',
477
+ NnNo: 'nn-NO',
478
+ NoNo: 'no-NO',
479
+ PaIn: 'pa-IN',
480
+ PlPl: 'pl-PL',
481
+ PtBr: 'pt-BR',
482
+ PtPt: 'pt-PT',
483
+ RoRo: 'ro-RO',
484
+ RuRu: 'ru-RU',
485
+ SeNo: 'se-NO',
486
+ SkSk: 'sk-SK',
487
+ SlSi: 'sl-SI',
488
+ SqAl: 'sq-AL',
489
+ SrBa: 'sr-BA',
490
+ SrCs: 'sr-CS',
491
+ SvFi: 'sv-FI',
492
+ SvSe: 'sv-SE',
493
+ SwKe: 'sw-KE',
494
+ SyrSy: 'syr-SY',
495
+ TaIn: 'ta-IN',
496
+ TeIn: 'te-IN',
497
+ ThTh: 'th-TH',
498
+ TnZa: 'tn-ZA',
499
+ TrTr: 'tr-TR',
500
+ UkUa: 'uk-UA',
501
+ UzUz: 'uz-UZ',
502
+ ViVn: 'vi-VN',
503
+ XhZa: 'xh-ZA',
504
+ ZhCn: 'zh-CN',
505
+ ZhHk: 'zh-HK',
506
+ ZhMo: 'zh-MO',
507
+ ZhSg: 'zh-SG',
508
+ ZhTw: 'zh-TW',
509
+ ZuZa: 'zu-ZA',
510
+ AfZa2: 'af_ZA',
511
+ ArAe2: 'ar_AE',
512
+ ArBh2: 'ar_BH',
513
+ ArDz2: 'ar_DZ',
514
+ ArEg2: 'ar_EG',
515
+ ArIq2: 'ar_IQ',
516
+ ArJo2: 'ar_JO',
517
+ ArKw2: 'ar_KW',
518
+ ArLb2: 'ar_LB',
519
+ ArLy2: 'ar_LY',
520
+ ArMa2: 'ar_MA',
521
+ ArOm2: 'ar_OM',
522
+ ArQa2: 'ar_QA',
523
+ ArSa2: 'ar_SA',
524
+ ArSy2: 'ar_SY',
525
+ ArTn2: 'ar_TN',
526
+ ArYe2: 'ar_YE',
527
+ AzAz2: 'az_AZ',
528
+ BeBy2: 'be_BY',
529
+ BgBg2: 'bg_BG',
530
+ BnIn2: 'bn_IN',
531
+ BsBa2: 'bs_BA',
532
+ CaEs2: 'ca_ES',
533
+ CsCz2: 'cs_CZ',
534
+ CyGb2: 'cy_GB',
535
+ DaDk2: 'da_DK',
536
+ DeAt2: 'de_AT',
537
+ DeCh2: 'de_CH',
538
+ DeDe2: 'de_DE',
539
+ DeLi2: 'de_LI',
540
+ DeNl2: 'de_NL',
541
+ ElGr2: 'el_GR',
542
+ EnAu2: 'en_AU',
543
+ EnBz2: 'en_BZ',
544
+ EnCa2: 'en_CA',
545
+ EnGb2: 'en_GB',
546
+ EnIe2: 'en_IE',
547
+ EnJm2: 'en_JM',
548
+ EnMt2: 'en_MT',
549
+ EnNz2: 'en_NZ',
550
+ EnPh2: 'en_PH',
551
+ EnTt2: 'en_TT',
552
+ EnUs2: 'en_US',
553
+ EnVi2: 'en_VI',
554
+ EnZa2: 'en_ZA',
555
+ EnZw2: 'en_ZW',
556
+ EsAr2: 'es_AR',
557
+ EsBo2: 'es_BO',
558
+ EsCl2: 'es_CL',
559
+ EsCo2: 'es_CO',
560
+ EsCr2: 'es_CR',
561
+ EsDo2: 'es_DO',
562
+ EsEc2: 'es_EC',
563
+ EsEs2: 'es_ES',
564
+ EsGt2: 'es_GT',
565
+ EsHn2: 'es_HN',
566
+ EsMx2: 'es_MX',
567
+ EsNi2: 'es_NI',
568
+ EsPa2: 'es_PA',
569
+ EsPe2: 'es_PE',
570
+ EsPr2: 'es_PR',
571
+ EsPy2: 'es_PY',
572
+ EsSv2: 'es_SV',
573
+ EsUy2: 'es_UY',
574
+ EsVe2: 'es_VE',
575
+ EtEe2: 'et_EE',
576
+ EuEs2: 'eu_ES',
577
+ FaIr2: 'fa_IR',
578
+ FiFi2: 'fi_FI',
579
+ FoFo2: 'fo_FO',
580
+ FrBe2: 'fr_BE',
581
+ FrCa2: 'fr_CA',
582
+ FrCh2: 'fr_CH',
583
+ FrFr2: 'fr_FR',
584
+ FrMc2: 'fr_MC',
585
+ FrNl2: 'fr_NL',
586
+ GaIe2: 'ga_IE',
587
+ GlEs2: 'gl_ES',
588
+ GuIn2: 'gu_IN',
589
+ HeIl2: 'he_IL',
590
+ HiIn2: 'hi_IN',
591
+ HrHr2: 'hr_HR',
592
+ HuHu2: 'hu_HU',
593
+ HyAm2: 'hy_AM',
594
+ IdId2: 'id_ID',
595
+ IsIs2: 'is_IS',
596
+ ItCh2: 'it_CH',
597
+ ItIt2: 'it_IT',
598
+ JaJp2: 'ja_JP',
599
+ KaGe2: 'ka_GE',
600
+ KkKz2: 'kk_KZ',
601
+ KlGl2: 'kl_GL',
602
+ KnIn2: 'kn_IN',
603
+ KoKr2: 'ko_KR',
604
+ KokIn2: 'kok_IN',
605
+ LtLt2: 'lt_LT',
606
+ LvLv2: 'lv_LV',
607
+ MkMk2: 'mk_MK',
608
+ MlIn2: 'ml_IN',
609
+ MnMn2: 'mn_MN',
610
+ MrIn2: 'mr_IN',
611
+ MsBn2: 'ms_BN',
612
+ MsMy2: 'ms_MY',
613
+ MtMt2: 'mt_MT',
614
+ NbNo2: 'nb_NO',
615
+ NlBe2: 'nl_BE',
616
+ NlNl2: 'nl_NL',
617
+ NnNo2: 'nn_NO',
618
+ NoNo2: 'no_NO',
619
+ PaIn2: 'pa_IN',
620
+ PlPl2: 'pl_PL',
621
+ PtBr2: 'pt_BR',
622
+ PtPt2: 'pt_PT',
623
+ RoRo2: 'ro_RO',
624
+ RuRu2: 'ru_RU',
625
+ SeNo2: 'se_NO',
626
+ SkSk2: 'sk_SK',
627
+ SlSi2: 'sl_SI',
628
+ SqAl2: 'sq_AL',
629
+ SrBa2: 'sr_BA',
630
+ SrCs2: 'sr_CS',
631
+ SvFi2: 'sv_FI',
632
+ SvSe2: 'sv_SE',
633
+ SwKe2: 'sw_KE',
634
+ SyrSy2: 'syr_SY',
635
+ TaIn2: 'ta_IN',
636
+ TeIn2: 'te_IN',
637
+ ThTh2: 'th_TH',
638
+ TnZa2: 'tn_ZA',
639
+ TrTr2: 'tr_TR',
640
+ UkUa2: 'uk_UA',
641
+ UzUz2: 'uz_UZ',
642
+ ViVn2: 'vi_VN',
643
+ XhZa2: 'xh_ZA',
644
+ ZhCn2: 'zh_CN',
645
+ ZhHk2: 'zh_HK',
646
+ ZhMo2: 'zh_MO',
647
+ ZhSg2: 'zh_SG',
648
+ ZhTw2: 'zh_TW',
649
+ ZuZa2: 'zu_ZA'
650
+ };
651
+ /**
652
+ * 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.
653
+ * @export
654
+ * @enum {string}
655
+ */
656
+ export const PinDeliveryType = {
657
+ Mail: 'MAIL',
658
+ Courier: 'COURIER',
659
+ Epin: 'EPIN'
660
+ };
661
+ /**
662
+ * - 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.
663
+ * @export
664
+ * @enum {string}
665
+ */
666
+ export const PinStatus = {
667
+ Generated: 'GENERATED',
668
+ Waiting: 'WAITING',
669
+ Set: 'SET',
670
+ Inherited: 'INHERITED'
671
+ };
672
+ /**
673
+ * 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.
674
+ * @export
675
+ * @enum {string}
676
+ */
677
+ export const RiskScore = {
678
+ High: 'High',
679
+ Med: 'Med',
680
+ Low: 'Low',
681
+ Pep: 'Pep',
682
+ Prohibited: 'Prohibited'
683
+ };
684
+ /**
685
+ * 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).
686
+ * @export
687
+ * @enum {string}
688
+ */
689
+ export const TokenRequestor = {
690
+ ApplePay: 'APPLE_PAY',
691
+ GooglePay: 'GOOGLE_PAY',
692
+ SamsungPay: 'SAMSUNG_PAY',
693
+ Other: 'OTHER'
694
+ };
695
+ /**
696
+ * Current status of the token: - ACTIVE - Available for payments - DEACTIVATED - Permanently deactivated - INACTIVE - Waiting for activation - SUSPENDED - Temporarily not available for payments
697
+ * @export
698
+ * @enum {string}
699
+ */
700
+ export const TokenStatus = {
701
+ Active: 'ACTIVE',
702
+ Deactivated: 'DEACTIVATED',
703
+ Inactive: 'INACTIVE',
704
+ Suspended: 'SUSPENDED'
705
+ };
706
+ /**
707
+ * IssuerEventWebhooksApi - axios parameter creator
708
+ * @export
709
+ */
710
+ export const IssuerEventWebhooksApiAxiosParamCreator = function (configuration) {
711
+ return {
712
+ /**
713
+ * This is not an endpoint. This is the description of a request that is sent to subscribed webhooks upon card creation, update or closure.
714
+ * @summary Outgoing card event webhook endpoint
715
+ * @param {CardEvent} cardEvent Card event
716
+ * @param {*} [options] Override http request option.
717
+ * @throws {RequiredError}
718
+ */
719
+ cardEvent: (cardEvent_1, ...args_1) => __awaiter(this, [cardEvent_1, ...args_1], void 0, function* (cardEvent, options = {}) {
720
+ // verify required parameter 'cardEvent' is not null or undefined
721
+ assertParamExists('cardEvent', 'cardEvent', cardEvent);
722
+ const localVarPath = `/card`;
723
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
724
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
725
+ let baseOptions;
726
+ if (configuration) {
727
+ baseOptions = configuration.baseOptions;
728
+ }
729
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
730
+ const localVarHeaderParameter = {};
731
+ const localVarQueryParameter = {};
732
+ localVarHeaderParameter['Content-Type'] = 'application/json';
733
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
734
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
735
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
736
+ localVarRequestOptions.data = serializeDataIfNeeded(cardEvent, localVarRequestOptions, configuration);
737
+ return {
738
+ url: toPathString(localVarUrlObj),
739
+ options: localVarRequestOptions,
740
+ };
741
+ }),
742
+ /**
743
+ * This is not an endpoint. This is the description of a request that is sent to subscribed webhooks upon cardholder creation or update.
744
+ * @summary Outgoing cardholder event webhook endpoint
745
+ * @param {CardholderEvent} cardholderEvent Cardholder event
746
+ * @param {*} [options] Override http request option.
747
+ * @throws {RequiredError}
748
+ */
749
+ cardholderEvent: (cardholderEvent_1, ...args_1) => __awaiter(this, [cardholderEvent_1, ...args_1], void 0, function* (cardholderEvent, options = {}) {
750
+ // verify required parameter 'cardholderEvent' is not null or undefined
751
+ assertParamExists('cardholderEvent', 'cardholderEvent', cardholderEvent);
752
+ const localVarPath = `/cardholder`;
753
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
754
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
755
+ let baseOptions;
756
+ if (configuration) {
757
+ baseOptions = configuration.baseOptions;
758
+ }
759
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
760
+ const localVarHeaderParameter = {};
761
+ const localVarQueryParameter = {};
762
+ localVarHeaderParameter['Content-Type'] = 'application/json';
763
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
764
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
765
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
766
+ localVarRequestOptions.data = serializeDataIfNeeded(cardholderEvent, localVarRequestOptions, configuration);
767
+ return {
768
+ url: toPathString(localVarUrlObj),
769
+ options: localVarRequestOptions,
770
+ };
771
+ }),
772
+ /**
773
+ * This is not an endpoint. This is the description of a request that is sent to subscribed webhooks upon token creation or update.
774
+ * @summary Outgoing token event webhook endpoint
775
+ * @param {TokenEvent} tokenEvent Token event
776
+ * @param {*} [options] Override http request option.
777
+ * @throws {RequiredError}
778
+ */
779
+ tokenEvent: (tokenEvent_1, ...args_1) => __awaiter(this, [tokenEvent_1, ...args_1], void 0, function* (tokenEvent, options = {}) {
780
+ // verify required parameter 'tokenEvent' is not null or undefined
781
+ assertParamExists('tokenEvent', 'tokenEvent', tokenEvent);
782
+ const localVarPath = `/token`;
783
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
784
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
785
+ let baseOptions;
786
+ if (configuration) {
787
+ baseOptions = configuration.baseOptions;
788
+ }
789
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
790
+ const localVarHeaderParameter = {};
791
+ const localVarQueryParameter = {};
792
+ localVarHeaderParameter['Content-Type'] = 'application/json';
793
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
794
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
795
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
796
+ localVarRequestOptions.data = serializeDataIfNeeded(tokenEvent, localVarRequestOptions, configuration);
797
+ return {
798
+ url: toPathString(localVarUrlObj),
799
+ options: localVarRequestOptions,
800
+ };
801
+ }),
802
+ };
803
+ };
804
+ /**
805
+ * IssuerEventWebhooksApi - functional programming interface
806
+ * @export
807
+ */
808
+ export const IssuerEventWebhooksApiFp = function (configuration) {
809
+ const localVarAxiosParamCreator = IssuerEventWebhooksApiAxiosParamCreator(configuration);
810
+ return {
811
+ /**
812
+ * This is not an endpoint. This is the description of a request that is sent to subscribed webhooks upon card creation, update or closure.
813
+ * @summary Outgoing card event webhook endpoint
814
+ * @param {CardEvent} cardEvent Card event
815
+ * @param {*} [options] Override http request option.
816
+ * @throws {RequiredError}
817
+ */
818
+ cardEvent(cardEvent, options) {
819
+ return __awaiter(this, void 0, void 0, function* () {
820
+ var _a, _b, _c;
821
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.cardEvent(cardEvent, options);
822
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
823
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['IssuerEventWebhooksApi.cardEvent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
824
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
825
+ });
826
+ },
827
+ /**
828
+ * This is not an endpoint. This is the description of a request that is sent to subscribed webhooks upon cardholder creation or update.
829
+ * @summary Outgoing cardholder event webhook endpoint
830
+ * @param {CardholderEvent} cardholderEvent Cardholder event
831
+ * @param {*} [options] Override http request option.
832
+ * @throws {RequiredError}
833
+ */
834
+ cardholderEvent(cardholderEvent, options) {
835
+ return __awaiter(this, void 0, void 0, function* () {
836
+ var _a, _b, _c;
837
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.cardholderEvent(cardholderEvent, options);
838
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
839
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['IssuerEventWebhooksApi.cardholderEvent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
840
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
841
+ });
842
+ },
843
+ /**
844
+ * This is not an endpoint. This is the description of a request that is sent to subscribed webhooks upon token creation or update.
845
+ * @summary Outgoing token event webhook endpoint
846
+ * @param {TokenEvent} tokenEvent Token event
847
+ * @param {*} [options] Override http request option.
848
+ * @throws {RequiredError}
849
+ */
850
+ tokenEvent(tokenEvent, options) {
851
+ return __awaiter(this, void 0, void 0, function* () {
852
+ var _a, _b, _c;
853
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.tokenEvent(tokenEvent, options);
854
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
855
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['IssuerEventWebhooksApi.tokenEvent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
856
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
857
+ });
858
+ },
859
+ };
860
+ };
861
+ /**
862
+ * IssuerEventWebhooksApi - factory interface
863
+ * @export
864
+ */
865
+ export const IssuerEventWebhooksApiFactory = function (configuration, basePath, axios) {
866
+ const localVarFp = IssuerEventWebhooksApiFp(configuration);
867
+ return {
868
+ /**
869
+ * This is not an endpoint. This is the description of a request that is sent to subscribed webhooks upon card creation, update or closure.
870
+ * @summary Outgoing card event webhook endpoint
871
+ * @param {CardEvent} cardEvent Card event
872
+ * @param {*} [options] Override http request option.
873
+ * @throws {RequiredError}
874
+ */
875
+ cardEvent(cardEvent, options) {
876
+ return localVarFp.cardEvent(cardEvent, options).then((request) => request(axios, basePath));
877
+ },
878
+ /**
879
+ * This is not an endpoint. This is the description of a request that is sent to subscribed webhooks upon cardholder creation or update.
880
+ * @summary Outgoing cardholder event webhook endpoint
881
+ * @param {CardholderEvent} cardholderEvent Cardholder event
882
+ * @param {*} [options] Override http request option.
883
+ * @throws {RequiredError}
884
+ */
885
+ cardholderEvent(cardholderEvent, options) {
886
+ return localVarFp.cardholderEvent(cardholderEvent, options).then((request) => request(axios, basePath));
887
+ },
888
+ /**
889
+ * This is not an endpoint. This is the description of a request that is sent to subscribed webhooks upon token creation or update.
890
+ * @summary Outgoing token event webhook endpoint
891
+ * @param {TokenEvent} tokenEvent Token event
892
+ * @param {*} [options] Override http request option.
893
+ * @throws {RequiredError}
894
+ */
895
+ tokenEvent(tokenEvent, options) {
896
+ return localVarFp.tokenEvent(tokenEvent, options).then((request) => request(axios, basePath));
897
+ },
898
+ };
899
+ };
900
+ /**
901
+ * IssuerEventWebhooksApi - object-oriented interface
902
+ * @export
903
+ * @class IssuerEventWebhooksApi
904
+ * @extends {BaseAPI}
905
+ */
906
+ export class IssuerEventWebhooksApi extends BaseAPI {
907
+ /**
908
+ * This is not an endpoint. This is the description of a request that is sent to subscribed webhooks upon card creation, update or closure.
909
+ * @summary Outgoing card event webhook endpoint
910
+ * @param {CardEvent} cardEvent Card event
911
+ * @param {*} [options] Override http request option.
912
+ * @throws {RequiredError}
913
+ * @memberof IssuerEventWebhooksApi
914
+ */
915
+ cardEvent(cardEvent, options) {
916
+ return IssuerEventWebhooksApiFp(this.configuration).cardEvent(cardEvent, options).then((request) => request(this.axios, this.basePath));
917
+ }
918
+ /**
919
+ * This is not an endpoint. This is the description of a request that is sent to subscribed webhooks upon cardholder creation or update.
920
+ * @summary Outgoing cardholder event webhook endpoint
921
+ * @param {CardholderEvent} cardholderEvent Cardholder event
922
+ * @param {*} [options] Override http request option.
923
+ * @throws {RequiredError}
924
+ * @memberof IssuerEventWebhooksApi
925
+ */
926
+ cardholderEvent(cardholderEvent, options) {
927
+ return IssuerEventWebhooksApiFp(this.configuration).cardholderEvent(cardholderEvent, options).then((request) => request(this.axios, this.basePath));
928
+ }
929
+ /**
930
+ * This is not an endpoint. This is the description of a request that is sent to subscribed webhooks upon token creation or update.
931
+ * @summary Outgoing token event webhook endpoint
932
+ * @param {TokenEvent} tokenEvent Token event
933
+ * @param {*} [options] Override http request option.
934
+ * @throws {RequiredError}
935
+ * @memberof IssuerEventWebhooksApi
936
+ */
937
+ tokenEvent(tokenEvent, options) {
938
+ return IssuerEventWebhooksApiFp(this.configuration).tokenEvent(tokenEvent, options).then((request) => request(this.axios, this.basePath));
939
+ }
940
+ }