digicust_types 1.7.417 → 1.7.418

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.
@@ -10,6 +10,7 @@ export interface WaybillTypeModel extends Meta<WaybillType> {
10
10
  DE_I0136_Reference?: string;
11
11
  DE_I0136_Addition?: string;
12
12
  DE_I0136_Detail?: string;
13
+ DE_C0013?: string;
13
14
  }
14
15
  export declare enum WaybillType {
15
16
  airWaybill = "airWaybill",
@@ -52,6 +52,7 @@ export interface ExecutionStrategy {
52
52
  /** Determines how to deal with additional costs like shipping costs, packing, ... */
53
53
  additionalCostsStrategy?: "addToFirstItem" | "splitToAllItems";
54
54
  allowDateInOrderNumber?: boolean;
55
+ eliminateArticleNumberFromDescription?: boolean;
55
56
  /** Determines whether or not data from incoming emails are extracted and normalized.
56
57
  * @default false */
57
58
  normalizeEmailDocuments?: boolean;
@@ -66,6 +67,7 @@ export interface ExecutionStrategy {
66
67
  };
67
68
  dataValidation?: {
68
69
  active?: boolean;
70
+ fraudDetection?: boolean;
69
71
  };
70
72
  hsClassification?: {
71
73
  active?: boolean;
@@ -0,0 +1,6 @@
1
+ export interface ItemFraudDetectionDetails {
2
+ /** Number between 0 and 1 */
3
+ score?: number;
4
+ reason?: string;
5
+ detector?: string;
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,5 @@
1
1
  import { Adjustment, Container, DigicustDocumentModel, DocumentTypeCode, MatchingMetadataModel, MaterialMatchInput, MaterialMatchResult, Package, PreferenceState, Procedure, AddressModel, CompanyModel, Currency, CustomsTariffNumber, Meta, Money, Quantity, Weight, WeightUnit, Bbox, UnitOfMeasurement, MasterDataCreationType, CustomsDuty, ImportSalesTax, AdditionDeduction, Translatable } from "..";
2
+ import { ItemFraudDetectionDetails } from "../fraud/item-fraud-detection";
2
3
  /**
3
4
  * Identifies line items (specific products) listed on a document
4
5
  */
@@ -84,6 +85,7 @@ export interface LineItemModel {
84
85
  materialId?: string;
85
86
  creationType?: MasterDataCreationType;
86
87
  bbox?: Bbox;
88
+ fraudDetection?: ItemFraudDetectionDetails;
87
89
  matchingMetadata?: MatchingMetadataModel<MaterialMatchInput, MaterialMatchResult>;
88
90
  }
89
91
  export declare const condenseLineItem: (lineItem?: LineItemModel) => LineItemModel | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "digicust_types",
3
- "version": "1.7.417",
3
+ "version": "1.7.418",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",