digicust_types 1.8.322 → 1.8.324
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/models/digicust/customs/declaration-type.enum.d.ts +2 -1
- package/lib/models/digicust/customs/declaration-type.enum.js +3 -0
- package/lib/models/digicust/documents/document-code-source-context.d.ts +18 -0
- package/lib/models/digicust/documents/document-types/customs-service-instructions.model.d.ts +2 -1
- package/lib/models/digicust/multerfile.model.d.ts +0 -1
- package/package.json +1 -1
- package/lib/models/digicust/case/stats-case.model.d.ts +0 -12
- /package/lib/models/digicust/{case/stats-case.model.js → documents/document-code-source-context.js} +0 -0
@@ -3,6 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DeclarationType = void 0;
|
4
4
|
var DeclarationType;
|
5
5
|
(function (DeclarationType) {
|
6
|
+
/* EZA */
|
6
7
|
DeclarationType["declaration"] = "declaration";
|
7
8
|
DeclarationType["preDeclaration"] = "preDeclaration";
|
9
|
+
/* VZA */
|
10
|
+
DeclarationType["simplifiedDeclaration"] = "simplifiedDeclaration";
|
8
11
|
})(DeclarationType || (exports.DeclarationType = DeclarationType = {}));
|
@@ -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
|
+
}
|
package/lib/models/digicust/documents/document-types/customs-service-instructions.model.d.ts
CHANGED
@@ -2,10 +2,11 @@ import { CustomsOffice, CustomsTariffNumber } from "../../customs";
|
|
2
2
|
import { DateTimeModel, Money, Weight } from "../../measures";
|
3
3
|
import { MeanOfTransportation, Package } from "../../transportation";
|
4
4
|
import { DigicustDocumentModel } from "./digicust-document.model";
|
5
|
+
import { LineItemContainingDocument } from "../line-item-containing-document";
|
5
6
|
/**
|
6
7
|
* Identifies an export/import instructions
|
7
8
|
*/
|
8
|
-
export interface CustomsServiceInstructions extends DigicustDocumentModel {
|
9
|
+
export interface CustomsServiceInstructions extends DigicustDocumentModel, LineItemContainingDocument {
|
9
10
|
issueDate?: DateTimeModel;
|
10
11
|
meansOfTransportation?: MeanOfTransportation[];
|
11
12
|
netWeight?: Weight;
|
package/package.json
CHANGED
@@ -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
|
-
}
|
/package/lib/models/digicust/{case/stats-case.model.js → documents/document-code-source-context.js}
RENAMED
File without changes
|