@harnessio/react-sei-panorama-service-client 0.10.17 → 0.10.19
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/useDoraControllerLeadTimeDrilldownFiltersQuery.d.ts +22 -0
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerLeadTimeDrilldownFiltersQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerLeadTimeDrilldownQuery.d.ts +22 -0
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerLeadTimeDrilldownQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useProductivityControllerGetFeatureBreakdownQuery.d.ts +20 -0
- package/dist/sei-panorama-service/src/services/hooks/useProductivityControllerGetFeatureBreakdownQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/index.d.ts +17 -0
- package/dist/sei-panorama-service/src/services/index.js +3 -0
- package/dist/sei-panorama-service/src/services/schemas/CdDeploymentData.d.ts +68 -0
- package/dist/sei-panorama-service/src/services/schemas/CdDeploymentData.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/CiPipelineData.d.ts +56 -0
- package/dist/sei-panorama-service/src/services/schemas/CiPipelineData.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/DoraMetricDrilldownFiltersResponse.d.ts +3 -0
- package/dist/sei-panorama-service/src/services/schemas/DoraMetricDrilldownFiltersResponse.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/DoraMetricDrilldownRequest.d.ts +14 -0
- package/dist/sei-panorama-service/src/services/schemas/DoraMetricDrilldownRequest.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/DoraMetricDrilldownResponse.d.ts +42 -0
- package/dist/sei-panorama-service/src/services/schemas/DoraMetricDrilldownResponse.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/IssueManagementData.d.ts +36 -0
- package/dist/sei-panorama-service/src/services/schemas/IssueManagementData.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/PaginationInfo.d.ts +19 -0
- package/dist/sei-panorama-service/src/services/schemas/PaginationInfo.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/PaginationRequest.d.ts +10 -0
- package/dist/sei-panorama-service/src/services/schemas/PaginationRequest.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/ProductivityFeatureBreakdownResponseDto.d.ts +23 -0
- package/dist/sei-panorama-service/src/services/schemas/ProductivityFeatureBreakdownResponseDto.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/ProductivityFeatureRequestDto.d.ts +1 -0
- package/dist/sei-panorama-service/src/services/schemas/ProductivityRequestDto.d.ts +16 -0
- package/dist/sei-panorama-service/src/services/schemas/ProductivityRequestDto.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/ScmCommitData.d.ts +42 -0
- package/dist/sei-panorama-service/src/services/schemas/ScmCommitData.js +4 -0
- package/package.json +1 -1
@@ -0,0 +1,22 @@
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
+
import type { DoraMetricDrilldownFiltersResponse } from '../schemas/DoraMetricDrilldownFiltersResponse';
|
3
|
+
import type { DoraMetricDrilldownRequest } from '../schemas/DoraMetricDrilldownRequest';
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
+
export interface DoraControllerLeadTimeDrilldownFiltersQueryQueryParams {
|
7
|
+
account: string;
|
8
|
+
projectIdentifier: string;
|
9
|
+
orgIdentifier: string;
|
10
|
+
}
|
11
|
+
export type DoraControllerLeadTimeDrilldownFiltersRequestBody = DoraMetricDrilldownRequest;
|
12
|
+
export type DoraControllerLeadTimeDrilldownFiltersOkResponse = ResponseWithPagination<DoraMetricDrilldownFiltersResponse>;
|
13
|
+
export type DoraControllerLeadTimeDrilldownFiltersErrorResponse = string;
|
14
|
+
export interface DoraControllerLeadTimeDrilldownFiltersProps extends Omit<FetcherOptions<DoraControllerLeadTimeDrilldownFiltersQueryQueryParams, DoraControllerLeadTimeDrilldownFiltersRequestBody>, 'url'> {
|
15
|
+
queryParams: DoraControllerLeadTimeDrilldownFiltersQueryQueryParams;
|
16
|
+
body: DoraControllerLeadTimeDrilldownFiltersRequestBody;
|
17
|
+
}
|
18
|
+
export declare function doraControllerLeadTimeDrilldownFilters(props: DoraControllerLeadTimeDrilldownFiltersProps): Promise<DoraControllerLeadTimeDrilldownFiltersOkResponse>;
|
19
|
+
/**
|
20
|
+
* Get filter information for Lead Time to Change drilldown data
|
21
|
+
*/
|
22
|
+
export declare function useDoraControllerLeadTimeDrilldownFiltersQuery(props: DoraControllerLeadTimeDrilldownFiltersProps, options?: Omit<UseQueryOptions<DoraControllerLeadTimeDrilldownFiltersOkResponse, DoraControllerLeadTimeDrilldownFiltersErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<DoraControllerLeadTimeDrilldownFiltersOkResponse, string>;
|
@@ -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 doraControllerLeadTimeDrilldownFilters(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/insights/dora/leadtime/drilldown/filters`, method: 'POST' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Get filter information for Lead Time to Change drilldown data
|
11
|
+
*/
|
12
|
+
export function useDoraControllerLeadTimeDrilldownFiltersQuery(props, options) {
|
13
|
+
return useQuery(['DoraControllerLeadTimeDrilldownFilters', props.queryParams, props.body], ({ signal }) => doraControllerLeadTimeDrilldownFilters(Object.assign(Object.assign({}, props), { signal })), options);
|
14
|
+
}
|
package/dist/sei-panorama-service/src/services/hooks/useDoraControllerLeadTimeDrilldownQuery.d.ts
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
+
import type { DoraMetricDrilldownResponse } from '../schemas/DoraMetricDrilldownResponse';
|
3
|
+
import type { DoraMetricDrilldownRequest } from '../schemas/DoraMetricDrilldownRequest';
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
+
export interface DoraControllerLeadTimeDrilldownQueryQueryParams {
|
7
|
+
account: string;
|
8
|
+
projectIdentifier: string;
|
9
|
+
orgIdentifier: string;
|
10
|
+
}
|
11
|
+
export type DoraControllerLeadTimeDrilldownRequestBody = DoraMetricDrilldownRequest;
|
12
|
+
export type DoraControllerLeadTimeDrilldownOkResponse = ResponseWithPagination<DoraMetricDrilldownResponse>;
|
13
|
+
export type DoraControllerLeadTimeDrilldownErrorResponse = string;
|
14
|
+
export interface DoraControllerLeadTimeDrilldownProps extends Omit<FetcherOptions<DoraControllerLeadTimeDrilldownQueryQueryParams, DoraControllerLeadTimeDrilldownRequestBody>, 'url'> {
|
15
|
+
queryParams: DoraControllerLeadTimeDrilldownQueryQueryParams;
|
16
|
+
body: DoraControllerLeadTimeDrilldownRequestBody;
|
17
|
+
}
|
18
|
+
export declare function doraControllerLeadTimeDrilldown(props: DoraControllerLeadTimeDrilldownProps): Promise<DoraControllerLeadTimeDrilldownOkResponse>;
|
19
|
+
/**
|
20
|
+
* Get detailed Lead Time to Change data with pagination support and data source filtering
|
21
|
+
*/
|
22
|
+
export declare function useDoraControllerLeadTimeDrilldownQuery(props: DoraControllerLeadTimeDrilldownProps, options?: Omit<UseQueryOptions<DoraControllerLeadTimeDrilldownOkResponse, DoraControllerLeadTimeDrilldownErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<DoraControllerLeadTimeDrilldownOkResponse, string>;
|
package/dist/sei-panorama-service/src/services/hooks/useDoraControllerLeadTimeDrilldownQuery.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 doraControllerLeadTimeDrilldown(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/insights/dora/leadtime/drilldown`, method: 'POST' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Get detailed Lead Time to Change data with pagination support and data source filtering
|
11
|
+
*/
|
12
|
+
export function useDoraControllerLeadTimeDrilldownQuery(props, options) {
|
13
|
+
return useQuery(['DoraControllerLeadTimeDrilldown', props.queryParams, props.body], ({ signal }) => doraControllerLeadTimeDrilldown(Object.assign(Object.assign({}, props), { signal })), options);
|
14
|
+
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
+
import type { ProductivityFeatureBreakdownResponseDto } from '../schemas/ProductivityFeatureBreakdownResponseDto';
|
3
|
+
import type { ProductivityRequestDto } from '../schemas/ProductivityRequestDto';
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
+
export interface ProductivityControllerGetFeatureBreakdownQueryQueryParams {
|
7
|
+
account: string;
|
8
|
+
}
|
9
|
+
export type ProductivityControllerGetFeatureBreakdownRequestBody = ProductivityRequestDto;
|
10
|
+
export type ProductivityControllerGetFeatureBreakdownOkResponse = ResponseWithPagination<ProductivityFeatureBreakdownResponseDto>;
|
11
|
+
export type ProductivityControllerGetFeatureBreakdownErrorResponse = string;
|
12
|
+
export interface ProductivityControllerGetFeatureBreakdownProps extends Omit<FetcherOptions<ProductivityControllerGetFeatureBreakdownQueryQueryParams, ProductivityControllerGetFeatureBreakdownRequestBody>, 'url'> {
|
13
|
+
queryParams: ProductivityControllerGetFeatureBreakdownQueryQueryParams;
|
14
|
+
body: ProductivityControllerGetFeatureBreakdownRequestBody;
|
15
|
+
}
|
16
|
+
export declare function productivityControllerGetFeatureBreakdown(props: ProductivityControllerGetFeatureBreakdownProps): Promise<ProductivityControllerGetFeatureBreakdownOkResponse>;
|
17
|
+
/**
|
18
|
+
* Get productivity feature breakdown for a collection
|
19
|
+
*/
|
20
|
+
export declare function useProductivityControllerGetFeatureBreakdownQuery(props: ProductivityControllerGetFeatureBreakdownProps, options?: Omit<UseQueryOptions<ProductivityControllerGetFeatureBreakdownOkResponse, ProductivityControllerGetFeatureBreakdownErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ProductivityControllerGetFeatureBreakdownOkResponse, string>;
|
@@ -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 productivityControllerGetFeatureBreakdown(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/productivity/feature_breakdown`, method: 'POST' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Get productivity feature breakdown for a collection
|
11
|
+
*/
|
12
|
+
export function useProductivityControllerGetFeatureBreakdownQuery(props, options) {
|
13
|
+
return useQuery(['ProductivityControllerGetFeatureBreakdown', props.queryParams, props.body], ({ signal }) => productivityControllerGetFeatureBreakdown(Object.assign(Object.assign({}, props), { signal })), options);
|
14
|
+
}
|
@@ -29,6 +29,10 @@ export type { DoraControllerDeploymentFrequencyBreakdownErrorResponse, DoraContr
|
|
29
29
|
export { doraControllerDeploymentFrequencyBreakdown, useDoraControllerDeploymentFrequencyBreakdownQuery, } from './hooks/useDoraControllerDeploymentFrequencyBreakdownQuery';
|
30
30
|
export type { DoraControllerDeploymentFrequencyErrorResponse, DoraControllerDeploymentFrequencyOkResponse, DoraControllerDeploymentFrequencyProps, DoraControllerDeploymentFrequencyQueryQueryParams, DoraControllerDeploymentFrequencyRequestBody, } from './hooks/useDoraControllerDeploymentFrequencyQuery';
|
31
31
|
export { doraControllerDeploymentFrequency, useDoraControllerDeploymentFrequencyQuery, } from './hooks/useDoraControllerDeploymentFrequencyQuery';
|
32
|
+
export type { DoraControllerLeadTimeDrilldownFiltersErrorResponse, DoraControllerLeadTimeDrilldownFiltersOkResponse, DoraControllerLeadTimeDrilldownFiltersProps, DoraControllerLeadTimeDrilldownFiltersQueryQueryParams, DoraControllerLeadTimeDrilldownFiltersRequestBody, } from './hooks/useDoraControllerLeadTimeDrilldownFiltersQuery';
|
33
|
+
export { doraControllerLeadTimeDrilldownFilters, useDoraControllerLeadTimeDrilldownFiltersQuery, } from './hooks/useDoraControllerLeadTimeDrilldownFiltersQuery';
|
34
|
+
export type { DoraControllerLeadTimeDrilldownErrorResponse, DoraControllerLeadTimeDrilldownOkResponse, DoraControllerLeadTimeDrilldownProps, DoraControllerLeadTimeDrilldownQueryQueryParams, DoraControllerLeadTimeDrilldownRequestBody, } from './hooks/useDoraControllerLeadTimeDrilldownQuery';
|
35
|
+
export { doraControllerLeadTimeDrilldown, useDoraControllerLeadTimeDrilldownQuery, } from './hooks/useDoraControllerLeadTimeDrilldownQuery';
|
32
36
|
export type { DoraControllerLeadTimeErrorResponse, DoraControllerLeadTimeOkResponse, DoraControllerLeadTimeProps, DoraControllerLeadTimeQueryQueryParams, DoraControllerLeadTimeRequestBody, } from './hooks/useDoraControllerLeadTimeQuery';
|
33
37
|
export { doraControllerLeadTime, useDoraControllerLeadTimeQuery, } from './hooks/useDoraControllerLeadTimeQuery';
|
34
38
|
export type { DoraControllerLeadTimeStagesErrorResponse, DoraControllerLeadTimeStagesOkResponse, DoraControllerLeadTimeStagesProps, DoraControllerLeadTimeStagesQueryQueryParams, DoraControllerLeadTimeStagesRequestBody, } from './hooks/useDoraControllerLeadTimeStagesQuery';
|
@@ -43,9 +47,13 @@ export type { JiraIssuesControllerGetJiraIssueCountErrorResponse, JiraIssuesCont
|
|
43
47
|
export { jiraIssuesControllerGetJiraIssueCount, useJiraIssuesControllerGetJiraIssueCountQuery, } from './hooks/useJiraIssuesControllerGetJiraIssueCountQuery';
|
44
48
|
export type { LegacyHealthControllerCheckErrorResponse, LegacyHealthControllerCheckOkResponse, LegacyHealthControllerCheckProps, } from './hooks/useLegacyHealthControllerCheckQuery';
|
45
49
|
export { legacyHealthControllerCheck, useLegacyHealthControllerCheckQuery, } from './hooks/useLegacyHealthControllerCheckQuery';
|
50
|
+
export type { ProductivityControllerGetFeatureBreakdownErrorResponse, ProductivityControllerGetFeatureBreakdownOkResponse, ProductivityControllerGetFeatureBreakdownProps, ProductivityControllerGetFeatureBreakdownQueryQueryParams, ProductivityControllerGetFeatureBreakdownRequestBody, } from './hooks/useProductivityControllerGetFeatureBreakdownQuery';
|
51
|
+
export { productivityControllerGetFeatureBreakdown, useProductivityControllerGetFeatureBreakdownQuery, } from './hooks/useProductivityControllerGetFeatureBreakdownQuery';
|
46
52
|
export type { ProductivityControllerGetFeatureMetricsErrorResponse, ProductivityControllerGetFeatureMetricsOkResponse, ProductivityControllerGetFeatureMetricsProps, ProductivityControllerGetFeatureMetricsQueryQueryParams, ProductivityControllerGetFeatureMetricsRequestBody, } from './hooks/useProductivityControllerGetFeatureMetricsQuery';
|
47
53
|
export { productivityControllerGetFeatureMetrics, useProductivityControllerGetFeatureMetricsQuery, } from './hooks/useProductivityControllerGetFeatureMetricsQuery';
|
48
54
|
export type { Category } from './schemas/Category';
|
55
|
+
export type { CdDeploymentData } from './schemas/CdDeploymentData';
|
56
|
+
export type { CiPipelineData } from './schemas/CiPipelineData';
|
49
57
|
export type { CollectionEnriched } from './schemas/CollectionEnriched';
|
50
58
|
export type { CollectionFilter } from './schemas/CollectionFilter';
|
51
59
|
export type { CollectionTree } from './schemas/CollectionTree';
|
@@ -61,13 +69,22 @@ export type { DoraDeploymentFrequencyMetric } from './schemas/DoraDeploymentFreq
|
|
61
69
|
export type { DoraDeploymentFrequencyMetricBreakdown } from './schemas/DoraDeploymentFrequencyMetricBreakdown';
|
62
70
|
export type { DoraMetric } from './schemas/DoraMetric';
|
63
71
|
export type { DoraMetricBreakdown } from './schemas/DoraMetricBreakdown';
|
72
|
+
export type { DoraMetricDrilldownFiltersResponse } from './schemas/DoraMetricDrilldownFiltersResponse';
|
73
|
+
export type { DoraMetricDrilldownRequest } from './schemas/DoraMetricDrilldownRequest';
|
74
|
+
export type { DoraMetricDrilldownResponse } from './schemas/DoraMetricDrilldownResponse';
|
64
75
|
export type { DoraRequest } from './schemas/DoraRequest';
|
65
76
|
export type { DoraSummaryMetric } from './schemas/DoraSummaryMetric';
|
66
77
|
export type { DoraSummaryRequest } from './schemas/DoraSummaryRequest';
|
67
78
|
export type { IntegrationObject } from './schemas/IntegrationObject';
|
79
|
+
export type { IssueManagementData } from './schemas/IssueManagementData';
|
80
|
+
export type { PaginationInfo } from './schemas/PaginationInfo';
|
81
|
+
export type { PaginationRequest } from './schemas/PaginationRequest';
|
68
82
|
export type { ProductivityDataPoint } from './schemas/ProductivityDataPoint';
|
83
|
+
export type { ProductivityFeatureBreakdownResponseDto } from './schemas/ProductivityFeatureBreakdownResponseDto';
|
69
84
|
export type { ProductivityFeatureRequestDto } from './schemas/ProductivityFeatureRequestDto';
|
70
85
|
export type { ProductivityFeatureResponseDto } from './schemas/ProductivityFeatureResponseDto';
|
86
|
+
export type { ProductivityRequestDto } from './schemas/ProductivityRequestDto';
|
87
|
+
export type { ScmCommitData } from './schemas/ScmCommitData';
|
71
88
|
export type { Stage } from './schemas/Stage';
|
72
89
|
export type { SummaryCard } from './schemas/SummaryCard';
|
73
90
|
export type { SummaryValue } from './schemas/SummaryValue';
|
@@ -13,6 +13,8 @@ export { doraControllerChangeFailureRateBreakdown, useDoraControllerChangeFailur
|
|
13
13
|
export { doraControllerChangeFailureRate, useDoraControllerChangeFailureRateQuery, } from './hooks/useDoraControllerChangeFailureRateQuery';
|
14
14
|
export { doraControllerDeploymentFrequencyBreakdown, useDoraControllerDeploymentFrequencyBreakdownQuery, } from './hooks/useDoraControllerDeploymentFrequencyBreakdownQuery';
|
15
15
|
export { doraControllerDeploymentFrequency, useDoraControllerDeploymentFrequencyQuery, } from './hooks/useDoraControllerDeploymentFrequencyQuery';
|
16
|
+
export { doraControllerLeadTimeDrilldownFilters, useDoraControllerLeadTimeDrilldownFiltersQuery, } from './hooks/useDoraControllerLeadTimeDrilldownFiltersQuery';
|
17
|
+
export { doraControllerLeadTimeDrilldown, useDoraControllerLeadTimeDrilldownQuery, } from './hooks/useDoraControllerLeadTimeDrilldownQuery';
|
16
18
|
export { doraControllerLeadTime, useDoraControllerLeadTimeQuery, } from './hooks/useDoraControllerLeadTimeQuery';
|
17
19
|
export { doraControllerLeadTimeStages, useDoraControllerLeadTimeStagesQuery, } from './hooks/useDoraControllerLeadTimeStagesQuery';
|
18
20
|
export { doraControllerMeanTimeRestore, useDoraControllerMeanTimeRestoreQuery, } from './hooks/useDoraControllerMeanTimeRestoreQuery';
|
@@ -20,4 +22,5 @@ export { doraControllerMttrBreakdown, useDoraControllerMttrBreakdownQuery, } fro
|
|
20
22
|
export { doraControllerSummary, useDoraControllerSummaryQuery, } from './hooks/useDoraControllerSummaryQuery';
|
21
23
|
export { jiraIssuesControllerGetJiraIssueCount, useJiraIssuesControllerGetJiraIssueCountQuery, } from './hooks/useJiraIssuesControllerGetJiraIssueCountQuery';
|
22
24
|
export { legacyHealthControllerCheck, useLegacyHealthControllerCheckQuery, } from './hooks/useLegacyHealthControllerCheckQuery';
|
25
|
+
export { productivityControllerGetFeatureBreakdown, useProductivityControllerGetFeatureBreakdownQuery, } from './hooks/useProductivityControllerGetFeatureBreakdownQuery';
|
23
26
|
export { productivityControllerGetFeatureMetrics, useProductivityControllerGetFeatureMetricsQuery, } from './hooks/useProductivityControllerGetFeatureMetricsQuery';
|
@@ -0,0 +1,68 @@
|
|
1
|
+
/**
|
2
|
+
* Data structure for CD deployments
|
3
|
+
*/
|
4
|
+
export interface CdDeploymentData {
|
5
|
+
/**
|
6
|
+
* Artifact ID
|
7
|
+
*/
|
8
|
+
artifactId?: string;
|
9
|
+
/**
|
10
|
+
* Artifact Name
|
11
|
+
*/
|
12
|
+
artifactName?: string;
|
13
|
+
/**
|
14
|
+
* Artifact Tags
|
15
|
+
*/
|
16
|
+
artifactTags?: string[];
|
17
|
+
/**
|
18
|
+
* Artifact Version
|
19
|
+
*/
|
20
|
+
artifactVersion?: string;
|
21
|
+
/**
|
22
|
+
* Deployment Environment
|
23
|
+
*/
|
24
|
+
deploymentEnvironment?: string;
|
25
|
+
/**
|
26
|
+
* Execution End Time
|
27
|
+
* @format date-time
|
28
|
+
*/
|
29
|
+
executionEnd?: string;
|
30
|
+
/**
|
31
|
+
* Execution Start Time
|
32
|
+
* @format date-time
|
33
|
+
*/
|
34
|
+
executionStart?: string;
|
35
|
+
/**
|
36
|
+
* Associated JIRA Ticket ID
|
37
|
+
*/
|
38
|
+
jiraTicketId?: string;
|
39
|
+
/**
|
40
|
+
* Pipeline Execution ID
|
41
|
+
*/
|
42
|
+
pipelineExecutionId?: string;
|
43
|
+
/**
|
44
|
+
* Pipeline ID
|
45
|
+
*/
|
46
|
+
pipelineId?: string;
|
47
|
+
/**
|
48
|
+
* Pipeline Name
|
49
|
+
*/
|
50
|
+
pipelineName?: string;
|
51
|
+
/**
|
52
|
+
* Associated PR ID
|
53
|
+
*/
|
54
|
+
prId?: string;
|
55
|
+
/**
|
56
|
+
* Service ID
|
57
|
+
*/
|
58
|
+
serviceId?: string;
|
59
|
+
/**
|
60
|
+
* Service Name
|
61
|
+
*/
|
62
|
+
serviceName?: string;
|
63
|
+
/**
|
64
|
+
* Time in Approval (in seconds)
|
65
|
+
* @format double
|
66
|
+
*/
|
67
|
+
timeInApproval?: number;
|
68
|
+
}
|
@@ -0,0 +1,56 @@
|
|
1
|
+
/**
|
2
|
+
* Data structure for CI pipeline executions
|
3
|
+
*/
|
4
|
+
export interface CiPipelineData {
|
5
|
+
/**
|
6
|
+
* Artifact ID
|
7
|
+
*/
|
8
|
+
artifactId?: string;
|
9
|
+
/**
|
10
|
+
* Artifact Name
|
11
|
+
*/
|
12
|
+
artifactName?: string;
|
13
|
+
/**
|
14
|
+
* Artifact Tags
|
15
|
+
*/
|
16
|
+
artifactTags?: string[];
|
17
|
+
/**
|
18
|
+
* Artifact Version
|
19
|
+
*/
|
20
|
+
artifactVersion?: string;
|
21
|
+
/**
|
22
|
+
* Execution End Time
|
23
|
+
* @format date-time
|
24
|
+
*/
|
25
|
+
executionEnd?: string;
|
26
|
+
/**
|
27
|
+
* Execution Start Time
|
28
|
+
* @format date-time
|
29
|
+
*/
|
30
|
+
executionStart?: string;
|
31
|
+
/**
|
32
|
+
* Associated JIRA Ticket ID
|
33
|
+
*/
|
34
|
+
jiraTicketId?: string;
|
35
|
+
/**
|
36
|
+
* Pipeline Execution ID
|
37
|
+
*/
|
38
|
+
pipelineExecutionId?: string;
|
39
|
+
/**
|
40
|
+
* Pipeline ID
|
41
|
+
*/
|
42
|
+
pipelineId?: string;
|
43
|
+
/**
|
44
|
+
* Pipeline Name
|
45
|
+
*/
|
46
|
+
pipelineName?: string;
|
47
|
+
/**
|
48
|
+
* Associated PR ID
|
49
|
+
*/
|
50
|
+
prId?: string;
|
51
|
+
/**
|
52
|
+
* Time in Approval (in seconds)
|
53
|
+
* @format double
|
54
|
+
*/
|
55
|
+
timeInApproval?: number;
|
56
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import type { PaginationRequest } from '../schemas/PaginationRequest';
|
2
|
+
export interface DoraMetricDrilldownRequest {
|
3
|
+
collectionId: string;
|
4
|
+
/**
|
5
|
+
* @format date-time
|
6
|
+
*/
|
7
|
+
dateEnd: string;
|
8
|
+
/**
|
9
|
+
* @format date-time
|
10
|
+
*/
|
11
|
+
dateStart: string;
|
12
|
+
pagination?: PaginationRequest;
|
13
|
+
stageName: string;
|
14
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,42 @@
|
|
1
|
+
import type { CdDeploymentData } from '../schemas/CdDeploymentData';
|
2
|
+
import type { CiPipelineData } from '../schemas/CiPipelineData';
|
3
|
+
import type { IssueManagementData } from '../schemas/IssueManagementData';
|
4
|
+
import type { PaginationInfo } from '../schemas/PaginationInfo';
|
5
|
+
import type { ScmCommitData } from '../schemas/ScmCommitData';
|
6
|
+
/**
|
7
|
+
* Response containing drilldown data for Lead Time to Change metrics
|
8
|
+
*/
|
9
|
+
export interface DoraMetricDrilldownResponse {
|
10
|
+
/**
|
11
|
+
* Type of application (IM, SCM, CI, CD)
|
12
|
+
*/
|
13
|
+
application?: 'CD' | 'CI' | 'IM' | 'SCM';
|
14
|
+
/**
|
15
|
+
* Type of application (JIRA, GITHUB, GITLAB, etc.)
|
16
|
+
*/
|
17
|
+
applicationType?: 'AZURE_DEVOPS' | 'BITBUCKET' | 'CIRCLE_CI' | 'GITHUB' | 'GITHUB_ACTIONS' | 'GITLAB' | 'JENKINS' | 'JIRA' | 'TEAMCITY' | 'TRAVIS_CI';
|
18
|
+
/**
|
19
|
+
* CD data rows, present when application is CD
|
20
|
+
*/
|
21
|
+
cdData?: CdDeploymentData[];
|
22
|
+
/**
|
23
|
+
* CI data rows, present when application is CI
|
24
|
+
*/
|
25
|
+
ciData?: CiPipelineData[];
|
26
|
+
/**
|
27
|
+
* Table headers for display
|
28
|
+
*/
|
29
|
+
headers?: string[];
|
30
|
+
/**
|
31
|
+
* Jira data rows, present when application is IM
|
32
|
+
*/
|
33
|
+
imData?: IssueManagementData[];
|
34
|
+
/**
|
35
|
+
* Pagination information
|
36
|
+
*/
|
37
|
+
pagination?: PaginationInfo;
|
38
|
+
/**
|
39
|
+
* SCM data rows, present when application is SCM
|
40
|
+
*/
|
41
|
+
scmData?: ScmCommitData[];
|
42
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,36 @@
|
|
1
|
+
/**
|
2
|
+
* Data structure for issue management
|
3
|
+
*/
|
4
|
+
export interface IssueManagementData {
|
5
|
+
/**
|
6
|
+
* Issue assignee
|
7
|
+
*/
|
8
|
+
assignee?: string[];
|
9
|
+
/**
|
10
|
+
* Created date
|
11
|
+
* @format date-time
|
12
|
+
*/
|
13
|
+
createdDate?: string;
|
14
|
+
/**
|
15
|
+
* Issue key
|
16
|
+
*/
|
17
|
+
issueKey?: string;
|
18
|
+
/**
|
19
|
+
* Issue type
|
20
|
+
*/
|
21
|
+
issueType?: string;
|
22
|
+
/**
|
23
|
+
* Lead time in seconds
|
24
|
+
* @format double
|
25
|
+
*/
|
26
|
+
leadTimeInSeconds?: number;
|
27
|
+
/**
|
28
|
+
* Issue Story points
|
29
|
+
* @format double
|
30
|
+
*/
|
31
|
+
storyPoint?: number;
|
32
|
+
/**
|
33
|
+
* Issue summary
|
34
|
+
*/
|
35
|
+
summary?: string;
|
36
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
export interface PaginationInfo {
|
2
|
+
/**
|
3
|
+
* @format int32
|
4
|
+
*/
|
5
|
+
currentPage?: number;
|
6
|
+
hasMore?: boolean;
|
7
|
+
/**
|
8
|
+
* @format int32
|
9
|
+
*/
|
10
|
+
pageSize?: number;
|
11
|
+
/**
|
12
|
+
* @format int64
|
13
|
+
*/
|
14
|
+
totalItems?: number;
|
15
|
+
/**
|
16
|
+
* @format int64
|
17
|
+
*/
|
18
|
+
totalPages?: number;
|
19
|
+
}
|
package/dist/sei-panorama-service/src/services/schemas/ProductivityFeatureBreakdownResponseDto.d.ts
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
export interface ProductivityFeatureBreakdownResponseDto {
|
2
|
+
/**
|
3
|
+
* @format int64
|
4
|
+
*/
|
5
|
+
collectionId?: number;
|
6
|
+
collectionName?: string;
|
7
|
+
/**
|
8
|
+
* @format date-time
|
9
|
+
*/
|
10
|
+
endDate?: string;
|
11
|
+
stackBy?: 'PRIORITY' | 'PR_SIZE' | 'TICKET_SIZE' | 'WORK_TYPE';
|
12
|
+
stacks?: {
|
13
|
+
[key: string]: number;
|
14
|
+
};
|
15
|
+
/**
|
16
|
+
* @format date-time
|
17
|
+
*/
|
18
|
+
startDate?: string;
|
19
|
+
/**
|
20
|
+
* @format int64
|
21
|
+
*/
|
22
|
+
totalCount?: number;
|
23
|
+
}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
export interface ProductivityRequestDto {
|
2
|
+
/**
|
3
|
+
* @format date-time
|
4
|
+
*/
|
5
|
+
endDate?: string;
|
6
|
+
featureType?: 'AVG_TIME_TO_FIRST_COMMENT' | 'CODING_DAYS' | 'LINES_OF_CODE' | 'NUMBER_OF_BUGS' | 'NUMBER_OF_COMMENTS_PER_PR' | 'NUMBER_OF_STORIES' | 'PR_VELOCITY';
|
7
|
+
granularity?: 'MONTHLY' | 'QUARTERLY' | 'WEEKLY';
|
8
|
+
integrationIds?: number[];
|
9
|
+
integrationUserIds?: string[];
|
10
|
+
section?: 'COLLABORATION' | 'OUTPUT' | 'VOLUME';
|
11
|
+
stackBy?: 'PRIORITY' | 'PR_SIZE' | 'TICKET_SIZE' | 'WORK_TYPE';
|
12
|
+
/**
|
13
|
+
* @format date-time
|
14
|
+
*/
|
15
|
+
startDate?: string;
|
16
|
+
}
|
@@ -0,0 +1,42 @@
|
|
1
|
+
/**
|
2
|
+
* Data structure for SCM commits
|
3
|
+
*/
|
4
|
+
export interface ScmCommitData {
|
5
|
+
/**
|
6
|
+
* Associated Jira Ticket ID
|
7
|
+
*/
|
8
|
+
jiraTicketId?: string;
|
9
|
+
/**
|
10
|
+
* PR Approved Time
|
11
|
+
* @format double
|
12
|
+
*/
|
13
|
+
prApprovedTime?: number;
|
14
|
+
/**
|
15
|
+
* PR Creation Time
|
16
|
+
* @format double
|
17
|
+
*/
|
18
|
+
prCreationTime?: number;
|
19
|
+
/**
|
20
|
+
* SCM PR ID
|
21
|
+
*/
|
22
|
+
prId?: string;
|
23
|
+
/**
|
24
|
+
* PR Merged Time
|
25
|
+
* @format double
|
26
|
+
*/
|
27
|
+
prMergedTime?: number;
|
28
|
+
/**
|
29
|
+
* PR Title
|
30
|
+
*/
|
31
|
+
prTitle?: string;
|
32
|
+
/**
|
33
|
+
* Time to First Comment
|
34
|
+
* @format double
|
35
|
+
*/
|
36
|
+
timeToFirstComment?: number;
|
37
|
+
/**
|
38
|
+
* Time to First Commit
|
39
|
+
* @format double
|
40
|
+
*/
|
41
|
+
timeToFirstCommit?: number;
|
42
|
+
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@harnessio/react-sei-panorama-service-client",
|
3
|
-
"version": "0.10.
|
3
|
+
"version": "0.10.19",
|
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",
|