@harnessio/react-chaos-manager-client 0.2.0 → 0.4.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/index.d.ts +1 -1
- package/dist/chaos-manager/src/index.js +1 -1
- 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/useCreateProbeMutation.d.ts +27 -0
- package/dist/chaos-manager/src/services/hooks/useCreateProbeMutation.js +14 -0
- 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/useGetProbeManifestQuery.d.ts +25 -0
- package/dist/chaos-manager/src/services/hooks/useGetProbeManifestQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useGetProbeQuery.d.ts +26 -0
- package/dist/chaos-manager/src/services/hooks/useGetProbeQuery.js +14 -0
- 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/useListProbesQuery.d.ts +40 -0
- package/dist/chaos-manager/src/services/hooks/useListProbesQuery.js +14 -0
- 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/hooks/useUpdateProbeMutation.d.ts +30 -0
- package/dist/chaos-manager/src/services/hooks/useUpdateProbeMutation.js +14 -0
- package/dist/chaos-manager/src/services/index.d.ts +171 -35
- package/dist/chaos-manager/src/services/index.js +5 -0
- package/dist/chaos-manager/src/services/requestBodies/TypesProbeRequestRequestBody.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExperimentChaosExperimentRequest.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgChaosV2ProbesTypesProbeVerdict.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgChaosV2ProbesTypesProbeVerdict.js +4 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgChaosV2ProbesTypesTlsConfig.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgChaosV2ProbesTypesTlsConfig.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ProbeAuthorization.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/ProbeAuthorization.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ProbeComparator.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/ProbeComparator.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ProbeDatadogMetrics.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/ProbeDatadogMetrics.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ProbeDatadogSyntheticsTestType.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/ProbeDatadogSyntheticsTestType.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ProbeGet.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/ProbeGet.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ProbeHeaders.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/ProbeHeaders.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ProbeK8SProbe.d.ts +18 -0
- package/dist/chaos-manager/src/services/schemas/ProbeK8SProbe.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ProbeKubernetesCmdProbe.d.ts +15 -0
- package/dist/chaos-manager/src/services/schemas/ProbeKubernetesCmdProbe.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ProbeKubernetesDatadogProbe.d.ts +16 -0
- package/dist/chaos-manager/src/services/schemas/ProbeKubernetesDatadogProbe.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ProbeKubernetesDynatraceProbe.d.ts +17 -0
- package/dist/chaos-manager/src/services/schemas/ProbeKubernetesDynatraceProbe.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ProbeKubernetesHttpProbe.d.ts +19 -0
- package/dist/chaos-manager/src/services/schemas/ProbeKubernetesHttpProbe.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ProbeLinuxCmdProbe.d.ts +13 -0
- package/dist/chaos-manager/src/services/schemas/ProbeLinuxCmdProbe.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ProbeLinuxDatadogProbe.d.ts +13 -0
- package/dist/chaos-manager/src/services/schemas/ProbeLinuxDatadogProbe.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ProbeLinuxDynatraceProbe.d.ts +14 -0
- package/dist/chaos-manager/src/services/schemas/ProbeLinuxDynatraceProbe.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ProbeLinuxHttpProbe.d.ts +17 -0
- package/dist/chaos-manager/src/services/schemas/ProbeLinuxHttpProbe.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ProbeMethod.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/ProbeMethod.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ProbeMetrics.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/ProbeMetrics.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ProbePost.d.ts +8 -0
- package/dist/chaos-manager/src/services/schemas/ProbePost.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ProbePromProbe.d.ts +19 -0
- package/dist/chaos-manager/src/services/schemas/ProbePromProbe.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ProbeSloProbe.d.ts +20 -0
- package/dist/chaos-manager/src/services/schemas/ProbeSloProbe.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ProbeSyntheticsTest.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/ProbeSyntheticsTest.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ProbeTlsConfig.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/ProbeTlsConfig.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ProbeWindowsHttpProbe.d.ts +17 -0
- package/dist/chaos-manager/src/services/schemas/ProbeWindowsHttpProbe.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ResourceQuantity.d.ts +3 -0
- package/dist/chaos-manager/src/services/schemas/ResourceQuantity.js +4 -0
- package/dist/chaos-manager/src/services/schemas/TypesAuthorization.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/TypesAuthorization.js +4 -0
- package/dist/chaos-manager/src/services/schemas/TypesCmdProbe.d.ts +9 -0
- package/dist/chaos-manager/src/services/schemas/TypesCmdProbe.js +1 -0
- package/dist/chaos-manager/src/services/schemas/TypesCreateProbeResponse.d.ts +31 -0
- package/dist/chaos-manager/src/services/schemas/TypesCreateProbeResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/TypesDatadogProbe.d.ts +8 -0
- package/dist/chaos-manager/src/services/schemas/TypesDatadogProbe.js +1 -0
- package/dist/chaos-manager/src/services/schemas/TypesDynatraceProbe.d.ts +9 -0
- package/dist/chaos-manager/src/services/schemas/TypesDynatraceProbe.js +1 -0
- package/dist/chaos-manager/src/services/schemas/TypesExecutedByExperiment.d.ts +11 -0
- package/dist/chaos-manager/src/services/schemas/TypesExecutedByExperiment.js +1 -0
- package/dist/chaos-manager/src/services/schemas/TypesExperimentCreationRequest.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/TypesGet.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/TypesGet.js +4 -0
- package/dist/chaos-manager/src/services/schemas/TypesGetProbeResponse.d.ts +36 -0
- package/dist/chaos-manager/src/services/schemas/TypesGetProbeResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/TypesHeaders.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/TypesHeaders.js +4 -0
- package/dist/chaos-manager/src/services/schemas/TypesHttpProbe.d.ts +11 -0
- package/dist/chaos-manager/src/services/schemas/TypesHttpProbe.js +1 -0
- package/dist/chaos-manager/src/services/schemas/TypesInfrastructureType.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/TypesInfrastructureType.js +4 -0
- package/dist/chaos-manager/src/services/schemas/TypesK8SProbe.d.ts +10 -0
- package/dist/chaos-manager/src/services/schemas/TypesK8SProbe.js +4 -0
- package/dist/chaos-manager/src/services/schemas/TypesListProbeResponse.d.ts +7 -0
- package/dist/chaos-manager/src/services/schemas/TypesListProbeResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/TypesMethod.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/TypesMethod.js +1 -0
- package/dist/chaos-manager/src/services/schemas/TypesPost.d.ts +8 -0
- package/dist/chaos-manager/src/services/schemas/TypesPost.js +4 -0
- package/dist/chaos-manager/src/services/schemas/TypesProbeRecentExecutions.d.ts +7 -0
- package/dist/chaos-manager/src/services/schemas/TypesProbeRecentExecutions.js +1 -0
- package/dist/chaos-manager/src/services/schemas/TypesProbeRequest.d.ts +31 -0
- package/dist/chaos-manager/src/services/schemas/TypesProbeRequest.js +1 -0
- package/dist/chaos-manager/src/services/schemas/TypesProbeType.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/TypesProbeType.js +4 -0
- package/dist/chaos-manager/src/services/schemas/TypesPromProbe.d.ts +11 -0
- package/dist/chaos-manager/src/services/schemas/TypesPromProbe.js +1 -0
- package/dist/chaos-manager/src/services/schemas/TypesRunProperties.d.ts +10 -0
- package/dist/chaos-manager/src/services/schemas/TypesRunProperties.js +4 -0
- package/dist/chaos-manager/src/services/schemas/TypesScenarioType.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/TypesScenarioType.js +4 -0
- package/dist/chaos-manager/src/services/schemas/TypesSloProbe.d.ts +12 -0
- package/dist/chaos-manager/src/services/schemas/TypesSloProbe.js +1 -0
- package/dist/chaos-manager/src/services/schemas/TypesStatus.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/TypesStatus.js +1 -0
- package/dist/chaos-manager/src/services/schemas/TypesUserDetails.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/TypesUserDetails.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1AwsElasticBlockStoreVolumeSource.d.ts +31 -0
- package/dist/chaos-manager/src/services/schemas/V1AwsElasticBlockStoreVolumeSource.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1AzureDataDiskCachingMode.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/V1AzureDataDiskCachingMode.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1AzureDataDiskKind.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/V1AzureDataDiskKind.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1AzureDiskVolumeSource.d.ts +34 -0
- package/dist/chaos-manager/src/services/schemas/V1AzureDiskVolumeSource.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1AzureFileVolumeSource.d.ts +16 -0
- package/dist/chaos-manager/src/services/schemas/V1AzureFileVolumeSource.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1CephFsVolumeSource.d.ts +38 -0
- package/dist/chaos-manager/src/services/schemas/V1CephFsVolumeSource.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1CinderVolumeSource.d.ts +29 -0
- package/dist/chaos-manager/src/services/schemas/V1CinderVolumeSource.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1ConfigMapKeySelector.d.ts +18 -0
- package/dist/chaos-manager/src/services/schemas/V1ConfigMapKeySelector.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1ConfigMapProjection.d.ts +26 -0
- package/dist/chaos-manager/src/services/schemas/V1ConfigMapProjection.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1ConfigMapVolumeSource.d.ts +37 -0
- package/dist/chaos-manager/src/services/schemas/V1ConfigMapVolumeSource.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1CsiVolumeSource.d.ts +38 -0
- package/dist/chaos-manager/src/services/schemas/V1CsiVolumeSource.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1DownwardApiProjection.d.ts +8 -0
- package/dist/chaos-manager/src/services/schemas/V1DownwardApiProjection.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1DownwardApiVolumeFile.d.ts +29 -0
- package/dist/chaos-manager/src/services/schemas/V1DownwardApiVolumeFile.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1DownwardApiVolumeSource.d.ts +20 -0
- package/dist/chaos-manager/src/services/schemas/V1DownwardApiVolumeSource.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1EmptyDirVolumeSource.d.ts +22 -0
- package/dist/chaos-manager/src/services/schemas/V1EmptyDirVolumeSource.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1EnvVar.d.ts +24 -0
- package/dist/chaos-manager/src/services/schemas/V1EnvVar.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1EnvVarSource.d.ts +28 -0
- package/dist/chaos-manager/src/services/schemas/V1EnvVarSource.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1EphemeralVolumeSource.d.ts +27 -0
- package/dist/chaos-manager/src/services/schemas/V1EphemeralVolumeSource.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1EvaluationWindow.d.ts +10 -0
- package/dist/chaos-manager/src/services/schemas/V1EvaluationWindow.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1FcVolumeSource.d.ts +32 -0
- package/dist/chaos-manager/src/services/schemas/V1FcVolumeSource.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1FieldsV1.d.ts +3 -0
- package/dist/chaos-manager/src/services/schemas/V1FieldsV1.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1FlexVolumeSource.d.ts +36 -0
- package/dist/chaos-manager/src/services/schemas/V1FlexVolumeSource.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1FlockerVolumeSource.d.ts +13 -0
- package/dist/chaos-manager/src/services/schemas/V1FlockerVolumeSource.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1GcePersistentDiskVolumeSource.d.ts +32 -0
- package/dist/chaos-manager/src/services/schemas/V1GcePersistentDiskVolumeSource.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1GitRepoVolumeSource.d.ts +19 -0
- package/dist/chaos-manager/src/services/schemas/V1GitRepoVolumeSource.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1GlusterfsVolumeSource.d.ts +19 -0
- package/dist/chaos-manager/src/services/schemas/V1GlusterfsVolumeSource.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1HostPathType.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/V1HostPathType.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1HostPathVolumeSource.d.ts +16 -0
- package/dist/chaos-manager/src/services/schemas/V1HostPathVolumeSource.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1Identifier.d.ts +14 -0
- package/dist/chaos-manager/src/services/schemas/V1Identifier.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1IscsiVolumeSource.d.ts +65 -0
- package/dist/chaos-manager/src/services/schemas/V1IscsiVolumeSource.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1KeyToPath.d.ts +23 -0
- package/dist/chaos-manager/src/services/schemas/V1KeyToPath.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1LabelSelector.d.ts +17 -0
- package/dist/chaos-manager/src/services/schemas/V1LabelSelector.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1LabelSelectorOperator.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/V1LabelSelectorOperator.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1LabelSelectorRequirement.d.ts +22 -0
- package/dist/chaos-manager/src/services/schemas/V1LabelSelectorRequirement.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1LocalObjectReference.d.ts +9 -0
- package/dist/chaos-manager/src/services/schemas/V1LocalObjectReference.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1ManagedFieldsEntry.d.ts +35 -0
- package/dist/chaos-manager/src/services/schemas/V1ManagedFieldsEntry.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1ManagedFieldsOperationType.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/V1ManagedFieldsOperationType.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1NfsVolumeSource.d.ts +20 -0
- package/dist/chaos-manager/src/services/schemas/V1NfsVolumeSource.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1ObjectFieldSelector.d.ts +11 -0
- package/dist/chaos-manager/src/services/schemas/V1ObjectFieldSelector.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1ObjectMeta.d.ts +196 -0
- package/dist/chaos-manager/src/services/schemas/V1ObjectMeta.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1PersistentVolumeAccessMode.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/V1PersistentVolumeAccessMode.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1PersistentVolumeClaimSpec.d.ts +53 -0
- package/dist/chaos-manager/src/services/schemas/V1PersistentVolumeClaimSpec.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1PersistentVolumeClaimTemplate.d.ts +19 -0
- package/dist/chaos-manager/src/services/schemas/V1PersistentVolumeClaimTemplate.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1PersistentVolumeClaimVolumeSource.d.ts +13 -0
- package/dist/chaos-manager/src/services/schemas/V1PersistentVolumeClaimVolumeSource.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1PersistentVolumeMode.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/V1PersistentVolumeMode.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1PhotonPersistentDiskVolumeSource.d.ts +12 -0
- package/dist/chaos-manager/src/services/schemas/V1PhotonPersistentDiskVolumeSource.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1PortworxVolumeSource.d.ts +18 -0
- package/dist/chaos-manager/src/services/schemas/V1PortworxVolumeSource.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1ProjectedVolumeSource.d.ts +18 -0
- package/dist/chaos-manager/src/services/schemas/V1ProjectedVolumeSource.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1QuobyteVolumeSource.d.ts +36 -0
- package/dist/chaos-manager/src/services/schemas/V1QuobyteVolumeSource.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1RbdVolumeSource.d.ts +58 -0
- package/dist/chaos-manager/src/services/schemas/V1RbdVolumeSource.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1ResourceFieldSelector.d.ts +17 -0
- package/dist/chaos-manager/src/services/schemas/V1ResourceFieldSelector.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1ResourceList.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/V1ResourceList.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1ResourceRequirements.d.ts +17 -0
- package/dist/chaos-manager/src/services/schemas/V1ResourceRequirements.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1ScaleIoVolumeSource.d.ts +56 -0
- package/dist/chaos-manager/src/services/schemas/V1ScaleIoVolumeSource.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1SecretKeySelector.d.ts +18 -0
- package/dist/chaos-manager/src/services/schemas/V1SecretKeySelector.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1SecretProjection.d.ts +26 -0
- package/dist/chaos-manager/src/services/schemas/V1SecretProjection.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1SecretVolumeSource.d.ts +36 -0
- package/dist/chaos-manager/src/services/schemas/V1SecretVolumeSource.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1ServiceAccountTokenProjection.d.ts +25 -0
- package/dist/chaos-manager/src/services/schemas/V1ServiceAccountTokenProjection.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1SloSourceMetadata.d.ts +11 -0
- package/dist/chaos-manager/src/services/schemas/V1SloSourceMetadata.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1SourceDetails.d.ts +73 -0
- package/dist/chaos-manager/src/services/schemas/V1SourceDetails.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1StorageMedium.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/V1StorageMedium.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1StorageOsVolumeSource.d.ts +37 -0
- package/dist/chaos-manager/src/services/schemas/V1StorageOsVolumeSource.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1TypedLocalObjectReference.d.ts +17 -0
- package/dist/chaos-manager/src/services/schemas/V1TypedLocalObjectReference.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1Volume.d.ts +232 -0
- package/dist/chaos-manager/src/services/schemas/V1Volume.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1VolumeProjection.d.ts +26 -0
- package/dist/chaos-manager/src/services/schemas/V1VolumeProjection.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1VsphereVirtualDiskVolumeSource.d.ts +23 -0
- package/dist/chaos-manager/src/services/schemas/V1VsphereVirtualDiskVolumeSource.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1alpha1ConfigMapKeySelector.d.ts +18 -0
- package/dist/chaos-manager/src/services/schemas/V1alpha1ConfigMapKeySelector.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1alpha1ConfigMapVolumeSource.d.ts +37 -0
- package/dist/chaos-manager/src/services/schemas/V1alpha1ConfigMapVolumeSource.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1alpha1EnvVar.d.ts +24 -0
- package/dist/chaos-manager/src/services/schemas/V1alpha1EnvVar.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1alpha1EnvVarSource.d.ts +21 -0
- package/dist/chaos-manager/src/services/schemas/V1alpha1EnvVarSource.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1alpha1KeyToPath.d.ts +23 -0
- package/dist/chaos-manager/src/services/schemas/V1alpha1KeyToPath.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1alpha1ObjectFieldSelector.d.ts +11 -0
- package/dist/chaos-manager/src/services/schemas/V1alpha1ObjectFieldSelector.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1alpha1SecretKeySelector.d.ts +18 -0
- package/dist/chaos-manager/src/services/schemas/V1alpha1SecretKeySelector.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1alpha1SecretVolumeSource.d.ts +36 -0
- package/dist/chaos-manager/src/services/schemas/V1alpha1SecretVolumeSource.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1alpha1SourceDetails.d.ts +48 -0
- package/dist/chaos-manager/src/services/schemas/V1alpha1SourceDetails.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1alpha1Volume.d.ts +21 -0
- package/dist/chaos-manager/src/services/schemas/V1alpha1Volume.js +1 -0
- package/dist/{fetcher → custom-fetcher}/index.d.ts +6 -1
- package/dist/{fetcher → custom-fetcher}/index.js +8 -22
- package/package.json +1 -1
- package/dist/chaos-manager/src/services/helpers.d.ts +0 -14
- /package/dist/chaos-manager/src/services/{helpers.js → requestBodies/TypesProbeRequestRequestBody.js} +0 -0
|
@@ -2,8 +2,7 @@ import { UseMutationOptions } from '@tanstack/react-query';
|
|
|
2
2
|
import type { ModelListInfraResponse } from '../schemas/ModelListInfraResponse';
|
|
3
3
|
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
4
|
import type { ModelListInfraRequest } from '../schemas/ModelListInfraRequest';
|
|
5
|
-
import
|
|
6
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
7
6
|
export interface ListK8sInfrasV2MutationQueryParams {
|
|
8
7
|
correlationID?: string;
|
|
9
8
|
accountIdentifier: string;
|
|
@@ -11,15 +10,20 @@ export interface ListK8sInfrasV2MutationQueryParams {
|
|
|
11
10
|
projectIdentifier: string;
|
|
12
11
|
}
|
|
13
12
|
export type ListK8sInfrasV2RequestBody = ModelListInfraRequest;
|
|
14
|
-
export type ListK8sInfrasV2OkResponse =
|
|
13
|
+
export type ListK8sInfrasV2OkResponse = ModelListInfraResponse;
|
|
15
14
|
export type ListK8sInfrasV2ErrorResponse = ApiRestError;
|
|
16
15
|
export interface ListK8sInfrasV2Props extends Omit<FetcherOptions<ListK8sInfrasV2MutationQueryParams, ListK8sInfrasV2RequestBody>, 'url'> {
|
|
17
16
|
queryParams: ListK8sInfrasV2MutationQueryParams;
|
|
18
17
|
body: ListK8sInfrasV2RequestBody;
|
|
19
18
|
}
|
|
20
|
-
export
|
|
19
|
+
export interface ListK8sInfrasV2ResponseContainer {
|
|
20
|
+
body: ListK8sInfrasV2OkResponse;
|
|
21
|
+
headers: Headers;
|
|
22
|
+
}
|
|
23
|
+
export declare function listK8sInfrasV2(props: ListK8sInfrasV2Props): Promise<ListK8sInfrasV2ResponseContainer>;
|
|
24
|
+
export type ListK8sInfrasV2MutationProps<T extends keyof ListK8sInfrasV2Props> = Omit<ListK8sInfrasV2Props, T> & Partial<Pick<ListK8sInfrasV2Props, T>>;
|
|
21
25
|
/**
|
|
22
26
|
* Get list of active unused connector
|
|
23
27
|
* @deprecated
|
|
24
28
|
*/
|
|
25
|
-
export declare function useListK8sInfrasV2Mutation(options?: Omit<UseMutationOptions<
|
|
29
|
+
export declare function useListK8sInfrasV2Mutation<T extends keyof ListK8sInfrasV2Props>(props: Pick<Partial<ListK8sInfrasV2Props>, T>, options?: Omit<UseMutationOptions<ListK8sInfrasV2ResponseContainer, ListK8sInfrasV2ErrorResponse, ListK8sInfrasV2MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ListK8sInfrasV2ResponseContainer, ApiRestError, ListK8sInfrasV2MutationProps<T>, unknown>;
|
|
@@ -2,7 +2,7 @@
|
|
|
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 listK8sInfrasV2(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/rest/v2/list-infras`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
@@ -10,6 +10,6 @@ export function listK8sInfrasV2(props) {
|
|
|
10
10
|
* Get list of active unused connector
|
|
11
11
|
* @deprecated
|
|
12
12
|
*/
|
|
13
|
-
export function useListK8sInfrasV2Mutation(options) {
|
|
14
|
-
return useMutation((mutateProps) => listK8sInfrasV2(mutateProps), options);
|
|
13
|
+
export function useListK8sInfrasV2Mutation(props, options) {
|
|
14
|
+
return useMutation((mutateProps) => listK8sInfrasV2(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
15
15
|
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { TypesListProbeResponse } from '../schemas/TypesListProbeResponse';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
+
export interface ListProbesQueryQueryParams {
|
|
6
|
+
accountIdentifier: string;
|
|
7
|
+
organizationIdentifier: string;
|
|
8
|
+
projectIdentifier: string;
|
|
9
|
+
name?: string;
|
|
10
|
+
tags?: string;
|
|
11
|
+
startDate?: string;
|
|
12
|
+
endDate?: string;
|
|
13
|
+
probeIDs?: string;
|
|
14
|
+
infrastructureType?: string;
|
|
15
|
+
/**
|
|
16
|
+
* @default 1
|
|
17
|
+
*/
|
|
18
|
+
page?: number;
|
|
19
|
+
/**
|
|
20
|
+
* @default 50
|
|
21
|
+
*/
|
|
22
|
+
limit?: number;
|
|
23
|
+
sortField?: 'ENABLED' | 'NAME' | 'TIME';
|
|
24
|
+
ascending?: boolean;
|
|
25
|
+
probeType?: Array<'cmdProbe' | 'datadogProbe' | 'dynatraceProbe' | 'httpProbe' | 'k8sProbe' | 'promProbe' | 'sloProbe'>;
|
|
26
|
+
}
|
|
27
|
+
export type ListProbesOkResponse = TypesListProbeResponse;
|
|
28
|
+
export type ListProbesErrorResponse = ApiRestError;
|
|
29
|
+
export interface ListProbesProps extends Omit<FetcherOptions<ListProbesQueryQueryParams, unknown>, 'url'> {
|
|
30
|
+
queryParams: ListProbesQueryQueryParams;
|
|
31
|
+
}
|
|
32
|
+
export interface ListProbesResponseContainer {
|
|
33
|
+
body: ListProbesOkResponse;
|
|
34
|
+
headers: Headers;
|
|
35
|
+
}
|
|
36
|
+
export declare function listProbes(props: ListProbesProps): Promise<ListProbesResponseContainer>;
|
|
37
|
+
/**
|
|
38
|
+
* Retrieve a list of probes based on various filters like name, tags, date range, and infrastructure type, with pagination support.
|
|
39
|
+
*/
|
|
40
|
+
export declare function useListProbesQuery(props: ListProbesProps, options?: Omit<UseQueryOptions<ListProbesResponseContainer, ListProbesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListProbesResponseContainer, ApiRestError>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export function listProbes(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/rest/v2/probes`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Retrieve a list of probes based on various filters like name, tags, date range, and infrastructure type, with pagination support.
|
|
11
|
+
*/
|
|
12
|
+
export function useListProbesQuery(props, options) {
|
|
13
|
+
return useQuery(['listProbes', props.queryParams], ({ signal }) => listProbes(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { NetworkmapListTargetServiceResponse } from '../schemas/NetworkmapListTargetServiceResponse';
|
|
3
3
|
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
-
import
|
|
5
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
5
|
export interface ListServiceQueryPathParams {
|
|
7
6
|
applicationmapid: string;
|
|
8
7
|
}
|
|
@@ -22,13 +21,17 @@ export interface ListServiceQueryQueryParams {
|
|
|
22
21
|
limit: number;
|
|
23
22
|
search?: string;
|
|
24
23
|
}
|
|
25
|
-
export type ListServiceOkResponse =
|
|
24
|
+
export type ListServiceOkResponse = NetworkmapListTargetServiceResponse;
|
|
26
25
|
export type ListServiceErrorResponse = ApiRestError;
|
|
27
26
|
export interface ListServiceProps extends ListServiceQueryPathParams, Omit<FetcherOptions<ListServiceQueryQueryParams, unknown>, 'url'> {
|
|
28
27
|
queryParams: ListServiceQueryQueryParams;
|
|
29
28
|
}
|
|
30
|
-
export
|
|
29
|
+
export interface ListServiceResponseContainer {
|
|
30
|
+
body: ListServiceOkResponse;
|
|
31
|
+
headers: Headers;
|
|
32
|
+
}
|
|
33
|
+
export declare function listService(props: ListServiceProps): Promise<ListServiceResponseContainer>;
|
|
31
34
|
/**
|
|
32
35
|
* Get target discovered service with chaos context
|
|
33
36
|
*/
|
|
34
|
-
export declare function useListServiceQuery(props: ListServiceProps, options?: Omit<UseQueryOptions<
|
|
37
|
+
export declare function useListServiceQuery(props: ListServiceProps, options?: Omit<UseQueryOptions<ListServiceResponseContainer, ListServiceErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListServiceResponseContainer, ApiRestError>;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
3
|
// Please do not modify this code directly.
|
|
4
4
|
import { useQuery } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../fetcher/index.js';
|
|
5
|
+
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export function listService(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/rest/v2/applicationmaps/${props.applicationmapid}/targetservices`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
@@ -2,8 +2,7 @@ import { UseQueryOptions } from '@tanstack/react-query';
|
|
|
2
2
|
import type { NetworkmapListTargetNetworkMapResponse } from '../schemas/NetworkmapListTargetNetworkMapResponse';
|
|
3
3
|
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
4
|
import type { NetworkmapListTargetNetworkMapRequest } from '../schemas/NetworkmapListTargetNetworkMapRequest';
|
|
5
|
-
import
|
|
6
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
7
6
|
export interface ListTargetNetworkMapsQueryQueryParams {
|
|
8
7
|
accountIdentifier: string;
|
|
9
8
|
organizationIdentifier: string;
|
|
@@ -19,14 +18,18 @@ export interface ListTargetNetworkMapsQueryQueryParams {
|
|
|
19
18
|
search?: string;
|
|
20
19
|
}
|
|
21
20
|
export type ListTargetNetworkMapsRequestBody = NetworkmapListTargetNetworkMapRequest;
|
|
22
|
-
export type ListTargetNetworkMapsOkResponse =
|
|
21
|
+
export type ListTargetNetworkMapsOkResponse = NetworkmapListTargetNetworkMapResponse;
|
|
23
22
|
export type ListTargetNetworkMapsErrorResponse = ApiRestError;
|
|
24
23
|
export interface ListTargetNetworkMapsProps extends Omit<FetcherOptions<ListTargetNetworkMapsQueryQueryParams, ListTargetNetworkMapsRequestBody>, 'url'> {
|
|
25
24
|
queryParams: ListTargetNetworkMapsQueryQueryParams;
|
|
26
25
|
body: ListTargetNetworkMapsRequestBody;
|
|
27
26
|
}
|
|
28
|
-
export
|
|
27
|
+
export interface ListTargetNetworkMapsResponseContainer {
|
|
28
|
+
body: ListTargetNetworkMapsOkResponse;
|
|
29
|
+
headers: Headers;
|
|
30
|
+
}
|
|
31
|
+
export declare function listTargetNetworkMaps(props: ListTargetNetworkMapsProps): Promise<ListTargetNetworkMapsResponseContainer>;
|
|
29
32
|
/**
|
|
30
33
|
* List target network maps with chaos context
|
|
31
34
|
*/
|
|
32
|
-
export declare function useListTargetNetworkMapsQuery(props: ListTargetNetworkMapsProps, options?: Omit<UseQueryOptions<
|
|
35
|
+
export declare function useListTargetNetworkMapsQuery(props: ListTargetNetworkMapsProps, options?: Omit<UseQueryOptions<ListTargetNetworkMapsResponseContainer, ListTargetNetworkMapsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListTargetNetworkMapsResponseContainer, ApiRestError>;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
3
|
// Please do not modify this code directly.
|
|
4
4
|
import { useQuery } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../fetcher/index.js';
|
|
5
|
+
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export function listTargetNetworkMaps(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/rest/v2/applicationmaps`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { V2OnboardingV2OnboardingList } from '../schemas/V2OnboardingV2OnboardingList';
|
|
3
3
|
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
-
import
|
|
5
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
5
|
export interface ListV2OnboardingQueryQueryParams {
|
|
7
6
|
/**
|
|
8
7
|
* @default 0
|
|
@@ -18,13 +17,17 @@ export interface ListV2OnboardingQueryQueryParams {
|
|
|
18
17
|
projectIdentifier: string;
|
|
19
18
|
search: string;
|
|
20
19
|
}
|
|
21
|
-
export type ListV2OnboardingOkResponse =
|
|
20
|
+
export type ListV2OnboardingOkResponse = V2OnboardingV2OnboardingList;
|
|
22
21
|
export type ListV2OnboardingErrorResponse = ApiRestError;
|
|
23
22
|
export interface ListV2OnboardingProps extends Omit<FetcherOptions<ListV2OnboardingQueryQueryParams, unknown>, 'url'> {
|
|
24
23
|
queryParams: ListV2OnboardingQueryQueryParams;
|
|
25
24
|
}
|
|
26
|
-
export
|
|
25
|
+
export interface ListV2OnboardingResponseContainer {
|
|
26
|
+
body: ListV2OnboardingOkResponse;
|
|
27
|
+
headers: Headers;
|
|
28
|
+
}
|
|
29
|
+
export declare function listV2Onboarding(props: ListV2OnboardingProps): Promise<ListV2OnboardingResponseContainer>;
|
|
27
30
|
/**
|
|
28
31
|
* Get V2 Onboarding
|
|
29
32
|
*/
|
|
30
|
-
export declare function useListV2OnboardingQuery(props: ListV2OnboardingProps, options?: Omit<UseQueryOptions<
|
|
33
|
+
export declare function useListV2OnboardingQuery(props: ListV2OnboardingProps, options?: Omit<UseQueryOptions<ListV2OnboardingResponseContainer, ListV2OnboardingErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListV2OnboardingResponseContainer, ApiRestError>;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
3
|
// Please do not modify this code directly.
|
|
4
4
|
import { useQuery } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../fetcher/index.js';
|
|
5
|
+
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export function listV2Onboarding(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/rest/v2/onboarding`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ChaosfaulttemplateFaultTemplateVariables } from '../schemas/ChaosfaulttemplateFaultTemplateVariables';
|
|
3
|
-
import
|
|
4
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
3
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
4
|
export interface ListVariablesInFaultTemplateQueryPathParams {
|
|
6
5
|
faultName: string;
|
|
7
6
|
}
|
|
@@ -12,13 +11,17 @@ export interface ListVariablesInFaultTemplateQueryQueryParams {
|
|
|
12
11
|
hubIdentity: string;
|
|
13
12
|
revision: string;
|
|
14
13
|
}
|
|
15
|
-
export type ListVariablesInFaultTemplateOkResponse =
|
|
14
|
+
export type ListVariablesInFaultTemplateOkResponse = ChaosfaulttemplateFaultTemplateVariables;
|
|
16
15
|
export type ListVariablesInFaultTemplateErrorResponse = unknown;
|
|
17
16
|
export interface ListVariablesInFaultTemplateProps extends ListVariablesInFaultTemplateQueryPathParams, Omit<FetcherOptions<ListVariablesInFaultTemplateQueryQueryParams, unknown>, 'url'> {
|
|
18
17
|
queryParams: ListVariablesInFaultTemplateQueryQueryParams;
|
|
19
18
|
}
|
|
20
|
-
export
|
|
19
|
+
export interface ListVariablesInFaultTemplateResponseContainer {
|
|
20
|
+
body: ListVariablesInFaultTemplateOkResponse;
|
|
21
|
+
headers: Headers;
|
|
22
|
+
}
|
|
23
|
+
export declare function listVariablesInFaultTemplate(props: ListVariablesInFaultTemplateProps): Promise<ListVariablesInFaultTemplateResponseContainer>;
|
|
21
24
|
/**
|
|
22
25
|
* Get the list of variables in a fault template based on revision
|
|
23
26
|
*/
|
|
24
|
-
export declare function useListVariablesInFaultTemplateQuery(props: ListVariablesInFaultTemplateProps, options?: Omit<UseQueryOptions<
|
|
27
|
+
export declare function useListVariablesInFaultTemplateQuery(props: ListVariablesInFaultTemplateProps, options?: Omit<UseQueryOptions<ListVariablesInFaultTemplateResponseContainer, ListVariablesInFaultTemplateErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListVariablesInFaultTemplateResponseContainer, unknown>;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
3
|
// Please do not modify this code directly.
|
|
4
4
|
import { useQuery } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../fetcher/index.js';
|
|
5
|
+
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export function listVariablesInFaultTemplate(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/rest/templates/faults/${props.faultName}/variables`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { V2OnboardingConfirmDiscoveryResponse } from '../schemas/V2OnboardingConfirmDiscoveryResponse';
|
|
3
3
|
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
-
import
|
|
5
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
5
|
export interface OnboardingConfirmDiscoveryMutationPathParams {
|
|
7
6
|
onboardingid: string;
|
|
8
7
|
}
|
|
@@ -12,13 +11,18 @@ export interface OnboardingConfirmDiscoveryMutationQueryParams {
|
|
|
12
11
|
organizationIdentifier: string;
|
|
13
12
|
projectIdentifier: string;
|
|
14
13
|
}
|
|
15
|
-
export type OnboardingConfirmDiscoveryOkResponse =
|
|
14
|
+
export type OnboardingConfirmDiscoveryOkResponse = V2OnboardingConfirmDiscoveryResponse;
|
|
16
15
|
export type OnboardingConfirmDiscoveryErrorResponse = ApiRestError;
|
|
17
16
|
export interface OnboardingConfirmDiscoveryProps extends OnboardingConfirmDiscoveryMutationPathParams, Omit<FetcherOptions<OnboardingConfirmDiscoveryMutationQueryParams, unknown>, 'url'> {
|
|
18
17
|
queryParams: OnboardingConfirmDiscoveryMutationQueryParams;
|
|
19
18
|
}
|
|
20
|
-
export
|
|
19
|
+
export interface OnboardingConfirmDiscoveryResponseContainer {
|
|
20
|
+
body: OnboardingConfirmDiscoveryOkResponse;
|
|
21
|
+
headers: Headers;
|
|
22
|
+
}
|
|
23
|
+
export declare function onboardingConfirmDiscovery(props: OnboardingConfirmDiscoveryProps): Promise<OnboardingConfirmDiscoveryResponseContainer>;
|
|
24
|
+
export type OnboardingConfirmDiscoveryMutationProps<T extends keyof OnboardingConfirmDiscoveryProps> = Omit<OnboardingConfirmDiscoveryProps, T> & Partial<Pick<OnboardingConfirmDiscoveryProps, T>>;
|
|
21
25
|
/**
|
|
22
26
|
* confirm discovery step in manual onboarding
|
|
23
27
|
*/
|
|
24
|
-
export declare function useOnboardingConfirmDiscoveryMutation(options?: Omit<UseMutationOptions<
|
|
28
|
+
export declare function useOnboardingConfirmDiscoveryMutation<T extends keyof OnboardingConfirmDiscoveryProps>(props: Pick<Partial<OnboardingConfirmDiscoveryProps>, T>, options?: Omit<UseMutationOptions<OnboardingConfirmDiscoveryResponseContainer, OnboardingConfirmDiscoveryErrorResponse, OnboardingConfirmDiscoveryMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<OnboardingConfirmDiscoveryResponseContainer, ApiRestError, OnboardingConfirmDiscoveryMutationProps<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 onboardingConfirmDiscovery(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/rest/v2/onboarding-confirm-discovery/${props.onboardingid}`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* confirm discovery step in manual onboarding
|
|
11
11
|
*/
|
|
12
|
-
export function useOnboardingConfirmDiscoveryMutation(options) {
|
|
13
|
-
return useMutation((mutateProps) => onboardingConfirmDiscovery(mutateProps), options);
|
|
12
|
+
export function useOnboardingConfirmDiscoveryMutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => onboardingConfirmDiscovery(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
14
|
}
|
package/dist/chaos-manager/src/services/hooks/useOnboardingConfirmExperimentCreationMutation.d.ts
CHANGED
|
@@ -2,8 +2,7 @@ import { UseMutationOptions } from '@tanstack/react-query';
|
|
|
2
2
|
import type { V2OnboardingConfirmExperimentCreationResponse } from '../schemas/V2OnboardingConfirmExperimentCreationResponse';
|
|
3
3
|
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
4
|
import type { V2OnboardingConfirmExperimentCreationRequest } from '../schemas/V2OnboardingConfirmExperimentCreationRequest';
|
|
5
|
-
import
|
|
6
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
7
6
|
export interface OnboardingConfirmExperimentCreationMutationPathParams {
|
|
8
7
|
onboardingid: string;
|
|
9
8
|
}
|
|
@@ -14,14 +13,19 @@ export interface OnboardingConfirmExperimentCreationMutationQueryParams {
|
|
|
14
13
|
projectIdentifier: string;
|
|
15
14
|
}
|
|
16
15
|
export type OnboardingConfirmExperimentCreationRequestBody = V2OnboardingConfirmExperimentCreationRequest;
|
|
17
|
-
export type OnboardingConfirmExperimentCreationOkResponse =
|
|
16
|
+
export type OnboardingConfirmExperimentCreationOkResponse = V2OnboardingConfirmExperimentCreationResponse;
|
|
18
17
|
export type OnboardingConfirmExperimentCreationErrorResponse = ApiRestError;
|
|
19
18
|
export interface OnboardingConfirmExperimentCreationProps extends OnboardingConfirmExperimentCreationMutationPathParams, Omit<FetcherOptions<OnboardingConfirmExperimentCreationMutationQueryParams, OnboardingConfirmExperimentCreationRequestBody>, 'url'> {
|
|
20
19
|
queryParams: OnboardingConfirmExperimentCreationMutationQueryParams;
|
|
21
20
|
body: OnboardingConfirmExperimentCreationRequestBody;
|
|
22
21
|
}
|
|
23
|
-
export
|
|
22
|
+
export interface OnboardingConfirmExperimentCreationResponseContainer {
|
|
23
|
+
body: OnboardingConfirmExperimentCreationOkResponse;
|
|
24
|
+
headers: Headers;
|
|
25
|
+
}
|
|
26
|
+
export declare function onboardingConfirmExperimentCreation(props: OnboardingConfirmExperimentCreationProps): Promise<OnboardingConfirmExperimentCreationResponseContainer>;
|
|
27
|
+
export type OnboardingConfirmExperimentCreationMutationProps<T extends keyof OnboardingConfirmExperimentCreationProps> = Omit<OnboardingConfirmExperimentCreationProps, T> & Partial<Pick<OnboardingConfirmExperimentCreationProps, T>>;
|
|
24
28
|
/**
|
|
25
29
|
* confirm experiment creation step in manual onboarding
|
|
26
30
|
*/
|
|
27
|
-
export declare function useOnboardingConfirmExperimentCreationMutation(options?: Omit<UseMutationOptions<
|
|
31
|
+
export declare function useOnboardingConfirmExperimentCreationMutation<T extends keyof OnboardingConfirmExperimentCreationProps>(props: Pick<Partial<OnboardingConfirmExperimentCreationProps>, T>, options?: Omit<UseMutationOptions<OnboardingConfirmExperimentCreationResponseContainer, OnboardingConfirmExperimentCreationErrorResponse, OnboardingConfirmExperimentCreationMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<OnboardingConfirmExperimentCreationResponseContainer, ApiRestError, OnboardingConfirmExperimentCreationMutationProps<T>, unknown>;
|
package/dist/chaos-manager/src/services/hooks/useOnboardingConfirmExperimentCreationMutation.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 onboardingConfirmExperimentCreation(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/rest/v2/onboarding-confirm-experiment-creation/${props.onboardingid}`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* confirm experiment creation step in manual onboarding
|
|
11
11
|
*/
|
|
12
|
-
export function useOnboardingConfirmExperimentCreationMutation(options) {
|
|
13
|
-
return useMutation((mutateProps) => onboardingConfirmExperimentCreation(mutateProps), options);
|
|
12
|
+
export function useOnboardingConfirmExperimentCreationMutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => onboardingConfirmExperimentCreation(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
14
|
}
|
package/dist/chaos-manager/src/services/hooks/useOnboardingConfirmExperimentRunMutation.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { V2OnboardingConfirmExperimentRunResponse } from '../schemas/V2OnboardingConfirmExperimentRunResponse';
|
|
3
3
|
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
-
import
|
|
5
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
5
|
export interface OnboardingConfirmExperimentRunMutationPathParams {
|
|
7
6
|
onboardingid: string;
|
|
8
7
|
}
|
|
@@ -12,13 +11,18 @@ export interface OnboardingConfirmExperimentRunMutationQueryParams {
|
|
|
12
11
|
organizationIdentifier: string;
|
|
13
12
|
projectIdentifier: string;
|
|
14
13
|
}
|
|
15
|
-
export type OnboardingConfirmExperimentRunOkResponse =
|
|
14
|
+
export type OnboardingConfirmExperimentRunOkResponse = V2OnboardingConfirmExperimentRunResponse;
|
|
16
15
|
export type OnboardingConfirmExperimentRunErrorResponse = ApiRestError;
|
|
17
16
|
export interface OnboardingConfirmExperimentRunProps extends OnboardingConfirmExperimentRunMutationPathParams, Omit<FetcherOptions<OnboardingConfirmExperimentRunMutationQueryParams, unknown>, 'url'> {
|
|
18
17
|
queryParams: OnboardingConfirmExperimentRunMutationQueryParams;
|
|
19
18
|
}
|
|
20
|
-
export
|
|
19
|
+
export interface OnboardingConfirmExperimentRunResponseContainer {
|
|
20
|
+
body: OnboardingConfirmExperimentRunOkResponse;
|
|
21
|
+
headers: Headers;
|
|
22
|
+
}
|
|
23
|
+
export declare function onboardingConfirmExperimentRun(props: OnboardingConfirmExperimentRunProps): Promise<OnboardingConfirmExperimentRunResponseContainer>;
|
|
24
|
+
export type OnboardingConfirmExperimentRunMutationProps<T extends keyof OnboardingConfirmExperimentRunProps> = Omit<OnboardingConfirmExperimentRunProps, T> & Partial<Pick<OnboardingConfirmExperimentRunProps, T>>;
|
|
21
25
|
/**
|
|
22
26
|
* confirm experiment run step in manual onboarding
|
|
23
27
|
*/
|
|
24
|
-
export declare function useOnboardingConfirmExperimentRunMutation(options?: Omit<UseMutationOptions<
|
|
28
|
+
export declare function useOnboardingConfirmExperimentRunMutation<T extends keyof OnboardingConfirmExperimentRunProps>(props: Pick<Partial<OnboardingConfirmExperimentRunProps>, T>, options?: Omit<UseMutationOptions<OnboardingConfirmExperimentRunResponseContainer, OnboardingConfirmExperimentRunErrorResponse, OnboardingConfirmExperimentRunMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<OnboardingConfirmExperimentRunResponseContainer, ApiRestError, OnboardingConfirmExperimentRunMutationProps<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 onboardingConfirmExperimentRun(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/rest/v2/onboarding-confirm-experiment-run/${props.onboardingid}`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* confirm experiment run step in manual onboarding
|
|
11
11
|
*/
|
|
12
|
-
export function useOnboardingConfirmExperimentRunMutation(options) {
|
|
13
|
-
return useMutation((mutateProps) => onboardingConfirmExperimentRun(mutateProps), options);
|
|
12
|
+
export function useOnboardingConfirmExperimentRunMutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => onboardingConfirmExperimentRun(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
14
|
}
|
|
@@ -2,8 +2,7 @@ import { UseMutationOptions } from '@tanstack/react-query';
|
|
|
2
2
|
import type { V2OnboardingConfirmNetworkMapResponse } from '../schemas/V2OnboardingConfirmNetworkMapResponse';
|
|
3
3
|
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
4
|
import type { V2OnboardingConfirmNetworkMapRequest } from '../schemas/V2OnboardingConfirmNetworkMapRequest';
|
|
5
|
-
import
|
|
6
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
7
6
|
export interface OnboardingConfirmNetworkMapMutationPathParams {
|
|
8
7
|
onboardingid: string;
|
|
9
8
|
}
|
|
@@ -14,14 +13,19 @@ export interface OnboardingConfirmNetworkMapMutationQueryParams {
|
|
|
14
13
|
projectIdentifier: string;
|
|
15
14
|
}
|
|
16
15
|
export type OnboardingConfirmNetworkMapRequestBody = V2OnboardingConfirmNetworkMapRequest;
|
|
17
|
-
export type OnboardingConfirmNetworkMapOkResponse =
|
|
16
|
+
export type OnboardingConfirmNetworkMapOkResponse = V2OnboardingConfirmNetworkMapResponse;
|
|
18
17
|
export type OnboardingConfirmNetworkMapErrorResponse = ApiRestError;
|
|
19
18
|
export interface OnboardingConfirmNetworkMapProps extends OnboardingConfirmNetworkMapMutationPathParams, Omit<FetcherOptions<OnboardingConfirmNetworkMapMutationQueryParams, OnboardingConfirmNetworkMapRequestBody>, 'url'> {
|
|
20
19
|
queryParams: OnboardingConfirmNetworkMapMutationQueryParams;
|
|
21
20
|
body: OnboardingConfirmNetworkMapRequestBody;
|
|
22
21
|
}
|
|
23
|
-
export
|
|
22
|
+
export interface OnboardingConfirmNetworkMapResponseContainer {
|
|
23
|
+
body: OnboardingConfirmNetworkMapOkResponse;
|
|
24
|
+
headers: Headers;
|
|
25
|
+
}
|
|
26
|
+
export declare function onboardingConfirmNetworkMap(props: OnboardingConfirmNetworkMapProps): Promise<OnboardingConfirmNetworkMapResponseContainer>;
|
|
27
|
+
export type OnboardingConfirmNetworkMapMutationProps<T extends keyof OnboardingConfirmNetworkMapProps> = Omit<OnboardingConfirmNetworkMapProps, T> & Partial<Pick<OnboardingConfirmNetworkMapProps, T>>;
|
|
24
28
|
/**
|
|
25
29
|
* confirm network map creation step in manual onboarding
|
|
26
30
|
*/
|
|
27
|
-
export declare function useOnboardingConfirmNetworkMapMutation(options?: Omit<UseMutationOptions<
|
|
31
|
+
export declare function useOnboardingConfirmNetworkMapMutation<T extends keyof OnboardingConfirmNetworkMapProps>(props: Pick<Partial<OnboardingConfirmNetworkMapProps>, T>, options?: Omit<UseMutationOptions<OnboardingConfirmNetworkMapResponseContainer, OnboardingConfirmNetworkMapErrorResponse, OnboardingConfirmNetworkMapMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<OnboardingConfirmNetworkMapResponseContainer, ApiRestError, OnboardingConfirmNetworkMapMutationProps<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 onboardingConfirmNetworkMap(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/rest/v2/onboarding-confirm-networkmap/${props.onboardingid}`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* confirm network map creation step in manual onboarding
|
|
11
11
|
*/
|
|
12
|
-
export function useOnboardingConfirmNetworkMapMutation(options) {
|
|
13
|
-
return useMutation((mutateProps) => onboardingConfirmNetworkMap(mutateProps), options);
|
|
12
|
+
export function useOnboardingConfirmNetworkMapMutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => onboardingConfirmNetworkMap(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
14
|
}
|
|
@@ -2,8 +2,7 @@ import { UseMutationOptions } from '@tanstack/react-query';
|
|
|
2
2
|
import type { InfraV2RegisterInfrastructureV2Response } from '../schemas/InfraV2RegisterInfrastructureV2Response';
|
|
3
3
|
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
4
|
import type { InfraV2RegisterInfrastructureV2Request } from '../schemas/InfraV2RegisterInfrastructureV2Request';
|
|
5
|
-
import
|
|
6
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
7
6
|
export interface RegisterInfraV2MutationQueryParams {
|
|
8
7
|
correlationID?: string;
|
|
9
8
|
accountIdentifier: string;
|
|
@@ -11,14 +10,19 @@ export interface RegisterInfraV2MutationQueryParams {
|
|
|
11
10
|
projectIdentifier: string;
|
|
12
11
|
}
|
|
13
12
|
export type RegisterInfraV2RequestBody = InfraV2RegisterInfrastructureV2Request;
|
|
14
|
-
export type RegisterInfraV2OkResponse =
|
|
13
|
+
export type RegisterInfraV2OkResponse = InfraV2RegisterInfrastructureV2Response;
|
|
15
14
|
export type RegisterInfraV2ErrorResponse = ApiRestError;
|
|
16
15
|
export interface RegisterInfraV2Props extends Omit<FetcherOptions<RegisterInfraV2MutationQueryParams, RegisterInfraV2RequestBody>, 'url'> {
|
|
17
16
|
queryParams: RegisterInfraV2MutationQueryParams;
|
|
18
17
|
body: RegisterInfraV2RequestBody;
|
|
19
18
|
}
|
|
20
|
-
export
|
|
19
|
+
export interface RegisterInfraV2ResponseContainer {
|
|
20
|
+
body: RegisterInfraV2OkResponse;
|
|
21
|
+
headers: Headers;
|
|
22
|
+
}
|
|
23
|
+
export declare function registerInfraV2(props: RegisterInfraV2Props): Promise<RegisterInfraV2ResponseContainer>;
|
|
24
|
+
export type RegisterInfraV2MutationProps<T extends keyof RegisterInfraV2Props> = Omit<RegisterInfraV2Props, T> & Partial<Pick<RegisterInfraV2Props, T>>;
|
|
21
25
|
/**
|
|
22
26
|
* Register a new v2 infra
|
|
23
27
|
*/
|
|
24
|
-
export declare function useRegisterInfraV2Mutation(options?: Omit<UseMutationOptions<
|
|
28
|
+
export declare function useRegisterInfraV2Mutation<T extends keyof RegisterInfraV2Props>(props: Pick<Partial<RegisterInfraV2Props>, T>, options?: Omit<UseMutationOptions<RegisterInfraV2ResponseContainer, RegisterInfraV2ErrorResponse, RegisterInfraV2MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<RegisterInfraV2ResponseContainer, ApiRestError, RegisterInfraV2MutationProps<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 registerInfraV2(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/rest/v2/infrastructure`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* Register a new v2 infra
|
|
11
11
|
*/
|
|
12
|
-
export function useRegisterInfraV2Mutation(options) {
|
|
13
|
-
return useMutation((mutateProps) => registerInfraV2(mutateProps), options);
|
|
12
|
+
export function useRegisterInfraV2Mutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => registerInfraV2(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
14
|
}
|
|
@@ -2,8 +2,7 @@ import { UseMutationOptions } from '@tanstack/react-query';
|
|
|
2
2
|
import type { NetworkmapRetryExperimentCreationResponse } from '../schemas/NetworkmapRetryExperimentCreationResponse';
|
|
3
3
|
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
4
|
import type { NetworkmapRetryExperimentCreationRequest } from '../schemas/NetworkmapRetryExperimentCreationRequest';
|
|
5
|
-
import
|
|
6
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
7
6
|
export interface RetryExperimentCreationMutationPathParams {
|
|
8
7
|
applicationmapid: string;
|
|
9
8
|
}
|
|
@@ -15,14 +14,19 @@ export interface RetryExperimentCreationMutationQueryParams {
|
|
|
15
14
|
infraId: string;
|
|
16
15
|
}
|
|
17
16
|
export type RetryExperimentCreationRequestBody = NetworkmapRetryExperimentCreationRequest;
|
|
18
|
-
export type RetryExperimentCreationOkResponse =
|
|
17
|
+
export type RetryExperimentCreationOkResponse = NetworkmapRetryExperimentCreationResponse;
|
|
19
18
|
export type RetryExperimentCreationErrorResponse = ApiRestError;
|
|
20
19
|
export interface RetryExperimentCreationProps extends RetryExperimentCreationMutationPathParams, Omit<FetcherOptions<RetryExperimentCreationMutationQueryParams, RetryExperimentCreationRequestBody>, 'url'> {
|
|
21
20
|
queryParams: RetryExperimentCreationMutationQueryParams;
|
|
22
21
|
body: RetryExperimentCreationRequestBody;
|
|
23
22
|
}
|
|
24
|
-
export
|
|
23
|
+
export interface RetryExperimentCreationResponseContainer {
|
|
24
|
+
body: RetryExperimentCreationOkResponse;
|
|
25
|
+
headers: Headers;
|
|
26
|
+
}
|
|
27
|
+
export declare function retryExperimentCreation(props: RetryExperimentCreationProps): Promise<RetryExperimentCreationResponseContainer>;
|
|
28
|
+
export type RetryExperimentCreationMutationProps<T extends keyof RetryExperimentCreationProps> = Omit<RetryExperimentCreationProps, T> & Partial<Pick<RetryExperimentCreationProps, T>>;
|
|
25
29
|
/**
|
|
26
30
|
* retry chaos experiment creation for the given target network map
|
|
27
31
|
*/
|
|
28
|
-
export declare function useRetryExperimentCreationMutation(options?: Omit<UseMutationOptions<
|
|
32
|
+
export declare function useRetryExperimentCreationMutation<T extends keyof RetryExperimentCreationProps>(props: Pick<Partial<RetryExperimentCreationProps>, T>, options?: Omit<UseMutationOptions<RetryExperimentCreationResponseContainer, RetryExperimentCreationErrorResponse, RetryExperimentCreationMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<RetryExperimentCreationResponseContainer, ApiRestError, RetryExperimentCreationMutationProps<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 retryExperimentCreation(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/rest/v2/applicationmaps/${props.applicationmapid}/retry`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* retry chaos experiment creation for the given target network map
|
|
11
11
|
*/
|
|
12
|
-
export function useRetryExperimentCreationMutation(options) {
|
|
13
|
-
return useMutation((mutateProps) => retryExperimentCreation(mutateProps), options);
|
|
12
|
+
export function useRetryExperimentCreationMutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => retryExperimentCreation(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
14
|
}
|