digicust_types 1.8.454 → 1.8.456

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.
@@ -20,6 +20,8 @@ export interface InvoiceModel extends DigicustDocumentModel, LineItemContainingD
20
20
  deliveryNote?: Meta<string>;
21
21
  packingList?: Meta<string>;
22
22
  containers?: Container[];
23
+ /** CT-1895 p2 field requested by HTS, it will be present on email or invoice */
24
+ chassisNumber?: Meta<string>;
23
25
  typeOfBusiness?: TypeOfBusiness;
24
26
  portOfExport?: Port;
25
27
  portOfImport?: Port;
@@ -1,2 +1,3 @@
1
1
  export * from "./line-item.model";
2
+ export * from "./line-item-description.model";
2
3
  export * from "./line-item-match-result";
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./line-item.model"), exports);
18
+ __exportStar(require("./line-item-description.model"), exports);
18
19
  __exportStar(require("./line-item-match-result"), exports);
@@ -0,0 +1,16 @@
1
+ import { Translatable } from "../meta";
2
+ export interface LineItemDescriptionModel extends Translatable {
3
+ components?: {
4
+ tariffNumberDescription?: string;
5
+ webDescription?: string;
6
+ materialDescription?: string;
7
+ originalItemDescription?: string;
8
+ shortenedOriginalItemDescription?: string;
9
+ translatedDescription?: string;
10
+ };
11
+ composites?: {
12
+ webDescriptionComposite?: string;
13
+ originalItemDescriptionComposite?: string;
14
+ translatedDescriptionComposite?: string;
15
+ };
16
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +1,6 @@
1
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
+ import { LineItemDescriptionModel } from "./line-item-description.model";
3
4
  /**
4
5
  * Identifies line items (specific products) listed on a document
5
6
  */
@@ -16,7 +17,7 @@ export interface LineItemModel {
16
17
  code?: Meta<string>;
17
18
  materialNumber?: Meta<string>;
18
19
  orderNumber?: Meta<string>;
19
- description?: Translatable;
20
+ description?: LineItemDescriptionModel;
20
21
  additionalInformation?: Meta<string>;
21
22
  customsTariffNumber?: CustomsTariffNumber;
22
23
  documentDescription?: Translatable;
@@ -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.454",
3
+ "version": "1.8.456",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",