@emilgroup/payment-sdk-node 1.13.1-beta.0 → 1.13.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-node@1.13.1-beta.
|
|
20
|
+
npm install @emilgroup/payment-sdk-node@1.13.1-beta.2 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/payment-sdk-node@1.13.1-beta.
|
|
24
|
+
yarn add @emilgroup/payment-sdk-node@1.13.1-beta.2
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PaymentsApi`.
|
package/api/bank-accounts-api.ts
CHANGED
|
@@ -87,10 +87,11 @@ export const BankAccountsApiAxiosParamCreator = function (configuration?: Config
|
|
|
87
87
|
* @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.
|
|
88
88
|
* @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.
|
|
89
89
|
* @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.
|
|
90
|
+
* @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.
|
|
90
91
|
* @param {*} [options] Override http request option.
|
|
91
92
|
* @throws {RequiredError}
|
|
92
93
|
*/
|
|
93
|
-
listBankAccounts: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
94
|
+
listBankAccounts: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
94
95
|
const localVarPath = `/paymentservice/v1/bank-accounts`;
|
|
95
96
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
96
97
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -133,6 +134,10 @@ export const BankAccountsApiAxiosParamCreator = function (configuration?: Config
|
|
|
133
134
|
localVarQueryParameter['expand'] = expand;
|
|
134
135
|
}
|
|
135
136
|
|
|
137
|
+
if (filters !== undefined) {
|
|
138
|
+
localVarQueryParameter['filters'] = filters;
|
|
139
|
+
}
|
|
140
|
+
|
|
136
141
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
137
142
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
138
143
|
}
|
|
@@ -180,11 +185,12 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
|
|
|
180
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.
|
|
181
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.
|
|
182
187
|
* @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.
|
|
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.
|
|
183
189
|
* @param {*} [options] Override http request option.
|
|
184
190
|
* @throws {RequiredError}
|
|
185
191
|
*/
|
|
186
|
-
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>> {
|
|
187
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
192
|
+
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>> {
|
|
193
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
188
194
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
189
195
|
},
|
|
190
196
|
}
|
|
@@ -218,11 +224,12 @@ export const BankAccountsApiFactory = function (configuration?: Configuration, b
|
|
|
218
224
|
* @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.
|
|
219
225
|
* @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.
|
|
220
226
|
* @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.
|
|
227
|
+
* @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.
|
|
221
228
|
* @param {*} [options] Override http request option.
|
|
222
229
|
* @throws {RequiredError}
|
|
223
230
|
*/
|
|
224
|
-
listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<void> {
|
|
225
|
-
return localVarFp.listBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
231
|
+
listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<void> {
|
|
232
|
+
return localVarFp.listBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
226
233
|
},
|
|
227
234
|
};
|
|
228
235
|
};
|
|
@@ -302,6 +309,13 @@ export interface BankAccountsApiListBankAccountsRequest {
|
|
|
302
309
|
* @memberof BankAccountsApiListBankAccounts
|
|
303
310
|
*/
|
|
304
311
|
readonly expand?: any
|
|
312
|
+
|
|
313
|
+
/**
|
|
314
|
+
* 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
|
+
* @type {any}
|
|
316
|
+
* @memberof BankAccountsApiListBankAccounts
|
|
317
|
+
*/
|
|
318
|
+
readonly filters?: any
|
|
305
319
|
}
|
|
306
320
|
|
|
307
321
|
/**
|
|
@@ -332,6 +346,6 @@ export class BankAccountsApi extends BaseAPI {
|
|
|
332
346
|
* @memberof BankAccountsApi
|
|
333
347
|
*/
|
|
334
348
|
public listBankAccounts(requestParameters: BankAccountsApiListBankAccountsRequest = {}, options?: AxiosRequestConfig) {
|
|
335
|
-
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));
|
|
349
|
+
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));
|
|
336
350
|
}
|
|
337
351
|
}
|
|
@@ -189,10 +189,11 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
189
189
|
* @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.
|
|
190
190
|
* @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.
|
|
191
191
|
* @param {string} [expand] Expand the response with additional entities
|
|
192
|
+
* @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.
|
|
192
193
|
* @param {*} [options] Override http request option.
|
|
193
194
|
* @throws {RequiredError}
|
|
194
195
|
*/
|
|
195
|
-
listBankTransactions: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
196
|
+
listBankTransactions: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
196
197
|
const localVarPath = `/paymentservice/v1/tenant/bank-transactions`;
|
|
197
198
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
198
199
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -235,6 +236,10 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
235
236
|
localVarQueryParameter['expand'] = expand;
|
|
236
237
|
}
|
|
237
238
|
|
|
239
|
+
if (filters !== undefined) {
|
|
240
|
+
localVarQueryParameter['filters'] = filters;
|
|
241
|
+
}
|
|
242
|
+
|
|
238
243
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
239
244
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
240
245
|
}
|
|
@@ -352,11 +357,12 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
|
|
|
352
357
|
* @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.
|
|
353
358
|
* @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.
|
|
354
359
|
* @param {string} [expand] Expand the response with additional entities
|
|
360
|
+
* @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.
|
|
355
361
|
* @param {*} [options] Override http request option.
|
|
356
362
|
* @throws {RequiredError}
|
|
357
363
|
*/
|
|
358
|
-
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>> {
|
|
359
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
364
|
+
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>> {
|
|
365
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
360
366
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
361
367
|
},
|
|
362
368
|
/**
|
|
@@ -425,11 +431,12 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
|
|
|
425
431
|
* @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.
|
|
426
432
|
* @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.
|
|
427
433
|
* @param {string} [expand] Expand the response with additional entities
|
|
434
|
+
* @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.
|
|
428
435
|
* @param {*} [options] Override http request option.
|
|
429
436
|
* @throws {RequiredError}
|
|
430
437
|
*/
|
|
431
|
-
listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, options?: any): AxiosPromise<void> {
|
|
432
|
-
return localVarFp.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
438
|
+
listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options?: any): AxiosPromise<void> {
|
|
439
|
+
return localVarFp.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
433
440
|
},
|
|
434
441
|
/**
|
|
435
442
|
* Unlinks an already linked bank transaction
|
|
@@ -569,6 +576,13 @@ export interface BankTransactionApiListBankTransactionsRequest {
|
|
|
569
576
|
* @memberof BankTransactionApiListBankTransactions
|
|
570
577
|
*/
|
|
571
578
|
readonly expand?: string
|
|
579
|
+
|
|
580
|
+
/**
|
|
581
|
+
* 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.
|
|
582
|
+
* @type {any}
|
|
583
|
+
* @memberof BankTransactionApiListBankTransactions
|
|
584
|
+
*/
|
|
585
|
+
readonly filters?: any
|
|
572
586
|
}
|
|
573
587
|
|
|
574
588
|
/**
|
|
@@ -644,7 +658,7 @@ export class BankTransactionApi extends BaseAPI {
|
|
|
644
658
|
* @memberof BankTransactionApi
|
|
645
659
|
*/
|
|
646
660
|
public listBankTransactions(requestParameters: BankTransactionApiListBankTransactionsRequest = {}, options?: AxiosRequestConfig) {
|
|
647
|
-
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));
|
|
661
|
+
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));
|
|
648
662
|
}
|
|
649
663
|
|
|
650
664
|
/**
|
|
@@ -197,10 +197,11 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
197
197
|
* @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.
|
|
198
198
|
* @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.
|
|
199
199
|
* @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.
|
|
200
|
+
* @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.
|
|
200
201
|
* @param {*} [options] Override http request option.
|
|
201
202
|
* @throws {RequiredError}
|
|
202
203
|
*/
|
|
203
|
-
listPaymentMethods: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
204
|
+
listPaymentMethods: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
204
205
|
const localVarPath = `/paymentservice/v1/payment-methods`;
|
|
205
206
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
206
207
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -243,6 +244,10 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
243
244
|
localVarQueryParameter['expand'] = expand;
|
|
244
245
|
}
|
|
245
246
|
|
|
247
|
+
if (filters !== undefined) {
|
|
248
|
+
localVarQueryParameter['filters'] = filters;
|
|
249
|
+
}
|
|
250
|
+
|
|
246
251
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
247
252
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
248
253
|
}
|
|
@@ -316,11 +321,12 @@ export const PaymentMethodsApiFp = function(configuration?: Configuration) {
|
|
|
316
321
|
* @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.
|
|
317
322
|
* @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.
|
|
318
323
|
* @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.
|
|
324
|
+
* @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.
|
|
319
325
|
* @param {*} [options] Override http request option.
|
|
320
326
|
* @throws {RequiredError}
|
|
321
327
|
*/
|
|
322
|
-
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>> {
|
|
323
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
328
|
+
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>> {
|
|
329
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
324
330
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
325
331
|
},
|
|
326
332
|
}
|
|
@@ -378,11 +384,12 @@ export const PaymentMethodsApiFactory = function (configuration?: Configuration,
|
|
|
378
384
|
* @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.
|
|
379
385
|
* @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.
|
|
380
386
|
* @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.
|
|
387
|
+
* @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.
|
|
381
388
|
* @param {*} [options] Override http request option.
|
|
382
389
|
* @throws {RequiredError}
|
|
383
390
|
*/
|
|
384
|
-
listPaymentMethods(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<void> {
|
|
385
|
-
return localVarFp.listPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
391
|
+
listPaymentMethods(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<void> {
|
|
392
|
+
return localVarFp.listPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
386
393
|
},
|
|
387
394
|
};
|
|
388
395
|
};
|
|
@@ -518,6 +525,13 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
|
|
|
518
525
|
* @memberof PaymentMethodsApiListPaymentMethods
|
|
519
526
|
*/
|
|
520
527
|
readonly expand?: any
|
|
528
|
+
|
|
529
|
+
/**
|
|
530
|
+
* 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.
|
|
531
|
+
* @type {any}
|
|
532
|
+
* @memberof PaymentMethodsApiListPaymentMethods
|
|
533
|
+
*/
|
|
534
|
+
readonly filters?: any
|
|
521
535
|
}
|
|
522
536
|
|
|
523
537
|
/**
|
|
@@ -572,6 +586,6 @@ export class PaymentMethodsApi extends BaseAPI {
|
|
|
572
586
|
* @memberof PaymentMethodsApi
|
|
573
587
|
*/
|
|
574
588
|
public listPaymentMethods(requestParameters: PaymentMethodsApiListPaymentMethodsRequest = {}, options?: AxiosRequestConfig) {
|
|
575
|
-
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));
|
|
589
|
+
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));
|
|
576
590
|
}
|
|
577
591
|
}
|
|
@@ -187,10 +187,11 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
|
|
|
187
187
|
* @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.
|
|
188
188
|
* @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.
|
|
189
189
|
* @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.
|
|
190
|
+
* @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.
|
|
190
191
|
* @param {*} [options] Override http request option.
|
|
191
192
|
* @throws {RequiredError}
|
|
192
193
|
*/
|
|
193
|
-
listPaymentReminders: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
194
|
+
listPaymentReminders: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
194
195
|
const localVarPath = `/paymentservice/v1/payment-reminders`;
|
|
195
196
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
196
197
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -233,6 +234,10 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
|
|
|
233
234
|
localVarQueryParameter['expand'] = expand;
|
|
234
235
|
}
|
|
235
236
|
|
|
237
|
+
if (filters !== undefined) {
|
|
238
|
+
localVarQueryParameter['filters'] = filters;
|
|
239
|
+
}
|
|
240
|
+
|
|
236
241
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
237
242
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
238
243
|
}
|
|
@@ -305,11 +310,12 @@ export const PaymentRemindersApiFp = function(configuration?: Configuration) {
|
|
|
305
310
|
* @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.
|
|
306
311
|
* @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.
|
|
307
312
|
* @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.
|
|
313
|
+
* @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.
|
|
308
314
|
* @param {*} [options] Override http request option.
|
|
309
315
|
* @throws {RequiredError}
|
|
310
316
|
*/
|
|
311
|
-
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>> {
|
|
312
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentReminders(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
317
|
+
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>> {
|
|
318
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentReminders(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
313
319
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
314
320
|
},
|
|
315
321
|
}
|
|
@@ -366,11 +372,12 @@ export const PaymentRemindersApiFactory = function (configuration?: Configuratio
|
|
|
366
372
|
* @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.
|
|
367
373
|
* @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.
|
|
368
374
|
* @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.
|
|
375
|
+
* @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.
|
|
369
376
|
* @param {*} [options] Override http request option.
|
|
370
377
|
* @throws {RequiredError}
|
|
371
378
|
*/
|
|
372
|
-
listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<void> {
|
|
373
|
-
return localVarFp.listPaymentReminders(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
379
|
+
listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<void> {
|
|
380
|
+
return localVarFp.listPaymentReminders(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
374
381
|
},
|
|
375
382
|
};
|
|
376
383
|
};
|
|
@@ -499,6 +506,13 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
|
|
|
499
506
|
* @memberof PaymentRemindersApiListPaymentReminders
|
|
500
507
|
*/
|
|
501
508
|
readonly expand?: any
|
|
509
|
+
|
|
510
|
+
/**
|
|
511
|
+
* 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.
|
|
512
|
+
* @type {any}
|
|
513
|
+
* @memberof PaymentRemindersApiListPaymentReminders
|
|
514
|
+
*/
|
|
515
|
+
readonly filters?: any
|
|
502
516
|
}
|
|
503
517
|
|
|
504
518
|
/**
|
|
@@ -553,6 +567,6 @@ export class PaymentRemindersApi extends BaseAPI {
|
|
|
553
567
|
* @memberof PaymentRemindersApi
|
|
554
568
|
*/
|
|
555
569
|
public listPaymentReminders(requestParameters: PaymentRemindersApiListPaymentRemindersRequest = {}, options?: AxiosRequestConfig) {
|
|
556
|
-
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));
|
|
570
|
+
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));
|
|
557
571
|
}
|
|
558
572
|
}
|
package/api/payments-api.ts
CHANGED
|
@@ -158,10 +158,11 @@ export const PaymentsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
158
158
|
* @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.
|
|
159
159
|
* @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.
|
|
160
160
|
* @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.
|
|
161
|
+
* @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.
|
|
161
162
|
* @param {*} [options] Override http request option.
|
|
162
163
|
* @throws {RequiredError}
|
|
163
164
|
*/
|
|
164
|
-
listPayments: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
165
|
+
listPayments: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
165
166
|
const localVarPath = `/paymentservice/v1/payments`;
|
|
166
167
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
167
168
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -204,6 +205,10 @@ export const PaymentsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
204
205
|
localVarQueryParameter['expand'] = expand;
|
|
205
206
|
}
|
|
206
207
|
|
|
208
|
+
if (filters !== undefined) {
|
|
209
|
+
localVarQueryParameter['filters'] = filters;
|
|
210
|
+
}
|
|
211
|
+
|
|
207
212
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
208
213
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
209
214
|
}
|
|
@@ -266,11 +271,12 @@ export const PaymentsApiFp = function(configuration?: Configuration) {
|
|
|
266
271
|
* @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.
|
|
267
272
|
* @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.
|
|
268
273
|
* @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.
|
|
274
|
+
* @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.
|
|
269
275
|
* @param {*} [options] Override http request option.
|
|
270
276
|
* @throws {RequiredError}
|
|
271
277
|
*/
|
|
272
|
-
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>> {
|
|
273
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPayments(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
278
|
+
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>> {
|
|
279
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPayments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
274
280
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
275
281
|
},
|
|
276
282
|
}
|
|
@@ -318,11 +324,12 @@ export const PaymentsApiFactory = function (configuration?: Configuration, baseP
|
|
|
318
324
|
* @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.
|
|
319
325
|
* @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.
|
|
320
326
|
* @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.
|
|
327
|
+
* @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.
|
|
321
328
|
* @param {*} [options] Override http request option.
|
|
322
329
|
* @throws {RequiredError}
|
|
323
330
|
*/
|
|
324
|
-
listPayments(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<void> {
|
|
325
|
-
return localVarFp.listPayments(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
331
|
+
listPayments(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<void> {
|
|
332
|
+
return localVarFp.listPayments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
326
333
|
},
|
|
327
334
|
};
|
|
328
335
|
};
|
|
@@ -444,6 +451,13 @@ export interface PaymentsApiListPaymentsRequest {
|
|
|
444
451
|
* @memberof PaymentsApiListPayments
|
|
445
452
|
*/
|
|
446
453
|
readonly expand?: any
|
|
454
|
+
|
|
455
|
+
/**
|
|
456
|
+
* 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.
|
|
457
|
+
* @type {any}
|
|
458
|
+
* @memberof PaymentsApiListPayments
|
|
459
|
+
*/
|
|
460
|
+
readonly filters?: any
|
|
447
461
|
}
|
|
448
462
|
|
|
449
463
|
/**
|
|
@@ -486,6 +500,6 @@ export class PaymentsApi extends BaseAPI {
|
|
|
486
500
|
* @memberof PaymentsApi
|
|
487
501
|
*/
|
|
488
502
|
public listPayments(requestParameters: PaymentsApiListPaymentsRequest = {}, options?: AxiosRequestConfig) {
|
|
489
|
-
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));
|
|
503
|
+
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));
|
|
490
504
|
}
|
|
491
505
|
}
|
package/api/refunds-api.ts
CHANGED
|
@@ -151,10 +151,11 @@ export const RefundsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
151
151
|
* @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.
|
|
152
152
|
* @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.
|
|
153
153
|
* @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.
|
|
154
|
+
* @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.
|
|
154
155
|
* @param {*} [options] Override http request option.
|
|
155
156
|
* @throws {RequiredError}
|
|
156
157
|
*/
|
|
157
|
-
listRefunds: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
158
|
+
listRefunds: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
158
159
|
const localVarPath = `/paymentservice/v1/refunds`;
|
|
159
160
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
160
161
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -197,6 +198,10 @@ export const RefundsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
197
198
|
localVarQueryParameter['expand'] = expand;
|
|
198
199
|
}
|
|
199
200
|
|
|
201
|
+
if (filters !== undefined) {
|
|
202
|
+
localVarQueryParameter['filters'] = filters;
|
|
203
|
+
}
|
|
204
|
+
|
|
200
205
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
201
206
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
202
207
|
}
|
|
@@ -255,11 +260,12 @@ export const RefundsApiFp = function(configuration?: Configuration) {
|
|
|
255
260
|
* @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.
|
|
256
261
|
* @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.
|
|
257
262
|
* @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.
|
|
263
|
+
* @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.
|
|
258
264
|
* @param {*} [options] Override http request option.
|
|
259
265
|
* @throws {RequiredError}
|
|
260
266
|
*/
|
|
261
|
-
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>> {
|
|
262
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listRefunds(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
267
|
+
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>> {
|
|
268
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listRefunds(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
263
269
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
264
270
|
},
|
|
265
271
|
}
|
|
@@ -303,11 +309,12 @@ export const RefundsApiFactory = function (configuration?: Configuration, basePa
|
|
|
303
309
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
304
310
|
* @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.
|
|
305
311
|
* @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.
|
|
312
|
+
* @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.
|
|
306
313
|
* @param {*} [options] Override http request option.
|
|
307
314
|
* @throws {RequiredError}
|
|
308
315
|
*/
|
|
309
|
-
listRefunds(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListRefundsResponseClass> {
|
|
310
|
-
return localVarFp.listRefunds(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
316
|
+
listRefunds(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListRefundsResponseClass> {
|
|
317
|
+
return localVarFp.listRefunds(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
311
318
|
},
|
|
312
319
|
};
|
|
313
320
|
};
|
|
@@ -422,6 +429,13 @@ export interface RefundsApiListRefundsRequest {
|
|
|
422
429
|
* @memberof RefundsApiListRefunds
|
|
423
430
|
*/
|
|
424
431
|
readonly expand?: any
|
|
432
|
+
|
|
433
|
+
/**
|
|
434
|
+
* 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.
|
|
435
|
+
* @type {any}
|
|
436
|
+
* @memberof RefundsApiListRefunds
|
|
437
|
+
*/
|
|
438
|
+
readonly filters?: any
|
|
425
439
|
}
|
|
426
440
|
|
|
427
441
|
/**
|
|
@@ -461,6 +475,6 @@ export class RefundsApi extends BaseAPI {
|
|
|
461
475
|
* @memberof RefundsApi
|
|
462
476
|
*/
|
|
463
477
|
public listRefunds(requestParameters: RefundsApiListRefundsRequest = {}, options?: AxiosRequestConfig) {
|
|
464
|
-
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));
|
|
478
|
+
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));
|
|
465
479
|
}
|
|
466
480
|
}
|
|
@@ -184,10 +184,11 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
|
|
|
184
184
|
* @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.
|
|
185
185
|
* @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.
|
|
186
186
|
* @param {string} [expand] Expand the response with additional entities
|
|
187
|
+
* @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.
|
|
187
188
|
* @param {*} [options] Override http request option.
|
|
188
189
|
* @throws {RequiredError}
|
|
189
190
|
*/
|
|
190
|
-
listTenantBankAccounts: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
191
|
+
listTenantBankAccounts: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
191
192
|
const localVarPath = `/paymentservice/v1/tenant/bank-accounts`;
|
|
192
193
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
193
194
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -230,6 +231,10 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
|
|
|
230
231
|
localVarQueryParameter['expand'] = expand;
|
|
231
232
|
}
|
|
232
233
|
|
|
234
|
+
if (filters !== undefined) {
|
|
235
|
+
localVarQueryParameter['filters'] = filters;
|
|
236
|
+
}
|
|
237
|
+
|
|
233
238
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
234
239
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
235
240
|
}
|
|
@@ -348,11 +353,12 @@ export const TenantBankAccountApiFp = 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 listTenantBankAccounts(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.listTenantBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
360
|
+
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>> {
|
|
361
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listTenantBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
356
362
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
357
363
|
},
|
|
358
364
|
/**
|
|
@@ -417,11 +423,12 @@ export const TenantBankAccountApiFactory = function (configuration?: Configurati
|
|
|
417
423
|
* @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.
|
|
418
424
|
* @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.
|
|
419
425
|
* @param {string} [expand] Expand the response with additional entities
|
|
426
|
+
* @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.
|
|
420
427
|
* @param {*} [options] Override http request option.
|
|
421
428
|
* @throws {RequiredError}
|
|
422
429
|
*/
|
|
423
|
-
listTenantBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, options?: any): AxiosPromise<void> {
|
|
424
|
-
return localVarFp.listTenantBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
430
|
+
listTenantBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options?: any): AxiosPromise<void> {
|
|
431
|
+
return localVarFp.listTenantBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
425
432
|
},
|
|
426
433
|
/**
|
|
427
434
|
*
|
|
@@ -561,6 +568,13 @@ export interface TenantBankAccountApiListTenantBankAccountsRequest {
|
|
|
561
568
|
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
562
569
|
*/
|
|
563
570
|
readonly expand?: string
|
|
571
|
+
|
|
572
|
+
/**
|
|
573
|
+
* 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.
|
|
574
|
+
* @type {any}
|
|
575
|
+
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
576
|
+
*/
|
|
577
|
+
readonly filters?: any
|
|
564
578
|
}
|
|
565
579
|
|
|
566
580
|
/**
|
|
@@ -639,7 +653,7 @@ export class TenantBankAccountApi extends BaseAPI {
|
|
|
639
653
|
* @memberof TenantBankAccountApi
|
|
640
654
|
*/
|
|
641
655
|
public listTenantBankAccounts(requestParameters: TenantBankAccountApiListTenantBankAccountsRequest = {}, options?: AxiosRequestConfig) {
|
|
642
|
-
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));
|
|
656
|
+
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));
|
|
643
657
|
}
|
|
644
658
|
|
|
645
659
|
/**
|