@harnessio/react-idp-service-client 0.63.0 → 0.65.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/useDeleteGroupMutation.d.ts +6 -1
- package/dist/idp-service/src/services/hooks/useGetAllGroupsForAccountQuery.d.ts +6 -1
- package/dist/idp-service/src/services/hooks/useGetAllGroupsForAccountQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetGroupDetailsQuery.d.ts +6 -1
- package/dist/idp-service/src/services/hooks/useGetGroupDetailsQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetWorkflowsForAccountQuery.d.ts +3 -0
- package/dist/idp-service/src/services/hooks/useSaveGroupMutation.d.ts +6 -1
- package/dist/idp-service/src/services/hooks/useUpdateGroupsMutation.d.ts +6 -1
- package/dist/idp-service/src/services/index.d.ts +5 -9
- package/dist/idp-service/src/services/index.js +0 -1
- package/dist/idp-service/src/services/schemas/Group.d.ts +4 -0
- package/package.json +1 -1
- package/dist/idp-service/src/services/hooks/useGetGroupsYamlQuery.d.ts +0 -16
- package/dist/idp-service/src/services/hooks/useGetGroupsYamlQuery.js +0 -14
- package/dist/idp-service/src/services/responses/GroupsYamlResponseResponse.d.ts +0 -2
- package/dist/idp-service/src/services/responses/GroupsYamlResponseResponse.js +0 -1
- package/dist/idp-service/src/services/schemas/GroupsYamlResponse.d.ts +0 -3
- package/dist/idp-service/src/services/schemas/GroupsYamlResponse.js +0 -4
|
@@ -4,12 +4,17 @@ import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
|
4
4
|
export interface DeleteGroupMutationPathParams {
|
|
5
5
|
'group-identifier': string;
|
|
6
6
|
}
|
|
7
|
+
export interface DeleteGroupMutationQueryParams {
|
|
8
|
+
projectIdentifier?: string;
|
|
9
|
+
orgIdentifier?: string;
|
|
10
|
+
}
|
|
7
11
|
export interface DeleteGroupMutationHeaderParams {
|
|
8
12
|
'Harness-Account'?: string;
|
|
9
13
|
}
|
|
10
14
|
export type DeleteGroupOkResponse = ResponseWithPagination<unknown>;
|
|
11
15
|
export type DeleteGroupErrorResponse = unknown;
|
|
12
|
-
export interface DeleteGroupProps extends DeleteGroupMutationPathParams, Omit<FetcherOptions<
|
|
16
|
+
export interface DeleteGroupProps extends DeleteGroupMutationPathParams, Omit<FetcherOptions<DeleteGroupMutationQueryParams, unknown, DeleteGroupMutationHeaderParams>, 'url'> {
|
|
17
|
+
queryParams: DeleteGroupMutationQueryParams;
|
|
13
18
|
}
|
|
14
19
|
export declare function deleteGroup(props: DeleteGroupProps): Promise<DeleteGroupOkResponse>;
|
|
15
20
|
/**
|
|
@@ -2,12 +2,17 @@ import { UseQueryOptions } from '@tanstack/react-query';
|
|
|
2
2
|
import type { GroupResponseListResponse } from '../responses/GroupResponseListResponse';
|
|
3
3
|
import type { ResponseWithPagination } from '../helpers';
|
|
4
4
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface GetAllGroupsForAccountQueryQueryParams {
|
|
6
|
+
projectIdentifier?: string;
|
|
7
|
+
orgIdentifier?: string;
|
|
8
|
+
}
|
|
5
9
|
export interface GetAllGroupsForAccountQueryHeaderParams {
|
|
6
10
|
'Harness-Account'?: string;
|
|
7
11
|
}
|
|
8
12
|
export type GetAllGroupsForAccountOkResponse = ResponseWithPagination<GroupResponseListResponse>;
|
|
9
13
|
export type GetAllGroupsForAccountErrorResponse = unknown;
|
|
10
|
-
export interface GetAllGroupsForAccountProps extends Omit<FetcherOptions<
|
|
14
|
+
export interface GetAllGroupsForAccountProps extends Omit<FetcherOptions<GetAllGroupsForAccountQueryQueryParams, unknown, GetAllGroupsForAccountQueryHeaderParams>, 'url'> {
|
|
15
|
+
queryParams: GetAllGroupsForAccountQueryQueryParams;
|
|
11
16
|
}
|
|
12
17
|
export declare function getAllGroupsForAccount(props: GetAllGroupsForAccountProps): Promise<GetAllGroupsForAccountOkResponse>;
|
|
13
18
|
/**
|
|
@@ -10,5 +10,5 @@ export function getAllGroupsForAccount(props) {
|
|
|
10
10
|
* Get all groups for account
|
|
11
11
|
*/
|
|
12
12
|
export function useGetAllGroupsForAccountQuery(props, options) {
|
|
13
|
-
return useQuery(['get-all-groups-for-account'], ({ signal }) => getAllGroupsForAccount(Object.assign(Object.assign({}, props), { signal })), options);
|
|
13
|
+
return useQuery(['get-all-groups-for-account', props.queryParams], ({ signal }) => getAllGroupsForAccount(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
14
|
}
|
|
@@ -5,12 +5,17 @@ import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
|
5
5
|
export interface GetGroupDetailsQueryPathParams {
|
|
6
6
|
'group-identifier': string;
|
|
7
7
|
}
|
|
8
|
+
export interface GetGroupDetailsQueryQueryParams {
|
|
9
|
+
projectIdentifier?: string;
|
|
10
|
+
orgIdentifier?: string;
|
|
11
|
+
}
|
|
8
12
|
export interface GetGroupDetailsQueryHeaderParams {
|
|
9
13
|
'Harness-Account'?: string;
|
|
10
14
|
}
|
|
11
15
|
export type GetGroupDetailsOkResponse = ResponseWithPagination<GroupResponseResponse>;
|
|
12
16
|
export type GetGroupDetailsErrorResponse = unknown;
|
|
13
|
-
export interface GetGroupDetailsProps extends GetGroupDetailsQueryPathParams, Omit<FetcherOptions<
|
|
17
|
+
export interface GetGroupDetailsProps extends GetGroupDetailsQueryPathParams, Omit<FetcherOptions<GetGroupDetailsQueryQueryParams, unknown, GetGroupDetailsQueryHeaderParams>, 'url'> {
|
|
18
|
+
queryParams: GetGroupDetailsQueryQueryParams;
|
|
14
19
|
}
|
|
15
20
|
export declare function getGroupDetails(props: GetGroupDetailsProps): Promise<GetGroupDetailsOkResponse>;
|
|
16
21
|
/**
|
|
@@ -10,5 +10,5 @@ export function getGroupDetails(props) {
|
|
|
10
10
|
* Get Group Details
|
|
11
11
|
*/
|
|
12
12
|
export function useGetGroupDetailsQuery(props, options) {
|
|
13
|
-
return useQuery(['get-group-details', props['group-identifier']], ({ signal }) => getGroupDetails(Object.assign(Object.assign({}, props), { signal })), options);
|
|
13
|
+
return useQuery(['get-group-details', props['group-identifier'], props.queryParams], ({ signal }) => getGroupDetails(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
14
|
}
|
|
@@ -5,6 +5,9 @@ import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
|
5
5
|
export interface GetWorkflowsForAccountQueryQueryParams {
|
|
6
6
|
page?: number;
|
|
7
7
|
limit?: number;
|
|
8
|
+
projectIdentifier?: string;
|
|
9
|
+
orgIdentifier?: string;
|
|
10
|
+
search_term?: string;
|
|
8
11
|
}
|
|
9
12
|
export interface GetWorkflowsForAccountQueryHeaderParams {
|
|
10
13
|
'Harness-Account'?: string;
|
|
@@ -3,13 +3,18 @@ import type { GroupResponseResponse } from '../responses/GroupResponseResponse';
|
|
|
3
3
|
import type { GroupRequestRequestBody } from '../requestBodies/GroupRequestRequestBody';
|
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface SaveGroupMutationQueryParams {
|
|
7
|
+
projectIdentifier?: string;
|
|
8
|
+
orgIdentifier?: string;
|
|
9
|
+
}
|
|
6
10
|
export interface SaveGroupMutationHeaderParams {
|
|
7
11
|
'Harness-Account'?: string;
|
|
8
12
|
}
|
|
9
13
|
export type SaveGroupRequestBody = GroupRequestRequestBody;
|
|
10
14
|
export type SaveGroupOkResponse = ResponseWithPagination<GroupResponseResponse>;
|
|
11
15
|
export type SaveGroupErrorResponse = unknown;
|
|
12
|
-
export interface SaveGroupProps extends Omit<FetcherOptions<
|
|
16
|
+
export interface SaveGroupProps extends Omit<FetcherOptions<SaveGroupMutationQueryParams, SaveGroupRequestBody, SaveGroupMutationHeaderParams>, 'url'> {
|
|
17
|
+
queryParams: SaveGroupMutationQueryParams;
|
|
13
18
|
body: SaveGroupRequestBody;
|
|
14
19
|
}
|
|
15
20
|
export declare function saveGroup(props: SaveGroupProps): Promise<SaveGroupOkResponse>;
|
|
@@ -3,13 +3,18 @@ import type { GroupResponseListResponse } from '../responses/GroupResponseListRe
|
|
|
3
3
|
import type { GroupRequestListRequestBody } from '../requestBodies/GroupRequestListRequestBody';
|
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface UpdateGroupsMutationQueryParams {
|
|
7
|
+
projectIdentifier?: string;
|
|
8
|
+
orgIdentifier?: string;
|
|
9
|
+
}
|
|
6
10
|
export interface UpdateGroupsMutationHeaderParams {
|
|
7
11
|
'Harness-Account'?: string;
|
|
8
12
|
}
|
|
9
13
|
export type UpdateGroupsRequestBody = GroupRequestListRequestBody;
|
|
10
14
|
export type UpdateGroupsOkResponse = ResponseWithPagination<GroupResponseListResponse>;
|
|
11
15
|
export type UpdateGroupsErrorResponse = unknown;
|
|
12
|
-
export interface UpdateGroupsProps extends Omit<FetcherOptions<
|
|
16
|
+
export interface UpdateGroupsProps extends Omit<FetcherOptions<UpdateGroupsMutationQueryParams, UpdateGroupsRequestBody, UpdateGroupsMutationHeaderParams>, 'url'> {
|
|
17
|
+
queryParams: UpdateGroupsMutationQueryParams;
|
|
13
18
|
body: UpdateGroupsRequestBody;
|
|
14
19
|
}
|
|
15
20
|
export declare function updateGroups(props: UpdateGroupsProps): Promise<UpdateGroupsOkResponse>;
|
|
@@ -31,7 +31,7 @@ export type { DeleteCustomPluginInfoErrorResponse, DeleteCustomPluginInfoMutatio
|
|
|
31
31
|
export { deleteCustomPluginInfo, useDeleteCustomPluginInfoMutation, } from './hooks/useDeleteCustomPluginInfoMutation';
|
|
32
32
|
export type { DeleteEntityErrorResponse, DeleteEntityMutationPathParams, DeleteEntityMutationQueryParams, DeleteEntityOkResponse, DeleteEntityProps, } from './hooks/useDeleteEntityMutation';
|
|
33
33
|
export { deleteEntity, useDeleteEntityMutation } from './hooks/useDeleteEntityMutation';
|
|
34
|
-
export type { DeleteGroupErrorResponse, DeleteGroupMutationPathParams, DeleteGroupOkResponse, DeleteGroupProps, } from './hooks/useDeleteGroupMutation';
|
|
34
|
+
export type { DeleteGroupErrorResponse, DeleteGroupMutationPathParams, DeleteGroupMutationQueryParams, DeleteGroupOkResponse, DeleteGroupProps, } from './hooks/useDeleteGroupMutation';
|
|
35
35
|
export { deleteGroup, useDeleteGroupMutation } from './hooks/useDeleteGroupMutation';
|
|
36
36
|
export type { DeleteHeadersQuickLinksIconErrorResponse, DeleteHeadersQuickLinksIconMutationPathParams, DeleteHeadersQuickLinksIconOkResponse, DeleteHeadersQuickLinksIconProps, } from './hooks/useDeleteHeadersQuickLinksIconMutation';
|
|
37
37
|
export { deleteHeadersQuickLinksIcon, useDeleteHeadersQuickLinksIconMutation, } from './hooks/useDeleteHeadersQuickLinksIconMutation';
|
|
@@ -45,7 +45,7 @@ export type { GenerateYamlDefErrorResponse, GenerateYamlDefOkResponse, GenerateY
|
|
|
45
45
|
export { generateYamlDef, useGenerateYamlDefMutation } from './hooks/useGenerateYamlDefMutation';
|
|
46
46
|
export type { GetAllDatasourcesForAccountErrorResponse, GetAllDatasourcesForAccountOkResponse, GetAllDatasourcesForAccountProps, } from './hooks/useGetAllDatasourcesForAccountQuery';
|
|
47
47
|
export { getAllDatasourcesForAccount, useGetAllDatasourcesForAccountQuery, } from './hooks/useGetAllDatasourcesForAccountQuery';
|
|
48
|
-
export type { GetAllGroupsForAccountErrorResponse, GetAllGroupsForAccountOkResponse, GetAllGroupsForAccountProps, } from './hooks/useGetAllGroupsForAccountQuery';
|
|
48
|
+
export type { GetAllGroupsForAccountErrorResponse, GetAllGroupsForAccountOkResponse, GetAllGroupsForAccountProps, GetAllGroupsForAccountQueryQueryParams, } from './hooks/useGetAllGroupsForAccountQuery';
|
|
49
49
|
export { getAllGroupsForAccount, useGetAllGroupsForAccountQuery, } from './hooks/useGetAllGroupsForAccountQuery';
|
|
50
50
|
export type { GetAllLayoutsErrorResponse, GetAllLayoutsOkResponse, GetAllLayoutsProps, } from './hooks/useGetAllLayoutsQuery';
|
|
51
51
|
export { getAllLayouts, useGetAllLayoutsQuery } from './hooks/useGetAllLayoutsQuery';
|
|
@@ -89,10 +89,8 @@ export type { GetEntityErrorResponse, GetEntityOkResponse, GetEntityProps, GetEn
|
|
|
89
89
|
export { getEntity, useGetEntityQuery } from './hooks/useGetEntityQuery';
|
|
90
90
|
export type { GetEntityRefsErrorResponse, GetEntityRefsOkResponse, GetEntityRefsProps, GetEntityRefsQueryQueryParams, } from './hooks/useGetEntityRefsQuery';
|
|
91
91
|
export { getEntityRefs, useGetEntityRefsQuery } from './hooks/useGetEntityRefsQuery';
|
|
92
|
-
export type { GetGroupDetailsErrorResponse, GetGroupDetailsOkResponse, GetGroupDetailsProps, GetGroupDetailsQueryPathParams, } from './hooks/useGetGroupDetailsQuery';
|
|
92
|
+
export type { GetGroupDetailsErrorResponse, GetGroupDetailsOkResponse, GetGroupDetailsProps, GetGroupDetailsQueryPathParams, GetGroupDetailsQueryQueryParams, } from './hooks/useGetGroupDetailsQuery';
|
|
93
93
|
export { getGroupDetails, useGetGroupDetailsQuery } from './hooks/useGetGroupDetailsQuery';
|
|
94
|
-
export type { GetGroupsYamlErrorResponse, GetGroupsYamlOkResponse, GetGroupsYamlProps, } from './hooks/useGetGroupsYamlQuery';
|
|
95
|
-
export { getGroupsYaml, useGetGroupsYamlQuery } from './hooks/useGetGroupsYamlQuery';
|
|
96
94
|
export type { GetHarnessEntitiesCountErrorResponse, GetHarnessEntitiesCountOkResponse, GetHarnessEntitiesCountProps, } from './hooks/useGetHarnessEntitiesCountQuery';
|
|
97
95
|
export { getHarnessEntitiesCount, useGetHarnessEntitiesCountQuery, } from './hooks/useGetHarnessEntitiesCountQuery';
|
|
98
96
|
export type { GetHarnessEntitiesErrorResponse, GetHarnessEntitiesOkResponse, GetHarnessEntitiesProps, GetHarnessEntitiesQueryQueryParams, } from './hooks/useGetHarnessEntitiesQuery';
|
|
@@ -149,7 +147,7 @@ export type { SaveConnectorInfoErrorResponse, SaveConnectorInfoOkResponse, SaveC
|
|
|
149
147
|
export { saveConnectorInfo, useSaveConnectorInfoMutation, } from './hooks/useSaveConnectorInfoMutation';
|
|
150
148
|
export type { SaveCustomPluginsInfoErrorResponse, SaveCustomPluginsInfoOkResponse, SaveCustomPluginsInfoProps, SaveCustomPluginsInfoRequestBody, } from './hooks/useSaveCustomPluginsInfoMutation';
|
|
151
149
|
export { saveCustomPluginsInfo, useSaveCustomPluginsInfoMutation, } from './hooks/useSaveCustomPluginsInfoMutation';
|
|
152
|
-
export type { SaveGroupErrorResponse, SaveGroupOkResponse, SaveGroupProps, SaveGroupRequestBody, } from './hooks/useSaveGroupMutation';
|
|
150
|
+
export type { SaveGroupErrorResponse, SaveGroupMutationQueryParams, SaveGroupOkResponse, SaveGroupProps, SaveGroupRequestBody, } from './hooks/useSaveGroupMutation';
|
|
153
151
|
export { saveGroup, useSaveGroupMutation } from './hooks/useSaveGroupMutation';
|
|
154
152
|
export type { SaveHomePageLayoutInfoErrorResponse, SaveHomePageLayoutInfoOkResponse, SaveHomePageLayoutInfoProps, SaveHomePageLayoutInfoRequestBody, } from './hooks/useSaveHomePageLayoutInfoMutation';
|
|
155
153
|
export { saveHomePageLayoutInfo, useSaveHomePageLayoutInfoMutation, } from './hooks/useSaveHomePageLayoutInfoMutation';
|
|
@@ -169,7 +167,7 @@ export type { UpdateCustomPluginsInfoErrorResponse, UpdateCustomPluginsInfoMutat
|
|
|
169
167
|
export { updateCustomPluginsInfo, useUpdateCustomPluginsInfoMutation, } from './hooks/useUpdateCustomPluginsInfoMutation';
|
|
170
168
|
export type { UpdateEntityErrorResponse, UpdateEntityMutationPathParams, UpdateEntityMutationQueryParams, UpdateEntityOkResponse, UpdateEntityProps, UpdateEntityRequestBody, } from './hooks/useUpdateEntityMutation';
|
|
171
169
|
export { updateEntity, useUpdateEntityMutation } from './hooks/useUpdateEntityMutation';
|
|
172
|
-
export type { UpdateGroupsErrorResponse, UpdateGroupsOkResponse, UpdateGroupsProps, UpdateGroupsRequestBody, } from './hooks/useUpdateGroupsMutation';
|
|
170
|
+
export type { UpdateGroupsErrorResponse, UpdateGroupsMutationQueryParams, UpdateGroupsOkResponse, UpdateGroupsProps, UpdateGroupsRequestBody, } from './hooks/useUpdateGroupsMutation';
|
|
173
171
|
export { updateGroups, useUpdateGroupsMutation } from './hooks/useUpdateGroupsMutation';
|
|
174
172
|
export type { UpdateIntegrationErrorResponse, UpdateIntegrationMutationPathParams, UpdateIntegrationMutationQueryParams, UpdateIntegrationOkResponse, UpdateIntegrationProps, UpdateIntegrationRequestBody, } from './hooks/useUpdateIntegrationMutation';
|
|
175
173
|
export { updateIntegration, useUpdateIntegrationMutation, } from './hooks/useUpdateIntegrationMutation';
|
|
@@ -227,7 +225,6 @@ export type { EntityResponseBodyResponse } from './responses/EntityResponseBodyR
|
|
|
227
225
|
export type { GenerateYamlResponseResponse } from './responses/GenerateYamlResponseResponse';
|
|
228
226
|
export type { GroupResponseListResponse } from './responses/GroupResponseListResponse';
|
|
229
227
|
export type { GroupResponseResponse } from './responses/GroupResponseResponse';
|
|
230
|
-
export type { GroupsYamlResponseResponse } from './responses/GroupsYamlResponseResponse';
|
|
231
228
|
export type { HarnessEntitiesCountResponseResponse } from './responses/HarnessEntitiesCountResponseResponse';
|
|
232
229
|
export type { HarnessEntitiesResponseResponse } from './responses/HarnessEntitiesResponseResponse';
|
|
233
230
|
export type { HomePageLayoutResponseResponse } from './responses/HomePageLayoutResponseResponse';
|
|
@@ -320,7 +317,6 @@ export type { GitIntegrationRequest } from './schemas/GitIntegrationRequest';
|
|
|
320
317
|
export type { Group } from './schemas/Group';
|
|
321
318
|
export type { GroupRequest } from './schemas/GroupRequest';
|
|
322
319
|
export type { GroupResponse } from './schemas/GroupResponse';
|
|
323
|
-
export type { GroupsYamlResponse } from './schemas/GroupsYamlResponse';
|
|
324
320
|
export type { HarnessBackstageEntities } from './schemas/HarnessBackstageEntities';
|
|
325
321
|
export type { HarnessEntitiesCountResponse } from './schemas/HarnessEntitiesCountResponse';
|
|
326
322
|
export type { HarnessEntitiesResponse } from './schemas/HarnessEntitiesResponse';
|
|
@@ -44,7 +44,6 @@ export { getEntityFacets, useGetEntityFacetsQuery } from './hooks/useGetEntityFa
|
|
|
44
44
|
export { getEntity, useGetEntityQuery } from './hooks/useGetEntityQuery';
|
|
45
45
|
export { getEntityRefs, useGetEntityRefsQuery } from './hooks/useGetEntityRefsQuery';
|
|
46
46
|
export { getGroupDetails, useGetGroupDetailsQuery } from './hooks/useGetGroupDetailsQuery';
|
|
47
|
-
export { getGroupsYaml, useGetGroupsYamlQuery } from './hooks/useGetGroupsYamlQuery';
|
|
48
47
|
export { getHarnessEntitiesCount, useGetHarnessEntitiesCountQuery, } from './hooks/useGetHarnessEntitiesCountQuery';
|
|
49
48
|
export { getHarnessEntities, useGetHarnessEntitiesQuery } from './hooks/useGetHarnessEntitiesQuery';
|
|
50
49
|
export { getHomePageLayoutInfo, useGetHomePageLayoutInfoQuery, } from './hooks/useGetHomePageLayoutInfoQuery';
|
package/package.json
CHANGED
|
@@ -1,16 +0,0 @@
|
|
|
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>;
|
|
@@ -1,14 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|