@harnessio/react-chaos-manager-client 1.75.0 → 1.76.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chaos-manager/src/services/hooks/useAbortChaosComponentForMachineMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useAbortChaosComponentMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useAbortRiskScanMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useCleanupChaosResourcesV3Mutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useCreateChaosComponentMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useCreateChaosServiceMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useCreateConditionMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useCreateDrTestMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useCreateExperimentV3Mutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useCreateImageRegistryV3Mutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useCreateRiskMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useCreateRiskScanMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useCreateRuleMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useDelegateCallbackUpdateMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useDeleteChaosServiceMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useDeleteConditionMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useDeleteDrTestMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useDeleteExperimentV3Mutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useDeleteRiskMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useDeleteRiskScanMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useDeleteRuleMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useEnableRuleMutation.d.ts +2 -3
- package/dist/chaos-manager/src/services/hooks/useGetChaosCleanupStatusV3Query.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useGetChaosComponentVariableInternalQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useGetChaosComponentVariableQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useGetChaosExperimentRunV3Query.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useGetChaosServiceQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useGetCleanupCommandUnitStatusesQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useGetCommandUnitStatusesQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useGetConditionQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useGetDashboardV3Query.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useGetExperimentOrTemplateVariableQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useGetExperimentV3Query.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useGetImageRegistryV3Query.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useGetKubeObjectV3Mutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useGetRiskQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useGetRiskRuleQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useGetRiskScanHeatmapQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useGetRiskScanQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useGetRiskScanReportDownloadUrlQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useGetRiskScanReportQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useGetRuleQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useGetScannedRiskQuery.d.ts +3 -3
- 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/useListActionMetadataQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useListChaosComponentQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useListChaosExperimentRunsV3Query.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useListChaosServiceExecutionsQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useListChaosServiceLoadTestsQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useListChaosServicesQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useListConditionQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useListDashboardsV3Query.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useListDrTestsQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useListExperimentMetadataQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useListExperimentOrTemplateQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useListExperimentsV3Query.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useListFaultMetadataQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useListGamedayMetadataQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useListHubMetadataQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useListProbeExecutionsQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useListProbeMetadataQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useListRiskRulesQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useListRiskScansQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useListRisksQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useListRuleQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useListScannedRiskOccurrencesQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useListScannedRisksQuery.d.ts +3 -3
- 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/useProcessTemplateMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useResolveImageRegistryV3Query.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useRetryRiskScanMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useRunChaosComponentForMachineMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useRunChaosComponentMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useRunChaosExperimentV3Mutation.d.ts +3 -3
- 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/useStopChaosExperimentV3Mutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useStopDrTestMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useSummarizeScannedRisksByServiceMutation.d.ts +3 -3
- 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/hooks/useUpdateChaosComponentMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useUpdateChaosServiceMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useUpdateConditionMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useUpdateCronStateV3Mutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useUpdateDashboardV3Mutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useUpdateExperimentV3Mutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useUpdateImageRegistryV3Mutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useUpdateRiskMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useUpdateRiskScanMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useUpdateRuleMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/index.d.ts +15 -0
- package/dist/chaos-manager/src/services/index.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaoscomponentChaosComponentExecutionNode.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/ChaoscomponentPipelineDetails.d.ts +26 -0
- package/dist/chaos-manager/src/services/schemas/ChaoscomponentPipelineDetails.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaoscomponentProbeData.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaoscomponentsRunChaosComponentRequest.d.ts +8 -0
- package/dist/chaos-manager/src/services/schemas/RiskDiscoveredService.d.ts +1 -0
- 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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ChaoscomponentsRunChaosComponentResponse } from '../schemas/ChaoscomponentsRunChaosComponentResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import type { ChaoscomponentsRunChaosComponentRequest } from '../schemas/ChaoscomponentsRunChaosComponentRequest';
|
|
5
5
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export interface RunChaosComponentMutationQueryParams {
|
|
@@ -15,7 +15,7 @@ export interface RunChaosComponentMutationQueryParams {
|
|
|
15
15
|
}
|
|
16
16
|
export type RunChaosComponentRequestBody = ChaoscomponentsRunChaosComponentRequest;
|
|
17
17
|
export type RunChaosComponentOkResponse = ChaoscomponentsRunChaosComponentResponse;
|
|
18
|
-
export type RunChaosComponentErrorResponse =
|
|
18
|
+
export type RunChaosComponentErrorResponse = SharedError;
|
|
19
19
|
export interface RunChaosComponentProps extends Omit<FetcherOptions<RunChaosComponentMutationQueryParams, RunChaosComponentRequestBody>, 'url'> {
|
|
20
20
|
queryParams: RunChaosComponentMutationQueryParams;
|
|
21
21
|
body: RunChaosComponentRequestBody;
|
|
@@ -29,4 +29,4 @@ export type RunChaosComponentMutationProps<T extends keyof RunChaosComponentProp
|
|
|
29
29
|
/**
|
|
30
30
|
* Runs chaos component (faults, probes, actions)
|
|
31
31
|
*/
|
|
32
|
-
export declare function useRunChaosComponentMutation<T extends keyof RunChaosComponentProps>(props: Pick<Partial<RunChaosComponentProps>, T>, options?: Omit<UseMutationOptions<RunChaosComponentResponseContainer, RunChaosComponentErrorResponse, RunChaosComponentMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<RunChaosComponentResponseContainer,
|
|
32
|
+
export declare function useRunChaosComponentMutation<T extends keyof RunChaosComponentProps>(props: Pick<Partial<RunChaosComponentProps>, T>, options?: Omit<UseMutationOptions<RunChaosComponentResponseContainer, RunChaosComponentErrorResponse, RunChaosComponentMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<RunChaosComponentResponseContainer, SharedError, RunChaosComponentMutationProps<T>, unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ExperimentrunsRunExperimentResponse } from '../schemas/ExperimentrunsRunExperimentResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import type { ExperimentrunsRunBody } from '../schemas/ExperimentrunsRunBody';
|
|
5
5
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export interface RunChaosExperimentV3MutationPathParams {
|
|
@@ -17,7 +17,7 @@ export interface RunChaosExperimentV3MutationQueryParams {
|
|
|
17
17
|
}
|
|
18
18
|
export type RunChaosExperimentV3RequestBody = ExperimentrunsRunBody;
|
|
19
19
|
export type RunChaosExperimentV3OkResponse = ExperimentrunsRunExperimentResponse;
|
|
20
|
-
export type RunChaosExperimentV3ErrorResponse =
|
|
20
|
+
export type RunChaosExperimentV3ErrorResponse = SharedError;
|
|
21
21
|
export interface RunChaosExperimentV3Props extends RunChaosExperimentV3MutationPathParams, Omit<FetcherOptions<RunChaosExperimentV3MutationQueryParams, RunChaosExperimentV3RequestBody>, 'url'> {
|
|
22
22
|
queryParams: RunChaosExperimentV3MutationQueryParams;
|
|
23
23
|
body: RunChaosExperimentV3RequestBody;
|
|
@@ -31,4 +31,4 @@ export type RunChaosExperimentV3MutationProps<T extends keyof RunChaosExperiment
|
|
|
31
31
|
/**
|
|
32
32
|
* Triggers an experiment run on its configured infra. Returns a notify ID and (if not blocked) a delegate task ID.
|
|
33
33
|
*/
|
|
34
|
-
export declare function useRunChaosExperimentV3Mutation<T extends keyof RunChaosExperimentV3Props>(props: Pick<Partial<RunChaosExperimentV3Props>, T>, options?: Omit<UseMutationOptions<RunChaosExperimentV3ResponseContainer, RunChaosExperimentV3ErrorResponse, RunChaosExperimentV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<RunChaosExperimentV3ResponseContainer,
|
|
34
|
+
export declare function useRunChaosExperimentV3Mutation<T extends keyof RunChaosExperimentV3Props>(props: Pick<Partial<RunChaosExperimentV3Props>, T>, options?: Omit<UseMutationOptions<RunChaosExperimentV3ResponseContainer, RunChaosExperimentV3ErrorResponse, RunChaosExperimentV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<RunChaosExperimentV3ResponseContainer, SharedError, RunChaosExperimentV3MutationProps<T>, unknown>;
|
|
@@ -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
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ExperimentrunsStopExperimentResponse } from '../schemas/ExperimentrunsStopExperimentResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import type { ExperimentrunsStopExperimentBody } from '../schemas/ExperimentrunsStopExperimentBody';
|
|
5
5
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export interface StopChaosExperimentV3MutationPathParams {
|
|
@@ -15,7 +15,7 @@ export interface StopChaosExperimentV3MutationQueryParams {
|
|
|
15
15
|
}
|
|
16
16
|
export type StopChaosExperimentV3RequestBody = ExperimentrunsStopExperimentBody;
|
|
17
17
|
export type StopChaosExperimentV3OkResponse = ExperimentrunsStopExperimentResponse;
|
|
18
|
-
export type StopChaosExperimentV3ErrorResponse =
|
|
18
|
+
export type StopChaosExperimentV3ErrorResponse = SharedError;
|
|
19
19
|
export interface StopChaosExperimentV3Props extends StopChaosExperimentV3MutationPathParams, Omit<FetcherOptions<StopChaosExperimentV3MutationQueryParams, StopChaosExperimentV3RequestBody>, 'url'> {
|
|
20
20
|
queryParams: StopChaosExperimentV3MutationQueryParams;
|
|
21
21
|
body: StopChaosExperimentV3RequestBody;
|
|
@@ -29,4 +29,4 @@ export type StopChaosExperimentV3MutationProps<T extends keyof StopChaosExperime
|
|
|
29
29
|
/**
|
|
30
30
|
* Stops a single run (by experimentRunId or notifyId) or every Running run for the experiment when both are empty.
|
|
31
31
|
*/
|
|
32
|
-
export declare function useStopChaosExperimentV3Mutation<T extends keyof StopChaosExperimentV3Props>(props: Pick<Partial<StopChaosExperimentV3Props>, T>, options?: Omit<UseMutationOptions<StopChaosExperimentV3ResponseContainer, StopChaosExperimentV3ErrorResponse, StopChaosExperimentV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<StopChaosExperimentV3ResponseContainer,
|
|
32
|
+
export declare function useStopChaosExperimentV3Mutation<T extends keyof StopChaosExperimentV3Props>(props: Pick<Partial<StopChaosExperimentV3Props>, T>, options?: Omit<UseMutationOptions<StopChaosExperimentV3ResponseContainer, StopChaosExperimentV3ErrorResponse, StopChaosExperimentV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<StopChaosExperimentV3ResponseContainer, SharedError, StopChaosExperimentV3MutationProps<T>, unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ChaoscomponentsStopDrTestResponse } from '../schemas/ChaoscomponentsStopDrTestResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface StopDrTestMutationPathParams {
|
|
6
6
|
identity: string;
|
|
@@ -14,7 +14,7 @@ export interface StopDrTestMutationQueryParams {
|
|
|
14
14
|
projectIdentifier?: string;
|
|
15
15
|
}
|
|
16
16
|
export type StopDrTestOkResponse = ChaoscomponentsStopDrTestResponse;
|
|
17
|
-
export type StopDrTestErrorResponse =
|
|
17
|
+
export type StopDrTestErrorResponse = SharedError;
|
|
18
18
|
export interface StopDrTestProps extends StopDrTestMutationPathParams, Omit<FetcherOptions<StopDrTestMutationQueryParams, unknown>, 'url'> {
|
|
19
19
|
queryParams: StopDrTestMutationQueryParams;
|
|
20
20
|
}
|
|
@@ -27,4 +27,4 @@ export type StopDrTestMutationProps<T extends keyof StopDrTestProps> = Omit<Stop
|
|
|
27
27
|
/**
|
|
28
28
|
* Stops a running DR test pipeline execution by aborting the pipeline
|
|
29
29
|
*/
|
|
30
|
-
export declare function useStopDrTestMutation<T extends keyof StopDrTestProps>(props: Pick<Partial<StopDrTestProps>, T>, options?: Omit<UseMutationOptions<StopDrTestResponseContainer, StopDrTestErrorResponse, StopDrTestMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<StopDrTestResponseContainer,
|
|
30
|
+
export declare function useStopDrTestMutation<T extends keyof StopDrTestProps>(props: Pick<Partial<StopDrTestProps>, T>, options?: Omit<UseMutationOptions<StopDrTestResponseContainer, StopDrTestErrorResponse, StopDrTestMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<StopDrTestResponseContainer, SharedError, StopDrTestMutationProps<T>, unknown>;
|
package/dist/chaos-manager/src/services/hooks/useSummarizeScannedRisksByServiceMutation.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ScannedrisksServiceRiskSummaryResponse } from '../schemas/ScannedrisksServiceRiskSummaryResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import type { ScannedrisksServiceRiskSummaryQuery } from '../schemas/ScannedrisksServiceRiskSummaryQuery';
|
|
5
5
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export interface SummarizeScannedRisksByServiceMutationQueryParams {
|
|
@@ -12,7 +12,7 @@ export interface SummarizeScannedRisksByServiceMutationQueryParams {
|
|
|
12
12
|
}
|
|
13
13
|
export type SummarizeScannedRisksByServiceRequestBody = ScannedrisksServiceRiskSummaryQuery;
|
|
14
14
|
export type SummarizeScannedRisksByServiceOkResponse = ScannedrisksServiceRiskSummaryResponse;
|
|
15
|
-
export type SummarizeScannedRisksByServiceErrorResponse =
|
|
15
|
+
export type SummarizeScannedRisksByServiceErrorResponse = SharedError;
|
|
16
16
|
export interface SummarizeScannedRisksByServiceProps extends Omit<FetcherOptions<SummarizeScannedRisksByServiceMutationQueryParams, SummarizeScannedRisksByServiceRequestBody>, 'url'> {
|
|
17
17
|
queryParams: SummarizeScannedRisksByServiceMutationQueryParams;
|
|
18
18
|
body: SummarizeScannedRisksByServiceRequestBody;
|
|
@@ -26,4 +26,4 @@ export type SummarizeScannedRisksByServiceMutationProps<T extends keyof Summariz
|
|
|
26
26
|
/**
|
|
27
27
|
* Returns aggregated risk counts (total, critical, high, medium, low) per target service.
|
|
28
28
|
*/
|
|
29
|
-
export declare function useSummarizeScannedRisksByServiceMutation<T extends keyof SummarizeScannedRisksByServiceProps>(props: Pick<Partial<SummarizeScannedRisksByServiceProps>, T>, options?: Omit<UseMutationOptions<SummarizeScannedRisksByServiceResponseContainer, SummarizeScannedRisksByServiceErrorResponse, SummarizeScannedRisksByServiceMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<SummarizeScannedRisksByServiceResponseContainer,
|
|
29
|
+
export declare function useSummarizeScannedRisksByServiceMutation<T extends keyof SummarizeScannedRisksByServiceProps>(props: Pick<Partial<SummarizeScannedRisksByServiceProps>, T>, options?: Omit<UseMutationOptions<SummarizeScannedRisksByServiceResponseContainer, SummarizeScannedRisksByServiceErrorResponse, SummarizeScannedRisksByServiceMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<SummarizeScannedRisksByServiceResponseContainer, SharedError, SummarizeScannedRisksByServiceMutationProps<T>, unknown>;
|
|
@@ -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
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { GithubComHarnessHceSaasGraphqlServerApiEmpty } from '../schemas/GithubComHarnessHceSaasGraphqlServerApiEmpty';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import type { ChaoscomponentChaosComponentExecutionNode } from '../schemas/ChaoscomponentChaosComponentExecutionNode';
|
|
5
5
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export interface UpdateChaosComponentMutationPathParams {
|
|
@@ -18,7 +18,7 @@ export interface UpdateChaosComponentMutationQueryParams {
|
|
|
18
18
|
}
|
|
19
19
|
export type UpdateChaosComponentRequestBody = ChaoscomponentChaosComponentExecutionNode;
|
|
20
20
|
export type UpdateChaosComponentOkResponse = GithubComHarnessHceSaasGraphqlServerApiEmpty;
|
|
21
|
-
export type UpdateChaosComponentErrorResponse =
|
|
21
|
+
export type UpdateChaosComponentErrorResponse = SharedError;
|
|
22
22
|
export interface UpdateChaosComponentProps extends UpdateChaosComponentMutationPathParams, Omit<FetcherOptions<UpdateChaosComponentMutationQueryParams, UpdateChaosComponentRequestBody>, 'url'> {
|
|
23
23
|
queryParams: UpdateChaosComponentMutationQueryParams;
|
|
24
24
|
body: UpdateChaosComponentRequestBody;
|
|
@@ -32,4 +32,4 @@ export type UpdateChaosComponentMutationProps<T extends keyof UpdateChaosCompone
|
|
|
32
32
|
/**
|
|
33
33
|
* Updates the chaos component node
|
|
34
34
|
*/
|
|
35
|
-
export declare function useUpdateChaosComponentMutation<T extends keyof UpdateChaosComponentProps>(props: Pick<Partial<UpdateChaosComponentProps>, T>, options?: Omit<UseMutationOptions<UpdateChaosComponentResponseContainer, UpdateChaosComponentErrorResponse, UpdateChaosComponentMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateChaosComponentResponseContainer,
|
|
35
|
+
export declare function useUpdateChaosComponentMutation<T extends keyof UpdateChaosComponentProps>(props: Pick<Partial<UpdateChaosComponentProps>, T>, options?: Omit<UseMutationOptions<UpdateChaosComponentResponseContainer, UpdateChaosComponentErrorResponse, UpdateChaosComponentMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateChaosComponentResponseContainer, SharedError, UpdateChaosComponentMutationProps<T>, unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ChaosservicesChaosServiceResponse } from '../schemas/ChaosservicesChaosServiceResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import type { ChaosservicesUpdateRequest } from '../schemas/ChaosservicesUpdateRequest';
|
|
5
5
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export interface UpdateChaosServiceMutationPathParams {
|
|
@@ -16,7 +16,7 @@ export interface UpdateChaosServiceMutationQueryParams {
|
|
|
16
16
|
}
|
|
17
17
|
export type UpdateChaosServiceRequestBody = ChaosservicesUpdateRequest;
|
|
18
18
|
export type UpdateChaosServiceOkResponse = ChaosservicesChaosServiceResponse;
|
|
19
|
-
export type UpdateChaosServiceErrorResponse =
|
|
19
|
+
export type UpdateChaosServiceErrorResponse = SharedError;
|
|
20
20
|
export interface UpdateChaosServiceProps extends UpdateChaosServiceMutationPathParams, Omit<FetcherOptions<UpdateChaosServiceMutationQueryParams, UpdateChaosServiceRequestBody>, 'url'> {
|
|
21
21
|
queryParams: UpdateChaosServiceMutationQueryParams;
|
|
22
22
|
body: UpdateChaosServiceRequestBody;
|
|
@@ -30,4 +30,4 @@ export type UpdateChaosServiceMutationProps<T extends keyof UpdateChaosServicePr
|
|
|
30
30
|
/**
|
|
31
31
|
* updates a chaos service
|
|
32
32
|
*/
|
|
33
|
-
export declare function useUpdateChaosServiceMutation<T extends keyof UpdateChaosServiceProps>(props: Pick<Partial<UpdateChaosServiceProps>, T>, options?: Omit<UseMutationOptions<UpdateChaosServiceResponseContainer, UpdateChaosServiceErrorResponse, UpdateChaosServiceMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateChaosServiceResponseContainer,
|
|
33
|
+
export declare function useUpdateChaosServiceMutation<T extends keyof UpdateChaosServiceProps>(props: Pick<Partial<UpdateChaosServiceProps>, T>, options?: Omit<UseMutationOptions<UpdateChaosServiceResponseContainer, UpdateChaosServiceErrorResponse, UpdateChaosServiceMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateChaosServiceResponseContainer, SharedError, UpdateChaosServiceMutationProps<T>, unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ChaosguardconditionsUpdateConditionResponse } from '../schemas/ChaosguardconditionsUpdateConditionResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import type { SecurityGovernanceCondition } from '../schemas/SecurityGovernanceCondition';
|
|
5
5
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export interface UpdateConditionMutationPathParams {
|
|
@@ -15,7 +15,7 @@ export interface UpdateConditionMutationQueryParams {
|
|
|
15
15
|
}
|
|
16
16
|
export type UpdateConditionRequestBody = SecurityGovernanceCondition;
|
|
17
17
|
export type UpdateConditionOkResponse = ChaosguardconditionsUpdateConditionResponse;
|
|
18
|
-
export type UpdateConditionErrorResponse =
|
|
18
|
+
export type UpdateConditionErrorResponse = SharedError;
|
|
19
19
|
export interface UpdateConditionProps extends UpdateConditionMutationPathParams, Omit<FetcherOptions<UpdateConditionMutationQueryParams, UpdateConditionRequestBody>, 'url'> {
|
|
20
20
|
queryParams: UpdateConditionMutationQueryParams;
|
|
21
21
|
body: UpdateConditionRequestBody;
|
|
@@ -29,4 +29,4 @@ export type UpdateConditionMutationProps<T extends keyof UpdateConditionProps> =
|
|
|
29
29
|
/**
|
|
30
30
|
* Updates a chaos guard condition
|
|
31
31
|
*/
|
|
32
|
-
export declare function useUpdateConditionMutation<T extends keyof UpdateConditionProps>(props: Pick<Partial<UpdateConditionProps>, T>, options?: Omit<UseMutationOptions<UpdateConditionResponseContainer, UpdateConditionErrorResponse, UpdateConditionMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateConditionResponseContainer,
|
|
32
|
+
export declare function useUpdateConditionMutation<T extends keyof UpdateConditionProps>(props: Pick<Partial<UpdateConditionProps>, T>, options?: Omit<UseMutationOptions<UpdateConditionResponseContainer, UpdateConditionErrorResponse, UpdateConditionMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateConditionResponseContainer, SharedError, UpdateConditionMutationProps<T>, unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ExperimentsUpdateCronStateResponse } from '../schemas/ExperimentsUpdateCronStateResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import type { ExperimentsUpdateCronStateRequest } from '../schemas/ExperimentsUpdateCronStateRequest';
|
|
5
5
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export interface UpdateCronStateV3MutationQueryParams {
|
|
@@ -13,7 +13,7 @@ export interface UpdateCronStateV3MutationQueryParams {
|
|
|
13
13
|
}
|
|
14
14
|
export type UpdateCronStateV3RequestBody = ExperimentsUpdateCronStateRequest;
|
|
15
15
|
export type UpdateCronStateV3OkResponse = ExperimentsUpdateCronStateResponse;
|
|
16
|
-
export type UpdateCronStateV3ErrorResponse =
|
|
16
|
+
export type UpdateCronStateV3ErrorResponse = SharedError;
|
|
17
17
|
export interface UpdateCronStateV3Props extends Omit<FetcherOptions<UpdateCronStateV3MutationQueryParams, UpdateCronStateV3RequestBody>, 'url'> {
|
|
18
18
|
queryParams: UpdateCronStateV3MutationQueryParams;
|
|
19
19
|
body: UpdateCronStateV3RequestBody;
|
|
@@ -27,4 +27,4 @@ export type UpdateCronStateV3MutationProps<T extends keyof UpdateCronStateV3Prop
|
|
|
27
27
|
/**
|
|
28
28
|
* Bulk enable, disable, or update cron schedules for up to 20 experiments
|
|
29
29
|
*/
|
|
30
|
-
export declare function useUpdateCronStateV3Mutation<T extends keyof UpdateCronStateV3Props>(props: Pick<Partial<UpdateCronStateV3Props>, T>, options?: Omit<UseMutationOptions<UpdateCronStateV3ResponseContainer, UpdateCronStateV3ErrorResponse, UpdateCronStateV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateCronStateV3ResponseContainer,
|
|
30
|
+
export declare function useUpdateCronStateV3Mutation<T extends keyof UpdateCronStateV3Props>(props: Pick<Partial<UpdateCronStateV3Props>, T>, options?: Omit<UseMutationOptions<UpdateCronStateV3ResponseContainer, UpdateCronStateV3ErrorResponse, UpdateCronStateV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateCronStateV3ResponseContainer, SharedError, UpdateCronStateV3MutationProps<T>, unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { DashboardDashboardResponse } from '../schemas/DashboardDashboardResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import type { DashboardUpdateRequest } from '../schemas/DashboardUpdateRequest';
|
|
5
5
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export interface UpdateDashboardV3MutationPathParams {
|
|
@@ -16,7 +16,7 @@ export interface UpdateDashboardV3MutationQueryParams {
|
|
|
16
16
|
}
|
|
17
17
|
export type UpdateDashboardV3RequestBody = DashboardUpdateRequest;
|
|
18
18
|
export type UpdateDashboardV3OkResponse = DashboardDashboardResponse;
|
|
19
|
-
export type UpdateDashboardV3ErrorResponse =
|
|
19
|
+
export type UpdateDashboardV3ErrorResponse = SharedError;
|
|
20
20
|
export interface UpdateDashboardV3Props extends UpdateDashboardV3MutationPathParams, Omit<FetcherOptions<UpdateDashboardV3MutationQueryParams, UpdateDashboardV3RequestBody>, 'url'> {
|
|
21
21
|
queryParams: UpdateDashboardV3MutationQueryParams;
|
|
22
22
|
body: UpdateDashboardV3RequestBody;
|
|
@@ -30,4 +30,4 @@ export type UpdateDashboardV3MutationProps<T extends keyof UpdateDashboardV3Prop
|
|
|
30
30
|
/**
|
|
31
31
|
* updates the tags and favourite flag of a dashboard for the given project
|
|
32
32
|
*/
|
|
33
|
-
export declare function useUpdateDashboardV3Mutation<T extends keyof UpdateDashboardV3Props>(props: Pick<Partial<UpdateDashboardV3Props>, T>, options?: Omit<UseMutationOptions<UpdateDashboardV3ResponseContainer, UpdateDashboardV3ErrorResponse, UpdateDashboardV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateDashboardV3ResponseContainer,
|
|
33
|
+
export declare function useUpdateDashboardV3Mutation<T extends keyof UpdateDashboardV3Props>(props: Pick<Partial<UpdateDashboardV3Props>, T>, options?: Omit<UseMutationOptions<UpdateDashboardV3ResponseContainer, UpdateDashboardV3ErrorResponse, UpdateDashboardV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateDashboardV3ResponseContainer, SharedError, UpdateDashboardV3MutationProps<T>, unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ExperimentsUpdateResponse } from '../schemas/ExperimentsUpdateResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import type { ExperimentsUpdateRequest } from '../schemas/ExperimentsUpdateRequest';
|
|
5
5
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export interface UpdateExperimentV3MutationPathParams {
|
|
@@ -16,7 +16,7 @@ export interface UpdateExperimentV3MutationQueryParams {
|
|
|
16
16
|
}
|
|
17
17
|
export type UpdateExperimentV3RequestBody = ExperimentsUpdateRequest;
|
|
18
18
|
export type UpdateExperimentV3OkResponse = ExperimentsUpdateResponse;
|
|
19
|
-
export type UpdateExperimentV3ErrorResponse =
|
|
19
|
+
export type UpdateExperimentV3ErrorResponse = SharedError;
|
|
20
20
|
export interface UpdateExperimentV3Props extends UpdateExperimentV3MutationPathParams, Omit<FetcherOptions<UpdateExperimentV3MutationQueryParams, UpdateExperimentV3RequestBody>, 'url'> {
|
|
21
21
|
queryParams: UpdateExperimentV3MutationQueryParams;
|
|
22
22
|
body: UpdateExperimentV3RequestBody;
|
|
@@ -30,4 +30,4 @@ export type UpdateExperimentV3MutationProps<T extends keyof UpdateExperimentV3Pr
|
|
|
30
30
|
/**
|
|
31
31
|
* Update a chaos experiment by identity
|
|
32
32
|
*/
|
|
33
|
-
export declare function useUpdateExperimentV3Mutation<T extends keyof UpdateExperimentV3Props>(props: Pick<Partial<UpdateExperimentV3Props>, T>, options?: Omit<UseMutationOptions<UpdateExperimentV3ResponseContainer, UpdateExperimentV3ErrorResponse, UpdateExperimentV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateExperimentV3ResponseContainer,
|
|
33
|
+
export declare function useUpdateExperimentV3Mutation<T extends keyof UpdateExperimentV3Props>(props: Pick<Partial<UpdateExperimentV3Props>, T>, options?: Omit<UseMutationOptions<UpdateExperimentV3ResponseContainer, UpdateExperimentV3ErrorResponse, UpdateExperimentV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateExperimentV3ResponseContainer, SharedError, UpdateExperimentV3MutationProps<T>, unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ImageregistriesImageRegistryResponse } from '../schemas/ImageregistriesImageRegistryResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import type { ImageregistriesUpdateRequest } from '../schemas/ImageregistriesUpdateRequest';
|
|
5
5
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export interface UpdateImageRegistryV3MutationQueryParams {
|
|
@@ -14,7 +14,7 @@ export interface UpdateImageRegistryV3MutationQueryParams {
|
|
|
14
14
|
}
|
|
15
15
|
export type UpdateImageRegistryV3RequestBody = ImageregistriesUpdateRequest;
|
|
16
16
|
export type UpdateImageRegistryV3OkResponse = ImageregistriesImageRegistryResponse;
|
|
17
|
-
export type UpdateImageRegistryV3ErrorResponse =
|
|
17
|
+
export type UpdateImageRegistryV3ErrorResponse = SharedError;
|
|
18
18
|
export interface UpdateImageRegistryV3Props extends Omit<FetcherOptions<UpdateImageRegistryV3MutationQueryParams, UpdateImageRegistryV3RequestBody>, 'url'> {
|
|
19
19
|
queryParams: UpdateImageRegistryV3MutationQueryParams;
|
|
20
20
|
body: UpdateImageRegistryV3RequestBody;
|
|
@@ -28,4 +28,4 @@ export type UpdateImageRegistryV3MutationProps<T extends keyof UpdateImageRegist
|
|
|
28
28
|
/**
|
|
29
29
|
* updates an image registry for the given scope
|
|
30
30
|
*/
|
|
31
|
-
export declare function useUpdateImageRegistryV3Mutation<T extends keyof UpdateImageRegistryV3Props>(props: Pick<Partial<UpdateImageRegistryV3Props>, T>, options?: Omit<UseMutationOptions<UpdateImageRegistryV3ResponseContainer, UpdateImageRegistryV3ErrorResponse, UpdateImageRegistryV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateImageRegistryV3ResponseContainer,
|
|
31
|
+
export declare function useUpdateImageRegistryV3Mutation<T extends keyof UpdateImageRegistryV3Props>(props: Pick<Partial<UpdateImageRegistryV3Props>, T>, options?: Omit<UseMutationOptions<UpdateImageRegistryV3ResponseContainer, UpdateImageRegistryV3ErrorResponse, UpdateImageRegistryV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateImageRegistryV3ResponseContainer, SharedError, UpdateImageRegistryV3MutationProps<T>, unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { RisksRisk } from '../schemas/RisksRisk';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import type { RisksUpdateRequest } from '../schemas/RisksUpdateRequest';
|
|
5
5
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export interface UpdateRiskMutationPathParams {
|
|
@@ -16,7 +16,7 @@ export interface UpdateRiskMutationQueryParams {
|
|
|
16
16
|
}
|
|
17
17
|
export type UpdateRiskRequestBody = RisksUpdateRequest;
|
|
18
18
|
export type UpdateRiskOkResponse = RisksRisk;
|
|
19
|
-
export type UpdateRiskErrorResponse =
|
|
19
|
+
export type UpdateRiskErrorResponse = SharedError;
|
|
20
20
|
export interface UpdateRiskProps extends UpdateRiskMutationPathParams, Omit<FetcherOptions<UpdateRiskMutationQueryParams, UpdateRiskRequestBody>, 'url'> {
|
|
21
21
|
queryParams: UpdateRiskMutationQueryParams;
|
|
22
22
|
body: UpdateRiskRequestBody;
|
|
@@ -30,4 +30,4 @@ export type UpdateRiskMutationProps<T extends keyof UpdateRiskProps> = Omit<Upda
|
|
|
30
30
|
/**
|
|
31
31
|
* Updates a risk
|
|
32
32
|
*/
|
|
33
|
-
export declare function useUpdateRiskMutation<T extends keyof UpdateRiskProps>(props: Pick<Partial<UpdateRiskProps>, T>, options?: Omit<UseMutationOptions<UpdateRiskResponseContainer, UpdateRiskErrorResponse, UpdateRiskMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateRiskResponseContainer,
|
|
33
|
+
export declare function useUpdateRiskMutation<T extends keyof UpdateRiskProps>(props: Pick<Partial<UpdateRiskProps>, T>, options?: Omit<UseMutationOptions<UpdateRiskResponseContainer, UpdateRiskErrorResponse, UpdateRiskMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateRiskResponseContainer, SharedError, UpdateRiskMutationProps<T>, unknown>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
-
import type {
|
|
2
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
3
3
|
import type { RiskscansUpdateRequest } from '../schemas/RiskscansUpdateRequest';
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface UpdateRiskScanMutationPathParams {
|
|
@@ -16,7 +16,7 @@ export type UpdateRiskScanRequestBody = RiskscansUpdateRequest;
|
|
|
16
16
|
export type UpdateRiskScanOkResponse = {
|
|
17
17
|
[key: string]: string;
|
|
18
18
|
};
|
|
19
|
-
export type UpdateRiskScanErrorResponse =
|
|
19
|
+
export type UpdateRiskScanErrorResponse = SharedError;
|
|
20
20
|
export interface UpdateRiskScanProps extends UpdateRiskScanMutationPathParams, Omit<FetcherOptions<UpdateRiskScanMutationQueryParams, UpdateRiskScanRequestBody>, 'url'> {
|
|
21
21
|
queryParams: UpdateRiskScanMutationQueryParams;
|
|
22
22
|
body: UpdateRiskScanRequestBody;
|
|
@@ -30,4 +30,4 @@ export type UpdateRiskScanMutationProps<T extends keyof UpdateRiskScanProps> = O
|
|
|
30
30
|
/**
|
|
31
31
|
* updates an existing risk scan's metadata
|
|
32
32
|
*/
|
|
33
|
-
export declare function useUpdateRiskScanMutation<T extends keyof UpdateRiskScanProps>(props: Pick<Partial<UpdateRiskScanProps>, T>, options?: Omit<UseMutationOptions<UpdateRiskScanResponseContainer, UpdateRiskScanErrorResponse, UpdateRiskScanMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateRiskScanResponseContainer,
|
|
33
|
+
export declare function useUpdateRiskScanMutation<T extends keyof UpdateRiskScanProps>(props: Pick<Partial<UpdateRiskScanProps>, T>, options?: Omit<UseMutationOptions<UpdateRiskScanResponseContainer, UpdateRiskScanErrorResponse, UpdateRiskScanMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateRiskScanResponseContainer, SharedError, UpdateRiskScanMutationProps<T>, unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ChaosguardrulesUpdateRuleResponse } from '../schemas/ChaosguardrulesUpdateRuleResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbSecurityGovernanceRule } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbSecurityGovernanceRule';
|
|
5
5
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export interface UpdateRuleMutationPathParams {
|
|
@@ -15,7 +15,7 @@ export interface UpdateRuleMutationQueryParams {
|
|
|
15
15
|
}
|
|
16
16
|
export type UpdateRuleRequestBody = GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbSecurityGovernanceRule;
|
|
17
17
|
export type UpdateRuleOkResponse = ChaosguardrulesUpdateRuleResponse;
|
|
18
|
-
export type UpdateRuleErrorResponse =
|
|
18
|
+
export type UpdateRuleErrorResponse = SharedError;
|
|
19
19
|
export interface UpdateRuleProps extends UpdateRuleMutationPathParams, Omit<FetcherOptions<UpdateRuleMutationQueryParams, UpdateRuleRequestBody>, 'url'> {
|
|
20
20
|
queryParams: UpdateRuleMutationQueryParams;
|
|
21
21
|
body: UpdateRuleRequestBody;
|
|
@@ -29,4 +29,4 @@ export type UpdateRuleMutationProps<T extends keyof UpdateRuleProps> = Omit<Upda
|
|
|
29
29
|
/**
|
|
30
30
|
* Updates a chaos guard rule
|
|
31
31
|
*/
|
|
32
|
-
export declare function useUpdateRuleMutation<T extends keyof UpdateRuleProps>(props: Pick<Partial<UpdateRuleProps>, T>, options?: Omit<UseMutationOptions<UpdateRuleResponseContainer, UpdateRuleErrorResponse, UpdateRuleMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateRuleResponseContainer,
|
|
32
|
+
export declare function useUpdateRuleMutation<T extends keyof UpdateRuleProps>(props: Pick<Partial<UpdateRuleProps>, T>, options?: Omit<UseMutationOptions<UpdateRuleResponseContainer, UpdateRuleErrorResponse, UpdateRuleMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateRuleResponseContainer, SharedError, UpdateRuleMutationProps<T>, unknown>;
|
|
@@ -280,6 +280,8 @@ export type { GetScannedRiskErrorResponse, GetScannedRiskOkResponse, GetScannedR
|
|
|
280
280
|
export { getScannedRisk, useGetScannedRiskQuery } from './hooks/useGetScannedRiskQuery';
|
|
281
281
|
export type { GetServiceResponseErrorResponse, GetServiceResponseOkResponse, GetServiceResponseProps, GetServiceResponseQueryPathParams, GetServiceResponseQueryQueryParams, } from './hooks/useGetServiceResponseQuery';
|
|
282
282
|
export { getServiceResponse, useGetServiceResponseQuery } from './hooks/useGetServiceResponseQuery';
|
|
283
|
+
export type { GetServiceRiskScanErrorResponse, GetServiceRiskScanOkResponse, GetServiceRiskScanProps, GetServiceRiskScanQueryPathParams, GetServiceRiskScanQueryQueryParams, } from './hooks/useGetServiceRiskScanQuery';
|
|
284
|
+
export { getServiceRiskScan, useGetServiceRiskScanQuery } from './hooks/useGetServiceRiskScanQuery';
|
|
283
285
|
export type { GetServiceUsageReportErrorResponse, GetServiceUsageReportOkResponse, GetServiceUsageReportProps, GetServiceUsageReportQueryPathParams, GetServiceUsageReportQueryQueryParams, } from './hooks/useGetServiceUsageReportQuery';
|
|
284
286
|
export { getServiceUsageReport, useGetServiceUsageReportQuery, } from './hooks/useGetServiceUsageReportQuery';
|
|
285
287
|
export type { GetSgpTemplateByGenAiErrorResponse, GetSgpTemplateByGenAiMutationProps, GetSgpTemplateByGenAiOkResponse, GetSgpTemplateByGenAiProps, } from './hooks/useGetSgpTemplateByGenAiMutation';
|
|
@@ -416,6 +418,8 @@ export type { OnboardingConfirmNetworkMapErrorResponse, OnboardingConfirmNetwork
|
|
|
416
418
|
export { onboardingConfirmNetworkMap, useOnboardingConfirmNetworkMapMutation, } from './hooks/useOnboardingConfirmNetworkMapMutation';
|
|
417
419
|
export type { OnboardingConfirmServiceOnboardingErrorResponse, OnboardingConfirmServiceOnboardingMutationPathParams, OnboardingConfirmServiceOnboardingMutationProps, OnboardingConfirmServiceOnboardingMutationQueryParams, OnboardingConfirmServiceOnboardingOkResponse, OnboardingConfirmServiceOnboardingProps, } from './hooks/useOnboardingConfirmServiceOnboardingMutation';
|
|
418
420
|
export { onboardingConfirmServiceOnboarding, useOnboardingConfirmServiceOnboardingMutation, } from './hooks/useOnboardingConfirmServiceOnboardingMutation';
|
|
421
|
+
export type { OnboardingConfirmServiceRiskScanErrorResponse, OnboardingConfirmServiceRiskScanMutationPathParams, OnboardingConfirmServiceRiskScanMutationProps, OnboardingConfirmServiceRiskScanMutationQueryParams, OnboardingConfirmServiceRiskScanOkResponse, OnboardingConfirmServiceRiskScanProps, } from './hooks/useOnboardingConfirmServiceRiskScanMutation';
|
|
422
|
+
export { onboardingConfirmServiceRiskScan, useOnboardingConfirmServiceRiskScanMutation, } from './hooks/useOnboardingConfirmServiceRiskScanMutation';
|
|
419
423
|
export type { PipelineAddExperimentRecommendationErrorResponse, PipelineAddExperimentRecommendationMutationProps, PipelineAddExperimentRecommendationMutationQueryParams, PipelineAddExperimentRecommendationOkResponse, PipelineAddExperimentRecommendationProps, } from './hooks/usePipelineAddExperimentRecommendationMutation';
|
|
420
424
|
export { pipelineAddExperimentRecommendation, usePipelineAddExperimentRecommendationMutation, } from './hooks/usePipelineAddExperimentRecommendationMutation';
|
|
421
425
|
export type { PipelineCanOnboardChaosErrorResponse, PipelineCanOnboardChaosOkResponse, PipelineCanOnboardChaosProps, PipelineCanOnboardChaosQueryPathParams, PipelineCanOnboardChaosQueryQueryParams, } from './hooks/usePipelineCanOnboardChaosQuery';
|
|
@@ -456,6 +460,8 @@ export type { RunRecommendationErrorResponse, RunRecommendationMutationProps, Ru
|
|
|
456
460
|
export { runRecommendation, useRunRecommendationMutation, } from './hooks/useRunRecommendationMutation';
|
|
457
461
|
export type { SaveChaosV2ExperimentErrorResponse, SaveChaosV2ExperimentMutationProps, SaveChaosV2ExperimentMutationQueryParams, SaveChaosV2ExperimentOkResponse, SaveChaosV2ExperimentProps, SaveChaosV2ExperimentRequestBody, } from './hooks/useSaveChaosV2ExperimentMutation';
|
|
458
462
|
export { saveChaosV2Experiment, useSaveChaosV2ExperimentMutation, } from './hooks/useSaveChaosV2ExperimentMutation';
|
|
463
|
+
export type { SkipOnboardingErrorResponse, SkipOnboardingMutationPathParams, SkipOnboardingMutationProps, SkipOnboardingMutationQueryParams, SkipOnboardingOkResponse, SkipOnboardingProps, } from './hooks/useSkipOnboardingMutation';
|
|
464
|
+
export { skipOnboarding, useSkipOnboardingMutation } from './hooks/useSkipOnboardingMutation';
|
|
459
465
|
export type { StopChaosExperimentV3ErrorResponse, StopChaosExperimentV3MutationPathParams, StopChaosExperimentV3MutationProps, StopChaosExperimentV3MutationQueryParams, StopChaosExperimentV3OkResponse, StopChaosExperimentV3Props, StopChaosExperimentV3RequestBody, } from './hooks/useStopChaosExperimentV3Mutation';
|
|
460
466
|
export { stopChaosExperimentV3, useStopChaosExperimentV3Mutation, } from './hooks/useStopChaosExperimentV3Mutation';
|
|
461
467
|
export type { StopChaosV2ExperimentErrorResponse, StopChaosV2ExperimentMutationPathParams, StopChaosV2ExperimentMutationProps, StopChaosV2ExperimentMutationQueryParams, StopChaosV2ExperimentOkResponse, StopChaosV2ExperimentProps, } from './hooks/useStopChaosV2ExperimentMutation';
|
|
@@ -468,6 +474,8 @@ export type { SummarizeScannedRisksByServiceErrorResponse, SummarizeScannedRisks
|
|
|
468
474
|
export { summarizeScannedRisksByService, useSummarizeScannedRisksByServiceMutation, } from './hooks/useSummarizeScannedRisksByServiceMutation';
|
|
469
475
|
export type { TestLegacyKubernetesChaosInfraConnectionErrorResponse, TestLegacyKubernetesChaosInfraConnectionOkResponse, TestLegacyKubernetesChaosInfraConnectionProps, TestLegacyKubernetesChaosInfraConnectionQueryPathParams, TestLegacyKubernetesChaosInfraConnectionQueryQueryParams, } from './hooks/useTestLegacyKubernetesChaosInfraConnectionQuery';
|
|
470
476
|
export { testLegacyKubernetesChaosInfraConnection, useTestLegacyKubernetesChaosInfraConnectionQuery, } from './hooks/useTestLegacyKubernetesChaosInfraConnectionQuery';
|
|
477
|
+
export type { TriggerServiceRiskScanErrorResponse, TriggerServiceRiskScanMutationPathParams, TriggerServiceRiskScanMutationProps, TriggerServiceRiskScanMutationQueryParams, TriggerServiceRiskScanOkResponse, TriggerServiceRiskScanProps, } from './hooks/useTriggerServiceRiskScanMutation';
|
|
478
|
+
export { triggerServiceRiskScan, useTriggerServiceRiskScanMutation, } from './hooks/useTriggerServiceRiskScanMutation';
|
|
471
479
|
export type { UpdateActionErrorResponse, UpdateActionMutationPathParams, UpdateActionMutationProps, UpdateActionMutationQueryParams, UpdateActionOkResponse, UpdateActionProps, UpdateActionRequestBody, } from './hooks/useUpdateActionMutation';
|
|
472
480
|
export { updateAction, useUpdateActionMutation } from './hooks/useUpdateActionMutation';
|
|
473
481
|
export type { UpdateActionTemplateErrorResponse, UpdateActionTemplateMutationPathParams, UpdateActionTemplateMutationProps, UpdateActionTemplateMutationQueryParams, UpdateActionTemplateOkResponse, UpdateActionTemplateProps, UpdateActionTemplateRequestBody, } from './hooks/useUpdateActionTemplateMutation';
|
|
@@ -615,6 +623,7 @@ export type { ChaoscomponentFaultData } from './schemas/ChaoscomponentFaultData'
|
|
|
615
623
|
export type { ChaoscomponentHelperPodDetails } from './schemas/ChaoscomponentHelperPodDetails';
|
|
616
624
|
export type { ChaoscomponentHttpProbe } from './schemas/ChaoscomponentHttpProbe';
|
|
617
625
|
export type { ChaoscomponentInfraType } from './schemas/ChaoscomponentInfraType';
|
|
626
|
+
export type { ChaoscomponentPipelineDetails } from './schemas/ChaoscomponentPipelineDetails';
|
|
618
627
|
export type { ChaoscomponentProbeData } from './schemas/ChaoscomponentProbeData';
|
|
619
628
|
export type { ChaoscomponentProbeIterations } from './schemas/ChaoscomponentProbeIterations';
|
|
620
629
|
export type { ChaoscomponentPromProbe } from './schemas/ChaoscomponentPromProbe';
|
|
@@ -1554,8 +1563,10 @@ export type { V2OnboardingConfirmExperimentRunResponse } from './schemas/V2Onboa
|
|
|
1554
1563
|
export type { V2OnboardingConfirmNetworkMapRequest } from './schemas/V2OnboardingConfirmNetworkMapRequest';
|
|
1555
1564
|
export type { V2OnboardingConfirmNetworkMapResponse } from './schemas/V2OnboardingConfirmNetworkMapResponse';
|
|
1556
1565
|
export type { V2OnboardingConfirmServiceOnboardingResponse } from './schemas/V2OnboardingConfirmServiceOnboardingResponse';
|
|
1566
|
+
export type { V2OnboardingConfirmServiceRiskScanResponse } from './schemas/V2OnboardingConfirmServiceRiskScanResponse';
|
|
1557
1567
|
export type { V2OnboardingDiscoveredService } from './schemas/V2OnboardingDiscoveredService';
|
|
1558
1568
|
export type { V2OnboardingExperiments } from './schemas/V2OnboardingExperiments';
|
|
1569
|
+
export type { V2OnboardingGetServiceRiskScanResponse } from './schemas/V2OnboardingGetServiceRiskScanResponse';
|
|
1559
1570
|
export type { V2OnboardingListOnboardedServicesResponse } from './schemas/V2OnboardingListOnboardedServicesResponse';
|
|
1560
1571
|
export type { V2OnboardingManualMethod } from './schemas/V2OnboardingManualMethod';
|
|
1561
1572
|
export type { V2OnboardingNetworkMapCreationMode } from './schemas/V2OnboardingNetworkMapCreationMode';
|
|
@@ -1565,9 +1576,13 @@ export type { V2OnboardingOnboardingExperimentResponse } from './schemas/V2Onboa
|
|
|
1565
1576
|
export type { V2OnboardingOnboardingMode } from './schemas/V2OnboardingOnboardingMode';
|
|
1566
1577
|
export type { V2OnboardingOnboardingTargetExperiment } from './schemas/V2OnboardingOnboardingTargetExperiment';
|
|
1567
1578
|
export type { V2OnboardingProbeDetail } from './schemas/V2OnboardingProbeDetail';
|
|
1579
|
+
export type { V2OnboardingRiskScanStatus } from './schemas/V2OnboardingRiskScanStatus';
|
|
1580
|
+
export type { V2OnboardingRiskScanSummary } from './schemas/V2OnboardingRiskScanSummary';
|
|
1568
1581
|
export type { V2OnboardingRunSafeExperimentStatus } from './schemas/V2OnboardingRunSafeExperimentStatus';
|
|
1582
|
+
export type { V2OnboardingSkipOnboardingResponse } from './schemas/V2OnboardingSkipOnboardingResponse';
|
|
1569
1583
|
export type { V2OnboardingTargetNetworkMapStatus } from './schemas/V2OnboardingTargetNetworkMapStatus';
|
|
1570
1584
|
export type { V2OnboardingTargetServiceDetails } from './schemas/V2OnboardingTargetServiceDetails';
|
|
1585
|
+
export type { V2OnboardingTriggerServiceRiskScanResponse } from './schemas/V2OnboardingTriggerServiceRiskScanResponse';
|
|
1571
1586
|
export type { V2OnboardingV2Onboarding } from './schemas/V2OnboardingV2Onboarding';
|
|
1572
1587
|
export type { V2OnboardingV2OnboardingList } from './schemas/V2OnboardingV2OnboardingList';
|
|
1573
1588
|
export type { V2OnboardingV2OnboardingRequest } from './schemas/V2OnboardingV2OnboardingRequest';
|
|
@@ -139,6 +139,7 @@ export { getRiskScanReport, useGetRiskScanReportQuery } from './hooks/useGetRisk
|
|
|
139
139
|
export { getRule, useGetRuleQuery } from './hooks/useGetRuleQuery';
|
|
140
140
|
export { getScannedRisk, useGetScannedRiskQuery } from './hooks/useGetScannedRiskQuery';
|
|
141
141
|
export { getServiceResponse, useGetServiceResponseQuery } from './hooks/useGetServiceResponseQuery';
|
|
142
|
+
export { getServiceRiskScan, useGetServiceRiskScanQuery } from './hooks/useGetServiceRiskScanQuery';
|
|
142
143
|
export { getServiceUsageReport, useGetServiceUsageReportQuery, } from './hooks/useGetServiceUsageReportQuery';
|
|
143
144
|
export { getSgpTemplateByGenAi, useGetSgpTemplateByGenAiMutation, } from './hooks/useGetSgpTemplateByGenAiMutation';
|
|
144
145
|
export { getTargetNetworkMap, useGetTargetNetworkMapQuery, } from './hooks/useGetTargetNetworkMapQuery';
|
|
@@ -207,6 +208,7 @@ export { onboardingConfirmExperimentCreation, useOnboardingConfirmExperimentCrea
|
|
|
207
208
|
export { onboardingConfirmExperimentRun, useOnboardingConfirmExperimentRunMutation, } from './hooks/useOnboardingConfirmExperimentRunMutation';
|
|
208
209
|
export { onboardingConfirmNetworkMap, useOnboardingConfirmNetworkMapMutation, } from './hooks/useOnboardingConfirmNetworkMapMutation';
|
|
209
210
|
export { onboardingConfirmServiceOnboarding, useOnboardingConfirmServiceOnboardingMutation, } from './hooks/useOnboardingConfirmServiceOnboardingMutation';
|
|
211
|
+
export { onboardingConfirmServiceRiskScan, useOnboardingConfirmServiceRiskScanMutation, } from './hooks/useOnboardingConfirmServiceRiskScanMutation';
|
|
210
212
|
export { pipelineAddExperimentRecommendation, usePipelineAddExperimentRecommendationMutation, } from './hooks/usePipelineAddExperimentRecommendationMutation';
|
|
211
213
|
export { pipelineCanOnboardChaos, usePipelineCanOnboardChaosQuery, } from './hooks/usePipelineCanOnboardChaosQuery';
|
|
212
214
|
export { pipelineOnboardChaos, usePipelineOnboardChaosMutation, } from './hooks/usePipelineOnboardChaosMutation';
|
|
@@ -227,12 +229,14 @@ export { runChaosV2Experiment, useRunChaosV2ExperimentMutation, } from './hooks/
|
|
|
227
229
|
export { runChaosV2InternalApi, useRunChaosV2InternalApiMutation, } from './hooks/useRunChaosV2InternalApiMutation';
|
|
228
230
|
export { runRecommendation, useRunRecommendationMutation, } from './hooks/useRunRecommendationMutation';
|
|
229
231
|
export { saveChaosV2Experiment, useSaveChaosV2ExperimentMutation, } from './hooks/useSaveChaosV2ExperimentMutation';
|
|
232
|
+
export { skipOnboarding, useSkipOnboardingMutation } from './hooks/useSkipOnboardingMutation';
|
|
230
233
|
export { stopChaosExperimentV3, useStopChaosExperimentV3Mutation, } from './hooks/useStopChaosExperimentV3Mutation';
|
|
231
234
|
export { stopChaosV2Experiment, useStopChaosV2ExperimentMutation, } from './hooks/useStopChaosV2ExperimentMutation';
|
|
232
235
|
export { stopDrTest, useStopDrTestMutation } from './hooks/useStopDrTestMutation';
|
|
233
236
|
export { stopOnboardingExperiments, useStopOnboardingExperimentsMutation, } from './hooks/useStopOnboardingExperimentsMutation';
|
|
234
237
|
export { summarizeScannedRisksByService, useSummarizeScannedRisksByServiceMutation, } from './hooks/useSummarizeScannedRisksByServiceMutation';
|
|
235
238
|
export { testLegacyKubernetesChaosInfraConnection, useTestLegacyKubernetesChaosInfraConnectionQuery, } from './hooks/useTestLegacyKubernetesChaosInfraConnectionQuery';
|
|
239
|
+
export { triggerServiceRiskScan, useTriggerServiceRiskScanMutation, } from './hooks/useTriggerServiceRiskScanMutation';
|
|
236
240
|
export { updateAction, useUpdateActionMutation } from './hooks/useUpdateActionMutation';
|
|
237
241
|
export { updateActionTemplate, useUpdateActionTemplateMutation, } from './hooks/useUpdateActionTemplateMutation';
|
|
238
242
|
export { updateChaosComponent, useUpdateChaosComponentMutation, } from './hooks/useUpdateChaosComponentMutation';
|
package/dist/chaos-manager/src/services/schemas/ChaoscomponentChaosComponentExecutionNode.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { ChaoscomponentChaosData } from '../schemas/ChaoscomponentChaosData';
|
|
2
2
|
import type { ChaoscomponentErrorData } from '../schemas/ChaoscomponentErrorData';
|
|
3
3
|
import type { ChaoscomponentInfraType } from '../schemas/ChaoscomponentInfraType';
|
|
4
|
+
import type { ChaoscomponentPipelineDetails } from '../schemas/ChaoscomponentPipelineDetails';
|
|
4
5
|
import type { ChaoscomponentStatus } from '../schemas/ChaoscomponentStatus';
|
|
5
6
|
import type { ChaoscomponentType } from '../schemas/ChaoscomponentType';
|
|
6
7
|
export interface ChaoscomponentChaosComponentExecutionNode {
|
|
@@ -16,6 +17,7 @@ export interface ChaoscomponentChaosComponentExecutionNode {
|
|
|
16
17
|
name?: string;
|
|
17
18
|
notifyID?: string;
|
|
18
19
|
orgID?: string;
|
|
20
|
+
pipelineDetails?: ChaoscomponentPipelineDetails;
|
|
19
21
|
projectID?: string;
|
|
20
22
|
runID?: string;
|
|
21
23
|
spec?: string;
|