digicust_types 1.8.336 → 1.8.337
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/models/digicust/execution-strategy/execution-strategy.model.d.ts +22 -0
- package/lib/models/digicust/multerfile.model.d.ts +2 -0
- package/package.json +1 -1
- package/lib/models/digicust/documents/document-code-source-context.d.ts +0 -18
- package/lib/models/digicust/documents/document-code-source-context.js +0 -2
@@ -232,6 +232,28 @@ export interface ExecutionStrategy {
|
|
232
232
|
* Example Result with JSON input from above: "PCTA-Stents - Orsiro Mission 2.5/9 PTCA-Stents"
|
233
233
|
*/
|
234
234
|
descriptionFormatStringJsonAta?: string;
|
235
|
+
/**
|
236
|
+
* Custom formattings for the resulting description of line items as a GPT prompt.
|
237
|
+
*
|
238
|
+
* {
|
239
|
+
* "tariffNumber": "1234567890",
|
240
|
+
* "quantity": 1234,
|
241
|
+
* "tariffNumberDescription": "Einrichtungen, Maschinen, Apparate und Geräte zur Kälteerzeugung",
|
242
|
+
* "lineItemDescription": "Orsiro Mission 2.5/9 PTCA-Stents ",
|
243
|
+
* "lineItemDescriptionShort": "Orsiro Mission PTCA-Stents ",
|
244
|
+
* "materialDescription": "PCTA-Stents",
|
245
|
+
* "enrichedDescription": "PCTA-Stents",
|
246
|
+
* "enrichedDescriptionShort": "Stents",
|
247
|
+
* "preferMaterialMasterData": false,
|
248
|
+
* "materialMatched": true,
|
249
|
+
* "useCustomsTariffNumberDescription": true,
|
250
|
+
* "useLineItemDescriptionShortening": true,
|
251
|
+
* "materialMatchedByTariffNumber": true,
|
252
|
+
* "materialMatchedByMaterialNr": false
|
253
|
+
* }
|
254
|
+
*
|
255
|
+
*/
|
256
|
+
descriptionFormatStringGPT?: string;
|
235
257
|
/**
|
236
258
|
* Custom formatting for transforming the (autofixed) customs tariff number into a new tariff number.
|
237
259
|
* Default to empty (no mapping used).
|
package/package.json
CHANGED
@@ -1,18 +0,0 @@
|
|
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
|
-
}
|