@harnessio/react-rmg-service-client 0.83.0 → 0.84.1-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/rmg-service/src/services/hooks/useGetProcessExecutionActivitiesQuery.d.ts +1 -0
- package/dist/rmg-service/src/services/hooks/useGetProcessExecutionPhasesQuery.d.ts +1 -0
- package/dist/rmg-service/src/services/hooks/useMoveOrchestrationActivityToGitMutation.d.ts +28 -0
- package/dist/rmg-service/src/services/hooks/useMoveOrchestrationActivityToGitMutation.js +14 -0
- package/dist/rmg-service/src/services/index.d.ts +3 -0
- package/dist/rmg-service/src/services/index.js +1 -0
- package/dist/rmg-service/src/services/requestBodies/MoveOrchestrationActivityToGitRequestRequestBody.d.ts +4 -0
- package/dist/rmg-service/src/services/requestBodies/MoveOrchestrationActivityToGitRequestRequestBody.js +1 -0
- package/package.json +1 -1
|
@@ -9,6 +9,7 @@ export interface GetProcessExecutionActivitiesQueryPathParams {
|
|
|
9
9
|
}
|
|
10
10
|
export interface GetProcessExecutionActivitiesQueryQueryParams {
|
|
11
11
|
phaseExecutionId?: string;
|
|
12
|
+
parentExecutionId?: string;
|
|
12
13
|
status?: string[];
|
|
13
14
|
orgIdentifier?: string;
|
|
14
15
|
projectIdentifier?: string;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { GetOrchestrationActivityResponseResponse } from '../responses/GetOrchestrationActivityResponseResponse';
|
|
3
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
+
import type { MoveOrchestrationActivityToGitRequestRequestBody } from '../requestBodies/MoveOrchestrationActivityToGitRequestRequestBody';
|
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
+
export interface MoveOrchestrationActivityToGitMutationPathParams {
|
|
8
|
+
identifier: string;
|
|
9
|
+
}
|
|
10
|
+
export interface MoveOrchestrationActivityToGitMutationQueryParams {
|
|
11
|
+
orgIdentifier?: string;
|
|
12
|
+
projectIdentifier?: string;
|
|
13
|
+
}
|
|
14
|
+
export interface MoveOrchestrationActivityToGitMutationHeaderParams {
|
|
15
|
+
'Harness-Account': string;
|
|
16
|
+
}
|
|
17
|
+
export type MoveOrchestrationActivityToGitRequestBody = MoveOrchestrationActivityToGitRequestRequestBody;
|
|
18
|
+
export type MoveOrchestrationActivityToGitOkResponse = ResponseWithPagination<GetOrchestrationActivityResponseResponse>;
|
|
19
|
+
export type MoveOrchestrationActivityToGitErrorResponse = ErrorResponseResponse;
|
|
20
|
+
export interface MoveOrchestrationActivityToGitProps extends MoveOrchestrationActivityToGitMutationPathParams, Omit<FetcherOptions<MoveOrchestrationActivityToGitMutationQueryParams, MoveOrchestrationActivityToGitRequestBody, MoveOrchestrationActivityToGitMutationHeaderParams>, 'url'> {
|
|
21
|
+
queryParams: MoveOrchestrationActivityToGitMutationQueryParams;
|
|
22
|
+
body: MoveOrchestrationActivityToGitRequestBody;
|
|
23
|
+
}
|
|
24
|
+
export declare function moveOrchestrationActivityToGit(props: MoveOrchestrationActivityToGitProps): Promise<MoveOrchestrationActivityToGitOkResponse>;
|
|
25
|
+
/**
|
|
26
|
+
* Move an inline orchestration activity to a remote git repository. Activities already stored remotely cannot be moved.
|
|
27
|
+
*/
|
|
28
|
+
export declare function useMoveOrchestrationActivityToGitMutation(options?: Omit<UseMutationOptions<MoveOrchestrationActivityToGitOkResponse, MoveOrchestrationActivityToGitErrorResponse, MoveOrchestrationActivityToGitProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<MoveOrchestrationActivityToGitOkResponse, import("..").Error, MoveOrchestrationActivityToGitProps, unknown>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function moveOrchestrationActivityToGit(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/orchestration/activity/${props.identifier}/move-config`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Move an inline orchestration activity to a remote git repository. Activities already stored remotely cannot be moved.
|
|
11
|
+
*/
|
|
12
|
+
export function useMoveOrchestrationActivityToGitMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => moveOrchestrationActivityToGit(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -157,6 +157,8 @@ export type { ListChangesetsErrorResponse, ListChangesetsOkResponse, ListChanges
|
|
|
157
157
|
export { listChangesets, useListChangesetsQuery } from './hooks/useListChangesetsQuery';
|
|
158
158
|
export type { ListIntegrationExecutionsErrorResponse, ListIntegrationExecutionsOkResponse, ListIntegrationExecutionsProps, ListIntegrationExecutionsQueryQueryParams, } from './hooks/useListIntegrationExecutionsQuery';
|
|
159
159
|
export { listIntegrationExecutions, useListIntegrationExecutionsQuery, } from './hooks/useListIntegrationExecutionsQuery';
|
|
160
|
+
export type { MoveOrchestrationActivityToGitErrorResponse, MoveOrchestrationActivityToGitMutationPathParams, MoveOrchestrationActivityToGitMutationQueryParams, MoveOrchestrationActivityToGitOkResponse, MoveOrchestrationActivityToGitProps, MoveOrchestrationActivityToGitRequestBody, } from './hooks/useMoveOrchestrationActivityToGitMutation';
|
|
161
|
+
export { moveOrchestrationActivityToGit, useMoveOrchestrationActivityToGitMutation, } from './hooks/useMoveOrchestrationActivityToGitMutation';
|
|
160
162
|
export type { PatchReleaseGroupErrorResponse, PatchReleaseGroupMutationPathParams, PatchReleaseGroupMutationQueryParams, PatchReleaseGroupOkResponse, PatchReleaseGroupProps, PatchReleaseGroupRequestBody, } from './hooks/usePatchReleaseGroupMutation';
|
|
161
163
|
export { patchReleaseGroup, usePatchReleaseGroupMutation, } from './hooks/usePatchReleaseGroupMutation';
|
|
162
164
|
export type { PostActivityExecutionOutputErrorResponse, PostActivityExecutionOutputMutationPathParams, PostActivityExecutionOutputMutationQueryParams, PostActivityExecutionOutputOkResponse, PostActivityExecutionOutputProps, PostActivityExecutionOutputRequestBody, } from './hooks/usePostActivityExecutionOutputMutation';
|
|
@@ -236,6 +238,7 @@ export type { CreateOrchestrationActivityRequestRequestBody } from './requestBod
|
|
|
236
238
|
export type { CreateOrchestrationProcessInputRequestRequestBody } from './requestBodies/CreateOrchestrationProcessInputRequestRequestBody';
|
|
237
239
|
export type { CreateOrchestrationProcessRequestRequestBody } from './requestBodies/CreateOrchestrationProcessRequestRequestBody';
|
|
238
240
|
export type { CreateReleaseGroupRequestRequestBody } from './requestBodies/CreateReleaseGroupRequestRequestBody';
|
|
241
|
+
export type { MoveOrchestrationActivityToGitRequestRequestBody } from './requestBodies/MoveOrchestrationActivityToGitRequestRequestBody';
|
|
239
242
|
export type { OnHoldActivityActionRequestRequestBody } from './requestBodies/OnHoldActivityActionRequestRequestBody';
|
|
240
243
|
export type { OrchestrationProcessAttachedReleaseGroupsRequestRequestBody } from './requestBodies/OrchestrationProcessAttachedReleaseGroupsRequestRequestBody';
|
|
241
244
|
export type { PatchReleaseGroupRequestRequestBody } from './requestBodies/PatchReleaseGroupRequestRequestBody';
|
|
@@ -77,6 +77,7 @@ export { listArtifacts, useListArtifactsQuery } from './hooks/useListArtifactsQu
|
|
|
77
77
|
export { listChangesetCommits, useListChangesetCommitsQuery, } from './hooks/useListChangesetCommitsQuery';
|
|
78
78
|
export { listChangesets, useListChangesetsQuery } from './hooks/useListChangesetsQuery';
|
|
79
79
|
export { listIntegrationExecutions, useListIntegrationExecutionsQuery, } from './hooks/useListIntegrationExecutionsQuery';
|
|
80
|
+
export { moveOrchestrationActivityToGit, useMoveOrchestrationActivityToGitMutation, } from './hooks/useMoveOrchestrationActivityToGitMutation';
|
|
80
81
|
export { patchReleaseGroup, usePatchReleaseGroupMutation, } from './hooks/usePatchReleaseGroupMutation';
|
|
81
82
|
export { postActivityExecutionOutput, usePostActivityExecutionOutputMutation, } from './hooks/usePostActivityExecutionOutputMutation';
|
|
82
83
|
export { postOnHoldActivityAction, usePostOnHoldActivityActionMutation, } from './hooks/usePostOnHoldActivityActionMutation';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|