@harnessio/react-sei-panorama-service-client 0.30.1 → 0.31.1
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/useAiEngineeringControllerGetLeaderboardClassesCatalogQuery.d.ts +56 -0
- package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetLeaderboardClassesCatalogQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetLeaderboardClassesSummaryQuery.d.ts +40 -0
- package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetLeaderboardClassesSummaryQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetLeaderboardsQuery.d.ts +8 -1
- package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetLeaderboardsQuery.js +2 -2
- package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerUpsertDeveloperIdentitiesMutation.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useGitAiMonitoringControllerGetInstallationsQuery.d.ts +25 -0
- package/dist/sei-panorama-service/src/services/hooks/useGitAiMonitoringControllerGetInstallationsQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useGitAiMonitoringControllerGetSummaryQuery.d.ts +13 -0
- package/dist/sei-panorama-service/src/services/hooks/useGitAiMonitoringControllerGetSummaryQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useGitAiMonitoringControllerGetVersionDistributionQuery.d.ts +13 -0
- package/dist/sei-panorama-service/src/services/hooks/useGitAiMonitoringControllerGetVersionDistributionQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useIntegrationManagementControllerCreateIntegrationMutation.d.ts +16 -0
- package/dist/sei-panorama-service/src/services/hooks/useIntegrationManagementControllerCreateIntegrationMutation.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useIntegrationManagementControllerGetIntegrationQuery.d.ts +17 -0
- package/dist/sei-panorama-service/src/services/hooks/useIntegrationManagementControllerGetIntegrationQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useIntegrationManagementControllerUpdateMetadataMutation.d.ts +22 -0
- package/dist/sei-panorama-service/src/services/hooks/useIntegrationManagementControllerUpdateMetadataMutation.js +14 -0
- package/dist/sei-panorama-service/src/services/index.d.ts +29 -0
- package/dist/sei-panorama-service/src/services/index.js +8 -0
- package/dist/sei-panorama-service/src/services/schemas/ActiveThreshold.d.ts +16 -0
- package/dist/sei-panorama-service/src/services/schemas/ActiveThreshold.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/ActiveUsersCount.d.ts +17 -0
- package/dist/sei-panorama-service/src/services/schemas/ActiveUsersCount.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/ApiResponseLeaderboardSegmentsSummaryData.d.ts +23 -0
- package/dist/sei-panorama-service/src/services/schemas/ApiResponseLeaderboardSegmentsSummaryData.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/CreateIntegrationRequest.d.ts +10 -0
- package/dist/sei-panorama-service/src/services/schemas/CreateIntegrationRequest.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/GitAiInstallation.d.ts +24 -0
- package/dist/sei-panorama-service/src/services/schemas/GitAiInstallation.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/GitAiInstallationsPage.d.ts +22 -0
- package/dist/sei-panorama-service/src/services/schemas/GitAiInstallationsPage.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/GitAiMonitoringSummary.d.ts +36 -0
- package/dist/sei-panorama-service/src/services/schemas/GitAiMonitoringSummary.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/GitAiVersionDistribution.d.ts +20 -0
- package/dist/sei-panorama-service/src/services/schemas/GitAiVersionDistribution.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/IntegrationResponse.d.ts +19 -0
- package/dist/sei-panorama-service/src/services/schemas/IntegrationResponse.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/IntegrationResponseDto.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/LeaderboardSegmentsSummaryData.d.ts +31 -0
- package/dist/sei-panorama-service/src/services/schemas/LeaderboardSegmentsSummaryData.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/MetricValueWithUnit.d.ts +16 -0
- package/dist/sei-panorama-service/src/services/schemas/MetricValueWithUnit.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/RankedEntity.d.ts +9 -0
- package/dist/sei-panorama-service/src/services/schemas/SegmentSummary.d.ts +48 -0
- package/dist/sei-panorama-service/src/services/schemas/SegmentSummary.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/UpdateMetadataRequest.d.ts +4 -0
- package/dist/sei-panorama-service/src/services/schemas/UpdateMetadataRequest.js +4 -0
- package/package.json +1 -1
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ApiResponseCatalogTemplate } from '../schemas/ApiResponseCatalogTemplate';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface AiEngineeringControllerGetLeaderboardClassesCatalogQueryPathParams {
|
|
6
|
+
category: string;
|
|
7
|
+
}
|
|
8
|
+
export interface AiEngineeringControllerGetLeaderboardClassesCatalogQueryQueryParams {
|
|
9
|
+
account: string;
|
|
10
|
+
schema: string;
|
|
11
|
+
orgIdentifier?: string;
|
|
12
|
+
projectIdentifier?: string;
|
|
13
|
+
routingId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @example "2026-01-01"
|
|
16
|
+
*/
|
|
17
|
+
start_date: string;
|
|
18
|
+
/**
|
|
19
|
+
* @example "2026-05-04"
|
|
20
|
+
*/
|
|
21
|
+
end_date: string;
|
|
22
|
+
/**
|
|
23
|
+
* @example "WEEKLY"
|
|
24
|
+
*/
|
|
25
|
+
granularity?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @example "1"
|
|
28
|
+
*/
|
|
29
|
+
orgTreeId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @example "team-123"
|
|
32
|
+
*/
|
|
33
|
+
teamRefId?: string;
|
|
34
|
+
/**
|
|
35
|
+
* @example "claude-code"
|
|
36
|
+
*/
|
|
37
|
+
assistant?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @example "java"
|
|
40
|
+
*/
|
|
41
|
+
language?: string;
|
|
42
|
+
/**
|
|
43
|
+
* @example "senior_engineer"
|
|
44
|
+
*/
|
|
45
|
+
role?: string;
|
|
46
|
+
}
|
|
47
|
+
export type AiEngineeringControllerGetLeaderboardClassesCatalogOkResponse = ResponseWithPagination<ApiResponseCatalogTemplate>;
|
|
48
|
+
export type AiEngineeringControllerGetLeaderboardClassesCatalogErrorResponse = unknown;
|
|
49
|
+
export interface AiEngineeringControllerGetLeaderboardClassesCatalogProps extends AiEngineeringControllerGetLeaderboardClassesCatalogQueryPathParams, Omit<FetcherOptions<AiEngineeringControllerGetLeaderboardClassesCatalogQueryQueryParams, unknown>, 'url'> {
|
|
50
|
+
queryParams: AiEngineeringControllerGetLeaderboardClassesCatalogQueryQueryParams;
|
|
51
|
+
}
|
|
52
|
+
export declare function aiEngineeringControllerGetLeaderboardClassesCatalog(props: AiEngineeringControllerGetLeaderboardClassesCatalogProps): Promise<AiEngineeringControllerGetLeaderboardClassesCatalogOkResponse>;
|
|
53
|
+
/**
|
|
54
|
+
* Get catalog of available leaderboard classification segments
|
|
55
|
+
*/
|
|
56
|
+
export declare function useAiEngineeringControllerGetLeaderboardClassesCatalogQuery(props: AiEngineeringControllerGetLeaderboardClassesCatalogProps, options?: Omit<UseQueryOptions<AiEngineeringControllerGetLeaderboardClassesCatalogOkResponse, AiEngineeringControllerGetLeaderboardClassesCatalogErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<AiEngineeringControllerGetLeaderboardClassesCatalogOkResponse, 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 aiEngineeringControllerGetLeaderboardClassesCatalog(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/ai-engineering/insights/${props.category}/metrics/leaderboards/segments`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get catalog of available leaderboard classification segments
|
|
11
|
+
*/
|
|
12
|
+
export function useAiEngineeringControllerGetLeaderboardClassesCatalogQuery(props, options) {
|
|
13
|
+
return useQuery(['AiEngineeringControllerGetLeaderboardClassesCatalog', props.category, props.queryParams], ({ signal }) => aiEngineeringControllerGetLeaderboardClassesCatalog(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ApiResponseLeaderboardSegmentsSummaryData } from '../schemas/ApiResponseLeaderboardSegmentsSummaryData';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface AiEngineeringControllerGetLeaderboardClassesSummaryQueryPathParams {
|
|
6
|
+
category: string;
|
|
7
|
+
}
|
|
8
|
+
export interface AiEngineeringControllerGetLeaderboardClassesSummaryQueryQueryParams {
|
|
9
|
+
account: string;
|
|
10
|
+
schema: string;
|
|
11
|
+
orgIdentifier?: string;
|
|
12
|
+
projectIdentifier?: string;
|
|
13
|
+
routingId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @format int32
|
|
16
|
+
*/
|
|
17
|
+
orgTreeId?: number;
|
|
18
|
+
teamRefId?: string;
|
|
19
|
+
start_date?: string;
|
|
20
|
+
end_date?: string;
|
|
21
|
+
granularity?: string;
|
|
22
|
+
assistant?: string;
|
|
23
|
+
language?: string;
|
|
24
|
+
role?: string;
|
|
25
|
+
type?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @format int32
|
|
28
|
+
*/
|
|
29
|
+
active_threshold?: number;
|
|
30
|
+
}
|
|
31
|
+
export type AiEngineeringControllerGetLeaderboardClassesSummaryOkResponse = ResponseWithPagination<ApiResponseLeaderboardSegmentsSummaryData>;
|
|
32
|
+
export type AiEngineeringControllerGetLeaderboardClassesSummaryErrorResponse = unknown;
|
|
33
|
+
export interface AiEngineeringControllerGetLeaderboardClassesSummaryProps extends AiEngineeringControllerGetLeaderboardClassesSummaryQueryPathParams, Omit<FetcherOptions<AiEngineeringControllerGetLeaderboardClassesSummaryQueryQueryParams, unknown>, 'url'> {
|
|
34
|
+
queryParams: AiEngineeringControllerGetLeaderboardClassesSummaryQueryQueryParams;
|
|
35
|
+
}
|
|
36
|
+
export declare function aiEngineeringControllerGetLeaderboardClassesSummary(props: AiEngineeringControllerGetLeaderboardClassesSummaryProps): Promise<AiEngineeringControllerGetLeaderboardClassesSummaryOkResponse>;
|
|
37
|
+
/**
|
|
38
|
+
* Get per-segment summary cards for leaderboard categories
|
|
39
|
+
*/
|
|
40
|
+
export declare function useAiEngineeringControllerGetLeaderboardClassesSummaryQuery(props: AiEngineeringControllerGetLeaderboardClassesSummaryProps, options?: Omit<UseQueryOptions<AiEngineeringControllerGetLeaderboardClassesSummaryOkResponse, AiEngineeringControllerGetLeaderboardClassesSummaryErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<AiEngineeringControllerGetLeaderboardClassesSummaryOkResponse, 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 aiEngineeringControllerGetLeaderboardClassesSummary(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/ai-engineering/insights/${props.category}/metrics/leaderboards/segments-summary`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get per-segment summary cards for leaderboard categories
|
|
11
|
+
*/
|
|
12
|
+
export function useAiEngineeringControllerGetLeaderboardClassesSummaryQuery(props, options) {
|
|
13
|
+
return useQuery(['AiEngineeringControllerGetLeaderboardClassesSummary', props.category, props.queryParams], ({ signal }) => aiEngineeringControllerGetLeaderboardClassesSummary(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -4,6 +4,7 @@ import type { ResponseWithPagination } from '../helpers';
|
|
|
4
4
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
5
|
export interface AiEngineeringControllerGetLeaderboardsQueryPathParams {
|
|
6
6
|
category: string;
|
|
7
|
+
type: string;
|
|
7
8
|
}
|
|
8
9
|
export interface AiEngineeringControllerGetLeaderboardsQueryQueryParams {
|
|
9
10
|
account: string;
|
|
@@ -22,7 +23,6 @@ export interface AiEngineeringControllerGetLeaderboardsQueryQueryParams {
|
|
|
22
23
|
assistant?: string;
|
|
23
24
|
language?: string;
|
|
24
25
|
role?: string;
|
|
25
|
-
type?: string;
|
|
26
26
|
order?: string;
|
|
27
27
|
sort?: string;
|
|
28
28
|
/**
|
|
@@ -33,6 +33,13 @@ export interface AiEngineeringControllerGetLeaderboardsQueryQueryParams {
|
|
|
33
33
|
* @format int32
|
|
34
34
|
*/
|
|
35
35
|
offset?: number;
|
|
36
|
+
segment?: string;
|
|
37
|
+
segments?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @format int32
|
|
40
|
+
*/
|
|
41
|
+
active_threshold?: number;
|
|
42
|
+
dimensions?: string;
|
|
36
43
|
}
|
|
37
44
|
export type AiEngineeringControllerGetLeaderboardsOkResponse = ResponseWithPagination<ApiResponseEntityListTemplate>;
|
|
38
45
|
export type AiEngineeringControllerGetLeaderboardsErrorResponse = unknown;
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
import { useQuery } from '@tanstack/react-query';
|
|
5
5
|
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
6
|
export function aiEngineeringControllerGetLeaderboards(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/v2/ai-engineering/insights/${props.category}/
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/ai-engineering/insights/${props.category}/leaderboards/${props.type}`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* Get leaderboard for an insight category
|
|
11
11
|
*/
|
|
12
12
|
export function useAiEngineeringControllerGetLeaderboardsQuery(props, options) {
|
|
13
|
-
return useQuery(['AiEngineeringControllerGetLeaderboards', props.category, props.queryParams], ({ signal }) => aiEngineeringControllerGetLeaderboards(Object.assign(Object.assign({}, props), { signal })), options);
|
|
13
|
+
return useQuery(['AiEngineeringControllerGetLeaderboards', props.category, props.type, props.queryParams], ({ signal }) => aiEngineeringControllerGetLeaderboards(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
14
|
}
|
|
@@ -7,7 +7,7 @@ import type { ResponseWithPagination } from '../helpers';
|
|
|
7
7
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
8
|
export type DeveloperControllerUpsertDeveloperIdentitiesRequestBody = DeveloperIdentity[];
|
|
9
9
|
export type DeveloperControllerUpsertDeveloperIdentitiesOkResponse = ResponseWithPagination<DeveloperIdentityUpsertResponse>;
|
|
10
|
-
export type DeveloperControllerUpsertDeveloperIdentitiesErrorResponse =
|
|
10
|
+
export type DeveloperControllerUpsertDeveloperIdentitiesErrorResponse = DeveloperIdentityUpsertFailureResponse | ErrorResponse;
|
|
11
11
|
export interface DeveloperControllerUpsertDeveloperIdentitiesProps extends Omit<FetcherOptions<unknown, DeveloperControllerUpsertDeveloperIdentitiesRequestBody>, 'url'> {
|
|
12
12
|
body: DeveloperControllerUpsertDeveloperIdentitiesRequestBody;
|
|
13
13
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { GitAiInstallationsPage } from '../schemas/GitAiInstallationsPage';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface GitAiMonitoringControllerGetInstallationsQueryQueryParams {
|
|
6
|
+
version?: string;
|
|
7
|
+
/**
|
|
8
|
+
* @format int32
|
|
9
|
+
*/
|
|
10
|
+
limit?: number;
|
|
11
|
+
/**
|
|
12
|
+
* @format int32
|
|
13
|
+
*/
|
|
14
|
+
offset?: number;
|
|
15
|
+
}
|
|
16
|
+
export type GitAiMonitoringControllerGetInstallationsOkResponse = ResponseWithPagination<GitAiInstallationsPage>;
|
|
17
|
+
export type GitAiMonitoringControllerGetInstallationsErrorResponse = GitAiInstallationsPage;
|
|
18
|
+
export interface GitAiMonitoringControllerGetInstallationsProps extends Omit<FetcherOptions<GitAiMonitoringControllerGetInstallationsQueryQueryParams, unknown>, 'url'> {
|
|
19
|
+
queryParams: GitAiMonitoringControllerGetInstallationsQueryQueryParams;
|
|
20
|
+
}
|
|
21
|
+
export declare function gitAiMonitoringControllerGetInstallations(props: GitAiMonitoringControllerGetInstallationsProps): Promise<GitAiMonitoringControllerGetInstallationsOkResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* Get per-developer Git AI agent installations (version, install time, last heartbeat)
|
|
24
|
+
*/
|
|
25
|
+
export declare function useGitAiMonitoringControllerGetInstallationsQuery(props: GitAiMonitoringControllerGetInstallationsProps, options?: Omit<UseQueryOptions<GitAiMonitoringControllerGetInstallationsOkResponse, GitAiMonitoringControllerGetInstallationsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GitAiMonitoringControllerGetInstallationsOkResponse, GitAiInstallationsPage>;
|
|
@@ -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 gitAiMonitoringControllerGetInstallations(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/git-ai/monitoring/installations`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get per-developer Git AI agent installations (version, install time, last heartbeat)
|
|
11
|
+
*/
|
|
12
|
+
export function useGitAiMonitoringControllerGetInstallationsQuery(props, options) {
|
|
13
|
+
return useQuery(['GitAiMonitoringControllerGetInstallations', props.queryParams], ({ signal }) => gitAiMonitoringControllerGetInstallations(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { GitAiMonitoringSummary } from '../schemas/GitAiMonitoringSummary';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export type GitAiMonitoringControllerGetSummaryOkResponse = ResponseWithPagination<GitAiMonitoringSummary>;
|
|
6
|
+
export type GitAiMonitoringControllerGetSummaryErrorResponse = unknown;
|
|
7
|
+
export interface GitAiMonitoringControllerGetSummaryProps extends Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
8
|
+
}
|
|
9
|
+
export declare function gitAiMonitoringControllerGetSummary(props: GitAiMonitoringControllerGetSummaryProps): Promise<GitAiMonitoringControllerGetSummaryOkResponse>;
|
|
10
|
+
/**
|
|
11
|
+
* Get Git AI agent fleet summary (machines installed, current vs outdated)
|
|
12
|
+
*/
|
|
13
|
+
export declare function useGitAiMonitoringControllerGetSummaryQuery(props: GitAiMonitoringControllerGetSummaryProps, options?: Omit<UseQueryOptions<GitAiMonitoringControllerGetSummaryOkResponse, GitAiMonitoringControllerGetSummaryErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GitAiMonitoringControllerGetSummaryOkResponse, unknown>;
|
package/dist/sei-panorama-service/src/services/hooks/useGitAiMonitoringControllerGetSummaryQuery.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 gitAiMonitoringControllerGetSummary(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/git-ai/monitoring/summary`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get Git AI agent fleet summary (machines installed, current vs outdated)
|
|
11
|
+
*/
|
|
12
|
+
export function useGitAiMonitoringControllerGetSummaryQuery(props, options) {
|
|
13
|
+
return useQuery(['GitAiMonitoringControllerGetSummary'], ({ signal }) => gitAiMonitoringControllerGetSummary(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { GitAiVersionDistribution } from '../schemas/GitAiVersionDistribution';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export type GitAiMonitoringControllerGetVersionDistributionOkResponse = ResponseWithPagination<GitAiVersionDistribution[]>;
|
|
6
|
+
export type GitAiMonitoringControllerGetVersionDistributionErrorResponse = unknown;
|
|
7
|
+
export interface GitAiMonitoringControllerGetVersionDistributionProps extends Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
8
|
+
}
|
|
9
|
+
export declare function gitAiMonitoringControllerGetVersionDistribution(props: GitAiMonitoringControllerGetVersionDistributionProps): Promise<GitAiMonitoringControllerGetVersionDistributionOkResponse>;
|
|
10
|
+
/**
|
|
11
|
+
* Get Git AI agent version distribution across machines
|
|
12
|
+
*/
|
|
13
|
+
export declare function useGitAiMonitoringControllerGetVersionDistributionQuery(props: GitAiMonitoringControllerGetVersionDistributionProps, options?: Omit<UseQueryOptions<GitAiMonitoringControllerGetVersionDistributionOkResponse, GitAiMonitoringControllerGetVersionDistributionErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GitAiMonitoringControllerGetVersionDistributionOkResponse, 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 gitAiMonitoringControllerGetVersionDistribution(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/git-ai/monitoring/version-distribution`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get Git AI agent version distribution across machines
|
|
11
|
+
*/
|
|
12
|
+
export function useGitAiMonitoringControllerGetVersionDistributionQuery(props, options) {
|
|
13
|
+
return useQuery(['GitAiMonitoringControllerGetVersionDistribution'], ({ signal }) => gitAiMonitoringControllerGetVersionDistribution(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { IntegrationResponse } from '../schemas/IntegrationResponse';
|
|
3
|
+
import type { CreateIntegrationRequest } from '../schemas/CreateIntegrationRequest';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export type IntegrationManagementControllerCreateIntegrationRequestBody = CreateIntegrationRequest;
|
|
7
|
+
export type IntegrationManagementControllerCreateIntegrationOkResponse = ResponseWithPagination<IntegrationResponse>;
|
|
8
|
+
export type IntegrationManagementControllerCreateIntegrationErrorResponse = IntegrationResponse;
|
|
9
|
+
export interface IntegrationManagementControllerCreateIntegrationProps extends Omit<FetcherOptions<unknown, IntegrationManagementControllerCreateIntegrationRequestBody>, 'url'> {
|
|
10
|
+
body: IntegrationManagementControllerCreateIntegrationRequestBody;
|
|
11
|
+
}
|
|
12
|
+
export declare function integrationManagementControllerCreateIntegration(props: IntegrationManagementControllerCreateIntegrationProps): Promise<IntegrationManagementControllerCreateIntegrationOkResponse>;
|
|
13
|
+
/**
|
|
14
|
+
* Create a new integration
|
|
15
|
+
*/
|
|
16
|
+
export declare function useIntegrationManagementControllerCreateIntegrationMutation(options?: Omit<UseMutationOptions<IntegrationManagementControllerCreateIntegrationOkResponse, IntegrationManagementControllerCreateIntegrationErrorResponse, IntegrationManagementControllerCreateIntegrationProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<IntegrationManagementControllerCreateIntegrationOkResponse, IntegrationResponse, IntegrationManagementControllerCreateIntegrationProps, 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 { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function integrationManagementControllerCreateIntegration(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/integrations`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Create a new integration
|
|
11
|
+
*/
|
|
12
|
+
export function useIntegrationManagementControllerCreateIntegrationMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => integrationManagementControllerCreateIntegration(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { IntegrationResponse } from '../schemas/IntegrationResponse';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface IntegrationManagementControllerGetIntegrationQueryQueryParams {
|
|
6
|
+
application: string;
|
|
7
|
+
}
|
|
8
|
+
export type IntegrationManagementControllerGetIntegrationOkResponse = ResponseWithPagination<IntegrationResponse>;
|
|
9
|
+
export type IntegrationManagementControllerGetIntegrationErrorResponse = unknown;
|
|
10
|
+
export interface IntegrationManagementControllerGetIntegrationProps extends Omit<FetcherOptions<IntegrationManagementControllerGetIntegrationQueryQueryParams, unknown>, 'url'> {
|
|
11
|
+
queryParams: IntegrationManagementControllerGetIntegrationQueryQueryParams;
|
|
12
|
+
}
|
|
13
|
+
export declare function integrationManagementControllerGetIntegration(props: IntegrationManagementControllerGetIntegrationProps): Promise<IntegrationManagementControllerGetIntegrationOkResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* Get integration by application type
|
|
16
|
+
*/
|
|
17
|
+
export declare function useIntegrationManagementControllerGetIntegrationQuery(props: IntegrationManagementControllerGetIntegrationProps, options?: Omit<UseQueryOptions<IntegrationManagementControllerGetIntegrationOkResponse, IntegrationManagementControllerGetIntegrationErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<IntegrationManagementControllerGetIntegrationOkResponse, 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 integrationManagementControllerGetIntegration(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/integrations`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get integration by application type
|
|
11
|
+
*/
|
|
12
|
+
export function useIntegrationManagementControllerGetIntegrationQuery(props, options) {
|
|
13
|
+
return useQuery(['IntegrationManagementControllerGetIntegration', props.queryParams], ({ signal }) => integrationManagementControllerGetIntegration(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { IntegrationResponse } from '../schemas/IntegrationResponse';
|
|
3
|
+
import type { UpdateMetadataRequest } from '../schemas/UpdateMetadataRequest';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface IntegrationManagementControllerUpdateMetadataMutationPathParams {
|
|
7
|
+
/**
|
|
8
|
+
* @format int32
|
|
9
|
+
*/
|
|
10
|
+
id: number;
|
|
11
|
+
}
|
|
12
|
+
export type IntegrationManagementControllerUpdateMetadataRequestBody = UpdateMetadataRequest;
|
|
13
|
+
export type IntegrationManagementControllerUpdateMetadataOkResponse = ResponseWithPagination<IntegrationResponse>;
|
|
14
|
+
export type IntegrationManagementControllerUpdateMetadataErrorResponse = IntegrationResponse;
|
|
15
|
+
export interface IntegrationManagementControllerUpdateMetadataProps extends IntegrationManagementControllerUpdateMetadataMutationPathParams, Omit<FetcherOptions<unknown, IntegrationManagementControllerUpdateMetadataRequestBody>, 'url'> {
|
|
16
|
+
body: IntegrationManagementControllerUpdateMetadataRequestBody;
|
|
17
|
+
}
|
|
18
|
+
export declare function integrationManagementControllerUpdateMetadata(props: IntegrationManagementControllerUpdateMetadataProps): Promise<IntegrationManagementControllerUpdateMetadataOkResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* Update integration metadata
|
|
21
|
+
*/
|
|
22
|
+
export declare function useIntegrationManagementControllerUpdateMetadataMutation(options?: Omit<UseMutationOptions<IntegrationManagementControllerUpdateMetadataOkResponse, IntegrationManagementControllerUpdateMetadataErrorResponse, IntegrationManagementControllerUpdateMetadataProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<IntegrationManagementControllerUpdateMetadataOkResponse, IntegrationResponse, IntegrationManagementControllerUpdateMetadataProps, 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 { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function integrationManagementControllerUpdateMetadata(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/integrations/${props.id}/metadata`, method: 'PATCH' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Update integration metadata
|
|
11
|
+
*/
|
|
12
|
+
export function useIntegrationManagementControllerUpdateMetadataMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => integrationManagementControllerUpdateMetadata(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -9,6 +9,10 @@ export type { AiEngineeringControllerGetInvestmentCategoriesCatalogErrorResponse
|
|
|
9
9
|
export { aiEngineeringControllerGetInvestmentCategoriesCatalog, useAiEngineeringControllerGetInvestmentCategoriesCatalogQuery, } from './hooks/useAiEngineeringControllerGetInvestmentCategoriesCatalogQuery';
|
|
10
10
|
export type { AiEngineeringControllerGetLanguagesCatalogErrorResponse, AiEngineeringControllerGetLanguagesCatalogOkResponse, AiEngineeringControllerGetLanguagesCatalogProps, AiEngineeringControllerGetLanguagesCatalogQueryQueryParams, } from './hooks/useAiEngineeringControllerGetLanguagesCatalogQuery';
|
|
11
11
|
export { aiEngineeringControllerGetLanguagesCatalog, useAiEngineeringControllerGetLanguagesCatalogQuery, } from './hooks/useAiEngineeringControllerGetLanguagesCatalogQuery';
|
|
12
|
+
export type { AiEngineeringControllerGetLeaderboardClassesCatalogErrorResponse, AiEngineeringControllerGetLeaderboardClassesCatalogOkResponse, AiEngineeringControllerGetLeaderboardClassesCatalogProps, AiEngineeringControllerGetLeaderboardClassesCatalogQueryPathParams, AiEngineeringControllerGetLeaderboardClassesCatalogQueryQueryParams, } from './hooks/useAiEngineeringControllerGetLeaderboardClassesCatalogQuery';
|
|
13
|
+
export { aiEngineeringControllerGetLeaderboardClassesCatalog, useAiEngineeringControllerGetLeaderboardClassesCatalogQuery, } from './hooks/useAiEngineeringControllerGetLeaderboardClassesCatalogQuery';
|
|
14
|
+
export type { AiEngineeringControllerGetLeaderboardClassesSummaryErrorResponse, AiEngineeringControllerGetLeaderboardClassesSummaryOkResponse, AiEngineeringControllerGetLeaderboardClassesSummaryProps, AiEngineeringControllerGetLeaderboardClassesSummaryQueryPathParams, AiEngineeringControllerGetLeaderboardClassesSummaryQueryQueryParams, } from './hooks/useAiEngineeringControllerGetLeaderboardClassesSummaryQuery';
|
|
15
|
+
export { aiEngineeringControllerGetLeaderboardClassesSummary, useAiEngineeringControllerGetLeaderboardClassesSummaryQuery, } from './hooks/useAiEngineeringControllerGetLeaderboardClassesSummaryQuery';
|
|
12
16
|
export type { AiEngineeringControllerGetLeaderboardsErrorResponse, AiEngineeringControllerGetLeaderboardsOkResponse, AiEngineeringControllerGetLeaderboardsProps, AiEngineeringControllerGetLeaderboardsQueryPathParams, AiEngineeringControllerGetLeaderboardsQueryQueryParams, } from './hooks/useAiEngineeringControllerGetLeaderboardsQuery';
|
|
13
17
|
export { aiEngineeringControllerGetLeaderboards, useAiEngineeringControllerGetLeaderboardsQuery, } from './hooks/useAiEngineeringControllerGetLeaderboardsQuery';
|
|
14
18
|
export type { AiEngineeringControllerGetMetricBreakdownErrorResponse, AiEngineeringControllerGetMetricBreakdownOkResponse, AiEngineeringControllerGetMetricBreakdownProps, AiEngineeringControllerGetMetricBreakdownQueryPathParams, AiEngineeringControllerGetMetricBreakdownQueryQueryParams, } from './hooks/useAiEngineeringControllerGetMetricBreakdownQuery';
|
|
@@ -319,6 +323,12 @@ export type { GitAiArtifactControllerDownloadLatestArtifactErrorResponse, GitAiA
|
|
|
319
323
|
export { gitAiArtifactControllerDownloadLatestArtifact, useGitAiArtifactControllerDownloadLatestArtifactQuery, } from './hooks/useGitAiArtifactControllerDownloadLatestArtifactQuery';
|
|
320
324
|
export type { GitAiArtifactControllerGetLatestArtifactErrorResponse, GitAiArtifactControllerGetLatestArtifactOkResponse, GitAiArtifactControllerGetLatestArtifactProps, GitAiArtifactControllerGetLatestArtifactQueryQueryParams, } from './hooks/useGitAiArtifactControllerGetLatestArtifactQuery';
|
|
321
325
|
export { gitAiArtifactControllerGetLatestArtifact, useGitAiArtifactControllerGetLatestArtifactQuery, } from './hooks/useGitAiArtifactControllerGetLatestArtifactQuery';
|
|
326
|
+
export type { GitAiMonitoringControllerGetInstallationsErrorResponse, GitAiMonitoringControllerGetInstallationsOkResponse, GitAiMonitoringControllerGetInstallationsProps, GitAiMonitoringControllerGetInstallationsQueryQueryParams, } from './hooks/useGitAiMonitoringControllerGetInstallationsQuery';
|
|
327
|
+
export { gitAiMonitoringControllerGetInstallations, useGitAiMonitoringControllerGetInstallationsQuery, } from './hooks/useGitAiMonitoringControllerGetInstallationsQuery';
|
|
328
|
+
export type { GitAiMonitoringControllerGetSummaryErrorResponse, GitAiMonitoringControllerGetSummaryOkResponse, GitAiMonitoringControllerGetSummaryProps, } from './hooks/useGitAiMonitoringControllerGetSummaryQuery';
|
|
329
|
+
export { gitAiMonitoringControllerGetSummary, useGitAiMonitoringControllerGetSummaryQuery, } from './hooks/useGitAiMonitoringControllerGetSummaryQuery';
|
|
330
|
+
export type { GitAiMonitoringControllerGetVersionDistributionErrorResponse, GitAiMonitoringControllerGetVersionDistributionOkResponse, GitAiMonitoringControllerGetVersionDistributionProps, } from './hooks/useGitAiMonitoringControllerGetVersionDistributionQuery';
|
|
331
|
+
export { gitAiMonitoringControllerGetVersionDistribution, useGitAiMonitoringControllerGetVersionDistributionQuery, } from './hooks/useGitAiMonitoringControllerGetVersionDistributionQuery';
|
|
322
332
|
export type { HealthControllerCheckDbHealthErrorResponse, HealthControllerCheckDbHealthOkResponse, HealthControllerCheckDbHealthProps, } from './hooks/useHealthControllerCheckDbHealthQuery';
|
|
323
333
|
export { healthControllerCheckDbHealth, useHealthControllerCheckDbHealthQuery, } from './hooks/useHealthControllerCheckDbHealthQuery';
|
|
324
334
|
export type { ImFieldsControllerListImFieldsErrorResponse, ImFieldsControllerListImFieldsOkResponse, ImFieldsControllerListImFieldsProps, ImFieldsControllerListImFieldsQueryQueryParams, ImFieldsControllerListImFieldsRequestBody, } from './hooks/useImFieldsControllerListImFieldsQuery';
|
|
@@ -337,6 +347,12 @@ export type { IntegrationControllerListIntegrationsErrorResponse, IntegrationCon
|
|
|
337
347
|
export { integrationControllerListIntegrations, useIntegrationControllerListIntegrationsQuery, } from './hooks/useIntegrationControllerListIntegrationsQuery';
|
|
338
348
|
export type { IntegrationDataStatusControllerGetIntegrationDataStatusErrorResponse, IntegrationDataStatusControllerGetIntegrationDataStatusMutationQueryParams, IntegrationDataStatusControllerGetIntegrationDataStatusOkResponse, IntegrationDataStatusControllerGetIntegrationDataStatusProps, IntegrationDataStatusControllerGetIntegrationDataStatusRequestBody, } from './hooks/useIntegrationDataStatusControllerGetIntegrationDataStatusMutation';
|
|
339
349
|
export { integrationDataStatusControllerGetIntegrationDataStatus, useIntegrationDataStatusControllerGetIntegrationDataStatusMutation, } from './hooks/useIntegrationDataStatusControllerGetIntegrationDataStatusMutation';
|
|
350
|
+
export type { IntegrationManagementControllerCreateIntegrationErrorResponse, IntegrationManagementControllerCreateIntegrationOkResponse, IntegrationManagementControllerCreateIntegrationProps, IntegrationManagementControllerCreateIntegrationRequestBody, } from './hooks/useIntegrationManagementControllerCreateIntegrationMutation';
|
|
351
|
+
export { integrationManagementControllerCreateIntegration, useIntegrationManagementControllerCreateIntegrationMutation, } from './hooks/useIntegrationManagementControllerCreateIntegrationMutation';
|
|
352
|
+
export type { IntegrationManagementControllerGetIntegrationErrorResponse, IntegrationManagementControllerGetIntegrationOkResponse, IntegrationManagementControllerGetIntegrationProps, IntegrationManagementControllerGetIntegrationQueryQueryParams, } from './hooks/useIntegrationManagementControllerGetIntegrationQuery';
|
|
353
|
+
export { integrationManagementControllerGetIntegration, useIntegrationManagementControllerGetIntegrationQuery, } from './hooks/useIntegrationManagementControllerGetIntegrationQuery';
|
|
354
|
+
export type { IntegrationManagementControllerUpdateMetadataErrorResponse, IntegrationManagementControllerUpdateMetadataMutationPathParams, IntegrationManagementControllerUpdateMetadataOkResponse, IntegrationManagementControllerUpdateMetadataProps, IntegrationManagementControllerUpdateMetadataRequestBody, } from './hooks/useIntegrationManagementControllerUpdateMetadataMutation';
|
|
355
|
+
export { integrationManagementControllerUpdateMetadata, useIntegrationManagementControllerUpdateMetadataMutation, } from './hooks/useIntegrationManagementControllerUpdateMetadataMutation';
|
|
340
356
|
export type { IntegrationPropertiesControllerGetPropertiesErrorResponse, IntegrationPropertiesControllerGetPropertiesOkResponse, IntegrationPropertiesControllerGetPropertiesProps, IntegrationPropertiesControllerGetPropertiesQueryPathParams, } from './hooks/useIntegrationPropertiesControllerGetPropertiesQuery';
|
|
341
357
|
export { integrationPropertiesControllerGetProperties, useIntegrationPropertiesControllerGetPropertiesQuery, } from './hooks/useIntegrationPropertiesControllerGetPropertiesQuery';
|
|
342
358
|
export type { IntegrationPropertiesControllerGetValuesErrorResponse, IntegrationPropertiesControllerGetValuesOkResponse, IntegrationPropertiesControllerGetValuesProps, IntegrationPropertiesControllerGetValuesQueryPathParams, IntegrationPropertiesControllerGetValuesQueryQueryParams, } from './hooks/useIntegrationPropertiesControllerGetValuesQuery';
|
|
@@ -630,6 +646,8 @@ export { teamsControllerUpdateTeamIntegrations, useTeamsControllerUpdateTeamInte
|
|
|
630
646
|
export type { TeamsControllerUpdateTeamErrorResponse, TeamsControllerUpdateTeamMutationPathParams, TeamsControllerUpdateTeamMutationQueryParams, TeamsControllerUpdateTeamOkResponse, TeamsControllerUpdateTeamProps, TeamsControllerUpdateTeamRequestBody, } from './hooks/useTeamsControllerUpdateTeamMutation';
|
|
631
647
|
export { teamsControllerUpdateTeam, useTeamsControllerUpdateTeamMutation, } from './hooks/useTeamsControllerUpdateTeamMutation';
|
|
632
648
|
export type { AccessResponseDto } from './schemas/AccessResponseDto';
|
|
649
|
+
export type { ActiveThreshold } from './schemas/ActiveThreshold';
|
|
650
|
+
export type { ActiveUsersCount } from './schemas/ActiveUsersCount';
|
|
633
651
|
export type { ActiveWorkStatusConfig } from './schemas/ActiveWorkStatusConfig';
|
|
634
652
|
export type { ActivityDataDto } from './schemas/ActivityDataDto';
|
|
635
653
|
export type { ActivityLog } from './schemas/ActivityLog';
|
|
@@ -673,6 +691,7 @@ export type { ApiResponseCatalogTemplate } from './schemas/ApiResponseCatalogTem
|
|
|
673
691
|
export type { ApiResponseCorrelationData } from './schemas/ApiResponseCorrelationData';
|
|
674
692
|
export type { ApiResponseEntityListData } from './schemas/ApiResponseEntityListData';
|
|
675
693
|
export type { ApiResponseEntityListTemplate } from './schemas/ApiResponseEntityListTemplate';
|
|
694
|
+
export type { ApiResponseLeaderboardSegmentsSummaryData } from './schemas/ApiResponseLeaderboardSegmentsSummaryData';
|
|
676
695
|
export type { ApiResponseMetricAggregateTemplate } from './schemas/ApiResponseMetricAggregateTemplate';
|
|
677
696
|
export type { ApiResponseMetricBreakdownData } from './schemas/ApiResponseMetricBreakdownData';
|
|
678
697
|
export type { ApiResponseOptimizationItem } from './schemas/ApiResponseOptimizationItem';
|
|
@@ -739,6 +758,7 @@ export type { CorrelationData } from './schemas/CorrelationData';
|
|
|
739
758
|
export type { CorrelationPoint } from './schemas/CorrelationPoint';
|
|
740
759
|
export type { CreateCanvasDashboardRequestDto } from './schemas/CreateCanvasDashboardRequestDto';
|
|
741
760
|
export type { CreateCustomVariableRequestDto } from './schemas/CreateCustomVariableRequestDto';
|
|
761
|
+
export type { CreateIntegrationRequest } from './schemas/CreateIntegrationRequest';
|
|
742
762
|
export type { CreatedBy } from './schemas/CreatedBy';
|
|
743
763
|
export type { CursorMetrics } from './schemas/CursorMetrics';
|
|
744
764
|
export type { CustomVariableResponseDto } from './schemas/CustomVariableResponseDto';
|
|
@@ -842,6 +862,10 @@ export type { FilterByField } from './schemas/FilterByField';
|
|
|
842
862
|
export type { FilterExpression } from './schemas/FilterExpression';
|
|
843
863
|
export type { FilterValuesRequestDto } from './schemas/FilterValuesRequestDto';
|
|
844
864
|
export type { GitAiArtifactDownloadResponse } from './schemas/GitAiArtifactDownloadResponse';
|
|
865
|
+
export type { GitAiInstallation } from './schemas/GitAiInstallation';
|
|
866
|
+
export type { GitAiInstallationsPage } from './schemas/GitAiInstallationsPage';
|
|
867
|
+
export type { GitAiMonitoringSummary } from './schemas/GitAiMonitoringSummary';
|
|
868
|
+
export type { GitAiVersionDistribution } from './schemas/GitAiVersionDistribution';
|
|
845
869
|
export type { GroupByField } from './schemas/GroupByField';
|
|
846
870
|
export type { GroupedTeamFiltersResponseDto } from './schemas/GroupedTeamFiltersResponseDto';
|
|
847
871
|
export type { HqlFilterKeyMetadataDto } from './schemas/HqlFilterKeyMetadataDto';
|
|
@@ -871,6 +895,7 @@ export type { IntegrationPrVelocitySummary } from './schemas/IntegrationPrVeloci
|
|
|
871
895
|
export type { IntegrationPropertiesResponseDto } from './schemas/IntegrationPropertiesResponseDto';
|
|
872
896
|
export type { IntegrationPropertyDto } from './schemas/IntegrationPropertyDto';
|
|
873
897
|
export type { IntegrationPropertyValuesResponseDto } from './schemas/IntegrationPropertyValuesResponseDto';
|
|
898
|
+
export type { IntegrationResponse } from './schemas/IntegrationResponse';
|
|
874
899
|
export type { IntegrationResponseDto } from './schemas/IntegrationResponseDto';
|
|
875
900
|
export type { IntegrationReworkSummary } from './schemas/IntegrationReworkSummary';
|
|
876
901
|
export type { IntegrationStatsDto } from './schemas/IntegrationStatsDto';
|
|
@@ -891,6 +916,7 @@ export type { ItsmDrilldownSummary } from './schemas/ItsmDrilldownSummary';
|
|
|
891
916
|
export type { JobDetailDto } from './schemas/JobDetailDto';
|
|
892
917
|
export type { JsonNode } from './schemas/JsonNode';
|
|
893
918
|
export type { LanguageCount } from './schemas/LanguageCount';
|
|
919
|
+
export type { LeaderboardSegmentsSummaryData } from './schemas/LeaderboardSegmentsSummaryData';
|
|
894
920
|
export type { LicenseSearchParams } from './schemas/LicenseSearchParams';
|
|
895
921
|
export type { ListResponseDto } from './schemas/ListResponseDto';
|
|
896
922
|
export type { ListResponseDtoDeveloperIdentity } from './schemas/ListResponseDtoDeveloperIdentity';
|
|
@@ -911,6 +937,7 @@ export type { MetricAggregateTemplate } from './schemas/MetricAggregateTemplate'
|
|
|
911
937
|
export type { MetricBreakdownData } from './schemas/MetricBreakdownData';
|
|
912
938
|
export type { MetricEntry } from './schemas/MetricEntry';
|
|
913
939
|
export type { MetricValue } from './schemas/MetricValue';
|
|
940
|
+
export type { MetricValueWithUnit } from './schemas/MetricValueWithUnit';
|
|
914
941
|
export type { MetricsExport } from './schemas/MetricsExport';
|
|
915
942
|
export type { MetricsExportListResponseDto } from './schemas/MetricsExportListResponseDto';
|
|
916
943
|
export type { MetricsExportRequestDto } from './schemas/MetricsExportRequestDto';
|
|
@@ -1020,6 +1047,7 @@ export type { SecurityProfileResponseDto } from './schemas/SecurityProfileRespon
|
|
|
1020
1047
|
export type { SecurityStatsDrilldownResponseDto } from './schemas/SecurityStatsDrilldownResponseDto';
|
|
1021
1048
|
export type { SecurityStatsRequest } from './schemas/SecurityStatsRequest';
|
|
1022
1049
|
export type { SecurityStatsTrendResponseDto } from './schemas/SecurityStatsTrendResponseDto';
|
|
1050
|
+
export type { SegmentSummary } from './schemas/SegmentSummary';
|
|
1023
1051
|
export type { SeverityCounts } from './schemas/SeverityCounts';
|
|
1024
1052
|
export type { SeverityData } from './schemas/SeverityData';
|
|
1025
1053
|
export type { SeveritySummaryData } from './schemas/SeveritySummaryData';
|
|
@@ -1112,6 +1140,7 @@ export type { TotalStatisticCount } from './schemas/TotalStatisticCount';
|
|
|
1112
1140
|
export type { TrendDataPoint } from './schemas/TrendDataPoint';
|
|
1113
1141
|
export type { UpdateCustomVariableRequestDto } from './schemas/UpdateCustomVariableRequestDto';
|
|
1114
1142
|
export type { UpdateCustomVariableTeamOverrideRequestDto } from './schemas/UpdateCustomVariableTeamOverrideRequestDto';
|
|
1143
|
+
export type { UpdateMetadataRequest } from './schemas/UpdateMetadataRequest';
|
|
1115
1144
|
export type { UserInfo } from './schemas/UserInfo';
|
|
1116
1145
|
export type { UserMetrics } from './schemas/UserMetrics';
|
|
1117
1146
|
export type { ValidationError } from './schemas/ValidationError';
|
|
@@ -3,6 +3,8 @@ export { aiEngineeringControllerGetAgentsCatalog, useAiEngineeringControllerGetA
|
|
|
3
3
|
export { aiEngineeringControllerGetCorrelations, useAiEngineeringControllerGetCorrelationsQuery, } from './hooks/useAiEngineeringControllerGetCorrelationsQuery';
|
|
4
4
|
export { aiEngineeringControllerGetInvestmentCategoriesCatalog, useAiEngineeringControllerGetInvestmentCategoriesCatalogQuery, } from './hooks/useAiEngineeringControllerGetInvestmentCategoriesCatalogQuery';
|
|
5
5
|
export { aiEngineeringControllerGetLanguagesCatalog, useAiEngineeringControllerGetLanguagesCatalogQuery, } from './hooks/useAiEngineeringControllerGetLanguagesCatalogQuery';
|
|
6
|
+
export { aiEngineeringControllerGetLeaderboardClassesCatalog, useAiEngineeringControllerGetLeaderboardClassesCatalogQuery, } from './hooks/useAiEngineeringControllerGetLeaderboardClassesCatalogQuery';
|
|
7
|
+
export { aiEngineeringControllerGetLeaderboardClassesSummary, useAiEngineeringControllerGetLeaderboardClassesSummaryQuery, } from './hooks/useAiEngineeringControllerGetLeaderboardClassesSummaryQuery';
|
|
6
8
|
export { aiEngineeringControllerGetLeaderboards, useAiEngineeringControllerGetLeaderboardsQuery, } from './hooks/useAiEngineeringControllerGetLeaderboardsQuery';
|
|
7
9
|
export { aiEngineeringControllerGetMetricBreakdown, useAiEngineeringControllerGetMetricBreakdownQuery, } from './hooks/useAiEngineeringControllerGetMetricBreakdownQuery';
|
|
8
10
|
export { aiEngineeringControllerGetMetricSeries, useAiEngineeringControllerGetMetricSeriesQuery, } from './hooks/useAiEngineeringControllerGetMetricSeriesQuery';
|
|
@@ -158,6 +160,9 @@ export { externalDataControllerIngestData, useExternalDataControllerIngestDataMu
|
|
|
158
160
|
export { externalDataControllerRegisterSchema, useExternalDataControllerRegisterSchemaMutation, } from './hooks/useExternalDataControllerRegisterSchemaMutation';
|
|
159
161
|
export { gitAiArtifactControllerDownloadLatestArtifact, useGitAiArtifactControllerDownloadLatestArtifactQuery, } from './hooks/useGitAiArtifactControllerDownloadLatestArtifactQuery';
|
|
160
162
|
export { gitAiArtifactControllerGetLatestArtifact, useGitAiArtifactControllerGetLatestArtifactQuery, } from './hooks/useGitAiArtifactControllerGetLatestArtifactQuery';
|
|
163
|
+
export { gitAiMonitoringControllerGetInstallations, useGitAiMonitoringControllerGetInstallationsQuery, } from './hooks/useGitAiMonitoringControllerGetInstallationsQuery';
|
|
164
|
+
export { gitAiMonitoringControllerGetSummary, useGitAiMonitoringControllerGetSummaryQuery, } from './hooks/useGitAiMonitoringControllerGetSummaryQuery';
|
|
165
|
+
export { gitAiMonitoringControllerGetVersionDistribution, useGitAiMonitoringControllerGetVersionDistributionQuery, } from './hooks/useGitAiMonitoringControllerGetVersionDistributionQuery';
|
|
161
166
|
export { healthControllerCheckDbHealth, useHealthControllerCheckDbHealthQuery, } from './hooks/useHealthControllerCheckDbHealthQuery';
|
|
162
167
|
export { imFieldsControllerListImFields, useImFieldsControllerListImFieldsQuery, } from './hooks/useImFieldsControllerListImFieldsQuery';
|
|
163
168
|
export { integrationControllerGetFilterValues, useIntegrationControllerGetFilterValuesQuery, } from './hooks/useIntegrationControllerGetFilterValuesQuery';
|
|
@@ -167,6 +172,9 @@ export { integrationControllerGetItsmCustomFields, useIntegrationControllerGetIt
|
|
|
167
172
|
export { integrationControllerListIntegrationConfigs, useIntegrationControllerListIntegrationConfigsQuery, } from './hooks/useIntegrationControllerListIntegrationConfigsQuery';
|
|
168
173
|
export { integrationControllerListIntegrations, useIntegrationControllerListIntegrationsQuery, } from './hooks/useIntegrationControllerListIntegrationsQuery';
|
|
169
174
|
export { integrationDataStatusControllerGetIntegrationDataStatus, useIntegrationDataStatusControllerGetIntegrationDataStatusMutation, } from './hooks/useIntegrationDataStatusControllerGetIntegrationDataStatusMutation';
|
|
175
|
+
export { integrationManagementControllerCreateIntegration, useIntegrationManagementControllerCreateIntegrationMutation, } from './hooks/useIntegrationManagementControllerCreateIntegrationMutation';
|
|
176
|
+
export { integrationManagementControllerGetIntegration, useIntegrationManagementControllerGetIntegrationQuery, } from './hooks/useIntegrationManagementControllerGetIntegrationQuery';
|
|
177
|
+
export { integrationManagementControllerUpdateMetadata, useIntegrationManagementControllerUpdateMetadataMutation, } from './hooks/useIntegrationManagementControllerUpdateMetadataMutation';
|
|
170
178
|
export { integrationPropertiesControllerGetProperties, useIntegrationPropertiesControllerGetPropertiesQuery, } from './hooks/useIntegrationPropertiesControllerGetPropertiesQuery';
|
|
171
179
|
export { integrationPropertiesControllerGetValues, useIntegrationPropertiesControllerGetValuesQuery, } from './hooks/useIntegrationPropertiesControllerGetValuesQuery';
|
|
172
180
|
export { integrationStatsControllerGetCicdJobRunsCountWithDateRange, useIntegrationStatsControllerGetCicdJobRunsCountWithDateRangeMutation, } from './hooks/useIntegrationStatsControllerGetCicdJobRunsCountWithDateRangeMutation';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Active users count and percentage
|
|
3
|
+
*/
|
|
4
|
+
export interface ActiveUsersCount {
|
|
5
|
+
/**
|
|
6
|
+
* Count of active users
|
|
7
|
+
* @format int32
|
|
8
|
+
* @example 1
|
|
9
|
+
*/
|
|
10
|
+
count?: number;
|
|
11
|
+
/**
|
|
12
|
+
* Percentage of class population that is active
|
|
13
|
+
* @format double
|
|
14
|
+
* @example 0.06
|
|
15
|
+
*/
|
|
16
|
+
pct?: number;
|
|
17
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { LeaderboardSegmentsSummaryData } from '../schemas/LeaderboardSegmentsSummaryData';
|
|
2
|
+
export interface ApiResponseLeaderboardSegmentsSummaryData {
|
|
3
|
+
/**
|
|
4
|
+
* Endpoint-specific payload (template DTOs, lists, aggregates, etc.)
|
|
5
|
+
*/
|
|
6
|
+
data?: LeaderboardSegmentsSummaryData;
|
|
7
|
+
/**
|
|
8
|
+
* HATEOAS links for resource navigation (self, next, prev, etc.)
|
|
9
|
+
*/
|
|
10
|
+
links?: {
|
|
11
|
+
[key: string]: {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* Operation metadata: date ranges, filters, granularity, pagination info, etc.
|
|
17
|
+
*/
|
|
18
|
+
meta?: {
|
|
19
|
+
[key: string]: {
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
}
|
package/dist/sei-panorama-service/src/services/schemas/ApiResponseLeaderboardSegmentsSummaryData.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface GitAiInstallation {
|
|
2
|
+
/**
|
|
3
|
+
* Developer email (machine identity)
|
|
4
|
+
*/
|
|
5
|
+
email?: string;
|
|
6
|
+
/**
|
|
7
|
+
* First time the agent reported activity (proxy for installation time)
|
|
8
|
+
* @format date-time
|
|
9
|
+
*/
|
|
10
|
+
installationTime?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Most recent time the agent reported activity (last heartbeat)
|
|
13
|
+
* @format date-time
|
|
14
|
+
*/
|
|
15
|
+
lastHeartbeat?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Developer name (null when the developer has no commit attribution)
|
|
18
|
+
*/
|
|
19
|
+
name?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Agent version currently in use by this developer
|
|
22
|
+
*/
|
|
23
|
+
version?: string;
|
|
24
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { GitAiInstallation } from '../schemas/GitAiInstallation';
|
|
2
|
+
export interface GitAiInstallationsPage {
|
|
3
|
+
/**
|
|
4
|
+
* Installations for the requested page
|
|
5
|
+
*/
|
|
6
|
+
installations?: GitAiInstallation[];
|
|
7
|
+
/**
|
|
8
|
+
* Page size used for this response
|
|
9
|
+
* @format int32
|
|
10
|
+
*/
|
|
11
|
+
limit?: number;
|
|
12
|
+
/**
|
|
13
|
+
* Row offset used for this response
|
|
14
|
+
* @format int32
|
|
15
|
+
*/
|
|
16
|
+
offset?: number;
|
|
17
|
+
/**
|
|
18
|
+
* Total installations matching the filter (across all pages)
|
|
19
|
+
* @format int64
|
|
20
|
+
*/
|
|
21
|
+
total?: number;
|
|
22
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export interface GitAiMonitoringSummary {
|
|
2
|
+
/**
|
|
3
|
+
* Latest release timestamp in epoch milliseconds
|
|
4
|
+
* @format int64
|
|
5
|
+
*/
|
|
6
|
+
latestReleaseDate?: number;
|
|
7
|
+
/**
|
|
8
|
+
* Latest released Git AI agent version (null when it cannot be resolved)
|
|
9
|
+
*/
|
|
10
|
+
latestVersion?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Distinct developers (machines) that have reported Git AI agent activity
|
|
13
|
+
* @format int64
|
|
14
|
+
*/
|
|
15
|
+
machinesInstalled?: number;
|
|
16
|
+
/**
|
|
17
|
+
* Machines whose first activity was within the last 7 days
|
|
18
|
+
* @format int64
|
|
19
|
+
*/
|
|
20
|
+
newThisWeek?: number;
|
|
21
|
+
/**
|
|
22
|
+
* Machines running the latest released agent version
|
|
23
|
+
* @format int64
|
|
24
|
+
*/
|
|
25
|
+
onCurrentVersion?: number;
|
|
26
|
+
/**
|
|
27
|
+
* Percentage of machines on the latest version (0-100)
|
|
28
|
+
* @format double
|
|
29
|
+
*/
|
|
30
|
+
onCurrentVersionPct?: number;
|
|
31
|
+
/**
|
|
32
|
+
* Machines running an older-than-latest agent version
|
|
33
|
+
* @format int64
|
|
34
|
+
*/
|
|
35
|
+
outdated?: number;
|
|
36
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export interface GitAiVersionDistribution {
|
|
2
|
+
/**
|
|
3
|
+
* Number of machines on this version
|
|
4
|
+
* @format int64
|
|
5
|
+
*/
|
|
6
|
+
machines?: number;
|
|
7
|
+
/**
|
|
8
|
+
* Share of total machines on this version (0-100)
|
|
9
|
+
* @format double
|
|
10
|
+
*/
|
|
11
|
+
percentage?: number;
|
|
12
|
+
/**
|
|
13
|
+
* Version status relative to the latest release: latest, outdated, or unknown
|
|
14
|
+
*/
|
|
15
|
+
status?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Agent version string
|
|
18
|
+
*/
|
|
19
|
+
version?: string;
|
|
20
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface IntegrationResponse {
|
|
2
|
+
application?: string;
|
|
3
|
+
created?: boolean;
|
|
4
|
+
/**
|
|
5
|
+
* @format int64
|
|
6
|
+
*/
|
|
7
|
+
created_at?: number;
|
|
8
|
+
/**
|
|
9
|
+
* @format int32
|
|
10
|
+
*/
|
|
11
|
+
id?: number;
|
|
12
|
+
metadata?: {
|
|
13
|
+
[key: string]: {
|
|
14
|
+
[key: string]: any;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
name?: string;
|
|
18
|
+
status?: string;
|
|
19
|
+
}
|
|
@@ -5,7 +5,7 @@ export interface IntegrationResponseDto {
|
|
|
5
5
|
/**
|
|
6
6
|
* Application type
|
|
7
7
|
*/
|
|
8
|
-
applicationType?: 'ADO_BOARDS' | 'ADO_PIPELINES' | 'ADO_REPOS' | 'ARMORCODE' | 'BITBUCKET' | 'BITBUCKET_SERVER' | 'CLAUDE_CODE' | 'CURSOR' | 'CUSTOM' | 'CUSTOM_INGESTION' | 'GITHUB' | 'GITHUB_ACTIONS' | 'GITHUB_COPILOT' | 'GITLAB' | 'GIT_AI' | 'HARNESSCODE' | 'HARNESSNG' | 'HARNESS_CD' | 'HARNESS_CI' | 'JENKINS' | 'JIRA' | 'QTEST' | 'SERVICENOW' | 'SNYK' | 'WINDSURF' | 'WIZ';
|
|
8
|
+
applicationType?: 'ADO_BOARDS' | 'ADO_PIPELINES' | 'ADO_REPOS' | 'ARMORCODE' | 'BITBUCKET' | 'BITBUCKET_SERVER' | 'CLAUDE_CODE' | 'CURSOR' | 'CUSTOM' | 'CUSTOM_INGESTION' | 'GITHUB' | 'GITHUB_ACTIONS' | 'GITHUB_COPILOT' | 'GITLAB' | 'GIT_AI' | 'HARNESSCODE' | 'HARNESSNG' | 'HARNESS_CD' | 'HARNESS_CI' | 'JENKINS' | 'JIRA' | 'PAGERDUTY' | 'QTEST' | 'SERVICENOW' | 'SNYK' | 'WINDSURF' | 'WIZ';
|
|
9
9
|
/**
|
|
10
10
|
* Integration ID
|
|
11
11
|
* @format int32
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { ActiveThreshold } from '../schemas/ActiveThreshold';
|
|
2
|
+
import type { TimeSeriesPeriod } from '../schemas/TimeSeriesPeriod';
|
|
3
|
+
import type { SegmentSummary } from '../schemas/SegmentSummary';
|
|
4
|
+
/**
|
|
5
|
+
* Per-segment summary cards for leaderboard categories. Counts can sum to more than total_population due to multi-segment membership.
|
|
6
|
+
*/
|
|
7
|
+
export interface LeaderboardSegmentsSummaryData {
|
|
8
|
+
/**
|
|
9
|
+
* Active threshold setting used for segmentation
|
|
10
|
+
*/
|
|
11
|
+
activeThreshold?: ActiveThreshold;
|
|
12
|
+
/**
|
|
13
|
+
* Time period for the segmentation
|
|
14
|
+
*/
|
|
15
|
+
period?: TimeSeriesPeriod;
|
|
16
|
+
/**
|
|
17
|
+
* Per-segment summary statistics
|
|
18
|
+
*/
|
|
19
|
+
segments?: SegmentSummary[];
|
|
20
|
+
/**
|
|
21
|
+
* Total population in scope (before segment filtering)
|
|
22
|
+
* @format int32
|
|
23
|
+
* @example 17
|
|
24
|
+
*/
|
|
25
|
+
totalPopulation?: number;
|
|
26
|
+
/**
|
|
27
|
+
* Entity type being segmented
|
|
28
|
+
* @example "developers"
|
|
29
|
+
*/
|
|
30
|
+
type?: string;
|
|
31
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,8 +1,13 @@
|
|
|
1
|
+
import type { BreakdownItem } from '../schemas/BreakdownItem';
|
|
1
2
|
import type { SimpleMetric } from '../schemas/SimpleMetric';
|
|
2
3
|
/**
|
|
3
4
|
* Represents a ranked entity with metrics and metadata
|
|
4
5
|
*/
|
|
5
6
|
export interface RankedEntity {
|
|
7
|
+
/**
|
|
8
|
+
* Breakdown of metrics by dimensions (e.g., by agent, language, etc.)
|
|
9
|
+
*/
|
|
10
|
+
breakdown?: BreakdownItem[];
|
|
6
11
|
/**
|
|
7
12
|
* Per-agent drill-down rows (developers leaderboard only)
|
|
8
13
|
*/
|
|
@@ -36,4 +41,8 @@ export interface RankedEntity {
|
|
|
36
41
|
* @example 1
|
|
37
42
|
*/
|
|
38
43
|
rank?: number;
|
|
44
|
+
/**
|
|
45
|
+
* Segment memberships computed from this entity's metrics. Multi-membership allowed (e.g. ['overspending','ramping_up']).
|
|
46
|
+
*/
|
|
47
|
+
segments?: string[];
|
|
39
48
|
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import type { ActiveUsersCount } from '../schemas/ActiveUsersCount';
|
|
2
|
+
import type { MetricValueWithUnit } from '../schemas/MetricValueWithUnit';
|
|
3
|
+
/**
|
|
4
|
+
* Summary for one leaderboard segment
|
|
5
|
+
*/
|
|
6
|
+
export interface SegmentSummary {
|
|
7
|
+
/**
|
|
8
|
+
* Active users in this class
|
|
9
|
+
*/
|
|
10
|
+
activeUsers?: ActiveUsersCount;
|
|
11
|
+
/**
|
|
12
|
+
* Human-readable filter expression defining this segment
|
|
13
|
+
* @example "Active days ≥10 AND code ship rate >60% AND cost/KLOC ≤ P75"
|
|
14
|
+
*/
|
|
15
|
+
filterExpression?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Segment key
|
|
18
|
+
* @example "champions"
|
|
19
|
+
*/
|
|
20
|
+
key?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Human-readable segment label
|
|
23
|
+
* @example "Champions"
|
|
24
|
+
*/
|
|
25
|
+
label?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Count of entities in this class
|
|
28
|
+
* @format int32
|
|
29
|
+
* @example 0
|
|
30
|
+
*/
|
|
31
|
+
matchingCount?: number;
|
|
32
|
+
/**
|
|
33
|
+
* Percentage of total population in this class
|
|
34
|
+
* @format double
|
|
35
|
+
* @example 0
|
|
36
|
+
*/
|
|
37
|
+
matchingPct?: number;
|
|
38
|
+
/**
|
|
39
|
+
* Total spend for entities in this class
|
|
40
|
+
*/
|
|
41
|
+
spend?: MetricValueWithUnit;
|
|
42
|
+
/**
|
|
43
|
+
* Percentage of total spend consumed by this class
|
|
44
|
+
* @format double
|
|
45
|
+
* @example 0
|
|
46
|
+
*/
|
|
47
|
+
spendPctOfTotal?: number;
|
|
48
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@harnessio/react-sei-panorama-service-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.31.1",
|
|
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",
|