digicust_types 1.8.1 → 1.8.4
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.
@@ -1,4 +1,3 @@
|
|
1
|
-
import { Translation } from "./meta";
|
2
1
|
export interface ErrorModel extends Error {
|
3
2
|
type?: string;
|
4
3
|
severity?: "error" | "warning" | "info";
|
@@ -9,5 +8,4 @@ export interface ValidationError extends ErrorModel {
|
|
9
8
|
field?: string;
|
10
9
|
expected?: any;
|
11
10
|
actual?: any;
|
12
|
-
translation?: Translation;
|
13
11
|
}
|
@@ -2,7 +2,7 @@ import { TypeOfBusinessType, TradePreference, DigicustDocumentType, ProcedureMod
|
|
2
2
|
import { Money, DateTimeModel, Quantity, Workflow, Meta, UOM, Weight, Dimensions, CustomsTariffNumber } from "../..";
|
3
3
|
import { DocumentCode } from "../documents";
|
4
4
|
export declare enum ClassificationTypes {
|
5
|
-
|
5
|
+
noClassification = "noClassification",
|
6
6
|
classifyAndSuggest = "classifyAndSuggest",
|
7
7
|
classifyAndReplace = "classifyAndReplace"
|
8
8
|
}
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MasterDataCreationType = exports.ClassificationTypes = void 0;
|
4
4
|
var ClassificationTypes;
|
5
5
|
(function (ClassificationTypes) {
|
6
|
-
ClassificationTypes["
|
6
|
+
ClassificationTypes["noClassification"] = "noClassification";
|
7
7
|
ClassificationTypes["classifyAndSuggest"] = "classifyAndSuggest";
|
8
8
|
ClassificationTypes["classifyAndReplace"] = "classifyAndReplace";
|
9
9
|
})(ClassificationTypes || (exports.ClassificationTypes = ClassificationTypes = {}));
|
@@ -20,5 +20,10 @@ export interface AddressModel extends Meta<any> {
|
|
20
20
|
isEU?: boolean;
|
21
21
|
value?: string;
|
22
22
|
treatyMemberships?: Array<string>;
|
23
|
+
additionalIdentifier?: string;
|
24
|
+
/** TypeOfLocation */
|
25
|
+
DE_S0347?: string;
|
26
|
+
/** QualifierOfIdentification */
|
27
|
+
DE_S0326?: string;
|
23
28
|
}
|
24
29
|
export declare const condenseAddress: (address: AddressModel) => AddressModel;
|