@harnessio/react-sei-panorama-service-client 0.31.4 → 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/index.d.ts +7 -0
- package/dist/sei-panorama-service/src/services/index.js +1 -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/DrillDownRequest.d.ts +4 -0
- package/dist/sei-panorama-service/src/services/schemas/DrillDownResponseDtoObject.d.ts +1 -0
- package/dist/sei-panorama-service/src/services/schemas/FilterValuesRequestDto.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/ItsmPagerDutyDrilldownItem.d.ts +71 -0
- package/dist/sei-panorama-service/src/services/schemas/ItsmPagerDutyDrilldownItem.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/MttrDrillDownResponseDto.d.ts +9 -0
- package/dist/sei-panorama-service/src/services/schemas/MttrDrilldownRequest.d.ts +4 -0
- package/dist/sei-panorama-service/src/services/schemas/SimpleFilter.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/TeamFilter.d.ts +1 -1
- 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
|
+
}
|
|
@@ -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';
|
|
@@ -665,6 +667,9 @@ export type { AiAdoptionMetricsRequestDto } from './schemas/AiAdoptionMetricsReq
|
|
|
665
667
|
export type { AiAdoptionMetricsResponseDto } from './schemas/AiAdoptionMetricsResponseDto';
|
|
666
668
|
export type { AiAdoptionSummaryRequestDto } from './schemas/AiAdoptionSummaryRequestDto';
|
|
667
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';
|
|
668
673
|
export type { AiCombinedInsightsRequestDto } from './schemas/AiCombinedInsightsRequestDto';
|
|
669
674
|
export type { AiEngineeringImpactBreakdownData } from './schemas/AiEngineeringImpactBreakdownData';
|
|
670
675
|
export type { AiEngineeringImpactBreakdownItem } from './schemas/AiEngineeringImpactBreakdownItem';
|
|
@@ -688,6 +693,7 @@ export type { AiprVelocitySummaryRequestDto } from './schemas/AiprVelocitySummar
|
|
|
688
693
|
export type { AiprVelocitySummaryResponseDto } from './schemas/AiprVelocitySummaryResponseDto';
|
|
689
694
|
export type { ApiError } from './schemas/ApiError';
|
|
690
695
|
export type { ApiErrorResponse } from './schemas/ApiErrorResponse';
|
|
696
|
+
export type { ApiResponseAiCodeLifecycleData } from './schemas/ApiResponseAiCodeLifecycleData';
|
|
691
697
|
export type { ApiResponseAiEngineeringImpactBreakdownData } from './schemas/ApiResponseAiEngineeringImpactBreakdownData';
|
|
692
698
|
export type { ApiResponseAiEngineeringImpactSummaryData } from './schemas/ApiResponseAiEngineeringImpactSummaryData';
|
|
693
699
|
export type { ApiResponseAiSummaryData } from './schemas/ApiResponseAiSummaryData';
|
|
@@ -921,6 +927,7 @@ export type { IssuesPrResponseWrapper } from './schemas/IssuesPrResponseWrapper'
|
|
|
921
927
|
export type { ItsmCustomFieldDto } from './schemas/ItsmCustomFieldDto';
|
|
922
928
|
export type { ItsmDrilldownItem } from './schemas/ItsmDrilldownItem';
|
|
923
929
|
export type { ItsmDrilldownSummary } from './schemas/ItsmDrilldownSummary';
|
|
930
|
+
export type { ItsmPagerDutyDrilldownItem } from './schemas/ItsmPagerDutyDrilldownItem';
|
|
924
931
|
export type { JobDetailDto } from './schemas/JobDetailDto';
|
|
925
932
|
export type { JsonNode } from './schemas/JsonNode';
|
|
926
933
|
export type { LanguageCount } from './schemas/LanguageCount';
|
|
@@ -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';
|
|
@@ -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 {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { IntegrationResponseDto } from '../schemas/IntegrationResponseDto';
|
|
1
2
|
import type { SortOption } from '../schemas/SortOption';
|
|
2
3
|
export interface DrillDownRequest {
|
|
3
4
|
/**
|
|
@@ -8,6 +9,9 @@ export interface DrillDownRequest {
|
|
|
8
9
|
* @format date-time
|
|
9
10
|
*/
|
|
10
11
|
dateStart: string;
|
|
12
|
+
integrationResponseDTOMap?: {
|
|
13
|
+
[key: string]: IntegrationResponseDto;
|
|
14
|
+
};
|
|
11
15
|
/**
|
|
12
16
|
* @format int32
|
|
13
17
|
*/
|
|
@@ -1,5 +1,6 @@
|
|
|
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';
|
|
3
4
|
/**
|
|
4
5
|
* @format int32
|
|
5
6
|
*/
|
|
@@ -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' | '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';
|
|
14
|
+
filterKey?: 'ARMOR_ASSET_TYPE' | 'ARMOR_ASSET_URL' | 'ARMOR_ENVIRONMENT' | 'ARMOR_PRODUCT_NAME' | 'ARMOR_SUB_PRODUCT_NAME' | 'ARMOR_TOOL_SOURCE' | 'CODE_AREA' | 'COMPONENTS' | 'CUSTOM' | 'CUSTOM_PAGERDUTY' | 'DEPLOYMENT_TYPE' | 'ENV_ID' | 'INFRA_ID' | 'ISSUE_PRIORITY' | 'ISSUE_STATUS' | 'ISSUE_TYPE' | 'ITSM_ASSIGNMENT_GROUP' | 'ITSM_BUSINESS_SERVICE' | 'ITSM_PAGERDUTY_PRIORITY' | 'ITSM_PAGERDUTY_SERVICE_NAME' | 'ITSM_PAGERDUTY_STATUS' | 'ITSM_PAGERDUTY_URGENCY' | '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
|
*/
|
|
@@ -0,0 +1,71 @@
|
|
|
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
|
+
/**
|
|
68
|
+
* Incident URL
|
|
69
|
+
*/
|
|
70
|
+
url?: string;
|
|
71
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ImmttrDrilldownItem } from '../schemas/ImmttrDrilldownItem';
|
|
2
|
+
import type { ItsmPagerDutyDrilldownItem } from '../schemas/ItsmPagerDutyDrilldownItem';
|
|
2
3
|
import type { ItsmDrilldownItem } from '../schemas/ItsmDrilldownItem';
|
|
3
4
|
import type { ItsmDrilldownSummary } from '../schemas/ItsmDrilldownSummary';
|
|
4
5
|
import type { PaginationInfo } from '../schemas/PaginationInfo';
|
|
@@ -6,6 +7,10 @@ import type { PaginationInfo } from '../schemas/PaginationInfo';
|
|
|
6
7
|
* MTTR drilldown response with support for multiple integration types
|
|
7
8
|
*/
|
|
8
9
|
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';
|
|
9
14
|
/**
|
|
10
15
|
* Number of records in the current page
|
|
11
16
|
* @format int32
|
|
@@ -19,6 +24,10 @@ export interface MttrDrillDownResponseDto {
|
|
|
19
24
|
* Integration type for this response
|
|
20
25
|
*/
|
|
21
26
|
integrationType?: 'AI' | 'CD' | 'CI' | 'CUSTOM_INGESTION' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY' | 'TEST_MANAGEMENT';
|
|
27
|
+
/**
|
|
28
|
+
* ITSM records (ServiceNow incidents/change requests)
|
|
29
|
+
*/
|
|
30
|
+
itsmPagerDutyRecords?: ItsmPagerDutyDrilldownItem[];
|
|
22
31
|
/**
|
|
23
32
|
* ITSM records (ServiceNow incidents/change requests)
|
|
24
33
|
*/
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { IntegrationResponseDto } from '../schemas/IntegrationResponseDto';
|
|
1
2
|
import type { SortOption } from '../schemas/SortOption';
|
|
2
3
|
export interface MttrDrilldownRequest {
|
|
3
4
|
/**
|
|
@@ -14,6 +15,9 @@ export interface MttrDrilldownRequest {
|
|
|
14
15
|
};
|
|
15
16
|
};
|
|
16
17
|
groupBy?: 'assigneeId' | 'issueKey';
|
|
18
|
+
integrationResponseDTOMap?: {
|
|
19
|
+
[key: string]: IntegrationResponseDto;
|
|
20
|
+
};
|
|
17
21
|
/**
|
|
18
22
|
* @format int32
|
|
19
23
|
*/
|
|
@@ -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' | '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';
|
|
9
|
+
filterKey?: 'ARMOR_ASSET_TYPE' | 'ARMOR_ASSET_URL' | 'ARMOR_ENVIRONMENT' | 'ARMOR_PRODUCT_NAME' | 'ARMOR_SUB_PRODUCT_NAME' | 'ARMOR_TOOL_SOURCE' | 'CODE_AREA' | 'COMPONENTS' | 'CUSTOM' | 'CUSTOM_PAGERDUTY' | 'DEPLOYMENT_TYPE' | 'ENV_ID' | 'INFRA_ID' | 'ISSUE_PRIORITY' | 'ISSUE_STATUS' | 'ISSUE_TYPE' | 'ITSM_ASSIGNMENT_GROUP' | 'ITSM_BUSINESS_SERVICE' | 'ITSM_PAGERDUTY_PRIORITY' | 'ITSM_PAGERDUTY_SERVICE_NAME' | 'ITSM_PAGERDUTY_STATUS' | 'ITSM_PAGERDUTY_URGENCY' | '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
|
|
@@ -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' | '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
|
+
filterKey?: 'ARMOR_ASSET_TYPE' | 'ARMOR_ASSET_URL' | 'ARMOR_ENVIRONMENT' | 'ARMOR_PRODUCT_NAME' | 'ARMOR_SUB_PRODUCT_NAME' | 'ARMOR_TOOL_SOURCE' | 'CODE_AREA' | 'COMPONENTS' | 'CUSTOM' | 'CUSTOM_PAGERDUTY' | 'DEPLOYMENT_TYPE' | 'ENV_ID' | 'INFRA_ID' | 'ISSUE_PRIORITY' | 'ISSUE_STATUS' | 'ISSUE_TYPE' | 'ITSM_ASSIGNMENT_GROUP' | 'ITSM_BUSINESS_SERVICE' | 'ITSM_PAGERDUTY_PRIORITY' | 'ITSM_PAGERDUTY_SERVICE_NAME' | 'ITSM_PAGERDUTY_STATUS' | 'ITSM_PAGERDUTY_URGENCY' | '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.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",
|