@harnessio/react-sei-panorama-service-client 0.31.0 → 0.31.2
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/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 +19 -2
- package/dist/sei-panorama-service/src/services/index.js +6 -1
- 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/LeaderboardSegmentsSummaryData.d.ts +2 -2
- package/dist/sei-panorama-service/src/services/schemas/SegmentSummary.d.ts +5 -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
- package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetLeaderboardsLegacyQuery.d.ts +0 -65
- package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetLeaderboardsLegacyQuery.js +0 -15
|
@@ -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 = DeveloperIdentityUpsertFailureResponse | ErrorResponse;
|
|
10
|
+
export type DeveloperControllerUpsertDeveloperIdentitiesErrorResponse = (DeveloperIdentityUpsertFailureResponse & ErrorResponse) | 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
|
+
}
|
|
@@ -13,8 +13,6 @@ export type { AiEngineeringControllerGetLeaderboardClassesCatalogErrorResponse,
|
|
|
13
13
|
export { aiEngineeringControllerGetLeaderboardClassesCatalog, useAiEngineeringControllerGetLeaderboardClassesCatalogQuery, } from './hooks/useAiEngineeringControllerGetLeaderboardClassesCatalogQuery';
|
|
14
14
|
export type { AiEngineeringControllerGetLeaderboardClassesSummaryErrorResponse, AiEngineeringControllerGetLeaderboardClassesSummaryOkResponse, AiEngineeringControllerGetLeaderboardClassesSummaryProps, AiEngineeringControllerGetLeaderboardClassesSummaryQueryPathParams, AiEngineeringControllerGetLeaderboardClassesSummaryQueryQueryParams, } from './hooks/useAiEngineeringControllerGetLeaderboardClassesSummaryQuery';
|
|
15
15
|
export { aiEngineeringControllerGetLeaderboardClassesSummary, useAiEngineeringControllerGetLeaderboardClassesSummaryQuery, } from './hooks/useAiEngineeringControllerGetLeaderboardClassesSummaryQuery';
|
|
16
|
-
export type { AiEngineeringControllerGetLeaderboardsLegacyErrorResponse, AiEngineeringControllerGetLeaderboardsLegacyOkResponse, AiEngineeringControllerGetLeaderboardsLegacyProps, AiEngineeringControllerGetLeaderboardsLegacyQueryPathParams, AiEngineeringControllerGetLeaderboardsLegacyQueryQueryParams, } from './hooks/useAiEngineeringControllerGetLeaderboardsLegacyQuery';
|
|
17
|
-
export { aiEngineeringControllerGetLeaderboardsLegacy, useAiEngineeringControllerGetLeaderboardsLegacyQuery, } from './hooks/useAiEngineeringControllerGetLeaderboardsLegacyQuery';
|
|
18
16
|
export type { AiEngineeringControllerGetLeaderboardsErrorResponse, AiEngineeringControllerGetLeaderboardsOkResponse, AiEngineeringControllerGetLeaderboardsProps, AiEngineeringControllerGetLeaderboardsQueryPathParams, AiEngineeringControllerGetLeaderboardsQueryQueryParams, } from './hooks/useAiEngineeringControllerGetLeaderboardsQuery';
|
|
19
17
|
export { aiEngineeringControllerGetLeaderboards, useAiEngineeringControllerGetLeaderboardsQuery, } from './hooks/useAiEngineeringControllerGetLeaderboardsQuery';
|
|
20
18
|
export type { AiEngineeringControllerGetMetricBreakdownErrorResponse, AiEngineeringControllerGetMetricBreakdownOkResponse, AiEngineeringControllerGetMetricBreakdownProps, AiEngineeringControllerGetMetricBreakdownQueryPathParams, AiEngineeringControllerGetMetricBreakdownQueryQueryParams, } from './hooks/useAiEngineeringControllerGetMetricBreakdownQuery';
|
|
@@ -325,6 +323,12 @@ export type { GitAiArtifactControllerDownloadLatestArtifactErrorResponse, GitAiA
|
|
|
325
323
|
export { gitAiArtifactControllerDownloadLatestArtifact, useGitAiArtifactControllerDownloadLatestArtifactQuery, } from './hooks/useGitAiArtifactControllerDownloadLatestArtifactQuery';
|
|
326
324
|
export type { GitAiArtifactControllerGetLatestArtifactErrorResponse, GitAiArtifactControllerGetLatestArtifactOkResponse, GitAiArtifactControllerGetLatestArtifactProps, GitAiArtifactControllerGetLatestArtifactQueryQueryParams, } from './hooks/useGitAiArtifactControllerGetLatestArtifactQuery';
|
|
327
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';
|
|
328
332
|
export type { HealthControllerCheckDbHealthErrorResponse, HealthControllerCheckDbHealthOkResponse, HealthControllerCheckDbHealthProps, } from './hooks/useHealthControllerCheckDbHealthQuery';
|
|
329
333
|
export { healthControllerCheckDbHealth, useHealthControllerCheckDbHealthQuery, } from './hooks/useHealthControllerCheckDbHealthQuery';
|
|
330
334
|
export type { ImFieldsControllerListImFieldsErrorResponse, ImFieldsControllerListImFieldsOkResponse, ImFieldsControllerListImFieldsProps, ImFieldsControllerListImFieldsQueryQueryParams, ImFieldsControllerListImFieldsRequestBody, } from './hooks/useImFieldsControllerListImFieldsQuery';
|
|
@@ -343,6 +347,12 @@ export type { IntegrationControllerListIntegrationsErrorResponse, IntegrationCon
|
|
|
343
347
|
export { integrationControllerListIntegrations, useIntegrationControllerListIntegrationsQuery, } from './hooks/useIntegrationControllerListIntegrationsQuery';
|
|
344
348
|
export type { IntegrationDataStatusControllerGetIntegrationDataStatusErrorResponse, IntegrationDataStatusControllerGetIntegrationDataStatusMutationQueryParams, IntegrationDataStatusControllerGetIntegrationDataStatusOkResponse, IntegrationDataStatusControllerGetIntegrationDataStatusProps, IntegrationDataStatusControllerGetIntegrationDataStatusRequestBody, } from './hooks/useIntegrationDataStatusControllerGetIntegrationDataStatusMutation';
|
|
345
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';
|
|
346
356
|
export type { IntegrationPropertiesControllerGetPropertiesErrorResponse, IntegrationPropertiesControllerGetPropertiesOkResponse, IntegrationPropertiesControllerGetPropertiesProps, IntegrationPropertiesControllerGetPropertiesQueryPathParams, } from './hooks/useIntegrationPropertiesControllerGetPropertiesQuery';
|
|
347
357
|
export { integrationPropertiesControllerGetProperties, useIntegrationPropertiesControllerGetPropertiesQuery, } from './hooks/useIntegrationPropertiesControllerGetPropertiesQuery';
|
|
348
358
|
export type { IntegrationPropertiesControllerGetValuesErrorResponse, IntegrationPropertiesControllerGetValuesOkResponse, IntegrationPropertiesControllerGetValuesProps, IntegrationPropertiesControllerGetValuesQueryPathParams, IntegrationPropertiesControllerGetValuesQueryQueryParams, } from './hooks/useIntegrationPropertiesControllerGetValuesQuery';
|
|
@@ -748,6 +758,7 @@ export type { CorrelationData } from './schemas/CorrelationData';
|
|
|
748
758
|
export type { CorrelationPoint } from './schemas/CorrelationPoint';
|
|
749
759
|
export type { CreateCanvasDashboardRequestDto } from './schemas/CreateCanvasDashboardRequestDto';
|
|
750
760
|
export type { CreateCustomVariableRequestDto } from './schemas/CreateCustomVariableRequestDto';
|
|
761
|
+
export type { CreateIntegrationRequest } from './schemas/CreateIntegrationRequest';
|
|
751
762
|
export type { CreatedBy } from './schemas/CreatedBy';
|
|
752
763
|
export type { CursorMetrics } from './schemas/CursorMetrics';
|
|
753
764
|
export type { CustomVariableResponseDto } from './schemas/CustomVariableResponseDto';
|
|
@@ -851,6 +862,10 @@ export type { FilterByField } from './schemas/FilterByField';
|
|
|
851
862
|
export type { FilterExpression } from './schemas/FilterExpression';
|
|
852
863
|
export type { FilterValuesRequestDto } from './schemas/FilterValuesRequestDto';
|
|
853
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';
|
|
854
869
|
export type { GroupByField } from './schemas/GroupByField';
|
|
855
870
|
export type { GroupedTeamFiltersResponseDto } from './schemas/GroupedTeamFiltersResponseDto';
|
|
856
871
|
export type { HqlFilterKeyMetadataDto } from './schemas/HqlFilterKeyMetadataDto';
|
|
@@ -880,6 +895,7 @@ export type { IntegrationPrVelocitySummary } from './schemas/IntegrationPrVeloci
|
|
|
880
895
|
export type { IntegrationPropertiesResponseDto } from './schemas/IntegrationPropertiesResponseDto';
|
|
881
896
|
export type { IntegrationPropertyDto } from './schemas/IntegrationPropertyDto';
|
|
882
897
|
export type { IntegrationPropertyValuesResponseDto } from './schemas/IntegrationPropertyValuesResponseDto';
|
|
898
|
+
export type { IntegrationResponse } from './schemas/IntegrationResponse';
|
|
883
899
|
export type { IntegrationResponseDto } from './schemas/IntegrationResponseDto';
|
|
884
900
|
export type { IntegrationReworkSummary } from './schemas/IntegrationReworkSummary';
|
|
885
901
|
export type { IntegrationStatsDto } from './schemas/IntegrationStatsDto';
|
|
@@ -1124,6 +1140,7 @@ export type { TotalStatisticCount } from './schemas/TotalStatisticCount';
|
|
|
1124
1140
|
export type { TrendDataPoint } from './schemas/TrendDataPoint';
|
|
1125
1141
|
export type { UpdateCustomVariableRequestDto } from './schemas/UpdateCustomVariableRequestDto';
|
|
1126
1142
|
export type { UpdateCustomVariableTeamOverrideRequestDto } from './schemas/UpdateCustomVariableTeamOverrideRequestDto';
|
|
1143
|
+
export type { UpdateMetadataRequest } from './schemas/UpdateMetadataRequest';
|
|
1127
1144
|
export type { UserInfo } from './schemas/UserInfo';
|
|
1128
1145
|
export type { UserMetrics } from './schemas/UserMetrics';
|
|
1129
1146
|
export type { ValidationError } from './schemas/ValidationError';
|
|
@@ -5,7 +5,6 @@ export { aiEngineeringControllerGetInvestmentCategoriesCatalog, useAiEngineering
|
|
|
5
5
|
export { aiEngineeringControllerGetLanguagesCatalog, useAiEngineeringControllerGetLanguagesCatalogQuery, } from './hooks/useAiEngineeringControllerGetLanguagesCatalogQuery';
|
|
6
6
|
export { aiEngineeringControllerGetLeaderboardClassesCatalog, useAiEngineeringControllerGetLeaderboardClassesCatalogQuery, } from './hooks/useAiEngineeringControllerGetLeaderboardClassesCatalogQuery';
|
|
7
7
|
export { aiEngineeringControllerGetLeaderboardClassesSummary, useAiEngineeringControllerGetLeaderboardClassesSummaryQuery, } from './hooks/useAiEngineeringControllerGetLeaderboardClassesSummaryQuery';
|
|
8
|
-
export { aiEngineeringControllerGetLeaderboardsLegacy, useAiEngineeringControllerGetLeaderboardsLegacyQuery, } from './hooks/useAiEngineeringControllerGetLeaderboardsLegacyQuery';
|
|
9
8
|
export { aiEngineeringControllerGetLeaderboards, useAiEngineeringControllerGetLeaderboardsQuery, } from './hooks/useAiEngineeringControllerGetLeaderboardsQuery';
|
|
10
9
|
export { aiEngineeringControllerGetMetricBreakdown, useAiEngineeringControllerGetMetricBreakdownQuery, } from './hooks/useAiEngineeringControllerGetMetricBreakdownQuery';
|
|
11
10
|
export { aiEngineeringControllerGetMetricSeries, useAiEngineeringControllerGetMetricSeriesQuery, } from './hooks/useAiEngineeringControllerGetMetricSeriesQuery';
|
|
@@ -161,6 +160,9 @@ export { externalDataControllerIngestData, useExternalDataControllerIngestDataMu
|
|
|
161
160
|
export { externalDataControllerRegisterSchema, useExternalDataControllerRegisterSchemaMutation, } from './hooks/useExternalDataControllerRegisterSchemaMutation';
|
|
162
161
|
export { gitAiArtifactControllerDownloadLatestArtifact, useGitAiArtifactControllerDownloadLatestArtifactQuery, } from './hooks/useGitAiArtifactControllerDownloadLatestArtifactQuery';
|
|
163
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';
|
|
164
166
|
export { healthControllerCheckDbHealth, useHealthControllerCheckDbHealthQuery, } from './hooks/useHealthControllerCheckDbHealthQuery';
|
|
165
167
|
export { imFieldsControllerListImFields, useImFieldsControllerListImFieldsQuery, } from './hooks/useImFieldsControllerListImFieldsQuery';
|
|
166
168
|
export { integrationControllerGetFilterValues, useIntegrationControllerGetFilterValuesQuery, } from './hooks/useIntegrationControllerGetFilterValuesQuery';
|
|
@@ -170,6 +172,9 @@ export { integrationControllerGetItsmCustomFields, useIntegrationControllerGetIt
|
|
|
170
172
|
export { integrationControllerListIntegrationConfigs, useIntegrationControllerListIntegrationConfigsQuery, } from './hooks/useIntegrationControllerListIntegrationConfigsQuery';
|
|
171
173
|
export { integrationControllerListIntegrations, useIntegrationControllerListIntegrationsQuery, } from './hooks/useIntegrationControllerListIntegrationsQuery';
|
|
172
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';
|
|
173
178
|
export { integrationPropertiesControllerGetProperties, useIntegrationPropertiesControllerGetPropertiesQuery, } from './hooks/useIntegrationPropertiesControllerGetPropertiesQuery';
|
|
174
179
|
export { integrationPropertiesControllerGetValues, useIntegrationPropertiesControllerGetValuesQuery, } from './hooks/useIntegrationPropertiesControllerGetValuesQuery';
|
|
175
180
|
export { integrationStatsControllerGetCicdJobRunsCountWithDateRange, useIntegrationStatsControllerGetCicdJobRunsCountWithDateRangeMutation, } from './hooks/useIntegrationStatsControllerGetCicdJobRunsCountWithDateRangeMutation';
|
|
@@ -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
|
+
}
|
|
@@ -2,7 +2,7 @@ import type { ActiveThreshold } from '../schemas/ActiveThreshold';
|
|
|
2
2
|
import type { TimeSeriesPeriod } from '../schemas/TimeSeriesPeriod';
|
|
3
3
|
import type { SegmentSummary } from '../schemas/SegmentSummary';
|
|
4
4
|
/**
|
|
5
|
-
* Per-segment summary cards for leaderboard categories.
|
|
5
|
+
* Per-segment summary cards for leaderboard categories. Developer segment counts sum to total_population; repository segments are mutually exclusive and also sum to total_population.
|
|
6
6
|
*/
|
|
7
7
|
export interface LeaderboardSegmentsSummaryData {
|
|
8
8
|
/**
|
|
@@ -18,7 +18,7 @@ export interface LeaderboardSegmentsSummaryData {
|
|
|
18
18
|
*/
|
|
19
19
|
segments?: SegmentSummary[];
|
|
20
20
|
/**
|
|
21
|
-
* Total
|
|
21
|
+
* Total entities in scope for segmentation (developers or repos, before segment filtering)
|
|
22
22
|
* @format int32
|
|
23
23
|
* @example 17
|
|
24
24
|
*/
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ActiveUsersCount } from '../schemas/ActiveUsersCount';
|
|
2
|
+
import type { SimpleMetric } from '../schemas/SimpleMetric';
|
|
2
3
|
import type { MetricValueWithUnit } from '../schemas/MetricValueWithUnit';
|
|
3
4
|
/**
|
|
4
5
|
* Summary for one leaderboard segment
|
|
@@ -35,6 +36,10 @@ export interface SegmentSummary {
|
|
|
35
36
|
* @example 0
|
|
36
37
|
*/
|
|
37
38
|
matchingPct?: number;
|
|
39
|
+
/**
|
|
40
|
+
* All summary metrics such as counts, spend, pct, etc.
|
|
41
|
+
*/
|
|
42
|
+
metrics?: SimpleMetric[];
|
|
38
43
|
/**
|
|
39
44
|
* Total spend for entities in this class
|
|
40
45
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@harnessio/react-sei-panorama-service-client",
|
|
3
|
-
"version": "0.31.
|
|
3
|
+
"version": "0.31.2",
|
|
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",
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
-
import type { ApiResponseEntityListTemplate } from '../schemas/ApiResponseEntityListTemplate';
|
|
3
|
-
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
-
export interface AiEngineeringControllerGetLeaderboardsLegacyQueryPathParams {
|
|
6
|
-
category: string;
|
|
7
|
-
}
|
|
8
|
-
export interface AiEngineeringControllerGetLeaderboardsLegacyQueryQueryParams {
|
|
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
|
-
order?: string;
|
|
26
|
-
sort?: string;
|
|
27
|
-
/**
|
|
28
|
-
* @format int32
|
|
29
|
-
*/
|
|
30
|
-
limit?: number;
|
|
31
|
-
/**
|
|
32
|
-
* @format int32
|
|
33
|
-
*/
|
|
34
|
-
offset?: number;
|
|
35
|
-
segment?: string;
|
|
36
|
-
segments?: string;
|
|
37
|
-
/**
|
|
38
|
-
* @format int32
|
|
39
|
-
*/
|
|
40
|
-
active_threshold?: number;
|
|
41
|
-
dimensions?: string;
|
|
42
|
-
/**
|
|
43
|
-
* @example "team"
|
|
44
|
-
*/
|
|
45
|
-
type?: string;
|
|
46
|
-
/**
|
|
47
|
-
* @example "overspending"
|
|
48
|
-
*/
|
|
49
|
-
class?: string;
|
|
50
|
-
/**
|
|
51
|
-
* @example "overspending,ramping_up"
|
|
52
|
-
*/
|
|
53
|
-
classes?: string;
|
|
54
|
-
}
|
|
55
|
-
export type AiEngineeringControllerGetLeaderboardsLegacyOkResponse = ResponseWithPagination<ApiResponseEntityListTemplate>;
|
|
56
|
-
export type AiEngineeringControllerGetLeaderboardsLegacyErrorResponse = unknown;
|
|
57
|
-
export interface AiEngineeringControllerGetLeaderboardsLegacyProps extends AiEngineeringControllerGetLeaderboardsLegacyQueryPathParams, Omit<FetcherOptions<AiEngineeringControllerGetLeaderboardsLegacyQueryQueryParams, unknown>, 'url'> {
|
|
58
|
-
queryParams: AiEngineeringControllerGetLeaderboardsLegacyQueryQueryParams;
|
|
59
|
-
}
|
|
60
|
-
export declare function aiEngineeringControllerGetLeaderboardsLegacy(props: AiEngineeringControllerGetLeaderboardsLegacyProps): Promise<AiEngineeringControllerGetLeaderboardsLegacyOkResponse>;
|
|
61
|
-
/**
|
|
62
|
-
* Get leaderboard for an insight category (deprecated - use /leaderboards/{type} instead)
|
|
63
|
-
* @deprecated
|
|
64
|
-
*/
|
|
65
|
-
export declare function useAiEngineeringControllerGetLeaderboardsLegacyQuery(props: AiEngineeringControllerGetLeaderboardsLegacyProps, options?: Omit<UseQueryOptions<AiEngineeringControllerGetLeaderboardsLegacyOkResponse, AiEngineeringControllerGetLeaderboardsLegacyErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<AiEngineeringControllerGetLeaderboardsLegacyOkResponse, unknown>;
|
|
@@ -1,15 +0,0 @@
|
|
|
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 aiEngineeringControllerGetLeaderboardsLegacy(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/v2/ai-engineering/insights/${props.category}/metrics/leaderboards`, method: 'GET' }, props));
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Get leaderboard for an insight category (deprecated - use /leaderboards/{type} instead)
|
|
11
|
-
* @deprecated
|
|
12
|
-
*/
|
|
13
|
-
export function useAiEngineeringControllerGetLeaderboardsLegacyQuery(props, options) {
|
|
14
|
-
return useQuery(['AiEngineeringControllerGetLeaderboardsLegacy', props.category, props.queryParams], ({ signal }) => aiEngineeringControllerGetLeaderboardsLegacy(Object.assign(Object.assign({}, props), { signal })), options);
|
|
15
|
-
}
|