digicust_types 1.7.292 → 1.7.295
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/digicust-document-type.enum.d.ts +1 -0
- package/lib/models/digicust/documents/digicust-document-type.enum.js +1 -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/line-item/line-item.model.d.ts +2 -1
- 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
|
+
}
|
|
@@ -10,6 +10,7 @@ var DigicustDocumentType;
|
|
|
10
10
|
DigicustDocumentType["Invoice"] = "invoice";
|
|
11
11
|
DigicustDocumentType["Waybill"] = "waybill";
|
|
12
12
|
DigicustDocumentType["PackingList"] = "packingList";
|
|
13
|
+
DigicustDocumentType["DeliveryNote"] = "deliveryNotes";
|
|
13
14
|
DigicustDocumentType["TaxInvoice"] = "taxInvoice";
|
|
14
15
|
DigicustDocumentType["CustomDocument"] = "customDocument";
|
|
15
16
|
DigicustDocumentType["ItemListing"] = "itemListing";
|
|
@@ -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
|
*/
|
|
@@ -9,7 +9,7 @@ export interface LineItemModel {
|
|
|
9
9
|
isCondensed?: boolean;
|
|
10
10
|
/**
|
|
11
11
|
* Invoice Line Items
|
|
12
|
-
|
|
12
|
+
*/
|
|
13
13
|
position?: Meta<string>;
|
|
14
14
|
code?: Meta<string>;
|
|
15
15
|
materialNumber?: Meta<string>;
|
|
@@ -26,6 +26,7 @@ export interface LineItemModel {
|
|
|
26
26
|
customsValue?: Money;
|
|
27
27
|
discount?: Money;
|
|
28
28
|
discountUnit?: Meta<Currency | "%">;
|
|
29
|
+
additionalChargesUnit?: Meta<Currency>;
|
|
29
30
|
netWeight?: Weight;
|
|
30
31
|
totalNetWeight?: Weight;
|
|
31
32
|
grossWeight?: Weight;
|