digicust_types 1.7.290 → 1.7.293
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/documents/delivery-note.model.d.ts +51 -0
- package/lib/models/digicust/documents/delivery-note.model.js +2 -0
- package/lib/models/digicust/documents/distributions.model.d.ts +11 -0
- package/lib/models/digicust/documents/distributions.model.js +2 -0
- package/lib/models/digicust/documents/index.d.ts +2 -0
- package/lib/models/digicust/documents/index.js +2 -0
- package/lib/models/digicust/documents/invoice.model.d.ts +1 -7
- package/lib/models/digicust/documents/tariff-classification-input.d.ts +2 -2
- package/lib/models/digicust/transportation/mean-of-transportation.model.d.ts +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { DigicustDocumentModel, Distributions, DocumentLanguage, LineItemContainingDocument } from ".";
|
|
2
|
+
import { AddressModel, CompanyModel, Currency, CustomsTariffNumber, DateTimeModel, Dimensions, IncotermModel, LanguageModel, MeanOfTransportation, Meta, Money, Package, PackageType, TradePreference, TypeOfBusiness, Weight, WeightUnit } from "..";
|
|
3
|
+
export interface DeliveryNotesModel extends DigicustDocumentModel, LineItemContainingDocument {
|
|
4
|
+
shipper?: CompanyModel;
|
|
5
|
+
recipient?: CompanyModel;
|
|
6
|
+
consignee?: CompanyModel;
|
|
7
|
+
beneficiary?: CompanyModel;
|
|
8
|
+
language?: LanguageModel & Meta<DocumentLanguage>;
|
|
9
|
+
deliveryNote?: Meta<string>;
|
|
10
|
+
issueDate?: DateTimeModel;
|
|
11
|
+
invoiceNumber?: Meta<string>;
|
|
12
|
+
sellerOrderNumber?: Meta<string>;
|
|
13
|
+
buyerOrderNumber?: Meta<string>;
|
|
14
|
+
referenceNumber?: Meta<string>;
|
|
15
|
+
waybillNumber?: Meta<string>;
|
|
16
|
+
packingList?: Meta<string>;
|
|
17
|
+
meansOfTransportation?: MeanOfTransportation[];
|
|
18
|
+
typeOfBusiness?: TypeOfBusiness;
|
|
19
|
+
portOfExport?: Meta<string>;
|
|
20
|
+
portOfImport?: Meta<string>;
|
|
21
|
+
incoterm?: IncotermModel;
|
|
22
|
+
placeIncoterm?: AddressModel;
|
|
23
|
+
countryOfOrigin?: AddressModel;
|
|
24
|
+
generalHsCode?: CustomsTariffNumber;
|
|
25
|
+
generalGoodsDescription?: Meta<string>;
|
|
26
|
+
CAS?: Meta<string>;
|
|
27
|
+
dualUseApprovalNumber?: Meta<string>;
|
|
28
|
+
substanceCharacteristics?: Meta<string>;
|
|
29
|
+
intendedApplication?: Meta<string>;
|
|
30
|
+
tradePreference?: TradePreference;
|
|
31
|
+
preferenceInformation?: Meta<string>;
|
|
32
|
+
intrastatInformation?: Meta<string>;
|
|
33
|
+
weight?: Weight;
|
|
34
|
+
netWeight?: Weight;
|
|
35
|
+
weightUnit?: Meta<WeightUnit>;
|
|
36
|
+
typeOfPackage?: PackageType;
|
|
37
|
+
packageDimensions?: Dimensions;
|
|
38
|
+
numberOfShipments?: Meta<number>;
|
|
39
|
+
packages?: Package[];
|
|
40
|
+
totalValueExcludingCharges?: Money;
|
|
41
|
+
insuranceCosts?: Money;
|
|
42
|
+
packagingCosts?: Money;
|
|
43
|
+
discount?: Money;
|
|
44
|
+
licenseFee?: Money;
|
|
45
|
+
otherPayments?: Money;
|
|
46
|
+
shippingCost?: Money;
|
|
47
|
+
totalValue?: Money;
|
|
48
|
+
customsValue?: Money;
|
|
49
|
+
currency?: Meta<Currency>;
|
|
50
|
+
distributions?: Distributions;
|
|
51
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Meta } from "..";
|
|
2
|
+
/**
|
|
3
|
+
* Distribution model
|
|
4
|
+
* currently used in invoice and delivery notes model
|
|
5
|
+
*/
|
|
6
|
+
export interface Distributions {
|
|
7
|
+
deliveryNote?: Meta<string>[];
|
|
8
|
+
buyerOrderNumber?: Meta<string>[];
|
|
9
|
+
hsCode?: Meta<string>[];
|
|
10
|
+
orderNumber?: Meta<string>[];
|
|
11
|
+
}
|
|
@@ -15,3 +15,5 @@ export * from "./line-item-containing-document";
|
|
|
15
15
|
export * from "./atlas-document-number.model";
|
|
16
16
|
export * from "./preliminary-documents";
|
|
17
17
|
export * from "./tariff-classification-input";
|
|
18
|
+
export * from "./delivery-note.model";
|
|
19
|
+
export * from "./distributions.model";
|
|
@@ -36,3 +36,5 @@ __exportStar(require("./line-item-containing-document"), exports);
|
|
|
36
36
|
__exportStar(require("./atlas-document-number.model"), exports);
|
|
37
37
|
__exportStar(require("./preliminary-documents"), exports);
|
|
38
38
|
__exportStar(require("./tariff-classification-input"), exports);
|
|
39
|
+
__exportStar(require("./delivery-note.model"), exports);
|
|
40
|
+
__exportStar(require("./distributions.model"), exports);
|
|
@@ -1,13 +1,7 @@
|
|
|
1
|
-
import { DocumentLanguage } from ".";
|
|
1
|
+
import { Distributions, DocumentLanguage } from ".";
|
|
2
2
|
import { DigicustDocumentModel, IncotermModel, InvoiceType, MeanOfTransportation, Package, TaxDetailsModel, TradePreference, TypeOfBusiness, CustomsTariffNumber } from "..";
|
|
3
3
|
import { AddressModel, CompanyModel, Currency, DateTimeModel, Dimensions, LanguageModel, Meta, Money, PackageType, Weight, WeightUnit } from "../..";
|
|
4
4
|
import { LineItemContainingDocument } from "./line-item-containing-document";
|
|
5
|
-
export interface Distributions {
|
|
6
|
-
deliveryNote?: Meta<string>[];
|
|
7
|
-
buyerOrderNumber?: Meta<string>[];
|
|
8
|
-
hsCode?: Meta<string>[];
|
|
9
|
-
orderNumber?: Meta<string>[];
|
|
10
|
-
}
|
|
11
5
|
/**
|
|
12
6
|
* Identifies an invoice
|
|
13
7
|
*/
|
|
@@ -6,8 +6,8 @@ import { LineItemContainingDocument } from "./line-item-containing-document";
|
|
|
6
6
|
* Identifies a user input on tariff classification
|
|
7
7
|
*/
|
|
8
8
|
export interface TariffClassificationInput extends LineItemContainingDocument, DigicustDocumentModel {
|
|
9
|
-
documentType
|
|
10
|
-
items
|
|
9
|
+
documentType?: DigicustDocumentType.TariffClassificationInput;
|
|
10
|
+
items?: TariffClassificationInputItem[];
|
|
11
11
|
}
|
|
12
12
|
export interface TariffClassificationInputItem extends LineItemModel {
|
|
13
13
|
id?: string;
|
|
@@ -16,6 +16,8 @@ export interface MeanOfTransportation extends Meta<MeanOfTransportationMode> {
|
|
|
16
16
|
/** ISO Code of nationality of the mean */
|
|
17
17
|
countryCode?: string;
|
|
18
18
|
trailerNumber?: string;
|
|
19
|
+
containerNumber?: string;
|
|
20
|
+
truckId?: string;
|
|
19
21
|
}
|
|
20
22
|
export declare enum MeanOfTransportationMode {
|
|
21
23
|
maritime = "Maritime",
|