@harnessio/react-chaos-manager-client 1.76.0 → 1.76.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chaos-manager/src/services/hooks/useAbortChaosComponentForMachineMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useAbortChaosComponentMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useAbortRiskScanMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useCleanupChaosResourcesV3Mutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useCreateChaosComponentMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useCreateChaosServiceMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useCreateConditionMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useCreateDrTestMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useCreateExperimentV3Mutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useCreateImageRegistryV3Mutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useCreateRiskMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useCreateRiskScanMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useCreateRuleMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useDelegateCallbackUpdateMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useDeleteChaosServiceMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useDeleteConditionMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useDeleteDrTestMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useDeleteExperimentV3Mutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useDeleteRiskMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useDeleteRiskScanMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useDeleteRuleMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useEnableRuleMutation.d.ts +2 -3
- package/dist/chaos-manager/src/services/hooks/useGetChaosCleanupStatusV3Query.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useGetChaosComponentVariableInternalQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useGetChaosComponentVariableQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useGetChaosExperimentRunV3Query.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useGetChaosServiceQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useGetCleanupCommandUnitStatusesQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useGetCommandUnitStatusesQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useGetConditionQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useGetDashboardV3Query.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useGetExperimentOrTemplateVariableQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useGetExperimentV3Query.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useGetImageRegistryV3Query.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useGetKubeObjectV3Mutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useGetRiskQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useGetRiskRuleQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useGetRiskScanHeatmapQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useGetRiskScanQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useGetRiskScanReportDownloadUrlQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useGetRiskScanReportQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useGetRuleQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useGetScannedRiskQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useListActionMetadataQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useListChaosComponentQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useListChaosExperimentRunsV3Query.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useListChaosServiceExecutionsQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useListChaosServiceLoadTestsQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useListChaosServicesQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useListConditionQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useListDashboardsV3Query.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useListDrTestsQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useListExperimentMetadataQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useListExperimentOrTemplateQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useListExperimentsV3Query.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useListFaultMetadataQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useListGamedayMetadataQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useListHubMetadataQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useListProbeExecutionsQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useListProbeMetadataQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useListRiskRulesQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useListRiskScansQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useListRisksQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useListRuleQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useListScannedRiskOccurrencesQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useListScannedRisksQuery.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useProcessTemplateMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useResolveImageRegistryV3Query.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useRetryRiskScanMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useRunChaosComponentForMachineMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useRunChaosComponentMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useRunChaosExperimentV3Mutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useStopChaosExperimentV3Mutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useStopDrTestMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useSummarizeScannedRisksByServiceMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useUpdateChaosComponentMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useUpdateChaosServiceMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useUpdateConditionMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useUpdateCronStateV3Mutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useUpdateDashboardV3Mutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useUpdateExperimentV3Mutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useUpdateImageRegistryV3Mutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useUpdateRiskMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useUpdateRiskScanMutation.d.ts +3 -3
- package/dist/chaos-manager/src/services/hooks/useUpdateRuleMutation.d.ts +3 -3
- package/package.json +1 -1
package/dist/chaos-manager/src/services/hooks/useSummarizeScannedRisksByServiceMutation.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ScannedrisksServiceRiskSummaryResponse } from '../schemas/ScannedrisksServiceRiskSummaryResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import type { ScannedrisksServiceRiskSummaryQuery } from '../schemas/ScannedrisksServiceRiskSummaryQuery';
|
|
5
5
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export interface SummarizeScannedRisksByServiceMutationQueryParams {
|
|
@@ -12,7 +12,7 @@ export interface SummarizeScannedRisksByServiceMutationQueryParams {
|
|
|
12
12
|
}
|
|
13
13
|
export type SummarizeScannedRisksByServiceRequestBody = ScannedrisksServiceRiskSummaryQuery;
|
|
14
14
|
export type SummarizeScannedRisksByServiceOkResponse = ScannedrisksServiceRiskSummaryResponse;
|
|
15
|
-
export type SummarizeScannedRisksByServiceErrorResponse =
|
|
15
|
+
export type SummarizeScannedRisksByServiceErrorResponse = SharedError;
|
|
16
16
|
export interface SummarizeScannedRisksByServiceProps extends Omit<FetcherOptions<SummarizeScannedRisksByServiceMutationQueryParams, SummarizeScannedRisksByServiceRequestBody>, 'url'> {
|
|
17
17
|
queryParams: SummarizeScannedRisksByServiceMutationQueryParams;
|
|
18
18
|
body: SummarizeScannedRisksByServiceRequestBody;
|
|
@@ -26,4 +26,4 @@ export type SummarizeScannedRisksByServiceMutationProps<T extends keyof Summariz
|
|
|
26
26
|
/**
|
|
27
27
|
* Returns aggregated risk counts (total, critical, high, medium, low) per target service.
|
|
28
28
|
*/
|
|
29
|
-
export declare function useSummarizeScannedRisksByServiceMutation<T extends keyof SummarizeScannedRisksByServiceProps>(props: Pick<Partial<SummarizeScannedRisksByServiceProps>, T>, options?: Omit<UseMutationOptions<SummarizeScannedRisksByServiceResponseContainer, SummarizeScannedRisksByServiceErrorResponse, SummarizeScannedRisksByServiceMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<SummarizeScannedRisksByServiceResponseContainer,
|
|
29
|
+
export declare function useSummarizeScannedRisksByServiceMutation<T extends keyof SummarizeScannedRisksByServiceProps>(props: Pick<Partial<SummarizeScannedRisksByServiceProps>, T>, options?: Omit<UseMutationOptions<SummarizeScannedRisksByServiceResponseContainer, SummarizeScannedRisksByServiceErrorResponse, SummarizeScannedRisksByServiceMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<SummarizeScannedRisksByServiceResponseContainer, SharedError, SummarizeScannedRisksByServiceMutationProps<T>, unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { GithubComHarnessHceSaasGraphqlServerApiEmpty } from '../schemas/GithubComHarnessHceSaasGraphqlServerApiEmpty';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import type { ChaoscomponentChaosComponentExecutionNode } from '../schemas/ChaoscomponentChaosComponentExecutionNode';
|
|
5
5
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export interface UpdateChaosComponentMutationPathParams {
|
|
@@ -18,7 +18,7 @@ export interface UpdateChaosComponentMutationQueryParams {
|
|
|
18
18
|
}
|
|
19
19
|
export type UpdateChaosComponentRequestBody = ChaoscomponentChaosComponentExecutionNode;
|
|
20
20
|
export type UpdateChaosComponentOkResponse = GithubComHarnessHceSaasGraphqlServerApiEmpty;
|
|
21
|
-
export type UpdateChaosComponentErrorResponse =
|
|
21
|
+
export type UpdateChaosComponentErrorResponse = SharedError;
|
|
22
22
|
export interface UpdateChaosComponentProps extends UpdateChaosComponentMutationPathParams, Omit<FetcherOptions<UpdateChaosComponentMutationQueryParams, UpdateChaosComponentRequestBody>, 'url'> {
|
|
23
23
|
queryParams: UpdateChaosComponentMutationQueryParams;
|
|
24
24
|
body: UpdateChaosComponentRequestBody;
|
|
@@ -32,4 +32,4 @@ export type UpdateChaosComponentMutationProps<T extends keyof UpdateChaosCompone
|
|
|
32
32
|
/**
|
|
33
33
|
* Updates the chaos component node
|
|
34
34
|
*/
|
|
35
|
-
export declare function useUpdateChaosComponentMutation<T extends keyof UpdateChaosComponentProps>(props: Pick<Partial<UpdateChaosComponentProps>, T>, options?: Omit<UseMutationOptions<UpdateChaosComponentResponseContainer, UpdateChaosComponentErrorResponse, UpdateChaosComponentMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateChaosComponentResponseContainer,
|
|
35
|
+
export declare function useUpdateChaosComponentMutation<T extends keyof UpdateChaosComponentProps>(props: Pick<Partial<UpdateChaosComponentProps>, T>, options?: Omit<UseMutationOptions<UpdateChaosComponentResponseContainer, UpdateChaosComponentErrorResponse, UpdateChaosComponentMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateChaosComponentResponseContainer, SharedError, UpdateChaosComponentMutationProps<T>, unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ChaosservicesChaosServiceResponse } from '../schemas/ChaosservicesChaosServiceResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import type { ChaosservicesUpdateRequest } from '../schemas/ChaosservicesUpdateRequest';
|
|
5
5
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export interface UpdateChaosServiceMutationPathParams {
|
|
@@ -16,7 +16,7 @@ export interface UpdateChaosServiceMutationQueryParams {
|
|
|
16
16
|
}
|
|
17
17
|
export type UpdateChaosServiceRequestBody = ChaosservicesUpdateRequest;
|
|
18
18
|
export type UpdateChaosServiceOkResponse = ChaosservicesChaosServiceResponse;
|
|
19
|
-
export type UpdateChaosServiceErrorResponse =
|
|
19
|
+
export type UpdateChaosServiceErrorResponse = SharedError;
|
|
20
20
|
export interface UpdateChaosServiceProps extends UpdateChaosServiceMutationPathParams, Omit<FetcherOptions<UpdateChaosServiceMutationQueryParams, UpdateChaosServiceRequestBody>, 'url'> {
|
|
21
21
|
queryParams: UpdateChaosServiceMutationQueryParams;
|
|
22
22
|
body: UpdateChaosServiceRequestBody;
|
|
@@ -30,4 +30,4 @@ export type UpdateChaosServiceMutationProps<T extends keyof UpdateChaosServicePr
|
|
|
30
30
|
/**
|
|
31
31
|
* updates a chaos service
|
|
32
32
|
*/
|
|
33
|
-
export declare function useUpdateChaosServiceMutation<T extends keyof UpdateChaosServiceProps>(props: Pick<Partial<UpdateChaosServiceProps>, T>, options?: Omit<UseMutationOptions<UpdateChaosServiceResponseContainer, UpdateChaosServiceErrorResponse, UpdateChaosServiceMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateChaosServiceResponseContainer,
|
|
33
|
+
export declare function useUpdateChaosServiceMutation<T extends keyof UpdateChaosServiceProps>(props: Pick<Partial<UpdateChaosServiceProps>, T>, options?: Omit<UseMutationOptions<UpdateChaosServiceResponseContainer, UpdateChaosServiceErrorResponse, UpdateChaosServiceMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateChaosServiceResponseContainer, SharedError, UpdateChaosServiceMutationProps<T>, unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ChaosguardconditionsUpdateConditionResponse } from '../schemas/ChaosguardconditionsUpdateConditionResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import type { SecurityGovernanceCondition } from '../schemas/SecurityGovernanceCondition';
|
|
5
5
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export interface UpdateConditionMutationPathParams {
|
|
@@ -15,7 +15,7 @@ export interface UpdateConditionMutationQueryParams {
|
|
|
15
15
|
}
|
|
16
16
|
export type UpdateConditionRequestBody = SecurityGovernanceCondition;
|
|
17
17
|
export type UpdateConditionOkResponse = ChaosguardconditionsUpdateConditionResponse;
|
|
18
|
-
export type UpdateConditionErrorResponse =
|
|
18
|
+
export type UpdateConditionErrorResponse = SharedError;
|
|
19
19
|
export interface UpdateConditionProps extends UpdateConditionMutationPathParams, Omit<FetcherOptions<UpdateConditionMutationQueryParams, UpdateConditionRequestBody>, 'url'> {
|
|
20
20
|
queryParams: UpdateConditionMutationQueryParams;
|
|
21
21
|
body: UpdateConditionRequestBody;
|
|
@@ -29,4 +29,4 @@ export type UpdateConditionMutationProps<T extends keyof UpdateConditionProps> =
|
|
|
29
29
|
/**
|
|
30
30
|
* Updates a chaos guard condition
|
|
31
31
|
*/
|
|
32
|
-
export declare function useUpdateConditionMutation<T extends keyof UpdateConditionProps>(props: Pick<Partial<UpdateConditionProps>, T>, options?: Omit<UseMutationOptions<UpdateConditionResponseContainer, UpdateConditionErrorResponse, UpdateConditionMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateConditionResponseContainer,
|
|
32
|
+
export declare function useUpdateConditionMutation<T extends keyof UpdateConditionProps>(props: Pick<Partial<UpdateConditionProps>, T>, options?: Omit<UseMutationOptions<UpdateConditionResponseContainer, UpdateConditionErrorResponse, UpdateConditionMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateConditionResponseContainer, SharedError, UpdateConditionMutationProps<T>, unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ExperimentsUpdateCronStateResponse } from '../schemas/ExperimentsUpdateCronStateResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import type { ExperimentsUpdateCronStateRequest } from '../schemas/ExperimentsUpdateCronStateRequest';
|
|
5
5
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export interface UpdateCronStateV3MutationQueryParams {
|
|
@@ -13,7 +13,7 @@ export interface UpdateCronStateV3MutationQueryParams {
|
|
|
13
13
|
}
|
|
14
14
|
export type UpdateCronStateV3RequestBody = ExperimentsUpdateCronStateRequest;
|
|
15
15
|
export type UpdateCronStateV3OkResponse = ExperimentsUpdateCronStateResponse;
|
|
16
|
-
export type UpdateCronStateV3ErrorResponse =
|
|
16
|
+
export type UpdateCronStateV3ErrorResponse = SharedError;
|
|
17
17
|
export interface UpdateCronStateV3Props extends Omit<FetcherOptions<UpdateCronStateV3MutationQueryParams, UpdateCronStateV3RequestBody>, 'url'> {
|
|
18
18
|
queryParams: UpdateCronStateV3MutationQueryParams;
|
|
19
19
|
body: UpdateCronStateV3RequestBody;
|
|
@@ -27,4 +27,4 @@ export type UpdateCronStateV3MutationProps<T extends keyof UpdateCronStateV3Prop
|
|
|
27
27
|
/**
|
|
28
28
|
* Bulk enable, disable, or update cron schedules for up to 20 experiments
|
|
29
29
|
*/
|
|
30
|
-
export declare function useUpdateCronStateV3Mutation<T extends keyof UpdateCronStateV3Props>(props: Pick<Partial<UpdateCronStateV3Props>, T>, options?: Omit<UseMutationOptions<UpdateCronStateV3ResponseContainer, UpdateCronStateV3ErrorResponse, UpdateCronStateV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateCronStateV3ResponseContainer,
|
|
30
|
+
export declare function useUpdateCronStateV3Mutation<T extends keyof UpdateCronStateV3Props>(props: Pick<Partial<UpdateCronStateV3Props>, T>, options?: Omit<UseMutationOptions<UpdateCronStateV3ResponseContainer, UpdateCronStateV3ErrorResponse, UpdateCronStateV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateCronStateV3ResponseContainer, SharedError, UpdateCronStateV3MutationProps<T>, unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { DashboardDashboardResponse } from '../schemas/DashboardDashboardResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import type { DashboardUpdateRequest } from '../schemas/DashboardUpdateRequest';
|
|
5
5
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export interface UpdateDashboardV3MutationPathParams {
|
|
@@ -16,7 +16,7 @@ export interface UpdateDashboardV3MutationQueryParams {
|
|
|
16
16
|
}
|
|
17
17
|
export type UpdateDashboardV3RequestBody = DashboardUpdateRequest;
|
|
18
18
|
export type UpdateDashboardV3OkResponse = DashboardDashboardResponse;
|
|
19
|
-
export type UpdateDashboardV3ErrorResponse =
|
|
19
|
+
export type UpdateDashboardV3ErrorResponse = SharedError;
|
|
20
20
|
export interface UpdateDashboardV3Props extends UpdateDashboardV3MutationPathParams, Omit<FetcherOptions<UpdateDashboardV3MutationQueryParams, UpdateDashboardV3RequestBody>, 'url'> {
|
|
21
21
|
queryParams: UpdateDashboardV3MutationQueryParams;
|
|
22
22
|
body: UpdateDashboardV3RequestBody;
|
|
@@ -30,4 +30,4 @@ export type UpdateDashboardV3MutationProps<T extends keyof UpdateDashboardV3Prop
|
|
|
30
30
|
/**
|
|
31
31
|
* updates the tags and favourite flag of a dashboard for the given project
|
|
32
32
|
*/
|
|
33
|
-
export declare function useUpdateDashboardV3Mutation<T extends keyof UpdateDashboardV3Props>(props: Pick<Partial<UpdateDashboardV3Props>, T>, options?: Omit<UseMutationOptions<UpdateDashboardV3ResponseContainer, UpdateDashboardV3ErrorResponse, UpdateDashboardV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateDashboardV3ResponseContainer,
|
|
33
|
+
export declare function useUpdateDashboardV3Mutation<T extends keyof UpdateDashboardV3Props>(props: Pick<Partial<UpdateDashboardV3Props>, T>, options?: Omit<UseMutationOptions<UpdateDashboardV3ResponseContainer, UpdateDashboardV3ErrorResponse, UpdateDashboardV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateDashboardV3ResponseContainer, SharedError, UpdateDashboardV3MutationProps<T>, unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ExperimentsUpdateResponse } from '../schemas/ExperimentsUpdateResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import type { ExperimentsUpdateRequest } from '../schemas/ExperimentsUpdateRequest';
|
|
5
5
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export interface UpdateExperimentV3MutationPathParams {
|
|
@@ -16,7 +16,7 @@ export interface UpdateExperimentV3MutationQueryParams {
|
|
|
16
16
|
}
|
|
17
17
|
export type UpdateExperimentV3RequestBody = ExperimentsUpdateRequest;
|
|
18
18
|
export type UpdateExperimentV3OkResponse = ExperimentsUpdateResponse;
|
|
19
|
-
export type UpdateExperimentV3ErrorResponse =
|
|
19
|
+
export type UpdateExperimentV3ErrorResponse = SharedError;
|
|
20
20
|
export interface UpdateExperimentV3Props extends UpdateExperimentV3MutationPathParams, Omit<FetcherOptions<UpdateExperimentV3MutationQueryParams, UpdateExperimentV3RequestBody>, 'url'> {
|
|
21
21
|
queryParams: UpdateExperimentV3MutationQueryParams;
|
|
22
22
|
body: UpdateExperimentV3RequestBody;
|
|
@@ -30,4 +30,4 @@ export type UpdateExperimentV3MutationProps<T extends keyof UpdateExperimentV3Pr
|
|
|
30
30
|
/**
|
|
31
31
|
* Update a chaos experiment by identity
|
|
32
32
|
*/
|
|
33
|
-
export declare function useUpdateExperimentV3Mutation<T extends keyof UpdateExperimentV3Props>(props: Pick<Partial<UpdateExperimentV3Props>, T>, options?: Omit<UseMutationOptions<UpdateExperimentV3ResponseContainer, UpdateExperimentV3ErrorResponse, UpdateExperimentV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateExperimentV3ResponseContainer,
|
|
33
|
+
export declare function useUpdateExperimentV3Mutation<T extends keyof UpdateExperimentV3Props>(props: Pick<Partial<UpdateExperimentV3Props>, T>, options?: Omit<UseMutationOptions<UpdateExperimentV3ResponseContainer, UpdateExperimentV3ErrorResponse, UpdateExperimentV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateExperimentV3ResponseContainer, SharedError, UpdateExperimentV3MutationProps<T>, unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ImageregistriesImageRegistryResponse } from '../schemas/ImageregistriesImageRegistryResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import type { ImageregistriesUpdateRequest } from '../schemas/ImageregistriesUpdateRequest';
|
|
5
5
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export interface UpdateImageRegistryV3MutationQueryParams {
|
|
@@ -14,7 +14,7 @@ export interface UpdateImageRegistryV3MutationQueryParams {
|
|
|
14
14
|
}
|
|
15
15
|
export type UpdateImageRegistryV3RequestBody = ImageregistriesUpdateRequest;
|
|
16
16
|
export type UpdateImageRegistryV3OkResponse = ImageregistriesImageRegistryResponse;
|
|
17
|
-
export type UpdateImageRegistryV3ErrorResponse =
|
|
17
|
+
export type UpdateImageRegistryV3ErrorResponse = SharedError;
|
|
18
18
|
export interface UpdateImageRegistryV3Props extends Omit<FetcherOptions<UpdateImageRegistryV3MutationQueryParams, UpdateImageRegistryV3RequestBody>, 'url'> {
|
|
19
19
|
queryParams: UpdateImageRegistryV3MutationQueryParams;
|
|
20
20
|
body: UpdateImageRegistryV3RequestBody;
|
|
@@ -28,4 +28,4 @@ export type UpdateImageRegistryV3MutationProps<T extends keyof UpdateImageRegist
|
|
|
28
28
|
/**
|
|
29
29
|
* updates an image registry for the given scope
|
|
30
30
|
*/
|
|
31
|
-
export declare function useUpdateImageRegistryV3Mutation<T extends keyof UpdateImageRegistryV3Props>(props: Pick<Partial<UpdateImageRegistryV3Props>, T>, options?: Omit<UseMutationOptions<UpdateImageRegistryV3ResponseContainer, UpdateImageRegistryV3ErrorResponse, UpdateImageRegistryV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateImageRegistryV3ResponseContainer,
|
|
31
|
+
export declare function useUpdateImageRegistryV3Mutation<T extends keyof UpdateImageRegistryV3Props>(props: Pick<Partial<UpdateImageRegistryV3Props>, T>, options?: Omit<UseMutationOptions<UpdateImageRegistryV3ResponseContainer, UpdateImageRegistryV3ErrorResponse, UpdateImageRegistryV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateImageRegistryV3ResponseContainer, SharedError, UpdateImageRegistryV3MutationProps<T>, unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { RisksRisk } from '../schemas/RisksRisk';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import type { RisksUpdateRequest } from '../schemas/RisksUpdateRequest';
|
|
5
5
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export interface UpdateRiskMutationPathParams {
|
|
@@ -16,7 +16,7 @@ export interface UpdateRiskMutationQueryParams {
|
|
|
16
16
|
}
|
|
17
17
|
export type UpdateRiskRequestBody = RisksUpdateRequest;
|
|
18
18
|
export type UpdateRiskOkResponse = RisksRisk;
|
|
19
|
-
export type UpdateRiskErrorResponse =
|
|
19
|
+
export type UpdateRiskErrorResponse = SharedError;
|
|
20
20
|
export interface UpdateRiskProps extends UpdateRiskMutationPathParams, Omit<FetcherOptions<UpdateRiskMutationQueryParams, UpdateRiskRequestBody>, 'url'> {
|
|
21
21
|
queryParams: UpdateRiskMutationQueryParams;
|
|
22
22
|
body: UpdateRiskRequestBody;
|
|
@@ -30,4 +30,4 @@ export type UpdateRiskMutationProps<T extends keyof UpdateRiskProps> = Omit<Upda
|
|
|
30
30
|
/**
|
|
31
31
|
* Updates a risk
|
|
32
32
|
*/
|
|
33
|
-
export declare function useUpdateRiskMutation<T extends keyof UpdateRiskProps>(props: Pick<Partial<UpdateRiskProps>, T>, options?: Omit<UseMutationOptions<UpdateRiskResponseContainer, UpdateRiskErrorResponse, UpdateRiskMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateRiskResponseContainer,
|
|
33
|
+
export declare function useUpdateRiskMutation<T extends keyof UpdateRiskProps>(props: Pick<Partial<UpdateRiskProps>, T>, options?: Omit<UseMutationOptions<UpdateRiskResponseContainer, UpdateRiskErrorResponse, UpdateRiskMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateRiskResponseContainer, SharedError, UpdateRiskMutationProps<T>, unknown>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
-
import type {
|
|
2
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
3
3
|
import type { RiskscansUpdateRequest } from '../schemas/RiskscansUpdateRequest';
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface UpdateRiskScanMutationPathParams {
|
|
@@ -16,7 +16,7 @@ export type UpdateRiskScanRequestBody = RiskscansUpdateRequest;
|
|
|
16
16
|
export type UpdateRiskScanOkResponse = {
|
|
17
17
|
[key: string]: string;
|
|
18
18
|
};
|
|
19
|
-
export type UpdateRiskScanErrorResponse =
|
|
19
|
+
export type UpdateRiskScanErrorResponse = SharedError;
|
|
20
20
|
export interface UpdateRiskScanProps extends UpdateRiskScanMutationPathParams, Omit<FetcherOptions<UpdateRiskScanMutationQueryParams, UpdateRiskScanRequestBody>, 'url'> {
|
|
21
21
|
queryParams: UpdateRiskScanMutationQueryParams;
|
|
22
22
|
body: UpdateRiskScanRequestBody;
|
|
@@ -30,4 +30,4 @@ export type UpdateRiskScanMutationProps<T extends keyof UpdateRiskScanProps> = O
|
|
|
30
30
|
/**
|
|
31
31
|
* updates an existing risk scan's metadata
|
|
32
32
|
*/
|
|
33
|
-
export declare function useUpdateRiskScanMutation<T extends keyof UpdateRiskScanProps>(props: Pick<Partial<UpdateRiskScanProps>, T>, options?: Omit<UseMutationOptions<UpdateRiskScanResponseContainer, UpdateRiskScanErrorResponse, UpdateRiskScanMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateRiskScanResponseContainer,
|
|
33
|
+
export declare function useUpdateRiskScanMutation<T extends keyof UpdateRiskScanProps>(props: Pick<Partial<UpdateRiskScanProps>, T>, options?: Omit<UseMutationOptions<UpdateRiskScanResponseContainer, UpdateRiskScanErrorResponse, UpdateRiskScanMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateRiskScanResponseContainer, SharedError, UpdateRiskScanMutationProps<T>, unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ChaosguardrulesUpdateRuleResponse } from '../schemas/ChaosguardrulesUpdateRuleResponse';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SharedError } from '../schemas/SharedError';
|
|
4
4
|
import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbSecurityGovernanceRule } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbSecurityGovernanceRule';
|
|
5
5
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export interface UpdateRuleMutationPathParams {
|
|
@@ -15,7 +15,7 @@ export interface UpdateRuleMutationQueryParams {
|
|
|
15
15
|
}
|
|
16
16
|
export type UpdateRuleRequestBody = GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbSecurityGovernanceRule;
|
|
17
17
|
export type UpdateRuleOkResponse = ChaosguardrulesUpdateRuleResponse;
|
|
18
|
-
export type UpdateRuleErrorResponse =
|
|
18
|
+
export type UpdateRuleErrorResponse = SharedError;
|
|
19
19
|
export interface UpdateRuleProps extends UpdateRuleMutationPathParams, Omit<FetcherOptions<UpdateRuleMutationQueryParams, UpdateRuleRequestBody>, 'url'> {
|
|
20
20
|
queryParams: UpdateRuleMutationQueryParams;
|
|
21
21
|
body: UpdateRuleRequestBody;
|
|
@@ -29,4 +29,4 @@ export type UpdateRuleMutationProps<T extends keyof UpdateRuleProps> = Omit<Upda
|
|
|
29
29
|
/**
|
|
30
30
|
* Updates a chaos guard rule
|
|
31
31
|
*/
|
|
32
|
-
export declare function useUpdateRuleMutation<T extends keyof UpdateRuleProps>(props: Pick<Partial<UpdateRuleProps>, T>, options?: Omit<UseMutationOptions<UpdateRuleResponseContainer, UpdateRuleErrorResponse, UpdateRuleMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateRuleResponseContainer,
|
|
32
|
+
export declare function useUpdateRuleMutation<T extends keyof UpdateRuleProps>(props: Pick<Partial<UpdateRuleProps>, T>, options?: Omit<UseMutationOptions<UpdateRuleResponseContainer, UpdateRuleErrorResponse, UpdateRuleMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateRuleResponseContainer, SharedError, UpdateRuleMutationProps<T>, unknown>;
|
package/package.json
CHANGED