digicust_types 1.8.335 → 1.8.337

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,6 +11,10 @@ export interface AggregatedCaseDataModel {
11
11
  summary?: Meta<string>;
12
12
  /** commercial reference number, usually assigned by the trader */
13
13
  referenceNumber?: Meta<string>;
14
+ /** German: Speditionsauftrag number */
15
+ forwardingNumber?: Meta<string>;
16
+ /** Shipment tracking number (German: Sendungs-Ladungs-Bezugsnummer) */
17
+ shipmentTrackingNumber?: Meta<string>;
14
18
  responsiblePerson?: PersonModel;
15
19
  mrnNumber?: Meta<string>;
16
20
  /** Load Type, e.g. full container load */
@@ -115,13 +119,19 @@ export interface AggregatedCaseDataModel {
115
119
  referenceNumberUCR?: Meta<string>;
116
120
  registrationNumberExternal?: Meta<string>;
117
121
  GRN?: Meta<string>;
118
- GRNAccessCode?: Meta<string>;
119
122
  LRN?: Meta<string>;
120
123
  contact?: {
121
124
  contactPerson?: PersonModel;
122
125
  phoneNr?: Meta<string>;
123
126
  email?: Meta<string>;
124
127
  };
128
+ /**
129
+ * Location codes specifying the exact receiving/unloading points at the destination
130
+ */
131
+ destinationDocks?: {
132
+ deliveryCode?: Meta<string>;
133
+ unloadingCode?: Meta<string>;
134
+ };
125
135
  /**
126
136
  * Contains (experimental) aggregated descriptions by tariff number and country of origin code
127
137
  */
@@ -55,6 +55,8 @@ export interface CustomsServiceInstructions extends DigicustDocumentModel, LineI
55
55
  departureDate?: DateTimeModel;
56
56
  arrivalDate?: DateTimeModel;
57
57
  forwardingNumber?: Meta<string>;
58
+ /** Shipment tracking number (German: Sendungs-Ladungs-Bezugsnummer) */
59
+ shipmentTrackingNumber?: Meta<string>;
58
60
  shipper?: CompanyModel;
59
61
  consignee?: CompanyModel;
60
62
  carrier?: CompanyModel;
@@ -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,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="node" />
2
3
  /**
3
4
  * Information about an uploaded file. Used by multer package.
4
5
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "digicust_types",
3
- "version": "1.8.335",
3
+ "version": "1.8.337",
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
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });