digicust_types 1.8.344 → 1.8.346

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.
@@ -1,4 +1,4 @@
1
- import { CustomsTariffNumberNormalizationSettings, DigicustDocumentType, Event, Money, PackageType, ProcedureMode, Rule, StakeholderModel } from "..";
1
+ import { CustomsTariffNumberNormalizationSettings, DigicustDocumentType, DocumentCodeSource, Event, Money, PackageType, ProcedureMode, Rule, StakeholderModel } from "..";
2
2
  import { Submission } from "./sftp-config.model";
3
3
  import { UploadWidget } from "./uploadWidget";
4
4
  /**
@@ -393,16 +393,109 @@ export interface ExecutionStrategy {
393
393
  * General integration options for both material and tariffNumber based master data
394
394
  */
395
395
  materialIntegrationOptions?: {
396
- /**
397
- * If any negative codings were automatically added to the shipment item, they will be created or added to the master data.
398
- * If update mode is active, the arrays of negative codings will be merged.
399
- */
400
- persistNegativeCodings?: boolean;
401
396
  /**
402
397
  * If any descriptions were found in the shipment item, they will be persisted in the master data
403
398
  * If update mode is active, the descriptions will be replaced on each update (except if the new description is empty)
404
399
  */
405
400
  persistItemDescriptions?: boolean;
401
+ /**
402
+ * Controls how history data is configured and managed
403
+ */
404
+ historyManagement?: {
405
+ /**
406
+ * Maximum number of entries to keep in each history. Default: 10
407
+ */
408
+ maxHistoryEntries?: number;
409
+ /**
410
+ * If true, identical consecutive entries will be merged to save space
411
+ * Default: false
412
+ */
413
+ mergeIdenticalEntries?: boolean;
414
+ /**
415
+ * Controls which historical data should be tracked
416
+ */
417
+ enabledHistories?: {
418
+ /**
419
+ * Track country of origin changes over time
420
+ */
421
+ countryOfOrigin?: boolean;
422
+ /**
423
+ * Track price changes over time with associated quantity info
424
+ */
425
+ prices?: boolean;
426
+ /**
427
+ * Controls recipient tracking behavior
428
+ */
429
+ recipients?: {
430
+ /**
431
+ * If true, new recipients will be added to the list
432
+ * If false, recipient list will not be updated
433
+ * Default: true
434
+ */
435
+ trackNewRecipients?: boolean;
436
+ /**
437
+ * Maximum number of recipients to track
438
+ * Default: no limit
439
+ */
440
+ maxRecipients?: number;
441
+ };
442
+ };
443
+ /**
444
+ * Controls document code integration from different sources.
445
+ */
446
+ documentCodeIntegration?: {
447
+ /**
448
+ * Allowed sources for document code derivation
449
+ */
450
+ allowedSources?: DocumentCodeSource[];
451
+ };
452
+ };
453
+ /**
454
+ * Controls how additional material properties are handled
455
+ */
456
+ additionalProperties?: {
457
+ /**
458
+ * If true, material tags from items will be added to existing tags
459
+ * If false, tags will not be propagated
460
+ * Default: false
461
+ */
462
+ propagateTags?: boolean;
463
+ /**
464
+ * If true, CAS numbers from items will update material CAS numbers
465
+ * Default: true
466
+ */
467
+ updateCASNumbers?: boolean;
468
+ /**
469
+ * If true, units of measurement from items will update material UoM
470
+ * Default: true
471
+ */
472
+ updateUnitOfMeasurement?: boolean;
473
+ /**
474
+ * Controls weight updates from items
475
+ */
476
+ weightManagement?: {
477
+ /**
478
+ * If true, net weights from items will update material net weight
479
+ * Default: true
480
+ */
481
+ updateNetWeight?: boolean;
482
+ /**
483
+ * If true, gross weights from items will update material gross weight
484
+ * Default: true
485
+ */
486
+ updateGrossWeight?: boolean;
487
+ };
488
+ };
489
+ /**
490
+ * Quality requirements for material master data
491
+ */
492
+ materialQualityRequirements?: {
493
+ /**
494
+ * Minimum confidence score for material number matching to be accepted
495
+ * Value between 0 and 1. Default: 0.9
496
+ */
497
+ minimumMatchConfidence?: number;
498
+ };
406
499
  };
407
500
  };
408
501
  };
@@ -8,4 +8,5 @@ export interface MaterialMatchResult {
8
8
  matchesBuyerArticleNumberUserEdited?: boolean;
9
9
  matchesShipper?: boolean;
10
10
  hasAnyUserEditedProperties?: boolean;
11
+ fallbackSearchUsed?: "none" | "paddedNumber" | "emptyShipper" | "emptyDestination";
11
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "digicust_types",
3
- "version": "1.8.344",
3
+ "version": "1.8.346",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",