@bharatbxhipment/xhipment-models-v2 1.0.82 → 1.0.84
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/schemas/consol-execution-history/consol-execution-history.model.d.ts +2 -4
- package/dist/schemas/consol-execution-history/consol-execution-history.model.d.ts.map +1 -1
- package/dist/schemas/consol-execution-history/consol-execution-history.model.js +15 -22
- package/dist/schemas/consol-execution-history/consol-execution-history.model.js.map +1 -1
- package/dist/schemas/consol-executions/consol-execution.model.d.ts +2 -4
- package/dist/schemas/consol-executions/consol-execution.model.d.ts.map +1 -1
- package/dist/schemas/consol-executions/consol-execution.model.js +15 -22
- package/dist/schemas/consol-executions/consol-execution.model.js.map +1 -1
- package/dist/schemas/payment-history/payment-history.model.d.ts +2 -4
- package/dist/schemas/payment-history/payment-history.model.d.ts.map +1 -1
- package/dist/schemas/payment-history/payment-history.model.js +14 -18
- package/dist/schemas/payment-history/payment-history.model.js.map +1 -1
- package/dist/schemas/payments/payment.model.d.ts +3 -5
- package/dist/schemas/payments/payment.model.d.ts.map +1 -1
- package/dist/schemas/payments/payment.model.js +5 -9
- package/dist/schemas/payments/payment.model.js.map +1 -1
- package/dist/schemas/proposal-history/proposal-history.model.d.ts +2 -4
- package/dist/schemas/proposal-history/proposal-history.model.d.ts.map +1 -1
- package/dist/schemas/proposal-history/proposal-history.model.js +40 -48
- package/dist/schemas/proposal-history/proposal-history.model.js.map +1 -1
- package/dist/schemas/proposals/proposal.model.d.ts +0 -2
- package/dist/schemas/proposals/proposal.model.d.ts.map +1 -1
- package/dist/schemas/proposals/proposal.model.js +60 -68
- package/dist/schemas/proposals/proposal.model.js.map +1 -1
- package/dist/schemas/quotes/quote-history.model.d.ts +2 -4
- package/dist/schemas/quotes/quote-history.model.d.ts.map +1 -1
- package/dist/schemas/quotes/quote-history.model.js +88 -96
- package/dist/schemas/quotes/quote-history.model.js.map +1 -1
- package/dist/schemas/quotes/quote.model.d.ts +2 -4
- package/dist/schemas/quotes/quote.model.d.ts.map +1 -1
- package/dist/schemas/quotes/quote.model.js +113 -121
- package/dist/schemas/quotes/quote.model.js.map +1 -1
- package/dist/schemas/shipment-execution-history/shipment-execution-history.model.d.ts +2 -4
- package/dist/schemas/shipment-execution-history/shipment-execution-history.model.d.ts.map +1 -1
- package/dist/schemas/shipment-execution-history/shipment-execution-history.model.js +90 -97
- package/dist/schemas/shipment-execution-history/shipment-execution-history.model.js.map +1 -1
- package/dist/schemas/shipment-executions/shipment-execution.model.d.ts.map +1 -1
- package/dist/schemas/shipment-executions/shipment-execution.model.js +78 -74
- package/dist/schemas/shipment-executions/shipment-execution.model.js.map +1 -1
- package/dist/schemas/tracking/tracking.model.d.ts +2 -3
- package/dist/schemas/tracking/tracking.model.d.ts.map +1 -1
- package/dist/schemas/tracking/tracking.model.js +10 -14
- package/dist/schemas/tracking/tracking.model.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Schema
|
|
1
|
+
import { Schema } from 'mongoose';
|
|
2
2
|
import { IConsolExecutionHistoryRecord } from './consol-execution-history.interface';
|
|
3
|
-
export declare const consolExecutionHistoryBaseSchema: Schema<IConsolExecutionHistoryRecord, Model<IConsolExecutionHistoryRecord, any, any, any, import("mongoose").Document<unknown, any, IConsolExecutionHistoryRecord, any, {}> & IConsolExecutionHistoryRecord & Required<{
|
|
3
|
+
export declare const consolExecutionHistoryBaseSchema: Schema<IConsolExecutionHistoryRecord, import("mongoose").Model<IConsolExecutionHistoryRecord, any, any, any, import("mongoose").Document<unknown, any, IConsolExecutionHistoryRecord, any, {}> & IConsolExecutionHistoryRecord & Required<{
|
|
4
4
|
_id: import("mongoose").Types.ObjectId;
|
|
5
5
|
}> & {
|
|
6
6
|
__v: number;
|
|
@@ -9,6 +9,4 @@ export declare const consolExecutionHistoryBaseSchema: Schema<IConsolExecutionHi
|
|
|
9
9
|
}> & {
|
|
10
10
|
__v: number;
|
|
11
11
|
}>;
|
|
12
|
-
export declare const CONSOL_EXECUTION_HISTORY_DISCRIMINATOR_SCHEMAS: Record<string, Schema>;
|
|
13
|
-
export declare const initiateConsolExecutionHistoryDiscriminators: (model: Model<IConsolExecutionHistoryRecord>) => void;
|
|
14
12
|
//# sourceMappingURL=consol-execution-history.model.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consol-execution-history.model.d.ts","sourceRoot":"","sources":["../../../src/schemas/consol-execution-history/consol-execution-history.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"consol-execution-history.model.d.ts","sourceRoot":"","sources":["../../../src/schemas/consol-execution-history/consol-execution-history.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,6BAA6B,EAAE,MAAM,sCAAsC,CAAC;AAIrF,eAAO,MAAM,gCAAgC;;;;;;;;EAO3C,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.consolExecutionHistoryBaseSchema = void 0;
|
|
4
4
|
const mongoose_1 = require("mongoose");
|
|
5
|
+
const flexLegSchema = new mongoose_1.Schema({}, { _id: false, strict: false });
|
|
5
6
|
exports.consolExecutionHistoryBaseSchema = new mongoose_1.Schema({
|
|
6
7
|
consolExecutionId: { type: mongoose_1.Schema.Types.ObjectId, ref: 'ConsolExecution', required: true },
|
|
7
8
|
modifiedBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User' },
|
|
@@ -10,25 +11,17 @@ exports.consolExecutionHistoryBaseSchema = new mongoose_1.Schema({
|
|
|
10
11
|
timestamps: true,
|
|
11
12
|
discriminatorKey: 'kind',
|
|
12
13
|
});
|
|
13
|
-
exports.
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}),
|
|
27
|
-
};
|
|
28
|
-
const initiateConsolExecutionHistoryDiscriminators = (model) => {
|
|
29
|
-
for (const [key, schema] of Object.entries(exports.CONSOL_EXECUTION_HISTORY_DISCRIMINATOR_SCHEMAS)) {
|
|
30
|
-
model.discriminator(key, schema);
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
exports.initiateConsolExecutionHistoryDiscriminators = initiateConsolExecutionHistoryDiscriminators;
|
|
14
|
+
exports.consolExecutionHistoryBaseSchema.discriminator('port_to_port_air_consol-execution-history', new mongoose_1.Schema({
|
|
15
|
+
portToPortHandling: flexLegSchema,
|
|
16
|
+
destinationWareHouseHandling: flexLegSchema,
|
|
17
|
+
}));
|
|
18
|
+
exports.consolExecutionHistoryBaseSchema.discriminator('trucking_consol-execution-history', new mongoose_1.Schema({
|
|
19
|
+
lastMileDelivery: flexLegSchema,
|
|
20
|
+
}));
|
|
21
|
+
exports.consolExecutionHistoryBaseSchema.discriminator('port_to_port_lcl_consol-execution-history', new mongoose_1.Schema({
|
|
22
|
+
containerStuffing: flexLegSchema,
|
|
23
|
+
sailout: flexLegSchema,
|
|
24
|
+
deliverContainerToDeconsolidationWarehouse: flexLegSchema,
|
|
25
|
+
deliverContainerToDestination: flexLegSchema,
|
|
26
|
+
}));
|
|
34
27
|
//# sourceMappingURL=consol-execution-history.model.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consol-execution-history.model.js","sourceRoot":"","sources":["../../../src/schemas/consol-execution-history/consol-execution-history.model.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"consol-execution-history.model.js","sourceRoot":"","sources":["../../../src/schemas/consol-execution-history/consol-execution-history.model.ts"],"names":[],"mappings":";;;AAAA,uCAAkC;AAGlC,MAAM,aAAa,GAAG,IAAI,iBAAM,CAAC,EAAE,EAAE,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;AAEvD,QAAA,gCAAgC,GAAG,IAAI,iBAAM,CAAgC;IACxF,iBAAiB,EAAE,EAAE,IAAI,EAAE,iBAAM,CAAC,KAAK,CAAC,QAAQ,EAAE,GAAG,EAAE,iBAAiB,EAAE,QAAQ,EAAE,IAAI,EAAE;IAC1F,UAAU,EAAE,EAAE,IAAI,EAAE,iBAAM,CAAC,KAAK,CAAC,QAAQ,EAAE,GAAG,EAAE,MAAM,EAAE;IACxD,QAAQ,EAAE,EAAE,IAAI,EAAE,iBAAM,CAAC,KAAK,CAAC,QAAQ,EAAE,GAAG,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE;CAC1E,EAAE;IACD,UAAU,EAAE,IAAI;IAChB,gBAAgB,EAAE,MAAM;CACzB,CAAC,CAAC;AAEH,wCAAgC,CAAC,aAAa,CAAC,2CAA2C,EAAE,IAAI,iBAAM,CAAC;IACrG,kBAAkB,EAAE,aAAa;IACjC,4BAA4B,EAAE,aAAa;CAC5C,CAAC,CAAC,CAAC;AAEJ,wCAAgC,CAAC,aAAa,CAAC,mCAAmC,EAAE,IAAI,iBAAM,CAAC;IAC7F,gBAAgB,EAAE,aAAa;CAChC,CAAC,CAAC,CAAC;AAEJ,wCAAgC,CAAC,aAAa,CAAC,2CAA2C,EAAE,IAAI,iBAAM,CAAC;IACrG,iBAAiB,EAAE,aAAa;IAChC,OAAO,EAAE,aAAa;IACtB,0CAA0C,EAAE,aAAa;IACzD,6BAA6B,EAAE,aAAa;CAC7C,CAAC,CAAC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Schema
|
|
1
|
+
import { Schema } from 'mongoose';
|
|
2
2
|
import { IConsolExecutionRecord } from './consol-execution.interface';
|
|
3
|
-
export declare const consolExecutionBaseSchema: Schema<IConsolExecutionRecord, Model<IConsolExecutionRecord, any, any, any, import("mongoose").Document<unknown, any, IConsolExecutionRecord, any, {}> & IConsolExecutionRecord & Required<{
|
|
3
|
+
export declare const consolExecutionBaseSchema: Schema<IConsolExecutionRecord, import("mongoose").Model<IConsolExecutionRecord, any, any, any, import("mongoose").Document<unknown, any, IConsolExecutionRecord, any, {}> & IConsolExecutionRecord & Required<{
|
|
4
4
|
_id: import("mongoose").Types.ObjectId;
|
|
5
5
|
}> & {
|
|
6
6
|
__v: number;
|
|
@@ -9,6 +9,4 @@ export declare const consolExecutionBaseSchema: Schema<IConsolExecutionRecord, M
|
|
|
9
9
|
}> & {
|
|
10
10
|
__v: number;
|
|
11
11
|
}>;
|
|
12
|
-
export declare const CONSOL_EXECUTION_DISCRIMINATOR_SCHEMAS: Record<string, Schema>;
|
|
13
|
-
export declare const initiateConsolExecutionDiscriminators: (model: Model<IConsolExecutionRecord>) => void;
|
|
14
12
|
//# sourceMappingURL=consol-execution.model.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consol-execution.model.d.ts","sourceRoot":"","sources":["../../../src/schemas/consol-executions/consol-execution.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"consol-execution.model.d.ts","sourceRoot":"","sources":["../../../src/schemas/consol-executions/consol-execution.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAItE,eAAO,MAAM,yBAAyB;;;;;;;;EAKpC,CAAC"}
|
|
@@ -1,32 +1,25 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.consolExecutionBaseSchema = void 0;
|
|
4
4
|
const mongoose_1 = require("mongoose");
|
|
5
|
+
const flexLegSchema = new mongoose_1.Schema({}, { _id: false, strict: false });
|
|
5
6
|
exports.consolExecutionBaseSchema = new mongoose_1.Schema({
|
|
6
7
|
consolId: { type: mongoose_1.Schema.Types.ObjectId, ref: 'Consols', required: true },
|
|
7
8
|
}, {
|
|
8
9
|
timestamps: true,
|
|
9
10
|
discriminatorKey: 'kind',
|
|
10
11
|
});
|
|
11
|
-
exports.
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}),
|
|
25
|
-
};
|
|
26
|
-
const initiateConsolExecutionDiscriminators = (model) => {
|
|
27
|
-
for (const [key, schema] of Object.entries(exports.CONSOL_EXECUTION_DISCRIMINATOR_SCHEMAS)) {
|
|
28
|
-
model.discriminator(key, schema);
|
|
29
|
-
}
|
|
30
|
-
};
|
|
31
|
-
exports.initiateConsolExecutionDiscriminators = initiateConsolExecutionDiscriminators;
|
|
12
|
+
exports.consolExecutionBaseSchema.discriminator('port_to_port_air_consol-execution', new mongoose_1.Schema({
|
|
13
|
+
portToPortHandling: flexLegSchema,
|
|
14
|
+
destinationWareHouseHandling: flexLegSchema,
|
|
15
|
+
}));
|
|
16
|
+
exports.consolExecutionBaseSchema.discriminator('trucking_consol-execution', new mongoose_1.Schema({
|
|
17
|
+
lastMileDelivery: flexLegSchema,
|
|
18
|
+
}));
|
|
19
|
+
exports.consolExecutionBaseSchema.discriminator('port_to_port_lcl_consol-execution', new mongoose_1.Schema({
|
|
20
|
+
containerStuffing: flexLegSchema,
|
|
21
|
+
sailout: flexLegSchema,
|
|
22
|
+
deliverContainerToDeconsolidationWarehouse: flexLegSchema,
|
|
23
|
+
deliverContainerToDestination: flexLegSchema,
|
|
24
|
+
}));
|
|
32
25
|
//# sourceMappingURL=consol-execution.model.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consol-execution.model.js","sourceRoot":"","sources":["../../../src/schemas/consol-executions/consol-execution.model.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"consol-execution.model.js","sourceRoot":"","sources":["../../../src/schemas/consol-executions/consol-execution.model.ts"],"names":[],"mappings":";;;AAAA,uCAAkC;AAGlC,MAAM,aAAa,GAAG,IAAI,iBAAM,CAAC,EAAE,EAAE,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;AAEvD,QAAA,yBAAyB,GAAG,IAAI,iBAAM,CAAyB;IAC1E,QAAQ,EAAE,EAAE,IAAI,EAAE,iBAAM,CAAC,KAAK,CAAC,QAAQ,EAAE,GAAG,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE;CAC1E,EAAE;IACD,UAAU,EAAE,IAAI;IAChB,gBAAgB,EAAE,MAAM;CACzB,CAAC,CAAC;AAEH,iCAAyB,CAAC,aAAa,CAAC,mCAAmC,EAAE,IAAI,iBAAM,CAAC;IACtF,kBAAkB,EAAE,aAAa;IACjC,4BAA4B,EAAE,aAAa;CAC5C,CAAC,CAAC,CAAC;AAEJ,iCAAyB,CAAC,aAAa,CAAC,2BAA2B,EAAE,IAAI,iBAAM,CAAC;IAC9E,gBAAgB,EAAE,aAAa;CAChC,CAAC,CAAC,CAAC;AAEJ,iCAAyB,CAAC,aAAa,CAAC,mCAAmC,EAAE,IAAI,iBAAM,CAAC;IACtF,iBAAiB,EAAE,aAAa;IAChC,OAAO,EAAE,aAAa;IACtB,0CAA0C,EAAE,aAAa;IACzD,6BAA6B,EAAE,aAAa;CAC7C,CAAC,CAAC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Schema
|
|
1
|
+
import { Schema } from 'mongoose';
|
|
2
2
|
import { IPaymentHistoryRecord } from './payment-history.interface';
|
|
3
|
-
export declare const paymentHistoryBaseSchema: Schema<IPaymentHistoryRecord, Model<IPaymentHistoryRecord, any, any, any, import("mongoose").Document<unknown, any, IPaymentHistoryRecord, any, {}> & IPaymentHistoryRecord & Required<{
|
|
3
|
+
export declare const paymentHistoryBaseSchema: Schema<IPaymentHistoryRecord, import("mongoose").Model<IPaymentHistoryRecord, any, any, any, import("mongoose").Document<unknown, any, IPaymentHistoryRecord, any, {}> & IPaymentHistoryRecord & Required<{
|
|
4
4
|
_id: import("mongoose").Types.ObjectId;
|
|
5
5
|
}> & {
|
|
6
6
|
__v: number;
|
|
@@ -9,6 +9,4 @@ export declare const paymentHistoryBaseSchema: Schema<IPaymentHistoryRecord, Mod
|
|
|
9
9
|
}> & {
|
|
10
10
|
__v: number;
|
|
11
11
|
}>;
|
|
12
|
-
export declare const PAYMENT_HISTORY_DISCRIMINATOR_SCHEMAS: Record<string, Schema>;
|
|
13
|
-
export declare const initiatePaymentHistoryDiscriminators: (model: Model<IPaymentHistoryRecord>) => void;
|
|
14
12
|
//# sourceMappingURL=payment-history.model.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payment-history.model.d.ts","sourceRoot":"","sources":["../../../src/schemas/payment-history/payment-history.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"payment-history.model.d.ts","sourceRoot":"","sources":["../../../src/schemas/payment-history/payment-history.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAEpE,eAAO,MAAM,wBAAwB;;;;;;;;EAcnC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.paymentHistoryBaseSchema = void 0;
|
|
4
4
|
const mongoose_1 = require("mongoose");
|
|
5
5
|
exports.paymentHistoryBaseSchema = new mongoose_1.Schema({
|
|
6
6
|
bookingId: { type: mongoose_1.Schema.Types.ObjectId, ref: 'Bookings', required: true },
|
|
@@ -22,21 +22,17 @@ const paymentHistoryDiscriminatorSchema = new mongoose_1.Schema({
|
|
|
22
22
|
billingEntityConfirmed: { type: Boolean },
|
|
23
23
|
customDuty: { type: mongoose_1.Schema.Types.Mixed },
|
|
24
24
|
});
|
|
25
|
-
|
|
26
|
-
'air_freight-payment-history'
|
|
27
|
-
'lcl-payment-history'
|
|
28
|
-
'fcl-payment-history'
|
|
29
|
-
'dd-payment-history'
|
|
30
|
-
'dd-transloading-payment-history'
|
|
31
|
-
'bonds-payment-history'
|
|
32
|
-
'fcl-transloading-payment-history'
|
|
33
|
-
'trucking-payment-history'
|
|
34
|
-
'lcl-transloading-payment-history'
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
model.discriminator(key, schema);
|
|
39
|
-
}
|
|
40
|
-
};
|
|
41
|
-
exports.initiatePaymentHistoryDiscriminators = initiatePaymentHistoryDiscriminators;
|
|
25
|
+
for (const key of [
|
|
26
|
+
'air_freight-payment-history',
|
|
27
|
+
'lcl-payment-history',
|
|
28
|
+
'fcl-payment-history',
|
|
29
|
+
'dd-payment-history',
|
|
30
|
+
'dd-transloading-payment-history',
|
|
31
|
+
'bonds-payment-history',
|
|
32
|
+
'fcl-transloading-payment-history',
|
|
33
|
+
'trucking-payment-history',
|
|
34
|
+
'lcl-transloading-payment-history',
|
|
35
|
+
]) {
|
|
36
|
+
exports.paymentHistoryBaseSchema.discriminator(key, paymentHistoryDiscriminatorSchema);
|
|
37
|
+
}
|
|
42
38
|
//# sourceMappingURL=payment-history.model.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payment-history.model.js","sourceRoot":"","sources":["../../../src/schemas/payment-history/payment-history.model.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"payment-history.model.js","sourceRoot":"","sources":["../../../src/schemas/payment-history/payment-history.model.ts"],"names":[],"mappings":";;;AAAA,uCAAkC;AAGrB,QAAA,wBAAwB,GAAG,IAAI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KAAK,CAAC,KAAK,EAAE;CACzC,CAAC,CAAC;AAEH,KAAK,MAAM,GAAG,IAAI;IAChB,6BAA6B;IAC7B,qBAAqB;IACrB,qBAAqB;IACrB,oBAAoB;IACpB,iCAAiC;IACjC,uBAAuB;IACvB,kCAAkC;IAClC,0BAA0B;IAC1B,kCAAkC;CACnC,EAAE,CAAC;IACF,gCAAwB,CAAC,aAAa,CAAC,GAAG,EAAE,iCAAiC,CAAC,CAAC;AACjF,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Schema
|
|
1
|
+
import { Schema } from 'mongoose';
|
|
2
2
|
import { IPaymentStatus } from './payment.interface';
|
|
3
|
-
export declare const paymentStatusSchema: Schema<IPaymentStatus, Model<IPaymentStatus, any, any, any, import("mongoose").Document<unknown, any, IPaymentStatus, any, {}> & IPaymentStatus & Required<{
|
|
3
|
+
export declare const paymentStatusSchema: Schema<IPaymentStatus, import("mongoose").Model<IPaymentStatus, any, any, any, import("mongoose").Document<unknown, any, IPaymentStatus, any, {}> & IPaymentStatus & Required<{
|
|
4
4
|
_id: import("mongoose").Types.ObjectId;
|
|
5
5
|
}> & {
|
|
6
6
|
__v: number;
|
|
@@ -9,7 +9,7 @@ export declare const paymentStatusSchema: Schema<IPaymentStatus, Model<IPaymentS
|
|
|
9
9
|
}> & {
|
|
10
10
|
__v: number;
|
|
11
11
|
}>;
|
|
12
|
-
export declare const paymentDiscriminatorSchema: Schema<any, Model<any, any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
|
|
12
|
+
export declare const paymentDiscriminatorSchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
|
|
13
13
|
charges: import("mongoose").Types.DocumentArray<{
|
|
14
14
|
entityInformation: import("mongoose").Types.DocumentArray<{
|
|
15
15
|
containerNumbers: string[];
|
|
@@ -431,6 +431,4 @@ export declare const paymentDiscriminatorSchema: Schema<any, Model<any, any, any
|
|
|
431
431
|
} & {
|
|
432
432
|
__v: number;
|
|
433
433
|
}>;
|
|
434
|
-
export declare const PAYMENT_DISCRIMINATORS: readonly ["air_freight-payment", "lcl-payment", "fcl-payment", "dd-payment", "dd-transloading-payment", "bonds-payment", "fcl-transloading-payment", "trucking-payment", "lcl-transloading-payment"];
|
|
435
|
-
export declare const initiatePaymentDiscriminators: (model: Model<IPaymentStatus>) => void;
|
|
436
434
|
//# sourceMappingURL=payment.model.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payment.model.d.ts","sourceRoot":"","sources":["../../../src/schemas/payments/payment.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"payment.model.d.ts","sourceRoot":"","sources":["../../../src/schemas/payments/payment.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD,eAAO,MAAM,mBAAmB;;;;;;;;EAY9B,CAAC;AAmCH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIrC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.paymentDiscriminatorSchema = exports.paymentStatusSchema = void 0;
|
|
4
4
|
const mongoose_1 = require("mongoose");
|
|
5
5
|
exports.paymentStatusSchema = new mongoose_1.Schema({
|
|
6
6
|
bookingId: { type: mongoose_1.Schema.Types.ObjectId, ref: 'Bookings', required: true },
|
|
@@ -50,7 +50,7 @@ exports.paymentDiscriminatorSchema = new mongoose_1.Schema({
|
|
|
50
50
|
billingEntityConfirmed: { type: Boolean },
|
|
51
51
|
customDuty: [customDutySchema],
|
|
52
52
|
});
|
|
53
|
-
|
|
53
|
+
for (const key of [
|
|
54
54
|
'air_freight-payment',
|
|
55
55
|
'lcl-payment',
|
|
56
56
|
'fcl-payment',
|
|
@@ -60,11 +60,7 @@ exports.PAYMENT_DISCRIMINATORS = [
|
|
|
60
60
|
'fcl-transloading-payment',
|
|
61
61
|
'trucking-payment',
|
|
62
62
|
'lcl-transloading-payment',
|
|
63
|
-
]
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
model.discriminator(key, exports.paymentDiscriminatorSchema);
|
|
67
|
-
}
|
|
68
|
-
};
|
|
69
|
-
exports.initiatePaymentDiscriminators = initiatePaymentDiscriminators;
|
|
63
|
+
]) {
|
|
64
|
+
exports.paymentStatusSchema.discriminator(key, exports.paymentDiscriminatorSchema);
|
|
65
|
+
}
|
|
70
66
|
//# sourceMappingURL=payment.model.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payment.model.js","sourceRoot":"","sources":["../../../src/schemas/payments/payment.model.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"payment.model.js","sourceRoot":"","sources":["../../../src/schemas/payments/payment.model.ts"],"names":[],"mappings":";;;AAAA,uCAAkC;AAGrB,QAAA,mBAAmB,GAAG,IAAI,iBAAM,CAAiB;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,aAAa;IACb,YAAY;IACZ,yBAAyB;IACzB,eAAe;IACf,0BAA0B;IAC1B,kBAAkB;IAClB,0BAA0B;CAC3B,EAAE,CAAC;IACF,2BAAmB,CAAC,aAAa,CAAC,GAAG,EAAE,kCAA0B,CAAC,CAAC;AACrE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Schema
|
|
1
|
+
import { Schema } from 'mongoose';
|
|
2
2
|
import { IProposalHistoryRecord } from './proposal-history.interface';
|
|
3
|
-
export declare const proposalHistoryBaseSchema: Schema<IProposalHistoryRecord, Model<IProposalHistoryRecord, any, any, any, import("mongoose").Document<unknown, any, IProposalHistoryRecord, any, {}> & IProposalHistoryRecord & Required<{
|
|
3
|
+
export declare const proposalHistoryBaseSchema: Schema<IProposalHistoryRecord, import("mongoose").Model<IProposalHistoryRecord, any, any, any, import("mongoose").Document<unknown, any, IProposalHistoryRecord, any, {}> & IProposalHistoryRecord & Required<{
|
|
4
4
|
_id: import("mongoose").Types.ObjectId;
|
|
5
5
|
}> & {
|
|
6
6
|
__v: number;
|
|
@@ -9,6 +9,4 @@ export declare const proposalHistoryBaseSchema: Schema<IProposalHistoryRecord, M
|
|
|
9
9
|
}> & {
|
|
10
10
|
__v: number;
|
|
11
11
|
}>;
|
|
12
|
-
export declare const PROPOSAL_HISTORY_DISCRIMINATOR_SCHEMAS: Record<string, Schema>;
|
|
13
|
-
export declare const initiateProposalHistoryDiscriminators: (model: Model<IProposalHistoryRecord>) => void;
|
|
14
12
|
//# sourceMappingURL=proposal-history.model.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"proposal-history.model.d.ts","sourceRoot":"","sources":["../../../src/schemas/proposal-history/proposal-history.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"proposal-history.model.d.ts","sourceRoot":"","sources":["../../../src/schemas/proposal-history/proposal-history.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAEtE,eAAO,MAAM,yBAAyB;;;;;;;;EA0CpC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.proposalHistoryBaseSchema = void 0;
|
|
4
4
|
const mongoose_1 = require("mongoose");
|
|
5
5
|
exports.proposalHistoryBaseSchema = new mongoose_1.Schema({
|
|
6
6
|
quoteId: { type: mongoose_1.Schema.Types.ObjectId, ref: 'Quotes', required: true },
|
|
@@ -45,51 +45,43 @@ exports.proposalHistoryBaseSchema = new mongoose_1.Schema({
|
|
|
45
45
|
timestamps: true,
|
|
46
46
|
discriminatorKey: 'kind',
|
|
47
47
|
});
|
|
48
|
-
exports.
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
'fcl-transloading-proposal-history': new mongoose_1.Schema({}),
|
|
88
|
-
};
|
|
89
|
-
const initiateProposalHistoryDiscriminators = (model) => {
|
|
90
|
-
for (const [key, schema] of Object.entries(exports.PROPOSAL_HISTORY_DISCRIMINATOR_SCHEMAS)) {
|
|
91
|
-
model.discriminator(key, schema);
|
|
92
|
-
}
|
|
93
|
-
};
|
|
94
|
-
exports.initiateProposalHistoryDiscriminators = initiateProposalHistoryDiscriminators;
|
|
48
|
+
exports.proposalHistoryBaseSchema.discriminator('fcl-proposal-history', new mongoose_1.Schema({
|
|
49
|
+
isAccessorialAdded: { type: Boolean },
|
|
50
|
+
accessorialChargeName: { type: String },
|
|
51
|
+
accessorialCharge: { type: mongoose_1.Schema.Types.Mixed },
|
|
52
|
+
}));
|
|
53
|
+
exports.proposalHistoryBaseSchema.discriminator('lcl-proposal-history', new mongoose_1.Schema({
|
|
54
|
+
consolDesireGMPercentage: { type: Number },
|
|
55
|
+
gateInDate: { type: Date },
|
|
56
|
+
perCBMRate: { type: Number },
|
|
57
|
+
lclType: { type: String, enum: ['lcl-console', 'lcl-coload'] },
|
|
58
|
+
lclConsoleNumber: { type: String },
|
|
59
|
+
consoleSailingdate: { type: Date },
|
|
60
|
+
chargeSplitPercentage: { type: Number },
|
|
61
|
+
isFinalCBM: { type: Boolean },
|
|
62
|
+
partnerRateCardId: { type: mongoose_1.Schema.Types.ObjectId, ref: 'ConsolRate' },
|
|
63
|
+
isAccessorialAdded: { type: Boolean },
|
|
64
|
+
accessorialChargeName: { type: String },
|
|
65
|
+
accessorialCharge: { type: mongoose_1.Schema.Types.Mixed },
|
|
66
|
+
}));
|
|
67
|
+
exports.proposalHistoryBaseSchema.discriminator('lcl-transloading-proposal-history', new mongoose_1.Schema({
|
|
68
|
+
consolDesireGMPercentage: { type: Number },
|
|
69
|
+
gateInDate: { type: Date },
|
|
70
|
+
perCBMRate: { type: Number },
|
|
71
|
+
lclType: { type: String, enum: ['lcl-console', 'lcl-coload'] },
|
|
72
|
+
lclConsoleNumber: { type: String },
|
|
73
|
+
consoleSailingdate: { type: Date },
|
|
74
|
+
chargeSplitPercentage: { type: Number },
|
|
75
|
+
isFinalCBM: { type: Boolean },
|
|
76
|
+
partnerRateCardId: { type: mongoose_1.Schema.Types.ObjectId, ref: 'ConsolRate' },
|
|
77
|
+
}));
|
|
78
|
+
exports.proposalHistoryBaseSchema.discriminator('air_freight-proposal-history', new mongoose_1.Schema({
|
|
79
|
+
isOversizeShipment: { type: Boolean },
|
|
80
|
+
offlineRateIncrement: { type: Number },
|
|
81
|
+
}));
|
|
82
|
+
exports.proposalHistoryBaseSchema.discriminator('bonds-proposal-history', new mongoose_1.Schema({}));
|
|
83
|
+
exports.proposalHistoryBaseSchema.discriminator('dd-proposal-history', new mongoose_1.Schema({}));
|
|
84
|
+
exports.proposalHistoryBaseSchema.discriminator('dd-transloading-proposal-history', new mongoose_1.Schema({}));
|
|
85
|
+
exports.proposalHistoryBaseSchema.discriminator('trucking-proposal-history', new mongoose_1.Schema({}));
|
|
86
|
+
exports.proposalHistoryBaseSchema.discriminator('fcl-transloading-proposal-history', new mongoose_1.Schema({}));
|
|
95
87
|
//# sourceMappingURL=proposal-history.model.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"proposal-history.model.js","sourceRoot":"","sources":["../../../src/schemas/proposal-history/proposal-history.model.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"proposal-history.model.js","sourceRoot":"","sources":["../../../src/schemas/proposal-history/proposal-history.model.ts"],"names":[],"mappings":";;;AAAA,uCAAkC;AAGrB,QAAA,yBAAyB,GAAG,IAAI,iBAAM,CAAyB;IAC1E,OAAO,EAAE,EAAE,IAAI,EAAE,iBAAM,CAAC,KAAK,CAAC,QAAQ,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;IACvE,cAAc,EAAE,EAAE,IAAI,EAAE,iBAAM,CAAC,KAAK,CAAC,QAAQ,EAAE,GAAG,EAAE,cAAc,EAAE,QAAQ,EAAE,IAAI,EAAE;IACpF,UAAU,EAAE,EAAE,IAAI,EAAE,iBAAM,CAAC,KAAK,CAAC,QAAQ,EAAE,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;IACxE,MA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
11
|
}>;
|
|
12
|
-
export declare const PROPOSAL_DISCRIMINATOR_SCHEMAS: Record<string, Schema>;
|
|
13
|
-
export declare const initiateProposalDiscriminators: (model: Model<IProposal>) => void;
|
|
14
12
|
//# sourceMappingURL=proposal.model.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"proposal.model.d.ts","sourceRoot":"","sources":["../../../src/schemas/proposals/proposal.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEzC,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAyDnE,eAAO,MAAM,cAAc;;;;;;;;EAgEzB,CAAC
|
|
1
|
+
{"version":3,"file":"proposal.model.d.ts","sourceRoot":"","sources":["../../../src/schemas/proposals/proposal.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEzC,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAyDnE,eAAO,MAAM,cAAc;;;;;;;;EAgEzB,CAAC"}
|