@harnessio/react-sei-panorama-service-client 0.25.9 → 0.25.11
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/useAiInsightsControllerGetDailyActiveUsersDrilldownQuery.d.ts +22 -0
- package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetDailyActiveUsersDrilldownQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetFeatureMetricsQuery.d.ts +8 -27
- package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetFeatureMetricsQuery.js +2 -22
- package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetTeamAdoptionQuery.d.ts +22 -0
- package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetTeamAdoptionQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetTopLanguagesQuery.d.ts +6 -30
- package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetTopLanguagesQuery.js +2 -26
- package/dist/sei-panorama-service/src/services/index.d.ts +18 -39
- package/dist/sei-panorama-service/src/services/index.js +2 -6
- package/dist/sei-panorama-service/src/services/schemas/AiDailyActiveUsersDrilldownRequestDto.d.ts +34 -0
- package/dist/sei-panorama-service/src/services/schemas/AiDailyActiveUsersDrilldownResponseDto.d.ts +58 -0
- package/dist/sei-panorama-service/src/services/schemas/AiFeatureDataPoint.d.ts +14 -0
- package/dist/sei-panorama-service/src/services/schemas/AiFeatureDataResponseDto.d.ts +22 -0
- package/dist/sei-panorama-service/src/services/schemas/AiInsightsRequestDto.d.ts +17 -0
- package/dist/sei-panorama-service/src/services/schemas/AiTeamAdoptionRequestDto.d.ts +34 -0
- package/dist/sei-panorama-service/src/services/schemas/AiTeamAdoptionResponseDto.d.ts +35 -0
- package/dist/sei-panorama-service/src/services/schemas/AiTeamAdoptionUserDto.d.ts +30 -0
- package/dist/sei-panorama-service/src/services/schemas/CursorDrilldownDataDto.d.ts +27 -0
- package/dist/sei-panorama-service/src/services/schemas/CursorDrilldownOptions.d.ts +12 -0
- package/dist/sei-panorama-service/src/services/schemas/CursorDrilldownUserDto.d.ts +52 -0
- package/dist/sei-panorama-service/src/services/schemas/LanguageCount.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/WindsurfDrilldownDataDto.d.ts +17 -0
- package/dist/sei-panorama-service/src/services/schemas/WindsurfDrilldownOptions.d.ts +12 -0
- package/dist/sei-panorama-service/src/services/schemas/WindsurfDrilldownUserDto.d.ts +60 -0
- package/package.json +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetAdoptionBreakdownQuery.d.ts +0 -57
- package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetAdoptionBreakdownQuery.js +0 -49
- package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetAdoptionMetricsQuery.d.ts +0 -52
- package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetAdoptionMetricsQuery.js +0 -44
- package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetAdoptionSummaryQuery.d.ts +0 -51
- package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetAdoptionSummaryQuery.js +0 -43
- package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetRawMetricsQuery.d.ts +0 -103
- package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetRawMetricsQuery.js +0 -95
- package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetTeamBreakdownQuery.d.ts +0 -50
- package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetTeamBreakdownQuery.js +0 -42
- package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetToolUsersSummaryQuery.d.ts +0 -44
- package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetToolUsersSummaryQuery.js +0 -36
- package/dist/sei-panorama-service/src/services/schemas/AdoptionDataPoint.d.ts +0 -35
- package/dist/sei-panorama-service/src/services/schemas/AdoptionPeriodData.d.ts +0 -35
- package/dist/sei-panorama-service/src/services/schemas/AiAdoptionBreakdownRequestDto.d.ts +0 -38
- package/dist/sei-panorama-service/src/services/schemas/AiAdoptionBreakdownResponseDto.d.ts +0 -30
- package/dist/sei-panorama-service/src/services/schemas/AiAdoptionMetricsRequestDto.d.ts +0 -34
- package/dist/sei-panorama-service/src/services/schemas/AiAdoptionMetricsResponseDto.d.ts +0 -35
- package/dist/sei-panorama-service/src/services/schemas/AiAdoptionSummaryRequestDto.d.ts +0 -32
- package/dist/sei-panorama-service/src/services/schemas/AiAdoptionSummaryResponseDto.d.ts +0 -30
- package/dist/sei-panorama-service/src/services/schemas/AiCombinedInsightsRequestDto.d.ts +0 -37
- package/dist/sei-panorama-service/src/services/schemas/AiMetrics.d.ts +0 -40
- package/dist/sei-panorama-service/src/services/schemas/AiRawMetricsRequestDto.d.ts +0 -66
- package/dist/sei-panorama-service/src/services/schemas/AiRawMetricsResponseDto.d.ts +0 -30
- package/dist/sei-panorama-service/src/services/schemas/AiSummary.d.ts +0 -14
- package/dist/sei-panorama-service/src/services/schemas/AiTeamBreakdownDataPoint.d.ts +0 -31
- package/dist/sei-panorama-service/src/services/schemas/AiTeamBreakdownDataPoint.js +0 -4
- package/dist/sei-panorama-service/src/services/schemas/AiTeamBreakdownRequestDto.d.ts +0 -16
- package/dist/sei-panorama-service/src/services/schemas/AiTeamBreakdownRequestDto.js +0 -4
- package/dist/sei-panorama-service/src/services/schemas/AiTeamBreakdownResponseDto.d.ts +0 -14
- package/dist/sei-panorama-service/src/services/schemas/AiToolUsersSummaryRequestDto.d.ts +0 -28
- package/dist/sei-panorama-service/src/services/schemas/AiToolUsersSummaryRequestDto.js +0 -4
- package/dist/sei-panorama-service/src/services/schemas/AiToolUsersSummaryResponseDto.d.ts +0 -31
- package/dist/sei-panorama-service/src/services/schemas/AiToolUsersSummaryResponseDto.js +0 -1
- package/dist/sei-panorama-service/src/services/schemas/AiTopLanguagesRequestDto.d.ts +0 -28
- package/dist/sei-panorama-service/src/services/schemas/AiTopLanguagesRequestDto.js +0 -4
- package/dist/sei-panorama-service/src/services/schemas/ApiError.d.ts +0 -31
- package/dist/sei-panorama-service/src/services/schemas/ApiError.js +0 -1
- package/dist/sei-panorama-service/src/services/schemas/IntegrationAdoptionSummary.d.ts +0 -14
- package/dist/sei-panorama-service/src/services/schemas/IntegrationAdoptionSummary.js +0 -1
- package/dist/sei-panorama-service/src/services/schemas/IntegrationRawMetrics.d.ts +0 -15
- package/dist/sei-panorama-service/src/services/schemas/IntegrationRawMetrics.js +0 -1
- package/dist/sei-panorama-service/src/services/schemas/PaginationParams.d.ts +0 -19
- package/dist/sei-panorama-service/src/services/schemas/PaginationParams.js +0 -4
- package/dist/sei-panorama-service/src/services/schemas/TeamPeriodData.d.ts +0 -46
- package/dist/sei-panorama-service/src/services/schemas/TeamPeriodData.js +0 -4
- package/dist/sei-panorama-service/src/services/schemas/ToolSummary.d.ts +0 -53
- package/dist/sei-panorama-service/src/services/schemas/ToolSummary.js +0 -4
- package/dist/sei-panorama-service/src/services/schemas/UserMetrics.d.ts +0 -25
- package/dist/sei-panorama-service/src/services/schemas/UserMetrics.js +0 -1
- package/dist/sei-panorama-service/src/services/schemas/ValidationError.d.ts +0 -19
- package/dist/sei-panorama-service/src/services/schemas/ValidationError.js +0 -4
- /package/dist/sei-panorama-service/src/services/schemas/{AiAdoptionBreakdownResponseDto.js → AiDailyActiveUsersDrilldownRequestDto.js} +0 -0
- /package/dist/sei-panorama-service/src/services/schemas/{AiAdoptionMetricsResponseDto.js → AiDailyActiveUsersDrilldownResponseDto.js} +0 -0
- /package/dist/sei-panorama-service/src/services/schemas/{AdoptionDataPoint.js → AiFeatureDataPoint.js} +0 -0
- /package/dist/sei-panorama-service/src/services/schemas/{AiAdoptionSummaryResponseDto.js → AiFeatureDataResponseDto.js} +0 -0
- /package/dist/sei-panorama-service/src/services/schemas/{AdoptionPeriodData.js → AiInsightsRequestDto.js} +0 -0
- /package/dist/sei-panorama-service/src/services/schemas/{AiRawMetricsRequestDto.js → AiTeamAdoptionRequestDto.js} +0 -0
- /package/dist/sei-panorama-service/src/services/schemas/{AiRawMetricsResponseDto.js → AiTeamAdoptionResponseDto.js} +0 -0
- /package/dist/sei-panorama-service/src/services/schemas/{AiAdoptionBreakdownRequestDto.js → AiTeamAdoptionUserDto.js} +0 -0
- /package/dist/sei-panorama-service/src/services/schemas/{AiSummary.js → CursorDrilldownDataDto.js} +0 -0
- /package/dist/sei-panorama-service/src/services/schemas/{AiAdoptionMetricsRequestDto.js → CursorDrilldownOptions.js} +0 -0
- /package/dist/sei-panorama-service/src/services/schemas/{AiAdoptionSummaryRequestDto.js → CursorDrilldownUserDto.js} +0 -0
- /package/dist/sei-panorama-service/src/services/schemas/{AiTeamBreakdownResponseDto.js → WindsurfDrilldownDataDto.js} +0 -0
- /package/dist/sei-panorama-service/src/services/schemas/{AiCombinedInsightsRequestDto.js → WindsurfDrilldownOptions.js} +0 -0
- /package/dist/sei-panorama-service/src/services/schemas/{AiMetrics.js → WindsurfDrilldownUserDto.js} +0 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { AiDailyActiveUsersDrilldownResponseDto } from '../schemas/AiDailyActiveUsersDrilldownResponseDto';
|
|
3
|
+
import type { AiDailyActiveUsersDrilldownRequestDto } from '../schemas/AiDailyActiveUsersDrilldownRequestDto';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface AiInsightsControllerGetDailyActiveUsersDrilldownQueryQueryParams {
|
|
7
|
+
account: string;
|
|
8
|
+
projectIdentifier: string;
|
|
9
|
+
orgIdentifier: string;
|
|
10
|
+
}
|
|
11
|
+
export type AiInsightsControllerGetDailyActiveUsersDrilldownRequestBody = AiDailyActiveUsersDrilldownRequestDto;
|
|
12
|
+
export type AiInsightsControllerGetDailyActiveUsersDrilldownOkResponse = ResponseWithPagination<AiDailyActiveUsersDrilldownResponseDto>;
|
|
13
|
+
export type AiInsightsControllerGetDailyActiveUsersDrilldownErrorResponse = string;
|
|
14
|
+
export interface AiInsightsControllerGetDailyActiveUsersDrilldownProps extends Omit<FetcherOptions<AiInsightsControllerGetDailyActiveUsersDrilldownQueryQueryParams, AiInsightsControllerGetDailyActiveUsersDrilldownRequestBody>, 'url'> {
|
|
15
|
+
queryParams: AiInsightsControllerGetDailyActiveUsersDrilldownQueryQueryParams;
|
|
16
|
+
body: AiInsightsControllerGetDailyActiveUsersDrilldownRequestBody;
|
|
17
|
+
}
|
|
18
|
+
export declare function aiInsightsControllerGetDailyActiveUsersDrilldown(props: AiInsightsControllerGetDailyActiveUsersDrilldownProps): Promise<AiInsightsControllerGetDailyActiveUsersDrilldownOkResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* Retrieves detailed user-level data for daily active users with pagination and sorting support. Supports both Windsurf and Cursor integrations through tool-specific request options.
|
|
21
|
+
*/
|
|
22
|
+
export declare function useAiInsightsControllerGetDailyActiveUsersDrilldownQuery(props: AiInsightsControllerGetDailyActiveUsersDrilldownProps, options?: Omit<UseQueryOptions<AiInsightsControllerGetDailyActiveUsersDrilldownOkResponse, AiInsightsControllerGetDailyActiveUsersDrilldownErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<AiInsightsControllerGetDailyActiveUsersDrilldownOkResponse, string>;
|
|
@@ -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 aiInsightsControllerGetDailyActiveUsersDrilldown(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/insights/ai/daily_active_users/drilldown`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Retrieves detailed user-level data for daily active users with pagination and sorting support. Supports both Windsurf and Cursor integrations through tool-specific request options.
|
|
11
|
+
*/
|
|
12
|
+
export function useAiInsightsControllerGetDailyActiveUsersDrilldownQuery(props, options) {
|
|
13
|
+
return useQuery(['AIInsightsControllerGetDailyActiveUsersDrilldown', props.queryParams, props.body], ({ signal }) => aiInsightsControllerGetDailyActiveUsersDrilldown(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -1,41 +1,22 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
-
import type {
|
|
3
|
-
import type {
|
|
2
|
+
import type { AiFeatureDataResponseDto } from '../schemas/AiFeatureDataResponseDto';
|
|
3
|
+
import type { AiInsightsRequestDto } from '../schemas/AiInsightsRequestDto';
|
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
6
|
export interface AiInsightsControllerGetFeatureMetricsQueryQueryParams {
|
|
7
|
+
account: string;
|
|
7
8
|
projectIdentifier: string;
|
|
8
9
|
orgIdentifier: string;
|
|
9
10
|
}
|
|
10
|
-
export type AiInsightsControllerGetFeatureMetricsRequestBody =
|
|
11
|
-
export type AiInsightsControllerGetFeatureMetricsOkResponse = ResponseWithPagination<
|
|
12
|
-
export type AiInsightsControllerGetFeatureMetricsErrorResponse =
|
|
11
|
+
export type AiInsightsControllerGetFeatureMetricsRequestBody = AiInsightsRequestDto;
|
|
12
|
+
export type AiInsightsControllerGetFeatureMetricsOkResponse = ResponseWithPagination<AiFeatureDataResponseDto>;
|
|
13
|
+
export type AiInsightsControllerGetFeatureMetricsErrorResponse = string;
|
|
13
14
|
export interface AiInsightsControllerGetFeatureMetricsProps extends Omit<FetcherOptions<AiInsightsControllerGetFeatureMetricsQueryQueryParams, AiInsightsControllerGetFeatureMetricsRequestBody>, 'url'> {
|
|
14
15
|
queryParams: AiInsightsControllerGetFeatureMetricsQueryQueryParams;
|
|
15
16
|
body: AiInsightsControllerGetFeatureMetricsRequestBody;
|
|
16
17
|
}
|
|
17
18
|
export declare function aiInsightsControllerGetFeatureMetrics(props: AiInsightsControllerGetFeatureMetricsProps): Promise<AiInsightsControllerGetFeatureMetricsOkResponse>;
|
|
18
19
|
/**
|
|
19
|
-
* Retrieves
|
|
20
|
-
*
|
|
21
|
-
* **Supported Metrics:**
|
|
22
|
-
* - `linesAddedPerContributor` - Average net lines added per contributor
|
|
23
|
-
* - `linesSuggested` - Total lines suggested by AI (Windsurf only)
|
|
24
|
-
* - `linesAccepted` - Total lines accepted from AI suggestions (Windsurf only)
|
|
25
|
-
* - `acceptanceRatePercentage` - Percentage of AI suggestions accepted (both integrations)
|
|
26
|
-
*
|
|
27
|
-
* **Granularity Options:**
|
|
28
|
-
* - `DAILY` - Daily time series data points
|
|
29
|
-
* - `WEEKLY` - Weekly aggregated data points
|
|
30
|
-
* - `MONTHLY` - Monthly aggregated data points
|
|
31
|
-
*
|
|
32
|
-
* **Integration Types:**
|
|
33
|
-
* - `cursor` - Cursor AI coding assistant
|
|
34
|
-
* - `windsurf` - Windsurf AI coding platform
|
|
35
|
-
*
|
|
36
|
-
* **Response Structure:**
|
|
37
|
-
* Returns time-series data arrays for each requested integration type (cursor and/or windsurf).
|
|
38
|
-
* Each data point contains startDate, endDate, and value for the specified metric.
|
|
39
|
-
*
|
|
20
|
+
* Retrieves feature metrics for various AI insights with current and previous period comparisons.
|
|
40
21
|
*/
|
|
41
|
-
export declare function useAiInsightsControllerGetFeatureMetricsQuery(props: AiInsightsControllerGetFeatureMetricsProps, options?: Omit<UseQueryOptions<AiInsightsControllerGetFeatureMetricsOkResponse, AiInsightsControllerGetFeatureMetricsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<AiInsightsControllerGetFeatureMetricsOkResponse,
|
|
22
|
+
export declare function useAiInsightsControllerGetFeatureMetricsQuery(props: AiInsightsControllerGetFeatureMetricsProps, options?: Omit<UseQueryOptions<AiInsightsControllerGetFeatureMetricsOkResponse, AiInsightsControllerGetFeatureMetricsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<AiInsightsControllerGetFeatureMetricsOkResponse, string>;
|
|
@@ -4,30 +4,10 @@
|
|
|
4
4
|
import { useQuery } from '@tanstack/react-query';
|
|
5
5
|
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
6
|
export function aiInsightsControllerGetFeatureMetrics(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/v2/insights/
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/insights/ai/feature_metrics`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Retrieves
|
|
11
|
-
*
|
|
12
|
-
* **Supported Metrics:**
|
|
13
|
-
* - `linesAddedPerContributor` - Average net lines added per contributor
|
|
14
|
-
* - `linesSuggested` - Total lines suggested by AI (Windsurf only)
|
|
15
|
-
* - `linesAccepted` - Total lines accepted from AI suggestions (Windsurf only)
|
|
16
|
-
* - `acceptanceRatePercentage` - Percentage of AI suggestions accepted (both integrations)
|
|
17
|
-
*
|
|
18
|
-
* **Granularity Options:**
|
|
19
|
-
* - `DAILY` - Daily time series data points
|
|
20
|
-
* - `WEEKLY` - Weekly aggregated data points
|
|
21
|
-
* - `MONTHLY` - Monthly aggregated data points
|
|
22
|
-
*
|
|
23
|
-
* **Integration Types:**
|
|
24
|
-
* - `cursor` - Cursor AI coding assistant
|
|
25
|
-
* - `windsurf` - Windsurf AI coding platform
|
|
26
|
-
*
|
|
27
|
-
* **Response Structure:**
|
|
28
|
-
* Returns time-series data arrays for each requested integration type (cursor and/or windsurf).
|
|
29
|
-
* Each data point contains startDate, endDate, and value for the specified metric.
|
|
30
|
-
*
|
|
10
|
+
* Retrieves feature metrics for various AI insights with current and previous period comparisons.
|
|
31
11
|
*/
|
|
32
12
|
export function useAiInsightsControllerGetFeatureMetricsQuery(props, options) {
|
|
33
13
|
return useQuery(['AIInsightsControllerGetFeatureMetrics', props.queryParams, props.body], ({ signal }) => aiInsightsControllerGetFeatureMetrics(Object.assign(Object.assign({}, props), { signal })), options);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { AiTeamAdoptionResponseDto } from '../schemas/AiTeamAdoptionResponseDto';
|
|
3
|
+
import type { AiTeamAdoptionRequestDto } from '../schemas/AiTeamAdoptionRequestDto';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface AiInsightsControllerGetTeamAdoptionQueryQueryParams {
|
|
7
|
+
account: string;
|
|
8
|
+
projectIdentifier: string;
|
|
9
|
+
orgIdentifier: string;
|
|
10
|
+
}
|
|
11
|
+
export type AiInsightsControllerGetTeamAdoptionRequestBody = AiTeamAdoptionRequestDto;
|
|
12
|
+
export type AiInsightsControllerGetTeamAdoptionOkResponse = ResponseWithPagination<AiTeamAdoptionResponseDto>;
|
|
13
|
+
export type AiInsightsControllerGetTeamAdoptionErrorResponse = string;
|
|
14
|
+
export interface AiInsightsControllerGetTeamAdoptionProps extends Omit<FetcherOptions<AiInsightsControllerGetTeamAdoptionQueryQueryParams, AiInsightsControllerGetTeamAdoptionRequestBody>, 'url'> {
|
|
15
|
+
queryParams: AiInsightsControllerGetTeamAdoptionQueryQueryParams;
|
|
16
|
+
body: AiInsightsControllerGetTeamAdoptionRequestBody;
|
|
17
|
+
}
|
|
18
|
+
export declare function aiInsightsControllerGetTeamAdoption(props: AiInsightsControllerGetTeamAdoptionProps): Promise<AiInsightsControllerGetTeamAdoptionOkResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* Retrieves team member adoption data with user details in table format. Supports pagination and sorting.
|
|
21
|
+
*/
|
|
22
|
+
export declare function useAiInsightsControllerGetTeamAdoptionQuery(props: AiInsightsControllerGetTeamAdoptionProps, options?: Omit<UseQueryOptions<AiInsightsControllerGetTeamAdoptionOkResponse, AiInsightsControllerGetTeamAdoptionErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<AiInsightsControllerGetTeamAdoptionOkResponse, string>;
|
package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetTeamAdoptionQuery.js
ADDED
|
@@ -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 aiInsightsControllerGetTeamAdoption(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/insights/ai/team_adoption`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Retrieves team member adoption data with user details in table format. Supports pagination and sorting.
|
|
11
|
+
*/
|
|
12
|
+
export function useAiInsightsControllerGetTeamAdoptionQuery(props, options) {
|
|
13
|
+
return useQuery(['AIInsightsControllerGetTeamAdoption', props.queryParams, props.body], ({ signal }) => aiInsightsControllerGetTeamAdoption(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -1,46 +1,22 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { AiTopLanguagesResponseDto } from '../schemas/AiTopLanguagesResponseDto';
|
|
3
|
-
import type {
|
|
4
|
-
import type { AiTopLanguagesRequestDto } from '../schemas/AiTopLanguagesRequestDto';
|
|
3
|
+
import type { AiInsightsRequestDto } from '../schemas/AiInsightsRequestDto';
|
|
5
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
6
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
6
|
export interface AiInsightsControllerGetTopLanguagesQueryQueryParams {
|
|
7
|
+
account: string;
|
|
8
8
|
projectIdentifier: string;
|
|
9
9
|
orgIdentifier: string;
|
|
10
10
|
}
|
|
11
|
-
export type AiInsightsControllerGetTopLanguagesRequestBody =
|
|
11
|
+
export type AiInsightsControllerGetTopLanguagesRequestBody = AiInsightsRequestDto;
|
|
12
12
|
export type AiInsightsControllerGetTopLanguagesOkResponse = ResponseWithPagination<AiTopLanguagesResponseDto>;
|
|
13
|
-
export type AiInsightsControllerGetTopLanguagesErrorResponse =
|
|
13
|
+
export type AiInsightsControllerGetTopLanguagesErrorResponse = string;
|
|
14
14
|
export interface AiInsightsControllerGetTopLanguagesProps extends Omit<FetcherOptions<AiInsightsControllerGetTopLanguagesQueryQueryParams, AiInsightsControllerGetTopLanguagesRequestBody>, 'url'> {
|
|
15
15
|
queryParams: AiInsightsControllerGetTopLanguagesQueryQueryParams;
|
|
16
16
|
body: AiInsightsControllerGetTopLanguagesRequestBody;
|
|
17
17
|
}
|
|
18
18
|
export declare function aiInsightsControllerGetTopLanguages(props: AiInsightsControllerGetTopLanguagesProps): Promise<AiInsightsControllerGetTopLanguagesOkResponse>;
|
|
19
19
|
/**
|
|
20
|
-
* Retrieves
|
|
21
|
-
*
|
|
22
|
-
* **IMPORTANT: This endpoint only supports Cursor integration.**
|
|
23
|
-
* Requests with Windsurf integration will be rejected with a 400 error.
|
|
24
|
-
*
|
|
25
|
-
* Returns language usage statistics including:
|
|
26
|
-
* - Language name
|
|
27
|
-
* - Number of file changes for each language (file_changes_count)
|
|
28
|
-
*
|
|
29
|
-
* Results are sorted by file changes count in descending order.
|
|
30
|
-
*
|
|
31
|
-
* **Integration Types:**
|
|
32
|
-
* Specify using an array of enum values (Cursor only):
|
|
33
|
-
* - `cursor` - Cursor AI coding assistant (ONLY)
|
|
34
|
-
*
|
|
35
|
-
* **Not Supported:**
|
|
36
|
-
* - `windsurf` - Will return 400 Bad Request error with message:
|
|
37
|
-
* "Top languages feature is only supported for Cursor integration. Windsurf integration is not supported for this endpoint."
|
|
38
|
-
*
|
|
39
|
-
* **Response Structure:**
|
|
40
|
-
* Returns a single response object containing:
|
|
41
|
-
* - startDate: Start of the date range
|
|
42
|
-
* - endDate: End of the date range
|
|
43
|
-
* - languages: Array of language objects with name and file_changes_count
|
|
44
|
-
*
|
|
20
|
+
* Retrieves top programming languages with their usage counts.
|
|
45
21
|
*/
|
|
46
|
-
export declare function useAiInsightsControllerGetTopLanguagesQuery(props: AiInsightsControllerGetTopLanguagesProps, options?: Omit<UseQueryOptions<AiInsightsControllerGetTopLanguagesOkResponse, AiInsightsControllerGetTopLanguagesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<AiInsightsControllerGetTopLanguagesOkResponse,
|
|
22
|
+
export declare function useAiInsightsControllerGetTopLanguagesQuery(props: AiInsightsControllerGetTopLanguagesProps, options?: Omit<UseQueryOptions<AiInsightsControllerGetTopLanguagesOkResponse, AiInsightsControllerGetTopLanguagesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<AiInsightsControllerGetTopLanguagesOkResponse, string>;
|
package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetTopLanguagesQuery.js
CHANGED
|
@@ -4,34 +4,10 @@
|
|
|
4
4
|
import { useQuery } from '@tanstack/react-query';
|
|
5
5
|
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
6
|
export function aiInsightsControllerGetTopLanguages(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/v2/insights/
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/insights/ai/top_languages`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Retrieves
|
|
11
|
-
*
|
|
12
|
-
* **IMPORTANT: This endpoint only supports Cursor integration.**
|
|
13
|
-
* Requests with Windsurf integration will be rejected with a 400 error.
|
|
14
|
-
*
|
|
15
|
-
* Returns language usage statistics including:
|
|
16
|
-
* - Language name
|
|
17
|
-
* - Number of file changes for each language (file_changes_count)
|
|
18
|
-
*
|
|
19
|
-
* Results are sorted by file changes count in descending order.
|
|
20
|
-
*
|
|
21
|
-
* **Integration Types:**
|
|
22
|
-
* Specify using an array of enum values (Cursor only):
|
|
23
|
-
* - `cursor` - Cursor AI coding assistant (ONLY)
|
|
24
|
-
*
|
|
25
|
-
* **Not Supported:**
|
|
26
|
-
* - `windsurf` - Will return 400 Bad Request error with message:
|
|
27
|
-
* "Top languages feature is only supported for Cursor integration. Windsurf integration is not supported for this endpoint."
|
|
28
|
-
*
|
|
29
|
-
* **Response Structure:**
|
|
30
|
-
* Returns a single response object containing:
|
|
31
|
-
* - startDate: Start of the date range
|
|
32
|
-
* - endDate: End of the date range
|
|
33
|
-
* - languages: Array of language objects with name and file_changes_count
|
|
34
|
-
*
|
|
10
|
+
* Retrieves top programming languages with their usage counts.
|
|
35
11
|
*/
|
|
36
12
|
export function useAiInsightsControllerGetTopLanguagesQuery(props, options) {
|
|
37
13
|
return useQuery(['AIInsightsControllerGetTopLanguages', props.queryParams, props.body], ({ signal }) => aiInsightsControllerGetTopLanguages(Object.assign(Object.assign({}, props), { signal })), options);
|
|
@@ -1,18 +1,10 @@
|
|
|
1
1
|
export type { GetPathParamsType, ResponseWithPagination } from './helpers';
|
|
2
|
-
export type {
|
|
3
|
-
export {
|
|
4
|
-
export type { AiInsightsControllerGetAdoptionMetricsErrorResponse, AiInsightsControllerGetAdoptionMetricsOkResponse, AiInsightsControllerGetAdoptionMetricsProps, AiInsightsControllerGetAdoptionMetricsQueryQueryParams, AiInsightsControllerGetAdoptionMetricsRequestBody, } from './hooks/useAiInsightsControllerGetAdoptionMetricsQuery';
|
|
5
|
-
export { aiInsightsControllerGetAdoptionMetrics, useAiInsightsControllerGetAdoptionMetricsQuery, } from './hooks/useAiInsightsControllerGetAdoptionMetricsQuery';
|
|
6
|
-
export type { AiInsightsControllerGetAdoptionSummaryErrorResponse, AiInsightsControllerGetAdoptionSummaryOkResponse, AiInsightsControllerGetAdoptionSummaryProps, AiInsightsControllerGetAdoptionSummaryQueryQueryParams, AiInsightsControllerGetAdoptionSummaryRequestBody, } from './hooks/useAiInsightsControllerGetAdoptionSummaryQuery';
|
|
7
|
-
export { aiInsightsControllerGetAdoptionSummary, useAiInsightsControllerGetAdoptionSummaryQuery, } from './hooks/useAiInsightsControllerGetAdoptionSummaryQuery';
|
|
2
|
+
export type { AiInsightsControllerGetDailyActiveUsersDrilldownErrorResponse, AiInsightsControllerGetDailyActiveUsersDrilldownOkResponse, AiInsightsControllerGetDailyActiveUsersDrilldownProps, AiInsightsControllerGetDailyActiveUsersDrilldownQueryQueryParams, AiInsightsControllerGetDailyActiveUsersDrilldownRequestBody, } from './hooks/useAiInsightsControllerGetDailyActiveUsersDrilldownQuery';
|
|
3
|
+
export { aiInsightsControllerGetDailyActiveUsersDrilldown, useAiInsightsControllerGetDailyActiveUsersDrilldownQuery, } from './hooks/useAiInsightsControllerGetDailyActiveUsersDrilldownQuery';
|
|
8
4
|
export type { AiInsightsControllerGetFeatureMetricsErrorResponse, AiInsightsControllerGetFeatureMetricsOkResponse, AiInsightsControllerGetFeatureMetricsProps, AiInsightsControllerGetFeatureMetricsQueryQueryParams, AiInsightsControllerGetFeatureMetricsRequestBody, } from './hooks/useAiInsightsControllerGetFeatureMetricsQuery';
|
|
9
5
|
export { aiInsightsControllerGetFeatureMetrics, useAiInsightsControllerGetFeatureMetricsQuery, } from './hooks/useAiInsightsControllerGetFeatureMetricsQuery';
|
|
10
|
-
export type {
|
|
11
|
-
export {
|
|
12
|
-
export type { AiInsightsControllerGetTeamBreakdownErrorResponse, AiInsightsControllerGetTeamBreakdownOkResponse, AiInsightsControllerGetTeamBreakdownProps, AiInsightsControllerGetTeamBreakdownQueryQueryParams, AiInsightsControllerGetTeamBreakdownRequestBody, } from './hooks/useAiInsightsControllerGetTeamBreakdownQuery';
|
|
13
|
-
export { aiInsightsControllerGetTeamBreakdown, useAiInsightsControllerGetTeamBreakdownQuery, } from './hooks/useAiInsightsControllerGetTeamBreakdownQuery';
|
|
14
|
-
export type { AiInsightsControllerGetToolUsersSummaryErrorResponse, AiInsightsControllerGetToolUsersSummaryOkResponse, AiInsightsControllerGetToolUsersSummaryProps, AiInsightsControllerGetToolUsersSummaryQueryQueryParams, AiInsightsControllerGetToolUsersSummaryRequestBody, } from './hooks/useAiInsightsControllerGetToolUsersSummaryQuery';
|
|
15
|
-
export { aiInsightsControllerGetToolUsersSummary, useAiInsightsControllerGetToolUsersSummaryQuery, } from './hooks/useAiInsightsControllerGetToolUsersSummaryQuery';
|
|
6
|
+
export type { AiInsightsControllerGetTeamAdoptionErrorResponse, AiInsightsControllerGetTeamAdoptionOkResponse, AiInsightsControllerGetTeamAdoptionProps, AiInsightsControllerGetTeamAdoptionQueryQueryParams, AiInsightsControllerGetTeamAdoptionRequestBody, } from './hooks/useAiInsightsControllerGetTeamAdoptionQuery';
|
|
7
|
+
export { aiInsightsControllerGetTeamAdoption, useAiInsightsControllerGetTeamAdoptionQuery, } from './hooks/useAiInsightsControllerGetTeamAdoptionQuery';
|
|
16
8
|
export type { AiInsightsControllerGetTopLanguagesErrorResponse, AiInsightsControllerGetTopLanguagesOkResponse, AiInsightsControllerGetTopLanguagesProps, AiInsightsControllerGetTopLanguagesQueryQueryParams, AiInsightsControllerGetTopLanguagesRequestBody, } from './hooks/useAiInsightsControllerGetTopLanguagesQuery';
|
|
17
9
|
export { aiInsightsControllerGetTopLanguages, useAiInsightsControllerGetTopLanguagesQuery, } from './hooks/useAiInsightsControllerGetTopLanguagesQuery';
|
|
18
10
|
export type { AiSummaryControllerGenerateSummaryErrorResponse, AiSummaryControllerGenerateSummaryOkResponse, AiSummaryControllerGenerateSummaryProps, AiSummaryControllerGenerateSummaryQueryQueryParams, AiSummaryControllerGenerateSummaryRequestBody, } from './hooks/useAiSummaryControllerGenerateSummaryQuery';
|
|
@@ -367,29 +359,17 @@ export type { TeamsControllerUpdateTeamErrorResponse, TeamsControllerUpdateTeamM
|
|
|
367
359
|
export { teamsControllerUpdateTeam, useTeamsControllerUpdateTeamMutation, } from './hooks/useTeamsControllerUpdateTeamMutation';
|
|
368
360
|
export type { AccessResponseDto } from './schemas/AccessResponseDto';
|
|
369
361
|
export type { ActivityDataDto } from './schemas/ActivityDataDto';
|
|
370
|
-
export type {
|
|
371
|
-
export type {
|
|
372
|
-
export type {
|
|
373
|
-
export type {
|
|
374
|
-
export type {
|
|
375
|
-
export type { AiAdoptionMetricsResponseDto } from './schemas/AiAdoptionMetricsResponseDto';
|
|
376
|
-
export type { AiAdoptionSummaryRequestDto } from './schemas/AiAdoptionSummaryRequestDto';
|
|
377
|
-
export type { AiAdoptionSummaryResponseDto } from './schemas/AiAdoptionSummaryResponseDto';
|
|
378
|
-
export type { AiCombinedInsightsRequestDto } from './schemas/AiCombinedInsightsRequestDto';
|
|
379
|
-
export type { AiMetrics } from './schemas/AiMetrics';
|
|
380
|
-
export type { AiRawMetricsRequestDto } from './schemas/AiRawMetricsRequestDto';
|
|
381
|
-
export type { AiRawMetricsResponseDto } from './schemas/AiRawMetricsResponseDto';
|
|
382
|
-
export type { AiSummary } from './schemas/AiSummary';
|
|
362
|
+
export type { AiDailyActiveUsersDrilldownRequestDto } from './schemas/AiDailyActiveUsersDrilldownRequestDto';
|
|
363
|
+
export type { AiDailyActiveUsersDrilldownResponseDto } from './schemas/AiDailyActiveUsersDrilldownResponseDto';
|
|
364
|
+
export type { AiFeatureDataPoint } from './schemas/AiFeatureDataPoint';
|
|
365
|
+
export type { AiFeatureDataResponseDto } from './schemas/AiFeatureDataResponseDto';
|
|
366
|
+
export type { AiInsightsRequestDto } from './schemas/AiInsightsRequestDto';
|
|
383
367
|
export type { AiSummaryRequestDto } from './schemas/AiSummaryRequestDto';
|
|
384
368
|
export type { AiSummaryResponseDto } from './schemas/AiSummaryResponseDto';
|
|
385
|
-
export type {
|
|
386
|
-
export type {
|
|
387
|
-
export type {
|
|
388
|
-
export type { AiToolUsersSummaryRequestDto } from './schemas/AiToolUsersSummaryRequestDto';
|
|
389
|
-
export type { AiToolUsersSummaryResponseDto } from './schemas/AiToolUsersSummaryResponseDto';
|
|
390
|
-
export type { AiTopLanguagesRequestDto } from './schemas/AiTopLanguagesRequestDto';
|
|
369
|
+
export type { AiTeamAdoptionRequestDto } from './schemas/AiTeamAdoptionRequestDto';
|
|
370
|
+
export type { AiTeamAdoptionResponseDto } from './schemas/AiTeamAdoptionResponseDto';
|
|
371
|
+
export type { AiTeamAdoptionUserDto } from './schemas/AiTeamAdoptionUserDto';
|
|
391
372
|
export type { AiTopLanguagesResponseDto } from './schemas/AiTopLanguagesResponseDto';
|
|
392
|
-
export type { ApiError } from './schemas/ApiError';
|
|
393
373
|
export type { ApiErrorResponse } from './schemas/ApiErrorResponse';
|
|
394
374
|
export type { ApiResponseWrapper } from './schemas/ApiResponseWrapper';
|
|
395
375
|
export type { AssociateDevelopersRequestDto } from './schemas/AssociateDevelopersRequestDto';
|
|
@@ -427,6 +407,9 @@ export type { CollectionEnriched } from './schemas/CollectionEnriched';
|
|
|
427
407
|
export type { CollectionFilter } from './schemas/CollectionFilter';
|
|
428
408
|
export type { CollectionTree } from './schemas/CollectionTree';
|
|
429
409
|
export type { CommitInfo } from './schemas/CommitInfo';
|
|
410
|
+
export type { CursorDrilldownDataDto } from './schemas/CursorDrilldownDataDto';
|
|
411
|
+
export type { CursorDrilldownOptions } from './schemas/CursorDrilldownOptions';
|
|
412
|
+
export type { CursorDrilldownUserDto } from './schemas/CursorDrilldownUserDto';
|
|
430
413
|
export type { DailyCountDataPoint } from './schemas/DailyCountDataPoint';
|
|
431
414
|
export type { DailyLicenseUsageResponseDto } from './schemas/DailyLicenseUsageResponseDto';
|
|
432
415
|
export type { DataPoint } from './schemas/DataPoint';
|
|
@@ -512,7 +495,6 @@ export type { IndividualDrilldownDataPoint } from './schemas/IndividualDrilldown
|
|
|
512
495
|
export type { IndividualDrilldownDataPointV3 } from './schemas/IndividualDrilldownDataPointV3';
|
|
513
496
|
export type { IndividualDrilldownDataV3 } from './schemas/IndividualDrilldownDataV3';
|
|
514
497
|
export type { Integration } from './schemas/Integration';
|
|
515
|
-
export type { IntegrationAdoptionSummary } from './schemas/IntegrationAdoptionSummary';
|
|
516
498
|
export type { IntegrationConfigRequestDto } from './schemas/IntegrationConfigRequestDto';
|
|
517
499
|
export type { IntegrationConfigResponseDto } from './schemas/IntegrationConfigResponseDto';
|
|
518
500
|
export type { IntegrationDataStatusRequest } from './schemas/IntegrationDataStatusRequest';
|
|
@@ -520,7 +502,6 @@ export type { IntegrationHealthDrillDownDto } from './schemas/IntegrationHealthD
|
|
|
520
502
|
export type { IntegrationHealthStatusDto } from './schemas/IntegrationHealthStatusDto';
|
|
521
503
|
export type { IntegrationIdsDto } from './schemas/IntegrationIdsDto';
|
|
522
504
|
export type { IntegrationObject } from './schemas/IntegrationObject';
|
|
523
|
-
export type { IntegrationRawMetrics } from './schemas/IntegrationRawMetrics';
|
|
524
505
|
export type { IntegrationResponseDto } from './schemas/IntegrationResponseDto';
|
|
525
506
|
export type { IntegrationStatsDto } from './schemas/IntegrationStatsDto';
|
|
526
507
|
export type { IntegrationSummary } from './schemas/IntegrationSummary';
|
|
@@ -570,7 +551,6 @@ export type { OrgTreeUpdateRequestDto } from './schemas/OrgTreeUpdateRequestDto'
|
|
|
570
551
|
export type { PaginatedResponseTeamSummary } from './schemas/PaginatedResponseTeamSummary';
|
|
571
552
|
export type { PaginationInfo } from './schemas/PaginationInfo';
|
|
572
553
|
export type { PaginationMetadata } from './schemas/PaginationMetadata';
|
|
573
|
-
export type { PaginationParams } from './schemas/PaginationParams';
|
|
574
554
|
export type { PaginationRequest } from './schemas/PaginationRequest';
|
|
575
555
|
export type { PrCommitsRequest } from './schemas/PrCommitsRequest';
|
|
576
556
|
export type { PrCommitsResponse } from './schemas/PrCommitsResponse';
|
|
@@ -654,16 +634,15 @@ export type { TeamInfo } from './schemas/TeamInfo';
|
|
|
654
634
|
export type { TeamInfoUpdateRequestDto } from './schemas/TeamInfoUpdateRequestDto';
|
|
655
635
|
export type { TeamInsightConfigDto } from './schemas/TeamInsightConfigDto';
|
|
656
636
|
export type { TeamIntegrationDto } from './schemas/TeamIntegrationDto';
|
|
657
|
-
export type { TeamPeriodData } from './schemas/TeamPeriodData';
|
|
658
637
|
export type { TeamResponse } from './schemas/TeamResponse';
|
|
659
638
|
export type { TeamSearchParams } from './schemas/TeamSearchParams';
|
|
660
639
|
export type { TeamSummary } from './schemas/TeamSummary';
|
|
661
640
|
export type { TeamsByAccessResponseDto } from './schemas/TeamsByAccessResponseDto';
|
|
662
|
-
export type { ToolSummary } from './schemas/ToolSummary';
|
|
663
641
|
export type { TotalStatisticCount } from './schemas/TotalStatisticCount';
|
|
664
|
-
export type { UserMetrics } from './schemas/UserMetrics';
|
|
665
|
-
export type { ValidationError } from './schemas/ValidationError';
|
|
666
642
|
export type { VersionReleaseRequest } from './schemas/VersionReleaseRequest';
|
|
643
|
+
export type { WindsurfDrilldownDataDto } from './schemas/WindsurfDrilldownDataDto';
|
|
644
|
+
export type { WindsurfDrilldownOptions } from './schemas/WindsurfDrilldownOptions';
|
|
645
|
+
export type { WindsurfDrilldownUserDto } from './schemas/WindsurfDrilldownUserDto';
|
|
667
646
|
export type { WorkCompletedDrilldownResponseDataPoint } from './schemas/WorkCompletedDrilldownResponseDataPoint';
|
|
668
647
|
export type { WorkCompletedDrilldownResponseDataPointV3 } from './schemas/WorkCompletedDrilldownResponseDataPointV3';
|
|
669
648
|
export type { WorkCompletedIndividualDrilldownResponseDataPoint } from './schemas/WorkCompletedIndividualDrilldownResponseDataPoint';
|
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export { aiInsightsControllerGetAdoptionMetrics, useAiInsightsControllerGetAdoptionMetricsQuery, } from './hooks/useAiInsightsControllerGetAdoptionMetricsQuery';
|
|
3
|
-
export { aiInsightsControllerGetAdoptionSummary, useAiInsightsControllerGetAdoptionSummaryQuery, } from './hooks/useAiInsightsControllerGetAdoptionSummaryQuery';
|
|
1
|
+
export { aiInsightsControllerGetDailyActiveUsersDrilldown, useAiInsightsControllerGetDailyActiveUsersDrilldownQuery, } from './hooks/useAiInsightsControllerGetDailyActiveUsersDrilldownQuery';
|
|
4
2
|
export { aiInsightsControllerGetFeatureMetrics, useAiInsightsControllerGetFeatureMetricsQuery, } from './hooks/useAiInsightsControllerGetFeatureMetricsQuery';
|
|
5
|
-
export {
|
|
6
|
-
export { aiInsightsControllerGetTeamBreakdown, useAiInsightsControllerGetTeamBreakdownQuery, } from './hooks/useAiInsightsControllerGetTeamBreakdownQuery';
|
|
7
|
-
export { aiInsightsControllerGetToolUsersSummary, useAiInsightsControllerGetToolUsersSummaryQuery, } from './hooks/useAiInsightsControllerGetToolUsersSummaryQuery';
|
|
3
|
+
export { aiInsightsControllerGetTeamAdoption, useAiInsightsControllerGetTeamAdoptionQuery, } from './hooks/useAiInsightsControllerGetTeamAdoptionQuery';
|
|
8
4
|
export { aiInsightsControllerGetTopLanguages, useAiInsightsControllerGetTopLanguagesQuery, } from './hooks/useAiInsightsControllerGetTopLanguagesQuery';
|
|
9
5
|
export { aiSummaryControllerGenerateSummary, useAiSummaryControllerGenerateSummaryQuery, } from './hooks/useAiSummaryControllerGenerateSummaryQuery';
|
|
10
6
|
export { asyncExportControllerDownloadExport, useAsyncExportControllerDownloadExportQuery, } from './hooks/useAsyncExportControllerDownloadExportQuery';
|
package/dist/sei-panorama-service/src/services/schemas/AiDailyActiveUsersDrilldownRequestDto.d.ts
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { CursorDrilldownOptions } from '../schemas/CursorDrilldownOptions';
|
|
2
|
+
import type { PaginationRequest } from '../schemas/PaginationRequest';
|
|
3
|
+
import type { WindsurfDrilldownOptions } from '../schemas/WindsurfDrilldownOptions';
|
|
4
|
+
export interface AiDailyActiveUsersDrilldownRequestDto {
|
|
5
|
+
/**
|
|
6
|
+
* Cursor-specific sorting and filtering options
|
|
7
|
+
*/
|
|
8
|
+
cursor?: CursorDrilldownOptions;
|
|
9
|
+
/**
|
|
10
|
+
* End date for the metrics
|
|
11
|
+
* @format date-time
|
|
12
|
+
* @example "2025-11-30"
|
|
13
|
+
*/
|
|
14
|
+
endDate: string;
|
|
15
|
+
/**
|
|
16
|
+
* Pagination parameters
|
|
17
|
+
*/
|
|
18
|
+
pagination?: PaginationRequest;
|
|
19
|
+
/**
|
|
20
|
+
* Start date for the metrics
|
|
21
|
+
* @format date-time
|
|
22
|
+
* @example "2025-11-01"
|
|
23
|
+
*/
|
|
24
|
+
startDate: string;
|
|
25
|
+
/**
|
|
26
|
+
* Team reference ID
|
|
27
|
+
* @format int32
|
|
28
|
+
*/
|
|
29
|
+
teamRefId: number;
|
|
30
|
+
/**
|
|
31
|
+
* Windsurf-specific sorting and filtering options
|
|
32
|
+
*/
|
|
33
|
+
windsurf?: WindsurfDrilldownOptions;
|
|
34
|
+
}
|
package/dist/sei-panorama-service/src/services/schemas/AiDailyActiveUsersDrilldownResponseDto.d.ts
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import type { CursorDrilldownDataDto } from '../schemas/CursorDrilldownDataDto';
|
|
2
|
+
import type { WindsurfDrilldownDataDto } from '../schemas/WindsurfDrilldownDataDto';
|
|
3
|
+
export interface AiDailyActiveUsersDrilldownResponseDto {
|
|
4
|
+
/**
|
|
5
|
+
* Current page number (0-based)
|
|
6
|
+
* @format int32
|
|
7
|
+
* @example 0
|
|
8
|
+
*/
|
|
9
|
+
currentPage?: number;
|
|
10
|
+
/**
|
|
11
|
+
* Cursor-specific drilldown data (only present when integrationType='cursor')
|
|
12
|
+
*/
|
|
13
|
+
cursorData?: CursorDrilldownDataDto;
|
|
14
|
+
/**
|
|
15
|
+
* End date of the period
|
|
16
|
+
* @format date-time
|
|
17
|
+
* @example "2025-11-30"
|
|
18
|
+
*/
|
|
19
|
+
endDate?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Whether there are more pages available
|
|
22
|
+
* @example true
|
|
23
|
+
*/
|
|
24
|
+
hasMore?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Integration type identifier (windsurf or cursor)
|
|
27
|
+
* @example "windsurf"
|
|
28
|
+
*/
|
|
29
|
+
integrationType?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Number of items per page
|
|
32
|
+
* @format int32
|
|
33
|
+
* @example 20
|
|
34
|
+
*/
|
|
35
|
+
pageSize?: number;
|
|
36
|
+
/**
|
|
37
|
+
* Start date of the period
|
|
38
|
+
* @format date-time
|
|
39
|
+
* @example "2025-11-01"
|
|
40
|
+
*/
|
|
41
|
+
startDate?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Total number of pages
|
|
44
|
+
* @format int32
|
|
45
|
+
* @example 5
|
|
46
|
+
*/
|
|
47
|
+
totalPages?: number;
|
|
48
|
+
/**
|
|
49
|
+
* Total number of records across all pages
|
|
50
|
+
* @format int32
|
|
51
|
+
* @example 85
|
|
52
|
+
*/
|
|
53
|
+
totalRecords?: number;
|
|
54
|
+
/**
|
|
55
|
+
* Windsurf-specific drilldown data (only present when integrationType='windsurf')
|
|
56
|
+
*/
|
|
57
|
+
windsurfData?: WindsurfDrilldownDataDto;
|
|
58
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { AiFeatureDataPoint } from '../schemas/AiFeatureDataPoint';
|
|
2
|
+
export interface AiFeatureDataResponseDto {
|
|
3
|
+
currentPeriodData?: AiFeatureDataPoint[];
|
|
4
|
+
/**
|
|
5
|
+
* @format double
|
|
6
|
+
*/
|
|
7
|
+
currentPeriodTotal?: number;
|
|
8
|
+
/**
|
|
9
|
+
* @format date-time
|
|
10
|
+
*/
|
|
11
|
+
endDate?: string;
|
|
12
|
+
metricType?: 'acceptanceRate' | 'addedVsDeletedLinesRatio' | 'aiShareOfNewCode' | 'dailyActiveUsers' | 'linesAccepted' | 'linesSuggested' | 'netLinesAddedPerContributor' | 'tokensUsedPer1kLinesOfCodeEdits';
|
|
13
|
+
previousPeriodData?: AiFeatureDataPoint[];
|
|
14
|
+
/**
|
|
15
|
+
* @format double
|
|
16
|
+
*/
|
|
17
|
+
previousPeriodTotal?: number;
|
|
18
|
+
/**
|
|
19
|
+
* @format date-time
|
|
20
|
+
*/
|
|
21
|
+
startDate?: string;
|
|
22
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface AiInsightsRequestDto {
|
|
2
|
+
/**
|
|
3
|
+
* @format date-time
|
|
4
|
+
*/
|
|
5
|
+
endDate?: string;
|
|
6
|
+
granularity?: string;
|
|
7
|
+
integrationType?: 'cursor' | 'windsurf';
|
|
8
|
+
metricType?: 'acceptanceRate' | 'addedVsDeletedLinesRatio' | 'aiShareOfNewCode' | 'dailyActiveUsers' | 'linesAccepted' | 'linesSuggested' | 'netLinesAddedPerContributor' | 'tokensUsedPer1kLinesOfCodeEdits';
|
|
9
|
+
/**
|
|
10
|
+
* @format date-time
|
|
11
|
+
*/
|
|
12
|
+
startDate?: string;
|
|
13
|
+
/**
|
|
14
|
+
* @format int32
|
|
15
|
+
*/
|
|
16
|
+
teamRefId?: number;
|
|
17
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { PaginationRequest } from '../schemas/PaginationRequest';
|
|
2
|
+
export interface AiTeamAdoptionRequestDto {
|
|
3
|
+
/**
|
|
4
|
+
* End date for the metrics
|
|
5
|
+
* @format date-time
|
|
6
|
+
*/
|
|
7
|
+
endDate: string;
|
|
8
|
+
/**
|
|
9
|
+
* Integration type (cursor/windsurf)
|
|
10
|
+
*/
|
|
11
|
+
integrationType?: 'cursor' | 'windsurf';
|
|
12
|
+
/**
|
|
13
|
+
* Pagination parameters
|
|
14
|
+
*/
|
|
15
|
+
pagination?: PaginationRequest;
|
|
16
|
+
/**
|
|
17
|
+
* Column to sort by
|
|
18
|
+
*/
|
|
19
|
+
sortBy?: 'email' | 'line_accept_percent' | 'lines_accepted' | 'lines_suggested' | 'primary_language' | 'rank' | 'total_accepts' | 'username';
|
|
20
|
+
/**
|
|
21
|
+
* Sort order (ASC/DESC)
|
|
22
|
+
*/
|
|
23
|
+
sortByCriteria?: 'ASC' | 'DESC';
|
|
24
|
+
/**
|
|
25
|
+
* Start date for the metrics
|
|
26
|
+
* @format date-time
|
|
27
|
+
*/
|
|
28
|
+
startDate: string;
|
|
29
|
+
/**
|
|
30
|
+
* Team reference ID
|
|
31
|
+
* @format int32
|
|
32
|
+
*/
|
|
33
|
+
teamRefId: number;
|
|
34
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { AiTeamAdoptionUserDto } from '../schemas/AiTeamAdoptionUserDto';
|
|
2
|
+
export interface AiTeamAdoptionResponseDto {
|
|
3
|
+
/**
|
|
4
|
+
* @format int32
|
|
5
|
+
*/
|
|
6
|
+
currentPage?: number;
|
|
7
|
+
/**
|
|
8
|
+
* @format date-time
|
|
9
|
+
*/
|
|
10
|
+
endDate?: string;
|
|
11
|
+
hasMore?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* @format int32
|
|
14
|
+
*/
|
|
15
|
+
pageSize?: number;
|
|
16
|
+
sortBy?: 'email' | 'line_accept_percent' | 'lines_accepted' | 'lines_suggested' | 'primary_language' | 'rank' | 'total_accepts' | 'username';
|
|
17
|
+
sortByCriteria?: 'ASC' | 'DESC';
|
|
18
|
+
/**
|
|
19
|
+
* @format date-time
|
|
20
|
+
*/
|
|
21
|
+
startDate?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @format double
|
|
24
|
+
*/
|
|
25
|
+
teamAdoptionPercentage?: number;
|
|
26
|
+
/**
|
|
27
|
+
* @format int32
|
|
28
|
+
*/
|
|
29
|
+
totalPages?: number;
|
|
30
|
+
/**
|
|
31
|
+
* @format int32
|
|
32
|
+
*/
|
|
33
|
+
totalUsers?: number;
|
|
34
|
+
users?: AiTeamAdoptionUserDto[];
|
|
35
|
+
}
|