digicust_types 1.8.517 → 1.8.519
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.
- package/lib/models/digicust/case/aggregated-case-data.model.d.ts +1 -1
- package/lib/models/digicust/execution-strategy/execution-strategy.model.d.ts +2 -0
- package/lib/models/digicust/multerfile.model.d.ts +1 -0
- package/package.json +1 -1
- package/lib/models/digicust/documents/document-code-source-context.d.ts +0 -18
- package/lib/models/digicust/documents/document-code-source-context.js +0 -2
@@ -43,7 +43,7 @@ export interface AggregatedCaseDataModel {
|
|
43
43
|
importer?: CompanyModel;
|
44
44
|
buyer?: CompanyModel;
|
45
45
|
beneficiary?: CompanyModel;
|
46
|
-
supplier?: CompanyModel;
|
46
|
+
supplier?: CompanyModel[];
|
47
47
|
declarant?: CompanyModel;
|
48
48
|
declarantRepresentative?: CompanyModel;
|
49
49
|
agent?: CompanyModel;
|
@@ -144,6 +144,8 @@ export interface ExecutionStrategy {
|
|
144
144
|
defaultInvoiceType?: "tax_invoice" | "proforma";
|
145
145
|
/** Between 0 and 1 */
|
146
146
|
foreignFreightCostRate?: number;
|
147
|
+
/** If true, the freight costs will be deducted from the statistical value */
|
148
|
+
autoDeductFreightCostsFromStatisticalValue?: boolean;
|
147
149
|
freightCostCalculation?: {
|
148
150
|
active?: boolean;
|
149
151
|
strategy?: "default" | "austriaWeightDependent" | "packageDependent" | "distanceDependent" | "relative" | "containerSizeDependent";
|
package/package.json
CHANGED
@@ -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
|
-
}
|