@harnessio/react-sei-panorama-service-client 0.10.23 → 0.11.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.
Files changed (49) hide show
  1. package/dist/sei-panorama-service/src/services/hooks/useDoraControllerLeadTimeQuery.d.ts +2 -2
  2. package/dist/sei-panorama-service/src/services/hooks/useDoraControllerLeadTimeStagesQuery.d.ts +2 -2
  3. package/dist/sei-panorama-service/src/services/hooks/useDoraControllerMeanTimeRestoreQuery.d.ts +2 -2
  4. package/dist/sei-panorama-service/src/services/hooks/useProductivityControllerGetFeatureBreakdownQuery.d.ts +2 -2
  5. package/dist/sei-panorama-service/src/services/hooks/useProductivityControllerGetFeatureDrillDownQuery.d.ts +20 -0
  6. package/dist/sei-panorama-service/src/services/hooks/useProductivityControllerGetFeatureDrillDownQuery.js +14 -0
  7. package/dist/sei-panorama-service/src/services/hooks/useProductivityControllerGetIndividualUserFeatureDrillDownQuery.d.ts +20 -0
  8. package/dist/sei-panorama-service/src/services/hooks/useProductivityControllerGetIndividualUserFeatureDrillDownQuery.js +14 -0
  9. package/dist/sei-panorama-service/src/services/index.d.ts +20 -3
  10. package/dist/sei-panorama-service/src/services/index.js +2 -0
  11. package/dist/sei-panorama-service/src/services/schemas/CodeChangeStats.d.ts +14 -0
  12. package/dist/sei-panorama-service/src/services/schemas/DataPointBreakdown.d.ts +2 -2
  13. package/dist/sei-panorama-service/src/services/schemas/{DoraMetric.d.ts → DoraLttcMttrMetric.d.ts} +1 -1
  14. package/dist/sei-panorama-service/src/services/schemas/{DoraMetricBreakdown.d.ts → DoraLttcMttrMetricBreakdown.d.ts} +1 -1
  15. package/dist/sei-panorama-service/src/services/schemas/DrilldownData.d.ts +6 -0
  16. package/dist/sei-panorama-service/src/services/schemas/DrilldownData.js +1 -0
  17. package/dist/sei-panorama-service/src/services/schemas/DrilldownDataPoint.d.ts +4 -0
  18. package/dist/sei-panorama-service/src/services/schemas/DrilldownDataPoint.js +4 -0
  19. package/dist/sei-panorama-service/src/services/schemas/IndividualDrilldownData.d.ts +6 -0
  20. package/dist/sei-panorama-service/src/services/schemas/IndividualDrilldownData.js +1 -0
  21. package/dist/sei-panorama-service/src/services/schemas/IndividualDrilldownDataPoint.d.ts +4 -0
  22. package/dist/sei-panorama-service/src/services/schemas/IndividualDrilldownDataPoint.js +4 -0
  23. package/dist/sei-panorama-service/src/services/schemas/PrSize.d.ts +7 -0
  24. package/dist/sei-panorama-service/src/services/schemas/PrSize.js +4 -0
  25. package/dist/sei-panorama-service/src/services/schemas/PrVelocityDrilldownResponseDataPoint.d.ts +19 -0
  26. package/dist/sei-panorama-service/src/services/schemas/PrVelocityDrilldownResponseDataPoint.js +1 -0
  27. package/dist/sei-panorama-service/src/services/schemas/PrVelocityIndividualDrilldownResponseDataPoint.d.ts +25 -0
  28. package/dist/sei-panorama-service/src/services/schemas/PrVelocityIndividualDrilldownResponseDataPoint.js +1 -0
  29. package/dist/sei-panorama-service/src/services/schemas/ProductivityDataPoint.d.ts +1 -1
  30. package/dist/sei-panorama-service/src/services/schemas/ProductivityFeatureBreakdownResponseDataPoint.d.ts +23 -0
  31. package/dist/sei-panorama-service/src/services/schemas/ProductivityFeatureBreakdownResponseDataPoint.js +4 -0
  32. package/dist/sei-panorama-service/src/services/schemas/ProductivityFeatureBreakdownResponseDto.d.ts +2 -21
  33. package/dist/sei-panorama-service/src/services/schemas/ProductivityFeatureBreakdownResponseDto.js +0 -3
  34. package/dist/sei-panorama-service/src/services/schemas/ProductivityFeatureDrilldownResponseDto.d.ts +26 -0
  35. package/dist/sei-panorama-service/src/services/schemas/ProductivityFeatureDrilldownResponseDto.js +1 -0
  36. package/dist/sei-panorama-service/src/services/schemas/ProductivityFeatureIndividualDrilldownResponseDto.d.ts +20 -0
  37. package/dist/sei-panorama-service/src/services/schemas/ProductivityFeatureIndividualDrilldownResponseDto.js +1 -0
  38. package/dist/sei-panorama-service/src/services/schemas/ProductivityFeatureRequestDto.d.ts +9 -1
  39. package/dist/sei-panorama-service/src/services/schemas/WorkCompletedDrilldownResponseDataPoint.d.ts +15 -0
  40. package/dist/sei-panorama-service/src/services/schemas/WorkCompletedDrilldownResponseDataPoint.js +1 -0
  41. package/dist/sei-panorama-service/src/services/schemas/WorkCompletedIndividualDrilldownResponseDataPoint.d.ts +27 -0
  42. package/dist/sei-panorama-service/src/services/schemas/WorkCompletedIndividualDrilldownResponseDataPoint.js +1 -0
  43. package/dist/sei-panorama-service/src/services/schemas/WorkType.d.ts +7 -0
  44. package/dist/sei-panorama-service/src/services/schemas/WorkType.js +4 -0
  45. package/package.json +1 -1
  46. package/dist/sei-panorama-service/src/services/schemas/ProductivityRequestDto.d.ts +0 -16
  47. /package/dist/sei-panorama-service/src/services/schemas/{ProductivityRequestDto.js → CodeChangeStats.js} +0 -0
  48. /package/dist/sei-panorama-service/src/services/schemas/{DoraMetric.js → DoraLttcMttrMetric.js} +0 -0
  49. /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 { DoraMetric } from '../schemas/DoraMetric';
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<DoraMetric>;
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;
@@ -1,5 +1,5 @@
1
1
  import { UseQueryOptions } from '@tanstack/react-query';
2
- import type { DoraMetric } from '../schemas/DoraMetric';
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<DoraMetric>;
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;
@@ -1,5 +1,5 @@
1
1
  import { UseQueryOptions } from '@tanstack/react-query';
2
- import type { DoraMetric } from '../schemas/DoraMetric';
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<DoraMetric>;
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 { ProductivityRequestDto } from '../schemas/ProductivityRequestDto';
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 = ProductivityRequestDto;
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 { DoraMetric } from './schemas/DoraMetric';
71
- export type { DoraMetricBreakdown } from './schemas/DoraMetricBreakdown';
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';
@@ -0,0 +1,14 @@
1
+ export interface CodeChangeStats {
2
+ /**
3
+ * @format int64
4
+ */
5
+ additions?: number;
6
+ /**
7
+ * @format int64
8
+ */
9
+ deletions?: number;
10
+ /**
11
+ * @format int64
12
+ */
13
+ totalChanges?: number;
14
+ }
@@ -1,4 +1,4 @@
1
- import type { DoraMetricBreakdown } from '../schemas/DoraMetricBreakdown';
1
+ import type { DoraLttcMttrMetricBreakdown } from '../schemas/DoraLttcMttrMetricBreakdown';
2
2
  export interface DataPointBreakdown {
3
- dataPoints?: DoraMetricBreakdown[];
3
+ dataPoints?: DoraLttcMttrMetricBreakdown[];
4
4
  }
@@ -1,6 +1,6 @@
1
1
  import type { DataPoint } from '../schemas/DataPoint';
2
2
  import type { Stage } from '../schemas/Stage';
3
- export interface DoraMetric {
3
+ export interface DoraLttcMttrMetric {
4
4
  dataPoints?: DataPoint[];
5
5
  /**
6
6
  * @format date-time
@@ -1,6 +1,6 @@
1
1
  import type { DataPoint } from '../schemas/DataPoint';
2
2
  import type { Stage } from '../schemas/Stage';
3
- export interface DoraMetricBreakdown {
3
+ export interface DoraLttcMttrMetricBreakdown {
4
4
  collectionId?: string;
5
5
  collectionName?: string;
6
6
  /**
@@ -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,4 @@
1
+ export interface DrilldownDataPoint {
2
+ metricType?: 'AVG_TIME_TO_FIRST_COMMENT' | 'CODING_DAYS' | 'LINES_OF_CODE' | 'NUMBER_OF_BUGS' | 'NUMBER_OF_COMMENTS_PER_PR' | 'NUMBER_OF_STORIES' | 'PR_VELOCITY';
3
+ type: string;
4
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ 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,4 @@
1
+ export interface IndividualDrilldownDataPoint {
2
+ metricType?: 'AVG_TIME_TO_FIRST_COMMENT' | 'CODING_DAYS' | 'LINES_OF_CODE' | 'NUMBER_OF_BUGS' | 'NUMBER_OF_COMMENTS_PER_PR' | 'NUMBER_OF_STORIES' | 'PR_VELOCITY';
3
+ type: string;
4
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,7 @@
1
+ export interface PrSize {
2
+ /**
3
+ * @format int64
4
+ */
5
+ count?: number;
6
+ prSize?: 'LARGE' | 'MEDIUM' | 'SMALL';
7
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,19 @@
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
+ contributorId?: string;
12
+ contributorName?: string;
13
+ /**
14
+ * @format int64
15
+ */
16
+ prCount?: number;
17
+ prSizesCount?: PrSize[];
18
+ workTypesCount?: WorkType[];
19
+ }
@@ -0,0 +1,25 @@
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
+ /**
8
+ * @format date-time
9
+ */
10
+ createdDate?: string;
11
+ /**
12
+ * @format date-time
13
+ */
14
+ mergedDate?: string;
15
+ prLink?: string;
16
+ /**
17
+ * @format int64
18
+ */
19
+ prNumber?: number;
20
+ prTitle?: string;
21
+ status?: string;
22
+ workItemId?: string;
23
+ workItemLink?: string;
24
+ workType?: 'BUG' | 'FEATURE' | 'MISSING_TICKET' | 'OTHER';
25
+ }
@@ -13,7 +13,7 @@ export interface ProductivityDataPoint {
13
13
  */
14
14
  startDate?: string;
15
15
  /**
16
- * @format int64
16
+ * @format double
17
17
  */
18
18
  totalCount?: number;
19
19
  }
@@ -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
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -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
  }
@@ -1,4 +1 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
1
  export {};
@@ -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
+ }
@@ -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
+ }
@@ -1,5 +1,5 @@
1
1
  export interface ProductivityFeatureRequestDto {
2
- collectionId: string;
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
@@ -0,0 +1,15 @@
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
+ contributorId?: string;
9
+ contributorName?: string;
10
+ /**
11
+ * @format int64
12
+ */
13
+ issueCompletedCount?: number;
14
+ workTypesCount?: WorkType[];
15
+ }
@@ -0,0 +1,27 @@
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
+ /**
10
+ * @format date-time
11
+ */
12
+ createdDate?: string;
13
+ status?: string;
14
+ statusCategory?: string;
15
+ /**
16
+ * @format double
17
+ */
18
+ timeToComplete?: number;
19
+ workItemId?: string;
20
+ workItemLink?: string;
21
+ /**
22
+ * @format double
23
+ */
24
+ workItemPortion?: number;
25
+ workItemSummary?: string;
26
+ workType?: 'BUGS' | 'FEATURES' | 'MISSING_TICKETS' | 'OTHERS';
27
+ }
@@ -0,0 +1,7 @@
1
+ export interface WorkType {
2
+ /**
3
+ * @format int64
4
+ */
5
+ count?: number;
6
+ workType?: 'BUGS' | 'FEATURES' | 'MISSING_TICKETS' | 'OTHERS';
7
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-sei-panorama-service-client",
3
- "version": "0.10.23",
3
+ "version": "0.11.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
- }