@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 { 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>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ChaosguardconditionsListConditionResponse } from '../schemas/ChaosguardconditionsListConditionResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface ListConditionQueryQueryParams {
|
|
6
6
|
accountIdentifier: string;
|
|
@@ -23,7 +23,7 @@ export interface ListConditionQueryQueryParams {
|
|
|
23
23
|
tags?: string;
|
|
24
24
|
}
|
|
25
25
|
export type ListConditionOkResponse = ChaosguardconditionsListConditionResponse;
|
|
26
|
-
export type ListConditionErrorResponse =
|
|
26
|
+
export type ListConditionErrorResponse = SharedError;
|
|
27
27
|
export interface ListConditionProps extends Omit<FetcherOptions<ListConditionQueryQueryParams, unknown>, 'url'> {
|
|
28
28
|
queryParams: ListConditionQueryQueryParams;
|
|
29
29
|
}
|
|
@@ -35,4 +35,4 @@ export declare function listCondition(props: ListConditionProps): Promise<ListCo
|
|
|
35
35
|
/**
|
|
36
36
|
* Lists chaos guard conditions
|
|
37
37
|
*/
|
|
38
|
-
export declare function useListConditionQuery(props: ListConditionProps, options?: Omit<UseQueryOptions<ListConditionResponseContainer, ListConditionErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListConditionResponseContainer,
|
|
38
|
+
export declare function useListConditionQuery(props: ListConditionProps, options?: Omit<UseQueryOptions<ListConditionResponseContainer, ListConditionErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListConditionResponseContainer, SharedError>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { DashboardListDashboardResponse } from '../schemas/DashboardListDashboardResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface ListDashboardsV3QueryQueryParams {
|
|
6
6
|
accountIdentifier: string;
|
|
@@ -25,7 +25,7 @@ export interface ListDashboardsV3QueryQueryParams {
|
|
|
25
25
|
useParentUniqueID?: boolean;
|
|
26
26
|
}
|
|
27
27
|
export type ListDashboardsV3OkResponse = DashboardListDashboardResponse;
|
|
28
|
-
export type ListDashboardsV3ErrorResponse =
|
|
28
|
+
export type ListDashboardsV3ErrorResponse = SharedError;
|
|
29
29
|
export interface ListDashboardsV3Props extends Omit<FetcherOptions<ListDashboardsV3QueryQueryParams, unknown>, 'url'> {
|
|
30
30
|
queryParams: ListDashboardsV3QueryQueryParams;
|
|
31
31
|
}
|
|
@@ -37,4 +37,4 @@ export declare function listDashboardsV3(props: ListDashboardsV3Props): Promise<
|
|
|
37
37
|
/**
|
|
38
38
|
* lists out-of-the-box dashboards for the given project with search, tag/category/favourite filters, sort and pagination
|
|
39
39
|
*/
|
|
40
|
-
export declare function useListDashboardsV3Query(props: ListDashboardsV3Props, options?: Omit<UseQueryOptions<ListDashboardsV3ResponseContainer, ListDashboardsV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListDashboardsV3ResponseContainer,
|
|
40
|
+
export declare function useListDashboardsV3Query(props: ListDashboardsV3Props, options?: Omit<UseQueryOptions<ListDashboardsV3ResponseContainer, ListDashboardsV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListDashboardsV3ResponseContainer, SharedError>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ChaoscomponentsListDrTestsResponse } from '../schemas/ChaoscomponentsListDrTestsResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface ListDrTestsQueryQueryParams {
|
|
6
6
|
accountIdentifier: string;
|
|
@@ -21,7 +21,7 @@ export interface ListDrTestsQueryQueryParams {
|
|
|
21
21
|
tags?: string;
|
|
22
22
|
}
|
|
23
23
|
export type ListDrTestsOkResponse = ChaoscomponentsListDrTestsResponse;
|
|
24
|
-
export type ListDrTestsErrorResponse =
|
|
24
|
+
export type ListDrTestsErrorResponse = SharedError;
|
|
25
25
|
export interface ListDrTestsProps extends Omit<FetcherOptions<ListDrTestsQueryQueryParams, unknown>, 'url'> {
|
|
26
26
|
queryParams: ListDrTestsQueryQueryParams;
|
|
27
27
|
}
|
|
@@ -33,4 +33,4 @@ export declare function listDrTests(props: ListDrTestsProps): Promise<ListDrTest
|
|
|
33
33
|
/**
|
|
34
34
|
* Lists all DR tests (DRTest stages) from pipelines
|
|
35
35
|
*/
|
|
36
|
-
export declare function useListDrTestsQuery(props: ListDrTestsProps, options?: Omit<UseQueryOptions<ListDrTestsResponseContainer, ListDrTestsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListDrTestsResponseContainer,
|
|
36
|
+
export declare function useListDrTestsQuery(props: ListDrTestsProps, options?: Omit<UseQueryOptions<ListDrTestsResponseContainer, ListDrTestsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListDrTestsResponseContainer, 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 ListExperimentMetadataQueryQueryParams {
|
|
@@ -25,7 +25,7 @@ export interface ListExperimentMetadataQueryQueryParams {
|
|
|
25
25
|
}
|
|
26
26
|
export type ListExperimentMetadataRequestBody = TypesListMetadataRequest;
|
|
27
27
|
export type ListExperimentMetadataOkResponse = SharedListMetadataResponse;
|
|
28
|
-
export type ListExperimentMetadataErrorResponse =
|
|
28
|
+
export type ListExperimentMetadataErrorResponse = SharedError;
|
|
29
29
|
export interface ListExperimentMetadataProps extends Omit<FetcherOptions<ListExperimentMetadataQueryQueryParams, ListExperimentMetadataRequestBody>, 'url'> {
|
|
30
30
|
queryParams: ListExperimentMetadataQueryQueryParams;
|
|
31
31
|
body: ListExperimentMetadataRequestBody;
|
|
@@ -38,4 +38,4 @@ export declare function listExperimentMetadata(props: ListExperimentMetadataProp
|
|
|
38
38
|
/**
|
|
39
39
|
* Lists experiment metadata
|
|
40
40
|
*/
|
|
41
|
-
export declare function useListExperimentMetadataQuery(props: ListExperimentMetadataProps, options?: Omit<UseQueryOptions<ListExperimentMetadataResponseContainer, ListExperimentMetadataErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListExperimentMetadataResponseContainer,
|
|
41
|
+
export declare function useListExperimentMetadataQuery(props: ListExperimentMetadataProps, options?: Omit<UseQueryOptions<ListExperimentMetadataResponseContainer, ListExperimentMetadataErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListExperimentMetadataResponseContainer, SharedError>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { V3ListExperimentOrTemplateResponse } from '../schemas/V3ListExperimentOrTemplateResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface ListExperimentOrTemplateQueryQueryParams {
|
|
6
6
|
accountIdentifier: string;
|
|
@@ -28,7 +28,7 @@ export interface ListExperimentOrTemplateQueryQueryParams {
|
|
|
28
28
|
useParentUniqueID?: boolean;
|
|
29
29
|
}
|
|
30
30
|
export type ListExperimentOrTemplateOkResponse = V3ListExperimentOrTemplateResponse;
|
|
31
|
-
export type ListExperimentOrTemplateErrorResponse =
|
|
31
|
+
export type ListExperimentOrTemplateErrorResponse = SharedError;
|
|
32
32
|
export interface ListExperimentOrTemplateProps extends Omit<FetcherOptions<ListExperimentOrTemplateQueryQueryParams, unknown>, 'url'> {
|
|
33
33
|
queryParams: ListExperimentOrTemplateQueryQueryParams;
|
|
34
34
|
}
|
|
@@ -40,4 +40,4 @@ export declare function listExperimentOrTemplate(props: ListExperimentOrTemplate
|
|
|
40
40
|
/**
|
|
41
41
|
* Lists experiment or template metadata
|
|
42
42
|
*/
|
|
43
|
-
export declare function useListExperimentOrTemplateQuery(props: ListExperimentOrTemplateProps, options?: Omit<UseQueryOptions<ListExperimentOrTemplateResponseContainer, ListExperimentOrTemplateErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListExperimentOrTemplateResponseContainer,
|
|
43
|
+
export declare function useListExperimentOrTemplateQuery(props: ListExperimentOrTemplateProps, options?: Omit<UseQueryOptions<ListExperimentOrTemplateResponseContainer, ListExperimentOrTemplateErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListExperimentOrTemplateResponseContainer, SharedError>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ExperimentsListExperimentsResponse } from '../schemas/ExperimentsListExperimentsResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface ListExperimentsV3QueryQueryParams {
|
|
6
6
|
accountIdentifier: string;
|
|
@@ -35,7 +35,7 @@ export interface ListExperimentsV3QueryQueryParams {
|
|
|
35
35
|
useParentUniqueID?: boolean;
|
|
36
36
|
}
|
|
37
37
|
export type ListExperimentsV3OkResponse = ExperimentsListExperimentsResponse;
|
|
38
|
-
export type ListExperimentsV3ErrorResponse =
|
|
38
|
+
export type ListExperimentsV3ErrorResponse = SharedError;
|
|
39
39
|
export interface ListExperimentsV3Props extends Omit<FetcherOptions<ListExperimentsV3QueryQueryParams, unknown>, 'url'> {
|
|
40
40
|
queryParams: ListExperimentsV3QueryQueryParams;
|
|
41
41
|
}
|
|
@@ -47,4 +47,4 @@ export declare function listExperimentsV3(props: ListExperimentsV3Props): Promis
|
|
|
47
47
|
/**
|
|
48
48
|
* List chaos experiments with filters and pagination
|
|
49
49
|
*/
|
|
50
|
-
export declare function useListExperimentsV3Query(props: ListExperimentsV3Props, options?: Omit<UseQueryOptions<ListExperimentsV3ResponseContainer, ListExperimentsV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListExperimentsV3ResponseContainer,
|
|
50
|
+
export declare function useListExperimentsV3Query(props: ListExperimentsV3Props, options?: Omit<UseQueryOptions<ListExperimentsV3ResponseContainer, ListExperimentsV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListExperimentsV3ResponseContainer, 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 ListFaultMetadataQueryQueryParams {
|
|
@@ -25,7 +25,7 @@ export interface ListFaultMetadataQueryQueryParams {
|
|
|
25
25
|
}
|
|
26
26
|
export type ListFaultMetadataRequestBody = TypesListMetadataRequest;
|
|
27
27
|
export type ListFaultMetadataOkResponse = SharedListMetadataResponse;
|
|
28
|
-
export type ListFaultMetadataErrorResponse =
|
|
28
|
+
export type ListFaultMetadataErrorResponse = SharedError;
|
|
29
29
|
export interface ListFaultMetadataProps extends Omit<FetcherOptions<ListFaultMetadataQueryQueryParams, ListFaultMetadataRequestBody>, 'url'> {
|
|
30
30
|
queryParams: ListFaultMetadataQueryQueryParams;
|
|
31
31
|
body: ListFaultMetadataRequestBody;
|
|
@@ -38,4 +38,4 @@ export declare function listFaultMetadata(props: ListFaultMetadataProps): Promis
|
|
|
38
38
|
/**
|
|
39
39
|
* Lists fault metadata
|
|
40
40
|
*/
|
|
41
|
-
export declare function useListFaultMetadataQuery(props: ListFaultMetadataProps, options?: Omit<UseQueryOptions<ListFaultMetadataResponseContainer, ListFaultMetadataErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListFaultMetadataResponseContainer,
|
|
41
|
+
export declare function useListFaultMetadataQuery(props: ListFaultMetadataProps, options?: Omit<UseQueryOptions<ListFaultMetadataResponseContainer, ListFaultMetadataErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListFaultMetadataResponseContainer, 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 ListGamedayMetadataQueryQueryParams {
|
|
@@ -25,7 +25,7 @@ export interface ListGamedayMetadataQueryQueryParams {
|
|
|
25
25
|
}
|
|
26
26
|
export type ListGamedayMetadataRequestBody = TypesListMetadataRequest;
|
|
27
27
|
export type ListGamedayMetadataOkResponse = SharedListMetadataResponse;
|
|
28
|
-
export type ListGamedayMetadataErrorResponse =
|
|
28
|
+
export type ListGamedayMetadataErrorResponse = SharedError;
|
|
29
29
|
export interface ListGamedayMetadataProps extends Omit<FetcherOptions<ListGamedayMetadataQueryQueryParams, ListGamedayMetadataRequestBody>, 'url'> {
|
|
30
30
|
queryParams: ListGamedayMetadataQueryQueryParams;
|
|
31
31
|
body: ListGamedayMetadataRequestBody;
|
|
@@ -38,4 +38,4 @@ export declare function listGamedayMetadata(props: ListGamedayMetadataProps): Pr
|
|
|
38
38
|
/**
|
|
39
39
|
* Lists gameday metadata
|
|
40
40
|
*/
|
|
41
|
-
export declare function useListGamedayMetadataQuery(props: ListGamedayMetadataProps, options?: Omit<UseQueryOptions<ListGamedayMetadataResponseContainer, ListGamedayMetadataErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListGamedayMetadataResponseContainer,
|
|
41
|
+
export declare function useListGamedayMetadataQuery(props: ListGamedayMetadataProps, options?: Omit<UseQueryOptions<ListGamedayMetadataResponseContainer, ListGamedayMetadataErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListGamedayMetadataResponseContainer, 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 ListHubMetadataQueryQueryParams {
|
|
@@ -25,7 +25,7 @@ export interface ListHubMetadataQueryQueryParams {
|
|
|
25
25
|
}
|
|
26
26
|
export type ListHubMetadataRequestBody = TypesListMetadataRequest;
|
|
27
27
|
export type ListHubMetadataOkResponse = SharedListMetadataResponse;
|
|
28
|
-
export type ListHubMetadataErrorResponse =
|
|
28
|
+
export type ListHubMetadataErrorResponse = SharedError;
|
|
29
29
|
export interface ListHubMetadataProps extends Omit<FetcherOptions<ListHubMetadataQueryQueryParams, ListHubMetadataRequestBody>, 'url'> {
|
|
30
30
|
queryParams: ListHubMetadataQueryQueryParams;
|
|
31
31
|
body: ListHubMetadataRequestBody;
|
|
@@ -38,4 +38,4 @@ export declare function listHubMetadata(props: ListHubMetadataProps): Promise<Li
|
|
|
38
38
|
/**
|
|
39
39
|
* Lists hub metadata
|
|
40
40
|
*/
|
|
41
|
-
export declare function useListHubMetadataQuery(props: ListHubMetadataProps, options?: Omit<UseQueryOptions<ListHubMetadataResponseContainer, ListHubMetadataErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListHubMetadataResponseContainer,
|
|
41
|
+
export declare function useListHubMetadataQuery(props: ListHubMetadataProps, options?: Omit<UseQueryOptions<ListHubMetadataResponseContainer, ListHubMetadataErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListHubMetadataResponseContainer, SharedError>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { RisksListExecutionResponse } from '../schemas/RisksListExecutionResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface ListProbeExecutionsQueryPathParams {
|
|
6
6
|
identity: string;
|
|
@@ -30,7 +30,7 @@ export interface ListProbeExecutionsQueryQueryParams {
|
|
|
30
30
|
useParentUniqueID?: boolean;
|
|
31
31
|
}
|
|
32
32
|
export type ListProbeExecutionsOkResponse = RisksListExecutionResponse;
|
|
33
|
-
export type ListProbeExecutionsErrorResponse =
|
|
33
|
+
export type ListProbeExecutionsErrorResponse = SharedError;
|
|
34
34
|
export interface ListProbeExecutionsProps extends ListProbeExecutionsQueryPathParams, Omit<FetcherOptions<ListProbeExecutionsQueryQueryParams, unknown>, 'url'> {
|
|
35
35
|
queryParams: ListProbeExecutionsQueryQueryParams;
|
|
36
36
|
}
|
|
@@ -42,4 +42,4 @@ export declare function listProbeExecutions(props: ListProbeExecutionsProps): Pr
|
|
|
42
42
|
/**
|
|
43
43
|
* Lists probe executions for a given risk identity
|
|
44
44
|
*/
|
|
45
|
-
export declare function useListProbeExecutionsQuery(props: ListProbeExecutionsProps, options?: Omit<UseQueryOptions<ListProbeExecutionsResponseContainer, ListProbeExecutionsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListProbeExecutionsResponseContainer,
|
|
45
|
+
export declare function useListProbeExecutionsQuery(props: ListProbeExecutionsProps, options?: Omit<UseQueryOptions<ListProbeExecutionsResponseContainer, ListProbeExecutionsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListProbeExecutionsResponseContainer, 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 ListProbeMetadataQueryQueryParams {
|
|
@@ -25,7 +25,7 @@ export interface ListProbeMetadataQueryQueryParams {
|
|
|
25
25
|
}
|
|
26
26
|
export type ListProbeMetadataRequestBody = TypesListMetadataRequest;
|
|
27
27
|
export type ListProbeMetadataOkResponse = SharedListMetadataResponse;
|
|
28
|
-
export type ListProbeMetadataErrorResponse =
|
|
28
|
+
export type ListProbeMetadataErrorResponse = SharedError;
|
|
29
29
|
export interface ListProbeMetadataProps extends Omit<FetcherOptions<ListProbeMetadataQueryQueryParams, ListProbeMetadataRequestBody>, 'url'> {
|
|
30
30
|
queryParams: ListProbeMetadataQueryQueryParams;
|
|
31
31
|
body: ListProbeMetadataRequestBody;
|
|
@@ -38,4 +38,4 @@ export declare function listProbeMetadata(props: ListProbeMetadataProps): Promis
|
|
|
38
38
|
/**
|
|
39
39
|
* Lists probe metadata
|
|
40
40
|
*/
|
|
41
|
-
export declare function useListProbeMetadataQuery(props: ListProbeMetadataProps, options?: Omit<UseQueryOptions<ListProbeMetadataResponseContainer, ListProbeMetadataErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListProbeMetadataResponseContainer,
|
|
41
|
+
export declare function useListProbeMetadataQuery(props: ListProbeMetadataProps, options?: Omit<UseQueryOptions<ListProbeMetadataResponseContainer, ListProbeMetadataErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListProbeMetadataResponseContainer, SharedError>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { RiskrulesListResponse } from '../schemas/RiskrulesListResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface ListRiskRulesQueryQueryParams {
|
|
6
6
|
accountIdentifier: string;
|
|
@@ -25,7 +25,7 @@ export interface ListRiskRulesQueryQueryParams {
|
|
|
25
25
|
tags?: string;
|
|
26
26
|
}
|
|
27
27
|
export type ListRiskRulesOkResponse = RiskrulesListResponse;
|
|
28
|
-
export type ListRiskRulesErrorResponse =
|
|
28
|
+
export type ListRiskRulesErrorResponse = SharedError;
|
|
29
29
|
export interface ListRiskRulesProps extends Omit<FetcherOptions<ListRiskRulesQueryQueryParams, unknown>, 'url'> {
|
|
30
30
|
queryParams: ListRiskRulesQueryQueryParams;
|
|
31
31
|
}
|
|
@@ -37,4 +37,4 @@ export declare function listRiskRules(props: ListRiskRulesProps): Promise<ListRi
|
|
|
37
37
|
/**
|
|
38
38
|
* lists risk rules with pagination and filters
|
|
39
39
|
*/
|
|
40
|
-
export declare function useListRiskRulesQuery(props: ListRiskRulesProps, options?: Omit<UseQueryOptions<ListRiskRulesResponseContainer, ListRiskRulesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListRiskRulesResponseContainer,
|
|
40
|
+
export declare function useListRiskRulesQuery(props: ListRiskRulesProps, options?: Omit<UseQueryOptions<ListRiskRulesResponseContainer, ListRiskRulesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListRiskRulesResponseContainer, SharedError>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { RiskscansListResponse } from '../schemas/RiskscansListResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface ListRiskScansQueryQueryParams {
|
|
6
6
|
accountIdentifier: string;
|
|
@@ -29,7 +29,7 @@ export interface ListRiskScansQueryQueryParams {
|
|
|
29
29
|
tags?: string;
|
|
30
30
|
}
|
|
31
31
|
export type ListRiskScansOkResponse = RiskscansListResponse;
|
|
32
|
-
export type ListRiskScansErrorResponse =
|
|
32
|
+
export type ListRiskScansErrorResponse = SharedError;
|
|
33
33
|
export interface ListRiskScansProps extends Omit<FetcherOptions<ListRiskScansQueryQueryParams, unknown>, 'url'> {
|
|
34
34
|
queryParams: ListRiskScansQueryQueryParams;
|
|
35
35
|
}
|
|
@@ -41,4 +41,4 @@ export declare function listRiskScans(props: ListRiskScansProps): Promise<ListRi
|
|
|
41
41
|
/**
|
|
42
42
|
* lists risk scans with optional filtering
|
|
43
43
|
*/
|
|
44
|
-
export declare function useListRiskScansQuery(props: ListRiskScansProps, options?: Omit<UseQueryOptions<ListRiskScansResponseContainer, ListRiskScansErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListRiskScansResponseContainer,
|
|
44
|
+
export declare function useListRiskScansQuery(props: ListRiskScansProps, options?: Omit<UseQueryOptions<ListRiskScansResponseContainer, ListRiskScansErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListRiskScansResponseContainer, SharedError>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { RisksListRiskResponse } from '../schemas/RisksListRiskResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface ListRisksQueryQueryParams {
|
|
6
6
|
accountIdentifier: string;
|
|
@@ -27,7 +27,7 @@ export interface ListRisksQueryQueryParams {
|
|
|
27
27
|
useParentUniqueID?: boolean;
|
|
28
28
|
}
|
|
29
29
|
export type ListRisksOkResponse = RisksListRiskResponse;
|
|
30
|
-
export type ListRisksErrorResponse =
|
|
30
|
+
export type ListRisksErrorResponse = SharedError;
|
|
31
31
|
export interface ListRisksProps extends Omit<FetcherOptions<ListRisksQueryQueryParams, unknown>, 'url'> {
|
|
32
32
|
queryParams: ListRisksQueryQueryParams;
|
|
33
33
|
}
|
|
@@ -39,4 +39,4 @@ export declare function listRisks(props: ListRisksProps): Promise<ListRisksRespo
|
|
|
39
39
|
/**
|
|
40
40
|
* Lists risks
|
|
41
41
|
*/
|
|
42
|
-
export declare function useListRisksQuery(props: ListRisksProps, options?: Omit<UseQueryOptions<ListRisksResponseContainer, ListRisksErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListRisksResponseContainer,
|
|
42
|
+
export declare function useListRisksQuery(props: ListRisksProps, options?: Omit<UseQueryOptions<ListRisksResponseContainer, ListRisksErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListRisksResponseContainer, SharedError>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ChaosguardrulesListRuleResponse } from '../schemas/ChaosguardrulesListRuleResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface ListRuleQueryQueryParams {
|
|
6
6
|
accountIdentifier: string;
|
|
@@ -23,7 +23,7 @@ export interface ListRuleQueryQueryParams {
|
|
|
23
23
|
tags?: string;
|
|
24
24
|
}
|
|
25
25
|
export type ListRuleOkResponse = ChaosguardrulesListRuleResponse;
|
|
26
|
-
export type ListRuleErrorResponse =
|
|
26
|
+
export type ListRuleErrorResponse = SharedError;
|
|
27
27
|
export interface ListRuleProps extends Omit<FetcherOptions<ListRuleQueryQueryParams, unknown>, 'url'> {
|
|
28
28
|
queryParams: ListRuleQueryQueryParams;
|
|
29
29
|
}
|
|
@@ -35,4 +35,4 @@ export declare function listRule(props: ListRuleProps): Promise<ListRuleResponse
|
|
|
35
35
|
/**
|
|
36
36
|
* Lists chaos guard rules
|
|
37
37
|
*/
|
|
38
|
-
export declare function useListRuleQuery(props: ListRuleProps, options?: Omit<UseQueryOptions<ListRuleResponseContainer, ListRuleErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListRuleResponseContainer,
|
|
38
|
+
export declare function useListRuleQuery(props: ListRuleProps, options?: Omit<UseQueryOptions<ListRuleResponseContainer, ListRuleErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListRuleResponseContainer, SharedError>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ScannedrisksOccurrencesResponse } from '../schemas/ScannedrisksOccurrencesResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface ListScannedRiskOccurrencesQueryPathParams {
|
|
6
6
|
identity: string;
|
|
@@ -27,7 +27,7 @@ export interface ListScannedRiskOccurrencesQueryQueryParams {
|
|
|
27
27
|
startTime?: number;
|
|
28
28
|
}
|
|
29
29
|
export type ListScannedRiskOccurrencesOkResponse = ScannedrisksOccurrencesResponse;
|
|
30
|
-
export type ListScannedRiskOccurrencesErrorResponse =
|
|
30
|
+
export type ListScannedRiskOccurrencesErrorResponse = SharedError;
|
|
31
31
|
export interface ListScannedRiskOccurrencesProps extends ListScannedRiskOccurrencesQueryPathParams, Omit<FetcherOptions<ListScannedRiskOccurrencesQueryQueryParams, unknown>, 'url'> {
|
|
32
32
|
queryParams: ListScannedRiskOccurrencesQueryQueryParams;
|
|
33
33
|
}
|
|
@@ -39,4 +39,4 @@ export declare function listScannedRiskOccurrences(props: ListScannedRiskOccurre
|
|
|
39
39
|
/**
|
|
40
40
|
* lists all occurrences for a specific scanned risk
|
|
41
41
|
*/
|
|
42
|
-
export declare function useListScannedRiskOccurrencesQuery(props: ListScannedRiskOccurrencesProps, options?: Omit<UseQueryOptions<ListScannedRiskOccurrencesResponseContainer, ListScannedRiskOccurrencesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListScannedRiskOccurrencesResponseContainer,
|
|
42
|
+
export declare function useListScannedRiskOccurrencesQuery(props: ListScannedRiskOccurrencesProps, options?: Omit<UseQueryOptions<ListScannedRiskOccurrencesResponseContainer, ListScannedRiskOccurrencesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListScannedRiskOccurrencesResponseContainer, SharedError>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ScannedrisksListResponse } from '../schemas/ScannedrisksListResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface ListScannedRisksQueryQueryParams {
|
|
6
6
|
accountIdentifier: string;
|
|
@@ -31,7 +31,7 @@ export interface ListScannedRisksQueryQueryParams {
|
|
|
31
31
|
validationType?: string;
|
|
32
32
|
}
|
|
33
33
|
export type ListScannedRisksOkResponse = ScannedrisksListResponse;
|
|
34
|
-
export type ListScannedRisksErrorResponse =
|
|
34
|
+
export type ListScannedRisksErrorResponse = SharedError;
|
|
35
35
|
export interface ListScannedRisksProps extends Omit<FetcherOptions<ListScannedRisksQueryQueryParams, unknown>, 'url'> {
|
|
36
36
|
queryParams: ListScannedRisksQueryQueryParams;
|
|
37
37
|
}
|
|
@@ -43,4 +43,4 @@ export declare function listScannedRisks(props: ListScannedRisksProps): Promise<
|
|
|
43
43
|
/**
|
|
44
44
|
* lists scanned risks with optional filtering
|
|
45
45
|
*/
|
|
46
|
-
export declare function useListScannedRisksQuery(props: ListScannedRisksProps, options?: Omit<UseQueryOptions<ListScannedRisksResponseContainer, ListScannedRisksErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListScannedRisksResponseContainer,
|
|
46
|
+
export declare function useListScannedRisksQuery(props: ListScannedRisksProps, options?: Omit<UseQueryOptions<ListScannedRisksResponseContainer, ListScannedRisksErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListScannedRisksResponseContainer, SharedError>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { V3ProcessTemplateResponse } from '../schemas/V3ProcessTemplateResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import type { V3ProcessTemplateRequest } from '../schemas/V3ProcessTemplateRequest';
|
|
5
5
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export type ProcessTemplateRequestBody = V3ProcessTemplateRequest;
|
|
7
7
|
export type ProcessTemplateOkResponse = V3ProcessTemplateResponse;
|
|
8
|
-
export type ProcessTemplateErrorResponse =
|
|
8
|
+
export type ProcessTemplateErrorResponse = SharedError;
|
|
9
9
|
export interface ProcessTemplateProps extends Omit<FetcherOptions<unknown, ProcessTemplateRequestBody>, 'url'> {
|
|
10
10
|
body: ProcessTemplateRequestBody;
|
|
11
11
|
}
|
|
@@ -18,4 +18,4 @@ export type ProcessTemplateMutationProps<T extends keyof ProcessTemplateProps> =
|
|
|
18
18
|
/**
|
|
19
19
|
* Processes a Go template with provided YAML values and returns the rendered result. All query parameters from the URL are also available in the template context and will override values from YAML if there's a conflict.
|
|
20
20
|
*/
|
|
21
|
-
export declare function useProcessTemplateMutation<T extends keyof ProcessTemplateProps>(props: Pick<Partial<ProcessTemplateProps>, T>, options?: Omit<UseMutationOptions<ProcessTemplateResponseContainer, ProcessTemplateErrorResponse, ProcessTemplateMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ProcessTemplateResponseContainer,
|
|
21
|
+
export declare function useProcessTemplateMutation<T extends keyof ProcessTemplateProps>(props: Pick<Partial<ProcessTemplateProps>, T>, options?: Omit<UseMutationOptions<ProcessTemplateResponseContainer, ProcessTemplateErrorResponse, ProcessTemplateMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ProcessTemplateResponseContainer, SharedError, ProcessTemplateMutationProps<T>, unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ImageregistriesResolveResponse } from '../schemas/ImageregistriesResolveResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface ResolveImageRegistryV3QueryQueryParams {
|
|
6
6
|
accountIdentifier: string;
|
|
@@ -12,7 +12,7 @@ export interface ResolveImageRegistryV3QueryQueryParams {
|
|
|
12
12
|
useParentUniqueID?: boolean;
|
|
13
13
|
}
|
|
14
14
|
export type ResolveImageRegistryV3OkResponse = ImageregistriesResolveResponse;
|
|
15
|
-
export type ResolveImageRegistryV3ErrorResponse =
|
|
15
|
+
export type ResolveImageRegistryV3ErrorResponse = SharedError;
|
|
16
16
|
export interface ResolveImageRegistryV3Props extends Omit<FetcherOptions<ResolveImageRegistryV3QueryQueryParams, unknown>, 'url'> {
|
|
17
17
|
queryParams: ResolveImageRegistryV3QueryQueryParams;
|
|
18
18
|
}
|
|
@@ -24,4 +24,4 @@ export declare function resolveImageRegistryV3(props: ResolveImageRegistryV3Prop
|
|
|
24
24
|
/**
|
|
25
25
|
* walks the scope hierarchy and returns the effective image registry configuration
|
|
26
26
|
*/
|
|
27
|
-
export declare function useResolveImageRegistryV3Query(props: ResolveImageRegistryV3Props, options?: Omit<UseQueryOptions<ResolveImageRegistryV3ResponseContainer, ResolveImageRegistryV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ResolveImageRegistryV3ResponseContainer,
|
|
27
|
+
export declare function useResolveImageRegistryV3Query(props: ResolveImageRegistryV3Props, options?: Omit<UseQueryOptions<ResolveImageRegistryV3ResponseContainer, ResolveImageRegistryV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ResolveImageRegistryV3ResponseContainer, SharedError>;
|
|
@@ -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 RetryRiskScanMutationPathParams {
|
|
5
5
|
identity: string;
|
|
@@ -14,7 +14,7 @@ export interface RetryRiskScanMutationQueryParams {
|
|
|
14
14
|
export type RetryRiskScanOkResponse = {
|
|
15
15
|
[key: string]: string;
|
|
16
16
|
};
|
|
17
|
-
export type RetryRiskScanErrorResponse =
|
|
17
|
+
export type RetryRiskScanErrorResponse = SharedError;
|
|
18
18
|
export interface RetryRiskScanProps extends RetryRiskScanMutationPathParams, Omit<FetcherOptions<RetryRiskScanMutationQueryParams, unknown>, 'url'> {
|
|
19
19
|
queryParams: RetryRiskScanMutationQueryParams;
|
|
20
20
|
}
|
|
@@ -27,4 +27,4 @@ export type RetryRiskScanMutationProps<T extends keyof RetryRiskScanProps> = Omi
|
|
|
27
27
|
/**
|
|
28
28
|
* retries an errored risk scan by its identity
|
|
29
29
|
*/
|
|
30
|
-
export declare function useRetryRiskScanMutation<T extends keyof RetryRiskScanProps>(props: Pick<Partial<RetryRiskScanProps>, T>, options?: Omit<UseMutationOptions<RetryRiskScanResponseContainer, RetryRiskScanErrorResponse, RetryRiskScanMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<RetryRiskScanResponseContainer,
|
|
30
|
+
export declare function useRetryRiskScanMutation<T extends keyof RetryRiskScanProps>(props: Pick<Partial<RetryRiskScanProps>, T>, options?: Omit<UseMutationOptions<RetryRiskScanResponseContainer, RetryRiskScanErrorResponse, RetryRiskScanMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<RetryRiskScanResponseContainer, SharedError, RetryRiskScanMutationProps<T>, unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ModelRunChaosComponentForMachineResponse } from '../schemas/ModelRunChaosComponentForMachineResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import type { ModelRunChaosComponentForMachineRequest } from '../schemas/ModelRunChaosComponentForMachineRequest';
|
|
5
5
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export interface RunChaosComponentForMachineMutationQueryParams {
|
|
@@ -11,7 +11,7 @@ export interface RunChaosComponentForMachineMutationQueryParams {
|
|
|
11
11
|
}
|
|
12
12
|
export type RunChaosComponentForMachineRequestBody = ModelRunChaosComponentForMachineRequest;
|
|
13
13
|
export type RunChaosComponentForMachineOkResponse = ModelRunChaosComponentForMachineResponse;
|
|
14
|
-
export type RunChaosComponentForMachineErrorResponse =
|
|
14
|
+
export type RunChaosComponentForMachineErrorResponse = SharedError;
|
|
15
15
|
export interface RunChaosComponentForMachineProps extends Omit<FetcherOptions<RunChaosComponentForMachineMutationQueryParams, RunChaosComponentForMachineRequestBody>, 'url'> {
|
|
16
16
|
queryParams: RunChaosComponentForMachineMutationQueryParams;
|
|
17
17
|
body: RunChaosComponentForMachineRequestBody;
|
|
@@ -25,4 +25,4 @@ export type RunChaosComponentForMachineMutationProps<T extends keyof RunChaosCom
|
|
|
25
25
|
/**
|
|
26
26
|
* Creates and executes a ChaosComponent on K8s infra for probes/actions that
|
|
27
27
|
*/
|
|
28
|
-
export declare function useRunChaosComponentForMachineMutation<T extends keyof RunChaosComponentForMachineProps>(props: Pick<Partial<RunChaosComponentForMachineProps>, T>, options?: Omit<UseMutationOptions<RunChaosComponentForMachineResponseContainer, RunChaosComponentForMachineErrorResponse, RunChaosComponentForMachineMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<RunChaosComponentForMachineResponseContainer,
|
|
28
|
+
export declare function useRunChaosComponentForMachineMutation<T extends keyof RunChaosComponentForMachineProps>(props: Pick<Partial<RunChaosComponentForMachineProps>, T>, options?: Omit<UseMutationOptions<RunChaosComponentForMachineResponseContainer, RunChaosComponentForMachineErrorResponse, RunChaosComponentForMachineMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<RunChaosComponentForMachineResponseContainer, SharedError, RunChaosComponentForMachineMutationProps<T>, unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ChaoscomponentsRunChaosComponentResponse } from '../schemas/ChaoscomponentsRunChaosComponentResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import type { ChaoscomponentsRunChaosComponentRequest } from '../schemas/ChaoscomponentsRunChaosComponentRequest';
|
|
5
5
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export interface RunChaosComponentMutationQueryParams {
|
|
@@ -15,7 +15,7 @@ export interface RunChaosComponentMutationQueryParams {
|
|
|
15
15
|
}
|
|
16
16
|
export type RunChaosComponentRequestBody = ChaoscomponentsRunChaosComponentRequest;
|
|
17
17
|
export type RunChaosComponentOkResponse = ChaoscomponentsRunChaosComponentResponse;
|
|
18
|
-
export type RunChaosComponentErrorResponse =
|
|
18
|
+
export type RunChaosComponentErrorResponse = SharedError;
|
|
19
19
|
export interface RunChaosComponentProps extends Omit<FetcherOptions<RunChaosComponentMutationQueryParams, RunChaosComponentRequestBody>, 'url'> {
|
|
20
20
|
queryParams: RunChaosComponentMutationQueryParams;
|
|
21
21
|
body: RunChaosComponentRequestBody;
|
|
@@ -29,4 +29,4 @@ export type RunChaosComponentMutationProps<T extends keyof RunChaosComponentProp
|
|
|
29
29
|
/**
|
|
30
30
|
* Runs chaos component (faults, probes, actions)
|
|
31
31
|
*/
|
|
32
|
-
export declare function useRunChaosComponentMutation<T extends keyof RunChaosComponentProps>(props: Pick<Partial<RunChaosComponentProps>, T>, options?: Omit<UseMutationOptions<RunChaosComponentResponseContainer, RunChaosComponentErrorResponse, RunChaosComponentMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<RunChaosComponentResponseContainer,
|
|
32
|
+
export declare function useRunChaosComponentMutation<T extends keyof RunChaosComponentProps>(props: Pick<Partial<RunChaosComponentProps>, T>, options?: Omit<UseMutationOptions<RunChaosComponentResponseContainer, RunChaosComponentErrorResponse, RunChaosComponentMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<RunChaosComponentResponseContainer, SharedError, RunChaosComponentMutationProps<T>, unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ExperimentrunsRunExperimentResponse } from '../schemas/ExperimentrunsRunExperimentResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import type { ExperimentrunsRunBody } from '../schemas/ExperimentrunsRunBody';
|
|
5
5
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export interface RunChaosExperimentV3MutationPathParams {
|
|
@@ -17,7 +17,7 @@ export interface RunChaosExperimentV3MutationQueryParams {
|
|
|
17
17
|
}
|
|
18
18
|
export type RunChaosExperimentV3RequestBody = ExperimentrunsRunBody;
|
|
19
19
|
export type RunChaosExperimentV3OkResponse = ExperimentrunsRunExperimentResponse;
|
|
20
|
-
export type RunChaosExperimentV3ErrorResponse =
|
|
20
|
+
export type RunChaosExperimentV3ErrorResponse = SharedError;
|
|
21
21
|
export interface RunChaosExperimentV3Props extends RunChaosExperimentV3MutationPathParams, Omit<FetcherOptions<RunChaosExperimentV3MutationQueryParams, RunChaosExperimentV3RequestBody>, 'url'> {
|
|
22
22
|
queryParams: RunChaosExperimentV3MutationQueryParams;
|
|
23
23
|
body: RunChaosExperimentV3RequestBody;
|
|
@@ -31,4 +31,4 @@ export type RunChaosExperimentV3MutationProps<T extends keyof RunChaosExperiment
|
|
|
31
31
|
/**
|
|
32
32
|
* Triggers an experiment run on its configured infra. Returns a notify ID and (if not blocked) a delegate task ID.
|
|
33
33
|
*/
|
|
34
|
-
export declare function useRunChaosExperimentV3Mutation<T extends keyof RunChaosExperimentV3Props>(props: Pick<Partial<RunChaosExperimentV3Props>, T>, options?: Omit<UseMutationOptions<RunChaosExperimentV3ResponseContainer, RunChaosExperimentV3ErrorResponse, RunChaosExperimentV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<RunChaosExperimentV3ResponseContainer,
|
|
34
|
+
export declare function useRunChaosExperimentV3Mutation<T extends keyof RunChaosExperimentV3Props>(props: Pick<Partial<RunChaosExperimentV3Props>, T>, options?: Omit<UseMutationOptions<RunChaosExperimentV3ResponseContainer, RunChaosExperimentV3ErrorResponse, RunChaosExperimentV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<RunChaosExperimentV3ResponseContainer, SharedError, RunChaosExperimentV3MutationProps<T>, unknown>;
|