@harnessio/react-sei-panorama-service-client 0.31.3 → 0.31.4
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/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 +8 -1
- package/dist/sei-panorama-service/src/services/index.js +2 -0
- package/dist/sei-panorama-service/src/services/schemas/ArmorCodeFindingStatsRequest.d.ts +9 -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/DrillDownRequest.d.ts +0 -4
- package/dist/sei-panorama-service/src/services/schemas/DrillDownResponseDtoObject.d.ts +0 -1
- package/dist/sei-panorama-service/src/services/schemas/FilterValuesRequestDto.d.ts +1 -1
- 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/MetricValue.d.ts +6 -0
- package/dist/sei-panorama-service/src/services/schemas/MttrDrillDownResponseDto.d.ts +0 -9
- package/dist/sei-panorama-service/src/services/schemas/MttrDrilldownRequest.d.ts +0 -4
- package/dist/sei-panorama-service/src/services/schemas/SimpleFilter.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/SimpleMetric.d.ts +5 -4
- package/dist/sei-panorama-service/src/services/schemas/TeamFilter.d.ts +1 -1
- package/package.json +1 -1
- package/dist/sei-panorama-service/src/services/schemas/ItsmPagerDutyDrilldownItem.d.ts +0 -67
- /package/dist/sei-panorama-service/src/services/schemas/{ItsmPagerDutyDrilldownItem.js → ArmorCodeFindingStatsRequest.js} +0 -0
|
@@ -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);
|
|
@@ -77,6 +77,10 @@ export type { AiInsightsControllerGetTopLanguagesErrorResponse, AiInsightsContro
|
|
|
77
77
|
export { aiInsightsControllerGetTopLanguages, useAiInsightsControllerGetTopLanguagesQuery, } from './hooks/useAiInsightsControllerGetTopLanguagesQuery';
|
|
78
78
|
export type { AiSummaryControllerGenerateSummaryErrorResponse, AiSummaryControllerGenerateSummaryOkResponse, AiSummaryControllerGenerateSummaryProps, AiSummaryControllerGenerateSummaryQueryQueryParams, AiSummaryControllerGenerateSummaryRequestBody, } from './hooks/useAiSummaryControllerGenerateSummaryQuery';
|
|
79
79
|
export { aiSummaryControllerGenerateSummary, useAiSummaryControllerGenerateSummaryQuery, } from './hooks/useAiSummaryControllerGenerateSummaryQuery';
|
|
80
|
+
export type { ArmorCodeControllerGetFindingStatsErrorResponse, ArmorCodeControllerGetFindingStatsOkResponse, ArmorCodeControllerGetFindingStatsProps, ArmorCodeControllerGetFindingStatsRequestBody, } from './hooks/useArmorCodeControllerGetFindingStatsMutation';
|
|
81
|
+
export { armorCodeControllerGetFindingStats, useArmorCodeControllerGetFindingStatsMutation, } from './hooks/useArmorCodeControllerGetFindingStatsMutation';
|
|
82
|
+
export type { ArmorCodeControllerGetFindingsFiltersErrorResponse, ArmorCodeControllerGetFindingsFiltersOkResponse, ArmorCodeControllerGetFindingsFiltersProps, ArmorCodeControllerGetFindingsFiltersRequestBody, } from './hooks/useArmorCodeControllerGetFindingsFiltersMutation';
|
|
83
|
+
export { armorCodeControllerGetFindingsFilters, useArmorCodeControllerGetFindingsFiltersMutation, } from './hooks/useArmorCodeControllerGetFindingsFiltersMutation';
|
|
80
84
|
export type { AsyncExportControllerDownloadExportErrorResponse, AsyncExportControllerDownloadExportOkResponse, AsyncExportControllerDownloadExportProps, AsyncExportControllerDownloadExportQueryPathParams, AsyncExportControllerDownloadExportQueryQueryParams, } from './hooks/useAsyncExportControllerDownloadExportQuery';
|
|
81
85
|
export { asyncExportControllerDownloadExport, useAsyncExportControllerDownloadExportQuery, } from './hooks/useAsyncExportControllerDownloadExportQuery';
|
|
82
86
|
export type { AsyncExportControllerGetJobStatusErrorResponse, AsyncExportControllerGetJobStatusOkResponse, AsyncExportControllerGetJobStatusProps, AsyncExportControllerGetJobStatusQueryPathParams, AsyncExportControllerGetJobStatusQueryQueryParams, } from './hooks/useAsyncExportControllerGetJobStatusQuery';
|
|
@@ -699,6 +703,9 @@ export type { ApiResponseOptimizationListData } from './schemas/ApiResponseOptim
|
|
|
699
703
|
export type { ApiResponseScorecardData } from './schemas/ApiResponseScorecardData';
|
|
700
704
|
export type { ApiResponseTimeSeriesTemplate } from './schemas/ApiResponseTimeSeriesTemplate';
|
|
701
705
|
export type { ApiResponseWrapper } from './schemas/ApiResponseWrapper';
|
|
706
|
+
export type { ArmorCodeFindingStatsRequest } from './schemas/ArmorCodeFindingStatsRequest';
|
|
707
|
+
export type { ArmorCodeFindingStatsResponse } from './schemas/ArmorCodeFindingStatsResponse';
|
|
708
|
+
export type { ArmorCodeFindingsFiltersRequest } from './schemas/ArmorCodeFindingsFiltersRequest';
|
|
702
709
|
export type { AssociateDevelopersRequestDto } from './schemas/AssociateDevelopersRequestDto';
|
|
703
710
|
export type { BaBreakdownDto } from './schemas/BaBreakdownDto';
|
|
704
711
|
export type { BaCategoryDto } from './schemas/BaCategoryDto';
|
|
@@ -861,6 +868,7 @@ export type { FeatureSizes } from './schemas/FeatureSizes';
|
|
|
861
868
|
export type { FilterByField } from './schemas/FilterByField';
|
|
862
869
|
export type { FilterExpression } from './schemas/FilterExpression';
|
|
863
870
|
export type { FilterValuesRequestDto } from './schemas/FilterValuesRequestDto';
|
|
871
|
+
export type { FindingStatusStat } from './schemas/FindingStatusStat';
|
|
864
872
|
export type { GitAiArtifactDownloadResponse } from './schemas/GitAiArtifactDownloadResponse';
|
|
865
873
|
export type { GitAiInstallation } from './schemas/GitAiInstallation';
|
|
866
874
|
export type { GitAiInstallationsPage } from './schemas/GitAiInstallationsPage';
|
|
@@ -913,7 +921,6 @@ export type { IssuesPrResponseWrapper } from './schemas/IssuesPrResponseWrapper'
|
|
|
913
921
|
export type { ItsmCustomFieldDto } from './schemas/ItsmCustomFieldDto';
|
|
914
922
|
export type { ItsmDrilldownItem } from './schemas/ItsmDrilldownItem';
|
|
915
923
|
export type { ItsmDrilldownSummary } from './schemas/ItsmDrilldownSummary';
|
|
916
|
-
export type { ItsmPagerDutyDrilldownItem } from './schemas/ItsmPagerDutyDrilldownItem';
|
|
917
924
|
export type { JobDetailDto } from './schemas/JobDetailDto';
|
|
918
925
|
export type { JsonNode } from './schemas/JsonNode';
|
|
919
926
|
export type { LanguageCount } from './schemas/LanguageCount';
|
|
@@ -37,6 +37,8 @@ export { aiInsightsControllerGetTeamBreakdown, useAiInsightsControllerGetTeamBre
|
|
|
37
37
|
export { aiInsightsControllerGetToolUsersSummary, useAiInsightsControllerGetToolUsersSummaryQuery, } from './hooks/useAiInsightsControllerGetToolUsersSummaryQuery';
|
|
38
38
|
export { aiInsightsControllerGetTopLanguages, useAiInsightsControllerGetTopLanguagesQuery, } from './hooks/useAiInsightsControllerGetTopLanguagesQuery';
|
|
39
39
|
export { aiSummaryControllerGenerateSummary, useAiSummaryControllerGenerateSummaryQuery, } from './hooks/useAiSummaryControllerGenerateSummaryQuery';
|
|
40
|
+
export { armorCodeControllerGetFindingStats, useArmorCodeControllerGetFindingStatsMutation, } from './hooks/useArmorCodeControllerGetFindingStatsMutation';
|
|
41
|
+
export { armorCodeControllerGetFindingsFilters, useArmorCodeControllerGetFindingsFiltersMutation, } from './hooks/useArmorCodeControllerGetFindingsFiltersMutation';
|
|
40
42
|
export { asyncExportControllerDownloadExport, useAsyncExportControllerDownloadExportQuery, } from './hooks/useAsyncExportControllerDownloadExportQuery';
|
|
41
43
|
export { asyncExportControllerGetJobStatus, useAsyncExportControllerGetJobStatusQuery, } from './hooks/useAsyncExportControllerGetJobStatusQuery';
|
|
42
44
|
export { asyncExportControllerInitiateExport, useAsyncExportControllerInitiateExportMutation, } from './hooks/useAsyncExportControllerInitiateExportMutation';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { IntegrationResponseDto } from '../schemas/IntegrationResponseDto';
|
|
2
1
|
import type { SortOption } from '../schemas/SortOption';
|
|
3
2
|
export interface DrillDownRequest {
|
|
4
3
|
/**
|
|
@@ -9,9 +8,6 @@ export interface DrillDownRequest {
|
|
|
9
8
|
* @format date-time
|
|
10
9
|
*/
|
|
11
10
|
dateStart: string;
|
|
12
|
-
integrationResponseDTOMap?: {
|
|
13
|
-
[key: string]: IntegrationResponseDto;
|
|
14
|
-
};
|
|
15
11
|
/**
|
|
16
12
|
* @format int32
|
|
17
13
|
*/
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { PaginationInfo } from '../schemas/PaginationInfo';
|
|
2
2
|
export interface DrillDownResponseDtoObject {
|
|
3
|
-
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';
|
|
4
3
|
/**
|
|
5
4
|
* @format int32
|
|
6
5
|
*/
|
|
@@ -11,7 +11,7 @@ export interface FilterValuesRequestDto {
|
|
|
11
11
|
/**
|
|
12
12
|
* Filter key to get values for (used when isCustom = false)
|
|
13
13
|
*/
|
|
14
|
-
filterKey?: 'ARMOR_ASSET_TYPE' | 'ARMOR_ASSET_URL' | 'ARMOR_ENVIRONMENT' | 'ARMOR_PRODUCT_NAME' | 'ARMOR_SUB_PRODUCT_NAME' | 'ARMOR_TOOL_SOURCE' | 'CODE_AREA' | 'COMPONENTS' | 'CUSTOM' | '
|
|
14
|
+
filterKey?: 'ARMOR_ASSET_TYPE' | 'ARMOR_ASSET_URL' | 'ARMOR_ENVIRONMENT' | 'ARMOR_PRODUCT_NAME' | 'ARMOR_SUB_PRODUCT_NAME' | 'ARMOR_TOOL_SOURCE' | 'CODE_AREA' | 'COMPONENTS' | 'CUSTOM' | 'DEPLOYMENT_TYPE' | 'ENV_ID' | 'INFRA_ID' | 'ISSUE_PRIORITY' | 'ISSUE_STATUS' | 'ISSUE_TYPE' | 'ITSM_ASSIGNMENT_GROUP' | 'ITSM_BUSINESS_SERVICE' | 'ITSM_PRIORITY' | 'ITSM_SEVERITY' | 'ITSM_URGENCY' | 'LABEL' | 'LABELS' | 'ORGANIZATION' | 'PARENT_KEY' | 'PIPELINE_NAME' | 'PIPELINE_STATUS' | 'PRIORITY' | 'PROJECT' | 'REPO' | 'ROLLBACK' | 'SERVICE_NAME' | 'SNYK_BRANCH' | 'SNYK_ENVIRONMENT' | 'SNYK_FILE_PATH' | 'SNYK_MONOREPO_PATH' | 'SNYK_ORG_ID' | 'SNYK_ORG_NAME' | 'SNYK_PROJECT_TAG' | 'SNYK_REPOSITORY' | 'SOURCE_BRANCH' | 'SPRINT_NAME' | 'STAGE_NAME' | 'STATUS' | 'TAGS' | 'TARGET_BRANCH' | 'TEAM' | 'WIZ_CLOUD_ACCOUNT_ID' | 'WIZ_LANDING_ZONE_NAME' | 'WIZ_PROJECT_ID' | 'WIZ_REGION' | 'WIZ_RESOURCE_TAG' | 'WIZ_RESOURCE_TYPE';
|
|
15
15
|
/**
|
|
16
16
|
* Integration ID
|
|
17
17
|
*/
|
|
@@ -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
|
*/
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { ImmttrDrilldownItem } from '../schemas/ImmttrDrilldownItem';
|
|
2
|
-
import type { ItsmPagerDutyDrilldownItem } from '../schemas/ItsmPagerDutyDrilldownItem';
|
|
3
2
|
import type { ItsmDrilldownItem } from '../schemas/ItsmDrilldownItem';
|
|
4
3
|
import type { ItsmDrilldownSummary } from '../schemas/ItsmDrilldownSummary';
|
|
5
4
|
import type { PaginationInfo } from '../schemas/PaginationInfo';
|
|
@@ -7,10 +6,6 @@ import type { PaginationInfo } from '../schemas/PaginationInfo';
|
|
|
7
6
|
* MTTR drilldown response with support for multiple integration types
|
|
8
7
|
*/
|
|
9
8
|
export interface MttrDrillDownResponseDto {
|
|
10
|
-
/**
|
|
11
|
-
* Application type for this response
|
|
12
|
-
*/
|
|
13
|
-
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';
|
|
14
9
|
/**
|
|
15
10
|
* Number of records in the current page
|
|
16
11
|
* @format int32
|
|
@@ -24,10 +19,6 @@ export interface MttrDrillDownResponseDto {
|
|
|
24
19
|
* Integration type for this response
|
|
25
20
|
*/
|
|
26
21
|
integrationType?: 'AI' | 'CD' | 'CI' | 'CUSTOM_INGESTION' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY' | 'TEST_MANAGEMENT';
|
|
27
|
-
/**
|
|
28
|
-
* ITSM records (ServiceNow incidents/change requests)
|
|
29
|
-
*/
|
|
30
|
-
itsmPagerDutyRecords?: ItsmPagerDutyDrilldownItem[];
|
|
31
22
|
/**
|
|
32
23
|
* ITSM records (ServiceNow incidents/change requests)
|
|
33
24
|
*/
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { IntegrationResponseDto } from '../schemas/IntegrationResponseDto';
|
|
2
1
|
import type { SortOption } from '../schemas/SortOption';
|
|
3
2
|
export interface MttrDrilldownRequest {
|
|
4
3
|
/**
|
|
@@ -15,9 +14,6 @@ export interface MttrDrilldownRequest {
|
|
|
15
14
|
};
|
|
16
15
|
};
|
|
17
16
|
groupBy?: 'assigneeId' | 'issueKey';
|
|
18
|
-
integrationResponseDTOMap?: {
|
|
19
|
-
[key: string]: IntegrationResponseDto;
|
|
20
|
-
};
|
|
21
17
|
/**
|
|
22
18
|
* @format int32
|
|
23
19
|
*/
|
|
@@ -6,7 +6,7 @@ export interface SimpleFilter {
|
|
|
6
6
|
* Filter key
|
|
7
7
|
* @example "PROJECT"
|
|
8
8
|
*/
|
|
9
|
-
filterKey?: 'ARMOR_ASSET_TYPE' | 'ARMOR_ASSET_URL' | 'ARMOR_ENVIRONMENT' | 'ARMOR_PRODUCT_NAME' | 'ARMOR_SUB_PRODUCT_NAME' | 'ARMOR_TOOL_SOURCE' | 'CODE_AREA' | 'COMPONENTS' | 'CUSTOM' | '
|
|
9
|
+
filterKey?: 'ARMOR_ASSET_TYPE' | 'ARMOR_ASSET_URL' | 'ARMOR_ENVIRONMENT' | 'ARMOR_PRODUCT_NAME' | 'ARMOR_SUB_PRODUCT_NAME' | 'ARMOR_TOOL_SOURCE' | 'CODE_AREA' | 'COMPONENTS' | 'CUSTOM' | 'DEPLOYMENT_TYPE' | 'ENV_ID' | 'INFRA_ID' | 'ISSUE_PRIORITY' | 'ISSUE_STATUS' | 'ISSUE_TYPE' | 'ITSM_ASSIGNMENT_GROUP' | 'ITSM_BUSINESS_SERVICE' | 'ITSM_PRIORITY' | 'ITSM_SEVERITY' | 'ITSM_URGENCY' | 'LABEL' | 'LABELS' | 'ORGANIZATION' | 'PARENT_KEY' | 'PIPELINE_NAME' | 'PIPELINE_STATUS' | 'PRIORITY' | 'PROJECT' | 'REPO' | 'ROLLBACK' | 'SERVICE_NAME' | 'SNYK_BRANCH' | 'SNYK_ENVIRONMENT' | 'SNYK_FILE_PATH' | 'SNYK_MONOREPO_PATH' | 'SNYK_ORG_ID' | 'SNYK_ORG_NAME' | 'SNYK_PROJECT_TAG' | 'SNYK_REPOSITORY' | 'SOURCE_BRANCH' | 'SPRINT_NAME' | 'STAGE_NAME' | 'STATUS' | 'TAGS' | 'TARGET_BRANCH' | 'TEAM' | 'WIZ_CLOUD_ACCOUNT_ID' | 'WIZ_LANDING_ZONE_NAME' | 'WIZ_PROJECT_ID' | 'WIZ_REGION' | 'WIZ_RESOURCE_TAG' | 'WIZ_RESOURCE_TYPE';
|
|
10
10
|
/**
|
|
11
11
|
* Filter ID
|
|
12
12
|
* @format int32
|
|
@@ -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
|
}
|
|
@@ -7,7 +7,7 @@ export interface TeamFilter {
|
|
|
7
7
|
applicableMetrics?: Array<'AI_INSIGHTS' | 'AVG_TIME_TO_FIRST_COMMENT' | 'BA' | 'CFR' | 'CODE_REWORK' | 'CODING_DAYS' | 'DF' | 'LINES_OF_CODE' | 'LTTC' | 'MTTR' | 'NUMBER_OF_COMMENTS_PER_PR' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'SPRINT_INSIGHTS' | 'TOTAL_OPEN_VULNERABILITIES' | 'WORK_COMPLETED'>;
|
|
8
8
|
customFilterId?: string;
|
|
9
9
|
customFilterKey?: string;
|
|
10
|
-
filterKey?: 'ARMOR_ASSET_TYPE' | 'ARMOR_ASSET_URL' | 'ARMOR_ENVIRONMENT' | 'ARMOR_PRODUCT_NAME' | 'ARMOR_SUB_PRODUCT_NAME' | 'ARMOR_TOOL_SOURCE' | 'CODE_AREA' | 'COMPONENTS' | 'CUSTOM' | '
|
|
10
|
+
filterKey?: 'ARMOR_ASSET_TYPE' | 'ARMOR_ASSET_URL' | 'ARMOR_ENVIRONMENT' | 'ARMOR_PRODUCT_NAME' | 'ARMOR_SUB_PRODUCT_NAME' | 'ARMOR_TOOL_SOURCE' | 'CODE_AREA' | 'COMPONENTS' | 'CUSTOM' | 'DEPLOYMENT_TYPE' | 'ENV_ID' | 'INFRA_ID' | 'ISSUE_PRIORITY' | 'ISSUE_STATUS' | 'ISSUE_TYPE' | 'ITSM_ASSIGNMENT_GROUP' | 'ITSM_BUSINESS_SERVICE' | 'ITSM_PRIORITY' | 'ITSM_SEVERITY' | 'ITSM_URGENCY' | 'LABEL' | 'LABELS' | 'ORGANIZATION' | 'PARENT_KEY' | 'PIPELINE_NAME' | 'PIPELINE_STATUS' | 'PRIORITY' | 'PROJECT' | 'REPO' | 'ROLLBACK' | 'SERVICE_NAME' | 'SNYK_BRANCH' | 'SNYK_ENVIRONMENT' | 'SNYK_FILE_PATH' | 'SNYK_MONOREPO_PATH' | 'SNYK_ORG_ID' | 'SNYK_ORG_NAME' | 'SNYK_PROJECT_TAG' | 'SNYK_REPOSITORY' | 'SOURCE_BRANCH' | 'SPRINT_NAME' | 'STAGE_NAME' | 'STATUS' | 'TAGS' | 'TARGET_BRANCH' | 'TEAM' | 'WIZ_CLOUD_ACCOUNT_ID' | 'WIZ_LANDING_ZONE_NAME' | 'WIZ_PROJECT_ID' | 'WIZ_REGION' | 'WIZ_RESOURCE_TAG' | 'WIZ_RESOURCE_TYPE';
|
|
11
11
|
/**
|
|
12
12
|
* @format int32
|
|
13
13
|
*/
|
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.4",
|
|
4
4
|
"description": "Harness React sei panorama service client - SEI Panorama APIs integrated with react hooks for Panorama project",
|
|
5
5
|
"author": "Harness Inc",
|
|
6
6
|
"license": "MIT",
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ITSM PagerDuty drilldown record for incidents from the incident_mgmt table
|
|
3
|
-
*/
|
|
4
|
-
export interface ItsmPagerDutyDrilldownItem {
|
|
5
|
-
/**
|
|
6
|
-
* Internal record ID from the id column
|
|
7
|
-
*/
|
|
8
|
-
id?: string;
|
|
9
|
-
/**
|
|
10
|
-
* When the incident was created from the incident_created_at column
|
|
11
|
-
* @format date-time
|
|
12
|
-
*/
|
|
13
|
-
incident_created_at?: string;
|
|
14
|
-
/**
|
|
15
|
-
* PagerDuty incident ID from the incident_id column
|
|
16
|
-
*/
|
|
17
|
-
incident_id?: string;
|
|
18
|
-
/**
|
|
19
|
-
* When the incident last changed status from the incident_last_status_at column
|
|
20
|
-
* @format date-time
|
|
21
|
-
*/
|
|
22
|
-
incident_last_status_at?: string;
|
|
23
|
-
/**
|
|
24
|
-
* When the incident was resolved from the incident_resolved_at column
|
|
25
|
-
* @format date-time
|
|
26
|
-
*/
|
|
27
|
-
incident_resolved_at?: string;
|
|
28
|
-
/**
|
|
29
|
-
* When the incident was last updated from the incident_updated_at column
|
|
30
|
-
* @format date-time
|
|
31
|
-
*/
|
|
32
|
-
incident_updated_at?: string;
|
|
33
|
-
/**
|
|
34
|
-
* Integration ID the incident belongs to from the integration_id column
|
|
35
|
-
* @format int32
|
|
36
|
-
*/
|
|
37
|
-
integration_id?: number;
|
|
38
|
-
/**
|
|
39
|
-
* Priority of the incident from the priority column
|
|
40
|
-
*/
|
|
41
|
-
priority?: string;
|
|
42
|
-
/**
|
|
43
|
-
* Resolution time in seconds: incident_resolved_at - incident_created_at
|
|
44
|
-
* @format int64
|
|
45
|
-
*/
|
|
46
|
-
resolutionTimeSeconds?: number;
|
|
47
|
-
/**
|
|
48
|
-
* ID of the service associated with the incident from the service_id column
|
|
49
|
-
*/
|
|
50
|
-
service_id?: string;
|
|
51
|
-
/**
|
|
52
|
-
* Name of the service associated with the incident from the service_name column
|
|
53
|
-
*/
|
|
54
|
-
service_name?: string;
|
|
55
|
-
/**
|
|
56
|
-
* Current status of the incident from the status column
|
|
57
|
-
*/
|
|
58
|
-
status?: string;
|
|
59
|
-
/**
|
|
60
|
-
* Short summary/title of the incident from the summary column
|
|
61
|
-
*/
|
|
62
|
-
summary?: string;
|
|
63
|
-
/**
|
|
64
|
-
* Urgency of the incident from the urgency column
|
|
65
|
-
*/
|
|
66
|
-
urgency?: string;
|
|
67
|
-
}
|