@harnessio/react-rmg-service-client 0.65.0 → 0.66.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.
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionActivitiesPaginatedQuery.d.ts +1 -1
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionPhasesQuery.d.ts +2 -16
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessExecutionsQuery.d.ts +62 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessExecutionsQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/useGetProcessExecutionActivitiesPaginatedQuery.d.ts +31 -0
- package/dist/rmg-service/src/services/hooks/useGetProcessExecutionActivitiesPaginatedQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/useGetProcessExecutionPhasesQuery.d.ts +26 -0
- package/dist/rmg-service/src/services/hooks/useGetProcessExecutionPhasesQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/useGetProcessExecutionQuery.d.ts +25 -0
- package/dist/rmg-service/src/services/hooks/useGetProcessExecutionQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessExecuteMutation.d.ts +36 -0
- package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessExecuteMutation.js +14 -0
- package/dist/rmg-service/src/services/hooks/usePostProcessExecutionActionMutation.d.ts +36 -0
- package/dist/rmg-service/src/services/hooks/usePostProcessExecutionActionMutation.js +14 -0
- package/dist/rmg-service/src/services/index.d.ts +17 -0
- package/dist/rmg-service/src/services/index.js +6 -0
- package/dist/rmg-service/src/services/responses/ExecuteProcessResponseResponse.d.ts +4 -0
- package/dist/rmg-service/src/services/responses/ExecuteProcessResponseResponse.js +1 -0
- package/dist/rmg-service/src/services/responses/GetProcessExecutionResponseResponse.d.ts +2 -0
- package/dist/rmg-service/src/services/responses/GetProcessExecutionResponseResponse.js +1 -0
- package/dist/rmg-service/src/services/schemas/ExecuteProcessResponseDto.d.ts +31 -0
- package/dist/rmg-service/src/services/schemas/ExecuteProcessResponseDto.js +1 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationExecutionPhasesResponse.d.ts +19 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationExecutionPhasesResponse.js +1 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationStatus.d.ts +1 -1
- package/dist/rmg-service/src/services/schemas/ProcessExecutionDto.d.ts +24 -0
- package/dist/rmg-service/src/services/schemas/ProcessExecutionDto.js +1 -0
- package/package.json +1 -1
|
@@ -12,7 +12,7 @@ export interface GetOrchestrationExecutionActivitiesPaginatedQueryQueryParams {
|
|
|
12
12
|
page?: number;
|
|
13
13
|
size?: number;
|
|
14
14
|
sort?: string[];
|
|
15
|
-
status?: Array<'ABORTED' | 'FAILED' | 'IGNORED' | 'ON_HOLD' | 'OUTPUT_WAITING' | 'QUEUED' | 'RETRIED' | 'RUNNING' | 'SCHEDULED' | 'SKIPPED' | 'SUCCEEDED'>;
|
|
15
|
+
status?: Array<'ABORTED' | 'FAILED' | 'IGNORED' | 'ON_HOLD' | 'OUTPUT_WAITING' | 'PIPELINE_WAITING_FOR_USER_ACTION' | 'QUEUED' | 'RETRIED' | 'RUNNING' | 'SCHEDULED' | 'SKIPPED' | 'SUCCEEDED'>;
|
|
16
16
|
type?: Array<'MANUAL' | 'PIPELINE' | 'SUBPROCESS'>;
|
|
17
17
|
phaseIdentifier?: string;
|
|
18
18
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
-
import type {
|
|
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,62 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ProcessExecutionDto } from '../schemas/ProcessExecutionDto';
|
|
3
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface GetOrchestrationProcessExecutionsQueryPathParams {
|
|
7
|
+
identifier: string;
|
|
8
|
+
}
|
|
9
|
+
export interface GetOrchestrationProcessExecutionsQueryQueryParams {
|
|
10
|
+
orgIdentifier?: string;
|
|
11
|
+
projectIdentifier?: string;
|
|
12
|
+
page?: number;
|
|
13
|
+
size?: number;
|
|
14
|
+
sort?: string[];
|
|
15
|
+
executionType?: 'PROCESS' | 'RELEASE';
|
|
16
|
+
statuses?: Array<'ABORTED' | 'FAILED' | 'IGNORED' | 'ON_HOLD' | 'OUTPUT_WAITING' | 'PIPELINE_WAITING_FOR_USER_ACTION' | 'QUEUED' | 'RETRIED' | 'RUNNING' | 'SCHEDULED' | 'SKIPPED' | 'SUCCEEDED'>;
|
|
17
|
+
/**
|
|
18
|
+
* @format int64
|
|
19
|
+
*/
|
|
20
|
+
startTs?: number;
|
|
21
|
+
/**
|
|
22
|
+
* @format int64
|
|
23
|
+
*/
|
|
24
|
+
endTs?: number;
|
|
25
|
+
}
|
|
26
|
+
export interface GetOrchestrationProcessExecutionsQueryHeaderParams {
|
|
27
|
+
'Harness-Account': string;
|
|
28
|
+
}
|
|
29
|
+
export type GetOrchestrationProcessExecutionsOkResponse = ResponseWithPagination<{
|
|
30
|
+
content: {
|
|
31
|
+
content: ProcessExecutionDto[];
|
|
32
|
+
/**
|
|
33
|
+
* Whether this is the last page
|
|
34
|
+
*/
|
|
35
|
+
last?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Current page number
|
|
38
|
+
*/
|
|
39
|
+
number: number;
|
|
40
|
+
/**
|
|
41
|
+
* Page size
|
|
42
|
+
*/
|
|
43
|
+
size: number;
|
|
44
|
+
/**
|
|
45
|
+
* Total number of process executions
|
|
46
|
+
*/
|
|
47
|
+
totalElements: number;
|
|
48
|
+
/**
|
|
49
|
+
* Total number of pages
|
|
50
|
+
*/
|
|
51
|
+
totalPages: number;
|
|
52
|
+
};
|
|
53
|
+
}>;
|
|
54
|
+
export type GetOrchestrationProcessExecutionsErrorResponse = ErrorResponseResponse;
|
|
55
|
+
export interface GetOrchestrationProcessExecutionsProps extends GetOrchestrationProcessExecutionsQueryPathParams, Omit<FetcherOptions<GetOrchestrationProcessExecutionsQueryQueryParams, unknown, GetOrchestrationProcessExecutionsQueryHeaderParams>, 'url'> {
|
|
56
|
+
queryParams: GetOrchestrationProcessExecutionsQueryQueryParams;
|
|
57
|
+
}
|
|
58
|
+
export declare function getOrchestrationProcessExecutions(props: GetOrchestrationProcessExecutionsProps): Promise<GetOrchestrationProcessExecutionsOkResponse>;
|
|
59
|
+
/**
|
|
60
|
+
* Get list of all executions (on-the-go runs) for a specific process
|
|
61
|
+
*/
|
|
62
|
+
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
|
+
}
|
package/dist/rmg-service/src/services/hooks/useGetProcessExecutionActivitiesPaginatedQuery.d.ts
ADDED
|
@@ -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
|
+
}
|
|
@@ -61,6 +61,8 @@ export type { GetOrchestrationExecutionReleaseInputErrorResponse, GetOrchestrati
|
|
|
61
61
|
export { getOrchestrationExecutionReleaseInput, useGetOrchestrationExecutionReleaseInputQuery, } from './hooks/useGetOrchestrationExecutionReleaseInputQuery';
|
|
62
62
|
export type { GetOrchestrationExecutionTasksErrorResponse, GetOrchestrationExecutionTasksOkResponse, GetOrchestrationExecutionTasksProps, GetOrchestrationExecutionTasksQueryPathParams, GetOrchestrationExecutionTasksQueryQueryParams, } from './hooks/useGetOrchestrationExecutionTasksQuery';
|
|
63
63
|
export { getOrchestrationExecutionTasks, useGetOrchestrationExecutionTasksQuery, } from './hooks/useGetOrchestrationExecutionTasksQuery';
|
|
64
|
+
export type { GetOrchestrationProcessExecutionsErrorResponse, GetOrchestrationProcessExecutionsOkResponse, GetOrchestrationProcessExecutionsProps, GetOrchestrationProcessExecutionsQueryPathParams, GetOrchestrationProcessExecutionsQueryQueryParams, } from './hooks/useGetOrchestrationProcessExecutionsQuery';
|
|
65
|
+
export { getOrchestrationProcessExecutions, useGetOrchestrationProcessExecutionsQuery, } from './hooks/useGetOrchestrationProcessExecutionsQuery';
|
|
64
66
|
export type { GetOrchestrationProcessInputErrorResponse, GetOrchestrationProcessInputOkResponse, GetOrchestrationProcessInputProps, GetOrchestrationProcessInputQueryPathParams, GetOrchestrationProcessInputQueryQueryParams, } from './hooks/useGetOrchestrationProcessInputQuery';
|
|
65
67
|
export { getOrchestrationProcessInput, useGetOrchestrationProcessInputQuery, } from './hooks/useGetOrchestrationProcessInputQuery';
|
|
66
68
|
export type { GetOrchestrationProcessInputSummaryErrorResponse, GetOrchestrationProcessInputSummaryOkResponse, GetOrchestrationProcessInputSummaryProps, GetOrchestrationProcessInputSummaryQueryPathParams, GetOrchestrationProcessInputSummaryQueryQueryParams, } from './hooks/useGetOrchestrationProcessInputSummaryQuery';
|
|
@@ -69,6 +71,12 @@ export type { GetOrchestrationProcessErrorResponse, GetOrchestrationProcessOkRes
|
|
|
69
71
|
export { getOrchestrationProcess, useGetOrchestrationProcessQuery, } from './hooks/useGetOrchestrationProcessQuery';
|
|
70
72
|
export type { GetOrchestrationProcessSummaryErrorResponse, GetOrchestrationProcessSummaryOkResponse, GetOrchestrationProcessSummaryProps, GetOrchestrationProcessSummaryQueryQueryParams, } from './hooks/useGetOrchestrationProcessSummaryQuery';
|
|
71
73
|
export { getOrchestrationProcessSummary, useGetOrchestrationProcessSummaryQuery, } from './hooks/useGetOrchestrationProcessSummaryQuery';
|
|
74
|
+
export type { GetProcessExecutionActivitiesPaginatedErrorResponse, GetProcessExecutionActivitiesPaginatedOkResponse, GetProcessExecutionActivitiesPaginatedProps, GetProcessExecutionActivitiesPaginatedQueryPathParams, GetProcessExecutionActivitiesPaginatedQueryQueryParams, } from './hooks/useGetProcessExecutionActivitiesPaginatedQuery';
|
|
75
|
+
export { getProcessExecutionActivitiesPaginated, useGetProcessExecutionActivitiesPaginatedQuery, } from './hooks/useGetProcessExecutionActivitiesPaginatedQuery';
|
|
76
|
+
export type { GetProcessExecutionPhasesErrorResponse, GetProcessExecutionPhasesOkResponse, GetProcessExecutionPhasesProps, GetProcessExecutionPhasesQueryPathParams, GetProcessExecutionPhasesQueryQueryParams, } from './hooks/useGetProcessExecutionPhasesQuery';
|
|
77
|
+
export { getProcessExecutionPhases, useGetProcessExecutionPhasesQuery, } from './hooks/useGetProcessExecutionPhasesQuery';
|
|
78
|
+
export type { GetProcessExecutionErrorResponse, GetProcessExecutionOkResponse, GetProcessExecutionProps, GetProcessExecutionQueryPathParams, GetProcessExecutionQueryQueryParams, } from './hooks/useGetProcessExecutionQuery';
|
|
79
|
+
export { getProcessExecution, useGetProcessExecutionQuery, } from './hooks/useGetProcessExecutionQuery';
|
|
72
80
|
export type { GetReleaseActivitiesErrorResponse, GetReleaseActivitiesOkResponse, GetReleaseActivitiesProps, GetReleaseActivitiesQueryPathParams, GetReleaseActivitiesQueryQueryParams, } from './hooks/useGetReleaseActivitiesQuery';
|
|
73
81
|
export { getReleaseActivities, useGetReleaseActivitiesQuery, } from './hooks/useGetReleaseActivitiesQuery';
|
|
74
82
|
export type { GetReleaseConflictsErrorResponse, GetReleaseConflictsOkResponse, GetReleaseConflictsProps, GetReleaseConflictsQueryPathParams, GetReleaseConflictsQueryQueryParams, } from './hooks/useGetReleaseConflictsQuery';
|
|
@@ -119,12 +127,16 @@ export type { PostOrchestrationActivityErrorResponse, PostOrchestrationActivityM
|
|
|
119
127
|
export { postOrchestrationActivity, usePostOrchestrationActivityMutation, } from './hooks/usePostOrchestrationActivityMutation';
|
|
120
128
|
export type { PostOrchestrationProcessAttachedReleaseGroupsErrorResponse, PostOrchestrationProcessAttachedReleaseGroupsMutationPathParams, PostOrchestrationProcessAttachedReleaseGroupsMutationQueryParams, PostOrchestrationProcessAttachedReleaseGroupsOkResponse, PostOrchestrationProcessAttachedReleaseGroupsProps, PostOrchestrationProcessAttachedReleaseGroupsRequestBody, } from './hooks/usePostOrchestrationProcessAttachedReleaseGroupsMutation';
|
|
121
129
|
export { postOrchestrationProcessAttachedReleaseGroups, usePostOrchestrationProcessAttachedReleaseGroupsMutation, } from './hooks/usePostOrchestrationProcessAttachedReleaseGroupsMutation';
|
|
130
|
+
export type { PostOrchestrationProcessExecuteErrorResponse, PostOrchestrationProcessExecuteMutationPathParams, PostOrchestrationProcessExecuteMutationQueryParams, PostOrchestrationProcessExecuteOkResponse, PostOrchestrationProcessExecuteProps, PostOrchestrationProcessExecuteRequestBody, } from './hooks/usePostOrchestrationProcessExecuteMutation';
|
|
131
|
+
export { postOrchestrationProcessExecute, usePostOrchestrationProcessExecuteMutation, } from './hooks/usePostOrchestrationProcessExecuteMutation';
|
|
122
132
|
export type { PostOrchestrationProcessInputErrorResponse, PostOrchestrationProcessInputMutationPathParams, PostOrchestrationProcessInputMutationQueryParams, PostOrchestrationProcessInputOkResponse, PostOrchestrationProcessInputProps, PostOrchestrationProcessInputRequestBody, } from './hooks/usePostOrchestrationProcessInputMutation';
|
|
123
133
|
export { postOrchestrationProcessInput, usePostOrchestrationProcessInputMutation, } from './hooks/usePostOrchestrationProcessInputMutation';
|
|
124
134
|
export type { PostOrchestrationProcessInputValidateErrorResponse, PostOrchestrationProcessInputValidateMutationPathParams, PostOrchestrationProcessInputValidateMutationQueryParams, PostOrchestrationProcessInputValidateOkResponse, PostOrchestrationProcessInputValidateProps, } from './hooks/usePostOrchestrationProcessInputValidateMutation';
|
|
125
135
|
export { postOrchestrationProcessInputValidate, usePostOrchestrationProcessInputValidateMutation, } from './hooks/usePostOrchestrationProcessInputValidateMutation';
|
|
126
136
|
export type { PostOrchestrationProcessErrorResponse, PostOrchestrationProcessMutationQueryParams, PostOrchestrationProcessOkResponse, PostOrchestrationProcessProps, PostOrchestrationProcessRequestBody, } from './hooks/usePostOrchestrationProcessMutation';
|
|
127
137
|
export { postOrchestrationProcess, usePostOrchestrationProcessMutation, } from './hooks/usePostOrchestrationProcessMutation';
|
|
138
|
+
export type { PostProcessExecutionActionErrorResponse, PostProcessExecutionActionMutationPathParams, PostProcessExecutionActionMutationQueryParams, PostProcessExecutionActionOkResponse, PostProcessExecutionActionProps, PostProcessExecutionActionRequestBody, } from './hooks/usePostProcessExecutionActionMutation';
|
|
139
|
+
export { postProcessExecutionAction, usePostProcessExecutionActionMutation, } from './hooks/usePostProcessExecutionActionMutation';
|
|
128
140
|
export type { PostReleaseActionErrorResponse, PostReleaseActionMutationPathParams, PostReleaseActionMutationQueryParams, PostReleaseActionOkResponse, PostReleaseActionProps, PostReleaseActionRequestBody, } from './hooks/usePostReleaseActionMutation';
|
|
129
141
|
export { postReleaseAction, usePostReleaseActionMutation, } from './hooks/usePostReleaseActionMutation';
|
|
130
142
|
export type { PostReleaseAdhocErrorResponse, PostReleaseAdhocMutationQueryParams, PostReleaseAdhocOkResponse, PostReleaseAdhocProps, PostReleaseAdhocRequestBody, } from './hooks/usePostReleaseAdhocMutation';
|
|
@@ -197,6 +209,7 @@ export type { EnvironmentDashboardResponseResponse } from './responses/Environme
|
|
|
197
209
|
export type { EnvironmentListPerReleaseResponseResponse } from './responses/EnvironmentListPerReleaseResponseResponse';
|
|
198
210
|
export type { ErrorResponseResponse } from './responses/ErrorResponseResponse';
|
|
199
211
|
export type { EventsResponseResponse } from './responses/EventsResponseResponse';
|
|
212
|
+
export type { ExecuteProcessResponseResponse } from './responses/ExecuteProcessResponseResponse';
|
|
200
213
|
export type { ExecutionOutputsResponseResponse } from './responses/ExecutionOutputsResponseResponse';
|
|
201
214
|
export type { ExecutionTasksListResponseResponse } from './responses/ExecutionTasksListResponseResponse';
|
|
202
215
|
export type { FreezeDetailsResponseResponse } from './responses/FreezeDetailsResponseResponse';
|
|
@@ -204,6 +217,7 @@ export type { FreezeListResponseResponse } from './responses/FreezeListResponseR
|
|
|
204
217
|
export type { GetOrchestrationActivityResponseResponse } from './responses/GetOrchestrationActivityResponseResponse';
|
|
205
218
|
export type { GetOrchestrationProcessInputResponseResponse } from './responses/GetOrchestrationProcessInputResponseResponse';
|
|
206
219
|
export type { GetOrchestrationProcessResponseResponse } from './responses/GetOrchestrationProcessResponseResponse';
|
|
220
|
+
export type { GetProcessExecutionResponseResponse } from './responses/GetProcessExecutionResponseResponse';
|
|
207
221
|
export type { GetReleaseGroupResponseResponse } from './responses/GetReleaseGroupResponseResponse';
|
|
208
222
|
export type { OnHoldActivityActionResponseResponse } from './responses/OnHoldActivityActionResponseResponse';
|
|
209
223
|
export type { OrchestrationActivityListByProcessIdentifierResponseResponse } from './responses/OrchestrationActivityListByProcessIdentifierResponseResponse';
|
|
@@ -290,6 +304,7 @@ export type { EventDto } from './schemas/EventDto';
|
|
|
290
304
|
export type { EventEntity } from './schemas/EventEntity';
|
|
291
305
|
export type { EventMetadata } from './schemas/EventMetadata';
|
|
292
306
|
export type { EventType } from './schemas/EventType';
|
|
307
|
+
export type { ExecuteProcessResponseDto } from './schemas/ExecuteProcessResponseDto';
|
|
293
308
|
export type { ExecutionConflict } from './schemas/ExecutionConflict';
|
|
294
309
|
export type { ExecutionOutputDto } from './schemas/ExecutionOutputDto';
|
|
295
310
|
export type { ExecutionTaskDto } from './schemas/ExecutionTaskDto';
|
|
@@ -339,6 +354,7 @@ export type { OrchestrationExecutionActivity } from './schemas/OrchestrationExec
|
|
|
339
354
|
export type { OrchestrationExecutionActivityDetail } from './schemas/OrchestrationExecutionActivityDetail';
|
|
340
355
|
export type { OrchestrationExecutionActivityPaginated } from './schemas/OrchestrationExecutionActivityPaginated';
|
|
341
356
|
export type { OrchestrationExecutionPhase } from './schemas/OrchestrationExecutionPhase';
|
|
357
|
+
export type { OrchestrationExecutionPhasesResponse } from './schemas/OrchestrationExecutionPhasesResponse';
|
|
342
358
|
export type { OrchestrationPhaseYaml } from './schemas/OrchestrationPhaseYaml';
|
|
343
359
|
export type { OrchestrationProcessDto } from './schemas/OrchestrationProcessDto';
|
|
344
360
|
export type { OrchestrationProcessInputYaml } from './schemas/OrchestrationProcessInputYaml';
|
|
@@ -355,6 +371,7 @@ export type { PipelineStageInfo } from './schemas/PipelineStageInfo';
|
|
|
355
371
|
export type { PolicyMetadata } from './schemas/PolicyMetadata';
|
|
356
372
|
export type { PolicySetMetadata } from './schemas/PolicySetMetadata';
|
|
357
373
|
export type { PrimitiveInputVariable } from './schemas/PrimitiveInputVariable';
|
|
374
|
+
export type { ProcessExecutionDto } from './schemas/ProcessExecutionDto';
|
|
358
375
|
export type { ProcessInputSummaryDto } from './schemas/ProcessInputSummaryDto';
|
|
359
376
|
export type { ProcessInputValidationResponse } from './schemas/ProcessInputValidationResponse';
|
|
360
377
|
export type { ReleaseActionRequest } from './schemas/ReleaseActionRequest';
|
|
@@ -29,10 +29,14 @@ export { getOrchestrationExecutionPhaseOutputs, useGetOrchestrationExecutionPhas
|
|
|
29
29
|
export { getOrchestrationExecutionPhases, useGetOrchestrationExecutionPhasesQuery, } from './hooks/useGetOrchestrationExecutionPhasesQuery';
|
|
30
30
|
export { getOrchestrationExecutionReleaseInput, useGetOrchestrationExecutionReleaseInputQuery, } from './hooks/useGetOrchestrationExecutionReleaseInputQuery';
|
|
31
31
|
export { getOrchestrationExecutionTasks, useGetOrchestrationExecutionTasksQuery, } from './hooks/useGetOrchestrationExecutionTasksQuery';
|
|
32
|
+
export { getOrchestrationProcessExecutions, useGetOrchestrationProcessExecutionsQuery, } from './hooks/useGetOrchestrationProcessExecutionsQuery';
|
|
32
33
|
export { getOrchestrationProcessInput, useGetOrchestrationProcessInputQuery, } from './hooks/useGetOrchestrationProcessInputQuery';
|
|
33
34
|
export { getOrchestrationProcessInputSummary, useGetOrchestrationProcessInputSummaryQuery, } from './hooks/useGetOrchestrationProcessInputSummaryQuery';
|
|
34
35
|
export { getOrchestrationProcess, useGetOrchestrationProcessQuery, } from './hooks/useGetOrchestrationProcessQuery';
|
|
35
36
|
export { getOrchestrationProcessSummary, useGetOrchestrationProcessSummaryQuery, } from './hooks/useGetOrchestrationProcessSummaryQuery';
|
|
37
|
+
export { getProcessExecutionActivitiesPaginated, useGetProcessExecutionActivitiesPaginatedQuery, } from './hooks/useGetProcessExecutionActivitiesPaginatedQuery';
|
|
38
|
+
export { getProcessExecutionPhases, useGetProcessExecutionPhasesQuery, } from './hooks/useGetProcessExecutionPhasesQuery';
|
|
39
|
+
export { getProcessExecution, useGetProcessExecutionQuery, } from './hooks/useGetProcessExecutionQuery';
|
|
36
40
|
export { getReleaseActivities, useGetReleaseActivitiesQuery, } from './hooks/useGetReleaseActivitiesQuery';
|
|
37
41
|
export { getReleaseConflicts, useGetReleaseConflictsQuery, } from './hooks/useGetReleaseConflictsQuery';
|
|
38
42
|
export { getReleaseDayActivities, useGetReleaseDayActivitiesQuery, } from './hooks/useGetReleaseDayActivitiesQuery';
|
|
@@ -58,9 +62,11 @@ export { postActivityExecutionOutput, usePostActivityExecutionOutputMutation, }
|
|
|
58
62
|
export { postOnHoldActivityAction, usePostOnHoldActivityActionMutation, } from './hooks/usePostOnHoldActivityActionMutation';
|
|
59
63
|
export { postOrchestrationActivity, usePostOrchestrationActivityMutation, } from './hooks/usePostOrchestrationActivityMutation';
|
|
60
64
|
export { postOrchestrationProcessAttachedReleaseGroups, usePostOrchestrationProcessAttachedReleaseGroupsMutation, } from './hooks/usePostOrchestrationProcessAttachedReleaseGroupsMutation';
|
|
65
|
+
export { postOrchestrationProcessExecute, usePostOrchestrationProcessExecuteMutation, } from './hooks/usePostOrchestrationProcessExecuteMutation';
|
|
61
66
|
export { postOrchestrationProcessInput, usePostOrchestrationProcessInputMutation, } from './hooks/usePostOrchestrationProcessInputMutation';
|
|
62
67
|
export { postOrchestrationProcessInputValidate, usePostOrchestrationProcessInputValidateMutation, } from './hooks/usePostOrchestrationProcessInputValidateMutation';
|
|
63
68
|
export { postOrchestrationProcess, usePostOrchestrationProcessMutation, } from './hooks/usePostOrchestrationProcessMutation';
|
|
69
|
+
export { postProcessExecutionAction, usePostProcessExecutionActionMutation, } from './hooks/usePostProcessExecutionActionMutation';
|
|
64
70
|
export { postReleaseAction, usePostReleaseActionMutation, } from './hooks/usePostReleaseActionMutation';
|
|
65
71
|
export { postReleaseAdhoc, usePostReleaseAdhocMutation } from './hooks/usePostReleaseAdhocMutation';
|
|
66
72
|
export { postReleaseGroup, usePostReleaseGroupMutation } from './hooks/usePostReleaseGroupMutation';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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 @@
|
|
|
1
|
+
export {};
|
|
@@ -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 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Status of orchestration execution activities
|
|
3
3
|
*/
|
|
4
|
-
export type OrchestrationStatus = 'ABORTED' | 'FAILED' | 'IGNORED' | 'ON_HOLD' | 'OUTPUT_WAITING' | 'QUEUED' | 'RETRIED' | 'RUNNING' | 'SCHEDULED' | 'SKIPPED' | 'SUCCEEDED';
|
|
4
|
+
export type OrchestrationStatus = 'ABORTED' | 'FAILED' | 'IGNORED' | 'ON_HOLD' | 'OUTPUT_WAITING' | 'PIPELINE_WAITING_FOR_USER_ACTION' | 'QUEUED' | 'RETRIED' | 'RUNNING' | 'SCHEDULED' | 'SKIPPED' | 'SUCCEEDED';
|
|
@@ -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 @@
|
|
|
1
|
+
export {};
|