@harnessio/react-rmg-service-client 0.85.1-beta.0 → 0.86.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/useMoveOrchestrationProcessInputToGitMutation.d.ts +30 -0
- package/dist/rmg-service/src/services/hooks/useMoveOrchestrationProcessInputToGitMutation.js +15 -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/MoveOrchestrationProcessInputToGitRequestRequestBody.d.ts +4 -0
- package/dist/rmg-service/src/services/requestBodies/MoveOrchestrationProcessInputToGitRequestRequestBody.js +1 -0
- package/package.json +1 -1
package/dist/rmg-service/src/services/hooks/useMoveOrchestrationProcessInputToGitMutation.d.ts
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { GetOrchestrationProcessInputResponseResponse } from '../responses/GetOrchestrationProcessInputResponseResponse';
|
|
3
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
+
import type { MoveOrchestrationProcessInputToGitRequestRequestBody } from '../requestBodies/MoveOrchestrationProcessInputToGitRequestRequestBody';
|
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
+
export interface MoveOrchestrationProcessInputToGitMutationPathParams {
|
|
8
|
+
processIdentifier: string;
|
|
9
|
+
identifier: string;
|
|
10
|
+
}
|
|
11
|
+
export interface MoveOrchestrationProcessInputToGitMutationQueryParams {
|
|
12
|
+
orgIdentifier?: string;
|
|
13
|
+
projectIdentifier?: string;
|
|
14
|
+
}
|
|
15
|
+
export interface MoveOrchestrationProcessInputToGitMutationHeaderParams {
|
|
16
|
+
'Harness-Account': string;
|
|
17
|
+
}
|
|
18
|
+
export type MoveOrchestrationProcessInputToGitRequestBody = MoveOrchestrationProcessInputToGitRequestRequestBody;
|
|
19
|
+
export type MoveOrchestrationProcessInputToGitOkResponse = ResponseWithPagination<GetOrchestrationProcessInputResponseResponse>;
|
|
20
|
+
export type MoveOrchestrationProcessInputToGitErrorResponse = ErrorResponseResponse;
|
|
21
|
+
export interface MoveOrchestrationProcessInputToGitProps extends MoveOrchestrationProcessInputToGitMutationPathParams, Omit<FetcherOptions<MoveOrchestrationProcessInputToGitMutationQueryParams, MoveOrchestrationProcessInputToGitRequestBody, MoveOrchestrationProcessInputToGitMutationHeaderParams>, 'url'> {
|
|
22
|
+
queryParams: MoveOrchestrationProcessInputToGitMutationQueryParams;
|
|
23
|
+
body: MoveOrchestrationProcessInputToGitRequestBody;
|
|
24
|
+
}
|
|
25
|
+
export declare function moveOrchestrationProcessInputToGit(props: MoveOrchestrationProcessInputToGitProps): Promise<MoveOrchestrationProcessInputToGitOkResponse>;
|
|
26
|
+
/**
|
|
27
|
+
* Move an inline process input to a remote git repository. Parent process must be remote. Input already stored remotely cannot be moved. Git repository, connector, and branch must match the parent process.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export declare function useMoveOrchestrationProcessInputToGitMutation(options?: Omit<UseMutationOptions<MoveOrchestrationProcessInputToGitOkResponse, MoveOrchestrationProcessInputToGitErrorResponse, MoveOrchestrationProcessInputToGitProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<MoveOrchestrationProcessInputToGitOkResponse, import("..").Error, MoveOrchestrationProcessInputToGitProps, unknown>;
|
|
@@ -0,0 +1,15 @@
|
|
|
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 moveOrchestrationProcessInputToGit(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/orchestration/process/${props.processIdentifier}/input/${props.identifier}/move-config`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Move an inline process input to a remote git repository. Parent process must be remote. Input already stored remotely cannot be moved. Git repository, connector, and branch must match the parent process.
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
13
|
+
export function useMoveOrchestrationProcessInputToGitMutation(options) {
|
|
14
|
+
return useMutation((mutateProps) => moveOrchestrationProcessInputToGit(mutateProps), options);
|
|
15
|
+
}
|
|
@@ -159,6 +159,8 @@ export type { ListIntegrationExecutionsErrorResponse, ListIntegrationExecutionsO
|
|
|
159
159
|
export { listIntegrationExecutions, useListIntegrationExecutionsQuery, } from './hooks/useListIntegrationExecutionsQuery';
|
|
160
160
|
export type { MoveOrchestrationActivityToGitErrorResponse, MoveOrchestrationActivityToGitMutationPathParams, MoveOrchestrationActivityToGitMutationQueryParams, MoveOrchestrationActivityToGitOkResponse, MoveOrchestrationActivityToGitProps, MoveOrchestrationActivityToGitRequestBody, } from './hooks/useMoveOrchestrationActivityToGitMutation';
|
|
161
161
|
export { moveOrchestrationActivityToGit, useMoveOrchestrationActivityToGitMutation, } from './hooks/useMoveOrchestrationActivityToGitMutation';
|
|
162
|
+
export type { MoveOrchestrationProcessInputToGitErrorResponse, MoveOrchestrationProcessInputToGitMutationPathParams, MoveOrchestrationProcessInputToGitMutationQueryParams, MoveOrchestrationProcessInputToGitOkResponse, MoveOrchestrationProcessInputToGitProps, MoveOrchestrationProcessInputToGitRequestBody, } from './hooks/useMoveOrchestrationProcessInputToGitMutation';
|
|
163
|
+
export { moveOrchestrationProcessInputToGit, useMoveOrchestrationProcessInputToGitMutation, } from './hooks/useMoveOrchestrationProcessInputToGitMutation';
|
|
162
164
|
export type { MoveOrchestrationProcessToGitErrorResponse, MoveOrchestrationProcessToGitMutationPathParams, MoveOrchestrationProcessToGitMutationQueryParams, MoveOrchestrationProcessToGitOkResponse, MoveOrchestrationProcessToGitProps, MoveOrchestrationProcessToGitRequestBody, } from './hooks/useMoveOrchestrationProcessToGitMutation';
|
|
163
165
|
export { moveOrchestrationProcessToGit, useMoveOrchestrationProcessToGitMutation, } from './hooks/useMoveOrchestrationProcessToGitMutation';
|
|
164
166
|
export type { PatchReleaseGroupErrorResponse, PatchReleaseGroupMutationPathParams, PatchReleaseGroupMutationQueryParams, PatchReleaseGroupOkResponse, PatchReleaseGroupProps, PatchReleaseGroupRequestBody, } from './hooks/usePatchReleaseGroupMutation';
|
|
@@ -241,6 +243,7 @@ export type { CreateOrchestrationProcessInputRequestRequestBody } from './reques
|
|
|
241
243
|
export type { CreateOrchestrationProcessRequestRequestBody } from './requestBodies/CreateOrchestrationProcessRequestRequestBody';
|
|
242
244
|
export type { CreateReleaseGroupRequestRequestBody } from './requestBodies/CreateReleaseGroupRequestRequestBody';
|
|
243
245
|
export type { MoveOrchestrationActivityToGitRequestRequestBody } from './requestBodies/MoveOrchestrationActivityToGitRequestRequestBody';
|
|
246
|
+
export type { MoveOrchestrationProcessInputToGitRequestRequestBody } from './requestBodies/MoveOrchestrationProcessInputToGitRequestRequestBody';
|
|
244
247
|
export type { MoveOrchestrationProcessToGitRequestRequestBody } from './requestBodies/MoveOrchestrationProcessToGitRequestRequestBody';
|
|
245
248
|
export type { OnHoldActivityActionRequestRequestBody } from './requestBodies/OnHoldActivityActionRequestRequestBody';
|
|
246
249
|
export type { OrchestrationProcessAttachedReleaseGroupsRequestRequestBody } from './requestBodies/OrchestrationProcessAttachedReleaseGroupsRequestRequestBody';
|
|
@@ -78,6 +78,7 @@ export { listChangesetCommits, useListChangesetCommitsQuery, } from './hooks/use
|
|
|
78
78
|
export { listChangesets, useListChangesetsQuery } from './hooks/useListChangesetsQuery';
|
|
79
79
|
export { listIntegrationExecutions, useListIntegrationExecutionsQuery, } from './hooks/useListIntegrationExecutionsQuery';
|
|
80
80
|
export { moveOrchestrationActivityToGit, useMoveOrchestrationActivityToGitMutation, } from './hooks/useMoveOrchestrationActivityToGitMutation';
|
|
81
|
+
export { moveOrchestrationProcessInputToGit, useMoveOrchestrationProcessInputToGitMutation, } from './hooks/useMoveOrchestrationProcessInputToGitMutation';
|
|
81
82
|
export { moveOrchestrationProcessToGit, useMoveOrchestrationProcessToGitMutation, } from './hooks/useMoveOrchestrationProcessToGitMutation';
|
|
82
83
|
export { patchReleaseGroup, usePatchReleaseGroupMutation, } from './hooks/usePatchReleaseGroupMutation';
|
|
83
84
|
export { postActivityExecutionOutput, usePostActivityExecutionOutputMutation, } from './hooks/usePostActivityExecutionOutputMutation';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|