digicust_types 1.8.313 → 1.8.315
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/models/digicust/documents/document-code-source-context.d.ts +12 -0
- package/lib/models/digicust/documents/document-code-source.enum.d.ts +6 -0
- package/lib/models/digicust/documents/document-code-source.enum.js +10 -0
- package/lib/models/digicust/documents/document-code.model.d.ts +2 -1
- package/lib/models/digicust/documents/document-types/customs-service-instructions.model.d.ts +1 -1
- package/lib/models/digicust/documents/document-types/export-list.d.ts +3 -0
- package/lib/models/digicust/documents/index.d.ts +3 -0
- package/lib/models/digicust/documents/index.js +3 -0
- package/package.json +49 -49
- package/lib/models/digicust/case/stats-case.model.d.ts +0 -12
- /package/lib/models/digicust/{case/stats-case.model.js → documents/document-code-source-context.js} +0 -0
@@ -0,0 +1,12 @@
|
|
1
|
+
import { DocumentCodeSource } from "./document-code-source.enum";
|
2
|
+
export interface DocumentCodeSourceContext {
|
3
|
+
documentCodeSource: DocumentCodeSource;
|
4
|
+
taricQueryParams?: {
|
5
|
+
itemId?: string;
|
6
|
+
countryCode?: string;
|
7
|
+
procedureMode?: string;
|
8
|
+
certificateType?: string;
|
9
|
+
};
|
10
|
+
computationParams?: any;
|
11
|
+
materialId?: string;
|
12
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.DocumentCodeSource = void 0;
|
4
|
+
var DocumentCodeSource;
|
5
|
+
(function (DocumentCodeSource) {
|
6
|
+
DocumentCodeSource["TaricDatabase"] = "TaricDatabase";
|
7
|
+
DocumentCodeSource["Computed"] = "Computed";
|
8
|
+
DocumentCodeSource["MaterialMasterdata"] = "MaterialMasterdata";
|
9
|
+
DocumentCodeSource["TariffNumberMasterdata"] = "TariffNumberMasterdata";
|
10
|
+
})(DocumentCodeSource || (exports.DocumentCodeSource = DocumentCodeSource = {}));
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { DigicustDocumentType } from ".";
|
1
|
+
import { DigicustDocumentType, DocumentCodeSourceContext } from ".";
|
2
2
|
import { Meta } from "..";
|
3
3
|
/**
|
4
4
|
* Coding of documents
|
@@ -21,4 +21,5 @@ export interface DocumentCode extends Meta<DigicustDocumentType> {
|
|
21
21
|
NC_43000?: string;
|
22
22
|
NC_44000?: string;
|
23
23
|
DE_I0903?: string;
|
24
|
+
derivedFrom?: DocumentCodeSourceContext;
|
24
25
|
}
|
package/lib/models/digicust/documents/document-types/customs-service-instructions.model.d.ts
CHANGED
@@ -7,7 +7,7 @@ import { DigicustDocumentModel } from "./digicust-document.model";
|
|
7
7
|
*/
|
8
8
|
export interface CustomsServiceInstructions extends DigicustDocumentModel {
|
9
9
|
issueDate?: DateTimeModel;
|
10
|
-
|
10
|
+
meansOfTranspototation?: MeanOfTransportation[];
|
11
11
|
netWeight?: Weight;
|
12
12
|
grossWeight?: Weight;
|
13
13
|
customsOffices?: CustomsOffice[];
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { CompanyModel } from "../../company";
|
2
|
+
import { Weight } from "../../measures";
|
2
3
|
import { Meta } from "../../meta";
|
3
4
|
import { MeanOfTransportation, PackageType } from "../../transportation";
|
4
5
|
import { DigicustDocumentModel } from "./digicust-document.model";
|
@@ -10,4 +11,6 @@ export interface ExportList extends DigicustDocumentModel {
|
|
10
11
|
meansOfTransportation?: MeanOfTransportation[];
|
11
12
|
typeOfPackage?: PackageType;
|
12
13
|
consignee?: CompanyModel;
|
14
|
+
/** Total gross weight */
|
15
|
+
weight?: Weight;
|
13
16
|
}
|
@@ -12,3 +12,6 @@ export * from "./line-item-containing-document";
|
|
12
12
|
export * from "./preliminary-documents";
|
13
13
|
export * from "./tariff-classification-input";
|
14
14
|
export * from "./waybill-type.model";
|
15
|
+
export * from "./document-code.model";
|
16
|
+
export * from "./document-code-source.enum";
|
17
|
+
export * from "./document-code-source-context";
|
@@ -28,3 +28,6 @@ __exportStar(require("./line-item-containing-document"), exports);
|
|
28
28
|
__exportStar(require("./preliminary-documents"), exports);
|
29
29
|
__exportStar(require("./tariff-classification-input"), exports);
|
30
30
|
__exportStar(require("./waybill-type.model"), exports);
|
31
|
+
__exportStar(require("./document-code.model"), exports);
|
32
|
+
__exportStar(require("./document-code-source.enum"), exports);
|
33
|
+
__exportStar(require("./document-code-source-context"), exports);
|
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 && git push",
|
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.315",
|
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 && git push",
|
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,12 +0,0 @@
|
|
1
|
-
import { Meta } from "..";
|
2
|
-
/**
|
3
|
-
* Statistics about a case
|
4
|
-
*/
|
5
|
-
export interface StatsCaseModel {
|
6
|
-
fillOutRatio?: Meta<number>;
|
7
|
-
difficulty?: Meta<number>;
|
8
|
-
accuracy?: Meta<number>;
|
9
|
-
completeness?: Meta<number>;
|
10
|
-
correctness?: Meta<number>;
|
11
|
-
overallConfidence?: Meta<number>;
|
12
|
-
}
|
/package/lib/models/digicust/{case/stats-case.model.js → documents/document-code-source-context.js}
RENAMED
File without changes
|