@harnessio/react-idp-service-client 0.50.0 → 0.51.0
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/idp-service/src/services/hooks/useCustomPluginsTriggerMutation.d.ts +18 -0
- package/dist/idp-service/src/services/hooks/useCustomPluginsTriggerMutation.js +14 -0
- package/dist/idp-service/src/services/hooks/useDeleteGroupMutation.d.ts +18 -0
- package/dist/idp-service/src/services/hooks/useDeleteGroupMutation.js +14 -0
- package/dist/idp-service/src/services/hooks/useDeleteLayoutMutation.d.ts +2 -1
- package/dist/idp-service/src/services/hooks/useGetAllGroupsForAccountQuery.d.ts +16 -0
- package/dist/idp-service/src/services/hooks/useGetAllGroupsForAccountQuery.js +14 -0
- package/dist/idp-service/src/services/hooks/useGetCustomPluginStatusLogsQuery.d.ts +23 -0
- package/dist/idp-service/src/services/hooks/useGetCustomPluginStatusLogsQuery.js +14 -0
- package/dist/idp-service/src/services/hooks/useGetCustomPluginStatusPluginIdQuery.d.ts +19 -0
- package/dist/idp-service/src/services/hooks/useGetCustomPluginStatusPluginIdQuery.js +14 -0
- package/dist/idp-service/src/services/hooks/useGetGroupDetailsQuery.d.ts +19 -0
- package/dist/idp-service/src/services/hooks/useGetGroupDetailsQuery.js +14 -0
- package/dist/idp-service/src/services/hooks/useGetGroupsYamlQuery.d.ts +16 -0
- package/dist/idp-service/src/services/hooks/useGetGroupsYamlQuery.js +14 -0
- package/dist/idp-service/src/services/hooks/useGetWorkflowsForAccountQuery.d.ts +16 -0
- package/dist/idp-service/src/services/hooks/useGetWorkflowsForAccountQuery.js +14 -0
- package/dist/idp-service/src/services/hooks/useSaveGroupMutation.d.ts +19 -0
- package/dist/idp-service/src/services/hooks/useSaveGroupMutation.js +14 -0
- package/dist/idp-service/src/services/hooks/useUpdateGroupsMutation.d.ts +19 -0
- package/dist/idp-service/src/services/hooks/useUpdateGroupsMutation.js +14 -0
- package/dist/idp-service/src/services/index.d.ts +29 -0
- package/dist/idp-service/src/services/index.js +10 -0
- package/dist/idp-service/src/services/responses/CustomPluginStatusResponseResponse.d.ts +2 -0
- package/dist/idp-service/src/services/responses/CustomPluginStatusResponseResponse.js +1 -0
- package/dist/idp-service/src/services/schemas/CustomPluginStatus.d.ts +9 -0
- package/dist/idp-service/src/services/schemas/CustomPluginStatus.js +4 -0
- package/dist/idp-service/src/services/schemas/CustomPluginStatusResponse.d.ts +4 -0
- package/dist/idp-service/src/services/schemas/CustomPluginStatusResponse.js +1 -0
- package/dist/idp-service/src/services/schemas/Group.d.ts +9 -0
- package/dist/idp-service/src/services/schemas/Group.js +1 -0
- package/dist/idp-service/src/services/schemas/GroupRequest.d.ts +4 -0
- package/dist/idp-service/src/services/schemas/GroupRequest.js +1 -0
- package/dist/idp-service/src/services/schemas/GroupResponse.d.ts +4 -0
- package/dist/idp-service/src/services/schemas/GroupResponse.js +1 -0
- package/dist/idp-service/src/services/schemas/GroupsYamlResponse.d.ts +3 -0
- package/dist/idp-service/src/services/schemas/GroupsYamlResponse.js +4 -0
- package/dist/idp-service/src/services/schemas/LayoutRequest.d.ts +7 -0
- package/dist/idp-service/src/services/schemas/LayoutRequest.js +0 -3
- package/dist/idp-service/src/services/schemas/PluginInfo.d.ts +1 -1
- package/dist/idp-service/src/services/schemas/Rule.d.ts +1 -1
- package/dist/idp-service/src/services/schemas/WorkflowsInfo.d.ts +12 -0
- package/dist/idp-service/src/services/schemas/WorkflowsInfo.js +4 -0
- package/dist/idp-service/src/services/schemas/WorkflowsInfoResponse.d.ts +4 -0
- package/dist/idp-service/src/services/schemas/WorkflowsInfoResponse.js +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
3
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
4
|
+
export interface CustomPluginsTriggerMutationPathParams {
|
|
5
|
+
'plugin-id': string;
|
|
6
|
+
}
|
|
7
|
+
export interface CustomPluginsTriggerMutationHeaderParams {
|
|
8
|
+
'Harness-Account'?: string;
|
|
9
|
+
}
|
|
10
|
+
export type CustomPluginsTriggerOkResponse = ResponseWithPagination<unknown>;
|
|
11
|
+
export type CustomPluginsTriggerErrorResponse = unknown;
|
|
12
|
+
export interface CustomPluginsTriggerProps extends CustomPluginsTriggerMutationPathParams, Omit<FetcherOptions<unknown, unknown, CustomPluginsTriggerMutationHeaderParams>, 'url'> {
|
|
13
|
+
}
|
|
14
|
+
export declare function customPluginsTrigger(props: CustomPluginsTriggerProps): Promise<CustomPluginsTriggerOkResponse>;
|
|
15
|
+
/**
|
|
16
|
+
* Trigger custom plugins build pipeline webhook
|
|
17
|
+
*/
|
|
18
|
+
export declare function useCustomPluginsTriggerMutation(options?: Omit<UseMutationOptions<CustomPluginsTriggerOkResponse, CustomPluginsTriggerErrorResponse, CustomPluginsTriggerProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CustomPluginsTriggerOkResponse, unknown, CustomPluginsTriggerProps, 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 customPluginsTrigger(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/custom-plugins/${props['plugin-id']}/trigger`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Trigger custom plugins build pipeline webhook
|
|
11
|
+
*/
|
|
12
|
+
export function useCustomPluginsTriggerMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => customPluginsTrigger(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
3
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
4
|
+
export interface DeleteGroupMutationPathParams {
|
|
5
|
+
'group-name': string;
|
|
6
|
+
}
|
|
7
|
+
export interface DeleteGroupMutationHeaderParams {
|
|
8
|
+
'Harness-Account'?: string;
|
|
9
|
+
}
|
|
10
|
+
export type DeleteGroupOkResponse = ResponseWithPagination<unknown>;
|
|
11
|
+
export type DeleteGroupErrorResponse = unknown;
|
|
12
|
+
export interface DeleteGroupProps extends DeleteGroupMutationPathParams, Omit<FetcherOptions<unknown, unknown, DeleteGroupMutationHeaderParams>, 'url'> {
|
|
13
|
+
}
|
|
14
|
+
export declare function deleteGroup(props: DeleteGroupProps): Promise<DeleteGroupOkResponse>;
|
|
15
|
+
/**
|
|
16
|
+
* Delete a group
|
|
17
|
+
*/
|
|
18
|
+
export declare function useDeleteGroupMutation(options?: Omit<UseMutationOptions<DeleteGroupOkResponse, DeleteGroupErrorResponse, DeleteGroupProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteGroupOkResponse, unknown, DeleteGroupProps, 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 deleteGroup(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/groups/${props['group-name']}`, method: 'DELETE' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Delete a group
|
|
11
|
+
*/
|
|
12
|
+
export function useDeleteGroupMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => deleteGroup(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { LayoutResponse } from '../schemas/LayoutResponse';
|
|
2
3
|
import type { ResponseWithPagination } from '../helpers';
|
|
3
4
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
4
5
|
export interface DeleteLayoutMutationHeaderParams {
|
|
5
6
|
'Harness-Account'?: string;
|
|
6
7
|
}
|
|
7
|
-
export type DeleteLayoutOkResponse = ResponseWithPagination<
|
|
8
|
+
export type DeleteLayoutOkResponse = ResponseWithPagination<LayoutResponse>;
|
|
8
9
|
export type DeleteLayoutErrorResponse = unknown;
|
|
9
10
|
export interface DeleteLayoutProps extends Omit<FetcherOptions<unknown, unknown, DeleteLayoutMutationHeaderParams>, 'url'> {
|
|
10
11
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { GroupResponse } from '../schemas/GroupResponse';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface GetAllGroupsForAccountQueryHeaderParams {
|
|
6
|
+
'Harness-Account'?: string;
|
|
7
|
+
}
|
|
8
|
+
export type GetAllGroupsForAccountOkResponse = ResponseWithPagination<unknown>;
|
|
9
|
+
export type GetAllGroupsForAccountErrorResponse = GroupResponse[];
|
|
10
|
+
export interface GetAllGroupsForAccountProps extends Omit<FetcherOptions<unknown, unknown, GetAllGroupsForAccountQueryHeaderParams>, 'url'> {
|
|
11
|
+
}
|
|
12
|
+
export declare function getAllGroupsForAccount(props: GetAllGroupsForAccountProps): Promise<GetAllGroupsForAccountOkResponse>;
|
|
13
|
+
/**
|
|
14
|
+
* Get all groups for account
|
|
15
|
+
*/
|
|
16
|
+
export declare function useGetAllGroupsForAccountQuery(props: GetAllGroupsForAccountProps, options?: Omit<UseQueryOptions<GetAllGroupsForAccountOkResponse, GetAllGroupsForAccountErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetAllGroupsForAccountOkResponse, GetAllGroupsForAccountErrorResponse>;
|
|
@@ -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 getAllGroupsForAccount(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/groups`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get all groups for account
|
|
11
|
+
*/
|
|
12
|
+
export function useGetAllGroupsForAccountQuery(props, options) {
|
|
13
|
+
return useQuery(['get-all-groups-for-account'], ({ signal }) => getAllGroupsForAccount(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
3
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
4
|
+
export interface GetCustomPluginStatusLogsQueryQueryParams {
|
|
5
|
+
account_id?: string;
|
|
6
|
+
org_id?: string;
|
|
7
|
+
project_id?: string;
|
|
8
|
+
pipeline_id?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface GetCustomPluginStatusLogsQueryHeaderParams {
|
|
11
|
+
'Harness-Account'?: string;
|
|
12
|
+
'Log-Key'?: string;
|
|
13
|
+
}
|
|
14
|
+
export type GetCustomPluginStatusLogsOkResponse = ResponseWithPagination<unknown>;
|
|
15
|
+
export type GetCustomPluginStatusLogsErrorResponse = unknown;
|
|
16
|
+
export interface GetCustomPluginStatusLogsProps extends Omit<FetcherOptions<GetCustomPluginStatusLogsQueryQueryParams, unknown, GetCustomPluginStatusLogsQueryHeaderParams>, 'url'> {
|
|
17
|
+
queryParams: GetCustomPluginStatusLogsQueryQueryParams;
|
|
18
|
+
}
|
|
19
|
+
export declare function getCustomPluginStatusLogs(props: GetCustomPluginStatusLogsProps): Promise<GetCustomPluginStatusLogsOkResponse>;
|
|
20
|
+
/**
|
|
21
|
+
* Get custom plugin status logs
|
|
22
|
+
*/
|
|
23
|
+
export declare function useGetCustomPluginStatusLogsQuery(props: GetCustomPluginStatusLogsProps, options?: Omit<UseQueryOptions<GetCustomPluginStatusLogsOkResponse, GetCustomPluginStatusLogsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetCustomPluginStatusLogsOkResponse, 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 getCustomPluginStatusLogs(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/custom-plugins/logs`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get custom plugin status logs
|
|
11
|
+
*/
|
|
12
|
+
export function useGetCustomPluginStatusLogsQuery(props, options) {
|
|
13
|
+
return useQuery(['get-custom-plugin-status-logs', props.queryParams], ({ signal }) => getCustomPluginStatusLogs(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { CustomPluginStatusResponseResponse } from '../responses/CustomPluginStatusResponseResponse';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface GetCustomPluginStatusPluginIdQueryPathParams {
|
|
6
|
+
'plugin-id': string;
|
|
7
|
+
}
|
|
8
|
+
export interface GetCustomPluginStatusPluginIdQueryHeaderParams {
|
|
9
|
+
'Harness-Account'?: string;
|
|
10
|
+
}
|
|
11
|
+
export type GetCustomPluginStatusPluginIdOkResponse = ResponseWithPagination<CustomPluginStatusResponseResponse>;
|
|
12
|
+
export type GetCustomPluginStatusPluginIdErrorResponse = unknown;
|
|
13
|
+
export interface GetCustomPluginStatusPluginIdProps extends GetCustomPluginStatusPluginIdQueryPathParams, Omit<FetcherOptions<unknown, unknown, GetCustomPluginStatusPluginIdQueryHeaderParams>, 'url'> {
|
|
14
|
+
}
|
|
15
|
+
export declare function getCustomPluginStatusPluginId(props: GetCustomPluginStatusPluginIdProps): Promise<GetCustomPluginStatusPluginIdOkResponse>;
|
|
16
|
+
/**
|
|
17
|
+
* Get custom plugin status for given plugin_id
|
|
18
|
+
*/
|
|
19
|
+
export declare function useGetCustomPluginStatusPluginIdQuery(props: GetCustomPluginStatusPluginIdProps, options?: Omit<UseQueryOptions<GetCustomPluginStatusPluginIdOkResponse, GetCustomPluginStatusPluginIdErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetCustomPluginStatusPluginIdOkResponse, 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 getCustomPluginStatusPluginId(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/custom-plugins/${props['plugin-id']}/status`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get custom plugin status for given plugin_id
|
|
11
|
+
*/
|
|
12
|
+
export function useGetCustomPluginStatusPluginIdQuery(props, options) {
|
|
13
|
+
return useQuery(['get-custom-plugin-status-plugin-id', props['plugin-id']], ({ signal }) => getCustomPluginStatusPluginId(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { GroupResponse } from '../schemas/GroupResponse';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface GetGroupDetailsQueryPathParams {
|
|
6
|
+
'group-name': string;
|
|
7
|
+
}
|
|
8
|
+
export interface GetGroupDetailsQueryHeaderParams {
|
|
9
|
+
'Harness-Account'?: string;
|
|
10
|
+
}
|
|
11
|
+
export type GetGroupDetailsOkResponse = ResponseWithPagination<unknown>;
|
|
12
|
+
export type GetGroupDetailsErrorResponse = GroupResponse;
|
|
13
|
+
export interface GetGroupDetailsProps extends GetGroupDetailsQueryPathParams, Omit<FetcherOptions<unknown, unknown, GetGroupDetailsQueryHeaderParams>, 'url'> {
|
|
14
|
+
}
|
|
15
|
+
export declare function getGroupDetails(props: GetGroupDetailsProps): Promise<GetGroupDetailsOkResponse>;
|
|
16
|
+
/**
|
|
17
|
+
* Get Group Details
|
|
18
|
+
*/
|
|
19
|
+
export declare function useGetGroupDetailsQuery(props: GetGroupDetailsProps, options?: Omit<UseQueryOptions<GetGroupDetailsOkResponse, GetGroupDetailsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetGroupDetailsOkResponse, GroupResponse>;
|
|
@@ -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 getGroupDetails(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/groups/${props['group-name']}`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get Group Details
|
|
11
|
+
*/
|
|
12
|
+
export function useGetGroupDetailsQuery(props, options) {
|
|
13
|
+
return useQuery(['get-group-details', props['group-name']], ({ signal }) => getGroupDetails(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { GroupsYamlResponse } from '../schemas/GroupsYamlResponse';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface GetGroupsYamlQueryHeaderParams {
|
|
6
|
+
'Harness-Account'?: string;
|
|
7
|
+
}
|
|
8
|
+
export type GetGroupsYamlOkResponse = ResponseWithPagination<unknown>;
|
|
9
|
+
export type GetGroupsYamlErrorResponse = GroupsYamlResponse;
|
|
10
|
+
export interface GetGroupsYamlProps extends Omit<FetcherOptions<unknown, unknown, GetGroupsYamlQueryHeaderParams>, 'url'> {
|
|
11
|
+
}
|
|
12
|
+
export declare function getGroupsYaml(props: GetGroupsYamlProps): Promise<GetGroupsYamlOkResponse>;
|
|
13
|
+
/**
|
|
14
|
+
* Get Groups Yaml
|
|
15
|
+
*/
|
|
16
|
+
export declare function useGetGroupsYamlQuery(props: GetGroupsYamlProps, options?: Omit<UseQueryOptions<GetGroupsYamlOkResponse, GetGroupsYamlErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetGroupsYamlOkResponse, GroupsYamlResponse>;
|
|
@@ -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 getGroupsYaml(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/groups/yaml`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get Groups Yaml
|
|
11
|
+
*/
|
|
12
|
+
export function useGetGroupsYamlQuery(props, options) {
|
|
13
|
+
return useQuery(['get-groups-yaml'], ({ signal }) => getGroupsYaml(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { WorkflowsInfoResponse } from '../schemas/WorkflowsInfoResponse';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface GetWorkflowsForAccountQueryHeaderParams {
|
|
6
|
+
'Harness-Account'?: string;
|
|
7
|
+
}
|
|
8
|
+
export type GetWorkflowsForAccountOkResponse = ResponseWithPagination<unknown>;
|
|
9
|
+
export type GetWorkflowsForAccountErrorResponse = WorkflowsInfoResponse;
|
|
10
|
+
export interface GetWorkflowsForAccountProps extends Omit<FetcherOptions<unknown, unknown, GetWorkflowsForAccountQueryHeaderParams>, 'url'> {
|
|
11
|
+
}
|
|
12
|
+
export declare function getWorkflowsForAccount(props: GetWorkflowsForAccountProps): Promise<GetWorkflowsForAccountOkResponse>;
|
|
13
|
+
/**
|
|
14
|
+
* Get workflows for account
|
|
15
|
+
*/
|
|
16
|
+
export declare function useGetWorkflowsForAccountQuery(props: GetWorkflowsForAccountProps, options?: Omit<UseQueryOptions<GetWorkflowsForAccountOkResponse, GetWorkflowsForAccountErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetWorkflowsForAccountOkResponse, WorkflowsInfoResponse>;
|
|
@@ -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 getWorkflowsForAccount(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/groups/workflows`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get workflows for account
|
|
11
|
+
*/
|
|
12
|
+
export function useGetWorkflowsForAccountQuery(props, options) {
|
|
13
|
+
return useQuery(['get-workflows-for-account'], ({ signal }) => getWorkflowsForAccount(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { GroupResponse } from '../schemas/GroupResponse';
|
|
3
|
+
import type { GroupRequest } from '../schemas/GroupRequest';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface SaveGroupMutationHeaderParams {
|
|
7
|
+
'Harness-Account'?: string;
|
|
8
|
+
}
|
|
9
|
+
export type SaveGroupRequestBody = GroupRequest;
|
|
10
|
+
export type SaveGroupOkResponse = ResponseWithPagination<unknown>;
|
|
11
|
+
export type SaveGroupErrorResponse = GroupResponse;
|
|
12
|
+
export interface SaveGroupProps extends Omit<FetcherOptions<unknown, SaveGroupRequestBody, SaveGroupMutationHeaderParams>, 'url'> {
|
|
13
|
+
body: SaveGroupRequestBody;
|
|
14
|
+
}
|
|
15
|
+
export declare function saveGroup(props: SaveGroupProps): Promise<SaveGroupOkResponse>;
|
|
16
|
+
/**
|
|
17
|
+
* Save a group
|
|
18
|
+
*/
|
|
19
|
+
export declare function useSaveGroupMutation(options?: Omit<UseMutationOptions<SaveGroupOkResponse, SaveGroupErrorResponse, SaveGroupProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<SaveGroupOkResponse, GroupResponse, SaveGroupProps, 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 saveGroup(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/groups`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Save a group
|
|
11
|
+
*/
|
|
12
|
+
export function useSaveGroupMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => saveGroup(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { GroupResponse } from '../schemas/GroupResponse';
|
|
3
|
+
import type { GroupRequest } from '../schemas/GroupRequest';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface UpdateGroupsMutationHeaderParams {
|
|
7
|
+
'Harness-Account'?: string;
|
|
8
|
+
}
|
|
9
|
+
export type UpdateGroupsRequestBody = GroupRequest[];
|
|
10
|
+
export type UpdateGroupsOkResponse = ResponseWithPagination<unknown>;
|
|
11
|
+
export type UpdateGroupsErrorResponse = GroupResponse[];
|
|
12
|
+
export interface UpdateGroupsProps extends Omit<FetcherOptions<unknown, UpdateGroupsRequestBody, UpdateGroupsMutationHeaderParams>, 'url'> {
|
|
13
|
+
body: UpdateGroupsRequestBody;
|
|
14
|
+
}
|
|
15
|
+
export declare function updateGroups(props: UpdateGroupsProps): Promise<UpdateGroupsOkResponse>;
|
|
16
|
+
/**
|
|
17
|
+
* Update Groups
|
|
18
|
+
*/
|
|
19
|
+
export declare function useUpdateGroupsMutation(options?: Omit<UseMutationOptions<UpdateGroupsOkResponse, UpdateGroupsErrorResponse, UpdateGroupsProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateGroupsOkResponse, UpdateGroupsErrorResponse, UpdateGroupsProps, 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 updateGroups(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/groups`, method: 'PUT' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Update Groups
|
|
11
|
+
*/
|
|
12
|
+
export function useUpdateGroupsMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => updateGroups(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -15,10 +15,14 @@ export type { CreateLayoutErrorResponse, CreateLayoutOkResponse, CreateLayoutPro
|
|
|
15
15
|
export { createLayout, useCreateLayoutMutation } from './hooks/useCreateLayoutMutation';
|
|
16
16
|
export type { CreateScorecardErrorResponse, CreateScorecardOkResponse, CreateScorecardProps, CreateScorecardRequestBody, } from './hooks/useCreateScorecardMutation';
|
|
17
17
|
export { createScorecard, useCreateScorecardMutation } from './hooks/useCreateScorecardMutation';
|
|
18
|
+
export type { CustomPluginsTriggerErrorResponse, CustomPluginsTriggerMutationPathParams, CustomPluginsTriggerOkResponse, CustomPluginsTriggerProps, } from './hooks/useCustomPluginsTriggerMutation';
|
|
19
|
+
export { customPluginsTrigger, useCustomPluginsTriggerMutation, } from './hooks/useCustomPluginsTriggerMutation';
|
|
18
20
|
export type { DeleteCheckErrorResponse, DeleteCheckMutationPathParams, DeleteCheckMutationQueryParams, DeleteCheckOkResponse, DeleteCheckProps, } from './hooks/useDeleteCheckMutation';
|
|
19
21
|
export { deleteCheck, useDeleteCheckMutation } from './hooks/useDeleteCheckMutation';
|
|
20
22
|
export type { DeleteCustomPluginInfoErrorResponse, DeleteCustomPluginInfoMutationPathParams, DeleteCustomPluginInfoMutationQueryParams, DeleteCustomPluginInfoOkResponse, DeleteCustomPluginInfoProps, } from './hooks/useDeleteCustomPluginInfoMutation';
|
|
21
23
|
export { deleteCustomPluginInfo, useDeleteCustomPluginInfoMutation, } from './hooks/useDeleteCustomPluginInfoMutation';
|
|
24
|
+
export type { DeleteGroupErrorResponse, DeleteGroupMutationPathParams, DeleteGroupOkResponse, DeleteGroupProps, } from './hooks/useDeleteGroupMutation';
|
|
25
|
+
export { deleteGroup, useDeleteGroupMutation } from './hooks/useDeleteGroupMutation';
|
|
22
26
|
export type { DeleteLayoutErrorResponse, DeleteLayoutOkResponse, DeleteLayoutProps, } from './hooks/useDeleteLayoutMutation';
|
|
23
27
|
export { deleteLayout, useDeleteLayoutMutation } from './hooks/useDeleteLayoutMutation';
|
|
24
28
|
export type { DeleteScorecardErrorResponse, DeleteScorecardMutationPathParams, DeleteScorecardOkResponse, DeleteScorecardProps, } from './hooks/useDeleteScorecardMutation';
|
|
@@ -27,6 +31,8 @@ export type { GenerateYamlDefErrorResponse, GenerateYamlDefOkResponse, GenerateY
|
|
|
27
31
|
export { generateYamlDef, useGenerateYamlDefMutation } from './hooks/useGenerateYamlDefMutation';
|
|
28
32
|
export type { GetAllDatasourcesForAccountErrorResponse, GetAllDatasourcesForAccountOkResponse, GetAllDatasourcesForAccountProps, } from './hooks/useGetAllDatasourcesForAccountQuery';
|
|
29
33
|
export { getAllDatasourcesForAccount, useGetAllDatasourcesForAccountQuery, } from './hooks/useGetAllDatasourcesForAccountQuery';
|
|
34
|
+
export type { GetAllGroupsForAccountErrorResponse, GetAllGroupsForAccountOkResponse, GetAllGroupsForAccountProps, } from './hooks/useGetAllGroupsForAccountQuery';
|
|
35
|
+
export { getAllGroupsForAccount, useGetAllGroupsForAccountQuery, } from './hooks/useGetAllGroupsForAccountQuery';
|
|
30
36
|
export type { GetAllLayoutsErrorResponse, GetAllLayoutsOkResponse, GetAllLayoutsProps, } from './hooks/useGetAllLayoutsQuery';
|
|
31
37
|
export { getAllLayouts, useGetAllLayoutsQuery } from './hooks/useGetAllLayoutsQuery';
|
|
32
38
|
export type { GetAllLayoutsV2ErrorResponse, GetAllLayoutsV2OkResponse, GetAllLayoutsV2Props, } from './hooks/useGetAllLayoutsV2Query';
|
|
@@ -47,12 +53,20 @@ export type { GetChecksErrorResponse, GetChecksOkResponse, GetChecksProps, GetCh
|
|
|
47
53
|
export { getChecks, useGetChecksQuery } from './hooks/useGetChecksQuery';
|
|
48
54
|
export type { GetConnectorInfoErrorResponse, GetConnectorInfoOkResponse, GetConnectorInfoProps, } from './hooks/useGetConnectorInfoQuery';
|
|
49
55
|
export { getConnectorInfo, useGetConnectorInfoQuery } from './hooks/useGetConnectorInfoQuery';
|
|
56
|
+
export type { GetCustomPluginStatusLogsErrorResponse, GetCustomPluginStatusLogsOkResponse, GetCustomPluginStatusLogsProps, GetCustomPluginStatusLogsQueryQueryParams, } from './hooks/useGetCustomPluginStatusLogsQuery';
|
|
57
|
+
export { getCustomPluginStatusLogs, useGetCustomPluginStatusLogsQuery, } from './hooks/useGetCustomPluginStatusLogsQuery';
|
|
58
|
+
export type { GetCustomPluginStatusPluginIdErrorResponse, GetCustomPluginStatusPluginIdOkResponse, GetCustomPluginStatusPluginIdProps, GetCustomPluginStatusPluginIdQueryPathParams, } from './hooks/useGetCustomPluginStatusPluginIdQuery';
|
|
59
|
+
export { getCustomPluginStatusPluginId, useGetCustomPluginStatusPluginIdQuery, } from './hooks/useGetCustomPluginStatusPluginIdQuery';
|
|
50
60
|
export type { GetDataPointsForDataSourceErrorResponse, GetDataPointsForDataSourceOkResponse, GetDataPointsForDataSourceProps, GetDataPointsForDataSourceQueryPathParams, } from './hooks/useGetDataPointsForDataSourceQuery';
|
|
51
61
|
export { getDataPointsForDataSource, useGetDataPointsForDataSourceQuery, } from './hooks/useGetDataPointsForDataSourceQuery';
|
|
52
62
|
export type { GetDataSourcesDataPointsMapErrorResponse, GetDataSourcesDataPointsMapOkResponse, GetDataSourcesDataPointsMapProps, } from './hooks/useGetDataSourcesDataPointsMapQuery';
|
|
53
63
|
export { getDataSourcesDataPointsMap, useGetDataSourcesDataPointsMapQuery, } from './hooks/useGetDataSourcesDataPointsMapQuery';
|
|
54
64
|
export type { GetEntityFacetsErrorResponse, GetEntityFacetsOkResponse, GetEntityFacetsProps, GetEntityFacetsQueryQueryParams, } from './hooks/useGetEntityFacetsQuery';
|
|
55
65
|
export { getEntityFacets, useGetEntityFacetsQuery } from './hooks/useGetEntityFacetsQuery';
|
|
66
|
+
export type { GetGroupDetailsErrorResponse, GetGroupDetailsOkResponse, GetGroupDetailsProps, GetGroupDetailsQueryPathParams, } from './hooks/useGetGroupDetailsQuery';
|
|
67
|
+
export { getGroupDetails, useGetGroupDetailsQuery } from './hooks/useGetGroupDetailsQuery';
|
|
68
|
+
export type { GetGroupsYamlErrorResponse, GetGroupsYamlOkResponse, GetGroupsYamlProps, } from './hooks/useGetGroupsYamlQuery';
|
|
69
|
+
export { getGroupsYaml, useGetGroupsYamlQuery } from './hooks/useGetGroupsYamlQuery';
|
|
56
70
|
export type { GetHarnessEntitiesCountErrorResponse, GetHarnessEntitiesCountOkResponse, GetHarnessEntitiesCountProps, } from './hooks/useGetHarnessEntitiesCountQuery';
|
|
57
71
|
export { getHarnessEntitiesCount, useGetHarnessEntitiesCountQuery, } from './hooks/useGetHarnessEntitiesCountQuery';
|
|
58
72
|
export type { GetHarnessEntitiesErrorResponse, GetHarnessEntitiesOkResponse, GetHarnessEntitiesProps, GetHarnessEntitiesQueryQueryParams, } from './hooks/useGetHarnessEntitiesQuery';
|
|
@@ -81,6 +95,8 @@ export type { GetStatusInfoByTypeErrorResponse, GetStatusInfoByTypeOkResponse, G
|
|
|
81
95
|
export { getStatusInfoByType, useGetStatusInfoByTypeQuery, } from './hooks/useGetStatusInfoByTypeQuery';
|
|
82
96
|
export type { GetStatusInfoTypeV2ErrorResponse, GetStatusInfoTypeV2OkResponse, GetStatusInfoTypeV2Props, GetStatusInfoTypeV2QueryPathParams, } from './hooks/useGetStatusInfoTypeV2Query';
|
|
83
97
|
export { getStatusInfoTypeV2, useGetStatusInfoTypeV2Query, } from './hooks/useGetStatusInfoTypeV2Query';
|
|
98
|
+
export type { GetWorkflowsForAccountErrorResponse, GetWorkflowsForAccountOkResponse, GetWorkflowsForAccountProps, } from './hooks/useGetWorkflowsForAccountQuery';
|
|
99
|
+
export { getWorkflowsForAccount, useGetWorkflowsForAccountQuery, } from './hooks/useGetWorkflowsForAccountQuery';
|
|
84
100
|
export type { ImportCdEntitiesErrorResponse, ImportCdEntitiesOkResponse, ImportCdEntitiesProps, ImportCdEntitiesRequestBody, } from './hooks/useImportCdEntitiesMutation';
|
|
85
101
|
export { importCdEntities, useImportCdEntitiesMutation } from './hooks/useImportCdEntitiesMutation';
|
|
86
102
|
export type { ImportHarnessEntitiesErrorResponse, ImportHarnessEntitiesOkResponse, ImportHarnessEntitiesProps, ImportHarnessEntitiesRequestBody, } from './hooks/useImportHarnessEntitiesMutation';
|
|
@@ -101,6 +117,8 @@ export type { SaveConnectorInfoErrorResponse, SaveConnectorInfoOkResponse, SaveC
|
|
|
101
117
|
export { saveConnectorInfo, useSaveConnectorInfoMutation, } from './hooks/useSaveConnectorInfoMutation';
|
|
102
118
|
export type { SaveCustomPluginsInfoErrorResponse, SaveCustomPluginsInfoOkResponse, SaveCustomPluginsInfoProps, SaveCustomPluginsInfoRequestBody, } from './hooks/useSaveCustomPluginsInfoMutation';
|
|
103
119
|
export { saveCustomPluginsInfo, useSaveCustomPluginsInfoMutation, } from './hooks/useSaveCustomPluginsInfoMutation';
|
|
120
|
+
export type { SaveGroupErrorResponse, SaveGroupOkResponse, SaveGroupProps, SaveGroupRequestBody, } from './hooks/useSaveGroupMutation';
|
|
121
|
+
export { saveGroup, useSaveGroupMutation } from './hooks/useSaveGroupMutation';
|
|
104
122
|
export type { SaveOrUpdatePluginAppConfigErrorResponse, SaveOrUpdatePluginAppConfigOkResponse, SaveOrUpdatePluginAppConfigProps, SaveOrUpdatePluginAppConfigRequestBody, } from './hooks/useSaveOrUpdatePluginAppConfigMutation';
|
|
105
123
|
export { saveOrUpdatePluginAppConfig, useSaveOrUpdatePluginAppConfigMutation, } from './hooks/useSaveOrUpdatePluginAppConfigMutation';
|
|
106
124
|
export type { ScorecardRecalibrateErrorResponse, ScorecardRecalibrateOkResponse, ScorecardRecalibrateProps, ScorecardRecalibrateRequestBody, } from './hooks/useScorecardRecalibrateMutation';
|
|
@@ -115,6 +133,8 @@ export type { UpdateConfigurationEntitiesErrorResponse, UpdateConfigurationEntit
|
|
|
115
133
|
export { updateConfigurationEntities, useUpdateConfigurationEntitiesMutation, } from './hooks/useUpdateConfigurationEntitiesMutation';
|
|
116
134
|
export type { UpdateCustomPluginsInfoErrorResponse, UpdateCustomPluginsInfoMutationPathParams, UpdateCustomPluginsInfoOkResponse, UpdateCustomPluginsInfoProps, UpdateCustomPluginsInfoRequestBody, } from './hooks/useUpdateCustomPluginsInfoMutation';
|
|
117
135
|
export { updateCustomPluginsInfo, useUpdateCustomPluginsInfoMutation, } from './hooks/useUpdateCustomPluginsInfoMutation';
|
|
136
|
+
export type { UpdateGroupsErrorResponse, UpdateGroupsOkResponse, UpdateGroupsProps, UpdateGroupsRequestBody, } from './hooks/useUpdateGroupsMutation';
|
|
137
|
+
export { updateGroups, useUpdateGroupsMutation } from './hooks/useUpdateGroupsMutation';
|
|
118
138
|
export type { UpdateIntegrationErrorResponse, UpdateIntegrationMutationPathParams, UpdateIntegrationMutationQueryParams, UpdateIntegrationOkResponse, UpdateIntegrationProps, UpdateIntegrationRequestBody, } from './hooks/useUpdateIntegrationMutation';
|
|
119
139
|
export { updateIntegration, useUpdateIntegrationMutation, } from './hooks/useUpdateIntegrationMutation';
|
|
120
140
|
export type { UpdateScorecardErrorResponse, UpdateScorecardMutationPathParams, UpdateScorecardOkResponse, UpdateScorecardProps, UpdateScorecardRequestBody, } from './hooks/useUpdateScorecardMutation';
|
|
@@ -147,6 +167,7 @@ export type { CheckStatsResponseResponse } from './responses/CheckStatsResponseR
|
|
|
147
167
|
export type { ConfigurationEntitiesResponseResponse } from './responses/ConfigurationEntitiesResponseResponse';
|
|
148
168
|
export type { ConnectorInfoResponseResponse } from './responses/ConnectorInfoResponseResponse';
|
|
149
169
|
export type { CustomPluginInfoResponseResponse } from './responses/CustomPluginInfoResponseResponse';
|
|
170
|
+
export type { CustomPluginStatusResponseResponse } from './responses/CustomPluginStatusResponseResponse';
|
|
150
171
|
export type { DataSourceDataPointsMapResponseResponse } from './responses/DataSourceDataPointsMapResponseResponse';
|
|
151
172
|
export type { DataSourcesResponseResponse } from './responses/DataSourcesResponseResponse';
|
|
152
173
|
export type { DatapointResponseResponse } from './responses/DatapointResponseResponse';
|
|
@@ -212,6 +233,8 @@ export type { ConnectorInfoResponse } from './schemas/ConnectorInfoResponse';
|
|
|
212
233
|
export type { CustomPluginDetailedInfo } from './schemas/CustomPluginDetailedInfo';
|
|
213
234
|
export type { CustomPluginInfoRequest } from './schemas/CustomPluginInfoRequest';
|
|
214
235
|
export type { CustomPluginInfoResponse } from './schemas/CustomPluginInfoResponse';
|
|
236
|
+
export type { CustomPluginStatus } from './schemas/CustomPluginStatus';
|
|
237
|
+
export type { CustomPluginStatusResponse } from './schemas/CustomPluginStatusResponse';
|
|
215
238
|
export type { DataPoint } from './schemas/DataPoint';
|
|
216
239
|
export type { DataPointsResponse } from './schemas/DataPointsResponse';
|
|
217
240
|
export type { DataSource } from './schemas/DataSource';
|
|
@@ -226,6 +249,10 @@ export type { Facets } from './schemas/Facets';
|
|
|
226
249
|
export type { GenerateYamlRequest } from './schemas/GenerateYamlRequest';
|
|
227
250
|
export type { GenerateYamlResponse } from './schemas/GenerateYamlResponse';
|
|
228
251
|
export type { GitIntegrationRequest } from './schemas/GitIntegrationRequest';
|
|
252
|
+
export type { Group } from './schemas/Group';
|
|
253
|
+
export type { GroupRequest } from './schemas/GroupRequest';
|
|
254
|
+
export type { GroupResponse } from './schemas/GroupResponse';
|
|
255
|
+
export type { GroupsYamlResponse } from './schemas/GroupsYamlResponse';
|
|
229
256
|
export type { HarnessBackstageEntities } from './schemas/HarnessBackstageEntities';
|
|
230
257
|
export type { HarnessEntitiesCountResponse } from './schemas/HarnessEntitiesCountResponse';
|
|
231
258
|
export type { HarnessEntitiesResponse } from './schemas/HarnessEntitiesResponse';
|
|
@@ -277,4 +304,6 @@ export type { StatusInfo } from './schemas/StatusInfo';
|
|
|
277
304
|
export type { StatusInfoResponse } from './schemas/StatusInfoResponse';
|
|
278
305
|
export type { StatusInfoV2 } from './schemas/StatusInfoV2';
|
|
279
306
|
export type { User } from './schemas/User';
|
|
307
|
+
export type { WorkflowsInfo } from './schemas/WorkflowsInfo';
|
|
308
|
+
export type { WorkflowsInfoResponse } from './schemas/WorkflowsInfoResponse';
|
|
280
309
|
export type { WriteValidationDetails } from './schemas/WriteValidationDetails';
|
|
@@ -6,12 +6,15 @@ export { createCheck, useCreateCheckMutation } from './hooks/useCreateCheckMutat
|
|
|
6
6
|
export { createIntegration, useCreateIntegrationMutation, } from './hooks/useCreateIntegrationMutation';
|
|
7
7
|
export { createLayout, useCreateLayoutMutation } from './hooks/useCreateLayoutMutation';
|
|
8
8
|
export { createScorecard, useCreateScorecardMutation } from './hooks/useCreateScorecardMutation';
|
|
9
|
+
export { customPluginsTrigger, useCustomPluginsTriggerMutation, } from './hooks/useCustomPluginsTriggerMutation';
|
|
9
10
|
export { deleteCheck, useDeleteCheckMutation } from './hooks/useDeleteCheckMutation';
|
|
10
11
|
export { deleteCustomPluginInfo, useDeleteCustomPluginInfoMutation, } from './hooks/useDeleteCustomPluginInfoMutation';
|
|
12
|
+
export { deleteGroup, useDeleteGroupMutation } from './hooks/useDeleteGroupMutation';
|
|
11
13
|
export { deleteLayout, useDeleteLayoutMutation } from './hooks/useDeleteLayoutMutation';
|
|
12
14
|
export { deleteScorecard, useDeleteScorecardMutation } from './hooks/useDeleteScorecardMutation';
|
|
13
15
|
export { generateYamlDef, useGenerateYamlDefMutation } from './hooks/useGenerateYamlDefMutation';
|
|
14
16
|
export { getAllDatasourcesForAccount, useGetAllDatasourcesForAccountQuery, } from './hooks/useGetAllDatasourcesForAccountQuery';
|
|
17
|
+
export { getAllGroupsForAccount, useGetAllGroupsForAccountQuery, } from './hooks/useGetAllGroupsForAccountQuery';
|
|
15
18
|
export { getAllLayouts, useGetAllLayoutsQuery } from './hooks/useGetAllLayoutsQuery';
|
|
16
19
|
export { getAllLayoutsV2, useGetAllLayoutsV2Query } from './hooks/useGetAllLayoutsV2Query';
|
|
17
20
|
export { getAllowList, useGetAllowListQuery } from './hooks/useGetAllowListQuery';
|
|
@@ -22,9 +25,13 @@ export { getCheck, useGetCheckQuery } from './hooks/useGetCheckQuery';
|
|
|
22
25
|
export { getCheckStats, useGetCheckStatsQuery } from './hooks/useGetCheckStatsQuery';
|
|
23
26
|
export { getChecks, useGetChecksQuery } from './hooks/useGetChecksQuery';
|
|
24
27
|
export { getConnectorInfo, useGetConnectorInfoQuery } from './hooks/useGetConnectorInfoQuery';
|
|
28
|
+
export { getCustomPluginStatusLogs, useGetCustomPluginStatusLogsQuery, } from './hooks/useGetCustomPluginStatusLogsQuery';
|
|
29
|
+
export { getCustomPluginStatusPluginId, useGetCustomPluginStatusPluginIdQuery, } from './hooks/useGetCustomPluginStatusPluginIdQuery';
|
|
25
30
|
export { getDataPointsForDataSource, useGetDataPointsForDataSourceQuery, } from './hooks/useGetDataPointsForDataSourceQuery';
|
|
26
31
|
export { getDataSourcesDataPointsMap, useGetDataSourcesDataPointsMapQuery, } from './hooks/useGetDataSourcesDataPointsMapQuery';
|
|
27
32
|
export { getEntityFacets, useGetEntityFacetsQuery } from './hooks/useGetEntityFacetsQuery';
|
|
33
|
+
export { getGroupDetails, useGetGroupDetailsQuery } from './hooks/useGetGroupDetailsQuery';
|
|
34
|
+
export { getGroupsYaml, useGetGroupsYamlQuery } from './hooks/useGetGroupsYamlQuery';
|
|
28
35
|
export { getHarnessEntitiesCount, useGetHarnessEntitiesCountQuery, } from './hooks/useGetHarnessEntitiesCountQuery';
|
|
29
36
|
export { getHarnessEntities, useGetHarnessEntitiesQuery } from './hooks/useGetHarnessEntitiesQuery';
|
|
30
37
|
export { getIntegration, useGetIntegrationQuery } from './hooks/useGetIntegrationQuery';
|
|
@@ -39,6 +46,7 @@ export { getScorecardStats, useGetScorecardStatsQuery } from './hooks/useGetScor
|
|
|
39
46
|
export { getScorecards, useGetScorecardsQuery } from './hooks/useGetScorecardsQuery';
|
|
40
47
|
export { getStatusInfoByType, useGetStatusInfoByTypeQuery, } from './hooks/useGetStatusInfoByTypeQuery';
|
|
41
48
|
export { getStatusInfoTypeV2, useGetStatusInfoTypeV2Query, } from './hooks/useGetStatusInfoTypeV2Query';
|
|
49
|
+
export { getWorkflowsForAccount, useGetWorkflowsForAccountQuery, } from './hooks/useGetWorkflowsForAccountQuery';
|
|
42
50
|
export { importCdEntities, useImportCdEntitiesMutation } from './hooks/useImportCdEntitiesMutation';
|
|
43
51
|
export { importHarnessEntities, useImportHarnessEntitiesMutation, } from './hooks/useImportHarnessEntitiesMutation';
|
|
44
52
|
export { layoutIngest, useLayoutIngestMutation } from './hooks/useLayoutIngestMutation';
|
|
@@ -49,6 +57,7 @@ export { saveAllowList, useSaveAllowListMutation } from './hooks/useSaveAllowLis
|
|
|
49
57
|
export { saveAuthInfoAuthId, useSaveAuthInfoAuthIdMutation, } from './hooks/useSaveAuthInfoAuthIdMutation';
|
|
50
58
|
export { saveConnectorInfo, useSaveConnectorInfoMutation, } from './hooks/useSaveConnectorInfoMutation';
|
|
51
59
|
export { saveCustomPluginsInfo, useSaveCustomPluginsInfoMutation, } from './hooks/useSaveCustomPluginsInfoMutation';
|
|
60
|
+
export { saveGroup, useSaveGroupMutation } from './hooks/useSaveGroupMutation';
|
|
52
61
|
export { saveOrUpdatePluginAppConfig, useSaveOrUpdatePluginAppConfigMutation, } from './hooks/useSaveOrUpdatePluginAppConfigMutation';
|
|
53
62
|
export { scorecardRecalibrate, useScorecardRecalibrateMutation, } from './hooks/useScorecardRecalibrateMutation';
|
|
54
63
|
export { togglePluginForAccount, useTogglePluginForAccountMutation, } from './hooks/useTogglePluginForAccountMutation';
|
|
@@ -56,5 +65,6 @@ export { updateBackstagePermissions, useUpdateBackstagePermissionsMutation, } fr
|
|
|
56
65
|
export { updateCheck, useUpdateCheckMutation } from './hooks/useUpdateCheckMutation';
|
|
57
66
|
export { updateConfigurationEntities, useUpdateConfigurationEntitiesMutation, } from './hooks/useUpdateConfigurationEntitiesMutation';
|
|
58
67
|
export { updateCustomPluginsInfo, useUpdateCustomPluginsInfoMutation, } from './hooks/useUpdateCustomPluginsInfoMutation';
|
|
68
|
+
export { updateGroups, useUpdateGroupsMutation } from './hooks/useUpdateGroupsMutation';
|
|
59
69
|
export { updateIntegration, useUpdateIntegrationMutation, } from './hooks/useUpdateIntegrationMutation';
|
|
60
70
|
export { updateScorecard, useUpdateScorecardMutation } from './hooks/useUpdateScorecardMutation';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,11 +1,18 @@
|
|
|
1
|
+
import type { User } from '../schemas/User';
|
|
1
2
|
/**
|
|
2
3
|
* LayoutRequest
|
|
3
4
|
*/
|
|
4
5
|
export interface LayoutRequest {
|
|
6
|
+
created_by?: User;
|
|
5
7
|
default_yaml?: string;
|
|
8
|
+
description?: string;
|
|
6
9
|
display_name?: string;
|
|
10
|
+
entity_kind?: string;
|
|
11
|
+
entity_type?: string;
|
|
12
|
+
harness_managed?: boolean;
|
|
7
13
|
id?: string;
|
|
8
14
|
name?: string;
|
|
9
15
|
type?: string;
|
|
16
|
+
updated_by?: User;
|
|
10
17
|
yaml?: string;
|
|
11
18
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|