@harnessio/react-rmg-service-client 0.65.0 → 0.65.1-beta.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 (54) hide show
  1. package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionActivityOutputsV2Query.d.ts +28 -0
  2. package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionActivityOutputsV2Query.js +20 -0
  3. package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionPhaseOutputsV2Query.d.ts +27 -0
  4. package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionPhaseOutputsV2Query.js +19 -0
  5. package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionPhasesQuery.d.ts +2 -16
  6. package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessExecutionsQuery.d.ts +63 -0
  7. package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessExecutionsQuery.js +14 -0
  8. package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessSummaryQuery.d.ts +0 -1
  9. package/dist/rmg-service/src/services/hooks/useGetProcessExecutionActivitiesPaginatedQuery.d.ts +31 -0
  10. package/dist/rmg-service/src/services/hooks/useGetProcessExecutionActivitiesPaginatedQuery.js +14 -0
  11. package/dist/rmg-service/src/services/hooks/useGetProcessExecutionPhasesQuery.d.ts +26 -0
  12. package/dist/rmg-service/src/services/hooks/useGetProcessExecutionPhasesQuery.js +14 -0
  13. package/dist/rmg-service/src/services/hooks/useGetProcessExecutionQuery.d.ts +25 -0
  14. package/dist/rmg-service/src/services/hooks/useGetProcessExecutionQuery.js +14 -0
  15. package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessExecuteMutation.d.ts +36 -0
  16. package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessExecuteMutation.js +14 -0
  17. package/dist/rmg-service/src/services/hooks/usePostProcessExecutionActionMutation.d.ts +36 -0
  18. package/dist/rmg-service/src/services/hooks/usePostProcessExecutionActionMutation.js +14 -0
  19. package/dist/rmg-service/src/services/hooks/usePostWebhookQueueActionMutation.d.ts +28 -0
  20. package/dist/rmg-service/src/services/hooks/usePostWebhookQueueActionMutation.js +14 -0
  21. package/dist/rmg-service/src/services/index.d.ts +31 -1
  22. package/dist/rmg-service/src/services/index.js +9 -0
  23. package/dist/rmg-service/src/services/requestBodies/WebhookQueueActionRequestRequestBody.d.ts +2 -0
  24. package/dist/rmg-service/src/services/requestBodies/WebhookQueueActionRequestRequestBody.js +1 -0
  25. package/dist/rmg-service/src/services/responses/ExecuteProcessResponseResponse.d.ts +4 -0
  26. package/dist/rmg-service/src/services/responses/ExecuteProcessResponseResponse.js +1 -0
  27. package/dist/rmg-service/src/services/responses/ExecutionOutputsV2ResponseResponse.d.ts +7 -0
  28. package/dist/rmg-service/src/services/responses/ExecutionOutputsV2ResponseResponse.js +1 -0
  29. package/dist/rmg-service/src/services/responses/GetProcessExecutionResponseResponse.d.ts +2 -0
  30. package/dist/rmg-service/src/services/responses/GetProcessExecutionResponseResponse.js +1 -0
  31. package/dist/rmg-service/src/services/responses/WebhookQueueActionResponseResponse.d.ts +2 -0
  32. package/dist/rmg-service/src/services/responses/WebhookQueueActionResponseResponse.js +1 -0
  33. package/dist/rmg-service/src/services/schemas/ExecuteProcessResponseDto.d.ts +31 -0
  34. package/dist/rmg-service/src/services/schemas/ExecuteProcessResponseDto.js +1 -0
  35. package/dist/rmg-service/src/services/schemas/ExecutionOutputGroupDto.d.ts +16 -0
  36. package/dist/rmg-service/src/services/schemas/ExecutionOutputGroupDto.js +1 -0
  37. package/dist/rmg-service/src/services/schemas/ExecutionOutputV2Dto.d.ts +13 -0
  38. package/dist/rmg-service/src/services/schemas/ExecutionTaskDto.d.ts +0 -2
  39. package/dist/rmg-service/src/services/schemas/ManualTaskYaml.d.ts +0 -2
  40. package/dist/rmg-service/src/services/schemas/ManualTaskYaml.js +3 -0
  41. package/dist/rmg-service/src/services/schemas/MatchedSignalExecutionSummaryDto.d.ts +4 -0
  42. package/dist/rmg-service/src/services/schemas/OrchestrationExecutionPhasesResponse.d.ts +19 -0
  43. package/dist/rmg-service/src/services/schemas/OrchestrationExecutionPhasesResponse.js +1 -0
  44. package/dist/rmg-service/src/services/schemas/OrchestrationStatusList.d.ts +5 -0
  45. package/dist/rmg-service/src/services/schemas/OrchestrationStatusList.js +1 -0
  46. package/dist/rmg-service/src/services/schemas/ProcessExecutionDto.d.ts +24 -0
  47. package/dist/rmg-service/src/services/schemas/ProcessExecutionDto.js +1 -0
  48. package/dist/rmg-service/src/services/schemas/WebhookQueueActionRequest.d.ts +10 -0
  49. package/dist/rmg-service/src/services/schemas/WebhookQueueActionRequest.js +4 -0
  50. package/dist/rmg-service/src/services/schemas/WebhookQueueActionResponse.d.ts +10 -0
  51. package/dist/rmg-service/src/services/schemas/WebhookQueueActionResponse.js +4 -0
  52. package/package.json +1 -1
  53. package/dist/rmg-service/src/services/schemas/TaskExecuteConfig.d.ts +0 -10
  54. /package/dist/rmg-service/src/services/schemas/{TaskExecuteConfig.js → ExecutionOutputV2Dto.js} +0 -0
@@ -0,0 +1,28 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ExecutionOutputsV2ResponseResponse } from '../responses/ExecutionOutputsV2ResponseResponse';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface GetOrchestrationExecutionActivityOutputsV2QueryPathParams {
7
+ releaseId: string;
8
+ phaseIdentifier: string;
9
+ activityIdentifier: string;
10
+ }
11
+ export interface GetOrchestrationExecutionActivityOutputsV2QueryQueryParams {
12
+ activityExecutionId?: string;
13
+ orgIdentifier?: string;
14
+ projectIdentifier?: string;
15
+ }
16
+ export interface GetOrchestrationExecutionActivityOutputsV2QueryHeaderParams {
17
+ 'Harness-Account': string;
18
+ }
19
+ export type GetOrchestrationExecutionActivityOutputsV2OkResponse = ResponseWithPagination<ExecutionOutputsV2ResponseResponse>;
20
+ export type GetOrchestrationExecutionActivityOutputsV2ErrorResponse = ErrorResponseResponse;
21
+ export interface GetOrchestrationExecutionActivityOutputsV2Props extends GetOrchestrationExecutionActivityOutputsV2QueryPathParams, Omit<FetcherOptions<GetOrchestrationExecutionActivityOutputsV2QueryQueryParams, unknown, GetOrchestrationExecutionActivityOutputsV2QueryHeaderParams>, 'url'> {
22
+ queryParams: GetOrchestrationExecutionActivityOutputsV2QueryQueryParams;
23
+ }
24
+ export declare function getOrchestrationExecutionActivityOutputsV2(props: GetOrchestrationExecutionActivityOutputsV2Props): Promise<GetOrchestrationExecutionActivityOutputsV2OkResponse>;
25
+ /**
26
+ * Retrieve grouped output values for a specific activity execution (v2 format)
27
+ */
28
+ export declare function useGetOrchestrationExecutionActivityOutputsV2Query(props: GetOrchestrationExecutionActivityOutputsV2Props, options?: Omit<UseQueryOptions<GetOrchestrationExecutionActivityOutputsV2OkResponse, GetOrchestrationExecutionActivityOutputsV2ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetOrchestrationExecutionActivityOutputsV2OkResponse, 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 getOrchestrationExecutionActivityOutputsV2(props) {
7
+ return fetcher(Object.assign({ url: `/orchestration/execution/release/${props.releaseId}/phase/${props.phaseIdentifier}/activity/${props.activityIdentifier}/output/v2`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Retrieve grouped output values for a specific activity execution (v2 format)
11
+ */
12
+ export function useGetOrchestrationExecutionActivityOutputsV2Query(props, options) {
13
+ return useQuery([
14
+ 'get-orchestration-execution-activity-outputs-v2',
15
+ props.releaseId,
16
+ props.phaseIdentifier,
17
+ props.activityIdentifier,
18
+ props.queryParams,
19
+ ], ({ signal }) => getOrchestrationExecutionActivityOutputsV2(Object.assign(Object.assign({}, props), { signal })), options);
20
+ }
@@ -0,0 +1,27 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ExecutionOutputsV2ResponseResponse } from '../responses/ExecutionOutputsV2ResponseResponse';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface GetOrchestrationExecutionPhaseOutputsV2QueryPathParams {
7
+ releaseId: string;
8
+ phaseIdentifier: string;
9
+ }
10
+ export interface GetOrchestrationExecutionPhaseOutputsV2QueryQueryParams {
11
+ phaseExecutionId?: string;
12
+ orgIdentifier?: string;
13
+ projectIdentifier?: string;
14
+ }
15
+ export interface GetOrchestrationExecutionPhaseOutputsV2QueryHeaderParams {
16
+ 'Harness-Account': string;
17
+ }
18
+ export type GetOrchestrationExecutionPhaseOutputsV2OkResponse = ResponseWithPagination<ExecutionOutputsV2ResponseResponse>;
19
+ export type GetOrchestrationExecutionPhaseOutputsV2ErrorResponse = ErrorResponseResponse;
20
+ export interface GetOrchestrationExecutionPhaseOutputsV2Props extends GetOrchestrationExecutionPhaseOutputsV2QueryPathParams, Omit<FetcherOptions<GetOrchestrationExecutionPhaseOutputsV2QueryQueryParams, unknown, GetOrchestrationExecutionPhaseOutputsV2QueryHeaderParams>, 'url'> {
21
+ queryParams: GetOrchestrationExecutionPhaseOutputsV2QueryQueryParams;
22
+ }
23
+ export declare function getOrchestrationExecutionPhaseOutputsV2(props: GetOrchestrationExecutionPhaseOutputsV2Props): Promise<GetOrchestrationExecutionPhaseOutputsV2OkResponse>;
24
+ /**
25
+ * Retrieve grouped output values for a specific phase execution (v2 format)
26
+ */
27
+ export declare function useGetOrchestrationExecutionPhaseOutputsV2Query(props: GetOrchestrationExecutionPhaseOutputsV2Props, options?: Omit<UseQueryOptions<GetOrchestrationExecutionPhaseOutputsV2OkResponse, GetOrchestrationExecutionPhaseOutputsV2ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetOrchestrationExecutionPhaseOutputsV2OkResponse, 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 getOrchestrationExecutionPhaseOutputsV2(props) {
7
+ return fetcher(Object.assign({ url: `/orchestration/execution/release/${props.releaseId}/phase/${props.phaseIdentifier}/output/v2`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Retrieve grouped output values for a specific phase execution (v2 format)
11
+ */
12
+ export function useGetOrchestrationExecutionPhaseOutputsV2Query(props, options) {
13
+ return useQuery([
14
+ 'get-orchestration-execution-phase-outputs-v2',
15
+ props.releaseId,
16
+ props.phaseIdentifier,
17
+ props.queryParams,
18
+ ], ({ signal }) => getOrchestrationExecutionPhaseOutputsV2(Object.assign(Object.assign({}, props), { signal })), options);
19
+ }
@@ -1,5 +1,5 @@
1
1
  import { UseQueryOptions } from '@tanstack/react-query';
2
- import type { OrchestrationExecutionPhase } from '../schemas/OrchestrationExecutionPhase';
2
+ import type { OrchestrationExecutionPhasesResponse } from '../schemas/OrchestrationExecutionPhasesResponse';
3
3
  import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
4
  import type { ResponseWithPagination } from '../helpers';
5
5
  import { FetcherOptions } from '../../../../fetcher/index.js';
@@ -14,21 +14,7 @@ export interface GetOrchestrationExecutionPhasesQueryQueryParams {
14
14
  export interface GetOrchestrationExecutionPhasesQueryHeaderParams {
15
15
  'Harness-Account': string;
16
16
  }
17
- export type GetOrchestrationExecutionPhasesOkResponse = ResponseWithPagination<{
18
- phases: OrchestrationExecutionPhase[];
19
- /**
20
- * ID of the process execution
21
- */
22
- process_execution_id?: string;
23
- /**
24
- * ID of the release
25
- */
26
- release_id: string;
27
- /**
28
- * Total number of currently running phases
29
- */
30
- total_running_phases: number;
31
- }>;
17
+ export type GetOrchestrationExecutionPhasesOkResponse = ResponseWithPagination<OrchestrationExecutionPhasesResponse>;
32
18
  export type GetOrchestrationExecutionPhasesErrorResponse = ErrorResponseResponse;
33
19
  export interface GetOrchestrationExecutionPhasesProps extends GetOrchestrationExecutionPhasesQueryPathParams, Omit<FetcherOptions<GetOrchestrationExecutionPhasesQueryQueryParams, unknown, GetOrchestrationExecutionPhasesQueryHeaderParams>, 'url'> {
34
20
  queryParams: GetOrchestrationExecutionPhasesQueryQueryParams;
@@ -0,0 +1,63 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ProcessExecutionDto } from '../schemas/ProcessExecutionDto';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { OrchestrationStatusList } from '../schemas/OrchestrationStatusList';
5
+ import type { ResponseWithPagination } from '../helpers';
6
+ import { FetcherOptions } from '../../../../fetcher/index.js';
7
+ export interface GetOrchestrationProcessExecutionsQueryPathParams {
8
+ identifier: string;
9
+ }
10
+ export interface GetOrchestrationProcessExecutionsQueryQueryParams {
11
+ orgIdentifier?: string;
12
+ projectIdentifier?: string;
13
+ page?: number;
14
+ size?: number;
15
+ sort?: string[];
16
+ executionType?: 'PROCESS' | 'RELEASE';
17
+ statuses?: OrchestrationStatusList;
18
+ /**
19
+ * @format int64
20
+ */
21
+ startTs?: number;
22
+ /**
23
+ * @format int64
24
+ */
25
+ endTs?: number;
26
+ }
27
+ export interface GetOrchestrationProcessExecutionsQueryHeaderParams {
28
+ 'Harness-Account': string;
29
+ }
30
+ export type GetOrchestrationProcessExecutionsOkResponse = ResponseWithPagination<{
31
+ content: {
32
+ content: ProcessExecutionDto[];
33
+ /**
34
+ * Whether this is the last page
35
+ */
36
+ last?: boolean;
37
+ /**
38
+ * Current page number
39
+ */
40
+ number: number;
41
+ /**
42
+ * Page size
43
+ */
44
+ size: number;
45
+ /**
46
+ * Total number of process executions
47
+ */
48
+ totalElements: number;
49
+ /**
50
+ * Total number of pages
51
+ */
52
+ totalPages: number;
53
+ };
54
+ }>;
55
+ export type GetOrchestrationProcessExecutionsErrorResponse = ErrorResponseResponse;
56
+ export interface GetOrchestrationProcessExecutionsProps extends GetOrchestrationProcessExecutionsQueryPathParams, Omit<FetcherOptions<GetOrchestrationProcessExecutionsQueryQueryParams, unknown, GetOrchestrationProcessExecutionsQueryHeaderParams>, 'url'> {
57
+ queryParams: GetOrchestrationProcessExecutionsQueryQueryParams;
58
+ }
59
+ export declare function getOrchestrationProcessExecutions(props: GetOrchestrationProcessExecutionsProps): Promise<GetOrchestrationProcessExecutionsOkResponse>;
60
+ /**
61
+ * Get list of all executions (on-the-go runs) for a specific process
62
+ */
63
+ export declare function useGetOrchestrationProcessExecutionsQuery(props: GetOrchestrationProcessExecutionsProps, options?: Omit<UseQueryOptions<GetOrchestrationProcessExecutionsOkResponse, GetOrchestrationProcessExecutionsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetOrchestrationProcessExecutionsOkResponse, 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 getOrchestrationProcessExecutions(props) {
7
+ return fetcher(Object.assign({ url: `/orchestration/process/${props.identifier}/executions`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Get list of all executions (on-the-go runs) for a specific process
11
+ */
12
+ export function useGetOrchestrationProcessExecutionsQuery(props, options) {
13
+ return useQuery(['get-orchestrationProcess-executions', props.identifier, props.queryParams], ({ signal }) => getOrchestrationProcessExecutions(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -10,7 +10,6 @@ export interface GetOrchestrationProcessSummaryQueryQueryParams {
10
10
  page?: number;
11
11
  size?: number;
12
12
  sort?: string[];
13
- processIdentifiers?: string[];
14
13
  }
15
14
  export interface GetOrchestrationProcessSummaryQueryHeaderParams {
16
15
  'Harness-Account': string;
@@ -0,0 +1,31 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { OrchestrationExecutionActivitiesPaginatedResponseResponse } from '../responses/OrchestrationExecutionActivitiesPaginatedResponseResponse';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface GetProcessExecutionActivitiesPaginatedQueryPathParams {
7
+ executionId: string;
8
+ }
9
+ export interface GetProcessExecutionActivitiesPaginatedQueryQueryParams {
10
+ orgIdentifier?: string;
11
+ projectIdentifier?: string;
12
+ page?: number;
13
+ size?: number;
14
+ sort?: string[];
15
+ searchTerm?: string;
16
+ phaseExecutionId?: string;
17
+ status?: string[];
18
+ }
19
+ export interface GetProcessExecutionActivitiesPaginatedQueryHeaderParams {
20
+ 'Harness-Account': string;
21
+ }
22
+ export type GetProcessExecutionActivitiesPaginatedOkResponse = ResponseWithPagination<OrchestrationExecutionActivitiesPaginatedResponseResponse>;
23
+ export type GetProcessExecutionActivitiesPaginatedErrorResponse = ErrorResponseResponse;
24
+ export interface GetProcessExecutionActivitiesPaginatedProps extends GetProcessExecutionActivitiesPaginatedQueryPathParams, Omit<FetcherOptions<GetProcessExecutionActivitiesPaginatedQueryQueryParams, unknown, GetProcessExecutionActivitiesPaginatedQueryHeaderParams>, 'url'> {
25
+ queryParams: GetProcessExecutionActivitiesPaginatedQueryQueryParams;
26
+ }
27
+ export declare function getProcessExecutionActivitiesPaginated(props: GetProcessExecutionActivitiesPaginatedProps): Promise<GetProcessExecutionActivitiesPaginatedOkResponse>;
28
+ /**
29
+ * Retrieve paginated list of activities for a process execution.
30
+ */
31
+ export declare function useGetProcessExecutionActivitiesPaginatedQuery(props: GetProcessExecutionActivitiesPaginatedProps, options?: Omit<UseQueryOptions<GetProcessExecutionActivitiesPaginatedOkResponse, GetProcessExecutionActivitiesPaginatedErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetProcessExecutionActivitiesPaginatedOkResponse, 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 getProcessExecutionActivitiesPaginated(props) {
7
+ return fetcher(Object.assign({ url: `/orchestration/process/execution/${props.executionId}/activity/list`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Retrieve paginated list of activities for a process execution.
11
+ */
12
+ export function useGetProcessExecutionActivitiesPaginatedQuery(props, options) {
13
+ return useQuery(['get-process-execution-activities-paginated', props.executionId, props.queryParams], ({ signal }) => getProcessExecutionActivitiesPaginated(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,26 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { OrchestrationExecutionPhasesResponse } from '../schemas/OrchestrationExecutionPhasesResponse';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface GetProcessExecutionPhasesQueryPathParams {
7
+ executionId: string;
8
+ }
9
+ export interface GetProcessExecutionPhasesQueryQueryParams {
10
+ status?: string[];
11
+ orgIdentifier?: string;
12
+ projectIdentifier?: string;
13
+ }
14
+ export interface GetProcessExecutionPhasesQueryHeaderParams {
15
+ 'Harness-Account': string;
16
+ }
17
+ export type GetProcessExecutionPhasesOkResponse = ResponseWithPagination<OrchestrationExecutionPhasesResponse>;
18
+ export type GetProcessExecutionPhasesErrorResponse = ErrorResponseResponse;
19
+ export interface GetProcessExecutionPhasesProps extends GetProcessExecutionPhasesQueryPathParams, Omit<FetcherOptions<GetProcessExecutionPhasesQueryQueryParams, unknown, GetProcessExecutionPhasesQueryHeaderParams>, 'url'> {
20
+ queryParams: GetProcessExecutionPhasesQueryQueryParams;
21
+ }
22
+ export declare function getProcessExecutionPhases(props: GetProcessExecutionPhasesProps): Promise<GetProcessExecutionPhasesOkResponse>;
23
+ /**
24
+ * Retrieve all phases for a specific process execution.
25
+ */
26
+ export declare function useGetProcessExecutionPhasesQuery(props: GetProcessExecutionPhasesProps, options?: Omit<UseQueryOptions<GetProcessExecutionPhasesOkResponse, GetProcessExecutionPhasesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetProcessExecutionPhasesOkResponse, 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 getProcessExecutionPhases(props) {
7
+ return fetcher(Object.assign({ url: `/orchestration/process/execution/${props.executionId}/phases`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Retrieve all phases for a specific process execution.
11
+ */
12
+ export function useGetProcessExecutionPhasesQuery(props, options) {
13
+ return useQuery(['get-process-execution-phases', props.executionId, props.queryParams], ({ signal }) => getProcessExecutionPhases(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,25 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { GetProcessExecutionResponseResponse } from '../responses/GetProcessExecutionResponseResponse';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface GetProcessExecutionQueryPathParams {
7
+ executionId: string;
8
+ }
9
+ export interface GetProcessExecutionQueryQueryParams {
10
+ orgIdentifier?: string;
11
+ projectIdentifier?: string;
12
+ }
13
+ export interface GetProcessExecutionQueryHeaderParams {
14
+ 'Harness-Account': string;
15
+ }
16
+ export type GetProcessExecutionOkResponse = ResponseWithPagination<GetProcessExecutionResponseResponse>;
17
+ export type GetProcessExecutionErrorResponse = ErrorResponseResponse;
18
+ export interface GetProcessExecutionProps extends GetProcessExecutionQueryPathParams, Omit<FetcherOptions<GetProcessExecutionQueryQueryParams, unknown, GetProcessExecutionQueryHeaderParams>, 'url'> {
19
+ queryParams: GetProcessExecutionQueryQueryParams;
20
+ }
21
+ export declare function getProcessExecution(props: GetProcessExecutionProps): Promise<GetProcessExecutionOkResponse>;
22
+ /**
23
+ * Retrieve a process execution by ID, including persisted execution status.
24
+ */
25
+ export declare function useGetProcessExecutionQuery(props: GetProcessExecutionProps, options?: Omit<UseQueryOptions<GetProcessExecutionOkResponse, GetProcessExecutionErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetProcessExecutionOkResponse, 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 getProcessExecution(props) {
7
+ return fetcher(Object.assign({ url: `/orchestration/process/execution/${props.executionId}`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Retrieve a process execution by ID, including persisted execution status.
11
+ */
12
+ export function useGetProcessExecutionQuery(props, options) {
13
+ return useQuery(['get-process-execution', props.executionId, props.queryParams], ({ signal }) => getProcessExecution(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,36 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ExecuteProcessResponseResponse } from '../responses/ExecuteProcessResponseResponse';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface PostOrchestrationProcessExecuteMutationPathParams {
7
+ identifier: string;
8
+ }
9
+ export interface PostOrchestrationProcessExecuteMutationQueryParams {
10
+ orgIdentifier?: string;
11
+ projectIdentifier?: string;
12
+ }
13
+ export interface PostOrchestrationProcessExecuteMutationHeaderParams {
14
+ 'Harness-Account': string;
15
+ }
16
+ export type PostOrchestrationProcessExecuteRequestBody = {
17
+ /**
18
+ * Process input identifier to use for this execution (required)
19
+ */
20
+ processInputIdentifier: string;
21
+ /**
22
+ * Release input YAML to configure global and phase inputs
23
+ */
24
+ releaseInputYaml: string;
25
+ };
26
+ export type PostOrchestrationProcessExecuteOkResponse = ResponseWithPagination<ExecuteProcessResponseResponse>;
27
+ export type PostOrchestrationProcessExecuteErrorResponse = ErrorResponseResponse;
28
+ export interface PostOrchestrationProcessExecuteProps extends PostOrchestrationProcessExecuteMutationPathParams, Omit<FetcherOptions<PostOrchestrationProcessExecuteMutationQueryParams, PostOrchestrationProcessExecuteRequestBody, PostOrchestrationProcessExecuteMutationHeaderParams>, 'url'> {
29
+ queryParams: PostOrchestrationProcessExecuteMutationQueryParams;
30
+ body: PostOrchestrationProcessExecuteRequestBody;
31
+ }
32
+ export declare function postOrchestrationProcessExecute(props: PostOrchestrationProcessExecuteProps): Promise<PostOrchestrationProcessExecuteOkResponse>;
33
+ /**
34
+ * Execute an orchestration process without creating a release (on-the-go execution)
35
+ */
36
+ export declare function usePostOrchestrationProcessExecuteMutation(options?: Omit<UseMutationOptions<PostOrchestrationProcessExecuteOkResponse, PostOrchestrationProcessExecuteErrorResponse, PostOrchestrationProcessExecuteProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<PostOrchestrationProcessExecuteOkResponse, import("..").Error, PostOrchestrationProcessExecuteProps, 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 postOrchestrationProcessExecute(props) {
7
+ return fetcher(Object.assign({ url: `/orchestration/process/${props.identifier}/execute`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Execute an orchestration process without creating a release (on-the-go execution)
11
+ */
12
+ export function usePostOrchestrationProcessExecuteMutation(options) {
13
+ return useMutation((mutateProps) => postOrchestrationProcessExecute(mutateProps), options);
14
+ }
@@ -0,0 +1,36 @@
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 PostProcessExecutionActionMutationPathParams {
6
+ executionId: string;
7
+ }
8
+ export interface PostProcessExecutionActionMutationQueryParams {
9
+ orgIdentifier?: string;
10
+ projectIdentifier?: string;
11
+ }
12
+ export interface PostProcessExecutionActionMutationHeaderParams {
13
+ 'Harness-Account': string;
14
+ }
15
+ export type PostProcessExecutionActionRequestBody = {
16
+ /**
17
+ * Action to perform on the process execution
18
+ */
19
+ action: 'Abort';
20
+ };
21
+ export type PostProcessExecutionActionOkResponse = ResponseWithPagination<{
22
+ /**
23
+ * Result status
24
+ */
25
+ status?: string;
26
+ }>;
27
+ export type PostProcessExecutionActionErrorResponse = ErrorResponseResponse;
28
+ export interface PostProcessExecutionActionProps extends PostProcessExecutionActionMutationPathParams, Omit<FetcherOptions<PostProcessExecutionActionMutationQueryParams, PostProcessExecutionActionRequestBody, PostProcessExecutionActionMutationHeaderParams>, 'url'> {
29
+ queryParams: PostProcessExecutionActionMutationQueryParams;
30
+ body: PostProcessExecutionActionRequestBody;
31
+ }
32
+ export declare function postProcessExecutionAction(props: PostProcessExecutionActionProps): Promise<PostProcessExecutionActionOkResponse>;
33
+ /**
34
+ * Execute an action on a process execution. Currently only Abort is supported.
35
+ */
36
+ export declare function usePostProcessExecutionActionMutation(options?: Omit<UseMutationOptions<PostProcessExecutionActionOkResponse, PostProcessExecutionActionErrorResponse, PostProcessExecutionActionProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<PostProcessExecutionActionOkResponse, import("..").Error, PostProcessExecutionActionProps, 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 postProcessExecutionAction(props) {
7
+ return fetcher(Object.assign({ url: `/orchestration/process/execution/${props.executionId}/action`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Execute an action on a process execution. Currently only Abort is supported.
11
+ */
12
+ export function usePostProcessExecutionActionMutation(options) {
13
+ return useMutation((mutateProps) => postProcessExecutionAction(mutateProps), options);
14
+ }
@@ -0,0 +1,28 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { WebhookQueueActionResponseResponse } from '../responses/WebhookQueueActionResponseResponse';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { WebhookQueueActionRequestRequestBody } from '../requestBodies/WebhookQueueActionRequestRequestBody';
5
+ import type { ResponseWithPagination } from '../helpers';
6
+ import { FetcherOptions } from '../../../../fetcher/index.js';
7
+ export interface PostWebhookQueueActionMutationPathParams {
8
+ activityExecutionId: string;
9
+ }
10
+ export interface PostWebhookQueueActionMutationQueryParams {
11
+ orgIdentifier?: string;
12
+ projectIdentifier?: string;
13
+ }
14
+ export interface PostWebhookQueueActionMutationHeaderParams {
15
+ 'Harness-Account': string;
16
+ }
17
+ export type PostWebhookQueueActionRequestBody = WebhookQueueActionRequestRequestBody;
18
+ export type PostWebhookQueueActionOkResponse = ResponseWithPagination<WebhookQueueActionResponseResponse>;
19
+ export type PostWebhookQueueActionErrorResponse = ErrorResponseResponse;
20
+ export interface PostWebhookQueueActionProps extends PostWebhookQueueActionMutationPathParams, Omit<FetcherOptions<PostWebhookQueueActionMutationQueryParams, PostWebhookQueueActionRequestBody, PostWebhookQueueActionMutationHeaderParams>, 'url'> {
21
+ queryParams: PostWebhookQueueActionMutationQueryParams;
22
+ body: PostWebhookQueueActionRequestBody;
23
+ }
24
+ export declare function postWebhookQueueAction(props: PostWebhookQueueActionProps): Promise<PostWebhookQueueActionOkResponse>;
25
+ /**
26
+ * Publishes an APPROVE or REJECT action for the webhook activity queue. Processing is async via Kafka.
27
+ */
28
+ export declare function usePostWebhookQueueActionMutation(options?: Omit<UseMutationOptions<PostWebhookQueueActionOkResponse, PostWebhookQueueActionErrorResponse, PostWebhookQueueActionProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<PostWebhookQueueActionOkResponse, import("..").Error, PostWebhookQueueActionProps, 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 postWebhookQueueAction(props) {
7
+ return fetcher(Object.assign({ url: `/v1/webhook/${props.activityExecutionId}/queue/action`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Publishes an APPROVE or REJECT action for the webhook activity queue. Processing is async via Kafka.
11
+ */
12
+ export function usePostWebhookQueueActionMutation(options) {
13
+ return useMutation((mutateProps) => postWebhookQueueAction(mutateProps), options);
14
+ }
@@ -51,16 +51,22 @@ export type { GetOrchestrationExecutionActivityInputsErrorResponse, GetOrchestra
51
51
  export { getOrchestrationExecutionActivityInputs, useGetOrchestrationExecutionActivityInputsQuery, } from './hooks/useGetOrchestrationExecutionActivityInputsQuery';
52
52
  export type { GetOrchestrationExecutionActivityOutputsErrorResponse, GetOrchestrationExecutionActivityOutputsOkResponse, GetOrchestrationExecutionActivityOutputsProps, GetOrchestrationExecutionActivityOutputsQueryPathParams, GetOrchestrationExecutionActivityOutputsQueryQueryParams, } from './hooks/useGetOrchestrationExecutionActivityOutputsQuery';
53
53
  export { getOrchestrationExecutionActivityOutputs, useGetOrchestrationExecutionActivityOutputsQuery, } from './hooks/useGetOrchestrationExecutionActivityOutputsQuery';
54
+ export type { GetOrchestrationExecutionActivityOutputsV2ErrorResponse, GetOrchestrationExecutionActivityOutputsV2OkResponse, GetOrchestrationExecutionActivityOutputsV2Props, GetOrchestrationExecutionActivityOutputsV2QueryPathParams, GetOrchestrationExecutionActivityOutputsV2QueryQueryParams, } from './hooks/useGetOrchestrationExecutionActivityOutputsV2Query';
55
+ export { getOrchestrationExecutionActivityOutputsV2, useGetOrchestrationExecutionActivityOutputsV2Query, } from './hooks/useGetOrchestrationExecutionActivityOutputsV2Query';
54
56
  export type { GetOrchestrationExecutionActivityErrorResponse, GetOrchestrationExecutionActivityOkResponse, GetOrchestrationExecutionActivityProps, GetOrchestrationExecutionActivityQueryPathParams, GetOrchestrationExecutionActivityQueryQueryParams, } from './hooks/useGetOrchestrationExecutionActivityQuery';
55
57
  export { getOrchestrationExecutionActivity, useGetOrchestrationExecutionActivityQuery, } from './hooks/useGetOrchestrationExecutionActivityQuery';
56
58
  export type { GetOrchestrationExecutionPhaseOutputsErrorResponse, GetOrchestrationExecutionPhaseOutputsOkResponse, GetOrchestrationExecutionPhaseOutputsProps, GetOrchestrationExecutionPhaseOutputsQueryPathParams, GetOrchestrationExecutionPhaseOutputsQueryQueryParams, } from './hooks/useGetOrchestrationExecutionPhaseOutputsQuery';
57
59
  export { getOrchestrationExecutionPhaseOutputs, useGetOrchestrationExecutionPhaseOutputsQuery, } from './hooks/useGetOrchestrationExecutionPhaseOutputsQuery';
60
+ export type { GetOrchestrationExecutionPhaseOutputsV2ErrorResponse, GetOrchestrationExecutionPhaseOutputsV2OkResponse, GetOrchestrationExecutionPhaseOutputsV2Props, GetOrchestrationExecutionPhaseOutputsV2QueryPathParams, GetOrchestrationExecutionPhaseOutputsV2QueryQueryParams, } from './hooks/useGetOrchestrationExecutionPhaseOutputsV2Query';
61
+ export { getOrchestrationExecutionPhaseOutputsV2, useGetOrchestrationExecutionPhaseOutputsV2Query, } from './hooks/useGetOrchestrationExecutionPhaseOutputsV2Query';
58
62
  export type { GetOrchestrationExecutionPhasesErrorResponse, GetOrchestrationExecutionPhasesOkResponse, GetOrchestrationExecutionPhasesProps, GetOrchestrationExecutionPhasesQueryPathParams, GetOrchestrationExecutionPhasesQueryQueryParams, } from './hooks/useGetOrchestrationExecutionPhasesQuery';
59
63
  export { getOrchestrationExecutionPhases, useGetOrchestrationExecutionPhasesQuery, } from './hooks/useGetOrchestrationExecutionPhasesQuery';
60
64
  export type { GetOrchestrationExecutionReleaseInputErrorResponse, GetOrchestrationExecutionReleaseInputOkResponse, GetOrchestrationExecutionReleaseInputProps, GetOrchestrationExecutionReleaseInputQueryPathParams, GetOrchestrationExecutionReleaseInputQueryQueryParams, } from './hooks/useGetOrchestrationExecutionReleaseInputQuery';
61
65
  export { getOrchestrationExecutionReleaseInput, useGetOrchestrationExecutionReleaseInputQuery, } from './hooks/useGetOrchestrationExecutionReleaseInputQuery';
62
66
  export type { GetOrchestrationExecutionTasksErrorResponse, GetOrchestrationExecutionTasksOkResponse, GetOrchestrationExecutionTasksProps, GetOrchestrationExecutionTasksQueryPathParams, GetOrchestrationExecutionTasksQueryQueryParams, } from './hooks/useGetOrchestrationExecutionTasksQuery';
63
67
  export { getOrchestrationExecutionTasks, useGetOrchestrationExecutionTasksQuery, } from './hooks/useGetOrchestrationExecutionTasksQuery';
68
+ export type { GetOrchestrationProcessExecutionsErrorResponse, GetOrchestrationProcessExecutionsOkResponse, GetOrchestrationProcessExecutionsProps, GetOrchestrationProcessExecutionsQueryPathParams, GetOrchestrationProcessExecutionsQueryQueryParams, } from './hooks/useGetOrchestrationProcessExecutionsQuery';
69
+ export { getOrchestrationProcessExecutions, useGetOrchestrationProcessExecutionsQuery, } from './hooks/useGetOrchestrationProcessExecutionsQuery';
64
70
  export type { GetOrchestrationProcessInputErrorResponse, GetOrchestrationProcessInputOkResponse, GetOrchestrationProcessInputProps, GetOrchestrationProcessInputQueryPathParams, GetOrchestrationProcessInputQueryQueryParams, } from './hooks/useGetOrchestrationProcessInputQuery';
65
71
  export { getOrchestrationProcessInput, useGetOrchestrationProcessInputQuery, } from './hooks/useGetOrchestrationProcessInputQuery';
66
72
  export type { GetOrchestrationProcessInputSummaryErrorResponse, GetOrchestrationProcessInputSummaryOkResponse, GetOrchestrationProcessInputSummaryProps, GetOrchestrationProcessInputSummaryQueryPathParams, GetOrchestrationProcessInputSummaryQueryQueryParams, } from './hooks/useGetOrchestrationProcessInputSummaryQuery';
@@ -69,6 +75,12 @@ export type { GetOrchestrationProcessErrorResponse, GetOrchestrationProcessOkRes
69
75
  export { getOrchestrationProcess, useGetOrchestrationProcessQuery, } from './hooks/useGetOrchestrationProcessQuery';
70
76
  export type { GetOrchestrationProcessSummaryErrorResponse, GetOrchestrationProcessSummaryOkResponse, GetOrchestrationProcessSummaryProps, GetOrchestrationProcessSummaryQueryQueryParams, } from './hooks/useGetOrchestrationProcessSummaryQuery';
71
77
  export { getOrchestrationProcessSummary, useGetOrchestrationProcessSummaryQuery, } from './hooks/useGetOrchestrationProcessSummaryQuery';
78
+ export type { GetProcessExecutionActivitiesPaginatedErrorResponse, GetProcessExecutionActivitiesPaginatedOkResponse, GetProcessExecutionActivitiesPaginatedProps, GetProcessExecutionActivitiesPaginatedQueryPathParams, GetProcessExecutionActivitiesPaginatedQueryQueryParams, } from './hooks/useGetProcessExecutionActivitiesPaginatedQuery';
79
+ export { getProcessExecutionActivitiesPaginated, useGetProcessExecutionActivitiesPaginatedQuery, } from './hooks/useGetProcessExecutionActivitiesPaginatedQuery';
80
+ export type { GetProcessExecutionPhasesErrorResponse, GetProcessExecutionPhasesOkResponse, GetProcessExecutionPhasesProps, GetProcessExecutionPhasesQueryPathParams, GetProcessExecutionPhasesQueryQueryParams, } from './hooks/useGetProcessExecutionPhasesQuery';
81
+ export { getProcessExecutionPhases, useGetProcessExecutionPhasesQuery, } from './hooks/useGetProcessExecutionPhasesQuery';
82
+ export type { GetProcessExecutionErrorResponse, GetProcessExecutionOkResponse, GetProcessExecutionProps, GetProcessExecutionQueryPathParams, GetProcessExecutionQueryQueryParams, } from './hooks/useGetProcessExecutionQuery';
83
+ export { getProcessExecution, useGetProcessExecutionQuery, } from './hooks/useGetProcessExecutionQuery';
72
84
  export type { GetReleaseActivitiesErrorResponse, GetReleaseActivitiesOkResponse, GetReleaseActivitiesProps, GetReleaseActivitiesQueryPathParams, GetReleaseActivitiesQueryQueryParams, } from './hooks/useGetReleaseActivitiesQuery';
73
85
  export { getReleaseActivities, useGetReleaseActivitiesQuery, } from './hooks/useGetReleaseActivitiesQuery';
74
86
  export type { GetReleaseConflictsErrorResponse, GetReleaseConflictsOkResponse, GetReleaseConflictsProps, GetReleaseConflictsQueryPathParams, GetReleaseConflictsQueryQueryParams, } from './hooks/useGetReleaseConflictsQuery';
@@ -119,12 +131,16 @@ export type { PostOrchestrationActivityErrorResponse, PostOrchestrationActivityM
119
131
  export { postOrchestrationActivity, usePostOrchestrationActivityMutation, } from './hooks/usePostOrchestrationActivityMutation';
120
132
  export type { PostOrchestrationProcessAttachedReleaseGroupsErrorResponse, PostOrchestrationProcessAttachedReleaseGroupsMutationPathParams, PostOrchestrationProcessAttachedReleaseGroupsMutationQueryParams, PostOrchestrationProcessAttachedReleaseGroupsOkResponse, PostOrchestrationProcessAttachedReleaseGroupsProps, PostOrchestrationProcessAttachedReleaseGroupsRequestBody, } from './hooks/usePostOrchestrationProcessAttachedReleaseGroupsMutation';
121
133
  export { postOrchestrationProcessAttachedReleaseGroups, usePostOrchestrationProcessAttachedReleaseGroupsMutation, } from './hooks/usePostOrchestrationProcessAttachedReleaseGroupsMutation';
134
+ export type { PostOrchestrationProcessExecuteErrorResponse, PostOrchestrationProcessExecuteMutationPathParams, PostOrchestrationProcessExecuteMutationQueryParams, PostOrchestrationProcessExecuteOkResponse, PostOrchestrationProcessExecuteProps, PostOrchestrationProcessExecuteRequestBody, } from './hooks/usePostOrchestrationProcessExecuteMutation';
135
+ export { postOrchestrationProcessExecute, usePostOrchestrationProcessExecuteMutation, } from './hooks/usePostOrchestrationProcessExecuteMutation';
122
136
  export type { PostOrchestrationProcessInputErrorResponse, PostOrchestrationProcessInputMutationPathParams, PostOrchestrationProcessInputMutationQueryParams, PostOrchestrationProcessInputOkResponse, PostOrchestrationProcessInputProps, PostOrchestrationProcessInputRequestBody, } from './hooks/usePostOrchestrationProcessInputMutation';
123
137
  export { postOrchestrationProcessInput, usePostOrchestrationProcessInputMutation, } from './hooks/usePostOrchestrationProcessInputMutation';
124
138
  export type { PostOrchestrationProcessInputValidateErrorResponse, PostOrchestrationProcessInputValidateMutationPathParams, PostOrchestrationProcessInputValidateMutationQueryParams, PostOrchestrationProcessInputValidateOkResponse, PostOrchestrationProcessInputValidateProps, } from './hooks/usePostOrchestrationProcessInputValidateMutation';
125
139
  export { postOrchestrationProcessInputValidate, usePostOrchestrationProcessInputValidateMutation, } from './hooks/usePostOrchestrationProcessInputValidateMutation';
126
140
  export type { PostOrchestrationProcessErrorResponse, PostOrchestrationProcessMutationQueryParams, PostOrchestrationProcessOkResponse, PostOrchestrationProcessProps, PostOrchestrationProcessRequestBody, } from './hooks/usePostOrchestrationProcessMutation';
127
141
  export { postOrchestrationProcess, usePostOrchestrationProcessMutation, } from './hooks/usePostOrchestrationProcessMutation';
142
+ export type { PostProcessExecutionActionErrorResponse, PostProcessExecutionActionMutationPathParams, PostProcessExecutionActionMutationQueryParams, PostProcessExecutionActionOkResponse, PostProcessExecutionActionProps, PostProcessExecutionActionRequestBody, } from './hooks/usePostProcessExecutionActionMutation';
143
+ export { postProcessExecutionAction, usePostProcessExecutionActionMutation, } from './hooks/usePostProcessExecutionActionMutation';
128
144
  export type { PostReleaseActionErrorResponse, PostReleaseActionMutationPathParams, PostReleaseActionMutationQueryParams, PostReleaseActionOkResponse, PostReleaseActionProps, PostReleaseActionRequestBody, } from './hooks/usePostReleaseActionMutation';
129
145
  export { postReleaseAction, usePostReleaseActionMutation, } from './hooks/usePostReleaseActionMutation';
130
146
  export type { PostReleaseAdhocErrorResponse, PostReleaseAdhocMutationQueryParams, PostReleaseAdhocOkResponse, PostReleaseAdhocProps, PostReleaseAdhocRequestBody, } from './hooks/usePostReleaseAdhocMutation';
@@ -141,6 +157,8 @@ export type { PostReleaseSubprocessTriggerErrorResponse, PostReleaseSubprocessTr
141
157
  export { postReleaseSubprocessTrigger, usePostReleaseSubprocessTriggerMutation, } from './hooks/usePostReleaseSubprocessTriggerMutation';
142
158
  export type { PostReleaseSummaryErrorResponse, PostReleaseSummaryMutationQueryParams, PostReleaseSummaryOkResponse, PostReleaseSummaryProps, PostReleaseSummaryRequestBody, } from './hooks/usePostReleaseSummaryMutation';
143
159
  export { postReleaseSummary, usePostReleaseSummaryMutation, } from './hooks/usePostReleaseSummaryMutation';
160
+ export type { PostWebhookQueueActionErrorResponse, PostWebhookQueueActionMutationPathParams, PostWebhookQueueActionMutationQueryParams, PostWebhookQueueActionOkResponse, PostWebhookQueueActionProps, PostWebhookQueueActionRequestBody, } from './hooks/usePostWebhookQueueActionMutation';
161
+ export { postWebhookQueueAction, usePostWebhookQueueActionMutation, } from './hooks/usePostWebhookQueueActionMutation';
144
162
  export type { PutOrchestrationActivityErrorResponse, PutOrchestrationActivityMutationPathParams, PutOrchestrationActivityMutationQueryParams, PutOrchestrationActivityOkResponse, PutOrchestrationActivityProps, PutOrchestrationActivityRequestBody, } from './hooks/usePutOrchestrationActivityMutation';
145
163
  export { putOrchestrationActivity, usePutOrchestrationActivityMutation, } from './hooks/usePutOrchestrationActivityMutation';
146
164
  export type { PutOrchestrationProcessInputErrorResponse, PutOrchestrationProcessInputMutationPathParams, PutOrchestrationProcessInputMutationQueryParams, PutOrchestrationProcessInputOkResponse, PutOrchestrationProcessInputProps, PutOrchestrationProcessInputRequestBody, } from './hooks/usePutOrchestrationProcessInputMutation';
@@ -184,6 +202,7 @@ export type { UpdateOrchestrationProcessInputRequestRequestBody } from './reques
184
202
  export type { UpdateOrchestrationProcessRequestRequestBody } from './requestBodies/UpdateOrchestrationProcessRequestRequestBody';
185
203
  export type { UpdateReleaseGroupRequestRequestBody } from './requestBodies/UpdateReleaseGroupRequestRequestBody';
186
204
  export type { UpdateReleaseRequestRequestBody } from './requestBodies/UpdateReleaseRequestRequestBody';
205
+ export type { WebhookQueueActionRequestRequestBody } from './requestBodies/WebhookQueueActionRequestRequestBody';
187
206
  export type { ActivityExecutionInputsResponseResponse } from './responses/ActivityExecutionInputsResponseResponse';
188
207
  export type { ActivityInputsResponseResponse } from './responses/ActivityInputsResponseResponse';
189
208
  export type { CreateAdHocReleaseResponseResponse } from './responses/CreateAdHocReleaseResponseResponse';
@@ -197,13 +216,16 @@ export type { EnvironmentDashboardResponseResponse } from './responses/Environme
197
216
  export type { EnvironmentListPerReleaseResponseResponse } from './responses/EnvironmentListPerReleaseResponseResponse';
198
217
  export type { ErrorResponseResponse } from './responses/ErrorResponseResponse';
199
218
  export type { EventsResponseResponse } from './responses/EventsResponseResponse';
219
+ export type { ExecuteProcessResponseResponse } from './responses/ExecuteProcessResponseResponse';
200
220
  export type { ExecutionOutputsResponseResponse } from './responses/ExecutionOutputsResponseResponse';
221
+ export type { ExecutionOutputsV2ResponseResponse } from './responses/ExecutionOutputsV2ResponseResponse';
201
222
  export type { ExecutionTasksListResponseResponse } from './responses/ExecutionTasksListResponseResponse';
202
223
  export type { FreezeDetailsResponseResponse } from './responses/FreezeDetailsResponseResponse';
203
224
  export type { FreezeListResponseResponse } from './responses/FreezeListResponseResponse';
204
225
  export type { GetOrchestrationActivityResponseResponse } from './responses/GetOrchestrationActivityResponseResponse';
205
226
  export type { GetOrchestrationProcessInputResponseResponse } from './responses/GetOrchestrationProcessInputResponseResponse';
206
227
  export type { GetOrchestrationProcessResponseResponse } from './responses/GetOrchestrationProcessResponseResponse';
228
+ export type { GetProcessExecutionResponseResponse } from './responses/GetProcessExecutionResponseResponse';
207
229
  export type { GetReleaseGroupResponseResponse } from './responses/GetReleaseGroupResponseResponse';
208
230
  export type { OnHoldActivityActionResponseResponse } from './responses/OnHoldActivityActionResponseResponse';
209
231
  export type { OrchestrationActivityListByProcessIdentifierResponseResponse } from './responses/OrchestrationActivityListByProcessIdentifierResponseResponse';
@@ -238,6 +260,7 @@ export type { UpdateReleaseResponseResponse } from './responses/UpdateReleaseRes
238
260
  export type { UpdateTaskCommentResponseResponse } from './responses/UpdateTaskCommentResponseResponse';
239
261
  export type { ValidateOrchestrationProcessInputResponseResponse } from './responses/ValidateOrchestrationProcessInputResponseResponse';
240
262
  export type { WebhookMatchedSignalExecutionSummaryListResponseResponse } from './responses/WebhookMatchedSignalExecutionSummaryListResponseResponse';
263
+ export type { WebhookQueueActionResponseResponse } from './responses/WebhookQueueActionResponseResponse';
241
264
  export type { AbortedBy } from './schemas/AbortedBy';
242
265
  export type { AcrArtifactMetadata } from './schemas/AcrArtifactMetadata';
243
266
  export type { ActivityCounts } from './schemas/ActivityCounts';
@@ -290,8 +313,11 @@ export type { EventDto } from './schemas/EventDto';
290
313
  export type { EventEntity } from './schemas/EventEntity';
291
314
  export type { EventMetadata } from './schemas/EventMetadata';
292
315
  export type { EventType } from './schemas/EventType';
316
+ export type { ExecuteProcessResponseDto } from './schemas/ExecuteProcessResponseDto';
293
317
  export type { ExecutionConflict } from './schemas/ExecutionConflict';
294
318
  export type { ExecutionOutputDto } from './schemas/ExecutionOutputDto';
319
+ export type { ExecutionOutputGroupDto } from './schemas/ExecutionOutputGroupDto';
320
+ export type { ExecutionOutputV2Dto } from './schemas/ExecutionOutputV2Dto';
295
321
  export type { ExecutionTaskDto } from './schemas/ExecutionTaskDto';
296
322
  export type { ExecutionTaskStatus } from './schemas/ExecutionTaskStatus';
297
323
  export type { ExecutionTriggerInfo } from './schemas/ExecutionTriggerInfo';
@@ -339,11 +365,13 @@ export type { OrchestrationExecutionActivity } from './schemas/OrchestrationExec
339
365
  export type { OrchestrationExecutionActivityDetail } from './schemas/OrchestrationExecutionActivityDetail';
340
366
  export type { OrchestrationExecutionActivityPaginated } from './schemas/OrchestrationExecutionActivityPaginated';
341
367
  export type { OrchestrationExecutionPhase } from './schemas/OrchestrationExecutionPhase';
368
+ export type { OrchestrationExecutionPhasesResponse } from './schemas/OrchestrationExecutionPhasesResponse';
342
369
  export type { OrchestrationPhaseYaml } from './schemas/OrchestrationPhaseYaml';
343
370
  export type { OrchestrationProcessDto } from './schemas/OrchestrationProcessDto';
344
371
  export type { OrchestrationProcessInputYaml } from './schemas/OrchestrationProcessInputYaml';
345
372
  export type { OrchestrationReleaseProcessYaml } from './schemas/OrchestrationReleaseProcessYaml';
346
373
  export type { OrchestrationStatus } from './schemas/OrchestrationStatus';
374
+ export type { OrchestrationStatusList } from './schemas/OrchestrationStatusList';
347
375
  export type { OutputVariable } from './schemas/OutputVariable';
348
376
  export type { Pageable } from './schemas/Pageable';
349
377
  export type { PageableSort } from './schemas/PageableSort';
@@ -355,6 +383,7 @@ export type { PipelineStageInfo } from './schemas/PipelineStageInfo';
355
383
  export type { PolicyMetadata } from './schemas/PolicyMetadata';
356
384
  export type { PolicySetMetadata } from './schemas/PolicySetMetadata';
357
385
  export type { PrimitiveInputVariable } from './schemas/PrimitiveInputVariable';
386
+ export type { ProcessExecutionDto } from './schemas/ProcessExecutionDto';
358
387
  export type { ProcessInputSummaryDto } from './schemas/ProcessInputSummaryDto';
359
388
  export type { ProcessInputValidationResponse } from './schemas/ProcessInputValidationResponse';
360
389
  export type { ReleaseActionRequest } from './schemas/ReleaseActionRequest';
@@ -398,7 +427,6 @@ export type { SubprocessTriggerRequest } from './schemas/SubprocessTriggerReques
398
427
  export type { SubprocessTriggerResponse } from './schemas/SubprocessTriggerResponse';
399
428
  export type { TaskCommentDto } from './schemas/TaskCommentDto';
400
429
  export type { TaskCommentsListResponseDto } from './schemas/TaskCommentsListResponseDto';
401
- export type { TaskExecuteConfig } from './schemas/TaskExecuteConfig';
402
430
  export type { TemplateReferenceSummary } from './schemas/TemplateReferenceSummary';
403
431
  export type { TimeRangeDto } from './schemas/TimeRangeDto';
404
432
  export type { TriggerType } from './schemas/TriggerType';
@@ -411,6 +439,8 @@ export type { User } from './schemas/User';
411
439
  export type { WebhookErrorResponse } from './schemas/WebhookErrorResponse';
412
440
  export type { WebhookEventType } from './schemas/WebhookEventType';
413
441
  export type { WebhookMetadataResponse } from './schemas/WebhookMetadataResponse';
442
+ export type { WebhookQueueActionRequest } from './schemas/WebhookQueueActionRequest';
443
+ export type { WebhookQueueActionResponse } from './schemas/WebhookQueueActionResponse';
414
444
  export type { WebhookSignalPipeline } from './schemas/WebhookSignalPipeline';
415
445
  export type { WebhookSignalRequest } from './schemas/WebhookSignalRequest';
416
446
  export type { WebhookSignalResponse } from './schemas/WebhookSignalResponse';
@@ -24,15 +24,21 @@ export { getOrchestrationExecutionActivitiesPaginated, useGetOrchestrationExecut
24
24
  export { getOrchestrationExecutionActivities, useGetOrchestrationExecutionActivitiesQuery, } from './hooks/useGetOrchestrationExecutionActivitiesQuery';
25
25
  export { getOrchestrationExecutionActivityInputs, useGetOrchestrationExecutionActivityInputsQuery, } from './hooks/useGetOrchestrationExecutionActivityInputsQuery';
26
26
  export { getOrchestrationExecutionActivityOutputs, useGetOrchestrationExecutionActivityOutputsQuery, } from './hooks/useGetOrchestrationExecutionActivityOutputsQuery';
27
+ export { getOrchestrationExecutionActivityOutputsV2, useGetOrchestrationExecutionActivityOutputsV2Query, } from './hooks/useGetOrchestrationExecutionActivityOutputsV2Query';
27
28
  export { getOrchestrationExecutionActivity, useGetOrchestrationExecutionActivityQuery, } from './hooks/useGetOrchestrationExecutionActivityQuery';
28
29
  export { getOrchestrationExecutionPhaseOutputs, useGetOrchestrationExecutionPhaseOutputsQuery, } from './hooks/useGetOrchestrationExecutionPhaseOutputsQuery';
30
+ export { getOrchestrationExecutionPhaseOutputsV2, useGetOrchestrationExecutionPhaseOutputsV2Query, } from './hooks/useGetOrchestrationExecutionPhaseOutputsV2Query';
29
31
  export { getOrchestrationExecutionPhases, useGetOrchestrationExecutionPhasesQuery, } from './hooks/useGetOrchestrationExecutionPhasesQuery';
30
32
  export { getOrchestrationExecutionReleaseInput, useGetOrchestrationExecutionReleaseInputQuery, } from './hooks/useGetOrchestrationExecutionReleaseInputQuery';
31
33
  export { getOrchestrationExecutionTasks, useGetOrchestrationExecutionTasksQuery, } from './hooks/useGetOrchestrationExecutionTasksQuery';
34
+ export { getOrchestrationProcessExecutions, useGetOrchestrationProcessExecutionsQuery, } from './hooks/useGetOrchestrationProcessExecutionsQuery';
32
35
  export { getOrchestrationProcessInput, useGetOrchestrationProcessInputQuery, } from './hooks/useGetOrchestrationProcessInputQuery';
33
36
  export { getOrchestrationProcessInputSummary, useGetOrchestrationProcessInputSummaryQuery, } from './hooks/useGetOrchestrationProcessInputSummaryQuery';
34
37
  export { getOrchestrationProcess, useGetOrchestrationProcessQuery, } from './hooks/useGetOrchestrationProcessQuery';
35
38
  export { getOrchestrationProcessSummary, useGetOrchestrationProcessSummaryQuery, } from './hooks/useGetOrchestrationProcessSummaryQuery';
39
+ export { getProcessExecutionActivitiesPaginated, useGetProcessExecutionActivitiesPaginatedQuery, } from './hooks/useGetProcessExecutionActivitiesPaginatedQuery';
40
+ export { getProcessExecutionPhases, useGetProcessExecutionPhasesQuery, } from './hooks/useGetProcessExecutionPhasesQuery';
41
+ export { getProcessExecution, useGetProcessExecutionQuery, } from './hooks/useGetProcessExecutionQuery';
36
42
  export { getReleaseActivities, useGetReleaseActivitiesQuery, } from './hooks/useGetReleaseActivitiesQuery';
37
43
  export { getReleaseConflicts, useGetReleaseConflictsQuery, } from './hooks/useGetReleaseConflictsQuery';
38
44
  export { getReleaseDayActivities, useGetReleaseDayActivitiesQuery, } from './hooks/useGetReleaseDayActivitiesQuery';
@@ -58,9 +64,11 @@ export { postActivityExecutionOutput, usePostActivityExecutionOutputMutation, }
58
64
  export { postOnHoldActivityAction, usePostOnHoldActivityActionMutation, } from './hooks/usePostOnHoldActivityActionMutation';
59
65
  export { postOrchestrationActivity, usePostOrchestrationActivityMutation, } from './hooks/usePostOrchestrationActivityMutation';
60
66
  export { postOrchestrationProcessAttachedReleaseGroups, usePostOrchestrationProcessAttachedReleaseGroupsMutation, } from './hooks/usePostOrchestrationProcessAttachedReleaseGroupsMutation';
67
+ export { postOrchestrationProcessExecute, usePostOrchestrationProcessExecuteMutation, } from './hooks/usePostOrchestrationProcessExecuteMutation';
61
68
  export { postOrchestrationProcessInput, usePostOrchestrationProcessInputMutation, } from './hooks/usePostOrchestrationProcessInputMutation';
62
69
  export { postOrchestrationProcessInputValidate, usePostOrchestrationProcessInputValidateMutation, } from './hooks/usePostOrchestrationProcessInputValidateMutation';
63
70
  export { postOrchestrationProcess, usePostOrchestrationProcessMutation, } from './hooks/usePostOrchestrationProcessMutation';
71
+ export { postProcessExecutionAction, usePostProcessExecutionActionMutation, } from './hooks/usePostProcessExecutionActionMutation';
64
72
  export { postReleaseAction, usePostReleaseActionMutation, } from './hooks/usePostReleaseActionMutation';
65
73
  export { postReleaseAdhoc, usePostReleaseAdhocMutation } from './hooks/usePostReleaseAdhocMutation';
66
74
  export { postReleaseGroup, usePostReleaseGroupMutation } from './hooks/usePostReleaseGroupMutation';
@@ -69,6 +77,7 @@ export { postReleaseList, usePostReleaseListMutation } from './hooks/usePostRele
69
77
  export { postReleaseReportGenerate, usePostReleaseReportGenerateMutation, } from './hooks/usePostReleaseReportGenerateMutation';
70
78
  export { postReleaseSubprocessTrigger, usePostReleaseSubprocessTriggerMutation, } from './hooks/usePostReleaseSubprocessTriggerMutation';
71
79
  export { postReleaseSummary, usePostReleaseSummaryMutation, } from './hooks/usePostReleaseSummaryMutation';
80
+ export { postWebhookQueueAction, usePostWebhookQueueActionMutation, } from './hooks/usePostWebhookQueueActionMutation';
72
81
  export { putOrchestrationActivity, usePutOrchestrationActivityMutation, } from './hooks/usePutOrchestrationActivityMutation';
73
82
  export { putOrchestrationProcessInput, usePutOrchestrationProcessInputMutation, } from './hooks/usePutOrchestrationProcessInputMutation';
74
83
  export { putOrchestrationProcess, usePutOrchestrationProcessMutation, } from './hooks/usePutOrchestrationProcessMutation';
@@ -0,0 +1,2 @@
1
+ import type { WebhookQueueActionRequest } from '../schemas/WebhookQueueActionRequest';
2
+ export type WebhookQueueActionRequestRequestBody = WebhookQueueActionRequest;
@@ -0,0 +1,4 @@
1
+ import type { ExecuteProcessResponseDto } from '../schemas/ExecuteProcessResponseDto';
2
+ export interface ExecuteProcessResponseResponse {
3
+ content: ExecuteProcessResponseDto;
4
+ }
@@ -0,0 +1,7 @@
1
+ import type { ExecutionOutputGroupDto } from '../schemas/ExecutionOutputGroupDto';
2
+ export interface ExecutionOutputsV2ResponseResponse {
3
+ /**
4
+ * List of output groups; one entry per webhook signal (or one entry for phase/manual outputs)
5
+ */
6
+ values: ExecutionOutputGroupDto[];
7
+ }
@@ -0,0 +1,2 @@
1
+ import type { ProcessExecutionDto } from '../schemas/ProcessExecutionDto';
2
+ export type GetProcessExecutionResponseResponse = ProcessExecutionDto;
@@ -0,0 +1,2 @@
1
+ import type { WebhookQueueActionResponse } from '../schemas/WebhookQueueActionResponse';
2
+ export type WebhookQueueActionResponseResponse = WebhookQueueActionResponse;
@@ -0,0 +1,31 @@
1
+ import type { OrchestrationStatus } from '../schemas/OrchestrationStatus';
2
+ /**
3
+ * Response content for POST /orchestration/process/{identifier}/execute
4
+ */
5
+ export interface ExecuteProcessResponseDto {
6
+ /**
7
+ * Creation timestamp in milliseconds
8
+ */
9
+ createdAt: number;
10
+ /**
11
+ * Process execution ID for navigating to process execution APIs
12
+ */
13
+ executionId: string;
14
+ /**
15
+ * Type of execution
16
+ */
17
+ executionType: 'PROCESS';
18
+ /**
19
+ * Identifier of the orchestration process that was executed
20
+ */
21
+ processIdentifier: string;
22
+ /**
23
+ * Process input identifier used for this execution
24
+ */
25
+ processInputIdentifier: string;
26
+ status: OrchestrationStatus;
27
+ /**
28
+ * Last updated timestamp in milliseconds
29
+ */
30
+ updatedAt?: number;
31
+ }
@@ -0,0 +1,16 @@
1
+ import type { ExecutionOutputV2Dto } from '../schemas/ExecutionOutputV2Dto';
2
+ /**
3
+ * A group of output entries from one webhook signal or execution, with extensible metadata
4
+ */
5
+ export interface ExecutionOutputGroupDto {
6
+ /**
7
+ * Reserved for future extension; always present, currently empty
8
+ */
9
+ metadata: {
10
+ [key: string]: any;
11
+ };
12
+ /**
13
+ * List of output name/value pairs for this group
14
+ */
15
+ output: ExecutionOutputV2Dto[];
16
+ }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * A single name/value output entry (v2)
3
+ */
4
+ export interface ExecutionOutputV2Dto {
5
+ /**
6
+ * Name of the output parameter
7
+ */
8
+ name: string;
9
+ /**
10
+ * Value of the output parameter (always a string in v2)
11
+ */
12
+ value: string;
13
+ }
@@ -1,4 +1,3 @@
1
- import type { TaskExecuteConfig } from '../schemas/TaskExecuteConfig';
2
1
  import type { FailureInfo } from '../schemas/FailureInfo';
3
2
  import type { StringOrBool } from '../schemas/StringOrBool';
4
3
  import type { ExecutionTaskStatus } from '../schemas/ExecutionTaskStatus';
@@ -20,7 +19,6 @@ export interface ExecutionTaskDto {
20
19
  * Description of the task
21
20
  */
22
21
  description?: string;
23
- execute?: TaskExecuteConfig;
24
22
  /**
25
23
  * Expected duration for the task (e.g., "1d 12h")
26
24
  */
@@ -1,4 +1,3 @@
1
- import type { TaskExecuteConfig } from '../schemas/TaskExecuteConfig';
2
1
  /**
3
2
  * Manual task configuration
4
3
  */
@@ -11,7 +10,6 @@ export interface ManualTaskYaml {
11
10
  * Expected duration for the task (e.g., "1w", "1d", "2h", "1d 12h")
12
11
  */
13
12
  duration: string;
14
- execute?: TaskExecuteConfig;
15
13
  /**
16
14
  * Unique identifier for the manual task
17
15
  */
@@ -1 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
1
4
  export {};
@@ -2,6 +2,10 @@ import type { PipelineExecutionSummaryDto } from '../schemas/PipelineExecutionSu
2
2
  export interface MatchedSignalExecutionSummaryDto {
3
3
  executionSummary: PipelineExecutionSummaryDto;
4
4
  hasPipelineViewAccess: boolean;
5
+ /**
6
+ * Status of the matched signal.
7
+ */
8
+ status: 'NOT_SELECTED' | 'SELECTED';
5
9
  /**
6
10
  * Webhook slug identifier for fetching webhook metadata.
7
11
  */
@@ -0,0 +1,19 @@
1
+ import type { OrchestrationExecutionPhase } from '../schemas/OrchestrationExecutionPhase';
2
+ /**
3
+ * Response containing phases for a release or process execution
4
+ */
5
+ export interface OrchestrationExecutionPhasesResponse {
6
+ phases: OrchestrationExecutionPhase[];
7
+ /**
8
+ * ID of the process execution
9
+ */
10
+ process_execution_id?: string;
11
+ /**
12
+ * ID of the release or process execution
13
+ */
14
+ release_id: string;
15
+ /**
16
+ * Total number of currently running phases
17
+ */
18
+ total_running_phases: number;
19
+ }
@@ -0,0 +1,5 @@
1
+ import type { OrchestrationStatus } from '../schemas/OrchestrationStatus';
2
+ /**
3
+ * List of orchestration execution activity statuses
4
+ */
5
+ export type OrchestrationStatusList = OrchestrationStatus[];
@@ -0,0 +1,24 @@
1
+ import type { OrchestrationStatus } from '../schemas/OrchestrationStatus';
2
+ /**
3
+ * A single execution history row for GET /orchestration/process/{identifier}/executions. Process context comes from the URL path; use executionId to navigate to the execution.
4
+ *
5
+ */
6
+ export interface ProcessExecutionDto {
7
+ /**
8
+ * Creation timestamp in milliseconds
9
+ */
10
+ createdAt?: number;
11
+ /**
12
+ * Navigation ID — process execution ID for PROCESS executions, release ID for RELEASE executions
13
+ */
14
+ executionId?: string;
15
+ /**
16
+ * Type of execution
17
+ */
18
+ executionType: 'PROCESS' | 'RELEASE';
19
+ status: OrchestrationStatus;
20
+ /**
21
+ * Last updated timestamp in milliseconds
22
+ */
23
+ updatedAt?: number;
24
+ }
@@ -0,0 +1,10 @@
1
+ export interface WebhookQueueActionRequest {
2
+ /**
3
+ * The action to perform on the webhook queue. APPROVE resumes the activity as succeeded with the selected webhook outputs.
4
+ */
5
+ action: 'APPROVE';
6
+ /**
7
+ * List of webhook IDs to approve. Empty array resumes the activity with no outputs.
8
+ */
9
+ webhookIds?: 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 {};
@@ -0,0 +1,10 @@
1
+ export interface WebhookQueueActionResponse {
2
+ /**
3
+ * The action that was performed
4
+ */
5
+ action?: string;
6
+ /**
7
+ * The ID of the 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 {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-rmg-service-client",
3
- "version": "0.65.0",
3
+ "version": "0.65.1-beta.0",
4
4
  "description": "Harness Release Management Service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",
@@ -1,10 +0,0 @@
1
- /**
2
- * Configuration for subprocess execution from a manual task
3
- */
4
- export interface TaskExecuteConfig {
5
- /**
6
- * Either the literal string "all" (any process can be triggered), the literal string "none" (no process can be triggered), or an array of whitelisted process identifiers.
7
- *
8
- */
9
- processes: 'all' | 'none' | string[];
10
- }