@bharatbxhipment/xhipment-models-v2 1.0.12 → 1.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/schemas/ports/ports.interface.d.ts +15 -0
- package/dist/schemas/ports/ports.interface.d.ts.map +1 -0
- package/dist/schemas/ports/ports.interface.js +3 -0
- package/dist/schemas/ports/ports.interface.js.map +1 -0
- package/dist/schemas/ports/ports.model.d.ts +4 -0
- package/dist/schemas/ports/ports.model.d.ts.map +1 -0
- package/dist/schemas/ports/ports.model.js +15 -0
- package/dist/schemas/ports/ports.model.js.map +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3,9 +3,11 @@ export * from "./schemas/billing-entities/billing-entities.model";
|
|
|
3
3
|
export * from "./schemas/countries/countries.model";
|
|
4
4
|
export * from "./schemas/shipment-executions/shipment-execution.model";
|
|
5
5
|
export * from "./schemas/amsIsfFiling/ams-isf-filing.model";
|
|
6
|
+
export * from "./schemas/ports/ports.model";
|
|
6
7
|
export * from "./schemas/container-meta-data/container-meta-data.type";
|
|
7
8
|
export * from "./schemas/countries/countries.interface";
|
|
8
9
|
export * from "./schemas/billing-entities/billing-entities.interface";
|
|
9
10
|
export * from "./schemas/shipment-executions/shipment-execution.interface";
|
|
10
11
|
export * from "./schemas/amsIsfFiling/ams-isf-filing.interface";
|
|
12
|
+
export * from "./schemas/ports/ports.interface";
|
|
11
13
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,yDAAyD,CAAC;AACxE,cAAc,mDAAmD,CAAC;AAClE,cAAc,qCAAqC,CAAC;AACpD,cAAc,wDAAwD,CAAC;AACvE,cAAc,6CAA6C,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,yDAAyD,CAAC;AACxE,cAAc,mDAAmD,CAAC;AAClE,cAAc,qCAAqC,CAAC;AACpD,cAAc,wDAAwD,CAAC;AACvE,cAAc,6CAA6C,CAAC;AAC5D,cAAc,6BAA6B,CAAC;AAE5C,cAAc,wDAAwD,CAAC;AACvE,cAAc,yCAAyC,CAAC;AACxD,cAAc,uDAAuD,CAAC;AACtE,cAAc,4DAA4D,CAAC;AAC3E,cAAc,iDAAiD,CAAC;AAChE,cAAc,iCAAiC,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -20,10 +20,12 @@ __exportStar(require("./schemas/billing-entities/billing-entities.model"), expor
|
|
|
20
20
|
__exportStar(require("./schemas/countries/countries.model"), exports);
|
|
21
21
|
__exportStar(require("./schemas/shipment-executions/shipment-execution.model"), exports);
|
|
22
22
|
__exportStar(require("./schemas/amsIsfFiling/ams-isf-filing.model"), exports);
|
|
23
|
+
__exportStar(require("./schemas/ports/ports.model"), exports);
|
|
23
24
|
// Types
|
|
24
25
|
__exportStar(require("./schemas/container-meta-data/container-meta-data.type"), exports);
|
|
25
26
|
__exportStar(require("./schemas/countries/countries.interface"), exports);
|
|
26
27
|
__exportStar(require("./schemas/billing-entities/billing-entities.interface"), exports);
|
|
27
28
|
__exportStar(require("./schemas/shipment-executions/shipment-execution.interface"), exports);
|
|
28
29
|
__exportStar(require("./schemas/amsIsfFiling/ams-isf-filing.interface"), exports);
|
|
30
|
+
__exportStar(require("./schemas/ports/ports.interface"), exports);
|
|
29
31
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,UAAU;AACV,0FAAwE;AACxE,oFAAkE;AAClE,sEAAoD;AACpD,yFAAuE;AACvE,8EAA4D;AAC5D,QAAQ;AACR,yFAAuE;AACvE,0EAAwD;AACxD,wFAAsE;AACtE,6FAA2E;AAC3E,kFAAgE"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,UAAU;AACV,0FAAwE;AACxE,oFAAkE;AAClE,sEAAoD;AACpD,yFAAuE;AACvE,8EAA4D;AAC5D,8DAA4C;AAC5C,QAAQ;AACR,yFAAuE;AACvE,0EAAwD;AACxD,wFAAsE;AACtE,6FAA2E;AAC3E,kFAAgE;AAChE,kEAAgD"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface IPort {
|
|
2
|
+
_id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
code: string;
|
|
5
|
+
country: string;
|
|
6
|
+
city: string;
|
|
7
|
+
state: string;
|
|
8
|
+
countryCode: string;
|
|
9
|
+
latitude: number;
|
|
10
|
+
longitude: number;
|
|
11
|
+
cbpCode: string;
|
|
12
|
+
port: string;
|
|
13
|
+
portType: 'OCEAN' | 'AIR';
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=ports.interface.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ports.interface.d.ts","sourceRoot":"","sources":["../../../src/schemas/ports/ports.interface.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,KAAK;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,OAAO,GAAG,KAAK,CAAC;CAG7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ports.interface.js","sourceRoot":"","sources":["../../../src/schemas/ports/ports.interface.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Schema } from "mongoose";
|
|
2
|
+
import { IPort } from "./ports.interface";
|
|
3
|
+
export declare const portSchema: Schema<IPort, import("mongoose").Model<IPort, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IPort>;
|
|
4
|
+
//# sourceMappingURL=ports.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ports.model.d.ts","sourceRoot":"","sources":["../../../src/schemas/ports/ports.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,eAAO,MAAM,UAAU,oIASrB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.portSchema = void 0;
|
|
4
|
+
const mongoose_1 = require("mongoose");
|
|
5
|
+
exports.portSchema = new mongoose_1.Schema({
|
|
6
|
+
name: { type: String, required: true },
|
|
7
|
+
code: { type: String, required: true },
|
|
8
|
+
country: { type: String, required: true },
|
|
9
|
+
city: { type: String, required: true },
|
|
10
|
+
state: { type: String, required: true },
|
|
11
|
+
countryCode: { type: String, required: true },
|
|
12
|
+
latitude: { type: Number, required: true },
|
|
13
|
+
longitude: { type: Number, required: true },
|
|
14
|
+
});
|
|
15
|
+
//# sourceMappingURL=ports.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ports.model.js","sourceRoot":"","sources":["../../../src/schemas/ports/ports.model.ts"],"names":[],"mappings":";;;AAAA,uCAAkC;AAGrB,QAAA,UAAU,GAAG,IAAI,iBAAM,CAAQ;IACxC,IAAI,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;IACtC,IAAI,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;IACtC,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;IACzC,IAAI,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;IACtC,KAAK,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;IACvC,WAAW,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;IAC7C,QAAQ,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;IAC1C,SAAS,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;CAC9C,CAAC,CAAC"}
|