@emilgroup/payment-sdk-node 1.21.1-beta.4 → 1.21.1-beta.5

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,6 +45,7 @@ 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
48
49
  models/get-bank-account-response-class.ts
49
50
  models/get-bank-transactions-response-class.ts
50
51
  models/get-payment-method-response-class.ts
@@ -64,6 +65,7 @@ models/initiate-stripe-payment-setup-request-dto.ts
64
65
  models/initiate-stripe-payment-setup-response-class.ts
65
66
  models/inline-response200.ts
66
67
  models/inline-response503.ts
68
+ models/invoice-match-suggestion-class.ts
67
69
  models/link-bank-transaction-request-dto-rest.ts
68
70
  models/link-bank-transactions-response-class.ts
69
71
  models/list-bank-accounts-response-class.ts
@@ -83,6 +85,7 @@ models/refund-item-class.ts
83
85
  models/sepa-direct-dto.ts
84
86
  models/set-primary-bank-account-request-dto-rest.ts
85
87
  models/shared-transaction-class.ts
88
+ models/suggestion-generation-progress-class.ts
86
89
  models/symphony-profile-limited-response-dto.ts
87
90
  models/tenant-bank-account-class-without-expand-properties.ts
88
91
  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.4 --save
20
+ npm install @emilgroup/payment-sdk-node@1.21.1-beta.5 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/payment-sdk-node@1.21.1-beta.4
24
+ yarn add @emilgroup/payment-sdk-node@1.21.1-beta.5
25
25
  ```
26
26
 
27
27
  And then you can import `PaymentsApi`.
@@ -21,6 +21,8 @@ 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
24
26
  import { GetBankTransactionsResponseClass } from '../models';
25
27
  // @ts-ignore
26
28
  import { ImportBankTransactionsResponseClass } from '../models';
@@ -44,12 +46,57 @@ const FormData = require('form-data');
44
46
  */
45
47
  export const BankTransactionApiAxiosParamCreator = function (configuration?: Configuration) {
46
48
  return {
49
+ /**
50
+ * Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.create\"
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
+ },
47
94
  /**
48
95
  * 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\"
49
96
  * @summary Retrieve the bank transaction
50
97
  * @param {string} code
51
98
  * @param {string} [authorization] Bearer Token
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;
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;
53
100
  * @param {*} [options] Override http request option.
54
101
  * @throws {RequiredError}
55
102
  */
@@ -206,7 +253,7 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
206
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, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
207
254
  * @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;
208
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, 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;
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;
210
257
  * @param {*} [options] Override http request option.
211
258
  * @throws {RequiredError}
212
259
  */
@@ -325,12 +372,24 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
325
372
  export const BankTransactionApiFp = function(configuration?: Configuration) {
326
373
  const localVarAxiosParamCreator = BankTransactionApiAxiosParamCreator(configuration)
327
374
  return {
375
+ /**
376
+ * Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.create\"
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
+ },
328
387
  /**
329
388
  * 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\"
330
389
  * @summary Retrieve the bank transaction
331
390
  * @param {string} code
332
391
  * @param {string} [authorization] Bearer Token
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;
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;
334
393
  * @param {*} [options] Override http request option.
335
394
  * @throws {RequiredError}
336
395
  */
@@ -371,7 +430,7 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
371
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, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
372
431
  * @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;
373
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, 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;
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;
375
434
  * @param {*} [options] Override http request option.
376
435
  * @throws {RequiredError}
377
436
  */
@@ -402,12 +461,23 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
402
461
  export const BankTransactionApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
403
462
  const localVarFp = BankTransactionApiFp(configuration)
404
463
  return {
464
+ /**
465
+ * Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.create\"
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
+ },
405
475
  /**
406
476
  * 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\"
407
477
  * @summary Retrieve the bank transaction
408
478
  * @param {string} code
409
479
  * @param {string} [authorization] Bearer Token
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;
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;
411
481
  * @param {*} [options] Override http request option.
412
482
  * @throws {RequiredError}
413
483
  */
@@ -445,7 +515,7 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
445
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, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
446
516
  * @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;
447
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, 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;
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;
449
519
  * @param {*} [options] Override http request option.
450
520
  * @throws {RequiredError}
451
521
  */
@@ -467,6 +537,27 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
467
537
  };
468
538
  };
469
539
 
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
+
470
561
  /**
471
562
  * Request parameters for getBankTransaction operation in BankTransactionApi.
472
563
  * @export
@@ -488,7 +579,7 @@ export interface BankTransactionApiGetBankTransactionRequest {
488
579
  readonly authorization?: string
489
580
 
490
581
  /**
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;
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;
492
583
  * @type {string}
493
584
  * @memberof BankTransactionApiGetBankTransaction
494
585
  */
@@ -586,7 +677,7 @@ export interface BankTransactionApiListBankTransactionsRequest {
586
677
  readonly order?: string
587
678
 
588
679
  /**
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;
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;
590
681
  * @type {string}
591
682
  * @memberof BankTransactionApiListBankTransactions
592
683
  */
@@ -628,6 +719,18 @@ export interface BankTransactionApiUnlinkBankTransactionRequest {
628
719
  * @extends {BaseAPI}
629
720
  */
630
721
  export class BankTransactionApi extends BaseAPI {
722
+ /**
723
+ * Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.create\"
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
+
631
734
  /**
632
735
  * 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\"
633
736
  * @summary Retrieve the bank transaction
@@ -12,6 +12,7 @@
12
12
  import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
+ import { GenerateInvoiceMatchSuggestionsResponseClass } from '../models';
15
16
  import { GetBankTransactionsResponseClass } from '../models';
16
17
  import { ImportBankTransactionsResponseClass } from '../models';
17
18
  import { LinkBankTransactionRequestDtoRest } from '../models';
@@ -24,12 +25,21 @@ import { UnlinkBankTransactionsResponseClass } from '../models';
24
25
  * @export
25
26
  */
26
27
  export declare const BankTransactionApiAxiosParamCreator: (configuration?: Configuration) => {
28
+ /**
29
+ * Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.create\"
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>;
27
37
  /**
28
38
  * Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code that was returned when you created it and Emil Api will return the corresponding bank transaction information. **Required Permissions** \"payment-management.bank-accounts.view\"
29
39
  * @summary Retrieve the bank transaction
30
40
  * @param {string} code
31
41
  * @param {string} [authorization] Bearer Token
32
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount, transaction&lt;i&gt;
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;
33
43
  * @param {*} [options] Override http request option.
34
44
  * @throws {RequiredError}
35
45
  */
@@ -61,7 +71,7 @@ export declare const BankTransactionApiAxiosParamCreator: (configuration?: Confi
61
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, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
62
72
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: id, createdAt, amount&lt;/i&gt;
63
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, 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;
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;
65
75
  * @param {*} [options] Override http request option.
66
76
  * @throws {RequiredError}
67
77
  */
@@ -82,12 +92,21 @@ export declare const BankTransactionApiAxiosParamCreator: (configuration?: Confi
82
92
  * @export
83
93
  */
84
94
  export declare const BankTransactionApiFp: (configuration?: Configuration) => {
95
+ /**
96
+ * Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.create\"
97
+ * @summary Invoice Match Suggestion
98
+ * @param {string} code Code of the bank transaction to generate match suggestions for
99
+ * @param {string} [authorization] Bearer Token
100
+ * @param {*} [options] Override http request option.
101
+ * @throws {RequiredError}
102
+ */
103
+ generateInvoiceMatchSuggestion(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GenerateInvoiceMatchSuggestionsResponseClass>>;
85
104
  /**
86
105
  * Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code that was returned when you created it and Emil Api will return the corresponding bank transaction information. **Required Permissions** \"payment-management.bank-accounts.view\"
87
106
  * @summary Retrieve the bank transaction
88
107
  * @param {string} code
89
108
  * @param {string} [authorization] Bearer Token
90
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount, transaction&lt;i&gt;
109
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress&lt;i&gt;
91
110
  * @param {*} [options] Override http request option.
92
111
  * @throws {RequiredError}
93
112
  */
@@ -119,7 +138,7 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
119
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, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
120
139
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: id, createdAt, amount&lt;/i&gt;
121
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, amount, transactionDate, entryDate&lt;/i&gt;
122
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount, transaction&lt;i&gt;
141
+ * @param {string} [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;
123
142
  * @param {*} [options] Override http request option.
124
143
  * @throws {RequiredError}
125
144
  */
@@ -140,12 +159,21 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
140
159
  * @export
141
160
  */
142
161
  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.create\"
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>;
143
171
  /**
144
172
  * 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
173
  * @summary Retrieve the bank transaction
146
174
  * @param {string} code
147
175
  * @param {string} [authorization] Bearer Token
148
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount, transaction&lt;i&gt;
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;
149
177
  * @param {*} [options] Override http request option.
150
178
  * @throws {RequiredError}
151
179
  */
@@ -177,7 +205,7 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
177
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, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
178
206
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: id, createdAt, amount&lt;/i&gt;
179
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, 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;
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;
181
209
  * @param {*} [options] Override http request option.
182
210
  * @throws {RequiredError}
183
211
  */
@@ -193,6 +221,25 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
193
221
  */
194
222
  unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<UnlinkBankTransactionsResponseClass>;
195
223
  };
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
+ }
196
243
  /**
197
244
  * Request parameters for getBankTransaction operation in BankTransactionApi.
198
245
  * @export
@@ -212,7 +259,7 @@ export interface BankTransactionApiGetBankTransactionRequest {
212
259
  */
213
260
  readonly authorization?: string;
214
261
  /**
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;
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;
216
263
  * @type {string}
217
264
  * @memberof BankTransactionApiGetBankTransaction
218
265
  */
@@ -299,7 +346,7 @@ export interface BankTransactionApiListBankTransactionsRequest {
299
346
  */
300
347
  readonly order?: string;
301
348
  /**
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;
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;
303
350
  * @type {string}
304
351
  * @memberof BankTransactionApiListBankTransactions
305
352
  */
@@ -337,6 +384,15 @@ export interface BankTransactionApiUnlinkBankTransactionRequest {
337
384
  * @extends {BaseAPI}
338
385
  */
339
386
  export declare class BankTransactionApi extends BaseAPI {
387
+ /**
388
+ * Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.create\"
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>>;
340
396
  /**
341
397
  * Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code that was returned when you created it and Emil Api will return the corresponding bank transaction information. **Required Permissions** \"payment-management.bank-accounts.view\"
342
398
  * @summary Retrieve the bank transaction
@@ -96,12 +96,60 @@ var FormData = require('form-data');
96
96
  var BankTransactionApiAxiosParamCreator = function (configuration) {
97
97
  var _this = this;
98
98
  return {
99
+ /**
100
+ * Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.create\"
101
+ * @summary Invoice Match Suggestion
102
+ * @param {string} code Code of the bank transaction to generate match suggestions for
103
+ * @param {string} [authorization] Bearer Token
104
+ * @param {*} [options] Override http request option.
105
+ * @throws {RequiredError}
106
+ */
107
+ generateInvoiceMatchSuggestion: function (code, authorization, options) {
108
+ if (options === void 0) { options = {}; }
109
+ return __awaiter(_this, void 0, void 0, function () {
110
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
111
+ return __generator(this, function (_a) {
112
+ switch (_a.label) {
113
+ case 0:
114
+ // verify required parameter 'code' is not null or undefined
115
+ (0, common_1.assertParamExists)('generateInvoiceMatchSuggestion', 'code', code);
116
+ localVarPath = "/paymentservice/v1/tenant/bank-transactions/{code}/generate-invoice-match-suggestion"
117
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
118
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
119
+ if (configuration) {
120
+ baseOptions = configuration.baseOptions;
121
+ baseAccessToken = configuration.accessToken;
122
+ }
123
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
124
+ localVarHeaderParameter = {};
125
+ localVarQueryParameter = {};
126
+ // authentication bearer required
127
+ // http bearer authentication required
128
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
129
+ case 1:
130
+ // authentication bearer required
131
+ // http bearer authentication required
132
+ _a.sent();
133
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
134
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
135
+ }
136
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
137
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
138
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
139
+ return [2 /*return*/, {
140
+ url: (0, common_1.toPathString)(localVarUrlObj),
141
+ options: localVarRequestOptions,
142
+ }];
143
+ }
144
+ });
145
+ });
146
+ },
99
147
  /**
100
148
  * 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\"
101
149
  * @summary Retrieve the bank transaction
102
150
  * @param {string} code
103
151
  * @param {string} [authorization] Bearer Token
104
- * @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;
152
+ * @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;
105
153
  * @param {*} [options] Override http request option.
106
154
  * @throws {RequiredError}
107
155
  */
@@ -262,7 +310,7 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
262
310
  * @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;
263
311
  * @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;
264
312
  * @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;
265
- * @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;
313
+ * @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;
266
314
  * @param {*} [options] Override http request option.
267
315
  * @throws {RequiredError}
268
316
  */
@@ -381,12 +429,33 @@ exports.BankTransactionApiAxiosParamCreator = BankTransactionApiAxiosParamCreato
381
429
  var BankTransactionApiFp = function (configuration) {
382
430
  var localVarAxiosParamCreator = (0, exports.BankTransactionApiAxiosParamCreator)(configuration);
383
431
  return {
432
+ /**
433
+ * Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.create\"
434
+ * @summary Invoice Match Suggestion
435
+ * @param {string} code Code of the bank transaction to generate match suggestions for
436
+ * @param {string} [authorization] Bearer Token
437
+ * @param {*} [options] Override http request option.
438
+ * @throws {RequiredError}
439
+ */
440
+ generateInvoiceMatchSuggestion: function (code, authorization, options) {
441
+ return __awaiter(this, void 0, void 0, function () {
442
+ var localVarAxiosArgs;
443
+ return __generator(this, function (_a) {
444
+ switch (_a.label) {
445
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.generateInvoiceMatchSuggestion(code, authorization, options)];
446
+ case 1:
447
+ localVarAxiosArgs = _a.sent();
448
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
449
+ }
450
+ });
451
+ });
452
+ },
384
453
  /**
385
454
  * 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\"
386
455
  * @summary Retrieve the bank transaction
387
456
  * @param {string} code
388
457
  * @param {string} [authorization] Bearer Token
389
- * @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;
458
+ * @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;
390
459
  * @param {*} [options] Override http request option.
391
460
  * @throws {RequiredError}
392
461
  */
@@ -454,7 +523,7 @@ var BankTransactionApiFp = function (configuration) {
454
523
  * @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;
455
524
  * @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;
456
525
  * @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;
457
- * @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;
526
+ * @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;
458
527
  * @param {*} [options] Override http request option.
459
528
  * @throws {RequiredError}
460
529
  */
@@ -503,12 +572,23 @@ exports.BankTransactionApiFp = BankTransactionApiFp;
503
572
  var BankTransactionApiFactory = function (configuration, basePath, axios) {
504
573
  var localVarFp = (0, exports.BankTransactionApiFp)(configuration);
505
574
  return {
575
+ /**
576
+ * Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.create\"
577
+ * @summary Invoice Match Suggestion
578
+ * @param {string} code Code of the bank transaction to generate match suggestions for
579
+ * @param {string} [authorization] Bearer Token
580
+ * @param {*} [options] Override http request option.
581
+ * @throws {RequiredError}
582
+ */
583
+ generateInvoiceMatchSuggestion: function (code, authorization, options) {
584
+ return localVarFp.generateInvoiceMatchSuggestion(code, authorization, options).then(function (request) { return request(axios, basePath); });
585
+ },
506
586
  /**
507
587
  * 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\"
508
588
  * @summary Retrieve the bank transaction
509
589
  * @param {string} code
510
590
  * @param {string} [authorization] Bearer Token
511
- * @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;
591
+ * @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;
512
592
  * @param {*} [options] Override http request option.
513
593
  * @throws {RequiredError}
514
594
  */
@@ -546,7 +626,7 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
546
626
  * @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;
547
627
  * @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;
548
628
  * @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;
549
- * @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;
629
+ * @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;
550
630
  * @param {*} [options] Override http request option.
551
631
  * @throws {RequiredError}
552
632
  */
@@ -579,6 +659,18 @@ var BankTransactionApi = /** @class */ (function (_super) {
579
659
  function BankTransactionApi() {
580
660
  return _super !== null && _super.apply(this, arguments) || this;
581
661
  }
662
+ /**
663
+ * Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.create\"
664
+ * @summary Invoice Match Suggestion
665
+ * @param {BankTransactionApiGenerateInvoiceMatchSuggestionRequest} requestParameters Request parameters.
666
+ * @param {*} [options] Override http request option.
667
+ * @throws {RequiredError}
668
+ * @memberof BankTransactionApi
669
+ */
670
+ BankTransactionApi.prototype.generateInvoiceMatchSuggestion = function (requestParameters, options) {
671
+ var _this = this;
672
+ return (0, exports.BankTransactionApiFp)(this.configuration).generateInvoiceMatchSuggestion(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
673
+ };
582
674
  /**
583
675
  * 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\"
584
676
  * @summary Retrieve the bank transaction
@@ -9,6 +9,8 @@
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';
12
14
  /**
13
15
  *
14
16
  * @export
@@ -129,4 +131,16 @@ export interface BankTransactionClassWithoutExpandProperties {
129
131
  * @memberof BankTransactionClassWithoutExpandProperties
130
132
  */
131
133
  '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;
132
146
  }
@@ -9,7 +9,9 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { InvoiceMatchSuggestionClass } from './invoice-match-suggestion-class';
12
13
  import { SharedTransactionClass } from './shared-transaction-class';
14
+ import { SuggestionGenerationProgressClass } from './suggestion-generation-progress-class';
13
15
  import { TenantBankAccountClassWithoutExpandProperties } from './tenant-bank-account-class-without-expand-properties';
14
16
  /**
15
17
  *
@@ -143,4 +145,16 @@ export interface BankTransactionClass {
143
145
  * @memberof BankTransactionClass
144
146
  */
145
147
  'updatedBy': string;
148
+ /**
149
+ * The match suggestions for invoices
150
+ * @type {Array<InvoiceMatchSuggestionClass>}
151
+ * @memberof BankTransactionClass
152
+ */
153
+ 'invoiceMatchSuggestions': Array<InvoiceMatchSuggestionClass>;
154
+ /**
155
+ * The progress of the suggestion generation
156
+ * @type {SuggestionGenerationProgressClass}
157
+ * @memberof BankTransactionClass
158
+ */
159
+ 'suggestionGenerationProgress'?: SuggestionGenerationProgressClass;
146
160
  }
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Emil Payment Service
3
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { InvoiceMatchSuggestionClass } from './invoice-match-suggestion-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface GenerateInvoiceMatchSuggestionsResponseClass
17
+ */
18
+ export interface GenerateInvoiceMatchSuggestionsResponseClass {
19
+ /**
20
+ * List of invoice match suggestions
21
+ * @type {Array<InvoiceMatchSuggestionClass>}
22
+ * @memberof GenerateInvoiceMatchSuggestionsResponseClass
23
+ */
24
+ 'invoiceMatchSuggestions': Array<InvoiceMatchSuggestionClass>;
25
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil Payment Service
6
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -25,6 +25,7 @@ export * from './create-tenant-bank-account-response-class';
25
25
  export * from './deactivate-payment-reminder-request-dto';
26
26
  export * from './deactivate-payment-reminder-response-class';
27
27
  export * from './deactivated-payment-reminder-class';
28
+ export * from './generate-invoice-match-suggestions-response-class';
28
29
  export * from './get-bank-account-response-class';
29
30
  export * from './get-bank-transactions-response-class';
30
31
  export * from './get-payment-method-response-class';
@@ -43,6 +44,7 @@ export * from './initiate-stripe-payment-setup-request-dto';
43
44
  export * from './initiate-stripe-payment-setup-response-class';
44
45
  export * from './inline-response200';
45
46
  export * from './inline-response503';
47
+ export * from './invoice-match-suggestion-class';
46
48
  export * from './link-bank-transaction-request-dto-rest';
47
49
  export * from './link-bank-transactions-response-class';
48
50
  export * from './list-bank-accounts-response-class';
@@ -62,6 +64,7 @@ export * from './refund-item-class';
62
64
  export * from './sepa-direct-dto';
63
65
  export * from './set-primary-bank-account-request-dto-rest';
64
66
  export * from './shared-transaction-class';
67
+ export * from './suggestion-generation-progress-class';
65
68
  export * from './symphony-profile-limited-response-dto';
66
69
  export * from './tenant-bank-account-class';
67
70
  export * from './tenant-bank-account-class-without-expand-properties';
@@ -41,6 +41,7 @@ __exportStar(require("./create-tenant-bank-account-response-class"), exports);
41
41
  __exportStar(require("./deactivate-payment-reminder-request-dto"), exports);
42
42
  __exportStar(require("./deactivate-payment-reminder-response-class"), exports);
43
43
  __exportStar(require("./deactivated-payment-reminder-class"), exports);
44
+ __exportStar(require("./generate-invoice-match-suggestions-response-class"), exports);
44
45
  __exportStar(require("./get-bank-account-response-class"), exports);
45
46
  __exportStar(require("./get-bank-transactions-response-class"), exports);
46
47
  __exportStar(require("./get-payment-method-response-class"), exports);
@@ -59,6 +60,7 @@ __exportStar(require("./initiate-stripe-payment-setup-request-dto"), exports);
59
60
  __exportStar(require("./initiate-stripe-payment-setup-response-class"), exports);
60
61
  __exportStar(require("./inline-response200"), exports);
61
62
  __exportStar(require("./inline-response503"), exports);
63
+ __exportStar(require("./invoice-match-suggestion-class"), exports);
62
64
  __exportStar(require("./link-bank-transaction-request-dto-rest"), exports);
63
65
  __exportStar(require("./link-bank-transactions-response-class"), exports);
64
66
  __exportStar(require("./list-bank-accounts-response-class"), exports);
@@ -78,6 +80,7 @@ __exportStar(require("./refund-item-class"), exports);
78
80
  __exportStar(require("./sepa-direct-dto"), exports);
79
81
  __exportStar(require("./set-primary-bank-account-request-dto-rest"), exports);
80
82
  __exportStar(require("./shared-transaction-class"), exports);
83
+ __exportStar(require("./suggestion-generation-progress-class"), exports);
81
84
  __exportStar(require("./symphony-profile-limited-response-dto"), exports);
82
85
  __exportStar(require("./tenant-bank-account-class"), exports);
83
86
  __exportStar(require("./tenant-bank-account-class-without-expand-properties"), exports);
@@ -0,0 +1,60 @@
1
+ /**
2
+ * Emil Payment Service
3
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface InvoiceMatchSuggestionClass
16
+ */
17
+ export interface InvoiceMatchSuggestionClass {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof InvoiceMatchSuggestionClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Unique identifier for the object.
26
+ * @type {string}
27
+ * @memberof InvoiceMatchSuggestionClass
28
+ */
29
+ 'code': string;
30
+ /**
31
+ * Invoice code of the suggested match
32
+ * @type {string}
33
+ * @memberof InvoiceMatchSuggestionClass
34
+ */
35
+ 'invoiceCode': string;
36
+ /**
37
+ * Invoice number of the suggested match
38
+ * @type {string}
39
+ * @memberof InvoiceMatchSuggestionClass
40
+ */
41
+ 'invoiceNumber': string;
42
+ /**
43
+ * Confidence score (0-100) of the suggested match
44
+ * @type {number}
45
+ * @memberof InvoiceMatchSuggestionClass
46
+ */
47
+ 'confidenceScore': number;
48
+ /**
49
+ * Criteria used for the match
50
+ * @type {object}
51
+ * @memberof InvoiceMatchSuggestionClass
52
+ */
53
+ 'matchCriteria': object;
54
+ /**
55
+ * Time at which the object was created.
56
+ * @type {string}
57
+ * @memberof InvoiceMatchSuggestionClass
58
+ */
59
+ 'createdAt': string;
60
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil Payment Service
6
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,43 @@
1
+ /**
2
+ * Emil Payment Service
3
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface SuggestionGenerationProgressClass
16
+ */
17
+ export interface SuggestionGenerationProgressClass {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof SuggestionGenerationProgressClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Status of the suggestion generation process
26
+ * @type {string}
27
+ * @memberof SuggestionGenerationProgressClass
28
+ */
29
+ 'status': SuggestionGenerationProgressClassStatusEnum;
30
+ /**
31
+ * Error message if suggestion generation failed
32
+ * @type {string}
33
+ * @memberof SuggestionGenerationProgressClass
34
+ */
35
+ 'errorMessage'?: string;
36
+ }
37
+ export declare const SuggestionGenerationProgressClassStatusEnum: {
38
+ readonly Pending: "pending";
39
+ readonly Processing: "processing";
40
+ readonly Completed: "completed";
41
+ readonly Failed: "failed";
42
+ };
43
+ export type SuggestionGenerationProgressClassStatusEnum = typeof SuggestionGenerationProgressClassStatusEnum[keyof typeof SuggestionGenerationProgressClassStatusEnum];
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil Payment Service
6
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.SuggestionGenerationProgressClassStatusEnum = void 0;
17
+ exports.SuggestionGenerationProgressClassStatusEnum = {
18
+ Pending: 'pending',
19
+ Processing: 'processing',
20
+ Completed: 'completed',
21
+ Failed: 'failed'
22
+ };
@@ -9,6 +9,8 @@
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';
12
14
  /**
13
15
  *
14
16
  * @export
@@ -111,4 +113,16 @@ export interface UnlinkedBankTransactionResponseClass {
111
113
  * @memberof UnlinkedBankTransactionResponseClass
112
114
  */
113
115
  'updatedBy': string;
116
+ /**
117
+ * The match suggestions for invoices
118
+ * @type {Array<InvoiceMatchSuggestionClass>}
119
+ * @memberof UnlinkedBankTransactionResponseClass
120
+ */
121
+ 'invoiceMatchSuggestions': Array<InvoiceMatchSuggestionClass>;
122
+ /**
123
+ * The progress of the suggestion generation
124
+ * @type {SuggestionGenerationProgressClass}
125
+ * @memberof UnlinkedBankTransactionResponseClass
126
+ */
127
+ 'suggestionGenerationProgress'?: SuggestionGenerationProgressClass;
114
128
  }
@@ -13,6 +13,8 @@
13
13
  */
14
14
 
15
15
 
16
+ import { InvoiceMatchSuggestionClass } from './invoice-match-suggestion-class';
17
+ import { SuggestionGenerationProgressClass } from './suggestion-generation-progress-class';
16
18
 
17
19
  /**
18
20
  *
@@ -134,5 +136,17 @@ export interface BankTransactionClassWithoutExpandProperties {
134
136
  * @memberof BankTransactionClassWithoutExpandProperties
135
137
  */
136
138
  'updatedBy': string;
139
+ /**
140
+ * The match suggestions for invoices
141
+ * @type {Array<InvoiceMatchSuggestionClass>}
142
+ * @memberof BankTransactionClassWithoutExpandProperties
143
+ */
144
+ 'invoiceMatchSuggestions': Array<InvoiceMatchSuggestionClass>;
145
+ /**
146
+ * The progress of the suggestion generation
147
+ * @type {SuggestionGenerationProgressClass}
148
+ * @memberof BankTransactionClassWithoutExpandProperties
149
+ */
150
+ 'suggestionGenerationProgress'?: SuggestionGenerationProgressClass;
137
151
  }
138
152
 
@@ -13,7 +13,9 @@
13
13
  */
14
14
 
15
15
 
16
+ import { InvoiceMatchSuggestionClass } from './invoice-match-suggestion-class';
16
17
  import { SharedTransactionClass } from './shared-transaction-class';
18
+ import { SuggestionGenerationProgressClass } from './suggestion-generation-progress-class';
17
19
  import { TenantBankAccountClassWithoutExpandProperties } from './tenant-bank-account-class-without-expand-properties';
18
20
 
19
21
  /**
@@ -148,5 +150,17 @@ export interface BankTransactionClass {
148
150
  * @memberof BankTransactionClass
149
151
  */
150
152
  'updatedBy': string;
153
+ /**
154
+ * The match suggestions for invoices
155
+ * @type {Array<InvoiceMatchSuggestionClass>}
156
+ * @memberof BankTransactionClass
157
+ */
158
+ 'invoiceMatchSuggestions': Array<InvoiceMatchSuggestionClass>;
159
+ /**
160
+ * The progress of the suggestion generation
161
+ * @type {SuggestionGenerationProgressClass}
162
+ * @memberof BankTransactionClass
163
+ */
164
+ 'suggestionGenerationProgress'?: SuggestionGenerationProgressClass;
151
165
  }
152
166
 
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil Payment Service
5
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { InvoiceMatchSuggestionClass } from './invoice-match-suggestion-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface GenerateInvoiceMatchSuggestionsResponseClass
22
+ */
23
+ export interface GenerateInvoiceMatchSuggestionsResponseClass {
24
+ /**
25
+ * List of invoice match suggestions
26
+ * @type {Array<InvoiceMatchSuggestionClass>}
27
+ * @memberof GenerateInvoiceMatchSuggestionsResponseClass
28
+ */
29
+ 'invoiceMatchSuggestions': Array<InvoiceMatchSuggestionClass>;
30
+ }
31
+
package/models/index.ts CHANGED
@@ -25,6 +25,7 @@ export * from './create-tenant-bank-account-response-class';
25
25
  export * from './deactivate-payment-reminder-request-dto';
26
26
  export * from './deactivate-payment-reminder-response-class';
27
27
  export * from './deactivated-payment-reminder-class';
28
+ export * from './generate-invoice-match-suggestions-response-class';
28
29
  export * from './get-bank-account-response-class';
29
30
  export * from './get-bank-transactions-response-class';
30
31
  export * from './get-payment-method-response-class';
@@ -43,6 +44,7 @@ export * from './initiate-stripe-payment-setup-request-dto';
43
44
  export * from './initiate-stripe-payment-setup-response-class';
44
45
  export * from './inline-response200';
45
46
  export * from './inline-response503';
47
+ export * from './invoice-match-suggestion-class';
46
48
  export * from './link-bank-transaction-request-dto-rest';
47
49
  export * from './link-bank-transactions-response-class';
48
50
  export * from './list-bank-accounts-response-class';
@@ -62,6 +64,7 @@ export * from './refund-item-class';
62
64
  export * from './sepa-direct-dto';
63
65
  export * from './set-primary-bank-account-request-dto-rest';
64
66
  export * from './shared-transaction-class';
67
+ export * from './suggestion-generation-progress-class';
65
68
  export * from './symphony-profile-limited-response-dto';
66
69
  export * from './tenant-bank-account-class';
67
70
  export * from './tenant-bank-account-class-without-expand-properties';
@@ -0,0 +1,66 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil Payment Service
5
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface InvoiceMatchSuggestionClass
21
+ */
22
+ export interface InvoiceMatchSuggestionClass {
23
+ /**
24
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
25
+ * @type {number}
26
+ * @memberof InvoiceMatchSuggestionClass
27
+ */
28
+ 'id': number;
29
+ /**
30
+ * Unique identifier for the object.
31
+ * @type {string}
32
+ * @memberof InvoiceMatchSuggestionClass
33
+ */
34
+ 'code': string;
35
+ /**
36
+ * Invoice code of the suggested match
37
+ * @type {string}
38
+ * @memberof InvoiceMatchSuggestionClass
39
+ */
40
+ 'invoiceCode': string;
41
+ /**
42
+ * Invoice number of the suggested match
43
+ * @type {string}
44
+ * @memberof InvoiceMatchSuggestionClass
45
+ */
46
+ 'invoiceNumber': string;
47
+ /**
48
+ * Confidence score (0-100) of the suggested match
49
+ * @type {number}
50
+ * @memberof InvoiceMatchSuggestionClass
51
+ */
52
+ 'confidenceScore': number;
53
+ /**
54
+ * Criteria used for the match
55
+ * @type {object}
56
+ * @memberof InvoiceMatchSuggestionClass
57
+ */
58
+ 'matchCriteria': object;
59
+ /**
60
+ * Time at which the object was created.
61
+ * @type {string}
62
+ * @memberof InvoiceMatchSuggestionClass
63
+ */
64
+ 'createdAt': string;
65
+ }
66
+
@@ -0,0 +1,52 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil Payment Service
5
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface SuggestionGenerationProgressClass
21
+ */
22
+ export interface SuggestionGenerationProgressClass {
23
+ /**
24
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
25
+ * @type {number}
26
+ * @memberof SuggestionGenerationProgressClass
27
+ */
28
+ 'id': number;
29
+ /**
30
+ * Status of the suggestion generation process
31
+ * @type {string}
32
+ * @memberof SuggestionGenerationProgressClass
33
+ */
34
+ 'status': SuggestionGenerationProgressClassStatusEnum;
35
+ /**
36
+ * Error message if suggestion generation failed
37
+ * @type {string}
38
+ * @memberof SuggestionGenerationProgressClass
39
+ */
40
+ 'errorMessage'?: string;
41
+ }
42
+
43
+ export const SuggestionGenerationProgressClassStatusEnum = {
44
+ Pending: 'pending',
45
+ Processing: 'processing',
46
+ Completed: 'completed',
47
+ Failed: 'failed'
48
+ } as const;
49
+
50
+ export type SuggestionGenerationProgressClassStatusEnum = typeof SuggestionGenerationProgressClassStatusEnum[keyof typeof SuggestionGenerationProgressClassStatusEnum];
51
+
52
+
@@ -13,6 +13,8 @@
13
13
  */
14
14
 
15
15
 
16
+ import { InvoiceMatchSuggestionClass } from './invoice-match-suggestion-class';
17
+ import { SuggestionGenerationProgressClass } from './suggestion-generation-progress-class';
16
18
 
17
19
  /**
18
20
  *
@@ -116,5 +118,17 @@ export interface UnlinkedBankTransactionResponseClass {
116
118
  * @memberof UnlinkedBankTransactionResponseClass
117
119
  */
118
120
  'updatedBy': string;
121
+ /**
122
+ * The match suggestions for invoices
123
+ * @type {Array<InvoiceMatchSuggestionClass>}
124
+ * @memberof UnlinkedBankTransactionResponseClass
125
+ */
126
+ 'invoiceMatchSuggestions': Array<InvoiceMatchSuggestionClass>;
127
+ /**
128
+ * The progress of the suggestion generation
129
+ * @type {SuggestionGenerationProgressClass}
130
+ * @memberof UnlinkedBankTransactionResponseClass
131
+ */
132
+ 'suggestionGenerationProgress'?: SuggestionGenerationProgressClass;
119
133
  }
120
134
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/payment-sdk-node",
3
- "version": "1.21.1-beta.4",
3
+ "version": "1.21.1-beta.5",
4
4
  "description": "OpenAPI client for @emilgroup/payment-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [