digicust_types 1.8.443 → 1.8.445

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.
@@ -43,6 +43,7 @@ export interface AggregatedCaseDataModel {
43
43
  importer?: CompanyModel;
44
44
  buyer?: CompanyModel;
45
45
  beneficiary?: CompanyModel;
46
+ supplier?: CompanyModel;
46
47
  declarant?: CompanyModel;
47
48
  declarantRepresentative?: CompanyModel;
48
49
  agent?: CompanyModel;
@@ -30,6 +30,9 @@ export interface CompanyModel extends Meta<string> {
30
30
  subcontractor?: StakeholderModel;
31
31
  /** Gestellungsfrist (in hours) */
32
32
  submissionDeadlineInterval?: number;
33
+ supplierDeclarationValidityFrom?: Meta<Date>;
34
+ supplierDeclarationValidityTo?: Meta<Date>;
35
+ supplierDeclarationIssueDate?: Meta<Date>;
33
36
  stakeholderId?: string;
34
37
  companyBeforeMatching?: CompanyModel;
35
38
  creationType?: MasterDataCreationType;
@@ -82,6 +82,7 @@ export interface LineItemModel {
82
82
  guaranteeNumber?: Meta<string>;
83
83
  billOfLading?: Meta<string>;
84
84
  discountText?: string;
85
+ eur1Relevant?: Meta<boolean>;
85
86
  statisticalValue?: Money;
86
87
  /** Customs Duty */
87
88
  customsDuty?: CustomsDuty;
@@ -64,6 +64,7 @@ export interface MaterialModel {
64
64
  buyerArticleNumber?: Workflow<string>;
65
65
  buyerOrderNumber?: Workflow<string>;
66
66
  eanNumber?: Workflow<string>;
67
+ eur1Relevant?: Workflow<boolean>;
67
68
  customsLaw?: {
68
69
  /**
69
70
  * Customs tariff number for "default" country (the one set in the project settings tariff number tree system)
@@ -7,5 +7,6 @@ export declare enum StakeholderRole {
7
7
  Broker = "broker",
8
8
  Buyer = "buyer",
9
9
  Carrier = "carrier",
10
- Warehouse = "warehouse"
10
+ Warehouse = "warehouse",
11
+ Supplier = "supplier"
11
12
  }
@@ -12,4 +12,5 @@ var StakeholderRole;
12
12
  StakeholderRole["Buyer"] = "buyer";
13
13
  StakeholderRole["Carrier"] = "carrier";
14
14
  StakeholderRole["Warehouse"] = "warehouse";
15
+ StakeholderRole["Supplier"] = "supplier";
15
16
  })(StakeholderRole || (exports.StakeholderRole = StakeholderRole = {}));
@@ -35,6 +35,9 @@ export interface StakeholderModel {
35
35
  subcontractor?: StakeholderModel;
36
36
  /** Gestellungsfrist (in hours) */
37
37
  submissionDeadlineInterval?: number;
38
+ supplierDeclarationValidityFrom?: Workflow<Date>;
39
+ supplierDeclarationValidityTo?: Workflow<Date>;
40
+ supplierDeclarationIssueDate?: Workflow<Date>;
38
41
  meta?: {
39
42
  version?: number;
40
43
  userCreated?: boolean;
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="node" />
2
3
  /**
3
4
  * Information about an uploaded file. Used by multer package.
4
5
  */
@@ -55,7 +55,6 @@ export type CustomerUsage = {
55
55
  totalCases: number;
56
56
  documents: UsageObjctType;
57
57
  numberOfPages: UsageObjctType;
58
- averageNumberOfPage: UsageObjctType;
59
58
  totalExcelUploads: number;
60
59
  tariffClassifications: number;
61
60
  };
@@ -0,0 +1,7 @@
1
+ import { UserInput } from "./documents";
2
+ export interface UserInputTemplate {
3
+ id: string;
4
+ name: string;
5
+ description?: string;
6
+ userInput?: UserInput;
7
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,49 +1,49 @@
1
- {
2
- "name": "digicust_types",
3
- "version": "1.8.443",
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.445",
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
+ }