@bharatbxhipment/xhipment-models-v2 1.0.38 → 1.0.39
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/cogs-gm/cogs-gm.interface.d.ts +13 -0
- package/dist/schemas/cogs-gm/cogs-gm.interface.d.ts.map +1 -0
- package/dist/schemas/cogs-gm/cogs-gm.interface.js +3 -0
- package/dist/schemas/cogs-gm/cogs-gm.interface.js.map +1 -0
- package/dist/schemas/cogs-gm/cogs-gm.model.d.ts +4 -0
- package/dist/schemas/cogs-gm/cogs-gm.model.d.ts.map +1 -0
- package/dist/schemas/cogs-gm/cogs-gm.model.js +17 -0
- package/dist/schemas/cogs-gm/cogs-gm.model.js.map +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export * from "./schemas/ports/ports.model";
|
|
|
7
7
|
export * from "./schemas/amsIsfFiling/ams-isf-filing.timeline.model";
|
|
8
8
|
export * from "./schemas/call-center/call-center.model";
|
|
9
9
|
export * from "./schemas/comms-hub/comms-hub.model";
|
|
10
|
+
export * from "./schemas/cogs-gm/cogs-gm.model";
|
|
10
11
|
export * from "./schemas/container-meta-data/container-meta-data.type";
|
|
11
12
|
export * from "./schemas/countries/countries.interface";
|
|
12
13
|
export * from "./schemas/billing-entities/billing-entities.interface";
|
|
@@ -16,4 +17,5 @@ export * from "./schemas/ports/ports.interface";
|
|
|
16
17
|
export * from "./schemas/amsIsfFiling/ams-isf-filing.timeline.interface";
|
|
17
18
|
export * from "./schemas/call-center/call-center.interface";
|
|
18
19
|
export * from "./schemas/comms-hub/comms-hub.interface";
|
|
20
|
+
export * from "./schemas/cogs-gm/cogs-gm.interface";
|
|
19
21
|
//# 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;AAC5D,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sDAAsD,CAAC;AACrE,cAAc,yCAAyC,CAAC;AACxD,cAAc,qCAAqC,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;AAC5C,cAAc,sDAAsD,CAAC;AACrE,cAAc,yCAAyC,CAAC;AACxD,cAAc,qCAAqC,CAAC;AACpD,cAAc,iCAAiC,CAAC;AAEhD,cAAc,wDAAwD,CAAC;AACvE,cAAc,yCAAyC,CAAC;AACxD,cAAc,uDAAuD,CAAC;AACtE,cAAc,4DAA4D,CAAC;AAC3E,cAAc,iDAAiD,CAAC;AAChE,cAAc,iCAAiC,CAAC;AAChD,cAAc,0DAA0D,CAAC;AACzE,cAAc,6CAA6C,CAAC;AAC5D,cAAc,yCAAyC,CAAC;AACxD,cAAc,qCAAqC,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -24,6 +24,7 @@ __exportStar(require("./schemas/ports/ports.model"), exports);
|
|
|
24
24
|
__exportStar(require("./schemas/amsIsfFiling/ams-isf-filing.timeline.model"), exports);
|
|
25
25
|
__exportStar(require("./schemas/call-center/call-center.model"), exports);
|
|
26
26
|
__exportStar(require("./schemas/comms-hub/comms-hub.model"), exports);
|
|
27
|
+
__exportStar(require("./schemas/cogs-gm/cogs-gm.model"), exports);
|
|
27
28
|
// Types
|
|
28
29
|
__exportStar(require("./schemas/container-meta-data/container-meta-data.type"), exports);
|
|
29
30
|
__exportStar(require("./schemas/countries/countries.interface"), exports);
|
|
@@ -34,4 +35,5 @@ __exportStar(require("./schemas/ports/ports.interface"), exports);
|
|
|
34
35
|
__exportStar(require("./schemas/amsIsfFiling/ams-isf-filing.timeline.interface"), exports);
|
|
35
36
|
__exportStar(require("./schemas/call-center/call-center.interface"), exports);
|
|
36
37
|
__exportStar(require("./schemas/comms-hub/comms-hub.interface"), exports);
|
|
38
|
+
__exportStar(require("./schemas/cogs-gm/cogs-gm.interface"), exports);
|
|
37
39
|
//# 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,8DAA4C;AAC5C,uFAAqE;AACrE,0EAAwD;AACxD,sEAAoD;AACpD,QAAQ;AACR,yFAAuE;AACvE,0EAAwD;AACxD,wFAAsE;AACtE,6FAA2E;AAC3E,kFAAgE;AAChE,kEAAgD;AAChD,2FAAyE;AACzE,8EAA4D;AAC5D,0EAAwD"}
|
|
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,uFAAqE;AACrE,0EAAwD;AACxD,sEAAoD;AACpD,kEAAgD;AAChD,QAAQ;AACR,yFAAuE;AACvE,0EAAwD;AACxD,wFAAsE;AACtE,6FAA2E;AAC3E,kFAAgE;AAChE,kEAAgD;AAChD,2FAAyE;AACzE,8EAA4D;AAC5D,0EAAwD;AACxD,sEAAoD"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Types } from "mongoose";
|
|
2
|
+
export interface ICogsGM {
|
|
3
|
+
quoteIdentity: string;
|
|
4
|
+
totalCogs: number;
|
|
5
|
+
gm?: number;
|
|
6
|
+
originCogs: number;
|
|
7
|
+
portToPortCogs: number;
|
|
8
|
+
destinationCogs: number;
|
|
9
|
+
createdAt?: Date;
|
|
10
|
+
updatedAt?: Date;
|
|
11
|
+
_id?: Types.ObjectId;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=cogs-gm.interface.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cogs-gm.interface.d.ts","sourceRoot":"","sources":["../../../src/schemas/cogs-gm/cogs-gm.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,MAAM,WAAW,OAAO;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,GAAG,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC;CACxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cogs-gm.interface.js","sourceRoot":"","sources":["../../../src/schemas/cogs-gm/cogs-gm.interface.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Schema } from "mongoose";
|
|
2
|
+
import { ICogsGM } from "./cogs-gm.interface";
|
|
3
|
+
export declare const cogsGMSchema: Schema<ICogsGM, import("mongoose").Model<ICogsGM, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, ICogsGM>;
|
|
4
|
+
//# sourceMappingURL=cogs-gm.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cogs-gm.model.d.ts","sourceRoot":"","sources":["../../../src/schemas/cogs-gm/cogs-gm.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,eAAO,MAAM,YAAY,0IASvB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.cogsGMSchema = void 0;
|
|
4
|
+
const mongoose_1 = require("mongoose");
|
|
5
|
+
exports.cogsGMSchema = new mongoose_1.Schema({
|
|
6
|
+
quoteIdentity: { type: String, required: true },
|
|
7
|
+
totalCogs: { type: Number, required: true },
|
|
8
|
+
originCogs: { type: Number, required: true },
|
|
9
|
+
portToPortCogs: { type: Number, required: true },
|
|
10
|
+
destinationCogs: { type: Number, required: true },
|
|
11
|
+
gm: { type: Number },
|
|
12
|
+
}, {
|
|
13
|
+
timestamps: true,
|
|
14
|
+
});
|
|
15
|
+
exports.cogsGMSchema.index({ quoteIdentity: 1 }, { unique: true });
|
|
16
|
+
exports.cogsGMSchema.index({ totalCogs: 1, originCogs: 1, portToPortCogs: 1, destinationCogs: 1 });
|
|
17
|
+
//# sourceMappingURL=cogs-gm.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cogs-gm.model.js","sourceRoot":"","sources":["../../../src/schemas/cogs-gm/cogs-gm.model.ts"],"names":[],"mappings":";;;AAAA,uCAAkC;AAGrB,QAAA,YAAY,GAAG,IAAI,iBAAM,CAAU;IAC5C,aAAa,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;IAC/C,SAAS,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;IAC3C,UAAU,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;IAC5C,cAAc,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;IAChD,eAAe,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;IACjD,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;CACvB,EAAE;IACC,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAEH,oBAAY,CAAC,KAAK,CAAC,EAAE,aAAa,EAAE,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;AAC3D,oBAAY,CAAC,KAAK,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,cAAc,EAAE,CAAC,EAAE,eAAe,EAAE,CAAC,EAAE,CAAC,CAAC"}
|