@harnessio/react-sei-panorama-service-client 0.10.3 → 0.10.5
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/useCategoryControllerGetCategoryQuery.d.ts +2 -2
- package/dist/sei-panorama-service/src/services/hooks/useCategoryControllerListQuery.d.ts +2 -2
- package/dist/sei-panorama-service/src/services/hooks/useCollectionControllerGetCollectionTreeQuery.d.ts +5 -2
- package/dist/sei-panorama-service/src/services/hooks/useCollectionControllerGetCollectionTreeQuery.js +3 -0
- package/dist/sei-panorama-service/src/services/hooks/useCollectionControllerListQuery.d.ts +5 -2
- package/dist/sei-panorama-service/src/services/hooks/useCollectionControllerListQuery.js +3 -0
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerBreakdownQuery.d.ts +5 -2
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerBreakdownQuery.js +3 -0
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerChangeFailureRateQuery.d.ts +22 -0
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerChangeFailureRateQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerDeploymentFrequencyBreakdownMutation.d.ts +22 -0
- package/dist/sei-panorama-service/src/services/hooks/{useDoraControllerDeploymentFrequencyMutation.js → useDoraControllerDeploymentFrequencyBreakdownMutation.js} +7 -4
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerDeploymentFrequencyQuery.d.ts +22 -0
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerDeploymentFrequencyQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerLeadTimeQuery.d.ts +5 -2
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerLeadTimeQuery.js +3 -0
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerLeadTimeStagesMutation.d.ts +22 -0
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerLeadTimeStagesMutation.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerMeanTimeRestoreQuery.d.ts +22 -0
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerMeanTimeRestoreQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/{useDoraControllerSummaryMutation.d.ts → useDoraControllerSummaryQuery.d.ts} +9 -6
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerSummaryQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/index.d.ts +15 -8
- package/dist/sei-panorama-service/src/services/index.js +6 -4
- package/dist/sei-panorama-service/src/services/schemas/DataPoint.d.ts +2 -3
- package/dist/sei-panorama-service/src/services/schemas/DataPointDeploymentFrequency.d.ts +14 -0
- package/dist/sei-panorama-service/src/services/schemas/DataPointDeploymentFrequency.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/DoraDeploymentFrequencyMetric.d.ts +17 -0
- package/dist/sei-panorama-service/src/services/schemas/DoraDeploymentFrequencyMetric.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/DoraDeploymentFrequencyMetricBreakdown.d.ts +8 -0
- package/dist/sei-panorama-service/src/services/schemas/DoraDeploymentFrequencyMetricBreakdown.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/DoraMetric.d.ts +0 -13
- package/dist/sei-panorama-service/src/services/schemas/DoraRequest.d.ts +4 -12
- package/dist/sei-panorama-service/src/services/schemas/DoraSummaryMetric.d.ts +0 -1
- package/dist/sei-panorama-service/src/services/schemas/Stage.d.ts +2 -2
- package/package.json +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerChangeFailureRateMutation.d.ts +0 -19
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerChangeFailureRateMutation.js +0 -11
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerDeploymentFrequencyMutation.d.ts +0 -19
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerMeanTimeRestoreMutation.d.ts +0 -19
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerMeanTimeRestoreMutation.js +0 -11
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerSummaryMutation.js +0 -11
package/dist/sei-panorama-service/src/services/hooks/useCategoryControllerGetCategoryQuery.d.ts
CHANGED
@@ -11,7 +11,7 @@ export interface CategoryControllerGetCategoryQueryQueryParams {
|
|
11
11
|
orgIdentifier?: string;
|
12
12
|
}
|
13
13
|
export type CategoryControllerGetCategoryOkResponse = ResponseWithPagination<DbListResponseCategory>;
|
14
|
-
export type CategoryControllerGetCategoryErrorResponse =
|
14
|
+
export type CategoryControllerGetCategoryErrorResponse = DbListResponseCategory;
|
15
15
|
export interface CategoryControllerGetCategoryProps extends CategoryControllerGetCategoryQueryPathParams, Omit<FetcherOptions<CategoryControllerGetCategoryQueryQueryParams, unknown>, 'url'> {
|
16
16
|
queryParams: CategoryControllerGetCategoryQueryQueryParams;
|
17
17
|
}
|
@@ -19,4 +19,4 @@ export declare function categoryControllerGetCategory(props: CategoryControllerG
|
|
19
19
|
/**
|
20
20
|
* Get categories by passing a workspace id into the filter
|
21
21
|
*/
|
22
|
-
export declare function useCategoryControllerGetCategoryQuery(props: CategoryControllerGetCategoryProps, options?: Omit<UseQueryOptions<CategoryControllerGetCategoryOkResponse, CategoryControllerGetCategoryErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<CategoryControllerGetCategoryOkResponse,
|
22
|
+
export declare function useCategoryControllerGetCategoryQuery(props: CategoryControllerGetCategoryProps, options?: Omit<UseQueryOptions<CategoryControllerGetCategoryOkResponse, CategoryControllerGetCategoryErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<CategoryControllerGetCategoryOkResponse, DbListResponseCategory>;
|
@@ -8,7 +8,7 @@ export interface CategoryControllerListQueryQueryParams {
|
|
8
8
|
orgIdentifier?: string;
|
9
9
|
}
|
10
10
|
export type CategoryControllerListOkResponse = ResponseWithPagination<DbListResponseCategory>;
|
11
|
-
export type CategoryControllerListErrorResponse =
|
11
|
+
export type CategoryControllerListErrorResponse = DbListResponseCategory;
|
12
12
|
export interface CategoryControllerListProps extends Omit<FetcherOptions<CategoryControllerListQueryQueryParams, unknown>, 'url'> {
|
13
13
|
queryParams: CategoryControllerListQueryQueryParams;
|
14
14
|
}
|
@@ -16,4 +16,4 @@ export declare function categoryControllerList(props: CategoryControllerListProp
|
|
16
16
|
/**
|
17
17
|
* Get categories by passing a workspace id into the filter
|
18
18
|
*/
|
19
|
-
export declare function useCategoryControllerListQuery(props: CategoryControllerListProps, options?: Omit<UseQueryOptions<CategoryControllerListOkResponse, CategoryControllerListErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<CategoryControllerListOkResponse,
|
19
|
+
export declare function useCategoryControllerListQuery(props: CategoryControllerListProps, options?: Omit<UseQueryOptions<CategoryControllerListOkResponse, CategoryControllerListErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<CategoryControllerListOkResponse, DbListResponseCategory>;
|
@@ -24,9 +24,12 @@ export interface CollectionControllerGetCollectionTreeQueryQueryParams {
|
|
24
24
|
orgIdentifier?: string;
|
25
25
|
}
|
26
26
|
export type CollectionControllerGetCollectionTreeOkResponse = ResponseWithPagination<CollectionObject>;
|
27
|
-
export type CollectionControllerGetCollectionTreeErrorResponse =
|
27
|
+
export type CollectionControllerGetCollectionTreeErrorResponse = CollectionObject;
|
28
28
|
export interface CollectionControllerGetCollectionTreeProps extends CollectionControllerGetCollectionTreeQueryPathParams, Omit<FetcherOptions<CollectionControllerGetCollectionTreeQueryQueryParams, unknown>, 'url'> {
|
29
29
|
queryParams: CollectionControllerGetCollectionTreeQueryQueryParams;
|
30
30
|
}
|
31
31
|
export declare function collectionControllerGetCollectionTree(props: CollectionControllerGetCollectionTreeProps): Promise<CollectionControllerGetCollectionTreeOkResponse>;
|
32
|
-
|
32
|
+
/**
|
33
|
+
* Get collection based on a ref id
|
34
|
+
*/
|
35
|
+
export declare function useCollectionControllerGetCollectionTreeQuery(props: CollectionControllerGetCollectionTreeProps, options?: Omit<UseQueryOptions<CollectionControllerGetCollectionTreeOkResponse, CollectionControllerGetCollectionTreeErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<CollectionControllerGetCollectionTreeOkResponse, CollectionObject>;
|
@@ -6,6 +6,9 @@ import { fetcher } from '../../../../fetcher/index.js';
|
|
6
6
|
export function collectionControllerGetCollectionTree(props) {
|
7
7
|
return fetcher(Object.assign({ url: `/v2/collection/${props.refId}`, method: 'GET' }, props));
|
8
8
|
}
|
9
|
+
/**
|
10
|
+
* Get collection based on a ref id
|
11
|
+
*/
|
9
12
|
export function useCollectionControllerGetCollectionTreeQuery(props, options) {
|
10
13
|
return useQuery(['CollectionControllerGetCollectionTree', props.refId, props.queryParams], ({ signal }) => collectionControllerGetCollectionTree(Object.assign(Object.assign({}, props), { signal })), options);
|
11
14
|
}
|
@@ -21,9 +21,12 @@ export interface CollectionControllerListQueryQueryParams {
|
|
21
21
|
filter?: string;
|
22
22
|
}
|
23
23
|
export type CollectionControllerListOkResponse = ResponseWithPagination<DbListResponseCollectionTree>;
|
24
|
-
export type CollectionControllerListErrorResponse =
|
24
|
+
export type CollectionControllerListErrorResponse = DbListResponseCollectionTree;
|
25
25
|
export interface CollectionControllerListProps extends Omit<FetcherOptions<CollectionControllerListQueryQueryParams, unknown>, 'url'> {
|
26
26
|
queryParams: CollectionControllerListQueryQueryParams;
|
27
27
|
}
|
28
28
|
export declare function collectionControllerList(props: CollectionControllerListProps): Promise<CollectionControllerListOkResponse>;
|
29
|
-
|
29
|
+
/**
|
30
|
+
* Get collections
|
31
|
+
*/
|
32
|
+
export declare function useCollectionControllerListQuery(props: CollectionControllerListProps, options?: Omit<UseQueryOptions<CollectionControllerListOkResponse, CollectionControllerListErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<CollectionControllerListOkResponse, DbListResponseCollectionTree>;
|
@@ -6,6 +6,9 @@ import { fetcher } from '../../../../fetcher/index.js';
|
|
6
6
|
export function collectionControllerList(props) {
|
7
7
|
return fetcher(Object.assign({ url: `/v2/collection`, method: 'GET' }, props));
|
8
8
|
}
|
9
|
+
/**
|
10
|
+
* Get collections
|
11
|
+
*/
|
9
12
|
export function useCollectionControllerListQuery(props, options) {
|
10
13
|
return useQuery(['CollectionControllerList', props.queryParams], ({ signal }) => collectionControllerList(Object.assign(Object.assign({}, props), { signal })), options);
|
11
14
|
}
|
@@ -10,10 +10,13 @@ export interface DoraControllerBreakdownQueryQueryParams {
|
|
10
10
|
}
|
11
11
|
export type DoraControllerBreakdownRequestBody = DoraRequest;
|
12
12
|
export type DoraControllerBreakdownOkResponse = ResponseWithPagination<DataPointBreakdown>;
|
13
|
-
export type DoraControllerBreakdownErrorResponse =
|
13
|
+
export type DoraControllerBreakdownErrorResponse = string;
|
14
14
|
export interface DoraControllerBreakdownProps extends Omit<FetcherOptions<DoraControllerBreakdownQueryQueryParams, DoraControllerBreakdownRequestBody>, 'url'> {
|
15
15
|
queryParams: DoraControllerBreakdownQueryQueryParams;
|
16
16
|
body: DoraControllerBreakdownRequestBody;
|
17
17
|
}
|
18
18
|
export declare function doraControllerBreakdown(props: DoraControllerBreakdownProps): Promise<DoraControllerBreakdownOkResponse>;
|
19
|
-
|
19
|
+
/**
|
20
|
+
* Get lead time breakdown for a project
|
21
|
+
*/
|
22
|
+
export declare function useDoraControllerBreakdownQuery(props: DoraControllerBreakdownProps, options?: Omit<UseQueryOptions<DoraControllerBreakdownOkResponse, DoraControllerBreakdownErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<DoraControllerBreakdownOkResponse, string>;
|
@@ -6,6 +6,9 @@ import { fetcher } from '../../../../fetcher/index.js';
|
|
6
6
|
export function doraControllerBreakdown(props) {
|
7
7
|
return fetcher(Object.assign({ url: `/v2/insights/dora/leadtime/breakdown`, method: 'POST' }, props));
|
8
8
|
}
|
9
|
+
/**
|
10
|
+
* Get lead time breakdown for a project
|
11
|
+
*/
|
9
12
|
export function useDoraControllerBreakdownQuery(props, options) {
|
10
13
|
return useQuery(['DoraControllerBreakdown', props.queryParams, props.body], ({ signal }) => doraControllerBreakdown(Object.assign(Object.assign({}, props), { signal })), options);
|
11
14
|
}
|
package/dist/sei-panorama-service/src/services/hooks/useDoraControllerChangeFailureRateQuery.d.ts
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
+
import type { DoraMetric } from '../schemas/DoraMetric';
|
3
|
+
import type { DoraRequest } from '../schemas/DoraRequest';
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
+
export interface DoraControllerChangeFailureRateQueryQueryParams {
|
7
|
+
account: string;
|
8
|
+
projectIdentifier: string;
|
9
|
+
orgIdentifier: string;
|
10
|
+
}
|
11
|
+
export type DoraControllerChangeFailureRateRequestBody = DoraRequest;
|
12
|
+
export type DoraControllerChangeFailureRateOkResponse = ResponseWithPagination<DoraMetric>;
|
13
|
+
export type DoraControllerChangeFailureRateErrorResponse = string;
|
14
|
+
export interface DoraControllerChangeFailureRateProps extends Omit<FetcherOptions<DoraControllerChangeFailureRateQueryQueryParams, DoraControllerChangeFailureRateRequestBody>, 'url'> {
|
15
|
+
queryParams: DoraControllerChangeFailureRateQueryQueryParams;
|
16
|
+
body: DoraControllerChangeFailureRateRequestBody;
|
17
|
+
}
|
18
|
+
export declare function doraControllerChangeFailureRate(props: DoraControllerChangeFailureRateProps): Promise<DoraControllerChangeFailureRateOkResponse>;
|
19
|
+
/**
|
20
|
+
* Get change failure rate for a project
|
21
|
+
*/
|
22
|
+
export declare function useDoraControllerChangeFailureRateQuery(props: DoraControllerChangeFailureRateProps, options?: Omit<UseQueryOptions<DoraControllerChangeFailureRateOkResponse, DoraControllerChangeFailureRateErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<DoraControllerChangeFailureRateOkResponse, string>;
|
package/dist/sei-panorama-service/src/services/hooks/useDoraControllerChangeFailureRateQuery.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 doraControllerChangeFailureRate(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/insights/dora/changeFailureRate`, method: 'POST' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Get change failure rate for a project
|
11
|
+
*/
|
12
|
+
export function useDoraControllerChangeFailureRateQuery(props, options) {
|
13
|
+
return useQuery(['DoraControllerChangeFailureRate', props.queryParams, props.body], ({ signal }) => doraControllerChangeFailureRate(Object.assign(Object.assign({}, props), { signal })), options);
|
14
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
2
|
+
import type { DoraDeploymentFrequencyMetricBreakdown } from '../schemas/DoraDeploymentFrequencyMetricBreakdown';
|
3
|
+
import type { DoraRequest } from '../schemas/DoraRequest';
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
+
export interface DoraControllerDeploymentFrequencyBreakdownMutationQueryParams {
|
7
|
+
account: string;
|
8
|
+
projectIdentifier: string;
|
9
|
+
orgIdentifier: string;
|
10
|
+
}
|
11
|
+
export type DoraControllerDeploymentFrequencyBreakdownRequestBody = DoraRequest;
|
12
|
+
export type DoraControllerDeploymentFrequencyBreakdownOkResponse = ResponseWithPagination<DoraDeploymentFrequencyMetricBreakdown[]>;
|
13
|
+
export type DoraControllerDeploymentFrequencyBreakdownErrorResponse = string;
|
14
|
+
export interface DoraControllerDeploymentFrequencyBreakdownProps extends Omit<FetcherOptions<DoraControllerDeploymentFrequencyBreakdownMutationQueryParams, DoraControllerDeploymentFrequencyBreakdownRequestBody>, 'url'> {
|
15
|
+
queryParams: DoraControllerDeploymentFrequencyBreakdownMutationQueryParams;
|
16
|
+
body: DoraControllerDeploymentFrequencyBreakdownRequestBody;
|
17
|
+
}
|
18
|
+
export declare function doraControllerDeploymentFrequencyBreakdown(props: DoraControllerDeploymentFrequencyBreakdownProps): Promise<DoraControllerDeploymentFrequencyBreakdownOkResponse>;
|
19
|
+
/**
|
20
|
+
* Get deployment frequency breakdown for a project
|
21
|
+
*/
|
22
|
+
export declare function useDoraControllerDeploymentFrequencyBreakdownMutation(options?: Omit<UseMutationOptions<DoraControllerDeploymentFrequencyBreakdownOkResponse, DoraControllerDeploymentFrequencyBreakdownErrorResponse, DoraControllerDeploymentFrequencyBreakdownProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DoraControllerDeploymentFrequencyBreakdownOkResponse, string, DoraControllerDeploymentFrequencyBreakdownProps, unknown>;
|
@@ -3,9 +3,12 @@
|
|
3
3
|
// Please do not modify this code directly.
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
5
5
|
import { fetcher } from '../../../../fetcher/index.js';
|
6
|
-
export function
|
7
|
-
return fetcher(Object.assign({ url: `/v2/insights/dora/
|
6
|
+
export function doraControllerDeploymentFrequencyBreakdown(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/insights/dora/deploymentFrequency/breakdown`, method: 'POST' }, props));
|
8
8
|
}
|
9
|
-
|
10
|
-
|
9
|
+
/**
|
10
|
+
* Get deployment frequency breakdown for a project
|
11
|
+
*/
|
12
|
+
export function useDoraControllerDeploymentFrequencyBreakdownMutation(options) {
|
13
|
+
return useMutation((mutateProps) => doraControllerDeploymentFrequencyBreakdown(mutateProps), options);
|
11
14
|
}
|
package/dist/sei-panorama-service/src/services/hooks/useDoraControllerDeploymentFrequencyQuery.d.ts
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
+
import type { DoraDeploymentFrequencyMetric } from '../schemas/DoraDeploymentFrequencyMetric';
|
3
|
+
import type { DoraRequest } from '../schemas/DoraRequest';
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
+
export interface DoraControllerDeploymentFrequencyQueryQueryParams {
|
7
|
+
account: string;
|
8
|
+
projectIdentifier: string;
|
9
|
+
orgIdentifier: string;
|
10
|
+
}
|
11
|
+
export type DoraControllerDeploymentFrequencyRequestBody = DoraRequest;
|
12
|
+
export type DoraControllerDeploymentFrequencyOkResponse = ResponseWithPagination<DoraDeploymentFrequencyMetric>;
|
13
|
+
export type DoraControllerDeploymentFrequencyErrorResponse = string;
|
14
|
+
export interface DoraControllerDeploymentFrequencyProps extends Omit<FetcherOptions<DoraControllerDeploymentFrequencyQueryQueryParams, DoraControllerDeploymentFrequencyRequestBody>, 'url'> {
|
15
|
+
queryParams: DoraControllerDeploymentFrequencyQueryQueryParams;
|
16
|
+
body: DoraControllerDeploymentFrequencyRequestBody;
|
17
|
+
}
|
18
|
+
export declare function doraControllerDeploymentFrequency(props: DoraControllerDeploymentFrequencyProps): Promise<DoraControllerDeploymentFrequencyOkResponse>;
|
19
|
+
/**
|
20
|
+
* Get deployment frequency for a project
|
21
|
+
*/
|
22
|
+
export declare function useDoraControllerDeploymentFrequencyQuery(props: DoraControllerDeploymentFrequencyProps, options?: Omit<UseQueryOptions<DoraControllerDeploymentFrequencyOkResponse, DoraControllerDeploymentFrequencyErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<DoraControllerDeploymentFrequencyOkResponse, string>;
|
package/dist/sei-panorama-service/src/services/hooks/useDoraControllerDeploymentFrequencyQuery.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 doraControllerDeploymentFrequency(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/insights/dora/deploymentFrequency`, method: 'POST' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Get deployment frequency for a project
|
11
|
+
*/
|
12
|
+
export function useDoraControllerDeploymentFrequencyQuery(props, options) {
|
13
|
+
return useQuery(['DoraControllerDeploymentFrequency', props.queryParams, props.body], ({ signal }) => doraControllerDeploymentFrequency(Object.assign(Object.assign({}, props), { signal })), options);
|
14
|
+
}
|
@@ -10,10 +10,13 @@ export interface DoraControllerLeadTimeQueryQueryParams {
|
|
10
10
|
}
|
11
11
|
export type DoraControllerLeadTimeRequestBody = DoraRequest;
|
12
12
|
export type DoraControllerLeadTimeOkResponse = ResponseWithPagination<DoraMetric>;
|
13
|
-
export type DoraControllerLeadTimeErrorResponse =
|
13
|
+
export type DoraControllerLeadTimeErrorResponse = string;
|
14
14
|
export interface DoraControllerLeadTimeProps extends Omit<FetcherOptions<DoraControllerLeadTimeQueryQueryParams, DoraControllerLeadTimeRequestBody>, 'url'> {
|
15
15
|
queryParams: DoraControllerLeadTimeQueryQueryParams;
|
16
16
|
body: DoraControllerLeadTimeRequestBody;
|
17
17
|
}
|
18
18
|
export declare function doraControllerLeadTime(props: DoraControllerLeadTimeProps): Promise<DoraControllerLeadTimeOkResponse>;
|
19
|
-
|
19
|
+
/**
|
20
|
+
* Get lead time for a project
|
21
|
+
*/
|
22
|
+
export declare function useDoraControllerLeadTimeQuery(props: DoraControllerLeadTimeProps, options?: Omit<UseQueryOptions<DoraControllerLeadTimeOkResponse, DoraControllerLeadTimeErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<DoraControllerLeadTimeOkResponse, string>;
|
@@ -6,6 +6,9 @@ import { fetcher } from '../../../../fetcher/index.js';
|
|
6
6
|
export function doraControllerLeadTime(props) {
|
7
7
|
return fetcher(Object.assign({ url: `/v2/insights/dora/leadtime`, method: 'POST' }, props));
|
8
8
|
}
|
9
|
+
/**
|
10
|
+
* Get lead time for a project
|
11
|
+
*/
|
9
12
|
export function useDoraControllerLeadTimeQuery(props, options) {
|
10
13
|
return useQuery(['DoraControllerLeadTime', props.queryParams, props.body], ({ signal }) => doraControllerLeadTime(Object.assign(Object.assign({}, props), { signal })), options);
|
11
14
|
}
|
package/dist/sei-panorama-service/src/services/hooks/useDoraControllerLeadTimeStagesMutation.d.ts
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
2
|
+
import type { DoraMetric } from '../schemas/DoraMetric';
|
3
|
+
import type { DoraRequest } from '../schemas/DoraRequest';
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
+
export interface DoraControllerLeadTimeStagesMutationQueryParams {
|
7
|
+
account: string;
|
8
|
+
projectIdentifier: string;
|
9
|
+
orgIdentifier: string;
|
10
|
+
}
|
11
|
+
export type DoraControllerLeadTimeStagesRequestBody = DoraRequest;
|
12
|
+
export type DoraControllerLeadTimeStagesOkResponse = ResponseWithPagination<DoraMetric>;
|
13
|
+
export type DoraControllerLeadTimeStagesErrorResponse = string;
|
14
|
+
export interface DoraControllerLeadTimeStagesProps extends Omit<FetcherOptions<DoraControllerLeadTimeStagesMutationQueryParams, DoraControllerLeadTimeStagesRequestBody>, 'url'> {
|
15
|
+
queryParams: DoraControllerLeadTimeStagesMutationQueryParams;
|
16
|
+
body: DoraControllerLeadTimeStagesRequestBody;
|
17
|
+
}
|
18
|
+
export declare function doraControllerLeadTimeStages(props: DoraControllerLeadTimeStagesProps): Promise<DoraControllerLeadTimeStagesOkResponse>;
|
19
|
+
/**
|
20
|
+
* Get lead time stages for a project
|
21
|
+
*/
|
22
|
+
export declare function useDoraControllerLeadTimeStagesMutation(options?: Omit<UseMutationOptions<DoraControllerLeadTimeStagesOkResponse, DoraControllerLeadTimeStagesErrorResponse, DoraControllerLeadTimeStagesProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DoraControllerLeadTimeStagesOkResponse, string, DoraControllerLeadTimeStagesProps, unknown>;
|
package/dist/sei-panorama-service/src/services/hooks/useDoraControllerLeadTimeStagesMutation.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 { useMutation } from '@tanstack/react-query';
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
6
|
+
export function doraControllerLeadTimeStages(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/insights/dora/leadtime/stages`, method: 'POST' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Get lead time stages for a project
|
11
|
+
*/
|
12
|
+
export function useDoraControllerLeadTimeStagesMutation(options) {
|
13
|
+
return useMutation((mutateProps) => doraControllerLeadTimeStages(mutateProps), options);
|
14
|
+
}
|
package/dist/sei-panorama-service/src/services/hooks/useDoraControllerMeanTimeRestoreQuery.d.ts
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
+
import type { DoraMetric } from '../schemas/DoraMetric';
|
3
|
+
import type { DoraRequest } from '../schemas/DoraRequest';
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
+
export interface DoraControllerMeanTimeRestoreQueryQueryParams {
|
7
|
+
account: string;
|
8
|
+
projectIdentifier: string;
|
9
|
+
orgIdentifier: string;
|
10
|
+
}
|
11
|
+
export type DoraControllerMeanTimeRestoreRequestBody = DoraRequest;
|
12
|
+
export type DoraControllerMeanTimeRestoreOkResponse = ResponseWithPagination<DoraMetric>;
|
13
|
+
export type DoraControllerMeanTimeRestoreErrorResponse = string;
|
14
|
+
export interface DoraControllerMeanTimeRestoreProps extends Omit<FetcherOptions<DoraControllerMeanTimeRestoreQueryQueryParams, DoraControllerMeanTimeRestoreRequestBody>, 'url'> {
|
15
|
+
queryParams: DoraControllerMeanTimeRestoreQueryQueryParams;
|
16
|
+
body: DoraControllerMeanTimeRestoreRequestBody;
|
17
|
+
}
|
18
|
+
export declare function doraControllerMeanTimeRestore(props: DoraControllerMeanTimeRestoreProps): Promise<DoraControllerMeanTimeRestoreOkResponse>;
|
19
|
+
/**
|
20
|
+
* Get mean time to restore for a project
|
21
|
+
*/
|
22
|
+
export declare function useDoraControllerMeanTimeRestoreQuery(props: DoraControllerMeanTimeRestoreProps, options?: Omit<UseQueryOptions<DoraControllerMeanTimeRestoreOkResponse, DoraControllerMeanTimeRestoreErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<DoraControllerMeanTimeRestoreOkResponse, 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 doraControllerMeanTimeRestore(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/insights/dora/mttr`, method: 'POST' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Get mean time to restore for a project
|
11
|
+
*/
|
12
|
+
export function useDoraControllerMeanTimeRestoreQuery(props, options) {
|
13
|
+
return useQuery(['DoraControllerMeanTimeRestore', props.queryParams, props.body], ({ signal }) => doraControllerMeanTimeRestore(Object.assign(Object.assign({}, props), { signal })), options);
|
14
|
+
}
|
@@ -1,19 +1,22 @@
|
|
1
|
-
import {
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
2
|
import type { DoraSummaryMetric } from '../schemas/DoraSummaryMetric';
|
3
3
|
import type { DoraRequest } from '../schemas/DoraRequest';
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
-
export interface
|
6
|
+
export interface DoraControllerSummaryQueryQueryParams {
|
7
7
|
account: string;
|
8
8
|
projectIdentifier: string;
|
9
9
|
orgIdentifier: string;
|
10
10
|
}
|
11
11
|
export type DoraControllerSummaryRequestBody = DoraRequest;
|
12
12
|
export type DoraControllerSummaryOkResponse = ResponseWithPagination<DoraSummaryMetric>;
|
13
|
-
export type DoraControllerSummaryErrorResponse =
|
14
|
-
export interface DoraControllerSummaryProps extends Omit<FetcherOptions<
|
15
|
-
queryParams:
|
13
|
+
export type DoraControllerSummaryErrorResponse = string;
|
14
|
+
export interface DoraControllerSummaryProps extends Omit<FetcherOptions<DoraControllerSummaryQueryQueryParams, DoraControllerSummaryRequestBody>, 'url'> {
|
15
|
+
queryParams: DoraControllerSummaryQueryQueryParams;
|
16
16
|
body: DoraControllerSummaryRequestBody;
|
17
17
|
}
|
18
18
|
export declare function doraControllerSummary(props: DoraControllerSummaryProps): Promise<DoraControllerSummaryOkResponse>;
|
19
|
-
|
19
|
+
/**
|
20
|
+
* Get lead time summary for a project
|
21
|
+
*/
|
22
|
+
export declare function useDoraControllerSummaryQuery(props: DoraControllerSummaryProps, options?: Omit<UseQueryOptions<DoraControllerSummaryOkResponse, DoraControllerSummaryErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<DoraControllerSummaryOkResponse, 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 doraControllerSummary(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/insights/dora/summary`, method: 'POST' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Get lead time summary for a project
|
11
|
+
*/
|
12
|
+
export function useDoraControllerSummaryQuery(props, options) {
|
13
|
+
return useQuery(['DoraControllerSummary', props.queryParams, props.body], ({ signal }) => doraControllerSummary(Object.assign(Object.assign({}, props), { signal })), options);
|
14
|
+
}
|
@@ -9,16 +9,20 @@ export type { CollectionControllerListErrorResponse, CollectionControllerListOkR
|
|
9
9
|
export { collectionControllerList, useCollectionControllerListQuery, } from './hooks/useCollectionControllerListQuery';
|
10
10
|
export type { DoraControllerBreakdownErrorResponse, DoraControllerBreakdownOkResponse, DoraControllerBreakdownProps, DoraControllerBreakdownQueryQueryParams, DoraControllerBreakdownRequestBody, } from './hooks/useDoraControllerBreakdownQuery';
|
11
11
|
export { doraControllerBreakdown, useDoraControllerBreakdownQuery, } from './hooks/useDoraControllerBreakdownQuery';
|
12
|
-
export type { DoraControllerChangeFailureRateErrorResponse,
|
13
|
-
export { doraControllerChangeFailureRate,
|
14
|
-
export type {
|
15
|
-
export {
|
12
|
+
export type { DoraControllerChangeFailureRateErrorResponse, DoraControllerChangeFailureRateOkResponse, DoraControllerChangeFailureRateProps, DoraControllerChangeFailureRateQueryQueryParams, DoraControllerChangeFailureRateRequestBody, } from './hooks/useDoraControllerChangeFailureRateQuery';
|
13
|
+
export { doraControllerChangeFailureRate, useDoraControllerChangeFailureRateQuery, } from './hooks/useDoraControllerChangeFailureRateQuery';
|
14
|
+
export type { DoraControllerDeploymentFrequencyBreakdownErrorResponse, DoraControllerDeploymentFrequencyBreakdownMutationQueryParams, DoraControllerDeploymentFrequencyBreakdownOkResponse, DoraControllerDeploymentFrequencyBreakdownProps, DoraControllerDeploymentFrequencyBreakdownRequestBody, } from './hooks/useDoraControllerDeploymentFrequencyBreakdownMutation';
|
15
|
+
export { doraControllerDeploymentFrequencyBreakdown, useDoraControllerDeploymentFrequencyBreakdownMutation, } from './hooks/useDoraControllerDeploymentFrequencyBreakdownMutation';
|
16
|
+
export type { DoraControllerDeploymentFrequencyErrorResponse, DoraControllerDeploymentFrequencyOkResponse, DoraControllerDeploymentFrequencyProps, DoraControllerDeploymentFrequencyQueryQueryParams, DoraControllerDeploymentFrequencyRequestBody, } from './hooks/useDoraControllerDeploymentFrequencyQuery';
|
17
|
+
export { doraControllerDeploymentFrequency, useDoraControllerDeploymentFrequencyQuery, } from './hooks/useDoraControllerDeploymentFrequencyQuery';
|
16
18
|
export type { DoraControllerLeadTimeErrorResponse, DoraControllerLeadTimeOkResponse, DoraControllerLeadTimeProps, DoraControllerLeadTimeQueryQueryParams, DoraControllerLeadTimeRequestBody, } from './hooks/useDoraControllerLeadTimeQuery';
|
17
19
|
export { doraControllerLeadTime, useDoraControllerLeadTimeQuery, } from './hooks/useDoraControllerLeadTimeQuery';
|
18
|
-
export type {
|
19
|
-
export {
|
20
|
-
export type {
|
21
|
-
export {
|
20
|
+
export type { DoraControllerLeadTimeStagesErrorResponse, DoraControllerLeadTimeStagesMutationQueryParams, DoraControllerLeadTimeStagesOkResponse, DoraControllerLeadTimeStagesProps, DoraControllerLeadTimeStagesRequestBody, } from './hooks/useDoraControllerLeadTimeStagesMutation';
|
21
|
+
export { doraControllerLeadTimeStages, useDoraControllerLeadTimeStagesMutation, } from './hooks/useDoraControllerLeadTimeStagesMutation';
|
22
|
+
export type { DoraControllerMeanTimeRestoreErrorResponse, DoraControllerMeanTimeRestoreOkResponse, DoraControllerMeanTimeRestoreProps, DoraControllerMeanTimeRestoreQueryQueryParams, DoraControllerMeanTimeRestoreRequestBody, } from './hooks/useDoraControllerMeanTimeRestoreQuery';
|
23
|
+
export { doraControllerMeanTimeRestore, useDoraControllerMeanTimeRestoreQuery, } from './hooks/useDoraControllerMeanTimeRestoreQuery';
|
24
|
+
export type { DoraControllerSummaryErrorResponse, DoraControllerSummaryOkResponse, DoraControllerSummaryProps, DoraControllerSummaryQueryQueryParams, DoraControllerSummaryRequestBody, } from './hooks/useDoraControllerSummaryQuery';
|
25
|
+
export { doraControllerSummary, useDoraControllerSummaryQuery, } from './hooks/useDoraControllerSummaryQuery';
|
22
26
|
export type { JiraIssuesControllerGetJiraIssueCountErrorResponse, JiraIssuesControllerGetJiraIssueCountOkResponse, JiraIssuesControllerGetJiraIssueCountProps, } from './hooks/useJiraIssuesControllerGetJiraIssueCountQuery';
|
23
27
|
export { jiraIssuesControllerGetJiraIssueCount, useJiraIssuesControllerGetJiraIssueCountQuery, } from './hooks/useJiraIssuesControllerGetJiraIssueCountQuery';
|
24
28
|
export type { LegacyHealthControllerCheckErrorResponse, LegacyHealthControllerCheckOkResponse, LegacyHealthControllerCheckProps, } from './hooks/useLegacyHealthControllerCheckQuery';
|
@@ -28,8 +32,11 @@ export type { CollectionObject } from './schemas/CollectionObject';
|
|
28
32
|
export type { CollectionTree } from './schemas/CollectionTree';
|
29
33
|
export type { DataPoint } from './schemas/DataPoint';
|
30
34
|
export type { DataPointBreakdown } from './schemas/DataPointBreakdown';
|
35
|
+
export type { DataPointDeploymentFrequency } from './schemas/DataPointDeploymentFrequency';
|
31
36
|
export type { DbListResponseCategory } from './schemas/DbListResponseCategory';
|
32
37
|
export type { DbListResponseCollectionTree } from './schemas/DbListResponseCollectionTree';
|
38
|
+
export type { DoraDeploymentFrequencyMetric } from './schemas/DoraDeploymentFrequencyMetric';
|
39
|
+
export type { DoraDeploymentFrequencyMetricBreakdown } from './schemas/DoraDeploymentFrequencyMetricBreakdown';
|
33
40
|
export type { DoraMetric } from './schemas/DoraMetric';
|
34
41
|
export type { DoraMetricBreakdown } from './schemas/DoraMetricBreakdown';
|
35
42
|
export type { DoraRequest } from './schemas/DoraRequest';
|
@@ -3,10 +3,12 @@ export { categoryControllerList, useCategoryControllerListQuery, } from './hooks
|
|
3
3
|
export { collectionControllerGetCollectionTree, useCollectionControllerGetCollectionTreeQuery, } from './hooks/useCollectionControllerGetCollectionTreeQuery';
|
4
4
|
export { collectionControllerList, useCollectionControllerListQuery, } from './hooks/useCollectionControllerListQuery';
|
5
5
|
export { doraControllerBreakdown, useDoraControllerBreakdownQuery, } from './hooks/useDoraControllerBreakdownQuery';
|
6
|
-
export { doraControllerChangeFailureRate,
|
7
|
-
export {
|
6
|
+
export { doraControllerChangeFailureRate, useDoraControllerChangeFailureRateQuery, } from './hooks/useDoraControllerChangeFailureRateQuery';
|
7
|
+
export { doraControllerDeploymentFrequencyBreakdown, useDoraControllerDeploymentFrequencyBreakdownMutation, } from './hooks/useDoraControllerDeploymentFrequencyBreakdownMutation';
|
8
|
+
export { doraControllerDeploymentFrequency, useDoraControllerDeploymentFrequencyQuery, } from './hooks/useDoraControllerDeploymentFrequencyQuery';
|
8
9
|
export { doraControllerLeadTime, useDoraControllerLeadTimeQuery, } from './hooks/useDoraControllerLeadTimeQuery';
|
9
|
-
export {
|
10
|
-
export {
|
10
|
+
export { doraControllerLeadTimeStages, useDoraControllerLeadTimeStagesMutation, } from './hooks/useDoraControllerLeadTimeStagesMutation';
|
11
|
+
export { doraControllerMeanTimeRestore, useDoraControllerMeanTimeRestoreQuery, } from './hooks/useDoraControllerMeanTimeRestoreQuery';
|
12
|
+
export { doraControllerSummary, useDoraControllerSummaryQuery, } from './hooks/useDoraControllerSummaryQuery';
|
11
13
|
export { jiraIssuesControllerGetJiraIssueCount, useJiraIssuesControllerGetJiraIssueCountQuery, } from './hooks/useJiraIssuesControllerGetJiraIssueCountQuery';
|
12
14
|
export { legacyHealthControllerCheck, useLegacyHealthControllerCheckQuery, } from './hooks/useLegacyHealthControllerCheckQuery';
|
@@ -7,7 +7,7 @@ export interface DataPoint {
|
|
7
7
|
/**
|
8
8
|
* @format date-time
|
9
9
|
*/
|
10
|
-
|
10
|
+
endDate?: string;
|
11
11
|
/**
|
12
12
|
* @format double
|
13
13
|
*/
|
@@ -28,6 +28,5 @@ export interface DataPoint {
|
|
28
28
|
/**
|
29
29
|
* @format date-time
|
30
30
|
*/
|
31
|
-
|
32
|
-
x_axis_label?: string;
|
31
|
+
startDate?: string;
|
33
32
|
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import type { DataPointDeploymentFrequency } from '../schemas/DataPointDeploymentFrequency';
|
2
|
+
export interface DoraDeploymentFrequencyMetric {
|
3
|
+
dataPoints?: DataPointDeploymentFrequency[];
|
4
|
+
/**
|
5
|
+
* @format int32
|
6
|
+
*/
|
7
|
+
deploymentCount?: number;
|
8
|
+
/**
|
9
|
+
* @format date-time
|
10
|
+
*/
|
11
|
+
endDate?: string;
|
12
|
+
rating?: string;
|
13
|
+
/**
|
14
|
+
* @format date-time
|
15
|
+
*/
|
16
|
+
startDate?: string;
|
17
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -2,15 +2,10 @@ import type { DataPoint } from '../schemas/DataPoint';
|
|
2
2
|
import type { Stage } from '../schemas/Stage';
|
3
3
|
export interface DoraMetric {
|
4
4
|
dataPoints?: DataPoint[];
|
5
|
-
data_points?: DataPoint[];
|
6
5
|
/**
|
7
6
|
* @format date-time
|
8
7
|
*/
|
9
8
|
endDate?: string;
|
10
|
-
/**
|
11
|
-
* @format date-time
|
12
|
-
*/
|
13
|
-
end_date?: string;
|
14
9
|
/**
|
15
10
|
* @format double
|
16
11
|
*/
|
@@ -34,16 +29,8 @@ export interface DoraMetric {
|
|
34
29
|
* @format date-time
|
35
30
|
*/
|
36
31
|
startDate?: string;
|
37
|
-
/**
|
38
|
-
* @format date-time
|
39
|
-
*/
|
40
|
-
start_date?: string;
|
41
32
|
/**
|
42
33
|
* @format int32
|
43
34
|
*/
|
44
35
|
totalTickets?: number;
|
45
|
-
/**
|
46
|
-
* @format int32
|
47
|
-
*/
|
48
|
-
total_tickets?: number;
|
49
36
|
}
|
@@ -1,20 +1,12 @@
|
|
1
1
|
export interface DoraRequest {
|
2
|
-
|
2
|
+
collectionId: string;
|
3
3
|
/**
|
4
4
|
* @format date-time
|
5
5
|
*/
|
6
|
-
|
6
|
+
dateEnd: string;
|
7
7
|
/**
|
8
8
|
* @format date-time
|
9
9
|
*/
|
10
|
-
|
11
|
-
|
12
|
-
* @format date-time
|
13
|
-
*/
|
14
|
-
granularity?: string;
|
15
|
-
/**
|
16
|
-
* @format int32
|
17
|
-
*/
|
18
|
-
range_duration?: number;
|
19
|
-
range_type?: string;
|
10
|
+
dateStart: string;
|
11
|
+
granularity: string;
|
20
12
|
}
|
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.5",
|
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",
|
package/dist/sei-panorama-service/src/services/hooks/useDoraControllerChangeFailureRateMutation.d.ts
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
import { UseMutationOptions } from '@tanstack/react-query';
|
2
|
-
import type { DoraMetric } from '../schemas/DoraMetric';
|
3
|
-
import type { DoraRequest } from '../schemas/DoraRequest';
|
4
|
-
import type { ResponseWithPagination } from '../helpers';
|
5
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
-
export interface DoraControllerChangeFailureRateMutationQueryParams {
|
7
|
-
account: string;
|
8
|
-
projectIdentifier: string;
|
9
|
-
orgIdentifier: string;
|
10
|
-
}
|
11
|
-
export type DoraControllerChangeFailureRateRequestBody = DoraRequest;
|
12
|
-
export type DoraControllerChangeFailureRateOkResponse = ResponseWithPagination<DoraMetric>;
|
13
|
-
export type DoraControllerChangeFailureRateErrorResponse = unknown;
|
14
|
-
export interface DoraControllerChangeFailureRateProps extends Omit<FetcherOptions<DoraControllerChangeFailureRateMutationQueryParams, DoraControllerChangeFailureRateRequestBody>, 'url'> {
|
15
|
-
queryParams: DoraControllerChangeFailureRateMutationQueryParams;
|
16
|
-
body: DoraControllerChangeFailureRateRequestBody;
|
17
|
-
}
|
18
|
-
export declare function doraControllerChangeFailureRate(props: DoraControllerChangeFailureRateProps): Promise<DoraControllerChangeFailureRateOkResponse>;
|
19
|
-
export declare function useDoraControllerChangeFailureRateMutation(options?: Omit<UseMutationOptions<DoraControllerChangeFailureRateOkResponse, DoraControllerChangeFailureRateErrorResponse, DoraControllerChangeFailureRateProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DoraControllerChangeFailureRateOkResponse, unknown, DoraControllerChangeFailureRateProps, unknown>;
|
package/dist/sei-panorama-service/src/services/hooks/useDoraControllerChangeFailureRateMutation.js
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
/* eslint-disable */
|
2
|
-
// This code is autogenerated using @harnessio/oats-cli.
|
3
|
-
// Please do not modify this code directly.
|
4
|
-
import { useMutation } from '@tanstack/react-query';
|
5
|
-
import { fetcher } from '../../../../fetcher/index.js';
|
6
|
-
export function doraControllerChangeFailureRate(props) {
|
7
|
-
return fetcher(Object.assign({ url: `/v2/insights/dora/change_failure_rates`, method: 'POST' }, props));
|
8
|
-
}
|
9
|
-
export function useDoraControllerChangeFailureRateMutation(options) {
|
10
|
-
return useMutation((mutateProps) => doraControllerChangeFailureRate(mutateProps), options);
|
11
|
-
}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
import { UseMutationOptions } from '@tanstack/react-query';
|
2
|
-
import type { DoraMetric } from '../schemas/DoraMetric';
|
3
|
-
import type { DoraRequest } from '../schemas/DoraRequest';
|
4
|
-
import type { ResponseWithPagination } from '../helpers';
|
5
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
-
export interface DoraControllerDeploymentFrequencyMutationQueryParams {
|
7
|
-
account: string;
|
8
|
-
projectIdentifier: string;
|
9
|
-
orgIdentifier: string;
|
10
|
-
}
|
11
|
-
export type DoraControllerDeploymentFrequencyRequestBody = DoraRequest;
|
12
|
-
export type DoraControllerDeploymentFrequencyOkResponse = ResponseWithPagination<DoraMetric>;
|
13
|
-
export type DoraControllerDeploymentFrequencyErrorResponse = unknown;
|
14
|
-
export interface DoraControllerDeploymentFrequencyProps extends Omit<FetcherOptions<DoraControllerDeploymentFrequencyMutationQueryParams, DoraControllerDeploymentFrequencyRequestBody>, 'url'> {
|
15
|
-
queryParams: DoraControllerDeploymentFrequencyMutationQueryParams;
|
16
|
-
body: DoraControllerDeploymentFrequencyRequestBody;
|
17
|
-
}
|
18
|
-
export declare function doraControllerDeploymentFrequency(props: DoraControllerDeploymentFrequencyProps): Promise<DoraControllerDeploymentFrequencyOkResponse>;
|
19
|
-
export declare function useDoraControllerDeploymentFrequencyMutation(options?: Omit<UseMutationOptions<DoraControllerDeploymentFrequencyOkResponse, DoraControllerDeploymentFrequencyErrorResponse, DoraControllerDeploymentFrequencyProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DoraControllerDeploymentFrequencyOkResponse, unknown, DoraControllerDeploymentFrequencyProps, unknown>;
|
package/dist/sei-panorama-service/src/services/hooks/useDoraControllerMeanTimeRestoreMutation.d.ts
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
import { UseMutationOptions } from '@tanstack/react-query';
|
2
|
-
import type { DoraMetric } from '../schemas/DoraMetric';
|
3
|
-
import type { DoraRequest } from '../schemas/DoraRequest';
|
4
|
-
import type { ResponseWithPagination } from '../helpers';
|
5
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
-
export interface DoraControllerMeanTimeRestoreMutationQueryParams {
|
7
|
-
account: string;
|
8
|
-
projectIdentifier: string;
|
9
|
-
orgIdentifier: string;
|
10
|
-
}
|
11
|
-
export type DoraControllerMeanTimeRestoreRequestBody = DoraRequest;
|
12
|
-
export type DoraControllerMeanTimeRestoreOkResponse = ResponseWithPagination<DoraMetric>;
|
13
|
-
export type DoraControllerMeanTimeRestoreErrorResponse = unknown;
|
14
|
-
export interface DoraControllerMeanTimeRestoreProps extends Omit<FetcherOptions<DoraControllerMeanTimeRestoreMutationQueryParams, DoraControllerMeanTimeRestoreRequestBody>, 'url'> {
|
15
|
-
queryParams: DoraControllerMeanTimeRestoreMutationQueryParams;
|
16
|
-
body: DoraControllerMeanTimeRestoreRequestBody;
|
17
|
-
}
|
18
|
-
export declare function doraControllerMeanTimeRestore(props: DoraControllerMeanTimeRestoreProps): Promise<DoraControllerMeanTimeRestoreOkResponse>;
|
19
|
-
export declare function useDoraControllerMeanTimeRestoreMutation(options?: Omit<UseMutationOptions<DoraControllerMeanTimeRestoreOkResponse, DoraControllerMeanTimeRestoreErrorResponse, DoraControllerMeanTimeRestoreProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DoraControllerMeanTimeRestoreOkResponse, unknown, DoraControllerMeanTimeRestoreProps, unknown>;
|
package/dist/sei-panorama-service/src/services/hooks/useDoraControllerMeanTimeRestoreMutation.js
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
/* eslint-disable */
|
2
|
-
// This code is autogenerated using @harnessio/oats-cli.
|
3
|
-
// Please do not modify this code directly.
|
4
|
-
import { useMutation } from '@tanstack/react-query';
|
5
|
-
import { fetcher } from '../../../../fetcher/index.js';
|
6
|
-
export function doraControllerMeanTimeRestore(props) {
|
7
|
-
return fetcher(Object.assign({ url: `/v2/insights/dora/mean_time_to_restore`, method: 'POST' }, props));
|
8
|
-
}
|
9
|
-
export function useDoraControllerMeanTimeRestoreMutation(options) {
|
10
|
-
return useMutation((mutateProps) => doraControllerMeanTimeRestore(mutateProps), options);
|
11
|
-
}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/* eslint-disable */
|
2
|
-
// This code is autogenerated using @harnessio/oats-cli.
|
3
|
-
// Please do not modify this code directly.
|
4
|
-
import { useMutation } from '@tanstack/react-query';
|
5
|
-
import { fetcher } from '../../../../fetcher/index.js';
|
6
|
-
export function doraControllerSummary(props) {
|
7
|
-
return fetcher(Object.assign({ url: `/v2/insights/dora/summary`, method: 'POST' }, props));
|
8
|
-
}
|
9
|
-
export function useDoraControllerSummaryMutation(options) {
|
10
|
-
return useMutation((mutateProps) => doraControllerSummary(mutateProps), options);
|
11
|
-
}
|