digicust_types 1.8.334 → 1.8.336

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
  */
@@ -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
+ }
@@ -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;
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  /**
3
2
  * Information about an uploaded file. Used by multer package.
4
3
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "digicust_types",
3
- "version": "1.8.334",
3
+ "version": "1.8.336",
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
- }