@harnessio/react-rmg-service-client 0.67.1-beta.0 → 0.69.0-beta.2

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 (61) hide show
  1. package/dist/rmg-service/src/services/hooks/useGetArtifactFacetsQuery.d.ts +26 -0
  2. package/dist/rmg-service/src/services/hooks/useGetArtifactFacetsQuery.js +14 -0
  3. package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionActivitiesQuery.d.ts +2 -20
  4. package/dist/rmg-service/src/services/hooks/useGetProcessExecutionActivitiesQuery.d.ts +28 -0
  5. package/dist/rmg-service/src/services/hooks/useGetProcessExecutionActivitiesQuery.js +19 -0
  6. package/dist/rmg-service/src/services/hooks/useGetProcessExecutionInputQuery.d.ts +25 -0
  7. package/dist/rmg-service/src/services/hooks/useGetProcessExecutionInputQuery.js +14 -0
  8. package/dist/rmg-service/src/services/hooks/useListArtifactsQuery.d.ts +35 -0
  9. package/dist/rmg-service/src/services/hooks/useListArtifactsQuery.js +14 -0
  10. package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessExecuteMutation.d.ts +5 -5
  11. package/dist/rmg-service/src/services/hooks/usePostProcessExecutionActionMutation.d.ts +2 -6
  12. package/dist/rmg-service/src/services/hooks/useStartReleaseExecutionMutation.d.ts +2 -10
  13. package/dist/rmg-service/src/services/index.d.ts +23 -2
  14. package/dist/rmg-service/src/services/index.js +4 -0
  15. package/dist/rmg-service/src/services/responses/ExecutionStartResponseResponse.d.ts +2 -0
  16. package/dist/rmg-service/src/services/responses/GetProcessExecutionInputResponseResponse.d.ts +2 -0
  17. package/dist/rmg-service/src/services/responses/GetProcessExecutionResponseResponse.d.ts +2 -2
  18. package/dist/rmg-service/src/services/responses/OrchestrationExecutionActivitiesResponseResponse.d.ts +20 -0
  19. package/dist/rmg-service/src/services/responses/OrchestrationExecutionActivitiesResponseResponse.js +1 -0
  20. package/dist/rmg-service/src/services/schemas/ActivityInputYaml.d.ts +1 -1
  21. package/dist/rmg-service/src/services/schemas/AnyValue.d.ts +2 -2
  22. package/dist/rmg-service/src/services/schemas/ArtifactFacets.d.ts +6 -0
  23. package/dist/rmg-service/src/services/schemas/ArtifactFacets.js +4 -0
  24. package/dist/rmg-service/src/services/schemas/ArtifactTagMetadata.d.ts +1 -3
  25. package/dist/rmg-service/src/services/schemas/ArtifactVersion.d.ts +26 -0
  26. package/dist/rmg-service/src/services/schemas/ArtifactVersion.js +1 -0
  27. package/dist/rmg-service/src/services/schemas/ArtifactVersionList.d.ts +8 -0
  28. package/dist/rmg-service/src/services/schemas/ArtifactVersionList.js +1 -0
  29. package/dist/rmg-service/src/services/schemas/ChangesetCommitTicket.d.ts +0 -1
  30. package/dist/rmg-service/src/services/schemas/ChangesetRef.d.ts +8 -0
  31. package/dist/rmg-service/src/services/schemas/ChangesetRef.js +4 -0
  32. package/dist/rmg-service/src/services/schemas/ExecutionStartResponse.d.ts +17 -0
  33. package/dist/rmg-service/src/services/schemas/ExecutionStartResponse.js +4 -0
  34. package/dist/rmg-service/src/services/schemas/InputVariable.d.ts +1 -3
  35. package/dist/rmg-service/src/services/schemas/ManualTaskYaml.d.ts +3 -3
  36. package/dist/rmg-service/src/services/schemas/OrchestrationActivityWebhookYaml.d.ts +1 -1
  37. package/dist/rmg-service/src/services/schemas/OutputVariable.d.ts +1 -1
  38. package/dist/rmg-service/src/services/schemas/ProcessExecutionActionRequest.d.ts +11 -0
  39. package/dist/rmg-service/src/services/schemas/ProcessExecutionActionRequest.js +4 -0
  40. package/dist/rmg-service/src/services/schemas/ProcessExecutionDetailsResponse.d.ts +11 -0
  41. package/dist/rmg-service/src/services/schemas/ProcessExecutionDetailsResponse.js +1 -0
  42. package/dist/rmg-service/src/services/schemas/ProcessExecutionDto.d.ts +27 -3
  43. package/dist/rmg-service/src/services/schemas/ProcessExecutionInfoDto.d.ts +26 -0
  44. package/dist/rmg-service/src/services/schemas/ProcessExecutionInfoDto.js +1 -0
  45. package/dist/rmg-service/src/services/schemas/ProcessExecutionInputResponse.d.ts +13 -0
  46. package/dist/rmg-service/src/services/schemas/ProcessExecutionInputResponse.js +4 -0
  47. package/dist/rmg-service/src/services/schemas/ProcessExecutionStatus.d.ts +4 -0
  48. package/dist/rmg-service/src/services/schemas/ProcessExecutionStatus.js +4 -0
  49. package/dist/rmg-service/src/services/schemas/ReleaseInfo.d.ts +13 -0
  50. package/dist/rmg-service/src/services/schemas/ReleaseInfo.js +4 -0
  51. package/dist/rmg-service/src/services/schemas/ReleaseRef.d.ts +10 -0
  52. package/dist/rmg-service/src/services/schemas/ReleaseRef.js +4 -0
  53. package/dist/rmg-service/src/services/schemas/StringOrBool.d.ts +1 -1
  54. package/dist/rmg-service/src/services/schemas/StringOrStringArray.d.ts +1 -1
  55. package/dist/rmg-service/src/services/schemas/TaskExecuteConfig.d.ts +1 -1
  56. package/dist/rmg-service/src/services/schemas/TriggeredByDto.d.ts +4 -0
  57. package/package.json +1 -4
  58. package/dist/rmg-service/src/services/responses/ExecuteProcessResponseResponse.d.ts +0 -4
  59. package/dist/rmg-service/src/services/schemas/ExecuteProcessResponseDto.d.ts +0 -31
  60. /package/dist/rmg-service/src/services/responses/{ExecuteProcessResponseResponse.js → ExecutionStartResponseResponse.js} +0 -0
  61. /package/dist/rmg-service/src/services/{schemas/ExecuteProcessResponseDto.js → responses/GetProcessExecutionInputResponseResponse.js} +0 -0
@@ -0,0 +1,26 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ArtifactFacets } from '../schemas/ArtifactFacets';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface GetArtifactFacetsQueryQueryParams {
7
+ orgIdentifier?: string;
8
+ projectIdentifier?: string;
9
+ registry?: string;
10
+ artifactPath?: string;
11
+ tag?: string;
12
+ service?: string;
13
+ }
14
+ export interface GetArtifactFacetsQueryHeaderParams {
15
+ 'Harness-Account': string;
16
+ }
17
+ export type GetArtifactFacetsOkResponse = ResponseWithPagination<ArtifactFacets>;
18
+ export type GetArtifactFacetsErrorResponse = ErrorResponseResponse;
19
+ export interface GetArtifactFacetsProps extends Omit<FetcherOptions<GetArtifactFacetsQueryQueryParams, unknown, GetArtifactFacetsQueryHeaderParams>, 'url'> {
20
+ queryParams: GetArtifactFacetsQueryQueryParams;
21
+ }
22
+ export declare function getArtifactFacets(props: GetArtifactFacetsProps): Promise<GetArtifactFacetsOkResponse>;
23
+ /**
24
+ * Distinct filter options (facets) for a scope's artifacts
25
+ */
26
+ export declare function useGetArtifactFacetsQuery(props: GetArtifactFacetsProps, options?: Omit<UseQueryOptions<GetArtifactFacetsOkResponse, GetArtifactFacetsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetArtifactFacetsOkResponse, 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 getArtifactFacets(props) {
7
+ return fetcher(Object.assign({ url: `/v1/artifacts/facets`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Distinct filter options (facets) for a scope's artifacts
11
+ */
12
+ export function useGetArtifactFacetsQuery(props, options) {
13
+ return useQuery(['getArtifactFacets', props.queryParams], ({ signal }) => getArtifactFacets(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -1,5 +1,5 @@
1
1
  import { UseQueryOptions } from '@tanstack/react-query';
2
- import type { OrchestrationExecutionActivity } from '../schemas/OrchestrationExecutionActivity';
2
+ import type { OrchestrationExecutionActivitiesResponseResponse } from '../responses/OrchestrationExecutionActivitiesResponseResponse';
3
3
  import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
4
  import type { ResponseWithPagination } from '../helpers';
5
5
  import { FetcherOptions } from '../../../../fetcher/index.js';
@@ -16,25 +16,7 @@ export interface GetOrchestrationExecutionActivitiesQueryQueryParams {
16
16
  export interface GetOrchestrationExecutionActivitiesQueryHeaderParams {
17
17
  'Harness-Account': string;
18
18
  }
19
- export type GetOrchestrationExecutionActivitiesOkResponse = ResponseWithPagination<{
20
- activities: OrchestrationExecutionActivity[];
21
- /**
22
- * ID of the phase execution
23
- */
24
- phase_execution_id: string;
25
- /**
26
- * ID of the process execution
27
- */
28
- process_execution_id: string;
29
- /**
30
- * ID of the release
31
- */
32
- release_id: string;
33
- /**
34
- * Total number of currently running activities
35
- */
36
- total_running_activities: number;
37
- }>;
19
+ export type GetOrchestrationExecutionActivitiesOkResponse = ResponseWithPagination<OrchestrationExecutionActivitiesResponseResponse>;
38
20
  export type GetOrchestrationExecutionActivitiesErrorResponse = ErrorResponseResponse;
39
21
  export interface GetOrchestrationExecutionActivitiesProps extends GetOrchestrationExecutionActivitiesQueryPathParams, Omit<FetcherOptions<GetOrchestrationExecutionActivitiesQueryQueryParams, unknown, GetOrchestrationExecutionActivitiesQueryHeaderParams>, 'url'> {
40
22
  queryParams: GetOrchestrationExecutionActivitiesQueryQueryParams;
@@ -0,0 +1,28 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { OrchestrationExecutionActivitiesResponseResponse } from '../responses/OrchestrationExecutionActivitiesResponseResponse';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface GetProcessExecutionActivitiesQueryPathParams {
7
+ executionId: string;
8
+ phaseIdentifier: string;
9
+ }
10
+ export interface GetProcessExecutionActivitiesQueryQueryParams {
11
+ phaseExecutionId?: string;
12
+ status?: string[];
13
+ orgIdentifier?: string;
14
+ projectIdentifier?: string;
15
+ }
16
+ export interface GetProcessExecutionActivitiesQueryHeaderParams {
17
+ 'Harness-Account': string;
18
+ }
19
+ export type GetProcessExecutionActivitiesOkResponse = ResponseWithPagination<OrchestrationExecutionActivitiesResponseResponse>;
20
+ export type GetProcessExecutionActivitiesErrorResponse = ErrorResponseResponse;
21
+ export interface GetProcessExecutionActivitiesProps extends GetProcessExecutionActivitiesQueryPathParams, Omit<FetcherOptions<GetProcessExecutionActivitiesQueryQueryParams, unknown, GetProcessExecutionActivitiesQueryHeaderParams>, 'url'> {
22
+ queryParams: GetProcessExecutionActivitiesQueryQueryParams;
23
+ }
24
+ export declare function getProcessExecutionActivities(props: GetProcessExecutionActivitiesProps): Promise<GetProcessExecutionActivitiesOkResponse>;
25
+ /**
26
+ * Retrieve all activities for a specific process execution and phase.
27
+ */
28
+ export declare function useGetProcessExecutionActivitiesQuery(props: GetProcessExecutionActivitiesProps, options?: Omit<UseQueryOptions<GetProcessExecutionActivitiesOkResponse, GetProcessExecutionActivitiesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetProcessExecutionActivitiesOkResponse, 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 getProcessExecutionActivities(props) {
7
+ return fetcher(Object.assign({ url: `/orchestration/process/execution/${props.executionId}/phase/${props.phaseIdentifier}/activities`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Retrieve all activities for a specific process execution and phase.
11
+ */
12
+ export function useGetProcessExecutionActivitiesQuery(props, options) {
13
+ return useQuery([
14
+ 'get-process-execution-activities',
15
+ props.executionId,
16
+ props.phaseIdentifier,
17
+ props.queryParams,
18
+ ], ({ signal }) => getProcessExecutionActivities(Object.assign(Object.assign({}, props), { signal })), options);
19
+ }
@@ -0,0 +1,25 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { GetProcessExecutionInputResponseResponse } from '../responses/GetProcessExecutionInputResponseResponse';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface GetProcessExecutionInputQueryPathParams {
7
+ executionId: string;
8
+ }
9
+ export interface GetProcessExecutionInputQueryQueryParams {
10
+ orgIdentifier?: string;
11
+ projectIdentifier?: string;
12
+ }
13
+ export interface GetProcessExecutionInputQueryHeaderParams {
14
+ 'Harness-Account': string;
15
+ }
16
+ export type GetProcessExecutionInputOkResponse = ResponseWithPagination<GetProcessExecutionInputResponseResponse>;
17
+ export type GetProcessExecutionInputErrorResponse = ErrorResponseResponse;
18
+ export interface GetProcessExecutionInputProps extends GetProcessExecutionInputQueryPathParams, Omit<FetcherOptions<GetProcessExecutionInputQueryQueryParams, unknown, GetProcessExecutionInputQueryHeaderParams>, 'url'> {
19
+ queryParams: GetProcessExecutionInputQueryQueryParams;
20
+ }
21
+ export declare function getProcessExecutionInput(props: GetProcessExecutionInputProps): Promise<GetProcessExecutionInputOkResponse>;
22
+ /**
23
+ * Retrieve the latest release input YAML for a process-on-the-go execution by slug ID.
24
+ */
25
+ export declare function useGetProcessExecutionInputQuery(props: GetProcessExecutionInputProps, options?: Omit<UseQueryOptions<GetProcessExecutionInputOkResponse, GetProcessExecutionInputErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetProcessExecutionInputOkResponse, 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 getProcessExecutionInput(props) {
7
+ return fetcher(Object.assign({ url: `/orchestration/process/execution/${props.executionId}/Input`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Retrieve the latest release input YAML for a process-on-the-go execution by slug ID.
11
+ */
12
+ export function useGetProcessExecutionInputQuery(props, options) {
13
+ return useQuery(['get-process-execution-input', props.executionId, props.queryParams], ({ signal }) => getProcessExecutionInput(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,35 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ArtifactVersionList } from '../schemas/ArtifactVersionList';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface ListArtifactsQueryQueryParams {
7
+ orgIdentifier?: string;
8
+ projectIdentifier?: string;
9
+ /**
10
+ * @default 0
11
+ */
12
+ page?: number;
13
+ /**
14
+ * @default 20
15
+ */
16
+ size?: number;
17
+ registry?: string;
18
+ artifactPath?: string;
19
+ tag?: string;
20
+ service?: string;
21
+ commitSha?: string;
22
+ }
23
+ export interface ListArtifactsQueryHeaderParams {
24
+ 'Harness-Account': string;
25
+ }
26
+ export type ListArtifactsOkResponse = ResponseWithPagination<ArtifactVersionList>;
27
+ export type ListArtifactsErrorResponse = ErrorResponseResponse;
28
+ export interface ListArtifactsProps extends Omit<FetcherOptions<ListArtifactsQueryQueryParams, unknown, ListArtifactsQueryHeaderParams>, 'url'> {
29
+ queryParams: ListArtifactsQueryQueryParams;
30
+ }
31
+ export declare function listArtifacts(props: ListArtifactsProps): Promise<ListArtifactsOkResponse>;
32
+ /**
33
+ * List artifacts for a scope
34
+ */
35
+ export declare function useListArtifactsQuery(props: ListArtifactsProps, options?: Omit<UseQueryOptions<ListArtifactsOkResponse, ListArtifactsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListArtifactsOkResponse, 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 listArtifacts(props) {
7
+ return fetcher(Object.assign({ url: `/v1/artifacts`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * List artifacts for a scope
11
+ */
12
+ export function useListArtifactsQuery(props, options) {
13
+ return useQuery(['listArtifacts', props.queryParams], ({ signal }) => listArtifacts(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -1,5 +1,5 @@
1
1
  import { UseMutationOptions } from '@tanstack/react-query';
2
- import type { ExecuteProcessResponseResponse } from '../responses/ExecuteProcessResponseResponse';
2
+ import type { ExecutionStartResponseResponse } from '../responses/ExecutionStartResponseResponse';
3
3
  import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
4
  import type { ResponseWithPagination } from '../helpers';
5
5
  import { FetcherOptions } from '../../../../fetcher/index.js';
@@ -17,13 +17,13 @@ export type PostOrchestrationProcessExecuteRequestBody = {
17
17
  /**
18
18
  * Process input identifier to use for this execution (required)
19
19
  */
20
- processInputIdentifier: string;
20
+ inputIdentifier: string;
21
21
  /**
22
- * Release input YAML to configure global and phase inputs
22
+ * Input YAML to configure global and phase inputs for this execution
23
23
  */
24
- releaseInputYaml: string;
24
+ inputYaml: string;
25
25
  };
26
- export type PostOrchestrationProcessExecuteOkResponse = ResponseWithPagination<ExecuteProcessResponseResponse>;
26
+ export type PostOrchestrationProcessExecuteOkResponse = ResponseWithPagination<ExecutionStartResponseResponse>;
27
27
  export type PostOrchestrationProcessExecuteErrorResponse = ErrorResponseResponse;
28
28
  export interface PostOrchestrationProcessExecuteProps extends PostOrchestrationProcessExecuteMutationPathParams, Omit<FetcherOptions<PostOrchestrationProcessExecuteMutationQueryParams, PostOrchestrationProcessExecuteRequestBody, PostOrchestrationProcessExecuteMutationHeaderParams>, 'url'> {
29
29
  queryParams: PostOrchestrationProcessExecuteMutationQueryParams;
@@ -1,5 +1,6 @@
1
1
  import { UseMutationOptions } from '@tanstack/react-query';
2
2
  import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
3
+ import type { ProcessExecutionActionRequest } from '../schemas/ProcessExecutionActionRequest';
3
4
  import type { ResponseWithPagination } from '../helpers';
4
5
  import { FetcherOptions } from '../../../../fetcher/index.js';
5
6
  export interface PostProcessExecutionActionMutationPathParams {
@@ -12,12 +13,7 @@ export interface PostProcessExecutionActionMutationQueryParams {
12
13
  export interface PostProcessExecutionActionMutationHeaderParams {
13
14
  'Harness-Account': string;
14
15
  }
15
- export type PostProcessExecutionActionRequestBody = {
16
- /**
17
- * Action to perform on the process execution
18
- */
19
- action: 'Abort';
20
- };
16
+ export type PostProcessExecutionActionRequestBody = ProcessExecutionActionRequest;
21
17
  export type PostProcessExecutionActionOkResponse = ResponseWithPagination<{
22
18
  /**
23
19
  * Result status
@@ -1,4 +1,5 @@
1
1
  import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ExecutionStartResponseResponse } from '../responses/ExecutionStartResponseResponse';
2
3
  import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
3
4
  import type { ResponseWithPagination } from '../helpers';
4
5
  import { FetcherOptions } from '../../../../fetcher/index.js';
@@ -18,16 +19,7 @@ export type StartReleaseExecutionRequestBody = {
18
19
  */
19
20
  releaseInputYaml: string;
20
21
  };
21
- export type StartReleaseExecutionOkResponse = ResponseWithPagination<{
22
- /**
23
- * Identifier of the started execution
24
- */
25
- identifier: string;
26
- /**
27
- * YAML content of the release
28
- */
29
- yaml: string;
30
- }>;
22
+ export type StartReleaseExecutionOkResponse = ResponseWithPagination<ExecutionStartResponseResponse>;
31
23
  export type StartReleaseExecutionErrorResponse = ErrorResponseResponse;
32
24
  export interface StartReleaseExecutionProps extends StartReleaseExecutionMutationPathParams, Omit<FetcherOptions<StartReleaseExecutionMutationQueryParams, StartReleaseExecutionRequestBody, StartReleaseExecutionMutationHeaderParams>, 'url'> {
33
25
  queryParams: StartReleaseExecutionMutationQueryParams;
@@ -23,6 +23,8 @@ export type { DeleteTaskCommentErrorResponse, DeleteTaskCommentMutationPathParam
23
23
  export { deleteTaskComment, useDeleteTaskCommentMutation, } from './hooks/useDeleteTaskCommentMutation';
24
24
  export type { GetActivityRetryHistoryByIdentifiersErrorResponse, GetActivityRetryHistoryByIdentifiersOkResponse, GetActivityRetryHistoryByIdentifiersProps, GetActivityRetryHistoryByIdentifiersQueryPathParams, GetActivityRetryHistoryByIdentifiersQueryQueryParams, } from './hooks/useGetActivityRetryHistoryByIdentifiersQuery';
25
25
  export { getActivityRetryHistoryByIdentifiers, useGetActivityRetryHistoryByIdentifiersQuery, } from './hooks/useGetActivityRetryHistoryByIdentifiersQuery';
26
+ export type { GetArtifactFacetsErrorResponse, GetArtifactFacetsOkResponse, GetArtifactFacetsProps, GetArtifactFacetsQueryQueryParams, } from './hooks/useGetArtifactFacetsQuery';
27
+ export { getArtifactFacets, useGetArtifactFacetsQuery } from './hooks/useGetArtifactFacetsQuery';
26
28
  export type { GetArtifactTrackerServiceMappingErrorResponse, GetArtifactTrackerServiceMappingOkResponse, GetArtifactTrackerServiceMappingProps, GetArtifactTrackerServiceMappingQueryPathParams, GetArtifactTrackerServiceMappingQueryQueryParams, } from './hooks/useGetArtifactTrackerServiceMappingQuery';
27
29
  export { getArtifactTrackerServiceMapping, useGetArtifactTrackerServiceMappingQuery, } from './hooks/useGetArtifactTrackerServiceMappingQuery';
28
30
  export type { GetArtifactTrackerSettingsErrorResponse, GetArtifactTrackerSettingsOkResponse, GetArtifactTrackerSettingsProps, GetArtifactTrackerSettingsQueryPathParams, GetArtifactTrackerSettingsQueryQueryParams, } from './hooks/useGetArtifactTrackerSettingsQuery';
@@ -79,6 +81,10 @@ export type { GetOrchestrationProcessSummaryErrorResponse, GetOrchestrationProce
79
81
  export { getOrchestrationProcessSummary, useGetOrchestrationProcessSummaryQuery, } from './hooks/useGetOrchestrationProcessSummaryQuery';
80
82
  export type { GetProcessExecutionActivitiesPaginatedErrorResponse, GetProcessExecutionActivitiesPaginatedOkResponse, GetProcessExecutionActivitiesPaginatedProps, GetProcessExecutionActivitiesPaginatedQueryPathParams, GetProcessExecutionActivitiesPaginatedQueryQueryParams, } from './hooks/useGetProcessExecutionActivitiesPaginatedQuery';
81
83
  export { getProcessExecutionActivitiesPaginated, useGetProcessExecutionActivitiesPaginatedQuery, } from './hooks/useGetProcessExecutionActivitiesPaginatedQuery';
84
+ export type { GetProcessExecutionActivitiesErrorResponse, GetProcessExecutionActivitiesOkResponse, GetProcessExecutionActivitiesProps, GetProcessExecutionActivitiesQueryPathParams, GetProcessExecutionActivitiesQueryQueryParams, } from './hooks/useGetProcessExecutionActivitiesQuery';
85
+ export { getProcessExecutionActivities, useGetProcessExecutionActivitiesQuery, } from './hooks/useGetProcessExecutionActivitiesQuery';
86
+ export type { GetProcessExecutionInputErrorResponse, GetProcessExecutionInputOkResponse, GetProcessExecutionInputProps, GetProcessExecutionInputQueryPathParams, GetProcessExecutionInputQueryQueryParams, } from './hooks/useGetProcessExecutionInputQuery';
87
+ export { getProcessExecutionInput, useGetProcessExecutionInputQuery, } from './hooks/useGetProcessExecutionInputQuery';
82
88
  export type { GetProcessExecutionPhasesErrorResponse, GetProcessExecutionPhasesOkResponse, GetProcessExecutionPhasesProps, GetProcessExecutionPhasesQueryPathParams, GetProcessExecutionPhasesQueryQueryParams, } from './hooks/useGetProcessExecutionPhasesQuery';
83
89
  export { getProcessExecutionPhases, useGetProcessExecutionPhasesQuery, } from './hooks/useGetProcessExecutionPhasesQuery';
84
90
  export type { GetProcessExecutionErrorResponse, GetProcessExecutionOkResponse, GetProcessExecutionProps, GetProcessExecutionQueryPathParams, GetProcessExecutionQueryQueryParams, } from './hooks/useGetProcessExecutionQuery';
@@ -125,6 +131,8 @@ export type { ListArtifactTrackerServiceMappingsErrorResponse, ListArtifactTrack
125
131
  export { listArtifactTrackerServiceMappings, useListArtifactTrackerServiceMappingsQuery, } from './hooks/useListArtifactTrackerServiceMappingsQuery';
126
132
  export type { ListArtifactTrackerSettingsErrorResponse, ListArtifactTrackerSettingsOkResponse, ListArtifactTrackerSettingsProps, ListArtifactTrackerSettingsQueryQueryParams, } from './hooks/useListArtifactTrackerSettingsQuery';
127
133
  export { listArtifactTrackerSettings, useListArtifactTrackerSettingsQuery, } from './hooks/useListArtifactTrackerSettingsQuery';
134
+ export type { ListArtifactsErrorResponse, ListArtifactsOkResponse, ListArtifactsProps, ListArtifactsQueryQueryParams, } from './hooks/useListArtifactsQuery';
135
+ export { listArtifacts, useListArtifactsQuery } from './hooks/useListArtifactsQuery';
128
136
  export type { ListIntegrationExecutionsErrorResponse, ListIntegrationExecutionsOkResponse, ListIntegrationExecutionsProps, ListIntegrationExecutionsQueryQueryParams, } from './hooks/useListIntegrationExecutionsQuery';
129
137
  export { listIntegrationExecutions, useListIntegrationExecutionsQuery, } from './hooks/useListIntegrationExecutionsQuery';
130
138
  export type { ListReleaseChangesetCommitsErrorResponse, ListReleaseChangesetCommitsOkResponse, ListReleaseChangesetCommitsProps, ListReleaseChangesetCommitsQueryPathParams, ListReleaseChangesetCommitsQueryQueryParams, } from './hooks/useListReleaseChangesetCommitsQuery';
@@ -232,21 +240,23 @@ export type { EnvironmentDashboardResponseResponse } from './responses/Environme
232
240
  export type { EnvironmentListPerReleaseResponseResponse } from './responses/EnvironmentListPerReleaseResponseResponse';
233
241
  export type { ErrorResponseResponse } from './responses/ErrorResponseResponse';
234
242
  export type { EventsResponseResponse } from './responses/EventsResponseResponse';
235
- export type { ExecuteProcessResponseResponse } from './responses/ExecuteProcessResponseResponse';
236
243
  export type { ExecutionOutputsResponseResponse } from './responses/ExecutionOutputsResponseResponse';
237
244
  export type { ExecutionOutputsV2ResponseResponse } from './responses/ExecutionOutputsV2ResponseResponse';
245
+ export type { ExecutionStartResponseResponse } from './responses/ExecutionStartResponseResponse';
238
246
  export type { ExecutionTasksListResponseResponse } from './responses/ExecutionTasksListResponseResponse';
239
247
  export type { FreezeDetailsResponseResponse } from './responses/FreezeDetailsResponseResponse';
240
248
  export type { FreezeListResponseResponse } from './responses/FreezeListResponseResponse';
241
249
  export type { GetOrchestrationActivityResponseResponse } from './responses/GetOrchestrationActivityResponseResponse';
242
250
  export type { GetOrchestrationProcessInputResponseResponse } from './responses/GetOrchestrationProcessInputResponseResponse';
243
251
  export type { GetOrchestrationProcessResponseResponse } from './responses/GetOrchestrationProcessResponseResponse';
252
+ export type { GetProcessExecutionInputResponseResponse } from './responses/GetProcessExecutionInputResponseResponse';
244
253
  export type { GetProcessExecutionResponseResponse } from './responses/GetProcessExecutionResponseResponse';
245
254
  export type { GetReleaseGroupResponseResponse } from './responses/GetReleaseGroupResponseResponse';
246
255
  export type { OnHoldActivityActionResponseResponse } from './responses/OnHoldActivityActionResponseResponse';
247
256
  export type { OrchestrationActivityListByProcessIdentifierResponseResponse } from './responses/OrchestrationActivityListByProcessIdentifierResponseResponse';
248
257
  export type { OrchestrationActivitySummaryResponseResponse } from './responses/OrchestrationActivitySummaryResponseResponse';
249
258
  export type { OrchestrationExecutionActivitiesPaginatedResponseResponse } from './responses/OrchestrationExecutionActivitiesPaginatedResponseResponse';
259
+ export type { OrchestrationExecutionActivitiesResponseResponse } from './responses/OrchestrationExecutionActivitiesResponseResponse';
250
260
  export type { OrchestrationProcessAttachedReleaseGroupsResponseResponse } from './responses/OrchestrationProcessAttachedReleaseGroupsResponseResponse';
251
261
  export type { OrchestrationProcessInputSummaryResponseResponse } from './responses/OrchestrationProcessInputSummaryResponseResponse';
252
262
  export type { OrchestrationProcessSummaryResponseResponse } from './responses/OrchestrationProcessSummaryResponseResponse';
@@ -293,12 +303,15 @@ export type { AdHocReleaseResponse } from './schemas/AdHocReleaseResponse';
293
303
  export type { AnyValue } from './schemas/AnyValue';
294
304
  export type { ApprovalInfoDto } from './schemas/ApprovalInfoDto';
295
305
  export type { ApprovedByDto } from './schemas/ApprovedByDto';
306
+ export type { ArtifactFacets } from './schemas/ArtifactFacets';
296
307
  export type { ArtifactTagInputVariable } from './schemas/ArtifactTagInputVariable';
297
308
  export type { ArtifactTagMetadata } from './schemas/ArtifactTagMetadata';
298
309
  export type { ArtifactTrackerServiceMapping } from './schemas/ArtifactTrackerServiceMapping';
299
310
  export type { ArtifactTrackerServiceMappingList } from './schemas/ArtifactTrackerServiceMappingList';
300
311
  export type { ArtifactTrackerSettings } from './schemas/ArtifactTrackerSettings';
301
312
  export type { ArtifactTrackerSettingsList } from './schemas/ArtifactTrackerSettingsList';
313
+ export type { ArtifactVersion } from './schemas/ArtifactVersion';
314
+ export type { ArtifactVersionList } from './schemas/ArtifactVersionList';
302
315
  export type { ArtifactoryRegistryMetadata } from './schemas/ArtifactoryRegistryMetadata';
303
316
  export type { AttachedReleaseGroupDto } from './schemas/AttachedReleaseGroupDto';
304
317
  export type { AutoExecuteOnScheduleProperty } from './schemas/AutoExecuteOnScheduleProperty';
@@ -309,6 +322,7 @@ export type { ChangesetCommitList } from './schemas/ChangesetCommitList';
309
322
  export type { ChangesetCommitTicket } from './schemas/ChangesetCommitTicket';
310
323
  export type { ChangesetFacets } from './schemas/ChangesetFacets';
311
324
  export type { ChangesetList } from './schemas/ChangesetList';
325
+ export type { ChangesetRef } from './schemas/ChangesetRef';
312
326
  export type { ClusterDeploymentDto } from './schemas/ClusterDeploymentDto';
313
327
  export type { CommentedByDto } from './schemas/CommentedByDto';
314
328
  export type { ConflictStatus } from './schemas/ConflictStatus';
@@ -335,11 +349,11 @@ export type { EventDto } from './schemas/EventDto';
335
349
  export type { EventEntity } from './schemas/EventEntity';
336
350
  export type { EventMetadata } from './schemas/EventMetadata';
337
351
  export type { EventType } from './schemas/EventType';
338
- export type { ExecuteProcessResponseDto } from './schemas/ExecuteProcessResponseDto';
339
352
  export type { ExecutionConflict } from './schemas/ExecutionConflict';
340
353
  export type { ExecutionOutputDto } from './schemas/ExecutionOutputDto';
341
354
  export type { ExecutionOutputGroupDto } from './schemas/ExecutionOutputGroupDto';
342
355
  export type { ExecutionOutputV2Dto } from './schemas/ExecutionOutputV2Dto';
356
+ export type { ExecutionStartResponse } from './schemas/ExecutionStartResponse';
343
357
  export type { ExecutionTaskDto } from './schemas/ExecutionTaskDto';
344
358
  export type { ExecutionTaskStatus } from './schemas/ExecutionTaskStatus';
345
359
  export type { ExecutionTriggerInfo } from './schemas/ExecutionTriggerInfo';
@@ -407,7 +421,12 @@ export type { PipelineStageInfo } from './schemas/PipelineStageInfo';
407
421
  export type { PolicyMetadata } from './schemas/PolicyMetadata';
408
422
  export type { PolicySetMetadata } from './schemas/PolicySetMetadata';
409
423
  export type { PrimitiveInputVariable } from './schemas/PrimitiveInputVariable';
424
+ export type { ProcessExecutionActionRequest } from './schemas/ProcessExecutionActionRequest';
425
+ export type { ProcessExecutionDetailsResponse } from './schemas/ProcessExecutionDetailsResponse';
410
426
  export type { ProcessExecutionDto } from './schemas/ProcessExecutionDto';
427
+ export type { ProcessExecutionInfoDto } from './schemas/ProcessExecutionInfoDto';
428
+ export type { ProcessExecutionInputResponse } from './schemas/ProcessExecutionInputResponse';
429
+ export type { ProcessExecutionStatus } from './schemas/ProcessExecutionStatus';
411
430
  export type { ProcessInputSummaryDto } from './schemas/ProcessInputSummaryDto';
412
431
  export type { ProcessInputValidationResponse } from './schemas/ProcessInputValidationResponse';
413
432
  export type { ReleaseActionRequest } from './schemas/ReleaseActionRequest';
@@ -422,8 +441,10 @@ export type { ReleaseDto } from './schemas/ReleaseDto';
422
441
  export type { ReleaseFrequency } from './schemas/ReleaseFrequency';
423
442
  export type { ReleaseGroupDto } from './schemas/ReleaseGroupDto';
424
443
  export type { ReleaseGroupYaml } from './schemas/ReleaseGroupYaml';
444
+ export type { ReleaseInfo } from './schemas/ReleaseInfo';
425
445
  export type { ReleaseInputYaml } from './schemas/ReleaseInputYaml';
426
446
  export type { ReleaseParentDto } from './schemas/ReleaseParentDto';
447
+ export type { ReleaseRef } from './schemas/ReleaseRef';
427
448
  export type { ReleaseType } from './schemas/ReleaseType';
428
449
  export type { RepeatUnit } from './schemas/RepeatUnit';
429
450
  export type { ReportGenerationRequest } from './schemas/ReportGenerationRequest';
@@ -10,6 +10,7 @@ export { deleteReleaseGroup, useDeleteReleaseGroupMutation, } from './hooks/useD
10
10
  export { deleteRelease, useDeleteReleaseMutation } from './hooks/useDeleteReleaseMutation';
11
11
  export { deleteTaskComment, useDeleteTaskCommentMutation, } from './hooks/useDeleteTaskCommentMutation';
12
12
  export { getActivityRetryHistoryByIdentifiers, useGetActivityRetryHistoryByIdentifiersQuery, } from './hooks/useGetActivityRetryHistoryByIdentifiersQuery';
13
+ export { getArtifactFacets, useGetArtifactFacetsQuery } from './hooks/useGetArtifactFacetsQuery';
13
14
  export { getArtifactTrackerServiceMapping, useGetArtifactTrackerServiceMappingQuery, } from './hooks/useGetArtifactTrackerServiceMappingQuery';
14
15
  export { getArtifactTrackerSettings, useGetArtifactTrackerSettingsQuery, } from './hooks/useGetArtifactTrackerSettingsQuery';
15
16
  export { getEventsByEntityTypeAndId, useGetEventsByEntityTypeAndIdQuery, } from './hooks/useGetEventsByEntityTypeAndIdQuery';
@@ -38,6 +39,8 @@ export { getOrchestrationProcessInputSummary, useGetOrchestrationProcessInputSum
38
39
  export { getOrchestrationProcess, useGetOrchestrationProcessQuery, } from './hooks/useGetOrchestrationProcessQuery';
39
40
  export { getOrchestrationProcessSummary, useGetOrchestrationProcessSummaryQuery, } from './hooks/useGetOrchestrationProcessSummaryQuery';
40
41
  export { getProcessExecutionActivitiesPaginated, useGetProcessExecutionActivitiesPaginatedQuery, } from './hooks/useGetProcessExecutionActivitiesPaginatedQuery';
42
+ export { getProcessExecutionActivities, useGetProcessExecutionActivitiesQuery, } from './hooks/useGetProcessExecutionActivitiesQuery';
43
+ export { getProcessExecutionInput, useGetProcessExecutionInputQuery, } from './hooks/useGetProcessExecutionInputQuery';
41
44
  export { getProcessExecutionPhases, useGetProcessExecutionPhasesQuery, } from './hooks/useGetProcessExecutionPhasesQuery';
42
45
  export { getProcessExecution, useGetProcessExecutionQuery, } from './hooks/useGetProcessExecutionQuery';
43
46
  export { getReleaseActivities, useGetReleaseActivitiesQuery, } from './hooks/useGetReleaseActivitiesQuery';
@@ -61,6 +64,7 @@ export { getYamlSchema, useGetYamlSchemaQuery } from './hooks/useGetYamlSchemaQu
61
64
  export { ingestWebhookSignal, useIngestWebhookSignalMutation, } from './hooks/useIngestWebhookSignalMutation';
62
65
  export { listArtifactTrackerServiceMappings, useListArtifactTrackerServiceMappingsQuery, } from './hooks/useListArtifactTrackerServiceMappingsQuery';
63
66
  export { listArtifactTrackerSettings, useListArtifactTrackerSettingsQuery, } from './hooks/useListArtifactTrackerSettingsQuery';
67
+ export { listArtifacts, useListArtifactsQuery } from './hooks/useListArtifactsQuery';
64
68
  export { listIntegrationExecutions, useListIntegrationExecutionsQuery, } from './hooks/useListIntegrationExecutionsQuery';
65
69
  export { listReleaseChangesetCommits, useListReleaseChangesetCommitsQuery, } from './hooks/useListReleaseChangesetCommitsQuery';
66
70
  export { listReleaseChangesets, useListReleaseChangesetsQuery, } from './hooks/useListReleaseChangesetsQuery';
@@ -0,0 +1,2 @@
1
+ import type { ExecutionStartResponse } from '../schemas/ExecutionStartResponse';
2
+ export type ExecutionStartResponseResponse = ExecutionStartResponse;
@@ -0,0 +1,2 @@
1
+ import type { ProcessExecutionInputResponse } from '../schemas/ProcessExecutionInputResponse';
2
+ export type GetProcessExecutionInputResponseResponse = ProcessExecutionInputResponse;
@@ -1,2 +1,2 @@
1
- import type { ProcessExecutionDto } from '../schemas/ProcessExecutionDto';
2
- export type GetProcessExecutionResponseResponse = ProcessExecutionDto;
1
+ import type { ProcessExecutionDetailsResponse } from '../schemas/ProcessExecutionDetailsResponse';
2
+ export type GetProcessExecutionResponseResponse = ProcessExecutionDetailsResponse;
@@ -0,0 +1,20 @@
1
+ import type { OrchestrationExecutionActivity } from '../schemas/OrchestrationExecutionActivity';
2
+ export interface OrchestrationExecutionActivitiesResponseResponse {
3
+ activities: OrchestrationExecutionActivity[];
4
+ /**
5
+ * ID of the phase execution
6
+ */
7
+ phase_execution_id?: string;
8
+ /**
9
+ * ID or slug of the process execution
10
+ */
11
+ process_execution_id?: string;
12
+ /**
13
+ * ID of the release
14
+ */
15
+ release_id?: string;
16
+ /**
17
+ * Total number of currently running activities
18
+ */
19
+ total_running_activities: number;
20
+ }
@@ -10,5 +10,5 @@ export interface ActivityInputYaml {
10
10
  input?: string;
11
11
  with?: {
12
12
  [key: string]: string;
13
- } | ReleaseInputYaml;
13
+ } & ReleaseInputYaml;
14
14
  }
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Flexible type that accepts any JSON value (string, number, boolean, object, or array)
3
3
  */
4
- export type AnyValue = string | number | boolean | {
4
+ export type AnyValue = string & number & boolean & {
5
5
  [key: string]: any;
6
- } | Array<{
6
+ } & Array<{
7
7
  [key: string]: any;
8
8
  }>;
@@ -0,0 +1,6 @@
1
+ export interface ArtifactFacets {
2
+ artifactPaths?: string[];
3
+ registries?: string[];
4
+ services?: string[];
5
+ tags?: string[];
6
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -12,6 +12,4 @@ import type { CustomArtifactMetadata } from '../schemas/CustomArtifactMetadata';
12
12
  * Use the discriminated schemas below to determine which fields are needed per type.
13
13
  *
14
14
  */
15
- export type ArtifactTagMetadata = (DockerRegistryArtifactMetadata | EcrArtifactMetadata | GcrArtifactMetadata | AcrArtifactMetadata | GoogleArtifactRegistryMetadata | Nexus3RegistryArtifactMetadata | ArtifactoryRegistryMetadata | GithubPackageRegistryMetadata | CustomArtifactMetadata) & {
16
- [key: string]: any;
17
- };
15
+ export type ArtifactTagMetadata = DockerRegistryArtifactMetadata & EcrArtifactMetadata & GcrArtifactMetadata & AcrArtifactMetadata & GoogleArtifactRegistryMetadata & Nexus3RegistryArtifactMetadata & ArtifactoryRegistryMetadata & GithubPackageRegistryMetadata & CustomArtifactMetadata;
@@ -0,0 +1,26 @@
1
+ import type { ChangesetRef } from '../schemas/ChangesetRef';
2
+ import type { ReleaseRef } from '../schemas/ReleaseRef';
3
+ export interface ArtifactVersion {
4
+ artifactPath: string;
5
+ branch?: string;
6
+ /**
7
+ * org/project/pipeline identifier of the pipeline that built this artifact
8
+ */
9
+ buildPipelineRef?: string;
10
+ /**
11
+ * plan execution (run) of the build pipeline that produced this artifact
12
+ */
13
+ buildPlanExecutionId?: string;
14
+ changesets?: ChangesetRef[];
15
+ commitSha?: string;
16
+ /**
17
+ * @format int64
18
+ */
19
+ createdAt?: number;
20
+ id: string;
21
+ registry: string;
22
+ releases?: ReleaseRef[];
23
+ repoName?: string;
24
+ serviceRef?: string;
25
+ tag: string;
26
+ }
@@ -0,0 +1,8 @@
1
+ import type { ArtifactVersion } from '../schemas/ArtifactVersion';
2
+ export interface ArtifactVersionList {
3
+ content?: ArtifactVersion[];
4
+ pageNumber?: number;
5
+ pageSize?: number;
6
+ totalElements?: number;
7
+ totalPages?: number;
8
+ }
@@ -1,7 +1,6 @@
1
1
  export interface ChangesetCommitTicket {
2
2
  key: string;
3
3
  source?: string;
4
- summary?: string;
5
4
  type?: string;
6
5
  url?: string;
7
6
  }
@@ -0,0 +1,8 @@
1
+ export interface ChangesetRef {
2
+ fromArtifactTag?: string;
3
+ /**
4
+ * Changeset slug_id
5
+ */
6
+ id: string;
7
+ toArtifactTag?: string;
8
+ }
@@ -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,17 @@
1
+ /**
2
+ * Response for starting a release or process execution
3
+ */
4
+ export interface ExecutionStartResponse {
5
+ /**
6
+ * Navigation slug for the started process execution (on-the-go process execute only)
7
+ */
8
+ executionId?: string;
9
+ /**
10
+ * Identifier of the started release or orchestration process
11
+ */
12
+ identifier: string;
13
+ /**
14
+ * YAML content of the release or execution input
15
+ */
16
+ yaml: string;
17
+ }
@@ -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 {};
@@ -7,6 +7,4 @@ import type { InfrastructureInputVariable } from '../schemas/InfrastructureInput
7
7
  import type { MultiInfrastructureInputVariable } from '../schemas/MultiInfrastructureInputVariable';
8
8
  import type { ConnectorInputVariable } from '../schemas/ConnectorInputVariable';
9
9
  import type { ArtifactTagInputVariable } from '../schemas/ArtifactTagInputVariable';
10
- export type InputVariable = (PrimitiveInputVariable | ServiceInputVariable | MultiServiceInputVariable | EnvironmentInputVariable | MultiEnvironmentInputVariable | InfrastructureInputVariable | MultiInfrastructureInputVariable | ConnectorInputVariable | ArtifactTagInputVariable) & {
11
- [key: string]: any;
12
- };
10
+ export type InputVariable = PrimitiveInputVariable & ServiceInputVariable & MultiServiceInputVariable & EnvironmentInputVariable & MultiEnvironmentInputVariable & InfrastructureInputVariable & MultiInfrastructureInputVariable & ConnectorInputVariable & ArtifactTagInputVariable;
@@ -23,13 +23,13 @@ export interface ManualTaskYaml {
23
23
  /**
24
24
  * Whether this task is required, it can be boolean or string as we support expressions
25
25
  */
26
- required: boolean | string;
26
+ required: boolean & string;
27
27
  /**
28
28
  * List of user groups or references, it can be string or array of strings as we support expressions
29
29
  */
30
- userGroups: string | string[];
30
+ userGroups: string & string[];
31
31
  /**
32
32
  * List of user emails or references, it can be string or array of strings as we support expressions
33
33
  */
34
- users: string | string[];
34
+ users: string & string[];
35
35
  }
@@ -41,6 +41,6 @@ export interface OrchestrationActivityWebhookYaml {
41
41
  /**
42
42
  * User groups that can approve queued signals
43
43
  */
44
- userGroups?: string | string[];
44
+ userGroups?: string & string[];
45
45
  };
46
46
  }
@@ -2,7 +2,7 @@
2
2
  * Output variable definition. Accepts either a plain string (legacy format) or an object with a `value` field and an optional `description` (new format).
3
3
  *
4
4
  */
5
- export type OutputVariable = string | {
5
+ export type OutputVariable = string & {
6
6
  /**
7
7
  * Human-readable description of the output variable.
8
8
  */
@@ -0,0 +1,11 @@
1
+ export interface ProcessExecutionActionRequest {
2
+ /**
3
+ * Action to perform on the process execution
4
+ */
5
+ action: 'Abort';
6
+ /**
7
+ * Message explaining the reason for the action (e.g., why the process execution is being aborted)
8
+ * @example "Production issue detected - aborting process execution"
9
+ */
10
+ message: string;
11
+ }
@@ -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,11 @@
1
+ import type { ProcessExecutionInfoDto } from '../schemas/ProcessExecutionInfoDto';
2
+ /**
3
+ * Response for GET /orchestration/process/execution/{executionId}.
4
+ */
5
+ export interface ProcessExecutionDetailsResponse {
6
+ executionInfo: ProcessExecutionInfoDto;
7
+ /**
8
+ * Process YAML snapshot persisted at execution start (includes runtime UUIDs)
9
+ */
10
+ yaml: string;
11
+ }
@@ -1,4 +1,6 @@
1
- import type { OrchestrationStatus } from '../schemas/OrchestrationStatus';
1
+ import type { ReleaseInfo } from '../schemas/ReleaseInfo';
2
+ import type { ProcessExecutionStatus } from '../schemas/ProcessExecutionStatus';
3
+ import type { TriggeredByDto } from '../schemas/TriggeredByDto';
2
4
  /**
3
5
  * 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
6
  *
@@ -9,14 +11,36 @@ export interface ProcessExecutionDto {
9
11
  */
10
12
  createdAt?: number;
11
13
  /**
12
- * Navigation ID — process execution ID for PROCESS executions, release ID for RELEASE executions
14
+ * Execution end timestamp in milliseconds. Omitted while execution is in progress.
15
+ */
16
+ endedAt?: number;
17
+ /**
18
+ * Navigation ID — process execution slug ID for PROCESS executions, release slug ID for RELEASE executions
13
19
  */
14
20
  executionId?: string;
15
21
  /**
16
22
  * Type of execution
17
23
  */
18
24
  executionType: 'PROCESS' | 'RELEASE';
19
- status: OrchestrationStatus;
25
+ /**
26
+ * Identifier of the orchestration process
27
+ */
28
+ processIdentifier?: string;
29
+ /**
30
+ * Process input set identifier used for this execution. Omitted when default values were used.
31
+ */
32
+ processInputIdentifier?: string;
33
+ /**
34
+ * Display name of the orchestration process
35
+ */
36
+ processName?: string;
37
+ releaseInfo?: ReleaseInfo;
38
+ /**
39
+ * Execution start timestamp in milliseconds
40
+ */
41
+ startedAt: number;
42
+ status: ProcessExecutionStatus;
43
+ triggeredBy?: TriggeredByDto;
20
44
  /**
21
45
  * Last updated timestamp in milliseconds
22
46
  */
@@ -0,0 +1,26 @@
1
+ import type { ProcessExecutionStatus } from '../schemas/ProcessExecutionStatus';
2
+ import type { TriggeredByDto } from '../schemas/TriggeredByDto';
3
+ /**
4
+ * Summary metadata for a single process execution (GET /orchestration/process/execution/{executionId}).
5
+ */
6
+ export interface ProcessExecutionInfoDto {
7
+ accountIdentifier: string;
8
+ /**
9
+ * Navigation ID — process execution slug for PROCESS runs, release slug for RELEASE runs
10
+ */
11
+ executionId: string;
12
+ executionType: 'PROCESS' | 'RELEASE';
13
+ orgIdentifier: string;
14
+ /**
15
+ * Identifier of the orchestration process
16
+ */
17
+ processIdentifier: string;
18
+ projectIdentifier: string;
19
+ /**
20
+ * Execution start timestamp in milliseconds
21
+ * @format int64
22
+ */
23
+ startTs: number;
24
+ status: ProcessExecutionStatus;
25
+ triggeredBy?: TriggeredByDto;
26
+ }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Response for GET /orchestration/process/execution/{executionId}/Input.
3
+ */
4
+ export interface ProcessExecutionInputResponse {
5
+ /**
6
+ * Process execution slug ID
7
+ */
8
+ process_execution_id: string;
9
+ /**
10
+ * YAML content of the process execution input
11
+ */
12
+ yaml: string;
13
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Release-style execution status
3
+ */
4
+ export type ProcessExecutionStatus = 'Aborted' | 'Failed' | 'InputWaiting' | 'Paused' | 'Running' | 'Scheduled' | 'Success';
@@ -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,13 @@
1
+ /**
2
+ * Release metadata. Populated when executionType is RELEASE.
3
+ */
4
+ export interface ReleaseInfo {
5
+ /**
6
+ * Release identifier
7
+ */
8
+ identifier?: string;
9
+ /**
10
+ * Release version
11
+ */
12
+ version?: string;
13
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,10 @@
1
+ export interface ReleaseRef {
2
+ /**
3
+ * Release slug_id
4
+ */
5
+ id: string;
6
+ identifier?: string;
7
+ name?: string;
8
+ orgIdentifier?: string;
9
+ projectIdentifier?: 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 {};
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * Flexible type that accepts either a boolean or a string
3
3
  */
4
- export type StringOrBool = boolean | string;
4
+ export type StringOrBool = boolean & string;
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * Flexible type that accepts either a single string or an array of strings for user references
3
3
  */
4
- export type StringOrStringArray = string | string[];
4
+ export type StringOrStringArray = string & string[];
@@ -6,5 +6,5 @@ export interface TaskExecuteConfig {
6
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
7
  *
8
8
  */
9
- processes: 'all' | 'none' | string[];
9
+ processes: 'all' | ('none' & string[]);
10
10
  }
@@ -7,6 +7,10 @@ export interface TriggeredByDto {
7
7
  * Avatar URL of the person.
8
8
  */
9
9
  avatar?: string;
10
+ /**
11
+ * Email of the person who triggered the activity.
12
+ */
13
+ email?: string;
10
14
  /**
11
15
  * Identifier of the person who triggered the activity.
12
16
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-rmg-service-client",
3
- "version": "0.67.1-beta.0",
3
+ "version": "0.69.0-beta.2",
4
4
  "description": "Harness Release Management Service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",
@@ -27,8 +27,5 @@
27
27
  "build": "yarn generate && tsc",
28
28
  "generate": "oats import --config='./oats.config.ts'",
29
29
  "fmt": "prettier --write ./index.ts"
30
- },
31
- "dependencies": {
32
- "@harnessio/oats-cli": "^3.0.0"
33
30
  }
34
31
  }
@@ -1,4 +0,0 @@
1
- import type { ExecuteProcessResponseDto } from '../schemas/ExecuteProcessResponseDto';
2
- export interface ExecuteProcessResponseResponse {
3
- content: ExecuteProcessResponseDto;
4
- }
@@ -1,31 +0,0 @@
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
- }