@harnessio/react-sei-panorama-service-client 0.29.0 → 0.30.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetLeaderboardsQuery.d.ts +4 -0
- package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetProductivityBreakdownQuery.d.ts +36 -0
- package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetProductivityBreakdownQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetProductivitySummaryQuery.d.ts +36 -0
- package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetProductivitySummaryQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerUpsertDeveloperIdentitiesMutation.d.ts +1 -1
- 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 +25 -0
- package/dist/sei-panorama-service/src/services/index.js +7 -0
- package/dist/sei-panorama-service/src/services/schemas/AiEngineeringImpactBreakdownData.d.ts +30 -0
- package/dist/sei-panorama-service/src/services/schemas/AiEngineeringImpactBreakdownData.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/AiEngineeringImpactBreakdownItem.d.ts +25 -0
- package/dist/sei-panorama-service/src/services/schemas/AiEngineeringImpactBreakdownItem.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/AiEngineeringImpactSummaryData.d.ts +35 -0
- package/dist/sei-panorama-service/src/services/schemas/AiEngineeringImpactSummaryData.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/ApiResponseAiEngineeringImpactBreakdownData.d.ts +23 -0
- package/dist/sei-panorama-service/src/services/schemas/ApiResponseAiEngineeringImpactBreakdownData.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/ApiResponseAiEngineeringImpactSummaryData.d.ts +23 -0
- package/dist/sei-panorama-service/src/services/schemas/ApiResponseAiEngineeringImpactSummaryData.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/BreakdownItem.d.ts +15 -15
- package/dist/sei-panorama-service/src/services/schemas/BreakdownItem.js +0 -3
- package/dist/sei-panorama-service/src/services/schemas/FilterExpression.d.ts +1 -0
- 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/MetricValue.d.ts +6 -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/PrSize.d.ts +1 -1
- 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/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
|
@@ -29,6 +29,10 @@ export interface AiEngineeringControllerGetLeaderboardsQueryQueryParams {
|
|
|
29
29
|
* @format int32
|
|
30
30
|
*/
|
|
31
31
|
limit?: number;
|
|
32
|
+
/**
|
|
33
|
+
* @format int32
|
|
34
|
+
*/
|
|
35
|
+
offset?: number;
|
|
32
36
|
}
|
|
33
37
|
export type AiEngineeringControllerGetLeaderboardsOkResponse = ResponseWithPagination<ApiResponseEntityListTemplate>;
|
|
34
38
|
export type AiEngineeringControllerGetLeaderboardsErrorResponse = unknown;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ApiResponseAiEngineeringImpactBreakdownData } from '../schemas/ApiResponseAiEngineeringImpactBreakdownData';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface AiEngineeringControllerGetProductivityBreakdownQueryPathParams {
|
|
6
|
+
metric: string;
|
|
7
|
+
}
|
|
8
|
+
export interface AiEngineeringControllerGetProductivityBreakdownQueryQueryParams {
|
|
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
|
+
work_type?: string;
|
|
26
|
+
}
|
|
27
|
+
export type AiEngineeringControllerGetProductivityBreakdownOkResponse = ResponseWithPagination<ApiResponseAiEngineeringImpactBreakdownData>;
|
|
28
|
+
export type AiEngineeringControllerGetProductivityBreakdownErrorResponse = unknown;
|
|
29
|
+
export interface AiEngineeringControllerGetProductivityBreakdownProps extends AiEngineeringControllerGetProductivityBreakdownQueryPathParams, Omit<FetcherOptions<AiEngineeringControllerGetProductivityBreakdownQueryQueryParams, unknown>, 'url'> {
|
|
30
|
+
queryParams: AiEngineeringControllerGetProductivityBreakdownQueryQueryParams;
|
|
31
|
+
}
|
|
32
|
+
export declare function aiEngineeringControllerGetProductivityBreakdown(props: AiEngineeringControllerGetProductivityBreakdownProps): Promise<AiEngineeringControllerGetProductivityBreakdownOkResponse>;
|
|
33
|
+
/**
|
|
34
|
+
* Get productivity metric breakdown by AI tool attribution
|
|
35
|
+
*/
|
|
36
|
+
export declare function useAiEngineeringControllerGetProductivityBreakdownQuery(props: AiEngineeringControllerGetProductivityBreakdownProps, options?: Omit<UseQueryOptions<AiEngineeringControllerGetProductivityBreakdownOkResponse, AiEngineeringControllerGetProductivityBreakdownErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<AiEngineeringControllerGetProductivityBreakdownOkResponse, 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 aiEngineeringControllerGetProductivityBreakdown(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/ai-engineering/insights/impact/productivity/${props.metric}/breakdown`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get productivity metric breakdown by AI tool attribution
|
|
11
|
+
*/
|
|
12
|
+
export function useAiEngineeringControllerGetProductivityBreakdownQuery(props, options) {
|
|
13
|
+
return useQuery(['AiEngineeringControllerGetProductivityBreakdown', props.metric, props.queryParams], ({ signal }) => aiEngineeringControllerGetProductivityBreakdown(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ApiResponseAiEngineeringImpactSummaryData } from '../schemas/ApiResponseAiEngineeringImpactSummaryData';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface AiEngineeringControllerGetProductivitySummaryQueryPathParams {
|
|
6
|
+
metric: string;
|
|
7
|
+
}
|
|
8
|
+
export interface AiEngineeringControllerGetProductivitySummaryQueryQueryParams {
|
|
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
|
+
work_type?: string;
|
|
26
|
+
}
|
|
27
|
+
export type AiEngineeringControllerGetProductivitySummaryOkResponse = ResponseWithPagination<ApiResponseAiEngineeringImpactSummaryData>;
|
|
28
|
+
export type AiEngineeringControllerGetProductivitySummaryErrorResponse = unknown;
|
|
29
|
+
export interface AiEngineeringControllerGetProductivitySummaryProps extends AiEngineeringControllerGetProductivitySummaryQueryPathParams, Omit<FetcherOptions<AiEngineeringControllerGetProductivitySummaryQueryQueryParams, unknown>, 'url'> {
|
|
30
|
+
queryParams: AiEngineeringControllerGetProductivitySummaryQueryQueryParams;
|
|
31
|
+
}
|
|
32
|
+
export declare function aiEngineeringControllerGetProductivitySummary(props: AiEngineeringControllerGetProductivitySummaryProps): Promise<AiEngineeringControllerGetProductivitySummaryOkResponse>;
|
|
33
|
+
/**
|
|
34
|
+
* Get overall productivity metric summary (no AI tool breakdown)
|
|
35
|
+
*/
|
|
36
|
+
export declare function useAiEngineeringControllerGetProductivitySummaryQuery(props: AiEngineeringControllerGetProductivitySummaryProps, options?: Omit<UseQueryOptions<AiEngineeringControllerGetProductivitySummaryOkResponse, AiEngineeringControllerGetProductivitySummaryErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<AiEngineeringControllerGetProductivitySummaryOkResponse, 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 aiEngineeringControllerGetProductivitySummary(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/ai-engineering/insights/impact/productivity/${props.metric}/summary`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get overall productivity metric summary (no AI tool breakdown)
|
|
11
|
+
*/
|
|
12
|
+
export function useAiEngineeringControllerGetProductivitySummaryQuery(props, options) {
|
|
13
|
+
return useQuery(['AiEngineeringControllerGetProductivitySummary', props.metric, props.queryParams], ({ signal }) => aiEngineeringControllerGetProductivitySummary(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -7,7 +7,7 @@ import type { ResponseWithPagination } from '../helpers';
|
|
|
7
7
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
8
|
export type DeveloperControllerUpsertDeveloperIdentitiesRequestBody = DeveloperIdentity[];
|
|
9
9
|
export type DeveloperControllerUpsertDeveloperIdentitiesOkResponse = ResponseWithPagination<DeveloperIdentityUpsertResponse>;
|
|
10
|
-
export type DeveloperControllerUpsertDeveloperIdentitiesErrorResponse = 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,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
|
+
}
|
|
@@ -27,6 +27,10 @@ export type { AiEngineeringControllerGetModelsCatalogErrorResponse, AiEngineerin
|
|
|
27
27
|
export { aiEngineeringControllerGetModelsCatalog, useAiEngineeringControllerGetModelsCatalogQuery, } from './hooks/useAiEngineeringControllerGetModelsCatalogQuery';
|
|
28
28
|
export type { AiEngineeringControllerGetOptimizationByIdErrorResponse, AiEngineeringControllerGetOptimizationByIdOkResponse, AiEngineeringControllerGetOptimizationByIdProps, AiEngineeringControllerGetOptimizationByIdQueryPathParams, AiEngineeringControllerGetOptimizationByIdQueryQueryParams, } from './hooks/useAiEngineeringControllerGetOptimizationByIdQuery';
|
|
29
29
|
export { aiEngineeringControllerGetOptimizationById, useAiEngineeringControllerGetOptimizationByIdQuery, } from './hooks/useAiEngineeringControllerGetOptimizationByIdQuery';
|
|
30
|
+
export type { AiEngineeringControllerGetProductivityBreakdownErrorResponse, AiEngineeringControllerGetProductivityBreakdownOkResponse, AiEngineeringControllerGetProductivityBreakdownProps, AiEngineeringControllerGetProductivityBreakdownQueryPathParams, AiEngineeringControllerGetProductivityBreakdownQueryQueryParams, } from './hooks/useAiEngineeringControllerGetProductivityBreakdownQuery';
|
|
31
|
+
export { aiEngineeringControllerGetProductivityBreakdown, useAiEngineeringControllerGetProductivityBreakdownQuery, } from './hooks/useAiEngineeringControllerGetProductivityBreakdownQuery';
|
|
32
|
+
export type { AiEngineeringControllerGetProductivitySummaryErrorResponse, AiEngineeringControllerGetProductivitySummaryOkResponse, AiEngineeringControllerGetProductivitySummaryProps, AiEngineeringControllerGetProductivitySummaryQueryPathParams, AiEngineeringControllerGetProductivitySummaryQueryQueryParams, } from './hooks/useAiEngineeringControllerGetProductivitySummaryQuery';
|
|
33
|
+
export { aiEngineeringControllerGetProductivitySummary, useAiEngineeringControllerGetProductivitySummaryQuery, } from './hooks/useAiEngineeringControllerGetProductivitySummaryQuery';
|
|
30
34
|
export type { AiEngineeringControllerGetRolesCatalogErrorResponse, AiEngineeringControllerGetRolesCatalogOkResponse, AiEngineeringControllerGetRolesCatalogProps, AiEngineeringControllerGetRolesCatalogQueryQueryParams, } from './hooks/useAiEngineeringControllerGetRolesCatalogQuery';
|
|
31
35
|
export { aiEngineeringControllerGetRolesCatalog, useAiEngineeringControllerGetRolesCatalogQuery, } from './hooks/useAiEngineeringControllerGetRolesCatalogQuery';
|
|
32
36
|
export type { AiEngineeringControllerGetScorecardsErrorResponse, AiEngineeringControllerGetScorecardsOkResponse, AiEngineeringControllerGetScorecardsProps, AiEngineeringControllerGetScorecardsQueryPathParams, AiEngineeringControllerGetScorecardsQueryQueryParams, } from './hooks/useAiEngineeringControllerGetScorecardsQuery';
|
|
@@ -311,6 +315,10 @@ export type { ExternalDataControllerIngestDataErrorResponse, ExternalDataControl
|
|
|
311
315
|
export { externalDataControllerIngestData, useExternalDataControllerIngestDataMutation, } from './hooks/useExternalDataControllerIngestDataMutation';
|
|
312
316
|
export type { ExternalDataControllerRegisterSchemaErrorResponse, ExternalDataControllerRegisterSchemaMutationPathParams, ExternalDataControllerRegisterSchemaOkResponse, ExternalDataControllerRegisterSchemaProps, ExternalDataControllerRegisterSchemaRequestBody, } from './hooks/useExternalDataControllerRegisterSchemaMutation';
|
|
313
317
|
export { externalDataControllerRegisterSchema, useExternalDataControllerRegisterSchemaMutation, } from './hooks/useExternalDataControllerRegisterSchemaMutation';
|
|
318
|
+
export type { GitAiArtifactControllerDownloadLatestArtifactErrorResponse, GitAiArtifactControllerDownloadLatestArtifactOkResponse, GitAiArtifactControllerDownloadLatestArtifactProps, GitAiArtifactControllerDownloadLatestArtifactQueryQueryParams, } from './hooks/useGitAiArtifactControllerDownloadLatestArtifactQuery';
|
|
319
|
+
export { gitAiArtifactControllerDownloadLatestArtifact, useGitAiArtifactControllerDownloadLatestArtifactQuery, } from './hooks/useGitAiArtifactControllerDownloadLatestArtifactQuery';
|
|
320
|
+
export type { GitAiArtifactControllerGetLatestArtifactErrorResponse, GitAiArtifactControllerGetLatestArtifactOkResponse, GitAiArtifactControllerGetLatestArtifactProps, GitAiArtifactControllerGetLatestArtifactQueryQueryParams, } from './hooks/useGitAiArtifactControllerGetLatestArtifactQuery';
|
|
321
|
+
export { gitAiArtifactControllerGetLatestArtifact, useGitAiArtifactControllerGetLatestArtifactQuery, } from './hooks/useGitAiArtifactControllerGetLatestArtifactQuery';
|
|
314
322
|
export type { HealthControllerCheckDbHealthErrorResponse, HealthControllerCheckDbHealthOkResponse, HealthControllerCheckDbHealthProps, } from './hooks/useHealthControllerCheckDbHealthQuery';
|
|
315
323
|
export { healthControllerCheckDbHealth, useHealthControllerCheckDbHealthQuery, } from './hooks/useHealthControllerCheckDbHealthQuery';
|
|
316
324
|
export type { ImFieldsControllerListImFieldsErrorResponse, ImFieldsControllerListImFieldsOkResponse, ImFieldsControllerListImFieldsProps, ImFieldsControllerListImFieldsQueryQueryParams, ImFieldsControllerListImFieldsRequestBody, } from './hooks/useImFieldsControllerListImFieldsQuery';
|
|
@@ -511,6 +519,12 @@ export type { SecurityInsightsControllerGetOpenVulnerabilitiesErrorResponse, Sec
|
|
|
511
519
|
export { securityInsightsControllerGetOpenVulnerabilities, useSecurityInsightsControllerGetOpenVulnerabilitiesQuery, } from './hooks/useSecurityInsightsControllerGetOpenVulnerabilitiesQuery';
|
|
512
520
|
export type { SecurityInsightsControllerGetSecurityDrilldownErrorResponse, SecurityInsightsControllerGetSecurityDrilldownOkResponse, SecurityInsightsControllerGetSecurityDrilldownProps, SecurityInsightsControllerGetSecurityDrilldownQueryQueryParams, } from './hooks/useSecurityInsightsControllerGetSecurityDrilldownQuery';
|
|
513
521
|
export { securityInsightsControllerGetSecurityDrilldown, useSecurityInsightsControllerGetSecurityDrilldownQuery, } from './hooks/useSecurityInsightsControllerGetSecurityDrilldownQuery';
|
|
522
|
+
export type { SecurityInsightsStatsControllerGetOpenVulnerabilitiesBreakdownErrorResponse, SecurityInsightsStatsControllerGetOpenVulnerabilitiesBreakdownOkResponse, SecurityInsightsStatsControllerGetOpenVulnerabilitiesBreakdownProps, SecurityInsightsStatsControllerGetOpenVulnerabilitiesBreakdownQueryQueryParams, } from './hooks/useSecurityInsightsStatsControllerGetOpenVulnerabilitiesBreakdownQuery';
|
|
523
|
+
export { securityInsightsStatsControllerGetOpenVulnerabilitiesBreakdown, useSecurityInsightsStatsControllerGetOpenVulnerabilitiesBreakdownQuery, } from './hooks/useSecurityInsightsStatsControllerGetOpenVulnerabilitiesBreakdownQuery';
|
|
524
|
+
export type { SecurityInsightsStatsControllerGetOpenVulnerabilitiesErrorResponse, SecurityInsightsStatsControllerGetOpenVulnerabilitiesOkResponse, SecurityInsightsStatsControllerGetOpenVulnerabilitiesProps, SecurityInsightsStatsControllerGetOpenVulnerabilitiesQueryQueryParams, } from './hooks/useSecurityInsightsStatsControllerGetOpenVulnerabilitiesQuery';
|
|
525
|
+
export { securityInsightsStatsControllerGetOpenVulnerabilities, useSecurityInsightsStatsControllerGetOpenVulnerabilitiesQuery, } from './hooks/useSecurityInsightsStatsControllerGetOpenVulnerabilitiesQuery';
|
|
526
|
+
export type { SecurityInsightsStatsControllerGetSecurityStatsDrilldownErrorResponse, SecurityInsightsStatsControllerGetSecurityStatsDrilldownOkResponse, SecurityInsightsStatsControllerGetSecurityStatsDrilldownProps, SecurityInsightsStatsControllerGetSecurityStatsDrilldownQueryQueryParams, } from './hooks/useSecurityInsightsStatsControllerGetSecurityStatsDrilldownQuery';
|
|
527
|
+
export { securityInsightsStatsControllerGetSecurityStatsDrilldown, useSecurityInsightsStatsControllerGetSecurityStatsDrilldownQuery, } from './hooks/useSecurityInsightsStatsControllerGetSecurityStatsDrilldownQuery';
|
|
514
528
|
export type { SecurityProfileControllerCreateProfileErrorResponse, SecurityProfileControllerCreateProfileOkResponse, SecurityProfileControllerCreateProfileProps, SecurityProfileControllerCreateProfileRequestBody, } from './hooks/useSecurityProfileControllerCreateProfileMutation';
|
|
515
529
|
export { securityProfileControllerCreateProfile, useSecurityProfileControllerCreateProfileMutation, } from './hooks/useSecurityProfileControllerCreateProfileMutation';
|
|
516
530
|
export type { SecurityProfileControllerDeleteProfileErrorResponse, SecurityProfileControllerDeleteProfileMutationPathParams, SecurityProfileControllerDeleteProfileOkResponse, SecurityProfileControllerDeleteProfileProps, } from './hooks/useSecurityProfileControllerDeleteProfileMutation';
|
|
@@ -630,6 +644,9 @@ export type { AiAdoptionMetricsResponseDto } from './schemas/AiAdoptionMetricsRe
|
|
|
630
644
|
export type { AiAdoptionSummaryRequestDto } from './schemas/AiAdoptionSummaryRequestDto';
|
|
631
645
|
export type { AiAdoptionSummaryResponseDto } from './schemas/AiAdoptionSummaryResponseDto';
|
|
632
646
|
export type { AiCombinedInsightsRequestDto } from './schemas/AiCombinedInsightsRequestDto';
|
|
647
|
+
export type { AiEngineeringImpactBreakdownData } from './schemas/AiEngineeringImpactBreakdownData';
|
|
648
|
+
export type { AiEngineeringImpactBreakdownItem } from './schemas/AiEngineeringImpactBreakdownItem';
|
|
649
|
+
export type { AiEngineeringImpactSummaryData } from './schemas/AiEngineeringImpactSummaryData';
|
|
633
650
|
export type { AiMetrics } from './schemas/AiMetrics';
|
|
634
651
|
export type { AiRawMetricsRequestDto } from './schemas/AiRawMetricsRequestDto';
|
|
635
652
|
export type { AiRawMetricsResponseDto } from './schemas/AiRawMetricsResponseDto';
|
|
@@ -649,6 +666,8 @@ export type { AiprVelocitySummaryRequestDto } from './schemas/AiprVelocitySummar
|
|
|
649
666
|
export type { AiprVelocitySummaryResponseDto } from './schemas/AiprVelocitySummaryResponseDto';
|
|
650
667
|
export type { ApiError } from './schemas/ApiError';
|
|
651
668
|
export type { ApiErrorResponse } from './schemas/ApiErrorResponse';
|
|
669
|
+
export type { ApiResponseAiEngineeringImpactBreakdownData } from './schemas/ApiResponseAiEngineeringImpactBreakdownData';
|
|
670
|
+
export type { ApiResponseAiEngineeringImpactSummaryData } from './schemas/ApiResponseAiEngineeringImpactSummaryData';
|
|
652
671
|
export type { ApiResponseAiSummaryData } from './schemas/ApiResponseAiSummaryData';
|
|
653
672
|
export type { ApiResponseCatalogTemplate } from './schemas/ApiResponseCatalogTemplate';
|
|
654
673
|
export type { ApiResponseCorrelationData } from './schemas/ApiResponseCorrelationData';
|
|
@@ -822,6 +841,7 @@ export type { FeatureSizes } from './schemas/FeatureSizes';
|
|
|
822
841
|
export type { FilterByField } from './schemas/FilterByField';
|
|
823
842
|
export type { FilterExpression } from './schemas/FilterExpression';
|
|
824
843
|
export type { FilterValuesRequestDto } from './schemas/FilterValuesRequestDto';
|
|
844
|
+
export type { GitAiArtifactDownloadResponse } from './schemas/GitAiArtifactDownloadResponse';
|
|
825
845
|
export type { GroupByField } from './schemas/GroupByField';
|
|
826
846
|
export type { GroupedTeamFiltersResponseDto } from './schemas/GroupedTeamFiltersResponseDto';
|
|
827
847
|
export type { HqlFilterKeyMetadataDto } from './schemas/HqlFilterKeyMetadataDto';
|
|
@@ -917,6 +937,7 @@ export type { OpenVulnerabilitiesBreakdownItemDto } from './schemas/OpenVulnerab
|
|
|
917
937
|
export type { OpenVulnerabilitiesBreakdownResponseDto } from './schemas/OpenVulnerabilitiesBreakdownResponseDto';
|
|
918
938
|
export type { OpenVulnerabilitiesDataPointDto } from './schemas/OpenVulnerabilitiesDataPointDto';
|
|
919
939
|
export type { OpenVulnerabilitiesResponseDto } from './schemas/OpenVulnerabilitiesResponseDto';
|
|
940
|
+
export type { OpenVulnerabilitiesStatsBreakdownResponseDto } from './schemas/OpenVulnerabilitiesStatsBreakdownResponseDto';
|
|
920
941
|
export type { OpenVulnerabilitiesSummaryDto } from './schemas/OpenVulnerabilitiesSummaryDto';
|
|
921
942
|
export type { OptimizationItem } from './schemas/OptimizationItem';
|
|
922
943
|
export type { OptimizationListData } from './schemas/OptimizationListData';
|
|
@@ -996,7 +1017,10 @@ export type { SecurityChangeSummary } from './schemas/SecurityChangeSummary';
|
|
|
996
1017
|
export type { SecurityDrilldownResponseDto } from './schemas/SecurityDrilldownResponseDto';
|
|
997
1018
|
export type { SecurityProfileCreateRequestDto } from './schemas/SecurityProfileCreateRequestDto';
|
|
998
1019
|
export type { SecurityProfileResponseDto } from './schemas/SecurityProfileResponseDto';
|
|
1020
|
+
export type { SecurityStatsDrilldownResponseDto } from './schemas/SecurityStatsDrilldownResponseDto';
|
|
999
1021
|
export type { SecurityStatsRequest } from './schemas/SecurityStatsRequest';
|
|
1022
|
+
export type { SecurityStatsTrendResponseDto } from './schemas/SecurityStatsTrendResponseDto';
|
|
1023
|
+
export type { SeverityCounts } from './schemas/SeverityCounts';
|
|
1000
1024
|
export type { SeverityData } from './schemas/SeverityData';
|
|
1001
1025
|
export type { SeveritySummaryData } from './schemas/SeveritySummaryData';
|
|
1002
1026
|
export type { SimpleFilter } from './schemas/SimpleFilter';
|
|
@@ -1035,6 +1059,7 @@ export type { SprintTicketsRequestDto } from './schemas/SprintTicketsRequestDto'
|
|
|
1035
1059
|
export type { SprintTicketsResponseDto } from './schemas/SprintTicketsResponseDto';
|
|
1036
1060
|
export type { SprintWorkBreakdownDto } from './schemas/SprintWorkBreakdownDto';
|
|
1037
1061
|
export type { Stage } from './schemas/Stage';
|
|
1062
|
+
export type { StatsRecord } from './schemas/StatsRecord';
|
|
1038
1063
|
export type { SummaryCard } from './schemas/SummaryCard';
|
|
1039
1064
|
export type { SummaryHighlight } from './schemas/SummaryHighlight';
|
|
1040
1065
|
export type { SummaryMetadata } from './schemas/SummaryMetadata';
|
|
@@ -12,6 +12,8 @@ export { aiEngineeringControllerGetMetrics, useAiEngineeringControllerGetMetrics
|
|
|
12
12
|
export { aiEngineeringControllerGetMetricsSummary, useAiEngineeringControllerGetMetricsSummaryQuery, } from './hooks/useAiEngineeringControllerGetMetricsSummaryQuery';
|
|
13
13
|
export { aiEngineeringControllerGetModelsCatalog, useAiEngineeringControllerGetModelsCatalogQuery, } from './hooks/useAiEngineeringControllerGetModelsCatalogQuery';
|
|
14
14
|
export { aiEngineeringControllerGetOptimizationById, useAiEngineeringControllerGetOptimizationByIdQuery, } from './hooks/useAiEngineeringControllerGetOptimizationByIdQuery';
|
|
15
|
+
export { aiEngineeringControllerGetProductivityBreakdown, useAiEngineeringControllerGetProductivityBreakdownQuery, } from './hooks/useAiEngineeringControllerGetProductivityBreakdownQuery';
|
|
16
|
+
export { aiEngineeringControllerGetProductivitySummary, useAiEngineeringControllerGetProductivitySummaryQuery, } from './hooks/useAiEngineeringControllerGetProductivitySummaryQuery';
|
|
15
17
|
export { aiEngineeringControllerGetRolesCatalog, useAiEngineeringControllerGetRolesCatalogQuery, } from './hooks/useAiEngineeringControllerGetRolesCatalogQuery';
|
|
16
18
|
export { aiEngineeringControllerGetScorecards, useAiEngineeringControllerGetScorecardsQuery, } from './hooks/useAiEngineeringControllerGetScorecardsQuery';
|
|
17
19
|
export { aiEngineeringControllerGetToolCallCategoriesCatalog, useAiEngineeringControllerGetToolCallCategoriesCatalogQuery, } from './hooks/useAiEngineeringControllerGetToolCallCategoriesCatalogQuery';
|
|
@@ -154,6 +156,8 @@ export { externalDataControllerGetIngestionStatus, useExternalDataControllerGetI
|
|
|
154
156
|
export { externalDataControllerGetSchemaHistory, useExternalDataControllerGetSchemaHistoryQuery, } from './hooks/useExternalDataControllerGetSchemaHistoryQuery';
|
|
155
157
|
export { externalDataControllerIngestData, useExternalDataControllerIngestDataMutation, } from './hooks/useExternalDataControllerIngestDataMutation';
|
|
156
158
|
export { externalDataControllerRegisterSchema, useExternalDataControllerRegisterSchemaMutation, } from './hooks/useExternalDataControllerRegisterSchemaMutation';
|
|
159
|
+
export { gitAiArtifactControllerDownloadLatestArtifact, useGitAiArtifactControllerDownloadLatestArtifactQuery, } from './hooks/useGitAiArtifactControllerDownloadLatestArtifactQuery';
|
|
160
|
+
export { gitAiArtifactControllerGetLatestArtifact, useGitAiArtifactControllerGetLatestArtifactQuery, } from './hooks/useGitAiArtifactControllerGetLatestArtifactQuery';
|
|
157
161
|
export { healthControllerCheckDbHealth, useHealthControllerCheckDbHealthQuery, } from './hooks/useHealthControllerCheckDbHealthQuery';
|
|
158
162
|
export { imFieldsControllerListImFields, useImFieldsControllerListImFieldsQuery, } from './hooks/useImFieldsControllerListImFieldsQuery';
|
|
159
163
|
export { integrationControllerGetFilterValues, useIntegrationControllerGetFilterValuesQuery, } from './hooks/useIntegrationControllerGetFilterValuesQuery';
|
|
@@ -254,6 +258,9 @@ export { scmGaControllerGetDeployInfoFromPr, useScmGaControllerGetDeployInfoFrom
|
|
|
254
258
|
export { securityInsightsControllerGetOpenVulnerabilitiesBreakdown, useSecurityInsightsControllerGetOpenVulnerabilitiesBreakdownQuery, } from './hooks/useSecurityInsightsControllerGetOpenVulnerabilitiesBreakdownQuery';
|
|
255
259
|
export { securityInsightsControllerGetOpenVulnerabilities, useSecurityInsightsControllerGetOpenVulnerabilitiesQuery, } from './hooks/useSecurityInsightsControllerGetOpenVulnerabilitiesQuery';
|
|
256
260
|
export { securityInsightsControllerGetSecurityDrilldown, useSecurityInsightsControllerGetSecurityDrilldownQuery, } from './hooks/useSecurityInsightsControllerGetSecurityDrilldownQuery';
|
|
261
|
+
export { securityInsightsStatsControllerGetOpenVulnerabilitiesBreakdown, useSecurityInsightsStatsControllerGetOpenVulnerabilitiesBreakdownQuery, } from './hooks/useSecurityInsightsStatsControllerGetOpenVulnerabilitiesBreakdownQuery';
|
|
262
|
+
export { securityInsightsStatsControllerGetOpenVulnerabilities, useSecurityInsightsStatsControllerGetOpenVulnerabilitiesQuery, } from './hooks/useSecurityInsightsStatsControllerGetOpenVulnerabilitiesQuery';
|
|
263
|
+
export { securityInsightsStatsControllerGetSecurityStatsDrilldown, useSecurityInsightsStatsControllerGetSecurityStatsDrilldownQuery, } from './hooks/useSecurityInsightsStatsControllerGetSecurityStatsDrilldownQuery';
|
|
257
264
|
export { securityProfileControllerCreateProfile, useSecurityProfileControllerCreateProfileMutation, } from './hooks/useSecurityProfileControllerCreateProfileMutation';
|
|
258
265
|
export { securityProfileControllerDeleteProfile, useSecurityProfileControllerDeleteProfileMutation, } from './hooks/useSecurityProfileControllerDeleteProfileMutation';
|
|
259
266
|
export { securityProfileControllerGetProfile, useSecurityProfileControllerGetProfileQuery, } from './hooks/useSecurityProfileControllerGetProfileQuery';
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { AiEngineeringImpactBreakdownItem } from '../schemas/AiEngineeringImpactBreakdownItem';
|
|
2
|
+
import type { TimeSeriesPeriod } from '../schemas/TimeSeriesPeriod';
|
|
3
|
+
/**
|
|
4
|
+
* Response for AI Impact productivity breakdown by tool attribution
|
|
5
|
+
*/
|
|
6
|
+
export interface AiEngineeringImpactBreakdownData {
|
|
7
|
+
/**
|
|
8
|
+
* Breakdown dimension
|
|
9
|
+
* @example "tool"
|
|
10
|
+
*/
|
|
11
|
+
dimension?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Granularity used for rate computation
|
|
14
|
+
* @example "WEEKLY"
|
|
15
|
+
*/
|
|
16
|
+
granularity?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Breakdown items per tool
|
|
19
|
+
*/
|
|
20
|
+
items?: AiEngineeringImpactBreakdownItem[];
|
|
21
|
+
/**
|
|
22
|
+
* Metric key
|
|
23
|
+
* @example "pr-merged"
|
|
24
|
+
*/
|
|
25
|
+
metric?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Time period for the metric
|
|
28
|
+
*/
|
|
29
|
+
period?: TimeSeriesPeriod;
|
|
30
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { MetricValue } from '../schemas/MetricValue';
|
|
2
|
+
/**
|
|
3
|
+
* A single tool attribution row in the AI Impact breakdown
|
|
4
|
+
*/
|
|
5
|
+
export interface AiEngineeringImpactBreakdownItem {
|
|
6
|
+
/**
|
|
7
|
+
* Supporting context for this tool (e.g., total_count, active_devs)
|
|
8
|
+
*/
|
|
9
|
+
context?: {
|
|
10
|
+
[key: string]: {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Tool name or 'Non-AI'
|
|
16
|
+
* @example "Claude Code"
|
|
17
|
+
*/
|
|
18
|
+
name?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Metric statistics for this tool
|
|
21
|
+
*/
|
|
22
|
+
stats?: {
|
|
23
|
+
[key: string]: MetricValue;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { TimeSeriesPeriod } from '../schemas/TimeSeriesPeriod';
|
|
2
|
+
import type { MetricValue } from '../schemas/MetricValue';
|
|
3
|
+
/**
|
|
4
|
+
* Response for AI Impact productivity summary (overall, no tool breakdown)
|
|
5
|
+
*/
|
|
6
|
+
export interface AiEngineeringImpactSummaryData {
|
|
7
|
+
/**
|
|
8
|
+
* Supporting context (e.g., total_count, active_devs, pr_count)
|
|
9
|
+
*/
|
|
10
|
+
context?: {
|
|
11
|
+
[key: string]: {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* Granularity used for rate computation
|
|
17
|
+
* @example "WEEKLY"
|
|
18
|
+
*/
|
|
19
|
+
granularity?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Metric key
|
|
22
|
+
* @example "pr-merged"
|
|
23
|
+
*/
|
|
24
|
+
metric?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Time period for the metric
|
|
27
|
+
*/
|
|
28
|
+
period?: TimeSeriesPeriod;
|
|
29
|
+
/**
|
|
30
|
+
* Metric statistics. Keys: 'total' for rate metrics, or 'median'/'mean'/'p90'/'p95' for duration metrics
|
|
31
|
+
*/
|
|
32
|
+
stats?: {
|
|
33
|
+
[key: string]: MetricValue;
|
|
34
|
+
};
|
|
35
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { AiEngineeringImpactBreakdownData } from '../schemas/AiEngineeringImpactBreakdownData';
|
|
2
|
+
export interface ApiResponseAiEngineeringImpactBreakdownData {
|
|
3
|
+
/**
|
|
4
|
+
* Endpoint-specific payload (template DTOs, lists, aggregates, etc.)
|
|
5
|
+
*/
|
|
6
|
+
data?: AiEngineeringImpactBreakdownData;
|
|
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
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { AiEngineeringImpactSummaryData } from '../schemas/AiEngineeringImpactSummaryData';
|
|
2
|
+
export interface ApiResponseAiEngineeringImpactSummaryData {
|
|
3
|
+
/**
|
|
4
|
+
* Endpoint-specific payload (template DTOs, lists, aggregates, etc.)
|
|
5
|
+
*/
|
|
6
|
+
data?: AiEngineeringImpactSummaryData;
|
|
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/ApiResponseAiEngineeringImpactSummaryData.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,27 +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
|
-
* @
|
|
16
|
+
* Team reference ID
|
|
17
|
+
* @format int32
|
|
18
|
+
* @example 123
|
|
19
19
|
*/
|
|
20
|
-
|
|
20
|
+
teamRefId?: number;
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
23
|
-
* @format
|
|
24
|
-
* @example
|
|
22
|
+
* Total open vulnerabilities (same as value)
|
|
23
|
+
* @format int64
|
|
24
|
+
* @example 380
|
|
25
25
|
*/
|
|
26
|
-
|
|
26
|
+
total?: number;
|
|
27
27
|
}
|
|
@@ -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 {};
|
|
@@ -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,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.30.1",
|
|
4
4
|
"description": "Harness React sei panorama service client - SEI Panorama APIs integrated with react hooks for Panorama project",
|
|
5
5
|
"author": "Harness Inc",
|
|
6
6
|
"license": "MIT",
|