@emilgroup/payment-sdk 1.4.1-beta.0 → 1.4.1-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +20 -6
- package/api/bank-transaction-api.ts +20 -6
- package/api/payment-methods-api.ts +20 -6
- package/api/payment-reminders-api.ts +20 -6
- package/api/payments-api.ts +20 -6
- package/api/refunds-api.ts +20 -6
- package/api/tenant-bank-account-api.ts +20 -6
- package/dist/api/bank-accounts-api.d.ts +12 -3
- package/dist/api/bank-accounts-api.js +12 -6
- package/dist/api/bank-transaction-api.d.ts +12 -3
- package/dist/api/bank-transaction-api.js +12 -6
- package/dist/api/payment-methods-api.d.ts +12 -3
- package/dist/api/payment-methods-api.js +12 -6
- package/dist/api/payment-reminders-api.d.ts +12 -3
- package/dist/api/payment-reminders-api.js +12 -6
- package/dist/api/payments-api.d.ts +12 -3
- package/dist/api/payments-api.js +12 -6
- package/dist/api/refunds-api.d.ts +12 -3
- package/dist/api/refunds-api.js +12 -6
- package/dist/api/tenant-bank-account-api.d.ts +12 -3
- package/dist/api/tenant-bank-account-api.js +12 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/payment-sdk@1.4.1-beta.
|
|
20
|
+
npm install @emilgroup/payment-sdk@1.4.1-beta.2 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/payment-sdk@1.4.1-beta.
|
|
24
|
+
yarn add @emilgroup/payment-sdk@1.4.1-beta.2
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PaymentsApi`.
|
package/api/bank-accounts-api.ts
CHANGED
|
@@ -83,10 +83,11 @@ export const BankAccountsApiAxiosParamCreator = function (configuration?: Config
|
|
|
83
83
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
84
84
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
85
85
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
86
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
86
87
|
* @param {*} [options] Override http request option.
|
|
87
88
|
* @throws {RequiredError}
|
|
88
89
|
*/
|
|
89
|
-
listBankAccounts: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
90
|
+
listBankAccounts: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
90
91
|
const localVarPath = `/paymentservice/v1/bank-accounts`;
|
|
91
92
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
92
93
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -129,6 +130,10 @@ export const BankAccountsApiAxiosParamCreator = function (configuration?: Config
|
|
|
129
130
|
localVarQueryParameter['expand'] = expand;
|
|
130
131
|
}
|
|
131
132
|
|
|
133
|
+
if (filters !== undefined) {
|
|
134
|
+
localVarQueryParameter['filters'] = filters;
|
|
135
|
+
}
|
|
136
|
+
|
|
132
137
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
133
138
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
134
139
|
}
|
|
@@ -176,11 +181,12 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
|
|
|
176
181
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
177
182
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
178
183
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
184
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
179
185
|
* @param {*} [options] Override http request option.
|
|
180
186
|
* @throws {RequiredError}
|
|
181
187
|
*/
|
|
182
|
-
async listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
183
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
188
|
+
async listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
189
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
184
190
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
185
191
|
},
|
|
186
192
|
}
|
|
@@ -214,11 +220,12 @@ export const BankAccountsApiFactory = function (configuration?: Configuration, b
|
|
|
214
220
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
215
221
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
216
222
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
223
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
217
224
|
* @param {*} [options] Override http request option.
|
|
218
225
|
* @throws {RequiredError}
|
|
219
226
|
*/
|
|
220
|
-
listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<void> {
|
|
221
|
-
return localVarFp.listBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
227
|
+
listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<void> {
|
|
228
|
+
return localVarFp.listBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
222
229
|
},
|
|
223
230
|
};
|
|
224
231
|
};
|
|
@@ -298,6 +305,13 @@ export interface BankAccountsApiListBankAccountsRequest {
|
|
|
298
305
|
* @memberof BankAccountsApiListBankAccounts
|
|
299
306
|
*/
|
|
300
307
|
readonly expand?: any
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
311
|
+
* @type {any}
|
|
312
|
+
* @memberof BankAccountsApiListBankAccounts
|
|
313
|
+
*/
|
|
314
|
+
readonly filters?: any
|
|
301
315
|
}
|
|
302
316
|
|
|
303
317
|
/**
|
|
@@ -328,6 +342,6 @@ export class BankAccountsApi extends BaseAPI {
|
|
|
328
342
|
* @memberof BankAccountsApi
|
|
329
343
|
*/
|
|
330
344
|
public listBankAccounts(requestParameters: BankAccountsApiListBankAccountsRequest = {}, options?: AxiosRequestConfig) {
|
|
331
|
-
return BankAccountsApiFp(this.configuration).listBankAccounts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
345
|
+
return BankAccountsApiFp(this.configuration).listBankAccounts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
332
346
|
}
|
|
333
347
|
}
|
|
@@ -185,10 +185,11 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
185
185
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
186
186
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
187
187
|
* @param {string} [expand] Expand the response with additional entities
|
|
188
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
188
189
|
* @param {*} [options] Override http request option.
|
|
189
190
|
* @throws {RequiredError}
|
|
190
191
|
*/
|
|
191
|
-
listBankTransactions: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
192
|
+
listBankTransactions: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
192
193
|
const localVarPath = `/paymentservice/v1/tenant/bank-transactions`;
|
|
193
194
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
194
195
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -231,6 +232,10 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
231
232
|
localVarQueryParameter['expand'] = expand;
|
|
232
233
|
}
|
|
233
234
|
|
|
235
|
+
if (filters !== undefined) {
|
|
236
|
+
localVarQueryParameter['filters'] = filters;
|
|
237
|
+
}
|
|
238
|
+
|
|
234
239
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
235
240
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
236
241
|
}
|
|
@@ -348,11 +353,12 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
|
|
|
348
353
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
349
354
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
350
355
|
* @param {string} [expand] Expand the response with additional entities
|
|
356
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
351
357
|
* @param {*} [options] Override http request option.
|
|
352
358
|
* @throws {RequiredError}
|
|
353
359
|
*/
|
|
354
|
-
async listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
355
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
360
|
+
async listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
361
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
356
362
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
357
363
|
},
|
|
358
364
|
/**
|
|
@@ -421,11 +427,12 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
|
|
|
421
427
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
422
428
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
423
429
|
* @param {string} [expand] Expand the response with additional entities
|
|
430
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
424
431
|
* @param {*} [options] Override http request option.
|
|
425
432
|
* @throws {RequiredError}
|
|
426
433
|
*/
|
|
427
|
-
listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, options?: any): AxiosPromise<void> {
|
|
428
|
-
return localVarFp.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
434
|
+
listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options?: any): AxiosPromise<void> {
|
|
435
|
+
return localVarFp.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
429
436
|
},
|
|
430
437
|
/**
|
|
431
438
|
* Unlinks an already linked bank transaction
|
|
@@ -565,6 +572,13 @@ export interface BankTransactionApiListBankTransactionsRequest {
|
|
|
565
572
|
* @memberof BankTransactionApiListBankTransactions
|
|
566
573
|
*/
|
|
567
574
|
readonly expand?: string
|
|
575
|
+
|
|
576
|
+
/**
|
|
577
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
578
|
+
* @type {any}
|
|
579
|
+
* @memberof BankTransactionApiListBankTransactions
|
|
580
|
+
*/
|
|
581
|
+
readonly filters?: any
|
|
568
582
|
}
|
|
569
583
|
|
|
570
584
|
/**
|
|
@@ -640,7 +654,7 @@ export class BankTransactionApi extends BaseAPI {
|
|
|
640
654
|
* @memberof BankTransactionApi
|
|
641
655
|
*/
|
|
642
656
|
public listBankTransactions(requestParameters: BankTransactionApiListBankTransactionsRequest = {}, options?: AxiosRequestConfig) {
|
|
643
|
-
return BankTransactionApiFp(this.configuration).listBankTransactions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
657
|
+
return BankTransactionApiFp(this.configuration).listBankTransactions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
644
658
|
}
|
|
645
659
|
|
|
646
660
|
/**
|
|
@@ -193,10 +193,11 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
193
193
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
194
194
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
195
195
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
196
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
196
197
|
* @param {*} [options] Override http request option.
|
|
197
198
|
* @throws {RequiredError}
|
|
198
199
|
*/
|
|
199
|
-
listPaymentMethods: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
200
|
+
listPaymentMethods: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
200
201
|
const localVarPath = `/paymentservice/v1/payment-methods`;
|
|
201
202
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
202
203
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -239,6 +240,10 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
239
240
|
localVarQueryParameter['expand'] = expand;
|
|
240
241
|
}
|
|
241
242
|
|
|
243
|
+
if (filters !== undefined) {
|
|
244
|
+
localVarQueryParameter['filters'] = filters;
|
|
245
|
+
}
|
|
246
|
+
|
|
242
247
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
243
248
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
244
249
|
}
|
|
@@ -312,11 +317,12 @@ export const PaymentMethodsApiFp = function(configuration?: Configuration) {
|
|
|
312
317
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
313
318
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
314
319
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
320
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
315
321
|
* @param {*} [options] Override http request option.
|
|
316
322
|
* @throws {RequiredError}
|
|
317
323
|
*/
|
|
318
|
-
async listPaymentMethods(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
319
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
324
|
+
async listPaymentMethods(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
325
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
320
326
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
321
327
|
},
|
|
322
328
|
}
|
|
@@ -374,11 +380,12 @@ export const PaymentMethodsApiFactory = function (configuration?: Configuration,
|
|
|
374
380
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
375
381
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
376
382
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
383
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
377
384
|
* @param {*} [options] Override http request option.
|
|
378
385
|
* @throws {RequiredError}
|
|
379
386
|
*/
|
|
380
|
-
listPaymentMethods(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<void> {
|
|
381
|
-
return localVarFp.listPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
387
|
+
listPaymentMethods(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<void> {
|
|
388
|
+
return localVarFp.listPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
382
389
|
},
|
|
383
390
|
};
|
|
384
391
|
};
|
|
@@ -514,6 +521,13 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
|
|
|
514
521
|
* @memberof PaymentMethodsApiListPaymentMethods
|
|
515
522
|
*/
|
|
516
523
|
readonly expand?: any
|
|
524
|
+
|
|
525
|
+
/**
|
|
526
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
527
|
+
* @type {any}
|
|
528
|
+
* @memberof PaymentMethodsApiListPaymentMethods
|
|
529
|
+
*/
|
|
530
|
+
readonly filters?: any
|
|
517
531
|
}
|
|
518
532
|
|
|
519
533
|
/**
|
|
@@ -568,6 +582,6 @@ export class PaymentMethodsApi extends BaseAPI {
|
|
|
568
582
|
* @memberof PaymentMethodsApi
|
|
569
583
|
*/
|
|
570
584
|
public listPaymentMethods(requestParameters: PaymentMethodsApiListPaymentMethodsRequest = {}, options?: AxiosRequestConfig) {
|
|
571
|
-
return PaymentMethodsApiFp(this.configuration).listPaymentMethods(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
585
|
+
return PaymentMethodsApiFp(this.configuration).listPaymentMethods(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
572
586
|
}
|
|
573
587
|
}
|
|
@@ -183,10 +183,11 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
|
|
|
183
183
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
184
184
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
185
185
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
186
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
186
187
|
* @param {*} [options] Override http request option.
|
|
187
188
|
* @throws {RequiredError}
|
|
188
189
|
*/
|
|
189
|
-
listPaymentReminders: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
190
|
+
listPaymentReminders: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
190
191
|
const localVarPath = `/paymentservice/v1/payment-reminders`;
|
|
191
192
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
192
193
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -229,6 +230,10 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
|
|
|
229
230
|
localVarQueryParameter['expand'] = expand;
|
|
230
231
|
}
|
|
231
232
|
|
|
233
|
+
if (filters !== undefined) {
|
|
234
|
+
localVarQueryParameter['filters'] = filters;
|
|
235
|
+
}
|
|
236
|
+
|
|
232
237
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
233
238
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
234
239
|
}
|
|
@@ -301,11 +306,12 @@ export const PaymentRemindersApiFp = function(configuration?: Configuration) {
|
|
|
301
306
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
302
307
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
303
308
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
309
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
304
310
|
* @param {*} [options] Override http request option.
|
|
305
311
|
* @throws {RequiredError}
|
|
306
312
|
*/
|
|
307
|
-
async listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
308
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentReminders(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
313
|
+
async listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
314
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentReminders(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
309
315
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
310
316
|
},
|
|
311
317
|
}
|
|
@@ -362,11 +368,12 @@ export const PaymentRemindersApiFactory = function (configuration?: Configuratio
|
|
|
362
368
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
363
369
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
364
370
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
371
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
365
372
|
* @param {*} [options] Override http request option.
|
|
366
373
|
* @throws {RequiredError}
|
|
367
374
|
*/
|
|
368
|
-
listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<void> {
|
|
369
|
-
return localVarFp.listPaymentReminders(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
375
|
+
listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<void> {
|
|
376
|
+
return localVarFp.listPaymentReminders(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
370
377
|
},
|
|
371
378
|
};
|
|
372
379
|
};
|
|
@@ -495,6 +502,13 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
|
|
|
495
502
|
* @memberof PaymentRemindersApiListPaymentReminders
|
|
496
503
|
*/
|
|
497
504
|
readonly expand?: any
|
|
505
|
+
|
|
506
|
+
/**
|
|
507
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
508
|
+
* @type {any}
|
|
509
|
+
* @memberof PaymentRemindersApiListPaymentReminders
|
|
510
|
+
*/
|
|
511
|
+
readonly filters?: any
|
|
498
512
|
}
|
|
499
513
|
|
|
500
514
|
/**
|
|
@@ -549,6 +563,6 @@ export class PaymentRemindersApi extends BaseAPI {
|
|
|
549
563
|
* @memberof PaymentRemindersApi
|
|
550
564
|
*/
|
|
551
565
|
public listPaymentReminders(requestParameters: PaymentRemindersApiListPaymentRemindersRequest = {}, options?: AxiosRequestConfig) {
|
|
552
|
-
return PaymentRemindersApiFp(this.configuration).listPaymentReminders(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
566
|
+
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));
|
|
553
567
|
}
|
|
554
568
|
}
|
package/api/payments-api.ts
CHANGED
|
@@ -154,10 +154,11 @@ export const PaymentsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
154
154
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
155
155
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
156
156
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
157
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
157
158
|
* @param {*} [options] Override http request option.
|
|
158
159
|
* @throws {RequiredError}
|
|
159
160
|
*/
|
|
160
|
-
listPayments: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
161
|
+
listPayments: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
161
162
|
const localVarPath = `/paymentservice/v1/payments`;
|
|
162
163
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
163
164
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -200,6 +201,10 @@ export const PaymentsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
200
201
|
localVarQueryParameter['expand'] = expand;
|
|
201
202
|
}
|
|
202
203
|
|
|
204
|
+
if (filters !== undefined) {
|
|
205
|
+
localVarQueryParameter['filters'] = filters;
|
|
206
|
+
}
|
|
207
|
+
|
|
203
208
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
204
209
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
205
210
|
}
|
|
@@ -262,11 +267,12 @@ export const PaymentsApiFp = function(configuration?: Configuration) {
|
|
|
262
267
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
263
268
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
264
269
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
270
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
265
271
|
* @param {*} [options] Override http request option.
|
|
266
272
|
* @throws {RequiredError}
|
|
267
273
|
*/
|
|
268
|
-
async listPayments(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
269
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPayments(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
274
|
+
async listPayments(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
275
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPayments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
270
276
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
271
277
|
},
|
|
272
278
|
}
|
|
@@ -314,11 +320,12 @@ export const PaymentsApiFactory = function (configuration?: Configuration, baseP
|
|
|
314
320
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
315
321
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
316
322
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
323
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
317
324
|
* @param {*} [options] Override http request option.
|
|
318
325
|
* @throws {RequiredError}
|
|
319
326
|
*/
|
|
320
|
-
listPayments(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<void> {
|
|
321
|
-
return localVarFp.listPayments(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
327
|
+
listPayments(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<void> {
|
|
328
|
+
return localVarFp.listPayments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
322
329
|
},
|
|
323
330
|
};
|
|
324
331
|
};
|
|
@@ -440,6 +447,13 @@ export interface PaymentsApiListPaymentsRequest {
|
|
|
440
447
|
* @memberof PaymentsApiListPayments
|
|
441
448
|
*/
|
|
442
449
|
readonly expand?: any
|
|
450
|
+
|
|
451
|
+
/**
|
|
452
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
453
|
+
* @type {any}
|
|
454
|
+
* @memberof PaymentsApiListPayments
|
|
455
|
+
*/
|
|
456
|
+
readonly filters?: any
|
|
443
457
|
}
|
|
444
458
|
|
|
445
459
|
/**
|
|
@@ -482,6 +496,6 @@ export class PaymentsApi extends BaseAPI {
|
|
|
482
496
|
* @memberof PaymentsApi
|
|
483
497
|
*/
|
|
484
498
|
public listPayments(requestParameters: PaymentsApiListPaymentsRequest = {}, options?: AxiosRequestConfig) {
|
|
485
|
-
return PaymentsApiFp(this.configuration).listPayments(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
499
|
+
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));
|
|
486
500
|
}
|
|
487
501
|
}
|
package/api/refunds-api.ts
CHANGED
|
@@ -147,10 +147,11 @@ export const RefundsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
147
147
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
148
148
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
149
149
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
150
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
150
151
|
* @param {*} [options] Override http request option.
|
|
151
152
|
* @throws {RequiredError}
|
|
152
153
|
*/
|
|
153
|
-
listRefunds: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
154
|
+
listRefunds: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
154
155
|
const localVarPath = `/paymentservice/v1/refunds`;
|
|
155
156
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
156
157
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -193,6 +194,10 @@ export const RefundsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
193
194
|
localVarQueryParameter['expand'] = expand;
|
|
194
195
|
}
|
|
195
196
|
|
|
197
|
+
if (filters !== undefined) {
|
|
198
|
+
localVarQueryParameter['filters'] = filters;
|
|
199
|
+
}
|
|
200
|
+
|
|
196
201
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
197
202
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
198
203
|
}
|
|
@@ -251,11 +256,12 @@ export const RefundsApiFp = function(configuration?: Configuration) {
|
|
|
251
256
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
252
257
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
253
258
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
259
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
254
260
|
* @param {*} [options] Override http request option.
|
|
255
261
|
* @throws {RequiredError}
|
|
256
262
|
*/
|
|
257
|
-
async listRefunds(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListRefundsResponseClass>> {
|
|
258
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listRefunds(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
263
|
+
async listRefunds(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListRefundsResponseClass>> {
|
|
264
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listRefunds(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
259
265
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
260
266
|
},
|
|
261
267
|
}
|
|
@@ -299,11 +305,12 @@ export const RefundsApiFactory = function (configuration?: Configuration, basePa
|
|
|
299
305
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
300
306
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
301
307
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
308
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
302
309
|
* @param {*} [options] Override http request option.
|
|
303
310
|
* @throws {RequiredError}
|
|
304
311
|
*/
|
|
305
|
-
listRefunds(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListRefundsResponseClass> {
|
|
306
|
-
return localVarFp.listRefunds(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
312
|
+
listRefunds(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListRefundsResponseClass> {
|
|
313
|
+
return localVarFp.listRefunds(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
307
314
|
},
|
|
308
315
|
};
|
|
309
316
|
};
|
|
@@ -418,6 +425,13 @@ export interface RefundsApiListRefundsRequest {
|
|
|
418
425
|
* @memberof RefundsApiListRefunds
|
|
419
426
|
*/
|
|
420
427
|
readonly expand?: any
|
|
428
|
+
|
|
429
|
+
/**
|
|
430
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
431
|
+
* @type {any}
|
|
432
|
+
* @memberof RefundsApiListRefunds
|
|
433
|
+
*/
|
|
434
|
+
readonly filters?: any
|
|
421
435
|
}
|
|
422
436
|
|
|
423
437
|
/**
|
|
@@ -457,6 +471,6 @@ export class RefundsApi extends BaseAPI {
|
|
|
457
471
|
* @memberof RefundsApi
|
|
458
472
|
*/
|
|
459
473
|
public listRefunds(requestParameters: RefundsApiListRefundsRequest = {}, options?: AxiosRequestConfig) {
|
|
460
|
-
return RefundsApiFp(this.configuration).listRefunds(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
474
|
+
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));
|
|
461
475
|
}
|
|
462
476
|
}
|
|
@@ -180,10 +180,11 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
|
|
|
180
180
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
181
181
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
182
182
|
* @param {string} [expand] Expand the response with additional entities
|
|
183
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
183
184
|
* @param {*} [options] Override http request option.
|
|
184
185
|
* @throws {RequiredError}
|
|
185
186
|
*/
|
|
186
|
-
listTenantBankAccounts: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
187
|
+
listTenantBankAccounts: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
187
188
|
const localVarPath = `/paymentservice/v1/tenant/bank-accounts`;
|
|
188
189
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
189
190
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -226,6 +227,10 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
|
|
|
226
227
|
localVarQueryParameter['expand'] = expand;
|
|
227
228
|
}
|
|
228
229
|
|
|
230
|
+
if (filters !== undefined) {
|
|
231
|
+
localVarQueryParameter['filters'] = filters;
|
|
232
|
+
}
|
|
233
|
+
|
|
229
234
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
230
235
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
231
236
|
}
|
|
@@ -344,11 +349,12 @@ export const TenantBankAccountApiFp = function(configuration?: Configuration) {
|
|
|
344
349
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
345
350
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
346
351
|
* @param {string} [expand] Expand the response with additional entities
|
|
352
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
347
353
|
* @param {*} [options] Override http request option.
|
|
348
354
|
* @throws {RequiredError}
|
|
349
355
|
*/
|
|
350
|
-
async listTenantBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
351
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listTenantBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
356
|
+
async listTenantBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
357
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listTenantBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
352
358
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
353
359
|
},
|
|
354
360
|
/**
|
|
@@ -413,11 +419,12 @@ export const TenantBankAccountApiFactory = function (configuration?: Configurati
|
|
|
413
419
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
414
420
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
415
421
|
* @param {string} [expand] Expand the response with additional entities
|
|
422
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
416
423
|
* @param {*} [options] Override http request option.
|
|
417
424
|
* @throws {RequiredError}
|
|
418
425
|
*/
|
|
419
|
-
listTenantBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, options?: any): AxiosPromise<void> {
|
|
420
|
-
return localVarFp.listTenantBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
426
|
+
listTenantBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options?: any): AxiosPromise<void> {
|
|
427
|
+
return localVarFp.listTenantBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
421
428
|
},
|
|
422
429
|
/**
|
|
423
430
|
*
|
|
@@ -557,6 +564,13 @@ export interface TenantBankAccountApiListTenantBankAccountsRequest {
|
|
|
557
564
|
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
558
565
|
*/
|
|
559
566
|
readonly expand?: string
|
|
567
|
+
|
|
568
|
+
/**
|
|
569
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
570
|
+
* @type {any}
|
|
571
|
+
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
572
|
+
*/
|
|
573
|
+
readonly filters?: any
|
|
560
574
|
}
|
|
561
575
|
|
|
562
576
|
/**
|
|
@@ -635,7 +649,7 @@ export class TenantBankAccountApi extends BaseAPI {
|
|
|
635
649
|
* @memberof TenantBankAccountApi
|
|
636
650
|
*/
|
|
637
651
|
public listTenantBankAccounts(requestParameters: TenantBankAccountApiListTenantBankAccountsRequest = {}, options?: AxiosRequestConfig) {
|
|
638
|
-
return TenantBankAccountApiFp(this.configuration).listTenantBankAccounts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
652
|
+
return TenantBankAccountApiFp(this.configuration).listTenantBankAccounts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
639
653
|
}
|
|
640
654
|
|
|
641
655
|
/**
|