@harnessio/react-chaos-manager-client 0.17.0 → 1.0.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 (57) hide show
  1. package/dist/chaos-manager/src/services/hooks/useCreateChaosExperimentExecutionNodeMutation.d.ts +24 -0
  2. package/dist/chaos-manager/src/services/hooks/useCreateChaosExperimentExecutionNodeMutation.js +14 -0
  3. package/dist/chaos-manager/src/services/hooks/useExperimentExecutionNodeDetailsQuery.d.ts +28 -0
  4. package/dist/chaos-manager/src/services/hooks/useExperimentExecutionNodeDetailsQuery.js +20 -0
  5. package/dist/chaos-manager/src/services/hooks/useGetChaosPipelineExecutionQuery.d.ts +27 -0
  6. package/dist/chaos-manager/src/services/hooks/useGetChaosPipelineExecutionQuery.js +14 -0
  7. package/dist/chaos-manager/src/services/hooks/useGetChaosPipelineStepDetailsQuery.d.ts +28 -0
  8. package/dist/chaos-manager/src/services/hooks/useGetChaosPipelineStepDetailsQuery.js +20 -0
  9. package/dist/chaos-manager/src/services/hooks/useUpdateChaosExperimentExecutionNodeMutation.d.ts +29 -0
  10. package/dist/chaos-manager/src/services/hooks/useUpdateChaosExperimentExecutionNodeMutation.js +14 -0
  11. package/dist/chaos-manager/src/services/index.d.ts +28 -0
  12. package/dist/chaos-manager/src/services/index.js +5 -0
  13. package/dist/chaos-manager/src/services/schemas/ChaoshubListFaultsResponse.d.ts +1 -1
  14. package/dist/chaos-manager/src/services/schemas/ExecutionActionData.d.ts +3 -0
  15. package/dist/chaos-manager/src/services/schemas/ExecutionActionData.js +4 -0
  16. package/dist/chaos-manager/src/services/schemas/ExecutionChaosData.d.ts +8 -0
  17. package/dist/chaos-manager/src/services/schemas/ExecutionChaosData.js +1 -0
  18. package/dist/chaos-manager/src/services/schemas/ExecutionChaosExecutionNode.d.ts +21 -0
  19. package/dist/chaos-manager/src/services/schemas/ExecutionChaosExecutionNode.js +1 -0
  20. package/dist/chaos-manager/src/services/schemas/ExecutionChaosStepStatus.d.ts +1 -0
  21. package/dist/chaos-manager/src/services/schemas/ExecutionChaosStepStatus.js +4 -0
  22. package/dist/chaos-manager/src/services/schemas/ExecutionChaosStepType.d.ts +1 -0
  23. package/dist/chaos-manager/src/services/schemas/ExecutionChaosStepType.js +4 -0
  24. package/dist/chaos-manager/src/services/schemas/ExecutionCommandProbe.d.ts +3 -0
  25. package/dist/chaos-manager/src/services/schemas/ExecutionCommandProbe.js +4 -0
  26. package/dist/chaos-manager/src/services/schemas/ExecutionErrorData.d.ts +4 -0
  27. package/dist/chaos-manager/src/services/schemas/ExecutionErrorData.js +4 -0
  28. package/dist/chaos-manager/src/services/schemas/ExecutionFaultData.d.ts +6 -0
  29. package/dist/chaos-manager/src/services/schemas/ExecutionFaultData.js +1 -0
  30. package/dist/chaos-manager/src/services/schemas/ExecutionHelperPodDetails.d.ts +4 -0
  31. package/dist/chaos-manager/src/services/schemas/ExecutionHelperPodDetails.js +4 -0
  32. package/dist/chaos-manager/src/services/schemas/ExecutionHttpProbe.d.ts +5 -0
  33. package/dist/chaos-manager/src/services/schemas/ExecutionHttpProbe.js +4 -0
  34. package/dist/chaos-manager/src/services/schemas/ExecutionInfraType.d.ts +1 -0
  35. package/dist/chaos-manager/src/services/schemas/ExecutionInfraType.js +4 -0
  36. package/dist/chaos-manager/src/services/schemas/ExecutionKubernetesFaultData.d.ts +10 -0
  37. package/dist/chaos-manager/src/services/schemas/ExecutionKubernetesFaultData.js +1 -0
  38. package/dist/chaos-manager/src/services/schemas/ExecutionMachineChaosFaultData.d.ts +3 -0
  39. package/dist/chaos-manager/src/services/schemas/ExecutionMachineChaosFaultData.js +4 -0
  40. package/dist/chaos-manager/src/services/schemas/ExecutionProbeData.d.ts +8 -0
  41. package/dist/chaos-manager/src/services/schemas/ExecutionProbeData.js +1 -0
  42. package/dist/chaos-manager/src/services/schemas/ExecutionProbeIterations.d.ts +14 -0
  43. package/dist/chaos-manager/src/services/schemas/ExecutionProbeIterations.js +1 -0
  44. package/dist/chaos-manager/src/services/schemas/ExecutionPromProbe.d.ts +3 -0
  45. package/dist/chaos-manager/src/services/schemas/ExecutionPromProbe.js +4 -0
  46. package/dist/chaos-manager/src/services/schemas/GithubComWingsSoftwareDdcrPkgTypesChaosInputs.d.ts +1 -1
  47. package/dist/chaos-manager/src/services/schemas/GithubComWingsSoftwareDdcrPkgTypesDefinition.d.ts +6 -0
  48. package/dist/chaos-manager/src/services/schemas/TypesGetProbeResponse.d.ts +1 -0
  49. package/dist/chaos-manager/src/services/schemas/TypesListProbeResponse.d.ts +2 -2
  50. package/dist/chaos-manager/src/services/schemas/TypesProbeRequest.d.ts +1 -0
  51. package/dist/chaos-manager/src/services/schemas/TypesSelector.d.ts +3 -0
  52. package/dist/chaos-manager/src/services/schemas/TypesWorkload.d.ts +12 -0
  53. package/dist/chaos-manager/src/services/schemas/V1alpha1TargetDetails.d.ts +5 -0
  54. package/dist/chaos-manager/src/services/schemas/V1alpha1TargetDetails.js +4 -0
  55. package/dist/chaos-manager/src/services/schemas/V1alpha1Targets.d.ts +8 -0
  56. package/dist/chaos-manager/src/services/schemas/V1alpha1Targets.js +4 -0
  57. package/package.json +1 -1
@@ -0,0 +1,24 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ApiRestError } from '../schemas/ApiRestError';
3
+ import type { ExecutionChaosExecutionNode } from '../schemas/ExecutionChaosExecutionNode';
4
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
+ export interface CreateChaosExperimentExecutionNodeMutationPathParams {
6
+ experimentId: string;
7
+ experimentRunId: string;
8
+ }
9
+ export type CreateChaosExperimentExecutionNodeRequestBody = ExecutionChaosExecutionNode[];
10
+ export type CreateChaosExperimentExecutionNodeOkResponse = string;
11
+ export type CreateChaosExperimentExecutionNodeErrorResponse = ApiRestError;
12
+ export interface CreateChaosExperimentExecutionNodeProps extends CreateChaosExperimentExecutionNodeMutationPathParams, Omit<FetcherOptions<unknown, CreateChaosExperimentExecutionNodeRequestBody>, 'url'> {
13
+ body: CreateChaosExperimentExecutionNodeRequestBody;
14
+ }
15
+ export interface CreateChaosExperimentExecutionNodeResponseContainer {
16
+ body: CreateChaosExperimentExecutionNodeOkResponse;
17
+ headers: Headers;
18
+ }
19
+ export declare function createChaosExperimentExecutionNode(props: CreateChaosExperimentExecutionNodeProps): Promise<CreateChaosExperimentExecutionNodeResponseContainer>;
20
+ export type CreateChaosExperimentExecutionNodeMutationProps<T extends keyof CreateChaosExperimentExecutionNodeProps> = Omit<CreateChaosExperimentExecutionNodeProps, T> & Partial<Pick<CreateChaosExperimentExecutionNodeProps, T>>;
21
+ /**
22
+ * Create chaos execution node
23
+ */
24
+ export declare function useCreateChaosExperimentExecutionNodeMutation<T extends keyof CreateChaosExperimentExecutionNodeProps>(props: Pick<Partial<CreateChaosExperimentExecutionNodeProps>, T>, options?: Omit<UseMutationOptions<CreateChaosExperimentExecutionNodeResponseContainer, CreateChaosExperimentExecutionNodeErrorResponse, CreateChaosExperimentExecutionNodeMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateChaosExperimentExecutionNodeResponseContainer, ApiRestError, CreateChaosExperimentExecutionNodeMutationProps<T>, unknown>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useMutation } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../custom-fetcher/index.js';
6
+ export function createChaosExperimentExecutionNode(props) {
7
+ return fetcher(Object.assign({ url: `/internal/execution-node/${props.experimentId}/${props.experimentRunId}`, method: 'PUT' }, props));
8
+ }
9
+ /**
10
+ * Create chaos execution node
11
+ */
12
+ export function useCreateChaosExperimentExecutionNodeMutation(props, options) {
13
+ return useMutation((mutateProps) => createChaosExperimentExecutionNode(Object.assign(Object.assign({}, props), mutateProps)), options);
14
+ }
@@ -0,0 +1,28 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ExecutionChaosExecutionNode } from '../schemas/ExecutionChaosExecutionNode';
3
+ import type { ApiRestError } from '../schemas/ApiRestError';
4
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
+ export interface ExperimentExecutionNodeDetailsQueryPathParams {
6
+ name: string;
7
+ experimentId: string;
8
+ experimentRunId: string;
9
+ }
10
+ export interface ExperimentExecutionNodeDetailsQueryQueryParams {
11
+ accountIdentifier: string;
12
+ organizationIdentifier: string;
13
+ projectIdentifier: string;
14
+ }
15
+ export type ExperimentExecutionNodeDetailsOkResponse = ExecutionChaosExecutionNode[];
16
+ export type ExperimentExecutionNodeDetailsErrorResponse = ApiRestError;
17
+ export interface ExperimentExecutionNodeDetailsProps extends ExperimentExecutionNodeDetailsQueryPathParams, Omit<FetcherOptions<ExperimentExecutionNodeDetailsQueryQueryParams, unknown>, 'url'> {
18
+ queryParams: ExperimentExecutionNodeDetailsQueryQueryParams;
19
+ }
20
+ export interface ExperimentExecutionNodeDetailsResponseContainer {
21
+ body: ExperimentExecutionNodeDetailsOkResponse;
22
+ headers: Headers;
23
+ }
24
+ export declare function experimentExecutionNodeDetails(props: ExperimentExecutionNodeDetailsProps): Promise<ExperimentExecutionNodeDetailsResponseContainer>;
25
+ /**
26
+ * Get chaos execution node
27
+ */
28
+ export declare function useExperimentExecutionNodeDetailsQuery(props: ExperimentExecutionNodeDetailsProps, options?: Omit<UseQueryOptions<ExperimentExecutionNodeDetailsResponseContainer, ExperimentExecutionNodeDetailsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ExperimentExecutionNodeDetailsResponseContainer, ApiRestError>;
@@ -0,0 +1,20 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../custom-fetcher/index.js';
6
+ export function experimentExecutionNodeDetails(props) {
7
+ return fetcher(Object.assign({ url: `/internal/execution-node/${props.experimentId}/${props.experimentRunId}`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Get chaos execution node
11
+ */
12
+ export function useExperimentExecutionNodeDetailsQuery(props, options) {
13
+ return useQuery([
14
+ 'experimentExecutionNodeDetails',
15
+ props.name,
16
+ props.experimentId,
17
+ props.experimentRunId,
18
+ props.queryParams,
19
+ ], ({ signal }) => experimentExecutionNodeDetails(Object.assign(Object.assign({}, props), { signal })), options);
20
+ }
@@ -0,0 +1,27 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ChaosExecutionNodesChaosExecutionResponse } from '../schemas/ChaosExecutionNodesChaosExecutionResponse';
3
+ import type { ApiRestError } from '../schemas/ApiRestError';
4
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
+ export interface GetChaosPipelineExecutionQueryPathParams {
6
+ experimentId: string;
7
+ experimentRunId: string;
8
+ }
9
+ export interface GetChaosPipelineExecutionQueryQueryParams {
10
+ accountIdentifier: string;
11
+ organizationIdentifier: string;
12
+ projectIdentifier: string;
13
+ }
14
+ export type GetChaosPipelineExecutionOkResponse = ChaosExecutionNodesChaosExecutionResponse;
15
+ export type GetChaosPipelineExecutionErrorResponse = ApiRestError;
16
+ export interface GetChaosPipelineExecutionProps extends GetChaosPipelineExecutionQueryPathParams, Omit<FetcherOptions<GetChaosPipelineExecutionQueryQueryParams, unknown>, 'url'> {
17
+ queryParams: GetChaosPipelineExecutionQueryQueryParams;
18
+ }
19
+ export interface GetChaosPipelineExecutionResponseContainer {
20
+ body: GetChaosPipelineExecutionOkResponse;
21
+ headers: Headers;
22
+ }
23
+ export declare function getChaosPipelineExecution(props: GetChaosPipelineExecutionProps): Promise<GetChaosPipelineExecutionResponseContainer>;
24
+ /**
25
+ * Get a chaos pipeline execution
26
+ */
27
+ export declare function useGetChaosPipelineExecutionQuery(props: GetChaosPipelineExecutionProps, options?: Omit<UseQueryOptions<GetChaosPipelineExecutionResponseContainer, GetChaosPipelineExecutionErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetChaosPipelineExecutionResponseContainer, ApiRestError>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../custom-fetcher/index.js';
6
+ export function getChaosPipelineExecution(props) {
7
+ return fetcher(Object.assign({ url: `/rest/v2/chaos-pipeline/${props.experimentId}/${props.experimentRunId}`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Get a chaos pipeline execution
11
+ */
12
+ export function useGetChaosPipelineExecutionQuery(props, options) {
13
+ return useQuery(['getChaosPipelineExecution', props.experimentId, props.experimentRunId, props.queryParams], ({ signal }) => getChaosPipelineExecution(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,28 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ChaosExecutionNodesChaosExecutionNode } from '../schemas/ChaosExecutionNodesChaosExecutionNode';
3
+ import type { ApiRestError } from '../schemas/ApiRestError';
4
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
+ export interface GetChaosPipelineStepDetailsQueryPathParams {
6
+ experimentId: string;
7
+ experimentRunId: string;
8
+ stepName: string;
9
+ }
10
+ export interface GetChaosPipelineStepDetailsQueryQueryParams {
11
+ accountIdentifier: string;
12
+ organizationIdentifier: string;
13
+ projectIdentifier: string;
14
+ }
15
+ export type GetChaosPipelineStepDetailsOkResponse = ChaosExecutionNodesChaosExecutionNode;
16
+ export type GetChaosPipelineStepDetailsErrorResponse = ApiRestError;
17
+ export interface GetChaosPipelineStepDetailsProps extends GetChaosPipelineStepDetailsQueryPathParams, Omit<FetcherOptions<GetChaosPipelineStepDetailsQueryQueryParams, unknown>, 'url'> {
18
+ queryParams: GetChaosPipelineStepDetailsQueryQueryParams;
19
+ }
20
+ export interface GetChaosPipelineStepDetailsResponseContainer {
21
+ body: GetChaosPipelineStepDetailsOkResponse;
22
+ headers: Headers;
23
+ }
24
+ export declare function getChaosPipelineStepDetails(props: GetChaosPipelineStepDetailsProps): Promise<GetChaosPipelineStepDetailsResponseContainer>;
25
+ /**
26
+ * Get a chaos pipeline step execution
27
+ */
28
+ export declare function useGetChaosPipelineStepDetailsQuery(props: GetChaosPipelineStepDetailsProps, options?: Omit<UseQueryOptions<GetChaosPipelineStepDetailsResponseContainer, GetChaosPipelineStepDetailsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetChaosPipelineStepDetailsResponseContainer, ApiRestError>;
@@ -0,0 +1,20 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../custom-fetcher/index.js';
6
+ export function getChaosPipelineStepDetails(props) {
7
+ return fetcher(Object.assign({ url: `/rest/v2/chaos-pipeline/step/${props.experimentId}/${props.experimentRunId}/${props.stepName}`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Get a chaos pipeline step execution
11
+ */
12
+ export function useGetChaosPipelineStepDetailsQuery(props, options) {
13
+ return useQuery([
14
+ 'getChaosPipelineStepDetails',
15
+ props.experimentId,
16
+ props.experimentRunId,
17
+ props.stepName,
18
+ props.queryParams,
19
+ ], ({ signal }) => getChaosPipelineStepDetails(Object.assign(Object.assign({}, props), { signal })), options);
20
+ }
@@ -0,0 +1,29 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ApiRestError } from '../schemas/ApiRestError';
3
+ import type { ExecutionChaosExecutionNode } from '../schemas/ExecutionChaosExecutionNode';
4
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
+ export interface UpdateChaosExperimentExecutionNodeMutationPathParams {
6
+ name: string;
7
+ experimentId: string;
8
+ experimentRunId: string;
9
+ }
10
+ export interface UpdateChaosExperimentExecutionNodeMutationQueryParams {
11
+ accountIdentifier: string;
12
+ }
13
+ export type UpdateChaosExperimentExecutionNodeRequestBody = ExecutionChaosExecutionNode;
14
+ export type UpdateChaosExperimentExecutionNodeOkResponse = string;
15
+ export type UpdateChaosExperimentExecutionNodeErrorResponse = ApiRestError;
16
+ export interface UpdateChaosExperimentExecutionNodeProps extends UpdateChaosExperimentExecutionNodeMutationPathParams, Omit<FetcherOptions<UpdateChaosExperimentExecutionNodeMutationQueryParams, UpdateChaosExperimentExecutionNodeRequestBody>, 'url'> {
17
+ queryParams: UpdateChaosExperimentExecutionNodeMutationQueryParams;
18
+ body: UpdateChaosExperimentExecutionNodeRequestBody;
19
+ }
20
+ export interface UpdateChaosExperimentExecutionNodeResponseContainer {
21
+ body: UpdateChaosExperimentExecutionNodeOkResponse;
22
+ headers: Headers;
23
+ }
24
+ export declare function updateChaosExperimentExecutionNode(props: UpdateChaosExperimentExecutionNodeProps): Promise<UpdateChaosExperimentExecutionNodeResponseContainer>;
25
+ export type UpdateChaosExperimentExecutionNodeMutationProps<T extends keyof UpdateChaosExperimentExecutionNodeProps> = Omit<UpdateChaosExperimentExecutionNodeProps, T> & Partial<Pick<UpdateChaosExperimentExecutionNodeProps, T>>;
26
+ /**
27
+ * Update chaos execution node
28
+ */
29
+ export declare function useUpdateChaosExperimentExecutionNodeMutation<T extends keyof UpdateChaosExperimentExecutionNodeProps>(props: Pick<Partial<UpdateChaosExperimentExecutionNodeProps>, T>, options?: Omit<UseMutationOptions<UpdateChaosExperimentExecutionNodeResponseContainer, UpdateChaosExperimentExecutionNodeErrorResponse, UpdateChaosExperimentExecutionNodeMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateChaosExperimentExecutionNodeResponseContainer, ApiRestError, UpdateChaosExperimentExecutionNodeMutationProps<T>, unknown>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useMutation } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../custom-fetcher/index.js';
6
+ export function updateChaosExperimentExecutionNode(props) {
7
+ return fetcher(Object.assign({ url: `/internal/execution-node/${props.experimentId}/${props.experimentRunId}/${props.name}`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Update chaos execution node
11
+ */
12
+ export function useUpdateChaosExperimentExecutionNodeMutation(props, options) {
13
+ return useMutation((mutateProps) => updateChaosExperimentExecutionNode(Object.assign(Object.assign({}, props), mutateProps)), options);
14
+ }
@@ -10,6 +10,8 @@ export type { CreateActionErrorResponse, CreateActionMutationProps, CreateAction
10
10
  export { createAction, useCreateActionMutation } from './hooks/useCreateActionMutation';
11
11
  export type { CreateActionTemplateErrorResponse, CreateActionTemplateMutationProps, CreateActionTemplateMutationQueryParams, CreateActionTemplateOkResponse, CreateActionTemplateProps, CreateActionTemplateRequestBody, } from './hooks/useCreateActionTemplateMutation';
12
12
  export { createActionTemplate, useCreateActionTemplateMutation, } from './hooks/useCreateActionTemplateMutation';
13
+ export type { CreateChaosExperimentExecutionNodeErrorResponse, CreateChaosExperimentExecutionNodeMutationPathParams, CreateChaosExperimentExecutionNodeMutationProps, CreateChaosExperimentExecutionNodeOkResponse, CreateChaosExperimentExecutionNodeProps, CreateChaosExperimentExecutionNodeRequestBody, } from './hooks/useCreateChaosExperimentExecutionNodeMutation';
14
+ export { createChaosExperimentExecutionNode, useCreateChaosExperimentExecutionNodeMutation, } from './hooks/useCreateChaosExperimentExecutionNodeMutation';
13
15
  export type { CreateChaosExperimentPipelineErrorResponse, CreateChaosExperimentPipelineMutationProps, CreateChaosExperimentPipelineMutationQueryParams, CreateChaosExperimentPipelineOkResponse, CreateChaosExperimentPipelineProps, CreateChaosExperimentPipelineRequestBody, } from './hooks/useCreateChaosExperimentPipelineMutation';
14
16
  export { createChaosExperimentPipeline, useCreateChaosExperimentPipelineMutation, } from './hooks/useCreateChaosExperimentPipelineMutation';
15
17
  export type { CreateChaosHubErrorResponse, CreateChaosHubMutationProps, CreateChaosHubMutationQueryParams, CreateChaosHubOkResponse, CreateChaosHubProps, CreateChaosHubRequestBody, } from './hooks/useCreateChaosHubMutation';
@@ -54,6 +56,8 @@ export type { DeleteTargetNetworkMapErrorResponse, DeleteTargetNetworkMapMutatio
54
56
  export { deleteTargetNetworkMap, useDeleteTargetNetworkMapMutation, } from './hooks/useDeleteTargetNetworkMapMutation';
55
57
  export type { EnableProbeErrorResponse, EnableProbeMutationPathParams, EnableProbeMutationProps, EnableProbeMutationQueryParams, EnableProbeOkResponse, EnableProbeProps, EnableProbeRequestBody, } from './hooks/useEnableProbeMutation';
56
58
  export { enableProbe, useEnableProbeMutation } from './hooks/useEnableProbeMutation';
59
+ export type { ExperimentExecutionNodeDetailsErrorResponse, ExperimentExecutionNodeDetailsOkResponse, ExperimentExecutionNodeDetailsProps, ExperimentExecutionNodeDetailsQueryPathParams, ExperimentExecutionNodeDetailsQueryQueryParams, } from './hooks/useExperimentExecutionNodeDetailsQuery';
60
+ export { experimentExecutionNodeDetails, useExperimentExecutionNodeDetailsQuery, } from './hooks/useExperimentExecutionNodeDetailsQuery';
57
61
  export type { GetAccountServiceDetailsErrorResponse, GetAccountServiceDetailsOkResponse, GetAccountServiceDetailsProps, GetAccountServiceDetailsQueryPathParams, GetAccountServiceDetailsQueryQueryParams, } from './hooks/useGetAccountServiceDetailsQuery';
58
62
  export { getAccountServiceDetails, useGetAccountServiceDetailsQuery, } from './hooks/useGetAccountServiceDetailsQuery';
59
63
  export type { GetAccountServiceUsageStatsErrorResponse, GetAccountServiceUsageStatsOkResponse, GetAccountServiceUsageStatsProps, GetAccountServiceUsageStatsQueryPathParams, GetAccountServiceUsageStatsQueryQueryParams, } from './hooks/useGetAccountServiceUsageStatsQuery';
@@ -72,6 +76,10 @@ export type { GetChaosExperimentRunReportErrorResponse, GetChaosExperimentRunRep
72
76
  export { getChaosExperimentRunReport, useGetChaosExperimentRunReportQuery, } from './hooks/useGetChaosExperimentRunReportQuery';
73
77
  export type { GetChaosHubErrorResponse, GetChaosHubOkResponse, GetChaosHubProps, GetChaosHubQueryPathParams, GetChaosHubQueryQueryParams, } from './hooks/useGetChaosHubQuery';
74
78
  export { getChaosHub, useGetChaosHubQuery } from './hooks/useGetChaosHubQuery';
79
+ export type { GetChaosPipelineExecutionErrorResponse, GetChaosPipelineExecutionOkResponse, GetChaosPipelineExecutionProps, GetChaosPipelineExecutionQueryPathParams, GetChaosPipelineExecutionQueryQueryParams, } from './hooks/useGetChaosPipelineExecutionQuery';
80
+ export { getChaosPipelineExecution, useGetChaosPipelineExecutionQuery, } from './hooks/useGetChaosPipelineExecutionQuery';
81
+ export type { GetChaosPipelineStepDetailsErrorResponse, GetChaosPipelineStepDetailsOkResponse, GetChaosPipelineStepDetailsProps, GetChaosPipelineStepDetailsQueryPathParams, GetChaosPipelineStepDetailsQueryQueryParams, } from './hooks/useGetChaosPipelineStepDetailsQuery';
82
+ export { getChaosPipelineStepDetails, useGetChaosPipelineStepDetailsQuery, } from './hooks/useGetChaosPipelineStepDetailsQuery';
75
83
  export type { GetChaosV2ExperimentErrorResponse, GetChaosV2ExperimentOkResponse, GetChaosV2ExperimentProps, GetChaosV2ExperimentQueryPathParams, GetChaosV2ExperimentQueryQueryParams, } from './hooks/useGetChaosV2ExperimentQuery';
76
84
  export { getChaosV2Experiment, useGetChaosV2ExperimentQuery, } from './hooks/useGetChaosV2ExperimentQuery';
77
85
  export type { GetChaosV2ExperimentRunInternalApiErrorResponse, GetChaosV2ExperimentRunInternalApiMutationPathParams, GetChaosV2ExperimentRunInternalApiMutationProps, GetChaosV2ExperimentRunInternalApiMutationQueryParams, GetChaosV2ExperimentRunInternalApiOkResponse, GetChaosV2ExperimentRunInternalApiProps, GetChaosV2ExperimentRunInternalApiRequestBody, } from './hooks/useGetChaosV2ExperimentRunInternalApiMutation';
@@ -220,6 +228,8 @@ export type { UpdateActionErrorResponse, UpdateActionMutationPathParams, UpdateA
220
228
  export { updateAction, useUpdateActionMutation } from './hooks/useUpdateActionMutation';
221
229
  export type { UpdateActionTemplateErrorResponse, UpdateActionTemplateMutationPathParams, UpdateActionTemplateMutationProps, UpdateActionTemplateMutationQueryParams, UpdateActionTemplateOkResponse, UpdateActionTemplateProps, UpdateActionTemplateRequestBody, } from './hooks/useUpdateActionTemplateMutation';
222
230
  export { updateActionTemplate, useUpdateActionTemplateMutation, } from './hooks/useUpdateActionTemplateMutation';
231
+ export type { UpdateChaosExperimentExecutionNodeErrorResponse, UpdateChaosExperimentExecutionNodeMutationPathParams, UpdateChaosExperimentExecutionNodeMutationProps, UpdateChaosExperimentExecutionNodeMutationQueryParams, UpdateChaosExperimentExecutionNodeOkResponse, UpdateChaosExperimentExecutionNodeProps, UpdateChaosExperimentExecutionNodeRequestBody, } from './hooks/useUpdateChaosExperimentExecutionNodeMutation';
232
+ export { updateChaosExperimentExecutionNode, useUpdateChaosExperimentExecutionNodeMutation, } from './hooks/useUpdateChaosExperimentExecutionNodeMutation';
223
233
  export type { UpdateChaosHubErrorResponse, UpdateChaosHubMutationPathParams, UpdateChaosHubMutationProps, UpdateChaosHubMutationQueryParams, UpdateChaosHubOkResponse, UpdateChaosHubProps, UpdateChaosHubRequestBody, } from './hooks/useUpdateChaosHubMutation';
224
234
  export { updateChaosHub, useUpdateChaosHubMutation } from './hooks/useUpdateChaosHubMutation';
225
235
  export type { UpdateChaosV2CronExperimentErrorResponse, UpdateChaosV2CronExperimentMutationProps, UpdateChaosV2CronExperimentMutationQueryParams, UpdateChaosV2CronExperimentOkResponse, UpdateChaosV2CronExperimentProps, UpdateChaosV2CronExperimentRequestBody, } from './hooks/useUpdateChaosV2CronExperimentMutation';
@@ -369,6 +379,22 @@ export type { DatabaseResourceList } from './schemas/DatabaseResourceList';
369
379
  export type { DatabaseResourceRequirements } from './schemas/DatabaseResourceRequirements';
370
380
  export type { DatabaseServiceCollection } from './schemas/DatabaseServiceCollection';
371
381
  export type { DatabaseServiceIdentity } from './schemas/DatabaseServiceIdentity';
382
+ export type { ExecutionActionData } from './schemas/ExecutionActionData';
383
+ export type { ExecutionChaosData } from './schemas/ExecutionChaosData';
384
+ export type { ExecutionChaosExecutionNode } from './schemas/ExecutionChaosExecutionNode';
385
+ export type { ExecutionChaosStepStatus } from './schemas/ExecutionChaosStepStatus';
386
+ export type { ExecutionChaosStepType } from './schemas/ExecutionChaosStepType';
387
+ export type { ExecutionCommandProbe } from './schemas/ExecutionCommandProbe';
388
+ export type { ExecutionErrorData } from './schemas/ExecutionErrorData';
389
+ export type { ExecutionFaultData } from './schemas/ExecutionFaultData';
390
+ export type { ExecutionHelperPodDetails } from './schemas/ExecutionHelperPodDetails';
391
+ export type { ExecutionHttpProbe } from './schemas/ExecutionHttpProbe';
392
+ export type { ExecutionInfraType } from './schemas/ExecutionInfraType';
393
+ export type { ExecutionKubernetesFaultData } from './schemas/ExecutionKubernetesFaultData';
394
+ export type { ExecutionMachineChaosFaultData } from './schemas/ExecutionMachineChaosFaultData';
395
+ export type { ExecutionProbeData } from './schemas/ExecutionProbeData';
396
+ export type { ExecutionProbeIterations } from './schemas/ExecutionProbeIterations';
397
+ export type { ExecutionPromProbe } from './schemas/ExecutionPromProbe';
372
398
  export type { ExperimentSaveChaosExperimentResponse } from './schemas/ExperimentSaveChaosExperimentResponse';
373
399
  export type { Gamedayrunv2ApprovalStatus } from './schemas/Gamedayrunv2ApprovalStatus';
374
400
  export type { Gamedayrunv2PrerequisiteStatus } from './schemas/Gamedayrunv2PrerequisiteStatus';
@@ -818,6 +844,8 @@ export type { V1VolumeMount } from './schemas/V1VolumeMount';
818
844
  export type { V1VolumeProjection } from './schemas/V1VolumeProjection';
819
845
  export type { V1VsphereVirtualDiskVolumeSource } from './schemas/V1VsphereVirtualDiskVolumeSource';
820
846
  export type { V1WindowsSecurityContextOptions } from './schemas/V1WindowsSecurityContextOptions';
847
+ export type { V1alpha1TargetDetails } from './schemas/V1alpha1TargetDetails';
848
+ export type { V1alpha1Targets } from './schemas/V1alpha1Targets';
821
849
  export type { V2OnboardingAgentData } from './schemas/V2OnboardingAgentData';
822
850
  export type { V2OnboardingAgentDetails } from './schemas/V2OnboardingAgentDetails';
823
851
  export type { V2OnboardingAutoCreatedNetworkMapStatus } from './schemas/V2OnboardingAutoCreatedNetworkMapStatus';
@@ -4,6 +4,7 @@ export { bulkExperimentTagAdd, useBulkExperimentTagAddMutation, } from './hooks/
4
4
  export { canRetryExperimentCreation, useCanRetryExperimentCreationQuery, } from './hooks/useCanRetryExperimentCreationQuery';
5
5
  export { createAction, useCreateActionMutation } from './hooks/useCreateActionMutation';
6
6
  export { createActionTemplate, useCreateActionTemplateMutation, } from './hooks/useCreateActionTemplateMutation';
7
+ export { createChaosExperimentExecutionNode, useCreateChaosExperimentExecutionNodeMutation, } from './hooks/useCreateChaosExperimentExecutionNodeMutation';
7
8
  export { createChaosExperimentPipeline, useCreateChaosExperimentPipelineMutation, } from './hooks/useCreateChaosExperimentPipelineMutation';
8
9
  export { createChaosHub, useCreateChaosHubMutation } from './hooks/useCreateChaosHubMutation';
9
10
  export { createFaultTemplate, useCreateFaultTemplateMutation, } from './hooks/useCreateFaultTemplateMutation';
@@ -26,6 +27,7 @@ export { deleteProbeTemplate, useDeleteProbeTemplateMutation, } from './hooks/us
26
27
  export { deleteRecommendation, useDeleteRecommendationMutation, } from './hooks/useDeleteRecommendationMutation';
27
28
  export { deleteTargetNetworkMap, useDeleteTargetNetworkMapMutation, } from './hooks/useDeleteTargetNetworkMapMutation';
28
29
  export { enableProbe, useEnableProbeMutation } from './hooks/useEnableProbeMutation';
30
+ export { experimentExecutionNodeDetails, useExperimentExecutionNodeDetailsQuery, } from './hooks/useExperimentExecutionNodeDetailsQuery';
29
31
  export { getAccountServiceDetails, useGetAccountServiceDetailsQuery, } from './hooks/useGetAccountServiceDetailsQuery';
30
32
  export { getAccountServiceUsageStats, useGetAccountServiceUsageStatsQuery, } from './hooks/useGetAccountServiceUsageStatsQuery';
31
33
  export { getActionManifest, useGetActionManifestQuery } from './hooks/useGetActionManifestQuery';
@@ -35,6 +37,8 @@ export { getActionTemplateRevisionDifference, useGetActionTemplateRevisionDiffer
35
37
  export { getChaosDashboard, useGetChaosDashboardQuery } from './hooks/useGetChaosDashboardQuery';
36
38
  export { getChaosExperimentRunReport, useGetChaosExperimentRunReportQuery, } from './hooks/useGetChaosExperimentRunReportQuery';
37
39
  export { getChaosHub, useGetChaosHubQuery } from './hooks/useGetChaosHubQuery';
40
+ export { getChaosPipelineExecution, useGetChaosPipelineExecutionQuery, } from './hooks/useGetChaosPipelineExecutionQuery';
41
+ export { getChaosPipelineStepDetails, useGetChaosPipelineStepDetailsQuery, } from './hooks/useGetChaosPipelineStepDetailsQuery';
38
42
  export { getChaosV2Experiment, useGetChaosV2ExperimentQuery, } from './hooks/useGetChaosV2ExperimentQuery';
39
43
  export { getChaosV2ExperimentRunInternalApi, useGetChaosV2ExperimentRunInternalApiMutation, } from './hooks/useGetChaosV2ExperimentRunInternalApiMutation';
40
44
  export { getChaosV2ExperimentRun, useGetChaosV2ExperimentRunQuery, } from './hooks/useGetChaosV2ExperimentRunQuery';
@@ -109,6 +113,7 @@ export { stopChaosV2Experiment, useStopChaosV2ExperimentMutation, } from './hook
109
113
  export { stopOnboardingExperiments, useStopOnboardingExperimentsMutation, } from './hooks/useStopOnboardingExperimentsMutation';
110
114
  export { updateAction, useUpdateActionMutation } from './hooks/useUpdateActionMutation';
111
115
  export { updateActionTemplate, useUpdateActionTemplateMutation, } from './hooks/useUpdateActionTemplateMutation';
116
+ export { updateChaosExperimentExecutionNode, useUpdateChaosExperimentExecutionNodeMutation, } from './hooks/useUpdateChaosExperimentExecutionNodeMutation';
112
117
  export { updateChaosHub, useUpdateChaosHubMutation } from './hooks/useUpdateChaosHubMutation';
113
118
  export { updateChaosV2CronExperiment, useUpdateChaosV2CronExperimentMutation, } from './hooks/useUpdateChaosV2CronExperimentMutation';
114
119
  export { updateEmissary, useUpdateEmissaryMutation } from './hooks/useUpdateEmissaryMutation';
@@ -3,6 +3,6 @@ import type { ChaoshubresourcesChaosHubResource } from '../schemas/Chaoshubresou
3
3
  import type { GithubComHarnessHceSaasGraphqlServerApiPagination } from '../schemas/GithubComHarnessHceSaasGraphqlServerApiPagination';
4
4
  export interface ChaoshubListFaultsResponse {
5
5
  categoryCount?: ChaoshubFaultCategoryCount[];
6
- faults?: ChaoshubresourcesChaosHubResource[];
6
+ data?: ChaoshubresourcesChaosHubResource[];
7
7
  pagination?: GithubComHarnessHceSaasGraphqlServerApiPagination;
8
8
  }
@@ -0,0 +1,3 @@
1
+ export interface ExecutionActionData {
2
+ name?: string;
3
+ }
@@ -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 {};
@@ -0,0 +1,8 @@
1
+ import type { ExecutionActionData } from '../schemas/ExecutionActionData';
2
+ import type { ExecutionFaultData } from '../schemas/ExecutionFaultData';
3
+ import type { ExecutionProbeData } from '../schemas/ExecutionProbeData';
4
+ export interface ExecutionChaosData {
5
+ actionData?: ExecutionActionData;
6
+ faultData?: ExecutionFaultData;
7
+ probeData?: ExecutionProbeData;
8
+ }
@@ -0,0 +1,21 @@
1
+ import type { ExecutionChaosData } from '../schemas/ExecutionChaosData';
2
+ import type { ExecutionErrorData } from '../schemas/ExecutionErrorData';
3
+ import type { ExecutionInfraType } from '../schemas/ExecutionInfraType';
4
+ import type { ExecutionChaosStepStatus } from '../schemas/ExecutionChaosStepStatus';
5
+ import type { ExecutionChaosStepType } from '../schemas/ExecutionChaosStepType';
6
+ export interface ExecutionChaosExecutionNode {
7
+ chaosData?: ExecutionChaosData;
8
+ errorData?: ExecutionErrorData;
9
+ estimatedTime?: number;
10
+ experimentID?: string;
11
+ experimentRunID?: string;
12
+ finishedAt?: number;
13
+ infraType?: ExecutionInfraType;
14
+ isRemoved?: boolean;
15
+ lastUpdatedAt?: number;
16
+ startedAt?: number;
17
+ status?: ExecutionChaosStepStatus;
18
+ stepName?: string;
19
+ stepType?: ExecutionChaosStepType;
20
+ streamID?: string;
21
+ }
@@ -0,0 +1 @@
1
+ export type ExecutionChaosStepStatus = 'COMPLETED' | 'COMPLETED_WITH_PROBE_FAILURE' | 'ERROR' | 'FAILED' | 'PASSED' | 'PENDING' | 'RUNNING' | 'SKIPPED' | 'STOPPED';
@@ -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 {};
@@ -0,0 +1 @@
1
+ export type ExecutionChaosStepType = 'ACTION' | 'EXPERIMENT' | 'FAULT' | 'PROBE';
@@ -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 {};
@@ -0,0 +1,3 @@
1
+ export interface ExecutionCommandProbe {
2
+ output?: number[];
3
+ }
@@ -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 {};
@@ -0,0 +1,4 @@
1
+ export interface ExecutionErrorData {
2
+ code?: string;
3
+ message?: string;
4
+ }
@@ -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 {};
@@ -0,0 +1,6 @@
1
+ import type { ExecutionKubernetesFaultData } from '../schemas/ExecutionKubernetesFaultData';
2
+ import type { ExecutionMachineChaosFaultData } from '../schemas/ExecutionMachineChaosFaultData';
3
+ export interface ExecutionFaultData {
4
+ kubernetesFaultData?: ExecutionKubernetesFaultData;
5
+ machineChaosFaultData?: ExecutionMachineChaosFaultData;
6
+ }
@@ -0,0 +1,4 @@
1
+ export interface ExecutionHelperPodDetails {
2
+ logStreamID?: string;
3
+ name?: string;
4
+ }
@@ -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 {};
@@ -0,0 +1,5 @@
1
+ export interface ExecutionHttpProbe {
2
+ responseBody?: number[];
3
+ responseTime?: number;
4
+ statusCode?: number;
5
+ }
@@ -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 {};
@@ -0,0 +1 @@
1
+ export type ExecutionInfraType = 'CloudFoundry' | 'Container' | 'Kubernetes' | 'Linux' | 'Windows';
@@ -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 {};
@@ -0,0 +1,10 @@
1
+ import type { ExecutionHelperPodDetails } from '../schemas/ExecutionHelperPodDetails';
2
+ import type { V1alpha1TargetDetails } from '../schemas/V1alpha1TargetDetails';
3
+ import type { V1alpha1Targets } from '../schemas/V1alpha1Targets';
4
+ export interface ExecutionKubernetesFaultData {
5
+ helperPodDetails?: ExecutionHelperPodDetails[];
6
+ name?: string;
7
+ namespace?: string;
8
+ targetChaosStatus?: V1alpha1TargetDetails[];
9
+ targets?: V1alpha1Targets[];
10
+ }
@@ -0,0 +1,3 @@
1
+ export interface ExecutionMachineChaosFaultData {
2
+ name?: string;
3
+ }
@@ -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 {};
@@ -0,0 +1,8 @@
1
+ import type { ExecutionProbeIterations } from '../schemas/ExecutionProbeIterations';
2
+ export interface ExecutionProbeData {
3
+ description?: string;
4
+ iterations?: ExecutionProbeIterations[];
5
+ name?: string;
6
+ probeType?: string;
7
+ weightage?: number;
8
+ }
@@ -0,0 +1,14 @@
1
+ import type { ExecutionCommandProbe } from '../schemas/ExecutionCommandProbe';
2
+ import type { ExecutionHttpProbe } from '../schemas/ExecutionHttpProbe';
3
+ import type { ExecutionPromProbe } from '../schemas/ExecutionPromProbe';
4
+ export interface ExecutionProbeIterations {
5
+ commandProbe?: ExecutionCommandProbe;
6
+ duration?: number;
7
+ /**
8
+ * TODO: Add other probe result spec
9
+ */
10
+ httpProbe?: ExecutionHttpProbe;
11
+ phase?: string;
12
+ promProbe?: ExecutionPromProbe;
13
+ timestamp?: number;
14
+ }
@@ -0,0 +1,3 @@
1
+ export interface ExecutionPromProbe {
2
+ metrics?: string;
3
+ }
@@ -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 {};
@@ -11,7 +11,7 @@ export interface GithubComWingsSoftwareDdcrPkgTypesChaosInputs {
11
11
  components?: TypesExperimentComponents;
12
12
  defaultHealthCheck?: boolean;
13
13
  env?: V1EnvVar[];
14
- experiment?: string;
14
+ fault?: string;
15
15
  image?: string;
16
16
  imagePullPolicy?: V1PullPolicy;
17
17
  labels?: {
@@ -1,6 +1,12 @@
1
1
  import type { GithubComWingsSoftwareDdcrPkgTypesChaosInputs } from '../schemas/GithubComWingsSoftwareDdcrPkgTypesChaosInputs';
2
2
  import type { TypesTargets } from '../schemas/TypesTargets';
3
3
  export interface GithubComWingsSoftwareDdcrPkgTypesDefinition {
4
+ /**
5
+ * Chaos to store the chaos inputs
6
+ */
4
7
  chaos?: GithubComWingsSoftwareDdcrPkgTypesChaosInputs;
8
+ /**
9
+ * Type of the fault
10
+ */
5
11
  targets?: TypesTargets;
6
12
  }
@@ -9,6 +9,7 @@ export interface TypesGetProbeResponse {
9
9
  createdAt?: number;
10
10
  createdBy?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
11
11
  description?: string;
12
+ identity?: string;
12
13
  infrastructureType?: TypesInfrastructureType;
13
14
  isEnabled?: boolean;
14
15
  name?: string;
@@ -1,7 +1,7 @@
1
- import type { GithubComHarnessHceSaasGraphqlServerApiPagination } from '../schemas/GithubComHarnessHceSaasGraphqlServerApiPagination';
2
1
  import type { TypesGetProbeResponse } from '../schemas/TypesGetProbeResponse';
2
+ import type { GithubComHarnessHceSaasGraphqlServerApiPagination } from '../schemas/GithubComHarnessHceSaasGraphqlServerApiPagination';
3
3
  export interface TypesListProbeResponse {
4
+ data?: TypesGetProbeResponse[];
4
5
  pagination?: GithubComHarnessHceSaasGraphqlServerApiPagination;
5
- probes?: TypesGetProbeResponse[];
6
6
  totalNoOfProbes?: number;
7
7
  }
@@ -6,6 +6,7 @@ import type { TypesProbeType } from '../schemas/TypesProbeType';
6
6
  import type { TemplateVariable } from '../schemas/TemplateVariable';
7
7
  export interface TypesProbeRequest {
8
8
  description?: string;
9
+ identity?: string;
9
10
  infrastructureType?: TypesInfrastructureType;
10
11
  isEnabled?: boolean;
11
12
  name?: string;
@@ -1,4 +1,7 @@
1
1
  import type { TypesWorkload } from '../schemas/TypesWorkload';
2
2
  export interface TypesSelector {
3
+ /**
4
+ * Workloads to store the workloads
5
+ */
3
6
  workloads?: TypesWorkload[];
4
7
  }
@@ -1,7 +1,19 @@
1
1
  import type { TypesWorkloadKind } from '../schemas/TypesWorkloadKind';
2
2
  export interface TypesWorkload {
3
+ /**
4
+ * Kind of the workload
5
+ */
3
6
  kind?: TypesWorkloadKind;
7
+ /**
8
+ * Labels of the workload
9
+ */
4
10
  labels?: string;
11
+ /**
12
+ * Names of the workload
13
+ */
5
14
  names?: string;
15
+ /**
16
+ * Namespace of the workload
17
+ */
6
18
  namespace?: string;
7
19
  }
@@ -0,0 +1,5 @@
1
+ export interface V1alpha1TargetDetails {
2
+ chaosStatus?: string;
3
+ kind?: string;
4
+ name?: string;
5
+ }
@@ -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 {};
@@ -0,0 +1,8 @@
1
+ export interface V1alpha1Targets {
2
+ ID?: string;
3
+ kind?: string;
4
+ name?: string;
5
+ namespace?: string;
6
+ subType?: string;
7
+ type?: string;
8
+ }
@@ -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 {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-chaos-manager-client",
3
- "version": "0.17.0",
3
+ "version": "1.0.0",
4
4
  "description": "Harness React Chaos Manager Service Client - APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",