digicust_types 1.7.439 → 1.7.440

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,5 +1,5 @@
1
1
  import { DigicustDocumentModel } from "./digicust-document.model";
2
- import { LineItemContainingDocument } from "..";
2
+ import { DocumentCode, LineItemContainingDocument } from "..";
3
3
  import { CompanyModel, CustomsOffice, AddressModel, Meta, Weight, MeanOfTransportation, Package, DateTimeModel } from "../..";
4
4
  /**
5
5
  * Identifies an Export Declaration
@@ -10,7 +10,7 @@ export interface TransitDeclaration extends DigicustDocumentModel, LineItemConta
10
10
  exitCustomsOffice?: CustomsOffice;
11
11
  exitDeclarationIssueDate?: DateTimeModel;
12
12
  mrnNumber?: Meta<string>;
13
- declarationType?: Meta<"T1" | "T2">;
13
+ declarationType?: TransitDeclarationType;
14
14
  packages?: Package[];
15
15
  numPackages?: Meta<number>;
16
16
  referenceNumber?: Meta<string>;
@@ -19,3 +19,6 @@ export interface TransitDeclaration extends DigicustDocumentModel, LineItemConta
19
19
  meansOfTransportation?: MeanOfTransportation[];
20
20
  totalGrossWeight?: Weight;
21
21
  }
22
+ export interface TransitDeclarationType extends Meta<"T1" | "T2"> {
23
+ documentCode?: DocumentCode;
24
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "digicust_types",
3
- "version": "1.7.439",
3
+ "version": "1.7.440",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",