digicust_types 1.8.326 → 1.8.328

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,10 +1,21 @@
1
1
  import { CustomsOffice, CustomsTariffNumber } from "../../customs";
2
- import { DateTimeModel, Money, Weight } from "../../measures";
3
- import { MeanOfTransportation, Package } from "../../transportation";
2
+ import { AddressModel, DateTimeModel, Money, Weight } from "../../measures";
3
+ import { IncotermModel, MeanOfTransportation, Package } from "../../transportation";
4
4
  import { DigicustDocumentModel } from "./digicust-document.model";
5
5
  import { LineItemContainingDocument } from "../line-item-containing-document";
6
+ import { CompanyModel } from "../../company";
7
+ import { Meta } from "../../meta";
8
+ interface LoadingPlanStop {
9
+ stopNumber: number;
10
+ type: "loading" | "unloading";
11
+ /** Full address for the stop */
12
+ location: AddressModel;
13
+ /** Short code reference if applicable */
14
+ locationCode?: Meta<string>;
15
+ notes?: Meta<string>;
16
+ }
6
17
  /**
7
- * Identifies an export/import instructions
18
+ * Identifies a customs service instruction document (Speditionsauftrag).
8
19
  */
9
20
  export interface CustomsServiceInstructions extends DigicustDocumentModel, LineItemContainingDocument {
10
21
  issueDate?: DateTimeModel;
@@ -15,4 +26,35 @@ export interface CustomsServiceInstructions extends DigicustDocumentModel, LineI
15
26
  packages?: Package[];
16
27
  statisticalValue?: Money;
17
28
  generalCustomsTariffNumber?: CustomsTariffNumber;
29
+ /**
30
+ * Structured loading/unloading plan
31
+ * German: Be- und Entladeplan
32
+ * Used when multiple stops with full addresses are needed.
33
+ */
34
+ loadingPlan?: {
35
+ numberOfLoadingStops: number;
36
+ numberOfUnloadingStops: number;
37
+ stops: LoadingPlanStop[];
38
+ };
39
+ /**
40
+ * Transport disclaimer flags
41
+ * German: SLVS-Verzichtskunde
42
+ */
43
+ slvsWaiver?: Meta<boolean>;
44
+ /**
45
+ * NEW: Departure and arrival information
46
+ */
47
+ departureDate?: DateTimeModel;
48
+ arrivalDate?: DateTimeModel;
49
+ originLocation?: Meta<string>;
50
+ forwardingNumber?: Meta<string>;
51
+ shipper?: CompanyModel;
52
+ recipient?: CompanyModel;
53
+ forwarder?: CompanyModel;
54
+ referenceNumber?: Meta<string>;
55
+ customerNumber?: Meta<string>;
56
+ orderNumber?: Meta<string>;
57
+ incoterm?: IncotermModel;
58
+ placeIncoterm?: AddressModel;
18
59
  }
60
+ export {};
@@ -24,6 +24,7 @@ export interface EmailDocument extends DigicustDocumentModel {
24
24
  customsOffice?: CustomsOffice;
25
25
  exportCustomsOffice?: CustomsOffice;
26
26
  entryCustomsOffice?: CustomsOffice;
27
+ destinationCustomsOffice?: CustomsOffice;
27
28
  exitCustomsOffice?: CustomsOffice;
28
29
  freightCosts?: Money;
29
30
  internationalFreightCosts?: Money;
@@ -1,5 +1,3 @@
1
- /// <reference types="node" />
2
- /// <reference types="node" />
3
1
  /**
4
2
  * Information about an uploaded file. Used by multer package.
5
3
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "digicust_types",
3
- "version": "1.8.326",
3
+ "version": "1.8.328",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",