@enfuce/nextgen-sdk 0.0.8 → 0.0.9
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 +196 -27
- package/dist/authorisation-control/api.d.ts +0 -56
- package/dist/authorisation-control/api.js +1 -115
- package/dist/authorisation-control/index.d.ts +0 -1
- package/dist/authorisation-control/index.js +0 -1
- package/dist/card/api.js +12 -12
- package/dist/cardholder/api.js +5 -5
- package/dist/esm/authorisation-control/api.d.ts +0 -56
- package/dist/esm/authorisation-control/api.js +0 -110
- package/dist/esm/authorisation-control/index.d.ts +0 -1
- package/dist/esm/authorisation-control/index.js +0 -1
- package/dist/esm/card/api.js +12 -12
- package/dist/esm/cardholder/api.js +5 -5
- package/dist/esm/issuer-events/api.d.ts +0 -120
- package/dist/esm/issuer-events/api.js +0 -241
- package/dist/esm/issuer-events/index.d.ts +0 -1
- package/dist/esm/issuer-events/index.js +0 -1
- package/dist/esm/oauth/clientCredentials.d.ts +14 -0
- package/dist/esm/oauth/clientCredentials.js +39 -0
- package/dist/esm/oauth/index.d.ts +1 -1
- package/dist/esm/oauth/index.js +1 -1
- package/dist/esm/pin/api.d.ts +52 -0
- package/dist/esm/pin/api.js +80 -3
- package/dist/esm/threeds-oob/api.d.ts +0 -56
- package/dist/esm/threeds-oob/api.js +0 -112
- package/dist/esm/threeds-oob/index.d.ts +0 -1
- package/dist/esm/threeds-oob/index.js +0 -1
- package/dist/esm/wallet/api.js +12 -12
- package/dist/issuer-events/api.d.ts +0 -120
- package/dist/issuer-events/api.js +1 -246
- package/dist/issuer-events/index.d.ts +0 -1
- package/dist/issuer-events/index.js +0 -1
- package/dist/oauth/clientCredentials.d.ts +14 -0
- package/dist/oauth/clientCredentials.js +41 -0
- package/dist/oauth/index.d.ts +1 -1
- package/dist/oauth/index.js +3 -1
- package/dist/pin/api.d.ts +52 -0
- package/dist/pin/api.js +80 -3
- package/dist/threeds-oob/api.d.ts +0 -56
- package/dist/threeds-oob/api.js +1 -117
- package/dist/threeds-oob/index.d.ts +0 -1
- package/dist/threeds-oob/index.js +0 -1
- package/dist/wallet/api.js +12 -12
- package/package.json +1 -1
- package/src/authorisation-control/api.ts +0 -102
- package/src/authorisation-control/index.ts +0 -2
- package/src/card/api.ts +12 -12
- package/src/cardholder/api.ts +5 -5
- package/src/issuer-events/api.ts +0 -237
- package/src/issuer-events/index.ts +0 -2
- package/src/oauth/clientCredentials.ts +44 -0
- package/src/oauth/index.ts +8 -1
- package/src/pin/api.ts +99 -3
- package/src/threeds-oob/api.ts +0 -105
- package/src/threeds-oob/index.ts +0 -2
- package/src/wallet/api.ts +12 -12
- package/dist/authorisation-control/client.d.ts +0 -47
- package/dist/authorisation-control/client.js +0 -80
- package/dist/esm/authorisation-control/client.d.ts +0 -47
- package/dist/esm/authorisation-control/client.js +0 -75
- package/dist/esm/issuer-events/client.d.ts +0 -47
- package/dist/esm/issuer-events/client.js +0 -75
- package/dist/esm/threeds-oob/client.d.ts +0 -47
- package/dist/esm/threeds-oob/client.js +0 -75
- package/dist/issuer-events/client.d.ts +0 -47
- package/dist/issuer-events/client.js +0 -80
- package/dist/threeds-oob/client.d.ts +0 -47
- package/dist/threeds-oob/client.js +0 -80
- package/src/authorisation-control/client.ts +0 -86
- package/src/issuer-events/client.ts +0 -86
- package/src/threeds-oob/client.ts +0 -86
- package/test/authorisation-control.test.ts +0 -71
- package/test/issuer-events.test.ts +0 -55
- package/test/threeds-oob.test.ts +0 -90
|
@@ -9,10 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { Configuration } from './configuration';
|
|
13
|
-
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
-
import type { RequestArgs } from './base';
|
|
15
|
-
import { BaseAPI } from './base';
|
|
16
12
|
export interface Account {
|
|
17
13
|
/**
|
|
18
14
|
* Available amount before this transaction has been processed.
|
|
@@ -415,55 +411,3 @@ export declare const TransactionType: {
|
|
|
415
411
|
readonly Aft: "AFT";
|
|
416
412
|
};
|
|
417
413
|
export type TransactionType = typeof TransactionType[keyof typeof TransactionType];
|
|
418
|
-
/**
|
|
419
|
-
* AuthorisationRequestAPIApi - axios parameter creator
|
|
420
|
-
*/
|
|
421
|
-
export declare const AuthorisationRequestAPIApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
422
|
-
/**
|
|
423
|
-
* Enfuce sends an authorisation request to the issuer/ledger, when it expects an authorisation decision from the recipient.
|
|
424
|
-
* @summary Authorisation Request API
|
|
425
|
-
* @param {AuthRequestBody} authRequestBody
|
|
426
|
-
* @param {*} [options] Override http request option.
|
|
427
|
-
* @throws {RequiredError}
|
|
428
|
-
*/
|
|
429
|
-
authPost: (authRequestBody: AuthRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
430
|
-
};
|
|
431
|
-
/**
|
|
432
|
-
* AuthorisationRequestAPIApi - functional programming interface
|
|
433
|
-
*/
|
|
434
|
-
export declare const AuthorisationRequestAPIApiFp: (configuration?: Configuration) => {
|
|
435
|
-
/**
|
|
436
|
-
* Enfuce sends an authorisation request to the issuer/ledger, when it expects an authorisation decision from the recipient.
|
|
437
|
-
* @summary Authorisation Request API
|
|
438
|
-
* @param {AuthRequestBody} authRequestBody
|
|
439
|
-
* @param {*} [options] Override http request option.
|
|
440
|
-
* @throws {RequiredError}
|
|
441
|
-
*/
|
|
442
|
-
authPost(authRequestBody: AuthRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthResponseBody>>;
|
|
443
|
-
};
|
|
444
|
-
/**
|
|
445
|
-
* AuthorisationRequestAPIApi - factory interface
|
|
446
|
-
*/
|
|
447
|
-
export declare const AuthorisationRequestAPIApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
448
|
-
/**
|
|
449
|
-
* Enfuce sends an authorisation request to the issuer/ledger, when it expects an authorisation decision from the recipient.
|
|
450
|
-
* @summary Authorisation Request API
|
|
451
|
-
* @param {AuthRequestBody} authRequestBody
|
|
452
|
-
* @param {*} [options] Override http request option.
|
|
453
|
-
* @throws {RequiredError}
|
|
454
|
-
*/
|
|
455
|
-
authPost(authRequestBody: AuthRequestBody, options?: RawAxiosRequestConfig): AxiosPromise<AuthResponseBody>;
|
|
456
|
-
};
|
|
457
|
-
/**
|
|
458
|
-
* AuthorisationRequestAPIApi - object-oriented interface
|
|
459
|
-
*/
|
|
460
|
-
export declare class AuthorisationRequestAPIApi extends BaseAPI {
|
|
461
|
-
/**
|
|
462
|
-
* Enfuce sends an authorisation request to the issuer/ledger, when it expects an authorisation decision from the recipient.
|
|
463
|
-
* @summary Authorisation Request API
|
|
464
|
-
* @param {AuthRequestBody} authRequestBody
|
|
465
|
-
* @param {*} [options] Override http request option.
|
|
466
|
-
* @throws {RequiredError}
|
|
467
|
-
*/
|
|
468
|
-
authPost(authRequestBody: AuthRequestBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthResponseBody, any, {}>>;
|
|
469
|
-
}
|
|
@@ -11,21 +11,6 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
-
});
|
|
22
|
-
};
|
|
23
|
-
import globalAxios from 'axios';
|
|
24
|
-
// Some imports not used depending on template conditions
|
|
25
|
-
// @ts-ignore
|
|
26
|
-
import { DUMMY_BASE_URL, assertParamExists, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
|
|
27
|
-
// @ts-ignore
|
|
28
|
-
import { BASE_PATH, BaseAPI, operationServerMap } from './base';
|
|
29
14
|
/**
|
|
30
15
|
* Indicates whether the authorisation request is approved or declined. Possible enums: * `APPROVED` - Approved * `PARTIALLY_APPROVED` - Approved for partial amount * `DO_NOT_HONOR` - Do not honor (**Note**: Card schemes recommend to use this only when other options do not apply) * `NOT_SUFFICIENT_FUNDS` - Inadequate funds * `NOT_PERMITTED` - Transaction not permitted to cardholder * `EXCEEDS_AMOUNT_LIMIT` - Exceeds approval amount limit * `RESTRICTED_CARD` - Restricted card (card invalid in region or country) * `EXCEEDS_WITHDRAWAL_FREQUENCY_LIMIT` - Exceeds withdrawal frequency limit * `SYSTEM_ERROR` - System malfunction
|
|
31
16
|
*/
|
|
@@ -118,98 +103,3 @@ export const TransactionType = {
|
|
|
118
103
|
Reversal: 'REVERSAL',
|
|
119
104
|
Aft: 'AFT',
|
|
120
105
|
};
|
|
121
|
-
/**
|
|
122
|
-
* AuthorisationRequestAPIApi - axios parameter creator
|
|
123
|
-
*/
|
|
124
|
-
export const AuthorisationRequestAPIApiAxiosParamCreator = function (configuration) {
|
|
125
|
-
return {
|
|
126
|
-
/**
|
|
127
|
-
* Enfuce sends an authorisation request to the issuer/ledger, when it expects an authorisation decision from the recipient.
|
|
128
|
-
* @summary Authorisation Request API
|
|
129
|
-
* @param {AuthRequestBody} authRequestBody
|
|
130
|
-
* @param {*} [options] Override http request option.
|
|
131
|
-
* @throws {RequiredError}
|
|
132
|
-
*/
|
|
133
|
-
authPost: (authRequestBody_1, ...args_1) => __awaiter(this, [authRequestBody_1, ...args_1], void 0, function* (authRequestBody, options = {}) {
|
|
134
|
-
// verify required parameter 'authRequestBody' is not null or undefined
|
|
135
|
-
assertParamExists('authPost', 'authRequestBody', authRequestBody);
|
|
136
|
-
const localVarPath = `/auth`;
|
|
137
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
138
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
139
|
-
let baseOptions;
|
|
140
|
-
if (configuration) {
|
|
141
|
-
baseOptions = configuration.baseOptions;
|
|
142
|
-
}
|
|
143
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
144
|
-
const localVarHeaderParameter = {};
|
|
145
|
-
const localVarQueryParameter = {};
|
|
146
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
147
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
148
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
149
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
150
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
151
|
-
localVarRequestOptions.data = serializeDataIfNeeded(authRequestBody, localVarRequestOptions, configuration);
|
|
152
|
-
return {
|
|
153
|
-
url: toPathString(localVarUrlObj),
|
|
154
|
-
options: localVarRequestOptions,
|
|
155
|
-
};
|
|
156
|
-
}),
|
|
157
|
-
};
|
|
158
|
-
};
|
|
159
|
-
/**
|
|
160
|
-
* AuthorisationRequestAPIApi - functional programming interface
|
|
161
|
-
*/
|
|
162
|
-
export const AuthorisationRequestAPIApiFp = function (configuration) {
|
|
163
|
-
const localVarAxiosParamCreator = AuthorisationRequestAPIApiAxiosParamCreator(configuration);
|
|
164
|
-
return {
|
|
165
|
-
/**
|
|
166
|
-
* Enfuce sends an authorisation request to the issuer/ledger, when it expects an authorisation decision from the recipient.
|
|
167
|
-
* @summary Authorisation Request API
|
|
168
|
-
* @param {AuthRequestBody} authRequestBody
|
|
169
|
-
* @param {*} [options] Override http request option.
|
|
170
|
-
* @throws {RequiredError}
|
|
171
|
-
*/
|
|
172
|
-
authPost(authRequestBody, options) {
|
|
173
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
174
|
-
var _a, _b, _c;
|
|
175
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.authPost(authRequestBody, options);
|
|
176
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
177
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AuthorisationRequestAPIApi.authPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
178
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
179
|
-
});
|
|
180
|
-
},
|
|
181
|
-
};
|
|
182
|
-
};
|
|
183
|
-
/**
|
|
184
|
-
* AuthorisationRequestAPIApi - factory interface
|
|
185
|
-
*/
|
|
186
|
-
export const AuthorisationRequestAPIApiFactory = function (configuration, basePath, axios) {
|
|
187
|
-
const localVarFp = AuthorisationRequestAPIApiFp(configuration);
|
|
188
|
-
return {
|
|
189
|
-
/**
|
|
190
|
-
* Enfuce sends an authorisation request to the issuer/ledger, when it expects an authorisation decision from the recipient.
|
|
191
|
-
* @summary Authorisation Request API
|
|
192
|
-
* @param {AuthRequestBody} authRequestBody
|
|
193
|
-
* @param {*} [options] Override http request option.
|
|
194
|
-
* @throws {RequiredError}
|
|
195
|
-
*/
|
|
196
|
-
authPost(authRequestBody, options) {
|
|
197
|
-
return localVarFp.authPost(authRequestBody, options).then((request) => request(axios, basePath));
|
|
198
|
-
},
|
|
199
|
-
};
|
|
200
|
-
};
|
|
201
|
-
/**
|
|
202
|
-
* AuthorisationRequestAPIApi - object-oriented interface
|
|
203
|
-
*/
|
|
204
|
-
export class AuthorisationRequestAPIApi extends BaseAPI {
|
|
205
|
-
/**
|
|
206
|
-
* Enfuce sends an authorisation request to the issuer/ledger, when it expects an authorisation decision from the recipient.
|
|
207
|
-
* @summary Authorisation Request API
|
|
208
|
-
* @param {AuthRequestBody} authRequestBody
|
|
209
|
-
* @param {*} [options] Override http request option.
|
|
210
|
-
* @throws {RequiredError}
|
|
211
|
-
*/
|
|
212
|
-
authPost(authRequestBody, options) {
|
|
213
|
-
return AuthorisationRequestAPIApiFp(this.configuration).authPost(authRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
214
|
-
}
|
|
215
|
-
}
|
package/dist/esm/card/api.js
CHANGED
|
@@ -181,7 +181,7 @@ export const CreateCardApiAxiosParamCreator = function (configuration) {
|
|
|
181
181
|
// http bearer authentication required
|
|
182
182
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
183
183
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
184
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
184
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/problem+json';
|
|
185
185
|
if (xAuditUser != null) {
|
|
186
186
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
187
187
|
}
|
|
@@ -296,7 +296,7 @@ export const CreatePINControlAccessTokenApiAxiosParamCreator = function (configu
|
|
|
296
296
|
// http bearer authentication required
|
|
297
297
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
298
298
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
299
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
299
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/problem+json';
|
|
300
300
|
if (xAuditUser != null) {
|
|
301
301
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
302
302
|
}
|
|
@@ -404,7 +404,7 @@ export const GetCardApiAxiosParamCreator = function (configuration) {
|
|
|
404
404
|
// authentication bearerAuth required
|
|
405
405
|
// http bearer authentication required
|
|
406
406
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
407
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
407
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/problem+json';
|
|
408
408
|
if (xAuditUser != null) {
|
|
409
409
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
410
410
|
}
|
|
@@ -443,7 +443,7 @@ export const GetCardApiAxiosParamCreator = function (configuration) {
|
|
|
443
443
|
// http bearer authentication required
|
|
444
444
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
445
445
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
446
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
446
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/problem+json';
|
|
447
447
|
if (xAuditUser != null) {
|
|
448
448
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
449
449
|
}
|
|
@@ -483,7 +483,7 @@ export const GetCardApiAxiosParamCreator = function (configuration) {
|
|
|
483
483
|
if (mainCardId !== undefined) {
|
|
484
484
|
localVarQueryParameter['mainCardId'] = mainCardId;
|
|
485
485
|
}
|
|
486
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
486
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/problem+json';
|
|
487
487
|
if (xAuditUser != null) {
|
|
488
488
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
489
489
|
}
|
|
@@ -672,7 +672,7 @@ export const GetCardPaymentInfoApiAxiosParamCreator = function (configuration) {
|
|
|
672
672
|
// http bearer authentication required
|
|
673
673
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
674
674
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
675
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
675
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/problem+json';
|
|
676
676
|
if (xAuditUser != null) {
|
|
677
677
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
678
678
|
}
|
|
@@ -780,7 +780,7 @@ export const GetPlasticManufacturingHistoryApiAxiosParamCreator = function (conf
|
|
|
780
780
|
// authentication bearerAuth required
|
|
781
781
|
// http bearer authentication required
|
|
782
782
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
783
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
783
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/problem+json';
|
|
784
784
|
if (xAuditUser != null) {
|
|
785
785
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
786
786
|
}
|
|
@@ -885,7 +885,7 @@ export const UpdateCardApiAxiosParamCreator = function (configuration) {
|
|
|
885
885
|
// authentication bearerAuth required
|
|
886
886
|
// http bearer authentication required
|
|
887
887
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
888
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
888
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/problem+json';
|
|
889
889
|
if (xIdempotencyKey != null) {
|
|
890
890
|
localVarHeaderParameter['x-idempotency-key'] = String(xIdempotencyKey);
|
|
891
891
|
}
|
|
@@ -929,7 +929,7 @@ export const UpdateCardApiAxiosParamCreator = function (configuration) {
|
|
|
929
929
|
// http bearer authentication required
|
|
930
930
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
931
931
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
932
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
932
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/problem+json';
|
|
933
933
|
if (xAuditUser != null) {
|
|
934
934
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
935
935
|
}
|
|
@@ -970,7 +970,7 @@ export const UpdateCardApiAxiosParamCreator = function (configuration) {
|
|
|
970
970
|
// http bearer authentication required
|
|
971
971
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
972
972
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
973
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
973
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/problem+json';
|
|
974
974
|
if (xIdempotencyKey != null) {
|
|
975
975
|
localVarHeaderParameter['x-idempotency-key'] = String(xIdempotencyKey);
|
|
976
976
|
}
|
|
@@ -1012,7 +1012,7 @@ export const UpdateCardApiAxiosParamCreator = function (configuration) {
|
|
|
1012
1012
|
// authentication bearerAuth required
|
|
1013
1013
|
// http bearer authentication required
|
|
1014
1014
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1015
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1015
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/problem+json';
|
|
1016
1016
|
if (xIdempotencyKey != null) {
|
|
1017
1017
|
localVarHeaderParameter['x-idempotency-key'] = String(xIdempotencyKey);
|
|
1018
1018
|
}
|
|
@@ -1055,7 +1055,7 @@ export const UpdateCardApiAxiosParamCreator = function (configuration) {
|
|
|
1055
1055
|
// http bearer authentication required
|
|
1056
1056
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1057
1057
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1058
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1058
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/problem+json';
|
|
1059
1059
|
if (xIdempotencyKey != null) {
|
|
1060
1060
|
localVarHeaderParameter['x-idempotency-key'] = String(xIdempotencyKey);
|
|
1061
1061
|
}
|
|
@@ -1435,7 +1435,7 @@ export const CreateCardholderApiAxiosParamCreator = function (configuration) {
|
|
|
1435
1435
|
// http bearer authentication required
|
|
1436
1436
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1437
1437
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1438
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1438
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/problem+json';
|
|
1439
1439
|
if (xIdempotencyKey != null) {
|
|
1440
1440
|
localVarHeaderParameter['x-idempotency-key'] = String(xIdempotencyKey);
|
|
1441
1441
|
}
|
|
@@ -1546,7 +1546,7 @@ export const GetCardholderApiAxiosParamCreator = function (configuration) {
|
|
|
1546
1546
|
// authentication bearerAuth required
|
|
1547
1547
|
// http bearer authentication required
|
|
1548
1548
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1549
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1549
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/problem+json';
|
|
1550
1550
|
if (xAuditUser != null) {
|
|
1551
1551
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
1552
1552
|
}
|
|
@@ -1585,7 +1585,7 @@ export const GetCardholderApiAxiosParamCreator = function (configuration) {
|
|
|
1585
1585
|
if (customerNumber !== undefined) {
|
|
1586
1586
|
localVarQueryParameter['customerNumber'] = customerNumber;
|
|
1587
1587
|
}
|
|
1588
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1588
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/problem+json';
|
|
1589
1589
|
if (xAuditUser != null) {
|
|
1590
1590
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
1591
1591
|
}
|
|
@@ -1736,7 +1736,7 @@ export const GetCardsByCardholderIdApiAxiosParamCreator = function (configuratio
|
|
|
1736
1736
|
if (size !== undefined) {
|
|
1737
1737
|
localVarQueryParameter['size'] = size;
|
|
1738
1738
|
}
|
|
1739
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1739
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/problem+json';
|
|
1740
1740
|
if (xAuditUser != null) {
|
|
1741
1741
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
1742
1742
|
}
|
|
@@ -1850,7 +1850,7 @@ export const UpdateCardholderApiAxiosParamCreator = function (configuration) {
|
|
|
1850
1850
|
// http bearer authentication required
|
|
1851
1851
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1852
1852
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1853
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1853
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/problem+json';
|
|
1854
1854
|
if (xAuditUser != null) {
|
|
1855
1855
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
1856
1856
|
}
|
|
@@ -9,10 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { Configuration } from './configuration';
|
|
13
|
-
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
-
import type { RequestArgs } from './base';
|
|
15
|
-
import { BaseAPI } from './base';
|
|
16
12
|
export interface Address {
|
|
17
13
|
/**
|
|
18
14
|
* First line of address.
|
|
@@ -1641,119 +1637,3 @@ export declare const TokenStatus: {
|
|
|
1641
1637
|
readonly Suspended: "SUSPENDED";
|
|
1642
1638
|
};
|
|
1643
1639
|
export type TokenStatus = typeof TokenStatus[keyof typeof TokenStatus];
|
|
1644
|
-
/**
|
|
1645
|
-
* IssuerEventWebhooksApi - axios parameter creator
|
|
1646
|
-
*/
|
|
1647
|
-
export declare const IssuerEventWebhooksApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
1648
|
-
/**
|
|
1649
|
-
* This is not an endpoint. This is the description of a request that is sent to subscribed webhooks upon card creation, update or closure.
|
|
1650
|
-
* @summary Outgoing card event webhook endpoint
|
|
1651
|
-
* @param {CardEvent} cardEvent Card event
|
|
1652
|
-
* @param {*} [options] Override http request option.
|
|
1653
|
-
* @throws {RequiredError}
|
|
1654
|
-
*/
|
|
1655
|
-
cardEvent: (cardEvent: CardEvent, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1656
|
-
/**
|
|
1657
|
-
* This is not an endpoint. This is the description of a request that is sent to subscribed webhooks upon cardholder creation or update.
|
|
1658
|
-
* @summary Outgoing cardholder event webhook endpoint
|
|
1659
|
-
* @param {CardholderEvent} cardholderEvent Cardholder event
|
|
1660
|
-
* @param {*} [options] Override http request option.
|
|
1661
|
-
* @throws {RequiredError}
|
|
1662
|
-
*/
|
|
1663
|
-
cardholderEvent: (cardholderEvent: CardholderEvent, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1664
|
-
/**
|
|
1665
|
-
* This is not an endpoint. This is the description of a request that is sent to subscribed webhooks upon token creation or update.
|
|
1666
|
-
* @summary Outgoing token event webhook endpoint
|
|
1667
|
-
* @param {TokenEvent} tokenEvent Token event
|
|
1668
|
-
* @param {*} [options] Override http request option.
|
|
1669
|
-
* @throws {RequiredError}
|
|
1670
|
-
*/
|
|
1671
|
-
tokenEvent: (tokenEvent: TokenEvent, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1672
|
-
};
|
|
1673
|
-
/**
|
|
1674
|
-
* IssuerEventWebhooksApi - functional programming interface
|
|
1675
|
-
*/
|
|
1676
|
-
export declare const IssuerEventWebhooksApiFp: (configuration?: Configuration) => {
|
|
1677
|
-
/**
|
|
1678
|
-
* This is not an endpoint. This is the description of a request that is sent to subscribed webhooks upon card creation, update or closure.
|
|
1679
|
-
* @summary Outgoing card event webhook endpoint
|
|
1680
|
-
* @param {CardEvent} cardEvent Card event
|
|
1681
|
-
* @param {*} [options] Override http request option.
|
|
1682
|
-
* @throws {RequiredError}
|
|
1683
|
-
*/
|
|
1684
|
-
cardEvent(cardEvent: CardEvent, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
1685
|
-
/**
|
|
1686
|
-
* This is not an endpoint. This is the description of a request that is sent to subscribed webhooks upon cardholder creation or update.
|
|
1687
|
-
* @summary Outgoing cardholder event webhook endpoint
|
|
1688
|
-
* @param {CardholderEvent} cardholderEvent Cardholder event
|
|
1689
|
-
* @param {*} [options] Override http request option.
|
|
1690
|
-
* @throws {RequiredError}
|
|
1691
|
-
*/
|
|
1692
|
-
cardholderEvent(cardholderEvent: CardholderEvent, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
1693
|
-
/**
|
|
1694
|
-
* This is not an endpoint. This is the description of a request that is sent to subscribed webhooks upon token creation or update.
|
|
1695
|
-
* @summary Outgoing token event webhook endpoint
|
|
1696
|
-
* @param {TokenEvent} tokenEvent Token event
|
|
1697
|
-
* @param {*} [options] Override http request option.
|
|
1698
|
-
* @throws {RequiredError}
|
|
1699
|
-
*/
|
|
1700
|
-
tokenEvent(tokenEvent: TokenEvent, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
1701
|
-
};
|
|
1702
|
-
/**
|
|
1703
|
-
* IssuerEventWebhooksApi - factory interface
|
|
1704
|
-
*/
|
|
1705
|
-
export declare const IssuerEventWebhooksApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
1706
|
-
/**
|
|
1707
|
-
* This is not an endpoint. This is the description of a request that is sent to subscribed webhooks upon card creation, update or closure.
|
|
1708
|
-
* @summary Outgoing card event webhook endpoint
|
|
1709
|
-
* @param {CardEvent} cardEvent Card event
|
|
1710
|
-
* @param {*} [options] Override http request option.
|
|
1711
|
-
* @throws {RequiredError}
|
|
1712
|
-
*/
|
|
1713
|
-
cardEvent(cardEvent: CardEvent, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1714
|
-
/**
|
|
1715
|
-
* This is not an endpoint. This is the description of a request that is sent to subscribed webhooks upon cardholder creation or update.
|
|
1716
|
-
* @summary Outgoing cardholder event webhook endpoint
|
|
1717
|
-
* @param {CardholderEvent} cardholderEvent Cardholder event
|
|
1718
|
-
* @param {*} [options] Override http request option.
|
|
1719
|
-
* @throws {RequiredError}
|
|
1720
|
-
*/
|
|
1721
|
-
cardholderEvent(cardholderEvent: CardholderEvent, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1722
|
-
/**
|
|
1723
|
-
* This is not an endpoint. This is the description of a request that is sent to subscribed webhooks upon token creation or update.
|
|
1724
|
-
* @summary Outgoing token event webhook endpoint
|
|
1725
|
-
* @param {TokenEvent} tokenEvent Token event
|
|
1726
|
-
* @param {*} [options] Override http request option.
|
|
1727
|
-
* @throws {RequiredError}
|
|
1728
|
-
*/
|
|
1729
|
-
tokenEvent(tokenEvent: TokenEvent, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1730
|
-
};
|
|
1731
|
-
/**
|
|
1732
|
-
* IssuerEventWebhooksApi - object-oriented interface
|
|
1733
|
-
*/
|
|
1734
|
-
export declare class IssuerEventWebhooksApi extends BaseAPI {
|
|
1735
|
-
/**
|
|
1736
|
-
* This is not an endpoint. This is the description of a request that is sent to subscribed webhooks upon card creation, update or closure.
|
|
1737
|
-
* @summary Outgoing card event webhook endpoint
|
|
1738
|
-
* @param {CardEvent} cardEvent Card event
|
|
1739
|
-
* @param {*} [options] Override http request option.
|
|
1740
|
-
* @throws {RequiredError}
|
|
1741
|
-
*/
|
|
1742
|
-
cardEvent(cardEvent: CardEvent, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
1743
|
-
/**
|
|
1744
|
-
* This is not an endpoint. This is the description of a request that is sent to subscribed webhooks upon cardholder creation or update.
|
|
1745
|
-
* @summary Outgoing cardholder event webhook endpoint
|
|
1746
|
-
* @param {CardholderEvent} cardholderEvent Cardholder event
|
|
1747
|
-
* @param {*} [options] Override http request option.
|
|
1748
|
-
* @throws {RequiredError}
|
|
1749
|
-
*/
|
|
1750
|
-
cardholderEvent(cardholderEvent: CardholderEvent, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
1751
|
-
/**
|
|
1752
|
-
* This is not an endpoint. This is the description of a request that is sent to subscribed webhooks upon token creation or update.
|
|
1753
|
-
* @summary Outgoing token event webhook endpoint
|
|
1754
|
-
* @param {TokenEvent} tokenEvent Token event
|
|
1755
|
-
* @param {*} [options] Override http request option.
|
|
1756
|
-
* @throws {RequiredError}
|
|
1757
|
-
*/
|
|
1758
|
-
tokenEvent(tokenEvent: TokenEvent, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
1759
|
-
}
|