@emilgroup/payment-sdk 1.22.1-beta.76 → 1.22.1-beta.78
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 -6
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +12 -24
- package/api/bank-orders-api.ts +10 -20
- package/api/bank-transaction-api.ts +20 -154
- package/api/billing-addresses-api.ts +10 -20
- package/api/credit-allocation-api.ts +6 -12
- package/api/exceeding-credits-api.ts +4 -117
- package/api/ibanvalidator-api.ts +2 -4
- package/api/payment-methods-api.ts +6 -12
- package/api/payment-receipts-api.ts +10 -20
- package/api/payment-reminders-api.ts +8 -16
- package/api/payment-requests-api.ts +22 -32
- package/api/payment-setup-api.ts +4 -8
- package/api/payments-api.ts +12 -24
- package/api/payout-methods-api.ts +12 -24
- package/api/policy-payment-methods-api.ts +6 -12
- package/api/refunds-api.ts +6 -12
- package/api/tenant-bank-account-api.ts +10 -20
- package/base.ts +41 -174
- package/common.ts +2 -3
- package/configuration.ts +0 -20
- package/dist/api/bank-accounts-api.d.ts +6 -6
- package/dist/api/bank-accounts-api.js +22 -36
- package/dist/api/bank-orders-api.d.ts +5 -5
- package/dist/api/bank-orders-api.js +18 -29
- package/dist/api/bank-transaction-api.d.ts +14 -80
- package/dist/api/bank-transaction-api.js +28 -144
- package/dist/api/billing-addresses-api.d.ts +5 -5
- package/dist/api/billing-addresses-api.js +19 -32
- package/dist/api/credit-allocation-api.d.ts +3 -3
- package/dist/api/credit-allocation-api.js +11 -18
- package/dist/api/exceeding-credits-api.d.ts +2 -59
- package/dist/api/exceeding-credits-api.js +7 -107
- package/dist/api/health-check-api.d.ts +1 -1
- package/dist/api/ibanvalidator-api.d.ts +1 -1
- package/dist/api/ibanvalidator-api.js +4 -7
- package/dist/api/payment-methods-api.d.ts +3 -3
- package/dist/api/payment-methods-api.js +11 -18
- package/dist/api/payment-receipts-api.d.ts +5 -5
- package/dist/api/payment-receipts-api.js +18 -29
- package/dist/api/payment-reminders-api.d.ts +4 -4
- package/dist/api/payment-reminders-api.js +15 -25
- package/dist/api/payment-requests-api.d.ts +17 -17
- package/dist/api/payment-requests-api.js +27 -38
- package/dist/api/payment-setup-api.d.ts +2 -2
- package/dist/api/payment-setup-api.js +8 -14
- package/dist/api/payments-api.d.ts +4 -4
- package/dist/api/payments-api.js +18 -28
- package/dist/api/payout-methods-api.d.ts +6 -6
- package/dist/api/payout-methods-api.js +22 -36
- package/dist/api/policy-payment-methods-api.d.ts +3 -3
- package/dist/api/policy-payment-methods-api.js +11 -18
- package/dist/api/refunds-api.d.ts +3 -3
- package/dist/api/refunds-api.js +10 -15
- package/dist/api/tenant-bank-account-api.d.ts +5 -5
- package/dist/api/tenant-bank-account-api.js +18 -29
- package/dist/api/webhooks-api.d.ts +2 -2
- package/dist/base.d.ts +0 -24
- package/dist/base.js +59 -178
- package/dist/common.d.ts +1 -1
- package/dist/common.js +0 -1
- package/dist/configuration.d.ts +0 -17
- package/dist/configuration.js +0 -2
- package/dist/models/bank-transaction-class.d.ts +0 -7
- package/dist/models/bank-transaction-entity.d.ts +0 -7
- package/dist/models/bank-transaction-invoice-entity.d.ts +0 -24
- package/dist/models/create-payment-order-dto.d.ts +1 -1
- package/dist/models/create-payment-receipt-request-dto.d.ts +1 -1
- package/dist/models/create-payment-request-dto.d.ts +1 -1
- package/dist/models/create-payment-request-request-dto.d.ts +0 -6
- package/dist/models/credit-allocation-class.d.ts +0 -6
- package/dist/models/credit-allocation-entity.d.ts +0 -6
- package/dist/models/exceeding-credit-entity.d.ts +0 -6
- package/dist/models/index.d.ts +0 -6
- package/dist/models/index.js +0 -6
- package/dist/models/list-billing-addresses-response-class.d.ts +9 -9
- package/dist/models/list-exceeding-credits-response-class.d.ts +18 -6
- package/dist/models/list-payment-receipts-response-class.d.ts +9 -9
- package/dist/models/list-payment-requests-response-class.d.ts +18 -6
- package/dist/models/list-payout-methods-response-class.d.ts +9 -9
- package/dist/models/list-refunds-response-class.d.ts +18 -6
- package/dist/models/payment-class-without-expand-properties.d.ts +2 -2
- package/dist/models/payment-class.d.ts +2 -2
- package/dist/models/payment-entity.d.ts +1 -1
- package/dist/models/payment-receipt-class.d.ts +1 -13
- package/dist/models/payment-request-class.d.ts +6 -13
- package/dist/models/payment-request-class.js +0 -1
- package/dist/models/shared-transaction-class.d.ts +0 -6
- package/dist/models/transaction-entity.d.ts +0 -6
- package/models/bank-transaction-class.ts +0 -7
- package/models/bank-transaction-entity.ts +0 -7
- package/models/bank-transaction-invoice-entity.ts +0 -24
- package/models/create-payment-order-dto.ts +1 -1
- package/models/create-payment-receipt-request-dto.ts +1 -1
- package/models/create-payment-request-dto.ts +1 -1
- package/models/create-payment-request-request-dto.ts +0 -6
- package/models/credit-allocation-class.ts +0 -6
- package/models/credit-allocation-entity.ts +0 -6
- package/models/exceeding-credit-entity.ts +0 -6
- package/models/index.ts +0 -6
- package/models/list-billing-addresses-response-class.ts +9 -9
- package/models/list-exceeding-credits-response-class.ts +18 -6
- package/models/list-payment-receipts-response-class.ts +9 -9
- package/models/list-payment-requests-response-class.ts +18 -6
- package/models/list-payout-methods-response-class.ts +9 -9
- package/models/list-refunds-response-class.ts +18 -6
- package/models/payment-class-without-expand-properties.ts +2 -2
- package/models/payment-class.ts +2 -2
- package/models/payment-entity.ts +1 -1
- package/models/payment-receipt-class.ts +1 -13
- package/models/payment-request-class.ts +6 -13
- package/models/shared-transaction-class.ts +0 -6
- package/models/transaction-entity.ts +0 -6
- package/package.json +2 -2
- package/dist/models/create-exceeding-credit-request-dto.d.ts +0 -48
- package/dist/models/create-exceeding-credit-request-dto.js +0 -15
- package/dist/models/create-exceeding-credit-response-class.d.ts +0 -25
- package/dist/models/create-exceeding-credit-response-class.js +0 -15
- package/dist/models/link-bank-transaction-payment-requests-request-dto-rest.d.ts +0 -30
- package/dist/models/link-bank-transaction-payment-requests-request-dto-rest.js +0 -15
- package/dist/models/link-bank-transaction-payment-requests-response-class.d.ts +0 -25
- package/dist/models/link-bank-transaction-payment-requests-response-class.js +0 -15
- package/dist/models/payment-receipt-entity.d.ts +0 -139
- package/dist/models/payment-receipt-entity.js +0 -20
- package/dist/models/payment-request-entity.d.ts +0 -223
- package/dist/models/payment-request-entity.js +0 -39
- package/models/create-exceeding-credit-request-dto.ts +0 -54
- package/models/create-exceeding-credit-response-class.ts +0 -31
- package/models/link-bank-transaction-payment-requests-request-dto-rest.ts +0 -36
- package/models/link-bank-transaction-payment-requests-response-class.ts +0 -31
- package/models/payment-receipt-entity.ts +0 -148
- package/models/payment-request-entity.ts +0 -233
|
@@ -103,7 +103,7 @@ var PaymentRequestsApiAxiosParamCreator = function (configuration) {
|
|
|
103
103
|
createPaymentRequest: function (createPaymentRequestRequestDto, authorization, options) {
|
|
104
104
|
if (options === void 0) { options = {}; }
|
|
105
105
|
return __awaiter(_this, void 0, void 0, function () {
|
|
106
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
106
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
107
107
|
return __generator(this, function (_a) {
|
|
108
108
|
switch (_a.label) {
|
|
109
109
|
case 0:
|
|
@@ -120,16 +120,13 @@ var PaymentRequestsApiAxiosParamCreator = function (configuration) {
|
|
|
120
120
|
localVarQueryParameter = {};
|
|
121
121
|
// authentication bearer required
|
|
122
122
|
// http bearer authentication required
|
|
123
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
124
|
-
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
125
|
-
];
|
|
123
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
126
124
|
case 1:
|
|
127
125
|
// authentication bearer required
|
|
128
126
|
// http bearer authentication required
|
|
129
127
|
_a.sent();
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
128
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
129
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
133
130
|
}
|
|
134
131
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
135
132
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -155,7 +152,7 @@ var PaymentRequestsApiAxiosParamCreator = function (configuration) {
|
|
|
155
152
|
deletePaymentRequest: function (code, authorization, options) {
|
|
156
153
|
if (options === void 0) { options = {}; }
|
|
157
154
|
return __awaiter(_this, void 0, void 0, function () {
|
|
158
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
155
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
159
156
|
return __generator(this, function (_a) {
|
|
160
157
|
switch (_a.label) {
|
|
161
158
|
case 0:
|
|
@@ -173,16 +170,13 @@ var PaymentRequestsApiAxiosParamCreator = function (configuration) {
|
|
|
173
170
|
localVarQueryParameter = {};
|
|
174
171
|
// authentication bearer required
|
|
175
172
|
// http bearer authentication required
|
|
176
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
177
|
-
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
178
|
-
];
|
|
173
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
179
174
|
case 1:
|
|
180
175
|
// authentication bearer required
|
|
181
176
|
// http bearer authentication required
|
|
182
177
|
_a.sent();
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
178
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
179
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
186
180
|
}
|
|
187
181
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
188
182
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -207,7 +201,7 @@ var PaymentRequestsApiAxiosParamCreator = function (configuration) {
|
|
|
207
201
|
getPaymentRequest: function (code, expand, authorization, options) {
|
|
208
202
|
if (options === void 0) { options = {}; }
|
|
209
203
|
return __awaiter(_this, void 0, void 0, function () {
|
|
210
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
204
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
211
205
|
return __generator(this, function (_a) {
|
|
212
206
|
switch (_a.label) {
|
|
213
207
|
case 0:
|
|
@@ -235,9 +229,8 @@ var PaymentRequestsApiAxiosParamCreator = function (configuration) {
|
|
|
235
229
|
if (expand !== undefined) {
|
|
236
230
|
localVarQueryParameter['expand'] = expand;
|
|
237
231
|
}
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
232
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
233
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
241
234
|
}
|
|
242
235
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
243
236
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -256,18 +249,18 @@ var PaymentRequestsApiAxiosParamCreator = function (configuration) {
|
|
|
256
249
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
257
250
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
258
251
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
259
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt,
|
|
260
|
-
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber,
|
|
252
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, partnerCode, bankOrderCode, bankOrderNumber, creditAllocationType</i>
|
|
253
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber, bankOrderNumber</i>
|
|
261
254
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, paymentRequestNumber, financialEntityNumber, domainEntityNumber, createdAt, status</i>
|
|
262
255
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: paymentReceipts<i>
|
|
263
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt,
|
|
256
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, partnerCode, bankOrderCode, bankOrderNumber, creditAllocationType</i>
|
|
264
257
|
* @param {*} [options] Override http request option.
|
|
265
258
|
* @throws {RequiredError}
|
|
266
259
|
*/
|
|
267
260
|
listPaymentRequests: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
268
261
|
if (options === void 0) { options = {}; }
|
|
269
262
|
return __awaiter(_this, void 0, void 0, function () {
|
|
270
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
263
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
271
264
|
return __generator(this, function (_a) {
|
|
272
265
|
switch (_a.label) {
|
|
273
266
|
case 0:
|
|
@@ -308,9 +301,8 @@ var PaymentRequestsApiAxiosParamCreator = function (configuration) {
|
|
|
308
301
|
if (filters !== undefined) {
|
|
309
302
|
localVarQueryParameter['filters'] = filters;
|
|
310
303
|
}
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
304
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
305
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
314
306
|
}
|
|
315
307
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
316
308
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -335,7 +327,7 @@ var PaymentRequestsApiAxiosParamCreator = function (configuration) {
|
|
|
335
327
|
updatePaymentRequest: function (code, updatePaymentRequestRequestDto, authorization, options) {
|
|
336
328
|
if (options === void 0) { options = {}; }
|
|
337
329
|
return __awaiter(_this, void 0, void 0, function () {
|
|
338
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
330
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
339
331
|
return __generator(this, function (_a) {
|
|
340
332
|
switch (_a.label) {
|
|
341
333
|
case 0:
|
|
@@ -355,16 +347,13 @@ var PaymentRequestsApiAxiosParamCreator = function (configuration) {
|
|
|
355
347
|
localVarQueryParameter = {};
|
|
356
348
|
// authentication bearer required
|
|
357
349
|
// http bearer authentication required
|
|
358
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
359
|
-
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
360
|
-
];
|
|
350
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
361
351
|
case 1:
|
|
362
352
|
// authentication bearer required
|
|
363
353
|
// http bearer authentication required
|
|
364
354
|
_a.sent();
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
355
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
356
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
368
357
|
}
|
|
369
358
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
370
359
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -459,11 +448,11 @@ var PaymentRequestsApiFp = function (configuration) {
|
|
|
459
448
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
460
449
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
461
450
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
462
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt,
|
|
463
|
-
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber,
|
|
451
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, partnerCode, bankOrderCode, bankOrderNumber, creditAllocationType</i>
|
|
452
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber, bankOrderNumber</i>
|
|
464
453
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, paymentRequestNumber, financialEntityNumber, domainEntityNumber, createdAt, status</i>
|
|
465
454
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: paymentReceipts<i>
|
|
466
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt,
|
|
455
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, partnerCode, bankOrderCode, bankOrderNumber, creditAllocationType</i>
|
|
467
456
|
* @param {*} [options] Override http request option.
|
|
468
457
|
* @throws {RequiredError}
|
|
469
458
|
*/
|
|
@@ -552,11 +541,11 @@ var PaymentRequestsApiFactory = function (configuration, basePath, axios) {
|
|
|
552
541
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
553
542
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
554
543
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
555
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt,
|
|
556
|
-
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber,
|
|
544
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, partnerCode, bankOrderCode, bankOrderNumber, creditAllocationType</i>
|
|
545
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber, bankOrderNumber</i>
|
|
557
546
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, paymentRequestNumber, financialEntityNumber, domainEntityNumber, createdAt, status</i>
|
|
558
547
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: paymentReceipts<i>
|
|
559
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt,
|
|
548
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, partnerCode, bankOrderCode, bankOrderNumber, creditAllocationType</i>
|
|
560
549
|
* @param {*} [options] Override http request option.
|
|
561
550
|
* @throws {RequiredError}
|
|
562
551
|
*/
|
|
@@ -141,7 +141,7 @@ export declare class PaymentSetupApi extends BaseAPI {
|
|
|
141
141
|
* @throws {RequiredError}
|
|
142
142
|
* @memberof PaymentSetupApi
|
|
143
143
|
*/
|
|
144
|
-
completePaymentSetup(requestParameters: PaymentSetupApiCompletePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CompletePaymentSetupResponseClass, any, {}
|
|
144
|
+
completePaymentSetup(requestParameters: PaymentSetupApiCompletePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CompletePaymentSetupResponseClass, any, {}>>;
|
|
145
145
|
/**
|
|
146
146
|
* This initiates an account within the configured payment service provider, whichgenerates a secret token, allowing the user to add their payment information. **Required Permissions** \"payment-management.payments.create\"
|
|
147
147
|
* @summary Initiate a payment setup
|
|
@@ -150,5 +150,5 @@ export declare class PaymentSetupApi extends BaseAPI {
|
|
|
150
150
|
* @throws {RequiredError}
|
|
151
151
|
* @memberof PaymentSetupApi
|
|
152
152
|
*/
|
|
153
|
-
initiatePaymentSetup(requestParameters: PaymentSetupApiInitiatePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InitiatePaymentSetupResponseClass, any, {}
|
|
153
|
+
initiatePaymentSetup(requestParameters: PaymentSetupApiInitiatePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InitiatePaymentSetupResponseClass, any, {}>>;
|
|
154
154
|
}
|
|
@@ -103,7 +103,7 @@ var PaymentSetupApiAxiosParamCreator = function (configuration) {
|
|
|
103
103
|
completePaymentSetup: function (completePaymentSetupRequestDto, authorization, options) {
|
|
104
104
|
if (options === void 0) { options = {}; }
|
|
105
105
|
return __awaiter(_this, void 0, void 0, function () {
|
|
106
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
106
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
107
107
|
return __generator(this, function (_a) {
|
|
108
108
|
switch (_a.label) {
|
|
109
109
|
case 0:
|
|
@@ -120,16 +120,13 @@ var PaymentSetupApiAxiosParamCreator = function (configuration) {
|
|
|
120
120
|
localVarQueryParameter = {};
|
|
121
121
|
// authentication bearer required
|
|
122
122
|
// http bearer authentication required
|
|
123
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
124
|
-
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
125
|
-
];
|
|
123
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
126
124
|
case 1:
|
|
127
125
|
// authentication bearer required
|
|
128
126
|
// http bearer authentication required
|
|
129
127
|
_a.sent();
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
128
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
129
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
133
130
|
}
|
|
134
131
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
135
132
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -155,7 +152,7 @@ var PaymentSetupApiAxiosParamCreator = function (configuration) {
|
|
|
155
152
|
initiatePaymentSetup: function (initiatePaymentSetupRequestDto, authorization, options) {
|
|
156
153
|
if (options === void 0) { options = {}; }
|
|
157
154
|
return __awaiter(_this, void 0, void 0, function () {
|
|
158
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
155
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
159
156
|
return __generator(this, function (_a) {
|
|
160
157
|
switch (_a.label) {
|
|
161
158
|
case 0:
|
|
@@ -172,16 +169,13 @@ var PaymentSetupApiAxiosParamCreator = function (configuration) {
|
|
|
172
169
|
localVarQueryParameter = {};
|
|
173
170
|
// authentication bearer required
|
|
174
171
|
// http bearer authentication required
|
|
175
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
176
|
-
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
177
|
-
];
|
|
172
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
178
173
|
case 1:
|
|
179
174
|
// authentication bearer required
|
|
180
175
|
// http bearer authentication required
|
|
181
176
|
_a.sent();
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
177
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
178
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
185
179
|
}
|
|
186
180
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
187
181
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -315,7 +315,7 @@ export declare class PaymentsApi extends BaseAPI {
|
|
|
315
315
|
* @throws {RequiredError}
|
|
316
316
|
* @memberof PaymentsApi
|
|
317
317
|
*/
|
|
318
|
-
createPayment(requestParameters: PaymentsApiCreatePaymentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentResponseClass, any, {}
|
|
318
|
+
createPayment(requestParameters: PaymentsApiCreatePaymentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentResponseClass, any, {}>>;
|
|
319
319
|
/**
|
|
320
320
|
* This will create a payment order for a specified invoice. **Required Permissions** \"payment-management.payments.create\"
|
|
321
321
|
* @summary Create the payment
|
|
@@ -324,7 +324,7 @@ export declare class PaymentsApi extends BaseAPI {
|
|
|
324
324
|
* @throws {RequiredError}
|
|
325
325
|
* @memberof PaymentsApi
|
|
326
326
|
*/
|
|
327
|
-
createPaymentOrder(requestParameters: PaymentsApiCreatePaymentOrderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentResponseClass, any, {}
|
|
327
|
+
createPaymentOrder(requestParameters: PaymentsApiCreatePaymentOrderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentResponseClass, any, {}>>;
|
|
328
328
|
/**
|
|
329
329
|
* 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. **Required Permissions** \"payment-management.payments.view\"
|
|
330
330
|
* @summary Retrieve the payment
|
|
@@ -333,7 +333,7 @@ export declare class PaymentsApi extends BaseAPI {
|
|
|
333
333
|
* @throws {RequiredError}
|
|
334
334
|
* @memberof PaymentsApi
|
|
335
335
|
*/
|
|
336
|
-
getPayment(requestParameters: PaymentsApiGetPaymentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentResponseClass, any, {}
|
|
336
|
+
getPayment(requestParameters: PaymentsApiGetPaymentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentResponseClass, any, {}>>;
|
|
337
337
|
/**
|
|
338
338
|
* 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. **Required Permissions** \"payment-management.payments.view\"
|
|
339
339
|
* @summary List payments
|
|
@@ -342,5 +342,5 @@ export declare class PaymentsApi extends BaseAPI {
|
|
|
342
342
|
* @throws {RequiredError}
|
|
343
343
|
* @memberof PaymentsApi
|
|
344
344
|
*/
|
|
345
|
-
listPayments(requestParameters?: PaymentsApiListPaymentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentsResponseClass, any, {}
|
|
345
|
+
listPayments(requestParameters?: PaymentsApiListPaymentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentsResponseClass, any, {}>>;
|
|
346
346
|
}
|
package/dist/api/payments-api.js
CHANGED
|
@@ -104,7 +104,7 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
|
|
|
104
104
|
createPayment: function (idempotencyKey, createPaymentRequestDto, authorization, options) {
|
|
105
105
|
if (options === void 0) { options = {}; }
|
|
106
106
|
return __awaiter(_this, void 0, void 0, function () {
|
|
107
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
107
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
108
108
|
return __generator(this, function (_a) {
|
|
109
109
|
switch (_a.label) {
|
|
110
110
|
case 0:
|
|
@@ -123,20 +123,16 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
|
|
|
123
123
|
localVarQueryParameter = {};
|
|
124
124
|
// authentication bearer required
|
|
125
125
|
// http bearer authentication required
|
|
126
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
127
|
-
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
128
|
-
];
|
|
126
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
129
127
|
case 1:
|
|
130
128
|
// authentication bearer required
|
|
131
129
|
// http bearer authentication required
|
|
132
130
|
_a.sent();
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
131
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
132
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
136
133
|
}
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKeyValue);
|
|
134
|
+
if (idempotencyKey !== undefined && idempotencyKey !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
135
|
+
localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey ? idempotencyKey : baseAccessToken);
|
|
140
136
|
}
|
|
141
137
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
142
138
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -163,7 +159,7 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
|
|
|
163
159
|
createPaymentOrder: function (idempotencyKey, createPaymentOrderDto, authorization, options) {
|
|
164
160
|
if (options === void 0) { options = {}; }
|
|
165
161
|
return __awaiter(_this, void 0, void 0, function () {
|
|
166
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
162
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
167
163
|
return __generator(this, function (_a) {
|
|
168
164
|
switch (_a.label) {
|
|
169
165
|
case 0:
|
|
@@ -182,20 +178,16 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
|
|
|
182
178
|
localVarQueryParameter = {};
|
|
183
179
|
// authentication bearer required
|
|
184
180
|
// http bearer authentication required
|
|
185
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
186
|
-
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
187
|
-
];
|
|
181
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
188
182
|
case 1:
|
|
189
183
|
// authentication bearer required
|
|
190
184
|
// http bearer authentication required
|
|
191
185
|
_a.sent();
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
186
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
187
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
195
188
|
}
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKeyValue);
|
|
189
|
+
if (idempotencyKey !== undefined && idempotencyKey !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
190
|
+
localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey ? idempotencyKey : baseAccessToken);
|
|
199
191
|
}
|
|
200
192
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
201
193
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -222,7 +214,7 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
|
|
|
222
214
|
getPayment: function (code, authorization, expand, options) {
|
|
223
215
|
if (options === void 0) { options = {}; }
|
|
224
216
|
return __awaiter(_this, void 0, void 0, function () {
|
|
225
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
217
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
226
218
|
return __generator(this, function (_a) {
|
|
227
219
|
switch (_a.label) {
|
|
228
220
|
case 0:
|
|
@@ -248,9 +240,8 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
|
|
|
248
240
|
if (expand !== undefined) {
|
|
249
241
|
localVarQueryParameter['expand'] = expand;
|
|
250
242
|
}
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
243
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
244
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
254
245
|
}
|
|
255
246
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
256
247
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -280,7 +271,7 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
|
|
|
280
271
|
listPayments: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
281
272
|
if (options === void 0) { options = {}; }
|
|
282
273
|
return __awaiter(_this, void 0, void 0, function () {
|
|
283
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
274
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
284
275
|
return __generator(this, function (_a) {
|
|
285
276
|
switch (_a.label) {
|
|
286
277
|
case 0:
|
|
@@ -321,9 +312,8 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
|
|
|
321
312
|
if (filters !== undefined) {
|
|
322
313
|
localVarQueryParameter['filters'] = filters;
|
|
323
314
|
}
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
315
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
316
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
327
317
|
}
|
|
328
318
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
329
319
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -398,7 +398,7 @@ export declare class PayoutMethodsApi extends BaseAPI {
|
|
|
398
398
|
* @throws {RequiredError}
|
|
399
399
|
* @memberof PayoutMethodsApi
|
|
400
400
|
*/
|
|
401
|
-
activatePayoutMethod(requestParameters: PayoutMethodsApiActivatePayoutMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}
|
|
401
|
+
activatePayoutMethod(requestParameters: PayoutMethodsApiActivatePayoutMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
402
402
|
/**
|
|
403
403
|
* Creates a new payout method **Required Permissions** \"payment-management.payments.create\"
|
|
404
404
|
* @summary Create the Payout Method
|
|
@@ -407,7 +407,7 @@ export declare class PayoutMethodsApi extends BaseAPI {
|
|
|
407
407
|
* @throws {RequiredError}
|
|
408
408
|
* @memberof PayoutMethodsApi
|
|
409
409
|
*/
|
|
410
|
-
createPayoutMethod(requestParameters: PayoutMethodsApiCreatePayoutMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePayoutMethodResponseClass, any, {}
|
|
410
|
+
createPayoutMethod(requestParameters: PayoutMethodsApiCreatePayoutMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePayoutMethodResponseClass, any, {}>>;
|
|
411
411
|
/**
|
|
412
412
|
* Creates a new payout method fromm existing bank account **Required Permissions** \"payment-management.payments.create\"
|
|
413
413
|
* @summary Create the Payout Method
|
|
@@ -416,7 +416,7 @@ export declare class PayoutMethodsApi extends BaseAPI {
|
|
|
416
416
|
* @throws {RequiredError}
|
|
417
417
|
* @memberof PayoutMethodsApi
|
|
418
418
|
*/
|
|
419
|
-
createPayoutMethodByBankAccount(requestParameters: PayoutMethodsApiCreatePayoutMethodByBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePayoutMethodResponseClass, any, {}
|
|
419
|
+
createPayoutMethodByBankAccount(requestParameters: PayoutMethodsApiCreatePayoutMethodByBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePayoutMethodResponseClass, any, {}>>;
|
|
420
420
|
/**
|
|
421
421
|
* Deletes a payout method by its code **Required Permissions** \"payment-management.payments.delete\"
|
|
422
422
|
* @summary Delete the Payout Method
|
|
@@ -425,7 +425,7 @@ export declare class PayoutMethodsApi extends BaseAPI {
|
|
|
425
425
|
* @throws {RequiredError}
|
|
426
426
|
* @memberof PayoutMethodsApi
|
|
427
427
|
*/
|
|
428
|
-
deletePayoutMethod(requestParameters: PayoutMethodsApiDeletePayoutMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}
|
|
428
|
+
deletePayoutMethod(requestParameters: PayoutMethodsApiDeletePayoutMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
429
429
|
/**
|
|
430
430
|
* Retrieves the details of the Payout Method that was previously created. Supply the unique Payout Method code that was returned when you created it and Emil Api will return the corresponding Payout Method information. **Required Permissions** \"payment-management.payments.view\"
|
|
431
431
|
* @summary Retrieve the Payout Method
|
|
@@ -434,7 +434,7 @@ export declare class PayoutMethodsApi extends BaseAPI {
|
|
|
434
434
|
* @throws {RequiredError}
|
|
435
435
|
* @memberof PayoutMethodsApi
|
|
436
436
|
*/
|
|
437
|
-
getPayoutMethod(requestParameters: PayoutMethodsApiGetPayoutMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPayoutMethodResponseClass, any, {}
|
|
437
|
+
getPayoutMethod(requestParameters: PayoutMethodsApiGetPayoutMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPayoutMethodResponseClass, any, {}>>;
|
|
438
438
|
/**
|
|
439
439
|
* Returns a list of Payout Methods you have previously created. The Payout Methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
440
440
|
* @summary List Payout Methods
|
|
@@ -443,5 +443,5 @@ export declare class PayoutMethodsApi extends BaseAPI {
|
|
|
443
443
|
* @throws {RequiredError}
|
|
444
444
|
* @memberof PayoutMethodsApi
|
|
445
445
|
*/
|
|
446
|
-
listPayoutMethods(requestParameters?: PayoutMethodsApiListPayoutMethodsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPayoutMethodsResponseClass, any, {}
|
|
446
|
+
listPayoutMethods(requestParameters?: PayoutMethodsApiListPayoutMethodsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPayoutMethodsResponseClass, any, {}>>;
|
|
447
447
|
}
|