@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.
Files changed (422) hide show
  1. package/dist/chaos-manager/src/index.d.ts +1 -1
  2. package/dist/chaos-manager/src/index.js +1 -1
  3. package/dist/chaos-manager/src/services/hooks/useAddNoteMutation.d.ts +9 -5
  4. package/dist/chaos-manager/src/services/hooks/useAddNoteMutation.js +3 -3
  5. package/dist/chaos-manager/src/services/hooks/useBulkExperimentDeleteMutation.d.ts +9 -5
  6. package/dist/chaos-manager/src/services/hooks/useBulkExperimentDeleteMutation.js +3 -3
  7. package/dist/chaos-manager/src/services/hooks/useBulkExperimentTagAddMutation.d.ts +9 -5
  8. package/dist/chaos-manager/src/services/hooks/useBulkExperimentTagAddMutation.js +3 -3
  9. package/dist/chaos-manager/src/services/hooks/useCanRetryExperimentCreationQuery.d.ts +8 -5
  10. package/dist/chaos-manager/src/services/hooks/useCanRetryExperimentCreationQuery.js +1 -1
  11. package/dist/chaos-manager/src/services/hooks/useCreateChaosExperimentPipelineMutation.d.ts +9 -5
  12. package/dist/chaos-manager/src/services/hooks/useCreateChaosExperimentPipelineMutation.js +3 -3
  13. package/dist/chaos-manager/src/services/hooks/useCreateGamedayRunV2Mutation.d.ts +9 -5
  14. package/dist/chaos-manager/src/services/hooks/useCreateGamedayRunV2Mutation.js +3 -3
  15. package/dist/chaos-manager/src/services/hooks/useCreateGamedayV2Mutation.d.ts +9 -5
  16. package/dist/chaos-manager/src/services/hooks/useCreateGamedayV2Mutation.js +3 -3
  17. package/dist/chaos-manager/src/services/hooks/useCreateInputSetMutation.d.ts +9 -5
  18. package/dist/chaos-manager/src/services/hooks/useCreateInputSetMutation.js +3 -3
  19. package/dist/chaos-manager/src/services/hooks/useCreateProbeMutation.d.ts +27 -0
  20. package/dist/chaos-manager/src/services/hooks/useCreateProbeMutation.js +14 -0
  21. package/dist/chaos-manager/src/services/hooks/useCreateV2OnboardingMutation.d.ts +9 -5
  22. package/dist/chaos-manager/src/services/hooks/useCreateV2OnboardingMutation.js +3 -3
  23. package/dist/chaos-manager/src/services/hooks/useDeleteChaosV2ExperimentMutation.d.ts +9 -5
  24. package/dist/chaos-manager/src/services/hooks/useDeleteChaosV2ExperimentMutation.js +3 -3
  25. package/dist/chaos-manager/src/services/hooks/useDeleteGamedayV2Mutation.d.ts +9 -5
  26. package/dist/chaos-manager/src/services/hooks/useDeleteGamedayV2Mutation.js +3 -3
  27. package/dist/chaos-manager/src/services/hooks/useDeleteInfraV2Mutation.d.ts +9 -5
  28. package/dist/chaos-manager/src/services/hooks/useDeleteInfraV2Mutation.js +3 -3
  29. package/dist/chaos-manager/src/services/hooks/useDeleteInputSetMutation.d.ts +9 -5
  30. package/dist/chaos-manager/src/services/hooks/useDeleteInputSetMutation.js +3 -3
  31. package/dist/chaos-manager/src/services/hooks/useDeleteTargetNetworkMapMutation.d.ts +9 -5
  32. package/dist/chaos-manager/src/services/hooks/useDeleteTargetNetworkMapMutation.js +3 -3
  33. package/dist/chaos-manager/src/services/hooks/useGetAccountServiceDetailsQuery.d.ts +8 -5
  34. package/dist/chaos-manager/src/services/hooks/useGetAccountServiceDetailsQuery.js +1 -1
  35. package/dist/chaos-manager/src/services/hooks/useGetAccountServiceUsageStatsQuery.d.ts +8 -5
  36. package/dist/chaos-manager/src/services/hooks/useGetAccountServiceUsageStatsQuery.js +1 -1
  37. package/dist/chaos-manager/src/services/hooks/useGetChaosDashboardQuery.d.ts +8 -5
  38. package/dist/chaos-manager/src/services/hooks/useGetChaosDashboardQuery.js +1 -1
  39. package/dist/chaos-manager/src/services/hooks/useGetChaosExperimentRunReportQuery.d.ts +8 -5
  40. package/dist/chaos-manager/src/services/hooks/useGetChaosExperimentRunReportQuery.js +1 -1
  41. package/dist/chaos-manager/src/services/hooks/useGetChaosV2ExperimentQuery.d.ts +8 -5
  42. package/dist/chaos-manager/src/services/hooks/useGetChaosV2ExperimentQuery.js +1 -1
  43. package/dist/chaos-manager/src/services/hooks/useGetChaosV2ExperimentRunQuery.d.ts +8 -5
  44. package/dist/chaos-manager/src/services/hooks/useGetChaosV2ExperimentRunQuery.js +1 -1
  45. package/dist/chaos-manager/src/services/hooks/useGetChaosV2ExperimentVariablesQuery.d.ts +8 -5
  46. package/dist/chaos-manager/src/services/hooks/useGetChaosV2ExperimentVariablesQuery.js +1 -1
  47. package/dist/chaos-manager/src/services/hooks/useGetConnectorForInfraQuery.d.ts +8 -5
  48. package/dist/chaos-manager/src/services/hooks/useGetConnectorForInfraQuery.js +1 -1
  49. package/dist/chaos-manager/src/services/hooks/useGetExperimentHelperImageVersionQuery.d.ts +8 -5
  50. package/dist/chaos-manager/src/services/hooks/useGetExperimentHelperImageVersionQuery.js +1 -1
  51. package/dist/chaos-manager/src/services/hooks/useGetExperimentRunsOverviewStatsQuery.d.ts +8 -5
  52. package/dist/chaos-manager/src/services/hooks/useGetExperimentRunsOverviewStatsQuery.js +1 -1
  53. package/dist/chaos-manager/src/services/hooks/useGetFaultTemplateQuery.d.ts +8 -5
  54. package/dist/chaos-manager/src/services/hooks/useGetFaultTemplateQuery.js +1 -1
  55. package/dist/chaos-manager/src/services/hooks/useGetFaultTemplateRevisionDifferenceQuery.d.ts +8 -5
  56. package/dist/chaos-manager/src/services/hooks/useGetFaultTemplateRevisionDifferenceQuery.js +1 -1
  57. package/dist/chaos-manager/src/services/hooks/useGetGamedayRunV2Query.d.ts +8 -5
  58. package/dist/chaos-manager/src/services/hooks/useGetGamedayRunV2Query.js +1 -1
  59. package/dist/chaos-manager/src/services/hooks/useGetGamedayV2Query.d.ts +8 -5
  60. package/dist/chaos-manager/src/services/hooks/useGetGamedayV2Query.js +1 -1
  61. package/dist/chaos-manager/src/services/hooks/useGetImageRegistryQuery.d.ts +8 -5
  62. package/dist/chaos-manager/src/services/hooks/useGetImageRegistryQuery.js +1 -1
  63. package/dist/chaos-manager/src/services/hooks/useGetInfraV2Query.d.ts +8 -5
  64. package/dist/chaos-manager/src/services/hooks/useGetInfraV2Query.js +1 -1
  65. package/dist/chaos-manager/src/services/hooks/useGetInputSetQuery.d.ts +8 -5
  66. package/dist/chaos-manager/src/services/hooks/useGetInputSetQuery.js +1 -1
  67. package/dist/chaos-manager/src/services/hooks/useGetNoteQuery.d.ts +8 -5
  68. package/dist/chaos-manager/src/services/hooks/useGetNoteQuery.js +1 -1
  69. package/dist/chaos-manager/src/services/hooks/useGetOnboardingExperimentsQuery.d.ts +8 -5
  70. package/dist/chaos-manager/src/services/hooks/useGetOnboardingExperimentsQuery.js +1 -1
  71. package/dist/chaos-manager/src/services/hooks/useGetOverallServiceUsageStatsQuery.d.ts +8 -5
  72. package/dist/chaos-manager/src/services/hooks/useGetOverallServiceUsageStatsQuery.js +1 -1
  73. package/dist/chaos-manager/src/services/hooks/useGetProbeManifestQuery.d.ts +25 -0
  74. package/dist/chaos-manager/src/services/hooks/useGetProbeManifestQuery.js +14 -0
  75. package/dist/chaos-manager/src/services/hooks/useGetProbeQuery.d.ts +26 -0
  76. package/dist/chaos-manager/src/services/hooks/useGetProbeQuery.js +14 -0
  77. package/dist/chaos-manager/src/services/hooks/useGetResourceUsageQuery.d.ts +8 -5
  78. package/dist/chaos-manager/src/services/hooks/useGetResourceUsageQuery.js +1 -1
  79. package/dist/chaos-manager/src/services/hooks/useGetServiceResponseQuery.d.ts +8 -5
  80. package/dist/chaos-manager/src/services/hooks/useGetServiceResponseQuery.js +1 -1
  81. package/dist/chaos-manager/src/services/hooks/useGetServiceUsageReportQuery.d.ts +8 -5
  82. package/dist/chaos-manager/src/services/hooks/useGetServiceUsageReportQuery.js +1 -1
  83. package/dist/chaos-manager/src/services/hooks/useGetSgpTemplateByGenAiMutation.d.ts +9 -5
  84. package/dist/chaos-manager/src/services/hooks/useGetSgpTemplateByGenAiMutation.js +3 -3
  85. package/dist/chaos-manager/src/services/hooks/useGetTargetNetworkMapQuery.d.ts +8 -5
  86. package/dist/chaos-manager/src/services/hooks/useGetTargetNetworkMapQuery.js +1 -1
  87. package/dist/chaos-manager/src/services/hooks/useGetV2InfrastructureYamlMutation.d.ts +9 -5
  88. package/dist/chaos-manager/src/services/hooks/useGetV2InfrastructureYamlMutation.js +3 -3
  89. package/dist/chaos-manager/src/services/hooks/useGetV2OnboardingQuery.d.ts +8 -5
  90. package/dist/chaos-manager/src/services/hooks/useGetV2OnboardingQuery.js +1 -1
  91. package/dist/chaos-manager/src/services/hooks/useListChaosEnabledInfraV2Query.d.ts +8 -5
  92. package/dist/chaos-manager/src/services/hooks/useListChaosEnabledInfraV2Query.js +1 -1
  93. package/dist/chaos-manager/src/services/hooks/useListChaosV2ExperimentQuery.d.ts +8 -5
  94. package/dist/chaos-manager/src/services/hooks/useListChaosV2ExperimentQuery.js +1 -1
  95. package/dist/chaos-manager/src/services/hooks/useListExperimentsWithActiveInfrasMinimalNotificationQuery.d.ts +8 -5
  96. package/dist/chaos-manager/src/services/hooks/useListExperimentsWithActiveInfrasMinimalNotificationQuery.js +1 -1
  97. package/dist/chaos-manager/src/services/hooks/useListFaultTemplateQuery.d.ts +8 -5
  98. package/dist/chaos-manager/src/services/hooks/useListFaultTemplateQuery.js +1 -1
  99. package/dist/chaos-manager/src/services/hooks/useListFaultTemplateRevisionsQuery.d.ts +8 -5
  100. package/dist/chaos-manager/src/services/hooks/useListFaultTemplateRevisionsQuery.js +1 -1
  101. package/dist/chaos-manager/src/services/hooks/useListGamedayRunV2Query.d.ts +8 -5
  102. package/dist/chaos-manager/src/services/hooks/useListGamedayRunV2Query.js +1 -1
  103. package/dist/chaos-manager/src/services/hooks/useListGamedayV2Query.d.ts +8 -5
  104. package/dist/chaos-manager/src/services/hooks/useListGamedayV2Query.js +1 -1
  105. package/dist/chaos-manager/src/services/hooks/useListHarnessInfraQuery.d.ts +8 -5
  106. package/dist/chaos-manager/src/services/hooks/useListHarnessInfraQuery.js +1 -1
  107. package/dist/chaos-manager/src/services/hooks/useListInfraV2Query.d.ts +8 -5
  108. package/dist/chaos-manager/src/services/hooks/useListInfraV2Query.js +1 -1
  109. package/dist/chaos-manager/src/services/hooks/useListInputSetQuery.d.ts +8 -5
  110. package/dist/chaos-manager/src/services/hooks/useListInputSetQuery.js +1 -1
  111. package/dist/chaos-manager/src/services/hooks/useListK8sInfrasV2Mutation.d.ts +9 -5
  112. package/dist/chaos-manager/src/services/hooks/useListK8sInfrasV2Mutation.js +3 -3
  113. package/dist/chaos-manager/src/services/hooks/useListProbesQuery.d.ts +40 -0
  114. package/dist/chaos-manager/src/services/hooks/useListProbesQuery.js +14 -0
  115. package/dist/chaos-manager/src/services/hooks/useListServiceQuery.d.ts +8 -5
  116. package/dist/chaos-manager/src/services/hooks/useListServiceQuery.js +1 -1
  117. package/dist/chaos-manager/src/services/hooks/useListTargetNetworkMapsQuery.d.ts +8 -5
  118. package/dist/chaos-manager/src/services/hooks/useListTargetNetworkMapsQuery.js +1 -1
  119. package/dist/chaos-manager/src/services/hooks/useListV2OnboardingQuery.d.ts +8 -5
  120. package/dist/chaos-manager/src/services/hooks/useListV2OnboardingQuery.js +1 -1
  121. package/dist/chaos-manager/src/services/hooks/useListVariablesInFaultTemplateQuery.d.ts +8 -5
  122. package/dist/chaos-manager/src/services/hooks/useListVariablesInFaultTemplateQuery.js +1 -1
  123. package/dist/chaos-manager/src/services/hooks/useOnboardingConfirmDiscoveryMutation.d.ts +9 -5
  124. package/dist/chaos-manager/src/services/hooks/useOnboardingConfirmDiscoveryMutation.js +3 -3
  125. package/dist/chaos-manager/src/services/hooks/useOnboardingConfirmExperimentCreationMutation.d.ts +9 -5
  126. package/dist/chaos-manager/src/services/hooks/useOnboardingConfirmExperimentCreationMutation.js +3 -3
  127. package/dist/chaos-manager/src/services/hooks/useOnboardingConfirmExperimentRunMutation.d.ts +9 -5
  128. package/dist/chaos-manager/src/services/hooks/useOnboardingConfirmExperimentRunMutation.js +3 -3
  129. package/dist/chaos-manager/src/services/hooks/useOnboardingConfirmNetworkMapMutation.d.ts +9 -5
  130. package/dist/chaos-manager/src/services/hooks/useOnboardingConfirmNetworkMapMutation.js +3 -3
  131. package/dist/chaos-manager/src/services/hooks/useRegisterInfraV2Mutation.d.ts +9 -5
  132. package/dist/chaos-manager/src/services/hooks/useRegisterInfraV2Mutation.js +3 -3
  133. package/dist/chaos-manager/src/services/hooks/useRetryExperimentCreationMutation.d.ts +9 -5
  134. package/dist/chaos-manager/src/services/hooks/useRetryExperimentCreationMutation.js +3 -3
  135. package/dist/chaos-manager/src/services/hooks/useRunChaosV2ExperimentMutation.d.ts +9 -5
  136. package/dist/chaos-manager/src/services/hooks/useRunChaosV2ExperimentMutation.js +3 -3
  137. package/dist/chaos-manager/src/services/hooks/useSaveChaosV2ExperimentMutation.d.ts +9 -5
  138. package/dist/chaos-manager/src/services/hooks/useSaveChaosV2ExperimentMutation.js +3 -3
  139. package/dist/chaos-manager/src/services/hooks/useStopChaosV2ExperimentMutation.d.ts +9 -5
  140. package/dist/chaos-manager/src/services/hooks/useStopChaosV2ExperimentMutation.js +3 -3
  141. package/dist/chaos-manager/src/services/hooks/useStopOnboardingExperimentsMutation.d.ts +9 -5
  142. package/dist/chaos-manager/src/services/hooks/useStopOnboardingExperimentsMutation.js +3 -3
  143. package/dist/chaos-manager/src/services/hooks/useUpdateChaosV2CronExperimentMutation.d.ts +9 -5
  144. package/dist/chaos-manager/src/services/hooks/useUpdateChaosV2CronExperimentMutation.js +3 -3
  145. package/dist/chaos-manager/src/services/hooks/useUpdateGamedayRunPrerequisitesV2Mutation.d.ts +9 -5
  146. package/dist/chaos-manager/src/services/hooks/useUpdateGamedayRunPrerequisitesV2Mutation.js +3 -3
  147. package/dist/chaos-manager/src/services/hooks/useUpdateGamedayRunStakeHolderActionsV2Mutation.d.ts +9 -5
  148. package/dist/chaos-manager/src/services/hooks/useUpdateGamedayRunStakeHolderActionsV2Mutation.js +3 -3
  149. package/dist/chaos-manager/src/services/hooks/useUpdateGamedayRunV2Mutation.d.ts +9 -5
  150. package/dist/chaos-manager/src/services/hooks/useUpdateGamedayRunV2Mutation.js +3 -3
  151. package/dist/chaos-manager/src/services/hooks/useUpdateGamedayV2Mutation.d.ts +9 -5
  152. package/dist/chaos-manager/src/services/hooks/useUpdateGamedayV2Mutation.js +3 -3
  153. package/dist/chaos-manager/src/services/hooks/useUpdateInfraV2Mutation.d.ts +9 -5
  154. package/dist/chaos-manager/src/services/hooks/useUpdateInfraV2Mutation.js +3 -3
  155. package/dist/chaos-manager/src/services/hooks/useUpdateInputSetMutation.d.ts +9 -5
  156. package/dist/chaos-manager/src/services/hooks/useUpdateInputSetMutation.js +3 -3
  157. package/dist/chaos-manager/src/services/hooks/useUpdateNoteMutation.d.ts +9 -5
  158. package/dist/chaos-manager/src/services/hooks/useUpdateNoteMutation.js +3 -3
  159. package/dist/chaos-manager/src/services/hooks/useUpdateProbeMutation.d.ts +30 -0
  160. package/dist/chaos-manager/src/services/hooks/useUpdateProbeMutation.js +14 -0
  161. package/dist/chaos-manager/src/services/index.d.ts +171 -35
  162. package/dist/chaos-manager/src/services/index.js +5 -0
  163. package/dist/chaos-manager/src/services/requestBodies/TypesProbeRequestRequestBody.d.ts +2 -0
  164. package/dist/chaos-manager/src/services/schemas/ChaosExperimentChaosExperimentRequest.d.ts +4 -0
  165. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgChaosV2ProbesTypesProbeVerdict.d.ts +1 -0
  166. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgChaosV2ProbesTypesProbeVerdict.js +4 -0
  167. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgChaosV2ProbesTypesTlsConfig.d.ts +6 -0
  168. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgChaosV2ProbesTypesTlsConfig.js +4 -0
  169. package/dist/chaos-manager/src/services/schemas/ProbeAuthorization.d.ts +5 -0
  170. package/dist/chaos-manager/src/services/schemas/ProbeAuthorization.js +4 -0
  171. package/dist/chaos-manager/src/services/schemas/ProbeComparator.d.ts +5 -0
  172. package/dist/chaos-manager/src/services/schemas/ProbeComparator.js +4 -0
  173. package/dist/chaos-manager/src/services/schemas/ProbeDatadogMetrics.d.ts +6 -0
  174. package/dist/chaos-manager/src/services/schemas/ProbeDatadogMetrics.js +1 -0
  175. package/dist/chaos-manager/src/services/schemas/ProbeDatadogSyntheticsTestType.d.ts +1 -0
  176. package/dist/chaos-manager/src/services/schemas/ProbeDatadogSyntheticsTestType.js +4 -0
  177. package/dist/chaos-manager/src/services/schemas/ProbeGet.d.ts +5 -0
  178. package/dist/chaos-manager/src/services/schemas/ProbeGet.js +4 -0
  179. package/dist/chaos-manager/src/services/schemas/ProbeHeaders.d.ts +4 -0
  180. package/dist/chaos-manager/src/services/schemas/ProbeHeaders.js +4 -0
  181. package/dist/chaos-manager/src/services/schemas/ProbeK8SProbe.d.ts +18 -0
  182. package/dist/chaos-manager/src/services/schemas/ProbeK8SProbe.js +4 -0
  183. package/dist/chaos-manager/src/services/schemas/ProbeKubernetesCmdProbe.d.ts +15 -0
  184. package/dist/chaos-manager/src/services/schemas/ProbeKubernetesCmdProbe.js +1 -0
  185. package/dist/chaos-manager/src/services/schemas/ProbeKubernetesDatadogProbe.d.ts +16 -0
  186. package/dist/chaos-manager/src/services/schemas/ProbeKubernetesDatadogProbe.js +1 -0
  187. package/dist/chaos-manager/src/services/schemas/ProbeKubernetesDynatraceProbe.d.ts +17 -0
  188. package/dist/chaos-manager/src/services/schemas/ProbeKubernetesDynatraceProbe.js +1 -0
  189. package/dist/chaos-manager/src/services/schemas/ProbeKubernetesHttpProbe.d.ts +19 -0
  190. package/dist/chaos-manager/src/services/schemas/ProbeKubernetesHttpProbe.js +1 -0
  191. package/dist/chaos-manager/src/services/schemas/ProbeLinuxCmdProbe.d.ts +13 -0
  192. package/dist/chaos-manager/src/services/schemas/ProbeLinuxCmdProbe.js +1 -0
  193. package/dist/chaos-manager/src/services/schemas/ProbeLinuxDatadogProbe.d.ts +13 -0
  194. package/dist/chaos-manager/src/services/schemas/ProbeLinuxDatadogProbe.js +1 -0
  195. package/dist/chaos-manager/src/services/schemas/ProbeLinuxDynatraceProbe.d.ts +14 -0
  196. package/dist/chaos-manager/src/services/schemas/ProbeLinuxDynatraceProbe.js +1 -0
  197. package/dist/chaos-manager/src/services/schemas/ProbeLinuxHttpProbe.d.ts +17 -0
  198. package/dist/chaos-manager/src/services/schemas/ProbeLinuxHttpProbe.js +1 -0
  199. package/dist/chaos-manager/src/services/schemas/ProbeMethod.d.ts +6 -0
  200. package/dist/chaos-manager/src/services/schemas/ProbeMethod.js +1 -0
  201. package/dist/chaos-manager/src/services/schemas/ProbeMetrics.d.ts +4 -0
  202. package/dist/chaos-manager/src/services/schemas/ProbeMetrics.js +4 -0
  203. package/dist/chaos-manager/src/services/schemas/ProbePost.d.ts +8 -0
  204. package/dist/chaos-manager/src/services/schemas/ProbePost.js +4 -0
  205. package/dist/chaos-manager/src/services/schemas/ProbePromProbe.d.ts +19 -0
  206. package/dist/chaos-manager/src/services/schemas/ProbePromProbe.js +1 -0
  207. package/dist/chaos-manager/src/services/schemas/ProbeSloProbe.d.ts +20 -0
  208. package/dist/chaos-manager/src/services/schemas/ProbeSloProbe.js +1 -0
  209. package/dist/chaos-manager/src/services/schemas/ProbeSyntheticsTest.d.ts +5 -0
  210. package/dist/chaos-manager/src/services/schemas/ProbeSyntheticsTest.js +1 -0
  211. package/dist/chaos-manager/src/services/schemas/ProbeTlsConfig.d.ts +6 -0
  212. package/dist/chaos-manager/src/services/schemas/ProbeTlsConfig.js +4 -0
  213. package/dist/chaos-manager/src/services/schemas/ProbeWindowsHttpProbe.d.ts +17 -0
  214. package/dist/chaos-manager/src/services/schemas/ProbeWindowsHttpProbe.js +1 -0
  215. package/dist/chaos-manager/src/services/schemas/ResourceQuantity.d.ts +3 -0
  216. package/dist/chaos-manager/src/services/schemas/ResourceQuantity.js +4 -0
  217. package/dist/chaos-manager/src/services/schemas/TypesAuthorization.d.ts +5 -0
  218. package/dist/chaos-manager/src/services/schemas/TypesAuthorization.js +4 -0
  219. package/dist/chaos-manager/src/services/schemas/TypesCmdProbe.d.ts +9 -0
  220. package/dist/chaos-manager/src/services/schemas/TypesCmdProbe.js +1 -0
  221. package/dist/chaos-manager/src/services/schemas/TypesCreateProbeResponse.d.ts +31 -0
  222. package/dist/chaos-manager/src/services/schemas/TypesCreateProbeResponse.js +1 -0
  223. package/dist/chaos-manager/src/services/schemas/TypesDatadogProbe.d.ts +8 -0
  224. package/dist/chaos-manager/src/services/schemas/TypesDatadogProbe.js +1 -0
  225. package/dist/chaos-manager/src/services/schemas/TypesDynatraceProbe.d.ts +9 -0
  226. package/dist/chaos-manager/src/services/schemas/TypesDynatraceProbe.js +1 -0
  227. package/dist/chaos-manager/src/services/schemas/TypesExecutedByExperiment.d.ts +11 -0
  228. package/dist/chaos-manager/src/services/schemas/TypesExecutedByExperiment.js +1 -0
  229. package/dist/chaos-manager/src/services/schemas/TypesExperimentCreationRequest.d.ts +1 -0
  230. package/dist/chaos-manager/src/services/schemas/TypesGet.d.ts +5 -0
  231. package/dist/chaos-manager/src/services/schemas/TypesGet.js +4 -0
  232. package/dist/chaos-manager/src/services/schemas/TypesGetProbeResponse.d.ts +36 -0
  233. package/dist/chaos-manager/src/services/schemas/TypesGetProbeResponse.js +1 -0
  234. package/dist/chaos-manager/src/services/schemas/TypesHeaders.d.ts +4 -0
  235. package/dist/chaos-manager/src/services/schemas/TypesHeaders.js +4 -0
  236. package/dist/chaos-manager/src/services/schemas/TypesHttpProbe.d.ts +11 -0
  237. package/dist/chaos-manager/src/services/schemas/TypesHttpProbe.js +1 -0
  238. package/dist/chaos-manager/src/services/schemas/TypesInfrastructureType.d.ts +1 -0
  239. package/dist/chaos-manager/src/services/schemas/TypesInfrastructureType.js +4 -0
  240. package/dist/chaos-manager/src/services/schemas/TypesK8SProbe.d.ts +10 -0
  241. package/dist/chaos-manager/src/services/schemas/TypesK8SProbe.js +4 -0
  242. package/dist/chaos-manager/src/services/schemas/TypesListProbeResponse.d.ts +7 -0
  243. package/dist/chaos-manager/src/services/schemas/TypesListProbeResponse.js +1 -0
  244. package/dist/chaos-manager/src/services/schemas/TypesMethod.d.ts +6 -0
  245. package/dist/chaos-manager/src/services/schemas/TypesMethod.js +1 -0
  246. package/dist/chaos-manager/src/services/schemas/TypesPost.d.ts +8 -0
  247. package/dist/chaos-manager/src/services/schemas/TypesPost.js +4 -0
  248. package/dist/chaos-manager/src/services/schemas/TypesProbeRecentExecutions.d.ts +7 -0
  249. package/dist/chaos-manager/src/services/schemas/TypesProbeRecentExecutions.js +1 -0
  250. package/dist/chaos-manager/src/services/schemas/TypesProbeRequest.d.ts +31 -0
  251. package/dist/chaos-manager/src/services/schemas/TypesProbeRequest.js +1 -0
  252. package/dist/chaos-manager/src/services/schemas/TypesProbeType.d.ts +1 -0
  253. package/dist/chaos-manager/src/services/schemas/TypesProbeType.js +4 -0
  254. package/dist/chaos-manager/src/services/schemas/TypesPromProbe.d.ts +11 -0
  255. package/dist/chaos-manager/src/services/schemas/TypesPromProbe.js +1 -0
  256. package/dist/chaos-manager/src/services/schemas/TypesRunProperties.d.ts +10 -0
  257. package/dist/chaos-manager/src/services/schemas/TypesRunProperties.js +4 -0
  258. package/dist/chaos-manager/src/services/schemas/TypesScenarioType.d.ts +1 -0
  259. package/dist/chaos-manager/src/services/schemas/TypesScenarioType.js +4 -0
  260. package/dist/chaos-manager/src/services/schemas/TypesSloProbe.d.ts +12 -0
  261. package/dist/chaos-manager/src/services/schemas/TypesSloProbe.js +1 -0
  262. package/dist/chaos-manager/src/services/schemas/TypesStatus.d.ts +5 -0
  263. package/dist/chaos-manager/src/services/schemas/TypesStatus.js +1 -0
  264. package/dist/chaos-manager/src/services/schemas/TypesUserDetails.d.ts +5 -0
  265. package/dist/chaos-manager/src/services/schemas/TypesUserDetails.js +4 -0
  266. package/dist/chaos-manager/src/services/schemas/V1AwsElasticBlockStoreVolumeSource.d.ts +31 -0
  267. package/dist/chaos-manager/src/services/schemas/V1AwsElasticBlockStoreVolumeSource.js +4 -0
  268. package/dist/chaos-manager/src/services/schemas/V1AzureDataDiskCachingMode.d.ts +1 -0
  269. package/dist/chaos-manager/src/services/schemas/V1AzureDataDiskCachingMode.js +4 -0
  270. package/dist/chaos-manager/src/services/schemas/V1AzureDataDiskKind.d.ts +1 -0
  271. package/dist/chaos-manager/src/services/schemas/V1AzureDataDiskKind.js +4 -0
  272. package/dist/chaos-manager/src/services/schemas/V1AzureDiskVolumeSource.d.ts +34 -0
  273. package/dist/chaos-manager/src/services/schemas/V1AzureDiskVolumeSource.js +1 -0
  274. package/dist/chaos-manager/src/services/schemas/V1AzureFileVolumeSource.d.ts +16 -0
  275. package/dist/chaos-manager/src/services/schemas/V1AzureFileVolumeSource.js +4 -0
  276. package/dist/chaos-manager/src/services/schemas/V1CephFsVolumeSource.d.ts +38 -0
  277. package/dist/chaos-manager/src/services/schemas/V1CephFsVolumeSource.js +1 -0
  278. package/dist/chaos-manager/src/services/schemas/V1CinderVolumeSource.d.ts +29 -0
  279. package/dist/chaos-manager/src/services/schemas/V1CinderVolumeSource.js +1 -0
  280. package/dist/chaos-manager/src/services/schemas/V1ConfigMapKeySelector.d.ts +18 -0
  281. package/dist/chaos-manager/src/services/schemas/V1ConfigMapKeySelector.js +4 -0
  282. package/dist/chaos-manager/src/services/schemas/V1ConfigMapProjection.d.ts +26 -0
  283. package/dist/chaos-manager/src/services/schemas/V1ConfigMapProjection.js +1 -0
  284. package/dist/chaos-manager/src/services/schemas/V1ConfigMapVolumeSource.d.ts +37 -0
  285. package/dist/chaos-manager/src/services/schemas/V1ConfigMapVolumeSource.js +1 -0
  286. package/dist/chaos-manager/src/services/schemas/V1CsiVolumeSource.d.ts +38 -0
  287. package/dist/chaos-manager/src/services/schemas/V1CsiVolumeSource.js +1 -0
  288. package/dist/chaos-manager/src/services/schemas/V1DownwardApiProjection.d.ts +8 -0
  289. package/dist/chaos-manager/src/services/schemas/V1DownwardApiProjection.js +1 -0
  290. package/dist/chaos-manager/src/services/schemas/V1DownwardApiVolumeFile.d.ts +29 -0
  291. package/dist/chaos-manager/src/services/schemas/V1DownwardApiVolumeFile.js +1 -0
  292. package/dist/chaos-manager/src/services/schemas/V1DownwardApiVolumeSource.d.ts +20 -0
  293. package/dist/chaos-manager/src/services/schemas/V1DownwardApiVolumeSource.js +1 -0
  294. package/dist/chaos-manager/src/services/schemas/V1EmptyDirVolumeSource.d.ts +22 -0
  295. package/dist/chaos-manager/src/services/schemas/V1EmptyDirVolumeSource.js +1 -0
  296. package/dist/chaos-manager/src/services/schemas/V1EnvVar.d.ts +24 -0
  297. package/dist/chaos-manager/src/services/schemas/V1EnvVar.js +1 -0
  298. package/dist/chaos-manager/src/services/schemas/V1EnvVarSource.d.ts +28 -0
  299. package/dist/chaos-manager/src/services/schemas/V1EnvVarSource.js +1 -0
  300. package/dist/chaos-manager/src/services/schemas/V1EphemeralVolumeSource.d.ts +27 -0
  301. package/dist/chaos-manager/src/services/schemas/V1EphemeralVolumeSource.js +1 -0
  302. package/dist/chaos-manager/src/services/schemas/V1EvaluationWindow.d.ts +10 -0
  303. package/dist/chaos-manager/src/services/schemas/V1EvaluationWindow.js +4 -0
  304. package/dist/chaos-manager/src/services/schemas/V1FcVolumeSource.d.ts +32 -0
  305. package/dist/chaos-manager/src/services/schemas/V1FcVolumeSource.js +4 -0
  306. package/dist/chaos-manager/src/services/schemas/V1FieldsV1.d.ts +3 -0
  307. package/dist/chaos-manager/src/services/schemas/V1FieldsV1.js +4 -0
  308. package/dist/chaos-manager/src/services/schemas/V1FlexVolumeSource.d.ts +36 -0
  309. package/dist/chaos-manager/src/services/schemas/V1FlexVolumeSource.js +1 -0
  310. package/dist/chaos-manager/src/services/schemas/V1FlockerVolumeSource.d.ts +13 -0
  311. package/dist/chaos-manager/src/services/schemas/V1FlockerVolumeSource.js +4 -0
  312. package/dist/chaos-manager/src/services/schemas/V1GcePersistentDiskVolumeSource.d.ts +32 -0
  313. package/dist/chaos-manager/src/services/schemas/V1GcePersistentDiskVolumeSource.js +4 -0
  314. package/dist/chaos-manager/src/services/schemas/V1GitRepoVolumeSource.d.ts +19 -0
  315. package/dist/chaos-manager/src/services/schemas/V1GitRepoVolumeSource.js +4 -0
  316. package/dist/chaos-manager/src/services/schemas/V1GlusterfsVolumeSource.d.ts +19 -0
  317. package/dist/chaos-manager/src/services/schemas/V1GlusterfsVolumeSource.js +4 -0
  318. package/dist/chaos-manager/src/services/schemas/V1HostPathType.d.ts +1 -0
  319. package/dist/chaos-manager/src/services/schemas/V1HostPathType.js +4 -0
  320. package/dist/chaos-manager/src/services/schemas/V1HostPathVolumeSource.d.ts +16 -0
  321. package/dist/chaos-manager/src/services/schemas/V1HostPathVolumeSource.js +1 -0
  322. package/dist/chaos-manager/src/services/schemas/V1Identifier.d.ts +14 -0
  323. package/dist/chaos-manager/src/services/schemas/V1Identifier.js +4 -0
  324. package/dist/chaos-manager/src/services/schemas/V1IscsiVolumeSource.d.ts +65 -0
  325. package/dist/chaos-manager/src/services/schemas/V1IscsiVolumeSource.js +1 -0
  326. package/dist/chaos-manager/src/services/schemas/V1KeyToPath.d.ts +23 -0
  327. package/dist/chaos-manager/src/services/schemas/V1KeyToPath.js +4 -0
  328. package/dist/chaos-manager/src/services/schemas/V1LabelSelector.d.ts +17 -0
  329. package/dist/chaos-manager/src/services/schemas/V1LabelSelector.js +1 -0
  330. package/dist/chaos-manager/src/services/schemas/V1LabelSelectorOperator.d.ts +1 -0
  331. package/dist/chaos-manager/src/services/schemas/V1LabelSelectorOperator.js +4 -0
  332. package/dist/chaos-manager/src/services/schemas/V1LabelSelectorRequirement.d.ts +22 -0
  333. package/dist/chaos-manager/src/services/schemas/V1LabelSelectorRequirement.js +1 -0
  334. package/dist/chaos-manager/src/services/schemas/V1LocalObjectReference.d.ts +9 -0
  335. package/dist/chaos-manager/src/services/schemas/V1LocalObjectReference.js +4 -0
  336. package/dist/chaos-manager/src/services/schemas/V1ManagedFieldsEntry.d.ts +35 -0
  337. package/dist/chaos-manager/src/services/schemas/V1ManagedFieldsEntry.js +1 -0
  338. package/dist/chaos-manager/src/services/schemas/V1ManagedFieldsOperationType.d.ts +1 -0
  339. package/dist/chaos-manager/src/services/schemas/V1ManagedFieldsOperationType.js +4 -0
  340. package/dist/chaos-manager/src/services/schemas/V1NfsVolumeSource.d.ts +20 -0
  341. package/dist/chaos-manager/src/services/schemas/V1NfsVolumeSource.js +4 -0
  342. package/dist/chaos-manager/src/services/schemas/V1ObjectFieldSelector.d.ts +11 -0
  343. package/dist/chaos-manager/src/services/schemas/V1ObjectFieldSelector.js +4 -0
  344. package/dist/chaos-manager/src/services/schemas/V1ObjectMeta.d.ts +196 -0
  345. package/dist/chaos-manager/src/services/schemas/V1ObjectMeta.js +1 -0
  346. package/dist/chaos-manager/src/services/schemas/V1PersistentVolumeAccessMode.d.ts +1 -0
  347. package/dist/chaos-manager/src/services/schemas/V1PersistentVolumeAccessMode.js +4 -0
  348. package/dist/chaos-manager/src/services/schemas/V1PersistentVolumeClaimSpec.d.ts +53 -0
  349. package/dist/chaos-manager/src/services/schemas/V1PersistentVolumeClaimSpec.js +1 -0
  350. package/dist/chaos-manager/src/services/schemas/V1PersistentVolumeClaimTemplate.d.ts +19 -0
  351. package/dist/chaos-manager/src/services/schemas/V1PersistentVolumeClaimTemplate.js +1 -0
  352. package/dist/chaos-manager/src/services/schemas/V1PersistentVolumeClaimVolumeSource.d.ts +13 -0
  353. package/dist/chaos-manager/src/services/schemas/V1PersistentVolumeClaimVolumeSource.js +4 -0
  354. package/dist/chaos-manager/src/services/schemas/V1PersistentVolumeMode.d.ts +1 -0
  355. package/dist/chaos-manager/src/services/schemas/V1PersistentVolumeMode.js +4 -0
  356. package/dist/chaos-manager/src/services/schemas/V1PhotonPersistentDiskVolumeSource.d.ts +12 -0
  357. package/dist/chaos-manager/src/services/schemas/V1PhotonPersistentDiskVolumeSource.js +4 -0
  358. package/dist/chaos-manager/src/services/schemas/V1PortworxVolumeSource.d.ts +18 -0
  359. package/dist/chaos-manager/src/services/schemas/V1PortworxVolumeSource.js +4 -0
  360. package/dist/chaos-manager/src/services/schemas/V1ProjectedVolumeSource.d.ts +18 -0
  361. package/dist/chaos-manager/src/services/schemas/V1ProjectedVolumeSource.js +1 -0
  362. package/dist/chaos-manager/src/services/schemas/V1QuobyteVolumeSource.d.ts +36 -0
  363. package/dist/chaos-manager/src/services/schemas/V1QuobyteVolumeSource.js +4 -0
  364. package/dist/chaos-manager/src/services/schemas/V1RbdVolumeSource.d.ts +58 -0
  365. package/dist/chaos-manager/src/services/schemas/V1RbdVolumeSource.js +1 -0
  366. package/dist/chaos-manager/src/services/schemas/V1ResourceFieldSelector.d.ts +17 -0
  367. package/dist/chaos-manager/src/services/schemas/V1ResourceFieldSelector.js +1 -0
  368. package/dist/chaos-manager/src/services/schemas/V1ResourceList.d.ts +4 -0
  369. package/dist/chaos-manager/src/services/schemas/V1ResourceList.js +1 -0
  370. package/dist/chaos-manager/src/services/schemas/V1ResourceRequirements.d.ts +17 -0
  371. package/dist/chaos-manager/src/services/schemas/V1ResourceRequirements.js +1 -0
  372. package/dist/chaos-manager/src/services/schemas/V1ScaleIoVolumeSource.d.ts +56 -0
  373. package/dist/chaos-manager/src/services/schemas/V1ScaleIoVolumeSource.js +1 -0
  374. package/dist/chaos-manager/src/services/schemas/V1SecretKeySelector.d.ts +18 -0
  375. package/dist/chaos-manager/src/services/schemas/V1SecretKeySelector.js +4 -0
  376. package/dist/chaos-manager/src/services/schemas/V1SecretProjection.d.ts +26 -0
  377. package/dist/chaos-manager/src/services/schemas/V1SecretProjection.js +1 -0
  378. package/dist/chaos-manager/src/services/schemas/V1SecretVolumeSource.d.ts +36 -0
  379. package/dist/chaos-manager/src/services/schemas/V1SecretVolumeSource.js +1 -0
  380. package/dist/chaos-manager/src/services/schemas/V1ServiceAccountTokenProjection.d.ts +25 -0
  381. package/dist/chaos-manager/src/services/schemas/V1ServiceAccountTokenProjection.js +4 -0
  382. package/dist/chaos-manager/src/services/schemas/V1SloSourceMetadata.d.ts +11 -0
  383. package/dist/chaos-manager/src/services/schemas/V1SloSourceMetadata.js +1 -0
  384. package/dist/chaos-manager/src/services/schemas/V1SourceDetails.d.ts +73 -0
  385. package/dist/chaos-manager/src/services/schemas/V1SourceDetails.js +1 -0
  386. package/dist/chaos-manager/src/services/schemas/V1StorageMedium.d.ts +1 -0
  387. package/dist/chaos-manager/src/services/schemas/V1StorageMedium.js +4 -0
  388. package/dist/chaos-manager/src/services/schemas/V1StorageOsVolumeSource.d.ts +37 -0
  389. package/dist/chaos-manager/src/services/schemas/V1StorageOsVolumeSource.js +1 -0
  390. package/dist/chaos-manager/src/services/schemas/V1TypedLocalObjectReference.d.ts +17 -0
  391. package/dist/chaos-manager/src/services/schemas/V1TypedLocalObjectReference.js +4 -0
  392. package/dist/chaos-manager/src/services/schemas/V1Volume.d.ts +232 -0
  393. package/dist/chaos-manager/src/services/schemas/V1Volume.js +1 -0
  394. package/dist/chaos-manager/src/services/schemas/V1VolumeProjection.d.ts +26 -0
  395. package/dist/chaos-manager/src/services/schemas/V1VolumeProjection.js +1 -0
  396. package/dist/chaos-manager/src/services/schemas/V1VsphereVirtualDiskVolumeSource.d.ts +23 -0
  397. package/dist/chaos-manager/src/services/schemas/V1VsphereVirtualDiskVolumeSource.js +4 -0
  398. package/dist/chaos-manager/src/services/schemas/V1alpha1ConfigMapKeySelector.d.ts +18 -0
  399. package/dist/chaos-manager/src/services/schemas/V1alpha1ConfigMapKeySelector.js +4 -0
  400. package/dist/chaos-manager/src/services/schemas/V1alpha1ConfigMapVolumeSource.d.ts +37 -0
  401. package/dist/chaos-manager/src/services/schemas/V1alpha1ConfigMapVolumeSource.js +1 -0
  402. package/dist/chaos-manager/src/services/schemas/V1alpha1EnvVar.d.ts +24 -0
  403. package/dist/chaos-manager/src/services/schemas/V1alpha1EnvVar.js +1 -0
  404. package/dist/chaos-manager/src/services/schemas/V1alpha1EnvVarSource.d.ts +21 -0
  405. package/dist/chaos-manager/src/services/schemas/V1alpha1EnvVarSource.js +1 -0
  406. package/dist/chaos-manager/src/services/schemas/V1alpha1KeyToPath.d.ts +23 -0
  407. package/dist/chaos-manager/src/services/schemas/V1alpha1KeyToPath.js +4 -0
  408. package/dist/chaos-manager/src/services/schemas/V1alpha1ObjectFieldSelector.d.ts +11 -0
  409. package/dist/chaos-manager/src/services/schemas/V1alpha1ObjectFieldSelector.js +4 -0
  410. package/dist/chaos-manager/src/services/schemas/V1alpha1SecretKeySelector.d.ts +18 -0
  411. package/dist/chaos-manager/src/services/schemas/V1alpha1SecretKeySelector.js +4 -0
  412. package/dist/chaos-manager/src/services/schemas/V1alpha1SecretVolumeSource.d.ts +36 -0
  413. package/dist/chaos-manager/src/services/schemas/V1alpha1SecretVolumeSource.js +1 -0
  414. package/dist/chaos-manager/src/services/schemas/V1alpha1SourceDetails.d.ts +48 -0
  415. package/dist/chaos-manager/src/services/schemas/V1alpha1SourceDetails.js +1 -0
  416. package/dist/chaos-manager/src/services/schemas/V1alpha1Volume.d.ts +21 -0
  417. package/dist/chaos-manager/src/services/schemas/V1alpha1Volume.js +1 -0
  418. package/dist/{fetcher → custom-fetcher}/index.d.ts +6 -1
  419. package/dist/{fetcher → custom-fetcher}/index.js +8 -22
  420. package/package.json +1 -1
  421. package/dist/chaos-manager/src/services/helpers.d.ts +0 -14
  422. /package/dist/chaos-manager/src/services/{helpers.js → requestBodies/TypesProbeRequestRequestBody.js} +0 -0
@@ -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 getSgpTemplateByGenAi(props) {
7
7
  return fetcher(Object.assign({ url: `/rest/genai/sgp/generate`, method: 'POST' }, props));
8
8
  }
9
9
  /**
10
10
  * Get security governance conditions template
11
11
  */
12
- export function useGetSgpTemplateByGenAiMutation(options) {
13
- return useMutation((mutateProps) => getSgpTemplateByGenAi(mutateProps), options);
12
+ export function useGetSgpTemplateByGenAiMutation(props, options) {
13
+ return useMutation((mutateProps) => getSgpTemplateByGenAi(Object.assign(Object.assign({}, props), mutateProps)), options);
14
14
  }
@@ -1,8 +1,7 @@
1
1
  import { UseQueryOptions } from '@tanstack/react-query';
2
2
  import type { NetworkmapGetTargetNetworkMapResponse } from '../schemas/NetworkmapGetTargetNetworkMapResponse';
3
3
  import type { ApiRestError } from '../schemas/ApiRestError';
4
- import type { ResponseWithPagination } from '../helpers';
5
- import { FetcherOptions } from '../../../../fetcher/index.js';
4
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
6
5
  export interface GetTargetNetworkMapQueryPathParams {
7
6
  applicationmapid: string;
8
7
  }
@@ -13,13 +12,17 @@ export interface GetTargetNetworkMapQueryQueryParams {
13
12
  environmentIdentifier: string;
14
13
  infraId: string;
15
14
  }
16
- export type GetTargetNetworkMapOkResponse = ResponseWithPagination<NetworkmapGetTargetNetworkMapResponse>;
15
+ export type GetTargetNetworkMapOkResponse = NetworkmapGetTargetNetworkMapResponse;
17
16
  export type GetTargetNetworkMapErrorResponse = ApiRestError;
18
17
  export interface GetTargetNetworkMapProps extends GetTargetNetworkMapQueryPathParams, Omit<FetcherOptions<GetTargetNetworkMapQueryQueryParams, unknown>, 'url'> {
19
18
  queryParams: GetTargetNetworkMapQueryQueryParams;
20
19
  }
21
- export declare function getTargetNetworkMap(props: GetTargetNetworkMapProps): Promise<GetTargetNetworkMapOkResponse>;
20
+ export interface GetTargetNetworkMapResponseContainer {
21
+ body: GetTargetNetworkMapOkResponse;
22
+ headers: Headers;
23
+ }
24
+ export declare function getTargetNetworkMap(props: GetTargetNetworkMapProps): Promise<GetTargetNetworkMapResponseContainer>;
22
25
  /**
23
26
  * Get target network map with chaos context
24
27
  */
25
- export declare function useGetTargetNetworkMapQuery(props: GetTargetNetworkMapProps, options?: Omit<UseQueryOptions<GetTargetNetworkMapOkResponse, GetTargetNetworkMapErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetTargetNetworkMapOkResponse, ApiRestError>;
28
+ export declare function useGetTargetNetworkMapQuery(props: GetTargetNetworkMapProps, options?: Omit<UseQueryOptions<GetTargetNetworkMapResponseContainer, GetTargetNetworkMapErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetTargetNetworkMapResponseContainer, 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 getTargetNetworkMap(props) {
7
7
  return fetcher(Object.assign({ url: `/rest/v2/applicationmaps/${props.applicationmapid}`, method: 'GET' }, props));
8
8
  }
@@ -2,22 +2,26 @@ import { UseMutationOptions } from '@tanstack/react-query';
2
2
  import type { InfraV2GetKubernetesInfrastructureV2YamlResponse } from '../schemas/InfraV2GetKubernetesInfrastructureV2YamlResponse';
3
3
  import type { ApiRestError } from '../schemas/ApiRestError';
4
4
  import type { InfraV2GetKubernetesInfrastructureV2YamlRequest } from '../schemas/InfraV2GetKubernetesInfrastructureV2YamlRequest';
5
- import type { ResponseWithPagination } from '../helpers';
6
- import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
7
6
  export interface GetV2InfrastructureYamlMutationQueryParams {
8
7
  accountIdentifier: string;
9
8
  organizationIdentifier: string;
10
9
  projectIdentifier: string;
11
10
  }
12
11
  export type GetV2InfrastructureYamlRequestBody = InfraV2GetKubernetesInfrastructureV2YamlRequest;
13
- export type GetV2InfrastructureYamlOkResponse = ResponseWithPagination<InfraV2GetKubernetesInfrastructureV2YamlResponse>;
12
+ export type GetV2InfrastructureYamlOkResponse = InfraV2GetKubernetesInfrastructureV2YamlResponse;
14
13
  export type GetV2InfrastructureYamlErrorResponse = ApiRestError;
15
14
  export interface GetV2InfrastructureYamlProps extends Omit<FetcherOptions<GetV2InfrastructureYamlMutationQueryParams, GetV2InfrastructureYamlRequestBody>, 'url'> {
16
15
  queryParams: GetV2InfrastructureYamlMutationQueryParams;
17
16
  body: GetV2InfrastructureYamlRequestBody;
18
17
  }
19
- export declare function getV2InfrastructureYaml(props: GetV2InfrastructureYamlProps): Promise<GetV2InfrastructureYamlOkResponse>;
18
+ export interface GetV2InfrastructureYamlResponseContainer {
19
+ body: GetV2InfrastructureYamlOkResponse;
20
+ headers: Headers;
21
+ }
22
+ export declare function getV2InfrastructureYaml(props: GetV2InfrastructureYamlProps): Promise<GetV2InfrastructureYamlResponseContainer>;
23
+ export type GetV2InfrastructureYamlMutationProps<T extends keyof GetV2InfrastructureYamlProps> = Omit<GetV2InfrastructureYamlProps, T> & Partial<Pick<GetV2InfrastructureYamlProps, T>>;
20
24
  /**
21
25
  * Preview v2 infra Yaml
22
26
  */
23
- export declare function useGetV2InfrastructureYamlMutation(options?: Omit<UseMutationOptions<GetV2InfrastructureYamlOkResponse, GetV2InfrastructureYamlErrorResponse, GetV2InfrastructureYamlProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetV2InfrastructureYamlOkResponse, ApiRestError, GetV2InfrastructureYamlProps, unknown>;
27
+ export declare function useGetV2InfrastructureYamlMutation<T extends keyof GetV2InfrastructureYamlProps>(props: Pick<Partial<GetV2InfrastructureYamlProps>, T>, options?: Omit<UseMutationOptions<GetV2InfrastructureYamlResponseContainer, GetV2InfrastructureYamlErrorResponse, GetV2InfrastructureYamlMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetV2InfrastructureYamlResponseContainer, ApiRestError, GetV2InfrastructureYamlMutationProps<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 getV2InfrastructureYaml(props) {
7
7
  return fetcher(Object.assign({ url: `/rest/v2/infrastructure/yaml`, method: 'POST' }, props));
8
8
  }
9
9
  /**
10
10
  * Preview v2 infra Yaml
11
11
  */
12
- export function useGetV2InfrastructureYamlMutation(options) {
13
- return useMutation((mutateProps) => getV2InfrastructureYaml(mutateProps), options);
12
+ export function useGetV2InfrastructureYamlMutation(props, options) {
13
+ return useMutation((mutateProps) => getV2InfrastructureYaml(Object.assign(Object.assign({}, props), mutateProps)), options);
14
14
  }
@@ -1,8 +1,7 @@
1
1
  import { UseQueryOptions } from '@tanstack/react-query';
2
2
  import type { V2OnboardingV2Onboarding } from '../schemas/V2OnboardingV2Onboarding';
3
3
  import type { ApiRestError } from '../schemas/ApiRestError';
4
- import type { ResponseWithPagination } from '../helpers';
5
- import { FetcherOptions } from '../../../../fetcher/index.js';
4
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
6
5
  export interface GetV2OnboardingQueryPathParams {
7
6
  onboardingid: string;
8
7
  }
@@ -12,13 +11,17 @@ export interface GetV2OnboardingQueryQueryParams {
12
11
  organizationIdentifier: string;
13
12
  projectIdentifier: string;
14
13
  }
15
- export type GetV2OnboardingOkResponse = ResponseWithPagination<V2OnboardingV2Onboarding>;
14
+ export type GetV2OnboardingOkResponse = V2OnboardingV2Onboarding;
16
15
  export type GetV2OnboardingErrorResponse = ApiRestError;
17
16
  export interface GetV2OnboardingProps extends GetV2OnboardingQueryPathParams, Omit<FetcherOptions<GetV2OnboardingQueryQueryParams, unknown>, 'url'> {
18
17
  queryParams: GetV2OnboardingQueryQueryParams;
19
18
  }
20
- export declare function getV2Onboarding(props: GetV2OnboardingProps): Promise<GetV2OnboardingOkResponse>;
19
+ export interface GetV2OnboardingResponseContainer {
20
+ body: GetV2OnboardingOkResponse;
21
+ headers: Headers;
22
+ }
23
+ export declare function getV2Onboarding(props: GetV2OnboardingProps): Promise<GetV2OnboardingResponseContainer>;
21
24
  /**
22
25
  * Get V2 Onboarding
23
26
  */
24
- export declare function useGetV2OnboardingQuery(props: GetV2OnboardingProps, options?: Omit<UseQueryOptions<GetV2OnboardingOkResponse, GetV2OnboardingErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetV2OnboardingOkResponse, ApiRestError>;
27
+ export declare function useGetV2OnboardingQuery(props: GetV2OnboardingProps, options?: Omit<UseQueryOptions<GetV2OnboardingResponseContainer, GetV2OnboardingErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetV2OnboardingResponseContainer, 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 getV2Onboarding(props) {
7
7
  return fetcher(Object.assign({ url: `/rest/v2/onboarding/${props.onboardingid}`, method: 'GET' }, props));
8
8
  }
@@ -2,8 +2,7 @@ import { UseQueryOptions } from '@tanstack/react-query';
2
2
  import type { InfraV2ListKubernetesInfraV2Response } from '../schemas/InfraV2ListKubernetesInfraV2Response';
3
3
  import type { ApiRestError } from '../schemas/ApiRestError';
4
4
  import type { InfraV2ListKubernetesInfraV2RequestRequestBody } from '../requestBodies/InfraV2ListKubernetesInfraV2RequestRequestBody';
5
- import type { ResponseWithPagination } from '../helpers';
6
- import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
7
6
  export interface ListChaosEnabledInfraV2QueryQueryParams {
8
7
  accountIdentifier: string;
9
8
  organizationIdentifier: string;
@@ -20,14 +19,18 @@ export interface ListChaosEnabledInfraV2QueryQueryParams {
20
19
  search?: string;
21
20
  }
22
21
  export type ListChaosEnabledInfraV2RequestBody = InfraV2ListKubernetesInfraV2RequestRequestBody;
23
- export type ListChaosEnabledInfraV2OkResponse = ResponseWithPagination<InfraV2ListKubernetesInfraV2Response>;
22
+ export type ListChaosEnabledInfraV2OkResponse = InfraV2ListKubernetesInfraV2Response;
24
23
  export type ListChaosEnabledInfraV2ErrorResponse = ApiRestError;
25
24
  export interface ListChaosEnabledInfraV2Props extends Omit<FetcherOptions<ListChaosEnabledInfraV2QueryQueryParams, ListChaosEnabledInfraV2RequestBody>, 'url'> {
26
25
  queryParams: ListChaosEnabledInfraV2QueryQueryParams;
27
26
  body: ListChaosEnabledInfraV2RequestBody;
28
27
  }
29
- export declare function listChaosEnabledInfraV2(props: ListChaosEnabledInfraV2Props): Promise<ListChaosEnabledInfraV2OkResponse>;
28
+ export interface ListChaosEnabledInfraV2ResponseContainer {
29
+ body: ListChaosEnabledInfraV2OkResponse;
30
+ headers: Headers;
31
+ }
32
+ export declare function listChaosEnabledInfraV2(props: ListChaosEnabledInfraV2Props): Promise<ListChaosEnabledInfraV2ResponseContainer>;
30
33
  /**
31
34
  * List a new v2 infra
32
35
  */
33
- export declare function useListChaosEnabledInfraV2Query(props: ListChaosEnabledInfraV2Props, options?: Omit<UseQueryOptions<ListChaosEnabledInfraV2OkResponse, ListChaosEnabledInfraV2ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListChaosEnabledInfraV2OkResponse, ApiRestError>;
36
+ export declare function useListChaosEnabledInfraV2Query(props: ListChaosEnabledInfraV2Props, options?: Omit<UseQueryOptions<ListChaosEnabledInfraV2ResponseContainer, ListChaosEnabledInfraV2ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListChaosEnabledInfraV2ResponseContainer, 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 listChaosEnabledInfraV2(props) {
7
7
  return fetcher(Object.assign({ url: `/rest/v2/infrastructures/chaos-enabled`, method: 'POST' }, props));
8
8
  }
@@ -1,8 +1,7 @@
1
1
  import { UseQueryOptions } from '@tanstack/react-query';
2
2
  import type { TypesListExperimentV2Response } from '../schemas/TypesListExperimentV2Response';
3
3
  import type { ApiRestError } from '../schemas/ApiRestError';
4
- import type { ResponseWithPagination } from '../helpers';
5
- import { FetcherOptions } from '../../../../fetcher/index.js';
4
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
6
5
  export interface ListChaosV2ExperimentQueryQueryParams {
7
6
  accountIdentifier: string;
8
7
  organizationIdentifier: string;
@@ -27,13 +26,17 @@ export interface ListChaosV2ExperimentQueryQueryParams {
27
26
  targetNetworkMapIds?: string;
28
27
  status?: string;
29
28
  }
30
- export type ListChaosV2ExperimentOkResponse = ResponseWithPagination<TypesListExperimentV2Response>;
29
+ export type ListChaosV2ExperimentOkResponse = TypesListExperimentV2Response;
31
30
  export type ListChaosV2ExperimentErrorResponse = ApiRestError;
32
31
  export interface ListChaosV2ExperimentProps extends Omit<FetcherOptions<ListChaosV2ExperimentQueryQueryParams, unknown>, 'url'> {
33
32
  queryParams: ListChaosV2ExperimentQueryQueryParams;
34
33
  }
35
- export declare function listChaosV2Experiment(props: ListChaosV2ExperimentProps): Promise<ListChaosV2ExperimentOkResponse>;
34
+ export interface ListChaosV2ExperimentResponseContainer {
35
+ body: ListChaosV2ExperimentOkResponse;
36
+ headers: Headers;
37
+ }
38
+ export declare function listChaosV2Experiment(props: ListChaosV2ExperimentProps): Promise<ListChaosV2ExperimentResponseContainer>;
36
39
  /**
37
40
  * Get list of Chaos V2 Experiments
38
41
  */
39
- export declare function useListChaosV2ExperimentQuery(props: ListChaosV2ExperimentProps, options?: Omit<UseQueryOptions<ListChaosV2ExperimentOkResponse, ListChaosV2ExperimentErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListChaosV2ExperimentOkResponse, ApiRestError>;
42
+ export declare function useListChaosV2ExperimentQuery(props: ListChaosV2ExperimentProps, options?: Omit<UseQueryOptions<ListChaosV2ExperimentResponseContainer, ListChaosV2ExperimentErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListChaosV2ExperimentResponseContainer, 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 listChaosV2Experiment(props) {
7
7
  return fetcher(Object.assign({ url: `/rest/v2/experiment`, method: 'GET' }, props));
8
8
  }
@@ -1,7 +1,6 @@
1
1
  import { UseQueryOptions } from '@tanstack/react-query';
2
2
  import type { HandlersListExperimentsWithActiveInfrasMinimalNotificationResponse } from '../schemas/HandlersListExperimentsWithActiveInfrasMinimalNotificationResponse';
3
- import type { ResponseWithPagination } from '../helpers';
4
- import { FetcherOptions } from '../../../../fetcher/index.js';
3
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
4
  export interface ListExperimentsWithActiveInfrasMinimalNotificationQueryQueryParams {
6
5
  accountIdentifier: string;
7
6
  orgIdentifier: string;
@@ -16,13 +15,17 @@ export interface ListExperimentsWithActiveInfrasMinimalNotificationQueryQueryPar
16
15
  limit?: number;
17
16
  experimentName?: string;
18
17
  }
19
- export type ListExperimentsWithActiveInfrasMinimalNotificationOkResponse = ResponseWithPagination<HandlersListExperimentsWithActiveInfrasMinimalNotificationResponse>;
18
+ export type ListExperimentsWithActiveInfrasMinimalNotificationOkResponse = HandlersListExperimentsWithActiveInfrasMinimalNotificationResponse;
20
19
  export type ListExperimentsWithActiveInfrasMinimalNotificationErrorResponse = unknown;
21
20
  export interface ListExperimentsWithActiveInfrasMinimalNotificationProps extends Omit<FetcherOptions<ListExperimentsWithActiveInfrasMinimalNotificationQueryQueryParams, unknown>, 'url'> {
22
21
  queryParams: ListExperimentsWithActiveInfrasMinimalNotificationQueryQueryParams;
23
22
  }
24
- export declare function listExperimentsWithActiveInfrasMinimalNotification(props: ListExperimentsWithActiveInfrasMinimalNotificationProps): Promise<ListExperimentsWithActiveInfrasMinimalNotificationOkResponse>;
23
+ export interface ListExperimentsWithActiveInfrasMinimalNotificationResponseContainer {
24
+ body: ListExperimentsWithActiveInfrasMinimalNotificationOkResponse;
25
+ headers: Headers;
26
+ }
27
+ export declare function listExperimentsWithActiveInfrasMinimalNotification(props: ListExperimentsWithActiveInfrasMinimalNotificationProps): Promise<ListExperimentsWithActiveInfrasMinimalNotificationResponseContainer>;
25
28
  /**
26
29
  * List all experiments with active infrastructures in minimal format for notification service
27
30
  */
28
- export declare function useListExperimentsWithActiveInfrasMinimalNotificationQuery(props: ListExperimentsWithActiveInfrasMinimalNotificationProps, options?: Omit<UseQueryOptions<ListExperimentsWithActiveInfrasMinimalNotificationOkResponse, ListExperimentsWithActiveInfrasMinimalNotificationErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListExperimentsWithActiveInfrasMinimalNotificationOkResponse, unknown>;
31
+ export declare function useListExperimentsWithActiveInfrasMinimalNotificationQuery(props: ListExperimentsWithActiveInfrasMinimalNotificationProps, options?: Omit<UseQueryOptions<ListExperimentsWithActiveInfrasMinimalNotificationResponseContainer, ListExperimentsWithActiveInfrasMinimalNotificationErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListExperimentsWithActiveInfrasMinimalNotificationResponseContainer, 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 listExperimentsWithActiveInfrasMinimalNotification(props) {
7
7
  return fetcher(Object.assign({ url: `/v1/notification-experiments`, method: 'GET' }, props));
8
8
  }
@@ -1,7 +1,6 @@
1
1
  import { UseQueryOptions } from '@tanstack/react-query';
2
2
  import type { ChaosfaulttemplateListFaultTemplateResponse } from '../schemas/ChaosfaulttemplateListFaultTemplateResponse';
3
- import type { ResponseWithPagination } from '../helpers';
4
- import { FetcherOptions } from '../../../../fetcher/index.js';
3
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
4
  export interface ListFaultTemplateQueryQueryParams {
6
5
  accountIdentifier: string;
7
6
  organizationIdentifier: string;
@@ -16,13 +15,17 @@ export interface ListFaultTemplateQueryQueryParams {
16
15
  */
17
16
  limit: number;
18
17
  }
19
- export type ListFaultTemplateOkResponse = ResponseWithPagination<ChaosfaulttemplateListFaultTemplateResponse>;
18
+ export type ListFaultTemplateOkResponse = ChaosfaulttemplateListFaultTemplateResponse;
20
19
  export type ListFaultTemplateErrorResponse = unknown;
21
20
  export interface ListFaultTemplateProps extends Omit<FetcherOptions<ListFaultTemplateQueryQueryParams, unknown>, 'url'> {
22
21
  queryParams: ListFaultTemplateQueryQueryParams;
23
22
  }
24
- export declare function listFaultTemplate(props: ListFaultTemplateProps): Promise<ListFaultTemplateOkResponse>;
23
+ export interface ListFaultTemplateResponseContainer {
24
+ body: ListFaultTemplateOkResponse;
25
+ headers: Headers;
26
+ }
27
+ export declare function listFaultTemplate(props: ListFaultTemplateProps): Promise<ListFaultTemplateResponseContainer>;
25
28
  /**
26
29
  * Lists all the fault templates in a hub based on tag
27
30
  */
28
- export declare function useListFaultTemplateQuery(props: ListFaultTemplateProps, options?: Omit<UseQueryOptions<ListFaultTemplateOkResponse, ListFaultTemplateErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListFaultTemplateOkResponse, unknown>;
31
+ export declare function useListFaultTemplateQuery(props: ListFaultTemplateProps, options?: Omit<UseQueryOptions<ListFaultTemplateResponseContainer, ListFaultTemplateErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListFaultTemplateResponseContainer, 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 listFaultTemplate(props) {
7
7
  return fetcher(Object.assign({ url: `/rest/templates/faults`, method: 'GET' }, props));
8
8
  }
@@ -1,7 +1,6 @@
1
1
  import { UseQueryOptions } from '@tanstack/react-query';
2
2
  import type { ChaosfaulttemplateListFaultTemplateResponse } from '../schemas/ChaosfaulttemplateListFaultTemplateResponse';
3
- import type { ResponseWithPagination } from '../helpers';
4
- import { FetcherOptions } from '../../../../fetcher/index.js';
3
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
4
  export interface ListFaultTemplateRevisionsQueryPathParams {
6
5
  faultName: string;
7
6
  }
@@ -19,13 +18,17 @@ export interface ListFaultTemplateRevisionsQueryQueryParams {
19
18
  */
20
19
  limit: number;
21
20
  }
22
- export type ListFaultTemplateRevisionsOkResponse = ResponseWithPagination<ChaosfaulttemplateListFaultTemplateResponse>;
21
+ export type ListFaultTemplateRevisionsOkResponse = ChaosfaulttemplateListFaultTemplateResponse;
23
22
  export type ListFaultTemplateRevisionsErrorResponse = unknown;
24
23
  export interface ListFaultTemplateRevisionsProps extends ListFaultTemplateRevisionsQueryPathParams, Omit<FetcherOptions<ListFaultTemplateRevisionsQueryQueryParams, unknown>, 'url'> {
25
24
  queryParams: ListFaultTemplateRevisionsQueryQueryParams;
26
25
  }
27
- export declare function listFaultTemplateRevisions(props: ListFaultTemplateRevisionsProps): Promise<ListFaultTemplateRevisionsOkResponse>;
26
+ export interface ListFaultTemplateRevisionsResponseContainer {
27
+ body: ListFaultTemplateRevisionsOkResponse;
28
+ headers: Headers;
29
+ }
30
+ export declare function listFaultTemplateRevisions(props: ListFaultTemplateRevisionsProps): Promise<ListFaultTemplateRevisionsResponseContainer>;
28
31
  /**
29
32
  * Lists all the revision of a fault template in a hub
30
33
  */
31
- export declare function useListFaultTemplateRevisionsQuery(props: ListFaultTemplateRevisionsProps, options?: Omit<UseQueryOptions<ListFaultTemplateRevisionsOkResponse, ListFaultTemplateRevisionsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListFaultTemplateRevisionsOkResponse, unknown>;
34
+ export declare function useListFaultTemplateRevisionsQuery(props: ListFaultTemplateRevisionsProps, options?: Omit<UseQueryOptions<ListFaultTemplateRevisionsResponseContainer, ListFaultTemplateRevisionsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListFaultTemplateRevisionsResponseContainer, 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 listFaultTemplateRevisions(props) {
7
7
  return fetcher(Object.assign({ url: `/rest/templates/faults/${props.faultName}/revisions`, method: 'GET' }, props));
8
8
  }
@@ -1,8 +1,7 @@
1
1
  import { UseQueryOptions } from '@tanstack/react-query';
2
2
  import type { TypesListGamedayRunV2Response } from '../schemas/TypesListGamedayRunV2Response';
3
3
  import type { ApiRestError } from '../schemas/ApiRestError';
4
- import type { ResponseWithPagination } from '../helpers';
5
- import { FetcherOptions } from '../../../../fetcher/index.js';
4
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
6
5
  export interface ListGamedayRunV2QueryPathParams {
7
6
  gamedayId: string;
8
7
  }
@@ -11,13 +10,17 @@ export interface ListGamedayRunV2QueryQueryParams {
11
10
  organizationIdentifier: string;
12
11
  projectIdentifier: string;
13
12
  }
14
- export type ListGamedayRunV2OkResponse = ResponseWithPagination<TypesListGamedayRunV2Response>;
13
+ export type ListGamedayRunV2OkResponse = TypesListGamedayRunV2Response;
15
14
  export type ListGamedayRunV2ErrorResponse = ApiRestError;
16
15
  export interface ListGamedayRunV2Props extends ListGamedayRunV2QueryPathParams, Omit<FetcherOptions<ListGamedayRunV2QueryQueryParams, unknown>, 'url'> {
17
16
  queryParams: ListGamedayRunV2QueryQueryParams;
18
17
  }
19
- export declare function listGamedayRunV2(props: ListGamedayRunV2Props): Promise<ListGamedayRunV2OkResponse>;
18
+ export interface ListGamedayRunV2ResponseContainer {
19
+ body: ListGamedayRunV2OkResponse;
20
+ headers: Headers;
21
+ }
22
+ export declare function listGamedayRunV2(props: ListGamedayRunV2Props): Promise<ListGamedayRunV2ResponseContainer>;
20
23
  /**
21
24
  * Fetch chaos v2 gameday runs
22
25
  */
23
- export declare function useListGamedayRunV2Query(props: ListGamedayRunV2Props, options?: Omit<UseQueryOptions<ListGamedayRunV2OkResponse, ListGamedayRunV2ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListGamedayRunV2OkResponse, ApiRestError>;
26
+ export declare function useListGamedayRunV2Query(props: ListGamedayRunV2Props, options?: Omit<UseQueryOptions<ListGamedayRunV2ResponseContainer, ListGamedayRunV2ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListGamedayRunV2ResponseContainer, 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 listGamedayRunV2(props) {
7
7
  return fetcher(Object.assign({ url: `/rest/v2/gameday/${props.gamedayId}/runs`, method: 'GET' }, props));
8
8
  }
@@ -1,8 +1,7 @@
1
1
  import { UseQueryOptions } from '@tanstack/react-query';
2
2
  import type { TypesListGamedayV2Response } from '../schemas/TypesListGamedayV2Response';
3
3
  import type { ApiRestError } from '../schemas/ApiRestError';
4
- import type { ResponseWithPagination } from '../helpers';
5
- import { FetcherOptions } from '../../../../fetcher/index.js';
4
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
6
5
  export interface ListGamedayV2QueryQueryParams {
7
6
  accountIdentifier: string;
8
7
  organizationIdentifier: string;
@@ -22,13 +21,17 @@ export interface ListGamedayV2QueryQueryParams {
22
21
  */
23
22
  sortField?: 'CREATED_AT' | 'NAME' | 'UPDATED_AT';
24
23
  }
25
- export type ListGamedayV2OkResponse = ResponseWithPagination<TypesListGamedayV2Response>;
24
+ export type ListGamedayV2OkResponse = TypesListGamedayV2Response;
26
25
  export type ListGamedayV2ErrorResponse = ApiRestError;
27
26
  export interface ListGamedayV2Props extends Omit<FetcherOptions<ListGamedayV2QueryQueryParams, unknown>, 'url'> {
28
27
  queryParams: ListGamedayV2QueryQueryParams;
29
28
  }
30
- export declare function listGamedayV2(props: ListGamedayV2Props): Promise<ListGamedayV2OkResponse>;
29
+ export interface ListGamedayV2ResponseContainer {
30
+ body: ListGamedayV2OkResponse;
31
+ headers: Headers;
32
+ }
33
+ export declare function listGamedayV2(props: ListGamedayV2Props): Promise<ListGamedayV2ResponseContainer>;
31
34
  /**
32
35
  * Get list of Chaos V2 Gamedays
33
36
  */
34
- export declare function useListGamedayV2Query(props: ListGamedayV2Props, options?: Omit<UseQueryOptions<ListGamedayV2OkResponse, ListGamedayV2ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListGamedayV2OkResponse, ApiRestError>;
37
+ export declare function useListGamedayV2Query(props: ListGamedayV2Props, options?: Omit<UseQueryOptions<ListGamedayV2ResponseContainer, ListGamedayV2ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListGamedayV2ResponseContainer, 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 listGamedayV2(props) {
7
7
  return fetcher(Object.assign({ url: `/rest/v2/gamedays`, method: 'GET' }, props));
8
8
  }
@@ -1,8 +1,7 @@
1
1
  import { UseQueryOptions } from '@tanstack/react-query';
2
2
  import type { ApiListHarnessInfrastructureResponse } from '../schemas/ApiListHarnessInfrastructureResponse';
3
3
  import type { ApiRestError } from '../schemas/ApiRestError';
4
- import type { ResponseWithPagination } from '../helpers';
5
- import { FetcherOptions } from '../../../../fetcher/index.js';
4
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
6
5
  export interface ListHarnessInfraQueryQueryParams {
7
6
  accountIdentifier: string;
8
7
  organizationIdentifier: string;
@@ -18,13 +17,17 @@ export interface ListHarnessInfraQueryQueryParams {
18
17
  limit: number;
19
18
  search?: string;
20
19
  }
21
- export type ListHarnessInfraOkResponse = ResponseWithPagination<ApiListHarnessInfrastructureResponse>;
20
+ export type ListHarnessInfraOkResponse = ApiListHarnessInfrastructureResponse;
22
21
  export type ListHarnessInfraErrorResponse = ApiRestError;
23
22
  export interface ListHarnessInfraProps extends Omit<FetcherOptions<ListHarnessInfraQueryQueryParams, unknown>, 'url'> {
24
23
  queryParams: ListHarnessInfraQueryQueryParams;
25
24
  }
26
- export declare function listHarnessInfra(props: ListHarnessInfraProps): Promise<ListHarnessInfraOkResponse>;
25
+ export interface ListHarnessInfraResponseContainer {
26
+ body: ListHarnessInfraOkResponse;
27
+ headers: Headers;
28
+ }
29
+ export declare function listHarnessInfra(props: ListHarnessInfraProps): Promise<ListHarnessInfraResponseContainer>;
27
30
  /**
28
31
  * List harness infras
29
32
  */
30
- export declare function useListHarnessInfraQuery(props: ListHarnessInfraProps, options?: Omit<UseQueryOptions<ListHarnessInfraOkResponse, ListHarnessInfraErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListHarnessInfraOkResponse, ApiRestError>;
33
+ export declare function useListHarnessInfraQuery(props: ListHarnessInfraProps, options?: Omit<UseQueryOptions<ListHarnessInfraResponseContainer, ListHarnessInfraErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListHarnessInfraResponseContainer, 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 listHarnessInfra(props) {
7
7
  return fetcher(Object.assign({ url: `/rest/v2/harness-infrastructures`, method: 'GET' }, props));
8
8
  }
@@ -2,8 +2,7 @@ import { UseQueryOptions } from '@tanstack/react-query';
2
2
  import type { InfraV2ListKubernetesInfraV2Response } from '../schemas/InfraV2ListKubernetesInfraV2Response';
3
3
  import type { ApiRestError } from '../schemas/ApiRestError';
4
4
  import type { InfraV2ListKubernetesInfraV2RequestRequestBody } from '../requestBodies/InfraV2ListKubernetesInfraV2RequestRequestBody';
5
- import type { ResponseWithPagination } from '../helpers';
6
- import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
7
6
  export interface ListInfraV2QueryQueryParams {
8
7
  accountIdentifier: string;
9
8
  organizationIdentifier: string;
@@ -21,14 +20,18 @@ export interface ListInfraV2QueryQueryParams {
21
20
  search?: string;
22
21
  }
23
22
  export type ListInfraV2RequestBody = InfraV2ListKubernetesInfraV2RequestRequestBody;
24
- export type ListInfraV2OkResponse = ResponseWithPagination<InfraV2ListKubernetesInfraV2Response>;
23
+ export type ListInfraV2OkResponse = InfraV2ListKubernetesInfraV2Response;
25
24
  export type ListInfraV2ErrorResponse = ApiRestError;
26
25
  export interface ListInfraV2Props extends Omit<FetcherOptions<ListInfraV2QueryQueryParams, ListInfraV2RequestBody>, 'url'> {
27
26
  queryParams: ListInfraV2QueryQueryParams;
28
27
  body: ListInfraV2RequestBody;
29
28
  }
30
- export declare function listInfraV2(props: ListInfraV2Props): Promise<ListInfraV2OkResponse>;
29
+ export interface ListInfraV2ResponseContainer {
30
+ body: ListInfraV2OkResponse;
31
+ headers: Headers;
32
+ }
33
+ export declare function listInfraV2(props: ListInfraV2Props): Promise<ListInfraV2ResponseContainer>;
31
34
  /**
32
35
  * List a new v2 infra
33
36
  */
34
- export declare function useListInfraV2Query(props: ListInfraV2Props, options?: Omit<UseQueryOptions<ListInfraV2OkResponse, ListInfraV2ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListInfraV2OkResponse, ApiRestError>;
37
+ export declare function useListInfraV2Query(props: ListInfraV2Props, options?: Omit<UseQueryOptions<ListInfraV2ResponseContainer, ListInfraV2ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListInfraV2ResponseContainer, 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 listInfraV2(props) {
7
7
  return fetcher(Object.assign({ url: `/rest/v2/infrastructures`, method: 'POST' }, props));
8
8
  }
@@ -1,8 +1,7 @@
1
1
  import { UseQueryOptions } from '@tanstack/react-query';
2
2
  import type { InputsetsListInputSetResponse } from '../schemas/InputsetsListInputSetResponse';
3
3
  import type { ApiRestError } from '../schemas/ApiRestError';
4
- import type { ResponseWithPagination } from '../helpers';
5
- import { FetcherOptions } from '../../../../fetcher/index.js';
4
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
6
5
  export interface ListInputSetQueryPathParams {
7
6
  experimentId: string;
8
7
  }
@@ -19,13 +18,17 @@ export interface ListInputSetQueryQueryParams {
19
18
  */
20
19
  limit: number;
21
20
  }
22
- export type ListInputSetOkResponse = ResponseWithPagination<InputsetsListInputSetResponse>;
21
+ export type ListInputSetOkResponse = InputsetsListInputSetResponse;
23
22
  export type ListInputSetErrorResponse = ApiRestError;
24
23
  export interface ListInputSetProps extends ListInputSetQueryPathParams, Omit<FetcherOptions<ListInputSetQueryQueryParams, unknown>, 'url'> {
25
24
  queryParams: ListInputSetQueryQueryParams;
26
25
  }
27
- export declare function listInputSet(props: ListInputSetProps): Promise<ListInputSetOkResponse>;
26
+ export interface ListInputSetResponseContainer {
27
+ body: ListInputSetOkResponse;
28
+ headers: Headers;
29
+ }
30
+ export declare function listInputSet(props: ListInputSetProps): Promise<ListInputSetResponseContainer>;
28
31
  /**
29
32
  * Get the list of input sets in an experiment
30
33
  */
31
- export declare function useListInputSetQuery(props: ListInputSetProps, options?: Omit<UseQueryOptions<ListInputSetOkResponse, ListInputSetErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListInputSetOkResponse, ApiRestError>;
34
+ export declare function useListInputSetQuery(props: ListInputSetProps, options?: Omit<UseQueryOptions<ListInputSetResponseContainer, ListInputSetErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListInputSetResponseContainer, 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 listInputSet(props) {
7
7
  return fetcher(Object.assign({ url: `/rest/v2/experiments/${props.experimentId}/inputsets`, method: 'GET' }, props));
8
8
  }