@harnessio/react-chaos-manager-client 1.65.1-beta.0 → 1.66.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 (55) hide show
  1. package/dist/chaos-manager/src/services/hooks/useGetChaosComponentVariableQuery.d.ts +1 -0
  2. package/dist/chaos-manager/src/services/hooks/useGetChaosExperimentRunV3Query.d.ts +29 -0
  3. package/dist/chaos-manager/src/services/hooks/useGetChaosExperimentRunV3Query.js +14 -0
  4. package/dist/chaos-manager/src/services/hooks/useListChaosExperimentRunsV3Query.d.ts +47 -0
  5. package/dist/chaos-manager/src/services/hooks/useListChaosExperimentRunsV3Query.js +14 -0
  6. package/dist/chaos-manager/src/services/hooks/useListChaosServicesQuery.d.ts +3 -2
  7. package/dist/chaos-manager/src/services/hooks/useListOnboardedServicesQuery.d.ts +36 -0
  8. package/dist/chaos-manager/src/services/hooks/useListOnboardedServicesQuery.js +14 -0
  9. package/dist/chaos-manager/src/services/hooks/useOnboardServicesMutation.d.ts +31 -0
  10. package/dist/chaos-manager/src/services/hooks/useOnboardServicesMutation.js +14 -0
  11. package/dist/chaos-manager/src/services/hooks/useOnboardingConfirmServiceOnboardingMutation.d.ts +28 -0
  12. package/dist/chaos-manager/src/services/hooks/useOnboardingConfirmServiceOnboardingMutation.js +14 -0
  13. package/dist/chaos-manager/src/services/hooks/useRunChaosExperimentV3Mutation.d.ts +34 -0
  14. package/dist/chaos-manager/src/services/hooks/useRunChaosExperimentV3Mutation.js +14 -0
  15. package/dist/chaos-manager/src/services/hooks/useStopChaosExperimentV3Mutation.d.ts +32 -0
  16. package/dist/chaos-manager/src/services/hooks/useStopChaosExperimentV3Mutation.js +14 -0
  17. package/dist/chaos-manager/src/services/index.d.ts +28 -0
  18. package/dist/chaos-manager/src/services/index.js +7 -0
  19. package/dist/chaos-manager/src/services/schemas/ChaoscomponentsChaosComponentKind.d.ts +1 -0
  20. package/dist/chaos-manager/src/services/schemas/ChaoscomponentsChaosComponentKind.js +4 -0
  21. package/dist/chaos-manager/src/services/schemas/ChaoscomponentsRunChaosComponentRequest.d.ts +2 -0
  22. package/dist/chaos-manager/src/services/schemas/ChaosservicesChaosServiceResponse.d.ts +20 -7
  23. package/dist/chaos-manager/src/services/schemas/ChaosservicesCreateRequest.d.ts +5 -4
  24. package/dist/chaos-manager/src/services/schemas/ChaosservicesServiceProbeAssociation.d.ts +2 -2
  25. package/dist/chaos-manager/src/services/schemas/ChaosservicesUpdateRequest.d.ts +4 -4
  26. package/dist/chaos-manager/src/services/schemas/ExecutionChaosStepStatus.d.ts +1 -1
  27. package/dist/chaos-manager/src/services/schemas/ExperimentrunsGetExperimentRunResponse.d.ts +60 -0
  28. package/dist/chaos-manager/src/services/schemas/ExperimentrunsGetExperimentRunResponse.js +1 -0
  29. package/dist/chaos-manager/src/services/schemas/ExperimentrunsListExperimentRunItem.d.ts +16 -0
  30. package/dist/chaos-manager/src/services/schemas/ExperimentrunsListExperimentRunItem.js +1 -0
  31. package/dist/chaos-manager/src/services/schemas/ExperimentrunsListExperimentRunsResponse.d.ts +11 -0
  32. package/dist/chaos-manager/src/services/schemas/ExperimentrunsListExperimentRunsResponse.js +1 -0
  33. package/dist/chaos-manager/src/services/schemas/ExperimentrunsRunBody.d.ts +5 -0
  34. package/dist/chaos-manager/src/services/schemas/ExperimentrunsRunBody.js +1 -0
  35. package/dist/chaos-manager/src/services/schemas/ExperimentrunsRunExperimentResponse.d.ts +11 -0
  36. package/dist/chaos-manager/src/services/schemas/ExperimentrunsRunExperimentResponse.js +4 -0
  37. package/dist/chaos-manager/src/services/schemas/ExperimentrunsStopExperimentBody.d.ts +5 -0
  38. package/dist/chaos-manager/src/services/schemas/ExperimentrunsStopExperimentBody.js +4 -0
  39. package/dist/chaos-manager/src/services/schemas/ExperimentrunsStopExperimentResponse.d.ts +9 -0
  40. package/dist/chaos-manager/src/services/schemas/ExperimentrunsStopExperimentResponse.js +4 -0
  41. package/dist/chaos-manager/src/services/schemas/V2OnboardingChaosServiceStatus.d.ts +7 -0
  42. package/dist/chaos-manager/src/services/schemas/V2OnboardingChaosServiceStatus.js +1 -0
  43. package/dist/chaos-manager/src/services/schemas/V2OnboardingConfirmServiceOnboardingResponse.d.ts +3 -0
  44. package/dist/chaos-manager/src/services/schemas/V2OnboardingConfirmServiceOnboardingResponse.js +4 -0
  45. package/dist/chaos-manager/src/services/schemas/V2OnboardingListOnboardedServicesResponse.d.ts +8 -0
  46. package/dist/chaos-manager/src/services/schemas/V2OnboardingListOnboardedServicesResponse.js +1 -0
  47. package/dist/chaos-manager/src/services/schemas/V2OnboardingOnboardServicesRequest.d.ts +3 -0
  48. package/dist/chaos-manager/src/services/schemas/V2OnboardingOnboardServicesRequest.js +4 -0
  49. package/dist/chaos-manager/src/services/schemas/V2OnboardingOnboardServicesResponse.d.ts +4 -0
  50. package/dist/chaos-manager/src/services/schemas/V2OnboardingOnboardServicesResponse.js +4 -0
  51. package/dist/chaos-manager/src/services/schemas/V2OnboardingProbeDetail.d.ts +7 -0
  52. package/dist/chaos-manager/src/services/schemas/V2OnboardingProbeDetail.js +1 -0
  53. package/dist/chaos-manager/src/services/schemas/V2OnboardingV2Onboarding.d.ts +2 -0
  54. package/dist/chaos-manager/src/services/schemas/V3GetExperimentOrTemplateVariableResponse.d.ts +2 -0
  55. package/package.json +1 -1
@@ -7,6 +7,7 @@ export interface GetChaosComponentVariableQueryQueryParams {
7
7
  correlationID?: string;
8
8
  hubReference?: string;
9
9
  identifier?: string;
10
+ kind?: 'resource' | 'template';
10
11
  organizationIdentifier?: string;
11
12
  parentUniqueId?: string;
12
13
  projectIdentifier?: string;
@@ -0,0 +1,29 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ExperimentrunsGetExperimentRunResponse } from '../schemas/ExperimentrunsGetExperimentRunResponse';
3
+ import type { ApiRestError } from '../schemas/ApiRestError';
4
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
+ export interface GetChaosExperimentRunV3QueryPathParams {
6
+ identity: string;
7
+ experimentRunId: string;
8
+ }
9
+ export interface GetChaosExperimentRunV3QueryQueryParams {
10
+ accountIdentifier: string;
11
+ correlationID?: string;
12
+ organizationIdentifier?: string;
13
+ parentUniqueId?: string;
14
+ projectIdentifier?: string;
15
+ }
16
+ export type GetChaosExperimentRunV3OkResponse = ExperimentrunsGetExperimentRunResponse;
17
+ export type GetChaosExperimentRunV3ErrorResponse = ApiRestError;
18
+ export interface GetChaosExperimentRunV3Props extends GetChaosExperimentRunV3QueryPathParams, Omit<FetcherOptions<GetChaosExperimentRunV3QueryQueryParams, unknown>, 'url'> {
19
+ queryParams: GetChaosExperimentRunV3QueryQueryParams;
20
+ }
21
+ export interface GetChaosExperimentRunV3ResponseContainer {
22
+ body: GetChaosExperimentRunV3OkResponse;
23
+ headers: Headers;
24
+ }
25
+ export declare function getChaosExperimentRunV3(props: GetChaosExperimentRunV3Props): Promise<GetChaosExperimentRunV3ResponseContainer>;
26
+ /**
27
+ * Fetches one run scoped to an experiment, by experimentRunId path slot or by notifyId in the query (with experimentRunId set to '_').
28
+ */
29
+ export declare function useGetChaosExperimentRunV3Query(props: GetChaosExperimentRunV3Props, options?: Omit<UseQueryOptions<GetChaosExperimentRunV3ResponseContainer, GetChaosExperimentRunV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetChaosExperimentRunV3ResponseContainer, 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 getChaosExperimentRunV3(props) {
7
+ return fetcher(Object.assign({ url: `/v3/experiments/${props.identity}/runs/${props.experimentRunId}`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Fetches one run scoped to an experiment, by experimentRunId path slot or by notifyId in the query (with experimentRunId set to '_').
11
+ */
12
+ export function useGetChaosExperimentRunV3Query(props, options) {
13
+ return useQuery(['getChaosExperimentRunV3', props.identity, props.experimentRunId, props.queryParams], ({ signal }) => getChaosExperimentRunV3(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,47 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ExperimentrunsListExperimentRunsResponse } from '../schemas/ExperimentrunsListExperimentRunsResponse';
3
+ import type { ApiRestError } from '../schemas/ApiRestError';
4
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
+ export interface ListChaosExperimentRunsV3QueryPathParams {
6
+ identity: string;
7
+ }
8
+ export interface ListChaosExperimentRunsV3QueryQueryParams {
9
+ accountIdentifier: string;
10
+ correlationID?: string;
11
+ endTime?: number;
12
+ experimentIDs?: string;
13
+ experimentRunIDs?: string;
14
+ infraIDs?: string;
15
+ /**
16
+ * @default 15
17
+ */
18
+ limit?: number;
19
+ notifyIDs?: string;
20
+ organizationIdentifier?: string;
21
+ /**
22
+ * @default 0
23
+ */
24
+ page?: number;
25
+ parentUniqueId?: string;
26
+ phases?: string;
27
+ projectIdentifier?: string;
28
+ runSequence?: number;
29
+ search?: string;
30
+ sortAscending?: boolean;
31
+ sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
32
+ startTime?: number;
33
+ }
34
+ export type ListChaosExperimentRunsV3OkResponse = ExperimentrunsListExperimentRunsResponse;
35
+ export type ListChaosExperimentRunsV3ErrorResponse = ApiRestError;
36
+ export interface ListChaosExperimentRunsV3Props extends ListChaosExperimentRunsV3QueryPathParams, Omit<FetcherOptions<ListChaosExperimentRunsV3QueryQueryParams, unknown>, 'url'> {
37
+ queryParams: ListChaosExperimentRunsV3QueryQueryParams;
38
+ }
39
+ export interface ListChaosExperimentRunsV3ResponseContainer {
40
+ body: ListChaosExperimentRunsV3OkResponse;
41
+ headers: Headers;
42
+ }
43
+ export declare function listChaosExperimentRunsV3(props: ListChaosExperimentRunsV3Props): Promise<ListChaosExperimentRunsV3ResponseContainer>;
44
+ /**
45
+ * Lists runs of one experiment with the V3 filter+pagination conventions. Use this for dashboards and run history views.
46
+ */
47
+ export declare function useListChaosExperimentRunsV3Query(props: ListChaosExperimentRunsV3Props, options?: Omit<UseQueryOptions<ListChaosExperimentRunsV3ResponseContainer, ListChaosExperimentRunsV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListChaosExperimentRunsV3ResponseContainer, 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 listChaosExperimentRunsV3(props) {
7
+ return fetcher(Object.assign({ url: `/v3/experiments/${props.identity}/runs`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Lists runs of one experiment with the V3 filter+pagination conventions. Use this for dashboards and run history views.
11
+ */
12
+ export function useListChaosExperimentRunsV3Query(props, options) {
13
+ return useQuery(['listChaosExperimentRunsV3', props.identity, props.queryParams], ({ signal }) => listChaosExperimentRunsV3(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -5,13 +5,14 @@ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
5
  export interface ListChaosServicesQueryQueryParams {
6
6
  accountIdentifier: string;
7
7
  correlationID?: string;
8
- environmentIdentity?: string;
8
+ environmentIds?: string;
9
9
  includeAllScope?: boolean;
10
- infrastructureIdentity?: string;
10
+ infrastructureIds?: string;
11
11
  /**
12
12
  * @default 15
13
13
  */
14
14
  limit?: number;
15
+ onboardingId?: string;
15
16
  organizationIdentifier?: string;
16
17
  /**
17
18
  * @default 0
@@ -0,0 +1,36 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { V2OnboardingListOnboardedServicesResponse } from '../schemas/V2OnboardingListOnboardedServicesResponse';
3
+ import type { ApiRestError } from '../schemas/ApiRestError';
4
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
+ export interface ListOnboardedServicesQueryPathParams {
6
+ onboardingid: string;
7
+ }
8
+ export interface ListOnboardedServicesQueryQueryParams {
9
+ correlationID?: string;
10
+ accountIdentifier: string;
11
+ organizationIdentifier: string;
12
+ projectIdentifier: string;
13
+ /**
14
+ * @default 0
15
+ */
16
+ page?: number;
17
+ /**
18
+ * @default 15
19
+ */
20
+ limit?: number;
21
+ search?: string;
22
+ }
23
+ export type ListOnboardedServicesOkResponse = V2OnboardingListOnboardedServicesResponse;
24
+ export type ListOnboardedServicesErrorResponse = ApiRestError;
25
+ export interface ListOnboardedServicesProps extends ListOnboardedServicesQueryPathParams, Omit<FetcherOptions<ListOnboardedServicesQueryQueryParams, unknown>, 'url'> {
26
+ queryParams: ListOnboardedServicesQueryQueryParams;
27
+ }
28
+ export interface ListOnboardedServicesResponseContainer {
29
+ body: ListOnboardedServicesOkResponse;
30
+ headers: Headers;
31
+ }
32
+ export declare function listOnboardedServices(props: ListOnboardedServicesProps): Promise<ListOnboardedServicesResponseContainer>;
33
+ /**
34
+ * List the chaos services created during the onboarding session and the default probes attached to them
35
+ */
36
+ export declare function useListOnboardedServicesQuery(props: ListOnboardedServicesProps, options?: Omit<UseQueryOptions<ListOnboardedServicesResponseContainer, ListOnboardedServicesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListOnboardedServicesResponseContainer, 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 listOnboardedServices(props) {
7
+ return fetcher(Object.assign({ url: `/rest/v2/onboarding/${props.onboardingid}/services`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * List the chaos services created during the onboarding session and the default probes attached to them
11
+ */
12
+ export function useListOnboardedServicesQuery(props, options) {
13
+ return useQuery(['listOnboardedServices', props.onboardingid, props.queryParams], ({ signal }) => listOnboardedServices(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,31 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { V2OnboardingOnboardServicesResponse } from '../schemas/V2OnboardingOnboardServicesResponse';
3
+ import type { ApiRestError } from '../schemas/ApiRestError';
4
+ import type { V2OnboardingOnboardServicesRequest } from '../schemas/V2OnboardingOnboardServicesRequest';
5
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
6
+ export interface OnboardServicesMutationPathParams {
7
+ onboardingid: string;
8
+ }
9
+ export interface OnboardServicesMutationQueryParams {
10
+ correlationID?: string;
11
+ accountIdentifier: string;
12
+ organizationIdentifier: string;
13
+ projectIdentifier: string;
14
+ }
15
+ export type OnboardServicesRequestBody = V2OnboardingOnboardServicesRequest;
16
+ export type OnboardServicesOkResponse = V2OnboardingOnboardServicesResponse;
17
+ export type OnboardServicesErrorResponse = ApiRestError;
18
+ export interface OnboardServicesProps extends OnboardServicesMutationPathParams, Omit<FetcherOptions<OnboardServicesMutationQueryParams, OnboardServicesRequestBody>, 'url'> {
19
+ queryParams: OnboardServicesMutationQueryParams;
20
+ body: OnboardServicesRequestBody;
21
+ }
22
+ export interface OnboardServicesResponseContainer {
23
+ body: OnboardServicesOkResponse;
24
+ headers: Headers;
25
+ }
26
+ export declare function onboardServices(props: OnboardServicesProps): Promise<OnboardServicesResponseContainer>;
27
+ export type OnboardServicesMutationProps<T extends keyof OnboardServicesProps> = Omit<OnboardServicesProps, T> & Partial<Pick<OnboardServicesProps, T>>;
28
+ /**
29
+ * Onboard the user-selected discovered services as chaos services with default probes attached
30
+ */
31
+ export declare function useOnboardServicesMutation<T extends keyof OnboardServicesProps>(props: Pick<Partial<OnboardServicesProps>, T>, options?: Omit<UseMutationOptions<OnboardServicesResponseContainer, OnboardServicesErrorResponse, OnboardServicesMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<OnboardServicesResponseContainer, ApiRestError, OnboardServicesMutationProps<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 onboardServices(props) {
7
+ return fetcher(Object.assign({ url: `/rest/v2/onboarding-onboard-services/${props.onboardingid}`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Onboard the user-selected discovered services as chaos services with default probes attached
11
+ */
12
+ export function useOnboardServicesMutation(props, options) {
13
+ return useMutation((mutateProps) => onboardServices(Object.assign(Object.assign({}, props), mutateProps)), options);
14
+ }
@@ -0,0 +1,28 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { V2OnboardingConfirmServiceOnboardingResponse } from '../schemas/V2OnboardingConfirmServiceOnboardingResponse';
3
+ import type { ApiRestError } from '../schemas/ApiRestError';
4
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
+ export interface OnboardingConfirmServiceOnboardingMutationPathParams {
6
+ onboardingid: string;
7
+ }
8
+ export interface OnboardingConfirmServiceOnboardingMutationQueryParams {
9
+ correlationID?: string;
10
+ accountIdentifier: string;
11
+ organizationIdentifier: string;
12
+ projectIdentifier: string;
13
+ }
14
+ export type OnboardingConfirmServiceOnboardingOkResponse = V2OnboardingConfirmServiceOnboardingResponse;
15
+ export type OnboardingConfirmServiceOnboardingErrorResponse = ApiRestError;
16
+ export interface OnboardingConfirmServiceOnboardingProps extends OnboardingConfirmServiceOnboardingMutationPathParams, Omit<FetcherOptions<OnboardingConfirmServiceOnboardingMutationQueryParams, unknown>, 'url'> {
17
+ queryParams: OnboardingConfirmServiceOnboardingMutationQueryParams;
18
+ }
19
+ export interface OnboardingConfirmServiceOnboardingResponseContainer {
20
+ body: OnboardingConfirmServiceOnboardingOkResponse;
21
+ headers: Headers;
22
+ }
23
+ export declare function onboardingConfirmServiceOnboarding(props: OnboardingConfirmServiceOnboardingProps): Promise<OnboardingConfirmServiceOnboardingResponseContainer>;
24
+ export type OnboardingConfirmServiceOnboardingMutationProps<T extends keyof OnboardingConfirmServiceOnboardingProps> = Omit<OnboardingConfirmServiceOnboardingProps, T> & Partial<Pick<OnboardingConfirmServiceOnboardingProps, T>>;
25
+ /**
26
+ * Confirm the service onboarding step (mark it completed) after services have been onboarded
27
+ */
28
+ export declare function useOnboardingConfirmServiceOnboardingMutation<T extends keyof OnboardingConfirmServiceOnboardingProps>(props: Pick<Partial<OnboardingConfirmServiceOnboardingProps>, T>, options?: Omit<UseMutationOptions<OnboardingConfirmServiceOnboardingResponseContainer, OnboardingConfirmServiceOnboardingErrorResponse, OnboardingConfirmServiceOnboardingMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<OnboardingConfirmServiceOnboardingResponseContainer, ApiRestError, OnboardingConfirmServiceOnboardingMutationProps<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 onboardingConfirmServiceOnboarding(props) {
7
+ return fetcher(Object.assign({ url: `/rest/v2/onboarding-confirm-service-onboarding/${props.onboardingid}`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Confirm the service onboarding step (mark it completed) after services have been onboarded
11
+ */
12
+ export function useOnboardingConfirmServiceOnboardingMutation(props, options) {
13
+ return useMutation((mutateProps) => onboardingConfirmServiceOnboarding(Object.assign(Object.assign({}, props), mutateProps)), options);
14
+ }
@@ -0,0 +1,34 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ExperimentrunsRunExperimentResponse } from '../schemas/ExperimentrunsRunExperimentResponse';
3
+ import type { ApiRestError } from '../schemas/ApiRestError';
4
+ import type { ExperimentrunsRunBody } from '../schemas/ExperimentrunsRunBody';
5
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
6
+ export interface RunChaosExperimentV3MutationPathParams {
7
+ identity: string;
8
+ }
9
+ export interface RunChaosExperimentV3MutationQueryParams {
10
+ accountIdentifier: string;
11
+ correlationID?: string;
12
+ isIdentity?: boolean;
13
+ isOnboardingRun?: boolean;
14
+ organizationIdentifier?: string;
15
+ parentUniqueId?: string;
16
+ projectIdentifier?: string;
17
+ }
18
+ export type RunChaosExperimentV3RequestBody = ExperimentrunsRunBody;
19
+ export type RunChaosExperimentV3OkResponse = ExperimentrunsRunExperimentResponse;
20
+ export type RunChaosExperimentV3ErrorResponse = ApiRestError;
21
+ export interface RunChaosExperimentV3Props extends RunChaosExperimentV3MutationPathParams, Omit<FetcherOptions<RunChaosExperimentV3MutationQueryParams, RunChaosExperimentV3RequestBody>, 'url'> {
22
+ queryParams: RunChaosExperimentV3MutationQueryParams;
23
+ body: RunChaosExperimentV3RequestBody;
24
+ }
25
+ export interface RunChaosExperimentV3ResponseContainer {
26
+ body: RunChaosExperimentV3OkResponse;
27
+ headers: Headers;
28
+ }
29
+ export declare function runChaosExperimentV3(props: RunChaosExperimentV3Props): Promise<RunChaosExperimentV3ResponseContainer>;
30
+ export type RunChaosExperimentV3MutationProps<T extends keyof RunChaosExperimentV3Props> = Omit<RunChaosExperimentV3Props, T> & Partial<Pick<RunChaosExperimentV3Props, T>>;
31
+ /**
32
+ * Triggers an experiment run on its configured infra. Returns a notify ID and (if not blocked) a delegate task ID.
33
+ */
34
+ export declare function useRunChaosExperimentV3Mutation<T extends keyof RunChaosExperimentV3Props>(props: Pick<Partial<RunChaosExperimentV3Props>, T>, options?: Omit<UseMutationOptions<RunChaosExperimentV3ResponseContainer, RunChaosExperimentV3ErrorResponse, RunChaosExperimentV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<RunChaosExperimentV3ResponseContainer, ApiRestError, RunChaosExperimentV3MutationProps<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 runChaosExperimentV3(props) {
7
+ return fetcher(Object.assign({ url: `/v3/experiments/${props.identity}/run`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Triggers an experiment run on its configured infra. Returns a notify ID and (if not blocked) a delegate task ID.
11
+ */
12
+ export function useRunChaosExperimentV3Mutation(props, options) {
13
+ return useMutation((mutateProps) => runChaosExperimentV3(Object.assign(Object.assign({}, props), mutateProps)), options);
14
+ }
@@ -0,0 +1,32 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ExperimentrunsStopExperimentResponse } from '../schemas/ExperimentrunsStopExperimentResponse';
3
+ import type { ApiRestError } from '../schemas/ApiRestError';
4
+ import type { ExperimentrunsStopExperimentBody } from '../schemas/ExperimentrunsStopExperimentBody';
5
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
6
+ export interface StopChaosExperimentV3MutationPathParams {
7
+ identity: string;
8
+ }
9
+ export interface StopChaosExperimentV3MutationQueryParams {
10
+ accountIdentifier: string;
11
+ correlationID?: string;
12
+ organizationIdentifier?: string;
13
+ parentUniqueId?: string;
14
+ projectIdentifier?: string;
15
+ }
16
+ export type StopChaosExperimentV3RequestBody = ExperimentrunsStopExperimentBody;
17
+ export type StopChaosExperimentV3OkResponse = ExperimentrunsStopExperimentResponse;
18
+ export type StopChaosExperimentV3ErrorResponse = ApiRestError;
19
+ export interface StopChaosExperimentV3Props extends StopChaosExperimentV3MutationPathParams, Omit<FetcherOptions<StopChaosExperimentV3MutationQueryParams, StopChaosExperimentV3RequestBody>, 'url'> {
20
+ queryParams: StopChaosExperimentV3MutationQueryParams;
21
+ body: StopChaosExperimentV3RequestBody;
22
+ }
23
+ export interface StopChaosExperimentV3ResponseContainer {
24
+ body: StopChaosExperimentV3OkResponse;
25
+ headers: Headers;
26
+ }
27
+ export declare function stopChaosExperimentV3(props: StopChaosExperimentV3Props): Promise<StopChaosExperimentV3ResponseContainer>;
28
+ export type StopChaosExperimentV3MutationProps<T extends keyof StopChaosExperimentV3Props> = Omit<StopChaosExperimentV3Props, T> & Partial<Pick<StopChaosExperimentV3Props, T>>;
29
+ /**
30
+ * Stops a single run (by experimentRunId or notifyId) or every Running run for the experiment when both are empty.
31
+ */
32
+ export declare function useStopChaosExperimentV3Mutation<T extends keyof StopChaosExperimentV3Props>(props: Pick<Partial<StopChaosExperimentV3Props>, T>, options?: Omit<UseMutationOptions<StopChaosExperimentV3ResponseContainer, StopChaosExperimentV3ErrorResponse, StopChaosExperimentV3MutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<StopChaosExperimentV3ResponseContainer, ApiRestError, StopChaosExperimentV3MutationProps<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 stopChaosExperimentV3(props) {
7
+ return fetcher(Object.assign({ url: `/v3/experiments/${props.identity}/stop`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Stops a single run (by experimentRunId or notifyId) or every Running run for the experiment when both are empty.
11
+ */
12
+ export function useStopChaosExperimentV3Mutation(props, options) {
13
+ return useMutation((mutateProps) => stopChaosExperimentV3(Object.assign(Object.assign({}, props), mutateProps)), options);
14
+ }
@@ -138,6 +138,8 @@ export type { GetChaosExperimentRunReportPdfErrorResponse, GetChaosExperimentRun
138
138
  export { getChaosExperimentRunReportPdf, useGetChaosExperimentRunReportPdfQuery, } from './hooks/useGetChaosExperimentRunReportPdfQuery';
139
139
  export type { GetChaosExperimentRunReportErrorResponse, GetChaosExperimentRunReportOkResponse, GetChaosExperimentRunReportProps, GetChaosExperimentRunReportQueryPathParams, GetChaosExperimentRunReportQueryQueryParams, } from './hooks/useGetChaosExperimentRunReportQuery';
140
140
  export { getChaosExperimentRunReport, useGetChaosExperimentRunReportQuery, } from './hooks/useGetChaosExperimentRunReportQuery';
141
+ export type { GetChaosExperimentRunV3ErrorResponse, GetChaosExperimentRunV3OkResponse, GetChaosExperimentRunV3Props, GetChaosExperimentRunV3QueryPathParams, GetChaosExperimentRunV3QueryQueryParams, } from './hooks/useGetChaosExperimentRunV3Query';
142
+ export { getChaosExperimentRunV3, useGetChaosExperimentRunV3Query, } from './hooks/useGetChaosExperimentRunV3Query';
141
143
  export type { GetChaosExperimentRunsForPipelineErrorResponse, GetChaosExperimentRunsForPipelineOkResponse, GetChaosExperimentRunsForPipelineProps, GetChaosExperimentRunsForPipelineQueryQueryParams, GetChaosExperimentRunsForPipelineRequestBody, } from './hooks/useGetChaosExperimentRunsForPipelineQuery';
142
144
  export { getChaosExperimentRunsForPipeline, useGetChaosExperimentRunsForPipelineQuery, } from './hooks/useGetChaosExperimentRunsForPipelineQuery';
143
145
  export type { GetChaosHubErrorResponse, GetChaosHubOkResponse, GetChaosHubProps, GetChaosHubQueryPathParams, GetChaosHubQueryQueryParams, } from './hooks/useGetChaosHubQuery';
@@ -280,6 +282,8 @@ export type { ListChaosComponentErrorResponse, ListChaosComponentOkResponse, Lis
280
282
  export { listChaosComponent, useListChaosComponentQuery } from './hooks/useListChaosComponentQuery';
281
283
  export type { ListChaosEnabledInfraV2ErrorResponse, ListChaosEnabledInfraV2OkResponse, ListChaosEnabledInfraV2Props, ListChaosEnabledInfraV2QueryQueryParams, ListChaosEnabledInfraV2RequestBody, } from './hooks/useListChaosEnabledInfraV2Query';
282
284
  export { listChaosEnabledInfraV2, useListChaosEnabledInfraV2Query, } from './hooks/useListChaosEnabledInfraV2Query';
285
+ export type { ListChaosExperimentRunsV3ErrorResponse, ListChaosExperimentRunsV3OkResponse, ListChaosExperimentRunsV3Props, ListChaosExperimentRunsV3QueryPathParams, ListChaosExperimentRunsV3QueryQueryParams, } from './hooks/useListChaosExperimentRunsV3Query';
286
+ export { listChaosExperimentRunsV3, useListChaosExperimentRunsV3Query, } from './hooks/useListChaosExperimentRunsV3Query';
283
287
  export type { ListChaosHubErrorResponse, ListChaosHubOkResponse, ListChaosHubProps, ListChaosHubQueryQueryParams, } from './hooks/useListChaosHubQuery';
284
288
  export { listChaosHub, useListChaosHubQuery } from './hooks/useListChaosHubQuery';
285
289
  export type { ListChaosServicesErrorResponse, ListChaosServicesOkResponse, ListChaosServicesProps, ListChaosServicesQueryQueryParams, } from './hooks/useListChaosServicesQuery';
@@ -332,6 +336,8 @@ export type { ListLegacyKubernetesChaosInfraErrorResponse, ListLegacyKubernetesC
332
336
  export { listLegacyKubernetesChaosInfra, useListLegacyKubernetesChaosInfraMutation, } from './hooks/useListLegacyKubernetesChaosInfraMutation';
333
337
  export type { ListMachineChaosInfraErrorResponse, ListMachineChaosInfraOkResponse, ListMachineChaosInfraProps, ListMachineChaosInfraQueryQueryParams, ListMachineChaosInfraRequestBody, } from './hooks/useListMachineChaosInfraQuery';
334
338
  export { listMachineChaosInfra, useListMachineChaosInfraQuery, } from './hooks/useListMachineChaosInfraQuery';
339
+ export type { ListOnboardedServicesErrorResponse, ListOnboardedServicesOkResponse, ListOnboardedServicesProps, ListOnboardedServicesQueryPathParams, ListOnboardedServicesQueryQueryParams, } from './hooks/useListOnboardedServicesQuery';
340
+ export { listOnboardedServices, useListOnboardedServicesQuery, } from './hooks/useListOnboardedServicesQuery';
335
341
  export type { ListPipelineOnboardingErrorResponse, ListPipelineOnboardingOkResponse, ListPipelineOnboardingProps, ListPipelineOnboardingQueryQueryParams, } from './hooks/useListPipelineOnboardingQuery';
336
342
  export { listPipelineOnboarding, useListPipelineOnboardingQuery, } from './hooks/useListPipelineOnboardingQuery';
337
343
  export type { ListProbeExecutionsErrorResponse, ListProbeExecutionsOkResponse, ListProbeExecutionsProps, ListProbeExecutionsQueryPathParams, ListProbeExecutionsQueryQueryParams, } from './hooks/useListProbeExecutionsQuery';
@@ -358,6 +364,8 @@ export type { ListVariablesInActionTemplateErrorResponse, ListVariablesInActionT
358
364
  export { listVariablesInActionTemplate, useListVariablesInActionTemplateQuery, } from './hooks/useListVariablesInActionTemplateQuery';
359
365
  export type { ListVariablesInProbeTemplateErrorResponse, ListVariablesInProbeTemplateOkResponse, ListVariablesInProbeTemplateProps, ListVariablesInProbeTemplateQueryPathParams, ListVariablesInProbeTemplateQueryQueryParams, } from './hooks/useListVariablesInProbeTemplateQuery';
360
366
  export { listVariablesInProbeTemplate, useListVariablesInProbeTemplateQuery, } from './hooks/useListVariablesInProbeTemplateQuery';
367
+ export type { OnboardServicesErrorResponse, OnboardServicesMutationPathParams, OnboardServicesMutationProps, OnboardServicesMutationQueryParams, OnboardServicesOkResponse, OnboardServicesProps, OnboardServicesRequestBody, } from './hooks/useOnboardServicesMutation';
368
+ export { onboardServices, useOnboardServicesMutation } from './hooks/useOnboardServicesMutation';
361
369
  export type { OnboardingConfirmDiscoveryErrorResponse, OnboardingConfirmDiscoveryMutationPathParams, OnboardingConfirmDiscoveryMutationProps, OnboardingConfirmDiscoveryMutationQueryParams, OnboardingConfirmDiscoveryOkResponse, OnboardingConfirmDiscoveryProps, } from './hooks/useOnboardingConfirmDiscoveryMutation';
362
370
  export { onboardingConfirmDiscovery, useOnboardingConfirmDiscoveryMutation, } from './hooks/useOnboardingConfirmDiscoveryMutation';
363
371
  export type { OnboardingConfirmExperimentCreationErrorResponse, OnboardingConfirmExperimentCreationMutationPathParams, OnboardingConfirmExperimentCreationMutationProps, OnboardingConfirmExperimentCreationMutationQueryParams, OnboardingConfirmExperimentCreationOkResponse, OnboardingConfirmExperimentCreationProps, OnboardingConfirmExperimentCreationRequestBody, } from './hooks/useOnboardingConfirmExperimentCreationMutation';
@@ -366,6 +374,8 @@ export type { OnboardingConfirmExperimentRunErrorResponse, OnboardingConfirmExpe
366
374
  export { onboardingConfirmExperimentRun, useOnboardingConfirmExperimentRunMutation, } from './hooks/useOnboardingConfirmExperimentRunMutation';
367
375
  export type { OnboardingConfirmNetworkMapErrorResponse, OnboardingConfirmNetworkMapMutationPathParams, OnboardingConfirmNetworkMapMutationProps, OnboardingConfirmNetworkMapMutationQueryParams, OnboardingConfirmNetworkMapOkResponse, OnboardingConfirmNetworkMapProps, OnboardingConfirmNetworkMapRequestBody, } from './hooks/useOnboardingConfirmNetworkMapMutation';
368
376
  export { onboardingConfirmNetworkMap, useOnboardingConfirmNetworkMapMutation, } from './hooks/useOnboardingConfirmNetworkMapMutation';
377
+ export type { OnboardingConfirmServiceOnboardingErrorResponse, OnboardingConfirmServiceOnboardingMutationPathParams, OnboardingConfirmServiceOnboardingMutationProps, OnboardingConfirmServiceOnboardingMutationQueryParams, OnboardingConfirmServiceOnboardingOkResponse, OnboardingConfirmServiceOnboardingProps, } from './hooks/useOnboardingConfirmServiceOnboardingMutation';
378
+ export { onboardingConfirmServiceOnboarding, useOnboardingConfirmServiceOnboardingMutation, } from './hooks/useOnboardingConfirmServiceOnboardingMutation';
369
379
  export type { PipelineAddExperimentRecommendationErrorResponse, PipelineAddExperimentRecommendationMutationProps, PipelineAddExperimentRecommendationMutationQueryParams, PipelineAddExperimentRecommendationOkResponse, PipelineAddExperimentRecommendationProps, } from './hooks/usePipelineAddExperimentRecommendationMutation';
370
380
  export { pipelineAddExperimentRecommendation, usePipelineAddExperimentRecommendationMutation, } from './hooks/usePipelineAddExperimentRecommendationMutation';
371
381
  export type { PipelineCanOnboardChaosErrorResponse, PipelineCanOnboardChaosOkResponse, PipelineCanOnboardChaosProps, PipelineCanOnboardChaosQueryPathParams, PipelineCanOnboardChaosQueryQueryParams, } from './hooks/usePipelineCanOnboardChaosQuery';
@@ -394,6 +404,8 @@ export type { RunChaosComponentForMachineErrorResponse, RunChaosComponentForMach
394
404
  export { runChaosComponentForMachine, useRunChaosComponentForMachineMutation, } from './hooks/useRunChaosComponentForMachineMutation';
395
405
  export type { RunChaosComponentErrorResponse, RunChaosComponentMutationProps, RunChaosComponentMutationQueryParams, RunChaosComponentOkResponse, RunChaosComponentProps, RunChaosComponentRequestBody, } from './hooks/useRunChaosComponentMutation';
396
406
  export { runChaosComponent, useRunChaosComponentMutation, } from './hooks/useRunChaosComponentMutation';
407
+ export type { RunChaosExperimentV3ErrorResponse, RunChaosExperimentV3MutationPathParams, RunChaosExperimentV3MutationProps, RunChaosExperimentV3MutationQueryParams, RunChaosExperimentV3OkResponse, RunChaosExperimentV3Props, RunChaosExperimentV3RequestBody, } from './hooks/useRunChaosExperimentV3Mutation';
408
+ export { runChaosExperimentV3, useRunChaosExperimentV3Mutation, } from './hooks/useRunChaosExperimentV3Mutation';
397
409
  export type { RunChaosV2ExperimentErrorResponse, RunChaosV2ExperimentMutationPathParams, RunChaosV2ExperimentMutationProps, RunChaosV2ExperimentMutationQueryParams, RunChaosV2ExperimentOkResponse, RunChaosV2ExperimentProps, RunChaosV2ExperimentRequestBody, } from './hooks/useRunChaosV2ExperimentMutation';
398
410
  export { runChaosV2Experiment, useRunChaosV2ExperimentMutation, } from './hooks/useRunChaosV2ExperimentMutation';
399
411
  export type { RunChaosV2InternalApiErrorResponse, RunChaosV2InternalApiMutationPathParams, RunChaosV2InternalApiMutationProps, RunChaosV2InternalApiMutationQueryParams, RunChaosV2InternalApiOkResponse, RunChaosV2InternalApiProps, RunChaosV2InternalApiRequestBody, } from './hooks/useRunChaosV2InternalApiMutation';
@@ -402,6 +414,8 @@ export type { RunRecommendationErrorResponse, RunRecommendationMutationProps, Ru
402
414
  export { runRecommendation, useRunRecommendationMutation, } from './hooks/useRunRecommendationMutation';
403
415
  export type { SaveChaosV2ExperimentErrorResponse, SaveChaosV2ExperimentMutationProps, SaveChaosV2ExperimentMutationQueryParams, SaveChaosV2ExperimentOkResponse, SaveChaosV2ExperimentProps, SaveChaosV2ExperimentRequestBody, } from './hooks/useSaveChaosV2ExperimentMutation';
404
416
  export { saveChaosV2Experiment, useSaveChaosV2ExperimentMutation, } from './hooks/useSaveChaosV2ExperimentMutation';
417
+ export type { StopChaosExperimentV3ErrorResponse, StopChaosExperimentV3MutationPathParams, StopChaosExperimentV3MutationProps, StopChaosExperimentV3MutationQueryParams, StopChaosExperimentV3OkResponse, StopChaosExperimentV3Props, StopChaosExperimentV3RequestBody, } from './hooks/useStopChaosExperimentV3Mutation';
418
+ export { stopChaosExperimentV3, useStopChaosExperimentV3Mutation, } from './hooks/useStopChaosExperimentV3Mutation';
405
419
  export type { StopChaosV2ExperimentErrorResponse, StopChaosV2ExperimentMutationPathParams, StopChaosV2ExperimentMutationProps, StopChaosV2ExperimentMutationQueryParams, StopChaosV2ExperimentOkResponse, StopChaosV2ExperimentProps, } from './hooks/useStopChaosV2ExperimentMutation';
406
420
  export { stopChaosV2Experiment, useStopChaosV2ExperimentMutation, } from './hooks/useStopChaosV2ExperimentMutation';
407
421
  export type { StopDrTestErrorResponse, StopDrTestMutationPathParams, StopDrTestMutationProps, StopDrTestMutationQueryParams, StopDrTestOkResponse, StopDrTestProps, } from './hooks/useStopDrTestMutation';
@@ -561,6 +575,7 @@ export type { ChaoscomponentType } from './schemas/ChaoscomponentType';
561
575
  export type { ChaoscomponentsAbortChaosComponentRequest } from './schemas/ChaoscomponentsAbortChaosComponentRequest';
562
576
  export type { ChaoscomponentsAbortChaosComponentResponse } from './schemas/ChaoscomponentsAbortChaosComponentResponse';
563
577
  export type { ChaoscomponentsAbortChaosComponentResponseData } from './schemas/ChaoscomponentsAbortChaosComponentResponseData';
578
+ export type { ChaoscomponentsChaosComponentKind } from './schemas/ChaoscomponentsChaosComponentKind';
564
579
  export type { ChaoscomponentsCreateDrTestPipelineRequest } from './schemas/ChaoscomponentsCreateDrTestPipelineRequest';
565
580
  export type { ChaoscomponentsCreateDrTestPipelineResponse } from './schemas/ChaoscomponentsCreateDrTestPipelineResponse';
566
581
  export type { ChaoscomponentsCreateDrTestPipelineResponseData } from './schemas/ChaoscomponentsCreateDrTestPipelineResponseData';
@@ -767,6 +782,13 @@ export type { ExperimentTargets } from './schemas/ExperimentTargets';
767
782
  export type { ExperimentVmWareAuth } from './schemas/ExperimentVmWareAuth';
768
783
  export type { ExperimentWorkload } from './schemas/ExperimentWorkload';
769
784
  export type { ExperimentWorkloadKind } from './schemas/ExperimentWorkloadKind';
785
+ export type { ExperimentrunsGetExperimentRunResponse } from './schemas/ExperimentrunsGetExperimentRunResponse';
786
+ export type { ExperimentrunsListExperimentRunItem } from './schemas/ExperimentrunsListExperimentRunItem';
787
+ export type { ExperimentrunsListExperimentRunsResponse } from './schemas/ExperimentrunsListExperimentRunsResponse';
788
+ export type { ExperimentrunsRunBody } from './schemas/ExperimentrunsRunBody';
789
+ export type { ExperimentrunsRunExperimentResponse } from './schemas/ExperimentrunsRunExperimentResponse';
790
+ export type { ExperimentrunsStopExperimentBody } from './schemas/ExperimentrunsStopExperimentBody';
791
+ export type { ExperimentrunsStopExperimentResponse } from './schemas/ExperimentrunsStopExperimentResponse';
770
792
  export type { ExperimentsAuditInfo } from './schemas/ExperimentsAuditInfo';
771
793
  export type { ExperimentsCreateRequest } from './schemas/ExperimentsCreateRequest';
772
794
  export type { ExperimentsCreateResponse } from './schemas/ExperimentsCreateResponse';
@@ -1407,18 +1429,24 @@ export type { V2OnboardingAgentData } from './schemas/V2OnboardingAgentData';
1407
1429
  export type { V2OnboardingAgentDetails } from './schemas/V2OnboardingAgentDetails';
1408
1430
  export type { V2OnboardingAutoCreatedNetworkMapStatus } from './schemas/V2OnboardingAutoCreatedNetworkMapStatus';
1409
1431
  export type { V2OnboardingChaosInfraAdvanceConfiguration } from './schemas/V2OnboardingChaosInfraAdvanceConfiguration';
1432
+ export type { V2OnboardingChaosServiceStatus } from './schemas/V2OnboardingChaosServiceStatus';
1410
1433
  export type { V2OnboardingConfirmDiscoveryResponse } from './schemas/V2OnboardingConfirmDiscoveryResponse';
1411
1434
  export type { V2OnboardingConfirmExperimentCreationRequest } from './schemas/V2OnboardingConfirmExperimentCreationRequest';
1412
1435
  export type { V2OnboardingConfirmExperimentCreationResponse } from './schemas/V2OnboardingConfirmExperimentCreationResponse';
1413
1436
  export type { V2OnboardingConfirmExperimentRunResponse } from './schemas/V2OnboardingConfirmExperimentRunResponse';
1414
1437
  export type { V2OnboardingConfirmNetworkMapRequest } from './schemas/V2OnboardingConfirmNetworkMapRequest';
1415
1438
  export type { V2OnboardingConfirmNetworkMapResponse } from './schemas/V2OnboardingConfirmNetworkMapResponse';
1439
+ export type { V2OnboardingConfirmServiceOnboardingResponse } from './schemas/V2OnboardingConfirmServiceOnboardingResponse';
1416
1440
  export type { V2OnboardingDiscoveredService } from './schemas/V2OnboardingDiscoveredService';
1417
1441
  export type { V2OnboardingExperiments } from './schemas/V2OnboardingExperiments';
1442
+ export type { V2OnboardingListOnboardedServicesResponse } from './schemas/V2OnboardingListOnboardedServicesResponse';
1418
1443
  export type { V2OnboardingNetworkMapCreationMode } from './schemas/V2OnboardingNetworkMapCreationMode';
1444
+ export type { V2OnboardingOnboardServicesRequest } from './schemas/V2OnboardingOnboardServicesRequest';
1445
+ export type { V2OnboardingOnboardServicesResponse } from './schemas/V2OnboardingOnboardServicesResponse';
1419
1446
  export type { V2OnboardingOnboardingExperimentResponse } from './schemas/V2OnboardingOnboardingExperimentResponse';
1420
1447
  export type { V2OnboardingOnboardingMode } from './schemas/V2OnboardingOnboardingMode';
1421
1448
  export type { V2OnboardingOnboardingTargetExperiment } from './schemas/V2OnboardingOnboardingTargetExperiment';
1449
+ export type { V2OnboardingProbeDetail } from './schemas/V2OnboardingProbeDetail';
1422
1450
  export type { V2OnboardingRunSafeExperimentStatus } from './schemas/V2OnboardingRunSafeExperimentStatus';
1423
1451
  export type { V2OnboardingTargetNetworkMapStatus } from './schemas/V2OnboardingTargetNetworkMapStatus';
1424
1452
  export type { V2OnboardingTargetServiceDetails } from './schemas/V2OnboardingTargetServiceDetails';
@@ -68,6 +68,7 @@ export { getChaosExperimentRunReportJson, useGetChaosExperimentRunReportJsonQuer
68
68
  export { getChaosExperimentRunReportPdfLegacy, useGetChaosExperimentRunReportPdfLegacyQuery, } from './hooks/useGetChaosExperimentRunReportPdfLegacyQuery';
69
69
  export { getChaosExperimentRunReportPdf, useGetChaosExperimentRunReportPdfQuery, } from './hooks/useGetChaosExperimentRunReportPdfQuery';
70
70
  export { getChaosExperimentRunReport, useGetChaosExperimentRunReportQuery, } from './hooks/useGetChaosExperimentRunReportQuery';
71
+ export { getChaosExperimentRunV3, useGetChaosExperimentRunV3Query, } from './hooks/useGetChaosExperimentRunV3Query';
71
72
  export { getChaosExperimentRunsForPipeline, useGetChaosExperimentRunsForPipelineQuery, } from './hooks/useGetChaosExperimentRunsForPipelineQuery';
72
73
  export { getChaosHub, useGetChaosHubQuery } from './hooks/useGetChaosHubQuery';
73
74
  export { getChaosPipelineExecution, useGetChaosPipelineExecutionQuery, } from './hooks/useGetChaosPipelineExecutionQuery';
@@ -139,6 +140,7 @@ export { listActions, useListActionsQuery } from './hooks/useListActionsQuery';
139
140
  export { listApplication, useListApplicationQuery } from './hooks/useListApplicationQuery';
140
141
  export { listChaosComponent, useListChaosComponentQuery } from './hooks/useListChaosComponentQuery';
141
142
  export { listChaosEnabledInfraV2, useListChaosEnabledInfraV2Query, } from './hooks/useListChaosEnabledInfraV2Query';
143
+ export { listChaosExperimentRunsV3, useListChaosExperimentRunsV3Query, } from './hooks/useListChaosExperimentRunsV3Query';
142
144
  export { listChaosHub, useListChaosHubQuery } from './hooks/useListChaosHubQuery';
143
145
  export { listChaosServices, useListChaosServicesQuery } from './hooks/useListChaosServicesQuery';
144
146
  export { listChaosV2Experiment, useListChaosV2ExperimentQuery, } from './hooks/useListChaosV2ExperimentQuery';
@@ -165,6 +167,7 @@ export { listInputSet, useListInputSetQuery } from './hooks/useListInputSetQuery
165
167
  export { listK8sInfrasV2, useListK8sInfrasV2Mutation } from './hooks/useListK8sInfrasV2Mutation';
166
168
  export { listLegacyKubernetesChaosInfra, useListLegacyKubernetesChaosInfraMutation, } from './hooks/useListLegacyKubernetesChaosInfraMutation';
167
169
  export { listMachineChaosInfra, useListMachineChaosInfraQuery, } from './hooks/useListMachineChaosInfraQuery';
170
+ export { listOnboardedServices, useListOnboardedServicesQuery, } from './hooks/useListOnboardedServicesQuery';
168
171
  export { listPipelineOnboarding, useListPipelineOnboardingQuery, } from './hooks/useListPipelineOnboardingQuery';
169
172
  export { listProbeExecutions, useListProbeExecutionsQuery, } from './hooks/useListProbeExecutionsQuery';
170
173
  export { listProbeMetadata, useListProbeMetadataQuery } from './hooks/useListProbeMetadataQuery';
@@ -178,10 +181,12 @@ export { listTargetNetworkMaps, useListTargetNetworkMapsQuery, } from './hooks/u
178
181
  export { listV2Onboarding, useListV2OnboardingQuery } from './hooks/useListV2OnboardingQuery';
179
182
  export { listVariablesInActionTemplate, useListVariablesInActionTemplateQuery, } from './hooks/useListVariablesInActionTemplateQuery';
180
183
  export { listVariablesInProbeTemplate, useListVariablesInProbeTemplateQuery, } from './hooks/useListVariablesInProbeTemplateQuery';
184
+ export { onboardServices, useOnboardServicesMutation } from './hooks/useOnboardServicesMutation';
181
185
  export { onboardingConfirmDiscovery, useOnboardingConfirmDiscoveryMutation, } from './hooks/useOnboardingConfirmDiscoveryMutation';
182
186
  export { onboardingConfirmExperimentCreation, useOnboardingConfirmExperimentCreationMutation, } from './hooks/useOnboardingConfirmExperimentCreationMutation';
183
187
  export { onboardingConfirmExperimentRun, useOnboardingConfirmExperimentRunMutation, } from './hooks/useOnboardingConfirmExperimentRunMutation';
184
188
  export { onboardingConfirmNetworkMap, useOnboardingConfirmNetworkMapMutation, } from './hooks/useOnboardingConfirmNetworkMapMutation';
189
+ export { onboardingConfirmServiceOnboarding, useOnboardingConfirmServiceOnboardingMutation, } from './hooks/useOnboardingConfirmServiceOnboardingMutation';
185
190
  export { pipelineAddExperimentRecommendation, usePipelineAddExperimentRecommendationMutation, } from './hooks/usePipelineAddExperimentRecommendationMutation';
186
191
  export { pipelineCanOnboardChaos, usePipelineCanOnboardChaosQuery, } from './hooks/usePipelineCanOnboardChaosQuery';
187
192
  export { pipelineOnboardChaos, usePipelineOnboardChaosMutation, } from './hooks/usePipelineOnboardChaosMutation';
@@ -196,10 +201,12 @@ export { resolveImageRegistryV3, useResolveImageRegistryV3Query, } from './hooks
196
201
  export { retryExperimentCreation, useRetryExperimentCreationMutation, } from './hooks/useRetryExperimentCreationMutation';
197
202
  export { runChaosComponentForMachine, useRunChaosComponentForMachineMutation, } from './hooks/useRunChaosComponentForMachineMutation';
198
203
  export { runChaosComponent, useRunChaosComponentMutation, } from './hooks/useRunChaosComponentMutation';
204
+ export { runChaosExperimentV3, useRunChaosExperimentV3Mutation, } from './hooks/useRunChaosExperimentV3Mutation';
199
205
  export { runChaosV2Experiment, useRunChaosV2ExperimentMutation, } from './hooks/useRunChaosV2ExperimentMutation';
200
206
  export { runChaosV2InternalApi, useRunChaosV2InternalApiMutation, } from './hooks/useRunChaosV2InternalApiMutation';
201
207
  export { runRecommendation, useRunRecommendationMutation, } from './hooks/useRunRecommendationMutation';
202
208
  export { saveChaosV2Experiment, useSaveChaosV2ExperimentMutation, } from './hooks/useSaveChaosV2ExperimentMutation';
209
+ export { stopChaosExperimentV3, useStopChaosExperimentV3Mutation, } from './hooks/useStopChaosExperimentV3Mutation';
203
210
  export { stopChaosV2Experiment, useStopChaosV2ExperimentMutation, } from './hooks/useStopChaosV2ExperimentMutation';
204
211
  export { stopDrTest, useStopDrTestMutation } from './hooks/useStopDrTestMutation';
205
212
  export { stopOnboardingExperiments, useStopOnboardingExperimentsMutation, } from './hooks/useStopOnboardingExperimentsMutation';
@@ -0,0 +1 @@
1
+ export type ChaoscomponentsChaosComponentKind = 'resource' | 'template';
@@ -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,3 +1,4 @@
1
+ import type { ChaoscomponentsChaosComponentKind } from '../schemas/ChaoscomponentsChaosComponentKind';
1
2
  import type { TemplateChaosComponentInputsetSpec } from '../schemas/TemplateChaosComponentInputsetSpec';
2
3
  import type { ChaoscomponentChaosComponentType } from '../schemas/ChaoscomponentChaosComponentType';
3
4
  import type { ChaoscomponentsUserMetaData } from '../schemas/ChaoscomponentsUserMetaData';
@@ -5,6 +6,7 @@ export interface ChaoscomponentsRunChaosComponentRequest {
5
6
  duration?: string;
6
7
  identity?: string;
7
8
  infraReference?: string;
9
+ kind?: ChaoscomponentsChaosComponentKind;
8
10
  runtimeInputs?: TemplateChaosComponentInputsetSpec;
9
11
  type?: ChaoscomponentChaosComponentType;
10
12
  userMetaData?: ChaoscomponentsUserMetaData;
@@ -2,21 +2,34 @@ import type { HcesdkUserDetails } from '../schemas/HcesdkUserDetails';
2
2
  import type { ChaosservicesServiceProbeAssociation } from '../schemas/ChaosservicesServiceProbeAssociation';
3
3
  import type { DatabaseDiscoveredServiceSpec } from '../schemas/DatabaseDiscoveredServiceSpec';
4
4
  export interface ChaosservicesChaosServiceResponse {
5
- accountID: string;
6
- agentIdentity?: string;
5
+ /**
6
+ * account id to access the resource
7
+ */
8
+ accountIdentifier: string;
9
+ agentId?: string;
7
10
  createdAt?: number;
8
11
  createdBy?: HcesdkUserDetails;
9
12
  description?: string;
10
- environmentIdentity?: string;
11
- externalIdentity?: string;
13
+ environmentId?: string;
14
+ externalServiceId?: string;
12
15
  identity?: string;
13
- infrastructureIdentity?: string;
16
+ infrastructureId?: string;
14
17
  isRemoved: boolean;
15
18
  name: string;
16
- orgID?: string;
19
+ namespace?: string;
20
+ /**
21
+ * organization id to access the resource
22
+ */
23
+ organizationIdentifier?: string;
24
+ /**
25
+ * resolved parent scope unique ID (from scope-info API or query param)
26
+ */
17
27
  parentUniqueId?: string;
18
28
  probes?: ChaosservicesServiceProbeAssociation[];
19
- projectID?: string;
29
+ /**
30
+ * project id to access the resource
31
+ */
32
+ projectIdentifier?: string;
20
33
  serviceType?: string;
21
34
  spec?: DatabaseDiscoveredServiceSpec;
22
35
  tags?: string[];
@@ -1,12 +1,13 @@
1
1
  import type { ChaosservicesServiceProbeAssociation } from '../schemas/ChaosservicesServiceProbeAssociation';
2
2
  export interface ChaosservicesCreateRequest {
3
- agentIdentity?: string;
3
+ agentId?: string;
4
4
  description?: string;
5
- environmentIdentity?: string;
6
- externalIdentity?: string;
5
+ environmentId?: string;
6
+ externalServiceId?: string;
7
7
  identity?: string;
8
- infrastructureIdentity?: string;
8
+ infrastructureId?: string;
9
9
  name?: string;
10
+ onboardingId?: string;
10
11
  probes?: ChaosservicesServiceProbeAssociation[];
11
12
  tags?: string[];
12
13
  }
@@ -1,5 +1,5 @@
1
1
  import type { TemplateInput } from '../schemas/TemplateInput';
2
2
  export interface ChaosservicesServiceProbeAssociation {
3
- probeIdentity?: string;
4
- variables?: TemplateInput[];
3
+ inputs?: TemplateInput[];
4
+ probeId?: string;
5
5
  }
@@ -1,11 +1,11 @@
1
1
  import type { ChaosservicesServiceProbeAssociation } from '../schemas/ChaosservicesServiceProbeAssociation';
2
2
  export interface ChaosservicesUpdateRequest {
3
- agentIdentity?: string;
3
+ agentId?: string;
4
4
  description?: string;
5
- environmentIdentity?: string;
6
- externalIdentity?: string;
5
+ environmentId?: string;
6
+ externalServiceId?: string;
7
7
  identity?: string;
8
- infrastructureIdentity?: string;
8
+ infrastructureId?: string;
9
9
  name?: string;
10
10
  probes?: ChaosservicesServiceProbeAssociation[];
11
11
  tags?: string[];
@@ -1 +1 @@
1
- export type ExecutionChaosStepStatus = 'Completed' | 'Completed_With_Probe_Absent' | 'Completed_With_Probe_Failure' | 'Error' | 'Failed' | 'Interrupted' | 'Passed' | 'Pending' | 'Queued' | 'Running' | 'Skipped' | 'Stopped';
1
+ export type ExecutionChaosStepStatus = 'Completed' | 'Completed_With_Probe_Absent' | 'Completed_With_Probe_Failure' | 'Error' | 'Failed' | 'Interrupted' | 'Passed' | 'Pending' | 'Queued' | 'Running' | 'Skipped' | 'Stopped' | 'Timeout';
@@ -0,0 +1,60 @@
1
+ import type { ChaosExperimentRunAction } from '../schemas/ChaosExperimentRunAction';
2
+ import type { HcesdkUserDetails } from '../schemas/HcesdkUserDetails';
3
+ import type { ChaosExperimentRunFaults } from '../schemas/ChaosExperimentRunFaults';
4
+ import type { ChaosExperimentRunProbe } from '../schemas/ChaosExperimentRunProbe';
5
+ import type { ChaosExperimentRunSecurityGovernanceNode } from '../schemas/ChaosExperimentRunSecurityGovernanceNode';
6
+ import type { TargetserviceServiceMetadata } from '../schemas/TargetserviceServiceMetadata';
7
+ import type { ChaosExperimentRunTemplateDetails } from '../schemas/ChaosExperimentRunTemplateDetails';
8
+ export interface ExperimentrunsGetExperimentRunResponse {
9
+ accountID: string;
10
+ actions?: ChaosExperimentRunAction[];
11
+ completed?: boolean;
12
+ /**
13
+ * correlation id is used to debug micro svc communication
14
+ */
15
+ correlationID?: string;
16
+ createdAt?: number;
17
+ createdBy?: HcesdkUserDetails;
18
+ errorResponse?: string;
19
+ executionData?: string;
20
+ experimentID?: string;
21
+ experimentIdentifier?: string;
22
+ experimentName?: string;
23
+ experimentRunID?: string;
24
+ experimentTags?: string[];
25
+ /**
26
+ * Type overrides: DB has different types
27
+ */
28
+ experimentType?: string;
29
+ experimentYaml?: string;
30
+ faultIDs?: string[];
31
+ faultsAwaited?: number;
32
+ faultsFailed?: number;
33
+ faultsNA?: number;
34
+ faultsPassed?: number;
35
+ faultsStopped?: number;
36
+ faultsWithProbes?: ChaosExperimentRunFaults[];
37
+ infraID?: string;
38
+ isRemoved: boolean;
39
+ /**
40
+ * Computed field: extracted from manifest YAML
41
+ */
42
+ manifestVersion?: string;
43
+ networkMapID?: string;
44
+ notifyID?: string;
45
+ orgID?: string;
46
+ parentUniqueId?: string;
47
+ phase?: string;
48
+ probes?: ChaosExperimentRunProbe[];
49
+ projectID?: string;
50
+ resiliencyScore?: number;
51
+ revisionID?: string;
52
+ runSequence?: number;
53
+ securityGovernance?: ChaosExperimentRunSecurityGovernanceNode;
54
+ targetedServices?: TargetserviceServiceMetadata[];
55
+ templateDetails?: ChaosExperimentRunTemplateDetails;
56
+ totalFaults?: number;
57
+ uniqueId?: string;
58
+ updatedAt?: number;
59
+ updatedBy?: HcesdkUserDetails;
60
+ }
@@ -0,0 +1,16 @@
1
+ import type { HcesdkUserDetails } from '../schemas/HcesdkUserDetails';
2
+ export interface ExperimentrunsListExperimentRunItem {
3
+ createdBy?: HcesdkUserDetails;
4
+ experimentId?: string;
5
+ experimentName?: string;
6
+ experimentRunId?: string;
7
+ infraId?: string;
8
+ infraType?: string;
9
+ notifyId?: string;
10
+ phase?: string;
11
+ resiliencyScore?: number;
12
+ runSequence?: number;
13
+ startedAt?: number;
14
+ updatedAt?: number;
15
+ updatedBy?: HcesdkUserDetails;
16
+ }
@@ -0,0 +1,11 @@
1
+ import type { ExperimentrunsListExperimentRunItem } from '../schemas/ExperimentrunsListExperimentRunItem';
2
+ import type { SharedPaginationResponse } from '../schemas/SharedPaginationResponse';
3
+ export interface ExperimentrunsListExperimentRunsResponse {
4
+ /**
5
+ * correlation id is used to debug micro svc communication
6
+ */
7
+ correlationID?: string;
8
+ data?: ExperimentrunsListExperimentRunItem[];
9
+ pagination?: SharedPaginationResponse;
10
+ totalItems?: number;
11
+ }
@@ -0,0 +1,5 @@
1
+ import type { TemplateChaosExperimentInputsetSpec } from '../schemas/TemplateChaosExperimentInputsetSpec';
2
+ export interface ExperimentrunsRunBody {
3
+ inputsetIdentity?: string;
4
+ runtimeInputs?: TemplateChaosExperimentInputsetSpec;
5
+ }
@@ -0,0 +1,11 @@
1
+ export interface ExperimentrunsRunExperimentResponse {
2
+ /**
3
+ * correlation id is used to debug micro svc communication
4
+ */
5
+ correlationID?: string;
6
+ delegateTaskId?: string;
7
+ experimentId?: string;
8
+ experimentName?: string;
9
+ experimentRunId?: string;
10
+ notifyId?: string;
11
+ }
@@ -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 ExperimentrunsStopExperimentBody {
2
+ experimentRunId?: string;
3
+ forceStop?: boolean;
4
+ notifyId?: 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,9 @@
1
+ export interface ExperimentrunsStopExperimentResponse {
2
+ /**
3
+ * correlation id is used to debug micro svc communication
4
+ */
5
+ correlationID?: string;
6
+ experimentId?: string;
7
+ experimentName?: string;
8
+ isStopped?: boolean;
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 {};
@@ -0,0 +1,7 @@
1
+ import type { V2OnboardingProbeDetail } from '../schemas/V2OnboardingProbeDetail';
2
+ import type { V2OnboardingV2OnboardingStatus } from '../schemas/V2OnboardingV2OnboardingStatus';
3
+ export interface V2OnboardingChaosServiceStatus {
4
+ chaosServiceCount?: number;
5
+ probes?: V2OnboardingProbeDetail[];
6
+ status?: V2OnboardingV2OnboardingStatus;
7
+ }
@@ -0,0 +1,3 @@
1
+ export interface V2OnboardingConfirmServiceOnboardingResponse {
2
+ completed?: boolean;
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 { SharedPaginationResponse } from '../schemas/SharedPaginationResponse';
2
+ import type { V2OnboardingProbeDetail } from '../schemas/V2OnboardingProbeDetail';
3
+ import type { ChaosservicesChaosServiceResponse } from '../schemas/ChaosservicesChaosServiceResponse';
4
+ export interface V2OnboardingListOnboardedServicesResponse {
5
+ pagination?: SharedPaginationResponse;
6
+ probes?: V2OnboardingProbeDetail[];
7
+ services?: ChaosservicesChaosServiceResponse[];
8
+ }
@@ -0,0 +1,3 @@
1
+ export interface V2OnboardingOnboardServicesRequest {
2
+ externalServiceIds: 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,4 @@
1
+ export interface V2OnboardingOnboardServicesResponse {
2
+ onboardedCount?: number;
3
+ onboardedServiceIds?: 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,7 @@
1
+ import type { ProbeProbeType } from '../schemas/ProbeProbeType';
2
+ export interface V2OnboardingProbeDetail {
3
+ identity?: string;
4
+ name?: string;
5
+ probeId?: string;
6
+ type?: ProbeProbeType;
7
+ }
@@ -3,6 +3,7 @@ import type { V2OnboardingChaosInfraAdvanceConfiguration } from '../schemas/V2On
3
3
  import type { V2OnboardingDiscoveredService } from '../schemas/V2OnboardingDiscoveredService';
4
4
  import type { DatabaseAgentConfiguration } from '../schemas/DatabaseAgentConfiguration';
5
5
  import type { V2OnboardingOnboardingMode } from '../schemas/V2OnboardingOnboardingMode';
6
+ import type { V2OnboardingChaosServiceStatus } from '../schemas/V2OnboardingChaosServiceStatus';
6
7
  import type { V2OnboardingRunSafeExperimentStatus } from '../schemas/V2OnboardingRunSafeExperimentStatus';
7
8
  import type { V2OnboardingV2OnboardingStatus } from '../schemas/V2OnboardingV2OnboardingStatus';
8
9
  import type { V2OnboardingTargetNetworkMapStatus } from '../schemas/V2OnboardingTargetNetworkMapStatus';
@@ -20,6 +21,7 @@ export interface V2OnboardingV2Onboarding {
20
21
  isRemoved: boolean;
21
22
  mode?: V2OnboardingOnboardingMode;
22
23
  namespace?: string;
24
+ onboardingChaosServiceStatus?: V2OnboardingChaosServiceStatus;
23
25
  onboardingID?: string;
24
26
  orgID?: string;
25
27
  parentUniqueId?: string;
@@ -1,4 +1,6 @@
1
+ import type { TemplateInput } from '../schemas/TemplateInput';
1
2
  import type { V3GetExperimentOrTemplateVariableData } from '../schemas/V3GetExperimentOrTemplateVariableData';
2
3
  export interface V3GetExperimentOrTemplateVariableResponse {
4
+ experimentInputs?: TemplateInput[];
3
5
  items?: V3GetExperimentOrTemplateVariableData[];
4
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-chaos-manager-client",
3
- "version": "1.65.1-beta.0",
3
+ "version": "1.66.0",
4
4
  "description": "Harness React Chaos Manager Service Client - APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",