@emilgroup/payment-sdk-node 1.21.1-beta.16 → 1.21.1-beta.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +1 -1
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +55 -13
- package/api/bank-orders-api.ts +86 -44
- package/api/bank-transaction-api.ts +45 -17
- package/api/payment-methods-api.ts +55 -13
- package/api/payment-reminders-api.ts +55 -13
- package/api/payments-api.ts +55 -13
- package/api/refunds-api.ts +45 -17
- package/api/tenant-bank-account-api.ts +45 -17
- package/dist/api/bank-accounts-api.d.ts +35 -8
- package/dist/api/bank-accounts-api.js +29 -11
- package/dist/api/bank-orders-api.d.ts +60 -33
- package/dist/api/bank-orders-api.js +53 -35
- package/dist/api/bank-transaction-api.d.ts +28 -10
- package/dist/api/bank-transaction-api.js +24 -12
- package/dist/api/payment-methods-api.d.ts +35 -8
- package/dist/api/payment-methods-api.js +29 -11
- package/dist/api/payment-reminders-api.d.ts +35 -8
- package/dist/api/payment-reminders-api.js +29 -11
- package/dist/api/payments-api.d.ts +35 -8
- package/dist/api/payments-api.js +29 -11
- package/dist/api/refunds-api.d.ts +28 -10
- package/dist/api/refunds-api.js +24 -12
- package/dist/api/tenant-bank-account-api.d.ts +28 -10
- package/dist/api/tenant-bank-account-api.js +24 -12
- package/dist/models/bank-order-class.d.ts +7 -7
- package/dist/models/create-bank-order-request-dto.d.ts +3 -9
- package/dist/models/financial-account-class.d.ts +111 -0
- package/dist/models/{update-bank-order-request-dto-rest.js → financial-account-class.js} +8 -7
- package/dist/models/index.d.ts +1 -1
- package/dist/models/index.js +1 -1
- package/dist/models/update-bank-order-request-dto.d.ts +0 -12
- package/models/bank-order-class.ts +7 -7
- package/models/create-bank-order-request-dto.ts +3 -9
- package/models/financial-account-class.ts +120 -0
- package/models/index.ts +1 -1
- package/models/update-bank-order-request-dto.ts +0 -12
- package/package.json +1 -1
- package/dist/models/update-bank-order-request-dto-rest.d.ts +0 -62
- package/models/update-bank-order-request-dto-rest.ts +0 -71
|
@@ -198,7 +198,7 @@ var BankOrdersApiAxiosParamCreator = function (configuration) {
|
|
|
198
198
|
* @summary Retrieve the bank order
|
|
199
199
|
* @param {string} code
|
|
200
200
|
* @param {string} [authorization] Bearer Token
|
|
201
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values:
|
|
201
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: financialAccount<i>
|
|
202
202
|
* @param {*} [options] Override http request option.
|
|
203
203
|
* @throws {RequiredError}
|
|
204
204
|
*/
|
|
@@ -249,14 +249,17 @@ var BankOrdersApiAxiosParamCreator = function (configuration) {
|
|
|
249
249
|
* Returns a list of bank orders you have previously created. The bank orders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
250
250
|
* @summary List bank orders
|
|
251
251
|
* @param {string} [authorization] Bearer Token
|
|
252
|
-
* @param {
|
|
253
|
-
* @param {string} [
|
|
254
|
-
* @param {string} [
|
|
255
|
-
* @param {string} [
|
|
252
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
253
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
254
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, orderNumber, status, type, financialAccountCode</i>
|
|
255
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
256
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, executionDate, dueDate, orderNumber, financialAccountCode, amount, createdAt, updatedAt</i>
|
|
257
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: financialAccount<i>
|
|
258
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, orderNumber, status, type, financialAccountCode</i>
|
|
256
259
|
* @param {*} [options] Override http request option.
|
|
257
260
|
* @throws {RequiredError}
|
|
258
261
|
*/
|
|
259
|
-
listBankOrders: function (authorization, filter,
|
|
262
|
+
listBankOrders: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
260
263
|
if (options === void 0) { options = {}; }
|
|
261
264
|
return __awaiter(_this, void 0, void 0, function () {
|
|
262
265
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -279,11 +282,17 @@ var BankOrdersApiAxiosParamCreator = function (configuration) {
|
|
|
279
282
|
// authentication bearer required
|
|
280
283
|
// http bearer authentication required
|
|
281
284
|
_a.sent();
|
|
285
|
+
if (pageSize !== undefined) {
|
|
286
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
287
|
+
}
|
|
288
|
+
if (pageToken !== undefined) {
|
|
289
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
290
|
+
}
|
|
282
291
|
if (filter !== undefined) {
|
|
283
292
|
localVarQueryParameter['filter'] = filter;
|
|
284
293
|
}
|
|
285
|
-
if (
|
|
286
|
-
localVarQueryParameter['
|
|
294
|
+
if (search !== undefined) {
|
|
295
|
+
localVarQueryParameter['search'] = search;
|
|
287
296
|
}
|
|
288
297
|
if (order !== undefined) {
|
|
289
298
|
localVarQueryParameter['order'] = order;
|
|
@@ -291,6 +300,9 @@ var BankOrdersApiAxiosParamCreator = function (configuration) {
|
|
|
291
300
|
if (expand !== undefined) {
|
|
292
301
|
localVarQueryParameter['expand'] = expand;
|
|
293
302
|
}
|
|
303
|
+
if (filters !== undefined) {
|
|
304
|
+
localVarQueryParameter['filters'] = filters;
|
|
305
|
+
}
|
|
294
306
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
295
307
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
296
308
|
}
|
|
@@ -309,12 +321,12 @@ var BankOrdersApiAxiosParamCreator = function (configuration) {
|
|
|
309
321
|
* Update a bank order by code **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
310
322
|
* @summary Update the bank order
|
|
311
323
|
* @param {string} code Unique identifier for the object.
|
|
312
|
-
* @param {
|
|
324
|
+
* @param {UpdateBankOrderRequestDto} updateBankOrderRequestDto
|
|
313
325
|
* @param {string} [authorization] Bearer Token
|
|
314
326
|
* @param {*} [options] Override http request option.
|
|
315
327
|
* @throws {RequiredError}
|
|
316
328
|
*/
|
|
317
|
-
updateBankOrder: function (code,
|
|
329
|
+
updateBankOrder: function (code, updateBankOrderRequestDto, authorization, options) {
|
|
318
330
|
if (options === void 0) { options = {}; }
|
|
319
331
|
return __awaiter(_this, void 0, void 0, function () {
|
|
320
332
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -323,8 +335,8 @@ var BankOrdersApiAxiosParamCreator = function (configuration) {
|
|
|
323
335
|
case 0:
|
|
324
336
|
// verify required parameter 'code' is not null or undefined
|
|
325
337
|
(0, common_1.assertParamExists)('updateBankOrder', 'code', code);
|
|
326
|
-
// verify required parameter '
|
|
327
|
-
(0, common_1.assertParamExists)('updateBankOrder', '
|
|
338
|
+
// verify required parameter 'updateBankOrderRequestDto' is not null or undefined
|
|
339
|
+
(0, common_1.assertParamExists)('updateBankOrder', 'updateBankOrderRequestDto', updateBankOrderRequestDto);
|
|
328
340
|
localVarPath = "/paymentservice/v1/bank-orders/{code}"
|
|
329
341
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
330
342
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -349,7 +361,7 @@ var BankOrdersApiAxiosParamCreator = function (configuration) {
|
|
|
349
361
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
350
362
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
351
363
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
352
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
364
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateBankOrderRequestDto, localVarRequestOptions, configuration);
|
|
353
365
|
return [2 /*return*/, {
|
|
354
366
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
355
367
|
options: localVarRequestOptions,
|
|
@@ -415,7 +427,7 @@ var BankOrdersApiFp = function (configuration) {
|
|
|
415
427
|
* @summary Retrieve the bank order
|
|
416
428
|
* @param {string} code
|
|
417
429
|
* @param {string} [authorization] Bearer Token
|
|
418
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values:
|
|
430
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: financialAccount<i>
|
|
419
431
|
* @param {*} [options] Override http request option.
|
|
420
432
|
* @throws {RequiredError}
|
|
421
433
|
*/
|
|
@@ -436,19 +448,22 @@ var BankOrdersApiFp = function (configuration) {
|
|
|
436
448
|
* Returns a list of bank orders you have previously created. The bank orders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
437
449
|
* @summary List bank orders
|
|
438
450
|
* @param {string} [authorization] Bearer Token
|
|
439
|
-
* @param {
|
|
440
|
-
* @param {string} [
|
|
441
|
-
* @param {string} [
|
|
442
|
-
* @param {string} [
|
|
451
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
452
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
453
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, orderNumber, status, type, financialAccountCode</i>
|
|
454
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
455
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, executionDate, dueDate, orderNumber, financialAccountCode, amount, createdAt, updatedAt</i>
|
|
456
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: financialAccount<i>
|
|
457
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, orderNumber, status, type, financialAccountCode</i>
|
|
443
458
|
* @param {*} [options] Override http request option.
|
|
444
459
|
* @throws {RequiredError}
|
|
445
460
|
*/
|
|
446
|
-
listBankOrders: function (authorization, filter,
|
|
461
|
+
listBankOrders: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
447
462
|
return __awaiter(this, void 0, void 0, function () {
|
|
448
463
|
var localVarAxiosArgs;
|
|
449
464
|
return __generator(this, function (_a) {
|
|
450
465
|
switch (_a.label) {
|
|
451
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listBankOrders(authorization, filter,
|
|
466
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listBankOrders(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
452
467
|
case 1:
|
|
453
468
|
localVarAxiosArgs = _a.sent();
|
|
454
469
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -460,17 +475,17 @@ var BankOrdersApiFp = function (configuration) {
|
|
|
460
475
|
* Update a bank order by code **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
461
476
|
* @summary Update the bank order
|
|
462
477
|
* @param {string} code Unique identifier for the object.
|
|
463
|
-
* @param {
|
|
478
|
+
* @param {UpdateBankOrderRequestDto} updateBankOrderRequestDto
|
|
464
479
|
* @param {string} [authorization] Bearer Token
|
|
465
480
|
* @param {*} [options] Override http request option.
|
|
466
481
|
* @throws {RequiredError}
|
|
467
482
|
*/
|
|
468
|
-
updateBankOrder: function (code,
|
|
483
|
+
updateBankOrder: function (code, updateBankOrderRequestDto, authorization, options) {
|
|
469
484
|
return __awaiter(this, void 0, void 0, function () {
|
|
470
485
|
var localVarAxiosArgs;
|
|
471
486
|
return __generator(this, function (_a) {
|
|
472
487
|
switch (_a.label) {
|
|
473
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateBankOrder(code,
|
|
488
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateBankOrder(code, updateBankOrderRequestDto, authorization, options)];
|
|
474
489
|
case 1:
|
|
475
490
|
localVarAxiosArgs = _a.sent();
|
|
476
491
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -515,7 +530,7 @@ var BankOrdersApiFactory = function (configuration, basePath, axios) {
|
|
|
515
530
|
* @summary Retrieve the bank order
|
|
516
531
|
* @param {string} code
|
|
517
532
|
* @param {string} [authorization] Bearer Token
|
|
518
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values:
|
|
533
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: financialAccount<i>
|
|
519
534
|
* @param {*} [options] Override http request option.
|
|
520
535
|
* @throws {RequiredError}
|
|
521
536
|
*/
|
|
@@ -526,27 +541,30 @@ var BankOrdersApiFactory = function (configuration, basePath, axios) {
|
|
|
526
541
|
* Returns a list of bank orders you have previously created. The bank orders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
527
542
|
* @summary List bank orders
|
|
528
543
|
* @param {string} [authorization] Bearer Token
|
|
529
|
-
* @param {
|
|
530
|
-
* @param {string} [
|
|
531
|
-
* @param {string} [
|
|
532
|
-
* @param {string} [
|
|
544
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
545
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
546
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, orderNumber, status, type, financialAccountCode</i>
|
|
547
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
548
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, executionDate, dueDate, orderNumber, financialAccountCode, amount, createdAt, updatedAt</i>
|
|
549
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: financialAccount<i>
|
|
550
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, orderNumber, status, type, financialAccountCode</i>
|
|
533
551
|
* @param {*} [options] Override http request option.
|
|
534
552
|
* @throws {RequiredError}
|
|
535
553
|
*/
|
|
536
|
-
listBankOrders: function (authorization, filter,
|
|
537
|
-
return localVarFp.listBankOrders(authorization, filter,
|
|
554
|
+
listBankOrders: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
555
|
+
return localVarFp.listBankOrders(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
538
556
|
},
|
|
539
557
|
/**
|
|
540
558
|
* Update a bank order by code **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
541
559
|
* @summary Update the bank order
|
|
542
560
|
* @param {string} code Unique identifier for the object.
|
|
543
|
-
* @param {
|
|
561
|
+
* @param {UpdateBankOrderRequestDto} updateBankOrderRequestDto
|
|
544
562
|
* @param {string} [authorization] Bearer Token
|
|
545
563
|
* @param {*} [options] Override http request option.
|
|
546
564
|
* @throws {RequiredError}
|
|
547
565
|
*/
|
|
548
|
-
updateBankOrder: function (code,
|
|
549
|
-
return localVarFp.updateBankOrder(code,
|
|
566
|
+
updateBankOrder: function (code, updateBankOrderRequestDto, authorization, options) {
|
|
567
|
+
return localVarFp.updateBankOrder(code, updateBankOrderRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
550
568
|
},
|
|
551
569
|
};
|
|
552
570
|
};
|
|
@@ -609,7 +627,7 @@ var BankOrdersApi = /** @class */ (function (_super) {
|
|
|
609
627
|
BankOrdersApi.prototype.listBankOrders = function (requestParameters, options) {
|
|
610
628
|
var _this = this;
|
|
611
629
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
612
|
-
return (0, exports.BankOrdersApiFp)(this.configuration).listBankOrders(requestParameters.authorization, requestParameters.filter, requestParameters.
|
|
630
|
+
return (0, exports.BankOrdersApiFp)(this.configuration).listBankOrders(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); });
|
|
613
631
|
};
|
|
614
632
|
/**
|
|
615
633
|
* Update a bank order by code **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
@@ -621,7 +639,7 @@ var BankOrdersApi = /** @class */ (function (_super) {
|
|
|
621
639
|
*/
|
|
622
640
|
BankOrdersApi.prototype.updateBankOrder = function (requestParameters, options) {
|
|
623
641
|
var _this = this;
|
|
624
|
-
return (0, exports.BankOrdersApiFp)(this.configuration).updateBankOrder(requestParameters.code, requestParameters.
|
|
642
|
+
return (0, exports.BankOrdersApiFp)(this.configuration).updateBankOrder(requestParameters.code, requestParameters.updateBankOrderRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
625
643
|
};
|
|
626
644
|
return BankOrdersApi;
|
|
627
645
|
}(base_1.BaseAPI));
|
|
@@ -67,15 +67,17 @@ export declare const BankTransactionApiAxiosParamCreator: (configuration?: Confi
|
|
|
67
67
|
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
68
68
|
* @summary List bank transactions
|
|
69
69
|
* @param {string} [authorization] Bearer Token
|
|
70
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
71
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
70
72
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
71
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
72
73
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, createdAt, amount</i>
|
|
73
74
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, transactionDate, entryDate</i>
|
|
74
75
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress<i>
|
|
76
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
75
77
|
* @param {*} [options] Override http request option.
|
|
76
78
|
* @throws {RequiredError}
|
|
77
79
|
*/
|
|
78
|
-
listBankTransactions: (authorization?: string,
|
|
80
|
+
listBankTransactions: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
79
81
|
/**
|
|
80
82
|
* Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
81
83
|
* @summary Unlink bank transaction
|
|
@@ -134,15 +136,17 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
|
|
|
134
136
|
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
135
137
|
* @summary List bank transactions
|
|
136
138
|
* @param {string} [authorization] Bearer Token
|
|
139
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
140
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
137
141
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
138
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
139
142
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, createdAt, amount</i>
|
|
140
143
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, transactionDate, entryDate</i>
|
|
141
144
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress<i>
|
|
145
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
142
146
|
* @param {*} [options] Override http request option.
|
|
143
147
|
* @throws {RequiredError}
|
|
144
148
|
*/
|
|
145
|
-
listBankTransactions(authorization?: string,
|
|
149
|
+
listBankTransactions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankTransactionsResponseClass>>;
|
|
146
150
|
/**
|
|
147
151
|
* Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
148
152
|
* @summary Unlink bank transaction
|
|
@@ -201,15 +205,17 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
|
|
|
201
205
|
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
202
206
|
* @summary List bank transactions
|
|
203
207
|
* @param {string} [authorization] Bearer Token
|
|
208
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
209
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
204
210
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
205
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
206
211
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, createdAt, amount</i>
|
|
207
212
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, transactionDate, entryDate</i>
|
|
208
213
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress<i>
|
|
214
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
209
215
|
* @param {*} [options] Override http request option.
|
|
210
216
|
* @throws {RequiredError}
|
|
211
217
|
*/
|
|
212
|
-
listBankTransactions(authorization?: string,
|
|
218
|
+
listBankTransactions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListBankTransactionsResponseClass>;
|
|
213
219
|
/**
|
|
214
220
|
* Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
215
221
|
* @summary Unlink bank transaction
|
|
@@ -322,17 +328,23 @@ export interface BankTransactionApiListBankTransactionsRequest {
|
|
|
322
328
|
*/
|
|
323
329
|
readonly authorization?: string;
|
|
324
330
|
/**
|
|
325
|
-
*
|
|
331
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
332
|
+
* @type {number}
|
|
333
|
+
* @memberof BankTransactionApiListBankTransactions
|
|
334
|
+
*/
|
|
335
|
+
readonly pageSize?: number;
|
|
336
|
+
/**
|
|
337
|
+
* A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
326
338
|
* @type {string}
|
|
327
339
|
* @memberof BankTransactionApiListBankTransactions
|
|
328
340
|
*/
|
|
329
|
-
readonly
|
|
341
|
+
readonly pageToken?: string;
|
|
330
342
|
/**
|
|
331
|
-
*
|
|
343
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
332
344
|
* @type {string}
|
|
333
345
|
* @memberof BankTransactionApiListBankTransactions
|
|
334
346
|
*/
|
|
335
|
-
readonly
|
|
347
|
+
readonly filter?: string;
|
|
336
348
|
/**
|
|
337
349
|
* Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, createdAt, amount</i>
|
|
338
350
|
* @type {string}
|
|
@@ -351,6 +363,12 @@ export interface BankTransactionApiListBankTransactionsRequest {
|
|
|
351
363
|
* @memberof BankTransactionApiListBankTransactions
|
|
352
364
|
*/
|
|
353
365
|
readonly expand?: string;
|
|
366
|
+
/**
|
|
367
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
368
|
+
* @type {string}
|
|
369
|
+
* @memberof BankTransactionApiListBankTransactions
|
|
370
|
+
*/
|
|
371
|
+
readonly filters?: string;
|
|
354
372
|
}
|
|
355
373
|
/**
|
|
356
374
|
* Request parameters for unlinkBankTransaction operation in BankTransactionApi.
|
|
@@ -306,15 +306,17 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
|
|
|
306
306
|
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
307
307
|
* @summary List bank transactions
|
|
308
308
|
* @param {string} [authorization] Bearer Token
|
|
309
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
310
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
309
311
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
310
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
311
312
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, createdAt, amount</i>
|
|
312
313
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, transactionDate, entryDate</i>
|
|
313
314
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress<i>
|
|
315
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
314
316
|
* @param {*} [options] Override http request option.
|
|
315
317
|
* @throws {RequiredError}
|
|
316
318
|
*/
|
|
317
|
-
listBankTransactions: function (authorization,
|
|
319
|
+
listBankTransactions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
318
320
|
if (options === void 0) { options = {}; }
|
|
319
321
|
return __awaiter(_this, void 0, void 0, function () {
|
|
320
322
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -337,12 +339,15 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
|
|
|
337
339
|
// authentication bearer required
|
|
338
340
|
// http bearer authentication required
|
|
339
341
|
_a.sent();
|
|
342
|
+
if (pageSize !== undefined) {
|
|
343
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
344
|
+
}
|
|
345
|
+
if (pageToken !== undefined) {
|
|
346
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
347
|
+
}
|
|
340
348
|
if (filter !== undefined) {
|
|
341
349
|
localVarQueryParameter['filter'] = filter;
|
|
342
350
|
}
|
|
343
|
-
if (filters !== undefined) {
|
|
344
|
-
localVarQueryParameter['filters'] = filters;
|
|
345
|
-
}
|
|
346
351
|
if (search !== undefined) {
|
|
347
352
|
localVarQueryParameter['search'] = search;
|
|
348
353
|
}
|
|
@@ -352,6 +357,9 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
|
|
|
352
357
|
if (expand !== undefined) {
|
|
353
358
|
localVarQueryParameter['expand'] = expand;
|
|
354
359
|
}
|
|
360
|
+
if (filters !== undefined) {
|
|
361
|
+
localVarQueryParameter['filters'] = filters;
|
|
362
|
+
}
|
|
355
363
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
356
364
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
357
365
|
}
|
|
@@ -519,20 +527,22 @@ var BankTransactionApiFp = function (configuration) {
|
|
|
519
527
|
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
520
528
|
* @summary List bank transactions
|
|
521
529
|
* @param {string} [authorization] Bearer Token
|
|
530
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
531
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
522
532
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
523
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
524
533
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, createdAt, amount</i>
|
|
525
534
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, transactionDate, entryDate</i>
|
|
526
535
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress<i>
|
|
536
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
527
537
|
* @param {*} [options] Override http request option.
|
|
528
538
|
* @throws {RequiredError}
|
|
529
539
|
*/
|
|
530
|
-
listBankTransactions: function (authorization,
|
|
540
|
+
listBankTransactions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
531
541
|
return __awaiter(this, void 0, void 0, function () {
|
|
532
542
|
var localVarAxiosArgs;
|
|
533
543
|
return __generator(this, function (_a) {
|
|
534
544
|
switch (_a.label) {
|
|
535
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listBankTransactions(authorization,
|
|
545
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
536
546
|
case 1:
|
|
537
547
|
localVarAxiosArgs = _a.sent();
|
|
538
548
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -622,16 +632,18 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
|
|
|
622
632
|
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
623
633
|
* @summary List bank transactions
|
|
624
634
|
* @param {string} [authorization] Bearer Token
|
|
635
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
636
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
625
637
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
626
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
627
638
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, createdAt, amount</i>
|
|
628
639
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, transactionDate, entryDate</i>
|
|
629
640
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress<i>
|
|
641
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
630
642
|
* @param {*} [options] Override http request option.
|
|
631
643
|
* @throws {RequiredError}
|
|
632
644
|
*/
|
|
633
|
-
listBankTransactions: function (authorization,
|
|
634
|
-
return localVarFp.listBankTransactions(authorization,
|
|
645
|
+
listBankTransactions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
646
|
+
return localVarFp.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
635
647
|
},
|
|
636
648
|
/**
|
|
637
649
|
* Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
@@ -718,7 +730,7 @@ var BankTransactionApi = /** @class */ (function (_super) {
|
|
|
718
730
|
BankTransactionApi.prototype.listBankTransactions = function (requestParameters, options) {
|
|
719
731
|
var _this = this;
|
|
720
732
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
721
|
-
return (0, exports.BankTransactionApiFp)(this.configuration).listBankTransactions(requestParameters.authorization, requestParameters.
|
|
733
|
+
return (0, exports.BankTransactionApiFp)(this.configuration).listBankTransactions(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); });
|
|
722
734
|
};
|
|
723
735
|
/**
|
|
724
736
|
* Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
@@ -43,14 +43,17 @@ export declare const PaymentMethodsApiAxiosParamCreator: (configuration?: Config
|
|
|
43
43
|
* Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
44
44
|
* @summary List payment methods
|
|
45
45
|
* @param {string} [authorization] Bearer Token
|
|
46
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
47
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
46
48
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, productSlug</i>
|
|
47
|
-
* @param {string} [
|
|
49
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
48
50
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt</i>
|
|
49
51
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
52
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, productSlug</i>
|
|
50
53
|
* @param {*} [options] Override http request option.
|
|
51
54
|
* @throws {RequiredError}
|
|
52
55
|
*/
|
|
53
|
-
listPaymentMethods: (authorization?: string, filter?: string,
|
|
56
|
+
listPaymentMethods: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
54
57
|
};
|
|
55
58
|
/**
|
|
56
59
|
* PaymentMethodsApi - functional programming interface
|
|
@@ -79,14 +82,17 @@ export declare const PaymentMethodsApiFp: (configuration?: Configuration) => {
|
|
|
79
82
|
* Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
80
83
|
* @summary List payment methods
|
|
81
84
|
* @param {string} [authorization] Bearer Token
|
|
85
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
86
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
82
87
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, productSlug</i>
|
|
83
|
-
* @param {string} [
|
|
88
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
84
89
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt</i>
|
|
85
90
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
91
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, productSlug</i>
|
|
86
92
|
* @param {*} [options] Override http request option.
|
|
87
93
|
* @throws {RequiredError}
|
|
88
94
|
*/
|
|
89
|
-
listPaymentMethods(authorization?: string, filter?: string,
|
|
95
|
+
listPaymentMethods(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentMethodsResponseClass>>;
|
|
90
96
|
};
|
|
91
97
|
/**
|
|
92
98
|
* PaymentMethodsApi - factory interface
|
|
@@ -115,14 +121,17 @@ export declare const PaymentMethodsApiFactory: (configuration?: Configuration, b
|
|
|
115
121
|
* Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
116
122
|
* @summary List payment methods
|
|
117
123
|
* @param {string} [authorization] Bearer Token
|
|
124
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
125
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
118
126
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, productSlug</i>
|
|
119
|
-
* @param {string} [
|
|
127
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
120
128
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt</i>
|
|
121
129
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
130
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, productSlug</i>
|
|
122
131
|
* @param {*} [options] Override http request option.
|
|
123
132
|
* @throws {RequiredError}
|
|
124
133
|
*/
|
|
125
|
-
listPaymentMethods(authorization?: string, filter?: string,
|
|
134
|
+
listPaymentMethods(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPaymentMethodsResponseClass>;
|
|
126
135
|
};
|
|
127
136
|
/**
|
|
128
137
|
* Request parameters for createPaymentMethod operation in PaymentMethodsApi.
|
|
@@ -174,6 +183,18 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
|
|
|
174
183
|
* @memberof PaymentMethodsApiListPaymentMethods
|
|
175
184
|
*/
|
|
176
185
|
readonly authorization?: string;
|
|
186
|
+
/**
|
|
187
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
188
|
+
* @type {number}
|
|
189
|
+
* @memberof PaymentMethodsApiListPaymentMethods
|
|
190
|
+
*/
|
|
191
|
+
readonly pageSize?: number;
|
|
192
|
+
/**
|
|
193
|
+
* A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
194
|
+
* @type {string}
|
|
195
|
+
* @memberof PaymentMethodsApiListPaymentMethods
|
|
196
|
+
*/
|
|
197
|
+
readonly pageToken?: string;
|
|
177
198
|
/**
|
|
178
199
|
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, productSlug</i>
|
|
179
200
|
* @type {string}
|
|
@@ -181,11 +202,11 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
|
|
|
181
202
|
*/
|
|
182
203
|
readonly filter?: string;
|
|
183
204
|
/**
|
|
184
|
-
*
|
|
205
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
185
206
|
* @type {string}
|
|
186
207
|
* @memberof PaymentMethodsApiListPaymentMethods
|
|
187
208
|
*/
|
|
188
|
-
readonly
|
|
209
|
+
readonly search?: string;
|
|
189
210
|
/**
|
|
190
211
|
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt</i>
|
|
191
212
|
* @type {string}
|
|
@@ -198,6 +219,12 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
|
|
|
198
219
|
* @memberof PaymentMethodsApiListPaymentMethods
|
|
199
220
|
*/
|
|
200
221
|
readonly expand?: string;
|
|
222
|
+
/**
|
|
223
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, productSlug</i>
|
|
224
|
+
* @type {string}
|
|
225
|
+
* @memberof PaymentMethodsApiListPaymentMethods
|
|
226
|
+
*/
|
|
227
|
+
readonly filters?: string;
|
|
201
228
|
}
|
|
202
229
|
/**
|
|
203
230
|
* PaymentMethodsApi - object-oriented interface
|