grm-shared-library 1.0.119 → 1.0.120

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.
@@ -7,6 +7,6 @@ export declare class BasePersonUnitDto extends BaseResponseUnitDto {
7
7
  phoneNumber: string;
8
8
  category: PersonUnitCategory;
9
9
  designation: string;
10
- status?: PersonUnitStatus;
10
+ personStatus?: PersonUnitStatus;
11
11
  attributes?: Record<string, any>;
12
12
  }
@@ -43,7 +43,7 @@ __decorate([
43
43
  (0, class_validator_1.IsEnum)(person_unit_status_enum_1.PersonUnitStatus),
44
44
  (0, class_validator_1.IsOptional)(),
45
45
  __metadata("design:type", String)
46
- ], BasePersonUnitDto.prototype, "status", void 0);
46
+ ], BasePersonUnitDto.prototype, "personStatus", void 0);
47
47
  __decorate([
48
48
  (0, class_validator_1.IsOptional)(),
49
49
  __metadata("design:type", Object)
@@ -2,7 +2,7 @@ import { PersonUnitStatus } from "../../enums/person-unit/person-unit-status.enu
2
2
  import { BaseResponseUnitDto } from "../response-unit/base-response-unit.dto";
3
3
  export declare class BaseTeamUnitDto extends BaseResponseUnitDto {
4
4
  constructor();
5
- status: PersonUnitStatus;
5
+ teamStatus: PersonUnitStatus;
6
6
  crewIds: number[];
7
7
  attributes?: Record<string, any>;
8
8
  }
@@ -24,7 +24,7 @@ exports.BaseTeamUnitDto = BaseTeamUnitDto;
24
24
  __decorate([
25
25
  (0, class_validator_1.IsEnum)(person_unit_status_enum_1.PersonUnitStatus),
26
26
  __metadata("design:type", String)
27
- ], BaseTeamUnitDto.prototype, "status", void 0);
27
+ ], BaseTeamUnitDto.prototype, "teamStatus", void 0);
28
28
  __decorate([
29
29
  (0, class_validator_1.IsArray)(),
30
30
  (0, class_validator_1.IsNumber)({}, { each: true }),
@@ -8,7 +8,7 @@ export declare class BaseVehicleUnitDto extends BaseResponseUnitDto {
8
8
  vehicleType: VehicleUnitType;
9
9
  phoneNumber: string;
10
10
  crewIds: number[];
11
- status: VehicleUnitStatus;
11
+ vehicleStatus: VehicleUnitStatus;
12
12
  ownership?: VehicleUnitOwnership;
13
13
  ownerName?: string;
14
14
  deviceId?: number;
@@ -43,7 +43,7 @@ __decorate([
43
43
  __decorate([
44
44
  (0, class_validator_1.IsEnum)(vehicle_unit_status_enum_1.VehicleUnitStatus),
45
45
  __metadata("design:type", String)
46
- ], BaseVehicleUnitDto.prototype, "status", void 0);
46
+ ], BaseVehicleUnitDto.prototype, "vehicleStatus", void 0);
47
47
  __decorate([
48
48
  (0, class_validator_1.IsEnum)(vehicle_unit_ownership_enum_1.VehicleUnitOwnership),
49
49
  (0, class_validator_1.IsOptional)(),
@@ -6,6 +6,6 @@ export interface PersonUnit {
6
6
  phoneNumber: string;
7
7
  category: PersonUnitCategory;
8
8
  designation: string;
9
- status?: PersonUnitStatus;
9
+ personStatus?: PersonUnitStatus;
10
10
  attributes?: Record<string, any>;
11
11
  }
@@ -2,7 +2,7 @@ import { PersonUnitStatus } from "../../enums/person-unit/person-unit-status.enu
2
2
  import { TeamUnitCrew } from "./team-unit-crew";
3
3
  export interface TeamUnit {
4
4
  name: string;
5
- status: PersonUnitStatus;
5
+ teamStatus: PersonUnitStatus;
6
6
  crewIds: number[];
7
7
  attributes?: Record<string, any>;
8
8
  crew?: TeamUnitCrew[];
@@ -8,7 +8,7 @@ export interface VehicleUnit {
8
8
  vehicleType: VehicleUnitType;
9
9
  phoneNumber: string;
10
10
  crewIds: number[];
11
- status: VehicleUnitStatus;
11
+ vehicleStatus: VehicleUnitStatus;
12
12
  ownership?: VehicleUnitOwnership;
13
13
  ownerName?: string;
14
14
  deviceId?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "grm-shared-library",
3
- "version": "1.0.119",
3
+ "version": "1.0.120",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [