@harnessio/react-sei-panorama-service-client 0.10.2 → 0.10.4
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/useDoraControllerBreakdownQuery.d.ts +2 -2
- package/dist/sei-panorama-service/src/services/hooks/{useDoraControllerChangeFailureRateMutation.d.ts → useDoraControllerChangeFailureRateQuery.d.ts} +5 -5
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerChangeFailureRateQuery.js +11 -0
- package/dist/sei-panorama-service/src/services/hooks/{useDoraControllerDeploymentFrequencyMutation.d.ts → useDoraControllerDeploymentFrequencyQuery.d.ts} +5 -5
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerDeploymentFrequencyQuery.js +11 -0
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerLeadTimeStagesMutation.d.ts +19 -0
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerLeadTimeStagesMutation.js +11 -0
- package/dist/sei-panorama-service/src/services/hooks/{useDoraControllerMeanTimeRestoreMutation.d.ts → useDoraControllerMeanTimeRestoreQuery.d.ts} +5 -5
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerMeanTimeRestoreQuery.js +11 -0
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerSummaryQuery.d.ts +19 -0
- package/dist/sei-panorama-service/src/services/hooks/{useDoraControllerSummaryMutation.js → useDoraControllerSummaryQuery.js} +3 -3
- 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 +19 -8
- package/dist/sei-panorama-service/src/services/index.js +7 -4
- package/dist/sei-panorama-service/src/services/schemas/CollectionTree.d.ts +8 -0
- package/dist/sei-panorama-service/src/services/schemas/DataPoint.d.ts +8 -0
- 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/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 +3 -2
- 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 +1 -0
- package/dist/sei-panorama-service/src/services/schemas/Stage.d.ts +3 -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
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerChangeFailureRateMutation.js +0 -11
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerDeploymentFrequencyMutation.js +0 -11
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerMeanTimeRestoreMutation.js +0 -11
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerSummaryMutation.d.ts +0 -19
@@ -1,5 +1,5 @@
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
-
import type {
|
2
|
+
import type { DataPointBreakdown } from '../schemas/DataPointBreakdown';
|
3
3
|
import type { DoraRequest } from '../schemas/DoraRequest';
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
@@ -9,7 +9,7 @@ export interface DoraControllerBreakdownQueryQueryParams {
|
|
9
9
|
orgIdentifier: string;
|
10
10
|
}
|
11
11
|
export type DoraControllerBreakdownRequestBody = DoraRequest;
|
12
|
-
export type DoraControllerBreakdownOkResponse = ResponseWithPagination<
|
12
|
+
export type DoraControllerBreakdownOkResponse = ResponseWithPagination<DataPointBreakdown>;
|
13
13
|
export type DoraControllerBreakdownErrorResponse = unknown;
|
14
14
|
export interface DoraControllerBreakdownProps extends Omit<FetcherOptions<DoraControllerBreakdownQueryQueryParams, DoraControllerBreakdownRequestBody>, 'url'> {
|
15
15
|
queryParams: DoraControllerBreakdownQueryQueryParams;
|
@@ -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 DoraControllerChangeFailureRateQueryQueryParams {
|
7
7
|
account: string;
|
8
8
|
projectIdentifier: string;
|
9
9
|
orgIdentifier: string;
|
@@ -11,9 +11,9 @@ export interface DoraControllerChangeFailureRateMutationQueryParams {
|
|
11
11
|
export type DoraControllerChangeFailureRateRequestBody = DoraRequest;
|
12
12
|
export type DoraControllerChangeFailureRateOkResponse = ResponseWithPagination<DoraMetric>;
|
13
13
|
export type DoraControllerChangeFailureRateErrorResponse = unknown;
|
14
|
-
export interface DoraControllerChangeFailureRateProps extends Omit<FetcherOptions<
|
15
|
-
queryParams:
|
14
|
+
export interface DoraControllerChangeFailureRateProps extends Omit<FetcherOptions<DoraControllerChangeFailureRateQueryQueryParams, DoraControllerChangeFailureRateRequestBody>, 'url'> {
|
15
|
+
queryParams: DoraControllerChangeFailureRateQueryQueryParams;
|
16
16
|
body: DoraControllerChangeFailureRateRequestBody;
|
17
17
|
}
|
18
18
|
export declare function doraControllerChangeFailureRate(props: DoraControllerChangeFailureRateProps): Promise<DoraControllerChangeFailureRateOkResponse>;
|
19
|
-
export declare function
|
19
|
+
export declare function useDoraControllerChangeFailureRateQuery(props: DoraControllerChangeFailureRateProps, options?: Omit<UseQueryOptions<DoraControllerChangeFailureRateOkResponse, DoraControllerChangeFailureRateErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<DoraControllerChangeFailureRateOkResponse, unknown>;
|
package/dist/sei-panorama-service/src/services/hooks/useDoraControllerChangeFailureRateQuery.js
ADDED
@@ -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 doraControllerChangeFailureRate(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/insights/dora/change_failure_rates`, method: 'POST' }, props));
|
8
|
+
}
|
9
|
+
export function useDoraControllerChangeFailureRateQuery(props, options) {
|
10
|
+
return useQuery(['DoraControllerChangeFailureRate', props.queryParams, props.body], ({ signal }) => doraControllerChangeFailureRate(Object.assign(Object.assign({}, props), { signal })), options);
|
11
|
+
}
|
@@ -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 DoraControllerDeploymentFrequencyQueryQueryParams {
|
7
7
|
account: string;
|
8
8
|
projectIdentifier: string;
|
9
9
|
orgIdentifier: string;
|
@@ -11,9 +11,9 @@ export interface DoraControllerDeploymentFrequencyMutationQueryParams {
|
|
11
11
|
export type DoraControllerDeploymentFrequencyRequestBody = DoraRequest;
|
12
12
|
export type DoraControllerDeploymentFrequencyOkResponse = ResponseWithPagination<DoraMetric>;
|
13
13
|
export type DoraControllerDeploymentFrequencyErrorResponse = unknown;
|
14
|
-
export interface DoraControllerDeploymentFrequencyProps extends Omit<FetcherOptions<
|
15
|
-
queryParams:
|
14
|
+
export interface DoraControllerDeploymentFrequencyProps extends Omit<FetcherOptions<DoraControllerDeploymentFrequencyQueryQueryParams, DoraControllerDeploymentFrequencyRequestBody>, 'url'> {
|
15
|
+
queryParams: DoraControllerDeploymentFrequencyQueryQueryParams;
|
16
16
|
body: DoraControllerDeploymentFrequencyRequestBody;
|
17
17
|
}
|
18
18
|
export declare function doraControllerDeploymentFrequency(props: DoraControllerDeploymentFrequencyProps): Promise<DoraControllerDeploymentFrequencyOkResponse>;
|
19
|
-
export declare function
|
19
|
+
export declare function useDoraControllerDeploymentFrequencyQuery(props: DoraControllerDeploymentFrequencyProps, options?: Omit<UseQueryOptions<DoraControllerDeploymentFrequencyOkResponse, DoraControllerDeploymentFrequencyErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<DoraControllerDeploymentFrequencyOkResponse, unknown>;
|
package/dist/sei-panorama-service/src/services/hooks/useDoraControllerDeploymentFrequencyQuery.js
ADDED
@@ -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 doraControllerDeploymentFrequency(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/insights/dora/deployment_frequency`, method: 'POST' }, props));
|
8
|
+
}
|
9
|
+
export function useDoraControllerDeploymentFrequencyQuery(props, options) {
|
10
|
+
return useQuery(['DoraControllerDeploymentFrequency', props.queryParams, props.body], ({ signal }) => doraControllerDeploymentFrequency(Object.assign(Object.assign({}, props), { signal })), options);
|
11
|
+
}
|
package/dist/sei-panorama-service/src/services/hooks/useDoraControllerLeadTimeStagesMutation.d.ts
ADDED
@@ -0,0 +1,19 @@
|
|
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 = unknown;
|
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
|
+
export declare function useDoraControllerLeadTimeStagesMutation(options?: Omit<UseMutationOptions<DoraControllerLeadTimeStagesOkResponse, DoraControllerLeadTimeStagesErrorResponse, DoraControllerLeadTimeStagesProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DoraControllerLeadTimeStagesOkResponse, unknown, DoraControllerLeadTimeStagesProps, unknown>;
|
package/dist/sei-panorama-service/src/services/hooks/useDoraControllerLeadTimeStagesMutation.js
ADDED
@@ -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 doraControllerLeadTimeStages(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/insights/dora/leadtime/stages`, method: 'POST' }, props));
|
8
|
+
}
|
9
|
+
export function useDoraControllerLeadTimeStagesMutation(options) {
|
10
|
+
return useMutation((mutateProps) => doraControllerLeadTimeStages(mutateProps), options);
|
11
|
+
}
|
@@ -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 DoraControllerMeanTimeRestoreQueryQueryParams {
|
7
7
|
account: string;
|
8
8
|
projectIdentifier: string;
|
9
9
|
orgIdentifier: string;
|
@@ -11,9 +11,9 @@ export interface DoraControllerMeanTimeRestoreMutationQueryParams {
|
|
11
11
|
export type DoraControllerMeanTimeRestoreRequestBody = DoraRequest;
|
12
12
|
export type DoraControllerMeanTimeRestoreOkResponse = ResponseWithPagination<DoraMetric>;
|
13
13
|
export type DoraControllerMeanTimeRestoreErrorResponse = unknown;
|
14
|
-
export interface DoraControllerMeanTimeRestoreProps extends Omit<FetcherOptions<
|
15
|
-
queryParams:
|
14
|
+
export interface DoraControllerMeanTimeRestoreProps extends Omit<FetcherOptions<DoraControllerMeanTimeRestoreQueryQueryParams, DoraControllerMeanTimeRestoreRequestBody>, 'url'> {
|
15
|
+
queryParams: DoraControllerMeanTimeRestoreQueryQueryParams;
|
16
16
|
body: DoraControllerMeanTimeRestoreRequestBody;
|
17
17
|
}
|
18
18
|
export declare function doraControllerMeanTimeRestore(props: DoraControllerMeanTimeRestoreProps): Promise<DoraControllerMeanTimeRestoreOkResponse>;
|
19
|
-
export declare function
|
19
|
+
export declare function useDoraControllerMeanTimeRestoreQuery(props: DoraControllerMeanTimeRestoreProps, options?: Omit<UseQueryOptions<DoraControllerMeanTimeRestoreOkResponse, DoraControllerMeanTimeRestoreErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<DoraControllerMeanTimeRestoreOkResponse, 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 doraControllerMeanTimeRestore(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/insights/dora/mean_time_to_restore`, method: 'POST' }, props));
|
8
|
+
}
|
9
|
+
export function useDoraControllerMeanTimeRestoreQuery(props, options) {
|
10
|
+
return useQuery(['DoraControllerMeanTimeRestore', props.queryParams, props.body], ({ signal }) => doraControllerMeanTimeRestore(Object.assign(Object.assign({}, props), { signal })), options);
|
11
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { UseQueryOptions } 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 DoraControllerSummaryQueryQueryParams {
|
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<DoraControllerSummaryQueryQueryParams, DoraControllerSummaryRequestBody>, 'url'> {
|
15
|
+
queryParams: DoraControllerSummaryQueryQueryParams;
|
16
|
+
body: DoraControllerSummaryRequestBody;
|
17
|
+
}
|
18
|
+
export declare function doraControllerSummary(props: DoraControllerSummaryProps): Promise<DoraControllerSummaryOkResponse>;
|
19
|
+
export declare function useDoraControllerSummaryQuery(props: DoraControllerSummaryProps, options?: Omit<UseQueryOptions<DoraControllerSummaryOkResponse, DoraControllerSummaryErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<DoraControllerSummaryOkResponse, 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 doraControllerSummary(props) {
|
7
7
|
return fetcher(Object.assign({ url: `/v2/insights/dora/summary`, method: 'POST' }, props));
|
8
8
|
}
|
9
|
-
export function
|
10
|
-
return
|
9
|
+
export function useDoraControllerSummaryQuery(props, options) {
|
10
|
+
return useQuery(['DoraControllerSummary', props.queryParams, props.body], ({ signal }) => doraControllerSummary(Object.assign(Object.assign({}, props), { signal })), options);
|
11
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
|
+
}
|
@@ -9,23 +9,34 @@ 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 { DoraControllerDeploymentFrequencyErrorResponse,
|
15
|
-
export { doraControllerDeploymentFrequency,
|
12
|
+
export type { DoraControllerChangeFailureRateErrorResponse, DoraControllerChangeFailureRateOkResponse, DoraControllerChangeFailureRateProps, DoraControllerChangeFailureRateQueryQueryParams, DoraControllerChangeFailureRateRequestBody, } from './hooks/useDoraControllerChangeFailureRateQuery';
|
13
|
+
export { doraControllerChangeFailureRate, useDoraControllerChangeFailureRateQuery, } from './hooks/useDoraControllerChangeFailureRateQuery';
|
14
|
+
export type { DoraControllerDeploymentFrequencyErrorResponse, DoraControllerDeploymentFrequencyOkResponse, DoraControllerDeploymentFrequencyProps, DoraControllerDeploymentFrequencyQueryQueryParams, DoraControllerDeploymentFrequencyRequestBody, } from './hooks/useDoraControllerDeploymentFrequencyQuery';
|
15
|
+
export { doraControllerDeploymentFrequency, useDoraControllerDeploymentFrequencyQuery, } from './hooks/useDoraControllerDeploymentFrequencyQuery';
|
16
16
|
export type { DoraControllerLeadTimeErrorResponse, DoraControllerLeadTimeOkResponse, DoraControllerLeadTimeProps, DoraControllerLeadTimeQueryQueryParams, DoraControllerLeadTimeRequestBody, } from './hooks/useDoraControllerLeadTimeQuery';
|
17
17
|
export { doraControllerLeadTime, useDoraControllerLeadTimeQuery, } from './hooks/useDoraControllerLeadTimeQuery';
|
18
|
-
export type {
|
19
|
-
export {
|
20
|
-
export type {
|
21
|
-
export {
|
18
|
+
export type { DoraControllerLeadTimeStagesErrorResponse, DoraControllerLeadTimeStagesMutationQueryParams, DoraControllerLeadTimeStagesOkResponse, DoraControllerLeadTimeStagesProps, DoraControllerLeadTimeStagesRequestBody, } from './hooks/useDoraControllerLeadTimeStagesMutation';
|
19
|
+
export { doraControllerLeadTimeStages, useDoraControllerLeadTimeStagesMutation, } from './hooks/useDoraControllerLeadTimeStagesMutation';
|
20
|
+
export type { DoraControllerMeanTimeRestoreErrorResponse, DoraControllerMeanTimeRestoreOkResponse, DoraControllerMeanTimeRestoreProps, DoraControllerMeanTimeRestoreQueryQueryParams, DoraControllerMeanTimeRestoreRequestBody, } from './hooks/useDoraControllerMeanTimeRestoreQuery';
|
21
|
+
export { doraControllerMeanTimeRestore, useDoraControllerMeanTimeRestoreQuery, } from './hooks/useDoraControllerMeanTimeRestoreQuery';
|
22
|
+
export type { DoraControllerSummaryErrorResponse, DoraControllerSummaryOkResponse, DoraControllerSummaryProps, DoraControllerSummaryQueryQueryParams, DoraControllerSummaryRequestBody, } from './hooks/useDoraControllerSummaryQuery';
|
23
|
+
export { doraControllerSummary, useDoraControllerSummaryQuery, } from './hooks/useDoraControllerSummaryQuery';
|
24
|
+
export type { JiraIssuesControllerGetJiraIssueCountErrorResponse, JiraIssuesControllerGetJiraIssueCountOkResponse, JiraIssuesControllerGetJiraIssueCountProps, } from './hooks/useJiraIssuesControllerGetJiraIssueCountQuery';
|
25
|
+
export { jiraIssuesControllerGetJiraIssueCount, useJiraIssuesControllerGetJiraIssueCountQuery, } from './hooks/useJiraIssuesControllerGetJiraIssueCountQuery';
|
26
|
+
export type { LegacyHealthControllerCheckErrorResponse, LegacyHealthControllerCheckOkResponse, LegacyHealthControllerCheckProps, } from './hooks/useLegacyHealthControllerCheckQuery';
|
27
|
+
export { legacyHealthControllerCheck, useLegacyHealthControllerCheckQuery, } from './hooks/useLegacyHealthControllerCheckQuery';
|
22
28
|
export type { Category } from './schemas/Category';
|
23
29
|
export type { CollectionObject } from './schemas/CollectionObject';
|
24
30
|
export type { CollectionTree } from './schemas/CollectionTree';
|
25
31
|
export type { DataPoint } from './schemas/DataPoint';
|
32
|
+
export type { DataPointBreakdown } from './schemas/DataPointBreakdown';
|
26
33
|
export type { DbListResponseCategory } from './schemas/DbListResponseCategory';
|
27
34
|
export type { DbListResponseCollectionTree } from './schemas/DbListResponseCollectionTree';
|
28
35
|
export type { DoraMetric } from './schemas/DoraMetric';
|
36
|
+
export type { DoraMetricBreakdown } from './schemas/DoraMetricBreakdown';
|
29
37
|
export type { DoraRequest } from './schemas/DoraRequest';
|
38
|
+
export type { DoraSummaryMetric } from './schemas/DoraSummaryMetric';
|
30
39
|
export type { IntegrationObject } from './schemas/IntegrationObject';
|
31
40
|
export type { Stage } from './schemas/Stage';
|
41
|
+
export type { SummaryCard } from './schemas/SummaryCard';
|
42
|
+
export type { SummaryValue } from './schemas/SummaryValue';
|
@@ -3,8 +3,11 @@ 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 { doraControllerDeploymentFrequency,
|
6
|
+
export { doraControllerChangeFailureRate, useDoraControllerChangeFailureRateQuery, } from './hooks/useDoraControllerChangeFailureRateQuery';
|
7
|
+
export { doraControllerDeploymentFrequency, useDoraControllerDeploymentFrequencyQuery, } from './hooks/useDoraControllerDeploymentFrequencyQuery';
|
8
8
|
export { doraControllerLeadTime, useDoraControllerLeadTimeQuery, } from './hooks/useDoraControllerLeadTimeQuery';
|
9
|
-
export {
|
10
|
-
export {
|
9
|
+
export { doraControllerLeadTimeStages, useDoraControllerLeadTimeStagesMutation, } from './hooks/useDoraControllerLeadTimeStagesMutation';
|
10
|
+
export { doraControllerMeanTimeRestore, useDoraControllerMeanTimeRestoreQuery, } from './hooks/useDoraControllerMeanTimeRestoreQuery';
|
11
|
+
export { doraControllerSummary, useDoraControllerSummaryQuery, } from './hooks/useDoraControllerSummaryQuery';
|
12
|
+
export { jiraIssuesControllerGetJiraIssueCount, useJiraIssuesControllerGetJiraIssueCountQuery, } from './hooks/useJiraIssuesControllerGetJiraIssueCountQuery';
|
13
|
+
export { legacyHealthControllerCheck, useLegacyHealthControllerCheckQuery, } from './hooks/useLegacyHealthControllerCheckQuery';
|
@@ -4,6 +4,10 @@ export interface DataPoint {
|
|
4
4
|
* @format int32
|
5
5
|
*/
|
6
6
|
count?: number;
|
7
|
+
/**
|
8
|
+
* @format date-time
|
9
|
+
*/
|
10
|
+
end_date?: string;
|
7
11
|
/**
|
8
12
|
* @format double
|
9
13
|
*/
|
@@ -21,5 +25,9 @@ export interface DataPoint {
|
|
21
25
|
*/
|
22
26
|
p95?: number;
|
23
27
|
stages?: Stage[];
|
28
|
+
/**
|
29
|
+
* @format date-time
|
30
|
+
*/
|
31
|
+
start_date?: string;
|
24
32
|
x_axis_label?: string;
|
25
33
|
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -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 {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -1,8 +1,10 @@
|
|
1
1
|
export interface Stage {
|
2
|
+
application?: string;
|
2
3
|
/**
|
3
4
|
* @format int32
|
4
5
|
*/
|
5
6
|
count?: number;
|
7
|
+
integrationType?: string;
|
6
8
|
/**
|
7
9
|
* @format double
|
8
10
|
*/
|
@@ -25,4 +27,5 @@ export interface Stage {
|
|
25
27
|
* @format int32
|
26
28
|
*/
|
27
29
|
stage_order?: number;
|
30
|
+
startEvent?: string;
|
28
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.4",
|
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.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/changefailurerates`, method: 'POST' }, props));
|
8
|
-
}
|
9
|
-
export function useDoraControllerChangeFailureRateMutation(options) {
|
10
|
-
return useMutation((mutateProps) => doraControllerChangeFailureRate(mutateProps), options);
|
11
|
-
}
|
package/dist/sei-panorama-service/src/services/hooks/useDoraControllerDeploymentFrequencyMutation.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 doraControllerDeploymentFrequency(props) {
|
7
|
-
return fetcher(Object.assign({ url: `/v2/insights/dora/deploymentfrequency`, method: 'POST' }, props));
|
8
|
-
}
|
9
|
-
export function useDoraControllerDeploymentFrequencyMutation(options) {
|
10
|
-
return useMutation((mutateProps) => doraControllerDeploymentFrequency(mutateProps), options);
|
11
|
-
}
|
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/meantimerestore`, method: 'POST' }, props));
|
8
|
-
}
|
9
|
-
export function useDoraControllerMeanTimeRestoreMutation(options) {
|
10
|
-
return useMutation((mutateProps) => doraControllerMeanTimeRestore(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 DoraControllerSummaryMutationQueryParams {
|
7
|
-
account: string;
|
8
|
-
projectIdentifier: string;
|
9
|
-
orgIdentifier: string;
|
10
|
-
}
|
11
|
-
export type DoraControllerSummaryRequestBody = DoraRequest;
|
12
|
-
export type DoraControllerSummaryOkResponse = ResponseWithPagination<DoraMetric>;
|
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>;
|