@emilgroup/payment-sdk 1.13.1-beta.8 → 1.13.1-beta.81

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 (140) hide show
  1. package/.openapi-generator/FILES +20 -1
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +55 -13
  4. package/api/bank-orders-api.ts +691 -0
  5. package/api/bank-transaction-api.ts +177 -63
  6. package/api/payment-methods-api.ts +59 -17
  7. package/api/payment-reminders-api.ts +55 -13
  8. package/api/payments-api.ts +188 -21
  9. package/api/refunds-api.ts +45 -17
  10. package/api/tenant-bank-account-api.ts +45 -17
  11. package/api.ts +2 -0
  12. package/base.ts +52 -3
  13. package/dist/api/bank-accounts-api.d.ts +35 -8
  14. package/dist/api/bank-accounts-api.js +29 -11
  15. package/dist/api/bank-orders-api.d.ts +393 -0
  16. package/dist/api/bank-orders-api.js +642 -0
  17. package/dist/api/bank-transaction-api.d.ts +110 -46
  18. package/dist/api/bank-transaction-api.js +141 -44
  19. package/dist/api/payment-methods-api.d.ts +39 -12
  20. package/dist/api/payment-methods-api.js +32 -14
  21. package/dist/api/payment-reminders-api.d.ts +35 -8
  22. package/dist/api/payment-reminders-api.js +29 -11
  23. package/dist/api/payments-api.d.ts +112 -16
  24. package/dist/api/payments-api.js +141 -18
  25. package/dist/api/refunds-api.d.ts +28 -10
  26. package/dist/api/refunds-api.js +24 -12
  27. package/dist/api/tenant-bank-account-api.d.ts +28 -10
  28. package/dist/api/tenant-bank-account-api.js +24 -12
  29. package/dist/api.d.ts +1 -0
  30. package/dist/api.js +1 -0
  31. package/dist/base.d.ts +10 -1
  32. package/dist/base.js +46 -2
  33. package/dist/models/bank-order-class.d.ts +115 -0
  34. package/dist/models/bank-transaction-class-without-expand-properties.d.ts +30 -11
  35. package/dist/models/bank-transaction-class-without-expand-properties.js +5 -0
  36. package/dist/models/bank-transaction-class.d.ts +47 -14
  37. package/dist/models/bank-transaction-class.js +5 -0
  38. package/dist/models/bank-transaction-invoice-class.d.ts +54 -0
  39. package/dist/models/bank-transaction-invoice-class.js +15 -0
  40. package/dist/models/bank-transfer-dto.d.ts +25 -0
  41. package/dist/models/bank-transfer-dto.js +15 -0
  42. package/dist/models/billing-address-dto.d.ts +48 -0
  43. package/dist/models/billing-address-dto.js +15 -0
  44. package/dist/models/complete-adyen-payment-setup-request-dto.d.ts +2 -0
  45. package/dist/models/complete-adyen-payment-setup-request-dto.js +3 -1
  46. package/dist/models/complete-eis-payment-setup-request-dto.d.ts +36 -0
  47. package/dist/models/complete-eis-payment-setup-request-dto.js +15 -0
  48. package/dist/models/complete-payment-setup-request-dto.d.ts +7 -0
  49. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +2 -0
  50. package/dist/models/complete-stripe-payment-setup-request-dto.js +3 -1
  51. package/dist/models/create-bank-order-request-dto.d.ts +74 -0
  52. package/dist/models/create-bank-order-request-dto.js +28 -0
  53. package/dist/models/create-bank-order-response-class.d.ts +25 -0
  54. package/dist/models/create-bank-order-response-class.js +15 -0
  55. package/dist/models/create-payment-order-dto.d.ts +48 -0
  56. package/dist/models/create-payment-order-dto.js +15 -0
  57. package/dist/models/create-payment-order-request-dto.d.ts +48 -0
  58. package/dist/models/create-payment-order-request-dto.js +15 -0
  59. package/dist/models/create-payment-reminder-request-dto.d.ts +7 -1
  60. package/dist/models/create-payment-request-dto.d.ts +7 -1
  61. package/dist/models/create-psp-payment-method-request-dto.d.ts +22 -1
  62. package/dist/models/create-psp-payment-method-request-dto.js +3 -1
  63. package/dist/models/deactivated-payment-reminder-class.d.ts +7 -1
  64. package/dist/models/financial-account-class.d.ts +111 -0
  65. package/dist/models/financial-account-class.js +24 -0
  66. package/dist/models/generate-invoice-match-suggestions-response-class.d.ts +25 -0
  67. package/dist/models/generate-invoice-match-suggestions-response-class.js +15 -0
  68. package/dist/models/get-bank-order-response-class.d.ts +25 -0
  69. package/dist/models/get-bank-order-response-class.js +15 -0
  70. package/dist/models/index.d.ts +19 -1
  71. package/dist/models/index.js +19 -1
  72. package/dist/models/initiate-adyen-payment-setup-request-dto.d.ts +6 -0
  73. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +6 -0
  74. package/dist/models/initiate-eis-payment-setup-request-dto.d.ts +36 -0
  75. package/dist/models/initiate-eis-payment-setup-request-dto.js +15 -0
  76. package/dist/models/initiate-payment-setup-request-dto.d.ts +3 -2
  77. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +6 -0
  78. package/dist/models/{unlink-bank-transaction-request-dto-rest.d.ts → invoice-allocation-dto.d.ts} +10 -4
  79. package/dist/models/invoice-allocation-dto.js +15 -0
  80. package/dist/models/invoice-match-suggestion-class.d.ts +60 -0
  81. package/dist/models/invoice-match-suggestion-class.js +15 -0
  82. package/dist/models/link-bank-transaction-request-dto-rest.d.ts +4 -3
  83. package/dist/models/list-bank-orders-response-class.d.ts +31 -0
  84. package/dist/models/list-bank-orders-response-class.js +15 -0
  85. package/dist/models/payment-class-without-expand-properties.d.ts +7 -1
  86. package/dist/models/payment-class.d.ts +7 -1
  87. package/dist/models/payment-method-class.d.ts +6 -0
  88. package/dist/models/payment-reminder-class.d.ts +7 -1
  89. package/dist/models/refund-class.d.ts +7 -1
  90. package/dist/models/suggestion-generation-progress-class.d.ts +43 -0
  91. package/dist/models/suggestion-generation-progress-class.js +22 -0
  92. package/dist/models/unlinked-bank-transaction-response-class.d.ts +33 -2
  93. package/dist/models/unlinked-bank-transaction-response-class.js +5 -0
  94. package/dist/models/update-bank-order-request-dto.d.ts +62 -0
  95. package/dist/models/update-bank-order-request-dto.js +23 -0
  96. package/dist/models/update-bank-order-response-class.d.ts +25 -0
  97. package/dist/models/update-bank-order-response-class.js +15 -0
  98. package/models/bank-order-class.ts +121 -0
  99. package/models/bank-transaction-class-without-expand-properties.ts +33 -11
  100. package/models/bank-transaction-class.ts +50 -14
  101. package/models/bank-transaction-invoice-class.ts +60 -0
  102. package/models/bank-transfer-dto.ts +31 -0
  103. package/models/billing-address-dto.ts +54 -0
  104. package/models/complete-adyen-payment-setup-request-dto.ts +3 -1
  105. package/models/complete-eis-payment-setup-request-dto.ts +42 -0
  106. package/models/complete-payment-setup-request-dto.ts +7 -0
  107. package/models/complete-stripe-payment-setup-request-dto.ts +3 -1
  108. package/models/create-bank-order-request-dto.ts +84 -0
  109. package/models/create-bank-order-response-class.ts +31 -0
  110. package/models/create-payment-order-dto.ts +54 -0
  111. package/models/create-payment-order-request-dto.ts +54 -0
  112. package/models/create-payment-reminder-request-dto.ts +7 -1
  113. package/models/create-payment-request-dto.ts +7 -1
  114. package/models/create-psp-payment-method-request-dto.ts +23 -2
  115. package/models/deactivated-payment-reminder-class.ts +7 -1
  116. package/models/financial-account-class.ts +120 -0
  117. package/models/generate-invoice-match-suggestions-response-class.ts +31 -0
  118. package/models/get-bank-order-response-class.ts +31 -0
  119. package/models/index.ts +19 -1
  120. package/models/initiate-adyen-payment-setup-request-dto.ts +6 -0
  121. package/models/initiate-braintree-payment-setup-request-dto.ts +6 -0
  122. package/models/initiate-eis-payment-setup-request-dto.ts +42 -0
  123. package/models/initiate-payment-setup-request-dto.ts +3 -2
  124. package/models/initiate-stripe-payment-setup-request-dto.ts +6 -0
  125. package/models/{unlink-bank-transaction-request-dto-rest.ts → invoice-allocation-dto.ts} +10 -4
  126. package/models/invoice-match-suggestion-class.ts +66 -0
  127. package/models/link-bank-transaction-request-dto-rest.ts +4 -3
  128. package/models/list-bank-orders-response-class.ts +37 -0
  129. package/models/payment-class-without-expand-properties.ts +7 -1
  130. package/models/payment-class.ts +7 -1
  131. package/models/payment-method-class.ts +6 -0
  132. package/models/payment-reminder-class.ts +7 -1
  133. package/models/refund-class.ts +7 -1
  134. package/models/suggestion-generation-progress-class.ts +52 -0
  135. package/models/unlinked-bank-transaction-response-class.ts +36 -2
  136. package/models/update-bank-order-request-dto.ts +71 -0
  137. package/models/update-bank-order-response-class.ts +31 -0
  138. package/package.json +1 -1
  139. package/tsconfig.json +1 -0
  140. /package/dist/models/{unlink-bank-transaction-request-dto-rest.js → bank-order-class.js} +0 -0
@@ -12,32 +12,41 @@
12
12
  import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
+ import { GenerateInvoiceMatchSuggestionsResponseClass } from '../models';
15
16
  import { GetBankTransactionsResponseClass } from '../models';
16
17
  import { ImportBankTransactionsResponseClass } from '../models';
17
18
  import { LinkBankTransactionRequestDtoRest } from '../models';
18
19
  import { LinkBankTransactionsResponseClass } from '../models';
19
20
  import { ListBankTransactionsResponseClass } from '../models';
20
- import { UnlinkBankTransactionRequestDtoRest } from '../models';
21
21
  import { UnlinkBankTransactionsResponseClass } from '../models';
22
22
  /**
23
23
  * BankTransactionApi - axios parameter creator
24
24
  * @export
25
25
  */
26
26
  export declare const BankTransactionApiAxiosParamCreator: (configuration?: Configuration) => {
27
+ /**
28
+ * Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.view\"
29
+ * @summary Invoice Match Suggestion
30
+ * @param {string} code Code of the bank transaction to generate match suggestions for
31
+ * @param {string} [authorization] Bearer Token
32
+ * @param {*} [options] Override http request option.
33
+ * @throws {RequiredError}
34
+ */
35
+ generateInvoiceMatchSuggestion: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
27
36
  /**
28
37
  * 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. **Required Permissions** \"payment-management.bank-accounts.view\"
29
38
  * @summary Retrieve the bank transaction
30
39
  * @param {string} code
31
40
  * @param {string} [authorization] Bearer Token
32
- * @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;
41
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices&lt;i&gt;
33
42
  * @param {*} [options] Override http request option.
34
43
  * @throws {RequiredError}
35
44
  */
36
45
  getBankTransaction: (code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
37
46
  /**
38
- * This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
47
+ * This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
39
48
  * @summary Create the bank transactions
40
- * @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
49
+ * @param {any} file MT940/CAMT.053 file to import bank transactions from. Extension must be .txt .sta or .xml.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream, application/xml, text/xml
41
50
  * @param {string} [authorization] Bearer Token
42
51
  * @param {*} [options] Override http request option.
43
52
  * @throws {RequiredError}
@@ -57,45 +66,55 @@ export declare const BankTransactionApiAxiosParamCreator: (configuration?: Confi
57
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\"
58
67
  * @summary List bank transactions
59
68
  * @param {string} [authorization] Bearer Token
60
- * @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;
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;
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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
71
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
62
72
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: id, createdAt, amount&lt;/i&gt;
63
- * @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;
64
- * @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;
73
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, transactionDate, entryDate&lt;/i&gt;
74
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices&lt;i&gt;
75
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
65
76
  * @param {*} [options] Override http request option.
66
77
  * @throws {RequiredError}
67
78
  */
68
- 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>;
69
80
  /**
70
81
  * Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
71
82
  * @summary Unlink bank transaction
72
83
  * @param {string} code Code of the bank transaction to unlink
73
- * @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
74
84
  * @param {string} [authorization] Bearer Token
75
85
  * @param {*} [options] Override http request option.
76
86
  * @throws {RequiredError}
77
87
  */
78
- unlinkBankTransaction: (code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
88
+ unlinkBankTransaction: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
79
89
  };
80
90
  /**
81
91
  * BankTransactionApi - functional programming interface
82
92
  * @export
83
93
  */
84
94
  export declare const BankTransactionApiFp: (configuration?: Configuration) => {
95
+ /**
96
+ * Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.view\"
97
+ * @summary Invoice Match Suggestion
98
+ * @param {string} code Code of the bank transaction to generate match suggestions for
99
+ * @param {string} [authorization] Bearer Token
100
+ * @param {*} [options] Override http request option.
101
+ * @throws {RequiredError}
102
+ */
103
+ generateInvoiceMatchSuggestion(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GenerateInvoiceMatchSuggestionsResponseClass>>;
85
104
  /**
86
105
  * 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. **Required Permissions** \"payment-management.bank-accounts.view\"
87
106
  * @summary Retrieve the bank transaction
88
107
  * @param {string} code
89
108
  * @param {string} [authorization] Bearer Token
90
- * @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;
109
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices&lt;i&gt;
91
110
  * @param {*} [options] Override http request option.
92
111
  * @throws {RequiredError}
93
112
  */
94
113
  getBankTransaction(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>>;
95
114
  /**
96
- * This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
115
+ * This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
97
116
  * @summary Create the bank transactions
98
- * @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
117
+ * @param {any} file MT940/CAMT.053 file to import bank transactions from. Extension must be .txt .sta or .xml.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream, application/xml, text/xml
99
118
  * @param {string} [authorization] Bearer Token
100
119
  * @param {*} [options] Override http request option.
101
120
  * @throws {RequiredError}
@@ -115,45 +134,55 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
115
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\"
116
135
  * @summary List bank transactions
117
136
  * @param {string} [authorization] Bearer Token
118
- * @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;
119
- * @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;
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.
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;
120
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;
121
- * @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;
122
- * @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;
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;
142
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices&lt;i&gt;
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;
123
144
  * @param {*} [options] Override http request option.
124
145
  * @throws {RequiredError}
125
146
  */
126
- 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>>;
127
148
  /**
128
149
  * Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
129
150
  * @summary Unlink bank transaction
130
151
  * @param {string} code Code of the bank transaction to unlink
131
- * @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
132
152
  * @param {string} [authorization] Bearer Token
133
153
  * @param {*} [options] Override http request option.
134
154
  * @throws {RequiredError}
135
155
  */
136
- 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>>;
137
157
  };
138
158
  /**
139
159
  * BankTransactionApi - factory interface
140
160
  * @export
141
161
  */
142
162
  export declare const BankTransactionApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
163
+ /**
164
+ * Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.view\"
165
+ * @summary Invoice Match Suggestion
166
+ * @param {string} code Code of the bank transaction to generate match suggestions for
167
+ * @param {string} [authorization] Bearer Token
168
+ * @param {*} [options] Override http request option.
169
+ * @throws {RequiredError}
170
+ */
171
+ generateInvoiceMatchSuggestion(code: string, authorization?: string, options?: any): AxiosPromise<GenerateInvoiceMatchSuggestionsResponseClass>;
143
172
  /**
144
173
  * 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. **Required Permissions** \"payment-management.bank-accounts.view\"
145
174
  * @summary Retrieve the bank transaction
146
175
  * @param {string} code
147
176
  * @param {string} [authorization] Bearer Token
148
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount, transaction&lt;i&gt;
177
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices&lt;i&gt;
149
178
  * @param {*} [options] Override http request option.
150
179
  * @throws {RequiredError}
151
180
  */
152
181
  getBankTransaction(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass>;
153
182
  /**
154
- * This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
183
+ * This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
155
184
  * @summary Create the bank transactions
156
- * @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
185
+ * @param {any} file MT940/CAMT.053 file to import bank transactions from. Extension must be .txt .sta or .xml.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream, application/xml, text/xml
157
186
  * @param {string} [authorization] Bearer Token
158
187
  * @param {*} [options] Override http request option.
159
188
  * @throws {RequiredError}
@@ -173,26 +202,46 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
173
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\"
174
203
  * @summary List bank transactions
175
204
  * @param {string} [authorization] Bearer Token
176
- * @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;
177
- * @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;
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.
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;
178
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;
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;
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;
210
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices&lt;i&gt;
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;
181
212
  * @param {*} [options] Override http request option.
182
213
  * @throws {RequiredError}
183
214
  */
184
- 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>;
185
216
  /**
186
217
  * Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
187
218
  * @summary Unlink bank transaction
188
219
  * @param {string} code Code of the bank transaction to unlink
189
- * @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
190
220
  * @param {string} [authorization] Bearer Token
191
221
  * @param {*} [options] Override http request option.
192
222
  * @throws {RequiredError}
193
223
  */
194
- unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<UnlinkBankTransactionsResponseClass>;
224
+ unlinkBankTransaction(code: string, authorization?: string, options?: any): AxiosPromise<UnlinkBankTransactionsResponseClass>;
195
225
  };
226
+ /**
227
+ * Request parameters for generateInvoiceMatchSuggestion operation in BankTransactionApi.
228
+ * @export
229
+ * @interface BankTransactionApiGenerateInvoiceMatchSuggestionRequest
230
+ */
231
+ export interface BankTransactionApiGenerateInvoiceMatchSuggestionRequest {
232
+ /**
233
+ * Code of the bank transaction to generate match suggestions for
234
+ * @type {string}
235
+ * @memberof BankTransactionApiGenerateInvoiceMatchSuggestion
236
+ */
237
+ readonly code: string;
238
+ /**
239
+ * Bearer Token
240
+ * @type {string}
241
+ * @memberof BankTransactionApiGenerateInvoiceMatchSuggestion
242
+ */
243
+ readonly authorization?: string;
244
+ }
196
245
  /**
197
246
  * Request parameters for getBankTransaction operation in BankTransactionApi.
198
247
  * @export
@@ -212,7 +261,7 @@ export interface BankTransactionApiGetBankTransactionRequest {
212
261
  */
213
262
  readonly authorization?: string;
214
263
  /**
215
- * 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;
264
+ * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices&lt;i&gt;
216
265
  * @type {string}
217
266
  * @memberof BankTransactionApiGetBankTransaction
218
267
  */
@@ -225,7 +274,7 @@ export interface BankTransactionApiGetBankTransactionRequest {
225
274
  */
226
275
  export interface BankTransactionApiImportBankTransactionsRequest {
227
276
  /**
228
- * 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
277
+ * MT940/CAMT.053 file to import bank transactions from. Extension must be .txt .sta or .xml.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream, application/xml, text/xml
229
278
  * @type {any}
230
279
  * @memberof BankTransactionApiImportBankTransactions
231
280
  */
@@ -275,17 +324,23 @@ export interface BankTransactionApiListBankTransactionsRequest {
275
324
  */
276
325
  readonly authorization?: string;
277
326
  /**
278
- * 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;
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.
279
334
  * @type {string}
280
335
  * @memberof BankTransactionApiListBankTransactions
281
336
  */
282
- readonly filter?: string;
337
+ readonly pageToken?: string;
283
338
  /**
284
- * 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;
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;
285
340
  * @type {string}
286
341
  * @memberof BankTransactionApiListBankTransactions
287
342
  */
288
- readonly filters?: string;
343
+ readonly filter?: string;
289
344
  /**
290
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;
291
346
  * @type {string}
@@ -293,17 +348,23 @@ export interface BankTransactionApiListBankTransactionsRequest {
293
348
  */
294
349
  readonly search?: string;
295
350
  /**
296
- * 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;
351
+ * 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;
297
352
  * @type {string}
298
353
  * @memberof BankTransactionApiListBankTransactions
299
354
  */
300
355
  readonly order?: string;
301
356
  /**
302
- * 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;
357
+ * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices&lt;i&gt;
303
358
  * @type {string}
304
359
  * @memberof BankTransactionApiListBankTransactions
305
360
  */
306
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;
307
368
  }
308
369
  /**
309
370
  * Request parameters for unlinkBankTransaction operation in BankTransactionApi.
@@ -317,12 +378,6 @@ export interface BankTransactionApiUnlinkBankTransactionRequest {
317
378
  * @memberof BankTransactionApiUnlinkBankTransaction
318
379
  */
319
380
  readonly code: string;
320
- /**
321
- *
322
- * @type {UnlinkBankTransactionRequestDtoRest}
323
- * @memberof BankTransactionApiUnlinkBankTransaction
324
- */
325
- readonly unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest;
326
381
  /**
327
382
  * Bearer Token
328
383
  * @type {string}
@@ -337,6 +392,15 @@ export interface BankTransactionApiUnlinkBankTransactionRequest {
337
392
  * @extends {BaseAPI}
338
393
  */
339
394
  export declare class BankTransactionApi extends BaseAPI {
395
+ /**
396
+ * Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.view\"
397
+ * @summary Invoice Match Suggestion
398
+ * @param {BankTransactionApiGenerateInvoiceMatchSuggestionRequest} requestParameters Request parameters.
399
+ * @param {*} [options] Override http request option.
400
+ * @throws {RequiredError}
401
+ * @memberof BankTransactionApi
402
+ */
403
+ generateInvoiceMatchSuggestion(requestParameters: BankTransactionApiGenerateInvoiceMatchSuggestionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GenerateInvoiceMatchSuggestionsResponseClass, any>>;
340
404
  /**
341
405
  * 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. **Required Permissions** \"payment-management.bank-accounts.view\"
342
406
  * @summary Retrieve the bank transaction
@@ -347,7 +411,7 @@ export declare class BankTransactionApi extends BaseAPI {
347
411
  */
348
412
  getBankTransaction(requestParameters: BankTransactionApiGetBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBankTransactionsResponseClass, any>>;
349
413
  /**
350
- * This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
414
+ * This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
351
415
  * @summary Create the bank transactions
352
416
  * @param {BankTransactionApiImportBankTransactionsRequest} requestParameters Request parameters.
353
417
  * @param {*} [options] Override http request option.