digicust_types 1.7.259 → 1.7.262
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.
- package/lib/models/digicust/case/aggregated-case-data.model.d.ts +2 -4
- package/lib/models/digicust/documents/invoice.model.d.ts +6 -7
- package/lib/models/digicust/transportation/index.d.ts +1 -0
- package/lib/models/digicust/transportation/index.js +1 -0
- package/lib/models/digicust/transportation/mean-of-transportation.model.d.ts +1 -0
- package/lib/models/digicust/transportation/port.model.d.ts +9 -0
- package/lib/models/digicust/transportation/port.model.js +8 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Procedure, LoadType, Adjustment, Container, WaybillTypeModel, IncotermModel, CostIntersection, TradePreference, CustomsOffice, MeanOfTransportation, TypeOfBusiness, CaseType, LineItemModel, Package, Meta, AddressModel, DateTimeModel, CompanyModel, Currency, WeightUnit, Weight, Money, TransitItemModel, ConstellationOfParticipantsModel } from "..";
|
|
1
|
+
import { Procedure, LoadType, Adjustment, Container, WaybillTypeModel, IncotermModel, CostIntersection, TradePreference, CustomsOffice, MeanOfTransportation, TypeOfBusiness, CaseType, LineItemModel, Package, Meta, AddressModel, DateTimeModel, CompanyModel, Currency, WeightUnit, Weight, Money, TransitItemModel, ConstellationOfParticipantsModel, PortsModel } from "..";
|
|
2
2
|
/**
|
|
3
3
|
* Used to store aggregated information of a case
|
|
4
4
|
*/
|
|
@@ -38,7 +38,6 @@ export interface AggregatedCaseDataModel {
|
|
|
38
38
|
currency?: Meta<Currency>;
|
|
39
39
|
waybillType?: WaybillTypeModel;
|
|
40
40
|
waybillNumber?: Meta<string>;
|
|
41
|
-
trailerNumber?: Meta<string>;
|
|
42
41
|
weightUnit?: Meta<WeightUnit>;
|
|
43
42
|
weight?: Weight;
|
|
44
43
|
netWeight?: Weight;
|
|
@@ -49,8 +48,7 @@ export interface AggregatedCaseDataModel {
|
|
|
49
48
|
customsOffices?: CustomsOffice[];
|
|
50
49
|
meansOfTransportation?: MeanOfTransportation[];
|
|
51
50
|
typeofBusiness?: TypeOfBusiness;
|
|
52
|
-
|
|
53
|
-
portOfImport?: Meta<string>;
|
|
51
|
+
ports?: PortsModel;
|
|
54
52
|
/** case flow (import, export, ...) */
|
|
55
53
|
caseType?: Meta<CaseType>;
|
|
56
54
|
items?: LineItemModel[];
|
|
@@ -2,11 +2,11 @@ import { DigicustDocumentModel, IncotermModel, InvoiceType, MeanOfTransportation
|
|
|
2
2
|
import { AddressModel, CompanyModel, Currency, DateTimeModel, Dimensions, LanguageModel, Meta, Money, PackageType, Weight, WeightUnit } from "../..";
|
|
3
3
|
import { InvoiceLanguage } from "./invoice-language.enum";
|
|
4
4
|
import { LineItemContainingDocument } from "./line-item-containing-document";
|
|
5
|
-
export interface
|
|
6
|
-
deliveryNote?: Meta<string[]
|
|
7
|
-
buyerOrderNumber?: Meta<string[]
|
|
8
|
-
hsCode?: Meta<string[]
|
|
9
|
-
orderNumber?: Meta<string[]
|
|
5
|
+
export interface Distributions {
|
|
6
|
+
deliveryNote?: Meta<string>[];
|
|
7
|
+
buyerOrderNumber?: Meta<string>[];
|
|
8
|
+
hsCode?: Meta<string>[];
|
|
9
|
+
orderNumber?: Meta<string>[];
|
|
10
10
|
}
|
|
11
11
|
/**
|
|
12
12
|
* Identifies an invoice
|
|
@@ -23,8 +23,7 @@ export interface InvoiceModel extends DigicustDocumentModel, LineItemContainingD
|
|
|
23
23
|
referenceNumber?: Meta<string>;
|
|
24
24
|
deliveryNote?: Meta<string>;
|
|
25
25
|
packingList?: Meta<string>;
|
|
26
|
-
|
|
27
|
-
distribution?: DistributionSection;
|
|
26
|
+
distributions?: Distributions;
|
|
28
27
|
meansOfTransportation?: MeanOfTransportation[];
|
|
29
28
|
typeOfBusiness?: TypeOfBusiness;
|
|
30
29
|
portOfExport?: Meta<string>;
|
|
@@ -21,3 +21,4 @@ __exportStar(require("./load-type.enum"), exports);
|
|
|
21
21
|
__exportStar(require("./mean-of-transportation.model"), exports);
|
|
22
22
|
__exportStar(require("./package-type.model"), exports);
|
|
23
23
|
__exportStar(require("./package.model"), exports);
|
|
24
|
+
__exportStar(require("./port.model"), exports);
|
|
@@ -15,6 +15,7 @@ export interface MeanOfTransportation extends Meta<MeanOfTransportationMode> {
|
|
|
15
15
|
type?: MeanOfTransportationType;
|
|
16
16
|
/** ISO Code of nationality of the mean */
|
|
17
17
|
countryCode?: string;
|
|
18
|
+
trailerNumber?: string;
|
|
18
19
|
}
|
|
19
20
|
export declare enum MeanOfTransportationMode {
|
|
20
21
|
maritime = "Maritime",
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PortType = void 0;
|
|
4
|
+
var PortType;
|
|
5
|
+
(function (PortType) {
|
|
6
|
+
PortType["Import"] = "Import";
|
|
7
|
+
PortType["Export"] = "Export";
|
|
8
|
+
})(PortType = exports.PortType || (exports.PortType = {}));
|