@harnessio/react-rmg-service-client 0.33.0 → 0.34.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/useDeleteOrchestrationActivityMutation.d.ts +24 -0
- package/dist/rmg-service/src/services/hooks/useDeleteOrchestrationActivityMutation.js +14 -0
- package/dist/rmg-service/src/services/hooks/useDeleteOrchestrationProcessInputMutation.d.ts +25 -0
- package/dist/rmg-service/src/services/hooks/useDeleteOrchestrationProcessInputMutation.js +14 -0
- package/dist/rmg-service/src/services/hooks/useDeleteOrchestrationProcessMutation.d.ts +24 -0
- package/dist/rmg-service/src/services/hooks/useDeleteOrchestrationProcessMutation.js +14 -0
- package/dist/rmg-service/src/services/index.d.ts +6 -0
- package/dist/rmg-service/src/services/index.js +3 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationActivityProcessYaml.d.ts +4 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationPhaseYaml.d.ts +4 -0
- package/package.json +1 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface DeleteOrchestrationActivityMutationPathParams {
|
|
6
|
+
identifier: string;
|
|
7
|
+
}
|
|
8
|
+
export interface DeleteOrchestrationActivityMutationQueryParams {
|
|
9
|
+
orgIdentifier?: string;
|
|
10
|
+
projectIdentifier?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface DeleteOrchestrationActivityMutationHeaderParams {
|
|
13
|
+
'Harness-Account': string;
|
|
14
|
+
}
|
|
15
|
+
export type DeleteOrchestrationActivityOkResponse = ResponseWithPagination<unknown>;
|
|
16
|
+
export type DeleteOrchestrationActivityErrorResponse = ErrorResponseResponse;
|
|
17
|
+
export interface DeleteOrchestrationActivityProps extends DeleteOrchestrationActivityMutationPathParams, Omit<FetcherOptions<DeleteOrchestrationActivityMutationQueryParams, unknown, DeleteOrchestrationActivityMutationHeaderParams>, 'url'> {
|
|
18
|
+
queryParams: DeleteOrchestrationActivityMutationQueryParams;
|
|
19
|
+
}
|
|
20
|
+
export declare function deleteOrchestrationActivity(props: DeleteOrchestrationActivityProps): Promise<DeleteOrchestrationActivityOkResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* Delete an orchestration activity by identifier
|
|
23
|
+
*/
|
|
24
|
+
export declare function useDeleteOrchestrationActivityMutation(options?: Omit<UseMutationOptions<DeleteOrchestrationActivityOkResponse, DeleteOrchestrationActivityErrorResponse, DeleteOrchestrationActivityProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteOrchestrationActivityOkResponse, import("..").Error, DeleteOrchestrationActivityProps, 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 deleteOrchestrationActivity(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/orchestration/activity/${props.identifier}`, method: 'DELETE' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Delete an orchestration activity by identifier
|
|
11
|
+
*/
|
|
12
|
+
export function useDeleteOrchestrationActivityMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => deleteOrchestrationActivity(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface DeleteOrchestrationProcessInputMutationPathParams {
|
|
6
|
+
processIdentifier: string;
|
|
7
|
+
identifier: string;
|
|
8
|
+
}
|
|
9
|
+
export interface DeleteOrchestrationProcessInputMutationQueryParams {
|
|
10
|
+
orgIdentifier?: string;
|
|
11
|
+
projectIdentifier?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface DeleteOrchestrationProcessInputMutationHeaderParams {
|
|
14
|
+
'Harness-Account': string;
|
|
15
|
+
}
|
|
16
|
+
export type DeleteOrchestrationProcessInputOkResponse = ResponseWithPagination<unknown>;
|
|
17
|
+
export type DeleteOrchestrationProcessInputErrorResponse = ErrorResponseResponse;
|
|
18
|
+
export interface DeleteOrchestrationProcessInputProps extends DeleteOrchestrationProcessInputMutationPathParams, Omit<FetcherOptions<DeleteOrchestrationProcessInputMutationQueryParams, unknown, DeleteOrchestrationProcessInputMutationHeaderParams>, 'url'> {
|
|
19
|
+
queryParams: DeleteOrchestrationProcessInputMutationQueryParams;
|
|
20
|
+
}
|
|
21
|
+
export declare function deleteOrchestrationProcessInput(props: DeleteOrchestrationProcessInputProps): Promise<DeleteOrchestrationProcessInputOkResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* Delete an orchestration process input by process identifier and input identifier
|
|
24
|
+
*/
|
|
25
|
+
export declare function useDeleteOrchestrationProcessInputMutation(options?: Omit<UseMutationOptions<DeleteOrchestrationProcessInputOkResponse, DeleteOrchestrationProcessInputErrorResponse, DeleteOrchestrationProcessInputProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteOrchestrationProcessInputOkResponse, import("..").Error, DeleteOrchestrationProcessInputProps, 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 deleteOrchestrationProcessInput(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/orchestration/process/${props.processIdentifier}/input/${props.identifier}`, method: 'DELETE' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Delete an orchestration process input by process identifier and input identifier
|
|
11
|
+
*/
|
|
12
|
+
export function useDeleteOrchestrationProcessInputMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => deleteOrchestrationProcessInput(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface DeleteOrchestrationProcessMutationPathParams {
|
|
6
|
+
identifier: string;
|
|
7
|
+
}
|
|
8
|
+
export interface DeleteOrchestrationProcessMutationQueryParams {
|
|
9
|
+
orgIdentifier?: string;
|
|
10
|
+
projectIdentifier?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface DeleteOrchestrationProcessMutationHeaderParams {
|
|
13
|
+
'Harness-Account': string;
|
|
14
|
+
}
|
|
15
|
+
export type DeleteOrchestrationProcessOkResponse = ResponseWithPagination<unknown>;
|
|
16
|
+
export type DeleteOrchestrationProcessErrorResponse = ErrorResponseResponse;
|
|
17
|
+
export interface DeleteOrchestrationProcessProps extends DeleteOrchestrationProcessMutationPathParams, Omit<FetcherOptions<DeleteOrchestrationProcessMutationQueryParams, unknown, DeleteOrchestrationProcessMutationHeaderParams>, 'url'> {
|
|
18
|
+
queryParams: DeleteOrchestrationProcessMutationQueryParams;
|
|
19
|
+
}
|
|
20
|
+
export declare function deleteOrchestrationProcess(props: DeleteOrchestrationProcessProps): Promise<DeleteOrchestrationProcessOkResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* Delete an orchestration process by identifier
|
|
23
|
+
*/
|
|
24
|
+
export declare function useDeleteOrchestrationProcessMutation(options?: Omit<UseMutationOptions<DeleteOrchestrationProcessOkResponse, DeleteOrchestrationProcessErrorResponse, DeleteOrchestrationProcessProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteOrchestrationProcessOkResponse, import("..").Error, DeleteOrchestrationProcessProps, 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 deleteOrchestrationProcess(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/orchestration/process/${props.identifier}`, method: 'DELETE' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Delete an orchestration process by identifier
|
|
11
|
+
*/
|
|
12
|
+
export function useDeleteOrchestrationProcessMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => deleteOrchestrationProcess(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
export type { GetPathParamsType, ResponseWithPagination } from './helpers';
|
|
2
2
|
export type { CreateTaskCommentErrorResponse, CreateTaskCommentMutationPathParams, CreateTaskCommentMutationQueryParams, CreateTaskCommentOkResponse, CreateTaskCommentProps, CreateTaskCommentRequestBody, } from './hooks/useCreateTaskCommentMutation';
|
|
3
3
|
export { createTaskComment, useCreateTaskCommentMutation, } from './hooks/useCreateTaskCommentMutation';
|
|
4
|
+
export type { DeleteOrchestrationActivityErrorResponse, DeleteOrchestrationActivityMutationPathParams, DeleteOrchestrationActivityMutationQueryParams, DeleteOrchestrationActivityOkResponse, DeleteOrchestrationActivityProps, } from './hooks/useDeleteOrchestrationActivityMutation';
|
|
5
|
+
export { deleteOrchestrationActivity, useDeleteOrchestrationActivityMutation, } from './hooks/useDeleteOrchestrationActivityMutation';
|
|
6
|
+
export type { DeleteOrchestrationProcessInputErrorResponse, DeleteOrchestrationProcessInputMutationPathParams, DeleteOrchestrationProcessInputMutationQueryParams, DeleteOrchestrationProcessInputOkResponse, DeleteOrchestrationProcessInputProps, } from './hooks/useDeleteOrchestrationProcessInputMutation';
|
|
7
|
+
export { deleteOrchestrationProcessInput, useDeleteOrchestrationProcessInputMutation, } from './hooks/useDeleteOrchestrationProcessInputMutation';
|
|
8
|
+
export type { DeleteOrchestrationProcessErrorResponse, DeleteOrchestrationProcessMutationPathParams, DeleteOrchestrationProcessMutationQueryParams, DeleteOrchestrationProcessOkResponse, DeleteOrchestrationProcessProps, } from './hooks/useDeleteOrchestrationProcessMutation';
|
|
9
|
+
export { deleteOrchestrationProcess, useDeleteOrchestrationProcessMutation, } from './hooks/useDeleteOrchestrationProcessMutation';
|
|
4
10
|
export type { DeleteReleaseGroupErrorResponse, DeleteReleaseGroupMutationPathParams, DeleteReleaseGroupMutationQueryParams, DeleteReleaseGroupOkResponse, DeleteReleaseGroupProps, } from './hooks/useDeleteReleaseGroupMutation';
|
|
5
11
|
export { deleteReleaseGroup, useDeleteReleaseGroupMutation, } from './hooks/useDeleteReleaseGroupMutation';
|
|
6
12
|
export type { DeleteTaskCommentErrorResponse, DeleteTaskCommentMutationPathParams, DeleteTaskCommentMutationQueryParams, DeleteTaskCommentOkResponse, DeleteTaskCommentProps, } from './hooks/useDeleteTaskCommentMutation';
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
export { createTaskComment, useCreateTaskCommentMutation, } from './hooks/useCreateTaskCommentMutation';
|
|
2
|
+
export { deleteOrchestrationActivity, useDeleteOrchestrationActivityMutation, } from './hooks/useDeleteOrchestrationActivityMutation';
|
|
3
|
+
export { deleteOrchestrationProcessInput, useDeleteOrchestrationProcessInputMutation, } from './hooks/useDeleteOrchestrationProcessInputMutation';
|
|
4
|
+
export { deleteOrchestrationProcess, useDeleteOrchestrationProcessMutation, } from './hooks/useDeleteOrchestrationProcessMutation';
|
|
2
5
|
export { deleteReleaseGroup, useDeleteReleaseGroupMutation, } from './hooks/useDeleteReleaseGroupMutation';
|
|
3
6
|
export { deleteTaskComment, useDeleteTaskCommentMutation, } from './hooks/useDeleteTaskCommentMutation';
|
|
4
7
|
export { getActivityRetryHistoryByIdentifiers, useGetActivityRetryHistoryByIdentifiersQuery, } from './hooks/useGetActivityRetryHistoryByIdentifiersQuery';
|