digicust_types 1.8.16 → 1.8.18

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.
@@ -28,6 +28,7 @@ export interface AggregatedCaseDataModel {
28
28
  registrationDate?: DateTimeModel;
29
29
  duration?: Meta<number>;
30
30
  preliminaryDocuments?: PreliminaryDocument[];
31
+ endClient?: CompanyModel;
31
32
  consignee?: CompanyModel;
32
33
  shipper?: CompanyModel;
33
34
  exporter?: CompanyModel;
@@ -34,6 +34,7 @@ export interface ExecutionStrategy {
34
34
  engineSpecification?: string;
35
35
  promptRemarks?: string;
36
36
  requireManualClassification?: boolean;
37
+ requireHumanAnnotation?: boolean;
37
38
  exportOnConfirmedStrategy?: boolean;
38
39
  queueMapping?: {
39
40
  documentType: DigicustDocumentType;
@@ -23,6 +23,12 @@ export interface DocumentTypeCode {
23
23
  deductionAmount?: Quantity;
24
24
  qualifier?: string;
25
25
  }
26
+ export interface DocumentCodeType extends DocumentCode, Workflow<DigicustDocumentType> {
27
+ procedure?: ProcedureMode | "any";
28
+ reference?: string;
29
+ description?: string;
30
+ issuingDate?: DateTimeModel;
31
+ }
26
32
  export interface ItemCountryOfOrigin {
27
33
  country?: Workflow<string>;
28
34
  documentId?: string;
@@ -133,12 +139,7 @@ export interface MaterialModel {
133
139
  name: string;
134
140
  }[];
135
141
  unitOfMeasurement?: Workflow<UOM>;
136
- documentTypeCodes?: (DocumentCode & {
137
- procedure?: ProcedureMode | "any";
138
- reference?: string;
139
- description?: string;
140
- issuingDate?: DateTimeModel;
141
- } & Workflow<DigicustDocumentType>)[];
142
+ documentTypeCodes?: DocumentCodeType[];
142
143
  CAS?: Workflow<string>;
143
144
  units?: Workflow<{
144
145
  number?: number;
package/package.json CHANGED
@@ -1,46 +1,46 @@
1
- {
2
- "name": "digicust_types",
3
- "version": "1.8.16",
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.2"
33
- },
34
- "devDependencies": {
35
- "@types/node": "^20.8.9",
36
- "@typescript-eslint/eslint-plugin": "^6.9.0",
37
- "@typescript-eslint/parser": "^6.9.0",
38
- "eslint": "^8.52.0",
39
- "eslint-config-airbnb-typescript": "^17.1.0",
40
- "eslint-plugin-import": "^2.29.0",
41
- "husky": "^8.0.3",
42
- "lint-staged": "^15.0.2",
43
- "prettier": "^3.0.3",
44
- "typescript": "^5.2.2"
45
- }
46
- }
1
+ {
2
+ "name": "digicust_types",
3
+ "version": "1.8.18",
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.2"
33
+ },
34
+ "devDependencies": {
35
+ "@types/node": "^20.8.9",
36
+ "@typescript-eslint/eslint-plugin": "^6.9.0",
37
+ "@typescript-eslint/parser": "^6.9.0",
38
+ "eslint": "^8.52.0",
39
+ "eslint-config-airbnb-typescript": "^17.1.0",
40
+ "eslint-plugin-import": "^2.29.0",
41
+ "husky": "^8.0.3",
42
+ "lint-staged": "^15.0.2",
43
+ "prettier": "^3.0.3",
44
+ "typescript": "^5.2.2"
45
+ }
46
+ }