@harnessio/react-sei-panorama-service-client 0.25.9 → 0.25.12

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.
@@ -17,39 +17,33 @@ export interface AiInsightsControllerGetAdoptionBreakdownProps extends Omit<Fetc
17
17
  }
18
18
  export declare function aiInsightsControllerGetAdoptionBreakdown(props: AiInsightsControllerGetAdoptionBreakdownProps): Promise<AiInsightsControllerGetAdoptionBreakdownOkResponse>;
19
19
  /**
20
- * Retrieves time-series adoption metrics broken down by direct child teams.
20
+ * Retrieves adoption metrics broken down by direct child teams with aggregated values across the entire date range.
21
21
  *
22
- * **Granularity Options:**
23
- * - `DAILY` - One data point per day
24
- * - `WEEKLY` - One data point per week
25
- * - `MONTHLY` - One data point per month
22
+ * **Important:** This endpoint processes only direct child teams of the specified team and aggregates
23
+ * data across the entire date range (granularity parameter is ignored).
26
24
  *
27
- * **Integration Types:**
28
- * Specify using an array of enum values:
29
- * - `cursor` - Cursor AI coding assistant
30
- * - `windsurf` - Windsurf AI coding platform
25
+ * **Returns adoption data for each child team:**
26
+ * - Team-specific active, inactive, and not-licensed user counts aggregated across entire date range
27
+ * - Data is organized by integration type (Cursor, Windsurf, and both)
31
28
  *
32
- * **Response Structure:**
33
- * Returns data arrays for each integration type based on request:
29
+ * **Integration Breakdown:**
34
30
  * - `cursor` - Adoption breakdown for Cursor integration by child team
35
31
  * - `windsurf` - Adoption breakdown for Windsurf integration by child team
36
32
  * - `cursorAndWindsurf` - Users active in both integrations (only when both are requested)
37
33
  *
38
- * Each integration array contains team objects with:
34
+ * **Metrics per Team:**
39
35
  * - `teamId` - Child team reference ID
40
36
  * - `teamName` - Child team name
41
- * - `data` - Array of time-series data points
37
+ * - `activeUsers` - Total users who actively used the tool across entire date range
38
+ * - `inactiveUsers` - Total licensed users who did not use the tool
39
+ * - `unAssigned` - Total team members without a license for this tool
40
+ * - `startDate` - Start of the aggregation period
41
+ * - `endDate` - End of the aggregation period
42
42
  *
43
- * **Metrics per Data Point:**
44
- * - `startDate` - Period start date
45
- * - `endDate` - Period end date
46
- * - `activeUsers` - Users who actively used the tool in this period
47
- * - `inactiveUsers` - Licensed users who did not use the tool
48
- * - `unAssigned` - Team members without a license for this tool
43
+ * **Note:** Granularity is not supported - returns single aggregated value per team.
49
44
  *
50
45
  * **Use Cases:**
51
- * - Track adoption trends by team over time
52
- * - Compare team performance and engagement
46
+ * - Compare adoption across different child teams
53
47
  * - Identify teams needing support or training
54
48
  * - Monitor license utilization per team
55
49
  *
@@ -7,39 +7,33 @@ export function aiInsightsControllerGetAdoptionBreakdown(props) {
7
7
  return fetcher(Object.assign({ url: `/v2/insights/coding-assistant/adoptions/breakdown`, method: 'POST' }, props));
8
8
  }
9
9
  /**
10
- * Retrieves time-series adoption metrics broken down by direct child teams.
10
+ * Retrieves adoption metrics broken down by direct child teams with aggregated values across the entire date range.
11
11
  *
12
- * **Granularity Options:**
13
- * - `DAILY` - One data point per day
14
- * - `WEEKLY` - One data point per week
15
- * - `MONTHLY` - One data point per month
12
+ * **Important:** This endpoint processes only direct child teams of the specified team and aggregates
13
+ * data across the entire date range (granularity parameter is ignored).
16
14
  *
17
- * **Integration Types:**
18
- * Specify using an array of enum values:
19
- * - `cursor` - Cursor AI coding assistant
20
- * - `windsurf` - Windsurf AI coding platform
15
+ * **Returns adoption data for each child team:**
16
+ * - Team-specific active, inactive, and not-licensed user counts aggregated across entire date range
17
+ * - Data is organized by integration type (Cursor, Windsurf, and both)
21
18
  *
22
- * **Response Structure:**
23
- * Returns data arrays for each integration type based on request:
19
+ * **Integration Breakdown:**
24
20
  * - `cursor` - Adoption breakdown for Cursor integration by child team
25
21
  * - `windsurf` - Adoption breakdown for Windsurf integration by child team
26
22
  * - `cursorAndWindsurf` - Users active in both integrations (only when both are requested)
27
23
  *
28
- * Each integration array contains team objects with:
24
+ * **Metrics per Team:**
29
25
  * - `teamId` - Child team reference ID
30
26
  * - `teamName` - Child team name
31
- * - `data` - Array of time-series data points
27
+ * - `activeUsers` - Total users who actively used the tool across entire date range
28
+ * - `inactiveUsers` - Total licensed users who did not use the tool
29
+ * - `unAssigned` - Total team members without a license for this tool
30
+ * - `startDate` - Start of the aggregation period
31
+ * - `endDate` - End of the aggregation period
32
32
  *
33
- * **Metrics per Data Point:**
34
- * - `startDate` - Period start date
35
- * - `endDate` - Period end date
36
- * - `activeUsers` - Users who actively used the tool in this period
37
- * - `inactiveUsers` - Licensed users who did not use the tool
38
- * - `unAssigned` - Team members without a license for this tool
33
+ * **Note:** Granularity is not supported - returns single aggregated value per team.
39
34
  *
40
35
  * **Use Cases:**
41
- * - Track adoption trends by team over time
42
- * - Compare team performance and engagement
36
+ * - Compare adoption across different child teams
43
37
  * - Identify teams needing support or training
44
38
  * - Monitor license utilization per team
45
39
  *
@@ -0,0 +1,12 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ResponseWithPagination } from '../helpers';
3
+ import { FetcherOptions } from '../../../../fetcher/index.js';
4
+ export type HealthControllerCheckDbHealthOkResponse = ResponseWithPagination<string>;
5
+ export type HealthControllerCheckDbHealthErrorResponse = unknown;
6
+ export interface HealthControllerCheckDbHealthProps extends Omit<FetcherOptions<unknown, unknown>, 'url'> {
7
+ }
8
+ export declare function healthControllerCheckDbHealth(props: HealthControllerCheckDbHealthProps): Promise<HealthControllerCheckDbHealthOkResponse>;
9
+ /**
10
+ * Returns the health status of the database.
11
+ */
12
+ export declare function useHealthControllerCheckDbHealthQuery(props: HealthControllerCheckDbHealthProps, options?: Omit<UseQueryOptions<HealthControllerCheckDbHealthOkResponse, HealthControllerCheckDbHealthErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<HealthControllerCheckDbHealthOkResponse, unknown>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function healthControllerCheckDbHealth(props) {
7
+ return fetcher(Object.assign({ url: `/v2/health/db-health`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Returns the health status of the database.
11
+ */
12
+ export function useHealthControllerCheckDbHealthQuery(props, options) {
13
+ return useQuery(['HealthControllerCheckDbHealth'], ({ signal }) => healthControllerCheckDbHealth(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -187,6 +187,8 @@ export type { ExportControllerForCollectionsExportDataErrorResponse, ExportContr
187
187
  export { exportControllerForCollectionsExportData, useExportControllerForCollectionsExportDataMutation, } from './hooks/useExportControllerForCollectionsExportDataMutation';
188
188
  export type { ExportControllerForTeamsExportDataErrorResponse, ExportControllerForTeamsExportDataMutationQueryParams, ExportControllerForTeamsExportDataOkResponse, ExportControllerForTeamsExportDataProps, ExportControllerForTeamsExportDataRequestBody, } from './hooks/useExportControllerForTeamsExportDataMutation';
189
189
  export { exportControllerForTeamsExportData, useExportControllerForTeamsExportDataMutation, } from './hooks/useExportControllerForTeamsExportDataMutation';
190
+ export type { HealthControllerCheckDbHealthErrorResponse, HealthControllerCheckDbHealthOkResponse, HealthControllerCheckDbHealthProps, } from './hooks/useHealthControllerCheckDbHealthQuery';
191
+ export { healthControllerCheckDbHealth, useHealthControllerCheckDbHealthQuery, } from './hooks/useHealthControllerCheckDbHealthQuery';
190
192
  export type { ImFieldsControllerListImFieldsErrorResponse, ImFieldsControllerListImFieldsOkResponse, ImFieldsControllerListImFieldsProps, ImFieldsControllerListImFieldsQueryQueryParams, ImFieldsControllerListImFieldsRequestBody, } from './hooks/useImFieldsControllerListImFieldsQuery';
191
193
  export { imFieldsControllerListImFields, useImFieldsControllerListImFieldsQuery, } from './hooks/useImFieldsControllerListImFieldsQuery';
192
194
  export type { IntegrationControllerGetFilterValuesErrorResponse, IntegrationControllerGetFilterValuesOkResponse, IntegrationControllerGetFilterValuesProps, IntegrationControllerGetFilterValuesQueryQueryParams, IntegrationControllerGetFilterValuesRequestBody, } from './hooks/useIntegrationControllerGetFilterValuesQuery';
@@ -92,6 +92,7 @@ export { efficiencyProfileControllerSearchProfiles, useEfficiencyProfileControll
92
92
  export { efficiencyProfileControllerUpdateProfile, useEfficiencyProfileControllerUpdateProfileMutation, } from './hooks/useEfficiencyProfileControllerUpdateProfileMutation';
93
93
  export { exportControllerForCollectionsExportData, useExportControllerForCollectionsExportDataMutation, } from './hooks/useExportControllerForCollectionsExportDataMutation';
94
94
  export { exportControllerForTeamsExportData, useExportControllerForTeamsExportDataMutation, } from './hooks/useExportControllerForTeamsExportDataMutation';
95
+ export { healthControllerCheckDbHealth, useHealthControllerCheckDbHealthQuery, } from './hooks/useHealthControllerCheckDbHealthQuery';
95
96
  export { imFieldsControllerListImFields, useImFieldsControllerListImFieldsQuery, } from './hooks/useImFieldsControllerListImFieldsQuery';
96
97
  export { integrationControllerGetFilterValues, useIntegrationControllerGetFilterValuesQuery, } from './hooks/useIntegrationControllerGetFilterValuesQuery';
97
98
  export { integrationControllerListIntegrationConfigs, useIntegrationControllerListIntegrationConfigsQuery, } from './hooks/useIntegrationControllerListIntegrationConfigsQuery';
@@ -4,4 +4,8 @@ export interface LanguageCount {
4
4
  */
5
5
  file_changes_count?: number;
6
6
  language?: string;
7
+ /**
8
+ * @format int64
9
+ */
10
+ unique_users?: number;
7
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-sei-panorama-service-client",
3
- "version": "0.25.9",
3
+ "version": "0.25.12",
4
4
  "description": "Harness React sei panorama service client - SEI Panorama APIs integrated with react hooks for Panorama project",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",