@emilgroup/payment-sdk 1.13.1-beta.13 → 1.13.1-beta.14
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-orders-api.ts +28 -14
- package/dist/api/bank-orders-api.d.ts +20 -11
- package/dist/api/bank-orders-api.js +18 -12
- package/dist/models/bank-order-class.d.ts +13 -0
- package/dist/models/create-bank-order-request-dto.d.ts +6 -0
- package/dist/models/update-bank-order-request-dto.d.ts +6 -0
- package/models/bank-order-class.ts +13 -0
- package/models/create-bank-order-request-dto.ts +6 -0
- package/models/update-bank-order-request-dto.ts +6 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/payment-sdk@1.13.1-beta.
|
|
20
|
+
npm install @emilgroup/payment-sdk@1.13.1-beta.14 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/payment-sdk@1.13.1-beta.
|
|
24
|
+
yarn add @emilgroup/payment-sdk@1.13.1-beta.14
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PaymentsApi`.
|
package/api/bank-orders-api.ts
CHANGED
|
@@ -133,10 +133,11 @@ export const BankOrdersApiAxiosParamCreator = function (configuration?: Configur
|
|
|
133
133
|
* @summary Retrieve the bank order
|
|
134
134
|
* @param {string} code
|
|
135
135
|
* @param {string} [authorization] Bearer Token
|
|
136
|
+
* @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<i>
|
|
136
137
|
* @param {*} [options] Override http request option.
|
|
137
138
|
* @throws {RequiredError}
|
|
138
139
|
*/
|
|
139
|
-
getBankOrder: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
140
|
+
getBankOrder: async (code: string, authorization?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
140
141
|
// verify required parameter 'code' is not null or undefined
|
|
141
142
|
assertParamExists('getBankOrder', 'code', code)
|
|
142
143
|
const localVarPath = `/paymentservice/v1/bank-orders/{code}`
|
|
@@ -158,6 +159,10 @@ export const BankOrdersApiAxiosParamCreator = function (configuration?: Configur
|
|
|
158
159
|
// http bearer authentication required
|
|
159
160
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
160
161
|
|
|
162
|
+
if (expand !== undefined) {
|
|
163
|
+
localVarQueryParameter['expand'] = expand;
|
|
164
|
+
}
|
|
165
|
+
|
|
161
166
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
162
167
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
163
168
|
}
|
|
@@ -179,8 +184,8 @@ export const BankOrdersApiAxiosParamCreator = function (configuration?: Configur
|
|
|
179
184
|
* @param {string} [authorization] Bearer Token
|
|
180
185
|
* @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, bankAccountId</i>
|
|
181
186
|
* @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, bankAccountId</i>
|
|
182
|
-
* @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, orderNumber, bankAccountId, amount, createdAt, updatedAt</i>
|
|
183
|
-
* @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/>
|
|
187
|
+
* @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, bankAccountId, amount, createdAt, updatedAt</i>
|
|
188
|
+
* @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<i>
|
|
184
189
|
* @param {*} [options] Override http request option.
|
|
185
190
|
* @throws {RequiredError}
|
|
186
191
|
*/
|
|
@@ -318,11 +323,12 @@ export const BankOrdersApiFp = function(configuration?: Configuration) {
|
|
|
318
323
|
* @summary Retrieve the bank order
|
|
319
324
|
* @param {string} code
|
|
320
325
|
* @param {string} [authorization] Bearer Token
|
|
326
|
+
* @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<i>
|
|
321
327
|
* @param {*} [options] Override http request option.
|
|
322
328
|
* @throws {RequiredError}
|
|
323
329
|
*/
|
|
324
|
-
async getBankOrder(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankOrderResponseClass>> {
|
|
325
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getBankOrder(code, authorization, options);
|
|
330
|
+
async getBankOrder(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankOrderResponseClass>> {
|
|
331
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getBankOrder(code, authorization, expand, options);
|
|
326
332
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
327
333
|
},
|
|
328
334
|
/**
|
|
@@ -331,8 +337,8 @@ export const BankOrdersApiFp = function(configuration?: Configuration) {
|
|
|
331
337
|
* @param {string} [authorization] Bearer Token
|
|
332
338
|
* @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, bankAccountId</i>
|
|
333
339
|
* @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, bankAccountId</i>
|
|
334
|
-
* @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, orderNumber, bankAccountId, amount, createdAt, updatedAt</i>
|
|
335
|
-
* @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/>
|
|
340
|
+
* @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, bankAccountId, amount, createdAt, updatedAt</i>
|
|
341
|
+
* @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<i>
|
|
336
342
|
* @param {*} [options] Override http request option.
|
|
337
343
|
* @throws {RequiredError}
|
|
338
344
|
*/
|
|
@@ -389,11 +395,12 @@ export const BankOrdersApiFactory = function (configuration?: Configuration, bas
|
|
|
389
395
|
* @summary Retrieve the bank order
|
|
390
396
|
* @param {string} code
|
|
391
397
|
* @param {string} [authorization] Bearer Token
|
|
398
|
+
* @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<i>
|
|
392
399
|
* @param {*} [options] Override http request option.
|
|
393
400
|
* @throws {RequiredError}
|
|
394
401
|
*/
|
|
395
|
-
getBankOrder(code: string, authorization?: string, options?: any): AxiosPromise<GetBankOrderResponseClass> {
|
|
396
|
-
return localVarFp.getBankOrder(code, authorization, options).then((request) => request(axios, basePath));
|
|
402
|
+
getBankOrder(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetBankOrderResponseClass> {
|
|
403
|
+
return localVarFp.getBankOrder(code, authorization, expand, options).then((request) => request(axios, basePath));
|
|
397
404
|
},
|
|
398
405
|
/**
|
|
399
406
|
* 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\"
|
|
@@ -401,8 +408,8 @@ export const BankOrdersApiFactory = function (configuration?: Configuration, bas
|
|
|
401
408
|
* @param {string} [authorization] Bearer Token
|
|
402
409
|
* @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, bankAccountId</i>
|
|
403
410
|
* @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, bankAccountId</i>
|
|
404
|
-
* @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, orderNumber, bankAccountId, amount, createdAt, updatedAt</i>
|
|
405
|
-
* @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/>
|
|
411
|
+
* @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, bankAccountId, amount, createdAt, updatedAt</i>
|
|
412
|
+
* @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<i>
|
|
406
413
|
* @param {*} [options] Override http request option.
|
|
407
414
|
* @throws {RequiredError}
|
|
408
415
|
*/
|
|
@@ -484,6 +491,13 @@ export interface BankOrdersApiGetBankOrderRequest {
|
|
|
484
491
|
* @memberof BankOrdersApiGetBankOrder
|
|
485
492
|
*/
|
|
486
493
|
readonly authorization?: string
|
|
494
|
+
|
|
495
|
+
/**
|
|
496
|
+
* 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<i>
|
|
497
|
+
* @type {string}
|
|
498
|
+
* @memberof BankOrdersApiGetBankOrder
|
|
499
|
+
*/
|
|
500
|
+
readonly expand?: string
|
|
487
501
|
}
|
|
488
502
|
|
|
489
503
|
/**
|
|
@@ -514,14 +528,14 @@ export interface BankOrdersApiListBankOrdersRequest {
|
|
|
514
528
|
readonly filters?: string
|
|
515
529
|
|
|
516
530
|
/**
|
|
517
|
-
* 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, orderNumber, bankAccountId, amount, createdAt, updatedAt</i>
|
|
531
|
+
* 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, bankAccountId, amount, createdAt, updatedAt</i>
|
|
518
532
|
* @type {string}
|
|
519
533
|
* @memberof BankOrdersApiListBankOrders
|
|
520
534
|
*/
|
|
521
535
|
readonly order?: string
|
|
522
536
|
|
|
523
537
|
/**
|
|
524
|
-
* 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/>
|
|
538
|
+
* 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<i>
|
|
525
539
|
* @type {string}
|
|
526
540
|
* @memberof BankOrdersApiListBankOrders
|
|
527
541
|
*/
|
|
@@ -589,7 +603,7 @@ export class BankOrdersApi extends BaseAPI {
|
|
|
589
603
|
* @memberof BankOrdersApi
|
|
590
604
|
*/
|
|
591
605
|
public getBankOrder(requestParameters: BankOrdersApiGetBankOrderRequest, options?: AxiosRequestConfig) {
|
|
592
|
-
return BankOrdersApiFp(this.configuration).getBankOrder(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
606
|
+
return BankOrdersApiFp(this.configuration).getBankOrder(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
593
607
|
}
|
|
594
608
|
|
|
595
609
|
/**
|
|
@@ -45,18 +45,19 @@ export declare const BankOrdersApiAxiosParamCreator: (configuration?: Configurat
|
|
|
45
45
|
* @summary Retrieve the bank order
|
|
46
46
|
* @param {string} code
|
|
47
47
|
* @param {string} [authorization] Bearer Token
|
|
48
|
+
* @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<i>
|
|
48
49
|
* @param {*} [options] Override http request option.
|
|
49
50
|
* @throws {RequiredError}
|
|
50
51
|
*/
|
|
51
|
-
getBankOrder: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
52
|
+
getBankOrder: (code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
52
53
|
/**
|
|
53
54
|
* 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\"
|
|
54
55
|
* @summary List bank orders
|
|
55
56
|
* @param {string} [authorization] Bearer Token
|
|
56
57
|
* @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, bankAccountId</i>
|
|
57
58
|
* @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, bankAccountId</i>
|
|
58
|
-
* @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, orderNumber, bankAccountId, amount, createdAt, updatedAt</i>
|
|
59
|
-
* @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/>
|
|
59
|
+
* @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, bankAccountId, amount, createdAt, updatedAt</i>
|
|
60
|
+
* @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<i>
|
|
60
61
|
* @param {*} [options] Override http request option.
|
|
61
62
|
* @throws {RequiredError}
|
|
62
63
|
*/
|
|
@@ -99,18 +100,19 @@ export declare const BankOrdersApiFp: (configuration?: Configuration) => {
|
|
|
99
100
|
* @summary Retrieve the bank order
|
|
100
101
|
* @param {string} code
|
|
101
102
|
* @param {string} [authorization] Bearer Token
|
|
103
|
+
* @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<i>
|
|
102
104
|
* @param {*} [options] Override http request option.
|
|
103
105
|
* @throws {RequiredError}
|
|
104
106
|
*/
|
|
105
|
-
getBankOrder(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankOrderResponseClass>>;
|
|
107
|
+
getBankOrder(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankOrderResponseClass>>;
|
|
106
108
|
/**
|
|
107
109
|
* 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\"
|
|
108
110
|
* @summary List bank orders
|
|
109
111
|
* @param {string} [authorization] Bearer Token
|
|
110
112
|
* @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, bankAccountId</i>
|
|
111
113
|
* @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, bankAccountId</i>
|
|
112
|
-
* @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, orderNumber, bankAccountId, amount, createdAt, updatedAt</i>
|
|
113
|
-
* @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/>
|
|
114
|
+
* @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, bankAccountId, amount, createdAt, updatedAt</i>
|
|
115
|
+
* @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<i>
|
|
114
116
|
* @param {*} [options] Override http request option.
|
|
115
117
|
* @throws {RequiredError}
|
|
116
118
|
*/
|
|
@@ -153,18 +155,19 @@ export declare const BankOrdersApiFactory: (configuration?: Configuration, baseP
|
|
|
153
155
|
* @summary Retrieve the bank order
|
|
154
156
|
* @param {string} code
|
|
155
157
|
* @param {string} [authorization] Bearer Token
|
|
158
|
+
* @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<i>
|
|
156
159
|
* @param {*} [options] Override http request option.
|
|
157
160
|
* @throws {RequiredError}
|
|
158
161
|
*/
|
|
159
|
-
getBankOrder(code: string, authorization?: string, options?: any): AxiosPromise<GetBankOrderResponseClass>;
|
|
162
|
+
getBankOrder(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetBankOrderResponseClass>;
|
|
160
163
|
/**
|
|
161
164
|
* 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\"
|
|
162
165
|
* @summary List bank orders
|
|
163
166
|
* @param {string} [authorization] Bearer Token
|
|
164
167
|
* @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, bankAccountId</i>
|
|
165
168
|
* @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, bankAccountId</i>
|
|
166
|
-
* @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, orderNumber, bankAccountId, amount, createdAt, updatedAt</i>
|
|
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/>
|
|
169
|
+
* @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, bankAccountId, amount, createdAt, updatedAt</i>
|
|
170
|
+
* @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<i>
|
|
168
171
|
* @param {*} [options] Override http request option.
|
|
169
172
|
* @throws {RequiredError}
|
|
170
173
|
*/
|
|
@@ -235,6 +238,12 @@ export interface BankOrdersApiGetBankOrderRequest {
|
|
|
235
238
|
* @memberof BankOrdersApiGetBankOrder
|
|
236
239
|
*/
|
|
237
240
|
readonly authorization?: string;
|
|
241
|
+
/**
|
|
242
|
+
* 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<i>
|
|
243
|
+
* @type {string}
|
|
244
|
+
* @memberof BankOrdersApiGetBankOrder
|
|
245
|
+
*/
|
|
246
|
+
readonly expand?: string;
|
|
238
247
|
}
|
|
239
248
|
/**
|
|
240
249
|
* Request parameters for listBankOrders operation in BankOrdersApi.
|
|
@@ -261,13 +270,13 @@ export interface BankOrdersApiListBankOrdersRequest {
|
|
|
261
270
|
*/
|
|
262
271
|
readonly filters?: string;
|
|
263
272
|
/**
|
|
264
|
-
* 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, orderNumber, bankAccountId, amount, createdAt, updatedAt</i>
|
|
273
|
+
* 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, bankAccountId, amount, createdAt, updatedAt</i>
|
|
265
274
|
* @type {string}
|
|
266
275
|
* @memberof BankOrdersApiListBankOrders
|
|
267
276
|
*/
|
|
268
277
|
readonly order?: string;
|
|
269
278
|
/**
|
|
270
|
-
* 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/>
|
|
279
|
+
* 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<i>
|
|
271
280
|
* @type {string}
|
|
272
281
|
* @memberof BankOrdersApiListBankOrders
|
|
273
282
|
*/
|
|
@@ -194,10 +194,11 @@ var BankOrdersApiAxiosParamCreator = function (configuration) {
|
|
|
194
194
|
* @summary Retrieve the bank order
|
|
195
195
|
* @param {string} code
|
|
196
196
|
* @param {string} [authorization] Bearer Token
|
|
197
|
+
* @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<i>
|
|
197
198
|
* @param {*} [options] Override http request option.
|
|
198
199
|
* @throws {RequiredError}
|
|
199
200
|
*/
|
|
200
|
-
getBankOrder: function (code, authorization, options) {
|
|
201
|
+
getBankOrder: function (code, authorization, expand, options) {
|
|
201
202
|
if (options === void 0) { options = {}; }
|
|
202
203
|
return __awaiter(_this, void 0, void 0, function () {
|
|
203
204
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -223,6 +224,9 @@ var BankOrdersApiAxiosParamCreator = function (configuration) {
|
|
|
223
224
|
// authentication bearer required
|
|
224
225
|
// http bearer authentication required
|
|
225
226
|
_a.sent();
|
|
227
|
+
if (expand !== undefined) {
|
|
228
|
+
localVarQueryParameter['expand'] = expand;
|
|
229
|
+
}
|
|
226
230
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
227
231
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
228
232
|
}
|
|
@@ -243,8 +247,8 @@ var BankOrdersApiAxiosParamCreator = function (configuration) {
|
|
|
243
247
|
* @param {string} [authorization] Bearer Token
|
|
244
248
|
* @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, bankAccountId</i>
|
|
245
249
|
* @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, bankAccountId</i>
|
|
246
|
-
* @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, orderNumber, bankAccountId, amount, createdAt, updatedAt</i>
|
|
247
|
-
* @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/>
|
|
250
|
+
* @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, bankAccountId, amount, createdAt, updatedAt</i>
|
|
251
|
+
* @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<i>
|
|
248
252
|
* @param {*} [options] Override http request option.
|
|
249
253
|
* @throws {RequiredError}
|
|
250
254
|
*/
|
|
@@ -402,15 +406,16 @@ var BankOrdersApiFp = function (configuration) {
|
|
|
402
406
|
* @summary Retrieve the bank order
|
|
403
407
|
* @param {string} code
|
|
404
408
|
* @param {string} [authorization] Bearer Token
|
|
409
|
+
* @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<i>
|
|
405
410
|
* @param {*} [options] Override http request option.
|
|
406
411
|
* @throws {RequiredError}
|
|
407
412
|
*/
|
|
408
|
-
getBankOrder: function (code, authorization, options) {
|
|
413
|
+
getBankOrder: function (code, authorization, expand, options) {
|
|
409
414
|
return __awaiter(this, void 0, void 0, function () {
|
|
410
415
|
var localVarAxiosArgs;
|
|
411
416
|
return __generator(this, function (_a) {
|
|
412
417
|
switch (_a.label) {
|
|
413
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getBankOrder(code, authorization, options)];
|
|
418
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getBankOrder(code, authorization, expand, options)];
|
|
414
419
|
case 1:
|
|
415
420
|
localVarAxiosArgs = _a.sent();
|
|
416
421
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -424,8 +429,8 @@ var BankOrdersApiFp = function (configuration) {
|
|
|
424
429
|
* @param {string} [authorization] Bearer Token
|
|
425
430
|
* @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, bankAccountId</i>
|
|
426
431
|
* @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, bankAccountId</i>
|
|
427
|
-
* @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, orderNumber, bankAccountId, amount, createdAt, updatedAt</i>
|
|
428
|
-
* @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/>
|
|
432
|
+
* @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, bankAccountId, amount, createdAt, updatedAt</i>
|
|
433
|
+
* @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<i>
|
|
429
434
|
* @param {*} [options] Override http request option.
|
|
430
435
|
* @throws {RequiredError}
|
|
431
436
|
*/
|
|
@@ -500,11 +505,12 @@ var BankOrdersApiFactory = function (configuration, basePath, axios) {
|
|
|
500
505
|
* @summary Retrieve the bank order
|
|
501
506
|
* @param {string} code
|
|
502
507
|
* @param {string} [authorization] Bearer Token
|
|
508
|
+
* @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<i>
|
|
503
509
|
* @param {*} [options] Override http request option.
|
|
504
510
|
* @throws {RequiredError}
|
|
505
511
|
*/
|
|
506
|
-
getBankOrder: function (code, authorization, options) {
|
|
507
|
-
return localVarFp.getBankOrder(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
512
|
+
getBankOrder: function (code, authorization, expand, options) {
|
|
513
|
+
return localVarFp.getBankOrder(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
|
|
508
514
|
},
|
|
509
515
|
/**
|
|
510
516
|
* 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\"
|
|
@@ -512,8 +518,8 @@ var BankOrdersApiFactory = function (configuration, basePath, axios) {
|
|
|
512
518
|
* @param {string} [authorization] Bearer Token
|
|
513
519
|
* @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, bankAccountId</i>
|
|
514
520
|
* @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, bankAccountId</i>
|
|
515
|
-
* @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, orderNumber, bankAccountId, amount, createdAt, updatedAt</i>
|
|
516
|
-
* @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/>
|
|
521
|
+
* @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, bankAccountId, amount, createdAt, updatedAt</i>
|
|
522
|
+
* @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<i>
|
|
517
523
|
* @param {*} [options] Override http request option.
|
|
518
524
|
* @throws {RequiredError}
|
|
519
525
|
*/
|
|
@@ -579,7 +585,7 @@ var BankOrdersApi = /** @class */ (function (_super) {
|
|
|
579
585
|
*/
|
|
580
586
|
BankOrdersApi.prototype.getBankOrder = function (requestParameters, options) {
|
|
581
587
|
var _this = this;
|
|
582
|
-
return (0, exports.BankOrdersApiFp)(this.configuration).getBankOrder(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
588
|
+
return (0, exports.BankOrdersApiFp)(this.configuration).getBankOrder(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
583
589
|
};
|
|
584
590
|
/**
|
|
585
591
|
* 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\"
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { TenantBankAccountClassWithoutExpandProperties } from './tenant-bank-account-class-without-expand-properties';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -75,6 +76,12 @@ export interface BankOrderClass {
|
|
|
75
76
|
* @memberof BankOrderClass
|
|
76
77
|
*/
|
|
77
78
|
'executionDate': string;
|
|
79
|
+
/**
|
|
80
|
+
* Latest due date.
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof BankOrderClass
|
|
83
|
+
*/
|
|
84
|
+
'dueDate': string;
|
|
78
85
|
/**
|
|
79
86
|
* Time at which the object was created.
|
|
80
87
|
* @type {string}
|
|
@@ -99,4 +106,10 @@ export interface BankOrderClass {
|
|
|
99
106
|
* @memberof BankOrderClass
|
|
100
107
|
*/
|
|
101
108
|
'updatedBy': string;
|
|
109
|
+
/**
|
|
110
|
+
* The bank account object that this bank order is belongs to
|
|
111
|
+
* @type {TenantBankAccountClassWithoutExpandProperties}
|
|
112
|
+
* @memberof BankOrderClass
|
|
113
|
+
*/
|
|
114
|
+
'bankAccount'?: TenantBankAccountClassWithoutExpandProperties;
|
|
102
115
|
}
|
|
@@ -57,6 +57,12 @@ export interface CreateBankOrderRequestDto {
|
|
|
57
57
|
* @memberof CreateBankOrderRequestDto
|
|
58
58
|
*/
|
|
59
59
|
'executionDate': string;
|
|
60
|
+
/**
|
|
61
|
+
* Latest due date.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof CreateBankOrderRequestDto
|
|
64
|
+
*/
|
|
65
|
+
'dueDate': string;
|
|
60
66
|
}
|
|
61
67
|
export declare const CreateBankOrderRequestDtoTypeEnum: {
|
|
62
68
|
readonly DirectDebit: "direct_debit";
|
|
@@ -51,6 +51,12 @@ export interface UpdateBankOrderRequestDto {
|
|
|
51
51
|
* @memberof UpdateBankOrderRequestDto
|
|
52
52
|
*/
|
|
53
53
|
'executionDate': string;
|
|
54
|
+
/**
|
|
55
|
+
* Latest due date.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof UpdateBankOrderRequestDto
|
|
58
|
+
*/
|
|
59
|
+
'dueDate': string;
|
|
54
60
|
}
|
|
55
61
|
export declare const UpdateBankOrderRequestDtoStatusEnum: {
|
|
56
62
|
readonly Open: "open";
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
import { TenantBankAccountClassWithoutExpandProperties } from './tenant-bank-account-class-without-expand-properties';
|
|
16
17
|
|
|
17
18
|
/**
|
|
18
19
|
*
|
|
@@ -80,6 +81,12 @@ export interface BankOrderClass {
|
|
|
80
81
|
* @memberof BankOrderClass
|
|
81
82
|
*/
|
|
82
83
|
'executionDate': string;
|
|
84
|
+
/**
|
|
85
|
+
* Latest due date.
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof BankOrderClass
|
|
88
|
+
*/
|
|
89
|
+
'dueDate': string;
|
|
83
90
|
/**
|
|
84
91
|
* Time at which the object was created.
|
|
85
92
|
* @type {string}
|
|
@@ -104,5 +111,11 @@ export interface BankOrderClass {
|
|
|
104
111
|
* @memberof BankOrderClass
|
|
105
112
|
*/
|
|
106
113
|
'updatedBy': string;
|
|
114
|
+
/**
|
|
115
|
+
* The bank account object that this bank order is belongs to
|
|
116
|
+
* @type {TenantBankAccountClassWithoutExpandProperties}
|
|
117
|
+
* @memberof BankOrderClass
|
|
118
|
+
*/
|
|
119
|
+
'bankAccount'?: TenantBankAccountClassWithoutExpandProperties;
|
|
107
120
|
}
|
|
108
121
|
|
|
@@ -62,6 +62,12 @@ export interface CreateBankOrderRequestDto {
|
|
|
62
62
|
* @memberof CreateBankOrderRequestDto
|
|
63
63
|
*/
|
|
64
64
|
'executionDate': string;
|
|
65
|
+
/**
|
|
66
|
+
* Latest due date.
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof CreateBankOrderRequestDto
|
|
69
|
+
*/
|
|
70
|
+
'dueDate': string;
|
|
65
71
|
}
|
|
66
72
|
|
|
67
73
|
export const CreateBankOrderRequestDtoTypeEnum = {
|
|
@@ -56,6 +56,12 @@ export interface UpdateBankOrderRequestDto {
|
|
|
56
56
|
* @memberof UpdateBankOrderRequestDto
|
|
57
57
|
*/
|
|
58
58
|
'executionDate': string;
|
|
59
|
+
/**
|
|
60
|
+
* Latest due date.
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof UpdateBankOrderRequestDto
|
|
63
|
+
*/
|
|
64
|
+
'dueDate': string;
|
|
59
65
|
}
|
|
60
66
|
|
|
61
67
|
export const UpdateBankOrderRequestDtoStatusEnum = {
|