@emilgroup/payment-sdk-node 1.21.1-beta.13 → 1.21.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 CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/payment-sdk-node@1.21.1-beta.13 --save
20
+ npm install @emilgroup/payment-sdk-node@1.21.1-beta.14 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/payment-sdk-node@1.21.1-beta.13
24
+ yarn add @emilgroup/payment-sdk-node@1.21.1-beta.14
25
25
  ```
26
26
 
27
27
  And then you can import `PaymentsApi`.
@@ -137,10 +137,11 @@ export const BankOrdersApiAxiosParamCreator = function (configuration?: Configur
137
137
  * @summary Retrieve the bank order
138
138
  * @param {string} code
139
139
  * @param {string} [authorization] Bearer Token
140
+ * @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>
140
141
  * @param {*} [options] Override http request option.
141
142
  * @throws {RequiredError}
142
143
  */
143
- getBankOrder: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
144
+ getBankOrder: async (code: string, authorization?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
144
145
  // verify required parameter 'code' is not null or undefined
145
146
  assertParamExists('getBankOrder', 'code', code)
146
147
  const localVarPath = `/paymentservice/v1/bank-orders/{code}`
@@ -162,6 +163,10 @@ export const BankOrdersApiAxiosParamCreator = function (configuration?: Configur
162
163
  // http bearer authentication required
163
164
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
164
165
 
166
+ if (expand !== undefined) {
167
+ localVarQueryParameter['expand'] = expand;
168
+ }
169
+
165
170
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
166
171
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
167
172
  }
@@ -183,8 +188,8 @@ export const BankOrdersApiAxiosParamCreator = function (configuration?: Configur
183
188
  * @param {string} [authorization] Bearer Token
184
189
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, orderNumber, status, type, bankAccountId&lt;/i&gt;
185
190
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, orderNumber, status, type, bankAccountId&lt;/i&gt;
186
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionDate, orderNumber, bankAccountId, amount, createdAt, updatedAt&lt;/i&gt;
187
- * @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.&lt;br/&gt; &lt;br/&gt;
191
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionDate, dueDate, orderNumber, bankAccountId, amount, createdAt, updatedAt&lt;/i&gt;
192
+ * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount&lt;i&gt;
188
193
  * @param {*} [options] Override http request option.
189
194
  * @throws {RequiredError}
190
195
  */
@@ -322,11 +327,12 @@ export const BankOrdersApiFp = function(configuration?: Configuration) {
322
327
  * @summary Retrieve the bank order
323
328
  * @param {string} code
324
329
  * @param {string} [authorization] Bearer Token
330
+ * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount&lt;i&gt;
325
331
  * @param {*} [options] Override http request option.
326
332
  * @throws {RequiredError}
327
333
  */
328
- async getBankOrder(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankOrderResponseClass>> {
329
- const localVarAxiosArgs = await localVarAxiosParamCreator.getBankOrder(code, authorization, options);
334
+ async getBankOrder(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankOrderResponseClass>> {
335
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getBankOrder(code, authorization, expand, options);
330
336
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
331
337
  },
332
338
  /**
@@ -335,8 +341,8 @@ export const BankOrdersApiFp = function(configuration?: Configuration) {
335
341
  * @param {string} [authorization] Bearer Token
336
342
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, orderNumber, status, type, bankAccountId&lt;/i&gt;
337
343
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, orderNumber, status, type, bankAccountId&lt;/i&gt;
338
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionDate, orderNumber, bankAccountId, amount, createdAt, updatedAt&lt;/i&gt;
339
- * @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.&lt;br/&gt; &lt;br/&gt;
344
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionDate, dueDate, orderNumber, bankAccountId, amount, createdAt, updatedAt&lt;/i&gt;
345
+ * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount&lt;i&gt;
340
346
  * @param {*} [options] Override http request option.
341
347
  * @throws {RequiredError}
342
348
  */
@@ -393,11 +399,12 @@ export const BankOrdersApiFactory = function (configuration?: Configuration, bas
393
399
  * @summary Retrieve the bank order
394
400
  * @param {string} code
395
401
  * @param {string} [authorization] Bearer Token
402
+ * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount&lt;i&gt;
396
403
  * @param {*} [options] Override http request option.
397
404
  * @throws {RequiredError}
398
405
  */
399
- getBankOrder(code: string, authorization?: string, options?: any): AxiosPromise<GetBankOrderResponseClass> {
400
- return localVarFp.getBankOrder(code, authorization, options).then((request) => request(axios, basePath));
406
+ getBankOrder(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetBankOrderResponseClass> {
407
+ return localVarFp.getBankOrder(code, authorization, expand, options).then((request) => request(axios, basePath));
401
408
  },
402
409
  /**
403
410
  * 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\"
@@ -405,8 +412,8 @@ export const BankOrdersApiFactory = function (configuration?: Configuration, bas
405
412
  * @param {string} [authorization] Bearer Token
406
413
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, orderNumber, status, type, bankAccountId&lt;/i&gt;
407
414
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, orderNumber, status, type, bankAccountId&lt;/i&gt;
408
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionDate, orderNumber, bankAccountId, amount, createdAt, updatedAt&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt;
415
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionDate, dueDate, orderNumber, bankAccountId, amount, createdAt, updatedAt&lt;/i&gt;
416
+ * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount&lt;i&gt;
410
417
  * @param {*} [options] Override http request option.
411
418
  * @throws {RequiredError}
412
419
  */
@@ -488,6 +495,13 @@ export interface BankOrdersApiGetBankOrderRequest {
488
495
  * @memberof BankOrdersApiGetBankOrder
489
496
  */
490
497
  readonly authorization?: string
498
+
499
+ /**
500
+ * 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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount&lt;i&gt;
501
+ * @type {string}
502
+ * @memberof BankOrdersApiGetBankOrder
503
+ */
504
+ readonly expand?: string
491
505
  }
492
506
 
493
507
  /**
@@ -518,14 +532,14 @@ export interface BankOrdersApiListBankOrdersRequest {
518
532
  readonly filters?: string
519
533
 
520
534
  /**
521
- * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionDate, orderNumber, bankAccountId, amount, createdAt, updatedAt&lt;/i&gt;
535
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionDate, dueDate, orderNumber, bankAccountId, amount, createdAt, updatedAt&lt;/i&gt;
522
536
  * @type {string}
523
537
  * @memberof BankOrdersApiListBankOrders
524
538
  */
525
539
  readonly order?: string
526
540
 
527
541
  /**
528
- * 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.&lt;br/&gt; &lt;br/&gt;
542
+ * 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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount&lt;i&gt;
529
543
  * @type {string}
530
544
  * @memberof BankOrdersApiListBankOrders
531
545
  */
@@ -593,7 +607,7 @@ export class BankOrdersApi extends BaseAPI {
593
607
  * @memberof BankOrdersApi
594
608
  */
595
609
  public getBankOrder(requestParameters: BankOrdersApiGetBankOrderRequest, options?: AxiosRequestConfig) {
596
- return BankOrdersApiFp(this.configuration).getBankOrder(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
610
+ return BankOrdersApiFp(this.configuration).getBankOrder(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
597
611
  }
598
612
 
599
613
  /**
@@ -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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount&lt;i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, orderNumber, status, type, bankAccountId&lt;/i&gt;
57
58
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, orderNumber, status, type, bankAccountId&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionDate, orderNumber, bankAccountId, amount, createdAt, updatedAt&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionDate, dueDate, orderNumber, bankAccountId, amount, createdAt, updatedAt&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount&lt;i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount&lt;i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, orderNumber, status, type, bankAccountId&lt;/i&gt;
111
113
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, orderNumber, status, type, bankAccountId&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionDate, orderNumber, bankAccountId, amount, createdAt, updatedAt&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionDate, dueDate, orderNumber, bankAccountId, amount, createdAt, updatedAt&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount&lt;i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount&lt;i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, orderNumber, status, type, bankAccountId&lt;/i&gt;
165
168
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, orderNumber, status, type, bankAccountId&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionDate, orderNumber, bankAccountId, amount, createdAt, updatedAt&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionDate, dueDate, orderNumber, bankAccountId, amount, createdAt, updatedAt&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount&lt;i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount&lt;i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionDate, orderNumber, bankAccountId, amount, createdAt, updatedAt&lt;/i&gt;
273
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionDate, dueDate, orderNumber, bankAccountId, amount, createdAt, updatedAt&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount&lt;i&gt;
271
280
  * @type {string}
272
281
  * @memberof BankOrdersApiListBankOrders
273
282
  */
@@ -198,10 +198,11 @@ 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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount&lt;i&gt;
201
202
  * @param {*} [options] Override http request option.
202
203
  * @throws {RequiredError}
203
204
  */
204
- getBankOrder: function (code, authorization, options) {
205
+ getBankOrder: function (code, authorization, expand, options) {
205
206
  if (options === void 0) { options = {}; }
206
207
  return __awaiter(_this, void 0, void 0, function () {
207
208
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -227,6 +228,9 @@ var BankOrdersApiAxiosParamCreator = function (configuration) {
227
228
  // authentication bearer required
228
229
  // http bearer authentication required
229
230
  _a.sent();
231
+ if (expand !== undefined) {
232
+ localVarQueryParameter['expand'] = expand;
233
+ }
230
234
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
231
235
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
232
236
  }
@@ -247,8 +251,8 @@ var BankOrdersApiAxiosParamCreator = function (configuration) {
247
251
  * @param {string} [authorization] Bearer Token
248
252
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, orderNumber, status, type, bankAccountId&lt;/i&gt;
249
253
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, orderNumber, status, type, bankAccountId&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionDate, orderNumber, bankAccountId, amount, createdAt, updatedAt&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt;
254
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionDate, dueDate, orderNumber, bankAccountId, amount, createdAt, updatedAt&lt;/i&gt;
255
+ * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount&lt;i&gt;
252
256
  * @param {*} [options] Override http request option.
253
257
  * @throws {RequiredError}
254
258
  */
@@ -406,15 +410,16 @@ var BankOrdersApiFp = function (configuration) {
406
410
  * @summary Retrieve the bank order
407
411
  * @param {string} code
408
412
  * @param {string} [authorization] Bearer Token
413
+ * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount&lt;i&gt;
409
414
  * @param {*} [options] Override http request option.
410
415
  * @throws {RequiredError}
411
416
  */
412
- getBankOrder: function (code, authorization, options) {
417
+ getBankOrder: function (code, authorization, expand, options) {
413
418
  return __awaiter(this, void 0, void 0, function () {
414
419
  var localVarAxiosArgs;
415
420
  return __generator(this, function (_a) {
416
421
  switch (_a.label) {
417
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getBankOrder(code, authorization, options)];
422
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getBankOrder(code, authorization, expand, options)];
418
423
  case 1:
419
424
  localVarAxiosArgs = _a.sent();
420
425
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -428,8 +433,8 @@ var BankOrdersApiFp = function (configuration) {
428
433
  * @param {string} [authorization] Bearer Token
429
434
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, orderNumber, status, type, bankAccountId&lt;/i&gt;
430
435
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, orderNumber, status, type, bankAccountId&lt;/i&gt;
431
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionDate, orderNumber, bankAccountId, amount, createdAt, updatedAt&lt;/i&gt;
432
- * @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.&lt;br/&gt; &lt;br/&gt;
436
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionDate, dueDate, orderNumber, bankAccountId, amount, createdAt, updatedAt&lt;/i&gt;
437
+ * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount&lt;i&gt;
433
438
  * @param {*} [options] Override http request option.
434
439
  * @throws {RequiredError}
435
440
  */
@@ -504,11 +509,12 @@ var BankOrdersApiFactory = function (configuration, basePath, axios) {
504
509
  * @summary Retrieve the bank order
505
510
  * @param {string} code
506
511
  * @param {string} [authorization] Bearer Token
512
+ * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount&lt;i&gt;
507
513
  * @param {*} [options] Override http request option.
508
514
  * @throws {RequiredError}
509
515
  */
510
- getBankOrder: function (code, authorization, options) {
511
- return localVarFp.getBankOrder(code, authorization, options).then(function (request) { return request(axios, basePath); });
516
+ getBankOrder: function (code, authorization, expand, options) {
517
+ return localVarFp.getBankOrder(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
512
518
  },
513
519
  /**
514
520
  * 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\"
@@ -516,8 +522,8 @@ var BankOrdersApiFactory = function (configuration, basePath, axios) {
516
522
  * @param {string} [authorization] Bearer Token
517
523
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, orderNumber, status, type, bankAccountId&lt;/i&gt;
518
524
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, orderNumber, status, type, bankAccountId&lt;/i&gt;
519
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionDate, orderNumber, bankAccountId, amount, createdAt, updatedAt&lt;/i&gt;
520
- * @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.&lt;br/&gt; &lt;br/&gt;
525
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionDate, dueDate, orderNumber, bankAccountId, amount, createdAt, updatedAt&lt;/i&gt;
526
+ * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount&lt;i&gt;
521
527
  * @param {*} [options] Override http request option.
522
528
  * @throws {RequiredError}
523
529
  */
@@ -583,7 +589,7 @@ var BankOrdersApi = /** @class */ (function (_super) {
583
589
  */
584
590
  BankOrdersApi.prototype.getBankOrder = function (requestParameters, options) {
585
591
  var _this = this;
586
- return (0, exports.BankOrdersApiFp)(this.configuration).getBankOrder(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
592
+ return (0, exports.BankOrdersApiFp)(this.configuration).getBankOrder(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
587
593
  };
588
594
  /**
589
595
  * 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 = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/payment-sdk-node",
3
- "version": "1.21.1-beta.13",
3
+ "version": "1.21.1-beta.14",
4
4
  "description": "OpenAPI client for @emilgroup/payment-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [