digicust_types 1.8.447 → 1.8.449

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.
@@ -7,10 +7,6 @@ export interface StartDataExtractionDto {
7
7
  fileName: string;
8
8
  filePath: string;
9
9
  classification: DigicustDocumentType;
10
- rossumOptions?: {
11
- queueId?: number;
12
- exportOnConfirmed?: boolean;
13
- };
14
10
  executionStrategy?: ExecutionStrategy;
15
11
  queueId?: string;
16
12
  isHumanAnnotation?: boolean;
@@ -2,4 +2,9 @@ import { Meta } from "../../meta";
2
2
  export interface XKSpecificAggregated {
3
3
  Extended_customs_procedure?: Meta<string>;
4
4
  National_customs_procedure?: Meta<string>;
5
+ Country_first_destination?: Meta<string>;
6
+ Trading_country?: Meta<string>;
7
+ Export_country_code?: Meta<string>;
8
+ Destination_country_code?: Meta<string>;
9
+ Country_of_origin_name?: Meta<string>;
5
10
  }
@@ -9,4 +9,5 @@ export interface XKSpecificLineItem {
9
9
  Supplementary_unit2_code?: Meta<string>;
10
10
  Supplementary_unit2_name?: Meta<string>;
11
11
  Supplementary_unit2_amount?: Meta<number>;
12
+ Country_of_origin_code?: Meta<string>;
12
13
  }
@@ -78,10 +78,6 @@ export interface ExecutionStrategy {
78
78
  /** Value between 1 (very confident) to 0 (no confidence) */
79
79
  automateMinConfidence?: number;
80
80
  };
81
- /**
82
- * @deprecated
83
- */
84
- rossumExportOnConfirmed?: boolean;
85
81
  /** for rossum */
86
82
  overrideQueues?: {
87
83
  documentType: string;
@@ -144,6 +140,8 @@ export interface ExecutionStrategy {
144
140
  priority?: "fallback" | "override";
145
141
  /** If strategy === relative then goods value is multiplied by this multiplier to receive freight costs */
146
142
  relativeFreightCostMultiplier?: number;
143
+ minimumFreightCost?: Money;
144
+ maximumFreightCost?: Money;
147
145
  };
148
146
  removeStakeholderContactInformation?: {
149
147
  active?: boolean;
@@ -82,6 +82,7 @@ export interface LineItemModel {
82
82
  guaranteeNumber?: Meta<string>;
83
83
  billOfLading?: Meta<string>;
84
84
  discountText?: string;
85
+ trackingNumber?: Meta<string>;
85
86
  eur1Relevant?: Meta<boolean>;
86
87
  statisticalValue?: Money;
87
88
  /** Customs Duty */
@@ -1,5 +1,3 @@
1
- /// <reference types="node" />
2
- /// <reference types="node" />
3
1
  /**
4
2
  * Information about an uploaded file. Used by multer package.
5
3
  */
package/package.json CHANGED
@@ -1,49 +1,49 @@
1
- {
2
- "name": "digicust_types",
3
- "version": "1.8.447",
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 && git push",
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.4"
33
- },
34
- "devDependencies": {
35
- "@types/node": "^20.10.2",
36
- "@typescript-eslint/eslint-plugin": "^6.13.1",
37
- "@typescript-eslint/parser": "^6.13.1",
38
- "eslint": "^8.55.0",
39
- "eslint-config-airbnb-typescript": "^17.1.0",
40
- "eslint-config-prettier": "^9.1.0",
41
- "eslint-plugin-import": "^2.29.0",
42
- "eslint-plugin-node": "^11.1.0",
43
- "eslint-plugin-prettier": "^5.0.1",
44
- "husky": "^8.0.3",
45
- "lint-staged": "^15.1.0",
46
- "prettier": "^3.1.0",
47
- "typescript": "^5.3.2"
48
- }
49
- }
1
+ {
2
+ "name": "digicust_types",
3
+ "version": "1.8.449",
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 && git push",
14
+ "deploy-docs": "npm i && npx typedoc src/index.ts --exclude \"src/models/rossum/**/*\"",
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.4"
33
+ },
34
+ "devDependencies": {
35
+ "@types/node": "^20.10.2",
36
+ "@typescript-eslint/eslint-plugin": "^6.13.1",
37
+ "@typescript-eslint/parser": "^6.13.1",
38
+ "eslint": "^8.55.0",
39
+ "eslint-config-airbnb-typescript": "^17.1.0",
40
+ "eslint-config-prettier": "^9.1.0",
41
+ "eslint-plugin-import": "^2.29.0",
42
+ "eslint-plugin-node": "^11.1.0",
43
+ "eslint-plugin-prettier": "^5.0.1",
44
+ "husky": "^8.0.3",
45
+ "lint-staged": "^15.1.0",
46
+ "prettier": "^3.1.0",
47
+ "typescript": "^5.3.2"
48
+ }
49
+ }
@@ -1,7 +0,0 @@
1
- import { UserInput } from "./documents";
2
- export interface UserInputTemplate {
3
- id: string;
4
- name: string;
5
- description?: string;
6
- userInput?: UserInput;
7
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });