digicust_types 1.8.347 → 1.8.349
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/models/digicust/documents/document-code-source-context.d.ts +18 -0
- package/lib/models/digicust/execution-strategy/execution-strategy.model.d.ts +4 -16
- package/lib/models/digicust/masterdata/material-match-result.d.ts +1 -1
- package/package.json +1 -1
- package/lib/models/digicust/case/stats-case.model.d.ts +0 -12
- /package/lib/models/digicust/{case/stats-case.model.js → documents/document-code-source-context.js} +0 -0
@@ -0,0 +1,18 @@
|
|
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
|
+
}
|
@@ -411,6 +411,10 @@ export interface ExecutionStrategy {
|
|
411
411
|
* Default: false
|
412
412
|
*/
|
413
413
|
mergeIdenticalEntries?: boolean;
|
414
|
+
/**
|
415
|
+
* If true, recipients will be tracked in the history with NO limit(!). Needs to be true for useRecipientOrImporter to work for matching
|
416
|
+
*/
|
417
|
+
trackRecipients?: boolean;
|
414
418
|
/**
|
415
419
|
* Controls which historical data should be tracked
|
416
420
|
*/
|
@@ -423,22 +427,6 @@ export interface ExecutionStrategy {
|
|
423
427
|
* Track price changes over time with associated quantity info
|
424
428
|
*/
|
425
429
|
prices?: boolean;
|
426
|
-
/**
|
427
|
-
* Controls recipient tracking behavior
|
428
|
-
*/
|
429
|
-
recipients?: {
|
430
|
-
/**
|
431
|
-
* If true, new recipients will be added to the list
|
432
|
-
* If false, recipient list will not be updated
|
433
|
-
* Default: true
|
434
|
-
*/
|
435
|
-
trackNewRecipients?: boolean;
|
436
|
-
/**
|
437
|
-
* Maximum number of recipients to track
|
438
|
-
* Default: no limit
|
439
|
-
*/
|
440
|
-
maxRecipients?: number;
|
441
|
-
};
|
442
430
|
};
|
443
431
|
/**
|
444
432
|
* Controls document code integration from different sources.
|
@@ -8,5 +8,5 @@ export interface MaterialMatchResult {
|
|
8
8
|
matchesBuyerArticleNumberUserEdited?: boolean;
|
9
9
|
matchesShipper?: boolean;
|
10
10
|
hasAnyUserEditedProperties?: boolean;
|
11
|
-
fallbackSearchUsed?: "none" | "paddedNumber" | "
|
11
|
+
fallbackSearchUsed?: "none" | "paddedNumber" | "emptyShipperCountry" | "emptyDestinationCountry";
|
12
12
|
}
|
package/package.json
CHANGED
@@ -1,12 +0,0 @@
|
|
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
|
-
}
|
/package/lib/models/digicust/{case/stats-case.model.js → documents/document-code-source-context.js}
RENAMED
File without changes
|