@harnessio/react-idp-service-client 0.50.1 → 0.51.1
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/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 +2 -3
- package/dist/idp-service/src/services/hooks/useGetCustomPluginStatusLogsQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetCustomPluginStatusPluginIdQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetCustomPluginStatusPluginIdQuery.js +1 -1
- 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 +27 -2
- package/dist/idp-service/src/services/index.js +7 -0
- package/dist/idp-service/src/services/requestBodies/GroupRequestListRequestBody.d.ts +2 -0
- package/dist/idp-service/src/services/requestBodies/GroupRequestRequestBody.d.ts +2 -0
- package/dist/idp-service/src/services/requestBodies/GroupRequestRequestBody.js +1 -0
- package/dist/idp-service/src/services/responses/GroupResponseListResponse.d.ts +2 -0
- package/dist/idp-service/src/services/responses/GroupResponseListResponse.js +1 -0
- package/dist/idp-service/src/services/responses/GroupResponseResponse.d.ts +2 -0
- package/dist/idp-service/src/services/responses/GroupResponseResponse.js +1 -0
- package/dist/idp-service/src/services/responses/GroupsYamlResponseResponse.d.ts +2 -0
- package/dist/idp-service/src/services/responses/GroupsYamlResponseResponse.js +1 -0
- package/dist/idp-service/src/services/responses/WorkflowsInfoResponseResponse.d.ts +2 -0
- package/dist/idp-service/src/services/responses/WorkflowsInfoResponseResponse.js +1 -0
- package/dist/idp-service/src/services/schemas/CustomPluginStatus.d.ts +9 -0
- package/dist/idp-service/src/services/schemas/CustomPluginStatusResponse.d.ts +2 -10
- package/dist/idp-service/src/services/schemas/CustomPluginStatusResponse.js +0 -3
- 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
- package/dist/idp-service/src/services/responses/CustomPluginLogsResponseResponse.d.ts +0 -2
- package/dist/idp-service/src/services/schemas/CustomPluginLogsResponse.d.ts +0 -3
- /package/dist/idp-service/src/services/{responses/CustomPluginLogsResponseResponse.js → requestBodies/GroupRequestListRequestBody.js} +0 -0
- /package/dist/idp-service/src/services/schemas/{CustomPluginLogsResponse.js → CustomPluginStatus.js} +0 -0
|
@@ -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 { GroupResponseListResponse } from '../responses/GroupResponseListResponse';
|
|
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<GroupResponseListResponse>;
|
|
9
|
+
export type GetAllGroupsForAccountErrorResponse = unknown;
|
|
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, 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 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
|
+
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
-
import type { CustomPluginLogsResponseResponse } from '../responses/CustomPluginLogsResponseResponse';
|
|
3
2
|
import type { ResponseWithPagination } from '../helpers';
|
|
4
3
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
4
|
export interface GetCustomPluginStatusLogsQueryQueryParams {
|
|
@@ -12,13 +11,13 @@ export interface GetCustomPluginStatusLogsQueryHeaderParams {
|
|
|
12
11
|
'Harness-Account'?: string;
|
|
13
12
|
'Log-Key'?: string;
|
|
14
13
|
}
|
|
15
|
-
export type GetCustomPluginStatusLogsOkResponse = ResponseWithPagination<
|
|
14
|
+
export type GetCustomPluginStatusLogsOkResponse = ResponseWithPagination<unknown>;
|
|
16
15
|
export type GetCustomPluginStatusLogsErrorResponse = unknown;
|
|
17
16
|
export interface GetCustomPluginStatusLogsProps extends Omit<FetcherOptions<GetCustomPluginStatusLogsQueryQueryParams, unknown, GetCustomPluginStatusLogsQueryHeaderParams>, 'url'> {
|
|
18
17
|
queryParams: GetCustomPluginStatusLogsQueryQueryParams;
|
|
19
18
|
}
|
|
20
19
|
export declare function getCustomPluginStatusLogs(props: GetCustomPluginStatusLogsProps): Promise<GetCustomPluginStatusLogsOkResponse>;
|
|
21
20
|
/**
|
|
22
|
-
* Get
|
|
21
|
+
* Get custom plugin status logs
|
|
23
22
|
*/
|
|
24
23
|
export declare function useGetCustomPluginStatusLogsQuery(props: GetCustomPluginStatusLogsProps, options?: Omit<UseQueryOptions<GetCustomPluginStatusLogsOkResponse, GetCustomPluginStatusLogsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetCustomPluginStatusLogsOkResponse, unknown>;
|
|
@@ -7,7 +7,7 @@ export function getCustomPluginStatusLogs(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/v1/custom-plugins/logs`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Get
|
|
10
|
+
* Get custom plugin status logs
|
|
11
11
|
*/
|
|
12
12
|
export function useGetCustomPluginStatusLogsQuery(props, options) {
|
|
13
13
|
return useQuery(['get-custom-plugin-status-logs', props.queryParams], ({ signal }) => getCustomPluginStatusLogs(Object.assign(Object.assign({}, props), { signal })), options);
|
|
@@ -14,6 +14,6 @@ export interface GetCustomPluginStatusPluginIdProps extends GetCustomPluginStatu
|
|
|
14
14
|
}
|
|
15
15
|
export declare function getCustomPluginStatusPluginId(props: GetCustomPluginStatusPluginIdProps): Promise<GetCustomPluginStatusPluginIdOkResponse>;
|
|
16
16
|
/**
|
|
17
|
-
* Get
|
|
17
|
+
* Get custom plugin status for given plugin_id
|
|
18
18
|
*/
|
|
19
19
|
export declare function useGetCustomPluginStatusPluginIdQuery(props: GetCustomPluginStatusPluginIdProps, options?: Omit<UseQueryOptions<GetCustomPluginStatusPluginIdOkResponse, GetCustomPluginStatusPluginIdErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetCustomPluginStatusPluginIdOkResponse, unknown>;
|
|
@@ -7,7 +7,7 @@ export function getCustomPluginStatusPluginId(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/v1/custom-plugins/${props['plugin-id']}/status`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Get
|
|
10
|
+
* Get custom plugin status for given plugin_id
|
|
11
11
|
*/
|
|
12
12
|
export function useGetCustomPluginStatusPluginIdQuery(props, options) {
|
|
13
13
|
return useQuery(['get-custom-plugin-status-plugin-id', props['plugin-id']], ({ signal }) => getCustomPluginStatusPluginId(Object.assign(Object.assign({}, props), { signal })), options);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { GroupResponseResponse } from '../responses/GroupResponseResponse';
|
|
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<GroupResponseResponse>;
|
|
12
|
+
export type GetGroupDetailsErrorResponse = unknown;
|
|
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, 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 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 { GroupsYamlResponseResponse } from '../responses/GroupsYamlResponseResponse';
|
|
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<GroupsYamlResponseResponse>;
|
|
9
|
+
export type GetGroupsYamlErrorResponse = unknown;
|
|
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, 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 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 { WorkflowsInfoResponseResponse } from '../responses/WorkflowsInfoResponseResponse';
|
|
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<WorkflowsInfoResponseResponse>;
|
|
9
|
+
export type GetWorkflowsForAccountErrorResponse = unknown;
|
|
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, 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 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 { GroupResponseResponse } from '../responses/GroupResponseResponse';
|
|
3
|
+
import type { GroupRequestRequestBody } from '../requestBodies/GroupRequestRequestBody';
|
|
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 = GroupRequestRequestBody;
|
|
10
|
+
export type SaveGroupOkResponse = ResponseWithPagination<GroupResponseResponse>;
|
|
11
|
+
export type SaveGroupErrorResponse = unknown;
|
|
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, unknown, 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 { GroupResponseListResponse } from '../responses/GroupResponseListResponse';
|
|
3
|
+
import type { GroupRequestListRequestBody } from '../requestBodies/GroupRequestListRequestBody';
|
|
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 = GroupRequestListRequestBody;
|
|
10
|
+
export type UpdateGroupsOkResponse = ResponseWithPagination<GroupResponseListResponse>;
|
|
11
|
+
export type UpdateGroupsErrorResponse = unknown;
|
|
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, unknown, 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
|
+
}
|
|
@@ -21,6 +21,8 @@ export type { DeleteCheckErrorResponse, DeleteCheckMutationPathParams, DeleteChe
|
|
|
21
21
|
export { deleteCheck, useDeleteCheckMutation } from './hooks/useDeleteCheckMutation';
|
|
22
22
|
export type { DeleteCustomPluginInfoErrorResponse, DeleteCustomPluginInfoMutationPathParams, DeleteCustomPluginInfoMutationQueryParams, DeleteCustomPluginInfoOkResponse, DeleteCustomPluginInfoProps, } from './hooks/useDeleteCustomPluginInfoMutation';
|
|
23
23
|
export { deleteCustomPluginInfo, useDeleteCustomPluginInfoMutation, } from './hooks/useDeleteCustomPluginInfoMutation';
|
|
24
|
+
export type { DeleteGroupErrorResponse, DeleteGroupMutationPathParams, DeleteGroupOkResponse, DeleteGroupProps, } from './hooks/useDeleteGroupMutation';
|
|
25
|
+
export { deleteGroup, useDeleteGroupMutation } from './hooks/useDeleteGroupMutation';
|
|
24
26
|
export type { DeleteLayoutErrorResponse, DeleteLayoutOkResponse, DeleteLayoutProps, } from './hooks/useDeleteLayoutMutation';
|
|
25
27
|
export { deleteLayout, useDeleteLayoutMutation } from './hooks/useDeleteLayoutMutation';
|
|
26
28
|
export type { DeleteScorecardErrorResponse, DeleteScorecardMutationPathParams, DeleteScorecardOkResponse, DeleteScorecardProps, } from './hooks/useDeleteScorecardMutation';
|
|
@@ -29,6 +31,8 @@ export type { GenerateYamlDefErrorResponse, GenerateYamlDefOkResponse, GenerateY
|
|
|
29
31
|
export { generateYamlDef, useGenerateYamlDefMutation } from './hooks/useGenerateYamlDefMutation';
|
|
30
32
|
export type { GetAllDatasourcesForAccountErrorResponse, GetAllDatasourcesForAccountOkResponse, GetAllDatasourcesForAccountProps, } from './hooks/useGetAllDatasourcesForAccountQuery';
|
|
31
33
|
export { getAllDatasourcesForAccount, useGetAllDatasourcesForAccountQuery, } from './hooks/useGetAllDatasourcesForAccountQuery';
|
|
34
|
+
export type { GetAllGroupsForAccountErrorResponse, GetAllGroupsForAccountOkResponse, GetAllGroupsForAccountProps, } from './hooks/useGetAllGroupsForAccountQuery';
|
|
35
|
+
export { getAllGroupsForAccount, useGetAllGroupsForAccountQuery, } from './hooks/useGetAllGroupsForAccountQuery';
|
|
32
36
|
export type { GetAllLayoutsErrorResponse, GetAllLayoutsOkResponse, GetAllLayoutsProps, } from './hooks/useGetAllLayoutsQuery';
|
|
33
37
|
export { getAllLayouts, useGetAllLayoutsQuery } from './hooks/useGetAllLayoutsQuery';
|
|
34
38
|
export type { GetAllLayoutsV2ErrorResponse, GetAllLayoutsV2OkResponse, GetAllLayoutsV2Props, } from './hooks/useGetAllLayoutsV2Query';
|
|
@@ -59,6 +63,10 @@ export type { GetDataSourcesDataPointsMapErrorResponse, GetDataSourcesDataPoints
|
|
|
59
63
|
export { getDataSourcesDataPointsMap, useGetDataSourcesDataPointsMapQuery, } from './hooks/useGetDataSourcesDataPointsMapQuery';
|
|
60
64
|
export type { GetEntityFacetsErrorResponse, GetEntityFacetsOkResponse, GetEntityFacetsProps, GetEntityFacetsQueryQueryParams, } from './hooks/useGetEntityFacetsQuery';
|
|
61
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';
|
|
62
70
|
export type { GetHarnessEntitiesCountErrorResponse, GetHarnessEntitiesCountOkResponse, GetHarnessEntitiesCountProps, } from './hooks/useGetHarnessEntitiesCountQuery';
|
|
63
71
|
export { getHarnessEntitiesCount, useGetHarnessEntitiesCountQuery, } from './hooks/useGetHarnessEntitiesCountQuery';
|
|
64
72
|
export type { GetHarnessEntitiesErrorResponse, GetHarnessEntitiesOkResponse, GetHarnessEntitiesProps, GetHarnessEntitiesQueryQueryParams, } from './hooks/useGetHarnessEntitiesQuery';
|
|
@@ -87,6 +95,8 @@ export type { GetStatusInfoByTypeErrorResponse, GetStatusInfoByTypeOkResponse, G
|
|
|
87
95
|
export { getStatusInfoByType, useGetStatusInfoByTypeQuery, } from './hooks/useGetStatusInfoByTypeQuery';
|
|
88
96
|
export type { GetStatusInfoTypeV2ErrorResponse, GetStatusInfoTypeV2OkResponse, GetStatusInfoTypeV2Props, GetStatusInfoTypeV2QueryPathParams, } from './hooks/useGetStatusInfoTypeV2Query';
|
|
89
97
|
export { getStatusInfoTypeV2, useGetStatusInfoTypeV2Query, } from './hooks/useGetStatusInfoTypeV2Query';
|
|
98
|
+
export type { GetWorkflowsForAccountErrorResponse, GetWorkflowsForAccountOkResponse, GetWorkflowsForAccountProps, } from './hooks/useGetWorkflowsForAccountQuery';
|
|
99
|
+
export { getWorkflowsForAccount, useGetWorkflowsForAccountQuery, } from './hooks/useGetWorkflowsForAccountQuery';
|
|
90
100
|
export type { ImportCdEntitiesErrorResponse, ImportCdEntitiesOkResponse, ImportCdEntitiesProps, ImportCdEntitiesRequestBody, } from './hooks/useImportCdEntitiesMutation';
|
|
91
101
|
export { importCdEntities, useImportCdEntitiesMutation } from './hooks/useImportCdEntitiesMutation';
|
|
92
102
|
export type { ImportHarnessEntitiesErrorResponse, ImportHarnessEntitiesOkResponse, ImportHarnessEntitiesProps, ImportHarnessEntitiesRequestBody, } from './hooks/useImportHarnessEntitiesMutation';
|
|
@@ -107,6 +117,8 @@ export type { SaveConnectorInfoErrorResponse, SaveConnectorInfoOkResponse, SaveC
|
|
|
107
117
|
export { saveConnectorInfo, useSaveConnectorInfoMutation, } from './hooks/useSaveConnectorInfoMutation';
|
|
108
118
|
export type { SaveCustomPluginsInfoErrorResponse, SaveCustomPluginsInfoOkResponse, SaveCustomPluginsInfoProps, SaveCustomPluginsInfoRequestBody, } from './hooks/useSaveCustomPluginsInfoMutation';
|
|
109
119
|
export { saveCustomPluginsInfo, useSaveCustomPluginsInfoMutation, } from './hooks/useSaveCustomPluginsInfoMutation';
|
|
120
|
+
export type { SaveGroupErrorResponse, SaveGroupOkResponse, SaveGroupProps, SaveGroupRequestBody, } from './hooks/useSaveGroupMutation';
|
|
121
|
+
export { saveGroup, useSaveGroupMutation } from './hooks/useSaveGroupMutation';
|
|
110
122
|
export type { SaveOrUpdatePluginAppConfigErrorResponse, SaveOrUpdatePluginAppConfigOkResponse, SaveOrUpdatePluginAppConfigProps, SaveOrUpdatePluginAppConfigRequestBody, } from './hooks/useSaveOrUpdatePluginAppConfigMutation';
|
|
111
123
|
export { saveOrUpdatePluginAppConfig, useSaveOrUpdatePluginAppConfigMutation, } from './hooks/useSaveOrUpdatePluginAppConfigMutation';
|
|
112
124
|
export type { ScorecardRecalibrateErrorResponse, ScorecardRecalibrateOkResponse, ScorecardRecalibrateProps, ScorecardRecalibrateRequestBody, } from './hooks/useScorecardRecalibrateMutation';
|
|
@@ -121,6 +133,8 @@ export type { UpdateConfigurationEntitiesErrorResponse, UpdateConfigurationEntit
|
|
|
121
133
|
export { updateConfigurationEntities, useUpdateConfigurationEntitiesMutation, } from './hooks/useUpdateConfigurationEntitiesMutation';
|
|
122
134
|
export type { UpdateCustomPluginsInfoErrorResponse, UpdateCustomPluginsInfoMutationPathParams, UpdateCustomPluginsInfoOkResponse, UpdateCustomPluginsInfoProps, UpdateCustomPluginsInfoRequestBody, } from './hooks/useUpdateCustomPluginsInfoMutation';
|
|
123
135
|
export { updateCustomPluginsInfo, useUpdateCustomPluginsInfoMutation, } from './hooks/useUpdateCustomPluginsInfoMutation';
|
|
136
|
+
export type { UpdateGroupsErrorResponse, UpdateGroupsOkResponse, UpdateGroupsProps, UpdateGroupsRequestBody, } from './hooks/useUpdateGroupsMutation';
|
|
137
|
+
export { updateGroups, useUpdateGroupsMutation } from './hooks/useUpdateGroupsMutation';
|
|
124
138
|
export type { UpdateIntegrationErrorResponse, UpdateIntegrationMutationPathParams, UpdateIntegrationMutationQueryParams, UpdateIntegrationOkResponse, UpdateIntegrationProps, UpdateIntegrationRequestBody, } from './hooks/useUpdateIntegrationMutation';
|
|
125
139
|
export { updateIntegration, useUpdateIntegrationMutation, } from './hooks/useUpdateIntegrationMutation';
|
|
126
140
|
export type { UpdateScorecardErrorResponse, UpdateScorecardMutationPathParams, UpdateScorecardOkResponse, UpdateScorecardProps, UpdateScorecardRequestBody, } from './hooks/useUpdateScorecardMutation';
|
|
@@ -133,6 +147,8 @@ export type { ConnectorInfoRequestRequestBody } from './requestBodies/ConnectorI
|
|
|
133
147
|
export type { CustomPluginCreateRequestRequestBody } from './requestBodies/CustomPluginCreateRequestRequestBody';
|
|
134
148
|
export type { CustomPluginInfoRequestRequestBody } from './requestBodies/CustomPluginInfoRequestRequestBody';
|
|
135
149
|
export type { GenerateYamlRequestRequestBody } from './requestBodies/GenerateYamlRequestRequestBody';
|
|
150
|
+
export type { GroupRequestListRequestBody } from './requestBodies/GroupRequestListRequestBody';
|
|
151
|
+
export type { GroupRequestRequestBody } from './requestBodies/GroupRequestRequestBody';
|
|
136
152
|
export type { ImportHarnessEntitiesRequestRequestBody } from './requestBodies/ImportHarnessEntitiesRequestRequestBody';
|
|
137
153
|
export type { IntegrationRequestRequestBody } from './requestBodies/IntegrationRequestRequestBody';
|
|
138
154
|
export type { OnboardingCdEntitiesFetchRequestRequestBody } from './requestBodies/OnboardingCdEntitiesFetchRequestRequestBody';
|
|
@@ -153,7 +169,6 @@ export type { CheckStatsResponseResponse } from './responses/CheckStatsResponseR
|
|
|
153
169
|
export type { ConfigurationEntitiesResponseResponse } from './responses/ConfigurationEntitiesResponseResponse';
|
|
154
170
|
export type { ConnectorInfoResponseResponse } from './responses/ConnectorInfoResponseResponse';
|
|
155
171
|
export type { CustomPluginInfoResponseResponse } from './responses/CustomPluginInfoResponseResponse';
|
|
156
|
-
export type { CustomPluginLogsResponseResponse } from './responses/CustomPluginLogsResponseResponse';
|
|
157
172
|
export type { CustomPluginStatusResponseResponse } from './responses/CustomPluginStatusResponseResponse';
|
|
158
173
|
export type { DataSourceDataPointsMapResponseResponse } from './responses/DataSourceDataPointsMapResponseResponse';
|
|
159
174
|
export type { DataSourcesResponseResponse } from './responses/DataSourcesResponseResponse';
|
|
@@ -161,6 +176,9 @@ export type { DatapointResponseResponse } from './responses/DatapointResponseRes
|
|
|
161
176
|
export type { DefaultSaveResponseResponse } from './responses/DefaultSaveResponseResponse';
|
|
162
177
|
export type { FacetsResponseResponse } from './responses/FacetsResponseResponse';
|
|
163
178
|
export type { GenerateYamlResponseResponse } from './responses/GenerateYamlResponseResponse';
|
|
179
|
+
export type { GroupResponseListResponse } from './responses/GroupResponseListResponse';
|
|
180
|
+
export type { GroupResponseResponse } from './responses/GroupResponseResponse';
|
|
181
|
+
export type { GroupsYamlResponseResponse } from './responses/GroupsYamlResponseResponse';
|
|
164
182
|
export type { HarnessEntitiesCountResponseResponse } from './responses/HarnessEntitiesCountResponseResponse';
|
|
165
183
|
export type { HarnessEntitiesResponseResponse } from './responses/HarnessEntitiesResponseResponse';
|
|
166
184
|
export type { ImportEntitiesResponseResponse } from './responses/ImportEntitiesResponseResponse';
|
|
@@ -182,6 +200,7 @@ export type { ScorecardResponseListResponse } from './responses/ScorecardRespons
|
|
|
182
200
|
export type { ScorecardStatsResponseResponse } from './responses/ScorecardStatsResponseResponse';
|
|
183
201
|
export type { StatusInfoResponseResponse } from './responses/StatusInfoResponseResponse';
|
|
184
202
|
export type { StatusInfoResponseV2Response } from './responses/StatusInfoResponseV2Response';
|
|
203
|
+
export type { WorkflowsInfoResponseResponse } from './responses/WorkflowsInfoResponseResponse';
|
|
185
204
|
export type { AbstractIntegrationRequest } from './schemas/AbstractIntegrationRequest';
|
|
186
205
|
export type { AbstractIntegrationResponse } from './schemas/AbstractIntegrationResponse';
|
|
187
206
|
export type { AllowListRequest } from './schemas/AllowListRequest';
|
|
@@ -220,7 +239,7 @@ export type { ConnectorInfoResponse } from './schemas/ConnectorInfoResponse';
|
|
|
220
239
|
export type { CustomPluginDetailedInfo } from './schemas/CustomPluginDetailedInfo';
|
|
221
240
|
export type { CustomPluginInfoRequest } from './schemas/CustomPluginInfoRequest';
|
|
222
241
|
export type { CustomPluginInfoResponse } from './schemas/CustomPluginInfoResponse';
|
|
223
|
-
export type {
|
|
242
|
+
export type { CustomPluginStatus } from './schemas/CustomPluginStatus';
|
|
224
243
|
export type { CustomPluginStatusResponse } from './schemas/CustomPluginStatusResponse';
|
|
225
244
|
export type { DataPoint } from './schemas/DataPoint';
|
|
226
245
|
export type { DataPointsResponse } from './schemas/DataPointsResponse';
|
|
@@ -236,6 +255,10 @@ export type { Facets } from './schemas/Facets';
|
|
|
236
255
|
export type { GenerateYamlRequest } from './schemas/GenerateYamlRequest';
|
|
237
256
|
export type { GenerateYamlResponse } from './schemas/GenerateYamlResponse';
|
|
238
257
|
export type { GitIntegrationRequest } from './schemas/GitIntegrationRequest';
|
|
258
|
+
export type { Group } from './schemas/Group';
|
|
259
|
+
export type { GroupRequest } from './schemas/GroupRequest';
|
|
260
|
+
export type { GroupResponse } from './schemas/GroupResponse';
|
|
261
|
+
export type { GroupsYamlResponse } from './schemas/GroupsYamlResponse';
|
|
239
262
|
export type { HarnessBackstageEntities } from './schemas/HarnessBackstageEntities';
|
|
240
263
|
export type { HarnessEntitiesCountResponse } from './schemas/HarnessEntitiesCountResponse';
|
|
241
264
|
export type { HarnessEntitiesResponse } from './schemas/HarnessEntitiesResponse';
|
|
@@ -287,4 +310,6 @@ export type { StatusInfo } from './schemas/StatusInfo';
|
|
|
287
310
|
export type { StatusInfoResponse } from './schemas/StatusInfoResponse';
|
|
288
311
|
export type { StatusInfoV2 } from './schemas/StatusInfoV2';
|
|
289
312
|
export type { User } from './schemas/User';
|
|
313
|
+
export type { WorkflowsInfo } from './schemas/WorkflowsInfo';
|
|
314
|
+
export type { WorkflowsInfoResponse } from './schemas/WorkflowsInfoResponse';
|
|
290
315
|
export type { WriteValidationDetails } from './schemas/WriteValidationDetails';
|
|
@@ -9,10 +9,12 @@ export { createScorecard, useCreateScorecardMutation } from './hooks/useCreateSc
|
|
|
9
9
|
export { customPluginsTrigger, useCustomPluginsTriggerMutation, } from './hooks/useCustomPluginsTriggerMutation';
|
|
10
10
|
export { deleteCheck, useDeleteCheckMutation } from './hooks/useDeleteCheckMutation';
|
|
11
11
|
export { deleteCustomPluginInfo, useDeleteCustomPluginInfoMutation, } from './hooks/useDeleteCustomPluginInfoMutation';
|
|
12
|
+
export { deleteGroup, useDeleteGroupMutation } from './hooks/useDeleteGroupMutation';
|
|
12
13
|
export { deleteLayout, useDeleteLayoutMutation } from './hooks/useDeleteLayoutMutation';
|
|
13
14
|
export { deleteScorecard, useDeleteScorecardMutation } from './hooks/useDeleteScorecardMutation';
|
|
14
15
|
export { generateYamlDef, useGenerateYamlDefMutation } from './hooks/useGenerateYamlDefMutation';
|
|
15
16
|
export { getAllDatasourcesForAccount, useGetAllDatasourcesForAccountQuery, } from './hooks/useGetAllDatasourcesForAccountQuery';
|
|
17
|
+
export { getAllGroupsForAccount, useGetAllGroupsForAccountQuery, } from './hooks/useGetAllGroupsForAccountQuery';
|
|
16
18
|
export { getAllLayouts, useGetAllLayoutsQuery } from './hooks/useGetAllLayoutsQuery';
|
|
17
19
|
export { getAllLayoutsV2, useGetAllLayoutsV2Query } from './hooks/useGetAllLayoutsV2Query';
|
|
18
20
|
export { getAllowList, useGetAllowListQuery } from './hooks/useGetAllowListQuery';
|
|
@@ -28,6 +30,8 @@ export { getCustomPluginStatusPluginId, useGetCustomPluginStatusPluginIdQuery, }
|
|
|
28
30
|
export { getDataPointsForDataSource, useGetDataPointsForDataSourceQuery, } from './hooks/useGetDataPointsForDataSourceQuery';
|
|
29
31
|
export { getDataSourcesDataPointsMap, useGetDataSourcesDataPointsMapQuery, } from './hooks/useGetDataSourcesDataPointsMapQuery';
|
|
30
32
|
export { getEntityFacets, useGetEntityFacetsQuery } from './hooks/useGetEntityFacetsQuery';
|
|
33
|
+
export { getGroupDetails, useGetGroupDetailsQuery } from './hooks/useGetGroupDetailsQuery';
|
|
34
|
+
export { getGroupsYaml, useGetGroupsYamlQuery } from './hooks/useGetGroupsYamlQuery';
|
|
31
35
|
export { getHarnessEntitiesCount, useGetHarnessEntitiesCountQuery, } from './hooks/useGetHarnessEntitiesCountQuery';
|
|
32
36
|
export { getHarnessEntities, useGetHarnessEntitiesQuery } from './hooks/useGetHarnessEntitiesQuery';
|
|
33
37
|
export { getIntegration, useGetIntegrationQuery } from './hooks/useGetIntegrationQuery';
|
|
@@ -42,6 +46,7 @@ export { getScorecardStats, useGetScorecardStatsQuery } from './hooks/useGetScor
|
|
|
42
46
|
export { getScorecards, useGetScorecardsQuery } from './hooks/useGetScorecardsQuery';
|
|
43
47
|
export { getStatusInfoByType, useGetStatusInfoByTypeQuery, } from './hooks/useGetStatusInfoByTypeQuery';
|
|
44
48
|
export { getStatusInfoTypeV2, useGetStatusInfoTypeV2Query, } from './hooks/useGetStatusInfoTypeV2Query';
|
|
49
|
+
export { getWorkflowsForAccount, useGetWorkflowsForAccountQuery, } from './hooks/useGetWorkflowsForAccountQuery';
|
|
45
50
|
export { importCdEntities, useImportCdEntitiesMutation } from './hooks/useImportCdEntitiesMutation';
|
|
46
51
|
export { importHarnessEntities, useImportHarnessEntitiesMutation, } from './hooks/useImportHarnessEntitiesMutation';
|
|
47
52
|
export { layoutIngest, useLayoutIngestMutation } from './hooks/useLayoutIngestMutation';
|
|
@@ -52,6 +57,7 @@ export { saveAllowList, useSaveAllowListMutation } from './hooks/useSaveAllowLis
|
|
|
52
57
|
export { saveAuthInfoAuthId, useSaveAuthInfoAuthIdMutation, } from './hooks/useSaveAuthInfoAuthIdMutation';
|
|
53
58
|
export { saveConnectorInfo, useSaveConnectorInfoMutation, } from './hooks/useSaveConnectorInfoMutation';
|
|
54
59
|
export { saveCustomPluginsInfo, useSaveCustomPluginsInfoMutation, } from './hooks/useSaveCustomPluginsInfoMutation';
|
|
60
|
+
export { saveGroup, useSaveGroupMutation } from './hooks/useSaveGroupMutation';
|
|
55
61
|
export { saveOrUpdatePluginAppConfig, useSaveOrUpdatePluginAppConfigMutation, } from './hooks/useSaveOrUpdatePluginAppConfigMutation';
|
|
56
62
|
export { scorecardRecalibrate, useScorecardRecalibrateMutation, } from './hooks/useScorecardRecalibrateMutation';
|
|
57
63
|
export { togglePluginForAccount, useTogglePluginForAccountMutation, } from './hooks/useTogglePluginForAccountMutation';
|
|
@@ -59,5 +65,6 @@ export { updateBackstagePermissions, useUpdateBackstagePermissionsMutation, } fr
|
|
|
59
65
|
export { updateCheck, useUpdateCheckMutation } from './hooks/useUpdateCheckMutation';
|
|
60
66
|
export { updateConfigurationEntities, useUpdateConfigurationEntitiesMutation, } from './hooks/useUpdateConfigurationEntitiesMutation';
|
|
61
67
|
export { updateCustomPluginsInfo, useUpdateCustomPluginsInfoMutation, } from './hooks/useUpdateCustomPluginsInfoMutation';
|
|
68
|
+
export { updateGroups, useUpdateGroupsMutation } from './hooks/useUpdateGroupsMutation';
|
|
62
69
|
export { updateIntegration, useUpdateIntegrationMutation, } from './hooks/useUpdateIntegrationMutation';
|
|
63
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,12 +1,4 @@
|
|
|
1
|
+
import type { CustomPluginStatus } from '../schemas/CustomPluginStatus';
|
|
1
2
|
export interface CustomPluginStatusResponse {
|
|
2
|
-
plugin_status?:
|
|
3
|
-
account_id?: string;
|
|
4
|
-
error?: string;
|
|
5
|
-
key?: string;
|
|
6
|
-
org_id?: string;
|
|
7
|
-
pipeline_id?: string;
|
|
8
|
-
project_id?: string;
|
|
9
|
-
required?: {};
|
|
10
|
-
status?: 'Failed' | 'Running' | 'Success';
|
|
11
|
-
};
|
|
3
|
+
plugin_status?: CustomPluginStatus;
|
|
12
4
|
}
|
|
@@ -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 {};
|
package/package.json
CHANGED
|
File without changes
|
/package/dist/idp-service/src/services/schemas/{CustomPluginLogsResponse.js → CustomPluginStatus.js}
RENAMED
|
File without changes
|