@harnessio/react-rmg-service-client 0.33.0 → 0.35.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 (21) hide show
  1. package/dist/rmg-service/src/services/hooks/useDeleteOrchestrationActivityMutation.d.ts +24 -0
  2. package/dist/rmg-service/src/services/hooks/useDeleteOrchestrationActivityMutation.js +14 -0
  3. package/dist/rmg-service/src/services/hooks/useDeleteOrchestrationProcessInputMutation.d.ts +25 -0
  4. package/dist/rmg-service/src/services/hooks/useDeleteOrchestrationProcessInputMutation.js +14 -0
  5. package/dist/rmg-service/src/services/hooks/useDeleteOrchestrationProcessMutation.d.ts +24 -0
  6. package/dist/rmg-service/src/services/hooks/useDeleteOrchestrationProcessMutation.js +14 -0
  7. package/dist/rmg-service/src/services/hooks/useGetReleaseTasksQuery.d.ts +30 -0
  8. package/dist/rmg-service/src/services/hooks/useGetReleaseTasksQuery.js +14 -0
  9. package/dist/rmg-service/src/services/hooks/usePostActivityExecutionOutputMutation.d.ts +29 -0
  10. package/dist/rmg-service/src/services/hooks/usePostActivityExecutionOutputMutation.js +14 -0
  11. package/dist/rmg-service/src/services/index.d.ts +11 -0
  12. package/dist/rmg-service/src/services/index.js +5 -0
  13. package/dist/rmg-service/src/services/responses/ReleaseTasksResponseResponse.d.ts +13 -0
  14. package/dist/rmg-service/src/services/responses/ReleaseTasksResponseResponse.js +1 -0
  15. package/dist/rmg-service/src/services/schemas/ExecutionTaskDto.d.ts +0 -4
  16. package/dist/rmg-service/src/services/schemas/InputVariable.d.ts +1 -1
  17. package/dist/rmg-service/src/services/schemas/OrchestrationActivityProcessYaml.d.ts +4 -0
  18. package/dist/rmg-service/src/services/schemas/OrchestrationPhaseYaml.d.ts +4 -0
  19. package/dist/rmg-service/src/services/schemas/ReleaseDto.d.ts +1 -1
  20. package/dist/rmg-service/src/services/schemas/Status.d.ts +1 -1
  21. package/package.json +1 -1
@@ -0,0 +1,24 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface DeleteOrchestrationActivityMutationPathParams {
6
+ identifier: string;
7
+ }
8
+ export interface DeleteOrchestrationActivityMutationQueryParams {
9
+ orgIdentifier?: string;
10
+ projectIdentifier?: string;
11
+ }
12
+ export interface DeleteOrchestrationActivityMutationHeaderParams {
13
+ 'Harness-Account': string;
14
+ }
15
+ export type DeleteOrchestrationActivityOkResponse = ResponseWithPagination<unknown>;
16
+ export type DeleteOrchestrationActivityErrorResponse = ErrorResponseResponse;
17
+ export interface DeleteOrchestrationActivityProps extends DeleteOrchestrationActivityMutationPathParams, Omit<FetcherOptions<DeleteOrchestrationActivityMutationQueryParams, unknown, DeleteOrchestrationActivityMutationHeaderParams>, 'url'> {
18
+ queryParams: DeleteOrchestrationActivityMutationQueryParams;
19
+ }
20
+ export declare function deleteOrchestrationActivity(props: DeleteOrchestrationActivityProps): Promise<DeleteOrchestrationActivityOkResponse>;
21
+ /**
22
+ * Delete an orchestration activity by identifier
23
+ */
24
+ export declare function useDeleteOrchestrationActivityMutation(options?: Omit<UseMutationOptions<DeleteOrchestrationActivityOkResponse, DeleteOrchestrationActivityErrorResponse, DeleteOrchestrationActivityProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteOrchestrationActivityOkResponse, import("..").Error, DeleteOrchestrationActivityProps, 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 deleteOrchestrationActivity(props) {
7
+ return fetcher(Object.assign({ url: `/orchestration/activity/${props.identifier}`, method: 'DELETE' }, props));
8
+ }
9
+ /**
10
+ * Delete an orchestration activity by identifier
11
+ */
12
+ export function useDeleteOrchestrationActivityMutation(options) {
13
+ return useMutation((mutateProps) => deleteOrchestrationActivity(mutateProps), options);
14
+ }
@@ -0,0 +1,25 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface DeleteOrchestrationProcessInputMutationPathParams {
6
+ processIdentifier: string;
7
+ identifier: string;
8
+ }
9
+ export interface DeleteOrchestrationProcessInputMutationQueryParams {
10
+ orgIdentifier?: string;
11
+ projectIdentifier?: string;
12
+ }
13
+ export interface DeleteOrchestrationProcessInputMutationHeaderParams {
14
+ 'Harness-Account': string;
15
+ }
16
+ export type DeleteOrchestrationProcessInputOkResponse = ResponseWithPagination<unknown>;
17
+ export type DeleteOrchestrationProcessInputErrorResponse = ErrorResponseResponse;
18
+ export interface DeleteOrchestrationProcessInputProps extends DeleteOrchestrationProcessInputMutationPathParams, Omit<FetcherOptions<DeleteOrchestrationProcessInputMutationQueryParams, unknown, DeleteOrchestrationProcessInputMutationHeaderParams>, 'url'> {
19
+ queryParams: DeleteOrchestrationProcessInputMutationQueryParams;
20
+ }
21
+ export declare function deleteOrchestrationProcessInput(props: DeleteOrchestrationProcessInputProps): Promise<DeleteOrchestrationProcessInputOkResponse>;
22
+ /**
23
+ * Delete an orchestration process input by process identifier and input identifier
24
+ */
25
+ export declare function useDeleteOrchestrationProcessInputMutation(options?: Omit<UseMutationOptions<DeleteOrchestrationProcessInputOkResponse, DeleteOrchestrationProcessInputErrorResponse, DeleteOrchestrationProcessInputProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteOrchestrationProcessInputOkResponse, import("..").Error, DeleteOrchestrationProcessInputProps, 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 deleteOrchestrationProcessInput(props) {
7
+ return fetcher(Object.assign({ url: `/orchestration/process/${props.processIdentifier}/input/${props.identifier}`, method: 'DELETE' }, props));
8
+ }
9
+ /**
10
+ * Delete an orchestration process input by process identifier and input identifier
11
+ */
12
+ export function useDeleteOrchestrationProcessInputMutation(options) {
13
+ return useMutation((mutateProps) => deleteOrchestrationProcessInput(mutateProps), options);
14
+ }
@@ -0,0 +1,24 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface DeleteOrchestrationProcessMutationPathParams {
6
+ identifier: string;
7
+ }
8
+ export interface DeleteOrchestrationProcessMutationQueryParams {
9
+ orgIdentifier?: string;
10
+ projectIdentifier?: string;
11
+ }
12
+ export interface DeleteOrchestrationProcessMutationHeaderParams {
13
+ 'Harness-Account': string;
14
+ }
15
+ export type DeleteOrchestrationProcessOkResponse = ResponseWithPagination<unknown>;
16
+ export type DeleteOrchestrationProcessErrorResponse = ErrorResponseResponse;
17
+ export interface DeleteOrchestrationProcessProps extends DeleteOrchestrationProcessMutationPathParams, Omit<FetcherOptions<DeleteOrchestrationProcessMutationQueryParams, unknown, DeleteOrchestrationProcessMutationHeaderParams>, 'url'> {
18
+ queryParams: DeleteOrchestrationProcessMutationQueryParams;
19
+ }
20
+ export declare function deleteOrchestrationProcess(props: DeleteOrchestrationProcessProps): Promise<DeleteOrchestrationProcessOkResponse>;
21
+ /**
22
+ * Delete an orchestration process by identifier
23
+ */
24
+ export declare function useDeleteOrchestrationProcessMutation(options?: Omit<UseMutationOptions<DeleteOrchestrationProcessOkResponse, DeleteOrchestrationProcessErrorResponse, DeleteOrchestrationProcessProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteOrchestrationProcessOkResponse, import("..").Error, DeleteOrchestrationProcessProps, 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 deleteOrchestrationProcess(props) {
7
+ return fetcher(Object.assign({ url: `/orchestration/process/${props.identifier}`, method: 'DELETE' }, props));
8
+ }
9
+ /**
10
+ * Delete an orchestration process by identifier
11
+ */
12
+ export function useDeleteOrchestrationProcessMutation(options) {
13
+ return useMutation((mutateProps) => deleteOrchestrationProcess(mutateProps), options);
14
+ }
@@ -0,0 +1,30 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ReleaseTasksResponseResponse } from '../responses/ReleaseTasksResponseResponse';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface GetReleaseTasksQueryPathParams {
7
+ releaseId: string;
8
+ }
9
+ export interface GetReleaseTasksQueryQueryParams {
10
+ orgIdentifier?: string;
11
+ cursor?: string;
12
+ /**
13
+ * @default 500
14
+ */
15
+ limit?: number;
16
+ status?: Array<'BLOCKED' | 'FAILED' | 'IN_PROGRESS' | 'SUCCEEDED' | 'TODO'>;
17
+ }
18
+ export interface GetReleaseTasksQueryHeaderParams {
19
+ 'Harness-Account': string;
20
+ }
21
+ export type GetReleaseTasksOkResponse = ResponseWithPagination<ReleaseTasksResponseResponse>;
22
+ export type GetReleaseTasksErrorResponse = ErrorResponseResponse;
23
+ export interface GetReleaseTasksProps extends GetReleaseTasksQueryPathParams, Omit<FetcherOptions<GetReleaseTasksQueryQueryParams, unknown, GetReleaseTasksQueryHeaderParams>, 'url'> {
24
+ queryParams: GetReleaseTasksQueryQueryParams;
25
+ }
26
+ export declare function getReleaseTasks(props: GetReleaseTasksProps): Promise<GetReleaseTasksOkResponse>;
27
+ /**
28
+ * Fetch a paginated list of tasks from Manual Activities for a release with cursor-based pagination and optional status filtering.
29
+ */
30
+ export declare function useGetReleaseTasksQuery(props: GetReleaseTasksProps, options?: Omit<UseQueryOptions<GetReleaseTasksOkResponse, GetReleaseTasksErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetReleaseTasksOkResponse, import("..").Error>;
@@ -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 '../../../../fetcher/index.js';
6
+ export function getReleaseTasks(props) {
7
+ return fetcher(Object.assign({ url: `/release/${props.releaseId}/tasks`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Fetch a paginated list of tasks from Manual Activities for a release with cursor-based pagination and optional status filtering.
11
+ */
12
+ export function useGetReleaseTasksQuery(props, options) {
13
+ return useQuery(['getReleaseTasks', props.releaseId, props.queryParams], ({ signal }) => getReleaseTasks(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,29 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
3
+ import type { ExecutionOutputDto } from '../schemas/ExecutionOutputDto';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface PostActivityExecutionOutputMutationPathParams {
7
+ activityId: string;
8
+ }
9
+ export interface PostActivityExecutionOutputMutationQueryParams {
10
+ orgIdentifier?: string;
11
+ projectIdentifier?: string;
12
+ }
13
+ export interface PostActivityExecutionOutputMutationHeaderParams {
14
+ 'Harness-Account': string;
15
+ }
16
+ export type PostActivityExecutionOutputRequestBody = {
17
+ outputs: ExecutionOutputDto[];
18
+ };
19
+ export type PostActivityExecutionOutputOkResponse = ResponseWithPagination<unknown>;
20
+ export type PostActivityExecutionOutputErrorResponse = ErrorResponseResponse;
21
+ export interface PostActivityExecutionOutputProps extends PostActivityExecutionOutputMutationPathParams, Omit<FetcherOptions<PostActivityExecutionOutputMutationQueryParams, PostActivityExecutionOutputRequestBody, PostActivityExecutionOutputMutationHeaderParams>, 'url'> {
22
+ queryParams: PostActivityExecutionOutputMutationQueryParams;
23
+ body: PostActivityExecutionOutputRequestBody;
24
+ }
25
+ export declare function postActivityExecutionOutput(props: PostActivityExecutionOutputProps): Promise<PostActivityExecutionOutputOkResponse>;
26
+ /**
27
+ * Submit outputs for a manual activity execution that is waiting for outputs
28
+ */
29
+ export declare function usePostActivityExecutionOutputMutation(options?: Omit<UseMutationOptions<PostActivityExecutionOutputOkResponse, PostActivityExecutionOutputErrorResponse, PostActivityExecutionOutputProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<PostActivityExecutionOutputOkResponse, import("..").Error, PostActivityExecutionOutputProps, 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 postActivityExecutionOutput(props) {
7
+ return fetcher(Object.assign({ url: `/orchestration/execution/activity/${props.activityId}/output`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Submit outputs for a manual activity execution that is waiting for outputs
11
+ */
12
+ export function usePostActivityExecutionOutputMutation(options) {
13
+ return useMutation((mutateProps) => postActivityExecutionOutput(mutateProps), options);
14
+ }
@@ -1,6 +1,12 @@
1
1
  export type { GetPathParamsType, ResponseWithPagination } from './helpers';
2
2
  export type { CreateTaskCommentErrorResponse, CreateTaskCommentMutationPathParams, CreateTaskCommentMutationQueryParams, CreateTaskCommentOkResponse, CreateTaskCommentProps, CreateTaskCommentRequestBody, } from './hooks/useCreateTaskCommentMutation';
3
3
  export { createTaskComment, useCreateTaskCommentMutation, } from './hooks/useCreateTaskCommentMutation';
4
+ export type { DeleteOrchestrationActivityErrorResponse, DeleteOrchestrationActivityMutationPathParams, DeleteOrchestrationActivityMutationQueryParams, DeleteOrchestrationActivityOkResponse, DeleteOrchestrationActivityProps, } from './hooks/useDeleteOrchestrationActivityMutation';
5
+ export { deleteOrchestrationActivity, useDeleteOrchestrationActivityMutation, } from './hooks/useDeleteOrchestrationActivityMutation';
6
+ export type { DeleteOrchestrationProcessInputErrorResponse, DeleteOrchestrationProcessInputMutationPathParams, DeleteOrchestrationProcessInputMutationQueryParams, DeleteOrchestrationProcessInputOkResponse, DeleteOrchestrationProcessInputProps, } from './hooks/useDeleteOrchestrationProcessInputMutation';
7
+ export { deleteOrchestrationProcessInput, useDeleteOrchestrationProcessInputMutation, } from './hooks/useDeleteOrchestrationProcessInputMutation';
8
+ export type { DeleteOrchestrationProcessErrorResponse, DeleteOrchestrationProcessMutationPathParams, DeleteOrchestrationProcessMutationQueryParams, DeleteOrchestrationProcessOkResponse, DeleteOrchestrationProcessProps, } from './hooks/useDeleteOrchestrationProcessMutation';
9
+ export { deleteOrchestrationProcess, useDeleteOrchestrationProcessMutation, } from './hooks/useDeleteOrchestrationProcessMutation';
4
10
  export type { DeleteReleaseGroupErrorResponse, DeleteReleaseGroupMutationPathParams, DeleteReleaseGroupMutationQueryParams, DeleteReleaseGroupOkResponse, DeleteReleaseGroupProps, } from './hooks/useDeleteReleaseGroupMutation';
5
11
  export { deleteReleaseGroup, useDeleteReleaseGroupMutation, } from './hooks/useDeleteReleaseGroupMutation';
6
12
  export type { DeleteTaskCommentErrorResponse, DeleteTaskCommentMutationPathParams, DeleteTaskCommentMutationQueryParams, DeleteTaskCommentOkResponse, DeleteTaskCommentProps, } from './hooks/useDeleteTaskCommentMutation';
@@ -61,8 +67,12 @@ export type { GetReleaseReleaseIdEnvironmentDashboardErrorResponse, GetReleaseRe
61
67
  export { getReleaseReleaseIdEnvironmentDashboard, useGetReleaseReleaseIdEnvironmentDashboardQuery, } from './hooks/useGetReleaseReleaseIdEnvironmentDashboardQuery';
62
68
  export type { GetReleaseReleaseIdEnvironmentsErrorResponse, GetReleaseReleaseIdEnvironmentsOkResponse, GetReleaseReleaseIdEnvironmentsProps, GetReleaseReleaseIdEnvironmentsQueryPathParams, GetReleaseReleaseIdEnvironmentsQueryQueryParams, } from './hooks/useGetReleaseReleaseIdEnvironmentsQuery';
63
69
  export { getReleaseReleaseIdEnvironments, useGetReleaseReleaseIdEnvironmentsQuery, } from './hooks/useGetReleaseReleaseIdEnvironmentsQuery';
70
+ export type { GetReleaseTasksErrorResponse, GetReleaseTasksOkResponse, GetReleaseTasksProps, GetReleaseTasksQueryPathParams, GetReleaseTasksQueryQueryParams, } from './hooks/useGetReleaseTasksQuery';
71
+ export { getReleaseTasks, useGetReleaseTasksQuery } from './hooks/useGetReleaseTasksQuery';
64
72
  export type { GetTaskCommentsSummaryErrorResponse, GetTaskCommentsSummaryOkResponse, GetTaskCommentsSummaryProps, GetTaskCommentsSummaryQueryPathParams, GetTaskCommentsSummaryQueryQueryParams, } from './hooks/useGetTaskCommentsSummaryQuery';
65
73
  export { getTaskCommentsSummary, useGetTaskCommentsSummaryQuery, } from './hooks/useGetTaskCommentsSummaryQuery';
74
+ export type { PostActivityExecutionOutputErrorResponse, PostActivityExecutionOutputMutationPathParams, PostActivityExecutionOutputMutationQueryParams, PostActivityExecutionOutputOkResponse, PostActivityExecutionOutputProps, PostActivityExecutionOutputRequestBody, } from './hooks/usePostActivityExecutionOutputMutation';
75
+ export { postActivityExecutionOutput, usePostActivityExecutionOutputMutation, } from './hooks/usePostActivityExecutionOutputMutation';
66
76
  export type { PostOnHoldActivityActionErrorResponse, PostOnHoldActivityActionMutationPathParams, PostOnHoldActivityActionMutationQueryParams, PostOnHoldActivityActionOkResponse, PostOnHoldActivityActionProps, PostOnHoldActivityActionRequestBody, } from './hooks/usePostOnHoldActivityActionMutation';
67
77
  export { postOnHoldActivityAction, usePostOnHoldActivityActionMutation, } from './hooks/usePostOnHoldActivityActionMutation';
68
78
  export type { PostOrchestrationActivityErrorResponse, PostOrchestrationActivityMutationQueryParams, PostOrchestrationActivityOkResponse, PostOrchestrationActivityProps, PostOrchestrationActivityRequestBody, } from './hooks/usePostOrchestrationActivityMutation';
@@ -144,6 +154,7 @@ export type { ReleaseDetailsResponseResponse } from './responses/ReleaseDetailsR
144
154
  export type { ReleaseGroupComponentResponseResponse } from './responses/ReleaseGroupComponentResponseResponse';
145
155
  export type { ReleaseGroupSummaryResponseResponse } from './responses/ReleaseGroupSummaryResponseResponse';
146
156
  export type { ReleaseSummaryResponseResponse } from './responses/ReleaseSummaryResponseResponse';
157
+ export type { ReleaseTasksResponseResponse } from './responses/ReleaseTasksResponseResponse';
147
158
  export type { TaskCommentsListResponseResponse } from './responses/TaskCommentsListResponseResponse';
148
159
  export type { UpdateExecutionTaskMetadataResponseResponse } from './responses/UpdateExecutionTaskMetadataResponseResponse';
149
160
  export type { UpdateExecutionTaskStatusResponseResponse } from './responses/UpdateExecutionTaskStatusResponseResponse';
@@ -1,4 +1,7 @@
1
1
  export { createTaskComment, useCreateTaskCommentMutation, } from './hooks/useCreateTaskCommentMutation';
2
+ export { deleteOrchestrationActivity, useDeleteOrchestrationActivityMutation, } from './hooks/useDeleteOrchestrationActivityMutation';
3
+ export { deleteOrchestrationProcessInput, useDeleteOrchestrationProcessInputMutation, } from './hooks/useDeleteOrchestrationProcessInputMutation';
4
+ export { deleteOrchestrationProcess, useDeleteOrchestrationProcessMutation, } from './hooks/useDeleteOrchestrationProcessMutation';
2
5
  export { deleteReleaseGroup, useDeleteReleaseGroupMutation, } from './hooks/useDeleteReleaseGroupMutation';
3
6
  export { deleteTaskComment, useDeleteTaskCommentMutation, } from './hooks/useDeleteTaskCommentMutation';
4
7
  export { getActivityRetryHistoryByIdentifiers, useGetActivityRetryHistoryByIdentifiersQuery, } from './hooks/useGetActivityRetryHistoryByIdentifiersQuery';
@@ -29,7 +32,9 @@ export { getRelease, useGetReleaseQuery } from './hooks/useGetReleaseQuery';
29
32
  export { getReleaseReleaseIdApprovals, useGetReleaseReleaseIdApprovalsQuery, } from './hooks/useGetReleaseReleaseIdApprovalsQuery';
30
33
  export { getReleaseReleaseIdEnvironmentDashboard, useGetReleaseReleaseIdEnvironmentDashboardQuery, } from './hooks/useGetReleaseReleaseIdEnvironmentDashboardQuery';
31
34
  export { getReleaseReleaseIdEnvironments, useGetReleaseReleaseIdEnvironmentsQuery, } from './hooks/useGetReleaseReleaseIdEnvironmentsQuery';
35
+ export { getReleaseTasks, useGetReleaseTasksQuery } from './hooks/useGetReleaseTasksQuery';
32
36
  export { getTaskCommentsSummary, useGetTaskCommentsSummaryQuery, } from './hooks/useGetTaskCommentsSummaryQuery';
37
+ export { postActivityExecutionOutput, usePostActivityExecutionOutputMutation, } from './hooks/usePostActivityExecutionOutputMutation';
33
38
  export { postOnHoldActivityAction, usePostOnHoldActivityActionMutation, } from './hooks/usePostOnHoldActivityActionMutation';
34
39
  export { postOrchestrationActivity, usePostOrchestrationActivityMutation, } from './hooks/usePostOrchestrationActivityMutation';
35
40
  export { postOrchestrationProcessAttachedReleaseGroups, usePostOrchestrationProcessAttachedReleaseGroupsMutation, } from './hooks/usePostOrchestrationProcessAttachedReleaseGroupsMutation';
@@ -0,0 +1,13 @@
1
+ import type { NextRequest } from '../schemas/NextRequest';
2
+ import type { ExecutionTaskDto } from '../schemas/ExecutionTaskDto';
3
+ export interface ReleaseTasksResponseResponse {
4
+ /**
5
+ * Whether this is the last page of results
6
+ */
7
+ last: boolean;
8
+ nextRequest: NextRequest;
9
+ /**
10
+ * List of tasks from manual activities.
11
+ */
12
+ tasks: ExecutionTaskDto[];
13
+ }
@@ -50,8 +50,4 @@ export interface ExecutionTaskDto {
50
50
  * List of user group identifiers assigned to this task
51
51
  */
52
52
  userGroups: StringOrStringArray;
53
- /**
54
- * List of user identifiers assigned to this task
55
- */
56
- users: StringOrStringArray;
57
53
  }
@@ -3,7 +3,7 @@ export interface InputVariable {
3
3
  /**
4
4
  * Default value for the variable in string format
5
5
  */
6
- default?: string;
6
+ default?: string | null;
7
7
  /**
8
8
  * Description of the variable
9
9
  */
@@ -15,6 +15,10 @@ export interface OrchestrationActivityProcessYaml {
15
15
  * Unique identifier for the activity
16
16
  */
17
17
  id: string;
18
+ /**
19
+ * If condition for the activity
20
+ */
21
+ if?: string;
18
22
  /**
19
23
  * Name of the activity
20
24
  */
@@ -14,6 +14,10 @@ export interface OrchestrationPhaseYaml {
14
14
  * Unique identifier for the phase
15
15
  */
16
16
  id: string;
17
+ /**
18
+ * If condition for the phase
19
+ */
20
+ if?: string;
17
21
  /**
18
22
  * Name of the phase
19
23
  */
@@ -50,7 +50,7 @@ export interface ReleaseDto {
50
50
  /**
51
51
  * Current status of the release
52
52
  */
53
- status: 'Aborted' | 'Failed' | 'Paused' | 'Running' | 'Scheduled' | 'Success';
53
+ status: 'Aborted' | 'Failed' | 'InputWaiting' | 'Paused' | 'Running' | 'Scheduled' | 'Success';
54
54
  /**
55
55
  * Version of the release
56
56
  */
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * Status of the stage.
3
3
  */
4
- export type Status = 'ABORTED' | 'APPROVAL_REJECTED' | 'APPROVAL_WAITING' | 'ASYNC_WAITING' | 'DISCONTINUING' | 'ERROR' | 'ERRORED' | 'EXPIRED' | 'FAILED' | 'FREEZE_FAILED' | 'IGNORE_FAILED' | 'INPUT_WAITING' | 'INTERVENTION_WAITING' | 'ON_HOLD' | 'QUEUED' | 'REJECTED' | 'RESUMED' | 'RUNNING' | 'SCHEDULED' | 'SKIPPED' | 'STARTING' | 'STARTING_QUEUED_STEP' | 'SUCCEEDED' | 'SUCCESS' | 'SUSPENDED' | 'TASK_WAITING' | 'TIMED_WAITING' | 'UPLOAD_WAITING' | 'WAITING' | 'WAIT_STEP_RUNNING';
4
+ export type Status = 'ABORTED' | 'APPROVAL_REJECTED' | 'APPROVAL_WAITING' | 'ASYNC_WAITING' | 'DISCONTINUING' | 'ERROR' | 'ERRORED' | 'EXPIRED' | 'FAILED' | 'FREEZE_FAILED' | 'IGNORE_FAILED' | 'INPUT_WAITING' | 'INTERVENTION_WAITING' | 'ON_HOLD' | 'OUTPUT_WAITING' | 'QUEUED' | 'REJECTED' | 'RESUMED' | 'RUNNING' | 'SCHEDULED' | 'SKIPPED' | 'STARTING' | 'STARTING_QUEUED_STEP' | 'SUCCEEDED' | 'SUCCESS' | 'SUSPENDED' | 'TASK_WAITING' | 'TIMED_WAITING' | 'UPLOAD_WAITING' | 'WAITING' | 'WAIT_STEP_RUNNING';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-rmg-service-client",
3
- "version": "0.33.0",
3
+ "version": "0.35.0",
4
4
  "description": "Harness Release Management Service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",