digicust_types 1.8.343 → 1.8.345

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
  /**
@@ -300,6 +300,45 @@ export interface ExecutionStrategy {
300
300
  * @deprecated
301
301
  */
302
302
  disableAutomaticMaterialCreation?: boolean;
303
+ defaultLicensePlate?: "german" | false;
304
+ /**
305
+ * When set to true, line item descriptions will be omitted from the final goods description (if possible, if no other description is available it will be used).
306
+ */
307
+ omitLineItemDescription?: boolean;
308
+ emailSenderAsRepresentativeEmail?: boolean;
309
+ };
310
+ dataValidation?: {
311
+ active?: boolean;
312
+ fraudDetection?: boolean;
313
+ };
314
+ hsClassification?: {
315
+ active?: boolean;
316
+ research?: boolean;
317
+ };
318
+ /** @deprecated */
319
+ dakosySubmission?: {
320
+ active?: boolean;
321
+ };
322
+ dataIntegration?: {
323
+ active?: boolean;
324
+ requireUserInput?: "false" | "true" | "masterDataOrUserInput";
325
+ createNewCustomsCaseForEveryXItems?: {
326
+ active?: boolean;
327
+ threshold?: number;
328
+ aggregated?: boolean;
329
+ };
330
+ createNewCustomsCaseForInvoice?: {
331
+ active?: boolean;
332
+ };
333
+ createNewCustomsCasesAsMentionedInEmail?: {
334
+ active?: boolean;
335
+ };
336
+ createNewCustomsCasesPerRecipient?: {
337
+ active?: boolean;
338
+ };
339
+ createNewCustomsCasesPerWaybillContainer?: {
340
+ active?: boolean;
341
+ };
303
342
  /**
304
343
  * Controls master data integration automation settings
305
344
  */
@@ -354,55 +393,111 @@ export interface ExecutionStrategy {
354
393
  * General integration options for both material and tariffNumber based master data
355
394
  */
356
395
  materialIntegrationOptions?: {
357
- /**
358
- * If any negative codings were automatically added to the shipment item, they will be persisted in the master data
359
- */
360
- persistNegativeCodings?: boolean;
361
396
  /**
362
397
  * If any descriptions were found in the shipment item, they will be persisted in the master data
398
+ * If update mode is active, the descriptions will be replaced on each update (except if the new description is empty)
363
399
  */
364
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
+ };
365
499
  };
366
500
  };
367
- defaultLicensePlate?: "german" | false;
368
- /**
369
- * When set to true, line item descriptions will be omitted from the final goods description (if possible, if no other description is available it will be used).
370
- */
371
- omitLineItemDescription?: boolean;
372
- emailSenderAsRepresentativeEmail?: boolean;
373
- };
374
- dataValidation?: {
375
- active?: boolean;
376
- fraudDetection?: boolean;
377
- };
378
- hsClassification?: {
379
- active?: boolean;
380
- research?: boolean;
381
- };
382
- /** @deprecated */
383
- dakosySubmission?: {
384
- active?: boolean;
385
- };
386
- dataIntegration?: {
387
- active?: boolean;
388
- requireUserInput?: "false" | "true" | "masterDataOrUserInput";
389
- createNewCustomsCaseForEveryXItems?: {
390
- active?: boolean;
391
- threshold?: number;
392
- aggregated?: boolean;
393
- };
394
- createNewCustomsCaseForInvoice?: {
395
- active?: boolean;
396
- };
397
- createNewCustomsCasesAsMentionedInEmail?: {
398
- active?: boolean;
399
- };
400
- createNewCustomsCasesPerRecipient?: {
401
- active?: boolean;
402
- };
403
- createNewCustomsCasesPerWaybillContainer?: {
404
- active?: boolean;
405
- };
406
501
  };
407
502
  matchingEngine?: {
408
503
  materialMatching?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "digicust_types",
3
- "version": "1.8.343",
3
+ "version": "1.8.345",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",