@emilgroup/payment-sdk-node 1.21.1-beta.25 → 1.21.1-beta.26
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 -10
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +13 -55
- package/api/bank-transaction-api.ts +17 -45
- package/api/payment-methods-api.ts +17 -59
- package/api/payment-reminders-api.ts +13 -55
- package/api/payments-api.ts +17 -59
- package/api/refunds-api.ts +17 -45
- package/api/tenant-bank-account-api.ts +17 -45
- package/api.ts +0 -2
- package/dist/api/bank-accounts-api.d.ts +8 -35
- package/dist/api/bank-accounts-api.js +11 -29
- package/dist/api/bank-transaction-api.d.ts +10 -28
- package/dist/api/bank-transaction-api.js +12 -24
- package/dist/api/payment-methods-api.d.ts +12 -39
- package/dist/api/payment-methods-api.js +14 -32
- package/dist/api/payment-reminders-api.d.ts +8 -35
- package/dist/api/payment-reminders-api.js +11 -29
- package/dist/api/payments-api.d.ts +12 -39
- package/dist/api/payments-api.js +14 -32
- package/dist/api/refunds-api.d.ts +10 -28
- package/dist/api/refunds-api.js +12 -24
- package/dist/api/tenant-bank-account-api.d.ts +10 -28
- package/dist/api/tenant-bank-account-api.js +12 -24
- package/dist/api.d.ts +0 -1
- package/dist/api.js +0 -1
- package/dist/models/complete-adyen-payment-setup-request-dto.d.ts +0 -1
- package/dist/models/complete-adyen-payment-setup-request-dto.js +1 -2
- package/dist/models/complete-payment-setup-request-dto.d.ts +0 -7
- package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +0 -1
- package/dist/models/complete-stripe-payment-setup-request-dto.js +1 -2
- package/dist/models/create-payment-reminder-request-dto.d.ts +1 -7
- package/dist/models/create-payment-request-dto.d.ts +1 -7
- package/dist/models/create-psp-payment-method-request-dto.d.ts +1 -14
- package/dist/models/create-psp-payment-method-request-dto.js +1 -2
- package/dist/models/deactivated-payment-reminder-class.d.ts +1 -7
- package/dist/models/index.d.ts +0 -9
- package/dist/models/index.js +0 -9
- package/dist/models/initiate-adyen-payment-setup-request-dto.d.ts +0 -6
- package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +0 -6
- package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +0 -6
- package/dist/models/payment-class-without-expand-properties.d.ts +1 -7
- package/dist/models/payment-class.d.ts +1 -7
- package/dist/models/payment-reminder-class.d.ts +1 -7
- package/dist/models/refund-class.d.ts +1 -7
- package/models/complete-adyen-payment-setup-request-dto.ts +1 -2
- package/models/complete-payment-setup-request-dto.ts +0 -7
- package/models/complete-stripe-payment-setup-request-dto.ts +1 -2
- package/models/create-payment-reminder-request-dto.ts +1 -7
- package/models/create-payment-request-dto.ts +1 -7
- package/models/create-psp-payment-method-request-dto.ts +2 -15
- package/models/deactivated-payment-reminder-class.ts +1 -7
- package/models/index.ts +0 -9
- package/models/initiate-adyen-payment-setup-request-dto.ts +0 -6
- package/models/initiate-braintree-payment-setup-request-dto.ts +0 -6
- package/models/initiate-stripe-payment-setup-request-dto.ts +0 -6
- package/models/payment-class-without-expand-properties.ts +1 -7
- package/models/payment-class.ts +1 -7
- package/models/payment-reminder-class.ts +1 -7
- package/models/refund-class.ts +1 -7
- package/package.json +1 -1
- package/api/bank-orders-api.ts +0 -695
- package/dist/api/bank-orders-api.d.ts +0 -393
- package/dist/api/bank-orders-api.js +0 -646
- package/dist/models/bank-order-class.d.ts +0 -115
- package/dist/models/bank-order-class.js +0 -15
- package/dist/models/complete-eis-payment-setup-request-dto.d.ts +0 -42
- package/dist/models/complete-eis-payment-setup-request-dto.js +0 -15
- package/dist/models/create-bank-order-request-dto.d.ts +0 -74
- package/dist/models/create-bank-order-request-dto.js +0 -28
- package/dist/models/create-bank-order-response-class.d.ts +0 -25
- package/dist/models/create-bank-order-response-class.js +0 -15
- package/dist/models/financial-account-class.d.ts +0 -111
- package/dist/models/financial-account-class.js +0 -24
- package/dist/models/get-bank-order-response-class.d.ts +0 -25
- package/dist/models/get-bank-order-response-class.js +0 -15
- package/dist/models/list-bank-orders-response-class.d.ts +0 -31
- package/dist/models/list-bank-orders-response-class.js +0 -15
- package/dist/models/update-bank-order-request-dto.d.ts +0 -56
- package/dist/models/update-bank-order-request-dto.js +0 -23
- package/dist/models/update-bank-order-response-class.d.ts +0 -25
- package/dist/models/update-bank-order-response-class.js +0 -15
- package/models/bank-order-class.ts +0 -121
- package/models/complete-eis-payment-setup-request-dto.ts +0 -48
- package/models/create-bank-order-request-dto.ts +0 -84
- package/models/create-bank-order-response-class.ts +0 -31
- package/models/financial-account-class.ts +0 -120
- package/models/get-bank-order-response-class.ts +0 -31
- package/models/list-bank-orders-response-class.ts +0 -37
- package/models/update-bank-order-request-dto.ts +0 -65
- package/models/update-bank-order-response-class.ts +0 -31
|
@@ -189,17 +189,14 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
|
|
|
189
189
|
* 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. **Required Permissions** \"payment-management.reminders.view\"
|
|
190
190
|
* @summary List payment reminders
|
|
191
191
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
192
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
193
|
-
* @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.
|
|
194
192
|
* @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: code, id, policyCode, nextReminderDate</i>
|
|
195
|
-
* @param {string} [
|
|
193
|
+
* @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: code, id, policyCode, nextReminderDate</i>
|
|
196
194
|
* @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, createdAt, updatedAt</i>
|
|
197
195
|
* @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/>
|
|
198
|
-
* @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: code, id, policyCode, nextReminderDate</i>
|
|
199
196
|
* @param {*} [options] Override http request option.
|
|
200
197
|
* @throws {RequiredError}
|
|
201
198
|
*/
|
|
202
|
-
listPaymentReminders: async (authorization?: string,
|
|
199
|
+
listPaymentReminders: async (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
203
200
|
const localVarPath = `/paymentservice/v1/payment-reminders`;
|
|
204
201
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
205
202
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -218,20 +215,12 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
|
|
|
218
215
|
// http bearer authentication required
|
|
219
216
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
220
217
|
|
|
221
|
-
if (pageSize !== undefined) {
|
|
222
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
if (pageToken !== undefined) {
|
|
226
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
218
|
if (filter !== undefined) {
|
|
230
219
|
localVarQueryParameter['filter'] = filter;
|
|
231
220
|
}
|
|
232
221
|
|
|
233
|
-
if (
|
|
234
|
-
localVarQueryParameter['
|
|
222
|
+
if (filters !== undefined) {
|
|
223
|
+
localVarQueryParameter['filters'] = filters;
|
|
235
224
|
}
|
|
236
225
|
|
|
237
226
|
if (order !== undefined) {
|
|
@@ -242,10 +231,6 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
|
|
|
242
231
|
localVarQueryParameter['expand'] = expand;
|
|
243
232
|
}
|
|
244
233
|
|
|
245
|
-
if (filters !== undefined) {
|
|
246
|
-
localVarQueryParameter['filters'] = filters;
|
|
247
|
-
}
|
|
248
|
-
|
|
249
234
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
250
235
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
251
236
|
}
|
|
@@ -312,18 +297,15 @@ export const PaymentRemindersApiFp = function(configuration?: Configuration) {
|
|
|
312
297
|
* 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. **Required Permissions** \"payment-management.reminders.view\"
|
|
313
298
|
* @summary List payment reminders
|
|
314
299
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
315
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
316
|
-
* @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.
|
|
317
300
|
* @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: code, id, policyCode, nextReminderDate</i>
|
|
318
|
-
* @param {string} [
|
|
301
|
+
* @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: code, id, policyCode, nextReminderDate</i>
|
|
319
302
|
* @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, createdAt, updatedAt</i>
|
|
320
303
|
* @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/>
|
|
321
|
-
* @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: code, id, policyCode, nextReminderDate</i>
|
|
322
304
|
* @param {*} [options] Override http request option.
|
|
323
305
|
* @throws {RequiredError}
|
|
324
306
|
*/
|
|
325
|
-
async listPaymentReminders(authorization?: string,
|
|
326
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentReminders(authorization,
|
|
307
|
+
async listPaymentReminders(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentRemindersResponseClass>> {
|
|
308
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentReminders(authorization, filter, filters, order, expand, options);
|
|
327
309
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
328
310
|
},
|
|
329
311
|
}
|
|
@@ -374,18 +356,15 @@ export const PaymentRemindersApiFactory = function (configuration?: Configuratio
|
|
|
374
356
|
* 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. **Required Permissions** \"payment-management.reminders.view\"
|
|
375
357
|
* @summary List payment reminders
|
|
376
358
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
377
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
378
|
-
* @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.
|
|
379
359
|
* @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: code, id, policyCode, nextReminderDate</i>
|
|
380
|
-
* @param {string} [
|
|
360
|
+
* @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: code, id, policyCode, nextReminderDate</i>
|
|
381
361
|
* @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, createdAt, updatedAt</i>
|
|
382
362
|
* @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/>
|
|
383
|
-
* @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: code, id, policyCode, nextReminderDate</i>
|
|
384
363
|
* @param {*} [options] Override http request option.
|
|
385
364
|
* @throws {RequiredError}
|
|
386
365
|
*/
|
|
387
|
-
listPaymentReminders(authorization?: string,
|
|
388
|
-
return localVarFp.listPaymentReminders(authorization,
|
|
366
|
+
listPaymentReminders(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListPaymentRemindersResponseClass> {
|
|
367
|
+
return localVarFp.listPaymentReminders(authorization, filter, filters, order, expand, options).then((request) => request(axios, basePath));
|
|
389
368
|
},
|
|
390
369
|
};
|
|
391
370
|
};
|
|
@@ -473,20 +452,6 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
|
|
|
473
452
|
*/
|
|
474
453
|
readonly authorization?: string
|
|
475
454
|
|
|
476
|
-
/**
|
|
477
|
-
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
478
|
-
* @type {number}
|
|
479
|
-
* @memberof PaymentRemindersApiListPaymentReminders
|
|
480
|
-
*/
|
|
481
|
-
readonly pageSize?: number
|
|
482
|
-
|
|
483
|
-
/**
|
|
484
|
-
* 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.
|
|
485
|
-
* @type {string}
|
|
486
|
-
* @memberof PaymentRemindersApiListPaymentReminders
|
|
487
|
-
*/
|
|
488
|
-
readonly pageToken?: string
|
|
489
|
-
|
|
490
455
|
/**
|
|
491
456
|
* 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: code, id, policyCode, nextReminderDate</i>
|
|
492
457
|
* @type {string}
|
|
@@ -495,11 +460,11 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
|
|
|
495
460
|
readonly filter?: string
|
|
496
461
|
|
|
497
462
|
/**
|
|
498
|
-
*
|
|
463
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, policyCode, nextReminderDate</i>
|
|
499
464
|
* @type {string}
|
|
500
465
|
* @memberof PaymentRemindersApiListPaymentReminders
|
|
501
466
|
*/
|
|
502
|
-
readonly
|
|
467
|
+
readonly filters?: string
|
|
503
468
|
|
|
504
469
|
/**
|
|
505
470
|
* 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, createdAt, updatedAt</i>
|
|
@@ -514,13 +479,6 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
|
|
|
514
479
|
* @memberof PaymentRemindersApiListPaymentReminders
|
|
515
480
|
*/
|
|
516
481
|
readonly expand?: string
|
|
517
|
-
|
|
518
|
-
/**
|
|
519
|
-
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, policyCode, nextReminderDate</i>
|
|
520
|
-
* @type {string}
|
|
521
|
-
* @memberof PaymentRemindersApiListPaymentReminders
|
|
522
|
-
*/
|
|
523
|
-
readonly filters?: string
|
|
524
482
|
}
|
|
525
483
|
|
|
526
484
|
/**
|
|
@@ -575,6 +533,6 @@ export class PaymentRemindersApi extends BaseAPI {
|
|
|
575
533
|
* @memberof PaymentRemindersApi
|
|
576
534
|
*/
|
|
577
535
|
public listPaymentReminders(requestParameters: PaymentRemindersApiListPaymentRemindersRequest = {}, options?: AxiosRequestConfig) {
|
|
578
|
-
return PaymentRemindersApiFp(this.configuration).listPaymentReminders(requestParameters.authorization, requestParameters.
|
|
536
|
+
return PaymentRemindersApiFp(this.configuration).listPaymentReminders(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
579
537
|
}
|
|
580
538
|
}
|
package/api/payments-api.ts
CHANGED
|
@@ -146,17 +146,14 @@ export const PaymentsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
146
146
|
* 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\"
|
|
147
147
|
* @summary List payments
|
|
148
148
|
* @param {string} [authorization] Bearer Token
|
|
149
|
-
* @param {
|
|
150
|
-
* @param {string} [
|
|
151
|
-
* @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: code, id, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode</i>
|
|
152
|
-
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
149
|
+
* @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: code, id, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug</i>
|
|
150
|
+
* @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: code, id, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug</i>
|
|
153
151
|
* @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, createdAt, code, amount</i>
|
|
154
152
|
* @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: transactions<i>
|
|
155
|
-
* @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: code, id, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode</i>
|
|
156
153
|
* @param {*} [options] Override http request option.
|
|
157
154
|
* @throws {RequiredError}
|
|
158
155
|
*/
|
|
159
|
-
listPayments: async (authorization?: string,
|
|
156
|
+
listPayments: async (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
160
157
|
const localVarPath = `/paymentservice/v1/payments`;
|
|
161
158
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
162
159
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -175,20 +172,12 @@ export const PaymentsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
175
172
|
// http bearer authentication required
|
|
176
173
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
177
174
|
|
|
178
|
-
if (pageSize !== undefined) {
|
|
179
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
if (pageToken !== undefined) {
|
|
183
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
175
|
if (filter !== undefined) {
|
|
187
176
|
localVarQueryParameter['filter'] = filter;
|
|
188
177
|
}
|
|
189
178
|
|
|
190
|
-
if (
|
|
191
|
-
localVarQueryParameter['
|
|
179
|
+
if (filters !== undefined) {
|
|
180
|
+
localVarQueryParameter['filters'] = filters;
|
|
192
181
|
}
|
|
193
182
|
|
|
194
183
|
if (order !== undefined) {
|
|
@@ -199,10 +188,6 @@ export const PaymentsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
199
188
|
localVarQueryParameter['expand'] = expand;
|
|
200
189
|
}
|
|
201
190
|
|
|
202
|
-
if (filters !== undefined) {
|
|
203
|
-
localVarQueryParameter['filters'] = filters;
|
|
204
|
-
}
|
|
205
|
-
|
|
206
191
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
207
192
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
208
193
|
}
|
|
@@ -258,18 +243,15 @@ export const PaymentsApiFp = function(configuration?: Configuration) {
|
|
|
258
243
|
* Returns a list of payments you have previously created. The payments are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
259
244
|
* @summary List payments
|
|
260
245
|
* @param {string} [authorization] Bearer Token
|
|
261
|
-
* @param {
|
|
262
|
-
* @param {string} [
|
|
263
|
-
* @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: code, id, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode</i>
|
|
264
|
-
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
246
|
+
* @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: code, id, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug</i>
|
|
247
|
+
* @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: code, id, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug</i>
|
|
265
248
|
* @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, createdAt, code, amount</i>
|
|
266
249
|
* @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: transactions<i>
|
|
267
|
-
* @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: code, id, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode</i>
|
|
268
250
|
* @param {*} [options] Override http request option.
|
|
269
251
|
* @throws {RequiredError}
|
|
270
252
|
*/
|
|
271
|
-
async listPayments(authorization?: string,
|
|
272
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPayments(authorization,
|
|
253
|
+
async listPayments(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentsResponseClass>> {
|
|
254
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPayments(authorization, filter, filters, order, expand, options);
|
|
273
255
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
274
256
|
},
|
|
275
257
|
}
|
|
@@ -310,18 +292,15 @@ export const PaymentsApiFactory = function (configuration?: Configuration, baseP
|
|
|
310
292
|
* 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\"
|
|
311
293
|
* @summary List payments
|
|
312
294
|
* @param {string} [authorization] Bearer Token
|
|
313
|
-
* @param {
|
|
314
|
-
* @param {string} [
|
|
315
|
-
* @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: code, id, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode</i>
|
|
316
|
-
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
295
|
+
* @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: code, id, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug</i>
|
|
296
|
+
* @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: code, id, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug</i>
|
|
317
297
|
* @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, createdAt, code, amount</i>
|
|
318
298
|
* @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: transactions<i>
|
|
319
|
-
* @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: code, id, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode</i>
|
|
320
299
|
* @param {*} [options] Override http request option.
|
|
321
300
|
* @throws {RequiredError}
|
|
322
301
|
*/
|
|
323
|
-
listPayments(authorization?: string,
|
|
324
|
-
return localVarFp.listPayments(authorization,
|
|
302
|
+
listPayments(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListPaymentsResponseClass> {
|
|
303
|
+
return localVarFp.listPayments(authorization, filter, filters, order, expand, options).then((request) => request(axios, basePath));
|
|
325
304
|
},
|
|
326
305
|
};
|
|
327
306
|
};
|
|
@@ -396,32 +375,18 @@ export interface PaymentsApiListPaymentsRequest {
|
|
|
396
375
|
readonly authorization?: string
|
|
397
376
|
|
|
398
377
|
/**
|
|
399
|
-
*
|
|
400
|
-
* @type {number}
|
|
401
|
-
* @memberof PaymentsApiListPayments
|
|
402
|
-
*/
|
|
403
|
-
readonly pageSize?: number
|
|
404
|
-
|
|
405
|
-
/**
|
|
406
|
-
* 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.
|
|
407
|
-
* @type {string}
|
|
408
|
-
* @memberof PaymentsApiListPayments
|
|
409
|
-
*/
|
|
410
|
-
readonly pageToken?: string
|
|
411
|
-
|
|
412
|
-
/**
|
|
413
|
-
* 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: code, id, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode</i>
|
|
378
|
+
* 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: code, id, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug</i>
|
|
414
379
|
* @type {string}
|
|
415
380
|
* @memberof PaymentsApiListPayments
|
|
416
381
|
*/
|
|
417
382
|
readonly filter?: string
|
|
418
383
|
|
|
419
384
|
/**
|
|
420
|
-
*
|
|
385
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug</i>
|
|
421
386
|
* @type {string}
|
|
422
387
|
* @memberof PaymentsApiListPayments
|
|
423
388
|
*/
|
|
424
|
-
readonly
|
|
389
|
+
readonly filters?: string
|
|
425
390
|
|
|
426
391
|
/**
|
|
427
392
|
* 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, createdAt, code, amount</i>
|
|
@@ -436,13 +401,6 @@ export interface PaymentsApiListPaymentsRequest {
|
|
|
436
401
|
* @memberof PaymentsApiListPayments
|
|
437
402
|
*/
|
|
438
403
|
readonly expand?: string
|
|
439
|
-
|
|
440
|
-
/**
|
|
441
|
-
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode</i>
|
|
442
|
-
* @type {string}
|
|
443
|
-
* @memberof PaymentsApiListPayments
|
|
444
|
-
*/
|
|
445
|
-
readonly filters?: string
|
|
446
404
|
}
|
|
447
405
|
|
|
448
406
|
/**
|
|
@@ -485,6 +443,6 @@ export class PaymentsApi extends BaseAPI {
|
|
|
485
443
|
* @memberof PaymentsApi
|
|
486
444
|
*/
|
|
487
445
|
public listPayments(requestParameters: PaymentsApiListPaymentsRequest = {}, options?: AxiosRequestConfig) {
|
|
488
|
-
return PaymentsApiFp(this.configuration).listPayments(requestParameters.authorization, requestParameters.
|
|
446
|
+
return PaymentsApiFp(this.configuration).listPayments(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
489
447
|
}
|
|
490
448
|
}
|
package/api/refunds-api.ts
CHANGED
|
@@ -139,17 +139,15 @@ export const RefundsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
139
139
|
* Returns a list of refunds you have previously created. The refunds are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
140
140
|
* @summary List refunds
|
|
141
141
|
* @param {string} [authorization] Bearer Token
|
|
142
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
143
|
-
* @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.
|
|
144
142
|
* @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: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
143
|
+
* @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: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
145
144
|
* @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: id, createdAt, updatedAt, amount, psp, accountCode, invoiceCode, reason, status</i>
|
|
146
145
|
* @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, createdAt, updatedAt, amount</i>
|
|
147
146
|
* @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: refundItems<i>
|
|
148
|
-
* @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: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
149
147
|
* @param {*} [options] Override http request option.
|
|
150
148
|
* @throws {RequiredError}
|
|
151
149
|
*/
|
|
152
|
-
listRefunds: async (authorization?: string,
|
|
150
|
+
listRefunds: async (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
153
151
|
const localVarPath = `/paymentservice/v1/refunds`;
|
|
154
152
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
155
153
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -168,18 +166,14 @@ export const RefundsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
168
166
|
// http bearer authentication required
|
|
169
167
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
170
168
|
|
|
171
|
-
if (pageSize !== undefined) {
|
|
172
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
if (pageToken !== undefined) {
|
|
176
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
169
|
if (filter !== undefined) {
|
|
180
170
|
localVarQueryParameter['filter'] = filter;
|
|
181
171
|
}
|
|
182
172
|
|
|
173
|
+
if (filters !== undefined) {
|
|
174
|
+
localVarQueryParameter['filters'] = filters;
|
|
175
|
+
}
|
|
176
|
+
|
|
183
177
|
if (search !== undefined) {
|
|
184
178
|
localVarQueryParameter['search'] = search;
|
|
185
179
|
}
|
|
@@ -192,10 +186,6 @@ export const RefundsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
192
186
|
localVarQueryParameter['expand'] = expand;
|
|
193
187
|
}
|
|
194
188
|
|
|
195
|
-
if (filters !== undefined) {
|
|
196
|
-
localVarQueryParameter['filters'] = filters;
|
|
197
|
-
}
|
|
198
|
-
|
|
199
189
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
200
190
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
201
191
|
}
|
|
@@ -250,18 +240,16 @@ export const RefundsApiFp = function(configuration?: Configuration) {
|
|
|
250
240
|
* Returns a list of refunds you have previously created. The refunds are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
251
241
|
* @summary List refunds
|
|
252
242
|
* @param {string} [authorization] Bearer Token
|
|
253
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
254
|
-
* @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.
|
|
255
243
|
* @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: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
244
|
+
* @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: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
256
245
|
* @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: id, createdAt, updatedAt, amount, psp, accountCode, invoiceCode, reason, status</i>
|
|
257
246
|
* @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, createdAt, updatedAt, amount</i>
|
|
258
247
|
* @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: refundItems<i>
|
|
259
|
-
* @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: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
260
248
|
* @param {*} [options] Override http request option.
|
|
261
249
|
* @throws {RequiredError}
|
|
262
250
|
*/
|
|
263
|
-
async listRefunds(authorization?: string,
|
|
264
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listRefunds(authorization,
|
|
251
|
+
async listRefunds(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListRefundsResponseClass>> {
|
|
252
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listRefunds(authorization, filter, filters, search, order, expand, options);
|
|
265
253
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
266
254
|
},
|
|
267
255
|
}
|
|
@@ -301,18 +289,16 @@ export const RefundsApiFactory = function (configuration?: Configuration, basePa
|
|
|
301
289
|
* Returns a list of refunds you have previously created. The refunds are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
302
290
|
* @summary List refunds
|
|
303
291
|
* @param {string} [authorization] Bearer Token
|
|
304
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
305
|
-
* @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.
|
|
306
292
|
* @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: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
293
|
+
* @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: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
307
294
|
* @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: id, createdAt, updatedAt, amount, psp, accountCode, invoiceCode, reason, status</i>
|
|
308
295
|
* @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, createdAt, updatedAt, amount</i>
|
|
309
296
|
* @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: refundItems<i>
|
|
310
|
-
* @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: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
311
297
|
* @param {*} [options] Override http request option.
|
|
312
298
|
* @throws {RequiredError}
|
|
313
299
|
*/
|
|
314
|
-
listRefunds(authorization?: string,
|
|
315
|
-
return localVarFp.listRefunds(authorization,
|
|
300
|
+
listRefunds(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListRefundsResponseClass> {
|
|
301
|
+
return localVarFp.listRefunds(authorization, filter, filters, search, order, expand, options).then((request) => request(axios, basePath));
|
|
316
302
|
},
|
|
317
303
|
};
|
|
318
304
|
};
|
|
@@ -380,25 +366,18 @@ export interface RefundsApiListRefundsRequest {
|
|
|
380
366
|
readonly authorization?: string
|
|
381
367
|
|
|
382
368
|
/**
|
|
383
|
-
*
|
|
384
|
-
* @type {number}
|
|
385
|
-
* @memberof RefundsApiListRefunds
|
|
386
|
-
*/
|
|
387
|
-
readonly pageSize?: number
|
|
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.
|
|
369
|
+
* 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: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
391
370
|
* @type {string}
|
|
392
371
|
* @memberof RefundsApiListRefunds
|
|
393
372
|
*/
|
|
394
|
-
readonly
|
|
373
|
+
readonly filter?: string
|
|
395
374
|
|
|
396
375
|
/**
|
|
397
|
-
*
|
|
376
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
398
377
|
* @type {string}
|
|
399
378
|
* @memberof RefundsApiListRefunds
|
|
400
379
|
*/
|
|
401
|
-
readonly
|
|
380
|
+
readonly filters?: string
|
|
402
381
|
|
|
403
382
|
/**
|
|
404
383
|
* Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, createdAt, updatedAt, amount, psp, accountCode, invoiceCode, reason, status</i>
|
|
@@ -420,13 +399,6 @@ export interface RefundsApiListRefundsRequest {
|
|
|
420
399
|
* @memberof RefundsApiListRefunds
|
|
421
400
|
*/
|
|
422
401
|
readonly expand?: string
|
|
423
|
-
|
|
424
|
-
/**
|
|
425
|
-
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
426
|
-
* @type {string}
|
|
427
|
-
* @memberof RefundsApiListRefunds
|
|
428
|
-
*/
|
|
429
|
-
readonly filters?: string
|
|
430
402
|
}
|
|
431
403
|
|
|
432
404
|
/**
|
|
@@ -469,6 +441,6 @@ export class RefundsApi extends BaseAPI {
|
|
|
469
441
|
* @memberof RefundsApi
|
|
470
442
|
*/
|
|
471
443
|
public listRefunds(requestParameters: RefundsApiListRefundsRequest = {}, options?: AxiosRequestConfig) {
|
|
472
|
-
return RefundsApiFp(this.configuration).listRefunds(requestParameters.authorization, requestParameters.
|
|
444
|
+
return RefundsApiFp(this.configuration).listRefunds(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
473
445
|
}
|
|
474
446
|
}
|