@lyxa.ai/core 1.4.3 → 1.4.4
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/libraries/mongo/models/service-order.model.d.ts +1 -0
- package/dist/libraries/mongo/models/service-order.model.js +5 -0
- package/dist/libraries/mongo/models/service-order.model.js.map +1 -1
- package/dist/types/README.md +1 -1
- package/dist/types/package.json +1 -1
- package/dist/types/utilities/validation/common-validation.d.ts +12 -12
- package/package.json +1 -1
|
@@ -37,6 +37,7 @@ export declare class ServiceOrder extends TimeStamps {
|
|
|
37
37
|
isOverdue?: boolean;
|
|
38
38
|
overdueAt?: Date;
|
|
39
39
|
finance: ServiceOrderFinance;
|
|
40
|
+
adjustedFinance: ServiceOrderFinance;
|
|
40
41
|
orderCancel?: ServiceOrderCancel;
|
|
41
42
|
statusTimeline?: ServiceOrderStatusTimeline[];
|
|
42
43
|
bufferTime?: number;
|
|
@@ -50,6 +50,7 @@ let ServiceOrder = class ServiceOrder extends defaultClasses_1.TimeStamps {
|
|
|
50
50
|
isOverdue;
|
|
51
51
|
overdueAt;
|
|
52
52
|
finance;
|
|
53
|
+
adjustedFinance;
|
|
53
54
|
orderCancel;
|
|
54
55
|
statusTimeline;
|
|
55
56
|
bufferTime;
|
|
@@ -154,6 +155,10 @@ __decorate([
|
|
|
154
155
|
(0, typegoose_1.prop)({ required: true, type: service_order_finance_model_1.ServiceOrderFinance, _id: false }),
|
|
155
156
|
__metadata("design:type", service_order_finance_model_1.ServiceOrderFinance)
|
|
156
157
|
], ServiceOrder.prototype, "finance", void 0);
|
|
158
|
+
__decorate([
|
|
159
|
+
(0, typegoose_1.prop)({ required: true, type: service_order_finance_model_1.ServiceOrderFinance, _id: false }),
|
|
160
|
+
__metadata("design:type", service_order_finance_model_1.ServiceOrderFinance)
|
|
161
|
+
], ServiceOrder.prototype, "adjustedFinance", void 0);
|
|
157
162
|
__decorate([
|
|
158
163
|
(0, typegoose_1.prop)({ type: () => service_order_cance_model_1.ServiceOrderCancel, _id: false }),
|
|
159
164
|
__metadata("design:type", service_order_cance_model_1.ServiceOrderCancel)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service-order.model.js","sourceRoot":"/","sources":["libraries/mongo/models/service-order.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAoE;AACpE,6CAAoC;AACpC,iDAAwC;AACxC,kDAAuG;AACvG,6DAAoD;AACpD,kFAAuE;AACvE,6DAAmD;AACnD,wFAA6E;AAC7E,oFAA0E;AAC1E,4EAA8E;AAC9E,kEAA6D;AAC7D,wBAAuD;AACvD,0DAA6D;AAC7D,4DAAyD;AACzD,4EAAqE;AAQ9D,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,2BAAU;IAEpC,OAAO,CAAU;IAGjB,IAAI,CAAa;IAGjB,MAAM,CAAe;IAGrB,MAAM,CAAqB;IAG3B,WAAW,CAAe;IAG1B,cAAc,CAAkB;IAGhC,IAAI,CAAoB;IAGxB,WAAW,CAAuB;IAGlC,SAAS,CAAkB;IAG3B,MAAM,CAAsB;IAS5B,aAAa,CAAuB;IAGpC,uBAAuB,CAAqB;IAG5C,IAAI,CAAoB;IAGxB,WAAW,CAAQ;IAGnB,QAAQ,CAAQ;IAGhB,SAAS,CAAQ;IAGjB,uBAAuB,CAAQ;IAG/B,WAAW,CAAQ;IAGnB,uBAAuB,CAAU;IAGjC,aAAa,CAAW;IAGxB,QAAQ,CAAQ;IAGhB,SAAS,CAAW;IAGpB,SAAS,CAAQ;IAGjB,OAAO,CAAuB;IAG9B,WAAW,CAAsB;IAGjC,cAAc,CAAgC;IAG9C,UAAU,CAAU;IAOpB,eAAe,CAAW;IAG1B,wBAAwB,CAAW;IAOnC,OAAO,CAAiB;CAC/B,CAAA;
|
|
1
|
+
{"version":3,"file":"service-order.model.js","sourceRoot":"/","sources":["libraries/mongo/models/service-order.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAoE;AACp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C,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,8CAAkB,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;8BAChC,8CAAkB;iDAAC;AAGjC;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,CAAC,kDAA0B,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;;oDACX;AAG9C;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;gDACI;AAOpB;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;qDACP;AAG1B;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;8DACE;AAOnC;IALN,IAAA,gBAAI,EAAC;QACL,GAAG,EAAE,GAAG,EAAE,CAAC,SAAM;QACjB,YAAY,EAAE,cAAc;QAC5B,UAAU,EAAE,KAAK;KACjB,CAAC;;6CAC6B;uBA1GnB,YAAY;IANxB,IAAA,wBAAY,EAAC,EAAE,aAAa,EAAE,EAAE,UAAU,EAAE,eAAe,EAAE,UAAU,EAAE,IAAI,EAAE,EAAE,CAAC;IAClF,IAAA,eAAG,EAAe,MAAM,EAAE,KAAK;QAC/B,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;YAChB,IAAI,CAAC,OAAO,GAAG,MAAM,IAAA,yBAAU,EAAC,eAAY,EAAE,kBAAW,CAAC,OAAO,CAAC,CAAC;QACpE,CAAC;IACF,CAAC,CAAC;GACW,YAAY,CA2GxB","sourcesContent":["import { modelOptions, pre, prop, Ref } from '@typegoose/typegoose';\nimport { User } from './user.model';\nimport { Vendor } from './vendor.model';\nimport { ServiceOrderStatus, CounterType, ServiceType, SubServiceType } from '../../../utilities/enum';\nimport { Professional } from './professional.model';\nimport { ServiceOrderFlag } from './embedded/service-order-flag.model';\nimport { ServiceCart } from './service-cart.model';\nimport { ServiceOrderFinance } from './embedded/service-order-finance.model';\nimport { ServiceOrderCancel } from './embedded/service-order-cance.model';\nimport { ServiceOrderStatusTimeline } from './embedded/status-timeline.model';\nimport { generateId } from '../../../utilities/id-generator';\nimport { CounterModel, Review, VendorParent } from '.';\nimport { RegularOrderAddress } from './shared/address.model';\nimport { OrderSlotRange } from './shared/duration.model';\nimport { TimeStamps } from '@typegoose/typegoose/lib/defaultClasses';\n\n@modelOptions({ schemaOptions: { collection: 'serviceOrders', timestamps: true } })\n@pre<ServiceOrder>('save', async function () {\n\tif (this.isNew) {\n\t\tthis.orderId = await generateId(CounterModel, CounterType.BOOKING);\n\t}\n})\nexport class ServiceOrder extends TimeStamps {\n\t@prop({ type: String, unique: true })\n\tpublic orderId?: string;\n\n\t@prop({ required: true, ref: () => User })\n\tpublic user!: Ref<User>;\n\n\t@prop({ required: true, ref: () => Vendor })\n\tpublic vendor!: Ref<Vendor>;\n\n\t@prop({ required: true, ref: () => VendorParent })\n\tpublic parent!: Ref<VendorParent>;\n\n\t@prop({ required: true, type: String, enum: ServiceType })\n\tpublic serviceType!: ServiceType;\n\n\t@prop({ type: String, enum: SubServiceType })\n\tpublic subServiceType?: SubServiceType;\n\n\t@prop({ required: true, ref: () => ServiceCart })\n\tpublic cart!: Ref<ServiceCart>;\n\n\t@prop({ required: true, type: () => RegularOrderAddress })\n\tpublic userAddress!: RegularOrderAddress;\n\n\t@prop({ required: true, type: OrderSlotRange, _id: false })\n\tpublic slotRange!: OrderSlotRange;\n\n\t@prop({ type: String, enum: ServiceOrderStatus, default: ServiceOrderStatus.PENDING })\n\tpublic status!: ServiceOrderStatus;\n\n\t// @prop({ type: String })\n\t// public userNotes?: string;\n\n\t// @prop({ type: String })\n\t// public vendorNotes?: string;\n\n\t@prop({ ref: () => Professional })\n\tpublic professionals?: Ref<Professional>[];\n\n\t@prop({ ref: () => Professional })\n\tpublic responsibleProfessional?: Ref<Professional>;\n\n\t@prop({ type: () => ServiceOrderFlag, _id: false })\n\tpublic flag?: ServiceOrderFlag;\n\n\t@prop({ type: Date, default: new Date() })\n\tpublic processedAt?: Date;\n\n\t@prop({ type: Date })\n\tpublic placedAt?: Date;\n\n\t@prop({ type: Date })\n\tpublic startedAt?: Date;\n\n\t@prop({ type: Date })\n\tpublic estimatedCompletionTime?: Date;\n\n\t@prop({ type: Date })\n\tpublic completedAt?: Date;\n\n\t@prop({ type: Number })\n\tpublic completionTimeInMinutes?: number;\n\n\t@prop({ type: Boolean, default: false })\n\tpublic isUrgentOrder?: boolean;\n\n\t@prop({ type: Date })\n\tpublic urgentAt?: Date;\n\n\t@prop({ type: Boolean, default: false })\n\tpublic isOverdue?: boolean;\n\n\t@prop({ type: Date })\n\tpublic overdueAt?: Date;\n\n\t@prop({ required: true, type: ServiceOrderFinance, _id: false })\n\tpublic finance!: ServiceOrderFinance;\n\n\t@prop({ required: true, type: ServiceOrderFinance, _id: false })\n\tpublic adjustedFinance!: ServiceOrderFinance;\n\n\t@prop({ type: () => ServiceOrderCancel, _id: false })\n\tpublic orderCancel?: ServiceOrderCancel;\n\n\t@prop({ type: () => [ServiceOrderStatusTimeline], default: [] })\n\tpublic statusTimeline?: ServiceOrderStatusTimeline[];\n\n\t@prop({ type: Number })\n\tpublic bufferTime?: number; // minutes\n\n\t// @prop({ type: String })\n\t// public instruction?: string;\n\n\t// Review feature\n\t@prop({ type: Boolean, default: false })\n\tpublic isOrderReviewed?: boolean;\n\n\t@prop({ type: Boolean, default: false })\n\tpublic isReviewNotificationSent?: boolean;\n\n\t@prop({\n\t\tref: () => Review,\n\t\tforeignField: 'serviceOrder',\n\t\tlocalField: '_id',\n\t})\n\tpublic reviews?: Ref<Review>[];\n}\n"]}
|
package/dist/types/README.md
CHANGED
package/dist/types/package.json
CHANGED
|
@@ -26,8 +26,8 @@ export declare const FilterSchema: z.ZodOptional<z.ZodObject<{
|
|
|
26
26
|
searchFields?: string[] | undefined;
|
|
27
27
|
} | undefined;
|
|
28
28
|
sort?: Record<string, 1 | -1> | undefined;
|
|
29
|
-
populate?: any;
|
|
30
29
|
select?: Record<string, 0 | 1> | undefined;
|
|
30
|
+
populate?: any;
|
|
31
31
|
query?: Record<string, any> | undefined;
|
|
32
32
|
}, {
|
|
33
33
|
search?: {
|
|
@@ -36,8 +36,8 @@ export declare const FilterSchema: z.ZodOptional<z.ZodObject<{
|
|
|
36
36
|
} | undefined;
|
|
37
37
|
sort?: Record<string, 1 | -1> | undefined;
|
|
38
38
|
size?: number | undefined;
|
|
39
|
-
populate?: any;
|
|
40
39
|
select?: Record<string, 0 | 1> | undefined;
|
|
40
|
+
populate?: any;
|
|
41
41
|
query?: Record<string, any> | undefined;
|
|
42
42
|
page?: number | undefined;
|
|
43
43
|
}>>;
|
|
@@ -736,12 +736,12 @@ export declare const GetByIdInputSchema: z.ZodObject<{
|
|
|
736
736
|
populate: z.ZodOptional<z.ZodUnion<[z.ZodType<any, z.ZodTypeDef, any>, z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">]>>;
|
|
737
737
|
}, "strip", z.ZodTypeAny, {
|
|
738
738
|
_id: import("mongoose").Types.ObjectId;
|
|
739
|
-
populate?: any;
|
|
740
739
|
select?: Record<string, 0 | 1> | undefined;
|
|
740
|
+
populate?: any;
|
|
741
741
|
}, {
|
|
742
742
|
_id: string | import("mongoose").Types.ObjectId;
|
|
743
|
-
populate?: any;
|
|
744
743
|
select?: Record<string, 0 | 1> | undefined;
|
|
744
|
+
populate?: any;
|
|
745
745
|
}>;
|
|
746
746
|
export type GetByIdInputDTO = DTO<typeof GetByIdInputSchema>;
|
|
747
747
|
export declare const GetProductByIdInputSchema: z.ZodObject<{
|
|
@@ -754,12 +754,12 @@ export declare const GetProductByIdInputSchema: z.ZodObject<{
|
|
|
754
754
|
_id: import("mongoose").Types.ObjectId;
|
|
755
755
|
withAttributeHiddenItems: boolean;
|
|
756
756
|
withAddonsHiddenItems: boolean;
|
|
757
|
-
populate?: any;
|
|
758
757
|
select?: Record<string, 0 | 1> | undefined;
|
|
758
|
+
populate?: any;
|
|
759
759
|
}, {
|
|
760
760
|
_id: string | import("mongoose").Types.ObjectId;
|
|
761
|
-
populate?: any;
|
|
762
761
|
select?: Record<string, 0 | 1> | undefined;
|
|
762
|
+
populate?: any;
|
|
763
763
|
withAttributeHiddenItems?: boolean | undefined;
|
|
764
764
|
withAddonsHiddenItems?: boolean | undefined;
|
|
765
765
|
}>;
|
|
@@ -772,14 +772,14 @@ export declare const GetOrderByIdInputSchema: z.ZodObject<{
|
|
|
772
772
|
userOrderCompletionScope: z.ZodOptional<z.ZodNativeEnum<typeof UserOrderCompletionScope>>;
|
|
773
773
|
}, "strip", z.ZodTypeAny, {
|
|
774
774
|
_id: import("mongoose").Types.ObjectId;
|
|
775
|
-
populate?: any;
|
|
776
775
|
select?: Record<string, 0 | 1> | undefined;
|
|
776
|
+
populate?: any;
|
|
777
777
|
groupByCategories?: boolean | undefined;
|
|
778
778
|
userOrderCompletionScope?: UserOrderCompletionScope | undefined;
|
|
779
779
|
}, {
|
|
780
780
|
_id: string | import("mongoose").Types.ObjectId;
|
|
781
|
-
populate?: any;
|
|
782
781
|
select?: Record<string, 0 | 1> | undefined;
|
|
782
|
+
populate?: any;
|
|
783
783
|
groupByCategories?: boolean | undefined;
|
|
784
784
|
userOrderCompletionScope?: UserOrderCompletionScope | undefined;
|
|
785
785
|
}>;
|
|
@@ -788,11 +788,11 @@ export declare const GetByTokenInputSchema: z.ZodOptional<z.ZodObject<{
|
|
|
788
788
|
select: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>>>;
|
|
789
789
|
populate: z.ZodOptional<z.ZodUnion<[z.ZodType<any, z.ZodTypeDef, any>, z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">]>>;
|
|
790
790
|
}, "strip", z.ZodTypeAny, {
|
|
791
|
-
populate?: any;
|
|
792
791
|
select?: Record<string, 0 | 1> | undefined;
|
|
793
|
-
}, {
|
|
794
792
|
populate?: any;
|
|
793
|
+
}, {
|
|
795
794
|
select?: Record<string, 0 | 1> | undefined;
|
|
795
|
+
populate?: any;
|
|
796
796
|
}>>;
|
|
797
797
|
export type GetByTokenInputDTO = DTO<typeof GetByTokenInputSchema>;
|
|
798
798
|
export declare const GetOneQuerySchema: z.ZodObject<{
|
|
@@ -800,12 +800,12 @@ export declare const GetOneQuerySchema: z.ZodObject<{
|
|
|
800
800
|
select: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>>>;
|
|
801
801
|
populate: z.ZodOptional<z.ZodUnion<[z.ZodType<any, z.ZodTypeDef, any>, z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">]>>;
|
|
802
802
|
}, "strip", z.ZodTypeAny, {
|
|
803
|
-
populate?: any;
|
|
804
803
|
select?: Record<string, 0 | 1> | undefined;
|
|
804
|
+
populate?: any;
|
|
805
805
|
query?: Record<string, any> | undefined;
|
|
806
806
|
}, {
|
|
807
|
-
populate?: any;
|
|
808
807
|
select?: Record<string, 0 | 1> | undefined;
|
|
808
|
+
populate?: any;
|
|
809
809
|
query?: Record<string, any> | undefined;
|
|
810
810
|
}>;
|
|
811
811
|
export type GetOneQueryDTO = DTO<typeof GetOneQuerySchema>;
|