digicust_types 1.8.320 → 1.8.322

Sign up to get free protection for your applications and to get access to all the features.
@@ -42,6 +42,10 @@ export interface CaseModel {
42
42
  /** Case Type */
43
43
  procedureMode?: ProcedureMode;
44
44
  totalItemsLength?: number;
45
+ statistics?: {
46
+ /** gives information of this being the # case of today. Basically counts previously cases of customer and project today and adds +1 */
47
+ dailyCaseCount?: number;
48
+ };
45
49
  /**
46
50
  * Customs documents (e.g. invoices, waybills, ...)
47
51
  * Each item could only exist in condensed form
@@ -0,0 +1,12 @@
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
+ }
@@ -12,4 +12,5 @@ export interface DefermentAccount extends Meta<string> {
12
12
  code?: string;
13
13
  accountNumber?: string;
14
14
  BIN?: string;
15
+ applyOnlyWhereDutyNecessary?: boolean;
15
16
  }
@@ -1,5 +1,5 @@
1
1
  import { DocumentCodeSource } from "./document-code-source.enum";
2
- import { Condition } from "../execution-strategy/condition";
2
+ import { Condition } from "../execution-strategy";
3
3
  export interface DocumentCodeDerivation {
4
4
  source: DocumentCodeSource;
5
5
  taricQueryParams?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "digicust_types",
3
- "version": "1.8.320",
3
+ "version": "1.8.322",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -1,18 +0,0 @@
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
- }