digicust_types 1.8.384 → 1.8.386
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/models/digicust/case/stats-case.model.d.ts +12 -0
- package/lib/models/digicust/execution-strategy/index.d.ts +1 -0
- package/lib/models/digicust/execution-strategy/index.js +1 -0
- package/lib/models/digicust/execution-strategy/resolved-rule.d.ts +8 -0
- package/lib/models/digicust/execution-strategy/resolved-rule.js +2 -0
- package/lib/models/digicust/masterdata/material.model.d.ts +13 -7
- package/lib/models/digicust/multerfile.model.d.ts +0 -1
- package/package.json +1 -1
- package/lib/models/digicust/documents/document-code-source-context.d.ts +0 -18
- /package/lib/models/digicust/{documents/document-code-source-context.js → case/stats-case.model.js} +0 -0
@@ -0,0 +1,12 @@
|
|
1
|
+
import { Meta } from "..";
|
2
|
+
/**
|
3
|
+
* Statistics about a case
|
4
|
+
*/
|
5
|
+
export interface StatsCaseModel {
|
6
|
+
fillOutRatio?: Meta<number>;
|
7
|
+
difficulty?: Meta<number>;
|
8
|
+
accuracy?: Meta<number>;
|
9
|
+
completeness?: Meta<number>;
|
10
|
+
correctness?: Meta<number>;
|
11
|
+
overallConfidence?: Meta<number>;
|
12
|
+
}
|
@@ -17,5 +17,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./execution-strategy.model"), exports);
|
18
18
|
__exportStar(require("./rule"), exports);
|
19
19
|
__exportStar(require("./sftp-config.model"), exports);
|
20
|
+
__exportStar(require("./resolved-rule"), exports);
|
20
21
|
__exportStar(require("./ruleCatalogItem"), exports);
|
21
22
|
__exportStar(require("./condition"), exports);
|
@@ -83,12 +83,22 @@ export interface MaterialModel {
|
|
83
83
|
grossWeight?: Weight & Workflow<number>;
|
84
84
|
dimensions?: Dimensions & Workflow<any>;
|
85
85
|
/**
|
86
|
-
*
|
87
|
-
*
|
88
|
-
* there might be more than one materialNumber for different recipients!
|
86
|
+
* Use shippers instead.
|
87
|
+
* @deprecated
|
89
88
|
*/
|
90
89
|
shipper?: string;
|
90
|
+
/**
|
91
|
+
* Use shippers instead.
|
92
|
+
* @deprecated
|
93
|
+
*/
|
91
94
|
shipperId?: string;
|
95
|
+
/**
|
96
|
+
* Used for matching by shipper stakeholder
|
97
|
+
*/
|
98
|
+
shippers?: {
|
99
|
+
id: string;
|
100
|
+
name: string;
|
101
|
+
}[];
|
92
102
|
/**
|
93
103
|
* Used for matching item.countryOfOrigin / aggregated.fromAddress (fallback), only for import cases
|
94
104
|
*/
|
@@ -149,10 +159,6 @@ export interface MaterialModel {
|
|
149
159
|
* Owning obligater, if any. Used for matching by tariff number.
|
150
160
|
*/
|
151
161
|
obligaterId?: string;
|
152
|
-
/**
|
153
|
-
* Different materialNumbers might be applied for different recipients.
|
154
|
-
* The recipientId refers to a stakeholder.
|
155
|
-
*/
|
156
162
|
recipients?: {
|
157
163
|
id: string;
|
158
164
|
name: string;
|
package/package.json
CHANGED
@@ -1,18 +0,0 @@
|
|
1
|
-
import { DocumentCodeSource } from "./document-code-source.enum";
|
2
|
-
import { ConditionModel } from "../execution-strategy/condition.model";
|
3
|
-
export interface DocumentCodeSourceContext {
|
4
|
-
source: DocumentCodeSource;
|
5
|
-
taricQueryParams?: {
|
6
|
-
itemId?: string;
|
7
|
-
countryCode?: string;
|
8
|
-
procedureMode?: string;
|
9
|
-
certificateType?: string;
|
10
|
-
};
|
11
|
-
ruleMetadata?: {
|
12
|
-
name?: string;
|
13
|
-
id?: string;
|
14
|
-
conditions?: ConditionModel[];
|
15
|
-
};
|
16
|
-
computationParams?: any;
|
17
|
-
materialId?: string;
|
18
|
-
}
|
/package/lib/models/digicust/{documents/document-code-source-context.js → case/stats-case.model.js}
RENAMED
File without changes
|