@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
|
@@ -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, setBasicAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
|
|
27
|
-
// @ts-ignore
|
|
28
|
-
import { BASE_PATH, BaseAPI, operationServerMap } from './base';
|
|
29
14
|
export const ThreeDsTransactionCategoryEnum = {
|
|
30
15
|
Payment: 'PAYMENT',
|
|
31
16
|
NonPayment: 'NON_PAYMENT',
|
|
@@ -35,100 +20,3 @@ export const ThreeDsTransactionDeviceChannelEnum = {
|
|
|
35
20
|
Browser: 'BROWSER',
|
|
36
21
|
RequestorInitiated: 'REQUESTOR_INITIATED',
|
|
37
22
|
};
|
|
38
|
-
/**
|
|
39
|
-
* OOBAuthenticationChallengeWebhookNotificationApi - axios parameter creator
|
|
40
|
-
*/
|
|
41
|
-
export const OOBAuthenticationChallengeWebhookNotificationApiAxiosParamCreator = function (configuration) {
|
|
42
|
-
return {
|
|
43
|
-
/**
|
|
44
|
-
* In Out-of-Band (OOB) authentication flow, Enfuce sends an authentication challenge webhook notification to the issuer\'s registered endpoint for cardholder\'s approval.
|
|
45
|
-
* @summary Initiate OOB Authentication Challenge
|
|
46
|
-
* @param {InitiateAuthenticationChallengeBody} initiateAuthenticationChallengeBody
|
|
47
|
-
* @param {*} [options] Override http request option.
|
|
48
|
-
* @throws {RequiredError}
|
|
49
|
-
*/
|
|
50
|
-
initiateAuthenticationChallenge: (initiateAuthenticationChallengeBody_1, ...args_1) => __awaiter(this, [initiateAuthenticationChallengeBody_1, ...args_1], void 0, function* (initiateAuthenticationChallengeBody, options = {}) {
|
|
51
|
-
// verify required parameter 'initiateAuthenticationChallengeBody' is not null or undefined
|
|
52
|
-
assertParamExists('initiateAuthenticationChallenge', 'initiateAuthenticationChallengeBody', initiateAuthenticationChallengeBody);
|
|
53
|
-
const localVarPath = `/v1/3ds/oob/challenge/initiate`;
|
|
54
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
55
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
56
|
-
let baseOptions;
|
|
57
|
-
if (configuration) {
|
|
58
|
-
baseOptions = configuration.baseOptions;
|
|
59
|
-
}
|
|
60
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
61
|
-
const localVarHeaderParameter = {};
|
|
62
|
-
const localVarQueryParameter = {};
|
|
63
|
-
// authentication basicAuth required
|
|
64
|
-
// http basic authentication required
|
|
65
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
66
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
67
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
68
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
69
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
70
|
-
localVarRequestOptions.data = serializeDataIfNeeded(initiateAuthenticationChallengeBody, localVarRequestOptions, configuration);
|
|
71
|
-
return {
|
|
72
|
-
url: toPathString(localVarUrlObj),
|
|
73
|
-
options: localVarRequestOptions,
|
|
74
|
-
};
|
|
75
|
-
}),
|
|
76
|
-
};
|
|
77
|
-
};
|
|
78
|
-
/**
|
|
79
|
-
* OOBAuthenticationChallengeWebhookNotificationApi - functional programming interface
|
|
80
|
-
*/
|
|
81
|
-
export const OOBAuthenticationChallengeWebhookNotificationApiFp = function (configuration) {
|
|
82
|
-
const localVarAxiosParamCreator = OOBAuthenticationChallengeWebhookNotificationApiAxiosParamCreator(configuration);
|
|
83
|
-
return {
|
|
84
|
-
/**
|
|
85
|
-
* In Out-of-Band (OOB) authentication flow, Enfuce sends an authentication challenge webhook notification to the issuer\'s registered endpoint for cardholder\'s approval.
|
|
86
|
-
* @summary Initiate OOB Authentication Challenge
|
|
87
|
-
* @param {InitiateAuthenticationChallengeBody} initiateAuthenticationChallengeBody
|
|
88
|
-
* @param {*} [options] Override http request option.
|
|
89
|
-
* @throws {RequiredError}
|
|
90
|
-
*/
|
|
91
|
-
initiateAuthenticationChallenge(initiateAuthenticationChallengeBody, options) {
|
|
92
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
93
|
-
var _a, _b, _c;
|
|
94
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.initiateAuthenticationChallenge(initiateAuthenticationChallengeBody, options);
|
|
95
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
96
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OOBAuthenticationChallengeWebhookNotificationApi.initiateAuthenticationChallenge']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
97
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
98
|
-
});
|
|
99
|
-
},
|
|
100
|
-
};
|
|
101
|
-
};
|
|
102
|
-
/**
|
|
103
|
-
* OOBAuthenticationChallengeWebhookNotificationApi - factory interface
|
|
104
|
-
*/
|
|
105
|
-
export const OOBAuthenticationChallengeWebhookNotificationApiFactory = function (configuration, basePath, axios) {
|
|
106
|
-
const localVarFp = OOBAuthenticationChallengeWebhookNotificationApiFp(configuration);
|
|
107
|
-
return {
|
|
108
|
-
/**
|
|
109
|
-
* In Out-of-Band (OOB) authentication flow, Enfuce sends an authentication challenge webhook notification to the issuer\'s registered endpoint for cardholder\'s approval.
|
|
110
|
-
* @summary Initiate OOB Authentication Challenge
|
|
111
|
-
* @param {InitiateAuthenticationChallengeBody} initiateAuthenticationChallengeBody
|
|
112
|
-
* @param {*} [options] Override http request option.
|
|
113
|
-
* @throws {RequiredError}
|
|
114
|
-
*/
|
|
115
|
-
initiateAuthenticationChallenge(initiateAuthenticationChallengeBody, options) {
|
|
116
|
-
return localVarFp.initiateAuthenticationChallenge(initiateAuthenticationChallengeBody, options).then((request) => request(axios, basePath));
|
|
117
|
-
},
|
|
118
|
-
};
|
|
119
|
-
};
|
|
120
|
-
/**
|
|
121
|
-
* OOBAuthenticationChallengeWebhookNotificationApi - object-oriented interface
|
|
122
|
-
*/
|
|
123
|
-
export class OOBAuthenticationChallengeWebhookNotificationApi extends BaseAPI {
|
|
124
|
-
/**
|
|
125
|
-
* In Out-of-Band (OOB) authentication flow, Enfuce sends an authentication challenge webhook notification to the issuer\'s registered endpoint for cardholder\'s approval.
|
|
126
|
-
* @summary Initiate OOB Authentication Challenge
|
|
127
|
-
* @param {InitiateAuthenticationChallengeBody} initiateAuthenticationChallengeBody
|
|
128
|
-
* @param {*} [options] Override http request option.
|
|
129
|
-
* @throws {RequiredError}
|
|
130
|
-
*/
|
|
131
|
-
initiateAuthenticationChallenge(initiateAuthenticationChallengeBody, options) {
|
|
132
|
-
return OOBAuthenticationChallengeWebhookNotificationApiFp(this.configuration).initiateAuthenticationChallenge(initiateAuthenticationChallengeBody, options).then((request) => request(this.axios, this.basePath));
|
|
133
|
-
}
|
|
134
|
-
}
|
package/dist/esm/wallet/api.js
CHANGED
|
@@ -104,7 +104,7 @@ export const ActivateTokenApiAxiosParamCreator = function (configuration) {
|
|
|
104
104
|
// authentication bearerAuth required
|
|
105
105
|
// http bearer authentication required
|
|
106
106
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
107
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
107
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/problem+json';
|
|
108
108
|
if (xAuditUser != null) {
|
|
109
109
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
110
110
|
}
|
|
@@ -142,7 +142,7 @@ export const ActivateTokenApiAxiosParamCreator = function (configuration) {
|
|
|
142
142
|
// authentication bearerAuth required
|
|
143
143
|
// http bearer authentication required
|
|
144
144
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
145
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
145
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/problem+json';
|
|
146
146
|
if (xIdempotencyKey != null) {
|
|
147
147
|
localVarHeaderParameter['x-idempotency-key'] = String(xIdempotencyKey);
|
|
148
148
|
}
|
|
@@ -292,7 +292,7 @@ export const DeactivateTokenApiAxiosParamCreator = function (configuration) {
|
|
|
292
292
|
// authentication bearerAuth required
|
|
293
293
|
// http bearer authentication required
|
|
294
294
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
295
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
295
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/problem+json';
|
|
296
296
|
if (xIdempotencyKey != null) {
|
|
297
297
|
localVarHeaderParameter['x-idempotency-key'] = String(xIdempotencyKey);
|
|
298
298
|
}
|
|
@@ -400,7 +400,7 @@ export const EligibleTokenRequestorsApiAxiosParamCreator = function (configurati
|
|
|
400
400
|
// http bearer authentication required
|
|
401
401
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
402
402
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
403
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
403
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/problem+json';
|
|
404
404
|
if (xAuditUser != null) {
|
|
405
405
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
406
406
|
}
|
|
@@ -513,7 +513,7 @@ export const GetTokensApiAxiosParamCreator = function (configuration) {
|
|
|
513
513
|
if (includeCardSchemePayload !== undefined) {
|
|
514
514
|
localVarQueryParameter['includeCardSchemePayload'] = includeCardSchemePayload;
|
|
515
515
|
}
|
|
516
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
516
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/problem+json';
|
|
517
517
|
if (xAuditUser != null) {
|
|
518
518
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
519
519
|
}
|
|
@@ -558,7 +558,7 @@ export const GetTokensApiAxiosParamCreator = function (configuration) {
|
|
|
558
558
|
if (includeCardSchemePayload !== undefined) {
|
|
559
559
|
localVarQueryParameter['includeCardSchemePayload'] = includeCardSchemePayload;
|
|
560
560
|
}
|
|
561
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
561
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/problem+json';
|
|
562
562
|
if (xAuditUser != null) {
|
|
563
563
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
564
564
|
}
|
|
@@ -713,7 +713,7 @@ export const PushCardsApiAxiosParamCreator = function (configuration) {
|
|
|
713
713
|
// http bearer authentication required
|
|
714
714
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
715
715
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
716
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
716
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/problem+json';
|
|
717
717
|
if (xAuditUser != null) {
|
|
718
718
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
719
719
|
}
|
|
@@ -822,7 +822,7 @@ export const PushProvisionApiAxiosParamCreator = function (configuration) {
|
|
|
822
822
|
// http bearer authentication required
|
|
823
823
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
824
824
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
825
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
825
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/problem+json';
|
|
826
826
|
if (xAuditUser != null) {
|
|
827
827
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
828
828
|
}
|
|
@@ -862,7 +862,7 @@ export const PushProvisionApiAxiosParamCreator = function (configuration) {
|
|
|
862
862
|
// http bearer authentication required
|
|
863
863
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
864
864
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
865
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
865
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/problem+json';
|
|
866
866
|
if (xAuditUser != null) {
|
|
867
867
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
868
868
|
}
|
|
@@ -902,7 +902,7 @@ export const PushProvisionApiAxiosParamCreator = function (configuration) {
|
|
|
902
902
|
// http bearer authentication required
|
|
903
903
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
904
904
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
905
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
905
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/problem+json';
|
|
906
906
|
if (xAuditUser != null) {
|
|
907
907
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
908
908
|
}
|
|
@@ -1095,7 +1095,7 @@ export const SuspendTokenApiAxiosParamCreator = function (configuration) {
|
|
|
1095
1095
|
// authentication bearerAuth required
|
|
1096
1096
|
// http bearer authentication required
|
|
1097
1097
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1098
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1098
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/problem+json';
|
|
1099
1099
|
if (xIdempotencyKey != null) {
|
|
1100
1100
|
localVarHeaderParameter['x-idempotency-key'] = String(xIdempotencyKey);
|
|
1101
1101
|
}
|
|
@@ -1206,7 +1206,7 @@ export const UnsuspendTokenApiAxiosParamCreator = function (configuration) {
|
|
|
1206
1206
|
// authentication bearerAuth required
|
|
1207
1207
|
// http bearer authentication required
|
|
1208
1208
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1209
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1209
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/problem+json';
|
|
1210
1210
|
if (xIdempotencyKey != null) {
|
|
1211
1211
|
localVarHeaderParameter['x-idempotency-key'] = String(xIdempotencyKey);
|
|
1212
1212
|
}
|
|
@@ -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
|
-
}
|
|
@@ -12,23 +12,8 @@
|
|
|
12
12
|
* https://openapi-generator.tech
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
-
});
|
|
23
|
-
};
|
|
24
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
26
|
-
const axios_1 = require("axios");
|
|
27
|
-
// Some imports not used depending on template conditions
|
|
28
|
-
// @ts-ignore
|
|
29
|
-
const common_1 = require("./common");
|
|
30
|
-
// @ts-ignore
|
|
31
|
-
const base_1 = require("./base");
|
|
16
|
+
exports.TokenStatus = exports.TokenRequestor = exports.RiskScore = exports.PinStatus = exports.PinDeliveryType = exports.Locale = exports.CountryCodesAlpha3 = exports.CardholderResponseNationalityEnum = exports.CardholderEventNationalityEnum = exports.CardVersionStatus = exports.CardStatus = exports.CardScheme = exports.CardRole = exports.CardDeliveryType = exports.CardConfigurationType = exports.AuthorizationDecisionColor = void 0;
|
|
32
17
|
/**
|
|
33
18
|
* The wallets common name for authorization decision.
|
|
34
19
|
*/
|
|
@@ -1181,233 +1166,3 @@ exports.TokenStatus = {
|
|
|
1181
1166
|
Inactive: 'INACTIVE',
|
|
1182
1167
|
Suspended: 'SUSPENDED',
|
|
1183
1168
|
};
|
|
1184
|
-
/**
|
|
1185
|
-
* IssuerEventWebhooksApi - axios parameter creator
|
|
1186
|
-
*/
|
|
1187
|
-
const IssuerEventWebhooksApiAxiosParamCreator = function (configuration) {
|
|
1188
|
-
return {
|
|
1189
|
-
/**
|
|
1190
|
-
* This is not an endpoint. This is the description of a request that is sent to subscribed webhooks upon card creation, update or closure.
|
|
1191
|
-
* @summary Outgoing card event webhook endpoint
|
|
1192
|
-
* @param {CardEvent} cardEvent Card event
|
|
1193
|
-
* @param {*} [options] Override http request option.
|
|
1194
|
-
* @throws {RequiredError}
|
|
1195
|
-
*/
|
|
1196
|
-
cardEvent: (cardEvent_1, ...args_1) => __awaiter(this, [cardEvent_1, ...args_1], void 0, function* (cardEvent, options = {}) {
|
|
1197
|
-
// verify required parameter 'cardEvent' is not null or undefined
|
|
1198
|
-
(0, common_1.assertParamExists)('cardEvent', 'cardEvent', cardEvent);
|
|
1199
|
-
const localVarPath = `/card`;
|
|
1200
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1201
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1202
|
-
let baseOptions;
|
|
1203
|
-
if (configuration) {
|
|
1204
|
-
baseOptions = configuration.baseOptions;
|
|
1205
|
-
}
|
|
1206
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1207
|
-
const localVarHeaderParameter = {};
|
|
1208
|
-
const localVarQueryParameter = {};
|
|
1209
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1210
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1211
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1212
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1213
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(cardEvent, localVarRequestOptions, configuration);
|
|
1214
|
-
return {
|
|
1215
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1216
|
-
options: localVarRequestOptions,
|
|
1217
|
-
};
|
|
1218
|
-
}),
|
|
1219
|
-
/**
|
|
1220
|
-
* This is not an endpoint. This is the description of a request that is sent to subscribed webhooks upon cardholder creation or update.
|
|
1221
|
-
* @summary Outgoing cardholder event webhook endpoint
|
|
1222
|
-
* @param {CardholderEvent} cardholderEvent Cardholder event
|
|
1223
|
-
* @param {*} [options] Override http request option.
|
|
1224
|
-
* @throws {RequiredError}
|
|
1225
|
-
*/
|
|
1226
|
-
cardholderEvent: (cardholderEvent_1, ...args_1) => __awaiter(this, [cardholderEvent_1, ...args_1], void 0, function* (cardholderEvent, options = {}) {
|
|
1227
|
-
// verify required parameter 'cardholderEvent' is not null or undefined
|
|
1228
|
-
(0, common_1.assertParamExists)('cardholderEvent', 'cardholderEvent', cardholderEvent);
|
|
1229
|
-
const localVarPath = `/cardholder`;
|
|
1230
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1231
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1232
|
-
let baseOptions;
|
|
1233
|
-
if (configuration) {
|
|
1234
|
-
baseOptions = configuration.baseOptions;
|
|
1235
|
-
}
|
|
1236
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1237
|
-
const localVarHeaderParameter = {};
|
|
1238
|
-
const localVarQueryParameter = {};
|
|
1239
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1240
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1241
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1242
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1243
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(cardholderEvent, localVarRequestOptions, configuration);
|
|
1244
|
-
return {
|
|
1245
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1246
|
-
options: localVarRequestOptions,
|
|
1247
|
-
};
|
|
1248
|
-
}),
|
|
1249
|
-
/**
|
|
1250
|
-
* This is not an endpoint. This is the description of a request that is sent to subscribed webhooks upon token creation or update.
|
|
1251
|
-
* @summary Outgoing token event webhook endpoint
|
|
1252
|
-
* @param {TokenEvent} tokenEvent Token event
|
|
1253
|
-
* @param {*} [options] Override http request option.
|
|
1254
|
-
* @throws {RequiredError}
|
|
1255
|
-
*/
|
|
1256
|
-
tokenEvent: (tokenEvent_1, ...args_1) => __awaiter(this, [tokenEvent_1, ...args_1], void 0, function* (tokenEvent, options = {}) {
|
|
1257
|
-
// verify required parameter 'tokenEvent' is not null or undefined
|
|
1258
|
-
(0, common_1.assertParamExists)('tokenEvent', 'tokenEvent', tokenEvent);
|
|
1259
|
-
const localVarPath = `/token`;
|
|
1260
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1261
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1262
|
-
let baseOptions;
|
|
1263
|
-
if (configuration) {
|
|
1264
|
-
baseOptions = configuration.baseOptions;
|
|
1265
|
-
}
|
|
1266
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1267
|
-
const localVarHeaderParameter = {};
|
|
1268
|
-
const localVarQueryParameter = {};
|
|
1269
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1270
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1271
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1272
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1273
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(tokenEvent, localVarRequestOptions, configuration);
|
|
1274
|
-
return {
|
|
1275
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1276
|
-
options: localVarRequestOptions,
|
|
1277
|
-
};
|
|
1278
|
-
}),
|
|
1279
|
-
};
|
|
1280
|
-
};
|
|
1281
|
-
exports.IssuerEventWebhooksApiAxiosParamCreator = IssuerEventWebhooksApiAxiosParamCreator;
|
|
1282
|
-
/**
|
|
1283
|
-
* IssuerEventWebhooksApi - functional programming interface
|
|
1284
|
-
*/
|
|
1285
|
-
const IssuerEventWebhooksApiFp = function (configuration) {
|
|
1286
|
-
const localVarAxiosParamCreator = (0, exports.IssuerEventWebhooksApiAxiosParamCreator)(configuration);
|
|
1287
|
-
return {
|
|
1288
|
-
/**
|
|
1289
|
-
* This is not an endpoint. This is the description of a request that is sent to subscribed webhooks upon card creation, update or closure.
|
|
1290
|
-
* @summary Outgoing card event webhook endpoint
|
|
1291
|
-
* @param {CardEvent} cardEvent Card event
|
|
1292
|
-
* @param {*} [options] Override http request option.
|
|
1293
|
-
* @throws {RequiredError}
|
|
1294
|
-
*/
|
|
1295
|
-
cardEvent(cardEvent, options) {
|
|
1296
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1297
|
-
var _a, _b, _c;
|
|
1298
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.cardEvent(cardEvent, options);
|
|
1299
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1300
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['IssuerEventWebhooksApi.cardEvent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1301
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1302
|
-
});
|
|
1303
|
-
},
|
|
1304
|
-
/**
|
|
1305
|
-
* This is not an endpoint. This is the description of a request that is sent to subscribed webhooks upon cardholder creation or update.
|
|
1306
|
-
* @summary Outgoing cardholder event webhook endpoint
|
|
1307
|
-
* @param {CardholderEvent} cardholderEvent Cardholder event
|
|
1308
|
-
* @param {*} [options] Override http request option.
|
|
1309
|
-
* @throws {RequiredError}
|
|
1310
|
-
*/
|
|
1311
|
-
cardholderEvent(cardholderEvent, options) {
|
|
1312
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1313
|
-
var _a, _b, _c;
|
|
1314
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.cardholderEvent(cardholderEvent, options);
|
|
1315
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1316
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['IssuerEventWebhooksApi.cardholderEvent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1317
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1318
|
-
});
|
|
1319
|
-
},
|
|
1320
|
-
/**
|
|
1321
|
-
* This is not an endpoint. This is the description of a request that is sent to subscribed webhooks upon token creation or update.
|
|
1322
|
-
* @summary Outgoing token event webhook endpoint
|
|
1323
|
-
* @param {TokenEvent} tokenEvent Token event
|
|
1324
|
-
* @param {*} [options] Override http request option.
|
|
1325
|
-
* @throws {RequiredError}
|
|
1326
|
-
*/
|
|
1327
|
-
tokenEvent(tokenEvent, options) {
|
|
1328
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1329
|
-
var _a, _b, _c;
|
|
1330
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.tokenEvent(tokenEvent, options);
|
|
1331
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1332
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['IssuerEventWebhooksApi.tokenEvent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1333
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1334
|
-
});
|
|
1335
|
-
},
|
|
1336
|
-
};
|
|
1337
|
-
};
|
|
1338
|
-
exports.IssuerEventWebhooksApiFp = IssuerEventWebhooksApiFp;
|
|
1339
|
-
/**
|
|
1340
|
-
* IssuerEventWebhooksApi - factory interface
|
|
1341
|
-
*/
|
|
1342
|
-
const IssuerEventWebhooksApiFactory = function (configuration, basePath, axios) {
|
|
1343
|
-
const localVarFp = (0, exports.IssuerEventWebhooksApiFp)(configuration);
|
|
1344
|
-
return {
|
|
1345
|
-
/**
|
|
1346
|
-
* This is not an endpoint. This is the description of a request that is sent to subscribed webhooks upon card creation, update or closure.
|
|
1347
|
-
* @summary Outgoing card event webhook endpoint
|
|
1348
|
-
* @param {CardEvent} cardEvent Card event
|
|
1349
|
-
* @param {*} [options] Override http request option.
|
|
1350
|
-
* @throws {RequiredError}
|
|
1351
|
-
*/
|
|
1352
|
-
cardEvent(cardEvent, options) {
|
|
1353
|
-
return localVarFp.cardEvent(cardEvent, options).then((request) => request(axios, basePath));
|
|
1354
|
-
},
|
|
1355
|
-
/**
|
|
1356
|
-
* This is not an endpoint. This is the description of a request that is sent to subscribed webhooks upon cardholder creation or update.
|
|
1357
|
-
* @summary Outgoing cardholder event webhook endpoint
|
|
1358
|
-
* @param {CardholderEvent} cardholderEvent Cardholder event
|
|
1359
|
-
* @param {*} [options] Override http request option.
|
|
1360
|
-
* @throws {RequiredError}
|
|
1361
|
-
*/
|
|
1362
|
-
cardholderEvent(cardholderEvent, options) {
|
|
1363
|
-
return localVarFp.cardholderEvent(cardholderEvent, options).then((request) => request(axios, basePath));
|
|
1364
|
-
},
|
|
1365
|
-
/**
|
|
1366
|
-
* This is not an endpoint. This is the description of a request that is sent to subscribed webhooks upon token creation or update.
|
|
1367
|
-
* @summary Outgoing token event webhook endpoint
|
|
1368
|
-
* @param {TokenEvent} tokenEvent Token event
|
|
1369
|
-
* @param {*} [options] Override http request option.
|
|
1370
|
-
* @throws {RequiredError}
|
|
1371
|
-
*/
|
|
1372
|
-
tokenEvent(tokenEvent, options) {
|
|
1373
|
-
return localVarFp.tokenEvent(tokenEvent, options).then((request) => request(axios, basePath));
|
|
1374
|
-
},
|
|
1375
|
-
};
|
|
1376
|
-
};
|
|
1377
|
-
exports.IssuerEventWebhooksApiFactory = IssuerEventWebhooksApiFactory;
|
|
1378
|
-
/**
|
|
1379
|
-
* IssuerEventWebhooksApi - object-oriented interface
|
|
1380
|
-
*/
|
|
1381
|
-
class IssuerEventWebhooksApi extends base_1.BaseAPI {
|
|
1382
|
-
/**
|
|
1383
|
-
* This is not an endpoint. This is the description of a request that is sent to subscribed webhooks upon card creation, update or closure.
|
|
1384
|
-
* @summary Outgoing card event webhook endpoint
|
|
1385
|
-
* @param {CardEvent} cardEvent Card event
|
|
1386
|
-
* @param {*} [options] Override http request option.
|
|
1387
|
-
* @throws {RequiredError}
|
|
1388
|
-
*/
|
|
1389
|
-
cardEvent(cardEvent, options) {
|
|
1390
|
-
return (0, exports.IssuerEventWebhooksApiFp)(this.configuration).cardEvent(cardEvent, options).then((request) => request(this.axios, this.basePath));
|
|
1391
|
-
}
|
|
1392
|
-
/**
|
|
1393
|
-
* This is not an endpoint. This is the description of a request that is sent to subscribed webhooks upon cardholder creation or update.
|
|
1394
|
-
* @summary Outgoing cardholder event webhook endpoint
|
|
1395
|
-
* @param {CardholderEvent} cardholderEvent Cardholder event
|
|
1396
|
-
* @param {*} [options] Override http request option.
|
|
1397
|
-
* @throws {RequiredError}
|
|
1398
|
-
*/
|
|
1399
|
-
cardholderEvent(cardholderEvent, options) {
|
|
1400
|
-
return (0, exports.IssuerEventWebhooksApiFp)(this.configuration).cardholderEvent(cardholderEvent, options).then((request) => request(this.axios, this.basePath));
|
|
1401
|
-
}
|
|
1402
|
-
/**
|
|
1403
|
-
* This is not an endpoint. This is the description of a request that is sent to subscribed webhooks upon token creation or update.
|
|
1404
|
-
* @summary Outgoing token event webhook endpoint
|
|
1405
|
-
* @param {TokenEvent} tokenEvent Token event
|
|
1406
|
-
* @param {*} [options] Override http request option.
|
|
1407
|
-
* @throws {RequiredError}
|
|
1408
|
-
*/
|
|
1409
|
-
tokenEvent(tokenEvent, options) {
|
|
1410
|
-
return (0, exports.IssuerEventWebhooksApiFp)(this.configuration).tokenEvent(tokenEvent, options).then((request) => request(this.axios, this.basePath));
|
|
1411
|
-
}
|
|
1412
|
-
}
|
|
1413
|
-
exports.IssuerEventWebhooksApi = IssuerEventWebhooksApi;
|
|
@@ -29,4 +29,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
30
|
__exportStar(require("./api"), exports);
|
|
31
31
|
__exportStar(require("./configuration"), exports);
|
|
32
|
-
__exportStar(require("./client"), exports);
|