@harnessio/react-sei-panorama-service-client 0.10.1 → 0.10.3
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/useCategoryControllerListQuery.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useCollectionControllerGetCollectionTreeQuery.d.ts +5 -4
- package/dist/sei-panorama-service/src/services/hooks/useCollectionControllerGetCollectionTreeQuery.js +2 -2
- package/dist/sei-panorama-service/src/services/hooks/useCollectionControllerListQuery.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerBreakdownQuery.d.ts +19 -0
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerBreakdownQuery.js +11 -0
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerChangeFailureRateMutation.js +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerDeploymentFrequencyMutation.js +1 -1
- package/dist/sei-panorama-service/src/services/hooks/{useDoraControllerLeadTimeMutation.d.ts → useDoraControllerLeadTimeQuery.d.ts} +5 -5
- package/dist/sei-panorama-service/src/services/hooks/{useDoraControllerLeadTimeMutation.js → useDoraControllerLeadTimeQuery.js} +3 -3
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerMeanTimeRestoreMutation.js +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerSummaryMutation.d.ts +19 -0
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerSummaryMutation.js +11 -0
- package/dist/sei-panorama-service/src/services/hooks/useJiraIssuesControllerGetJiraIssueCountQuery.d.ts +12 -0
- package/dist/sei-panorama-service/src/services/hooks/useJiraIssuesControllerGetJiraIssueCountQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useLegacyHealthControllerCheckQuery.d.ts +9 -0
- package/dist/sei-panorama-service/src/services/hooks/useLegacyHealthControllerCheckQuery.js +11 -0
- package/dist/sei-panorama-service/src/services/index.d.ts +18 -2
- package/dist/sei-panorama-service/src/services/index.js +5 -1
- package/dist/sei-panorama-service/src/services/schemas/Category.d.ts +1 -0
- package/dist/sei-panorama-service/src/services/schemas/CollectionObject.d.ts +28 -0
- package/dist/sei-panorama-service/src/services/schemas/CollectionObject.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/CollectionTree.d.ts +11 -0
- package/dist/sei-panorama-service/src/services/schemas/DataPoint.d.ts +27 -1
- package/dist/sei-panorama-service/src/services/schemas/DataPoint.js +0 -3
- package/dist/sei-panorama-service/src/services/schemas/DataPointBreakdown.d.ts +4 -0
- package/dist/sei-panorama-service/src/services/schemas/DataPointBreakdown.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/DbListResponseCategory.d.ts +8 -0
- package/dist/sei-panorama-service/src/services/schemas/DbListResponseCollectionTree.d.ts +8 -0
- package/dist/sei-panorama-service/src/services/schemas/DoraMetric.d.ts +31 -13
- package/dist/sei-panorama-service/src/services/schemas/DoraMetricBreakdown.d.ts +35 -0
- package/dist/sei-panorama-service/src/services/schemas/DoraMetricBreakdown.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/DoraRequest.d.ts +4 -16
- package/dist/sei-panorama-service/src/services/schemas/DoraSummaryMetric.d.ts +5 -0
- package/dist/sei-panorama-service/src/services/schemas/DoraSummaryMetric.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/IntegrationObject.d.ts +12 -0
- package/dist/sei-panorama-service/src/services/schemas/IntegrationObject.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/Stage.d.ts +31 -0
- package/dist/sei-panorama-service/src/services/schemas/Stage.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/SummaryCard.d.ts +8 -0
- package/dist/sei-panorama-service/src/services/schemas/SummaryCard.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/SummaryValue.d.ts +22 -0
- package/dist/sei-panorama-service/src/services/schemas/SummaryValue.js +4 -0
- package/package.json +1 -1
@@ -3,7 +3,7 @@ import type { DbListResponseCategory } from '../schemas/DbListResponseCategory';
|
|
3
3
|
import type { ResponseWithPagination } from '../helpers';
|
4
4
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
5
5
|
export interface CategoryControllerListQueryQueryParams {
|
6
|
-
|
6
|
+
account: string;
|
7
7
|
projectIdentifier: string;
|
8
8
|
orgIdentifier?: string;
|
9
9
|
}
|
@@ -1,12 +1,13 @@
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
-
import type {
|
2
|
+
import type { CollectionObject } from '../schemas/CollectionObject';
|
3
3
|
import type { ResponseWithPagination } from '../helpers';
|
4
4
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
5
5
|
export interface CollectionControllerGetCollectionTreeQueryPathParams {
|
6
6
|
/**
|
7
|
-
* collection
|
7
|
+
* collection reference number
|
8
|
+
* @format int32
|
8
9
|
*/
|
9
|
-
|
10
|
+
refId: number;
|
10
11
|
}
|
11
12
|
export interface CollectionControllerGetCollectionTreeQueryQueryParams {
|
12
13
|
/**
|
@@ -22,7 +23,7 @@ export interface CollectionControllerGetCollectionTreeQueryQueryParams {
|
|
22
23
|
*/
|
23
24
|
orgIdentifier?: string;
|
24
25
|
}
|
25
|
-
export type CollectionControllerGetCollectionTreeOkResponse = ResponseWithPagination<
|
26
|
+
export type CollectionControllerGetCollectionTreeOkResponse = ResponseWithPagination<CollectionObject>;
|
26
27
|
export type CollectionControllerGetCollectionTreeErrorResponse = unknown;
|
27
28
|
export interface CollectionControllerGetCollectionTreeProps extends CollectionControllerGetCollectionTreeQueryPathParams, Omit<FetcherOptions<CollectionControllerGetCollectionTreeQueryQueryParams, unknown>, 'url'> {
|
28
29
|
queryParams: CollectionControllerGetCollectionTreeQueryQueryParams;
|
@@ -4,8 +4,8 @@
|
|
4
4
|
import { useQuery } from '@tanstack/react-query';
|
5
5
|
import { fetcher } from '../../../../fetcher/index.js';
|
6
6
|
export function collectionControllerGetCollectionTree(props) {
|
7
|
-
return fetcher(Object.assign({ url: `/v2/collection/${props.
|
7
|
+
return fetcher(Object.assign({ url: `/v2/collection/${props.refId}`, method: 'GET' }, props));
|
8
8
|
}
|
9
9
|
export function useCollectionControllerGetCollectionTreeQuery(props, options) {
|
10
|
-
return useQuery(['CollectionControllerGetCollectionTree', props.
|
10
|
+
return useQuery(['CollectionControllerGetCollectionTree', props.refId, props.queryParams], ({ signal }) => collectionControllerGetCollectionTree(Object.assign(Object.assign({}, props), { signal })), options);
|
11
11
|
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
+
import type { DataPointBreakdown } from '../schemas/DataPointBreakdown';
|
3
|
+
import type { DoraRequest } from '../schemas/DoraRequest';
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
+
export interface DoraControllerBreakdownQueryQueryParams {
|
7
|
+
account: string;
|
8
|
+
projectIdentifier: string;
|
9
|
+
orgIdentifier: string;
|
10
|
+
}
|
11
|
+
export type DoraControllerBreakdownRequestBody = DoraRequest;
|
12
|
+
export type DoraControllerBreakdownOkResponse = ResponseWithPagination<DataPointBreakdown>;
|
13
|
+
export type DoraControllerBreakdownErrorResponse = unknown;
|
14
|
+
export interface DoraControllerBreakdownProps extends Omit<FetcherOptions<DoraControllerBreakdownQueryQueryParams, DoraControllerBreakdownRequestBody>, 'url'> {
|
15
|
+
queryParams: DoraControllerBreakdownQueryQueryParams;
|
16
|
+
body: DoraControllerBreakdownRequestBody;
|
17
|
+
}
|
18
|
+
export declare function doraControllerBreakdown(props: DoraControllerBreakdownProps): Promise<DoraControllerBreakdownOkResponse>;
|
19
|
+
export declare function useDoraControllerBreakdownQuery(props: DoraControllerBreakdownProps, options?: Omit<UseQueryOptions<DoraControllerBreakdownOkResponse, DoraControllerBreakdownErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<DoraControllerBreakdownOkResponse, unknown>;
|
@@ -0,0 +1,11 @@
|
|
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 doraControllerBreakdown(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/insights/dora/leadtime/breakdown`, method: 'POST' }, props));
|
8
|
+
}
|
9
|
+
export function useDoraControllerBreakdownQuery(props, options) {
|
10
|
+
return useQuery(['DoraControllerBreakdown', props.queryParams, props.body], ({ signal }) => doraControllerBreakdown(Object.assign(Object.assign({}, props), { signal })), options);
|
11
|
+
}
|
package/dist/sei-panorama-service/src/services/hooks/useDoraControllerChangeFailureRateMutation.js
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
5
5
|
import { fetcher } from '../../../../fetcher/index.js';
|
6
6
|
export function doraControllerChangeFailureRate(props) {
|
7
|
-
return fetcher(Object.assign({ url: `/v2/insights/dora/
|
7
|
+
return fetcher(Object.assign({ url: `/v2/insights/dora/change_failure_rates`, method: 'POST' }, props));
|
8
8
|
}
|
9
9
|
export function useDoraControllerChangeFailureRateMutation(options) {
|
10
10
|
return useMutation((mutateProps) => doraControllerChangeFailureRate(mutateProps), options);
|
package/dist/sei-panorama-service/src/services/hooks/useDoraControllerDeploymentFrequencyMutation.js
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
5
5
|
import { fetcher } from '../../../../fetcher/index.js';
|
6
6
|
export function doraControllerDeploymentFrequency(props) {
|
7
|
-
return fetcher(Object.assign({ url: `/v2/insights/dora/
|
7
|
+
return fetcher(Object.assign({ url: `/v2/insights/dora/deployment_frequency`, method: 'POST' }, props));
|
8
8
|
}
|
9
9
|
export function useDoraControllerDeploymentFrequencyMutation(options) {
|
10
10
|
return useMutation((mutateProps) => doraControllerDeploymentFrequency(mutateProps), options);
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import {
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
2
|
import type { DoraMetric } from '../schemas/DoraMetric';
|
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 DoraControllerLeadTimeQueryQueryParams {
|
7
7
|
account: string;
|
8
8
|
projectIdentifier: string;
|
9
9
|
orgIdentifier: string;
|
@@ -11,9 +11,9 @@ export interface DoraControllerLeadTimeMutationQueryParams {
|
|
11
11
|
export type DoraControllerLeadTimeRequestBody = DoraRequest;
|
12
12
|
export type DoraControllerLeadTimeOkResponse = ResponseWithPagination<DoraMetric>;
|
13
13
|
export type DoraControllerLeadTimeErrorResponse = unknown;
|
14
|
-
export interface DoraControllerLeadTimeProps extends Omit<FetcherOptions<
|
15
|
-
queryParams:
|
14
|
+
export interface DoraControllerLeadTimeProps extends Omit<FetcherOptions<DoraControllerLeadTimeQueryQueryParams, DoraControllerLeadTimeRequestBody>, 'url'> {
|
15
|
+
queryParams: DoraControllerLeadTimeQueryQueryParams;
|
16
16
|
body: DoraControllerLeadTimeRequestBody;
|
17
17
|
}
|
18
18
|
export declare function doraControllerLeadTime(props: DoraControllerLeadTimeProps): Promise<DoraControllerLeadTimeOkResponse>;
|
19
|
-
export declare function
|
19
|
+
export declare function useDoraControllerLeadTimeQuery(props: DoraControllerLeadTimeProps, options?: Omit<UseQueryOptions<DoraControllerLeadTimeOkResponse, DoraControllerLeadTimeErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<DoraControllerLeadTimeOkResponse, unknown>;
|
@@ -1,11 +1,11 @@
|
|
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 doraControllerLeadTime(props) {
|
7
7
|
return fetcher(Object.assign({ url: `/v2/insights/dora/leadtime`, method: 'POST' }, props));
|
8
8
|
}
|
9
|
-
export function
|
10
|
-
return
|
9
|
+
export function useDoraControllerLeadTimeQuery(props, options) {
|
10
|
+
return useQuery(['DoraControllerLeadTime', props.queryParams, props.body], ({ signal }) => doraControllerLeadTime(Object.assign(Object.assign({}, props), { signal })), options);
|
11
11
|
}
|
package/dist/sei-panorama-service/src/services/hooks/useDoraControllerMeanTimeRestoreMutation.js
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
5
5
|
import { fetcher } from '../../../../fetcher/index.js';
|
6
6
|
export function doraControllerMeanTimeRestore(props) {
|
7
|
-
return fetcher(Object.assign({ url: `/v2/insights/dora/
|
7
|
+
return fetcher(Object.assign({ url: `/v2/insights/dora/mean_time_to_restore`, method: 'POST' }, props));
|
8
8
|
}
|
9
9
|
export function useDoraControllerMeanTimeRestoreMutation(options) {
|
10
10
|
return useMutation((mutateProps) => doraControllerMeanTimeRestore(mutateProps), options);
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
2
|
+
import type { DoraSummaryMetric } from '../schemas/DoraSummaryMetric';
|
3
|
+
import type { DoraRequest } from '../schemas/DoraRequest';
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
+
export interface DoraControllerSummaryMutationQueryParams {
|
7
|
+
account: string;
|
8
|
+
projectIdentifier: string;
|
9
|
+
orgIdentifier: string;
|
10
|
+
}
|
11
|
+
export type DoraControllerSummaryRequestBody = DoraRequest;
|
12
|
+
export type DoraControllerSummaryOkResponse = ResponseWithPagination<DoraSummaryMetric>;
|
13
|
+
export type DoraControllerSummaryErrorResponse = unknown;
|
14
|
+
export interface DoraControllerSummaryProps extends Omit<FetcherOptions<DoraControllerSummaryMutationQueryParams, DoraControllerSummaryRequestBody>, 'url'> {
|
15
|
+
queryParams: DoraControllerSummaryMutationQueryParams;
|
16
|
+
body: DoraControllerSummaryRequestBody;
|
17
|
+
}
|
18
|
+
export declare function doraControllerSummary(props: DoraControllerSummaryProps): Promise<DoraControllerSummaryOkResponse>;
|
19
|
+
export declare function useDoraControllerSummaryMutation(options?: Omit<UseMutationOptions<DoraControllerSummaryOkResponse, DoraControllerSummaryErrorResponse, DoraControllerSummaryProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DoraControllerSummaryOkResponse, unknown, DoraControllerSummaryProps, unknown>;
|
@@ -0,0 +1,11 @@
|
|
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
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
+
import type { ResponseWithPagination } from '../helpers';
|
3
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
4
|
+
export type JiraIssuesControllerGetJiraIssueCountOkResponse = ResponseWithPagination<number>;
|
5
|
+
export type JiraIssuesControllerGetJiraIssueCountErrorResponse = unknown;
|
6
|
+
export interface JiraIssuesControllerGetJiraIssueCountProps extends Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
7
|
+
}
|
8
|
+
export declare function jiraIssuesControllerGetJiraIssueCount(props: JiraIssuesControllerGetJiraIssueCountProps): Promise<JiraIssuesControllerGetJiraIssueCountOkResponse>;
|
9
|
+
/**
|
10
|
+
* Test the Starrocks DB connection by getting number of Jira issues
|
11
|
+
*/
|
12
|
+
export declare function useJiraIssuesControllerGetJiraIssueCountQuery(props: JiraIssuesControllerGetJiraIssueCountProps, options?: Omit<UseQueryOptions<JiraIssuesControllerGetJiraIssueCountOkResponse, JiraIssuesControllerGetJiraIssueCountErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<JiraIssuesControllerGetJiraIssueCountOkResponse, unknown>;
|
@@ -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 jiraIssuesControllerGetJiraIssueCount(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/insights/jira/issue_count`, method: 'GET' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Test the Starrocks DB connection by getting number of Jira issues
|
11
|
+
*/
|
12
|
+
export function useJiraIssuesControllerGetJiraIssueCountQuery(props, options) {
|
13
|
+
return useQuery(['JiraIssuesControllerGetJiraIssueCount'], ({ signal }) => jiraIssuesControllerGetJiraIssueCount(Object.assign(Object.assign({}, props), { signal })), options);
|
14
|
+
}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
+
import type { ResponseWithPagination } from '../helpers';
|
3
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
4
|
+
export type LegacyHealthControllerCheckOkResponse = ResponseWithPagination<string>;
|
5
|
+
export type LegacyHealthControllerCheckErrorResponse = unknown;
|
6
|
+
export interface LegacyHealthControllerCheckProps extends Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
7
|
+
}
|
8
|
+
export declare function legacyHealthControllerCheck(props: LegacyHealthControllerCheckProps): Promise<LegacyHealthControllerCheckOkResponse>;
|
9
|
+
export declare function useLegacyHealthControllerCheckQuery(props: LegacyHealthControllerCheckProps, options?: Omit<UseQueryOptions<LegacyHealthControllerCheckOkResponse, LegacyHealthControllerCheckErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<LegacyHealthControllerCheckOkResponse, unknown>;
|
@@ -0,0 +1,11 @@
|
|
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 legacyHealthControllerCheck(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/`, method: 'GET' }, props));
|
8
|
+
}
|
9
|
+
export function useLegacyHealthControllerCheckQuery(props, options) {
|
10
|
+
return useQuery(['LegacyHealthControllerCheck'], ({ signal }) => legacyHealthControllerCheck(Object.assign(Object.assign({}, props), { signal })), options);
|
11
|
+
}
|
@@ -7,18 +7,34 @@ export type { CollectionControllerGetCollectionTreeErrorResponse, CollectionCont
|
|
7
7
|
export { collectionControllerGetCollectionTree, useCollectionControllerGetCollectionTreeQuery, } from './hooks/useCollectionControllerGetCollectionTreeQuery';
|
8
8
|
export type { CollectionControllerListErrorResponse, CollectionControllerListOkResponse, CollectionControllerListProps, CollectionControllerListQueryQueryParams, } from './hooks/useCollectionControllerListQuery';
|
9
9
|
export { collectionControllerList, useCollectionControllerListQuery, } from './hooks/useCollectionControllerListQuery';
|
10
|
+
export type { DoraControllerBreakdownErrorResponse, DoraControllerBreakdownOkResponse, DoraControllerBreakdownProps, DoraControllerBreakdownQueryQueryParams, DoraControllerBreakdownRequestBody, } from './hooks/useDoraControllerBreakdownQuery';
|
11
|
+
export { doraControllerBreakdown, useDoraControllerBreakdownQuery, } from './hooks/useDoraControllerBreakdownQuery';
|
10
12
|
export type { DoraControllerChangeFailureRateErrorResponse, DoraControllerChangeFailureRateMutationQueryParams, DoraControllerChangeFailureRateOkResponse, DoraControllerChangeFailureRateProps, DoraControllerChangeFailureRateRequestBody, } from './hooks/useDoraControllerChangeFailureRateMutation';
|
11
13
|
export { doraControllerChangeFailureRate, useDoraControllerChangeFailureRateMutation, } from './hooks/useDoraControllerChangeFailureRateMutation';
|
12
14
|
export type { DoraControllerDeploymentFrequencyErrorResponse, DoraControllerDeploymentFrequencyMutationQueryParams, DoraControllerDeploymentFrequencyOkResponse, DoraControllerDeploymentFrequencyProps, DoraControllerDeploymentFrequencyRequestBody, } from './hooks/useDoraControllerDeploymentFrequencyMutation';
|
13
15
|
export { doraControllerDeploymentFrequency, useDoraControllerDeploymentFrequencyMutation, } from './hooks/useDoraControllerDeploymentFrequencyMutation';
|
14
|
-
export type { DoraControllerLeadTimeErrorResponse,
|
15
|
-
export { doraControllerLeadTime,
|
16
|
+
export type { DoraControllerLeadTimeErrorResponse, DoraControllerLeadTimeOkResponse, DoraControllerLeadTimeProps, DoraControllerLeadTimeQueryQueryParams, DoraControllerLeadTimeRequestBody, } from './hooks/useDoraControllerLeadTimeQuery';
|
17
|
+
export { doraControllerLeadTime, useDoraControllerLeadTimeQuery, } from './hooks/useDoraControllerLeadTimeQuery';
|
16
18
|
export type { DoraControllerMeanTimeRestoreErrorResponse, DoraControllerMeanTimeRestoreMutationQueryParams, DoraControllerMeanTimeRestoreOkResponse, DoraControllerMeanTimeRestoreProps, DoraControllerMeanTimeRestoreRequestBody, } from './hooks/useDoraControllerMeanTimeRestoreMutation';
|
17
19
|
export { doraControllerMeanTimeRestore, useDoraControllerMeanTimeRestoreMutation, } from './hooks/useDoraControllerMeanTimeRestoreMutation';
|
20
|
+
export type { DoraControllerSummaryErrorResponse, DoraControllerSummaryMutationQueryParams, DoraControllerSummaryOkResponse, DoraControllerSummaryProps, DoraControllerSummaryRequestBody, } from './hooks/useDoraControllerSummaryMutation';
|
21
|
+
export { doraControllerSummary, useDoraControllerSummaryMutation, } from './hooks/useDoraControllerSummaryMutation';
|
22
|
+
export type { JiraIssuesControllerGetJiraIssueCountErrorResponse, JiraIssuesControllerGetJiraIssueCountOkResponse, JiraIssuesControllerGetJiraIssueCountProps, } from './hooks/useJiraIssuesControllerGetJiraIssueCountQuery';
|
23
|
+
export { jiraIssuesControllerGetJiraIssueCount, useJiraIssuesControllerGetJiraIssueCountQuery, } from './hooks/useJiraIssuesControllerGetJiraIssueCountQuery';
|
24
|
+
export type { LegacyHealthControllerCheckErrorResponse, LegacyHealthControllerCheckOkResponse, LegacyHealthControllerCheckProps, } from './hooks/useLegacyHealthControllerCheckQuery';
|
25
|
+
export { legacyHealthControllerCheck, useLegacyHealthControllerCheckQuery, } from './hooks/useLegacyHealthControllerCheckQuery';
|
18
26
|
export type { Category } from './schemas/Category';
|
27
|
+
export type { CollectionObject } from './schemas/CollectionObject';
|
19
28
|
export type { CollectionTree } from './schemas/CollectionTree';
|
20
29
|
export type { DataPoint } from './schemas/DataPoint';
|
30
|
+
export type { DataPointBreakdown } from './schemas/DataPointBreakdown';
|
21
31
|
export type { DbListResponseCategory } from './schemas/DbListResponseCategory';
|
22
32
|
export type { DbListResponseCollectionTree } from './schemas/DbListResponseCollectionTree';
|
23
33
|
export type { DoraMetric } from './schemas/DoraMetric';
|
34
|
+
export type { DoraMetricBreakdown } from './schemas/DoraMetricBreakdown';
|
24
35
|
export type { DoraRequest } from './schemas/DoraRequest';
|
36
|
+
export type { DoraSummaryMetric } from './schemas/DoraSummaryMetric';
|
37
|
+
export type { IntegrationObject } from './schemas/IntegrationObject';
|
38
|
+
export type { Stage } from './schemas/Stage';
|
39
|
+
export type { SummaryCard } from './schemas/SummaryCard';
|
40
|
+
export type { SummaryValue } from './schemas/SummaryValue';
|
@@ -2,7 +2,11 @@ export { categoryControllerGetCategory, useCategoryControllerGetCategoryQuery, }
|
|
2
2
|
export { categoryControllerList, useCategoryControllerListQuery, } from './hooks/useCategoryControllerListQuery';
|
3
3
|
export { collectionControllerGetCollectionTree, useCollectionControllerGetCollectionTreeQuery, } from './hooks/useCollectionControllerGetCollectionTreeQuery';
|
4
4
|
export { collectionControllerList, useCollectionControllerListQuery, } from './hooks/useCollectionControllerListQuery';
|
5
|
+
export { doraControllerBreakdown, useDoraControllerBreakdownQuery, } from './hooks/useDoraControllerBreakdownQuery';
|
5
6
|
export { doraControllerChangeFailureRate, useDoraControllerChangeFailureRateMutation, } from './hooks/useDoraControllerChangeFailureRateMutation';
|
6
7
|
export { doraControllerDeploymentFrequency, useDoraControllerDeploymentFrequencyMutation, } from './hooks/useDoraControllerDeploymentFrequencyMutation';
|
7
|
-
export { doraControllerLeadTime,
|
8
|
+
export { doraControllerLeadTime, useDoraControllerLeadTimeQuery, } from './hooks/useDoraControllerLeadTimeQuery';
|
8
9
|
export { doraControllerMeanTimeRestore, useDoraControllerMeanTimeRestoreMutation, } from './hooks/useDoraControllerMeanTimeRestoreMutation';
|
10
|
+
export { doraControllerSummary, useDoraControllerSummaryMutation, } from './hooks/useDoraControllerSummaryMutation';
|
11
|
+
export { jiraIssuesControllerGetJiraIssueCount, useJiraIssuesControllerGetJiraIssueCountQuery, } from './hooks/useJiraIssuesControllerGetJiraIssueCountQuery';
|
12
|
+
export { legacyHealthControllerCheck, useLegacyHealthControllerCheckQuery, } from './hooks/useLegacyHealthControllerCheckQuery';
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import type { IntegrationObject } from '../schemas/IntegrationObject';
|
2
|
+
export interface CollectionObject {
|
3
|
+
active?: boolean;
|
4
|
+
categoryDescription?: string;
|
5
|
+
categoryId?: string;
|
6
|
+
categoryName?: string;
|
7
|
+
/**
|
8
|
+
* @format int32
|
9
|
+
*/
|
10
|
+
defaultDashboardId?: number;
|
11
|
+
description?: string;
|
12
|
+
id?: string;
|
13
|
+
integrationFilters?: IntegrationObject[];
|
14
|
+
leaf?: boolean;
|
15
|
+
name?: string;
|
16
|
+
/**
|
17
|
+
* @format int32
|
18
|
+
*/
|
19
|
+
parentRefId?: number;
|
20
|
+
path?: string;
|
21
|
+
/**
|
22
|
+
* @format int32
|
23
|
+
*/
|
24
|
+
refId?: number;
|
25
|
+
tagIds?: number[];
|
26
|
+
userRefIds?: number[];
|
27
|
+
versions?: number[];
|
28
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -1,7 +1,18 @@
|
|
1
1
|
export interface CollectionTree {
|
2
|
+
categoryId?: string;
|
3
|
+
category_id?: string;
|
2
4
|
children?: CollectionTree[];
|
3
5
|
id?: string;
|
6
|
+
leaf?: boolean;
|
4
7
|
name?: string;
|
8
|
+
/**
|
9
|
+
* @format int32
|
10
|
+
*/
|
11
|
+
parentRefId?: number;
|
12
|
+
/**
|
13
|
+
* @format int32
|
14
|
+
*/
|
15
|
+
parent_ref_id?: number;
|
5
16
|
/**
|
6
17
|
* @format int32
|
7
18
|
*/
|
@@ -1,7 +1,33 @@
|
|
1
|
+
import type { Stage } from '../schemas/Stage';
|
1
2
|
export interface DataPoint {
|
3
|
+
/**
|
4
|
+
* @format int32
|
5
|
+
*/
|
6
|
+
count?: number;
|
7
|
+
/**
|
8
|
+
* @format date-time
|
9
|
+
*/
|
10
|
+
end_date?: string;
|
2
11
|
/**
|
3
12
|
* @format double
|
4
13
|
*/
|
5
|
-
|
14
|
+
mean?: number;
|
15
|
+
/**
|
16
|
+
* @format double
|
17
|
+
*/
|
18
|
+
median?: number;
|
19
|
+
/**
|
20
|
+
* @format double
|
21
|
+
*/
|
22
|
+
p90?: number;
|
23
|
+
/**
|
24
|
+
* @format double
|
25
|
+
*/
|
26
|
+
p95?: number;
|
27
|
+
stages?: Stage[];
|
28
|
+
/**
|
29
|
+
* @format date-time
|
30
|
+
*/
|
31
|
+
start_date?: string;
|
6
32
|
x_axis_label?: string;
|
7
33
|
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -1,5 +1,13 @@
|
|
1
1
|
import type { CollectionTree } from '../schemas/CollectionTree';
|
2
2
|
export interface DbListResponseCollectionTree {
|
3
|
+
/**
|
4
|
+
* @format int32
|
5
|
+
*/
|
6
|
+
page?: number;
|
7
|
+
/**
|
8
|
+
* @format int32
|
9
|
+
*/
|
10
|
+
page_size?: number;
|
3
11
|
records?: CollectionTree[];
|
4
12
|
/**
|
5
13
|
* @format int32
|
@@ -1,31 +1,49 @@
|
|
1
1
|
import type { DataPoint } from '../schemas/DataPoint';
|
2
|
+
import type { Stage } from '../schemas/Stage';
|
2
3
|
export interface DoraMetric {
|
4
|
+
dataPoints?: DataPoint[];
|
5
|
+
data_points?: DataPoint[];
|
3
6
|
/**
|
4
|
-
* @format
|
7
|
+
* @format date-time
|
5
8
|
*/
|
6
|
-
|
9
|
+
endDate?: string;
|
7
10
|
/**
|
8
|
-
* @format
|
11
|
+
* @format date-time
|
9
12
|
*/
|
10
|
-
|
11
|
-
dataPoints?: DataPoint[];
|
12
|
-
data_points?: DataPoint[];
|
13
|
+
end_date?: string;
|
13
14
|
/**
|
14
15
|
* @format double
|
15
16
|
*/
|
16
|
-
|
17
|
-
overallRating?: string;
|
17
|
+
mean?: number;
|
18
18
|
/**
|
19
|
-
* @format
|
19
|
+
* @format double
|
20
|
+
*/
|
21
|
+
median?: number;
|
22
|
+
/**
|
23
|
+
* @format double
|
20
24
|
*/
|
21
|
-
|
25
|
+
p90?: number;
|
22
26
|
/**
|
23
27
|
* @format double
|
24
28
|
*/
|
25
|
-
|
26
|
-
|
29
|
+
p95?: number;
|
30
|
+
rating?: string;
|
31
|
+
stageBreakdown?: Stage[];
|
32
|
+
stages?: Stage[];
|
33
|
+
/**
|
34
|
+
* @format date-time
|
35
|
+
*/
|
36
|
+
startDate?: string;
|
37
|
+
/**
|
38
|
+
* @format date-time
|
39
|
+
*/
|
40
|
+
start_date?: string;
|
41
|
+
/**
|
42
|
+
* @format int32
|
43
|
+
*/
|
44
|
+
totalTickets?: number;
|
27
45
|
/**
|
28
46
|
* @format int32
|
29
47
|
*/
|
30
|
-
|
48
|
+
total_tickets?: number;
|
31
49
|
}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
import type { Stage } from '../schemas/Stage';
|
2
|
+
export interface DoraMetricBreakdown {
|
3
|
+
collectionId?: string;
|
4
|
+
collectionName?: string;
|
5
|
+
/**
|
6
|
+
* @format int32
|
7
|
+
*/
|
8
|
+
count?: number;
|
9
|
+
/**
|
10
|
+
* @format date-time
|
11
|
+
*/
|
12
|
+
endDate?: string;
|
13
|
+
/**
|
14
|
+
* @format double
|
15
|
+
*/
|
16
|
+
mean?: number;
|
17
|
+
/**
|
18
|
+
* @format double
|
19
|
+
*/
|
20
|
+
median?: number;
|
21
|
+
/**
|
22
|
+
* @format double
|
23
|
+
*/
|
24
|
+
p90?: number;
|
25
|
+
/**
|
26
|
+
* @format double
|
27
|
+
*/
|
28
|
+
p95?: number;
|
29
|
+
stageBreakdown?: Stage[];
|
30
|
+
stages?: Stage[];
|
31
|
+
/**
|
32
|
+
* @format date-time
|
33
|
+
*/
|
34
|
+
startDate?: string;
|
35
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -4,29 +4,17 @@ export interface DoraRequest {
|
|
4
4
|
* @format date-time
|
5
5
|
*/
|
6
6
|
date_end?: string;
|
7
|
-
date_range?: string;
|
8
7
|
/**
|
9
8
|
* @format date-time
|
10
9
|
*/
|
11
10
|
date_start?: string;
|
12
11
|
/**
|
13
|
-
*
|
14
|
-
*/
|
15
|
-
filter?: string;
|
16
|
-
/**
|
17
|
-
* integer value to indicate which page should be loaded. If blank then no pagination
|
18
|
-
* @format int32
|
12
|
+
* @format date-time
|
19
13
|
*/
|
20
|
-
|
14
|
+
granularity?: string;
|
21
15
|
/**
|
22
|
-
* integer value to indicate how many records to be loaded per page. If blank then no pagination
|
23
16
|
* @format int32
|
24
17
|
*/
|
25
|
-
|
26
|
-
|
27
|
-
/**
|
28
|
-
* Total number of records available
|
29
|
-
* @format int64
|
30
|
-
*/
|
31
|
-
total_count?: number;
|
18
|
+
range_duration?: number;
|
19
|
+
range_type?: string;
|
32
20
|
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,31 @@
|
|
1
|
+
export interface Stage {
|
2
|
+
application?: string;
|
3
|
+
/**
|
4
|
+
* @format int32
|
5
|
+
*/
|
6
|
+
count?: number;
|
7
|
+
integrationType?: string;
|
8
|
+
/**
|
9
|
+
* @format double
|
10
|
+
*/
|
11
|
+
mean?: number;
|
12
|
+
/**
|
13
|
+
* @format double
|
14
|
+
*/
|
15
|
+
median?: number;
|
16
|
+
/**
|
17
|
+
* @format double
|
18
|
+
*/
|
19
|
+
p90?: number;
|
20
|
+
/**
|
21
|
+
* @format double
|
22
|
+
*/
|
23
|
+
p95?: number;
|
24
|
+
rating?: string;
|
25
|
+
stage_key?: string;
|
26
|
+
/**
|
27
|
+
* @format int32
|
28
|
+
*/
|
29
|
+
stage_order?: number;
|
30
|
+
startEvent?: string;
|
31
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,22 @@
|
|
1
|
+
export interface SummaryValue {
|
2
|
+
/**
|
3
|
+
* @format int32
|
4
|
+
*/
|
5
|
+
count?: number;
|
6
|
+
/**
|
7
|
+
* @format double
|
8
|
+
*/
|
9
|
+
mean?: number;
|
10
|
+
/**
|
11
|
+
* @format double
|
12
|
+
*/
|
13
|
+
median?: number;
|
14
|
+
/**
|
15
|
+
* @format double
|
16
|
+
*/
|
17
|
+
p90?: number;
|
18
|
+
/**
|
19
|
+
* @format double
|
20
|
+
*/
|
21
|
+
p95?: number;
|
22
|
+
}
|
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.3",
|
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",
|