@emilgroup/payment-sdk-node 1.14.0 → 1.14.1-beta.0
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/.openapi-generator/FILES +0 -50
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +12 -20
- package/api/bank-transaction-api.ts +10 -20
- package/api/payment-methods-api.ts +18 -26
- package/api/payment-reminders-api.ts +8 -16
- package/api/payment-setup-api.ts +28 -36
- package/api/payments-api.ts +6 -12
- package/api/refunds-api.ts +6 -12
- package/api/webhooks-api.ts +21 -8
- package/dist/api/bank-accounts-api.d.ts +18 -22
- package/dist/api/bank-transaction-api.d.ts +15 -20
- package/dist/api/payment-methods-api.d.ts +15 -19
- package/dist/api/payment-methods-api.js +12 -12
- package/dist/api/payment-reminders-api.d.ts +12 -16
- package/dist/api/payment-setup-api.d.ts +18 -22
- package/dist/api/payment-setup-api.js +24 -24
- package/dist/api/payments-api.d.ts +9 -12
- package/dist/api/refunds-api.d.ts +9 -12
- package/dist/api/webhooks-api.d.ts +12 -3
- package/dist/api/webhooks-api.js +14 -8
- package/dist/models/create-bank-account-request-dto.d.ts +2 -2
- package/dist/models/create-payment-request-dto.d.ts +1 -1
- package/dist/models/index.d.ts +0 -50
- package/dist/models/index.js +0 -50
- package/dist/models/validate-pspconfig-request-dto.d.ts +1 -8
- package/dist/models/validate-pspconfig-request-dto.js +0 -7
- package/models/create-bank-account-request-dto.ts +2 -2
- package/models/create-payment-request-dto.ts +1 -1
- package/models/index.ts +0 -50
- package/models/validate-pspconfig-request-dto.ts +1 -11
- package/package.json +1 -1
- package/dist/models/bank-account-class-without-expand-properties.d.ts +0 -84
- package/dist/models/bank-account-class-without-expand-properties.js +0 -15
- package/dist/models/bank-account-class.d.ts +0 -91
- package/dist/models/bank-account-class.js +0 -15
- package/dist/models/bank-transaction-class.d.ts +0 -140
- package/dist/models/bank-transaction-class.js +0 -15
- package/dist/models/billing-profile-dto.d.ts +0 -38
- package/dist/models/billing-profile-dto.js +0 -15
- package/dist/models/billing-profile-limited-response-dto.d.ts +0 -54
- package/dist/models/billing-profile-limited-response-dto.js +0 -15
- package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +0 -48
- package/dist/models/complete-braintree-payment-setup-request-dto.js +0 -15
- package/dist/models/complete-payment-setup-request-dto.d.ts +0 -32
- package/dist/models/complete-payment-setup-request-dto.js +0 -15
- package/dist/models/complete-payment-setup-response-class.d.ts +0 -25
- package/dist/models/complete-payment-setup-response-class.js +0 -15
- package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +0 -77
- package/dist/models/complete-stripe-payment-setup-request-dto.js +0 -32
- package/dist/models/create-bank-account-response-class.d.ts +0 -25
- package/dist/models/create-bank-account-response-class.js +0 -15
- package/dist/models/create-payment-method-response-class.d.ts +0 -25
- package/dist/models/create-payment-method-response-class.js +0 -15
- package/dist/models/create-payment-reminder-response-class.d.ts +0 -25
- package/dist/models/create-payment-reminder-response-class.js +0 -15
- package/dist/models/create-payment-response-class.d.ts +0 -25
- package/dist/models/create-payment-response-class.js +0 -15
- package/dist/models/create-psp-payment-method-request-dto.d.ts +0 -61
- package/dist/models/create-psp-payment-method-request-dto.js +0 -32
- package/dist/models/create-refund-response-class.d.ts +0 -25
- package/dist/models/create-refund-response-class.js +0 -15
- package/dist/models/deactivate-payment-reminder-response-class.d.ts +0 -25
- package/dist/models/deactivate-payment-reminder-response-class.js +0 -15
- package/dist/models/deactivated-payment-reminder-class.d.ts +0 -102
- package/dist/models/deactivated-payment-reminder-class.js +0 -15
- package/dist/models/get-bank-account-response-class.d.ts +0 -25
- package/dist/models/get-bank-account-response-class.js +0 -15
- package/dist/models/get-bank-transactions-response-class.d.ts +0 -25
- package/dist/models/get-bank-transactions-response-class.js +0 -15
- package/dist/models/get-payment-method-response-class.d.ts +0 -25
- package/dist/models/get-payment-method-response-class.js +0 -15
- package/dist/models/get-payment-reminder-response-class.d.ts +0 -25
- package/dist/models/get-payment-reminder-response-class.js +0 -15
- package/dist/models/get-payment-response-class.d.ts +0 -25
- package/dist/models/get-payment-response-class.js +0 -15
- package/dist/models/get-refund-response-class.d.ts +0 -25
- package/dist/models/get-refund-response-class.js +0 -15
- package/dist/models/import-bank-transactions-response-class.d.ts +0 -25
- package/dist/models/import-bank-transactions-response-class.js +0 -15
- package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +0 -30
- package/dist/models/initiate-braintree-payment-setup-request-dto.js +0 -15
- package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +0 -24
- package/dist/models/initiate-braintree-payment-setup-response-class.js +0 -15
- package/dist/models/initiate-payment-setup-request-dto.d.ts +0 -44
- package/dist/models/initiate-payment-setup-request-dto.js +0 -15
- package/dist/models/initiate-payment-setup-response-class.d.ts +0 -32
- package/dist/models/initiate-payment-setup-response-class.js +0 -15
- package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +0 -30
- package/dist/models/initiate-stripe-payment-setup-request-dto.js +0 -15
- package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +0 -30
- package/dist/models/initiate-stripe-payment-setup-response-class.js +0 -15
- package/dist/models/link-bank-transactions-response-class.d.ts +0 -25
- package/dist/models/link-bank-transactions-response-class.js +0 -15
- package/dist/models/list-bank-accounts-response-class.d.ts +0 -31
- package/dist/models/list-bank-accounts-response-class.js +0 -15
- package/dist/models/list-bank-transactions-response-class.d.ts +0 -31
- package/dist/models/list-bank-transactions-response-class.js +0 -15
- package/dist/models/list-payment-methods-response-class.d.ts +0 -31
- package/dist/models/list-payment-methods-response-class.js +0 -15
- package/dist/models/list-payment-reminders-response-class.d.ts +0 -31
- package/dist/models/list-payment-reminders-response-class.js +0 -15
- package/dist/models/list-payments-response-class.d.ts +0 -31
- package/dist/models/list-payments-response-class.js +0 -15
- package/dist/models/list-refunds-response-class.d.ts +0 -31
- package/dist/models/list-refunds-response-class.js +0 -15
- package/dist/models/payment-class-without-expand-properties.d.ts +0 -108
- package/dist/models/payment-class-without-expand-properties.js +0 -15
- package/dist/models/payment-class.d.ts +0 -115
- package/dist/models/payment-class.js +0 -15
- package/dist/models/payment-method-class.d.ts +0 -78
- package/dist/models/payment-method-class.js +0 -15
- package/dist/models/payment-reminder-class.d.ts +0 -102
- package/dist/models/payment-reminder-class.js +0 -15
- package/dist/models/primary-bank-account-response-class.d.ts +0 -54
- package/dist/models/primary-bank-account-response-class.js +0 -15
- package/dist/models/refund-class.d.ts +0 -118
- package/dist/models/refund-class.js +0 -29
- package/dist/models/refund-item-class.d.ts +0 -114
- package/dist/models/refund-item-class.js +0 -15
- package/dist/models/sepa-direct-dto.d.ts +0 -24
- package/dist/models/sepa-direct-dto.js +0 -15
- package/dist/models/shared-transaction-class.d.ts +0 -72
- package/dist/models/shared-transaction-class.js +0 -15
- package/dist/models/symphony-profile-limited-response-dto.d.ts +0 -42
- package/dist/models/symphony-profile-limited-response-dto.js +0 -15
- package/dist/models/unlink-bank-transactions-response-class.d.ts +0 -25
- package/dist/models/unlink-bank-transactions-response-class.js +0 -15
- package/dist/models/unlinked-bank-transaction-response-class.d.ts +0 -108
- package/dist/models/unlinked-bank-transaction-response-class.js +0 -15
- package/dist/models/update-bank-account-response-class.d.ts +0 -25
- package/dist/models/update-bank-account-response-class.js +0 -15
- package/models/bank-account-class-without-expand-properties.ts +0 -90
- package/models/bank-account-class.ts +0 -97
- package/models/bank-transaction-class.ts +0 -146
- package/models/billing-profile-dto.ts +0 -44
- package/models/billing-profile-limited-response-dto.ts +0 -60
- package/models/complete-braintree-payment-setup-request-dto.ts +0 -54
- package/models/complete-payment-setup-request-dto.ts +0 -38
- package/models/complete-payment-setup-response-class.ts +0 -31
- package/models/complete-stripe-payment-setup-request-dto.ts +0 -86
- package/models/create-bank-account-response-class.ts +0 -31
- package/models/create-payment-method-response-class.ts +0 -31
- package/models/create-payment-reminder-response-class.ts +0 -31
- package/models/create-payment-response-class.ts +0 -31
- package/models/create-psp-payment-method-request-dto.ts +0 -70
- package/models/create-refund-response-class.ts +0 -31
- package/models/deactivate-payment-reminder-response-class.ts +0 -31
- package/models/deactivated-payment-reminder-class.ts +0 -108
- package/models/get-bank-account-response-class.ts +0 -31
- package/models/get-bank-transactions-response-class.ts +0 -31
- package/models/get-payment-method-response-class.ts +0 -31
- package/models/get-payment-reminder-response-class.ts +0 -31
- package/models/get-payment-response-class.ts +0 -31
- package/models/get-refund-response-class.ts +0 -31
- package/models/import-bank-transactions-response-class.ts +0 -31
- package/models/initiate-braintree-payment-setup-request-dto.ts +0 -36
- package/models/initiate-braintree-payment-setup-response-class.ts +0 -30
- package/models/initiate-payment-setup-request-dto.ts +0 -50
- package/models/initiate-payment-setup-response-class.ts +0 -38
- package/models/initiate-stripe-payment-setup-request-dto.ts +0 -36
- package/models/initiate-stripe-payment-setup-response-class.ts +0 -36
- package/models/link-bank-transactions-response-class.ts +0 -31
- package/models/list-bank-accounts-response-class.ts +0 -37
- package/models/list-bank-transactions-response-class.ts +0 -37
- package/models/list-payment-methods-response-class.ts +0 -37
- package/models/list-payment-reminders-response-class.ts +0 -37
- package/models/list-payments-response-class.ts +0 -37
- package/models/list-refunds-response-class.ts +0 -37
- package/models/payment-class-without-expand-properties.ts +0 -114
- package/models/payment-class.ts +0 -121
- package/models/payment-method-class.ts +0 -84
- package/models/payment-reminder-class.ts +0 -108
- package/models/primary-bank-account-response-class.ts +0 -60
- package/models/refund-class.ts +0 -128
- package/models/refund-item-class.ts +0 -120
- package/models/sepa-direct-dto.ts +0 -30
- package/models/shared-transaction-class.ts +0 -78
- package/models/symphony-profile-limited-response-dto.ts +0 -48
- package/models/unlink-bank-transactions-response-class.ts +0 -31
- package/models/unlinked-bank-transaction-response-class.ts +0 -114
- package/models/update-bank-account-response-class.ts +0 -31
|
@@ -99,20 +99,20 @@ var PaymentSetupApiAxiosParamCreator = function (configuration) {
|
|
|
99
99
|
/**
|
|
100
100
|
* This endpoint is used to save user-provided payment information. The service will send a request to the configured PSP to securely store the payment data.
|
|
101
101
|
* @summary Complete a payment setup
|
|
102
|
-
* @param {
|
|
102
|
+
* @param {object} body
|
|
103
103
|
* @param {string} [authorization] Bearer Token
|
|
104
104
|
* @param {*} [options] Override http request option.
|
|
105
105
|
* @throws {RequiredError}
|
|
106
106
|
*/
|
|
107
|
-
completePaymentSetup: function (
|
|
107
|
+
completePaymentSetup: function (body, authorization, options) {
|
|
108
108
|
if (options === void 0) { options = {}; }
|
|
109
109
|
return __awaiter(_this, void 0, void 0, function () {
|
|
110
110
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
111
111
|
return __generator(this, function (_a) {
|
|
112
112
|
switch (_a.label) {
|
|
113
113
|
case 0:
|
|
114
|
-
// verify required parameter '
|
|
115
|
-
(0, common_1.assertParamExists)('completePaymentSetup', '
|
|
114
|
+
// verify required parameter 'body' is not null or undefined
|
|
115
|
+
(0, common_1.assertParamExists)('completePaymentSetup', 'body', body);
|
|
116
116
|
localVarPath = "/paymentservice/v1/payment-setup/complete";
|
|
117
117
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
118
118
|
if (configuration) {
|
|
@@ -136,7 +136,7 @@ var PaymentSetupApiAxiosParamCreator = function (configuration) {
|
|
|
136
136
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
137
137
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
138
138
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
139
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
139
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
140
140
|
return [2 /*return*/, {
|
|
141
141
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
142
142
|
options: localVarRequestOptions,
|
|
@@ -148,20 +148,20 @@ var PaymentSetupApiAxiosParamCreator = function (configuration) {
|
|
|
148
148
|
/**
|
|
149
149
|
* This initiates an account within the configured payment service provider, whichgenerates a secret token, allowing the user to add their payment information.
|
|
150
150
|
* @summary Initiate a payment setup
|
|
151
|
-
* @param {
|
|
151
|
+
* @param {object} body
|
|
152
152
|
* @param {string} [authorization] Bearer Token
|
|
153
153
|
* @param {*} [options] Override http request option.
|
|
154
154
|
* @throws {RequiredError}
|
|
155
155
|
*/
|
|
156
|
-
initiatePaymentSetup: function (
|
|
156
|
+
initiatePaymentSetup: function (body, authorization, options) {
|
|
157
157
|
if (options === void 0) { options = {}; }
|
|
158
158
|
return __awaiter(_this, void 0, void 0, function () {
|
|
159
159
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
160
160
|
return __generator(this, function (_a) {
|
|
161
161
|
switch (_a.label) {
|
|
162
162
|
case 0:
|
|
163
|
-
// verify required parameter '
|
|
164
|
-
(0, common_1.assertParamExists)('initiatePaymentSetup', '
|
|
163
|
+
// verify required parameter 'body' is not null or undefined
|
|
164
|
+
(0, common_1.assertParamExists)('initiatePaymentSetup', 'body', body);
|
|
165
165
|
localVarPath = "/paymentservice/v1/payment-setup/initiate";
|
|
166
166
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
167
167
|
if (configuration) {
|
|
@@ -185,7 +185,7 @@ var PaymentSetupApiAxiosParamCreator = function (configuration) {
|
|
|
185
185
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
186
186
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
187
187
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
188
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
188
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
189
189
|
return [2 /*return*/, {
|
|
190
190
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
191
191
|
options: localVarRequestOptions,
|
|
@@ -207,17 +207,17 @@ var PaymentSetupApiFp = function (configuration) {
|
|
|
207
207
|
/**
|
|
208
208
|
* This endpoint is used to save user-provided payment information. The service will send a request to the configured PSP to securely store the payment data.
|
|
209
209
|
* @summary Complete a payment setup
|
|
210
|
-
* @param {
|
|
210
|
+
* @param {object} body
|
|
211
211
|
* @param {string} [authorization] Bearer Token
|
|
212
212
|
* @param {*} [options] Override http request option.
|
|
213
213
|
* @throws {RequiredError}
|
|
214
214
|
*/
|
|
215
|
-
completePaymentSetup: function (
|
|
215
|
+
completePaymentSetup: function (body, authorization, options) {
|
|
216
216
|
return __awaiter(this, void 0, void 0, function () {
|
|
217
217
|
var localVarAxiosArgs;
|
|
218
218
|
return __generator(this, function (_a) {
|
|
219
219
|
switch (_a.label) {
|
|
220
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.completePaymentSetup(
|
|
220
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.completePaymentSetup(body, authorization, options)];
|
|
221
221
|
case 1:
|
|
222
222
|
localVarAxiosArgs = _a.sent();
|
|
223
223
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -228,17 +228,17 @@ var PaymentSetupApiFp = function (configuration) {
|
|
|
228
228
|
/**
|
|
229
229
|
* This initiates an account within the configured payment service provider, whichgenerates a secret token, allowing the user to add their payment information.
|
|
230
230
|
* @summary Initiate a payment setup
|
|
231
|
-
* @param {
|
|
231
|
+
* @param {object} body
|
|
232
232
|
* @param {string} [authorization] Bearer Token
|
|
233
233
|
* @param {*} [options] Override http request option.
|
|
234
234
|
* @throws {RequiredError}
|
|
235
235
|
*/
|
|
236
|
-
initiatePaymentSetup: function (
|
|
236
|
+
initiatePaymentSetup: function (body, authorization, options) {
|
|
237
237
|
return __awaiter(this, void 0, void 0, function () {
|
|
238
238
|
var localVarAxiosArgs;
|
|
239
239
|
return __generator(this, function (_a) {
|
|
240
240
|
switch (_a.label) {
|
|
241
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.initiatePaymentSetup(
|
|
241
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.initiatePaymentSetup(body, authorization, options)];
|
|
242
242
|
case 1:
|
|
243
243
|
localVarAxiosArgs = _a.sent();
|
|
244
244
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -259,24 +259,24 @@ var PaymentSetupApiFactory = function (configuration, basePath, axios) {
|
|
|
259
259
|
/**
|
|
260
260
|
* This endpoint is used to save user-provided payment information. The service will send a request to the configured PSP to securely store the payment data.
|
|
261
261
|
* @summary Complete a payment setup
|
|
262
|
-
* @param {
|
|
262
|
+
* @param {object} body
|
|
263
263
|
* @param {string} [authorization] Bearer Token
|
|
264
264
|
* @param {*} [options] Override http request option.
|
|
265
265
|
* @throws {RequiredError}
|
|
266
266
|
*/
|
|
267
|
-
completePaymentSetup: function (
|
|
268
|
-
return localVarFp.completePaymentSetup(
|
|
267
|
+
completePaymentSetup: function (body, authorization, options) {
|
|
268
|
+
return localVarFp.completePaymentSetup(body, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
269
269
|
},
|
|
270
270
|
/**
|
|
271
271
|
* This initiates an account within the configured payment service provider, whichgenerates a secret token, allowing the user to add their payment information.
|
|
272
272
|
* @summary Initiate a payment setup
|
|
273
|
-
* @param {
|
|
273
|
+
* @param {object} body
|
|
274
274
|
* @param {string} [authorization] Bearer Token
|
|
275
275
|
* @param {*} [options] Override http request option.
|
|
276
276
|
* @throws {RequiredError}
|
|
277
277
|
*/
|
|
278
|
-
initiatePaymentSetup: function (
|
|
279
|
-
return localVarFp.initiatePaymentSetup(
|
|
278
|
+
initiatePaymentSetup: function (body, authorization, options) {
|
|
279
|
+
return localVarFp.initiatePaymentSetup(body, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
280
280
|
},
|
|
281
281
|
};
|
|
282
282
|
};
|
|
@@ -302,7 +302,7 @@ var PaymentSetupApi = /** @class */ (function (_super) {
|
|
|
302
302
|
*/
|
|
303
303
|
PaymentSetupApi.prototype.completePaymentSetup = function (requestParameters, options) {
|
|
304
304
|
var _this = this;
|
|
305
|
-
return (0, exports.PaymentSetupApiFp)(this.configuration).completePaymentSetup(requestParameters.
|
|
305
|
+
return (0, exports.PaymentSetupApiFp)(this.configuration).completePaymentSetup(requestParameters.body, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
306
306
|
};
|
|
307
307
|
/**
|
|
308
308
|
* This initiates an account within the configured payment service provider, whichgenerates a secret token, allowing the user to add their payment information.
|
|
@@ -314,7 +314,7 @@ var PaymentSetupApi = /** @class */ (function (_super) {
|
|
|
314
314
|
*/
|
|
315
315
|
PaymentSetupApi.prototype.initiatePaymentSetup = function (requestParameters, options) {
|
|
316
316
|
var _this = this;
|
|
317
|
-
return (0, exports.PaymentSetupApiFp)(this.configuration).initiatePaymentSetup(requestParameters.
|
|
317
|
+
return (0, exports.PaymentSetupApiFp)(this.configuration).initiatePaymentSetup(requestParameters.body, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
318
318
|
};
|
|
319
319
|
return PaymentSetupApi;
|
|
320
320
|
}(base_1.BaseAPI));
|
|
@@ -13,9 +13,6 @@ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { CreatePaymentRequestDto } from '../models';
|
|
16
|
-
import { CreatePaymentResponseClass } from '../models';
|
|
17
|
-
import { GetPaymentResponseClass } from '../models';
|
|
18
|
-
import { ListPaymentsResponseClass } from '../models';
|
|
19
16
|
/**
|
|
20
17
|
* PaymentsApi - axios parameter creator
|
|
21
18
|
* @export
|
|
@@ -68,7 +65,7 @@ export declare const PaymentsApiFp: (configuration?: Configuration) => {
|
|
|
68
65
|
* @param {*} [options] Override http request option.
|
|
69
66
|
* @throws {RequiredError}
|
|
70
67
|
*/
|
|
71
|
-
createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
68
|
+
createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
72
69
|
/**
|
|
73
70
|
* Retrieves the details of the payment that was previously created. Supply the unique payment code that was returned when you created it and Emil Api will return the corresponding payment information.
|
|
74
71
|
* @summary Retrieve the payment
|
|
@@ -78,7 +75,7 @@ export declare const PaymentsApiFp: (configuration?: Configuration) => {
|
|
|
78
75
|
* @param {*} [options] Override http request option.
|
|
79
76
|
* @throws {RequiredError}
|
|
80
77
|
*/
|
|
81
|
-
getPayment(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
78
|
+
getPayment(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
82
79
|
/**
|
|
83
80
|
* Returns a list of payments you have previously created. The payments are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
84
81
|
* @summary List payments
|
|
@@ -90,7 +87,7 @@ export declare const PaymentsApiFp: (configuration?: Configuration) => {
|
|
|
90
87
|
* @param {*} [options] Override http request option.
|
|
91
88
|
* @throws {RequiredError}
|
|
92
89
|
*/
|
|
93
|
-
listPayments(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
90
|
+
listPayments(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
94
91
|
};
|
|
95
92
|
/**
|
|
96
93
|
* PaymentsApi - factory interface
|
|
@@ -106,7 +103,7 @@ export declare const PaymentsApiFactory: (configuration?: Configuration, basePat
|
|
|
106
103
|
* @param {*} [options] Override http request option.
|
|
107
104
|
* @throws {RequiredError}
|
|
108
105
|
*/
|
|
109
|
-
createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
106
|
+
createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
|
|
110
107
|
/**
|
|
111
108
|
* Retrieves the details of the payment that was previously created. Supply the unique payment code that was returned when you created it and Emil Api will return the corresponding payment information.
|
|
112
109
|
* @summary Retrieve the payment
|
|
@@ -116,7 +113,7 @@ export declare const PaymentsApiFactory: (configuration?: Configuration, basePat
|
|
|
116
113
|
* @param {*} [options] Override http request option.
|
|
117
114
|
* @throws {RequiredError}
|
|
118
115
|
*/
|
|
119
|
-
getPayment(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<
|
|
116
|
+
getPayment(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<void>;
|
|
120
117
|
/**
|
|
121
118
|
* Returns a list of payments you have previously created. The payments are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
122
119
|
* @summary List payments
|
|
@@ -128,7 +125,7 @@ export declare const PaymentsApiFactory: (configuration?: Configuration, basePat
|
|
|
128
125
|
* @param {*} [options] Override http request option.
|
|
129
126
|
* @throws {RequiredError}
|
|
130
127
|
*/
|
|
131
|
-
listPayments(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<
|
|
128
|
+
listPayments(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<void>;
|
|
132
129
|
};
|
|
133
130
|
/**
|
|
134
131
|
* Request parameters for createPayment operation in PaymentsApi.
|
|
@@ -232,7 +229,7 @@ export declare class PaymentsApi extends BaseAPI {
|
|
|
232
229
|
* @throws {RequiredError}
|
|
233
230
|
* @memberof PaymentsApi
|
|
234
231
|
*/
|
|
235
|
-
createPayment(requestParameters: PaymentsApiCreatePaymentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
232
|
+
createPayment(requestParameters: PaymentsApiCreatePaymentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
236
233
|
/**
|
|
237
234
|
* Retrieves the details of the payment that was previously created. Supply the unique payment code that was returned when you created it and Emil Api will return the corresponding payment information.
|
|
238
235
|
* @summary Retrieve the payment
|
|
@@ -241,7 +238,7 @@ export declare class PaymentsApi extends BaseAPI {
|
|
|
241
238
|
* @throws {RequiredError}
|
|
242
239
|
* @memberof PaymentsApi
|
|
243
240
|
*/
|
|
244
|
-
getPayment(requestParameters: PaymentsApiGetPaymentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
241
|
+
getPayment(requestParameters: PaymentsApiGetPaymentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
245
242
|
/**
|
|
246
243
|
* Returns a list of payments you have previously created. The payments are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
247
244
|
* @summary List payments
|
|
@@ -250,5 +247,5 @@ export declare class PaymentsApi extends BaseAPI {
|
|
|
250
247
|
* @throws {RequiredError}
|
|
251
248
|
* @memberof PaymentsApi
|
|
252
249
|
*/
|
|
253
|
-
listPayments(requestParameters?: PaymentsApiListPaymentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
250
|
+
listPayments(requestParameters?: PaymentsApiListPaymentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
254
251
|
}
|
|
@@ -13,9 +13,6 @@ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { CreateRefundRequestDto } from '../models';
|
|
16
|
-
import { CreateRefundResponseClass } from '../models';
|
|
17
|
-
import { GetRefundResponseClass } from '../models';
|
|
18
|
-
import { ListRefundsResponseClass } from '../models';
|
|
19
16
|
/**
|
|
20
17
|
* RefundsApi - axios parameter creator
|
|
21
18
|
* @export
|
|
@@ -67,7 +64,7 @@ export declare const RefundsApiFp: (configuration?: Configuration) => {
|
|
|
67
64
|
* @param {*} [options] Override http request option.
|
|
68
65
|
* @throws {RequiredError}
|
|
69
66
|
*/
|
|
70
|
-
createRefund(createRefundRequestDto: CreateRefundRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
67
|
+
createRefund(createRefundRequestDto: CreateRefundRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
71
68
|
/**
|
|
72
69
|
* Retrieves the details of the refund that was previously created. Supply the unique refund code that was returned when you created it and Emil Api will return the corresponding refund information.
|
|
73
70
|
* @summary Retrieve the refund
|
|
@@ -77,7 +74,7 @@ export declare const RefundsApiFp: (configuration?: Configuration) => {
|
|
|
77
74
|
* @param {*} [options] Override http request option.
|
|
78
75
|
* @throws {RequiredError}
|
|
79
76
|
*/
|
|
80
|
-
getRefund(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
77
|
+
getRefund(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
81
78
|
/**
|
|
82
79
|
* Returns a list of refunds you have previously created. The refunds are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
83
80
|
* @summary List refunds
|
|
@@ -90,7 +87,7 @@ export declare const RefundsApiFp: (configuration?: Configuration) => {
|
|
|
90
87
|
* @param {*} [options] Override http request option.
|
|
91
88
|
* @throws {RequiredError}
|
|
92
89
|
*/
|
|
93
|
-
listRefunds(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
90
|
+
listRefunds(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
94
91
|
};
|
|
95
92
|
/**
|
|
96
93
|
* RefundsApi - factory interface
|
|
@@ -105,7 +102,7 @@ export declare const RefundsApiFactory: (configuration?: Configuration, basePath
|
|
|
105
102
|
* @param {*} [options] Override http request option.
|
|
106
103
|
* @throws {RequiredError}
|
|
107
104
|
*/
|
|
108
|
-
createRefund(createRefundRequestDto: CreateRefundRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
105
|
+
createRefund(createRefundRequestDto: CreateRefundRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
|
|
109
106
|
/**
|
|
110
107
|
* Retrieves the details of the refund that was previously created. Supply the unique refund code that was returned when you created it and Emil Api will return the corresponding refund information.
|
|
111
108
|
* @summary Retrieve the refund
|
|
@@ -115,7 +112,7 @@ export declare const RefundsApiFactory: (configuration?: Configuration, basePath
|
|
|
115
112
|
* @param {*} [options] Override http request option.
|
|
116
113
|
* @throws {RequiredError}
|
|
117
114
|
*/
|
|
118
|
-
getRefund(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<
|
|
115
|
+
getRefund(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<void>;
|
|
119
116
|
/**
|
|
120
117
|
* Returns a list of refunds you have previously created. The refunds are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
121
118
|
* @summary List refunds
|
|
@@ -128,7 +125,7 @@ export declare const RefundsApiFactory: (configuration?: Configuration, basePath
|
|
|
128
125
|
* @param {*} [options] Override http request option.
|
|
129
126
|
* @throws {RequiredError}
|
|
130
127
|
*/
|
|
131
|
-
listRefunds(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<
|
|
128
|
+
listRefunds(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<void>;
|
|
132
129
|
};
|
|
133
130
|
/**
|
|
134
131
|
* Request parameters for createRefund operation in RefundsApi.
|
|
@@ -232,7 +229,7 @@ export declare class RefundsApi extends BaseAPI {
|
|
|
232
229
|
* @throws {RequiredError}
|
|
233
230
|
* @memberof RefundsApi
|
|
234
231
|
*/
|
|
235
|
-
createRefund(requestParameters: RefundsApiCreateRefundRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
232
|
+
createRefund(requestParameters: RefundsApiCreateRefundRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
236
233
|
/**
|
|
237
234
|
* Retrieves the details of the refund that was previously created. Supply the unique refund code that was returned when you created it and Emil Api will return the corresponding refund information.
|
|
238
235
|
* @summary Retrieve the refund
|
|
@@ -241,7 +238,7 @@ export declare class RefundsApi extends BaseAPI {
|
|
|
241
238
|
* @throws {RequiredError}
|
|
242
239
|
* @memberof RefundsApi
|
|
243
240
|
*/
|
|
244
|
-
getRefund(requestParameters: RefundsApiGetRefundRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
241
|
+
getRefund(requestParameters: RefundsApiGetRefundRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
245
242
|
/**
|
|
246
243
|
* Returns a list of refunds you have previously created. The refunds are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
247
244
|
* @summary List refunds
|
|
@@ -250,5 +247,5 @@ export declare class RefundsApi extends BaseAPI {
|
|
|
250
247
|
* @throws {RequiredError}
|
|
251
248
|
* @memberof RefundsApi
|
|
252
249
|
*/
|
|
253
|
-
listRefunds(requestParameters?: RefundsApiListRefundsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
250
|
+
listRefunds(requestParameters?: RefundsApiListRefundsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
254
251
|
}
|
|
@@ -22,10 +22,11 @@ export declare const WebhooksApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
22
22
|
* @summary Handle the webhook from PSP
|
|
23
23
|
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis</i>
|
|
24
24
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
25
|
+
* @param {string} productSlug
|
|
25
26
|
* @param {*} [options] Override http request option.
|
|
26
27
|
* @throws {RequiredError}
|
|
27
28
|
*/
|
|
28
|
-
postWebhook: (pspType: string, tenantSlug: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
29
|
+
postWebhook: (pspType: string, tenantSlug: string, productSlug: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
29
30
|
};
|
|
30
31
|
/**
|
|
31
32
|
* WebhooksApi - functional programming interface
|
|
@@ -37,10 +38,11 @@ export declare const WebhooksApiFp: (configuration?: Configuration) => {
|
|
|
37
38
|
* @summary Handle the webhook from PSP
|
|
38
39
|
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis</i>
|
|
39
40
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
41
|
+
* @param {string} productSlug
|
|
40
42
|
* @param {*} [options] Override http request option.
|
|
41
43
|
* @throws {RequiredError}
|
|
42
44
|
*/
|
|
43
|
-
postWebhook(pspType: string, tenantSlug: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
45
|
+
postWebhook(pspType: string, tenantSlug: string, productSlug: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
44
46
|
};
|
|
45
47
|
/**
|
|
46
48
|
* WebhooksApi - factory interface
|
|
@@ -52,10 +54,11 @@ export declare const WebhooksApiFactory: (configuration?: Configuration, basePat
|
|
|
52
54
|
* @summary Handle the webhook from PSP
|
|
53
55
|
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis</i>
|
|
54
56
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
57
|
+
* @param {string} productSlug
|
|
55
58
|
* @param {*} [options] Override http request option.
|
|
56
59
|
* @throws {RequiredError}
|
|
57
60
|
*/
|
|
58
|
-
postWebhook(pspType: string, tenantSlug: string, options?: any): AxiosPromise<void>;
|
|
61
|
+
postWebhook(pspType: string, tenantSlug: string, productSlug: string, options?: any): AxiosPromise<void>;
|
|
59
62
|
};
|
|
60
63
|
/**
|
|
61
64
|
* Request parameters for postWebhook operation in WebhooksApi.
|
|
@@ -75,6 +78,12 @@ export interface WebhooksApiPostWebhookRequest {
|
|
|
75
78
|
* @memberof WebhooksApiPostWebhook
|
|
76
79
|
*/
|
|
77
80
|
readonly tenantSlug: string;
|
|
81
|
+
/**
|
|
82
|
+
*
|
|
83
|
+
* @type {string}
|
|
84
|
+
* @memberof WebhooksApiPostWebhook
|
|
85
|
+
*/
|
|
86
|
+
readonly productSlug: string;
|
|
78
87
|
}
|
|
79
88
|
/**
|
|
80
89
|
* WebhooksApi - object-oriented interface
|
package/dist/api/webhooks-api.js
CHANGED
|
@@ -101,10 +101,11 @@ var WebhooksApiAxiosParamCreator = function (configuration) {
|
|
|
101
101
|
* @summary Handle the webhook from PSP
|
|
102
102
|
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis</i>
|
|
103
103
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
104
|
+
* @param {string} productSlug
|
|
104
105
|
* @param {*} [options] Override http request option.
|
|
105
106
|
* @throws {RequiredError}
|
|
106
107
|
*/
|
|
107
|
-
postWebhook: function (pspType, tenantSlug, options) {
|
|
108
|
+
postWebhook: function (pspType, tenantSlug, productSlug, options) {
|
|
108
109
|
if (options === void 0) { options = {}; }
|
|
109
110
|
return __awaiter(_this, void 0, void 0, function () {
|
|
110
111
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -113,9 +114,12 @@ var WebhooksApiAxiosParamCreator = function (configuration) {
|
|
|
113
114
|
(0, common_1.assertParamExists)('postWebhook', 'pspType', pspType);
|
|
114
115
|
// verify required parameter 'tenantSlug' is not null or undefined
|
|
115
116
|
(0, common_1.assertParamExists)('postWebhook', 'tenantSlug', tenantSlug);
|
|
116
|
-
|
|
117
|
+
// verify required parameter 'productSlug' is not null or undefined
|
|
118
|
+
(0, common_1.assertParamExists)('postWebhook', 'productSlug', productSlug);
|
|
119
|
+
localVarPath = "/paymentservice/v1/webhooks/{pspType}/{tenantSlug}/{productSlug}"
|
|
117
120
|
.replace("{".concat("pspType", "}"), encodeURIComponent(String(pspType)))
|
|
118
|
-
.replace("{".concat("tenantSlug", "}"), encodeURIComponent(String(tenantSlug)))
|
|
121
|
+
.replace("{".concat("tenantSlug", "}"), encodeURIComponent(String(tenantSlug)))
|
|
122
|
+
.replace("{".concat("productSlug", "}"), encodeURIComponent(String(productSlug)));
|
|
119
123
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
120
124
|
if (configuration) {
|
|
121
125
|
baseOptions = configuration.baseOptions;
|
|
@@ -149,15 +153,16 @@ var WebhooksApiFp = function (configuration) {
|
|
|
149
153
|
* @summary Handle the webhook from PSP
|
|
150
154
|
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis</i>
|
|
151
155
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
156
|
+
* @param {string} productSlug
|
|
152
157
|
* @param {*} [options] Override http request option.
|
|
153
158
|
* @throws {RequiredError}
|
|
154
159
|
*/
|
|
155
|
-
postWebhook: function (pspType, tenantSlug, options) {
|
|
160
|
+
postWebhook: function (pspType, tenantSlug, productSlug, options) {
|
|
156
161
|
return __awaiter(this, void 0, void 0, function () {
|
|
157
162
|
var localVarAxiosArgs;
|
|
158
163
|
return __generator(this, function (_a) {
|
|
159
164
|
switch (_a.label) {
|
|
160
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postWebhook(pspType, tenantSlug, options)];
|
|
165
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postWebhook(pspType, tenantSlug, productSlug, options)];
|
|
161
166
|
case 1:
|
|
162
167
|
localVarAxiosArgs = _a.sent();
|
|
163
168
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -180,11 +185,12 @@ var WebhooksApiFactory = function (configuration, basePath, axios) {
|
|
|
180
185
|
* @summary Handle the webhook from PSP
|
|
181
186
|
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis</i>
|
|
182
187
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
188
|
+
* @param {string} productSlug
|
|
183
189
|
* @param {*} [options] Override http request option.
|
|
184
190
|
* @throws {RequiredError}
|
|
185
191
|
*/
|
|
186
|
-
postWebhook: function (pspType, tenantSlug, options) {
|
|
187
|
-
return localVarFp.postWebhook(pspType, tenantSlug, options).then(function (request) { return request(axios, basePath); });
|
|
192
|
+
postWebhook: function (pspType, tenantSlug, productSlug, options) {
|
|
193
|
+
return localVarFp.postWebhook(pspType, tenantSlug, productSlug, options).then(function (request) { return request(axios, basePath); });
|
|
188
194
|
},
|
|
189
195
|
};
|
|
190
196
|
};
|
|
@@ -210,7 +216,7 @@ var WebhooksApi = /** @class */ (function (_super) {
|
|
|
210
216
|
*/
|
|
211
217
|
WebhooksApi.prototype.postWebhook = function (requestParameters, options) {
|
|
212
218
|
var _this = this;
|
|
213
|
-
return (0, exports.WebhooksApiFp)(this.configuration).postWebhook(requestParameters.pspType, requestParameters.tenantSlug, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
219
|
+
return (0, exports.WebhooksApiFp)(this.configuration).postWebhook(requestParameters.pspType, requestParameters.tenantSlug, requestParameters.productSlug, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
214
220
|
};
|
|
215
221
|
return WebhooksApi;
|
|
216
222
|
}(base_1.BaseAPI));
|
|
@@ -20,13 +20,13 @@ export interface CreateBankAccountRequestDto {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof CreateBankAccountRequestDto
|
|
22
22
|
*/
|
|
23
|
-
'accountCode'
|
|
23
|
+
'accountCode': string;
|
|
24
24
|
/**
|
|
25
25
|
* Partner code associated with bank account.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof CreateBankAccountRequestDto
|
|
28
28
|
*/
|
|
29
|
-
'partnerCode'
|
|
29
|
+
'partnerCode': string;
|
|
30
30
|
/**
|
|
31
31
|
* IBAN number for the bank account
|
|
32
32
|
* @type {string}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,72 +1,22 @@
|
|
|
1
|
-
export * from './bank-account-class';
|
|
2
|
-
export * from './bank-account-class-without-expand-properties';
|
|
3
|
-
export * from './bank-transaction-class';
|
|
4
1
|
export * from './bank-transaction-class-without-expand-properties';
|
|
5
|
-
export * from './billing-profile-dto';
|
|
6
|
-
export * from './billing-profile-limited-response-dto';
|
|
7
|
-
export * from './complete-braintree-payment-setup-request-dto';
|
|
8
|
-
export * from './complete-payment-setup-request-dto';
|
|
9
|
-
export * from './complete-payment-setup-response-class';
|
|
10
|
-
export * from './complete-stripe-payment-setup-request-dto';
|
|
11
2
|
export * from './create-bank-account-request-dto';
|
|
12
|
-
export * from './create-bank-account-response-class';
|
|
13
|
-
export * from './create-payment-method-response-class';
|
|
14
3
|
export * from './create-payment-reminder-request-dto';
|
|
15
|
-
export * from './create-payment-reminder-response-class';
|
|
16
4
|
export * from './create-payment-request-dto';
|
|
17
|
-
export * from './create-payment-response-class';
|
|
18
|
-
export * from './create-psp-payment-method-request-dto';
|
|
19
5
|
export * from './create-refund-request-dto';
|
|
20
|
-
export * from './create-refund-response-class';
|
|
21
6
|
export * from './create-tenant-bank-account-request-dto';
|
|
22
7
|
export * from './create-tenant-bank-account-response-class';
|
|
23
8
|
export * from './deactivate-payment-reminder-request-dto';
|
|
24
|
-
export * from './deactivate-payment-reminder-response-class';
|
|
25
|
-
export * from './deactivated-payment-reminder-class';
|
|
26
|
-
export * from './get-bank-account-response-class';
|
|
27
|
-
export * from './get-bank-transactions-response-class';
|
|
28
|
-
export * from './get-payment-method-response-class';
|
|
29
|
-
export * from './get-payment-reminder-response-class';
|
|
30
|
-
export * from './get-payment-response-class';
|
|
31
|
-
export * from './get-refund-response-class';
|
|
32
9
|
export * from './get-tenant-bank-account-response-class';
|
|
33
|
-
export * from './import-bank-transactions-response-class';
|
|
34
|
-
export * from './initiate-braintree-payment-setup-request-dto';
|
|
35
|
-
export * from './initiate-braintree-payment-setup-response-class';
|
|
36
|
-
export * from './initiate-payment-setup-request-dto';
|
|
37
|
-
export * from './initiate-payment-setup-response-class';
|
|
38
|
-
export * from './initiate-stripe-payment-setup-request-dto';
|
|
39
|
-
export * from './initiate-stripe-payment-setup-response-class';
|
|
40
10
|
export * from './inline-response200';
|
|
41
11
|
export * from './inline-response503';
|
|
42
12
|
export * from './link-bank-transaction-request-dto-rest';
|
|
43
|
-
export * from './link-bank-transactions-response-class';
|
|
44
|
-
export * from './list-bank-accounts-response-class';
|
|
45
|
-
export * from './list-bank-transactions-response-class';
|
|
46
|
-
export * from './list-payment-methods-response-class';
|
|
47
|
-
export * from './list-payment-reminders-response-class';
|
|
48
|
-
export * from './list-payments-response-class';
|
|
49
|
-
export * from './list-refunds-response-class';
|
|
50
13
|
export * from './list-tenant-bank-account-response-class';
|
|
51
|
-
export * from './payment-class';
|
|
52
|
-
export * from './payment-class-without-expand-properties';
|
|
53
|
-
export * from './payment-method-class';
|
|
54
|
-
export * from './payment-reminder-class';
|
|
55
|
-
export * from './primary-bank-account-response-class';
|
|
56
|
-
export * from './refund-class';
|
|
57
|
-
export * from './refund-item-class';
|
|
58
|
-
export * from './sepa-direct-dto';
|
|
59
14
|
export * from './set-primary-bank-account-request-dto-rest';
|
|
60
|
-
export * from './shared-transaction-class';
|
|
61
|
-
export * from './symphony-profile-limited-response-dto';
|
|
62
15
|
export * from './tenant-bank-account-class';
|
|
63
16
|
export * from './tenant-bank-account-class-without-expand-properties';
|
|
64
17
|
export * from './unlink-bank-transaction-request-dto-rest';
|
|
65
|
-
export * from './unlink-bank-transactions-response-class';
|
|
66
|
-
export * from './unlinked-bank-transaction-response-class';
|
|
67
18
|
export * from './update-bank-account-request-dto';
|
|
68
19
|
export * from './update-bank-account-request-dto-rest';
|
|
69
|
-
export * from './update-bank-account-response-class';
|
|
70
20
|
export * from './update-tenant-bank-account-response-class';
|
|
71
21
|
export * from './update-tenant-bank-account-rest-request-dto';
|
|
72
22
|
export * from './validate-pspconfig-request-dto';
|