digicust_types 1.8.341 → 1.8.342

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,18 @@
1
+ import { DocumentCodeSource } from "./document-code-source.enum";
2
+ import { ConditionModel } from "../execution-strategy/condition.model";
3
+ export interface DocumentCodeSourceContext {
4
+ source: DocumentCodeSource;
5
+ taricQueryParams?: {
6
+ itemId?: string;
7
+ countryCode?: string;
8
+ procedureMode?: string;
9
+ certificateType?: string;
10
+ };
11
+ ruleMetadata?: {
12
+ name?: string;
13
+ id?: string;
14
+ conditions?: ConditionModel[];
15
+ };
16
+ computationParams?: any;
17
+ materialId?: string;
18
+ }
@@ -292,8 +292,66 @@ export interface ExecutionStrategy {
292
292
  forceInvoiceNumberToReferenceNumberUCR?: boolean;
293
293
  forceInvoiceNumberToRegistrationNumberExternal?: boolean;
294
294
  forceInvoiceNumberToLRN?: boolean;
295
+ /**
296
+ * @deprecated
297
+ */
295
298
  disableAutomaticStakeholderCreation?: boolean;
299
+ /**
300
+ * @deprecated
301
+ */
296
302
  disableAutomaticMaterialCreation?: boolean;
303
+ /**
304
+ * Controls master data integration automation settings
305
+ */
306
+ masterDataIntegrationAutomation?: {
307
+ /**
308
+ * Enable creation and update of stakeholder master data (if updates are not disabled)
309
+ */
310
+ saveStakeholderMasterData?: boolean;
311
+ /**
312
+ * Disable automatic updates of stakeholder master data
313
+ */
314
+ disableStakeholderMasterDataUpdates?: boolean;
315
+ /**
316
+ * Enable creation and update of material master data (if updates are not disabled)
317
+ */
318
+ saveMaterialMasterData?: boolean;
319
+ /**
320
+ * Disable automatic updates of material master data
321
+ */
322
+ disableMaterialMasterDataUpdates?: boolean;
323
+ /**
324
+ * Enable creation and update of tariffNumber master data (if updates are not disabled)
325
+ */
326
+ saveTariffNumberMasterData?: boolean;
327
+ /**
328
+ * Disable automatic updates of tariffNumber master data
329
+ */
330
+ disableTariffNumberMasterDataUpdates?: boolean;
331
+ /**
332
+ * Matching options for tariff number master data, effectively which properties from the shipment will be used to match the tariff number
333
+ * These properties from the shipment (and item) will also be automatically persisted in the master data, each combination of these properties will be a separate master data entry
334
+ */
335
+ tariffNumberMatchingOptions?: {
336
+ useCountryOfOrigin?: boolean;
337
+ useDestinationCountry?: boolean;
338
+ useShipper?: boolean;
339
+ useRecipientOrImporter?: boolean;
340
+ };
341
+ /**
342
+ * General integration options for both material and tariffNumber based master data
343
+ */
344
+ materialIntegrationOptions?: {
345
+ /**
346
+ * If any negative codings were automatically added to the shipment item, they will be persisted in the master data
347
+ */
348
+ persistNegativeCodings?: boolean;
349
+ /**
350
+ * If any descriptions were found in the shipment item, they will be persisted in the master data
351
+ */
352
+ persistItemDescriptions?: boolean;
353
+ };
354
+ };
297
355
  defaultLicensePlate?: "german" | false;
298
356
  /**
299
357
  * 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).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "digicust_types",
3
- "version": "1.8.341",
3
+ "version": "1.8.342",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -1,12 +0,0 @@
1
- import { Meta } from "..";
2
- /**
3
- * Statistics about a case
4
- */
5
- export interface StatsCaseModel {
6
- fillOutRatio?: Meta<number>;
7
- difficulty?: Meta<number>;
8
- accuracy?: Meta<number>;
9
- completeness?: Meta<number>;
10
- correctness?: Meta<number>;
11
- overallConfidence?: Meta<number>;
12
- }