@enfuce/nextgen-sdk 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +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/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/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/pin/api.js
CHANGED
|
@@ -31,7 +31,6 @@ const common_1 = require("./common");
|
|
|
31
31
|
const base_1 = require("./base");
|
|
32
32
|
/**
|
|
33
33
|
* PINOperationsUsingPKIApi - axios parameter creator
|
|
34
|
-
* @export
|
|
35
34
|
*/
|
|
36
35
|
const PINOperationsUsingPKIApiAxiosParamCreator = function (configuration) {
|
|
37
36
|
return {
|
|
@@ -60,6 +59,7 @@ const PINOperationsUsingPKIApiAxiosParamCreator = function (configuration) {
|
|
|
60
59
|
// http bearer authentication required
|
|
61
60
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
62
61
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
62
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
63
63
|
if (xAuditUser != null) {
|
|
64
64
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
65
65
|
}
|
|
@@ -77,7 +77,6 @@ const PINOperationsUsingPKIApiAxiosParamCreator = function (configuration) {
|
|
|
77
77
|
exports.PINOperationsUsingPKIApiAxiosParamCreator = PINOperationsUsingPKIApiAxiosParamCreator;
|
|
78
78
|
/**
|
|
79
79
|
* PINOperationsUsingPKIApi - functional programming interface
|
|
80
|
-
* @export
|
|
81
80
|
*/
|
|
82
81
|
const PINOperationsUsingPKIApiFp = function (configuration) {
|
|
83
82
|
const localVarAxiosParamCreator = (0, exports.PINOperationsUsingPKIApiAxiosParamCreator)(configuration);
|
|
@@ -104,7 +103,6 @@ const PINOperationsUsingPKIApiFp = function (configuration) {
|
|
|
104
103
|
exports.PINOperationsUsingPKIApiFp = PINOperationsUsingPKIApiFp;
|
|
105
104
|
/**
|
|
106
105
|
* PINOperationsUsingPKIApi - factory interface
|
|
107
|
-
* @export
|
|
108
106
|
*/
|
|
109
107
|
const PINOperationsUsingPKIApiFactory = function (configuration, basePath, axios) {
|
|
110
108
|
const localVarFp = (0, exports.PINOperationsUsingPKIApiFp)(configuration);
|
|
@@ -125,9 +123,6 @@ const PINOperationsUsingPKIApiFactory = function (configuration, basePath, axios
|
|
|
125
123
|
exports.PINOperationsUsingPKIApiFactory = PINOperationsUsingPKIApiFactory;
|
|
126
124
|
/**
|
|
127
125
|
* PINOperationsUsingPKIApi - object-oriented interface
|
|
128
|
-
* @export
|
|
129
|
-
* @class PINOperationsUsingPKIApi
|
|
130
|
-
* @extends {BaseAPI}
|
|
131
126
|
*/
|
|
132
127
|
class PINOperationsUsingPKIApi extends base_1.BaseAPI {
|
|
133
128
|
/**
|
|
@@ -137,7 +132,6 @@ class PINOperationsUsingPKIApi extends base_1.BaseAPI {
|
|
|
137
132
|
* @param {string} [xAuditUser] Optional audit user header
|
|
138
133
|
* @param {*} [options] Override http request option.
|
|
139
134
|
* @throws {RequiredError}
|
|
140
|
-
* @memberof PINOperationsUsingPKIApi
|
|
141
135
|
*/
|
|
142
136
|
viewPin(viewPinRequestBody, xAuditUser, options) {
|
|
143
137
|
return (0, exports.PINOperationsUsingPKIApiFp)(this.configuration).viewPin(viewPinRequestBody, xAuditUser, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -146,7 +140,6 @@ class PINOperationsUsingPKIApi extends base_1.BaseAPI {
|
|
|
146
140
|
exports.PINOperationsUsingPKIApi = PINOperationsUsingPKIApi;
|
|
147
141
|
/**
|
|
148
142
|
* PINOperationsWithPreSharedKeyApi - axios parameter creator
|
|
149
|
-
* @export
|
|
150
143
|
*/
|
|
151
144
|
const PINOperationsWithPreSharedKeyApiAxiosParamCreator = function (configuration) {
|
|
152
145
|
return {
|
|
@@ -176,6 +169,7 @@ const PINOperationsWithPreSharedKeyApiAxiosParamCreator = function (configuratio
|
|
|
176
169
|
// http bearer authentication required
|
|
177
170
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
178
171
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
172
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
179
173
|
if (xIdempotencyKey != null) {
|
|
180
174
|
localVarHeaderParameter['x-idempotency-key'] = String(xIdempotencyKey);
|
|
181
175
|
}
|
|
@@ -217,6 +211,7 @@ const PINOperationsWithPreSharedKeyApiAxiosParamCreator = function (configuratio
|
|
|
217
211
|
// http bearer authentication required
|
|
218
212
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
219
213
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
214
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
220
215
|
if (xIdempotencyKey != null) {
|
|
221
216
|
localVarHeaderParameter['x-idempotency-key'] = String(xIdempotencyKey);
|
|
222
217
|
}
|
|
@@ -237,7 +232,6 @@ const PINOperationsWithPreSharedKeyApiAxiosParamCreator = function (configuratio
|
|
|
237
232
|
exports.PINOperationsWithPreSharedKeyApiAxiosParamCreator = PINOperationsWithPreSharedKeyApiAxiosParamCreator;
|
|
238
233
|
/**
|
|
239
234
|
* PINOperationsWithPreSharedKeyApi - functional programming interface
|
|
240
|
-
* @export
|
|
241
235
|
*/
|
|
242
236
|
const PINOperationsWithPreSharedKeyApiFp = function (configuration) {
|
|
243
237
|
const localVarAxiosParamCreator = (0, exports.PINOperationsWithPreSharedKeyApiAxiosParamCreator)(configuration);
|
|
@@ -283,7 +277,6 @@ const PINOperationsWithPreSharedKeyApiFp = function (configuration) {
|
|
|
283
277
|
exports.PINOperationsWithPreSharedKeyApiFp = PINOperationsWithPreSharedKeyApiFp;
|
|
284
278
|
/**
|
|
285
279
|
* PINOperationsWithPreSharedKeyApi - factory interface
|
|
286
|
-
* @export
|
|
287
280
|
*/
|
|
288
281
|
const PINOperationsWithPreSharedKeyApiFactory = function (configuration, basePath, axios) {
|
|
289
282
|
const localVarFp = (0, exports.PINOperationsWithPreSharedKeyApiFp)(configuration);
|
|
@@ -317,9 +310,6 @@ const PINOperationsWithPreSharedKeyApiFactory = function (configuration, basePat
|
|
|
317
310
|
exports.PINOperationsWithPreSharedKeyApiFactory = PINOperationsWithPreSharedKeyApiFactory;
|
|
318
311
|
/**
|
|
319
312
|
* PINOperationsWithPreSharedKeyApi - object-oriented interface
|
|
320
|
-
* @export
|
|
321
|
-
* @class PINOperationsWithPreSharedKeyApi
|
|
322
|
-
* @extends {BaseAPI}
|
|
323
313
|
*/
|
|
324
314
|
class PINOperationsWithPreSharedKeyApi extends base_1.BaseAPI {
|
|
325
315
|
/**
|
|
@@ -330,7 +320,6 @@ class PINOperationsWithPreSharedKeyApi extends base_1.BaseAPI {
|
|
|
330
320
|
* @param {string} [xAuditUser] Optional audit user header
|
|
331
321
|
* @param {*} [options] Override http request option.
|
|
332
322
|
* @throws {RequiredError}
|
|
333
|
-
* @memberof PINOperationsWithPreSharedKeyApi
|
|
334
323
|
*/
|
|
335
324
|
changePin(changePinRequestBody, xIdempotencyKey, xAuditUser, options) {
|
|
336
325
|
return (0, exports.PINOperationsWithPreSharedKeyApiFp)(this.configuration).changePin(changePinRequestBody, xIdempotencyKey, xAuditUser, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -343,7 +332,6 @@ class PINOperationsWithPreSharedKeyApi extends base_1.BaseAPI {
|
|
|
343
332
|
* @param {string} [xAuditUser] Optional audit user header
|
|
344
333
|
* @param {*} [options] Override http request option.
|
|
345
334
|
* @throws {RequiredError}
|
|
346
|
-
* @memberof PINOperationsWithPreSharedKeyApi
|
|
347
335
|
*/
|
|
348
336
|
setPin(setPinRequestBody, xIdempotencyKey, xAuditUser, options) {
|
|
349
337
|
return (0, exports.PINOperationsWithPreSharedKeyApiFp)(this.configuration).setPin(setPinRequestBody, xIdempotencyKey, xAuditUser, options).then((request) => request(this.axios, this.basePath));
|
package/dist/pin/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 {};
|
package/dist/pin/base.js
CHANGED
|
@@ -16,21 +16,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
16
16
|
exports.operationServerMap = exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
|
|
17
17
|
const axios_1 = require("axios");
|
|
18
18
|
exports.BASE_PATH = "http://localhost".replace(/\/+$/, "");
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @export
|
|
22
|
-
*/
|
|
23
19
|
exports.COLLECTION_FORMATS = {
|
|
24
20
|
csv: ",",
|
|
25
21
|
ssv: " ",
|
|
26
22
|
tsv: "\t",
|
|
27
23
|
pipes: "|",
|
|
28
24
|
};
|
|
29
|
-
/**
|
|
30
|
-
*
|
|
31
|
-
* @export
|
|
32
|
-
* @class BaseAPI
|
|
33
|
-
*/
|
|
34
25
|
class BaseAPI {
|
|
35
26
|
constructor(configuration, basePath = exports.BASE_PATH, axios = axios_1.default) {
|
|
36
27
|
var _a;
|
|
@@ -44,12 +35,6 @@ class BaseAPI {
|
|
|
44
35
|
}
|
|
45
36
|
exports.BaseAPI = BaseAPI;
|
|
46
37
|
;
|
|
47
|
-
/**
|
|
48
|
-
*
|
|
49
|
-
* @export
|
|
50
|
-
* @class RequiredError
|
|
51
|
-
* @extends {Error}
|
|
52
|
-
*/
|
|
53
38
|
class RequiredError extends Error {
|
|
54
39
|
constructor(field, msg) {
|
|
55
40
|
super(msg);
|
|
@@ -58,8 +43,4 @@ class RequiredError extends Error {
|
|
|
58
43
|
}
|
|
59
44
|
}
|
|
60
45
|
exports.RequiredError = RequiredError;
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @export
|
|
64
|
-
*/
|
|
65
46
|
exports.operationServerMap = {};
|
package/dist/pin/common.d.ts
CHANGED
|
@@ -12,54 +12,23 @@
|
|
|
12
12
|
import type { Configuration } from "./configuration";
|
|
13
13
|
import type { RequestArgs } from "./base";
|
|
14
14
|
import type { AxiosInstance, AxiosResponse } from 'axios';
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
*/
|
|
19
15
|
export declare const DUMMY_BASE_URL = "https://example.com";
|
|
20
16
|
/**
|
|
21
17
|
*
|
|
22
18
|
* @throws {RequiredError}
|
|
23
|
-
* @export
|
|
24
19
|
*/
|
|
25
20
|
export declare const assertParamExists: (functionName: string, paramName: string, paramValue: unknown) => void;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @export
|
|
29
|
-
*/
|
|
30
21
|
export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration) => Promise<void>;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @export
|
|
34
|
-
*/
|
|
35
22
|
export declare const setBasicAuthToObject: (object: any, configuration?: Configuration) => void;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @export
|
|
39
|
-
*/
|
|
40
23
|
export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* @export
|
|
44
|
-
*/
|
|
45
24
|
export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @export
|
|
49
|
-
*/
|
|
50
25
|
export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
|
|
51
26
|
/**
|
|
52
|
-
*
|
|
53
|
-
*
|
|
27
|
+
* JSON serialization helper function which replaces instances of unserializable types with serializable ones.
|
|
28
|
+
* This function will run for every key-value pair encountered by JSON.stringify while traversing an object.
|
|
29
|
+
* Converting a set to a string will return an empty object, so an intermediate conversion to an array is required.
|
|
54
30
|
*/
|
|
31
|
+
export declare const replaceWithSerializableTypeIfNeeded: (key: string, value: any) => any;
|
|
55
32
|
export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @export
|
|
59
|
-
*/
|
|
60
33
|
export declare const toPathString: (url: URL) => string;
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @export
|
|
64
|
-
*/
|
|
65
34
|
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
package/dist/pin/common.js
CHANGED
|
@@ -22,17 +22,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.createRequestFunction = exports.toPathString = exports.serializeDataIfNeeded = exports.setSearchParams = exports.setOAuthToObject = exports.setBearerAuthToObject = exports.setBasicAuthToObject = exports.setApiKeyToObject = exports.assertParamExists = exports.DUMMY_BASE_URL = void 0;
|
|
25
|
+
exports.createRequestFunction = exports.toPathString = exports.serializeDataIfNeeded = exports.replaceWithSerializableTypeIfNeeded = exports.setSearchParams = exports.setOAuthToObject = exports.setBearerAuthToObject = exports.setBasicAuthToObject = exports.setApiKeyToObject = exports.assertParamExists = exports.DUMMY_BASE_URL = void 0;
|
|
26
26
|
const base_1 = require("./base");
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @export
|
|
30
|
-
*/
|
|
31
27
|
exports.DUMMY_BASE_URL = 'https://example.com';
|
|
32
28
|
/**
|
|
33
29
|
*
|
|
34
30
|
* @throws {RequiredError}
|
|
35
|
-
* @export
|
|
36
31
|
*/
|
|
37
32
|
const assertParamExists = function (functionName, paramName, paramValue) {
|
|
38
33
|
if (paramValue === null || paramValue === undefined) {
|
|
@@ -40,10 +35,6 @@ const assertParamExists = function (functionName, paramName, paramValue) {
|
|
|
40
35
|
}
|
|
41
36
|
};
|
|
42
37
|
exports.assertParamExists = assertParamExists;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @export
|
|
46
|
-
*/
|
|
47
38
|
const setApiKeyToObject = function (object, keyParamName, configuration) {
|
|
48
39
|
return __awaiter(this, void 0, void 0, function* () {
|
|
49
40
|
if (configuration && configuration.apiKey) {
|
|
@@ -55,20 +46,12 @@ const setApiKeyToObject = function (object, keyParamName, configuration) {
|
|
|
55
46
|
});
|
|
56
47
|
};
|
|
57
48
|
exports.setApiKeyToObject = setApiKeyToObject;
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
* @export
|
|
61
|
-
*/
|
|
62
49
|
const setBasicAuthToObject = function (object, configuration) {
|
|
63
50
|
if (configuration && (configuration.username || configuration.password)) {
|
|
64
51
|
object["auth"] = { username: configuration.username, password: configuration.password };
|
|
65
52
|
}
|
|
66
53
|
};
|
|
67
54
|
exports.setBasicAuthToObject = setBasicAuthToObject;
|
|
68
|
-
/**
|
|
69
|
-
*
|
|
70
|
-
* @export
|
|
71
|
-
*/
|
|
72
55
|
const setBearerAuthToObject = function (object, configuration) {
|
|
73
56
|
return __awaiter(this, void 0, void 0, function* () {
|
|
74
57
|
if (configuration && configuration.accessToken) {
|
|
@@ -80,10 +63,6 @@ const setBearerAuthToObject = function (object, configuration) {
|
|
|
80
63
|
});
|
|
81
64
|
};
|
|
82
65
|
exports.setBearerAuthToObject = setBearerAuthToObject;
|
|
83
|
-
/**
|
|
84
|
-
*
|
|
85
|
-
* @export
|
|
86
|
-
*/
|
|
87
66
|
const setOAuthToObject = function (object, name, scopes, configuration) {
|
|
88
67
|
return __awaiter(this, void 0, void 0, function* () {
|
|
89
68
|
if (configuration && configuration.accessToken) {
|
|
@@ -99,7 +78,7 @@ function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
|
|
|
99
78
|
if (parameter == null)
|
|
100
79
|
return;
|
|
101
80
|
if (typeof parameter === "object") {
|
|
102
|
-
if (Array.isArray(parameter)) {
|
|
81
|
+
if (Array.isArray(parameter) || parameter instanceof Set) {
|
|
103
82
|
parameter.forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));
|
|
104
83
|
}
|
|
105
84
|
else {
|
|
@@ -115,10 +94,6 @@ function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
|
|
|
115
94
|
}
|
|
116
95
|
}
|
|
117
96
|
}
|
|
118
|
-
/**
|
|
119
|
-
*
|
|
120
|
-
* @export
|
|
121
|
-
*/
|
|
122
97
|
const setSearchParams = function (url, ...objects) {
|
|
123
98
|
const searchParams = new URLSearchParams(url.search);
|
|
124
99
|
setFlattenedQueryParams(searchParams, objects);
|
|
@@ -126,31 +101,34 @@ const setSearchParams = function (url, ...objects) {
|
|
|
126
101
|
};
|
|
127
102
|
exports.setSearchParams = setSearchParams;
|
|
128
103
|
/**
|
|
129
|
-
*
|
|
130
|
-
*
|
|
104
|
+
* JSON serialization helper function which replaces instances of unserializable types with serializable ones.
|
|
105
|
+
* This function will run for every key-value pair encountered by JSON.stringify while traversing an object.
|
|
106
|
+
* Converting a set to a string will return an empty object, so an intermediate conversion to an array is required.
|
|
131
107
|
*/
|
|
108
|
+
// @ts-ignore
|
|
109
|
+
const replaceWithSerializableTypeIfNeeded = function (key, value) {
|
|
110
|
+
if (value instanceof Set) {
|
|
111
|
+
return Array.from(value);
|
|
112
|
+
}
|
|
113
|
+
else {
|
|
114
|
+
return value;
|
|
115
|
+
}
|
|
116
|
+
};
|
|
117
|
+
exports.replaceWithSerializableTypeIfNeeded = replaceWithSerializableTypeIfNeeded;
|
|
132
118
|
const serializeDataIfNeeded = function (value, requestOptions, configuration) {
|
|
133
119
|
const nonString = typeof value !== 'string';
|
|
134
120
|
const needsSerialization = nonString && configuration && configuration.isJsonMime
|
|
135
121
|
? configuration.isJsonMime(requestOptions.headers['Content-Type'])
|
|
136
122
|
: nonString;
|
|
137
123
|
return needsSerialization
|
|
138
|
-
? JSON.stringify(value !== undefined ? value : {})
|
|
124
|
+
? JSON.stringify(value !== undefined ? value : {}, exports.replaceWithSerializableTypeIfNeeded)
|
|
139
125
|
: (value || "");
|
|
140
126
|
};
|
|
141
127
|
exports.serializeDataIfNeeded = serializeDataIfNeeded;
|
|
142
|
-
/**
|
|
143
|
-
*
|
|
144
|
-
* @export
|
|
145
|
-
*/
|
|
146
128
|
const toPathString = function (url) {
|
|
147
129
|
return url.pathname + url.search + url.hash;
|
|
148
130
|
};
|
|
149
131
|
exports.toPathString = toPathString;
|
|
150
|
-
/**
|
|
151
|
-
*
|
|
152
|
-
* @export
|
|
153
|
-
*/
|
|
154
132
|
const createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
155
133
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
156
134
|
var _a;
|
|
@@ -9,11 +9,23 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
interface AWSv4Configuration {
|
|
13
|
+
options?: {
|
|
14
|
+
region?: string;
|
|
15
|
+
service?: string;
|
|
16
|
+
};
|
|
17
|
+
credentials?: {
|
|
18
|
+
accessKeyId?: string;
|
|
19
|
+
secretAccessKey?: string;
|
|
20
|
+
sessionToken?: string;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
12
23
|
export interface ConfigurationParameters {
|
|
13
24
|
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
14
25
|
username?: string;
|
|
15
26
|
password?: string;
|
|
16
27
|
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
28
|
+
awsv4?: AWSv4Configuration;
|
|
17
29
|
basePath?: string;
|
|
18
30
|
serverIndex?: number;
|
|
19
31
|
baseOptions?: any;
|
|
@@ -23,49 +35,43 @@ export declare class Configuration {
|
|
|
23
35
|
/**
|
|
24
36
|
* parameter for apiKey security
|
|
25
37
|
* @param name security name
|
|
26
|
-
* @memberof Configuration
|
|
27
38
|
*/
|
|
28
39
|
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
29
40
|
/**
|
|
30
41
|
* parameter for basic security
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof Configuration
|
|
34
42
|
*/
|
|
35
43
|
username?: string;
|
|
36
44
|
/**
|
|
37
45
|
* parameter for basic security
|
|
38
|
-
*
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof Configuration
|
|
41
46
|
*/
|
|
42
47
|
password?: string;
|
|
43
48
|
/**
|
|
44
49
|
* parameter for oauth2 security
|
|
45
50
|
* @param name security name
|
|
46
51
|
* @param scopes oauth2 scope
|
|
47
|
-
* @memberof Configuration
|
|
48
52
|
*/
|
|
49
53
|
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
50
54
|
/**
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
* @
|
|
55
|
+
* parameter for aws4 signature security
|
|
56
|
+
* @param {Object} AWS4Signature - AWS4 Signature security
|
|
57
|
+
* @param {string} options.region - aws region
|
|
58
|
+
* @param {string} options.service - name of the service.
|
|
59
|
+
* @param {string} credentials.accessKeyId - aws access key id
|
|
60
|
+
* @param {string} credentials.secretAccessKey - aws access key
|
|
61
|
+
* @param {string} credentials.sessionToken - aws session token
|
|
54
62
|
* @memberof Configuration
|
|
55
63
|
*/
|
|
64
|
+
awsv4?: AWSv4Configuration;
|
|
65
|
+
/**
|
|
66
|
+
* override base path
|
|
67
|
+
*/
|
|
56
68
|
basePath?: string;
|
|
57
69
|
/**
|
|
58
70
|
* override server index
|
|
59
|
-
*
|
|
60
|
-
* @type {number}
|
|
61
|
-
* @memberof Configuration
|
|
62
71
|
*/
|
|
63
72
|
serverIndex?: number;
|
|
64
73
|
/**
|
|
65
74
|
* base options for axios calls
|
|
66
|
-
*
|
|
67
|
-
* @type {any}
|
|
68
|
-
* @memberof Configuration
|
|
69
75
|
*/
|
|
70
76
|
baseOptions?: any;
|
|
71
77
|
/**
|
|
@@ -89,3 +95,4 @@ export declare class Configuration {
|
|
|
89
95
|
*/
|
|
90
96
|
isJsonMime(mime: string): boolean;
|
|
91
97
|
}
|
|
98
|
+
export {};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
3
|
/**
|
|
5
4
|
* PIN API
|
|
6
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
@@ -21,6 +20,7 @@ class Configuration {
|
|
|
21
20
|
this.username = param.username;
|
|
22
21
|
this.password = param.password;
|
|
23
22
|
this.accessToken = param.accessToken;
|
|
23
|
+
this.awsv4 = param.awsv4;
|
|
24
24
|
this.basePath = param.basePath;
|
|
25
25
|
this.serverIndex = param.serverIndex;
|
|
26
26
|
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
|
|
@@ -37,8 +37,8 @@ class Configuration {
|
|
|
37
37
|
* @return True if the given MIME is JSON, false otherwise.
|
|
38
38
|
*/
|
|
39
39
|
isJsonMime(mime) {
|
|
40
|
-
const jsonMime =
|
|
41
|
-
return mime !== null &&
|
|
40
|
+
const jsonMime = /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i;
|
|
41
|
+
return mime !== null && jsonMime.test(mime);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
exports.Configuration = Configuration;
|
package/dist/threeds/api.d.ts
CHANGED
|
@@ -13,28 +13,17 @@ import type { Configuration } from './configuration';
|
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import type { RequestArgs } from './base';
|
|
15
15
|
import { BaseAPI } from './base';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface AuthenticationChallengeResultBody
|
|
20
|
-
*/
|
|
21
16
|
export interface AuthenticationChallengeResultBody {
|
|
22
17
|
/**
|
|
23
18
|
* Unique identifier of the authentication request.
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof AuthenticationChallengeResultBody
|
|
26
19
|
*/
|
|
27
20
|
'authenticationId': string;
|
|
28
21
|
/**
|
|
29
22
|
* Unique challenge identifier received in the OOB authentication challenge webhook notification.
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof AuthenticationChallengeResultBody
|
|
32
23
|
*/
|
|
33
24
|
'challengeId': string;
|
|
34
25
|
/**
|
|
35
26
|
* Result status of the authentication attempt: - `SUCCESS` — Authentication successful; cardholder has approved. - `FAIL` — Authentication failed; cardholder has declined or there is a technical failure.
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof AuthenticationChallengeResultBody
|
|
38
27
|
*/
|
|
39
28
|
'result': AuthenticationChallengeResultBodyResultEnum;
|
|
40
29
|
}
|
|
@@ -45,7 +34,6 @@ export declare const AuthenticationChallengeResultBodyResultEnum: {
|
|
|
45
34
|
export type AuthenticationChallengeResultBodyResultEnum = typeof AuthenticationChallengeResultBodyResultEnum[keyof typeof AuthenticationChallengeResultBodyResultEnum];
|
|
46
35
|
/**
|
|
47
36
|
* ThreeDSApi - axios parameter creator
|
|
48
|
-
* @export
|
|
49
37
|
*/
|
|
50
38
|
export declare const ThreeDSApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
51
39
|
/**
|
|
@@ -59,7 +47,6 @@ export declare const ThreeDSApiAxiosParamCreator: (configuration?: Configuration
|
|
|
59
47
|
};
|
|
60
48
|
/**
|
|
61
49
|
* ThreeDSApi - functional programming interface
|
|
62
|
-
* @export
|
|
63
50
|
*/
|
|
64
51
|
export declare const ThreeDSApiFp: (configuration?: Configuration) => {
|
|
65
52
|
/**
|
|
@@ -73,7 +60,6 @@ export declare const ThreeDSApiFp: (configuration?: Configuration) => {
|
|
|
73
60
|
};
|
|
74
61
|
/**
|
|
75
62
|
* ThreeDSApi - factory interface
|
|
76
|
-
* @export
|
|
77
63
|
*/
|
|
78
64
|
export declare const ThreeDSApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
79
65
|
/**
|
|
@@ -87,9 +73,6 @@ export declare const ThreeDSApiFactory: (configuration?: Configuration, basePath
|
|
|
87
73
|
};
|
|
88
74
|
/**
|
|
89
75
|
* ThreeDSApi - object-oriented interface
|
|
90
|
-
* @export
|
|
91
|
-
* @class ThreeDSApi
|
|
92
|
-
* @extends {BaseAPI}
|
|
93
76
|
*/
|
|
94
77
|
export declare class ThreeDSApi extends BaseAPI {
|
|
95
78
|
/**
|
|
@@ -98,7 +81,6 @@ export declare class ThreeDSApi extends BaseAPI {
|
|
|
98
81
|
* @param {AuthenticationChallengeResultBody} authenticationChallengeResultBody
|
|
99
82
|
* @param {*} [options] Override http request option.
|
|
100
83
|
* @throws {RequiredError}
|
|
101
|
-
* @memberof ThreeDSApi
|
|
102
84
|
*/
|
|
103
85
|
handleAuthenticationChallengeResult(authenticationChallengeResultBody: AuthenticationChallengeResultBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
104
86
|
}
|
package/dist/threeds/api.js
CHANGED
|
@@ -31,11 +31,10 @@ const common_1 = require("./common");
|
|
|
31
31
|
const base_1 = require("./base");
|
|
32
32
|
exports.AuthenticationChallengeResultBodyResultEnum = {
|
|
33
33
|
Success: 'SUCCESS',
|
|
34
|
-
Fail: 'FAIL'
|
|
34
|
+
Fail: 'FAIL',
|
|
35
35
|
};
|
|
36
36
|
/**
|
|
37
37
|
* ThreeDSApi - axios parameter creator
|
|
38
|
-
* @export
|
|
39
38
|
*/
|
|
40
39
|
const ThreeDSApiAxiosParamCreator = function (configuration) {
|
|
41
40
|
return {
|
|
@@ -77,7 +76,6 @@ const ThreeDSApiAxiosParamCreator = function (configuration) {
|
|
|
77
76
|
exports.ThreeDSApiAxiosParamCreator = ThreeDSApiAxiosParamCreator;
|
|
78
77
|
/**
|
|
79
78
|
* ThreeDSApi - functional programming interface
|
|
80
|
-
* @export
|
|
81
79
|
*/
|
|
82
80
|
const ThreeDSApiFp = function (configuration) {
|
|
83
81
|
const localVarAxiosParamCreator = (0, exports.ThreeDSApiAxiosParamCreator)(configuration);
|
|
@@ -103,7 +101,6 @@ const ThreeDSApiFp = function (configuration) {
|
|
|
103
101
|
exports.ThreeDSApiFp = ThreeDSApiFp;
|
|
104
102
|
/**
|
|
105
103
|
* ThreeDSApi - factory interface
|
|
106
|
-
* @export
|
|
107
104
|
*/
|
|
108
105
|
const ThreeDSApiFactory = function (configuration, basePath, axios) {
|
|
109
106
|
const localVarFp = (0, exports.ThreeDSApiFp)(configuration);
|
|
@@ -123,9 +120,6 @@ const ThreeDSApiFactory = function (configuration, basePath, axios) {
|
|
|
123
120
|
exports.ThreeDSApiFactory = ThreeDSApiFactory;
|
|
124
121
|
/**
|
|
125
122
|
* ThreeDSApi - object-oriented interface
|
|
126
|
-
* @export
|
|
127
|
-
* @class ThreeDSApi
|
|
128
|
-
* @extends {BaseAPI}
|
|
129
123
|
*/
|
|
130
124
|
class ThreeDSApi extends base_1.BaseAPI {
|
|
131
125
|
/**
|
|
@@ -134,7 +128,6 @@ class ThreeDSApi extends base_1.BaseAPI {
|
|
|
134
128
|
* @param {AuthenticationChallengeResultBody} authenticationChallengeResultBody
|
|
135
129
|
* @param {*} [options] Override http request option.
|
|
136
130
|
* @throws {RequiredError}
|
|
137
|
-
* @memberof ThreeDSApi
|
|
138
131
|
*/
|
|
139
132
|
handleAuthenticationChallengeResult(authenticationChallengeResultBody, options) {
|
|
140
133
|
return (0, exports.ThreeDSApiFp)(this.configuration).handleAuthenticationChallengeResult(authenticationChallengeResultBody, options).then((request) => request(this.axios, this.basePath));
|
package/dist/threeds/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 {};
|