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