@enfuce/nextgen-sdk 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (221) hide show
  1. package/dist/authorisation-control/api.d.ts +0 -302
  2. package/dist/authorisation-control/api.js +10 -28
  3. package/dist/authorisation-control/base.d.ts +0 -24
  4. package/dist/authorisation-control/base.js +0 -19
  5. package/dist/authorisation-control/common.d.ts +4 -35
  6. package/dist/authorisation-control/common.js +16 -38
  7. package/dist/authorisation-control/configuration.d.ts +24 -17
  8. package/dist/authorisation-control/configuration.js +3 -3
  9. package/dist/card/api.d.ts +41 -740
  10. package/dist/card/api.js +38 -105
  11. package/dist/card/base.d.ts +0 -24
  12. package/dist/card/base.js +0 -19
  13. package/dist/card/common.d.ts +4 -35
  14. package/dist/card/common.js +16 -38
  15. package/dist/card/configuration.d.ts +24 -17
  16. package/dist/card/configuration.js +3 -3
  17. package/dist/cardholder/api.d.ts +959 -686
  18. package/dist/cardholder/api.js +783 -73
  19. package/dist/cardholder/base.d.ts +0 -24
  20. package/dist/cardholder/base.js +0 -19
  21. package/dist/cardholder/common.d.ts +4 -35
  22. package/dist/cardholder/common.js +16 -38
  23. package/dist/cardholder/configuration.d.ts +24 -17
  24. package/dist/cardholder/configuration.js +3 -3
  25. package/dist/cards/api.d.ts +0 -7
  26. package/dist/cards/api.js +2 -9
  27. package/dist/cards/base.d.ts +0 -24
  28. package/dist/cards/base.js +0 -19
  29. package/dist/cards/common.d.ts +4 -35
  30. package/dist/cards/common.js +16 -38
  31. package/dist/cards/configuration.d.ts +24 -17
  32. package/dist/cards/configuration.js +3 -3
  33. package/dist/clearing-file-copy/api.d.ts +0 -497
  34. package/dist/clearing-file-copy/api.js +12 -26
  35. package/dist/clearing-file-copy/base.d.ts +0 -24
  36. package/dist/clearing-file-copy/base.js +0 -19
  37. package/dist/clearing-file-copy/common.d.ts +4 -35
  38. package/dist/clearing-file-copy/common.js +16 -38
  39. package/dist/clearing-file-copy/configuration.d.ts +24 -17
  40. package/dist/clearing-file-copy/configuration.js +3 -3
  41. package/dist/esm/authorisation-control/api.d.ts +0 -302
  42. package/dist/esm/authorisation-control/api.js +10 -28
  43. package/dist/esm/authorisation-control/base.d.ts +0 -24
  44. package/dist/esm/authorisation-control/base.js +0 -19
  45. package/dist/esm/authorisation-control/common.d.ts +4 -35
  46. package/dist/esm/authorisation-control/common.js +14 -37
  47. package/dist/esm/authorisation-control/configuration.d.ts +24 -17
  48. package/dist/esm/authorisation-control/configuration.js +3 -3
  49. package/dist/esm/card/api.d.ts +41 -740
  50. package/dist/esm/card/api.js +38 -105
  51. package/dist/esm/card/base.d.ts +0 -24
  52. package/dist/esm/card/base.js +0 -19
  53. package/dist/esm/card/common.d.ts +4 -35
  54. package/dist/esm/card/common.js +14 -37
  55. package/dist/esm/card/configuration.d.ts +24 -17
  56. package/dist/esm/card/configuration.js +3 -3
  57. package/dist/esm/cardholder/api.d.ts +959 -686
  58. package/dist/esm/cardholder/api.js +782 -72
  59. package/dist/esm/cardholder/base.d.ts +0 -24
  60. package/dist/esm/cardholder/base.js +0 -19
  61. package/dist/esm/cardholder/common.d.ts +4 -35
  62. package/dist/esm/cardholder/common.js +14 -37
  63. package/dist/esm/cardholder/configuration.d.ts +24 -17
  64. package/dist/esm/cardholder/configuration.js +3 -3
  65. package/dist/esm/cards/api.d.ts +0 -7
  66. package/dist/esm/cards/api.js +2 -9
  67. package/dist/esm/cards/base.d.ts +0 -24
  68. package/dist/esm/cards/base.js +0 -19
  69. package/dist/esm/cards/common.d.ts +4 -35
  70. package/dist/esm/cards/common.js +14 -37
  71. package/dist/esm/cards/configuration.d.ts +24 -17
  72. package/dist/esm/cards/configuration.js +3 -3
  73. package/dist/esm/clearing-file-copy/api.d.ts +0 -497
  74. package/dist/esm/clearing-file-copy/api.js +12 -26
  75. package/dist/esm/clearing-file-copy/base.d.ts +0 -24
  76. package/dist/esm/clearing-file-copy/base.js +0 -19
  77. package/dist/esm/clearing-file-copy/common.d.ts +4 -35
  78. package/dist/esm/clearing-file-copy/common.js +14 -37
  79. package/dist/esm/clearing-file-copy/configuration.d.ts +24 -17
  80. package/dist/esm/clearing-file-copy/configuration.js +3 -3
  81. package/dist/esm/issuer-events/api.d.ts +639 -601
  82. package/dist/esm/issuer-events/api.js +520 -54
  83. package/dist/esm/issuer-events/base.d.ts +0 -24
  84. package/dist/esm/issuer-events/base.js +0 -19
  85. package/dist/esm/issuer-events/common.d.ts +4 -35
  86. package/dist/esm/issuer-events/common.js +14 -37
  87. package/dist/esm/issuer-events/configuration.d.ts +24 -17
  88. package/dist/esm/issuer-events/configuration.js +3 -3
  89. package/dist/esm/pin/api.d.ts +0 -76
  90. package/dist/esm/pin/api.js +3 -15
  91. package/dist/esm/pin/base.d.ts +0 -24
  92. package/dist/esm/pin/base.js +0 -19
  93. package/dist/esm/pin/common.d.ts +4 -35
  94. package/dist/esm/pin/common.js +14 -37
  95. package/dist/esm/pin/configuration.d.ts +24 -17
  96. package/dist/esm/pin/configuration.js +3 -3
  97. package/dist/esm/threeds/api.d.ts +0 -18
  98. package/dist/esm/threeds/api.js +1 -8
  99. package/dist/esm/threeds/base.d.ts +0 -24
  100. package/dist/esm/threeds/base.js +0 -19
  101. package/dist/esm/threeds/common.d.ts +4 -35
  102. package/dist/esm/threeds/common.js +14 -37
  103. package/dist/esm/threeds/configuration.d.ts +24 -17
  104. package/dist/esm/threeds/configuration.js +3 -3
  105. package/dist/esm/threeds-oob/api.d.ts +0 -90
  106. package/dist/esm/threeds-oob/api.js +2 -9
  107. package/dist/esm/threeds-oob/base.d.ts +0 -24
  108. package/dist/esm/threeds-oob/base.js +0 -19
  109. package/dist/esm/threeds-oob/common.d.ts +4 -35
  110. package/dist/esm/threeds-oob/common.js +14 -37
  111. package/dist/esm/threeds-oob/configuration.d.ts +24 -17
  112. package/dist/esm/threeds-oob/configuration.js +3 -3
  113. package/dist/esm/transaction-event/api.d.ts +0 -452
  114. package/dist/esm/transaction-event/api.js +11 -27
  115. package/dist/esm/transaction-event/base.d.ts +0 -24
  116. package/dist/esm/transaction-event/base.js +0 -19
  117. package/dist/esm/transaction-event/common.d.ts +4 -35
  118. package/dist/esm/transaction-event/common.js +14 -37
  119. package/dist/esm/transaction-event/configuration.d.ts +24 -17
  120. package/dist/esm/transaction-event/configuration.js +3 -3
  121. package/dist/esm/wallet/api.d.ts +0 -342
  122. package/dist/esm/wallet/api.js +29 -83
  123. package/dist/esm/wallet/base.d.ts +0 -24
  124. package/dist/esm/wallet/base.js +0 -19
  125. package/dist/esm/wallet/common.d.ts +4 -35
  126. package/dist/esm/wallet/common.js +14 -37
  127. package/dist/esm/wallet/configuration.d.ts +24 -17
  128. package/dist/esm/wallet/configuration.js +3 -3
  129. package/dist/issuer-events/api.d.ts +639 -601
  130. package/dist/issuer-events/api.js +521 -55
  131. package/dist/issuer-events/base.d.ts +0 -24
  132. package/dist/issuer-events/base.js +0 -19
  133. package/dist/issuer-events/common.d.ts +4 -35
  134. package/dist/issuer-events/common.js +16 -38
  135. package/dist/issuer-events/configuration.d.ts +24 -17
  136. package/dist/issuer-events/configuration.js +3 -3
  137. package/dist/pin/api.d.ts +0 -76
  138. package/dist/pin/api.js +3 -15
  139. package/dist/pin/base.d.ts +0 -24
  140. package/dist/pin/base.js +0 -19
  141. package/dist/pin/common.d.ts +4 -35
  142. package/dist/pin/common.js +16 -38
  143. package/dist/pin/configuration.d.ts +24 -17
  144. package/dist/pin/configuration.js +3 -3
  145. package/dist/threeds/api.d.ts +0 -18
  146. package/dist/threeds/api.js +1 -8
  147. package/dist/threeds/base.d.ts +0 -24
  148. package/dist/threeds/base.js +0 -19
  149. package/dist/threeds/common.d.ts +4 -35
  150. package/dist/threeds/common.js +16 -38
  151. package/dist/threeds/configuration.d.ts +24 -17
  152. package/dist/threeds/configuration.js +3 -3
  153. package/dist/threeds-oob/api.d.ts +0 -90
  154. package/dist/threeds-oob/api.js +2 -9
  155. package/dist/threeds-oob/base.d.ts +0 -24
  156. package/dist/threeds-oob/base.js +0 -19
  157. package/dist/threeds-oob/common.d.ts +4 -35
  158. package/dist/threeds-oob/common.js +16 -38
  159. package/dist/threeds-oob/configuration.d.ts +24 -17
  160. package/dist/threeds-oob/configuration.js +3 -3
  161. package/dist/transaction-event/api.d.ts +0 -452
  162. package/dist/transaction-event/api.js +11 -27
  163. package/dist/transaction-event/base.d.ts +0 -24
  164. package/dist/transaction-event/base.js +0 -19
  165. package/dist/transaction-event/common.d.ts +4 -35
  166. package/dist/transaction-event/common.js +16 -38
  167. package/dist/transaction-event/configuration.d.ts +24 -17
  168. package/dist/transaction-event/configuration.js +3 -3
  169. package/dist/wallet/api.d.ts +0 -342
  170. package/dist/wallet/api.js +29 -83
  171. package/dist/wallet/base.d.ts +0 -24
  172. package/dist/wallet/base.js +0 -19
  173. package/dist/wallet/common.d.ts +4 -35
  174. package/dist/wallet/common.js +16 -38
  175. package/dist/wallet/configuration.d.ts +24 -17
  176. package/dist/wallet/configuration.js +3 -3
  177. package/package.json +2 -2
  178. package/src/authorisation-control/api.ts +11 -314
  179. package/src/authorisation-control/base.ts +0 -24
  180. package/src/authorisation-control/common.ts +15 -38
  181. package/src/authorisation-control/configuration.ts +26 -20
  182. package/src/card/api.ts +80 -786
  183. package/src/card/base.ts +0 -24
  184. package/src/card/common.ts +15 -38
  185. package/src/card/configuration.ts +26 -20
  186. package/src/cardholder/api.ts +987 -714
  187. package/src/cardholder/base.ts +0 -24
  188. package/src/cardholder/common.ts +15 -38
  189. package/src/cardholder/configuration.ts +26 -20
  190. package/src/cards/api.ts +3 -11
  191. package/src/cards/base.ts +0 -24
  192. package/src/cards/common.ts +15 -38
  193. package/src/cards/configuration.ts +26 -20
  194. package/src/clearing-file-copy/api.ts +13 -510
  195. package/src/clearing-file-copy/base.ts +0 -24
  196. package/src/clearing-file-copy/common.ts +15 -38
  197. package/src/clearing-file-copy/configuration.ts +26 -20
  198. package/src/issuer-events/api.ts +661 -628
  199. package/src/issuer-events/base.ts +0 -24
  200. package/src/issuer-events/common.ts +15 -38
  201. package/src/issuer-events/configuration.ts +26 -20
  202. package/src/pin/api.ts +4 -83
  203. package/src/pin/base.ts +0 -24
  204. package/src/pin/common.ts +15 -38
  205. package/src/pin/configuration.ts +26 -20
  206. package/src/threeds/api.ts +2 -22
  207. package/src/threeds/base.ts +0 -24
  208. package/src/threeds/common.ts +15 -38
  209. package/src/threeds/configuration.ts +26 -20
  210. package/src/threeds-oob/api.ts +3 -95
  211. package/src/threeds-oob/base.ts +0 -24
  212. package/src/threeds-oob/common.ts +15 -38
  213. package/src/threeds-oob/configuration.ts +26 -20
  214. package/src/transaction-event/api.ts +12 -464
  215. package/src/transaction-event/base.ts +0 -24
  216. package/src/transaction-event/common.ts +15 -38
  217. package/src/transaction-event/configuration.ts +26 -20
  218. package/src/wallet/api.ts +30 -377
  219. package/src/wallet/base.ts +0 -24
  220. package/src/wallet/common.ts +15 -38
  221. package/src/wallet/configuration.ts +26 -20
package/src/card/api.ts CHANGED
@@ -18,112 +18,57 @@ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
18
18
  import globalAxios from 'axios';
19
19
  // Some imports not used depending on template conditions
20
20
  // @ts-ignore
21
- import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
21
+ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction, replaceWithSerializableTypeIfNeeded } from './common';
22
22
  import type { RequestArgs } from './base';
23
23
  // @ts-ignore
24
24
  import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';
25
25
 
26
- /**
27
- *
28
- * @export
29
- * @interface Address
30
- */
31
26
  export interface Address {
32
27
  /**
33
28
  * First line of address.
34
- * @type {string}
35
- * @memberof Address
36
29
  */
37
30
  'address1': string;
38
31
  /**
39
32
  * Second line of address. Any string without trailing or leading whitespaces, or an empty string.
40
- * @type {string}
41
- * @memberof Address
42
33
  */
43
34
  'address2'?: string;
44
35
  /**
45
36
  * Third line of address. Any string without trailing or leading whitespaces, or an empty string.
46
- * @type {string}
47
- * @memberof Address
48
37
  */
49
38
  'address3'?: string;
50
39
  /**
51
40
  * Fourth line of the address. Any string without trailing or leading whitespaces, or an empty string.
52
- * @type {string}
53
- * @memberof Address
54
41
  */
55
42
  'address4'?: string;
56
- /**
57
- *
58
- * @type {string}
59
- * @memberof Address
60
- */
61
43
  'city': string;
62
44
  /**
63
45
  * A valid ISO-3166-1 alpha-3 country code.
64
- * @type {string}
65
- * @memberof Address
66
46
  */
67
47
  'country': string;
68
- /**
69
- *
70
- * @type {string}
71
- * @memberof Address
72
- */
73
48
  'region'?: string;
74
- /**
75
- *
76
- * @type {string}
77
- * @memberof Address
78
- */
79
49
  'zipCode': string;
80
50
  }
81
- /**
82
- *
83
- * @export
84
- * @interface CardApplication
85
- */
86
51
  export interface CardApplication {
87
52
  /**
88
53
  * A unique code to identify the card configuration. Max character limit is 36.
89
- * @type {string}
90
- * @memberof CardApplication
91
54
  */
92
55
  'cardConfigurationCode': string;
93
- /**
94
- *
95
- * @type {CreatePinStatus}
96
- * @memberof CardApplication
97
- */
98
56
  'pinStatus'?: CreatePinStatus;
99
57
  /**
100
58
  * The account id that is connected to the card
101
- * @type {string}
102
- * @memberof CardApplication
103
59
  */
104
60
  'accountId': string;
105
61
  /**
106
62
  * The digital layout code for the card. Max character limit is 36.
107
- * @type {string}
108
- * @memberof CardApplication
109
63
  */
110
64
  'digitalLayoutCode'?: string;
111
- /**
112
- *
113
- * @type {MultiApplicationProperties}
114
- * @memberof CardApplication
115
- */
116
65
  'multiApplicationProperties'?: MultiApplicationProperties;
117
66
  /**
118
67
  * 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.
119
- * @type {{ [key: string]: string; }}
120
- * @memberof CardApplication
121
68
  */
122
69
  'additionalValues'?: { [key: string]: string; };
123
70
  /**
124
71
  * 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.
125
- * @type {string}
126
- * @memberof CardApplication
127
72
  */
128
73
  'feeConfigId'?: string;
129
74
  }
@@ -131,48 +76,33 @@ export interface CardApplication {
131
76
 
132
77
  /**
133
78
  * The type of card defined by this card configuration.
134
- * @export
135
- * @enum {string}
136
79
  */
137
80
 
138
81
  export const CardConfigurationType = {
139
82
  Debit: 'DEBIT',
140
83
  Credit: 'CREDIT',
141
- Combo: 'COMBO'
84
+ Combo: 'COMBO',
142
85
  } as const;
143
86
 
144
87
  export type CardConfigurationType = typeof CardConfigurationType[keyof typeof CardConfigurationType];
145
88
 
146
89
 
147
- /**
148
- *
149
- * @export
150
- * @interface CardDataControlTokenResponseBody
151
- */
152
90
  export interface CardDataControlTokenResponseBody {
153
91
  /**
154
92
  * The control token.
155
- * @type {string}
156
- * @memberof CardDataControlTokenResponseBody
157
93
  */
158
94
  'token': string;
159
95
  /**
160
96
  * The URL to call on mobile devices for accessing the card\'s data.
161
- * @type {string}
162
- * @memberof CardDataControlTokenResponseBody
163
97
  */
164
98
  'cardDataUrl'?: string;
165
99
  /**
166
100
  * The URL to open in iframe to access the card\'s data.
167
- * @type {string}
168
- * @memberof CardDataControlTokenResponseBody
169
101
  */
170
102
  'cardDataFrameUrl'?: string;
171
103
  }
172
104
  /**
173
105
  * 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.
174
- * @export
175
- * @enum {string}
176
106
  */
177
107
 
178
108
  export const CardDeliveryType = {
@@ -182,148 +112,78 @@ export const CardDeliveryType = {
182
112
  Custom2: 'CUSTOM_2',
183
113
  Custom3: 'CUSTOM_3',
184
114
  Custom4: 'CUSTOM_4',
185
- Custom5: 'CUSTOM_5'
115
+ Custom5: 'CUSTOM_5',
186
116
  } as const;
187
117
 
188
118
  export type CardDeliveryType = typeof CardDeliveryType[keyof typeof CardDeliveryType];
189
119
 
190
120
 
191
- /**
192
- *
193
- * @export
194
- * @interface CardResponse
195
- */
196
121
  export interface CardResponse {
197
122
  /**
198
123
  * Unique identifier of a card.
199
- * @type {string}
200
- * @memberof CardResponse
201
124
  */
202
125
  'id'?: string;
203
126
  /**
204
127
  * The date and time when the card was created.
205
- * @type {string}
206
- * @memberof CardResponse
207
128
  */
208
129
  'createdAt'?: string;
209
130
  /**
210
131
  * The date and time when the object/entity was updated last time.
211
- * @type {string}
212
- * @memberof CardResponse
213
132
  */
214
133
  'updatedAt'?: string;
215
134
  /**
216
135
  * The program ID associated with the card.
217
- * @type {string}
218
- * @memberof CardResponse
219
136
  */
220
137
  'programId'?: string;
221
138
  /**
222
139
  * Unique identifier of the cardholder associated with the card.
223
- * @type {string}
224
- * @memberof CardResponse
225
140
  */
226
141
  'cardholderId'?: string;
227
142
  /**
228
143
  * Unique identifier of the account associated with the card.
229
- * @type {string}
230
- * @memberof CardResponse
231
144
  */
232
145
  'accountId'?: string;
233
- /**
234
- *
235
- * @type {Plastic}
236
- * @memberof CardResponse
237
- */
238
146
  'plastic'?: Plastic;
239
147
  /**
240
148
  * Card versions ordered by sequence number ascending.
241
- * @type {Array<CardVersion>}
242
- * @memberof CardResponse
243
149
  */
244
150
  'cardVersions'?: Array<CardVersion>;
245
- /**
246
- *
247
- * @type {CardRole}
248
- * @memberof CardResponse
249
- */
250
151
  'role'?: CardRole;
251
152
  /**
252
153
  * Unique identifier of the main card. Populated if this card is part of a card application
253
- * @type {string}
254
- * @memberof CardResponse
255
154
  */
256
155
  'mainCardId'?: string;
257
156
  /**
258
157
  * A unique code to identify the card configuration. Max character limit is 36.
259
- * @type {string}
260
- * @memberof CardResponse
261
158
  */
262
159
  'cardConfigurationCode'?: string;
263
- /**
264
- *
265
- * @type {CardConfigurationType}
266
- * @memberof CardResponse
267
- */
268
160
  'cardConfigurationType'?: CardConfigurationType;
269
- /**
270
- *
271
- * @type {CardScheme}
272
- * @memberof CardResponse
273
- */
274
161
  'cardScheme'?: CardScheme;
275
162
  /**
276
163
  * A masked version of the primary account number
277
- * @type {string}
278
- * @memberof CardResponse
279
164
  */
280
165
  'maskedPan'?: string;
281
- /**
282
- *
283
- * @type {PinStatus}
284
- * @memberof CardResponse
285
- */
286
166
  'pinStatus'?: PinStatus;
287
- /**
288
- *
289
- * @type {CardStatus}
290
- * @memberof CardResponse
291
- */
292
167
  'cardStatus'?: CardStatus;
293
168
  /**
294
169
  * A flag indicating whether automatic renewal is enabled or not.
295
- * @type {boolean}
296
- * @memberof CardResponse
297
170
  */
298
171
  'automaticRenewal'?: boolean;
299
172
  /**
300
173
  * The digital layout code for the card. Max character limit is 36.
301
- * @type {string}
302
- * @memberof CardResponse
303
174
  */
304
175
  'digitalLayoutCode'?: string;
305
- /**
306
- *
307
- * @type {MultiApplicationProperties}
308
- * @memberof CardResponse
309
- */
310
176
  'multiApplicationProperties'?: MultiApplicationProperties;
311
177
  /**
312
178
  * The version number of the entity.
313
- * @type {number}
314
- * @memberof CardResponse
315
179
  */
316
180
  'updateCount'?: number;
317
181
  /**
318
182
  * 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.
319
- * @type {{ [key: string]: string; }}
320
- * @memberof CardResponse
321
183
  */
322
184
  'additionalValues'?: { [key: string]: string; };
323
185
  /**
324
186
  * 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.
325
- * @type {string}
326
- * @memberof CardResponse
327
187
  */
328
188
  'feeConfigId'?: string | null;
329
189
  }
@@ -331,27 +191,20 @@ export interface CardResponse {
331
191
 
332
192
  /**
333
193
  * 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.
334
- * @export
335
- * @enum {string}
336
194
  */
337
195
 
338
196
  export const CardRole = {
339
197
  MainCard: 'MAIN_CARD',
340
- CardApplication: 'CARD_APPLICATION'
198
+ CardApplication: 'CARD_APPLICATION',
341
199
  } as const;
342
200
 
343
201
  export type CardRole = typeof CardRole[keyof typeof CardRole];
344
202
 
345
203
 
346
- /**
347
- *
348
- * @export
349
- * @enum {string}
350
- */
351
204
 
352
205
  export const CardScheme = {
353
206
  Mastercard: 'MASTERCARD',
354
- Visa: 'VISA'
207
+ Visa: 'VISA',
355
208
  } as const;
356
209
 
357
210
  export type CardScheme = typeof CardScheme[keyof typeof CardScheme];
@@ -359,8 +212,6 @@ export type CardScheme = typeof CardScheme[keyof typeof CardScheme];
359
212
 
360
213
  /**
361
214
  * - 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.
362
- * @export
363
- * @enum {string}
364
215
  */
365
216
 
366
217
  export const CardStatus = {
@@ -371,58 +222,36 @@ export const CardStatus = {
371
222
  ClosedLost: 'CLOSED_LOST',
372
223
  ClosedStolen: 'CLOSED_STOLEN',
373
224
  Closed: 'CLOSED',
374
- ClosedExpired: 'CLOSED_EXPIRED'
225
+ ClosedExpired: 'CLOSED_EXPIRED',
375
226
  } as const;
376
227
 
377
228
  export type CardStatus = typeof CardStatus[keyof typeof CardStatus];
378
229
 
379
230
 
380
- /**
381
- *
382
- * @export
383
- * @interface CardVersion
384
- */
385
231
  export interface CardVersion {
386
- /**
387
- *
388
- * @type {CardVersionStatus}
389
- * @memberof CardVersion
390
- */
391
232
  'status'?: CardVersionStatus;
392
233
  /**
393
234
  * The expiration date-time of the card in UTC format. The time must be a value in te future.
394
- * @type {string}
395
- * @memberof CardVersion
396
235
  */
397
236
  'expirationTime'?: string;
398
237
  /**
399
238
  * The date when the auto renewal occurs.
400
- * @type {string}
401
- * @memberof CardVersion
402
239
  */
403
240
  'renewalDate'?: string;
404
241
  /**
405
242
  * The sequence number of the card version, this value is also known as PSN (pan sequence number)
406
- * @type {number}
407
- * @memberof CardVersion
408
243
  */
409
244
  'sequenceNumber'?: number;
410
245
  /**
411
246
  * The id of the key set used by this card version
412
- * @type {string}
413
- * @memberof CardVersion
414
247
  */
415
248
  'keySetId'?: string;
416
249
  /**
417
250
  * The date and time when the card was created.
418
- * @type {string}
419
- * @memberof CardVersion
420
251
  */
421
252
  'createdAt'?: string;
422
253
  /**
423
254
  * The date and time when the object/entity was updated last time.
424
- * @type {string}
425
- * @memberof CardVersion
426
255
  */
427
256
  'updatedAt'?: string;
428
257
  }
@@ -430,14 +259,12 @@ export interface CardVersion {
430
259
 
431
260
  /**
432
261
  * - 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.
433
- * @export
434
- * @enum {string}
435
262
  */
436
263
 
437
264
  export const CardVersionStatus = {
438
265
  Active: 'ACTIVE',
439
266
  Initial: 'INITIAL',
440
- Closed: 'CLOSED'
267
+ Closed: 'CLOSED',
441
268
  } as const;
442
269
 
443
270
  export type CardVersionStatus = typeof CardVersionStatus[keyof typeof CardVersionStatus];
@@ -445,107 +272,64 @@ export type CardVersionStatus = typeof CardVersionStatus[keyof typeof CardVersio
445
272
 
446
273
  /**
447
274
  * - GENERATED - A pin should be randomly generated for the card. - WAITING - A pin is waiting to be set on the card.
448
- * @export
449
- * @enum {string}
450
275
  */
451
276
 
452
277
  export const ChangePinStatus = {
453
278
  Generated: 'GENERATED',
454
- Waiting: 'WAITING'
279
+ Waiting: 'WAITING',
455
280
  } as const;
456
281
 
457
282
  export type ChangePinStatus = typeof ChangePinStatus[keyof typeof ChangePinStatus];
458
283
 
459
284
 
460
- /**
461
- *
462
- * @export
463
- * @interface ControlTokenRequestBody
464
- */
465
285
  export interface ControlTokenRequestBody {
466
286
  /**
467
287
  * The sequence number of the card version to use. If not specified, the latest card version is used by default. Only card versions not in CLOSED status are allowed.
468
- * @type {number}
469
- * @memberof ControlTokenRequestBody
470
288
  */
471
289
  'sequenceNumber'?: number;
472
290
  }
473
291
  /**
474
292
  * @type CreateCard201Response
475
- * @export
476
293
  */
477
294
  export type CreateCard201Response = CardResponse | CreateMultiApplicationCardResponse;
478
295
 
479
- /**
480
- *
481
- * @export
482
- * @interface CreateCardBody
483
- */
484
296
  export interface CreateCardBody {
485
297
  /**
486
298
  * The program id that you want to associate with the new card you are creating.
487
- * @type {string}
488
- * @memberof CreateCardBody
489
299
  */
490
300
  'programId': string;
491
301
  /**
492
302
  * A unique code to identify the card configuration. Max character limit is 36.
493
- * @type {string}
494
- * @memberof CreateCardBody
495
303
  */
496
304
  'cardConfigurationCode': string;
497
- /**
498
- *
499
- * @type {CreatePinStatus}
500
- * @memberof CreateCardBody
501
- */
502
305
  'pinStatus'?: CreatePinStatus;
503
306
  /**
504
307
  * Unique identifier of the cardholder associated with the new card.
505
- * @type {string}
506
- * @memberof CreateCardBody
507
308
  */
508
309
  'cardholderId'?: string;
509
310
  /**
510
311
  * The expiration date-time of the card in UTC format. The time must be a value in te future.
511
- * @type {string}
512
- * @memberof CreateCardBody
513
312
  */
514
313
  'expirationTime'?: string;
515
314
  /**
516
315
  * Unique identifier of the account associated with the new card.
517
- * @type {string}
518
- * @memberof CreateCardBody
519
316
  */
520
317
  'accountId': string;
521
- /**
522
- *
523
- * @type {CreatePlasticBody}
524
- * @memberof CreateCardBody
525
- */
526
318
  'plastic'?: CreatePlasticBody;
527
319
  /**
528
320
  * A flag indicating whether automatic renewal is enabled or not.
529
- * @type {boolean}
530
- * @memberof CreateCardBody
531
321
  */
532
322
  'automaticRenewal'?: boolean;
533
323
  /**
534
324
  * The digital layout code for the card. Max character limit is 36.
535
- * @type {string}
536
- * @memberof CreateCardBody
537
325
  */
538
326
  'digitalLayoutCode'?: string;
539
327
  /**
540
328
  * 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.
541
- * @type {{ [key: string]: string; }}
542
- * @memberof CreateCardBody
543
329
  */
544
330
  'additionalValues'?: { [key: string]: string; };
545
331
  /**
546
332
  * 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.
547
- * @type {string}
548
- * @memberof CreateCardBody
549
333
  */
550
334
  'feeConfigId'?: string;
551
335
  }
@@ -553,445 +337,238 @@ export interface CreateCardBody {
553
337
 
554
338
  /**
555
339
  * @type CreateCardRequest
556
- * @export
557
340
  */
558
341
  export type CreateCardRequest = CreateCardBody | CreateMultiApplicationCardBody;
559
342
 
560
- /**
561
- *
562
- * @export
563
- * @interface CreateMultiApplicationCardBody
564
- */
565
343
  export interface CreateMultiApplicationCardBody {
344
+ 'mainCard': CreateMultiApplicationCardBodyMainCard;
345
+ 'cardApplications': Array<CardApplication>;
346
+ }
347
+ export interface CreateMultiApplicationCardBodyMainCard {
566
348
  /**
567
- *
568
- * @type {MainCard}
569
- * @memberof CreateMultiApplicationCardBody
349
+ * The program id that you want to associate with the new card you are creating.
570
350
  */
571
- 'mainCard': MainCard;
351
+ 'programId': string;
572
352
  /**
573
- *
574
- * @type {Array<CardApplication>}
575
- * @memberof CreateMultiApplicationCardBody
353
+ * A unique code to identify the card configuration. Max character limit is 36.
576
354
  */
577
- 'cardApplications': Array<CardApplication>;
355
+ 'cardConfigurationCode': string;
356
+ 'pinStatus'?: CreatePinStatus;
357
+ /**
358
+ * Unique identifier of the cardholder associated with the new card.
359
+ */
360
+ 'cardholderId'?: string;
361
+ /**
362
+ * The expiration date-time of the card in UTC format. The time must be a value in te future.
363
+ */
364
+ 'expirationTime'?: string;
365
+ /**
366
+ * Unique identifier of the account associated with the new card.
367
+ */
368
+ 'accountId': string;
369
+ 'plastic'?: CreatePlasticBody;
370
+ /**
371
+ * A flag indicating whether automatic renewal is enabled or not.
372
+ */
373
+ 'automaticRenewal'?: boolean;
374
+ /**
375
+ * The digital layout code for the card. Max character limit is 36.
376
+ */
377
+ 'digitalLayoutCode'?: string;
378
+ /**
379
+ * 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.
380
+ */
381
+ 'additionalValues'?: { [key: string]: string; };
382
+ /**
383
+ * 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.
384
+ */
385
+ 'feeConfigId'?: string;
386
+ 'multiApplicationProperties'?: MultiApplicationProperties;
578
387
  }
579
- /**
580
- *
581
- * @export
582
- * @interface CreateMultiApplicationCardResponse
583
- */
388
+
389
+
584
390
  export interface CreateMultiApplicationCardResponse {
585
391
  /**
586
392
  * Unique identifier of a card.
587
- * @type {string}
588
- * @memberof CreateMultiApplicationCardResponse
589
393
  */
590
394
  'id'?: string;
591
395
  /**
592
396
  * The date and time when the card was created.
593
- * @type {string}
594
- * @memberof CreateMultiApplicationCardResponse
595
397
  */
596
398
  'createdAt'?: string;
597
399
  /**
598
400
  * The date and time when the object/entity was updated last time.
599
- * @type {string}
600
- * @memberof CreateMultiApplicationCardResponse
601
401
  */
602
402
  'updatedAt'?: string;
603
403
  /**
604
404
  * The program ID associated with the card.
605
- * @type {string}
606
- * @memberof CreateMultiApplicationCardResponse
607
405
  */
608
406
  'programId'?: string;
609
407
  /**
610
408
  * Unique identifier of the cardholder associated with the card.
611
- * @type {string}
612
- * @memberof CreateMultiApplicationCardResponse
613
409
  */
614
410
  'cardholderId'?: string;
615
411
  /**
616
412
  * Unique identifier of the account associated with the card.
617
- * @type {string}
618
- * @memberof CreateMultiApplicationCardResponse
619
413
  */
620
414
  'accountId'?: string;
621
- /**
622
- *
623
- * @type {Plastic}
624
- * @memberof CreateMultiApplicationCardResponse
625
- */
626
415
  'plastic'?: Plastic;
627
416
  /**
628
417
  * Card versions ordered by sequence number ascending.
629
- * @type {Array<CardVersion>}
630
- * @memberof CreateMultiApplicationCardResponse
631
418
  */
632
419
  'cardVersions'?: Array<CardVersion>;
633
- /**
634
- *
635
- * @type {CardRole}
636
- * @memberof CreateMultiApplicationCardResponse
637
- */
638
420
  'role'?: CardRole;
639
421
  /**
640
422
  * Unique identifier of the main card. Populated if this card is part of a card application
641
- * @type {string}
642
- * @memberof CreateMultiApplicationCardResponse
643
423
  */
644
424
  'mainCardId'?: string;
645
425
  /**
646
426
  * A unique code to identify the card configuration. Max character limit is 36.
647
- * @type {string}
648
- * @memberof CreateMultiApplicationCardResponse
649
427
  */
650
428
  'cardConfigurationCode'?: string;
651
- /**
652
- *
653
- * @type {CardConfigurationType}
654
- * @memberof CreateMultiApplicationCardResponse
655
- */
656
429
  'cardConfigurationType'?: CardConfigurationType;
657
- /**
658
- *
659
- * @type {CardScheme}
660
- * @memberof CreateMultiApplicationCardResponse
661
- */
662
430
  'cardScheme'?: CardScheme;
663
431
  /**
664
432
  * A masked version of the primary account number
665
- * @type {string}
666
- * @memberof CreateMultiApplicationCardResponse
667
433
  */
668
434
  'maskedPan'?: string;
669
- /**
670
- *
671
- * @type {PinStatus}
672
- * @memberof CreateMultiApplicationCardResponse
673
- */
674
435
  'pinStatus'?: PinStatus;
675
- /**
676
- *
677
- * @type {CardStatus}
678
- * @memberof CreateMultiApplicationCardResponse
679
- */
680
436
  'cardStatus'?: CardStatus;
681
437
  /**
682
438
  * A flag indicating whether automatic renewal is enabled or not.
683
- * @type {boolean}
684
- * @memberof CreateMultiApplicationCardResponse
685
439
  */
686
440
  'automaticRenewal'?: boolean;
687
441
  /**
688
442
  * The digital layout code for the card. Max character limit is 36.
689
- * @type {string}
690
- * @memberof CreateMultiApplicationCardResponse
691
443
  */
692
444
  'digitalLayoutCode'?: string;
693
- /**
694
- *
695
- * @type {MultiApplicationProperties}
696
- * @memberof CreateMultiApplicationCardResponse
697
- */
698
445
  'multiApplicationProperties'?: MultiApplicationProperties;
699
446
  /**
700
447
  * The version number of the entity.
701
- * @type {number}
702
- * @memberof CreateMultiApplicationCardResponse
703
448
  */
704
449
  'updateCount'?: number;
705
450
  /**
706
451
  * 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.
707
- * @type {{ [key: string]: string; }}
708
- * @memberof CreateMultiApplicationCardResponse
709
452
  */
710
453
  'additionalValues'?: { [key: string]: string; };
711
454
  /**
712
455
  * 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.
713
- * @type {string}
714
- * @memberof CreateMultiApplicationCardResponse
715
456
  */
716
457
  'feeConfigId'?: string | null;
717
- /**
718
- *
719
- * @type {Array<CardResponse>}
720
- * @memberof CreateMultiApplicationCardResponse
721
- */
722
458
  'cardApplications'?: Array<CardResponse>;
723
459
  }
724
460
 
725
461
 
726
462
  /**
727
463
  * - GENERATED - This endpoint request would generate a random PIN for the new card. - WAITING - The card PIN would be set later.
728
- * @export
729
- * @enum {string}
730
464
  */
731
465
 
732
466
  export const CreatePinStatus = {
733
467
  Generated: 'GENERATED',
734
- Waiting: 'WAITING'
468
+ Waiting: 'WAITING',
735
469
  } as const;
736
470
 
737
471
  export type CreatePinStatus = typeof CreatePinStatus[keyof typeof CreatePinStatus];
738
472
 
739
473
 
740
- /**
741
- *
742
- * @export
743
- * @interface CreatePlasticBody
744
- */
745
474
  export interface CreatePlasticBody {
746
475
  /**
747
476
  * The name to be embossed on the card. Max character limit is 26.
748
- * @type {string}
749
- * @memberof CreatePlasticBody
750
477
  */
751
478
  'embossingName'?: string;
752
- /**
753
- *
754
- * @type {Address}
755
- * @memberof CreatePlasticBody
756
- */
757
479
  'preferredCardAddress'?: Address;
758
- /**
759
- *
760
- * @type {CardDeliveryType}
761
- * @memberof CreatePlasticBody
762
- */
763
480
  'preferredCardDeliveryType'?: CardDeliveryType;
764
- /**
765
- *
766
- * @type {Address}
767
- * @memberof CreatePlasticBody
768
- */
769
481
  'preferredPinAddress'?: Address;
770
- /**
771
- *
772
- * @type {PinDeliveryType}
773
- * @memberof CreatePlasticBody
774
- */
775
482
  'preferredPinDeliveryType'?: PinDeliveryType;
776
483
  /**
777
484
  * 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.
778
- * @type {string}
779
- * @memberof CreatePlasticBody
780
485
  */
781
486
  'externalLayoutCode'?: string;
782
487
  /**
783
488
  * The manufacturer id to use for this specific plastic if it deviates from the default manufacturer configured on the program
784
- * @type {string}
785
- * @memberof CreatePlasticBody
786
489
  */
787
490
  'manufacturerId'?: string;
788
491
  }
789
492
 
790
493
 
791
- /**
792
- *
793
- * @export
794
- * @interface EncryptCardPaymentInfoRequestBody
795
- */
796
494
  export interface EncryptCardPaymentInfoRequestBody {
797
495
  /**
798
496
  * Public key used to encrypt the fields in the result.
799
- * @type {string}
800
- * @memberof EncryptCardPaymentInfoRequestBody
801
497
  */
802
498
  'encryptionKey': string;
803
499
  /**
804
500
  * In this field the encryption method is selected. This is to prepared for future use since only one method is now supported.
805
- * @type {string}
806
- * @memberof EncryptCardPaymentInfoRequestBody
807
501
  */
808
502
  'encryptionMethod': EncryptCardPaymentInfoRequestBodyEncryptionMethodEnum;
809
503
  /**
810
504
  * In this field you can include the parameters that you want to be returned in an encrypted way. If a field is not listed, it will be left out from the response. Note that only primaryAccountNumber and CVV2 will be encrypted.
811
- * @type {Array<string>}
812
- * @memberof EncryptCardPaymentInfoRequestBody
813
505
  */
814
506
  'fields': Array<EncryptCardPaymentInfoRequestBodyFieldsEnum>;
815
507
  /**
816
508
  * The sequence number of the card version to use. If not specified, the latest card version is used by default.
817
- * @type {number}
818
- * @memberof EncryptCardPaymentInfoRequestBody
819
509
  */
820
510
  'sequenceNumber'?: number;
821
511
  }
822
512
 
823
513
  export const EncryptCardPaymentInfoRequestBodyEncryptionMethodEnum = {
824
- RsaEcbOaepSha256Mgf12048: 'RSA_ECB_OAEP_SHA256_MGF1_2048'
514
+ RsaEcbOaepSha256Mgf12048: 'RSA_ECB_OAEP_SHA256_MGF1_2048',
825
515
  } as const;
826
516
 
827
517
  export type EncryptCardPaymentInfoRequestBodyEncryptionMethodEnum = typeof EncryptCardPaymentInfoRequestBodyEncryptionMethodEnum[keyof typeof EncryptCardPaymentInfoRequestBodyEncryptionMethodEnum];
828
518
  export const EncryptCardPaymentInfoRequestBodyFieldsEnum = {
829
519
  PrimaryAccountNumber: 'PRIMARY_ACCOUNT_NUMBER',
830
520
  ExpirationDate: 'EXPIRATION_DATE',
831
- Cvv2: 'CVV2'
521
+ Cvv2: 'CVV2',
832
522
  } as const;
833
523
 
834
524
  export type EncryptCardPaymentInfoRequestBodyFieldsEnum = typeof EncryptCardPaymentInfoRequestBodyFieldsEnum[keyof typeof EncryptCardPaymentInfoRequestBodyFieldsEnum];
835
525
 
836
- /**
837
- *
838
- * @export
839
- * @interface EncryptCardPaymentInfoResponseBody
840
- */
841
526
  export interface EncryptCardPaymentInfoResponseBody {
842
527
  /**
843
528
  * The encrypted full card number (PAN) — Base64 encoded.
844
- * @type {string}
845
- * @memberof EncryptCardPaymentInfoResponseBody
846
529
  */
847
530
  'primaryAccountNumber': string;
848
531
  /**
849
532
  * The expiration date of the card in MMYY format.
850
- * @type {string}
851
- * @memberof EncryptCardPaymentInfoResponseBody
852
533
  */
853
534
  'expirationDate': string;
854
535
  /**
855
536
  * The encrypted CVV2 (for Visa) or CVC2 (for Mastercard) value — Base64 encoded.
856
- * @type {string}
857
- * @memberof EncryptCardPaymentInfoResponseBody
858
537
  */
859
538
  'cvv2': string;
860
539
  }
861
- /**
862
- *
863
- * @export
864
- * @interface ErrorResponse
865
- */
866
540
  export interface ErrorResponse {
867
541
  /**
868
542
  * The problem type.
869
- * @type {string}
870
- * @memberof ErrorResponse
871
543
  */
872
544
  'type'?: string;
873
545
  /**
874
546
  * The reason phrase of HttpStatus.
875
- * @type {string}
876
- * @memberof ErrorResponse
877
547
  */
878
548
  'title'?: string;
879
549
  /**
880
550
  * HTTP problem status.
881
- * @type {number}
882
- * @memberof ErrorResponse
883
551
  */
884
552
  'status'?: number;
885
553
  /**
886
554
  * The problem detail.
887
- * @type {string}
888
- * @memberof ErrorResponse
889
555
  */
890
556
  'detail'?: string;
891
557
  /**
892
558
  * The request path.
893
- * @type {string}
894
- * @memberof ErrorResponse
895
559
  */
896
560
  'instance'?: string;
897
561
  /**
898
562
  * Unique error identifier.
899
- * @type {string}
900
- * @memberof ErrorResponse
901
563
  */
902
564
  'id'?: string;
903
565
  /**
904
566
  * Date-time when error occurred.
905
- * @type {string}
906
- * @memberof ErrorResponse
907
567
  */
908
568
  'timestamp'?: string;
909
569
  }
910
- /**
911
- *
912
- * @export
913
- * @interface MainCard
914
- */
915
- export interface MainCard {
916
- /**
917
- *
918
- * @type {MultiApplicationProperties}
919
- * @memberof MainCard
920
- */
921
- 'multiApplicationProperties'?: MultiApplicationProperties;
922
- /**
923
- * The program id that you want to associate with the new card you are creating.
924
- * @type {string}
925
- * @memberof MainCard
926
- */
927
- 'programId': string;
928
- /**
929
- * A unique code to identify the card configuration. Max character limit is 36.
930
- * @type {string}
931
- * @memberof MainCard
932
- */
933
- 'cardConfigurationCode': string;
934
- /**
935
- *
936
- * @type {CreatePinStatus}
937
- * @memberof MainCard
938
- */
939
- 'pinStatus'?: CreatePinStatus;
940
- /**
941
- * Unique identifier of the cardholder associated with the new card.
942
- * @type {string}
943
- * @memberof MainCard
944
- */
945
- 'cardholderId'?: string;
946
- /**
947
- * The expiration date-time of the card in UTC format. The time must be a value in te future.
948
- * @type {string}
949
- * @memberof MainCard
950
- */
951
- 'expirationTime'?: string;
952
- /**
953
- * Unique identifier of the account associated with the new card.
954
- * @type {string}
955
- * @memberof MainCard
956
- */
957
- 'accountId': string;
958
- /**
959
- *
960
- * @type {CreatePlasticBody}
961
- * @memberof MainCard
962
- */
963
- 'plastic'?: CreatePlasticBody;
964
- /**
965
- * A flag indicating whether automatic renewal is enabled or not.
966
- * @type {boolean}
967
- * @memberof MainCard
968
- */
969
- 'automaticRenewal'?: boolean;
970
- /**
971
- * The digital layout code for the card. Max character limit is 36.
972
- * @type {string}
973
- * @memberof MainCard
974
- */
975
- 'digitalLayoutCode'?: string;
976
- /**
977
- * 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.
978
- * @type {{ [key: string]: string; }}
979
- * @memberof MainCard
980
- */
981
- 'additionalValues'?: { [key: string]: string; };
982
- /**
983
- * 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.
984
- * @type {string}
985
- * @memberof MainCard
986
- */
987
- 'feeConfigId'?: string;
988
- }
989
-
990
-
991
570
  /**
992
571
  * Reason for manufacturing the card.
993
- * @export
994
- * @enum {string}
995
572
  */
996
573
 
997
574
  export const ManufacturingReason = {
@@ -999,7 +576,7 @@ export const ManufacturingReason = {
999
576
  ReplaceCard: 'REPLACE_CARD',
1000
577
  ReissueCard: 'REISSUE_CARD',
1001
578
  ReorderPin: 'REORDER_PIN',
1002
- RenewCard: 'RENEW_CARD'
579
+ RenewCard: 'RENEW_CARD',
1003
580
  } as const;
1004
581
 
1005
582
  export type ManufacturingReason = typeof ManufacturingReason[keyof typeof ManufacturingReason];
@@ -1007,119 +584,75 @@ export type ManufacturingReason = typeof ManufacturingReason[keyof typeof Manufa
1007
584
 
1008
585
  /**
1009
586
  * - AWAITING_CRYPTO_VALUES - The card is created and is awaiting to receive cryptographic values before being sent to the card manufacturer. - CRYPTO_VALUES_PROCESSED - The card is awaiting to be included in the next embossing file. - SENT_TO_MANUFACTURER - The card has been successfully processed and sent to the manufacturer. - MANUFACTURING_ABORTED - The manufacturing process is aborted.
1010
- * @export
1011
- * @enum {string}
1012
587
  */
1013
588
 
1014
589
  export const ManufacturingStatus = {
1015
590
  AwaitingCryptoValues: 'AWAITING_CRYPTO_VALUES',
1016
591
  CryptoValuesProcessed: 'CRYPTO_VALUES_PROCESSED',
1017
592
  SentToManufacturer: 'SENT_TO_MANUFACTURER',
1018
- ManufacturingAborted: 'MANUFACTURING_ABORTED'
593
+ ManufacturingAborted: 'MANUFACTURING_ABORTED',
1019
594
  } as const;
1020
595
 
1021
596
  export type ManufacturingStatus = typeof ManufacturingStatus[keyof typeof ManufacturingStatus];
1022
597
 
1023
598
 
1024
- /**
1025
- *
1026
- * @export
1027
- * @interface MultiApplicationProperties
1028
- */
1029
599
  export interface MultiApplicationProperties {
1030
600
  /**
1031
601
  * Name of the application. Max character limit is 16. Only applicable to multi-application cards. Otherwise, the request will return 400 Bad Request.
1032
- * @type {string}
1033
- * @memberof MultiApplicationProperties
1034
602
  */
1035
603
  'applicationName'?: string;
1036
604
  /**
1037
605
  * The index of the application
1038
- * @type {number}
1039
- * @memberof MultiApplicationProperties
1040
606
  */
1041
607
  'applicationIndex'?: number;
1042
608
  /**
1043
609
  * The contact priority level for given card. Only applicable to multi-application cards. Otherwise, the request will return 400 Bad Request.
1044
- * @type {number}
1045
- * @memberof MultiApplicationProperties
1046
610
  */
1047
611
  'contactPriorityLevel'?: number;
1048
612
  /**
1049
613
  * The contactless priority level of the given card. Only applicable to multi-application cards. Otherwise, the request will return 400 Bad Request.
1050
- * @type {number}
1051
- * @memberof MultiApplicationProperties
1052
614
  */
1053
615
  'contactlessPriorityLevel'?: number;
1054
616
  /**
1055
617
  * Indicates whether the specific card would be printed or not. Only applicable to multi-application cards. Otherwise, the request will return 400 Bad Request.
1056
- * @type {boolean}
1057
- * @memberof MultiApplicationProperties
1058
618
  */
1059
619
  'printed'?: boolean;
1060
620
  /**
1061
621
  * 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.
1062
- * @type {boolean}
1063
- * @memberof MultiApplicationProperties
1064
622
  */
1065
623
  'chipEnabled'?: boolean;
1066
624
  }
1067
- /**
1068
- *
1069
- * @export
1070
- * @interface PinControlInfoRequestBody
1071
- */
1072
625
  export interface PinControlInfoRequestBody {
1073
- /**
1074
- *
1075
- * @type {PinScope}
1076
- * @memberof PinControlInfoRequestBody
1077
- */
1078
626
  'scope': PinScope;
1079
627
  /**
1080
628
  * The sequence number of the card version, this value is also known as PSN (pan sequence number)
1081
- * @type {number}
1082
- * @memberof PinControlInfoRequestBody
1083
629
  */
1084
630
  'sequenceNumber'?: number;
1085
631
  }
1086
632
 
1087
633
 
1088
- /**
1089
- *
1090
- * @export
1091
- * @interface PinControlInfoResponseBody
1092
- */
1093
634
  export interface PinControlInfoResponseBody {
1094
635
  /**
1095
636
  * The ID of this PIN Control access token.
1096
- * @type {string}
1097
- * @memberof PinControlInfoResponseBody
1098
637
  */
1099
638
  'id': string;
1100
639
  /**
1101
640
  * The URL that the cardholder\'s mobile device webview should browse to for accessing the PIN.
1102
- * @type {string}
1103
- * @memberof PinControlInfoResponseBody
1104
641
  */
1105
642
  'pinUrl'?: string;
1106
643
  /**
1107
644
  * The URL of the iframe for desktop browser based flows for accessing PIN.
1108
- * @type {string}
1109
- * @memberof PinControlInfoResponseBody
1110
645
  */
1111
646
  'pinFrameUrl'?: string;
1112
647
  }
1113
648
  /**
1114
649
  * 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.
1115
- * @export
1116
- * @enum {string}
1117
650
  */
1118
651
 
1119
652
  export const PinDeliveryType = {
1120
653
  Mail: 'MAIL',
1121
654
  Courier: 'COURIER',
1122
- Epin: 'EPIN'
655
+ Epin: 'EPIN',
1123
656
  } as const;
1124
657
 
1125
658
  export type PinDeliveryType = typeof PinDeliveryType[keyof typeof PinDeliveryType];
@@ -1127,14 +660,12 @@ export type PinDeliveryType = typeof PinDeliveryType[keyof typeof PinDeliveryTyp
1127
660
 
1128
661
  /**
1129
662
  * Describes the scope of the operation authorised by the user.
1130
- * @export
1131
- * @enum {string}
1132
663
  */
1133
664
 
1134
665
  export const PinScope = {
1135
666
  ViewPin: 'VIEW_PIN',
1136
667
  SetPin: 'SET_PIN',
1137
- ChangePin: 'CHANGE_PIN'
668
+ ChangePin: 'CHANGE_PIN',
1138
669
  } as const;
1139
670
 
1140
671
  export type PinScope = typeof PinScope[keyof typeof PinScope];
@@ -1142,302 +673,153 @@ export type PinScope = typeof PinScope[keyof typeof PinScope];
1142
673
 
1143
674
  /**
1144
675
  * - 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.
1145
- * @export
1146
- * @enum {string}
1147
676
  */
1148
677
 
1149
678
  export const PinStatus = {
1150
679
  Generated: 'GENERATED',
1151
680
  Waiting: 'WAITING',
1152
681
  Set: 'SET',
1153
- Inherited: 'INHERITED'
682
+ Inherited: 'INHERITED',
1154
683
  } as const;
1155
684
 
1156
685
  export type PinStatus = typeof PinStatus[keyof typeof PinStatus];
1157
686
 
1158
687
 
1159
- /**
1160
- *
1161
- * @export
1162
- * @interface Plastic
1163
- */
1164
688
  export interface Plastic {
1165
689
  /**
1166
690
  * The name to be embossed on the card. Max character limit is 26.
1167
- * @type {string}
1168
- * @memberof Plastic
1169
691
  */
1170
692
  'embossingName'?: string;
1171
- /**
1172
- *
1173
- * @type {Address}
1174
- * @memberof Plastic
1175
- */
1176
693
  'preferredCardAddress'?: Address;
1177
- /**
1178
- *
1179
- * @type {CardDeliveryType}
1180
- * @memberof Plastic
1181
- */
1182
694
  'preferredCardDeliveryType': CardDeliveryType;
1183
- /**
1184
- *
1185
- * @type {Address}
1186
- * @memberof Plastic
1187
- */
1188
695
  'preferredPinAddress'?: Address;
1189
- /**
1190
- *
1191
- * @type {PinDeliveryType}
1192
- * @memberof Plastic
1193
- */
1194
696
  'preferredPinDeliveryType': PinDeliveryType;
1195
697
  /**
1196
698
  * Unique identifier of a resource.
1197
- * @type {string}
1198
- * @memberof Plastic
1199
699
  */
1200
700
  'manufacturerId'?: string;
1201
701
  /**
1202
702
  * 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.
1203
- * @type {string}
1204
- * @memberof Plastic
1205
703
  */
1206
704
  'externalLayoutCode'?: string;
1207
705
  /**
1208
706
  * The date and time when the card was created.
1209
- * @type {string}
1210
- * @memberof Plastic
1211
707
  */
1212
708
  'createdAt'?: string;
1213
709
  /**
1214
710
  * The date and time when the object/entity was updated last time.
1215
- * @type {string}
1216
- * @memberof Plastic
1217
711
  */
1218
712
  'updatedAt'?: string;
1219
713
  }
1220
714
 
1221
715
 
1222
- /**
1223
- *
1224
- * @export
1225
- * @interface PlasticManufacturingHistoryResponse
1226
- */
1227
716
  export interface PlasticManufacturingHistoryResponse {
1228
- /**
1229
- *
1230
- * @type {Array<PlasticManufacturingHistoryResponseManufacturingEntriesInner>}
1231
- * @memberof PlasticManufacturingHistoryResponse
1232
- */
1233
717
  'manufacturingEntries'?: Array<PlasticManufacturingHistoryResponseManufacturingEntriesInner>;
1234
718
  }
1235
- /**
1236
- *
1237
- * @export
1238
- * @interface PlasticManufacturingHistoryResponseManufacturingEntriesInner
1239
- */
1240
719
  export interface PlasticManufacturingHistoryResponseManufacturingEntriesInner {
1241
720
  /**
1242
721
  * Unique identifer of a manufacturing request.
1243
- * @type {string}
1244
- * @memberof PlasticManufacturingHistoryResponseManufacturingEntriesInner
1245
722
  */
1246
723
  'id'?: string;
1247
724
  /**
1248
725
  * The date and time when the card was created.
1249
- * @type {string}
1250
- * @memberof PlasticManufacturingHistoryResponseManufacturingEntriesInner
1251
726
  */
1252
727
  'createdAt'?: string;
1253
728
  /**
1254
729
  * The date and time when the card was sent to the manufacturer
1255
- * @type {string}
1256
- * @memberof PlasticManufacturingHistoryResponseManufacturingEntriesInner
1257
730
  */
1258
731
  'sentToManufacturerAt'?: string;
1259
732
  /**
1260
733
  * Unique identifier of the manufacturer to whom the the card data wants sent for printing the physical card.
1261
- * @type {string}
1262
- * @memberof PlasticManufacturingHistoryResponseManufacturingEntriesInner
1263
734
  */
1264
735
  'manufacturerId'?: string;
1265
736
  /**
1266
737
  * The sequence number of the card version, this value is also known as PSN (pan sequence number)
1267
- * @type {number}
1268
- * @memberof PlasticManufacturingHistoryResponseManufacturingEntriesInner
1269
738
  */
1270
739
  'cardVersionSequenceNumber'?: number;
1271
- /**
1272
- *
1273
- * @type {ManufacturingReason}
1274
- * @memberof PlasticManufacturingHistoryResponseManufacturingEntriesInner
1275
- */
1276
740
  'manufacturingReason'?: ManufacturingReason;
1277
- /**
1278
- *
1279
- * @type {ManufacturingStatus}
1280
- * @memberof PlasticManufacturingHistoryResponseManufacturingEntriesInner
1281
- */
1282
741
  'status'?: ManufacturingStatus;
1283
742
  /**
1284
743
  * The json data that was included in the plastic manufacturer file
1285
- * @type {string}
1286
- * @memberof PlasticManufacturingHistoryResponseManufacturingEntriesInner
1287
744
  */
1288
745
  'data'?: string;
1289
746
  }
1290
747
 
1291
748
 
1292
- /**
1293
- *
1294
- * @export
1295
- * @interface ReissueCardBody
1296
- */
1297
749
  export interface ReissueCardBody {
1298
- /**
1299
- *
1300
- * @type {ChangePinStatus}
1301
- * @memberof ReissueCardBody
1302
- */
1303
750
  'pinStatus'?: ChangePinStatus;
1304
751
  }
1305
752
 
1306
753
 
1307
- /**
1308
- *
1309
- * @export
1310
- * @interface ReplaceCardBody
1311
- */
1312
754
  export interface ReplaceCardBody {
1313
755
  /**
1314
756
  * Description of why the card should be replaced.
1315
- * @type {string}
1316
- * @memberof ReplaceCardBody
1317
757
  */
1318
758
  'description'?: string;
1319
- /**
1320
- *
1321
- * @type {ChangePinStatus}
1322
- * @memberof ReplaceCardBody
1323
- */
1324
759
  'pinStatus'?: ChangePinStatus;
1325
760
  }
1326
761
 
1327
762
 
1328
- /**
1329
- *
1330
- * @export
1331
- * @interface ResourceResponse
1332
- */
1333
763
  export interface ResourceResponse {
1334
764
  /**
1335
765
  * A description of the response returned.
1336
- * @type {string}
1337
- * @memberof ResourceResponse
1338
766
  */
1339
767
  'description'?: string;
1340
768
  /**
1341
769
  * A unique identifier assigned to identify the endpoint request.
1342
- * @type {string}
1343
- * @memberof ResourceResponse
1344
770
  */
1345
771
  'id'?: string;
1346
772
  }
1347
- /**
1348
- *
1349
- * @export
1350
- * @interface UpdateCardBody
1351
- */
1352
773
  export interface UpdateCardBody {
1353
774
  /**
1354
775
  * 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.
1355
- * @type {boolean}
1356
- * @memberof UpdateCardBody
1357
776
  */
1358
777
  'chipEnabled'?: boolean;
1359
778
  /**
1360
779
  * The digital layout code for the card. Max character limit is 36.
1361
- * @type {string}
1362
- * @memberof UpdateCardBody
1363
780
  */
1364
781
  'digitalLayoutCode'?: string;
1365
782
  /**
1366
783
  * Name of the application. Max character limit is 16. Only applicable to multi-application cards. Otherwise, the request will return 400 Bad Request.
1367
- * @type {string}
1368
- * @memberof UpdateCardBody
1369
784
  */
1370
785
  'applicationName'?: string;
1371
786
  /**
1372
787
  * The contact priority level for given card. Only applicable to multi-application cards. Otherwise, the request will return 400 Bad Request.
1373
- * @type {number}
1374
- * @memberof UpdateCardBody
1375
788
  */
1376
789
  'contactPriorityLevel'?: number;
1377
790
  /**
1378
791
  * The contactless priority level of the given card. Only applicable to multi-application cards. Otherwise, the request will return 400 Bad Request.
1379
- * @type {number}
1380
- * @memberof UpdateCardBody
1381
792
  */
1382
793
  'contactlessPriorityLevel'?: number;
1383
794
  /**
1384
795
  * Indicates whether the specific card would be printed or not. Only applicable to multi-application cards. Otherwise, the request will return 400 Bad Request.
1385
- * @type {boolean}
1386
- * @memberof UpdateCardBody
1387
796
  */
1388
797
  'printed'?: boolean;
1389
798
  /**
1390
799
  * Unique identifier of a resource.
1391
- * @type {string}
1392
- * @memberof UpdateCardBody
1393
800
  */
1394
801
  'cardholderId'?: string;
1395
802
  /**
1396
803
  * Unique identifier of an account.
1397
- * @type {string}
1398
- * @memberof UpdateCardBody
1399
804
  */
1400
805
  'accountId'?: string;
1401
806
  /**
1402
807
  * A flag indicating whether automatic renewal is enabled or not.
1403
- * @type {boolean}
1404
- * @memberof UpdateCardBody
1405
808
  */
1406
809
  'automaticRenewal'?: boolean;
1407
- /**
1408
- *
1409
- * @type {UpdatePlasticBody}
1410
- * @memberof UpdateCardBody
1411
- */
1412
810
  'plastic'?: UpdatePlasticBody;
1413
- /**
1414
- *
1415
- * @type {CardStatus}
1416
- * @memberof UpdateCardBody
1417
- */
1418
811
  'cardStatus'?: CardStatus;
1419
812
  /**
1420
813
  * If set to true, the card status change will impact the status of all tokens. If set to false, the card status change will not impact the status of all tokens.
1421
- * @type {boolean}
1422
- * @memberof UpdateCardBody
1423
814
  */
1424
815
  'impactTokenStatus'?: boolean;
1425
- /**
1426
- *
1427
- * @type {UpdatePinStatus}
1428
- * @memberof UpdateCardBody
1429
- */
1430
816
  'pinStatus'?: UpdatePinStatus;
1431
817
  /**
1432
818
  * 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.
1433
- * @type {{ [key: string]: string; }}
1434
- * @memberof UpdateCardBody
1435
819
  */
1436
820
  'additionalValues'?: { [key: string]: string; };
1437
821
  /**
1438
822
  * 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.
1439
- * @type {string}
1440
- * @memberof UpdateCardBody
1441
823
  */
1442
824
  'feeConfigId'?: string | null;
1443
825
  }
@@ -1445,63 +827,30 @@ export interface UpdateCardBody {
1445
827
 
1446
828
  /**
1447
829
  * - GENERATED - A pin should be randomly generated for the card.
1448
- * @export
1449
- * @enum {string}
1450
830
  */
1451
831
 
1452
832
  export const UpdatePinStatus = {
1453
- Generated: 'GENERATED'
833
+ Generated: 'GENERATED',
1454
834
  } as const;
1455
835
 
1456
836
  export type UpdatePinStatus = typeof UpdatePinStatus[keyof typeof UpdatePinStatus];
1457
837
 
1458
838
 
1459
- /**
1460
- *
1461
- * @export
1462
- * @interface UpdatePlasticBody
1463
- */
1464
839
  export interface UpdatePlasticBody {
1465
840
  /**
1466
841
  * The name to be embossed on the card. Max character limit is 26.
1467
- * @type {string}
1468
- * @memberof UpdatePlasticBody
1469
842
  */
1470
843
  'embossingName'?: string;
1471
- /**
1472
- *
1473
- * @type {Address}
1474
- * @memberof UpdatePlasticBody
1475
- */
1476
844
  'preferredCardAddress'?: Address;
1477
- /**
1478
- *
1479
- * @type {CardDeliveryType}
1480
- * @memberof UpdatePlasticBody
1481
- */
1482
845
  'preferredCardDeliveryType'?: CardDeliveryType;
1483
- /**
1484
- *
1485
- * @type {Address}
1486
- * @memberof UpdatePlasticBody
1487
- */
1488
846
  'preferredPinAddress'?: Address;
1489
- /**
1490
- *
1491
- * @type {PinDeliveryType}
1492
- * @memberof UpdatePlasticBody
1493
- */
1494
847
  'preferredPinDeliveryType'?: PinDeliveryType;
1495
848
  /**
1496
849
  * Unique identifier of an entity.
1497
- * @type {string}
1498
- * @memberof UpdatePlasticBody
1499
850
  */
1500
851
  'manufacturerId'?: string | null;
1501
852
  /**
1502
853
  * 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.
1503
- * @type {string}
1504
- * @memberof UpdatePlasticBody
1505
854
  */
1506
855
  'externalLayoutCode'?: string;
1507
856
  }
@@ -1510,7 +859,6 @@ export interface UpdatePlasticBody {
1510
859
 
1511
860
  /**
1512
861
  * CreateCardApi - axios parameter creator
1513
- * @export
1514
862
  */
1515
863
  export const CreateCardApiAxiosParamCreator = function (configuration?: Configuration) {
1516
864
  return {
@@ -1542,9 +890,8 @@ export const CreateCardApiAxiosParamCreator = function (configuration?: Configur
1542
890
  // http bearer authentication required
1543
891
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
1544
892
 
1545
-
1546
-
1547
893
  localVarHeaderParameter['Content-Type'] = 'application/json';
894
+ localVarHeaderParameter['Accept'] = 'application/json';
1548
895
 
1549
896
  if (xAuditUser != null) {
1550
897
  localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
@@ -1567,7 +914,6 @@ export const CreateCardApiAxiosParamCreator = function (configuration?: Configur
1567
914
 
1568
915
  /**
1569
916
  * CreateCardApi - functional programming interface
1570
- * @export
1571
917
  */
1572
918
  export const CreateCardApiFp = function(configuration?: Configuration) {
1573
919
  const localVarAxiosParamCreator = CreateCardApiAxiosParamCreator(configuration)
@@ -1592,7 +938,6 @@ export const CreateCardApiFp = function(configuration?: Configuration) {
1592
938
 
1593
939
  /**
1594
940
  * CreateCardApi - factory interface
1595
- * @export
1596
941
  */
1597
942
  export const CreateCardApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
1598
943
  const localVarFp = CreateCardApiFp(configuration)
@@ -1614,9 +959,6 @@ export const CreateCardApiFactory = function (configuration?: Configuration, bas
1614
959
 
1615
960
  /**
1616
961
  * CreateCardApi - object-oriented interface
1617
- * @export
1618
- * @class CreateCardApi
1619
- * @extends {BaseAPI}
1620
962
  */
1621
963
  export class CreateCardApi extends BaseAPI {
1622
964
  /**
@@ -1627,7 +969,6 @@ export class CreateCardApi extends BaseAPI {
1627
969
  * @param {string} [xIdempotencyKey] Idempotency key for the request.
1628
970
  * @param {*} [options] Override http request option.
1629
971
  * @throws {RequiredError}
1630
- * @memberof CreateCardApi
1631
972
  */
1632
973
  public createCard(createCardRequest: CreateCardRequest, xAuditUser?: string, xIdempotencyKey?: string, options?: RawAxiosRequestConfig) {
1633
974
  return CreateCardApiFp(this.configuration).createCard(createCardRequest, xAuditUser, xIdempotencyKey, options).then((request) => request(this.axios, this.basePath));
@@ -1638,7 +979,6 @@ export class CreateCardApi extends BaseAPI {
1638
979
 
1639
980
  /**
1640
981
  * CreatePINControlAccessTokenApi - axios parameter creator
1641
- * @export
1642
982
  */
1643
983
  export const CreatePINControlAccessTokenApiAxiosParamCreator = function (configuration?: Configuration) {
1644
984
  return {
@@ -1657,7 +997,7 @@ export const CreatePINControlAccessTokenApiAxiosParamCreator = function (configu
1657
997
  // verify required parameter 'pinControlInfoRequestBody' is not null or undefined
1658
998
  assertParamExists('createPinControl', 'pinControlInfoRequestBody', pinControlInfoRequestBody)
1659
999
  const localVarPath = `/v1/cards/{id}/pinControl`
1660
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1000
+ .replace('{id}', encodeURIComponent(String(id)));
1661
1001
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1662
1002
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1663
1003
  let baseOptions;
@@ -1673,9 +1013,8 @@ export const CreatePINControlAccessTokenApiAxiosParamCreator = function (configu
1673
1013
  // http bearer authentication required
1674
1014
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
1675
1015
 
1676
-
1677
-
1678
1016
  localVarHeaderParameter['Content-Type'] = 'application/json';
1017
+ localVarHeaderParameter['Accept'] = 'application/json';
1679
1018
 
1680
1019
  if (xAuditUser != null) {
1681
1020
  localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
@@ -1695,7 +1034,6 @@ export const CreatePINControlAccessTokenApiAxiosParamCreator = function (configu
1695
1034
 
1696
1035
  /**
1697
1036
  * CreatePINControlAccessTokenApi - functional programming interface
1698
- * @export
1699
1037
  */
1700
1038
  export const CreatePINControlAccessTokenApiFp = function(configuration?: Configuration) {
1701
1039
  const localVarAxiosParamCreator = CreatePINControlAccessTokenApiAxiosParamCreator(configuration)
@@ -1720,7 +1058,6 @@ export const CreatePINControlAccessTokenApiFp = function(configuration?: Configu
1720
1058
 
1721
1059
  /**
1722
1060
  * CreatePINControlAccessTokenApi - factory interface
1723
- * @export
1724
1061
  */
1725
1062
  export const CreatePINControlAccessTokenApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
1726
1063
  const localVarFp = CreatePINControlAccessTokenApiFp(configuration)
@@ -1742,9 +1079,6 @@ export const CreatePINControlAccessTokenApiFactory = function (configuration?: C
1742
1079
 
1743
1080
  /**
1744
1081
  * CreatePINControlAccessTokenApi - object-oriented interface
1745
- * @export
1746
- * @class CreatePINControlAccessTokenApi
1747
- * @extends {BaseAPI}
1748
1082
  */
1749
1083
  export class CreatePINControlAccessTokenApi extends BaseAPI {
1750
1084
  /**
@@ -1755,7 +1089,6 @@ export class CreatePINControlAccessTokenApi extends BaseAPI {
1755
1089
  * @param {string} [xAuditUser] Optional audit user header
1756
1090
  * @param {*} [options] Override http request option.
1757
1091
  * @throws {RequiredError}
1758
- * @memberof CreatePINControlAccessTokenApi
1759
1092
  */
1760
1093
  public createPinControl(id: string, pinControlInfoRequestBody: PinControlInfoRequestBody, xAuditUser?: string, options?: RawAxiosRequestConfig) {
1761
1094
  return CreatePINControlAccessTokenApiFp(this.configuration).createPinControl(id, pinControlInfoRequestBody, xAuditUser, options).then((request) => request(this.axios, this.basePath));
@@ -1766,7 +1099,6 @@ export class CreatePINControlAccessTokenApi extends BaseAPI {
1766
1099
 
1767
1100
  /**
1768
1101
  * GetCardApi - axios parameter creator
1769
- * @export
1770
1102
  */
1771
1103
  export const GetCardApiAxiosParamCreator = function (configuration?: Configuration) {
1772
1104
  return {
@@ -1782,7 +1114,7 @@ export const GetCardApiAxiosParamCreator = function (configuration?: Configurati
1782
1114
  // verify required parameter 'id' is not null or undefined
1783
1115
  assertParamExists('getCard', 'id', id)
1784
1116
  const localVarPath = `/v1/cards/{id}`
1785
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1117
+ .replace('{id}', encodeURIComponent(String(id)));
1786
1118
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1787
1119
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1788
1120
  let baseOptions;
@@ -1798,8 +1130,8 @@ export const GetCardApiAxiosParamCreator = function (configuration?: Configurati
1798
1130
  // http bearer authentication required
1799
1131
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
1800
1132
 
1133
+ localVarHeaderParameter['Accept'] = 'application/json';
1801
1134
 
1802
-
1803
1135
  if (xAuditUser != null) {
1804
1136
  localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
1805
1137
  }
@@ -1825,7 +1157,7 @@ export const GetCardApiAxiosParamCreator = function (configuration?: Configurati
1825
1157
  // verify required parameter 'id' is not null or undefined
1826
1158
  assertParamExists('getCardDataControlToken', 'id', id)
1827
1159
  const localVarPath = `/v1/cards/{id}/controlToken`
1828
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1160
+ .replace('{id}', encodeURIComponent(String(id)));
1829
1161
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1830
1162
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1831
1163
  let baseOptions;
@@ -1841,9 +1173,8 @@ export const GetCardApiAxiosParamCreator = function (configuration?: Configurati
1841
1173
  // http bearer authentication required
1842
1174
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
1843
1175
 
1844
-
1845
-
1846
1176
  localVarHeaderParameter['Content-Type'] = 'application/json';
1177
+ localVarHeaderParameter['Accept'] = 'application/json';
1847
1178
 
1848
1179
  if (xAuditUser != null) {
1849
1180
  localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
@@ -1889,8 +1220,8 @@ export const GetCardApiAxiosParamCreator = function (configuration?: Configurati
1889
1220
  localVarQueryParameter['mainCardId'] = mainCardId;
1890
1221
  }
1891
1222
 
1223
+ localVarHeaderParameter['Accept'] = 'application/json';
1892
1224
 
1893
-
1894
1225
  if (xAuditUser != null) {
1895
1226
  localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
1896
1227
  }
@@ -1908,7 +1239,6 @@ export const GetCardApiAxiosParamCreator = function (configuration?: Configurati
1908
1239
 
1909
1240
  /**
1910
1241
  * GetCardApi - functional programming interface
1911
- * @export
1912
1242
  */
1913
1243
  export const GetCardApiFp = function(configuration?: Configuration) {
1914
1244
  const localVarAxiosParamCreator = GetCardApiAxiosParamCreator(configuration)
@@ -1961,7 +1291,6 @@ export const GetCardApiFp = function(configuration?: Configuration) {
1961
1291
 
1962
1292
  /**
1963
1293
  * GetCardApi - factory interface
1964
- * @export
1965
1294
  */
1966
1295
  export const GetCardApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
1967
1296
  const localVarFp = GetCardApiFp(configuration)
@@ -2005,9 +1334,6 @@ export const GetCardApiFactory = function (configuration?: Configuration, basePa
2005
1334
 
2006
1335
  /**
2007
1336
  * GetCardApi - object-oriented interface
2008
- * @export
2009
- * @class GetCardApi
2010
- * @extends {BaseAPI}
2011
1337
  */
2012
1338
  export class GetCardApi extends BaseAPI {
2013
1339
  /**
@@ -2017,7 +1343,6 @@ export class GetCardApi extends BaseAPI {
2017
1343
  * @param {string} [xAuditUser] Optional audit user header
2018
1344
  * @param {*} [options] Override http request option.
2019
1345
  * @throws {RequiredError}
2020
- * @memberof GetCardApi
2021
1346
  */
2022
1347
  public getCard(id: string, xAuditUser?: string, options?: RawAxiosRequestConfig) {
2023
1348
  return GetCardApiFp(this.configuration).getCard(id, xAuditUser, options).then((request) => request(this.axios, this.basePath));
@@ -2031,7 +1356,6 @@ export class GetCardApi extends BaseAPI {
2031
1356
  * @param {ControlTokenRequestBody} [controlTokenRequestBody]
2032
1357
  * @param {*} [options] Override http request option.
2033
1358
  * @throws {RequiredError}
2034
- * @memberof GetCardApi
2035
1359
  */
2036
1360
  public getCardDataControlToken(id: string, xAuditUser?: string, controlTokenRequestBody?: ControlTokenRequestBody, options?: RawAxiosRequestConfig) {
2037
1361
  return GetCardApiFp(this.configuration).getCardDataControlToken(id, xAuditUser, controlTokenRequestBody, options).then((request) => request(this.axios, this.basePath));
@@ -2044,7 +1368,6 @@ export class GetCardApi extends BaseAPI {
2044
1368
  * @param {string} [xAuditUser] Optional audit user header
2045
1369
  * @param {*} [options] Override http request option.
2046
1370
  * @throws {RequiredError}
2047
- * @memberof GetCardApi
2048
1371
  */
2049
1372
  public getCards(mainCardId: string, xAuditUser?: string, options?: RawAxiosRequestConfig) {
2050
1373
  return GetCardApiFp(this.configuration).getCards(mainCardId, xAuditUser, options).then((request) => request(this.axios, this.basePath));
@@ -2055,7 +1378,6 @@ export class GetCardApi extends BaseAPI {
2055
1378
 
2056
1379
  /**
2057
1380
  * GetCardPaymentInfoApi - axios parameter creator
2058
- * @export
2059
1381
  */
2060
1382
  export const GetCardPaymentInfoApiAxiosParamCreator = function (configuration?: Configuration) {
2061
1383
  return {
@@ -2074,7 +1396,7 @@ export const GetCardPaymentInfoApiAxiosParamCreator = function (configuration?:
2074
1396
  // verify required parameter 'encryptCardPaymentInfoRequestBody' is not null or undefined
2075
1397
  assertParamExists('encryptCardPaymentInfo', 'encryptCardPaymentInfoRequestBody', encryptCardPaymentInfoRequestBody)
2076
1398
  const localVarPath = `/v1/cards/{id}/encrypt`
2077
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1399
+ .replace('{id}', encodeURIComponent(String(id)));
2078
1400
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2079
1401
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2080
1402
  let baseOptions;
@@ -2090,9 +1412,8 @@ export const GetCardPaymentInfoApiAxiosParamCreator = function (configuration?:
2090
1412
  // http bearer authentication required
2091
1413
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
2092
1414
 
2093
-
2094
-
2095
1415
  localVarHeaderParameter['Content-Type'] = 'application/json';
1416
+ localVarHeaderParameter['Accept'] = 'application/json';
2096
1417
 
2097
1418
  if (xAuditUser != null) {
2098
1419
  localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
@@ -2112,7 +1433,6 @@ export const GetCardPaymentInfoApiAxiosParamCreator = function (configuration?:
2112
1433
 
2113
1434
  /**
2114
1435
  * GetCardPaymentInfoApi - functional programming interface
2115
- * @export
2116
1436
  */
2117
1437
  export const GetCardPaymentInfoApiFp = function(configuration?: Configuration) {
2118
1438
  const localVarAxiosParamCreator = GetCardPaymentInfoApiAxiosParamCreator(configuration)
@@ -2137,7 +1457,6 @@ export const GetCardPaymentInfoApiFp = function(configuration?: Configuration) {
2137
1457
 
2138
1458
  /**
2139
1459
  * GetCardPaymentInfoApi - factory interface
2140
- * @export
2141
1460
  */
2142
1461
  export const GetCardPaymentInfoApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
2143
1462
  const localVarFp = GetCardPaymentInfoApiFp(configuration)
@@ -2159,9 +1478,6 @@ export const GetCardPaymentInfoApiFactory = function (configuration?: Configurat
2159
1478
 
2160
1479
  /**
2161
1480
  * GetCardPaymentInfoApi - object-oriented interface
2162
- * @export
2163
- * @class GetCardPaymentInfoApi
2164
- * @extends {BaseAPI}
2165
1481
  */
2166
1482
  export class GetCardPaymentInfoApi extends BaseAPI {
2167
1483
  /**
@@ -2172,7 +1488,6 @@ export class GetCardPaymentInfoApi extends BaseAPI {
2172
1488
  * @param {string} [xAuditUser] Optional audit user header
2173
1489
  * @param {*} [options] Override http request option.
2174
1490
  * @throws {RequiredError}
2175
- * @memberof GetCardPaymentInfoApi
2176
1491
  */
2177
1492
  public encryptCardPaymentInfo(id: string, encryptCardPaymentInfoRequestBody: EncryptCardPaymentInfoRequestBody, xAuditUser?: string, options?: RawAxiosRequestConfig) {
2178
1493
  return GetCardPaymentInfoApiFp(this.configuration).encryptCardPaymentInfo(id, encryptCardPaymentInfoRequestBody, xAuditUser, options).then((request) => request(this.axios, this.basePath));
@@ -2183,7 +1498,6 @@ export class GetCardPaymentInfoApi extends BaseAPI {
2183
1498
 
2184
1499
  /**
2185
1500
  * GetPlasticManufacturingHistoryApi - axios parameter creator
2186
- * @export
2187
1501
  */
2188
1502
  export const GetPlasticManufacturingHistoryApiAxiosParamCreator = function (configuration?: Configuration) {
2189
1503
  return {
@@ -2199,7 +1513,7 @@ export const GetPlasticManufacturingHistoryApiAxiosParamCreator = function (conf
2199
1513
  // verify required parameter 'id' is not null or undefined
2200
1514
  assertParamExists('manufacturingHistory', 'id', id)
2201
1515
  const localVarPath = `/v1/cards/{id}/manufacturing-history`
2202
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1516
+ .replace('{id}', encodeURIComponent(String(id)));
2203
1517
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2204
1518
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2205
1519
  let baseOptions;
@@ -2215,8 +1529,8 @@ export const GetPlasticManufacturingHistoryApiAxiosParamCreator = function (conf
2215
1529
  // http bearer authentication required
2216
1530
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
2217
1531
 
1532
+ localVarHeaderParameter['Accept'] = 'application/json';
2218
1533
 
2219
-
2220
1534
  if (xAuditUser != null) {
2221
1535
  localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
2222
1536
  }
@@ -2234,7 +1548,6 @@ export const GetPlasticManufacturingHistoryApiAxiosParamCreator = function (conf
2234
1548
 
2235
1549
  /**
2236
1550
  * GetPlasticManufacturingHistoryApi - functional programming interface
2237
- * @export
2238
1551
  */
2239
1552
  export const GetPlasticManufacturingHistoryApiFp = function(configuration?: Configuration) {
2240
1553
  const localVarAxiosParamCreator = GetPlasticManufacturingHistoryApiAxiosParamCreator(configuration)
@@ -2258,7 +1571,6 @@ export const GetPlasticManufacturingHistoryApiFp = function(configuration?: Conf
2258
1571
 
2259
1572
  /**
2260
1573
  * GetPlasticManufacturingHistoryApi - factory interface
2261
- * @export
2262
1574
  */
2263
1575
  export const GetPlasticManufacturingHistoryApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
2264
1576
  const localVarFp = GetPlasticManufacturingHistoryApiFp(configuration)
@@ -2279,9 +1591,6 @@ export const GetPlasticManufacturingHistoryApiFactory = function (configuration?
2279
1591
 
2280
1592
  /**
2281
1593
  * GetPlasticManufacturingHistoryApi - object-oriented interface
2282
- * @export
2283
- * @class GetPlasticManufacturingHistoryApi
2284
- * @extends {BaseAPI}
2285
1594
  */
2286
1595
  export class GetPlasticManufacturingHistoryApi extends BaseAPI {
2287
1596
  /**
@@ -2291,7 +1600,6 @@ export class GetPlasticManufacturingHistoryApi extends BaseAPI {
2291
1600
  * @param {string} [xAuditUser] Optional audit user header
2292
1601
  * @param {*} [options] Override http request option.
2293
1602
  * @throws {RequiredError}
2294
- * @memberof GetPlasticManufacturingHistoryApi
2295
1603
  */
2296
1604
  public manufacturingHistory(id: string, xAuditUser?: string, options?: RawAxiosRequestConfig) {
2297
1605
  return GetPlasticManufacturingHistoryApiFp(this.configuration).manufacturingHistory(id, xAuditUser, options).then((request) => request(this.axios, this.basePath));
@@ -2302,7 +1610,6 @@ export class GetPlasticManufacturingHistoryApi extends BaseAPI {
2302
1610
 
2303
1611
  /**
2304
1612
  * UpdateCardApi - axios parameter creator
2305
- * @export
2306
1613
  */
2307
1614
  export const UpdateCardApiAxiosParamCreator = function (configuration?: Configuration) {
2308
1615
  return {
@@ -2319,7 +1626,7 @@ export const UpdateCardApiAxiosParamCreator = function (configuration?: Configur
2319
1626
  // verify required parameter 'id' is not null or undefined
2320
1627
  assertParamExists('activateCard', 'id', id)
2321
1628
  const localVarPath = `/v1/cards/{id}/activate`
2322
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1629
+ .replace('{id}', encodeURIComponent(String(id)));
2323
1630
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2324
1631
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2325
1632
  let baseOptions;
@@ -2335,8 +1642,8 @@ export const UpdateCardApiAxiosParamCreator = function (configuration?: Configur
2335
1642
  // http bearer authentication required
2336
1643
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
2337
1644
 
1645
+ localVarHeaderParameter['Accept'] = 'application/json';
2338
1646
 
2339
-
2340
1647
  if (xIdempotencyKey != null) {
2341
1648
  localVarHeaderParameter['x-idempotency-key'] = String(xIdempotencyKey);
2342
1649
  }
@@ -2367,7 +1674,7 @@ export const UpdateCardApiAxiosParamCreator = function (configuration?: Configur
2367
1674
  // verify required parameter 'updateCardBody' is not null or undefined
2368
1675
  assertParamExists('patchCard', 'updateCardBody', updateCardBody)
2369
1676
  const localVarPath = `/v1/cards/{id}`
2370
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1677
+ .replace('{id}', encodeURIComponent(String(id)));
2371
1678
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2372
1679
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2373
1680
  let baseOptions;
@@ -2383,9 +1690,8 @@ export const UpdateCardApiAxiosParamCreator = function (configuration?: Configur
2383
1690
  // http bearer authentication required
2384
1691
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
2385
1692
 
2386
-
2387
-
2388
1693
  localVarHeaderParameter['Content-Type'] = 'application/json';
1694
+ localVarHeaderParameter['Accept'] = 'application/json';
2389
1695
 
2390
1696
  if (xAuditUser != null) {
2391
1697
  localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
@@ -2414,7 +1720,7 @@ export const UpdateCardApiAxiosParamCreator = function (configuration?: Configur
2414
1720
  // verify required parameter 'id' is not null or undefined
2415
1721
  assertParamExists('reissueCard', 'id', id)
2416
1722
  const localVarPath = `/v1/cards/{id}/reissue`
2417
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1723
+ .replace('{id}', encodeURIComponent(String(id)));
2418
1724
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2419
1725
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2420
1726
  let baseOptions;
@@ -2430,9 +1736,8 @@ export const UpdateCardApiAxiosParamCreator = function (configuration?: Configur
2430
1736
  // http bearer authentication required
2431
1737
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
2432
1738
 
2433
-
2434
-
2435
1739
  localVarHeaderParameter['Content-Type'] = 'application/json';
1740
+ localVarHeaderParameter['Accept'] = 'application/json';
2436
1741
 
2437
1742
  if (xIdempotencyKey != null) {
2438
1743
  localVarHeaderParameter['x-idempotency-key'] = String(xIdempotencyKey);
@@ -2463,7 +1768,7 @@ export const UpdateCardApiAxiosParamCreator = function (configuration?: Configur
2463
1768
  // verify required parameter 'id' is not null or undefined
2464
1769
  assertParamExists('reorderPin', 'id', id)
2465
1770
  const localVarPath = `/v1/cards/{id}/reorder-pin`
2466
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1771
+ .replace('{id}', encodeURIComponent(String(id)));
2467
1772
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2468
1773
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2469
1774
  let baseOptions;
@@ -2479,8 +1784,8 @@ export const UpdateCardApiAxiosParamCreator = function (configuration?: Configur
2479
1784
  // http bearer authentication required
2480
1785
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
2481
1786
 
1787
+ localVarHeaderParameter['Accept'] = 'application/json';
2482
1788
 
2483
-
2484
1789
  if (xIdempotencyKey != null) {
2485
1790
  localVarHeaderParameter['x-idempotency-key'] = String(xIdempotencyKey);
2486
1791
  }
@@ -2510,7 +1815,7 @@ export const UpdateCardApiAxiosParamCreator = function (configuration?: Configur
2510
1815
  // verify required parameter 'id' is not null or undefined
2511
1816
  assertParamExists('replaceCard', 'id', id)
2512
1817
  const localVarPath = `/v1/cards/{id}/replace`
2513
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1818
+ .replace('{id}', encodeURIComponent(String(id)));
2514
1819
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2515
1820
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2516
1821
  let baseOptions;
@@ -2526,9 +1831,8 @@ export const UpdateCardApiAxiosParamCreator = function (configuration?: Configur
2526
1831
  // http bearer authentication required
2527
1832
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
2528
1833
 
2529
-
2530
-
2531
1834
  localVarHeaderParameter['Content-Type'] = 'application/json';
1835
+ localVarHeaderParameter['Accept'] = 'application/json';
2532
1836
 
2533
1837
  if (xIdempotencyKey != null) {
2534
1838
  localVarHeaderParameter['x-idempotency-key'] = String(xIdempotencyKey);
@@ -2551,7 +1855,6 @@ export const UpdateCardApiAxiosParamCreator = function (configuration?: Configur
2551
1855
 
2552
1856
  /**
2553
1857
  * UpdateCardApi - functional programming interface
2554
- * @export
2555
1858
  */
2556
1859
  export const UpdateCardApiFp = function(configuration?: Configuration) {
2557
1860
  const localVarAxiosParamCreator = UpdateCardApiAxiosParamCreator(configuration)
@@ -2638,7 +1941,6 @@ export const UpdateCardApiFp = function(configuration?: Configuration) {
2638
1941
 
2639
1942
  /**
2640
1943
  * UpdateCardApi - factory interface
2641
- * @export
2642
1944
  */
2643
1945
  export const UpdateCardApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
2644
1946
  const localVarFp = UpdateCardApiFp(configuration)
@@ -2710,9 +2012,6 @@ export const UpdateCardApiFactory = function (configuration?: Configuration, bas
2710
2012
 
2711
2013
  /**
2712
2014
  * UpdateCardApi - object-oriented interface
2713
- * @export
2714
- * @class UpdateCardApi
2715
- * @extends {BaseAPI}
2716
2015
  */
2717
2016
  export class UpdateCardApi extends BaseAPI {
2718
2017
  /**
@@ -2723,7 +2022,6 @@ export class UpdateCardApi extends BaseAPI {
2723
2022
  * @param {string} [xAuditUser] Optional audit user header
2724
2023
  * @param {*} [options] Override http request option.
2725
2024
  * @throws {RequiredError}
2726
- * @memberof UpdateCardApi
2727
2025
  */
2728
2026
  public activateCard(id: string, xIdempotencyKey?: string, xAuditUser?: string, options?: RawAxiosRequestConfig) {
2729
2027
  return UpdateCardApiFp(this.configuration).activateCard(id, xIdempotencyKey, xAuditUser, options).then((request) => request(this.axios, this.basePath));
@@ -2737,7 +2035,6 @@ export class UpdateCardApi extends BaseAPI {
2737
2035
  * @param {string} [xAuditUser] Optional audit user header
2738
2036
  * @param {*} [options] Override http request option.
2739
2037
  * @throws {RequiredError}
2740
- * @memberof UpdateCardApi
2741
2038
  */
2742
2039
  public patchCard(id: string, updateCardBody: UpdateCardBody, xAuditUser?: string, options?: RawAxiosRequestConfig) {
2743
2040
  return UpdateCardApiFp(this.configuration).patchCard(id, updateCardBody, xAuditUser, options).then((request) => request(this.axios, this.basePath));
@@ -2752,7 +2049,6 @@ export class UpdateCardApi extends BaseAPI {
2752
2049
  * @param {ReissueCardBody} [reissueCardBody]
2753
2050
  * @param {*} [options] Override http request option.
2754
2051
  * @throws {RequiredError}
2755
- * @memberof UpdateCardApi
2756
2052
  */
2757
2053
  public reissueCard(id: string, xIdempotencyKey?: string, xAuditUser?: string, reissueCardBody?: ReissueCardBody, options?: RawAxiosRequestConfig) {
2758
2054
  return UpdateCardApiFp(this.configuration).reissueCard(id, xIdempotencyKey, xAuditUser, reissueCardBody, options).then((request) => request(this.axios, this.basePath));
@@ -2766,7 +2062,6 @@ export class UpdateCardApi extends BaseAPI {
2766
2062
  * @param {string} [xAuditUser] Optional audit user header
2767
2063
  * @param {*} [options] Override http request option.
2768
2064
  * @throws {RequiredError}
2769
- * @memberof UpdateCardApi
2770
2065
  */
2771
2066
  public reorderPin(id: string, xIdempotencyKey?: string, xAuditUser?: string, options?: RawAxiosRequestConfig) {
2772
2067
  return UpdateCardApiFp(this.configuration).reorderPin(id, xIdempotencyKey, xAuditUser, options).then((request) => request(this.axios, this.basePath));
@@ -2781,7 +2076,6 @@ export class UpdateCardApi extends BaseAPI {
2781
2076
  * @param {ReplaceCardBody} [replaceCardBody]
2782
2077
  * @param {*} [options] Override http request option.
2783
2078
  * @throws {RequiredError}
2784
- * @memberof UpdateCardApi
2785
2079
  */
2786
2080
  public replaceCard(id: string, xIdempotencyKey?: string, xAuditUser?: string, replaceCardBody?: ReplaceCardBody, options?: RawAxiosRequestConfig) {
2787
2081
  return UpdateCardApiFp(this.configuration).replaceCard(id, xIdempotencyKey, xAuditUser, replaceCardBody, options).then((request) => request(this.axios, this.basePath));