@sildeswj/thechium-schema 10.1.13-collectionSummary.0 → 10.1.13-warehouse-table.1
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/admin.schema.d.ts +2 -2
- package/dist/blockchain/audit.schema.d.ts +2 -2
- package/dist/blockchain/audit.schema.js +17 -7
- package/dist/blockchain/audit.schema.js.map +1 -1
- package/dist/buyer/collectionCompany.schema.d.ts +2 -2
- package/dist/buyer/collectionOrder.schema.d.ts +2 -2
- package/dist/buyer/collectionOrder.schema.js +17 -7
- package/dist/buyer/collectionOrder.schema.js.map +1 -1
- package/dist/buyer/company.schema.d.ts +2 -2
- package/dist/buyer/companyEmployee.schema.d.ts +2 -2
- package/dist/buyer/monthlyCollectionOrderSummary.schema.d.ts +2 -2
- package/dist/buyer/monthlyCollectionOrderSummary.schema.js +17 -7
- package/dist/buyer/monthlyCollectionOrderSummary.schema.js.map +1 -1
- package/dist/buyer/retailStore.schema.d.ts +2 -2
- package/dist/collectionCompany.schema.d.ts +2 -2
- package/dist/collectionCompanyEmployee.schema.d.ts +2 -2
- package/dist/collectionOrder.schema.d.ts +2 -2
- package/dist/collectionOrder.schema.js +17 -7
- package/dist/collectionOrder.schema.js.map +1 -1
- package/dist/collectionOrderPayment.schema.d.ts +2 -2
- package/dist/deliveryMan.schema.d.ts +2 -2
- package/dist/index.d.ts +2 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -4
- package/dist/index.js.map +1 -1
- package/dist/oilCanImage.schema.d.ts +2 -2
- package/dist/order.schema.d.ts +2 -2
- package/dist/passwordReset.schema.d.ts +2 -2
- package/dist/payment.schema.d.ts +2 -2
- package/dist/phoneVerification.schema.d.ts +2 -2
- package/dist/pricing.schema.d.ts +2 -2
- package/dist/qrVerification.schema.d.ts +2 -2
- package/dist/relationships/buyerRequest.schema.d.ts +2 -2
- package/dist/retailBrand.schema.d.ts +2 -2
- package/dist/retailStore.schema.d.ts +2 -2
- package/dist/retailStore.schema.js +2 -1
- package/dist/retailStore.schema.js.map +1 -1
- package/dist/retailStoreEmployee.schema.d.ts +2 -2
- package/dist/sub/collectionOrder/subSchemaFactory.d.ts +8 -8
- package/dist/sub/collectionOrder/subSchemaFactory.d.ts.map +1 -1
- package/dist/subscriptionScheduling.schema.d.ts +2 -2
- package/dist/tossPaymentBillingKey.schema.d.ts +2 -2
- package/dist/warehouse/dailySummary.schema.d.ts +2 -2
- package/dist/warehouse/dailySummary.schema.js +17 -7
- package/dist/warehouse/dailySummary.schema.js.map +1 -1
- package/dist/warehouse/driverShipment.schema.d.ts +6 -6
- package/dist/warehouse/driverShipment.schema.js +17 -7
- package/dist/warehouse/driverShipment.schema.js.map +1 -1
- package/dist/warehouse/driverShipmentLog.schema.d.ts +6 -6
- package/dist/warehouse/driverShipmentLog.schema.js +17 -7
- package/dist/warehouse/driverShipmentLog.schema.js.map +1 -1
- package/dist/warehouse/scale.schema.d.ts +2 -2
- package/dist/warehouse/sub/warehouseShipmentInfo.d.ts +2 -2
- package/dist/warehouse/summary/dailySummary.schema.d.ts +26 -0
- package/dist/warehouse/summary/dailySummary.schema.d.ts.map +1 -0
- package/dist/warehouse/summary/dailySummary.schema.js +103 -0
- package/dist/warehouse/summary/dailySummary.schema.js.map +1 -0
- package/dist/warehouse/summary/monthlySummary.schema.d.ts +26 -0
- package/dist/warehouse/summary/monthlySummary.schema.d.ts.map +1 -0
- package/dist/warehouse/summary/monthlySummary.schema.js +102 -0
- package/dist/warehouse/summary/monthlySummary.schema.js.map +1 -0
- package/dist/warehouse/warehouse.schema.d.ts +3 -2
- package/dist/warehouse/warehouse.schema.d.ts.map +1 -1
- package/dist/warehouse/warehouse.schema.js +4 -0
- package/dist/warehouse/warehouse.schema.js.map +1 -1
- package/dist/zaloAuth.schema.d.ts +2 -2
- package/package.json +1 -1
- package/dist/collection-summary/DailyCompanyCollectionSummary.schema.d.ts +0 -22
- package/dist/collection-summary/DailyCompanyCollectionSummary.schema.d.ts.map +0 -1
- package/dist/collection-summary/DailyCompanyCollectionSummary.schema.js +0 -82
- package/dist/collection-summary/DailyCompanyCollectionSummary.schema.js.map +0 -1
- package/dist/collection-summary/MonthlyStoreCollectionSummary.schema.d.ts +0 -23
- package/dist/collection-summary/MonthlyStoreCollectionSummary.schema.d.ts.map +0 -1
- package/dist/collection-summary/MonthlyStoreCollectionSummary.schema.js +0 -81
- package/dist/collection-summary/MonthlyStoreCollectionSummary.schema.js.map +0 -1
- package/dist/collection-summary/WeeklyStoreCollectionSummary.scehma.d.ts +0 -24
- package/dist/collection-summary/WeeklyStoreCollectionSummary.scehma.d.ts.map +0 -1
- package/dist/collection-summary/WeeklyStoreCollectionSummary.scehma.js +0 -97
- package/dist/collection-summary/WeeklyStoreCollectionSummary.scehma.js.map +0 -1
|
@@ -26,11 +26,11 @@ export declare class RetailStore {
|
|
|
26
26
|
businessRegistrationNumber: string;
|
|
27
27
|
status: string;
|
|
28
28
|
}
|
|
29
|
-
export declare const RetailStoreSchema: mongoose.Schema<RetailStore, mongoose.Model<RetailStore, any, any, any, mongoose.Document<unknown, any, RetailStore> & RetailStore & {
|
|
29
|
+
export declare const RetailStoreSchema: mongoose.Schema<RetailStore, mongoose.Model<RetailStore, any, any, any, mongoose.Document<unknown, any, RetailStore, any, {}> & RetailStore & {
|
|
30
30
|
_id: mongoose.Types.ObjectId;
|
|
31
31
|
} & {
|
|
32
32
|
__v: number;
|
|
33
|
-
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, RetailStore, mongoose.Document<unknown, {}, mongoose.FlatRecord<RetailStore>> & mongoose.FlatRecord<RetailStore> & {
|
|
33
|
+
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, RetailStore, mongoose.Document<unknown, {}, mongoose.FlatRecord<RetailStore>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<RetailStore> & {
|
|
34
34
|
_id: mongoose.Types.ObjectId;
|
|
35
35
|
} & {
|
|
36
36
|
__v: number;
|
|
@@ -150,7 +150,8 @@ exports.RetailStoreSchema.index({ deliveryMan: 1 });
|
|
|
150
150
|
exports.RetailStoreSchema.index({ loginId: 1 }, {
|
|
151
151
|
unique: true,
|
|
152
152
|
partialFilterExpression: {
|
|
153
|
-
loginId: { $type: 'string', $gt: '' },
|
|
153
|
+
loginId: { $type: 'string', $gt: '' },
|
|
154
|
+
status: { $ne: 'deleted' },
|
|
154
155
|
},
|
|
155
156
|
});
|
|
156
157
|
exports.RetailStoreSchema.index({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retailStore.schema.js","sourceRoot":"","sources":["../src/retailStore.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,+CAA+D;AAC/D,uCAAoC;AACpC,wDAAgC;AAChC,qDAA0D;AAC1D,6DAAmD;AAG5C,IAAM,WAAW,GAAjB,MAAM,WAAW;CAsGvB,CAAA;AAtGY,kCAAW;AAKtB;IAJC,IAAA,eAAI,EAAC;QACJ,QAAQ,EAAE,KAAK;QACf,IAAI,EAAE,kBAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ;KACrC,CAAC;8BACW,kBAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ;gDAAC;AAG5C;IADC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC;;yCAC1C;AAGb;IADC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC;;yCAC1C;AAGb;IADC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC;;4CACzB;AAGhB;IADC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;6CACT;AAGjB;IADC,IAAA,eA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EAAE,IAAG,CAAC;IACrE,IAAI,EAAE,CAAC;AACT,CAAC,CAAC,CAAC"}
|
|
@@ -8,11 +8,11 @@ export declare class RetailStoreEmployee {
|
|
|
8
8
|
retailStore: mongoose.Schema.Types.ObjectId;
|
|
9
9
|
status: string;
|
|
10
10
|
}
|
|
11
|
-
export declare const RetailStoreEmployeeSchema: mongoose.Schema<RetailStoreEmployee, mongoose.Model<RetailStoreEmployee, any, any, any, mongoose.Document<unknown, any, RetailStoreEmployee> & RetailStoreEmployee & {
|
|
11
|
+
export declare const RetailStoreEmployeeSchema: mongoose.Schema<RetailStoreEmployee, mongoose.Model<RetailStoreEmployee, any, any, any, mongoose.Document<unknown, any, RetailStoreEmployee, any, {}> & RetailStoreEmployee & {
|
|
12
12
|
_id: mongoose.Types.ObjectId;
|
|
13
13
|
} & {
|
|
14
14
|
__v: number;
|
|
15
|
-
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, RetailStoreEmployee, mongoose.Document<unknown, {}, mongoose.FlatRecord<RetailStoreEmployee>> & mongoose.FlatRecord<RetailStoreEmployee> & {
|
|
15
|
+
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, RetailStoreEmployee, mongoose.Document<unknown, {}, mongoose.FlatRecord<RetailStoreEmployee>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<RetailStoreEmployee> & {
|
|
16
16
|
_id: mongoose.Types.ObjectId;
|
|
17
17
|
} & {
|
|
18
18
|
__v: number;
|
|
@@ -4,7 +4,7 @@ export declare const RetailStoreSubSchema: MongooseSchema<any, import("mongoose"
|
|
|
4
4
|
[x: string]: unknown;
|
|
5
5
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
6
6
|
[x: string]: unknown;
|
|
7
|
-
}>> & import("mongoose").FlatRecord<{
|
|
7
|
+
}>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
|
|
8
8
|
[x: string]: unknown;
|
|
9
9
|
}> & Required<{
|
|
10
10
|
_id: unknown;
|
|
@@ -15,7 +15,7 @@ export declare const RetailStoreEmployeeSubSchema: MongooseSchema<any, import("m
|
|
|
15
15
|
[x: string]: unknown;
|
|
16
16
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
17
17
|
[x: string]: unknown;
|
|
18
|
-
}>> & import("mongoose").FlatRecord<{
|
|
18
|
+
}>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
|
|
19
19
|
[x: string]: unknown;
|
|
20
20
|
}> & Required<{
|
|
21
21
|
_id: unknown;
|
|
@@ -26,7 +26,7 @@ export declare const DeliveryManSubSchema: MongooseSchema<any, import("mongoose"
|
|
|
26
26
|
[x: string]: unknown;
|
|
27
27
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
28
28
|
[x: string]: unknown;
|
|
29
|
-
}>> & import("mongoose").FlatRecord<{
|
|
29
|
+
}>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
|
|
30
30
|
[x: string]: unknown;
|
|
31
31
|
}> & Required<{
|
|
32
32
|
_id: unknown;
|
|
@@ -37,7 +37,7 @@ export declare const CollectionCompanySubSchema: MongooseSchema<any, import("mon
|
|
|
37
37
|
[x: string]: unknown;
|
|
38
38
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
39
39
|
[x: string]: unknown;
|
|
40
|
-
}>> & import("mongoose").FlatRecord<{
|
|
40
|
+
}>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
|
|
41
41
|
[x: string]: unknown;
|
|
42
42
|
}> & Required<{
|
|
43
43
|
_id: unknown;
|
|
@@ -48,7 +48,7 @@ export declare const BuyerCompanySubSchema: MongooseSchema<any, import("mongoose
|
|
|
48
48
|
[x: string]: unknown;
|
|
49
49
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
50
50
|
[x: string]: unknown;
|
|
51
|
-
}>> & import("mongoose").FlatRecord<{
|
|
51
|
+
}>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
|
|
52
52
|
[x: string]: unknown;
|
|
53
53
|
}> & Required<{
|
|
54
54
|
_id: unknown;
|
|
@@ -59,7 +59,7 @@ export declare const RetailBrandSubSchema: MongooseSchema<any, import("mongoose"
|
|
|
59
59
|
[x: string]: unknown;
|
|
60
60
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
61
61
|
[x: string]: unknown;
|
|
62
|
-
}>> & import("mongoose").FlatRecord<{
|
|
62
|
+
}>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
|
|
63
63
|
[x: string]: unknown;
|
|
64
64
|
}> & Required<{
|
|
65
65
|
_id: unknown;
|
|
@@ -70,7 +70,7 @@ export declare const WarehouseSubSchema: MongooseSchema<any, import("mongoose").
|
|
|
70
70
|
[x: string]: unknown;
|
|
71
71
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
72
72
|
[x: string]: unknown;
|
|
73
|
-
}>> & import("mongoose").FlatRecord<{
|
|
73
|
+
}>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
|
|
74
74
|
[x: string]: unknown;
|
|
75
75
|
}> & Required<{
|
|
76
76
|
_id: unknown;
|
|
@@ -81,7 +81,7 @@ export declare const WarehouseScaleSubSchema: MongooseSchema<any, import("mongoo
|
|
|
81
81
|
[x: string]: unknown;
|
|
82
82
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
83
83
|
[x: string]: unknown;
|
|
84
|
-
}>> & import("mongoose").FlatRecord<{
|
|
84
|
+
}>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
|
|
85
85
|
[x: string]: unknown;
|
|
86
86
|
}> & Required<{
|
|
87
87
|
_id: unknown;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subSchemaFactory.d.ts","sourceRoot":"","sources":["../../../src/sub/collectionOrder/subSchemaFactory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,cAAc,EAAE,MAAM,UAAU,CAAC;AAUpD,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"subSchemaFactory.d.ts","sourceRoot":"","sources":["../../../src/sub/collectionOrder/subSchemaFactory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,cAAc,EAAE,MAAM,UAAU,CAAC;AAUpD,eAAO,MAAM,iBAAiB,GAC5B,QAAQ,cAAc,EACtB,iBAAiB,MAAM,EAAE,KACxB,cASF,CAAC;AAgDF,eAAO,MAAM,oBAAoB;;;;;;;;;;EAA+B,CAAC;AACjE,eAAO,MAAM,4BAA4B;;;;;;;;;;EAAuC,CAAC;AACjF,eAAO,MAAM,oBAAoB;;;;;;;;;;EAA+B,CAAC;AACjE,eAAO,MAAM,0BAA0B;;;;;;;;;;EAAqC,CAAC;AAC7E,eAAO,MAAM,qBAAqB;;;;;;;;;;EAAgC,CAAC;AACnE,eAAO,MAAM,oBAAoB;;;;;;;;;;EAA+B,CAAC;AACjE,eAAO,MAAM,kBAAkB;;;;;;;;;;EAA6B,CAAC;AAC7D,eAAO,MAAM,uBAAuB;;;;;;;;;;EAAkC,CAAC"}
|
|
@@ -8,11 +8,11 @@ export declare class SubscriptionScheduling {
|
|
|
8
8
|
orderName: string;
|
|
9
9
|
status: string;
|
|
10
10
|
}
|
|
11
|
-
export declare const SubscriptionSchedulingSchema: mongoose.Schema<SubscriptionScheduling, mongoose.Model<SubscriptionScheduling, any, any, any, mongoose.Document<unknown, any, SubscriptionScheduling> & SubscriptionScheduling & {
|
|
11
|
+
export declare const SubscriptionSchedulingSchema: mongoose.Schema<SubscriptionScheduling, mongoose.Model<SubscriptionScheduling, any, any, any, mongoose.Document<unknown, any, SubscriptionScheduling, any, {}> & SubscriptionScheduling & {
|
|
12
12
|
_id: mongoose.Types.ObjectId;
|
|
13
13
|
} & {
|
|
14
14
|
__v: number;
|
|
15
|
-
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, SubscriptionScheduling, mongoose.Document<unknown, {}, mongoose.FlatRecord<SubscriptionScheduling>> & mongoose.FlatRecord<SubscriptionScheduling> & {
|
|
15
|
+
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, SubscriptionScheduling, mongoose.Document<unknown, {}, mongoose.FlatRecord<SubscriptionScheduling>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<SubscriptionScheduling> & {
|
|
16
16
|
_id: mongoose.Types.ObjectId;
|
|
17
17
|
} & {
|
|
18
18
|
__v: number;
|
|
@@ -5,11 +5,11 @@ export declare class TossPaymentBillingKey {
|
|
|
5
5
|
billingKey: string;
|
|
6
6
|
status: string;
|
|
7
7
|
}
|
|
8
|
-
export declare const TossPaymentBillingKeySchema: mongoose.Schema<TossPaymentBillingKey, mongoose.Model<TossPaymentBillingKey, any, any, any, mongoose.Document<unknown, any, TossPaymentBillingKey> & TossPaymentBillingKey & {
|
|
8
|
+
export declare const TossPaymentBillingKeySchema: mongoose.Schema<TossPaymentBillingKey, mongoose.Model<TossPaymentBillingKey, any, any, any, mongoose.Document<unknown, any, TossPaymentBillingKey, any, {}> & TossPaymentBillingKey & {
|
|
9
9
|
_id: mongoose.Types.ObjectId;
|
|
10
10
|
} & {
|
|
11
11
|
__v: number;
|
|
12
|
-
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, TossPaymentBillingKey, mongoose.Document<unknown, {}, mongoose.FlatRecord<TossPaymentBillingKey>> & mongoose.FlatRecord<TossPaymentBillingKey> & {
|
|
12
|
+
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, TossPaymentBillingKey, mongoose.Document<unknown, {}, mongoose.FlatRecord<TossPaymentBillingKey>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<TossPaymentBillingKey> & {
|
|
13
13
|
_id: mongoose.Types.ObjectId;
|
|
14
14
|
} & {
|
|
15
15
|
__v: number;
|
|
@@ -14,11 +14,11 @@ export declare class WarehouseDailySummary extends Document {
|
|
|
14
14
|
};
|
|
15
15
|
shipmentIds: mongoose.Schema.Types.ObjectId[];
|
|
16
16
|
}
|
|
17
|
-
export declare const WarehouseDailySummarySchema: mongoose.Schema<WarehouseDailySummary, mongoose.Model<WarehouseDailySummary, any, any, any, mongoose.Document<unknown, any, WarehouseDailySummary> & WarehouseDailySummary & Required<{
|
|
17
|
+
export declare const WarehouseDailySummarySchema: mongoose.Schema<WarehouseDailySummary, mongoose.Model<WarehouseDailySummary, any, any, any, mongoose.Document<unknown, any, WarehouseDailySummary, any, {}> & WarehouseDailySummary & Required<{
|
|
18
18
|
_id: unknown;
|
|
19
19
|
}> & {
|
|
20
20
|
__v: number;
|
|
21
|
-
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, WarehouseDailySummary, mongoose.Document<unknown, {}, mongoose.FlatRecord<WarehouseDailySummary>> & mongoose.FlatRecord<WarehouseDailySummary> & Required<{
|
|
21
|
+
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, WarehouseDailySummary, mongoose.Document<unknown, {}, mongoose.FlatRecord<WarehouseDailySummary>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<WarehouseDailySummary> & Required<{
|
|
22
22
|
_id: unknown;
|
|
23
23
|
}> & {
|
|
24
24
|
__v: number;
|
|
@@ -21,13 +21,23 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
21
21
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
22
22
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
23
23
|
};
|
|
24
|
-
var __importStar = (this && this.__importStar) || function (
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
24
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
25
|
+
var ownKeys = function(o) {
|
|
26
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
27
|
+
var ar = [];
|
|
28
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
29
|
+
return ar;
|
|
30
|
+
};
|
|
31
|
+
return ownKeys(o);
|
|
32
|
+
};
|
|
33
|
+
return function (mod) {
|
|
34
|
+
if (mod && mod.__esModule) return mod;
|
|
35
|
+
var result = {};
|
|
36
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
37
|
+
__setModuleDefault(result, mod);
|
|
38
|
+
return result;
|
|
39
|
+
};
|
|
40
|
+
})();
|
|
31
41
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
32
42
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
33
43
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dailySummary.schema.js","sourceRoot":"","sources":["../../src/warehouse/dailySummary.schema.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dailySummary.schema.js","sourceRoot":"","sources":["../../src/warehouse/dailySummary.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAA+D;AAC/D,qDAA8C;AAE9C,wCAAqC;AAG9B,IAAM,qBAAqB,GAA3B,MAAM,q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,EAAE,EAAE,EAAE,CAAC;;0DAChB;gCAhCnC,qBAAqB;IADjC,IAAA,iBAAM,EAAC,iBAAO,CAAC;GACH,qBAAqB,CAiCjC;AAEY,QAAA,2BAA2B,GAAG,wBAAa,CAAC,cAAc,CAAC,qBAAqB,CAAC,CAAC;AAE/F,mCAA2B,CAAC,KAAK,CAC/B;IACE,IAAI,EAAE,CAAC;IACP,WAAW,EAAE,CAAC;IACd,mBAAmB,EAAE,CAAC;CACvB,EACD,EAAE,MAAM,EAAE,IAAI,EAAE,CACjB,CAAC;AAEF,mCAA2B,CAAC,KAAK,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC,CAAC;AAC/C,mCAA2B,CAAC,KAAK,CAAC,EAAE,WAAW,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC"}
|
|
@@ -7,11 +7,11 @@ export declare class WeightBatch {
|
|
|
7
7
|
weight: number;
|
|
8
8
|
timestamp: Date;
|
|
9
9
|
}
|
|
10
|
-
export declare const WeightBatchSchema: mongoose.Schema<WeightBatch, mongoose.Model<WeightBatch, any, any, any, mongoose.Document<unknown, any, WeightBatch> & WeightBatch & {
|
|
10
|
+
export declare const WeightBatchSchema: mongoose.Schema<WeightBatch, mongoose.Model<WeightBatch, any, any, any, mongoose.Document<unknown, any, WeightBatch, any, {}> & WeightBatch & {
|
|
11
11
|
_id: mongoose.Types.ObjectId;
|
|
12
12
|
} & {
|
|
13
13
|
__v: number;
|
|
14
|
-
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, WeightBatch, mongoose.Document<unknown, {}, mongoose.FlatRecord<WeightBatch>> & mongoose.FlatRecord<WeightBatch> & {
|
|
14
|
+
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, WeightBatch, mongoose.Document<unknown, {}, mongoose.FlatRecord<WeightBatch>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<WeightBatch> & {
|
|
15
15
|
_id: mongoose.Types.ObjectId;
|
|
16
16
|
} & {
|
|
17
17
|
__v: number;
|
|
@@ -30,11 +30,11 @@ export declare class ShipmentOrderItem {
|
|
|
30
30
|
pickupDate: Date;
|
|
31
31
|
status: string;
|
|
32
32
|
}
|
|
33
|
-
export declare const ShipmentOrderItemSchema: mongoose.Schema<ShipmentOrderItem, mongoose.Model<ShipmentOrderItem, any, any, any, mongoose.Document<unknown, any, ShipmentOrderItem> & ShipmentOrderItem & Required<{
|
|
33
|
+
export declare const ShipmentOrderItemSchema: mongoose.Schema<ShipmentOrderItem, mongoose.Model<ShipmentOrderItem, any, any, any, mongoose.Document<unknown, any, ShipmentOrderItem, any, {}> & ShipmentOrderItem & Required<{
|
|
34
34
|
_id: mongoose.Schema.Types.ObjectId;
|
|
35
35
|
}> & {
|
|
36
36
|
__v: number;
|
|
37
|
-
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, ShipmentOrderItem, mongoose.Document<unknown, {}, mongoose.FlatRecord<ShipmentOrderItem>> & mongoose.FlatRecord<ShipmentOrderItem> & Required<{
|
|
37
|
+
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, ShipmentOrderItem, mongoose.Document<unknown, {}, mongoose.FlatRecord<ShipmentOrderItem>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<ShipmentOrderItem> & Required<{
|
|
38
38
|
_id: mongoose.Schema.Types.ObjectId;
|
|
39
39
|
}> & {
|
|
40
40
|
__v: number;
|
|
@@ -53,11 +53,11 @@ export declare class WarehouseDriverShipment extends Document {
|
|
|
53
53
|
warehouse: any;
|
|
54
54
|
status: ShipmentStatus;
|
|
55
55
|
}
|
|
56
|
-
export declare const WarehouseDriverShipmentSchema: mongoose.Schema<WarehouseDriverShipment, mongoose.Model<WarehouseDriverShipment, any, any, any, mongoose.Document<unknown, any, WarehouseDriverShipment> & WarehouseDriverShipment & Required<{
|
|
56
|
+
export declare const WarehouseDriverShipmentSchema: mongoose.Schema<WarehouseDriverShipment, mongoose.Model<WarehouseDriverShipment, any, any, any, mongoose.Document<unknown, any, WarehouseDriverShipment, any, {}> & WarehouseDriverShipment & Required<{
|
|
57
57
|
_id: unknown;
|
|
58
58
|
}> & {
|
|
59
59
|
__v: number;
|
|
60
|
-
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, WarehouseDriverShipment, mongoose.Document<unknown, {}, mongoose.FlatRecord<WarehouseDriverShipment>> & mongoose.FlatRecord<WarehouseDriverShipment> & Required<{
|
|
60
|
+
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, WarehouseDriverShipment, mongoose.Document<unknown, {}, mongoose.FlatRecord<WarehouseDriverShipment>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<WarehouseDriverShipment> & Required<{
|
|
61
61
|
_id: unknown;
|
|
62
62
|
}> & {
|
|
63
63
|
__v: number;
|
|
@@ -21,13 +21,23 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
21
21
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
22
22
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
23
23
|
};
|
|
24
|
-
var __importStar = (this && this.__importStar) || function (
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
24
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
25
|
+
var ownKeys = function(o) {
|
|
26
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
27
|
+
var ar = [];
|
|
28
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
29
|
+
return ar;
|
|
30
|
+
};
|
|
31
|
+
return ownKeys(o);
|
|
32
|
+
};
|
|
33
|
+
return function (mod) {
|
|
34
|
+
if (mod && mod.__esModule) return mod;
|
|
35
|
+
var result = {};
|
|
36
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
37
|
+
__setModuleDefault(result, mod);
|
|
38
|
+
return result;
|
|
39
|
+
};
|
|
40
|
+
})();
|
|
31
41
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
32
42
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
33
43
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"driverShipment.schema.js","sourceRoot":"","sources":["../../src/warehouse/driverShipment.schema.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"driverShipment.schema.js","sourceRoot":"","sources":["../../src/warehouse/driverShipment.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAA+D;AAC/D,wCAAqC;AACrC,qDAA8C;AAC9C,gEAAwD;AACxD,8EAQiD;AACjD,+DAAuD;AAE9C,+FAFA,oCAAc,OAEA;AAGhB,IAAM,WAAW,GAAjB,MAAM,WAAW;CASvB,CAAA;AATY,kCAAW;AAEtB;IADC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gDACL;AAGpB;IADC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2CACV;AAGf;IADC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACd,IAAI;8CAAC;sBARL,WAAW;IADvB,IAAA,iBAAM,EAAC,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;GACV,WAAW,CASvB;AAEY,QAAA,iBAAiB,GAAG,wBAAa,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;AAGpE,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;CA4C7B,CAAA;AA5CY,8CAAiB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AAU;AACV,qCAA6B,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC;AACnD,qCAA6B,CAAC,KAAK,CAAC,EAAE,iBAAiB,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC;AACzE,qCAA6B,CAAC,KAAK,CAAC,EAAE,eAAe,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC;AACvE,qCAA6B,CAAC,KAAK,CAAC,EAAE,uBAAuB,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC;AAC/E,qCAA6B,CAAC,KAAK,CAAC,EAAE,YAAY,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC"}
|
|
@@ -6,11 +6,11 @@ export declare class WarehouseDriverShipmentLogPerformedBy {
|
|
|
6
6
|
name?: string;
|
|
7
7
|
role?: string;
|
|
8
8
|
}
|
|
9
|
-
export declare const WarehouseDriverShipmentLogPerformedBySchema: mongoose.Schema<WarehouseDriverShipmentLogPerformedBy, mongoose.Model<WarehouseDriverShipmentLogPerformedBy, any, any, any, mongoose.Document<unknown, any, WarehouseDriverShipmentLogPerformedBy> & WarehouseDriverShipmentLogPerformedBy & {
|
|
9
|
+
export declare const WarehouseDriverShipmentLogPerformedBySchema: mongoose.Schema<WarehouseDriverShipmentLogPerformedBy, mongoose.Model<WarehouseDriverShipmentLogPerformedBy, any, any, any, mongoose.Document<unknown, any, WarehouseDriverShipmentLogPerformedBy, any, {}> & WarehouseDriverShipmentLogPerformedBy & {
|
|
10
10
|
_id: mongoose.Types.ObjectId;
|
|
11
11
|
} & {
|
|
12
12
|
__v: number;
|
|
13
|
-
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, WarehouseDriverShipmentLogPerformedBy, mongoose.Document<unknown, {}, mongoose.FlatRecord<WarehouseDriverShipmentLogPerformedBy>> & mongoose.FlatRecord<WarehouseDriverShipmentLogPerformedBy> & {
|
|
13
|
+
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, WarehouseDriverShipmentLogPerformedBy, mongoose.Document<unknown, {}, mongoose.FlatRecord<WarehouseDriverShipmentLogPerformedBy>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<WarehouseDriverShipmentLogPerformedBy> & {
|
|
14
14
|
_id: mongoose.Types.ObjectId;
|
|
15
15
|
} & {
|
|
16
16
|
__v: number;
|
|
@@ -19,11 +19,11 @@ export declare class WarehouseDriverShipmentLogChanges {
|
|
|
19
19
|
before?: Record<string, unknown> | null;
|
|
20
20
|
after?: Record<string, unknown> | null;
|
|
21
21
|
}
|
|
22
|
-
export declare const WarehouseDriverShipmentLogChangesSchema: mongoose.Schema<WarehouseDriverShipmentLogChanges, mongoose.Model<WarehouseDriverShipmentLogChanges, any, any, any, mongoose.Document<unknown, any, WarehouseDriverShipmentLogChanges> & WarehouseDriverShipmentLogChanges & {
|
|
22
|
+
export declare const WarehouseDriverShipmentLogChangesSchema: mongoose.Schema<WarehouseDriverShipmentLogChanges, mongoose.Model<WarehouseDriverShipmentLogChanges, any, any, any, mongoose.Document<unknown, any, WarehouseDriverShipmentLogChanges, any, {}> & WarehouseDriverShipmentLogChanges & {
|
|
23
23
|
_id: mongoose.Types.ObjectId;
|
|
24
24
|
} & {
|
|
25
25
|
__v: number;
|
|
26
|
-
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, WarehouseDriverShipmentLogChanges, mongoose.Document<unknown, {}, mongoose.FlatRecord<WarehouseDriverShipmentLogChanges>> & mongoose.FlatRecord<WarehouseDriverShipmentLogChanges> & {
|
|
26
|
+
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, WarehouseDriverShipmentLogChanges, mongoose.Document<unknown, {}, mongoose.FlatRecord<WarehouseDriverShipmentLogChanges>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<WarehouseDriverShipmentLogChanges> & {
|
|
27
27
|
_id: mongoose.Types.ObjectId;
|
|
28
28
|
} & {
|
|
29
29
|
__v: number;
|
|
@@ -35,11 +35,11 @@ export declare class WarehouseDriverShipmentLog extends Document {
|
|
|
35
35
|
changes?: WarehouseDriverShipmentLogChanges;
|
|
36
36
|
createdAt: Date;
|
|
37
37
|
}
|
|
38
|
-
export declare const WarehouseDriverShipmentLogSchema: mongoose.Schema<WarehouseDriverShipmentLog, mongoose.Model<WarehouseDriverShipmentLog, any, any, any, mongoose.Document<unknown, any, WarehouseDriverShipmentLog> & WarehouseDriverShipmentLog & Required<{
|
|
38
|
+
export declare const WarehouseDriverShipmentLogSchema: mongoose.Schema<WarehouseDriverShipmentLog, mongoose.Model<WarehouseDriverShipmentLog, any, any, any, mongoose.Document<unknown, any, WarehouseDriverShipmentLog, any, {}> & WarehouseDriverShipmentLog & Required<{
|
|
39
39
|
_id: unknown;
|
|
40
40
|
}> & {
|
|
41
41
|
__v: number;
|
|
42
|
-
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, WarehouseDriverShipmentLog, mongoose.Document<unknown, {}, mongoose.FlatRecord<WarehouseDriverShipmentLog>> & mongoose.FlatRecord<WarehouseDriverShipmentLog> & Required<{
|
|
42
|
+
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, WarehouseDriverShipmentLog, mongoose.Document<unknown, {}, mongoose.FlatRecord<WarehouseDriverShipmentLog>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<WarehouseDriverShipmentLog> & Required<{
|
|
43
43
|
_id: unknown;
|
|
44
44
|
}> & {
|
|
45
45
|
__v: number;
|
|
@@ -21,13 +21,23 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
21
21
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
22
22
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
23
23
|
};
|
|
24
|
-
var __importStar = (this && this.__importStar) || function (
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
24
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
25
|
+
var ownKeys = function(o) {
|
|
26
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
27
|
+
var ar = [];
|
|
28
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
29
|
+
return ar;
|
|
30
|
+
};
|
|
31
|
+
return ownKeys(o);
|
|
32
|
+
};
|
|
33
|
+
return function (mod) {
|
|
34
|
+
if (mod && mod.__esModule) return mod;
|
|
35
|
+
var result = {};
|
|
36
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
37
|
+
__setModuleDefault(result, mod);
|
|
38
|
+
return result;
|
|
39
|
+
};
|
|
40
|
+
})();
|
|
31
41
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
32
42
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
33
43
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"driverShipmentLog.schema.js","sourceRoot":"","sources":["../../src/warehouse/driverShipmentLog.schema.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"driverShipmentLog.schema.js","sourceRoot":"","sources":["../../src/warehouse/driverShipmentLog.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAA+D;AAC/D,qDAA8C;AAC9C,wCAAqC;AAK9B,IAAM,qCAAqC,GAA3C,MAAM,qCAAqC;CAYjD,CAAA;AAZY,sFAAqC;AAEhD;IADC,IAAA,eAAI,GAAE;;qEACS;AAGhB;IADC,IAAA,eAAI,GAAE;;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AAGzC;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,mDAA2C,EAAE,CAAC;8BAC9C,qCAAqC;+DAAC;AAGpD;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,+CAAuC,EAAE,CAAC;8BAC9C,iCAAiC;2DAAC;AAG5C;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,IAAI,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;8BAClD,IAAI;6DAAC;qCAtBL,0BAA0B;IADtC,IAAA,iBAAM,EAAC,iBAAO,CAAC;GACH,0BAA0B,CAuBtC;AAEY,QAAA,gCAAgC,GAAG,wBAAa,CAAC,cAAc,CAC1E,0BAA0B,CAC3B,CAAC;AAEF,wCAAgC,CAAC,KAAK,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,SAAS,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC"}
|
|
@@ -7,11 +7,11 @@ export declare class WarehouseScale {
|
|
|
7
7
|
description: string;
|
|
8
8
|
status: string;
|
|
9
9
|
}
|
|
10
|
-
export declare const WarehouseScaleSchema: mongoose.Schema<WarehouseScale, mongoose.Model<WarehouseScale, any, any, any, mongoose.Document<unknown, any, WarehouseScale> & WarehouseScale & {
|
|
10
|
+
export declare const WarehouseScaleSchema: mongoose.Schema<WarehouseScale, mongoose.Model<WarehouseScale, any, any, any, mongoose.Document<unknown, any, WarehouseScale, any, {}> & WarehouseScale & {
|
|
11
11
|
_id: mongoose.Types.ObjectId;
|
|
12
12
|
} & {
|
|
13
13
|
__v: number;
|
|
14
|
-
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, WarehouseScale, mongoose.Document<unknown, {}, mongoose.FlatRecord<WarehouseScale>> & mongoose.FlatRecord<WarehouseScale> & {
|
|
14
|
+
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, WarehouseScale, mongoose.Document<unknown, {}, mongoose.FlatRecord<WarehouseScale>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<WarehouseScale> & {
|
|
15
15
|
_id: mongoose.Types.ObjectId;
|
|
16
16
|
} & {
|
|
17
17
|
__v: number;
|
|
@@ -4,11 +4,11 @@ export declare class WarehouseShipmentInfo {
|
|
|
4
4
|
shipmentId: mongoose.Schema.Types.ObjectId;
|
|
5
5
|
shipmentStatus: ShipmentStatus;
|
|
6
6
|
}
|
|
7
|
-
export declare const WarehouseShipmentInfoSchema: mongoose.Schema<WarehouseShipmentInfo, mongoose.Model<WarehouseShipmentInfo, any, any, any, mongoose.Document<unknown, any, WarehouseShipmentInfo> & WarehouseShipmentInfo & {
|
|
7
|
+
export declare const WarehouseShipmentInfoSchema: mongoose.Schema<WarehouseShipmentInfo, mongoose.Model<WarehouseShipmentInfo, any, any, any, mongoose.Document<unknown, any, WarehouseShipmentInfo, any, {}> & WarehouseShipmentInfo & {
|
|
8
8
|
_id: mongoose.Types.ObjectId;
|
|
9
9
|
} & {
|
|
10
10
|
__v: number;
|
|
11
|
-
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, WarehouseShipmentInfo, mongoose.Document<unknown, {}, mongoose.FlatRecord<WarehouseShipmentInfo>> & mongoose.FlatRecord<WarehouseShipmentInfo> & {
|
|
11
|
+
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, WarehouseShipmentInfo, mongoose.Document<unknown, {}, mongoose.FlatRecord<WarehouseShipmentInfo>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<WarehouseShipmentInfo> & {
|
|
12
12
|
_id: mongoose.Types.ObjectId;
|
|
13
13
|
} & {
|
|
14
14
|
__v: number;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import mongoose, { Document } from 'mongoose';
|
|
2
|
+
import { ShipmentStatus } from '../shipmentStatus.enum';
|
|
3
|
+
export declare class WarehouseDailySummary extends Document {
|
|
4
|
+
date: Date;
|
|
5
|
+
warehouseId: mongoose.Schema.Types.ObjectId;
|
|
6
|
+
collectionCompanyId: mongoose.Schema.Types.ObjectId;
|
|
7
|
+
totalShipments: number;
|
|
8
|
+
totalWeight: number;
|
|
9
|
+
totalExpectedWeight: number;
|
|
10
|
+
totalOrders: number;
|
|
11
|
+
averageWeightDifferencePercentage: number;
|
|
12
|
+
shipmentsByStatus: {
|
|
13
|
+
[key in ShipmentStatus]?: number;
|
|
14
|
+
};
|
|
15
|
+
shipmentIds: mongoose.Schema.Types.ObjectId[];
|
|
16
|
+
}
|
|
17
|
+
export declare const WarehouseDailySummarySchema: mongoose.Schema<WarehouseDailySummary, mongoose.Model<WarehouseDailySummary, any, any, any, mongoose.Document<unknown, any, WarehouseDailySummary, any, {}> & WarehouseDailySummary & Required<{
|
|
18
|
+
_id: unknown;
|
|
19
|
+
}> & {
|
|
20
|
+
__v: number;
|
|
21
|
+
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, WarehouseDailySummary, mongoose.Document<unknown, {}, mongoose.FlatRecord<WarehouseDailySummary>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<WarehouseDailySummary> & Required<{
|
|
22
|
+
_id: unknown;
|
|
23
|
+
}> & {
|
|
24
|
+
__v: number;
|
|
25
|
+
}>;
|
|
26
|
+
//# sourceMappingURL=dailySummary.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dailySummary.schema.d.ts","sourceRoot":"","sources":["../../../src/warehouse/summary/dailySummary.schema.ts"],"names":[],"mappings":"AACA,OAAO,QAAQ,EAAE,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAGxD,qBACa,qBAAsB,SAAQ,QAAQ;IAEjD,IAAI,EAAE,IAAI,CAAC;IAGX,WAAW,EAAE,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC;IAG5C,mBAAmB,EAAE,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC;IAGpD,cAAc,EAAE,MAAM,CAAC;IAGvB,WAAW,EAAE,MAAM,CAAC;IAGpB,mBAAmB,EAAE,MAAM,CAAC;IAG5B,WAAW,EAAE,MAAM,CAAC;IAGpB,iCAAiC,EAAE,MAAM,CAAC;IAG1C,iBAAiB,EAAE;SAChB,GAAG,IAAI,cAAc,CAAC,CAAC,EAAE,MAAM;KACjC,CAAC;IAGF,WAAW,EAAE,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC;CAC/C;AAED,eAAO,MAAM,2BAA2B;;;;;;;;EAAsD,CAAC"}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
19
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
20
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
21
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
22
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
23
|
+
};
|
|
24
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
25
|
+
var ownKeys = function(o) {
|
|
26
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
27
|
+
var ar = [];
|
|
28
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
29
|
+
return ar;
|
|
30
|
+
};
|
|
31
|
+
return ownKeys(o);
|
|
32
|
+
};
|
|
33
|
+
return function (mod) {
|
|
34
|
+
if (mod && mod.__esModule) return mod;
|
|
35
|
+
var result = {};
|
|
36
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
37
|
+
__setModuleDefault(result, mod);
|
|
38
|
+
return result;
|
|
39
|
+
};
|
|
40
|
+
})();
|
|
41
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
42
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
43
|
+
};
|
|
44
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
45
|
+
exports.WarehouseDailySummarySchema = exports.WarehouseDailySummary = void 0;
|
|
46
|
+
const mongoose_1 = require("@nestjs/mongoose");
|
|
47
|
+
const mongoose_2 = __importStar(require("mongoose"));
|
|
48
|
+
const options_1 = require("../../options");
|
|
49
|
+
let WarehouseDailySummary = class WarehouseDailySummary extends mongoose_2.Document {
|
|
50
|
+
};
|
|
51
|
+
exports.WarehouseDailySummary = WarehouseDailySummary;
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, mongoose_1.Prop)({ required: true }),
|
|
54
|
+
__metadata("design:type", Date)
|
|
55
|
+
], WarehouseDailySummary.prototype, "date", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, mongoose_1.Prop)({ type: mongoose_2.default.Schema.Types.ObjectId, ref: 'Warehouse' }),
|
|
58
|
+
__metadata("design:type", mongoose_2.default.Schema.Types.ObjectId)
|
|
59
|
+
], WarehouseDailySummary.prototype, "warehouseId", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, mongoose_1.Prop)({ type: mongoose_2.default.Schema.Types.ObjectId, ref: 'CollectionCompany' }),
|
|
62
|
+
__metadata("design:type", mongoose_2.default.Schema.Types.ObjectId)
|
|
63
|
+
], WarehouseDailySummary.prototype, "collectionCompanyId", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, mongoose_1.Prop)({ required: true, default: 0 }),
|
|
66
|
+
__metadata("design:type", Number)
|
|
67
|
+
], WarehouseDailySummary.prototype, "totalShipments", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, mongoose_1.Prop)({ required: true, default: 0 }),
|
|
70
|
+
__metadata("design:type", Number)
|
|
71
|
+
], WarehouseDailySummary.prototype, "totalWeight", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, mongoose_1.Prop)({ required: true, default: 0 }),
|
|
74
|
+
__metadata("design:type", Number)
|
|
75
|
+
], WarehouseDailySummary.prototype, "totalExpectedWeight", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
(0, mongoose_1.Prop)({ required: true, default: 0 }),
|
|
78
|
+
__metadata("design:type", Number)
|
|
79
|
+
], WarehouseDailySummary.prototype, "totalOrders", void 0);
|
|
80
|
+
__decorate([
|
|
81
|
+
(0, mongoose_1.Prop)({ required: true, default: 0 }),
|
|
82
|
+
__metadata("design:type", Number)
|
|
83
|
+
], WarehouseDailySummary.prototype, "averageWeightDifferencePercentage", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
(0, mongoose_1.Prop)({ type: Object, default: {} }),
|
|
86
|
+
__metadata("design:type", Object)
|
|
87
|
+
], WarehouseDailySummary.prototype, "shipmentsByStatus", void 0);
|
|
88
|
+
__decorate([
|
|
89
|
+
(0, mongoose_1.Prop)({ type: [mongoose_2.default.Schema.Types.ObjectId], default: [] }),
|
|
90
|
+
__metadata("design:type", Array)
|
|
91
|
+
], WarehouseDailySummary.prototype, "shipmentIds", void 0);
|
|
92
|
+
exports.WarehouseDailySummary = WarehouseDailySummary = __decorate([
|
|
93
|
+
(0, mongoose_1.Schema)(options_1.options)
|
|
94
|
+
], WarehouseDailySummary);
|
|
95
|
+
exports.WarehouseDailySummarySchema = mongoose_1.SchemaFactory.createForClass(WarehouseDailySummary);
|
|
96
|
+
exports.WarehouseDailySummarySchema.index({
|
|
97
|
+
date: 1,
|
|
98
|
+
warehouseId: 1,
|
|
99
|
+
collectionCompanyId: 1,
|
|
100
|
+
}, { unique: true });
|
|
101
|
+
exports.WarehouseDailySummarySchema.index({ date: 1 });
|
|
102
|
+
exports.WarehouseDailySummarySchema.index({ warehouseId: 1, date: -1 });
|
|
103
|
+
//# sourceMappingURL=dailySummary.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dailySummary.schema.js","sourceRoot":"","sources":["../../../src/warehouse/summary/dailySummary.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAA+D;AAC/D,qDAA8C;AAE9C,2CAAwC;AAGjC,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,mBAAQ;CAgClD,CAAA;AAhCY,sDAAqB;AAEhC;IADC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACnB,IAAI;mDAAC;AAGX;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,kBAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,EAAE,GAAG,EAAE,WAAW,EAAE,CAAC;8BACpD,kBAAQ,CAA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C;CACvB,EACD,EAAE,MAAM,EAAE,IAAI,EAAE,CACjB,CAAC;AAEF,mCAA2B,CAAC,KAAK,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC,CAAC;AAC/C,mCAA2B,CAAC,KAAK,CAAC,EAAE,WAAW,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import mongoose, { Document } from 'mongoose';
|
|
2
|
+
import { ShipmentStatus } from '../shipmentStatus.enum';
|
|
3
|
+
export declare class WarehouseMonthlySummary extends Document {
|
|
4
|
+
year: number;
|
|
5
|
+
month: number;
|
|
6
|
+
warehouseId: mongoose.Schema.Types.ObjectId;
|
|
7
|
+
collectionCompanyId: mongoose.Schema.Types.ObjectId;
|
|
8
|
+
totalShipments: number;
|
|
9
|
+
totalWeight: number;
|
|
10
|
+
totalExpectedWeight: number;
|
|
11
|
+
totalOrders: number;
|
|
12
|
+
averageWeightDifferencePercentage: number;
|
|
13
|
+
shipmentsByStatus: {
|
|
14
|
+
[key in ShipmentStatus]?: number;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
export declare const WarehouseMonthlySummarySchema: mongoose.Schema<WarehouseMonthlySummary, mongoose.Model<WarehouseMonthlySummary, any, any, any, mongoose.Document<unknown, any, WarehouseMonthlySummary, any, {}> & WarehouseMonthlySummary & Required<{
|
|
18
|
+
_id: unknown;
|
|
19
|
+
}> & {
|
|
20
|
+
__v: number;
|
|
21
|
+
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, WarehouseMonthlySummary, mongoose.Document<unknown, {}, mongoose.FlatRecord<WarehouseMonthlySummary>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<WarehouseMonthlySummary> & Required<{
|
|
22
|
+
_id: unknown;
|
|
23
|
+
}> & {
|
|
24
|
+
__v: number;
|
|
25
|
+
}>;
|
|
26
|
+
//# sourceMappingURL=monthlySummary.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"monthlySummary.schema.d.ts","sourceRoot":"","sources":["../../../src/warehouse/summary/monthlySummary.schema.ts"],"names":[],"mappings":"AACA,OAAO,QAAQ,EAAE,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAGxD,qBACa,uBAAwB,SAAQ,QAAQ;IAEnD,IAAI,EAAE,MAAM,CAAC;IAGb,KAAK,EAAE,MAAM,CAAC;IAGd,WAAW,EAAE,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC;IAG5C,mBAAmB,EAAE,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC;IAGpD,cAAc,EAAE,MAAM,CAAC;IAGvB,WAAW,EAAE,MAAM,CAAC;IAGpB,mBAAmB,EAAE,MAAM,CAAC;IAG5B,WAAW,EAAE,MAAM,CAAC;IAGpB,iCAAiC,EAAE,MAAM,CAAC;IAG1C,iBAAiB,EAAE;SAChB,GAAG,IAAI,cAAc,CAAC,CAAC,EAAE,MAAM;KACjC,CAAC;CACH;AAED,eAAO,MAAM,6BAA6B;;;;;;;;EAAwD,CAAC"}
|