@harnessio/react-rmg-service-client 0.70.1-beta.0 → 0.70.2-beta.1

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.
@@ -12,7 +12,7 @@ export interface GetOrchestrationExecutionActivitiesPaginatedQueryQueryParams {
12
12
  page?: number;
13
13
  size?: number;
14
14
  sort?: string[];
15
- status?: Array<'ABORTED' | 'FAILED' | 'IGNORED' | 'ON_HOLD' | 'OUTPUT_WAITING' | 'PIPELINE_WAITING_FOR_USER_ACTION' | 'QUEUED' | 'RETRIED' | 'RUNNING' | 'SCHEDULED' | 'SKIPPED' | 'SUCCEEDED'>;
15
+ status?: Array<'ABORTED' | 'FAILED' | 'IGNORED' | 'ON_HOLD' | 'OUTPUT_WAITING' | 'PAUSED' | 'PIPELINE_WAITING_FOR_USER_ACTION' | 'QUEUED' | 'RETRIED' | 'RUNNING' | 'SCHEDULED' | 'SKIPPED' | 'SUCCEEDED'>;
16
16
  type?: Array<'MANUAL' | 'PIPELINE' | 'SUBPROCESS'>;
17
17
  phaseIdentifier?: string;
18
18
  /**
@@ -408,6 +408,7 @@ export type { Pageable } from './schemas/Pageable';
408
408
  export type { PageableSort } from './schemas/PageableSort';
409
409
  export type { PhaseActionRequest } from './schemas/PhaseActionRequest';
410
410
  export type { PhaseActionResponse } from './schemas/PhaseActionResponse';
411
+ export type { PhaseExecutionInputDto } from './schemas/PhaseExecutionInputDto';
411
412
  export type { PhaseInputYaml } from './schemas/PhaseInputYaml';
412
413
  export type { PhaseReleaseInputYaml } from './schemas/PhaseReleaseInputYaml';
413
414
  export type { PhaseRetryHistoryResponse } from './schemas/PhaseRetryHistoryResponse';
@@ -1,12 +1,11 @@
1
+ import type { PhaseExecutionInputDto } from '../schemas/PhaseExecutionInputDto';
1
2
  export interface PhaseActionRequest {
2
3
  /**
3
4
  * The action to perform on the paused phase. 'resume' proceeds the DAG; 'restart' re-runs the phase (optionally with changed inputs).
4
5
  */
5
6
  action: 'restart' | 'resume';
6
7
  /**
7
- * Optional changed phase input overrides, applied only when action is 'restart'. Keys are phase input identifiers; values are the new input values.
8
+ * Optional changed phase input overrides, applied only when action is 'restart'. Each entry carries the input name, type, and value (any JSON type).
8
9
  */
9
- inputs?: {
10
- [key: string]: string;
11
- };
10
+ inputs?: PhaseExecutionInputDto[];
12
11
  }
@@ -1,4 +1 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
1
  export {};
@@ -0,0 +1,19 @@
1
+ import type { InputVariableType } from '../schemas/InputVariableType';
2
+ import type { AnyValue } from '../schemas/AnyValue';
3
+ /**
4
+ * Input value for a phase execution restart
5
+ */
6
+ export interface PhaseExecutionInputDto {
7
+ /**
8
+ * Name of the input parameter
9
+ */
10
+ name: string;
11
+ /**
12
+ * Type of an input variable for parameters and process inputs.
13
+ */
14
+ type: InputVariableType;
15
+ /**
16
+ * Flexible type that accepts any JSON value (string, number, boolean, object, or array)
17
+ */
18
+ value: AnyValue;
19
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-rmg-service-client",
3
- "version": "0.70.1-beta.0",
3
+ "version": "0.70.2-beta.1",
4
4
  "description": "Harness Release Management Service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",