digicust_types 1.8.352 → 1.8.354

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.
@@ -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
+ }
@@ -327,6 +327,9 @@ export interface ExecutionStrategy {
327
327
  threshold?: number;
328
328
  aggregated?: boolean;
329
329
  };
330
+ createNewCaseForEveryWaybillNumber?: {
331
+ active?: boolean;
332
+ };
330
333
  createNewCustomsCaseForInvoice?: {
331
334
  active?: boolean;
332
335
  };
@@ -9,5 +9,7 @@ export interface MaterialMatchResult {
9
9
  matchesShipper?: boolean;
10
10
  hasAnyUserEditedProperties?: boolean;
11
11
  fallbackSearchUsed?: "none" | "paddedNumber" | "emptyShipperCountry" | "emptyDestinationCountry";
12
+ id?: string;
13
+ shipperId?: string;
12
14
  cacheKey?: string;
13
15
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "digicust_types",
3
- "version": "1.8.352",
3
+ "version": "1.8.354",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -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
- }