@harnessio/react-ng-manager-swagger-service-client 1.10.1-beta.0 → 1.11.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/useAddMemberMutation.d.ts +26 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useAddMemberMutation.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useCheckMemberQuery.d.ts +26 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useCheckMemberQuery.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetOrganizationListQuery.d.ts +33 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetOrganizationListQuery.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetProjectListQuery.d.ts +40 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetProjectListQuery.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetUserGroupAggregateListByUserMutation.d.ts +45 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetUserGroupAggregateListByUserMutation.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/usePostOrganizationMutation.d.ts +22 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/usePostOrganizationMutation.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/usePostProjectMutation.d.ts +26 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/usePostProjectMutation.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useRemoveMemberMutation.d.ts +26 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useRemoveMemberMutation.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/index.d.ts +35 -3
- package/dist/ng-manager-swagger-service/src/services/index.js +8 -1
- package/dist/ng-manager-swagger-service/src/services/requestBodies/OrganizationRequestRequestBody.d.ts +2 -0
- package/dist/ng-manager-swagger-service/src/services/requestBodies/ProjectRequestRequestBody.d.ts +2 -0
- package/dist/ng-manager-swagger-service/src/services/requestBodies/ProjectRequestRequestBody.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/AccessControlCheckError.d.ts +13 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/AccessControlCheckError.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/OrganizationRequest.d.ts +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/OrganizationRequest.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/OrganizationResponse.d.ts +13 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/OrganizationResponse.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/PageOrganizationResponse.d.ts +26 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/PageOrganizationResponse.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/PageProjectResponse.d.ts +26 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/PageProjectResponse.js +1 -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/PermissionCheck.d.ts +10 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/PermissionCheck.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ProjectRequest.d.ts +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ProjectRequest.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResourceScope.d.ts +5 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResourceScope.js +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseOrganizationResponse.d.ts +9 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseOrganizationResponse.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponsePageOrganizationResponse.d.ts +9 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponsePageOrganizationResponse.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponsePageProjectResponse.d.ts +9 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponsePageProjectResponse.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/ResponseProjectResponse.d.ts +9 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseProjectResponse.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseUserGroupDto.d.ts +9 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseUserGroupDto.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ScopeSelector.d.ts +6 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ScopeSelector.js +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/UserGroupAggregateFilter.d.ts +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/UserGroupAggregateFilter.js +1 -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/OrganizationRequestRequestBody.js} +0 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseUserGroupDto } from '../schemas/ResponseUserGroupDto';
|
|
3
|
+
import type { Failure } from '../schemas/Failure';
|
|
4
|
+
import type { AccessControlCheckError } from '../schemas/AccessControlCheckError';
|
|
5
|
+
import type { Error } from '../schemas/Error';
|
|
6
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
7
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
|
+
export interface AddMemberMutationPathParams {
|
|
9
|
+
identifier: string;
|
|
10
|
+
userIdentifier: string;
|
|
11
|
+
}
|
|
12
|
+
export interface AddMemberMutationQueryParams {
|
|
13
|
+
accountIdentifier: string;
|
|
14
|
+
orgIdentifier?: string;
|
|
15
|
+
projectIdentifier?: string;
|
|
16
|
+
}
|
|
17
|
+
export type AddMemberOkResponse = ResponseWithPagination<ResponseUserGroupDto>;
|
|
18
|
+
export type AddMemberErrorResponse = Failure | AccessControlCheckError | Error;
|
|
19
|
+
export interface AddMemberProps extends AddMemberMutationPathParams, Omit<FetcherOptions<AddMemberMutationQueryParams, unknown>, 'url'> {
|
|
20
|
+
queryParams: AddMemberMutationQueryParams;
|
|
21
|
+
}
|
|
22
|
+
export declare function addMember(props: AddMemberProps): Promise<AddMemberOkResponse>;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare function useAddMemberMutation(options?: Omit<UseMutationOptions<AddMemberOkResponse, AddMemberErrorResponse, AddMemberProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<AddMemberOkResponse, AddMemberErrorResponse, AddMemberProps, 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 addMember(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/user-groups/${props.identifier}/member/${props.userIdentifier}`, method: 'PUT' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useAddMemberMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => addMember(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseBoolean } from '../schemas/ResponseBoolean';
|
|
3
|
+
import type { Failure } from '../schemas/Failure';
|
|
4
|
+
import type { AccessControlCheckError } from '../schemas/AccessControlCheckError';
|
|
5
|
+
import type { Error } from '../schemas/Error';
|
|
6
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
7
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
|
+
export interface CheckMemberQueryPathParams {
|
|
9
|
+
identifier: string;
|
|
10
|
+
userIdentifier: string;
|
|
11
|
+
}
|
|
12
|
+
export interface CheckMemberQueryQueryParams {
|
|
13
|
+
accountIdentifier: string;
|
|
14
|
+
orgIdentifier?: string;
|
|
15
|
+
projectIdentifier?: string;
|
|
16
|
+
}
|
|
17
|
+
export type CheckMemberOkResponse = ResponseWithPagination<ResponseBoolean>;
|
|
18
|
+
export type CheckMemberErrorResponse = Failure | AccessControlCheckError | Error;
|
|
19
|
+
export interface CheckMemberProps extends CheckMemberQueryPathParams, Omit<FetcherOptions<CheckMemberQueryQueryParams, unknown>, 'url'> {
|
|
20
|
+
queryParams: CheckMemberQueryQueryParams;
|
|
21
|
+
}
|
|
22
|
+
export declare function checkMember(props: CheckMemberProps): Promise<CheckMemberOkResponse>;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare function useCheckMemberQuery(props: CheckMemberProps, options?: Omit<UseQueryOptions<CheckMemberOkResponse, CheckMemberErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<CheckMemberOkResponse, CheckMemberErrorResponse>;
|
|
@@ -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 checkMember(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/user-groups/${props.identifier}/member/${props.userIdentifier}`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useCheckMemberQuery(props, options) {
|
|
13
|
+
return useQuery(['checkMember', props.identifier, props.userIdentifier, props.queryParams], ({ signal }) => checkMember(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponsePageOrganizationResponse } from '../schemas/ResponsePageOrganizationResponse';
|
|
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 GetOrganizationListQueryQueryParams {
|
|
8
|
+
accountIdentifier: string;
|
|
9
|
+
identifiers?: string[];
|
|
10
|
+
searchTerm?: 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
|
+
}
|
|
24
|
+
export type GetOrganizationListOkResponse = ResponseWithPagination<ResponsePageOrganizationResponse>;
|
|
25
|
+
export type GetOrganizationListErrorResponse = Failure | Error;
|
|
26
|
+
export interface GetOrganizationListProps extends Omit<FetcherOptions<GetOrganizationListQueryQueryParams, unknown>, 'url'> {
|
|
27
|
+
queryParams: GetOrganizationListQueryQueryParams;
|
|
28
|
+
}
|
|
29
|
+
export declare function getOrganizationList(props: GetOrganizationListProps): Promise<GetOrganizationListOkResponse>;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
export declare function useGetOrganizationListQuery(props: GetOrganizationListProps, options?: Omit<UseQueryOptions<GetOrganizationListOkResponse, GetOrganizationListErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetOrganizationListOkResponse, GetOrganizationListErrorResponse>;
|
|
@@ -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 getOrganizationList(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/organizations`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetOrganizationListQuery(props, options) {
|
|
13
|
+
return useQuery(['getOrganizationList', props.queryParams], ({ signal }) => getOrganizationList(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponsePageProjectResponse } from '../schemas/ResponsePageProjectResponse';
|
|
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 GetProjectListQueryQueryParams {
|
|
8
|
+
accountIdentifier: string;
|
|
9
|
+
orgIdentifier?: string;
|
|
10
|
+
/**
|
|
11
|
+
* @default true
|
|
12
|
+
*/
|
|
13
|
+
hasModule?: boolean;
|
|
14
|
+
identifiers?: string[];
|
|
15
|
+
moduleType?: 'AARP' | 'AASP' | 'AAST' | 'AISRE' | 'AI_AGENT_MLOPS' | 'AI_TEST_AUTOMATION' | 'CD' | 'CE' | 'CET' | 'CF' | 'CHAOS' | 'CI' | 'CODE' | 'CORE' | 'CV' | 'DBOPS' | 'DevopsEssentials' | 'FME' | 'GOVERNANCE' | 'HAR' | 'IACM' | 'IDP' | 'PLATFORM' | 'PMS' | 'RMG' | 'SEI' | 'SRM' | 'SSCA' | 'STO' | 'TEMPLATESERVICE';
|
|
16
|
+
searchTerm?: string;
|
|
17
|
+
onlyFavorites?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* @format int32
|
|
20
|
+
* @default 0
|
|
21
|
+
*/
|
|
22
|
+
pageIndex?: number;
|
|
23
|
+
/**
|
|
24
|
+
* @format int32
|
|
25
|
+
* @default 50
|
|
26
|
+
*/
|
|
27
|
+
pageSize?: number;
|
|
28
|
+
sortOrders?: string[];
|
|
29
|
+
pageToken?: string;
|
|
30
|
+
}
|
|
31
|
+
export type GetProjectListOkResponse = ResponseWithPagination<ResponsePageProjectResponse>;
|
|
32
|
+
export type GetProjectListErrorResponse = Failure | Error;
|
|
33
|
+
export interface GetProjectListProps extends Omit<FetcherOptions<GetProjectListQueryQueryParams, unknown>, 'url'> {
|
|
34
|
+
queryParams: GetProjectListQueryQueryParams;
|
|
35
|
+
}
|
|
36
|
+
export declare function getProjectList(props: GetProjectListProps): Promise<GetProjectListOkResponse>;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
*/
|
|
40
|
+
export declare function useGetProjectListQuery(props: GetProjectListProps, options?: Omit<UseQueryOptions<GetProjectListOkResponse, GetProjectListErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetProjectListOkResponse, GetProjectListErrorResponse>;
|
|
@@ -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 getProjectList(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/projects`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetProjectListQuery(props, options) {
|
|
13
|
+
return useQuery(['getProjectList', props.queryParams], ({ signal }) => getProjectList(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 { UserGroupAggregateFilter } from '../schemas/UserGroupAggregateFilter';
|
|
6
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
7
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
|
+
export interface GetUserGroupAggregateListByUserMutationPathParams {
|
|
9
|
+
userId: string;
|
|
10
|
+
}
|
|
11
|
+
export interface GetUserGroupAggregateListByUserMutationQueryParams {
|
|
12
|
+
accountIdentifier: string;
|
|
13
|
+
orgIdentifier?: string;
|
|
14
|
+
projectIdentifier?: string;
|
|
15
|
+
/**
|
|
16
|
+
* @format int32
|
|
17
|
+
* @default 0
|
|
18
|
+
*/
|
|
19
|
+
pageIndex?: number;
|
|
20
|
+
/**
|
|
21
|
+
* @format int32
|
|
22
|
+
* @default 50
|
|
23
|
+
*/
|
|
24
|
+
pageSize?: number;
|
|
25
|
+
sortOrders?: string[];
|
|
26
|
+
pageToken?: string;
|
|
27
|
+
searchTerm?: string;
|
|
28
|
+
/**
|
|
29
|
+
* @format int32
|
|
30
|
+
* @default 6
|
|
31
|
+
*/
|
|
32
|
+
userSize?: number;
|
|
33
|
+
}
|
|
34
|
+
export type GetUserGroupAggregateListByUserRequestBody = UserGroupAggregateFilter;
|
|
35
|
+
export type GetUserGroupAggregateListByUserOkResponse = ResponseWithPagination<ResponsePageUserGroupAggregateDto>;
|
|
36
|
+
export type GetUserGroupAggregateListByUserErrorResponse = Failure | Error;
|
|
37
|
+
export interface GetUserGroupAggregateListByUserProps extends GetUserGroupAggregateListByUserMutationPathParams, Omit<FetcherOptions<GetUserGroupAggregateListByUserMutationQueryParams, GetUserGroupAggregateListByUserRequestBody>, 'url'> {
|
|
38
|
+
queryParams: GetUserGroupAggregateListByUserMutationQueryParams;
|
|
39
|
+
body: GetUserGroupAggregateListByUserRequestBody;
|
|
40
|
+
}
|
|
41
|
+
export declare function getUserGroupAggregateListByUser(props: GetUserGroupAggregateListByUserProps): Promise<GetUserGroupAggregateListByUserOkResponse>;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
*/
|
|
45
|
+
export declare function useGetUserGroupAggregateListByUserMutation(options?: Omit<UseMutationOptions<GetUserGroupAggregateListByUserOkResponse, GetUserGroupAggregateListByUserErrorResponse, GetUserGroupAggregateListByUserProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetUserGroupAggregateListByUserOkResponse, GetUserGroupAggregateListByUserErrorResponse, GetUserGroupAggregateListByUserProps, 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 getUserGroupAggregateListByUser(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/aggregate/acl/user/${props.userId}/usergroups`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetUserGroupAggregateListByUserMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => getUserGroupAggregateListByUser(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseOrganizationResponse } from '../schemas/ResponseOrganizationResponse';
|
|
3
|
+
import type { Failure } from '../schemas/Failure';
|
|
4
|
+
import type { Error } from '../schemas/Error';
|
|
5
|
+
import type { OrganizationRequestRequestBody } from '../requestBodies/OrganizationRequestRequestBody';
|
|
6
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
7
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
|
+
export interface PostOrganizationMutationQueryParams {
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
}
|
|
11
|
+
export type PostOrganizationRequestBody = OrganizationRequestRequestBody;
|
|
12
|
+
export type PostOrganizationOkResponse = ResponseWithPagination<ResponseOrganizationResponse>;
|
|
13
|
+
export type PostOrganizationErrorResponse = Failure | Error;
|
|
14
|
+
export interface PostOrganizationProps extends Omit<FetcherOptions<PostOrganizationMutationQueryParams, PostOrganizationRequestBody>, 'url'> {
|
|
15
|
+
queryParams: PostOrganizationMutationQueryParams;
|
|
16
|
+
body: PostOrganizationRequestBody;
|
|
17
|
+
}
|
|
18
|
+
export declare function postOrganization(props: PostOrganizationProps): Promise<PostOrganizationOkResponse>;
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
export declare function usePostOrganizationMutation(options?: Omit<UseMutationOptions<PostOrganizationOkResponse, PostOrganizationErrorResponse, PostOrganizationProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<PostOrganizationOkResponse, PostOrganizationErrorResponse, PostOrganizationProps, 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 postOrganization(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/organizations`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function usePostOrganizationMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => postOrganization(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseProjectResponse } from '../schemas/ResponseProjectResponse';
|
|
3
|
+
import type { Failure } from '../schemas/Failure';
|
|
4
|
+
import type { Error } from '../schemas/Error';
|
|
5
|
+
import type { ProjectRequestRequestBody } from '../requestBodies/ProjectRequestRequestBody';
|
|
6
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
7
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
|
+
export interface PostProjectMutationQueryParams {
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
/**
|
|
11
|
+
* @default "default"
|
|
12
|
+
*/
|
|
13
|
+
orgIdentifier?: string;
|
|
14
|
+
}
|
|
15
|
+
export type PostProjectRequestBody = ProjectRequestRequestBody;
|
|
16
|
+
export type PostProjectOkResponse = ResponseWithPagination<ResponseProjectResponse>;
|
|
17
|
+
export type PostProjectErrorResponse = Failure | Error;
|
|
18
|
+
export interface PostProjectProps extends Omit<FetcherOptions<PostProjectMutationQueryParams, PostProjectRequestBody>, 'url'> {
|
|
19
|
+
queryParams: PostProjectMutationQueryParams;
|
|
20
|
+
body: PostProjectRequestBody;
|
|
21
|
+
}
|
|
22
|
+
export declare function postProject(props: PostProjectProps): Promise<PostProjectOkResponse>;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare function usePostProjectMutation(options?: Omit<UseMutationOptions<PostProjectOkResponse, PostProjectErrorResponse, PostProjectProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<PostProjectOkResponse, PostProjectErrorResponse, PostProjectProps, 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 postProject(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/projects`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function usePostProjectMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => postProject(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseUserGroupDto } from '../schemas/ResponseUserGroupDto';
|
|
3
|
+
import type { Failure } from '../schemas/Failure';
|
|
4
|
+
import type { AccessControlCheckError } from '../schemas/AccessControlCheckError';
|
|
5
|
+
import type { Error } from '../schemas/Error';
|
|
6
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
7
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
|
+
export interface RemoveMemberMutationPathParams {
|
|
9
|
+
identifier: string;
|
|
10
|
+
userIdentifier: string;
|
|
11
|
+
}
|
|
12
|
+
export interface RemoveMemberMutationQueryParams {
|
|
13
|
+
accountIdentifier: string;
|
|
14
|
+
orgIdentifier?: string;
|
|
15
|
+
projectIdentifier?: string;
|
|
16
|
+
}
|
|
17
|
+
export type RemoveMemberOkResponse = ResponseWithPagination<ResponseUserGroupDto>;
|
|
18
|
+
export type RemoveMemberErrorResponse = Failure | AccessControlCheckError | Error;
|
|
19
|
+
export interface RemoveMemberProps extends RemoveMemberMutationPathParams, Omit<FetcherOptions<RemoveMemberMutationQueryParams, unknown>, 'url'> {
|
|
20
|
+
queryParams: RemoveMemberMutationQueryParams;
|
|
21
|
+
}
|
|
22
|
+
export declare function removeMember(props: RemoveMemberProps): Promise<RemoveMemberOkResponse>;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare function useRemoveMemberMutation(options?: Omit<UseMutationOptions<RemoveMemberOkResponse, RemoveMemberErrorResponse, RemoveMemberProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<RemoveMemberOkResponse, RemoveMemberErrorResponse, RemoveMemberProps, 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 removeMember(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/user-groups/${props.identifier}/member/${props.userIdentifier}`, method: 'DELETE' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useRemoveMemberMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => removeMember(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
export type { GetPathParamsType, ResponseWithPagination } from './helpers';
|
|
2
2
|
export type { AddJiraCommentErrorResponse, AddJiraCommentMutationPathParams, AddJiraCommentMutationQueryParams, AddJiraCommentOkResponse, AddJiraCommentProps, AddJiraCommentRequestBody, } from './hooks/useAddJiraCommentMutation';
|
|
3
3
|
export { addJiraComment, useAddJiraCommentMutation } from './hooks/useAddJiraCommentMutation';
|
|
4
|
+
export type { AddMemberErrorResponse, AddMemberMutationPathParams, AddMemberMutationQueryParams, AddMemberOkResponse, AddMemberProps, } from './hooks/useAddMemberMutation';
|
|
5
|
+
export { addMember, useAddMemberMutation } from './hooks/useAddMemberMutation';
|
|
4
6
|
export type { ArtifactIdsErrorResponse, ArtifactIdsMutationQueryParams, ArtifactIdsOkResponse, ArtifactIdsProps, ArtifactIdsRequestBody, } from './hooks/useArtifactIdsMutation';
|
|
5
7
|
export { artifactIds, useArtifactIdsMutation } from './hooks/useArtifactIdsMutation';
|
|
6
8
|
export type { AutoScalingGroupsErrorResponse, AutoScalingGroupsOkResponse, AutoScalingGroupsProps, AutoScalingGroupsQueryQueryParams, } from './hooks/useAutoScalingGroupsQuery';
|
|
7
9
|
export { autoScalingGroups, useAutoScalingGroupsQuery } from './hooks/useAutoScalingGroupsQuery';
|
|
10
|
+
export type { CheckMemberErrorResponse, CheckMemberOkResponse, CheckMemberProps, CheckMemberQueryPathParams, CheckMemberQueryQueryParams, } from './hooks/useCheckMemberQuery';
|
|
11
|
+
export { checkMember, useCheckMemberQuery } from './hooks/useCheckMemberQuery';
|
|
8
12
|
export type { ClustersErrorResponse, ClustersOkResponse, ClustersProps, ClustersQueryQueryParams, } from './hooks/useClustersQuery';
|
|
9
13
|
export { clusters, useClustersQuery } from './hooks/useClustersQuery';
|
|
10
14
|
export type { CreateJiraIssueErrorResponse, CreateJiraIssueMutationQueryParams, CreateJiraIssueOkResponse, CreateJiraIssueProps, CreateJiraIssueRequestBody, } from './hooks/useCreateJiraIssueMutation';
|
|
@@ -89,6 +93,8 @@ export type { GetLastSuccessfulBuildForEcrErrorResponse, GetLastSuccessfulBuildF
|
|
|
89
93
|
export { getLastSuccessfulBuildForEcr, useGetLastSuccessfulBuildForEcrMutation, } from './hooks/useGetLastSuccessfulBuildForEcrMutation';
|
|
90
94
|
export type { GetLastSuccessfulVersionErrorResponse, GetLastSuccessfulVersionOkResponse, GetLastSuccessfulVersionProps, GetLastSuccessfulVersionQueryQueryParams, } from './hooks/useGetLastSuccessfulVersionQuery';
|
|
91
95
|
export { getLastSuccessfulVersion, useGetLastSuccessfulVersionQuery, } from './hooks/useGetLastSuccessfulVersionQuery';
|
|
96
|
+
export type { GetOrganizationListErrorResponse, GetOrganizationListOkResponse, GetOrganizationListProps, GetOrganizationListQueryQueryParams, } from './hooks/useGetOrganizationListQuery';
|
|
97
|
+
export { getOrganizationList, useGetOrganizationListQuery, } from './hooks/useGetOrganizationListQuery';
|
|
92
98
|
export type { GetPackagesForGoogleArtifactRegistryErrorResponse, GetPackagesForGoogleArtifactRegistryOkResponse, GetPackagesForGoogleArtifactRegistryProps, GetPackagesForGoogleArtifactRegistryQueryQueryParams, } from './hooks/useGetPackagesForGoogleArtifactRegistryQuery';
|
|
93
99
|
export { getPackagesForGoogleArtifactRegistry, useGetPackagesForGoogleArtifactRegistryQuery, } from './hooks/useGetPackagesForGoogleArtifactRegistryQuery';
|
|
94
100
|
export type { GetPackagesFromGithubErrorResponse, GetPackagesFromGithubOkResponse, GetPackagesFromGithubProps, GetPackagesFromGithubQueryQueryParams, } from './hooks/useGetPackagesFromGithubQuery';
|
|
@@ -97,6 +103,8 @@ export type { GetPlansKeyErrorResponse, GetPlansKeyMutationQueryParams, GetPlans
|
|
|
97
103
|
export { getPlansKey, useGetPlansKeyMutation } from './hooks/useGetPlansKeyMutation';
|
|
98
104
|
export type { GetProjectAggregateDtoListErrorResponse, GetProjectAggregateDtoListOkResponse, GetProjectAggregateDtoListProps, GetProjectAggregateDtoListQueryQueryParams, } from './hooks/useGetProjectAggregateDtoListQuery';
|
|
99
105
|
export { getProjectAggregateDtoList, useGetProjectAggregateDtoListQuery, } from './hooks/useGetProjectAggregateDtoListQuery';
|
|
106
|
+
export type { GetProjectListErrorResponse, GetProjectListOkResponse, GetProjectListProps, GetProjectListQueryQueryParams, } from './hooks/useGetProjectListQuery';
|
|
107
|
+
export { getProjectList, useGetProjectListQuery } from './hooks/useGetProjectListQuery';
|
|
100
108
|
export type { GetProjectsErrorResponse, GetProjectsMutationQueryParams, GetProjectsOkResponse, GetProjectsProps, GetProjectsRequestBody, } from './hooks/useGetProjectsMutation';
|
|
101
109
|
export { getProjects, useGetProjectsMutation } from './hooks/useGetProjectsMutation';
|
|
102
110
|
export type { GetRegionsForGoogleArtifactRegistryErrorResponse, GetRegionsForGoogleArtifactRegistryOkResponse, GetRegionsForGoogleArtifactRegistryProps, } from './hooks/useGetRegionsForGoogleArtifactRegistryQuery';
|
|
@@ -119,8 +127,8 @@ export type { GetServicesYamlAndRuntimeInputsV2ErrorResponse, GetServicesYamlAnd
|
|
|
119
127
|
export { getServicesYamlAndRuntimeInputsV2, useGetServicesYamlAndRuntimeInputsV2Mutation, } from './hooks/useGetServicesYamlAndRuntimeInputsV2Mutation';
|
|
120
128
|
export type { GetSubscriptionTagsErrorResponse, GetSubscriptionTagsOkResponse, GetSubscriptionTagsProps, GetSubscriptionTagsQueryPathParams, GetSubscriptionTagsQueryQueryParams, } from './hooks/useGetSubscriptionTagsQuery';
|
|
121
129
|
export { getSubscriptionTags, useGetSubscriptionTagsQuery, } from './hooks/useGetSubscriptionTagsQuery';
|
|
122
|
-
export type {
|
|
123
|
-
export {
|
|
130
|
+
export type { GetUserGroupAggregateListByUserErrorResponse, GetUserGroupAggregateListByUserMutationPathParams, GetUserGroupAggregateListByUserMutationQueryParams, GetUserGroupAggregateListByUserOkResponse, GetUserGroupAggregateListByUserProps, GetUserGroupAggregateListByUserRequestBody, } from './hooks/useGetUserGroupAggregateListByUserMutation';
|
|
131
|
+
export { getUserGroupAggregateListByUser, useGetUserGroupAggregateListByUserMutation, } from './hooks/useGetUserGroupAggregateListByUserMutation';
|
|
124
132
|
export type { GetV2BucketListForS3ErrorResponse, GetV2BucketListForS3OkResponse, GetV2BucketListForS3Props, GetV2BucketListForS3QueryQueryParams, } from './hooks/useGetV2BucketListForS3Query';
|
|
125
133
|
export { getV2BucketListForS3, useGetV2BucketListForS3Query, } from './hooks/useGetV2BucketListForS3Query';
|
|
126
134
|
export type { GetVersionsFromPackagesErrorResponse, GetVersionsFromPackagesOkResponse, GetVersionsFromPackagesProps, GetVersionsFromPackagesQueryQueryParams, } from './hooks/useGetVersionsFromPackagesQuery';
|
|
@@ -137,6 +145,12 @@ export type { ListProjectsForAzureArtifactsErrorResponse, ListProjectsForAzureAr
|
|
|
137
145
|
export { listProjectsForAzureArtifacts, useListProjectsForAzureArtifactsQuery, } from './hooks/useListProjectsForAzureArtifactsQuery';
|
|
138
146
|
export type { ListTagsForAmiArtifactErrorResponse, ListTagsForAmiArtifactMutationQueryParams, ListTagsForAmiArtifactOkResponse, ListTagsForAmiArtifactProps, ListTagsForAmiArtifactRequestBody, } from './hooks/useListTagsForAmiArtifactMutation';
|
|
139
147
|
export { listTagsForAmiArtifact, useListTagsForAmiArtifactMutation, } from './hooks/useListTagsForAmiArtifactMutation';
|
|
148
|
+
export type { PostOrganizationErrorResponse, PostOrganizationMutationQueryParams, PostOrganizationOkResponse, PostOrganizationProps, PostOrganizationRequestBody, } from './hooks/usePostOrganizationMutation';
|
|
149
|
+
export { postOrganization, usePostOrganizationMutation } from './hooks/usePostOrganizationMutation';
|
|
150
|
+
export type { PostProjectErrorResponse, PostProjectMutationQueryParams, PostProjectOkResponse, PostProjectProps, PostProjectRequestBody, } from './hooks/usePostProjectMutation';
|
|
151
|
+
export { postProject, usePostProjectMutation } from './hooks/usePostProjectMutation';
|
|
152
|
+
export type { RemoveMemberErrorResponse, RemoveMemberMutationPathParams, RemoveMemberMutationQueryParams, RemoveMemberOkResponse, RemoveMemberProps, } from './hooks/useRemoveMemberMutation';
|
|
153
|
+
export { removeMember, useRemoveMemberMutation } from './hooks/useRemoveMemberMutation';
|
|
140
154
|
export type { TagsErrorResponse, TagsOkResponse, TagsProps, TagsQueryQueryParams, } from './hooks/useTagsQuery';
|
|
141
155
|
export { tags, useTagsQuery } from './hooks/useTagsQuery';
|
|
142
156
|
export type { UpdateServiceV2ErrorResponse, UpdateServiceV2MutationQueryParams, UpdateServiceV2OkResponse, UpdateServiceV2Props, UpdateServiceV2RequestBody, } from './hooks/useUpdateServiceV2Mutation';
|
|
@@ -150,7 +164,10 @@ export type { EcrRequestDtoRequestBody } from './requestBodies/EcrRequestDtoRequ
|
|
|
150
164
|
export type { EnvironmentFilterPropertiesRequestBody } from './requestBodies/EnvironmentFilterPropertiesRequestBody';
|
|
151
165
|
export type { GetFileContentUsingScopedFilePathV2BodyRequestBody } from './requestBodies/GetFileContentUsingScopedFilePathV2BodyRequestBody';
|
|
152
166
|
export type { ListTagsForAmiArtifactBodyRequestBody } from './requestBodies/ListTagsForAmiArtifactBodyRequestBody';
|
|
167
|
+
export type { OrganizationRequestRequestBody } from './requestBodies/OrganizationRequestRequestBody';
|
|
168
|
+
export type { ProjectRequestRequestBody } from './requestBodies/ProjectRequestRequestBody';
|
|
153
169
|
export type { ServiceRequestDtoRequestBody } from './requestBodies/ServiceRequestDtoRequestBody';
|
|
170
|
+
export type { AccessControlCheckError } from './schemas/AccessControlCheckError';
|
|
154
171
|
export type { AcrBuildDetailsDto } from './schemas/AcrBuildDetailsDto';
|
|
155
172
|
export type { AcrRegistriesDto } from './schemas/AcrRegistriesDto';
|
|
156
173
|
export type { AcrRegistryDto } from './schemas/AcrRegistryDto';
|
|
@@ -240,14 +257,22 @@ export type { NexusResponseDto } from './schemas/NexusResponseDto';
|
|
|
240
257
|
export type { NgVariable } from './schemas/NgVariable';
|
|
241
258
|
export type { NotificationSettingConfigDto } from './schemas/NotificationSettingConfigDto';
|
|
242
259
|
export type { Organization } from './schemas/Organization';
|
|
260
|
+
export type { OrganizationRequest } from './schemas/OrganizationRequest';
|
|
261
|
+
export type { OrganizationResponse } from './schemas/OrganizationResponse';
|
|
243
262
|
export type { PageEnvironmentResponse } from './schemas/PageEnvironmentResponse';
|
|
263
|
+
export type { PageOrganizationResponse } from './schemas/PageOrganizationResponse';
|
|
244
264
|
export type { PageProjectAggregateDto } from './schemas/PageProjectAggregateDto';
|
|
265
|
+
export type { PageProjectResponse } from './schemas/PageProjectResponse';
|
|
245
266
|
export type { PageServiceDashboardResponseDto } from './schemas/PageServiceDashboardResponseDto';
|
|
246
267
|
export type { PageServiceResponse } from './schemas/PageServiceResponse';
|
|
268
|
+
export type { PageUserGroupAggregateDto } from './schemas/PageUserGroupAggregateDto';
|
|
269
|
+
export type { PermissionCheck } from './schemas/PermissionCheck';
|
|
247
270
|
export type { Project } from './schemas/Project';
|
|
248
271
|
export type { ProjectAggregateDto } from './schemas/ProjectAggregateDto';
|
|
272
|
+
export type { ProjectRequest } from './schemas/ProjectRequest';
|
|
249
273
|
export type { ProjectResponse } from './schemas/ProjectResponse';
|
|
250
274
|
export type { RegionGar } from './schemas/RegionGar';
|
|
275
|
+
export type { ResourceScope } from './schemas/ResourceScope';
|
|
251
276
|
export type { ResponseAcrRegistriesDto } from './schemas/ResponseAcrRegistriesDto';
|
|
252
277
|
export type { ResponseAcrRepositoriesDto } from './schemas/ResponseAcrRepositoriesDto';
|
|
253
278
|
export type { ResponseAcrResponseDto } from './schemas/ResponseAcrResponseDto';
|
|
@@ -298,16 +323,22 @@ export type { ResponseListString } from './schemas/ResponseListString';
|
|
|
298
323
|
export type { ResponseMapStringString } from './schemas/ResponseMapStringString';
|
|
299
324
|
export type { ResponseMessage } from './schemas/ResponseMessage';
|
|
300
325
|
export type { ResponseNexusResponseDto } from './schemas/ResponseNexusResponseDto';
|
|
326
|
+
export type { ResponseOrganizationResponse } from './schemas/ResponseOrganizationResponse';
|
|
301
327
|
export type { ResponsePageEnvironmentResponse } from './schemas/ResponsePageEnvironmentResponse';
|
|
328
|
+
export type { ResponsePageOrganizationResponse } from './schemas/ResponsePageOrganizationResponse';
|
|
302
329
|
export type { ResponsePageProjectAggregateDto } from './schemas/ResponsePageProjectAggregateDto';
|
|
330
|
+
export type { ResponsePageProjectResponse } from './schemas/ResponsePageProjectResponse';
|
|
303
331
|
export type { ResponsePageServiceDashboardResponseDto } from './schemas/ResponsePageServiceDashboardResponseDto';
|
|
304
332
|
export type { ResponsePageServiceResponse } from './schemas/ResponsePageServiceResponse';
|
|
333
|
+
export type { ResponsePageUserGroupAggregateDto } from './schemas/ResponsePageUserGroupAggregateDto';
|
|
334
|
+
export type { ResponseProjectResponse } from './schemas/ResponseProjectResponse';
|
|
305
335
|
export type { ResponseServiceResponse } from './schemas/ResponseServiceResponse';
|
|
306
336
|
export type { ResponseServicesV2YamlMetadataDto } from './schemas/ResponseServicesV2YamlMetadataDto';
|
|
307
337
|
export type { ResponseSetHelmCommandFlagType } from './schemas/ResponseSetHelmCommandFlagType';
|
|
308
338
|
export type { ResponseSetString } from './schemas/ResponseSetString';
|
|
309
|
-
export type {
|
|
339
|
+
export type { ResponseUserGroupDto } from './schemas/ResponseUserGroupDto';
|
|
310
340
|
export type { RoleAssignmentMetadataDto } from './schemas/RoleAssignmentMetadataDto';
|
|
341
|
+
export type { ScopeSelector } from './schemas/ScopeSelector';
|
|
311
342
|
export type { ServiceDashboardResponseDto } from './schemas/ServiceDashboardResponseDto';
|
|
312
343
|
export type { ServiceRequestDto } from './schemas/ServiceRequestDto';
|
|
313
344
|
export type { ServiceResponse } from './schemas/ServiceResponse';
|
|
@@ -319,6 +350,7 @@ export type { StackTraceElement } from './schemas/StackTraceElement';
|
|
|
319
350
|
export type { TaskSelectorYaml } from './schemas/TaskSelectorYaml';
|
|
320
351
|
export type { Throwable } from './schemas/Throwable';
|
|
321
352
|
export type { UserGroupAggregateDto } from './schemas/UserGroupAggregateDto';
|
|
353
|
+
export type { UserGroupAggregateFilter } from './schemas/UserGroupAggregateFilter';
|
|
322
354
|
export type { UserGroupDto } from './schemas/UserGroupDto';
|
|
323
355
|
export type { UserMetadataDto } from './schemas/UserMetadataDto';
|
|
324
356
|
export type { ValidationError } from './schemas/ValidationError';
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export { addJiraComment, useAddJiraCommentMutation } from './hooks/useAddJiraCommentMutation';
|
|
2
|
+
export { addMember, useAddMemberMutation } from './hooks/useAddMemberMutation';
|
|
2
3
|
export { artifactIds, useArtifactIdsMutation } from './hooks/useArtifactIdsMutation';
|
|
3
4
|
export { autoScalingGroups, useAutoScalingGroupsQuery } from './hooks/useAutoScalingGroupsQuery';
|
|
5
|
+
export { checkMember, useCheckMemberQuery } from './hooks/useCheckMemberQuery';
|
|
4
6
|
export { clusters, useClustersQuery } from './hooks/useClustersQuery';
|
|
5
7
|
export { createJiraIssue, useCreateJiraIssueMutation } from './hooks/useCreateJiraIssueMutation';
|
|
6
8
|
export { createServiceV2, useCreateServiceV2Mutation } from './hooks/useCreateServiceV2Mutation';
|
|
@@ -43,10 +45,12 @@ export { getJobDetailsForJenkins, useGetJobDetailsForJenkinsQuery, } from './hoo
|
|
|
43
45
|
export { getLastSuccessfulBuildForDocker, useGetLastSuccessfulBuildForDockerMutation, } from './hooks/useGetLastSuccessfulBuildForDockerMutation';
|
|
44
46
|
export { getLastSuccessfulBuildForEcr, useGetLastSuccessfulBuildForEcrMutation, } from './hooks/useGetLastSuccessfulBuildForEcrMutation';
|
|
45
47
|
export { getLastSuccessfulVersion, useGetLastSuccessfulVersionQuery, } from './hooks/useGetLastSuccessfulVersionQuery';
|
|
48
|
+
export { getOrganizationList, useGetOrganizationListQuery, } from './hooks/useGetOrganizationListQuery';
|
|
46
49
|
export { getPackagesForGoogleArtifactRegistry, useGetPackagesForGoogleArtifactRegistryQuery, } from './hooks/useGetPackagesForGoogleArtifactRegistryQuery';
|
|
47
50
|
export { getPackagesFromGithub, useGetPackagesFromGithubQuery, } from './hooks/useGetPackagesFromGithubQuery';
|
|
48
51
|
export { getPlansKey, useGetPlansKeyMutation } from './hooks/useGetPlansKeyMutation';
|
|
49
52
|
export { getProjectAggregateDtoList, useGetProjectAggregateDtoListQuery, } from './hooks/useGetProjectAggregateDtoListQuery';
|
|
53
|
+
export { getProjectList, useGetProjectListQuery } from './hooks/useGetProjectListQuery';
|
|
50
54
|
export { getProjects, useGetProjectsMutation } from './hooks/useGetProjectsMutation';
|
|
51
55
|
export { getRegionsForGoogleArtifactRegistry, useGetRegionsForGoogleArtifactRegistryQuery, } from './hooks/useGetRegionsForGoogleArtifactRegistryQuery';
|
|
52
56
|
export { getRepositoriesDetailsForArtifactory, useGetRepositoriesDetailsForArtifactoryQuery, } from './hooks/useGetRepositoriesDetailsForArtifactoryQuery';
|
|
@@ -58,7 +62,7 @@ export { getServiceList, useGetServiceListQuery } from './hooks/useGetServiceLis
|
|
|
58
62
|
export { getServicesList, useGetServicesListQuery } from './hooks/useGetServicesListQuery';
|
|
59
63
|
export { getServicesYamlAndRuntimeInputsV2, useGetServicesYamlAndRuntimeInputsV2Mutation, } from './hooks/useGetServicesYamlAndRuntimeInputsV2Mutation';
|
|
60
64
|
export { getSubscriptionTags, useGetSubscriptionTagsQuery, } from './hooks/useGetSubscriptionTagsQuery';
|
|
61
|
-
export {
|
|
65
|
+
export { getUserGroupAggregateListByUser, useGetUserGroupAggregateListByUserMutation, } from './hooks/useGetUserGroupAggregateListByUserMutation';
|
|
62
66
|
export { getV2BucketListForS3, useGetV2BucketListForS3Query, } from './hooks/useGetV2BucketListForS3Query';
|
|
63
67
|
export { getVersionsFromPackages, useGetVersionsFromPackagesQuery, } from './hooks/useGetVersionsFromPackagesQuery';
|
|
64
68
|
export { helmCmdFlags, useHelmCmdFlagsQuery } from './hooks/useHelmCmdFlagsQuery';
|
|
@@ -67,6 +71,9 @@ export { listFeedsForAzureArtifacts, useListFeedsForAzureArtifactsQuery, } from
|
|
|
67
71
|
export { listPackagesForAzureArtifacts, useListPackagesForAzureArtifactsQuery, } from './hooks/useListPackagesForAzureArtifactsQuery';
|
|
68
72
|
export { listProjectsForAzureArtifacts, useListProjectsForAzureArtifactsQuery, } from './hooks/useListProjectsForAzureArtifactsQuery';
|
|
69
73
|
export { listTagsForAmiArtifact, useListTagsForAmiArtifactMutation, } from './hooks/useListTagsForAmiArtifactMutation';
|
|
74
|
+
export { postOrganization, usePostOrganizationMutation } from './hooks/usePostOrganizationMutation';
|
|
75
|
+
export { postProject, usePostProjectMutation } from './hooks/usePostProjectMutation';
|
|
76
|
+
export { removeMember, useRemoveMemberMutation } from './hooks/useRemoveMemberMutation';
|
|
70
77
|
export { tags, useTagsQuery } from './hooks/useTagsQuery';
|
|
71
78
|
export { updateServiceV2, useUpdateServiceV2Mutation } from './hooks/useUpdateServiceV2Mutation';
|
|
72
79
|
export { useValidateJiraCredentialsQuery, validateJiraCredentials, } from './hooks/useValidateJiraCredentialsQuery';
|
package/dist/ng-manager-swagger-service/src/services/requestBodies/ProjectRequestRequestBody.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { PermissionCheck } from '../schemas/PermissionCheck';
|
|
2
|
+
import type { ErrorMetadataDto } from '../schemas/ErrorMetadataDto';
|
|
3
|
+
import type { ResponseMessage } from '../schemas/ResponseMessage';
|
|
4
|
+
export interface AccessControlCheckError {
|
|
5
|
+
code?: 'ABORT_ALL_ALREADY' | 'ABORT_ALL_ALREADY_NG' | 'ACCESS_DENIED' | 'ACCOUNT_DISABLED' | 'ACCOUNT_DOES_NOT_EXIST' | 'ACCOUNT_MIGRATED' | 'ACCOUNT_MIGRATED_TO_NEXT_GEN' | 'ACTIVE_SERVICE_INSTANCES_PRESENT_EXCEPTION' | 'ADFS_ERROR' | 'ALGORITHM_NEGOTIATION_ERROR' | 'APM_CONFIGURATION_ERROR' | 'APPDYNAMICS_CONFIGURATION_ERROR' | 'APPDYNAMICS_ERROR' | 'APPROVAL_REJECTION' | 'APPROVAL_STEP_NG_ERROR' | 'ARTIFACT_SERVER_ERROR' | 'AUTHENTICATION_ERROR' | 'AUTHORIZATION_ERROR' | 'AWS_ACCESS_DENIED' | 'AWS_APPLICATION_AUTO_SCALING' | 'AWS_ASG_ERROR' | 'AWS_CF_ERROR' | 'AWS_CLUSTER_NOT_FOUND' | 'AWS_ECS_CLIENT_ERROR' | 'AWS_ECS_ERROR' | 'AWS_ECS_SERVICE_NOT_ACTIVE' | 'AWS_EKS_ERROR' | 'AWS_IAM_ERROR' | 'AWS_INSTANCE_ERROR' | 'AWS_LOAD_BALANCER_ERROR' | 'AWS_SECRETS_MANAGER_OPERATION_ERROR' | 'AWS_SERVICE_NOT_FOUND' | 'AWS_STS_ERROR' | 'AWS_TAG_ERROR' | 'AWS_VPC_ERROR' | 'AZURE_APP_SERVICES_TASK_EXCEPTION' | 'AZURE_ARM_TASK_EXCEPTION' | 'AZURE_AUTHENTICATION_ERROR' | 'AZURE_BP_TASK_EXCEPTION' | 'AZURE_CLIENT_EXCEPTION' | 'AZURE_CONFIG_ERROR' | 'AZURE_KEY_VAULT_INTERRUPT_ERROR' | 'AZURE_KEY_VAULT_OPERATION_ERROR' | 'AZURE_SERVICE_EXCEPTION' | 'BARRIERS_NOT_RUNNING_CONCURRENTLY' | 'BARRIER_FAILED_ERROR' | 'BASELINE_CONFIGURATION_ERROR' | 'BATCH_PROCESSING_ERROR' | 'BUCKET_SERVER_ERROR' | 'CACHE_NOT_FOUND_EXCEPTION' | 'CG_LICENSE_USAGE_ERROR' | 'CLOUDWATCH_CONFIGURATION_ERROR' | 'CLOUDWATCH_ERROR' | 'CLUSTER_CREDENTIALS_NOT_FOUND' | 'CLUSTER_NOT_FOUND' | 'COMMAND_DOES_NOT_EXIST' | 'COMMAND_EXECUTION_ERROR' | 'COMMNITY_EDITION_NOT_FOUND' | 'CONNECTION_ERROR' | 'CONNECTION_TIMEOUT' | 'CONNECTOR_NOT_FOUND_EXCEPTION' | 'CONNECTOR_VALIDATION_EXCEPTION' | 'CONTEXT' | 'COULD_NOT_MAP_BEFORE_YAML' | 'COULD_NOT_PROCESS_ERROR' | 'CUSTOM_APPROVAL_ERROR' | 'DATA' | 'DATA_COLLECTION_ERROR' | 'DATA_DOG_CONFIGURATION_ERROR' | 'DATA_PROCESSING_ERROR' | 'DEFAULT_ERROR_CODE' | 'DELEGATE_ERROR_HANDLER_EXCEPTION' | 'DELEGATE_INSTALLATION_COMMAND_NOT_SUPPORTED_EXCEPTION' | 'DELEGATE_NOT_AVAILABLE' | 'DELEGATE_NOT_REGISTERED' | 'DELEGATE_SERVICE_DRIVER_EXCEPTION' | 'DELEGATE_TASK_EXPIRED' | 'DELEGATE_TASK_RETRY' | 'DELEGATE_TASK_VALIDATION_FAILED' | 'DELETE_NOT_ALLOWED' | 'DEPLOYMENT_GOVERNANCE_ERROR' | 'DEPLOYMENT_MIGRATION_ERROR' | 'DEPLOY_MODE_IS_NOT_ON_PREM' | 'DOMAIN_NOT_ALLOWED_TO_REGISTER' | 'DOMAIN_WHITELIST_FILTER_CHECK_FAILED' | 'DUPLICATE_ARTIFACTSTREAM_NAMES' | 'DUPLICATE_COMMAND_NAMES' | 'DUPLICATE_DELEGATE_EXCEPTION' | 'DUPLICATE_FIELD' | 'DUPLICATE_FILE_IMPORT' | 'DUPLICATE_HOST_NAMES' | 'DUPLICATE_STATE_NAMES' | 'DYNA_TRACE_CONFIGURATION_ERROR' | 'DYNA_TRACE_ERROR' | 'ELASTICSEARCH_NOT_AVAILABLE' | 'ELK_CONFIGURATION_ERROR' | 'EMAIL_ERROR' | 'EMAIL_FAILED' | 'EMAIL_NOT_VERIFIED' | 'EMAIL_VERIFICATION_TOKEN_NOT_FOUND' | 'ENCRYPTION_NOT_CONFIGURED' | 'ENCRYPT_DECRYPT_ERROR' | 'ENGINE_ENTITY_UPDATE_EXCEPTION' | 'ENGINE_EXPRESSION_EVALUATION_ERROR' | 'ENGINE_FUNCTOR_ERROR' | 'ENGINE_INTERRUPT_PROCESSING_EXCEPTION' | 'ENGINE_IO_EXCEPTION' | 'ENGINE_OUTCOME_EXCEPTION' | 'ENGINE_SWEEPING_OUTPUT_EXCEPTION' | 'ENTITY_NOT_FOUND' | 'ENTITY_REFERENCE_EXCEPTION' | 'ERROR_IN_GETTING_CHANNEL_STREAMS' | 'EVENT_LISTENER_STEP_FAILURE' | 'EVENT_PUBLISH_FAILED' | 'EXCEPTION_HANDLER_NOT_FOUND' | 'EXPIRED_TOKEN' | 'EXPIRE_ALL_ALREADY' | 'EXPLANATION' | 'EXPRESSION_EVALUATION_FAILED' | 'FAILED_TO_ACQUIRE_NON_PERSISTENT_LOCK' | 'FAILED_TO_ACQUIRE_PERSISTENT_LOCK' | 'FEATURE_UNAVAILABLE' | 'FILE_CREATE_ERROR' | 'FILE_DOWNLOAD_FAILED' | 'FILE_INTEGRITY_CHECK_FAILED' | 'FILE_NOT_FOUND_ERROR' | 'FILE_READ_FAILED' | 'FILE_SIZE_EXCEEDS_LIMIT' | 'FILTER_CREATION_ERROR' | 'FREEZE_EXCEPTION' | 'GCP_KMS_OPERATION_ERROR' | 'GCP_MARKETPLACE_EXCEPTION' | 'GCP_SECRET_MANAGER_OPERATION_ERROR' | 'GCP_SECRET_OPERATION_ERROR' | 'GCP_SERVER_ERROR' | 'GENERAL_ERROR' | 'GENERAL_YAML_ERROR' | 'GENERAL_YAML_INFO' | 'GITX_OAUTH_NOT_SET' | 'GIT_CONNECTION_ERROR' | 'GIT_DIFF_COMMIT_NOT_IN_ORDER' | 'GIT_ERROR' | 'GIT_OPERATION_ERROR' | 'GIT_SYNC_ERROR' | 'GIT_UNSEEN_REMOTE_HEAD_COMMIT' | 'GRAPHQL_ERROR' | 'HEALTH_ERROR' | 'HINT' | 'HTTP_BAD_GATEWAY' | 'HTTP_CLIENT_ERROR_RESPONSE' | 'HTTP_GATEWAY_TIMEOUT' | 'HTTP_INTERNAL_SERVER_ERROR' | 'HTTP_RESPONSE_EXCEPTION' | 'HTTP_SERVER_ERROR_RESPONSE' | 'HTTP_SERVICE_UNAVAILABLE' | 'ILLEGAL_ARGUMENT' | 'ILLEGAL_STATE' | 'IMAGE_NOT_FOUND' | 'IMAGE_TAG_NOT_FOUND' | 'INACTIVE_ACCOUNT' | 'INCORRECT_DEFAULT_GOOGLE_CREDENTIALS' | 'INCORRECT_SIGN_IN_MECHANISM' | 'INITIAL_STATE_NOT_DEFINED' | 'INIT_TIMEOUT' | 'INSTANA_CONFIGURATION_ERROR' | 'INSTANCE_STATS_AGGREGATION_ERROR' | 'INSTANCE_STATS_MIGRATION_ERROR' | 'INSTANCE_STATS_PROCESS_ERROR' | 'INTERNAL_SERVER_ERROR' | 'INVALID_ACCOUNT_PERMISSION' | 'INVALID_AGENT_MTLS_AUTHORITY' | 'INVALID_ARGUMENT' | 'INVALID_ARTIFACTORY_REGISTRY_REQUEST' | 'INVALID_ARTIFACT_SERVER' | 'INVALID_ARTIFACT_SOURCE' | 'INVALID_AUTHENTICATION_MECHANISM' | 'INVALID_AZURE_AKS_REQUEST' | 'INVALID_AZURE_CONTAINER_REGISTRY_REQUEST' | 'INVALID_AZURE_VAULT_CONFIGURATION' | 'INVALID_CAPTCHA_TOKEN' | 'INVALID_CLOUD_PROVIDER' | 'INVALID_CONNECTOR_TYPE' | 'INVALID_CREDENTIAL' | 'INVALID_CREDENTIALS' | 'INVALID_CREDENTIALS_THIRD_PARTY' | 'INVALID_CSV_FILE' | 'INVALID_DASHBOARD_UPDATE_REQUEST' | 'INVALID_EMAIL' | 'INVALID_EXECUTION_ID' | 'INVALID_FORMAT' | 'INVALID_IDENTIFIER_REF' | 'INVALID_INFRA_CONFIGURATION' | 'INVALID_INFRA_STATE' | 'INVALID_INPUT_SET' | 'INVALID_JSON_PAYLOAD' | 'INVALID_KEY' | 'INVALID_KEYPATH' | 'INVALID_LDAP_CONFIGURATION' | 'INVALID_MARKETPLACE_TOKEN' | 'INVALID_NEXUS_REGISTRY_REQUEST' | 'INVALID_OAUTH_CONFIGURATION' | 'INVALID_OIDC_CONFIGURATION' | 'INVALID_OR_PRIVATE_REPO' | 'INVALID_OVERLAY_INPUT_SET' | 'INVALID_PIPELINE' | 'INVALID_PORT' | 'INVALID_REQUEST' | 'INVALID_ROLLBACK' | 'INVALID_SAML_CONFIGURATION' | 'INVALID_TERRAFORM_TARGETS_REQUEST' | 'INVALID_TICKETING_SERVER' | 'INVALID_TOKEN' | 'INVALID_TOTP_TOKEN' | 'INVALID_TWO_FACTOR_AUTHENTICATION_CONFIGURATION' | 'INVALID_URL' | 'INVALID_USAGE_RESTRICTION' | 'INVALID_VARIABLE' | 'INVALID_YAML_ERROR' | 'INVALID_YAML_PAYLOAD' | 'JENKINS_ERROR' | 'JIRA_CLIENT_ERROR' | 'JIRA_ERROR' | 'KMS_OPERATION_ERROR' | 'KRYO_HANDLER_NOT_FOUND_ERROR' | 'KUBERNETES_API_TASK_EXCEPTION' | 'KUBERNETES_CLUSTER_ERROR' | 'KUBERNETES_TASK_EXCEPTION' | 'KUBERNETES_VALUES_ERROR' | 'KUBERNETES_YAML_ERROR' | 'LICENSE_EXPIRED' | 'LOGZ_CONFIGURATION_ERROR' | 'MARKETPLACE_TOKEN_NOT_FOUND' | 'MAX_FAILED_ATTEMPT_COUNT_EXCEEDED' | 'MEDIA_NOT_SUPPORTED' | 'MIGRATION_EXCEPTION' | 'MISSING_BEFORE_YAML' | 'MISSING_DEFAULT_GOOGLE_CREDENTIALS' | 'MISSING_EXCEPTION' | 'MISSING_YAML' | 'MONGO_EXECUTION_TIMEOUT_EXCEPTION' | 'NEWRELIC_CONFIGURATION_ERROR' | 'NEWRELIC_ERROR' | 'NG_ACCESS_DENIED' | 'NG_PIPELINE_CREATE_EXCEPTION' | 'NG_PIPELINE_EXECUTION_EXCEPTION' | 'NON_EMPTY_DELETIONS' | 'NON_EXISTING_PIPELINE' | 'NON_FORK_STATES' | 'NON_REPEAT_STATES' | 'NOT_ACCOUNT_MGR_NOR_HAS_ALL_APP_ACCESS' | 'NOT_LICENSED' | 'NOT_WHITELISTED_IP' | 'NO_APPS_ASSIGNED' | 'NO_AVAILABLE_DELEGATES' | 'NO_AVAILABLE_RUNNERS' | 'NO_ELIGIBLE_RUNNERS' | 'NO_GLOBAL_DELEGATE_ACCOUNT' | 'NO_INSTALLED_DELEGATES' | 'OAUTH_LOGIN_FAILED' | 'OBJECT_STORE_NOT_AVAILABLE' | 'OPA_POLICY_EVALUATION_ERROR' | 'OPTIMISTIC_LOCKING_EXCEPTION' | 'PAGERDUTY_ERROR' | 'PARAMETER_FIELD_CAST_ERROR' | 'PASSWORD_EXPIRED' | 'PASSWORD_STRENGTH_CHECK_FAILED' | 'PAUSE_ALL_ALREADY' | 'PIPELINE_ALREADY_TRIGGERED' | 'PIPELINE_EXECUTION_IN_PROGRESS' | 'PIPELINE_UPDATE_EXCEPTION' | 'PLAN_CREATION_ERROR' | 'PLATFORM_SOFTWARE_DELETE_ERROR' | 'PMS_INITIALIZE_SDK_EXCEPTION' | 'POD_NOT_FOUND_ERROR' | 'POLICY_EVALUATION_FAILURE' | 'POLICY_SET_ERROR' | 'PROCESS_EXECUTION_EXCEPTION' | 'PROMETHEUS_CONFIGURATION_ERROR' | 'PR_CREATION_ERROR' | 'READ_FILE_FROM_AWS_STORAGE_FAILED' | 'READ_FILE_FROM_GCP_STORAGE_FAILED' | 'REGISTRY_EXCEPTION' | 'REQUEST_PROCESSING_INTERRUPTED' | 'REQUEST_TIMEOUT' | 'RESOURCE_ALREADY_EXISTS' | 'RESOURCE_NOT_FOUND' | 'RESOURCE_NOT_FOUND_EXCEPTION' | 'RESUME_ALL_ALREADY' | 'RETRY_FAILED' | 'REVOKED_TOKEN' | 'ROLE_DOES_NOT_EXIST' | 'ROLLBACK_ALREADY' | 'RUNNER_DISCONNECTED' | 'SAML_IDP_CONFIGURATION_NOT_AVAILABLE' | 'SAML_TEST_SUCCESS_MECHANISM_NOT_ENABLED' | 'SAVE_FILE_INTO_AWS_STORAGE_FAILED' | 'SAVE_FILE_INTO_GCP_STORAGE_FAILED' | 'SCHEMA_VALIDATION_FAILED' | 'SCM_API_ERROR' | 'SCM_BAD_REQUEST' | 'SCM_CONFLICT_ERROR' | 'SCM_CONFLICT_ERROR_V2' | 'SCM_FAILED_DEPENDENCY_ERROR' | 'SCM_FORBIDDEN' | 'SCM_INTERNAL_SERVER_ERROR' | 'SCM_INTERNAL_SERVER_ERROR_V2' | 'SCM_NOT_FOUND_ERROR' | 'SCM_NOT_MODIFIED' | 'SCM_REQUEST_TIMEOUT' | 'SCM_UNAUTHORIZED' | 'SCM_UNAUTHORIZED_ERROR_V2' | 'SCM_UNEXPECTED_ERROR' | 'SCM_UNPROCESSABLE_ENTITY' | 'SECRET_MANAGEMENT_ERROR' | 'SECRET_MANAGER_ID_NOT_FOUND' | 'SECRET_NOT_FOUND' | 'SERVICENOW_ERROR' | 'SERVICENOW_REFRESH_TOKEN_ERROR' | 'SERVICE_GUARD_CONFIGURATION_ERROR' | 'SHELL_EXECUTION_EXCEPTION' | 'SOCKET_CONNECTION_ERROR' | 'SOCKET_CONNECTION_TIMEOUT' | 'SPLUNK_CONFIGURATION_ERROR' | 'SPOTINST_NULL_ERROR' | 'SPOTNIST_REST_EXCEPTION' | 'SSH_CONNECTION_ERROR' | 'SSH_RETRY' | 'SSH_SESSION_TIMEOUT' | 'SSL_HANDSHAKE_FAILED' | 'STACKDRIVER_CONFIGURATION_ERROR' | 'STACKDRIVER_ERROR' | 'STATES_WITH_DUP_TRANSITIONS' | 'STATE_DISCONTINUE_FAILED' | 'STATE_EXECUTION_INSTANCE_NOT_FOUND' | 'STATE_MACHINE_ISSUE' | 'STATE_NOT_FOR_TYPE' | 'STATE_PAUSE_FAILED' | 'SUMO_CONFIGURATION_ERROR' | 'SUMO_DATA_COLLECTION_ERROR' | 'TASK_FAILURE_ERROR' | 'TEMPLATES_LINKED' | 'TEMPLATE_ALREADY_EXISTS_EXCEPTION' | 'TEMPLATE_EXCEPTION' | 'TEMPLATE_NOT_FOUND' | 'TERRAFORM_CLOUD_ERROR' | 'TERRAFORM_EXECUTION_ERROR' | 'TERRAFORM_VAULT_SECRET_CLEANUP_FAILURE' | 'TERRAGRUNT_EXECUTION_ERROR' | 'TIMEOUT_ENGINE_EXCEPTION' | 'TIMESCALE_NOT_AVAILABLE' | 'TOKEN_ALREADY_REFRESHED_ONCE' | 'TOO_MANY_REQUESTS' | 'TRANSACTION_ABORTED' | 'TRANSITION_NOT_LINKED' | 'TRANSITION_TO_INCORRECT_STATE' | 'TRANSITION_TYPE_NULL' | 'UNAVAILABLE_DELEGATES' | 'UNEXPECTED' | 'UNEXPECTED_SCHEMA_EXCEPTION' | 'UNEXPECTED_SNIPPET_EXCEPTION' | 'UNEXPECTED_TYPE_ERROR' | 'UNKNOWN_ARTIFACT_TYPE' | 'UNKNOWN_ERROR' | 'UNKNOWN_EXECUTOR_TYPE_ERROR' | 'UNKNOWN_HOST' | 'UNKNOWN_STAGE_ELEMENT_WRAPPER_TYPE' | 'UNREACHABLE_HOST' | 'UNRECOGNIZED_YAML_FIELDS' | 'UNRESOLVED_EXPRESSIONS_ERROR' | 'UNRESOLVED_EXPRESSIONS_WITH_CONTEXT_ERROR' | 'UNSUPPORTED_OPERATION_EXCEPTION' | 'UPDATE_NOT_ALLOWED' | 'URL_NOT_PROVIDED' | 'URL_NOT_REACHABLE' | 'USAGE_LIMITS_EXCEEDED' | 'USAGE_RESTRICTION_ERROR' | 'USER_ALREADY_PRESENT' | 'USER_ALREADY_REGISTERED' | 'USER_DISABLED' | 'USER_DOES_NOT_EXIST' | 'USER_DOMAIN_NOT_ALLOWED' | 'USER_GROUP_ALREADY_EXIST' | 'USER_GROUP_ERROR' | 'USER_GROUP_SYNC_FAILURE' | 'USER_HAS_NO_PERMISSIONS' | 'USER_INVITATION_DOES_NOT_EXIST' | 'USER_INVITE_OPERATION_FAILED' | 'USER_LOCKED' | 'USER_MARKED_FAILURE' | 'USER_NOT_AUTHORIZED' | 'USER_NOT_AUTHORIZED_DUE_TO_USAGE_RESTRICTIONS' | 'VAULT_OPERATION_ERROR' | 'WEBHOOK_EXCEPTION' | 'WINRM_COMMAND_EXECUTION_TIMEOUT' | 'WORKFLOW_ALREADY_TRIGGERED' | 'WORKFLOW_EXECUTION_IN_PROGRESS' | 'YAML_GIT_SYNC_ERROR';
|
|
6
|
+
correlationId?: string;
|
|
7
|
+
detailedMessage?: string;
|
|
8
|
+
failedPermissionChecks?: PermissionCheck[];
|
|
9
|
+
message?: string;
|
|
10
|
+
metadata?: ErrorMetadataDto;
|
|
11
|
+
responseMessages?: ResponseMessage[];
|
|
12
|
+
status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Organization } from '../schemas/Organization';
|
|
2
|
+
export interface OrganizationResponse {
|
|
3
|
+
/**
|
|
4
|
+
* @format int64
|
|
5
|
+
*/
|
|
6
|
+
createdAt?: number;
|
|
7
|
+
harnessManaged?: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* @format int64
|
|
10
|
+
*/
|
|
11
|
+
lastModifiedAt?: number;
|
|
12
|
+
organization: Organization;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { OrganizationResponse } from '../schemas/OrganizationResponse';
|
|
2
|
+
export interface PageOrganizationResponse {
|
|
3
|
+
content?: OrganizationResponse[];
|
|
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 {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { ProjectResponse } from '../schemas/ProjectResponse';
|
|
2
|
+
export interface PageProjectResponse {
|
|
3
|
+
content?: ProjectResponse[];
|
|
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 {};
|
|
@@ -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 {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ResourceScope } from '../schemas/ResourceScope';
|
|
2
|
+
export interface PermissionCheck {
|
|
3
|
+
permission?: string;
|
|
4
|
+
resourceAttributes?: {
|
|
5
|
+
[key: string]: string;
|
|
6
|
+
};
|
|
7
|
+
resourceIdentifier?: string;
|
|
8
|
+
resourceScope?: ResourceScope;
|
|
9
|
+
resourceType?: string;
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/ng-manager-swagger-service/src/services/schemas/ResponseOrganizationResponse.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { OrganizationResponse } from '../schemas/OrganizationResponse';
|
|
2
|
+
export interface ResponseOrganizationResponse {
|
|
3
|
+
correlationId?: string;
|
|
4
|
+
data?: OrganizationResponse;
|
|
5
|
+
metaData?: {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
};
|
|
8
|
+
status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/ng-manager-swagger-service/src/services/schemas/ResponsePageOrganizationResponse.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { PageOrganizationResponse } from '../schemas/PageOrganizationResponse';
|
|
2
|
+
export interface ResponsePageOrganizationResponse {
|
|
3
|
+
correlationId?: string;
|
|
4
|
+
data?: PageOrganizationResponse;
|
|
5
|
+
metaData?: {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
};
|
|
8
|
+
status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
|
|
9
|
+
}
|
package/dist/ng-manager-swagger-service/src/services/schemas/ResponsePageOrganizationResponse.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { PageProjectResponse } from '../schemas/PageProjectResponse';
|
|
2
|
+
export interface ResponsePageProjectResponse {
|
|
3
|
+
correlationId?: string;
|
|
4
|
+
data?: PageProjectResponse;
|
|
5
|
+
metaData?: {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
};
|
|
8
|
+
status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
|
|
9
|
+
}
|
|
@@ -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 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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.
|
|
3
|
+
"version": "1.11.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",
|
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
|
-
}
|