digicust_types 1.8.332 → 1.8.334

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
+ }
@@ -1,6 +1,6 @@
1
1
  import { DigicustDocumentModel } from "./digicust-document.model";
2
2
  import { WaybillTypeModel, DocumentCode } from "..";
3
- import { CompanyModel, Meta, DateTimeModel, WeightUnit, Weight, Money, IncotermModel, AddressModel, Currency, Package, MeanOfTransportation, PackageType, Container, Port } from "../..";
3
+ import { CompanyModel, Meta, DateTimeModel, WeightUnit, Weight, Money, IncotermModel, AddressModel, Currency, Package, MeanOfTransportation, PackageType, Container, Port, LineItemModel } from "../..";
4
4
  /**
5
5
  * Identifies a waybill document
6
6
  */
@@ -27,6 +27,7 @@ export interface WaybillModel extends DigicustDocumentModel {
27
27
  currency?: Meta<Currency>;
28
28
  portOfExport?: Port;
29
29
  portOfImport?: Port;
30
+ items?: LineItemModel[];
30
31
  typeOfPackage?: PackageType;
31
32
  numPackagesShipped?: Meta<number>;
32
33
  packages?: Package[];
@@ -308,6 +308,9 @@ export interface ExecutionStrategy {
308
308
  createNewCustomsCasesPerRecipient?: {
309
309
  active?: boolean;
310
310
  };
311
+ createNewCustomsCasesPerWaybillContainer?: {
312
+ active?: boolean;
313
+ };
311
314
  };
312
315
  matchingEngine?: {
313
316
  materialMatching?: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="node" />
1
2
  /**
2
3
  * Information about an uploaded file. Used by multer package.
3
4
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "digicust_types",
3
- "version": "1.8.332",
3
+ "version": "1.8.334",
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
- }