digicust_types 1.8.146 → 1.8.148
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/models/digicust/customs/tariff-number/tariff-number-suggestion.model.d.ts +1 -0
- package/lib/models/digicust/execution-strategy/execution-strategy.model.d.ts +2 -2
- package/lib/models/digicust/execution-strategy/sftp-config.model.d.ts +81 -95
- package/lib/models/digicust/execution-strategy/sftp-config.model.js +15 -0
- package/package.json +49 -49
@@ -1,5 +1,5 @@
|
|
1
1
|
import { CustomsTariffNumberNormalizationSettings, DigicustDocumentType, Event, Money, PackageType, ProcedureMode, Rule, StakeholderModel } from "..";
|
2
|
-
import {
|
2
|
+
import { Submission } from "./sftp-config.model";
|
3
3
|
/**
|
4
4
|
* Execution strategies are customer-configurable plans on how to process a specific case.
|
5
5
|
*/
|
@@ -261,7 +261,7 @@ export interface ExecutionStrategy {
|
|
261
261
|
* @deprecated
|
262
262
|
*/
|
263
263
|
isProcessWithDextor?: boolean;
|
264
|
-
submission?:
|
264
|
+
submission?: Submission;
|
265
265
|
events?: Event[];
|
266
266
|
rules?: Rule[];
|
267
267
|
automated?: boolean;
|
@@ -1,111 +1,97 @@
|
|
1
|
-
export
|
1
|
+
export declare enum SubmissionVendor {
|
2
|
+
none = "none",
|
3
|
+
dakosy = "dakosy",
|
4
|
+
ldv = "ldv",
|
5
|
+
dhf = "dhf",
|
6
|
+
asycuda = "asycuda",
|
7
|
+
format = "format",
|
8
|
+
beo = "beo",
|
9
|
+
dbh = "dbh",
|
10
|
+
aeb = "aeb",
|
11
|
+
cargosoft = "cargosoft",
|
12
|
+
mercurio = "mercurio"
|
13
|
+
}
|
14
|
+
export interface Submission {
|
2
15
|
active?: boolean;
|
3
|
-
vendor
|
4
|
-
config
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
16
|
+
vendor: SubmissionVendor;
|
17
|
+
config: DakosySftpConfig | AebSftpConfig | DbhSftpConfig | BEOConfig | LdvSftpConfig | DhfSftpConfig | AsycudaSftpConfig | FormatSftpConfig;
|
18
|
+
}
|
19
|
+
export interface DakosySftpConfig {
|
20
|
+
"sftp-password"?: string;
|
21
|
+
"sftp-login-name"?: string;
|
22
|
+
"sftp-port"?: string;
|
23
|
+
"sftp-dns-name"?: string;
|
24
|
+
"sftp-inbound"?: string;
|
25
|
+
"sftp-outbound"?: string;
|
26
|
+
"partner-id"?: string;
|
27
|
+
division?: string;
|
28
|
+
noDocumentsOnHead?: boolean;
|
29
|
+
packagesOnFirstLineItemOnly?: boolean;
|
30
|
+
aggregateItems?: boolean;
|
31
|
+
template?: string;
|
32
|
+
ignoreDV1?: boolean;
|
33
|
+
ignoreToAddress?: boolean;
|
34
|
+
/** Anmelder ist Empfanger */
|
35
|
+
enforceImportDeclarantIsRecipient?: boolean;
|
22
36
|
}
|
23
37
|
export interface LdvSftpConfig {
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
"sftp-port"?: string;
|
30
|
-
"sftp-dns-name"?: string;
|
31
|
-
"sftp-inbound"?: string;
|
32
|
-
};
|
38
|
+
"sftp-password"?: string;
|
39
|
+
"sftp-login-name"?: string;
|
40
|
+
"sftp-port"?: string;
|
41
|
+
"sftp-dns-name"?: string;
|
42
|
+
"sftp-inbound"?: string;
|
33
43
|
}
|
34
44
|
export interface DhfSftpConfig {
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
"sftp-port"?: string;
|
41
|
-
"sftp-dns-name"?: string;
|
42
|
-
"sftp-inbound"?: string;
|
43
|
-
};
|
45
|
+
"sftp-password"?: string;
|
46
|
+
"sftp-login-name"?: string;
|
47
|
+
"sftp-port"?: string;
|
48
|
+
"sftp-dns-name"?: string;
|
49
|
+
"sftp-inbound"?: string;
|
44
50
|
}
|
45
51
|
export interface AsycudaSftpConfig {
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
"sftp-port"?: string;
|
52
|
-
"sftp-dns-name"?: string;
|
53
|
-
"sftp-inbound"?: string;
|
54
|
-
};
|
52
|
+
"sftp-password"?: string;
|
53
|
+
"sftp-login-name"?: string;
|
54
|
+
"sftp-port"?: string;
|
55
|
+
"sftp-dns-name"?: string;
|
56
|
+
"sftp-inbound"?: string;
|
55
57
|
}
|
56
58
|
export interface FormatSftpConfig {
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
"sftp-inbound"?: string;
|
65
|
-
/** Mandantennummer */
|
66
|
-
"client-code"?: string;
|
67
|
-
};
|
59
|
+
"sftp-password"?: string;
|
60
|
+
"sftp-login-name"?: string;
|
61
|
+
"sftp-port"?: string;
|
62
|
+
"sftp-dns-name"?: string;
|
63
|
+
"sftp-inbound"?: string;
|
64
|
+
/** Mandantennummer */
|
65
|
+
"client-code"?: string;
|
68
66
|
}
|
69
67
|
export interface BEOConfig {
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
"client-code"?: string;
|
78
|
-
username?: string;
|
79
|
-
password?: string;
|
80
|
-
};
|
68
|
+
token?: string;
|
69
|
+
/** Kundennummer */
|
70
|
+
"customer-code"?: string;
|
71
|
+
/** mandantId */
|
72
|
+
"client-code"?: string;
|
73
|
+
username?: string;
|
74
|
+
password?: string;
|
81
75
|
}
|
82
76
|
export interface DbhSftpConfig {
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
aggregateFreightAndGoodsInvoices?: boolean;
|
94
|
-
addStatisticalValue?: boolean;
|
95
|
-
hideItemInvoiceValue?: boolean;
|
96
|
-
};
|
77
|
+
"client-code"?: string;
|
78
|
+
"user-name"?: string;
|
79
|
+
password?: string;
|
80
|
+
endpoint?: string;
|
81
|
+
template?: string;
|
82
|
+
aggregateItems?: boolean;
|
83
|
+
duplicateBTIsInAdditionalInformationField?: boolean;
|
84
|
+
aggregateFreightAndGoodsInvoices?: boolean;
|
85
|
+
addStatisticalValue?: boolean;
|
86
|
+
hideItemInvoiceValue?: boolean;
|
97
87
|
}
|
98
88
|
export interface AebSftpConfig {
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
"client-ident-code"?: string;
|
108
|
-
profile?: string;
|
109
|
-
organizationalUnit?: string;
|
110
|
-
};
|
89
|
+
"client-name"?: string;
|
90
|
+
"user-name"?: string;
|
91
|
+
password?: string;
|
92
|
+
endpoint?: string;
|
93
|
+
"client-system-id"?: string;
|
94
|
+
"client-ident-code"?: string;
|
95
|
+
profile?: string;
|
96
|
+
organizationalUnit?: string;
|
111
97
|
}
|
@@ -1,2 +1,17 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.SubmissionVendor = void 0;
|
4
|
+
var SubmissionVendor;
|
5
|
+
(function (SubmissionVendor) {
|
6
|
+
SubmissionVendor["none"] = "none";
|
7
|
+
SubmissionVendor["dakosy"] = "dakosy";
|
8
|
+
SubmissionVendor["ldv"] = "ldv";
|
9
|
+
SubmissionVendor["dhf"] = "dhf";
|
10
|
+
SubmissionVendor["asycuda"] = "asycuda";
|
11
|
+
SubmissionVendor["format"] = "format";
|
12
|
+
SubmissionVendor["beo"] = "beo";
|
13
|
+
SubmissionVendor["dbh"] = "dbh";
|
14
|
+
SubmissionVendor["aeb"] = "aeb";
|
15
|
+
SubmissionVendor["cargosoft"] = "cargosoft";
|
16
|
+
SubmissionVendor["mercurio"] = "mercurio";
|
17
|
+
})(SubmissionVendor || (exports.SubmissionVendor = SubmissionVendor = {}));
|
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.148",
|
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
|
+
}
|