@emilgroup/payment-sdk-node 1.21.1-beta.12 → 1.21.1-beta.121

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 (177) hide show
  1. package/.openapi-generator/FILES +31 -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 +59 -48
  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 +180 -17
  10. package/api/policy-payment-methods-api.ts +357 -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 +48 -63
  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 +39 -31
  20. package/dist/api/bank-transaction-api.js +54 -82
  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/health-check-api.js +5 -18
  24. package/dist/api/payment-methods-api.d.ts +39 -12
  25. package/dist/api/payment-methods-api.js +42 -45
  26. package/dist/api/payment-reminders-api.d.ts +35 -8
  27. package/dist/api/payment-reminders-api.js +42 -49
  28. package/dist/api/payment-setup-api.js +8 -25
  29. package/dist/api/payments-api.d.ts +104 -12
  30. package/dist/api/payments-api.js +143 -45
  31. package/dist/api/policy-payment-methods-api.d.ts +207 -0
  32. package/dist/api/policy-payment-methods-api.js +357 -0
  33. package/dist/api/refunds-api.d.ts +28 -10
  34. package/dist/api/refunds-api.js +34 -43
  35. package/dist/api/tenant-bank-account-api.d.ts +28 -10
  36. package/dist/api/tenant-bank-account-api.js +40 -57
  37. package/dist/api/webhooks-api.js +5 -18
  38. package/dist/api.d.ts +3 -0
  39. package/dist/api.js +3 -0
  40. package/dist/base.d.ts +11 -2
  41. package/dist/base.js +56 -27
  42. package/dist/common.d.ts +1 -1
  43. package/dist/common.js +2 -2
  44. package/dist/models/bank-order-class.d.ts +122 -0
  45. package/dist/models/bank-order-xml-file-class.d.ts +72 -0
  46. package/dist/models/bank-order-xml-file-class.js +15 -0
  47. package/dist/models/bank-transaction-class-without-expand-properties.d.ts +18 -18
  48. package/dist/models/bank-transaction-class-without-expand-properties.js +5 -0
  49. package/dist/models/bank-transaction-class.d.ts +22 -22
  50. package/dist/models/bank-transaction-class.js +5 -0
  51. package/dist/models/bank-transaction-invoice-class.d.ts +60 -0
  52. package/dist/models/bank-transaction-invoice-class.js +15 -0
  53. package/dist/models/bank-transfer-dto.d.ts +25 -0
  54. package/dist/models/bank-transfer-dto.js +15 -0
  55. package/dist/models/billing-address-dto.d.ts +54 -0
  56. package/dist/models/billing-address-dto.js +15 -0
  57. package/dist/models/complete-adyen-payment-setup-request-dto.d.ts +2 -0
  58. package/dist/models/complete-adyen-payment-setup-request-dto.js +3 -1
  59. package/dist/models/complete-eis-payment-setup-request-dto.d.ts +36 -0
  60. package/dist/models/complete-eis-payment-setup-request-dto.js +15 -0
  61. package/dist/models/complete-payment-setup-request-dto.d.ts +7 -0
  62. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +2 -0
  63. package/dist/models/complete-stripe-payment-setup-request-dto.js +3 -1
  64. package/dist/models/create-bank-order-request-dto.d.ts +74 -0
  65. package/dist/models/create-bank-order-request-dto.js +28 -0
  66. package/dist/models/create-bank-order-response-class.d.ts +25 -0
  67. package/dist/models/create-bank-order-response-class.js +15 -0
  68. package/dist/models/create-payment-order-dto.d.ts +48 -0
  69. package/dist/models/create-payment-order-dto.js +15 -0
  70. package/dist/models/create-payment-order-request-dto.d.ts +48 -0
  71. package/dist/models/create-payment-order-request-dto.js +15 -0
  72. package/dist/models/create-payment-reminder-request-dto.d.ts +7 -1
  73. package/dist/models/create-payment-request-dto.d.ts +7 -1
  74. package/dist/models/create-policy-payment-method-request-dto.d.ts +30 -0
  75. package/dist/models/create-policy-payment-method-request-dto.js +15 -0
  76. package/dist/models/create-policy-payment-method-response-class.d.ts +25 -0
  77. package/dist/models/create-policy-payment-method-response-class.js +15 -0
  78. package/dist/models/create-psp-payment-method-request-dto.d.ts +29 -1
  79. package/dist/models/create-psp-payment-method-request-dto.js +3 -1
  80. package/dist/models/deactivated-payment-reminder-class.d.ts +7 -1
  81. package/dist/models/eis-sepa-debit-dto.d.ts +55 -0
  82. package/dist/models/eis-sepa-debit-dto.js +15 -0
  83. package/dist/models/exceeding-credit-class.d.ts +116 -0
  84. package/dist/models/exceeding-credit-class.js +29 -0
  85. package/dist/models/financial-account-class.d.ts +111 -0
  86. package/dist/models/financial-account-class.js +24 -0
  87. package/dist/models/get-bank-order-response-class.d.ts +25 -0
  88. package/dist/models/get-bank-order-response-class.js +15 -0
  89. package/dist/models/get-exceeding-credit-response-class.d.ts +25 -0
  90. package/dist/models/get-exceeding-credit-response-class.js +15 -0
  91. package/dist/models/index.d.ts +28 -1
  92. package/dist/models/index.js +28 -1
  93. package/dist/models/initiate-adyen-payment-setup-request-dto.d.ts +6 -0
  94. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +6 -0
  95. package/dist/models/initiate-eis-payment-setup-request-dto.d.ts +36 -0
  96. package/dist/models/initiate-eis-payment-setup-request-dto.js +15 -0
  97. package/dist/models/initiate-payment-setup-request-dto.d.ts +3 -2
  98. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +6 -0
  99. package/dist/models/{unlink-bank-transaction-request-dto-rest.d.ts → invoice-allocation-dto.d.ts} +10 -4
  100. package/dist/models/invoice-allocation-dto.js +15 -0
  101. package/dist/models/link-bank-transaction-request-dto-rest.d.ts +4 -3
  102. package/dist/models/list-bank-orders-response-class.d.ts +31 -0
  103. package/dist/models/list-bank-orders-response-class.js +15 -0
  104. package/dist/models/list-exceeding-credits-response-class.d.ts +31 -0
  105. package/dist/models/list-exceeding-credits-response-class.js +15 -0
  106. package/dist/models/list-policy-payment-methods-response-class.d.ts +31 -0
  107. package/dist/models/list-policy-payment-methods-response-class.js +15 -0
  108. package/dist/models/mandate-dto.d.ts +43 -0
  109. package/dist/models/mandate-dto.js +15 -0
  110. package/dist/models/mandate-hash-data-dto.d.ts +42 -0
  111. package/dist/models/mandate-hash-data-dto.js +15 -0
  112. package/dist/models/mandate-reference-class.d.ts +90 -0
  113. package/dist/models/mandate-reference-class.js +15 -0
  114. package/dist/models/payment-class-without-expand-properties.d.ts +7 -1
  115. package/dist/models/payment-class.d.ts +7 -1
  116. package/dist/models/payment-method-class.d.ts +6 -0
  117. package/dist/models/payment-reminder-class.d.ts +7 -1
  118. package/dist/models/policy-payment-method-class.d.ts +86 -0
  119. package/dist/models/policy-payment-method-class.js +15 -0
  120. package/dist/models/refund-class.d.ts +7 -1
  121. package/dist/models/unlinked-bank-transaction-response-class.d.ts +18 -0
  122. package/dist/models/unlinked-bank-transaction-response-class.js +5 -0
  123. package/dist/models/update-bank-order-request-dto.d.ts +62 -0
  124. package/dist/models/update-bank-order-request-dto.js +23 -0
  125. package/dist/models/update-bank-order-response-class.d.ts +25 -0
  126. package/dist/models/update-bank-order-response-class.js +15 -0
  127. package/models/bank-order-class.ts +128 -0
  128. package/models/bank-order-xml-file-class.ts +78 -0
  129. package/models/bank-transaction-class-without-expand-properties.ts +21 -18
  130. package/models/bank-transaction-class.ts +25 -22
  131. package/models/bank-transaction-invoice-class.ts +66 -0
  132. package/models/bank-transfer-dto.ts +31 -0
  133. package/models/billing-address-dto.ts +60 -0
  134. package/models/complete-adyen-payment-setup-request-dto.ts +3 -1
  135. package/models/complete-eis-payment-setup-request-dto.ts +42 -0
  136. package/models/complete-payment-setup-request-dto.ts +7 -0
  137. package/models/complete-stripe-payment-setup-request-dto.ts +3 -1
  138. package/models/create-bank-order-request-dto.ts +84 -0
  139. package/models/create-bank-order-response-class.ts +31 -0
  140. package/models/create-payment-order-dto.ts +54 -0
  141. package/models/create-payment-order-request-dto.ts +54 -0
  142. package/models/create-payment-reminder-request-dto.ts +7 -1
  143. package/models/create-payment-request-dto.ts +7 -1
  144. package/models/create-policy-payment-method-request-dto.ts +36 -0
  145. package/models/create-policy-payment-method-response-class.ts +31 -0
  146. package/models/create-psp-payment-method-request-dto.ts +30 -2
  147. package/models/deactivated-payment-reminder-class.ts +7 -1
  148. package/models/eis-sepa-debit-dto.ts +61 -0
  149. package/models/exceeding-credit-class.ts +125 -0
  150. package/models/financial-account-class.ts +120 -0
  151. package/models/get-bank-order-response-class.ts +31 -0
  152. package/models/get-exceeding-credit-response-class.ts +31 -0
  153. package/models/index.ts +28 -1
  154. package/models/initiate-adyen-payment-setup-request-dto.ts +6 -0
  155. package/models/initiate-braintree-payment-setup-request-dto.ts +6 -0
  156. package/models/initiate-eis-payment-setup-request-dto.ts +42 -0
  157. package/models/initiate-payment-setup-request-dto.ts +3 -2
  158. package/models/initiate-stripe-payment-setup-request-dto.ts +6 -0
  159. package/models/{unlink-bank-transaction-request-dto-rest.ts → invoice-allocation-dto.ts} +10 -4
  160. package/models/link-bank-transaction-request-dto-rest.ts +4 -3
  161. package/models/list-bank-orders-response-class.ts +37 -0
  162. package/models/list-exceeding-credits-response-class.ts +37 -0
  163. package/models/list-policy-payment-methods-response-class.ts +37 -0
  164. package/models/mandate-dto.ts +49 -0
  165. package/models/mandate-hash-data-dto.ts +48 -0
  166. package/models/mandate-reference-class.ts +96 -0
  167. package/models/payment-class-without-expand-properties.ts +7 -1
  168. package/models/payment-class.ts +7 -1
  169. package/models/payment-method-class.ts +6 -0
  170. package/models/payment-reminder-class.ts +7 -1
  171. package/models/policy-payment-method-class.ts +92 -0
  172. package/models/refund-class.ts +7 -1
  173. package/models/unlinked-bank-transaction-response-class.ts +21 -0
  174. package/models/update-bank-order-request-dto.ts +71 -0
  175. package/models/update-bank-order-response-class.ts +31 -0
  176. package/package.json +4 -4
  177. /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
  */
@@ -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
  */
@@ -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
  */
@@ -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
  */
@@ -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}
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
48
48
  });
49
49
  };
50
50
  var __generator = (this && this.__generator) || function (thisArg, body) {
51
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
52
- return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
51
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
52
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
53
53
  function verb(n) { return function (v) { return step([n, v]); }; }
54
54
  function step(op) {
55
55
  if (f) throw new TypeError("Generator is already executing.");
@@ -74,15 +74,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
74
74
  if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
75
75
  }
76
76
  };
77
- var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
78
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
79
- if (ar || !(i in from)) {
80
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
81
- ar[i] = from[i];
82
- }
83
- }
84
- return to.concat(ar || Array.prototype.slice.call(from));
85
- };
86
77
  var __importDefault = (this && this.__importDefault) || function (mod) {
87
78
  return (mod && mod.__esModule) ? mod : { "default": mod };
88
79
  };
@@ -113,14 +104,10 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
113
104
  * @param {*} [options] Override http request option.
114
105
  * @throws {RequiredError}
115
106
  */
116
- generateInvoiceMatchSuggestion: function (code_1, authorization_1) {
117
- var args_1 = [];
118
- for (var _i = 2; _i < arguments.length; _i++) {
119
- args_1[_i - 2] = arguments[_i];
120
- }
121
- return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
107
+ generateInvoiceMatchSuggestion: function (code, authorization, options) {
108
+ if (options === void 0) { options = {}; }
109
+ return __awaiter(_this, void 0, void 0, function () {
122
110
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
123
- if (options === void 0) { options = {}; }
124
111
  return __generator(this, function (_a) {
125
112
  switch (_a.label) {
126
113
  case 0:
@@ -162,18 +149,14 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
162
149
  * @summary Retrieve the bank transaction
163
150
  * @param {string} code
164
151
  * @param {string} [authorization] Bearer Token
165
- * @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;
166
153
  * @param {*} [options] Override http request option.
167
154
  * @throws {RequiredError}
168
155
  */
169
- getBankTransaction: function (code_1, authorization_1, expand_1) {
170
- var args_1 = [];
171
- for (var _i = 3; _i < arguments.length; _i++) {
172
- args_1[_i - 3] = arguments[_i];
173
- }
174
- return __awaiter(_this, __spreadArray([code_1, authorization_1, expand_1], args_1, true), void 0, function (code, authorization, expand, options) {
156
+ getBankTransaction: function (code, authorization, expand, options) {
157
+ if (options === void 0) { options = {}; }
158
+ return __awaiter(_this, void 0, void 0, function () {
175
159
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
176
- if (options === void 0) { options = {}; }
177
160
  return __generator(this, function (_a) {
178
161
  switch (_a.label) {
179
162
  case 0:
@@ -221,14 +204,10 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
221
204
  * @param {*} [options] Override http request option.
222
205
  * @throws {RequiredError}
223
206
  */
224
- importBankTransactions: function (file_1, authorization_1) {
225
- var args_1 = [];
226
- for (var _i = 2; _i < arguments.length; _i++) {
227
- args_1[_i - 2] = arguments[_i];
228
- }
229
- return __awaiter(_this, __spreadArray([file_1, authorization_1], args_1, true), void 0, function (file, authorization, options) {
207
+ importBankTransactions: function (file, authorization, options) {
208
+ if (options === void 0) { options = {}; }
209
+ return __awaiter(_this, void 0, void 0, function () {
230
210
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarFormParams, headersFromBaseOptions;
231
- if (options === void 0) { options = {}; }
232
211
  return __generator(this, function (_a) {
233
212
  switch (_a.label) {
234
213
  case 0:
@@ -279,14 +258,10 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
279
258
  * @param {*} [options] Override http request option.
280
259
  * @throws {RequiredError}
281
260
  */
282
- linkBankTransaction: function (code_1, linkBankTransactionRequestDtoRest_1, authorization_1) {
283
- var args_1 = [];
284
- for (var _i = 3; _i < arguments.length; _i++) {
285
- args_1[_i - 3] = arguments[_i];
286
- }
287
- return __awaiter(_this, __spreadArray([code_1, linkBankTransactionRequestDtoRest_1, authorization_1], args_1, true), void 0, function (code, linkBankTransactionRequestDtoRest, authorization, options) {
261
+ linkBankTransaction: function (code, linkBankTransactionRequestDtoRest, authorization, options) {
262
+ if (options === void 0) { options = {}; }
263
+ return __awaiter(_this, void 0, void 0, function () {
288
264
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
289
- if (options === void 0) { options = {}; }
290
265
  return __generator(this, function (_a) {
291
266
  switch (_a.label) {
292
267
  case 0:
@@ -331,22 +306,20 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
331
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\"
332
307
  * @summary List bank transactions
333
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.
334
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;
335
- * @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;
336
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;
337
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;
338
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount, 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;
339
316
  * @param {*} [options] Override http request option.
340
317
  * @throws {RequiredError}
341
318
  */
342
- listBankTransactions: function (authorization_1, filter_1, filters_1, search_1, order_1, expand_1) {
343
- var args_1 = [];
344
- for (var _i = 6; _i < arguments.length; _i++) {
345
- args_1[_i - 6] = arguments[_i];
346
- }
347
- return __awaiter(_this, __spreadArray([authorization_1, filter_1, filters_1, search_1, order_1, expand_1], args_1, true), void 0, function (authorization, filter, filters, search, order, expand, options) {
319
+ listBankTransactions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
320
+ if (options === void 0) { options = {}; }
321
+ return __awaiter(_this, void 0, void 0, function () {
348
322
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
349
- if (options === void 0) { options = {}; }
350
323
  return __generator(this, function (_a) {
351
324
  switch (_a.label) {
352
325
  case 0:
@@ -366,12 +339,15 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
366
339
  // authentication bearer required
367
340
  // http bearer authentication required
368
341
  _a.sent();
342
+ if (pageSize !== undefined) {
343
+ localVarQueryParameter['pageSize'] = pageSize;
344
+ }
345
+ if (pageToken !== undefined) {
346
+ localVarQueryParameter['pageToken'] = pageToken;
347
+ }
369
348
  if (filter !== undefined) {
370
349
  localVarQueryParameter['filter'] = filter;
371
350
  }
372
- if (filters !== undefined) {
373
- localVarQueryParameter['filters'] = filters;
374
- }
375
351
  if (search !== undefined) {
376
352
  localVarQueryParameter['search'] = search;
377
353
  }
@@ -381,6 +357,9 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
381
357
  if (expand !== undefined) {
382
358
  localVarQueryParameter['expand'] = expand;
383
359
  }
360
+ if (filters !== undefined) {
361
+ localVarQueryParameter['filters'] = filters;
362
+ }
384
363
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
385
364
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
386
365
  }
@@ -399,26 +378,19 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
399
378
  * Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
400
379
  * @summary Unlink bank transaction
401
380
  * @param {string} code Code of the bank transaction to unlink
402
- * @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
403
381
  * @param {string} [authorization] Bearer Token
404
382
  * @param {*} [options] Override http request option.
405
383
  * @throws {RequiredError}
406
384
  */
407
- unlinkBankTransaction: function (code_1, unlinkBankTransactionRequestDtoRest_1, authorization_1) {
408
- var args_1 = [];
409
- for (var _i = 3; _i < arguments.length; _i++) {
410
- args_1[_i - 3] = arguments[_i];
411
- }
412
- return __awaiter(_this, __spreadArray([code_1, unlinkBankTransactionRequestDtoRest_1, authorization_1], args_1, true), void 0, function (code, unlinkBankTransactionRequestDtoRest, authorization, options) {
385
+ unlinkBankTransaction: function (code, authorization, options) {
386
+ if (options === void 0) { options = {}; }
387
+ return __awaiter(_this, void 0, void 0, function () {
413
388
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
414
- if (options === void 0) { options = {}; }
415
389
  return __generator(this, function (_a) {
416
390
  switch (_a.label) {
417
391
  case 0:
418
392
  // verify required parameter 'code' is not null or undefined
419
393
  (0, common_1.assertParamExists)('unlinkBankTransaction', 'code', code);
420
- // verify required parameter 'unlinkBankTransactionRequestDtoRest' is not null or undefined
421
- (0, common_1.assertParamExists)('unlinkBankTransaction', 'unlinkBankTransactionRequestDtoRest', unlinkBankTransactionRequestDtoRest);
422
394
  localVarPath = "/paymentservice/v1/tenant/bank-transactions/{code}/unlink"
423
395
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
424
396
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -439,11 +411,9 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
439
411
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
440
412
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
441
413
  }
442
- localVarHeaderParameter['Content-Type'] = 'application/json';
443
414
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
444
415
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
445
416
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
446
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(unlinkBankTransactionRequestDtoRest, localVarRequestOptions, configuration);
447
417
  return [2 /*return*/, {
448
418
  url: (0, common_1.toPathString)(localVarUrlObj),
449
419
  options: localVarRequestOptions,
@@ -488,7 +458,7 @@ var BankTransactionApiFp = function (configuration) {
488
458
  * @summary Retrieve the bank transaction
489
459
  * @param {string} code
490
460
  * @param {string} [authorization] Bearer Token
491
- * @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;
492
462
  * @param {*} [options] Override http request option.
493
463
  * @throws {RequiredError}
494
464
  */
@@ -552,20 +522,22 @@ var BankTransactionApiFp = function (configuration) {
552
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\"
553
523
  * @summary List bank transactions
554
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.
555
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;
556
- * @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;
557
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;
558
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;
559
- * @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;
560
532
  * @param {*} [options] Override http request option.
561
533
  * @throws {RequiredError}
562
534
  */
563
- listBankTransactions: function (authorization, filter, filters, search, order, expand, options) {
535
+ listBankTransactions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
564
536
  return __awaiter(this, void 0, void 0, function () {
565
537
  var localVarAxiosArgs;
566
538
  return __generator(this, function (_a) {
567
539
  switch (_a.label) {
568
- 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)];
569
541
  case 1:
570
542
  localVarAxiosArgs = _a.sent();
571
543
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -577,17 +549,16 @@ var BankTransactionApiFp = function (configuration) {
577
549
  * Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
578
550
  * @summary Unlink bank transaction
579
551
  * @param {string} code Code of the bank transaction to unlink
580
- * @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
581
552
  * @param {string} [authorization] Bearer Token
582
553
  * @param {*} [options] Override http request option.
583
554
  * @throws {RequiredError}
584
555
  */
585
- unlinkBankTransaction: function (code, unlinkBankTransactionRequestDtoRest, authorization, options) {
556
+ unlinkBankTransaction: function (code, authorization, options) {
586
557
  return __awaiter(this, void 0, void 0, function () {
587
558
  var localVarAxiosArgs;
588
559
  return __generator(this, function (_a) {
589
560
  switch (_a.label) {
590
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.unlinkBankTransaction(code, unlinkBankTransactionRequestDtoRest, authorization, options)];
561
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.unlinkBankTransaction(code, authorization, options)];
591
562
  case 1:
592
563
  localVarAxiosArgs = _a.sent();
593
564
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -621,7 +592,7 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
621
592
  * @summary Retrieve the bank transaction
622
593
  * @param {string} code
623
594
  * @param {string} [authorization] Bearer Token
624
- * @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;
625
596
  * @param {*} [options] Override http request option.
626
597
  * @throws {RequiredError}
627
598
  */
@@ -655,28 +626,29 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
655
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\"
656
627
  * @summary List bank transactions
657
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.
658
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;
659
- * @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;
660
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;
661
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;
662
- * @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;
663
636
  * @param {*} [options] Override http request option.
664
637
  * @throws {RequiredError}
665
638
  */
666
- listBankTransactions: function (authorization, filter, filters, search, order, expand, options) {
667
- 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); });
668
641
  },
669
642
  /**
670
643
  * Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
671
644
  * @summary Unlink bank transaction
672
645
  * @param {string} code Code of the bank transaction to unlink
673
- * @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
674
646
  * @param {string} [authorization] Bearer Token
675
647
  * @param {*} [options] Override http request option.
676
648
  * @throws {RequiredError}
677
649
  */
678
- unlinkBankTransaction: function (code, unlinkBankTransactionRequestDtoRest, authorization, options) {
679
- 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); });
680
652
  },
681
653
  };
682
654
  };
@@ -751,7 +723,7 @@ var BankTransactionApi = /** @class */ (function (_super) {
751
723
  BankTransactionApi.prototype.listBankTransactions = function (requestParameters, options) {
752
724
  var _this = this;
753
725
  if (requestParameters === void 0) { requestParameters = {}; }
754
- 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); });
755
727
  };
756
728
  /**
757
729
  * Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
@@ -763,7 +735,7 @@ var BankTransactionApi = /** @class */ (function (_super) {
763
735
  */
764
736
  BankTransactionApi.prototype.unlinkBankTransaction = function (requestParameters, options) {
765
737
  var _this = this;
766
- 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); });
767
739
  };
768
740
  return BankTransactionApi;
769
741
  }(base_1.BaseAPI));