@harnessio/react-ng-manager-swagger-service-client 1.10.0 → 1.10.1-beta.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/ng-manager-swagger-service/src/services/hooks/useGetServiceListQuery.d.ts +1 -1
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetUserGroupAggregateQuery.d.ts +26 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetUserGroupAggregateQuery.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/index.d.ts +7 -0
- package/dist/ng-manager-swagger-service/src/services/index.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/NotificationSettingConfigDto.d.ts +3 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/NotificationSettingConfigDto.js +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseListServiceDefinitionType.d.ts +1 -1
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseUserGroupAggregateDto.d.ts +9 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseUserGroupAggregateDto.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/RoleAssignmentMetadataDto.d.ts +10 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/RoleAssignmentMetadataDto.js +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ServiceResponseDto.d.ts +1 -1
- package/dist/ng-manager-swagger-service/src/services/schemas/UserGroupAggregateDto.d.ts +12 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/UserGroupAggregateDto.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/UserGroupDto.d.ts +24 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/UserGroupDto.js +1 -0
- package/package.json +1 -1
|
@@ -21,7 +21,7 @@ export interface GetServiceListQueryQueryParams {
|
|
|
21
21
|
searchTerm?: string;
|
|
22
22
|
serviceIdentifiers?: string[];
|
|
23
23
|
sort?: string[];
|
|
24
|
-
type?: 'AWS_SAM' | 'Asg' | 'AwsLambda' | 'AzureFunction' | 'AzureWebApp' | 'CustomDeployment' | 'ECS' | 'Elastigroup' | 'GoogleCloudFunctions' | 'GoogleCloudRun' | 'GoogleManagedInstanceGroup' | 'Kubernetes' | 'NativeHelm' | 'SERVICE_YAML_V1_TYPE' | 'Salesforce' | 'ServerlessAwsLambda' | 'Ssh' | 'TAS' | 'WinRm';
|
|
24
|
+
type?: 'AWS_SAM' | 'Asg' | 'AwsLambda' | 'AzureContainerApps' | 'AzureFunction' | 'AzureWebApp' | 'CustomDeployment' | 'ECS' | 'Elastigroup' | 'GoogleCloudFunctions' | 'GoogleCloudRun' | 'GoogleManagedInstanceGroup' | 'Kubernetes' | 'NativeHelm' | 'SERVICE_YAML_V1_TYPE' | 'Salesforce' | 'ServerlessAwsLambda' | 'Ssh' | 'TAS' | 'WinRm';
|
|
25
25
|
gitOpsEnabled?: boolean;
|
|
26
26
|
deploymentTemplateIdentifier?: string;
|
|
27
27
|
versionLabel?: string;
|
|
@@ -0,0 +1,26 @@
|
|
|
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>;
|
|
@@ -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 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
|
+
}
|
|
@@ -119,6 +119,8 @@ export type { GetServicesYamlAndRuntimeInputsV2ErrorResponse, GetServicesYamlAnd
|
|
|
119
119
|
export { getServicesYamlAndRuntimeInputsV2, useGetServicesYamlAndRuntimeInputsV2Mutation, } from './hooks/useGetServicesYamlAndRuntimeInputsV2Mutation';
|
|
120
120
|
export type { GetSubscriptionTagsErrorResponse, GetSubscriptionTagsOkResponse, GetSubscriptionTagsProps, GetSubscriptionTagsQueryPathParams, GetSubscriptionTagsQueryQueryParams, } from './hooks/useGetSubscriptionTagsQuery';
|
|
121
121
|
export { getSubscriptionTags, useGetSubscriptionTagsQuery, } from './hooks/useGetSubscriptionTagsQuery';
|
|
122
|
+
export type { GetUserGroupAggregateErrorResponse, GetUserGroupAggregateOkResponse, GetUserGroupAggregateProps, GetUserGroupAggregateQueryPathParams, GetUserGroupAggregateQueryQueryParams, } from './hooks/useGetUserGroupAggregateQuery';
|
|
123
|
+
export { getUserGroupAggregate, useGetUserGroupAggregateQuery, } from './hooks/useGetUserGroupAggregateQuery';
|
|
122
124
|
export type { GetV2BucketListForS3ErrorResponse, GetV2BucketListForS3OkResponse, GetV2BucketListForS3Props, GetV2BucketListForS3QueryQueryParams, } from './hooks/useGetV2BucketListForS3Query';
|
|
123
125
|
export { getV2BucketListForS3, useGetV2BucketListForS3Query, } from './hooks/useGetV2BucketListForS3Query';
|
|
124
126
|
export type { GetVersionsFromPackagesErrorResponse, GetVersionsFromPackagesOkResponse, GetVersionsFromPackagesProps, GetVersionsFromPackagesQueryQueryParams, } from './hooks/useGetVersionsFromPackagesQuery';
|
|
@@ -236,6 +238,7 @@ export type { NexusBuildDetailsDto } from './schemas/NexusBuildDetailsDto';
|
|
|
236
238
|
export type { NexusRepositories } from './schemas/NexusRepositories';
|
|
237
239
|
export type { NexusResponseDto } from './schemas/NexusResponseDto';
|
|
238
240
|
export type { NgVariable } from './schemas/NgVariable';
|
|
241
|
+
export type { NotificationSettingConfigDto } from './schemas/NotificationSettingConfigDto';
|
|
239
242
|
export type { Organization } from './schemas/Organization';
|
|
240
243
|
export type { PageEnvironmentResponse } from './schemas/PageEnvironmentResponse';
|
|
241
244
|
export type { PageProjectAggregateDto } from './schemas/PageProjectAggregateDto';
|
|
@@ -303,6 +306,8 @@ export type { ResponseServiceResponse } from './schemas/ResponseServiceResponse'
|
|
|
303
306
|
export type { ResponseServicesV2YamlMetadataDto } from './schemas/ResponseServicesV2YamlMetadataDto';
|
|
304
307
|
export type { ResponseSetHelmCommandFlagType } from './schemas/ResponseSetHelmCommandFlagType';
|
|
305
308
|
export type { ResponseSetString } from './schemas/ResponseSetString';
|
|
309
|
+
export type { ResponseUserGroupAggregateDto } from './schemas/ResponseUserGroupAggregateDto';
|
|
310
|
+
export type { RoleAssignmentMetadataDto } from './schemas/RoleAssignmentMetadataDto';
|
|
306
311
|
export type { ServiceDashboardResponseDto } from './schemas/ServiceDashboardResponseDto';
|
|
307
312
|
export type { ServiceRequestDto } from './schemas/ServiceRequestDto';
|
|
308
313
|
export type { ServiceResponse } from './schemas/ServiceResponse';
|
|
@@ -313,5 +318,7 @@ export type { ServicesYamlMetadataApiInputV2 } from './schemas/ServicesYamlMetad
|
|
|
313
318
|
export type { StackTraceElement } from './schemas/StackTraceElement';
|
|
314
319
|
export type { TaskSelectorYaml } from './schemas/TaskSelectorYaml';
|
|
315
320
|
export type { Throwable } from './schemas/Throwable';
|
|
321
|
+
export type { UserGroupAggregateDto } from './schemas/UserGroupAggregateDto';
|
|
322
|
+
export type { UserGroupDto } from './schemas/UserGroupDto';
|
|
316
323
|
export type { UserMetadataDto } from './schemas/UserMetadataDto';
|
|
317
324
|
export type { ValidationError } from './schemas/ValidationError';
|
|
@@ -58,6 +58,7 @@ export { getServiceList, useGetServiceListQuery } from './hooks/useGetServiceLis
|
|
|
58
58
|
export { getServicesList, useGetServicesListQuery } from './hooks/useGetServicesListQuery';
|
|
59
59
|
export { getServicesYamlAndRuntimeInputsV2, useGetServicesYamlAndRuntimeInputsV2Mutation, } from './hooks/useGetServicesYamlAndRuntimeInputsV2Mutation';
|
|
60
60
|
export { getSubscriptionTags, useGetSubscriptionTagsQuery, } from './hooks/useGetSubscriptionTagsQuery';
|
|
61
|
+
export { getUserGroupAggregate, useGetUserGroupAggregateQuery, } from './hooks/useGetUserGroupAggregateQuery';
|
|
61
62
|
export { getV2BucketListForS3, useGetV2BucketListForS3Query, } from './hooks/useGetV2BucketListForS3Query';
|
|
62
63
|
export { getVersionsFromPackages, useGetVersionsFromPackagesQuery, } from './hooks/useGetVersionsFromPackagesQuery';
|
|
63
64
|
export { helmCmdFlags, useHelmCmdFlagsQuery } from './hooks/useHelmCmdFlagsQuery';
|
package/dist/ng-manager-swagger-service/src/services/schemas/ResponseListServiceDefinitionType.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export interface ResponseListServiceDefinitionType {
|
|
2
2
|
correlationId?: string;
|
|
3
|
-
data?: Array<'AWS_SAM' | 'Asg' | 'AwsLambda' | 'AzureFunction' | 'AzureWebApp' | 'CustomDeployment' | 'ECS' | 'Elastigroup' | 'GoogleCloudFunctions' | 'GoogleCloudRun' | 'GoogleManagedInstanceGroup' | 'Kubernetes' | 'NativeHelm' | 'SERVICE_YAML_V1_TYPE' | 'Salesforce' | 'ServerlessAwsLambda' | 'Ssh' | 'TAS' | 'WinRm'>;
|
|
3
|
+
data?: Array<'AWS_SAM' | 'Asg' | 'AwsLambda' | 'AzureContainerApps' | 'AzureFunction' | 'AzureWebApp' | 'CustomDeployment' | 'ECS' | 'Elastigroup' | 'GoogleCloudFunctions' | 'GoogleCloudRun' | 'GoogleManagedInstanceGroup' | 'Kubernetes' | 'NativeHelm' | 'SERVICE_YAML_V1_TYPE' | 'Salesforce' | 'ServerlessAwsLambda' | 'Ssh' | 'TAS' | 'WinRm'>;
|
|
4
4
|
metaData?: {
|
|
5
5
|
[key: string]: any;
|
|
6
6
|
};
|
package/dist/ng-manager-swagger-service/src/services/schemas/ResponseUserGroupAggregateDto.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface RoleAssignmentMetadataDto {
|
|
2
|
+
identifier: string;
|
|
3
|
+
managedRole: boolean;
|
|
4
|
+
managedRoleAssignment: boolean;
|
|
5
|
+
resourceGroupIdentifier: string;
|
|
6
|
+
resourceGroupName: string;
|
|
7
|
+
roleIdentifier: string;
|
|
8
|
+
roleName: string;
|
|
9
|
+
roleScopeLevel: string;
|
|
10
|
+
}
|
|
@@ -17,7 +17,7 @@ export interface ServiceResponseDto {
|
|
|
17
17
|
tags?: {
|
|
18
18
|
[key: string]: string;
|
|
19
19
|
};
|
|
20
|
-
type?: 'AWS_SAM' | 'Asg' | 'AwsLambda' | 'AzureFunction' | 'AzureWebApp' | 'CustomDeployment' | 'ECS' | 'Elastigroup' | 'GoogleCloudFunctions' | 'GoogleCloudRun' | 'GoogleManagedInstanceGroup' | 'Kubernetes' | 'NativeHelm' | 'SERVICE_YAML_V1_TYPE' | 'Salesforce' | 'ServerlessAwsLambda' | 'Ssh' | 'TAS' | 'WinRm';
|
|
20
|
+
type?: 'AWS_SAM' | 'Asg' | 'AwsLambda' | 'AzureContainerApps' | 'AzureFunction' | 'AzureWebApp' | 'CustomDeployment' | 'ECS' | 'Elastigroup' | 'GoogleCloudFunctions' | 'GoogleCloudRun' | 'GoogleManagedInstanceGroup' | 'Kubernetes' | 'NativeHelm' | 'SERVICE_YAML_V1_TYPE' | 'Salesforce' | 'ServerlessAwsLambda' | 'Ssh' | 'TAS' | 'WinRm';
|
|
21
21
|
v2Service?: boolean;
|
|
22
22
|
yaml?: string;
|
|
23
23
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { RoleAssignmentMetadataDto } from '../schemas/RoleAssignmentMetadataDto';
|
|
2
|
+
import type { UserGroupDto } from '../schemas/UserGroupDto';
|
|
3
|
+
import type { UserMetadataDto } from '../schemas/UserMetadataDto';
|
|
4
|
+
export interface UserGroupAggregateDto {
|
|
5
|
+
/**
|
|
6
|
+
* @format int64
|
|
7
|
+
*/
|
|
8
|
+
lastModifiedAt?: number;
|
|
9
|
+
roleAssignmentsMetadataDTO?: RoleAssignmentMetadataDto[];
|
|
10
|
+
userGroupDTO: UserGroupDto;
|
|
11
|
+
users?: UserMetadataDto[];
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { NotificationSettingConfigDto } from '../schemas/NotificationSettingConfigDto';
|
|
2
|
+
export interface UserGroupDto {
|
|
3
|
+
accountIdentifier?: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
externallyManaged?: boolean;
|
|
6
|
+
harnessManaged?: boolean;
|
|
7
|
+
identifier: string;
|
|
8
|
+
linkedSsoDisplayName?: string;
|
|
9
|
+
linkedSsoId?: string;
|
|
10
|
+
linkedSsoType?: string;
|
|
11
|
+
name: string;
|
|
12
|
+
notificationConfigs?: NotificationSettingConfigDto[];
|
|
13
|
+
orgIdentifier?: string;
|
|
14
|
+
parentUniqueId?: string;
|
|
15
|
+
projectIdentifier?: string;
|
|
16
|
+
ssoGroupId?: string;
|
|
17
|
+
ssoGroupName?: string;
|
|
18
|
+
ssoLinked?: boolean;
|
|
19
|
+
tags?: {
|
|
20
|
+
[key: string]: string;
|
|
21
|
+
};
|
|
22
|
+
uniqueId?: string;
|
|
23
|
+
users?: string[];
|
|
24
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@harnessio/react-ng-manager-swagger-service-client",
|
|
3
|
-
"version": "1.10.0",
|
|
3
|
+
"version": "1.10.1-beta.0",
|
|
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",
|