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