digicust_types 1.8.382 → 1.8.384

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.
@@ -119,6 +119,7 @@ export interface AggregatedCaseDataModel {
119
119
  referenceNumberUCR?: Meta<string>;
120
120
  registrationNumberExternal?: Meta<string>;
121
121
  GRN?: Meta<string>;
122
+ GRNAccessCode?: Meta<string>;
122
123
  LRN?: Meta<string>;
123
124
  contact?: {
124
125
  contactPerson?: PersonModel;
@@ -0,0 +1,18 @@
1
+ import { DocumentCodeSource } from "./document-code-source.enum";
2
+ import { ConditionModel } from "../execution-strategy/condition.model";
3
+ export interface DocumentCodeSourceContext {
4
+ source: DocumentCodeSource;
5
+ taricQueryParams?: {
6
+ itemId?: string;
7
+ countryCode?: string;
8
+ procedureMode?: string;
9
+ certificateType?: string;
10
+ };
11
+ ruleMetadata?: {
12
+ name?: string;
13
+ id?: string;
14
+ conditions?: ConditionModel[];
15
+ };
16
+ computationParams?: any;
17
+ materialId?: string;
18
+ }
@@ -1,4 +1,5 @@
1
1
  export declare enum DocumentCodeSource {
2
+ Extracted = "extracted",
2
3
  TaricDatabase = "taricDatabase",
3
4
  Computed = "computed",
4
5
  MaterialMasterdata = "materialMasterdata",
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DocumentCodeSource = void 0;
4
4
  var DocumentCodeSource;
5
5
  (function (DocumentCodeSource) {
6
+ DocumentCodeSource["Extracted"] = "extracted";
6
7
  DocumentCodeSource["TaricDatabase"] = "taricDatabase";
7
8
  DocumentCodeSource["Computed"] = "computed";
8
9
  DocumentCodeSource["MaterialMasterdata"] = "materialMasterdata";
@@ -1,3 +1,4 @@
1
+ /// <reference types="node" />
1
2
  /**
2
3
  * Information about an uploaded file. Used by multer package.
3
4
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "digicust_types",
3
- "version": "1.8.382",
3
+ "version": "1.8.384",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -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
- }