grm-shared-library 1.1.122 → 1.1.124

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.
@@ -50,9 +50,9 @@ __decorate([
50
50
  __metadata("design:type", String)
51
51
  ], AccountDeletionRequestPayloadDto.prototype, "additionalComments", void 0);
52
52
  __decorate([
53
- (0, class_validator_1.IsString)(),
53
+ (0, class_validator_1.IsNumber)(),
54
54
  (0, class_validator_1.IsNotEmpty)(),
55
- __metadata("design:type", String)
55
+ __metadata("design:type", Number)
56
56
  ], AccountDeletionRequestPayloadDto.prototype, "requestId", void 0);
57
57
  __decorate([
58
58
  (0, class_validator_1.IsDateString)(),
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ // User Analytics Response DTOs for shared use across services
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=user-analytics-response.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user-analytics-response.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/user/dtos/analytics/user-analytics-response.dto.ts"],"names":[],"mappings":";AAAA,8DAA8D"}
@@ -20,6 +20,7 @@ __exportStar(require("./dtos/guardian.dto"), exports);
20
20
  __exportStar(require("./dtos/guardian-identifier.dto"), exports);
21
21
  __exportStar(require("./dtos/create-guardian-relation.dto"), exports);
22
22
  __exportStar(require("./dtos/update-guardian-relation-status.dto"), exports);
23
+ __exportStar(require("./dtos/analytics/user-analytics-response.dto"), exports);
23
24
  __exportStar(require("./enums/user-status.enum"), exports);
24
25
  __exportStar(require("./enums/guardian-relationship.enum"), exports);
25
26
  __exportStar(require("./enums/guardian-relation-status.enum"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/user/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC;AACvC,yDAAuC;AACvC,sDAAoC;AACpC,iEAA+C;AAC/C,sEAAoD;AACpD,6EAA2D;AAE3D,2DAAyC;AACzC,qEAAmD;AACnD,wEAAsD;AAEtD,oDAAkC;AAClC,4DAA0C;AAC1C,4DAA0C;AAC1C,wDAAsC;AACtC,iEAA+C;AAC/C,kEAAgD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/user/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC;AACvC,yDAAuC;AACvC,sDAAoC;AACpC,iEAA+C;AAC/C,sEAAoD;AACpD,6EAA2D;AAC3D,+EAA6D;AAE7D,2DAAyC;AACzC,qEAAmD;AACnD,wEAAsD;AAEtD,oDAAkC;AAClC,4DAA0C;AAC1C,4DAA0C;AAC1C,wDAAsC;AACtC,iEAA+C;AAC/C,kEAAgD"}
@@ -46,9 +46,9 @@ __decorate([
46
46
  __metadata("design:type", String)
47
47
  ], AccountDeletionRequestPayloadDto.prototype, "additionalComments", void 0);
48
48
  __decorate([
49
- IsString(),
49
+ IsNumber(),
50
50
  IsNotEmpty(),
51
- __metadata("design:type", String)
51
+ __metadata("design:type", Number)
52
52
  ], AccountDeletionRequestPayloadDto.prototype, "requestId", void 0);
53
53
  __decorate([
54
54
  IsDateString(),
@@ -0,0 +1,3 @@
1
+ // User Analytics Response DTOs for shared use across services
2
+ export {};
3
+ //# sourceMappingURL=user-analytics-response.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user-analytics-response.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/user/dtos/analytics/user-analytics-response.dto.ts"],"names":[],"mappings":"AAAA,8DAA8D"}
@@ -4,6 +4,7 @@ export * from './dtos/guardian.dto';
4
4
  export * from './dtos/guardian-identifier.dto';
5
5
  export * from './dtos/create-guardian-relation.dto';
6
6
  export * from './dtos/update-guardian-relation-status.dto';
7
+ export * from './dtos/analytics/user-analytics-response.dto';
7
8
  export * from './enums/user-status.enum';
8
9
  export * from './enums/guardian-relationship.enum';
9
10
  export * from './enums/guardian-relation-status.enum';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/user/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,qCAAqC,CAAC;AACpD,cAAc,4CAA4C,CAAC;AAE3D,cAAc,0BAA0B,CAAC;AACzC,cAAc,oCAAoC,CAAC;AACnD,cAAc,uCAAuC,CAAC;AAEtD,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/user/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,qCAAqC,CAAC;AACpD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,8CAA8C,CAAC;AAE7D,cAAc,0BAA0B,CAAC;AACzC,cAAc,oCAAoC,CAAC;AACnD,cAAc,uCAAuC,CAAC;AAEtD,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC"}
@@ -7,6 +7,6 @@ export declare class AccountDeletionRequestPayloadDto {
7
7
  email: string;
8
8
  reason: DeleteAccountReason;
9
9
  additionalComments?: string;
10
- requestId: string;
10
+ requestId: number;
11
11
  timestamp: string;
12
12
  }
@@ -0,0 +1,9 @@
1
+ export interface UserAnalyticsDataDto {
2
+ totalUsers: number;
3
+ activeUsers: number;
4
+ pendingUsers: number;
5
+ verifiedUsers: number;
6
+ usersToday: number;
7
+ usersThisWeek: number;
8
+ usersThisMonth: number;
9
+ }
@@ -4,6 +4,7 @@ export * from './dtos/guardian.dto';
4
4
  export * from './dtos/guardian-identifier.dto';
5
5
  export * from './dtos/create-guardian-relation.dto';
6
6
  export * from './dtos/update-guardian-relation-status.dto';
7
+ export * from './dtos/analytics/user-analytics-response.dto';
7
8
  export * from './enums/user-status.enum';
8
9
  export * from './enums/guardian-relationship.enum';
9
10
  export * from './enums/guardian-relation-status.enum';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "grm-shared-library",
3
- "version": "1.1.122",
3
+ "version": "1.1.124",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/types/index.d.ts",