digicust_types 1.8.322 → 1.8.324

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.
@@ -1,4 +1,5 @@
1
1
  export declare enum DeclarationType {
2
2
  declaration = "declaration",
3
- preDeclaration = "preDeclaration"
3
+ preDeclaration = "preDeclaration",
4
+ simplifiedDeclaration = "simplifiedDeclaration"
4
5
  }
@@ -3,6 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DeclarationType = void 0;
4
4
  var DeclarationType;
5
5
  (function (DeclarationType) {
6
+ /* EZA */
6
7
  DeclarationType["declaration"] = "declaration";
7
8
  DeclarationType["preDeclaration"] = "preDeclaration";
9
+ /* VZA */
10
+ DeclarationType["simplifiedDeclaration"] = "simplifiedDeclaration";
8
11
  })(DeclarationType || (exports.DeclarationType = DeclarationType = {}));
@@ -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
+ }
@@ -2,10 +2,11 @@ import { CustomsOffice, CustomsTariffNumber } from "../../customs";
2
2
  import { DateTimeModel, Money, Weight } from "../../measures";
3
3
  import { MeanOfTransportation, Package } from "../../transportation";
4
4
  import { DigicustDocumentModel } from "./digicust-document.model";
5
+ import { LineItemContainingDocument } from "../line-item-containing-document";
5
6
  /**
6
7
  * Identifies an export/import instructions
7
8
  */
8
- export interface CustomsServiceInstructions extends DigicustDocumentModel {
9
+ export interface CustomsServiceInstructions extends DigicustDocumentModel, LineItemContainingDocument {
9
10
  issueDate?: DateTimeModel;
10
11
  meansOfTransportation?: MeanOfTransportation[];
11
12
  netWeight?: Weight;
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  /**
3
2
  * Information about an uploaded file. Used by multer package.
4
3
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "digicust_types",
3
- "version": "1.8.322",
3
+ "version": "1.8.324",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -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
- }