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.
@@ -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";
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="node" />
2
3
  /**
3
4
  * Information about an uploaded file. Used by multer package.
4
5
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "digicust_types",
3
- "version": "1.8.517",
3
+ "version": "1.8.519",
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
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });