digicust_types 1.8.73 → 1.8.74
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/billing/periods.enum.js +1 -1
- package/lib/models/digicust/case/case-status.enum.js +1 -1
- package/lib/models/digicust/case/case-submission-transaction.js +2 -2
- package/lib/models/digicust/case/case-type.enum.js +1 -1
- package/lib/models/digicust/company/permit-number.model.js +1 -1
- package/lib/models/digicust/customer/project.model.js +1 -1
- package/lib/models/digicust/customs/buyerSellerRelationship.model.js +1 -1
- package/lib/models/digicust/customs/consignment-size.enum.js +1 -1
- package/lib/models/digicust/customs/customsOffice.model.js +1 -1
- package/lib/models/digicust/customs/declaration-type.enum.js +1 -1
- package/lib/models/digicust/customs/operation-type.enum.js +1 -1
- package/lib/models/digicust/customs/port-type.enum.js +1 -1
- package/lib/models/digicust/customs/procedure.model.js +1 -1
- package/lib/models/digicust/customs/representative-constellation.enum.js +1 -1
- package/lib/models/digicust/customs/type-of-business/type-of-business.enum.js +1 -1
- package/lib/models/digicust/documents/digicust-document-type.enum.js +1 -1
- package/lib/models/digicust/documents/document-language.enum.js +1 -1
- package/lib/models/digicust/documents/document-status.enum.js +4 -4
- package/lib/models/digicust/documents/document-types/document-types-helper.d.ts +3 -3
- package/lib/models/digicust/documents/preliminary-documents/preliminary-document.model.js +1 -1
- package/lib/models/digicust/documents/waybill-type.model.js +1 -1
- package/lib/models/digicust/environment.enum.js +1 -1
- package/lib/models/digicust/event/event.model.js +1 -1
- package/lib/models/digicust/frontend/field-type.enum.js +1 -1
- package/lib/models/digicust/frontend/filter.enum.js +1 -1
- package/lib/models/digicust/frontend/prefix.enum.js +1 -1
- package/lib/models/digicust/frontend/section-type.enum.js +1 -1
- package/lib/models/digicust/frontend/sort.enum.js +1 -1
- package/lib/models/digicust/masterdata/material.model.d.ts +3 -2
- package/lib/models/digicust/masterdata/material.model.js +3 -2
- package/lib/models/digicust/masterdata/stakeholder-role.enum.js +1 -1
- package/lib/models/digicust/masterdata/string-scoring-algorithm-type.enum.js +1 -1
- package/lib/models/digicust/measures/dimensions/dimensions-unit.enum.js +1 -1
- package/lib/models/digicust/measures/money/currency.enum.d.ts +178 -178
- package/lib/models/digicust/measures/money/currency.enum.js +1 -1
- package/lib/models/digicust/measures/unit-of-measurement/uom.enum.js +1 -1
- package/lib/models/digicust/measures/weight/weight-unit.enum.js +1 -1
- package/lib/models/digicust/module/module.model.js +2 -2
- package/lib/models/digicust/transportation/cost-intersection.model.js +1 -1
- package/lib/models/digicust/transportation/incoterm.model.js +1 -1
- package/lib/models/digicust/transportation/load-type.enum.js +1 -1
- package/lib/models/digicust/transportation/mean-of-transportation.model.js +2 -2
- package/lib/models/rossum/rossum-import-status.enum.js +1 -1
- package/package.json +49 -49
- package/readme.md +48 -48
|
@@ -6,4 +6,4 @@ var BillingPeriods;
|
|
|
6
6
|
BillingPeriods["monthly"] = "monthly";
|
|
7
7
|
BillingPeriods["half_yearly"] = "half_yearly";
|
|
8
8
|
BillingPeriods["anually"] = "anually";
|
|
9
|
-
})(BillingPeriods
|
|
9
|
+
})(BillingPeriods || (exports.BillingPeriods = BillingPeriods = {}));
|
|
@@ -23,4 +23,4 @@ var CaseStatus;
|
|
|
23
23
|
CaseStatus["questionCustoms"] = "questionCustoms";
|
|
24
24
|
CaseStatus["firstClearance"] = "firstClearance";
|
|
25
25
|
CaseStatus["secondClearance"] = "secondClearance";
|
|
26
|
-
})(CaseStatus
|
|
26
|
+
})(CaseStatus || (exports.CaseStatus = CaseStatus = {}));
|
|
@@ -9,7 +9,7 @@ var CaseSubmissionProcedure;
|
|
|
9
9
|
// Freier Verkehr
|
|
10
10
|
CaseSubmissionProcedure["FreierVerkehrAbfertigung"] = "FreierVerkehrAbfertigung";
|
|
11
11
|
CaseSubmissionProcedure["ErgaenzendeAnmeldungFVAVUV"] = "ErgaenzendeAnmeldungFVAVUV";
|
|
12
|
-
})(CaseSubmissionProcedure
|
|
12
|
+
})(CaseSubmissionProcedure || (exports.CaseSubmissionProcedure = CaseSubmissionProcedure = {}));
|
|
13
13
|
var CaseSubmissionTransactionType;
|
|
14
14
|
(function (CaseSubmissionTransactionType) {
|
|
15
15
|
// Freier Verkehr
|
|
@@ -17,4 +17,4 @@ var CaseSubmissionTransactionType;
|
|
|
17
17
|
CaseSubmissionTransactionType["FreierVerkehrAbfertigungFreierVerkehrAktVeredelUmwandlung"] = "FreierVerkehrAbfertigungFreierVerkehrAktVeredelUmwandlung";
|
|
18
18
|
CaseSubmissionTransactionType["VersandanmeldungNCTSDE"] = "VersandanmeldungNCTSDE";
|
|
19
19
|
CaseSubmissionTransactionType["QuittungEingangsverarbeitung"] = "QuittungEingangsverarbeitung";
|
|
20
|
-
})(CaseSubmissionTransactionType
|
|
20
|
+
})(CaseSubmissionTransactionType || (exports.CaseSubmissionTransactionType = CaseSubmissionTransactionType = {}));
|
|
@@ -7,4 +7,4 @@ var PermitNumberType;
|
|
|
7
7
|
PermitNumberType["letterProcedure"] = "letterProcedure";
|
|
8
8
|
PermitNumberType["passiveProcessing"] = "passiveProcessing";
|
|
9
9
|
PermitNumberType["trustedExporter"] = "trustedExporter";
|
|
10
|
-
})(PermitNumberType
|
|
10
|
+
})(PermitNumberType || (exports.PermitNumberType = PermitNumberType = {}));
|
|
@@ -9,4 +9,4 @@ var BuyerSellerRelationshipMode;
|
|
|
9
9
|
BuyerSellerRelationshipMode["ConnectedNoInfluence"] = "connectedNoInfluence";
|
|
10
10
|
/* Seller and buyer are connected, the connection has influenced the price */
|
|
11
11
|
BuyerSellerRelationshipMode["ConnectedInfluence"] = "connectedInfluence";
|
|
12
|
-
})(BuyerSellerRelationshipMode
|
|
12
|
+
})(BuyerSellerRelationshipMode || (exports.BuyerSellerRelationshipMode = BuyerSellerRelationshipMode = {}));
|
|
@@ -5,4 +5,4 @@ var ConsignmentSize;
|
|
|
5
5
|
(function (ConsignmentSize) {
|
|
6
6
|
ConsignmentSize["smallConsignment"] = "small";
|
|
7
7
|
ConsignmentSize["bulkConsignment"] = "bulk";
|
|
8
|
-
})(ConsignmentSize
|
|
8
|
+
})(ConsignmentSize || (exports.ConsignmentSize = ConsignmentSize = {}));
|
|
@@ -11,4 +11,4 @@ var CustomsOfficeType;
|
|
|
11
11
|
CustomsOfficeType["declaration"] = "Declaration";
|
|
12
12
|
CustomsOfficeType["departure"] = "Departure";
|
|
13
13
|
CustomsOfficeType["destination"] = "Destination";
|
|
14
|
-
})(CustomsOfficeType
|
|
14
|
+
})(CustomsOfficeType || (exports.CustomsOfficeType = CustomsOfficeType = {}));
|
|
@@ -5,4 +5,4 @@ var DeclarationType;
|
|
|
5
5
|
(function (DeclarationType) {
|
|
6
6
|
DeclarationType["declaration"] = "declaration";
|
|
7
7
|
DeclarationType["preDeclaration"] = "preDeclaration";
|
|
8
|
-
})(DeclarationType
|
|
8
|
+
})(DeclarationType || (exports.DeclarationType = DeclarationType = {}));
|
|
@@ -16,4 +16,4 @@ var OperationType;
|
|
|
16
16
|
OperationType["outwardProcessing"] = "OutwardProcessing";
|
|
17
17
|
OperationType["throughTransit"] = "ThroughTransit";
|
|
18
18
|
OperationType["outwardTransit"] = "OutwardTransit";
|
|
19
|
-
})(OperationType
|
|
19
|
+
})(OperationType || (exports.OperationType = OperationType = {}));
|
|
@@ -7,4 +7,4 @@ var ProcedureMode;
|
|
|
7
7
|
ProcedureMode["import"] = "import";
|
|
8
8
|
ProcedureMode["intrastat"] = "intrastat";
|
|
9
9
|
ProcedureMode["transit"] = "transit";
|
|
10
|
-
})(ProcedureMode
|
|
10
|
+
})(ProcedureMode || (exports.ProcedureMode = ProcedureMode = {}));
|
|
@@ -6,4 +6,4 @@ var RepresentativeConstellation;
|
|
|
6
6
|
RepresentativeConstellation["None"] = "none";
|
|
7
7
|
RepresentativeConstellation["Direct"] = "direct";
|
|
8
8
|
RepresentativeConstellation["Indirect"] = "indirect";
|
|
9
|
-
})(RepresentativeConstellation
|
|
9
|
+
})(RepresentativeConstellation || (exports.RepresentativeConstellation = RepresentativeConstellation = {}));
|
|
@@ -45,4 +45,4 @@ var TypeOfBusinessType;
|
|
|
45
45
|
TypeOfBusinessType["OtherRentalBusiness"] = "otherRentalBusiness";
|
|
46
46
|
/** Sonstige Geschäfte */
|
|
47
47
|
TypeOfBusinessType["OtherBusiness"] = "otherBusiness";
|
|
48
|
-
})(TypeOfBusinessType
|
|
48
|
+
})(TypeOfBusinessType || (exports.TypeOfBusinessType = TypeOfBusinessType = {}));
|
|
@@ -30,4 +30,4 @@ var DigicustDocumentType;
|
|
|
30
30
|
DigicustDocumentType["EUR1"] = "EUR1";
|
|
31
31
|
DigicustDocumentType["UserInput"] = "UserInput";
|
|
32
32
|
DigicustDocumentType["XML"] = "XML";
|
|
33
|
-
})(DigicustDocumentType
|
|
33
|
+
})(DigicustDocumentType || (exports.DigicustDocumentType = DigicustDocumentType = {}));
|
|
@@ -14,4 +14,4 @@ var DocumentLanguage;
|
|
|
14
14
|
DocumentLanguage["SK"] = "slowakian";
|
|
15
15
|
DocumentLanguage["HU"] = "hungarian";
|
|
16
16
|
DocumentLanguage["IT"] = "italian";
|
|
17
|
-
})(DocumentLanguage
|
|
17
|
+
})(DocumentLanguage || (exports.DocumentLanguage = DocumentLanguage = {}));
|
|
@@ -14,7 +14,7 @@ var DocumentStatus;
|
|
|
14
14
|
DocumentStatus["Error"] = "error";
|
|
15
15
|
DocumentStatus["Finished"] = "finished";
|
|
16
16
|
DocumentStatus["Review"] = "review";
|
|
17
|
-
})(DocumentStatus
|
|
17
|
+
})(DocumentStatus || (exports.DocumentStatus = DocumentStatus = {}));
|
|
18
18
|
var UserDocumentStatus;
|
|
19
19
|
(function (UserDocumentStatus) {
|
|
20
20
|
UserDocumentStatus["Aborted"] = "aborted";
|
|
@@ -25,14 +25,14 @@ var UserDocumentStatus;
|
|
|
25
25
|
UserDocumentStatus["Exported"] = "exported";
|
|
26
26
|
UserDocumentStatus["Testing"] = "testing";
|
|
27
27
|
UserDocumentStatus["Validate"] = "validate";
|
|
28
|
-
})(UserDocumentStatus
|
|
28
|
+
})(UserDocumentStatus || (exports.UserDocumentStatus = UserDocumentStatus = {}));
|
|
29
29
|
var SubDocumentStatus;
|
|
30
30
|
(function (SubDocumentStatus) {
|
|
31
31
|
SubDocumentStatus["manual"] = "manual";
|
|
32
32
|
SubDocumentStatus["inProgress"] = "In Progress";
|
|
33
33
|
SubDocumentStatus["completed"] = "completed";
|
|
34
34
|
SubDocumentStatus["failed"] = "failed";
|
|
35
|
-
})(SubDocumentStatus
|
|
35
|
+
})(SubDocumentStatus || (exports.SubDocumentStatus = SubDocumentStatus = {}));
|
|
36
36
|
var ClassificationStatus;
|
|
37
37
|
(function (ClassificationStatus) {
|
|
38
38
|
ClassificationStatus["Edit"] = "edit";
|
|
@@ -42,4 +42,4 @@ var ClassificationStatus;
|
|
|
42
42
|
ClassificationStatus["Finished"] = "finished";
|
|
43
43
|
ClassificationStatus["Erased"] = "erased";
|
|
44
44
|
ClassificationStatus["OtherDocs"] = "otherdocs";
|
|
45
|
-
})(ClassificationStatus
|
|
45
|
+
})(ClassificationStatus || (exports.ClassificationStatus = ClassificationStatus = {}));
|
|
@@ -5,6 +5,6 @@ import { PackingListModel } from "./packing-list.model";
|
|
|
5
5
|
import { WaybillModel } from "./waybill.model";
|
|
6
6
|
import { EmailDocument } from "./email-document.model";
|
|
7
7
|
import { TemporaryStorageModel } from "./temporary-storage.model";
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
8
|
+
export type ProcessableDocumentTypes = InvoiceModel | PackingListModel | ExportDeclaration | WaybillModel | DeliveryNotesModel | EmailDocument | TemporaryStorageModel;
|
|
9
|
+
export type ProcessableDocumentTypesArray = InvoiceModel[] | PackingListModel[] | ExportDeclaration[] | WaybillModel[] | DeliveryNotesModel[] | EmailDocument[] | TemporaryStorageModel[];
|
|
10
|
+
export type ProcessableDocumentTypesValue = "invoice" | "packingList" | "exportDeclaration" | "waybill" | "deliveryNotes" | "email" | "TemporaryStorage";
|
|
@@ -4,4 +4,4 @@ exports.PreliminaryDocumentType = void 0;
|
|
|
4
4
|
var PreliminaryDocumentType;
|
|
5
5
|
(function (PreliminaryDocumentType) {
|
|
6
6
|
PreliminaryDocumentType["ATB"] = "ATB";
|
|
7
|
-
})(PreliminaryDocumentType
|
|
7
|
+
})(PreliminaryDocumentType || (exports.PreliminaryDocumentType = PreliminaryDocumentType = {}));
|
|
@@ -11,4 +11,4 @@ var WaybillType;
|
|
|
11
11
|
WaybillType["cmrWaybill"] = "cmrWaybill";
|
|
12
12
|
WaybillType["billOfLading"] = "billOfLading";
|
|
13
13
|
WaybillType["konossement"] = "konossement";
|
|
14
|
-
})(WaybillType
|
|
14
|
+
})(WaybillType || (exports.WaybillType = WaybillType = {}));
|
|
@@ -11,4 +11,4 @@ var FilterCondition;
|
|
|
11
11
|
FilterCondition["endsWith"] = "endsWith";
|
|
12
12
|
FilterCondition["contains"] = "contains";
|
|
13
13
|
FilterCondition["isUserEdited"] = "isUserEdited";
|
|
14
|
-
})(FilterCondition
|
|
14
|
+
})(FilterCondition || (exports.FilterCondition = FilterCondition = {}));
|
|
@@ -3,6 +3,7 @@ import { CustomsTariffNumber, DateTimeModel, Dimensions, Meta, Money, Quantity,
|
|
|
3
3
|
import { DocumentCode } from "../documents";
|
|
4
4
|
export declare enum ClassificationTypes {
|
|
5
5
|
noClassification = "noClassification",
|
|
6
|
+
classifyOnlyMissing = "classifyOnlyMissing",
|
|
6
7
|
classifyAndSuggest = "classifyAndSuggest",
|
|
7
8
|
classifyAndReplace = "classifyAndReplace"
|
|
8
9
|
}
|
|
@@ -41,8 +42,8 @@ export interface Meursing extends Meta<string> {
|
|
|
41
42
|
saccharose?: Workflow<number>;
|
|
42
43
|
}
|
|
43
44
|
export declare enum MasterDataCreationType {
|
|
44
|
-
manual = "manual"
|
|
45
|
-
processed = "processed"
|
|
45
|
+
manual = "manual",// If created using frontend
|
|
46
|
+
processed = "processed",// Id added by integration service
|
|
46
47
|
file = "file"
|
|
47
48
|
}
|
|
48
49
|
export interface MaterialModel {
|
|
@@ -4,12 +4,13 @@ exports.MasterDataCreationType = exports.ClassificationTypes = void 0;
|
|
|
4
4
|
var ClassificationTypes;
|
|
5
5
|
(function (ClassificationTypes) {
|
|
6
6
|
ClassificationTypes["noClassification"] = "noClassification";
|
|
7
|
+
ClassificationTypes["classifyOnlyMissing"] = "classifyOnlyMissing";
|
|
7
8
|
ClassificationTypes["classifyAndSuggest"] = "classifyAndSuggest";
|
|
8
9
|
ClassificationTypes["classifyAndReplace"] = "classifyAndReplace";
|
|
9
|
-
})(ClassificationTypes
|
|
10
|
+
})(ClassificationTypes || (exports.ClassificationTypes = ClassificationTypes = {}));
|
|
10
11
|
var MasterDataCreationType;
|
|
11
12
|
(function (MasterDataCreationType) {
|
|
12
13
|
MasterDataCreationType["manual"] = "manual";
|
|
13
14
|
MasterDataCreationType["processed"] = "processed";
|
|
14
15
|
MasterDataCreationType["file"] = "file";
|
|
15
|
-
})(MasterDataCreationType
|
|
16
|
+
})(MasterDataCreationType || (exports.MasterDataCreationType = MasterDataCreationType = {}));
|
|
@@ -12,4 +12,4 @@ var StakeholderRole;
|
|
|
12
12
|
StakeholderRole["Buyer"] = "buyer";
|
|
13
13
|
StakeholderRole["Carrier"] = "carrier";
|
|
14
14
|
StakeholderRole["Warehouse"] = "warehouse";
|
|
15
|
-
})(StakeholderRole
|
|
15
|
+
})(StakeholderRole || (exports.StakeholderRole = StakeholderRole = {}));
|
|
@@ -7,4 +7,4 @@ var StringScoringAlgorithmType;
|
|
|
7
7
|
StringScoringAlgorithmType["Normalized"] = "normalized";
|
|
8
8
|
StringScoringAlgorithmType["JaroWrinkler"] = "jaro-wrinkler";
|
|
9
9
|
StringScoringAlgorithmType["CosineSimilarity"] = "cosine-similarity";
|
|
10
|
-
})(StringScoringAlgorithmType
|
|
10
|
+
})(StringScoringAlgorithmType || (exports.StringScoringAlgorithmType = StringScoringAlgorithmType = {}));
|
|
@@ -8,4 +8,4 @@ var DimensionsUnit;
|
|
|
8
8
|
DimensionsUnit["feet"] = "ft";
|
|
9
9
|
DimensionsUnit["decimeter"] = "dm";
|
|
10
10
|
DimensionsUnit["milimeter"] = "mm";
|
|
11
|
-
})(DimensionsUnit
|
|
11
|
+
})(DimensionsUnit || (exports.DimensionsUnit = DimensionsUnit = {}));
|
|
@@ -1,181 +1,181 @@
|
|
|
1
1
|
export declare enum Currency {
|
|
2
|
-
EUR = "EUR"
|
|
3
|
-
USD = "USD"
|
|
4
|
-
GBP = "GBP"
|
|
5
|
-
AED = "AED"
|
|
6
|
-
AFN = "AFN"
|
|
7
|
-
ALL = "ALL"
|
|
8
|
-
AMD = "AMD"
|
|
9
|
-
ANG = "ANG"
|
|
10
|
-
AOA = "AOA"
|
|
11
|
-
ARS = "ARS"
|
|
12
|
-
AUD = "AUD"
|
|
13
|
-
AWG = "AWG"
|
|
14
|
-
AZN = "AZN"
|
|
15
|
-
BAM = "BAM"
|
|
16
|
-
BBD = "BBD"
|
|
17
|
-
BDT = "BDT"
|
|
18
|
-
BGN = "BGN"
|
|
19
|
-
BHD = "BHD"
|
|
20
|
-
BIF = "BIF"
|
|
21
|
-
BMD = "BMD"
|
|
22
|
-
BND = "BND"
|
|
23
|
-
BOB = "BOB"
|
|
24
|
-
BOV = "BOV"
|
|
25
|
-
BRL = "BRL"
|
|
26
|
-
BSD = "BSD"
|
|
27
|
-
BTN = "BTN"
|
|
28
|
-
BWP = "BWP"
|
|
29
|
-
BYN = "BYN"
|
|
30
|
-
BZD = "BZD"
|
|
31
|
-
CAD = "CAD"
|
|
32
|
-
CDF = "CDF"
|
|
33
|
-
CHE = "CHE"
|
|
34
|
-
CHF = "CHF"
|
|
35
|
-
CHW = "CHW"
|
|
36
|
-
CLF = "CLF"
|
|
37
|
-
CLP = "CLP"
|
|
38
|
-
CNY = "CNY"
|
|
39
|
-
COP = "COP"
|
|
40
|
-
COU = "COU"
|
|
41
|
-
CRC = "CRC"
|
|
42
|
-
CUC = "CUC"
|
|
43
|
-
CUP = "CUP"
|
|
44
|
-
CVE = "CVE"
|
|
45
|
-
CZK = "CZK"
|
|
46
|
-
DJF = "DJF"
|
|
47
|
-
DKK = "DKK"
|
|
48
|
-
DOP = "DOP"
|
|
49
|
-
DZD = "DZD"
|
|
50
|
-
EGP = "EGP"
|
|
51
|
-
ERN = "ERN"
|
|
52
|
-
ETB = "ETB"
|
|
53
|
-
FJD = "FJD"
|
|
54
|
-
FKP = "FKP"
|
|
55
|
-
GEL = "GEL"
|
|
56
|
-
GHS = "GHS"
|
|
57
|
-
GIP = "GIP"
|
|
58
|
-
GMD = "GMD"
|
|
59
|
-
GNF = "GNF"
|
|
60
|
-
GTQ = "GTQ"
|
|
61
|
-
GYD = "GYD"
|
|
62
|
-
HKD = "HKD"
|
|
63
|
-
HNL = "HNL"
|
|
64
|
-
HRK = "HRK",
|
|
65
|
-
HTG = "HTG"
|
|
66
|
-
HUF = "HUF"
|
|
67
|
-
IDR = "IDR"
|
|
68
|
-
ILS = "ILS"
|
|
69
|
-
INR = "INR"
|
|
70
|
-
IQD = "IQD"
|
|
71
|
-
IRR = "IRR"
|
|
72
|
-
ISK = "ISK"
|
|
73
|
-
JMD = "JMD"
|
|
74
|
-
JOD = "JOD"
|
|
75
|
-
JPY = "JPY"
|
|
76
|
-
KES = "KES"
|
|
77
|
-
KGS = "KGS"
|
|
78
|
-
KHR = "KHR"
|
|
79
|
-
KMF = "KMF"
|
|
80
|
-
KPW = "KPW"
|
|
81
|
-
KRW = "KRW"
|
|
82
|
-
KWD = "KWD"
|
|
83
|
-
KYD = "KYD"
|
|
84
|
-
KZT = "KZT"
|
|
85
|
-
LAK = "LAK"
|
|
86
|
-
LBP = "LBP"
|
|
87
|
-
LKR = "LKR"
|
|
88
|
-
LRD = "LRD"
|
|
89
|
-
LSL = "LSL"
|
|
90
|
-
LYD = "LYD"
|
|
91
|
-
MAD = "MAD"
|
|
92
|
-
MDL = "MDL"
|
|
93
|
-
MGA = "MGA"
|
|
94
|
-
MKD = "MKD"
|
|
95
|
-
MMK = "MMK"
|
|
96
|
-
MNT = "MNT"
|
|
97
|
-
MOP = "MOP"
|
|
98
|
-
MRU = "MRU"
|
|
99
|
-
MUR = "MUR"
|
|
100
|
-
MVR = "MVR"
|
|
101
|
-
MWK = "MWK"
|
|
102
|
-
MXN = "MXN"
|
|
103
|
-
MXV = "MXV"
|
|
104
|
-
MYR = "MYR"
|
|
105
|
-
MZN = "MZN"
|
|
106
|
-
NAD = "NAD"
|
|
107
|
-
NGN = "NGN"
|
|
108
|
-
NIO = "NIO"
|
|
109
|
-
NOK = "NOK"
|
|
110
|
-
NPR = "NPR"
|
|
111
|
-
NZD = "NZD"
|
|
112
|
-
OMR = "OMR"
|
|
113
|
-
PAB = "PAB"
|
|
114
|
-
PEN = "PEN"
|
|
115
|
-
PKG = "PKG"
|
|
116
|
-
PHP = "PHP"
|
|
117
|
-
PKR = "PKR"
|
|
118
|
-
PLN = "PLN"
|
|
119
|
-
PYG = "PYG"
|
|
120
|
-
QAR = "QAR"
|
|
121
|
-
RON = "RON"
|
|
122
|
-
RSD = "RSD"
|
|
123
|
-
RUB = "RUB"
|
|
124
|
-
RWF = "RWF"
|
|
125
|
-
SAR = "SAR"
|
|
126
|
-
SBD = "SBD"
|
|
127
|
-
SCR = "SCR"
|
|
128
|
-
SDG = "SDG"
|
|
129
|
-
SEK = "SEK"
|
|
130
|
-
SGD = "SGD"
|
|
131
|
-
SHP = "SHP"
|
|
132
|
-
SLL = "SLL"
|
|
133
|
-
SOS = "SOS"
|
|
134
|
-
SRD = "SRD"
|
|
135
|
-
SSP = "SSP"
|
|
136
|
-
STN = "STN"
|
|
137
|
-
SVC = "SVC"
|
|
138
|
-
SYP = "SYP"
|
|
139
|
-
SZL = "SZL"
|
|
140
|
-
THB = "THN"
|
|
141
|
-
TJS = "TJS"
|
|
142
|
-
TMT = "TMT"
|
|
143
|
-
TND = "TND"
|
|
144
|
-
TOP = "TOP"
|
|
145
|
-
TRY = "TRY"
|
|
146
|
-
TTD = "TTD"
|
|
147
|
-
TWD = "TWD"
|
|
148
|
-
TZS = "TZS"
|
|
149
|
-
UAH = "UAH"
|
|
150
|
-
UGX = "UGX"
|
|
151
|
-
USN = "USN"
|
|
152
|
-
UYI = "UYI"
|
|
153
|
-
UYU = "UYU"
|
|
154
|
-
UYW = "UYW"
|
|
155
|
-
UZS = "UZS"
|
|
156
|
-
VES = "VES"
|
|
157
|
-
VND = "VND"
|
|
158
|
-
VUV = "VUV"
|
|
159
|
-
WST = "WST"
|
|
160
|
-
XAF = "XAF"
|
|
161
|
-
XAG = "XAG"
|
|
162
|
-
XAU = "XAU"
|
|
163
|
-
XBA = "XBA"
|
|
164
|
-
XBB = "XBB"
|
|
165
|
-
XBC = "XBC"
|
|
166
|
-
XBD = "XBD"
|
|
167
|
-
XCD = "XCD"
|
|
168
|
-
XDR = "XDR"
|
|
169
|
-
XOF = "XOF"
|
|
170
|
-
XPD = "XPD"
|
|
171
|
-
XPF = "XPF"
|
|
172
|
-
XPT = "XPT"
|
|
173
|
-
XSU = "XSU"
|
|
174
|
-
XTS = "XTS"
|
|
175
|
-
XUA = "XUA"
|
|
176
|
-
XXX = "XXX"
|
|
177
|
-
YER = "YER"
|
|
178
|
-
ZAR = "ZAR"
|
|
179
|
-
ZMW = "ZMW"
|
|
2
|
+
EUR = "EUR",// EURO
|
|
3
|
+
USD = "USD",// US Dollar
|
|
4
|
+
GBP = "GBP",// Pound Sterling
|
|
5
|
+
AED = "AED",// UAE Dirham
|
|
6
|
+
AFN = "AFN",// Afghani
|
|
7
|
+
ALL = "ALL",// Lek / Albania
|
|
8
|
+
AMD = "AMD",// Armenian Dram
|
|
9
|
+
ANG = "ANG",// Netherlands Antillean Guilder
|
|
10
|
+
AOA = "AOA",// Kwanza / Angola
|
|
11
|
+
ARS = "ARS",// Argentine Peso
|
|
12
|
+
AUD = "AUD",// Australian Dollar
|
|
13
|
+
AWG = "AWG",// Aruban Florin
|
|
14
|
+
AZN = "AZN",// Azerbaijan Manat
|
|
15
|
+
BAM = "BAM",// Convertible Mark
|
|
16
|
+
BBD = "BBD",// Barbados Dollar
|
|
17
|
+
BDT = "BDT",// Taka
|
|
18
|
+
BGN = "BGN",// Bulgarian Lev
|
|
19
|
+
BHD = "BHD",// Bahraini Dinar
|
|
20
|
+
BIF = "BIF",// Burundi Franc
|
|
21
|
+
BMD = "BMD",// Bermudian Dollar
|
|
22
|
+
BND = "BND",// Brunei Dollar
|
|
23
|
+
BOB = "BOB",// Boliviano
|
|
24
|
+
BOV = "BOV",// Mvdol
|
|
25
|
+
BRL = "BRL",// Brazilian Real
|
|
26
|
+
BSD = "BSD",// Bahamian Dollar
|
|
27
|
+
BTN = "BTN",// Ngultrum
|
|
28
|
+
BWP = "BWP",// Pula / Botswana
|
|
29
|
+
BYN = "BYN",// Belarusian Ruble
|
|
30
|
+
BZD = "BZD",// Belize Dollar
|
|
31
|
+
CAD = "CAD",// Canadian Dollar
|
|
32
|
+
CDF = "CDF",// Congolese Franc
|
|
33
|
+
CHE = "CHE",// WIR Euro
|
|
34
|
+
CHF = "CHF",// Swiss Franc
|
|
35
|
+
CHW = "CHW",// WIR Franc
|
|
36
|
+
CLF = "CLF",// Unidad de Fomento
|
|
37
|
+
CLP = "CLP",// Chilean Peso
|
|
38
|
+
CNY = "CNY",// Yuan Renminbi
|
|
39
|
+
COP = "COP",// Colombian Peso
|
|
40
|
+
COU = "COU",// Unidad de Valor Real
|
|
41
|
+
CRC = "CRC",// Costa Rican Colon
|
|
42
|
+
CUC = "CUC",// Peso Convertible
|
|
43
|
+
CUP = "CUP",// Cuban Peso
|
|
44
|
+
CVE = "CVE",// Cabo Verde Escudo
|
|
45
|
+
CZK = "CZK",// Czech Koruna
|
|
46
|
+
DJF = "DJF",// Djibouti Franc
|
|
47
|
+
DKK = "DKK",// Danish Krone
|
|
48
|
+
DOP = "DOP",// Dominican Peso
|
|
49
|
+
DZD = "DZD",// Algerian Dinar
|
|
50
|
+
EGP = "EGP",// Egyptian Pound
|
|
51
|
+
ERN = "ERN",// Nakfa
|
|
52
|
+
ETB = "ETB",// Ethiopian Birr
|
|
53
|
+
FJD = "FJD",// Fiji Dollar
|
|
54
|
+
FKP = "FKP",// Falkland Islands Pound
|
|
55
|
+
GEL = "GEL",// Lari / Georgia
|
|
56
|
+
GHS = "GHS",// Ghana Cedi
|
|
57
|
+
GIP = "GIP",// Gibraltar Pound
|
|
58
|
+
GMD = "GMD",// Dalasi / Gambia
|
|
59
|
+
GNF = "GNF",// Guinean Franc
|
|
60
|
+
GTQ = "GTQ",// Quetzal / Guatemala
|
|
61
|
+
GYD = "GYD",// Guyana Dollar
|
|
62
|
+
HKD = "HKD",// Hong Kong Dollar
|
|
63
|
+
HNL = "HNL",// Lempira / Honduras
|
|
64
|
+
HRK = "HRK",// Kuna / Croatia,
|
|
65
|
+
HTG = "HTG",// Gourde / Haiti
|
|
66
|
+
HUF = "HUF",// Forint
|
|
67
|
+
IDR = "IDR",// Rupiah
|
|
68
|
+
ILS = "ILS",// New Israeli Sheqel
|
|
69
|
+
INR = "INR",// Indian Rupee
|
|
70
|
+
IQD = "IQD",// Iraqi Dinar
|
|
71
|
+
IRR = "IRR",// Iranian Rial
|
|
72
|
+
ISK = "ISK",// Iceland Krona
|
|
73
|
+
JMD = "JMD",// Jamaican Dollar
|
|
74
|
+
JOD = "JOD",// Jordanian Dinar
|
|
75
|
+
JPY = "JPY",// Yen
|
|
76
|
+
KES = "KES",// Kenyan Shilling
|
|
77
|
+
KGS = "KGS",// Som / Kyrgyztan
|
|
78
|
+
KHR = "KHR",// Riel / Cambodia
|
|
79
|
+
KMF = "KMF",// Comorian Franc
|
|
80
|
+
KPW = "KPW",// North Korean Won
|
|
81
|
+
KRW = "KRW",// Won
|
|
82
|
+
KWD = "KWD",// Kuwaiti Dina
|
|
83
|
+
KYD = "KYD",// Cayman Islands Dollar
|
|
84
|
+
KZT = "KZT",// Tenge Kazakhstan
|
|
85
|
+
LAK = "LAK",// Lao Kip
|
|
86
|
+
LBP = "LBP",// Lebanese Pound
|
|
87
|
+
LKR = "LKR",// Sri Lanka Rupee
|
|
88
|
+
LRD = "LRD",// Liberian Dollar
|
|
89
|
+
LSL = "LSL",// Loti
|
|
90
|
+
LYD = "LYD",// Libyan Dinar
|
|
91
|
+
MAD = "MAD",// Moroccan Dirham
|
|
92
|
+
MDL = "MDL",// Moldovan Leu
|
|
93
|
+
MGA = "MGA",// Malagasy Ariary
|
|
94
|
+
MKD = "MKD",// Denar
|
|
95
|
+
MMK = "MMK",// Kyat
|
|
96
|
+
MNT = "MNT",// Tugrik
|
|
97
|
+
MOP = "MOP",// Pataca
|
|
98
|
+
MRU = "MRU",// Ouguiya
|
|
99
|
+
MUR = "MUR",// Mauritius Rupee
|
|
100
|
+
MVR = "MVR",// Rufiyaa
|
|
101
|
+
MWK = "MWK",// Malawi Kwacha
|
|
102
|
+
MXN = "MXN",// Mexican Peso
|
|
103
|
+
MXV = "MXV",// Mexican Unidad de Inversion (UDI)
|
|
104
|
+
MYR = "MYR",// Malaysian Ringgit
|
|
105
|
+
MZN = "MZN",// Mozambique Metical
|
|
106
|
+
NAD = "NAD",// Namibia Dollar
|
|
107
|
+
NGN = "NGN",// Naira
|
|
108
|
+
NIO = "NIO",// Cordoba Oro
|
|
109
|
+
NOK = "NOK",// Norwegian Krone
|
|
110
|
+
NPR = "NPR",// Nepalese Rupee
|
|
111
|
+
NZD = "NZD",// New Zealand Dollar
|
|
112
|
+
OMR = "OMR",// Rial Omani
|
|
113
|
+
PAB = "PAB",// Balboa
|
|
114
|
+
PEN = "PEN",// Sol / Peru
|
|
115
|
+
PKG = "PKG",// Kina
|
|
116
|
+
PHP = "PHP",// Philippine Peso
|
|
117
|
+
PKR = "PKR",// Pakistan Rupee
|
|
118
|
+
PLN = "PLN",// Zloty
|
|
119
|
+
PYG = "PYG",// Guarani
|
|
120
|
+
QAR = "QAR",// Qatari Rial
|
|
121
|
+
RON = "RON",// Romanian Leu
|
|
122
|
+
RSD = "RSD",// Serbian Dinar
|
|
123
|
+
RUB = "RUB",// Russian Ruble
|
|
124
|
+
RWF = "RWF",// Rwanda Franc
|
|
125
|
+
SAR = "SAR",// Saudi Riyal
|
|
126
|
+
SBD = "SBD",// Solomon Islands Dollar
|
|
127
|
+
SCR = "SCR",// Seychelles Rupee
|
|
128
|
+
SDG = "SDG",// Sudanese Pound
|
|
129
|
+
SEK = "SEK",// Swedish Krona
|
|
130
|
+
SGD = "SGD",// Singapore Dollar
|
|
131
|
+
SHP = "SHP",// Saint Helena Pound
|
|
132
|
+
SLL = "SLL",// Leone
|
|
133
|
+
SOS = "SOS",// Somali Shilling
|
|
134
|
+
SRD = "SRD",// Surinam Dollar
|
|
135
|
+
SSP = "SSP",// South Sudanese Pound
|
|
136
|
+
STN = "STN",// Dobra
|
|
137
|
+
SVC = "SVC",// El Salvador Colon
|
|
138
|
+
SYP = "SYP",// Syrian Pound
|
|
139
|
+
SZL = "SZL",// Lilangeni
|
|
140
|
+
THB = "THN",// Baht / Thailand
|
|
141
|
+
TJS = "TJS",// Somoni
|
|
142
|
+
TMT = "TMT",// Turkmenistan New Manat
|
|
143
|
+
TND = "TND",// Tunisian Dinar
|
|
144
|
+
TOP = "TOP",// Pa’anga
|
|
145
|
+
TRY = "TRY",// Turkish Lira
|
|
146
|
+
TTD = "TTD",// Trinidad and Tobago Dollar
|
|
147
|
+
TWD = "TWD",// New Taiwan Dollar
|
|
148
|
+
TZS = "TZS",// Tanzanian Shilling
|
|
149
|
+
UAH = "UAH",// Hryvnia / Ukraine
|
|
150
|
+
UGX = "UGX",// Uganda Shilling
|
|
151
|
+
USN = "USN",// US Dollar (Next day)
|
|
152
|
+
UYI = "UYI",// Uruguay Peso en Unidades Indexadas (UI)
|
|
153
|
+
UYU = "UYU",// Peso Uruguayo
|
|
154
|
+
UYW = "UYW",// Unidad Previsional
|
|
155
|
+
UZS = "UZS",// Uzbekistan Sum
|
|
156
|
+
VES = "VES",// Bolívar Soberano
|
|
157
|
+
VND = "VND",// Dong
|
|
158
|
+
VUV = "VUV",// Vatu
|
|
159
|
+
WST = "WST",// Tala
|
|
160
|
+
XAF = "XAF",// CFA Franc BEAC
|
|
161
|
+
XAG = "XAG",// Silver
|
|
162
|
+
XAU = "XAU",// Gold
|
|
163
|
+
XBA = "XBA",// Bond Markets Unit European Composite Unit (EURCO)
|
|
164
|
+
XBB = "XBB",// Bond Markets Unit European Monetary Unit (E.M.U.-6)
|
|
165
|
+
XBC = "XBC",// Bond Markets Unit European Unit of Account 9 (E.U.A.-9)
|
|
166
|
+
XBD = "XBD",// Bond Markets Unit European Unit of Account 17 (E.U.A.-17)
|
|
167
|
+
XCD = "XCD",// East Caribbean Dollar
|
|
168
|
+
XDR = "XDR",// SDR (Special Drawing Right)
|
|
169
|
+
XOF = "XOF",// CFA Franc BCEAO
|
|
170
|
+
XPD = "XPD",// Palladium
|
|
171
|
+
XPF = "XPF",// CFP Franc
|
|
172
|
+
XPT = "XPT",// Platinum
|
|
173
|
+
XSU = "XSU",// Sucre
|
|
174
|
+
XTS = "XTS",// Codes specifically reserved for testing purposes
|
|
175
|
+
XUA = "XUA",// ADB Unit of Account
|
|
176
|
+
XXX = "XXX",// The codes assigned for transactions where no currency is involved
|
|
177
|
+
YER = "YER",// Yemeni Rial
|
|
178
|
+
ZAR = "ZAR",// Rand
|
|
179
|
+
ZMW = "ZMW",// Zambian Kwacha
|
|
180
180
|
ZWL = "ZWL"
|
|
181
181
|
}
|
|
@@ -12,7 +12,7 @@ var ModuleType;
|
|
|
12
12
|
ModuleType["productClassification"] = "Product Classification";
|
|
13
13
|
ModuleType["statistics"] = "Statistics";
|
|
14
14
|
ModuleType["masterModule"] = "Master Module";
|
|
15
|
-
})(ModuleType
|
|
15
|
+
})(ModuleType || (exports.ModuleType = ModuleType = {}));
|
|
16
16
|
var ModuleCategory;
|
|
17
17
|
(function (ModuleCategory) {
|
|
18
18
|
ModuleCategory["default"] = "Default";
|
|
@@ -24,4 +24,4 @@ var ModuleCategory;
|
|
|
24
24
|
ModuleCategory["t2Transit"] = "T2 Transit";
|
|
25
25
|
ModuleCategory["masterData"] = "Master Data";
|
|
26
26
|
ModuleCategory["stakeHolderData"] = "StakeHolder Data";
|
|
27
|
-
})(ModuleCategory
|
|
27
|
+
})(ModuleCategory || (exports.ModuleCategory = ModuleCategory = {}));
|
|
@@ -13,4 +13,4 @@ var CostIntersectionTypes;
|
|
|
13
13
|
CostIntersectionTypes["freeBorderDutyPaidExclusiveVat"] = "freeBorderDutyPaidExclusiveVat";
|
|
14
14
|
CostIntersectionTypes["insideZoneDutyPaidExclusiveVat"] = "insideZoneDutyPaidExclusiveVat";
|
|
15
15
|
CostIntersectionTypes["freeBorderDutyPaidValueEstimated"] = "freeBorderDutyPaidValueEstimated";
|
|
16
|
-
})(CostIntersectionTypes
|
|
16
|
+
})(CostIntersectionTypes || (exports.CostIntersectionTypes = CostIntersectionTypes = {}));
|
|
@@ -11,11 +11,11 @@ var MeanOfTransportationMode;
|
|
|
11
11
|
MeanOfTransportationMode["fixedInstallations"] = "FixedInstallations";
|
|
12
12
|
MeanOfTransportationMode["inlandWaterway"] = "InlandWaterway";
|
|
13
13
|
MeanOfTransportationMode["unknown"] = "Unknown";
|
|
14
|
-
})(MeanOfTransportationMode
|
|
14
|
+
})(MeanOfTransportationMode || (exports.MeanOfTransportationMode = MeanOfTransportationMode = {}));
|
|
15
15
|
var MeanOfTransportationType;
|
|
16
16
|
(function (MeanOfTransportationType) {
|
|
17
17
|
MeanOfTransportationType["border"] = "Border";
|
|
18
18
|
MeanOfTransportationType["arrival"] = "Arrival";
|
|
19
19
|
MeanOfTransportationType["departure"] = "Departure";
|
|
20
20
|
MeanOfTransportationType["inland"] = "Inland";
|
|
21
|
-
})(MeanOfTransportationType
|
|
21
|
+
})(MeanOfTransportationType || (exports.MeanOfTransportationType = MeanOfTransportationType = {}));
|
|
@@ -15,4 +15,4 @@ var RossumImportStatus;
|
|
|
15
15
|
RossumImportStatus["Purged"] = "purged";
|
|
16
16
|
RossumImportStatus["Confirmed"] = "confirmed";
|
|
17
17
|
RossumImportStatus["Split"] = "split";
|
|
18
|
-
})(RossumImportStatus
|
|
18
|
+
})(RossumImportStatus || (exports.RossumImportStatus = RossumImportStatus = {}));
|
package/package.json
CHANGED
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "digicust_types",
|
|
3
|
-
"version": "1.8.
|
|
4
|
-
"description": "",
|
|
5
|
-
"main": "lib/index.js",
|
|
6
|
-
"types": "lib/index.d.ts",
|
|
7
|
-
"files": [
|
|
8
|
-
"lib/**/*"
|
|
9
|
-
],
|
|
10
|
-
"scripts": {
|
|
11
|
-
"build-with-runtime-interfaces": "tsc && `npm bin`/run-for-every-file --src ./lib/ --file '**/*.d.ts' --run \"`npm bin`/ts-interface-builder -i -g -c {{src-file}}\"",
|
|
12
|
-
"build": "tsc",
|
|
13
|
-
"build-deploy": "git pull && npm version patch && npm run build && npm publish",
|
|
14
|
-
"deploy-docs": "npm i && npx typedoc src/index.ts",
|
|
15
|
-
"lint.fix": "eslint --fix --ext .ts .",
|
|
16
|
-
"prettier.fix": "prettier --write .",
|
|
17
|
-
"prepare": "husky install",
|
|
18
|
-
"lint-staged": "lint-staged"
|
|
19
|
-
},
|
|
20
|
-
"repository": {
|
|
21
|
-
"type": "git",
|
|
22
|
-
"url": "git+https://github.com/Digicust0406/types.git"
|
|
23
|
-
},
|
|
24
|
-
"keywords": [],
|
|
25
|
-
"author": "Thomas Übellacker",
|
|
26
|
-
"license": "Proprietary",
|
|
27
|
-
"bugs": {
|
|
28
|
-
"url": "https://github.com/Digicust0406/types/issues"
|
|
29
|
-
},
|
|
30
|
-
"homepage": "https://github.com/Digicust0406/types#readme",
|
|
31
|
-
"dependencies": {
|
|
32
|
-
"typedoc": "^0.25.4"
|
|
33
|
-
},
|
|
34
|
-
"devDependencies": {
|
|
35
|
-
"@types/node": "^20.10.2",
|
|
36
|
-
"@typescript-eslint/eslint-plugin": "^6.13.1",
|
|
37
|
-
"@typescript-eslint/parser": "^6.13.1",
|
|
38
|
-
"eslint": "^8.55.0",
|
|
39
|
-
"eslint-config-airbnb-typescript": "^17.1.0",
|
|
40
|
-
"eslint-config-prettier": "^9.1.0",
|
|
41
|
-
"eslint-plugin-import": "^2.29.0",
|
|
42
|
-
"eslint-plugin-node": "^11.1.0",
|
|
43
|
-
"eslint-plugin-prettier": "^5.0.1",
|
|
44
|
-
"husky": "^8.0.3",
|
|
45
|
-
"lint-staged": "^15.1.0",
|
|
46
|
-
"prettier": "^3.1.0",
|
|
47
|
-
"typescript": "^5.3.2"
|
|
48
|
-
}
|
|
49
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "digicust_types",
|
|
3
|
+
"version": "1.8.74",
|
|
4
|
+
"description": "",
|
|
5
|
+
"main": "lib/index.js",
|
|
6
|
+
"types": "lib/index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"lib/**/*"
|
|
9
|
+
],
|
|
10
|
+
"scripts": {
|
|
11
|
+
"build-with-runtime-interfaces": "tsc && `npm bin`/run-for-every-file --src ./lib/ --file '**/*.d.ts' --run \"`npm bin`/ts-interface-builder -i -g -c {{src-file}}\"",
|
|
12
|
+
"build": "tsc",
|
|
13
|
+
"build-deploy": "git pull && npm version patch && npm run build && npm publish",
|
|
14
|
+
"deploy-docs": "npm i && npx typedoc src/index.ts",
|
|
15
|
+
"lint.fix": "eslint --fix --ext .ts .",
|
|
16
|
+
"prettier.fix": "prettier --write .",
|
|
17
|
+
"prepare": "husky install",
|
|
18
|
+
"lint-staged": "lint-staged"
|
|
19
|
+
},
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "git+https://github.com/Digicust0406/types.git"
|
|
23
|
+
},
|
|
24
|
+
"keywords": [],
|
|
25
|
+
"author": "Thomas Übellacker",
|
|
26
|
+
"license": "Proprietary",
|
|
27
|
+
"bugs": {
|
|
28
|
+
"url": "https://github.com/Digicust0406/types/issues"
|
|
29
|
+
},
|
|
30
|
+
"homepage": "https://github.com/Digicust0406/types#readme",
|
|
31
|
+
"dependencies": {
|
|
32
|
+
"typedoc": "^0.25.4"
|
|
33
|
+
},
|
|
34
|
+
"devDependencies": {
|
|
35
|
+
"@types/node": "^20.10.2",
|
|
36
|
+
"@typescript-eslint/eslint-plugin": "^6.13.1",
|
|
37
|
+
"@typescript-eslint/parser": "^6.13.1",
|
|
38
|
+
"eslint": "^8.55.0",
|
|
39
|
+
"eslint-config-airbnb-typescript": "^17.1.0",
|
|
40
|
+
"eslint-config-prettier": "^9.1.0",
|
|
41
|
+
"eslint-plugin-import": "^2.29.0",
|
|
42
|
+
"eslint-plugin-node": "^11.1.0",
|
|
43
|
+
"eslint-plugin-prettier": "^5.0.1",
|
|
44
|
+
"husky": "^8.0.3",
|
|
45
|
+
"lint-staged": "^15.1.0",
|
|
46
|
+
"prettier": "^3.1.0",
|
|
47
|
+
"typescript": "^5.3.2"
|
|
48
|
+
}
|
|
49
|
+
}
|
package/readme.md
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
# types package
|
|
2
|
-
|
|
3
|
-
This package contains important types for communication with and within Digicust services, including:
|
|
4
|
-
|
|
5
|
-
- message contracts for communication between services
|
|
6
|
-
- common data types interfaces
|
|
7
|
-
- digicust-specific data structures
|
|
8
|
-
|
|
9
|
-
## Usage
|
|
10
|
-
|
|
11
|
-
1. Install Digicust Types package using NPM
|
|
12
|
-
|
|
13
|
-
```
|
|
14
|
-
npm i digicust_types
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
2. Import your required interfaces using JavaScript's import module syntax
|
|
18
|
-
|
|
19
|
-
```javascript
|
|
20
|
-
import {
|
|
21
|
-
CaseModel,
|
|
22
|
-
CaseStatus,
|
|
23
|
-
UploadedFileModel,
|
|
24
|
-
StartDataExtractionDto,
|
|
25
|
-
DocumentStatus,
|
|
26
|
-
} from "digicust_types"
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
## Interfaces
|
|
30
|
-
|
|
31
|
-
We believe that the definition of the typescript interfaces are their best documentation themselves. Find all models here:
|
|
32
|
-
|
|
33
|
-
- [General interfaces for data structures](./src/models/common/index.ts)
|
|
34
|
-
- [Business-specific interfaces](./src/models/digicust/index.ts)
|
|
35
|
-
- [Contracts for messages between services](./src/contracts/index.ts)
|
|
36
|
-
|
|
37
|
-
## Development
|
|
38
|
-
|
|
39
|
-
```
|
|
40
|
-
tsc
|
|
41
|
-
npm run git deploy
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
## Deployment
|
|
45
|
-
|
|
46
|
-
```
|
|
47
|
-
npm run build
|
|
48
|
-
```
|
|
1
|
+
# types package
|
|
2
|
+
|
|
3
|
+
This package contains important types for communication with and within Digicust services, including:
|
|
4
|
+
|
|
5
|
+
- message contracts for communication between services
|
|
6
|
+
- common data types interfaces
|
|
7
|
+
- digicust-specific data structures
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
1. Install Digicust Types package using NPM
|
|
12
|
+
|
|
13
|
+
```
|
|
14
|
+
npm i digicust_types
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
2. Import your required interfaces using JavaScript's import module syntax
|
|
18
|
+
|
|
19
|
+
```javascript
|
|
20
|
+
import {
|
|
21
|
+
CaseModel,
|
|
22
|
+
CaseStatus,
|
|
23
|
+
UploadedFileModel,
|
|
24
|
+
StartDataExtractionDto,
|
|
25
|
+
DocumentStatus,
|
|
26
|
+
} from "digicust_types"
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Interfaces
|
|
30
|
+
|
|
31
|
+
We believe that the definition of the typescript interfaces are their best documentation themselves. Find all models here:
|
|
32
|
+
|
|
33
|
+
- [General interfaces for data structures](./src/models/common/index.ts)
|
|
34
|
+
- [Business-specific interfaces](./src/models/digicust/index.ts)
|
|
35
|
+
- [Contracts for messages between services](./src/contracts/index.ts)
|
|
36
|
+
|
|
37
|
+
## Development
|
|
38
|
+
|
|
39
|
+
```
|
|
40
|
+
tsc
|
|
41
|
+
npm run git deploy
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## Deployment
|
|
45
|
+
|
|
46
|
+
```
|
|
47
|
+
npm run build
|
|
48
|
+
```
|