@emilgroup/payment-sdk 1.13.1-beta.13 → 1.13.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@1.13.1-beta.13 --save
20
+ npm install @emilgroup/payment-sdk@1.13.1-beta.15 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/payment-sdk@1.13.1-beta.13
24
+ yarn add @emilgroup/payment-sdk@1.13.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
  /**
34
36
  * BankOrdersApi - axios parameter creator
@@ -133,10 +135,11 @@ export const BankOrdersApiAxiosParamCreator = function (configuration?: Configur
133
135
  * @summary Retrieve the bank order
134
136
  * @param {string} code
135
137
  * @param {string} [authorization] Bearer Token
138
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount<i>
136
139
  * @param {*} [options] Override http request option.
137
140
  * @throws {RequiredError}
138
141
  */
139
- getBankOrder: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
142
+ getBankOrder: async (code: string, authorization?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
140
143
  // verify required parameter 'code' is not null or undefined
141
144
  assertParamExists('getBankOrder', 'code', code)
142
145
  const localVarPath = `/paymentservice/v1/bank-orders/{code}`
@@ -158,6 +161,10 @@ export const BankOrdersApiAxiosParamCreator = function (configuration?: Configur
158
161
  // http bearer authentication required
159
162
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
160
163
 
164
+ if (expand !== undefined) {
165
+ localVarQueryParameter['expand'] = expand;
166
+ }
167
+
161
168
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
162
169
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
163
170
  }
@@ -179,8 +186,8 @@ export const BankOrdersApiAxiosParamCreator = function (configuration?: Configur
179
186
  * @param {string} [authorization] Bearer Token
180
187
  * @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;
181
188
  * @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;
182
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionDate, orderNumber, bankAccountId, amount, createdAt, updatedAt&lt;/i&gt;
183
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
189
+ * @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;
190
+ * @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;
184
191
  * @param {*} [options] Override http request option.
185
192
  * @throws {RequiredError}
186
193
  */
@@ -238,13 +245,16 @@ export const BankOrdersApiAxiosParamCreator = function (configuration?: Configur
238
245
  * Update a bank order by code **Required Permissions** \"payment-management.bank-accounts.update\"
239
246
  * @summary Update the bank order
240
247
  * @param {string} code Unique identifier for the object.
248
+ * @param {UpdateBankOrderRequestDtoRest} updateBankOrderRequestDtoRest
241
249
  * @param {string} [authorization] Bearer Token
242
250
  * @param {*} [options] Override http request option.
243
251
  * @throws {RequiredError}
244
252
  */
245
- updateBankOrder: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
253
+ updateBankOrder: async (code: string, updateBankOrderRequestDtoRest: UpdateBankOrderRequestDtoRest, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
246
254
  // verify required parameter 'code' is not null or undefined
247
255
  assertParamExists('updateBankOrder', 'code', code)
256
+ // verify required parameter 'updateBankOrderRequestDtoRest' is not null or undefined
257
+ assertParamExists('updateBankOrder', 'updateBankOrderRequestDtoRest', updateBankOrderRequestDtoRest)
248
258
  const localVarPath = `/paymentservice/v1/bank-orders/{code}`
249
259
  .replace(`{${"code"}}`, encodeURIComponent(String(code)));
250
260
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -270,9 +280,12 @@ export const BankOrdersApiAxiosParamCreator = function (configuration?: Configur
270
280
 
271
281
 
272
282
 
283
+ localVarHeaderParameter['Content-Type'] = 'application/json';
284
+
273
285
  setSearchParams(localVarUrlObj, localVarQueryParameter);
274
286
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
275
287
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
288
+ localVarRequestOptions.data = serializeDataIfNeeded(updateBankOrderRequestDtoRest, localVarRequestOptions, configuration)
276
289
 
277
290
  return {
278
291
  url: toPathString(localVarUrlObj),
@@ -318,11 +331,12 @@ export const BankOrdersApiFp = function(configuration?: Configuration) {
318
331
  * @summary Retrieve the bank order
319
332
  * @param {string} code
320
333
  * @param {string} [authorization] Bearer Token
334
+ * @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;
321
335
  * @param {*} [options] Override http request option.
322
336
  * @throws {RequiredError}
323
337
  */
324
- async getBankOrder(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankOrderResponseClass>> {
325
- const localVarAxiosArgs = await localVarAxiosParamCreator.getBankOrder(code, authorization, options);
338
+ async getBankOrder(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankOrderResponseClass>> {
339
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getBankOrder(code, authorization, expand, options);
326
340
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
327
341
  },
328
342
  /**
@@ -331,8 +345,8 @@ export const BankOrdersApiFp = function(configuration?: Configuration) {
331
345
  * @param {string} [authorization] Bearer Token
332
346
  * @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;
333
347
  * @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;
334
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionDate, orderNumber, bankAccountId, amount, createdAt, updatedAt&lt;/i&gt;
335
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
348
+ * @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;
349
+ * @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;
336
350
  * @param {*} [options] Override http request option.
337
351
  * @throws {RequiredError}
338
352
  */
@@ -344,12 +358,13 @@ export const BankOrdersApiFp = function(configuration?: Configuration) {
344
358
  * Update a bank order by code **Required Permissions** \"payment-management.bank-accounts.update\"
345
359
  * @summary Update the bank order
346
360
  * @param {string} code Unique identifier for the object.
361
+ * @param {UpdateBankOrderRequestDtoRest} updateBankOrderRequestDtoRest
347
362
  * @param {string} [authorization] Bearer Token
348
363
  * @param {*} [options] Override http request option.
349
364
  * @throws {RequiredError}
350
365
  */
351
- async updateBankOrder(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateBankOrderResponseClass>> {
352
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateBankOrder(code, authorization, options);
366
+ async updateBankOrder(code: string, updateBankOrderRequestDtoRest: UpdateBankOrderRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateBankOrderResponseClass>> {
367
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateBankOrder(code, updateBankOrderRequestDtoRest, authorization, options);
353
368
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
354
369
  },
355
370
  }
@@ -389,11 +404,12 @@ export const BankOrdersApiFactory = function (configuration?: Configuration, bas
389
404
  * @summary Retrieve the bank order
390
405
  * @param {string} code
391
406
  * @param {string} [authorization] Bearer Token
407
+ * @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;
392
408
  * @param {*} [options] Override http request option.
393
409
  * @throws {RequiredError}
394
410
  */
395
- getBankOrder(code: string, authorization?: string, options?: any): AxiosPromise<GetBankOrderResponseClass> {
396
- return localVarFp.getBankOrder(code, authorization, options).then((request) => request(axios, basePath));
411
+ getBankOrder(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetBankOrderResponseClass> {
412
+ return localVarFp.getBankOrder(code, authorization, expand, options).then((request) => request(axios, basePath));
397
413
  },
398
414
  /**
399
415
  * Returns a list of bank orders you have previously created. The bank orders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
@@ -401,8 +417,8 @@ export const BankOrdersApiFactory = function (configuration?: Configuration, bas
401
417
  * @param {string} [authorization] Bearer Token
402
418
  * @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;
403
419
  * @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;
404
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionDate, orderNumber, bankAccountId, amount, createdAt, updatedAt&lt;/i&gt;
405
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
420
+ * @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;
421
+ * @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;
406
422
  * @param {*} [options] Override http request option.
407
423
  * @throws {RequiredError}
408
424
  */
@@ -413,12 +429,13 @@ export const BankOrdersApiFactory = function (configuration?: Configuration, bas
413
429
  * Update a bank order by code **Required Permissions** \"payment-management.bank-accounts.update\"
414
430
  * @summary Update the bank order
415
431
  * @param {string} code Unique identifier for the object.
432
+ * @param {UpdateBankOrderRequestDtoRest} updateBankOrderRequestDtoRest
416
433
  * @param {string} [authorization] Bearer Token
417
434
  * @param {*} [options] Override http request option.
418
435
  * @throws {RequiredError}
419
436
  */
420
- updateBankOrder(code: string, authorization?: string, options?: any): AxiosPromise<UpdateBankOrderResponseClass> {
421
- return localVarFp.updateBankOrder(code, authorization, options).then((request) => request(axios, basePath));
437
+ updateBankOrder(code: string, updateBankOrderRequestDtoRest: UpdateBankOrderRequestDtoRest, authorization?: string, options?: any): AxiosPromise<UpdateBankOrderResponseClass> {
438
+ return localVarFp.updateBankOrder(code, updateBankOrderRequestDtoRest, authorization, options).then((request) => request(axios, basePath));
422
439
  },
423
440
  };
424
441
  };
@@ -484,6 +501,13 @@ export interface BankOrdersApiGetBankOrderRequest {
484
501
  * @memberof BankOrdersApiGetBankOrder
485
502
  */
486
503
  readonly authorization?: string
504
+
505
+ /**
506
+ * 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
+ * @type {string}
508
+ * @memberof BankOrdersApiGetBankOrder
509
+ */
510
+ readonly expand?: string
487
511
  }
488
512
 
489
513
  /**
@@ -514,14 +538,14 @@ export interface BankOrdersApiListBankOrdersRequest {
514
538
  readonly filters?: string
515
539
 
516
540
  /**
517
- * 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;
541
+ * 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;
518
542
  * @type {string}
519
543
  * @memberof BankOrdersApiListBankOrders
520
544
  */
521
545
  readonly order?: string
522
546
 
523
547
  /**
524
- * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
548
+ * 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;
525
549
  * @type {string}
526
550
  * @memberof BankOrdersApiListBankOrders
527
551
  */
@@ -541,6 +565,13 @@ export interface BankOrdersApiUpdateBankOrderRequest {
541
565
  */
542
566
  readonly code: string
543
567
 
568
+ /**
569
+ *
570
+ * @type {UpdateBankOrderRequestDtoRest}
571
+ * @memberof BankOrdersApiUpdateBankOrder
572
+ */
573
+ readonly updateBankOrderRequestDtoRest: UpdateBankOrderRequestDtoRest
574
+
544
575
  /**
545
576
  * Bearer Token
546
577
  * @type {string}
@@ -589,7 +620,7 @@ export class BankOrdersApi extends BaseAPI {
589
620
  * @memberof BankOrdersApi
590
621
  */
591
622
  public getBankOrder(requestParameters: BankOrdersApiGetBankOrderRequest, options?: AxiosRequestConfig) {
592
- return BankOrdersApiFp(this.configuration).getBankOrder(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
623
+ return BankOrdersApiFp(this.configuration).getBankOrder(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
593
624
  }
594
625
 
595
626
  /**
@@ -613,6 +644,6 @@ export class BankOrdersApi extends BaseAPI {
613
644
  * @memberof BankOrdersApi
614
645
  */
615
646
  public updateBankOrder(requestParameters: BankOrdersApiUpdateBankOrderRequest, options?: AxiosRequestConfig) {
616
- return BankOrdersApiFp(this.configuration).updateBankOrder(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
647
+ return BankOrdersApiFp(this.configuration).updateBankOrder(requestParameters.code, requestParameters.updateBankOrderRequestDtoRest, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
617
648
  }
618
649
  }
@@ -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}
@@ -194,10 +194,11 @@ var BankOrdersApiAxiosParamCreator = function (configuration) {
194
194
  * @summary Retrieve the bank order
195
195
  * @param {string} code
196
196
  * @param {string} [authorization] Bearer Token
197
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount&lt;i&gt;
197
198
  * @param {*} [options] Override http request option.
198
199
  * @throws {RequiredError}
199
200
  */
200
- getBankOrder: function (code, authorization, options) {
201
+ getBankOrder: function (code, authorization, expand, options) {
201
202
  if (options === void 0) { options = {}; }
202
203
  return __awaiter(_this, void 0, void 0, function () {
203
204
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -223,6 +224,9 @@ var BankOrdersApiAxiosParamCreator = function (configuration) {
223
224
  // authentication bearer required
224
225
  // http bearer authentication required
225
226
  _a.sent();
227
+ if (expand !== undefined) {
228
+ localVarQueryParameter['expand'] = expand;
229
+ }
226
230
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
227
231
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
228
232
  }
@@ -243,8 +247,8 @@ var BankOrdersApiAxiosParamCreator = function (configuration) {
243
247
  * @param {string} [authorization] Bearer Token
244
248
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, orderNumber, status, type, bankAccountId&lt;/i&gt;
245
249
  * @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;
246
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionDate, orderNumber, bankAccountId, amount, createdAt, updatedAt&lt;/i&gt;
247
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&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, dueDate, 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; &lt;i&gt;Allowed values: bankAccount&lt;i&gt;
248
252
  * @param {*} [options] Override http request option.
249
253
  * @throws {RequiredError}
250
254
  */
@@ -301,11 +305,12 @@ var BankOrdersApiAxiosParamCreator = function (configuration) {
301
305
  * Update a bank order by code **Required Permissions** \"payment-management.bank-accounts.update\"
302
306
  * @summary Update the bank order
303
307
  * @param {string} code Unique identifier for the object.
308
+ * @param {UpdateBankOrderRequestDtoRest} updateBankOrderRequestDtoRest
304
309
  * @param {string} [authorization] Bearer Token
305
310
  * @param {*} [options] Override http request option.
306
311
  * @throws {RequiredError}
307
312
  */
308
- updateBankOrder: function (code, authorization, options) {
313
+ updateBankOrder: function (code, updateBankOrderRequestDtoRest, authorization, options) {
309
314
  if (options === void 0) { options = {}; }
310
315
  return __awaiter(_this, void 0, void 0, function () {
311
316
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -314,6 +319,8 @@ var BankOrdersApiAxiosParamCreator = function (configuration) {
314
319
  case 0:
315
320
  // verify required parameter 'code' is not null or undefined
316
321
  (0, common_1.assertParamExists)('updateBankOrder', 'code', code);
322
+ // verify required parameter 'updateBankOrderRequestDtoRest' is not null or undefined
323
+ (0, common_1.assertParamExists)('updateBankOrder', 'updateBankOrderRequestDtoRest', updateBankOrderRequestDtoRest);
317
324
  localVarPath = "/paymentservice/v1/bank-orders/{code}"
318
325
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
319
326
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -334,9 +341,11 @@ var BankOrdersApiAxiosParamCreator = function (configuration) {
334
341
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
335
342
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
336
343
  }
344
+ localVarHeaderParameter['Content-Type'] = 'application/json';
337
345
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
338
346
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
339
347
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
348
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateBankOrderRequestDtoRest, localVarRequestOptions, configuration);
340
349
  return [2 /*return*/, {
341
350
  url: (0, common_1.toPathString)(localVarUrlObj),
342
351
  options: localVarRequestOptions,
@@ -402,15 +411,16 @@ var BankOrdersApiFp = function (configuration) {
402
411
  * @summary Retrieve the bank order
403
412
  * @param {string} code
404
413
  * @param {string} [authorization] Bearer Token
414
+ * @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;
405
415
  * @param {*} [options] Override http request option.
406
416
  * @throws {RequiredError}
407
417
  */
408
- getBankOrder: function (code, authorization, options) {
418
+ getBankOrder: function (code, authorization, expand, options) {
409
419
  return __awaiter(this, void 0, void 0, function () {
410
420
  var localVarAxiosArgs;
411
421
  return __generator(this, function (_a) {
412
422
  switch (_a.label) {
413
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getBankOrder(code, authorization, options)];
423
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getBankOrder(code, authorization, expand, options)];
414
424
  case 1:
415
425
  localVarAxiosArgs = _a.sent();
416
426
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -424,8 +434,8 @@ var BankOrdersApiFp = function (configuration) {
424
434
  * @param {string} [authorization] Bearer Token
425
435
  * @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;
426
436
  * @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;
427
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionDate, orderNumber, bankAccountId, amount, createdAt, updatedAt&lt;/i&gt;
428
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
437
+ * @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;
438
+ * @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;
429
439
  * @param {*} [options] Override http request option.
430
440
  * @throws {RequiredError}
431
441
  */
@@ -446,16 +456,17 @@ var BankOrdersApiFp = function (configuration) {
446
456
  * Update a bank order by code **Required Permissions** \"payment-management.bank-accounts.update\"
447
457
  * @summary Update the bank order
448
458
  * @param {string} code Unique identifier for the object.
459
+ * @param {UpdateBankOrderRequestDtoRest} updateBankOrderRequestDtoRest
449
460
  * @param {string} [authorization] Bearer Token
450
461
  * @param {*} [options] Override http request option.
451
462
  * @throws {RequiredError}
452
463
  */
453
- updateBankOrder: function (code, authorization, options) {
464
+ updateBankOrder: function (code, updateBankOrderRequestDtoRest, authorization, options) {
454
465
  return __awaiter(this, void 0, void 0, function () {
455
466
  var localVarAxiosArgs;
456
467
  return __generator(this, function (_a) {
457
468
  switch (_a.label) {
458
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateBankOrder(code, authorization, options)];
469
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateBankOrder(code, updateBankOrderRequestDtoRest, authorization, options)];
459
470
  case 1:
460
471
  localVarAxiosArgs = _a.sent();
461
472
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -500,11 +511,12 @@ var BankOrdersApiFactory = function (configuration, basePath, axios) {
500
511
  * @summary Retrieve the bank order
501
512
  * @param {string} code
502
513
  * @param {string} [authorization] Bearer Token
514
+ * @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;
503
515
  * @param {*} [options] Override http request option.
504
516
  * @throws {RequiredError}
505
517
  */
506
- getBankOrder: function (code, authorization, options) {
507
- return localVarFp.getBankOrder(code, authorization, options).then(function (request) { return request(axios, basePath); });
518
+ getBankOrder: function (code, authorization, expand, options) {
519
+ return localVarFp.getBankOrder(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
508
520
  },
509
521
  /**
510
522
  * Returns a list of bank orders you have previously created. The bank orders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
@@ -512,8 +524,8 @@ var BankOrdersApiFactory = function (configuration, basePath, axios) {
512
524
  * @param {string} [authorization] Bearer Token
513
525
  * @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;
514
526
  * @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;
515
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionDate, orderNumber, bankAccountId, amount, createdAt, updatedAt&lt;/i&gt;
516
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
527
+ * @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;
528
+ * @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;
517
529
  * @param {*} [options] Override http request option.
518
530
  * @throws {RequiredError}
519
531
  */
@@ -524,12 +536,13 @@ var BankOrdersApiFactory = function (configuration, basePath, axios) {
524
536
  * Update a bank order by code **Required Permissions** \"payment-management.bank-accounts.update\"
525
537
  * @summary Update the bank order
526
538
  * @param {string} code Unique identifier for the object.
539
+ * @param {UpdateBankOrderRequestDtoRest} updateBankOrderRequestDtoRest
527
540
  * @param {string} [authorization] Bearer Token
528
541
  * @param {*} [options] Override http request option.
529
542
  * @throws {RequiredError}
530
543
  */
531
- updateBankOrder: function (code, authorization, options) {
532
- return localVarFp.updateBankOrder(code, authorization, options).then(function (request) { return request(axios, basePath); });
544
+ updateBankOrder: function (code, updateBankOrderRequestDtoRest, authorization, options) {
545
+ return localVarFp.updateBankOrder(code, updateBankOrderRequestDtoRest, authorization, options).then(function (request) { return request(axios, basePath); });
533
546
  },
534
547
  };
535
548
  };
@@ -579,7 +592,7 @@ var BankOrdersApi = /** @class */ (function (_super) {
579
592
  */
580
593
  BankOrdersApi.prototype.getBankOrder = function (requestParameters, options) {
581
594
  var _this = this;
582
- return (0, exports.BankOrdersApiFp)(this.configuration).getBankOrder(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
595
+ return (0, exports.BankOrdersApiFp)(this.configuration).getBankOrder(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
583
596
  };
584
597
  /**
585
598
  * 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\"
@@ -604,7 +617,7 @@ var BankOrdersApi = /** @class */ (function (_super) {
604
617
  */
605
618
  BankOrdersApi.prototype.updateBankOrder = function (requestParameters, options) {
606
619
  var _this = this;
607
- return (0, exports.BankOrdersApiFp)(this.configuration).updateBankOrder(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
620
+ return (0, exports.BankOrdersApiFp)(this.configuration).updateBankOrder(requestParameters.code, requestParameters.updateBankOrderRequestDtoRest, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
608
621
  };
609
622
  return BankOrdersApi;
610
623
  }(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",
3
- "version": "1.13.1-beta.13",
3
+ "version": "1.13.1-beta.15",
4
4
  "description": "OpenAPI client for @emilgroup/payment-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [