@emilgroup/payment-sdk 1.13.1-beta.25 → 1.13.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 -691
- package/dist/api/bank-orders-api.d.ts +0 -393
- package/dist/api/bank-orders-api.js +0 -642
- 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
|
@@ -185,17 +185,14 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
|
|
|
185
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. **Required Permissions** \"payment-management.reminders.view\"
|
|
186
186
|
* @summary List payment reminders
|
|
187
187
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
188
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
189
|
-
* @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.
|
|
190
188
|
* @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>
|
|
191
|
-
* @param {string} [
|
|
189
|
+
* @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>
|
|
192
190
|
* @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>
|
|
193
191
|
* @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/>
|
|
194
|
-
* @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>
|
|
195
192
|
* @param {*} [options] Override http request option.
|
|
196
193
|
* @throws {RequiredError}
|
|
197
194
|
*/
|
|
198
|
-
listPaymentReminders: async (authorization?: string,
|
|
195
|
+
listPaymentReminders: async (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
199
196
|
const localVarPath = `/paymentservice/v1/payment-reminders`;
|
|
200
197
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
201
198
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -214,20 +211,12 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
|
|
|
214
211
|
// http bearer authentication required
|
|
215
212
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
216
213
|
|
|
217
|
-
if (pageSize !== undefined) {
|
|
218
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
if (pageToken !== undefined) {
|
|
222
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
214
|
if (filter !== undefined) {
|
|
226
215
|
localVarQueryParameter['filter'] = filter;
|
|
227
216
|
}
|
|
228
217
|
|
|
229
|
-
if (
|
|
230
|
-
localVarQueryParameter['
|
|
218
|
+
if (filters !== undefined) {
|
|
219
|
+
localVarQueryParameter['filters'] = filters;
|
|
231
220
|
}
|
|
232
221
|
|
|
233
222
|
if (order !== undefined) {
|
|
@@ -238,10 +227,6 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
|
|
|
238
227
|
localVarQueryParameter['expand'] = expand;
|
|
239
228
|
}
|
|
240
229
|
|
|
241
|
-
if (filters !== undefined) {
|
|
242
|
-
localVarQueryParameter['filters'] = filters;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
230
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
246
231
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
247
232
|
}
|
|
@@ -308,18 +293,15 @@ export const PaymentRemindersApiFp = function(configuration?: Configuration) {
|
|
|
308
293
|
* 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\"
|
|
309
294
|
* @summary List payment reminders
|
|
310
295
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
311
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
312
|
-
* @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.
|
|
313
296
|
* @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>
|
|
314
|
-
* @param {string} [
|
|
297
|
+
* @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>
|
|
315
298
|
* @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>
|
|
316
299
|
* @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/>
|
|
317
|
-
* @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>
|
|
318
300
|
* @param {*} [options] Override http request option.
|
|
319
301
|
* @throws {RequiredError}
|
|
320
302
|
*/
|
|
321
|
-
async listPaymentReminders(authorization?: string,
|
|
322
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentReminders(authorization,
|
|
303
|
+
async listPaymentReminders(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentRemindersResponseClass>> {
|
|
304
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentReminders(authorization, filter, filters, order, expand, options);
|
|
323
305
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
324
306
|
},
|
|
325
307
|
}
|
|
@@ -370,18 +352,15 @@ export const PaymentRemindersApiFactory = function (configuration?: Configuratio
|
|
|
370
352
|
* 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\"
|
|
371
353
|
* @summary List payment reminders
|
|
372
354
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
373
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
374
|
-
* @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.
|
|
375
355
|
* @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>
|
|
376
|
-
* @param {string} [
|
|
356
|
+
* @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>
|
|
377
357
|
* @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>
|
|
378
358
|
* @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/>
|
|
379
|
-
* @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>
|
|
380
359
|
* @param {*} [options] Override http request option.
|
|
381
360
|
* @throws {RequiredError}
|
|
382
361
|
*/
|
|
383
|
-
listPaymentReminders(authorization?: string,
|
|
384
|
-
return localVarFp.listPaymentReminders(authorization,
|
|
362
|
+
listPaymentReminders(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListPaymentRemindersResponseClass> {
|
|
363
|
+
return localVarFp.listPaymentReminders(authorization, filter, filters, order, expand, options).then((request) => request(axios, basePath));
|
|
385
364
|
},
|
|
386
365
|
};
|
|
387
366
|
};
|
|
@@ -469,20 +448,6 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
|
|
|
469
448
|
*/
|
|
470
449
|
readonly authorization?: string
|
|
471
450
|
|
|
472
|
-
/**
|
|
473
|
-
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
474
|
-
* @type {number}
|
|
475
|
-
* @memberof PaymentRemindersApiListPaymentReminders
|
|
476
|
-
*/
|
|
477
|
-
readonly pageSize?: number
|
|
478
|
-
|
|
479
|
-
/**
|
|
480
|
-
* 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.
|
|
481
|
-
* @type {string}
|
|
482
|
-
* @memberof PaymentRemindersApiListPaymentReminders
|
|
483
|
-
*/
|
|
484
|
-
readonly pageToken?: string
|
|
485
|
-
|
|
486
451
|
/**
|
|
487
452
|
* 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>
|
|
488
453
|
* @type {string}
|
|
@@ -491,11 +456,11 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
|
|
|
491
456
|
readonly filter?: string
|
|
492
457
|
|
|
493
458
|
/**
|
|
494
|
-
*
|
|
459
|
+
* 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>
|
|
495
460
|
* @type {string}
|
|
496
461
|
* @memberof PaymentRemindersApiListPaymentReminders
|
|
497
462
|
*/
|
|
498
|
-
readonly
|
|
463
|
+
readonly filters?: string
|
|
499
464
|
|
|
500
465
|
/**
|
|
501
466
|
* 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>
|
|
@@ -510,13 +475,6 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
|
|
|
510
475
|
* @memberof PaymentRemindersApiListPaymentReminders
|
|
511
476
|
*/
|
|
512
477
|
readonly expand?: string
|
|
513
|
-
|
|
514
|
-
/**
|
|
515
|
-
* 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>
|
|
516
|
-
* @type {string}
|
|
517
|
-
* @memberof PaymentRemindersApiListPaymentReminders
|
|
518
|
-
*/
|
|
519
|
-
readonly filters?: string
|
|
520
478
|
}
|
|
521
479
|
|
|
522
480
|
/**
|
|
@@ -571,6 +529,6 @@ export class PaymentRemindersApi extends BaseAPI {
|
|
|
571
529
|
* @memberof PaymentRemindersApi
|
|
572
530
|
*/
|
|
573
531
|
public listPaymentReminders(requestParameters: PaymentRemindersApiListPaymentRemindersRequest = {}, options?: AxiosRequestConfig) {
|
|
574
|
-
return PaymentRemindersApiFp(this.configuration).listPaymentReminders(requestParameters.authorization, requestParameters.
|
|
532
|
+
return PaymentRemindersApiFp(this.configuration).listPaymentReminders(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
575
533
|
}
|
|
576
534
|
}
|
package/api/payments-api.ts
CHANGED
|
@@ -142,17 +142,14 @@ export const PaymentsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
142
142
|
* 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\"
|
|
143
143
|
* @summary List payments
|
|
144
144
|
* @param {string} [authorization] Bearer Token
|
|
145
|
-
* @param {
|
|
146
|
-
* @param {string} [
|
|
147
|
-
* @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>
|
|
148
|
-
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
145
|
+
* @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>
|
|
146
|
+
* @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>
|
|
149
147
|
* @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>
|
|
150
148
|
* @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>
|
|
151
|
-
* @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>
|
|
152
149
|
* @param {*} [options] Override http request option.
|
|
153
150
|
* @throws {RequiredError}
|
|
154
151
|
*/
|
|
155
|
-
listPayments: async (authorization?: string,
|
|
152
|
+
listPayments: async (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
156
153
|
const localVarPath = `/paymentservice/v1/payments`;
|
|
157
154
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
158
155
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -171,20 +168,12 @@ export const PaymentsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
171
168
|
// http bearer authentication required
|
|
172
169
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
173
170
|
|
|
174
|
-
if (pageSize !== undefined) {
|
|
175
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
if (pageToken !== undefined) {
|
|
179
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
171
|
if (filter !== undefined) {
|
|
183
172
|
localVarQueryParameter['filter'] = filter;
|
|
184
173
|
}
|
|
185
174
|
|
|
186
|
-
if (
|
|
187
|
-
localVarQueryParameter['
|
|
175
|
+
if (filters !== undefined) {
|
|
176
|
+
localVarQueryParameter['filters'] = filters;
|
|
188
177
|
}
|
|
189
178
|
|
|
190
179
|
if (order !== undefined) {
|
|
@@ -195,10 +184,6 @@ export const PaymentsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
195
184
|
localVarQueryParameter['expand'] = expand;
|
|
196
185
|
}
|
|
197
186
|
|
|
198
|
-
if (filters !== undefined) {
|
|
199
|
-
localVarQueryParameter['filters'] = filters;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
187
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
203
188
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
204
189
|
}
|
|
@@ -254,18 +239,15 @@ export const PaymentsApiFp = function(configuration?: Configuration) {
|
|
|
254
239
|
* 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\"
|
|
255
240
|
* @summary List payments
|
|
256
241
|
* @param {string} [authorization] Bearer Token
|
|
257
|
-
* @param {
|
|
258
|
-
* @param {string} [
|
|
259
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode</i>
|
|
260
|
-
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
242
|
+
* @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>
|
|
243
|
+
* @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>
|
|
261
244
|
* @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>
|
|
262
245
|
* @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>
|
|
263
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode</i>
|
|
264
246
|
* @param {*} [options] Override http request option.
|
|
265
247
|
* @throws {RequiredError}
|
|
266
248
|
*/
|
|
267
|
-
async listPayments(authorization?: string,
|
|
268
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPayments(authorization,
|
|
249
|
+
async listPayments(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentsResponseClass>> {
|
|
250
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPayments(authorization, filter, filters, order, expand, options);
|
|
269
251
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
270
252
|
},
|
|
271
253
|
}
|
|
@@ -306,18 +288,15 @@ export const PaymentsApiFactory = function (configuration?: Configuration, baseP
|
|
|
306
288
|
* 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\"
|
|
307
289
|
* @summary List payments
|
|
308
290
|
* @param {string} [authorization] Bearer Token
|
|
309
|
-
* @param {
|
|
310
|
-
* @param {string} [
|
|
311
|
-
* @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>
|
|
312
|
-
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
291
|
+
* @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>
|
|
292
|
+
* @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>
|
|
313
293
|
* @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>
|
|
314
294
|
* @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>
|
|
315
|
-
* @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>
|
|
316
295
|
* @param {*} [options] Override http request option.
|
|
317
296
|
* @throws {RequiredError}
|
|
318
297
|
*/
|
|
319
|
-
listPayments(authorization?: string,
|
|
320
|
-
return localVarFp.listPayments(authorization,
|
|
298
|
+
listPayments(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListPaymentsResponseClass> {
|
|
299
|
+
return localVarFp.listPayments(authorization, filter, filters, order, expand, options).then((request) => request(axios, basePath));
|
|
321
300
|
},
|
|
322
301
|
};
|
|
323
302
|
};
|
|
@@ -392,32 +371,18 @@ export interface PaymentsApiListPaymentsRequest {
|
|
|
392
371
|
readonly authorization?: string
|
|
393
372
|
|
|
394
373
|
/**
|
|
395
|
-
*
|
|
396
|
-
* @type {number}
|
|
397
|
-
* @memberof PaymentsApiListPayments
|
|
398
|
-
*/
|
|
399
|
-
readonly pageSize?: number
|
|
400
|
-
|
|
401
|
-
/**
|
|
402
|
-
* 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.
|
|
403
|
-
* @type {string}
|
|
404
|
-
* @memberof PaymentsApiListPayments
|
|
405
|
-
*/
|
|
406
|
-
readonly pageToken?: string
|
|
407
|
-
|
|
408
|
-
/**
|
|
409
|
-
* 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>
|
|
374
|
+
* 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>
|
|
410
375
|
* @type {string}
|
|
411
376
|
* @memberof PaymentsApiListPayments
|
|
412
377
|
*/
|
|
413
378
|
readonly filter?: string
|
|
414
379
|
|
|
415
380
|
/**
|
|
416
|
-
*
|
|
381
|
+
* 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>
|
|
417
382
|
* @type {string}
|
|
418
383
|
* @memberof PaymentsApiListPayments
|
|
419
384
|
*/
|
|
420
|
-
readonly
|
|
385
|
+
readonly filters?: string
|
|
421
386
|
|
|
422
387
|
/**
|
|
423
388
|
* 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>
|
|
@@ -432,13 +397,6 @@ export interface PaymentsApiListPaymentsRequest {
|
|
|
432
397
|
* @memberof PaymentsApiListPayments
|
|
433
398
|
*/
|
|
434
399
|
readonly expand?: string
|
|
435
|
-
|
|
436
|
-
/**
|
|
437
|
-
* 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>
|
|
438
|
-
* @type {string}
|
|
439
|
-
* @memberof PaymentsApiListPayments
|
|
440
|
-
*/
|
|
441
|
-
readonly filters?: string
|
|
442
400
|
}
|
|
443
401
|
|
|
444
402
|
/**
|
|
@@ -481,6 +439,6 @@ export class PaymentsApi extends BaseAPI {
|
|
|
481
439
|
* @memberof PaymentsApi
|
|
482
440
|
*/
|
|
483
441
|
public listPayments(requestParameters: PaymentsApiListPaymentsRequest = {}, options?: AxiosRequestConfig) {
|
|
484
|
-
return PaymentsApiFp(this.configuration).listPayments(requestParameters.authorization, requestParameters.
|
|
442
|
+
return PaymentsApiFp(this.configuration).listPayments(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
485
443
|
}
|
|
486
444
|
}
|
package/api/refunds-api.ts
CHANGED
|
@@ -135,17 +135,15 @@ export const RefundsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
135
135
|
* 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\"
|
|
136
136
|
* @summary List refunds
|
|
137
137
|
* @param {string} [authorization] Bearer Token
|
|
138
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
139
|
-
* @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.
|
|
140
138
|
* @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>
|
|
139
|
+
* @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>
|
|
141
140
|
* @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>
|
|
142
141
|
* @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>
|
|
143
142
|
* @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>
|
|
144
|
-
* @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
143
|
* @param {*} [options] Override http request option.
|
|
146
144
|
* @throws {RequiredError}
|
|
147
145
|
*/
|
|
148
|
-
listRefunds: async (authorization?: string,
|
|
146
|
+
listRefunds: async (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
149
147
|
const localVarPath = `/paymentservice/v1/refunds`;
|
|
150
148
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
151
149
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -164,18 +162,14 @@ export const RefundsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
164
162
|
// http bearer authentication required
|
|
165
163
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
166
164
|
|
|
167
|
-
if (pageSize !== undefined) {
|
|
168
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
if (pageToken !== undefined) {
|
|
172
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
165
|
if (filter !== undefined) {
|
|
176
166
|
localVarQueryParameter['filter'] = filter;
|
|
177
167
|
}
|
|
178
168
|
|
|
169
|
+
if (filters !== undefined) {
|
|
170
|
+
localVarQueryParameter['filters'] = filters;
|
|
171
|
+
}
|
|
172
|
+
|
|
179
173
|
if (search !== undefined) {
|
|
180
174
|
localVarQueryParameter['search'] = search;
|
|
181
175
|
}
|
|
@@ -188,10 +182,6 @@ export const RefundsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
188
182
|
localVarQueryParameter['expand'] = expand;
|
|
189
183
|
}
|
|
190
184
|
|
|
191
|
-
if (filters !== undefined) {
|
|
192
|
-
localVarQueryParameter['filters'] = filters;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
185
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
196
186
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
197
187
|
}
|
|
@@ -246,18 +236,16 @@ export const RefundsApiFp = function(configuration?: Configuration) {
|
|
|
246
236
|
* 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\"
|
|
247
237
|
* @summary List refunds
|
|
248
238
|
* @param {string} [authorization] Bearer Token
|
|
249
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
250
|
-
* @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.
|
|
251
239
|
* @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>
|
|
240
|
+
* @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>
|
|
252
241
|
* @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>
|
|
253
242
|
* @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>
|
|
254
243
|
* @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>
|
|
255
|
-
* @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
244
|
* @param {*} [options] Override http request option.
|
|
257
245
|
* @throws {RequiredError}
|
|
258
246
|
*/
|
|
259
|
-
async listRefunds(authorization?: string,
|
|
260
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listRefunds(authorization,
|
|
247
|
+
async listRefunds(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListRefundsResponseClass>> {
|
|
248
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listRefunds(authorization, filter, filters, search, order, expand, options);
|
|
261
249
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
262
250
|
},
|
|
263
251
|
}
|
|
@@ -297,18 +285,16 @@ export const RefundsApiFactory = function (configuration?: Configuration, basePa
|
|
|
297
285
|
* 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\"
|
|
298
286
|
* @summary List refunds
|
|
299
287
|
* @param {string} [authorization] Bearer Token
|
|
300
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
301
|
-
* @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.
|
|
302
288
|
* @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>
|
|
289
|
+
* @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>
|
|
303
290
|
* @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>
|
|
304
291
|
* @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>
|
|
305
292
|
* @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>
|
|
306
|
-
* @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
293
|
* @param {*} [options] Override http request option.
|
|
308
294
|
* @throws {RequiredError}
|
|
309
295
|
*/
|
|
310
|
-
listRefunds(authorization?: string,
|
|
311
|
-
return localVarFp.listRefunds(authorization,
|
|
296
|
+
listRefunds(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListRefundsResponseClass> {
|
|
297
|
+
return localVarFp.listRefunds(authorization, filter, filters, search, order, expand, options).then((request) => request(axios, basePath));
|
|
312
298
|
},
|
|
313
299
|
};
|
|
314
300
|
};
|
|
@@ -376,25 +362,18 @@ export interface RefundsApiListRefundsRequest {
|
|
|
376
362
|
readonly authorization?: string
|
|
377
363
|
|
|
378
364
|
/**
|
|
379
|
-
*
|
|
380
|
-
* @type {number}
|
|
381
|
-
* @memberof RefundsApiListRefunds
|
|
382
|
-
*/
|
|
383
|
-
readonly pageSize?: number
|
|
384
|
-
|
|
385
|
-
/**
|
|
386
|
-
* 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.
|
|
365
|
+
* 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>
|
|
387
366
|
* @type {string}
|
|
388
367
|
* @memberof RefundsApiListRefunds
|
|
389
368
|
*/
|
|
390
|
-
readonly
|
|
369
|
+
readonly filter?: string
|
|
391
370
|
|
|
392
371
|
/**
|
|
393
|
-
*
|
|
372
|
+
* 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>
|
|
394
373
|
* @type {string}
|
|
395
374
|
* @memberof RefundsApiListRefunds
|
|
396
375
|
*/
|
|
397
|
-
readonly
|
|
376
|
+
readonly filters?: string
|
|
398
377
|
|
|
399
378
|
/**
|
|
400
379
|
* 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>
|
|
@@ -416,13 +395,6 @@ export interface RefundsApiListRefundsRequest {
|
|
|
416
395
|
* @memberof RefundsApiListRefunds
|
|
417
396
|
*/
|
|
418
397
|
readonly expand?: string
|
|
419
|
-
|
|
420
|
-
/**
|
|
421
|
-
* 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>
|
|
422
|
-
* @type {string}
|
|
423
|
-
* @memberof RefundsApiListRefunds
|
|
424
|
-
*/
|
|
425
|
-
readonly filters?: string
|
|
426
398
|
}
|
|
427
399
|
|
|
428
400
|
/**
|
|
@@ -465,6 +437,6 @@ export class RefundsApi extends BaseAPI {
|
|
|
465
437
|
* @memberof RefundsApi
|
|
466
438
|
*/
|
|
467
439
|
public listRefunds(requestParameters: RefundsApiListRefundsRequest = {}, options?: AxiosRequestConfig) {
|
|
468
|
-
return RefundsApiFp(this.configuration).listRefunds(requestParameters.authorization, requestParameters.
|
|
440
|
+
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));
|
|
469
441
|
}
|
|
470
442
|
}
|