@harnessio/react-sei-panorama-service-client 0.10.23 → 0.12.0
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/useDoraControllerLeadTimeQuery.d.ts +2 -2
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerLeadTimeStagesQuery.d.ts +2 -2
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerMeanTimeRestoreQuery.d.ts +2 -2
- package/dist/sei-panorama-service/src/services/hooks/useProductivityControllerGetFeatureBreakdownQuery.d.ts +2 -2
- package/dist/sei-panorama-service/src/services/hooks/useProductivityControllerGetFeatureDrillDownQuery.d.ts +20 -0
- package/dist/sei-panorama-service/src/services/hooks/useProductivityControllerGetFeatureDrillDownQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useProductivityControllerGetIndividualUserFeatureDrillDownQuery.d.ts +20 -0
- package/dist/sei-panorama-service/src/services/hooks/useProductivityControllerGetIndividualUserFeatureDrillDownQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/index.d.ts +20 -3
- package/dist/sei-panorama-service/src/services/index.js +2 -0
- package/dist/sei-panorama-service/src/services/schemas/CodeChangeStats.d.ts +14 -0
- package/dist/sei-panorama-service/src/services/schemas/DataPointBreakdown.d.ts +2 -2
- package/dist/sei-panorama-service/src/services/schemas/{DoraMetric.d.ts → DoraLttcMttrMetric.d.ts} +1 -1
- package/dist/sei-panorama-service/src/services/schemas/{DoraMetricBreakdown.d.ts → DoraLttcMttrMetricBreakdown.d.ts} +1 -1
- package/dist/sei-panorama-service/src/services/schemas/DrilldownData.d.ts +6 -0
- package/dist/sei-panorama-service/src/services/schemas/DrilldownData.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/DrilldownDataPoint.d.ts +4 -0
- package/dist/sei-panorama-service/src/services/schemas/DrilldownDataPoint.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/IndividualDrilldownData.d.ts +6 -0
- package/dist/sei-panorama-service/src/services/schemas/IndividualDrilldownData.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/IndividualDrilldownDataPoint.d.ts +4 -0
- package/dist/sei-panorama-service/src/services/schemas/IndividualDrilldownDataPoint.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/PrSize.d.ts +7 -0
- package/dist/sei-panorama-service/src/services/schemas/PrSize.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/PrVelocityDrilldownResponseDataPoint.d.ts +25 -0
- package/dist/sei-panorama-service/src/services/schemas/PrVelocityDrilldownResponseDataPoint.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/PrVelocityIndividualDrilldownResponseDataPoint.d.ts +26 -0
- package/dist/sei-panorama-service/src/services/schemas/PrVelocityIndividualDrilldownResponseDataPoint.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/ProductivityDataPoint.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/ProductivityFeatureBreakdownResponseDataPoint.d.ts +23 -0
- package/dist/sei-panorama-service/src/services/schemas/ProductivityFeatureBreakdownResponseDataPoint.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/ProductivityFeatureBreakdownResponseDto.d.ts +2 -21
- package/dist/sei-panorama-service/src/services/schemas/ProductivityFeatureBreakdownResponseDto.js +0 -3
- package/dist/sei-panorama-service/src/services/schemas/ProductivityFeatureDrilldownResponseDto.d.ts +26 -0
- package/dist/sei-panorama-service/src/services/schemas/ProductivityFeatureDrilldownResponseDto.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/ProductivityFeatureIndividualDrilldownResponseDto.d.ts +20 -0
- package/dist/sei-panorama-service/src/services/schemas/ProductivityFeatureIndividualDrilldownResponseDto.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/ProductivityFeatureRequestDto.d.ts +9 -1
- package/dist/sei-panorama-service/src/services/schemas/WorkCompletedDrilldownResponseDataPoint.d.ts +21 -0
- package/dist/sei-panorama-service/src/services/schemas/WorkCompletedDrilldownResponseDataPoint.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/WorkCompletedIndividualDrilldownResponseDataPoint.d.ts +28 -0
- package/dist/sei-panorama-service/src/services/schemas/WorkCompletedIndividualDrilldownResponseDataPoint.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/WorkType.d.ts +7 -0
- package/dist/sei-panorama-service/src/services/schemas/WorkType.js +4 -0
- package/package.json +1 -1
- package/dist/sei-panorama-service/src/services/schemas/ProductivityRequestDto.d.ts +0 -16
- /package/dist/sei-panorama-service/src/services/schemas/{ProductivityRequestDto.js → CodeChangeStats.js} +0 -0
- /package/dist/sei-panorama-service/src/services/schemas/{DoraMetric.js → DoraLttcMttrMetric.js} +0 -0
- /package/dist/sei-panorama-service/src/services/schemas/{DoraMetricBreakdown.js → DoraLttcMttrMetricBreakdown.js} +0 -0
@@ -1,5 +1,5 @@
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
-
import type {
|
2
|
+
import type { DoraLttcMttrMetric } from '../schemas/DoraLttcMttrMetric';
|
3
3
|
import type { DoraRequest } from '../schemas/DoraRequest';
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
@@ -9,7 +9,7 @@ export interface DoraControllerLeadTimeQueryQueryParams {
|
|
9
9
|
orgIdentifier: string;
|
10
10
|
}
|
11
11
|
export type DoraControllerLeadTimeRequestBody = DoraRequest;
|
12
|
-
export type DoraControllerLeadTimeOkResponse = ResponseWithPagination<
|
12
|
+
export type DoraControllerLeadTimeOkResponse = ResponseWithPagination<DoraLttcMttrMetric>;
|
13
13
|
export type DoraControllerLeadTimeErrorResponse = string;
|
14
14
|
export interface DoraControllerLeadTimeProps extends Omit<FetcherOptions<DoraControllerLeadTimeQueryQueryParams, DoraControllerLeadTimeRequestBody>, 'url'> {
|
15
15
|
queryParams: DoraControllerLeadTimeQueryQueryParams;
|
package/dist/sei-panorama-service/src/services/hooks/useDoraControllerLeadTimeStagesQuery.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
-
import type {
|
2
|
+
import type { DoraLttcMttrMetric } from '../schemas/DoraLttcMttrMetric';
|
3
3
|
import type { DoraRequest } from '../schemas/DoraRequest';
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
@@ -9,7 +9,7 @@ export interface DoraControllerLeadTimeStagesQueryQueryParams {
|
|
9
9
|
orgIdentifier: string;
|
10
10
|
}
|
11
11
|
export type DoraControllerLeadTimeStagesRequestBody = DoraRequest;
|
12
|
-
export type DoraControllerLeadTimeStagesOkResponse = ResponseWithPagination<
|
12
|
+
export type DoraControllerLeadTimeStagesOkResponse = ResponseWithPagination<DoraLttcMttrMetric>;
|
13
13
|
export type DoraControllerLeadTimeStagesErrorResponse = string;
|
14
14
|
export interface DoraControllerLeadTimeStagesProps extends Omit<FetcherOptions<DoraControllerLeadTimeStagesQueryQueryParams, DoraControllerLeadTimeStagesRequestBody>, 'url'> {
|
15
15
|
queryParams: DoraControllerLeadTimeStagesQueryQueryParams;
|
package/dist/sei-panorama-service/src/services/hooks/useDoraControllerMeanTimeRestoreQuery.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
-
import type {
|
2
|
+
import type { DoraLttcMttrMetric } from '../schemas/DoraLttcMttrMetric';
|
3
3
|
import type { DoraRequest } from '../schemas/DoraRequest';
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
@@ -9,7 +9,7 @@ export interface DoraControllerMeanTimeRestoreQueryQueryParams {
|
|
9
9
|
orgIdentifier: string;
|
10
10
|
}
|
11
11
|
export type DoraControllerMeanTimeRestoreRequestBody = DoraRequest;
|
12
|
-
export type DoraControllerMeanTimeRestoreOkResponse = ResponseWithPagination<
|
12
|
+
export type DoraControllerMeanTimeRestoreOkResponse = ResponseWithPagination<DoraLttcMttrMetric>;
|
13
13
|
export type DoraControllerMeanTimeRestoreErrorResponse = string;
|
14
14
|
export interface DoraControllerMeanTimeRestoreProps extends Omit<FetcherOptions<DoraControllerMeanTimeRestoreQueryQueryParams, DoraControllerMeanTimeRestoreRequestBody>, 'url'> {
|
15
15
|
queryParams: DoraControllerMeanTimeRestoreQueryQueryParams;
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
2
2
|
import type { ProductivityFeatureBreakdownResponseDto } from '../schemas/ProductivityFeatureBreakdownResponseDto';
|
3
|
-
import type {
|
3
|
+
import type { ProductivityFeatureRequestDto } from '../schemas/ProductivityFeatureRequestDto';
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
6
|
export interface ProductivityControllerGetFeatureBreakdownQueryQueryParams {
|
7
7
|
account: string;
|
8
8
|
}
|
9
|
-
export type ProductivityControllerGetFeatureBreakdownRequestBody =
|
9
|
+
export type ProductivityControllerGetFeatureBreakdownRequestBody = ProductivityFeatureRequestDto;
|
10
10
|
export type ProductivityControllerGetFeatureBreakdownOkResponse = ResponseWithPagination<ProductivityFeatureBreakdownResponseDto>;
|
11
11
|
export type ProductivityControllerGetFeatureBreakdownErrorResponse = string;
|
12
12
|
export interface ProductivityControllerGetFeatureBreakdownProps extends Omit<FetcherOptions<ProductivityControllerGetFeatureBreakdownQueryQueryParams, ProductivityControllerGetFeatureBreakdownRequestBody>, 'url'> {
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
+
import type { ProductivityFeatureDrilldownResponseDto } from '../schemas/ProductivityFeatureDrilldownResponseDto';
|
3
|
+
import type { ProductivityFeatureRequestDto } from '../schemas/ProductivityFeatureRequestDto';
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
+
export interface ProductivityControllerGetFeatureDrillDownQueryQueryParams {
|
7
|
+
account: string;
|
8
|
+
}
|
9
|
+
export type ProductivityControllerGetFeatureDrillDownRequestBody = ProductivityFeatureRequestDto;
|
10
|
+
export type ProductivityControllerGetFeatureDrillDownOkResponse = ResponseWithPagination<ProductivityFeatureDrilldownResponseDto>;
|
11
|
+
export type ProductivityControllerGetFeatureDrillDownErrorResponse = string;
|
12
|
+
export interface ProductivityControllerGetFeatureDrillDownProps extends Omit<FetcherOptions<ProductivityControllerGetFeatureDrillDownQueryQueryParams, ProductivityControllerGetFeatureDrillDownRequestBody>, 'url'> {
|
13
|
+
queryParams: ProductivityControllerGetFeatureDrillDownQueryQueryParams;
|
14
|
+
body: ProductivityControllerGetFeatureDrillDownRequestBody;
|
15
|
+
}
|
16
|
+
export declare function productivityControllerGetFeatureDrillDown(props: ProductivityControllerGetFeatureDrillDownProps): Promise<ProductivityControllerGetFeatureDrillDownOkResponse>;
|
17
|
+
/**
|
18
|
+
* Get productivity feature drilldown for a collection
|
19
|
+
*/
|
20
|
+
export declare function useProductivityControllerGetFeatureDrillDownQuery(props: ProductivityControllerGetFeatureDrillDownProps, options?: Omit<UseQueryOptions<ProductivityControllerGetFeatureDrillDownOkResponse, ProductivityControllerGetFeatureDrillDownErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ProductivityControllerGetFeatureDrillDownOkResponse, 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 productivityControllerGetFeatureDrillDown(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/productivity/feature_drilldown`, method: 'POST' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Get productivity feature drilldown for a collection
|
11
|
+
*/
|
12
|
+
export function useProductivityControllerGetFeatureDrillDownQuery(props, options) {
|
13
|
+
return useQuery(['ProductivityControllerGetFeatureDrillDown', props.queryParams, props.body], ({ signal }) => productivityControllerGetFeatureDrillDown(Object.assign(Object.assign({}, props), { signal })), options);
|
14
|
+
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
+
import type { ProductivityFeatureIndividualDrilldownResponseDto } from '../schemas/ProductivityFeatureIndividualDrilldownResponseDto';
|
3
|
+
import type { ProductivityFeatureRequestDto } from '../schemas/ProductivityFeatureRequestDto';
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
+
export interface ProductivityControllerGetIndividualUserFeatureDrillDownQueryQueryParams {
|
7
|
+
account: string;
|
8
|
+
}
|
9
|
+
export type ProductivityControllerGetIndividualUserFeatureDrillDownRequestBody = ProductivityFeatureRequestDto;
|
10
|
+
export type ProductivityControllerGetIndividualUserFeatureDrillDownOkResponse = ResponseWithPagination<ProductivityFeatureIndividualDrilldownResponseDto>;
|
11
|
+
export type ProductivityControllerGetIndividualUserFeatureDrillDownErrorResponse = string;
|
12
|
+
export interface ProductivityControllerGetIndividualUserFeatureDrillDownProps extends Omit<FetcherOptions<ProductivityControllerGetIndividualUserFeatureDrillDownQueryQueryParams, ProductivityControllerGetIndividualUserFeatureDrillDownRequestBody>, 'url'> {
|
13
|
+
queryParams: ProductivityControllerGetIndividualUserFeatureDrillDownQueryQueryParams;
|
14
|
+
body: ProductivityControllerGetIndividualUserFeatureDrillDownRequestBody;
|
15
|
+
}
|
16
|
+
export declare function productivityControllerGetIndividualUserFeatureDrillDown(props: ProductivityControllerGetIndividualUserFeatureDrillDownProps): Promise<ProductivityControllerGetIndividualUserFeatureDrillDownOkResponse>;
|
17
|
+
/**
|
18
|
+
* Get productivity feature drilldown for a individual user
|
19
|
+
*/
|
20
|
+
export declare function useProductivityControllerGetIndividualUserFeatureDrillDownQuery(props: ProductivityControllerGetIndividualUserFeatureDrillDownProps, options?: Omit<UseQueryOptions<ProductivityControllerGetIndividualUserFeatureDrillDownOkResponse, ProductivityControllerGetIndividualUserFeatureDrillDownErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ProductivityControllerGetIndividualUserFeatureDrillDownOkResponse, 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 productivityControllerGetIndividualUserFeatureDrillDown(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/productivity/feature_drilldown_individual`, method: 'POST' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Get productivity feature drilldown for a individual user
|
11
|
+
*/
|
12
|
+
export function useProductivityControllerGetIndividualUserFeatureDrillDownQuery(props, options) {
|
13
|
+
return useQuery(['ProductivityControllerGetIndividualUserFeatureDrillDown', props.queryParams, props.body], ({ signal }) => productivityControllerGetIndividualUserFeatureDrillDown(Object.assign(Object.assign({}, props), { signal })), options);
|
14
|
+
}
|
@@ -49,11 +49,16 @@ export type { LegacyHealthControllerCheckErrorResponse, LegacyHealthControllerCh
|
|
49
49
|
export { legacyHealthControllerCheck, useLegacyHealthControllerCheckQuery, } from './hooks/useLegacyHealthControllerCheckQuery';
|
50
50
|
export type { ProductivityControllerGetFeatureBreakdownErrorResponse, ProductivityControllerGetFeatureBreakdownOkResponse, ProductivityControllerGetFeatureBreakdownProps, ProductivityControllerGetFeatureBreakdownQueryQueryParams, ProductivityControllerGetFeatureBreakdownRequestBody, } from './hooks/useProductivityControllerGetFeatureBreakdownQuery';
|
51
51
|
export { productivityControllerGetFeatureBreakdown, useProductivityControllerGetFeatureBreakdownQuery, } from './hooks/useProductivityControllerGetFeatureBreakdownQuery';
|
52
|
+
export type { ProductivityControllerGetFeatureDrillDownErrorResponse, ProductivityControllerGetFeatureDrillDownOkResponse, ProductivityControllerGetFeatureDrillDownProps, ProductivityControllerGetFeatureDrillDownQueryQueryParams, ProductivityControllerGetFeatureDrillDownRequestBody, } from './hooks/useProductivityControllerGetFeatureDrillDownQuery';
|
53
|
+
export { productivityControllerGetFeatureDrillDown, useProductivityControllerGetFeatureDrillDownQuery, } from './hooks/useProductivityControllerGetFeatureDrillDownQuery';
|
52
54
|
export type { ProductivityControllerGetFeatureMetricsErrorResponse, ProductivityControllerGetFeatureMetricsOkResponse, ProductivityControllerGetFeatureMetricsProps, ProductivityControllerGetFeatureMetricsQueryQueryParams, ProductivityControllerGetFeatureMetricsRequestBody, } from './hooks/useProductivityControllerGetFeatureMetricsQuery';
|
53
55
|
export { productivityControllerGetFeatureMetrics, useProductivityControllerGetFeatureMetricsQuery, } from './hooks/useProductivityControllerGetFeatureMetricsQuery';
|
56
|
+
export type { ProductivityControllerGetIndividualUserFeatureDrillDownErrorResponse, ProductivityControllerGetIndividualUserFeatureDrillDownOkResponse, ProductivityControllerGetIndividualUserFeatureDrillDownProps, ProductivityControllerGetIndividualUserFeatureDrillDownQueryQueryParams, ProductivityControllerGetIndividualUserFeatureDrillDownRequestBody, } from './hooks/useProductivityControllerGetIndividualUserFeatureDrillDownQuery';
|
57
|
+
export { productivityControllerGetIndividualUserFeatureDrillDown, useProductivityControllerGetIndividualUserFeatureDrillDownQuery, } from './hooks/useProductivityControllerGetIndividualUserFeatureDrillDownQuery';
|
54
58
|
export type { Category } from './schemas/Category';
|
55
59
|
export type { CdDeploymentData } from './schemas/CdDeploymentData';
|
56
60
|
export type { CiPipelineData } from './schemas/CiPipelineData';
|
61
|
+
export type { CodeChangeStats } from './schemas/CodeChangeStats';
|
57
62
|
export type { CollectionEnriched } from './schemas/CollectionEnriched';
|
58
63
|
export type { CollectionFilter } from './schemas/CollectionFilter';
|
59
64
|
export type { CollectionTree } from './schemas/CollectionTree';
|
@@ -67,25 +72,37 @@ export type { DoraChangeFailureRateMetric } from './schemas/DoraChangeFailureRat
|
|
67
72
|
export type { DoraChangeFailureRateMetricBreakdown } from './schemas/DoraChangeFailureRateMetricBreakdown';
|
68
73
|
export type { DoraDeploymentFrequencyMetric } from './schemas/DoraDeploymentFrequencyMetric';
|
69
74
|
export type { DoraDeploymentFrequencyMetricBreakdown } from './schemas/DoraDeploymentFrequencyMetricBreakdown';
|
70
|
-
export type {
|
71
|
-
export type {
|
75
|
+
export type { DoraLttcMttrMetric } from './schemas/DoraLttcMttrMetric';
|
76
|
+
export type { DoraLttcMttrMetricBreakdown } from './schemas/DoraLttcMttrMetricBreakdown';
|
72
77
|
export type { DoraMetricDrilldownFiltersResponse } from './schemas/DoraMetricDrilldownFiltersResponse';
|
73
78
|
export type { DoraMetricDrilldownRequest } from './schemas/DoraMetricDrilldownRequest';
|
74
79
|
export type { DoraMetricDrilldownResponse } from './schemas/DoraMetricDrilldownResponse';
|
75
80
|
export type { DoraRequest } from './schemas/DoraRequest';
|
76
81
|
export type { DoraSummaryMetric } from './schemas/DoraSummaryMetric';
|
77
82
|
export type { DoraSummaryRequest } from './schemas/DoraSummaryRequest';
|
83
|
+
export type { DrilldownData } from './schemas/DrilldownData';
|
84
|
+
export type { DrilldownDataPoint } from './schemas/DrilldownDataPoint';
|
85
|
+
export type { IndividualDrilldownData } from './schemas/IndividualDrilldownData';
|
86
|
+
export type { IndividualDrilldownDataPoint } from './schemas/IndividualDrilldownDataPoint';
|
78
87
|
export type { IntegrationObject } from './schemas/IntegrationObject';
|
79
88
|
export type { IssueManagementData } from './schemas/IssueManagementData';
|
80
89
|
export type { PaginationInfo } from './schemas/PaginationInfo';
|
81
90
|
export type { PaginationRequest } from './schemas/PaginationRequest';
|
91
|
+
export type { PrSize } from './schemas/PrSize';
|
92
|
+
export type { PrVelocityDrilldownResponseDataPoint } from './schemas/PrVelocityDrilldownResponseDataPoint';
|
93
|
+
export type { PrVelocityIndividualDrilldownResponseDataPoint } from './schemas/PrVelocityIndividualDrilldownResponseDataPoint';
|
82
94
|
export type { ProductivityDataPoint } from './schemas/ProductivityDataPoint';
|
95
|
+
export type { ProductivityFeatureBreakdownResponseDataPoint } from './schemas/ProductivityFeatureBreakdownResponseDataPoint';
|
83
96
|
export type { ProductivityFeatureBreakdownResponseDto } from './schemas/ProductivityFeatureBreakdownResponseDto';
|
97
|
+
export type { ProductivityFeatureDrilldownResponseDto } from './schemas/ProductivityFeatureDrilldownResponseDto';
|
98
|
+
export type { ProductivityFeatureIndividualDrilldownResponseDto } from './schemas/ProductivityFeatureIndividualDrilldownResponseDto';
|
84
99
|
export type { ProductivityFeatureRequestDto } from './schemas/ProductivityFeatureRequestDto';
|
85
100
|
export type { ProductivityFeatureResponseDto } from './schemas/ProductivityFeatureResponseDto';
|
86
|
-
export type { ProductivityRequestDto } from './schemas/ProductivityRequestDto';
|
87
101
|
export type { ScmCommitData } from './schemas/ScmCommitData';
|
88
102
|
export type { Stage } from './schemas/Stage';
|
89
103
|
export type { SummaryCard } from './schemas/SummaryCard';
|
90
104
|
export type { SummaryValue } from './schemas/SummaryValue';
|
91
105
|
export type { SummaryValueChange } from './schemas/SummaryValueChange';
|
106
|
+
export type { WorkCompletedDrilldownResponseDataPoint } from './schemas/WorkCompletedDrilldownResponseDataPoint';
|
107
|
+
export type { WorkCompletedIndividualDrilldownResponseDataPoint } from './schemas/WorkCompletedIndividualDrilldownResponseDataPoint';
|
108
|
+
export type { WorkType } from './schemas/WorkType';
|
@@ -23,4 +23,6 @@ export { doraControllerSummary, useDoraControllerSummaryQuery, } from './hooks/u
|
|
23
23
|
export { jiraIssuesControllerGetJiraIssueCount, useJiraIssuesControllerGetJiraIssueCountQuery, } from './hooks/useJiraIssuesControllerGetJiraIssueCountQuery';
|
24
24
|
export { legacyHealthControllerCheck, useLegacyHealthControllerCheckQuery, } from './hooks/useLegacyHealthControllerCheckQuery';
|
25
25
|
export { productivityControllerGetFeatureBreakdown, useProductivityControllerGetFeatureBreakdownQuery, } from './hooks/useProductivityControllerGetFeatureBreakdownQuery';
|
26
|
+
export { productivityControllerGetFeatureDrillDown, useProductivityControllerGetFeatureDrillDownQuery, } from './hooks/useProductivityControllerGetFeatureDrillDownQuery';
|
26
27
|
export { productivityControllerGetFeatureMetrics, useProductivityControllerGetFeatureMetricsQuery, } from './hooks/useProductivityControllerGetFeatureMetricsQuery';
|
28
|
+
export { productivityControllerGetIndividualUserFeatureDrillDown, useProductivityControllerGetIndividualUserFeatureDrillDownQuery, } from './hooks/useProductivityControllerGetIndividualUserFeatureDrillDownQuery';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type {
|
1
|
+
import type { DoraLttcMttrMetricBreakdown } from '../schemas/DoraLttcMttrMetricBreakdown';
|
2
2
|
export interface DataPointBreakdown {
|
3
|
-
dataPoints?:
|
3
|
+
dataPoints?: DoraLttcMttrMetricBreakdown[];
|
4
4
|
}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import type { PrVelocityDrilldownResponseDataPoint } from '../schemas/PrVelocityDrilldownResponseDataPoint';
|
2
|
+
import type { WorkCompletedDrilldownResponseDataPoint } from '../schemas/WorkCompletedDrilldownResponseDataPoint';
|
3
|
+
export interface DrilldownData {
|
4
|
+
drilldownDataPoints?: Array<PrVelocityDrilldownResponseDataPoint & WorkCompletedDrilldownResponseDataPoint>;
|
5
|
+
metricType?: 'PR_VELOCITY' | 'WORK_COMPLETED';
|
6
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import type { PrVelocityIndividualDrilldownResponseDataPoint } from '../schemas/PrVelocityIndividualDrilldownResponseDataPoint';
|
2
|
+
import type { WorkCompletedIndividualDrilldownResponseDataPoint } from '../schemas/WorkCompletedIndividualDrilldownResponseDataPoint';
|
3
|
+
export interface IndividualDrilldownData {
|
4
|
+
individualDrilldownDataPoints?: Array<PrVelocityIndividualDrilldownResponseDataPoint & WorkCompletedIndividualDrilldownResponseDataPoint>;
|
5
|
+
metricType?: 'PR_VELOCITY' | 'WORK_COMPLETED';
|
6
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
package/dist/sei-panorama-service/src/services/schemas/PrVelocityDrilldownResponseDataPoint.d.ts
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
import type { CodeChangeStats } from '../schemas/CodeChangeStats';
|
2
|
+
import type { PrSize } from '../schemas/PrSize';
|
3
|
+
import type { WorkType } from '../schemas/WorkType';
|
4
|
+
import type { DrilldownDataPoint } from '../schemas/DrilldownDataPoint';
|
5
|
+
export interface PrVelocityDrilldownResponseDataPoint extends DrilldownDataPoint {
|
6
|
+
/**
|
7
|
+
* @format double
|
8
|
+
*/
|
9
|
+
averageTimeToMerge?: number;
|
10
|
+
codeChangeStats?: CodeChangeStats;
|
11
|
+
contributorCustomFields?: {
|
12
|
+
[key: string]: {
|
13
|
+
[key: string]: any;
|
14
|
+
};
|
15
|
+
};
|
16
|
+
contributorId?: string;
|
17
|
+
contributorName?: string;
|
18
|
+
contributorUserIntegrationId?: string;
|
19
|
+
/**
|
20
|
+
* @format int64
|
21
|
+
*/
|
22
|
+
prCount?: number;
|
23
|
+
prSizesCount?: PrSize[];
|
24
|
+
workTypesCount?: WorkType[];
|
25
|
+
}
|
package/dist/sei-panorama-service/src/services/schemas/PrVelocityDrilldownResponseDataPoint.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import type { CodeChangeStats } from '../schemas/CodeChangeStats';
|
2
|
+
import type { IndividualDrilldownDataPoint } from '../schemas/IndividualDrilldownDataPoint';
|
3
|
+
export interface PrVelocityIndividualDrilldownResponseDataPoint extends IndividualDrilldownDataPoint {
|
4
|
+
codeChanges?: CodeChangeStats;
|
5
|
+
contributorId?: string;
|
6
|
+
contributorName?: string;
|
7
|
+
contributorUserIntegrationId?: string;
|
8
|
+
/**
|
9
|
+
* @format date-time
|
10
|
+
*/
|
11
|
+
createdDate?: string;
|
12
|
+
/**
|
13
|
+
* @format date-time
|
14
|
+
*/
|
15
|
+
mergedDate?: string;
|
16
|
+
prLink?: string;
|
17
|
+
/**
|
18
|
+
* @format int64
|
19
|
+
*/
|
20
|
+
prNumber?: number;
|
21
|
+
prTitle?: string;
|
22
|
+
status?: string;
|
23
|
+
workItemId?: string;
|
24
|
+
workItemLink?: string;
|
25
|
+
workType?: 'BUG' | 'FEATURE' | 'MISSING_TICKET' | 'OTHER';
|
26
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,23 @@
|
|
1
|
+
export interface ProductivityFeatureBreakdownResponseDataPoint {
|
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 double
|
21
|
+
*/
|
22
|
+
totalCount?: number;
|
23
|
+
}
|
package/dist/sei-panorama-service/src/services/schemas/ProductivityFeatureBreakdownResponseDto.d.ts
CHANGED
@@ -1,23 +1,4 @@
|
|
1
|
+
import type { ProductivityFeatureBreakdownResponseDataPoint } from '../schemas/ProductivityFeatureBreakdownResponseDataPoint';
|
1
2
|
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;
|
3
|
+
dataPoints?: ProductivityFeatureBreakdownResponseDataPoint[];
|
23
4
|
}
|
package/dist/sei-panorama-service/src/services/schemas/ProductivityFeatureDrilldownResponseDto.d.ts
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
import type { DrilldownData } from '../schemas/DrilldownData';
|
2
|
+
export interface ProductivityFeatureDrilldownResponseDto {
|
3
|
+
/**
|
4
|
+
* @format int64
|
5
|
+
*/
|
6
|
+
collectionId?: number;
|
7
|
+
/**
|
8
|
+
* @format int64
|
9
|
+
*/
|
10
|
+
collectionName?: number;
|
11
|
+
drilldownData?: {
|
12
|
+
[key: string]: DrilldownData;
|
13
|
+
};
|
14
|
+
/**
|
15
|
+
* @format date-time
|
16
|
+
*/
|
17
|
+
endDate?: string;
|
18
|
+
/**
|
19
|
+
* @format date-time
|
20
|
+
*/
|
21
|
+
startDate?: string;
|
22
|
+
/**
|
23
|
+
* @format int64
|
24
|
+
*/
|
25
|
+
totalCount?: number;
|
26
|
+
}
|
package/dist/sei-panorama-service/src/services/schemas/ProductivityFeatureDrilldownResponseDto.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import type { IndividualDrilldownData } from '../schemas/IndividualDrilldownData';
|
2
|
+
export interface ProductivityFeatureIndividualDrilldownResponseDto {
|
3
|
+
contributorId?: string;
|
4
|
+
contributorName?: string;
|
5
|
+
/**
|
6
|
+
* @format date-time
|
7
|
+
*/
|
8
|
+
endDate?: string;
|
9
|
+
individualDrilldownData?: {
|
10
|
+
[key: string]: IndividualDrilldownData;
|
11
|
+
};
|
12
|
+
/**
|
13
|
+
* @format date-time
|
14
|
+
*/
|
15
|
+
startDate?: string;
|
16
|
+
/**
|
17
|
+
* @format int64
|
18
|
+
*/
|
19
|
+
totalCount?: number;
|
20
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
export interface ProductivityFeatureRequestDto {
|
2
|
-
collectionId
|
2
|
+
collectionId?: string;
|
3
3
|
collectionRefIds?: string[];
|
4
4
|
collectionUUIDs?: string[];
|
5
5
|
contributorRefIds?: string[];
|
@@ -10,6 +10,14 @@ export interface ProductivityFeatureRequestDto {
|
|
10
10
|
endDate?: string;
|
11
11
|
featureType?: 'AVG_TIME_TO_FIRST_COMMENT' | 'CODING_DAYS' | 'LINES_OF_CODE' | 'NUMBER_OF_BUGS' | 'NUMBER_OF_COMMENTS_PER_PR' | 'NUMBER_OF_STORIES' | 'PR_VELOCITY';
|
12
12
|
granularity?: 'MONTHLY' | 'QUARTERLY' | 'WEEKLY';
|
13
|
+
/**
|
14
|
+
* @format int32
|
15
|
+
*/
|
16
|
+
page?: number;
|
17
|
+
/**
|
18
|
+
* @format int32
|
19
|
+
*/
|
20
|
+
page_size?: number;
|
13
21
|
stackBy?: 'PRIORITY' | 'PR_SIZE' | 'TICKET_SIZE' | 'WORK_TYPE';
|
14
22
|
/**
|
15
23
|
* @format date-time
|
package/dist/sei-panorama-service/src/services/schemas/WorkCompletedDrilldownResponseDataPoint.d.ts
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
import type { WorkType } from '../schemas/WorkType';
|
2
|
+
import type { DrilldownDataPoint } from '../schemas/DrilldownDataPoint';
|
3
|
+
export interface WorkCompletedDrilldownResponseDataPoint extends DrilldownDataPoint {
|
4
|
+
/**
|
5
|
+
* @format double
|
6
|
+
*/
|
7
|
+
averageTimeToComplete?: number;
|
8
|
+
contributorCustomFields?: {
|
9
|
+
[key: string]: {
|
10
|
+
[key: string]: any;
|
11
|
+
};
|
12
|
+
};
|
13
|
+
contributorId?: string;
|
14
|
+
contributorName?: string;
|
15
|
+
contributorUserIntegrationId?: string;
|
16
|
+
/**
|
17
|
+
* @format int64
|
18
|
+
*/
|
19
|
+
issueCompletedCount?: number;
|
20
|
+
workTypesCount?: WorkType[];
|
21
|
+
}
|
package/dist/sei-panorama-service/src/services/schemas/WorkCompletedDrilldownResponseDataPoint.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import type { IndividualDrilldownDataPoint } from '../schemas/IndividualDrilldownDataPoint';
|
2
|
+
export interface WorkCompletedIndividualDrilldownResponseDataPoint extends IndividualDrilldownDataPoint {
|
3
|
+
/**
|
4
|
+
* @format date-time
|
5
|
+
*/
|
6
|
+
closedDate?: string;
|
7
|
+
contributorId?: string;
|
8
|
+
contributorName?: string;
|
9
|
+
contributorUserIntegrationId?: string;
|
10
|
+
/**
|
11
|
+
* @format date-time
|
12
|
+
*/
|
13
|
+
createdDate?: string;
|
14
|
+
status?: string;
|
15
|
+
statusCategory?: string;
|
16
|
+
/**
|
17
|
+
* @format double
|
18
|
+
*/
|
19
|
+
timeToComplete?: number;
|
20
|
+
workItemId?: string;
|
21
|
+
workItemLink?: string;
|
22
|
+
/**
|
23
|
+
* @format double
|
24
|
+
*/
|
25
|
+
workItemPortion?: number;
|
26
|
+
workItemSummary?: string;
|
27
|
+
workType?: 'BUG' | 'FEATURE' | 'MISSING_TICKET' | 'OTHER';
|
28
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@harnessio/react-sei-panorama-service-client",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.12.0",
|
4
4
|
"description": "Harness React sei panorama service client - SEI Panorama APIs integrated with react hooks for Panorama project",
|
5
5
|
"author": "Harness Inc",
|
6
6
|
"license": "MIT",
|
@@ -1,16 +0,0 @@
|
|
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
|
-
}
|
File without changes
|
/package/dist/sei-panorama-service/src/services/schemas/{DoraMetric.js → DoraLttcMttrMetric.js}
RENAMED
File without changes
|
File without changes
|