@harnessio/react-chaos-manager-client 1.57.0 → 1.58.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,6 +18,7 @@ export interface ListDrTestsQueryQueryParams {
18
18
  projectIdentifier?: string;
19
19
  search?: string;
20
20
  sort?: string;
21
+ tags?: string;
21
22
  }
22
23
  export type ListDrTestsOkResponse = ChaoscomponentsListDrTestsResponse;
23
24
  export type ListDrTestsErrorResponse = ApiRestError;
@@ -474,6 +474,7 @@ export type { ChaosExecutionNodesChaosExecutionNode } from './schemas/ChaosExecu
474
474
  export type { ChaosExecutionNodesChaosExecutionResponse } from './schemas/ChaosExecutionNodesChaosExecutionResponse';
475
475
  export type { ChaosExecutionNodesCommandProbe } from './schemas/ChaosExecutionNodesCommandProbe';
476
476
  export type { ChaosExecutionNodesErrorData } from './schemas/ChaosExecutionNodesErrorData';
477
+ export type { ChaosExecutionNodesExecutionOutput } from './schemas/ChaosExecutionNodesExecutionOutput';
477
478
  export type { ChaosExecutionNodesFaultData } from './schemas/ChaosExecutionNodesFaultData';
478
479
  export type { ChaosExecutionNodesFaultDetails } from './schemas/ChaosExecutionNodesFaultDetails';
479
480
  export type { ChaosExecutionNodesHelperPodDetails } from './schemas/ChaosExecutionNodesHelperPodDetails';
@@ -531,15 +532,14 @@ export type { ChaoscomponentsCreateDrTestPipelineRequest } from './schemas/Chaos
531
532
  export type { ChaoscomponentsCreateDrTestPipelineResponse } from './schemas/ChaoscomponentsCreateDrTestPipelineResponse';
532
533
  export type { ChaoscomponentsCreateDrTestPipelineResponseData } from './schemas/ChaoscomponentsCreateDrTestPipelineResponseData';
533
534
  export type { ChaoscomponentsDrTest } from './schemas/ChaoscomponentsDrTest';
534
- export type { ChaoscomponentsDrTestPipelineInfo } from './schemas/ChaoscomponentsDrTestPipelineInfo';
535
535
  export type { ChaoscomponentsDrTestRunInfo } from './schemas/ChaoscomponentsDrTestRunInfo';
536
- export type { ChaoscomponentsDrTestSpec } from './schemas/ChaoscomponentsDrTestSpec';
537
536
  export type { ChaoscomponentsGetChaosComponentVariableData } from './schemas/ChaoscomponentsGetChaosComponentVariableData';
538
537
  export type { ChaoscomponentsGetChaosComponentVariableResponse } from './schemas/ChaoscomponentsGetChaosComponentVariableResponse';
539
538
  export type { ChaoscomponentsListDrTestsResponse } from './schemas/ChaoscomponentsListDrTestsResponse';
540
539
  export type { ChaoscomponentsRunChaosComponentRequest } from './schemas/ChaoscomponentsRunChaosComponentRequest';
541
540
  export type { ChaoscomponentsRunChaosComponentResponse } from './schemas/ChaoscomponentsRunChaosComponentResponse';
542
541
  export type { ChaoscomponentsRunChaosComponentResponseData } from './schemas/ChaoscomponentsRunChaosComponentResponseData';
542
+ export type { ChaoscomponentsStage } from './schemas/ChaoscomponentsStage';
543
543
  export type { ChaoscomponentsUserMetaData } from './schemas/ChaoscomponentsUserMetaData';
544
544
  export type { ChaosexperimentListExperimentData } from './schemas/ChaosexperimentListExperimentData';
545
545
  export type { ChaosexperimentpipelineGetChaosPipelineNodesResponse } from './schemas/ChaosexperimentpipelineGetChaosPipelineNodesResponse';
@@ -677,6 +677,7 @@ export type { ExecutionChaosStepStatus } from './schemas/ExecutionChaosStepStatu
677
677
  export type { ExecutionChaosStepType } from './schemas/ExecutionChaosStepType';
678
678
  export type { ExecutionCommandProbe } from './schemas/ExecutionCommandProbe';
679
679
  export type { ExecutionErrorData } from './schemas/ExecutionErrorData';
680
+ export type { ExecutionExecutionOutput } from './schemas/ExecutionExecutionOutput';
680
681
  export type { ExecutionFaultData } from './schemas/ExecutionFaultData';
681
682
  export type { ExecutionHelperPodDetails } from './schemas/ExecutionHelperPodDetails';
682
683
  export type { ExecutionHttpProbe } from './schemas/ExecutionHttpProbe';
@@ -1,5 +1,6 @@
1
1
  import type { ChaosExecutionNodesChaosData } from '../schemas/ChaosExecutionNodesChaosData';
2
2
  import type { ChaosExecutionNodesErrorData } from '../schemas/ChaosExecutionNodesErrorData';
3
+ import type { ChaosExecutionNodesExecutionOutput } from '../schemas/ChaosExecutionNodesExecutionOutput';
3
4
  import type { ExecutionChaosStepStatus } from '../schemas/ExecutionChaosStepStatus';
4
5
  import type { ExecutionChaosStepType } from '../schemas/ExecutionChaosStepType';
5
6
  export interface ChaosExecutionNodesChaosExecutionNode {
@@ -8,6 +9,7 @@ export interface ChaosExecutionNodesChaosExecutionNode {
8
9
  duration?: number;
9
10
  errorData?: ChaosExecutionNodesErrorData;
10
11
  estimatedTime?: number;
12
+ executionOutput?: ChaosExecutionNodesExecutionOutput;
11
13
  experimentID?: string;
12
14
  experimentRunID?: string;
13
15
  finishedAt?: number;
@@ -0,0 +1,6 @@
1
+ import type { ExecutionChaosStepType } from '../schemas/ExecutionChaosStepType';
2
+ import type { ExecutionChaosStepStatus } from '../schemas/ExecutionChaosStepStatus';
3
+ export interface ChaosExecutionNodesExecutionOutput {
4
+ resourceType?: ExecutionChaosStepType;
5
+ status?: ExecutionChaosStepStatus;
6
+ }
@@ -1,10 +1,13 @@
1
- import type { ChaoscomponentsDrTestSpec } from '../schemas/ChaoscomponentsDrTestSpec';
1
+ import type { ChaoscomponentsDrTestRunInfo } from '../schemas/ChaoscomponentsDrTestRunInfo';
2
+ import type { ChaoscomponentsStage } from '../schemas/ChaoscomponentsStage';
2
3
  export interface ChaoscomponentsDrTest {
3
4
  description?: string;
4
5
  identity?: string;
6
+ infrastructureType?: string;
7
+ lastModified?: number;
5
8
  name?: string;
6
- objective?: string;
7
- spec?: ChaoscomponentsDrTestSpec;
9
+ recentRuns?: ChaoscomponentsDrTestRunInfo[];
10
+ stages?: ChaoscomponentsStage[];
8
11
  tags?: {
9
12
  [key: string]: string;
10
13
  };
@@ -1,4 +1,6 @@
1
1
  import type { ChaoscomponentsDrTest } from '../schemas/ChaoscomponentsDrTest';
2
+ import type { SharedPaginationResponse } from '../schemas/SharedPaginationResponse';
2
3
  export interface ChaoscomponentsListDrTestsResponse {
3
- drtests?: ChaoscomponentsDrTest[];
4
+ items?: ChaoscomponentsDrTest[];
5
+ pagination?: SharedPaginationResponse;
4
6
  }
@@ -0,0 +1,9 @@
1
+ export interface ChaoscomponentsStage {
2
+ description?: string;
3
+ identifier?: string;
4
+ name?: string;
5
+ objective?: string;
6
+ tags?: {
7
+ [key: string]: string;
8
+ };
9
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -1,6 +1,8 @@
1
1
  import type { ChaosExecutionNodesChaosExecutionNode } from '../schemas/ChaosExecutionNodesChaosExecutionNode';
2
+ import type { ChaosExecutionNodesExecutionOutput } from '../schemas/ChaosExecutionNodesExecutionOutput';
2
3
  import type { ChaosexperimentpipelineReferenceEntities } from '../schemas/ChaosexperimentpipelineReferenceEntities';
3
4
  export interface ChaosexperimentpipelineGetChaosPipelineNodesResponse {
4
5
  chaosExecutionNode?: ChaosExecutionNodesChaosExecutionNode;
6
+ output?: ChaosExecutionNodesExecutionOutput;
5
7
  refEntities?: ChaosexperimentpipelineReferenceEntities;
6
8
  }
@@ -1,6 +1,7 @@
1
1
  import type { ExecutionChaosData } from '../schemas/ExecutionChaosData';
2
2
  import type { ExecutionErrorData } from '../schemas/ExecutionErrorData';
3
3
  import type { ExecutionInfraType } from '../schemas/ExecutionInfraType';
4
+ import type { ExecutionExecutionOutput } from '../schemas/ExecutionExecutionOutput';
4
5
  import type { ExecutionChaosStepStatus } from '../schemas/ExecutionChaosStepStatus';
5
6
  import type { ExecutionChaosStepType } from '../schemas/ExecutionChaosStepType';
6
7
  export interface ExecutionChaosExecutionNode {
@@ -14,6 +15,7 @@ export interface ExecutionChaosExecutionNode {
14
15
  infraType?: ExecutionInfraType;
15
16
  isRemoved?: boolean;
16
17
  lastUpdatedAt?: number;
18
+ output?: ExecutionExecutionOutput;
17
19
  spec?: string;
18
20
  startedAt?: number;
19
21
  status?: ExecutionChaosStepStatus;
@@ -0,0 +1,8 @@
1
+ import type { ExecutionChaosStepStatus } from '../schemas/ExecutionChaosStepStatus';
2
+ export interface ExecutionExecutionOutput {
3
+ orgIdentifier?: string;
4
+ projectIdentifier?: string;
5
+ resourceIdentifier?: string;
6
+ resourceType?: string;
7
+ status?: ExecutionChaosStepStatus;
8
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-chaos-manager-client",
3
- "version": "1.57.0",
3
+ "version": "1.58.0",
4
4
  "description": "Harness React Chaos Manager Service Client - APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",
@@ -1,7 +0,0 @@
1
- import type { ChaoscomponentsDrTestRunInfo } from '../schemas/ChaoscomponentsDrTestRunInfo';
2
- export interface ChaoscomponentsDrTestPipelineInfo {
3
- identity?: string;
4
- lastModified?: number;
5
- name?: string;
6
- recentRuns?: ChaoscomponentsDrTestRunInfo[];
7
- }
@@ -1,4 +0,0 @@
1
- import type { ChaoscomponentsDrTestPipelineInfo } from '../schemas/ChaoscomponentsDrTestPipelineInfo';
2
- export interface ChaoscomponentsDrTestSpec {
3
- pipeline?: ChaoscomponentsDrTestPipelineInfo;
4
- }