@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.
@@ -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@1.13.1-beta.6 --save
20
+ npm install @emilgroup/payment-sdk@1.13.1-beta.8 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/payment-sdk@1.13.1-beta.6
24
+ yarn add @emilgroup/payment-sdk@1.13.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';
@@ -42,57 +40,12 @@ import { UnlinkBankTransactionsResponseClass } from '../models';
42
40
  */
43
41
  export const BankTransactionApiAxiosParamCreator = function (configuration?: Configuration) {
44
42
  return {
45
- /**
46
- * Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.view\"
47
- * @summary Invoice Match Suggestion
48
- * @param {string} code Code of the bank transaction to generate match suggestions for
49
- * @param {string} [authorization] Bearer Token
50
- * @param {*} [options] Override http request option.
51
- * @throws {RequiredError}
52
- */
53
- generateInvoiceMatchSuggestion: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
54
- // verify required parameter 'code' is not null or undefined
55
- assertParamExists('generateInvoiceMatchSuggestion', 'code', code)
56
- const localVarPath = `/paymentservice/v1/tenant/bank-transactions/{code}/generate-invoice-match-suggestion`
57
- .replace(`{${"code"}}`, encodeURIComponent(String(code)));
58
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
59
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
60
- let baseOptions;
61
- let baseAccessToken;
62
- if (configuration) {
63
- baseOptions = configuration.baseOptions;
64
- baseAccessToken = configuration.accessToken;
65
- }
66
-
67
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
68
- const localVarHeaderParameter = {} as any;
69
- const localVarQueryParameter = {} as any;
70
-
71
- // authentication bearer required
72
- // http bearer authentication required
73
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
74
-
75
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
76
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
77
- }
78
-
79
-
80
-
81
- setSearchParams(localVarUrlObj, localVarQueryParameter);
82
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
83
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
84
-
85
- return {
86
- url: toPathString(localVarUrlObj),
87
- options: localVarRequestOptions,
88
- };
89
- },
90
43
  /**
91
44
  * 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\"
92
45
  * @summary Retrieve the bank transaction
93
46
  * @param {string} code
94
47
  * @param {string} [authorization] Bearer Token
95
- * @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;
48
+ * @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;
96
49
  * @param {*} [options] Override http request option.
97
50
  * @throws {RequiredError}
98
51
  */
@@ -138,9 +91,9 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
138
91
  };
139
92
  },
140
93
  /**
141
- * This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
94
+ * This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
142
95
  * @summary Create the bank transactions
143
- * @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
96
+ * @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
144
97
  * @param {string} [authorization] Bearer Token
145
98
  * @param {*} [options] Override http request option.
146
99
  * @throws {RequiredError}
@@ -244,11 +197,11 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
244
197
  * 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\"
245
198
  * @summary List bank transactions
246
199
  * @param {string} [authorization] Bearer Token
247
- * @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;
248
- * @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;
200
+ * @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;
201
+ * @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;
249
202
  * @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;
250
- * @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;
251
- * @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;
203
+ * @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;
204
+ * @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;
252
205
  * @param {*} [options] Override http request option.
253
206
  * @throws {RequiredError}
254
207
  */
@@ -367,24 +320,12 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
367
320
  export const BankTransactionApiFp = function(configuration?: Configuration) {
368
321
  const localVarAxiosParamCreator = BankTransactionApiAxiosParamCreator(configuration)
369
322
  return {
370
- /**
371
- * Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.view\"
372
- * @summary Invoice Match Suggestion
373
- * @param {string} code Code of the bank transaction to generate match suggestions for
374
- * @param {string} [authorization] Bearer Token
375
- * @param {*} [options] Override http request option.
376
- * @throws {RequiredError}
377
- */
378
- async generateInvoiceMatchSuggestion(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GenerateInvoiceMatchSuggestionsResponseClass>> {
379
- const localVarAxiosArgs = await localVarAxiosParamCreator.generateInvoiceMatchSuggestion(code, authorization, options);
380
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
381
- },
382
323
  /**
383
324
  * 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\"
384
325
  * @summary Retrieve the bank transaction
385
326
  * @param {string} code
386
327
  * @param {string} [authorization] Bearer Token
387
- * @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;
328
+ * @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;
388
329
  * @param {*} [options] Override http request option.
389
330
  * @throws {RequiredError}
390
331
  */
@@ -393,9 +334,9 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
393
334
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
394
335
  },
395
336
  /**
396
- * This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
337
+ * This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
397
338
  * @summary Create the bank transactions
398
- * @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
339
+ * @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
399
340
  * @param {string} [authorization] Bearer Token
400
341
  * @param {*} [options] Override http request option.
401
342
  * @throws {RequiredError}
@@ -421,11 +362,11 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
421
362
  * 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\"
422
363
  * @summary List bank transactions
423
364
  * @param {string} [authorization] Bearer Token
424
- * @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;
425
- * @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;
365
+ * @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;
366
+ * @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;
426
367
  * @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;
427
- * @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;
428
- * @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;
368
+ * @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;
369
+ * @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;
429
370
  * @param {*} [options] Override http request option.
430
371
  * @throws {RequiredError}
431
372
  */
@@ -456,23 +397,12 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
456
397
  export const BankTransactionApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
457
398
  const localVarFp = BankTransactionApiFp(configuration)
458
399
  return {
459
- /**
460
- * Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.view\"
461
- * @summary Invoice Match Suggestion
462
- * @param {string} code Code of the bank transaction to generate match suggestions for
463
- * @param {string} [authorization] Bearer Token
464
- * @param {*} [options] Override http request option.
465
- * @throws {RequiredError}
466
- */
467
- generateInvoiceMatchSuggestion(code: string, authorization?: string, options?: any): AxiosPromise<GenerateInvoiceMatchSuggestionsResponseClass> {
468
- return localVarFp.generateInvoiceMatchSuggestion(code, authorization, options).then((request) => request(axios, basePath));
469
- },
470
400
  /**
471
401
  * 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\"
472
402
  * @summary Retrieve the bank transaction
473
403
  * @param {string} code
474
404
  * @param {string} [authorization] Bearer Token
475
- * @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;
405
+ * @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;
476
406
  * @param {*} [options] Override http request option.
477
407
  * @throws {RequiredError}
478
408
  */
@@ -480,9 +410,9 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
480
410
  return localVarFp.getBankTransaction(code, authorization, expand, options).then((request) => request(axios, basePath));
481
411
  },
482
412
  /**
483
- * This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
413
+ * This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
484
414
  * @summary Create the bank transactions
485
- * @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
415
+ * @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
486
416
  * @param {string} [authorization] Bearer Token
487
417
  * @param {*} [options] Override http request option.
488
418
  * @throws {RequiredError}
@@ -506,11 +436,11 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
506
436
  * 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\"
507
437
  * @summary List bank transactions
508
438
  * @param {string} [authorization] Bearer Token
509
- * @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;
510
- * @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;
439
+ * @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;
440
+ * @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;
511
441
  * @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;
512
- * @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;
513
- * @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;
442
+ * @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;
443
+ * @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;
514
444
  * @param {*} [options] Override http request option.
515
445
  * @throws {RequiredError}
516
446
  */
@@ -532,27 +462,6 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
532
462
  };
533
463
  };
534
464
 
535
- /**
536
- * Request parameters for generateInvoiceMatchSuggestion operation in BankTransactionApi.
537
- * @export
538
- * @interface BankTransactionApiGenerateInvoiceMatchSuggestionRequest
539
- */
540
- export interface BankTransactionApiGenerateInvoiceMatchSuggestionRequest {
541
- /**
542
- * Code of the bank transaction to generate match suggestions for
543
- * @type {string}
544
- * @memberof BankTransactionApiGenerateInvoiceMatchSuggestion
545
- */
546
- readonly code: string
547
-
548
- /**
549
- * Bearer Token
550
- * @type {string}
551
- * @memberof BankTransactionApiGenerateInvoiceMatchSuggestion
552
- */
553
- readonly authorization?: string
554
- }
555
-
556
465
  /**
557
466
  * Request parameters for getBankTransaction operation in BankTransactionApi.
558
467
  * @export
@@ -574,7 +483,7 @@ export interface BankTransactionApiGetBankTransactionRequest {
574
483
  readonly authorization?: string
575
484
 
576
485
  /**
577
- * 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;
486
+ * 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;
578
487
  * @type {string}
579
488
  * @memberof BankTransactionApiGetBankTransaction
580
489
  */
@@ -588,7 +497,7 @@ export interface BankTransactionApiGetBankTransactionRequest {
588
497
  */
589
498
  export interface BankTransactionApiImportBankTransactionsRequest {
590
499
  /**
591
- * 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
500
+ * 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
592
501
  * @type {any}
593
502
  * @memberof BankTransactionApiImportBankTransactions
594
503
  */
@@ -644,14 +553,14 @@ export interface BankTransactionApiListBankTransactionsRequest {
644
553
  readonly authorization?: string
645
554
 
646
555
  /**
647
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
556
+ * 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;
648
557
  * @type {string}
649
558
  * @memberof BankTransactionApiListBankTransactions
650
559
  */
651
560
  readonly filter?: string
652
561
 
653
562
  /**
654
- * 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;
563
+ * 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;
655
564
  * @type {string}
656
565
  * @memberof BankTransactionApiListBankTransactions
657
566
  */
@@ -665,14 +574,14 @@ export interface BankTransactionApiListBankTransactionsRequest {
665
574
  readonly search?: string
666
575
 
667
576
  /**
668
- * 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;
577
+ * 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;
669
578
  * @type {string}
670
579
  * @memberof BankTransactionApiListBankTransactions
671
580
  */
672
581
  readonly order?: string
673
582
 
674
583
  /**
675
- * 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;
584
+ * 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;
676
585
  * @type {string}
677
586
  * @memberof BankTransactionApiListBankTransactions
678
587
  */
@@ -714,18 +623,6 @@ export interface BankTransactionApiUnlinkBankTransactionRequest {
714
623
  * @extends {BaseAPI}
715
624
  */
716
625
  export class BankTransactionApi extends BaseAPI {
717
- /**
718
- * Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.view\"
719
- * @summary Invoice Match Suggestion
720
- * @param {BankTransactionApiGenerateInvoiceMatchSuggestionRequest} requestParameters Request parameters.
721
- * @param {*} [options] Override http request option.
722
- * @throws {RequiredError}
723
- * @memberof BankTransactionApi
724
- */
725
- public generateInvoiceMatchSuggestion(requestParameters: BankTransactionApiGenerateInvoiceMatchSuggestionRequest, options?: AxiosRequestConfig) {
726
- return BankTransactionApiFp(this.configuration).generateInvoiceMatchSuggestion(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
727
- }
728
-
729
626
  /**
730
627
  * 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\"
731
628
  * @summary Retrieve the bank transaction
@@ -739,7 +636,7 @@ export class BankTransactionApi extends BaseAPI {
739
636
  }
740
637
 
741
638
  /**
742
- * This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
639
+ * This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
743
640
  * @summary Create the bank transactions
744
641
  * @param {BankTransactionApiImportBankTransactionsRequest} requestParameters Request parameters.
745
642
  * @param {*} [options] Override http request option.