@harnessio/react-chaos-manager-client 0.2.0 → 0.3.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/useAddNoteMutation.d.ts +9 -5
- package/dist/chaos-manager/src/services/hooks/useAddNoteMutation.js +3 -3
- package/dist/chaos-manager/src/services/hooks/useBulkExperimentDeleteMutation.d.ts +9 -5
- package/dist/chaos-manager/src/services/hooks/useBulkExperimentDeleteMutation.js +3 -3
- package/dist/chaos-manager/src/services/hooks/useBulkExperimentTagAddMutation.d.ts +9 -5
- package/dist/chaos-manager/src/services/hooks/useBulkExperimentTagAddMutation.js +3 -3
- package/dist/chaos-manager/src/services/hooks/useCanRetryExperimentCreationQuery.d.ts +8 -5
- package/dist/chaos-manager/src/services/hooks/useCanRetryExperimentCreationQuery.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useCreateChaosExperimentPipelineMutation.d.ts +9 -5
- package/dist/chaos-manager/src/services/hooks/useCreateChaosExperimentPipelineMutation.js +3 -3
- package/dist/chaos-manager/src/services/hooks/useCreateGamedayRunV2Mutation.d.ts +9 -5
- package/dist/chaos-manager/src/services/hooks/useCreateGamedayRunV2Mutation.js +3 -3
- package/dist/chaos-manager/src/services/hooks/useCreateGamedayV2Mutation.d.ts +9 -5
- package/dist/chaos-manager/src/services/hooks/useCreateGamedayV2Mutation.js +3 -3
- package/dist/chaos-manager/src/services/hooks/useCreateInputSetMutation.d.ts +9 -5
- package/dist/chaos-manager/src/services/hooks/useCreateInputSetMutation.js +3 -3
- package/dist/chaos-manager/src/services/hooks/useCreateV2OnboardingMutation.d.ts +9 -5
- package/dist/chaos-manager/src/services/hooks/useCreateV2OnboardingMutation.js +3 -3
- package/dist/chaos-manager/src/services/hooks/useDeleteChaosV2ExperimentMutation.d.ts +9 -5
- package/dist/chaos-manager/src/services/hooks/useDeleteChaosV2ExperimentMutation.js +3 -3
- package/dist/chaos-manager/src/services/hooks/useDeleteGamedayV2Mutation.d.ts +9 -5
- package/dist/chaos-manager/src/services/hooks/useDeleteGamedayV2Mutation.js +3 -3
- package/dist/chaos-manager/src/services/hooks/useDeleteInfraV2Mutation.d.ts +9 -5
- package/dist/chaos-manager/src/services/hooks/useDeleteInfraV2Mutation.js +3 -3
- package/dist/chaos-manager/src/services/hooks/useDeleteInputSetMutation.d.ts +9 -5
- package/dist/chaos-manager/src/services/hooks/useDeleteInputSetMutation.js +3 -3
- package/dist/chaos-manager/src/services/hooks/useDeleteTargetNetworkMapMutation.d.ts +9 -5
- package/dist/chaos-manager/src/services/hooks/useDeleteTargetNetworkMapMutation.js +3 -3
- package/dist/chaos-manager/src/services/hooks/useGetAccountServiceDetailsQuery.d.ts +8 -5
- package/dist/chaos-manager/src/services/hooks/useGetAccountServiceDetailsQuery.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useGetAccountServiceUsageStatsQuery.d.ts +8 -5
- package/dist/chaos-manager/src/services/hooks/useGetAccountServiceUsageStatsQuery.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useGetChaosDashboardQuery.d.ts +8 -5
- package/dist/chaos-manager/src/services/hooks/useGetChaosDashboardQuery.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useGetChaosExperimentRunReportQuery.d.ts +8 -5
- package/dist/chaos-manager/src/services/hooks/useGetChaosExperimentRunReportQuery.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useGetChaosV2ExperimentQuery.d.ts +8 -5
- package/dist/chaos-manager/src/services/hooks/useGetChaosV2ExperimentQuery.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useGetChaosV2ExperimentRunQuery.d.ts +8 -5
- package/dist/chaos-manager/src/services/hooks/useGetChaosV2ExperimentRunQuery.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useGetChaosV2ExperimentVariablesQuery.d.ts +8 -5
- package/dist/chaos-manager/src/services/hooks/useGetChaosV2ExperimentVariablesQuery.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useGetConnectorForInfraQuery.d.ts +8 -5
- package/dist/chaos-manager/src/services/hooks/useGetConnectorForInfraQuery.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useGetExperimentHelperImageVersionQuery.d.ts +8 -5
- package/dist/chaos-manager/src/services/hooks/useGetExperimentHelperImageVersionQuery.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useGetExperimentRunsOverviewStatsQuery.d.ts +8 -5
- package/dist/chaos-manager/src/services/hooks/useGetExperimentRunsOverviewStatsQuery.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useGetFaultTemplateQuery.d.ts +8 -5
- package/dist/chaos-manager/src/services/hooks/useGetFaultTemplateQuery.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useGetFaultTemplateRevisionDifferenceQuery.d.ts +8 -5
- package/dist/chaos-manager/src/services/hooks/useGetFaultTemplateRevisionDifferenceQuery.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useGetGamedayRunV2Query.d.ts +8 -5
- package/dist/chaos-manager/src/services/hooks/useGetGamedayRunV2Query.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useGetGamedayV2Query.d.ts +8 -5
- package/dist/chaos-manager/src/services/hooks/useGetGamedayV2Query.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useGetImageRegistryQuery.d.ts +8 -5
- package/dist/chaos-manager/src/services/hooks/useGetImageRegistryQuery.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useGetInfraV2Query.d.ts +8 -5
- package/dist/chaos-manager/src/services/hooks/useGetInfraV2Query.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useGetInputSetQuery.d.ts +8 -5
- package/dist/chaos-manager/src/services/hooks/useGetInputSetQuery.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useGetNoteQuery.d.ts +8 -5
- package/dist/chaos-manager/src/services/hooks/useGetNoteQuery.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useGetOnboardingExperimentsQuery.d.ts +8 -5
- package/dist/chaos-manager/src/services/hooks/useGetOnboardingExperimentsQuery.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useGetOverallServiceUsageStatsQuery.d.ts +8 -5
- package/dist/chaos-manager/src/services/hooks/useGetOverallServiceUsageStatsQuery.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useGetResourceUsageQuery.d.ts +8 -5
- package/dist/chaos-manager/src/services/hooks/useGetResourceUsageQuery.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useGetServiceResponseQuery.d.ts +8 -5
- package/dist/chaos-manager/src/services/hooks/useGetServiceResponseQuery.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useGetServiceUsageReportQuery.d.ts +8 -5
- package/dist/chaos-manager/src/services/hooks/useGetServiceUsageReportQuery.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useGetSgpTemplateByGenAiMutation.d.ts +9 -5
- package/dist/chaos-manager/src/services/hooks/useGetSgpTemplateByGenAiMutation.js +3 -3
- package/dist/chaos-manager/src/services/hooks/useGetTargetNetworkMapQuery.d.ts +8 -5
- package/dist/chaos-manager/src/services/hooks/useGetTargetNetworkMapQuery.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useGetV2InfrastructureYamlMutation.d.ts +9 -5
- package/dist/chaos-manager/src/services/hooks/useGetV2InfrastructureYamlMutation.js +3 -3
- package/dist/chaos-manager/src/services/hooks/useGetV2OnboardingQuery.d.ts +8 -5
- package/dist/chaos-manager/src/services/hooks/useGetV2OnboardingQuery.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useListChaosEnabledInfraV2Query.d.ts +8 -5
- package/dist/chaos-manager/src/services/hooks/useListChaosEnabledInfraV2Query.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useListChaosV2ExperimentQuery.d.ts +8 -5
- package/dist/chaos-manager/src/services/hooks/useListChaosV2ExperimentQuery.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useListExperimentsWithActiveInfrasMinimalNotificationQuery.d.ts +8 -5
- package/dist/chaos-manager/src/services/hooks/useListExperimentsWithActiveInfrasMinimalNotificationQuery.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useListFaultTemplateQuery.d.ts +8 -5
- package/dist/chaos-manager/src/services/hooks/useListFaultTemplateQuery.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useListFaultTemplateRevisionsQuery.d.ts +8 -5
- package/dist/chaos-manager/src/services/hooks/useListFaultTemplateRevisionsQuery.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useListGamedayRunV2Query.d.ts +8 -5
- package/dist/chaos-manager/src/services/hooks/useListGamedayRunV2Query.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useListGamedayV2Query.d.ts +8 -5
- package/dist/chaos-manager/src/services/hooks/useListGamedayV2Query.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useListHarnessInfraQuery.d.ts +8 -5
- package/dist/chaos-manager/src/services/hooks/useListHarnessInfraQuery.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useListInfraV2Query.d.ts +8 -5
- package/dist/chaos-manager/src/services/hooks/useListInfraV2Query.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useListInputSetQuery.d.ts +8 -5
- package/dist/chaos-manager/src/services/hooks/useListInputSetQuery.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useListK8sInfrasV2Mutation.d.ts +9 -5
- package/dist/chaos-manager/src/services/hooks/useListK8sInfrasV2Mutation.js +3 -3
- package/dist/chaos-manager/src/services/hooks/useListServiceQuery.d.ts +8 -5
- package/dist/chaos-manager/src/services/hooks/useListServiceQuery.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useListTargetNetworkMapsQuery.d.ts +8 -5
- package/dist/chaos-manager/src/services/hooks/useListTargetNetworkMapsQuery.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useListV2OnboardingQuery.d.ts +8 -5
- package/dist/chaos-manager/src/services/hooks/useListV2OnboardingQuery.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useListVariablesInFaultTemplateQuery.d.ts +8 -5
- package/dist/chaos-manager/src/services/hooks/useListVariablesInFaultTemplateQuery.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useOnboardingConfirmDiscoveryMutation.d.ts +9 -5
- package/dist/chaos-manager/src/services/hooks/useOnboardingConfirmDiscoveryMutation.js +3 -3
- package/dist/chaos-manager/src/services/hooks/useOnboardingConfirmExperimentCreationMutation.d.ts +9 -5
- package/dist/chaos-manager/src/services/hooks/useOnboardingConfirmExperimentCreationMutation.js +3 -3
- package/dist/chaos-manager/src/services/hooks/useOnboardingConfirmExperimentRunMutation.d.ts +9 -5
- package/dist/chaos-manager/src/services/hooks/useOnboardingConfirmExperimentRunMutation.js +3 -3
- package/dist/chaos-manager/src/services/hooks/useOnboardingConfirmNetworkMapMutation.d.ts +9 -5
- package/dist/chaos-manager/src/services/hooks/useOnboardingConfirmNetworkMapMutation.js +3 -3
- package/dist/chaos-manager/src/services/hooks/useRegisterInfraV2Mutation.d.ts +9 -5
- package/dist/chaos-manager/src/services/hooks/useRegisterInfraV2Mutation.js +3 -3
- package/dist/chaos-manager/src/services/hooks/useRetryExperimentCreationMutation.d.ts +9 -5
- package/dist/chaos-manager/src/services/hooks/useRetryExperimentCreationMutation.js +3 -3
- package/dist/chaos-manager/src/services/hooks/useRunChaosV2ExperimentMutation.d.ts +9 -5
- package/dist/chaos-manager/src/services/hooks/useRunChaosV2ExperimentMutation.js +3 -3
- package/dist/chaos-manager/src/services/hooks/useSaveChaosV2ExperimentMutation.d.ts +9 -5
- package/dist/chaos-manager/src/services/hooks/useSaveChaosV2ExperimentMutation.js +3 -3
- package/dist/chaos-manager/src/services/hooks/useStopChaosV2ExperimentMutation.d.ts +9 -5
- package/dist/chaos-manager/src/services/hooks/useStopChaosV2ExperimentMutation.js +3 -3
- package/dist/chaos-manager/src/services/hooks/useStopOnboardingExperimentsMutation.d.ts +9 -5
- package/dist/chaos-manager/src/services/hooks/useStopOnboardingExperimentsMutation.js +3 -3
- package/dist/chaos-manager/src/services/hooks/useUpdateChaosV2CronExperimentMutation.d.ts +9 -5
- package/dist/chaos-manager/src/services/hooks/useUpdateChaosV2CronExperimentMutation.js +3 -3
- package/dist/chaos-manager/src/services/hooks/useUpdateGamedayRunPrerequisitesV2Mutation.d.ts +9 -5
- package/dist/chaos-manager/src/services/hooks/useUpdateGamedayRunPrerequisitesV2Mutation.js +3 -3
- package/dist/chaos-manager/src/services/hooks/useUpdateGamedayRunStakeHolderActionsV2Mutation.d.ts +9 -5
- package/dist/chaos-manager/src/services/hooks/useUpdateGamedayRunStakeHolderActionsV2Mutation.js +3 -3
- package/dist/chaos-manager/src/services/hooks/useUpdateGamedayRunV2Mutation.d.ts +9 -5
- package/dist/chaos-manager/src/services/hooks/useUpdateGamedayRunV2Mutation.js +3 -3
- package/dist/chaos-manager/src/services/hooks/useUpdateGamedayV2Mutation.d.ts +9 -5
- package/dist/chaos-manager/src/services/hooks/useUpdateGamedayV2Mutation.js +3 -3
- package/dist/chaos-manager/src/services/hooks/useUpdateInfraV2Mutation.d.ts +9 -5
- package/dist/chaos-manager/src/services/hooks/useUpdateInfraV2Mutation.js +3 -3
- package/dist/chaos-manager/src/services/hooks/useUpdateInputSetMutation.d.ts +9 -5
- package/dist/chaos-manager/src/services/hooks/useUpdateInputSetMutation.js +3 -3
- package/dist/chaos-manager/src/services/hooks/useUpdateNoteMutation.d.ts +9 -5
- package/dist/chaos-manager/src/services/hooks/useUpdateNoteMutation.js +3 -3
- package/dist/chaos-manager/src/services/index.d.ts +34 -35
- package/dist/custom-fetcher/index.d.ts +22 -0
- package/dist/custom-fetcher/index.js +51 -0
- package/package.json +1 -1
- package/dist/chaos-manager/src/services/helpers.d.ts +0 -14
- package/dist/chaos-manager/src/services/helpers.js +0 -1
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
3
|
// Please do not modify this code directly.
|
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../fetcher/index.js';
|
|
5
|
+
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export function stopOnboardingExperiments(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/rest/v2/onboarding/${props.onboardingid}/stop`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* Stop V2 Onboarding experiments
|
|
11
11
|
*/
|
|
12
|
-
export function useStopOnboardingExperimentsMutation(options) {
|
|
13
|
-
return useMutation((mutateProps) => stopOnboardingExperiments(mutateProps), options);
|
|
12
|
+
export function useStopOnboardingExperimentsMutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => stopOnboardingExperiments(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
14
|
}
|
|
@@ -2,22 +2,26 @@ import { UseMutationOptions } from '@tanstack/react-query';
|
|
|
2
2
|
import type { TypesUpdateCronExperimentStateResponse } from '../schemas/TypesUpdateCronExperimentStateResponse';
|
|
3
3
|
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
4
|
import type { TypesUpdateCronExperimentStateRequest } from '../schemas/TypesUpdateCronExperimentStateRequest';
|
|
5
|
-
import
|
|
6
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
7
6
|
export interface UpdateChaosV2CronExperimentMutationQueryParams {
|
|
8
7
|
accountIdentifier: string;
|
|
9
8
|
organizationIdentifier: string;
|
|
10
9
|
projectIdentifier: string;
|
|
11
10
|
}
|
|
12
11
|
export type UpdateChaosV2CronExperimentRequestBody = TypesUpdateCronExperimentStateRequest;
|
|
13
|
-
export type UpdateChaosV2CronExperimentOkResponse =
|
|
12
|
+
export type UpdateChaosV2CronExperimentOkResponse = TypesUpdateCronExperimentStateResponse;
|
|
14
13
|
export type UpdateChaosV2CronExperimentErrorResponse = ApiRestError;
|
|
15
14
|
export interface UpdateChaosV2CronExperimentProps extends Omit<FetcherOptions<UpdateChaosV2CronExperimentMutationQueryParams, UpdateChaosV2CronExperimentRequestBody>, 'url'> {
|
|
16
15
|
queryParams: UpdateChaosV2CronExperimentMutationQueryParams;
|
|
17
16
|
body: UpdateChaosV2CronExperimentRequestBody;
|
|
18
17
|
}
|
|
19
|
-
export
|
|
18
|
+
export interface UpdateChaosV2CronExperimentResponseContainer {
|
|
19
|
+
body: UpdateChaosV2CronExperimentOkResponse;
|
|
20
|
+
headers: Headers;
|
|
21
|
+
}
|
|
22
|
+
export declare function updateChaosV2CronExperiment(props: UpdateChaosV2CronExperimentProps): Promise<UpdateChaosV2CronExperimentResponseContainer>;
|
|
23
|
+
export type UpdateChaosV2CronExperimentMutationProps<T extends keyof UpdateChaosV2CronExperimentProps> = Omit<UpdateChaosV2CronExperimentProps, T> & Partial<Pick<UpdateChaosV2CronExperimentProps, T>>;
|
|
20
24
|
/**
|
|
21
25
|
* Update a chaos v2 cron experiment
|
|
22
26
|
*/
|
|
23
|
-
export declare function useUpdateChaosV2CronExperimentMutation(options?: Omit<UseMutationOptions<
|
|
27
|
+
export declare function useUpdateChaosV2CronExperimentMutation<T extends keyof UpdateChaosV2CronExperimentProps>(props: Pick<Partial<UpdateChaosV2CronExperimentProps>, T>, options?: Omit<UseMutationOptions<UpdateChaosV2CronExperimentResponseContainer, UpdateChaosV2CronExperimentErrorResponse, UpdateChaosV2CronExperimentMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateChaosV2CronExperimentResponseContainer, ApiRestError, UpdateChaosV2CronExperimentMutationProps<T>, unknown>;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
3
|
// Please do not modify this code directly.
|
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../fetcher/index.js';
|
|
5
|
+
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export function updateChaosV2CronExperiment(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/rest/v2/experiment/cron`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* Update a chaos v2 cron experiment
|
|
11
11
|
*/
|
|
12
|
-
export function useUpdateChaosV2CronExperimentMutation(options) {
|
|
13
|
-
return useMutation((mutateProps) => updateChaosV2CronExperiment(mutateProps), options);
|
|
12
|
+
export function useUpdateChaosV2CronExperimentMutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => updateChaosV2CronExperiment(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
14
|
}
|
package/dist/chaos-manager/src/services/hooks/useUpdateGamedayRunPrerequisitesV2Mutation.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
3
3
|
import type { TypesUpdatePrerequisiteRequest } from '../schemas/TypesUpdatePrerequisiteRequest';
|
|
4
|
-
import
|
|
5
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
5
|
export interface UpdateGamedayRunPrerequisitesV2MutationPathParams {
|
|
7
6
|
gamedayId: string;
|
|
8
7
|
gamedayRunId: string;
|
|
@@ -13,14 +12,19 @@ export interface UpdateGamedayRunPrerequisitesV2MutationQueryParams {
|
|
|
13
12
|
projectIdentifier: string;
|
|
14
13
|
}
|
|
15
14
|
export type UpdateGamedayRunPrerequisitesV2RequestBody = TypesUpdatePrerequisiteRequest;
|
|
16
|
-
export type UpdateGamedayRunPrerequisitesV2OkResponse =
|
|
15
|
+
export type UpdateGamedayRunPrerequisitesV2OkResponse = string;
|
|
17
16
|
export type UpdateGamedayRunPrerequisitesV2ErrorResponse = ApiRestError;
|
|
18
17
|
export interface UpdateGamedayRunPrerequisitesV2Props extends UpdateGamedayRunPrerequisitesV2MutationPathParams, Omit<FetcherOptions<UpdateGamedayRunPrerequisitesV2MutationQueryParams, UpdateGamedayRunPrerequisitesV2RequestBody>, 'url'> {
|
|
19
18
|
queryParams: UpdateGamedayRunPrerequisitesV2MutationQueryParams;
|
|
20
19
|
body: UpdateGamedayRunPrerequisitesV2RequestBody;
|
|
21
20
|
}
|
|
22
|
-
export
|
|
21
|
+
export interface UpdateGamedayRunPrerequisitesV2ResponseContainer {
|
|
22
|
+
body: UpdateGamedayRunPrerequisitesV2OkResponse;
|
|
23
|
+
headers: Headers;
|
|
24
|
+
}
|
|
25
|
+
export declare function updateGamedayRunPrerequisitesV2(props: UpdateGamedayRunPrerequisitesV2Props): Promise<UpdateGamedayRunPrerequisitesV2ResponseContainer>;
|
|
26
|
+
export type UpdateGamedayRunPrerequisitesV2MutationProps<T extends keyof UpdateGamedayRunPrerequisitesV2Props> = Omit<UpdateGamedayRunPrerequisitesV2Props, T> & Partial<Pick<UpdateGamedayRunPrerequisitesV2Props, T>>;
|
|
23
27
|
/**
|
|
24
28
|
* Update a chaos v2 gameday run
|
|
25
29
|
*/
|
|
26
|
-
export declare function useUpdateGamedayRunPrerequisitesV2Mutation(options?: Omit<UseMutationOptions<
|
|
30
|
+
export declare function useUpdateGamedayRunPrerequisitesV2Mutation<T extends keyof UpdateGamedayRunPrerequisitesV2Props>(props: Pick<Partial<UpdateGamedayRunPrerequisitesV2Props>, T>, options?: Omit<UseMutationOptions<UpdateGamedayRunPrerequisitesV2ResponseContainer, UpdateGamedayRunPrerequisitesV2ErrorResponse, UpdateGamedayRunPrerequisitesV2MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateGamedayRunPrerequisitesV2ResponseContainer, ApiRestError, UpdateGamedayRunPrerequisitesV2MutationProps<T>, unknown>;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
3
|
// Please do not modify this code directly.
|
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../fetcher/index.js';
|
|
5
|
+
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export function updateGamedayRunPrerequisitesV2(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/rest/v2/gameday/${props.gamedayId}/run_checklist/${props.gamedayRunId}`, method: 'PUT' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* Update a chaos v2 gameday run
|
|
11
11
|
*/
|
|
12
|
-
export function useUpdateGamedayRunPrerequisitesV2Mutation(options) {
|
|
13
|
-
return useMutation((mutateProps) => updateGamedayRunPrerequisitesV2(mutateProps), options);
|
|
12
|
+
export function useUpdateGamedayRunPrerequisitesV2Mutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => updateGamedayRunPrerequisitesV2(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
14
|
}
|
package/dist/chaos-manager/src/services/hooks/useUpdateGamedayRunStakeHolderActionsV2Mutation.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
3
3
|
import type { TypesUpdateStakeHolderActionRequest } from '../schemas/TypesUpdateStakeHolderActionRequest';
|
|
4
|
-
import
|
|
5
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
5
|
export interface UpdateGamedayRunStakeHolderActionsV2MutationPathParams {
|
|
7
6
|
gamedayId: string;
|
|
8
7
|
gamedayRunId: string;
|
|
@@ -13,14 +12,19 @@ export interface UpdateGamedayRunStakeHolderActionsV2MutationQueryParams {
|
|
|
13
12
|
projectIdentifier: string;
|
|
14
13
|
}
|
|
15
14
|
export type UpdateGamedayRunStakeHolderActionsV2RequestBody = TypesUpdateStakeHolderActionRequest;
|
|
16
|
-
export type UpdateGamedayRunStakeHolderActionsV2OkResponse =
|
|
15
|
+
export type UpdateGamedayRunStakeHolderActionsV2OkResponse = string;
|
|
17
16
|
export type UpdateGamedayRunStakeHolderActionsV2ErrorResponse = ApiRestError;
|
|
18
17
|
export interface UpdateGamedayRunStakeHolderActionsV2Props extends UpdateGamedayRunStakeHolderActionsV2MutationPathParams, Omit<FetcherOptions<UpdateGamedayRunStakeHolderActionsV2MutationQueryParams, UpdateGamedayRunStakeHolderActionsV2RequestBody>, 'url'> {
|
|
19
18
|
queryParams: UpdateGamedayRunStakeHolderActionsV2MutationQueryParams;
|
|
20
19
|
body: UpdateGamedayRunStakeHolderActionsV2RequestBody;
|
|
21
20
|
}
|
|
22
|
-
export
|
|
21
|
+
export interface UpdateGamedayRunStakeHolderActionsV2ResponseContainer {
|
|
22
|
+
body: UpdateGamedayRunStakeHolderActionsV2OkResponse;
|
|
23
|
+
headers: Headers;
|
|
24
|
+
}
|
|
25
|
+
export declare function updateGamedayRunStakeHolderActionsV2(props: UpdateGamedayRunStakeHolderActionsV2Props): Promise<UpdateGamedayRunStakeHolderActionsV2ResponseContainer>;
|
|
26
|
+
export type UpdateGamedayRunStakeHolderActionsV2MutationProps<T extends keyof UpdateGamedayRunStakeHolderActionsV2Props> = Omit<UpdateGamedayRunStakeHolderActionsV2Props, T> & Partial<Pick<UpdateGamedayRunStakeHolderActionsV2Props, T>>;
|
|
23
27
|
/**
|
|
24
28
|
* Update a chaos v2 gameday run
|
|
25
29
|
*/
|
|
26
|
-
export declare function useUpdateGamedayRunStakeHolderActionsV2Mutation(options?: Omit<UseMutationOptions<
|
|
30
|
+
export declare function useUpdateGamedayRunStakeHolderActionsV2Mutation<T extends keyof UpdateGamedayRunStakeHolderActionsV2Props>(props: Pick<Partial<UpdateGamedayRunStakeHolderActionsV2Props>, T>, options?: Omit<UseMutationOptions<UpdateGamedayRunStakeHolderActionsV2ResponseContainer, UpdateGamedayRunStakeHolderActionsV2ErrorResponse, UpdateGamedayRunStakeHolderActionsV2MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateGamedayRunStakeHolderActionsV2ResponseContainer, ApiRestError, UpdateGamedayRunStakeHolderActionsV2MutationProps<T>, unknown>;
|
package/dist/chaos-manager/src/services/hooks/useUpdateGamedayRunStakeHolderActionsV2Mutation.js
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
3
|
// Please do not modify this code directly.
|
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../fetcher/index.js';
|
|
5
|
+
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export function updateGamedayRunStakeHolderActionsV2(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/rest/v2/gameday/${props.gamedayId}/run_approval/${props.gamedayRunId}`, method: 'PUT' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* Update a chaos v2 gameday run
|
|
11
11
|
*/
|
|
12
|
-
export function useUpdateGamedayRunStakeHolderActionsV2Mutation(options) {
|
|
13
|
-
return useMutation((mutateProps) => updateGamedayRunStakeHolderActionsV2(mutateProps), options);
|
|
12
|
+
export function useUpdateGamedayRunStakeHolderActionsV2Mutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => updateGamedayRunStakeHolderActionsV2(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
14
|
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
3
3
|
import type { TypesUpdateGameDayRunRequest } from '../schemas/TypesUpdateGameDayRunRequest';
|
|
4
|
-
import
|
|
5
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
5
|
export interface UpdateGamedayRunV2MutationPathParams {
|
|
7
6
|
gamedayId: string;
|
|
8
7
|
gamedayRunId: string;
|
|
@@ -13,14 +12,19 @@ export interface UpdateGamedayRunV2MutationQueryParams {
|
|
|
13
12
|
projectIdentifier: string;
|
|
14
13
|
}
|
|
15
14
|
export type UpdateGamedayRunV2RequestBody = TypesUpdateGameDayRunRequest;
|
|
16
|
-
export type UpdateGamedayRunV2OkResponse =
|
|
15
|
+
export type UpdateGamedayRunV2OkResponse = string;
|
|
17
16
|
export type UpdateGamedayRunV2ErrorResponse = ApiRestError;
|
|
18
17
|
export interface UpdateGamedayRunV2Props extends UpdateGamedayRunV2MutationPathParams, Omit<FetcherOptions<UpdateGamedayRunV2MutationQueryParams, UpdateGamedayRunV2RequestBody>, 'url'> {
|
|
19
18
|
queryParams: UpdateGamedayRunV2MutationQueryParams;
|
|
20
19
|
body: UpdateGamedayRunV2RequestBody;
|
|
21
20
|
}
|
|
22
|
-
export
|
|
21
|
+
export interface UpdateGamedayRunV2ResponseContainer {
|
|
22
|
+
body: UpdateGamedayRunV2OkResponse;
|
|
23
|
+
headers: Headers;
|
|
24
|
+
}
|
|
25
|
+
export declare function updateGamedayRunV2(props: UpdateGamedayRunV2Props): Promise<UpdateGamedayRunV2ResponseContainer>;
|
|
26
|
+
export type UpdateGamedayRunV2MutationProps<T extends keyof UpdateGamedayRunV2Props> = Omit<UpdateGamedayRunV2Props, T> & Partial<Pick<UpdateGamedayRunV2Props, T>>;
|
|
23
27
|
/**
|
|
24
28
|
* Update a chaos v2 gameday run
|
|
25
29
|
*/
|
|
26
|
-
export declare function useUpdateGamedayRunV2Mutation(options?: Omit<UseMutationOptions<
|
|
30
|
+
export declare function useUpdateGamedayRunV2Mutation<T extends keyof UpdateGamedayRunV2Props>(props: Pick<Partial<UpdateGamedayRunV2Props>, T>, options?: Omit<UseMutationOptions<UpdateGamedayRunV2ResponseContainer, UpdateGamedayRunV2ErrorResponse, UpdateGamedayRunV2MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateGamedayRunV2ResponseContainer, ApiRestError, UpdateGamedayRunV2MutationProps<T>, unknown>;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
3
|
// Please do not modify this code directly.
|
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../fetcher/index.js';
|
|
5
|
+
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export function updateGamedayRunV2(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/rest/v2/gameday/${props.gamedayId}/run/${props.gamedayRunId}`, method: 'PUT' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* Update a chaos v2 gameday run
|
|
11
11
|
*/
|
|
12
|
-
export function useUpdateGamedayRunV2Mutation(options) {
|
|
13
|
-
return useMutation((mutateProps) => updateGamedayRunV2(mutateProps), options);
|
|
12
|
+
export function useUpdateGamedayRunV2Mutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => updateGamedayRunV2(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
14
|
}
|
|
@@ -1,22 +1,26 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
3
3
|
import type { TypesUpdateGamedayRequest } from '../schemas/TypesUpdateGamedayRequest';
|
|
4
|
-
import
|
|
5
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
5
|
export interface UpdateGamedayV2MutationQueryParams {
|
|
7
6
|
accountIdentifier: string;
|
|
8
7
|
organizationIdentifier: string;
|
|
9
8
|
projectIdentifier: string;
|
|
10
9
|
}
|
|
11
10
|
export type UpdateGamedayV2RequestBody = TypesUpdateGamedayRequest;
|
|
12
|
-
export type UpdateGamedayV2OkResponse =
|
|
11
|
+
export type UpdateGamedayV2OkResponse = string;
|
|
13
12
|
export type UpdateGamedayV2ErrorResponse = ApiRestError;
|
|
14
13
|
export interface UpdateGamedayV2Props extends Omit<FetcherOptions<UpdateGamedayV2MutationQueryParams, UpdateGamedayV2RequestBody>, 'url'> {
|
|
15
14
|
queryParams: UpdateGamedayV2MutationQueryParams;
|
|
16
15
|
body: UpdateGamedayV2RequestBody;
|
|
17
16
|
}
|
|
18
|
-
export
|
|
17
|
+
export interface UpdateGamedayV2ResponseContainer {
|
|
18
|
+
body: UpdateGamedayV2OkResponse;
|
|
19
|
+
headers: Headers;
|
|
20
|
+
}
|
|
21
|
+
export declare function updateGamedayV2(props: UpdateGamedayV2Props): Promise<UpdateGamedayV2ResponseContainer>;
|
|
22
|
+
export type UpdateGamedayV2MutationProps<T extends keyof UpdateGamedayV2Props> = Omit<UpdateGamedayV2Props, T> & Partial<Pick<UpdateGamedayV2Props, T>>;
|
|
19
23
|
/**
|
|
20
24
|
* Update a chaos v2 gameday
|
|
21
25
|
*/
|
|
22
|
-
export declare function useUpdateGamedayV2Mutation(options?: Omit<UseMutationOptions<
|
|
26
|
+
export declare function useUpdateGamedayV2Mutation<T extends keyof UpdateGamedayV2Props>(props: Pick<Partial<UpdateGamedayV2Props>, T>, options?: Omit<UseMutationOptions<UpdateGamedayV2ResponseContainer, UpdateGamedayV2ErrorResponse, UpdateGamedayV2MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateGamedayV2ResponseContainer, ApiRestError, UpdateGamedayV2MutationProps<T>, unknown>;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
3
|
// Please do not modify this code directly.
|
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../fetcher/index.js';
|
|
5
|
+
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export function updateGamedayV2(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/rest/v2/gameday`, method: 'PUT' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* Update a chaos v2 gameday
|
|
11
11
|
*/
|
|
12
|
-
export function useUpdateGamedayV2Mutation(options) {
|
|
13
|
-
return useMutation((mutateProps) => updateGamedayV2(mutateProps), options);
|
|
12
|
+
export function useUpdateGamedayV2Mutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => updateGamedayV2(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
14
|
}
|
|
@@ -2,8 +2,7 @@ import { UseMutationOptions } from '@tanstack/react-query';
|
|
|
2
2
|
import type { InfraV2UpdateKubernetesInfrastructureV2Response } from '../schemas/InfraV2UpdateKubernetesInfrastructureV2Response';
|
|
3
3
|
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
4
|
import type { InfraV2UpdateKubernetesInfrastructureV2Request } from '../schemas/InfraV2UpdateKubernetesInfrastructureV2Request';
|
|
5
|
-
import
|
|
6
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
7
6
|
export interface UpdateInfraV2MutationQueryParams {
|
|
8
7
|
correlationID?: string;
|
|
9
8
|
accountIdentifier: string;
|
|
@@ -11,14 +10,19 @@ export interface UpdateInfraV2MutationQueryParams {
|
|
|
11
10
|
projectIdentifier: string;
|
|
12
11
|
}
|
|
13
12
|
export type UpdateInfraV2RequestBody = InfraV2UpdateKubernetesInfrastructureV2Request;
|
|
14
|
-
export type UpdateInfraV2OkResponse =
|
|
13
|
+
export type UpdateInfraV2OkResponse = InfraV2UpdateKubernetesInfrastructureV2Response;
|
|
15
14
|
export type UpdateInfraV2ErrorResponse = ApiRestError;
|
|
16
15
|
export interface UpdateInfraV2Props extends Omit<FetcherOptions<UpdateInfraV2MutationQueryParams, UpdateInfraV2RequestBody>, 'url'> {
|
|
17
16
|
queryParams: UpdateInfraV2MutationQueryParams;
|
|
18
17
|
body: UpdateInfraV2RequestBody;
|
|
19
18
|
}
|
|
20
|
-
export
|
|
19
|
+
export interface UpdateInfraV2ResponseContainer {
|
|
20
|
+
body: UpdateInfraV2OkResponse;
|
|
21
|
+
headers: Headers;
|
|
22
|
+
}
|
|
23
|
+
export declare function updateInfraV2(props: UpdateInfraV2Props): Promise<UpdateInfraV2ResponseContainer>;
|
|
24
|
+
export type UpdateInfraV2MutationProps<T extends keyof UpdateInfraV2Props> = Omit<UpdateInfraV2Props, T> & Partial<Pick<UpdateInfraV2Props, T>>;
|
|
21
25
|
/**
|
|
22
26
|
* Update a new v2 infra
|
|
23
27
|
*/
|
|
24
|
-
export declare function useUpdateInfraV2Mutation(options?: Omit<UseMutationOptions<
|
|
28
|
+
export declare function useUpdateInfraV2Mutation<T extends keyof UpdateInfraV2Props>(props: Pick<Partial<UpdateInfraV2Props>, T>, options?: Omit<UseMutationOptions<UpdateInfraV2ResponseContainer, UpdateInfraV2ErrorResponse, UpdateInfraV2MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateInfraV2ResponseContainer, ApiRestError, UpdateInfraV2MutationProps<T>, unknown>;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
3
|
// Please do not modify this code directly.
|
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../fetcher/index.js';
|
|
5
|
+
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export function updateInfraV2(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/rest/v2/infrastructure`, method: 'PUT' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* Update a new v2 infra
|
|
11
11
|
*/
|
|
12
|
-
export function useUpdateInfraV2Mutation(options) {
|
|
13
|
-
return useMutation((mutateProps) => updateInfraV2(mutateProps), options);
|
|
12
|
+
export function useUpdateInfraV2Mutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => updateInfraV2(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
14
|
}
|
|
@@ -2,8 +2,7 @@ import { UseMutationOptions } from '@tanstack/react-query';
|
|
|
2
2
|
import type { InputsetsUpdateInputSetResponse } from '../schemas/InputsetsUpdateInputSetResponse';
|
|
3
3
|
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
4
|
import type { InputsetsUpdateInputSetRequest } from '../schemas/InputsetsUpdateInputSetRequest';
|
|
5
|
-
import
|
|
6
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
7
6
|
export interface UpdateInputSetMutationPathParams {
|
|
8
7
|
experimentId: string;
|
|
9
8
|
inputsetId: string;
|
|
@@ -14,14 +13,19 @@ export interface UpdateInputSetMutationQueryParams {
|
|
|
14
13
|
projectIdentifier: string;
|
|
15
14
|
}
|
|
16
15
|
export type UpdateInputSetRequestBody = InputsetsUpdateInputSetRequest;
|
|
17
|
-
export type UpdateInputSetOkResponse =
|
|
16
|
+
export type UpdateInputSetOkResponse = InputsetsUpdateInputSetResponse;
|
|
18
17
|
export type UpdateInputSetErrorResponse = ApiRestError;
|
|
19
18
|
export interface UpdateInputSetProps extends UpdateInputSetMutationPathParams, Omit<FetcherOptions<UpdateInputSetMutationQueryParams, UpdateInputSetRequestBody>, 'url'> {
|
|
20
19
|
queryParams: UpdateInputSetMutationQueryParams;
|
|
21
20
|
body: UpdateInputSetRequestBody;
|
|
22
21
|
}
|
|
23
|
-
export
|
|
22
|
+
export interface UpdateInputSetResponseContainer {
|
|
23
|
+
body: UpdateInputSetOkResponse;
|
|
24
|
+
headers: Headers;
|
|
25
|
+
}
|
|
26
|
+
export declare function updateInputSet(props: UpdateInputSetProps): Promise<UpdateInputSetResponseContainer>;
|
|
27
|
+
export type UpdateInputSetMutationProps<T extends keyof UpdateInputSetProps> = Omit<UpdateInputSetProps, T> & Partial<Pick<UpdateInputSetProps, T>>;
|
|
24
28
|
/**
|
|
25
29
|
* Updates an input set
|
|
26
30
|
*/
|
|
27
|
-
export declare function useUpdateInputSetMutation(options?: Omit<UseMutationOptions<
|
|
31
|
+
export declare function useUpdateInputSetMutation<T extends keyof UpdateInputSetProps>(props: Pick<Partial<UpdateInputSetProps>, T>, options?: Omit<UseMutationOptions<UpdateInputSetResponseContainer, UpdateInputSetErrorResponse, UpdateInputSetMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateInputSetResponseContainer, ApiRestError, UpdateInputSetMutationProps<T>, unknown>;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
3
|
// Please do not modify this code directly.
|
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../fetcher/index.js';
|
|
5
|
+
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export function updateInputSet(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/rest/v2/experiments/${props.experimentId}/inputsets/${props.inputsetId}`, method: 'PUT' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* Updates an input set
|
|
11
11
|
*/
|
|
12
|
-
export function useUpdateInputSetMutation(options) {
|
|
13
|
-
return useMutation((mutateProps) => updateInputSet(mutateProps), options);
|
|
12
|
+
export function useUpdateInputSetMutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => updateInputSet(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
14
|
}
|
|
@@ -1,22 +1,26 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
3
3
|
import type { TypesUpdateNoteRequest } from '../schemas/TypesUpdateNoteRequest';
|
|
4
|
-
import
|
|
5
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
5
|
export interface UpdateNoteMutationQueryParams {
|
|
7
6
|
accountIdentifier: string;
|
|
8
7
|
organizationIdentifier: string;
|
|
9
8
|
projectIdentifier: string;
|
|
10
9
|
}
|
|
11
10
|
export type UpdateNoteRequestBody = TypesUpdateNoteRequest;
|
|
12
|
-
export type UpdateNoteOkResponse =
|
|
11
|
+
export type UpdateNoteOkResponse = string;
|
|
13
12
|
export type UpdateNoteErrorResponse = ApiRestError;
|
|
14
13
|
export interface UpdateNoteProps extends Omit<FetcherOptions<UpdateNoteMutationQueryParams, UpdateNoteRequestBody>, 'url'> {
|
|
15
14
|
queryParams: UpdateNoteMutationQueryParams;
|
|
16
15
|
body: UpdateNoteRequestBody;
|
|
17
16
|
}
|
|
18
|
-
export
|
|
17
|
+
export interface UpdateNoteResponseContainer {
|
|
18
|
+
body: UpdateNoteOkResponse;
|
|
19
|
+
headers: Headers;
|
|
20
|
+
}
|
|
21
|
+
export declare function updateNote(props: UpdateNoteProps): Promise<UpdateNoteResponseContainer>;
|
|
22
|
+
export type UpdateNoteMutationProps<T extends keyof UpdateNoteProps> = Omit<UpdateNoteProps, T> & Partial<Pick<UpdateNoteProps, T>>;
|
|
19
23
|
/**
|
|
20
24
|
* Update a resource note
|
|
21
25
|
*/
|
|
22
|
-
export declare function useUpdateNoteMutation(options?: Omit<UseMutationOptions<
|
|
26
|
+
export declare function useUpdateNoteMutation<T extends keyof UpdateNoteProps>(props: Pick<Partial<UpdateNoteProps>, T>, options?: Omit<UseMutationOptions<UpdateNoteResponseContainer, UpdateNoteErrorResponse, UpdateNoteMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateNoteResponseContainer, ApiRestError, UpdateNoteMutationProps<T>, unknown>;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
3
|
// Please do not modify this code directly.
|
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../fetcher/index.js';
|
|
5
|
+
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export function updateNote(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/rest/v2/note`, method: 'PATCH' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* Update a resource note
|
|
11
11
|
*/
|
|
12
|
-
export function useUpdateNoteMutation(options) {
|
|
13
|
-
return useMutation((mutateProps) => updateNote(mutateProps), options);
|
|
12
|
+
export function useUpdateNoteMutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => updateNote(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
14
|
}
|
|
@@ -1,31 +1,30 @@
|
|
|
1
|
-
export type {
|
|
2
|
-
export type { AddNoteErrorResponse, AddNoteMutationQueryParams, AddNoteOkResponse, AddNoteProps, AddNoteRequestBody, } from './hooks/useAddNoteMutation';
|
|
1
|
+
export type { AddNoteErrorResponse, AddNoteMutationProps, AddNoteMutationQueryParams, AddNoteOkResponse, AddNoteProps, AddNoteRequestBody, } from './hooks/useAddNoteMutation';
|
|
3
2
|
export { addNote, useAddNoteMutation } from './hooks/useAddNoteMutation';
|
|
4
|
-
export type { BulkExperimentDeleteErrorResponse, BulkExperimentDeleteMutationQueryParams, BulkExperimentDeleteOkResponse, BulkExperimentDeleteProps, BulkExperimentDeleteRequestBody, } from './hooks/useBulkExperimentDeleteMutation';
|
|
3
|
+
export type { BulkExperimentDeleteErrorResponse, BulkExperimentDeleteMutationProps, BulkExperimentDeleteMutationQueryParams, BulkExperimentDeleteOkResponse, BulkExperimentDeleteProps, BulkExperimentDeleteRequestBody, } from './hooks/useBulkExperimentDeleteMutation';
|
|
5
4
|
export { bulkExperimentDelete, useBulkExperimentDeleteMutation, } from './hooks/useBulkExperimentDeleteMutation';
|
|
6
|
-
export type { BulkExperimentTagAddErrorResponse, BulkExperimentTagAddMutationQueryParams, BulkExperimentTagAddOkResponse, BulkExperimentTagAddProps, BulkExperimentTagAddRequestBody, } from './hooks/useBulkExperimentTagAddMutation';
|
|
5
|
+
export type { BulkExperimentTagAddErrorResponse, BulkExperimentTagAddMutationProps, BulkExperimentTagAddMutationQueryParams, BulkExperimentTagAddOkResponse, BulkExperimentTagAddProps, BulkExperimentTagAddRequestBody, } from './hooks/useBulkExperimentTagAddMutation';
|
|
7
6
|
export { bulkExperimentTagAdd, useBulkExperimentTagAddMutation, } from './hooks/useBulkExperimentTagAddMutation';
|
|
8
7
|
export type { CanRetryExperimentCreationErrorResponse, CanRetryExperimentCreationOkResponse, CanRetryExperimentCreationProps, CanRetryExperimentCreationQueryPathParams, CanRetryExperimentCreationQueryQueryParams, } from './hooks/useCanRetryExperimentCreationQuery';
|
|
9
8
|
export { canRetryExperimentCreation, useCanRetryExperimentCreationQuery, } from './hooks/useCanRetryExperimentCreationQuery';
|
|
10
|
-
export type { CreateChaosExperimentPipelineErrorResponse, CreateChaosExperimentPipelineMutationQueryParams, CreateChaosExperimentPipelineOkResponse, CreateChaosExperimentPipelineProps, CreateChaosExperimentPipelineRequestBody, } from './hooks/useCreateChaosExperimentPipelineMutation';
|
|
9
|
+
export type { CreateChaosExperimentPipelineErrorResponse, CreateChaosExperimentPipelineMutationProps, CreateChaosExperimentPipelineMutationQueryParams, CreateChaosExperimentPipelineOkResponse, CreateChaosExperimentPipelineProps, CreateChaosExperimentPipelineRequestBody, } from './hooks/useCreateChaosExperimentPipelineMutation';
|
|
11
10
|
export { createChaosExperimentPipeline, useCreateChaosExperimentPipelineMutation, } from './hooks/useCreateChaosExperimentPipelineMutation';
|
|
12
|
-
export type { CreateGamedayRunV2ErrorResponse, CreateGamedayRunV2MutationPathParams, CreateGamedayRunV2MutationQueryParams, CreateGamedayRunV2OkResponse, CreateGamedayRunV2Props, } from './hooks/useCreateGamedayRunV2Mutation';
|
|
11
|
+
export type { CreateGamedayRunV2ErrorResponse, CreateGamedayRunV2MutationPathParams, CreateGamedayRunV2MutationProps, CreateGamedayRunV2MutationQueryParams, CreateGamedayRunV2OkResponse, CreateGamedayRunV2Props, } from './hooks/useCreateGamedayRunV2Mutation';
|
|
13
12
|
export { createGamedayRunV2, useCreateGamedayRunV2Mutation, } from './hooks/useCreateGamedayRunV2Mutation';
|
|
14
|
-
export type { CreateGamedayV2ErrorResponse, CreateGamedayV2MutationQueryParams, CreateGamedayV2OkResponse, CreateGamedayV2Props, CreateGamedayV2RequestBody, } from './hooks/useCreateGamedayV2Mutation';
|
|
13
|
+
export type { CreateGamedayV2ErrorResponse, CreateGamedayV2MutationProps, CreateGamedayV2MutationQueryParams, CreateGamedayV2OkResponse, CreateGamedayV2Props, CreateGamedayV2RequestBody, } from './hooks/useCreateGamedayV2Mutation';
|
|
15
14
|
export { createGamedayV2, useCreateGamedayV2Mutation } from './hooks/useCreateGamedayV2Mutation';
|
|
16
|
-
export type { CreateInputSetErrorResponse, CreateInputSetMutationPathParams, CreateInputSetMutationQueryParams, CreateInputSetOkResponse, CreateInputSetProps, CreateInputSetRequestBody, } from './hooks/useCreateInputSetMutation';
|
|
15
|
+
export type { CreateInputSetErrorResponse, CreateInputSetMutationPathParams, CreateInputSetMutationProps, CreateInputSetMutationQueryParams, CreateInputSetOkResponse, CreateInputSetProps, CreateInputSetRequestBody, } from './hooks/useCreateInputSetMutation';
|
|
17
16
|
export { createInputSet, useCreateInputSetMutation } from './hooks/useCreateInputSetMutation';
|
|
18
|
-
export type { CreateV2OnboardingErrorResponse, CreateV2OnboardingMutationQueryParams, CreateV2OnboardingOkResponse, CreateV2OnboardingProps, CreateV2OnboardingRequestBody, } from './hooks/useCreateV2OnboardingMutation';
|
|
17
|
+
export type { CreateV2OnboardingErrorResponse, CreateV2OnboardingMutationProps, CreateV2OnboardingMutationQueryParams, CreateV2OnboardingOkResponse, CreateV2OnboardingProps, CreateV2OnboardingRequestBody, } from './hooks/useCreateV2OnboardingMutation';
|
|
19
18
|
export { createV2Onboarding, useCreateV2OnboardingMutation, } from './hooks/useCreateV2OnboardingMutation';
|
|
20
|
-
export type { DeleteChaosV2ExperimentErrorResponse, DeleteChaosV2ExperimentMutationPathParams, DeleteChaosV2ExperimentMutationQueryParams, DeleteChaosV2ExperimentOkResponse, DeleteChaosV2ExperimentProps, } from './hooks/useDeleteChaosV2ExperimentMutation';
|
|
19
|
+
export type { DeleteChaosV2ExperimentErrorResponse, DeleteChaosV2ExperimentMutationPathParams, DeleteChaosV2ExperimentMutationProps, DeleteChaosV2ExperimentMutationQueryParams, DeleteChaosV2ExperimentOkResponse, DeleteChaosV2ExperimentProps, } from './hooks/useDeleteChaosV2ExperimentMutation';
|
|
21
20
|
export { deleteChaosV2Experiment, useDeleteChaosV2ExperimentMutation, } from './hooks/useDeleteChaosV2ExperimentMutation';
|
|
22
|
-
export type { DeleteGamedayV2ErrorResponse, DeleteGamedayV2MutationPathParams, DeleteGamedayV2MutationQueryParams, DeleteGamedayV2OkResponse, DeleteGamedayV2Props, } from './hooks/useDeleteGamedayV2Mutation';
|
|
21
|
+
export type { DeleteGamedayV2ErrorResponse, DeleteGamedayV2MutationPathParams, DeleteGamedayV2MutationProps, DeleteGamedayV2MutationQueryParams, DeleteGamedayV2OkResponse, DeleteGamedayV2Props, } from './hooks/useDeleteGamedayV2Mutation';
|
|
23
22
|
export { deleteGamedayV2, useDeleteGamedayV2Mutation } from './hooks/useDeleteGamedayV2Mutation';
|
|
24
|
-
export type { DeleteInfraV2ErrorResponse, DeleteInfraV2MutationPathParams, DeleteInfraV2MutationQueryParams, DeleteInfraV2OkResponse, DeleteInfraV2Props, } from './hooks/useDeleteInfraV2Mutation';
|
|
23
|
+
export type { DeleteInfraV2ErrorResponse, DeleteInfraV2MutationPathParams, DeleteInfraV2MutationProps, DeleteInfraV2MutationQueryParams, DeleteInfraV2OkResponse, DeleteInfraV2Props, } from './hooks/useDeleteInfraV2Mutation';
|
|
25
24
|
export { deleteInfraV2, useDeleteInfraV2Mutation } from './hooks/useDeleteInfraV2Mutation';
|
|
26
|
-
export type { DeleteInputSetErrorResponse, DeleteInputSetMutationPathParams, DeleteInputSetMutationQueryParams, DeleteInputSetOkResponse, DeleteInputSetProps, } from './hooks/useDeleteInputSetMutation';
|
|
25
|
+
export type { DeleteInputSetErrorResponse, DeleteInputSetMutationPathParams, DeleteInputSetMutationProps, DeleteInputSetMutationQueryParams, DeleteInputSetOkResponse, DeleteInputSetProps, } from './hooks/useDeleteInputSetMutation';
|
|
27
26
|
export { deleteInputSet, useDeleteInputSetMutation } from './hooks/useDeleteInputSetMutation';
|
|
28
|
-
export type { DeleteTargetNetworkMapErrorResponse, DeleteTargetNetworkMapMutationPathParams, DeleteTargetNetworkMapMutationQueryParams, DeleteTargetNetworkMapOkResponse, DeleteTargetNetworkMapProps, } from './hooks/useDeleteTargetNetworkMapMutation';
|
|
27
|
+
export type { DeleteTargetNetworkMapErrorResponse, DeleteTargetNetworkMapMutationPathParams, DeleteTargetNetworkMapMutationProps, DeleteTargetNetworkMapMutationQueryParams, DeleteTargetNetworkMapOkResponse, DeleteTargetNetworkMapProps, } from './hooks/useDeleteTargetNetworkMapMutation';
|
|
29
28
|
export { deleteTargetNetworkMap, useDeleteTargetNetworkMapMutation, } from './hooks/useDeleteTargetNetworkMapMutation';
|
|
30
29
|
export type { GetAccountServiceDetailsErrorResponse, GetAccountServiceDetailsOkResponse, GetAccountServiceDetailsProps, GetAccountServiceDetailsQueryPathParams, GetAccountServiceDetailsQueryQueryParams, } from './hooks/useGetAccountServiceDetailsQuery';
|
|
31
30
|
export { getAccountServiceDetails, useGetAccountServiceDetailsQuery, } from './hooks/useGetAccountServiceDetailsQuery';
|
|
@@ -73,11 +72,11 @@ export type { GetServiceResponseErrorResponse, GetServiceResponseOkResponse, Get
|
|
|
73
72
|
export { getServiceResponse, useGetServiceResponseQuery } from './hooks/useGetServiceResponseQuery';
|
|
74
73
|
export type { GetServiceUsageReportErrorResponse, GetServiceUsageReportOkResponse, GetServiceUsageReportProps, GetServiceUsageReportQueryPathParams, GetServiceUsageReportQueryQueryParams, } from './hooks/useGetServiceUsageReportQuery';
|
|
75
74
|
export { getServiceUsageReport, useGetServiceUsageReportQuery, } from './hooks/useGetServiceUsageReportQuery';
|
|
76
|
-
export type { GetSgpTemplateByGenAiErrorResponse, GetSgpTemplateByGenAiOkResponse, GetSgpTemplateByGenAiProps, } from './hooks/useGetSgpTemplateByGenAiMutation';
|
|
75
|
+
export type { GetSgpTemplateByGenAiErrorResponse, GetSgpTemplateByGenAiMutationProps, GetSgpTemplateByGenAiOkResponse, GetSgpTemplateByGenAiProps, } from './hooks/useGetSgpTemplateByGenAiMutation';
|
|
77
76
|
export { getSgpTemplateByGenAi, useGetSgpTemplateByGenAiMutation, } from './hooks/useGetSgpTemplateByGenAiMutation';
|
|
78
77
|
export type { GetTargetNetworkMapErrorResponse, GetTargetNetworkMapOkResponse, GetTargetNetworkMapProps, GetTargetNetworkMapQueryPathParams, GetTargetNetworkMapQueryQueryParams, } from './hooks/useGetTargetNetworkMapQuery';
|
|
79
78
|
export { getTargetNetworkMap, useGetTargetNetworkMapQuery, } from './hooks/useGetTargetNetworkMapQuery';
|
|
80
|
-
export type { GetV2InfrastructureYamlErrorResponse, GetV2InfrastructureYamlMutationQueryParams, GetV2InfrastructureYamlOkResponse, GetV2InfrastructureYamlProps, GetV2InfrastructureYamlRequestBody, } from './hooks/useGetV2InfrastructureYamlMutation';
|
|
79
|
+
export type { GetV2InfrastructureYamlErrorResponse, GetV2InfrastructureYamlMutationProps, GetV2InfrastructureYamlMutationQueryParams, GetV2InfrastructureYamlOkResponse, GetV2InfrastructureYamlProps, GetV2InfrastructureYamlRequestBody, } from './hooks/useGetV2InfrastructureYamlMutation';
|
|
81
80
|
export { getV2InfrastructureYaml, useGetV2InfrastructureYamlMutation, } from './hooks/useGetV2InfrastructureYamlMutation';
|
|
82
81
|
export type { GetV2OnboardingErrorResponse, GetV2OnboardingOkResponse, GetV2OnboardingProps, GetV2OnboardingQueryPathParams, GetV2OnboardingQueryQueryParams, } from './hooks/useGetV2OnboardingQuery';
|
|
83
82
|
export { getV2Onboarding, useGetV2OnboardingQuery } from './hooks/useGetV2OnboardingQuery';
|
|
@@ -101,7 +100,7 @@ export type { ListInfraV2ErrorResponse, ListInfraV2OkResponse, ListInfraV2Props,
|
|
|
101
100
|
export { listInfraV2, useListInfraV2Query } from './hooks/useListInfraV2Query';
|
|
102
101
|
export type { ListInputSetErrorResponse, ListInputSetOkResponse, ListInputSetProps, ListInputSetQueryPathParams, ListInputSetQueryQueryParams, } from './hooks/useListInputSetQuery';
|
|
103
102
|
export { listInputSet, useListInputSetQuery } from './hooks/useListInputSetQuery';
|
|
104
|
-
export type { ListK8sInfrasV2ErrorResponse, ListK8sInfrasV2MutationQueryParams, ListK8sInfrasV2OkResponse, ListK8sInfrasV2Props, ListK8sInfrasV2RequestBody, } from './hooks/useListK8sInfrasV2Mutation';
|
|
103
|
+
export type { ListK8sInfrasV2ErrorResponse, ListK8sInfrasV2MutationProps, ListK8sInfrasV2MutationQueryParams, ListK8sInfrasV2OkResponse, ListK8sInfrasV2Props, ListK8sInfrasV2RequestBody, } from './hooks/useListK8sInfrasV2Mutation';
|
|
105
104
|
export { listK8sInfrasV2, useListK8sInfrasV2Mutation } from './hooks/useListK8sInfrasV2Mutation';
|
|
106
105
|
export type { ListServiceErrorResponse, ListServiceOkResponse, ListServiceProps, ListServiceQueryPathParams, ListServiceQueryQueryParams, } from './hooks/useListServiceQuery';
|
|
107
106
|
export { listService, useListServiceQuery } from './hooks/useListServiceQuery';
|
|
@@ -111,41 +110,41 @@ export type { ListV2OnboardingErrorResponse, ListV2OnboardingOkResponse, ListV2O
|
|
|
111
110
|
export { listV2Onboarding, useListV2OnboardingQuery } from './hooks/useListV2OnboardingQuery';
|
|
112
111
|
export type { ListVariablesInFaultTemplateErrorResponse, ListVariablesInFaultTemplateOkResponse, ListVariablesInFaultTemplateProps, ListVariablesInFaultTemplateQueryPathParams, ListVariablesInFaultTemplateQueryQueryParams, } from './hooks/useListVariablesInFaultTemplateQuery';
|
|
113
112
|
export { listVariablesInFaultTemplate, useListVariablesInFaultTemplateQuery, } from './hooks/useListVariablesInFaultTemplateQuery';
|
|
114
|
-
export type { OnboardingConfirmDiscoveryErrorResponse, OnboardingConfirmDiscoveryMutationPathParams, OnboardingConfirmDiscoveryMutationQueryParams, OnboardingConfirmDiscoveryOkResponse, OnboardingConfirmDiscoveryProps, } from './hooks/useOnboardingConfirmDiscoveryMutation';
|
|
113
|
+
export type { OnboardingConfirmDiscoveryErrorResponse, OnboardingConfirmDiscoveryMutationPathParams, OnboardingConfirmDiscoveryMutationProps, OnboardingConfirmDiscoveryMutationQueryParams, OnboardingConfirmDiscoveryOkResponse, OnboardingConfirmDiscoveryProps, } from './hooks/useOnboardingConfirmDiscoveryMutation';
|
|
115
114
|
export { onboardingConfirmDiscovery, useOnboardingConfirmDiscoveryMutation, } from './hooks/useOnboardingConfirmDiscoveryMutation';
|
|
116
|
-
export type { OnboardingConfirmExperimentCreationErrorResponse, OnboardingConfirmExperimentCreationMutationPathParams, OnboardingConfirmExperimentCreationMutationQueryParams, OnboardingConfirmExperimentCreationOkResponse, OnboardingConfirmExperimentCreationProps, OnboardingConfirmExperimentCreationRequestBody, } from './hooks/useOnboardingConfirmExperimentCreationMutation';
|
|
115
|
+
export type { OnboardingConfirmExperimentCreationErrorResponse, OnboardingConfirmExperimentCreationMutationPathParams, OnboardingConfirmExperimentCreationMutationProps, OnboardingConfirmExperimentCreationMutationQueryParams, OnboardingConfirmExperimentCreationOkResponse, OnboardingConfirmExperimentCreationProps, OnboardingConfirmExperimentCreationRequestBody, } from './hooks/useOnboardingConfirmExperimentCreationMutation';
|
|
117
116
|
export { onboardingConfirmExperimentCreation, useOnboardingConfirmExperimentCreationMutation, } from './hooks/useOnboardingConfirmExperimentCreationMutation';
|
|
118
|
-
export type { OnboardingConfirmExperimentRunErrorResponse, OnboardingConfirmExperimentRunMutationPathParams, OnboardingConfirmExperimentRunMutationQueryParams, OnboardingConfirmExperimentRunOkResponse, OnboardingConfirmExperimentRunProps, } from './hooks/useOnboardingConfirmExperimentRunMutation';
|
|
117
|
+
export type { OnboardingConfirmExperimentRunErrorResponse, OnboardingConfirmExperimentRunMutationPathParams, OnboardingConfirmExperimentRunMutationProps, OnboardingConfirmExperimentRunMutationQueryParams, OnboardingConfirmExperimentRunOkResponse, OnboardingConfirmExperimentRunProps, } from './hooks/useOnboardingConfirmExperimentRunMutation';
|
|
119
118
|
export { onboardingConfirmExperimentRun, useOnboardingConfirmExperimentRunMutation, } from './hooks/useOnboardingConfirmExperimentRunMutation';
|
|
120
|
-
export type { OnboardingConfirmNetworkMapErrorResponse, OnboardingConfirmNetworkMapMutationPathParams, OnboardingConfirmNetworkMapMutationQueryParams, OnboardingConfirmNetworkMapOkResponse, OnboardingConfirmNetworkMapProps, OnboardingConfirmNetworkMapRequestBody, } from './hooks/useOnboardingConfirmNetworkMapMutation';
|
|
119
|
+
export type { OnboardingConfirmNetworkMapErrorResponse, OnboardingConfirmNetworkMapMutationPathParams, OnboardingConfirmNetworkMapMutationProps, OnboardingConfirmNetworkMapMutationQueryParams, OnboardingConfirmNetworkMapOkResponse, OnboardingConfirmNetworkMapProps, OnboardingConfirmNetworkMapRequestBody, } from './hooks/useOnboardingConfirmNetworkMapMutation';
|
|
121
120
|
export { onboardingConfirmNetworkMap, useOnboardingConfirmNetworkMapMutation, } from './hooks/useOnboardingConfirmNetworkMapMutation';
|
|
122
|
-
export type { RegisterInfraV2ErrorResponse, RegisterInfraV2MutationQueryParams, RegisterInfraV2OkResponse, RegisterInfraV2Props, RegisterInfraV2RequestBody, } from './hooks/useRegisterInfraV2Mutation';
|
|
121
|
+
export type { RegisterInfraV2ErrorResponse, RegisterInfraV2MutationProps, RegisterInfraV2MutationQueryParams, RegisterInfraV2OkResponse, RegisterInfraV2Props, RegisterInfraV2RequestBody, } from './hooks/useRegisterInfraV2Mutation';
|
|
123
122
|
export { registerInfraV2, useRegisterInfraV2Mutation } from './hooks/useRegisterInfraV2Mutation';
|
|
124
|
-
export type { RetryExperimentCreationErrorResponse, RetryExperimentCreationMutationPathParams, RetryExperimentCreationMutationQueryParams, RetryExperimentCreationOkResponse, RetryExperimentCreationProps, RetryExperimentCreationRequestBody, } from './hooks/useRetryExperimentCreationMutation';
|
|
123
|
+
export type { RetryExperimentCreationErrorResponse, RetryExperimentCreationMutationPathParams, RetryExperimentCreationMutationProps, RetryExperimentCreationMutationQueryParams, RetryExperimentCreationOkResponse, RetryExperimentCreationProps, RetryExperimentCreationRequestBody, } from './hooks/useRetryExperimentCreationMutation';
|
|
125
124
|
export { retryExperimentCreation, useRetryExperimentCreationMutation, } from './hooks/useRetryExperimentCreationMutation';
|
|
126
|
-
export type { RunChaosV2ExperimentErrorResponse, RunChaosV2ExperimentMutationPathParams, RunChaosV2ExperimentMutationQueryParams, RunChaosV2ExperimentOkResponse, RunChaosV2ExperimentProps, RunChaosV2ExperimentRequestBody, } from './hooks/useRunChaosV2ExperimentMutation';
|
|
125
|
+
export type { RunChaosV2ExperimentErrorResponse, RunChaosV2ExperimentMutationPathParams, RunChaosV2ExperimentMutationProps, RunChaosV2ExperimentMutationQueryParams, RunChaosV2ExperimentOkResponse, RunChaosV2ExperimentProps, RunChaosV2ExperimentRequestBody, } from './hooks/useRunChaosV2ExperimentMutation';
|
|
127
126
|
export { runChaosV2Experiment, useRunChaosV2ExperimentMutation, } from './hooks/useRunChaosV2ExperimentMutation';
|
|
128
|
-
export type { SaveChaosV2ExperimentErrorResponse, SaveChaosV2ExperimentMutationQueryParams, SaveChaosV2ExperimentOkResponse, SaveChaosV2ExperimentProps, SaveChaosV2ExperimentRequestBody, } from './hooks/useSaveChaosV2ExperimentMutation';
|
|
127
|
+
export type { SaveChaosV2ExperimentErrorResponse, SaveChaosV2ExperimentMutationProps, SaveChaosV2ExperimentMutationQueryParams, SaveChaosV2ExperimentOkResponse, SaveChaosV2ExperimentProps, SaveChaosV2ExperimentRequestBody, } from './hooks/useSaveChaosV2ExperimentMutation';
|
|
129
128
|
export { saveChaosV2Experiment, useSaveChaosV2ExperimentMutation, } from './hooks/useSaveChaosV2ExperimentMutation';
|
|
130
|
-
export type { StopChaosV2ExperimentErrorResponse, StopChaosV2ExperimentMutationPathParams, StopChaosV2ExperimentMutationQueryParams, StopChaosV2ExperimentOkResponse, StopChaosV2ExperimentProps, } from './hooks/useStopChaosV2ExperimentMutation';
|
|
129
|
+
export type { StopChaosV2ExperimentErrorResponse, StopChaosV2ExperimentMutationPathParams, StopChaosV2ExperimentMutationProps, StopChaosV2ExperimentMutationQueryParams, StopChaosV2ExperimentOkResponse, StopChaosV2ExperimentProps, } from './hooks/useStopChaosV2ExperimentMutation';
|
|
131
130
|
export { stopChaosV2Experiment, useStopChaosV2ExperimentMutation, } from './hooks/useStopChaosV2ExperimentMutation';
|
|
132
|
-
export type { StopOnboardingExperimentsErrorResponse, StopOnboardingExperimentsMutationPathParams, StopOnboardingExperimentsMutationQueryParams, StopOnboardingExperimentsOkResponse, StopOnboardingExperimentsProps, } from './hooks/useStopOnboardingExperimentsMutation';
|
|
131
|
+
export type { StopOnboardingExperimentsErrorResponse, StopOnboardingExperimentsMutationPathParams, StopOnboardingExperimentsMutationProps, StopOnboardingExperimentsMutationQueryParams, StopOnboardingExperimentsOkResponse, StopOnboardingExperimentsProps, } from './hooks/useStopOnboardingExperimentsMutation';
|
|
133
132
|
export { stopOnboardingExperiments, useStopOnboardingExperimentsMutation, } from './hooks/useStopOnboardingExperimentsMutation';
|
|
134
|
-
export type { UpdateChaosV2CronExperimentErrorResponse, UpdateChaosV2CronExperimentMutationQueryParams, UpdateChaosV2CronExperimentOkResponse, UpdateChaosV2CronExperimentProps, UpdateChaosV2CronExperimentRequestBody, } from './hooks/useUpdateChaosV2CronExperimentMutation';
|
|
133
|
+
export type { UpdateChaosV2CronExperimentErrorResponse, UpdateChaosV2CronExperimentMutationProps, UpdateChaosV2CronExperimentMutationQueryParams, UpdateChaosV2CronExperimentOkResponse, UpdateChaosV2CronExperimentProps, UpdateChaosV2CronExperimentRequestBody, } from './hooks/useUpdateChaosV2CronExperimentMutation';
|
|
135
134
|
export { updateChaosV2CronExperiment, useUpdateChaosV2CronExperimentMutation, } from './hooks/useUpdateChaosV2CronExperimentMutation';
|
|
136
|
-
export type { UpdateGamedayRunPrerequisitesV2ErrorResponse, UpdateGamedayRunPrerequisitesV2MutationPathParams, UpdateGamedayRunPrerequisitesV2MutationQueryParams, UpdateGamedayRunPrerequisitesV2OkResponse, UpdateGamedayRunPrerequisitesV2Props, UpdateGamedayRunPrerequisitesV2RequestBody, } from './hooks/useUpdateGamedayRunPrerequisitesV2Mutation';
|
|
135
|
+
export type { UpdateGamedayRunPrerequisitesV2ErrorResponse, UpdateGamedayRunPrerequisitesV2MutationPathParams, UpdateGamedayRunPrerequisitesV2MutationProps, UpdateGamedayRunPrerequisitesV2MutationQueryParams, UpdateGamedayRunPrerequisitesV2OkResponse, UpdateGamedayRunPrerequisitesV2Props, UpdateGamedayRunPrerequisitesV2RequestBody, } from './hooks/useUpdateGamedayRunPrerequisitesV2Mutation';
|
|
137
136
|
export { updateGamedayRunPrerequisitesV2, useUpdateGamedayRunPrerequisitesV2Mutation, } from './hooks/useUpdateGamedayRunPrerequisitesV2Mutation';
|
|
138
|
-
export type { UpdateGamedayRunStakeHolderActionsV2ErrorResponse, UpdateGamedayRunStakeHolderActionsV2MutationPathParams, UpdateGamedayRunStakeHolderActionsV2MutationQueryParams, UpdateGamedayRunStakeHolderActionsV2OkResponse, UpdateGamedayRunStakeHolderActionsV2Props, UpdateGamedayRunStakeHolderActionsV2RequestBody, } from './hooks/useUpdateGamedayRunStakeHolderActionsV2Mutation';
|
|
137
|
+
export type { UpdateGamedayRunStakeHolderActionsV2ErrorResponse, UpdateGamedayRunStakeHolderActionsV2MutationPathParams, UpdateGamedayRunStakeHolderActionsV2MutationProps, UpdateGamedayRunStakeHolderActionsV2MutationQueryParams, UpdateGamedayRunStakeHolderActionsV2OkResponse, UpdateGamedayRunStakeHolderActionsV2Props, UpdateGamedayRunStakeHolderActionsV2RequestBody, } from './hooks/useUpdateGamedayRunStakeHolderActionsV2Mutation';
|
|
139
138
|
export { updateGamedayRunStakeHolderActionsV2, useUpdateGamedayRunStakeHolderActionsV2Mutation, } from './hooks/useUpdateGamedayRunStakeHolderActionsV2Mutation';
|
|
140
|
-
export type { UpdateGamedayRunV2ErrorResponse, UpdateGamedayRunV2MutationPathParams, UpdateGamedayRunV2MutationQueryParams, UpdateGamedayRunV2OkResponse, UpdateGamedayRunV2Props, UpdateGamedayRunV2RequestBody, } from './hooks/useUpdateGamedayRunV2Mutation';
|
|
139
|
+
export type { UpdateGamedayRunV2ErrorResponse, UpdateGamedayRunV2MutationPathParams, UpdateGamedayRunV2MutationProps, UpdateGamedayRunV2MutationQueryParams, UpdateGamedayRunV2OkResponse, UpdateGamedayRunV2Props, UpdateGamedayRunV2RequestBody, } from './hooks/useUpdateGamedayRunV2Mutation';
|
|
141
140
|
export { updateGamedayRunV2, useUpdateGamedayRunV2Mutation, } from './hooks/useUpdateGamedayRunV2Mutation';
|
|
142
|
-
export type { UpdateGamedayV2ErrorResponse, UpdateGamedayV2MutationQueryParams, UpdateGamedayV2OkResponse, UpdateGamedayV2Props, UpdateGamedayV2RequestBody, } from './hooks/useUpdateGamedayV2Mutation';
|
|
141
|
+
export type { UpdateGamedayV2ErrorResponse, UpdateGamedayV2MutationProps, UpdateGamedayV2MutationQueryParams, UpdateGamedayV2OkResponse, UpdateGamedayV2Props, UpdateGamedayV2RequestBody, } from './hooks/useUpdateGamedayV2Mutation';
|
|
143
142
|
export { updateGamedayV2, useUpdateGamedayV2Mutation } from './hooks/useUpdateGamedayV2Mutation';
|
|
144
|
-
export type { UpdateInfraV2ErrorResponse, UpdateInfraV2MutationQueryParams, UpdateInfraV2OkResponse, UpdateInfraV2Props, UpdateInfraV2RequestBody, } from './hooks/useUpdateInfraV2Mutation';
|
|
143
|
+
export type { UpdateInfraV2ErrorResponse, UpdateInfraV2MutationProps, UpdateInfraV2MutationQueryParams, UpdateInfraV2OkResponse, UpdateInfraV2Props, UpdateInfraV2RequestBody, } from './hooks/useUpdateInfraV2Mutation';
|
|
145
144
|
export { updateInfraV2, useUpdateInfraV2Mutation } from './hooks/useUpdateInfraV2Mutation';
|
|
146
|
-
export type { UpdateInputSetErrorResponse, UpdateInputSetMutationPathParams, UpdateInputSetMutationQueryParams, UpdateInputSetOkResponse, UpdateInputSetProps, UpdateInputSetRequestBody, } from './hooks/useUpdateInputSetMutation';
|
|
145
|
+
export type { UpdateInputSetErrorResponse, UpdateInputSetMutationPathParams, UpdateInputSetMutationProps, UpdateInputSetMutationQueryParams, UpdateInputSetOkResponse, UpdateInputSetProps, UpdateInputSetRequestBody, } from './hooks/useUpdateInputSetMutation';
|
|
147
146
|
export { updateInputSet, useUpdateInputSetMutation } from './hooks/useUpdateInputSetMutation';
|
|
148
|
-
export type { UpdateNoteErrorResponse, UpdateNoteMutationQueryParams, UpdateNoteOkResponse, UpdateNoteProps, UpdateNoteRequestBody, } from './hooks/useUpdateNoteMutation';
|
|
147
|
+
export type { UpdateNoteErrorResponse, UpdateNoteMutationProps, UpdateNoteMutationQueryParams, UpdateNoteOkResponse, UpdateNoteProps, UpdateNoteRequestBody, } from './hooks/useUpdateNoteMutation';
|
|
149
148
|
export { updateNote, useUpdateNoteMutation } from './hooks/useUpdateNoteMutation';
|
|
150
149
|
export type { InfraV2ListKubernetesInfraV2RequestRequestBody } from './requestBodies/InfraV2ListKubernetesInfraV2RequestRequestBody';
|
|
151
150
|
export type { ApiGetHarnessInfrastructureResponse } from './schemas/ApiGetHarnessInfrastructureResponse';
|