digicust_types 1.8.349 → 1.8.351

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,6 @@
1
+ export interface CosmosMetadata {
2
+ _rid?: string;
3
+ _self?: string;
4
+ _etag?: string;
5
+ _attachments?: string;
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ export * from "./cosmos-metadata";
2
+ export * from "./searchable-string-field";
3
+ export * from "./material-number-search-document";
4
+ export * from "./searchable-string-field";
5
+ export * from "./tariff-number-field";
6
+ export * from "./tariff-number-search-document";
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./cosmos-metadata"), exports);
18
+ __exportStar(require("./searchable-string-field"), exports);
19
+ __exportStar(require("./material-number-search-document"), exports);
20
+ __exportStar(require("./searchable-string-field"), exports);
21
+ __exportStar(require("./tariff-number-field"), exports);
22
+ __exportStar(require("./tariff-number-search-document"), exports);
@@ -0,0 +1,21 @@
1
+ import { CosmosMetadata } from "./cosmos-metadata";
2
+ import { SearchableStringField } from "./searchable-string-field";
3
+ export interface MaterialNumberSearchDocument extends CosmosMetadata {
4
+ id: string;
5
+ customerId?: string;
6
+ projectId?: string;
7
+ shipperId?: string;
8
+ description?: {
9
+ value: string | null;
10
+ };
11
+ buyerOrderNumber: {
12
+ userEditedSearchValue: string | null;
13
+ userEditedValue: string | null;
14
+ userEdited: boolean;
15
+ };
16
+ buyerArticleNumber: SearchableStringField;
17
+ code: SearchableStringField;
18
+ materialNumber: SearchableStringField;
19
+ matchingType: "materialNumber";
20
+ hasAnyUserEditedProperties?: boolean;
21
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ export interface SearchableStringField {
2
+ value: string | null;
3
+ searchValue: string | null;
4
+ userEditedSearchValue: string | null;
5
+ userEdited: boolean;
6
+ userEditedValue: string | null;
7
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ export interface TariffNumberField {
2
+ userEditedNormalizedValue: string | null;
3
+ userEditedValue: string | null;
4
+ value: boolean | null;
5
+ userEdited: boolean | null;
6
+ generatedValue: string | null;
7
+ normalizedValue: string | null;
8
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,33 @@
1
+ import { CosmosMetadata } from "./cosmos-metadata";
2
+ import { TariffNumberField } from "./tariff-number-field";
3
+ export interface TariffNumberSearchDocument extends CosmosMetadata {
4
+ id: string;
5
+ customerId?: string;
6
+ projectId?: string;
7
+ shipperId?: string;
8
+ consigneeId?: string;
9
+ recipientId?: string;
10
+ beneficiaryId?: string;
11
+ applicantId?: string;
12
+ declarantId?: string;
13
+ importerId?: string;
14
+ exporterId?: string;
15
+ buyerId?: string;
16
+ agentId?: string;
17
+ brokerId?: string;
18
+ carrierId?: string;
19
+ warehouseId?: string;
20
+ obligaterId?: string;
21
+ recipients?: {
22
+ id: string;
23
+ name: string;
24
+ }[];
25
+ description?: {
26
+ value: string | null;
27
+ };
28
+ customsTariffNumber: TariffNumberField;
29
+ matchingType: "tariffNumber";
30
+ shipperCountry: string;
31
+ destinationCountry: string;
32
+ hasAnyUserEditedProperties?: boolean;
33
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -398,6 +398,10 @@ export interface ExecutionStrategy {
398
398
  * If update mode is active, the descriptions will be replaced on each update (except if the new description is empty)
399
399
  */
400
400
  persistItemDescriptions?: boolean;
401
+ /**
402
+ * This is always persisted for tariff number based master data, but needs to be explicitly enabled for material based master data
403
+ */
404
+ persistCustomsTariffNumbersForMaterialBasedMasterData?: boolean;
401
405
  /**
402
406
  * Controls how history data is configured and managed
403
407
  */
@@ -406,11 +410,6 @@ export interface ExecutionStrategy {
406
410
  * Maximum number of entries to keep in each history. Default: 10
407
411
  */
408
412
  maxHistoryEntries?: number;
409
- /**
410
- * If true, identical consecutive entries will be merged to save space
411
- * Default: false
412
- */
413
- mergeIdenticalEntries?: boolean;
414
413
  /**
415
414
  * If true, recipients will be tracked in the history with NO limit(!). Needs to be true for useRecipientOrImporter to work for matching
416
415
  */
@@ -428,15 +427,15 @@ export interface ExecutionStrategy {
428
427
  */
429
428
  prices?: boolean;
430
429
  };
430
+ };
431
+ /**
432
+ * Controls document code integration from different sources.
433
+ */
434
+ documentCodeIntegration?: {
431
435
  /**
432
- * Controls document code integration from different sources.
436
+ * Allowed sources for document code derivation
433
437
  */
434
- documentCodeIntegration?: {
435
- /**
436
- * Allowed sources for document code derivation
437
- */
438
- allowedSources?: DocumentCodeSource[];
439
- };
438
+ allowedSources?: DocumentCodeSource[];
440
439
  };
441
440
  /**
442
441
  * Controls how additional material properties are handled
@@ -459,30 +458,15 @@ export interface ExecutionStrategy {
459
458
  */
460
459
  updateUnitOfMeasurement?: boolean;
461
460
  /**
462
- * Controls weight updates from items
461
+ * If true, net weights from items will update material net weight
462
+ * Default: true
463
463
  */
464
- weightManagement?: {
465
- /**
466
- * If true, net weights from items will update material net weight
467
- * Default: true
468
- */
469
- updateNetWeight?: boolean;
470
- /**
471
- * If true, gross weights from items will update material gross weight
472
- * Default: true
473
- */
474
- updateGrossWeight?: boolean;
475
- };
476
- };
477
- /**
478
- * Quality requirements for material master data
479
- */
480
- materialQualityRequirements?: {
464
+ updateNetWeight?: boolean;
481
465
  /**
482
- * Minimum confidence score for material number matching to be accepted
483
- * Value between 0 and 1. Default: 0.9
466
+ * If true, gross weights from items will update material gross weight
467
+ * Default: true
484
468
  */
485
- minimumMatchConfidence?: number;
469
+ updateGrossWeight?: boolean;
486
470
  };
487
471
  };
488
472
  };
@@ -1,4 +1,5 @@
1
1
  export * from "./digicust";
2
+ export * from "./cognitive-search";
2
3
  export * from "./rossum";
3
4
  export * from "./ml";
4
5
  export * from "./taric";
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./digicust"), exports);
18
+ __exportStar(require("./cognitive-search"), exports);
18
19
  __exportStar(require("./rossum"), exports);
19
20
  __exportStar(require("./ml"), exports);
20
21
  __exportStar(require("./taric"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "digicust_types",
3
- "version": "1.8.349",
3
+ "version": "1.8.351",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",