@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.
Files changed (86) hide show
  1. package/dist/chaos-manager/src/services/hooks/useAbortChaosComponentForMachineMutation.d.ts +3 -3
  2. package/dist/chaos-manager/src/services/hooks/useAbortChaosComponentMutation.d.ts +3 -3
  3. package/dist/chaos-manager/src/services/hooks/useAbortRiskScanMutation.d.ts +3 -3
  4. package/dist/chaos-manager/src/services/hooks/useCleanupChaosResourcesV3Mutation.d.ts +3 -3
  5. package/dist/chaos-manager/src/services/hooks/useCreateChaosComponentMutation.d.ts +3 -3
  6. package/dist/chaos-manager/src/services/hooks/useCreateChaosServiceMutation.d.ts +3 -3
  7. package/dist/chaos-manager/src/services/hooks/useCreateConditionMutation.d.ts +3 -3
  8. package/dist/chaos-manager/src/services/hooks/useCreateDrTestMutation.d.ts +3 -3
  9. package/dist/chaos-manager/src/services/hooks/useCreateExperimentV3Mutation.d.ts +3 -3
  10. package/dist/chaos-manager/src/services/hooks/useCreateImageRegistryV3Mutation.d.ts +3 -3
  11. package/dist/chaos-manager/src/services/hooks/useCreateRiskMutation.d.ts +3 -3
  12. package/dist/chaos-manager/src/services/hooks/useCreateRiskScanMutation.d.ts +3 -3
  13. package/dist/chaos-manager/src/services/hooks/useCreateRuleMutation.d.ts +3 -3
  14. package/dist/chaos-manager/src/services/hooks/useDelegateCallbackUpdateMutation.d.ts +3 -3
  15. package/dist/chaos-manager/src/services/hooks/useDeleteChaosServiceMutation.d.ts +3 -3
  16. package/dist/chaos-manager/src/services/hooks/useDeleteConditionMutation.d.ts +3 -3
  17. package/dist/chaos-manager/src/services/hooks/useDeleteDrTestMutation.d.ts +3 -3
  18. package/dist/chaos-manager/src/services/hooks/useDeleteExperimentV3Mutation.d.ts +3 -3
  19. package/dist/chaos-manager/src/services/hooks/useDeleteRiskMutation.d.ts +3 -3
  20. package/dist/chaos-manager/src/services/hooks/useDeleteRiskScanMutation.d.ts +3 -3
  21. package/dist/chaos-manager/src/services/hooks/useDeleteRuleMutation.d.ts +3 -3
  22. package/dist/chaos-manager/src/services/hooks/useEnableRuleMutation.d.ts +2 -3
  23. package/dist/chaos-manager/src/services/hooks/useGetChaosCleanupStatusV3Query.d.ts +3 -3
  24. package/dist/chaos-manager/src/services/hooks/useGetChaosComponentVariableInternalQuery.d.ts +3 -3
  25. package/dist/chaos-manager/src/services/hooks/useGetChaosComponentVariableQuery.d.ts +3 -3
  26. package/dist/chaos-manager/src/services/hooks/useGetChaosExperimentRunV3Query.d.ts +3 -3
  27. package/dist/chaos-manager/src/services/hooks/useGetChaosServiceQuery.d.ts +3 -3
  28. package/dist/chaos-manager/src/services/hooks/useGetCleanupCommandUnitStatusesQuery.d.ts +3 -3
  29. package/dist/chaos-manager/src/services/hooks/useGetCommandUnitStatusesQuery.d.ts +3 -3
  30. package/dist/chaos-manager/src/services/hooks/useGetConditionQuery.d.ts +3 -3
  31. package/dist/chaos-manager/src/services/hooks/useGetDashboardV3Query.d.ts +3 -3
  32. package/dist/chaos-manager/src/services/hooks/useGetExperimentOrTemplateVariableQuery.d.ts +3 -3
  33. package/dist/chaos-manager/src/services/hooks/useGetExperimentV3Query.d.ts +3 -3
  34. package/dist/chaos-manager/src/services/hooks/useGetImageRegistryV3Query.d.ts +3 -3
  35. package/dist/chaos-manager/src/services/hooks/useGetKubeObjectV3Mutation.d.ts +3 -3
  36. package/dist/chaos-manager/src/services/hooks/useGetRiskQuery.d.ts +3 -3
  37. package/dist/chaos-manager/src/services/hooks/useGetRiskRuleQuery.d.ts +3 -3
  38. package/dist/chaos-manager/src/services/hooks/useGetRiskScanHeatmapQuery.d.ts +3 -3
  39. package/dist/chaos-manager/src/services/hooks/useGetRiskScanQuery.d.ts +3 -3
  40. package/dist/chaos-manager/src/services/hooks/useGetRiskScanReportDownloadUrlQuery.d.ts +3 -3
  41. package/dist/chaos-manager/src/services/hooks/useGetRiskScanReportQuery.d.ts +3 -3
  42. package/dist/chaos-manager/src/services/hooks/useGetRuleQuery.d.ts +3 -3
  43. package/dist/chaos-manager/src/services/hooks/useGetScannedRiskQuery.d.ts +3 -3
  44. package/dist/chaos-manager/src/services/hooks/useListActionMetadataQuery.d.ts +3 -3
  45. package/dist/chaos-manager/src/services/hooks/useListChaosComponentQuery.d.ts +3 -3
  46. package/dist/chaos-manager/src/services/hooks/useListChaosExperimentRunsV3Query.d.ts +3 -3
  47. package/dist/chaos-manager/src/services/hooks/useListChaosServiceExecutionsQuery.d.ts +3 -3
  48. package/dist/chaos-manager/src/services/hooks/useListChaosServiceLoadTestsQuery.d.ts +3 -3
  49. package/dist/chaos-manager/src/services/hooks/useListChaosServicesQuery.d.ts +3 -3
  50. package/dist/chaos-manager/src/services/hooks/useListConditionQuery.d.ts +3 -3
  51. package/dist/chaos-manager/src/services/hooks/useListDashboardsV3Query.d.ts +3 -3
  52. package/dist/chaos-manager/src/services/hooks/useListDrTestsQuery.d.ts +3 -3
  53. package/dist/chaos-manager/src/services/hooks/useListExperimentMetadataQuery.d.ts +3 -3
  54. package/dist/chaos-manager/src/services/hooks/useListExperimentOrTemplateQuery.d.ts +3 -3
  55. package/dist/chaos-manager/src/services/hooks/useListExperimentsV3Query.d.ts +3 -3
  56. package/dist/chaos-manager/src/services/hooks/useListFaultMetadataQuery.d.ts +3 -3
  57. package/dist/chaos-manager/src/services/hooks/useListGamedayMetadataQuery.d.ts +3 -3
  58. package/dist/chaos-manager/src/services/hooks/useListHubMetadataQuery.d.ts +3 -3
  59. package/dist/chaos-manager/src/services/hooks/useListProbeExecutionsQuery.d.ts +3 -3
  60. package/dist/chaos-manager/src/services/hooks/useListProbeMetadataQuery.d.ts +3 -3
  61. package/dist/chaos-manager/src/services/hooks/useListRiskRulesQuery.d.ts +3 -3
  62. package/dist/chaos-manager/src/services/hooks/useListRiskScansQuery.d.ts +3 -3
  63. package/dist/chaos-manager/src/services/hooks/useListRisksQuery.d.ts +3 -3
  64. package/dist/chaos-manager/src/services/hooks/useListRuleQuery.d.ts +3 -3
  65. package/dist/chaos-manager/src/services/hooks/useListScannedRiskOccurrencesQuery.d.ts +3 -3
  66. package/dist/chaos-manager/src/services/hooks/useListScannedRisksQuery.d.ts +3 -3
  67. package/dist/chaos-manager/src/services/hooks/useProcessTemplateMutation.d.ts +3 -3
  68. package/dist/chaos-manager/src/services/hooks/useResolveImageRegistryV3Query.d.ts +3 -3
  69. package/dist/chaos-manager/src/services/hooks/useRetryRiskScanMutation.d.ts +3 -3
  70. package/dist/chaos-manager/src/services/hooks/useRunChaosComponentForMachineMutation.d.ts +3 -3
  71. package/dist/chaos-manager/src/services/hooks/useRunChaosComponentMutation.d.ts +3 -3
  72. package/dist/chaos-manager/src/services/hooks/useRunChaosExperimentV3Mutation.d.ts +3 -3
  73. package/dist/chaos-manager/src/services/hooks/useStopChaosExperimentV3Mutation.d.ts +3 -3
  74. package/dist/chaos-manager/src/services/hooks/useStopDrTestMutation.d.ts +3 -3
  75. package/dist/chaos-manager/src/services/hooks/useSummarizeScannedRisksByServiceMutation.d.ts +3 -3
  76. package/dist/chaos-manager/src/services/hooks/useUpdateChaosComponentMutation.d.ts +3 -3
  77. package/dist/chaos-manager/src/services/hooks/useUpdateChaosServiceMutation.d.ts +3 -3
  78. package/dist/chaos-manager/src/services/hooks/useUpdateConditionMutation.d.ts +3 -3
  79. package/dist/chaos-manager/src/services/hooks/useUpdateCronStateV3Mutation.d.ts +3 -3
  80. package/dist/chaos-manager/src/services/hooks/useUpdateDashboardV3Mutation.d.ts +3 -3
  81. package/dist/chaos-manager/src/services/hooks/useUpdateExperimentV3Mutation.d.ts +3 -3
  82. package/dist/chaos-manager/src/services/hooks/useUpdateImageRegistryV3Mutation.d.ts +3 -3
  83. package/dist/chaos-manager/src/services/hooks/useUpdateRiskMutation.d.ts +3 -3
  84. package/dist/chaos-manager/src/services/hooks/useUpdateRiskScanMutation.d.ts +3 -3
  85. package/dist/chaos-manager/src/services/hooks/useUpdateRuleMutation.d.ts +3 -3
  86. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import { UseQueryOptions } from '@tanstack/react-query';
2
2
  import type { ChaosguardconditionsListConditionResponse } from '../schemas/ChaosguardconditionsListConditionResponse';
3
- import type { ApiRestError } from '../schemas/ApiRestError';
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 = ApiRestError;
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, ApiRestError>;
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 { ApiRestError } from '../schemas/ApiRestError';
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 = ApiRestError;
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, ApiRestError>;
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 { ApiRestError } from '../schemas/ApiRestError';
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 = ApiRestError;
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, ApiRestError>;
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 { ApiRestError } from '../schemas/ApiRestError';
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 = ApiRestError;
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, ApiRestError>;
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 { ApiRestError } from '../schemas/ApiRestError';
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 = ApiRestError;
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, ApiRestError>;
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 { ApiRestError } from '../schemas/ApiRestError';
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 = ApiRestError;
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, ApiRestError>;
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 { ApiRestError } from '../schemas/ApiRestError';
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 = ApiRestError;
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, ApiRestError>;
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 { ApiRestError } from '../schemas/ApiRestError';
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 = ApiRestError;
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, ApiRestError>;
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 { ApiRestError } from '../schemas/ApiRestError';
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 = ApiRestError;
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, ApiRestError>;
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 { ApiRestError } from '../schemas/ApiRestError';
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 = ApiRestError;
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, ApiRestError>;
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 { ApiRestError } from '../schemas/ApiRestError';
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 = ApiRestError;
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, ApiRestError>;
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 { ApiRestError } from '../schemas/ApiRestError';
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 = ApiRestError;
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, ApiRestError>;
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 { ApiRestError } from '../schemas/ApiRestError';
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 = ApiRestError;
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, ApiRestError>;
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 { ApiRestError } from '../schemas/ApiRestError';
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 = ApiRestError;
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, ApiRestError>;
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 { ApiRestError } from '../schemas/ApiRestError';
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 = ApiRestError;
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, ApiRestError>;
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 { ApiRestError } from '../schemas/ApiRestError';
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 = ApiRestError;
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, ApiRestError>;
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 { ApiRestError } from '../schemas/ApiRestError';
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 = ApiRestError;
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, ApiRestError>;
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 { ApiRestError } from '../schemas/ApiRestError';
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 = ApiRestError;
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, ApiRestError, ProcessTemplateMutationProps<T>, unknown>;
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 { ApiRestError } from '../schemas/ApiRestError';
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 = ApiRestError;
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, ApiRestError>;
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 { ApiRestError } from '../schemas/ApiRestError';
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 = ApiRestError;
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, ApiRestError, RetryRiskScanMutationProps<T>, unknown>;
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 { ApiRestError } from '../schemas/ApiRestError';
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 = ApiRestError;
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, ApiRestError, RunChaosComponentForMachineMutationProps<T>, unknown>;
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 { ApiRestError } from '../schemas/ApiRestError';
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 = ApiRestError;
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, ApiRestError, RunChaosComponentMutationProps<T>, unknown>;
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 { ApiRestError } from '../schemas/ApiRestError';
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 = ApiRestError;
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, ApiRestError, RunChaosExperimentV3MutationProps<T>, unknown>;
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>;
@@ -1,6 +1,6 @@
1
1
  import { UseMutationOptions } from '@tanstack/react-query';
2
2
  import type { ExperimentrunsStopExperimentResponse } from '../schemas/ExperimentrunsStopExperimentResponse';
3
- import type { ApiRestError } from '../schemas/ApiRestError';
3
+ import type { SharedError } from '../schemas/SharedError';
4
4
  import type { ExperimentrunsStopExperimentBody } from '../schemas/ExperimentrunsStopExperimentBody';
5
5
  import { FetcherOptions } from '../../../../custom-fetcher/index.js';
6
6
  export interface StopChaosExperimentV3MutationPathParams {
@@ -15,7 +15,7 @@ export interface StopChaosExperimentV3MutationQueryParams {
15
15
  }
16
16
  export type StopChaosExperimentV3RequestBody = ExperimentrunsStopExperimentBody;
17
17
  export type StopChaosExperimentV3OkResponse = ExperimentrunsStopExperimentResponse;
18
- export type StopChaosExperimentV3ErrorResponse = ApiRestError;
18
+ export type StopChaosExperimentV3ErrorResponse = SharedError;
19
19
  export interface StopChaosExperimentV3Props extends StopChaosExperimentV3MutationPathParams, Omit<FetcherOptions<StopChaosExperimentV3MutationQueryParams, StopChaosExperimentV3RequestBody>, 'url'> {
20
20
  queryParams: StopChaosExperimentV3MutationQueryParams;
21
21
  body: StopChaosExperimentV3RequestBody;
@@ -29,4 +29,4 @@ export type StopChaosExperimentV3MutationProps<T extends keyof StopChaosExperime
29
29
  /**
30
30
  * Stops a single run (by experimentRunId or notifyId) or every Running run for the experiment when both are empty.
31
31
  */
32
- export declare function useStopChaosExperimentV3Mutation<T extends keyof StopChaosExperimentV3Props>(props: Pick<Partial<StopChaosExperimentV3Props>, T>, options?: Omit<UseMutationOptions<StopChaosExperimentV3ResponseContainer, StopChaosExperimentV3ErrorResponse, StopChaosExperimentV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<StopChaosExperimentV3ResponseContainer, ApiRestError, StopChaosExperimentV3MutationProps<T>, unknown>;
32
+ export declare function useStopChaosExperimentV3Mutation<T extends keyof StopChaosExperimentV3Props>(props: Pick<Partial<StopChaosExperimentV3Props>, T>, options?: Omit<UseMutationOptions<StopChaosExperimentV3ResponseContainer, StopChaosExperimentV3ErrorResponse, StopChaosExperimentV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<StopChaosExperimentV3ResponseContainer, SharedError, StopChaosExperimentV3MutationProps<T>, unknown>;
@@ -1,6 +1,6 @@
1
1
  import { UseMutationOptions } from '@tanstack/react-query';
2
2
  import type { ChaoscomponentsStopDrTestResponse } from '../schemas/ChaoscomponentsStopDrTestResponse';
3
- import type { ApiRestError } from '../schemas/ApiRestError';
3
+ import type { SharedError } from '../schemas/SharedError';
4
4
  import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
5
  export interface StopDrTestMutationPathParams {
6
6
  identity: string;
@@ -14,7 +14,7 @@ export interface StopDrTestMutationQueryParams {
14
14
  projectIdentifier?: string;
15
15
  }
16
16
  export type StopDrTestOkResponse = ChaoscomponentsStopDrTestResponse;
17
- export type StopDrTestErrorResponse = ApiRestError;
17
+ export type StopDrTestErrorResponse = SharedError;
18
18
  export interface StopDrTestProps extends StopDrTestMutationPathParams, Omit<FetcherOptions<StopDrTestMutationQueryParams, unknown>, 'url'> {
19
19
  queryParams: StopDrTestMutationQueryParams;
20
20
  }
@@ -27,4 +27,4 @@ export type StopDrTestMutationProps<T extends keyof StopDrTestProps> = Omit<Stop
27
27
  /**
28
28
  * Stops a running DR test pipeline execution by aborting the pipeline
29
29
  */
30
- export declare function useStopDrTestMutation<T extends keyof StopDrTestProps>(props: Pick<Partial<StopDrTestProps>, T>, options?: Omit<UseMutationOptions<StopDrTestResponseContainer, StopDrTestErrorResponse, StopDrTestMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<StopDrTestResponseContainer, ApiRestError, StopDrTestMutationProps<T>, unknown>;
30
+ export declare function useStopDrTestMutation<T extends keyof StopDrTestProps>(props: Pick<Partial<StopDrTestProps>, T>, options?: Omit<UseMutationOptions<StopDrTestResponseContainer, StopDrTestErrorResponse, StopDrTestMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<StopDrTestResponseContainer, SharedError, StopDrTestMutationProps<T>, unknown>;