digicust_types 1.8.519 → 1.8.521

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,7 +43,7 @@ export interface AggregatedCaseDataModel {
43
43
  importer?: CompanyModel;
44
44
  buyer?: CompanyModel;
45
45
  beneficiary?: CompanyModel;
46
- supplier?: CompanyModel[];
46
+ suppliers?: CompanyModel[];
47
47
  declarant?: CompanyModel;
48
48
  declarantRepresentative?: CompanyModel;
49
49
  agent?: CompanyModel;
@@ -0,0 +1,10 @@
1
+ export interface AppliedRuleModel {
2
+ ruleId: string;
3
+ ruleName: string;
4
+ appliedAt: Date;
5
+ matchedConditions?: {
6
+ conditionId?: string;
7
+ conditionExpression?: string;
8
+ evaluatedValue?: any;
9
+ }[];
10
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,5 @@
1
1
  export * from "./aggregated-case-data.model";
2
+ export * from "./applied-rule.model";
2
3
  export * from "./case-status.enum";
3
4
  export * from "./case-submission-transaction";
4
5
  export * from "./case-type.enum";
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./aggregated-case-data.model"), exports);
18
+ __exportStar(require("./applied-rule.model"), exports);
18
19
  __exportStar(require("./case-status.enum"), exports);
19
20
  __exportStar(require("./case-submission-transaction"), exports);
20
21
  __exportStar(require("./case-type.enum"), exports);
@@ -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
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "digicust_types",
3
- "version": "1.8.519",
3
+ "version": "1.8.521",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",