@harnessio/react-chaos-manager-client 1.56.2 → 1.58.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 (101) hide show
  1. package/dist/chaos-manager/src/services/hooks/useAbortChaosComponentMutation.d.ts +1 -1
  2. package/dist/chaos-manager/src/services/hooks/useAbortChaosComponentMutation.js +1 -1
  3. package/dist/chaos-manager/src/services/hooks/useCanRetryExperimentCreationQuery.d.ts +1 -1
  4. package/dist/chaos-manager/src/services/hooks/useCanRetryExperimentCreationQuery.js +1 -1
  5. package/dist/chaos-manager/src/services/hooks/useCreateChaosComponentMutation.d.ts +1 -1
  6. package/dist/chaos-manager/src/services/hooks/useCreateChaosComponentMutation.js +1 -1
  7. package/dist/chaos-manager/src/services/hooks/useCreateConditionMutation.d.ts +1 -1
  8. package/dist/chaos-manager/src/services/hooks/useCreateConditionMutation.js +1 -1
  9. package/dist/chaos-manager/src/services/hooks/useCreateDrTestMutation.d.ts +1 -1
  10. package/dist/chaos-manager/src/services/hooks/useCreateDrTestMutation.js +1 -1
  11. package/dist/chaos-manager/src/services/hooks/useCreateRiskMutation.d.ts +1 -1
  12. package/dist/chaos-manager/src/services/hooks/useCreateRiskMutation.js +1 -1
  13. package/dist/chaos-manager/src/services/hooks/useCreateRuleMutation.d.ts +1 -1
  14. package/dist/chaos-manager/src/services/hooks/useCreateRuleMutation.js +1 -1
  15. package/dist/chaos-manager/src/services/hooks/useDeleteConditionMutation.d.ts +1 -1
  16. package/dist/chaos-manager/src/services/hooks/useDeleteConditionMutation.js +1 -1
  17. package/dist/chaos-manager/src/services/hooks/useDeleteRiskMutation.d.ts +1 -1
  18. package/dist/chaos-manager/src/services/hooks/useDeleteRiskMutation.js +1 -1
  19. package/dist/chaos-manager/src/services/hooks/useDeleteRuleMutation.d.ts +1 -1
  20. package/dist/chaos-manager/src/services/hooks/useDeleteRuleMutation.js +1 -1
  21. package/dist/chaos-manager/src/services/hooks/useEnableRuleMutation.d.ts +1 -1
  22. package/dist/chaos-manager/src/services/hooks/useEnableRuleMutation.js +1 -1
  23. package/dist/chaos-manager/src/services/hooks/useGetChaosComponentVariableQuery.d.ts +1 -1
  24. package/dist/chaos-manager/src/services/hooks/useGetChaosComponentVariableQuery.js +1 -1
  25. package/dist/chaos-manager/src/services/hooks/useGetConditionQuery.d.ts +1 -1
  26. package/dist/chaos-manager/src/services/hooks/useGetConditionQuery.js +1 -1
  27. package/dist/chaos-manager/src/services/hooks/useGetExperimentOrTemplateVariableQuery.d.ts +1 -1
  28. package/dist/chaos-manager/src/services/hooks/useGetExperimentOrTemplateVariableQuery.js +1 -1
  29. package/dist/chaos-manager/src/services/hooks/useGetExperimentRunsCsvMutation.d.ts +1 -1
  30. package/dist/chaos-manager/src/services/hooks/useGetExperimentRunsCsvMutation.js +1 -1
  31. package/dist/chaos-manager/src/services/hooks/useGetLegacyKubernetesChaosInfraManifestQuery.js +1 -1
  32. package/dist/chaos-manager/src/services/hooks/useGetLegacyKubernetesHelmInfraCommandQuery.js +1 -1
  33. package/dist/chaos-manager/src/services/hooks/useGetProbeManifestQuery.js +1 -1
  34. package/dist/chaos-manager/src/services/hooks/useGetRiskQuery.d.ts +1 -1
  35. package/dist/chaos-manager/src/services/hooks/useGetRiskQuery.js +1 -1
  36. package/dist/chaos-manager/src/services/hooks/useGetRuleQuery.d.ts +1 -1
  37. package/dist/chaos-manager/src/services/hooks/useGetRuleQuery.js +1 -1
  38. package/dist/chaos-manager/src/services/hooks/useListActionMetadataQuery.d.ts +1 -1
  39. package/dist/chaos-manager/src/services/hooks/useListActionMetadataQuery.js +1 -1
  40. package/dist/chaos-manager/src/services/hooks/useListChaosComponentQuery.d.ts +1 -1
  41. package/dist/chaos-manager/src/services/hooks/useListChaosComponentQuery.js +1 -1
  42. package/dist/chaos-manager/src/services/hooks/useListConditionQuery.d.ts +1 -1
  43. package/dist/chaos-manager/src/services/hooks/useListConditionQuery.js +1 -1
  44. package/dist/chaos-manager/src/services/hooks/useListDrTestsQuery.d.ts +2 -1
  45. package/dist/chaos-manager/src/services/hooks/useListDrTestsQuery.js +1 -1
  46. package/dist/chaos-manager/src/services/hooks/useListExperimentMetadataQuery.d.ts +1 -1
  47. package/dist/chaos-manager/src/services/hooks/useListExperimentMetadataQuery.js +1 -1
  48. package/dist/chaos-manager/src/services/hooks/useListExperimentOrTemplateQuery.d.ts +1 -1
  49. package/dist/chaos-manager/src/services/hooks/useListExperimentOrTemplateQuery.js +1 -1
  50. package/dist/chaos-manager/src/services/hooks/useListFaultMetadataQuery.d.ts +1 -1
  51. package/dist/chaos-manager/src/services/hooks/useListFaultMetadataQuery.js +1 -1
  52. package/dist/chaos-manager/src/services/hooks/useListGamedayMetadataQuery.d.ts +1 -1
  53. package/dist/chaos-manager/src/services/hooks/useListGamedayMetadataQuery.js +1 -1
  54. package/dist/chaos-manager/src/services/hooks/useListHubMetadataQuery.d.ts +1 -1
  55. package/dist/chaos-manager/src/services/hooks/useListHubMetadataQuery.js +1 -1
  56. package/dist/chaos-manager/src/services/hooks/useListProbeExecutionsQuery.d.ts +1 -1
  57. package/dist/chaos-manager/src/services/hooks/useListProbeExecutionsQuery.js +1 -1
  58. package/dist/chaos-manager/src/services/hooks/useListProbeMetadataQuery.d.ts +1 -1
  59. package/dist/chaos-manager/src/services/hooks/useListProbeMetadataQuery.js +1 -1
  60. package/dist/chaos-manager/src/services/hooks/useListRisksQuery.d.ts +1 -1
  61. package/dist/chaos-manager/src/services/hooks/useListRisksQuery.js +1 -1
  62. package/dist/chaos-manager/src/services/hooks/useListRuleQuery.d.ts +1 -1
  63. package/dist/chaos-manager/src/services/hooks/useListRuleQuery.js +1 -1
  64. package/dist/chaos-manager/src/services/hooks/useOnboardingConfirmDiscoveryMutation.d.ts +1 -1
  65. package/dist/chaos-manager/src/services/hooks/useOnboardingConfirmDiscoveryMutation.js +1 -1
  66. package/dist/chaos-manager/src/services/hooks/useOnboardingConfirmExperimentCreationMutation.d.ts +1 -1
  67. package/dist/chaos-manager/src/services/hooks/useOnboardingConfirmExperimentCreationMutation.js +1 -1
  68. package/dist/chaos-manager/src/services/hooks/useOnboardingConfirmExperimentRunMutation.d.ts +1 -1
  69. package/dist/chaos-manager/src/services/hooks/useOnboardingConfirmExperimentRunMutation.js +1 -1
  70. package/dist/chaos-manager/src/services/hooks/useOnboardingConfirmNetworkMapMutation.d.ts +1 -1
  71. package/dist/chaos-manager/src/services/hooks/useOnboardingConfirmNetworkMapMutation.js +1 -1
  72. package/dist/chaos-manager/src/services/hooks/useRecommendationEventMutation.d.ts +1 -1
  73. package/dist/chaos-manager/src/services/hooks/useRecommendationEventMutation.js +1 -1
  74. package/dist/chaos-manager/src/services/hooks/useRetryExperimentCreationMutation.d.ts +1 -1
  75. package/dist/chaos-manager/src/services/hooks/useRetryExperimentCreationMutation.js +1 -1
  76. package/dist/chaos-manager/src/services/hooks/useRunChaosComponentMutation.d.ts +1 -1
  77. package/dist/chaos-manager/src/services/hooks/useRunChaosComponentMutation.js +1 -1
  78. package/dist/chaos-manager/src/services/hooks/useUpdateChaosComponentMutation.d.ts +1 -1
  79. package/dist/chaos-manager/src/services/hooks/useUpdateChaosComponentMutation.js +1 -1
  80. package/dist/chaos-manager/src/services/hooks/useUpdateConditionMutation.d.ts +1 -1
  81. package/dist/chaos-manager/src/services/hooks/useUpdateConditionMutation.js +1 -1
  82. package/dist/chaos-manager/src/services/hooks/useUpdateRiskMutation.d.ts +1 -1
  83. package/dist/chaos-manager/src/services/hooks/useUpdateRiskMutation.js +1 -1
  84. package/dist/chaos-manager/src/services/hooks/useUpdateRuleMutation.d.ts +1 -1
  85. package/dist/chaos-manager/src/services/hooks/useUpdateRuleMutation.js +1 -1
  86. package/dist/chaos-manager/src/services/hooks/useUpgradeLegacyKubernetesChaosInfraMutation.js +1 -1
  87. package/dist/chaos-manager/src/services/index.d.ts +3 -2
  88. package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesChaosExecutionNode.d.ts +2 -0
  89. package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesExecutionOutput.d.ts +6 -0
  90. package/dist/chaos-manager/src/services/schemas/ChaoscomponentsDrTest.d.ts +6 -3
  91. package/dist/chaos-manager/src/services/schemas/ChaoscomponentsListDrTestsResponse.d.ts +3 -1
  92. package/dist/chaos-manager/src/services/schemas/ChaoscomponentsStage.d.ts +9 -0
  93. package/dist/chaos-manager/src/services/schemas/ChaoscomponentsStage.js +4 -0
  94. package/dist/chaos-manager/src/services/schemas/ChaosexperimentpipelineGetChaosPipelineNodesResponse.d.ts +2 -0
  95. package/dist/chaos-manager/src/services/schemas/ExecutionChaosExecutionNode.d.ts +2 -0
  96. package/dist/chaos-manager/src/services/schemas/ExecutionExecutionOutput.d.ts +8 -0
  97. package/package.json +1 -1
  98. package/dist/chaos-manager/src/services/schemas/ChaoscomponentsDrTestPipelineInfo.d.ts +0 -7
  99. package/dist/chaos-manager/src/services/schemas/ChaoscomponentsDrTestSpec.d.ts +0 -4
  100. /package/dist/chaos-manager/src/services/schemas/{ChaoscomponentsDrTestPipelineInfo.js → ChaosExecutionNodesExecutionOutput.js} +0 -0
  101. /package/dist/chaos-manager/src/services/schemas/{ChaoscomponentsDrTestSpec.js → ExecutionExecutionOutput.js} +0 -0
@@ -37,6 +37,6 @@ export interface ListRisksResponseContainer {
37
37
  }
38
38
  export declare function listRisks(props: ListRisksProps): Promise<ListRisksResponseContainer>;
39
39
  /**
40
- * lists risks
40
+ * Lists risks
41
41
  */
42
42
  export declare function useListRisksQuery(props: ListRisksProps, options?: Omit<UseQueryOptions<ListRisksResponseContainer, ListRisksErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListRisksResponseContainer, ApiRestError>;
@@ -7,7 +7,7 @@ export function listRisks(props) {
7
7
  return fetcher(Object.assign({ url: `/v3/risks`, method: 'GET' }, props));
8
8
  }
9
9
  /**
10
- * lists risks
10
+ * Lists risks
11
11
  */
12
12
  export function useListRisksQuery(props, options) {
13
13
  return useQuery(['listRisks', props.queryParams], ({ signal }) => listRisks(Object.assign(Object.assign({}, props), { signal })), options);
@@ -33,6 +33,6 @@ export interface ListRuleResponseContainer {
33
33
  }
34
34
  export declare function listRule(props: ListRuleProps): Promise<ListRuleResponseContainer>;
35
35
  /**
36
- * lists chaos guard rules
36
+ * Lists chaos guard rules
37
37
  */
38
38
  export declare function useListRuleQuery(props: ListRuleProps, options?: Omit<UseQueryOptions<ListRuleResponseContainer, ListRuleErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListRuleResponseContainer, ApiRestError>;
@@ -7,7 +7,7 @@ export function listRule(props) {
7
7
  return fetcher(Object.assign({ url: `/v3/chaosguard-rules`, method: 'GET' }, props));
8
8
  }
9
9
  /**
10
- * lists chaos guard rules
10
+ * Lists chaos guard rules
11
11
  */
12
12
  export function useListRuleQuery(props, options) {
13
13
  return useQuery(['listRule', props.queryParams], ({ signal }) => listRule(Object.assign(Object.assign({}, props), { signal })), options);
@@ -23,6 +23,6 @@ export interface OnboardingConfirmDiscoveryResponseContainer {
23
23
  export declare function onboardingConfirmDiscovery(props: OnboardingConfirmDiscoveryProps): Promise<OnboardingConfirmDiscoveryResponseContainer>;
24
24
  export type OnboardingConfirmDiscoveryMutationProps<T extends keyof OnboardingConfirmDiscoveryProps> = Omit<OnboardingConfirmDiscoveryProps, T> & Partial<Pick<OnboardingConfirmDiscoveryProps, T>>;
25
25
  /**
26
- * confirm discovery step in manual onboarding
26
+ * Confirm discovery step in manual onboarding
27
27
  */
28
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>;
@@ -7,7 +7,7 @@ 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
- * confirm discovery step in manual onboarding
10
+ * Confirm discovery step in manual onboarding
11
11
  */
12
12
  export function useOnboardingConfirmDiscoveryMutation(props, options) {
13
13
  return useMutation((mutateProps) => onboardingConfirmDiscovery(Object.assign(Object.assign({}, props), mutateProps)), options);
@@ -26,6 +26,6 @@ export interface OnboardingConfirmExperimentCreationResponseContainer {
26
26
  export declare function onboardingConfirmExperimentCreation(props: OnboardingConfirmExperimentCreationProps): Promise<OnboardingConfirmExperimentCreationResponseContainer>;
27
27
  export type OnboardingConfirmExperimentCreationMutationProps<T extends keyof OnboardingConfirmExperimentCreationProps> = Omit<OnboardingConfirmExperimentCreationProps, T> & Partial<Pick<OnboardingConfirmExperimentCreationProps, T>>;
28
28
  /**
29
- * confirm experiment creation step in manual onboarding
29
+ * Confirm experiment creation step in manual onboarding
30
30
  */
31
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>;
@@ -7,7 +7,7 @@ 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
- * confirm experiment creation step in manual onboarding
10
+ * Confirm experiment creation step in manual onboarding
11
11
  */
12
12
  export function useOnboardingConfirmExperimentCreationMutation(props, options) {
13
13
  return useMutation((mutateProps) => onboardingConfirmExperimentCreation(Object.assign(Object.assign({}, props), mutateProps)), options);
@@ -23,6 +23,6 @@ export interface OnboardingConfirmExperimentRunResponseContainer {
23
23
  export declare function onboardingConfirmExperimentRun(props: OnboardingConfirmExperimentRunProps): Promise<OnboardingConfirmExperimentRunResponseContainer>;
24
24
  export type OnboardingConfirmExperimentRunMutationProps<T extends keyof OnboardingConfirmExperimentRunProps> = Omit<OnboardingConfirmExperimentRunProps, T> & Partial<Pick<OnboardingConfirmExperimentRunProps, T>>;
25
25
  /**
26
- * confirm experiment run step in manual onboarding
26
+ * Confirm experiment run step in manual onboarding
27
27
  */
28
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>;
@@ -7,7 +7,7 @@ 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
- * confirm experiment run step in manual onboarding
10
+ * Confirm experiment run step in manual onboarding
11
11
  */
12
12
  export function useOnboardingConfirmExperimentRunMutation(props, options) {
13
13
  return useMutation((mutateProps) => onboardingConfirmExperimentRun(Object.assign(Object.assign({}, props), mutateProps)), options);
@@ -26,6 +26,6 @@ export interface OnboardingConfirmNetworkMapResponseContainer {
26
26
  export declare function onboardingConfirmNetworkMap(props: OnboardingConfirmNetworkMapProps): Promise<OnboardingConfirmNetworkMapResponseContainer>;
27
27
  export type OnboardingConfirmNetworkMapMutationProps<T extends keyof OnboardingConfirmNetworkMapProps> = Omit<OnboardingConfirmNetworkMapProps, T> & Partial<Pick<OnboardingConfirmNetworkMapProps, T>>;
28
28
  /**
29
- * confirm network map creation step in manual onboarding
29
+ * Confirm network map creation step in manual onboarding
30
30
  */
31
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>;
@@ -7,7 +7,7 @@ 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
- * confirm network map creation step in manual onboarding
10
+ * Confirm network map creation step in manual onboarding
11
11
  */
12
12
  export function useOnboardingConfirmNetworkMapMutation(props, options) {
13
13
  return useMutation((mutateProps) => onboardingConfirmNetworkMap(Object.assign(Object.assign({}, props), mutateProps)), options);
@@ -14,6 +14,6 @@ export interface RecommendationEventResponseContainer {
14
14
  export declare function recommendationEvent(props: RecommendationEventProps): Promise<RecommendationEventResponseContainer>;
15
15
  export type RecommendationEventMutationProps<T extends keyof RecommendationEventProps> = Omit<RecommendationEventProps, T> & Partial<Pick<RecommendationEventProps, T>>;
16
16
  /**
17
- * process the recommendation event
17
+ * Process the recommendation event
18
18
  */
19
19
  export declare function useRecommendationEventMutation<T extends keyof RecommendationEventProps>(props: Pick<Partial<RecommendationEventProps>, T>, options?: Omit<UseMutationOptions<RecommendationEventResponseContainer, RecommendationEventErrorResponse, RecommendationEventMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<RecommendationEventResponseContainer, unknown, RecommendationEventMutationProps<T>, unknown>;
@@ -7,7 +7,7 @@ export function recommendationEvent(props) {
7
7
  return fetcher(Object.assign({ url: `/internal/recommendations/event`, method: 'POST' }, props));
8
8
  }
9
9
  /**
10
- * process the recommendation event
10
+ * Process the recommendation event
11
11
  */
12
12
  export function useRecommendationEventMutation(props, options) {
13
13
  return useMutation((mutateProps) => recommendationEvent(Object.assign(Object.assign({}, props), mutateProps)), options);
@@ -27,6 +27,6 @@ export interface RetryExperimentCreationResponseContainer {
27
27
  export declare function retryExperimentCreation(props: RetryExperimentCreationProps): Promise<RetryExperimentCreationResponseContainer>;
28
28
  export type RetryExperimentCreationMutationProps<T extends keyof RetryExperimentCreationProps> = Omit<RetryExperimentCreationProps, T> & Partial<Pick<RetryExperimentCreationProps, T>>;
29
29
  /**
30
- * retry chaos experiment creation for the given target network map
30
+ * Retry chaos experiment creation for the given target network map
31
31
  */
32
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>;
@@ -7,7 +7,7 @@ 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
- * retry chaos experiment creation for the given target network map
10
+ * Retry chaos experiment creation for the given target network map
11
11
  */
12
12
  export function useRetryExperimentCreationMutation(props, options) {
13
13
  return useMutation((mutateProps) => retryExperimentCreation(Object.assign(Object.assign({}, props), mutateProps)), options);
@@ -27,6 +27,6 @@ export interface RunChaosComponentResponseContainer {
27
27
  export declare function runChaosComponent(props: RunChaosComponentProps): Promise<RunChaosComponentResponseContainer>;
28
28
  export type RunChaosComponentMutationProps<T extends keyof RunChaosComponentProps> = Omit<RunChaosComponentProps, T> & Partial<Pick<RunChaosComponentProps, T>>;
29
29
  /**
30
- * runs chaos component (faults, probes, actions)
30
+ * Runs chaos component (faults, probes, actions)
31
31
  */
32
32
  export declare function useRunChaosComponentMutation<T extends keyof RunChaosComponentProps>(props: Pick<Partial<RunChaosComponentProps>, T>, options?: Omit<UseMutationOptions<RunChaosComponentResponseContainer, RunChaosComponentErrorResponse, RunChaosComponentMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<RunChaosComponentResponseContainer, ApiRestError, RunChaosComponentMutationProps<T>, unknown>;
@@ -7,7 +7,7 @@ export function runChaosComponent(props) {
7
7
  return fetcher(Object.assign({ url: `/v3/integrations/run-chaos-component`, method: 'POST' }, props));
8
8
  }
9
9
  /**
10
- * runs chaos component (faults, probes, actions)
10
+ * Runs chaos component (faults, probes, actions)
11
11
  */
12
12
  export function useRunChaosComponentMutation(props, options) {
13
13
  return useMutation((mutateProps) => runChaosComponent(Object.assign(Object.assign({}, props), mutateProps)), options);
@@ -30,6 +30,6 @@ export interface UpdateChaosComponentResponseContainer {
30
30
  export declare function updateChaosComponent(props: UpdateChaosComponentProps): Promise<UpdateChaosComponentResponseContainer>;
31
31
  export type UpdateChaosComponentMutationProps<T extends keyof UpdateChaosComponentProps> = Omit<UpdateChaosComponentProps, T> & Partial<Pick<UpdateChaosComponentProps, T>>;
32
32
  /**
33
- * updates the chaos component node
33
+ * Updates the chaos component node
34
34
  */
35
35
  export declare function useUpdateChaosComponentMutation<T extends keyof UpdateChaosComponentProps>(props: Pick<Partial<UpdateChaosComponentProps>, T>, options?: Omit<UseMutationOptions<UpdateChaosComponentResponseContainer, UpdateChaosComponentErrorResponse, UpdateChaosComponentMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateChaosComponentResponseContainer, ApiRestError, UpdateChaosComponentMutationProps<T>, unknown>;
@@ -7,7 +7,7 @@ export function updateChaosComponent(props) {
7
7
  return fetcher(Object.assign({ url: `/internalv3/chaos-components/nodes/${props.identity}/${props.runID}/${props.notifyId}/${props.name}`, method: 'PUT' }, props));
8
8
  }
9
9
  /**
10
- * updates the chaos component node
10
+ * Updates the chaos component node
11
11
  */
12
12
  export function useUpdateChaosComponentMutation(props, options) {
13
13
  return useMutation((mutateProps) => updateChaosComponent(Object.assign(Object.assign({}, props), mutateProps)), options);
@@ -27,6 +27,6 @@ export interface UpdateConditionResponseContainer {
27
27
  export declare function updateCondition(props: UpdateConditionProps): Promise<UpdateConditionResponseContainer>;
28
28
  export type UpdateConditionMutationProps<T extends keyof UpdateConditionProps> = Omit<UpdateConditionProps, T> & Partial<Pick<UpdateConditionProps, T>>;
29
29
  /**
30
- * updates a chaos guard condition
30
+ * Updates a chaos guard condition
31
31
  */
32
32
  export declare function useUpdateConditionMutation<T extends keyof UpdateConditionProps>(props: Pick<Partial<UpdateConditionProps>, T>, options?: Omit<UseMutationOptions<UpdateConditionResponseContainer, UpdateConditionErrorResponse, UpdateConditionMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateConditionResponseContainer, ApiRestError, UpdateConditionMutationProps<T>, unknown>;
@@ -7,7 +7,7 @@ export function updateCondition(props) {
7
7
  return fetcher(Object.assign({ url: `/v3/chaosguard-conditions/${props.identity}`, method: 'PUT' }, props));
8
8
  }
9
9
  /**
10
- * updates a chaos guard condition
10
+ * Updates a chaos guard condition
11
11
  */
12
12
  export function useUpdateConditionMutation(props, options) {
13
13
  return useMutation((mutateProps) => updateCondition(Object.assign(Object.assign({}, props), mutateProps)), options);
@@ -28,6 +28,6 @@ export interface UpdateRiskResponseContainer {
28
28
  export declare function updateRisk(props: UpdateRiskProps): Promise<UpdateRiskResponseContainer>;
29
29
  export type UpdateRiskMutationProps<T extends keyof UpdateRiskProps> = Omit<UpdateRiskProps, T> & Partial<Pick<UpdateRiskProps, T>>;
30
30
  /**
31
- * updates a risk
31
+ * Updates a risk
32
32
  */
33
33
  export declare function useUpdateRiskMutation<T extends keyof UpdateRiskProps>(props: Pick<Partial<UpdateRiskProps>, T>, options?: Omit<UseMutationOptions<UpdateRiskResponseContainer, UpdateRiskErrorResponse, UpdateRiskMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateRiskResponseContainer, ApiRestError, UpdateRiskMutationProps<T>, unknown>;
@@ -7,7 +7,7 @@ export function updateRisk(props) {
7
7
  return fetcher(Object.assign({ url: `/v3/risks/${props.identity}`, method: 'PUT' }, props));
8
8
  }
9
9
  /**
10
- * updates a risk
10
+ * Updates a risk
11
11
  */
12
12
  export function useUpdateRiskMutation(props, options) {
13
13
  return useMutation((mutateProps) => updateRisk(Object.assign(Object.assign({}, props), mutateProps)), options);
@@ -27,6 +27,6 @@ export interface UpdateRuleResponseContainer {
27
27
  export declare function updateRule(props: UpdateRuleProps): Promise<UpdateRuleResponseContainer>;
28
28
  export type UpdateRuleMutationProps<T extends keyof UpdateRuleProps> = Omit<UpdateRuleProps, T> & Partial<Pick<UpdateRuleProps, T>>;
29
29
  /**
30
- * updates a chaos guard rule
30
+ * Updates a chaos guard rule
31
31
  */
32
32
  export declare function useUpdateRuleMutation<T extends keyof UpdateRuleProps>(props: Pick<Partial<UpdateRuleProps>, T>, options?: Omit<UseMutationOptions<UpdateRuleResponseContainer, UpdateRuleErrorResponse, UpdateRuleMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateRuleResponseContainer, ApiRestError, UpdateRuleMutationProps<T>, unknown>;
@@ -7,7 +7,7 @@ export function updateRule(props) {
7
7
  return fetcher(Object.assign({ url: `/v3/chaosguard-rules/${props.identity}`, method: 'PUT' }, props));
8
8
  }
9
9
  /**
10
- * updates a chaos guard rule
10
+ * Updates a chaos guard rule
11
11
  */
12
12
  export function useUpdateRuleMutation(props, options) {
13
13
  return useMutation((mutateProps) => updateRule(Object.assign(Object.assign({}, props), mutateProps)), options);
@@ -4,7 +4,7 @@
4
4
  import { useMutation } from '@tanstack/react-query';
5
5
  import { fetcher } from '../../../../custom-fetcher/index.js';
6
6
  export function upgradeLegacyKubernetesChaosInfra(props) {
7
- return fetcher(Object.assign({ url: `/rest/kubernetes/infra/upgrade/${props.id}`, method: 'POST' }, props));
7
+ return fetcher(Object.assign({ url: `/rest/kubernetes/infra/${props.id}/upgrade`, method: 'POST' }, props));
8
8
  }
9
9
  /**
10
10
  * Upgrade legacy kubernetes chaos infrastructure
@@ -474,6 +474,7 @@ export type { ChaosExecutionNodesChaosExecutionNode } from './schemas/ChaosExecu
474
474
  export type { ChaosExecutionNodesChaosExecutionResponse } from './schemas/ChaosExecutionNodesChaosExecutionResponse';
475
475
  export type { ChaosExecutionNodesCommandProbe } from './schemas/ChaosExecutionNodesCommandProbe';
476
476
  export type { ChaosExecutionNodesErrorData } from './schemas/ChaosExecutionNodesErrorData';
477
+ export type { ChaosExecutionNodesExecutionOutput } from './schemas/ChaosExecutionNodesExecutionOutput';
477
478
  export type { ChaosExecutionNodesFaultData } from './schemas/ChaosExecutionNodesFaultData';
478
479
  export type { ChaosExecutionNodesFaultDetails } from './schemas/ChaosExecutionNodesFaultDetails';
479
480
  export type { ChaosExecutionNodesHelperPodDetails } from './schemas/ChaosExecutionNodesHelperPodDetails';
@@ -531,15 +532,14 @@ export type { ChaoscomponentsCreateDrTestPipelineRequest } from './schemas/Chaos
531
532
  export type { ChaoscomponentsCreateDrTestPipelineResponse } from './schemas/ChaoscomponentsCreateDrTestPipelineResponse';
532
533
  export type { ChaoscomponentsCreateDrTestPipelineResponseData } from './schemas/ChaoscomponentsCreateDrTestPipelineResponseData';
533
534
  export type { ChaoscomponentsDrTest } from './schemas/ChaoscomponentsDrTest';
534
- export type { ChaoscomponentsDrTestPipelineInfo } from './schemas/ChaoscomponentsDrTestPipelineInfo';
535
535
  export type { ChaoscomponentsDrTestRunInfo } from './schemas/ChaoscomponentsDrTestRunInfo';
536
- export type { ChaoscomponentsDrTestSpec } from './schemas/ChaoscomponentsDrTestSpec';
537
536
  export type { ChaoscomponentsGetChaosComponentVariableData } from './schemas/ChaoscomponentsGetChaosComponentVariableData';
538
537
  export type { ChaoscomponentsGetChaosComponentVariableResponse } from './schemas/ChaoscomponentsGetChaosComponentVariableResponse';
539
538
  export type { ChaoscomponentsListDrTestsResponse } from './schemas/ChaoscomponentsListDrTestsResponse';
540
539
  export type { ChaoscomponentsRunChaosComponentRequest } from './schemas/ChaoscomponentsRunChaosComponentRequest';
541
540
  export type { ChaoscomponentsRunChaosComponentResponse } from './schemas/ChaoscomponentsRunChaosComponentResponse';
542
541
  export type { ChaoscomponentsRunChaosComponentResponseData } from './schemas/ChaoscomponentsRunChaosComponentResponseData';
542
+ export type { ChaoscomponentsStage } from './schemas/ChaoscomponentsStage';
543
543
  export type { ChaoscomponentsUserMetaData } from './schemas/ChaoscomponentsUserMetaData';
544
544
  export type { ChaosexperimentListExperimentData } from './schemas/ChaosexperimentListExperimentData';
545
545
  export type { ChaosexperimentpipelineGetChaosPipelineNodesResponse } from './schemas/ChaosexperimentpipelineGetChaosPipelineNodesResponse';
@@ -677,6 +677,7 @@ export type { ExecutionChaosStepStatus } from './schemas/ExecutionChaosStepStatu
677
677
  export type { ExecutionChaosStepType } from './schemas/ExecutionChaosStepType';
678
678
  export type { ExecutionCommandProbe } from './schemas/ExecutionCommandProbe';
679
679
  export type { ExecutionErrorData } from './schemas/ExecutionErrorData';
680
+ export type { ExecutionExecutionOutput } from './schemas/ExecutionExecutionOutput';
680
681
  export type { ExecutionFaultData } from './schemas/ExecutionFaultData';
681
682
  export type { ExecutionHelperPodDetails } from './schemas/ExecutionHelperPodDetails';
682
683
  export type { ExecutionHttpProbe } from './schemas/ExecutionHttpProbe';
@@ -1,5 +1,6 @@
1
1
  import type { ChaosExecutionNodesChaosData } from '../schemas/ChaosExecutionNodesChaosData';
2
2
  import type { ChaosExecutionNodesErrorData } from '../schemas/ChaosExecutionNodesErrorData';
3
+ import type { ChaosExecutionNodesExecutionOutput } from '../schemas/ChaosExecutionNodesExecutionOutput';
3
4
  import type { ExecutionChaosStepStatus } from '../schemas/ExecutionChaosStepStatus';
4
5
  import type { ExecutionChaosStepType } from '../schemas/ExecutionChaosStepType';
5
6
  export interface ChaosExecutionNodesChaosExecutionNode {
@@ -8,6 +9,7 @@ export interface ChaosExecutionNodesChaosExecutionNode {
8
9
  duration?: number;
9
10
  errorData?: ChaosExecutionNodesErrorData;
10
11
  estimatedTime?: number;
12
+ executionOutput?: ChaosExecutionNodesExecutionOutput;
11
13
  experimentID?: string;
12
14
  experimentRunID?: string;
13
15
  finishedAt?: number;
@@ -0,0 +1,6 @@
1
+ import type { ExecutionChaosStepType } from '../schemas/ExecutionChaosStepType';
2
+ import type { ExecutionChaosStepStatus } from '../schemas/ExecutionChaosStepStatus';
3
+ export interface ChaosExecutionNodesExecutionOutput {
4
+ resourceType?: ExecutionChaosStepType;
5
+ status?: ExecutionChaosStepStatus;
6
+ }
@@ -1,10 +1,13 @@
1
- import type { ChaoscomponentsDrTestSpec } from '../schemas/ChaoscomponentsDrTestSpec';
1
+ import type { ChaoscomponentsDrTestRunInfo } from '../schemas/ChaoscomponentsDrTestRunInfo';
2
+ import type { ChaoscomponentsStage } from '../schemas/ChaoscomponentsStage';
2
3
  export interface ChaoscomponentsDrTest {
3
4
  description?: string;
4
5
  identity?: string;
6
+ infrastructureType?: string;
7
+ lastModified?: number;
5
8
  name?: string;
6
- objective?: string;
7
- spec?: ChaoscomponentsDrTestSpec;
9
+ recentRuns?: ChaoscomponentsDrTestRunInfo[];
10
+ stages?: ChaoscomponentsStage[];
8
11
  tags?: {
9
12
  [key: string]: string;
10
13
  };
@@ -1,4 +1,6 @@
1
1
  import type { ChaoscomponentsDrTest } from '../schemas/ChaoscomponentsDrTest';
2
+ import type { SharedPaginationResponse } from '../schemas/SharedPaginationResponse';
2
3
  export interface ChaoscomponentsListDrTestsResponse {
3
- drtests?: ChaoscomponentsDrTest[];
4
+ items?: ChaoscomponentsDrTest[];
5
+ pagination?: SharedPaginationResponse;
4
6
  }
@@ -0,0 +1,9 @@
1
+ export interface ChaoscomponentsStage {
2
+ description?: string;
3
+ identifier?: string;
4
+ name?: string;
5
+ objective?: string;
6
+ tags?: {
7
+ [key: string]: string;
8
+ };
9
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -1,6 +1,8 @@
1
1
  import type { ChaosExecutionNodesChaosExecutionNode } from '../schemas/ChaosExecutionNodesChaosExecutionNode';
2
+ import type { ChaosExecutionNodesExecutionOutput } from '../schemas/ChaosExecutionNodesExecutionOutput';
2
3
  import type { ChaosexperimentpipelineReferenceEntities } from '../schemas/ChaosexperimentpipelineReferenceEntities';
3
4
  export interface ChaosexperimentpipelineGetChaosPipelineNodesResponse {
4
5
  chaosExecutionNode?: ChaosExecutionNodesChaosExecutionNode;
6
+ output?: ChaosExecutionNodesExecutionOutput;
5
7
  refEntities?: ChaosexperimentpipelineReferenceEntities;
6
8
  }
@@ -1,6 +1,7 @@
1
1
  import type { ExecutionChaosData } from '../schemas/ExecutionChaosData';
2
2
  import type { ExecutionErrorData } from '../schemas/ExecutionErrorData';
3
3
  import type { ExecutionInfraType } from '../schemas/ExecutionInfraType';
4
+ import type { ExecutionExecutionOutput } from '../schemas/ExecutionExecutionOutput';
4
5
  import type { ExecutionChaosStepStatus } from '../schemas/ExecutionChaosStepStatus';
5
6
  import type { ExecutionChaosStepType } from '../schemas/ExecutionChaosStepType';
6
7
  export interface ExecutionChaosExecutionNode {
@@ -14,6 +15,7 @@ export interface ExecutionChaosExecutionNode {
14
15
  infraType?: ExecutionInfraType;
15
16
  isRemoved?: boolean;
16
17
  lastUpdatedAt?: number;
18
+ output?: ExecutionExecutionOutput;
17
19
  spec?: string;
18
20
  startedAt?: number;
19
21
  status?: ExecutionChaosStepStatus;
@@ -0,0 +1,8 @@
1
+ import type { ExecutionChaosStepStatus } from '../schemas/ExecutionChaosStepStatus';
2
+ export interface ExecutionExecutionOutput {
3
+ orgIdentifier?: string;
4
+ projectIdentifier?: string;
5
+ resourceIdentifier?: string;
6
+ resourceType?: string;
7
+ status?: ExecutionChaosStepStatus;
8
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-chaos-manager-client",
3
- "version": "1.56.2",
3
+ "version": "1.58.0",
4
4
  "description": "Harness React Chaos Manager Service Client - APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",
@@ -1,7 +0,0 @@
1
- import type { ChaoscomponentsDrTestRunInfo } from '../schemas/ChaoscomponentsDrTestRunInfo';
2
- export interface ChaoscomponentsDrTestPipelineInfo {
3
- identity?: string;
4
- lastModified?: number;
5
- name?: string;
6
- recentRuns?: ChaoscomponentsDrTestRunInfo[];
7
- }
@@ -1,4 +0,0 @@
1
- import type { ChaoscomponentsDrTestPipelineInfo } from '../schemas/ChaoscomponentsDrTestPipelineInfo';
2
- export interface ChaoscomponentsDrTestSpec {
3
- pipeline?: ChaoscomponentsDrTestPipelineInfo;
4
- }