@harnessio/react-chaos-manager-client 1.72.0 → 1.74.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/useCleanupChaosResourcesV3Mutation.d.ts +34 -0
- package/dist/chaos-manager/src/services/hooks/useCleanupChaosResourcesV3Mutation.js +16 -0
- package/dist/chaos-manager/src/services/hooks/useGetChaosCleanupStatusV3Query.d.ts +29 -0
- package/dist/chaos-manager/src/services/hooks/useGetChaosCleanupStatusV3Query.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useGetCleanupCommandUnitStatusesQuery.d.ts +25 -0
- package/dist/chaos-manager/src/services/hooks/useGetCleanupCommandUnitStatusesQuery.js +15 -0
- package/dist/chaos-manager/src/services/hooks/useGetServiceRiskScanQuery.d.ts +27 -0
- package/dist/chaos-manager/src/services/hooks/useGetServiceRiskScanQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useListChaosServiceLoadTestsQuery.d.ts +46 -0
- package/dist/chaos-manager/src/services/hooks/useListChaosServiceLoadTestsQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useOnboardingConfirmServiceRiskScanMutation.d.ts +28 -0
- package/dist/chaos-manager/src/services/hooks/useOnboardingConfirmServiceRiskScanMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useSkipOnboardingMutation.d.ts +28 -0
- package/dist/chaos-manager/src/services/hooks/useSkipOnboardingMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useTriggerServiceRiskScanMutation.d.ts +28 -0
- package/dist/chaos-manager/src/services/hooks/useTriggerServiceRiskScanMutation.js +14 -0
- package/dist/chaos-manager/src/services/index.d.ts +29 -0
- package/dist/chaos-manager/src/services/index.js +8 -0
- package/dist/chaos-manager/src/services/schemas/ActionActionTemplateRunProperties.d.ts +2 -6
- package/dist/chaos-manager/src/services/schemas/ChaosExperimentRunChaosExperimentRun.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExperimentRunRunContainerStatus.d.ts +11 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExperimentRunRunContainerStatus.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExperimentRunRunFailureDetails.d.ts +8 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExperimentRunRunFailureDetails.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosservicesExperimentExecutionResponse.d.ts +4 -1
- package/dist/chaos-manager/src/services/schemas/ChaosservicesExperimentExecutionResponse.js +0 -3
- package/dist/chaos-manager/src/services/schemas/ChaosservicesListLoadTestsResponse.d.ts +7 -0
- package/dist/chaos-manager/src/services/schemas/ChaosservicesListLoadTestsResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosservicesLoadTestSummaryResponse.d.ts +31 -0
- package/dist/chaos-manager/src/services/schemas/ChaosservicesLoadTestSummaryResponse.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ExecutionExecutionOutputResponse.d.ts +1 -3
- package/dist/chaos-manager/src/services/schemas/ExperimentRunUpdateExperimentRunWithErrorRequest.d.ts +7 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentRunUpdateExperimentRunWithErrorRequest.js +0 -3
- package/dist/chaos-manager/src/services/schemas/ExperimentrunsCleanupExperimentRunResourcesBody.d.ts +13 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentrunsCleanupExperimentRunResourcesBody.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentrunsCleanupExperimentRunResourcesResponse.d.ts +16 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentrunsCleanupExperimentRunResourcesResponse.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentrunsGetCleanupStatusResponse.d.ts +55 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentrunsGetCleanupStatusResponse.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentrunsGetExperimentRunResponse.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppdMetrics.d.ts +1 -3
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDatadogApmProbeInputs.d.ts +1 -3
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDynatraceApmProbeInputs.d.ts +1 -3
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkEnterpriseProbeInputs.d.ts +1 -3
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkObservabilityMetrics.d.ts +1 -3
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppdMetrics.d.ts +1 -3
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDatadogApmProbeInputs.d.ts +1 -3
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDynatraceApmProbeInputs.d.ts +1 -3
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkEnterpriseProbeInputs.d.ts +1 -3
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityMetrics.d.ts +1 -3
- package/dist/chaos-manager/src/services/schemas/ModelInput.d.ts +2 -6
- package/dist/chaos-manager/src/services/schemas/PipelinesCreatePipelineResponse.d.ts +1 -3
- package/dist/chaos-manager/src/services/schemas/ProbeApmProbe.d.ts +3 -9
- package/dist/chaos-manager/src/services/schemas/ProbeCmdProbeTemplate.d.ts +1 -3
- package/dist/chaos-manager/src/services/schemas/ProbeContainerProbe.d.ts +3 -9
- package/dist/chaos-manager/src/services/schemas/ProbeDatadogProbe.d.ts +3 -9
- package/dist/chaos-manager/src/services/schemas/ProbeDynatraceProbe.d.ts +3 -9
- package/dist/chaos-manager/src/services/schemas/ProbeEvaluationWindow.d.ts +2 -6
- package/dist/chaos-manager/src/services/schemas/ProbeEvaluationWindowTemplate.d.ts +2 -6
- package/dist/chaos-manager/src/services/schemas/ProbeHttpProbe.d.ts +3 -9
- package/dist/chaos-manager/src/services/schemas/ProbeK8SProbe.d.ts +3 -9
- package/dist/chaos-manager/src/services/schemas/ProbeKubernetesCmdProbe.d.ts +4 -12
- package/dist/chaos-manager/src/services/schemas/ProbeLinuxCmdProbe.d.ts +4 -12
- package/dist/chaos-manager/src/services/schemas/ProbeProbeTemplateRunProperties.d.ts +2 -6
- package/dist/chaos-manager/src/services/schemas/ProbePromProbe.d.ts +3 -9
- package/dist/chaos-manager/src/services/schemas/ProbeSloProbe.d.ts +3 -9
- package/dist/chaos-manager/src/services/schemas/ProbeTlsConfigSm.d.ts +1 -3
- package/dist/chaos-manager/src/services/schemas/ProbeWindowsCmdProbe.d.ts +3 -9
- package/dist/chaos-manager/src/services/schemas/TemplateInput.d.ts +3 -9
- package/dist/chaos-manager/src/services/schemas/TemplateInputMinimum.d.ts +1 -3
- package/dist/chaos-manager/src/services/schemas/TemplateVariable.d.ts +1 -3
- package/dist/chaos-manager/src/services/schemas/V2OnboardingConfirmServiceRiskScanResponse.d.ts +3 -0
- package/dist/chaos-manager/src/services/schemas/V2OnboardingConfirmServiceRiskScanResponse.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V2OnboardingGetServiceRiskScanResponse.d.ts +11 -0
- package/dist/chaos-manager/src/services/schemas/V2OnboardingGetServiceRiskScanResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V2OnboardingRiskScanStatus.d.ts +10 -0
- package/dist/chaos-manager/src/services/schemas/V2OnboardingRiskScanStatus.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V2OnboardingRiskScanSummary.d.ts +10 -0
- package/dist/chaos-manager/src/services/schemas/V2OnboardingRiskScanSummary.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V2OnboardingSkipOnboardingResponse.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/V2OnboardingSkipOnboardingResponse.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V2OnboardingTriggerServiceRiskScanResponse.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/V2OnboardingTriggerServiceRiskScanResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V2OnboardingV2Onboarding.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/V2OnboardingV2OnboardingStatus.d.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ExperimentrunsCleanupExperimentRunResourcesResponse } from '../schemas/ExperimentrunsCleanupExperimentRunResourcesResponse';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import type { ExperimentrunsCleanupExperimentRunResourcesBody } from '../schemas/ExperimentrunsCleanupExperimentRunResourcesBody';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export interface CleanupChaosResourcesV3MutationPathParams {
|
|
7
|
+
identity: string;
|
|
8
|
+
}
|
|
9
|
+
export interface CleanupChaosResourcesV3MutationQueryParams {
|
|
10
|
+
accountIdentifier: string;
|
|
11
|
+
correlationID?: string;
|
|
12
|
+
organizationIdentifier?: string;
|
|
13
|
+
parentUniqueId?: string;
|
|
14
|
+
projectIdentifier?: string;
|
|
15
|
+
}
|
|
16
|
+
export type CleanupChaosResourcesV3RequestBody = ExperimentrunsCleanupExperimentRunResourcesBody;
|
|
17
|
+
export type CleanupChaosResourcesV3OkResponse = ExperimentrunsCleanupExperimentRunResourcesResponse;
|
|
18
|
+
export type CleanupChaosResourcesV3ErrorResponse = ApiRestError;
|
|
19
|
+
export interface CleanupChaosResourcesV3Props extends CleanupChaosResourcesV3MutationPathParams, Omit<FetcherOptions<CleanupChaosResourcesV3MutationQueryParams, CleanupChaosResourcesV3RequestBody>, 'url'> {
|
|
20
|
+
queryParams: CleanupChaosResourcesV3MutationQueryParams;
|
|
21
|
+
body: CleanupChaosResourcesV3RequestBody;
|
|
22
|
+
}
|
|
23
|
+
export interface CleanupChaosResourcesV3ResponseContainer {
|
|
24
|
+
body: CleanupChaosResourcesV3OkResponse;
|
|
25
|
+
headers: Headers;
|
|
26
|
+
}
|
|
27
|
+
export declare function cleanupChaosResourcesV3(props: CleanupChaosResourcesV3Props): Promise<CleanupChaosResourcesV3ResponseContainer>;
|
|
28
|
+
export type CleanupChaosResourcesV3MutationProps<T extends keyof CleanupChaosResourcesV3Props> = Omit<CleanupChaosResourcesV3Props, T> & Partial<Pick<CleanupChaosResourcesV3Props, T>>;
|
|
29
|
+
/**
|
|
30
|
+
* Submits a cleanup of the resources applied by a run (identified by experimentRunId). Deletion scope is always derived server-side from the run id (ownership label + infra namespace) and is not client-controllable.
|
|
31
|
+
* Cleanup is single-flight per run: a same-kind re-submit while one is in-flight is idempotent (returns the existing taskId), and a different-kind (dry-run vs real) submit returns 409.
|
|
32
|
+
* The write path returns 403 when CHAOS_RESOURCE_CLEANUP_ENABLED is off.
|
|
33
|
+
*/
|
|
34
|
+
export declare function useCleanupChaosResourcesV3Mutation<T extends keyof CleanupChaosResourcesV3Props>(props: Pick<Partial<CleanupChaosResourcesV3Props>, T>, options?: Omit<UseMutationOptions<CleanupChaosResourcesV3ResponseContainer, CleanupChaosResourcesV3ErrorResponse, CleanupChaosResourcesV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CleanupChaosResourcesV3ResponseContainer, ApiRestError, CleanupChaosResourcesV3MutationProps<T>, unknown>;
|
|
@@ -0,0 +1,16 @@
|
|
|
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 cleanupChaosResourcesV3(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/experiments/${props.identity}/cleanup`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Submits a cleanup of the resources applied by a run (identified by experimentRunId). Deletion scope is always derived server-side from the run id (ownership label + infra namespace) and is not client-controllable.
|
|
11
|
+
* Cleanup is single-flight per run: a same-kind re-submit while one is in-flight is idempotent (returns the existing taskId), and a different-kind (dry-run vs real) submit returns 409.
|
|
12
|
+
* The write path returns 403 when CHAOS_RESOURCE_CLEANUP_ENABLED is off.
|
|
13
|
+
*/
|
|
14
|
+
export function useCleanupChaosResourcesV3Mutation(props, options) {
|
|
15
|
+
return useMutation((mutateProps) => cleanupChaosResourcesV3(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
16
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ExperimentrunsGetCleanupStatusResponse } from '../schemas/ExperimentrunsGetCleanupStatusResponse';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
+
export interface GetChaosCleanupStatusV3QueryPathParams {
|
|
6
|
+
identity: string;
|
|
7
|
+
}
|
|
8
|
+
export interface GetChaosCleanupStatusV3QueryQueryParams {
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
correlationID?: string;
|
|
11
|
+
experimentRunId?: string;
|
|
12
|
+
organizationIdentifier?: string;
|
|
13
|
+
parentUniqueId?: string;
|
|
14
|
+
projectIdentifier?: string;
|
|
15
|
+
}
|
|
16
|
+
export type GetChaosCleanupStatusV3OkResponse = ExperimentrunsGetCleanupStatusResponse;
|
|
17
|
+
export type GetChaosCleanupStatusV3ErrorResponse = ApiRestError;
|
|
18
|
+
export interface GetChaosCleanupStatusV3Props extends GetChaosCleanupStatusV3QueryPathParams, Omit<FetcherOptions<GetChaosCleanupStatusV3QueryQueryParams, unknown>, 'url'> {
|
|
19
|
+
queryParams: GetChaosCleanupStatusV3QueryQueryParams;
|
|
20
|
+
}
|
|
21
|
+
export interface GetChaosCleanupStatusV3ResponseContainer {
|
|
22
|
+
body: GetChaosCleanupStatusV3OkResponse;
|
|
23
|
+
headers: Headers;
|
|
24
|
+
}
|
|
25
|
+
export declare function getChaosCleanupStatusV3(props: GetChaosCleanupStatusV3Props): Promise<GetChaosCleanupStatusV3ResponseContainer>;
|
|
26
|
+
/**
|
|
27
|
+
* Returns the latest cleanup delegate task for a run (identified by experimentRunId) plus the derived flags inProgress and canStartNewCleanup. Read-only and safe to poll.
|
|
28
|
+
*/
|
|
29
|
+
export declare function useGetChaosCleanupStatusV3Query(props: GetChaosCleanupStatusV3Props, options?: Omit<UseQueryOptions<GetChaosCleanupStatusV3ResponseContainer, GetChaosCleanupStatusV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetChaosCleanupStatusV3ResponseContainer, ApiRestError>;
|
|
@@ -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 getChaosCleanupStatusV3(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/experiments/${props.identity}/cleanup`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Returns the latest cleanup delegate task for a run (identified by experimentRunId) plus the derived flags inProgress and canStartNewCleanup. Read-only and safe to poll.
|
|
11
|
+
*/
|
|
12
|
+
export function useGetChaosCleanupStatusV3Query(props, options) {
|
|
13
|
+
return useQuery(['getChaosCleanupStatusV3', props.identity, props.queryParams], ({ signal }) => getChaosCleanupStatusV3(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { LogserviceCommandUnitStatusResponse } from '../schemas/LogserviceCommandUnitStatusResponse';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
+
export interface GetCleanupCommandUnitStatusesQueryQueryParams {
|
|
6
|
+
accountIdentifier: string;
|
|
7
|
+
orgIdentifier?: string;
|
|
8
|
+
projectIdentifier?: string;
|
|
9
|
+
uid: string;
|
|
10
|
+
}
|
|
11
|
+
export type GetCleanupCommandUnitStatusesOkResponse = LogserviceCommandUnitStatusResponse;
|
|
12
|
+
export type GetCleanupCommandUnitStatusesErrorResponse = ApiRestError;
|
|
13
|
+
export interface GetCleanupCommandUnitStatusesProps extends Omit<FetcherOptions<GetCleanupCommandUnitStatusesQueryQueryParams, unknown>, 'url'> {
|
|
14
|
+
queryParams: GetCleanupCommandUnitStatusesQueryQueryParams;
|
|
15
|
+
}
|
|
16
|
+
export interface GetCleanupCommandUnitStatusesResponseContainer {
|
|
17
|
+
body: GetCleanupCommandUnitStatusesOkResponse;
|
|
18
|
+
headers: Headers;
|
|
19
|
+
}
|
|
20
|
+
export declare function getCleanupCommandUnitStatuses(props: GetCleanupCommandUnitStatusesProps): Promise<GetCleanupCommandUnitStatusesResponseContainer>;
|
|
21
|
+
/**
|
|
22
|
+
* Returns the status (not_started, running, completed) of the cleanup delegate task's single "Cleanup" command unit by checking log-service stream/blob endpoints.
|
|
23
|
+
* The returned logKey can be used to stream cleanup logs from log-service exactly like apply.
|
|
24
|
+
*/
|
|
25
|
+
export declare function useGetCleanupCommandUnitStatusesQuery(props: GetCleanupCommandUnitStatusesProps, options?: Omit<UseQueryOptions<GetCleanupCommandUnitStatusesResponseContainer, GetCleanupCommandUnitStatusesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetCleanupCommandUnitStatusesResponseContainer, ApiRestError>;
|
|
@@ -0,0 +1,15 @@
|
|
|
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 getCleanupCommandUnitStatuses(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/delegate-task/cleanup-command-unit-status`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Returns the status (not_started, running, completed) of the cleanup delegate task's single "Cleanup" command unit by checking log-service stream/blob endpoints.
|
|
11
|
+
* The returned logKey can be used to stream cleanup logs from log-service exactly like apply.
|
|
12
|
+
*/
|
|
13
|
+
export function useGetCleanupCommandUnitStatusesQuery(props, options) {
|
|
14
|
+
return useQuery(['getCleanupCommandUnitStatuses', props.queryParams], ({ signal }) => getCleanupCommandUnitStatuses(Object.assign(Object.assign({}, props), { signal })), options);
|
|
15
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { V2OnboardingGetServiceRiskScanResponse } from '../schemas/V2OnboardingGetServiceRiskScanResponse';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
+
export interface GetServiceRiskScanQueryPathParams {
|
|
6
|
+
onboardingid: string;
|
|
7
|
+
}
|
|
8
|
+
export interface GetServiceRiskScanQueryQueryParams {
|
|
9
|
+
correlationID?: string;
|
|
10
|
+
accountIdentifier: string;
|
|
11
|
+
organizationIdentifier: string;
|
|
12
|
+
projectIdentifier: string;
|
|
13
|
+
}
|
|
14
|
+
export type GetServiceRiskScanOkResponse = V2OnboardingGetServiceRiskScanResponse;
|
|
15
|
+
export type GetServiceRiskScanErrorResponse = ApiRestError;
|
|
16
|
+
export interface GetServiceRiskScanProps extends GetServiceRiskScanQueryPathParams, Omit<FetcherOptions<GetServiceRiskScanQueryQueryParams, unknown>, 'url'> {
|
|
17
|
+
queryParams: GetServiceRiskScanQueryQueryParams;
|
|
18
|
+
}
|
|
19
|
+
export interface GetServiceRiskScanResponseContainer {
|
|
20
|
+
body: GetServiceRiskScanOkResponse;
|
|
21
|
+
headers: Headers;
|
|
22
|
+
}
|
|
23
|
+
export declare function getServiceRiskScan(props: GetServiceRiskScanProps): Promise<GetServiceRiskScanResponseContainer>;
|
|
24
|
+
/**
|
|
25
|
+
* Get the status of the onboarding risk scan along with its risk summary once the scan has completed
|
|
26
|
+
*/
|
|
27
|
+
export declare function useGetServiceRiskScanQuery(props: GetServiceRiskScanProps, options?: Omit<UseQueryOptions<GetServiceRiskScanResponseContainer, GetServiceRiskScanErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetServiceRiskScanResponseContainer, ApiRestError>;
|
|
@@ -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 getServiceRiskScan(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/rest/v2/onboarding/${props.onboardingid}/risk-scan`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get the status of the onboarding risk scan along with its risk summary once the scan has completed
|
|
11
|
+
*/
|
|
12
|
+
export function useGetServiceRiskScanQuery(props, options) {
|
|
13
|
+
return useQuery(['getServiceRiskScan', props.onboardingid, props.queryParams], ({ signal }) => getServiceRiskScan(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ChaosservicesListLoadTestsResponse } from '../schemas/ChaosservicesListLoadTestsResponse';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
+
export interface ListChaosServiceLoadTestsQueryPathParams {
|
|
6
|
+
identity: string;
|
|
7
|
+
}
|
|
8
|
+
export interface ListChaosServiceLoadTestsQueryQueryParams {
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
correlationID?: string;
|
|
11
|
+
environmentIds?: string;
|
|
12
|
+
includeAllScope?: boolean;
|
|
13
|
+
infraIds?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @default 15
|
|
16
|
+
*/
|
|
17
|
+
limit?: number;
|
|
18
|
+
organizationIdentifier?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @default 0
|
|
21
|
+
*/
|
|
22
|
+
page?: number;
|
|
23
|
+
parentUniqueId?: string;
|
|
24
|
+
projectIdentifier?: string;
|
|
25
|
+
search?: string;
|
|
26
|
+
'-'?: string;
|
|
27
|
+
sortAscending?: boolean;
|
|
28
|
+
sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
|
|
29
|
+
tags?: string;
|
|
30
|
+
toolType?: string;
|
|
31
|
+
useParentUniqueID?: boolean;
|
|
32
|
+
}
|
|
33
|
+
export type ListChaosServiceLoadTestsOkResponse = ChaosservicesListLoadTestsResponse;
|
|
34
|
+
export type ListChaosServiceLoadTestsErrorResponse = ApiRestError;
|
|
35
|
+
export interface ListChaosServiceLoadTestsProps extends ListChaosServiceLoadTestsQueryPathParams, Omit<FetcherOptions<ListChaosServiceLoadTestsQueryQueryParams, unknown>, 'url'> {
|
|
36
|
+
queryParams: ListChaosServiceLoadTestsQueryQueryParams;
|
|
37
|
+
}
|
|
38
|
+
export interface ListChaosServiceLoadTestsResponseContainer {
|
|
39
|
+
body: ListChaosServiceLoadTestsOkResponse;
|
|
40
|
+
headers: Headers;
|
|
41
|
+
}
|
|
42
|
+
export declare function listChaosServiceLoadTests(props: ListChaosServiceLoadTestsProps): Promise<ListChaosServiceLoadTestsResponseContainer>;
|
|
43
|
+
/**
|
|
44
|
+
* List the load tests whose serviceReferences include the given chaos service.
|
|
45
|
+
*/
|
|
46
|
+
export declare function useListChaosServiceLoadTestsQuery(props: ListChaosServiceLoadTestsProps, options?: Omit<UseQueryOptions<ListChaosServiceLoadTestsResponseContainer, ListChaosServiceLoadTestsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListChaosServiceLoadTestsResponseContainer, ApiRestError>;
|
|
@@ -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 listChaosServiceLoadTests(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/chaos-services/${props.identity}/load-tests`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* List the load tests whose serviceReferences include the given chaos service.
|
|
11
|
+
*/
|
|
12
|
+
export function useListChaosServiceLoadTestsQuery(props, options) {
|
|
13
|
+
return useQuery(['listChaosServiceLoadTests', props.identity, props.queryParams], ({ signal }) => listChaosServiceLoadTests(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
package/dist/chaos-manager/src/services/hooks/useOnboardingConfirmServiceRiskScanMutation.d.ts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { V2OnboardingConfirmServiceRiskScanResponse } from '../schemas/V2OnboardingConfirmServiceRiskScanResponse';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
+
export interface OnboardingConfirmServiceRiskScanMutationPathParams {
|
|
6
|
+
onboardingid: string;
|
|
7
|
+
}
|
|
8
|
+
export interface OnboardingConfirmServiceRiskScanMutationQueryParams {
|
|
9
|
+
correlationID?: string;
|
|
10
|
+
accountIdentifier: string;
|
|
11
|
+
organizationIdentifier: string;
|
|
12
|
+
projectIdentifier: string;
|
|
13
|
+
}
|
|
14
|
+
export type OnboardingConfirmServiceRiskScanOkResponse = V2OnboardingConfirmServiceRiskScanResponse;
|
|
15
|
+
export type OnboardingConfirmServiceRiskScanErrorResponse = ApiRestError;
|
|
16
|
+
export interface OnboardingConfirmServiceRiskScanProps extends OnboardingConfirmServiceRiskScanMutationPathParams, Omit<FetcherOptions<OnboardingConfirmServiceRiskScanMutationQueryParams, unknown>, 'url'> {
|
|
17
|
+
queryParams: OnboardingConfirmServiceRiskScanMutationQueryParams;
|
|
18
|
+
}
|
|
19
|
+
export interface OnboardingConfirmServiceRiskScanResponseContainer {
|
|
20
|
+
body: OnboardingConfirmServiceRiskScanOkResponse;
|
|
21
|
+
headers: Headers;
|
|
22
|
+
}
|
|
23
|
+
export declare function onboardingConfirmServiceRiskScan(props: OnboardingConfirmServiceRiskScanProps): Promise<OnboardingConfirmServiceRiskScanResponseContainer>;
|
|
24
|
+
export type OnboardingConfirmServiceRiskScanMutationProps<T extends keyof OnboardingConfirmServiceRiskScanProps> = Omit<OnboardingConfirmServiceRiskScanProps, T> & Partial<Pick<OnboardingConfirmServiceRiskScanProps, T>>;
|
|
25
|
+
/**
|
|
26
|
+
* Mark the onboarding risk scan step as completed once the scan has finished successfully
|
|
27
|
+
*/
|
|
28
|
+
export declare function useOnboardingConfirmServiceRiskScanMutation<T extends keyof OnboardingConfirmServiceRiskScanProps>(props: Pick<Partial<OnboardingConfirmServiceRiskScanProps>, T>, options?: Omit<UseMutationOptions<OnboardingConfirmServiceRiskScanResponseContainer, OnboardingConfirmServiceRiskScanErrorResponse, OnboardingConfirmServiceRiskScanMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<OnboardingConfirmServiceRiskScanResponseContainer, ApiRestError, OnboardingConfirmServiceRiskScanMutationProps<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 onboardingConfirmServiceRiskScan(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/rest/v2/onboarding-confirm-risk-scan/${props.onboardingid}`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Mark the onboarding risk scan step as completed once the scan has finished successfully
|
|
11
|
+
*/
|
|
12
|
+
export function useOnboardingConfirmServiceRiskScanMutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => onboardingConfirmServiceRiskScan(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { V2OnboardingSkipOnboardingResponse } from '../schemas/V2OnboardingSkipOnboardingResponse';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
+
export interface SkipOnboardingMutationPathParams {
|
|
6
|
+
onboardingid: string;
|
|
7
|
+
}
|
|
8
|
+
export interface SkipOnboardingMutationQueryParams {
|
|
9
|
+
correlationID?: string;
|
|
10
|
+
accountIdentifier: string;
|
|
11
|
+
organizationIdentifier: string;
|
|
12
|
+
projectIdentifier: string;
|
|
13
|
+
}
|
|
14
|
+
export type SkipOnboardingOkResponse = V2OnboardingSkipOnboardingResponse;
|
|
15
|
+
export type SkipOnboardingErrorResponse = ApiRestError;
|
|
16
|
+
export interface SkipOnboardingProps extends SkipOnboardingMutationPathParams, Omit<FetcherOptions<SkipOnboardingMutationQueryParams, unknown>, 'url'> {
|
|
17
|
+
queryParams: SkipOnboardingMutationQueryParams;
|
|
18
|
+
}
|
|
19
|
+
export interface SkipOnboardingResponseContainer {
|
|
20
|
+
body: SkipOnboardingOkResponse;
|
|
21
|
+
headers: Headers;
|
|
22
|
+
}
|
|
23
|
+
export declare function skipOnboarding(props: SkipOnboardingProps): Promise<SkipOnboardingResponseContainer>;
|
|
24
|
+
export type SkipOnboardingMutationProps<T extends keyof SkipOnboardingProps> = Omit<SkipOnboardingProps, T> & Partial<Pick<SkipOnboardingProps, T>>;
|
|
25
|
+
/**
|
|
26
|
+
* Mark every step that has not completed as SKIPPED and take the onboarding session to its terminal completed state
|
|
27
|
+
*/
|
|
28
|
+
export declare function useSkipOnboardingMutation<T extends keyof SkipOnboardingProps>(props: Pick<Partial<SkipOnboardingProps>, T>, options?: Omit<UseMutationOptions<SkipOnboardingResponseContainer, SkipOnboardingErrorResponse, SkipOnboardingMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<SkipOnboardingResponseContainer, ApiRestError, SkipOnboardingMutationProps<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 skipOnboarding(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/rest/v2/onboarding/${props.onboardingid}/skip`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Mark every step that has not completed as SKIPPED and take the onboarding session to its terminal completed state
|
|
11
|
+
*/
|
|
12
|
+
export function useSkipOnboardingMutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => skipOnboarding(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { V2OnboardingTriggerServiceRiskScanResponse } from '../schemas/V2OnboardingTriggerServiceRiskScanResponse';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
+
export interface TriggerServiceRiskScanMutationPathParams {
|
|
6
|
+
onboardingid: string;
|
|
7
|
+
}
|
|
8
|
+
export interface TriggerServiceRiskScanMutationQueryParams {
|
|
9
|
+
correlationID?: string;
|
|
10
|
+
accountIdentifier: string;
|
|
11
|
+
organizationIdentifier: string;
|
|
12
|
+
projectIdentifier: string;
|
|
13
|
+
}
|
|
14
|
+
export type TriggerServiceRiskScanOkResponse = V2OnboardingTriggerServiceRiskScanResponse;
|
|
15
|
+
export type TriggerServiceRiskScanErrorResponse = ApiRestError;
|
|
16
|
+
export interface TriggerServiceRiskScanProps extends TriggerServiceRiskScanMutationPathParams, Omit<FetcherOptions<TriggerServiceRiskScanMutationQueryParams, unknown>, 'url'> {
|
|
17
|
+
queryParams: TriggerServiceRiskScanMutationQueryParams;
|
|
18
|
+
}
|
|
19
|
+
export interface TriggerServiceRiskScanResponseContainer {
|
|
20
|
+
body: TriggerServiceRiskScanOkResponse;
|
|
21
|
+
headers: Headers;
|
|
22
|
+
}
|
|
23
|
+
export declare function triggerServiceRiskScan(props: TriggerServiceRiskScanProps): Promise<TriggerServiceRiskScanResponseContainer>;
|
|
24
|
+
export type TriggerServiceRiskScanMutationProps<T extends keyof TriggerServiceRiskScanProps> = Omit<TriggerServiceRiskScanProps, T> & Partial<Pick<TriggerServiceRiskScanProps, T>>;
|
|
25
|
+
/**
|
|
26
|
+
* Start a risk scan over the services onboarded in the guided onboarding session
|
|
27
|
+
*/
|
|
28
|
+
export declare function useTriggerServiceRiskScanMutation<T extends keyof TriggerServiceRiskScanProps>(props: Pick<Partial<TriggerServiceRiskScanProps>, T>, options?: Omit<UseMutationOptions<TriggerServiceRiskScanResponseContainer, TriggerServiceRiskScanErrorResponse, TriggerServiceRiskScanMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<TriggerServiceRiskScanResponseContainer, ApiRestError, TriggerServiceRiskScanMutationProps<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 triggerServiceRiskScan(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/rest/v2/onboarding-trigger-risk-scan/${props.onboardingid}`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Start a risk scan over the services onboarded in the guided onboarding session
|
|
11
|
+
*/
|
|
12
|
+
export function useTriggerServiceRiskScanMutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => triggerServiceRiskScan(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
|
+
}
|
|
@@ -14,6 +14,8 @@ export type { BulkUpdateRecommendationStatusErrorResponse, BulkUpdateRecommendat
|
|
|
14
14
|
export { bulkUpdateRecommendationStatus, useBulkUpdateRecommendationStatusMutation, } from './hooks/useBulkUpdateRecommendationStatusMutation';
|
|
15
15
|
export type { CanRetryExperimentCreationErrorResponse, CanRetryExperimentCreationOkResponse, CanRetryExperimentCreationProps, CanRetryExperimentCreationQueryPathParams, CanRetryExperimentCreationQueryQueryParams, } from './hooks/useCanRetryExperimentCreationQuery';
|
|
16
16
|
export { canRetryExperimentCreation, useCanRetryExperimentCreationQuery, } from './hooks/useCanRetryExperimentCreationQuery';
|
|
17
|
+
export type { CleanupChaosResourcesV3ErrorResponse, CleanupChaosResourcesV3MutationPathParams, CleanupChaosResourcesV3MutationProps, CleanupChaosResourcesV3MutationQueryParams, CleanupChaosResourcesV3OkResponse, CleanupChaosResourcesV3Props, CleanupChaosResourcesV3RequestBody, } from './hooks/useCleanupChaosResourcesV3Mutation';
|
|
18
|
+
export { cleanupChaosResourcesV3, useCleanupChaosResourcesV3Mutation, } from './hooks/useCleanupChaosResourcesV3Mutation';
|
|
17
19
|
export type { CompareExperimentTemplateRevisionsErrorResponse, CompareExperimentTemplateRevisionsOkResponse, CompareExperimentTemplateRevisionsProps, CompareExperimentTemplateRevisionsQueryPathParams, CompareExperimentTemplateRevisionsQueryQueryParams, } from './hooks/useCompareExperimentTemplateRevisionsQuery';
|
|
18
20
|
export { compareExperimentTemplateRevisions, useCompareExperimentTemplateRevisionsQuery, } from './hooks/useCompareExperimentTemplateRevisionsQuery';
|
|
19
21
|
export type { CompareFaultTemplateRevisionsErrorResponse, CompareFaultTemplateRevisionsOkResponse, CompareFaultTemplateRevisionsProps, CompareFaultTemplateRevisionsQueryPathParams, CompareFaultTemplateRevisionsQueryQueryParams, } from './hooks/useCompareFaultTemplateRevisionsQuery';
|
|
@@ -132,6 +134,8 @@ export type { GetActionTemplateErrorResponse, GetActionTemplateOkResponse, GetAc
|
|
|
132
134
|
export { getActionTemplate, useGetActionTemplateQuery } from './hooks/useGetActionTemplateQuery';
|
|
133
135
|
export type { GetActionTemplateRevisionDifferenceErrorResponse, GetActionTemplateRevisionDifferenceOkResponse, GetActionTemplateRevisionDifferenceProps, GetActionTemplateRevisionDifferenceQueryPathParams, GetActionTemplateRevisionDifferenceQueryQueryParams, } from './hooks/useGetActionTemplateRevisionDifferenceQuery';
|
|
134
136
|
export { getActionTemplateRevisionDifference, useGetActionTemplateRevisionDifferenceQuery, } from './hooks/useGetActionTemplateRevisionDifferenceQuery';
|
|
137
|
+
export type { GetChaosCleanupStatusV3ErrorResponse, GetChaosCleanupStatusV3OkResponse, GetChaosCleanupStatusV3Props, GetChaosCleanupStatusV3QueryPathParams, GetChaosCleanupStatusV3QueryQueryParams, } from './hooks/useGetChaosCleanupStatusV3Query';
|
|
138
|
+
export { getChaosCleanupStatusV3, useGetChaosCleanupStatusV3Query, } from './hooks/useGetChaosCleanupStatusV3Query';
|
|
135
139
|
export type { GetChaosComponentVariableInternalErrorResponse, GetChaosComponentVariableInternalOkResponse, GetChaosComponentVariableInternalProps, GetChaosComponentVariableInternalQueryQueryParams, } from './hooks/useGetChaosComponentVariableInternalQuery';
|
|
136
140
|
export { getChaosComponentVariableInternal, useGetChaosComponentVariableInternalQuery, } from './hooks/useGetChaosComponentVariableInternalQuery';
|
|
137
141
|
export type { GetChaosComponentVariableErrorResponse, GetChaosComponentVariableOkResponse, GetChaosComponentVariableProps, GetChaosComponentVariableQueryQueryParams, } from './hooks/useGetChaosComponentVariableQuery';
|
|
@@ -166,6 +170,8 @@ export type { GetChaosV2ExperimentRunErrorResponse, GetChaosV2ExperimentRunOkRes
|
|
|
166
170
|
export { getChaosV2ExperimentRun, useGetChaosV2ExperimentRunQuery, } from './hooks/useGetChaosV2ExperimentRunQuery';
|
|
167
171
|
export type { GetChaosV2ExperimentVariablesErrorResponse, GetChaosV2ExperimentVariablesOkResponse, GetChaosV2ExperimentVariablesProps, GetChaosV2ExperimentVariablesQueryPathParams, GetChaosV2ExperimentVariablesQueryQueryParams, } from './hooks/useGetChaosV2ExperimentVariablesQuery';
|
|
168
172
|
export { getChaosV2ExperimentVariables, useGetChaosV2ExperimentVariablesQuery, } from './hooks/useGetChaosV2ExperimentVariablesQuery';
|
|
173
|
+
export type { GetCleanupCommandUnitStatusesErrorResponse, GetCleanupCommandUnitStatusesOkResponse, GetCleanupCommandUnitStatusesProps, GetCleanupCommandUnitStatusesQueryQueryParams, } from './hooks/useGetCleanupCommandUnitStatusesQuery';
|
|
174
|
+
export { getCleanupCommandUnitStatuses, useGetCleanupCommandUnitStatusesQuery, } from './hooks/useGetCleanupCommandUnitStatusesQuery';
|
|
169
175
|
export type { GetCommandUnitStatusesErrorResponse, GetCommandUnitStatusesOkResponse, GetCommandUnitStatusesProps, GetCommandUnitStatusesQueryQueryParams, } from './hooks/useGetCommandUnitStatusesQuery';
|
|
170
176
|
export { getCommandUnitStatuses, useGetCommandUnitStatusesQuery, } from './hooks/useGetCommandUnitStatusesQuery';
|
|
171
177
|
export type { GetConditionErrorResponse, GetConditionOkResponse, GetConditionProps, GetConditionQueryPathParams, GetConditionQueryQueryParams, } from './hooks/useGetConditionQuery';
|
|
@@ -272,6 +278,8 @@ export type { GetScannedRiskErrorResponse, GetScannedRiskOkResponse, GetScannedR
|
|
|
272
278
|
export { getScannedRisk, useGetScannedRiskQuery } from './hooks/useGetScannedRiskQuery';
|
|
273
279
|
export type { GetServiceResponseErrorResponse, GetServiceResponseOkResponse, GetServiceResponseProps, GetServiceResponseQueryPathParams, GetServiceResponseQueryQueryParams, } from './hooks/useGetServiceResponseQuery';
|
|
274
280
|
export { getServiceResponse, useGetServiceResponseQuery } from './hooks/useGetServiceResponseQuery';
|
|
281
|
+
export type { GetServiceRiskScanErrorResponse, GetServiceRiskScanOkResponse, GetServiceRiskScanProps, GetServiceRiskScanQueryPathParams, GetServiceRiskScanQueryQueryParams, } from './hooks/useGetServiceRiskScanQuery';
|
|
282
|
+
export { getServiceRiskScan, useGetServiceRiskScanQuery } from './hooks/useGetServiceRiskScanQuery';
|
|
275
283
|
export type { GetServiceUsageReportErrorResponse, GetServiceUsageReportOkResponse, GetServiceUsageReportProps, GetServiceUsageReportQueryPathParams, GetServiceUsageReportQueryQueryParams, } from './hooks/useGetServiceUsageReportQuery';
|
|
276
284
|
export { getServiceUsageReport, useGetServiceUsageReportQuery, } from './hooks/useGetServiceUsageReportQuery';
|
|
277
285
|
export type { GetSgpTemplateByGenAiErrorResponse, GetSgpTemplateByGenAiMutationProps, GetSgpTemplateByGenAiOkResponse, GetSgpTemplateByGenAiProps, } from './hooks/useGetSgpTemplateByGenAiMutation';
|
|
@@ -308,6 +316,8 @@ export type { ListChaosHubErrorResponse, ListChaosHubOkResponse, ListChaosHubPro
|
|
|
308
316
|
export { listChaosHub, useListChaosHubQuery } from './hooks/useListChaosHubQuery';
|
|
309
317
|
export type { ListChaosServiceExecutionsErrorResponse, ListChaosServiceExecutionsOkResponse, ListChaosServiceExecutionsProps, ListChaosServiceExecutionsQueryPathParams, ListChaosServiceExecutionsQueryQueryParams, } from './hooks/useListChaosServiceExecutionsQuery';
|
|
310
318
|
export { listChaosServiceExecutions, useListChaosServiceExecutionsQuery, } from './hooks/useListChaosServiceExecutionsQuery';
|
|
319
|
+
export type { ListChaosServiceLoadTestsErrorResponse, ListChaosServiceLoadTestsOkResponse, ListChaosServiceLoadTestsProps, ListChaosServiceLoadTestsQueryPathParams, ListChaosServiceLoadTestsQueryQueryParams, } from './hooks/useListChaosServiceLoadTestsQuery';
|
|
320
|
+
export { listChaosServiceLoadTests, useListChaosServiceLoadTestsQuery, } from './hooks/useListChaosServiceLoadTestsQuery';
|
|
311
321
|
export type { ListChaosServicesErrorResponse, ListChaosServicesOkResponse, ListChaosServicesProps, ListChaosServicesQueryQueryParams, } from './hooks/useListChaosServicesQuery';
|
|
312
322
|
export { listChaosServices, useListChaosServicesQuery } from './hooks/useListChaosServicesQuery';
|
|
313
323
|
export type { ListChaosV2ExperimentErrorResponse, ListChaosV2ExperimentOkResponse, ListChaosV2ExperimentProps, ListChaosV2ExperimentQueryQueryParams, } from './hooks/useListChaosV2ExperimentQuery';
|
|
@@ -406,6 +416,8 @@ export type { OnboardingConfirmNetworkMapErrorResponse, OnboardingConfirmNetwork
|
|
|
406
416
|
export { onboardingConfirmNetworkMap, useOnboardingConfirmNetworkMapMutation, } from './hooks/useOnboardingConfirmNetworkMapMutation';
|
|
407
417
|
export type { OnboardingConfirmServiceOnboardingErrorResponse, OnboardingConfirmServiceOnboardingMutationPathParams, OnboardingConfirmServiceOnboardingMutationProps, OnboardingConfirmServiceOnboardingMutationQueryParams, OnboardingConfirmServiceOnboardingOkResponse, OnboardingConfirmServiceOnboardingProps, } from './hooks/useOnboardingConfirmServiceOnboardingMutation';
|
|
408
418
|
export { onboardingConfirmServiceOnboarding, useOnboardingConfirmServiceOnboardingMutation, } from './hooks/useOnboardingConfirmServiceOnboardingMutation';
|
|
419
|
+
export type { OnboardingConfirmServiceRiskScanErrorResponse, OnboardingConfirmServiceRiskScanMutationPathParams, OnboardingConfirmServiceRiskScanMutationProps, OnboardingConfirmServiceRiskScanMutationQueryParams, OnboardingConfirmServiceRiskScanOkResponse, OnboardingConfirmServiceRiskScanProps, } from './hooks/useOnboardingConfirmServiceRiskScanMutation';
|
|
420
|
+
export { onboardingConfirmServiceRiskScan, useOnboardingConfirmServiceRiskScanMutation, } from './hooks/useOnboardingConfirmServiceRiskScanMutation';
|
|
409
421
|
export type { PipelineAddExperimentRecommendationErrorResponse, PipelineAddExperimentRecommendationMutationProps, PipelineAddExperimentRecommendationMutationQueryParams, PipelineAddExperimentRecommendationOkResponse, PipelineAddExperimentRecommendationProps, } from './hooks/usePipelineAddExperimentRecommendationMutation';
|
|
410
422
|
export { pipelineAddExperimentRecommendation, usePipelineAddExperimentRecommendationMutation, } from './hooks/usePipelineAddExperimentRecommendationMutation';
|
|
411
423
|
export type { PipelineCanOnboardChaosErrorResponse, PipelineCanOnboardChaosOkResponse, PipelineCanOnboardChaosProps, PipelineCanOnboardChaosQueryPathParams, PipelineCanOnboardChaosQueryQueryParams, } from './hooks/usePipelineCanOnboardChaosQuery';
|
|
@@ -446,6 +458,8 @@ export type { RunRecommendationErrorResponse, RunRecommendationMutationProps, Ru
|
|
|
446
458
|
export { runRecommendation, useRunRecommendationMutation, } from './hooks/useRunRecommendationMutation';
|
|
447
459
|
export type { SaveChaosV2ExperimentErrorResponse, SaveChaosV2ExperimentMutationProps, SaveChaosV2ExperimentMutationQueryParams, SaveChaosV2ExperimentOkResponse, SaveChaosV2ExperimentProps, SaveChaosV2ExperimentRequestBody, } from './hooks/useSaveChaosV2ExperimentMutation';
|
|
448
460
|
export { saveChaosV2Experiment, useSaveChaosV2ExperimentMutation, } from './hooks/useSaveChaosV2ExperimentMutation';
|
|
461
|
+
export type { SkipOnboardingErrorResponse, SkipOnboardingMutationPathParams, SkipOnboardingMutationProps, SkipOnboardingMutationQueryParams, SkipOnboardingOkResponse, SkipOnboardingProps, } from './hooks/useSkipOnboardingMutation';
|
|
462
|
+
export { skipOnboarding, useSkipOnboardingMutation } from './hooks/useSkipOnboardingMutation';
|
|
449
463
|
export type { StopChaosExperimentV3ErrorResponse, StopChaosExperimentV3MutationPathParams, StopChaosExperimentV3MutationProps, StopChaosExperimentV3MutationQueryParams, StopChaosExperimentV3OkResponse, StopChaosExperimentV3Props, StopChaosExperimentV3RequestBody, } from './hooks/useStopChaosExperimentV3Mutation';
|
|
450
464
|
export { stopChaosExperimentV3, useStopChaosExperimentV3Mutation, } from './hooks/useStopChaosExperimentV3Mutation';
|
|
451
465
|
export type { StopChaosV2ExperimentErrorResponse, StopChaosV2ExperimentMutationPathParams, StopChaosV2ExperimentMutationProps, StopChaosV2ExperimentMutationQueryParams, StopChaosV2ExperimentOkResponse, StopChaosV2ExperimentProps, } from './hooks/useStopChaosV2ExperimentMutation';
|
|
@@ -458,6 +472,8 @@ export type { SummarizeScannedRisksByServiceErrorResponse, SummarizeScannedRisks
|
|
|
458
472
|
export { summarizeScannedRisksByService, useSummarizeScannedRisksByServiceMutation, } from './hooks/useSummarizeScannedRisksByServiceMutation';
|
|
459
473
|
export type { TestLegacyKubernetesChaosInfraConnectionErrorResponse, TestLegacyKubernetesChaosInfraConnectionOkResponse, TestLegacyKubernetesChaosInfraConnectionProps, TestLegacyKubernetesChaosInfraConnectionQueryPathParams, TestLegacyKubernetesChaosInfraConnectionQueryQueryParams, } from './hooks/useTestLegacyKubernetesChaosInfraConnectionQuery';
|
|
460
474
|
export { testLegacyKubernetesChaosInfraConnection, useTestLegacyKubernetesChaosInfraConnectionQuery, } from './hooks/useTestLegacyKubernetesChaosInfraConnectionQuery';
|
|
475
|
+
export type { TriggerServiceRiskScanErrorResponse, TriggerServiceRiskScanMutationPathParams, TriggerServiceRiskScanMutationProps, TriggerServiceRiskScanMutationQueryParams, TriggerServiceRiskScanOkResponse, TriggerServiceRiskScanProps, } from './hooks/useTriggerServiceRiskScanMutation';
|
|
476
|
+
export { triggerServiceRiskScan, useTriggerServiceRiskScanMutation, } from './hooks/useTriggerServiceRiskScanMutation';
|
|
461
477
|
export type { UpdateActionErrorResponse, UpdateActionMutationPathParams, UpdateActionMutationProps, UpdateActionMutationQueryParams, UpdateActionOkResponse, UpdateActionProps, UpdateActionRequestBody, } from './hooks/useUpdateActionMutation';
|
|
462
478
|
export { updateAction, useUpdateActionMutation } from './hooks/useUpdateActionMutation';
|
|
463
479
|
export type { UpdateActionTemplateErrorResponse, UpdateActionTemplateMutationPathParams, UpdateActionTemplateMutationProps, UpdateActionTemplateMutationQueryParams, UpdateActionTemplateOkResponse, UpdateActionTemplateProps, UpdateActionTemplateRequestBody, } from './hooks/useUpdateActionTemplateMutation';
|
|
@@ -578,6 +594,8 @@ export type { ChaosExperimentRunExperimentType } from './schemas/ChaosExperiment
|
|
|
578
594
|
export type { ChaosExperimentRunFaults } from './schemas/ChaosExperimentRunFaults';
|
|
579
595
|
export type { ChaosExperimentRunProbe } from './schemas/ChaosExperimentRunProbe';
|
|
580
596
|
export type { ChaosExperimentRunRuleDetails } from './schemas/ChaosExperimentRunRuleDetails';
|
|
597
|
+
export type { ChaosExperimentRunRunContainerStatus } from './schemas/ChaosExperimentRunRunContainerStatus';
|
|
598
|
+
export type { ChaosExperimentRunRunFailureDetails } from './schemas/ChaosExperimentRunRunFailureDetails';
|
|
581
599
|
export type { ChaosExperimentRunSecurityGovernanceNode } from './schemas/ChaosExperimentRunSecurityGovernanceNode';
|
|
582
600
|
export type { ChaosExperimentRunSecurityGovernanceNodeData } from './schemas/ChaosExperimentRunSecurityGovernanceNodeData';
|
|
583
601
|
export type { ChaosExperimentRunTemplateDetails } from './schemas/ChaosExperimentRunTemplateDetails';
|
|
@@ -706,6 +724,8 @@ export type { ChaosservicesDeleteResponse } from './schemas/ChaosservicesDeleteR
|
|
|
706
724
|
export type { ChaosservicesExperimentExecutionResponse } from './schemas/ChaosservicesExperimentExecutionResponse';
|
|
707
725
|
export type { ChaosservicesListChaosServiceResponse } from './schemas/ChaosservicesListChaosServiceResponse';
|
|
708
726
|
export type { ChaosservicesListExperimentExecutionsResponse } from './schemas/ChaosservicesListExperimentExecutionsResponse';
|
|
727
|
+
export type { ChaosservicesListLoadTestsResponse } from './schemas/ChaosservicesListLoadTestsResponse';
|
|
728
|
+
export type { ChaosservicesLoadTestSummaryResponse } from './schemas/ChaosservicesLoadTestSummaryResponse';
|
|
709
729
|
export type { ChaosservicesServiceProbeAssociation } from './schemas/ChaosservicesServiceProbeAssociation';
|
|
710
730
|
export type { ChaosservicesUpdateRequest } from './schemas/ChaosservicesUpdateRequest';
|
|
711
731
|
export type { ChaosserviceusageInfrastructureType } from './schemas/ChaosserviceusageInfrastructureType';
|
|
@@ -820,6 +840,9 @@ export type { ExperimentTargets } from './schemas/ExperimentTargets';
|
|
|
820
840
|
export type { ExperimentVmWareAuth } from './schemas/ExperimentVmWareAuth';
|
|
821
841
|
export type { ExperimentWorkload } from './schemas/ExperimentWorkload';
|
|
822
842
|
export type { ExperimentWorkloadKind } from './schemas/ExperimentWorkloadKind';
|
|
843
|
+
export type { ExperimentrunsCleanupExperimentRunResourcesBody } from './schemas/ExperimentrunsCleanupExperimentRunResourcesBody';
|
|
844
|
+
export type { ExperimentrunsCleanupExperimentRunResourcesResponse } from './schemas/ExperimentrunsCleanupExperimentRunResourcesResponse';
|
|
845
|
+
export type { ExperimentrunsGetCleanupStatusResponse } from './schemas/ExperimentrunsGetCleanupStatusResponse';
|
|
823
846
|
export type { ExperimentrunsGetExperimentRunResponse } from './schemas/ExperimentrunsGetExperimentRunResponse';
|
|
824
847
|
export type { ExperimentrunsListExperimentRunItem } from './schemas/ExperimentrunsListExperimentRunItem';
|
|
825
848
|
export type { ExperimentrunsListExperimentRunsResponse } from './schemas/ExperimentrunsListExperimentRunsResponse';
|
|
@@ -1537,8 +1560,10 @@ export type { V2OnboardingConfirmExperimentRunResponse } from './schemas/V2Onboa
|
|
|
1537
1560
|
export type { V2OnboardingConfirmNetworkMapRequest } from './schemas/V2OnboardingConfirmNetworkMapRequest';
|
|
1538
1561
|
export type { V2OnboardingConfirmNetworkMapResponse } from './schemas/V2OnboardingConfirmNetworkMapResponse';
|
|
1539
1562
|
export type { V2OnboardingConfirmServiceOnboardingResponse } from './schemas/V2OnboardingConfirmServiceOnboardingResponse';
|
|
1563
|
+
export type { V2OnboardingConfirmServiceRiskScanResponse } from './schemas/V2OnboardingConfirmServiceRiskScanResponse';
|
|
1540
1564
|
export type { V2OnboardingDiscoveredService } from './schemas/V2OnboardingDiscoveredService';
|
|
1541
1565
|
export type { V2OnboardingExperiments } from './schemas/V2OnboardingExperiments';
|
|
1566
|
+
export type { V2OnboardingGetServiceRiskScanResponse } from './schemas/V2OnboardingGetServiceRiskScanResponse';
|
|
1542
1567
|
export type { V2OnboardingListOnboardedServicesResponse } from './schemas/V2OnboardingListOnboardedServicesResponse';
|
|
1543
1568
|
export type { V2OnboardingManualMethod } from './schemas/V2OnboardingManualMethod';
|
|
1544
1569
|
export type { V2OnboardingNetworkMapCreationMode } from './schemas/V2OnboardingNetworkMapCreationMode';
|
|
@@ -1548,9 +1573,13 @@ export type { V2OnboardingOnboardingExperimentResponse } from './schemas/V2Onboa
|
|
|
1548
1573
|
export type { V2OnboardingOnboardingMode } from './schemas/V2OnboardingOnboardingMode';
|
|
1549
1574
|
export type { V2OnboardingOnboardingTargetExperiment } from './schemas/V2OnboardingOnboardingTargetExperiment';
|
|
1550
1575
|
export type { V2OnboardingProbeDetail } from './schemas/V2OnboardingProbeDetail';
|
|
1576
|
+
export type { V2OnboardingRiskScanStatus } from './schemas/V2OnboardingRiskScanStatus';
|
|
1577
|
+
export type { V2OnboardingRiskScanSummary } from './schemas/V2OnboardingRiskScanSummary';
|
|
1551
1578
|
export type { V2OnboardingRunSafeExperimentStatus } from './schemas/V2OnboardingRunSafeExperimentStatus';
|
|
1579
|
+
export type { V2OnboardingSkipOnboardingResponse } from './schemas/V2OnboardingSkipOnboardingResponse';
|
|
1552
1580
|
export type { V2OnboardingTargetNetworkMapStatus } from './schemas/V2OnboardingTargetNetworkMapStatus';
|
|
1553
1581
|
export type { V2OnboardingTargetServiceDetails } from './schemas/V2OnboardingTargetServiceDetails';
|
|
1582
|
+
export type { V2OnboardingTriggerServiceRiskScanResponse } from './schemas/V2OnboardingTriggerServiceRiskScanResponse';
|
|
1554
1583
|
export type { V2OnboardingV2Onboarding } from './schemas/V2OnboardingV2Onboarding';
|
|
1555
1584
|
export type { V2OnboardingV2OnboardingList } from './schemas/V2OnboardingV2OnboardingList';
|
|
1556
1585
|
export type { V2OnboardingV2OnboardingRequest } from './schemas/V2OnboardingV2OnboardingRequest';
|
|
@@ -6,6 +6,7 @@ export { bulkExperimentDelete, useBulkExperimentDeleteMutation, } from './hooks/
|
|
|
6
6
|
export { bulkExperimentTagAdd, useBulkExperimentTagAddMutation, } from './hooks/useBulkExperimentTagAddMutation';
|
|
7
7
|
export { bulkUpdateRecommendationStatus, useBulkUpdateRecommendationStatusMutation, } from './hooks/useBulkUpdateRecommendationStatusMutation';
|
|
8
8
|
export { canRetryExperimentCreation, useCanRetryExperimentCreationQuery, } from './hooks/useCanRetryExperimentCreationQuery';
|
|
9
|
+
export { cleanupChaosResourcesV3, useCleanupChaosResourcesV3Mutation, } from './hooks/useCleanupChaosResourcesV3Mutation';
|
|
9
10
|
export { compareExperimentTemplateRevisions, useCompareExperimentTemplateRevisionsQuery, } from './hooks/useCompareExperimentTemplateRevisionsQuery';
|
|
10
11
|
export { compareFaultTemplateRevisions, useCompareFaultTemplateRevisionsQuery, } from './hooks/useCompareFaultTemplateRevisionsQuery';
|
|
11
12
|
export { createAction, useCreateActionMutation } from './hooks/useCreateActionMutation';
|
|
@@ -65,6 +66,7 @@ export { getActionManifest, useGetActionManifestQuery } from './hooks/useGetActi
|
|
|
65
66
|
export { getAction, useGetActionQuery } from './hooks/useGetActionQuery';
|
|
66
67
|
export { getActionTemplate, useGetActionTemplateQuery } from './hooks/useGetActionTemplateQuery';
|
|
67
68
|
export { getActionTemplateRevisionDifference, useGetActionTemplateRevisionDifferenceQuery, } from './hooks/useGetActionTemplateRevisionDifferenceQuery';
|
|
69
|
+
export { getChaosCleanupStatusV3, useGetChaosCleanupStatusV3Query, } from './hooks/useGetChaosCleanupStatusV3Query';
|
|
68
70
|
export { getChaosComponentVariableInternal, useGetChaosComponentVariableInternalQuery, } from './hooks/useGetChaosComponentVariableInternalQuery';
|
|
69
71
|
export { getChaosComponentVariable, useGetChaosComponentVariableQuery, } from './hooks/useGetChaosComponentVariableQuery';
|
|
70
72
|
export { getChaosDashboard, useGetChaosDashboardQuery } from './hooks/useGetChaosDashboardQuery';
|
|
@@ -82,6 +84,7 @@ export { getChaosV2Experiment, useGetChaosV2ExperimentQuery, } from './hooks/use
|
|
|
82
84
|
export { getChaosV2ExperimentRunInternalApi, useGetChaosV2ExperimentRunInternalApiMutation, } from './hooks/useGetChaosV2ExperimentRunInternalApiMutation';
|
|
83
85
|
export { getChaosV2ExperimentRun, useGetChaosV2ExperimentRunQuery, } from './hooks/useGetChaosV2ExperimentRunQuery';
|
|
84
86
|
export { getChaosV2ExperimentVariables, useGetChaosV2ExperimentVariablesQuery, } from './hooks/useGetChaosV2ExperimentVariablesQuery';
|
|
87
|
+
export { getCleanupCommandUnitStatuses, useGetCleanupCommandUnitStatusesQuery, } from './hooks/useGetCleanupCommandUnitStatusesQuery';
|
|
85
88
|
export { getCommandUnitStatuses, useGetCommandUnitStatusesQuery, } from './hooks/useGetCommandUnitStatusesQuery';
|
|
86
89
|
export { getCondition, useGetConditionQuery } from './hooks/useGetConditionQuery';
|
|
87
90
|
export { getConnectorForInfra, useGetConnectorForInfraQuery, } from './hooks/useGetConnectorForInfraQuery';
|
|
@@ -135,6 +138,7 @@ export { getRiskScanReport, useGetRiskScanReportQuery } from './hooks/useGetRisk
|
|
|
135
138
|
export { getRule, useGetRuleQuery } from './hooks/useGetRuleQuery';
|
|
136
139
|
export { getScannedRisk, useGetScannedRiskQuery } from './hooks/useGetScannedRiskQuery';
|
|
137
140
|
export { getServiceResponse, useGetServiceResponseQuery } from './hooks/useGetServiceResponseQuery';
|
|
141
|
+
export { getServiceRiskScan, useGetServiceRiskScanQuery } from './hooks/useGetServiceRiskScanQuery';
|
|
138
142
|
export { getServiceUsageReport, useGetServiceUsageReportQuery, } from './hooks/useGetServiceUsageReportQuery';
|
|
139
143
|
export { getSgpTemplateByGenAi, useGetSgpTemplateByGenAiMutation, } from './hooks/useGetSgpTemplateByGenAiMutation';
|
|
140
144
|
export { getTargetNetworkMap, useGetTargetNetworkMapQuery, } from './hooks/useGetTargetNetworkMapQuery';
|
|
@@ -153,6 +157,7 @@ export { listChaosEnabledInfraV2, useListChaosEnabledInfraV2Query, } from './hoo
|
|
|
153
157
|
export { listChaosExperimentRunsV3, useListChaosExperimentRunsV3Query, } from './hooks/useListChaosExperimentRunsV3Query';
|
|
154
158
|
export { listChaosHub, useListChaosHubQuery } from './hooks/useListChaosHubQuery';
|
|
155
159
|
export { listChaosServiceExecutions, useListChaosServiceExecutionsQuery, } from './hooks/useListChaosServiceExecutionsQuery';
|
|
160
|
+
export { listChaosServiceLoadTests, useListChaosServiceLoadTestsQuery, } from './hooks/useListChaosServiceLoadTestsQuery';
|
|
156
161
|
export { listChaosServices, useListChaosServicesQuery } from './hooks/useListChaosServicesQuery';
|
|
157
162
|
export { listChaosV2Experiment, useListChaosV2ExperimentQuery, } from './hooks/useListChaosV2ExperimentQuery';
|
|
158
163
|
export { listCondition, useListConditionQuery } from './hooks/useListConditionQuery';
|
|
@@ -202,6 +207,7 @@ export { onboardingConfirmExperimentCreation, useOnboardingConfirmExperimentCrea
|
|
|
202
207
|
export { onboardingConfirmExperimentRun, useOnboardingConfirmExperimentRunMutation, } from './hooks/useOnboardingConfirmExperimentRunMutation';
|
|
203
208
|
export { onboardingConfirmNetworkMap, useOnboardingConfirmNetworkMapMutation, } from './hooks/useOnboardingConfirmNetworkMapMutation';
|
|
204
209
|
export { onboardingConfirmServiceOnboarding, useOnboardingConfirmServiceOnboardingMutation, } from './hooks/useOnboardingConfirmServiceOnboardingMutation';
|
|
210
|
+
export { onboardingConfirmServiceRiskScan, useOnboardingConfirmServiceRiskScanMutation, } from './hooks/useOnboardingConfirmServiceRiskScanMutation';
|
|
205
211
|
export { pipelineAddExperimentRecommendation, usePipelineAddExperimentRecommendationMutation, } from './hooks/usePipelineAddExperimentRecommendationMutation';
|
|
206
212
|
export { pipelineCanOnboardChaos, usePipelineCanOnboardChaosQuery, } from './hooks/usePipelineCanOnboardChaosQuery';
|
|
207
213
|
export { pipelineOnboardChaos, usePipelineOnboardChaosMutation, } from './hooks/usePipelineOnboardChaosMutation';
|
|
@@ -222,12 +228,14 @@ export { runChaosV2Experiment, useRunChaosV2ExperimentMutation, } from './hooks/
|
|
|
222
228
|
export { runChaosV2InternalApi, useRunChaosV2InternalApiMutation, } from './hooks/useRunChaosV2InternalApiMutation';
|
|
223
229
|
export { runRecommendation, useRunRecommendationMutation, } from './hooks/useRunRecommendationMutation';
|
|
224
230
|
export { saveChaosV2Experiment, useSaveChaosV2ExperimentMutation, } from './hooks/useSaveChaosV2ExperimentMutation';
|
|
231
|
+
export { skipOnboarding, useSkipOnboardingMutation } from './hooks/useSkipOnboardingMutation';
|
|
225
232
|
export { stopChaosExperimentV3, useStopChaosExperimentV3Mutation, } from './hooks/useStopChaosExperimentV3Mutation';
|
|
226
233
|
export { stopChaosV2Experiment, useStopChaosV2ExperimentMutation, } from './hooks/useStopChaosV2ExperimentMutation';
|
|
227
234
|
export { stopDrTest, useStopDrTestMutation } from './hooks/useStopDrTestMutation';
|
|
228
235
|
export { stopOnboardingExperiments, useStopOnboardingExperimentsMutation, } from './hooks/useStopOnboardingExperimentsMutation';
|
|
229
236
|
export { summarizeScannedRisksByService, useSummarizeScannedRisksByServiceMutation, } from './hooks/useSummarizeScannedRisksByServiceMutation';
|
|
230
237
|
export { testLegacyKubernetesChaosInfraConnection, useTestLegacyKubernetesChaosInfraConnectionQuery, } from './hooks/useTestLegacyKubernetesChaosInfraConnectionQuery';
|
|
238
|
+
export { triggerServiceRiskScan, useTriggerServiceRiskScanMutation, } from './hooks/useTriggerServiceRiskScanMutation';
|
|
231
239
|
export { updateAction, useUpdateActionMutation } from './hooks/useUpdateActionMutation';
|
|
232
240
|
export { updateActionTemplate, useUpdateActionTemplateMutation, } from './hooks/useUpdateActionTemplateMutation';
|
|
233
241
|
export { updateChaosComponent, useUpdateChaosComponentMutation, } from './hooks/useUpdateChaosComponentMutation';
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
export interface ActionActionTemplateRunProperties {
|
|
2
2
|
initialDelay?: string;
|
|
3
3
|
interval?: string;
|
|
4
|
-
iterations?: {
|
|
5
|
-
|
|
6
|
-
};
|
|
7
|
-
maxRetries?: {
|
|
8
|
-
[key: string]: any;
|
|
9
|
-
};
|
|
4
|
+
iterations?: {};
|
|
5
|
+
maxRetries?: {};
|
|
10
6
|
stopOnFailure?: boolean;
|
|
11
7
|
timeout?: string;
|
|
12
8
|
verbosity?: string;
|