@enfuce/nextgen-sdk 0.0.2 → 0.0.4
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/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/exchange-rate/api.d.ts +409 -0
- package/dist/esm/exchange-rate/api.js +403 -0
- package/dist/esm/exchange-rate/base.d.ts +42 -0
- package/dist/esm/exchange-rate/base.js +41 -0
- package/dist/esm/exchange-rate/common.d.ts +34 -0
- package/dist/esm/exchange-rate/common.js +126 -0
- package/dist/esm/exchange-rate/configuration.d.ts +98 -0
- package/dist/esm/exchange-rate/configuration.js +40 -0
- package/dist/esm/exchange-rate/index.d.ts +13 -0
- package/dist/esm/exchange-rate/index.js +15 -0
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.js +1 -0
- 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 +0 -452
- package/dist/esm/transaction-event/api.js +11 -27
- 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/exchange-rate/api.d.ts +409 -0
- package/dist/exchange-rate/api.js +418 -0
- package/dist/exchange-rate/base.d.ts +42 -0
- package/dist/exchange-rate/base.js +46 -0
- package/dist/exchange-rate/common.d.ts +34 -0
- package/dist/exchange-rate/common.js +139 -0
- package/dist/exchange-rate/configuration.d.ts +98 -0
- package/dist/exchange-rate/configuration.js +44 -0
- package/dist/exchange-rate/index.d.ts +13 -0
- package/dist/exchange-rate/index.js +31 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -1
- 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 +0 -452
- package/dist/transaction-event/api.js +11 -27
- 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 +2 -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/exchange-rate/api.ts +615 -0
- package/src/exchange-rate/base.ts +62 -0
- package/src/exchange-rate/common.ts +127 -0
- package/src/exchange-rate/configuration.ts +121 -0
- package/src/exchange-rate/index.ts +18 -0
- package/src/index.ts +1 -0
- 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 +12 -464
- 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/wallet/api.js
CHANGED
|
@@ -31,61 +31,54 @@ const common_1 = require("./common");
|
|
|
31
31
|
const base_1 = require("./base");
|
|
32
32
|
/**
|
|
33
33
|
* The wallets common name for authorization decision.
|
|
34
|
-
* @export
|
|
35
|
-
* @enum {string}
|
|
36
34
|
*/
|
|
37
35
|
exports.AuthorizationDecisionColor = {
|
|
38
36
|
Green: 'GREEN',
|
|
39
37
|
Yellow: 'YELLOW',
|
|
40
38
|
Orange: 'ORANGE',
|
|
41
|
-
Red: 'RED'
|
|
39
|
+
Red: 'RED',
|
|
42
40
|
};
|
|
43
41
|
exports.EligibleTokenRequestorsRequestAvailablePushMethodsEnum = {
|
|
44
42
|
Android: 'ANDROID',
|
|
45
43
|
Ios: 'IOS',
|
|
46
|
-
Web: 'WEB'
|
|
44
|
+
Web: 'WEB',
|
|
47
45
|
};
|
|
48
46
|
exports.EligibleTokenRequestorsResponseTokenRequestorsInnerTokenRequestorTypeEnum = {
|
|
49
47
|
Merchant: 'MERCHANT',
|
|
50
|
-
Wallet: 'WALLET'
|
|
48
|
+
Wallet: 'WALLET',
|
|
51
49
|
};
|
|
52
50
|
exports.PushAccountsToTokenRequestorRequestIncludeAccountHolderDataEnum = {
|
|
53
51
|
AllSupported: 'ALL_SUPPORTED',
|
|
54
52
|
Name: 'NAME',
|
|
55
53
|
Address: 'ADDRESS',
|
|
56
54
|
EmailAddress: 'EMAIL_ADDRESS',
|
|
57
|
-
MobilePhoneNumber: 'MOBILE_PHONE_NUMBER'
|
|
55
|
+
MobilePhoneNumber: 'MOBILE_PHONE_NUMBER',
|
|
58
56
|
};
|
|
59
57
|
exports.PushMethodTypeEnum = {
|
|
60
58
|
Android: 'ANDROID',
|
|
61
59
|
Ios: 'IOS',
|
|
62
|
-
Web: 'WEB'
|
|
60
|
+
Web: 'WEB',
|
|
63
61
|
};
|
|
64
62
|
/**
|
|
65
63
|
* 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).
|
|
66
|
-
* @export
|
|
67
|
-
* @enum {string}
|
|
68
64
|
*/
|
|
69
65
|
exports.TokenRequestor = {
|
|
70
66
|
ApplePay: 'APPLE_PAY',
|
|
71
67
|
GooglePay: 'GOOGLE_PAY',
|
|
72
68
|
SamsungPay: 'SAMSUNG_PAY',
|
|
73
|
-
Other: 'OTHER'
|
|
69
|
+
Other: 'OTHER',
|
|
74
70
|
};
|
|
75
71
|
/**
|
|
76
72
|
* Current status of the token: - ACTIVE - Available for payments - DEACTIVATED - Permanently deactivated - INACTIVE - Waiting for activation - SUSPENDED - Temporarily not available for payments
|
|
77
|
-
* @export
|
|
78
|
-
* @enum {string}
|
|
79
73
|
*/
|
|
80
74
|
exports.TokenStatus = {
|
|
81
75
|
Active: 'ACTIVE',
|
|
82
76
|
Deactivated: 'DEACTIVATED',
|
|
83
77
|
Inactive: 'INACTIVE',
|
|
84
|
-
Suspended: 'SUSPENDED'
|
|
78
|
+
Suspended: 'SUSPENDED',
|
|
85
79
|
};
|
|
86
80
|
/**
|
|
87
81
|
* ActivateTokenApi - axios parameter creator
|
|
88
|
-
* @export
|
|
89
82
|
*/
|
|
90
83
|
const ActivateTokenApiAxiosParamCreator = function (configuration) {
|
|
91
84
|
return {
|
|
@@ -101,7 +94,7 @@ const ActivateTokenApiAxiosParamCreator = function (configuration) {
|
|
|
101
94
|
// verify required parameter 'cardId' is not null or undefined
|
|
102
95
|
(0, common_1.assertParamExists)('activate', 'cardId', cardId);
|
|
103
96
|
const localVarPath = `/v1/wallet/{cardId}/activate`
|
|
104
|
-
.replace(
|
|
97
|
+
.replace('{cardId}', encodeURIComponent(String(cardId)));
|
|
105
98
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
106
99
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
107
100
|
let baseOptions;
|
|
@@ -114,6 +107,7 @@ const ActivateTokenApiAxiosParamCreator = function (configuration) {
|
|
|
114
107
|
// authentication bearerAuth required
|
|
115
108
|
// http bearer authentication required
|
|
116
109
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
110
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
117
111
|
if (xAuditUser != null) {
|
|
118
112
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
119
113
|
}
|
|
@@ -138,7 +132,7 @@ const ActivateTokenApiAxiosParamCreator = function (configuration) {
|
|
|
138
132
|
// verify required parameter 'id' is not null or undefined
|
|
139
133
|
(0, common_1.assertParamExists)('activateToken', 'id', id);
|
|
140
134
|
const localVarPath = `/v1/wallet/tokens/{id}/activate`
|
|
141
|
-
.replace(
|
|
135
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
142
136
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
143
137
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
144
138
|
let baseOptions;
|
|
@@ -151,6 +145,7 @@ const ActivateTokenApiAxiosParamCreator = function (configuration) {
|
|
|
151
145
|
// authentication bearerAuth required
|
|
152
146
|
// http bearer authentication required
|
|
153
147
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
148
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
154
149
|
if (xIdempotencyKey != null) {
|
|
155
150
|
localVarHeaderParameter['x-idempotency-key'] = String(xIdempotencyKey);
|
|
156
151
|
}
|
|
@@ -170,7 +165,6 @@ const ActivateTokenApiAxiosParamCreator = function (configuration) {
|
|
|
170
165
|
exports.ActivateTokenApiAxiosParamCreator = ActivateTokenApiAxiosParamCreator;
|
|
171
166
|
/**
|
|
172
167
|
* ActivateTokenApi - functional programming interface
|
|
173
|
-
* @export
|
|
174
168
|
*/
|
|
175
169
|
const ActivateTokenApiFp = function (configuration) {
|
|
176
170
|
const localVarAxiosParamCreator = (0, exports.ActivateTokenApiAxiosParamCreator)(configuration);
|
|
@@ -215,7 +209,6 @@ const ActivateTokenApiFp = function (configuration) {
|
|
|
215
209
|
exports.ActivateTokenApiFp = ActivateTokenApiFp;
|
|
216
210
|
/**
|
|
217
211
|
* ActivateTokenApi - factory interface
|
|
218
|
-
* @export
|
|
219
212
|
*/
|
|
220
213
|
const ActivateTokenApiFactory = function (configuration, basePath, axios) {
|
|
221
214
|
const localVarFp = (0, exports.ActivateTokenApiFp)(configuration);
|
|
@@ -248,9 +241,6 @@ const ActivateTokenApiFactory = function (configuration, basePath, axios) {
|
|
|
248
241
|
exports.ActivateTokenApiFactory = ActivateTokenApiFactory;
|
|
249
242
|
/**
|
|
250
243
|
* ActivateTokenApi - object-oriented interface
|
|
251
|
-
* @export
|
|
252
|
-
* @class ActivateTokenApi
|
|
253
|
-
* @extends {BaseAPI}
|
|
254
244
|
*/
|
|
255
245
|
class ActivateTokenApi extends base_1.BaseAPI {
|
|
256
246
|
/**
|
|
@@ -260,7 +250,6 @@ class ActivateTokenApi extends base_1.BaseAPI {
|
|
|
260
250
|
* @param {string} [xAuditUser] Optional audit user header
|
|
261
251
|
* @param {*} [options] Override http request option.
|
|
262
252
|
* @throws {RequiredError}
|
|
263
|
-
* @memberof ActivateTokenApi
|
|
264
253
|
*/
|
|
265
254
|
activate(cardId, xAuditUser, options) {
|
|
266
255
|
return (0, exports.ActivateTokenApiFp)(this.configuration).activate(cardId, xAuditUser, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -273,7 +262,6 @@ class ActivateTokenApi extends base_1.BaseAPI {
|
|
|
273
262
|
* @param {string} [xAuditUser] Optional audit user header
|
|
274
263
|
* @param {*} [options] Override http request option.
|
|
275
264
|
* @throws {RequiredError}
|
|
276
|
-
* @memberof ActivateTokenApi
|
|
277
265
|
*/
|
|
278
266
|
activateToken(id, xIdempotencyKey, xAuditUser, options) {
|
|
279
267
|
return (0, exports.ActivateTokenApiFp)(this.configuration).activateToken(id, xIdempotencyKey, xAuditUser, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -282,7 +270,6 @@ class ActivateTokenApi extends base_1.BaseAPI {
|
|
|
282
270
|
exports.ActivateTokenApi = ActivateTokenApi;
|
|
283
271
|
/**
|
|
284
272
|
* DeactivateTokenApi - axios parameter creator
|
|
285
|
-
* @export
|
|
286
273
|
*/
|
|
287
274
|
const DeactivateTokenApiAxiosParamCreator = function (configuration) {
|
|
288
275
|
return {
|
|
@@ -299,7 +286,7 @@ const DeactivateTokenApiAxiosParamCreator = function (configuration) {
|
|
|
299
286
|
// verify required parameter 'id' is not null or undefined
|
|
300
287
|
(0, common_1.assertParamExists)('deactivateToken', 'id', id);
|
|
301
288
|
const localVarPath = `/v1/wallet/tokens/{id}/deactivate`
|
|
302
|
-
.replace(
|
|
289
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
303
290
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
304
291
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
305
292
|
let baseOptions;
|
|
@@ -312,6 +299,7 @@ const DeactivateTokenApiAxiosParamCreator = function (configuration) {
|
|
|
312
299
|
// authentication bearerAuth required
|
|
313
300
|
// http bearer authentication required
|
|
314
301
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
302
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
315
303
|
if (xIdempotencyKey != null) {
|
|
316
304
|
localVarHeaderParameter['x-idempotency-key'] = String(xIdempotencyKey);
|
|
317
305
|
}
|
|
@@ -331,7 +319,6 @@ const DeactivateTokenApiAxiosParamCreator = function (configuration) {
|
|
|
331
319
|
exports.DeactivateTokenApiAxiosParamCreator = DeactivateTokenApiAxiosParamCreator;
|
|
332
320
|
/**
|
|
333
321
|
* DeactivateTokenApi - functional programming interface
|
|
334
|
-
* @export
|
|
335
322
|
*/
|
|
336
323
|
const DeactivateTokenApiFp = function (configuration) {
|
|
337
324
|
const localVarAxiosParamCreator = (0, exports.DeactivateTokenApiAxiosParamCreator)(configuration);
|
|
@@ -359,7 +346,6 @@ const DeactivateTokenApiFp = function (configuration) {
|
|
|
359
346
|
exports.DeactivateTokenApiFp = DeactivateTokenApiFp;
|
|
360
347
|
/**
|
|
361
348
|
* DeactivateTokenApi - factory interface
|
|
362
|
-
* @export
|
|
363
349
|
*/
|
|
364
350
|
const DeactivateTokenApiFactory = function (configuration, basePath, axios) {
|
|
365
351
|
const localVarFp = (0, exports.DeactivateTokenApiFp)(configuration);
|
|
@@ -381,9 +367,6 @@ const DeactivateTokenApiFactory = function (configuration, basePath, axios) {
|
|
|
381
367
|
exports.DeactivateTokenApiFactory = DeactivateTokenApiFactory;
|
|
382
368
|
/**
|
|
383
369
|
* DeactivateTokenApi - object-oriented interface
|
|
384
|
-
* @export
|
|
385
|
-
* @class DeactivateTokenApi
|
|
386
|
-
* @extends {BaseAPI}
|
|
387
370
|
*/
|
|
388
371
|
class DeactivateTokenApi extends base_1.BaseAPI {
|
|
389
372
|
/**
|
|
@@ -394,7 +377,6 @@ class DeactivateTokenApi extends base_1.BaseAPI {
|
|
|
394
377
|
* @param {string} [xAuditUser] Optional audit user header
|
|
395
378
|
* @param {*} [options] Override http request option.
|
|
396
379
|
* @throws {RequiredError}
|
|
397
|
-
* @memberof DeactivateTokenApi
|
|
398
380
|
*/
|
|
399
381
|
deactivateToken(id, xIdempotencyKey, xAuditUser, options) {
|
|
400
382
|
return (0, exports.DeactivateTokenApiFp)(this.configuration).deactivateToken(id, xIdempotencyKey, xAuditUser, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -403,7 +385,6 @@ class DeactivateTokenApi extends base_1.BaseAPI {
|
|
|
403
385
|
exports.DeactivateTokenApi = DeactivateTokenApi;
|
|
404
386
|
/**
|
|
405
387
|
* EligibleTokenRequestorsApi - axios parameter creator
|
|
406
|
-
* @export
|
|
407
388
|
*/
|
|
408
389
|
const EligibleTokenRequestorsApiAxiosParamCreator = function (configuration) {
|
|
409
390
|
return {
|
|
@@ -430,6 +411,7 @@ const EligibleTokenRequestorsApiAxiosParamCreator = function (configuration) {
|
|
|
430
411
|
// http bearer authentication required
|
|
431
412
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
432
413
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
414
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
433
415
|
if (xAuditUser != null) {
|
|
434
416
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
435
417
|
}
|
|
@@ -447,7 +429,6 @@ const EligibleTokenRequestorsApiAxiosParamCreator = function (configuration) {
|
|
|
447
429
|
exports.EligibleTokenRequestorsApiAxiosParamCreator = EligibleTokenRequestorsApiAxiosParamCreator;
|
|
448
430
|
/**
|
|
449
431
|
* EligibleTokenRequestorsApi - functional programming interface
|
|
450
|
-
* @export
|
|
451
432
|
*/
|
|
452
433
|
const EligibleTokenRequestorsApiFp = function (configuration) {
|
|
453
434
|
const localVarAxiosParamCreator = (0, exports.EligibleTokenRequestorsApiAxiosParamCreator)(configuration);
|
|
@@ -474,7 +455,6 @@ const EligibleTokenRequestorsApiFp = function (configuration) {
|
|
|
474
455
|
exports.EligibleTokenRequestorsApiFp = EligibleTokenRequestorsApiFp;
|
|
475
456
|
/**
|
|
476
457
|
* EligibleTokenRequestorsApi - factory interface
|
|
477
|
-
* @export
|
|
478
458
|
*/
|
|
479
459
|
const EligibleTokenRequestorsApiFactory = function (configuration, basePath, axios) {
|
|
480
460
|
const localVarFp = (0, exports.EligibleTokenRequestorsApiFp)(configuration);
|
|
@@ -495,9 +475,6 @@ const EligibleTokenRequestorsApiFactory = function (configuration, basePath, axi
|
|
|
495
475
|
exports.EligibleTokenRequestorsApiFactory = EligibleTokenRequestorsApiFactory;
|
|
496
476
|
/**
|
|
497
477
|
* EligibleTokenRequestorsApi - object-oriented interface
|
|
498
|
-
* @export
|
|
499
|
-
* @class EligibleTokenRequestorsApi
|
|
500
|
-
* @extends {BaseAPI}
|
|
501
478
|
*/
|
|
502
479
|
class EligibleTokenRequestorsApi extends base_1.BaseAPI {
|
|
503
480
|
/**
|
|
@@ -507,7 +484,6 @@ class EligibleTokenRequestorsApi extends base_1.BaseAPI {
|
|
|
507
484
|
* @param {EligibleTokenRequestorsRequest} [eligibleTokenRequestorsRequest]
|
|
508
485
|
* @param {*} [options] Override http request option.
|
|
509
486
|
* @throws {RequiredError}
|
|
510
|
-
* @memberof EligibleTokenRequestorsApi
|
|
511
487
|
*/
|
|
512
488
|
getEligibleTokenRequestors(xAuditUser, eligibleTokenRequestorsRequest, options) {
|
|
513
489
|
return (0, exports.EligibleTokenRequestorsApiFp)(this.configuration).getEligibleTokenRequestors(xAuditUser, eligibleTokenRequestorsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -516,7 +492,6 @@ class EligibleTokenRequestorsApi extends base_1.BaseAPI {
|
|
|
516
492
|
exports.EligibleTokenRequestorsApi = EligibleTokenRequestorsApi;
|
|
517
493
|
/**
|
|
518
494
|
* GetTokensApi - axios parameter creator
|
|
519
|
-
* @export
|
|
520
495
|
*/
|
|
521
496
|
const GetTokensApiAxiosParamCreator = function (configuration) {
|
|
522
497
|
return {
|
|
@@ -534,7 +509,7 @@ const GetTokensApiAxiosParamCreator = function (configuration) {
|
|
|
534
509
|
// verify required parameter 'id' is not null or undefined
|
|
535
510
|
(0, common_1.assertParamExists)('getToken', 'id', id);
|
|
536
511
|
const localVarPath = `/v1/wallet/tokens/{id}`
|
|
537
|
-
.replace(
|
|
512
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
538
513
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
539
514
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
540
515
|
let baseOptions;
|
|
@@ -553,6 +528,7 @@ const GetTokensApiAxiosParamCreator = function (configuration) {
|
|
|
553
528
|
if (includeCardSchemePayload !== undefined) {
|
|
554
529
|
localVarQueryParameter['includeCardSchemePayload'] = includeCardSchemePayload;
|
|
555
530
|
}
|
|
531
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
556
532
|
if (xAuditUser != null) {
|
|
557
533
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
558
534
|
}
|
|
@@ -578,7 +554,7 @@ const GetTokensApiAxiosParamCreator = function (configuration) {
|
|
|
578
554
|
// verify required parameter 'cardId' is not null or undefined
|
|
579
555
|
(0, common_1.assertParamExists)('getTokens', 'cardId', cardId);
|
|
580
556
|
const localVarPath = `/v1/wallet/{cardId}/tokens`
|
|
581
|
-
.replace(
|
|
557
|
+
.replace('{cardId}', encodeURIComponent(String(cardId)));
|
|
582
558
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
583
559
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
584
560
|
let baseOptions;
|
|
@@ -597,6 +573,7 @@ const GetTokensApiAxiosParamCreator = function (configuration) {
|
|
|
597
573
|
if (includeCardSchemePayload !== undefined) {
|
|
598
574
|
localVarQueryParameter['includeCardSchemePayload'] = includeCardSchemePayload;
|
|
599
575
|
}
|
|
576
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
600
577
|
if (xAuditUser != null) {
|
|
601
578
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
602
579
|
}
|
|
@@ -613,7 +590,6 @@ const GetTokensApiAxiosParamCreator = function (configuration) {
|
|
|
613
590
|
exports.GetTokensApiAxiosParamCreator = GetTokensApiAxiosParamCreator;
|
|
614
591
|
/**
|
|
615
592
|
* GetTokensApi - functional programming interface
|
|
616
|
-
* @export
|
|
617
593
|
*/
|
|
618
594
|
const GetTokensApiFp = function (configuration) {
|
|
619
595
|
const localVarAxiosParamCreator = (0, exports.GetTokensApiAxiosParamCreator)(configuration);
|
|
@@ -661,7 +637,6 @@ const GetTokensApiFp = function (configuration) {
|
|
|
661
637
|
exports.GetTokensApiFp = GetTokensApiFp;
|
|
662
638
|
/**
|
|
663
639
|
* GetTokensApi - factory interface
|
|
664
|
-
* @export
|
|
665
640
|
*/
|
|
666
641
|
const GetTokensApiFactory = function (configuration, basePath, axios) {
|
|
667
642
|
const localVarFp = (0, exports.GetTokensApiFp)(configuration);
|
|
@@ -697,9 +672,6 @@ const GetTokensApiFactory = function (configuration, basePath, axios) {
|
|
|
697
672
|
exports.GetTokensApiFactory = GetTokensApiFactory;
|
|
698
673
|
/**
|
|
699
674
|
* GetTokensApi - object-oriented interface
|
|
700
|
-
* @export
|
|
701
|
-
* @class GetTokensApi
|
|
702
|
-
* @extends {BaseAPI}
|
|
703
675
|
*/
|
|
704
676
|
class GetTokensApi extends base_1.BaseAPI {
|
|
705
677
|
/**
|
|
@@ -711,7 +683,6 @@ class GetTokensApi extends base_1.BaseAPI {
|
|
|
711
683
|
* @param {string} [xAuditUser] Optional audit user header
|
|
712
684
|
* @param {*} [options] Override http request option.
|
|
713
685
|
* @throws {RequiredError}
|
|
714
|
-
* @memberof GetTokensApi
|
|
715
686
|
*/
|
|
716
687
|
getToken(id, fetchFromCardScheme, includeCardSchemePayload, xAuditUser, options) {
|
|
717
688
|
return (0, exports.GetTokensApiFp)(this.configuration).getToken(id, fetchFromCardScheme, includeCardSchemePayload, xAuditUser, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -725,7 +696,6 @@ class GetTokensApi extends base_1.BaseAPI {
|
|
|
725
696
|
* @param {string} [xAuditUser] Optional audit user header
|
|
726
697
|
* @param {*} [options] Override http request option.
|
|
727
698
|
* @throws {RequiredError}
|
|
728
|
-
* @memberof GetTokensApi
|
|
729
699
|
*/
|
|
730
700
|
getTokens(cardId, fetchFromCardScheme, includeCardSchemePayload, xAuditUser, options) {
|
|
731
701
|
return (0, exports.GetTokensApiFp)(this.configuration).getTokens(cardId, fetchFromCardScheme, includeCardSchemePayload, xAuditUser, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -734,7 +704,6 @@ class GetTokensApi extends base_1.BaseAPI {
|
|
|
734
704
|
exports.GetTokensApi = GetTokensApi;
|
|
735
705
|
/**
|
|
736
706
|
* PushCardsApi - axios parameter creator
|
|
737
|
-
* @export
|
|
738
707
|
*/
|
|
739
708
|
const PushCardsApiAxiosParamCreator = function (configuration) {
|
|
740
709
|
return {
|
|
@@ -763,6 +732,7 @@ const PushCardsApiAxiosParamCreator = function (configuration) {
|
|
|
763
732
|
// http bearer authentication required
|
|
764
733
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
765
734
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
735
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
766
736
|
if (xAuditUser != null) {
|
|
767
737
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
768
738
|
}
|
|
@@ -780,7 +750,6 @@ const PushCardsApiAxiosParamCreator = function (configuration) {
|
|
|
780
750
|
exports.PushCardsApiAxiosParamCreator = PushCardsApiAxiosParamCreator;
|
|
781
751
|
/**
|
|
782
752
|
* PushCardsApi - functional programming interface
|
|
783
|
-
* @export
|
|
784
753
|
*/
|
|
785
754
|
const PushCardsApiFp = function (configuration) {
|
|
786
755
|
const localVarAxiosParamCreator = (0, exports.PushCardsApiAxiosParamCreator)(configuration);
|
|
@@ -807,7 +776,6 @@ const PushCardsApiFp = function (configuration) {
|
|
|
807
776
|
exports.PushCardsApiFp = PushCardsApiFp;
|
|
808
777
|
/**
|
|
809
778
|
* PushCardsApi - factory interface
|
|
810
|
-
* @export
|
|
811
779
|
*/
|
|
812
780
|
const PushCardsApiFactory = function (configuration, basePath, axios) {
|
|
813
781
|
const localVarFp = (0, exports.PushCardsApiFp)(configuration);
|
|
@@ -828,9 +796,6 @@ const PushCardsApiFactory = function (configuration, basePath, axios) {
|
|
|
828
796
|
exports.PushCardsApiFactory = PushCardsApiFactory;
|
|
829
797
|
/**
|
|
830
798
|
* PushCardsApi - object-oriented interface
|
|
831
|
-
* @export
|
|
832
|
-
* @class PushCardsApi
|
|
833
|
-
* @extends {BaseAPI}
|
|
834
799
|
*/
|
|
835
800
|
class PushCardsApi extends base_1.BaseAPI {
|
|
836
801
|
/**
|
|
@@ -840,7 +805,6 @@ class PushCardsApi extends base_1.BaseAPI {
|
|
|
840
805
|
* @param {string} [xAuditUser] Optional audit user header
|
|
841
806
|
* @param {*} [options] Override http request option.
|
|
842
807
|
* @throws {RequiredError}
|
|
843
|
-
* @memberof PushCardsApi
|
|
844
808
|
*/
|
|
845
809
|
pushCardsToTokenRequestor(pushAccountsToTokenRequestorRequest, xAuditUser, options) {
|
|
846
810
|
return (0, exports.PushCardsApiFp)(this.configuration).pushCardsToTokenRequestor(pushAccountsToTokenRequestorRequest, xAuditUser, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -849,7 +813,6 @@ class PushCardsApi extends base_1.BaseAPI {
|
|
|
849
813
|
exports.PushCardsApi = PushCardsApi;
|
|
850
814
|
/**
|
|
851
815
|
* PushProvisionApi - axios parameter creator
|
|
852
|
-
* @export
|
|
853
816
|
*/
|
|
854
817
|
const PushProvisionApiAxiosParamCreator = function (configuration) {
|
|
855
818
|
return {
|
|
@@ -868,7 +831,7 @@ const PushProvisionApiAxiosParamCreator = function (configuration) {
|
|
|
868
831
|
// verify required parameter 'appleParametersRequest' is not null or undefined
|
|
869
832
|
(0, common_1.assertParamExists)('provisionApplePay', 'appleParametersRequest', appleParametersRequest);
|
|
870
833
|
const localVarPath = `/v1/wallet/{cardId}/provision/applepay`
|
|
871
|
-
.replace(
|
|
834
|
+
.replace('{cardId}', encodeURIComponent(String(cardId)));
|
|
872
835
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
873
836
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
874
837
|
let baseOptions;
|
|
@@ -882,6 +845,7 @@ const PushProvisionApiAxiosParamCreator = function (configuration) {
|
|
|
882
845
|
// http bearer authentication required
|
|
883
846
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
884
847
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
848
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
885
849
|
if (xAuditUser != null) {
|
|
886
850
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
887
851
|
}
|
|
@@ -907,7 +871,7 @@ const PushProvisionApiAxiosParamCreator = function (configuration) {
|
|
|
907
871
|
// verify required parameter 'cardId' is not null or undefined
|
|
908
872
|
(0, common_1.assertParamExists)('provisionGooglePay', 'cardId', cardId);
|
|
909
873
|
const localVarPath = `/v1/wallet/{cardId}/provision/googlepay`
|
|
910
|
-
.replace(
|
|
874
|
+
.replace('{cardId}', encodeURIComponent(String(cardId)));
|
|
911
875
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
912
876
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
913
877
|
let baseOptions;
|
|
@@ -921,6 +885,7 @@ const PushProvisionApiAxiosParamCreator = function (configuration) {
|
|
|
921
885
|
// http bearer authentication required
|
|
922
886
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
923
887
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
888
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
924
889
|
if (xAuditUser != null) {
|
|
925
890
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
926
891
|
}
|
|
@@ -946,7 +911,7 @@ const PushProvisionApiAxiosParamCreator = function (configuration) {
|
|
|
946
911
|
// verify required parameter 'cardId' is not null or undefined
|
|
947
912
|
(0, common_1.assertParamExists)('provisionSamsungPay', 'cardId', cardId);
|
|
948
913
|
const localVarPath = `/v1/wallet/{cardId}/provision/samsungpay`
|
|
949
|
-
.replace(
|
|
914
|
+
.replace('{cardId}', encodeURIComponent(String(cardId)));
|
|
950
915
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
951
916
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
952
917
|
let baseOptions;
|
|
@@ -960,6 +925,7 @@ const PushProvisionApiAxiosParamCreator = function (configuration) {
|
|
|
960
925
|
// http bearer authentication required
|
|
961
926
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
962
927
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
928
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
963
929
|
if (xAuditUser != null) {
|
|
964
930
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
965
931
|
}
|
|
@@ -977,7 +943,6 @@ const PushProvisionApiAxiosParamCreator = function (configuration) {
|
|
|
977
943
|
exports.PushProvisionApiAxiosParamCreator = PushProvisionApiAxiosParamCreator;
|
|
978
944
|
/**
|
|
979
945
|
* PushProvisionApi - functional programming interface
|
|
980
|
-
* @export
|
|
981
946
|
*/
|
|
982
947
|
const PushProvisionApiFp = function (configuration) {
|
|
983
948
|
const localVarAxiosParamCreator = (0, exports.PushProvisionApiAxiosParamCreator)(configuration);
|
|
@@ -1041,7 +1006,6 @@ const PushProvisionApiFp = function (configuration) {
|
|
|
1041
1006
|
exports.PushProvisionApiFp = PushProvisionApiFp;
|
|
1042
1007
|
/**
|
|
1043
1008
|
* PushProvisionApi - factory interface
|
|
1044
|
-
* @export
|
|
1045
1009
|
*/
|
|
1046
1010
|
const PushProvisionApiFactory = function (configuration, basePath, axios) {
|
|
1047
1011
|
const localVarFp = (0, exports.PushProvisionApiFp)(configuration);
|
|
@@ -1087,9 +1051,6 @@ const PushProvisionApiFactory = function (configuration, basePath, axios) {
|
|
|
1087
1051
|
exports.PushProvisionApiFactory = PushProvisionApiFactory;
|
|
1088
1052
|
/**
|
|
1089
1053
|
* PushProvisionApi - object-oriented interface
|
|
1090
|
-
* @export
|
|
1091
|
-
* @class PushProvisionApi
|
|
1092
|
-
* @extends {BaseAPI}
|
|
1093
1054
|
*/
|
|
1094
1055
|
class PushProvisionApi extends base_1.BaseAPI {
|
|
1095
1056
|
/**
|
|
@@ -1100,7 +1061,6 @@ class PushProvisionApi extends base_1.BaseAPI {
|
|
|
1100
1061
|
* @param {string} [xAuditUser] Optional audit user header
|
|
1101
1062
|
* @param {*} [options] Override http request option.
|
|
1102
1063
|
* @throws {RequiredError}
|
|
1103
|
-
* @memberof PushProvisionApi
|
|
1104
1064
|
*/
|
|
1105
1065
|
provisionApplePay(cardId, appleParametersRequest, xAuditUser, options) {
|
|
1106
1066
|
return (0, exports.PushProvisionApiFp)(this.configuration).provisionApplePay(cardId, appleParametersRequest, xAuditUser, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1113,7 +1073,6 @@ class PushProvisionApi extends base_1.BaseAPI {
|
|
|
1113
1073
|
* @param {GoogleParametersRequest} [googleParametersRequest]
|
|
1114
1074
|
* @param {*} [options] Override http request option.
|
|
1115
1075
|
* @throws {RequiredError}
|
|
1116
|
-
* @memberof PushProvisionApi
|
|
1117
1076
|
*/
|
|
1118
1077
|
provisionGooglePay(cardId, xAuditUser, googleParametersRequest, options) {
|
|
1119
1078
|
return (0, exports.PushProvisionApiFp)(this.configuration).provisionGooglePay(cardId, xAuditUser, googleParametersRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1126,7 +1085,6 @@ class PushProvisionApi extends base_1.BaseAPI {
|
|
|
1126
1085
|
* @param {SamsungParametersRequest} [samsungParametersRequest]
|
|
1127
1086
|
* @param {*} [options] Override http request option.
|
|
1128
1087
|
* @throws {RequiredError}
|
|
1129
|
-
* @memberof PushProvisionApi
|
|
1130
1088
|
*/
|
|
1131
1089
|
provisionSamsungPay(cardId, xAuditUser, samsungParametersRequest, options) {
|
|
1132
1090
|
return (0, exports.PushProvisionApiFp)(this.configuration).provisionSamsungPay(cardId, xAuditUser, samsungParametersRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1135,7 +1093,6 @@ class PushProvisionApi extends base_1.BaseAPI {
|
|
|
1135
1093
|
exports.PushProvisionApi = PushProvisionApi;
|
|
1136
1094
|
/**
|
|
1137
1095
|
* SuspendTokenApi - axios parameter creator
|
|
1138
|
-
* @export
|
|
1139
1096
|
*/
|
|
1140
1097
|
const SuspendTokenApiAxiosParamCreator = function (configuration) {
|
|
1141
1098
|
return {
|
|
@@ -1152,7 +1109,7 @@ const SuspendTokenApiAxiosParamCreator = function (configuration) {
|
|
|
1152
1109
|
// verify required parameter 'id' is not null or undefined
|
|
1153
1110
|
(0, common_1.assertParamExists)('suspendToken', 'id', id);
|
|
1154
1111
|
const localVarPath = `/v1/wallet/tokens/{id}/suspend`
|
|
1155
|
-
.replace(
|
|
1112
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1156
1113
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1157
1114
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1158
1115
|
let baseOptions;
|
|
@@ -1165,6 +1122,7 @@ const SuspendTokenApiAxiosParamCreator = function (configuration) {
|
|
|
1165
1122
|
// authentication bearerAuth required
|
|
1166
1123
|
// http bearer authentication required
|
|
1167
1124
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1125
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1168
1126
|
if (xIdempotencyKey != null) {
|
|
1169
1127
|
localVarHeaderParameter['x-idempotency-key'] = String(xIdempotencyKey);
|
|
1170
1128
|
}
|
|
@@ -1184,7 +1142,6 @@ const SuspendTokenApiAxiosParamCreator = function (configuration) {
|
|
|
1184
1142
|
exports.SuspendTokenApiAxiosParamCreator = SuspendTokenApiAxiosParamCreator;
|
|
1185
1143
|
/**
|
|
1186
1144
|
* SuspendTokenApi - functional programming interface
|
|
1187
|
-
* @export
|
|
1188
1145
|
*/
|
|
1189
1146
|
const SuspendTokenApiFp = function (configuration) {
|
|
1190
1147
|
const localVarAxiosParamCreator = (0, exports.SuspendTokenApiAxiosParamCreator)(configuration);
|
|
@@ -1212,7 +1169,6 @@ const SuspendTokenApiFp = function (configuration) {
|
|
|
1212
1169
|
exports.SuspendTokenApiFp = SuspendTokenApiFp;
|
|
1213
1170
|
/**
|
|
1214
1171
|
* SuspendTokenApi - factory interface
|
|
1215
|
-
* @export
|
|
1216
1172
|
*/
|
|
1217
1173
|
const SuspendTokenApiFactory = function (configuration, basePath, axios) {
|
|
1218
1174
|
const localVarFp = (0, exports.SuspendTokenApiFp)(configuration);
|
|
@@ -1234,9 +1190,6 @@ const SuspendTokenApiFactory = function (configuration, basePath, axios) {
|
|
|
1234
1190
|
exports.SuspendTokenApiFactory = SuspendTokenApiFactory;
|
|
1235
1191
|
/**
|
|
1236
1192
|
* SuspendTokenApi - object-oriented interface
|
|
1237
|
-
* @export
|
|
1238
|
-
* @class SuspendTokenApi
|
|
1239
|
-
* @extends {BaseAPI}
|
|
1240
1193
|
*/
|
|
1241
1194
|
class SuspendTokenApi extends base_1.BaseAPI {
|
|
1242
1195
|
/**
|
|
@@ -1247,7 +1200,6 @@ class SuspendTokenApi extends base_1.BaseAPI {
|
|
|
1247
1200
|
* @param {string} [xAuditUser] Optional audit user header
|
|
1248
1201
|
* @param {*} [options] Override http request option.
|
|
1249
1202
|
* @throws {RequiredError}
|
|
1250
|
-
* @memberof SuspendTokenApi
|
|
1251
1203
|
*/
|
|
1252
1204
|
suspendToken(id, xIdempotencyKey, xAuditUser, options) {
|
|
1253
1205
|
return (0, exports.SuspendTokenApiFp)(this.configuration).suspendToken(id, xIdempotencyKey, xAuditUser, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1256,7 +1208,6 @@ class SuspendTokenApi extends base_1.BaseAPI {
|
|
|
1256
1208
|
exports.SuspendTokenApi = SuspendTokenApi;
|
|
1257
1209
|
/**
|
|
1258
1210
|
* UnsuspendTokenApi - axios parameter creator
|
|
1259
|
-
* @export
|
|
1260
1211
|
*/
|
|
1261
1212
|
const UnsuspendTokenApiAxiosParamCreator = function (configuration) {
|
|
1262
1213
|
return {
|
|
@@ -1273,7 +1224,7 @@ const UnsuspendTokenApiAxiosParamCreator = function (configuration) {
|
|
|
1273
1224
|
// verify required parameter 'id' is not null or undefined
|
|
1274
1225
|
(0, common_1.assertParamExists)('unsuspendToken', 'id', id);
|
|
1275
1226
|
const localVarPath = `/v1/wallet/tokens/{id}/unsuspend`
|
|
1276
|
-
.replace(
|
|
1227
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1277
1228
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1278
1229
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1279
1230
|
let baseOptions;
|
|
@@ -1286,6 +1237,7 @@ const UnsuspendTokenApiAxiosParamCreator = function (configuration) {
|
|
|
1286
1237
|
// authentication bearerAuth required
|
|
1287
1238
|
// http bearer authentication required
|
|
1288
1239
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1240
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1289
1241
|
if (xIdempotencyKey != null) {
|
|
1290
1242
|
localVarHeaderParameter['x-idempotency-key'] = String(xIdempotencyKey);
|
|
1291
1243
|
}
|
|
@@ -1305,7 +1257,6 @@ const UnsuspendTokenApiAxiosParamCreator = function (configuration) {
|
|
|
1305
1257
|
exports.UnsuspendTokenApiAxiosParamCreator = UnsuspendTokenApiAxiosParamCreator;
|
|
1306
1258
|
/**
|
|
1307
1259
|
* UnsuspendTokenApi - functional programming interface
|
|
1308
|
-
* @export
|
|
1309
1260
|
*/
|
|
1310
1261
|
const UnsuspendTokenApiFp = function (configuration) {
|
|
1311
1262
|
const localVarAxiosParamCreator = (0, exports.UnsuspendTokenApiAxiosParamCreator)(configuration);
|
|
@@ -1333,7 +1284,6 @@ const UnsuspendTokenApiFp = function (configuration) {
|
|
|
1333
1284
|
exports.UnsuspendTokenApiFp = UnsuspendTokenApiFp;
|
|
1334
1285
|
/**
|
|
1335
1286
|
* UnsuspendTokenApi - factory interface
|
|
1336
|
-
* @export
|
|
1337
1287
|
*/
|
|
1338
1288
|
const UnsuspendTokenApiFactory = function (configuration, basePath, axios) {
|
|
1339
1289
|
const localVarFp = (0, exports.UnsuspendTokenApiFp)(configuration);
|
|
@@ -1355,9 +1305,6 @@ const UnsuspendTokenApiFactory = function (configuration, basePath, axios) {
|
|
|
1355
1305
|
exports.UnsuspendTokenApiFactory = UnsuspendTokenApiFactory;
|
|
1356
1306
|
/**
|
|
1357
1307
|
* UnsuspendTokenApi - object-oriented interface
|
|
1358
|
-
* @export
|
|
1359
|
-
* @class UnsuspendTokenApi
|
|
1360
|
-
* @extends {BaseAPI}
|
|
1361
1308
|
*/
|
|
1362
1309
|
class UnsuspendTokenApi extends base_1.BaseAPI {
|
|
1363
1310
|
/**
|
|
@@ -1368,7 +1315,6 @@ class UnsuspendTokenApi extends base_1.BaseAPI {
|
|
|
1368
1315
|
* @param {string} [xAuditUser] Optional audit user header
|
|
1369
1316
|
* @param {*} [options] Override http request option.
|
|
1370
1317
|
* @throws {RequiredError}
|
|
1371
|
-
* @memberof UnsuspendTokenApi
|
|
1372
1318
|
*/
|
|
1373
1319
|
unsuspendToken(id, xIdempotencyKey, xAuditUser, options) {
|
|
1374
1320
|
return (0, exports.UnsuspendTokenApiFp)(this.configuration).unsuspendToken(id, xIdempotencyKey, xAuditUser, options).then((request) => request(this.axios, this.basePath));
|
package/dist/wallet/base.d.ts
CHANGED
|
@@ -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 {};
|