@harnessio/react-sei-panorama-service-client 0.21.19 → 0.21.20
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/useEfficiencyControllerMttrDrilldownQuery.d.ts +22 -0
- package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerMttrDrilldownQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/index.d.ts +5 -0
- package/dist/sei-panorama-service/src/services/index.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/BaExpressionLeafDto.d.ts +0 -2
- package/dist/sei-panorama-service/src/services/schemas/FilterValuesRequestDto.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/ImmttrDrilldownItem.d.ts +28 -0
- package/dist/sei-panorama-service/src/services/schemas/ImmttrDrilldownItem.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/MttrDrillDownResponseDto.d.ts +11 -0
- package/dist/sei-panorama-service/src/services/schemas/MttrDrillDownResponseDto.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/MttrDrilldownRequest.d.ts +27 -0
- package/dist/sei-panorama-service/src/services/schemas/MttrDrilldownRequest.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/TeamFilter.d.ts +2 -4
- package/package.json +1 -1
package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerMttrDrilldownQuery.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { MttrDrillDownResponseDto } from '../schemas/MttrDrillDownResponseDto';
|
|
3
|
+
import type { MttrDrilldownRequest } from '../schemas/MttrDrilldownRequest';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface EfficiencyControllerMttrDrilldownQueryQueryParams {
|
|
7
|
+
account: string;
|
|
8
|
+
projectIdentifier: string;
|
|
9
|
+
orgIdentifier: string;
|
|
10
|
+
}
|
|
11
|
+
export type EfficiencyControllerMttrDrilldownRequestBody = MttrDrilldownRequest;
|
|
12
|
+
export type EfficiencyControllerMttrDrilldownOkResponse = ResponseWithPagination<MttrDrillDownResponseDto>;
|
|
13
|
+
export type EfficiencyControllerMttrDrilldownErrorResponse = string;
|
|
14
|
+
export interface EfficiencyControllerMttrDrilldownProps extends Omit<FetcherOptions<EfficiencyControllerMttrDrilldownQueryQueryParams, EfficiencyControllerMttrDrilldownRequestBody>, 'url'> {
|
|
15
|
+
queryParams: EfficiencyControllerMttrDrilldownQueryQueryParams;
|
|
16
|
+
body: EfficiencyControllerMttrDrilldownRequestBody;
|
|
17
|
+
}
|
|
18
|
+
export declare function efficiencyControllerMttrDrilldown(props: EfficiencyControllerMttrDrilldownProps): Promise<EfficiencyControllerMttrDrilldownOkResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* Returns detailed issue resolution data for MTTR analysis with pagination support
|
|
21
|
+
*/
|
|
22
|
+
export declare function useEfficiencyControllerMttrDrilldownQuery(props: EfficiencyControllerMttrDrilldownProps, options?: Omit<UseQueryOptions<EfficiencyControllerMttrDrilldownOkResponse, EfficiencyControllerMttrDrilldownErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<EfficiencyControllerMttrDrilldownOkResponse, string>;
|
package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerMttrDrilldownQuery.js
ADDED
|
@@ -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 efficiencyControllerMttrDrilldown(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/insights/efficiency/mttr/drilldown`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Returns detailed issue resolution data for MTTR analysis with pagination support
|
|
11
|
+
*/
|
|
12
|
+
export function useEfficiencyControllerMttrDrilldownQuery(props, options) {
|
|
13
|
+
return useQuery(['EfficiencyControllerMttrDrilldown', props.queryParams, props.body], ({ signal }) => efficiencyControllerMttrDrilldown(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -125,6 +125,8 @@ export type { EfficiencyControllerLeadTimeStagesErrorResponse, EfficiencyControl
|
|
|
125
125
|
export { efficiencyControllerLeadTimeStages, useEfficiencyControllerLeadTimeStagesQuery, } from './hooks/useEfficiencyControllerLeadTimeStagesQuery';
|
|
126
126
|
export type { EfficiencyControllerMttrBreakdownErrorResponse, EfficiencyControllerMttrBreakdownOkResponse, EfficiencyControllerMttrBreakdownProps, EfficiencyControllerMttrBreakdownQueryQueryParams, EfficiencyControllerMttrBreakdownRequestBody, } from './hooks/useEfficiencyControllerMttrBreakdownQuery';
|
|
127
127
|
export { efficiencyControllerMttrBreakdown, useEfficiencyControllerMttrBreakdownQuery, } from './hooks/useEfficiencyControllerMttrBreakdownQuery';
|
|
128
|
+
export type { EfficiencyControllerMttrDrilldownErrorResponse, EfficiencyControllerMttrDrilldownOkResponse, EfficiencyControllerMttrDrilldownProps, EfficiencyControllerMttrDrilldownQueryQueryParams, EfficiencyControllerMttrDrilldownRequestBody, } from './hooks/useEfficiencyControllerMttrDrilldownQuery';
|
|
129
|
+
export { efficiencyControllerMttrDrilldown, useEfficiencyControllerMttrDrilldownQuery, } from './hooks/useEfficiencyControllerMttrDrilldownQuery';
|
|
128
130
|
export type { EfficiencyControllerMttrErrorResponse, EfficiencyControllerMttrOkResponse, EfficiencyControllerMttrProps, EfficiencyControllerMttrQueryQueryParams, EfficiencyControllerMttrRequestBody, } from './hooks/useEfficiencyControllerMttrQuery';
|
|
129
131
|
export { efficiencyControllerMttr, useEfficiencyControllerMttrQuery, } from './hooks/useEfficiencyControllerMttrQuery';
|
|
130
132
|
export type { EfficiencyControllerSummaryErrorResponse, EfficiencyControllerSummaryOkResponse, EfficiencyControllerSummaryProps, EfficiencyControllerSummaryQueryQueryParams, EfficiencyControllerSummaryRequestBody, } from './hooks/useEfficiencyControllerSummaryQuery';
|
|
@@ -371,6 +373,7 @@ export type { GroupedTeamFiltersResponseDto } from './schemas/GroupedTeamFilters
|
|
|
371
373
|
export type { ImFieldDto } from './schemas/ImFieldDto';
|
|
372
374
|
export type { ImFieldsRequestDto } from './schemas/ImFieldsRequestDto';
|
|
373
375
|
export type { ImFieldsResponseDto } from './schemas/ImFieldsResponseDto';
|
|
376
|
+
export type { ImmttrDrilldownItem } from './schemas/ImmttrDrilldownItem';
|
|
374
377
|
export type { IndividualDrilldownData } from './schemas/IndividualDrilldownData';
|
|
375
378
|
export type { IndividualDrilldownDataPoint } from './schemas/IndividualDrilldownDataPoint';
|
|
376
379
|
export type { IndividualDrilldownDataPointV3 } from './schemas/IndividualDrilldownDataPointV3';
|
|
@@ -407,6 +410,8 @@ export type { MinimalTeamHierarchyResponseDto } from './schemas/MinimalTeamHiera
|
|
|
407
410
|
export type { MonthlyLicenseUsageResponseDto } from './schemas/MonthlyLicenseUsageResponseDto';
|
|
408
411
|
export type { MttrConfigurationDto } from './schemas/MttrConfigurationDto';
|
|
409
412
|
export type { MttrDataPoint } from './schemas/MttrDataPoint';
|
|
413
|
+
export type { MttrDrillDownResponseDto } from './schemas/MttrDrillDownResponseDto';
|
|
414
|
+
export type { MttrDrilldownRequest } from './schemas/MttrDrilldownRequest';
|
|
410
415
|
export type { MttrMetric } from './schemas/MttrMetric';
|
|
411
416
|
export type { OrgTreeCreateRequestDto } from './schemas/OrgTreeCreateRequestDto';
|
|
412
417
|
export type { OrgTreePreviewRequestDto } from './schemas/OrgTreePreviewRequestDto';
|
|
@@ -61,6 +61,7 @@ export { efficiencyControllerLeadTimeDrilldown, useEfficiencyControllerLeadTimeD
|
|
|
61
61
|
export { efficiencyControllerLeadTime, useEfficiencyControllerLeadTimeQuery, } from './hooks/useEfficiencyControllerLeadTimeQuery';
|
|
62
62
|
export { efficiencyControllerLeadTimeStages, useEfficiencyControllerLeadTimeStagesQuery, } from './hooks/useEfficiencyControllerLeadTimeStagesQuery';
|
|
63
63
|
export { efficiencyControllerMttrBreakdown, useEfficiencyControllerMttrBreakdownQuery, } from './hooks/useEfficiencyControllerMttrBreakdownQuery';
|
|
64
|
+
export { efficiencyControllerMttrDrilldown, useEfficiencyControllerMttrDrilldownQuery, } from './hooks/useEfficiencyControllerMttrDrilldownQuery';
|
|
64
65
|
export { efficiencyControllerMttr, useEfficiencyControllerMttrQuery, } from './hooks/useEfficiencyControllerMttrQuery';
|
|
65
66
|
export { efficiencyControllerSummary, useEfficiencyControllerSummaryQuery, } from './hooks/useEfficiencyControllerSummaryQuery';
|
|
66
67
|
export { efficiencyProfileControllerCreateProfile, useEfficiencyProfileControllerCreateProfileMutation, } from './hooks/useEfficiencyProfileControllerCreateProfileMutation';
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { JsonNode } from '../schemas/JsonNode';
|
|
2
2
|
export interface BaExpressionLeafDto {
|
|
3
|
-
customFilterKey?: string;
|
|
4
3
|
/**
|
|
5
4
|
* @format uuid
|
|
6
5
|
*/
|
|
@@ -10,7 +9,6 @@ export interface BaExpressionLeafDto {
|
|
|
10
9
|
* @format uuid
|
|
11
10
|
*/
|
|
12
11
|
id?: string;
|
|
13
|
-
isCustom?: boolean;
|
|
14
12
|
metadata?: JsonNode;
|
|
15
13
|
operator: 'CONTAINS' | 'ENDS_WITH' | 'EQUALS' | 'NOT_CONTAINS' | 'NOT_EQUALS' | 'STARTS_WITH';
|
|
16
14
|
values?: string[];
|
|
@@ -6,7 +6,7 @@ export interface FilterValuesRequestDto {
|
|
|
6
6
|
/**
|
|
7
7
|
* Filter key to get values for (used when isCustom = false)
|
|
8
8
|
*/
|
|
9
|
-
filterKey?: 'CODE_AREA' | '
|
|
9
|
+
filterKey?: 'CODE_AREA' | 'DEPLOYMENT_TYPE' | 'ENV_ID' | 'INFRA_ID' | 'ISSUE_PRIORITY' | 'ISSUE_STATUS' | 'ISSUE_TYPE' | 'LABEL' | 'LABELS' | 'PIPELINE_NAME' | 'PIPELINE_STATUS' | 'PRIORITY' | 'PROJECT' | 'REPO' | 'ROLLBACK' | 'SERVICE_NAME' | 'SOURCE_BRANCH' | 'SPRINT_NAME' | 'STAGE_NAME' | 'STATUS' | 'TAGS' | 'TARGET_BRANCH' | 'TEAM';
|
|
10
10
|
/**
|
|
11
11
|
* Integration ID
|
|
12
12
|
*/
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export interface ImmttrDrilldownItem {
|
|
2
|
+
assignee?: string;
|
|
3
|
+
assigneeId?: string;
|
|
4
|
+
/**
|
|
5
|
+
* @format double
|
|
6
|
+
*/
|
|
7
|
+
avgResolutionTime?: number;
|
|
8
|
+
/**
|
|
9
|
+
* @format date-time
|
|
10
|
+
*/
|
|
11
|
+
endTime?: string;
|
|
12
|
+
issueKey?: string;
|
|
13
|
+
issueTitle?: string;
|
|
14
|
+
issueUrl?: string;
|
|
15
|
+
/**
|
|
16
|
+
* @format int64
|
|
17
|
+
*/
|
|
18
|
+
resolutionTime?: number;
|
|
19
|
+
/**
|
|
20
|
+
* @format date-time
|
|
21
|
+
*/
|
|
22
|
+
startTime?: string;
|
|
23
|
+
status?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @format int32
|
|
26
|
+
*/
|
|
27
|
+
ticketCount?: number;
|
|
28
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ImmttrDrilldownItem } from '../schemas/ImmttrDrilldownItem';
|
|
2
|
+
import type { PaginationInfo } from '../schemas/PaginationInfo';
|
|
3
|
+
export interface MttrDrillDownResponseDto {
|
|
4
|
+
/**
|
|
5
|
+
* @format int32
|
|
6
|
+
*/
|
|
7
|
+
count?: number;
|
|
8
|
+
imRecords?: ImmttrDrilldownItem[];
|
|
9
|
+
integrationType?: 'CD' | 'CI' | 'IM' | 'ITSM' | 'SCM';
|
|
10
|
+
pagination?: PaginationInfo;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { SortOption } from '../schemas/SortOption';
|
|
2
|
+
export interface MttrDrilldownRequest {
|
|
3
|
+
/**
|
|
4
|
+
* @format date-time
|
|
5
|
+
*/
|
|
6
|
+
dateEnd: string;
|
|
7
|
+
/**
|
|
8
|
+
* @format date-time
|
|
9
|
+
*/
|
|
10
|
+
dateStart: string;
|
|
11
|
+
filterObject?: {
|
|
12
|
+
[key: string]: {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
groupBy?: 'assigneeId' | 'issueKey';
|
|
17
|
+
/**
|
|
18
|
+
* @format int32
|
|
19
|
+
*/
|
|
20
|
+
page?: number;
|
|
21
|
+
/**
|
|
22
|
+
* @format int32
|
|
23
|
+
*/
|
|
24
|
+
pageSize?: number;
|
|
25
|
+
sortOption?: SortOption;
|
|
26
|
+
teamRefId: string;
|
|
27
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export interface TeamFilter {
|
|
2
|
-
applicableMetrics?: Array<'
|
|
3
|
-
|
|
4
|
-
filterKey?: 'CODE_AREA' | 'CUSTOM' | 'DEPLOYMENT_TYPE' | 'ENV_ID' | 'INFRA_ID' | 'ISSUE_PRIORITY' | 'ISSUE_STATUS' | 'ISSUE_TYPE' | 'LABEL' | 'LABELS' | 'PIPELINE_NAME' | 'PIPELINE_STATUS' | 'PRIORITY' | 'PROJECT' | 'REPO' | 'ROLLBACK' | 'SERVICE_NAME' | 'SOURCE_BRANCH' | 'SPRINT_NAME' | 'STAGE_NAME' | 'STATUS' | 'TAGS' | 'TARGET_BRANCH' | 'TEAM';
|
|
2
|
+
applicableMetrics?: Array<'BA' | 'CFR' | 'DF' | 'LTTC' | 'MTTR' | 'PRODUCTIVITY'>;
|
|
3
|
+
filterKey?: 'CODE_AREA' | 'DEPLOYMENT_TYPE' | 'ENV_ID' | 'INFRA_ID' | 'ISSUE_PRIORITY' | 'ISSUE_STATUS' | 'ISSUE_TYPE' | 'LABEL' | 'LABELS' | 'PIPELINE_NAME' | 'PIPELINE_STATUS' | 'PRIORITY' | 'PROJECT' | 'REPO' | 'ROLLBACK' | 'SERVICE_NAME' | 'SOURCE_BRANCH' | 'SPRINT_NAME' | 'STAGE_NAME' | 'STATUS' | 'TAGS' | 'TARGET_BRANCH' | 'TEAM';
|
|
5
4
|
/**
|
|
6
5
|
* @format int32
|
|
7
6
|
*/
|
|
@@ -11,7 +10,6 @@ export interface TeamFilter {
|
|
|
11
10
|
*/
|
|
12
11
|
integrationId?: number;
|
|
13
12
|
integrationName?: string;
|
|
14
|
-
isCustom?: boolean;
|
|
15
13
|
operator?: 'contains' | 'ends_with' | 'equals' | 'in' | 'not_contains' | 'not_equals' | 'not_in' | 'starts_with';
|
|
16
14
|
/**
|
|
17
15
|
* @format int32
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@harnessio/react-sei-panorama-service-client",
|
|
3
|
-
"version": "0.21.
|
|
3
|
+
"version": "0.21.20",
|
|
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",
|