grm-shared-library 1.1.96 → 1.1.98

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.
@@ -16,22 +16,39 @@ class LoginResponseDto {
16
16
  exports.LoginResponseDto = LoginResponseDto;
17
17
  __decorate([
18
18
  (0, swagger_1.ApiProperty)({
19
- description: 'Authentication token for mobile user login',
19
+ description: 'JWT authentication token for accessing protected endpoints',
20
20
  example: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c'
21
21
  }),
22
22
  __metadata("design:type", String)
23
23
  ], LoginResponseDto.prototype, "accessToken", void 0);
24
24
  __decorate([
25
25
  (0, swagger_1.ApiProperty)({
26
- description: 'User information',
26
+ description: 'Comprehensive user information including profile, roles, and organization details',
27
27
  example: {
28
- id: 456,
29
- email: null,
30
- name: 'Mobile User',
28
+ id: 123,
29
+ appId: 'Pasha',
30
+ name: 'John Doe',
31
+ email: 'john.doe@example.com',
31
32
  phoneNumber: '+1234567890',
32
- roles: ['MOBILE_USER'],
33
- status: 'ACTIVE',
34
- isIdentityVerified: true
33
+ roles: ['Organization:Admin', 'Control-Centre:Admin'],
34
+ avatar: 'https://storage.googleapis.com/avatars/john-doe.jpg',
35
+ designation: 'Emergency Manager',
36
+ status: 'active',
37
+ guardians: [
38
+ {
39
+ name: 'Jane Doe',
40
+ email: 'jane.doe@example.com',
41
+ phoneNumber: '+1234567891',
42
+ relationship: 'Spouse'
43
+ }
44
+ ],
45
+ isTermsAccepted: true,
46
+ isIdentityVerified: true,
47
+ lastLoginAt: '2025-10-01T10:30:00.000Z',
48
+ controlCentreId: 5,
49
+ organizationId: 42,
50
+ createdAt: '2024-01-15T08:00:00.000Z',
51
+ updatedAt: '2025-10-01T10:30:00.000Z'
35
52
  }
36
53
  }),
37
54
  __metadata("design:type", Object)
@@ -1 +1 @@
1
- {"version":3,"file":"login-response.dto.js","sourceRoot":"","sources":["../../../../../src/modules/auth/dtos/login-response.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAG9C,MAAa,gBAAgB;CAoB5B;AApBD,4CAoBC;AAfG;IAJC,IAAA,qBAAW,EAAC;QACT,WAAW,EAAE,4CAA4C;QACzD,OAAO,EAAE,6JAA6J;KACzK,CAAC;;qDACmB;AAcrB;IAZC,IAAA,qBAAW,EAAC;QACT,WAAW,EAAE,kBAAkB;QAC/B,OAAO,EAAE;YACL,EAAE,EAAE,GAAG;YACP,KAAK,EAAE,IAAI;YACX,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,aAAa;YAC1B,KAAK,EAAE,CAAC,aAAa,CAAC;YACtB,MAAM,EAAE,QAAQ;YAChB,kBAAkB,EAAE,IAAI;SAC3B;KACJ,CAAC;;8CACU"}
1
+ {"version":3,"file":"login-response.dto.js","sourceRoot":"","sources":["../../../../../src/modules/auth/dtos/login-response.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAG9C,MAAa,gBAAgB;CAqC5B;AArCD,4CAqCC;AAhCG;IAJC,IAAA,qBAAW,EAAC;QACT,WAAW,EAAE,4DAA4D;QACzE,OAAO,EAAE,6JAA6J;KACzK,CAAC;;qDACmB;AA+BrB;IA7BC,IAAA,qBAAW,EAAC;QACT,WAAW,EAAE,mFAAmF;QAChG,OAAO,EAAE;YACL,EAAE,EAAE,GAAG;YACP,KAAK,EAAE,OAAO;YACd,IAAI,EAAE,UAAU;YAChB,KAAK,EAAE,sBAAsB;YAC7B,WAAW,EAAE,aAAa;YAC1B,KAAK,EAAE,CAAC,oBAAoB,EAAE,sBAAsB,CAAC;YACrD,MAAM,EAAE,qDAAqD;YAC7D,WAAW,EAAE,mBAAmB;YAChC,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE;gBACP;oBACI,IAAI,EAAE,UAAU;oBAChB,KAAK,EAAE,sBAAsB;oBAC7B,WAAW,EAAE,aAAa;oBAC1B,YAAY,EAAE,QAAQ;iBACzB;aACJ;YACD,eAAe,EAAE,IAAI;YACrB,kBAAkB,EAAE,IAAI;YACxB,WAAW,EAAE,0BAA0B;YACvC,eAAe,EAAE,CAAC;YAClB,cAAc,EAAE,EAAE;YAClB,SAAS,EAAE,0BAA0B;YACrC,SAAS,EAAE,0BAA0B;SACxC;KACJ,CAAC;;8CACU"}
@@ -12,45 +12,78 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.MapAddressDto = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  const class_transformer_1 = require("class-transformer");
15
+ const swagger_1 = require("@nestjs/swagger");
15
16
  const map_location_dto_1 = require("./map-location.dto");
16
17
  class MapAddressDto {
17
18
  }
18
19
  exports.MapAddressDto = MapAddressDto;
19
20
  __decorate([
21
+ (0, swagger_1.ApiPropertyOptional)({
22
+ description: 'Google Place ID for the address',
23
+ example: 'ChIJN1t_tDeuEmsRUsoyG83frY4'
24
+ }),
20
25
  (0, class_validator_1.IsString)(),
21
26
  (0, class_validator_1.IsOptional)(),
22
27
  __metadata("design:type", String)
23
28
  ], MapAddressDto.prototype, "placeId", void 0);
24
29
  __decorate([
30
+ (0, swagger_1.ApiProperty)({
31
+ description: 'Physical address of the location',
32
+ example: '123 Main Street, New York, NY 10001'
33
+ }),
25
34
  (0, class_validator_1.IsString)(),
26
35
  __metadata("design:type", String)
27
36
  ], MapAddressDto.prototype, "physicalAddress", void 0);
28
37
  __decorate([
38
+ (0, swagger_1.ApiProperty)({
39
+ description: 'Geographic coordinates of the location',
40
+ type: map_location_dto_1.MapLocationDto
41
+ }),
29
42
  (0, class_validator_1.ValidateNested)(),
30
43
  (0, class_transformer_1.Type)(() => map_location_dto_1.MapLocationDto),
31
44
  __metadata("design:type", map_location_dto_1.MapLocationDto)
32
45
  ], MapAddressDto.prototype, "location", void 0);
33
46
  __decorate([
47
+ (0, swagger_1.ApiPropertyOptional)({
48
+ description: 'Plus code for the location',
49
+ example: '87G8Q2J8+Q2'
50
+ }),
34
51
  (0, class_validator_1.IsString)(),
35
52
  (0, class_validator_1.IsOptional)(),
36
53
  __metadata("design:type", String)
37
54
  ], MapAddressDto.prototype, "plusCode", void 0);
38
55
  __decorate([
56
+ (0, swagger_1.ApiPropertyOptional)({
57
+ description: 'Name of the building',
58
+ example: 'Empire State Building'
59
+ }),
39
60
  (0, class_validator_1.IsString)(),
40
61
  (0, class_validator_1.IsOptional)(),
41
62
  __metadata("design:type", String)
42
63
  ], MapAddressDto.prototype, "buildingName", void 0);
43
64
  __decorate([
65
+ (0, swagger_1.ApiPropertyOptional)({
66
+ description: 'Contact phone number for the location',
67
+ example: '+1234567890'
68
+ }),
44
69
  (0, class_validator_1.IsString)(),
45
70
  (0, class_validator_1.IsOptional)(),
46
71
  __metadata("design:type", String)
47
72
  ], MapAddressDto.prototype, "phone", void 0);
48
73
  __decorate([
74
+ (0, swagger_1.ApiPropertyOptional)({
75
+ description: 'URL to a photo of the location',
76
+ example: 'https://example.com/photo.jpg'
77
+ }),
49
78
  (0, class_validator_1.IsString)(),
50
79
  (0, class_validator_1.IsOptional)(),
51
80
  __metadata("design:type", String)
52
81
  ], MapAddressDto.prototype, "photo", void 0);
53
82
  __decorate([
83
+ (0, swagger_1.ApiPropertyOptional)({
84
+ description: 'Indicates whether the address has been validated',
85
+ example: true
86
+ }),
54
87
  (0, class_validator_1.IsBoolean)(),
55
88
  (0, class_validator_1.IsOptional)(),
56
89
  __metadata("design:type", Boolean)
@@ -1 +1 @@
1
- {"version":3,"file":"map-address.dto.js","sourceRoot":"","sources":["../../../../../src/modules/common/dtos/map-address.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAkF;AAClF,yDAAyC;AACzC,yDAAoD;AAEpD,MAAa,aAAa;CA+BzB;AA/BD,sCA+BC;AA5BG;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8CACI;AAGjB;IADC,IAAA,0BAAQ,GAAE;;sDACc;AAIzB;IAFC,IAAA,gCAAc,GAAE;IAChB,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iCAAc,CAAC;8BAChB,iCAAc;+CAAC;AAI1B;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+CACK;AAIlB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACS;AAItB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4CACE;AAIf;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4CACE;AAIf;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;8CACK"}
1
+ {"version":3,"file":"map-address.dto.js","sourceRoot":"","sources":["../../../../../src/modules/common/dtos/map-address.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAkF;AAClF,yDAAyC;AACzC,6CAAmE;AACnE,yDAAoD;AAEpD,MAAa,aAAa;CA+DzB;AA/DD,sCA+DC;AAxDG;IANC,IAAA,6BAAmB,EAAC;QACjB,WAAW,EAAE,iCAAiC;QAC9C,OAAO,EAAE,6BAA6B;KACzC,CAAC;IACD,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8CACI;AAOjB;IALC,IAAA,qBAAW,EAAC;QACT,WAAW,EAAE,kCAAkC;QAC/C,OAAO,EAAE,qCAAqC;KACjD,CAAC;IACD,IAAA,0BAAQ,GAAE;;sDACc;AAQzB;IANC,IAAA,qBAAW,EAAC;QACT,WAAW,EAAE,wCAAwC;QACrD,IAAI,EAAE,iCAAc;KACvB,CAAC;IACD,IAAA,gCAAc,GAAE;IAChB,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iCAAc,CAAC;8BAChB,iCAAc;+CAAC;AAQ1B;IANC,IAAA,6BAAmB,EAAC;QACjB,WAAW,EAAE,4BAA4B;QACzC,OAAO,EAAE,aAAa;KACzB,CAAC;IACD,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+CACK;AAQlB;IANC,IAAA,6BAAmB,EAAC;QACjB,WAAW,EAAE,sBAAsB;QACnC,OAAO,EAAE,uBAAuB;KACnC,CAAC;IACD,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACS;AAQtB;IANC,IAAA,6BAAmB,EAAC;QACjB,WAAW,EAAE,uCAAuC;QACpD,OAAO,EAAE,aAAa;KACzB,CAAC;IACD,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4CACE;AAQf;IANC,IAAA,6BAAmB,EAAC;QACjB,WAAW,EAAE,gCAAgC;QAC7C,OAAO,EAAE,+BAA+B;KAC3C,CAAC;IACD,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4CACE;AAQf;IANC,IAAA,6BAAmB,EAAC;QACjB,WAAW,EAAE,kDAAkD;QAC/D,OAAO,EAAE,IAAI;KAChB,CAAC;IACD,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;8CACK"}
@@ -12,22 +12,39 @@ export class LoginResponseDto {
12
12
  }
13
13
  __decorate([
14
14
  ApiProperty({
15
- description: 'Authentication token for mobile user login',
15
+ description: 'JWT authentication token for accessing protected endpoints',
16
16
  example: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c'
17
17
  }),
18
18
  __metadata("design:type", String)
19
19
  ], LoginResponseDto.prototype, "accessToken", void 0);
20
20
  __decorate([
21
21
  ApiProperty({
22
- description: 'User information',
22
+ description: 'Comprehensive user information including profile, roles, and organization details',
23
23
  example: {
24
- id: 456,
25
- email: null,
26
- name: 'Mobile User',
24
+ id: 123,
25
+ appId: 'Pasha',
26
+ name: 'John Doe',
27
+ email: 'john.doe@example.com',
27
28
  phoneNumber: '+1234567890',
28
- roles: ['MOBILE_USER'],
29
- status: 'ACTIVE',
30
- isIdentityVerified: true
29
+ roles: ['Organization:Admin', 'Control-Centre:Admin'],
30
+ avatar: 'https://storage.googleapis.com/avatars/john-doe.jpg',
31
+ designation: 'Emergency Manager',
32
+ status: 'active',
33
+ guardians: [
34
+ {
35
+ name: 'Jane Doe',
36
+ email: 'jane.doe@example.com',
37
+ phoneNumber: '+1234567891',
38
+ relationship: 'Spouse'
39
+ }
40
+ ],
41
+ isTermsAccepted: true,
42
+ isIdentityVerified: true,
43
+ lastLoginAt: '2025-10-01T10:30:00.000Z',
44
+ controlCentreId: 5,
45
+ organizationId: 42,
46
+ createdAt: '2024-01-15T08:00:00.000Z',
47
+ updatedAt: '2025-10-01T10:30:00.000Z'
31
48
  }
32
49
  }),
33
50
  __metadata("design:type", Object)
@@ -1 +1 @@
1
- {"version":3,"file":"login-response.dto.js","sourceRoot":"","sources":["../../../../../src/modules/auth/dtos/login-response.dto.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAG9C,MAAM,OAAO,gBAAgB;CAoB5B;AAfG;IAJC,WAAW,CAAC;QACT,WAAW,EAAE,4CAA4C;QACzD,OAAO,EAAE,6JAA6J;KACzK,CAAC;;qDACmB;AAcrB;IAZC,WAAW,CAAC;QACT,WAAW,EAAE,kBAAkB;QAC/B,OAAO,EAAE;YACL,EAAE,EAAE,GAAG;YACP,KAAK,EAAE,IAAI;YACX,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,aAAa;YAC1B,KAAK,EAAE,CAAC,aAAa,CAAC;YACtB,MAAM,EAAE,QAAQ;YAChB,kBAAkB,EAAE,IAAI;SAC3B;KACJ,CAAC;;8CACU"}
1
+ {"version":3,"file":"login-response.dto.js","sourceRoot":"","sources":["../../../../../src/modules/auth/dtos/login-response.dto.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAG9C,MAAM,OAAO,gBAAgB;CAqC5B;AAhCG;IAJC,WAAW,CAAC;QACT,WAAW,EAAE,4DAA4D;QACzE,OAAO,EAAE,6JAA6J;KACzK,CAAC;;qDACmB;AA+BrB;IA7BC,WAAW,CAAC;QACT,WAAW,EAAE,mFAAmF;QAChG,OAAO,EAAE;YACL,EAAE,EAAE,GAAG;YACP,KAAK,EAAE,OAAO;YACd,IAAI,EAAE,UAAU;YAChB,KAAK,EAAE,sBAAsB;YAC7B,WAAW,EAAE,aAAa;YAC1B,KAAK,EAAE,CAAC,oBAAoB,EAAE,sBAAsB,CAAC;YACrD,MAAM,EAAE,qDAAqD;YAC7D,WAAW,EAAE,mBAAmB;YAChC,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE;gBACP;oBACI,IAAI,EAAE,UAAU;oBAChB,KAAK,EAAE,sBAAsB;oBAC7B,WAAW,EAAE,aAAa;oBAC1B,YAAY,EAAE,QAAQ;iBACzB;aACJ;YACD,eAAe,EAAE,IAAI;YACrB,kBAAkB,EAAE,IAAI;YACxB,WAAW,EAAE,0BAA0B;YACvC,eAAe,EAAE,CAAC;YAClB,cAAc,EAAE,EAAE;YAClB,SAAS,EAAE,0BAA0B;YACrC,SAAS,EAAE,0BAA0B;SACxC;KACJ,CAAC;;8CACU"}
@@ -9,44 +9,77 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  };
10
10
  import { IsBoolean, IsOptional, IsString, ValidateNested } from "class-validator";
11
11
  import { Type } from "class-transformer";
12
+ import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
12
13
  import { MapLocationDto } from "./map-location.dto";
13
14
  export class MapAddressDto {
14
15
  }
15
16
  __decorate([
17
+ ApiPropertyOptional({
18
+ description: 'Google Place ID for the address',
19
+ example: 'ChIJN1t_tDeuEmsRUsoyG83frY4'
20
+ }),
16
21
  IsString(),
17
22
  IsOptional(),
18
23
  __metadata("design:type", String)
19
24
  ], MapAddressDto.prototype, "placeId", void 0);
20
25
  __decorate([
26
+ ApiProperty({
27
+ description: 'Physical address of the location',
28
+ example: '123 Main Street, New York, NY 10001'
29
+ }),
21
30
  IsString(),
22
31
  __metadata("design:type", String)
23
32
  ], MapAddressDto.prototype, "physicalAddress", void 0);
24
33
  __decorate([
34
+ ApiProperty({
35
+ description: 'Geographic coordinates of the location',
36
+ type: MapLocationDto
37
+ }),
25
38
  ValidateNested(),
26
39
  Type(() => MapLocationDto),
27
40
  __metadata("design:type", MapLocationDto)
28
41
  ], MapAddressDto.prototype, "location", void 0);
29
42
  __decorate([
43
+ ApiPropertyOptional({
44
+ description: 'Plus code for the location',
45
+ example: '87G8Q2J8+Q2'
46
+ }),
30
47
  IsString(),
31
48
  IsOptional(),
32
49
  __metadata("design:type", String)
33
50
  ], MapAddressDto.prototype, "plusCode", void 0);
34
51
  __decorate([
52
+ ApiPropertyOptional({
53
+ description: 'Name of the building',
54
+ example: 'Empire State Building'
55
+ }),
35
56
  IsString(),
36
57
  IsOptional(),
37
58
  __metadata("design:type", String)
38
59
  ], MapAddressDto.prototype, "buildingName", void 0);
39
60
  __decorate([
61
+ ApiPropertyOptional({
62
+ description: 'Contact phone number for the location',
63
+ example: '+1234567890'
64
+ }),
40
65
  IsString(),
41
66
  IsOptional(),
42
67
  __metadata("design:type", String)
43
68
  ], MapAddressDto.prototype, "phone", void 0);
44
69
  __decorate([
70
+ ApiPropertyOptional({
71
+ description: 'URL to a photo of the location',
72
+ example: 'https://example.com/photo.jpg'
73
+ }),
45
74
  IsString(),
46
75
  IsOptional(),
47
76
  __metadata("design:type", String)
48
77
  ], MapAddressDto.prototype, "photo", void 0);
49
78
  __decorate([
79
+ ApiPropertyOptional({
80
+ description: 'Indicates whether the address has been validated',
81
+ example: true
82
+ }),
50
83
  IsBoolean(),
51
84
  IsOptional(),
52
85
  __metadata("design:type", Boolean)
@@ -1 +1 @@
1
- {"version":3,"file":"map-address.dto.js","sourceRoot":"","sources":["../../../../../src/modules/common/dtos/map-address.dto.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAClF,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,MAAM,OAAO,aAAa;CA+BzB;AA5BG;IAFC,QAAQ,EAAE;IACV,UAAU,EAAE;;8CACI;AAGjB;IADC,QAAQ,EAAE;;sDACc;AAIzB;IAFC,cAAc,EAAE;IAChB,IAAI,CAAC,GAAG,EAAE,CAAC,cAAc,CAAC;8BAChB,cAAc;+CAAC;AAI1B;IAFC,QAAQ,EAAE;IACV,UAAU,EAAE;;+CACK;AAIlB;IAFC,QAAQ,EAAE;IACV,UAAU,EAAE;;mDACS;AAItB;IAFC,QAAQ,EAAE;IACV,UAAU,EAAE;;4CACE;AAIf;IAFC,QAAQ,EAAE;IACV,UAAU,EAAE;;4CACE;AAIf;IAFC,SAAS,EAAE;IACX,UAAU,EAAE;;8CACK"}
1
+ {"version":3,"file":"map-address.dto.js","sourceRoot":"","sources":["../../../../../src/modules/common/dtos/map-address.dto.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAClF,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,MAAM,OAAO,aAAa;CA+DzB;AAxDG;IANC,mBAAmB,CAAC;QACjB,WAAW,EAAE,iCAAiC;QAC9C,OAAO,EAAE,6BAA6B;KACzC,CAAC;IACD,QAAQ,EAAE;IACV,UAAU,EAAE;;8CACI;AAOjB;IALC,WAAW,CAAC;QACT,WAAW,EAAE,kCAAkC;QAC/C,OAAO,EAAE,qCAAqC;KACjD,CAAC;IACD,QAAQ,EAAE;;sDACc;AAQzB;IANC,WAAW,CAAC;QACT,WAAW,EAAE,wCAAwC;QACrD,IAAI,EAAE,cAAc;KACvB,CAAC;IACD,cAAc,EAAE;IAChB,IAAI,CAAC,GAAG,EAAE,CAAC,cAAc,CAAC;8BAChB,cAAc;+CAAC;AAQ1B;IANC,mBAAmB,CAAC;QACjB,WAAW,EAAE,4BAA4B;QACzC,OAAO,EAAE,aAAa;KACzB,CAAC;IACD,QAAQ,EAAE;IACV,UAAU,EAAE;;+CACK;AAQlB;IANC,mBAAmB,CAAC;QACjB,WAAW,EAAE,sBAAsB;QACnC,OAAO,EAAE,uBAAuB;KACnC,CAAC;IACD,QAAQ,EAAE;IACV,UAAU,EAAE;;mDACS;AAQtB;IANC,mBAAmB,CAAC;QACjB,WAAW,EAAE,uCAAuC;QACpD,OAAO,EAAE,aAAa;KACzB,CAAC;IACD,QAAQ,EAAE;IACV,UAAU,EAAE;;4CACE;AAQf;IANC,mBAAmB,CAAC;QACjB,WAAW,EAAE,gCAAgC;QAC7C,OAAO,EAAE,+BAA+B;KAC3C,CAAC;IACD,QAAQ,EAAE;IACV,UAAU,EAAE;;4CACE;AAQf;IANC,mBAAmB,CAAC;QACjB,WAAW,EAAE,kDAAkD;QAC/D,OAAO,EAAE,IAAI;KAChB,CAAC;IACD,SAAS,EAAE;IACX,UAAU,EAAE;;8CACK"}
@@ -1,5 +1,6 @@
1
1
  import { IncidentAppId } from "../../incident";
2
2
  import { Roles } from "../../role";
3
+ import { UserStatus } from "../enums/user-status.enum";
3
4
  import { Guardian } from "./guardian";
4
5
  import { GuardianRelation } from "./guardian-relation";
5
6
  export interface User {
@@ -12,7 +13,7 @@ export interface User {
12
13
  password?: string;
13
14
  avatar?: string;
14
15
  designation?: string;
15
- status?: string;
16
+ status?: UserStatus;
16
17
  guardians?: Guardian[];
17
18
  dependentRelations?: GuardianRelation[];
18
19
  guardianRelations?: GuardianRelation[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "grm-shared-library",
3
- "version": "1.1.96",
3
+ "version": "1.1.98",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/types/index.d.ts",