@enfuce/nextgen-sdk 0.0.1 → 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 (222) hide show
  1. package/README.md +44 -0
  2. package/dist/authorisation-control/api.d.ts +0 -302
  3. package/dist/authorisation-control/api.js +10 -28
  4. package/dist/authorisation-control/base.d.ts +0 -24
  5. package/dist/authorisation-control/base.js +0 -19
  6. package/dist/authorisation-control/common.d.ts +4 -35
  7. package/dist/authorisation-control/common.js +16 -38
  8. package/dist/authorisation-control/configuration.d.ts +24 -17
  9. package/dist/authorisation-control/configuration.js +3 -3
  10. package/dist/card/api.d.ts +41 -740
  11. package/dist/card/api.js +38 -105
  12. package/dist/card/base.d.ts +0 -24
  13. package/dist/card/base.js +0 -19
  14. package/dist/card/common.d.ts +4 -35
  15. package/dist/card/common.js +16 -38
  16. package/dist/card/configuration.d.ts +24 -17
  17. package/dist/card/configuration.js +3 -3
  18. package/dist/cardholder/api.d.ts +959 -686
  19. package/dist/cardholder/api.js +783 -73
  20. package/dist/cardholder/base.d.ts +0 -24
  21. package/dist/cardholder/base.js +0 -19
  22. package/dist/cardholder/common.d.ts +4 -35
  23. package/dist/cardholder/common.js +16 -38
  24. package/dist/cardholder/configuration.d.ts +24 -17
  25. package/dist/cardholder/configuration.js +3 -3
  26. package/dist/cards/api.d.ts +0 -7
  27. package/dist/cards/api.js +2 -9
  28. package/dist/cards/base.d.ts +0 -24
  29. package/dist/cards/base.js +0 -19
  30. package/dist/cards/common.d.ts +4 -35
  31. package/dist/cards/common.js +16 -38
  32. package/dist/cards/configuration.d.ts +24 -17
  33. package/dist/cards/configuration.js +3 -3
  34. package/dist/clearing-file-copy/api.d.ts +0 -497
  35. package/dist/clearing-file-copy/api.js +12 -26
  36. package/dist/clearing-file-copy/base.d.ts +0 -24
  37. package/dist/clearing-file-copy/base.js +0 -19
  38. package/dist/clearing-file-copy/common.d.ts +4 -35
  39. package/dist/clearing-file-copy/common.js +16 -38
  40. package/dist/clearing-file-copy/configuration.d.ts +24 -17
  41. package/dist/clearing-file-copy/configuration.js +3 -3
  42. package/dist/esm/authorisation-control/api.d.ts +0 -302
  43. package/dist/esm/authorisation-control/api.js +10 -28
  44. package/dist/esm/authorisation-control/base.d.ts +0 -24
  45. package/dist/esm/authorisation-control/base.js +0 -19
  46. package/dist/esm/authorisation-control/common.d.ts +4 -35
  47. package/dist/esm/authorisation-control/common.js +14 -37
  48. package/dist/esm/authorisation-control/configuration.d.ts +24 -17
  49. package/dist/esm/authorisation-control/configuration.js +3 -3
  50. package/dist/esm/card/api.d.ts +41 -740
  51. package/dist/esm/card/api.js +38 -105
  52. package/dist/esm/card/base.d.ts +0 -24
  53. package/dist/esm/card/base.js +0 -19
  54. package/dist/esm/card/common.d.ts +4 -35
  55. package/dist/esm/card/common.js +14 -37
  56. package/dist/esm/card/configuration.d.ts +24 -17
  57. package/dist/esm/card/configuration.js +3 -3
  58. package/dist/esm/cardholder/api.d.ts +959 -686
  59. package/dist/esm/cardholder/api.js +782 -72
  60. package/dist/esm/cardholder/base.d.ts +0 -24
  61. package/dist/esm/cardholder/base.js +0 -19
  62. package/dist/esm/cardholder/common.d.ts +4 -35
  63. package/dist/esm/cardholder/common.js +14 -37
  64. package/dist/esm/cardholder/configuration.d.ts +24 -17
  65. package/dist/esm/cardholder/configuration.js +3 -3
  66. package/dist/esm/cards/api.d.ts +0 -7
  67. package/dist/esm/cards/api.js +2 -9
  68. package/dist/esm/cards/base.d.ts +0 -24
  69. package/dist/esm/cards/base.js +0 -19
  70. package/dist/esm/cards/common.d.ts +4 -35
  71. package/dist/esm/cards/common.js +14 -37
  72. package/dist/esm/cards/configuration.d.ts +24 -17
  73. package/dist/esm/cards/configuration.js +3 -3
  74. package/dist/esm/clearing-file-copy/api.d.ts +0 -497
  75. package/dist/esm/clearing-file-copy/api.js +12 -26
  76. package/dist/esm/clearing-file-copy/base.d.ts +0 -24
  77. package/dist/esm/clearing-file-copy/base.js +0 -19
  78. package/dist/esm/clearing-file-copy/common.d.ts +4 -35
  79. package/dist/esm/clearing-file-copy/common.js +14 -37
  80. package/dist/esm/clearing-file-copy/configuration.d.ts +24 -17
  81. package/dist/esm/clearing-file-copy/configuration.js +3 -3
  82. package/dist/esm/issuer-events/api.d.ts +639 -601
  83. package/dist/esm/issuer-events/api.js +520 -54
  84. package/dist/esm/issuer-events/base.d.ts +0 -24
  85. package/dist/esm/issuer-events/base.js +0 -19
  86. package/dist/esm/issuer-events/common.d.ts +4 -35
  87. package/dist/esm/issuer-events/common.js +14 -37
  88. package/dist/esm/issuer-events/configuration.d.ts +24 -17
  89. package/dist/esm/issuer-events/configuration.js +3 -3
  90. package/dist/esm/pin/api.d.ts +0 -76
  91. package/dist/esm/pin/api.js +3 -15
  92. package/dist/esm/pin/base.d.ts +0 -24
  93. package/dist/esm/pin/base.js +0 -19
  94. package/dist/esm/pin/common.d.ts +4 -35
  95. package/dist/esm/pin/common.js +14 -37
  96. package/dist/esm/pin/configuration.d.ts +24 -17
  97. package/dist/esm/pin/configuration.js +3 -3
  98. package/dist/esm/threeds/api.d.ts +0 -18
  99. package/dist/esm/threeds/api.js +1 -8
  100. package/dist/esm/threeds/base.d.ts +0 -24
  101. package/dist/esm/threeds/base.js +0 -19
  102. package/dist/esm/threeds/common.d.ts +4 -35
  103. package/dist/esm/threeds/common.js +14 -37
  104. package/dist/esm/threeds/configuration.d.ts +24 -17
  105. package/dist/esm/threeds/configuration.js +3 -3
  106. package/dist/esm/threeds-oob/api.d.ts +0 -90
  107. package/dist/esm/threeds-oob/api.js +2 -9
  108. package/dist/esm/threeds-oob/base.d.ts +0 -24
  109. package/dist/esm/threeds-oob/base.js +0 -19
  110. package/dist/esm/threeds-oob/common.d.ts +4 -35
  111. package/dist/esm/threeds-oob/common.js +14 -37
  112. package/dist/esm/threeds-oob/configuration.d.ts +24 -17
  113. package/dist/esm/threeds-oob/configuration.js +3 -3
  114. package/dist/esm/transaction-event/api.d.ts +2 -453
  115. package/dist/esm/transaction-event/api.js +13 -28
  116. package/dist/esm/transaction-event/base.d.ts +0 -24
  117. package/dist/esm/transaction-event/base.js +0 -19
  118. package/dist/esm/transaction-event/common.d.ts +4 -35
  119. package/dist/esm/transaction-event/common.js +14 -37
  120. package/dist/esm/transaction-event/configuration.d.ts +24 -17
  121. package/dist/esm/transaction-event/configuration.js +3 -3
  122. package/dist/esm/wallet/api.d.ts +0 -342
  123. package/dist/esm/wallet/api.js +29 -83
  124. package/dist/esm/wallet/base.d.ts +0 -24
  125. package/dist/esm/wallet/base.js +0 -19
  126. package/dist/esm/wallet/common.d.ts +4 -35
  127. package/dist/esm/wallet/common.js +14 -37
  128. package/dist/esm/wallet/configuration.d.ts +24 -17
  129. package/dist/esm/wallet/configuration.js +3 -3
  130. package/dist/issuer-events/api.d.ts +639 -601
  131. package/dist/issuer-events/api.js +521 -55
  132. package/dist/issuer-events/base.d.ts +0 -24
  133. package/dist/issuer-events/base.js +0 -19
  134. package/dist/issuer-events/common.d.ts +4 -35
  135. package/dist/issuer-events/common.js +16 -38
  136. package/dist/issuer-events/configuration.d.ts +24 -17
  137. package/dist/issuer-events/configuration.js +3 -3
  138. package/dist/pin/api.d.ts +0 -76
  139. package/dist/pin/api.js +3 -15
  140. package/dist/pin/base.d.ts +0 -24
  141. package/dist/pin/base.js +0 -19
  142. package/dist/pin/common.d.ts +4 -35
  143. package/dist/pin/common.js +16 -38
  144. package/dist/pin/configuration.d.ts +24 -17
  145. package/dist/pin/configuration.js +3 -3
  146. package/dist/threeds/api.d.ts +0 -18
  147. package/dist/threeds/api.js +1 -8
  148. package/dist/threeds/base.d.ts +0 -24
  149. package/dist/threeds/base.js +0 -19
  150. package/dist/threeds/common.d.ts +4 -35
  151. package/dist/threeds/common.js +16 -38
  152. package/dist/threeds/configuration.d.ts +24 -17
  153. package/dist/threeds/configuration.js +3 -3
  154. package/dist/threeds-oob/api.d.ts +0 -90
  155. package/dist/threeds-oob/api.js +2 -9
  156. package/dist/threeds-oob/base.d.ts +0 -24
  157. package/dist/threeds-oob/base.js +0 -19
  158. package/dist/threeds-oob/common.d.ts +4 -35
  159. package/dist/threeds-oob/common.js +16 -38
  160. package/dist/threeds-oob/configuration.d.ts +24 -17
  161. package/dist/threeds-oob/configuration.js +3 -3
  162. package/dist/transaction-event/api.d.ts +2 -453
  163. package/dist/transaction-event/api.js +13 -28
  164. package/dist/transaction-event/base.d.ts +0 -24
  165. package/dist/transaction-event/base.js +0 -19
  166. package/dist/transaction-event/common.d.ts +4 -35
  167. package/dist/transaction-event/common.js +16 -38
  168. package/dist/transaction-event/configuration.d.ts +24 -17
  169. package/dist/transaction-event/configuration.js +3 -3
  170. package/dist/wallet/api.d.ts +0 -342
  171. package/dist/wallet/api.js +29 -83
  172. package/dist/wallet/base.d.ts +0 -24
  173. package/dist/wallet/base.js +0 -19
  174. package/dist/wallet/common.d.ts +4 -35
  175. package/dist/wallet/common.js +16 -38
  176. package/dist/wallet/configuration.d.ts +24 -17
  177. package/dist/wallet/configuration.js +3 -3
  178. package/package.json +5 -2
  179. package/src/authorisation-control/api.ts +11 -314
  180. package/src/authorisation-control/base.ts +0 -24
  181. package/src/authorisation-control/common.ts +15 -38
  182. package/src/authorisation-control/configuration.ts +26 -20
  183. package/src/card/api.ts +80 -786
  184. package/src/card/base.ts +0 -24
  185. package/src/card/common.ts +15 -38
  186. package/src/card/configuration.ts +26 -20
  187. package/src/cardholder/api.ts +987 -714
  188. package/src/cardholder/base.ts +0 -24
  189. package/src/cardholder/common.ts +15 -38
  190. package/src/cardholder/configuration.ts +26 -20
  191. package/src/cards/api.ts +3 -11
  192. package/src/cards/base.ts +0 -24
  193. package/src/cards/common.ts +15 -38
  194. package/src/cards/configuration.ts +26 -20
  195. package/src/clearing-file-copy/api.ts +13 -510
  196. package/src/clearing-file-copy/base.ts +0 -24
  197. package/src/clearing-file-copy/common.ts +15 -38
  198. package/src/clearing-file-copy/configuration.ts +26 -20
  199. package/src/issuer-events/api.ts +661 -628
  200. package/src/issuer-events/base.ts +0 -24
  201. package/src/issuer-events/common.ts +15 -38
  202. package/src/issuer-events/configuration.ts +26 -20
  203. package/src/pin/api.ts +4 -83
  204. package/src/pin/base.ts +0 -24
  205. package/src/pin/common.ts +15 -38
  206. package/src/pin/configuration.ts +26 -20
  207. package/src/threeds/api.ts +2 -22
  208. package/src/threeds/base.ts +0 -24
  209. package/src/threeds/common.ts +15 -38
  210. package/src/threeds/configuration.ts +26 -20
  211. package/src/threeds-oob/api.ts +3 -95
  212. package/src/threeds-oob/base.ts +0 -24
  213. package/src/threeds-oob/common.ts +15 -38
  214. package/src/threeds-oob/configuration.ts +26 -20
  215. package/src/transaction-event/api.ts +14 -465
  216. package/src/transaction-event/base.ts +0 -24
  217. package/src/transaction-event/common.ts +15 -38
  218. package/src/transaction-event/configuration.ts +26 -20
  219. package/src/wallet/api.ts +30 -377
  220. package/src/wallet/base.ts +0 -24
  221. package/src/wallet/common.ts +15 -38
  222. package/src/wallet/configuration.ts +26 -20
package/src/wallet/api.ts CHANGED
@@ -18,85 +18,51 @@ 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 ActivateResponse
30
- */
31
26
  export interface ActivateResponse {
32
- /**
33
- *
34
- * @type {string}
35
- * @memberof ActivateResponse
36
- */
37
27
  'activationData': string;
38
28
  }
39
- /**
40
- *
41
- * @export
42
- * @interface AppleParametersRequest
43
- */
44
29
  export interface AppleParametersRequest {
45
30
  /**
46
31
  * List of base64 encoded X.509 certificates in the certificate chain.
47
- * @type {Array<string>}
48
- * @memberof AppleParametersRequest
49
32
  */
50
33
  'certificates': Array<string>;
51
34
  /**
52
35
  * Lowercase hex string of the nonce given to the application via delegate callback.
53
- * @type {string}
54
- * @memberof AppleParametersRequest
55
36
  */
56
37
  'nonce': string;
57
38
  /**
58
39
  * Lowercase hex string of the nonce signature given to the application via delegate callback.
59
- * @type {string}
60
- * @memberof AppleParametersRequest
61
40
  */
62
41
  'nonceSignature': string;
63
42
  }
64
- /**
65
- *
66
- * @export
67
- * @interface AppleProvisioningResponse
68
- */
69
43
  export interface AppleProvisioningResponse {
70
44
  /**
71
45
  * The activationData is a Base64 encoded crypto OTP value which is sent to the payment scheme which they will validate by using keys shared with Enfuce. - Visa: WSD key - MC: TAV key
72
- * @type {string}
73
- * @memberof AppleProvisioningResponse
74
46
  */
75
47
  'activationData': string;
76
48
  /**
77
49
  * The encryptedPassData is base64 encoded for Visa and hex string for Mastercard. Encrypted payload contains these fields: - primaryAccountNumber - The full primary account number (PAN), digits only - expiration - The expiration date as a string. For example, 11/24 - name - Name of the card holder - nonce - The hex string for the nonce value, provided in the delegate callback - nonceSignature - The hex string for the nonce signature, provided in the delegate callback
78
- * @type {string}
79
- * @memberof AppleProvisioningResponse
80
50
  */
81
51
  'encryptedPassData': string;
82
52
  /**
83
53
  * The ephemeralPublicKey is base64 encoded for Visa and hex string for Mastercard.
84
- * @type {string}
85
- * @memberof AppleProvisioningResponse
86
54
  */
87
55
  'ephemeralPublicKey': string;
88
56
  }
89
57
  /**
90
58
  * The wallets common name for authorization decision.
91
- * @export
92
- * @enum {string}
93
59
  */
94
60
 
95
61
  export const AuthorizationDecisionColor = {
96
62
  Green: 'GREEN',
97
63
  Yellow: 'YELLOW',
98
64
  Orange: 'ORANGE',
99
- Red: 'RED'
65
+ Red: 'RED',
100
66
  } as const;
101
67
 
102
68
  export type AuthorizationDecisionColor = typeof AuthorizationDecisionColor[keyof typeof AuthorizationDecisionColor];
@@ -104,45 +70,28 @@ export type AuthorizationDecisionColor = typeof AuthorizationDecisionColor[keyof
104
70
 
105
71
  /**
106
72
  * Device information.
107
- * @export
108
- * @interface DeviceInfo
109
73
  */
110
74
  export interface DeviceInfo {
111
75
  /**
112
76
  * User-defined name of the device provided by the wallet or operating system.
113
- * @type {string}
114
- * @memberof DeviceInfo
115
77
  */
116
78
  'deviceName'?: string;
117
79
  /**
118
80
  * Indicates the type of device on which the token is provisioned. Typical values include PHONE, WATCH, TABLET, or WEARABLE.
119
- * @type {string}
120
- * @memberof DeviceInfo
121
81
  */
122
82
  'deviceType'?: string;
123
83
  /**
124
84
  * Operating system running on the device. Typical values include IOS, ANDROID, or WATCHOS.
125
- * @type {string}
126
- * @memberof DeviceInfo
127
85
  */
128
86
  'operatingSystem'?: string;
129
87
  }
130
- /**
131
- *
132
- * @export
133
- * @interface EligibleTokenRequestorsRequest
134
- */
135
88
  export interface EligibleTokenRequestorsRequest {
136
89
  /**
137
90
  * List of card IDs to filter the eligible token requestors.
138
- * @type {Array<string>}
139
- * @memberof EligibleTokenRequestorsRequest
140
91
  */
141
92
  'cardIds'?: Array<string>;
142
93
  /**
143
94
  * List of push methods supported by the token requestors — filters the token requestors that support at least one the methods sent in the request. Possible values are: * \"ANDROID\": The URI is an Android app intent. * \"IOS\": The URI is an iOS app intent. * \"WEB\": The URI is a browser URL.
144
- * @type {Array<string>}
145
- * @memberof EligibleTokenRequestorsRequest
146
95
  */
147
96
  'availablePushMethods'?: Array<EligibleTokenRequestorsRequestAvailablePushMethodsEnum>;
148
97
  }
@@ -150,281 +99,171 @@ export interface EligibleTokenRequestorsRequest {
150
99
  export const EligibleTokenRequestorsRequestAvailablePushMethodsEnum = {
151
100
  Android: 'ANDROID',
152
101
  Ios: 'IOS',
153
- Web: 'WEB'
102
+ Web: 'WEB',
154
103
  } as const;
155
104
 
156
105
  export type EligibleTokenRequestorsRequestAvailablePushMethodsEnum = typeof EligibleTokenRequestorsRequestAvailablePushMethodsEnum[keyof typeof EligibleTokenRequestorsRequestAvailablePushMethodsEnum];
157
106
 
158
- /**
159
- *
160
- * @export
161
- * @interface EligibleTokenRequestorsResponse
162
- */
163
107
  export interface EligibleTokenRequestorsResponse {
164
108
  /**
165
109
  * List of eligible Token Requestors.
166
- * @type {Array<EligibleTokenRequestorsResponseTokenRequestorsInner>}
167
- * @memberof EligibleTokenRequestorsResponse
168
110
  */
169
111
  'tokenRequestors'?: Array<EligibleTokenRequestorsResponseTokenRequestorsInner>;
170
112
  }
171
- /**
172
- *
173
- * @export
174
- * @interface EligibleTokenRequestorsResponseTokenRequestorsInner
175
- */
176
113
  export interface EligibleTokenRequestorsResponseTokenRequestorsInner {
177
114
  /**
178
115
  * Unique identifier of the token requestor.
179
- * @type {string}
180
- * @memberof EligibleTokenRequestorsResponseTokenRequestorsInner
181
116
  */
182
117
  'tokenRequestorId'?: string;
183
118
  /**
184
119
  * The legal name of the token requestor.
185
- * @type {string}
186
- * @memberof EligibleTokenRequestorsResponseTokenRequestorsInner
187
120
  */
188
121
  'name'?: string;
189
122
  /**
190
123
  * The name of the token requestor to be displayed to the account holder.
191
- * @type {string}
192
- * @memberof EligibleTokenRequestorsResponseTokenRequestorsInner
193
124
  */
194
125
  'consumerFacingEntityName'?: string;
195
126
  /**
196
127
  * The type of the token requestor. * MERCHANT: The Token Requestor is a merchant. * WALLET: The Token Requestor is a digital wallet or an ecommerce platform.
197
- * @type {string}
198
- * @memberof EligibleTokenRequestorsResponseTokenRequestorsInner
199
128
  */
200
129
  'tokenRequestorType'?: EligibleTokenRequestorsResponseTokenRequestorsInnerTokenRequestorTypeEnum;
201
130
  /**
202
131
  * The identifier of the digital wallet provider. Returned only when the token is provided to a digital wallet provider.
203
- * @type {string}
204
- * @memberof EligibleTokenRequestorsResponseTokenRequestorsInner
205
132
  */
206
133
  'walletId'?: string;
207
134
  /**
208
135
  * Array of account range start numbers enabled for the token requestor. The start numbers will be 19 digits in length.
209
- * @type {Array<number>}
210
- * @memberof EligibleTokenRequestorsResponseTokenRequestorsInner
211
136
  */
212
137
  'enabledAccountRanges'?: Array<number>;
213
138
  /**
214
139
  * Array of programIds that are supported for the Token Requestor. Show the appropriate token requestors for the cards by matching the programIds.
215
- * @type {Array<string>}
216
- * @memberof EligibleTokenRequestorsResponseTokenRequestorsInner
217
140
  */
218
141
  'programIds'?: Array<string>;
219
142
  /**
220
143
  * Indicates whether the token requestor supports addition of multiple cards in a single request. When supported, a maximum of 5 cards might be sent to the token requestor in a single request.
221
- * @type {boolean}
222
- * @memberof EligibleTokenRequestorsResponseTokenRequestorsInner
223
144
  */
224
145
  'supportsMultiplePushedCards'?: boolean;
225
146
  /**
226
147
  * Account holder\'s data that the token requestor accepts from the issuer for a specific card or an account. Possible values are: * `NAME`: The first name and last name of the account holder. * `ADDRESS`: The billing address for the account holder. * `EMAIL_ADDRESS`: The email address for the account holder. * `MOBILE_PHONE_NUMBER`: The mobile phone number for the account holder.
227
- * @type {Array<string>}
228
- * @memberof EligibleTokenRequestorsResponseTokenRequestorsInner
229
148
  */
230
149
  'supportedAccountHolderData'?: Array<string>;
231
150
  /**
232
151
  * Indicates whether the token requestor supports cardholder authentication, after the token is activated. Possible values are: * `TRUE`: Post Tokenization Cardholder Authentication (Consent Service) is supported. * `FALSE`: Post Tokenization Cardholder Authentication (Consent Service) is not supported.
233
- * @type {boolean}
234
- * @memberof EligibleTokenRequestorsResponseTokenRequestorsInner
235
152
  */
236
153
  'supportsCardHolderAuthentication'?: boolean;
237
154
  /**
238
155
  * List of push methods supported by the token requestor. __Conditional.__ Required if the push operation was successful. Not present otherwise.
239
- * @type {Array<PushMethod>}
240
- * @memberof EligibleTokenRequestorsResponseTokenRequestorsInner
241
156
  */
242
157
  'availablePushMethods'?: Array<PushMethod>;
243
158
  /**
244
159
  * Indicates whether the token requestor supports issuer initiated digitisation (push provisioning). Possible values are: - `TRUE`: Supports issuer initiated digitisation. - `FALSE`: Does not support issuer initiated.
245
- * @type {boolean}
246
- * @memberof EligibleTokenRequestorsResponseTokenRequestorsInner
247
160
  */
248
161
  'supportIssuerInitiatedDigitizationData'?: boolean;
249
162
  /**
250
163
  * Contains all contents of the asset, including all variations. When the asset corresponds to a token requestor\'s logo, the logo is provided both in .svg as well as in .png format.
251
- * @type {Array<EligibleTokenRequestorsResponseTokenRequestorsInnerMediaContentsInner>}
252
- * @memberof EligibleTokenRequestorsResponseTokenRequestorsInner
253
164
  */
254
165
  'mediaContents'?: Array<EligibleTokenRequestorsResponseTokenRequestorsInnerMediaContentsInner>;
255
166
  }
256
167
 
257
168
  export const EligibleTokenRequestorsResponseTokenRequestorsInnerTokenRequestorTypeEnum = {
258
169
  Merchant: 'MERCHANT',
259
- Wallet: 'WALLET'
170
+ Wallet: 'WALLET',
260
171
  } as const;
261
172
 
262
173
  export type EligibleTokenRequestorsResponseTokenRequestorsInnerTokenRequestorTypeEnum = typeof EligibleTokenRequestorsResponseTokenRequestorsInnerTokenRequestorTypeEnum[keyof typeof EligibleTokenRequestorsResponseTokenRequestorsInnerTokenRequestorTypeEnum];
263
174
 
264
175
  /**
265
176
  * The content of the media. When the asset corresponds to a token requestor\'s logo, the content is a square image.
266
- * @export
267
- * @interface EligibleTokenRequestorsResponseTokenRequestorsInnerMediaContentsInner
268
177
  */
269
178
  export interface EligibleTokenRequestorsResponseTokenRequestorsInnerMediaContentsInner {
270
179
  /**
271
180
  * What type of media this is. __Max Length:__ 32. Specified as a MIME type, which will be one of the following supported types: * \"application/pdf\": for images (must be a vector PDF image) * \"image/png\": includes alpha channel * \"image/svg+xml\": image in SVG format * \"text/plain\" * \"text/html\"
272
- * @type {string}
273
- * @memberof EligibleTokenRequestorsResponseTokenRequestorsInnerMediaContentsInner
274
181
  */
275
182
  'type': string;
276
183
  /**
277
184
  * The data for this item of media. Base64-encoded data, where the decoded data is in the format as specified in ‘type\'.
278
- * @type {string}
279
- * @memberof EligibleTokenRequestorsResponseTokenRequestorsInnerMediaContentsInner
280
185
  */
281
186
  'data': string;
282
187
  /**
283
188
  * For non-SVG image assets, the height of the image. Specified in pixels. __Max Length:__ 6.
284
- * @type {string}
285
- * @memberof EligibleTokenRequestorsResponseTokenRequestorsInnerMediaContentsInner
286
189
  */
287
190
  'height'?: string;
288
191
  /**
289
192
  * For non-SVG image assets, the width of the image. Specified in pixels. __Max Length:__ 6.
290
- * @type {string}
291
- * @memberof EligibleTokenRequestorsResponseTokenRequestorsInnerMediaContentsInner
292
193
  */
293
194
  'width'?: string;
294
195
  }
295
- /**
296
- *
297
- * @export
298
- * @interface ErrorResponse
299
- */
300
196
  export interface ErrorResponse {
301
197
  /**
302
198
  * The problem type.
303
- * @type {string}
304
- * @memberof ErrorResponse
305
199
  */
306
200
  'type'?: string;
307
201
  /**
308
202
  * The reason phrase of HttpStatus.
309
- * @type {string}
310
- * @memberof ErrorResponse
311
203
  */
312
204
  'title'?: string;
313
205
  /**
314
206
  * HTTP problem status.
315
- * @type {number}
316
- * @memberof ErrorResponse
317
207
  */
318
208
  'status'?: number;
319
209
  /**
320
210
  * The problem detail.
321
- * @type {string}
322
- * @memberof ErrorResponse
323
211
  */
324
212
  'detail'?: string;
325
213
  /**
326
214
  * The request path.
327
- * @type {string}
328
- * @memberof ErrorResponse
329
215
  */
330
216
  'instance'?: string;
331
217
  /**
332
218
  * Unique error identifier.
333
- * @type {string}
334
- * @memberof ErrorResponse
335
219
  */
336
220
  'id'?: string;
337
221
  /**
338
222
  * Date-time when error occurred.
339
- * @type {string}
340
- * @memberof ErrorResponse
341
223
  */
342
224
  'timestamp'?: string;
343
225
  }
344
- /**
345
- *
346
- * @export
347
- * @interface ExternalResponseIssuerInitiatedDigitizationData
348
- */
349
226
  export interface ExternalResponseIssuerInitiatedDigitizationData {
350
227
  /**
351
228
  * Base64 encoded json structure containing needed data for MDES/VTS
352
- * @type {string}
353
- * @memberof ExternalResponseIssuerInitiatedDigitizationData
354
229
  */
355
230
  'digitizationData'?: string;
356
231
  }
357
- /**
358
- *
359
- * @export
360
- * @interface GoogleParametersRequest
361
- */
362
232
  export interface GoogleParametersRequest {
363
233
  /**
364
234
  * Only applicable for VTS customers
365
- * @type {string}
366
- * @memberof GoogleParametersRequest
367
235
  */
368
236
  'clientAppID'?: string;
369
- /**
370
- *
371
- * @type {string}
372
- * @memberof GoogleParametersRequest
373
- */
374
237
  'clientDeviceID'?: string;
375
- /**
376
- *
377
- * @type {string}
378
- * @memberof GoogleParametersRequest
379
- */
380
238
  'clientWalletAccountID'?: string;
381
239
  }
382
- /**
383
- *
384
- * @export
385
- * @interface PushAccountsToTokenRequestorRequest
386
- */
387
240
  export interface PushAccountsToTokenRequestorRequest {
388
241
  /**
389
242
  * Unique identifier of the token requestor.
390
- * @type {string}
391
- * @memberof PushAccountsToTokenRequestorRequest
392
243
  */
393
244
  'tokenRequestorId': string;
394
245
  /**
395
246
  * List of card IDs to be added to the token requestor server.
396
- * @type {Array<string>}
397
- * @memberof PushAccountsToTokenRequestorRequest
398
247
  */
399
248
  'cardIds': Array<string>;
400
249
  /**
401
250
  * The token requestor\'s mobile or web application URI.
402
- * @type {string}
403
- * @memberof PushAccountsToTokenRequestorRequest
404
251
  */
405
252
  'callbackURL'?: string;
406
253
  /**
407
254
  * Cardholder\'s preferred locale (language and country). This information is useful to the token requestor to provide an optimised user experience. **Format**: Two letter ISO 639-1 language in lowercase, with a underscore (”_”), followed by two letter ISO 3166-1 country code in uppercase.
408
- * @type {string}
409
- * @memberof PushAccountsToTokenRequestorRequest
410
255
  */
411
256
  'locale'?: string;
412
257
  /**
413
258
  * Account holder\'s information. Information included in this list is sent to the token requestor, only when requestor supports `supportedAccountHolderData`. Otherwise the values are filtered out. Possible values are: * `ALL_SUPPORTED`: The Token Requestor\'s accepts `supportedAccountHolderData` object. * `NAME`: The first and the last name of the account holder. * `ADDRESS`: The billing address for the account holder. * `EMAIL_ADDRESS`: The email address for the account holder. * `MOBILE_PHONE_NUMBER`: The mobile phone number for the account holder.
414
- * @type {Array<string>}
415
- * @memberof PushAccountsToTokenRequestorRequest
416
259
  */
417
260
  'includeAccountHolderData'?: Array<PushAccountsToTokenRequestorRequestIncludeAccountHolderDataEnum>;
418
261
  /**
419
262
  * Indicates whether the endpoint response would include issuer initiated digitization data (push provisioning information). Possible values are: - `TRUE`- Send `YES` if the endpoint response must include push provisioning data. - `FALSE`- Send `NO` if the endpoint response must not include push provisioning data.
420
- * @type {boolean}
421
- * @memberof PushAccountsToTokenRequestorRequest
422
263
  */
423
264
  'requestIssuerInitiatedDigitizationData'?: boolean;
424
265
  /**
425
266
  * The session Id provided by the token requestor; applicable when the card is added through pull provisioning method.
426
- * @type {string}
427
- * @memberof PushAccountsToTokenRequestorRequest
428
267
  */
429
268
  'tokenRequestorSessionId'?: string;
430
269
  }
@@ -434,120 +273,69 @@ export const PushAccountsToTokenRequestorRequestIncludeAccountHolderDataEnum = {
434
273
  Name: 'NAME',
435
274
  Address: 'ADDRESS',
436
275
  EmailAddress: 'EMAIL_ADDRESS',
437
- MobilePhoneNumber: 'MOBILE_PHONE_NUMBER'
276
+ MobilePhoneNumber: 'MOBILE_PHONE_NUMBER',
438
277
  } as const;
439
278
 
440
279
  export type PushAccountsToTokenRequestorRequestIncludeAccountHolderDataEnum = typeof PushAccountsToTokenRequestorRequestIncludeAccountHolderDataEnum[keyof typeof PushAccountsToTokenRequestorRequestIncludeAccountHolderDataEnum];
441
280
 
442
- /**
443
- *
444
- * @export
445
- * @interface PushAccountsToTokenRequestorResponse
446
- */
447
281
  export interface PushAccountsToTokenRequestorResponse {
448
282
  /**
449
283
  * Mastercard-signed package that validates the authenticity of the push provisioning response. Your application infrastructure uses this data before redirecting the cardholder to the digital wallet/merchant (for example, through a redirect or SDK call). The wallet can verify the response originated from Mastercard MDES.
450
- * @type {string}
451
- * @memberof PushAccountsToTokenRequestorResponse
452
284
  */
453
285
  'signatureAccountData'?: string;
454
286
  /**
455
287
  * Returned for each card added to the digital wallet/merchant.
456
- * @type {Array<PushAccountsToTokenRequestorResponsePushAccountReceiptsInner>}
457
- * @memberof PushAccountsToTokenRequestorResponse
458
288
  */
459
289
  'pushAccountReceipts'?: Array<PushAccountsToTokenRequestorResponsePushAccountReceiptsInner>;
460
290
  /**
461
291
  * Array of push methods supported by the token requestor. Present only when the push operation is successful.
462
- * @type {Array<PushMethod>}
463
- * @memberof PushAccountsToTokenRequestorResponse
464
292
  */
465
293
  'availablePushMethods'?: Array<PushMethod>;
466
294
  }
467
- /**
468
- *
469
- * @export
470
- * @interface PushAccountsToTokenRequestorResponsePushAccountReceiptsInner
471
- */
472
295
  export interface PushAccountsToTokenRequestorResponsePushAccountReceiptsInner {
473
296
  /**
474
297
  * Unique identifier of a card added to digital wallet/merchant.
475
- * @type {string}
476
- * @memberof PushAccountsToTokenRequestorResponsePushAccountReceiptsInner
477
298
  */
478
299
  'cardId': string;
479
300
  /**
480
301
  * Unique reference number to identify the card added to the digital wallet/merchant.
481
- * @type {string}
482
- * @memberof PushAccountsToTokenRequestorResponsePushAccountReceiptsInner
483
302
  */
484
303
  'pushAccountReceipt': string;
485
304
  /**
486
305
  * Base64Encoded String of fundingAccountInfo object that issuer can pass to Token Requestor proprietary communication.
487
- * @type {string}
488
- * @memberof PushAccountsToTokenRequestorResponsePushAccountReceiptsInner
489
306
  */
490
307
  'issuerInitiatedDigitizationData'?: string;
491
- /**
492
- *
493
- * @type {Array<PushAccountsToTokenRequestorResponsePushAccountReceiptsInnerErrorsInner>}
494
- * @memberof PushAccountsToTokenRequestorResponsePushAccountReceiptsInner
495
- */
496
308
  'errors'?: Array<PushAccountsToTokenRequestorResponsePushAccountReceiptsInnerErrorsInner>;
497
309
  }
498
- /**
499
- *
500
- * @export
501
- * @interface PushAccountsToTokenRequestorResponsePushAccountReceiptsInnerErrorsInner
502
- */
503
310
  export interface PushAccountsToTokenRequestorResponsePushAccountReceiptsInnerErrorsInner {
504
311
  /**
505
312
  * Indicates the source of the error. Possible values are: * `INPUT`: Service input data triggered an error. * `MDES`: MDES reported an error.
506
- * @type {string}
507
- * @memberof PushAccountsToTokenRequestorResponsePushAccountReceiptsInnerErrorsInner
508
313
  */
509
314
  'source': string;
510
315
  /**
511
316
  * A reason code for the error that has occurred. See Error Reason Code definitions for the appropriate API service.
512
- * @type {string}
513
- * @memberof PushAccountsToTokenRequestorResponsePushAccountReceiptsInnerErrorsInner
514
317
  */
515
318
  'reasonCode': string;
516
319
  /**
517
320
  * Describes why the operation failed.
518
- * @type {string}
519
- * @memberof PushAccountsToTokenRequestorResponsePushAccountReceiptsInnerErrorsInner
520
321
  */
521
322
  'description'?: string;
522
323
  /**
523
324
  * HTTP error response code cases. __Max Length:__ 100
524
- * @type {string}
525
- * @memberof PushAccountsToTokenRequestorResponsePushAccountReceiptsInnerErrorsInner
526
325
  */
527
326
  'errorCode'?: string;
528
327
  /**
529
328
  * Only generated by Open API. See Open API documentation.
530
- * @type {boolean}
531
- * @memberof PushAccountsToTokenRequestorResponsePushAccountReceiptsInnerErrorsInner
532
329
  */
533
330
  'recoverable'?: boolean;
534
331
  }
535
- /**
536
- *
537
- * @export
538
- * @interface PushMethod
539
- */
540
332
  export interface PushMethod {
541
333
  /**
542
334
  * The push method type corresponding to the URI supported by the Token Requestor. The array is absent if the Token Requestor does not support MDES Token Connect. __Max Length:__ 32 Possible values are: * \"ANDROID\": The URI is an Android app intent. * \"IOS\": The URI is an iOS app intent. * \"WEB\": The URI is a browser URL.
543
- * @type {string}
544
- * @memberof PushMethod
545
335
  */
546
336
  'type': PushMethodTypeEnum;
547
337
  /**
548
338
  * The token requestor\'s application or website URI. | _Note_: Refer to the Issuer Interface Implementation Guide for the detail of how to send the data to the Token Requestor. __Max Length:__ 128
549
- * @type {string}
550
- * @memberof PushMethod
551
339
  */
552
340
  'uri': string;
553
341
  }
@@ -555,66 +343,38 @@ export interface PushMethod {
555
343
  export const PushMethodTypeEnum = {
556
344
  Android: 'ANDROID',
557
345
  Ios: 'IOS',
558
- Web: 'WEB'
346
+ Web: 'WEB',
559
347
  } as const;
560
348
 
561
349
  export type PushMethodTypeEnum = typeof PushMethodTypeEnum[keyof typeof PushMethodTypeEnum];
562
350
 
563
- /**
564
- *
565
- * @export
566
- * @interface ResourceResponse
567
- */
568
351
  export interface ResourceResponse {
569
352
  /**
570
353
  * A description of the result of the action
571
- * @type {string}
572
- * @memberof ResourceResponse
573
354
  */
574
355
  'description'?: string;
575
356
  /**
576
357
  * Token Unique Reference ID
577
- * @type {string}
578
- * @memberof ResourceResponse
579
358
  */
580
359
  'id'?: string;
581
360
  }
582
- /**
583
- *
584
- * @export
585
- * @interface SamsungParametersRequest
586
- */
587
361
  export interface SamsungParametersRequest {
588
362
  /**
589
363
  * Only applicable for VTS customers
590
- * @type {string}
591
- * @memberof SamsungParametersRequest
592
364
  */
593
365
  'clientAppID'?: string;
594
- /**
595
- *
596
- * @type {string}
597
- * @memberof SamsungParametersRequest
598
- */
599
366
  'clientDeviceID'?: string;
600
- /**
601
- *
602
- * @type {string}
603
- * @memberof SamsungParametersRequest
604
- */
605
367
  'clientWalletAccountID'?: string;
606
368
  }
607
369
  /**
608
370
  * Code of the wallet provider or merchant that requested the token (APPLE_PAY /GOOGLE_PAY/SAMSUNG_PAY/OTHER). OTHER is used for tokens not linked to a wallet provider, such as merchant tokens (credential-on-file, subscription payments) or cloud tokens (e.g., Mastercard APANs).
609
- * @export
610
- * @enum {string}
611
371
  */
612
372
 
613
373
  export const TokenRequestor = {
614
374
  ApplePay: 'APPLE_PAY',
615
375
  GooglePay: 'GOOGLE_PAY',
616
376
  SamsungPay: 'SAMSUNG_PAY',
617
- Other: 'OTHER'
377
+ Other: 'OTHER',
618
378
  } as const;
619
379
 
620
380
  export type TokenRequestor = typeof TokenRequestor[keyof typeof TokenRequestor];
@@ -622,102 +382,60 @@ export type TokenRequestor = typeof TokenRequestor[keyof typeof TokenRequestor];
622
382
 
623
383
  /**
624
384
  * Represents a digital wallet token.
625
- * @export
626
- * @interface TokenResponse
627
385
  */
628
386
  export interface TokenResponse {
629
387
  /**
630
388
  * A unique identifier for the token assigned by the Token Service Provider (TSP) (eg. Visa or MC) to manage the lifecycle of the token.
631
- * @type {string}
632
- * @memberof TokenResponse
633
389
  */
634
390
  'tokenUniqueReferenceId'?: string;
635
391
  /**
636
392
  * Identifier used by merchants or wallet providers to request tokens from the TSP.
637
- * @type {string}
638
- * @memberof TokenResponse
639
393
  */
640
394
  'tokenRequestorId'?: string;
641
- /**
642
- *
643
- * @type {TokenRequestor}
644
- * @memberof TokenResponse
645
- */
646
395
  'tokenRequestor'?: TokenRequestor;
647
- /**
648
- *
649
- * @type {TokenStatus}
650
- * @memberof TokenResponse
651
- */
652
396
  'status'?: TokenStatus;
653
397
  /**
654
398
  * The last 4 digits of the tokenised PAN (DPAN) used for display and identification purposes.
655
- * @type {string}
656
- * @memberof TokenResponse
657
399
  */
658
400
  'tokenSuffix'?: string;
659
401
  /**
660
402
  * If the token was deleted from the consumer app
661
- * @type {boolean}
662
- * @memberof TokenResponse
663
403
  */
664
404
  'deletedFromConsumerApp'?: boolean;
665
- /**
666
- *
667
- * @type {AuthorizationDecisionColor}
668
- * @memberof TokenResponse
669
- */
670
405
  'authorizationDecision'?: AuthorizationDecisionColor;
671
406
  /**
672
407
  * The id of the card associated with the token.
673
- * @type {string}
674
- * @memberof TokenResponse
675
408
  */
676
409
  'cardId'?: string;
677
410
  /**
678
411
  * The timestamp when the token was created by the TSP.
679
- * @type {string}
680
- * @memberof TokenResponse
681
412
  */
682
413
  'createdAt'?: string;
683
414
  /**
684
415
  * The timestamp of the most recent update to the token’s status.
685
- * @type {string}
686
- * @memberof TokenResponse
687
416
  */
688
417
  'updatedAt'?: string;
689
418
  /**
690
419
  * The version number of the entity.
691
- * @type {number}
692
- * @memberof TokenResponse
693
420
  */
694
421
  'updateCount'?: number;
695
422
  /**
696
423
  * The raw payload from the card scheme, if available.
697
- * @type {string}
698
- * @memberof TokenResponse
699
424
  */
700
425
  'cardSchemePayload'?: string;
701
- /**
702
- *
703
- * @type {DeviceInfo}
704
- * @memberof TokenResponse
705
- */
706
426
  'deviceInfo'?: DeviceInfo;
707
427
  }
708
428
 
709
429
 
710
430
  /**
711
431
  * Current status of the token: - ACTIVE - Available for payments - DEACTIVATED - Permanently deactivated - INACTIVE - Waiting for activation - SUSPENDED - Temporarily not available for payments
712
- * @export
713
- * @enum {string}
714
432
  */
715
433
 
716
434
  export const TokenStatus = {
717
435
  Active: 'ACTIVE',
718
436
  Deactivated: 'DEACTIVATED',
719
437
  Inactive: 'INACTIVE',
720
- Suspended: 'SUSPENDED'
438
+ Suspended: 'SUSPENDED',
721
439
  } as const;
722
440
 
723
441
  export type TokenStatus = typeof TokenStatus[keyof typeof TokenStatus];
@@ -726,7 +444,6 @@ export type TokenStatus = typeof TokenStatus[keyof typeof TokenStatus];
726
444
 
727
445
  /**
728
446
  * ActivateTokenApi - axios parameter creator
729
- * @export
730
447
  */
731
448
  export const ActivateTokenApiAxiosParamCreator = function (configuration?: Configuration) {
732
449
  return {
@@ -742,7 +459,7 @@ export const ActivateTokenApiAxiosParamCreator = function (configuration?: Confi
742
459
  // verify required parameter 'cardId' is not null or undefined
743
460
  assertParamExists('activate', 'cardId', cardId)
744
461
  const localVarPath = `/v1/wallet/{cardId}/activate`
745
- .replace(`{${"cardId"}}`, encodeURIComponent(String(cardId)));
462
+ .replace('{cardId}', encodeURIComponent(String(cardId)));
746
463
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
747
464
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
748
465
  let baseOptions;
@@ -758,8 +475,8 @@ export const ActivateTokenApiAxiosParamCreator = function (configuration?: Confi
758
475
  // http bearer authentication required
759
476
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
760
477
 
478
+ localVarHeaderParameter['Accept'] = 'application/json';
761
479
 
762
-
763
480
  if (xAuditUser != null) {
764
481
  localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
765
482
  }
@@ -785,7 +502,7 @@ export const ActivateTokenApiAxiosParamCreator = function (configuration?: Confi
785
502
  // verify required parameter 'id' is not null or undefined
786
503
  assertParamExists('activateToken', 'id', id)
787
504
  const localVarPath = `/v1/wallet/tokens/{id}/activate`
788
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
505
+ .replace('{id}', encodeURIComponent(String(id)));
789
506
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
790
507
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
791
508
  let baseOptions;
@@ -801,8 +518,8 @@ export const ActivateTokenApiAxiosParamCreator = function (configuration?: Confi
801
518
  // http bearer authentication required
802
519
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
803
520
 
521
+ localVarHeaderParameter['Accept'] = 'application/json';
804
522
 
805
-
806
523
  if (xIdempotencyKey != null) {
807
524
  localVarHeaderParameter['x-idempotency-key'] = String(xIdempotencyKey);
808
525
  }
@@ -823,7 +540,6 @@ export const ActivateTokenApiAxiosParamCreator = function (configuration?: Confi
823
540
 
824
541
  /**
825
542
  * ActivateTokenApi - functional programming interface
826
- * @export
827
543
  */
828
544
  export const ActivateTokenApiFp = function(configuration?: Configuration) {
829
545
  const localVarAxiosParamCreator = ActivateTokenApiAxiosParamCreator(configuration)
@@ -862,7 +578,6 @@ export const ActivateTokenApiFp = function(configuration?: Configuration) {
862
578
 
863
579
  /**
864
580
  * ActivateTokenApi - factory interface
865
- * @export
866
581
  */
867
582
  export const ActivateTokenApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
868
583
  const localVarFp = ActivateTokenApiFp(configuration)
@@ -895,9 +610,6 @@ export const ActivateTokenApiFactory = function (configuration?: Configuration,
895
610
 
896
611
  /**
897
612
  * ActivateTokenApi - object-oriented interface
898
- * @export
899
- * @class ActivateTokenApi
900
- * @extends {BaseAPI}
901
613
  */
902
614
  export class ActivateTokenApi extends BaseAPI {
903
615
  /**
@@ -907,7 +619,6 @@ export class ActivateTokenApi extends BaseAPI {
907
619
  * @param {string} [xAuditUser] Optional audit user header
908
620
  * @param {*} [options] Override http request option.
909
621
  * @throws {RequiredError}
910
- * @memberof ActivateTokenApi
911
622
  */
912
623
  public activate(cardId: string, xAuditUser?: string, options?: RawAxiosRequestConfig) {
913
624
  return ActivateTokenApiFp(this.configuration).activate(cardId, xAuditUser, options).then((request) => request(this.axios, this.basePath));
@@ -921,7 +632,6 @@ export class ActivateTokenApi extends BaseAPI {
921
632
  * @param {string} [xAuditUser] Optional audit user header
922
633
  * @param {*} [options] Override http request option.
923
634
  * @throws {RequiredError}
924
- * @memberof ActivateTokenApi
925
635
  */
926
636
  public activateToken(id: string, xIdempotencyKey?: string, xAuditUser?: string, options?: RawAxiosRequestConfig) {
927
637
  return ActivateTokenApiFp(this.configuration).activateToken(id, xIdempotencyKey, xAuditUser, options).then((request) => request(this.axios, this.basePath));
@@ -932,7 +642,6 @@ export class ActivateTokenApi extends BaseAPI {
932
642
 
933
643
  /**
934
644
  * DeactivateTokenApi - axios parameter creator
935
- * @export
936
645
  */
937
646
  export const DeactivateTokenApiAxiosParamCreator = function (configuration?: Configuration) {
938
647
  return {
@@ -949,7 +658,7 @@ export const DeactivateTokenApiAxiosParamCreator = function (configuration?: Con
949
658
  // verify required parameter 'id' is not null or undefined
950
659
  assertParamExists('deactivateToken', 'id', id)
951
660
  const localVarPath = `/v1/wallet/tokens/{id}/deactivate`
952
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
661
+ .replace('{id}', encodeURIComponent(String(id)));
953
662
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
954
663
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
955
664
  let baseOptions;
@@ -965,8 +674,8 @@ export const DeactivateTokenApiAxiosParamCreator = function (configuration?: Con
965
674
  // http bearer authentication required
966
675
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
967
676
 
677
+ localVarHeaderParameter['Accept'] = 'application/json';
968
678
 
969
-
970
679
  if (xIdempotencyKey != null) {
971
680
  localVarHeaderParameter['x-idempotency-key'] = String(xIdempotencyKey);
972
681
  }
@@ -987,7 +696,6 @@ export const DeactivateTokenApiAxiosParamCreator = function (configuration?: Con
987
696
 
988
697
  /**
989
698
  * DeactivateTokenApi - functional programming interface
990
- * @export
991
699
  */
992
700
  export const DeactivateTokenApiFp = function(configuration?: Configuration) {
993
701
  const localVarAxiosParamCreator = DeactivateTokenApiAxiosParamCreator(configuration)
@@ -1012,7 +720,6 @@ export const DeactivateTokenApiFp = function(configuration?: Configuration) {
1012
720
 
1013
721
  /**
1014
722
  * DeactivateTokenApi - factory interface
1015
- * @export
1016
723
  */
1017
724
  export const DeactivateTokenApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
1018
725
  const localVarFp = DeactivateTokenApiFp(configuration)
@@ -1034,9 +741,6 @@ export const DeactivateTokenApiFactory = function (configuration?: Configuration
1034
741
 
1035
742
  /**
1036
743
  * DeactivateTokenApi - object-oriented interface
1037
- * @export
1038
- * @class DeactivateTokenApi
1039
- * @extends {BaseAPI}
1040
744
  */
1041
745
  export class DeactivateTokenApi extends BaseAPI {
1042
746
  /**
@@ -1047,7 +751,6 @@ export class DeactivateTokenApi extends BaseAPI {
1047
751
  * @param {string} [xAuditUser] Optional audit user header
1048
752
  * @param {*} [options] Override http request option.
1049
753
  * @throws {RequiredError}
1050
- * @memberof DeactivateTokenApi
1051
754
  */
1052
755
  public deactivateToken(id: string, xIdempotencyKey?: string, xAuditUser?: string, options?: RawAxiosRequestConfig) {
1053
756
  return DeactivateTokenApiFp(this.configuration).deactivateToken(id, xIdempotencyKey, xAuditUser, options).then((request) => request(this.axios, this.basePath));
@@ -1058,7 +761,6 @@ export class DeactivateTokenApi extends BaseAPI {
1058
761
 
1059
762
  /**
1060
763
  * EligibleTokenRequestorsApi - axios parameter creator
1061
- * @export
1062
764
  */
1063
765
  export const EligibleTokenRequestorsApiAxiosParamCreator = function (configuration?: Configuration) {
1064
766
  return {
@@ -1087,9 +789,8 @@ export const EligibleTokenRequestorsApiAxiosParamCreator = function (configurati
1087
789
  // http bearer authentication required
1088
790
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
1089
791
 
1090
-
1091
-
1092
792
  localVarHeaderParameter['Content-Type'] = 'application/json';
793
+ localVarHeaderParameter['Accept'] = 'application/json';
1093
794
 
1094
795
  if (xAuditUser != null) {
1095
796
  localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
@@ -1109,7 +810,6 @@ export const EligibleTokenRequestorsApiAxiosParamCreator = function (configurati
1109
810
 
1110
811
  /**
1111
812
  * EligibleTokenRequestorsApi - functional programming interface
1112
- * @export
1113
813
  */
1114
814
  export const EligibleTokenRequestorsApiFp = function(configuration?: Configuration) {
1115
815
  const localVarAxiosParamCreator = EligibleTokenRequestorsApiAxiosParamCreator(configuration)
@@ -1133,7 +833,6 @@ export const EligibleTokenRequestorsApiFp = function(configuration?: Configurati
1133
833
 
1134
834
  /**
1135
835
  * EligibleTokenRequestorsApi - factory interface
1136
- * @export
1137
836
  */
1138
837
  export const EligibleTokenRequestorsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
1139
838
  const localVarFp = EligibleTokenRequestorsApiFp(configuration)
@@ -1154,9 +853,6 @@ export const EligibleTokenRequestorsApiFactory = function (configuration?: Confi
1154
853
 
1155
854
  /**
1156
855
  * EligibleTokenRequestorsApi - object-oriented interface
1157
- * @export
1158
- * @class EligibleTokenRequestorsApi
1159
- * @extends {BaseAPI}
1160
856
  */
1161
857
  export class EligibleTokenRequestorsApi extends BaseAPI {
1162
858
  /**
@@ -1166,7 +862,6 @@ export class EligibleTokenRequestorsApi extends BaseAPI {
1166
862
  * @param {EligibleTokenRequestorsRequest} [eligibleTokenRequestorsRequest]
1167
863
  * @param {*} [options] Override http request option.
1168
864
  * @throws {RequiredError}
1169
- * @memberof EligibleTokenRequestorsApi
1170
865
  */
1171
866
  public getEligibleTokenRequestors(xAuditUser?: string, eligibleTokenRequestorsRequest?: EligibleTokenRequestorsRequest, options?: RawAxiosRequestConfig) {
1172
867
  return EligibleTokenRequestorsApiFp(this.configuration).getEligibleTokenRequestors(xAuditUser, eligibleTokenRequestorsRequest, options).then((request) => request(this.axios, this.basePath));
@@ -1177,7 +872,6 @@ export class EligibleTokenRequestorsApi extends BaseAPI {
1177
872
 
1178
873
  /**
1179
874
  * GetTokensApi - axios parameter creator
1180
- * @export
1181
875
  */
1182
876
  export const GetTokensApiAxiosParamCreator = function (configuration?: Configuration) {
1183
877
  return {
@@ -1195,7 +889,7 @@ export const GetTokensApiAxiosParamCreator = function (configuration?: Configura
1195
889
  // verify required parameter 'id' is not null or undefined
1196
890
  assertParamExists('getToken', 'id', id)
1197
891
  const localVarPath = `/v1/wallet/tokens/{id}`
1198
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
892
+ .replace('{id}', encodeURIComponent(String(id)));
1199
893
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1200
894
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1201
895
  let baseOptions;
@@ -1219,8 +913,8 @@ export const GetTokensApiAxiosParamCreator = function (configuration?: Configura
1219
913
  localVarQueryParameter['includeCardSchemePayload'] = includeCardSchemePayload;
1220
914
  }
1221
915
 
916
+ localVarHeaderParameter['Accept'] = 'application/json';
1222
917
 
1223
-
1224
918
  if (xAuditUser != null) {
1225
919
  localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
1226
920
  }
@@ -1247,7 +941,7 @@ export const GetTokensApiAxiosParamCreator = function (configuration?: Configura
1247
941
  // verify required parameter 'cardId' is not null or undefined
1248
942
  assertParamExists('getTokens', 'cardId', cardId)
1249
943
  const localVarPath = `/v1/wallet/{cardId}/tokens`
1250
- .replace(`{${"cardId"}}`, encodeURIComponent(String(cardId)));
944
+ .replace('{cardId}', encodeURIComponent(String(cardId)));
1251
945
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1252
946
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1253
947
  let baseOptions;
@@ -1271,8 +965,8 @@ export const GetTokensApiAxiosParamCreator = function (configuration?: Configura
1271
965
  localVarQueryParameter['includeCardSchemePayload'] = includeCardSchemePayload;
1272
966
  }
1273
967
 
968
+ localVarHeaderParameter['Accept'] = 'application/json';
1274
969
 
1275
-
1276
970
  if (xAuditUser != null) {
1277
971
  localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
1278
972
  }
@@ -1290,7 +984,6 @@ export const GetTokensApiAxiosParamCreator = function (configuration?: Configura
1290
984
 
1291
985
  /**
1292
986
  * GetTokensApi - functional programming interface
1293
- * @export
1294
987
  */
1295
988
  export const GetTokensApiFp = function(configuration?: Configuration) {
1296
989
  const localVarAxiosParamCreator = GetTokensApiAxiosParamCreator(configuration)
@@ -1332,7 +1025,6 @@ export const GetTokensApiFp = function(configuration?: Configuration) {
1332
1025
 
1333
1026
  /**
1334
1027
  * GetTokensApi - factory interface
1335
- * @export
1336
1028
  */
1337
1029
  export const GetTokensApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
1338
1030
  const localVarFp = GetTokensApiFp(configuration)
@@ -1368,9 +1060,6 @@ export const GetTokensApiFactory = function (configuration?: Configuration, base
1368
1060
 
1369
1061
  /**
1370
1062
  * GetTokensApi - object-oriented interface
1371
- * @export
1372
- * @class GetTokensApi
1373
- * @extends {BaseAPI}
1374
1063
  */
1375
1064
  export class GetTokensApi extends BaseAPI {
1376
1065
  /**
@@ -1382,7 +1071,6 @@ export class GetTokensApi extends BaseAPI {
1382
1071
  * @param {string} [xAuditUser] Optional audit user header
1383
1072
  * @param {*} [options] Override http request option.
1384
1073
  * @throws {RequiredError}
1385
- * @memberof GetTokensApi
1386
1074
  */
1387
1075
  public getToken(id: string, fetchFromCardScheme?: boolean, includeCardSchemePayload?: boolean, xAuditUser?: string, options?: RawAxiosRequestConfig) {
1388
1076
  return GetTokensApiFp(this.configuration).getToken(id, fetchFromCardScheme, includeCardSchemePayload, xAuditUser, options).then((request) => request(this.axios, this.basePath));
@@ -1397,7 +1085,6 @@ export class GetTokensApi extends BaseAPI {
1397
1085
  * @param {string} [xAuditUser] Optional audit user header
1398
1086
  * @param {*} [options] Override http request option.
1399
1087
  * @throws {RequiredError}
1400
- * @memberof GetTokensApi
1401
1088
  */
1402
1089
  public getTokens(cardId: string, fetchFromCardScheme?: boolean, includeCardSchemePayload?: boolean, xAuditUser?: string, options?: RawAxiosRequestConfig) {
1403
1090
  return GetTokensApiFp(this.configuration).getTokens(cardId, fetchFromCardScheme, includeCardSchemePayload, xAuditUser, options).then((request) => request(this.axios, this.basePath));
@@ -1408,7 +1095,6 @@ export class GetTokensApi extends BaseAPI {
1408
1095
 
1409
1096
  /**
1410
1097
  * PushCardsApi - axios parameter creator
1411
- * @export
1412
1098
  */
1413
1099
  export const PushCardsApiAxiosParamCreator = function (configuration?: Configuration) {
1414
1100
  return {
@@ -1439,9 +1125,8 @@ export const PushCardsApiAxiosParamCreator = function (configuration?: Configura
1439
1125
  // http bearer authentication required
1440
1126
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
1441
1127
 
1442
-
1443
-
1444
1128
  localVarHeaderParameter['Content-Type'] = 'application/json';
1129
+ localVarHeaderParameter['Accept'] = 'application/json';
1445
1130
 
1446
1131
  if (xAuditUser != null) {
1447
1132
  localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
@@ -1461,7 +1146,6 @@ export const PushCardsApiAxiosParamCreator = function (configuration?: Configura
1461
1146
 
1462
1147
  /**
1463
1148
  * PushCardsApi - functional programming interface
1464
- * @export
1465
1149
  */
1466
1150
  export const PushCardsApiFp = function(configuration?: Configuration) {
1467
1151
  const localVarAxiosParamCreator = PushCardsApiAxiosParamCreator(configuration)
@@ -1485,7 +1169,6 @@ export const PushCardsApiFp = function(configuration?: Configuration) {
1485
1169
 
1486
1170
  /**
1487
1171
  * PushCardsApi - factory interface
1488
- * @export
1489
1172
  */
1490
1173
  export const PushCardsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
1491
1174
  const localVarFp = PushCardsApiFp(configuration)
@@ -1506,9 +1189,6 @@ export const PushCardsApiFactory = function (configuration?: Configuration, base
1506
1189
 
1507
1190
  /**
1508
1191
  * PushCardsApi - object-oriented interface
1509
- * @export
1510
- * @class PushCardsApi
1511
- * @extends {BaseAPI}
1512
1192
  */
1513
1193
  export class PushCardsApi extends BaseAPI {
1514
1194
  /**
@@ -1518,7 +1198,6 @@ export class PushCardsApi extends BaseAPI {
1518
1198
  * @param {string} [xAuditUser] Optional audit user header
1519
1199
  * @param {*} [options] Override http request option.
1520
1200
  * @throws {RequiredError}
1521
- * @memberof PushCardsApi
1522
1201
  */
1523
1202
  public pushCardsToTokenRequestor(pushAccountsToTokenRequestorRequest: PushAccountsToTokenRequestorRequest, xAuditUser?: string, options?: RawAxiosRequestConfig) {
1524
1203
  return PushCardsApiFp(this.configuration).pushCardsToTokenRequestor(pushAccountsToTokenRequestorRequest, xAuditUser, options).then((request) => request(this.axios, this.basePath));
@@ -1529,7 +1208,6 @@ export class PushCardsApi extends BaseAPI {
1529
1208
 
1530
1209
  /**
1531
1210
  * PushProvisionApi - axios parameter creator
1532
- * @export
1533
1211
  */
1534
1212
  export const PushProvisionApiAxiosParamCreator = function (configuration?: Configuration) {
1535
1213
  return {
@@ -1548,7 +1226,7 @@ export const PushProvisionApiAxiosParamCreator = function (configuration?: Confi
1548
1226
  // verify required parameter 'appleParametersRequest' is not null or undefined
1549
1227
  assertParamExists('provisionApplePay', 'appleParametersRequest', appleParametersRequest)
1550
1228
  const localVarPath = `/v1/wallet/{cardId}/provision/applepay`
1551
- .replace(`{${"cardId"}}`, encodeURIComponent(String(cardId)));
1229
+ .replace('{cardId}', encodeURIComponent(String(cardId)));
1552
1230
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1553
1231
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1554
1232
  let baseOptions;
@@ -1564,9 +1242,8 @@ export const PushProvisionApiAxiosParamCreator = function (configuration?: Confi
1564
1242
  // http bearer authentication required
1565
1243
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
1566
1244
 
1567
-
1568
-
1569
1245
  localVarHeaderParameter['Content-Type'] = 'application/json';
1246
+ localVarHeaderParameter['Accept'] = 'application/json';
1570
1247
 
1571
1248
  if (xAuditUser != null) {
1572
1249
  localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
@@ -1594,7 +1271,7 @@ export const PushProvisionApiAxiosParamCreator = function (configuration?: Confi
1594
1271
  // verify required parameter 'cardId' is not null or undefined
1595
1272
  assertParamExists('provisionGooglePay', 'cardId', cardId)
1596
1273
  const localVarPath = `/v1/wallet/{cardId}/provision/googlepay`
1597
- .replace(`{${"cardId"}}`, encodeURIComponent(String(cardId)));
1274
+ .replace('{cardId}', encodeURIComponent(String(cardId)));
1598
1275
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1599
1276
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1600
1277
  let baseOptions;
@@ -1610,9 +1287,8 @@ export const PushProvisionApiAxiosParamCreator = function (configuration?: Confi
1610
1287
  // http bearer authentication required
1611
1288
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
1612
1289
 
1613
-
1614
-
1615
1290
  localVarHeaderParameter['Content-Type'] = 'application/json';
1291
+ localVarHeaderParameter['Accept'] = 'application/json';
1616
1292
 
1617
1293
  if (xAuditUser != null) {
1618
1294
  localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
@@ -1640,7 +1316,7 @@ export const PushProvisionApiAxiosParamCreator = function (configuration?: Confi
1640
1316
  // verify required parameter 'cardId' is not null or undefined
1641
1317
  assertParamExists('provisionSamsungPay', 'cardId', cardId)
1642
1318
  const localVarPath = `/v1/wallet/{cardId}/provision/samsungpay`
1643
- .replace(`{${"cardId"}}`, encodeURIComponent(String(cardId)));
1319
+ .replace('{cardId}', encodeURIComponent(String(cardId)));
1644
1320
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1645
1321
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1646
1322
  let baseOptions;
@@ -1656,9 +1332,8 @@ export const PushProvisionApiAxiosParamCreator = function (configuration?: Confi
1656
1332
  // http bearer authentication required
1657
1333
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
1658
1334
 
1659
-
1660
-
1661
1335
  localVarHeaderParameter['Content-Type'] = 'application/json';
1336
+ localVarHeaderParameter['Accept'] = 'application/json';
1662
1337
 
1663
1338
  if (xAuditUser != null) {
1664
1339
  localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
@@ -1678,7 +1353,6 @@ export const PushProvisionApiAxiosParamCreator = function (configuration?: Confi
1678
1353
 
1679
1354
  /**
1680
1355
  * PushProvisionApi - functional programming interface
1681
- * @export
1682
1356
  */
1683
1357
  export const PushProvisionApiFp = function(configuration?: Configuration) {
1684
1358
  const localVarAxiosParamCreator = PushProvisionApiAxiosParamCreator(configuration)
@@ -1733,7 +1407,6 @@ export const PushProvisionApiFp = function(configuration?: Configuration) {
1733
1407
 
1734
1408
  /**
1735
1409
  * PushProvisionApi - factory interface
1736
- * @export
1737
1410
  */
1738
1411
  export const PushProvisionApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
1739
1412
  const localVarFp = PushProvisionApiFp(configuration)
@@ -1779,9 +1452,6 @@ export const PushProvisionApiFactory = function (configuration?: Configuration,
1779
1452
 
1780
1453
  /**
1781
1454
  * PushProvisionApi - object-oriented interface
1782
- * @export
1783
- * @class PushProvisionApi
1784
- * @extends {BaseAPI}
1785
1455
  */
1786
1456
  export class PushProvisionApi extends BaseAPI {
1787
1457
  /**
@@ -1792,7 +1462,6 @@ export class PushProvisionApi extends BaseAPI {
1792
1462
  * @param {string} [xAuditUser] Optional audit user header
1793
1463
  * @param {*} [options] Override http request option.
1794
1464
  * @throws {RequiredError}
1795
- * @memberof PushProvisionApi
1796
1465
  */
1797
1466
  public provisionApplePay(cardId: string, appleParametersRequest: AppleParametersRequest, xAuditUser?: string, options?: RawAxiosRequestConfig) {
1798
1467
  return PushProvisionApiFp(this.configuration).provisionApplePay(cardId, appleParametersRequest, xAuditUser, options).then((request) => request(this.axios, this.basePath));
@@ -1806,7 +1475,6 @@ export class PushProvisionApi extends BaseAPI {
1806
1475
  * @param {GoogleParametersRequest} [googleParametersRequest]
1807
1476
  * @param {*} [options] Override http request option.
1808
1477
  * @throws {RequiredError}
1809
- * @memberof PushProvisionApi
1810
1478
  */
1811
1479
  public provisionGooglePay(cardId: string, xAuditUser?: string, googleParametersRequest?: GoogleParametersRequest, options?: RawAxiosRequestConfig) {
1812
1480
  return PushProvisionApiFp(this.configuration).provisionGooglePay(cardId, xAuditUser, googleParametersRequest, options).then((request) => request(this.axios, this.basePath));
@@ -1820,7 +1488,6 @@ export class PushProvisionApi extends BaseAPI {
1820
1488
  * @param {SamsungParametersRequest} [samsungParametersRequest]
1821
1489
  * @param {*} [options] Override http request option.
1822
1490
  * @throws {RequiredError}
1823
- * @memberof PushProvisionApi
1824
1491
  */
1825
1492
  public provisionSamsungPay(cardId: string, xAuditUser?: string, samsungParametersRequest?: SamsungParametersRequest, options?: RawAxiosRequestConfig) {
1826
1493
  return PushProvisionApiFp(this.configuration).provisionSamsungPay(cardId, xAuditUser, samsungParametersRequest, options).then((request) => request(this.axios, this.basePath));
@@ -1831,7 +1498,6 @@ export class PushProvisionApi extends BaseAPI {
1831
1498
 
1832
1499
  /**
1833
1500
  * SuspendTokenApi - axios parameter creator
1834
- * @export
1835
1501
  */
1836
1502
  export const SuspendTokenApiAxiosParamCreator = function (configuration?: Configuration) {
1837
1503
  return {
@@ -1848,7 +1514,7 @@ export const SuspendTokenApiAxiosParamCreator = function (configuration?: Config
1848
1514
  // verify required parameter 'id' is not null or undefined
1849
1515
  assertParamExists('suspendToken', 'id', id)
1850
1516
  const localVarPath = `/v1/wallet/tokens/{id}/suspend`
1851
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1517
+ .replace('{id}', encodeURIComponent(String(id)));
1852
1518
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1853
1519
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1854
1520
  let baseOptions;
@@ -1864,8 +1530,8 @@ export const SuspendTokenApiAxiosParamCreator = function (configuration?: Config
1864
1530
  // http bearer authentication required
1865
1531
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
1866
1532
 
1533
+ localVarHeaderParameter['Accept'] = 'application/json';
1867
1534
 
1868
-
1869
1535
  if (xIdempotencyKey != null) {
1870
1536
  localVarHeaderParameter['x-idempotency-key'] = String(xIdempotencyKey);
1871
1537
  }
@@ -1886,7 +1552,6 @@ export const SuspendTokenApiAxiosParamCreator = function (configuration?: Config
1886
1552
 
1887
1553
  /**
1888
1554
  * SuspendTokenApi - functional programming interface
1889
- * @export
1890
1555
  */
1891
1556
  export const SuspendTokenApiFp = function(configuration?: Configuration) {
1892
1557
  const localVarAxiosParamCreator = SuspendTokenApiAxiosParamCreator(configuration)
@@ -1911,7 +1576,6 @@ export const SuspendTokenApiFp = function(configuration?: Configuration) {
1911
1576
 
1912
1577
  /**
1913
1578
  * SuspendTokenApi - factory interface
1914
- * @export
1915
1579
  */
1916
1580
  export const SuspendTokenApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
1917
1581
  const localVarFp = SuspendTokenApiFp(configuration)
@@ -1933,9 +1597,6 @@ export const SuspendTokenApiFactory = function (configuration?: Configuration, b
1933
1597
 
1934
1598
  /**
1935
1599
  * SuspendTokenApi - object-oriented interface
1936
- * @export
1937
- * @class SuspendTokenApi
1938
- * @extends {BaseAPI}
1939
1600
  */
1940
1601
  export class SuspendTokenApi extends BaseAPI {
1941
1602
  /**
@@ -1946,7 +1607,6 @@ export class SuspendTokenApi extends BaseAPI {
1946
1607
  * @param {string} [xAuditUser] Optional audit user header
1947
1608
  * @param {*} [options] Override http request option.
1948
1609
  * @throws {RequiredError}
1949
- * @memberof SuspendTokenApi
1950
1610
  */
1951
1611
  public suspendToken(id: string, xIdempotencyKey?: string, xAuditUser?: string, options?: RawAxiosRequestConfig) {
1952
1612
  return SuspendTokenApiFp(this.configuration).suspendToken(id, xIdempotencyKey, xAuditUser, options).then((request) => request(this.axios, this.basePath));
@@ -1957,7 +1617,6 @@ export class SuspendTokenApi extends BaseAPI {
1957
1617
 
1958
1618
  /**
1959
1619
  * UnsuspendTokenApi - axios parameter creator
1960
- * @export
1961
1620
  */
1962
1621
  export const UnsuspendTokenApiAxiosParamCreator = function (configuration?: Configuration) {
1963
1622
  return {
@@ -1974,7 +1633,7 @@ export const UnsuspendTokenApiAxiosParamCreator = function (configuration?: Conf
1974
1633
  // verify required parameter 'id' is not null or undefined
1975
1634
  assertParamExists('unsuspendToken', 'id', id)
1976
1635
  const localVarPath = `/v1/wallet/tokens/{id}/unsuspend`
1977
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1636
+ .replace('{id}', encodeURIComponent(String(id)));
1978
1637
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1979
1638
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1980
1639
  let baseOptions;
@@ -1990,8 +1649,8 @@ export const UnsuspendTokenApiAxiosParamCreator = function (configuration?: Conf
1990
1649
  // http bearer authentication required
1991
1650
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
1992
1651
 
1652
+ localVarHeaderParameter['Accept'] = 'application/json';
1993
1653
 
1994
-
1995
1654
  if (xIdempotencyKey != null) {
1996
1655
  localVarHeaderParameter['x-idempotency-key'] = String(xIdempotencyKey);
1997
1656
  }
@@ -2012,7 +1671,6 @@ export const UnsuspendTokenApiAxiosParamCreator = function (configuration?: Conf
2012
1671
 
2013
1672
  /**
2014
1673
  * UnsuspendTokenApi - functional programming interface
2015
- * @export
2016
1674
  */
2017
1675
  export const UnsuspendTokenApiFp = function(configuration?: Configuration) {
2018
1676
  const localVarAxiosParamCreator = UnsuspendTokenApiAxiosParamCreator(configuration)
@@ -2037,7 +1695,6 @@ export const UnsuspendTokenApiFp = function(configuration?: Configuration) {
2037
1695
 
2038
1696
  /**
2039
1697
  * UnsuspendTokenApi - factory interface
2040
- * @export
2041
1698
  */
2042
1699
  export const UnsuspendTokenApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
2043
1700
  const localVarFp = UnsuspendTokenApiFp(configuration)
@@ -2059,9 +1716,6 @@ export const UnsuspendTokenApiFactory = function (configuration?: Configuration,
2059
1716
 
2060
1717
  /**
2061
1718
  * UnsuspendTokenApi - object-oriented interface
2062
- * @export
2063
- * @class UnsuspendTokenApi
2064
- * @extends {BaseAPI}
2065
1719
  */
2066
1720
  export class UnsuspendTokenApi extends BaseAPI {
2067
1721
  /**
@@ -2072,7 +1726,6 @@ export class UnsuspendTokenApi extends BaseAPI {
2072
1726
  * @param {string} [xAuditUser] Optional audit user header
2073
1727
  * @param {*} [options] Override http request option.
2074
1728
  * @throws {RequiredError}
2075
- * @memberof UnsuspendTokenApi
2076
1729
  */
2077
1730
  public unsuspendToken(id: string, xIdempotencyKey?: string, xAuditUser?: string, options?: RawAxiosRequestConfig) {
2078
1731
  return UnsuspendTokenApiFp(this.configuration).unsuspendToken(id, xIdempotencyKey, xAuditUser, options).then((request) => request(this.axios, this.basePath));