digicust_types 1.8.340 → 1.8.342
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-context.d.ts +18 -0
- package/lib/models/digicust/execution-strategy/execution-strategy.model.d.ts +58 -0
- package/lib/models/digicust/execution-strategy/sftp-config.model.d.ts +1 -1
- package/lib/models/digicust/user/membership.model.d.ts +25 -1
- package/lib/models/digicust/user/membership.model.js +28 -0
- package/lib/models/digicust/user/user.model.d.ts +1 -1
- package/package.json +1 -1
- 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,18 @@
|
|
1
|
+
import { DocumentCodeSource } from "./document-code-source.enum";
|
2
|
+
import { ConditionModel } from "../execution-strategy/condition.model";
|
3
|
+
export interface DocumentCodeSourceContext {
|
4
|
+
source: DocumentCodeSource;
|
5
|
+
taricQueryParams?: {
|
6
|
+
itemId?: string;
|
7
|
+
countryCode?: string;
|
8
|
+
procedureMode?: string;
|
9
|
+
certificateType?: string;
|
10
|
+
};
|
11
|
+
ruleMetadata?: {
|
12
|
+
name?: string;
|
13
|
+
id?: string;
|
14
|
+
conditions?: ConditionModel[];
|
15
|
+
};
|
16
|
+
computationParams?: any;
|
17
|
+
materialId?: string;
|
18
|
+
}
|
@@ -292,8 +292,66 @@ export interface ExecutionStrategy {
|
|
292
292
|
forceInvoiceNumberToReferenceNumberUCR?: boolean;
|
293
293
|
forceInvoiceNumberToRegistrationNumberExternal?: boolean;
|
294
294
|
forceInvoiceNumberToLRN?: boolean;
|
295
|
+
/**
|
296
|
+
* @deprecated
|
297
|
+
*/
|
295
298
|
disableAutomaticStakeholderCreation?: boolean;
|
299
|
+
/**
|
300
|
+
* @deprecated
|
301
|
+
*/
|
296
302
|
disableAutomaticMaterialCreation?: boolean;
|
303
|
+
/**
|
304
|
+
* Controls master data integration automation settings
|
305
|
+
*/
|
306
|
+
masterDataIntegrationAutomation?: {
|
307
|
+
/**
|
308
|
+
* Enable creation and update of stakeholder master data (if updates are not disabled)
|
309
|
+
*/
|
310
|
+
saveStakeholderMasterData?: boolean;
|
311
|
+
/**
|
312
|
+
* Disable automatic updates of stakeholder master data
|
313
|
+
*/
|
314
|
+
disableStakeholderMasterDataUpdates?: boolean;
|
315
|
+
/**
|
316
|
+
* Enable creation and update of material master data (if updates are not disabled)
|
317
|
+
*/
|
318
|
+
saveMaterialMasterData?: boolean;
|
319
|
+
/**
|
320
|
+
* Disable automatic updates of material master data
|
321
|
+
*/
|
322
|
+
disableMaterialMasterDataUpdates?: boolean;
|
323
|
+
/**
|
324
|
+
* Enable creation and update of tariffNumber master data (if updates are not disabled)
|
325
|
+
*/
|
326
|
+
saveTariffNumberMasterData?: boolean;
|
327
|
+
/**
|
328
|
+
* Disable automatic updates of tariffNumber master data
|
329
|
+
*/
|
330
|
+
disableTariffNumberMasterDataUpdates?: boolean;
|
331
|
+
/**
|
332
|
+
* Matching options for tariff number master data, effectively which properties from the shipment will be used to match the tariff number
|
333
|
+
* These properties from the shipment (and item) will also be automatically persisted in the master data, each combination of these properties will be a separate master data entry
|
334
|
+
*/
|
335
|
+
tariffNumberMatchingOptions?: {
|
336
|
+
useCountryOfOrigin?: boolean;
|
337
|
+
useDestinationCountry?: boolean;
|
338
|
+
useShipper?: boolean;
|
339
|
+
useRecipientOrImporter?: boolean;
|
340
|
+
};
|
341
|
+
/**
|
342
|
+
* General integration options for both material and tariffNumber based master data
|
343
|
+
*/
|
344
|
+
materialIntegrationOptions?: {
|
345
|
+
/**
|
346
|
+
* If any negative codings were automatically added to the shipment item, they will be persisted in the master data
|
347
|
+
*/
|
348
|
+
persistNegativeCodings?: boolean;
|
349
|
+
/**
|
350
|
+
* If any descriptions were found in the shipment item, they will be persisted in the master data
|
351
|
+
*/
|
352
|
+
persistItemDescriptions?: boolean;
|
353
|
+
};
|
354
|
+
};
|
297
355
|
defaultLicensePlate?: "german" | false;
|
298
356
|
/**
|
299
357
|
* When set to true, line item descriptions will be omitted from the final goods description (if possible, if no other description is available it will be used).
|
@@ -34,7 +34,7 @@ export interface DakosySftpConfig {
|
|
34
34
|
ignoreToAddress?: boolean;
|
35
35
|
/** Anmelder ist Empfanger */
|
36
36
|
enforceImportDeclarantIsRecipient?: boolean;
|
37
|
-
objectAction?: ("CREATE" | "REPLACE" | "CHANGE" | "COMPLETE" | "SEND")[];
|
37
|
+
objectAction?: ("CREATE" | "REPLACE" | "CHANGE" | "COMPLETE" | "SEND" | "CANCEL")[];
|
38
38
|
}
|
39
39
|
export interface LdvSftpConfig {
|
40
40
|
"sftp-password"?: string;
|
@@ -1,7 +1,31 @@
|
|
1
|
+
export declare enum MemberRoles {
|
2
|
+
orgAdmin = "orgAdmin",
|
3
|
+
projectAdmin = "projectAdmin",
|
4
|
+
user = "user"
|
5
|
+
}
|
6
|
+
export declare enum OrgAdminPermissions {
|
7
|
+
orgAdminPermissions = "orgAdminPermissions"
|
8
|
+
}
|
9
|
+
export declare enum ProjectAdminPermissions {
|
10
|
+
projectAdminPermissions = "projectAdminPermissions"
|
11
|
+
}
|
12
|
+
export declare enum UserPermissions {
|
13
|
+
allUserPermissions = "allUserPermissions",
|
14
|
+
addCustomCase = "addCustomCase",
|
15
|
+
viewCustomCase = "viewCustomCase",
|
16
|
+
editCustomCase = "editCustomCase",
|
17
|
+
viewMasterData = "viewMasterData",
|
18
|
+
editMasterData = "editMasterData",
|
19
|
+
viewSettings = "viewSettings",
|
20
|
+
editSettings = "editSettings",
|
21
|
+
viewExecutionStrategy = "viewExecutionStrategy",
|
22
|
+
editExecutionStrategy = "editExecutionStrategy"
|
23
|
+
}
|
1
24
|
export interface MembershipModel {
|
2
25
|
id?: string;
|
3
|
-
role?: "admin" | "member";
|
4
26
|
userId?: string;
|
5
27
|
groupId?: string;
|
6
28
|
groupType?: "customer" | "project";
|
29
|
+
role?: MemberRoles;
|
30
|
+
permissions?: (UserPermissions & OrgAdminPermissions & ProjectAdminPermissions)[];
|
7
31
|
}
|
@@ -1,2 +1,30 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.UserPermissions = exports.ProjectAdminPermissions = exports.OrgAdminPermissions = exports.MemberRoles = void 0;
|
4
|
+
var MemberRoles;
|
5
|
+
(function (MemberRoles) {
|
6
|
+
MemberRoles["orgAdmin"] = "orgAdmin";
|
7
|
+
MemberRoles["projectAdmin"] = "projectAdmin";
|
8
|
+
MemberRoles["user"] = "user";
|
9
|
+
})(MemberRoles || (exports.MemberRoles = MemberRoles = {}));
|
10
|
+
var OrgAdminPermissions;
|
11
|
+
(function (OrgAdminPermissions) {
|
12
|
+
OrgAdminPermissions["orgAdminPermissions"] = "orgAdminPermissions";
|
13
|
+
})(OrgAdminPermissions || (exports.OrgAdminPermissions = OrgAdminPermissions = {}));
|
14
|
+
var ProjectAdminPermissions;
|
15
|
+
(function (ProjectAdminPermissions) {
|
16
|
+
ProjectAdminPermissions["projectAdminPermissions"] = "projectAdminPermissions";
|
17
|
+
})(ProjectAdminPermissions || (exports.ProjectAdminPermissions = ProjectAdminPermissions = {}));
|
18
|
+
var UserPermissions;
|
19
|
+
(function (UserPermissions) {
|
20
|
+
UserPermissions["allUserPermissions"] = "allUserPermissions";
|
21
|
+
UserPermissions["addCustomCase"] = "addCustomCase";
|
22
|
+
UserPermissions["viewCustomCase"] = "viewCustomCase";
|
23
|
+
UserPermissions["editCustomCase"] = "editCustomCase";
|
24
|
+
UserPermissions["viewMasterData"] = "viewMasterData";
|
25
|
+
UserPermissions["editMasterData"] = "editMasterData";
|
26
|
+
UserPermissions["viewSettings"] = "viewSettings";
|
27
|
+
UserPermissions["editSettings"] = "editSettings";
|
28
|
+
UserPermissions["viewExecutionStrategy"] = "viewExecutionStrategy";
|
29
|
+
UserPermissions["editExecutionStrategy"] = "editExecutionStrategy";
|
30
|
+
})(UserPermissions || (exports.UserPermissions = UserPermissions = {}));
|
package/package.json
CHANGED
@@ -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
|