digicust_types 1.8.503 → 1.8.504

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.
@@ -0,0 +1,7 @@
1
+ import { Meta } from "../../meta";
2
+ export interface CHSpecificAggegated {
3
+ clearanceLocation?: Meta<CHClearanceLocation>;
4
+ declarationTime?: Meta<CHDeclarationTime>;
5
+ }
6
+ export type CHClearanceLocation = 1 | 2;
7
+ export type CHDeclarationTime = 1 | 2 | 3 | 99;
@@ -0,0 +1,10 @@
1
+ import { Meta } from "../../meta";
2
+ export interface CHSpecificLineItem {
3
+ hc?: Meta<CHcommercialGood>;
4
+ vs?: Meta<CHcustomsClearanceType>;
5
+ nze?: Meta<number>;
6
+ permitObligation?: Meta<CHpermitObligation>;
7
+ }
8
+ export type CHcommercialGood = 1 | 2;
9
+ export type CHcustomsClearanceType = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;
10
+ export type CHpermitObligation = 0 | 1 | 2;
@@ -0,0 +1,2 @@
1
+ export * from "./CH-specific-aggregated";
2
+ export * from "./CH-specific-line-items";
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./CH-specific-aggregated"), exports);
18
+ __exportStar(require("./CH-specific-line-items"), exports);
package/package.json CHANGED
@@ -1,49 +1,49 @@
1
- {
2
- "name": "digicust_types",
3
- "version": "1.8.503",
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
+ {
2
+ "name": "digicust_types",
3
+ "version": "1.8.504",
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,12 +0,0 @@
1
- import { Meta } from "..";
2
- /**
3
- * Statistics about a case
4
- */
5
- export interface StatsCaseModel {
6
- fillOutRatio?: Meta<number>;
7
- difficulty?: Meta<number>;
8
- accuracy?: Meta<number>;
9
- completeness?: Meta<number>;
10
- correctness?: Meta<number>;
11
- overallConfidence?: Meta<number>;
12
- }
@@ -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
- }