@harnessio/react-chaos-manager-client 1.85.0 → 1.87.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 (53) hide show
  1. package/dist/chaos-manager/src/services/hooks/useGetExperimentRunsCsvMutation.d.ts +1 -1
  2. package/dist/chaos-manager/src/services/hooks/useGetExperimentTemplateRevisionsQuery.d.ts +1 -1
  3. package/dist/chaos-manager/src/services/hooks/useListActionMetadataQuery.d.ts +1 -1
  4. package/dist/chaos-manager/src/services/hooks/useListActionRunsQuery.d.ts +40 -0
  5. package/dist/chaos-manager/src/services/hooks/useListActionRunsQuery.js +14 -0
  6. package/dist/chaos-manager/src/services/hooks/useListAllChaosExperimentRunsV3Query.d.ts +45 -0
  7. package/dist/chaos-manager/src/services/hooks/useListAllChaosExperimentRunsV3Query.js +14 -0
  8. package/dist/chaos-manager/src/services/hooks/useListChaosExperimentRunsV3Query.d.ts +2 -1
  9. package/dist/chaos-manager/src/services/hooks/useListChaosServiceDrRunsQuery.d.ts +1 -1
  10. package/dist/chaos-manager/src/services/hooks/useListChaosServiceExecutionsQuery.d.ts +1 -1
  11. package/dist/chaos-manager/src/services/hooks/useListChaosServiceLoadTestsQuery.d.ts +1 -1
  12. package/dist/chaos-manager/src/services/hooks/useListChaosServicesQuery.d.ts +1 -1
  13. package/dist/chaos-manager/src/services/hooks/useListConditionQuery.d.ts +1 -1
  14. package/dist/chaos-manager/src/services/hooks/useListDashboardsV3Query.d.ts +1 -1
  15. package/dist/chaos-manager/src/services/hooks/useListDrTestRunsQuery.d.ts +33 -0
  16. package/dist/chaos-manager/src/services/hooks/useListDrTestRunsQuery.js +14 -0
  17. package/dist/chaos-manager/src/services/hooks/useListExperimentMetadataQuery.d.ts +1 -1
  18. package/dist/chaos-manager/src/services/hooks/useListExperimentOrTemplateQuery.d.ts +1 -1
  19. package/dist/chaos-manager/src/services/hooks/useListExperimentRunsOfFaultQuery.d.ts +1 -1
  20. package/dist/chaos-manager/src/services/hooks/useListExperimentTemplateQuery.d.ts +1 -1
  21. package/dist/chaos-manager/src/services/hooks/useListExperimentsV3Query.d.ts +1 -1
  22. package/dist/chaos-manager/src/services/hooks/useListFaultMetadataQuery.d.ts +1 -1
  23. package/dist/chaos-manager/src/services/hooks/useListFaultTemplateQuery.d.ts +1 -1
  24. package/dist/chaos-manager/src/services/hooks/useListFaultv2Query.d.ts +1 -1
  25. package/dist/chaos-manager/src/services/hooks/useListGamedayMetadataQuery.d.ts +1 -1
  26. package/dist/chaos-manager/src/services/hooks/useListHubMetadataQuery.d.ts +1 -1
  27. package/dist/chaos-manager/src/services/hooks/useListProbeExecutionsQuery.d.ts +1 -1
  28. package/dist/chaos-manager/src/services/hooks/useListProbeMetadataQuery.d.ts +1 -1
  29. package/dist/chaos-manager/src/services/hooks/useListProbeRunsQuery.d.ts +40 -0
  30. package/dist/chaos-manager/src/services/hooks/useListProbeRunsQuery.js +14 -0
  31. package/dist/chaos-manager/src/services/hooks/useListRiskRulesQuery.d.ts +1 -1
  32. package/dist/chaos-manager/src/services/hooks/useListRiskScansQuery.d.ts +1 -1
  33. package/dist/chaos-manager/src/services/hooks/useListRisksQuery.d.ts +1 -1
  34. package/dist/chaos-manager/src/services/hooks/useListRuleQuery.d.ts +1 -1
  35. package/dist/chaos-manager/src/services/hooks/useListScannedRiskOccurrencesQuery.d.ts +1 -1
  36. package/dist/chaos-manager/src/services/index.d.ts +15 -0
  37. package/dist/chaos-manager/src/services/index.js +4 -0
  38. package/dist/chaos-manager/src/services/schemas/ChaoscomponentsDrRun.d.ts +27 -0
  39. package/dist/chaos-manager/src/services/schemas/ChaoscomponentsDrRun.js +1 -0
  40. package/dist/chaos-manager/src/services/schemas/ChaoscomponentsListDrRunsResponse.d.ts +6 -0
  41. package/dist/chaos-manager/src/services/schemas/ChaoscomponentsListDrRunsResponse.js +1 -0
  42. package/dist/chaos-manager/src/services/schemas/ScannedrisksServiceRiskSummaryQuery.d.ts +1 -1
  43. package/dist/chaos-manager/src/services/schemas/SharedExecutionRunExperimentDetails.d.ts +7 -0
  44. package/dist/chaos-manager/src/services/schemas/SharedExecutionRunExperimentDetails.js +4 -0
  45. package/dist/chaos-manager/src/services/schemas/SharedExecutionRunItem.d.ts +38 -0
  46. package/dist/chaos-manager/src/services/schemas/SharedExecutionRunItem.js +1 -0
  47. package/dist/chaos-manager/src/services/schemas/SharedExecutionRunPipelineDetails.d.ts +8 -0
  48. package/dist/chaos-manager/src/services/schemas/SharedExecutionRunPipelineDetails.js +4 -0
  49. package/dist/chaos-manager/src/services/schemas/SharedExecutionRunSource.d.ts +1 -0
  50. package/dist/chaos-manager/src/services/schemas/SharedExecutionRunSource.js +4 -0
  51. package/dist/chaos-manager/src/services/schemas/SharedListExecutionRunsResponse.d.ts +11 -0
  52. package/dist/chaos-manager/src/services/schemas/SharedListExecutionRunsResponse.js +1 -0
  53. package/package.json +1 -1
@@ -9,7 +9,7 @@ export interface GetExperimentRunsCsvMutationQueryParams {
9
9
  projectIdentifier?: string;
10
10
  search?: string;
11
11
  sortAscending?: boolean;
12
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
12
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
13
13
  startTime?: number;
14
14
  }
15
15
  export type GetExperimentRunsCsvOkResponse = unknown;
@@ -25,7 +25,7 @@ export interface GetExperimentTemplateRevisionsQueryQueryParams {
25
25
  projectIdentifier?: string;
26
26
  search?: string;
27
27
  sortAscending?: boolean;
28
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
28
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
29
29
  tags?: string;
30
30
  verbose?: boolean;
31
31
  }
@@ -20,7 +20,7 @@ export interface ListActionMetadataQueryQueryParams {
20
20
  projectIdentifier?: string;
21
21
  search?: string;
22
22
  sortAscending?: boolean;
23
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
23
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
24
24
  tags?: string;
25
25
  }
26
26
  export type ListActionMetadataRequestBody = TypesListMetadataRequest;
@@ -0,0 +1,40 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { SharedListExecutionRunsResponse } from '../schemas/SharedListExecutionRunsResponse';
3
+ import type { SharedError } from '../schemas/SharedError';
4
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
+ export interface ListActionRunsQueryQueryParams {
6
+ accountIdentifier: string;
7
+ correlationID?: string;
8
+ endTime?: number;
9
+ identities?: string;
10
+ includeAllScope?: boolean;
11
+ /**
12
+ * @default 15
13
+ */
14
+ limit?: number;
15
+ organizationIdentifier?: string;
16
+ /**
17
+ * @default 0
18
+ */
19
+ page?: number;
20
+ parentUniqueId?: string;
21
+ projectIdentifier?: string;
22
+ search?: string;
23
+ source?: 'ChaosExperiment' | 'DRTest';
24
+ startTime?: number;
25
+ statuses?: string;
26
+ }
27
+ export type ListActionRunsOkResponse = SharedListExecutionRunsResponse;
28
+ export type ListActionRunsErrorResponse = SharedError;
29
+ export interface ListActionRunsProps extends Omit<FetcherOptions<ListActionRunsQueryQueryParams, unknown>, 'url'> {
30
+ queryParams: ListActionRunsQueryQueryParams;
31
+ }
32
+ export interface ListActionRunsResponseContainer {
33
+ body: ListActionRunsOkResponse;
34
+ headers: Headers;
35
+ }
36
+ export declare function listActionRuns(props: ListActionRunsProps): Promise<ListActionRunsResponseContainer>;
37
+ /**
38
+ * Lists the action executions of a project with pagination, most recently updated first. Covers actions run inside chaos experiments and inside DR tests; use the sources filter to narrow to one of them.
39
+ */
40
+ export declare function useListActionRunsQuery(props: ListActionRunsProps, options?: Omit<UseQueryOptions<ListActionRunsResponseContainer, ListActionRunsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListActionRunsResponseContainer, SharedError>;
@@ -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 listActionRuns(props) {
7
+ return fetcher(Object.assign({ url: `/v3/actions/runs`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Lists the action executions of a project with pagination, most recently updated first. Covers actions run inside chaos experiments and inside DR tests; use the sources filter to narrow to one of them.
11
+ */
12
+ export function useListActionRunsQuery(props, options) {
13
+ return useQuery(['listActionRuns', props.queryParams], ({ signal }) => listActionRuns(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,45 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ExperimentrunsListExperimentRunsResponse } from '../schemas/ExperimentrunsListExperimentRunsResponse';
3
+ import type { SharedError } from '../schemas/SharedError';
4
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
+ export interface ListAllChaosExperimentRunsV3QueryQueryParams {
6
+ accountIdentifier: string;
7
+ correlationID?: string;
8
+ endTime?: number;
9
+ experimentIDs?: string;
10
+ experimentRunIDs?: string;
11
+ infraIDs?: string;
12
+ /**
13
+ * @default 15
14
+ */
15
+ limit?: number;
16
+ myExecutions?: boolean;
17
+ notifyIDs?: string;
18
+ organizationIdentifier?: string;
19
+ /**
20
+ * @default 0
21
+ */
22
+ page?: number;
23
+ parentUniqueId?: string;
24
+ phases?: string;
25
+ projectIdentifier?: string;
26
+ runSequence?: number;
27
+ search?: string;
28
+ sortAscending?: boolean;
29
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
30
+ startTime?: number;
31
+ }
32
+ export type ListAllChaosExperimentRunsV3OkResponse = ExperimentrunsListExperimentRunsResponse;
33
+ export type ListAllChaosExperimentRunsV3ErrorResponse = SharedError;
34
+ export interface ListAllChaosExperimentRunsV3Props extends Omit<FetcherOptions<ListAllChaosExperimentRunsV3QueryQueryParams, unknown>, 'url'> {
35
+ queryParams: ListAllChaosExperimentRunsV3QueryQueryParams;
36
+ }
37
+ export interface ListAllChaosExperimentRunsV3ResponseContainer {
38
+ body: ListAllChaosExperimentRunsV3OkResponse;
39
+ headers: Headers;
40
+ }
41
+ export declare function listAllChaosExperimentRunsV3(props: ListAllChaosExperimentRunsV3Props): Promise<ListAllChaosExperimentRunsV3ResponseContainer>;
42
+ /**
43
+ * Lists every experiment run in the requested account/organization/project with the V3 filter+pagination conventions. Use this for cross-experiment run history and reporting views.
44
+ */
45
+ export declare function useListAllChaosExperimentRunsV3Query(props: ListAllChaosExperimentRunsV3Props, options?: Omit<UseQueryOptions<ListAllChaosExperimentRunsV3ResponseContainer, ListAllChaosExperimentRunsV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListAllChaosExperimentRunsV3ResponseContainer, SharedError>;
@@ -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 listAllChaosExperimentRunsV3(props) {
7
+ return fetcher(Object.assign({ url: `/v3/experiment-runs`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Lists every experiment run in the requested account/organization/project with the V3 filter+pagination conventions. Use this for cross-experiment run history and reporting views.
11
+ */
12
+ export function useListAllChaosExperimentRunsV3Query(props, options) {
13
+ return useQuery(['listAllChaosExperimentRunsV3', props.queryParams], ({ signal }) => listAllChaosExperimentRunsV3(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -16,6 +16,7 @@ export interface ListChaosExperimentRunsV3QueryQueryParams {
16
16
  * @default 15
17
17
  */
18
18
  limit?: number;
19
+ myExecutions?: boolean;
19
20
  notifyIDs?: string;
20
21
  organizationIdentifier?: string;
21
22
  /**
@@ -28,7 +29,7 @@ export interface ListChaosExperimentRunsV3QueryQueryParams {
28
29
  runSequence?: number;
29
30
  search?: string;
30
31
  sortAscending?: boolean;
31
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
32
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
32
33
  startTime?: number;
33
34
  }
34
35
  export type ListChaosExperimentRunsV3OkResponse = ExperimentrunsListExperimentRunsResponse;
@@ -23,7 +23,7 @@ export interface ListChaosServiceDrRunsQueryQueryParams {
23
23
  projectIdentifier?: string;
24
24
  search?: string;
25
25
  sortAscending?: boolean;
26
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
26
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
27
27
  statuses?: string;
28
28
  useParentUniqueID?: boolean;
29
29
  }
@@ -24,7 +24,7 @@ export interface ListChaosServiceExecutionsQueryQueryParams {
24
24
  search?: string;
25
25
  '-'?: string;
26
26
  sortAscending?: boolean;
27
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
27
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
28
28
  statuses?: string;
29
29
  stepTypes?: string;
30
30
  useParentUniqueID?: boolean;
@@ -25,7 +25,7 @@ export interface ListChaosServiceLoadTestsQueryQueryParams {
25
25
  search?: string;
26
26
  '-'?: string;
27
27
  sortAscending?: boolean;
28
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
28
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
29
29
  tags?: string;
30
30
  toolType?: string;
31
31
  useParentUniqueID?: boolean;
@@ -23,7 +23,7 @@ export interface ListChaosServicesQueryQueryParams {
23
23
  projectIdentifier?: string;
24
24
  search?: string;
25
25
  sortAscending?: boolean;
26
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
26
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
27
27
  tags?: string;
28
28
  useParentUniqueID?: boolean;
29
29
  }
@@ -19,7 +19,7 @@ export interface ListConditionQueryQueryParams {
19
19
  projectIdentifier?: string;
20
20
  search?: string;
21
21
  sortAscending?: boolean;
22
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
22
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
23
23
  tags?: string;
24
24
  }
25
25
  export type ListConditionOkResponse = ChaosguardconditionsListConditionResponse;
@@ -20,7 +20,7 @@ export interface ListDashboardsV3QueryQueryParams {
20
20
  projectIdentifier?: string;
21
21
  search?: string;
22
22
  sortAscending?: boolean;
23
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
23
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
24
24
  tags?: string;
25
25
  useParentUniqueID?: boolean;
26
26
  }
@@ -0,0 +1,33 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ChaoscomponentsListDrRunsResponse } from '../schemas/ChaoscomponentsListDrRunsResponse';
3
+ import type { SharedError } from '../schemas/SharedError';
4
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
+ export interface ListDrTestRunsQueryQueryParams {
6
+ accountIdentifier: string;
7
+ correlationID?: string;
8
+ /**
9
+ * @default 15
10
+ */
11
+ limit?: number;
12
+ organizationIdentifier?: string;
13
+ /**
14
+ * @default 0
15
+ */
16
+ page?: number;
17
+ parentUniqueId?: string;
18
+ projectIdentifier?: string;
19
+ }
20
+ export type ListDrTestRunsOkResponse = ChaoscomponentsListDrRunsResponse;
21
+ export type ListDrTestRunsErrorResponse = SharedError;
22
+ export interface ListDrTestRunsProps extends Omit<FetcherOptions<ListDrTestRunsQueryQueryParams, unknown>, 'url'> {
23
+ queryParams: ListDrTestRunsQueryQueryParams;
24
+ }
25
+ export interface ListDrTestRunsResponseContainer {
26
+ body: ListDrTestRunsOkResponse;
27
+ headers: Headers;
28
+ }
29
+ export declare function listDrTestRuns(props: ListDrTestRunsProps): Promise<ListDrTestRunsResponseContainer>;
30
+ /**
31
+ * Lists the DR test runs of a project, most recently started first, with pagination. A run is a pipeline execution that recorded chaos component execution nodes.
32
+ */
33
+ export declare function useListDrTestRunsQuery(props: ListDrTestRunsProps, options?: Omit<UseQueryOptions<ListDrTestRunsResponseContainer, ListDrTestRunsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListDrTestRunsResponseContainer, SharedError>;
@@ -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 listDrTestRuns(props) {
7
+ return fetcher(Object.assign({ url: `/v3/dr-tests/runs`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Lists the DR test runs of a project, most recently started first, with pagination. A run is a pipeline execution that recorded chaos component execution nodes.
11
+ */
12
+ export function useListDrTestRunsQuery(props, options) {
13
+ return useQuery(['listDRTestRuns', props.queryParams], ({ signal }) => listDrTestRuns(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -20,7 +20,7 @@ export interface ListExperimentMetadataQueryQueryParams {
20
20
  projectIdentifier?: string;
21
21
  search?: string;
22
22
  sortAscending?: boolean;
23
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
23
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
24
24
  tags?: string;
25
25
  }
26
26
  export type ListExperimentMetadataRequestBody = TypesListMetadataRequest;
@@ -22,7 +22,7 @@ export interface ListExperimentOrTemplateQueryQueryParams {
22
22
  projectIdentifier?: string;
23
23
  search?: string;
24
24
  sortAscending?: boolean;
25
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
25
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
26
26
  startTime?: number;
27
27
  tags?: string;
28
28
  useParentUniqueID?: boolean;
@@ -23,7 +23,7 @@ export interface ListExperimentRunsOfFaultQueryQueryParams {
23
23
  projectIdentifier?: string;
24
24
  search?: string;
25
25
  sortAscending?: boolean;
26
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
26
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
27
27
  }
28
28
  export type ListExperimentRunsOfFaultOkResponse = ChaosfaultListExperimentRunsInFaultResponse;
29
29
  export type ListExperimentRunsOfFaultErrorResponse = ApiRestError;
@@ -22,7 +22,7 @@ export interface ListExperimentTemplateQueryQueryParams {
22
22
  projectIdentifier?: string;
23
23
  search?: string;
24
24
  sortAscending?: boolean;
25
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
25
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
26
26
  tags?: string;
27
27
  verbose?: boolean;
28
28
  }
@@ -29,7 +29,7 @@ export interface ListExperimentsV3QueryQueryParams {
29
29
  projectIdentifier?: string;
30
30
  search?: string;
31
31
  sortAscending?: boolean;
32
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
32
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
33
33
  startTime?: number;
34
34
  status?: string;
35
35
  tags?: string;
@@ -20,7 +20,7 @@ export interface ListFaultMetadataQueryQueryParams {
20
20
  projectIdentifier?: string;
21
21
  search?: string;
22
22
  sortAscending?: boolean;
23
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
23
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
24
24
  tags?: string;
25
25
  }
26
26
  export type ListFaultMetadataRequestBody = TypesListMetadataRequest;
@@ -24,7 +24,7 @@ export interface ListFaultTemplateQueryQueryParams {
24
24
  projectIdentifier?: string;
25
25
  search?: string;
26
26
  sortAscending?: boolean;
27
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
27
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
28
28
  tags?: string;
29
29
  type?: string;
30
30
  }
@@ -22,7 +22,7 @@ export interface ListFaultv2QueryQueryParams {
22
22
  projectIdentifier?: string;
23
23
  search?: string;
24
24
  sortAscending?: boolean;
25
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
25
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
26
26
  tags?: string;
27
27
  type?: string;
28
28
  }
@@ -20,7 +20,7 @@ export interface ListGamedayMetadataQueryQueryParams {
20
20
  projectIdentifier?: string;
21
21
  search?: string;
22
22
  sortAscending?: boolean;
23
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
23
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
24
24
  tags?: string;
25
25
  }
26
26
  export type ListGamedayMetadataRequestBody = TypesListMetadataRequest;
@@ -20,7 +20,7 @@ export interface ListHubMetadataQueryQueryParams {
20
20
  projectIdentifier?: string;
21
21
  search?: string;
22
22
  sortAscending?: boolean;
23
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
23
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
24
24
  tags?: string;
25
25
  }
26
26
  export type ListHubMetadataRequestBody = TypesListMetadataRequest;
@@ -23,7 +23,7 @@ export interface ListProbeExecutionsQueryQueryParams {
23
23
  projectIdentifier?: string;
24
24
  search?: string;
25
25
  sortAscending?: boolean;
26
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
26
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
27
27
  startTime?: number;
28
28
  status?: 'Failed' | 'Passed';
29
29
  tags?: string;
@@ -20,7 +20,7 @@ export interface ListProbeMetadataQueryQueryParams {
20
20
  projectIdentifier?: string;
21
21
  search?: string;
22
22
  sortAscending?: boolean;
23
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
23
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
24
24
  tags?: string;
25
25
  }
26
26
  export type ListProbeMetadataRequestBody = TypesListMetadataRequest;
@@ -0,0 +1,40 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { SharedListExecutionRunsResponse } from '../schemas/SharedListExecutionRunsResponse';
3
+ import type { SharedError } from '../schemas/SharedError';
4
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
+ export interface ListProbeRunsQueryQueryParams {
6
+ accountIdentifier: string;
7
+ correlationID?: string;
8
+ endTime?: number;
9
+ identities?: string;
10
+ includeAllScope?: boolean;
11
+ /**
12
+ * @default 15
13
+ */
14
+ limit?: number;
15
+ organizationIdentifier?: string;
16
+ /**
17
+ * @default 0
18
+ */
19
+ page?: number;
20
+ parentUniqueId?: string;
21
+ projectIdentifier?: string;
22
+ search?: string;
23
+ source?: 'ChaosExperiment' | 'DRTest';
24
+ startTime?: number;
25
+ statuses?: string;
26
+ }
27
+ export type ListProbeRunsOkResponse = SharedListExecutionRunsResponse;
28
+ export type ListProbeRunsErrorResponse = SharedError;
29
+ export interface ListProbeRunsProps extends Omit<FetcherOptions<ListProbeRunsQueryQueryParams, unknown>, 'url'> {
30
+ queryParams: ListProbeRunsQueryQueryParams;
31
+ }
32
+ export interface ListProbeRunsResponseContainer {
33
+ body: ListProbeRunsOkResponse;
34
+ headers: Headers;
35
+ }
36
+ export declare function listProbeRuns(props: ListProbeRunsProps): Promise<ListProbeRunsResponseContainer>;
37
+ /**
38
+ * Lists the probe executions of a project with pagination, most recently updated first. Covers probes run inside chaos experiments and inside DR tests; use the sources filter to narrow to one of them.
39
+ */
40
+ export declare function useListProbeRunsQuery(props: ListProbeRunsProps, options?: Omit<UseQueryOptions<ListProbeRunsResponseContainer, ListProbeRunsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListProbeRunsResponseContainer, SharedError>;
@@ -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 listProbeRuns(props) {
7
+ return fetcher(Object.assign({ url: `/v3/probes/runs`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Lists the probe executions of a project with pagination, most recently updated first. Covers probes run inside chaos experiments and inside DR tests; use the sources filter to narrow to one of them.
11
+ */
12
+ export function useListProbeRunsQuery(props, options) {
13
+ return useQuery(['listProbeRuns', props.queryParams], ({ signal }) => listProbeRuns(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -21,7 +21,7 @@ export interface ListRiskRulesQueryQueryParams {
21
21
  projectIdentifier?: string;
22
22
  search?: string;
23
23
  sortAscending?: boolean;
24
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
24
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
25
25
  tags?: string;
26
26
  }
27
27
  export type ListRiskRulesOkResponse = RiskrulesListResponse;
@@ -23,7 +23,7 @@ export interface ListRiskScansQueryQueryParams {
23
23
  scanType?: string;
24
24
  search?: string;
25
25
  sortAscending?: boolean;
26
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
26
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
27
27
  startTime?: number;
28
28
  status?: string;
29
29
  tags?: string;
@@ -22,7 +22,7 @@ export interface ListRisksQueryQueryParams {
22
22
  resourceIdentifiers?: string[];
23
23
  search?: string;
24
24
  sortAscending?: boolean;
25
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
25
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
26
26
  tags?: string;
27
27
  useParentUniqueID?: boolean;
28
28
  }
@@ -19,7 +19,7 @@ export interface ListRuleQueryQueryParams {
19
19
  projectIdentifier?: string;
20
20
  search?: string;
21
21
  sortAscending?: boolean;
22
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
22
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
23
23
  tags?: string;
24
24
  }
25
25
  export type ListRuleOkResponse = ChaosguardrulesListRuleResponse;
@@ -23,7 +23,7 @@ export interface ListScannedRiskOccurrencesQueryQueryParams {
23
23
  scanType?: string;
24
24
  search?: string;
25
25
  sortAscending?: boolean;
26
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
26
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
27
27
  source?: 'DiscoveryAgent' | 'PipelineExecution' | 'ProbeExecution';
28
28
  startTime?: number;
29
29
  validationType?: string;
@@ -308,12 +308,16 @@ export type { ImportProbeErrorResponse, ImportProbeMutationProps, ImportProbeMut
308
308
  export { importProbe, useImportProbeMutation } from './hooks/useImportProbeMutation';
309
309
  export type { ListActionMetadataErrorResponse, ListActionMetadataOkResponse, ListActionMetadataProps, ListActionMetadataQueryQueryParams, ListActionMetadataRequestBody, } from './hooks/useListActionMetadataQuery';
310
310
  export { listActionMetadata, useListActionMetadataQuery } from './hooks/useListActionMetadataQuery';
311
+ export type { ListActionRunsErrorResponse, ListActionRunsOkResponse, ListActionRunsProps, ListActionRunsQueryQueryParams, } from './hooks/useListActionRunsQuery';
312
+ export { listActionRuns, useListActionRunsQuery } from './hooks/useListActionRunsQuery';
311
313
  export type { ListActionTemplateErrorResponse, ListActionTemplateOkResponse, ListActionTemplateProps, ListActionTemplateQueryQueryParams, } from './hooks/useListActionTemplateQuery';
312
314
  export { listActionTemplate, useListActionTemplateQuery } from './hooks/useListActionTemplateQuery';
313
315
  export type { ListActionTemplateRevisionsErrorResponse, ListActionTemplateRevisionsOkResponse, ListActionTemplateRevisionsProps, ListActionTemplateRevisionsQueryPathParams, ListActionTemplateRevisionsQueryQueryParams, } from './hooks/useListActionTemplateRevisionsQuery';
314
316
  export { listActionTemplateRevisions, useListActionTemplateRevisionsQuery, } from './hooks/useListActionTemplateRevisionsQuery';
315
317
  export type { ListActionsErrorResponse, ListActionsOkResponse, ListActionsProps, ListActionsQueryQueryParams, } from './hooks/useListActionsQuery';
316
318
  export { listActions, useListActionsQuery } from './hooks/useListActionsQuery';
319
+ export type { ListAllChaosExperimentRunsV3ErrorResponse, ListAllChaosExperimentRunsV3OkResponse, ListAllChaosExperimentRunsV3Props, ListAllChaosExperimentRunsV3QueryQueryParams, } from './hooks/useListAllChaosExperimentRunsV3Query';
320
+ export { listAllChaosExperimentRunsV3, useListAllChaosExperimentRunsV3Query, } from './hooks/useListAllChaosExperimentRunsV3Query';
317
321
  export type { ListApplicationErrorResponse, ListApplicationOkResponse, ListApplicationProps, ListApplicationQueryPathParams, ListApplicationQueryQueryParams, } from './hooks/useListApplicationQuery';
318
322
  export { listApplication, useListApplicationQuery } from './hooks/useListApplicationQuery';
319
323
  export type { ListChaosComponentErrorResponse, ListChaosComponentOkResponse, ListChaosComponentProps, ListChaosComponentQueryPathParams, ListChaosComponentQueryQueryParams, } from './hooks/useListChaosComponentQuery';
@@ -338,6 +342,8 @@ export type { ListConditionErrorResponse, ListConditionOkResponse, ListCondition
338
342
  export { listCondition, useListConditionQuery } from './hooks/useListConditionQuery';
339
343
  export type { ListDashboardsV3ErrorResponse, ListDashboardsV3OkResponse, ListDashboardsV3Props, ListDashboardsV3QueryQueryParams, } from './hooks/useListDashboardsV3Query';
340
344
  export { listDashboardsV3, useListDashboardsV3Query } from './hooks/useListDashboardsV3Query';
345
+ export type { ListDrTestRunsErrorResponse, ListDrTestRunsOkResponse, ListDrTestRunsProps, ListDrTestRunsQueryQueryParams, } from './hooks/useListDrTestRunsQuery';
346
+ export { listDrTestRuns, useListDrTestRunsQuery } from './hooks/useListDrTestRunsQuery';
341
347
  export type { ListDrTestsErrorResponse, ListDrTestsOkResponse, ListDrTestsProps, ListDrTestsQueryQueryParams, } from './hooks/useListDrTestsQuery';
342
348
  export { listDrTests, useListDrTestsQuery } from './hooks/useListDrTestsQuery';
343
349
  export type { ListExperimentMetadataErrorResponse, ListExperimentMetadataOkResponse, ListExperimentMetadataProps, ListExperimentMetadataQueryQueryParams, ListExperimentMetadataRequestBody, } from './hooks/useListExperimentMetadataQuery';
@@ -392,6 +398,8 @@ export type { ListProbeExecutionsErrorResponse, ListProbeExecutionsOkResponse, L
392
398
  export { listProbeExecutions, useListProbeExecutionsQuery, } from './hooks/useListProbeExecutionsQuery';
393
399
  export type { ListProbeMetadataErrorResponse, ListProbeMetadataOkResponse, ListProbeMetadataProps, ListProbeMetadataQueryQueryParams, ListProbeMetadataRequestBody, } from './hooks/useListProbeMetadataQuery';
394
400
  export { listProbeMetadata, useListProbeMetadataQuery } from './hooks/useListProbeMetadataQuery';
401
+ export type { ListProbeRunsErrorResponse, ListProbeRunsOkResponse, ListProbeRunsProps, ListProbeRunsQueryQueryParams, } from './hooks/useListProbeRunsQuery';
402
+ export { listProbeRuns, useListProbeRunsQuery } from './hooks/useListProbeRunsQuery';
395
403
  export type { ListProbeTemplateErrorResponse, ListProbeTemplateOkResponse, ListProbeTemplateProps, ListProbeTemplateQueryQueryParams, } from './hooks/useListProbeTemplateQuery';
396
404
  export { listProbeTemplate, useListProbeTemplateQuery } from './hooks/useListProbeTemplateQuery';
397
405
  export type { ListProbesErrorResponse, ListProbesOkResponse, ListProbesProps, ListProbesQueryQueryParams, } from './hooks/useListProbesQuery';
@@ -654,10 +662,12 @@ export type { ChaoscomponentsCreateDrTestPipelineResponse } from './schemas/Chao
654
662
  export type { ChaoscomponentsCreateDrTestPipelineResponseData } from './schemas/ChaoscomponentsCreateDrTestPipelineResponseData';
655
663
  export type { ChaoscomponentsDeleteDrTestResponse } from './schemas/ChaoscomponentsDeleteDrTestResponse';
656
664
  export type { ChaoscomponentsDeleteDrTestResponseData } from './schemas/ChaoscomponentsDeleteDrTestResponseData';
665
+ export type { ChaoscomponentsDrRun } from './schemas/ChaoscomponentsDrRun';
657
666
  export type { ChaoscomponentsDrTest } from './schemas/ChaoscomponentsDrTest';
658
667
  export type { ChaoscomponentsDrTestRunInfo } from './schemas/ChaoscomponentsDrTestRunInfo';
659
668
  export type { ChaoscomponentsGetChaosComponentVariableData } from './schemas/ChaoscomponentsGetChaosComponentVariableData';
660
669
  export type { ChaoscomponentsGetChaosComponentVariableResponse } from './schemas/ChaoscomponentsGetChaosComponentVariableResponse';
670
+ export type { ChaoscomponentsListDrRunsResponse } from './schemas/ChaoscomponentsListDrRunsResponse';
661
671
  export type { ChaoscomponentsListDrTestsResponse } from './schemas/ChaoscomponentsListDrTestsResponse';
662
672
  export type { ChaoscomponentsRunChaosComponentRequest } from './schemas/ChaoscomponentsRunChaosComponentRequest';
663
673
  export type { ChaoscomponentsRunChaosComponentResponse } from './schemas/ChaoscomponentsRunChaosComponentResponse';
@@ -1340,6 +1350,11 @@ export type { SecurityGovernanceRecurrenceSpec } from './schemas/SecurityGoverna
1340
1350
  export type { SecurityGovernanceTimeWindow } from './schemas/SecurityGovernanceTimeWindow';
1341
1351
  export type { SecurityGovernanceWorkload } from './schemas/SecurityGovernanceWorkload';
1342
1352
  export type { SharedError } from './schemas/SharedError';
1353
+ export type { SharedExecutionRunExperimentDetails } from './schemas/SharedExecutionRunExperimentDetails';
1354
+ export type { SharedExecutionRunItem } from './schemas/SharedExecutionRunItem';
1355
+ export type { SharedExecutionRunPipelineDetails } from './schemas/SharedExecutionRunPipelineDetails';
1356
+ export type { SharedExecutionRunSource } from './schemas/SharedExecutionRunSource';
1357
+ export type { SharedListExecutionRunsResponse } from './schemas/SharedListExecutionRunsResponse';
1343
1358
  export type { SharedListMetadataResponse } from './schemas/SharedListMetadataResponse';
1344
1359
  export type { SharedMetadata } from './schemas/SharedMetadata';
1345
1360
  export type { SharedPaginationResponse } from './schemas/SharedPaginationResponse';
@@ -153,9 +153,11 @@ export { healthCheckV3, useHealthCheckV3Query } from './hooks/useHealthCheckV3Qu
153
153
  export { importAction, useImportActionMutation } from './hooks/useImportActionMutation';
154
154
  export { importProbe, useImportProbeMutation } from './hooks/useImportProbeMutation';
155
155
  export { listActionMetadata, useListActionMetadataQuery } from './hooks/useListActionMetadataQuery';
156
+ export { listActionRuns, useListActionRunsQuery } from './hooks/useListActionRunsQuery';
156
157
  export { listActionTemplate, useListActionTemplateQuery } from './hooks/useListActionTemplateQuery';
157
158
  export { listActionTemplateRevisions, useListActionTemplateRevisionsQuery, } from './hooks/useListActionTemplateRevisionsQuery';
158
159
  export { listActions, useListActionsQuery } from './hooks/useListActionsQuery';
160
+ export { listAllChaosExperimentRunsV3, useListAllChaosExperimentRunsV3Query, } from './hooks/useListAllChaosExperimentRunsV3Query';
159
161
  export { listApplication, useListApplicationQuery } from './hooks/useListApplicationQuery';
160
162
  export { listChaosComponent, useListChaosComponentQuery } from './hooks/useListChaosComponentQuery';
161
163
  export { listChaosEnabledInfraV2, useListChaosEnabledInfraV2Query, } from './hooks/useListChaosEnabledInfraV2Query';
@@ -168,6 +170,7 @@ export { listChaosServices, useListChaosServicesQuery } from './hooks/useListCha
168
170
  export { listChaosV2Experiment, useListChaosV2ExperimentQuery, } from './hooks/useListChaosV2ExperimentQuery';
169
171
  export { listCondition, useListConditionQuery } from './hooks/useListConditionQuery';
170
172
  export { listDashboardsV3, useListDashboardsV3Query } from './hooks/useListDashboardsV3Query';
173
+ export { listDrTestRuns, useListDrTestRunsQuery } from './hooks/useListDrTestRunsQuery';
171
174
  export { listDrTests, useListDrTestsQuery } from './hooks/useListDrTestsQuery';
172
175
  export { listExperimentMetadata, useListExperimentMetadataQuery, } from './hooks/useListExperimentMetadataQuery';
173
176
  export { listExperimentOrTemplate, useListExperimentOrTemplateQuery, } from './hooks/useListExperimentOrTemplateQuery';
@@ -195,6 +198,7 @@ export { listOnboardedServices, useListOnboardedServicesQuery, } from './hooks/u
195
198
  export { listPipelineOnboarding, useListPipelineOnboardingQuery, } from './hooks/useListPipelineOnboardingQuery';
196
199
  export { listProbeExecutions, useListProbeExecutionsQuery, } from './hooks/useListProbeExecutionsQuery';
197
200
  export { listProbeMetadata, useListProbeMetadataQuery } from './hooks/useListProbeMetadataQuery';
201
+ export { listProbeRuns, useListProbeRunsQuery } from './hooks/useListProbeRunsQuery';
198
202
  export { listProbeTemplate, useListProbeTemplateQuery } from './hooks/useListProbeTemplateQuery';
199
203
  export { listProbes, useListProbesQuery } from './hooks/useListProbesQuery';
200
204
  export { listRecommendations, useListRecommendationsQuery, } from './hooks/useListRecommendationsQuery';
@@ -0,0 +1,27 @@
1
+ import type { PipelinesExecutorInfo } from '../schemas/PipelinesExecutorInfo';
2
+ export interface ChaoscomponentsDrRun {
3
+ /**
4
+ * account id to access the resource
5
+ */
6
+ accountIdentifier: string;
7
+ durationMs?: number;
8
+ executionId?: string;
9
+ executorInfo?: PipelinesExecutorInfo;
10
+ /**
11
+ * organization id to access the resource
12
+ */
13
+ organizationIdentifier?: string;
14
+ /**
15
+ * resolved parent scope unique ID (from scope-info API or query param)
16
+ */
17
+ parentUniqueId?: string;
18
+ pipelineId?: string;
19
+ pipelineName?: string;
20
+ /**
21
+ * project id to access the resource
22
+ */
23
+ projectIdentifier?: string;
24
+ runSequence?: number;
25
+ startedAt?: number;
26
+ status?: string;
27
+ }
@@ -0,0 +1,6 @@
1
+ import type { ChaoscomponentsDrRun } from '../schemas/ChaoscomponentsDrRun';
2
+ import type { SharedPaginationResponse } from '../schemas/SharedPaginationResponse';
3
+ export interface ChaoscomponentsListDrRunsResponse {
4
+ items?: ChaoscomponentsDrRun[];
5
+ pagination?: SharedPaginationResponse;
6
+ }
@@ -57,7 +57,7 @@ export interface ScannedrisksServiceRiskSummaryQuery {
57
57
  /**
58
58
  * field name that you want to sort
59
59
  */
60
- sortField?: 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
60
+ sortField?: 'createdAt' | 'experimentName' | 'lastExecuted' | 'lastUpdated' | 'name';
61
61
  /**
62
62
  * Timeframe filter on spec.last_detected
63
63
  */
@@ -0,0 +1,7 @@
1
+ export interface SharedExecutionRunExperimentDetails {
2
+ experimentName?: string;
3
+ /**
4
+ * RunSequence is the run number shown in the UI.
5
+ */
6
+ runSequence?: number;
7
+ }
@@ -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,38 @@
1
+ import type { SharedExecutionRunExperimentDetails } from '../schemas/SharedExecutionRunExperimentDetails';
2
+ import type { SharedExecutionRunPipelineDetails } from '../schemas/SharedExecutionRunPipelineDetails';
3
+ import type { SharedExecutionRunSource } from '../schemas/SharedExecutionRunSource';
4
+ export interface SharedExecutionRunItem {
5
+ /**
6
+ * DurationMs is 0 until the node reaches a final status.
7
+ */
8
+ durationMs?: number;
9
+ /**
10
+ * ExperimentRunDetails is set for ChaosExperiment runs, resolved from the
11
+ * experiment run the node belongs to. It is absent when that run can no
12
+ * longer be read.
13
+ */
14
+ experimentRunDetails?: SharedExecutionRunExperimentDetails;
15
+ finishedAt?: number;
16
+ infraId?: string;
17
+ infraType?: string;
18
+ lastUpdatedAt?: number;
19
+ /**
20
+ * Name is the step name recorded on the node.
21
+ */
22
+ name?: string;
23
+ notifyId?: string;
24
+ parentIdentity?: string;
25
+ /**
26
+ * PipelineDetails is set for DRTest runs, and comes from the node itself.
27
+ */
28
+ pipelineDetails?: SharedExecutionRunPipelineDetails;
29
+ runId?: string;
30
+ source?: SharedExecutionRunSource;
31
+ startedAt?: number;
32
+ status?: string;
33
+ stepType?: string;
34
+ /**
35
+ * Type is the probe type (http, cmd, prom...) or the action type.
36
+ */
37
+ type?: string;
38
+ }
@@ -0,0 +1,8 @@
1
+ export interface SharedExecutionRunPipelineDetails {
2
+ executionId?: string;
3
+ identifier?: string;
4
+ name?: string;
5
+ runSequence?: number;
6
+ stageIdentifier?: string;
7
+ stepIdentifier?: 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 {};
@@ -0,0 +1 @@
1
+ export type SharedExecutionRunSource = 'ChaosExperiment' | 'DRTest';
@@ -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,11 @@
1
+ import type { SharedExecutionRunItem } from '../schemas/SharedExecutionRunItem';
2
+ import type { SharedPaginationResponse } from '../schemas/SharedPaginationResponse';
3
+ export interface SharedListExecutionRunsResponse {
4
+ /**
5
+ * correlation id is used to debug micro svc communication
6
+ */
7
+ correlationID?: string;
8
+ data?: SharedExecutionRunItem[];
9
+ pagination?: SharedPaginationResponse;
10
+ totalItems?: number;
11
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-chaos-manager-client",
3
- "version": "1.85.0",
3
+ "version": "1.87.0",
4
4
  "description": "Harness React Chaos Manager Service Client - APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",