@produce8/analytics-openapi-types 1.0.0-dev.20251218191537 → 1.0.0-dev.20251219210906

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/openapi-types.ts CHANGED
@@ -28,6 +28,10 @@ export interface paths {
28
28
  path?: never;
29
29
  cookie?: never;
30
30
  };
31
+ /**
32
+ * Get real-time working sessions for a user
33
+ * @description Retrieves working sessions for a specific user on a given date. Sessions are calculated in real-time from activity data stored in S3 Parquet files. A working session is defined as a group of activities with gaps of less than 1 hour between them.
34
+ */
31
35
  get: operations["RealTimeWorkingSessionsController_getRealTimeWorkingSessions"];
32
36
  put?: never;
33
37
  post?: never;
@@ -599,6 +603,20 @@ export interface operations {
599
603
  "application/json": components["schemas"]["RealTimeWorkingSessionsResponseDto"];
600
604
  };
601
605
  };
606
+ /** @description Bad Request - Invalid parameters (missing or malformed userId, accountId, date, or utcOffset) */
607
+ 400: {
608
+ headers: {
609
+ [name: string]: unknown;
610
+ };
611
+ content?: never;
612
+ };
613
+ /** @description Internal Server Error */
614
+ 500: {
615
+ headers: {
616
+ [name: string]: unknown;
617
+ };
618
+ content?: never;
619
+ };
602
620
  };
603
621
  };
604
622
  AppUsageReportController_getAppUsageMetrics: {
package/openapi.json CHANGED
@@ -33,6 +33,8 @@
33
33
  "/get-user-real-time-working-sessions": {
34
34
  "get": {
35
35
  "operationId": "RealTimeWorkingSessionsController_getRealTimeWorkingSessions",
36
+ "summary": "Get real-time working sessions for a user",
37
+ "description": "Retrieves working sessions for a specific user on a given date. Sessions are calculated in real-time from activity data stored in S3 Parquet files. A working session is defined as a group of activities with gaps of less than 1 hour between them.",
36
38
  "parameters": [
37
39
  {
38
40
  "name": "userId",
@@ -88,8 +90,17 @@
88
90
  }
89
91
  }
90
92
  }
93
+ },
94
+ "400": {
95
+ "description": "Bad Request - Invalid parameters (missing or malformed userId, accountId, date, or utcOffset)"
96
+ },
97
+ "500": {
98
+ "description": "Internal Server Error"
91
99
  }
92
- }
100
+ },
101
+ "tags": [
102
+ "Real-Time Working Sessions"
103
+ ]
93
104
  }
94
105
  },
95
106
  "/app-usage-metrics": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@produce8/analytics-openapi-types",
3
- "version": "1.0.0-dev.20251218191537",
3
+ "version": "1.0.0-dev.20251219210906",
4
4
  "description": "TypeScript types generated from Analytics Service OpenAPI specification",
5
5
  "main": "openapi-types.ts",
6
6
  "types": "openapi-types.ts",