@emilgroup/payment-sdk-node 1.21.1-beta.9 → 1.21.1-beta.90

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 (154) hide show
  1. package/.openapi-generator/FILES +25 -1
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +55 -13
  4. package/api/bank-orders-api.ts +695 -0
  5. package/api/bank-transaction-api.ts +63 -52
  6. package/api/exceeding-credits-api.ts +353 -0
  7. package/api/payment-methods-api.ts +59 -17
  8. package/api/payment-reminders-api.ts +55 -13
  9. package/api/payments-api.ts +188 -21
  10. package/api/policy-payment-methods-api.ts +169 -0
  11. package/api/refunds-api.ts +45 -17
  12. package/api/tenant-bank-account-api.ts +45 -17
  13. package/api.ts +6 -0
  14. package/base.ts +45 -3
  15. package/dist/api/bank-accounts-api.d.ts +35 -8
  16. package/dist/api/bank-accounts-api.js +29 -11
  17. package/dist/api/bank-orders-api.d.ts +393 -0
  18. package/dist/api/bank-orders-api.js +646 -0
  19. package/dist/api/bank-transaction-api.d.ts +43 -35
  20. package/dist/api/bank-transaction-api.js +39 -34
  21. package/dist/api/exceeding-credits-api.d.ts +206 -0
  22. package/dist/api/exceeding-credits-api.js +356 -0
  23. package/dist/api/payment-methods-api.d.ts +39 -12
  24. package/dist/api/payment-methods-api.js +32 -14
  25. package/dist/api/payment-reminders-api.d.ts +35 -8
  26. package/dist/api/payment-reminders-api.js +29 -11
  27. package/dist/api/payments-api.d.ts +112 -16
  28. package/dist/api/payments-api.js +141 -18
  29. package/dist/api/policy-payment-methods-api.d.ts +97 -0
  30. package/dist/api/policy-payment-methods-api.js +228 -0
  31. package/dist/api/refunds-api.d.ts +28 -10
  32. package/dist/api/refunds-api.js +24 -12
  33. package/dist/api/tenant-bank-account-api.d.ts +28 -10
  34. package/dist/api/tenant-bank-account-api.js +24 -12
  35. package/dist/api.d.ts +3 -0
  36. package/dist/api.js +3 -0
  37. package/dist/base.d.ts +11 -2
  38. package/dist/base.js +42 -3
  39. package/dist/models/bank-order-class.d.ts +115 -0
  40. package/dist/models/bank-transaction-class-without-expand-properties.d.ts +18 -18
  41. package/dist/models/bank-transaction-class-without-expand-properties.js +5 -0
  42. package/dist/models/bank-transaction-class.d.ts +22 -22
  43. package/dist/models/bank-transaction-class.js +5 -0
  44. package/dist/models/bank-transaction-invoice-class.d.ts +60 -0
  45. package/dist/models/bank-transaction-invoice-class.js +15 -0
  46. package/dist/models/bank-transfer-dto.d.ts +25 -0
  47. package/dist/models/bank-transfer-dto.js +15 -0
  48. package/dist/models/billing-address-dto.d.ts +54 -0
  49. package/dist/models/billing-address-dto.js +15 -0
  50. package/dist/models/complete-adyen-payment-setup-request-dto.d.ts +2 -0
  51. package/dist/models/complete-adyen-payment-setup-request-dto.js +3 -1
  52. package/dist/models/complete-eis-payment-setup-request-dto.d.ts +36 -0
  53. package/dist/models/complete-eis-payment-setup-request-dto.js +15 -0
  54. package/dist/models/complete-payment-setup-request-dto.d.ts +7 -0
  55. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +2 -0
  56. package/dist/models/complete-stripe-payment-setup-request-dto.js +3 -1
  57. package/dist/models/create-bank-order-request-dto.d.ts +74 -0
  58. package/dist/models/create-bank-order-request-dto.js +28 -0
  59. package/dist/models/create-bank-order-response-class.d.ts +25 -0
  60. package/dist/models/create-bank-order-response-class.js +15 -0
  61. package/dist/models/create-payment-order-dto.d.ts +48 -0
  62. package/dist/models/create-payment-order-dto.js +15 -0
  63. package/dist/models/create-payment-order-request-dto.d.ts +48 -0
  64. package/dist/models/create-payment-order-request-dto.js +15 -0
  65. package/dist/models/create-payment-reminder-request-dto.d.ts +7 -1
  66. package/dist/models/create-payment-request-dto.d.ts +7 -1
  67. package/dist/models/create-policy-payment-method-request-dto.d.ts +30 -0
  68. package/dist/models/create-policy-payment-method-request-dto.js +15 -0
  69. package/dist/models/create-policy-payment-method-response-class.d.ts +25 -0
  70. package/dist/models/create-policy-payment-method-response-class.js +15 -0
  71. package/dist/models/create-psp-payment-method-request-dto.d.ts +22 -1
  72. package/dist/models/create-psp-payment-method-request-dto.js +3 -1
  73. package/dist/models/deactivated-payment-reminder-class.d.ts +7 -1
  74. package/dist/models/exceeding-credit-class.d.ts +116 -0
  75. package/dist/models/exceeding-credit-class.js +29 -0
  76. package/dist/models/financial-account-class.d.ts +111 -0
  77. package/dist/models/financial-account-class.js +24 -0
  78. package/dist/models/get-bank-order-response-class.d.ts +25 -0
  79. package/dist/models/get-bank-order-response-class.js +15 -0
  80. package/dist/models/get-exceeding-credit-response-class.d.ts +25 -0
  81. package/dist/models/get-exceeding-credit-response-class.js +15 -0
  82. package/dist/models/index.d.ts +22 -1
  83. package/dist/models/index.js +22 -1
  84. package/dist/models/initiate-adyen-payment-setup-request-dto.d.ts +6 -0
  85. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +6 -0
  86. package/dist/models/initiate-eis-payment-setup-request-dto.d.ts +36 -0
  87. package/dist/models/initiate-eis-payment-setup-request-dto.js +15 -0
  88. package/dist/models/initiate-payment-setup-request-dto.d.ts +3 -2
  89. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +6 -0
  90. package/dist/models/{unlink-bank-transaction-request-dto-rest.d.ts → invoice-allocation-dto.d.ts} +10 -4
  91. package/dist/models/invoice-allocation-dto.js +15 -0
  92. package/dist/models/link-bank-transaction-request-dto-rest.d.ts +4 -3
  93. package/dist/models/list-bank-orders-response-class.d.ts +31 -0
  94. package/dist/models/list-bank-orders-response-class.js +15 -0
  95. package/dist/models/list-exceeding-credits-response-class.d.ts +31 -0
  96. package/dist/models/list-exceeding-credits-response-class.js +15 -0
  97. package/dist/models/payment-class-without-expand-properties.d.ts +7 -1
  98. package/dist/models/payment-class.d.ts +7 -1
  99. package/dist/models/payment-method-class.d.ts +6 -0
  100. package/dist/models/payment-reminder-class.d.ts +7 -1
  101. package/dist/models/policy-payment-method-class.d.ts +73 -0
  102. package/dist/models/policy-payment-method-class.js +15 -0
  103. package/dist/models/refund-class.d.ts +7 -1
  104. package/dist/models/unlinked-bank-transaction-response-class.d.ts +18 -0
  105. package/dist/models/unlinked-bank-transaction-response-class.js +5 -0
  106. package/dist/models/update-bank-order-request-dto.d.ts +62 -0
  107. package/dist/models/update-bank-order-request-dto.js +23 -0
  108. package/dist/models/update-bank-order-response-class.d.ts +25 -0
  109. package/dist/models/update-bank-order-response-class.js +15 -0
  110. package/models/bank-order-class.ts +121 -0
  111. package/models/bank-transaction-class-without-expand-properties.ts +21 -18
  112. package/models/bank-transaction-class.ts +25 -22
  113. package/models/bank-transaction-invoice-class.ts +66 -0
  114. package/models/bank-transfer-dto.ts +31 -0
  115. package/models/billing-address-dto.ts +60 -0
  116. package/models/complete-adyen-payment-setup-request-dto.ts +3 -1
  117. package/models/complete-eis-payment-setup-request-dto.ts +42 -0
  118. package/models/complete-payment-setup-request-dto.ts +7 -0
  119. package/models/complete-stripe-payment-setup-request-dto.ts +3 -1
  120. package/models/create-bank-order-request-dto.ts +84 -0
  121. package/models/create-bank-order-response-class.ts +31 -0
  122. package/models/create-payment-order-dto.ts +54 -0
  123. package/models/create-payment-order-request-dto.ts +54 -0
  124. package/models/create-payment-reminder-request-dto.ts +7 -1
  125. package/models/create-payment-request-dto.ts +7 -1
  126. package/models/create-policy-payment-method-request-dto.ts +36 -0
  127. package/models/create-policy-payment-method-response-class.ts +31 -0
  128. package/models/create-psp-payment-method-request-dto.ts +23 -2
  129. package/models/deactivated-payment-reminder-class.ts +7 -1
  130. package/models/exceeding-credit-class.ts +125 -0
  131. package/models/financial-account-class.ts +120 -0
  132. package/models/get-bank-order-response-class.ts +31 -0
  133. package/models/get-exceeding-credit-response-class.ts +31 -0
  134. package/models/index.ts +22 -1
  135. package/models/initiate-adyen-payment-setup-request-dto.ts +6 -0
  136. package/models/initiate-braintree-payment-setup-request-dto.ts +6 -0
  137. package/models/initiate-eis-payment-setup-request-dto.ts +42 -0
  138. package/models/initiate-payment-setup-request-dto.ts +3 -2
  139. package/models/initiate-stripe-payment-setup-request-dto.ts +6 -0
  140. package/models/{unlink-bank-transaction-request-dto-rest.ts → invoice-allocation-dto.ts} +10 -4
  141. package/models/link-bank-transaction-request-dto-rest.ts +4 -3
  142. package/models/list-bank-orders-response-class.ts +37 -0
  143. package/models/list-exceeding-credits-response-class.ts +37 -0
  144. package/models/payment-class-without-expand-properties.ts +7 -1
  145. package/models/payment-class.ts +7 -1
  146. package/models/payment-method-class.ts +6 -0
  147. package/models/payment-reminder-class.ts +7 -1
  148. package/models/policy-payment-method-class.ts +79 -0
  149. package/models/refund-class.ts +7 -1
  150. package/models/unlinked-bank-transaction-response-class.ts +21 -0
  151. package/models/update-bank-order-request-dto.ts +71 -0
  152. package/models/update-bank-order-response-class.ts +31 -0
  153. package/package.json +1 -1
  154. /package/dist/models/{unlink-bank-transaction-request-dto-rest.js → bank-order-class.js} +0 -0
@@ -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.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress<i>
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.<br/> <br/> <i>Allowed values: bankAccount, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices<i>
43
42
  * @param {*} [options] Override http request option.
44
43
  * @throws {RequiredError}
45
44
  */
@@ -47,7 +46,7 @@ export declare const BankTransactionApiAxiosParamCreator: (configuration?: Confi
47
46
  /**
48
47
  * This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
49
48
  * @summary Create the bank transactions
50
- * @param {any} file MT940/CAMT.053 file to import bank transactions from. Extension must be .txt .sta or .xml.<br/> Allowed Content Types: text/plain, application/octet-stream, application/xml
49
+ * @param {any} file MT940/CAMT.053 file to import bank transactions from. Extension must be .txt .sta or .xml.<br/> Allowed Content Types: text/plain, application/octet-stream, application/xml, text/xml
51
50
  * @param {string} [authorization] Bearer Token
52
51
  * @param {*} [options] Override http request option.
53
52
  * @throws {RequiredError}
@@ -67,25 +66,26 @@ export declare const BankTransactionApiAxiosParamCreator: (configuration?: Confi
67
66
  * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
68
67
  * @summary List bank transactions
69
68
  * @param {string} [authorization] Bearer Token
69
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
70
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
70
71
  * @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>
71
- * @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>
72
72
  * @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>
73
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.<br/> <br/> <i>Allowed values: id, createdAt, transactionDate, entryDate</i>
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.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress<i>
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.<br/> <br/> <i>Allowed values: bankAccount, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices<i>
75
+ * @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>
75
76
  * @param {*} [options] Override http request option.
76
77
  * @throws {RequiredError}
77
78
  */
78
- listBankTransactions: (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
79
+ listBankTransactions: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
79
80
  /**
80
81
  * Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
81
82
  * @summary Unlink bank transaction
82
83
  * @param {string} code Code of the bank transaction to unlink
83
- * @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
84
84
  * @param {string} [authorization] Bearer Token
85
85
  * @param {*} [options] Override http request option.
86
86
  * @throws {RequiredError}
87
87
  */
88
- unlinkBankTransaction: (code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
88
+ unlinkBankTransaction: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
89
89
  };
90
90
  /**
91
91
  * BankTransactionApi - functional programming interface
@@ -106,7 +106,7 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
106
106
  * @summary Retrieve the bank transaction
107
107
  * @param {string} code
108
108
  * @param {string} [authorization] Bearer Token
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&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, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices&lt;i&gt;
110
110
  * @param {*} [options] Override http request option.
111
111
  * @throws {RequiredError}
112
112
  */
@@ -114,7 +114,7 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
114
114
  /**
115
115
  * This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
116
116
  * @summary Create the bank transactions
117
- * @param {any} file MT940/CAMT.053 file to import bank transactions from. Extension must be .txt .sta or .xml.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream, application/xml
117
+ * @param {any} file MT940/CAMT.053 file to import bank transactions from. Extension must be .txt .sta or .xml.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream, application/xml, text/xml
118
118
  * @param {string} [authorization] Bearer Token
119
119
  * @param {*} [options] Override http request option.
120
120
  * @throws {RequiredError}
@@ -134,25 +134,26 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
134
134
  * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
135
135
  * @summary List bank transactions
136
136
  * @param {string} [authorization] Bearer Token
137
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
138
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
137
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;
138
- * @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;
139
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;
140
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;
141
- * @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&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, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices&lt;i&gt;
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;
142
144
  * @param {*} [options] Override http request option.
143
145
  * @throws {RequiredError}
144
146
  */
145
- listBankTransactions(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankTransactionsResponseClass>>;
147
+ listBankTransactions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankTransactionsResponseClass>>;
146
148
  /**
147
149
  * Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
148
150
  * @summary Unlink bank transaction
149
151
  * @param {string} code Code of the bank transaction to unlink
150
- * @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
151
152
  * @param {string} [authorization] Bearer Token
152
153
  * @param {*} [options] Override http request option.
153
154
  * @throws {RequiredError}
154
155
  */
155
- 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>>;
156
157
  };
157
158
  /**
158
159
  * BankTransactionApi - factory interface
@@ -173,7 +174,7 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
173
174
  * @summary Retrieve the bank transaction
174
175
  * @param {string} code
175
176
  * @param {string} [authorization] Bearer Token
176
- * @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&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, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices&lt;i&gt;
177
178
  * @param {*} [options] Override http request option.
178
179
  * @throws {RequiredError}
179
180
  */
@@ -181,7 +182,7 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
181
182
  /**
182
183
  * This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
183
184
  * @summary Create the bank transactions
184
- * @param {any} file MT940/CAMT.053 file to import bank transactions from. Extension must be .txt .sta or .xml.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream, application/xml
185
+ * @param {any} file MT940/CAMT.053 file to import bank transactions from. Extension must be .txt .sta or .xml.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream, application/xml, text/xml
185
186
  * @param {string} [authorization] Bearer Token
186
187
  * @param {*} [options] Override http request option.
187
188
  * @throws {RequiredError}
@@ -201,25 +202,26 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
201
202
  * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
202
203
  * @summary List bank transactions
203
204
  * @param {string} [authorization] Bearer Token
205
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
206
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
204
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;
205
- * @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;
206
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;
207
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;
208
- * @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&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, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices&lt;i&gt;
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;
209
212
  * @param {*} [options] Override http request option.
210
213
  * @throws {RequiredError}
211
214
  */
212
- listBankTransactions(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListBankTransactionsResponseClass>;
215
+ listBankTransactions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListBankTransactionsResponseClass>;
213
216
  /**
214
217
  * Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
215
218
  * @summary Unlink bank transaction
216
219
  * @param {string} code Code of the bank transaction to unlink
217
- * @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
218
220
  * @param {string} [authorization] Bearer Token
219
221
  * @param {*} [options] Override http request option.
220
222
  * @throws {RequiredError}
221
223
  */
222
- unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<UnlinkBankTransactionsResponseClass>;
224
+ unlinkBankTransaction(code: string, authorization?: string, options?: any): AxiosPromise<UnlinkBankTransactionsResponseClass>;
223
225
  };
224
226
  /**
225
227
  * Request parameters for generateInvoiceMatchSuggestion operation in BankTransactionApi.
@@ -259,7 +261,7 @@ export interface BankTransactionApiGetBankTransactionRequest {
259
261
  */
260
262
  readonly authorization?: string;
261
263
  /**
262
- * 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&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, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices&lt;i&gt;
263
265
  * @type {string}
264
266
  * @memberof BankTransactionApiGetBankTransaction
265
267
  */
@@ -272,7 +274,7 @@ export interface BankTransactionApiGetBankTransactionRequest {
272
274
  */
273
275
  export interface BankTransactionApiImportBankTransactionsRequest {
274
276
  /**
275
- * MT940/CAMT.053 file to import bank transactions from. Extension must be .txt .sta or .xml.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream, application/xml
277
+ * MT940/CAMT.053 file to import bank transactions from. Extension must be .txt .sta or .xml.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream, application/xml, text/xml
276
278
  * @type {any}
277
279
  * @memberof BankTransactionApiImportBankTransactions
278
280
  */
@@ -322,17 +324,23 @@ export interface BankTransactionApiListBankTransactionsRequest {
322
324
  */
323
325
  readonly authorization?: string;
324
326
  /**
325
- * 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;
327
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
328
+ * @type {number}
329
+ * @memberof BankTransactionApiListBankTransactions
330
+ */
331
+ readonly pageSize?: number;
332
+ /**
333
+ * A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
326
334
  * @type {string}
327
335
  * @memberof BankTransactionApiListBankTransactions
328
336
  */
329
- readonly filter?: string;
337
+ readonly pageToken?: string;
330
338
  /**
331
- * 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;
339
+ * 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;
332
340
  * @type {string}
333
341
  * @memberof BankTransactionApiListBankTransactions
334
342
  */
335
- readonly filters?: string;
343
+ readonly filter?: string;
336
344
  /**
337
345
  * 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;
338
346
  * @type {string}
@@ -346,11 +354,17 @@ export interface BankTransactionApiListBankTransactionsRequest {
346
354
  */
347
355
  readonly order?: string;
348
356
  /**
349
- * 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&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, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices&lt;i&gt;
350
358
  * @type {string}
351
359
  * @memberof BankTransactionApiListBankTransactions
352
360
  */
353
361
  readonly expand?: string;
362
+ /**
363
+ * 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;
364
+ * @type {string}
365
+ * @memberof BankTransactionApiListBankTransactions
366
+ */
367
+ readonly filters?: string;
354
368
  }
355
369
  /**
356
370
  * Request parameters for unlinkBankTransaction operation in BankTransactionApi.
@@ -364,12 +378,6 @@ export interface BankTransactionApiUnlinkBankTransactionRequest {
364
378
  * @memberof BankTransactionApiUnlinkBankTransaction
365
379
  */
366
380
  readonly code: string;
367
- /**
368
- *
369
- * @type {UnlinkBankTransactionRequestDtoRest}
370
- * @memberof BankTransactionApiUnlinkBankTransaction
371
- */
372
- readonly unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest;
373
381
  /**
374
382
  * Bearer Token
375
383
  * @type {string}
@@ -149,7 +149,7 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
149
149
  * @summary Retrieve the bank transaction
150
150
  * @param {string} code
151
151
  * @param {string} [authorization] Bearer Token
152
- * @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&lt;i&gt;
152
+ * @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, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices&lt;i&gt;
153
153
  * @param {*} [options] Override http request option.
154
154
  * @throws {RequiredError}
155
155
  */
@@ -199,7 +199,7 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
199
199
  /**
200
200
  * This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
201
201
  * @summary Create the bank transactions
202
- * @param {any} file MT940/CAMT.053 file to import bank transactions from. Extension must be .txt .sta or .xml.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream, application/xml
202
+ * @param {any} file MT940/CAMT.053 file to import bank transactions from. Extension must be .txt .sta or .xml.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream, application/xml, text/xml
203
203
  * @param {string} [authorization] Bearer Token
204
204
  * @param {*} [options] Override http request option.
205
205
  * @throws {RequiredError}
@@ -306,15 +306,17 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
306
306
  * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
307
307
  * @summary List bank transactions
308
308
  * @param {string} [authorization] Bearer Token
309
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
310
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
309
311
  * @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;
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
312
  * @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;
312
313
  * @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;
313
- * @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&lt;i&gt;
314
+ * @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, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices&lt;i&gt;
315
+ * @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;
314
316
  * @param {*} [options] Override http request option.
315
317
  * @throws {RequiredError}
316
318
  */
317
- listBankTransactions: function (authorization, filter, filters, search, order, expand, options) {
319
+ listBankTransactions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
318
320
  if (options === void 0) { options = {}; }
319
321
  return __awaiter(_this, void 0, void 0, function () {
320
322
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -337,12 +339,15 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
337
339
  // authentication bearer required
338
340
  // http bearer authentication required
339
341
  _a.sent();
342
+ if (pageSize !== undefined) {
343
+ localVarQueryParameter['pageSize'] = pageSize;
344
+ }
345
+ if (pageToken !== undefined) {
346
+ localVarQueryParameter['pageToken'] = pageToken;
347
+ }
340
348
  if (filter !== undefined) {
341
349
  localVarQueryParameter['filter'] = filter;
342
350
  }
343
- if (filters !== undefined) {
344
- localVarQueryParameter['filters'] = filters;
345
- }
346
351
  if (search !== undefined) {
347
352
  localVarQueryParameter['search'] = search;
348
353
  }
@@ -352,6 +357,9 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
352
357
  if (expand !== undefined) {
353
358
  localVarQueryParameter['expand'] = expand;
354
359
  }
360
+ if (filters !== undefined) {
361
+ localVarQueryParameter['filters'] = filters;
362
+ }
355
363
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
356
364
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
357
365
  }
@@ -370,12 +378,11 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
370
378
  * Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
371
379
  * @summary Unlink bank transaction
372
380
  * @param {string} code Code of the bank transaction to unlink
373
- * @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
374
381
  * @param {string} [authorization] Bearer Token
375
382
  * @param {*} [options] Override http request option.
376
383
  * @throws {RequiredError}
377
384
  */
378
- unlinkBankTransaction: function (code, unlinkBankTransactionRequestDtoRest, authorization, options) {
385
+ unlinkBankTransaction: function (code, authorization, options) {
379
386
  if (options === void 0) { options = {}; }
380
387
  return __awaiter(_this, void 0, void 0, function () {
381
388
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -384,8 +391,6 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
384
391
  case 0:
385
392
  // verify required parameter 'code' is not null or undefined
386
393
  (0, common_1.assertParamExists)('unlinkBankTransaction', 'code', code);
387
- // verify required parameter 'unlinkBankTransactionRequestDtoRest' is not null or undefined
388
- (0, common_1.assertParamExists)('unlinkBankTransaction', 'unlinkBankTransactionRequestDtoRest', unlinkBankTransactionRequestDtoRest);
389
394
  localVarPath = "/paymentservice/v1/tenant/bank-transactions/{code}/unlink"
390
395
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
391
396
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -406,11 +411,9 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
406
411
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
407
412
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
408
413
  }
409
- localVarHeaderParameter['Content-Type'] = 'application/json';
410
414
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
411
415
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
412
416
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
413
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(unlinkBankTransactionRequestDtoRest, localVarRequestOptions, configuration);
414
417
  return [2 /*return*/, {
415
418
  url: (0, common_1.toPathString)(localVarUrlObj),
416
419
  options: localVarRequestOptions,
@@ -455,7 +458,7 @@ var BankTransactionApiFp = function (configuration) {
455
458
  * @summary Retrieve the bank transaction
456
459
  * @param {string} code
457
460
  * @param {string} [authorization] Bearer Token
458
- * @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&lt;i&gt;
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, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices&lt;i&gt;
459
462
  * @param {*} [options] Override http request option.
460
463
  * @throws {RequiredError}
461
464
  */
@@ -475,7 +478,7 @@ var BankTransactionApiFp = function (configuration) {
475
478
  /**
476
479
  * This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
477
480
  * @summary Create the bank transactions
478
- * @param {any} file MT940/CAMT.053 file to import bank transactions from. Extension must be .txt .sta or .xml.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream, application/xml
481
+ * @param {any} file MT940/CAMT.053 file to import bank transactions from. Extension must be .txt .sta or .xml.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream, application/xml, text/xml
479
482
  * @param {string} [authorization] Bearer Token
480
483
  * @param {*} [options] Override http request option.
481
484
  * @throws {RequiredError}
@@ -519,20 +522,22 @@ var BankTransactionApiFp = function (configuration) {
519
522
  * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
520
523
  * @summary List bank transactions
521
524
  * @param {string} [authorization] Bearer Token
525
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
526
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
522
527
  * @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;
523
- * @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;
524
528
  * @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
529
  * @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&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, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices&lt;i&gt;
531
+ * @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;
527
532
  * @param {*} [options] Override http request option.
528
533
  * @throws {RequiredError}
529
534
  */
530
- listBankTransactions: function (authorization, filter, filters, search, order, expand, options) {
535
+ listBankTransactions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
531
536
  return __awaiter(this, void 0, void 0, function () {
532
537
  var localVarAxiosArgs;
533
538
  return __generator(this, function (_a) {
534
539
  switch (_a.label) {
535
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listBankTransactions(authorization, filter, filters, search, order, expand, options)];
540
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
536
541
  case 1:
537
542
  localVarAxiosArgs = _a.sent();
538
543
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -544,17 +549,16 @@ var BankTransactionApiFp = function (configuration) {
544
549
  * Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
545
550
  * @summary Unlink bank transaction
546
551
  * @param {string} code Code of the bank transaction to unlink
547
- * @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
548
552
  * @param {string} [authorization] Bearer Token
549
553
  * @param {*} [options] Override http request option.
550
554
  * @throws {RequiredError}
551
555
  */
552
- unlinkBankTransaction: function (code, unlinkBankTransactionRequestDtoRest, authorization, options) {
556
+ unlinkBankTransaction: function (code, authorization, options) {
553
557
  return __awaiter(this, void 0, void 0, function () {
554
558
  var localVarAxiosArgs;
555
559
  return __generator(this, function (_a) {
556
560
  switch (_a.label) {
557
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.unlinkBankTransaction(code, unlinkBankTransactionRequestDtoRest, authorization, options)];
561
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.unlinkBankTransaction(code, authorization, options)];
558
562
  case 1:
559
563
  localVarAxiosArgs = _a.sent();
560
564
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -588,7 +592,7 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
588
592
  * @summary Retrieve the bank transaction
589
593
  * @param {string} code
590
594
  * @param {string} [authorization] Bearer Token
591
- * @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&lt;i&gt;
595
+ * @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, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices&lt;i&gt;
592
596
  * @param {*} [options] Override http request option.
593
597
  * @throws {RequiredError}
594
598
  */
@@ -598,7 +602,7 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
598
602
  /**
599
603
  * This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
600
604
  * @summary Create the bank transactions
601
- * @param {any} file MT940/CAMT.053 file to import bank transactions from. Extension must be .txt .sta or .xml.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream, application/xml
605
+ * @param {any} file MT940/CAMT.053 file to import bank transactions from. Extension must be .txt .sta or .xml.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream, application/xml, text/xml
602
606
  * @param {string} [authorization] Bearer Token
603
607
  * @param {*} [options] Override http request option.
604
608
  * @throws {RequiredError}
@@ -622,28 +626,29 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
622
626
  * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
623
627
  * @summary List bank transactions
624
628
  * @param {string} [authorization] Bearer Token
629
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
630
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
625
631
  * @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;
626
- * @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;
627
632
  * @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;
628
633
  * @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;
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&lt;i&gt;
634
+ * @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, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices&lt;i&gt;
635
+ * @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;
630
636
  * @param {*} [options] Override http request option.
631
637
  * @throws {RequiredError}
632
638
  */
633
- listBankTransactions: function (authorization, filter, filters, search, order, expand, options) {
634
- return localVarFp.listBankTransactions(authorization, filter, filters, search, order, expand, options).then(function (request) { return request(axios, basePath); });
639
+ listBankTransactions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
640
+ return localVarFp.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
635
641
  },
636
642
  /**
637
643
  * Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
638
644
  * @summary Unlink bank transaction
639
645
  * @param {string} code Code of the bank transaction to unlink
640
- * @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
641
646
  * @param {string} [authorization] Bearer Token
642
647
  * @param {*} [options] Override http request option.
643
648
  * @throws {RequiredError}
644
649
  */
645
- unlinkBankTransaction: function (code, unlinkBankTransactionRequestDtoRest, authorization, options) {
646
- return localVarFp.unlinkBankTransaction(code, unlinkBankTransactionRequestDtoRest, authorization, options).then(function (request) { return request(axios, basePath); });
650
+ unlinkBankTransaction: function (code, authorization, options) {
651
+ return localVarFp.unlinkBankTransaction(code, authorization, options).then(function (request) { return request(axios, basePath); });
647
652
  },
648
653
  };
649
654
  };
@@ -718,7 +723,7 @@ var BankTransactionApi = /** @class */ (function (_super) {
718
723
  BankTransactionApi.prototype.listBankTransactions = function (requestParameters, options) {
719
724
  var _this = this;
720
725
  if (requestParameters === void 0) { requestParameters = {}; }
721
- return (0, exports.BankTransactionApiFp)(this.configuration).listBankTransactions(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
726
+ return (0, exports.BankTransactionApiFp)(this.configuration).listBankTransactions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
722
727
  };
723
728
  /**
724
729
  * Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
@@ -730,7 +735,7 @@ var BankTransactionApi = /** @class */ (function (_super) {
730
735
  */
731
736
  BankTransactionApi.prototype.unlinkBankTransaction = function (requestParameters, options) {
732
737
  var _this = this;
733
- return (0, exports.BankTransactionApiFp)(this.configuration).unlinkBankTransaction(requestParameters.code, requestParameters.unlinkBankTransactionRequestDtoRest, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
738
+ return (0, exports.BankTransactionApiFp)(this.configuration).unlinkBankTransaction(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
734
739
  };
735
740
  return BankTransactionApi;
736
741
  }(base_1.BaseAPI));