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

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.
@@ -12,7 +12,6 @@
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';
16
15
  import { GetBankTransactionsResponseClass } from '../models';
17
16
  import { ImportBankTransactionsResponseClass } from '../models';
18
17
  import { LinkBankTransactionRequestDtoRest } from '../models';
@@ -25,29 +24,20 @@ import { UnlinkBankTransactionsResponseClass } from '../models';
25
24
  * @export
26
25
  */
27
26
  export declare const BankTransactionApiAxiosParamCreator: (configuration?: Configuration) => {
28
- /**
29
- * Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.view\"
30
- * @summary Invoice Match Suggestion
31
- * @param {string} code Code of the bank transaction to generate match suggestions for
32
- * @param {string} [authorization] Bearer Token
33
- * @param {*} [options] Override http request option.
34
- * @throws {RequiredError}
35
- */
36
- generateInvoiceMatchSuggestion: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
37
27
  /**
38
28
  * 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\"
39
29
  * @summary Retrieve the bank transaction
40
30
  * @param {string} code
41
31
  * @param {string} [authorization] Bearer Token
42
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress&lt;i&gt;
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;
43
33
  * @param {*} [options] Override http request option.
44
34
  * @throws {RequiredError}
45
35
  */
46
36
  getBankTransaction: (code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
47
37
  /**
48
- * This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
38
+ * This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
49
39
  * @summary Create the bank transactions
50
- * @param {any} file MT940/CAMT.053 file to import bank transactions from. Extension must be .txt .sta or .xml.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream, application/xml
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
51
41
  * @param {string} [authorization] Bearer Token
52
42
  * @param {*} [options] Override http request option.
53
43
  * @throws {RequiredError}
@@ -67,11 +57,11 @@ export declare const BankTransactionApiAxiosParamCreator: (configuration?: Confi
67
57
  * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
68
58
  * @summary List bank transactions
69
59
  * @param {string} [authorization] Bearer Token
70
- * @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;
71
- * @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;
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;
72
62
  * @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;
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&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;
75
65
  * @param {*} [options] Override http request option.
76
66
  * @throws {RequiredError}
77
67
  */
@@ -92,29 +82,20 @@ export declare const BankTransactionApiAxiosParamCreator: (configuration?: Confi
92
82
  * @export
93
83
  */
94
84
  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>>;
104
85
  /**
105
86
  * 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\"
106
87
  * @summary Retrieve the bank transaction
107
88
  * @param {string} code
108
89
  * @param {string} [authorization] Bearer Token
109
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress&lt;i&gt;
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;
110
91
  * @param {*} [options] Override http request option.
111
92
  * @throws {RequiredError}
112
93
  */
113
94
  getBankTransaction(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>>;
114
95
  /**
115
- * This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
96
+ * This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
116
97
  * @summary Create the bank transactions
117
- * @param {any} file MT940/CAMT.053 file to import bank transactions from. Extension must be .txt .sta or .xml.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream, application/xml
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
118
99
  * @param {string} [authorization] Bearer Token
119
100
  * @param {*} [options] Override http request option.
120
101
  * @throws {RequiredError}
@@ -134,11 +115,11 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
134
115
  * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
135
116
  * @summary List bank transactions
136
117
  * @param {string} [authorization] Bearer Token
137
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
138
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
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;
139
120
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: id, createdAt, amount&lt;/i&gt;
140
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, transactionDate, entryDate&lt;/i&gt;
141
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress&lt;i&gt;
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;
142
123
  * @param {*} [options] Override http request option.
143
124
  * @throws {RequiredError}
144
125
  */
@@ -159,29 +140,20 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
159
140
  * @export
160
141
  */
161
142
  export declare const BankTransactionApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
162
- /**
163
- * Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.view\"
164
- * @summary Invoice Match Suggestion
165
- * @param {string} code Code of the bank transaction to generate match suggestions for
166
- * @param {string} [authorization] Bearer Token
167
- * @param {*} [options] Override http request option.
168
- * @throws {RequiredError}
169
- */
170
- generateInvoiceMatchSuggestion(code: string, authorization?: string, options?: any): AxiosPromise<GenerateInvoiceMatchSuggestionsResponseClass>;
171
143
  /**
172
144
  * 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\"
173
145
  * @summary Retrieve the bank transaction
174
146
  * @param {string} code
175
147
  * @param {string} [authorization] Bearer Token
176
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress&lt;i&gt;
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
149
  * @param {*} [options] Override http request option.
178
150
  * @throws {RequiredError}
179
151
  */
180
152
  getBankTransaction(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass>;
181
153
  /**
182
- * This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
154
+ * This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
183
155
  * @summary Create the bank transactions
184
- * @param {any} file MT940/CAMT.053 file to import bank transactions from. Extension must be .txt .sta or .xml.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream, application/xml
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
157
  * @param {string} [authorization] Bearer Token
186
158
  * @param {*} [options] Override http request option.
187
159
  * @throws {RequiredError}
@@ -201,11 +173,11 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
201
173
  * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
202
174
  * @summary List bank transactions
203
175
  * @param {string} [authorization] Bearer Token
204
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
205
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
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;
206
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;
207
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, transactionDate, entryDate&lt;/i&gt;
208
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress&lt;i&gt;
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
181
  * @param {*} [options] Override http request option.
210
182
  * @throws {RequiredError}
211
183
  */
@@ -221,25 +193,6 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
221
193
  */
222
194
  unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<UnlinkBankTransactionsResponseClass>;
223
195
  };
224
- /**
225
- * Request parameters for generateInvoiceMatchSuggestion operation in BankTransactionApi.
226
- * @export
227
- * @interface BankTransactionApiGenerateInvoiceMatchSuggestionRequest
228
- */
229
- export interface BankTransactionApiGenerateInvoiceMatchSuggestionRequest {
230
- /**
231
- * Code of the bank transaction to generate match suggestions for
232
- * @type {string}
233
- * @memberof BankTransactionApiGenerateInvoiceMatchSuggestion
234
- */
235
- readonly code: string;
236
- /**
237
- * Bearer Token
238
- * @type {string}
239
- * @memberof BankTransactionApiGenerateInvoiceMatchSuggestion
240
- */
241
- readonly authorization?: string;
242
- }
243
196
  /**
244
197
  * Request parameters for getBankTransaction operation in BankTransactionApi.
245
198
  * @export
@@ -259,7 +212,7 @@ export interface BankTransactionApiGetBankTransactionRequest {
259
212
  */
260
213
  readonly authorization?: string;
261
214
  /**
262
- * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress&lt;i&gt;
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;
263
216
  * @type {string}
264
217
  * @memberof BankTransactionApiGetBankTransaction
265
218
  */
@@ -272,7 +225,7 @@ export interface BankTransactionApiGetBankTransactionRequest {
272
225
  */
273
226
  export interface BankTransactionApiImportBankTransactionsRequest {
274
227
  /**
275
- * MT940/CAMT.053 file to import bank transactions from. Extension must be .txt .sta or .xml.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream, application/xml
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
276
229
  * @type {any}
277
230
  * @memberof BankTransactionApiImportBankTransactions
278
231
  */
@@ -322,13 +275,13 @@ export interface BankTransactionApiListBankTransactionsRequest {
322
275
  */
323
276
  readonly authorization?: string;
324
277
  /**
325
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
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;
326
279
  * @type {string}
327
280
  * @memberof BankTransactionApiListBankTransactions
328
281
  */
329
282
  readonly filter?: string;
330
283
  /**
331
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
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;
332
285
  * @type {string}
333
286
  * @memberof BankTransactionApiListBankTransactions
334
287
  */
@@ -340,13 +293,13 @@ export interface BankTransactionApiListBankTransactionsRequest {
340
293
  */
341
294
  readonly search?: string;
342
295
  /**
343
- * 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;
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;
344
297
  * @type {string}
345
298
  * @memberof BankTransactionApiListBankTransactions
346
299
  */
347
300
  readonly order?: string;
348
301
  /**
349
- * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress&lt;i&gt;
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;
350
303
  * @type {string}
351
304
  * @memberof BankTransactionApiListBankTransactions
352
305
  */
@@ -384,15 +337,6 @@ export interface BankTransactionApiUnlinkBankTransactionRequest {
384
337
  * @extends {BaseAPI}
385
338
  */
386
339
  export declare class BankTransactionApi extends BaseAPI {
387
- /**
388
- * Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.view\"
389
- * @summary Invoice Match Suggestion
390
- * @param {BankTransactionApiGenerateInvoiceMatchSuggestionRequest} requestParameters Request parameters.
391
- * @param {*} [options] Override http request option.
392
- * @throws {RequiredError}
393
- * @memberof BankTransactionApi
394
- */
395
- generateInvoiceMatchSuggestion(requestParameters: BankTransactionApiGenerateInvoiceMatchSuggestionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GenerateInvoiceMatchSuggestionsResponseClass, any>>;
396
340
  /**
397
341
  * 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\"
398
342
  * @summary Retrieve the bank transaction
@@ -403,7 +347,7 @@ export declare class BankTransactionApi extends BaseAPI {
403
347
  */
404
348
  getBankTransaction(requestParameters: BankTransactionApiGetBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBankTransactionsResponseClass, any>>;
405
349
  /**
406
- * This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
350
+ * This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
407
351
  * @summary Create the bank transactions
408
352
  * @param {BankTransactionApiImportBankTransactionsRequest} requestParameters Request parameters.
409
353
  * @param {*} [options] Override http request option.
@@ -92,60 +92,12 @@ var base_1 = require("../base");
92
92
  var BankTransactionApiAxiosParamCreator = function (configuration) {
93
93
  var _this = this;
94
94
  return {
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: function (code, authorization, options) {
104
- if (options === void 0) { options = {}; }
105
- return __awaiter(_this, void 0, void 0, function () {
106
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
107
- return __generator(this, function (_a) {
108
- switch (_a.label) {
109
- case 0:
110
- // verify required parameter 'code' is not null or undefined
111
- (0, common_1.assertParamExists)('generateInvoiceMatchSuggestion', 'code', code);
112
- localVarPath = "/paymentservice/v1/tenant/bank-transactions/{code}/generate-invoice-match-suggestion"
113
- .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
114
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
115
- if (configuration) {
116
- baseOptions = configuration.baseOptions;
117
- baseAccessToken = configuration.accessToken;
118
- }
119
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
120
- localVarHeaderParameter = {};
121
- localVarQueryParameter = {};
122
- // authentication bearer required
123
- // http bearer authentication required
124
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
125
- case 1:
126
- // authentication bearer required
127
- // http bearer authentication required
128
- _a.sent();
129
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
130
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
131
- }
132
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
133
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
134
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
135
- return [2 /*return*/, {
136
- url: (0, common_1.toPathString)(localVarUrlObj),
137
- options: localVarRequestOptions,
138
- }];
139
- }
140
- });
141
- });
142
- },
143
95
  /**
144
96
  * 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
97
  * @summary Retrieve the bank transaction
146
98
  * @param {string} code
147
99
  * @param {string} [authorization] Bearer Token
148
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress&lt;i&gt;
100
+ * @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;
149
101
  * @param {*} [options] Override http request option.
150
102
  * @throws {RequiredError}
151
103
  */
@@ -193,9 +145,9 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
193
145
  });
194
146
  },
195
147
  /**
196
- * This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
148
+ * This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
197
149
  * @summary Create the bank transactions
198
- * @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
150
+ * @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
199
151
  * @param {string} [authorization] Bearer Token
200
152
  * @param {*} [options] Override http request option.
201
153
  * @throws {RequiredError}
@@ -301,11 +253,11 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
301
253
  * 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\"
302
254
  * @summary List bank transactions
303
255
  * @param {string} [authorization] Bearer Token
304
- * @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;
305
- * @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;
256
+ * @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;
257
+ * @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;
306
258
  * @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;
307
- * @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;
308
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress&lt;i&gt;
259
+ * @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;
260
+ * @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;
309
261
  * @param {*} [options] Override http request option.
310
262
  * @throws {RequiredError}
311
263
  */
@@ -424,33 +376,12 @@ exports.BankTransactionApiAxiosParamCreator = BankTransactionApiAxiosParamCreato
424
376
  var BankTransactionApiFp = function (configuration) {
425
377
  var localVarAxiosParamCreator = (0, exports.BankTransactionApiAxiosParamCreator)(configuration);
426
378
  return {
427
- /**
428
- * Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.view\"
429
- * @summary Invoice Match Suggestion
430
- * @param {string} code Code of the bank transaction to generate match suggestions for
431
- * @param {string} [authorization] Bearer Token
432
- * @param {*} [options] Override http request option.
433
- * @throws {RequiredError}
434
- */
435
- generateInvoiceMatchSuggestion: function (code, authorization, options) {
436
- return __awaiter(this, void 0, void 0, function () {
437
- var localVarAxiosArgs;
438
- return __generator(this, function (_a) {
439
- switch (_a.label) {
440
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.generateInvoiceMatchSuggestion(code, authorization, options)];
441
- case 1:
442
- localVarAxiosArgs = _a.sent();
443
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
444
- }
445
- });
446
- });
447
- },
448
379
  /**
449
380
  * 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\"
450
381
  * @summary Retrieve the bank transaction
451
382
  * @param {string} code
452
383
  * @param {string} [authorization] Bearer Token
453
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress&lt;i&gt;
384
+ * @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;
454
385
  * @param {*} [options] Override http request option.
455
386
  * @throws {RequiredError}
456
387
  */
@@ -468,9 +399,9 @@ var BankTransactionApiFp = function (configuration) {
468
399
  });
469
400
  },
470
401
  /**
471
- * This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
402
+ * This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
472
403
  * @summary Create the bank transactions
473
- * @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
404
+ * @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
474
405
  * @param {string} [authorization] Bearer Token
475
406
  * @param {*} [options] Override http request option.
476
407
  * @throws {RequiredError}
@@ -514,11 +445,11 @@ var BankTransactionApiFp = function (configuration) {
514
445
  * 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\"
515
446
  * @summary List bank transactions
516
447
  * @param {string} [authorization] Bearer Token
517
- * @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;
518
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
448
+ * @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;
449
+ * @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;
519
450
  * @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;
520
- * @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;
521
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress&lt;i&gt;
451
+ * @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;
452
+ * @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;
522
453
  * @param {*} [options] Override http request option.
523
454
  * @throws {RequiredError}
524
455
  */
@@ -567,23 +498,12 @@ exports.BankTransactionApiFp = BankTransactionApiFp;
567
498
  var BankTransactionApiFactory = function (configuration, basePath, axios) {
568
499
  var localVarFp = (0, exports.BankTransactionApiFp)(configuration);
569
500
  return {
570
- /**
571
- * Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.view\"
572
- * @summary Invoice Match Suggestion
573
- * @param {string} code Code of the bank transaction to generate match suggestions for
574
- * @param {string} [authorization] Bearer Token
575
- * @param {*} [options] Override http request option.
576
- * @throws {RequiredError}
577
- */
578
- generateInvoiceMatchSuggestion: function (code, authorization, options) {
579
- return localVarFp.generateInvoiceMatchSuggestion(code, authorization, options).then(function (request) { return request(axios, basePath); });
580
- },
581
501
  /**
582
502
  * 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\"
583
503
  * @summary Retrieve the bank transaction
584
504
  * @param {string} code
585
505
  * @param {string} [authorization] Bearer Token
586
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress&lt;i&gt;
506
+ * @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;
587
507
  * @param {*} [options] Override http request option.
588
508
  * @throws {RequiredError}
589
509
  */
@@ -591,9 +511,9 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
591
511
  return localVarFp.getBankTransaction(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
592
512
  },
593
513
  /**
594
- * This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
514
+ * This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
595
515
  * @summary Create the bank transactions
596
- * @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
516
+ * @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
597
517
  * @param {string} [authorization] Bearer Token
598
518
  * @param {*} [options] Override http request option.
599
519
  * @throws {RequiredError}
@@ -617,11 +537,11 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
617
537
  * 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\"
618
538
  * @summary List bank transactions
619
539
  * @param {string} [authorization] Bearer Token
620
- * @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;
621
- * @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;
540
+ * @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;
541
+ * @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;
622
542
  * @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;
623
- * @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;
624
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress&lt;i&gt;
543
+ * @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;
544
+ * @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;
625
545
  * @param {*} [options] Override http request option.
626
546
  * @throws {RequiredError}
627
547
  */
@@ -654,18 +574,6 @@ var BankTransactionApi = /** @class */ (function (_super) {
654
574
  function BankTransactionApi() {
655
575
  return _super !== null && _super.apply(this, arguments) || this;
656
576
  }
657
- /**
658
- * Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.view\"
659
- * @summary Invoice Match Suggestion
660
- * @param {BankTransactionApiGenerateInvoiceMatchSuggestionRequest} requestParameters Request parameters.
661
- * @param {*} [options] Override http request option.
662
- * @throws {RequiredError}
663
- * @memberof BankTransactionApi
664
- */
665
- BankTransactionApi.prototype.generateInvoiceMatchSuggestion = function (requestParameters, options) {
666
- var _this = this;
667
- return (0, exports.BankTransactionApiFp)(this.configuration).generateInvoiceMatchSuggestion(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
668
- };
669
577
  /**
670
578
  * 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\"
671
579
  * @summary Retrieve the bank transaction
@@ -679,7 +587,7 @@ var BankTransactionApi = /** @class */ (function (_super) {
679
587
  return (0, exports.BankTransactionApiFp)(this.configuration).getBankTransaction(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
680
588
  };
681
589
  /**
682
- * This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
590
+ * This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
683
591
  * @summary Create the bank transactions
684
592
  * @param {BankTransactionApiImportBankTransactionsRequest} requestParameters Request parameters.
685
593
  * @param {*} [options] Override http request option.
@@ -9,8 +9,6 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { InvoiceMatchSuggestionClass } from './invoice-match-suggestion-class';
13
- import { SuggestionGenerationProgressClass } from './suggestion-generation-progress-class';
14
12
  /**
15
13
  *
16
14
  * @export
@@ -42,11 +40,11 @@ export interface BankTransactionClassWithoutExpandProperties {
42
40
  */
43
41
  'bankAccountNumber': string;
44
42
  /**
45
- * Reference number derived from the MT940 or CAMT file
43
+ * Reference number derived from the MT940 swift Insturctions
46
44
  * @type {string}
47
45
  * @memberof BankTransactionClassWithoutExpandProperties
48
46
  */
49
- 'messageReference'?: string;
47
+ 'swiftMessageReference'?: string;
50
48
  /**
51
49
  * Currency of the transaction.
52
50
  * @type {string}
@@ -107,12 +105,6 @@ export interface BankTransactionClassWithoutExpandProperties {
107
105
  * @memberof BankTransactionClassWithoutExpandProperties
108
106
  */
109
107
  'isLinked': boolean;
110
- /**
111
- * The file format of the bank transaction
112
- * @type {string}
113
- * @memberof BankTransactionClassWithoutExpandProperties
114
- */
115
- 'importedFrom': string;
116
108
  /**
117
109
  * Time at which the object was created.
118
110
  * @type {string}
@@ -131,16 +123,4 @@ export interface BankTransactionClassWithoutExpandProperties {
131
123
  * @memberof BankTransactionClassWithoutExpandProperties
132
124
  */
133
125
  'updatedBy': string;
134
- /**
135
- * The match suggestions for invoices
136
- * @type {Array<InvoiceMatchSuggestionClass>}
137
- * @memberof BankTransactionClassWithoutExpandProperties
138
- */
139
- 'invoiceMatchSuggestions': Array<InvoiceMatchSuggestionClass>;
140
- /**
141
- * The progress of the suggestion generation
142
- * @type {SuggestionGenerationProgressClass}
143
- * @memberof BankTransactionClassWithoutExpandProperties
144
- */
145
- 'suggestionGenerationProgress'?: SuggestionGenerationProgressClass;
146
126
  }