digicust_types 1.8.431 → 1.8.433

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,4 @@
1
- import { AggregatedCaseDataModel, CaseStatus, DigicustDocumentModel, Environment, ErrorModel, ExecutionStrategy, Meta, ModuleCategory, ModuleType, ProcedureMode, UploadedFileModel } from "..";
1
+ import { AggregatedCaseDataModel, CaseStatus, DigicustDocumentModel, Environment, ErrorModel, ExecutionStrategy, Meta, ProcedureMode, UploadedFileModel } from "..";
2
2
  import { ProcessingModel } from "../queue";
3
3
  /**
4
4
  * Model used for any kind of customs case.
@@ -10,9 +10,6 @@ export interface CaseModel {
10
10
  projectId?: string;
11
11
  projectName?: string;
12
12
  environment?: Environment;
13
- moduleId?: string;
14
- module?: ModuleType;
15
- moduleCategory?: ModuleCategory;
16
13
  /** custom flags */
17
14
  flags?: {
18
15
  [key: string]: string;
@@ -1,11 +1,10 @@
1
- import { ModuleModel } from "..";
2
1
  /**
3
2
  * Identifies a specific customer of Digicust
4
3
  */
5
4
  export interface CustomerModel {
6
5
  id?: string;
6
+ hubspotDealId?: string;
7
7
  name?: string;
8
- modules?: ModuleModel[];
9
8
  projectId?: string;
10
9
  renewedDateTime?: Date;
11
10
  status?: string;
@@ -1,8 +1,11 @@
1
1
  export * from "./activity";
2
2
  export * from "./analyzer";
3
3
  export * from "./billing";
4
+ export * from "./cache";
4
5
  export * from "./case";
6
+ export * from "./codes";
5
7
  export * from "./company";
8
+ export * from "./country-specific";
6
9
  export * from "./customer";
7
10
  export * from "./customs";
8
11
  export * from "./documents";
@@ -16,17 +19,13 @@ export * from "./line-item";
16
19
  export * from "./masterdata";
17
20
  export * from "./measures";
18
21
  export * from "./meta";
19
- export * from "./module";
20
22
  export * from "./multerfile.model";
21
23
  export * from "./notification";
22
24
  export * from "./queue";
25
+ export * from "./read-lock.model";
23
26
  export * from "./settings";
27
+ export * from "./statistics";
24
28
  export * from "./transportation";
25
29
  export * from "./user";
26
- export * from "./codes";
27
- export * from "./read-lock.model";
28
- export * from "./cache";
29
- export * from "./country-specific";
30
30
  export * from "./userInputTemplate";
31
31
  export * from "./utils";
32
- export * from "./statistics";
@@ -17,8 +17,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./activity"), exports);
18
18
  __exportStar(require("./analyzer"), exports);
19
19
  __exportStar(require("./billing"), exports);
20
+ __exportStar(require("./cache"), exports);
20
21
  __exportStar(require("./case"), exports);
22
+ __exportStar(require("./codes"), exports);
21
23
  __exportStar(require("./company"), exports);
24
+ __exportStar(require("./country-specific"), exports);
22
25
  __exportStar(require("./customer"), exports);
23
26
  __exportStar(require("./customs"), exports);
24
27
  __exportStar(require("./documents"), exports);
@@ -32,17 +35,13 @@ __exportStar(require("./line-item"), exports);
32
35
  __exportStar(require("./masterdata"), exports);
33
36
  __exportStar(require("./measures"), exports);
34
37
  __exportStar(require("./meta"), exports);
35
- __exportStar(require("./module"), exports);
36
38
  __exportStar(require("./multerfile.model"), exports);
37
39
  __exportStar(require("./notification"), exports);
38
40
  __exportStar(require("./queue"), exports);
41
+ __exportStar(require("./read-lock.model"), exports);
39
42
  __exportStar(require("./settings"), exports);
43
+ __exportStar(require("./statistics"), exports);
40
44
  __exportStar(require("./transportation"), exports);
41
45
  __exportStar(require("./user"), exports);
42
- __exportStar(require("./codes"), exports);
43
- __exportStar(require("./read-lock.model"), exports);
44
- __exportStar(require("./cache"), exports);
45
- __exportStar(require("./country-specific"), exports);
46
46
  __exportStar(require("./userInputTemplate"), exports);
47
47
  __exportStar(require("./utils"), exports);
48
- __exportStar(require("./statistics"), exports);
@@ -1,5 +1,4 @@
1
1
  /// <reference types="node" />
2
- /// <reference types="node" />
3
2
  /**
4
3
  * Information about an uploaded file. Used by multer package.
5
4
  */
@@ -46,8 +46,9 @@ export type UsageObjctType = {
46
46
  [key in DigicustDocumentType]?: number;
47
47
  };
48
48
  export type CustomerUsage = {
49
+ dealId: string;
49
50
  customerId: string;
50
- projectId: string;
51
+ projectIds: string[];
51
52
  startDate: Date;
52
53
  endDate: Date;
53
54
  usage: {
package/package.json CHANGED
@@ -1,49 +1,49 @@
1
- {
2
- "name": "digicust_types",
3
- "version": "1.8.431",
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.433",
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,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 });