@harnessio/react-ng-manager-swagger-service-client 1.10.1-beta.0 → 1.10.1-beta.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/ng-manager-swagger-service/src/services/hooks/useGetFilteredUserGroupAggregateListMutation.d.ts +39 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetFilteredUserGroupAggregateListMutation.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetUserGroupAggregateListQuery.d.ts +43 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetUserGroupAggregateListQuery.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/index.d.ts +8 -3
- package/dist/ng-manager-swagger-service/src/services/index.js +2 -1
- package/dist/ng-manager-swagger-service/src/services/requestBodies/UserGroupFilterDtoRequestBody.d.ts +2 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/PageUserGroupAggregateDto.d.ts +26 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/PageUserGroupAggregateDto.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponsePageUserGroupAggregateDto.d.ts +9 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponsePageUserGroupAggregateDto.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/UserGroupFilterDto.d.ts +10 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/UserGroupFilterDto.js +4 -0
- package/package.json +1 -1
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetUserGroupAggregateQuery.d.ts +0 -26
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetUserGroupAggregateQuery.js +0 -14
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseUserGroupAggregateDto.d.ts +0 -9
- /package/dist/ng-manager-swagger-service/src/services/{schemas/ResponseUserGroupAggregateDto.js → requestBodies/UserGroupFilterDtoRequestBody.js} +0 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponsePageUserGroupAggregateDto } from '../schemas/ResponsePageUserGroupAggregateDto';
|
|
3
|
+
import type { Failure } from '../schemas/Failure';
|
|
4
|
+
import type { Error } from '../schemas/Error';
|
|
5
|
+
import type { UserGroupFilterDtoRequestBody } from '../requestBodies/UserGroupFilterDtoRequestBody';
|
|
6
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
7
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
|
+
export interface GetFilteredUserGroupAggregateListMutationQueryParams {
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
/**
|
|
11
|
+
* @format int32
|
|
12
|
+
* @default 0
|
|
13
|
+
*/
|
|
14
|
+
pageIndex?: number;
|
|
15
|
+
/**
|
|
16
|
+
* @format int32
|
|
17
|
+
* @default 50
|
|
18
|
+
*/
|
|
19
|
+
pageSize?: number;
|
|
20
|
+
sortOrders?: string[];
|
|
21
|
+
pageToken?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @format int32
|
|
24
|
+
* @default 6
|
|
25
|
+
*/
|
|
26
|
+
userSize?: number;
|
|
27
|
+
}
|
|
28
|
+
export type GetFilteredUserGroupAggregateListRequestBody = UserGroupFilterDtoRequestBody;
|
|
29
|
+
export type GetFilteredUserGroupAggregateListOkResponse = ResponseWithPagination<ResponsePageUserGroupAggregateDto>;
|
|
30
|
+
export type GetFilteredUserGroupAggregateListErrorResponse = Failure | Error;
|
|
31
|
+
export interface GetFilteredUserGroupAggregateListProps extends Omit<FetcherOptions<GetFilteredUserGroupAggregateListMutationQueryParams, GetFilteredUserGroupAggregateListRequestBody>, 'url'> {
|
|
32
|
+
queryParams: GetFilteredUserGroupAggregateListMutationQueryParams;
|
|
33
|
+
body: GetFilteredUserGroupAggregateListRequestBody;
|
|
34
|
+
}
|
|
35
|
+
export declare function getFilteredUserGroupAggregateList(props: GetFilteredUserGroupAggregateListProps): Promise<GetFilteredUserGroupAggregateListOkResponse>;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
|
+
export declare function useGetFilteredUserGroupAggregateListMutation(options?: Omit<UseMutationOptions<GetFilteredUserGroupAggregateListOkResponse, GetFilteredUserGroupAggregateListErrorResponse, GetFilteredUserGroupAggregateListProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetFilteredUserGroupAggregateListOkResponse, GetFilteredUserGroupAggregateListErrorResponse, GetFilteredUserGroupAggregateListProps, 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 getFilteredUserGroupAggregateList(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/aggregate/acl/usergroups`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetFilteredUserGroupAggregateListMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => getFilteredUserGroupAggregateList(mutateProps), options);
|
|
14
|
+
}
|
package/dist/ng-manager-swagger-service/src/services/hooks/useGetUserGroupAggregateListQuery.d.ts
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponsePageUserGroupAggregateDto } from '../schemas/ResponsePageUserGroupAggregateDto';
|
|
3
|
+
import type { Failure } from '../schemas/Failure';
|
|
4
|
+
import type { Error } from '../schemas/Error';
|
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
+
export interface GetUserGroupAggregateListQueryQueryParams {
|
|
8
|
+
accountIdentifier: string;
|
|
9
|
+
orgIdentifier?: string;
|
|
10
|
+
projectIdentifier?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @format int32
|
|
13
|
+
* @default 0
|
|
14
|
+
*/
|
|
15
|
+
pageIndex?: number;
|
|
16
|
+
/**
|
|
17
|
+
* @format int32
|
|
18
|
+
* @default 50
|
|
19
|
+
*/
|
|
20
|
+
pageSize?: number;
|
|
21
|
+
sortOrders?: string[];
|
|
22
|
+
pageToken?: string;
|
|
23
|
+
searchTerm?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @default "EXCLUDE_INHERITED_GROUPS"
|
|
26
|
+
*/
|
|
27
|
+
filterType?: 'EXCLUDE_INHERITED_GROUPS' | 'INCLUDE_CHILD_SCOPE_GROUPS' | 'INCLUDE_INHERITED_GROUPS' | 'INCLUDE_PARENT_SCOPE_GROUPS';
|
|
28
|
+
/**
|
|
29
|
+
* @format int32
|
|
30
|
+
* @default 6
|
|
31
|
+
*/
|
|
32
|
+
userSize?: number;
|
|
33
|
+
}
|
|
34
|
+
export type GetUserGroupAggregateListOkResponse = ResponseWithPagination<ResponsePageUserGroupAggregateDto>;
|
|
35
|
+
export type GetUserGroupAggregateListErrorResponse = Failure | Error;
|
|
36
|
+
export interface GetUserGroupAggregateListProps extends Omit<FetcherOptions<GetUserGroupAggregateListQueryQueryParams, unknown>, 'url'> {
|
|
37
|
+
queryParams: GetUserGroupAggregateListQueryQueryParams;
|
|
38
|
+
}
|
|
39
|
+
export declare function getUserGroupAggregateList(props: GetUserGroupAggregateListProps): Promise<GetUserGroupAggregateListOkResponse>;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
*/
|
|
43
|
+
export declare function useGetUserGroupAggregateListQuery(props: GetUserGroupAggregateListProps, options?: Omit<UseQueryOptions<GetUserGroupAggregateListOkResponse, GetUserGroupAggregateListErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetUserGroupAggregateListOkResponse, GetUserGroupAggregateListErrorResponse>;
|
package/dist/ng-manager-swagger-service/src/services/hooks/useGetUserGroupAggregateListQuery.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function getUserGroupAggregateList(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/aggregate/acl/usergroups`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetUserGroupAggregateListQuery(props, options) {
|
|
13
|
+
return useQuery(['getUserGroupAggregateList', props.queryParams], ({ signal }) => getUserGroupAggregateList(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -53,6 +53,8 @@ export type { GetEnvironmentListV2ErrorResponse, GetEnvironmentListV2MutationQue
|
|
|
53
53
|
export { getEnvironmentListV2, useGetEnvironmentListV2Mutation, } from './hooks/useGetEnvironmentListV2Mutation';
|
|
54
54
|
export type { GetFilePathsForS3ErrorResponse, GetFilePathsForS3OkResponse, GetFilePathsForS3Props, GetFilePathsForS3QueryQueryParams, } from './hooks/useGetFilePathsForS3Query';
|
|
55
55
|
export { getFilePathsForS3, useGetFilePathsForS3Query } from './hooks/useGetFilePathsForS3Query';
|
|
56
|
+
export type { GetFilteredUserGroupAggregateListErrorResponse, GetFilteredUserGroupAggregateListMutationQueryParams, GetFilteredUserGroupAggregateListOkResponse, GetFilteredUserGroupAggregateListProps, GetFilteredUserGroupAggregateListRequestBody, } from './hooks/useGetFilteredUserGroupAggregateListMutation';
|
|
57
|
+
export { getFilteredUserGroupAggregateList, useGetFilteredUserGroupAggregateListMutation, } from './hooks/useGetFilteredUserGroupAggregateListMutation';
|
|
56
58
|
export type { GetGcsBucketListErrorResponse, GetGcsBucketListOkResponse, GetGcsBucketListProps, GetGcsBucketListQueryQueryParams, } from './hooks/useGetGcsBucketListQuery';
|
|
57
59
|
export { getGcsBucketList, useGetGcsBucketListQuery } from './hooks/useGetGcsBucketListQuery';
|
|
58
60
|
export type { GetGcsBucketsErrorResponse, GetGcsBucketsMutationQueryParams, GetGcsBucketsOkResponse, GetGcsBucketsProps, GetGcsBucketsRequestBody, } from './hooks/useGetGcsBucketsMutation';
|
|
@@ -119,8 +121,8 @@ export type { GetServicesYamlAndRuntimeInputsV2ErrorResponse, GetServicesYamlAnd
|
|
|
119
121
|
export { getServicesYamlAndRuntimeInputsV2, useGetServicesYamlAndRuntimeInputsV2Mutation, } from './hooks/useGetServicesYamlAndRuntimeInputsV2Mutation';
|
|
120
122
|
export type { GetSubscriptionTagsErrorResponse, GetSubscriptionTagsOkResponse, GetSubscriptionTagsProps, GetSubscriptionTagsQueryPathParams, GetSubscriptionTagsQueryQueryParams, } from './hooks/useGetSubscriptionTagsQuery';
|
|
121
123
|
export { getSubscriptionTags, useGetSubscriptionTagsQuery, } from './hooks/useGetSubscriptionTagsQuery';
|
|
122
|
-
export type {
|
|
123
|
-
export {
|
|
124
|
+
export type { GetUserGroupAggregateListErrorResponse, GetUserGroupAggregateListOkResponse, GetUserGroupAggregateListProps, GetUserGroupAggregateListQueryQueryParams, } from './hooks/useGetUserGroupAggregateListQuery';
|
|
125
|
+
export { getUserGroupAggregateList, useGetUserGroupAggregateListQuery, } from './hooks/useGetUserGroupAggregateListQuery';
|
|
124
126
|
export type { GetV2BucketListForS3ErrorResponse, GetV2BucketListForS3OkResponse, GetV2BucketListForS3Props, GetV2BucketListForS3QueryQueryParams, } from './hooks/useGetV2BucketListForS3Query';
|
|
125
127
|
export { getV2BucketListForS3, useGetV2BucketListForS3Query, } from './hooks/useGetV2BucketListForS3Query';
|
|
126
128
|
export type { GetVersionsFromPackagesErrorResponse, GetVersionsFromPackagesOkResponse, GetVersionsFromPackagesProps, GetVersionsFromPackagesQueryQueryParams, } from './hooks/useGetVersionsFromPackagesQuery';
|
|
@@ -151,6 +153,7 @@ export type { EnvironmentFilterPropertiesRequestBody } from './requestBodies/Env
|
|
|
151
153
|
export type { GetFileContentUsingScopedFilePathV2BodyRequestBody } from './requestBodies/GetFileContentUsingScopedFilePathV2BodyRequestBody';
|
|
152
154
|
export type { ListTagsForAmiArtifactBodyRequestBody } from './requestBodies/ListTagsForAmiArtifactBodyRequestBody';
|
|
153
155
|
export type { ServiceRequestDtoRequestBody } from './requestBodies/ServiceRequestDtoRequestBody';
|
|
156
|
+
export type { UserGroupFilterDtoRequestBody } from './requestBodies/UserGroupFilterDtoRequestBody';
|
|
154
157
|
export type { AcrBuildDetailsDto } from './schemas/AcrBuildDetailsDto';
|
|
155
158
|
export type { AcrRegistriesDto } from './schemas/AcrRegistriesDto';
|
|
156
159
|
export type { AcrRegistryDto } from './schemas/AcrRegistryDto';
|
|
@@ -244,6 +247,7 @@ export type { PageEnvironmentResponse } from './schemas/PageEnvironmentResponse'
|
|
|
244
247
|
export type { PageProjectAggregateDto } from './schemas/PageProjectAggregateDto';
|
|
245
248
|
export type { PageServiceDashboardResponseDto } from './schemas/PageServiceDashboardResponseDto';
|
|
246
249
|
export type { PageServiceResponse } from './schemas/PageServiceResponse';
|
|
250
|
+
export type { PageUserGroupAggregateDto } from './schemas/PageUserGroupAggregateDto';
|
|
247
251
|
export type { Project } from './schemas/Project';
|
|
248
252
|
export type { ProjectAggregateDto } from './schemas/ProjectAggregateDto';
|
|
249
253
|
export type { ProjectResponse } from './schemas/ProjectResponse';
|
|
@@ -302,11 +306,11 @@ export type { ResponsePageEnvironmentResponse } from './schemas/ResponsePageEnvi
|
|
|
302
306
|
export type { ResponsePageProjectAggregateDto } from './schemas/ResponsePageProjectAggregateDto';
|
|
303
307
|
export type { ResponsePageServiceDashboardResponseDto } from './schemas/ResponsePageServiceDashboardResponseDto';
|
|
304
308
|
export type { ResponsePageServiceResponse } from './schemas/ResponsePageServiceResponse';
|
|
309
|
+
export type { ResponsePageUserGroupAggregateDto } from './schemas/ResponsePageUserGroupAggregateDto';
|
|
305
310
|
export type { ResponseServiceResponse } from './schemas/ResponseServiceResponse';
|
|
306
311
|
export type { ResponseServicesV2YamlMetadataDto } from './schemas/ResponseServicesV2YamlMetadataDto';
|
|
307
312
|
export type { ResponseSetHelmCommandFlagType } from './schemas/ResponseSetHelmCommandFlagType';
|
|
308
313
|
export type { ResponseSetString } from './schemas/ResponseSetString';
|
|
309
|
-
export type { ResponseUserGroupAggregateDto } from './schemas/ResponseUserGroupAggregateDto';
|
|
310
314
|
export type { RoleAssignmentMetadataDto } from './schemas/RoleAssignmentMetadataDto';
|
|
311
315
|
export type { ServiceDashboardResponseDto } from './schemas/ServiceDashboardResponseDto';
|
|
312
316
|
export type { ServiceRequestDto } from './schemas/ServiceRequestDto';
|
|
@@ -320,5 +324,6 @@ export type { TaskSelectorYaml } from './schemas/TaskSelectorYaml';
|
|
|
320
324
|
export type { Throwable } from './schemas/Throwable';
|
|
321
325
|
export type { UserGroupAggregateDto } from './schemas/UserGroupAggregateDto';
|
|
322
326
|
export type { UserGroupDto } from './schemas/UserGroupDto';
|
|
327
|
+
export type { UserGroupFilterDto } from './schemas/UserGroupFilterDto';
|
|
323
328
|
export type { UserMetadataDto } from './schemas/UserMetadataDto';
|
|
324
329
|
export type { ValidationError } from './schemas/ValidationError';
|
|
@@ -25,6 +25,7 @@ export { getClusterNamesForGcp, useGetClusterNamesForGcpQuery, } from './hooks/u
|
|
|
25
25
|
export { getEksClusterNames, useGetEksClusterNamesQuery } from './hooks/useGetEksClusterNamesQuery';
|
|
26
26
|
export { getEnvironmentListV2, useGetEnvironmentListV2Mutation, } from './hooks/useGetEnvironmentListV2Mutation';
|
|
27
27
|
export { getFilePathsForS3, useGetFilePathsForS3Query } from './hooks/useGetFilePathsForS3Query';
|
|
28
|
+
export { getFilteredUserGroupAggregateList, useGetFilteredUserGroupAggregateListMutation, } from './hooks/useGetFilteredUserGroupAggregateListMutation';
|
|
28
29
|
export { getGcsBucketList, useGetGcsBucketListQuery } from './hooks/useGetGcsBucketListQuery';
|
|
29
30
|
export { getGcsBuckets, useGetGcsBucketsMutation } from './hooks/useGetGcsBucketsMutation';
|
|
30
31
|
export { getGroupIds, useGetGroupIdsMutation } from './hooks/useGetGroupIdsMutation';
|
|
@@ -58,7 +59,7 @@ export { getServiceList, useGetServiceListQuery } from './hooks/useGetServiceLis
|
|
|
58
59
|
export { getServicesList, useGetServicesListQuery } from './hooks/useGetServicesListQuery';
|
|
59
60
|
export { getServicesYamlAndRuntimeInputsV2, useGetServicesYamlAndRuntimeInputsV2Mutation, } from './hooks/useGetServicesYamlAndRuntimeInputsV2Mutation';
|
|
60
61
|
export { getSubscriptionTags, useGetSubscriptionTagsQuery, } from './hooks/useGetSubscriptionTagsQuery';
|
|
61
|
-
export {
|
|
62
|
+
export { getUserGroupAggregateList, useGetUserGroupAggregateListQuery, } from './hooks/useGetUserGroupAggregateListQuery';
|
|
62
63
|
export { getV2BucketListForS3, useGetV2BucketListForS3Query, } from './hooks/useGetV2BucketListForS3Query';
|
|
63
64
|
export { getVersionsFromPackages, useGetVersionsFromPackagesQuery, } from './hooks/useGetVersionsFromPackagesQuery';
|
|
64
65
|
export { helmCmdFlags, useHelmCmdFlagsQuery } from './hooks/useHelmCmdFlagsQuery';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { UserGroupAggregateDto } from '../schemas/UserGroupAggregateDto';
|
|
2
|
+
export interface PageUserGroupAggregateDto {
|
|
3
|
+
content?: UserGroupAggregateDto[];
|
|
4
|
+
empty?: boolean;
|
|
5
|
+
/**
|
|
6
|
+
* @format int64
|
|
7
|
+
*/
|
|
8
|
+
pageIndex?: number;
|
|
9
|
+
/**
|
|
10
|
+
* @format int64
|
|
11
|
+
*/
|
|
12
|
+
pageItemCount?: number;
|
|
13
|
+
/**
|
|
14
|
+
* @format int64
|
|
15
|
+
*/
|
|
16
|
+
pageSize?: number;
|
|
17
|
+
pageToken?: string;
|
|
18
|
+
/**
|
|
19
|
+
* @format int64
|
|
20
|
+
*/
|
|
21
|
+
totalItems?: number;
|
|
22
|
+
/**
|
|
23
|
+
* @format int64
|
|
24
|
+
*/
|
|
25
|
+
totalPages?: number;
|
|
26
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/ng-manager-swagger-service/src/services/schemas/ResponsePageUserGroupAggregateDto.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { PageUserGroupAggregateDto } from '../schemas/PageUserGroupAggregateDto';
|
|
2
|
+
export interface ResponsePageUserGroupAggregateDto {
|
|
3
|
+
correlationId?: string;
|
|
4
|
+
data?: PageUserGroupAggregateDto;
|
|
5
|
+
metaData?: {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
};
|
|
8
|
+
status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
|
|
9
|
+
}
|
package/dist/ng-manager-swagger-service/src/services/schemas/ResponsePageUserGroupAggregateDto.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface UserGroupFilterDto {
|
|
2
|
+
accountIdentifier?: string;
|
|
3
|
+
databaseIdFilter?: string[];
|
|
4
|
+
filterType?: 'EXCLUDE_INHERITED_GROUPS' | 'INCLUDE_CHILD_SCOPE_GROUPS' | 'INCLUDE_INHERITED_GROUPS' | 'INCLUDE_PARENT_SCOPE_GROUPS';
|
|
5
|
+
identifierFilter?: string[];
|
|
6
|
+
orgIdentifier?: string;
|
|
7
|
+
projectIdentifier?: string;
|
|
8
|
+
searchTerm?: string;
|
|
9
|
+
userIdentifierFilter?: string[];
|
|
10
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@harnessio/react-ng-manager-swagger-service-client",
|
|
3
|
-
"version": "1.10.1-beta.
|
|
3
|
+
"version": "1.10.1-beta.1",
|
|
4
4
|
"description": "Harness React NG Manager Swagger service client - NG Manager APIs integrated with react hooks",
|
|
5
5
|
"author": "Harness Inc",
|
|
6
6
|
"license": "MIT",
|
package/dist/ng-manager-swagger-service/src/services/hooks/useGetUserGroupAggregateQuery.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
-
import type { ResponseUserGroupAggregateDto } from '../schemas/ResponseUserGroupAggregateDto';
|
|
3
|
-
import type { Failure } from '../schemas/Failure';
|
|
4
|
-
import type { Error } from '../schemas/Error';
|
|
5
|
-
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
-
export interface GetUserGroupAggregateQueryPathParams {
|
|
8
|
-
identifier: string;
|
|
9
|
-
}
|
|
10
|
-
export interface GetUserGroupAggregateQueryQueryParams {
|
|
11
|
-
accountIdentifier: string;
|
|
12
|
-
orgIdentifier?: string;
|
|
13
|
-
projectIdentifier?: string;
|
|
14
|
-
roleAssignmentScopeOrgIdentifier?: string;
|
|
15
|
-
roleAssignmentScopeProjectIdentifier?: string;
|
|
16
|
-
}
|
|
17
|
-
export type GetUserGroupAggregateOkResponse = ResponseWithPagination<ResponseUserGroupAggregateDto>;
|
|
18
|
-
export type GetUserGroupAggregateErrorResponse = Failure | Error;
|
|
19
|
-
export interface GetUserGroupAggregateProps extends GetUserGroupAggregateQueryPathParams, Omit<FetcherOptions<GetUserGroupAggregateQueryQueryParams, unknown>, 'url'> {
|
|
20
|
-
queryParams: GetUserGroupAggregateQueryQueryParams;
|
|
21
|
-
}
|
|
22
|
-
export declare function getUserGroupAggregate(props: GetUserGroupAggregateProps): Promise<GetUserGroupAggregateOkResponse>;
|
|
23
|
-
/**
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
|
-
export declare function useGetUserGroupAggregateQuery(props: GetUserGroupAggregateProps, options?: Omit<UseQueryOptions<GetUserGroupAggregateOkResponse, GetUserGroupAggregateErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetUserGroupAggregateOkResponse, GetUserGroupAggregateErrorResponse>;
|
|
@@ -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 getUserGroupAggregate(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/aggregate/acl/usergroups/${props.identifier}`, method: 'GET' }, props));
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
*
|
|
11
|
-
*/
|
|
12
|
-
export function useGetUserGroupAggregateQuery(props, options) {
|
|
13
|
-
return useQuery(['getUserGroupAggregate', props.identifier, props.queryParams], ({ signal }) => getUserGroupAggregate(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
-
}
|
package/dist/ng-manager-swagger-service/src/services/schemas/ResponseUserGroupAggregateDto.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { UserGroupAggregateDto } from '../schemas/UserGroupAggregateDto';
|
|
2
|
-
export interface ResponseUserGroupAggregateDto {
|
|
3
|
-
correlationId?: string;
|
|
4
|
-
data?: UserGroupAggregateDto;
|
|
5
|
-
metaData?: {
|
|
6
|
-
[key: string]: any;
|
|
7
|
-
};
|
|
8
|
-
status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
|
|
9
|
-
}
|