@harnessio/react-chaos-manager-client 1.76.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/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/package.json +1 -1
|
@@ -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 GetChaosComponentVariableQueryQueryParams {
|
|
6
6
|
accountIdentifier: string;
|
|
@@ -14,7 +14,7 @@ export interface GetChaosComponentVariableQueryQueryParams {
|
|
|
14
14
|
type?: 'Action' | 'Fault' | 'Probe';
|
|
15
15
|
}
|
|
16
16
|
export type GetChaosComponentVariableOkResponse = ChaoscomponentsGetChaosComponentVariableResponse;
|
|
17
|
-
export type GetChaosComponentVariableErrorResponse =
|
|
17
|
+
export type GetChaosComponentVariableErrorResponse = SharedError;
|
|
18
18
|
export interface GetChaosComponentVariableProps extends Omit<FetcherOptions<GetChaosComponentVariableQueryQueryParams, unknown>, 'url'> {
|
|
19
19
|
queryParams: GetChaosComponentVariableQueryQueryParams;
|
|
20
20
|
}
|
|
@@ -26,4 +26,4 @@ export declare function getChaosComponentVariable(props: GetChaosComponentVariab
|
|
|
26
26
|
/**
|
|
27
27
|
* Gets chaos component variables (faults, probes, actions)
|
|
28
28
|
*/
|
|
29
|
-
export declare function useGetChaosComponentVariableQuery(props: GetChaosComponentVariableProps, options?: Omit<UseQueryOptions<GetChaosComponentVariableResponseContainer, GetChaosComponentVariableErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetChaosComponentVariableResponseContainer,
|
|
29
|
+
export declare function useGetChaosComponentVariableQuery(props: GetChaosComponentVariableProps, options?: Omit<UseQueryOptions<GetChaosComponentVariableResponseContainer, GetChaosComponentVariableErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetChaosComponentVariableResponseContainer, SharedError>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ExperimentrunsGetExperimentRunResponse } from '../schemas/ExperimentrunsGetExperimentRunResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface GetChaosExperimentRunV3QueryPathParams {
|
|
6
6
|
identity: string;
|
|
@@ -14,7 +14,7 @@ export interface GetChaosExperimentRunV3QueryQueryParams {
|
|
|
14
14
|
projectIdentifier?: string;
|
|
15
15
|
}
|
|
16
16
|
export type GetChaosExperimentRunV3OkResponse = ExperimentrunsGetExperimentRunResponse;
|
|
17
|
-
export type GetChaosExperimentRunV3ErrorResponse =
|
|
17
|
+
export type GetChaosExperimentRunV3ErrorResponse = SharedError;
|
|
18
18
|
export interface GetChaosExperimentRunV3Props extends GetChaosExperimentRunV3QueryPathParams, Omit<FetcherOptions<GetChaosExperimentRunV3QueryQueryParams, unknown>, 'url'> {
|
|
19
19
|
queryParams: GetChaosExperimentRunV3QueryQueryParams;
|
|
20
20
|
}
|
|
@@ -26,4 +26,4 @@ export declare function getChaosExperimentRunV3(props: GetChaosExperimentRunV3Pr
|
|
|
26
26
|
/**
|
|
27
27
|
* Fetches one run scoped to an experiment, by experimentRunId path slot or by notifyId in the query (with experimentRunId set to '_').
|
|
28
28
|
*/
|
|
29
|
-
export declare function useGetChaosExperimentRunV3Query(props: GetChaosExperimentRunV3Props, options?: Omit<UseQueryOptions<GetChaosExperimentRunV3ResponseContainer, GetChaosExperimentRunV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetChaosExperimentRunV3ResponseContainer,
|
|
29
|
+
export declare function useGetChaosExperimentRunV3Query(props: GetChaosExperimentRunV3Props, options?: Omit<UseQueryOptions<GetChaosExperimentRunV3ResponseContainer, GetChaosExperimentRunV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetChaosExperimentRunV3ResponseContainer, SharedError>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } 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 { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface GetChaosServiceQueryPathParams {
|
|
6
6
|
identity: string;
|
|
@@ -14,7 +14,7 @@ export interface GetChaosServiceQueryQueryParams {
|
|
|
14
14
|
useParentUniqueID?: boolean;
|
|
15
15
|
}
|
|
16
16
|
export type GetChaosServiceOkResponse = ChaosservicesChaosServiceResponse;
|
|
17
|
-
export type GetChaosServiceErrorResponse =
|
|
17
|
+
export type GetChaosServiceErrorResponse = SharedError;
|
|
18
18
|
export interface GetChaosServiceProps extends GetChaosServiceQueryPathParams, Omit<FetcherOptions<GetChaosServiceQueryQueryParams, unknown>, 'url'> {
|
|
19
19
|
queryParams: GetChaosServiceQueryQueryParams;
|
|
20
20
|
}
|
|
@@ -26,4 +26,4 @@ export declare function getChaosService(props: GetChaosServiceProps): Promise<Ge
|
|
|
26
26
|
/**
|
|
27
27
|
* Get a chaos service by identity
|
|
28
28
|
*/
|
|
29
|
-
export declare function useGetChaosServiceQuery(props: GetChaosServiceProps, options?: Omit<UseQueryOptions<GetChaosServiceResponseContainer, GetChaosServiceErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetChaosServiceResponseContainer,
|
|
29
|
+
export declare function useGetChaosServiceQuery(props: GetChaosServiceProps, options?: Omit<UseQueryOptions<GetChaosServiceResponseContainer, GetChaosServiceErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetChaosServiceResponseContainer, SharedError>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { LogserviceCommandUnitStatusResponse } from '../schemas/LogserviceCommandUnitStatusResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface GetCleanupCommandUnitStatusesQueryQueryParams {
|
|
6
6
|
accountIdentifier: string;
|
|
@@ -9,7 +9,7 @@ export interface GetCleanupCommandUnitStatusesQueryQueryParams {
|
|
|
9
9
|
uid: string;
|
|
10
10
|
}
|
|
11
11
|
export type GetCleanupCommandUnitStatusesOkResponse = LogserviceCommandUnitStatusResponse;
|
|
12
|
-
export type GetCleanupCommandUnitStatusesErrorResponse =
|
|
12
|
+
export type GetCleanupCommandUnitStatusesErrorResponse = SharedError;
|
|
13
13
|
export interface GetCleanupCommandUnitStatusesProps extends Omit<FetcherOptions<GetCleanupCommandUnitStatusesQueryQueryParams, unknown>, 'url'> {
|
|
14
14
|
queryParams: GetCleanupCommandUnitStatusesQueryQueryParams;
|
|
15
15
|
}
|
|
@@ -22,4 +22,4 @@ export declare function getCleanupCommandUnitStatuses(props: GetCleanupCommandUn
|
|
|
22
22
|
* Returns the status (not_started, running, completed) of the cleanup delegate task's single "Cleanup" command unit by checking log-service stream/blob endpoints.
|
|
23
23
|
* The returned logKey can be used to stream cleanup logs from log-service exactly like apply.
|
|
24
24
|
*/
|
|
25
|
-
export declare function useGetCleanupCommandUnitStatusesQuery(props: GetCleanupCommandUnitStatusesProps, options?: Omit<UseQueryOptions<GetCleanupCommandUnitStatusesResponseContainer, GetCleanupCommandUnitStatusesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetCleanupCommandUnitStatusesResponseContainer,
|
|
25
|
+
export declare function useGetCleanupCommandUnitStatusesQuery(props: GetCleanupCommandUnitStatusesProps, options?: Omit<UseQueryOptions<GetCleanupCommandUnitStatusesResponseContainer, GetCleanupCommandUnitStatusesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetCleanupCommandUnitStatusesResponseContainer, SharedError>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { LogserviceCommandUnitStatusResponse } from '../schemas/LogserviceCommandUnitStatusResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface GetCommandUnitStatusesQueryQueryParams {
|
|
6
6
|
accountIdentifier: string;
|
|
@@ -9,7 +9,7 @@ export interface GetCommandUnitStatusesQueryQueryParams {
|
|
|
9
9
|
uid: string;
|
|
10
10
|
}
|
|
11
11
|
export type GetCommandUnitStatusesOkResponse = LogserviceCommandUnitStatusResponse;
|
|
12
|
-
export type GetCommandUnitStatusesErrorResponse =
|
|
12
|
+
export type GetCommandUnitStatusesErrorResponse = SharedError;
|
|
13
13
|
export interface GetCommandUnitStatusesProps extends Omit<FetcherOptions<GetCommandUnitStatusesQueryQueryParams, unknown>, 'url'> {
|
|
14
14
|
queryParams: GetCommandUnitStatusesQueryQueryParams;
|
|
15
15
|
}
|
|
@@ -21,4 +21,4 @@ export declare function getCommandUnitStatuses(props: GetCommandUnitStatusesProp
|
|
|
21
21
|
/**
|
|
22
22
|
* Returns the status (not_started, running, completed) of each command unit for a K8s apply delegate task by checking log-service stream/blob endpoints
|
|
23
23
|
*/
|
|
24
|
-
export declare function useGetCommandUnitStatusesQuery(props: GetCommandUnitStatusesProps, options?: Omit<UseQueryOptions<GetCommandUnitStatusesResponseContainer, GetCommandUnitStatusesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetCommandUnitStatusesResponseContainer,
|
|
24
|
+
export declare function useGetCommandUnitStatusesQuery(props: GetCommandUnitStatusesProps, options?: Omit<UseQueryOptions<GetCommandUnitStatusesResponseContainer, GetCommandUnitStatusesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetCommandUnitStatusesResponseContainer, SharedError>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ChaosguardconditionsGetConditionResponse } from '../schemas/ChaosguardconditionsGetConditionResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface GetConditionQueryPathParams {
|
|
6
6
|
identity: string;
|
|
@@ -13,7 +13,7 @@ export interface GetConditionQueryQueryParams {
|
|
|
13
13
|
projectIdentifier?: string;
|
|
14
14
|
}
|
|
15
15
|
export type GetConditionOkResponse = ChaosguardconditionsGetConditionResponse;
|
|
16
|
-
export type GetConditionErrorResponse =
|
|
16
|
+
export type GetConditionErrorResponse = SharedError;
|
|
17
17
|
export interface GetConditionProps extends GetConditionQueryPathParams, Omit<FetcherOptions<GetConditionQueryQueryParams, unknown>, 'url'> {
|
|
18
18
|
queryParams: GetConditionQueryQueryParams;
|
|
19
19
|
}
|
|
@@ -25,4 +25,4 @@ export declare function getCondition(props: GetConditionProps): Promise<GetCondi
|
|
|
25
25
|
/**
|
|
26
26
|
* Gets a chaos guard condition by id
|
|
27
27
|
*/
|
|
28
|
-
export declare function useGetConditionQuery(props: GetConditionProps, options?: Omit<UseQueryOptions<GetConditionResponseContainer, GetConditionErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetConditionResponseContainer,
|
|
28
|
+
export declare function useGetConditionQuery(props: GetConditionProps, options?: Omit<UseQueryOptions<GetConditionResponseContainer, GetConditionErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetConditionResponseContainer, SharedError>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } 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 { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface GetDashboardV3QueryPathParams {
|
|
6
6
|
identity: string;
|
|
@@ -14,7 +14,7 @@ export interface GetDashboardV3QueryQueryParams {
|
|
|
14
14
|
useParentUniqueID?: boolean;
|
|
15
15
|
}
|
|
16
16
|
export type GetDashboardV3OkResponse = DashboardDashboardResponse;
|
|
17
|
-
export type GetDashboardV3ErrorResponse =
|
|
17
|
+
export type GetDashboardV3ErrorResponse = SharedError;
|
|
18
18
|
export interface GetDashboardV3Props extends GetDashboardV3QueryPathParams, Omit<FetcherOptions<GetDashboardV3QueryQueryParams, unknown>, 'url'> {
|
|
19
19
|
queryParams: GetDashboardV3QueryQueryParams;
|
|
20
20
|
}
|
|
@@ -26,4 +26,4 @@ export declare function getDashboardV3(props: GetDashboardV3Props): Promise<GetD
|
|
|
26
26
|
/**
|
|
27
27
|
* gets a dashboard by identity for the given project
|
|
28
28
|
*/
|
|
29
|
-
export declare function useGetDashboardV3Query(props: GetDashboardV3Props, options?: Omit<UseQueryOptions<GetDashboardV3ResponseContainer, GetDashboardV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetDashboardV3ResponseContainer,
|
|
29
|
+
export declare function useGetDashboardV3Query(props: GetDashboardV3Props, options?: Omit<UseQueryOptions<GetDashboardV3ResponseContainer, GetDashboardV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetDashboardV3ResponseContainer, SharedError>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { V3GetExperimentOrTemplateVariableResponse } from '../schemas/V3GetExperimentOrTemplateVariableResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface GetExperimentOrTemplateVariableQueryQueryParams {
|
|
6
6
|
accountIdentifier: string;
|
|
@@ -14,7 +14,7 @@ export interface GetExperimentOrTemplateVariableQueryQueryParams {
|
|
|
14
14
|
projectIdentifier?: string;
|
|
15
15
|
}
|
|
16
16
|
export type GetExperimentOrTemplateVariableOkResponse = V3GetExperimentOrTemplateVariableResponse;
|
|
17
|
-
export type GetExperimentOrTemplateVariableErrorResponse =
|
|
17
|
+
export type GetExperimentOrTemplateVariableErrorResponse = SharedError;
|
|
18
18
|
export interface GetExperimentOrTemplateVariableProps extends Omit<FetcherOptions<GetExperimentOrTemplateVariableQueryQueryParams, unknown>, 'url'> {
|
|
19
19
|
queryParams: GetExperimentOrTemplateVariableQueryQueryParams;
|
|
20
20
|
}
|
|
@@ -26,4 +26,4 @@ export declare function getExperimentOrTemplateVariable(props: GetExperimentOrTe
|
|
|
26
26
|
/**
|
|
27
27
|
* Gets experiment or template inputs
|
|
28
28
|
*/
|
|
29
|
-
export declare function useGetExperimentOrTemplateVariableQuery(props: GetExperimentOrTemplateVariableProps, options?: Omit<UseQueryOptions<GetExperimentOrTemplateVariableResponseContainer, GetExperimentOrTemplateVariableErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetExperimentOrTemplateVariableResponseContainer,
|
|
29
|
+
export declare function useGetExperimentOrTemplateVariableQuery(props: GetExperimentOrTemplateVariableProps, options?: Omit<UseQueryOptions<GetExperimentOrTemplateVariableResponseContainer, GetExperimentOrTemplateVariableErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetExperimentOrTemplateVariableResponseContainer, SharedError>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ExperimentsGetResponse } from '../schemas/ExperimentsGetResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface GetExperimentV3QueryPathParams {
|
|
6
6
|
identity: string;
|
|
@@ -14,7 +14,7 @@ export interface GetExperimentV3QueryQueryParams {
|
|
|
14
14
|
useParentUniqueID?: boolean;
|
|
15
15
|
}
|
|
16
16
|
export type GetExperimentV3OkResponse = ExperimentsGetResponse;
|
|
17
|
-
export type GetExperimentV3ErrorResponse =
|
|
17
|
+
export type GetExperimentV3ErrorResponse = SharedError;
|
|
18
18
|
export interface GetExperimentV3Props extends GetExperimentV3QueryPathParams, Omit<FetcherOptions<GetExperimentV3QueryQueryParams, unknown>, 'url'> {
|
|
19
19
|
queryParams: GetExperimentV3QueryQueryParams;
|
|
20
20
|
}
|
|
@@ -26,4 +26,4 @@ export declare function getExperimentV3(props: GetExperimentV3Props): Promise<Ge
|
|
|
26
26
|
/**
|
|
27
27
|
* Get a chaos experiment by identity
|
|
28
28
|
*/
|
|
29
|
-
export declare function useGetExperimentV3Query(props: GetExperimentV3Props, options?: Omit<UseQueryOptions<GetExperimentV3ResponseContainer, GetExperimentV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetExperimentV3ResponseContainer,
|
|
29
|
+
export declare function useGetExperimentV3Query(props: GetExperimentV3Props, options?: Omit<UseQueryOptions<GetExperimentV3ResponseContainer, GetExperimentV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetExperimentV3ResponseContainer, SharedError>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } 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 { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface GetImageRegistryV3QueryQueryParams {
|
|
6
6
|
accountIdentifier: string;
|
|
@@ -12,7 +12,7 @@ export interface GetImageRegistryV3QueryQueryParams {
|
|
|
12
12
|
useParentUniqueID?: boolean;
|
|
13
13
|
}
|
|
14
14
|
export type GetImageRegistryV3OkResponse = ImageregistriesImageRegistryResponse;
|
|
15
|
-
export type GetImageRegistryV3ErrorResponse =
|
|
15
|
+
export type GetImageRegistryV3ErrorResponse = SharedError;
|
|
16
16
|
export interface GetImageRegistryV3Props extends Omit<FetcherOptions<GetImageRegistryV3QueryQueryParams, unknown>, 'url'> {
|
|
17
17
|
queryParams: GetImageRegistryV3QueryQueryParams;
|
|
18
18
|
}
|
|
@@ -24,4 +24,4 @@ export declare function getImageRegistryV3(props: GetImageRegistryV3Props): Prom
|
|
|
24
24
|
/**
|
|
25
25
|
* gets an image registry for the given scope and optional infraID
|
|
26
26
|
*/
|
|
27
|
-
export declare function useGetImageRegistryV3Query(props: GetImageRegistryV3Props, options?: Omit<UseQueryOptions<GetImageRegistryV3ResponseContainer, GetImageRegistryV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetImageRegistryV3ResponseContainer,
|
|
27
|
+
export declare function useGetImageRegistryV3Query(props: GetImageRegistryV3Props, options?: Omit<UseQueryOptions<GetImageRegistryV3ResponseContainer, GetImageRegistryV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetImageRegistryV3ResponseContainer, SharedError>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { InfraopsGetKubeObjectResponse } from '../schemas/InfraopsGetKubeObjectResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import type { InfraopsGetKubeObjectBody } from '../schemas/InfraopsGetKubeObjectBody';
|
|
5
5
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export interface GetKubeObjectV3MutationPathParams {
|
|
@@ -15,7 +15,7 @@ export interface GetKubeObjectV3MutationQueryParams {
|
|
|
15
15
|
}
|
|
16
16
|
export type GetKubeObjectV3RequestBody = InfraopsGetKubeObjectBody;
|
|
17
17
|
export type GetKubeObjectV3OkResponse = InfraopsGetKubeObjectResponse;
|
|
18
|
-
export type GetKubeObjectV3ErrorResponse =
|
|
18
|
+
export type GetKubeObjectV3ErrorResponse = SharedError;
|
|
19
19
|
export interface GetKubeObjectV3Props extends GetKubeObjectV3MutationPathParams, Omit<FetcherOptions<GetKubeObjectV3MutationQueryParams, GetKubeObjectV3RequestBody>, 'url'> {
|
|
20
20
|
queryParams: GetKubeObjectV3MutationQueryParams;
|
|
21
21
|
body: GetKubeObjectV3RequestBody;
|
|
@@ -29,4 +29,4 @@ export type GetKubeObjectV3MutationProps<T extends keyof GetKubeObjectV3Props> =
|
|
|
29
29
|
/**
|
|
30
30
|
* Discovers Kubernetes resources (group/version/resource) on a chaos infrastructure via delegate task.
|
|
31
31
|
*/
|
|
32
|
-
export declare function useGetKubeObjectV3Mutation<T extends keyof GetKubeObjectV3Props>(props: Pick<Partial<GetKubeObjectV3Props>, T>, options?: Omit<UseMutationOptions<GetKubeObjectV3ResponseContainer, GetKubeObjectV3ErrorResponse, GetKubeObjectV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetKubeObjectV3ResponseContainer,
|
|
32
|
+
export declare function useGetKubeObjectV3Mutation<T extends keyof GetKubeObjectV3Props>(props: Pick<Partial<GetKubeObjectV3Props>, T>, options?: Omit<UseMutationOptions<GetKubeObjectV3ResponseContainer, GetKubeObjectV3ErrorResponse, GetKubeObjectV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetKubeObjectV3ResponseContainer, SharedError, GetKubeObjectV3MutationProps<T>, unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { RisksRiskResponse } from '../schemas/RisksRiskResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface GetRiskQueryPathParams {
|
|
6
6
|
identity: string;
|
|
@@ -14,7 +14,7 @@ export interface GetRiskQueryQueryParams {
|
|
|
14
14
|
useParentUniqueID?: boolean;
|
|
15
15
|
}
|
|
16
16
|
export type GetRiskOkResponse = RisksRiskResponse;
|
|
17
|
-
export type GetRiskErrorResponse =
|
|
17
|
+
export type GetRiskErrorResponse = SharedError;
|
|
18
18
|
export interface GetRiskProps extends GetRiskQueryPathParams, Omit<FetcherOptions<GetRiskQueryQueryParams, unknown>, 'url'> {
|
|
19
19
|
queryParams: GetRiskQueryQueryParams;
|
|
20
20
|
}
|
|
@@ -26,4 +26,4 @@ export declare function getRisk(props: GetRiskProps): Promise<GetRiskResponseCon
|
|
|
26
26
|
/**
|
|
27
27
|
* Gets a risk by identity
|
|
28
28
|
*/
|
|
29
|
-
export declare function useGetRiskQuery(props: GetRiskProps, options?: Omit<UseQueryOptions<GetRiskResponseContainer, GetRiskErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetRiskResponseContainer,
|
|
29
|
+
export declare function useGetRiskQuery(props: GetRiskProps, options?: Omit<UseQueryOptions<GetRiskResponseContainer, GetRiskErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetRiskResponseContainer, SharedError>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { RiskrulesRiskRuleResponse } from '../schemas/RiskrulesRiskRuleResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface GetRiskRuleQueryPathParams {
|
|
6
6
|
identity: string;
|
|
@@ -13,7 +13,7 @@ export interface GetRiskRuleQueryQueryParams {
|
|
|
13
13
|
projectIdentifier?: string;
|
|
14
14
|
}
|
|
15
15
|
export type GetRiskRuleOkResponse = RiskrulesRiskRuleResponse;
|
|
16
|
-
export type GetRiskRuleErrorResponse =
|
|
16
|
+
export type GetRiskRuleErrorResponse = SharedError;
|
|
17
17
|
export interface GetRiskRuleProps extends GetRiskRuleQueryPathParams, Omit<FetcherOptions<GetRiskRuleQueryQueryParams, unknown>, 'url'> {
|
|
18
18
|
queryParams: GetRiskRuleQueryQueryParams;
|
|
19
19
|
}
|
|
@@ -25,4 +25,4 @@ export declare function getRiskRule(props: GetRiskRuleProps): Promise<GetRiskRul
|
|
|
25
25
|
/**
|
|
26
26
|
* gets a risk rule by its identity
|
|
27
27
|
*/
|
|
28
|
-
export declare function useGetRiskRuleQuery(props: GetRiskRuleProps, options?: Omit<UseQueryOptions<GetRiskRuleResponseContainer, GetRiskRuleErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetRiskRuleResponseContainer,
|
|
28
|
+
export declare function useGetRiskRuleQuery(props: GetRiskRuleProps, options?: Omit<UseQueryOptions<GetRiskRuleResponseContainer, GetRiskRuleErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetRiskRuleResponseContainer, SharedError>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { RiskscansHeatmapResponse } from '../schemas/RiskscansHeatmapResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface GetRiskScanHeatmapQueryPathParams {
|
|
6
6
|
identity: string;
|
|
@@ -22,7 +22,7 @@ export interface GetRiskScanHeatmapQueryQueryParams {
|
|
|
22
22
|
search?: string;
|
|
23
23
|
}
|
|
24
24
|
export type GetRiskScanHeatmapOkResponse = RiskscansHeatmapResponse;
|
|
25
|
-
export type GetRiskScanHeatmapErrorResponse =
|
|
25
|
+
export type GetRiskScanHeatmapErrorResponse = SharedError;
|
|
26
26
|
export interface GetRiskScanHeatmapProps extends GetRiskScanHeatmapQueryPathParams, Omit<FetcherOptions<GetRiskScanHeatmapQueryQueryParams, unknown>, 'url'> {
|
|
27
27
|
queryParams: GetRiskScanHeatmapQueryQueryParams;
|
|
28
28
|
}
|
|
@@ -34,4 +34,4 @@ export declare function getRiskScanHeatmap(props: GetRiskScanHeatmapProps): Prom
|
|
|
34
34
|
/**
|
|
35
35
|
* returns a matrix of services vs risk rules showing which risks were detected, with severity and status per cell
|
|
36
36
|
*/
|
|
37
|
-
export declare function useGetRiskScanHeatmapQuery(props: GetRiskScanHeatmapProps, options?: Omit<UseQueryOptions<GetRiskScanHeatmapResponseContainer, GetRiskScanHeatmapErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetRiskScanHeatmapResponseContainer,
|
|
37
|
+
export declare function useGetRiskScanHeatmapQuery(props: GetRiskScanHeatmapProps, options?: Omit<UseQueryOptions<GetRiskScanHeatmapResponseContainer, GetRiskScanHeatmapErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetRiskScanHeatmapResponseContainer, SharedError>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } 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 { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface GetRiskScanQueryPathParams {
|
|
6
6
|
identity: string;
|
|
@@ -13,7 +13,7 @@ export interface GetRiskScanQueryQueryParams {
|
|
|
13
13
|
projectIdentifier?: string;
|
|
14
14
|
}
|
|
15
15
|
export type GetRiskScanOkResponse = RiskscansRiskScanResponse;
|
|
16
|
-
export type GetRiskScanErrorResponse =
|
|
16
|
+
export type GetRiskScanErrorResponse = SharedError;
|
|
17
17
|
export interface GetRiskScanProps extends GetRiskScanQueryPathParams, Omit<FetcherOptions<GetRiskScanQueryQueryParams, unknown>, 'url'> {
|
|
18
18
|
queryParams: GetRiskScanQueryQueryParams;
|
|
19
19
|
}
|
|
@@ -25,4 +25,4 @@ export declare function getRiskScan(props: GetRiskScanProps): Promise<GetRiskSca
|
|
|
25
25
|
/**
|
|
26
26
|
* gets a risk scan by its identity
|
|
27
27
|
*/
|
|
28
|
-
export declare function useGetRiskScanQuery(props: GetRiskScanProps, options?: Omit<UseQueryOptions<GetRiskScanResponseContainer, GetRiskScanErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetRiskScanResponseContainer,
|
|
28
|
+
export declare function useGetRiskScanQuery(props: GetRiskScanProps, options?: Omit<UseQueryOptions<GetRiskScanResponseContainer, GetRiskScanErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetRiskScanResponseContainer, SharedError>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { RiskscansDownloadResponse } from '../schemas/RiskscansDownloadResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface GetRiskScanReportDownloadUrlQueryPathParams {
|
|
6
6
|
identity: string;
|
|
@@ -13,7 +13,7 @@ export interface GetRiskScanReportDownloadUrlQueryQueryParams {
|
|
|
13
13
|
projectIdentifier?: string;
|
|
14
14
|
}
|
|
15
15
|
export type GetRiskScanReportDownloadUrlOkResponse = RiskscansDownloadResponse;
|
|
16
|
-
export type GetRiskScanReportDownloadUrlErrorResponse =
|
|
16
|
+
export type GetRiskScanReportDownloadUrlErrorResponse = SharedError;
|
|
17
17
|
export interface GetRiskScanReportDownloadUrlProps extends GetRiskScanReportDownloadUrlQueryPathParams, Omit<FetcherOptions<GetRiskScanReportDownloadUrlQueryQueryParams, unknown>, 'url'> {
|
|
18
18
|
queryParams: GetRiskScanReportDownloadUrlQueryQueryParams;
|
|
19
19
|
}
|
|
@@ -25,4 +25,4 @@ export declare function getRiskScanReportDownloadUrl(props: GetRiskScanReportDow
|
|
|
25
25
|
/**
|
|
26
26
|
* returns a signed URL for downloading the risk scan report PDF
|
|
27
27
|
*/
|
|
28
|
-
export declare function useGetRiskScanReportDownloadUrlQuery(props: GetRiskScanReportDownloadUrlProps, options?: Omit<UseQueryOptions<GetRiskScanReportDownloadUrlResponseContainer, GetRiskScanReportDownloadUrlErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetRiskScanReportDownloadUrlResponseContainer,
|
|
28
|
+
export declare function useGetRiskScanReportDownloadUrlQuery(props: GetRiskScanReportDownloadUrlProps, options?: Omit<UseQueryOptions<GetRiskScanReportDownloadUrlResponseContainer, GetRiskScanReportDownloadUrlErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetRiskScanReportDownloadUrlResponseContainer, SharedError>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { RiskscansReportResponse } from '../schemas/RiskscansReportResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface GetRiskScanReportQueryPathParams {
|
|
6
6
|
identity: string;
|
|
@@ -13,7 +13,7 @@ export interface GetRiskScanReportQueryQueryParams {
|
|
|
13
13
|
projectIdentifier?: string;
|
|
14
14
|
}
|
|
15
15
|
export type GetRiskScanReportOkResponse = RiskscansReportResponse;
|
|
16
|
-
export type GetRiskScanReportErrorResponse =
|
|
16
|
+
export type GetRiskScanReportErrorResponse = SharedError;
|
|
17
17
|
export interface GetRiskScanReportProps extends GetRiskScanReportQueryPathParams, Omit<FetcherOptions<GetRiskScanReportQueryQueryParams, unknown>, 'url'> {
|
|
18
18
|
queryParams: GetRiskScanReportQueryQueryParams;
|
|
19
19
|
}
|
|
@@ -25,4 +25,4 @@ export declare function getRiskScanReport(props: GetRiskScanReportProps): Promis
|
|
|
25
25
|
/**
|
|
26
26
|
* generates a comprehensive report including scan details and all scanned risks with embedded occurrences
|
|
27
27
|
*/
|
|
28
|
-
export declare function useGetRiskScanReportQuery(props: GetRiskScanReportProps, options?: Omit<UseQueryOptions<GetRiskScanReportResponseContainer, GetRiskScanReportErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetRiskScanReportResponseContainer,
|
|
28
|
+
export declare function useGetRiskScanReportQuery(props: GetRiskScanReportProps, options?: Omit<UseQueryOptions<GetRiskScanReportResponseContainer, GetRiskScanReportErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetRiskScanReportResponseContainer, SharedError>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ChaosguardrulesGetRuleResponse } from '../schemas/ChaosguardrulesGetRuleResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface GetRuleQueryPathParams {
|
|
6
6
|
identity: string;
|
|
@@ -13,7 +13,7 @@ export interface GetRuleQueryQueryParams {
|
|
|
13
13
|
projectIdentifier?: string;
|
|
14
14
|
}
|
|
15
15
|
export type GetRuleOkResponse = ChaosguardrulesGetRuleResponse;
|
|
16
|
-
export type GetRuleErrorResponse =
|
|
16
|
+
export type GetRuleErrorResponse = SharedError;
|
|
17
17
|
export interface GetRuleProps extends GetRuleQueryPathParams, Omit<FetcherOptions<GetRuleQueryQueryParams, unknown>, 'url'> {
|
|
18
18
|
queryParams: GetRuleQueryQueryParams;
|
|
19
19
|
}
|
|
@@ -25,4 +25,4 @@ export declare function getRule(props: GetRuleProps): Promise<GetRuleResponseCon
|
|
|
25
25
|
/**
|
|
26
26
|
* Gets a chaos guard rule by id
|
|
27
27
|
*/
|
|
28
|
-
export declare function useGetRuleQuery(props: GetRuleProps, options?: Omit<UseQueryOptions<GetRuleResponseContainer, GetRuleErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetRuleResponseContainer,
|
|
28
|
+
export declare function useGetRuleQuery(props: GetRuleProps, options?: Omit<UseQueryOptions<GetRuleResponseContainer, GetRuleErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetRuleResponseContainer, SharedError>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ScannedrisksGetResponse } from '../schemas/ScannedrisksGetResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface GetScannedRiskQueryPathParams {
|
|
6
6
|
identity: string;
|
|
@@ -13,7 +13,7 @@ export interface GetScannedRiskQueryQueryParams {
|
|
|
13
13
|
projectIdentifier?: string;
|
|
14
14
|
}
|
|
15
15
|
export type GetScannedRiskOkResponse = ScannedrisksGetResponse;
|
|
16
|
-
export type GetScannedRiskErrorResponse =
|
|
16
|
+
export type GetScannedRiskErrorResponse = SharedError;
|
|
17
17
|
export interface GetScannedRiskProps extends GetScannedRiskQueryPathParams, Omit<FetcherOptions<GetScannedRiskQueryQueryParams, unknown>, 'url'> {
|
|
18
18
|
queryParams: GetScannedRiskQueryQueryParams;
|
|
19
19
|
}
|
|
@@ -25,4 +25,4 @@ export declare function getScannedRisk(props: GetScannedRiskProps): Promise<GetS
|
|
|
25
25
|
/**
|
|
26
26
|
* retrieves a specific scanned risk by identity
|
|
27
27
|
*/
|
|
28
|
-
export declare function useGetScannedRiskQuery(props: GetScannedRiskProps, options?: Omit<UseQueryOptions<GetScannedRiskResponseContainer, GetScannedRiskErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetScannedRiskResponseContainer,
|
|
28
|
+
export declare function useGetScannedRiskQuery(props: GetScannedRiskProps, options?: Omit<UseQueryOptions<GetScannedRiskResponseContainer, GetScannedRiskErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetScannedRiskResponseContainer, SharedError>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { SharedListMetadataResponse } from '../schemas/SharedListMetadataResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import type { TypesListMetadataRequest } from '../schemas/TypesListMetadataRequest';
|
|
5
5
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export interface ListActionMetadataQueryQueryParams {
|
|
@@ -25,7 +25,7 @@ export interface ListActionMetadataQueryQueryParams {
|
|
|
25
25
|
}
|
|
26
26
|
export type ListActionMetadataRequestBody = TypesListMetadataRequest;
|
|
27
27
|
export type ListActionMetadataOkResponse = SharedListMetadataResponse;
|
|
28
|
-
export type ListActionMetadataErrorResponse =
|
|
28
|
+
export type ListActionMetadataErrorResponse = SharedError;
|
|
29
29
|
export interface ListActionMetadataProps extends Omit<FetcherOptions<ListActionMetadataQueryQueryParams, ListActionMetadataRequestBody>, 'url'> {
|
|
30
30
|
queryParams: ListActionMetadataQueryQueryParams;
|
|
31
31
|
body: ListActionMetadataRequestBody;
|
|
@@ -38,4 +38,4 @@ export declare function listActionMetadata(props: ListActionMetadataProps): Prom
|
|
|
38
38
|
/**
|
|
39
39
|
* Lists action metadata
|
|
40
40
|
*/
|
|
41
|
-
export declare function useListActionMetadataQuery(props: ListActionMetadataProps, options?: Omit<UseQueryOptions<ListActionMetadataResponseContainer, ListActionMetadataErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListActionMetadataResponseContainer,
|
|
41
|
+
export declare function useListActionMetadataQuery(props: ListActionMetadataProps, options?: Omit<UseQueryOptions<ListActionMetadataResponseContainer, ListActionMetadataErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListActionMetadataResponseContainer, SharedError>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ChaoscomponentChaosComponentExecutionNode } from '../schemas/ChaoscomponentChaosComponentExecutionNode';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface ListChaosComponentQueryPathParams {
|
|
6
6
|
identity: string;
|
|
@@ -15,7 +15,7 @@ export interface ListChaosComponentQueryQueryParams {
|
|
|
15
15
|
projectIdentifier?: string;
|
|
16
16
|
}
|
|
17
17
|
export type ListChaosComponentOkResponse = ChaoscomponentChaosComponentExecutionNode[];
|
|
18
|
-
export type ListChaosComponentErrorResponse =
|
|
18
|
+
export type ListChaosComponentErrorResponse = SharedError;
|
|
19
19
|
export interface ListChaosComponentProps extends ListChaosComponentQueryPathParams, Omit<FetcherOptions<ListChaosComponentQueryQueryParams, unknown>, 'url'> {
|
|
20
20
|
queryParams: ListChaosComponentQueryQueryParams;
|
|
21
21
|
}
|
|
@@ -27,4 +27,4 @@ export declare function listChaosComponent(props: ListChaosComponentProps): Prom
|
|
|
27
27
|
/**
|
|
28
28
|
* List the chaos component nodes
|
|
29
29
|
*/
|
|
30
|
-
export declare function useListChaosComponentQuery(props: ListChaosComponentProps, options?: Omit<UseQueryOptions<ListChaosComponentResponseContainer, ListChaosComponentErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListChaosComponentResponseContainer,
|
|
30
|
+
export declare function useListChaosComponentQuery(props: ListChaosComponentProps, options?: Omit<UseQueryOptions<ListChaosComponentResponseContainer, ListChaosComponentErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListChaosComponentResponseContainer, SharedError>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ExperimentrunsListExperimentRunsResponse } from '../schemas/ExperimentrunsListExperimentRunsResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface ListChaosExperimentRunsV3QueryPathParams {
|
|
6
6
|
identity: string;
|
|
@@ -32,7 +32,7 @@ export interface ListChaosExperimentRunsV3QueryQueryParams {
|
|
|
32
32
|
startTime?: number;
|
|
33
33
|
}
|
|
34
34
|
export type ListChaosExperimentRunsV3OkResponse = ExperimentrunsListExperimentRunsResponse;
|
|
35
|
-
export type ListChaosExperimentRunsV3ErrorResponse =
|
|
35
|
+
export type ListChaosExperimentRunsV3ErrorResponse = SharedError;
|
|
36
36
|
export interface ListChaosExperimentRunsV3Props extends ListChaosExperimentRunsV3QueryPathParams, Omit<FetcherOptions<ListChaosExperimentRunsV3QueryQueryParams, unknown>, 'url'> {
|
|
37
37
|
queryParams: ListChaosExperimentRunsV3QueryQueryParams;
|
|
38
38
|
}
|
|
@@ -44,4 +44,4 @@ export declare function listChaosExperimentRunsV3(props: ListChaosExperimentRuns
|
|
|
44
44
|
/**
|
|
45
45
|
* Lists runs of one experiment with the V3 filter+pagination conventions. Use this for dashboards and run history views.
|
|
46
46
|
*/
|
|
47
|
-
export declare function useListChaosExperimentRunsV3Query(props: ListChaosExperimentRunsV3Props, options?: Omit<UseQueryOptions<ListChaosExperimentRunsV3ResponseContainer, ListChaosExperimentRunsV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListChaosExperimentRunsV3ResponseContainer,
|
|
47
|
+
export declare function useListChaosExperimentRunsV3Query(props: ListChaosExperimentRunsV3Props, options?: Omit<UseQueryOptions<ListChaosExperimentRunsV3ResponseContainer, ListChaosExperimentRunsV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListChaosExperimentRunsV3ResponseContainer, SharedError>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ChaosservicesListExperimentExecutionsResponse } from '../schemas/ChaosservicesListExperimentExecutionsResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface ListChaosServiceExecutionsQueryPathParams {
|
|
6
6
|
identity: string;
|
|
@@ -30,7 +30,7 @@ export interface ListChaosServiceExecutionsQueryQueryParams {
|
|
|
30
30
|
useParentUniqueID?: boolean;
|
|
31
31
|
}
|
|
32
32
|
export type ListChaosServiceExecutionsOkResponse = ChaosservicesListExperimentExecutionsResponse;
|
|
33
|
-
export type ListChaosServiceExecutionsErrorResponse =
|
|
33
|
+
export type ListChaosServiceExecutionsErrorResponse = SharedError;
|
|
34
34
|
export interface ListChaosServiceExecutionsProps extends ListChaosServiceExecutionsQueryPathParams, Omit<FetcherOptions<ListChaosServiceExecutionsQueryQueryParams, unknown>, 'url'> {
|
|
35
35
|
queryParams: ListChaosServiceExecutionsQueryQueryParams;
|
|
36
36
|
}
|
|
@@ -42,4 +42,4 @@ export declare function listChaosServiceExecutions(props: ListChaosServiceExecut
|
|
|
42
42
|
/**
|
|
43
43
|
* List the experiment runs in which a chaos service was executed.
|
|
44
44
|
*/
|
|
45
|
-
export declare function useListChaosServiceExecutionsQuery(props: ListChaosServiceExecutionsProps, options?: Omit<UseQueryOptions<ListChaosServiceExecutionsResponseContainer, ListChaosServiceExecutionsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListChaosServiceExecutionsResponseContainer,
|
|
45
|
+
export declare function useListChaosServiceExecutionsQuery(props: ListChaosServiceExecutionsProps, options?: Omit<UseQueryOptions<ListChaosServiceExecutionsResponseContainer, ListChaosServiceExecutionsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListChaosServiceExecutionsResponseContainer, SharedError>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ChaosservicesListLoadTestsResponse } from '../schemas/ChaosservicesListLoadTestsResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface ListChaosServiceLoadTestsQueryPathParams {
|
|
6
6
|
identity: string;
|
|
@@ -31,7 +31,7 @@ export interface ListChaosServiceLoadTestsQueryQueryParams {
|
|
|
31
31
|
useParentUniqueID?: boolean;
|
|
32
32
|
}
|
|
33
33
|
export type ListChaosServiceLoadTestsOkResponse = ChaosservicesListLoadTestsResponse;
|
|
34
|
-
export type ListChaosServiceLoadTestsErrorResponse =
|
|
34
|
+
export type ListChaosServiceLoadTestsErrorResponse = SharedError;
|
|
35
35
|
export interface ListChaosServiceLoadTestsProps extends ListChaosServiceLoadTestsQueryPathParams, Omit<FetcherOptions<ListChaosServiceLoadTestsQueryQueryParams, unknown>, 'url'> {
|
|
36
36
|
queryParams: ListChaosServiceLoadTestsQueryQueryParams;
|
|
37
37
|
}
|
|
@@ -43,4 +43,4 @@ export declare function listChaosServiceLoadTests(props: ListChaosServiceLoadTes
|
|
|
43
43
|
/**
|
|
44
44
|
* List the load tests whose serviceReferences include the given chaos service.
|
|
45
45
|
*/
|
|
46
|
-
export declare function useListChaosServiceLoadTestsQuery(props: ListChaosServiceLoadTestsProps, options?: Omit<UseQueryOptions<ListChaosServiceLoadTestsResponseContainer, ListChaosServiceLoadTestsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListChaosServiceLoadTestsResponseContainer,
|
|
46
|
+
export declare function useListChaosServiceLoadTestsQuery(props: ListChaosServiceLoadTestsProps, options?: Omit<UseQueryOptions<ListChaosServiceLoadTestsResponseContainer, ListChaosServiceLoadTestsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListChaosServiceLoadTestsResponseContainer, SharedError>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ChaosservicesListChaosServiceResponse } from '../schemas/ChaosservicesListChaosServiceResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface ListChaosServicesQueryQueryParams {
|
|
6
6
|
accountIdentifier: string;
|
|
@@ -28,7 +28,7 @@ export interface ListChaosServicesQueryQueryParams {
|
|
|
28
28
|
useParentUniqueID?: boolean;
|
|
29
29
|
}
|
|
30
30
|
export type ListChaosServicesOkResponse = ChaosservicesListChaosServiceResponse;
|
|
31
|
-
export type ListChaosServicesErrorResponse =
|
|
31
|
+
export type ListChaosServicesErrorResponse = SharedError;
|
|
32
32
|
export interface ListChaosServicesProps extends Omit<FetcherOptions<ListChaosServicesQueryQueryParams, unknown>, 'url'> {
|
|
33
33
|
queryParams: ListChaosServicesQueryQueryParams;
|
|
34
34
|
}
|
|
@@ -40,4 +40,4 @@ export declare function listChaosServices(props: ListChaosServicesProps): Promis
|
|
|
40
40
|
/**
|
|
41
41
|
* List chaos services
|
|
42
42
|
*/
|
|
43
|
-
export declare function useListChaosServicesQuery(props: ListChaosServicesProps, options?: Omit<UseQueryOptions<ListChaosServicesResponseContainer, ListChaosServicesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListChaosServicesResponseContainer,
|
|
43
|
+
export declare function useListChaosServicesQuery(props: ListChaosServicesProps, options?: Omit<UseQueryOptions<ListChaosServicesResponseContainer, ListChaosServicesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListChaosServicesResponseContainer, SharedError>;
|