digicust_types 1.7.331 → 1.7.334

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,8 +1,7 @@
1
- import { Weight, Meta } from "../..";
2
- import { PreliminaryDocument } from "../preliminary-documents";
1
+ import { Weight, Meta, ATB } from "../..";
3
2
  import { DigicustDocumentModel } from "./digicust-document.model";
4
3
  export interface AtbDocumentModel extends DigicustDocumentModel {
5
- preliminaryDocuments?: PreliminaryDocument[];
4
+ preliminaryDocuments?: ATB[];
6
5
  amountOfPositions?: Meta<number>;
7
6
  weight?: Weight;
8
7
  numberOfShipments?: Meta<number>;
@@ -4,6 +4,7 @@ import { InvoiceModel } from "./invoice.model";
4
4
  import { PackingListModel } from "./packing-list.model";
5
5
  import { WaybillModel } from "./waybill.model";
6
6
  import { EmailDocument } from "./email-document.model";
7
- export declare type ProcessableDocumentTypes = InvoiceModel | PackingListModel | ExportDeclaration | WaybillModel | DeliveryNotesModel | EmailDocument;
8
- export declare type ProcessableDocumentTypesArray = InvoiceModel[] | PackingListModel[] | ExportDeclaration[] | WaybillModel[] | DeliveryNotesModel[] | EmailDocument[];
9
- export declare type ProcessableDocumentTypesValue = "invoice" | "packingList" | "exportDeclaration" | "waybill" | "deliveryNotes" | "email";
7
+ import { AtbDocumentModel } from "./ATB-document.model";
8
+ export declare type ProcessableDocumentTypes = InvoiceModel | PackingListModel | ExportDeclaration | WaybillModel | DeliveryNotesModel | EmailDocument | AtbDocumentModel;
9
+ export declare type ProcessableDocumentTypesArray = InvoiceModel[] | PackingListModel[] | ExportDeclaration[] | WaybillModel[] | DeliveryNotesModel[] | EmailDocument[] | AtbDocumentModel[];
10
+ export declare type ProcessableDocumentTypesValue = "invoice" | "packingList" | "exportDeclaration" | "waybill" | "deliveryNotes" | "email" | "atbDocument";
@@ -1,4 +1,5 @@
1
- export interface PreliminaryDocument {
1
+ import { Meta } from "../../meta";
2
+ export interface PreliminaryDocument extends Meta<PreliminaryDocument> {
2
3
  type: PreliminaryDocumentType;
3
4
  }
4
5
  export declare enum PreliminaryDocumentType {
@@ -1,4 +1,4 @@
1
- import { Dimensions, Meta, PackageType, Weight, WeightUnit, AtlasDocumentNumber } from "..";
1
+ import { Dimensions, Meta, PackageType, Weight, WeightUnit } from "..";
2
2
  export interface Package extends Meta<any> {
3
3
  weight?: Weight;
4
4
  netWeight?: Weight;
@@ -10,5 +10,4 @@ export interface Package extends Meta<any> {
10
10
  amount?: Meta<number>;
11
11
  packageNumber?: Meta<string>;
12
12
  marks?: Meta<string>;
13
- ATBNumber?: AtlasDocumentNumber;
14
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "digicust_types",
3
- "version": "1.7.331",
3
+ "version": "1.7.334",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",