digicust_types 1.8.307 → 1.8.309

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ import { Meta } from "..";
2
+ /** swiss VOC duty (https://de.wikipedia.org/wiki/VOC-Abgabe) */
3
+ export interface VOC extends Meta<number> {
4
+ applicable?: boolean;
5
+ /** VOC in kg */
6
+ value?: number;
7
+ percentage?: number;
8
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -24,3 +24,4 @@ export * from "./representative-constellation.enum";
24
24
  export * from "./vat-number.model";
25
25
  export * from "./buyerSellerRelationship.model";
26
26
  export * from "./typeOfExportDeclaration.model";
27
+ export * from "./VOC.model";
@@ -40,3 +40,4 @@ __exportStar(require("./representative-constellation.enum"), exports);
40
40
  __exportStar(require("./vat-number.model"), exports);
41
41
  __exportStar(require("./buyerSellerRelationship.model"), exports);
42
42
  __exportStar(require("./typeOfExportDeclaration.model"), exports);
43
+ __exportStar(require("./VOC.model"), exports);
@@ -54,7 +54,7 @@ export interface EmailEvent extends Event {
54
54
  } & CaseFileMapping;
55
55
  }
56
56
  export interface CaseFileMapping {
57
- format?: "JSON" | "CSV" | "XML" | "TXT";
57
+ format?: "JSON" | "CSV" | "XML" | "TXT" | "XLSX";
58
58
  /** mapping in JSONATA format (https://www.npmjs.com/package/jsonata) */
59
59
  fileNameMapping?: string;
60
60
  /** mapping in JSONATA format (https://www.npmjs.com/package/jsonata) */
@@ -1,4 +1,4 @@
1
- import { Adjustment, Container, DigicustDocumentModel, DocumentTypeCode, MatchingMetadataModel, MaterialMatchInput, MaterialMatchResult, Package, PreferenceState, Procedure, AddressModel, CompanyModel, Currency, CustomsTariffNumber, Meta, Money, Quantity, Weight, WeightUnit, Bbox, UnitOfMeasurement, MasterDataCreationType, CustomsDuty, ImportSalesTax, AdditionDeduction, Translatable, TypeOfBusiness, CountrySpecificLineItem, DateTimeModel, PackageType } from "..";
1
+ import { Adjustment, Container, DigicustDocumentModel, DocumentTypeCode, MatchingMetadataModel, MaterialMatchInput, MaterialMatchResult, Package, PreferenceState, Procedure, AddressModel, CompanyModel, Currency, CustomsTariffNumber, Meta, Money, Quantity, Weight, WeightUnit, Bbox, UnitOfMeasurement, MasterDataCreationType, CustomsDuty, ImportSalesTax, AdditionDeduction, Translatable, TypeOfBusiness, CountrySpecificLineItem, DateTimeModel, PackageType, VOC } from "..";
2
2
  import { ItemFraudDetectionDetails } from "../fraud/item-fraud-detection";
3
3
  /**
4
4
  * Identifies line items (specific products) listed on a document
@@ -49,6 +49,7 @@ export interface LineItemModel {
49
49
  serialNumber?: Meta<string>;
50
50
  buyerArticleNumber?: Meta<string>;
51
51
  buyerOrderNumber?: Meta<string>;
52
+ VOC?: VOC;
52
53
  meursingCode?: Meta<string>;
53
54
  preferenceInformation?: Meta<string>;
54
55
  /** Textual Material Description */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "digicust_types",
3
- "version": "1.8.307",
3
+ "version": "1.8.309",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",