digicust_types 1.8.486 → 1.8.488

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.
@@ -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 });
@@ -131,6 +131,7 @@ export interface ExecutionStrategy {
131
131
  netWeightFromGrossWeight?: number;
132
132
  };
133
133
  statisticalValueRounding?: "noRounding" | "roundOff" | "roundUp" | "roundToNearest";
134
+ forceTotalValueToStatisticalValue?: boolean;
134
135
  defaultInvoiceType?: "tax_invoice" | "proforma";
135
136
  /** Between 0 and 1 */
136
137
  foreignFreightCostRate?: number;
@@ -13,6 +13,8 @@ export interface LineItemModel {
13
13
  associatedRecipientIds?: string[];
14
14
  caseId?: string;
15
15
  isCondensed?: boolean;
16
+ isAggregated?: boolean;
17
+ articleNumbers?: string[];
16
18
  position?: Meta<string>;
17
19
  code?: Meta<string>;
18
20
  materialNumber?: Meta<string>;
@@ -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.486",
3
+ "version": "1.8.488",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",