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.
- package/lib/models/digicust/case/aggregated-case-data.model.d.ts +11 -1
- package/lib/models/digicust/documents/document-types/customs-service-instructions.model.d.ts +2 -0
- package/lib/models/digicust/execution-strategy/execution-strategy.model.d.ts +22 -0
- package/lib/models/digicust/multerfile.model.d.ts +1 -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 +0 -2
@@ -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
|
*/
|
package/lib/models/digicust/documents/document-types/customs-service-instructions.model.d.ts
CHANGED
@@ -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).
|
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
|
-
}
|