digicust_types 1.8.341 → 1.8.343
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.
- package/lib/models/digicust/documents/document-code-source-context.d.ts +18 -0
- package/lib/models/digicust/execution-strategy/execution-strategy.model.d.ts +70 -0
- package/package.json +1 -1
- package/lib/models/digicust/case/stats-case.model.d.ts +0 -12
- /package/lib/models/digicust/{case/stats-case.model.js → documents/document-code-source-context.js} +0 -0
|
@@ -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,78 @@ 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 of stakeholder master data that does not exist yet
|
|
309
|
+
*/
|
|
310
|
+
createStakeholderMasterData?: boolean;
|
|
311
|
+
/**
|
|
312
|
+
* Enable updates of fields in automatically created stakeholders
|
|
313
|
+
*/
|
|
314
|
+
updateAutomaticallyCreatedStakeholders?: boolean;
|
|
315
|
+
/**
|
|
316
|
+
* Enable updates of fields in manually created stakeholders
|
|
317
|
+
*/
|
|
318
|
+
updateManuallyCreatedStakeholders?: boolean;
|
|
319
|
+
/**
|
|
320
|
+
* Enable creation of material master data that does not exist yet
|
|
321
|
+
*/
|
|
322
|
+
createMaterialMasterData?: boolean;
|
|
323
|
+
/**
|
|
324
|
+
* Enable updates of fields in automatically created materials
|
|
325
|
+
*/
|
|
326
|
+
updateAutomaticallyCreatedMaterials?: boolean;
|
|
327
|
+
/**
|
|
328
|
+
* Enable updates of fields in manually created materials
|
|
329
|
+
*/
|
|
330
|
+
updateManuallyCreatedMaterials?: boolean;
|
|
331
|
+
/**
|
|
332
|
+
* Enable creation of tariff number master data that does not exist yet
|
|
333
|
+
*/
|
|
334
|
+
createTariffNumberMasterData?: boolean;
|
|
335
|
+
/**
|
|
336
|
+
* Enable updates of fields in automatically created tariff numbers
|
|
337
|
+
*/
|
|
338
|
+
updateAutomaticallyCreatedTariffNumbers?: boolean;
|
|
339
|
+
/**
|
|
340
|
+
* Enable updates of fields in manually created tariff numbers
|
|
341
|
+
*/
|
|
342
|
+
updateManuallyCreatedTariffNumbers?: boolean;
|
|
343
|
+
/**
|
|
344
|
+
* Matching options for tariff number master data, effectively which properties from the shipment will be used to match the tariff number
|
|
345
|
+
* 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
|
|
346
|
+
*/
|
|
347
|
+
tariffNumberMatchingOptions?: {
|
|
348
|
+
useCountryOfOrigin?: boolean;
|
|
349
|
+
useDestinationCountry?: boolean;
|
|
350
|
+
useShipper?: boolean;
|
|
351
|
+
useRecipientOrImporter?: boolean;
|
|
352
|
+
};
|
|
353
|
+
/**
|
|
354
|
+
* General integration options for both material and tariffNumber based master data
|
|
355
|
+
*/
|
|
356
|
+
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
|
+
/**
|
|
362
|
+
* If any descriptions were found in the shipment item, they will be persisted in the master data
|
|
363
|
+
*/
|
|
364
|
+
persistItemDescriptions?: boolean;
|
|
365
|
+
};
|
|
366
|
+
};
|
|
297
367
|
defaultLicensePlate?: "german" | false;
|
|
298
368
|
/**
|
|
299
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).
|
package/package.json
CHANGED
|
@@ -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
|
-
}
|
/package/lib/models/digicust/{case/stats-case.model.js → documents/document-code-source-context.js}
RENAMED
|
File without changes
|