@sildeswj/thechium-schema 9.5.1 → 9.6.0-refactor-schema.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.
Files changed (45) hide show
  1. package/dist/admin.schema.d.ts +2 -2
  2. package/dist/buyer/company.schema.d.ts +17 -0
  3. package/dist/buyer/company.schema.d.ts.map +1 -0
  4. package/dist/buyer/company.schema.js +55 -0
  5. package/dist/buyer/company.schema.js.map +1 -0
  6. package/dist/buyer/companyEmployee.schema.d.ts +19 -0
  7. package/dist/buyer/companyEmployee.schema.d.ts.map +1 -0
  8. package/dist/buyer/companyEmployee.schema.js +68 -0
  9. package/dist/buyer/companyEmployee.schema.js.map +1 -0
  10. package/dist/collectionCompany.schema.d.ts +2 -2
  11. package/dist/collectionCompanyEmployee.schema.d.ts +2 -2
  12. package/dist/collectionOrder.schema.d.ts +7 -4
  13. package/dist/collectionOrder.schema.d.ts.map +1 -1
  14. package/dist/collectionOrder.schema.js +51 -10
  15. package/dist/collectionOrder.schema.js.map +1 -1
  16. package/dist/collectionOrderPayment.schema.d.ts +2 -2
  17. package/dist/deliveryMan.schema.d.ts +2 -3
  18. package/dist/deliveryMan.schema.d.ts.map +1 -1
  19. package/dist/deliveryMan.schema.js +0 -11
  20. package/dist/deliveryMan.schema.js.map +1 -1
  21. package/dist/index.d.ts +3 -0
  22. package/dist/index.d.ts.map +1 -1
  23. package/dist/index.js +3 -0
  24. package/dist/index.js.map +1 -1
  25. package/dist/oilCanImage.schema.d.ts +2 -2
  26. package/dist/order.schema.d.ts +2 -2
  27. package/dist/passwordReset.schema.d.ts +17 -0
  28. package/dist/passwordReset.schema.d.ts.map +1 -0
  29. package/dist/passwordReset.schema.js +46 -0
  30. package/dist/passwordReset.schema.js.map +1 -0
  31. package/dist/payment.schema.d.ts +2 -2
  32. package/dist/phoneVerification.schema.d.ts +2 -2
  33. package/dist/pricing.schema.d.ts +2 -2
  34. package/dist/retailBrand.schema.d.ts +3 -2
  35. package/dist/retailBrand.schema.d.ts.map +1 -1
  36. package/dist/retailBrand.schema.js +4 -0
  37. package/dist/retailBrand.schema.js.map +1 -1
  38. package/dist/retailStore.schema.d.ts +5 -2
  39. package/dist/retailStore.schema.d.ts.map +1 -1
  40. package/dist/retailStore.schema.js +15 -0
  41. package/dist/retailStore.schema.js.map +1 -1
  42. package/dist/retailStoreEmployee.schema.d.ts +2 -2
  43. package/dist/subscriptionScheduling.schema.d.ts +2 -2
  44. package/dist/tossPaymentBillingKey.schema.d.ts +2 -2
  45. package/package.json +9 -8
@@ -6,11 +6,11 @@ export declare class Admin {
6
6
  refreshToken: string;
7
7
  status: string;
8
8
  }
9
- export declare const AdminSchema: import("mongoose").Schema<Admin, import("mongoose").Model<Admin, any, any, any, import("mongoose").Document<unknown, any, Admin> & Admin & {
9
+ export declare const AdminSchema: import("mongoose").Schema<Admin, import("mongoose").Model<Admin, any, any, any, import("mongoose").Document<unknown, any, Admin, any> & Admin & {
10
10
  _id: import("mongoose").Types.ObjectId;
11
11
  } & {
12
12
  __v: number;
13
- }, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Admin, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<Admin>> & import("mongoose").FlatRecord<Admin> & {
13
+ }, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Admin, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<Admin>, {}> & import("mongoose").FlatRecord<Admin> & {
14
14
  _id: import("mongoose").Types.ObjectId;
15
15
  } & {
16
16
  __v: number;
@@ -0,0 +1,17 @@
1
+ import mongoose from 'mongoose';
2
+ export declare class BuyerCompany {
3
+ name: string;
4
+ code: string;
5
+ subscriptionPlan: 'free' | 'pro' | 'master';
6
+ status: string;
7
+ }
8
+ export declare const BuyerCompanySchema: mongoose.Schema<BuyerCompany, mongoose.Model<BuyerCompany, any, any, any, mongoose.Document<unknown, any, BuyerCompany, any> & BuyerCompany & {
9
+ _id: mongoose.Types.ObjectId;
10
+ } & {
11
+ __v: number;
12
+ }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, BuyerCompany, mongoose.Document<unknown, {}, mongoose.FlatRecord<BuyerCompany>, {}> & mongoose.FlatRecord<BuyerCompany> & {
13
+ _id: mongoose.Types.ObjectId;
14
+ } & {
15
+ __v: number;
16
+ }>;
17
+ //# sourceMappingURL=company.schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"company.schema.d.ts","sourceRoot":"","sources":["../../src/buyer/company.schema.ts"],"names":[],"mappings":"AAEA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAEhC,qBACa,YAAY;IAEvB,IAAI,EAAE,MAAM,CAAC;IAGb,IAAI,EAAE,MAAM,CAAC;IAOb,gBAAgB,EAAE,MAAM,GAAG,KAAK,GAAG,QAAQ,CAAC;IAO5C,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,kBAAkB;;;;;;;;EAA6C,CAAC"}
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ 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;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.BuyerCompanySchema = exports.BuyerCompany = void 0;
13
+ const mongoose_1 = require("@nestjs/mongoose");
14
+ const options_1 = require("../options");
15
+ let BuyerCompany = class BuyerCompany {
16
+ };
17
+ exports.BuyerCompany = BuyerCompany;
18
+ __decorate([
19
+ (0, mongoose_1.Prop)({ required: true }),
20
+ __metadata("design:type", String)
21
+ ], BuyerCompany.prototype, "name", void 0);
22
+ __decorate([
23
+ (0, mongoose_1.Prop)({ required: true }),
24
+ __metadata("design:type", String)
25
+ ], BuyerCompany.prototype, "code", void 0);
26
+ __decorate([
27
+ (0, mongoose_1.Prop)({
28
+ required: false,
29
+ enum: ['free', 'pro', 'master'],
30
+ default: 'free',
31
+ }),
32
+ __metadata("design:type", String)
33
+ ], BuyerCompany.prototype, "subscriptionPlan", void 0);
34
+ __decorate([
35
+ (0, mongoose_1.Prop)({
36
+ required: true,
37
+ enum: ['active', 'deleted'],
38
+ default: 'active',
39
+ }),
40
+ __metadata("design:type", String)
41
+ ], BuyerCompany.prototype, "status", void 0);
42
+ exports.BuyerCompany = BuyerCompany = __decorate([
43
+ (0, mongoose_1.Schema)(options_1.options)
44
+ ], BuyerCompany);
45
+ exports.BuyerCompanySchema = mongoose_1.SchemaFactory.createForClass(BuyerCompany);
46
+ exports.BuyerCompanySchema.index({ code: 1 }, { unique: true });
47
+ exports.BuyerCompanySchema.index({ status: 1 });
48
+ exports.BuyerCompanySchema.index({ subscriptionPlan: 1 });
49
+ // Automatically exclude deleted records in all queries
50
+ exports.BuyerCompanySchema.pre(/^find/, function (next) {
51
+ const query = this;
52
+ query.setQuery(Object.assign(Object.assign({}, query.getFilter()), { status: { $ne: 'deleted' } }));
53
+ next();
54
+ });
55
+ //# sourceMappingURL=company.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"company.schema.js","sourceRoot":"","sources":["../../src/buyer/company.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAA+D;AAC/D,wCAAqC;AAI9B,IAAM,YAAY,GAAlB,MAAM,YAAY;CAoBxB,CAAA;AApBY,oCAAY;AAEvB;IADC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0CACZ;AAGb;IADC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0CACZ;AAOb;IALC,IAAA,eAAI,EAAC;QACJ,QAAQ,EAAE,KAAK;QACf,IAAI,EAAE,CAAC,MAAM,EAAE,KAAK,EAAE,QAAQ,CAAC;QAC/B,OAAO,EAAE,MAAM;KAChB,CAAC;;sDAC0C;AAO5C;IALC,IAAA,eAAI,EAAC;QACJ,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;QAC3B,OAAO,EAAE,QAAQ;KAClB,CAAC;;4CACa;uBAnBJ,YAAY;IADxB,IAAA,iBAAM,EAAC,iBAAO,CAAC;GACH,YAAY,CAoBxB;AAEY,QAAA,kBAAkB,GAAG,wBAAa,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC;AAE7E,0BAAkB,CAAC,KAAK,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;AACxD,0BAAkB,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC;AACxC,0BAAkB,CAAC,KAAK,CAAC,EAAE,gBAAgB,EAAE,CAAC,EAAE,CAAC,CAAC;AAElD,uDAAuD;AACvD,0BAAkB,CAAC,GAAG,CAAC,OAAO,EAAE,UAAU,IAAI;IAC5C,MAAM,KAAK,GAAG,IAAgC,CAAC;IAC/C,KAAK,CAAC,QAAQ,iCAAM,KAAK,CAAC,SAAS,EAAE,KAAE,MAAM,EAAE,EAAE,GAAG,EAAE,SAAS,EAAE,IAAG,CAAC;IACrE,IAAI,EAAE,CAAC;AACT,CAAC,CAAC,CAAC"}
@@ -0,0 +1,19 @@
1
+ import mongoose from 'mongoose';
2
+ export declare class BuyerCompanyEmployee {
3
+ name: string;
4
+ email: string;
5
+ password: string;
6
+ phoneNumber: string;
7
+ companyId: mongoose.Schema.Types.ObjectId;
8
+ status: string;
9
+ }
10
+ export declare const BuyerCompanyEmployeeSchema: mongoose.Schema<BuyerCompanyEmployee, mongoose.Model<BuyerCompanyEmployee, any, any, any, mongoose.Document<unknown, any, BuyerCompanyEmployee, any> & BuyerCompanyEmployee & {
11
+ _id: mongoose.Types.ObjectId;
12
+ } & {
13
+ __v: number;
14
+ }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, BuyerCompanyEmployee, mongoose.Document<unknown, {}, mongoose.FlatRecord<BuyerCompanyEmployee>, {}> & mongoose.FlatRecord<BuyerCompanyEmployee> & {
15
+ _id: mongoose.Types.ObjectId;
16
+ } & {
17
+ __v: number;
18
+ }>;
19
+ //# sourceMappingURL=companyEmployee.schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"companyEmployee.schema.d.ts","sourceRoot":"","sources":["../../src/buyer/companyEmployee.schema.ts"],"names":[],"mappings":"AAEA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAEhC,qBACa,oBAAoB;IAE/B,IAAI,EAAE,MAAM,CAAC;IAGb,KAAK,EAAE,MAAM,CAAC;IAGd,QAAQ,EAAE,MAAM,CAAC;IAGjB,WAAW,EAAE,MAAM,CAAC;IAMpB,SAAS,EAAE,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC;IAO1C,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,0BAA0B;;;;;;;;EAAqD,CAAC"}
@@ -0,0 +1,68 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ 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;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ var __importDefault = (this && this.__importDefault) || function (mod) {
12
+ return (mod && mod.__esModule) ? mod : { "default": mod };
13
+ };
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.BuyerCompanyEmployeeSchema = exports.BuyerCompanyEmployee = void 0;
16
+ const mongoose_1 = require("@nestjs/mongoose");
17
+ const options_1 = require("../options");
18
+ const mongoose_2 = __importDefault(require("mongoose"));
19
+ let BuyerCompanyEmployee = class BuyerCompanyEmployee {
20
+ };
21
+ exports.BuyerCompanyEmployee = BuyerCompanyEmployee;
22
+ __decorate([
23
+ (0, mongoose_1.Prop)({ required: true }),
24
+ __metadata("design:type", String)
25
+ ], BuyerCompanyEmployee.prototype, "name", void 0);
26
+ __decorate([
27
+ (0, mongoose_1.Prop)({ required: true }),
28
+ __metadata("design:type", String)
29
+ ], BuyerCompanyEmployee.prototype, "email", void 0);
30
+ __decorate([
31
+ (0, mongoose_1.Prop)({ required: true }),
32
+ __metadata("design:type", String)
33
+ ], BuyerCompanyEmployee.prototype, "password", void 0);
34
+ __decorate([
35
+ (0, mongoose_1.Prop)(),
36
+ __metadata("design:type", String)
37
+ ], BuyerCompanyEmployee.prototype, "phoneNumber", void 0);
38
+ __decorate([
39
+ (0, mongoose_1.Prop)({
40
+ required: true,
41
+ type: mongoose_2.default.Schema.Types.ObjectId,
42
+ }),
43
+ __metadata("design:type", mongoose_2.default.Schema.Types.ObjectId)
44
+ ], BuyerCompanyEmployee.prototype, "companyId", void 0);
45
+ __decorate([
46
+ (0, mongoose_1.Prop)({
47
+ required: true,
48
+ enum: ['active', 'deleted'],
49
+ default: 'active',
50
+ }),
51
+ __metadata("design:type", String)
52
+ ], BuyerCompanyEmployee.prototype, "status", void 0);
53
+ exports.BuyerCompanyEmployee = BuyerCompanyEmployee = __decorate([
54
+ (0, mongoose_1.Schema)(options_1.options)
55
+ ], BuyerCompanyEmployee);
56
+ exports.BuyerCompanyEmployeeSchema = mongoose_1.SchemaFactory.createForClass(BuyerCompanyEmployee);
57
+ exports.BuyerCompanyEmployeeSchema.index({ email: 1 }, { unique: true });
58
+ exports.BuyerCompanyEmployeeSchema.index({ companyId: 1 });
59
+ exports.BuyerCompanyEmployeeSchema.index({ status: 1 });
60
+ exports.BuyerCompanyEmployeeSchema.index({ companyId: 1, status: 1 });
61
+ exports.BuyerCompanyEmployeeSchema.index({ phoneNumber: 1 });
62
+ // Automatically exclude deleted records in all queries
63
+ exports.BuyerCompanyEmployeeSchema.pre(/^find/, function (next) {
64
+ const query = this;
65
+ query.setQuery(Object.assign(Object.assign({}, query.getFilter()), { status: { $ne: 'deleted' } }));
66
+ next();
67
+ });
68
+ //# sourceMappingURL=companyEmployee.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"companyEmployee.schema.js","sourceRoot":"","sources":["../../src/buyer/companyEmployee.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,+CAA+D;AAC/D,wCAAqC;AACrC,wDAAgC;AAGzB,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;CAyBhC,CAAA;AAzBY,oDAAoB;AAE/B;IADC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDACZ;AAGb;IADC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACX;AAGd;IADC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDACR;AAGjB;IADC,IAAA,eAAI,GAAE;;yDACa;AAMpB;IAJC,IAAA,eAAI,EAAC;QACJ,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,kBAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ;KACrC,CAAC;8BACS,kBAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ;uDAAC;AAO1C;IALC,IAAA,eAAI,EAAC;QACJ,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;QAC3B,OAAO,EAAE,QAAQ;KAClB,CAAC;;oDACa;+BAxBJ,oBAAoB;IADhC,IAAA,iBAAM,EAAC,iBAAO,CAAC;GACH,oBAAoB,CAyBhC;AAEY,QAAA,0BAA0B,GAAG,wBAAa,CAAC,cAAc,CAAC,oBAAoB,CAAC,CAAC;AAE7F,kCAA0B,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;AACjE,kCAA0B,CAAC,KAAK,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC,CAAC;AACnD,kCAA0B,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC;AAChD,kCAA0B,CAAC,KAAK,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC;AAC9D,kCAA0B,CAAC,KAAK,CAAC,EAAE,WAAW,EAAE,CAAC,EAAE,CAAC,CAAC;AAErD,uDAAuD;AACvD,kCAA0B,CAAC,GAAG,CAAC,OAAO,EAAE,UAAU,IAAI;IACpD,MAAM,KAAK,GAAG,IAAgC,CAAC;IAC/C,KAAK,CAAC,QAAQ,iCAAM,KAAK,CAAC,SAAS,EAAE,KAAE,MAAM,EAAE,EAAE,GAAG,EAAE,SAAS,EAAE,IAAG,CAAC;IACrE,IAAI,EAAE,CAAC;AACT,CAAC,CAAC,CAAC"}
@@ -8,11 +8,11 @@ export declare class CollectionCompany {
8
8
  subscriptionPlan: 'free' | 'pro' | 'master';
9
9
  status: string;
10
10
  }
11
- export declare const CollectionCompanySchema: mongoose.Schema<CollectionCompany, mongoose.Model<CollectionCompany, any, any, any, mongoose.Document<unknown, any, CollectionCompany> & CollectionCompany & {
11
+ export declare const CollectionCompanySchema: mongoose.Schema<CollectionCompany, mongoose.Model<CollectionCompany, any, any, any, mongoose.Document<unknown, any, CollectionCompany, any> & CollectionCompany & {
12
12
  _id: mongoose.Types.ObjectId;
13
13
  } & {
14
14
  __v: number;
15
- }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, CollectionCompany, mongoose.Document<unknown, {}, mongoose.FlatRecord<CollectionCompany>> & mongoose.FlatRecord<CollectionCompany> & {
15
+ }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, CollectionCompany, mongoose.Document<unknown, {}, mongoose.FlatRecord<CollectionCompany>, {}> & mongoose.FlatRecord<CollectionCompany> & {
16
16
  _id: mongoose.Types.ObjectId;
17
17
  } & {
18
18
  __v: number;
@@ -7,11 +7,11 @@ export declare class CollectionCompanyEmployee {
7
7
  collectionCompany: mongoose.Schema.Types.ObjectId;
8
8
  status: string;
9
9
  }
10
- export declare const CollectionCompanyEmployeeSchema: mongoose.Schema<CollectionCompanyEmployee, mongoose.Model<CollectionCompanyEmployee, any, any, any, mongoose.Document<unknown, any, CollectionCompanyEmployee> & CollectionCompanyEmployee & {
10
+ export declare const CollectionCompanyEmployeeSchema: mongoose.Schema<CollectionCompanyEmployee, mongoose.Model<CollectionCompanyEmployee, any, any, any, mongoose.Document<unknown, any, CollectionCompanyEmployee, any> & CollectionCompanyEmployee & {
11
11
  _id: mongoose.Types.ObjectId;
12
12
  } & {
13
13
  __v: number;
14
- }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, CollectionCompanyEmployee, mongoose.Document<unknown, {}, mongoose.FlatRecord<CollectionCompanyEmployee>> & mongoose.FlatRecord<CollectionCompanyEmployee> & {
14
+ }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, CollectionCompanyEmployee, mongoose.Document<unknown, {}, mongoose.FlatRecord<CollectionCompanyEmployee>, {}> & mongoose.FlatRecord<CollectionCompanyEmployee> & {
15
15
  _id: mongoose.Types.ObjectId;
16
16
  } & {
17
17
  __v: number;
@@ -1,6 +1,6 @@
1
1
  import mongoose, { Document } from 'mongoose';
2
- import { DeliveryMan } from './deliveryMan.schema';
3
2
  import { RetailStore } from './retailStore.schema';
3
+ import { RetailStoreEmployee } from './retailStoreEmployee.schema';
4
4
  import { CollectionCompany } from './collectionCompany.schema';
5
5
  import { RetailBrand } from './retailBrand.schema';
6
6
  import { OilCanImage } from './oilCanImage.schema';
@@ -20,8 +20,9 @@ export declare class CollectionOrder extends Document {
20
20
  pickupRequestDate: Date;
21
21
  signature: string;
22
22
  status: 'active' | 'deleted' | 'completed' | 'booking' | 'canceled';
23
- deliveryMan2: DeliveryMan;
23
+ deliveryMan2: any;
24
24
  retailStore2: RetailStore;
25
+ retailStoreEmployee: RetailStoreEmployee;
25
26
  retailBrand: RetailBrand;
26
27
  collectionCompany: CollectionCompany;
27
28
  deliveryMan: mongoose.Schema.Types.ObjectId;
@@ -33,6 +34,7 @@ export declare class CollectionOrder extends Document {
33
34
  newOilTotalPrice: number;
34
35
  newOilBrandName: string;
35
36
  pricePerKg: number;
37
+ Fresco: any;
36
38
  totalPrice: number;
37
39
  totalPriceSubtractedNewOilTotalPrice: number;
38
40
  kgPerCan: number;
@@ -42,12 +44,13 @@ export declare class CollectionOrder extends Document {
42
44
  measureOptions: MeasureOptions;
43
45
  oilCanImages?: OilCanImage[];
44
46
  collectionLocation?: CollectionLocation;
47
+ scaleType?: string;
45
48
  }
46
- export declare const CollectionOrderSchema: mongoose.Schema<CollectionOrder, mongoose.Model<CollectionOrder, any, any, any, mongoose.Document<unknown, any, CollectionOrder> & CollectionOrder & Required<{
49
+ export declare const CollectionOrderSchema: mongoose.Schema<CollectionOrder, mongoose.Model<CollectionOrder, any, any, any, mongoose.Document<unknown, any, CollectionOrder, any> & CollectionOrder & Required<{
47
50
  _id: unknown;
48
51
  }> & {
49
52
  __v: number;
50
- }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, CollectionOrder, mongoose.Document<unknown, {}, mongoose.FlatRecord<CollectionOrder>> & mongoose.FlatRecord<CollectionOrder> & Required<{
53
+ }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, CollectionOrder, mongoose.Document<unknown, {}, mongoose.FlatRecord<CollectionOrder>, {}> & mongoose.FlatRecord<CollectionOrder> & Required<{
51
54
  _id: unknown;
52
55
  }> & {
53
56
  __v: number;
@@ -1 +1 @@
1
- {"version":3,"file":"collectionOrder.schema.d.ts","sourceRoot":"","sources":["../src/collectionOrder.schema.ts"],"names":[],"mappings":"AAEA,OAAO,QAAQ,EAAE,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAqB,MAAM,sBAAsB,CAAC;AACtE,OAAO,EAAE,WAAW,EAAqB,MAAM,sBAAsB,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAA2B,MAAM,4BAA4B,CAAC;AACxF,OAAO,EAAE,WAAW,EAAqB,MAAM,sBAAsB,CAAC;AACtE,OAAO,EAAE,WAAW,EAAqB,MAAM,sBAAsB,CAAC;AACtE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,oBAAY,cAAc;IACxB,EAAE,OAAO;IACT,GAAG,QAAQ;IACX,KAAK,UAAU;CAChB;AAED,qBACa,eAAgB,SAAQ,QAAQ;IAG3C,WAAW,EAAE,MAAM,CAAC;IAIpB,gBAAgB,EAAE,MAAM,CAAC;IAIzB,sBAAsB,EAAE,MAAM,CAAC;IAI/B,kBAAkB,EAAE,MAAM,CAAC;IAG3B,wBAAwB,EAAE,MAAM,EAAE,CAAC;IAInC,UAAU,EAAE,IAAI,CAAC;IAIjB,iBAAiB,EAAE,IAAI,CAAC;IAIxB,SAAS,EAAE,MAAM,CAAC;IAQlB,MAAM,EAAE,QAAQ,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,UAAU,CAAC;IAIpE,YAAY,EAAE,WAAW,CAAC;IAI1B,YAAY,EAAE,WAAW,CAAC;IAG1B,WAAW,EAAE,WAAW,CAAC;IAIzB,iBAAiB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c,CAAC;IAG/B,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;IAG7B,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IAGxC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,qBAAqB;;;;;;;;EAAgD,CAAC"}
@@ -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 (mod) {
25
- if (mod && mod.__esModule) return mod;
26
- var result = {};
27
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
28
- __setModuleDefault(result, mod);
29
- return result;
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
  };
@@ -36,18 +46,41 @@ exports.CollectionOrderSchema = exports.CollectionOrder = exports.MeasureOptions
36
46
  const mongoose_1 = require("@nestjs/mongoose");
37
47
  const options_1 = require("./options");
38
48
  const mongoose_2 = __importStar(require("mongoose"));
39
- const deliveryMan_schema_1 = require("./deliveryMan.schema");
40
49
  const retailStore_schema_1 = require("./retailStore.schema");
50
+ const retailStoreEmployee_schema_1 = require("./retailStoreEmployee.schema");
41
51
  const collectionCompany_schema_1 = require("./collectionCompany.schema");
42
52
  const retailBrand_schema_1 = require("./retailBrand.schema");
43
53
  const oilCanImage_schema_1 = require("./oilCanImage.schema");
44
54
  const geoLocation_schema_1 = require("./geoLocation.schema");
55
+ const deliveryMan_schema_1 = require("./deliveryMan.schema");
45
56
  var MeasureOptions;
46
57
  (function (MeasureOptions) {
47
58
  MeasureOptions["Kg"] = "kg";
48
59
  MeasureOptions["Can"] = "can";
49
60
  MeasureOptions["Photo"] = "photo";
50
61
  })(MeasureOptions || (exports.MeasureOptions = MeasureOptions = {}));
62
+ const generateSubSchema = (schema, fieldsToExclude) => {
63
+ const schemaDefinition = schema.obj;
64
+ const subSchemaDefinition = {};
65
+ Object.keys(schemaDefinition).forEach((field) => {
66
+ if (!fieldsToExclude.includes(field)) {
67
+ subSchemaDefinition[field] = schemaDefinition[field];
68
+ }
69
+ });
70
+ return new mongoose_2.Schema(subSchemaDefinition);
71
+ };
72
+ const createDeliveryManSubSchema = () => {
73
+ const fieldsToExclude = [
74
+ 'password',
75
+ 'firebasePushToken',
76
+ 'referralId',
77
+ 'status',
78
+ 'koreanPromotionPoints',
79
+ ];
80
+ const subSchema = generateSubSchema(deliveryMan_schema_1.DeliveryManSchema, fieldsToExclude);
81
+ return subSchema;
82
+ };
83
+ const DeliveryManSubSchemaSchema = createDeliveryManSubSchema();
51
84
  let CollectionOrder = class CollectionOrder extends mongoose_2.Document {
52
85
  };
53
86
  exports.CollectionOrder = CollectionOrder;
@@ -92,13 +125,17 @@ __decorate([
92
125
  __metadata("design:type", String)
93
126
  ], CollectionOrder.prototype, "status", void 0);
94
127
  __decorate([
95
- (0, mongoose_1.Prop)({ type: deliveryMan_schema_1.DeliveryManSchema }),
96
- __metadata("design:type", deliveryMan_schema_1.DeliveryMan)
128
+ (0, mongoose_1.Prop)({ type: DeliveryManSubSchemaSchema }),
129
+ __metadata("design:type", Object)
97
130
  ], CollectionOrder.prototype, "deliveryMan2", void 0);
98
131
  __decorate([
99
132
  (0, mongoose_1.Prop)({ type: retailStore_schema_1.RetailStoreSchema }),
100
133
  __metadata("design:type", retailStore_schema_1.RetailStore)
101
134
  ], CollectionOrder.prototype, "retailStore2", void 0);
135
+ __decorate([
136
+ (0, mongoose_1.Prop)({ type: retailStoreEmployee_schema_1.RetailStoreEmployeeSchema }),
137
+ __metadata("design:type", retailStoreEmployee_schema_1.RetailStoreEmployee)
138
+ ], CollectionOrder.prototype, "retailStoreEmployee", void 0);
102
139
  __decorate([
103
140
  (0, mongoose_1.Prop)({ type: retailBrand_schema_1.RetailBrandSchema }),
104
141
  __metadata("design:type", retailBrand_schema_1.RetailBrand)
@@ -194,6 +231,10 @@ __decorate([
194
231
  (0, mongoose_1.Prop)({ type: geoLocation_schema_1.CollectionLocation, required: false }),
195
232
  __metadata("design:type", geoLocation_schema_1.CollectionLocation)
196
233
  ], CollectionOrder.prototype, "collectionLocation", void 0);
234
+ __decorate([
235
+ (0, mongoose_1.Prop)(),
236
+ __metadata("design:type", String)
237
+ ], CollectionOrder.prototype, "scaleType", void 0);
197
238
  exports.CollectionOrder = CollectionOrder = __decorate([
198
239
  (0, mongoose_1.Schema)(options_1.options)
199
240
  ], CollectionOrder);
@@ -1 +1 @@
1
- {"version":3,"file":"collectionOrder.schema.js","sourceRoot":"","sources":["../src/collectionOrder.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAA+D;AAC/D,uCAAoC;AACpC,qDAA8C;AAC9C,6DAAsE;AACtE,6DAAsE;AACtE,yEAAwF;AACxF,6DAAsE;AACtE,6DAAsE;AACtE,6DAA0D;AAE1D,IAAY,cAIX;AAJD,WAAY,cAAc;IACxB,2BAAS,CAAA;IACT,6BAAW,CAAA;IACX,iCAAe,CAAA;AACjB,CAAC,EAJW,cAAc,8BAAd,cA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nF,6BAAqB,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC;AAC3C,6BAAqB,CAAC,KAAK,CAAC,EAAE,iBAAiB,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;AACvD,6BAAqB,CAAC,KAAK,CAAC,EAAE,iBAAiB,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC;AACjE,6BAAqB,CAAC,KAAK,CAAC,EAAE,cAAc,EAAE,CAAC,EAAE,CAAC,CAAC;AACnD,6BAAqB,CAAC,KAAK,CAAC,EAAE,UAAU,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;AAChD,6BAAqB,CAAC,KAAK,CAAC,EAAE,mBAAmB,EAAE,CAAC,EAAE,CAAC,CAAC;AACxD,6BAAqB,CAAC,KAAK,CAAC,EAAE,mBAAmB,EAAE,CAAC,EAAE,CAAC,CAAC;AAExD,uDAAuD;AACvD,6BAAqB,CAAC,GAAG,CAAC,OAAO,EAAE,UAAU,IAAI;IAC/C,MAAM,KAAK,GAAG,IAAgC,CAAC;IAC/C,KAAK,CAAC,QAAQ,iCAAM,KAAK,CAAC,SAAS,EAAE,KAAE,MAAM,EAAE,EAAE,GAAG,EAAE,SAAS,EAAE,IAAG,CAAC;IACrE,IAAI,EAAE,CAAC;AACT,CAAC,CAAC,CAAC"}
@@ -4,11 +4,11 @@ export declare class CollectionOrderPayment {
4
4
  totalAmount: number;
5
5
  status: string;
6
6
  }
7
- export declare const CollectionOrderPaymentSchema: mongoose.Schema<CollectionOrderPayment, mongoose.Model<CollectionOrderPayment, any, any, any, mongoose.Document<unknown, any, CollectionOrderPayment> & CollectionOrderPayment & {
7
+ export declare const CollectionOrderPaymentSchema: mongoose.Schema<CollectionOrderPayment, mongoose.Model<CollectionOrderPayment, any, any, any, mongoose.Document<unknown, any, CollectionOrderPayment, any> & CollectionOrderPayment & {
8
8
  _id: mongoose.Types.ObjectId;
9
9
  } & {
10
10
  __v: number;
11
- }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, CollectionOrderPayment, mongoose.Document<unknown, {}, mongoose.FlatRecord<CollectionOrderPayment>> & mongoose.FlatRecord<CollectionOrderPayment> & {
11
+ }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, CollectionOrderPayment, mongoose.Document<unknown, {}, mongoose.FlatRecord<CollectionOrderPayment>, {}> & mongoose.FlatRecord<CollectionOrderPayment> & {
12
12
  _id: mongoose.Types.ObjectId;
13
13
  } & {
14
14
  __v: number;
@@ -6,15 +6,14 @@ export declare class DeliveryMan {
6
6
  password: string;
7
7
  firebasePushToken: string[];
8
8
  koreanPromotionPoints?: number;
9
- collectionCompany: mongoose.Schema.Types.ObjectId;
10
9
  referralId: string;
11
10
  status: string;
12
11
  }
13
- export declare const DeliveryManSchema: mongoose.Schema<DeliveryMan, mongoose.Model<DeliveryMan, any, any, any, mongoose.Document<unknown, any, DeliveryMan> & DeliveryMan & {
12
+ export declare const DeliveryManSchema: mongoose.Schema<DeliveryMan, mongoose.Model<DeliveryMan, any, any, any, mongoose.Document<unknown, any, DeliveryMan, any> & DeliveryMan & {
14
13
  _id: mongoose.Types.ObjectId;
15
14
  } & {
16
15
  __v: number;
17
- }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, DeliveryMan, mongoose.Document<unknown, {}, mongoose.FlatRecord<DeliveryMan>> & mongoose.FlatRecord<DeliveryMan> & {
16
+ }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, DeliveryMan, mongoose.Document<unknown, {}, mongoose.FlatRecord<DeliveryMan>, {}> & mongoose.FlatRecord<DeliveryMan> & {
18
17
  _id: mongoose.Types.ObjectId;
19
18
  } & {
20
19
  __v: number;
@@ -1 +1 @@
1
- {"version":3,"file":"deliveryMan.schema.d.ts","sourceRoot":"","sources":["../src/deliveryMan.schema.ts"],"names":[],"mappings":"AAEA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAEhC,qBACa,WAAW;IAEtB,IAAI,EAAE,MAAM,CAAC;IAGb,WAAW,EAAE,MAAM,CAAC;IAGpB,eAAe,EAAE,MAAM,CAAC;IAGxB,QAAQ,EAAE,MAAM,CAAC;IAGjB,iBAAiB,EAAE,MAAM,EAAE,CAAC;IAI5B,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAO/B,iBAAiB,EAAE,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC;IAGlD,UAAU,EAAE,MAAM,CAAC;IAOnB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,iBAAiB;;;;;;;;EAA4C,CAAC"}
1
+ {"version":3,"file":"deliveryMan.schema.d.ts","sourceRoot":"","sources":["../src/deliveryMan.schema.ts"],"names":[],"mappings":"AAEA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAEhC,qBACa,WAAW;IAEtB,IAAI,EAAE,MAAM,CAAC;IAGb,WAAW,EAAE,MAAM,CAAC;IAGpB,eAAe,EAAE,MAAM,CAAC;IAGxB,QAAQ,EAAE,MAAM,CAAC;IAGjB,iBAAiB,EAAE,MAAM,EAAE,CAAC;IAI5B,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAU/B,UAAU,EAAE,MAAM,CAAC;IAOnB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,iBAAiB;;;;;;;;EAA4C,CAAC"}
@@ -8,14 +8,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
8
8
  var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
- var __importDefault = (this && this.__importDefault) || function (mod) {
12
- return (mod && mod.__esModule) ? mod : { "default": mod };
13
- };
14
11
  Object.defineProperty(exports, "__esModule", { value: true });
15
12
  exports.DeliveryManSchema = exports.DeliveryMan = void 0;
16
13
  const mongoose_1 = require("@nestjs/mongoose");
17
14
  const options_1 = require("./options");
18
- const mongoose_2 = __importDefault(require("mongoose"));
19
15
  let DeliveryMan = class DeliveryMan {
20
16
  };
21
17
  exports.DeliveryMan = DeliveryMan;
@@ -43,13 +39,6 @@ __decorate([
43
39
  (0, mongoose_1.Prop)({ required: false }),
44
40
  __metadata("design:type", Number)
45
41
  ], DeliveryMan.prototype, "koreanPromotionPoints", void 0);
46
- __decorate([
47
- (0, mongoose_1.Prop)({
48
- required: false,
49
- type: mongoose_2.default.Schema.Types.ObjectId,
50
- }),
51
- __metadata("design:type", mongoose_2.default.Schema.Types.ObjectId)
52
- ], DeliveryMan.prototype, "collectionCompany", void 0);
53
42
  __decorate([
54
43
  (0, mongoose_1.Prop)({ required: true }),
55
44
  __metadata("design:type", String)
@@ -1 +1 @@
1
- {"version":3,"file":"deliveryMan.schema.js","sourceRoot":"","sources":["../src/deliveryMan.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,+CAA+D;AAC/D,uCAAoC;AACpC,wDAAgC;AAGzB,IAAM,WAAW,GAAjB,MAAM,WAAW;CAoCvB,CAAA;AApCY,kCAAW;AAEtB;IADC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yCACZ;AAGb;IADC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC;;gDAClC;AAGpB;IADC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;oDACF;AAGxB;IADC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6CACR;AAGjB;IADC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;sDACE;AAI5B;IADC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;0DACK;AAO/B;IAJC,IAAA,eAAI,EAAC;QACJ,QAAQ,EAAE,KAAK;QACf,IAAI,EAAE,kBAAQ,C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C/C,KAAK,CAAC,QAAQ,iCAAM,KAAK,CAAC,SAAS,EAAE,KAAE,MAAM,EAAE,EAAE,GAAG,EAAE,SAAS,EAAE,IAAG,CAAC;IACrE,IAAI,EAAE,CAAC;AACT,CAAC,CAAC,CAAC"}
package/dist/index.d.ts CHANGED
@@ -12,4 +12,7 @@ export * from './payment.schema';
12
12
  export * from './tossPaymentBillingKey.schema';
13
13
  export * from './phoneVerification.schema';
14
14
  export * from './collectionOrderPayment.schema';
15
+ export * from './buyer/company.schema';
16
+ export * from './buyer/companyEmployee.schema';
17
+ export * from './passwordReset.schema';
15
18
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oCAAoC,CAAC;AACnD,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iCAAiC,CAAC;AAChD,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iCAAiC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oCAAoC,CAAC;AACnD,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iCAAiC,CAAC;AAChD,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iCAAiC,CAAC;AAChD,cAAc,wBAAwB,CAAC;AACvC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,wBAAwB,CAAC"}
package/dist/index.js CHANGED
@@ -30,4 +30,7 @@ __exportStar(require("./payment.schema"), exports);
30
30
  __exportStar(require("./tossPaymentBillingKey.schema"), exports);
31
31
  __exportStar(require("./phoneVerification.schema"), exports);
32
32
  __exportStar(require("./collectionOrderPayment.schema"), exports);
33
+ __exportStar(require("./buyer/company.schema"), exports);
34
+ __exportStar(require("./buyer/companyEmployee.schema"), exports);
35
+ __exportStar(require("./passwordReset.schema"), exports);
33
36
  //# 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,4CAA4C;AAC5C,6CAA6C;;;;;;;;;;;;;;;;AAE7C,6DAA2C;AAC3C,iDAA+B;AAC/B,qEAAmD;AACnD,2DAAyC;AACzC,uDAAqC;AACrC,uDAAqC;AACrC,uDAAqC;AACrC,+DAA6C;AAC7C,kEAAgD;AAChD,iDAA+B;AAC/B,mDAAiC;AACjC,iEAA+C;AAC/C,6DAA2C;AAC3C,kEAAgD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,4CAA4C;AAC5C,6CAA6C;;;;;;;;;;;;;;;;AAE7C,6DAA2C;AAC3C,iDAA+B;AAC/B,qEAAmD;AACnD,2DAAyC;AACzC,uDAAqC;AACrC,uDAAqC;AACrC,uDAAqC;AACrC,+DAA6C;AAC7C,kEAAgD;AAChD,iDAA+B;AAC/B,mDAAiC;AACjC,iEAA+C;AAC/C,6DAA2C;AAC3C,kEAAgD;AAChD,yDAAuC;AACvC,iEAA+C;AAC/C,yDAAuC"}
@@ -2,11 +2,11 @@ export declare class OilCanImage {
2
2
  imageUrl: string;
3
3
  qrId?: string;
4
4
  }
5
- export declare const OilCanImageSchema: import("mongoose").Schema<OilCanImage, import("mongoose").Model<OilCanImage, any, any, any, import("mongoose").Document<unknown, any, OilCanImage> & OilCanImage & {
5
+ export declare const OilCanImageSchema: import("mongoose").Schema<OilCanImage, import("mongoose").Model<OilCanImage, any, any, any, import("mongoose").Document<unknown, any, OilCanImage, any> & OilCanImage & {
6
6
  _id: import("mongoose").Types.ObjectId;
7
7
  } & {
8
8
  __v: number;
9
- }, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, OilCanImage, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<OilCanImage>> & import("mongoose").FlatRecord<OilCanImage> & {
9
+ }, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, OilCanImage, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<OilCanImage>, {}> & import("mongoose").FlatRecord<OilCanImage> & {
10
10
  _id: import("mongoose").Types.ObjectId;
11
11
  } & {
12
12
  __v: number;
@@ -6,11 +6,11 @@ export declare class Order {
6
6
  payAmount: number;
7
7
  status: 'active' | 'deleted' | 'pending' | 'completed' | 'canceled';
8
8
  }
9
- export declare const OrderSchema: mongoose.Schema<Order, mongoose.Model<Order, any, any, any, mongoose.Document<unknown, any, Order> & Order & {
9
+ export declare const OrderSchema: mongoose.Schema<Order, mongoose.Model<Order, any, any, any, mongoose.Document<unknown, any, Order, any> & Order & {
10
10
  _id: mongoose.Types.ObjectId;
11
11
  } & {
12
12
  __v: number;
13
- }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, Order, mongoose.Document<unknown, {}, mongoose.FlatRecord<Order>> & mongoose.FlatRecord<Order> & {
13
+ }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, Order, mongoose.Document<unknown, {}, mongoose.FlatRecord<Order>, {}> & mongoose.FlatRecord<Order> & {
14
14
  _id: mongoose.Types.ObjectId;
15
15
  } & {
16
16
  __v: number;
@@ -0,0 +1,17 @@
1
+ export declare class PasswordReset {
2
+ email: string;
3
+ token: string;
4
+ userId: string;
5
+ isUsed: boolean;
6
+ expiresAt: Date;
7
+ }
8
+ export declare const PasswordResetSchema: import("mongoose").Schema<PasswordReset, import("mongoose").Model<PasswordReset, any, any, any, import("mongoose").Document<unknown, any, PasswordReset, any> & PasswordReset & {
9
+ _id: import("mongoose").Types.ObjectId;
10
+ } & {
11
+ __v: number;
12
+ }, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, PasswordReset, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<PasswordReset>, {}> & import("mongoose").FlatRecord<PasswordReset> & {
13
+ _id: import("mongoose").Types.ObjectId;
14
+ } & {
15
+ __v: number;
16
+ }>;
17
+ //# sourceMappingURL=passwordReset.schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"passwordReset.schema.d.ts","sourceRoot":"","sources":["../src/passwordReset.schema.ts"],"names":[],"mappings":"AAGA,qBACa,aAAa;IAExB,KAAK,EAAE,MAAM,CAAC;IAGd,KAAK,EAAE,MAAM,CAAC;IAGd,MAAM,EAAE,MAAM,CAAC;IAGf,MAAM,EAAE,OAAO,CAAC;IAOhB,SAAS,EAAE,IAAI,CAAC;CACjB;AAED,eAAO,MAAM,mBAAmB;;;;;;;;EAA8C,CAAC"}
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ 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;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.PasswordResetSchema = exports.PasswordReset = void 0;
13
+ const mongoose_1 = require("@nestjs/mongoose");
14
+ const options_1 = require("./options");
15
+ let PasswordReset = class PasswordReset {
16
+ };
17
+ exports.PasswordReset = PasswordReset;
18
+ __decorate([
19
+ (0, mongoose_1.Prop)({ required: true }),
20
+ __metadata("design:type", String)
21
+ ], PasswordReset.prototype, "email", void 0);
22
+ __decorate([
23
+ (0, mongoose_1.Prop)({ required: true, unique: true }),
24
+ __metadata("design:type", String)
25
+ ], PasswordReset.prototype, "token", void 0);
26
+ __decorate([
27
+ (0, mongoose_1.Prop)({ required: true }),
28
+ __metadata("design:type", String)
29
+ ], PasswordReset.prototype, "userId", void 0);
30
+ __decorate([
31
+ (0, mongoose_1.Prop)({ default: false }),
32
+ __metadata("design:type", Boolean)
33
+ ], PasswordReset.prototype, "isUsed", void 0);
34
+ __decorate([
35
+ (0, mongoose_1.Prop)({
36
+ required: true,
37
+ default: () => new Date(Date.now() + 24 * 60 * 60 * 1000), // 24 hours
38
+ index: { expireAfterSeconds: 0 },
39
+ }),
40
+ __metadata("design:type", Date)
41
+ ], PasswordReset.prototype, "expiresAt", void 0);
42
+ exports.PasswordReset = PasswordReset = __decorate([
43
+ (0, mongoose_1.Schema)(options_1.options)
44
+ ], PasswordReset);
45
+ exports.PasswordResetSchema = mongoose_1.SchemaFactory.createForClass(PasswordReset);
46
+ //# sourceMappingURL=passwordReset.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"passwordReset.schema.js","sourceRoot":"","sources":["../src/passwordReset.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAA+D;AAC/D,uCAAoC;AAG7B,IAAM,aAAa,GAAnB,MAAM,aAAa;CAmBzB,CAAA;AAnBY,sCAAa;AAExB;IADC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4CACX;AAGd;IADC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;4CACzB;AAGd;IADC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6CACV;AAGf;IADC,IAAA,eAAI,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;6CACT;AAOhB;IALC,IAAA,eAAI,EAAC;QACJ,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,EAAE,WAAW;QACtE,KAAK,EAAE,EAAE,kBAAkB,EAAE,CAAC,EAAE;KACjC,CAAC;8BACS,IAAI;gDAAC;wBAlBL,aAAa;IADzB,IAAA,iBAAM,EAAC,iBAAO,CAAC;GACH,aAAa,CAmBzB;AAEY,QAAA,mBAAmB,GAAG,wBAAa,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC"}
@@ -6,11 +6,11 @@ export declare class Payment {
6
6
  paymentMethod: string;
7
7
  status: string;
8
8
  }
9
- export declare const PaymentSchema: mongoose.Schema<Payment, mongoose.Model<Payment, any, any, any, mongoose.Document<unknown, any, Payment> & Payment & {
9
+ export declare const PaymentSchema: mongoose.Schema<Payment, mongoose.Model<Payment, any, any, any, mongoose.Document<unknown, any, Payment, any> & Payment & {
10
10
  _id: mongoose.Types.ObjectId;
11
11
  } & {
12
12
  __v: number;
13
- }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, Payment, mongoose.Document<unknown, {}, mongoose.FlatRecord<Payment>> & mongoose.FlatRecord<Payment> & {
13
+ }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, Payment, mongoose.Document<unknown, {}, mongoose.FlatRecord<Payment>, {}> & mongoose.FlatRecord<Payment> & {
14
14
  _id: mongoose.Types.ObjectId;
15
15
  } & {
16
16
  __v: number;
@@ -4,11 +4,11 @@ export declare class PhoneVerification {
4
4
  code: string;
5
5
  expiresAt: Date;
6
6
  }
7
- export declare const PhoneVerificationSchema: import("mongoose").Schema<PhoneVerification, import("mongoose").Model<PhoneVerification, any, any, any, import("mongoose").Document<unknown, any, PhoneVerification> & PhoneVerification & {
7
+ export declare const PhoneVerificationSchema: import("mongoose").Schema<PhoneVerification, import("mongoose").Model<PhoneVerification, any, any, any, import("mongoose").Document<unknown, any, PhoneVerification, any> & PhoneVerification & {
8
8
  _id: import("mongoose").Types.ObjectId;
9
9
  } & {
10
10
  __v: number;
11
- }, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, PhoneVerification, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<PhoneVerification>> & import("mongoose").FlatRecord<PhoneVerification> & {
11
+ }, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, PhoneVerification, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<PhoneVerification>, {}> & import("mongoose").FlatRecord<PhoneVerification> & {
12
12
  _id: import("mongoose").Types.ObjectId;
13
13
  } & {
14
14
  __v: number;
@@ -9,11 +9,11 @@ export declare class Pricing {
9
9
  priceEndDate: Date;
10
10
  status: string;
11
11
  }
12
- export declare const PricingSchema: mongoose.Schema<Pricing, mongoose.Model<Pricing, any, any, any, mongoose.Document<unknown, any, Pricing> & Pricing & {
12
+ export declare const PricingSchema: mongoose.Schema<Pricing, mongoose.Model<Pricing, any, any, any, mongoose.Document<unknown, any, Pricing, any> & Pricing & {
13
13
  _id: mongoose.Types.ObjectId;
14
14
  } & {
15
15
  __v: number;
16
- }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, Pricing, mongoose.Document<unknown, {}, mongoose.FlatRecord<Pricing>> & mongoose.FlatRecord<Pricing> & {
16
+ }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, Pricing, mongoose.Document<unknown, {}, mongoose.FlatRecord<Pricing>, {}> & mongoose.FlatRecord<Pricing> & {
17
17
  _id: mongoose.Types.ObjectId;
18
18
  } & {
19
19
  __v: number;
@@ -7,15 +7,16 @@ export declare class RetailBrand {
7
7
  creator: mongoose.Schema.Types.ObjectId;
8
8
  brandPriceSetting: boolean;
9
9
  pricingDetails: Pricing[];
10
+ newOilPricingDetails: Pricing[];
10
11
  loginId: string;
11
12
  password: string;
12
13
  status: string;
13
14
  }
14
- export declare const RetailBrandSchema: mongoose.Schema<RetailBrand, mongoose.Model<RetailBrand, any, any, any, mongoose.Document<unknown, any, RetailBrand> & RetailBrand & {
15
+ export declare const RetailBrandSchema: mongoose.Schema<RetailBrand, mongoose.Model<RetailBrand, any, any, any, mongoose.Document<unknown, any, RetailBrand, any> & RetailBrand & {
15
16
  _id: mongoose.Types.ObjectId;
16
17
  } & {
17
18
  __v: number;
18
- }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, RetailBrand, mongoose.Document<unknown, {}, mongoose.FlatRecord<RetailBrand>> & mongoose.FlatRecord<RetailBrand> & {
19
+ }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, RetailBrand, mongoose.Document<unknown, {}, mongoose.FlatRecord<RetailBrand>, {}> & mongoose.FlatRecord<RetailBrand> & {
19
20
  _id: mongoose.Types.ObjectId;
20
21
  } & {
21
22
  __v: number;
@@ -1 +1 @@
1
- {"version":3,"file":"retailBrand.schema.d.ts","sourceRoot":"","sources":["../src/retailBrand.schema.ts"],"names":[],"mappings":"AAEA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,OAAO,EAAiB,MAAM,kBAAkB,CAAC;AAE1D,qBACa,WAAW;IAEtB,IAAI,EAAE,MAAM,CAAC;IAOb,iBAAiB,EAAE,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC;IAMlD,mBAAmB,EAAE,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC;IAOtD,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC;IAGxC,iBAAiB,EAAE,OAAO,CAAC;IAG3B,cAAc,EAAE,OAAO,EAAE,CAAC;IAG1B,OAAO,EAAE,MAAM,CAAC;IAGhB,QAAQ,EAAE,MAAM,CAAC;IAOjB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,iBAAiB;;;;;;;;EAA4C,CAAC"}
1
+ {"version":3,"file":"retailBrand.schema.d.ts","sourceRoot":"","sources":["../src/retailBrand.schema.ts"],"names":[],"mappings":"AAEA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,OAAO,EAAiB,MAAM,kBAAkB,CAAC;AAE1D,qBACa,WAAW;IAEtB,IAAI,EAAE,MAAM,CAAC;IAOb,iBAAiB,EAAE,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC;IAMlD,mBAAmB,EAAE,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC;IAOtD,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC;IAGxC,iBAAiB,EAAE,OAAO,CAAC;IAG3B,cAAc,EAAE,OAAO,EAAE,CAAC;IAG1B,oBAAoB,EAAE,OAAO,EAAE,CAAC;IAGhC,OAAO,EAAE,MAAM,CAAC;IAGhB,QAAQ,EAAE,MAAM,CAAC;IAOjB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,iBAAiB;;;;;;;;EAA4C,CAAC"}
@@ -53,6 +53,10 @@ __decorate([
53
53
  (0, mongoose_1.Prop)({ type: [pricing_schema_1.PricingSchema], required: false }),
54
54
  __metadata("design:type", Array)
55
55
  ], RetailBrand.prototype, "pricingDetails", void 0);
56
+ __decorate([
57
+ (0, mongoose_1.Prop)({ type: [pricing_schema_1.PricingSchema], required: false }),
58
+ __metadata("design:type", Array)
59
+ ], RetailBrand.prototype, "newOilPricingDetails", void 0);
56
60
  __decorate([
57
61
  (0, mongoose_1.Prop)({ required: false, maxlength: 20 }),
58
62
  __metadata("design:type", String)
@@ -1 +1 @@
1
- {"version":3,"file":"retailBrand.schema.js","sourceRoot":"","sources":["../src/retailBrand.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,+CAA+D;AAC/D,uCAAoC;AACpC,wDAAgC;AAChC,qDAA0D;AAGnD,IAAM,WAAW,GAAjB,MAAM,WAAW;CA0CvB,CAAA;AA1CY,kCAAW;AAEtB;IADC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC;;yCAC1C;AAOb;IAJC,IAAA,eAAI,EAAC;QACJ,QAAQ,EAAE,KAAK;QACf,IAAI,EAAE,kBAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ;KACrC,CAAC;8BACiB,kBAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ;sDAAC;AAMlD;IAJC,IAAA,eAAI,EAAC;QACJ,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,CAAC,kBAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC;KACvC,CAAC;;wDACoD;AAOtD;IAJC,IAAA,eAAI,EAAC;QACJ,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,kBAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ;KACrC,CAAC;8BACO,kBAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ;4CAAC;AAGxC;IADC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;sDACC;AAG3B;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,CAAC,8BAAa,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;mDACvB;AAG1B;IADC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE,EAA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IAAI,EAAE,CAAC;AACT,CAAC,CAAC,CAAC"}
@@ -12,6 +12,7 @@ export declare class RetailStore {
12
12
  region: string;
13
13
  countryCode: string;
14
14
  geolocation: Geolocation;
15
+ geolocationFailedCount: number;
15
16
  collectionCompany: mongoose.Schema.Types.ObjectId;
16
17
  deliveryMan: mongoose.Schema.Types.ObjectId;
17
18
  pricePerKg: number;
@@ -21,13 +22,15 @@ export declare class RetailStore {
21
22
  phoneNumber: string;
22
23
  pricingDetails: Pricing[];
23
24
  newOilPricingDetails: Pricing[];
25
+ businessStatus: string;
26
+ businessRegistrationNumber: string;
24
27
  status: string;
25
28
  }
26
- 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 & {
27
30
  _id: mongoose.Types.ObjectId;
28
31
  } & {
29
32
  __v: number;
30
- }, 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.FlatRecord<RetailStore> & {
31
34
  _id: mongoose.Types.ObjectId;
32
35
  } & {
33
36
  __v: number;
@@ -1 +1 @@
1
- {"version":3,"file":"retailStore.schema.d.ts","sourceRoot":"","sources":["../src/retailStore.schema.ts"],"names":[],"mappings":"AAEA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,OAAO,EAAiB,MAAM,kBAAkB,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEnD,qBACa,WAAW;IAKtB,WAAW,EAAE,QAAQ,CAAC,MAAM,C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M,CAAC;IAGhB,cAAc,EAAE,MAAM,CAAC;IAGvB,MAAM,EAAE,MAAM,CAAC;IAGf,WAAW,EAAE,MAAM,CAAC;IAGpB,WAAW,EAAE,WAAW,CAAC;IAGzB,sBAAsB,EAAE,MAAM,CAAC;IAM/B,iBAAiB,EAAE,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC;IAMlD,WAAW,EAAE,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC;IAK5C,UAAU,EAAE,MAAM,CAAC;IAKnB,oBAAoB,EAAE,OAAO,CAAC;IAM9B,iBAAiB,EAAE,MAAM,CAAC;IAK1B,eAAe,EAAE,MAAM,CAAC;IAOxB,WAAW,EAAE,MAAM,CAAC;IAGpB,cAAc,EAAE,OAAO,EAAE,CAAC;IAG1B,oBAAoB,EAAE,OAAO,EAAE,CAAC;IAMhC,cAAc,EAAE,MAAM,CAAC;IAGvB,0BAA0B,EAAE,MAAM,CAAC;IAOnC,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,iBAAiB;;;;;;;;EAA4C,CAAC"}
@@ -64,6 +64,10 @@ __decorate([
64
64
  (0, mongoose_1.Prop)({ required: false, type: geoLocation_schema_1.Geolocation }),
65
65
  __metadata("design:type", geoLocation_schema_1.Geolocation)
66
66
  ], RetailStore.prototype, "geolocation", void 0);
67
+ __decorate([
68
+ (0, mongoose_1.Prop)({ type: Number }),
69
+ __metadata("design:type", Number)
70
+ ], RetailStore.prototype, "geolocationFailedCount", void 0);
67
71
  __decorate([
68
72
  (0, mongoose_1.Prop)({
69
73
  required: false,
@@ -119,6 +123,17 @@ __decorate([
119
123
  (0, mongoose_1.Prop)({ type: [pricing_schema_1.PricingSchema], required: false }),
120
124
  __metadata("design:type", Array)
121
125
  ], RetailStore.prototype, "newOilPricingDetails", void 0);
126
+ __decorate([
127
+ (0, mongoose_1.Prop)({
128
+ enum: ['operating', 'temporarilyClosed', 'permanentlyClosed'],
129
+ default: 'operating',
130
+ }),
131
+ __metadata("design:type", String)
132
+ ], RetailStore.prototype, "businessStatus", void 0);
133
+ __decorate([
134
+ (0, mongoose_1.Prop)(),
135
+ __metadata("design:type", String)
136
+ ], RetailStore.prototype, "businessRegistrationNumber", void 0);
122
137
  __decorate([
123
138
  (0, mongoose_1.Prop)({
124
139
  required: true,
@@ -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;CAsFvB,CAAA;AAtFY,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,eAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4CACT;AAGhB;IADC,IAAA,eAAI,EAAC,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC;;mDACD;AAGv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3B,OAAO,EAAE,QAAQ;KAClB,CAAC;;2CACa;sBAjGJ,WAAW;IADvB,IAAA,iBAAM,EAAC,iBAAO,CAAC;GACH,WAAW,CAkGvB;AAEY,QAAA,iBAAiB,GAAG,wBAAa,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;AAE3E,yBAAiB,CAAC,KAAK,CAAC,EAAE,WAAW,EAAE,CAAC,EAAE,CAAC,CAAC;AAC5C,yBAAiB,CAAC,KAAK,CAAC,EAAE,iBAAiB,EAAE,CAAC,EAAE,CAAC,CAAC;AAClD,yBAAiB,CAAC,KAAK,CAAC,EAAE,WAAW,EAAE,CAAC,EAAE,CAAC,CAAC;AAC5C,yBAAiB,CAAC,KAAK,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;AAExE,uDAAuD;AACvD,yBAAiB,CAAC,GAAG,CAAC,OAAO,EAAE,UAAU,IAAI;IAC3C,MAAM,KAAK,GAAG,IAAgC,CAAC;IAC/C,KAAK,CAAC,QAAQ,iCAAM,KAAK,CAAC,SAAS,EAAE,KAAE,MAAM,EAAE,EAAE,GAAG,EAAE,SAAS,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.FlatRecord<RetailStoreEmployee> & {
16
16
  _id: mongoose.Types.ObjectId;
17
17
  } & {
18
18
  __v: number;
@@ -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.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.FlatRecord<TossPaymentBillingKey> & {
13
13
  _id: mongoose.Types.ObjectId;
14
14
  } & {
15
15
  __v: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sildeswj/thechium-schema",
3
- "version": "9.5.1",
3
+ "version": "9.6.0-refactor-schema.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {
@@ -16,13 +16,14 @@
16
16
  "license": "ISC",
17
17
  "description": "",
18
18
  "dependencies": {
19
- "@nestjs/common": "^10.4.8",
20
- "@nestjs/mongoose": "^10.1.0",
21
- "@types/node": "^22.9.1",
22
- "mongoose": "^8.8.2",
19
+ "@nestjs/common": "^11.1.5",
20
+ "@nestjs/core": "^11.1.5",
21
+ "@nestjs/mongoose": "^11.0.3",
22
+ "@types/node": "^24.0.15",
23
+ "mongoose": "^8.16.4",
23
24
  "reflect-metadata": "^0.2.2",
24
25
  "rimraf": "^6.0.1",
25
- "rxjs": "^7.8.1",
26
- "typescript": "^5.6.3"
26
+ "rxjs": "^7.8.2",
27
+ "typescript": "^5.8.3"
27
28
  }
28
- }
29
+ }