@likewatt/models 1.127.0 → 1.128.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.
@@ -131,6 +131,7 @@ export declare class ChargingStationParam {
131
131
  numberOfUnits: number;
132
132
  power: number;
133
133
  capex: number;
134
+ depreciationDuration?: number;
134
135
  settings?: ChargingStationSlotParam[];
135
136
  }
136
137
  export declare const ChargingStationParamSchema: MSchema<ChargingStationParam, import("mongoose").Model<ChargingStationParam, any, any, any, Document<unknown, any, ChargingStationParam, any, {}> & ChargingStationParam & {
@@ -364,6 +364,13 @@ __decorate([
364
364
  (0, class_validator_1.IsNumber)(),
365
365
  __metadata("design:type", Number)
366
366
  ], ChargingStationParam.prototype, "capex", void 0);
367
+ __decorate([
368
+ (0, swagger_1.ApiPropertyOptional)({ example: 25 }),
369
+ (0, mongoose_1.Prop)({ required: false }),
370
+ (0, class_validator_1.IsOptional)(),
371
+ (0, class_validator_1.IsNumber)(),
372
+ __metadata("design:type", Number)
373
+ ], ChargingStationParam.prototype, "depreciationDuration", void 0);
367
374
  __decorate([
368
375
  (0, swagger_1.ApiProperty)({ type: [ChargingStationSlotParam] }),
369
376
  (0, mongoose_1.Prop)({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@likewatt/models",
3
- "version": "1.127.0",
3
+ "version": "1.128.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {