@emilgroup/payment-sdk 1.13.1-beta.73 → 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.
@@ -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
@@ -100,7 +101,6 @@ models/suggestion-generation-progress-class.ts
100
101
  models/symphony-profile-limited-response-dto.ts
101
102
  models/tenant-bank-account-class-without-expand-properties.ts
102
103
  models/tenant-bank-account-class.ts
103
- models/unlink-bank-transaction-request-dto-rest.ts
104
104
  models/unlink-bank-transactions-response-class.ts
105
105
  models/unlinked-bank-transaction-response-class.ts
106
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.73 --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.73
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
  }
@@ -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}
@@ -145,7 +145,7 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
145
145
  * @summary Retrieve the bank transaction
146
146
  * @param {string} code
147
147
  * @param {string} [authorization] Bearer Token
148
- * @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;
148
+ * @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;
149
149
  * @param {*} [options] Override http request option.
150
150
  * @throws {RequiredError}
151
151
  */
@@ -306,7 +306,7 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
306
306
  * @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;
307
307
  * @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;
308
308
  * @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;
309
- * @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;
309
+ * @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;
310
310
  * @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;
311
311
  * @param {*} [options] Override http request option.
312
312
  * @throws {RequiredError}
@@ -373,12 +373,11 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
373
373
  * Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
374
374
  * @summary Unlink bank transaction
375
375
  * @param {string} code Code of the bank transaction to unlink
376
- * @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
377
376
  * @param {string} [authorization] Bearer Token
378
377
  * @param {*} [options] Override http request option.
379
378
  * @throws {RequiredError}
380
379
  */
381
- unlinkBankTransaction: function (code, unlinkBankTransactionRequestDtoRest, authorization, options) {
380
+ unlinkBankTransaction: function (code, authorization, options) {
382
381
  if (options === void 0) { options = {}; }
383
382
  return __awaiter(_this, void 0, void 0, function () {
384
383
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -387,8 +386,6 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
387
386
  case 0:
388
387
  // verify required parameter 'code' is not null or undefined
389
388
  (0, common_1.assertParamExists)('unlinkBankTransaction', 'code', code);
390
- // verify required parameter 'unlinkBankTransactionRequestDtoRest' is not null or undefined
391
- (0, common_1.assertParamExists)('unlinkBankTransaction', 'unlinkBankTransactionRequestDtoRest', unlinkBankTransactionRequestDtoRest);
392
389
  localVarPath = "/paymentservice/v1/tenant/bank-transactions/{code}/unlink"
393
390
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
394
391
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -409,11 +406,9 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
409
406
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
410
407
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
411
408
  }
412
- localVarHeaderParameter['Content-Type'] = 'application/json';
413
409
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
414
410
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
415
411
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
416
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(unlinkBankTransactionRequestDtoRest, localVarRequestOptions, configuration);
417
412
  return [2 /*return*/, {
418
413
  url: (0, common_1.toPathString)(localVarUrlObj),
419
414
  options: localVarRequestOptions,
@@ -458,7 +453,7 @@ var BankTransactionApiFp = function (configuration) {
458
453
  * @summary Retrieve the bank transaction
459
454
  * @param {string} code
460
455
  * @param {string} [authorization] Bearer Token
461
- * @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;
456
+ * @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;
462
457
  * @param {*} [options] Override http request option.
463
458
  * @throws {RequiredError}
464
459
  */
@@ -527,7 +522,7 @@ var BankTransactionApiFp = function (configuration) {
527
522
  * @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;
528
523
  * @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;
529
524
  * @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;
530
- * @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;
525
+ * @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;
531
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, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
532
527
  * @param {*} [options] Override http request option.
533
528
  * @throws {RequiredError}
@@ -549,17 +544,16 @@ var BankTransactionApiFp = function (configuration) {
549
544
  * Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
550
545
  * @summary Unlink bank transaction
551
546
  * @param {string} code Code of the bank transaction to unlink
552
- * @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
553
547
  * @param {string} [authorization] Bearer Token
554
548
  * @param {*} [options] Override http request option.
555
549
  * @throws {RequiredError}
556
550
  */
557
- unlinkBankTransaction: function (code, unlinkBankTransactionRequestDtoRest, authorization, options) {
551
+ unlinkBankTransaction: function (code, authorization, options) {
558
552
  return __awaiter(this, void 0, void 0, function () {
559
553
  var localVarAxiosArgs;
560
554
  return __generator(this, function (_a) {
561
555
  switch (_a.label) {
562
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.unlinkBankTransaction(code, unlinkBankTransactionRequestDtoRest, authorization, options)];
556
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.unlinkBankTransaction(code, authorization, options)];
563
557
  case 1:
564
558
  localVarAxiosArgs = _a.sent();
565
559
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -593,7 +587,7 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
593
587
  * @summary Retrieve the bank transaction
594
588
  * @param {string} code
595
589
  * @param {string} [authorization] Bearer Token
596
- * @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;
590
+ * @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;
597
591
  * @param {*} [options] Override http request option.
598
592
  * @throws {RequiredError}
599
593
  */
@@ -632,7 +626,7 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
632
626
  * @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;
633
627
  * @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;
634
628
  * @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;
635
- * @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;
629
+ * @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;
636
630
  * @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;
637
631
  * @param {*} [options] Override http request option.
638
632
  * @throws {RequiredError}
@@ -644,13 +638,12 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
644
638
  * Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
645
639
  * @summary Unlink bank transaction
646
640
  * @param {string} code Code of the bank transaction to unlink
647
- * @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
648
641
  * @param {string} [authorization] Bearer Token
649
642
  * @param {*} [options] Override http request option.
650
643
  * @throws {RequiredError}
651
644
  */
652
- unlinkBankTransaction: function (code, unlinkBankTransactionRequestDtoRest, authorization, options) {
653
- return localVarFp.unlinkBankTransaction(code, unlinkBankTransactionRequestDtoRest, authorization, options).then(function (request) { return request(axios, basePath); });
645
+ unlinkBankTransaction: function (code, authorization, options) {
646
+ return localVarFp.unlinkBankTransaction(code, authorization, options).then(function (request) { return request(axios, basePath); });
654
647
  },
655
648
  };
656
649
  };
@@ -737,7 +730,7 @@ var BankTransactionApi = /** @class */ (function (_super) {
737
730
  */
738
731
  BankTransactionApi.prototype.unlinkBankTransaction = function (requestParameters, options) {
739
732
  var _this = this;
740
- return (0, exports.BankTransactionApiFp)(this.configuration).unlinkBankTransaction(requestParameters.code, requestParameters.unlinkBankTransactionRequestDtoRest, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
733
+ return (0, exports.BankTransactionApiFp)(this.configuration).unlinkBankTransaction(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
741
734
  };
742
735
  return BankTransactionApi;
743
736
  }(base_1.BaseAPI));
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { BankOrderClass } from './bank-order-class';
13
+ import { BankTransactionInvoiceClass } from './bank-transaction-invoice-class';
13
14
  /**
14
15
  *
15
16
  * @export
@@ -94,24 +95,18 @@ export interface BankTransactionClassWithoutExpandProperties {
94
95
  * @memberof BankTransactionClassWithoutExpandProperties
95
96
  */
96
97
  'linkedTransactionId'?: number;
97
- /**
98
- * The code of the invoice that this bank transaction is linked to
99
- * @type {string}
100
- * @memberof BankTransactionClassWithoutExpandProperties
101
- */
102
- 'linkedInvoiceCode'?: string;
103
- /**
104
- * The identifying invoice number that this bank transaction is linked to
105
- * @type {string}
106
- * @memberof BankTransactionClassWithoutExpandProperties
107
- */
108
- 'linkedInvoiceNumber'?: string;
109
98
  /**
110
99
  * Boolean flag to indicate if the bank transaction is linked to an invoice - defaults to false
111
100
  * @type {boolean}
112
101
  * @memberof BankTransactionClassWithoutExpandProperties
113
102
  */
114
103
  'isLinked': boolean;
104
+ /**
105
+ * The bank transaction invoices that this bank transaction is linked to
106
+ * @type {Array<BankTransactionInvoiceClass>}
107
+ * @memberof BankTransactionClassWithoutExpandProperties
108
+ */
109
+ 'bankTransactionInvoices'?: Array<BankTransactionInvoiceClass>;
115
110
  /**
116
111
  * The linked bank order object
117
112
  * @type {BankOrderClass}
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { BankOrderClass } from './bank-order-class';
13
+ import { BankTransactionInvoiceClass } from './bank-transaction-invoice-class';
13
14
  import { InvoiceMatchSuggestionClass } from './invoice-match-suggestion-class';
14
15
  import { SharedTransactionClass } from './shared-transaction-class';
15
16
  import { SuggestionGenerationProgressClass } from './suggestion-generation-progress-class';
@@ -98,24 +99,18 @@ export interface BankTransactionClass {
98
99
  * @memberof BankTransactionClass
99
100
  */
100
101
  'linkedTransactionId'?: number;
101
- /**
102
- * The code of the invoice that this bank transaction is linked to
103
- * @type {string}
104
- * @memberof BankTransactionClass
105
- */
106
- 'linkedInvoiceCode'?: string;
107
- /**
108
- * The identifying invoice number that this bank transaction is linked to
109
- * @type {string}
110
- * @memberof BankTransactionClass
111
- */
112
- 'linkedInvoiceNumber'?: string;
113
102
  /**
114
103
  * Boolean flag to indicate if the bank transaction is linked to an invoice - defaults to false
115
104
  * @type {boolean}
116
105
  * @memberof BankTransactionClass
117
106
  */
118
107
  'isLinked': boolean;
108
+ /**
109
+ * The bank transaction invoices that this bank transaction is linked to
110
+ * @type {Array<BankTransactionInvoiceClass>}
111
+ * @memberof BankTransactionClass
112
+ */
113
+ 'bankTransactionInvoices'?: Array<BankTransactionInvoiceClass>;
119
114
  /**
120
115
  * The bank account object that this transaction is belongs to
121
116
  * @type {TenantBankAccountClassWithoutExpandProperties}
@@ -0,0 +1,54 @@
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 BankTransactionInvoiceClass
16
+ */
17
+ export interface BankTransactionInvoiceClass {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof BankTransactionInvoiceClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Unique identifier for the object.
26
+ * @type {string}
27
+ * @memberof BankTransactionInvoiceClass
28
+ */
29
+ 'code': string;
30
+ /**
31
+ * Bank transaction id
32
+ * @type {number}
33
+ * @memberof BankTransactionInvoiceClass
34
+ */
35
+ 'bankTransactionId': number;
36
+ /**
37
+ * Invoice code of the bank transaction invoice
38
+ * @type {string}
39
+ * @memberof BankTransactionInvoiceClass
40
+ */
41
+ 'invoiceCode': string;
42
+ /**
43
+ * Invoice number of the bank transaction invoice
44
+ * @type {string}
45
+ * @memberof BankTransactionInvoiceClass
46
+ */
47
+ 'invoiceNumber': string;
48
+ /**
49
+ * Time at which the object was created.
50
+ * @type {string}
51
+ * @memberof BankTransactionInvoiceClass
52
+ */
53
+ 'createdAt': string;
54
+ }
@@ -3,6 +3,7 @@ export * from './bank-account-class-without-expand-properties';
3
3
  export * from './bank-order-class';
4
4
  export * from './bank-transaction-class';
5
5
  export * from './bank-transaction-class-without-expand-properties';
6
+ export * from './bank-transaction-invoice-class';
6
7
  export * from './billing-profile-dto';
7
8
  export * from './billing-profile-limited-response-dto';
8
9
  export * from './card-details-dto';
@@ -78,7 +79,6 @@ export * from './suggestion-generation-progress-class';
78
79
  export * from './symphony-profile-limited-response-dto';
79
80
  export * from './tenant-bank-account-class';
80
81
  export * from './tenant-bank-account-class-without-expand-properties';
81
- export * from './unlink-bank-transaction-request-dto-rest';
82
82
  export * from './unlink-bank-transactions-response-class';
83
83
  export * from './unlinked-bank-transaction-response-class';
84
84
  export * from './update-bank-account-request-dto';
@@ -19,6 +19,7 @@ __exportStar(require("./bank-account-class-without-expand-properties"), exports)
19
19
  __exportStar(require("./bank-order-class"), exports);
20
20
  __exportStar(require("./bank-transaction-class"), exports);
21
21
  __exportStar(require("./bank-transaction-class-without-expand-properties"), exports);
22
+ __exportStar(require("./bank-transaction-invoice-class"), exports);
22
23
  __exportStar(require("./billing-profile-dto"), exports);
23
24
  __exportStar(require("./billing-profile-limited-response-dto"), exports);
24
25
  __exportStar(require("./card-details-dto"), exports);
@@ -94,7 +95,6 @@ __exportStar(require("./suggestion-generation-progress-class"), exports);
94
95
  __exportStar(require("./symphony-profile-limited-response-dto"), exports);
95
96
  __exportStar(require("./tenant-bank-account-class"), exports);
96
97
  __exportStar(require("./tenant-bank-account-class-without-expand-properties"), exports);
97
- __exportStar(require("./unlink-bank-transaction-request-dto-rest"), exports);
98
98
  __exportStar(require("./unlink-bank-transactions-response-class"), exports);
99
99
  __exportStar(require("./unlinked-bank-transaction-response-class"), exports);
100
100
  __exportStar(require("./update-bank-account-request-dto"), exports);
@@ -16,9 +16,9 @@
16
16
  */
17
17
  export interface LinkBankTransactionRequestDtoRest {
18
18
  /**
19
- * The code of the invoice that the transaction will be linked to.
20
- * @type {string}
19
+ * List of invoice codes associated with bank transaction.
20
+ * @type {Array<number>}
21
21
  * @memberof LinkBankTransactionRequestDtoRest
22
22
  */
23
- 'invoiceCode': string;
23
+ 'invoiceIds': Array<number>;
24
24
  }
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { BankOrderClass } from './bank-order-class';
13
+ import { BankTransactionInvoiceClass } from './bank-transaction-invoice-class';
13
14
  /**
14
15
  *
15
16
  * @export
@@ -94,6 +95,12 @@ export interface UnlinkedBankTransactionResponseClass {
94
95
  * @memberof UnlinkedBankTransactionResponseClass
95
96
  */
96
97
  'isLinked': boolean;
98
+ /**
99
+ * The bank transaction invoices that this bank transaction is linked to
100
+ * @type {Array<BankTransactionInvoiceClass>}
101
+ * @memberof UnlinkedBankTransactionResponseClass
102
+ */
103
+ 'bankTransactionInvoices'?: Array<BankTransactionInvoiceClass>;
97
104
  /**
98
105
  * The linked bank order object
99
106
  * @type {BankOrderClass}
@@ -14,6 +14,7 @@
14
14
 
15
15
 
16
16
  import { BankOrderClass } from './bank-order-class';
17
+ import { BankTransactionInvoiceClass } from './bank-transaction-invoice-class';
17
18
 
18
19
  /**
19
20
  *
@@ -99,24 +100,18 @@ export interface BankTransactionClassWithoutExpandProperties {
99
100
  * @memberof BankTransactionClassWithoutExpandProperties
100
101
  */
101
102
  'linkedTransactionId'?: number;
102
- /**
103
- * The code of the invoice that this bank transaction is linked to
104
- * @type {string}
105
- * @memberof BankTransactionClassWithoutExpandProperties
106
- */
107
- 'linkedInvoiceCode'?: string;
108
- /**
109
- * The identifying invoice number that this bank transaction is linked to
110
- * @type {string}
111
- * @memberof BankTransactionClassWithoutExpandProperties
112
- */
113
- 'linkedInvoiceNumber'?: string;
114
103
  /**
115
104
  * Boolean flag to indicate if the bank transaction is linked to an invoice - defaults to false
116
105
  * @type {boolean}
117
106
  * @memberof BankTransactionClassWithoutExpandProperties
118
107
  */
119
108
  'isLinked': boolean;
109
+ /**
110
+ * The bank transaction invoices that this bank transaction is linked to
111
+ * @type {Array<BankTransactionInvoiceClass>}
112
+ * @memberof BankTransactionClassWithoutExpandProperties
113
+ */
114
+ 'bankTransactionInvoices'?: Array<BankTransactionInvoiceClass>;
120
115
  /**
121
116
  * The linked bank order object
122
117
  * @type {BankOrderClass}
@@ -14,6 +14,7 @@
14
14
 
15
15
 
16
16
  import { BankOrderClass } from './bank-order-class';
17
+ import { BankTransactionInvoiceClass } from './bank-transaction-invoice-class';
17
18
  import { InvoiceMatchSuggestionClass } from './invoice-match-suggestion-class';
18
19
  import { SharedTransactionClass } from './shared-transaction-class';
19
20
  import { SuggestionGenerationProgressClass } from './suggestion-generation-progress-class';
@@ -103,24 +104,18 @@ export interface BankTransactionClass {
103
104
  * @memberof BankTransactionClass
104
105
  */
105
106
  'linkedTransactionId'?: number;
106
- /**
107
- * The code of the invoice that this bank transaction is linked to
108
- * @type {string}
109
- * @memberof BankTransactionClass
110
- */
111
- 'linkedInvoiceCode'?: string;
112
- /**
113
- * The identifying invoice number that this bank transaction is linked to
114
- * @type {string}
115
- * @memberof BankTransactionClass
116
- */
117
- 'linkedInvoiceNumber'?: string;
118
107
  /**
119
108
  * Boolean flag to indicate if the bank transaction is linked to an invoice - defaults to false
120
109
  * @type {boolean}
121
110
  * @memberof BankTransactionClass
122
111
  */
123
112
  'isLinked': boolean;
113
+ /**
114
+ * The bank transaction invoices that this bank transaction is linked to
115
+ * @type {Array<BankTransactionInvoiceClass>}
116
+ * @memberof BankTransactionClass
117
+ */
118
+ 'bankTransactionInvoices'?: Array<BankTransactionInvoiceClass>;
124
119
  /**
125
120
  * The bank account object that this transaction is belongs to
126
121
  * @type {TenantBankAccountClassWithoutExpandProperties}
@@ -0,0 +1,60 @@
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 BankTransactionInvoiceClass
21
+ */
22
+ export interface BankTransactionInvoiceClass {
23
+ /**
24
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
25
+ * @type {number}
26
+ * @memberof BankTransactionInvoiceClass
27
+ */
28
+ 'id': number;
29
+ /**
30
+ * Unique identifier for the object.
31
+ * @type {string}
32
+ * @memberof BankTransactionInvoiceClass
33
+ */
34
+ 'code': string;
35
+ /**
36
+ * Bank transaction id
37
+ * @type {number}
38
+ * @memberof BankTransactionInvoiceClass
39
+ */
40
+ 'bankTransactionId': number;
41
+ /**
42
+ * Invoice code of the bank transaction invoice
43
+ * @type {string}
44
+ * @memberof BankTransactionInvoiceClass
45
+ */
46
+ 'invoiceCode': string;
47
+ /**
48
+ * Invoice number of the bank transaction invoice
49
+ * @type {string}
50
+ * @memberof BankTransactionInvoiceClass
51
+ */
52
+ 'invoiceNumber': string;
53
+ /**
54
+ * Time at which the object was created.
55
+ * @type {string}
56
+ * @memberof BankTransactionInvoiceClass
57
+ */
58
+ 'createdAt': string;
59
+ }
60
+
package/models/index.ts CHANGED
@@ -3,6 +3,7 @@ export * from './bank-account-class-without-expand-properties';
3
3
  export * from './bank-order-class';
4
4
  export * from './bank-transaction-class';
5
5
  export * from './bank-transaction-class-without-expand-properties';
6
+ export * from './bank-transaction-invoice-class';
6
7
  export * from './billing-profile-dto';
7
8
  export * from './billing-profile-limited-response-dto';
8
9
  export * from './card-details-dto';
@@ -78,7 +79,6 @@ export * from './suggestion-generation-progress-class';
78
79
  export * from './symphony-profile-limited-response-dto';
79
80
  export * from './tenant-bank-account-class';
80
81
  export * from './tenant-bank-account-class-without-expand-properties';
81
- export * from './unlink-bank-transaction-request-dto-rest';
82
82
  export * from './unlink-bank-transactions-response-class';
83
83
  export * from './unlinked-bank-transaction-response-class';
84
84
  export * from './update-bank-account-request-dto';
@@ -21,10 +21,10 @@
21
21
  */
22
22
  export interface LinkBankTransactionRequestDtoRest {
23
23
  /**
24
- * The code of the invoice that the transaction will be linked to.
25
- * @type {string}
24
+ * List of invoice codes associated with bank transaction.
25
+ * @type {Array<number>}
26
26
  * @memberof LinkBankTransactionRequestDtoRest
27
27
  */
28
- 'invoiceCode': string;
28
+ 'invoiceIds': Array<number>;
29
29
  }
30
30
 
@@ -14,6 +14,7 @@
14
14
 
15
15
 
16
16
  import { BankOrderClass } from './bank-order-class';
17
+ import { BankTransactionInvoiceClass } from './bank-transaction-invoice-class';
17
18
 
18
19
  /**
19
20
  *
@@ -99,6 +100,12 @@ export interface UnlinkedBankTransactionResponseClass {
99
100
  * @memberof UnlinkedBankTransactionResponseClass
100
101
  */
101
102
  'isLinked': boolean;
103
+ /**
104
+ * The bank transaction invoices that this bank transaction is linked to
105
+ * @type {Array<BankTransactionInvoiceClass>}
106
+ * @memberof UnlinkedBankTransactionResponseClass
107
+ */
108
+ 'bankTransactionInvoices'?: Array<BankTransactionInvoiceClass>;
102
109
  /**
103
110
  * The linked bank order object
104
111
  * @type {BankOrderClass}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/payment-sdk",
3
- "version": "1.13.1-beta.73",
3
+ "version": "1.13.1-beta.74",
4
4
  "description": "OpenAPI client for @emilgroup/payment-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -1,24 +0,0 @@
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 UnlinkBankTransactionRequestDtoRest
16
- */
17
- export interface UnlinkBankTransactionRequestDtoRest {
18
- /**
19
- * The code of the invoice that the transaction will be unlinked from
20
- * @type {string}
21
- * @memberof UnlinkBankTransactionRequestDtoRest
22
- */
23
- 'invoiceCode': string;
24
- }
@@ -1,30 +0,0 @@
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 UnlinkBankTransactionRequestDtoRest
21
- */
22
- export interface UnlinkBankTransactionRequestDtoRest {
23
- /**
24
- * The code of the invoice that the transaction will be unlinked from
25
- * @type {string}
26
- * @memberof UnlinkBankTransactionRequestDtoRest
27
- */
28
- 'invoiceCode': string;
29
- }
30
-