@emilgroup/payment-sdk 1.13.1-beta.4 → 1.13.1-beta.6
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.
- package/.openapi-generator/FILES +3 -0
- package/README.md +2 -2
- package/api/bank-transaction-api.ts +131 -28
- package/dist/api/bank-transaction-api.d.ts +84 -28
- package/dist/api/bank-transaction-api.js +114 -22
- package/dist/models/bank-transaction-class-without-expand-properties.d.ts +14 -0
- package/dist/models/bank-transaction-class.d.ts +14 -0
- package/dist/models/generate-invoice-match-suggestions-response-class.d.ts +25 -0
- package/dist/models/generate-invoice-match-suggestions-response-class.js +15 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/dist/models/invoice-match-suggestion-class.d.ts +60 -0
- package/dist/models/invoice-match-suggestion-class.js +15 -0
- package/dist/models/suggestion-generation-progress-class.d.ts +43 -0
- package/dist/models/suggestion-generation-progress-class.js +22 -0
- package/dist/models/unlinked-bank-transaction-response-class.d.ts +14 -0
- package/models/bank-transaction-class-without-expand-properties.ts +14 -0
- package/models/bank-transaction-class.ts +14 -0
- package/models/generate-invoice-match-suggestions-response-class.ts +31 -0
- package/models/index.ts +3 -0
- package/models/invoice-match-suggestion-class.ts +66 -0
- package/models/suggestion-generation-progress-class.ts +52 -0
- package/models/unlinked-bank-transaction-response-class.ts +14 -0
- package/package.json +1 -1
|
@@ -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 });
|
package/dist/models/index.d.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';
|
package/dist/models/index.js
CHANGED
|
@@ -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
|
|