digicust_types 1.8.52 → 1.8.54

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
- import { Procedure, LoadType, Adjustment, Container, WaybillTypeModel, IncotermModel, CostIntersection, TradePreference, CustomsOffice, MeanOfTransportation, TypeOfBusiness, CaseType, LineItemModel, Package, Meta, AddressModel, DateTimeModel, CompanyModel, Currency, WeightUnit, Weight, Money, TransitItemModel, ConstellationOfParticipantsModel, Port, PreliminaryDocument, DeclarationType, PersonModel } from "..";
1
+ import { Procedure, LoadType, Adjustment, Container, WaybillTypeModel, IncotermModel, CostIntersection, TradePreference, CustomsOffice, MeanOfTransportation, TypeOfBusiness, CaseType, LineItemModel, Package, Meta, AddressModel, DateTimeModel, CompanyModel, Currency, WeightUnit, Weight, Money, TransitItemModel, ConstellationOfParticipantsModel, Port, PreliminaryDocument, DeclarationType, PersonModel, Seal } from "..";
2
2
  import { BuyerSellerRelationship } from "../customs/buyerSellerRelationship.model";
3
3
  import { DomesticFreightCosts } from "../customs/domesticFreightCosts.model";
4
4
  /**
@@ -70,6 +70,7 @@ export interface AggregatedCaseDataModel {
70
70
  items?: LineItemModel[];
71
71
  numberOfShipments?: Meta<number>;
72
72
  packages?: Package[];
73
+ seals?: Seal[];
73
74
  sealNumber?: Meta<string>;
74
75
  truckNationality?: Meta<string>;
75
76
  truckLicensePlate?: Meta<string>;
@@ -1,6 +1,6 @@
1
1
  import { DigicustDocumentModel } from "./digicust-document.model";
2
2
  import { PreliminaryDocument } from "..";
3
- import { CustomsOffice, Money, MeanOfTransportation, Meta, Incoterm, Weight, Package, AddressModel, DeclarationType, CompanyModel } from "../..";
3
+ import { CustomsOffice, Money, MeanOfTransportation, Meta, Incoterm, Weight, Package, AddressModel, DeclarationType, CompanyModel, Seal } from "../..";
4
4
  import { DateTimeModel, WeightUnit } from "../../measures";
5
5
  /**
6
6
  * Identifies an Email
@@ -30,4 +30,5 @@ export interface EmailDocument extends DigicustDocumentModel {
30
30
  shipper?: CompanyModel;
31
31
  shippingDate?: DateTimeModel;
32
32
  packages?: Package[];
33
+ seals?: Seal[];
33
34
  }
@@ -1,7 +1,13 @@
1
+ export interface CallerReference {
2
+ application?: string;
3
+ component?: string;
4
+ function?: string;
5
+ }
1
6
  export interface ReadLockModel {
2
7
  id?: string;
3
8
  referenceId?: string;
4
9
  container?: string;
5
10
  locked?: boolean;
6
11
  key?: string;
12
+ callerReference?: CallerReference;
7
13
  }
@@ -5,3 +5,4 @@ export * from "./load-type.enum";
5
5
  export * from "./mean-of-transportation.model";
6
6
  export * from "./package-type.model";
7
7
  export * from "./package.model";
8
+ export * from "./seal.model";
@@ -21,3 +21,4 @@ __exportStar(require("./load-type.enum"), exports);
21
21
  __exportStar(require("./mean-of-transportation.model"), exports);
22
22
  __exportStar(require("./package-type.model"), exports);
23
23
  __exportStar(require("./package.model"), exports);
24
+ __exportStar(require("./seal.model"), exports);
@@ -0,0 +1,5 @@
1
+ import { Meta } from "..";
2
+ export interface Seal extends Meta<string> {
3
+ /** reference */
4
+ value?: string;
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,49 +1,49 @@
1
- {
2
- "name": "digicust_types",
3
- "version": "1.8.52",
4
- "description": "",
5
- "main": "lib/index.js",
6
- "types": "lib/index.d.ts",
7
- "files": [
8
- "lib/**/*"
9
- ],
10
- "scripts": {
11
- "build-with-runtime-interfaces": "tsc && `npm bin`/run-for-every-file --src ./lib/ --file '**/*.d.ts' --run \"`npm bin`/ts-interface-builder -i -g -c {{src-file}}\"",
12
- "build": "tsc",
13
- "build-deploy": "git pull && npm version patch && npm run build && npm publish",
14
- "deploy-docs": "npm i && npx typedoc src/index.ts",
15
- "lint.fix": "eslint --fix --ext .ts .",
16
- "prettier.fix": "prettier --write .",
17
- "prepare": "husky install",
18
- "lint-staged": "lint-staged"
19
- },
20
- "repository": {
21
- "type": "git",
22
- "url": "git+https://github.com/Digicust0406/types.git"
23
- },
24
- "keywords": [],
25
- "author": "Thomas Übellacker",
26
- "license": "Proprietary",
27
- "bugs": {
28
- "url": "https://github.com/Digicust0406/types/issues"
29
- },
30
- "homepage": "https://github.com/Digicust0406/types#readme",
31
- "dependencies": {
32
- "typedoc": "^0.25.4"
33
- },
34
- "devDependencies": {
35
- "@types/node": "^20.10.2",
36
- "@typescript-eslint/eslint-plugin": "^6.13.1",
37
- "@typescript-eslint/parser": "^6.13.1",
38
- "eslint": "^8.55.0",
39
- "eslint-config-airbnb-typescript": "^17.1.0",
40
- "eslint-config-prettier": "^9.1.0",
41
- "eslint-plugin-import": "^2.29.0",
42
- "eslint-plugin-node": "^11.1.0",
43
- "eslint-plugin-prettier": "^5.0.1",
44
- "husky": "^8.0.3",
45
- "lint-staged": "^15.1.0",
46
- "prettier": "^3.1.0",
47
- "typescript": "^5.3.2"
48
- }
49
- }
1
+ {
2
+ "name": "digicust_types",
3
+ "version": "1.8.54",
4
+ "description": "",
5
+ "main": "lib/index.js",
6
+ "types": "lib/index.d.ts",
7
+ "files": [
8
+ "lib/**/*"
9
+ ],
10
+ "scripts": {
11
+ "build-with-runtime-interfaces": "tsc && `npm bin`/run-for-every-file --src ./lib/ --file '**/*.d.ts' --run \"`npm bin`/ts-interface-builder -i -g -c {{src-file}}\"",
12
+ "build": "tsc",
13
+ "build-deploy": "git pull && npm version patch && npm run build && npm publish",
14
+ "deploy-docs": "npm i && npx typedoc src/index.ts",
15
+ "lint.fix": "eslint --fix --ext .ts .",
16
+ "prettier.fix": "prettier --write .",
17
+ "prepare": "husky install",
18
+ "lint-staged": "lint-staged"
19
+ },
20
+ "repository": {
21
+ "type": "git",
22
+ "url": "git+https://github.com/Digicust0406/types.git"
23
+ },
24
+ "keywords": [],
25
+ "author": "Thomas Übellacker",
26
+ "license": "Proprietary",
27
+ "bugs": {
28
+ "url": "https://github.com/Digicust0406/types/issues"
29
+ },
30
+ "homepage": "https://github.com/Digicust0406/types#readme",
31
+ "dependencies": {
32
+ "typedoc": "^0.25.4"
33
+ },
34
+ "devDependencies": {
35
+ "@types/node": "^20.10.2",
36
+ "@typescript-eslint/eslint-plugin": "^6.13.1",
37
+ "@typescript-eslint/parser": "^6.13.1",
38
+ "eslint": "^8.55.0",
39
+ "eslint-config-airbnb-typescript": "^17.1.0",
40
+ "eslint-config-prettier": "^9.1.0",
41
+ "eslint-plugin-import": "^2.29.0",
42
+ "eslint-plugin-node": "^11.1.0",
43
+ "eslint-plugin-prettier": "^5.0.1",
44
+ "husky": "^8.0.3",
45
+ "lint-staged": "^15.1.0",
46
+ "prettier": "^3.1.0",
47
+ "typescript": "^5.3.2"
48
+ }
49
+ }