@harnessio/react-chaos-manager-client 1.76.0 → 1.77.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/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/useGetOnboardingStatsV3Query.d.ts +26 -0
- package/dist/chaos-manager/src/services/hooks/useGetOnboardingStatsV3Query.js +14 -0
- 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/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/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/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/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 +6 -0
- package/dist/chaos-manager/src/services/index.js +1 -0
- package/dist/chaos-manager/src/services/schemas/OnboardingAvailableOnboardedCount.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/OnboardingAvailableOnboardedCount.js +4 -0
- package/dist/chaos-manager/src/services/schemas/OnboardingOnboardedCount.d.ts +3 -0
- package/dist/chaos-manager/src/services/schemas/OnboardingOnboardedCount.js +4 -0
- package/dist/chaos-manager/src/services/schemas/OnboardingStats.d.ts +28 -0
- package/dist/chaos-manager/src/services/schemas/OnboardingStats.js +1 -0
- package/dist/chaos-manager/src/services/schemas/OnboardingStatsResponse.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/OnboardingStatsResponse.js +1 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ModelAbortChaosComponentForMachineResponse } from '../schemas/ModelAbortChaosComponentForMachineResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import type { ModelAbortChaosComponentForMachineRequest } from '../schemas/ModelAbortChaosComponentForMachineRequest';
|
|
5
5
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export interface AbortChaosComponentForMachineMutationQueryParams {
|
|
@@ -11,7 +11,7 @@ export interface AbortChaosComponentForMachineMutationQueryParams {
|
|
|
11
11
|
}
|
|
12
12
|
export type AbortChaosComponentForMachineRequestBody = ModelAbortChaosComponentForMachineRequest;
|
|
13
13
|
export type AbortChaosComponentForMachineOkResponse = ModelAbortChaosComponentForMachineResponse;
|
|
14
|
-
export type AbortChaosComponentForMachineErrorResponse =
|
|
14
|
+
export type AbortChaosComponentForMachineErrorResponse = SharedError;
|
|
15
15
|
export interface AbortChaosComponentForMachineProps extends Omit<FetcherOptions<AbortChaosComponentForMachineMutationQueryParams, AbortChaosComponentForMachineRequestBody>, 'url'> {
|
|
16
16
|
queryParams: AbortChaosComponentForMachineMutationQueryParams;
|
|
17
17
|
body: AbortChaosComponentForMachineRequestBody;
|
|
@@ -25,4 +25,4 @@ export type AbortChaosComponentForMachineMutationProps<T extends keyof AbortChao
|
|
|
25
25
|
/**
|
|
26
26
|
* Aborts a running ChaosComponent (DDPR) that was dispatched on behalf of a machine experiment
|
|
27
27
|
*/
|
|
28
|
-
export declare function useAbortChaosComponentForMachineMutation<T extends keyof AbortChaosComponentForMachineProps>(props: Pick<Partial<AbortChaosComponentForMachineProps>, T>, options?: Omit<UseMutationOptions<AbortChaosComponentForMachineResponseContainer, AbortChaosComponentForMachineErrorResponse, AbortChaosComponentForMachineMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<AbortChaosComponentForMachineResponseContainer,
|
|
28
|
+
export declare function useAbortChaosComponentForMachineMutation<T extends keyof AbortChaosComponentForMachineProps>(props: Pick<Partial<AbortChaosComponentForMachineProps>, T>, options?: Omit<UseMutationOptions<AbortChaosComponentForMachineResponseContainer, AbortChaosComponentForMachineErrorResponse, AbortChaosComponentForMachineMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<AbortChaosComponentForMachineResponseContainer, SharedError, AbortChaosComponentForMachineMutationProps<T>, unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ChaoscomponentsAbortChaosComponentResponse } from '../schemas/ChaoscomponentsAbortChaosComponentResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import type { ChaoscomponentsAbortChaosComponentRequest } from '../schemas/ChaoscomponentsAbortChaosComponentRequest';
|
|
5
5
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export interface AbortChaosComponentMutationQueryParams {
|
|
@@ -14,7 +14,7 @@ export interface AbortChaosComponentMutationQueryParams {
|
|
|
14
14
|
}
|
|
15
15
|
export type AbortChaosComponentRequestBody = ChaoscomponentsAbortChaosComponentRequest;
|
|
16
16
|
export type AbortChaosComponentOkResponse = ChaoscomponentsAbortChaosComponentResponse;
|
|
17
|
-
export type AbortChaosComponentErrorResponse =
|
|
17
|
+
export type AbortChaosComponentErrorResponse = SharedError;
|
|
18
18
|
export interface AbortChaosComponentProps extends Omit<FetcherOptions<AbortChaosComponentMutationQueryParams, AbortChaosComponentRequestBody>, 'url'> {
|
|
19
19
|
queryParams: AbortChaosComponentMutationQueryParams;
|
|
20
20
|
body: AbortChaosComponentRequestBody;
|
|
@@ -28,4 +28,4 @@ export type AbortChaosComponentMutationProps<T extends keyof AbortChaosComponent
|
|
|
28
28
|
/**
|
|
29
29
|
* Aborts a running chaos component execution
|
|
30
30
|
*/
|
|
31
|
-
export declare function useAbortChaosComponentMutation<T extends keyof AbortChaosComponentProps>(props: Pick<Partial<AbortChaosComponentProps>, T>, options?: Omit<UseMutationOptions<AbortChaosComponentResponseContainer, AbortChaosComponentErrorResponse, AbortChaosComponentMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<AbortChaosComponentResponseContainer,
|
|
31
|
+
export declare function useAbortChaosComponentMutation<T extends keyof AbortChaosComponentProps>(props: Pick<Partial<AbortChaosComponentProps>, T>, options?: Omit<UseMutationOptions<AbortChaosComponentResponseContainer, AbortChaosComponentErrorResponse, AbortChaosComponentMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<AbortChaosComponentResponseContainer, SharedError, AbortChaosComponentMutationProps<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 { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
4
4
|
export interface AbortRiskScanMutationPathParams {
|
|
5
5
|
identity: string;
|
|
@@ -14,7 +14,7 @@ export interface AbortRiskScanMutationQueryParams {
|
|
|
14
14
|
export type AbortRiskScanOkResponse = {
|
|
15
15
|
[key: string]: string;
|
|
16
16
|
};
|
|
17
|
-
export type AbortRiskScanErrorResponse =
|
|
17
|
+
export type AbortRiskScanErrorResponse = SharedError;
|
|
18
18
|
export interface AbortRiskScanProps extends AbortRiskScanMutationPathParams, Omit<FetcherOptions<AbortRiskScanMutationQueryParams, unknown>, 'url'> {
|
|
19
19
|
queryParams: AbortRiskScanMutationQueryParams;
|
|
20
20
|
}
|
|
@@ -27,4 +27,4 @@ export type AbortRiskScanMutationProps<T extends keyof AbortRiskScanProps> = Omi
|
|
|
27
27
|
/**
|
|
28
28
|
* aborts a running risk scan by its identity
|
|
29
29
|
*/
|
|
30
|
-
export declare function useAbortRiskScanMutation<T extends keyof AbortRiskScanProps>(props: Pick<Partial<AbortRiskScanProps>, T>, options?: Omit<UseMutationOptions<AbortRiskScanResponseContainer, AbortRiskScanErrorResponse, AbortRiskScanMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<AbortRiskScanResponseContainer,
|
|
30
|
+
export declare function useAbortRiskScanMutation<T extends keyof AbortRiskScanProps>(props: Pick<Partial<AbortRiskScanProps>, T>, options?: Omit<UseMutationOptions<AbortRiskScanResponseContainer, AbortRiskScanErrorResponse, AbortRiskScanMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<AbortRiskScanResponseContainer, SharedError, AbortRiskScanMutationProps<T>, unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ExperimentrunsCleanupExperimentRunResourcesResponse } from '../schemas/ExperimentrunsCleanupExperimentRunResourcesResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import type { ExperimentrunsCleanupExperimentRunResourcesBody } from '../schemas/ExperimentrunsCleanupExperimentRunResourcesBody';
|
|
5
5
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export interface CleanupChaosResourcesV3MutationPathParams {
|
|
@@ -15,7 +15,7 @@ export interface CleanupChaosResourcesV3MutationQueryParams {
|
|
|
15
15
|
}
|
|
16
16
|
export type CleanupChaosResourcesV3RequestBody = ExperimentrunsCleanupExperimentRunResourcesBody;
|
|
17
17
|
export type CleanupChaosResourcesV3OkResponse = ExperimentrunsCleanupExperimentRunResourcesResponse;
|
|
18
|
-
export type CleanupChaosResourcesV3ErrorResponse =
|
|
18
|
+
export type CleanupChaosResourcesV3ErrorResponse = SharedError;
|
|
19
19
|
export interface CleanupChaosResourcesV3Props extends CleanupChaosResourcesV3MutationPathParams, Omit<FetcherOptions<CleanupChaosResourcesV3MutationQueryParams, CleanupChaosResourcesV3RequestBody>, 'url'> {
|
|
20
20
|
queryParams: CleanupChaosResourcesV3MutationQueryParams;
|
|
21
21
|
body: CleanupChaosResourcesV3RequestBody;
|
|
@@ -31,4 +31,4 @@ export type CleanupChaosResourcesV3MutationProps<T extends keyof CleanupChaosRes
|
|
|
31
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
32
|
* The write path returns 403 when CHAOS_RESOURCE_CLEANUP_ENABLED is off.
|
|
33
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,
|
|
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, SharedError, CleanupChaosResourcesV3MutationProps<T>, unknown>;
|
|
@@ -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 CreateChaosComponentMutationPathParams {
|
|
@@ -16,7 +16,7 @@ export interface CreateChaosComponentMutationQueryParams {
|
|
|
16
16
|
}
|
|
17
17
|
export type CreateChaosComponentRequestBody = ChaoscomponentChaosComponentExecutionNode[];
|
|
18
18
|
export type CreateChaosComponentOkResponse = GithubComHarnessHceSaasGraphqlServerApiEmpty;
|
|
19
|
-
export type CreateChaosComponentErrorResponse =
|
|
19
|
+
export type CreateChaosComponentErrorResponse = SharedError;
|
|
20
20
|
export interface CreateChaosComponentProps extends CreateChaosComponentMutationPathParams, Omit<FetcherOptions<CreateChaosComponentMutationQueryParams, CreateChaosComponentRequestBody>, 'url'> {
|
|
21
21
|
queryParams: CreateChaosComponentMutationQueryParams;
|
|
22
22
|
body: CreateChaosComponentRequestBody;
|
|
@@ -30,4 +30,4 @@ export type CreateChaosComponentMutationProps<T extends keyof CreateChaosCompone
|
|
|
30
30
|
/**
|
|
31
31
|
* Creates the chaos component nodes
|
|
32
32
|
*/
|
|
33
|
-
export declare function useCreateChaosComponentMutation<T extends keyof CreateChaosComponentProps>(props: Pick<Partial<CreateChaosComponentProps>, T>, options?: Omit<UseMutationOptions<CreateChaosComponentResponseContainer, CreateChaosComponentErrorResponse, CreateChaosComponentMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateChaosComponentResponseContainer,
|
|
33
|
+
export declare function useCreateChaosComponentMutation<T extends keyof CreateChaosComponentProps>(props: Pick<Partial<CreateChaosComponentProps>, T>, options?: Omit<UseMutationOptions<CreateChaosComponentResponseContainer, CreateChaosComponentErrorResponse, CreateChaosComponentMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateChaosComponentResponseContainer, SharedError, CreateChaosComponentMutationProps<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 { ChaosservicesCreateRequest } from '../schemas/ChaosservicesCreateRequest';
|
|
5
5
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export interface CreateChaosServiceMutationQueryParams {
|
|
@@ -13,7 +13,7 @@ export interface CreateChaosServiceMutationQueryParams {
|
|
|
13
13
|
}
|
|
14
14
|
export type CreateChaosServiceRequestBody = ChaosservicesCreateRequest;
|
|
15
15
|
export type CreateChaosServiceOkResponse = ChaosservicesChaosServiceResponse;
|
|
16
|
-
export type CreateChaosServiceErrorResponse =
|
|
16
|
+
export type CreateChaosServiceErrorResponse = SharedError;
|
|
17
17
|
export interface CreateChaosServiceProps extends Omit<FetcherOptions<CreateChaosServiceMutationQueryParams, CreateChaosServiceRequestBody>, 'url'> {
|
|
18
18
|
queryParams: CreateChaosServiceMutationQueryParams;
|
|
19
19
|
body: CreateChaosServiceRequestBody;
|
|
@@ -27,4 +27,4 @@ export type CreateChaosServiceMutationProps<T extends keyof CreateChaosServicePr
|
|
|
27
27
|
/**
|
|
28
28
|
* Create a chaos service
|
|
29
29
|
*/
|
|
30
|
-
export declare function useCreateChaosServiceMutation<T extends keyof CreateChaosServiceProps>(props: Pick<Partial<CreateChaosServiceProps>, T>, options?: Omit<UseMutationOptions<CreateChaosServiceResponseContainer, CreateChaosServiceErrorResponse, CreateChaosServiceMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateChaosServiceResponseContainer,
|
|
30
|
+
export declare function useCreateChaosServiceMutation<T extends keyof CreateChaosServiceProps>(props: Pick<Partial<CreateChaosServiceProps>, T>, options?: Omit<UseMutationOptions<CreateChaosServiceResponseContainer, CreateChaosServiceErrorResponse, CreateChaosServiceMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateChaosServiceResponseContainer, SharedError, CreateChaosServiceMutationProps<T>, unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ChaosguardconditionsCreateConditionResponse } from '../schemas/ChaosguardconditionsCreateConditionResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import type { ChaosguardconditionsCreateConditionRequest } from '../schemas/ChaosguardconditionsCreateConditionRequest';
|
|
5
5
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export interface CreateConditionMutationQueryParams {
|
|
@@ -12,7 +12,7 @@ export interface CreateConditionMutationQueryParams {
|
|
|
12
12
|
}
|
|
13
13
|
export type CreateConditionRequestBody = ChaosguardconditionsCreateConditionRequest;
|
|
14
14
|
export type CreateConditionOkResponse = ChaosguardconditionsCreateConditionResponse;
|
|
15
|
-
export type CreateConditionErrorResponse =
|
|
15
|
+
export type CreateConditionErrorResponse = SharedError;
|
|
16
16
|
export interface CreateConditionProps extends Omit<FetcherOptions<CreateConditionMutationQueryParams, CreateConditionRequestBody>, 'url'> {
|
|
17
17
|
queryParams: CreateConditionMutationQueryParams;
|
|
18
18
|
body: CreateConditionRequestBody;
|
|
@@ -26,4 +26,4 @@ export type CreateConditionMutationProps<T extends keyof CreateConditionProps> =
|
|
|
26
26
|
/**
|
|
27
27
|
* Creates a chaos guard condition
|
|
28
28
|
*/
|
|
29
|
-
export declare function useCreateConditionMutation<T extends keyof CreateConditionProps>(props: Pick<Partial<CreateConditionProps>, T>, options?: Omit<UseMutationOptions<CreateConditionResponseContainer, CreateConditionErrorResponse, CreateConditionMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateConditionResponseContainer,
|
|
29
|
+
export declare function useCreateConditionMutation<T extends keyof CreateConditionProps>(props: Pick<Partial<CreateConditionProps>, T>, options?: Omit<UseMutationOptions<CreateConditionResponseContainer, CreateConditionErrorResponse, CreateConditionMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateConditionResponseContainer, SharedError, CreateConditionMutationProps<T>, unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ChaoscomponentsCreateDrTestPipelineResponse } from '../schemas/ChaoscomponentsCreateDrTestPipelineResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import type { ChaoscomponentsCreateDrTestPipelineRequest } from '../schemas/ChaoscomponentsCreateDrTestPipelineRequest';
|
|
5
5
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export interface CreateDrTestMutationQueryParams {
|
|
@@ -12,7 +12,7 @@ export interface CreateDrTestMutationQueryParams {
|
|
|
12
12
|
}
|
|
13
13
|
export type CreateDrTestRequestBody = ChaoscomponentsCreateDrTestPipelineRequest;
|
|
14
14
|
export type CreateDrTestOkResponse = ChaoscomponentsCreateDrTestPipelineResponse;
|
|
15
|
-
export type CreateDrTestErrorResponse =
|
|
15
|
+
export type CreateDrTestErrorResponse = SharedError;
|
|
16
16
|
export interface CreateDrTestProps extends Omit<FetcherOptions<CreateDrTestMutationQueryParams, CreateDrTestRequestBody>, 'url'> {
|
|
17
17
|
queryParams: CreateDrTestMutationQueryParams;
|
|
18
18
|
body: CreateDrTestRequestBody;
|
|
@@ -26,4 +26,4 @@ export type CreateDrTestMutationProps<T extends keyof CreateDrTestProps> = Omit<
|
|
|
26
26
|
/**
|
|
27
27
|
* Creates a DR Test pipeline for disaster recovery testing
|
|
28
28
|
*/
|
|
29
|
-
export declare function useCreateDrTestMutation<T extends keyof CreateDrTestProps>(props: Pick<Partial<CreateDrTestProps>, T>, options?: Omit<UseMutationOptions<CreateDrTestResponseContainer, CreateDrTestErrorResponse, CreateDrTestMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateDrTestResponseContainer,
|
|
29
|
+
export declare function useCreateDrTestMutation<T extends keyof CreateDrTestProps>(props: Pick<Partial<CreateDrTestProps>, T>, options?: Omit<UseMutationOptions<CreateDrTestResponseContainer, CreateDrTestErrorResponse, CreateDrTestMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateDrTestResponseContainer, SharedError, CreateDrTestMutationProps<T>, unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ExperimentsCreateResponse } from '../schemas/ExperimentsCreateResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import type { ExperimentsCreateRequest } from '../schemas/ExperimentsCreateRequest';
|
|
5
5
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export interface CreateExperimentV3MutationQueryParams {
|
|
@@ -13,7 +13,7 @@ export interface CreateExperimentV3MutationQueryParams {
|
|
|
13
13
|
}
|
|
14
14
|
export type CreateExperimentV3RequestBody = ExperimentsCreateRequest;
|
|
15
15
|
export type CreateExperimentV3OkResponse = ExperimentsCreateResponse;
|
|
16
|
-
export type CreateExperimentV3ErrorResponse =
|
|
16
|
+
export type CreateExperimentV3ErrorResponse = SharedError;
|
|
17
17
|
export interface CreateExperimentV3Props extends Omit<FetcherOptions<CreateExperimentV3MutationQueryParams, CreateExperimentV3RequestBody>, 'url'> {
|
|
18
18
|
queryParams: CreateExperimentV3MutationQueryParams;
|
|
19
19
|
body: CreateExperimentV3RequestBody;
|
|
@@ -27,4 +27,4 @@ export type CreateExperimentV3MutationProps<T extends keyof CreateExperimentV3Pr
|
|
|
27
27
|
/**
|
|
28
28
|
* Creates a chaos experiment.
|
|
29
29
|
*/
|
|
30
|
-
export declare function useCreateExperimentV3Mutation<T extends keyof CreateExperimentV3Props>(props: Pick<Partial<CreateExperimentV3Props>, T>, options?: Omit<UseMutationOptions<CreateExperimentV3ResponseContainer, CreateExperimentV3ErrorResponse, CreateExperimentV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateExperimentV3ResponseContainer,
|
|
30
|
+
export declare function useCreateExperimentV3Mutation<T extends keyof CreateExperimentV3Props>(props: Pick<Partial<CreateExperimentV3Props>, T>, options?: Omit<UseMutationOptions<CreateExperimentV3ResponseContainer, CreateExperimentV3ErrorResponse, CreateExperimentV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateExperimentV3ResponseContainer, SharedError, CreateExperimentV3MutationProps<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 { ImageregistriesCreateRequest } from '../schemas/ImageregistriesCreateRequest';
|
|
5
5
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export interface CreateImageRegistryV3MutationQueryParams {
|
|
@@ -14,7 +14,7 @@ export interface CreateImageRegistryV3MutationQueryParams {
|
|
|
14
14
|
}
|
|
15
15
|
export type CreateImageRegistryV3RequestBody = ImageregistriesCreateRequest;
|
|
16
16
|
export type CreateImageRegistryV3OkResponse = ImageregistriesImageRegistryResponse;
|
|
17
|
-
export type CreateImageRegistryV3ErrorResponse =
|
|
17
|
+
export type CreateImageRegistryV3ErrorResponse = SharedError;
|
|
18
18
|
export interface CreateImageRegistryV3Props extends Omit<FetcherOptions<CreateImageRegistryV3MutationQueryParams, CreateImageRegistryV3RequestBody>, 'url'> {
|
|
19
19
|
queryParams: CreateImageRegistryV3MutationQueryParams;
|
|
20
20
|
body: CreateImageRegistryV3RequestBody;
|
|
@@ -28,4 +28,4 @@ export type CreateImageRegistryV3MutationProps<T extends keyof CreateImageRegist
|
|
|
28
28
|
/**
|
|
29
29
|
* creates an image registry for the given scope
|
|
30
30
|
*/
|
|
31
|
-
export declare function useCreateImageRegistryV3Mutation<T extends keyof CreateImageRegistryV3Props>(props: Pick<Partial<CreateImageRegistryV3Props>, T>, options?: Omit<UseMutationOptions<CreateImageRegistryV3ResponseContainer, CreateImageRegistryV3ErrorResponse, CreateImageRegistryV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateImageRegistryV3ResponseContainer,
|
|
31
|
+
export declare function useCreateImageRegistryV3Mutation<T extends keyof CreateImageRegistryV3Props>(props: Pick<Partial<CreateImageRegistryV3Props>, T>, options?: Omit<UseMutationOptions<CreateImageRegistryV3ResponseContainer, CreateImageRegistryV3ErrorResponse, CreateImageRegistryV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateImageRegistryV3ResponseContainer, SharedError, CreateImageRegistryV3MutationProps<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 { RisksCreateRequest } from '../schemas/RisksCreateRequest';
|
|
5
5
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export interface CreateRiskMutationQueryParams {
|
|
@@ -13,7 +13,7 @@ export interface CreateRiskMutationQueryParams {
|
|
|
13
13
|
}
|
|
14
14
|
export type CreateRiskRequestBody = RisksCreateRequest;
|
|
15
15
|
export type CreateRiskOkResponse = RisksRisk;
|
|
16
|
-
export type CreateRiskErrorResponse =
|
|
16
|
+
export type CreateRiskErrorResponse = SharedError;
|
|
17
17
|
export interface CreateRiskProps extends Omit<FetcherOptions<CreateRiskMutationQueryParams, CreateRiskRequestBody>, 'url'> {
|
|
18
18
|
queryParams: CreateRiskMutationQueryParams;
|
|
19
19
|
body: CreateRiskRequestBody;
|
|
@@ -27,4 +27,4 @@ export type CreateRiskMutationProps<T extends keyof CreateRiskProps> = Omit<Crea
|
|
|
27
27
|
/**
|
|
28
28
|
* Creates a risk
|
|
29
29
|
*/
|
|
30
|
-
export declare function useCreateRiskMutation<T extends keyof CreateRiskProps>(props: Pick<Partial<CreateRiskProps>, T>, options?: Omit<UseMutationOptions<CreateRiskResponseContainer, CreateRiskErrorResponse, CreateRiskMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateRiskResponseContainer,
|
|
30
|
+
export declare function useCreateRiskMutation<T extends keyof CreateRiskProps>(props: Pick<Partial<CreateRiskProps>, T>, options?: Omit<UseMutationOptions<CreateRiskResponseContainer, CreateRiskErrorResponse, CreateRiskMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateRiskResponseContainer, SharedError, CreateRiskMutationProps<T>, unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { RiskscansRiskScanResponse } from '../schemas/RiskscansRiskScanResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import type { RiskscansCreateRequest } from '../schemas/RiskscansCreateRequest';
|
|
5
5
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export interface CreateRiskScanMutationQueryParams {
|
|
@@ -12,7 +12,7 @@ export interface CreateRiskScanMutationQueryParams {
|
|
|
12
12
|
}
|
|
13
13
|
export type CreateRiskScanRequestBody = RiskscansCreateRequest;
|
|
14
14
|
export type CreateRiskScanOkResponse = RiskscansRiskScanResponse;
|
|
15
|
-
export type CreateRiskScanErrorResponse =
|
|
15
|
+
export type CreateRiskScanErrorResponse = SharedError;
|
|
16
16
|
export interface CreateRiskScanProps extends Omit<FetcherOptions<CreateRiskScanMutationQueryParams, CreateRiskScanRequestBody>, 'url'> {
|
|
17
17
|
queryParams: CreateRiskScanMutationQueryParams;
|
|
18
18
|
body: CreateRiskScanRequestBody;
|
|
@@ -26,4 +26,4 @@ export type CreateRiskScanMutationProps<T extends keyof CreateRiskScanProps> = O
|
|
|
26
26
|
/**
|
|
27
27
|
* creates a new risk scan
|
|
28
28
|
*/
|
|
29
|
-
export declare function useCreateRiskScanMutation<T extends keyof CreateRiskScanProps>(props: Pick<Partial<CreateRiskScanProps>, T>, options?: Omit<UseMutationOptions<CreateRiskScanResponseContainer, CreateRiskScanErrorResponse, CreateRiskScanMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateRiskScanResponseContainer,
|
|
29
|
+
export declare function useCreateRiskScanMutation<T extends keyof CreateRiskScanProps>(props: Pick<Partial<CreateRiskScanProps>, T>, options?: Omit<UseMutationOptions<CreateRiskScanResponseContainer, CreateRiskScanErrorResponse, CreateRiskScanMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateRiskScanResponseContainer, SharedError, CreateRiskScanMutationProps<T>, unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ChaosguardrulesCreateRuleResponse } from '../schemas/ChaosguardrulesCreateRuleResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import type { ChaosguardrulesCreateRuleRequest } from '../schemas/ChaosguardrulesCreateRuleRequest';
|
|
5
5
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export interface CreateRuleMutationQueryParams {
|
|
@@ -12,7 +12,7 @@ export interface CreateRuleMutationQueryParams {
|
|
|
12
12
|
}
|
|
13
13
|
export type CreateRuleRequestBody = ChaosguardrulesCreateRuleRequest;
|
|
14
14
|
export type CreateRuleOkResponse = ChaosguardrulesCreateRuleResponse;
|
|
15
|
-
export type CreateRuleErrorResponse =
|
|
15
|
+
export type CreateRuleErrorResponse = SharedError;
|
|
16
16
|
export interface CreateRuleProps extends Omit<FetcherOptions<CreateRuleMutationQueryParams, CreateRuleRequestBody>, 'url'> {
|
|
17
17
|
queryParams: CreateRuleMutationQueryParams;
|
|
18
18
|
body: CreateRuleRequestBody;
|
|
@@ -26,4 +26,4 @@ export type CreateRuleMutationProps<T extends keyof CreateRuleProps> = Omit<Crea
|
|
|
26
26
|
/**
|
|
27
27
|
* Creates a chaos guard rule
|
|
28
28
|
*/
|
|
29
|
-
export declare function useCreateRuleMutation<T extends keyof CreateRuleProps>(props: Pick<Partial<CreateRuleProps>, T>, options?: Omit<UseMutationOptions<CreateRuleResponseContainer, CreateRuleErrorResponse, CreateRuleMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateRuleResponseContainer,
|
|
29
|
+
export declare function useCreateRuleMutation<T extends keyof CreateRuleProps>(props: Pick<Partial<CreateRuleProps>, T>, options?: Omit<UseMutationOptions<CreateRuleResponseContainer, CreateRuleErrorResponse, CreateRuleMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateRuleResponseContainer, SharedError, CreateRuleMutationProps<T>, unknown>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
-
import type {
|
|
2
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
3
3
|
import type { ExperimentRunUpdateExperimentRunWithErrorRequest } from '../schemas/ExperimentRunUpdateExperimentRunWithErrorRequest';
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export type DelegateCallbackUpdateRequestBody = ExperimentRunUpdateExperimentRunWithErrorRequest;
|
|
6
6
|
export type DelegateCallbackUpdateOkResponse = string;
|
|
7
|
-
export type DelegateCallbackUpdateErrorResponse =
|
|
7
|
+
export type DelegateCallbackUpdateErrorResponse = SharedError;
|
|
8
8
|
export interface DelegateCallbackUpdateProps extends Omit<FetcherOptions<unknown, DelegateCallbackUpdateRequestBody>, 'url'> {
|
|
9
9
|
body: DelegateCallbackUpdateRequestBody;
|
|
10
10
|
}
|
|
@@ -17,4 +17,4 @@ export type DelegateCallbackUpdateMutationProps<T extends keyof DelegateCallback
|
|
|
17
17
|
/**
|
|
18
18
|
* Internal endpoint for k8s-ifs to update experiment run status when delegate tasks complete
|
|
19
19
|
*/
|
|
20
|
-
export declare function useDelegateCallbackUpdateMutation<T extends keyof DelegateCallbackUpdateProps>(props: Pick<Partial<DelegateCallbackUpdateProps>, T>, options?: Omit<UseMutationOptions<DelegateCallbackUpdateResponseContainer, DelegateCallbackUpdateErrorResponse, DelegateCallbackUpdateMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DelegateCallbackUpdateResponseContainer,
|
|
20
|
+
export declare function useDelegateCallbackUpdateMutation<T extends keyof DelegateCallbackUpdateProps>(props: Pick<Partial<DelegateCallbackUpdateProps>, T>, options?: Omit<UseMutationOptions<DelegateCallbackUpdateResponseContainer, DelegateCallbackUpdateErrorResponse, DelegateCallbackUpdateMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DelegateCallbackUpdateResponseContainer, SharedError, DelegateCallbackUpdateMutationProps<T>, unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ChaosservicesDeleteResponse } from '../schemas/ChaosservicesDeleteResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface DeleteChaosServiceMutationPathParams {
|
|
6
6
|
identity: string;
|
|
@@ -14,7 +14,7 @@ export interface DeleteChaosServiceMutationQueryParams {
|
|
|
14
14
|
useParentUniqueID?: boolean;
|
|
15
15
|
}
|
|
16
16
|
export type DeleteChaosServiceOkResponse = ChaosservicesDeleteResponse;
|
|
17
|
-
export type DeleteChaosServiceErrorResponse =
|
|
17
|
+
export type DeleteChaosServiceErrorResponse = SharedError;
|
|
18
18
|
export interface DeleteChaosServiceProps extends DeleteChaosServiceMutationPathParams, Omit<FetcherOptions<DeleteChaosServiceMutationQueryParams, unknown>, 'url'> {
|
|
19
19
|
queryParams: DeleteChaosServiceMutationQueryParams;
|
|
20
20
|
}
|
|
@@ -27,4 +27,4 @@ export type DeleteChaosServiceMutationProps<T extends keyof DeleteChaosServicePr
|
|
|
27
27
|
/**
|
|
28
28
|
* Delete a chaos service
|
|
29
29
|
*/
|
|
30
|
-
export declare function useDeleteChaosServiceMutation<T extends keyof DeleteChaosServiceProps>(props: Pick<Partial<DeleteChaosServiceProps>, T>, options?: Omit<UseMutationOptions<DeleteChaosServiceResponseContainer, DeleteChaosServiceErrorResponse, DeleteChaosServiceMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteChaosServiceResponseContainer,
|
|
30
|
+
export declare function useDeleteChaosServiceMutation<T extends keyof DeleteChaosServiceProps>(props: Pick<Partial<DeleteChaosServiceProps>, T>, options?: Omit<UseMutationOptions<DeleteChaosServiceResponseContainer, DeleteChaosServiceErrorResponse, DeleteChaosServiceMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteChaosServiceResponseContainer, SharedError, DeleteChaosServiceMutationProps<T>, unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ChaosguardconditionsDeleteConditionResponse } from '../schemas/ChaosguardconditionsDeleteConditionResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface DeleteConditionMutationPathParams {
|
|
6
6
|
identity: string;
|
|
@@ -13,7 +13,7 @@ export interface DeleteConditionMutationQueryParams {
|
|
|
13
13
|
projectIdentifier?: string;
|
|
14
14
|
}
|
|
15
15
|
export type DeleteConditionOkResponse = ChaosguardconditionsDeleteConditionResponse;
|
|
16
|
-
export type DeleteConditionErrorResponse =
|
|
16
|
+
export type DeleteConditionErrorResponse = SharedError;
|
|
17
17
|
export interface DeleteConditionProps extends DeleteConditionMutationPathParams, Omit<FetcherOptions<DeleteConditionMutationQueryParams, unknown>, 'url'> {
|
|
18
18
|
queryParams: DeleteConditionMutationQueryParams;
|
|
19
19
|
}
|
|
@@ -26,4 +26,4 @@ export type DeleteConditionMutationProps<T extends keyof DeleteConditionProps> =
|
|
|
26
26
|
/**
|
|
27
27
|
* Deletes a chaos guard condition
|
|
28
28
|
*/
|
|
29
|
-
export declare function useDeleteConditionMutation<T extends keyof DeleteConditionProps>(props: Pick<Partial<DeleteConditionProps>, T>, options?: Omit<UseMutationOptions<DeleteConditionResponseContainer, DeleteConditionErrorResponse, DeleteConditionMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteConditionResponseContainer,
|
|
29
|
+
export declare function useDeleteConditionMutation<T extends keyof DeleteConditionProps>(props: Pick<Partial<DeleteConditionProps>, T>, options?: Omit<UseMutationOptions<DeleteConditionResponseContainer, DeleteConditionErrorResponse, DeleteConditionMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteConditionResponseContainer, SharedError, DeleteConditionMutationProps<T>, unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ChaoscomponentsDeleteDrTestResponse } from '../schemas/ChaoscomponentsDeleteDrTestResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface DeleteDrTestMutationPathParams {
|
|
6
6
|
identity: string;
|
|
@@ -14,7 +14,7 @@ export interface DeleteDrTestMutationQueryParams {
|
|
|
14
14
|
projectIdentifier?: string;
|
|
15
15
|
}
|
|
16
16
|
export type DeleteDrTestOkResponse = ChaoscomponentsDeleteDrTestResponse;
|
|
17
|
-
export type DeleteDrTestErrorResponse =
|
|
17
|
+
export type DeleteDrTestErrorResponse = SharedError;
|
|
18
18
|
export interface DeleteDrTestProps extends DeleteDrTestMutationPathParams, Omit<FetcherOptions<DeleteDrTestMutationQueryParams, unknown>, 'url'> {
|
|
19
19
|
queryParams: DeleteDrTestMutationQueryParams;
|
|
20
20
|
}
|
|
@@ -27,4 +27,4 @@ export type DeleteDrTestMutationProps<T extends keyof DeleteDrTestProps> = Omit<
|
|
|
27
27
|
/**
|
|
28
28
|
* Deletes a DR Test pipeline by its identifier
|
|
29
29
|
*/
|
|
30
|
-
export declare function useDeleteDrTestMutation<T extends keyof DeleteDrTestProps>(props: Pick<Partial<DeleteDrTestProps>, T>, options?: Omit<UseMutationOptions<DeleteDrTestResponseContainer, DeleteDrTestErrorResponse, DeleteDrTestMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteDrTestResponseContainer,
|
|
30
|
+
export declare function useDeleteDrTestMutation<T extends keyof DeleteDrTestProps>(props: Pick<Partial<DeleteDrTestProps>, T>, options?: Omit<UseMutationOptions<DeleteDrTestResponseContainer, DeleteDrTestErrorResponse, DeleteDrTestMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteDrTestResponseContainer, SharedError, DeleteDrTestMutationProps<T>, unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ExperimentsDeleteResponse } from '../schemas/ExperimentsDeleteResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface DeleteExperimentV3MutationPathParams {
|
|
6
6
|
identity: string;
|
|
@@ -14,7 +14,7 @@ export interface DeleteExperimentV3MutationQueryParams {
|
|
|
14
14
|
useParentUniqueID?: boolean;
|
|
15
15
|
}
|
|
16
16
|
export type DeleteExperimentV3OkResponse = ExperimentsDeleteResponse;
|
|
17
|
-
export type DeleteExperimentV3ErrorResponse =
|
|
17
|
+
export type DeleteExperimentV3ErrorResponse = SharedError;
|
|
18
18
|
export interface DeleteExperimentV3Props extends DeleteExperimentV3MutationPathParams, Omit<FetcherOptions<DeleteExperimentV3MutationQueryParams, unknown>, 'url'> {
|
|
19
19
|
queryParams: DeleteExperimentV3MutationQueryParams;
|
|
20
20
|
}
|
|
@@ -27,4 +27,4 @@ export type DeleteExperimentV3MutationProps<T extends keyof DeleteExperimentV3Pr
|
|
|
27
27
|
/**
|
|
28
28
|
* Delete a chaos experiment by identity
|
|
29
29
|
*/
|
|
30
|
-
export declare function useDeleteExperimentV3Mutation<T extends keyof DeleteExperimentV3Props>(props: Pick<Partial<DeleteExperimentV3Props>, T>, options?: Omit<UseMutationOptions<DeleteExperimentV3ResponseContainer, DeleteExperimentV3ErrorResponse, DeleteExperimentV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteExperimentV3ResponseContainer,
|
|
30
|
+
export declare function useDeleteExperimentV3Mutation<T extends keyof DeleteExperimentV3Props>(props: Pick<Partial<DeleteExperimentV3Props>, T>, options?: Omit<UseMutationOptions<DeleteExperimentV3ResponseContainer, DeleteExperimentV3ErrorResponse, DeleteExperimentV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteExperimentV3ResponseContainer, SharedError, DeleteExperimentV3MutationProps<T>, unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { RisksDeleteResponse } from '../schemas/RisksDeleteResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface DeleteRiskMutationPathParams {
|
|
6
6
|
identity: string;
|
|
@@ -14,7 +14,7 @@ export interface DeleteRiskMutationQueryParams {
|
|
|
14
14
|
useParentUniqueID?: boolean;
|
|
15
15
|
}
|
|
16
16
|
export type DeleteRiskOkResponse = RisksDeleteResponse;
|
|
17
|
-
export type DeleteRiskErrorResponse =
|
|
17
|
+
export type DeleteRiskErrorResponse = SharedError;
|
|
18
18
|
export interface DeleteRiskProps extends DeleteRiskMutationPathParams, Omit<FetcherOptions<DeleteRiskMutationQueryParams, unknown>, 'url'> {
|
|
19
19
|
queryParams: DeleteRiskMutationQueryParams;
|
|
20
20
|
}
|
|
@@ -27,4 +27,4 @@ export type DeleteRiskMutationProps<T extends keyof DeleteRiskProps> = Omit<Dele
|
|
|
27
27
|
/**
|
|
28
28
|
* Deletes a risk
|
|
29
29
|
*/
|
|
30
|
-
export declare function useDeleteRiskMutation<T extends keyof DeleteRiskProps>(props: Pick<Partial<DeleteRiskProps>, T>, options?: Omit<UseMutationOptions<DeleteRiskResponseContainer, DeleteRiskErrorResponse, DeleteRiskMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteRiskResponseContainer,
|
|
30
|
+
export declare function useDeleteRiskMutation<T extends keyof DeleteRiskProps>(props: Pick<Partial<DeleteRiskProps>, T>, options?: Omit<UseMutationOptions<DeleteRiskResponseContainer, DeleteRiskErrorResponse, DeleteRiskMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteRiskResponseContainer, SharedError, DeleteRiskMutationProps<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 { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
4
4
|
export interface DeleteRiskScanMutationPathParams {
|
|
5
5
|
identity: string;
|
|
@@ -14,7 +14,7 @@ export interface DeleteRiskScanMutationQueryParams {
|
|
|
14
14
|
export type DeleteRiskScanOkResponse = {
|
|
15
15
|
[key: string]: string;
|
|
16
16
|
};
|
|
17
|
-
export type DeleteRiskScanErrorResponse =
|
|
17
|
+
export type DeleteRiskScanErrorResponse = SharedError;
|
|
18
18
|
export interface DeleteRiskScanProps extends DeleteRiskScanMutationPathParams, Omit<FetcherOptions<DeleteRiskScanMutationQueryParams, unknown>, 'url'> {
|
|
19
19
|
queryParams: DeleteRiskScanMutationQueryParams;
|
|
20
20
|
}
|
|
@@ -27,4 +27,4 @@ export type DeleteRiskScanMutationProps<T extends keyof DeleteRiskScanProps> = O
|
|
|
27
27
|
/**
|
|
28
28
|
* deletes a risk scan by its identity
|
|
29
29
|
*/
|
|
30
|
-
export declare function useDeleteRiskScanMutation<T extends keyof DeleteRiskScanProps>(props: Pick<Partial<DeleteRiskScanProps>, T>, options?: Omit<UseMutationOptions<DeleteRiskScanResponseContainer, DeleteRiskScanErrorResponse, DeleteRiskScanMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteRiskScanResponseContainer,
|
|
30
|
+
export declare function useDeleteRiskScanMutation<T extends keyof DeleteRiskScanProps>(props: Pick<Partial<DeleteRiskScanProps>, T>, options?: Omit<UseMutationOptions<DeleteRiskScanResponseContainer, DeleteRiskScanErrorResponse, DeleteRiskScanMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteRiskScanResponseContainer, SharedError, DeleteRiskScanMutationProps<T>, unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ChaosguardrulesDeleteRuleResponse } from '../schemas/ChaosguardrulesDeleteRuleResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface DeleteRuleMutationPathParams {
|
|
6
6
|
identity: string;
|
|
@@ -13,7 +13,7 @@ export interface DeleteRuleMutationQueryParams {
|
|
|
13
13
|
projectIdentifier?: string;
|
|
14
14
|
}
|
|
15
15
|
export type DeleteRuleOkResponse = ChaosguardrulesDeleteRuleResponse;
|
|
16
|
-
export type DeleteRuleErrorResponse =
|
|
16
|
+
export type DeleteRuleErrorResponse = SharedError;
|
|
17
17
|
export interface DeleteRuleProps extends DeleteRuleMutationPathParams, Omit<FetcherOptions<DeleteRuleMutationQueryParams, unknown>, 'url'> {
|
|
18
18
|
queryParams: DeleteRuleMutationQueryParams;
|
|
19
19
|
}
|
|
@@ -26,4 +26,4 @@ export type DeleteRuleMutationProps<T extends keyof DeleteRuleProps> = Omit<Dele
|
|
|
26
26
|
/**
|
|
27
27
|
* Deletes a chaos guard rule
|
|
28
28
|
*/
|
|
29
|
-
export declare function useDeleteRuleMutation<T extends keyof DeleteRuleProps>(props: Pick<Partial<DeleteRuleProps>, T>, options?: Omit<UseMutationOptions<DeleteRuleResponseContainer, DeleteRuleErrorResponse, DeleteRuleMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteRuleResponseContainer,
|
|
29
|
+
export declare function useDeleteRuleMutation<T extends keyof DeleteRuleProps>(props: Pick<Partial<DeleteRuleProps>, T>, options?: Omit<UseMutationOptions<DeleteRuleResponseContainer, DeleteRuleErrorResponse, DeleteRuleMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteRuleResponseContainer, SharedError, DeleteRuleMutationProps<T>, unknown>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
-
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
3
2
|
import type { SharedError } from '../schemas/SharedError';
|
|
4
3
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
4
|
export interface EnableRuleMutationPathParams {
|
|
@@ -14,7 +13,7 @@ export interface EnableRuleMutationQueryParams {
|
|
|
14
13
|
enabled: boolean;
|
|
15
14
|
}
|
|
16
15
|
export type EnableRuleOkResponse = string;
|
|
17
|
-
export type EnableRuleErrorResponse =
|
|
16
|
+
export type EnableRuleErrorResponse = SharedError;
|
|
18
17
|
export interface EnableRuleProps extends EnableRuleMutationPathParams, Omit<FetcherOptions<EnableRuleMutationQueryParams, unknown>, 'url'> {
|
|
19
18
|
queryParams: EnableRuleMutationQueryParams;
|
|
20
19
|
}
|
|
@@ -27,4 +26,4 @@ export type EnableRuleMutationProps<T extends keyof EnableRuleProps> = Omit<Enab
|
|
|
27
26
|
/**
|
|
28
27
|
* Enables or disables a chaos guard rule
|
|
29
28
|
*/
|
|
30
|
-
export declare function useEnableRuleMutation<T extends keyof EnableRuleProps>(props: Pick<Partial<EnableRuleProps>, T>, options?: Omit<UseMutationOptions<EnableRuleResponseContainer, EnableRuleErrorResponse, EnableRuleMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<EnableRuleResponseContainer,
|
|
29
|
+
export declare function useEnableRuleMutation<T extends keyof EnableRuleProps>(props: Pick<Partial<EnableRuleProps>, T>, options?: Omit<UseMutationOptions<EnableRuleResponseContainer, EnableRuleErrorResponse, EnableRuleMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<EnableRuleResponseContainer, SharedError, EnableRuleMutationProps<T>, unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ExperimentrunsGetCleanupStatusResponse } from '../schemas/ExperimentrunsGetCleanupStatusResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface GetChaosCleanupStatusV3QueryPathParams {
|
|
6
6
|
identity: string;
|
|
@@ -14,7 +14,7 @@ export interface GetChaosCleanupStatusV3QueryQueryParams {
|
|
|
14
14
|
projectIdentifier?: string;
|
|
15
15
|
}
|
|
16
16
|
export type GetChaosCleanupStatusV3OkResponse = ExperimentrunsGetCleanupStatusResponse;
|
|
17
|
-
export type GetChaosCleanupStatusV3ErrorResponse =
|
|
17
|
+
export type GetChaosCleanupStatusV3ErrorResponse = SharedError;
|
|
18
18
|
export interface GetChaosCleanupStatusV3Props extends GetChaosCleanupStatusV3QueryPathParams, Omit<FetcherOptions<GetChaosCleanupStatusV3QueryQueryParams, unknown>, 'url'> {
|
|
19
19
|
queryParams: GetChaosCleanupStatusV3QueryQueryParams;
|
|
20
20
|
}
|
|
@@ -26,4 +26,4 @@ export declare function getChaosCleanupStatusV3(props: GetChaosCleanupStatusV3Pr
|
|
|
26
26
|
/**
|
|
27
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
28
|
*/
|
|
29
|
-
export declare function useGetChaosCleanupStatusV3Query(props: GetChaosCleanupStatusV3Props, options?: Omit<UseQueryOptions<GetChaosCleanupStatusV3ResponseContainer, GetChaosCleanupStatusV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetChaosCleanupStatusV3ResponseContainer,
|
|
29
|
+
export declare function useGetChaosCleanupStatusV3Query(props: GetChaosCleanupStatusV3Props, options?: Omit<UseQueryOptions<GetChaosCleanupStatusV3ResponseContainer, GetChaosCleanupStatusV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetChaosCleanupStatusV3ResponseContainer, SharedError>;
|
package/dist/chaos-manager/src/services/hooks/useGetChaosComponentVariableInternalQuery.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ChaoscomponentsGetChaosComponentVariableResponse } from '../schemas/ChaoscomponentsGetChaosComponentVariableResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface GetChaosComponentVariableInternalQueryQueryParams {
|
|
6
6
|
accountIdentifier: string;
|
|
@@ -14,7 +14,7 @@ export interface GetChaosComponentVariableInternalQueryQueryParams {
|
|
|
14
14
|
type?: 'Action' | 'Fault' | 'Probe';
|
|
15
15
|
}
|
|
16
16
|
export type GetChaosComponentVariableInternalOkResponse = ChaoscomponentsGetChaosComponentVariableResponse;
|
|
17
|
-
export type GetChaosComponentVariableInternalErrorResponse =
|
|
17
|
+
export type GetChaosComponentVariableInternalErrorResponse = SharedError;
|
|
18
18
|
export interface GetChaosComponentVariableInternalProps extends Omit<FetcherOptions<GetChaosComponentVariableInternalQueryQueryParams, unknown>, 'url'> {
|
|
19
19
|
queryParams: GetChaosComponentVariableInternalQueryQueryParams;
|
|
20
20
|
}
|
|
@@ -26,4 +26,4 @@ export declare function getChaosComponentVariableInternal(props: GetChaosCompone
|
|
|
26
26
|
/**
|
|
27
27
|
* Gets chaos component variables (faults, probes, actions) for internal service-to-service calls
|
|
28
28
|
*/
|
|
29
|
-
export declare function useGetChaosComponentVariableInternalQuery(props: GetChaosComponentVariableInternalProps, options?: Omit<UseQueryOptions<GetChaosComponentVariableInternalResponseContainer, GetChaosComponentVariableInternalErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetChaosComponentVariableInternalResponseContainer,
|
|
29
|
+
export declare function useGetChaosComponentVariableInternalQuery(props: GetChaosComponentVariableInternalProps, options?: Omit<UseQueryOptions<GetChaosComponentVariableInternalResponseContainer, GetChaosComponentVariableInternalErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetChaosComponentVariableInternalResponseContainer, SharedError>;
|