digicust_types 1.8.290 → 1.8.292
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
|
|
1
1
|
import { DigicustDocumentModel } from "./digicust-document.model";
|
2
2
|
import { PreliminaryDocument } from "..";
|
3
|
-
import { CustomsOffice, Money, MeanOfTransportation, Meta, Incoterm, Weight, Package, AddressModel, DeclarationType, CompanyModel, Seal, LineItemModel, Container } from "../..";
|
3
|
+
import { CustomsOffice, Money, MeanOfTransportation, Meta, Incoterm, Weight, Package, AddressModel, DeclarationType, CompanyModel, Seal, LineItemModel, Container, CustomsTariffNumber } from "../..";
|
4
4
|
import { DateTimeModel, PersonModel, WeightUnit } from "../../measures";
|
5
5
|
/**
|
6
6
|
* Identifies an Email
|
@@ -47,6 +47,8 @@ export interface EmailDocument extends DigicustDocumentModel {
|
|
47
47
|
packages?: Package[];
|
48
48
|
containers?: Container[];
|
49
49
|
items?: LineItemModel[];
|
50
|
+
generalTariffNumber?: CustomsTariffNumber;
|
51
|
+
generalGoodsDescription?: Meta<string>;
|
50
52
|
seals?: Seal[];
|
51
53
|
contactPerson?: PersonModel;
|
52
54
|
phoneNr?: Meta<string>;
|
@@ -49,6 +49,7 @@ export interface ExecutionStrategy {
|
|
49
49
|
sendToFallbackEngine?: boolean;
|
50
50
|
remarks?: string;
|
51
51
|
ignoreLineItems?: boolean;
|
52
|
+
ignore?: boolean;
|
52
53
|
}[];
|
53
54
|
onlyConsiderFirstAndLastPage?: boolean;
|
54
55
|
};
|
@@ -95,6 +96,9 @@ export interface ExecutionStrategy {
|
|
95
96
|
/** Determines whether or not data from incoming emails are extracted and normalized.
|
96
97
|
* @default false */
|
97
98
|
normalizeEmailDocuments?: boolean;
|
99
|
+
normalizeEmailDocumentsOptions?: {
|
100
|
+
remarks?: string;
|
101
|
+
};
|
98
102
|
/** Determines whether trade preference shall be invalidated if wording or spelling is wrong */
|
99
103
|
checkTradePreferenceForWording?: boolean;
|
100
104
|
/** Default: Assume origin from preference. Set to true to mitigate this behavior */
|