@emilgroup/payment-sdk 1.13.1-beta.16 → 1.13.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
|
@@ -245,14 +245,17 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
245
245
|
* Returns a list of bank accounts you have previously created. The bank accounts 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\"
|
|
246
246
|
* @summary List bank accounts
|
|
247
247
|
* @param {string} [authorization] Bearer Token
|
|
248
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
249
|
+
* @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.
|
|
248
250
|
* @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, accountCode, partnerCode</i>
|
|
249
|
-
* @param {string} [
|
|
251
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
250
252
|
* @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>
|
|
251
253
|
* @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: primaryBankAccount<i>
|
|
254
|
+
* @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, accountCode, partnerCode</i>
|
|
252
255
|
* @param {*} [options] Override http request option.
|
|
253
256
|
* @throws {RequiredError}
|
|
254
257
|
*/
|
|
255
|
-
listBankAccounts: function (authorization, filter,
|
|
258
|
+
listBankAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
256
259
|
if (options === void 0) { options = {}; }
|
|
257
260
|
return __awaiter(_this, void 0, void 0, function () {
|
|
258
261
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -275,11 +278,17 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
275
278
|
// authentication bearer required
|
|
276
279
|
// http bearer authentication required
|
|
277
280
|
_a.sent();
|
|
281
|
+
if (pageSize !== undefined) {
|
|
282
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
283
|
+
}
|
|
284
|
+
if (pageToken !== undefined) {
|
|
285
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
286
|
+
}
|
|
278
287
|
if (filter !== undefined) {
|
|
279
288
|
localVarQueryParameter['filter'] = filter;
|
|
280
289
|
}
|
|
281
|
-
if (
|
|
282
|
-
localVarQueryParameter['
|
|
290
|
+
if (search !== undefined) {
|
|
291
|
+
localVarQueryParameter['search'] = search;
|
|
283
292
|
}
|
|
284
293
|
if (order !== undefined) {
|
|
285
294
|
localVarQueryParameter['order'] = order;
|
|
@@ -287,6 +296,9 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
287
296
|
if (expand !== undefined) {
|
|
288
297
|
localVarQueryParameter['expand'] = expand;
|
|
289
298
|
}
|
|
299
|
+
if (filters !== undefined) {
|
|
300
|
+
localVarQueryParameter['filters'] = filters;
|
|
301
|
+
}
|
|
290
302
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
291
303
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
292
304
|
}
|
|
@@ -485,19 +497,22 @@ var BankAccountsApiFp = function (configuration) {
|
|
|
485
497
|
* Returns a list of bank accounts you have previously created. The bank accounts 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\"
|
|
486
498
|
* @summary List bank accounts
|
|
487
499
|
* @param {string} [authorization] Bearer Token
|
|
500
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
501
|
+
* @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.
|
|
488
502
|
* @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, accountCode, partnerCode</i>
|
|
489
|
-
* @param {string} [
|
|
503
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
490
504
|
* @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>
|
|
491
505
|
* @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: primaryBankAccount<i>
|
|
506
|
+
* @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, accountCode, partnerCode</i>
|
|
492
507
|
* @param {*} [options] Override http request option.
|
|
493
508
|
* @throws {RequiredError}
|
|
494
509
|
*/
|
|
495
|
-
listBankAccounts: function (authorization, filter,
|
|
510
|
+
listBankAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
496
511
|
return __awaiter(this, void 0, void 0, function () {
|
|
497
512
|
var localVarAxiosArgs;
|
|
498
513
|
return __generator(this, function (_a) {
|
|
499
514
|
switch (_a.label) {
|
|
500
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listBankAccounts(authorization, filter,
|
|
515
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
501
516
|
case 1:
|
|
502
517
|
localVarAxiosArgs = _a.sent();
|
|
503
518
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -597,15 +612,18 @@ var BankAccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
597
612
|
* Returns a list of bank accounts you have previously created. The bank accounts 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\"
|
|
598
613
|
* @summary List bank accounts
|
|
599
614
|
* @param {string} [authorization] Bearer Token
|
|
615
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
616
|
+
* @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.
|
|
600
617
|
* @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, accountCode, partnerCode</i>
|
|
601
|
-
* @param {string} [
|
|
618
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
602
619
|
* @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>
|
|
603
620
|
* @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: primaryBankAccount<i>
|
|
621
|
+
* @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, accountCode, partnerCode</i>
|
|
604
622
|
* @param {*} [options] Override http request option.
|
|
605
623
|
* @throws {RequiredError}
|
|
606
624
|
*/
|
|
607
|
-
listBankAccounts: function (authorization, filter,
|
|
608
|
-
return localVarFp.listBankAccounts(authorization, filter,
|
|
625
|
+
listBankAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
626
|
+
return localVarFp.listBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
609
627
|
},
|
|
610
628
|
/**
|
|
611
629
|
* Set the primary bank account for the specified partner/account **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
@@ -692,7 +710,7 @@ var BankAccountsApi = /** @class */ (function (_super) {
|
|
|
692
710
|
BankAccountsApi.prototype.listBankAccounts = function (requestParameters, options) {
|
|
693
711
|
var _this = this;
|
|
694
712
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
695
|
-
return (0, exports.BankAccountsApiFp)(this.configuration).listBankAccounts(requestParameters.authorization, requestParameters.filter, requestParameters.
|
|
713
|
+
return (0, exports.BankAccountsApiFp)(this.configuration).listBankAccounts(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); });
|
|
696
714
|
};
|
|
697
715
|
/**
|
|
698
716
|
* Set the primary bank account for the specified partner/account **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
@@ -16,7 +16,7 @@ import { CreateBankOrderRequestDto } from '../models';
|
|
|
16
16
|
import { CreateBankOrderResponseClass } from '../models';
|
|
17
17
|
import { GetBankOrderResponseClass } from '../models';
|
|
18
18
|
import { ListBankOrdersResponseClass } from '../models';
|
|
19
|
-
import {
|
|
19
|
+
import { UpdateBankOrderRequestDto } from '../models';
|
|
20
20
|
import { UpdateBankOrderResponseClass } from '../models';
|
|
21
21
|
/**
|
|
22
22
|
* BankOrdersApi - axios parameter creator
|
|
@@ -46,7 +46,7 @@ export declare const BankOrdersApiAxiosParamCreator: (configuration?: Configurat
|
|
|
46
46
|
* @summary Retrieve the bank order
|
|
47
47
|
* @param {string} code
|
|
48
48
|
* @param {string} [authorization] Bearer Token
|
|
49
|
-
* @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:
|
|
49
|
+
* @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>
|
|
50
50
|
* @param {*} [options] Override http request option.
|
|
51
51
|
* @throws {RequiredError}
|
|
52
52
|
*/
|
|
@@ -55,24 +55,27 @@ export declare const BankOrdersApiAxiosParamCreator: (configuration?: Configurat
|
|
|
55
55
|
* 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\"
|
|
56
56
|
* @summary List bank orders
|
|
57
57
|
* @param {string} [authorization] Bearer Token
|
|
58
|
-
* @param {
|
|
59
|
-
* @param {string} [
|
|
60
|
-
* @param {string} [
|
|
61
|
-
* @param {string} [
|
|
58
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
59
|
+
* @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.
|
|
60
|
+
* @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>
|
|
61
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
62
|
+
* @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>
|
|
63
|
+
* @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>
|
|
64
|
+
* @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>
|
|
62
65
|
* @param {*} [options] Override http request option.
|
|
63
66
|
* @throws {RequiredError}
|
|
64
67
|
*/
|
|
65
|
-
listBankOrders: (authorization?: string, filter?: string,
|
|
68
|
+
listBankOrders: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
66
69
|
/**
|
|
67
70
|
* Update a bank order by code **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
68
71
|
* @summary Update the bank order
|
|
69
72
|
* @param {string} code Unique identifier for the object.
|
|
70
|
-
* @param {
|
|
73
|
+
* @param {UpdateBankOrderRequestDto} updateBankOrderRequestDto
|
|
71
74
|
* @param {string} [authorization] Bearer Token
|
|
72
75
|
* @param {*} [options] Override http request option.
|
|
73
76
|
* @throws {RequiredError}
|
|
74
77
|
*/
|
|
75
|
-
updateBankOrder: (code: string,
|
|
78
|
+
updateBankOrder: (code: string, updateBankOrderRequestDto: UpdateBankOrderRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
76
79
|
};
|
|
77
80
|
/**
|
|
78
81
|
* BankOrdersApi - functional programming interface
|
|
@@ -102,7 +105,7 @@ export declare const BankOrdersApiFp: (configuration?: Configuration) => {
|
|
|
102
105
|
* @summary Retrieve the bank order
|
|
103
106
|
* @param {string} code
|
|
104
107
|
* @param {string} [authorization] Bearer Token
|
|
105
|
-
* @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:
|
|
108
|
+
* @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>
|
|
106
109
|
* @param {*} [options] Override http request option.
|
|
107
110
|
* @throws {RequiredError}
|
|
108
111
|
*/
|
|
@@ -111,24 +114,27 @@ export declare const BankOrdersApiFp: (configuration?: Configuration) => {
|
|
|
111
114
|
* 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\"
|
|
112
115
|
* @summary List bank orders
|
|
113
116
|
* @param {string} [authorization] Bearer Token
|
|
114
|
-
* @param {
|
|
115
|
-
* @param {string} [
|
|
116
|
-
* @param {string} [
|
|
117
|
-
* @param {string} [
|
|
117
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
118
|
+
* @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.
|
|
119
|
+
* @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>
|
|
120
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
121
|
+
* @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>
|
|
122
|
+
* @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>
|
|
123
|
+
* @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>
|
|
118
124
|
* @param {*} [options] Override http request option.
|
|
119
125
|
* @throws {RequiredError}
|
|
120
126
|
*/
|
|
121
|
-
listBankOrders(authorization?: string, filter?: string,
|
|
127
|
+
listBankOrders(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankOrdersResponseClass>>;
|
|
122
128
|
/**
|
|
123
129
|
* Update a bank order by code **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
124
130
|
* @summary Update the bank order
|
|
125
131
|
* @param {string} code Unique identifier for the object.
|
|
126
|
-
* @param {
|
|
132
|
+
* @param {UpdateBankOrderRequestDto} updateBankOrderRequestDto
|
|
127
133
|
* @param {string} [authorization] Bearer Token
|
|
128
134
|
* @param {*} [options] Override http request option.
|
|
129
135
|
* @throws {RequiredError}
|
|
130
136
|
*/
|
|
131
|
-
updateBankOrder(code: string,
|
|
137
|
+
updateBankOrder(code: string, updateBankOrderRequestDto: UpdateBankOrderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateBankOrderResponseClass>>;
|
|
132
138
|
};
|
|
133
139
|
/**
|
|
134
140
|
* BankOrdersApi - factory interface
|
|
@@ -158,7 +164,7 @@ export declare const BankOrdersApiFactory: (configuration?: Configuration, baseP
|
|
|
158
164
|
* @summary Retrieve the bank order
|
|
159
165
|
* @param {string} code
|
|
160
166
|
* @param {string} [authorization] Bearer Token
|
|
161
|
-
* @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:
|
|
167
|
+
* @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>
|
|
162
168
|
* @param {*} [options] Override http request option.
|
|
163
169
|
* @throws {RequiredError}
|
|
164
170
|
*/
|
|
@@ -167,24 +173,27 @@ export declare const BankOrdersApiFactory: (configuration?: Configuration, baseP
|
|
|
167
173
|
* 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\"
|
|
168
174
|
* @summary List bank orders
|
|
169
175
|
* @param {string} [authorization] Bearer Token
|
|
170
|
-
* @param {
|
|
171
|
-
* @param {string} [
|
|
172
|
-
* @param {string} [
|
|
173
|
-
* @param {string} [
|
|
176
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
177
|
+
* @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.
|
|
178
|
+
* @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>
|
|
179
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
180
|
+
* @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>
|
|
181
|
+
* @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>
|
|
182
|
+
* @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>
|
|
174
183
|
* @param {*} [options] Override http request option.
|
|
175
184
|
* @throws {RequiredError}
|
|
176
185
|
*/
|
|
177
|
-
listBankOrders(authorization?: string, filter?: string,
|
|
186
|
+
listBankOrders(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListBankOrdersResponseClass>;
|
|
178
187
|
/**
|
|
179
188
|
* Update a bank order by code **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
180
189
|
* @summary Update the bank order
|
|
181
190
|
* @param {string} code Unique identifier for the object.
|
|
182
|
-
* @param {
|
|
191
|
+
* @param {UpdateBankOrderRequestDto} updateBankOrderRequestDto
|
|
183
192
|
* @param {string} [authorization] Bearer Token
|
|
184
193
|
* @param {*} [options] Override http request option.
|
|
185
194
|
* @throws {RequiredError}
|
|
186
195
|
*/
|
|
187
|
-
updateBankOrder(code: string,
|
|
196
|
+
updateBankOrder(code: string, updateBankOrderRequestDto: UpdateBankOrderRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateBankOrderResponseClass>;
|
|
188
197
|
};
|
|
189
198
|
/**
|
|
190
199
|
* Request parameters for createBankOrder operation in BankOrdersApi.
|
|
@@ -243,7 +252,7 @@ export interface BankOrdersApiGetBankOrderRequest {
|
|
|
243
252
|
*/
|
|
244
253
|
readonly authorization?: string;
|
|
245
254
|
/**
|
|
246
|
-
* 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:
|
|
255
|
+
* 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>
|
|
247
256
|
* @type {string}
|
|
248
257
|
* @memberof BankOrdersApiGetBankOrder
|
|
249
258
|
*/
|
|
@@ -262,29 +271,47 @@ export interface BankOrdersApiListBankOrdersRequest {
|
|
|
262
271
|
*/
|
|
263
272
|
readonly authorization?: string;
|
|
264
273
|
/**
|
|
265
|
-
*
|
|
274
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
275
|
+
* @type {number}
|
|
276
|
+
* @memberof BankOrdersApiListBankOrders
|
|
277
|
+
*/
|
|
278
|
+
readonly pageSize?: number;
|
|
279
|
+
/**
|
|
280
|
+
* 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.
|
|
281
|
+
* @type {string}
|
|
282
|
+
* @memberof BankOrdersApiListBankOrders
|
|
283
|
+
*/
|
|
284
|
+
readonly pageToken?: string;
|
|
285
|
+
/**
|
|
286
|
+
* 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>
|
|
266
287
|
* @type {string}
|
|
267
288
|
* @memberof BankOrdersApiListBankOrders
|
|
268
289
|
*/
|
|
269
290
|
readonly filter?: string;
|
|
270
291
|
/**
|
|
271
|
-
*
|
|
292
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
272
293
|
* @type {string}
|
|
273
294
|
* @memberof BankOrdersApiListBankOrders
|
|
274
295
|
*/
|
|
275
|
-
readonly
|
|
296
|
+
readonly search?: string;
|
|
276
297
|
/**
|
|
277
|
-
* 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,
|
|
298
|
+
* 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>
|
|
278
299
|
* @type {string}
|
|
279
300
|
* @memberof BankOrdersApiListBankOrders
|
|
280
301
|
*/
|
|
281
302
|
readonly order?: string;
|
|
282
303
|
/**
|
|
283
|
-
* 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:
|
|
304
|
+
* 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>
|
|
284
305
|
* @type {string}
|
|
285
306
|
* @memberof BankOrdersApiListBankOrders
|
|
286
307
|
*/
|
|
287
308
|
readonly expand?: string;
|
|
309
|
+
/**
|
|
310
|
+
* 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>
|
|
311
|
+
* @type {string}
|
|
312
|
+
* @memberof BankOrdersApiListBankOrders
|
|
313
|
+
*/
|
|
314
|
+
readonly filters?: string;
|
|
288
315
|
}
|
|
289
316
|
/**
|
|
290
317
|
* Request parameters for updateBankOrder operation in BankOrdersApi.
|
|
@@ -300,10 +327,10 @@ export interface BankOrdersApiUpdateBankOrderRequest {
|
|
|
300
327
|
readonly code: string;
|
|
301
328
|
/**
|
|
302
329
|
*
|
|
303
|
-
* @type {
|
|
330
|
+
* @type {UpdateBankOrderRequestDto}
|
|
304
331
|
* @memberof BankOrdersApiUpdateBankOrder
|
|
305
332
|
*/
|
|
306
|
-
readonly
|
|
333
|
+
readonly updateBankOrderRequestDto: UpdateBankOrderRequestDto;
|
|
307
334
|
/**
|
|
308
335
|
* Bearer Token
|
|
309
336
|
* @type {string}
|