digicust_types 1.8.383 → 1.8.385
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/document-code-source.enum.d.ts +1 -0
- package/lib/models/digicust/documents/document-code-source.enum.js +1 -0
- package/lib/models/digicust/masterdata/material.model.d.ts +13 -7
- package/lib/models/digicust/multerfile.model.d.ts +0 -1
- package/package.json +49 -49
- package/lib/models/digicust/userInputTemplates.d.ts +0 -7
- package/lib/models/digicust/userInputTemplates.js +0 -2
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DocumentCodeSource = void 0;
|
4
4
|
var DocumentCodeSource;
|
5
5
|
(function (DocumentCodeSource) {
|
6
|
+
DocumentCodeSource["Extracted"] = "extracted";
|
6
7
|
DocumentCodeSource["TaricDatabase"] = "taricDatabase";
|
7
8
|
DocumentCodeSource["Computed"] = "computed";
|
8
9
|
DocumentCodeSource["MaterialMasterdata"] = "materialMasterdata";
|
@@ -83,12 +83,22 @@ export interface MaterialModel {
|
|
83
83
|
grossWeight?: Weight & Workflow<number>;
|
84
84
|
dimensions?: Dimensions & Workflow<any>;
|
85
85
|
/**
|
86
|
-
*
|
87
|
-
*
|
88
|
-
* there might be more than one materialNumber for different recipients!
|
86
|
+
* Use shippers instead.
|
87
|
+
* @deprecated
|
89
88
|
*/
|
90
89
|
shipper?: string;
|
90
|
+
/**
|
91
|
+
* Use shippers instead.
|
92
|
+
* @deprecated
|
93
|
+
*/
|
91
94
|
shipperId?: string;
|
95
|
+
/**
|
96
|
+
* Used for matching by shipper stakeholder
|
97
|
+
*/
|
98
|
+
shippers?: {
|
99
|
+
id: string;
|
100
|
+
name: string;
|
101
|
+
}[];
|
92
102
|
/**
|
93
103
|
* Used for matching item.countryOfOrigin / aggregated.fromAddress (fallback), only for import cases
|
94
104
|
*/
|
@@ -149,10 +159,6 @@ export interface MaterialModel {
|
|
149
159
|
* Owning obligater, if any. Used for matching by tariff number.
|
150
160
|
*/
|
151
161
|
obligaterId?: string;
|
152
|
-
/**
|
153
|
-
* Different materialNumbers might be applied for different recipients.
|
154
|
-
* The recipientId refers to a stakeholder.
|
155
|
-
*/
|
156
162
|
recipients?: {
|
157
163
|
id: string;
|
158
164
|
name: string;
|
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.385",
|
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
|
+
}
|