@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/dist/api/payments-api.js
CHANGED
|
@@ -219,10 +219,11 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
|
|
|
219
219
|
* @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.
|
|
220
220
|
* @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.
|
|
221
221
|
* @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.
|
|
222
|
+
* @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.
|
|
222
223
|
* @param {*} [options] Override http request option.
|
|
223
224
|
* @throws {RequiredError}
|
|
224
225
|
*/
|
|
225
|
-
listPayments: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
226
|
+
listPayments: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
226
227
|
if (options === void 0) { options = {}; }
|
|
227
228
|
return __awaiter(_this, void 0, void 0, function () {
|
|
228
229
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -263,6 +264,9 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
|
|
|
263
264
|
if (expand !== undefined) {
|
|
264
265
|
localVarQueryParameter['expand'] = expand;
|
|
265
266
|
}
|
|
267
|
+
if (filters !== undefined) {
|
|
268
|
+
localVarQueryParameter['filters'] = filters;
|
|
269
|
+
}
|
|
266
270
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
267
271
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
268
272
|
}
|
|
@@ -342,15 +346,16 @@ var PaymentsApiFp = function (configuration) {
|
|
|
342
346
|
* @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.
|
|
343
347
|
* @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.
|
|
344
348
|
* @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.
|
|
349
|
+
* @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.
|
|
345
350
|
* @param {*} [options] Override http request option.
|
|
346
351
|
* @throws {RequiredError}
|
|
347
352
|
*/
|
|
348
|
-
listPayments: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
353
|
+
listPayments: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
349
354
|
return __awaiter(this, void 0, void 0, function () {
|
|
350
355
|
var localVarAxiosArgs;
|
|
351
356
|
return __generator(this, function (_a) {
|
|
352
357
|
switch (_a.label) {
|
|
353
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPayments(authorization, pageSize, pageToken, filter, search, order, expand, options)];
|
|
358
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPayments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
354
359
|
case 1:
|
|
355
360
|
localVarAxiosArgs = _a.sent();
|
|
356
361
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -403,11 +408,12 @@ var PaymentsApiFactory = function (configuration, basePath, axios) {
|
|
|
403
408
|
* @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.
|
|
404
409
|
* @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.
|
|
405
410
|
* @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.
|
|
411
|
+
* @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.
|
|
406
412
|
* @param {*} [options] Override http request option.
|
|
407
413
|
* @throws {RequiredError}
|
|
408
414
|
*/
|
|
409
|
-
listPayments: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
410
|
-
return localVarFp.listPayments(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
415
|
+
listPayments: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
416
|
+
return localVarFp.listPayments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
411
417
|
},
|
|
412
418
|
};
|
|
413
419
|
};
|
|
@@ -458,7 +464,7 @@ var PaymentsApi = /** @class */ (function (_super) {
|
|
|
458
464
|
PaymentsApi.prototype.listPayments = function (requestParameters, options) {
|
|
459
465
|
var _this = this;
|
|
460
466
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
461
|
-
return (0, exports.PaymentsApiFp)(this.configuration).listPayments(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
467
|
+
return (0, exports.PaymentsApiFp)(this.configuration).listPayments(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
462
468
|
};
|
|
463
469
|
return PaymentsApi;
|
|
464
470
|
}(base_1.BaseAPI));
|
|
@@ -48,10 +48,11 @@ export declare const RefundsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
48
48
|
* @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.
|
|
49
49
|
* @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.
|
|
50
50
|
* @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.
|
|
51
|
+
* @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.
|
|
51
52
|
* @param {*} [options] Override http request option.
|
|
52
53
|
* @throws {RequiredError}
|
|
53
54
|
*/
|
|
54
|
-
listRefunds: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
55
|
+
listRefunds: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
55
56
|
};
|
|
56
57
|
/**
|
|
57
58
|
* RefundsApi - functional programming interface
|
|
@@ -85,10 +86,11 @@ export declare const RefundsApiFp: (configuration?: Configuration) => {
|
|
|
85
86
|
* @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.
|
|
86
87
|
* @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.
|
|
87
88
|
* @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.
|
|
89
|
+
* @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.
|
|
88
90
|
* @param {*} [options] Override http request option.
|
|
89
91
|
* @throws {RequiredError}
|
|
90
92
|
*/
|
|
91
|
-
listRefunds(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListRefundsResponseClass>>;
|
|
93
|
+
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>>;
|
|
92
94
|
};
|
|
93
95
|
/**
|
|
94
96
|
* RefundsApi - factory interface
|
|
@@ -122,10 +124,11 @@ export declare const RefundsApiFactory: (configuration?: Configuration, basePath
|
|
|
122
124
|
* @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.
|
|
123
125
|
* @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.
|
|
124
126
|
* @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.
|
|
127
|
+
* @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.
|
|
125
128
|
* @param {*} [options] Override http request option.
|
|
126
129
|
* @throws {RequiredError}
|
|
127
130
|
*/
|
|
128
|
-
listRefunds(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListRefundsResponseClass>;
|
|
131
|
+
listRefunds(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListRefundsResponseClass>;
|
|
129
132
|
};
|
|
130
133
|
/**
|
|
131
134
|
* Request parameters for createRefund operation in RefundsApi.
|
|
@@ -225,6 +228,12 @@ export interface RefundsApiListRefundsRequest {
|
|
|
225
228
|
* @memberof RefundsApiListRefunds
|
|
226
229
|
*/
|
|
227
230
|
readonly expand?: any;
|
|
231
|
+
/**
|
|
232
|
+
* 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.
|
|
233
|
+
* @type {any}
|
|
234
|
+
* @memberof RefundsApiListRefunds
|
|
235
|
+
*/
|
|
236
|
+
readonly filters?: any;
|
|
228
237
|
}
|
|
229
238
|
/**
|
|
230
239
|
* RefundsApi - object-oriented interface
|
package/dist/api/refunds-api.js
CHANGED
|
@@ -208,10 +208,11 @@ var RefundsApiAxiosParamCreator = function (configuration) {
|
|
|
208
208
|
* @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.
|
|
209
209
|
* @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.
|
|
210
210
|
* @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.
|
|
211
|
+
* @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.
|
|
211
212
|
* @param {*} [options] Override http request option.
|
|
212
213
|
* @throws {RequiredError}
|
|
213
214
|
*/
|
|
214
|
-
listRefunds: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
215
|
+
listRefunds: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
215
216
|
if (options === void 0) { options = {}; }
|
|
216
217
|
return __awaiter(_this, void 0, void 0, function () {
|
|
217
218
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -252,6 +253,9 @@ var RefundsApiAxiosParamCreator = function (configuration) {
|
|
|
252
253
|
if (expand !== undefined) {
|
|
253
254
|
localVarQueryParameter['expand'] = expand;
|
|
254
255
|
}
|
|
256
|
+
if (filters !== undefined) {
|
|
257
|
+
localVarQueryParameter['filters'] = filters;
|
|
258
|
+
}
|
|
255
259
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
256
260
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
257
261
|
}
|
|
@@ -327,15 +331,16 @@ var RefundsApiFp = function (configuration) {
|
|
|
327
331
|
* @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.
|
|
328
332
|
* @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.
|
|
329
333
|
* @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.
|
|
334
|
+
* @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.
|
|
330
335
|
* @param {*} [options] Override http request option.
|
|
331
336
|
* @throws {RequiredError}
|
|
332
337
|
*/
|
|
333
|
-
listRefunds: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
338
|
+
listRefunds: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
334
339
|
return __awaiter(this, void 0, void 0, function () {
|
|
335
340
|
var localVarAxiosArgs;
|
|
336
341
|
return __generator(this, function (_a) {
|
|
337
342
|
switch (_a.label) {
|
|
338
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listRefunds(authorization, pageSize, pageToken, filter, search, order, expand, options)];
|
|
343
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listRefunds(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
339
344
|
case 1:
|
|
340
345
|
localVarAxiosArgs = _a.sent();
|
|
341
346
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -384,11 +389,12 @@ var RefundsApiFactory = function (configuration, basePath, axios) {
|
|
|
384
389
|
* @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.
|
|
385
390
|
* @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.
|
|
386
391
|
* @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.
|
|
392
|
+
* @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.
|
|
387
393
|
* @param {*} [options] Override http request option.
|
|
388
394
|
* @throws {RequiredError}
|
|
389
395
|
*/
|
|
390
|
-
listRefunds: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
391
|
-
return localVarFp.listRefunds(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
396
|
+
listRefunds: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
397
|
+
return localVarFp.listRefunds(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
392
398
|
},
|
|
393
399
|
};
|
|
394
400
|
};
|
|
@@ -436,7 +442,7 @@ var RefundsApi = /** @class */ (function (_super) {
|
|
|
436
442
|
RefundsApi.prototype.listRefunds = function (requestParameters, options) {
|
|
437
443
|
var _this = this;
|
|
438
444
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
439
|
-
return (0, exports.RefundsApiFp)(this.configuration).listRefunds(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
445
|
+
return (0, exports.RefundsApiFp)(this.configuration).listRefunds(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
440
446
|
};
|
|
441
447
|
return RefundsApi;
|
|
442
448
|
}(base_1.BaseAPI));
|
|
@@ -54,10 +54,11 @@ export declare const TenantBankAccountApiAxiosParamCreator: (configuration?: Con
|
|
|
54
54
|
* @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.
|
|
55
55
|
* @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.
|
|
56
56
|
* @param {string} [expand] Expand the response with additional entities
|
|
57
|
+
* @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.
|
|
57
58
|
* @param {*} [options] Override http request option.
|
|
58
59
|
* @throws {RequiredError}
|
|
59
60
|
*/
|
|
60
|
-
listTenantBankAccounts: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
61
|
+
listTenantBankAccounts: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
61
62
|
/**
|
|
62
63
|
*
|
|
63
64
|
* @param {string} code Unique identifier for the object.
|
|
@@ -107,10 +108,11 @@ export declare const TenantBankAccountApiFp: (configuration?: Configuration) =>
|
|
|
107
108
|
* @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.
|
|
108
109
|
* @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.
|
|
109
110
|
* @param {string} [expand] Expand the response with additional entities
|
|
111
|
+
* @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.
|
|
110
112
|
* @param {*} [options] Override http request option.
|
|
111
113
|
* @throws {RequiredError}
|
|
112
114
|
*/
|
|
113
|
-
listTenantBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
115
|
+
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>>;
|
|
114
116
|
/**
|
|
115
117
|
*
|
|
116
118
|
* @param {string} code Unique identifier for the object.
|
|
@@ -160,10 +162,11 @@ export declare const TenantBankAccountApiFactory: (configuration?: Configuration
|
|
|
160
162
|
* @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.
|
|
161
163
|
* @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.
|
|
162
164
|
* @param {string} [expand] Expand the response with additional entities
|
|
165
|
+
* @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.
|
|
163
166
|
* @param {*} [options] Override http request option.
|
|
164
167
|
* @throws {RequiredError}
|
|
165
168
|
*/
|
|
166
|
-
listTenantBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, options?: any): AxiosPromise<void>;
|
|
169
|
+
listTenantBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options?: any): AxiosPromise<void>;
|
|
167
170
|
/**
|
|
168
171
|
*
|
|
169
172
|
* @param {string} code Unique identifier for the object.
|
|
@@ -285,6 +288,12 @@ export interface TenantBankAccountApiListTenantBankAccountsRequest {
|
|
|
285
288
|
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
286
289
|
*/
|
|
287
290
|
readonly expand?: string;
|
|
291
|
+
/**
|
|
292
|
+
* 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.
|
|
293
|
+
* @type {any}
|
|
294
|
+
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
295
|
+
*/
|
|
296
|
+
readonly filters?: any;
|
|
288
297
|
}
|
|
289
298
|
/**
|
|
290
299
|
* Request parameters for updateTenantBankAccount operation in TenantBankAccountApi.
|
|
@@ -247,10 +247,11 @@ var TenantBankAccountApiAxiosParamCreator = function (configuration) {
|
|
|
247
247
|
* @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.
|
|
248
248
|
* @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.
|
|
249
249
|
* @param {string} [expand] Expand the response with additional entities
|
|
250
|
+
* @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.
|
|
250
251
|
* @param {*} [options] Override http request option.
|
|
251
252
|
* @throws {RequiredError}
|
|
252
253
|
*/
|
|
253
|
-
listTenantBankAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
254
|
+
listTenantBankAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
254
255
|
if (options === void 0) { options = {}; }
|
|
255
256
|
return __awaiter(_this, void 0, void 0, function () {
|
|
256
257
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -291,6 +292,9 @@ var TenantBankAccountApiAxiosParamCreator = function (configuration) {
|
|
|
291
292
|
if (expand !== undefined) {
|
|
292
293
|
localVarQueryParameter['expand'] = expand;
|
|
293
294
|
}
|
|
295
|
+
if (filters !== undefined) {
|
|
296
|
+
localVarQueryParameter['filters'] = filters;
|
|
297
|
+
}
|
|
294
298
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
295
299
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
296
300
|
}
|
|
@@ -437,15 +441,16 @@ var TenantBankAccountApiFp = function (configuration) {
|
|
|
437
441
|
* @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.
|
|
438
442
|
* @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.
|
|
439
443
|
* @param {string} [expand] Expand the response with additional entities
|
|
444
|
+
* @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.
|
|
440
445
|
* @param {*} [options] Override http request option.
|
|
441
446
|
* @throws {RequiredError}
|
|
442
447
|
*/
|
|
443
|
-
listTenantBankAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
448
|
+
listTenantBankAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
444
449
|
return __awaiter(this, void 0, void 0, function () {
|
|
445
450
|
var localVarAxiosArgs;
|
|
446
451
|
return __generator(this, function (_a) {
|
|
447
452
|
switch (_a.label) {
|
|
448
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listTenantBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, options)];
|
|
453
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listTenantBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
449
454
|
case 1:
|
|
450
455
|
localVarAxiosArgs = _a.sent();
|
|
451
456
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -524,11 +529,12 @@ var TenantBankAccountApiFactory = function (configuration, basePath, axios) {
|
|
|
524
529
|
* @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.
|
|
525
530
|
* @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.
|
|
526
531
|
* @param {string} [expand] Expand the response with additional entities
|
|
532
|
+
* @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.
|
|
527
533
|
* @param {*} [options] Override http request option.
|
|
528
534
|
* @throws {RequiredError}
|
|
529
535
|
*/
|
|
530
|
-
listTenantBankAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
531
|
-
return localVarFp.listTenantBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
536
|
+
listTenantBankAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
537
|
+
return localVarFp.listTenantBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
532
538
|
},
|
|
533
539
|
/**
|
|
534
540
|
*
|
|
@@ -598,7 +604,7 @@ var TenantBankAccountApi = /** @class */ (function (_super) {
|
|
|
598
604
|
TenantBankAccountApi.prototype.listTenantBankAccounts = function (requestParameters, options) {
|
|
599
605
|
var _this = this;
|
|
600
606
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
601
|
-
return (0, exports.TenantBankAccountApiFp)(this.configuration).listTenantBankAccounts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
607
|
+
return (0, exports.TenantBankAccountApiFp)(this.configuration).listTenantBankAccounts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
602
608
|
};
|
|
603
609
|
/**
|
|
604
610
|
*
|