@harnessio/react-rmg-service-client 0.28.0 → 0.30.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 (26) hide show
  1. package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionActivitiesQuery.d.ts +1 -0
  2. package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionActivityOutputsQuery.d.ts +28 -0
  3. package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionActivityOutputsQuery.js +20 -0
  4. package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionPhaseOutputsQuery.d.ts +27 -0
  5. package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionPhaseOutputsQuery.js +19 -0
  6. package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionPhasesQuery.d.ts +1 -0
  7. package/dist/rmg-service/src/services/hooks/usePostOnHoldActivityActionMutation.d.ts +28 -0
  8. package/dist/rmg-service/src/services/hooks/usePostOnHoldActivityActionMutation.js +14 -0
  9. package/dist/rmg-service/src/services/index.d.ts +12 -0
  10. package/dist/rmg-service/src/services/index.js +3 -0
  11. package/dist/rmg-service/src/services/requestBodies/OnHoldActivityActionRequestRequestBody.d.ts +2 -0
  12. package/dist/rmg-service/src/services/requestBodies/OnHoldActivityActionRequestRequestBody.js +1 -0
  13. package/dist/rmg-service/src/services/responses/ExecutionOutputsResponseResponse.d.ts +7 -0
  14. package/dist/rmg-service/src/services/responses/ExecutionOutputsResponseResponse.js +1 -0
  15. package/dist/rmg-service/src/services/responses/OnHoldActivityActionResponseResponse.d.ts +2 -0
  16. package/dist/rmg-service/src/services/responses/OnHoldActivityActionResponseResponse.js +1 -0
  17. package/dist/rmg-service/src/services/schemas/ExecutionOutputDto.d.ts +13 -0
  18. package/dist/rmg-service/src/services/schemas/ExecutionOutputDto.js +4 -0
  19. package/dist/rmg-service/src/services/schemas/OnHoldActivityActionRequest.d.ts +6 -0
  20. package/dist/rmg-service/src/services/schemas/OnHoldActivityActionRequest.js +4 -0
  21. package/dist/rmg-service/src/services/schemas/OnHoldActivityActionResponse.d.ts +10 -0
  22. package/dist/rmg-service/src/services/schemas/OnHoldActivityActionResponse.js +4 -0
  23. package/dist/rmg-service/src/services/schemas/OrchestrationActivityYaml.d.ts +6 -0
  24. package/dist/rmg-service/src/services/schemas/OrchestrationExecutionActivity.d.ts +5 -0
  25. package/dist/rmg-service/src/services/schemas/OrchestrationPhaseYaml.d.ts +6 -0
  26. package/package.json +1 -1
@@ -9,6 +9,7 @@ export interface GetOrchestrationExecutionActivitiesQueryPathParams {
9
9
  }
10
10
  export interface GetOrchestrationExecutionActivitiesQueryQueryParams {
11
11
  phaseExecutionId?: string;
12
+ status?: string[];
12
13
  orgIdentifier?: string;
13
14
  projectIdentifier?: string;
14
15
  }
@@ -0,0 +1,28 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ExecutionOutputsResponseResponse } from '../responses/ExecutionOutputsResponseResponse';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface GetOrchestrationExecutionActivityOutputsQueryPathParams {
7
+ releaseId: string;
8
+ phaseIdentifier: string;
9
+ activityIdentifier: string;
10
+ }
11
+ export interface GetOrchestrationExecutionActivityOutputsQueryQueryParams {
12
+ activityExecutionId?: string;
13
+ orgIdentifier?: string;
14
+ projectIdentifier?: string;
15
+ }
16
+ export interface GetOrchestrationExecutionActivityOutputsQueryHeaderParams {
17
+ 'Harness-Account': string;
18
+ }
19
+ export type GetOrchestrationExecutionActivityOutputsOkResponse = ResponseWithPagination<ExecutionOutputsResponseResponse>;
20
+ export type GetOrchestrationExecutionActivityOutputsErrorResponse = ErrorResponseResponse;
21
+ export interface GetOrchestrationExecutionActivityOutputsProps extends GetOrchestrationExecutionActivityOutputsQueryPathParams, Omit<FetcherOptions<GetOrchestrationExecutionActivityOutputsQueryQueryParams, unknown, GetOrchestrationExecutionActivityOutputsQueryHeaderParams>, 'url'> {
22
+ queryParams: GetOrchestrationExecutionActivityOutputsQueryQueryParams;
23
+ }
24
+ export declare function getOrchestrationExecutionActivityOutputs(props: GetOrchestrationExecutionActivityOutputsProps): Promise<GetOrchestrationExecutionActivityOutputsOkResponse>;
25
+ /**
26
+ * Retrieve output values for a specific activity execution
27
+ */
28
+ export declare function useGetOrchestrationExecutionActivityOutputsQuery(props: GetOrchestrationExecutionActivityOutputsProps, options?: Omit<UseQueryOptions<GetOrchestrationExecutionActivityOutputsOkResponse, GetOrchestrationExecutionActivityOutputsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetOrchestrationExecutionActivityOutputsOkResponse, import("..").Error>;
@@ -0,0 +1,20 @@
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 '../../../../fetcher/index.js';
6
+ export function getOrchestrationExecutionActivityOutputs(props) {
7
+ return fetcher(Object.assign({ url: `/orchestration/execution/release/${props.releaseId}/phase/${props.phaseIdentifier}/activity/${props.activityIdentifier}/output`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Retrieve output values for a specific activity execution
11
+ */
12
+ export function useGetOrchestrationExecutionActivityOutputsQuery(props, options) {
13
+ return useQuery([
14
+ 'get-orchestration-execution-activity-outputs',
15
+ props.releaseId,
16
+ props.phaseIdentifier,
17
+ props.activityIdentifier,
18
+ props.queryParams,
19
+ ], ({ signal }) => getOrchestrationExecutionActivityOutputs(Object.assign(Object.assign({}, props), { signal })), options);
20
+ }
@@ -0,0 +1,27 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ExecutionOutputsResponseResponse } from '../responses/ExecutionOutputsResponseResponse';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface GetOrchestrationExecutionPhaseOutputsQueryPathParams {
7
+ releaseId: string;
8
+ phaseIdentifier: string;
9
+ }
10
+ export interface GetOrchestrationExecutionPhaseOutputsQueryQueryParams {
11
+ phaseExecutionId?: string;
12
+ orgIdentifier?: string;
13
+ projectIdentifier?: string;
14
+ }
15
+ export interface GetOrchestrationExecutionPhaseOutputsQueryHeaderParams {
16
+ 'Harness-Account': string;
17
+ }
18
+ export type GetOrchestrationExecutionPhaseOutputsOkResponse = ResponseWithPagination<ExecutionOutputsResponseResponse>;
19
+ export type GetOrchestrationExecutionPhaseOutputsErrorResponse = ErrorResponseResponse;
20
+ export interface GetOrchestrationExecutionPhaseOutputsProps extends GetOrchestrationExecutionPhaseOutputsQueryPathParams, Omit<FetcherOptions<GetOrchestrationExecutionPhaseOutputsQueryQueryParams, unknown, GetOrchestrationExecutionPhaseOutputsQueryHeaderParams>, 'url'> {
21
+ queryParams: GetOrchestrationExecutionPhaseOutputsQueryQueryParams;
22
+ }
23
+ export declare function getOrchestrationExecutionPhaseOutputs(props: GetOrchestrationExecutionPhaseOutputsProps): Promise<GetOrchestrationExecutionPhaseOutputsOkResponse>;
24
+ /**
25
+ * Retrieve output values for a specific phase execution
26
+ */
27
+ export declare function useGetOrchestrationExecutionPhaseOutputsQuery(props: GetOrchestrationExecutionPhaseOutputsProps, options?: Omit<UseQueryOptions<GetOrchestrationExecutionPhaseOutputsOkResponse, GetOrchestrationExecutionPhaseOutputsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetOrchestrationExecutionPhaseOutputsOkResponse, import("..").Error>;
@@ -0,0 +1,19 @@
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 '../../../../fetcher/index.js';
6
+ export function getOrchestrationExecutionPhaseOutputs(props) {
7
+ return fetcher(Object.assign({ url: `/orchestration/execution/release/${props.releaseId}/phase/${props.phaseIdentifier}/output`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Retrieve output values for a specific phase execution
11
+ */
12
+ export function useGetOrchestrationExecutionPhaseOutputsQuery(props, options) {
13
+ return useQuery([
14
+ 'get-orchestration-execution-phase-outputs',
15
+ props.releaseId,
16
+ props.phaseIdentifier,
17
+ props.queryParams,
18
+ ], ({ signal }) => getOrchestrationExecutionPhaseOutputs(Object.assign(Object.assign({}, props), { signal })), options);
19
+ }
@@ -7,6 +7,7 @@ export interface GetOrchestrationExecutionPhasesQueryPathParams {
7
7
  releaseId: string;
8
8
  }
9
9
  export interface GetOrchestrationExecutionPhasesQueryQueryParams {
10
+ status?: string[];
10
11
  orgIdentifier?: string;
11
12
  projectIdentifier?: string;
12
13
  }
@@ -0,0 +1,28 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { OnHoldActivityActionResponseResponse } from '../responses/OnHoldActivityActionResponseResponse';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { OnHoldActivityActionRequestRequestBody } from '../requestBodies/OnHoldActivityActionRequestRequestBody';
5
+ import type { ResponseWithPagination } from '../helpers';
6
+ import { FetcherOptions } from '../../../../fetcher/index.js';
7
+ export interface PostOnHoldActivityActionMutationPathParams {
8
+ activityExecutionId: string;
9
+ }
10
+ export interface PostOnHoldActivityActionMutationQueryParams {
11
+ orgIdentifier?: string;
12
+ projectIdentifier?: string;
13
+ }
14
+ export interface PostOnHoldActivityActionMutationHeaderParams {
15
+ 'Harness-Account': string;
16
+ }
17
+ export type PostOnHoldActivityActionRequestBody = OnHoldActivityActionRequestRequestBody;
18
+ export type PostOnHoldActivityActionOkResponse = ResponseWithPagination<OnHoldActivityActionResponseResponse>;
19
+ export type PostOnHoldActivityActionErrorResponse = ErrorResponseResponse;
20
+ export interface PostOnHoldActivityActionProps extends PostOnHoldActivityActionMutationPathParams, Omit<FetcherOptions<PostOnHoldActivityActionMutationQueryParams, PostOnHoldActivityActionRequestBody, PostOnHoldActivityActionMutationHeaderParams>, 'url'> {
21
+ queryParams: PostOnHoldActivityActionMutationQueryParams;
22
+ body: PostOnHoldActivityActionRequestBody;
23
+ }
24
+ export declare function postOnHoldActivityAction(props: PostOnHoldActivityActionProps): Promise<PostOnHoldActivityActionOkResponse>;
25
+ /**
26
+ * Process actions (retry/ignore) for activities in ON_HOLD state
27
+ */
28
+ export declare function usePostOnHoldActivityActionMutation(options?: Omit<UseMutationOptions<PostOnHoldActivityActionOkResponse, PostOnHoldActivityActionErrorResponse, PostOnHoldActivityActionProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<PostOnHoldActivityActionOkResponse, import("..").Error, PostOnHoldActivityActionProps, unknown>;
@@ -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 { useMutation } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function postOnHoldActivityAction(props) {
7
+ return fetcher(Object.assign({ url: `/orchestration/activity/${props.activityExecutionId}/onhold/action`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Process actions (retry/ignore) for activities in ON_HOLD state
11
+ */
12
+ export function usePostOnHoldActivityActionMutation(options) {
13
+ return useMutation((mutateProps) => postOnHoldActivityAction(mutateProps), options);
14
+ }
@@ -23,6 +23,10 @@ export type { GetOrchestrationExecutionActivitiesErrorResponse, GetOrchestration
23
23
  export { getOrchestrationExecutionActivities, useGetOrchestrationExecutionActivitiesQuery, } from './hooks/useGetOrchestrationExecutionActivitiesQuery';
24
24
  export type { GetOrchestrationExecutionActivityInputsErrorResponse, GetOrchestrationExecutionActivityInputsOkResponse, GetOrchestrationExecutionActivityInputsProps, GetOrchestrationExecutionActivityInputsQueryPathParams, GetOrchestrationExecutionActivityInputsQueryQueryParams, } from './hooks/useGetOrchestrationExecutionActivityInputsQuery';
25
25
  export { getOrchestrationExecutionActivityInputs, useGetOrchestrationExecutionActivityInputsQuery, } from './hooks/useGetOrchestrationExecutionActivityInputsQuery';
26
+ export type { GetOrchestrationExecutionActivityOutputsErrorResponse, GetOrchestrationExecutionActivityOutputsOkResponse, GetOrchestrationExecutionActivityOutputsProps, GetOrchestrationExecutionActivityOutputsQueryPathParams, GetOrchestrationExecutionActivityOutputsQueryQueryParams, } from './hooks/useGetOrchestrationExecutionActivityOutputsQuery';
27
+ export { getOrchestrationExecutionActivityOutputs, useGetOrchestrationExecutionActivityOutputsQuery, } from './hooks/useGetOrchestrationExecutionActivityOutputsQuery';
28
+ export type { GetOrchestrationExecutionPhaseOutputsErrorResponse, GetOrchestrationExecutionPhaseOutputsOkResponse, GetOrchestrationExecutionPhaseOutputsProps, GetOrchestrationExecutionPhaseOutputsQueryPathParams, GetOrchestrationExecutionPhaseOutputsQueryQueryParams, } from './hooks/useGetOrchestrationExecutionPhaseOutputsQuery';
29
+ export { getOrchestrationExecutionPhaseOutputs, useGetOrchestrationExecutionPhaseOutputsQuery, } from './hooks/useGetOrchestrationExecutionPhaseOutputsQuery';
26
30
  export type { GetOrchestrationExecutionPhasesErrorResponse, GetOrchestrationExecutionPhasesOkResponse, GetOrchestrationExecutionPhasesProps, GetOrchestrationExecutionPhasesQueryPathParams, GetOrchestrationExecutionPhasesQueryQueryParams, } from './hooks/useGetOrchestrationExecutionPhasesQuery';
27
31
  export { getOrchestrationExecutionPhases, useGetOrchestrationExecutionPhasesQuery, } from './hooks/useGetOrchestrationExecutionPhasesQuery';
28
32
  export type { GetOrchestrationExecutionTasksErrorResponse, GetOrchestrationExecutionTasksOkResponse, GetOrchestrationExecutionTasksProps, GetOrchestrationExecutionTasksQueryPathParams, GetOrchestrationExecutionTasksQueryQueryParams, } from './hooks/useGetOrchestrationExecutionTasksQuery';
@@ -57,6 +61,8 @@ export type { GetReleaseReleaseIdEnvironmentsErrorResponse, GetReleaseReleaseIdE
57
61
  export { getReleaseReleaseIdEnvironments, useGetReleaseReleaseIdEnvironmentsQuery, } from './hooks/useGetReleaseReleaseIdEnvironmentsQuery';
58
62
  export type { GetTaskCommentsSummaryErrorResponse, GetTaskCommentsSummaryOkResponse, GetTaskCommentsSummaryProps, GetTaskCommentsSummaryQueryPathParams, GetTaskCommentsSummaryQueryQueryParams, } from './hooks/useGetTaskCommentsSummaryQuery';
59
63
  export { getTaskCommentsSummary, useGetTaskCommentsSummaryQuery, } from './hooks/useGetTaskCommentsSummaryQuery';
64
+ export type { PostOnHoldActivityActionErrorResponse, PostOnHoldActivityActionMutationPathParams, PostOnHoldActivityActionMutationQueryParams, PostOnHoldActivityActionOkResponse, PostOnHoldActivityActionProps, PostOnHoldActivityActionRequestBody, } from './hooks/usePostOnHoldActivityActionMutation';
65
+ export { postOnHoldActivityAction, usePostOnHoldActivityActionMutation, } from './hooks/usePostOnHoldActivityActionMutation';
60
66
  export type { PostOrchestrationActivityErrorResponse, PostOrchestrationActivityMutationQueryParams, PostOrchestrationActivityOkResponse, PostOrchestrationActivityProps, PostOrchestrationActivityRequestBody, } from './hooks/usePostOrchestrationActivityMutation';
61
67
  export { postOrchestrationActivity, usePostOrchestrationActivityMutation, } from './hooks/usePostOrchestrationActivityMutation';
62
68
  export type { PostOrchestrationProcessAttachedReleaseGroupsErrorResponse, PostOrchestrationProcessAttachedReleaseGroupsMutationPathParams, PostOrchestrationProcessAttachedReleaseGroupsMutationQueryParams, PostOrchestrationProcessAttachedReleaseGroupsOkResponse, PostOrchestrationProcessAttachedReleaseGroupsProps, PostOrchestrationProcessAttachedReleaseGroupsRequestBody, } from './hooks/usePostOrchestrationProcessAttachedReleaseGroupsMutation';
@@ -93,6 +99,7 @@ export type { CreateOrchestrationActivityRequestRequestBody } from './requestBod
93
99
  export type { CreateOrchestrationProcessInputRequestRequestBody } from './requestBodies/CreateOrchestrationProcessInputRequestRequestBody';
94
100
  export type { CreateOrchestrationProcessRequestRequestBody } from './requestBodies/CreateOrchestrationProcessRequestRequestBody';
95
101
  export type { CreateReleaseGroupRequestRequestBody } from './requestBodies/CreateReleaseGroupRequestRequestBody';
102
+ export type { OnHoldActivityActionRequestRequestBody } from './requestBodies/OnHoldActivityActionRequestRequestBody';
96
103
  export type { OrchestrationProcessAttachedReleaseGroupsRequestRequestBody } from './requestBodies/OrchestrationProcessAttachedReleaseGroupsRequestRequestBody';
97
104
  export type { ReleaseSummaryRequestRequestBody } from './requestBodies/ReleaseSummaryRequestRequestBody';
98
105
  export type { UpdateOrchestrationActivityRequestRequestBody } from './requestBodies/UpdateOrchestrationActivityRequestRequestBody';
@@ -111,6 +118,7 @@ export type { DeleteReleaseGroupResponseResponse } from './responses/DeleteRelea
111
118
  export type { EnvironmentDashboardResponseResponse } from './responses/EnvironmentDashboardResponseResponse';
112
119
  export type { EnvironmentListPerReleaseResponseResponse } from './responses/EnvironmentListPerReleaseResponseResponse';
113
120
  export type { ErrorResponseResponse } from './responses/ErrorResponseResponse';
121
+ export type { ExecutionOutputsResponseResponse } from './responses/ExecutionOutputsResponseResponse';
114
122
  export type { ExecutionTasksListResponseResponse } from './responses/ExecutionTasksListResponseResponse';
115
123
  export type { FreezeDetailsResponseResponse } from './responses/FreezeDetailsResponseResponse';
116
124
  export type { FreezeListResponseResponse } from './responses/FreezeListResponseResponse';
@@ -118,6 +126,7 @@ export type { GetOrchestrationActivityResponseResponse } from './responses/GetOr
118
126
  export type { GetOrchestrationProcessInputResponseResponse } from './responses/GetOrchestrationProcessInputResponseResponse';
119
127
  export type { GetOrchestrationProcessResponseResponse } from './responses/GetOrchestrationProcessResponseResponse';
120
128
  export type { GetReleaseGroupResponseResponse } from './responses/GetReleaseGroupResponseResponse';
129
+ export type { OnHoldActivityActionResponseResponse } from './responses/OnHoldActivityActionResponseResponse';
121
130
  export type { OrchestrationActivityListByProcessIdentifierResponseResponse } from './responses/OrchestrationActivityListByProcessIdentifierResponseResponse';
122
131
  export type { OrchestrationActivitySummaryResponseResponse } from './responses/OrchestrationActivitySummaryResponseResponse';
123
132
  export type { OrchestrationProcessAttachedReleaseGroupsResponseResponse } from './responses/OrchestrationProcessAttachedReleaseGroupsResponseResponse';
@@ -156,6 +165,7 @@ export type { EnvironmentDto } from './schemas/EnvironmentDto';
156
165
  export type { EnvironmentType } from './schemas/EnvironmentType';
157
166
  export type { Error } from './schemas/Error';
158
167
  export type { ExecutionConflict } from './schemas/ExecutionConflict';
168
+ export type { ExecutionOutputDto } from './schemas/ExecutionOutputDto';
159
169
  export type { ExecutionTaskDto } from './schemas/ExecutionTaskDto';
160
170
  export type { ExecutionTaskStatus } from './schemas/ExecutionTaskStatus';
161
171
  export type { FreezeDetailsDto } from './schemas/FreezeDetailsDto';
@@ -170,6 +180,8 @@ export type { InputVariableType } from './schemas/InputVariableType';
170
180
  export type { LastUpdatedByDto } from './schemas/LastUpdatedByDto';
171
181
  export type { ManualTaskYaml } from './schemas/ManualTaskYaml';
172
182
  export type { NextRequest } from './schemas/NextRequest';
183
+ export type { OnHoldActivityActionRequest } from './schemas/OnHoldActivityActionRequest';
184
+ export type { OnHoldActivityActionResponse } from './schemas/OnHoldActivityActionResponse';
173
185
  export type { OrchestrationActivityManualYaml } from './schemas/OrchestrationActivityManualYaml';
174
186
  export type { OrchestrationActivityPipelineYaml } from './schemas/OrchestrationActivityPipelineYaml';
175
187
  export type { OrchestrationActivityProcessYaml } from './schemas/OrchestrationActivityProcessYaml';
@@ -10,6 +10,8 @@ export { getOrchestrationActivity, useGetOrchestrationActivityQuery, } from './h
10
10
  export { getOrchestrationActivitySummary, useGetOrchestrationActivitySummaryQuery, } from './hooks/useGetOrchestrationActivitySummaryQuery';
11
11
  export { getOrchestrationExecutionActivities, useGetOrchestrationExecutionActivitiesQuery, } from './hooks/useGetOrchestrationExecutionActivitiesQuery';
12
12
  export { getOrchestrationExecutionActivityInputs, useGetOrchestrationExecutionActivityInputsQuery, } from './hooks/useGetOrchestrationExecutionActivityInputsQuery';
13
+ export { getOrchestrationExecutionActivityOutputs, useGetOrchestrationExecutionActivityOutputsQuery, } from './hooks/useGetOrchestrationExecutionActivityOutputsQuery';
14
+ export { getOrchestrationExecutionPhaseOutputs, useGetOrchestrationExecutionPhaseOutputsQuery, } from './hooks/useGetOrchestrationExecutionPhaseOutputsQuery';
13
15
  export { getOrchestrationExecutionPhases, useGetOrchestrationExecutionPhasesQuery, } from './hooks/useGetOrchestrationExecutionPhasesQuery';
14
16
  export { getOrchestrationExecutionTasks, useGetOrchestrationExecutionTasksQuery, } from './hooks/useGetOrchestrationExecutionTasksQuery';
15
17
  export { getOrchestrationProcessInput, useGetOrchestrationProcessInputQuery, } from './hooks/useGetOrchestrationProcessInputQuery';
@@ -27,6 +29,7 @@ export { getReleaseReleaseIdApprovals, useGetReleaseReleaseIdApprovalsQuery, } f
27
29
  export { getReleaseReleaseIdEnvironmentDashboard, useGetReleaseReleaseIdEnvironmentDashboardQuery, } from './hooks/useGetReleaseReleaseIdEnvironmentDashboardQuery';
28
30
  export { getReleaseReleaseIdEnvironments, useGetReleaseReleaseIdEnvironmentsQuery, } from './hooks/useGetReleaseReleaseIdEnvironmentsQuery';
29
31
  export { getTaskCommentsSummary, useGetTaskCommentsSummaryQuery, } from './hooks/useGetTaskCommentsSummaryQuery';
32
+ export { postOnHoldActivityAction, usePostOnHoldActivityActionMutation, } from './hooks/usePostOnHoldActivityActionMutation';
30
33
  export { postOrchestrationActivity, usePostOrchestrationActivityMutation, } from './hooks/usePostOrchestrationActivityMutation';
31
34
  export { postOrchestrationProcessAttachedReleaseGroups, usePostOrchestrationProcessAttachedReleaseGroupsMutation, } from './hooks/usePostOrchestrationProcessAttachedReleaseGroupsMutation';
32
35
  export { postOrchestrationProcessInput, usePostOrchestrationProcessInputMutation, } from './hooks/usePostOrchestrationProcessInputMutation';
@@ -0,0 +1,2 @@
1
+ import type { OnHoldActivityActionRequest } from '../schemas/OnHoldActivityActionRequest';
2
+ export type OnHoldActivityActionRequestRequestBody = OnHoldActivityActionRequest;
@@ -0,0 +1,7 @@
1
+ import type { ExecutionOutputDto } from '../schemas/ExecutionOutputDto';
2
+ export interface ExecutionOutputsResponseResponse {
3
+ /**
4
+ * List of output values for the phase execution
5
+ */
6
+ outputs: ExecutionOutputDto[];
7
+ }
@@ -0,0 +1,2 @@
1
+ import type { OnHoldActivityActionResponse } from '../schemas/OnHoldActivityActionResponse';
2
+ export type OnHoldActivityActionResponseResponse = OnHoldActivityActionResponse;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Output value for a phase execution
3
+ */
4
+ export interface ExecutionOutputDto {
5
+ /**
6
+ * Name of the output parameter
7
+ */
8
+ name: string;
9
+ /**
10
+ * Value of the output parameter
11
+ */
12
+ value: string;
13
+ }
@@ -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,6 @@
1
+ export interface OnHoldActivityActionRequest {
2
+ /**
3
+ * The action to perform on the on-hold activity
4
+ */
5
+ action: 'ignore' | 'retry';
6
+ }
@@ -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,10 @@
1
+ export interface OnHoldActivityActionResponse {
2
+ /**
3
+ * The action that was performed
4
+ */
5
+ action?: string;
6
+ /**
7
+ * The ID of the processed activity execution
8
+ */
9
+ activityExecutionId?: string;
10
+ }
@@ -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 {};
@@ -22,6 +22,12 @@ export interface OrchestrationActivityYaml {
22
22
  * Name of the activity
23
23
  */
24
24
  name: string;
25
+ /**
26
+ * Outputs for the activity
27
+ */
28
+ outputs?: {
29
+ [key: string]: string;
30
+ };
25
31
  pipeline?: OrchestrationActivityPipelineYaml;
26
32
  };
27
33
  }
@@ -30,6 +30,11 @@ export interface OrchestrationExecutionActivity {
30
30
  */
31
31
  name: string;
32
32
  pipeline?: PipelineActivityInfo;
33
+ /**
34
+ * Retry index of the activity execution
35
+ * @format int32
36
+ */
37
+ retry_index?: number;
33
38
  /**
34
39
  * Start timestamp in milliseconds
35
40
  * @format int64
@@ -18,6 +18,12 @@ export interface OrchestrationPhaseYaml {
18
18
  * Name of the phase
19
19
  */
20
20
  name: string;
21
+ /**
22
+ * Outputs for the phase
23
+ */
24
+ outputs?: {
25
+ [key: string]: string;
26
+ };
21
27
  /**
22
28
  * List of owner groups for the phase
23
29
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-rmg-service-client",
3
- "version": "0.28.0",
3
+ "version": "0.30.0",
4
4
  "description": "Harness Release Management Service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",