digicust_types 1.8.462 → 1.8.464

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,3 +10,5 @@ export * from "./stakeholder.model";
10
10
  export * from "./string-scoring-algorithm-type.enum";
11
11
  export * from "./string-scoring-details";
12
12
  export * from "./user-edited-properties.type";
13
+ export * from "./material-save-options";
14
+ export * from "./search-attempt-params";
@@ -26,3 +26,5 @@ __exportStar(require("./stakeholder.model"), exports);
26
26
  __exportStar(require("./string-scoring-algorithm-type.enum"), exports);
27
27
  __exportStar(require("./string-scoring-details"), exports);
28
28
  __exportStar(require("./user-edited-properties.type"), exports);
29
+ __exportStar(require("./material-save-options"), exports);
30
+ __exportStar(require("./search-attempt-params"), exports);
@@ -0,0 +1,5 @@
1
+ export interface MaterialMatchingConfiguration {
2
+ stakeholderFilters?: ("shipper" | "consignee" | "recipient" | "beneficiary" | "applicant" | "declarant" | "importer" | "exporter" | "buyer" | "agent" | "broker" | "carrier" | "warehouse" | "obligater")[];
3
+ matchShipperCountry?: boolean;
4
+ matchDestinationCountry?: boolean;
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ import { MatchingMetadataModel } from "./matching-metadata.model";
2
+ import { SaveOptions } from "../meta";
3
+ import { MaterialMatchInput } from "./material-match-input";
4
+ import { MaterialMatchResult } from "./material-match-result";
5
+ import { MaterialMatchByTariffNumberInput } from "./material-match-by-tariff-number-input";
6
+ export interface MaterialSaveOptions extends SaveOptions {
7
+ updateMaterialNrCacheMetaData?: MatchingMetadataModel<MaterialMatchInput, MaterialMatchResult>;
8
+ updateTariffNumberCacheMetaData?: MatchingMetadataModel<MaterialMatchByTariffNumberInput, MaterialMatchResult>;
9
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ import { FallBackType } from "./material-match-result";
2
+ import { MaterialModel } from "./material.model";
3
+ export interface SearchAttemptParams {
4
+ query: string;
5
+ filter: string;
6
+ fallbackType: FallBackType;
7
+ score?: number;
8
+ document?: Partial<MaterialModel>;
9
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -3,3 +3,4 @@ export * from "./fuzzy-input";
3
3
  export * from "./meta";
4
4
  export * from "./workflow";
5
5
  export * from "./translatable.model";
6
+ export * from "./save-options";
@@ -19,3 +19,4 @@ __exportStar(require("./fuzzy-input"), exports);
19
19
  __exportStar(require("./meta"), exports);
20
20
  __exportStar(require("./workflow"), exports);
21
21
  __exportStar(require("./translatable.model"), exports);
22
+ __exportStar(require("./save-options"), exports);
@@ -0,0 +1,3 @@
1
+ export interface SaveOptions {
2
+ mustMatchEtag?: boolean;
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "digicust_types",
3
- "version": "1.8.462",
3
+ "version": "1.8.464",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",