@emilgroup/payment-sdk-node 1.21.1-beta.13 → 1.21.1-beta.15

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.
@@ -101,6 +101,7 @@ models/unlinked-bank-transaction-response-class.ts
101
101
  models/update-bank-account-request-dto-rest.ts
102
102
  models/update-bank-account-request-dto.ts
103
103
  models/update-bank-account-response-class.ts
104
+ models/update-bank-order-request-dto-rest.ts
104
105
  models/update-bank-order-request-dto.ts
105
106
  models/update-bank-order-response-class.ts
106
107
  models/update-tenant-bank-account-response-class.ts
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.15 --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.15
25
25
  ```
26
26
 
27
27
  And then you can import `PaymentsApi`.
@@ -29,6 +29,8 @@ import { GetBankOrderResponseClass } from '../models';
29
29
  // @ts-ignore
30
30
  import { ListBankOrdersResponseClass } from '../models';
31
31
  // @ts-ignore
32
+ import { UpdateBankOrderRequestDtoRest } from '../models';
33
+ // @ts-ignore
32
34
  import { UpdateBankOrderResponseClass } from '../models';
33
35
  // URLSearchParams not necessarily used
34
36
  // @ts-ignore
@@ -137,10 +139,11 @@ export const BankOrdersApiAxiosParamCreator = function (configuration?: Configur
137
139
  * @summary Retrieve the bank order
138
140
  * @param {string} code
139
141
  * @param {string} [authorization] Bearer Token
142
+ * @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
143
  * @param {*} [options] Override http request option.
141
144
  * @throws {RequiredError}
142
145
  */
143
- getBankOrder: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
146
+ getBankOrder: async (code: string, authorization?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
144
147
  // verify required parameter 'code' is not null or undefined
145
148
  assertParamExists('getBankOrder', 'code', code)
146
149
  const localVarPath = `/paymentservice/v1/bank-orders/{code}`
@@ -162,6 +165,10 @@ export const BankOrdersApiAxiosParamCreator = function (configuration?: Configur
162
165
  // http bearer authentication required
163
166
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
164
167
 
168
+ if (expand !== undefined) {
169
+ localVarQueryParameter['expand'] = expand;
170
+ }
171
+
165
172
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
166
173
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
167
174
  }
@@ -183,8 +190,8 @@ export const BankOrdersApiAxiosParamCreator = function (configuration?: Configur
183
190
  * @param {string} [authorization] Bearer Token
184
191
  * @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
192
  * @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;
193
+ * @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;
194
+ * @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
195
  * @param {*} [options] Override http request option.
189
196
  * @throws {RequiredError}
190
197
  */
@@ -242,13 +249,16 @@ export const BankOrdersApiAxiosParamCreator = function (configuration?: Configur
242
249
  * Update a bank order by code **Required Permissions** \"payment-management.bank-accounts.update\"
243
250
  * @summary Update the bank order
244
251
  * @param {string} code Unique identifier for the object.
252
+ * @param {UpdateBankOrderRequestDtoRest} updateBankOrderRequestDtoRest
245
253
  * @param {string} [authorization] Bearer Token
246
254
  * @param {*} [options] Override http request option.
247
255
  * @throws {RequiredError}
248
256
  */
249
- updateBankOrder: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
257
+ updateBankOrder: async (code: string, updateBankOrderRequestDtoRest: UpdateBankOrderRequestDtoRest, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
250
258
  // verify required parameter 'code' is not null or undefined
251
259
  assertParamExists('updateBankOrder', 'code', code)
260
+ // verify required parameter 'updateBankOrderRequestDtoRest' is not null or undefined
261
+ assertParamExists('updateBankOrder', 'updateBankOrderRequestDtoRest', updateBankOrderRequestDtoRest)
252
262
  const localVarPath = `/paymentservice/v1/bank-orders/{code}`
253
263
  .replace(`{${"code"}}`, encodeURIComponent(String(code)));
254
264
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -274,9 +284,12 @@ export const BankOrdersApiAxiosParamCreator = function (configuration?: Configur
274
284
 
275
285
 
276
286
 
287
+ localVarHeaderParameter['Content-Type'] = 'application/json';
288
+
277
289
  setSearchParams(localVarUrlObj, localVarQueryParameter);
278
290
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
279
291
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
292
+ localVarRequestOptions.data = serializeDataIfNeeded(updateBankOrderRequestDtoRest, localVarRequestOptions, configuration)
280
293
 
281
294
  return {
282
295
  url: toPathString(localVarUrlObj),
@@ -322,11 +335,12 @@ export const BankOrdersApiFp = function(configuration?: Configuration) {
322
335
  * @summary Retrieve the bank order
323
336
  * @param {string} code
324
337
  * @param {string} [authorization] Bearer Token
338
+ * @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
339
  * @param {*} [options] Override http request option.
326
340
  * @throws {RequiredError}
327
341
  */
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);
342
+ async getBankOrder(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankOrderResponseClass>> {
343
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getBankOrder(code, authorization, expand, options);
330
344
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
331
345
  },
332
346
  /**
@@ -335,8 +349,8 @@ export const BankOrdersApiFp = function(configuration?: Configuration) {
335
349
  * @param {string} [authorization] Bearer Token
336
350
  * @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
351
  * @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;
352
+ * @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;
353
+ * @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
354
  * @param {*} [options] Override http request option.
341
355
  * @throws {RequiredError}
342
356
  */
@@ -348,12 +362,13 @@ export const BankOrdersApiFp = function(configuration?: Configuration) {
348
362
  * Update a bank order by code **Required Permissions** \"payment-management.bank-accounts.update\"
349
363
  * @summary Update the bank order
350
364
  * @param {string} code Unique identifier for the object.
365
+ * @param {UpdateBankOrderRequestDtoRest} updateBankOrderRequestDtoRest
351
366
  * @param {string} [authorization] Bearer Token
352
367
  * @param {*} [options] Override http request option.
353
368
  * @throws {RequiredError}
354
369
  */
355
- async updateBankOrder(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateBankOrderResponseClass>> {
356
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateBankOrder(code, authorization, options);
370
+ async updateBankOrder(code: string, updateBankOrderRequestDtoRest: UpdateBankOrderRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateBankOrderResponseClass>> {
371
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateBankOrder(code, updateBankOrderRequestDtoRest, authorization, options);
357
372
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
358
373
  },
359
374
  }
@@ -393,11 +408,12 @@ export const BankOrdersApiFactory = function (configuration?: Configuration, bas
393
408
  * @summary Retrieve the bank order
394
409
  * @param {string} code
395
410
  * @param {string} [authorization] Bearer Token
411
+ * @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
412
  * @param {*} [options] Override http request option.
397
413
  * @throws {RequiredError}
398
414
  */
399
- getBankOrder(code: string, authorization?: string, options?: any): AxiosPromise<GetBankOrderResponseClass> {
400
- return localVarFp.getBankOrder(code, authorization, options).then((request) => request(axios, basePath));
415
+ getBankOrder(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetBankOrderResponseClass> {
416
+ return localVarFp.getBankOrder(code, authorization, expand, options).then((request) => request(axios, basePath));
401
417
  },
402
418
  /**
403
419
  * 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 +421,8 @@ export const BankOrdersApiFactory = function (configuration?: Configuration, bas
405
421
  * @param {string} [authorization] Bearer Token
406
422
  * @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
423
  * @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;
424
+ * @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;
425
+ * @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
426
  * @param {*} [options] Override http request option.
411
427
  * @throws {RequiredError}
412
428
  */
@@ -417,12 +433,13 @@ export const BankOrdersApiFactory = function (configuration?: Configuration, bas
417
433
  * Update a bank order by code **Required Permissions** \"payment-management.bank-accounts.update\"
418
434
  * @summary Update the bank order
419
435
  * @param {string} code Unique identifier for the object.
436
+ * @param {UpdateBankOrderRequestDtoRest} updateBankOrderRequestDtoRest
420
437
  * @param {string} [authorization] Bearer Token
421
438
  * @param {*} [options] Override http request option.
422
439
  * @throws {RequiredError}
423
440
  */
424
- updateBankOrder(code: string, authorization?: string, options?: any): AxiosPromise<UpdateBankOrderResponseClass> {
425
- return localVarFp.updateBankOrder(code, authorization, options).then((request) => request(axios, basePath));
441
+ updateBankOrder(code: string, updateBankOrderRequestDtoRest: UpdateBankOrderRequestDtoRest, authorization?: string, options?: any): AxiosPromise<UpdateBankOrderResponseClass> {
442
+ return localVarFp.updateBankOrder(code, updateBankOrderRequestDtoRest, authorization, options).then((request) => request(axios, basePath));
426
443
  },
427
444
  };
428
445
  };
@@ -488,6 +505,13 @@ export interface BankOrdersApiGetBankOrderRequest {
488
505
  * @memberof BankOrdersApiGetBankOrder
489
506
  */
490
507
  readonly authorization?: string
508
+
509
+ /**
510
+ * 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;
511
+ * @type {string}
512
+ * @memberof BankOrdersApiGetBankOrder
513
+ */
514
+ readonly expand?: string
491
515
  }
492
516
 
493
517
  /**
@@ -518,14 +542,14 @@ export interface BankOrdersApiListBankOrdersRequest {
518
542
  readonly filters?: string
519
543
 
520
544
  /**
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;
545
+ * 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
546
  * @type {string}
523
547
  * @memberof BankOrdersApiListBankOrders
524
548
  */
525
549
  readonly order?: string
526
550
 
527
551
  /**
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;
552
+ * 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
553
  * @type {string}
530
554
  * @memberof BankOrdersApiListBankOrders
531
555
  */
@@ -545,6 +569,13 @@ export interface BankOrdersApiUpdateBankOrderRequest {
545
569
  */
546
570
  readonly code: string
547
571
 
572
+ /**
573
+ *
574
+ * @type {UpdateBankOrderRequestDtoRest}
575
+ * @memberof BankOrdersApiUpdateBankOrder
576
+ */
577
+ readonly updateBankOrderRequestDtoRest: UpdateBankOrderRequestDtoRest
578
+
548
579
  /**
549
580
  * Bearer Token
550
581
  * @type {string}
@@ -593,7 +624,7 @@ export class BankOrdersApi extends BaseAPI {
593
624
  * @memberof BankOrdersApi
594
625
  */
595
626
  public getBankOrder(requestParameters: BankOrdersApiGetBankOrderRequest, options?: AxiosRequestConfig) {
596
- return BankOrdersApiFp(this.configuration).getBankOrder(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
627
+ return BankOrdersApiFp(this.configuration).getBankOrder(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
597
628
  }
598
629
 
599
630
  /**
@@ -617,6 +648,6 @@ export class BankOrdersApi extends BaseAPI {
617
648
  * @memberof BankOrdersApi
618
649
  */
619
650
  public updateBankOrder(requestParameters: BankOrdersApiUpdateBankOrderRequest, options?: AxiosRequestConfig) {
620
- return BankOrdersApiFp(this.configuration).updateBankOrder(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
651
+ return BankOrdersApiFp(this.configuration).updateBankOrder(requestParameters.code, requestParameters.updateBankOrderRequestDtoRest, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
621
652
  }
622
653
  }
@@ -16,6 +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 { UpdateBankOrderRequestDtoRest } from '../models';
19
20
  import { UpdateBankOrderResponseClass } from '../models';
20
21
  /**
21
22
  * BankOrdersApi - axios parameter creator
@@ -45,18 +46,19 @@ export declare const BankOrdersApiAxiosParamCreator: (configuration?: Configurat
45
46
  * @summary Retrieve the bank order
46
47
  * @param {string} code
47
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount&lt;i&gt;
48
50
  * @param {*} [options] Override http request option.
49
51
  * @throws {RequiredError}
50
52
  */
51
- getBankOrder: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
53
+ getBankOrder: (code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
52
54
  /**
53
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\"
54
56
  * @summary List bank orders
55
57
  * @param {string} [authorization] Bearer Token
56
58
  * @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
59
  * @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;
60
+ * @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;
61
+ * @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
62
  * @param {*} [options] Override http request option.
61
63
  * @throws {RequiredError}
62
64
  */
@@ -65,11 +67,12 @@ export declare const BankOrdersApiAxiosParamCreator: (configuration?: Configurat
65
67
  * Update a bank order by code **Required Permissions** \"payment-management.bank-accounts.update\"
66
68
  * @summary Update the bank order
67
69
  * @param {string} code Unique identifier for the object.
70
+ * @param {UpdateBankOrderRequestDtoRest} updateBankOrderRequestDtoRest
68
71
  * @param {string} [authorization] Bearer Token
69
72
  * @param {*} [options] Override http request option.
70
73
  * @throws {RequiredError}
71
74
  */
72
- updateBankOrder: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
75
+ updateBankOrder: (code: string, updateBankOrderRequestDtoRest: UpdateBankOrderRequestDtoRest, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
73
76
  };
74
77
  /**
75
78
  * BankOrdersApi - functional programming interface
@@ -99,18 +102,19 @@ export declare const BankOrdersApiFp: (configuration?: Configuration) => {
99
102
  * @summary Retrieve the bank order
100
103
  * @param {string} code
101
104
  * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount&lt;i&gt;
102
106
  * @param {*} [options] Override http request option.
103
107
  * @throws {RequiredError}
104
108
  */
105
- getBankOrder(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankOrderResponseClass>>;
109
+ getBankOrder(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankOrderResponseClass>>;
106
110
  /**
107
111
  * 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
112
  * @summary List bank orders
109
113
  * @param {string} [authorization] Bearer Token
110
114
  * @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
115
  * @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;
116
+ * @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;
117
+ * @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
118
  * @param {*} [options] Override http request option.
115
119
  * @throws {RequiredError}
116
120
  */
@@ -119,11 +123,12 @@ export declare const BankOrdersApiFp: (configuration?: Configuration) => {
119
123
  * Update a bank order by code **Required Permissions** \"payment-management.bank-accounts.update\"
120
124
  * @summary Update the bank order
121
125
  * @param {string} code Unique identifier for the object.
126
+ * @param {UpdateBankOrderRequestDtoRest} updateBankOrderRequestDtoRest
122
127
  * @param {string} [authorization] Bearer Token
123
128
  * @param {*} [options] Override http request option.
124
129
  * @throws {RequiredError}
125
130
  */
126
- updateBankOrder(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateBankOrderResponseClass>>;
131
+ updateBankOrder(code: string, updateBankOrderRequestDtoRest: UpdateBankOrderRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateBankOrderResponseClass>>;
127
132
  };
128
133
  /**
129
134
  * BankOrdersApi - factory interface
@@ -153,18 +158,19 @@ export declare const BankOrdersApiFactory: (configuration?: Configuration, baseP
153
158
  * @summary Retrieve the bank order
154
159
  * @param {string} code
155
160
  * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount&lt;i&gt;
156
162
  * @param {*} [options] Override http request option.
157
163
  * @throws {RequiredError}
158
164
  */
159
- getBankOrder(code: string, authorization?: string, options?: any): AxiosPromise<GetBankOrderResponseClass>;
165
+ getBankOrder(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetBankOrderResponseClass>;
160
166
  /**
161
167
  * 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
168
  * @summary List bank orders
163
169
  * @param {string} [authorization] Bearer Token
164
170
  * @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
171
  * @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;
172
+ * @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;
173
+ * @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
174
  * @param {*} [options] Override http request option.
169
175
  * @throws {RequiredError}
170
176
  */
@@ -173,11 +179,12 @@ export declare const BankOrdersApiFactory: (configuration?: Configuration, baseP
173
179
  * Update a bank order by code **Required Permissions** \"payment-management.bank-accounts.update\"
174
180
  * @summary Update the bank order
175
181
  * @param {string} code Unique identifier for the object.
182
+ * @param {UpdateBankOrderRequestDtoRest} updateBankOrderRequestDtoRest
176
183
  * @param {string} [authorization] Bearer Token
177
184
  * @param {*} [options] Override http request option.
178
185
  * @throws {RequiredError}
179
186
  */
180
- updateBankOrder(code: string, authorization?: string, options?: any): AxiosPromise<UpdateBankOrderResponseClass>;
187
+ updateBankOrder(code: string, updateBankOrderRequestDtoRest: UpdateBankOrderRequestDtoRest, authorization?: string, options?: any): AxiosPromise<UpdateBankOrderResponseClass>;
181
188
  };
182
189
  /**
183
190
  * Request parameters for createBankOrder operation in BankOrdersApi.
@@ -235,6 +242,12 @@ export interface BankOrdersApiGetBankOrderRequest {
235
242
  * @memberof BankOrdersApiGetBankOrder
236
243
  */
237
244
  readonly authorization?: string;
245
+ /**
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount&lt;i&gt;
247
+ * @type {string}
248
+ * @memberof BankOrdersApiGetBankOrder
249
+ */
250
+ readonly expand?: string;
238
251
  }
239
252
  /**
240
253
  * Request parameters for listBankOrders operation in BankOrdersApi.
@@ -261,13 +274,13 @@ export interface BankOrdersApiListBankOrdersRequest {
261
274
  */
262
275
  readonly filters?: string;
263
276
  /**
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;
277
+ * 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
278
  * @type {string}
266
279
  * @memberof BankOrdersApiListBankOrders
267
280
  */
268
281
  readonly order?: string;
269
282
  /**
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;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount&lt;i&gt;
271
284
  * @type {string}
272
285
  * @memberof BankOrdersApiListBankOrders
273
286
  */
@@ -285,6 +298,12 @@ export interface BankOrdersApiUpdateBankOrderRequest {
285
298
  * @memberof BankOrdersApiUpdateBankOrder
286
299
  */
287
300
  readonly code: string;
301
+ /**
302
+ *
303
+ * @type {UpdateBankOrderRequestDtoRest}
304
+ * @memberof BankOrdersApiUpdateBankOrder
305
+ */
306
+ readonly updateBankOrderRequestDtoRest: UpdateBankOrderRequestDtoRest;
288
307
  /**
289
308
  * Bearer Token
290
309
  * @type {string}
@@ -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
  */
@@ -305,11 +309,12 @@ var BankOrdersApiAxiosParamCreator = function (configuration) {
305
309
  * Update a bank order by code **Required Permissions** \"payment-management.bank-accounts.update\"
306
310
  * @summary Update the bank order
307
311
  * @param {string} code Unique identifier for the object.
312
+ * @param {UpdateBankOrderRequestDtoRest} updateBankOrderRequestDtoRest
308
313
  * @param {string} [authorization] Bearer Token
309
314
  * @param {*} [options] Override http request option.
310
315
  * @throws {RequiredError}
311
316
  */
312
- updateBankOrder: function (code, authorization, options) {
317
+ updateBankOrder: function (code, updateBankOrderRequestDtoRest, authorization, options) {
313
318
  if (options === void 0) { options = {}; }
314
319
  return __awaiter(_this, void 0, void 0, function () {
315
320
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -318,6 +323,8 @@ var BankOrdersApiAxiosParamCreator = function (configuration) {
318
323
  case 0:
319
324
  // verify required parameter 'code' is not null or undefined
320
325
  (0, common_1.assertParamExists)('updateBankOrder', 'code', code);
326
+ // verify required parameter 'updateBankOrderRequestDtoRest' is not null or undefined
327
+ (0, common_1.assertParamExists)('updateBankOrder', 'updateBankOrderRequestDtoRest', updateBankOrderRequestDtoRest);
321
328
  localVarPath = "/paymentservice/v1/bank-orders/{code}"
322
329
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
323
330
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -338,9 +345,11 @@ var BankOrdersApiAxiosParamCreator = function (configuration) {
338
345
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
339
346
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
340
347
  }
348
+ localVarHeaderParameter['Content-Type'] = 'application/json';
341
349
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
342
350
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
343
351
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
352
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateBankOrderRequestDtoRest, localVarRequestOptions, configuration);
344
353
  return [2 /*return*/, {
345
354
  url: (0, common_1.toPathString)(localVarUrlObj),
346
355
  options: localVarRequestOptions,
@@ -406,15 +415,16 @@ var BankOrdersApiFp = function (configuration) {
406
415
  * @summary Retrieve the bank order
407
416
  * @param {string} code
408
417
  * @param {string} [authorization] Bearer Token
418
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount&lt;i&gt;
409
419
  * @param {*} [options] Override http request option.
410
420
  * @throws {RequiredError}
411
421
  */
412
- getBankOrder: function (code, authorization, options) {
422
+ getBankOrder: function (code, authorization, expand, options) {
413
423
  return __awaiter(this, void 0, void 0, function () {
414
424
  var localVarAxiosArgs;
415
425
  return __generator(this, function (_a) {
416
426
  switch (_a.label) {
417
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getBankOrder(code, authorization, options)];
427
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getBankOrder(code, authorization, expand, options)];
418
428
  case 1:
419
429
  localVarAxiosArgs = _a.sent();
420
430
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -428,8 +438,8 @@ var BankOrdersApiFp = function (configuration) {
428
438
  * @param {string} [authorization] Bearer Token
429
439
  * @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
440
  * @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;
441
+ * @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;
442
+ * @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
443
  * @param {*} [options] Override http request option.
434
444
  * @throws {RequiredError}
435
445
  */
@@ -450,16 +460,17 @@ var BankOrdersApiFp = function (configuration) {
450
460
  * Update a bank order by code **Required Permissions** \"payment-management.bank-accounts.update\"
451
461
  * @summary Update the bank order
452
462
  * @param {string} code Unique identifier for the object.
463
+ * @param {UpdateBankOrderRequestDtoRest} updateBankOrderRequestDtoRest
453
464
  * @param {string} [authorization] Bearer Token
454
465
  * @param {*} [options] Override http request option.
455
466
  * @throws {RequiredError}
456
467
  */
457
- updateBankOrder: function (code, authorization, options) {
468
+ updateBankOrder: function (code, updateBankOrderRequestDtoRest, authorization, options) {
458
469
  return __awaiter(this, void 0, void 0, function () {
459
470
  var localVarAxiosArgs;
460
471
  return __generator(this, function (_a) {
461
472
  switch (_a.label) {
462
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateBankOrder(code, authorization, options)];
473
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateBankOrder(code, updateBankOrderRequestDtoRest, authorization, options)];
463
474
  case 1:
464
475
  localVarAxiosArgs = _a.sent();
465
476
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -504,11 +515,12 @@ var BankOrdersApiFactory = function (configuration, basePath, axios) {
504
515
  * @summary Retrieve the bank order
505
516
  * @param {string} code
506
517
  * @param {string} [authorization] Bearer Token
518
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount&lt;i&gt;
507
519
  * @param {*} [options] Override http request option.
508
520
  * @throws {RequiredError}
509
521
  */
510
- getBankOrder: function (code, authorization, options) {
511
- return localVarFp.getBankOrder(code, authorization, options).then(function (request) { return request(axios, basePath); });
522
+ getBankOrder: function (code, authorization, expand, options) {
523
+ return localVarFp.getBankOrder(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
512
524
  },
513
525
  /**
514
526
  * 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 +528,8 @@ var BankOrdersApiFactory = function (configuration, basePath, axios) {
516
528
  * @param {string} [authorization] Bearer Token
517
529
  * @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
530
  * @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;
531
+ * @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;
532
+ * @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
533
  * @param {*} [options] Override http request option.
522
534
  * @throws {RequiredError}
523
535
  */
@@ -528,12 +540,13 @@ var BankOrdersApiFactory = function (configuration, basePath, axios) {
528
540
  * Update a bank order by code **Required Permissions** \"payment-management.bank-accounts.update\"
529
541
  * @summary Update the bank order
530
542
  * @param {string} code Unique identifier for the object.
543
+ * @param {UpdateBankOrderRequestDtoRest} updateBankOrderRequestDtoRest
531
544
  * @param {string} [authorization] Bearer Token
532
545
  * @param {*} [options] Override http request option.
533
546
  * @throws {RequiredError}
534
547
  */
535
- updateBankOrder: function (code, authorization, options) {
536
- return localVarFp.updateBankOrder(code, authorization, options).then(function (request) { return request(axios, basePath); });
548
+ updateBankOrder: function (code, updateBankOrderRequestDtoRest, authorization, options) {
549
+ return localVarFp.updateBankOrder(code, updateBankOrderRequestDtoRest, authorization, options).then(function (request) { return request(axios, basePath); });
537
550
  },
538
551
  };
539
552
  };
@@ -583,7 +596,7 @@ var BankOrdersApi = /** @class */ (function (_super) {
583
596
  */
584
597
  BankOrdersApi.prototype.getBankOrder = function (requestParameters, options) {
585
598
  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); });
599
+ return (0, exports.BankOrdersApiFp)(this.configuration).getBankOrder(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
587
600
  };
588
601
  /**
589
602
  * 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\"
@@ -608,7 +621,7 @@ var BankOrdersApi = /** @class */ (function (_super) {
608
621
  */
609
622
  BankOrdersApi.prototype.updateBankOrder = function (requestParameters, options) {
610
623
  var _this = this;
611
- return (0, exports.BankOrdersApiFp)(this.configuration).updateBankOrder(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
624
+ return (0, exports.BankOrdersApiFp)(this.configuration).updateBankOrder(requestParameters.code, requestParameters.updateBankOrderRequestDtoRest, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
612
625
  };
613
626
  return BankOrdersApi;
614
627
  }(base_1.BaseAPI));
@@ -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";
@@ -80,6 +80,7 @@ export * from './update-bank-account-request-dto';
80
80
  export * from './update-bank-account-request-dto-rest';
81
81
  export * from './update-bank-account-response-class';
82
82
  export * from './update-bank-order-request-dto';
83
+ export * from './update-bank-order-request-dto-rest';
83
84
  export * from './update-bank-order-response-class';
84
85
  export * from './update-tenant-bank-account-response-class';
85
86
  export * from './update-tenant-bank-account-rest-request-dto';
@@ -96,6 +96,7 @@ __exportStar(require("./update-bank-account-request-dto"), exports);
96
96
  __exportStar(require("./update-bank-account-request-dto-rest"), exports);
97
97
  __exportStar(require("./update-bank-account-response-class"), exports);
98
98
  __exportStar(require("./update-bank-order-request-dto"), exports);
99
+ __exportStar(require("./update-bank-order-request-dto-rest"), exports);
99
100
  __exportStar(require("./update-bank-order-response-class"), exports);
100
101
  __exportStar(require("./update-tenant-bank-account-response-class"), exports);
101
102
  __exportStar(require("./update-tenant-bank-account-rest-request-dto"), exports);
@@ -0,0 +1,62 @@
1
+ /**
2
+ * Emil Payment Service
3
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface UpdateBankOrderRequestDtoRest
16
+ */
17
+ export interface UpdateBankOrderRequestDtoRest {
18
+ /**
19
+ * Amount for the bank order
20
+ * @type {number}
21
+ * @memberof UpdateBankOrderRequestDtoRest
22
+ */
23
+ 'amount': number;
24
+ /**
25
+ * Bank order status
26
+ * @type {string}
27
+ * @memberof UpdateBankOrderRequestDtoRest
28
+ */
29
+ 'status': UpdateBankOrderRequestDtoRestStatusEnum;
30
+ /**
31
+ * Bank order description.
32
+ * @type {string}
33
+ * @memberof UpdateBankOrderRequestDtoRest
34
+ */
35
+ 'description'?: string;
36
+ /**
37
+ * List of invoice IDs associated with bank order.
38
+ * @type {Array<number>}
39
+ * @memberof UpdateBankOrderRequestDtoRest
40
+ */
41
+ 'invoiceIds': Array<number>;
42
+ /**
43
+ * Day of execution of bank order.
44
+ * @type {string}
45
+ * @memberof UpdateBankOrderRequestDtoRest
46
+ */
47
+ 'executionDate': string;
48
+ /**
49
+ * Latest due date.
50
+ * @type {string}
51
+ * @memberof UpdateBankOrderRequestDtoRest
52
+ */
53
+ 'dueDate': string;
54
+ }
55
+ export declare const UpdateBankOrderRequestDtoRestStatusEnum: {
56
+ readonly Open: "open";
57
+ readonly Draft: "draft";
58
+ readonly Closed: "closed";
59
+ readonly Accepted: "accepted";
60
+ readonly Processing: "processing";
61
+ };
62
+ export type UpdateBankOrderRequestDtoRestStatusEnum = typeof UpdateBankOrderRequestDtoRestStatusEnum[keyof typeof UpdateBankOrderRequestDtoRestStatusEnum];
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil Payment Service
6
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.UpdateBankOrderRequestDtoRestStatusEnum = void 0;
17
+ exports.UpdateBankOrderRequestDtoRestStatusEnum = {
18
+ Open: 'open',
19
+ Draft: 'draft',
20
+ Closed: 'closed',
21
+ Accepted: 'accepted',
22
+ Processing: 'processing'
23
+ };
@@ -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 = {
package/models/index.ts CHANGED
@@ -80,6 +80,7 @@ export * from './update-bank-account-request-dto';
80
80
  export * from './update-bank-account-request-dto-rest';
81
81
  export * from './update-bank-account-response-class';
82
82
  export * from './update-bank-order-request-dto';
83
+ export * from './update-bank-order-request-dto-rest';
83
84
  export * from './update-bank-order-response-class';
84
85
  export * from './update-tenant-bank-account-response-class';
85
86
  export * from './update-tenant-bank-account-rest-request-dto';
@@ -0,0 +1,71 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil Payment Service
5
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface UpdateBankOrderRequestDtoRest
21
+ */
22
+ export interface UpdateBankOrderRequestDtoRest {
23
+ /**
24
+ * Amount for the bank order
25
+ * @type {number}
26
+ * @memberof UpdateBankOrderRequestDtoRest
27
+ */
28
+ 'amount': number;
29
+ /**
30
+ * Bank order status
31
+ * @type {string}
32
+ * @memberof UpdateBankOrderRequestDtoRest
33
+ */
34
+ 'status': UpdateBankOrderRequestDtoRestStatusEnum;
35
+ /**
36
+ * Bank order description.
37
+ * @type {string}
38
+ * @memberof UpdateBankOrderRequestDtoRest
39
+ */
40
+ 'description'?: string;
41
+ /**
42
+ * List of invoice IDs associated with bank order.
43
+ * @type {Array<number>}
44
+ * @memberof UpdateBankOrderRequestDtoRest
45
+ */
46
+ 'invoiceIds': Array<number>;
47
+ /**
48
+ * Day of execution of bank order.
49
+ * @type {string}
50
+ * @memberof UpdateBankOrderRequestDtoRest
51
+ */
52
+ 'executionDate': string;
53
+ /**
54
+ * Latest due date.
55
+ * @type {string}
56
+ * @memberof UpdateBankOrderRequestDtoRest
57
+ */
58
+ 'dueDate': string;
59
+ }
60
+
61
+ export const UpdateBankOrderRequestDtoRestStatusEnum = {
62
+ Open: 'open',
63
+ Draft: 'draft',
64
+ Closed: 'closed',
65
+ Accepted: 'accepted',
66
+ Processing: 'processing'
67
+ } as const;
68
+
69
+ export type UpdateBankOrderRequestDtoRestStatusEnum = typeof UpdateBankOrderRequestDtoRestStatusEnum[keyof typeof UpdateBankOrderRequestDtoRestStatusEnum];
70
+
71
+
@@ -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.15",
4
4
  "description": "OpenAPI client for @emilgroup/payment-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [