@harnessio/react-rmg-service-client 0.80.0 → 0.81.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.
@@ -10,6 +10,7 @@ export interface GetOrchestrationExecutionActivitiesQueryPathParams {
10
10
  export interface GetOrchestrationExecutionActivitiesQueryQueryParams {
11
11
  phaseExecutionId?: string;
12
12
  status?: string[];
13
+ parentExecutionId?: string;
13
14
  orgIdentifier?: string;
14
15
  projectIdentifier?: string;
15
16
  }
@@ -8,6 +8,7 @@ export interface GetOrchestrationExecutionPhasesQueryPathParams {
8
8
  }
9
9
  export interface GetOrchestrationExecutionPhasesQueryQueryParams {
10
10
  status?: string[];
11
+ parentExecutionId?: string;
11
12
  orgIdentifier?: string;
12
13
  projectIdentifier?: string;
13
14
  }
@@ -517,6 +517,9 @@ export type { SubprocessActivityInfo } from './schemas/SubprocessActivityInfo';
517
517
  export type { SubprocessInfo } from './schemas/SubprocessInfo';
518
518
  export type { SubprocessTriggerRequest } from './schemas/SubprocessTriggerRequest';
519
519
  export type { SubprocessTriggerResponse } from './schemas/SubprocessTriggerResponse';
520
+ export type { TargetFieldDefinition } from './schemas/TargetFieldDefinition';
521
+ export type { TargetVariableValue } from './schemas/TargetVariableValue';
522
+ export type { TargetsYaml } from './schemas/TargetsYaml';
520
523
  export type { TaskCommentDto } from './schemas/TaskCommentDto';
521
524
  export type { TaskCommentsListResponseDto } from './schemas/TaskCommentsListResponseDto';
522
525
  export type { TaskExecuteConfig } from './schemas/TaskExecuteConfig';
@@ -1,3 +1,4 @@
1
+ import type { TargetsYaml } from '../schemas/TargetsYaml';
1
2
  export interface OrchestrationActivityProcessYaml {
2
3
  /**
3
4
  * Reference to the activity type (e.g., ReleaseApproval, ReleasePipeline)
@@ -23,4 +24,5 @@ export interface OrchestrationActivityProcessYaml {
23
24
  * Name of the activity
24
25
  */
25
26
  name: string;
27
+ targets?: TargetsYaml;
26
28
  }
@@ -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 {};
@@ -24,6 +24,10 @@ export interface OrchestrationExecutionActivity {
24
24
  */
25
25
  end_ts?: number;
26
26
  failureInfo?: FailureInfo;
27
+ /**
28
+ * Whether this activity is a single execution or a loop container
29
+ */
30
+ group_type?: 'LOOP' | 'SINGLE';
27
31
  /**
28
32
  * Identifier of the activity
29
33
  */
@@ -17,6 +17,10 @@ export interface OrchestrationExecutionActivityDetail {
17
17
  */
18
18
  end_ts?: number;
19
19
  failureInfo?: FailureInfo;
20
+ /**
21
+ * Whether this activity is a single execution or a loop container
22
+ */
23
+ group_type?: 'LOOP' | 'SINGLE';
20
24
  /**
21
25
  * Identifier of the activity
22
26
  */
@@ -21,6 +21,10 @@ export interface OrchestrationExecutionActivityPaginated {
21
21
  * Failure information if the activity failed
22
22
  */
23
23
  failureInfo?: FailureInfo;
24
+ /**
25
+ * Whether this activity is a single execution or a loop container
26
+ */
27
+ group_type?: 'LOOP' | 'SINGLE';
24
28
  /**
25
29
  * Unique identifier of the activity
26
30
  */
@@ -27,6 +27,10 @@ export interface OrchestrationExecutionPhase {
27
27
  */
28
28
  end_ts?: number;
29
29
  failureInfo?: FailureInfo;
30
+ /**
31
+ * Whether this phase is a single execution or a loop container
32
+ */
33
+ group_type?: 'LOOP' | 'SINGLE';
30
34
  /**
31
35
  * Unique identifier of the phase
32
36
  */
@@ -43,6 +47,10 @@ export interface OrchestrationExecutionPhase {
43
47
  * List of owners for the phase
44
48
  */
45
49
  owners?: string[];
50
+ /**
51
+ * ID of the parent phase execution (set for loop iteration children)
52
+ */
53
+ parent_execution_id?: string;
46
54
  /**
47
55
  * ID of the phase execution
48
56
  */
@@ -1,5 +1,6 @@
1
1
  import type { OrchestrationActivityProcessYaml } from '../schemas/OrchestrationActivityProcessYaml';
2
2
  import type { OutputVariable } from '../schemas/OutputVariable';
3
+ import type { TargetsYaml } from '../schemas/TargetsYaml';
3
4
  export interface OrchestrationPhaseYaml {
4
5
  phase: {
5
6
  activities: OrchestrationActivityProcessYaml[];
@@ -42,5 +43,6 @@ export interface OrchestrationPhaseYaml {
42
43
  */
43
44
  on?: 'user_intervention';
44
45
  };
46
+ targets?: TargetsYaml;
45
47
  };
46
48
  }
@@ -0,0 +1,7 @@
1
+ import type { InputVariableType } from '../schemas/InputVariableType';
2
+ /**
3
+ * Definition of a target field with its variable type
4
+ */
5
+ export interface TargetFieldDefinition {
6
+ type: InputVariableType;
7
+ }
@@ -0,0 +1,6 @@
1
+ /**
2
+ * A target variable value. Can be a string or an array of string, boolean, object, or nested string arrays.
3
+ */
4
+ export type TargetVariableValue = string | Array<string | boolean | {
5
+ [key: string]: any;
6
+ } | string[]>;
@@ -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,19 @@
1
+ import type { TargetFieldDefinition } from '../schemas/TargetFieldDefinition';
2
+ import type { TargetVariableValue } from '../schemas/TargetVariableValue';
3
+ /**
4
+ * Target definitions with field type declarations and default values
5
+ */
6
+ export interface TargetsYaml {
7
+ /**
8
+ * Field definitions mapping field name to its type
9
+ */
10
+ fields?: {
11
+ [key: string]: TargetFieldDefinition;
12
+ };
13
+ /**
14
+ * Array of target value records mapping field name to its value, or an expression string
15
+ */
16
+ values?: Array<{
17
+ [key: string]: TargetVariableValue;
18
+ }> | string;
19
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-rmg-service-client",
3
- "version": "0.80.0",
3
+ "version": "0.81.0",
4
4
  "description": "Harness Release Management Service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",