@harnessio/react-sei-panorama-service-client 0.30.0 → 0.31.0
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/useAiEngineeringControllerGetLeaderboardsLegacyQuery.d.ts +65 -0
- package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetLeaderboardsLegacyQuery.js +15 -0
- package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetLeaderboardsQuery.d.ts +12 -1
- package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetLeaderboardsQuery.js +2 -2
- package/dist/sei-panorama-service/src/services/hooks/useGitAiArtifactControllerDownloadLatestArtifactQuery.d.ts +16 -0
- package/dist/sei-panorama-service/src/services/hooks/useGitAiArtifactControllerDownloadLatestArtifactQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useGitAiArtifactControllerGetLatestArtifactQuery.d.ts +17 -0
- package/dist/sei-panorama-service/src/services/hooks/useGitAiArtifactControllerGetLatestArtifactQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsStatsControllerGetOpenVulnerabilitiesBreakdownQuery.d.ts +31 -0
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsStatsControllerGetOpenVulnerabilitiesBreakdownQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsStatsControllerGetOpenVulnerabilitiesQuery.d.ts +32 -0
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsStatsControllerGetOpenVulnerabilitiesQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsStatsControllerGetSecurityStatsDrilldownQuery.d.ts +44 -0
- package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsStatsControllerGetSecurityStatsDrilldownQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/index.d.ts +28 -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/BreakdownItem.d.ts +15 -21
- package/dist/sei-panorama-service/src/services/schemas/BreakdownItem.js +0 -3
- package/dist/sei-panorama-service/src/services/schemas/GitAiArtifactDownloadResponse.d.ts +11 -0
- package/dist/sei-panorama-service/src/services/schemas/GitAiArtifactDownloadResponse.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/MetricValue.d.ts +6 -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/OpenVulnerabilitiesStatsBreakdownResponseDto.d.ts +15 -0
- package/dist/sei-panorama-service/src/services/schemas/OpenVulnerabilitiesStatsBreakdownResponseDto.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/PaginationInfo.d.ts +5 -0
- package/dist/sei-panorama-service/src/services/schemas/RankedEntity.d.ts +9 -0
- package/dist/sei-panorama-service/src/services/schemas/SecurityStatsDrilldownResponseDto.d.ts +6 -0
- package/dist/sei-panorama-service/src/services/schemas/SecurityStatsDrilldownResponseDto.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/SecurityStatsTrendResponseDto.d.ts +14 -0
- package/dist/sei-panorama-service/src/services/schemas/SecurityStatsTrendResponseDto.js +1 -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/SeverityCounts.d.ts +26 -0
- package/dist/sei-panorama-service/src/services/schemas/SeverityCounts.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/StatsRecord.d.ts +19 -0
- package/dist/sei-panorama-service/src/services/schemas/StatsRecord.js +1 -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
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
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>;
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
}
|
|
@@ -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,13 +23,23 @@ 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
|
/**
|
|
29
29
|
* @format int32
|
|
30
30
|
*/
|
|
31
31
|
limit?: number;
|
|
32
|
+
/**
|
|
33
|
+
* @format int32
|
|
34
|
+
*/
|
|
35
|
+
offset?: number;
|
|
36
|
+
segment?: string;
|
|
37
|
+
segments?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @format int32
|
|
40
|
+
*/
|
|
41
|
+
active_threshold?: number;
|
|
42
|
+
dimensions?: string;
|
|
32
43
|
}
|
|
33
44
|
export type AiEngineeringControllerGetLeaderboardsOkResponse = ResponseWithPagination<ApiResponseEntityListTemplate>;
|
|
34
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
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
3
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
4
|
+
export interface GitAiArtifactControllerDownloadLatestArtifactQueryQueryParams {
|
|
5
|
+
platform: string;
|
|
6
|
+
}
|
|
7
|
+
export type GitAiArtifactControllerDownloadLatestArtifactOkResponse = ResponseWithPagination<string>;
|
|
8
|
+
export type GitAiArtifactControllerDownloadLatestArtifactErrorResponse = string;
|
|
9
|
+
export interface GitAiArtifactControllerDownloadLatestArtifactProps extends Omit<FetcherOptions<GitAiArtifactControllerDownloadLatestArtifactQueryQueryParams, unknown>, 'url'> {
|
|
10
|
+
queryParams: GitAiArtifactControllerDownloadLatestArtifactQueryQueryParams;
|
|
11
|
+
}
|
|
12
|
+
export declare function gitAiArtifactControllerDownloadLatestArtifact(props: GitAiArtifactControllerDownloadLatestArtifactProps): Promise<GitAiArtifactControllerDownloadLatestArtifactOkResponse>;
|
|
13
|
+
/**
|
|
14
|
+
* Download latest Git AI agent artifact for a supported platform
|
|
15
|
+
*/
|
|
16
|
+
export declare function useGitAiArtifactControllerDownloadLatestArtifactQuery(props: GitAiArtifactControllerDownloadLatestArtifactProps, options?: Omit<UseQueryOptions<GitAiArtifactControllerDownloadLatestArtifactOkResponse, GitAiArtifactControllerDownloadLatestArtifactErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GitAiArtifactControllerDownloadLatestArtifactOkResponse, string>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function gitAiArtifactControllerDownloadLatestArtifact(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/git-ai/artifacts/latest/download`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Download latest Git AI agent artifact for a supported platform
|
|
11
|
+
*/
|
|
12
|
+
export function useGitAiArtifactControllerDownloadLatestArtifactQuery(props, options) {
|
|
13
|
+
return useQuery(['GitAiArtifactControllerDownloadLatestArtifact', props.queryParams], ({ signal }) => gitAiArtifactControllerDownloadLatestArtifact(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { GitAiArtifactDownloadResponse } from '../schemas/GitAiArtifactDownloadResponse';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface GitAiArtifactControllerGetLatestArtifactQueryQueryParams {
|
|
6
|
+
platform: string;
|
|
7
|
+
}
|
|
8
|
+
export type GitAiArtifactControllerGetLatestArtifactOkResponse = ResponseWithPagination<GitAiArtifactDownloadResponse>;
|
|
9
|
+
export type GitAiArtifactControllerGetLatestArtifactErrorResponse = GitAiArtifactDownloadResponse;
|
|
10
|
+
export interface GitAiArtifactControllerGetLatestArtifactProps extends Omit<FetcherOptions<GitAiArtifactControllerGetLatestArtifactQueryQueryParams, unknown>, 'url'> {
|
|
11
|
+
queryParams: GitAiArtifactControllerGetLatestArtifactQueryQueryParams;
|
|
12
|
+
}
|
|
13
|
+
export declare function gitAiArtifactControllerGetLatestArtifact(props: GitAiArtifactControllerGetLatestArtifactProps): Promise<GitAiArtifactControllerGetLatestArtifactOkResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* Get latest Git AI agent artifact for a supported platform
|
|
16
|
+
*/
|
|
17
|
+
export declare function useGitAiArtifactControllerGetLatestArtifactQuery(props: GitAiArtifactControllerGetLatestArtifactProps, options?: Omit<UseQueryOptions<GitAiArtifactControllerGetLatestArtifactOkResponse, GitAiArtifactControllerGetLatestArtifactErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GitAiArtifactControllerGetLatestArtifactOkResponse, GitAiArtifactDownloadResponse>;
|
|
@@ -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 gitAiArtifactControllerGetLatestArtifact(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/git-ai/artifacts/latest`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get latest Git AI agent artifact for a supported platform
|
|
11
|
+
*/
|
|
12
|
+
export function useGitAiArtifactControllerGetLatestArtifactQuery(props, options) {
|
|
13
|
+
return useQuery(['GitAiArtifactControllerGetLatestArtifact', props.queryParams], ({ signal }) => gitAiArtifactControllerGetLatestArtifact(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { OpenVulnerabilitiesStatsBreakdownResponseDto } from '../schemas/OpenVulnerabilitiesStatsBreakdownResponseDto';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface SecurityInsightsStatsControllerGetOpenVulnerabilitiesBreakdownQueryQueryParams {
|
|
6
|
+
account: string;
|
|
7
|
+
projectIdentifier: string;
|
|
8
|
+
orgIdentifier: string;
|
|
9
|
+
/**
|
|
10
|
+
* @format int32
|
|
11
|
+
*/
|
|
12
|
+
teamRefId: number;
|
|
13
|
+
/**
|
|
14
|
+
* @format date-time
|
|
15
|
+
*/
|
|
16
|
+
startDate: string;
|
|
17
|
+
/**
|
|
18
|
+
* @format date-time
|
|
19
|
+
*/
|
|
20
|
+
endDate: string;
|
|
21
|
+
}
|
|
22
|
+
export type SecurityInsightsStatsControllerGetOpenVulnerabilitiesBreakdownOkResponse = ResponseWithPagination<OpenVulnerabilitiesStatsBreakdownResponseDto>;
|
|
23
|
+
export type SecurityInsightsStatsControllerGetOpenVulnerabilitiesBreakdownErrorResponse = string;
|
|
24
|
+
export interface SecurityInsightsStatsControllerGetOpenVulnerabilitiesBreakdownProps extends Omit<FetcherOptions<SecurityInsightsStatsControllerGetOpenVulnerabilitiesBreakdownQueryQueryParams, unknown>, 'url'> {
|
|
25
|
+
queryParams: SecurityInsightsStatsControllerGetOpenVulnerabilitiesBreakdownQueryQueryParams;
|
|
26
|
+
}
|
|
27
|
+
export declare function securityInsightsStatsControllerGetOpenVulnerabilitiesBreakdown(props: SecurityInsightsStatsControllerGetOpenVulnerabilitiesBreakdownProps): Promise<SecurityInsightsStatsControllerGetOpenVulnerabilitiesBreakdownOkResponse>;
|
|
28
|
+
/**
|
|
29
|
+
* Aggregated severity counts grouped by one or more dimensions (default: source_tool, tag_value)
|
|
30
|
+
*/
|
|
31
|
+
export declare function useSecurityInsightsStatsControllerGetOpenVulnerabilitiesBreakdownQuery(props: SecurityInsightsStatsControllerGetOpenVulnerabilitiesBreakdownProps, options?: Omit<UseQueryOptions<SecurityInsightsStatsControllerGetOpenVulnerabilitiesBreakdownOkResponse, SecurityInsightsStatsControllerGetOpenVulnerabilitiesBreakdownErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<SecurityInsightsStatsControllerGetOpenVulnerabilitiesBreakdownOkResponse, string>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function securityInsightsStatsControllerGetOpenVulnerabilitiesBreakdown(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/insights/security-stats/open-vulnerabilities/breakdown`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Aggregated severity counts grouped by one or more dimensions (default: source_tool, tag_value)
|
|
11
|
+
*/
|
|
12
|
+
export function useSecurityInsightsStatsControllerGetOpenVulnerabilitiesBreakdownQuery(props, options) {
|
|
13
|
+
return useQuery(['SecurityInsightsStatsControllerGetOpenVulnerabilitiesBreakdown', props.queryParams], ({ signal }) => securityInsightsStatsControllerGetOpenVulnerabilitiesBreakdown(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { SecurityStatsTrendResponseDto } from '../schemas/SecurityStatsTrendResponseDto';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface SecurityInsightsStatsControllerGetOpenVulnerabilitiesQueryQueryParams {
|
|
6
|
+
account: string;
|
|
7
|
+
projectIdentifier: string;
|
|
8
|
+
orgIdentifier: string;
|
|
9
|
+
/**
|
|
10
|
+
* @format int32
|
|
11
|
+
*/
|
|
12
|
+
teamRefId: number;
|
|
13
|
+
/**
|
|
14
|
+
* @format date-time
|
|
15
|
+
*/
|
|
16
|
+
startDate: string;
|
|
17
|
+
/**
|
|
18
|
+
* @format date-time
|
|
19
|
+
*/
|
|
20
|
+
endDate: string;
|
|
21
|
+
granularity?: 'DAILY' | 'MONTHLY' | 'QUARTERLY' | 'WEEKLY';
|
|
22
|
+
}
|
|
23
|
+
export type SecurityInsightsStatsControllerGetOpenVulnerabilitiesOkResponse = ResponseWithPagination<SecurityStatsTrendResponseDto>;
|
|
24
|
+
export type SecurityInsightsStatsControllerGetOpenVulnerabilitiesErrorResponse = string;
|
|
25
|
+
export interface SecurityInsightsStatsControllerGetOpenVulnerabilitiesProps extends Omit<FetcherOptions<SecurityInsightsStatsControllerGetOpenVulnerabilitiesQueryQueryParams, unknown>, 'url'> {
|
|
26
|
+
queryParams: SecurityInsightsStatsControllerGetOpenVulnerabilitiesQueryQueryParams;
|
|
27
|
+
}
|
|
28
|
+
export declare function securityInsightsStatsControllerGetOpenVulnerabilities(props: SecurityInsightsStatsControllerGetOpenVulnerabilitiesProps): Promise<SecurityInsightsStatsControllerGetOpenVulnerabilitiesOkResponse>;
|
|
29
|
+
/**
|
|
30
|
+
* Time-series severity counts from security_stats grouped by snapshot_date and source_tool
|
|
31
|
+
*/
|
|
32
|
+
export declare function useSecurityInsightsStatsControllerGetOpenVulnerabilitiesQuery(props: SecurityInsightsStatsControllerGetOpenVulnerabilitiesProps, options?: Omit<UseQueryOptions<SecurityInsightsStatsControllerGetOpenVulnerabilitiesOkResponse, SecurityInsightsStatsControllerGetOpenVulnerabilitiesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<SecurityInsightsStatsControllerGetOpenVulnerabilitiesOkResponse, string>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function securityInsightsStatsControllerGetOpenVulnerabilities(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/insights/security-stats/open-vulnerabilities`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Time-series severity counts from security_stats grouped by snapshot_date and source_tool
|
|
11
|
+
*/
|
|
12
|
+
export function useSecurityInsightsStatsControllerGetOpenVulnerabilitiesQuery(props, options) {
|
|
13
|
+
return useQuery(['SecurityInsightsStatsControllerGetOpenVulnerabilities', props.queryParams], ({ signal }) => securityInsightsStatsControllerGetOpenVulnerabilities(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { SecurityStatsDrilldownResponseDto } from '../schemas/SecurityStatsDrilldownResponseDto';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface SecurityInsightsStatsControllerGetSecurityStatsDrilldownQueryQueryParams {
|
|
6
|
+
account: string;
|
|
7
|
+
projectIdentifier: string;
|
|
8
|
+
orgIdentifier: string;
|
|
9
|
+
/**
|
|
10
|
+
* @format int32
|
|
11
|
+
*/
|
|
12
|
+
teamRefId: number;
|
|
13
|
+
/**
|
|
14
|
+
* @format date-time
|
|
15
|
+
*/
|
|
16
|
+
startDate: string;
|
|
17
|
+
/**
|
|
18
|
+
* @format date-time
|
|
19
|
+
*/
|
|
20
|
+
endDate: string;
|
|
21
|
+
severity?: 'ALL' | 'CRITICAL' | 'HIGH' | 'INFO' | 'LOW' | 'MEDIUM';
|
|
22
|
+
/**
|
|
23
|
+
* @format int32
|
|
24
|
+
* @default 0
|
|
25
|
+
*/
|
|
26
|
+
page?: number;
|
|
27
|
+
/**
|
|
28
|
+
* @format int32
|
|
29
|
+
* @default 20
|
|
30
|
+
*/
|
|
31
|
+
pageSize?: number;
|
|
32
|
+
sortBy?: 'AGE_IN_DAYS' | 'ASSET_TYPE' | 'CVSS_SCORE' | 'DISCOVERED_AT' | 'RESOLVED_AT' | 'SEVERITY' | 'STATUS' | 'TIME_TO_FIX_DAYS' | 'VULNERABILITY_ID';
|
|
33
|
+
sortDirection?: 'ASC' | 'DESC';
|
|
34
|
+
}
|
|
35
|
+
export type SecurityInsightsStatsControllerGetSecurityStatsDrilldownOkResponse = ResponseWithPagination<SecurityStatsDrilldownResponseDto>;
|
|
36
|
+
export type SecurityInsightsStatsControllerGetSecurityStatsDrilldownErrorResponse = string;
|
|
37
|
+
export interface SecurityInsightsStatsControllerGetSecurityStatsDrilldownProps extends Omit<FetcherOptions<SecurityInsightsStatsControllerGetSecurityStatsDrilldownQueryQueryParams, unknown>, 'url'> {
|
|
38
|
+
queryParams: SecurityInsightsStatsControllerGetSecurityStatsDrilldownQueryQueryParams;
|
|
39
|
+
}
|
|
40
|
+
export declare function securityInsightsStatsControllerGetSecurityStatsDrilldown(props: SecurityInsightsStatsControllerGetSecurityStatsDrilldownProps): Promise<SecurityInsightsStatsControllerGetSecurityStatsDrilldownOkResponse>;
|
|
41
|
+
/**
|
|
42
|
+
* Paginated individual rows from the security_stats table
|
|
43
|
+
*/
|
|
44
|
+
export declare function useSecurityInsightsStatsControllerGetSecurityStatsDrilldownQuery(props: SecurityInsightsStatsControllerGetSecurityStatsDrilldownProps, options?: Omit<UseQueryOptions<SecurityInsightsStatsControllerGetSecurityStatsDrilldownOkResponse, SecurityInsightsStatsControllerGetSecurityStatsDrilldownErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<SecurityInsightsStatsControllerGetSecurityStatsDrilldownOkResponse, string>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function securityInsightsStatsControllerGetSecurityStatsDrilldown(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/insights/security-stats/drilldown`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Paginated individual rows from the security_stats table
|
|
11
|
+
*/
|
|
12
|
+
export function useSecurityInsightsStatsControllerGetSecurityStatsDrilldownQuery(props, options) {
|
|
13
|
+
return useQuery(['SecurityInsightsStatsControllerGetSecurityStatsDrilldown', props.queryParams], ({ signal }) => securityInsightsStatsControllerGetSecurityStatsDrilldown(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -9,6 +9,12 @@ 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';
|
|
16
|
+
export type { AiEngineeringControllerGetLeaderboardsLegacyErrorResponse, AiEngineeringControllerGetLeaderboardsLegacyOkResponse, AiEngineeringControllerGetLeaderboardsLegacyProps, AiEngineeringControllerGetLeaderboardsLegacyQueryPathParams, AiEngineeringControllerGetLeaderboardsLegacyQueryQueryParams, } from './hooks/useAiEngineeringControllerGetLeaderboardsLegacyQuery';
|
|
17
|
+
export { aiEngineeringControllerGetLeaderboardsLegacy, useAiEngineeringControllerGetLeaderboardsLegacyQuery, } from './hooks/useAiEngineeringControllerGetLeaderboardsLegacyQuery';
|
|
12
18
|
export type { AiEngineeringControllerGetLeaderboardsErrorResponse, AiEngineeringControllerGetLeaderboardsOkResponse, AiEngineeringControllerGetLeaderboardsProps, AiEngineeringControllerGetLeaderboardsQueryPathParams, AiEngineeringControllerGetLeaderboardsQueryQueryParams, } from './hooks/useAiEngineeringControllerGetLeaderboardsQuery';
|
|
13
19
|
export { aiEngineeringControllerGetLeaderboards, useAiEngineeringControllerGetLeaderboardsQuery, } from './hooks/useAiEngineeringControllerGetLeaderboardsQuery';
|
|
14
20
|
export type { AiEngineeringControllerGetMetricBreakdownErrorResponse, AiEngineeringControllerGetMetricBreakdownOkResponse, AiEngineeringControllerGetMetricBreakdownProps, AiEngineeringControllerGetMetricBreakdownQueryPathParams, AiEngineeringControllerGetMetricBreakdownQueryQueryParams, } from './hooks/useAiEngineeringControllerGetMetricBreakdownQuery';
|
|
@@ -315,6 +321,10 @@ export type { ExternalDataControllerIngestDataErrorResponse, ExternalDataControl
|
|
|
315
321
|
export { externalDataControllerIngestData, useExternalDataControllerIngestDataMutation, } from './hooks/useExternalDataControllerIngestDataMutation';
|
|
316
322
|
export type { ExternalDataControllerRegisterSchemaErrorResponse, ExternalDataControllerRegisterSchemaMutationPathParams, ExternalDataControllerRegisterSchemaOkResponse, ExternalDataControllerRegisterSchemaProps, ExternalDataControllerRegisterSchemaRequestBody, } from './hooks/useExternalDataControllerRegisterSchemaMutation';
|
|
317
323
|
export { externalDataControllerRegisterSchema, useExternalDataControllerRegisterSchemaMutation, } from './hooks/useExternalDataControllerRegisterSchemaMutation';
|
|
324
|
+
export type { GitAiArtifactControllerDownloadLatestArtifactErrorResponse, GitAiArtifactControllerDownloadLatestArtifactOkResponse, GitAiArtifactControllerDownloadLatestArtifactProps, GitAiArtifactControllerDownloadLatestArtifactQueryQueryParams, } from './hooks/useGitAiArtifactControllerDownloadLatestArtifactQuery';
|
|
325
|
+
export { gitAiArtifactControllerDownloadLatestArtifact, useGitAiArtifactControllerDownloadLatestArtifactQuery, } from './hooks/useGitAiArtifactControllerDownloadLatestArtifactQuery';
|
|
326
|
+
export type { GitAiArtifactControllerGetLatestArtifactErrorResponse, GitAiArtifactControllerGetLatestArtifactOkResponse, GitAiArtifactControllerGetLatestArtifactProps, GitAiArtifactControllerGetLatestArtifactQueryQueryParams, } from './hooks/useGitAiArtifactControllerGetLatestArtifactQuery';
|
|
327
|
+
export { gitAiArtifactControllerGetLatestArtifact, useGitAiArtifactControllerGetLatestArtifactQuery, } from './hooks/useGitAiArtifactControllerGetLatestArtifactQuery';
|
|
318
328
|
export type { HealthControllerCheckDbHealthErrorResponse, HealthControllerCheckDbHealthOkResponse, HealthControllerCheckDbHealthProps, } from './hooks/useHealthControllerCheckDbHealthQuery';
|
|
319
329
|
export { healthControllerCheckDbHealth, useHealthControllerCheckDbHealthQuery, } from './hooks/useHealthControllerCheckDbHealthQuery';
|
|
320
330
|
export type { ImFieldsControllerListImFieldsErrorResponse, ImFieldsControllerListImFieldsOkResponse, ImFieldsControllerListImFieldsProps, ImFieldsControllerListImFieldsQueryQueryParams, ImFieldsControllerListImFieldsRequestBody, } from './hooks/useImFieldsControllerListImFieldsQuery';
|
|
@@ -515,6 +525,12 @@ export type { SecurityInsightsControllerGetOpenVulnerabilitiesErrorResponse, Sec
|
|
|
515
525
|
export { securityInsightsControllerGetOpenVulnerabilities, useSecurityInsightsControllerGetOpenVulnerabilitiesQuery, } from './hooks/useSecurityInsightsControllerGetOpenVulnerabilitiesQuery';
|
|
516
526
|
export type { SecurityInsightsControllerGetSecurityDrilldownErrorResponse, SecurityInsightsControllerGetSecurityDrilldownOkResponse, SecurityInsightsControllerGetSecurityDrilldownProps, SecurityInsightsControllerGetSecurityDrilldownQueryQueryParams, } from './hooks/useSecurityInsightsControllerGetSecurityDrilldownQuery';
|
|
517
527
|
export { securityInsightsControllerGetSecurityDrilldown, useSecurityInsightsControllerGetSecurityDrilldownQuery, } from './hooks/useSecurityInsightsControllerGetSecurityDrilldownQuery';
|
|
528
|
+
export type { SecurityInsightsStatsControllerGetOpenVulnerabilitiesBreakdownErrorResponse, SecurityInsightsStatsControllerGetOpenVulnerabilitiesBreakdownOkResponse, SecurityInsightsStatsControllerGetOpenVulnerabilitiesBreakdownProps, SecurityInsightsStatsControllerGetOpenVulnerabilitiesBreakdownQueryQueryParams, } from './hooks/useSecurityInsightsStatsControllerGetOpenVulnerabilitiesBreakdownQuery';
|
|
529
|
+
export { securityInsightsStatsControllerGetOpenVulnerabilitiesBreakdown, useSecurityInsightsStatsControllerGetOpenVulnerabilitiesBreakdownQuery, } from './hooks/useSecurityInsightsStatsControllerGetOpenVulnerabilitiesBreakdownQuery';
|
|
530
|
+
export type { SecurityInsightsStatsControllerGetOpenVulnerabilitiesErrorResponse, SecurityInsightsStatsControllerGetOpenVulnerabilitiesOkResponse, SecurityInsightsStatsControllerGetOpenVulnerabilitiesProps, SecurityInsightsStatsControllerGetOpenVulnerabilitiesQueryQueryParams, } from './hooks/useSecurityInsightsStatsControllerGetOpenVulnerabilitiesQuery';
|
|
531
|
+
export { securityInsightsStatsControllerGetOpenVulnerabilities, useSecurityInsightsStatsControllerGetOpenVulnerabilitiesQuery, } from './hooks/useSecurityInsightsStatsControllerGetOpenVulnerabilitiesQuery';
|
|
532
|
+
export type { SecurityInsightsStatsControllerGetSecurityStatsDrilldownErrorResponse, SecurityInsightsStatsControllerGetSecurityStatsDrilldownOkResponse, SecurityInsightsStatsControllerGetSecurityStatsDrilldownProps, SecurityInsightsStatsControllerGetSecurityStatsDrilldownQueryQueryParams, } from './hooks/useSecurityInsightsStatsControllerGetSecurityStatsDrilldownQuery';
|
|
533
|
+
export { securityInsightsStatsControllerGetSecurityStatsDrilldown, useSecurityInsightsStatsControllerGetSecurityStatsDrilldownQuery, } from './hooks/useSecurityInsightsStatsControllerGetSecurityStatsDrilldownQuery';
|
|
518
534
|
export type { SecurityProfileControllerCreateProfileErrorResponse, SecurityProfileControllerCreateProfileOkResponse, SecurityProfileControllerCreateProfileProps, SecurityProfileControllerCreateProfileRequestBody, } from './hooks/useSecurityProfileControllerCreateProfileMutation';
|
|
519
535
|
export { securityProfileControllerCreateProfile, useSecurityProfileControllerCreateProfileMutation, } from './hooks/useSecurityProfileControllerCreateProfileMutation';
|
|
520
536
|
export type { SecurityProfileControllerDeleteProfileErrorResponse, SecurityProfileControllerDeleteProfileMutationPathParams, SecurityProfileControllerDeleteProfileOkResponse, SecurityProfileControllerDeleteProfileProps, } from './hooks/useSecurityProfileControllerDeleteProfileMutation';
|
|
@@ -620,6 +636,8 @@ export { teamsControllerUpdateTeamIntegrations, useTeamsControllerUpdateTeamInte
|
|
|
620
636
|
export type { TeamsControllerUpdateTeamErrorResponse, TeamsControllerUpdateTeamMutationPathParams, TeamsControllerUpdateTeamMutationQueryParams, TeamsControllerUpdateTeamOkResponse, TeamsControllerUpdateTeamProps, TeamsControllerUpdateTeamRequestBody, } from './hooks/useTeamsControllerUpdateTeamMutation';
|
|
621
637
|
export { teamsControllerUpdateTeam, useTeamsControllerUpdateTeamMutation, } from './hooks/useTeamsControllerUpdateTeamMutation';
|
|
622
638
|
export type { AccessResponseDto } from './schemas/AccessResponseDto';
|
|
639
|
+
export type { ActiveThreshold } from './schemas/ActiveThreshold';
|
|
640
|
+
export type { ActiveUsersCount } from './schemas/ActiveUsersCount';
|
|
623
641
|
export type { ActiveWorkStatusConfig } from './schemas/ActiveWorkStatusConfig';
|
|
624
642
|
export type { ActivityDataDto } from './schemas/ActivityDataDto';
|
|
625
643
|
export type { ActivityLog } from './schemas/ActivityLog';
|
|
@@ -663,6 +681,7 @@ export type { ApiResponseCatalogTemplate } from './schemas/ApiResponseCatalogTem
|
|
|
663
681
|
export type { ApiResponseCorrelationData } from './schemas/ApiResponseCorrelationData';
|
|
664
682
|
export type { ApiResponseEntityListData } from './schemas/ApiResponseEntityListData';
|
|
665
683
|
export type { ApiResponseEntityListTemplate } from './schemas/ApiResponseEntityListTemplate';
|
|
684
|
+
export type { ApiResponseLeaderboardSegmentsSummaryData } from './schemas/ApiResponseLeaderboardSegmentsSummaryData';
|
|
666
685
|
export type { ApiResponseMetricAggregateTemplate } from './schemas/ApiResponseMetricAggregateTemplate';
|
|
667
686
|
export type { ApiResponseMetricBreakdownData } from './schemas/ApiResponseMetricBreakdownData';
|
|
668
687
|
export type { ApiResponseOptimizationItem } from './schemas/ApiResponseOptimizationItem';
|
|
@@ -831,6 +850,7 @@ export type { FeatureSizes } from './schemas/FeatureSizes';
|
|
|
831
850
|
export type { FilterByField } from './schemas/FilterByField';
|
|
832
851
|
export type { FilterExpression } from './schemas/FilterExpression';
|
|
833
852
|
export type { FilterValuesRequestDto } from './schemas/FilterValuesRequestDto';
|
|
853
|
+
export type { GitAiArtifactDownloadResponse } from './schemas/GitAiArtifactDownloadResponse';
|
|
834
854
|
export type { GroupByField } from './schemas/GroupByField';
|
|
835
855
|
export type { GroupedTeamFiltersResponseDto } from './schemas/GroupedTeamFiltersResponseDto';
|
|
836
856
|
export type { HqlFilterKeyMetadataDto } from './schemas/HqlFilterKeyMetadataDto';
|
|
@@ -880,6 +900,7 @@ export type { ItsmDrilldownSummary } from './schemas/ItsmDrilldownSummary';
|
|
|
880
900
|
export type { JobDetailDto } from './schemas/JobDetailDto';
|
|
881
901
|
export type { JsonNode } from './schemas/JsonNode';
|
|
882
902
|
export type { LanguageCount } from './schemas/LanguageCount';
|
|
903
|
+
export type { LeaderboardSegmentsSummaryData } from './schemas/LeaderboardSegmentsSummaryData';
|
|
883
904
|
export type { LicenseSearchParams } from './schemas/LicenseSearchParams';
|
|
884
905
|
export type { ListResponseDto } from './schemas/ListResponseDto';
|
|
885
906
|
export type { ListResponseDtoDeveloperIdentity } from './schemas/ListResponseDtoDeveloperIdentity';
|
|
@@ -900,6 +921,7 @@ export type { MetricAggregateTemplate } from './schemas/MetricAggregateTemplate'
|
|
|
900
921
|
export type { MetricBreakdownData } from './schemas/MetricBreakdownData';
|
|
901
922
|
export type { MetricEntry } from './schemas/MetricEntry';
|
|
902
923
|
export type { MetricValue } from './schemas/MetricValue';
|
|
924
|
+
export type { MetricValueWithUnit } from './schemas/MetricValueWithUnit';
|
|
903
925
|
export type { MetricsExport } from './schemas/MetricsExport';
|
|
904
926
|
export type { MetricsExportListResponseDto } from './schemas/MetricsExportListResponseDto';
|
|
905
927
|
export type { MetricsExportRequestDto } from './schemas/MetricsExportRequestDto';
|
|
@@ -926,6 +948,7 @@ export type { OpenVulnerabilitiesBreakdownItemDto } from './schemas/OpenVulnerab
|
|
|
926
948
|
export type { OpenVulnerabilitiesBreakdownResponseDto } from './schemas/OpenVulnerabilitiesBreakdownResponseDto';
|
|
927
949
|
export type { OpenVulnerabilitiesDataPointDto } from './schemas/OpenVulnerabilitiesDataPointDto';
|
|
928
950
|
export type { OpenVulnerabilitiesResponseDto } from './schemas/OpenVulnerabilitiesResponseDto';
|
|
951
|
+
export type { OpenVulnerabilitiesStatsBreakdownResponseDto } from './schemas/OpenVulnerabilitiesStatsBreakdownResponseDto';
|
|
929
952
|
export type { OpenVulnerabilitiesSummaryDto } from './schemas/OpenVulnerabilitiesSummaryDto';
|
|
930
953
|
export type { OptimizationItem } from './schemas/OptimizationItem';
|
|
931
954
|
export type { OptimizationListData } from './schemas/OptimizationListData';
|
|
@@ -1005,7 +1028,11 @@ export type { SecurityChangeSummary } from './schemas/SecurityChangeSummary';
|
|
|
1005
1028
|
export type { SecurityDrilldownResponseDto } from './schemas/SecurityDrilldownResponseDto';
|
|
1006
1029
|
export type { SecurityProfileCreateRequestDto } from './schemas/SecurityProfileCreateRequestDto';
|
|
1007
1030
|
export type { SecurityProfileResponseDto } from './schemas/SecurityProfileResponseDto';
|
|
1031
|
+
export type { SecurityStatsDrilldownResponseDto } from './schemas/SecurityStatsDrilldownResponseDto';
|
|
1008
1032
|
export type { SecurityStatsRequest } from './schemas/SecurityStatsRequest';
|
|
1033
|
+
export type { SecurityStatsTrendResponseDto } from './schemas/SecurityStatsTrendResponseDto';
|
|
1034
|
+
export type { SegmentSummary } from './schemas/SegmentSummary';
|
|
1035
|
+
export type { SeverityCounts } from './schemas/SeverityCounts';
|
|
1009
1036
|
export type { SeverityData } from './schemas/SeverityData';
|
|
1010
1037
|
export type { SeveritySummaryData } from './schemas/SeveritySummaryData';
|
|
1011
1038
|
export type { SimpleFilter } from './schemas/SimpleFilter';
|
|
@@ -1044,6 +1071,7 @@ export type { SprintTicketsRequestDto } from './schemas/SprintTicketsRequestDto'
|
|
|
1044
1071
|
export type { SprintTicketsResponseDto } from './schemas/SprintTicketsResponseDto';
|
|
1045
1072
|
export type { SprintWorkBreakdownDto } from './schemas/SprintWorkBreakdownDto';
|
|
1046
1073
|
export type { Stage } from './schemas/Stage';
|
|
1074
|
+
export type { StatsRecord } from './schemas/StatsRecord';
|
|
1047
1075
|
export type { SummaryCard } from './schemas/SummaryCard';
|
|
1048
1076
|
export type { SummaryHighlight } from './schemas/SummaryHighlight';
|
|
1049
1077
|
export type { SummaryMetadata } from './schemas/SummaryMetadata';
|
|
@@ -3,6 +3,9 @@ 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';
|
|
8
|
+
export { aiEngineeringControllerGetLeaderboardsLegacy, useAiEngineeringControllerGetLeaderboardsLegacyQuery, } from './hooks/useAiEngineeringControllerGetLeaderboardsLegacyQuery';
|
|
6
9
|
export { aiEngineeringControllerGetLeaderboards, useAiEngineeringControllerGetLeaderboardsQuery, } from './hooks/useAiEngineeringControllerGetLeaderboardsQuery';
|
|
7
10
|
export { aiEngineeringControllerGetMetricBreakdown, useAiEngineeringControllerGetMetricBreakdownQuery, } from './hooks/useAiEngineeringControllerGetMetricBreakdownQuery';
|
|
8
11
|
export { aiEngineeringControllerGetMetricSeries, useAiEngineeringControllerGetMetricSeriesQuery, } from './hooks/useAiEngineeringControllerGetMetricSeriesQuery';
|
|
@@ -156,6 +159,8 @@ export { externalDataControllerGetIngestionStatus, useExternalDataControllerGetI
|
|
|
156
159
|
export { externalDataControllerGetSchemaHistory, useExternalDataControllerGetSchemaHistoryQuery, } from './hooks/useExternalDataControllerGetSchemaHistoryQuery';
|
|
157
160
|
export { externalDataControllerIngestData, useExternalDataControllerIngestDataMutation, } from './hooks/useExternalDataControllerIngestDataMutation';
|
|
158
161
|
export { externalDataControllerRegisterSchema, useExternalDataControllerRegisterSchemaMutation, } from './hooks/useExternalDataControllerRegisterSchemaMutation';
|
|
162
|
+
export { gitAiArtifactControllerDownloadLatestArtifact, useGitAiArtifactControllerDownloadLatestArtifactQuery, } from './hooks/useGitAiArtifactControllerDownloadLatestArtifactQuery';
|
|
163
|
+
export { gitAiArtifactControllerGetLatestArtifact, useGitAiArtifactControllerGetLatestArtifactQuery, } from './hooks/useGitAiArtifactControllerGetLatestArtifactQuery';
|
|
159
164
|
export { healthControllerCheckDbHealth, useHealthControllerCheckDbHealthQuery, } from './hooks/useHealthControllerCheckDbHealthQuery';
|
|
160
165
|
export { imFieldsControllerListImFields, useImFieldsControllerListImFieldsQuery, } from './hooks/useImFieldsControllerListImFieldsQuery';
|
|
161
166
|
export { integrationControllerGetFilterValues, useIntegrationControllerGetFilterValuesQuery, } from './hooks/useIntegrationControllerGetFilterValuesQuery';
|
|
@@ -256,6 +261,9 @@ export { scmGaControllerGetDeployInfoFromPr, useScmGaControllerGetDeployInfoFrom
|
|
|
256
261
|
export { securityInsightsControllerGetOpenVulnerabilitiesBreakdown, useSecurityInsightsControllerGetOpenVulnerabilitiesBreakdownQuery, } from './hooks/useSecurityInsightsControllerGetOpenVulnerabilitiesBreakdownQuery';
|
|
257
262
|
export { securityInsightsControllerGetOpenVulnerabilities, useSecurityInsightsControllerGetOpenVulnerabilitiesQuery, } from './hooks/useSecurityInsightsControllerGetOpenVulnerabilitiesQuery';
|
|
258
263
|
export { securityInsightsControllerGetSecurityDrilldown, useSecurityInsightsControllerGetSecurityDrilldownQuery, } from './hooks/useSecurityInsightsControllerGetSecurityDrilldownQuery';
|
|
264
|
+
export { securityInsightsStatsControllerGetOpenVulnerabilitiesBreakdown, useSecurityInsightsStatsControllerGetOpenVulnerabilitiesBreakdownQuery, } from './hooks/useSecurityInsightsStatsControllerGetOpenVulnerabilitiesBreakdownQuery';
|
|
265
|
+
export { securityInsightsStatsControllerGetOpenVulnerabilities, useSecurityInsightsStatsControllerGetOpenVulnerabilitiesQuery, } from './hooks/useSecurityInsightsStatsControllerGetOpenVulnerabilitiesQuery';
|
|
266
|
+
export { securityInsightsStatsControllerGetSecurityStatsDrilldown, useSecurityInsightsStatsControllerGetSecurityStatsDrilldownQuery, } from './hooks/useSecurityInsightsStatsControllerGetSecurityStatsDrilldownQuery';
|
|
259
267
|
export { securityProfileControllerCreateProfile, useSecurityProfileControllerCreateProfileMutation, } from './hooks/useSecurityProfileControllerCreateProfileMutation';
|
|
260
268
|
export { securityProfileControllerDeleteProfile, useSecurityProfileControllerDeleteProfileMutation, } from './hooks/useSecurityProfileControllerDeleteProfileMutation';
|
|
261
269
|
export { securityProfileControllerGetProfile, useSecurityProfileControllerGetProfileQuery, } from './hooks/useSecurityProfileControllerGetProfileQuery';
|
|
@@ -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 {};
|
|
@@ -1,33 +1,27 @@
|
|
|
1
|
+
import type { SeverityCounts } from '../schemas/SeverityCounts';
|
|
1
2
|
/**
|
|
2
|
-
*
|
|
3
|
+
* Team breakdown item for open vulnerabilities with severity counts
|
|
3
4
|
*/
|
|
4
5
|
export interface BreakdownItem {
|
|
5
6
|
/**
|
|
6
|
-
*
|
|
7
|
-
* @format double
|
|
8
|
-
* @example 48
|
|
7
|
+
* Severity counts including critical, high, medium, low, info, total
|
|
9
8
|
*/
|
|
10
|
-
|
|
9
|
+
severityCounts?: SeverityCounts;
|
|
11
10
|
/**
|
|
12
|
-
*
|
|
13
|
-
* @example "
|
|
11
|
+
* Team name
|
|
12
|
+
* @example "Platform Team"
|
|
14
13
|
*/
|
|
15
|
-
|
|
14
|
+
teamName?: string;
|
|
16
15
|
/**
|
|
17
|
-
*
|
|
18
|
-
* @format
|
|
19
|
-
* @example
|
|
16
|
+
* Team reference ID
|
|
17
|
+
* @format int32
|
|
18
|
+
* @example 123
|
|
20
19
|
*/
|
|
21
|
-
|
|
20
|
+
teamRefId?: number;
|
|
22
21
|
/**
|
|
23
|
-
*
|
|
24
|
-
* @
|
|
22
|
+
* Total open vulnerabilities (same as value)
|
|
23
|
+
* @format int64
|
|
24
|
+
* @example 380
|
|
25
25
|
*/
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Metric value for this item
|
|
29
|
-
* @format double
|
|
30
|
-
* @example 3808
|
|
31
|
-
*/
|
|
32
|
-
value?: number;
|
|
26
|
+
total?: number;
|
|
33
27
|
}
|
|
@@ -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 {};
|
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
* Represents a metric value with optional trend and change information
|
|
3
3
|
*/
|
|
4
4
|
export interface MetricValue {
|
|
5
|
+
/**
|
|
6
|
+
* Optional phase breakdown (e.g., coding/review/merge for pr-cycle-time)
|
|
7
|
+
*/
|
|
8
|
+
breakdown?: {
|
|
9
|
+
[key: string]: number;
|
|
10
|
+
};
|
|
5
11
|
/**
|
|
6
12
|
* Absolute change vs prior period
|
|
7
13
|
* @format double
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { BreakdownItem } from '../schemas/BreakdownItem';
|
|
2
|
+
/**
|
|
3
|
+
* Breakdown response for open vulnerabilities from security_stats, grouped by team
|
|
4
|
+
*/
|
|
5
|
+
export interface OpenVulnerabilitiesStatsBreakdownResponseDto {
|
|
6
|
+
/**
|
|
7
|
+
* @format date-time
|
|
8
|
+
*/
|
|
9
|
+
endDate?: string;
|
|
10
|
+
openVulnerabilitiesBreakdownItems?: BreakdownItem[];
|
|
11
|
+
/**
|
|
12
|
+
* @format date-time
|
|
13
|
+
*/
|
|
14
|
+
startDate?: string;
|
|
15
|
+
}
|
|
@@ -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 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { DataPoint } from '../schemas/DataPoint';
|
|
2
|
+
import type { SeveritySummaryData } from '../schemas/SeveritySummaryData';
|
|
3
|
+
export interface SecurityStatsTrendResponseDto {
|
|
4
|
+
dataPoints?: DataPoint[];
|
|
5
|
+
/**
|
|
6
|
+
* @format date-time
|
|
7
|
+
*/
|
|
8
|
+
endDate?: string;
|
|
9
|
+
severitySummary?: SeveritySummaryData;
|
|
10
|
+
/**
|
|
11
|
+
* @format date-time
|
|
12
|
+
*/
|
|
13
|
+
startDate?: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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 {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export interface SeverityCounts {
|
|
2
|
+
/**
|
|
3
|
+
* @format int64
|
|
4
|
+
*/
|
|
5
|
+
critical?: number;
|
|
6
|
+
/**
|
|
7
|
+
* @format int64
|
|
8
|
+
*/
|
|
9
|
+
high?: number;
|
|
10
|
+
/**
|
|
11
|
+
* @format int64
|
|
12
|
+
*/
|
|
13
|
+
info?: number;
|
|
14
|
+
/**
|
|
15
|
+
* @format int64
|
|
16
|
+
*/
|
|
17
|
+
low?: number;
|
|
18
|
+
/**
|
|
19
|
+
* @format int64
|
|
20
|
+
*/
|
|
21
|
+
medium?: number;
|
|
22
|
+
/**
|
|
23
|
+
* @format int64
|
|
24
|
+
*/
|
|
25
|
+
total?: number;
|
|
26
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { SeverityCounts } from '../schemas/SeverityCounts';
|
|
2
|
+
export interface StatsRecord {
|
|
3
|
+
aggDimension?: string;
|
|
4
|
+
aggValue?: string;
|
|
5
|
+
id?: string;
|
|
6
|
+
severityCounts?: SeverityCounts;
|
|
7
|
+
/**
|
|
8
|
+
* @format date-time
|
|
9
|
+
*/
|
|
10
|
+
snapshotDate?: string;
|
|
11
|
+
snapshotId?: string;
|
|
12
|
+
sourceTool?: string;
|
|
13
|
+
tagKey?: string;
|
|
14
|
+
tagValue?: string;
|
|
15
|
+
/**
|
|
16
|
+
* @format date-time
|
|
17
|
+
*/
|
|
18
|
+
updatedAt?: string;
|
|
19
|
+
}
|
|
@@ -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.0",
|
|
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",
|