@harnessio/react-sei-panorama-service-client 0.26.12 → 0.26.13
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/useCanvasControllerAddDashboardOrgTreeMappingsMutation.d.ts +24 -0
- package/dist/sei-panorama-service/src/services/hooks/useCanvasControllerAddDashboardOrgTreeMappingsMutation.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useCanvasControllerCreateCanvasDashboardMutation.d.ts +21 -0
- package/dist/sei-panorama-service/src/services/hooks/useCanvasControllerCreateCanvasDashboardMutation.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useCanvasControllerDeleteCanvasDashboardMutation.d.ts +21 -0
- package/dist/sei-panorama-service/src/services/hooks/useCanvasControllerDeleteCanvasDashboardMutation.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useCanvasControllerDeleteDashboardOrgTreeMappingsMutation.d.ts +21 -0
- package/dist/sei-panorama-service/src/services/hooks/useCanvasControllerDeleteDashboardOrgTreeMappingsMutation.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useCanvasControllerGetDashboardOrgTreesQuery.d.ts +22 -0
- package/dist/sei-panorama-service/src/services/hooks/useCanvasControllerGetDashboardOrgTreesQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useCanvasControllerReplaceDashboardOrgTreeMappingsMutation.d.ts +24 -0
- package/dist/sei-panorama-service/src/services/hooks/useCanvasControllerReplaceDashboardOrgTreeMappingsMutation.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamFiltersQuery.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamIntegrationFiltersQuery.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/index.d.ts +15 -0
- package/dist/sei-panorama-service/src/services/index.js +6 -0
- package/dist/sei-panorama-service/src/services/schemas/CanvasDashboardOrgTreeDto.d.ts +21 -0
- package/dist/sei-panorama-service/src/services/schemas/CanvasDashboardOrgTreeDto.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/CanvasDashboardOrgTreeMappingRequestDto.d.ts +9 -0
- package/dist/sei-panorama-service/src/services/schemas/CanvasDashboardOrgTreeMappingRequestDto.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/CreateCanvasDashboardRequestDto.d.ts +10 -0
- package/dist/sei-panorama-service/src/services/schemas/CreateCanvasDashboardRequestDto.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/DoraLttcMttrMetric.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/DrillDownResponseDtoObject.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/EfficiencyProfileEvent.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/Integration.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/IntegrationResponseDto.d.ts +2 -2
- package/dist/sei-panorama-service/src/services/schemas/MttrDrillDownResponseDto.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/MttrMetric.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/OrgTreeResponseDto.d.ts +4 -0
- package/dist/sei-panorama-service/src/services/schemas/TeamFilterIntegrationSummary.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/TeamFiltersResponseDto.d.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
|
3
|
+
import type { CanvasDashboardOrgTreeMappingRequestDto } from '../schemas/CanvasDashboardOrgTreeMappingRequestDto';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface CanvasControllerAddDashboardOrgTreeMappingsMutationPathParams {
|
|
7
|
+
dashboardId: string;
|
|
8
|
+
}
|
|
9
|
+
export interface CanvasControllerAddDashboardOrgTreeMappingsMutationQueryParams {
|
|
10
|
+
orgIdentifier: string;
|
|
11
|
+
projectIdentifier: string;
|
|
12
|
+
}
|
|
13
|
+
export type CanvasControllerAddDashboardOrgTreeMappingsRequestBody = CanvasDashboardOrgTreeMappingRequestDto;
|
|
14
|
+
export type CanvasControllerAddDashboardOrgTreeMappingsOkResponse = ResponseWithPagination<unknown>;
|
|
15
|
+
export type CanvasControllerAddDashboardOrgTreeMappingsErrorResponse = ErrorResponse;
|
|
16
|
+
export interface CanvasControllerAddDashboardOrgTreeMappingsProps extends CanvasControllerAddDashboardOrgTreeMappingsMutationPathParams, Omit<FetcherOptions<CanvasControllerAddDashboardOrgTreeMappingsMutationQueryParams, CanvasControllerAddDashboardOrgTreeMappingsRequestBody>, 'url'> {
|
|
17
|
+
queryParams: CanvasControllerAddDashboardOrgTreeMappingsMutationQueryParams;
|
|
18
|
+
body: CanvasControllerAddDashboardOrgTreeMappingsRequestBody;
|
|
19
|
+
}
|
|
20
|
+
export declare function canvasControllerAddDashboardOrgTreeMappings(props: CanvasControllerAddDashboardOrgTreeMappingsProps): Promise<CanvasControllerAddDashboardOrgTreeMappingsOkResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* Add org tree mappings for a canvas dashboard
|
|
23
|
+
*/
|
|
24
|
+
export declare function useCanvasControllerAddDashboardOrgTreeMappingsMutation(options?: Omit<UseMutationOptions<CanvasControllerAddDashboardOrgTreeMappingsOkResponse, CanvasControllerAddDashboardOrgTreeMappingsErrorResponse, CanvasControllerAddDashboardOrgTreeMappingsProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CanvasControllerAddDashboardOrgTreeMappingsOkResponse, ErrorResponse, CanvasControllerAddDashboardOrgTreeMappingsProps, 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 { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function canvasControllerAddDashboardOrgTreeMappings(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/canvas/dashboards/${props.dashboardId}/org-trees`, method: 'PATCH' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Add org tree mappings for a canvas dashboard
|
|
11
|
+
*/
|
|
12
|
+
export function useCanvasControllerAddDashboardOrgTreeMappingsMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => canvasControllerAddDashboardOrgTreeMappings(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
|
3
|
+
import type { CreateCanvasDashboardRequestDto } from '../schemas/CreateCanvasDashboardRequestDto';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface CanvasControllerCreateCanvasDashboardMutationQueryParams {
|
|
7
|
+
orgIdentifier: string;
|
|
8
|
+
projectIdentifier: string;
|
|
9
|
+
}
|
|
10
|
+
export type CanvasControllerCreateCanvasDashboardRequestBody = CreateCanvasDashboardRequestDto;
|
|
11
|
+
export type CanvasControllerCreateCanvasDashboardOkResponse = ResponseWithPagination<unknown>;
|
|
12
|
+
export type CanvasControllerCreateCanvasDashboardErrorResponse = ErrorResponse;
|
|
13
|
+
export interface CanvasControllerCreateCanvasDashboardProps extends Omit<FetcherOptions<CanvasControllerCreateCanvasDashboardMutationQueryParams, CanvasControllerCreateCanvasDashboardRequestBody>, 'url'> {
|
|
14
|
+
queryParams: CanvasControllerCreateCanvasDashboardMutationQueryParams;
|
|
15
|
+
body: CanvasControllerCreateCanvasDashboardRequestBody;
|
|
16
|
+
}
|
|
17
|
+
export declare function canvasControllerCreateCanvasDashboard(props: CanvasControllerCreateCanvasDashboardProps): Promise<CanvasControllerCreateCanvasDashboardOkResponse>;
|
|
18
|
+
/**
|
|
19
|
+
* Create a new canvas dashboard
|
|
20
|
+
*/
|
|
21
|
+
export declare function useCanvasControllerCreateCanvasDashboardMutation(options?: Omit<UseMutationOptions<CanvasControllerCreateCanvasDashboardOkResponse, CanvasControllerCreateCanvasDashboardErrorResponse, CanvasControllerCreateCanvasDashboardProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CanvasControllerCreateCanvasDashboardOkResponse, ErrorResponse, CanvasControllerCreateCanvasDashboardProps, 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 { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function canvasControllerCreateCanvasDashboard(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/canvas/dashboards`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Create a new canvas dashboard
|
|
11
|
+
*/
|
|
12
|
+
export function useCanvasControllerCreateCanvasDashboardMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => canvasControllerCreateCanvasDashboard(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface CanvasControllerDeleteCanvasDashboardMutationPathParams {
|
|
6
|
+
dashboardId: string;
|
|
7
|
+
}
|
|
8
|
+
export interface CanvasControllerDeleteCanvasDashboardMutationQueryParams {
|
|
9
|
+
orgIdentifier: string;
|
|
10
|
+
projectIdentifier: string;
|
|
11
|
+
}
|
|
12
|
+
export type CanvasControllerDeleteCanvasDashboardOkResponse = ResponseWithPagination<unknown>;
|
|
13
|
+
export type CanvasControllerDeleteCanvasDashboardErrorResponse = ErrorResponse;
|
|
14
|
+
export interface CanvasControllerDeleteCanvasDashboardProps extends CanvasControllerDeleteCanvasDashboardMutationPathParams, Omit<FetcherOptions<CanvasControllerDeleteCanvasDashboardMutationQueryParams, unknown>, 'url'> {
|
|
15
|
+
queryParams: CanvasControllerDeleteCanvasDashboardMutationQueryParams;
|
|
16
|
+
}
|
|
17
|
+
export declare function canvasControllerDeleteCanvasDashboard(props: CanvasControllerDeleteCanvasDashboardProps): Promise<CanvasControllerDeleteCanvasDashboardOkResponse>;
|
|
18
|
+
/**
|
|
19
|
+
* Delete a canvas dashboard
|
|
20
|
+
*/
|
|
21
|
+
export declare function useCanvasControllerDeleteCanvasDashboardMutation(options?: Omit<UseMutationOptions<CanvasControllerDeleteCanvasDashboardOkResponse, CanvasControllerDeleteCanvasDashboardErrorResponse, CanvasControllerDeleteCanvasDashboardProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CanvasControllerDeleteCanvasDashboardOkResponse, ErrorResponse, CanvasControllerDeleteCanvasDashboardProps, 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 { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function canvasControllerDeleteCanvasDashboard(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/canvas/dashboards/${props.dashboardId}`, method: 'DELETE' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Delete a canvas dashboard
|
|
11
|
+
*/
|
|
12
|
+
export function useCanvasControllerDeleteCanvasDashboardMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => canvasControllerDeleteCanvasDashboard(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface CanvasControllerDeleteDashboardOrgTreeMappingsMutationPathParams {
|
|
6
|
+
dashboardId: string;
|
|
7
|
+
}
|
|
8
|
+
export interface CanvasControllerDeleteDashboardOrgTreeMappingsMutationQueryParams {
|
|
9
|
+
orgIdentifier: string;
|
|
10
|
+
projectIdentifier: string;
|
|
11
|
+
}
|
|
12
|
+
export type CanvasControllerDeleteDashboardOrgTreeMappingsOkResponse = ResponseWithPagination<unknown>;
|
|
13
|
+
export type CanvasControllerDeleteDashboardOrgTreeMappingsErrorResponse = ErrorResponse;
|
|
14
|
+
export interface CanvasControllerDeleteDashboardOrgTreeMappingsProps extends CanvasControllerDeleteDashboardOrgTreeMappingsMutationPathParams, Omit<FetcherOptions<CanvasControllerDeleteDashboardOrgTreeMappingsMutationQueryParams, unknown>, 'url'> {
|
|
15
|
+
queryParams: CanvasControllerDeleteDashboardOrgTreeMappingsMutationQueryParams;
|
|
16
|
+
}
|
|
17
|
+
export declare function canvasControllerDeleteDashboardOrgTreeMappings(props: CanvasControllerDeleteDashboardOrgTreeMappingsProps): Promise<CanvasControllerDeleteDashboardOrgTreeMappingsOkResponse>;
|
|
18
|
+
/**
|
|
19
|
+
* Delete org tree mappings for a canvas dashboard
|
|
20
|
+
*/
|
|
21
|
+
export declare function useCanvasControllerDeleteDashboardOrgTreeMappingsMutation(options?: Omit<UseMutationOptions<CanvasControllerDeleteDashboardOrgTreeMappingsOkResponse, CanvasControllerDeleteDashboardOrgTreeMappingsErrorResponse, CanvasControllerDeleteDashboardOrgTreeMappingsProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CanvasControllerDeleteDashboardOrgTreeMappingsOkResponse, ErrorResponse, CanvasControllerDeleteDashboardOrgTreeMappingsProps, 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 { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function canvasControllerDeleteDashboardOrgTreeMappings(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/canvas/dashboards/${props.dashboardId}/org-trees`, method: 'DELETE' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Delete org tree mappings for a canvas dashboard
|
|
11
|
+
*/
|
|
12
|
+
export function useCanvasControllerDeleteDashboardOrgTreeMappingsMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => canvasControllerDeleteDashboardOrgTreeMappings(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { CanvasDashboardOrgTreeDto } from '../schemas/CanvasDashboardOrgTreeDto';
|
|
3
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface CanvasControllerGetDashboardOrgTreesQueryPathParams {
|
|
7
|
+
dashboardId: string;
|
|
8
|
+
}
|
|
9
|
+
export interface CanvasControllerGetDashboardOrgTreesQueryQueryParams {
|
|
10
|
+
orgIdentifier: string;
|
|
11
|
+
projectIdentifier: string;
|
|
12
|
+
}
|
|
13
|
+
export type CanvasControllerGetDashboardOrgTreesOkResponse = ResponseWithPagination<CanvasDashboardOrgTreeDto[]>;
|
|
14
|
+
export type CanvasControllerGetDashboardOrgTreesErrorResponse = ErrorResponse;
|
|
15
|
+
export interface CanvasControllerGetDashboardOrgTreesProps extends CanvasControllerGetDashboardOrgTreesQueryPathParams, Omit<FetcherOptions<CanvasControllerGetDashboardOrgTreesQueryQueryParams, unknown>, 'url'> {
|
|
16
|
+
queryParams: CanvasControllerGetDashboardOrgTreesQueryQueryParams;
|
|
17
|
+
}
|
|
18
|
+
export declare function canvasControllerGetDashboardOrgTrees(props: CanvasControllerGetDashboardOrgTreesProps): Promise<CanvasControllerGetDashboardOrgTreesOkResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* Get org tree associations for a canvas dashboard
|
|
21
|
+
*/
|
|
22
|
+
export declare function useCanvasControllerGetDashboardOrgTreesQuery(props: CanvasControllerGetDashboardOrgTreesProps, options?: Omit<UseQueryOptions<CanvasControllerGetDashboardOrgTreesOkResponse, CanvasControllerGetDashboardOrgTreesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<CanvasControllerGetDashboardOrgTreesOkResponse, ErrorResponse>;
|
package/dist/sei-panorama-service/src/services/hooks/useCanvasControllerGetDashboardOrgTreesQuery.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 canvasControllerGetDashboardOrgTrees(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/canvas/dashboards/${props.dashboardId}/org-trees`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get org tree associations for a canvas dashboard
|
|
11
|
+
*/
|
|
12
|
+
export function useCanvasControllerGetDashboardOrgTreesQuery(props, options) {
|
|
13
|
+
return useQuery(['CanvasControllerGetDashboardOrgTrees', props.dashboardId, props.queryParams], ({ signal }) => canvasControllerGetDashboardOrgTrees(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
|
3
|
+
import type { CanvasDashboardOrgTreeMappingRequestDto } from '../schemas/CanvasDashboardOrgTreeMappingRequestDto';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface CanvasControllerReplaceDashboardOrgTreeMappingsMutationPathParams {
|
|
7
|
+
dashboardId: string;
|
|
8
|
+
}
|
|
9
|
+
export interface CanvasControllerReplaceDashboardOrgTreeMappingsMutationQueryParams {
|
|
10
|
+
orgIdentifier: string;
|
|
11
|
+
projectIdentifier: string;
|
|
12
|
+
}
|
|
13
|
+
export type CanvasControllerReplaceDashboardOrgTreeMappingsRequestBody = CanvasDashboardOrgTreeMappingRequestDto;
|
|
14
|
+
export type CanvasControllerReplaceDashboardOrgTreeMappingsOkResponse = ResponseWithPagination<unknown>;
|
|
15
|
+
export type CanvasControllerReplaceDashboardOrgTreeMappingsErrorResponse = ErrorResponse;
|
|
16
|
+
export interface CanvasControllerReplaceDashboardOrgTreeMappingsProps extends CanvasControllerReplaceDashboardOrgTreeMappingsMutationPathParams, Omit<FetcherOptions<CanvasControllerReplaceDashboardOrgTreeMappingsMutationQueryParams, CanvasControllerReplaceDashboardOrgTreeMappingsRequestBody>, 'url'> {
|
|
17
|
+
queryParams: CanvasControllerReplaceDashboardOrgTreeMappingsMutationQueryParams;
|
|
18
|
+
body: CanvasControllerReplaceDashboardOrgTreeMappingsRequestBody;
|
|
19
|
+
}
|
|
20
|
+
export declare function canvasControllerReplaceDashboardOrgTreeMappings(props: CanvasControllerReplaceDashboardOrgTreeMappingsProps): Promise<CanvasControllerReplaceDashboardOrgTreeMappingsOkResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* Replace org tree mappings for a canvas dashboard
|
|
23
|
+
*/
|
|
24
|
+
export declare function useCanvasControllerReplaceDashboardOrgTreeMappingsMutation(options?: Omit<UseMutationOptions<CanvasControllerReplaceDashboardOrgTreeMappingsOkResponse, CanvasControllerReplaceDashboardOrgTreeMappingsErrorResponse, CanvasControllerReplaceDashboardOrgTreeMappingsProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CanvasControllerReplaceDashboardOrgTreeMappingsOkResponse, ErrorResponse, CanvasControllerReplaceDashboardOrgTreeMappingsProps, 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 { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function canvasControllerReplaceDashboardOrgTreeMappings(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/canvas/dashboards/${props.dashboardId}/org-trees`, method: 'PUT' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Replace org tree mappings for a canvas dashboard
|
|
11
|
+
*/
|
|
12
|
+
export function useCanvasControllerReplaceDashboardOrgTreeMappingsMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => canvasControllerReplaceDashboardOrgTreeMappings(mutateProps), options);
|
|
14
|
+
}
|
package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamFiltersQuery.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export interface TeamsControllerGetTeamFiltersQueryPathParams {
|
|
|
10
10
|
teamRefId: number;
|
|
11
11
|
}
|
|
12
12
|
export interface TeamsControllerGetTeamFiltersQueryQueryParams {
|
|
13
|
-
integration_type?: 'AI' | 'CD' | 'CI' | 'CUSTOM_INGESTION' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY';
|
|
13
|
+
integration_type?: 'AI' | 'CD' | 'CI' | 'CUSTOM_INGESTION' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY' | 'TEST_MANAGEMENT';
|
|
14
14
|
}
|
|
15
15
|
export type TeamsControllerGetTeamFiltersOkResponse = ResponseWithPagination<TeamFiltersResponseDto>;
|
|
16
16
|
export type TeamsControllerGetTeamFiltersErrorResponse = ErrorResponse;
|
|
@@ -9,7 +9,7 @@ export interface TeamsControllerGetTeamIntegrationFiltersQueryPathParams {
|
|
|
9
9
|
teamRefId: number;
|
|
10
10
|
}
|
|
11
11
|
export interface TeamsControllerGetTeamIntegrationFiltersQueryQueryParams {
|
|
12
|
-
integrationType?: 'AI' | 'CD' | 'CI' | 'CUSTOM_INGESTION' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY';
|
|
12
|
+
integrationType?: 'AI' | 'CD' | 'CI' | 'CUSTOM_INGESTION' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY' | 'TEST_MANAGEMENT';
|
|
13
13
|
}
|
|
14
14
|
export type TeamsControllerGetTeamIntegrationFiltersOkResponse = ResponseWithPagination<GroupedTeamFiltersResponseDto>;
|
|
15
15
|
export type TeamsControllerGetTeamIntegrationFiltersErrorResponse = GroupedTeamFiltersResponseDto;
|
|
@@ -71,6 +71,18 @@ export type { CacheControllerClearAllCollectionsCacheForAccountErrorResponse, Ca
|
|
|
71
71
|
export { cacheControllerClearAllCollectionsCacheForAccount, useCacheControllerClearAllCollectionsCacheForAccountMutation, } from './hooks/useCacheControllerClearAllCollectionsCacheForAccountMutation';
|
|
72
72
|
export type { CacheControllerClearAllCollectionsCacheErrorResponse, CacheControllerClearAllCollectionsCacheOkResponse, CacheControllerClearAllCollectionsCacheProps, } from './hooks/useCacheControllerClearAllCollectionsCacheMutation';
|
|
73
73
|
export { cacheControllerClearAllCollectionsCache, useCacheControllerClearAllCollectionsCacheMutation, } from './hooks/useCacheControllerClearAllCollectionsCacheMutation';
|
|
74
|
+
export type { CanvasControllerAddDashboardOrgTreeMappingsErrorResponse, CanvasControllerAddDashboardOrgTreeMappingsMutationPathParams, CanvasControllerAddDashboardOrgTreeMappingsMutationQueryParams, CanvasControllerAddDashboardOrgTreeMappingsOkResponse, CanvasControllerAddDashboardOrgTreeMappingsProps, CanvasControllerAddDashboardOrgTreeMappingsRequestBody, } from './hooks/useCanvasControllerAddDashboardOrgTreeMappingsMutation';
|
|
75
|
+
export { canvasControllerAddDashboardOrgTreeMappings, useCanvasControllerAddDashboardOrgTreeMappingsMutation, } from './hooks/useCanvasControllerAddDashboardOrgTreeMappingsMutation';
|
|
76
|
+
export type { CanvasControllerCreateCanvasDashboardErrorResponse, CanvasControllerCreateCanvasDashboardMutationQueryParams, CanvasControllerCreateCanvasDashboardOkResponse, CanvasControllerCreateCanvasDashboardProps, CanvasControllerCreateCanvasDashboardRequestBody, } from './hooks/useCanvasControllerCreateCanvasDashboardMutation';
|
|
77
|
+
export { canvasControllerCreateCanvasDashboard, useCanvasControllerCreateCanvasDashboardMutation, } from './hooks/useCanvasControllerCreateCanvasDashboardMutation';
|
|
78
|
+
export type { CanvasControllerDeleteCanvasDashboardErrorResponse, CanvasControllerDeleteCanvasDashboardMutationPathParams, CanvasControllerDeleteCanvasDashboardMutationQueryParams, CanvasControllerDeleteCanvasDashboardOkResponse, CanvasControllerDeleteCanvasDashboardProps, } from './hooks/useCanvasControllerDeleteCanvasDashboardMutation';
|
|
79
|
+
export { canvasControllerDeleteCanvasDashboard, useCanvasControllerDeleteCanvasDashboardMutation, } from './hooks/useCanvasControllerDeleteCanvasDashboardMutation';
|
|
80
|
+
export type { CanvasControllerDeleteDashboardOrgTreeMappingsErrorResponse, CanvasControllerDeleteDashboardOrgTreeMappingsMutationPathParams, CanvasControllerDeleteDashboardOrgTreeMappingsMutationQueryParams, CanvasControllerDeleteDashboardOrgTreeMappingsOkResponse, CanvasControllerDeleteDashboardOrgTreeMappingsProps, } from './hooks/useCanvasControllerDeleteDashboardOrgTreeMappingsMutation';
|
|
81
|
+
export { canvasControllerDeleteDashboardOrgTreeMappings, useCanvasControllerDeleteDashboardOrgTreeMappingsMutation, } from './hooks/useCanvasControllerDeleteDashboardOrgTreeMappingsMutation';
|
|
82
|
+
export type { CanvasControllerGetDashboardOrgTreesErrorResponse, CanvasControllerGetDashboardOrgTreesOkResponse, CanvasControllerGetDashboardOrgTreesProps, CanvasControllerGetDashboardOrgTreesQueryPathParams, CanvasControllerGetDashboardOrgTreesQueryQueryParams, } from './hooks/useCanvasControllerGetDashboardOrgTreesQuery';
|
|
83
|
+
export { canvasControllerGetDashboardOrgTrees, useCanvasControllerGetDashboardOrgTreesQuery, } from './hooks/useCanvasControllerGetDashboardOrgTreesQuery';
|
|
84
|
+
export type { CanvasControllerReplaceDashboardOrgTreeMappingsErrorResponse, CanvasControllerReplaceDashboardOrgTreeMappingsMutationPathParams, CanvasControllerReplaceDashboardOrgTreeMappingsMutationQueryParams, CanvasControllerReplaceDashboardOrgTreeMappingsOkResponse, CanvasControllerReplaceDashboardOrgTreeMappingsProps, CanvasControllerReplaceDashboardOrgTreeMappingsRequestBody, } from './hooks/useCanvasControllerReplaceDashboardOrgTreeMappingsMutation';
|
|
85
|
+
export { canvasControllerReplaceDashboardOrgTreeMappings, useCanvasControllerReplaceDashboardOrgTreeMappingsMutation, } from './hooks/useCanvasControllerReplaceDashboardOrgTreeMappingsMutation';
|
|
74
86
|
export type { CategoryControllerGetCategoryErrorResponse, CategoryControllerGetCategoryOkResponse, CategoryControllerGetCategoryProps, CategoryControllerGetCategoryQueryPathParams, CategoryControllerGetCategoryQueryQueryParams, } from './hooks/useCategoryControllerGetCategoryQuery';
|
|
75
87
|
export { categoryControllerGetCategory, useCategoryControllerGetCategoryQuery, } from './hooks/useCategoryControllerGetCategoryQuery';
|
|
76
88
|
export type { CategoryControllerListErrorResponse, CategoryControllerListOkResponse, CategoryControllerListProps, CategoryControllerListQueryQueryParams, } from './hooks/useCategoryControllerListQuery';
|
|
@@ -544,6 +556,8 @@ export type { BaseRatingConfig } from './schemas/BaseRatingConfig';
|
|
|
544
556
|
export type { BreakdownRecord } from './schemas/BreakdownRecord';
|
|
545
557
|
export type { BuildInfo } from './schemas/BuildInfo';
|
|
546
558
|
export type { CancelledBy } from './schemas/CancelledBy';
|
|
559
|
+
export type { CanvasDashboardOrgTreeDto } from './schemas/CanvasDashboardOrgTreeDto';
|
|
560
|
+
export type { CanvasDashboardOrgTreeMappingRequestDto } from './schemas/CanvasDashboardOrgTreeMappingRequestDto';
|
|
547
561
|
export type { Category } from './schemas/Category';
|
|
548
562
|
export type { CfrConfigurationDto } from './schemas/CfrConfigurationDto';
|
|
549
563
|
export type { CloudIdentity } from './schemas/CloudIdentity';
|
|
@@ -559,6 +573,7 @@ export type { CollectionFilter } from './schemas/CollectionFilter';
|
|
|
559
573
|
export type { CollectionTree } from './schemas/CollectionTree';
|
|
560
574
|
export type { ColumnDefinition } from './schemas/ColumnDefinition';
|
|
561
575
|
export type { CommitInfo } from './schemas/CommitInfo';
|
|
576
|
+
export type { CreateCanvasDashboardRequestDto } from './schemas/CreateCanvasDashboardRequestDto';
|
|
562
577
|
export type { CreateCustomVariableRequestDto } from './schemas/CreateCustomVariableRequestDto';
|
|
563
578
|
export type { CreatedBy } from './schemas/CreatedBy';
|
|
564
579
|
export type { CursorMetrics } from './schemas/CursorMetrics';
|
|
@@ -34,6 +34,12 @@ export { cacheControllerClearAllCategoriesCacheForAccount, useCacheControllerCle
|
|
|
34
34
|
export { cacheControllerClearAllCategoriesCache, useCacheControllerClearAllCategoriesCacheMutation, } from './hooks/useCacheControllerClearAllCategoriesCacheMutation';
|
|
35
35
|
export { cacheControllerClearAllCollectionsCacheForAccount, useCacheControllerClearAllCollectionsCacheForAccountMutation, } from './hooks/useCacheControllerClearAllCollectionsCacheForAccountMutation';
|
|
36
36
|
export { cacheControllerClearAllCollectionsCache, useCacheControllerClearAllCollectionsCacheMutation, } from './hooks/useCacheControllerClearAllCollectionsCacheMutation';
|
|
37
|
+
export { canvasControllerAddDashboardOrgTreeMappings, useCanvasControllerAddDashboardOrgTreeMappingsMutation, } from './hooks/useCanvasControllerAddDashboardOrgTreeMappingsMutation';
|
|
38
|
+
export { canvasControllerCreateCanvasDashboard, useCanvasControllerCreateCanvasDashboardMutation, } from './hooks/useCanvasControllerCreateCanvasDashboardMutation';
|
|
39
|
+
export { canvasControllerDeleteCanvasDashboard, useCanvasControllerDeleteCanvasDashboardMutation, } from './hooks/useCanvasControllerDeleteCanvasDashboardMutation';
|
|
40
|
+
export { canvasControllerDeleteDashboardOrgTreeMappings, useCanvasControllerDeleteDashboardOrgTreeMappingsMutation, } from './hooks/useCanvasControllerDeleteDashboardOrgTreeMappingsMutation';
|
|
41
|
+
export { canvasControllerGetDashboardOrgTrees, useCanvasControllerGetDashboardOrgTreesQuery, } from './hooks/useCanvasControllerGetDashboardOrgTreesQuery';
|
|
42
|
+
export { canvasControllerReplaceDashboardOrgTreeMappings, useCanvasControllerReplaceDashboardOrgTreeMappingsMutation, } from './hooks/useCanvasControllerReplaceDashboardOrgTreeMappingsMutation';
|
|
37
43
|
export { categoryControllerGetCategory, useCategoryControllerGetCategoryQuery, } from './hooks/useCategoryControllerGetCategoryQuery';
|
|
38
44
|
export { categoryControllerList, useCategoryControllerListQuery, } from './hooks/useCategoryControllerListQuery';
|
|
39
45
|
export { collectionControllerGetCollectionTree, useCollectionControllerGetCollectionTreeQuery, } from './hooks/useCollectionControllerGetCollectionTreeQuery';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Response DTO for canvas dashboard org tree association
|
|
3
|
+
*/
|
|
4
|
+
export interface CanvasDashboardOrgTreeDto {
|
|
5
|
+
/**
|
|
6
|
+
* Indicates whether the org tree is associated with the dashboard
|
|
7
|
+
* @example true
|
|
8
|
+
*/
|
|
9
|
+
isAssociated?: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Organization tree ID
|
|
12
|
+
* @format int32
|
|
13
|
+
* @example 1
|
|
14
|
+
*/
|
|
15
|
+
orgTreeId?: number;
|
|
16
|
+
/**
|
|
17
|
+
* Organization tree name
|
|
18
|
+
* @example "Engineering"
|
|
19
|
+
*/
|
|
20
|
+
orgTreeName?: string;
|
|
21
|
+
}
|
|
@@ -2,7 +2,7 @@ import type { DataPoint } from '../schemas/DataPoint';
|
|
|
2
2
|
import type { RatingDto } from '../schemas/RatingDto';
|
|
3
3
|
import type { Stage } from '../schemas/Stage';
|
|
4
4
|
export interface DoraLttcMttrMetric {
|
|
5
|
-
basedOn?: 'AI' | 'CD' | 'CI' | 'CUSTOM_INGESTION' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY';
|
|
5
|
+
basedOn?: 'AI' | 'CD' | 'CI' | 'CUSTOM_INGESTION' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY' | 'TEST_MANAGEMENT';
|
|
6
6
|
dataPoints?: DataPoint[];
|
|
7
7
|
/**
|
|
8
8
|
* @format date-time
|
|
@@ -4,7 +4,7 @@ export interface DrillDownResponseDtoObject {
|
|
|
4
4
|
* @format int32
|
|
5
5
|
*/
|
|
6
6
|
count?: number;
|
|
7
|
-
integrationType?: 'AI' | 'CD' | 'CI' | 'CUSTOM_INGESTION' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY';
|
|
7
|
+
integrationType?: 'AI' | 'CD' | 'CI' | 'CUSTOM_INGESTION' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY' | 'TEST_MANAGEMENT';
|
|
8
8
|
pagination?: PaginationInfo;
|
|
9
9
|
records?: Array<{
|
|
10
10
|
[key: string]: any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export interface EfficiencyProfileEvent {
|
|
2
2
|
eventName?: string;
|
|
3
|
-
integrationType: 'AI' | 'CD' | 'CI' | 'CUSTOM_INGESTION' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY';
|
|
3
|
+
integrationType: 'AI' | 'CD' | 'CI' | 'CUSTOM_INGESTION' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY' | 'TEST_MANAGEMENT';
|
|
4
4
|
}
|
|
@@ -3,6 +3,6 @@ export interface Integration {
|
|
|
3
3
|
* @format int32
|
|
4
4
|
*/
|
|
5
5
|
id?: number;
|
|
6
|
-
integrationType?: 'AI' | 'CD' | 'CI' | 'CUSTOM_INGESTION' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY';
|
|
6
|
+
integrationType?: 'AI' | 'CD' | 'CI' | 'CUSTOM_INGESTION' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY' | 'TEST_MANAGEMENT';
|
|
7
7
|
name?: string;
|
|
8
8
|
}
|
|
@@ -5,7 +5,7 @@ export interface IntegrationResponseDto {
|
|
|
5
5
|
/**
|
|
6
6
|
* Application type
|
|
7
7
|
*/
|
|
8
|
-
applicationType?: 'ADO_BOARDS' | 'ADO_PIPELINES' | 'ADO_REPOS' | 'ARMORCODE' | 'BITBUCKET' | 'BITBUCKET_SERVER' | 'CLAUDE_CODE' | 'CURSOR' | 'CUSTOM' | 'CUSTOM_INGESTION' | 'GITHUB' | 'GITHUB_ACTIONS' | 'GITHUB_COPILOT' | 'GITLAB' | 'HARNESSCODE' | 'HARNESSNG' | 'HARNESS_CD' | 'HARNESS_CI' | 'JENKINS' | 'JIRA' | 'SERVICENOW' | 'SNYK' | 'WINDSURF' | 'WIZ';
|
|
8
|
+
applicationType?: 'ADO_BOARDS' | 'ADO_PIPELINES' | 'ADO_REPOS' | 'ARMORCODE' | 'BITBUCKET' | 'BITBUCKET_SERVER' | 'CLAUDE_CODE' | 'CURSOR' | 'CUSTOM' | 'CUSTOM_INGESTION' | 'GITHUB' | 'GITHUB_ACTIONS' | 'GITHUB_COPILOT' | 'GITLAB' | 'HARNESSCODE' | 'HARNESSNG' | 'HARNESS_CD' | 'HARNESS_CI' | 'JENKINS' | 'JIRA' | 'QTEST' | 'SERVICENOW' | 'SNYK' | 'WINDSURF' | 'WIZ';
|
|
9
9
|
/**
|
|
10
10
|
* Integration ID
|
|
11
11
|
* @format int32
|
|
@@ -14,7 +14,7 @@ export interface IntegrationResponseDto {
|
|
|
14
14
|
/**
|
|
15
15
|
* Integration type
|
|
16
16
|
*/
|
|
17
|
-
integrationType?: 'AI' | 'CD' | 'CI' | 'CUSTOM_INGESTION' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY';
|
|
17
|
+
integrationType?: 'AI' | 'CD' | 'CI' | 'CUSTOM_INGESTION' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY' | 'TEST_MANAGEMENT';
|
|
18
18
|
/**
|
|
19
19
|
* Integration name
|
|
20
20
|
*/
|
|
@@ -18,7 +18,7 @@ export interface MttrDrillDownResponseDto {
|
|
|
18
18
|
/**
|
|
19
19
|
* Integration type for this response
|
|
20
20
|
*/
|
|
21
|
-
integrationType?: 'AI' | 'CD' | 'CI' | 'CUSTOM_INGESTION' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY';
|
|
21
|
+
integrationType?: 'AI' | 'CD' | 'CI' | 'CUSTOM_INGESTION' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY' | 'TEST_MANAGEMENT';
|
|
22
22
|
/**
|
|
23
23
|
* ITSM records (ServiceNow incidents/change requests)
|
|
24
24
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { MttrDataPoint } from '../schemas/MttrDataPoint';
|
|
2
2
|
import type { RatingDto } from '../schemas/RatingDto';
|
|
3
3
|
export interface MttrMetric {
|
|
4
|
-
basedOn?: 'AI' | 'CD' | 'CI' | 'CUSTOM_INGESTION' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY';
|
|
4
|
+
basedOn?: 'AI' | 'CD' | 'CI' | 'CUSTOM_INGESTION' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY' | 'TEST_MANAGEMENT';
|
|
5
5
|
dataPoints?: MttrDataPoint[];
|
|
6
6
|
/**
|
|
7
7
|
* @format date-time
|
|
@@ -17,5 +17,5 @@ export interface TeamFilterIntegrationSummary {
|
|
|
17
17
|
* Integration type
|
|
18
18
|
* @example "GITHUB"
|
|
19
19
|
*/
|
|
20
|
-
integration_type?: 'AI' | 'CD' | 'CI' | 'CUSTOM_INGESTION' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY';
|
|
20
|
+
integration_type?: 'AI' | 'CD' | 'CI' | 'CUSTOM_INGESTION' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY' | 'TEST_MANAGEMENT';
|
|
21
21
|
}
|
|
@@ -13,7 +13,7 @@ export interface TeamFiltersResponseDto {
|
|
|
13
13
|
/**
|
|
14
14
|
* List of integration types that have filters configured
|
|
15
15
|
*/
|
|
16
|
-
configured_integration_types?: Array<'AI' | 'CD' | 'CI' | 'CUSTOM_INGESTION' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY'>;
|
|
16
|
+
configured_integration_types?: Array<'AI' | 'CD' | 'CI' | 'CUSTOM_INGESTION' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY' | 'TEST_MANAGEMENT'>;
|
|
17
17
|
/**
|
|
18
18
|
* Insight configurations grouped by insight type
|
|
19
19
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@harnessio/react-sei-panorama-service-client",
|
|
3
|
-
"version": "0.26.
|
|
3
|
+
"version": "0.26.13",
|
|
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",
|