digicust_types 1.8.336 → 1.8.337

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.
@@ -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).
@@ -1,3 +1,5 @@
1
+ /// <reference types="node" />
2
+ /// <reference types="node" />
1
3
  /**
2
4
  * Information about an uploaded file. Used by multer package.
3
5
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "digicust_types",
3
- "version": "1.8.336",
3
+ "version": "1.8.337",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -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
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });