digicust_types 1.8.1 → 1.8.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
- noClassifiaction = "noClassifiaction",
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["noClassifiaction"] = "noClassifiaction";
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "digicust_types",
3
- "version": "1.8.1",
3
+ "version": "1.8.4",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",