@lyxa.ai/core 1.0.194 → 1.0.195
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/professional-schedule.d.ts +2 -2
- package/dist/libraries/mongo/models/professional-schedule.js +2 -2
- package/dist/libraries/mongo/models/professional-schedule.js.map +1 -1
- package/dist/types/README.md +1 -1
- package/dist/types/package.json +1 -1
- package/package.json +1 -1
|
@@ -12,6 +12,6 @@ export declare class ProfessionalSchedule {
|
|
|
12
12
|
servicePackage?: Ref<ServicePackage>;
|
|
13
13
|
isRecurring: boolean;
|
|
14
14
|
recurrencePattern?: ProfessionalRecurrencePattern;
|
|
15
|
-
|
|
16
|
-
serviceOderStatus
|
|
15
|
+
professionalStatus?: string;
|
|
16
|
+
serviceOderStatus?: ServiceOrderStatus;
|
|
17
17
|
}
|
|
@@ -24,7 +24,7 @@ let ProfessionalSchedule = class ProfessionalSchedule {
|
|
|
24
24
|
servicePackage;
|
|
25
25
|
isRecurring;
|
|
26
26
|
recurrencePattern;
|
|
27
|
-
|
|
27
|
+
professionalStatus;
|
|
28
28
|
serviceOderStatus;
|
|
29
29
|
};
|
|
30
30
|
exports.ProfessionalSchedule = ProfessionalSchedule;
|
|
@@ -63,7 +63,7 @@ __decorate([
|
|
|
63
63
|
__decorate([
|
|
64
64
|
(0, typegoose_1.prop)({ enum: enum_1.ProfessionalStatus }),
|
|
65
65
|
__metadata("design:type", String)
|
|
66
|
-
], ProfessionalSchedule.prototype, "
|
|
66
|
+
], ProfessionalSchedule.prototype, "professionalStatus", void 0);
|
|
67
67
|
__decorate([
|
|
68
68
|
(0, typegoose_1.prop)({ enum: enum_1.ServiceOrderStatus, default: enum_1.ServiceOrderStatus.PENDING }),
|
|
69
69
|
__metadata("design:type", String)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"professional-schedule.js","sourceRoot":"/","sources":["libraries/mongo/models/professional-schedule.ts"],"names":[],"mappings":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EAAC,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,sCAAc,EAAC,CAAC;;4DACQ;AAIpC;IADN,IAAA,gBAAI,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;yDACG;AAGrB;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,oCAA6B,EAAE,CAAC;;+DACU;AAGjD;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,yBAAkB,EAAE,CAAC;;gEACD;AAGlC;IADC,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,yBAAkB,EAAE,OAAO,EAAE,yBAAkB,CAAC,OAAO,EAAE,CAAC;;+DAClC;+BA/B7B,oBAAoB;IANhC,IAAA,wBAAY,EAAC;QACV,aAAa,EAAE;YACX,UAAU,EAAE,uBAAuB;YACnC,UAAU,EAAE,IAAI;SACnB;KACJ,CAAC;GACW,oBAAoB,CAgChC","sourcesContent":["import { modelOptions, prop, Ref } from \"@typegoose/typegoose\";\nimport { Professional } from \"./professional.model\";\nimport { ProfessionalRecurrencePattern, ProfessionalStatus, ServiceOrderStatus, Status } from \"../../../utilities/enum\";\nimport { ServiceOrder } from \"./service-order.model\";\nimport { ServicePackage } from \"./service-package.model\";\n\n\n@modelOptions({\n schemaOptions: {\n collection: \"professionalSchedules\",\n timestamps: true\n }\n})\nexport class ProfessionalSchedule {\n @prop({ ref: () => Professional, required: true })\n public professional!: Ref<Professional>\n\n @prop({ required: true })\n public timeFrom!: Date\n\n @prop({ required: true })\n public timeTo?: Date\n\n\n @prop({ type: String })\n public reason?: string\n\n @prop({ ref: () => ServiceOrder })\n public serviceOrder?: Ref<ServiceOrder>\n\n @prop({ ref: () => ServicePackage})\n public servicePackage?: Ref<ServicePackage>\n\n\n @prop({ default: false })\n public isRecurring!: boolean\n\n @prop({ enum: ProfessionalRecurrencePattern })\n public recurrencePattern?: ProfessionalRecurrencePattern\n\n @prop({ enum: ProfessionalStatus })\n public professionalStatus?: string\n\n @prop({ enum: ServiceOrderStatus, default: ServiceOrderStatus.PENDING })\n serviceOderStatus?: ServiceOrderStatus\n}"]}
|
package/dist/types/README.md
CHANGED
package/dist/types/package.json
CHANGED