@harnessio/react-sei-panorama-service-client 0.31.3 → 0.31.5
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/useAiEngineeringControllerGetCodeLifecycleQuery.d.ts +41 -0
- package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetCodeLifecycleQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useArmorCodeControllerGetFindingStatsMutation.d.ts +16 -0
- package/dist/sei-panorama-service/src/services/hooks/useArmorCodeControllerGetFindingStatsMutation.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useArmorCodeControllerGetFindingsFiltersMutation.d.ts +23 -0
- package/dist/sei-panorama-service/src/services/hooks/useArmorCodeControllerGetFindingsFiltersMutation.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useGitAiArtifactControllerDownloadLatestArtifactQuery.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useGitAiArtifactControllerDownloadLatestArtifactQuery.js +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useGitAiArtifactControllerGetLatestArtifactQuery.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useGitAiArtifactControllerGetLatestArtifactQuery.js +1 -1
- package/dist/sei-panorama-service/src/services/index.d.ts +14 -0
- package/dist/sei-panorama-service/src/services/index.js +3 -0
- package/dist/sei-panorama-service/src/services/schemas/AiCodeLifecycleData.d.ts +19 -0
- package/dist/sei-panorama-service/src/services/schemas/AiCodeLifecycleData.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/AiCodeLifecycleStage.d.ts +27 -0
- package/dist/sei-panorama-service/src/services/schemas/AiCodeLifecycleStage.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/AiCodeLifecycleToolEntry.d.ts +22 -0
- package/dist/sei-panorama-service/src/services/schemas/AiCodeLifecycleToolEntry.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/ApiResponseAiCodeLifecycleData.d.ts +23 -0
- package/dist/sei-panorama-service/src/services/schemas/ApiResponseAiCodeLifecycleData.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/ArmorCodeFindingStatsRequest.d.ts +9 -0
- package/dist/sei-panorama-service/src/services/schemas/ArmorCodeFindingStatsRequest.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/ArmorCodeFindingStatsResponse.d.ts +6 -0
- package/dist/sei-panorama-service/src/services/schemas/ArmorCodeFindingStatsResponse.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/ArmorCodeFindingsFiltersRequest.d.ts +4 -0
- package/dist/sei-panorama-service/src/services/schemas/ArmorCodeFindingsFiltersRequest.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/FindingStatusStat.d.ts +13 -0
- package/dist/sei-panorama-service/src/services/schemas/FindingStatusStat.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/ItsmPagerDutyDrilldownItem.d.ts +4 -0
- package/dist/sei-panorama-service/src/services/schemas/MetricValue.d.ts +6 -0
- package/dist/sei-panorama-service/src/services/schemas/SimpleMetric.d.ts +5 -4
- package/package.json +1 -1
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ApiResponseAiCodeLifecycleData } from '../schemas/ApiResponseAiCodeLifecycleData';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface AiEngineeringControllerGetCodeLifecycleQueryQueryParams {
|
|
6
|
+
account: string;
|
|
7
|
+
schema: string;
|
|
8
|
+
orgIdentifier?: string;
|
|
9
|
+
projectIdentifier?: string;
|
|
10
|
+
routingId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @format int32
|
|
13
|
+
*/
|
|
14
|
+
orgTreeId?: number;
|
|
15
|
+
teamRefId?: string;
|
|
16
|
+
start_date?: string;
|
|
17
|
+
end_date?: string;
|
|
18
|
+
granularity?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @example "claude-code"
|
|
21
|
+
*/
|
|
22
|
+
assistant?: string;
|
|
23
|
+
/**
|
|
24
|
+
* @example "java"
|
|
25
|
+
*/
|
|
26
|
+
language?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @example "senior_engineer"
|
|
29
|
+
*/
|
|
30
|
+
role?: string;
|
|
31
|
+
}
|
|
32
|
+
export type AiEngineeringControllerGetCodeLifecycleOkResponse = ResponseWithPagination<ApiResponseAiCodeLifecycleData>;
|
|
33
|
+
export type AiEngineeringControllerGetCodeLifecycleErrorResponse = unknown;
|
|
34
|
+
export interface AiEngineeringControllerGetCodeLifecycleProps extends Omit<FetcherOptions<AiEngineeringControllerGetCodeLifecycleQueryQueryParams, unknown>, 'url'> {
|
|
35
|
+
queryParams: AiEngineeringControllerGetCodeLifecycleQueryQueryParams;
|
|
36
|
+
}
|
|
37
|
+
export declare function aiEngineeringControllerGetCodeLifecycle(props: AiEngineeringControllerGetCodeLifecycleProps): Promise<AiEngineeringControllerGetCodeLifecycleOkResponse>;
|
|
38
|
+
/**
|
|
39
|
+
* Get AI code lifecycle funnel: LOC Generated → LOC Committed → LOC Merged, by tool
|
|
40
|
+
*/
|
|
41
|
+
export declare function useAiEngineeringControllerGetCodeLifecycleQuery(props: AiEngineeringControllerGetCodeLifecycleProps, options?: Omit<UseQueryOptions<AiEngineeringControllerGetCodeLifecycleOkResponse, AiEngineeringControllerGetCodeLifecycleErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<AiEngineeringControllerGetCodeLifecycleOkResponse, 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 aiEngineeringControllerGetCodeLifecycle(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/ai-engineering/insights/impact/code-lifecycle`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get AI code lifecycle funnel: LOC Generated → LOC Committed → LOC Merged, by tool
|
|
11
|
+
*/
|
|
12
|
+
export function useAiEngineeringControllerGetCodeLifecycleQuery(props, options) {
|
|
13
|
+
return useQuery(['AiEngineeringControllerGetCodeLifecycle', props.queryParams], ({ signal }) => aiEngineeringControllerGetCodeLifecycle(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ArmorCodeFindingStatsResponse } from '../schemas/ArmorCodeFindingStatsResponse';
|
|
3
|
+
import type { ArmorCodeFindingStatsRequest } from '../schemas/ArmorCodeFindingStatsRequest';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export type ArmorCodeControllerGetFindingStatsRequestBody = ArmorCodeFindingStatsRequest;
|
|
7
|
+
export type ArmorCodeControllerGetFindingStatsOkResponse = ResponseWithPagination<ArmorCodeFindingStatsResponse>;
|
|
8
|
+
export type ArmorCodeControllerGetFindingStatsErrorResponse = ArmorCodeFindingStatsResponse;
|
|
9
|
+
export interface ArmorCodeControllerGetFindingStatsProps extends Omit<FetcherOptions<unknown, ArmorCodeControllerGetFindingStatsRequestBody>, 'url'> {
|
|
10
|
+
body: ArmorCodeControllerGetFindingStatsRequestBody;
|
|
11
|
+
}
|
|
12
|
+
export declare function armorCodeControllerGetFindingStats(props: ArmorCodeControllerGetFindingStatsProps): Promise<ArmorCodeControllerGetFindingStatsOkResponse>;
|
|
13
|
+
/**
|
|
14
|
+
* Get ArmorCode finding stats grouped by status
|
|
15
|
+
*/
|
|
16
|
+
export declare function useArmorCodeControllerGetFindingStatsMutation(options?: Omit<UseMutationOptions<ArmorCodeControllerGetFindingStatsOkResponse, ArmorCodeControllerGetFindingStatsErrorResponse, ArmorCodeControllerGetFindingStatsProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ArmorCodeControllerGetFindingStatsOkResponse, ArmorCodeFindingStatsResponse, ArmorCodeControllerGetFindingStatsProps, unknown>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function armorCodeControllerGetFindingStats(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/integrations/armorcode/spotcheck`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get ArmorCode finding stats grouped by status
|
|
11
|
+
*/
|
|
12
|
+
export function useArmorCodeControllerGetFindingStatsMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => armorCodeControllerGetFindingStats(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ArmorCodeFindingsFiltersRequest } from '../schemas/ArmorCodeFindingsFiltersRequest';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export type ArmorCodeControllerGetFindingsFiltersRequestBody = ArmorCodeFindingsFiltersRequest;
|
|
6
|
+
export type ArmorCodeControllerGetFindingsFiltersOkResponse = ResponseWithPagination<{
|
|
7
|
+
[key: string]: Array<{
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
}>;
|
|
10
|
+
}>;
|
|
11
|
+
export type ArmorCodeControllerGetFindingsFiltersErrorResponse = {
|
|
12
|
+
[key: string]: Array<{
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
}>;
|
|
15
|
+
};
|
|
16
|
+
export interface ArmorCodeControllerGetFindingsFiltersProps extends Omit<FetcherOptions<unknown, ArmorCodeControllerGetFindingsFiltersRequestBody>, 'url'> {
|
|
17
|
+
body: ArmorCodeControllerGetFindingsFiltersRequestBody;
|
|
18
|
+
}
|
|
19
|
+
export declare function armorCodeControllerGetFindingsFilters(props: ArmorCodeControllerGetFindingsFiltersProps): Promise<ArmorCodeControllerGetFindingsFiltersOkResponse>;
|
|
20
|
+
/**
|
|
21
|
+
* Get ArmorCode findings filter values for the given fields
|
|
22
|
+
*/
|
|
23
|
+
export declare function useArmorCodeControllerGetFindingsFiltersMutation(options?: Omit<UseMutationOptions<ArmorCodeControllerGetFindingsFiltersOkResponse, ArmorCodeControllerGetFindingsFiltersErrorResponse, ArmorCodeControllerGetFindingsFiltersProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ArmorCodeControllerGetFindingsFiltersOkResponse, ArmorCodeControllerGetFindingsFiltersErrorResponse, ArmorCodeControllerGetFindingsFiltersProps, unknown>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function armorCodeControllerGetFindingsFilters(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/integrations/armorcode/findings-filters`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get ArmorCode findings filter values for the given fields
|
|
11
|
+
*/
|
|
12
|
+
export function useArmorCodeControllerGetFindingsFiltersMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => armorCodeControllerGetFindingsFilters(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -11,6 +11,6 @@ export interface GitAiArtifactControllerDownloadLatestArtifactProps extends Omit
|
|
|
11
11
|
}
|
|
12
12
|
export declare function gitAiArtifactControllerDownloadLatestArtifact(props: GitAiArtifactControllerDownloadLatestArtifactProps): Promise<GitAiArtifactControllerDownloadLatestArtifactOkResponse>;
|
|
13
13
|
/**
|
|
14
|
-
* Download latest Git AI agent artifact for a supported platform
|
|
14
|
+
* Download the latest approved Git AI agent artifact for a supported platform
|
|
15
15
|
*/
|
|
16
16
|
export declare function useGitAiArtifactControllerDownloadLatestArtifactQuery(props: GitAiArtifactControllerDownloadLatestArtifactProps, options?: Omit<UseQueryOptions<GitAiArtifactControllerDownloadLatestArtifactOkResponse, GitAiArtifactControllerDownloadLatestArtifactErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GitAiArtifactControllerDownloadLatestArtifactOkResponse, string>;
|
|
@@ -7,7 +7,7 @@ export function gitAiArtifactControllerDownloadLatestArtifact(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/v2/git-ai/artifacts/latest/download`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Download latest Git AI agent artifact for a supported platform
|
|
10
|
+
* Download the latest approved Git AI agent artifact for a supported platform
|
|
11
11
|
*/
|
|
12
12
|
export function useGitAiArtifactControllerDownloadLatestArtifactQuery(props, options) {
|
|
13
13
|
return useQuery(['GitAiArtifactControllerDownloadLatestArtifact', props.queryParams], ({ signal }) => gitAiArtifactControllerDownloadLatestArtifact(Object.assign(Object.assign({}, props), { signal })), options);
|
|
@@ -12,6 +12,6 @@ export interface GitAiArtifactControllerGetLatestArtifactProps extends Omit<Fetc
|
|
|
12
12
|
}
|
|
13
13
|
export declare function gitAiArtifactControllerGetLatestArtifact(props: GitAiArtifactControllerGetLatestArtifactProps): Promise<GitAiArtifactControllerGetLatestArtifactOkResponse>;
|
|
14
14
|
/**
|
|
15
|
-
* Get latest Git AI agent artifact for a supported platform
|
|
15
|
+
* Get the latest approved Git AI agent artifact for a supported platform
|
|
16
16
|
*/
|
|
17
17
|
export declare function useGitAiArtifactControllerGetLatestArtifactQuery(props: GitAiArtifactControllerGetLatestArtifactProps, options?: Omit<UseQueryOptions<GitAiArtifactControllerGetLatestArtifactOkResponse, GitAiArtifactControllerGetLatestArtifactErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GitAiArtifactControllerGetLatestArtifactOkResponse, GitAiArtifactDownloadResponse>;
|
|
@@ -7,7 +7,7 @@ export function gitAiArtifactControllerGetLatestArtifact(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/v2/git-ai/artifacts/latest`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Get latest Git AI agent artifact for a supported platform
|
|
10
|
+
* Get the latest approved Git AI agent artifact for a supported platform
|
|
11
11
|
*/
|
|
12
12
|
export function useGitAiArtifactControllerGetLatestArtifactQuery(props, options) {
|
|
13
13
|
return useQuery(['GitAiArtifactControllerGetLatestArtifact', props.queryParams], ({ signal }) => gitAiArtifactControllerGetLatestArtifact(Object.assign(Object.assign({}, props), { signal })), options);
|
|
@@ -3,6 +3,8 @@ export type { ActivityLogsControllerListActivityLogsErrorResponse, ActivityLogsC
|
|
|
3
3
|
export { activityLogsControllerListActivityLogs, useActivityLogsControllerListActivityLogsQuery, } from './hooks/useActivityLogsControllerListActivityLogsQuery';
|
|
4
4
|
export type { AiEngineeringControllerGetAgentsCatalogErrorResponse, AiEngineeringControllerGetAgentsCatalogOkResponse, AiEngineeringControllerGetAgentsCatalogProps, AiEngineeringControllerGetAgentsCatalogQueryQueryParams, } from './hooks/useAiEngineeringControllerGetAgentsCatalogQuery';
|
|
5
5
|
export { aiEngineeringControllerGetAgentsCatalog, useAiEngineeringControllerGetAgentsCatalogQuery, } from './hooks/useAiEngineeringControllerGetAgentsCatalogQuery';
|
|
6
|
+
export type { AiEngineeringControllerGetCodeLifecycleErrorResponse, AiEngineeringControllerGetCodeLifecycleOkResponse, AiEngineeringControllerGetCodeLifecycleProps, AiEngineeringControllerGetCodeLifecycleQueryQueryParams, } from './hooks/useAiEngineeringControllerGetCodeLifecycleQuery';
|
|
7
|
+
export { aiEngineeringControllerGetCodeLifecycle, useAiEngineeringControllerGetCodeLifecycleQuery, } from './hooks/useAiEngineeringControllerGetCodeLifecycleQuery';
|
|
6
8
|
export type { AiEngineeringControllerGetCorrelationsErrorResponse, AiEngineeringControllerGetCorrelationsOkResponse, AiEngineeringControllerGetCorrelationsProps, AiEngineeringControllerGetCorrelationsQueryQueryParams, } from './hooks/useAiEngineeringControllerGetCorrelationsQuery';
|
|
7
9
|
export { aiEngineeringControllerGetCorrelations, useAiEngineeringControllerGetCorrelationsQuery, } from './hooks/useAiEngineeringControllerGetCorrelationsQuery';
|
|
8
10
|
export type { AiEngineeringControllerGetInvestmentCategoriesCatalogErrorResponse, AiEngineeringControllerGetInvestmentCategoriesCatalogOkResponse, AiEngineeringControllerGetInvestmentCategoriesCatalogProps, AiEngineeringControllerGetInvestmentCategoriesCatalogQueryQueryParams, } from './hooks/useAiEngineeringControllerGetInvestmentCategoriesCatalogQuery';
|
|
@@ -77,6 +79,10 @@ export type { AiInsightsControllerGetTopLanguagesErrorResponse, AiInsightsContro
|
|
|
77
79
|
export { aiInsightsControllerGetTopLanguages, useAiInsightsControllerGetTopLanguagesQuery, } from './hooks/useAiInsightsControllerGetTopLanguagesQuery';
|
|
78
80
|
export type { AiSummaryControllerGenerateSummaryErrorResponse, AiSummaryControllerGenerateSummaryOkResponse, AiSummaryControllerGenerateSummaryProps, AiSummaryControllerGenerateSummaryQueryQueryParams, AiSummaryControllerGenerateSummaryRequestBody, } from './hooks/useAiSummaryControllerGenerateSummaryQuery';
|
|
79
81
|
export { aiSummaryControllerGenerateSummary, useAiSummaryControllerGenerateSummaryQuery, } from './hooks/useAiSummaryControllerGenerateSummaryQuery';
|
|
82
|
+
export type { ArmorCodeControllerGetFindingStatsErrorResponse, ArmorCodeControllerGetFindingStatsOkResponse, ArmorCodeControllerGetFindingStatsProps, ArmorCodeControllerGetFindingStatsRequestBody, } from './hooks/useArmorCodeControllerGetFindingStatsMutation';
|
|
83
|
+
export { armorCodeControllerGetFindingStats, useArmorCodeControllerGetFindingStatsMutation, } from './hooks/useArmorCodeControllerGetFindingStatsMutation';
|
|
84
|
+
export type { ArmorCodeControllerGetFindingsFiltersErrorResponse, ArmorCodeControllerGetFindingsFiltersOkResponse, ArmorCodeControllerGetFindingsFiltersProps, ArmorCodeControllerGetFindingsFiltersRequestBody, } from './hooks/useArmorCodeControllerGetFindingsFiltersMutation';
|
|
85
|
+
export { armorCodeControllerGetFindingsFilters, useArmorCodeControllerGetFindingsFiltersMutation, } from './hooks/useArmorCodeControllerGetFindingsFiltersMutation';
|
|
80
86
|
export type { AsyncExportControllerDownloadExportErrorResponse, AsyncExportControllerDownloadExportOkResponse, AsyncExportControllerDownloadExportProps, AsyncExportControllerDownloadExportQueryPathParams, AsyncExportControllerDownloadExportQueryQueryParams, } from './hooks/useAsyncExportControllerDownloadExportQuery';
|
|
81
87
|
export { asyncExportControllerDownloadExport, useAsyncExportControllerDownloadExportQuery, } from './hooks/useAsyncExportControllerDownloadExportQuery';
|
|
82
88
|
export type { AsyncExportControllerGetJobStatusErrorResponse, AsyncExportControllerGetJobStatusOkResponse, AsyncExportControllerGetJobStatusProps, AsyncExportControllerGetJobStatusQueryPathParams, AsyncExportControllerGetJobStatusQueryQueryParams, } from './hooks/useAsyncExportControllerGetJobStatusQuery';
|
|
@@ -661,6 +667,9 @@ export type { AiAdoptionMetricsRequestDto } from './schemas/AiAdoptionMetricsReq
|
|
|
661
667
|
export type { AiAdoptionMetricsResponseDto } from './schemas/AiAdoptionMetricsResponseDto';
|
|
662
668
|
export type { AiAdoptionSummaryRequestDto } from './schemas/AiAdoptionSummaryRequestDto';
|
|
663
669
|
export type { AiAdoptionSummaryResponseDto } from './schemas/AiAdoptionSummaryResponseDto';
|
|
670
|
+
export type { AiCodeLifecycleData } from './schemas/AiCodeLifecycleData';
|
|
671
|
+
export type { AiCodeLifecycleStage } from './schemas/AiCodeLifecycleStage';
|
|
672
|
+
export type { AiCodeLifecycleToolEntry } from './schemas/AiCodeLifecycleToolEntry';
|
|
664
673
|
export type { AiCombinedInsightsRequestDto } from './schemas/AiCombinedInsightsRequestDto';
|
|
665
674
|
export type { AiEngineeringImpactBreakdownData } from './schemas/AiEngineeringImpactBreakdownData';
|
|
666
675
|
export type { AiEngineeringImpactBreakdownItem } from './schemas/AiEngineeringImpactBreakdownItem';
|
|
@@ -684,6 +693,7 @@ export type { AiprVelocitySummaryRequestDto } from './schemas/AiprVelocitySummar
|
|
|
684
693
|
export type { AiprVelocitySummaryResponseDto } from './schemas/AiprVelocitySummaryResponseDto';
|
|
685
694
|
export type { ApiError } from './schemas/ApiError';
|
|
686
695
|
export type { ApiErrorResponse } from './schemas/ApiErrorResponse';
|
|
696
|
+
export type { ApiResponseAiCodeLifecycleData } from './schemas/ApiResponseAiCodeLifecycleData';
|
|
687
697
|
export type { ApiResponseAiEngineeringImpactBreakdownData } from './schemas/ApiResponseAiEngineeringImpactBreakdownData';
|
|
688
698
|
export type { ApiResponseAiEngineeringImpactSummaryData } from './schemas/ApiResponseAiEngineeringImpactSummaryData';
|
|
689
699
|
export type { ApiResponseAiSummaryData } from './schemas/ApiResponseAiSummaryData';
|
|
@@ -699,6 +709,9 @@ export type { ApiResponseOptimizationListData } from './schemas/ApiResponseOptim
|
|
|
699
709
|
export type { ApiResponseScorecardData } from './schemas/ApiResponseScorecardData';
|
|
700
710
|
export type { ApiResponseTimeSeriesTemplate } from './schemas/ApiResponseTimeSeriesTemplate';
|
|
701
711
|
export type { ApiResponseWrapper } from './schemas/ApiResponseWrapper';
|
|
712
|
+
export type { ArmorCodeFindingStatsRequest } from './schemas/ArmorCodeFindingStatsRequest';
|
|
713
|
+
export type { ArmorCodeFindingStatsResponse } from './schemas/ArmorCodeFindingStatsResponse';
|
|
714
|
+
export type { ArmorCodeFindingsFiltersRequest } from './schemas/ArmorCodeFindingsFiltersRequest';
|
|
702
715
|
export type { AssociateDevelopersRequestDto } from './schemas/AssociateDevelopersRequestDto';
|
|
703
716
|
export type { BaBreakdownDto } from './schemas/BaBreakdownDto';
|
|
704
717
|
export type { BaCategoryDto } from './schemas/BaCategoryDto';
|
|
@@ -861,6 +874,7 @@ export type { FeatureSizes } from './schemas/FeatureSizes';
|
|
|
861
874
|
export type { FilterByField } from './schemas/FilterByField';
|
|
862
875
|
export type { FilterExpression } from './schemas/FilterExpression';
|
|
863
876
|
export type { FilterValuesRequestDto } from './schemas/FilterValuesRequestDto';
|
|
877
|
+
export type { FindingStatusStat } from './schemas/FindingStatusStat';
|
|
864
878
|
export type { GitAiArtifactDownloadResponse } from './schemas/GitAiArtifactDownloadResponse';
|
|
865
879
|
export type { GitAiInstallation } from './schemas/GitAiInstallation';
|
|
866
880
|
export type { GitAiInstallationsPage } from './schemas/GitAiInstallationsPage';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { activityLogsControllerListActivityLogs, useActivityLogsControllerListActivityLogsQuery, } from './hooks/useActivityLogsControllerListActivityLogsQuery';
|
|
2
2
|
export { aiEngineeringControllerGetAgentsCatalog, useAiEngineeringControllerGetAgentsCatalogQuery, } from './hooks/useAiEngineeringControllerGetAgentsCatalogQuery';
|
|
3
|
+
export { aiEngineeringControllerGetCodeLifecycle, useAiEngineeringControllerGetCodeLifecycleQuery, } from './hooks/useAiEngineeringControllerGetCodeLifecycleQuery';
|
|
3
4
|
export { aiEngineeringControllerGetCorrelations, useAiEngineeringControllerGetCorrelationsQuery, } from './hooks/useAiEngineeringControllerGetCorrelationsQuery';
|
|
4
5
|
export { aiEngineeringControllerGetInvestmentCategoriesCatalog, useAiEngineeringControllerGetInvestmentCategoriesCatalogQuery, } from './hooks/useAiEngineeringControllerGetInvestmentCategoriesCatalogQuery';
|
|
5
6
|
export { aiEngineeringControllerGetLanguagesCatalog, useAiEngineeringControllerGetLanguagesCatalogQuery, } from './hooks/useAiEngineeringControllerGetLanguagesCatalogQuery';
|
|
@@ -37,6 +38,8 @@ export { aiInsightsControllerGetTeamBreakdown, useAiInsightsControllerGetTeamBre
|
|
|
37
38
|
export { aiInsightsControllerGetToolUsersSummary, useAiInsightsControllerGetToolUsersSummaryQuery, } from './hooks/useAiInsightsControllerGetToolUsersSummaryQuery';
|
|
38
39
|
export { aiInsightsControllerGetTopLanguages, useAiInsightsControllerGetTopLanguagesQuery, } from './hooks/useAiInsightsControllerGetTopLanguagesQuery';
|
|
39
40
|
export { aiSummaryControllerGenerateSummary, useAiSummaryControllerGenerateSummaryQuery, } from './hooks/useAiSummaryControllerGenerateSummaryQuery';
|
|
41
|
+
export { armorCodeControllerGetFindingStats, useArmorCodeControllerGetFindingStatsMutation, } from './hooks/useArmorCodeControllerGetFindingStatsMutation';
|
|
42
|
+
export { armorCodeControllerGetFindingsFilters, useArmorCodeControllerGetFindingsFiltersMutation, } from './hooks/useArmorCodeControllerGetFindingsFiltersMutation';
|
|
40
43
|
export { asyncExportControllerDownloadExport, useAsyncExportControllerDownloadExportQuery, } from './hooks/useAsyncExportControllerDownloadExportQuery';
|
|
41
44
|
export { asyncExportControllerGetJobStatus, useAsyncExportControllerGetJobStatusQuery, } from './hooks/useAsyncExportControllerGetJobStatusQuery';
|
|
42
45
|
export { asyncExportControllerInitiateExport, useAsyncExportControllerInitiateExportMutation, } from './hooks/useAsyncExportControllerInitiateExportMutation';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { TimeSeriesPeriod } from '../schemas/TimeSeriesPeriod';
|
|
2
|
+
import type { AiCodeLifecycleStage } from '../schemas/AiCodeLifecycleStage';
|
|
3
|
+
/**
|
|
4
|
+
* AI code lifecycle funnel: LOC Generated → LOC Committed → LOC Merged, broken down by tool
|
|
5
|
+
*/
|
|
6
|
+
export interface AiCodeLifecycleData {
|
|
7
|
+
/**
|
|
8
|
+
* True when response is mock data, absent in production
|
|
9
|
+
*/
|
|
10
|
+
mock?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Time period for this data
|
|
13
|
+
*/
|
|
14
|
+
period?: TimeSeriesPeriod;
|
|
15
|
+
/**
|
|
16
|
+
* Ordered funnel stages
|
|
17
|
+
*/
|
|
18
|
+
stages?: AiCodeLifecycleStage[];
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { AiCodeLifecycleToolEntry } from '../schemas/AiCodeLifecycleToolEntry';
|
|
2
|
+
/**
|
|
3
|
+
* A single stage in the AI code lifecycle funnel
|
|
4
|
+
*/
|
|
5
|
+
export interface AiCodeLifecycleStage {
|
|
6
|
+
/**
|
|
7
|
+
* Stage number used as denominator when computing rates (null for stage 1)
|
|
8
|
+
* @format int32
|
|
9
|
+
* @example 1
|
|
10
|
+
*/
|
|
11
|
+
rate_basis_stage?: number;
|
|
12
|
+
/**
|
|
13
|
+
* Stage identifier
|
|
14
|
+
* @example "loc_committed"
|
|
15
|
+
*/
|
|
16
|
+
stage?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Ordinal position of this stage in the funnel (1-indexed)
|
|
19
|
+
* @format int32
|
|
20
|
+
* @example 2
|
|
21
|
+
*/
|
|
22
|
+
stage_number?: number;
|
|
23
|
+
/**
|
|
24
|
+
* Per-tool LOC values for this stage
|
|
25
|
+
*/
|
|
26
|
+
tools?: AiCodeLifecycleToolEntry[];
|
|
27
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LOC metrics for a single tool in a code lifecycle stage
|
|
3
|
+
*/
|
|
4
|
+
export interface AiCodeLifecycleToolEntry {
|
|
5
|
+
/**
|
|
6
|
+
* Lines of code count for this stage
|
|
7
|
+
* @format int64
|
|
8
|
+
* @example 21400
|
|
9
|
+
*/
|
|
10
|
+
loc?: number;
|
|
11
|
+
/**
|
|
12
|
+
* Rate relative to loc_generated stage (null for stage 1)
|
|
13
|
+
* @format double
|
|
14
|
+
* @example 0.88
|
|
15
|
+
*/
|
|
16
|
+
rate?: number;
|
|
17
|
+
/**
|
|
18
|
+
* Tool identifier (e.g. claude_code, cursor, github_copilot, windsurf, non_ai)
|
|
19
|
+
* @example "claude_code"
|
|
20
|
+
*/
|
|
21
|
+
tool?: string;
|
|
22
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { AiCodeLifecycleData } from '../schemas/AiCodeLifecycleData';
|
|
2
|
+
export interface ApiResponseAiCodeLifecycleData {
|
|
3
|
+
/**
|
|
4
|
+
* Endpoint-specific payload (template DTOs, lists, aggregates, etc.)
|
|
5
|
+
*/
|
|
6
|
+
data?: AiCodeLifecycleData;
|
|
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 @@
|
|
|
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
|
+
* Absolute (raw) value behind a percentage, e.g. user count behind a % share
|
|
7
|
+
* @format double
|
|
8
|
+
* @example 10
|
|
9
|
+
*/
|
|
10
|
+
absolute?: number;
|
|
5
11
|
/**
|
|
6
12
|
* Optional phase breakdown (e.g., coding/review/merge for pr-cycle-time)
|
|
7
13
|
*/
|
|
@@ -8,14 +8,15 @@ export interface SimpleMetric {
|
|
|
8
8
|
*/
|
|
9
9
|
name?: string;
|
|
10
10
|
/**
|
|
11
|
-
* Unit of measurement (optional, e.g., %, days, count, hours)
|
|
11
|
+
* Unit of measurement (optional, e.g., %, days, count, boolean, hours)
|
|
12
12
|
* @example "%"
|
|
13
13
|
*/
|
|
14
14
|
unit?: string;
|
|
15
15
|
/**
|
|
16
|
-
* Metric value
|
|
17
|
-
* @format double
|
|
16
|
+
* Metric value (numeric or boolean when unit is boolean)
|
|
18
17
|
* @example 42.5
|
|
19
18
|
*/
|
|
20
|
-
value?:
|
|
19
|
+
value?: {
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
};
|
|
21
22
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@harnessio/react-sei-panorama-service-client",
|
|
3
|
-
"version": "0.31.
|
|
3
|
+
"version": "0.31.5",
|
|
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",
|