@harnessio/react-sei-panorama-service-client 0.26.5 → 0.26.6
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/useIntegrationControllerGetItsmCustomFieldsQuery.d.ts +20 -0
- package/dist/sei-panorama-service/src/services/hooks/useIntegrationControllerGetItsmCustomFieldsQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/index.d.ts +4 -0
- package/dist/sei-panorama-service/src/services/index.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/CfrConfigurationDto.d.ts +15 -0
- package/dist/sei-panorama-service/src/services/schemas/DfConfigurationDto.d.ts +12 -0
- package/dist/sei-panorama-service/src/services/schemas/FilterValuesRequestDto.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/ItsmCustomFieldDto.d.ts +21 -0
- package/dist/sei-panorama-service/src/services/schemas/ItsmCustomFieldDto.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/ItsmDrilldownItem.d.ts +94 -0
- package/dist/sei-panorama-service/src/services/schemas/ItsmDrilldownItem.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/MttrConfigurationDto.d.ts +16 -0
- package/dist/sei-panorama-service/src/services/schemas/MttrDrillDownResponseDto.d.ts +18 -0
- package/dist/sei-panorama-service/src/services/schemas/SimpleFilter.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/SummaryValue.d.ts +12 -0
- package/dist/sei-panorama-service/src/services/schemas/TeamFilter.d.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ItsmCustomFieldDto } from '../schemas/ItsmCustomFieldDto';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface IntegrationControllerGetItsmCustomFieldsQueryQueryParams {
|
|
6
|
+
/**
|
|
7
|
+
* @format int32
|
|
8
|
+
*/
|
|
9
|
+
integrationId: number;
|
|
10
|
+
}
|
|
11
|
+
export type IntegrationControllerGetItsmCustomFieldsOkResponse = ResponseWithPagination<ItsmCustomFieldDto[]>;
|
|
12
|
+
export type IntegrationControllerGetItsmCustomFieldsErrorResponse = ItsmCustomFieldDto[];
|
|
13
|
+
export interface IntegrationControllerGetItsmCustomFieldsProps extends Omit<FetcherOptions<IntegrationControllerGetItsmCustomFieldsQueryQueryParams, unknown>, 'url'> {
|
|
14
|
+
queryParams: IntegrationControllerGetItsmCustomFieldsQueryQueryParams;
|
|
15
|
+
}
|
|
16
|
+
export declare function integrationControllerGetItsmCustomFields(props: IntegrationControllerGetItsmCustomFieldsProps): Promise<IntegrationControllerGetItsmCustomFieldsOkResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* Returns a list of custom fields for a specific ITSM integration, including both incident and change request fields.
|
|
19
|
+
*/
|
|
20
|
+
export declare function useIntegrationControllerGetItsmCustomFieldsQuery(props: IntegrationControllerGetItsmCustomFieldsProps, options?: Omit<UseQueryOptions<IntegrationControllerGetItsmCustomFieldsOkResponse, IntegrationControllerGetItsmCustomFieldsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<IntegrationControllerGetItsmCustomFieldsOkResponse, IntegrationControllerGetItsmCustomFieldsErrorResponse>;
|
|
@@ -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 integrationControllerGetItsmCustomFields(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/integrations/itsm/custom_fields`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Returns a list of custom fields for a specific ITSM integration, including both incident and change request fields.
|
|
11
|
+
*/
|
|
12
|
+
export function useIntegrationControllerGetItsmCustomFieldsQuery(props, options) {
|
|
13
|
+
return useQuery(['IntegrationControllerGetItsmCustomFields', props.queryParams], ({ signal }) => integrationControllerGetItsmCustomFields(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -203,6 +203,8 @@ export type { IntegrationControllerGetIntegrationProjectsErrorResponse, Integrat
|
|
|
203
203
|
export { integrationControllerGetIntegrationProjects, useIntegrationControllerGetIntegrationProjectsQuery, } from './hooks/useIntegrationControllerGetIntegrationProjectsQuery';
|
|
204
204
|
export type { IntegrationControllerGetIntegrationReposErrorResponse, IntegrationControllerGetIntegrationReposOkResponse, IntegrationControllerGetIntegrationReposProps, IntegrationControllerGetIntegrationReposQueryQueryParams, } from './hooks/useIntegrationControllerGetIntegrationReposQuery';
|
|
205
205
|
export { integrationControllerGetIntegrationRepos, useIntegrationControllerGetIntegrationReposQuery, } from './hooks/useIntegrationControllerGetIntegrationReposQuery';
|
|
206
|
+
export type { IntegrationControllerGetItsmCustomFieldsErrorResponse, IntegrationControllerGetItsmCustomFieldsOkResponse, IntegrationControllerGetItsmCustomFieldsProps, IntegrationControllerGetItsmCustomFieldsQueryQueryParams, } from './hooks/useIntegrationControllerGetItsmCustomFieldsQuery';
|
|
207
|
+
export { integrationControllerGetItsmCustomFields, useIntegrationControllerGetItsmCustomFieldsQuery, } from './hooks/useIntegrationControllerGetItsmCustomFieldsQuery';
|
|
206
208
|
export type { IntegrationControllerListIntegrationConfigsErrorResponse, IntegrationControllerListIntegrationConfigsOkResponse, IntegrationControllerListIntegrationConfigsProps, IntegrationControllerListIntegrationConfigsQueryQueryParams, IntegrationControllerListIntegrationConfigsRequestBody, } from './hooks/useIntegrationControllerListIntegrationConfigsQuery';
|
|
207
209
|
export { integrationControllerListIntegrationConfigs, useIntegrationControllerListIntegrationConfigsQuery, } from './hooks/useIntegrationControllerListIntegrationConfigsQuery';
|
|
208
210
|
export type { IntegrationControllerListIntegrationsErrorResponse, IntegrationControllerListIntegrationsOkResponse, IntegrationControllerListIntegrationsProps, IntegrationControllerListIntegrationsQueryQueryParams, } from './hooks/useIntegrationControllerListIntegrationsQuery';
|
|
@@ -632,6 +634,8 @@ export type { IssuesPipelineExecutionResponse } from './schemas/IssuesPipelineEx
|
|
|
632
634
|
export type { IssuesPipelineExecutionResponseWrapper } from './schemas/IssuesPipelineExecutionResponseWrapper';
|
|
633
635
|
export type { IssuesPrResponse } from './schemas/IssuesPrResponse';
|
|
634
636
|
export type { IssuesPrResponseWrapper } from './schemas/IssuesPrResponseWrapper';
|
|
637
|
+
export type { ItsmCustomFieldDto } from './schemas/ItsmCustomFieldDto';
|
|
638
|
+
export type { ItsmDrilldownItem } from './schemas/ItsmDrilldownItem';
|
|
635
639
|
export type { JsonNode } from './schemas/JsonNode';
|
|
636
640
|
export type { LanguageCount } from './schemas/LanguageCount';
|
|
637
641
|
export type { LicenseSearchParams } from './schemas/LicenseSearchParams';
|
|
@@ -100,6 +100,7 @@ export { imFieldsControllerListImFields, useImFieldsControllerListImFieldsQuery,
|
|
|
100
100
|
export { integrationControllerGetFilterValues, useIntegrationControllerGetFilterValuesQuery, } from './hooks/useIntegrationControllerGetFilterValuesQuery';
|
|
101
101
|
export { integrationControllerGetIntegrationProjects, useIntegrationControllerGetIntegrationProjectsQuery, } from './hooks/useIntegrationControllerGetIntegrationProjectsQuery';
|
|
102
102
|
export { integrationControllerGetIntegrationRepos, useIntegrationControllerGetIntegrationReposQuery, } from './hooks/useIntegrationControllerGetIntegrationReposQuery';
|
|
103
|
+
export { integrationControllerGetItsmCustomFields, useIntegrationControllerGetItsmCustomFieldsQuery, } from './hooks/useIntegrationControllerGetItsmCustomFieldsQuery';
|
|
103
104
|
export { integrationControllerListIntegrationConfigs, useIntegrationControllerListIntegrationConfigsQuery, } from './hooks/useIntegrationControllerListIntegrationConfigsQuery';
|
|
104
105
|
export { integrationControllerListIntegrations, useIntegrationControllerListIntegrationsQuery, } from './hooks/useIntegrationControllerListIntegrationsQuery';
|
|
105
106
|
export { integrationDataStatusControllerGetIntegrationDataStatus, useIntegrationDataStatusControllerGetIntegrationDataStatusMutation, } from './hooks/useIntegrationDataStatusControllerGetIntegrationDataStatusMutation';
|
|
@@ -1,8 +1,23 @@
|
|
|
1
1
|
import type { EfficiencyProfileEvent } from '../schemas/EfficiencyProfileEvent';
|
|
2
2
|
import type { RatingConfig } from '../schemas/RatingConfig';
|
|
3
|
+
/**
|
|
4
|
+
* Change Failure Rate (CFR) configuration
|
|
5
|
+
*/
|
|
3
6
|
export interface CfrConfigurationDto {
|
|
7
|
+
/**
|
|
8
|
+
* Whether CFR metric is active
|
|
9
|
+
*/
|
|
4
10
|
active?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Event configuration for failed deployments/incidents (numerator). For ITSM, use events like incident_created, incident_closed, incident_resolved, etc.
|
|
13
|
+
*/
|
|
5
14
|
failureEvent?: EfficiencyProfileEvent;
|
|
15
|
+
/**
|
|
16
|
+
* Rating configuration for CFR thresholds
|
|
17
|
+
*/
|
|
6
18
|
ratingConfig?: RatingConfig;
|
|
19
|
+
/**
|
|
20
|
+
* Event configuration for total deployments (denominator). For ITSM, use events like change_request_closed, change_request_resolved, or change_request_closed_and_resolved
|
|
21
|
+
*/
|
|
7
22
|
totalEvent?: EfficiencyProfileEvent;
|
|
8
23
|
}
|
|
@@ -1,7 +1,19 @@
|
|
|
1
1
|
import type { EfficiencyProfileEvent } from '../schemas/EfficiencyProfileEvent';
|
|
2
2
|
import type { RatingConfig } from '../schemas/RatingConfig';
|
|
3
|
+
/**
|
|
4
|
+
* Deployment Frequency (DF) configuration
|
|
5
|
+
*/
|
|
3
6
|
export interface DfConfigurationDto {
|
|
7
|
+
/**
|
|
8
|
+
* Whether DF metric is active
|
|
9
|
+
*/
|
|
4
10
|
active?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Event configuration defining the data source and event type. For ITSM, use events like change_request_closed, change_request_resolved, change_request_closed_and_resolved, or change_request_updated
|
|
13
|
+
*/
|
|
5
14
|
event?: EfficiencyProfileEvent;
|
|
15
|
+
/**
|
|
16
|
+
* Rating configuration for DF thresholds
|
|
17
|
+
*/
|
|
6
18
|
ratingConfig?: RatingConfig;
|
|
7
19
|
}
|
|
@@ -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' | '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' | '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
|
*/
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ITSM Custom Field information
|
|
3
|
+
*/
|
|
4
|
+
export interface ItsmCustomFieldDto {
|
|
5
|
+
/**
|
|
6
|
+
* Field key
|
|
7
|
+
*/
|
|
8
|
+
fieldKey?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Field type
|
|
11
|
+
*/
|
|
12
|
+
fieldType?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Field name
|
|
15
|
+
*/
|
|
16
|
+
name?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Record type indicating whether this field belongs to an Incident or Change Request
|
|
19
|
+
*/
|
|
20
|
+
recordType?: 'CHANGE_REQUEST' | 'INCIDENT';
|
|
21
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ITSM drilldown record for incidents and change requests
|
|
3
|
+
*/
|
|
4
|
+
export interface ItsmDrilldownItem {
|
|
5
|
+
/**
|
|
6
|
+
* Application name associated with the record
|
|
7
|
+
*/
|
|
8
|
+
applicationName?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Approval group for the record
|
|
11
|
+
*/
|
|
12
|
+
approvalGroup?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Assignment group responsible for the record
|
|
15
|
+
*/
|
|
16
|
+
assignmentGroup?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Business service affected
|
|
19
|
+
*/
|
|
20
|
+
businessService?: string;
|
|
21
|
+
/**
|
|
22
|
+
* When the record was closed
|
|
23
|
+
* @format date-time
|
|
24
|
+
*/
|
|
25
|
+
closedAt?: string;
|
|
26
|
+
/**
|
|
27
|
+
* When the record was created
|
|
28
|
+
* @format date-time
|
|
29
|
+
*/
|
|
30
|
+
createdAt?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Environment (e.g., Production, Staging)
|
|
33
|
+
*/
|
|
34
|
+
environment?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Record ID (e.g., INC0012345 for incidents, CHG0012345 for change requests)
|
|
37
|
+
*/
|
|
38
|
+
id?: string;
|
|
39
|
+
/**
|
|
40
|
+
* Whether this record represents a failure (for CFR)
|
|
41
|
+
*/
|
|
42
|
+
isFailure?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Owner of the record (incident owner or change owner)
|
|
45
|
+
*/
|
|
46
|
+
owner?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Priority of the record
|
|
49
|
+
*/
|
|
50
|
+
priority?: string;
|
|
51
|
+
/**
|
|
52
|
+
* Record type: INCIDENT or CHANGE_REQUEST
|
|
53
|
+
*/
|
|
54
|
+
recordType?: 'CHANGE_REQUEST' | 'INCIDENT';
|
|
55
|
+
/**
|
|
56
|
+
* Resolution time in seconds (for MTTR)
|
|
57
|
+
* @format int64
|
|
58
|
+
*/
|
|
59
|
+
resolutionTimeSeconds?: number;
|
|
60
|
+
/**
|
|
61
|
+
* When the record was resolved
|
|
62
|
+
* @format date-time
|
|
63
|
+
*/
|
|
64
|
+
resolvedAt?: string;
|
|
65
|
+
/**
|
|
66
|
+
* Risk level (for change requests)
|
|
67
|
+
*/
|
|
68
|
+
risk?: string;
|
|
69
|
+
/**
|
|
70
|
+
* Current status of the record
|
|
71
|
+
*/
|
|
72
|
+
status?: string;
|
|
73
|
+
/**
|
|
74
|
+
* Support group handling the record
|
|
75
|
+
*/
|
|
76
|
+
supportGroup?: string;
|
|
77
|
+
/**
|
|
78
|
+
* Type/category of the record
|
|
79
|
+
*/
|
|
80
|
+
type?: string;
|
|
81
|
+
/**
|
|
82
|
+
* When the record was last updated
|
|
83
|
+
* @format date-time
|
|
84
|
+
*/
|
|
85
|
+
updatedAt?: string;
|
|
86
|
+
/**
|
|
87
|
+
* Urgency level (for incidents)
|
|
88
|
+
*/
|
|
89
|
+
urgency?: string;
|
|
90
|
+
/**
|
|
91
|
+
* Direct URL to view the record in ServiceNow
|
|
92
|
+
*/
|
|
93
|
+
url?: string;
|
|
94
|
+
}
|
|
@@ -1,7 +1,23 @@
|
|
|
1
1
|
import type { EfficiencyProfileEvent } from '../schemas/EfficiencyProfileEvent';
|
|
2
2
|
import type { RatingConfig } from '../schemas/RatingConfig';
|
|
3
|
+
/**
|
|
4
|
+
* Mean Time to Restore (MTTR) configuration
|
|
5
|
+
*/
|
|
3
6
|
export interface MttrConfigurationDto {
|
|
7
|
+
/**
|
|
8
|
+
* Whether MTTR metric is active
|
|
9
|
+
*/
|
|
4
10
|
active?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Event configuration defining the data source and event type. For ITSM, use events like incident_closed, incident_resolved, or incident_closed_and_resolved
|
|
13
|
+
*/
|
|
5
14
|
event?: EfficiencyProfileEvent;
|
|
15
|
+
/**
|
|
16
|
+
* ITSM-specific: Include incidents that were created or updated during the selected time range. Defaults to UPDATED.
|
|
17
|
+
*/
|
|
18
|
+
itsmTimeRangeType?: 'CREATED' | 'UPDATED';
|
|
19
|
+
/**
|
|
20
|
+
* Rating configuration for MTTR thresholds
|
|
21
|
+
*/
|
|
6
22
|
ratingConfig?: RatingConfig;
|
|
7
23
|
}
|
|
@@ -1,11 +1,29 @@
|
|
|
1
1
|
import type { ImmttrDrilldownItem } from '../schemas/ImmttrDrilldownItem';
|
|
2
|
+
import type { ItsmDrilldownItem } from '../schemas/ItsmDrilldownItem';
|
|
2
3
|
import type { PaginationInfo } from '../schemas/PaginationInfo';
|
|
4
|
+
/**
|
|
5
|
+
* MTTR drilldown response with support for multiple integration types
|
|
6
|
+
*/
|
|
3
7
|
export interface MttrDrillDownResponseDto {
|
|
4
8
|
/**
|
|
9
|
+
* Number of records in the current page
|
|
5
10
|
* @format int32
|
|
6
11
|
*/
|
|
7
12
|
count?: number;
|
|
13
|
+
/**
|
|
14
|
+
* Issue Management records (Jira, ADO Boards)
|
|
15
|
+
*/
|
|
8
16
|
imRecords?: ImmttrDrilldownItem[];
|
|
17
|
+
/**
|
|
18
|
+
* Integration type for this response
|
|
19
|
+
*/
|
|
9
20
|
integrationType?: 'AI' | 'CD' | 'CI' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY';
|
|
21
|
+
/**
|
|
22
|
+
* ITSM records (ServiceNow incidents/change requests)
|
|
23
|
+
*/
|
|
24
|
+
itsmRecords?: ItsmDrilldownItem[];
|
|
25
|
+
/**
|
|
26
|
+
* Pagination details
|
|
27
|
+
*/
|
|
10
28
|
pagination?: PaginationInfo;
|
|
11
29
|
}
|
|
@@ -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' | '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' | '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
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import type { RatingDto } from '../schemas/RatingDto';
|
|
2
2
|
import type { Stage } from '../schemas/Stage';
|
|
3
3
|
export interface SummaryValue {
|
|
4
|
+
/**
|
|
5
|
+
* @format double
|
|
6
|
+
*/
|
|
7
|
+
avgResolutionTimeHours?: number;
|
|
4
8
|
changeFailureRateRating?: RatingDto;
|
|
5
9
|
/**
|
|
6
10
|
* @format int32
|
|
@@ -11,6 +15,10 @@ export interface SummaryValue {
|
|
|
11
15
|
* @format int32
|
|
12
16
|
*/
|
|
13
17
|
failureCount?: number;
|
|
18
|
+
/**
|
|
19
|
+
* @format int32
|
|
20
|
+
*/
|
|
21
|
+
incidentsResolved?: number;
|
|
14
22
|
/**
|
|
15
23
|
* @format double
|
|
16
24
|
*/
|
|
@@ -32,4 +40,8 @@ export interface SummaryValue {
|
|
|
32
40
|
p95?: number;
|
|
33
41
|
p95Rating?: RatingDto;
|
|
34
42
|
stageBreakdown?: Stage[];
|
|
43
|
+
/**
|
|
44
|
+
* @format int32
|
|
45
|
+
*/
|
|
46
|
+
totalIncidentsCreated?: number;
|
|
35
47
|
}
|
|
@@ -7,7 +7,7 @@ export interface TeamFilter {
|
|
|
7
7
|
applicableMetrics?: Array<'AVG_TIME_TO_FIRST_COMMENT' | 'BA' | 'CFR' | 'CODING_DAYS' | 'DF' | 'LINES_OF_CODE' | 'LTTC' | 'MTTR' | 'NUMBER_OF_COMMENTS_PER_PR' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'SPRINT_INSIGHTS' | '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' | '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' | '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.26.
|
|
3
|
+
"version": "0.26.6",
|
|
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",
|