@emilgroup/payment-sdk 1.13.1-beta.72 → 1.13.1-beta.74

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.
Files changed (29) hide show
  1. package/.openapi-generator/FILES +3 -1
  2. package/README.md +2 -2
  3. package/api/bank-transaction-api.ts +14 -31
  4. package/api/payments-api.ts +129 -4
  5. package/dist/api/bank-transaction-api.d.ts +11 -21
  6. package/dist/api/bank-transaction-api.js +12 -19
  7. package/dist/api/payments-api.d.ts +73 -4
  8. package/dist/api/payments-api.js +109 -4
  9. package/dist/models/bank-transaction-class-without-expand-properties.d.ts +7 -12
  10. package/dist/models/bank-transaction-class.d.ts +7 -12
  11. package/dist/models/bank-transaction-invoice-class.d.ts +54 -0
  12. package/dist/models/create-payment-order-dto.d.ts +48 -0
  13. package/{models/unlink-bank-transaction-request-dto-rest.ts → dist/models/create-payment-order-dto.js} +2 -17
  14. package/dist/models/create-payment-order-request-dto.d.ts +48 -0
  15. package/dist/models/{unlink-bank-transaction-request-dto-rest.d.ts → create-payment-order-request-dto.js} +4 -13
  16. package/dist/models/index.d.ts +3 -1
  17. package/dist/models/index.js +3 -1
  18. package/dist/models/link-bank-transaction-request-dto-rest.d.ts +3 -3
  19. package/dist/models/unlinked-bank-transaction-response-class.d.ts +7 -0
  20. package/models/bank-transaction-class-without-expand-properties.ts +7 -12
  21. package/models/bank-transaction-class.ts +7 -12
  22. package/models/bank-transaction-invoice-class.ts +60 -0
  23. package/models/create-payment-order-dto.ts +54 -0
  24. package/models/create-payment-order-request-dto.ts +54 -0
  25. package/models/index.ts +3 -1
  26. package/models/link-bank-transaction-request-dto-rest.ts +3 -3
  27. package/models/unlinked-bank-transaction-response-class.ts +7 -0
  28. package/package.json +1 -1
  29. /package/dist/models/{unlink-bank-transaction-request-dto-rest.js → bank-transaction-invoice-class.js} +0 -0
@@ -24,6 +24,7 @@ models/bank-account-class.ts
24
24
  models/bank-order-class.ts
25
25
  models/bank-transaction-class-without-expand-properties.ts
26
26
  models/bank-transaction-class.ts
27
+ models/bank-transaction-invoice-class.ts
27
28
  models/billing-profile-dto.ts
28
29
  models/billing-profile-limited-response-dto.ts
29
30
  models/card-details-dto.ts
@@ -38,6 +39,8 @@ models/create-bank-account-response-class.ts
38
39
  models/create-bank-order-request-dto.ts
39
40
  models/create-bank-order-response-class.ts
40
41
  models/create-payment-method-response-class.ts
42
+ models/create-payment-order-dto.ts
43
+ models/create-payment-order-request-dto.ts
41
44
  models/create-payment-reminder-request-dto.ts
42
45
  models/create-payment-reminder-response-class.ts
43
46
  models/create-payment-request-dto.ts
@@ -98,7 +101,6 @@ models/suggestion-generation-progress-class.ts
98
101
  models/symphony-profile-limited-response-dto.ts
99
102
  models/tenant-bank-account-class-without-expand-properties.ts
100
103
  models/tenant-bank-account-class.ts
101
- models/unlink-bank-transaction-request-dto-rest.ts
102
104
  models/unlink-bank-transactions-response-class.ts
103
105
  models/unlinked-bank-transaction-response-class.ts
104
106
  models/update-bank-account-request-dto-rest.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.72 --save
20
+ npm install @emilgroup/payment-sdk@1.13.1-beta.74 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/payment-sdk@1.13.1-beta.72
24
+ yarn add @emilgroup/payment-sdk@1.13.1-beta.74
25
25
  ```
26
26
 
27
27
  And then you can import `PaymentsApi`.
@@ -33,8 +33,6 @@ import { LinkBankTransactionsResponseClass } from '../models';
33
33
  // @ts-ignore
34
34
  import { ListBankTransactionsResponseClass } from '../models';
35
35
  // @ts-ignore
36
- import { UnlinkBankTransactionRequestDtoRest } from '../models';
37
- // @ts-ignore
38
36
  import { UnlinkBankTransactionsResponseClass } from '../models';
39
37
  /**
40
38
  * BankTransactionApi - axios parameter creator
@@ -92,7 +90,7 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
92
90
  * @summary Retrieve the bank transaction
93
91
  * @param {string} code
94
92
  * @param {string} [authorization] Bearer Token
95
- * @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, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder<i>
93
+ * @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, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices<i>
96
94
  * @param {*} [options] Override http request option.
97
95
  * @throws {RequiredError}
98
96
  */
@@ -249,7 +247,7 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
249
247
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
250
248
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, createdAt, amount</i>
251
249
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, transactionDate, entryDate</i>
252
- * @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, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder<i>
250
+ * @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, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices<i>
253
251
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
254
252
  * @param {*} [options] Override http request option.
255
253
  * @throws {RequiredError}
@@ -320,16 +318,13 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
320
318
  * Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
321
319
  * @summary Unlink bank transaction
322
320
  * @param {string} code Code of the bank transaction to unlink
323
- * @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
324
321
  * @param {string} [authorization] Bearer Token
325
322
  * @param {*} [options] Override http request option.
326
323
  * @throws {RequiredError}
327
324
  */
328
- unlinkBankTransaction: async (code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
325
+ unlinkBankTransaction: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
329
326
  // verify required parameter 'code' is not null or undefined
330
327
  assertParamExists('unlinkBankTransaction', 'code', code)
331
- // verify required parameter 'unlinkBankTransactionRequestDtoRest' is not null or undefined
332
- assertParamExists('unlinkBankTransaction', 'unlinkBankTransactionRequestDtoRest', unlinkBankTransactionRequestDtoRest)
333
328
  const localVarPath = `/paymentservice/v1/tenant/bank-transactions/{code}/unlink`
334
329
  .replace(`{${"code"}}`, encodeURIComponent(String(code)));
335
330
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -355,12 +350,9 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
355
350
 
356
351
 
357
352
 
358
- localVarHeaderParameter['Content-Type'] = 'application/json';
359
-
360
353
  setSearchParams(localVarUrlObj, localVarQueryParameter);
361
354
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
362
355
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
363
- localVarRequestOptions.data = serializeDataIfNeeded(unlinkBankTransactionRequestDtoRest, localVarRequestOptions, configuration)
364
356
 
365
357
  return {
366
358
  url: toPathString(localVarUrlObj),
@@ -394,7 +386,7 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
394
386
  * @summary Retrieve the bank transaction
395
387
  * @param {string} code
396
388
  * @param {string} [authorization] Bearer Token
397
- * @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, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder&lt;i&gt;
389
+ * @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, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices&lt;i&gt;
398
390
  * @param {*} [options] Override http request option.
399
391
  * @throws {RequiredError}
400
392
  */
@@ -436,7 +428,7 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
436
428
  * @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, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
437
429
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: id, createdAt, amount&lt;/i&gt;
438
430
  * @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, createdAt, transactionDate, entryDate&lt;/i&gt;
439
- * @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, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder&lt;i&gt;
431
+ * @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, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices&lt;i&gt;
440
432
  * @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, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
441
433
  * @param {*} [options] Override http request option.
442
434
  * @throws {RequiredError}
@@ -449,13 +441,12 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
449
441
  * Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
450
442
  * @summary Unlink bank transaction
451
443
  * @param {string} code Code of the bank transaction to unlink
452
- * @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
453
444
  * @param {string} [authorization] Bearer Token
454
445
  * @param {*} [options] Override http request option.
455
446
  * @throws {RequiredError}
456
447
  */
457
- async unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UnlinkBankTransactionsResponseClass>> {
458
- const localVarAxiosArgs = await localVarAxiosParamCreator.unlinkBankTransaction(code, unlinkBankTransactionRequestDtoRest, authorization, options);
448
+ async unlinkBankTransaction(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UnlinkBankTransactionsResponseClass>> {
449
+ const localVarAxiosArgs = await localVarAxiosParamCreator.unlinkBankTransaction(code, authorization, options);
459
450
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
460
451
  },
461
452
  }
@@ -484,7 +475,7 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
484
475
  * @summary Retrieve the bank transaction
485
476
  * @param {string} code
486
477
  * @param {string} [authorization] Bearer Token
487
- * @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, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder&lt;i&gt;
478
+ * @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, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices&lt;i&gt;
488
479
  * @param {*} [options] Override http request option.
489
480
  * @throws {RequiredError}
490
481
  */
@@ -523,7 +514,7 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
523
514
  * @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, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
524
515
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: id, createdAt, amount&lt;/i&gt;
525
516
  * @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, createdAt, transactionDate, entryDate&lt;/i&gt;
526
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder&lt;i&gt;
517
+ * @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, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices&lt;i&gt;
527
518
  * @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, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
528
519
  * @param {*} [options] Override http request option.
529
520
  * @throws {RequiredError}
@@ -535,13 +526,12 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
535
526
  * Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
536
527
  * @summary Unlink bank transaction
537
528
  * @param {string} code Code of the bank transaction to unlink
538
- * @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
539
529
  * @param {string} [authorization] Bearer Token
540
530
  * @param {*} [options] Override http request option.
541
531
  * @throws {RequiredError}
542
532
  */
543
- unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<UnlinkBankTransactionsResponseClass> {
544
- return localVarFp.unlinkBankTransaction(code, unlinkBankTransactionRequestDtoRest, authorization, options).then((request) => request(axios, basePath));
533
+ unlinkBankTransaction(code: string, authorization?: string, options?: any): AxiosPromise<UnlinkBankTransactionsResponseClass> {
534
+ return localVarFp.unlinkBankTransaction(code, authorization, options).then((request) => request(axios, basePath));
545
535
  },
546
536
  };
547
537
  };
@@ -588,7 +578,7 @@ export interface BankTransactionApiGetBankTransactionRequest {
588
578
  readonly authorization?: string
589
579
 
590
580
  /**
591
- * 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, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder&lt;i&gt;
581
+ * 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, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices&lt;i&gt;
592
582
  * @type {string}
593
583
  * @memberof BankTransactionApiGetBankTransaction
594
584
  */
@@ -693,7 +683,7 @@ export interface BankTransactionApiListBankTransactionsRequest {
693
683
  readonly order?: string
694
684
 
695
685
  /**
696
- * 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, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder&lt;i&gt;
686
+ * 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, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices&lt;i&gt;
697
687
  * @type {string}
698
688
  * @memberof BankTransactionApiListBankTransactions
699
689
  */
@@ -720,13 +710,6 @@ export interface BankTransactionApiUnlinkBankTransactionRequest {
720
710
  */
721
711
  readonly code: string
722
712
 
723
- /**
724
- *
725
- * @type {UnlinkBankTransactionRequestDtoRest}
726
- * @memberof BankTransactionApiUnlinkBankTransaction
727
- */
728
- readonly unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest
729
-
730
713
  /**
731
714
  * Bearer Token
732
715
  * @type {string}
@@ -811,6 +794,6 @@ export class BankTransactionApi extends BaseAPI {
811
794
  * @memberof BankTransactionApi
812
795
  */
813
796
  public unlinkBankTransaction(requestParameters: BankTransactionApiUnlinkBankTransactionRequest, options?: AxiosRequestConfig) {
814
- return BankTransactionApiFp(this.configuration).unlinkBankTransaction(requestParameters.code, requestParameters.unlinkBankTransactionRequestDtoRest, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
797
+ return BankTransactionApiFp(this.configuration).unlinkBankTransaction(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
815
798
  }
816
799
  }
@@ -21,6 +21,8 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
21
21
  // @ts-ignore
22
22
  import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
23
23
  // @ts-ignore
24
+ import { CreatePaymentOrderDto } from '../models';
25
+ // @ts-ignore
24
26
  import { CreatePaymentRequestDto } from '../models';
25
27
  // @ts-ignore
26
28
  import { CreatePaymentResponseClass } from '../models';
@@ -35,12 +37,13 @@ import { ListPaymentsResponseClass } from '../models';
35
37
  export const PaymentsApiAxiosParamCreator = function (configuration?: Configuration) {
36
38
  return {
37
39
  /**
38
- * This will create a payment for a specified account. This function is idempotent. **Required Permissions** \"payment-management.payments.create\"
40
+ * This will create a payment for a specified account. This function is idempotent. This endpoint is deprecated. Please use the create Payment Order endpoint instead. **Required Permissions** \"payment-management.payments.create\"
39
41
  * @summary Create the payment
40
42
  * @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
41
43
  * @param {CreatePaymentRequestDto} createPaymentRequestDto
42
44
  * @param {string} [authorization] Bearer Token
43
45
  * @param {*} [options] Override http request option.
46
+ * @deprecated
44
47
  * @throws {RequiredError}
45
48
  */
46
49
  createPayment: async (idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
@@ -88,6 +91,60 @@ export const PaymentsApiAxiosParamCreator = function (configuration?: Configurat
88
91
  options: localVarRequestOptions,
89
92
  };
90
93
  },
94
+ /**
95
+ * This will create a payment order for a specified invoice. **Required Permissions** \"payment-management.payments.create\"
96
+ * @summary Create the payment
97
+ * @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
98
+ * @param {CreatePaymentOrderDto} createPaymentOrderDto
99
+ * @param {string} [authorization] Bearer Token
100
+ * @param {*} [options] Override http request option.
101
+ * @throws {RequiredError}
102
+ */
103
+ createPaymentOrder: async (idempotencyKey: string, createPaymentOrderDto: CreatePaymentOrderDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
104
+ // verify required parameter 'idempotencyKey' is not null or undefined
105
+ assertParamExists('createPaymentOrder', 'idempotencyKey', idempotencyKey)
106
+ // verify required parameter 'createPaymentOrderDto' is not null or undefined
107
+ assertParamExists('createPaymentOrder', 'createPaymentOrderDto', createPaymentOrderDto)
108
+ const localVarPath = `/paymentservice/v1/payments/order`;
109
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
110
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
111
+ let baseOptions;
112
+ let baseAccessToken;
113
+ if (configuration) {
114
+ baseOptions = configuration.baseOptions;
115
+ baseAccessToken = configuration.accessToken;
116
+ }
117
+
118
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
119
+ const localVarHeaderParameter = {} as any;
120
+ const localVarQueryParameter = {} as any;
121
+
122
+ // authentication bearer required
123
+ // http bearer authentication required
124
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
125
+
126
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
127
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
128
+ }
129
+
130
+ if (idempotencyKey !== undefined && idempotencyKey !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
131
+ localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey ? idempotencyKey : baseAccessToken);
132
+ }
133
+
134
+
135
+
136
+ localVarHeaderParameter['Content-Type'] = 'application/json';
137
+
138
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
139
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
140
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
141
+ localVarRequestOptions.data = serializeDataIfNeeded(createPaymentOrderDto, localVarRequestOptions, configuration)
142
+
143
+ return {
144
+ url: toPathString(localVarUrlObj),
145
+ options: localVarRequestOptions,
146
+ };
147
+ },
91
148
  /**
92
149
  * Retrieves the details of the payment that was previously created. Supply the unique payment code that was returned when you created it and Emil Api will return the corresponding payment information. **Required Permissions** \"payment-management.payments.view\"
93
150
  * @summary Retrieve the payment
@@ -225,18 +282,32 @@ export const PaymentsApiFp = function(configuration?: Configuration) {
225
282
  const localVarAxiosParamCreator = PaymentsApiAxiosParamCreator(configuration)
226
283
  return {
227
284
  /**
228
- * This will create a payment for a specified account. This function is idempotent. **Required Permissions** \"payment-management.payments.create\"
285
+ * This will create a payment for a specified account. This function is idempotent. This endpoint is deprecated. Please use the create Payment Order endpoint instead. **Required Permissions** \"payment-management.payments.create\"
229
286
  * @summary Create the payment
230
287
  * @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
231
288
  * @param {CreatePaymentRequestDto} createPaymentRequestDto
232
289
  * @param {string} [authorization] Bearer Token
233
290
  * @param {*} [options] Override http request option.
291
+ * @deprecated
234
292
  * @throws {RequiredError}
235
293
  */
236
294
  async createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePaymentResponseClass>> {
237
295
  const localVarAxiosArgs = await localVarAxiosParamCreator.createPayment(idempotencyKey, createPaymentRequestDto, authorization, options);
238
296
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
239
297
  },
298
+ /**
299
+ * This will create a payment order for a specified invoice. **Required Permissions** \"payment-management.payments.create\"
300
+ * @summary Create the payment
301
+ * @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
302
+ * @param {CreatePaymentOrderDto} createPaymentOrderDto
303
+ * @param {string} [authorization] Bearer Token
304
+ * @param {*} [options] Override http request option.
305
+ * @throws {RequiredError}
306
+ */
307
+ async createPaymentOrder(idempotencyKey: string, createPaymentOrderDto: CreatePaymentOrderDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePaymentResponseClass>> {
308
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createPaymentOrder(idempotencyKey, createPaymentOrderDto, authorization, options);
309
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
310
+ },
240
311
  /**
241
312
  * Retrieves the details of the payment that was previously created. Supply the unique payment code that was returned when you created it and Emil Api will return the corresponding payment information. **Required Permissions** \"payment-management.payments.view\"
242
313
  * @summary Retrieve the payment
@@ -279,17 +350,30 @@ export const PaymentsApiFactory = function (configuration?: Configuration, baseP
279
350
  const localVarFp = PaymentsApiFp(configuration)
280
351
  return {
281
352
  /**
282
- * This will create a payment for a specified account. This function is idempotent. **Required Permissions** \"payment-management.payments.create\"
353
+ * This will create a payment for a specified account. This function is idempotent. This endpoint is deprecated. Please use the create Payment Order endpoint instead. **Required Permissions** \"payment-management.payments.create\"
283
354
  * @summary Create the payment
284
355
  * @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
285
356
  * @param {CreatePaymentRequestDto} createPaymentRequestDto
286
357
  * @param {string} [authorization] Bearer Token
287
358
  * @param {*} [options] Override http request option.
359
+ * @deprecated
288
360
  * @throws {RequiredError}
289
361
  */
290
362
  createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePaymentResponseClass> {
291
363
  return localVarFp.createPayment(idempotencyKey, createPaymentRequestDto, authorization, options).then((request) => request(axios, basePath));
292
364
  },
365
+ /**
366
+ * This will create a payment order for a specified invoice. **Required Permissions** \"payment-management.payments.create\"
367
+ * @summary Create the payment
368
+ * @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
369
+ * @param {CreatePaymentOrderDto} createPaymentOrderDto
370
+ * @param {string} [authorization] Bearer Token
371
+ * @param {*} [options] Override http request option.
372
+ * @throws {RequiredError}
373
+ */
374
+ createPaymentOrder(idempotencyKey: string, createPaymentOrderDto: CreatePaymentOrderDto, authorization?: string, options?: any): AxiosPromise<CreatePaymentResponseClass> {
375
+ return localVarFp.createPaymentOrder(idempotencyKey, createPaymentOrderDto, authorization, options).then((request) => request(axios, basePath));
376
+ },
293
377
  /**
294
378
  * Retrieves the details of the payment that was previously created. Supply the unique payment code that was returned when you created it and Emil Api will return the corresponding payment information. **Required Permissions** \"payment-management.payments.view\"
295
379
  * @summary Retrieve the payment
@@ -350,6 +434,34 @@ export interface PaymentsApiCreatePaymentRequest {
350
434
  readonly authorization?: string
351
435
  }
352
436
 
437
+ /**
438
+ * Request parameters for createPaymentOrder operation in PaymentsApi.
439
+ * @export
440
+ * @interface PaymentsApiCreatePaymentOrderRequest
441
+ */
442
+ export interface PaymentsApiCreatePaymentOrderRequest {
443
+ /**
444
+ * Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
445
+ * @type {string}
446
+ * @memberof PaymentsApiCreatePaymentOrder
447
+ */
448
+ readonly idempotencyKey: string
449
+
450
+ /**
451
+ *
452
+ * @type {CreatePaymentOrderDto}
453
+ * @memberof PaymentsApiCreatePaymentOrder
454
+ */
455
+ readonly createPaymentOrderDto: CreatePaymentOrderDto
456
+
457
+ /**
458
+ * Bearer Token
459
+ * @type {string}
460
+ * @memberof PaymentsApiCreatePaymentOrder
461
+ */
462
+ readonly authorization?: string
463
+ }
464
+
353
465
  /**
354
466
  * Request parameters for getPayment operation in PaymentsApi.
355
467
  * @export
@@ -449,10 +561,11 @@ export interface PaymentsApiListPaymentsRequest {
449
561
  */
450
562
  export class PaymentsApi extends BaseAPI {
451
563
  /**
452
- * This will create a payment for a specified account. This function is idempotent. **Required Permissions** \"payment-management.payments.create\"
564
+ * This will create a payment for a specified account. This function is idempotent. This endpoint is deprecated. Please use the create Payment Order endpoint instead. **Required Permissions** \"payment-management.payments.create\"
453
565
  * @summary Create the payment
454
566
  * @param {PaymentsApiCreatePaymentRequest} requestParameters Request parameters.
455
567
  * @param {*} [options] Override http request option.
568
+ * @deprecated
456
569
  * @throws {RequiredError}
457
570
  * @memberof PaymentsApi
458
571
  */
@@ -460,6 +573,18 @@ export class PaymentsApi extends BaseAPI {
460
573
  return PaymentsApiFp(this.configuration).createPayment(requestParameters.idempotencyKey, requestParameters.createPaymentRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
461
574
  }
462
575
 
576
+ /**
577
+ * This will create a payment order for a specified invoice. **Required Permissions** \"payment-management.payments.create\"
578
+ * @summary Create the payment
579
+ * @param {PaymentsApiCreatePaymentOrderRequest} requestParameters Request parameters.
580
+ * @param {*} [options] Override http request option.
581
+ * @throws {RequiredError}
582
+ * @memberof PaymentsApi
583
+ */
584
+ public createPaymentOrder(requestParameters: PaymentsApiCreatePaymentOrderRequest, options?: AxiosRequestConfig) {
585
+ return PaymentsApiFp(this.configuration).createPaymentOrder(requestParameters.idempotencyKey, requestParameters.createPaymentOrderDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
586
+ }
587
+
463
588
  /**
464
589
  * Retrieves the details of the payment that was previously created. Supply the unique payment code that was returned when you created it and Emil Api will return the corresponding payment information. **Required Permissions** \"payment-management.payments.view\"
465
590
  * @summary Retrieve the payment
@@ -18,7 +18,6 @@ import { ImportBankTransactionsResponseClass } from '../models';
18
18
  import { LinkBankTransactionRequestDtoRest } from '../models';
19
19
  import { LinkBankTransactionsResponseClass } from '../models';
20
20
  import { ListBankTransactionsResponseClass } from '../models';
21
- import { UnlinkBankTransactionRequestDtoRest } from '../models';
22
21
  import { UnlinkBankTransactionsResponseClass } from '../models';
23
22
  /**
24
23
  * BankTransactionApi - axios parameter creator
@@ -39,7 +38,7 @@ export declare const BankTransactionApiAxiosParamCreator: (configuration?: Confi
39
38
  * @summary Retrieve the bank transaction
40
39
  * @param {string} code
41
40
  * @param {string} [authorization] Bearer Token
42
- * @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, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder&lt;i&gt;
41
+ * @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, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices&lt;i&gt;
43
42
  * @param {*} [options] Override http request option.
44
43
  * @throws {RequiredError}
45
44
  */
@@ -72,7 +71,7 @@ export declare const BankTransactionApiAxiosParamCreator: (configuration?: Confi
72
71
  * @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, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
73
72
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: id, createdAt, amount&lt;/i&gt;
74
73
  * @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, createdAt, transactionDate, entryDate&lt;/i&gt;
75
- * @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, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder&lt;i&gt;
74
+ * @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, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices&lt;i&gt;
76
75
  * @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, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
77
76
  * @param {*} [options] Override http request option.
78
77
  * @throws {RequiredError}
@@ -82,12 +81,11 @@ export declare const BankTransactionApiAxiosParamCreator: (configuration?: Confi
82
81
  * Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
83
82
  * @summary Unlink bank transaction
84
83
  * @param {string} code Code of the bank transaction to unlink
85
- * @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
86
84
  * @param {string} [authorization] Bearer Token
87
85
  * @param {*} [options] Override http request option.
88
86
  * @throws {RequiredError}
89
87
  */
90
- unlinkBankTransaction: (code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
88
+ unlinkBankTransaction: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
91
89
  };
92
90
  /**
93
91
  * BankTransactionApi - functional programming interface
@@ -108,7 +106,7 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
108
106
  * @summary Retrieve the bank transaction
109
107
  * @param {string} code
110
108
  * @param {string} [authorization] Bearer Token
111
- * @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, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder&lt;i&gt;
109
+ * @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, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices&lt;i&gt;
112
110
  * @param {*} [options] Override http request option.
113
111
  * @throws {RequiredError}
114
112
  */
@@ -141,7 +139,7 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
141
139
  * @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, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
142
140
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: id, createdAt, amount&lt;/i&gt;
143
141
  * @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, createdAt, transactionDate, entryDate&lt;/i&gt;
144
- * @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, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder&lt;i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices&lt;i&gt;
145
143
  * @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, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
146
144
  * @param {*} [options] Override http request option.
147
145
  * @throws {RequiredError}
@@ -151,12 +149,11 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
151
149
  * Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
152
150
  * @summary Unlink bank transaction
153
151
  * @param {string} code Code of the bank transaction to unlink
154
- * @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
155
152
  * @param {string} [authorization] Bearer Token
156
153
  * @param {*} [options] Override http request option.
157
154
  * @throws {RequiredError}
158
155
  */
159
- unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UnlinkBankTransactionsResponseClass>>;
156
+ unlinkBankTransaction(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UnlinkBankTransactionsResponseClass>>;
160
157
  };
161
158
  /**
162
159
  * BankTransactionApi - factory interface
@@ -177,7 +174,7 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
177
174
  * @summary Retrieve the bank transaction
178
175
  * @param {string} code
179
176
  * @param {string} [authorization] Bearer Token
180
- * @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, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder&lt;i&gt;
177
+ * @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, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices&lt;i&gt;
181
178
  * @param {*} [options] Override http request option.
182
179
  * @throws {RequiredError}
183
180
  */
@@ -210,7 +207,7 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
210
207
  * @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, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
211
208
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: id, createdAt, amount&lt;/i&gt;
212
209
  * @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, createdAt, transactionDate, entryDate&lt;/i&gt;
213
- * @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, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder&lt;i&gt;
210
+ * @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, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices&lt;i&gt;
214
211
  * @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, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
215
212
  * @param {*} [options] Override http request option.
216
213
  * @throws {RequiredError}
@@ -220,12 +217,11 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
220
217
  * Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
221
218
  * @summary Unlink bank transaction
222
219
  * @param {string} code Code of the bank transaction to unlink
223
- * @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
224
220
  * @param {string} [authorization] Bearer Token
225
221
  * @param {*} [options] Override http request option.
226
222
  * @throws {RequiredError}
227
223
  */
228
- unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<UnlinkBankTransactionsResponseClass>;
224
+ unlinkBankTransaction(code: string, authorization?: string, options?: any): AxiosPromise<UnlinkBankTransactionsResponseClass>;
229
225
  };
230
226
  /**
231
227
  * Request parameters for generateInvoiceMatchSuggestion operation in BankTransactionApi.
@@ -265,7 +261,7 @@ export interface BankTransactionApiGetBankTransactionRequest {
265
261
  */
266
262
  readonly authorization?: string;
267
263
  /**
268
- * 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, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder&lt;i&gt;
264
+ * 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, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices&lt;i&gt;
269
265
  * @type {string}
270
266
  * @memberof BankTransactionApiGetBankTransaction
271
267
  */
@@ -358,7 +354,7 @@ export interface BankTransactionApiListBankTransactionsRequest {
358
354
  */
359
355
  readonly order?: string;
360
356
  /**
361
- * 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, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder&lt;i&gt;
357
+ * 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, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices&lt;i&gt;
362
358
  * @type {string}
363
359
  * @memberof BankTransactionApiListBankTransactions
364
360
  */
@@ -382,12 +378,6 @@ export interface BankTransactionApiUnlinkBankTransactionRequest {
382
378
  * @memberof BankTransactionApiUnlinkBankTransaction
383
379
  */
384
380
  readonly code: string;
385
- /**
386
- *
387
- * @type {UnlinkBankTransactionRequestDtoRest}
388
- * @memberof BankTransactionApiUnlinkBankTransaction
389
- */
390
- readonly unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest;
391
381
  /**
392
382
  * Bearer Token
393
383
  * @type {string}