@harnessio/react-sei-panorama-service-client 0.10.18 → 0.10.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/sei-panorama-service/src/services/hooks/{useDoraControllerLeadTimeDrilldownFiltersMutation.d.ts → useDoraControllerLeadTimeDrilldownFiltersQuery.d.ts} +5 -5
- package/dist/sei-panorama-service/src/services/hooks/{useDoraControllerLeadTimeDrilldownFiltersMutation.js → useDoraControllerLeadTimeDrilldownFiltersQuery.js} +3 -3
- package/dist/sei-panorama-service/src/services/hooks/{useDoraControllerLeadTimeDrilldownMutation.d.ts → useDoraControllerLeadTimeDrilldownQuery.d.ts} +5 -5
- package/dist/sei-panorama-service/src/services/hooks/{useDoraControllerLeadTimeDrilldownMutation.js → useDoraControllerLeadTimeDrilldownQuery.js} +3 -3
- package/dist/sei-panorama-service/src/services/hooks/useProductivityControllerGetFeatureBreakdownQuery.d.ts +2 -2
- package/dist/sei-panorama-service/src/services/index.d.ts +5 -5
- package/dist/sei-panorama-service/src/services/index.js +2 -2
- package/dist/sei-panorama-service/src/services/schemas/ProductivityFeatureBreakdownResponseDataPoint.d.ts +23 -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/ProductivityFeatureRequestDto.d.ts +1 -1
- 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 → ProductivityFeatureBreakdownResponseDataPoint.js} +0 -0
@@ -1,9 +1,9 @@
|
|
1
|
-
import {
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
2
|
import type { DoraMetricDrilldownFiltersResponse } from '../schemas/DoraMetricDrilldownFiltersResponse';
|
3
3
|
import type { DoraMetricDrilldownRequest } from '../schemas/DoraMetricDrilldownRequest';
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
-
export interface
|
6
|
+
export interface DoraControllerLeadTimeDrilldownFiltersQueryQueryParams {
|
7
7
|
account: string;
|
8
8
|
projectIdentifier: string;
|
9
9
|
orgIdentifier: string;
|
@@ -11,12 +11,12 @@ export interface DoraControllerLeadTimeDrilldownFiltersMutationQueryParams {
|
|
11
11
|
export type DoraControllerLeadTimeDrilldownFiltersRequestBody = DoraMetricDrilldownRequest;
|
12
12
|
export type DoraControllerLeadTimeDrilldownFiltersOkResponse = ResponseWithPagination<DoraMetricDrilldownFiltersResponse>;
|
13
13
|
export type DoraControllerLeadTimeDrilldownFiltersErrorResponse = string;
|
14
|
-
export interface DoraControllerLeadTimeDrilldownFiltersProps extends Omit<FetcherOptions<
|
15
|
-
queryParams:
|
14
|
+
export interface DoraControllerLeadTimeDrilldownFiltersProps extends Omit<FetcherOptions<DoraControllerLeadTimeDrilldownFiltersQueryQueryParams, DoraControllerLeadTimeDrilldownFiltersRequestBody>, 'url'> {
|
15
|
+
queryParams: DoraControllerLeadTimeDrilldownFiltersQueryQueryParams;
|
16
16
|
body: DoraControllerLeadTimeDrilldownFiltersRequestBody;
|
17
17
|
}
|
18
18
|
export declare function doraControllerLeadTimeDrilldownFilters(props: DoraControllerLeadTimeDrilldownFiltersProps): Promise<DoraControllerLeadTimeDrilldownFiltersOkResponse>;
|
19
19
|
/**
|
20
20
|
* Get filter information for Lead Time to Change drilldown data
|
21
21
|
*/
|
22
|
-
export declare function
|
22
|
+
export declare function useDoraControllerLeadTimeDrilldownFiltersQuery(props: DoraControllerLeadTimeDrilldownFiltersProps, options?: Omit<UseQueryOptions<DoraControllerLeadTimeDrilldownFiltersOkResponse, DoraControllerLeadTimeDrilldownFiltersErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<DoraControllerLeadTimeDrilldownFiltersOkResponse, string>;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/* eslint-disable */
|
2
2
|
// This code is autogenerated using @harnessio/oats-cli.
|
3
3
|
// Please do not modify this code directly.
|
4
|
-
import {
|
4
|
+
import { useQuery } from '@tanstack/react-query';
|
5
5
|
import { fetcher } from '../../../../fetcher/index.js';
|
6
6
|
export function doraControllerLeadTimeDrilldownFilters(props) {
|
7
7
|
return fetcher(Object.assign({ url: `/v2/insights/dora/leadtime/drilldown/filters`, method: 'POST' }, props));
|
@@ -9,6 +9,6 @@ export function doraControllerLeadTimeDrilldownFilters(props) {
|
|
9
9
|
/**
|
10
10
|
* Get filter information for Lead Time to Change drilldown data
|
11
11
|
*/
|
12
|
-
export function
|
13
|
-
return
|
12
|
+
export function useDoraControllerLeadTimeDrilldownFiltersQuery(props, options) {
|
13
|
+
return useQuery(['DoraControllerLeadTimeDrilldownFilters', props.queryParams, props.body], ({ signal }) => doraControllerLeadTimeDrilldownFilters(Object.assign(Object.assign({}, props), { signal })), options);
|
14
14
|
}
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import {
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
2
|
import type { DoraMetricDrilldownResponse } from '../schemas/DoraMetricDrilldownResponse';
|
3
3
|
import type { DoraMetricDrilldownRequest } from '../schemas/DoraMetricDrilldownRequest';
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
-
export interface
|
6
|
+
export interface DoraControllerLeadTimeDrilldownQueryQueryParams {
|
7
7
|
account: string;
|
8
8
|
projectIdentifier: string;
|
9
9
|
orgIdentifier: string;
|
@@ -11,12 +11,12 @@ export interface DoraControllerLeadTimeDrilldownMutationQueryParams {
|
|
11
11
|
export type DoraControllerLeadTimeDrilldownRequestBody = DoraMetricDrilldownRequest;
|
12
12
|
export type DoraControllerLeadTimeDrilldownOkResponse = ResponseWithPagination<DoraMetricDrilldownResponse>;
|
13
13
|
export type DoraControllerLeadTimeDrilldownErrorResponse = string;
|
14
|
-
export interface DoraControllerLeadTimeDrilldownProps extends Omit<FetcherOptions<
|
15
|
-
queryParams:
|
14
|
+
export interface DoraControllerLeadTimeDrilldownProps extends Omit<FetcherOptions<DoraControllerLeadTimeDrilldownQueryQueryParams, DoraControllerLeadTimeDrilldownRequestBody>, 'url'> {
|
15
|
+
queryParams: DoraControllerLeadTimeDrilldownQueryQueryParams;
|
16
16
|
body: DoraControllerLeadTimeDrilldownRequestBody;
|
17
17
|
}
|
18
18
|
export declare function doraControllerLeadTimeDrilldown(props: DoraControllerLeadTimeDrilldownProps): Promise<DoraControllerLeadTimeDrilldownOkResponse>;
|
19
19
|
/**
|
20
20
|
* Get detailed Lead Time to Change data with pagination support and data source filtering
|
21
21
|
*/
|
22
|
-
export declare function
|
22
|
+
export declare function useDoraControllerLeadTimeDrilldownQuery(props: DoraControllerLeadTimeDrilldownProps, options?: Omit<UseQueryOptions<DoraControllerLeadTimeDrilldownOkResponse, DoraControllerLeadTimeDrilldownErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<DoraControllerLeadTimeDrilldownOkResponse, string>;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/* eslint-disable */
|
2
2
|
// This code is autogenerated using @harnessio/oats-cli.
|
3
3
|
// Please do not modify this code directly.
|
4
|
-
import {
|
4
|
+
import { useQuery } from '@tanstack/react-query';
|
5
5
|
import { fetcher } from '../../../../fetcher/index.js';
|
6
6
|
export function doraControllerLeadTimeDrilldown(props) {
|
7
7
|
return fetcher(Object.assign({ url: `/v2/insights/dora/leadtime/drilldown`, method: 'POST' }, props));
|
@@ -9,6 +9,6 @@ export function doraControllerLeadTimeDrilldown(props) {
|
|
9
9
|
/**
|
10
10
|
* Get detailed Lead Time to Change data with pagination support and data source filtering
|
11
11
|
*/
|
12
|
-
export function
|
13
|
-
return
|
12
|
+
export function useDoraControllerLeadTimeDrilldownQuery(props, options) {
|
13
|
+
return useQuery(['DoraControllerLeadTimeDrilldown', props.queryParams, props.body], ({ signal }) => doraControllerLeadTimeDrilldown(Object.assign(Object.assign({}, props), { signal })), options);
|
14
14
|
}
|
@@ -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'> {
|
@@ -29,10 +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,
|
33
|
-
export { doraControllerLeadTimeDrilldownFilters,
|
34
|
-
export type { DoraControllerLeadTimeDrilldownErrorResponse,
|
35
|
-
export { doraControllerLeadTimeDrilldown,
|
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';
|
36
36
|
export type { DoraControllerLeadTimeErrorResponse, DoraControllerLeadTimeOkResponse, DoraControllerLeadTimeProps, DoraControllerLeadTimeQueryQueryParams, DoraControllerLeadTimeRequestBody, } from './hooks/useDoraControllerLeadTimeQuery';
|
37
37
|
export { doraControllerLeadTime, useDoraControllerLeadTimeQuery, } from './hooks/useDoraControllerLeadTimeQuery';
|
38
38
|
export type { DoraControllerLeadTimeStagesErrorResponse, DoraControllerLeadTimeStagesOkResponse, DoraControllerLeadTimeStagesProps, DoraControllerLeadTimeStagesQueryQueryParams, DoraControllerLeadTimeStagesRequestBody, } from './hooks/useDoraControllerLeadTimeStagesQuery';
|
@@ -80,10 +80,10 @@ export type { IssueManagementData } from './schemas/IssueManagementData';
|
|
80
80
|
export type { PaginationInfo } from './schemas/PaginationInfo';
|
81
81
|
export type { PaginationRequest } from './schemas/PaginationRequest';
|
82
82
|
export type { ProductivityDataPoint } from './schemas/ProductivityDataPoint';
|
83
|
+
export type { ProductivityFeatureBreakdownResponseDataPoint } from './schemas/ProductivityFeatureBreakdownResponseDataPoint';
|
83
84
|
export type { ProductivityFeatureBreakdownResponseDto } from './schemas/ProductivityFeatureBreakdownResponseDto';
|
84
85
|
export type { ProductivityFeatureRequestDto } from './schemas/ProductivityFeatureRequestDto';
|
85
86
|
export type { ProductivityFeatureResponseDto } from './schemas/ProductivityFeatureResponseDto';
|
86
|
-
export type { ProductivityRequestDto } from './schemas/ProductivityRequestDto';
|
87
87
|
export type { ScmCommitData } from './schemas/ScmCommitData';
|
88
88
|
export type { Stage } from './schemas/Stage';
|
89
89
|
export type { SummaryCard } from './schemas/SummaryCard';
|
@@ -13,8 +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,
|
17
|
-
export { doraControllerLeadTimeDrilldown,
|
16
|
+
export { doraControllerLeadTimeDrilldownFilters, useDoraControllerLeadTimeDrilldownFiltersQuery, } from './hooks/useDoraControllerLeadTimeDrilldownFiltersQuery';
|
17
|
+
export { doraControllerLeadTimeDrilldown, useDoraControllerLeadTimeDrilldownQuery, } from './hooks/useDoraControllerLeadTimeDrilldownQuery';
|
18
18
|
export { doraControllerLeadTime, useDoraControllerLeadTimeQuery, } from './hooks/useDoraControllerLeadTimeQuery';
|
19
19
|
export { doraControllerLeadTimeStages, useDoraControllerLeadTimeStagesQuery, } from './hooks/useDoraControllerLeadTimeStagesQuery';
|
20
20
|
export { doraControllerMeanTimeRestore, useDoraControllerMeanTimeRestoreQuery, } from './hooks/useDoraControllerMeanTimeRestoreQuery';
|
@@ -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 int64
|
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/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.20",
|
4
4
|
"description": "Harness React sei panorama service client - SEI Panorama APIs integrated with react hooks for Panorama project",
|
5
5
|
"author": "Harness Inc",
|
6
6
|
"license": "MIT",
|
@@ -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
|
-
}
|