@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.
- package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetAdoptionBreakdownQuery.d.ts +15 -21
- package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetAdoptionBreakdownQuery.js +15 -21
- package/dist/sei-panorama-service/src/services/hooks/useHealthControllerCheckDbHealthQuery.d.ts +12 -0
- package/dist/sei-panorama-service/src/services/hooks/useHealthControllerCheckDbHealthQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/index.d.ts +2 -0
- package/dist/sei-panorama-service/src/services/index.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/LanguageCount.d.ts +4 -0
- package/package.json +1 -1
|
@@ -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
|
|
20
|
+
* Retrieves adoption metrics broken down by direct child teams with aggregated values across the entire date range.
|
|
21
21
|
*
|
|
22
|
-
* **
|
|
23
|
-
*
|
|
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
|
-
* **
|
|
28
|
-
*
|
|
29
|
-
* -
|
|
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
|
-
* **
|
|
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
|
-
*
|
|
34
|
+
* **Metrics per Team:**
|
|
39
35
|
* - `teamId` - Child team reference ID
|
|
40
36
|
* - `teamName` - Child team name
|
|
41
|
-
* - `
|
|
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
|
-
* **
|
|
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
|
-
* -
|
|
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
|
|
10
|
+
* Retrieves adoption metrics broken down by direct child teams with aggregated values across the entire date range.
|
|
11
11
|
*
|
|
12
|
-
* **
|
|
13
|
-
*
|
|
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
|
-
* **
|
|
18
|
-
*
|
|
19
|
-
* -
|
|
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
|
-
* **
|
|
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
|
-
*
|
|
24
|
+
* **Metrics per Team:**
|
|
29
25
|
* - `teamId` - Child team reference ID
|
|
30
26
|
* - `teamName` - Child team name
|
|
31
|
-
* - `
|
|
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
|
-
* **
|
|
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
|
-
* -
|
|
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
|
*
|
package/dist/sei-panorama-service/src/services/hooks/useHealthControllerCheckDbHealthQuery.d.ts
ADDED
|
@@ -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';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@harnessio/react-sei-panorama-service-client",
|
|
3
|
-
"version": "0.25.
|
|
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",
|