digicust_types 1.8.510 → 1.8.512
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/execution-strategy/sftp-config.model.d.ts +9 -2
- package/lib/models/digicust/execution-strategy/sftp-config.model.js +1 -0
- package/lib/models/digicust/multerfile.model.d.ts +0 -2
- package/lib/models/digicust/settings/customsTariffNumberNormalizationSettings.d.ts +1 -1
- 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 +0 -2
- package/lib/models/digicust/module/index.d.ts +0 -1
- package/lib/models/digicust/module/index.js +0 -17
- package/lib/models/digicust/module/module.model.d.ts +0 -49
- package/lib/models/digicust/module/module.model.js +0 -27
- package/lib/models/digicust/userInputTemplates.d.ts +0 -7
- package/lib/models/digicust/userInputTemplates.js +0 -2
@@ -11,12 +11,13 @@ export declare enum SubmissionVendor {
|
|
11
11
|
cargosoft = "cargosoft",
|
12
12
|
mercurio = "mercurio",
|
13
13
|
scope = "scope",
|
14
|
-
itms = "itms"
|
14
|
+
itms = "itms",
|
15
|
+
e2open = "e2open"
|
15
16
|
}
|
16
17
|
export interface Submission {
|
17
18
|
active?: boolean;
|
18
19
|
vendor: SubmissionVendor;
|
19
|
-
config: DakosySftpConfig | AebSftpConfig | DbhSftpConfig | BEOConfig | LdvSftpConfig | DhfSftpConfig | AsycudaSftpConfig | FormatSftpConfig | CargoSoftSftpConfig | ScopeSftpConfig | ITMSWebConfig;
|
20
|
+
config: DakosySftpConfig | AebSftpConfig | DbhSftpConfig | BEOConfig | LdvSftpConfig | DhfSftpConfig | AsycudaSftpConfig | FormatSftpConfig | CargoSoftSftpConfig | ScopeSftpConfig | ITMSWebConfig | E2OpenSftpConfig;
|
20
21
|
}
|
21
22
|
export interface ITMSWebConfig {
|
22
23
|
MandantCode?: string;
|
@@ -162,3 +163,9 @@ export interface AebSftpConfig {
|
|
162
163
|
attachDocuments?: boolean;
|
163
164
|
aggregateItems?: boolean;
|
164
165
|
}
|
166
|
+
export interface E2OpenSftpConfig {
|
167
|
+
"sftp-password"?: string;
|
168
|
+
"sftp-login-name"?: string;
|
169
|
+
"sftp-port"?: string;
|
170
|
+
"sftp-dns-name"?: string;
|
171
|
+
}
|
@@ -24,7 +24,7 @@ export interface CustomsTariffNumberNormalizationSettings {
|
|
24
24
|
/** Specifies whether to take the tariff number description for item description */
|
25
25
|
useAsItemDescription?: boolean;
|
26
26
|
/** With german tariff numbers, this usually means EZT=description and zolltarifnummern.de=altDescription */
|
27
|
-
itemDescriptionSource?: "description" | "altDescription";
|
27
|
+
itemDescriptionSource?: "description" | "altDescription" | "llm";
|
28
28
|
hideOriginalItemDescription?: boolean;
|
29
29
|
preferMasterDataDescription?: boolean;
|
30
30
|
/**
|
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 --exclude \"src/models/rossum/**/*\"",
|
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.512",
|
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 --exclude \"src/models/rossum/**/*\"",
|
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
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from "./module.model";
|
@@ -1,17 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
-
if (k2 === undefined) k2 = k;
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
-
}
|
8
|
-
Object.defineProperty(o, k2, desc);
|
9
|
-
}) : (function(o, m, k, k2) {
|
10
|
-
if (k2 === undefined) k2 = k;
|
11
|
-
o[k2] = m[k];
|
12
|
-
}));
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
-
};
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
-
__exportStar(require("./module.model"), exports);
|
@@ -1,49 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Identifies a module. Modules are different "programs" in the frontend
|
3
|
-
*/
|
4
|
-
export interface ModuleModel {
|
5
|
-
id?: string;
|
6
|
-
alias?: string;
|
7
|
-
type?: ModuleType;
|
8
|
-
active?: boolean;
|
9
|
-
executionStrategies?: {
|
10
|
-
Default?: ModuleExecStrategy;
|
11
|
-
Declaration?: ModuleExecStrategy;
|
12
|
-
PreDeclaration?: ModuleExecStrategy;
|
13
|
-
SimplifiedProcedure?: ModuleExecStrategy;
|
14
|
-
WriteupProcedure?: ModuleExecStrategy;
|
15
|
-
T1Transit?: ModuleExecStrategy;
|
16
|
-
T2Transit?: ModuleExecStrategy;
|
17
|
-
MasterData?: ModuleExecStrategy;
|
18
|
-
StakeHolderData?: ModuleExecStrategy;
|
19
|
-
};
|
20
|
-
}
|
21
|
-
interface ModuleExecStrategy {
|
22
|
-
title?: string;
|
23
|
-
executionStrategyId?: string;
|
24
|
-
alias?: string;
|
25
|
-
active?: boolean;
|
26
|
-
}
|
27
|
-
export declare enum ModuleType {
|
28
|
-
import = "Import",
|
29
|
-
export = "Export",
|
30
|
-
warehouseProcedure = "Warehouse Procedure",
|
31
|
-
transitProcedure = "Transit Procedure",
|
32
|
-
dataExtraction = "Data Extraction",
|
33
|
-
documentClassification = "Document Classification",
|
34
|
-
productClassification = "Product Classification",
|
35
|
-
statistics = "Statistics",
|
36
|
-
masterModule = "Master Module"
|
37
|
-
}
|
38
|
-
export declare enum ModuleCategory {
|
39
|
-
default = "Default",
|
40
|
-
declaration = "Declaration",
|
41
|
-
preDeclaration = "Pre Declaration",
|
42
|
-
simplifiedProcedure = "Simplified Procedure",
|
43
|
-
writeupProcedure = "Writeup Procedure",
|
44
|
-
t1Transit = "T1 Transit",
|
45
|
-
t2Transit = "T2 Transit",
|
46
|
-
masterData = "Master Data",
|
47
|
-
stakeHolderData = "StakeHolder Data"
|
48
|
-
}
|
49
|
-
export {};
|
@@ -1,27 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ModuleCategory = exports.ModuleType = void 0;
|
4
|
-
var ModuleType;
|
5
|
-
(function (ModuleType) {
|
6
|
-
ModuleType["import"] = "Import";
|
7
|
-
ModuleType["export"] = "Export";
|
8
|
-
ModuleType["warehouseProcedure"] = "Warehouse Procedure";
|
9
|
-
ModuleType["transitProcedure"] = "Transit Procedure";
|
10
|
-
ModuleType["dataExtraction"] = "Data Extraction";
|
11
|
-
ModuleType["documentClassification"] = "Document Classification";
|
12
|
-
ModuleType["productClassification"] = "Product Classification";
|
13
|
-
ModuleType["statistics"] = "Statistics";
|
14
|
-
ModuleType["masterModule"] = "Master Module";
|
15
|
-
})(ModuleType || (exports.ModuleType = ModuleType = {}));
|
16
|
-
var ModuleCategory;
|
17
|
-
(function (ModuleCategory) {
|
18
|
-
ModuleCategory["default"] = "Default";
|
19
|
-
ModuleCategory["declaration"] = "Declaration";
|
20
|
-
ModuleCategory["preDeclaration"] = "Pre Declaration";
|
21
|
-
ModuleCategory["simplifiedProcedure"] = "Simplified Procedure";
|
22
|
-
ModuleCategory["writeupProcedure"] = "Writeup Procedure";
|
23
|
-
ModuleCategory["t1Transit"] = "T1 Transit";
|
24
|
-
ModuleCategory["t2Transit"] = "T2 Transit";
|
25
|
-
ModuleCategory["masterData"] = "Master Data";
|
26
|
-
ModuleCategory["stakeHolderData"] = "StakeHolder Data";
|
27
|
-
})(ModuleCategory || (exports.ModuleCategory = ModuleCategory = {}));
|