@more-life/types-more-life-nest 0.77.0 → 0.78.0
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/dto/optimization/createOptimization.dto.d.ts +1 -0
- package/dist/dto/optimization/createOptimization.dto.js +7 -1
- package/dist/dto/optimization/createOptimization.dto.js.map +1 -1
- package/dist/dto/optimization/optimization.dto.d.ts +1 -0
- package/dist/dto/optimization/optimization.dto.js +6 -1
- package/dist/dto/optimization/optimization.dto.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +31 -31
|
@@ -21,7 +21,7 @@ class CreateOptimizationDto {
|
|
|
21
21
|
return (0, convertAndValidate_1.convertAndValidate)(CreateOptimizationDto, object);
|
|
22
22
|
}
|
|
23
23
|
static _OPENAPI_METADATA_FACTORY() {
|
|
24
|
-
return { week: { required: true, type: () => Number, maximum: 53, minimum: 1 }, year: { required: true, type: () => Number, minimum: 2022, maximum: 2099, minimum: 1 }, teamId: { required: true, type: () => String, format: "uuid" }, solveTime: { required: false, type: () => Number }, precedencePriorityMultiplier: { required: false, type: () => Number }, precedencePriorityOffset: { required: false, type: () => Number }, maximumPriority: { required: false, type: () => Number }, fairWorkloadPerTrip: { required: false, type: () => Boolean }, fairWorkloadPerResource: { required: false, type: () => Boolean }, explanationEnabled: { required: false, type: () => Boolean }, asapWeight: { required: true, type: () => Number }, partialPlanning: { required: true, type: () => Boolean }, workloadSensitivity: { required: true, type: () => Number }, workloadSpreadWeight: { required: true, type: () => Number }, travelTimeWeight: { required: true, type: () => Number }, priorityWeight: { required: true, type: () => Number }, plannedWeight: { required: true, type: () => Number }, minimizeResourcesWeight: { required: true, type: () => Number }, solverVersion: { required: true, enum: require("../../enum/solverVersion.enum").SolverVersionEnum, enum: Object.values(solverVersion_enum_1.SolverVersionEnum) }, disciplineTagBudget: { required: true, type: () => Number }, disciplineTagEnabled: { required: true, type: () => Boolean }, admissionPriorityOffset: { required: true, type: () => Number }, rolloverPriorityOffset: { required: true, type: () => Number }, enableConstraints: { required: true, type: () => Boolean }, minWorkTimePercent: { required: true, type: () => Number }, adaptiveTargetPercentage: { required: true, type: () => Boolean }, urgencyEnabled: { required: true, type: () => Boolean }, enableTherapyBalancing: { required: true, type: () => Boolean }, proximityPlanning: { required: true, type: () => Boolean }, proximityRadius: { required: true, type: () => Number }, proximityDistanceType: { required: true, type: () => String }, proximityWeight: { required: true, type: () => Number }, specificTargetPercentage: { required: true, type: () => Object } };
|
|
24
|
+
return { week: { required: true, type: () => Number, maximum: 53, minimum: 1 }, year: { required: true, type: () => Number, minimum: 2022, maximum: 2099, minimum: 1 }, teamId: { required: true, type: () => String, format: "uuid" }, solveTime: { required: false, type: () => Number }, precedencePriorityMultiplier: { required: false, type: () => Number }, precedencePriorityOffset: { required: false, type: () => Number }, maximumPriority: { required: false, type: () => Number }, fairWorkloadPerTrip: { required: false, type: () => Boolean }, fairWorkloadPerResource: { required: false, type: () => Boolean }, explanationEnabled: { required: false, type: () => Boolean }, asapWeight: { required: true, type: () => Number }, partialPlanning: { required: true, type: () => Boolean }, workloadSensitivity: { required: true, type: () => Number }, workloadSpreadWeight: { required: true, type: () => Number }, travelTimeWeight: { required: true, type: () => Number }, priorityWeight: { required: true, type: () => Number }, plannedWeight: { required: true, type: () => Number }, minimizeResourcesWeight: { required: true, type: () => Number }, solverVersion: { required: true, enum: require("../../enum/solverVersion.enum").SolverVersionEnum, enum: Object.values(solverVersion_enum_1.SolverVersionEnum) }, disciplineTagBudget: { required: true, type: () => Number }, disciplineTagEnabled: { required: true, type: () => Boolean }, admissionPriorityOffset: { required: true, type: () => Number }, rolloverPriorityOffset: { required: true, type: () => Number }, enableConstraints: { required: true, type: () => Boolean }, minWorkTimePercent: { required: true, type: () => Number }, adaptiveTargetPercentage: { required: true, type: () => Boolean }, urgencyEnabled: { required: true, type: () => Boolean }, enableTherapyBalancing: { required: true, type: () => Boolean }, proximityPlanning: { required: true, type: () => Boolean }, proximityRadius: { required: true, type: () => Number }, proximityDistanceType: { required: true, type: () => String }, proximityWeight: { required: true, type: () => Number }, specificTargetPercentage: { required: true, type: () => Object }, therapistConsistency: { required: true, type: () => Boolean } };
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
exports.CreateOptimizationDto = CreateOptimizationDto;
|
|
@@ -287,4 +287,10 @@ __decorate([
|
|
|
287
287
|
(0, class_transformer_1.Expose)(),
|
|
288
288
|
__metadata("design:type", Object)
|
|
289
289
|
], CreateOptimizationDto.prototype, "specificTargetPercentage", void 0);
|
|
290
|
+
__decorate([
|
|
291
|
+
(0, nestjs_1.ApiProperty)({ type: Boolean, required: false }),
|
|
292
|
+
(0, class_validator_1.IsOptional)(),
|
|
293
|
+
(0, class_transformer_1.Expose)(),
|
|
294
|
+
__metadata("design:type", Boolean)
|
|
295
|
+
], CreateOptimizationDto.prototype, "therapistConsistency", void 0);
|
|
290
296
|
//# sourceMappingURL=createOptimization.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createOptimization.dto.js","sourceRoot":"","sources":["../../../src/dto/optimization/createOptimization.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,sEAAmE;AACnE,yCAA2C;AAC3C,qDAYyB;AACzB,yDAA2C;AAC3C,sEAAkE;AAGlE,MAAa,qBAAqB;
|
|
1
|
+
{"version":3,"file":"createOptimization.dto.js","sourceRoot":"","sources":["../../../src/dto/optimization/createOptimization.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,sEAAmE;AACnE,yCAA2C;AAC3C,qDAYyB;AACzB,yDAA2C;AAC3C,sEAAkE;AAGlE,MAAa,qBAAqB;IA8O1B,MAAM,CAAC,SAAS,CAAC,MAAW;QAClC,OAAO,IAAA,uCAAkB,EAAC,qBAAqB,EAAE,MAAM,CAAC,CAAC;IAC1D,CAAC;;ouCA1HK,MAAM,CAAC,MAAM,CAAC,sCAAiB,CAAC;;CA2HtC;AAjPD,sDAiPC;AA3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;;oEACqB;AAM9B;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,WAAW,EAAE,mCAAmC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IAC7G,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;8DACe;AAKxB;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;uEAC+C;AAKxD;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC/C,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;mEACqB"}
|
|
@@ -51,6 +51,7 @@ export declare class OptimizationDto extends OptimizationDto_base {
|
|
|
51
51
|
proximityWeight: number;
|
|
52
52
|
specificTargetPercentage: Record<DisciplineEnum, number>;
|
|
53
53
|
requestedAt: string;
|
|
54
|
+
therapistConsistency: boolean;
|
|
54
55
|
static fromEntity(entity: any): OptimizationDto;
|
|
55
56
|
}
|
|
56
57
|
export {};
|
|
@@ -24,7 +24,7 @@ class OptimizationDto extends (0, base_dto_1.BaseDto)(optimizationEmbedded_dto_1
|
|
|
24
24
|
return (0, convertAndValidate_1.convert)(OptimizationDto, entity);
|
|
25
25
|
}
|
|
26
26
|
static _OPENAPI_METADATA_FACTORY() {
|
|
27
|
-
return { id: { required: true, type: () => String }, week: { required: true, type: () => Number }, year: { required: true, type: () => Number }, solverStatus: { required: true, enum: require("../../enum/solverStatus.enum").SolverStatusEnum }, status: { required: true, enum: require("../../enum/optimizationStatus.enum").OptimizationStatusEnum }, solverVersion: { required: true, enum: require("../../enum/solverVersion.enum").SolverVersionEnum }, solverId: { required: true, type: () => String }, teamId: { required: true, type: () => String }, errorMessage: { required: false, type: () => String }, from: { required: true, type: () => String }, to: { required: true, type: () => String }, hasConstraintViolations: { required: true, type: () => Boolean }, solveTime: { required: false, type: () => Number }, precedencePriorityMultiplier: { required: false, type: () => Number }, precedencePriorityOffset: { required: false, type: () => Number }, maximumPriority: { required: false, type: () => Number }, fairWorkloadPerTrip: { required: true, type: () => Boolean }, fairWorkloadPerResource: { required: true, type: () => Boolean }, explanationEnabled: { required: true, type: () => Boolean }, asapWeight: { required: true, type: () => Number }, partialPlanning: { required: true, type: () => Boolean }, workloadSensitivity: { required: true, type: () => Number }, workloadSpreadWeight: { required: true, type: () => Number }, travelTimeWeight: { required: true, type: () => Number }, priorityWeight: { required: true, type: () => Number }, plannedWeight: { required: true, type: () => Number }, minimizeResourcesWeight: { required: true, type: () => Number }, disciplineTagBudget: { required: true, type: () => Number }, disciplineTagEnabled: { required: true, type: () => Boolean }, admissionPriorityOffset: { required: true, type: () => Number }, rolloverPriorityOffset: { required: true, type: () => Number }, enableConstraints: { required: true, type: () => Boolean }, minWorkTimePercent: { required: true, type: () => Number }, adaptiveTargetPercentage: { required: true, type: () => Boolean }, urgencyEnabled: { required: true, type: () => Boolean }, enableTherapyBalancing: { required: true, type: () => Boolean }, proximityPlanning: { required: true, type: () => Boolean }, proximityRadius: { required: true, type: () => Number }, proximityDistanceType: { required: true, type: () => String }, proximityWeight: { required: true, type: () => Number }, specificTargetPercentage: { required: true, type: () => Object }, requestedAt: { required: true, type: () => String } };
|
|
27
|
+
return { id: { required: true, type: () => String }, week: { required: true, type: () => Number }, year: { required: true, type: () => Number }, solverStatus: { required: true, enum: require("../../enum/solverStatus.enum").SolverStatusEnum }, status: { required: true, enum: require("../../enum/optimizationStatus.enum").OptimizationStatusEnum }, solverVersion: { required: true, enum: require("../../enum/solverVersion.enum").SolverVersionEnum }, solverId: { required: true, type: () => String }, teamId: { required: true, type: () => String }, errorMessage: { required: false, type: () => String }, from: { required: true, type: () => String }, to: { required: true, type: () => String }, hasConstraintViolations: { required: true, type: () => Boolean }, solveTime: { required: false, type: () => Number }, precedencePriorityMultiplier: { required: false, type: () => Number }, precedencePriorityOffset: { required: false, type: () => Number }, maximumPriority: { required: false, type: () => Number }, fairWorkloadPerTrip: { required: true, type: () => Boolean }, fairWorkloadPerResource: { required: true, type: () => Boolean }, explanationEnabled: { required: true, type: () => Boolean }, asapWeight: { required: true, type: () => Number }, partialPlanning: { required: true, type: () => Boolean }, workloadSensitivity: { required: true, type: () => Number }, workloadSpreadWeight: { required: true, type: () => Number }, travelTimeWeight: { required: true, type: () => Number }, priorityWeight: { required: true, type: () => Number }, plannedWeight: { required: true, type: () => Number }, minimizeResourcesWeight: { required: true, type: () => Number }, disciplineTagBudget: { required: true, type: () => Number }, disciplineTagEnabled: { required: true, type: () => Boolean }, admissionPriorityOffset: { required: true, type: () => Number }, rolloverPriorityOffset: { required: true, type: () => Number }, enableConstraints: { required: true, type: () => Boolean }, minWorkTimePercent: { required: true, type: () => Number }, adaptiveTargetPercentage: { required: true, type: () => Boolean }, urgencyEnabled: { required: true, type: () => Boolean }, enableTherapyBalancing: { required: true, type: () => Boolean }, proximityPlanning: { required: true, type: () => Boolean }, proximityRadius: { required: true, type: () => Number }, proximityDistanceType: { required: true, type: () => String }, proximityWeight: { required: true, type: () => Number }, specificTargetPercentage: { required: true, type: () => Object }, requestedAt: { required: true, type: () => String }, therapistConsistency: { required: true, type: () => Boolean } };
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
exports.OptimizationDto = OptimizationDto;
|
|
@@ -268,4 +268,9 @@ __decorate([
|
|
|
268
268
|
(0, class_transformer_1.Expose)(),
|
|
269
269
|
__metadata("design:type", String)
|
|
270
270
|
], OptimizationDto.prototype, "requestedAt", void 0);
|
|
271
|
+
__decorate([
|
|
272
|
+
(0, nestjs_1.ApiProperty)({ type: Boolean, required: false }),
|
|
273
|
+
(0, class_transformer_1.Expose)(),
|
|
274
|
+
__metadata("design:type", Boolean)
|
|
275
|
+
], OptimizationDto.prototype, "therapistConsistency", void 0);
|
|
271
276
|
//# sourceMappingURL=optimization.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"optimization.dto.js","sourceRoot":"","sources":["../../../src/dto/optimization/optimization.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAA2C;AAC3C,kDAA8C;AAC9C,oEAAgE;AAChE,gFAA4E;AAC5E,yEAAqE;AACrE,sEAAwD;AACxD,sEAAkE;AAGlE,MAAa,eAAgB,SAAQ,IAAA,kBAAO,EAAC,kDAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"optimization.dto.js","sourceRoot":"","sources":["../../../src/dto/optimization/optimization.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAA2C;AAC3C,kDAA8C;AAC9C,oEAAgE;AAChE,gFAA4E;AAC5E,yEAAqE;AACrE,sEAAwD;AACxD,sEAAkE;AAGlE,MAAa,eAAgB,SAAQ,IAAA,kBAAO,EAAC,kDAAuB,CAAC;IA2M7D,MAAM,CAAC,UAAU,CAAC,MAAW;QACnC,OAAO,IAAA,4BAAO,EAAC,eAAe,EAAE,MAAM,CAAC,CAAC;IACzC,CAAC;;;;CACD;AA9MD,0CA8MC;AA3MA;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7D,IAAA,0BAAM,GAAE;;2CACG;AAIZ;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAM,GAAE;;6CACK;AAId;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAM,GAAE;;6CACK;AAQd;IANC,IAAA,oBAAW,EAAC;QACZ,IAAI,E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