@emilgroup/payment-sdk-node 1.8.2 → 1.12.1
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 +17 -2
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +4 -4
- package/api/bank-transaction-api.ts +569 -0
- package/api/payment-methods-api.ts +4 -4
- package/api/payment-reminders-api.ts +12 -10
- package/api/payments-api.ts +4 -4
- package/api/refunds-api.ts +464 -0
- package/api/tenant-bank-account-api.ts +655 -0
- package/api.ts +6 -2
- package/dist/api/bank-accounts-api.d.ts +4 -4
- package/dist/api/bank-accounts-api.js +3 -3
- package/dist/api/bank-transaction-api.d.ts +318 -0
- package/dist/api/bank-transaction-api.js +543 -0
- package/dist/api/payment-methods-api.d.ts +4 -4
- package/dist/api/payment-methods-api.js +3 -3
- package/dist/api/payment-reminders-api.d.ts +12 -11
- package/dist/api/payment-reminders-api.js +7 -7
- package/dist/api/payments-api.d.ts +4 -4
- package/dist/api/payments-api.js +3 -3
- package/dist/api/refunds-api.d.ts +260 -0
- package/dist/api/refunds-api.js +445 -0
- package/dist/api/tenant-bank-account-api.d.ts +361 -0
- package/dist/api/tenant-bank-account-api.js +620 -0
- package/dist/api.d.ts +3 -1
- package/dist/api.js +3 -1
- package/dist/models/bank-transaction-response-class.d.ts +122 -0
- package/dist/models/create-payment-reminder-request-dto.d.ts +2 -0
- package/dist/models/create-payment-reminder-request-dto.js +3 -1
- package/dist/models/create-payment-request-dto.d.ts +3 -3
- package/dist/models/create-refund-request-dto.d.ts +24 -0
- package/dist/models/create-refund-request-dto.js +15 -0
- package/dist/models/create-refund-response-class.d.ts +25 -0
- package/dist/models/create-refund-response-class.js +15 -0
- package/dist/models/create-tenant-bank-account-request-dto.d.ts +42 -0
- package/dist/models/create-tenant-bank-account-request-dto.js +15 -0
- package/dist/models/deactivate-payment-reminder-response-class.d.ts +25 -0
- package/dist/models/deactivate-payment-reminder-response-class.js +15 -0
- package/dist/models/get-bank-transactions-response-class.d.ts +25 -0
- package/dist/models/get-bank-transactions-response-class.js +15 -0
- package/dist/models/{validate-pspconfig-response-class.d.ts → get-refund-response-class.d.ts} +7 -6
- package/dist/models/get-refund-response-class.js +15 -0
- package/dist/models/get-tenant-bank-account-response-class.d.ts +25 -0
- package/dist/models/get-tenant-bank-account-response-class.js +15 -0
- package/dist/models/index.d.ts +14 -1
- package/dist/models/index.js +14 -1
- package/dist/models/inline-response200.d.ts +6 -6
- package/dist/models/inline-response503.d.ts +6 -6
- package/dist/models/link-bank-transaction-request-dto.d.ts +30 -0
- package/dist/models/link-bank-transaction-request-dto.js +15 -0
- package/dist/models/list-bank-transactions-response-class.d.ts +31 -0
- package/dist/models/list-bank-transactions-response-class.js +15 -0
- package/dist/models/list-refunds-response-class.d.ts +31 -0
- package/dist/models/list-refunds-response-class.js +15 -0
- package/dist/models/payment-class.d.ts +1 -1
- package/dist/models/payment-method-class.d.ts +8 -2
- package/dist/models/payment-reminder-class.d.ts +4 -0
- package/dist/models/payment-reminder-class.js +6 -2
- package/dist/models/refund-class.d.ts +104 -0
- package/dist/models/refund-class.js +28 -0
- package/dist/models/tenant-bank-account-response-class.d.ts +66 -0
- package/dist/models/tenant-bank-account-response-class.js +15 -0
- package/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +36 -0
- package/dist/models/update-tenant-bank-account-rest-request-dto.js +15 -0
- package/models/bank-transaction-response-class.ts +128 -0
- package/models/create-payment-reminder-request-dto.ts +3 -1
- package/models/create-payment-request-dto.ts +3 -3
- package/models/create-refund-request-dto.ts +30 -0
- package/models/create-refund-response-class.ts +31 -0
- package/models/create-tenant-bank-account-request-dto.ts +48 -0
- package/models/deactivate-payment-reminder-response-class.ts +31 -0
- package/models/get-bank-transactions-response-class.ts +31 -0
- package/models/{validate-pspconfig-response-class.ts → get-refund-response-class.ts} +7 -6
- package/models/get-tenant-bank-account-response-class.ts +31 -0
- package/models/index.ts +14 -1
- package/models/inline-response200.ts +6 -6
- package/models/inline-response503.ts +6 -6
- package/models/link-bank-transaction-request-dto.ts +36 -0
- package/models/list-bank-transactions-response-class.ts +37 -0
- package/models/list-refunds-response-class.ts +37 -0
- package/models/payment-class.ts +1 -1
- package/models/payment-method-class.ts +8 -2
- package/models/payment-reminder-class.ts +6 -2
- package/models/refund-class.ts +114 -0
- package/models/tenant-bank-account-response-class.ts +72 -0
- package/models/update-tenant-bank-account-rest-request-dto.ts +42 -0
- package/package.json +1 -1
- package/api/payment-service-providers-api.ts +0 -165
- package/dist/api/payment-service-providers-api.d.ts +0 -93
- package/dist/api/payment-service-providers-api.js +0 -224
- /package/dist/models/{validate-pspconfig-response-class.js → bank-transaction-response-class.js} +0 -0
|
@@ -25,6 +25,8 @@ import { CreatePaymentReminderRequestDto } from '../models';
|
|
|
25
25
|
// @ts-ignore
|
|
26
26
|
import { DeactivatePaymentReminderRequestDto } from '../models';
|
|
27
27
|
// @ts-ignore
|
|
28
|
+
import { DeactivatePaymentReminderResponseClass } from '../models';
|
|
29
|
+
// @ts-ignore
|
|
28
30
|
import { ListPaymentRemindersResponseClass } from '../models';
|
|
29
31
|
// URLSearchParams not necessarily used
|
|
30
32
|
// @ts-ignore
|
|
@@ -84,7 +86,7 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
|
|
|
84
86
|
};
|
|
85
87
|
},
|
|
86
88
|
/**
|
|
87
|
-
*
|
|
89
|
+
* Deactivates the payment reminder
|
|
88
90
|
* @summary Update the payment-reminder
|
|
89
91
|
* @param {string} code Unique identifier for the object.
|
|
90
92
|
* @param {DeactivatePaymentReminderRequestDto} deactivatePaymentReminderRequestDto
|
|
@@ -183,7 +185,7 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
|
|
|
183
185
|
* Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
184
186
|
* @summary List payment reminders
|
|
185
187
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
186
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
188
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
187
189
|
* @param {any} [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.
|
|
188
190
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
189
191
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
@@ -273,7 +275,7 @@ export const PaymentRemindersApiFp = function(configuration?: Configuration) {
|
|
|
273
275
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
274
276
|
},
|
|
275
277
|
/**
|
|
276
|
-
*
|
|
278
|
+
* Deactivates the payment reminder
|
|
277
279
|
* @summary Update the payment-reminder
|
|
278
280
|
* @param {string} code Unique identifier for the object.
|
|
279
281
|
* @param {DeactivatePaymentReminderRequestDto} deactivatePaymentReminderRequestDto
|
|
@@ -281,7 +283,7 @@ export const PaymentRemindersApiFp = function(configuration?: Configuration) {
|
|
|
281
283
|
* @param {*} [options] Override http request option.
|
|
282
284
|
* @throws {RequiredError}
|
|
283
285
|
*/
|
|
284
|
-
async deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
286
|
+
async deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeactivatePaymentReminderResponseClass>> {
|
|
285
287
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deactivatePaymentReminder(code, deactivatePaymentReminderRequestDto, authorization, options);
|
|
286
288
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
287
289
|
},
|
|
@@ -301,7 +303,7 @@ export const PaymentRemindersApiFp = function(configuration?: Configuration) {
|
|
|
301
303
|
* Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
302
304
|
* @summary List payment reminders
|
|
303
305
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
304
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
306
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
305
307
|
* @param {any} [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.
|
|
306
308
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
307
309
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
@@ -336,7 +338,7 @@ export const PaymentRemindersApiFactory = function (configuration?: Configuratio
|
|
|
336
338
|
return localVarFp.createPaymentReminder(createPaymentReminderRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
337
339
|
},
|
|
338
340
|
/**
|
|
339
|
-
*
|
|
341
|
+
* Deactivates the payment reminder
|
|
340
342
|
* @summary Update the payment-reminder
|
|
341
343
|
* @param {string} code Unique identifier for the object.
|
|
342
344
|
* @param {DeactivatePaymentReminderRequestDto} deactivatePaymentReminderRequestDto
|
|
@@ -344,7 +346,7 @@ export const PaymentRemindersApiFactory = function (configuration?: Configuratio
|
|
|
344
346
|
* @param {*} [options] Override http request option.
|
|
345
347
|
* @throws {RequiredError}
|
|
346
348
|
*/
|
|
347
|
-
deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
349
|
+
deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<DeactivatePaymentReminderResponseClass> {
|
|
348
350
|
return localVarFp.deactivatePaymentReminder(code, deactivatePaymentReminderRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
349
351
|
},
|
|
350
352
|
/**
|
|
@@ -362,7 +364,7 @@ export const PaymentRemindersApiFactory = function (configuration?: Configuratio
|
|
|
362
364
|
* Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
363
365
|
* @summary List payment reminders
|
|
364
366
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
365
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
367
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
366
368
|
* @param {any} [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.
|
|
367
369
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
368
370
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
@@ -461,7 +463,7 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
|
|
|
461
463
|
readonly authorization?: string
|
|
462
464
|
|
|
463
465
|
/**
|
|
464
|
-
* A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
466
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
465
467
|
* @type {any}
|
|
466
468
|
* @memberof PaymentRemindersApiListPaymentReminders
|
|
467
469
|
*/
|
|
@@ -523,7 +525,7 @@ export class PaymentRemindersApi extends BaseAPI {
|
|
|
523
525
|
}
|
|
524
526
|
|
|
525
527
|
/**
|
|
526
|
-
*
|
|
528
|
+
* Deactivates the payment reminder
|
|
527
529
|
* @summary Update the payment-reminder
|
|
528
530
|
* @param {PaymentRemindersApiDeactivatePaymentReminderRequest} requestParameters Request parameters.
|
|
529
531
|
* @param {*} [options] Override http request option.
|
package/api/payments-api.ts
CHANGED
|
@@ -154,7 +154,7 @@ export const PaymentsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
154
154
|
* Returns a list of payments you’ve previously created. The payments are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
|
|
155
155
|
* @summary List payments
|
|
156
156
|
* @param {string} [authorization] Bearer Token
|
|
157
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
157
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
158
158
|
* @param {any} [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.
|
|
159
159
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
160
160
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
@@ -262,7 +262,7 @@ export const PaymentsApiFp = function(configuration?: Configuration) {
|
|
|
262
262
|
* Returns a list of payments you’ve previously created. The payments are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
|
|
263
263
|
* @summary List payments
|
|
264
264
|
* @param {string} [authorization] Bearer Token
|
|
265
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
265
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
266
266
|
* @param {any} [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.
|
|
267
267
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
268
268
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
@@ -314,7 +314,7 @@ export const PaymentsApiFactory = function (configuration?: Configuration, baseP
|
|
|
314
314
|
* Returns a list of payments you’ve previously created. The payments are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
|
|
315
315
|
* @summary List payments
|
|
316
316
|
* @param {string} [authorization] Bearer Token
|
|
317
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
317
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
318
318
|
* @param {any} [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.
|
|
319
319
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
320
320
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
@@ -406,7 +406,7 @@ export interface PaymentsApiListPaymentsRequest {
|
|
|
406
406
|
readonly authorization?: string
|
|
407
407
|
|
|
408
408
|
/**
|
|
409
|
-
* A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
409
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
410
410
|
* @type {any}
|
|
411
411
|
* @memberof PaymentsApiListPayments
|
|
412
412
|
*/
|
|
@@ -0,0 +1,464 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil Payment Service
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
17
|
+
import { Configuration } from '../configuration';
|
|
18
|
+
// Some imports not used depending on template conditions
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
21
|
+
// @ts-ignore
|
|
22
|
+
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
import { CreateRefundRequestDto } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { CreateRefundResponseClass } from '../models';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import { GetRefundResponseClass } from '../models';
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
import { ListRefundsResponseClass } from '../models';
|
|
31
|
+
// URLSearchParams not necessarily used
|
|
32
|
+
// @ts-ignore
|
|
33
|
+
import { URL, URLSearchParams } from 'url';
|
|
34
|
+
const FormData = require('form-data');
|
|
35
|
+
/**
|
|
36
|
+
* RefundsApi - axios parameter creator
|
|
37
|
+
* @export
|
|
38
|
+
*/
|
|
39
|
+
export const RefundsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
40
|
+
return {
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @param {CreateRefundRequestDto} createRefundRequestDto
|
|
44
|
+
* @param {string} [authorization] Bearer Token
|
|
45
|
+
* @param {*} [options] Override http request option.
|
|
46
|
+
* @throws {RequiredError}
|
|
47
|
+
*/
|
|
48
|
+
createRefund: async (createRefundRequestDto: CreateRefundRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
49
|
+
// verify required parameter 'createRefundRequestDto' is not null or undefined
|
|
50
|
+
assertParamExists('createRefund', 'createRefundRequestDto', createRefundRequestDto)
|
|
51
|
+
const localVarPath = `/paymentservice/v1/refunds`;
|
|
52
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
53
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
54
|
+
let baseOptions;
|
|
55
|
+
let baseAccessToken;
|
|
56
|
+
if (configuration) {
|
|
57
|
+
baseOptions = configuration.baseOptions;
|
|
58
|
+
baseAccessToken = configuration.accessToken;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
62
|
+
const localVarHeaderParameter = {} as any;
|
|
63
|
+
const localVarQueryParameter = {} as any;
|
|
64
|
+
|
|
65
|
+
// authentication bearer required
|
|
66
|
+
// http bearer authentication required
|
|
67
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
68
|
+
|
|
69
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
70
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
76
|
+
|
|
77
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
78
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
79
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
80
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createRefundRequestDto, localVarRequestOptions, configuration)
|
|
81
|
+
|
|
82
|
+
return {
|
|
83
|
+
url: toPathString(localVarUrlObj),
|
|
84
|
+
options: localVarRequestOptions,
|
|
85
|
+
};
|
|
86
|
+
},
|
|
87
|
+
/**
|
|
88
|
+
*
|
|
89
|
+
* @param {string} code
|
|
90
|
+
* @param {string} code2 Unique identifier for the object.
|
|
91
|
+
* @param {string} [authorization] Bearer Token
|
|
92
|
+
* @param {string} [expand] Fields to expand response by
|
|
93
|
+
* @param {*} [options] Override http request option.
|
|
94
|
+
* @throws {RequiredError}
|
|
95
|
+
*/
|
|
96
|
+
getRefund: async (code: string, code2: string, authorization?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
97
|
+
// verify required parameter 'code' is not null or undefined
|
|
98
|
+
assertParamExists('getRefund', 'code', code)
|
|
99
|
+
// verify required parameter 'code2' is not null or undefined
|
|
100
|
+
assertParamExists('getRefund', 'code2', code2)
|
|
101
|
+
const localVarPath = `/paymentservice/v1/refunds/{code}`
|
|
102
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
103
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
104
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
105
|
+
let baseOptions;
|
|
106
|
+
let baseAccessToken;
|
|
107
|
+
if (configuration) {
|
|
108
|
+
baseOptions = configuration.baseOptions;
|
|
109
|
+
baseAccessToken = configuration.accessToken;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
113
|
+
const localVarHeaderParameter = {} as any;
|
|
114
|
+
const localVarQueryParameter = {} as any;
|
|
115
|
+
|
|
116
|
+
// authentication bearer required
|
|
117
|
+
// http bearer authentication required
|
|
118
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
119
|
+
|
|
120
|
+
if (code2 !== undefined) {
|
|
121
|
+
localVarQueryParameter['code'] = code2;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
if (expand !== undefined) {
|
|
125
|
+
localVarQueryParameter['expand'] = expand;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
129
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
135
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
136
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
137
|
+
|
|
138
|
+
return {
|
|
139
|
+
url: toPathString(localVarUrlObj),
|
|
140
|
+
options: localVarRequestOptions,
|
|
141
|
+
};
|
|
142
|
+
},
|
|
143
|
+
/**
|
|
144
|
+
*
|
|
145
|
+
* @param {string} [authorization] Bearer Token
|
|
146
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
147
|
+
* @param {any} [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.
|
|
148
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
149
|
+
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
150
|
+
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
151
|
+
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
152
|
+
* @param {*} [options] Override http request option.
|
|
153
|
+
* @throws {RequiredError}
|
|
154
|
+
*/
|
|
155
|
+
listRefunds: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
156
|
+
const localVarPath = `/paymentservice/v1/refunds`;
|
|
157
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
158
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
159
|
+
let baseOptions;
|
|
160
|
+
let baseAccessToken;
|
|
161
|
+
if (configuration) {
|
|
162
|
+
baseOptions = configuration.baseOptions;
|
|
163
|
+
baseAccessToken = configuration.accessToken;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
167
|
+
const localVarHeaderParameter = {} as any;
|
|
168
|
+
const localVarQueryParameter = {} as any;
|
|
169
|
+
|
|
170
|
+
// authentication bearer required
|
|
171
|
+
// http bearer authentication required
|
|
172
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
173
|
+
|
|
174
|
+
if (pageSize !== undefined) {
|
|
175
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
if (pageToken !== undefined) {
|
|
179
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
if (filter !== undefined) {
|
|
183
|
+
localVarQueryParameter['filter'] = filter;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
if (search !== undefined) {
|
|
187
|
+
localVarQueryParameter['search'] = search;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
if (order !== undefined) {
|
|
191
|
+
localVarQueryParameter['order'] = order;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
if (expand !== undefined) {
|
|
195
|
+
localVarQueryParameter['expand'] = expand;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
199
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
205
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
206
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
207
|
+
|
|
208
|
+
return {
|
|
209
|
+
url: toPathString(localVarUrlObj),
|
|
210
|
+
options: localVarRequestOptions,
|
|
211
|
+
};
|
|
212
|
+
},
|
|
213
|
+
}
|
|
214
|
+
};
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* RefundsApi - functional programming interface
|
|
218
|
+
* @export
|
|
219
|
+
*/
|
|
220
|
+
export const RefundsApiFp = function(configuration?: Configuration) {
|
|
221
|
+
const localVarAxiosParamCreator = RefundsApiAxiosParamCreator(configuration)
|
|
222
|
+
return {
|
|
223
|
+
/**
|
|
224
|
+
*
|
|
225
|
+
* @param {CreateRefundRequestDto} createRefundRequestDto
|
|
226
|
+
* @param {string} [authorization] Bearer Token
|
|
227
|
+
* @param {*} [options] Override http request option.
|
|
228
|
+
* @throws {RequiredError}
|
|
229
|
+
*/
|
|
230
|
+
async createRefund(createRefundRequestDto: CreateRefundRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateRefundResponseClass>> {
|
|
231
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createRefund(createRefundRequestDto, authorization, options);
|
|
232
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
233
|
+
},
|
|
234
|
+
/**
|
|
235
|
+
*
|
|
236
|
+
* @param {string} code
|
|
237
|
+
* @param {string} code2 Unique identifier for the object.
|
|
238
|
+
* @param {string} [authorization] Bearer Token
|
|
239
|
+
* @param {string} [expand] Fields to expand response by
|
|
240
|
+
* @param {*} [options] Override http request option.
|
|
241
|
+
* @throws {RequiredError}
|
|
242
|
+
*/
|
|
243
|
+
async getRefund(code: string, code2: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetRefundResponseClass>> {
|
|
244
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRefund(code, code2, authorization, expand, options);
|
|
245
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
246
|
+
},
|
|
247
|
+
/**
|
|
248
|
+
*
|
|
249
|
+
* @param {string} [authorization] Bearer Token
|
|
250
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
251
|
+
* @param {any} [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.
|
|
252
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
253
|
+
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
254
|
+
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
255
|
+
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
256
|
+
* @param {*} [options] Override http request option.
|
|
257
|
+
* @throws {RequiredError}
|
|
258
|
+
*/
|
|
259
|
+
async listRefunds(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListRefundsResponseClass>> {
|
|
260
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listRefunds(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
261
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
262
|
+
},
|
|
263
|
+
}
|
|
264
|
+
};
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* RefundsApi - factory interface
|
|
268
|
+
* @export
|
|
269
|
+
*/
|
|
270
|
+
export const RefundsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
271
|
+
const localVarFp = RefundsApiFp(configuration)
|
|
272
|
+
return {
|
|
273
|
+
/**
|
|
274
|
+
*
|
|
275
|
+
* @param {CreateRefundRequestDto} createRefundRequestDto
|
|
276
|
+
* @param {string} [authorization] Bearer Token
|
|
277
|
+
* @param {*} [options] Override http request option.
|
|
278
|
+
* @throws {RequiredError}
|
|
279
|
+
*/
|
|
280
|
+
createRefund(createRefundRequestDto: CreateRefundRequestDto, authorization?: string, options?: any): AxiosPromise<CreateRefundResponseClass> {
|
|
281
|
+
return localVarFp.createRefund(createRefundRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
282
|
+
},
|
|
283
|
+
/**
|
|
284
|
+
*
|
|
285
|
+
* @param {string} code
|
|
286
|
+
* @param {string} code2 Unique identifier for the object.
|
|
287
|
+
* @param {string} [authorization] Bearer Token
|
|
288
|
+
* @param {string} [expand] Fields to expand response by
|
|
289
|
+
* @param {*} [options] Override http request option.
|
|
290
|
+
* @throws {RequiredError}
|
|
291
|
+
*/
|
|
292
|
+
getRefund(code: string, code2: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetRefundResponseClass> {
|
|
293
|
+
return localVarFp.getRefund(code, code2, authorization, expand, options).then((request) => request(axios, basePath));
|
|
294
|
+
},
|
|
295
|
+
/**
|
|
296
|
+
*
|
|
297
|
+
* @param {string} [authorization] Bearer Token
|
|
298
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
299
|
+
* @param {any} [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.
|
|
300
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
301
|
+
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
302
|
+
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
303
|
+
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
304
|
+
* @param {*} [options] Override http request option.
|
|
305
|
+
* @throws {RequiredError}
|
|
306
|
+
*/
|
|
307
|
+
listRefunds(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListRefundsResponseClass> {
|
|
308
|
+
return localVarFp.listRefunds(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
309
|
+
},
|
|
310
|
+
};
|
|
311
|
+
};
|
|
312
|
+
|
|
313
|
+
/**
|
|
314
|
+
* Request parameters for createRefund operation in RefundsApi.
|
|
315
|
+
* @export
|
|
316
|
+
* @interface RefundsApiCreateRefundRequest
|
|
317
|
+
*/
|
|
318
|
+
export interface RefundsApiCreateRefundRequest {
|
|
319
|
+
/**
|
|
320
|
+
*
|
|
321
|
+
* @type {CreateRefundRequestDto}
|
|
322
|
+
* @memberof RefundsApiCreateRefund
|
|
323
|
+
*/
|
|
324
|
+
readonly createRefundRequestDto: CreateRefundRequestDto
|
|
325
|
+
|
|
326
|
+
/**
|
|
327
|
+
* Bearer Token
|
|
328
|
+
* @type {string}
|
|
329
|
+
* @memberof RefundsApiCreateRefund
|
|
330
|
+
*/
|
|
331
|
+
readonly authorization?: string
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
/**
|
|
335
|
+
* Request parameters for getRefund operation in RefundsApi.
|
|
336
|
+
* @export
|
|
337
|
+
* @interface RefundsApiGetRefundRequest
|
|
338
|
+
*/
|
|
339
|
+
export interface RefundsApiGetRefundRequest {
|
|
340
|
+
/**
|
|
341
|
+
*
|
|
342
|
+
* @type {string}
|
|
343
|
+
* @memberof RefundsApiGetRefund
|
|
344
|
+
*/
|
|
345
|
+
readonly code: string
|
|
346
|
+
|
|
347
|
+
/**
|
|
348
|
+
* Unique identifier for the object.
|
|
349
|
+
* @type {string}
|
|
350
|
+
* @memberof RefundsApiGetRefund
|
|
351
|
+
*/
|
|
352
|
+
readonly code2: string
|
|
353
|
+
|
|
354
|
+
/**
|
|
355
|
+
* Bearer Token
|
|
356
|
+
* @type {string}
|
|
357
|
+
* @memberof RefundsApiGetRefund
|
|
358
|
+
*/
|
|
359
|
+
readonly authorization?: string
|
|
360
|
+
|
|
361
|
+
/**
|
|
362
|
+
* Fields to expand response by
|
|
363
|
+
* @type {string}
|
|
364
|
+
* @memberof RefundsApiGetRefund
|
|
365
|
+
*/
|
|
366
|
+
readonly expand?: string
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
/**
|
|
370
|
+
* Request parameters for listRefunds operation in RefundsApi.
|
|
371
|
+
* @export
|
|
372
|
+
* @interface RefundsApiListRefundsRequest
|
|
373
|
+
*/
|
|
374
|
+
export interface RefundsApiListRefundsRequest {
|
|
375
|
+
/**
|
|
376
|
+
* Bearer Token
|
|
377
|
+
* @type {string}
|
|
378
|
+
* @memberof RefundsApiListRefunds
|
|
379
|
+
*/
|
|
380
|
+
readonly authorization?: string
|
|
381
|
+
|
|
382
|
+
/**
|
|
383
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
384
|
+
* @type {any}
|
|
385
|
+
* @memberof RefundsApiListRefunds
|
|
386
|
+
*/
|
|
387
|
+
readonly pageSize?: any
|
|
388
|
+
|
|
389
|
+
/**
|
|
390
|
+
* 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.
|
|
391
|
+
* @type {any}
|
|
392
|
+
* @memberof RefundsApiListRefunds
|
|
393
|
+
*/
|
|
394
|
+
readonly pageToken?: any
|
|
395
|
+
|
|
396
|
+
/**
|
|
397
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
398
|
+
* @type {any}
|
|
399
|
+
* @memberof RefundsApiListRefunds
|
|
400
|
+
*/
|
|
401
|
+
readonly filter?: any
|
|
402
|
+
|
|
403
|
+
/**
|
|
404
|
+
* Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
405
|
+
* @type {any}
|
|
406
|
+
* @memberof RefundsApiListRefunds
|
|
407
|
+
*/
|
|
408
|
+
readonly search?: any
|
|
409
|
+
|
|
410
|
+
/**
|
|
411
|
+
* The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
412
|
+
* @type {any}
|
|
413
|
+
* @memberof RefundsApiListRefunds
|
|
414
|
+
*/
|
|
415
|
+
readonly order?: any
|
|
416
|
+
|
|
417
|
+
/**
|
|
418
|
+
* Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
419
|
+
* @type {any}
|
|
420
|
+
* @memberof RefundsApiListRefunds
|
|
421
|
+
*/
|
|
422
|
+
readonly expand?: any
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
/**
|
|
426
|
+
* RefundsApi - object-oriented interface
|
|
427
|
+
* @export
|
|
428
|
+
* @class RefundsApi
|
|
429
|
+
* @extends {BaseAPI}
|
|
430
|
+
*/
|
|
431
|
+
export class RefundsApi extends BaseAPI {
|
|
432
|
+
/**
|
|
433
|
+
*
|
|
434
|
+
* @param {RefundsApiCreateRefundRequest} requestParameters Request parameters.
|
|
435
|
+
* @param {*} [options] Override http request option.
|
|
436
|
+
* @throws {RequiredError}
|
|
437
|
+
* @memberof RefundsApi
|
|
438
|
+
*/
|
|
439
|
+
public createRefund(requestParameters: RefundsApiCreateRefundRequest, options?: AxiosRequestConfig) {
|
|
440
|
+
return RefundsApiFp(this.configuration).createRefund(requestParameters.createRefundRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
/**
|
|
444
|
+
*
|
|
445
|
+
* @param {RefundsApiGetRefundRequest} requestParameters Request parameters.
|
|
446
|
+
* @param {*} [options] Override http request option.
|
|
447
|
+
* @throws {RequiredError}
|
|
448
|
+
* @memberof RefundsApi
|
|
449
|
+
*/
|
|
450
|
+
public getRefund(requestParameters: RefundsApiGetRefundRequest, options?: AxiosRequestConfig) {
|
|
451
|
+
return RefundsApiFp(this.configuration).getRefund(requestParameters.code, requestParameters.code2, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
/**
|
|
455
|
+
*
|
|
456
|
+
* @param {RefundsApiListRefundsRequest} requestParameters Request parameters.
|
|
457
|
+
* @param {*} [options] Override http request option.
|
|
458
|
+
* @throws {RequiredError}
|
|
459
|
+
* @memberof RefundsApi
|
|
460
|
+
*/
|
|
461
|
+
public listRefunds(requestParameters: RefundsApiListRefundsRequest = {}, options?: AxiosRequestConfig) {
|
|
462
|
+
return RefundsApiFp(this.configuration).listRefunds(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
463
|
+
}
|
|
464
|
+
}
|