@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.
- package/README.md +44 -0
- package/dist/authorisation-control/api.d.ts +0 -302
- package/dist/authorisation-control/api.js +10 -28
- package/dist/authorisation-control/base.d.ts +0 -24
- package/dist/authorisation-control/base.js +0 -19
- package/dist/authorisation-control/common.d.ts +4 -35
- package/dist/authorisation-control/common.js +16 -38
- package/dist/authorisation-control/configuration.d.ts +24 -17
- package/dist/authorisation-control/configuration.js +3 -3
- package/dist/card/api.d.ts +41 -740
- package/dist/card/api.js +38 -105
- package/dist/card/base.d.ts +0 -24
- package/dist/card/base.js +0 -19
- package/dist/card/common.d.ts +4 -35
- package/dist/card/common.js +16 -38
- package/dist/card/configuration.d.ts +24 -17
- package/dist/card/configuration.js +3 -3
- package/dist/cardholder/api.d.ts +959 -686
- package/dist/cardholder/api.js +783 -73
- package/dist/cardholder/base.d.ts +0 -24
- package/dist/cardholder/base.js +0 -19
- package/dist/cardholder/common.d.ts +4 -35
- package/dist/cardholder/common.js +16 -38
- package/dist/cardholder/configuration.d.ts +24 -17
- package/dist/cardholder/configuration.js +3 -3
- package/dist/cards/api.d.ts +0 -7
- package/dist/cards/api.js +2 -9
- package/dist/cards/base.d.ts +0 -24
- package/dist/cards/base.js +0 -19
- package/dist/cards/common.d.ts +4 -35
- package/dist/cards/common.js +16 -38
- package/dist/cards/configuration.d.ts +24 -17
- package/dist/cards/configuration.js +3 -3
- package/dist/clearing-file-copy/api.d.ts +0 -497
- package/dist/clearing-file-copy/api.js +12 -26
- package/dist/clearing-file-copy/base.d.ts +0 -24
- package/dist/clearing-file-copy/base.js +0 -19
- package/dist/clearing-file-copy/common.d.ts +4 -35
- package/dist/clearing-file-copy/common.js +16 -38
- package/dist/clearing-file-copy/configuration.d.ts +24 -17
- package/dist/clearing-file-copy/configuration.js +3 -3
- package/dist/esm/authorisation-control/api.d.ts +0 -302
- package/dist/esm/authorisation-control/api.js +10 -28
- package/dist/esm/authorisation-control/base.d.ts +0 -24
- package/dist/esm/authorisation-control/base.js +0 -19
- package/dist/esm/authorisation-control/common.d.ts +4 -35
- package/dist/esm/authorisation-control/common.js +14 -37
- package/dist/esm/authorisation-control/configuration.d.ts +24 -17
- package/dist/esm/authorisation-control/configuration.js +3 -3
- package/dist/esm/card/api.d.ts +41 -740
- package/dist/esm/card/api.js +38 -105
- package/dist/esm/card/base.d.ts +0 -24
- package/dist/esm/card/base.js +0 -19
- package/dist/esm/card/common.d.ts +4 -35
- package/dist/esm/card/common.js +14 -37
- package/dist/esm/card/configuration.d.ts +24 -17
- package/dist/esm/card/configuration.js +3 -3
- package/dist/esm/cardholder/api.d.ts +959 -686
- package/dist/esm/cardholder/api.js +782 -72
- package/dist/esm/cardholder/base.d.ts +0 -24
- package/dist/esm/cardholder/base.js +0 -19
- package/dist/esm/cardholder/common.d.ts +4 -35
- package/dist/esm/cardholder/common.js +14 -37
- package/dist/esm/cardholder/configuration.d.ts +24 -17
- package/dist/esm/cardholder/configuration.js +3 -3
- package/dist/esm/cards/api.d.ts +0 -7
- package/dist/esm/cards/api.js +2 -9
- package/dist/esm/cards/base.d.ts +0 -24
- package/dist/esm/cards/base.js +0 -19
- package/dist/esm/cards/common.d.ts +4 -35
- package/dist/esm/cards/common.js +14 -37
- package/dist/esm/cards/configuration.d.ts +24 -17
- package/dist/esm/cards/configuration.js +3 -3
- package/dist/esm/clearing-file-copy/api.d.ts +0 -497
- package/dist/esm/clearing-file-copy/api.js +12 -26
- package/dist/esm/clearing-file-copy/base.d.ts +0 -24
- package/dist/esm/clearing-file-copy/base.js +0 -19
- package/dist/esm/clearing-file-copy/common.d.ts +4 -35
- package/dist/esm/clearing-file-copy/common.js +14 -37
- package/dist/esm/clearing-file-copy/configuration.d.ts +24 -17
- package/dist/esm/clearing-file-copy/configuration.js +3 -3
- package/dist/esm/issuer-events/api.d.ts +639 -601
- package/dist/esm/issuer-events/api.js +520 -54
- package/dist/esm/issuer-events/base.d.ts +0 -24
- package/dist/esm/issuer-events/base.js +0 -19
- package/dist/esm/issuer-events/common.d.ts +4 -35
- package/dist/esm/issuer-events/common.js +14 -37
- package/dist/esm/issuer-events/configuration.d.ts +24 -17
- package/dist/esm/issuer-events/configuration.js +3 -3
- package/dist/esm/pin/api.d.ts +0 -76
- package/dist/esm/pin/api.js +3 -15
- package/dist/esm/pin/base.d.ts +0 -24
- package/dist/esm/pin/base.js +0 -19
- package/dist/esm/pin/common.d.ts +4 -35
- package/dist/esm/pin/common.js +14 -37
- package/dist/esm/pin/configuration.d.ts +24 -17
- package/dist/esm/pin/configuration.js +3 -3
- package/dist/esm/threeds/api.d.ts +0 -18
- package/dist/esm/threeds/api.js +1 -8
- package/dist/esm/threeds/base.d.ts +0 -24
- package/dist/esm/threeds/base.js +0 -19
- package/dist/esm/threeds/common.d.ts +4 -35
- package/dist/esm/threeds/common.js +14 -37
- package/dist/esm/threeds/configuration.d.ts +24 -17
- package/dist/esm/threeds/configuration.js +3 -3
- package/dist/esm/threeds-oob/api.d.ts +0 -90
- package/dist/esm/threeds-oob/api.js +2 -9
- package/dist/esm/threeds-oob/base.d.ts +0 -24
- package/dist/esm/threeds-oob/base.js +0 -19
- package/dist/esm/threeds-oob/common.d.ts +4 -35
- package/dist/esm/threeds-oob/common.js +14 -37
- package/dist/esm/threeds-oob/configuration.d.ts +24 -17
- package/dist/esm/threeds-oob/configuration.js +3 -3
- package/dist/esm/transaction-event/api.d.ts +2 -453
- package/dist/esm/transaction-event/api.js +13 -28
- package/dist/esm/transaction-event/base.d.ts +0 -24
- package/dist/esm/transaction-event/base.js +0 -19
- package/dist/esm/transaction-event/common.d.ts +4 -35
- package/dist/esm/transaction-event/common.js +14 -37
- package/dist/esm/transaction-event/configuration.d.ts +24 -17
- package/dist/esm/transaction-event/configuration.js +3 -3
- package/dist/esm/wallet/api.d.ts +0 -342
- package/dist/esm/wallet/api.js +29 -83
- package/dist/esm/wallet/base.d.ts +0 -24
- package/dist/esm/wallet/base.js +0 -19
- package/dist/esm/wallet/common.d.ts +4 -35
- package/dist/esm/wallet/common.js +14 -37
- package/dist/esm/wallet/configuration.d.ts +24 -17
- package/dist/esm/wallet/configuration.js +3 -3
- package/dist/issuer-events/api.d.ts +639 -601
- package/dist/issuer-events/api.js +521 -55
- package/dist/issuer-events/base.d.ts +0 -24
- package/dist/issuer-events/base.js +0 -19
- package/dist/issuer-events/common.d.ts +4 -35
- package/dist/issuer-events/common.js +16 -38
- package/dist/issuer-events/configuration.d.ts +24 -17
- package/dist/issuer-events/configuration.js +3 -3
- package/dist/pin/api.d.ts +0 -76
- package/dist/pin/api.js +3 -15
- package/dist/pin/base.d.ts +0 -24
- package/dist/pin/base.js +0 -19
- package/dist/pin/common.d.ts +4 -35
- package/dist/pin/common.js +16 -38
- package/dist/pin/configuration.d.ts +24 -17
- package/dist/pin/configuration.js +3 -3
- package/dist/threeds/api.d.ts +0 -18
- package/dist/threeds/api.js +1 -8
- package/dist/threeds/base.d.ts +0 -24
- package/dist/threeds/base.js +0 -19
- package/dist/threeds/common.d.ts +4 -35
- package/dist/threeds/common.js +16 -38
- package/dist/threeds/configuration.d.ts +24 -17
- package/dist/threeds/configuration.js +3 -3
- package/dist/threeds-oob/api.d.ts +0 -90
- package/dist/threeds-oob/api.js +2 -9
- package/dist/threeds-oob/base.d.ts +0 -24
- package/dist/threeds-oob/base.js +0 -19
- package/dist/threeds-oob/common.d.ts +4 -35
- package/dist/threeds-oob/common.js +16 -38
- package/dist/threeds-oob/configuration.d.ts +24 -17
- package/dist/threeds-oob/configuration.js +3 -3
- package/dist/transaction-event/api.d.ts +2 -453
- package/dist/transaction-event/api.js +13 -28
- package/dist/transaction-event/base.d.ts +0 -24
- package/dist/transaction-event/base.js +0 -19
- package/dist/transaction-event/common.d.ts +4 -35
- package/dist/transaction-event/common.js +16 -38
- package/dist/transaction-event/configuration.d.ts +24 -17
- package/dist/transaction-event/configuration.js +3 -3
- package/dist/wallet/api.d.ts +0 -342
- package/dist/wallet/api.js +29 -83
- package/dist/wallet/base.d.ts +0 -24
- package/dist/wallet/base.js +0 -19
- package/dist/wallet/common.d.ts +4 -35
- package/dist/wallet/common.js +16 -38
- package/dist/wallet/configuration.d.ts +24 -17
- package/dist/wallet/configuration.js +3 -3
- package/package.json +5 -2
- package/src/authorisation-control/api.ts +11 -314
- package/src/authorisation-control/base.ts +0 -24
- package/src/authorisation-control/common.ts +15 -38
- package/src/authorisation-control/configuration.ts +26 -20
- package/src/card/api.ts +80 -786
- package/src/card/base.ts +0 -24
- package/src/card/common.ts +15 -38
- package/src/card/configuration.ts +26 -20
- package/src/cardholder/api.ts +987 -714
- package/src/cardholder/base.ts +0 -24
- package/src/cardholder/common.ts +15 -38
- package/src/cardholder/configuration.ts +26 -20
- package/src/cards/api.ts +3 -11
- package/src/cards/base.ts +0 -24
- package/src/cards/common.ts +15 -38
- package/src/cards/configuration.ts +26 -20
- package/src/clearing-file-copy/api.ts +13 -510
- package/src/clearing-file-copy/base.ts +0 -24
- package/src/clearing-file-copy/common.ts +15 -38
- package/src/clearing-file-copy/configuration.ts +26 -20
- package/src/issuer-events/api.ts +661 -628
- package/src/issuer-events/base.ts +0 -24
- package/src/issuer-events/common.ts +15 -38
- package/src/issuer-events/configuration.ts +26 -20
- package/src/pin/api.ts +4 -83
- package/src/pin/base.ts +0 -24
- package/src/pin/common.ts +15 -38
- package/src/pin/configuration.ts +26 -20
- package/src/threeds/api.ts +2 -22
- package/src/threeds/base.ts +0 -24
- package/src/threeds/common.ts +15 -38
- package/src/threeds/configuration.ts +26 -20
- package/src/threeds-oob/api.ts +3 -95
- package/src/threeds-oob/base.ts +0 -24
- package/src/threeds-oob/common.ts +15 -38
- package/src/threeds-oob/configuration.ts +26 -20
- package/src/transaction-event/api.ts +14 -465
- package/src/transaction-event/base.ts +0 -24
- package/src/transaction-event/common.ts +15 -38
- package/src/transaction-event/configuration.ts +26 -20
- package/src/wallet/api.ts +30 -377
- package/src/wallet/base.ts +0 -24
- package/src/wallet/common.ts +15 -38
- package/src/wallet/configuration.ts +26 -20
package/dist/esm/wallet/api.js
CHANGED
|
@@ -28,61 +28,54 @@ import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchPara
|
|
|
28
28
|
import { BASE_PATH, BaseAPI, operationServerMap } from './base';
|
|
29
29
|
/**
|
|
30
30
|
* The wallets common name for authorization decision.
|
|
31
|
-
* @export
|
|
32
|
-
* @enum {string}
|
|
33
31
|
*/
|
|
34
32
|
export const AuthorizationDecisionColor = {
|
|
35
33
|
Green: 'GREEN',
|
|
36
34
|
Yellow: 'YELLOW',
|
|
37
35
|
Orange: 'ORANGE',
|
|
38
|
-
Red: 'RED'
|
|
36
|
+
Red: 'RED',
|
|
39
37
|
};
|
|
40
38
|
export const EligibleTokenRequestorsRequestAvailablePushMethodsEnum = {
|
|
41
39
|
Android: 'ANDROID',
|
|
42
40
|
Ios: 'IOS',
|
|
43
|
-
Web: 'WEB'
|
|
41
|
+
Web: 'WEB',
|
|
44
42
|
};
|
|
45
43
|
export const EligibleTokenRequestorsResponseTokenRequestorsInnerTokenRequestorTypeEnum = {
|
|
46
44
|
Merchant: 'MERCHANT',
|
|
47
|
-
Wallet: 'WALLET'
|
|
45
|
+
Wallet: 'WALLET',
|
|
48
46
|
};
|
|
49
47
|
export const PushAccountsToTokenRequestorRequestIncludeAccountHolderDataEnum = {
|
|
50
48
|
AllSupported: 'ALL_SUPPORTED',
|
|
51
49
|
Name: 'NAME',
|
|
52
50
|
Address: 'ADDRESS',
|
|
53
51
|
EmailAddress: 'EMAIL_ADDRESS',
|
|
54
|
-
MobilePhoneNumber: 'MOBILE_PHONE_NUMBER'
|
|
52
|
+
MobilePhoneNumber: 'MOBILE_PHONE_NUMBER',
|
|
55
53
|
};
|
|
56
54
|
export const PushMethodTypeEnum = {
|
|
57
55
|
Android: 'ANDROID',
|
|
58
56
|
Ios: 'IOS',
|
|
59
|
-
Web: 'WEB'
|
|
57
|
+
Web: 'WEB',
|
|
60
58
|
};
|
|
61
59
|
/**
|
|
62
60
|
* 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).
|
|
63
|
-
* @export
|
|
64
|
-
* @enum {string}
|
|
65
61
|
*/
|
|
66
62
|
export const TokenRequestor = {
|
|
67
63
|
ApplePay: 'APPLE_PAY',
|
|
68
64
|
GooglePay: 'GOOGLE_PAY',
|
|
69
65
|
SamsungPay: 'SAMSUNG_PAY',
|
|
70
|
-
Other: 'OTHER'
|
|
66
|
+
Other: 'OTHER',
|
|
71
67
|
};
|
|
72
68
|
/**
|
|
73
69
|
* Current status of the token: - ACTIVE - Available for payments - DEACTIVATED - Permanently deactivated - INACTIVE - Waiting for activation - SUSPENDED - Temporarily not available for payments
|
|
74
|
-
* @export
|
|
75
|
-
* @enum {string}
|
|
76
70
|
*/
|
|
77
71
|
export const TokenStatus = {
|
|
78
72
|
Active: 'ACTIVE',
|
|
79
73
|
Deactivated: 'DEACTIVATED',
|
|
80
74
|
Inactive: 'INACTIVE',
|
|
81
|
-
Suspended: 'SUSPENDED'
|
|
75
|
+
Suspended: 'SUSPENDED',
|
|
82
76
|
};
|
|
83
77
|
/**
|
|
84
78
|
* ActivateTokenApi - axios parameter creator
|
|
85
|
-
* @export
|
|
86
79
|
*/
|
|
87
80
|
export const ActivateTokenApiAxiosParamCreator = function (configuration) {
|
|
88
81
|
return {
|
|
@@ -98,7 +91,7 @@ export const ActivateTokenApiAxiosParamCreator = function (configuration) {
|
|
|
98
91
|
// verify required parameter 'cardId' is not null or undefined
|
|
99
92
|
assertParamExists('activate', 'cardId', cardId);
|
|
100
93
|
const localVarPath = `/v1/wallet/{cardId}/activate`
|
|
101
|
-
.replace(
|
|
94
|
+
.replace('{cardId}', encodeURIComponent(String(cardId)));
|
|
102
95
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
103
96
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
104
97
|
let baseOptions;
|
|
@@ -111,6 +104,7 @@ export const ActivateTokenApiAxiosParamCreator = function (configuration) {
|
|
|
111
104
|
// authentication bearerAuth required
|
|
112
105
|
// http bearer authentication required
|
|
113
106
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
107
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
114
108
|
if (xAuditUser != null) {
|
|
115
109
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
116
110
|
}
|
|
@@ -135,7 +129,7 @@ export const ActivateTokenApiAxiosParamCreator = function (configuration) {
|
|
|
135
129
|
// verify required parameter 'id' is not null or undefined
|
|
136
130
|
assertParamExists('activateToken', 'id', id);
|
|
137
131
|
const localVarPath = `/v1/wallet/tokens/{id}/activate`
|
|
138
|
-
.replace(
|
|
132
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
139
133
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
140
134
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
141
135
|
let baseOptions;
|
|
@@ -148,6 +142,7 @@ export const ActivateTokenApiAxiosParamCreator = function (configuration) {
|
|
|
148
142
|
// authentication bearerAuth required
|
|
149
143
|
// http bearer authentication required
|
|
150
144
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
145
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
151
146
|
if (xIdempotencyKey != null) {
|
|
152
147
|
localVarHeaderParameter['x-idempotency-key'] = String(xIdempotencyKey);
|
|
153
148
|
}
|
|
@@ -166,7 +161,6 @@ export const ActivateTokenApiAxiosParamCreator = function (configuration) {
|
|
|
166
161
|
};
|
|
167
162
|
/**
|
|
168
163
|
* ActivateTokenApi - functional programming interface
|
|
169
|
-
* @export
|
|
170
164
|
*/
|
|
171
165
|
export const ActivateTokenApiFp = function (configuration) {
|
|
172
166
|
const localVarAxiosParamCreator = ActivateTokenApiAxiosParamCreator(configuration);
|
|
@@ -210,7 +204,6 @@ export const ActivateTokenApiFp = function (configuration) {
|
|
|
210
204
|
};
|
|
211
205
|
/**
|
|
212
206
|
* ActivateTokenApi - factory interface
|
|
213
|
-
* @export
|
|
214
207
|
*/
|
|
215
208
|
export const ActivateTokenApiFactory = function (configuration, basePath, axios) {
|
|
216
209
|
const localVarFp = ActivateTokenApiFp(configuration);
|
|
@@ -242,9 +235,6 @@ export const ActivateTokenApiFactory = function (configuration, basePath, axios)
|
|
|
242
235
|
};
|
|
243
236
|
/**
|
|
244
237
|
* ActivateTokenApi - object-oriented interface
|
|
245
|
-
* @export
|
|
246
|
-
* @class ActivateTokenApi
|
|
247
|
-
* @extends {BaseAPI}
|
|
248
238
|
*/
|
|
249
239
|
export class ActivateTokenApi extends BaseAPI {
|
|
250
240
|
/**
|
|
@@ -254,7 +244,6 @@ export class ActivateTokenApi extends BaseAPI {
|
|
|
254
244
|
* @param {string} [xAuditUser] Optional audit user header
|
|
255
245
|
* @param {*} [options] Override http request option.
|
|
256
246
|
* @throws {RequiredError}
|
|
257
|
-
* @memberof ActivateTokenApi
|
|
258
247
|
*/
|
|
259
248
|
activate(cardId, xAuditUser, options) {
|
|
260
249
|
return ActivateTokenApiFp(this.configuration).activate(cardId, xAuditUser, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -267,7 +256,6 @@ export class ActivateTokenApi extends BaseAPI {
|
|
|
267
256
|
* @param {string} [xAuditUser] Optional audit user header
|
|
268
257
|
* @param {*} [options] Override http request option.
|
|
269
258
|
* @throws {RequiredError}
|
|
270
|
-
* @memberof ActivateTokenApi
|
|
271
259
|
*/
|
|
272
260
|
activateToken(id, xIdempotencyKey, xAuditUser, options) {
|
|
273
261
|
return ActivateTokenApiFp(this.configuration).activateToken(id, xIdempotencyKey, xAuditUser, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -275,7 +263,6 @@ export class ActivateTokenApi extends BaseAPI {
|
|
|
275
263
|
}
|
|
276
264
|
/**
|
|
277
265
|
* DeactivateTokenApi - axios parameter creator
|
|
278
|
-
* @export
|
|
279
266
|
*/
|
|
280
267
|
export const DeactivateTokenApiAxiosParamCreator = function (configuration) {
|
|
281
268
|
return {
|
|
@@ -292,7 +279,7 @@ export const DeactivateTokenApiAxiosParamCreator = function (configuration) {
|
|
|
292
279
|
// verify required parameter 'id' is not null or undefined
|
|
293
280
|
assertParamExists('deactivateToken', 'id', id);
|
|
294
281
|
const localVarPath = `/v1/wallet/tokens/{id}/deactivate`
|
|
295
|
-
.replace(
|
|
282
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
296
283
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
297
284
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
298
285
|
let baseOptions;
|
|
@@ -305,6 +292,7 @@ export const DeactivateTokenApiAxiosParamCreator = function (configuration) {
|
|
|
305
292
|
// authentication bearerAuth required
|
|
306
293
|
// http bearer authentication required
|
|
307
294
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
295
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
308
296
|
if (xIdempotencyKey != null) {
|
|
309
297
|
localVarHeaderParameter['x-idempotency-key'] = String(xIdempotencyKey);
|
|
310
298
|
}
|
|
@@ -323,7 +311,6 @@ export const DeactivateTokenApiAxiosParamCreator = function (configuration) {
|
|
|
323
311
|
};
|
|
324
312
|
/**
|
|
325
313
|
* DeactivateTokenApi - functional programming interface
|
|
326
|
-
* @export
|
|
327
314
|
*/
|
|
328
315
|
export const DeactivateTokenApiFp = function (configuration) {
|
|
329
316
|
const localVarAxiosParamCreator = DeactivateTokenApiAxiosParamCreator(configuration);
|
|
@@ -350,7 +337,6 @@ export const DeactivateTokenApiFp = function (configuration) {
|
|
|
350
337
|
};
|
|
351
338
|
/**
|
|
352
339
|
* DeactivateTokenApi - factory interface
|
|
353
|
-
* @export
|
|
354
340
|
*/
|
|
355
341
|
export const DeactivateTokenApiFactory = function (configuration, basePath, axios) {
|
|
356
342
|
const localVarFp = DeactivateTokenApiFp(configuration);
|
|
@@ -371,9 +357,6 @@ export const DeactivateTokenApiFactory = function (configuration, basePath, axio
|
|
|
371
357
|
};
|
|
372
358
|
/**
|
|
373
359
|
* DeactivateTokenApi - object-oriented interface
|
|
374
|
-
* @export
|
|
375
|
-
* @class DeactivateTokenApi
|
|
376
|
-
* @extends {BaseAPI}
|
|
377
360
|
*/
|
|
378
361
|
export class DeactivateTokenApi extends BaseAPI {
|
|
379
362
|
/**
|
|
@@ -384,7 +367,6 @@ export class DeactivateTokenApi extends BaseAPI {
|
|
|
384
367
|
* @param {string} [xAuditUser] Optional audit user header
|
|
385
368
|
* @param {*} [options] Override http request option.
|
|
386
369
|
* @throws {RequiredError}
|
|
387
|
-
* @memberof DeactivateTokenApi
|
|
388
370
|
*/
|
|
389
371
|
deactivateToken(id, xIdempotencyKey, xAuditUser, options) {
|
|
390
372
|
return DeactivateTokenApiFp(this.configuration).deactivateToken(id, xIdempotencyKey, xAuditUser, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -392,7 +374,6 @@ export class DeactivateTokenApi extends BaseAPI {
|
|
|
392
374
|
}
|
|
393
375
|
/**
|
|
394
376
|
* EligibleTokenRequestorsApi - axios parameter creator
|
|
395
|
-
* @export
|
|
396
377
|
*/
|
|
397
378
|
export const EligibleTokenRequestorsApiAxiosParamCreator = function (configuration) {
|
|
398
379
|
return {
|
|
@@ -419,6 +400,7 @@ export const EligibleTokenRequestorsApiAxiosParamCreator = function (configurati
|
|
|
419
400
|
// http bearer authentication required
|
|
420
401
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
421
402
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
403
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
422
404
|
if (xAuditUser != null) {
|
|
423
405
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
424
406
|
}
|
|
@@ -435,7 +417,6 @@ export const EligibleTokenRequestorsApiAxiosParamCreator = function (configurati
|
|
|
435
417
|
};
|
|
436
418
|
/**
|
|
437
419
|
* EligibleTokenRequestorsApi - functional programming interface
|
|
438
|
-
* @export
|
|
439
420
|
*/
|
|
440
421
|
export const EligibleTokenRequestorsApiFp = function (configuration) {
|
|
441
422
|
const localVarAxiosParamCreator = EligibleTokenRequestorsApiAxiosParamCreator(configuration);
|
|
@@ -461,7 +442,6 @@ export const EligibleTokenRequestorsApiFp = function (configuration) {
|
|
|
461
442
|
};
|
|
462
443
|
/**
|
|
463
444
|
* EligibleTokenRequestorsApi - factory interface
|
|
464
|
-
* @export
|
|
465
445
|
*/
|
|
466
446
|
export const EligibleTokenRequestorsApiFactory = function (configuration, basePath, axios) {
|
|
467
447
|
const localVarFp = EligibleTokenRequestorsApiFp(configuration);
|
|
@@ -481,9 +461,6 @@ export const EligibleTokenRequestorsApiFactory = function (configuration, basePa
|
|
|
481
461
|
};
|
|
482
462
|
/**
|
|
483
463
|
* EligibleTokenRequestorsApi - object-oriented interface
|
|
484
|
-
* @export
|
|
485
|
-
* @class EligibleTokenRequestorsApi
|
|
486
|
-
* @extends {BaseAPI}
|
|
487
464
|
*/
|
|
488
465
|
export class EligibleTokenRequestorsApi extends BaseAPI {
|
|
489
466
|
/**
|
|
@@ -493,7 +470,6 @@ export class EligibleTokenRequestorsApi extends BaseAPI {
|
|
|
493
470
|
* @param {EligibleTokenRequestorsRequest} [eligibleTokenRequestorsRequest]
|
|
494
471
|
* @param {*} [options] Override http request option.
|
|
495
472
|
* @throws {RequiredError}
|
|
496
|
-
* @memberof EligibleTokenRequestorsApi
|
|
497
473
|
*/
|
|
498
474
|
getEligibleTokenRequestors(xAuditUser, eligibleTokenRequestorsRequest, options) {
|
|
499
475
|
return EligibleTokenRequestorsApiFp(this.configuration).getEligibleTokenRequestors(xAuditUser, eligibleTokenRequestorsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -501,7 +477,6 @@ export class EligibleTokenRequestorsApi extends BaseAPI {
|
|
|
501
477
|
}
|
|
502
478
|
/**
|
|
503
479
|
* GetTokensApi - axios parameter creator
|
|
504
|
-
* @export
|
|
505
480
|
*/
|
|
506
481
|
export const GetTokensApiAxiosParamCreator = function (configuration) {
|
|
507
482
|
return {
|
|
@@ -519,7 +494,7 @@ export const GetTokensApiAxiosParamCreator = function (configuration) {
|
|
|
519
494
|
// verify required parameter 'id' is not null or undefined
|
|
520
495
|
assertParamExists('getToken', 'id', id);
|
|
521
496
|
const localVarPath = `/v1/wallet/tokens/{id}`
|
|
522
|
-
.replace(
|
|
497
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
523
498
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
524
499
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
525
500
|
let baseOptions;
|
|
@@ -538,6 +513,7 @@ export const GetTokensApiAxiosParamCreator = function (configuration) {
|
|
|
538
513
|
if (includeCardSchemePayload !== undefined) {
|
|
539
514
|
localVarQueryParameter['includeCardSchemePayload'] = includeCardSchemePayload;
|
|
540
515
|
}
|
|
516
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
541
517
|
if (xAuditUser != null) {
|
|
542
518
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
543
519
|
}
|
|
@@ -563,7 +539,7 @@ export const GetTokensApiAxiosParamCreator = function (configuration) {
|
|
|
563
539
|
// verify required parameter 'cardId' is not null or undefined
|
|
564
540
|
assertParamExists('getTokens', 'cardId', cardId);
|
|
565
541
|
const localVarPath = `/v1/wallet/{cardId}/tokens`
|
|
566
|
-
.replace(
|
|
542
|
+
.replace('{cardId}', encodeURIComponent(String(cardId)));
|
|
567
543
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
568
544
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
569
545
|
let baseOptions;
|
|
@@ -582,6 +558,7 @@ export const GetTokensApiAxiosParamCreator = function (configuration) {
|
|
|
582
558
|
if (includeCardSchemePayload !== undefined) {
|
|
583
559
|
localVarQueryParameter['includeCardSchemePayload'] = includeCardSchemePayload;
|
|
584
560
|
}
|
|
561
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
585
562
|
if (xAuditUser != null) {
|
|
586
563
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
587
564
|
}
|
|
@@ -597,7 +574,6 @@ export const GetTokensApiAxiosParamCreator = function (configuration) {
|
|
|
597
574
|
};
|
|
598
575
|
/**
|
|
599
576
|
* GetTokensApi - functional programming interface
|
|
600
|
-
* @export
|
|
601
577
|
*/
|
|
602
578
|
export const GetTokensApiFp = function (configuration) {
|
|
603
579
|
const localVarAxiosParamCreator = GetTokensApiAxiosParamCreator(configuration);
|
|
@@ -644,7 +620,6 @@ export const GetTokensApiFp = function (configuration) {
|
|
|
644
620
|
};
|
|
645
621
|
/**
|
|
646
622
|
* GetTokensApi - factory interface
|
|
647
|
-
* @export
|
|
648
623
|
*/
|
|
649
624
|
export const GetTokensApiFactory = function (configuration, basePath, axios) {
|
|
650
625
|
const localVarFp = GetTokensApiFp(configuration);
|
|
@@ -679,9 +654,6 @@ export const GetTokensApiFactory = function (configuration, basePath, axios) {
|
|
|
679
654
|
};
|
|
680
655
|
/**
|
|
681
656
|
* GetTokensApi - object-oriented interface
|
|
682
|
-
* @export
|
|
683
|
-
* @class GetTokensApi
|
|
684
|
-
* @extends {BaseAPI}
|
|
685
657
|
*/
|
|
686
658
|
export class GetTokensApi extends BaseAPI {
|
|
687
659
|
/**
|
|
@@ -693,7 +665,6 @@ export class GetTokensApi extends BaseAPI {
|
|
|
693
665
|
* @param {string} [xAuditUser] Optional audit user header
|
|
694
666
|
* @param {*} [options] Override http request option.
|
|
695
667
|
* @throws {RequiredError}
|
|
696
|
-
* @memberof GetTokensApi
|
|
697
668
|
*/
|
|
698
669
|
getToken(id, fetchFromCardScheme, includeCardSchemePayload, xAuditUser, options) {
|
|
699
670
|
return GetTokensApiFp(this.configuration).getToken(id, fetchFromCardScheme, includeCardSchemePayload, xAuditUser, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -707,7 +678,6 @@ export class GetTokensApi extends BaseAPI {
|
|
|
707
678
|
* @param {string} [xAuditUser] Optional audit user header
|
|
708
679
|
* @param {*} [options] Override http request option.
|
|
709
680
|
* @throws {RequiredError}
|
|
710
|
-
* @memberof GetTokensApi
|
|
711
681
|
*/
|
|
712
682
|
getTokens(cardId, fetchFromCardScheme, includeCardSchemePayload, xAuditUser, options) {
|
|
713
683
|
return GetTokensApiFp(this.configuration).getTokens(cardId, fetchFromCardScheme, includeCardSchemePayload, xAuditUser, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -715,7 +685,6 @@ export class GetTokensApi extends BaseAPI {
|
|
|
715
685
|
}
|
|
716
686
|
/**
|
|
717
687
|
* PushCardsApi - axios parameter creator
|
|
718
|
-
* @export
|
|
719
688
|
*/
|
|
720
689
|
export const PushCardsApiAxiosParamCreator = function (configuration) {
|
|
721
690
|
return {
|
|
@@ -744,6 +713,7 @@ export const PushCardsApiAxiosParamCreator = function (configuration) {
|
|
|
744
713
|
// http bearer authentication required
|
|
745
714
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
746
715
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
716
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
747
717
|
if (xAuditUser != null) {
|
|
748
718
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
749
719
|
}
|
|
@@ -760,7 +730,6 @@ export const PushCardsApiAxiosParamCreator = function (configuration) {
|
|
|
760
730
|
};
|
|
761
731
|
/**
|
|
762
732
|
* PushCardsApi - functional programming interface
|
|
763
|
-
* @export
|
|
764
733
|
*/
|
|
765
734
|
export const PushCardsApiFp = function (configuration) {
|
|
766
735
|
const localVarAxiosParamCreator = PushCardsApiAxiosParamCreator(configuration);
|
|
@@ -786,7 +755,6 @@ export const PushCardsApiFp = function (configuration) {
|
|
|
786
755
|
};
|
|
787
756
|
/**
|
|
788
757
|
* PushCardsApi - factory interface
|
|
789
|
-
* @export
|
|
790
758
|
*/
|
|
791
759
|
export const PushCardsApiFactory = function (configuration, basePath, axios) {
|
|
792
760
|
const localVarFp = PushCardsApiFp(configuration);
|
|
@@ -806,9 +774,6 @@ export const PushCardsApiFactory = function (configuration, basePath, axios) {
|
|
|
806
774
|
};
|
|
807
775
|
/**
|
|
808
776
|
* PushCardsApi - object-oriented interface
|
|
809
|
-
* @export
|
|
810
|
-
* @class PushCardsApi
|
|
811
|
-
* @extends {BaseAPI}
|
|
812
777
|
*/
|
|
813
778
|
export class PushCardsApi extends BaseAPI {
|
|
814
779
|
/**
|
|
@@ -818,7 +783,6 @@ export class PushCardsApi extends BaseAPI {
|
|
|
818
783
|
* @param {string} [xAuditUser] Optional audit user header
|
|
819
784
|
* @param {*} [options] Override http request option.
|
|
820
785
|
* @throws {RequiredError}
|
|
821
|
-
* @memberof PushCardsApi
|
|
822
786
|
*/
|
|
823
787
|
pushCardsToTokenRequestor(pushAccountsToTokenRequestorRequest, xAuditUser, options) {
|
|
824
788
|
return PushCardsApiFp(this.configuration).pushCardsToTokenRequestor(pushAccountsToTokenRequestorRequest, xAuditUser, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -826,7 +790,6 @@ export class PushCardsApi extends BaseAPI {
|
|
|
826
790
|
}
|
|
827
791
|
/**
|
|
828
792
|
* PushProvisionApi - axios parameter creator
|
|
829
|
-
* @export
|
|
830
793
|
*/
|
|
831
794
|
export const PushProvisionApiAxiosParamCreator = function (configuration) {
|
|
832
795
|
return {
|
|
@@ -845,7 +808,7 @@ export const PushProvisionApiAxiosParamCreator = function (configuration) {
|
|
|
845
808
|
// verify required parameter 'appleParametersRequest' is not null or undefined
|
|
846
809
|
assertParamExists('provisionApplePay', 'appleParametersRequest', appleParametersRequest);
|
|
847
810
|
const localVarPath = `/v1/wallet/{cardId}/provision/applepay`
|
|
848
|
-
.replace(
|
|
811
|
+
.replace('{cardId}', encodeURIComponent(String(cardId)));
|
|
849
812
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
850
813
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
851
814
|
let baseOptions;
|
|
@@ -859,6 +822,7 @@ export const PushProvisionApiAxiosParamCreator = function (configuration) {
|
|
|
859
822
|
// http bearer authentication required
|
|
860
823
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
861
824
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
825
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
862
826
|
if (xAuditUser != null) {
|
|
863
827
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
864
828
|
}
|
|
@@ -884,7 +848,7 @@ export const PushProvisionApiAxiosParamCreator = function (configuration) {
|
|
|
884
848
|
// verify required parameter 'cardId' is not null or undefined
|
|
885
849
|
assertParamExists('provisionGooglePay', 'cardId', cardId);
|
|
886
850
|
const localVarPath = `/v1/wallet/{cardId}/provision/googlepay`
|
|
887
|
-
.replace(
|
|
851
|
+
.replace('{cardId}', encodeURIComponent(String(cardId)));
|
|
888
852
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
889
853
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
890
854
|
let baseOptions;
|
|
@@ -898,6 +862,7 @@ export const PushProvisionApiAxiosParamCreator = function (configuration) {
|
|
|
898
862
|
// http bearer authentication required
|
|
899
863
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
900
864
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
865
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
901
866
|
if (xAuditUser != null) {
|
|
902
867
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
903
868
|
}
|
|
@@ -923,7 +888,7 @@ export const PushProvisionApiAxiosParamCreator = function (configuration) {
|
|
|
923
888
|
// verify required parameter 'cardId' is not null or undefined
|
|
924
889
|
assertParamExists('provisionSamsungPay', 'cardId', cardId);
|
|
925
890
|
const localVarPath = `/v1/wallet/{cardId}/provision/samsungpay`
|
|
926
|
-
.replace(
|
|
891
|
+
.replace('{cardId}', encodeURIComponent(String(cardId)));
|
|
927
892
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
928
893
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
929
894
|
let baseOptions;
|
|
@@ -937,6 +902,7 @@ export const PushProvisionApiAxiosParamCreator = function (configuration) {
|
|
|
937
902
|
// http bearer authentication required
|
|
938
903
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
939
904
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
905
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
940
906
|
if (xAuditUser != null) {
|
|
941
907
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
942
908
|
}
|
|
@@ -953,7 +919,6 @@ export const PushProvisionApiAxiosParamCreator = function (configuration) {
|
|
|
953
919
|
};
|
|
954
920
|
/**
|
|
955
921
|
* PushProvisionApi - functional programming interface
|
|
956
|
-
* @export
|
|
957
922
|
*/
|
|
958
923
|
export const PushProvisionApiFp = function (configuration) {
|
|
959
924
|
const localVarAxiosParamCreator = PushProvisionApiAxiosParamCreator(configuration);
|
|
@@ -1016,7 +981,6 @@ export const PushProvisionApiFp = function (configuration) {
|
|
|
1016
981
|
};
|
|
1017
982
|
/**
|
|
1018
983
|
* PushProvisionApi - factory interface
|
|
1019
|
-
* @export
|
|
1020
984
|
*/
|
|
1021
985
|
export const PushProvisionApiFactory = function (configuration, basePath, axios) {
|
|
1022
986
|
const localVarFp = PushProvisionApiFp(configuration);
|
|
@@ -1061,9 +1025,6 @@ export const PushProvisionApiFactory = function (configuration, basePath, axios)
|
|
|
1061
1025
|
};
|
|
1062
1026
|
/**
|
|
1063
1027
|
* PushProvisionApi - object-oriented interface
|
|
1064
|
-
* @export
|
|
1065
|
-
* @class PushProvisionApi
|
|
1066
|
-
* @extends {BaseAPI}
|
|
1067
1028
|
*/
|
|
1068
1029
|
export class PushProvisionApi extends BaseAPI {
|
|
1069
1030
|
/**
|
|
@@ -1074,7 +1035,6 @@ export class PushProvisionApi extends BaseAPI {
|
|
|
1074
1035
|
* @param {string} [xAuditUser] Optional audit user header
|
|
1075
1036
|
* @param {*} [options] Override http request option.
|
|
1076
1037
|
* @throws {RequiredError}
|
|
1077
|
-
* @memberof PushProvisionApi
|
|
1078
1038
|
*/
|
|
1079
1039
|
provisionApplePay(cardId, appleParametersRequest, xAuditUser, options) {
|
|
1080
1040
|
return PushProvisionApiFp(this.configuration).provisionApplePay(cardId, appleParametersRequest, xAuditUser, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1087,7 +1047,6 @@ export class PushProvisionApi extends BaseAPI {
|
|
|
1087
1047
|
* @param {GoogleParametersRequest} [googleParametersRequest]
|
|
1088
1048
|
* @param {*} [options] Override http request option.
|
|
1089
1049
|
* @throws {RequiredError}
|
|
1090
|
-
* @memberof PushProvisionApi
|
|
1091
1050
|
*/
|
|
1092
1051
|
provisionGooglePay(cardId, xAuditUser, googleParametersRequest, options) {
|
|
1093
1052
|
return PushProvisionApiFp(this.configuration).provisionGooglePay(cardId, xAuditUser, googleParametersRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1100,7 +1059,6 @@ export class PushProvisionApi extends BaseAPI {
|
|
|
1100
1059
|
* @param {SamsungParametersRequest} [samsungParametersRequest]
|
|
1101
1060
|
* @param {*} [options] Override http request option.
|
|
1102
1061
|
* @throws {RequiredError}
|
|
1103
|
-
* @memberof PushProvisionApi
|
|
1104
1062
|
*/
|
|
1105
1063
|
provisionSamsungPay(cardId, xAuditUser, samsungParametersRequest, options) {
|
|
1106
1064
|
return PushProvisionApiFp(this.configuration).provisionSamsungPay(cardId, xAuditUser, samsungParametersRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1108,7 +1066,6 @@ export class PushProvisionApi extends BaseAPI {
|
|
|
1108
1066
|
}
|
|
1109
1067
|
/**
|
|
1110
1068
|
* SuspendTokenApi - axios parameter creator
|
|
1111
|
-
* @export
|
|
1112
1069
|
*/
|
|
1113
1070
|
export const SuspendTokenApiAxiosParamCreator = function (configuration) {
|
|
1114
1071
|
return {
|
|
@@ -1125,7 +1082,7 @@ export const SuspendTokenApiAxiosParamCreator = function (configuration) {
|
|
|
1125
1082
|
// verify required parameter 'id' is not null or undefined
|
|
1126
1083
|
assertParamExists('suspendToken', 'id', id);
|
|
1127
1084
|
const localVarPath = `/v1/wallet/tokens/{id}/suspend`
|
|
1128
|
-
.replace(
|
|
1085
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1129
1086
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1130
1087
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1131
1088
|
let baseOptions;
|
|
@@ -1138,6 +1095,7 @@ export const SuspendTokenApiAxiosParamCreator = function (configuration) {
|
|
|
1138
1095
|
// authentication bearerAuth required
|
|
1139
1096
|
// http bearer authentication required
|
|
1140
1097
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1098
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1141
1099
|
if (xIdempotencyKey != null) {
|
|
1142
1100
|
localVarHeaderParameter['x-idempotency-key'] = String(xIdempotencyKey);
|
|
1143
1101
|
}
|
|
@@ -1156,7 +1114,6 @@ export const SuspendTokenApiAxiosParamCreator = function (configuration) {
|
|
|
1156
1114
|
};
|
|
1157
1115
|
/**
|
|
1158
1116
|
* SuspendTokenApi - functional programming interface
|
|
1159
|
-
* @export
|
|
1160
1117
|
*/
|
|
1161
1118
|
export const SuspendTokenApiFp = function (configuration) {
|
|
1162
1119
|
const localVarAxiosParamCreator = SuspendTokenApiAxiosParamCreator(configuration);
|
|
@@ -1183,7 +1140,6 @@ export const SuspendTokenApiFp = function (configuration) {
|
|
|
1183
1140
|
};
|
|
1184
1141
|
/**
|
|
1185
1142
|
* SuspendTokenApi - factory interface
|
|
1186
|
-
* @export
|
|
1187
1143
|
*/
|
|
1188
1144
|
export const SuspendTokenApiFactory = function (configuration, basePath, axios) {
|
|
1189
1145
|
const localVarFp = SuspendTokenApiFp(configuration);
|
|
@@ -1204,9 +1160,6 @@ export const SuspendTokenApiFactory = function (configuration, basePath, axios)
|
|
|
1204
1160
|
};
|
|
1205
1161
|
/**
|
|
1206
1162
|
* SuspendTokenApi - object-oriented interface
|
|
1207
|
-
* @export
|
|
1208
|
-
* @class SuspendTokenApi
|
|
1209
|
-
* @extends {BaseAPI}
|
|
1210
1163
|
*/
|
|
1211
1164
|
export class SuspendTokenApi extends BaseAPI {
|
|
1212
1165
|
/**
|
|
@@ -1217,7 +1170,6 @@ export class SuspendTokenApi extends BaseAPI {
|
|
|
1217
1170
|
* @param {string} [xAuditUser] Optional audit user header
|
|
1218
1171
|
* @param {*} [options] Override http request option.
|
|
1219
1172
|
* @throws {RequiredError}
|
|
1220
|
-
* @memberof SuspendTokenApi
|
|
1221
1173
|
*/
|
|
1222
1174
|
suspendToken(id, xIdempotencyKey, xAuditUser, options) {
|
|
1223
1175
|
return SuspendTokenApiFp(this.configuration).suspendToken(id, xIdempotencyKey, xAuditUser, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1225,7 +1177,6 @@ export class SuspendTokenApi extends BaseAPI {
|
|
|
1225
1177
|
}
|
|
1226
1178
|
/**
|
|
1227
1179
|
* UnsuspendTokenApi - axios parameter creator
|
|
1228
|
-
* @export
|
|
1229
1180
|
*/
|
|
1230
1181
|
export const UnsuspendTokenApiAxiosParamCreator = function (configuration) {
|
|
1231
1182
|
return {
|
|
@@ -1242,7 +1193,7 @@ export const UnsuspendTokenApiAxiosParamCreator = function (configuration) {
|
|
|
1242
1193
|
// verify required parameter 'id' is not null or undefined
|
|
1243
1194
|
assertParamExists('unsuspendToken', 'id', id);
|
|
1244
1195
|
const localVarPath = `/v1/wallet/tokens/{id}/unsuspend`
|
|
1245
|
-
.replace(
|
|
1196
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1246
1197
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1247
1198
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1248
1199
|
let baseOptions;
|
|
@@ -1255,6 +1206,7 @@ export const UnsuspendTokenApiAxiosParamCreator = function (configuration) {
|
|
|
1255
1206
|
// authentication bearerAuth required
|
|
1256
1207
|
// http bearer authentication required
|
|
1257
1208
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1209
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1258
1210
|
if (xIdempotencyKey != null) {
|
|
1259
1211
|
localVarHeaderParameter['x-idempotency-key'] = String(xIdempotencyKey);
|
|
1260
1212
|
}
|
|
@@ -1273,7 +1225,6 @@ export const UnsuspendTokenApiAxiosParamCreator = function (configuration) {
|
|
|
1273
1225
|
};
|
|
1274
1226
|
/**
|
|
1275
1227
|
* UnsuspendTokenApi - functional programming interface
|
|
1276
|
-
* @export
|
|
1277
1228
|
*/
|
|
1278
1229
|
export const UnsuspendTokenApiFp = function (configuration) {
|
|
1279
1230
|
const localVarAxiosParamCreator = UnsuspendTokenApiAxiosParamCreator(configuration);
|
|
@@ -1300,7 +1251,6 @@ export const UnsuspendTokenApiFp = function (configuration) {
|
|
|
1300
1251
|
};
|
|
1301
1252
|
/**
|
|
1302
1253
|
* UnsuspendTokenApi - factory interface
|
|
1303
|
-
* @export
|
|
1304
1254
|
*/
|
|
1305
1255
|
export const UnsuspendTokenApiFactory = function (configuration, basePath, axios) {
|
|
1306
1256
|
const localVarFp = UnsuspendTokenApiFp(configuration);
|
|
@@ -1321,9 +1271,6 @@ export const UnsuspendTokenApiFactory = function (configuration, basePath, axios
|
|
|
1321
1271
|
};
|
|
1322
1272
|
/**
|
|
1323
1273
|
* UnsuspendTokenApi - object-oriented interface
|
|
1324
|
-
* @export
|
|
1325
|
-
* @class UnsuspendTokenApi
|
|
1326
|
-
* @extends {BaseAPI}
|
|
1327
1274
|
*/
|
|
1328
1275
|
export class UnsuspendTokenApi extends BaseAPI {
|
|
1329
1276
|
/**
|
|
@@ -1334,7 +1281,6 @@ export class UnsuspendTokenApi extends BaseAPI {
|
|
|
1334
1281
|
* @param {string} [xAuditUser] Optional audit user header
|
|
1335
1282
|
* @param {*} [options] Override http request option.
|
|
1336
1283
|
* @throws {RequiredError}
|
|
1337
|
-
* @memberof UnsuspendTokenApi
|
|
1338
1284
|
*/
|
|
1339
1285
|
unsuspendToken(id, xIdempotencyKey, xAuditUser, options) {
|
|
1340
1286
|
return UnsuspendTokenApiFp(this.configuration).unsuspendToken(id, xIdempotencyKey, xAuditUser, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -12,42 +12,22 @@
|
|
|
12
12
|
import type { Configuration } from './configuration';
|
|
13
13
|
import type { AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
export declare const BASE_PATH: string;
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
*/
|
|
19
15
|
export declare const COLLECTION_FORMATS: {
|
|
20
16
|
csv: string;
|
|
21
17
|
ssv: string;
|
|
22
18
|
tsv: string;
|
|
23
19
|
pipes: string;
|
|
24
20
|
};
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @export
|
|
28
|
-
* @interface RequestArgs
|
|
29
|
-
*/
|
|
30
21
|
export interface RequestArgs {
|
|
31
22
|
url: string;
|
|
32
23
|
options: RawAxiosRequestConfig;
|
|
33
24
|
}
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @export
|
|
37
|
-
* @class BaseAPI
|
|
38
|
-
*/
|
|
39
25
|
export declare class BaseAPI {
|
|
40
26
|
protected basePath: string;
|
|
41
27
|
protected axios: AxiosInstance;
|
|
42
28
|
protected configuration: Configuration | undefined;
|
|
43
29
|
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
44
30
|
}
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @export
|
|
48
|
-
* @class RequiredError
|
|
49
|
-
* @extends {Error}
|
|
50
|
-
*/
|
|
51
31
|
export declare class RequiredError extends Error {
|
|
52
32
|
field: string;
|
|
53
33
|
constructor(field: string, msg?: string);
|
|
@@ -58,9 +38,5 @@ interface ServerMap {
|
|
|
58
38
|
description: string;
|
|
59
39
|
}[];
|
|
60
40
|
}
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @export
|
|
64
|
-
*/
|
|
65
41
|
export declare const operationServerMap: ServerMap;
|
|
66
42
|
export {};
|