@emilgroup/payment-sdk 1.4.1-beta.3 → 1.4.1-beta.31

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 (224) hide show
  1. package/.openapi-generator/FILES +12 -39
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +497 -47
  4. package/api/bank-transaction-api.ts +128 -96
  5. package/api/{default-api.ts → health-check-api.ts} +22 -18
  6. package/api/payment-methods-api.ts +74 -203
  7. package/api/payment-reminders-api.ts +76 -66
  8. package/api/payment-setup-api.ts +29 -37
  9. package/api/payments-api.ts +66 -89
  10. package/api/refunds-api.ts +74 -84
  11. package/api/tenant-bank-account-api.ts +88 -62
  12. package/api/webhooks-api.ts +17 -13
  13. package/api.ts +3 -3
  14. package/base.ts +6 -2
  15. package/common.ts +2 -2
  16. package/configuration.ts +1 -1
  17. package/dist/api/bank-accounts-api.d.ts +297 -49
  18. package/dist/api/bank-accounts-api.js +416 -28
  19. package/dist/api/bank-transaction-api.d.ts +109 -91
  20. package/dist/api/bank-transaction-api.js +83 -68
  21. package/dist/api/health-check-api.d.ts +70 -0
  22. package/dist/api/{default-api.js → health-check-api.js} +31 -27
  23. package/dist/api/payment-methods-api.d.ts +66 -134
  24. package/dist/api/payment-methods-api.js +55 -157
  25. package/dist/api/payment-reminders-api.d.ts +72 -65
  26. package/dist/api/payment-reminders-api.js +48 -42
  27. package/dist/api/payment-setup-api.d.ts +19 -23
  28. package/dist/api/payment-setup-api.js +25 -25
  29. package/dist/api/payments-api.d.ts +64 -76
  30. package/dist/api/payments-api.js +47 -55
  31. package/dist/api/refunds-api.d.ts +74 -74
  32. package/dist/api/refunds-api.js +52 -48
  33. package/dist/api/tenant-bank-account-api.d.ts +89 -66
  34. package/dist/api/tenant-bank-account-api.js +59 -39
  35. package/dist/api/webhooks-api.d.ts +17 -13
  36. package/dist/api/webhooks-api.js +15 -11
  37. package/dist/api.d.ts +2 -2
  38. package/dist/api.js +2 -2
  39. package/dist/base.d.ts +2 -1
  40. package/dist/base.js +5 -2
  41. package/dist/common.d.ts +2 -2
  42. package/dist/common.js +1 -1
  43. package/dist/configuration.d.ts +1 -1
  44. package/dist/configuration.js +1 -1
  45. package/dist/index.d.ts +1 -1
  46. package/dist/index.js +1 -1
  47. package/dist/models/{bank-transaction-response-class.d.ts → bank-transaction-class-without-expand-properties.d.ts} +26 -34
  48. package/dist/models/{bank-account-class.js → bank-transaction-class-without-expand-properties.js} +1 -1
  49. package/dist/models/create-bank-account-request-dto.d.ts +15 -3
  50. package/dist/models/create-bank-account-request-dto.js +1 -1
  51. package/dist/models/create-payment-reminder-request-dto.d.ts +1 -1
  52. package/dist/models/create-payment-reminder-request-dto.js +1 -1
  53. package/dist/models/create-payment-request-dto.d.ts +4 -4
  54. package/dist/models/create-payment-request-dto.js +1 -1
  55. package/dist/models/create-refund-request-dto.d.ts +1 -1
  56. package/dist/models/create-refund-request-dto.js +1 -1
  57. package/dist/models/create-tenant-bank-account-request-dto.d.ts +1 -1
  58. package/dist/models/create-tenant-bank-account-request-dto.js +1 -1
  59. package/dist/models/create-tenant-bank-account-response-class.d.ts +25 -0
  60. package/dist/models/{bank-transaction-response-class.js → create-tenant-bank-account-response-class.js} +1 -1
  61. package/dist/models/deactivate-payment-reminder-request-dto.d.ts +1 -1
  62. package/dist/models/deactivate-payment-reminder-request-dto.js +1 -1
  63. package/dist/models/get-tenant-bank-account-response-class.d.ts +5 -5
  64. package/dist/models/get-tenant-bank-account-response-class.js +1 -1
  65. package/dist/models/index.d.ts +11 -38
  66. package/dist/models/index.js +11 -38
  67. package/dist/models/inline-response200.d.ts +1 -1
  68. package/dist/models/inline-response200.js +1 -1
  69. package/dist/models/inline-response503.d.ts +1 -1
  70. package/dist/models/inline-response503.js +1 -1
  71. package/dist/models/link-bank-transaction-request-dto-rest.d.ts +24 -0
  72. package/dist/models/{billing-profile-limited-response-dto.js → link-bank-transaction-request-dto-rest.js} +1 -1
  73. package/dist/models/list-tenant-bank-account-response-class.d.ts +31 -0
  74. package/dist/models/{billing-profile-dto.js → list-tenant-bank-account-response-class.js} +1 -1
  75. package/dist/models/set-primary-bank-account-request-dto-rest.d.ts +24 -0
  76. package/dist/models/set-primary-bank-account-request-dto-rest.js +15 -0
  77. package/dist/models/{tenant-bank-account-response-class.d.ts → tenant-bank-account-class-without-expand-properties.d.ts} +11 -11
  78. package/dist/models/tenant-bank-account-class-without-expand-properties.js +15 -0
  79. package/dist/models/tenant-bank-account-class.d.ts +73 -0
  80. package/dist/models/tenant-bank-account-class.js +15 -0
  81. package/dist/models/unlink-bank-transaction-request-dto-rest.d.ts +24 -0
  82. package/dist/models/unlink-bank-transaction-request-dto-rest.js +15 -0
  83. package/dist/models/update-bank-account-request-dto-rest.d.ts +30 -0
  84. package/dist/models/update-bank-account-request-dto-rest.js +15 -0
  85. package/dist/models/update-bank-account-request-dto.d.ts +36 -0
  86. package/dist/models/update-bank-account-request-dto.js +15 -0
  87. package/dist/models/update-tenant-bank-account-response-class.d.ts +25 -0
  88. package/dist/models/update-tenant-bank-account-response-class.js +15 -0
  89. package/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +1 -1
  90. package/dist/models/update-tenant-bank-account-rest-request-dto.js +1 -1
  91. package/dist/models/validate-pspconfig-request-dto.d.ts +2 -9
  92. package/dist/models/validate-pspconfig-request-dto.js +1 -8
  93. package/index.ts +1 -1
  94. package/models/{bank-transaction-response-class.ts → bank-transaction-class-without-expand-properties.ts} +26 -34
  95. package/models/create-bank-account-request-dto.ts +15 -3
  96. package/models/create-payment-reminder-request-dto.ts +1 -1
  97. package/models/create-payment-request-dto.ts +4 -4
  98. package/models/create-refund-request-dto.ts +1 -1
  99. package/models/create-tenant-bank-account-request-dto.ts +1 -1
  100. package/models/create-tenant-bank-account-response-class.ts +31 -0
  101. package/models/deactivate-payment-reminder-request-dto.ts +1 -1
  102. package/models/get-tenant-bank-account-response-class.ts +5 -5
  103. package/models/index.ts +11 -38
  104. package/models/inline-response200.ts +1 -1
  105. package/models/inline-response503.ts +1 -1
  106. package/models/link-bank-transaction-request-dto-rest.ts +30 -0
  107. package/models/list-tenant-bank-account-response-class.ts +37 -0
  108. package/models/set-primary-bank-account-request-dto-rest.ts +30 -0
  109. package/models/{tenant-bank-account-response-class.ts → tenant-bank-account-class-without-expand-properties.ts} +11 -11
  110. package/models/tenant-bank-account-class.ts +79 -0
  111. package/models/unlink-bank-transaction-request-dto-rest.ts +30 -0
  112. package/models/update-bank-account-request-dto-rest.ts +36 -0
  113. package/models/update-bank-account-request-dto.ts +42 -0
  114. package/models/update-tenant-bank-account-response-class.ts +31 -0
  115. package/models/update-tenant-bank-account-rest-request-dto.ts +1 -1
  116. package/models/validate-pspconfig-request-dto.ts +2 -12
  117. package/package.json +1 -1
  118. package/dist/api/default-api.d.ts +0 -66
  119. package/dist/models/bank-account-class.d.ts +0 -54
  120. package/dist/models/billing-profile-dto.d.ts +0 -38
  121. package/dist/models/billing-profile-limited-response-dto.d.ts +0 -54
  122. package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +0 -48
  123. package/dist/models/complete-braintree-payment-setup-request-dto.js +0 -15
  124. package/dist/models/complete-payment-setup-request-dto.d.ts +0 -32
  125. package/dist/models/complete-payment-setup-request-dto.js +0 -15
  126. package/dist/models/complete-payment-setup-response-class.d.ts +0 -25
  127. package/dist/models/complete-payment-setup-response-class.js +0 -15
  128. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +0 -60
  129. package/dist/models/complete-stripe-payment-setup-request-dto.js +0 -15
  130. package/dist/models/create-payment-method-response-class.d.ts +0 -25
  131. package/dist/models/create-payment-method-response-class.js +0 -15
  132. package/dist/models/create-payment-response-class.d.ts +0 -25
  133. package/dist/models/create-payment-response-class.js +0 -15
  134. package/dist/models/create-psp-payment-method-request-dto.d.ts +0 -61
  135. package/dist/models/create-psp-payment-method-request-dto.js +0 -32
  136. package/dist/models/create-refund-response-class.d.ts +0 -25
  137. package/dist/models/create-refund-response-class.js +0 -15
  138. package/dist/models/deactivate-payment-reminder-response-class.d.ts +0 -25
  139. package/dist/models/deactivate-payment-reminder-response-class.js +0 -15
  140. package/dist/models/get-bank-transactions-response-class.d.ts +0 -25
  141. package/dist/models/get-bank-transactions-response-class.js +0 -15
  142. package/dist/models/get-payment-method-response-class.d.ts +0 -25
  143. package/dist/models/get-payment-method-response-class.js +0 -15
  144. package/dist/models/get-payment-response-class.d.ts +0 -25
  145. package/dist/models/get-payment-response-class.js +0 -15
  146. package/dist/models/get-refund-response-class.d.ts +0 -25
  147. package/dist/models/get-refund-response-class.js +0 -15
  148. package/dist/models/get-request-dto.d.ts +0 -30
  149. package/dist/models/get-request-dto.js +0 -15
  150. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +0 -30
  151. package/dist/models/initiate-braintree-payment-setup-request-dto.js +0 -15
  152. package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +0 -24
  153. package/dist/models/initiate-braintree-payment-setup-response-class.js +0 -15
  154. package/dist/models/initiate-payment-setup-request-dto.d.ts +0 -44
  155. package/dist/models/initiate-payment-setup-request-dto.js +0 -15
  156. package/dist/models/initiate-payment-setup-response-class.d.ts +0 -32
  157. package/dist/models/initiate-payment-setup-response-class.js +0 -15
  158. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +0 -30
  159. package/dist/models/initiate-stripe-payment-setup-request-dto.js +0 -15
  160. package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +0 -30
  161. package/dist/models/initiate-stripe-payment-setup-response-class.js +0 -15
  162. package/dist/models/list-bank-accounts-response-class.d.ts +0 -31
  163. package/dist/models/list-bank-accounts-response-class.js +0 -15
  164. package/dist/models/list-bank-transactions-response-class.d.ts +0 -31
  165. package/dist/models/list-bank-transactions-response-class.js +0 -15
  166. package/dist/models/list-payment-methods-response-class.d.ts +0 -31
  167. package/dist/models/list-payment-methods-response-class.js +0 -15
  168. package/dist/models/list-payment-reminders-response-class.d.ts +0 -31
  169. package/dist/models/list-payment-reminders-response-class.js +0 -15
  170. package/dist/models/list-payments-response-class.d.ts +0 -31
  171. package/dist/models/list-payments-response-class.js +0 -15
  172. package/dist/models/list-refunds-response-class.d.ts +0 -31
  173. package/dist/models/list-refunds-response-class.js +0 -15
  174. package/dist/models/payment-class.d.ts +0 -103
  175. package/dist/models/payment-class.js +0 -15
  176. package/dist/models/payment-method-class.d.ts +0 -66
  177. package/dist/models/payment-method-class.js +0 -15
  178. package/dist/models/payment-reminder-class.d.ts +0 -112
  179. package/dist/models/payment-reminder-class.js +0 -36
  180. package/dist/models/refund-class.d.ts +0 -104
  181. package/dist/models/refund-class.js +0 -28
  182. package/dist/models/sepa-direct-dto.d.ts +0 -24
  183. package/dist/models/sepa-direct-dto.js +0 -15
  184. package/dist/models/symphony-profile-limited-response-dto.d.ts +0 -42
  185. package/dist/models/symphony-profile-limited-response-dto.js +0 -15
  186. package/dist/models/tenant-bank-account-response-class.js +0 -15
  187. package/dist/models/transaction-class.d.ts +0 -54
  188. package/dist/models/transaction-class.js +0 -15
  189. package/models/bank-account-class.ts +0 -60
  190. package/models/billing-profile-dto.ts +0 -44
  191. package/models/billing-profile-limited-response-dto.ts +0 -60
  192. package/models/complete-braintree-payment-setup-request-dto.ts +0 -54
  193. package/models/complete-payment-setup-request-dto.ts +0 -38
  194. package/models/complete-payment-setup-response-class.ts +0 -31
  195. package/models/complete-stripe-payment-setup-request-dto.ts +0 -66
  196. package/models/create-payment-method-response-class.ts +0 -31
  197. package/models/create-payment-response-class.ts +0 -31
  198. package/models/create-psp-payment-method-request-dto.ts +0 -70
  199. package/models/create-refund-response-class.ts +0 -31
  200. package/models/deactivate-payment-reminder-response-class.ts +0 -31
  201. package/models/get-bank-transactions-response-class.ts +0 -31
  202. package/models/get-payment-method-response-class.ts +0 -31
  203. package/models/get-payment-response-class.ts +0 -31
  204. package/models/get-refund-response-class.ts +0 -31
  205. package/models/get-request-dto.ts +0 -36
  206. package/models/initiate-braintree-payment-setup-request-dto.ts +0 -36
  207. package/models/initiate-braintree-payment-setup-response-class.ts +0 -30
  208. package/models/initiate-payment-setup-request-dto.ts +0 -50
  209. package/models/initiate-payment-setup-response-class.ts +0 -38
  210. package/models/initiate-stripe-payment-setup-request-dto.ts +0 -36
  211. package/models/initiate-stripe-payment-setup-response-class.ts +0 -36
  212. package/models/list-bank-accounts-response-class.ts +0 -37
  213. package/models/list-bank-transactions-response-class.ts +0 -37
  214. package/models/list-payment-methods-response-class.ts +0 -37
  215. package/models/list-payment-reminders-response-class.ts +0 -37
  216. package/models/list-payments-response-class.ts +0 -37
  217. package/models/list-refunds-response-class.ts +0 -37
  218. package/models/payment-class.ts +0 -109
  219. package/models/payment-method-class.ts +0 -72
  220. package/models/payment-reminder-class.ts +0 -122
  221. package/models/refund-class.ts +0 -114
  222. package/models/sepa-direct-dto.ts +0 -30
  223. package/models/symphony-profile-limited-response-dto.ts +0 -48
  224. package/models/transaction-class.ts +0 -60
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Emil Payment Service
3
- * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
3
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
6
  * Contact: kontakt@emil.de
@@ -12,65 +12,67 @@
12
12
  import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
- import { GetBankTransactionsResponseClass } from '../models';
16
- import { ListBankTransactionsResponseClass } from '../models';
15
+ import { LinkBankTransactionRequestDtoRest } from '../models';
16
+ import { UnlinkBankTransactionRequestDtoRest } from '../models';
17
17
  /**
18
18
  * BankTransactionApi - axios parameter creator
19
19
  * @export
20
20
  */
21
21
  export declare const BankTransactionApiAxiosParamCreator: (configuration?: Configuration) => {
22
22
  /**
23
- * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
24
- * @summary Retrieve the Bank Transaction
25
- * @param {string} code
23
+ * Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code that was returned when you created it and Emil Api will return the corresponding bank transaction information.
24
+ * @summary Retrieve the bank transaction
25
+ * @param {string} code Unique identifier for the object.
26
26
  * @param {string} [authorization] Bearer Token
27
- * @param {string} [expand] Expand the response with additional entities
27
+ * @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.<i>
28
28
  * @param {*} [options] Override http request option.
29
29
  * @throws {RequiredError}
30
30
  */
31
31
  getBankTransaction: (code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
32
32
  /**
33
- * Import bank transactions from a swift MT940 file
33
+ * This will import bank transactions from a swift MT940 file
34
34
  * @summary Create the bank transactions
35
+ * @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream
35
36
  * @param {string} [authorization] Bearer Token
36
- * @param {any} [file]
37
37
  * @param {*} [options] Override http request option.
38
38
  * @throws {RequiredError}
39
39
  */
40
- importBankTransactions: (authorization?: string, file?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
40
+ importBankTransactions: (file: any, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
41
41
  /**
42
42
  * Links a bank transaction with an invoice
43
- * @summary Link Bank Transaction
43
+ * @summary Link bank transaction
44
44
  * @param {string} code Code of the bank transaction to link
45
+ * @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
45
46
  * @param {string} [authorization] Bearer Token
46
47
  * @param {*} [options] Override http request option.
47
48
  * @throws {RequiredError}
48
49
  */
49
- linkBankTransaction: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
50
+ linkBankTransaction: (code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
50
51
  /**
51
- * 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.
52
+ * 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.
52
53
  * @summary List bank transactions
53
54
  * @param {string} [authorization] Bearer Token
54
55
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
55
56
  * @param {any} [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.
56
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
57
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
58
- * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
59
- * @param {string} [expand] Expand the response with additional entities
60
- * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
57
+ * @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, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
58
+ * @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;
59
+ * @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, amount, transactionDate, entryDate&lt;/i&gt;
60
+ * @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.&lt;i&gt;
61
+ * @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, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
61
62
  * @param {*} [options] Override http request option.
62
63
  * @throws {RequiredError}
63
64
  */
64
- listBankTransactions: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
65
+ listBankTransactions: (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
65
66
  /**
66
67
  * Unlinks an already linked bank transaction
67
- * @summary Unlink Bank Transaction
68
+ * @summary Unlink bank transaction
68
69
  * @param {string} code Code of the bank transaction to unlink
70
+ * @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
69
71
  * @param {string} [authorization] Bearer Token
70
72
  * @param {*} [options] Override http request option.
71
73
  * @throws {RequiredError}
72
74
  */
73
- unlinkBankTransaction: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
75
+ unlinkBankTransaction: (code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
74
76
  };
75
77
  /**
76
78
  * BankTransactionApi - functional programming interface
@@ -78,57 +80,59 @@ export declare const BankTransactionApiAxiosParamCreator: (configuration?: Confi
78
80
  */
79
81
  export declare const BankTransactionApiFp: (configuration?: Configuration) => {
80
82
  /**
81
- * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
82
- * @summary Retrieve the Bank Transaction
83
- * @param {string} code
83
+ * Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code that was returned when you created it and Emil Api will return the corresponding bank transaction information.
84
+ * @summary Retrieve the bank transaction
85
+ * @param {string} code Unique identifier for the object.
84
86
  * @param {string} [authorization] Bearer Token
85
- * @param {string} [expand] Expand the response with additional entities
87
+ * @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.&lt;i&gt;
86
88
  * @param {*} [options] Override http request option.
87
89
  * @throws {RequiredError}
88
90
  */
89
- getBankTransaction(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>>;
91
+ getBankTransaction(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
90
92
  /**
91
- * Import bank transactions from a swift MT940 file
93
+ * This will import bank transactions from a swift MT940 file
92
94
  * @summary Create the bank transactions
95
+ * @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream
93
96
  * @param {string} [authorization] Bearer Token
94
- * @param {any} [file]
95
97
  * @param {*} [options] Override http request option.
96
98
  * @throws {RequiredError}
97
99
  */
98
- importBankTransactions(authorization?: string, file?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankTransactionsResponseClass>>;
100
+ importBankTransactions(file: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
99
101
  /**
100
102
  * Links a bank transaction with an invoice
101
- * @summary Link Bank Transaction
103
+ * @summary Link bank transaction
102
104
  * @param {string} code Code of the bank transaction to link
105
+ * @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
103
106
  * @param {string} [authorization] Bearer Token
104
107
  * @param {*} [options] Override http request option.
105
108
  * @throws {RequiredError}
106
109
  */
107
- linkBankTransaction(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>>;
110
+ linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
108
111
  /**
109
- * 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.
112
+ * 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.
110
113
  * @summary List bank transactions
111
114
  * @param {string} [authorization] Bearer Token
112
115
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
113
116
  * @param {any} [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.
114
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
115
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
116
- * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
117
- * @param {string} [expand] Expand the response with additional entities
118
- * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
117
+ * @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, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
118
+ * @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;
119
+ * @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, amount, transactionDate, entryDate&lt;/i&gt;
120
+ * @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.&lt;i&gt;
121
+ * @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, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
119
122
  * @param {*} [options] Override http request option.
120
123
  * @throws {RequiredError}
121
124
  */
122
- listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankTransactionsResponseClass>>;
125
+ listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
123
126
  /**
124
127
  * Unlinks an already linked bank transaction
125
- * @summary Unlink Bank Transaction
128
+ * @summary Unlink bank transaction
126
129
  * @param {string} code Code of the bank transaction to unlink
130
+ * @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
127
131
  * @param {string} [authorization] Bearer Token
128
132
  * @param {*} [options] Override http request option.
129
133
  * @throws {RequiredError}
130
134
  */
131
- unlinkBankTransaction(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>>;
135
+ unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
132
136
  };
133
137
  /**
134
138
  * BankTransactionApi - factory interface
@@ -136,57 +140,59 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
136
140
  */
137
141
  export declare const BankTransactionApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
138
142
  /**
139
- * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
140
- * @summary Retrieve the Bank Transaction
141
- * @param {string} code
143
+ * Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code that was returned when you created it and Emil Api will return the corresponding bank transaction information.
144
+ * @summary Retrieve the bank transaction
145
+ * @param {string} code Unique identifier for the object.
142
146
  * @param {string} [authorization] Bearer Token
143
- * @param {string} [expand] Expand the response with additional entities
147
+ * @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.&lt;i&gt;
144
148
  * @param {*} [options] Override http request option.
145
149
  * @throws {RequiredError}
146
150
  */
147
- getBankTransaction(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass>;
151
+ getBankTransaction(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<void>;
148
152
  /**
149
- * Import bank transactions from a swift MT940 file
153
+ * This will import bank transactions from a swift MT940 file
150
154
  * @summary Create the bank transactions
155
+ * @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream
151
156
  * @param {string} [authorization] Bearer Token
152
- * @param {any} [file]
153
157
  * @param {*} [options] Override http request option.
154
158
  * @throws {RequiredError}
155
159
  */
156
- importBankTransactions(authorization?: string, file?: any, options?: any): AxiosPromise<ListBankTransactionsResponseClass>;
160
+ importBankTransactions(file: any, authorization?: string, options?: any): AxiosPromise<void>;
157
161
  /**
158
162
  * Links a bank transaction with an invoice
159
- * @summary Link Bank Transaction
163
+ * @summary Link bank transaction
160
164
  * @param {string} code Code of the bank transaction to link
165
+ * @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
161
166
  * @param {string} [authorization] Bearer Token
162
167
  * @param {*} [options] Override http request option.
163
168
  * @throws {RequiredError}
164
169
  */
165
- linkBankTransaction(code: string, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass>;
170
+ linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<void>;
166
171
  /**
167
- * 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.
172
+ * 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.
168
173
  * @summary List bank transactions
169
174
  * @param {string} [authorization] Bearer Token
170
175
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
171
176
  * @param {any} [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.
172
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
173
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
174
- * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
175
- * @param {string} [expand] Expand the response with additional entities
176
- * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
177
+ * @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, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
178
+ * @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;
179
+ * @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, amount, transactionDate, entryDate&lt;/i&gt;
180
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount, transaction.&lt;i&gt;
181
+ * @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, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
177
182
  * @param {*} [options] Override http request option.
178
183
  * @throws {RequiredError}
179
184
  */
180
- listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options?: any): AxiosPromise<ListBankTransactionsResponseClass>;
185
+ listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void>;
181
186
  /**
182
187
  * Unlinks an already linked bank transaction
183
- * @summary Unlink Bank Transaction
188
+ * @summary Unlink bank transaction
184
189
  * @param {string} code Code of the bank transaction to unlink
190
+ * @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
185
191
  * @param {string} [authorization] Bearer Token
186
192
  * @param {*} [options] Override http request option.
187
193
  * @throws {RequiredError}
188
194
  */
189
- unlinkBankTransaction(code: string, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass>;
195
+ unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<void>;
190
196
  };
191
197
  /**
192
198
  * Request parameters for getBankTransaction operation in BankTransactionApi.
@@ -195,7 +201,7 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
195
201
  */
196
202
  export interface BankTransactionApiGetBankTransactionRequest {
197
203
  /**
198
- *
204
+ * Unique identifier for the object.
199
205
  * @type {string}
200
206
  * @memberof BankTransactionApiGetBankTransaction
201
207
  */
@@ -207,7 +213,7 @@ export interface BankTransactionApiGetBankTransactionRequest {
207
213
  */
208
214
  readonly authorization?: string;
209
215
  /**
210
- * Expand the response with additional entities
216
+ * 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.&lt;i&gt;
211
217
  * @type {string}
212
218
  * @memberof BankTransactionApiGetBankTransaction
213
219
  */
@@ -220,17 +226,17 @@ export interface BankTransactionApiGetBankTransactionRequest {
220
226
  */
221
227
  export interface BankTransactionApiImportBankTransactionsRequest {
222
228
  /**
223
- * Bearer Token
224
- * @type {string}
229
+ * Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream
230
+ * @type {any}
225
231
  * @memberof BankTransactionApiImportBankTransactions
226
232
  */
227
- readonly authorization?: string;
233
+ readonly file: any;
228
234
  /**
229
- *
230
- * @type {any}
235
+ * Bearer Token
236
+ * @type {string}
231
237
  * @memberof BankTransactionApiImportBankTransactions
232
238
  */
233
- readonly file?: any;
239
+ readonly authorization?: string;
234
240
  }
235
241
  /**
236
242
  * Request parameters for linkBankTransaction operation in BankTransactionApi.
@@ -244,6 +250,12 @@ export interface BankTransactionApiLinkBankTransactionRequest {
244
250
  * @memberof BankTransactionApiLinkBankTransaction
245
251
  */
246
252
  readonly code: string;
253
+ /**
254
+ *
255
+ * @type {LinkBankTransactionRequestDtoRest}
256
+ * @memberof BankTransactionApiLinkBankTransaction
257
+ */
258
+ readonly linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest;
247
259
  /**
248
260
  * Bearer Token
249
261
  * @type {string}
@@ -276,35 +288,35 @@ export interface BankTransactionApiListBankTransactionsRequest {
276
288
  */
277
289
  readonly pageToken?: any;
278
290
  /**
279
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
280
- * @type {any}
291
+ * 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, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
292
+ * @type {string}
281
293
  * @memberof BankTransactionApiListBankTransactions
282
294
  */
283
- readonly filter?: any;
295
+ readonly filter?: string;
284
296
  /**
285
- * Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
286
- * @type {any}
297
+ * 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;
298
+ * @type {string}
287
299
  * @memberof BankTransactionApiListBankTransactions
288
300
  */
289
- readonly search?: any;
301
+ readonly search?: string;
290
302
  /**
291
- * The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
292
- * @type {any}
303
+ * 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, amount, transactionDate, entryDate&lt;/i&gt;
304
+ * @type {string}
293
305
  * @memberof BankTransactionApiListBankTransactions
294
306
  */
295
- readonly order?: any;
307
+ readonly order?: string;
296
308
  /**
297
- * Expand the response with additional entities
309
+ * 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.&lt;i&gt;
298
310
  * @type {string}
299
311
  * @memberof BankTransactionApiListBankTransactions
300
312
  */
301
313
  readonly expand?: string;
302
314
  /**
303
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
304
- * @type {any}
315
+ * 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, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
316
+ * @type {string}
305
317
  * @memberof BankTransactionApiListBankTransactions
306
318
  */
307
- readonly filters?: any;
319
+ readonly filters?: string;
308
320
  }
309
321
  /**
310
322
  * Request parameters for unlinkBankTransaction operation in BankTransactionApi.
@@ -318,6 +330,12 @@ export interface BankTransactionApiUnlinkBankTransactionRequest {
318
330
  * @memberof BankTransactionApiUnlinkBankTransaction
319
331
  */
320
332
  readonly code: string;
333
+ /**
334
+ *
335
+ * @type {UnlinkBankTransactionRequestDtoRest}
336
+ * @memberof BankTransactionApiUnlinkBankTransaction
337
+ */
338
+ readonly unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest;
321
339
  /**
322
340
  * Bearer Token
323
341
  * @type {string}
@@ -333,48 +351,48 @@ export interface BankTransactionApiUnlinkBankTransactionRequest {
333
351
  */
334
352
  export declare class BankTransactionApi extends BaseAPI {
335
353
  /**
336
- * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
337
- * @summary Retrieve the Bank Transaction
354
+ * Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code that was returned when you created it and Emil Api will return the corresponding bank transaction information.
355
+ * @summary Retrieve the bank transaction
338
356
  * @param {BankTransactionApiGetBankTransactionRequest} requestParameters Request parameters.
339
357
  * @param {*} [options] Override http request option.
340
358
  * @throws {RequiredError}
341
359
  * @memberof BankTransactionApi
342
360
  */
343
- getBankTransaction(requestParameters: BankTransactionApiGetBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBankTransactionsResponseClass, any>>;
361
+ getBankTransaction(requestParameters: BankTransactionApiGetBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
344
362
  /**
345
- * Import bank transactions from a swift MT940 file
363
+ * This will import bank transactions from a swift MT940 file
346
364
  * @summary Create the bank transactions
347
365
  * @param {BankTransactionApiImportBankTransactionsRequest} requestParameters Request parameters.
348
366
  * @param {*} [options] Override http request option.
349
367
  * @throws {RequiredError}
350
368
  * @memberof BankTransactionApi
351
369
  */
352
- importBankTransactions(requestParameters?: BankTransactionApiImportBankTransactionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListBankTransactionsResponseClass, any>>;
370
+ importBankTransactions(requestParameters: BankTransactionApiImportBankTransactionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
353
371
  /**
354
372
  * Links a bank transaction with an invoice
355
- * @summary Link Bank Transaction
373
+ * @summary Link bank transaction
356
374
  * @param {BankTransactionApiLinkBankTransactionRequest} requestParameters Request parameters.
357
375
  * @param {*} [options] Override http request option.
358
376
  * @throws {RequiredError}
359
377
  * @memberof BankTransactionApi
360
378
  */
361
- linkBankTransaction(requestParameters: BankTransactionApiLinkBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBankTransactionsResponseClass, any>>;
379
+ linkBankTransaction(requestParameters: BankTransactionApiLinkBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
362
380
  /**
363
- * 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.
381
+ * 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.
364
382
  * @summary List bank transactions
365
383
  * @param {BankTransactionApiListBankTransactionsRequest} requestParameters Request parameters.
366
384
  * @param {*} [options] Override http request option.
367
385
  * @throws {RequiredError}
368
386
  * @memberof BankTransactionApi
369
387
  */
370
- listBankTransactions(requestParameters?: BankTransactionApiListBankTransactionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListBankTransactionsResponseClass, any>>;
388
+ listBankTransactions(requestParameters?: BankTransactionApiListBankTransactionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
371
389
  /**
372
390
  * Unlinks an already linked bank transaction
373
- * @summary Unlink Bank Transaction
391
+ * @summary Unlink bank transaction
374
392
  * @param {BankTransactionApiUnlinkBankTransactionRequest} requestParameters Request parameters.
375
393
  * @param {*} [options] Override http request option.
376
394
  * @throws {RequiredError}
377
395
  * @memberof BankTransactionApi
378
396
  */
379
- unlinkBankTransaction(requestParameters: BankTransactionApiUnlinkBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBankTransactionsResponseClass, any>>;
397
+ unlinkBankTransaction(requestParameters: BankTransactionApiUnlinkBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
380
398
  }