digicust_types 1.8.308 → 1.8.310

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,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);
@@ -104,6 +104,7 @@ export interface ExecutionStrategy {
104
104
  /** Default: Assume origin from preference. Set to true to mitigate this behavior */
105
105
  doNotAssumeOriginFromPreference?: boolean;
106
106
  assumeOriginFromHead?: boolean;
107
+ assumeOriginFromDepartureCountry?: boolean;
107
108
  translateLineItemDescriptions?: {
108
109
  active?: boolean;
109
110
  destinationLanguage?: string;
@@ -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.308",
3
+ "version": "1.8.310",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",