@emilgroup/payment-sdk 1.22.1-beta.72 → 1.22.1-beta.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +12 -24
- package/api/bank-orders-api.ts +10 -20
- package/api/bank-transaction-api.ts +12 -24
- package/api/billing-addresses-api.ts +10 -20
- package/api/credit-allocation-api.ts +6 -12
- package/api/exceeding-credits-api.ts +6 -12
- 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 +10 -20
- 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 +6 -6
- package/dist/api/bank-transaction-api.js +22 -36
- 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 +3 -3
- package/dist/api/exceeding-credits-api.js +11 -18
- 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 +5 -5
- package/dist/api/payment-requests-api.js +18 -29
- 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/package.json +2 -2
|
@@ -103,7 +103,7 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
|
|
|
103
103
|
createPaymentReminder: function (createPaymentReminderRequestDto, 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 PaymentRemindersApiAxiosParamCreator = 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);
|
|
@@ -156,7 +153,7 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
|
|
|
156
153
|
deactivatePaymentReminder: function (code, deactivatePaymentReminderRequestDto, authorization, options) {
|
|
157
154
|
if (options === void 0) { options = {}; }
|
|
158
155
|
return __awaiter(_this, void 0, void 0, function () {
|
|
159
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
156
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
160
157
|
return __generator(this, function (_a) {
|
|
161
158
|
switch (_a.label) {
|
|
162
159
|
case 0:
|
|
@@ -176,16 +173,13 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
|
|
|
176
173
|
localVarQueryParameter = {};
|
|
177
174
|
// authentication bearer required
|
|
178
175
|
// http bearer authentication required
|
|
179
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
180
|
-
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
181
|
-
];
|
|
176
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
182
177
|
case 1:
|
|
183
178
|
// authentication bearer required
|
|
184
179
|
// http bearer authentication required
|
|
185
180
|
_a.sent();
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
181
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
182
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
189
183
|
}
|
|
190
184
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
191
185
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -211,7 +205,7 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
|
|
|
211
205
|
getPaymentReminder: function (code, authorization, options) {
|
|
212
206
|
if (options === void 0) { options = {}; }
|
|
213
207
|
return __awaiter(_this, void 0, void 0, function () {
|
|
214
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
208
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
215
209
|
return __generator(this, function (_a) {
|
|
216
210
|
switch (_a.label) {
|
|
217
211
|
case 0:
|
|
@@ -229,16 +223,13 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
|
|
|
229
223
|
localVarQueryParameter = {};
|
|
230
224
|
// authentication bearer required
|
|
231
225
|
// http bearer authentication required
|
|
232
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
233
|
-
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
234
|
-
];
|
|
226
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
235
227
|
case 1:
|
|
236
228
|
// authentication bearer required
|
|
237
229
|
// http bearer authentication required
|
|
238
230
|
_a.sent();
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
231
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
232
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
242
233
|
}
|
|
243
234
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
244
235
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -268,7 +259,7 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
|
|
|
268
259
|
listPaymentReminders: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
269
260
|
if (options === void 0) { options = {}; }
|
|
270
261
|
return __awaiter(_this, void 0, void 0, function () {
|
|
271
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
262
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
272
263
|
return __generator(this, function (_a) {
|
|
273
264
|
switch (_a.label) {
|
|
274
265
|
case 0:
|
|
@@ -309,9 +300,8 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
|
|
|
309
300
|
if (filters !== undefined) {
|
|
310
301
|
localVarQueryParameter['filters'] = filters;
|
|
311
302
|
}
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
303
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
304
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
315
305
|
}
|
|
316
306
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
317
307
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -353,7 +353,7 @@ export declare class PaymentRequestsApi extends BaseAPI {
|
|
|
353
353
|
* @throws {RequiredError}
|
|
354
354
|
* @memberof PaymentRequestsApi
|
|
355
355
|
*/
|
|
356
|
-
createPaymentRequest(requestParameters: PaymentRequestsApiCreatePaymentRequestRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentRequestResponseClass, any, {}
|
|
356
|
+
createPaymentRequest(requestParameters: PaymentRequestsApiCreatePaymentRequestRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentRequestResponseClass, any, {}>>;
|
|
357
357
|
/**
|
|
358
358
|
* This will delete payment request. **Required Permissions** \"payment-management.payments.delete\"
|
|
359
359
|
* @summary Delete the payment request
|
|
@@ -362,7 +362,7 @@ export declare class PaymentRequestsApi extends BaseAPI {
|
|
|
362
362
|
* @throws {RequiredError}
|
|
363
363
|
* @memberof PaymentRequestsApi
|
|
364
364
|
*/
|
|
365
|
-
deletePaymentRequest(requestParameters: PaymentRequestsApiDeletePaymentRequestRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}
|
|
365
|
+
deletePaymentRequest(requestParameters: PaymentRequestsApiDeletePaymentRequestRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
366
366
|
/**
|
|
367
367
|
* This will get payment request. **Required Permissions** \"payment-management.payments.view\"
|
|
368
368
|
* @summary Retrieve the payment request
|
|
@@ -371,7 +371,7 @@ export declare class PaymentRequestsApi extends BaseAPI {
|
|
|
371
371
|
* @throws {RequiredError}
|
|
372
372
|
* @memberof PaymentRequestsApi
|
|
373
373
|
*/
|
|
374
|
-
getPaymentRequest(requestParameters: PaymentRequestsApiGetPaymentRequestRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentRequestResponseClass, any, {}
|
|
374
|
+
getPaymentRequest(requestParameters: PaymentRequestsApiGetPaymentRequestRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentRequestResponseClass, any, {}>>;
|
|
375
375
|
/**
|
|
376
376
|
* Retrieves a list of paymentrequests. **Required Permissions** \"payment-management.payments.view\"
|
|
377
377
|
* @summary List payment requests
|
|
@@ -380,7 +380,7 @@ export declare class PaymentRequestsApi extends BaseAPI {
|
|
|
380
380
|
* @throws {RequiredError}
|
|
381
381
|
* @memberof PaymentRequestsApi
|
|
382
382
|
*/
|
|
383
|
-
listPaymentRequests(requestParameters?: PaymentRequestsApiListPaymentRequestsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentRequestsResponseClass, any, {}
|
|
383
|
+
listPaymentRequests(requestParameters?: PaymentRequestsApiListPaymentRequestsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentRequestsResponseClass, any, {}>>;
|
|
384
384
|
/**
|
|
385
385
|
* This will update payment request. **Required Permissions** \"payment-management.payments.update\"
|
|
386
386
|
* @summary Update the payment request
|
|
@@ -389,5 +389,5 @@ export declare class PaymentRequestsApi extends BaseAPI {
|
|
|
389
389
|
* @throws {RequiredError}
|
|
390
390
|
* @memberof PaymentRequestsApi
|
|
391
391
|
*/
|
|
392
|
-
updatePaymentRequest(requestParameters: PaymentRequestsApiUpdatePaymentRequestRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdatePaymentRequestResponseClass, any, {}
|
|
392
|
+
updatePaymentRequest(requestParameters: PaymentRequestsApiUpdatePaymentRequestRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdatePaymentRequestResponseClass, any, {}>>;
|
|
393
393
|
}
|
|
@@ -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 : {};
|
|
@@ -267,7 +260,7 @@ var PaymentRequestsApiAxiosParamCreator = function (configuration) {
|
|
|
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);
|
|
@@ -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
|
}
|