@emilgroup/payment-sdk-node 1.21.1-beta.7 → 1.21.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.
@@ -45,7 +45,6 @@ models/create-tenant-bank-account-response-class.ts
45
45
  models/deactivate-payment-reminder-request-dto.ts
46
46
  models/deactivate-payment-reminder-response-class.ts
47
47
  models/deactivated-payment-reminder-class.ts
48
- models/generate-invoice-match-suggestions-response-class.ts
49
48
  models/get-bank-account-response-class.ts
50
49
  models/get-bank-transactions-response-class.ts
51
50
  models/get-payment-method-response-class.ts
@@ -65,7 +64,6 @@ models/initiate-stripe-payment-setup-request-dto.ts
65
64
  models/initiate-stripe-payment-setup-response-class.ts
66
65
  models/inline-response200.ts
67
66
  models/inline-response503.ts
68
- models/invoice-match-suggestion-class.ts
69
67
  models/link-bank-transaction-request-dto-rest.ts
70
68
  models/link-bank-transactions-response-class.ts
71
69
  models/list-bank-accounts-response-class.ts
@@ -85,7 +83,6 @@ models/refund-item-class.ts
85
83
  models/sepa-direct-dto.ts
86
84
  models/set-primary-bank-account-request-dto-rest.ts
87
85
  models/shared-transaction-class.ts
88
- models/suggestion-generation-progress-class.ts
89
86
  models/symphony-profile-limited-response-dto.ts
90
87
  models/tenant-bank-account-class-without-expand-properties.ts
91
88
  models/tenant-bank-account-class.ts
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/payment-sdk-node@1.21.1-beta.7 --save
20
+ npm install @emilgroup/payment-sdk-node@1.21.1-beta.8 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/payment-sdk-node@1.21.1-beta.7
24
+ yarn add @emilgroup/payment-sdk-node@1.21.1-beta.8
25
25
  ```
26
26
 
27
27
  And then you can import `PaymentsApi`.
@@ -21,8 +21,6 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
21
21
  // @ts-ignore
22
22
  import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
23
23
  // @ts-ignore
24
- import { GenerateInvoiceMatchSuggestionsResponseClass } from '../models';
25
- // @ts-ignore
26
24
  import { GetBankTransactionsResponseClass } from '../models';
27
25
  // @ts-ignore
28
26
  import { ImportBankTransactionsResponseClass } from '../models';
@@ -46,57 +44,12 @@ const FormData = require('form-data');
46
44
  */
47
45
  export const BankTransactionApiAxiosParamCreator = function (configuration?: Configuration) {
48
46
  return {
49
- /**
50
- * Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.view\"
51
- * @summary Invoice Match Suggestion
52
- * @param {string} code Code of the bank transaction to generate match suggestions for
53
- * @param {string} [authorization] Bearer Token
54
- * @param {*} [options] Override http request option.
55
- * @throws {RequiredError}
56
- */
57
- generateInvoiceMatchSuggestion: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
58
- // verify required parameter 'code' is not null or undefined
59
- assertParamExists('generateInvoiceMatchSuggestion', 'code', code)
60
- const localVarPath = `/paymentservice/v1/tenant/bank-transactions/{code}/generate-invoice-match-suggestion`
61
- .replace(`{${"code"}}`, encodeURIComponent(String(code)));
62
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
63
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
64
- let baseOptions;
65
- let baseAccessToken;
66
- if (configuration) {
67
- baseOptions = configuration.baseOptions;
68
- baseAccessToken = configuration.accessToken;
69
- }
70
-
71
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
72
- const localVarHeaderParameter = {} as any;
73
- const localVarQueryParameter = {} as any;
74
-
75
- // authentication bearer required
76
- // http bearer authentication required
77
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
78
-
79
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
80
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
81
- }
82
-
83
-
84
-
85
- setSearchParams(localVarUrlObj, localVarQueryParameter);
86
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
87
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
88
-
89
- return {
90
- url: toPathString(localVarUrlObj),
91
- options: localVarRequestOptions,
92
- };
93
- },
94
47
  /**
95
48
  * 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\"
96
49
  * @summary Retrieve the bank transaction
97
50
  * @param {string} code
98
51
  * @param {string} [authorization] Bearer Token
99
- * @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;
52
+ * @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;
100
53
  * @param {*} [options] Override http request option.
101
54
  * @throws {RequiredError}
102
55
  */
@@ -142,9 +95,9 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
142
95
  };
143
96
  },
144
97
  /**
145
- * This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
98
+ * This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
146
99
  * @summary Create the bank transactions
147
- * @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
100
+ * @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
148
101
  * @param {string} [authorization] Bearer Token
149
102
  * @param {*} [options] Override http request option.
150
103
  * @throws {RequiredError}
@@ -249,11 +202,11 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
249
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\"
250
203
  * @summary List bank transactions
251
204
  * @param {string} [authorization] Bearer Token
252
- * @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;
253
- * @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;
205
+ * @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;
206
+ * @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;
254
207
  * @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;
255
- * @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;
256
- * @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;
208
+ * @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;
209
+ * @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;
257
210
  * @param {*} [options] Override http request option.
258
211
  * @throws {RequiredError}
259
212
  */
@@ -372,24 +325,12 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
372
325
  export const BankTransactionApiFp = function(configuration?: Configuration) {
373
326
  const localVarAxiosParamCreator = BankTransactionApiAxiosParamCreator(configuration)
374
327
  return {
375
- /**
376
- * Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.view\"
377
- * @summary Invoice Match Suggestion
378
- * @param {string} code Code of the bank transaction to generate match suggestions for
379
- * @param {string} [authorization] Bearer Token
380
- * @param {*} [options] Override http request option.
381
- * @throws {RequiredError}
382
- */
383
- async generateInvoiceMatchSuggestion(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GenerateInvoiceMatchSuggestionsResponseClass>> {
384
- const localVarAxiosArgs = await localVarAxiosParamCreator.generateInvoiceMatchSuggestion(code, authorization, options);
385
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
386
- },
387
328
  /**
388
329
  * 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\"
389
330
  * @summary Retrieve the bank transaction
390
331
  * @param {string} code
391
332
  * @param {string} [authorization] Bearer Token
392
- * @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;
333
+ * @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;
393
334
  * @param {*} [options] Override http request option.
394
335
  * @throws {RequiredError}
395
336
  */
@@ -398,9 +339,9 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
398
339
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
399
340
  },
400
341
  /**
401
- * This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
342
+ * This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
402
343
  * @summary Create the bank transactions
403
- * @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
344
+ * @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
404
345
  * @param {string} [authorization] Bearer Token
405
346
  * @param {*} [options] Override http request option.
406
347
  * @throws {RequiredError}
@@ -426,11 +367,11 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
426
367
  * 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\"
427
368
  * @summary List bank transactions
428
369
  * @param {string} [authorization] Bearer Token
429
- * @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;
430
- * @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;
370
+ * @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;
371
+ * @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;
431
372
  * @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;
432
- * @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;
433
- * @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;
373
+ * @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;
374
+ * @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;
434
375
  * @param {*} [options] Override http request option.
435
376
  * @throws {RequiredError}
436
377
  */
@@ -461,23 +402,12 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
461
402
  export const BankTransactionApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
462
403
  const localVarFp = BankTransactionApiFp(configuration)
463
404
  return {
464
- /**
465
- * Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.view\"
466
- * @summary Invoice Match Suggestion
467
- * @param {string} code Code of the bank transaction to generate match suggestions for
468
- * @param {string} [authorization] Bearer Token
469
- * @param {*} [options] Override http request option.
470
- * @throws {RequiredError}
471
- */
472
- generateInvoiceMatchSuggestion(code: string, authorization?: string, options?: any): AxiosPromise<GenerateInvoiceMatchSuggestionsResponseClass> {
473
- return localVarFp.generateInvoiceMatchSuggestion(code, authorization, options).then((request) => request(axios, basePath));
474
- },
475
405
  /**
476
406
  * 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\"
477
407
  * @summary Retrieve the bank transaction
478
408
  * @param {string} code
479
409
  * @param {string} [authorization] Bearer Token
480
- * @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;
410
+ * @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;
481
411
  * @param {*} [options] Override http request option.
482
412
  * @throws {RequiredError}
483
413
  */
@@ -485,9 +415,9 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
485
415
  return localVarFp.getBankTransaction(code, authorization, expand, options).then((request) => request(axios, basePath));
486
416
  },
487
417
  /**
488
- * This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
418
+ * This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
489
419
  * @summary Create the bank transactions
490
- * @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
420
+ * @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
491
421
  * @param {string} [authorization] Bearer Token
492
422
  * @param {*} [options] Override http request option.
493
423
  * @throws {RequiredError}
@@ -511,11 +441,11 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
511
441
  * 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\"
512
442
  * @summary List bank transactions
513
443
  * @param {string} [authorization] Bearer Token
514
- * @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;
515
- * @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;
444
+ * @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;
445
+ * @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;
516
446
  * @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;
517
- * @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;
518
- * @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;
447
+ * @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;
448
+ * @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;
519
449
  * @param {*} [options] Override http request option.
520
450
  * @throws {RequiredError}
521
451
  */
@@ -537,27 +467,6 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
537
467
  };
538
468
  };
539
469
 
540
- /**
541
- * Request parameters for generateInvoiceMatchSuggestion operation in BankTransactionApi.
542
- * @export
543
- * @interface BankTransactionApiGenerateInvoiceMatchSuggestionRequest
544
- */
545
- export interface BankTransactionApiGenerateInvoiceMatchSuggestionRequest {
546
- /**
547
- * Code of the bank transaction to generate match suggestions for
548
- * @type {string}
549
- * @memberof BankTransactionApiGenerateInvoiceMatchSuggestion
550
- */
551
- readonly code: string
552
-
553
- /**
554
- * Bearer Token
555
- * @type {string}
556
- * @memberof BankTransactionApiGenerateInvoiceMatchSuggestion
557
- */
558
- readonly authorization?: string
559
- }
560
-
561
470
  /**
562
471
  * Request parameters for getBankTransaction operation in BankTransactionApi.
563
472
  * @export
@@ -579,7 +488,7 @@ export interface BankTransactionApiGetBankTransactionRequest {
579
488
  readonly authorization?: string
580
489
 
581
490
  /**
582
- * 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;
491
+ * 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;
583
492
  * @type {string}
584
493
  * @memberof BankTransactionApiGetBankTransaction
585
494
  */
@@ -593,7 +502,7 @@ export interface BankTransactionApiGetBankTransactionRequest {
593
502
  */
594
503
  export interface BankTransactionApiImportBankTransactionsRequest {
595
504
  /**
596
- * 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
505
+ * 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
506
  * @type {any}
598
507
  * @memberof BankTransactionApiImportBankTransactions
599
508
  */
@@ -649,14 +558,14 @@ export interface BankTransactionApiListBankTransactionsRequest {
649
558
  readonly authorization?: string
650
559
 
651
560
  /**
652
- * 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;
561
+ * 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;
653
562
  * @type {string}
654
563
  * @memberof BankTransactionApiListBankTransactions
655
564
  */
656
565
  readonly filter?: string
657
566
 
658
567
  /**
659
- * 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;
568
+ * 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;
660
569
  * @type {string}
661
570
  * @memberof BankTransactionApiListBankTransactions
662
571
  */
@@ -670,14 +579,14 @@ export interface BankTransactionApiListBankTransactionsRequest {
670
579
  readonly search?: string
671
580
 
672
581
  /**
673
- * 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;
582
+ * 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;
674
583
  * @type {string}
675
584
  * @memberof BankTransactionApiListBankTransactions
676
585
  */
677
586
  readonly order?: string
678
587
 
679
588
  /**
680
- * 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;
589
+ * 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;
681
590
  * @type {string}
682
591
  * @memberof BankTransactionApiListBankTransactions
683
592
  */
@@ -719,18 +628,6 @@ export interface BankTransactionApiUnlinkBankTransactionRequest {
719
628
  * @extends {BaseAPI}
720
629
  */
721
630
  export class BankTransactionApi extends BaseAPI {
722
- /**
723
- * Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.view\"
724
- * @summary Invoice Match Suggestion
725
- * @param {BankTransactionApiGenerateInvoiceMatchSuggestionRequest} requestParameters Request parameters.
726
- * @param {*} [options] Override http request option.
727
- * @throws {RequiredError}
728
- * @memberof BankTransactionApi
729
- */
730
- public generateInvoiceMatchSuggestion(requestParameters: BankTransactionApiGenerateInvoiceMatchSuggestionRequest, options?: AxiosRequestConfig) {
731
- return BankTransactionApiFp(this.configuration).generateInvoiceMatchSuggestion(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
732
- }
733
-
734
631
  /**
735
632
  * 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\"
736
633
  * @summary Retrieve the bank transaction
@@ -744,7 +641,7 @@ export class BankTransactionApi extends BaseAPI {
744
641
  }
745
642
 
746
643
  /**
747
- * This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
644
+ * This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
748
645
  * @summary Create the bank transactions
749
646
  * @param {BankTransactionApiImportBankTransactionsRequest} requestParameters Request parameters.
750
647
  * @param {*} [options] Override http request option.