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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionActivitiesQuery.d.ts +2 -20
  2. package/dist/rmg-service/src/services/hooks/useGetProcessExecutionActivitiesQuery.d.ts +28 -0
  3. package/dist/rmg-service/src/services/hooks/useGetProcessExecutionActivitiesQuery.js +19 -0
  4. package/dist/rmg-service/src/services/hooks/useGetProcessExecutionInputQuery.d.ts +25 -0
  5. package/dist/rmg-service/src/services/hooks/useGetProcessExecutionInputQuery.js +14 -0
  6. package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessExecuteMutation.d.ts +5 -5
  7. package/dist/rmg-service/src/services/hooks/useStartReleaseExecutionMutation.d.ts +2 -10
  8. package/dist/rmg-service/src/services/index.d.ts +12 -21
  9. package/dist/rmg-service/src/services/index.js +2 -5
  10. package/dist/rmg-service/src/services/responses/ExecutionStartResponseResponse.d.ts +2 -0
  11. package/dist/rmg-service/src/services/responses/GetProcessExecutionInputResponseResponse.d.ts +2 -0
  12. package/dist/rmg-service/src/services/responses/GetProcessExecutionResponseResponse.d.ts +2 -2
  13. package/dist/rmg-service/src/services/responses/OrchestrationExecutionActivitiesResponseResponse.d.ts +20 -0
  14. package/dist/rmg-service/src/services/schemas/ArtifactTrackerServiceMapping.d.ts +0 -4
  15. package/dist/rmg-service/src/services/schemas/ArtifactTrackerSettings.d.ts +0 -4
  16. package/dist/rmg-service/src/services/schemas/CreateArtifactTrackerServiceMappingRequest.d.ts +0 -4
  17. package/dist/rmg-service/src/services/schemas/CreateArtifactTrackerSettingsRequest.d.ts +0 -4
  18. package/dist/rmg-service/src/services/schemas/ExecutionStartResponse.d.ts +17 -0
  19. package/dist/rmg-service/src/services/schemas/ProcessExecutionDetailsResponse.d.ts +11 -0
  20. package/dist/rmg-service/src/services/schemas/ProcessExecutionDto.d.ts +25 -1
  21. package/dist/rmg-service/src/services/schemas/ProcessExecutionInfoDto.d.ts +28 -0
  22. package/dist/rmg-service/src/services/schemas/ProcessExecutionInputResponse.d.ts +13 -0
  23. package/dist/rmg-service/src/services/schemas/ReleaseInfo.d.ts +13 -0
  24. package/dist/rmg-service/src/services/schemas/TriggeredByDto.d.ts +4 -0
  25. package/dist/rmg-service/src/services/schemas/UpdateArtifactTrackerServiceMappingRequest.d.ts +0 -4
  26. package/dist/rmg-service/src/services/schemas/UpsertArtifactTrackerSettingsRequest.d.ts +0 -4
  27. package/dist/rmg-service/src/services/schemas/WebhookSignalRequest.d.ts +0 -2
  28. package/package.json +1 -1
  29. package/dist/rmg-service/src/services/hooks/useGetReleaseChangesetFacetsQuery.d.ts +0 -29
  30. package/dist/rmg-service/src/services/hooks/useGetReleaseChangesetFacetsQuery.js +0 -14
  31. package/dist/rmg-service/src/services/hooks/useListReleaseChangesetCommitsQuery.d.ts +0 -34
  32. package/dist/rmg-service/src/services/hooks/useListReleaseChangesetCommitsQuery.js +0 -14
  33. package/dist/rmg-service/src/services/hooks/useListReleaseChangesetsQuery.d.ts +0 -39
  34. package/dist/rmg-service/src/services/hooks/useListReleaseChangesetsQuery.js +0 -14
  35. package/dist/rmg-service/src/services/hooks/useRetryReleaseChangesetMutation.d.ts +0 -26
  36. package/dist/rmg-service/src/services/hooks/useRetryReleaseChangesetMutation.js +0 -14
  37. package/dist/rmg-service/src/services/hooks/useUpdateReleaseChangesetTagsMutation.d.ts +0 -29
  38. package/dist/rmg-service/src/services/hooks/useUpdateReleaseChangesetTagsMutation.js +0 -14
  39. package/dist/rmg-service/src/services/responses/ExecuteProcessResponseResponse.d.ts +0 -4
  40. package/dist/rmg-service/src/services/schemas/Changeset.d.ts +0 -21
  41. package/dist/rmg-service/src/services/schemas/ChangesetCommit.d.ts +0 -22
  42. package/dist/rmg-service/src/services/schemas/ChangesetCommitList.d.ts +0 -8
  43. package/dist/rmg-service/src/services/schemas/ChangesetCommitTicket.d.ts +0 -7
  44. package/dist/rmg-service/src/services/schemas/ChangesetFacets.d.ts +0 -6
  45. package/dist/rmg-service/src/services/schemas/ChangesetList.d.ts +0 -8
  46. package/dist/rmg-service/src/services/schemas/ExecuteProcessResponseDto.d.ts +0 -31
  47. package/dist/rmg-service/src/services/schemas/UpdateChangesetTagsRequest.d.ts +0 -4
  48. package/dist/rmg-service/src/services/schemas/UpdateChangesetTagsRequest.js +0 -4
  49. package/dist/rmg-service/src/services/schemas/WebhookSignalArtifacts.d.ts +0 -16
  50. package/dist/rmg-service/src/services/schemas/WebhookSignalArtifacts.js +0 -1
  51. package/dist/rmg-service/src/services/schemas/WebhookSignalImage.d.ts +0 -9
  52. package/dist/rmg-service/src/services/schemas/WebhookSignalImage.js +0 -4
  53. /package/dist/rmg-service/src/services/responses/{ExecuteProcessResponseResponse.js → ExecutionStartResponseResponse.js} +0 -0
  54. /package/dist/rmg-service/src/services/{schemas/ChangesetCommit.js → responses/GetProcessExecutionInputResponseResponse.js} +0 -0
  55. /package/dist/rmg-service/src/services/{schemas/ChangesetCommitList.js → responses/OrchestrationExecutionActivitiesResponseResponse.js} +0 -0
  56. /package/dist/rmg-service/src/services/schemas/{Changeset.js → ExecutionStartResponse.js} +0 -0
  57. /package/dist/rmg-service/src/services/schemas/{ChangesetList.js → ProcessExecutionDetailsResponse.js} +0 -0
  58. /package/dist/rmg-service/src/services/schemas/{ExecuteProcessResponseDto.js → ProcessExecutionInfoDto.js} +0 -0
  59. /package/dist/rmg-service/src/services/schemas/{ChangesetCommitTicket.js → ProcessExecutionInputResponse.js} +0 -0
  60. /package/dist/rmg-service/src/services/schemas/{ChangesetFacets.js → ReleaseInfo.js} +0 -0
@@ -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
+ }
@@ -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,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;
@@ -79,14 +79,16 @@ export type { GetOrchestrationProcessSummaryErrorResponse, GetOrchestrationProce
79
79
  export { getOrchestrationProcessSummary, useGetOrchestrationProcessSummaryQuery, } from './hooks/useGetOrchestrationProcessSummaryQuery';
80
80
  export type { GetProcessExecutionActivitiesPaginatedErrorResponse, GetProcessExecutionActivitiesPaginatedOkResponse, GetProcessExecutionActivitiesPaginatedProps, GetProcessExecutionActivitiesPaginatedQueryPathParams, GetProcessExecutionActivitiesPaginatedQueryQueryParams, } from './hooks/useGetProcessExecutionActivitiesPaginatedQuery';
81
81
  export { getProcessExecutionActivitiesPaginated, useGetProcessExecutionActivitiesPaginatedQuery, } from './hooks/useGetProcessExecutionActivitiesPaginatedQuery';
82
+ export type { GetProcessExecutionActivitiesErrorResponse, GetProcessExecutionActivitiesOkResponse, GetProcessExecutionActivitiesProps, GetProcessExecutionActivitiesQueryPathParams, GetProcessExecutionActivitiesQueryQueryParams, } from './hooks/useGetProcessExecutionActivitiesQuery';
83
+ export { getProcessExecutionActivities, useGetProcessExecutionActivitiesQuery, } from './hooks/useGetProcessExecutionActivitiesQuery';
84
+ export type { GetProcessExecutionInputErrorResponse, GetProcessExecutionInputOkResponse, GetProcessExecutionInputProps, GetProcessExecutionInputQueryPathParams, GetProcessExecutionInputQueryQueryParams, } from './hooks/useGetProcessExecutionInputQuery';
85
+ export { getProcessExecutionInput, useGetProcessExecutionInputQuery, } from './hooks/useGetProcessExecutionInputQuery';
82
86
  export type { GetProcessExecutionPhasesErrorResponse, GetProcessExecutionPhasesOkResponse, GetProcessExecutionPhasesProps, GetProcessExecutionPhasesQueryPathParams, GetProcessExecutionPhasesQueryQueryParams, } from './hooks/useGetProcessExecutionPhasesQuery';
83
87
  export { getProcessExecutionPhases, useGetProcessExecutionPhasesQuery, } from './hooks/useGetProcessExecutionPhasesQuery';
84
88
  export type { GetProcessExecutionErrorResponse, GetProcessExecutionOkResponse, GetProcessExecutionProps, GetProcessExecutionQueryPathParams, GetProcessExecutionQueryQueryParams, } from './hooks/useGetProcessExecutionQuery';
85
89
  export { getProcessExecution, useGetProcessExecutionQuery, } from './hooks/useGetProcessExecutionQuery';
86
90
  export type { GetReleaseActivitiesErrorResponse, GetReleaseActivitiesOkResponse, GetReleaseActivitiesProps, GetReleaseActivitiesQueryPathParams, GetReleaseActivitiesQueryQueryParams, } from './hooks/useGetReleaseActivitiesQuery';
87
91
  export { getReleaseActivities, useGetReleaseActivitiesQuery, } from './hooks/useGetReleaseActivitiesQuery';
88
- export type { GetReleaseChangesetFacetsErrorResponse, GetReleaseChangesetFacetsOkResponse, GetReleaseChangesetFacetsProps, GetReleaseChangesetFacetsQueryPathParams, GetReleaseChangesetFacetsQueryQueryParams, } from './hooks/useGetReleaseChangesetFacetsQuery';
89
- export { getReleaseChangesetFacets, useGetReleaseChangesetFacetsQuery, } from './hooks/useGetReleaseChangesetFacetsQuery';
90
92
  export type { GetReleaseConflictsErrorResponse, GetReleaseConflictsOkResponse, GetReleaseConflictsProps, GetReleaseConflictsQueryPathParams, GetReleaseConflictsQueryQueryParams, } from './hooks/useGetReleaseConflictsQuery';
91
93
  export { getReleaseConflicts, useGetReleaseConflictsQuery, } from './hooks/useGetReleaseConflictsQuery';
92
94
  export type { GetReleaseDayActivitiesErrorResponse, GetReleaseDayActivitiesOkResponse, GetReleaseDayActivitiesProps, GetReleaseDayActivitiesQueryPathParams, GetReleaseDayActivitiesQueryQueryParams, } from './hooks/useGetReleaseDayActivitiesQuery';
@@ -127,10 +129,6 @@ export type { ListArtifactTrackerSettingsErrorResponse, ListArtifactTrackerSetti
127
129
  export { listArtifactTrackerSettings, useListArtifactTrackerSettingsQuery, } from './hooks/useListArtifactTrackerSettingsQuery';
128
130
  export type { ListIntegrationExecutionsErrorResponse, ListIntegrationExecutionsOkResponse, ListIntegrationExecutionsProps, ListIntegrationExecutionsQueryQueryParams, } from './hooks/useListIntegrationExecutionsQuery';
129
131
  export { listIntegrationExecutions, useListIntegrationExecutionsQuery, } from './hooks/useListIntegrationExecutionsQuery';
130
- export type { ListReleaseChangesetCommitsErrorResponse, ListReleaseChangesetCommitsOkResponse, ListReleaseChangesetCommitsProps, ListReleaseChangesetCommitsQueryPathParams, ListReleaseChangesetCommitsQueryQueryParams, } from './hooks/useListReleaseChangesetCommitsQuery';
131
- export { listReleaseChangesetCommits, useListReleaseChangesetCommitsQuery, } from './hooks/useListReleaseChangesetCommitsQuery';
132
- export type { ListReleaseChangesetsErrorResponse, ListReleaseChangesetsOkResponse, ListReleaseChangesetsProps, ListReleaseChangesetsQueryPathParams, ListReleaseChangesetsQueryQueryParams, } from './hooks/useListReleaseChangesetsQuery';
133
- export { listReleaseChangesets, useListReleaseChangesetsQuery, } from './hooks/useListReleaseChangesetsQuery';
134
132
  export type { PatchReleaseGroupErrorResponse, PatchReleaseGroupMutationPathParams, PatchReleaseGroupMutationQueryParams, PatchReleaseGroupOkResponse, PatchReleaseGroupProps, PatchReleaseGroupRequestBody, } from './hooks/usePatchReleaseGroupMutation';
135
133
  export { patchReleaseGroup, usePatchReleaseGroupMutation, } from './hooks/usePatchReleaseGroupMutation';
136
134
  export type { PostActivityExecutionOutputErrorResponse, PostActivityExecutionOutputMutationPathParams, PostActivityExecutionOutputMutationQueryParams, PostActivityExecutionOutputOkResponse, PostActivityExecutionOutputProps, PostActivityExecutionOutputRequestBody, } from './hooks/usePostActivityExecutionOutputMutation';
@@ -179,8 +177,6 @@ export type { PutReleaseGroupErrorResponse, PutReleaseGroupMutationPathParams, P
179
177
  export { putReleaseGroup, usePutReleaseGroupMutation } from './hooks/usePutReleaseGroupMutation';
180
178
  export type { PutReleaseReleaseIdErrorResponse, PutReleaseReleaseIdMutationPathParams, PutReleaseReleaseIdOkResponse, PutReleaseReleaseIdProps, PutReleaseReleaseIdRequestBody, } from './hooks/usePutReleaseReleaseIdMutation';
181
179
  export { putReleaseReleaseId, usePutReleaseReleaseIdMutation, } from './hooks/usePutReleaseReleaseIdMutation';
182
- export type { RetryReleaseChangesetErrorResponse, RetryReleaseChangesetMutationPathParams, RetryReleaseChangesetMutationQueryParams, RetryReleaseChangesetOkResponse, RetryReleaseChangesetProps, } from './hooks/useRetryReleaseChangesetMutation';
183
- export { retryReleaseChangeset, useRetryReleaseChangesetMutation, } from './hooks/useRetryReleaseChangesetMutation';
184
180
  export type { ServeUploadErrorResponse, ServeUploadOkResponse, ServeUploadProps, ServeUploadQueryPathParams, } from './hooks/useServeUploadQuery';
185
181
  export { serveUpload, useServeUploadQuery } from './hooks/useServeUploadQuery';
186
182
  export type { StartReleaseExecutionErrorResponse, StartReleaseExecutionMutationPathParams, StartReleaseExecutionMutationQueryParams, StartReleaseExecutionOkResponse, StartReleaseExecutionProps, StartReleaseExecutionRequestBody, } from './hooks/useStartReleaseExecutionMutation';
@@ -195,8 +191,6 @@ export type { UpdateExecutionTaskMetadataErrorResponse, UpdateExecutionTaskMetad
195
191
  export { updateExecutionTaskMetadata, useUpdateExecutionTaskMetadataMutation, } from './hooks/useUpdateExecutionTaskMetadataMutation';
196
192
  export type { UpdateExecutionTaskStatusErrorResponse, UpdateExecutionTaskStatusMutationPathParams, UpdateExecutionTaskStatusMutationQueryParams, UpdateExecutionTaskStatusOkResponse, UpdateExecutionTaskStatusProps, UpdateExecutionTaskStatusRequestBody, } from './hooks/useUpdateExecutionTaskStatusMutation';
197
193
  export { updateExecutionTaskStatus, useUpdateExecutionTaskStatusMutation, } from './hooks/useUpdateExecutionTaskStatusMutation';
198
- export type { UpdateReleaseChangesetTagsErrorResponse, UpdateReleaseChangesetTagsMutationPathParams, UpdateReleaseChangesetTagsMutationQueryParams, UpdateReleaseChangesetTagsOkResponse, UpdateReleaseChangesetTagsProps, UpdateReleaseChangesetTagsRequestBody, } from './hooks/useUpdateReleaseChangesetTagsMutation';
199
- export { updateReleaseChangesetTags, useUpdateReleaseChangesetTagsMutation, } from './hooks/useUpdateReleaseChangesetTagsMutation';
200
194
  export type { UpdateReleaseConflictErrorResponse, UpdateReleaseConflictMutationPathParams, UpdateReleaseConflictOkResponse, UpdateReleaseConflictProps, UpdateReleaseConflictRequestBody, } from './hooks/useUpdateReleaseConflictMutation';
201
195
  export { updateReleaseConflict, useUpdateReleaseConflictMutation, } from './hooks/useUpdateReleaseConflictMutation';
202
196
  export type { UpdateTaskCommentErrorResponse, UpdateTaskCommentMutationPathParams, UpdateTaskCommentMutationQueryParams, UpdateTaskCommentOkResponse, UpdateTaskCommentProps, UpdateTaskCommentRequestBody, } from './hooks/useUpdateTaskCommentMutation';
@@ -232,21 +226,23 @@ export type { EnvironmentDashboardResponseResponse } from './responses/Environme
232
226
  export type { EnvironmentListPerReleaseResponseResponse } from './responses/EnvironmentListPerReleaseResponseResponse';
233
227
  export type { ErrorResponseResponse } from './responses/ErrorResponseResponse';
234
228
  export type { EventsResponseResponse } from './responses/EventsResponseResponse';
235
- export type { ExecuteProcessResponseResponse } from './responses/ExecuteProcessResponseResponse';
236
229
  export type { ExecutionOutputsResponseResponse } from './responses/ExecutionOutputsResponseResponse';
237
230
  export type { ExecutionOutputsV2ResponseResponse } from './responses/ExecutionOutputsV2ResponseResponse';
231
+ export type { ExecutionStartResponseResponse } from './responses/ExecutionStartResponseResponse';
238
232
  export type { ExecutionTasksListResponseResponse } from './responses/ExecutionTasksListResponseResponse';
239
233
  export type { FreezeDetailsResponseResponse } from './responses/FreezeDetailsResponseResponse';
240
234
  export type { FreezeListResponseResponse } from './responses/FreezeListResponseResponse';
241
235
  export type { GetOrchestrationActivityResponseResponse } from './responses/GetOrchestrationActivityResponseResponse';
242
236
  export type { GetOrchestrationProcessInputResponseResponse } from './responses/GetOrchestrationProcessInputResponseResponse';
243
237
  export type { GetOrchestrationProcessResponseResponse } from './responses/GetOrchestrationProcessResponseResponse';
238
+ export type { GetProcessExecutionInputResponseResponse } from './responses/GetProcessExecutionInputResponseResponse';
244
239
  export type { GetProcessExecutionResponseResponse } from './responses/GetProcessExecutionResponseResponse';
245
240
  export type { GetReleaseGroupResponseResponse } from './responses/GetReleaseGroupResponseResponse';
246
241
  export type { OnHoldActivityActionResponseResponse } from './responses/OnHoldActivityActionResponseResponse';
247
242
  export type { OrchestrationActivityListByProcessIdentifierResponseResponse } from './responses/OrchestrationActivityListByProcessIdentifierResponseResponse';
248
243
  export type { OrchestrationActivitySummaryResponseResponse } from './responses/OrchestrationActivitySummaryResponseResponse';
249
244
  export type { OrchestrationExecutionActivitiesPaginatedResponseResponse } from './responses/OrchestrationExecutionActivitiesPaginatedResponseResponse';
245
+ export type { OrchestrationExecutionActivitiesResponseResponse } from './responses/OrchestrationExecutionActivitiesResponseResponse';
250
246
  export type { OrchestrationProcessAttachedReleaseGroupsResponseResponse } from './responses/OrchestrationProcessAttachedReleaseGroupsResponseResponse';
251
247
  export type { OrchestrationProcessInputSummaryResponseResponse } from './responses/OrchestrationProcessInputSummaryResponseResponse';
252
248
  export type { OrchestrationProcessSummaryResponseResponse } from './responses/OrchestrationProcessSummaryResponseResponse';
@@ -303,12 +299,6 @@ export type { ArtifactoryRegistryMetadata } from './schemas/ArtifactoryRegistryM
303
299
  export type { AttachedReleaseGroupDto } from './schemas/AttachedReleaseGroupDto';
304
300
  export type { AutoExecuteOnScheduleProperty } from './schemas/AutoExecuteOnScheduleProperty';
305
301
  export type { BuildInfo } from './schemas/BuildInfo';
306
- export type { Changeset } from './schemas/Changeset';
307
- export type { ChangesetCommit } from './schemas/ChangesetCommit';
308
- export type { ChangesetCommitList } from './schemas/ChangesetCommitList';
309
- export type { ChangesetCommitTicket } from './schemas/ChangesetCommitTicket';
310
- export type { ChangesetFacets } from './schemas/ChangesetFacets';
311
- export type { ChangesetList } from './schemas/ChangesetList';
312
302
  export type { ClusterDeploymentDto } from './schemas/ClusterDeploymentDto';
313
303
  export type { CommentedByDto } from './schemas/CommentedByDto';
314
304
  export type { ConflictStatus } from './schemas/ConflictStatus';
@@ -335,11 +325,11 @@ export type { EventDto } from './schemas/EventDto';
335
325
  export type { EventEntity } from './schemas/EventEntity';
336
326
  export type { EventMetadata } from './schemas/EventMetadata';
337
327
  export type { EventType } from './schemas/EventType';
338
- export type { ExecuteProcessResponseDto } from './schemas/ExecuteProcessResponseDto';
339
328
  export type { ExecutionConflict } from './schemas/ExecutionConflict';
340
329
  export type { ExecutionOutputDto } from './schemas/ExecutionOutputDto';
341
330
  export type { ExecutionOutputGroupDto } from './schemas/ExecutionOutputGroupDto';
342
331
  export type { ExecutionOutputV2Dto } from './schemas/ExecutionOutputV2Dto';
332
+ export type { ExecutionStartResponse } from './schemas/ExecutionStartResponse';
343
333
  export type { ExecutionTaskDto } from './schemas/ExecutionTaskDto';
344
334
  export type { ExecutionTaskStatus } from './schemas/ExecutionTaskStatus';
345
335
  export type { ExecutionTriggerInfo } from './schemas/ExecutionTriggerInfo';
@@ -407,7 +397,10 @@ export type { PipelineStageInfo } from './schemas/PipelineStageInfo';
407
397
  export type { PolicyMetadata } from './schemas/PolicyMetadata';
408
398
  export type { PolicySetMetadata } from './schemas/PolicySetMetadata';
409
399
  export type { PrimitiveInputVariable } from './schemas/PrimitiveInputVariable';
400
+ export type { ProcessExecutionDetailsResponse } from './schemas/ProcessExecutionDetailsResponse';
410
401
  export type { ProcessExecutionDto } from './schemas/ProcessExecutionDto';
402
+ export type { ProcessExecutionInfoDto } from './schemas/ProcessExecutionInfoDto';
403
+ export type { ProcessExecutionInputResponse } from './schemas/ProcessExecutionInputResponse';
411
404
  export type { ProcessInputSummaryDto } from './schemas/ProcessInputSummaryDto';
412
405
  export type { ProcessInputValidationResponse } from './schemas/ProcessInputValidationResponse';
413
406
  export type { ReleaseActionRequest } from './schemas/ReleaseActionRequest';
@@ -422,6 +415,7 @@ export type { ReleaseDto } from './schemas/ReleaseDto';
422
415
  export type { ReleaseFrequency } from './schemas/ReleaseFrequency';
423
416
  export type { ReleaseGroupDto } from './schemas/ReleaseGroupDto';
424
417
  export type { ReleaseGroupYaml } from './schemas/ReleaseGroupYaml';
418
+ export type { ReleaseInfo } from './schemas/ReleaseInfo';
425
419
  export type { ReleaseInputYaml } from './schemas/ReleaseInputYaml';
426
420
  export type { ReleaseParentDto } from './schemas/ReleaseParentDto';
427
421
  export type { ReleaseType } from './schemas/ReleaseType';
@@ -460,7 +454,6 @@ export type { TriggerType } from './schemas/TriggerType';
460
454
  export type { TriggeredBy } from './schemas/TriggeredBy';
461
455
  export type { TriggeredByDto } from './schemas/TriggeredByDto';
462
456
  export type { UpdateArtifactTrackerServiceMappingRequest } from './schemas/UpdateArtifactTrackerServiceMappingRequest';
463
- export type { UpdateChangesetTagsRequest } from './schemas/UpdateChangesetTagsRequest';
464
457
  export type { UploadResponse } from './schemas/UploadResponse';
465
458
  export type { UpsertArtifactTrackerSettingsRequest } from './schemas/UpsertArtifactTrackerSettingsRequest';
466
459
  export type { User } from './schemas/User';
@@ -469,8 +462,6 @@ export type { WebhookEventType } from './schemas/WebhookEventType';
469
462
  export type { WebhookMetadataResponse } from './schemas/WebhookMetadataResponse';
470
463
  export type { WebhookQueueActionRequest } from './schemas/WebhookQueueActionRequest';
471
464
  export type { WebhookQueueActionResponse } from './schemas/WebhookQueueActionResponse';
472
- export type { WebhookSignalArtifacts } from './schemas/WebhookSignalArtifacts';
473
- export type { WebhookSignalImage } from './schemas/WebhookSignalImage';
474
465
  export type { WebhookSignalPipeline } from './schemas/WebhookSignalPipeline';
475
466
  export type { WebhookSignalRequest } from './schemas/WebhookSignalRequest';
476
467
  export type { WebhookSignalResponse } from './schemas/WebhookSignalResponse';
@@ -38,10 +38,11 @@ export { getOrchestrationProcessInputSummary, useGetOrchestrationProcessInputSum
38
38
  export { getOrchestrationProcess, useGetOrchestrationProcessQuery, } from './hooks/useGetOrchestrationProcessQuery';
39
39
  export { getOrchestrationProcessSummary, useGetOrchestrationProcessSummaryQuery, } from './hooks/useGetOrchestrationProcessSummaryQuery';
40
40
  export { getProcessExecutionActivitiesPaginated, useGetProcessExecutionActivitiesPaginatedQuery, } from './hooks/useGetProcessExecutionActivitiesPaginatedQuery';
41
+ export { getProcessExecutionActivities, useGetProcessExecutionActivitiesQuery, } from './hooks/useGetProcessExecutionActivitiesQuery';
42
+ export { getProcessExecutionInput, useGetProcessExecutionInputQuery, } from './hooks/useGetProcessExecutionInputQuery';
41
43
  export { getProcessExecutionPhases, useGetProcessExecutionPhasesQuery, } from './hooks/useGetProcessExecutionPhasesQuery';
42
44
  export { getProcessExecution, useGetProcessExecutionQuery, } from './hooks/useGetProcessExecutionQuery';
43
45
  export { getReleaseActivities, useGetReleaseActivitiesQuery, } from './hooks/useGetReleaseActivitiesQuery';
44
- export { getReleaseChangesetFacets, useGetReleaseChangesetFacetsQuery, } from './hooks/useGetReleaseChangesetFacetsQuery';
45
46
  export { getReleaseConflicts, useGetReleaseConflictsQuery, } from './hooks/useGetReleaseConflictsQuery';
46
47
  export { getReleaseDayActivities, useGetReleaseDayActivitiesQuery, } from './hooks/useGetReleaseDayActivitiesQuery';
47
48
  export { getReleaseGroup, useGetReleaseGroupQuery } from './hooks/useGetReleaseGroupQuery';
@@ -62,8 +63,6 @@ export { ingestWebhookSignal, useIngestWebhookSignalMutation, } from './hooks/us
62
63
  export { listArtifactTrackerServiceMappings, useListArtifactTrackerServiceMappingsQuery, } from './hooks/useListArtifactTrackerServiceMappingsQuery';
63
64
  export { listArtifactTrackerSettings, useListArtifactTrackerSettingsQuery, } from './hooks/useListArtifactTrackerSettingsQuery';
64
65
  export { listIntegrationExecutions, useListIntegrationExecutionsQuery, } from './hooks/useListIntegrationExecutionsQuery';
65
- export { listReleaseChangesetCommits, useListReleaseChangesetCommitsQuery, } from './hooks/useListReleaseChangesetCommitsQuery';
66
- export { listReleaseChangesets, useListReleaseChangesetsQuery, } from './hooks/useListReleaseChangesetsQuery';
67
66
  export { patchReleaseGroup, usePatchReleaseGroupMutation, } from './hooks/usePatchReleaseGroupMutation';
68
67
  export { postActivityExecutionOutput, usePostActivityExecutionOutputMutation, } from './hooks/usePostActivityExecutionOutputMutation';
69
68
  export { postOnHoldActivityAction, usePostOnHoldActivityActionMutation, } from './hooks/usePostOnHoldActivityActionMutation';
@@ -88,7 +87,6 @@ export { putOrchestrationProcessInput, usePutOrchestrationProcessInputMutation,
88
87
  export { putOrchestrationProcess, usePutOrchestrationProcessMutation, } from './hooks/usePutOrchestrationProcessMutation';
89
88
  export { putReleaseGroup, usePutReleaseGroupMutation } from './hooks/usePutReleaseGroupMutation';
90
89
  export { putReleaseReleaseId, usePutReleaseReleaseIdMutation, } from './hooks/usePutReleaseReleaseIdMutation';
91
- export { retryReleaseChangeset, useRetryReleaseChangesetMutation, } from './hooks/useRetryReleaseChangesetMutation';
92
90
  export { serveUpload, useServeUploadQuery } from './hooks/useServeUploadQuery';
93
91
  export { startReleaseExecution, useStartReleaseExecutionMutation, } from './hooks/useStartReleaseExecutionMutation';
94
92
  export { streamUpload, useStreamUploadMutation } from './hooks/useStreamUploadMutation';
@@ -96,7 +94,6 @@ export { triggerIntegrationExecution, useTriggerIntegrationExecutionMutation, }
96
94
  export { updateArtifactTrackerServiceMapping, useUpdateArtifactTrackerServiceMappingMutation, } from './hooks/useUpdateArtifactTrackerServiceMappingMutation';
97
95
  export { updateExecutionTaskMetadata, useUpdateExecutionTaskMetadataMutation, } from './hooks/useUpdateExecutionTaskMetadataMutation';
98
96
  export { updateExecutionTaskStatus, useUpdateExecutionTaskStatusMutation, } from './hooks/useUpdateExecutionTaskStatusMutation';
99
- export { updateReleaseChangesetTags, useUpdateReleaseChangesetTagsMutation, } from './hooks/useUpdateReleaseChangesetTagsMutation';
100
97
  export { updateReleaseConflict, useUpdateReleaseConflictMutation, } from './hooks/useUpdateReleaseConflictMutation';
101
98
  export { updateTaskComment, useUpdateTaskCommentMutation, } from './hooks/useUpdateTaskCommentMutation';
102
99
  export { upsertArtifactTrackerSettings, useUpsertArtifactTrackerSettingsMutation, } from './hooks/useUpsertArtifactTrackerSettingsMutation';
@@ -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
+ }
@@ -5,10 +5,6 @@ export interface ArtifactTrackerServiceMapping {
5
5
  * @format int64
6
6
  */
7
7
  createdAt?: number;
8
- /**
9
- * Docker/container registry connector reference.
10
- */
11
- dockerConnectorRefOverride?: string;
12
8
  gitConnectorRefOverride?: string;
13
9
  identifier: string;
14
10
  k8sConnectorRefOverride?: string;
@@ -3,10 +3,6 @@ export interface ArtifactTrackerSettings {
3
3
  * @format int64
4
4
  */
5
5
  createdAt?: number;
6
- /**
7
- * Docker/container registry connector reference.
8
- */
9
- defaultDockerConnectorRef?: string;
10
6
  defaultGitConnectorRef?: string;
11
7
  defaultK8sConnectorRef?: string;
12
8
  defaultK8sNamespace?: string;
@@ -1,10 +1,6 @@
1
1
  export interface CreateArtifactTrackerServiceMappingRequest {
2
2
  artifactPath: string;
3
3
  artifactRegistry?: string;
4
- /**
5
- * Docker/container registry connector reference.
6
- */
7
- dockerConnectorRefOverride?: string;
8
4
  /**
9
5
  * Optional override for the linked settings' default git connector. Required only when the linked settings has no defaultGitConnectorRef.
10
6
  */
@@ -1,8 +1,4 @@
1
1
  export interface CreateArtifactTrackerSettingsRequest {
2
- /**
3
- * Docker/container registry connector reference.
4
- */
5
- defaultDockerConnectorRef?: string;
6
2
  defaultGitConnectorRef?: string;
7
3
  defaultK8sConnectorRef?: string;
8
4
  defaultK8sNamespace?: string;
@@ -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,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 { ReleaseInfo } from '../schemas/ReleaseInfo';
1
2
  import type { OrchestrationStatus } from '../schemas/OrchestrationStatus';
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';
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;
19
42
  status: OrchestrationStatus;
43
+ triggeredBy?: TriggeredByDto;
20
44
  /**
21
45
  * Last updated timestamp in milliseconds
22
46
  */
@@ -0,0 +1,28 @@
1
+ import type { TriggeredByDto } from '../schemas/TriggeredByDto';
2
+ /**
3
+ * Summary metadata for a single process execution (GET /orchestration/process/execution/{executionId}).
4
+ */
5
+ export interface ProcessExecutionInfoDto {
6
+ accountIdentifier: string;
7
+ /**
8
+ * Navigation ID — process execution slug for PROCESS runs, release slug for RELEASE runs
9
+ */
10
+ executionId: string;
11
+ executionType: 'PROCESS' | 'RELEASE';
12
+ orgIdentifier: string;
13
+ /**
14
+ * Identifier of the orchestration process
15
+ */
16
+ processIdentifier: string;
17
+ projectIdentifier: string;
18
+ /**
19
+ * Execution start timestamp in milliseconds
20
+ * @format int64
21
+ */
22
+ startTs: number;
23
+ /**
24
+ * Release-style execution status
25
+ */
26
+ status: 'Aborted' | 'Failed' | 'InputWaiting' | 'Paused' | 'Running' | 'Scheduled' | 'Success';
27
+ triggeredBy?: TriggeredByDto;
28
+ }
@@ -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,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
+ }
@@ -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
  */
@@ -1,10 +1,6 @@
1
1
  export interface UpdateArtifactTrackerServiceMappingRequest {
2
2
  artifactPath?: string;
3
3
  artifactRegistry?: string;
4
- /**
5
- * Docker/container registry connector reference.
6
- */
7
- dockerConnectorRefOverride?: string;
8
4
  /**
9
5
  * Optional override for the linked settings' default git connector. Required only when the linked settings has no defaultGitConnectorRef.
10
6
  */
@@ -1,8 +1,4 @@
1
1
  export interface UpsertArtifactTrackerSettingsRequest {
2
- /**
3
- * Docker/container registry connector reference.
4
- */
5
- defaultDockerConnectorRef?: string;
6
2
  defaultGitConnectorRef?: string;
7
3
  defaultK8sConnectorRef?: string;
8
4
  defaultK8sNamespace?: string;
@@ -1,8 +1,6 @@
1
- import type { WebhookSignalArtifacts } from '../schemas/WebhookSignalArtifacts';
2
1
  import type { WebhookEventType } from '../schemas/WebhookEventType';
3
2
  import type { WebhookSignalPipeline } from '../schemas/WebhookSignalPipeline';
4
3
  export interface WebhookSignalRequest {
5
- artifacts?: WebhookSignalArtifacts;
6
4
  eventType: WebhookEventType;
7
5
  /**
8
6
  * Event metadata. Maximum size 10 KiB.
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.68.0",
4
4
  "description": "Harness Release Management Service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",
@@ -1,29 +0,0 @@
1
- import { UseQueryOptions } from '@tanstack/react-query';
2
- import type { ChangesetFacets } from '../schemas/ChangesetFacets';
3
- import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
- import type { ResponseWithPagination } from '../helpers';
5
- import { FetcherOptions } from '../../../../fetcher/index.js';
6
- export interface GetReleaseChangesetFacetsQueryPathParams {
7
- releaseId: string;
8
- }
9
- export interface GetReleaseChangesetFacetsQueryQueryParams {
10
- orgIdentifier?: string;
11
- projectIdentifier?: string;
12
- service?: string;
13
- tag?: string;
14
- artifactPath?: string;
15
- artifactRegistry?: string;
16
- }
17
- export interface GetReleaseChangesetFacetsQueryHeaderParams {
18
- 'Harness-Account': string;
19
- }
20
- export type GetReleaseChangesetFacetsOkResponse = ResponseWithPagination<ChangesetFacets>;
21
- export type GetReleaseChangesetFacetsErrorResponse = ErrorResponseResponse;
22
- export interface GetReleaseChangesetFacetsProps extends GetReleaseChangesetFacetsQueryPathParams, Omit<FetcherOptions<GetReleaseChangesetFacetsQueryQueryParams, unknown, GetReleaseChangesetFacetsQueryHeaderParams>, 'url'> {
23
- queryParams: GetReleaseChangesetFacetsQueryQueryParams;
24
- }
25
- export declare function getReleaseChangesetFacets(props: GetReleaseChangesetFacetsProps): Promise<GetReleaseChangesetFacetsOkResponse>;
26
- /**
27
- * Distinct filter options (facets) for a release's changesets
28
- */
29
- export declare function useGetReleaseChangesetFacetsQuery(props: GetReleaseChangesetFacetsProps, options?: Omit<UseQueryOptions<GetReleaseChangesetFacetsOkResponse, GetReleaseChangesetFacetsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetReleaseChangesetFacetsOkResponse, import("..").Error>;
@@ -1,14 +0,0 @@
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 getReleaseChangesetFacets(props) {
7
- return fetcher(Object.assign({ url: `/v1/releases/${props.releaseId}/changesets/facets`, method: 'GET' }, props));
8
- }
9
- /**
10
- * Distinct filter options (facets) for a release's changesets
11
- */
12
- export function useGetReleaseChangesetFacetsQuery(props, options) {
13
- return useQuery(['getReleaseChangesetFacets', props.releaseId, props.queryParams], ({ signal }) => getReleaseChangesetFacets(Object.assign(Object.assign({}, props), { signal })), options);
14
- }
@@ -1,34 +0,0 @@
1
- import { UseQueryOptions } from '@tanstack/react-query';
2
- import type { ChangesetCommitList } from '../schemas/ChangesetCommitList';
3
- import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
- import type { ResponseWithPagination } from '../helpers';
5
- import { FetcherOptions } from '../../../../fetcher/index.js';
6
- export interface ListReleaseChangesetCommitsQueryPathParams {
7
- releaseId: string;
8
- changesetId: string;
9
- }
10
- export interface ListReleaseChangesetCommitsQueryQueryParams {
11
- orgIdentifier?: string;
12
- projectIdentifier?: string;
13
- /**
14
- * @default 0
15
- */
16
- page?: number;
17
- /**
18
- * @default 20
19
- */
20
- size?: number;
21
- }
22
- export interface ListReleaseChangesetCommitsQueryHeaderParams {
23
- 'Harness-Account': string;
24
- }
25
- export type ListReleaseChangesetCommitsOkResponse = ResponseWithPagination<ChangesetCommitList>;
26
- export type ListReleaseChangesetCommitsErrorResponse = ErrorResponseResponse;
27
- export interface ListReleaseChangesetCommitsProps extends ListReleaseChangesetCommitsQueryPathParams, Omit<FetcherOptions<ListReleaseChangesetCommitsQueryQueryParams, unknown, ListReleaseChangesetCommitsQueryHeaderParams>, 'url'> {
28
- queryParams: ListReleaseChangesetCommitsQueryQueryParams;
29
- }
30
- export declare function listReleaseChangesetCommits(props: ListReleaseChangesetCommitsProps): Promise<ListReleaseChangesetCommitsOkResponse>;
31
- /**
32
- * List commits (with tickets) for a changeset
33
- */
34
- export declare function useListReleaseChangesetCommitsQuery(props: ListReleaseChangesetCommitsProps, options?: Omit<UseQueryOptions<ListReleaseChangesetCommitsOkResponse, ListReleaseChangesetCommitsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListReleaseChangesetCommitsOkResponse, import("..").Error>;
@@ -1,14 +0,0 @@
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 listReleaseChangesetCommits(props) {
7
- return fetcher(Object.assign({ url: `/v1/releases/${props.releaseId}/changesets/${props.changesetId}/commits`, method: 'GET' }, props));
8
- }
9
- /**
10
- * List commits (with tickets) for a changeset
11
- */
12
- export function useListReleaseChangesetCommitsQuery(props, options) {
13
- return useQuery(['listReleaseChangesetCommits', props.releaseId, props.changesetId, props.queryParams], ({ signal }) => listReleaseChangesetCommits(Object.assign(Object.assign({}, props), { signal })), options);
14
- }
@@ -1,39 +0,0 @@
1
- import { UseQueryOptions } from '@tanstack/react-query';
2
- import type { ChangesetList } from '../schemas/ChangesetList';
3
- import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
- import type { ResponseWithPagination } from '../helpers';
5
- import { FetcherOptions } from '../../../../fetcher/index.js';
6
- export interface ListReleaseChangesetsQueryPathParams {
7
- releaseId: string;
8
- }
9
- export interface ListReleaseChangesetsQueryQueryParams {
10
- orgIdentifier?: string;
11
- projectIdentifier?: string;
12
- /**
13
- * @default 0
14
- */
15
- page?: number;
16
- /**
17
- * @default 20
18
- */
19
- size?: number;
20
- artifactPath?: string;
21
- artifactRegistry?: string;
22
- sha?: string;
23
- ticketKey?: string;
24
- service?: string;
25
- tag?: string;
26
- }
27
- export interface ListReleaseChangesetsQueryHeaderParams {
28
- 'Harness-Account': string;
29
- }
30
- export type ListReleaseChangesetsOkResponse = ResponseWithPagination<ChangesetList>;
31
- export type ListReleaseChangesetsErrorResponse = ErrorResponseResponse;
32
- export interface ListReleaseChangesetsProps extends ListReleaseChangesetsQueryPathParams, Omit<FetcherOptions<ListReleaseChangesetsQueryQueryParams, unknown, ListReleaseChangesetsQueryHeaderParams>, 'url'> {
33
- queryParams: ListReleaseChangesetsQueryQueryParams;
34
- }
35
- export declare function listReleaseChangesets(props: ListReleaseChangesetsProps): Promise<ListReleaseChangesetsOkResponse>;
36
- /**
37
- * List changesets for a release
38
- */
39
- export declare function useListReleaseChangesetsQuery(props: ListReleaseChangesetsProps, options?: Omit<UseQueryOptions<ListReleaseChangesetsOkResponse, ListReleaseChangesetsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListReleaseChangesetsOkResponse, import("..").Error>;
@@ -1,14 +0,0 @@
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 listReleaseChangesets(props) {
7
- return fetcher(Object.assign({ url: `/v1/releases/${props.releaseId}/changesets`, method: 'GET' }, props));
8
- }
9
- /**
10
- * List changesets for a release
11
- */
12
- export function useListReleaseChangesetsQuery(props, options) {
13
- return useQuery(['listReleaseChangesets', props.releaseId, props.queryParams], ({ signal }) => listReleaseChangesets(Object.assign(Object.assign({}, props), { signal })), options);
14
- }
@@ -1,26 +0,0 @@
1
- import { UseMutationOptions } from '@tanstack/react-query';
2
- import type { Changeset } from '../schemas/Changeset';
3
- import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
- import type { ResponseWithPagination } from '../helpers';
5
- import { FetcherOptions } from '../../../../fetcher/index.js';
6
- export interface RetryReleaseChangesetMutationPathParams {
7
- releaseId: string;
8
- changesetId: string;
9
- }
10
- export interface RetryReleaseChangesetMutationQueryParams {
11
- orgIdentifier?: string;
12
- projectIdentifier?: string;
13
- }
14
- export interface RetryReleaseChangesetMutationHeaderParams {
15
- 'Harness-Account': string;
16
- }
17
- export type RetryReleaseChangesetOkResponse = ResponseWithPagination<Changeset>;
18
- export type RetryReleaseChangesetErrorResponse = ErrorResponseResponse;
19
- export interface RetryReleaseChangesetProps extends RetryReleaseChangesetMutationPathParams, Omit<FetcherOptions<RetryReleaseChangesetMutationQueryParams, unknown, RetryReleaseChangesetMutationHeaderParams>, 'url'> {
20
- queryParams: RetryReleaseChangesetMutationQueryParams;
21
- }
22
- export declare function retryReleaseChangeset(props: RetryReleaseChangesetProps): Promise<RetryReleaseChangesetOkResponse>;
23
- /**
24
- * Retry a changeset's pipeline
25
- */
26
- export declare function useRetryReleaseChangesetMutation(options?: Omit<UseMutationOptions<RetryReleaseChangesetOkResponse, RetryReleaseChangesetErrorResponse, RetryReleaseChangesetProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<RetryReleaseChangesetOkResponse, import("..").Error, RetryReleaseChangesetProps, unknown>;
@@ -1,14 +0,0 @@
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 retryReleaseChangeset(props) {
7
- return fetcher(Object.assign({ url: `/v1/releases/${props.releaseId}/changesets/${props.changesetId}/retry`, method: 'POST' }, props));
8
- }
9
- /**
10
- * Retry a changeset's pipeline
11
- */
12
- export function useRetryReleaseChangesetMutation(options) {
13
- return useMutation((mutateProps) => retryReleaseChangeset(mutateProps), options);
14
- }
@@ -1,29 +0,0 @@
1
- import { UseMutationOptions } from '@tanstack/react-query';
2
- import type { Changeset } from '../schemas/Changeset';
3
- import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
- import type { UpdateChangesetTagsRequest } from '../schemas/UpdateChangesetTagsRequest';
5
- import type { ResponseWithPagination } from '../helpers';
6
- import { FetcherOptions } from '../../../../fetcher/index.js';
7
- export interface UpdateReleaseChangesetTagsMutationPathParams {
8
- releaseId: string;
9
- changesetId: string;
10
- }
11
- export interface UpdateReleaseChangesetTagsMutationQueryParams {
12
- orgIdentifier?: string;
13
- projectIdentifier?: string;
14
- }
15
- export interface UpdateReleaseChangesetTagsMutationHeaderParams {
16
- 'Harness-Account': string;
17
- }
18
- export type UpdateReleaseChangesetTagsRequestBody = UpdateChangesetTagsRequest;
19
- export type UpdateReleaseChangesetTagsOkResponse = ResponseWithPagination<Changeset>;
20
- export type UpdateReleaseChangesetTagsErrorResponse = ErrorResponseResponse;
21
- export interface UpdateReleaseChangesetTagsProps extends UpdateReleaseChangesetTagsMutationPathParams, Omit<FetcherOptions<UpdateReleaseChangesetTagsMutationQueryParams, UpdateReleaseChangesetTagsRequestBody, UpdateReleaseChangesetTagsMutationHeaderParams>, 'url'> {
22
- queryParams: UpdateReleaseChangesetTagsMutationQueryParams;
23
- body: UpdateReleaseChangesetTagsRequestBody;
24
- }
25
- export declare function updateReleaseChangesetTags(props: UpdateReleaseChangesetTagsProps): Promise<UpdateReleaseChangesetTagsOkResponse>;
26
- /**
27
- * Edit a changeset's from/to tags
28
- */
29
- export declare function useUpdateReleaseChangesetTagsMutation(options?: Omit<UseMutationOptions<UpdateReleaseChangesetTagsOkResponse, UpdateReleaseChangesetTagsErrorResponse, UpdateReleaseChangesetTagsProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateReleaseChangesetTagsOkResponse, import("..").Error, UpdateReleaseChangesetTagsProps, unknown>;
@@ -1,14 +0,0 @@
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 updateReleaseChangesetTags(props) {
7
- return fetcher(Object.assign({ url: `/v1/releases/${props.releaseId}/changesets/${props.changesetId}`, method: 'PATCH' }, props));
8
- }
9
- /**
10
- * Edit a changeset's from/to tags
11
- */
12
- export function useUpdateReleaseChangesetTagsMutation(options) {
13
- return useMutation((mutateProps) => updateReleaseChangesetTags(mutateProps), options);
14
- }
@@ -1,4 +0,0 @@
1
- import type { ExecuteProcessResponseDto } from '../schemas/ExecuteProcessResponseDto';
2
- export interface ExecuteProcessResponseResponse {
3
- content: ExecuteProcessResponseDto;
4
- }
@@ -1,21 +0,0 @@
1
- export interface Changeset {
2
- artifactPath: string;
3
- commitCount?: number;
4
- /**
5
- * @format int64
6
- */
7
- createdAt?: number;
8
- errorMessage?: string;
9
- fromArtifactTag: string;
10
- id: string;
11
- /**
12
- * @format int64
13
- */
14
- lastUpdatedAt?: number;
15
- pipelineExecutionId?: string;
16
- registry?: string;
17
- releaseId: string;
18
- serviceRef?: string;
19
- status: 'COMPLETED' | 'FAILED' | 'IN_PROGRESS' | 'PENDING';
20
- toArtifactTag: string;
21
- }
@@ -1,22 +0,0 @@
1
- import type { ChangesetCommitTicket } from '../schemas/ChangesetCommitTicket';
2
- export interface ChangesetCommit {
3
- /**
4
- * @format int64
5
- */
6
- authorDate?: number;
7
- authorEmail?: string;
8
- authorName?: string;
9
- /**
10
- * @format int64
11
- */
12
- committerDate?: number;
13
- committerEmail?: string;
14
- committerName?: string;
15
- id: string;
16
- message: string;
17
- parentShas?: string[];
18
- repoName?: string;
19
- sha: string;
20
- tickets?: ChangesetCommitTicket[];
21
- url?: string;
22
- }
@@ -1,8 +0,0 @@
1
- import type { ChangesetCommit } from '../schemas/ChangesetCommit';
2
- export interface ChangesetCommitList {
3
- content?: ChangesetCommit[];
4
- pageNumber?: number;
5
- pageSize?: number;
6
- totalElements?: number;
7
- totalPages?: number;
8
- }
@@ -1,7 +0,0 @@
1
- export interface ChangesetCommitTicket {
2
- key: string;
3
- source?: string;
4
- summary?: string;
5
- type?: string;
6
- url?: string;
7
- }
@@ -1,6 +0,0 @@
1
- export interface ChangesetFacets {
2
- artifactPaths?: string[];
3
- registries?: string[];
4
- services?: string[];
5
- tags?: string[];
6
- }
@@ -1,8 +0,0 @@
1
- import type { Changeset } from '../schemas/Changeset';
2
- export interface ChangesetList {
3
- content?: Changeset[];
4
- pageNumber?: number;
5
- pageSize?: number;
6
- totalElements?: number;
7
- totalPages?: number;
8
- }
@@ -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
- }
@@ -1,4 +0,0 @@
1
- export interface UpdateChangesetTagsRequest {
2
- fromArtifactTag?: string;
3
- toArtifactTag?: string;
4
- }
@@ -1,4 +0,0 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
- export {};
@@ -1,16 +0,0 @@
1
- import type { WebhookSignalImage } from '../schemas/WebhookSignalImage';
2
- /**
3
- * Pre-resolved artifacts attached by the RO Notify step (auto-discovered from CI).
4
- * Present iff eventType == "ARTIFACT_TRACKER_SIGNAL"; the handler treats absence
5
- * as a no-op for any other event type.
6
- *
7
- */
8
- export interface WebhookSignalArtifacts {
9
- files?: Array<{
10
- [key: string]: any;
11
- }>;
12
- images?: WebhookSignalImage[];
13
- sbom?: Array<{
14
- [key: string]: any;
15
- }>;
16
- }
@@ -1,9 +0,0 @@
1
- export interface WebhookSignalImage {
2
- digest?: string;
3
- /**
4
- * e.g. "pkg.qa.harness.io/org/repo/test"
5
- */
6
- imageName: string;
7
- tag: string;
8
- url?: string;
9
- }
@@ -1,4 +0,0 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
- export {};