@harnessio/react-chaos-manager-client 1.80.2 → 1.81.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/chaos-manager/src/services/hooks/useCreateExperimentV3Mutation.d.ts +1 -0
- package/dist/chaos-manager/src/services/hooks/useCreateInputSetV3Mutation.d.ts +37 -0
- package/dist/chaos-manager/src/services/hooks/useCreateInputSetV3Mutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useDeleteExperimentV3Mutation.d.ts +1 -0
- package/dist/chaos-manager/src/services/hooks/useDeleteInputSetV3Mutation.d.ts +35 -0
- package/dist/chaos-manager/src/services/hooks/useDeleteInputSetV3Mutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useGetChaosExperimentRunV3Query.d.ts +1 -0
- package/dist/chaos-manager/src/services/hooks/useGetExperimentV3Query.d.ts +1 -0
- package/dist/chaos-manager/src/services/hooks/useGetInputSetV3Query.d.ts +34 -0
- package/dist/chaos-manager/src/services/hooks/useGetInputSetV3Query.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useListChaosExperimentRunsV3Query.d.ts +1 -1
- package/dist/chaos-manager/src/services/hooks/useListExperimentRuntimeInputsV3Query.d.ts +33 -0
- package/dist/chaos-manager/src/services/hooks/useListExperimentRuntimeInputsV3Query.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useListExperimentsV3Query.d.ts +1 -0
- package/dist/chaos-manager/src/services/hooks/useListInputSetsV3Query.d.ts +42 -0
- package/dist/chaos-manager/src/services/hooks/useListInputSetsV3Query.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useListScannedRisksQuery.d.ts +1 -1
- package/dist/chaos-manager/src/services/hooks/useStopChaosExperimentV3Mutation.d.ts +1 -0
- package/dist/chaos-manager/src/services/hooks/useUpdateCronStateV3Mutation.d.ts +1 -0
- package/dist/chaos-manager/src/services/hooks/useUpdateExperimentV3Mutation.d.ts +1 -0
- package/dist/chaos-manager/src/services/hooks/useUpdateInputSetV3Mutation.d.ts +38 -0
- package/dist/chaos-manager/src/services/hooks/useUpdateInputSetV3Mutation.js +14 -0
- package/dist/chaos-manager/src/services/index.d.ts +18 -0
- package/dist/chaos-manager/src/services/index.js +6 -0
- package/dist/chaos-manager/src/services/schemas/InputsetsCreateRequest.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/InputsetsCreateRequest.js +4 -0
- package/dist/chaos-manager/src/services/schemas/InputsetsDeleteResponse.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/InputsetsDeleteResponse.js +4 -0
- package/dist/chaos-manager/src/services/schemas/InputsetsInputSetResponse.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/InputsetsInputSetResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/InputsetsListResponse.d.ts +7 -0
- package/dist/chaos-manager/src/services/schemas/InputsetsListResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/InputsetsUpdateRequest.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/InputsetsUpdateRequest.js +4 -0
- package/dist/chaos-manager/src/services/schemas/InputsetsVariablesResponse.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/InputsetsVariablesResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ScannedrisksScannedRiskSpec.d.ts +1 -0
- package/package.json +1 -1
|
@@ -6,6 +6,7 @@ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
|
6
6
|
export interface CreateExperimentV3MutationQueryParams {
|
|
7
7
|
accountIdentifier: string;
|
|
8
8
|
correlationID?: string;
|
|
9
|
+
isIdentity?: boolean;
|
|
9
10
|
organizationIdentifier?: string;
|
|
10
11
|
parentUniqueId?: string;
|
|
11
12
|
projectIdentifier?: string;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { InputsetsInputSetResponse } from '../schemas/InputsetsInputSetResponse';
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
|
+
import type { InputsetsCreateRequest } from '../schemas/InputsetsCreateRequest';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export interface CreateInputSetV3MutationPathParams {
|
|
7
|
+
identity: string;
|
|
8
|
+
}
|
|
9
|
+
export interface CreateInputSetV3MutationQueryParams {
|
|
10
|
+
'-'?: boolean;
|
|
11
|
+
accountIdentifier: string;
|
|
12
|
+
correlationID?: string;
|
|
13
|
+
/**
|
|
14
|
+
* @default true
|
|
15
|
+
*/
|
|
16
|
+
isIdentity?: boolean;
|
|
17
|
+
organizationIdentifier?: string;
|
|
18
|
+
parentUniqueId?: string;
|
|
19
|
+
projectIdentifier?: string;
|
|
20
|
+
}
|
|
21
|
+
export type CreateInputSetV3RequestBody = InputsetsCreateRequest;
|
|
22
|
+
export type CreateInputSetV3OkResponse = InputsetsInputSetResponse;
|
|
23
|
+
export type CreateInputSetV3ErrorResponse = SharedError;
|
|
24
|
+
export interface CreateInputSetV3Props extends CreateInputSetV3MutationPathParams, Omit<FetcherOptions<CreateInputSetV3MutationQueryParams, CreateInputSetV3RequestBody>, 'url'> {
|
|
25
|
+
queryParams: CreateInputSetV3MutationQueryParams;
|
|
26
|
+
body: CreateInputSetV3RequestBody;
|
|
27
|
+
}
|
|
28
|
+
export interface CreateInputSetV3ResponseContainer {
|
|
29
|
+
body: CreateInputSetV3OkResponse;
|
|
30
|
+
headers: Headers;
|
|
31
|
+
}
|
|
32
|
+
export declare function createInputSetV3(props: CreateInputSetV3Props): Promise<CreateInputSetV3ResponseContainer>;
|
|
33
|
+
export type CreateInputSetV3MutationProps<T extends keyof CreateInputSetV3Props> = Omit<CreateInputSetV3Props, T> & Partial<Pick<CreateInputSetV3Props, T>>;
|
|
34
|
+
/**
|
|
35
|
+
* Creates an input set for the given experiment
|
|
36
|
+
*/
|
|
37
|
+
export declare function useCreateInputSetV3Mutation<T extends keyof CreateInputSetV3Props>(props: Pick<Partial<CreateInputSetV3Props>, T>, options?: Omit<UseMutationOptions<CreateInputSetV3ResponseContainer, CreateInputSetV3ErrorResponse, CreateInputSetV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateInputSetV3ResponseContainer, SharedError, CreateInputSetV3MutationProps<T>, 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 '../../../../custom-fetcher/index.js';
|
|
6
|
+
export function createInputSetV3(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/experiments/${props.identity}/inputsets`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Creates an input set for the given experiment
|
|
11
|
+
*/
|
|
12
|
+
export function useCreateInputSetV3Mutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => createInputSetV3(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
|
+
}
|
|
@@ -8,6 +8,7 @@ export interface DeleteExperimentV3MutationPathParams {
|
|
|
8
8
|
export interface DeleteExperimentV3MutationQueryParams {
|
|
9
9
|
accountIdentifier: string;
|
|
10
10
|
correlationID?: string;
|
|
11
|
+
isIdentity?: boolean;
|
|
11
12
|
organizationIdentifier?: string;
|
|
12
13
|
parentUniqueId?: string;
|
|
13
14
|
projectIdentifier?: string;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { InputsetsDeleteResponse } from '../schemas/InputsetsDeleteResponse';
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
+
export interface DeleteInputSetV3MutationPathParams {
|
|
6
|
+
identity: string;
|
|
7
|
+
inputsetIdentity: string;
|
|
8
|
+
}
|
|
9
|
+
export interface DeleteInputSetV3MutationQueryParams {
|
|
10
|
+
'-'?: boolean;
|
|
11
|
+
accountIdentifier: string;
|
|
12
|
+
correlationID?: string;
|
|
13
|
+
/**
|
|
14
|
+
* @default true
|
|
15
|
+
*/
|
|
16
|
+
isIdentity?: boolean;
|
|
17
|
+
organizationIdentifier?: string;
|
|
18
|
+
parentUniqueId?: string;
|
|
19
|
+
projectIdentifier?: string;
|
|
20
|
+
}
|
|
21
|
+
export type DeleteInputSetV3OkResponse = InputsetsDeleteResponse;
|
|
22
|
+
export type DeleteInputSetV3ErrorResponse = SharedError;
|
|
23
|
+
export interface DeleteInputSetV3Props extends DeleteInputSetV3MutationPathParams, Omit<FetcherOptions<DeleteInputSetV3MutationQueryParams, unknown>, 'url'> {
|
|
24
|
+
queryParams: DeleteInputSetV3MutationQueryParams;
|
|
25
|
+
}
|
|
26
|
+
export interface DeleteInputSetV3ResponseContainer {
|
|
27
|
+
body: DeleteInputSetV3OkResponse;
|
|
28
|
+
headers: Headers;
|
|
29
|
+
}
|
|
30
|
+
export declare function deleteInputSetV3(props: DeleteInputSetV3Props): Promise<DeleteInputSetV3ResponseContainer>;
|
|
31
|
+
export type DeleteInputSetV3MutationProps<T extends keyof DeleteInputSetV3Props> = Omit<DeleteInputSetV3Props, T> & Partial<Pick<DeleteInputSetV3Props, T>>;
|
|
32
|
+
/**
|
|
33
|
+
* Deletes an input set of the given experiment
|
|
34
|
+
*/
|
|
35
|
+
export declare function useDeleteInputSetV3Mutation<T extends keyof DeleteInputSetV3Props>(props: Pick<Partial<DeleteInputSetV3Props>, T>, options?: Omit<UseMutationOptions<DeleteInputSetV3ResponseContainer, DeleteInputSetV3ErrorResponse, DeleteInputSetV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteInputSetV3ResponseContainer, SharedError, DeleteInputSetV3MutationProps<T>, 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 '../../../../custom-fetcher/index.js';
|
|
6
|
+
export function deleteInputSetV3(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/experiments/${props.identity}/inputsets/${props.inputsetIdentity}`, method: 'DELETE' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Deletes an input set of the given experiment
|
|
11
|
+
*/
|
|
12
|
+
export function useDeleteInputSetV3Mutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => deleteInputSetV3(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
|
+
}
|
|
@@ -9,6 +9,7 @@ export interface GetChaosExperimentRunV3QueryPathParams {
|
|
|
9
9
|
export interface GetChaosExperimentRunV3QueryQueryParams {
|
|
10
10
|
accountIdentifier: string;
|
|
11
11
|
correlationID?: string;
|
|
12
|
+
isIdentity?: boolean;
|
|
12
13
|
organizationIdentifier?: string;
|
|
13
14
|
parentUniqueId?: string;
|
|
14
15
|
projectIdentifier?: string;
|
|
@@ -8,6 +8,7 @@ export interface GetExperimentV3QueryPathParams {
|
|
|
8
8
|
export interface GetExperimentV3QueryQueryParams {
|
|
9
9
|
accountIdentifier: string;
|
|
10
10
|
correlationID?: string;
|
|
11
|
+
isIdentity?: boolean;
|
|
11
12
|
organizationIdentifier?: string;
|
|
12
13
|
parentUniqueId?: string;
|
|
13
14
|
projectIdentifier?: string;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { InputsetsInputSetResponse } from '../schemas/InputsetsInputSetResponse';
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
+
export interface GetInputSetV3QueryPathParams {
|
|
6
|
+
identity: string;
|
|
7
|
+
inputsetIdentity: string;
|
|
8
|
+
}
|
|
9
|
+
export interface GetInputSetV3QueryQueryParams {
|
|
10
|
+
'-'?: boolean;
|
|
11
|
+
accountIdentifier: string;
|
|
12
|
+
correlationID?: string;
|
|
13
|
+
/**
|
|
14
|
+
* @default true
|
|
15
|
+
*/
|
|
16
|
+
isIdentity?: boolean;
|
|
17
|
+
organizationIdentifier?: string;
|
|
18
|
+
parentUniqueId?: string;
|
|
19
|
+
projectIdentifier?: string;
|
|
20
|
+
}
|
|
21
|
+
export type GetInputSetV3OkResponse = InputsetsInputSetResponse;
|
|
22
|
+
export type GetInputSetV3ErrorResponse = SharedError;
|
|
23
|
+
export interface GetInputSetV3Props extends GetInputSetV3QueryPathParams, Omit<FetcherOptions<GetInputSetV3QueryQueryParams, unknown>, 'url'> {
|
|
24
|
+
queryParams: GetInputSetV3QueryQueryParams;
|
|
25
|
+
}
|
|
26
|
+
export interface GetInputSetV3ResponseContainer {
|
|
27
|
+
body: GetInputSetV3OkResponse;
|
|
28
|
+
headers: Headers;
|
|
29
|
+
}
|
|
30
|
+
export declare function getInputSetV3(props: GetInputSetV3Props): Promise<GetInputSetV3ResponseContainer>;
|
|
31
|
+
/**
|
|
32
|
+
* Gets an input set of the given experiment
|
|
33
|
+
*/
|
|
34
|
+
export declare function useGetInputSetV3Query(props: GetInputSetV3Props, options?: Omit<UseQueryOptions<GetInputSetV3ResponseContainer, GetInputSetV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetInputSetV3ResponseContainer, SharedError>;
|
|
@@ -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 '../../../../custom-fetcher/index.js';
|
|
6
|
+
export function getInputSetV3(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/experiments/${props.identity}/inputsets/${props.inputsetIdentity}`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Gets an input set of the given experiment
|
|
11
|
+
*/
|
|
12
|
+
export function useGetInputSetV3Query(props, options) {
|
|
13
|
+
return useQuery(['getInputSetV3', props.identity, props.inputsetIdentity, props.queryParams], ({ signal }) => getInputSetV3(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -9,9 +9,9 @@ export interface ListChaosExperimentRunsV3QueryQueryParams {
|
|
|
9
9
|
accountIdentifier: string;
|
|
10
10
|
correlationID?: string;
|
|
11
11
|
endTime?: number;
|
|
12
|
-
experimentIDs?: string;
|
|
13
12
|
experimentRunIDs?: string;
|
|
14
13
|
infraIDs?: string;
|
|
14
|
+
isIdentity?: boolean;
|
|
15
15
|
/**
|
|
16
16
|
* @default 15
|
|
17
17
|
*/
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { InputsetsVariablesResponse } from '../schemas/InputsetsVariablesResponse';
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
+
export interface ListExperimentRuntimeInputsV3QueryPathParams {
|
|
6
|
+
identity: string;
|
|
7
|
+
}
|
|
8
|
+
export interface ListExperimentRuntimeInputsV3QueryQueryParams {
|
|
9
|
+
'-'?: boolean;
|
|
10
|
+
accountIdentifier: string;
|
|
11
|
+
correlationID?: string;
|
|
12
|
+
/**
|
|
13
|
+
* @default true
|
|
14
|
+
*/
|
|
15
|
+
isIdentity?: boolean;
|
|
16
|
+
organizationIdentifier?: string;
|
|
17
|
+
parentUniqueId?: string;
|
|
18
|
+
projectIdentifier?: string;
|
|
19
|
+
}
|
|
20
|
+
export type ListExperimentRuntimeInputsV3OkResponse = InputsetsVariablesResponse;
|
|
21
|
+
export type ListExperimentRuntimeInputsV3ErrorResponse = SharedError;
|
|
22
|
+
export interface ListExperimentRuntimeInputsV3Props extends ListExperimentRuntimeInputsV3QueryPathParams, Omit<FetcherOptions<ListExperimentRuntimeInputsV3QueryQueryParams, unknown>, 'url'> {
|
|
23
|
+
queryParams: ListExperimentRuntimeInputsV3QueryQueryParams;
|
|
24
|
+
}
|
|
25
|
+
export interface ListExperimentRuntimeInputsV3ResponseContainer {
|
|
26
|
+
body: ListExperimentRuntimeInputsV3OkResponse;
|
|
27
|
+
headers: Headers;
|
|
28
|
+
}
|
|
29
|
+
export declare function listExperimentRuntimeInputsV3(props: ListExperimentRuntimeInputsV3Props): Promise<ListExperimentRuntimeInputsV3ResponseContainer>;
|
|
30
|
+
/**
|
|
31
|
+
* Lists the runtime inputs an experiment exposes, which an input set supplies values for
|
|
32
|
+
*/
|
|
33
|
+
export declare function useListExperimentRuntimeInputsV3Query(props: ListExperimentRuntimeInputsV3Props, options?: Omit<UseQueryOptions<ListExperimentRuntimeInputsV3ResponseContainer, ListExperimentRuntimeInputsV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListExperimentRuntimeInputsV3ResponseContainer, SharedError>;
|
|
@@ -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 '../../../../custom-fetcher/index.js';
|
|
6
|
+
export function listExperimentRuntimeInputsV3(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/experiments/${props.identity}/variables`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Lists the runtime inputs an experiment exposes, which an input set supplies values for
|
|
11
|
+
*/
|
|
12
|
+
export function useListExperimentRuntimeInputsV3Query(props, options) {
|
|
13
|
+
return useQuery(['listExperimentRuntimeInputsV3', props.identity, props.queryParams], ({ signal }) => listExperimentRuntimeInputsV3(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { InputsetsListResponse } from '../schemas/InputsetsListResponse';
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
+
export interface ListInputSetsV3QueryPathParams {
|
|
6
|
+
identity: string;
|
|
7
|
+
}
|
|
8
|
+
export interface ListInputSetsV3QueryQueryParams {
|
|
9
|
+
'-'?: boolean;
|
|
10
|
+
accountIdentifier: string;
|
|
11
|
+
correlationID?: string;
|
|
12
|
+
/**
|
|
13
|
+
* @default true
|
|
14
|
+
*/
|
|
15
|
+
isIdentity?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* @default 15
|
|
18
|
+
*/
|
|
19
|
+
limit?: number;
|
|
20
|
+
organizationIdentifier?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @default 0
|
|
23
|
+
*/
|
|
24
|
+
page?: number;
|
|
25
|
+
parentUniqueId?: string;
|
|
26
|
+
projectIdentifier?: string;
|
|
27
|
+
search?: string;
|
|
28
|
+
}
|
|
29
|
+
export type ListInputSetsV3OkResponse = InputsetsListResponse;
|
|
30
|
+
export type ListInputSetsV3ErrorResponse = SharedError;
|
|
31
|
+
export interface ListInputSetsV3Props extends ListInputSetsV3QueryPathParams, Omit<FetcherOptions<ListInputSetsV3QueryQueryParams, unknown>, 'url'> {
|
|
32
|
+
queryParams: ListInputSetsV3QueryQueryParams;
|
|
33
|
+
}
|
|
34
|
+
export interface ListInputSetsV3ResponseContainer {
|
|
35
|
+
body: ListInputSetsV3OkResponse;
|
|
36
|
+
headers: Headers;
|
|
37
|
+
}
|
|
38
|
+
export declare function listInputSetsV3(props: ListInputSetsV3Props): Promise<ListInputSetsV3ResponseContainer>;
|
|
39
|
+
/**
|
|
40
|
+
* Lists the input sets of the given experiment
|
|
41
|
+
*/
|
|
42
|
+
export declare function useListInputSetsV3Query(props: ListInputSetsV3Props, options?: Omit<UseQueryOptions<ListInputSetsV3ResponseContainer, ListInputSetsV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListInputSetsV3ResponseContainer, SharedError>;
|
|
@@ -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 '../../../../custom-fetcher/index.js';
|
|
6
|
+
export function listInputSetsV3(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/experiments/${props.identity}/inputsets`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Lists the input sets of the given experiment
|
|
11
|
+
*/
|
|
12
|
+
export function useListInputSetsV3Query(props, options) {
|
|
13
|
+
return useQuery(['listInputSetsV3', props.identity, props.queryParams], ({ signal }) => listInputSetsV3(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -25,7 +25,7 @@ export interface ListScannedRisksQueryQueryParams {
|
|
|
25
25
|
serviceIdentity?: string;
|
|
26
26
|
severity?: string;
|
|
27
27
|
sortAscending?: boolean;
|
|
28
|
-
sortField?: '
|
|
28
|
+
sortField?: 'firstDetected' | 'lastDetected' | 'lastUpdated' | 'name' | 'occurrenceCount' | 'severity';
|
|
29
29
|
source?: 'DiscoveryAgent' | 'PipelineExecution' | 'ProbeExecution';
|
|
30
30
|
startTime?: number;
|
|
31
31
|
tags?: string;
|
|
@@ -9,6 +9,7 @@ export interface StopChaosExperimentV3MutationPathParams {
|
|
|
9
9
|
export interface StopChaosExperimentV3MutationQueryParams {
|
|
10
10
|
accountIdentifier: string;
|
|
11
11
|
correlationID?: string;
|
|
12
|
+
isIdentity?: boolean;
|
|
12
13
|
organizationIdentifier?: string;
|
|
13
14
|
parentUniqueId?: string;
|
|
14
15
|
projectIdentifier?: string;
|
|
@@ -6,6 +6,7 @@ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
|
6
6
|
export interface UpdateCronStateV3MutationQueryParams {
|
|
7
7
|
accountIdentifier: string;
|
|
8
8
|
correlationID?: string;
|
|
9
|
+
isIdentity?: boolean;
|
|
9
10
|
organizationIdentifier?: string;
|
|
10
11
|
parentUniqueId?: string;
|
|
11
12
|
projectIdentifier?: string;
|
|
@@ -9,6 +9,7 @@ export interface UpdateExperimentV3MutationPathParams {
|
|
|
9
9
|
export interface UpdateExperimentV3MutationQueryParams {
|
|
10
10
|
accountIdentifier: string;
|
|
11
11
|
correlationID?: string;
|
|
12
|
+
isIdentity?: boolean;
|
|
12
13
|
organizationIdentifier?: string;
|
|
13
14
|
parentUniqueId?: string;
|
|
14
15
|
projectIdentifier?: string;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { InputsetsInputSetResponse } from '../schemas/InputsetsInputSetResponse';
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
|
+
import type { InputsetsUpdateRequest } from '../schemas/InputsetsUpdateRequest';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export interface UpdateInputSetV3MutationPathParams {
|
|
7
|
+
identity: string;
|
|
8
|
+
inputsetIdentity: string;
|
|
9
|
+
}
|
|
10
|
+
export interface UpdateInputSetV3MutationQueryParams {
|
|
11
|
+
'-'?: boolean;
|
|
12
|
+
accountIdentifier: string;
|
|
13
|
+
correlationID?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @default true
|
|
16
|
+
*/
|
|
17
|
+
isIdentity?: boolean;
|
|
18
|
+
organizationIdentifier?: string;
|
|
19
|
+
parentUniqueId?: string;
|
|
20
|
+
projectIdentifier?: string;
|
|
21
|
+
}
|
|
22
|
+
export type UpdateInputSetV3RequestBody = InputsetsUpdateRequest;
|
|
23
|
+
export type UpdateInputSetV3OkResponse = InputsetsInputSetResponse;
|
|
24
|
+
export type UpdateInputSetV3ErrorResponse = SharedError;
|
|
25
|
+
export interface UpdateInputSetV3Props extends UpdateInputSetV3MutationPathParams, Omit<FetcherOptions<UpdateInputSetV3MutationQueryParams, UpdateInputSetV3RequestBody>, 'url'> {
|
|
26
|
+
queryParams: UpdateInputSetV3MutationQueryParams;
|
|
27
|
+
body: UpdateInputSetV3RequestBody;
|
|
28
|
+
}
|
|
29
|
+
export interface UpdateInputSetV3ResponseContainer {
|
|
30
|
+
body: UpdateInputSetV3OkResponse;
|
|
31
|
+
headers: Headers;
|
|
32
|
+
}
|
|
33
|
+
export declare function updateInputSetV3(props: UpdateInputSetV3Props): Promise<UpdateInputSetV3ResponseContainer>;
|
|
34
|
+
export type UpdateInputSetV3MutationProps<T extends keyof UpdateInputSetV3Props> = Omit<UpdateInputSetV3Props, T> & Partial<Pick<UpdateInputSetV3Props, T>>;
|
|
35
|
+
/**
|
|
36
|
+
* Updates an input set of the given experiment
|
|
37
|
+
*/
|
|
38
|
+
export declare function useUpdateInputSetV3Mutation<T extends keyof UpdateInputSetV3Props>(props: Pick<Partial<UpdateInputSetV3Props>, T>, options?: Omit<UseMutationOptions<UpdateInputSetV3ResponseContainer, UpdateInputSetV3ErrorResponse, UpdateInputSetV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateInputSetV3ResponseContainer, SharedError, UpdateInputSetV3MutationProps<T>, 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 '../../../../custom-fetcher/index.js';
|
|
6
|
+
export function updateInputSetV3(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/experiments/${props.identity}/inputsets/${props.inputsetIdentity}`, method: 'PUT' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Updates an input set of the given experiment
|
|
11
|
+
*/
|
|
12
|
+
export function useUpdateInputSetV3Mutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => updateInputSetV3(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
|
+
}
|
|
@@ -52,6 +52,8 @@ export type { CreateImageRegistryV3ErrorResponse, CreateImageRegistryV3MutationP
|
|
|
52
52
|
export { createImageRegistryV3, useCreateImageRegistryV3Mutation, } from './hooks/useCreateImageRegistryV3Mutation';
|
|
53
53
|
export type { CreateInputSetErrorResponse, CreateInputSetMutationPathParams, CreateInputSetMutationProps, CreateInputSetMutationQueryParams, CreateInputSetOkResponse, CreateInputSetProps, CreateInputSetRequestBody, } from './hooks/useCreateInputSetMutation';
|
|
54
54
|
export { createInputSet, useCreateInputSetMutation } from './hooks/useCreateInputSetMutation';
|
|
55
|
+
export type { CreateInputSetV3ErrorResponse, CreateInputSetV3MutationPathParams, CreateInputSetV3MutationProps, CreateInputSetV3MutationQueryParams, CreateInputSetV3OkResponse, CreateInputSetV3Props, CreateInputSetV3RequestBody, } from './hooks/useCreateInputSetV3Mutation';
|
|
56
|
+
export { createInputSetV3, useCreateInputSetV3Mutation } from './hooks/useCreateInputSetV3Mutation';
|
|
55
57
|
export type { CreateProbeErrorResponse, CreateProbeMutationProps, CreateProbeMutationQueryParams, CreateProbeOkResponse, CreateProbeProps, CreateProbeRequestBody, } from './hooks/useCreateProbeMutation';
|
|
56
58
|
export { createProbe, useCreateProbeMutation } from './hooks/useCreateProbeMutation';
|
|
57
59
|
export type { CreateProbeTemplateErrorResponse, CreateProbeTemplateMutationProps, CreateProbeTemplateMutationQueryParams, CreateProbeTemplateOkResponse, CreateProbeTemplateProps, CreateProbeTemplateRequestBody, } from './hooks/useCreateProbeTemplateMutation';
|
|
@@ -94,6 +96,8 @@ export type { DeleteInfraV2ErrorResponse, DeleteInfraV2MutationPathParams, Delet
|
|
|
94
96
|
export { deleteInfraV2, useDeleteInfraV2Mutation } from './hooks/useDeleteInfraV2Mutation';
|
|
95
97
|
export type { DeleteInputSetErrorResponse, DeleteInputSetMutationPathParams, DeleteInputSetMutationProps, DeleteInputSetMutationQueryParams, DeleteInputSetOkResponse, DeleteInputSetProps, } from './hooks/useDeleteInputSetMutation';
|
|
96
98
|
export { deleteInputSet, useDeleteInputSetMutation } from './hooks/useDeleteInputSetMutation';
|
|
99
|
+
export type { DeleteInputSetV3ErrorResponse, DeleteInputSetV3MutationPathParams, DeleteInputSetV3MutationProps, DeleteInputSetV3MutationQueryParams, DeleteInputSetV3OkResponse, DeleteInputSetV3Props, } from './hooks/useDeleteInputSetV3Mutation';
|
|
100
|
+
export { deleteInputSetV3, useDeleteInputSetV3Mutation } from './hooks/useDeleteInputSetV3Mutation';
|
|
97
101
|
export type { DeleteLegacyKubernetesChaosInfraErrorResponse, DeleteLegacyKubernetesChaosInfraMutationPathParams, DeleteLegacyKubernetesChaosInfraMutationProps, DeleteLegacyKubernetesChaosInfraMutationQueryParams, DeleteLegacyKubernetesChaosInfraOkResponse, DeleteLegacyKubernetesChaosInfraProps, } from './hooks/useDeleteLegacyKubernetesChaosInfraMutation';
|
|
98
102
|
export { deleteLegacyKubernetesChaosInfra, useDeleteLegacyKubernetesChaosInfraMutation, } from './hooks/useDeleteLegacyKubernetesChaosInfraMutation';
|
|
99
103
|
export type { DeleteMachineChaosInfraErrorResponse, DeleteMachineChaosInfraMutationPathParams, DeleteMachineChaosInfraMutationProps, DeleteMachineChaosInfraMutationQueryParams, DeleteMachineChaosInfraOkResponse, DeleteMachineChaosInfraProps, } from './hooks/useDeleteMachineChaosInfraMutation';
|
|
@@ -226,6 +230,8 @@ export type { GetInfraV2ErrorResponse, GetInfraV2OkResponse, GetInfraV2Props, Ge
|
|
|
226
230
|
export { getInfraV2, useGetInfraV2Query } from './hooks/useGetInfraV2Query';
|
|
227
231
|
export type { GetInputSetErrorResponse, GetInputSetOkResponse, GetInputSetProps, GetInputSetQueryPathParams, GetInputSetQueryQueryParams, } from './hooks/useGetInputSetQuery';
|
|
228
232
|
export { getInputSet, useGetInputSetQuery } from './hooks/useGetInputSetQuery';
|
|
233
|
+
export type { GetInputSetV3ErrorResponse, GetInputSetV3OkResponse, GetInputSetV3Props, GetInputSetV3QueryPathParams, GetInputSetV3QueryQueryParams, } from './hooks/useGetInputSetV3Query';
|
|
234
|
+
export { getInputSetV3, useGetInputSetV3Query } from './hooks/useGetInputSetV3Query';
|
|
229
235
|
export type { GetKubeObjectV3ErrorResponse, GetKubeObjectV3MutationPathParams, GetKubeObjectV3MutationProps, GetKubeObjectV3MutationQueryParams, GetKubeObjectV3OkResponse, GetKubeObjectV3Props, GetKubeObjectV3RequestBody, } from './hooks/useGetKubeObjectV3Mutation';
|
|
230
236
|
export { getKubeObjectV3, useGetKubeObjectV3Mutation } from './hooks/useGetKubeObjectV3Mutation';
|
|
231
237
|
export type { GetLegacyKubernetesChaosInfraDetailsErrorResponse, GetLegacyKubernetesChaosInfraDetailsOkResponse, GetLegacyKubernetesChaosInfraDetailsProps, GetLegacyKubernetesChaosInfraDetailsQueryPathParams, GetLegacyKubernetesChaosInfraDetailsQueryQueryParams, } from './hooks/useGetLegacyKubernetesChaosInfraDetailsQuery';
|
|
@@ -340,6 +346,8 @@ export type { ListExperimentOrTemplateErrorResponse, ListExperimentOrTemplateOkR
|
|
|
340
346
|
export { listExperimentOrTemplate, useListExperimentOrTemplateQuery, } from './hooks/useListExperimentOrTemplateQuery';
|
|
341
347
|
export type { ListExperimentRunsOfFaultErrorResponse, ListExperimentRunsOfFaultOkResponse, ListExperimentRunsOfFaultProps, ListExperimentRunsOfFaultQueryPathParams, ListExperimentRunsOfFaultQueryQueryParams, } from './hooks/useListExperimentRunsOfFaultQuery';
|
|
342
348
|
export { listExperimentRunsOfFault, useListExperimentRunsOfFaultQuery, } from './hooks/useListExperimentRunsOfFaultQuery';
|
|
349
|
+
export type { ListExperimentRuntimeInputsV3ErrorResponse, ListExperimentRuntimeInputsV3OkResponse, ListExperimentRuntimeInputsV3Props, ListExperimentRuntimeInputsV3QueryPathParams, ListExperimentRuntimeInputsV3QueryQueryParams, } from './hooks/useListExperimentRuntimeInputsV3Query';
|
|
350
|
+
export { listExperimentRuntimeInputsV3, useListExperimentRuntimeInputsV3Query, } from './hooks/useListExperimentRuntimeInputsV3Query';
|
|
343
351
|
export type { ListExperimentTemplateErrorResponse, ListExperimentTemplateOkResponse, ListExperimentTemplateProps, ListExperimentTemplateQueryQueryParams, } from './hooks/useListExperimentTemplateQuery';
|
|
344
352
|
export { listExperimentTemplate, useListExperimentTemplateQuery, } from './hooks/useListExperimentTemplateQuery';
|
|
345
353
|
export type { ListExperimentsErrorResponse, ListExperimentsOkResponse, ListExperimentsProps, ListExperimentsQueryQueryParams, ListExperimentsRequestBody, } from './hooks/useListExperimentsQuery';
|
|
@@ -368,6 +376,8 @@ export type { ListInfraV2ErrorResponse, ListInfraV2OkResponse, ListInfraV2Props,
|
|
|
368
376
|
export { listInfraV2, useListInfraV2Query } from './hooks/useListInfraV2Query';
|
|
369
377
|
export type { ListInputSetErrorResponse, ListInputSetOkResponse, ListInputSetProps, ListInputSetQueryPathParams, ListInputSetQueryQueryParams, } from './hooks/useListInputSetQuery';
|
|
370
378
|
export { listInputSet, useListInputSetQuery } from './hooks/useListInputSetQuery';
|
|
379
|
+
export type { ListInputSetsV3ErrorResponse, ListInputSetsV3OkResponse, ListInputSetsV3Props, ListInputSetsV3QueryPathParams, ListInputSetsV3QueryQueryParams, } from './hooks/useListInputSetsV3Query';
|
|
380
|
+
export { listInputSetsV3, useListInputSetsV3Query } from './hooks/useListInputSetsV3Query';
|
|
371
381
|
export type { ListK8sInfrasV2ErrorResponse, ListK8sInfrasV2MutationProps, ListK8sInfrasV2MutationQueryParams, ListK8sInfrasV2OkResponse, ListK8sInfrasV2Props, ListK8sInfrasV2RequestBody, } from './hooks/useListK8sInfrasV2Mutation';
|
|
372
382
|
export { listK8sInfrasV2, useListK8sInfrasV2Mutation } from './hooks/useListK8sInfrasV2Mutation';
|
|
373
383
|
export type { ListLegacyKubernetesChaosInfraErrorResponse, ListLegacyKubernetesChaosInfraMutationProps, ListLegacyKubernetesChaosInfraMutationQueryParams, ListLegacyKubernetesChaosInfraOkResponse, ListLegacyKubernetesChaosInfraProps, ListLegacyKubernetesChaosInfraRequestBody, } from './hooks/useListLegacyKubernetesChaosInfraMutation';
|
|
@@ -516,6 +526,8 @@ export type { UpdateInfraV2ErrorResponse, UpdateInfraV2MutationProps, UpdateInfr
|
|
|
516
526
|
export { updateInfraV2, useUpdateInfraV2Mutation } from './hooks/useUpdateInfraV2Mutation';
|
|
517
527
|
export type { UpdateInputSetErrorResponse, UpdateInputSetMutationPathParams, UpdateInputSetMutationProps, UpdateInputSetMutationQueryParams, UpdateInputSetOkResponse, UpdateInputSetProps, UpdateInputSetRequestBody, } from './hooks/useUpdateInputSetMutation';
|
|
518
528
|
export { updateInputSet, useUpdateInputSetMutation } from './hooks/useUpdateInputSetMutation';
|
|
529
|
+
export type { UpdateInputSetV3ErrorResponse, UpdateInputSetV3MutationPathParams, UpdateInputSetV3MutationProps, UpdateInputSetV3MutationQueryParams, UpdateInputSetV3OkResponse, UpdateInputSetV3Props, UpdateInputSetV3RequestBody, } from './hooks/useUpdateInputSetV3Mutation';
|
|
530
|
+
export { updateInputSetV3, useUpdateInputSetV3Mutation } from './hooks/useUpdateInputSetV3Mutation';
|
|
519
531
|
export type { UpdateLegacyKubernetesChaosInfraErrorResponse, UpdateLegacyKubernetesChaosInfraMutationPathParams, UpdateLegacyKubernetesChaosInfraMutationProps, UpdateLegacyKubernetesChaosInfraMutationQueryParams, UpdateLegacyKubernetesChaosInfraOkResponse, UpdateLegacyKubernetesChaosInfraProps, UpdateLegacyKubernetesChaosInfraRequestBody, } from './hooks/useUpdateLegacyKubernetesChaosInfraMutation';
|
|
520
532
|
export { updateLegacyKubernetesChaosInfra, useUpdateLegacyKubernetesChaosInfraMutation, } from './hooks/useUpdateLegacyKubernetesChaosInfraMutation';
|
|
521
533
|
export type { UpdateMachineInfraErrorResponse, UpdateMachineInfraMutationPathParams, UpdateMachineInfraMutationProps, UpdateMachineInfraMutationQueryParams, UpdateMachineInfraOkResponse, UpdateMachineInfraProps, UpdateMachineInfraRequestBody, } from './hooks/useUpdateMachineInfraMutation';
|
|
@@ -1069,11 +1081,17 @@ export type { InfraopsObjectData } from './schemas/InfraopsObjectData';
|
|
|
1069
1081
|
export type { InputsetInputSet } from './schemas/InputsetInputSet';
|
|
1070
1082
|
export type { InputsetsCreateInputSetRequest } from './schemas/InputsetsCreateInputSetRequest';
|
|
1071
1083
|
export type { InputsetsCreateInputSetResponse } from './schemas/InputsetsCreateInputSetResponse';
|
|
1084
|
+
export type { InputsetsCreateRequest } from './schemas/InputsetsCreateRequest';
|
|
1072
1085
|
export type { InputsetsDeleteInputSetResponse } from './schemas/InputsetsDeleteInputSetResponse';
|
|
1086
|
+
export type { InputsetsDeleteResponse } from './schemas/InputsetsDeleteResponse';
|
|
1073
1087
|
export type { InputsetsGetInputSetResponse } from './schemas/InputsetsGetInputSetResponse';
|
|
1088
|
+
export type { InputsetsInputSetResponse } from './schemas/InputsetsInputSetResponse';
|
|
1074
1089
|
export type { InputsetsListInputSetResponse } from './schemas/InputsetsListInputSetResponse';
|
|
1090
|
+
export type { InputsetsListResponse } from './schemas/InputsetsListResponse';
|
|
1075
1091
|
export type { InputsetsUpdateInputSetRequest } from './schemas/InputsetsUpdateInputSetRequest';
|
|
1076
1092
|
export type { InputsetsUpdateInputSetResponse } from './schemas/InputsetsUpdateInputSetResponse';
|
|
1093
|
+
export type { InputsetsUpdateRequest } from './schemas/InputsetsUpdateRequest';
|
|
1094
|
+
export type { InputsetsVariablesResponse } from './schemas/InputsetsVariablesResponse';
|
|
1077
1095
|
export type { IntstrIntOrString } from './schemas/IntstrIntOrString';
|
|
1078
1096
|
export type { IntstrType } from './schemas/IntstrType';
|
|
1079
1097
|
export type { K8sIoApiCoreV1EnvVar } from './schemas/K8sIoApiCoreV1EnvVar';
|
|
@@ -25,6 +25,7 @@ export { createFault, useCreateFaultMutation } from './hooks/useCreateFaultMutat
|
|
|
25
25
|
export { createFaultTemplate, useCreateFaultTemplateMutation, } from './hooks/useCreateFaultTemplateMutation';
|
|
26
26
|
export { createImageRegistryV3, useCreateImageRegistryV3Mutation, } from './hooks/useCreateImageRegistryV3Mutation';
|
|
27
27
|
export { createInputSet, useCreateInputSetMutation } from './hooks/useCreateInputSetMutation';
|
|
28
|
+
export { createInputSetV3, useCreateInputSetV3Mutation } from './hooks/useCreateInputSetV3Mutation';
|
|
28
29
|
export { createProbe, useCreateProbeMutation } from './hooks/useCreateProbeMutation';
|
|
29
30
|
export { createProbeTemplate, useCreateProbeTemplateMutation, } from './hooks/useCreateProbeTemplateMutation';
|
|
30
31
|
export { createRecommendation, useCreateRecommendationMutation, } from './hooks/useCreateRecommendationMutation';
|
|
@@ -46,6 +47,7 @@ export { deleteFaultTemplate, useDeleteFaultTemplateMutation, } from './hooks/us
|
|
|
46
47
|
export { deleteHub, useDeleteHubMutation } from './hooks/useDeleteHubMutation';
|
|
47
48
|
export { deleteInfraV2, useDeleteInfraV2Mutation } from './hooks/useDeleteInfraV2Mutation';
|
|
48
49
|
export { deleteInputSet, useDeleteInputSetMutation } from './hooks/useDeleteInputSetMutation';
|
|
50
|
+
export { deleteInputSetV3, useDeleteInputSetV3Mutation } from './hooks/useDeleteInputSetV3Mutation';
|
|
49
51
|
export { deleteLegacyKubernetesChaosInfra, useDeleteLegacyKubernetesChaosInfraMutation, } from './hooks/useDeleteLegacyKubernetesChaosInfraMutation';
|
|
50
52
|
export { deleteMachineChaosInfra, useDeleteMachineChaosInfraMutation, } from './hooks/useDeleteMachineChaosInfraMutation';
|
|
51
53
|
export { deletePipelineOnboarding, useDeletePipelineOnboardingMutation, } from './hooks/useDeletePipelineOnboardingMutation';
|
|
@@ -112,6 +114,7 @@ export { getImageRegistryV3, useGetImageRegistryV3Query } from './hooks/useGetIm
|
|
|
112
114
|
export { getInfraToken, useGetInfraTokenQuery } from './hooks/useGetInfraTokenQuery';
|
|
113
115
|
export { getInfraV2, useGetInfraV2Query } from './hooks/useGetInfraV2Query';
|
|
114
116
|
export { getInputSet, useGetInputSetQuery } from './hooks/useGetInputSetQuery';
|
|
117
|
+
export { getInputSetV3, useGetInputSetV3Query } from './hooks/useGetInputSetV3Query';
|
|
115
118
|
export { getKubeObjectV3, useGetKubeObjectV3Mutation } from './hooks/useGetKubeObjectV3Mutation';
|
|
116
119
|
export { getLegacyKubernetesChaosInfraDetails, useGetLegacyKubernetesChaosInfraDetailsQuery, } from './hooks/useGetLegacyKubernetesChaosInfraDetailsQuery';
|
|
117
120
|
export { getLegacyKubernetesChaosInfraManifest, useGetLegacyKubernetesChaosInfraManifestQuery, } from './hooks/useGetLegacyKubernetesChaosInfraManifestQuery';
|
|
@@ -169,6 +172,7 @@ export { listDrTests, useListDrTestsQuery } from './hooks/useListDrTestsQuery';
|
|
|
169
172
|
export { listExperimentMetadata, useListExperimentMetadataQuery, } from './hooks/useListExperimentMetadataQuery';
|
|
170
173
|
export { listExperimentOrTemplate, useListExperimentOrTemplateQuery, } from './hooks/useListExperimentOrTemplateQuery';
|
|
171
174
|
export { listExperimentRunsOfFault, useListExperimentRunsOfFaultQuery, } from './hooks/useListExperimentRunsOfFaultQuery';
|
|
175
|
+
export { listExperimentRuntimeInputsV3, useListExperimentRuntimeInputsV3Query, } from './hooks/useListExperimentRuntimeInputsV3Query';
|
|
172
176
|
export { listExperimentTemplate, useListExperimentTemplateQuery, } from './hooks/useListExperimentTemplateQuery';
|
|
173
177
|
export { listExperiments, useListExperimentsQuery } from './hooks/useListExperimentsQuery';
|
|
174
178
|
export { listExperimentsV3, useListExperimentsV3Query } from './hooks/useListExperimentsV3Query';
|
|
@@ -183,6 +187,7 @@ export { listHarnessInfra, useListHarnessInfraQuery } from './hooks/useListHarne
|
|
|
183
187
|
export { listHubMetadata, useListHubMetadataQuery } from './hooks/useListHubMetadataQuery';
|
|
184
188
|
export { listInfraV2, useListInfraV2Query } from './hooks/useListInfraV2Query';
|
|
185
189
|
export { listInputSet, useListInputSetQuery } from './hooks/useListInputSetQuery';
|
|
190
|
+
export { listInputSetsV3, useListInputSetsV3Query } from './hooks/useListInputSetsV3Query';
|
|
186
191
|
export { listK8sInfrasV2, useListK8sInfrasV2Mutation } from './hooks/useListK8sInfrasV2Mutation';
|
|
187
192
|
export { listLegacyKubernetesChaosInfra, useListLegacyKubernetesChaosInfraMutation, } from './hooks/useListLegacyKubernetesChaosInfraMutation';
|
|
188
193
|
export { listMachineChaosInfra, useListMachineChaosInfraQuery, } from './hooks/useListMachineChaosInfraQuery';
|
|
@@ -257,6 +262,7 @@ export { updateFaultTemplate, useUpdateFaultTemplateMutation, } from './hooks/us
|
|
|
257
262
|
export { updateImageRegistryV3, useUpdateImageRegistryV3Mutation, } from './hooks/useUpdateImageRegistryV3Mutation';
|
|
258
263
|
export { updateInfraV2, useUpdateInfraV2Mutation } from './hooks/useUpdateInfraV2Mutation';
|
|
259
264
|
export { updateInputSet, useUpdateInputSetMutation } from './hooks/useUpdateInputSetMutation';
|
|
265
|
+
export { updateInputSetV3, useUpdateInputSetV3Mutation } from './hooks/useUpdateInputSetV3Mutation';
|
|
260
266
|
export { updateLegacyKubernetesChaosInfra, useUpdateLegacyKubernetesChaosInfraMutation, } from './hooks/useUpdateLegacyKubernetesChaosInfraMutation';
|
|
261
267
|
export { updateMachineInfra, useUpdateMachineInfraMutation, } from './hooks/useUpdateMachineInfraMutation';
|
|
262
268
|
export { updateNote, useUpdateNoteMutation } from './hooks/useUpdateNoteMutation';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { InputsetInputSet } from '../schemas/InputsetInputSet';
|
|
2
|
+
import type { SharedPaginationResponse } from '../schemas/SharedPaginationResponse';
|
|
3
|
+
export interface InputsetsListResponse {
|
|
4
|
+
correlationID?: string;
|
|
5
|
+
data?: InputsetInputSet[];
|
|
6
|
+
pagination?: SharedPaginationResponse;
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -14,6 +14,7 @@ export interface ScannedrisksScannedRiskSpec {
|
|
|
14
14
|
riskRuleId?: string;
|
|
15
15
|
riskRuleName?: string;
|
|
16
16
|
severity?: RiskSeverity;
|
|
17
|
+
severityOrder?: number;
|
|
17
18
|
/**
|
|
18
19
|
* Sources is the deduplicated set of scan sources (e.g. DiscoveryAgent,
|
|
19
20
|
* PipelineExecution, ProbeExecution) across all of this risk's occurrences.
|
package/package.json
CHANGED