@harnessio/react-chaos-manager-client 1.86.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 (23) hide show
  1. package/dist/chaos-manager/src/services/hooks/useListActionRunsQuery.d.ts +40 -0
  2. package/dist/chaos-manager/src/services/hooks/useListActionRunsQuery.js +14 -0
  3. package/dist/chaos-manager/src/services/hooks/useListDrTestRunsQuery.d.ts +33 -0
  4. package/dist/chaos-manager/src/services/hooks/useListDrTestRunsQuery.js +14 -0
  5. package/dist/chaos-manager/src/services/hooks/useListProbeRunsQuery.d.ts +40 -0
  6. package/dist/chaos-manager/src/services/hooks/useListProbeRunsQuery.js +14 -0
  7. package/dist/chaos-manager/src/services/index.d.ts +13 -0
  8. package/dist/chaos-manager/src/services/index.js +3 -0
  9. package/dist/chaos-manager/src/services/schemas/ChaoscomponentsDrRun.d.ts +27 -0
  10. package/dist/chaos-manager/src/services/schemas/ChaoscomponentsDrRun.js +1 -0
  11. package/dist/chaos-manager/src/services/schemas/ChaoscomponentsListDrRunsResponse.d.ts +6 -0
  12. package/dist/chaos-manager/src/services/schemas/ChaoscomponentsListDrRunsResponse.js +1 -0
  13. package/dist/chaos-manager/src/services/schemas/SharedExecutionRunExperimentDetails.d.ts +7 -0
  14. package/dist/chaos-manager/src/services/schemas/SharedExecutionRunExperimentDetails.js +4 -0
  15. package/dist/chaos-manager/src/services/schemas/SharedExecutionRunItem.d.ts +38 -0
  16. package/dist/chaos-manager/src/services/schemas/SharedExecutionRunItem.js +1 -0
  17. package/dist/chaos-manager/src/services/schemas/SharedExecutionRunPipelineDetails.d.ts +8 -0
  18. package/dist/chaos-manager/src/services/schemas/SharedExecutionRunPipelineDetails.js +4 -0
  19. package/dist/chaos-manager/src/services/schemas/SharedExecutionRunSource.d.ts +1 -0
  20. package/dist/chaos-manager/src/services/schemas/SharedExecutionRunSource.js +4 -0
  21. package/dist/chaos-manager/src/services/schemas/SharedListExecutionRunsResponse.d.ts +11 -0
  22. package/dist/chaos-manager/src/services/schemas/SharedListExecutionRunsResponse.js +1 -0
  23. package/package.json +1 -1
@@ -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,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
+ }
@@ -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
+ }
@@ -308,6 +308,8 @@ 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';
@@ -340,6 +342,8 @@ export type { ListConditionErrorResponse, ListConditionOkResponse, ListCondition
340
342
  export { listCondition, useListConditionQuery } from './hooks/useListConditionQuery';
341
343
  export type { ListDashboardsV3ErrorResponse, ListDashboardsV3OkResponse, ListDashboardsV3Props, ListDashboardsV3QueryQueryParams, } from './hooks/useListDashboardsV3Query';
342
344
  export { listDashboardsV3, useListDashboardsV3Query } from './hooks/useListDashboardsV3Query';
345
+ export type { ListDrTestRunsErrorResponse, ListDrTestRunsOkResponse, ListDrTestRunsProps, ListDrTestRunsQueryQueryParams, } from './hooks/useListDrTestRunsQuery';
346
+ export { listDrTestRuns, useListDrTestRunsQuery } from './hooks/useListDrTestRunsQuery';
343
347
  export type { ListDrTestsErrorResponse, ListDrTestsOkResponse, ListDrTestsProps, ListDrTestsQueryQueryParams, } from './hooks/useListDrTestsQuery';
344
348
  export { listDrTests, useListDrTestsQuery } from './hooks/useListDrTestsQuery';
345
349
  export type { ListExperimentMetadataErrorResponse, ListExperimentMetadataOkResponse, ListExperimentMetadataProps, ListExperimentMetadataQueryQueryParams, ListExperimentMetadataRequestBody, } from './hooks/useListExperimentMetadataQuery';
@@ -394,6 +398,8 @@ export type { ListProbeExecutionsErrorResponse, ListProbeExecutionsOkResponse, L
394
398
  export { listProbeExecutions, useListProbeExecutionsQuery, } from './hooks/useListProbeExecutionsQuery';
395
399
  export type { ListProbeMetadataErrorResponse, ListProbeMetadataOkResponse, ListProbeMetadataProps, ListProbeMetadataQueryQueryParams, ListProbeMetadataRequestBody, } from './hooks/useListProbeMetadataQuery';
396
400
  export { listProbeMetadata, useListProbeMetadataQuery } from './hooks/useListProbeMetadataQuery';
401
+ export type { ListProbeRunsErrorResponse, ListProbeRunsOkResponse, ListProbeRunsProps, ListProbeRunsQueryQueryParams, } from './hooks/useListProbeRunsQuery';
402
+ export { listProbeRuns, useListProbeRunsQuery } from './hooks/useListProbeRunsQuery';
397
403
  export type { ListProbeTemplateErrorResponse, ListProbeTemplateOkResponse, ListProbeTemplateProps, ListProbeTemplateQueryQueryParams, } from './hooks/useListProbeTemplateQuery';
398
404
  export { listProbeTemplate, useListProbeTemplateQuery } from './hooks/useListProbeTemplateQuery';
399
405
  export type { ListProbesErrorResponse, ListProbesOkResponse, ListProbesProps, ListProbesQueryQueryParams, } from './hooks/useListProbesQuery';
@@ -656,10 +662,12 @@ export type { ChaoscomponentsCreateDrTestPipelineResponse } from './schemas/Chao
656
662
  export type { ChaoscomponentsCreateDrTestPipelineResponseData } from './schemas/ChaoscomponentsCreateDrTestPipelineResponseData';
657
663
  export type { ChaoscomponentsDeleteDrTestResponse } from './schemas/ChaoscomponentsDeleteDrTestResponse';
658
664
  export type { ChaoscomponentsDeleteDrTestResponseData } from './schemas/ChaoscomponentsDeleteDrTestResponseData';
665
+ export type { ChaoscomponentsDrRun } from './schemas/ChaoscomponentsDrRun';
659
666
  export type { ChaoscomponentsDrTest } from './schemas/ChaoscomponentsDrTest';
660
667
  export type { ChaoscomponentsDrTestRunInfo } from './schemas/ChaoscomponentsDrTestRunInfo';
661
668
  export type { ChaoscomponentsGetChaosComponentVariableData } from './schemas/ChaoscomponentsGetChaosComponentVariableData';
662
669
  export type { ChaoscomponentsGetChaosComponentVariableResponse } from './schemas/ChaoscomponentsGetChaosComponentVariableResponse';
670
+ export type { ChaoscomponentsListDrRunsResponse } from './schemas/ChaoscomponentsListDrRunsResponse';
663
671
  export type { ChaoscomponentsListDrTestsResponse } from './schemas/ChaoscomponentsListDrTestsResponse';
664
672
  export type { ChaoscomponentsRunChaosComponentRequest } from './schemas/ChaoscomponentsRunChaosComponentRequest';
665
673
  export type { ChaoscomponentsRunChaosComponentResponse } from './schemas/ChaoscomponentsRunChaosComponentResponse';
@@ -1342,6 +1350,11 @@ export type { SecurityGovernanceRecurrenceSpec } from './schemas/SecurityGoverna
1342
1350
  export type { SecurityGovernanceTimeWindow } from './schemas/SecurityGovernanceTimeWindow';
1343
1351
  export type { SecurityGovernanceWorkload } from './schemas/SecurityGovernanceWorkload';
1344
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';
1345
1358
  export type { SharedListMetadataResponse } from './schemas/SharedListMetadataResponse';
1346
1359
  export type { SharedMetadata } from './schemas/SharedMetadata';
1347
1360
  export type { SharedPaginationResponse } from './schemas/SharedPaginationResponse';
@@ -153,6 +153,7 @@ 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';
@@ -169,6 +170,7 @@ export { listChaosServices, useListChaosServicesQuery } from './hooks/useListCha
169
170
  export { listChaosV2Experiment, useListChaosV2ExperimentQuery, } from './hooks/useListChaosV2ExperimentQuery';
170
171
  export { listCondition, useListConditionQuery } from './hooks/useListConditionQuery';
171
172
  export { listDashboardsV3, useListDashboardsV3Query } from './hooks/useListDashboardsV3Query';
173
+ export { listDrTestRuns, useListDrTestRunsQuery } from './hooks/useListDrTestRunsQuery';
172
174
  export { listDrTests, useListDrTestsQuery } from './hooks/useListDrTestsQuery';
173
175
  export { listExperimentMetadata, useListExperimentMetadataQuery, } from './hooks/useListExperimentMetadataQuery';
174
176
  export { listExperimentOrTemplate, useListExperimentOrTemplateQuery, } from './hooks/useListExperimentOrTemplateQuery';
@@ -196,6 +198,7 @@ export { listOnboardedServices, useListOnboardedServicesQuery, } from './hooks/u
196
198
  export { listPipelineOnboarding, useListPipelineOnboardingQuery, } from './hooks/useListPipelineOnboardingQuery';
197
199
  export { listProbeExecutions, useListProbeExecutionsQuery, } from './hooks/useListProbeExecutionsQuery';
198
200
  export { listProbeMetadata, useListProbeMetadataQuery } from './hooks/useListProbeMetadataQuery';
201
+ export { listProbeRuns, useListProbeRunsQuery } from './hooks/useListProbeRunsQuery';
199
202
  export { listProbeTemplate, useListProbeTemplateQuery } from './hooks/useListProbeTemplateQuery';
200
203
  export { listProbes, useListProbesQuery } from './hooks/useListProbesQuery';
201
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
+ }
@@ -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.86.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",