@harnessio/react-rmg-service-client 0.17.0 → 0.19.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 (77) hide show
  1. package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivitiesByAcitivityRefsMutation.d.ts +34 -0
  2. package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivitiesByAcitivityRefsMutation.js +14 -0
  3. package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivitiesByProcessIdentifierQuery.d.ts +31 -0
  4. package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivitiesByProcessIdentifierQuery.js +14 -0
  5. package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityInputStoreQuery.d.ts +33 -0
  6. package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityInputStoreQuery.js +14 -0
  7. package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityInputStoreSummaryQuery.d.ts +25 -0
  8. package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityInputStoreSummaryQuery.js +14 -0
  9. package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityQuery.d.ts +25 -0
  10. package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityQuery.js +14 -0
  11. package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionActivitiesQuery.d.ts +39 -0
  12. package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionActivitiesQuery.js +19 -0
  13. package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionPhasesQuery.d.ts +38 -0
  14. package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionPhasesQuery.js +14 -0
  15. package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputStoreSummaryQuery.d.ts +25 -0
  16. package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputStoreSummaryQuery.js +14 -0
  17. package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessQuery.js +1 -1
  18. package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessSummaryQuery.js +1 -1
  19. package/dist/rmg-service/src/services/hooks/usePostOrchestrationActivityInputStoreMutation.d.ts +25 -0
  20. package/dist/rmg-service/src/services/hooks/usePostOrchestrationActivityInputStoreMutation.js +14 -0
  21. package/dist/rmg-service/src/services/hooks/usePostOrchestrationActivityMutation.js +1 -1
  22. package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessInputStoreMutation.d.ts +41 -0
  23. package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessInputStoreMutation.js +14 -0
  24. package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessMutation.js +1 -1
  25. package/dist/rmg-service/src/services/hooks/usePutOrchestrationActivityInputStoreMutation.d.ts +31 -0
  26. package/dist/rmg-service/src/services/hooks/usePutOrchestrationActivityInputStoreMutation.js +14 -0
  27. package/dist/rmg-service/src/services/hooks/usePutOrchestrationActivityMutation.d.ts +27 -0
  28. package/dist/rmg-service/src/services/hooks/usePutOrchestrationActivityMutation.js +14 -0
  29. package/dist/rmg-service/src/services/hooks/usePutOrchestrationProcessInputStoreMutation.d.ts +39 -0
  30. package/dist/rmg-service/src/services/hooks/usePutOrchestrationProcessInputStoreMutation.js +14 -0
  31. package/dist/rmg-service/src/services/hooks/usePutOrchestrationProcessMutation.d.ts +27 -0
  32. package/dist/rmg-service/src/services/hooks/usePutOrchestrationProcessMutation.js +14 -0
  33. package/dist/rmg-service/src/services/index.d.ts +47 -5
  34. package/dist/rmg-service/src/services/index.js +14 -1
  35. package/dist/rmg-service/src/services/requestBodies/CreateOrchestrationActivityInputStoreRequestRequestBody.d.ts +6 -0
  36. package/dist/rmg-service/src/services/requestBodies/UpdateOrchestrationActivityRequestRequestBody.d.ts +3 -0
  37. package/dist/rmg-service/src/services/requestBodies/UpdateOrchestrationProcessRequestRequestBody.d.ts +3 -0
  38. package/dist/rmg-service/src/services/responses/{CreateInputSetStoreResponseResponse.d.ts → CreateOrchestrationActivityInputStoreResponseResponse.d.ts} +1 -1
  39. package/dist/rmg-service/src/services/responses/CreateOrchestrationActivityInputStoreResponseResponse.js +4 -0
  40. package/dist/rmg-service/src/services/responses/CreateOrchestrationProcessInputStoreResponseResponse.d.ts +6 -0
  41. package/dist/rmg-service/src/services/responses/CreateOrchestrationProcessInputStoreResponseResponse.js +4 -0
  42. package/dist/rmg-service/src/services/responses/GetOrchestrationActivityResponseResponse.d.ts +10 -0
  43. package/dist/rmg-service/src/services/responses/GetOrchestrationActivityResponseResponse.js +4 -0
  44. package/dist/rmg-service/src/services/responses/OrchestrationActivityInputStoreSummaryResponseResponse.d.ts +16 -0
  45. package/dist/rmg-service/src/services/responses/OrchestrationActivityInputStoreSummaryResponseResponse.js +1 -0
  46. package/dist/rmg-service/src/services/responses/OrchestrationActivityListByProcessIdentifierResponseResponse.d.ts +10 -0
  47. package/dist/rmg-service/src/services/responses/OrchestrationActivityListByProcessIdentifierResponseResponse.js +1 -0
  48. package/dist/rmg-service/src/services/responses/OrchestrationProcessInputStoreSummaryResponseResponse.d.ts +16 -0
  49. package/dist/rmg-service/src/services/responses/OrchestrationProcessInputStoreSummaryResponseResponse.js +1 -0
  50. package/dist/rmg-service/src/services/schemas/CreateOrchestrationActivityInputSetRequestType.d.ts +4 -0
  51. package/dist/rmg-service/src/services/schemas/CreateOrchestrationActivityInputSetRequestType.js +4 -0
  52. package/dist/rmg-service/src/services/schemas/OrchestrationActivityInputStoreDto.d.ts +8 -0
  53. package/dist/rmg-service/src/services/schemas/OrchestrationActivityInputStoreDto.js +1 -0
  54. package/dist/rmg-service/src/services/schemas/OrchestrationActivityYaml.d.ts +18 -0
  55. package/dist/rmg-service/src/services/schemas/OrchestrationActivityYaml.js +4 -0
  56. package/dist/rmg-service/src/services/schemas/OrchestrationActivityYamlDto.d.ts +10 -0
  57. package/dist/rmg-service/src/services/schemas/OrchestrationActivityYamlDto.js +4 -0
  58. package/dist/rmg-service/src/services/schemas/OrchestrationExecutionActivity.d.ts +33 -0
  59. package/dist/rmg-service/src/services/schemas/OrchestrationExecutionActivity.js +1 -0
  60. package/dist/rmg-service/src/services/schemas/OrchestrationExecutionPhase.d.ts +45 -0
  61. package/dist/rmg-service/src/services/schemas/OrchestrationExecutionPhase.js +1 -0
  62. package/dist/rmg-service/src/services/schemas/OrchestrationPhaseYaml.d.ts +24 -0
  63. package/dist/rmg-service/src/services/schemas/OrchestrationPhaseYaml.js +1 -0
  64. package/dist/rmg-service/src/services/schemas/OrchestrationProcessInputStoreDto.d.ts +9 -0
  65. package/dist/rmg-service/src/services/schemas/OrchestrationProcessInputStoreDto.js +1 -0
  66. package/dist/rmg-service/src/services/schemas/OrchestrationReleaseProcessYaml.d.ts +16 -0
  67. package/dist/rmg-service/src/services/schemas/OrchestrationReleaseProcessYaml.js +1 -0
  68. package/dist/rmg-service/src/services/schemas/PipelineOrchestrationActivityYaml.d.ts +62 -0
  69. package/dist/rmg-service/src/services/schemas/PipelineOrchestrationActivityYaml.js +4 -0
  70. package/package.json +1 -1
  71. package/dist/rmg-service/src/services/hooks/usePostInputSetStoreMutation.d.ts +0 -25
  72. package/dist/rmg-service/src/services/hooks/usePostInputSetStoreMutation.js +0 -14
  73. package/dist/rmg-service/src/services/requestBodies/CreateInputSetStoreRequestRequestBody.d.ts +0 -6
  74. package/dist/rmg-service/src/services/schemas/CreateInputSetStoreRequestType.d.ts +0 -4
  75. /package/dist/rmg-service/src/services/requestBodies/{CreateInputSetStoreRequestRequestBody.js → CreateOrchestrationActivityInputStoreRequestRequestBody.js} +0 -0
  76. /package/dist/rmg-service/src/services/{responses/CreateInputSetStoreResponseResponse.js → requestBodies/UpdateOrchestrationActivityRequestRequestBody.js} +0 -0
  77. /package/dist/rmg-service/src/services/{schemas/CreateInputSetStoreRequestType.js → requestBodies/UpdateOrchestrationProcessRequestRequestBody.js} +0 -0
@@ -0,0 +1,34 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { OrchestrationActivityListByProcessIdentifierResponseResponse } from '../responses/OrchestrationActivityListByProcessIdentifierResponseResponse';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface GetOrchestrationActivitiesByAcitivityRefsMutationQueryParams {
7
+ orgIdentifier?: string;
8
+ projectIdentifier?: string;
9
+ cursor?: string;
10
+ /**
11
+ * @default 500
12
+ */
13
+ limit?: number;
14
+ }
15
+ export interface GetOrchestrationActivitiesByAcitivityRefsMutationHeaderParams {
16
+ 'Harness-Account': string;
17
+ }
18
+ export type GetOrchestrationActivitiesByAcitivityRefsRequestBody = {
19
+ /**
20
+ * Array of activity references
21
+ */
22
+ activityRefs: string[];
23
+ };
24
+ export type GetOrchestrationActivitiesByAcitivityRefsOkResponse = ResponseWithPagination<OrchestrationActivityListByProcessIdentifierResponseResponse>;
25
+ export type GetOrchestrationActivitiesByAcitivityRefsErrorResponse = ErrorResponseResponse;
26
+ export interface GetOrchestrationActivitiesByAcitivityRefsProps extends Omit<FetcherOptions<GetOrchestrationActivitiesByAcitivityRefsMutationQueryParams, GetOrchestrationActivitiesByAcitivityRefsRequestBody, GetOrchestrationActivitiesByAcitivityRefsMutationHeaderParams>, 'url'> {
27
+ queryParams: GetOrchestrationActivitiesByAcitivityRefsMutationQueryParams;
28
+ body: GetOrchestrationActivitiesByAcitivityRefsRequestBody;
29
+ }
30
+ export declare function getOrchestrationActivitiesByAcitivityRefs(props: GetOrchestrationActivitiesByAcitivityRefsProps): Promise<GetOrchestrationActivitiesByAcitivityRefsOkResponse>;
31
+ /**
32
+ * Get orchestration activities for a specific process identifier
33
+ */
34
+ export declare function useGetOrchestrationActivitiesByAcitivityRefsMutation(options?: Omit<UseMutationOptions<GetOrchestrationActivitiesByAcitivityRefsOkResponse, GetOrchestrationActivitiesByAcitivityRefsErrorResponse, GetOrchestrationActivitiesByAcitivityRefsProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetOrchestrationActivitiesByAcitivityRefsOkResponse, import("..").Error, GetOrchestrationActivitiesByAcitivityRefsProps, 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 getOrchestrationActivitiesByAcitivityRefs(props) {
7
+ return fetcher(Object.assign({ url: `/orchestration/activity/list`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Get orchestration activities for a specific process identifier
11
+ */
12
+ export function useGetOrchestrationActivitiesByAcitivityRefsMutation(options) {
13
+ return useMutation((mutateProps) => getOrchestrationActivitiesByAcitivityRefs(mutateProps), options);
14
+ }
@@ -0,0 +1,31 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { OrchestrationActivityListByProcessIdentifierResponseResponse } from '../responses/OrchestrationActivityListByProcessIdentifierResponseResponse';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface GetOrchestrationActivitiesByProcessIdentifierQueryPathParams {
7
+ identifier: string;
8
+ }
9
+ export interface GetOrchestrationActivitiesByProcessIdentifierQueryQueryParams {
10
+ orgIdentifier?: string;
11
+ projectIdentifier?: string;
12
+ phaseIdentifier?: string;
13
+ cursor?: string;
14
+ /**
15
+ * @default 500
16
+ */
17
+ limit?: number;
18
+ }
19
+ export interface GetOrchestrationActivitiesByProcessIdentifierQueryHeaderParams {
20
+ 'Harness-Account': string;
21
+ }
22
+ export type GetOrchestrationActivitiesByProcessIdentifierOkResponse = ResponseWithPagination<OrchestrationActivityListByProcessIdentifierResponseResponse>;
23
+ export type GetOrchestrationActivitiesByProcessIdentifierErrorResponse = ErrorResponseResponse;
24
+ export interface GetOrchestrationActivitiesByProcessIdentifierProps extends GetOrchestrationActivitiesByProcessIdentifierQueryPathParams, Omit<FetcherOptions<GetOrchestrationActivitiesByProcessIdentifierQueryQueryParams, unknown, GetOrchestrationActivitiesByProcessIdentifierQueryHeaderParams>, 'url'> {
25
+ queryParams: GetOrchestrationActivitiesByProcessIdentifierQueryQueryParams;
26
+ }
27
+ export declare function getOrchestrationActivitiesByProcessIdentifier(props: GetOrchestrationActivitiesByProcessIdentifierProps): Promise<GetOrchestrationActivitiesByProcessIdentifierOkResponse>;
28
+ /**
29
+ * Retrieve a paginated list of orchestration activities for a specific process identifier
30
+ */
31
+ export declare function useGetOrchestrationActivitiesByProcessIdentifierQuery(props: GetOrchestrationActivitiesByProcessIdentifierProps, options?: Omit<UseQueryOptions<GetOrchestrationActivitiesByProcessIdentifierOkResponse, GetOrchestrationActivitiesByProcessIdentifierErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetOrchestrationActivitiesByProcessIdentifierOkResponse, 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 getOrchestrationActivitiesByProcessIdentifier(props) {
7
+ return fetcher(Object.assign({ url: `/orchestration/activity/processIdentifier/${props.identifier}`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Retrieve a paginated list of orchestration activities for a specific process identifier
11
+ */
12
+ export function useGetOrchestrationActivitiesByProcessIdentifierQuery(props, options) {
13
+ return useQuery(['get-orchestration-activities-by-process-identifier', props.identifier, props.queryParams], ({ signal }) => getOrchestrationActivitiesByProcessIdentifier(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,33 @@
1
+ import { UseQueryOptions } 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 GetOrchestrationActivityInputStoreQueryPathParams {
6
+ identifier: string;
7
+ }
8
+ export interface GetOrchestrationActivityInputStoreQueryQueryParams {
9
+ orgIdentifier?: string;
10
+ projectIdentifier?: string;
11
+ }
12
+ export interface GetOrchestrationActivityInputStoreQueryHeaderParams {
13
+ 'Harness-Account': string;
14
+ }
15
+ export type GetOrchestrationActivityInputStoreOkResponse = ResponseWithPagination<{
16
+ /**
17
+ * Identifier of the activity input store
18
+ */
19
+ identifier: string;
20
+ /**
21
+ * YAML configuration of the activity input store
22
+ */
23
+ yaml: string;
24
+ }>;
25
+ export type GetOrchestrationActivityInputStoreErrorResponse = ErrorResponseResponse;
26
+ export interface GetOrchestrationActivityInputStoreProps extends GetOrchestrationActivityInputStoreQueryPathParams, Omit<FetcherOptions<GetOrchestrationActivityInputStoreQueryQueryParams, unknown, GetOrchestrationActivityInputStoreQueryHeaderParams>, 'url'> {
27
+ queryParams: GetOrchestrationActivityInputStoreQueryQueryParams;
28
+ }
29
+ export declare function getOrchestrationActivityInputStore(props: GetOrchestrationActivityInputStoreProps): Promise<GetOrchestrationActivityInputStoreOkResponse>;
30
+ /**
31
+ * Get the activity input store by identifier
32
+ */
33
+ export declare function useGetOrchestrationActivityInputStoreQuery(props: GetOrchestrationActivityInputStoreProps, options?: Omit<UseQueryOptions<GetOrchestrationActivityInputStoreOkResponse, GetOrchestrationActivityInputStoreErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetOrchestrationActivityInputStoreOkResponse, 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 getOrchestrationActivityInputStore(props) {
7
+ return fetcher(Object.assign({ url: `/orchestration/activity/inputStore/${props.identifier}`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Get the activity input store by identifier
11
+ */
12
+ export function useGetOrchestrationActivityInputStoreQuery(props, options) {
13
+ return useQuery(['get-orchestrationActivityInputStore', props.identifier, props.queryParams], ({ signal }) => getOrchestrationActivityInputStore(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,25 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { OrchestrationActivityInputStoreSummaryResponseResponse } from '../responses/OrchestrationActivityInputStoreSummaryResponseResponse';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface GetOrchestrationActivityInputStoreSummaryQueryQueryParams {
7
+ orgIdentifier?: string;
8
+ searchTerm?: string;
9
+ page?: number;
10
+ size?: number;
11
+ sort?: string[];
12
+ }
13
+ export interface GetOrchestrationActivityInputStoreSummaryQueryHeaderParams {
14
+ 'Harness-Account': string;
15
+ }
16
+ export type GetOrchestrationActivityInputStoreSummaryOkResponse = ResponseWithPagination<OrchestrationActivityInputStoreSummaryResponseResponse>;
17
+ export type GetOrchestrationActivityInputStoreSummaryErrorResponse = ErrorResponseResponse;
18
+ export interface GetOrchestrationActivityInputStoreSummaryProps extends Omit<FetcherOptions<GetOrchestrationActivityInputStoreSummaryQueryQueryParams, unknown, GetOrchestrationActivityInputStoreSummaryQueryHeaderParams>, 'url'> {
19
+ queryParams: GetOrchestrationActivityInputStoreSummaryQueryQueryParams;
20
+ }
21
+ export declare function getOrchestrationActivityInputStoreSummary(props: GetOrchestrationActivityInputStoreSummaryProps): Promise<GetOrchestrationActivityInputStoreSummaryOkResponse>;
22
+ /**
23
+ * Fetch List of Orchestration Activity Input Stores
24
+ */
25
+ export declare function useGetOrchestrationActivityInputStoreSummaryQuery(props: GetOrchestrationActivityInputStoreSummaryProps, options?: Omit<UseQueryOptions<GetOrchestrationActivityInputStoreSummaryOkResponse, GetOrchestrationActivityInputStoreSummaryErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetOrchestrationActivityInputStoreSummaryOkResponse, 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 getOrchestrationActivityInputStoreSummary(props) {
7
+ return fetcher(Object.assign({ url: `/orchestration/activity/inputStore/summary`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Fetch List of Orchestration Activity Input Stores
11
+ */
12
+ export function useGetOrchestrationActivityInputStoreSummaryQuery(props, options) {
13
+ return useQuery(['get-orchestrationActivityInputStore-summary', props.queryParams], ({ signal }) => getOrchestrationActivityInputStoreSummary(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,25 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { GetOrchestrationActivityResponseResponse } from '../responses/GetOrchestrationActivityResponseResponse';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface GetOrchestrationActivityQueryPathParams {
7
+ identifier: string;
8
+ }
9
+ export interface GetOrchestrationActivityQueryQueryParams {
10
+ orgIdentifier?: string;
11
+ projectIdentifier?: string;
12
+ }
13
+ export interface GetOrchestrationActivityQueryHeaderParams {
14
+ 'Harness-Account': string;
15
+ }
16
+ export type GetOrchestrationActivityOkResponse = ResponseWithPagination<GetOrchestrationActivityResponseResponse>;
17
+ export type GetOrchestrationActivityErrorResponse = ErrorResponseResponse;
18
+ export interface GetOrchestrationActivityProps extends GetOrchestrationActivityQueryPathParams, Omit<FetcherOptions<GetOrchestrationActivityQueryQueryParams, unknown, GetOrchestrationActivityQueryHeaderParams>, 'url'> {
19
+ queryParams: GetOrchestrationActivityQueryQueryParams;
20
+ }
21
+ export declare function getOrchestrationActivity(props: GetOrchestrationActivityProps): Promise<GetOrchestrationActivityOkResponse>;
22
+ /**
23
+ * Get orchestration activity by identifier
24
+ */
25
+ export declare function useGetOrchestrationActivityQuery(props: GetOrchestrationActivityProps, options?: Omit<UseQueryOptions<GetOrchestrationActivityOkResponse, GetOrchestrationActivityErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetOrchestrationActivityOkResponse, 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 getOrchestrationActivity(props) {
7
+ return fetcher(Object.assign({ url: `/orchestration/activity/${props.identifier}`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Get orchestration activity by identifier
11
+ */
12
+ export function useGetOrchestrationActivityQuery(props, options) {
13
+ return useQuery(['get-orchestrationActivity', props.identifier, props.queryParams], ({ signal }) => getOrchestrationActivity(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,39 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { OrchestrationExecutionActivity } from '../schemas/OrchestrationExecutionActivity';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface GetOrchestrationExecutionActivitiesQueryPathParams {
7
+ releaseId: string;
8
+ phaseExecutionId: string;
9
+ }
10
+ export interface GetOrchestrationExecutionActivitiesQueryQueryParams {
11
+ orgIdentifier?: string;
12
+ }
13
+ export interface GetOrchestrationExecutionActivitiesQueryHeaderParams {
14
+ 'Harness-Account': string;
15
+ }
16
+ export type GetOrchestrationExecutionActivitiesOkResponse = ResponseWithPagination<{
17
+ activities: OrchestrationExecutionActivity[];
18
+ /**
19
+ * ID of the phase execution
20
+ */
21
+ phase_execution_id: string;
22
+ /**
23
+ * ID of the process execution
24
+ */
25
+ process_execution_id: string;
26
+ /**
27
+ * ID of the release
28
+ */
29
+ release_id: string;
30
+ }>;
31
+ export type GetOrchestrationExecutionActivitiesErrorResponse = ErrorResponseResponse;
32
+ export interface GetOrchestrationExecutionActivitiesProps extends GetOrchestrationExecutionActivitiesQueryPathParams, Omit<FetcherOptions<GetOrchestrationExecutionActivitiesQueryQueryParams, unknown, GetOrchestrationExecutionActivitiesQueryHeaderParams>, 'url'> {
33
+ queryParams: GetOrchestrationExecutionActivitiesQueryQueryParams;
34
+ }
35
+ export declare function getOrchestrationExecutionActivities(props: GetOrchestrationExecutionActivitiesProps): Promise<GetOrchestrationExecutionActivitiesOkResponse>;
36
+ /**
37
+ * Retrieve all activities for a specific release and phase execution. If no activities exist in the database, it will fetch them from the phase YAML configuration.
38
+ */
39
+ export declare function useGetOrchestrationExecutionActivitiesQuery(props: GetOrchestrationExecutionActivitiesProps, options?: Omit<UseQueryOptions<GetOrchestrationExecutionActivitiesOkResponse, GetOrchestrationExecutionActivitiesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetOrchestrationExecutionActivitiesOkResponse, 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 getOrchestrationExecutionActivities(props) {
7
+ return fetcher(Object.assign({ url: `/orchestration/execution/${props.releaseId}/phase/${props.phaseExecutionId}/activities`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Retrieve all activities for a specific release and phase execution. If no activities exist in the database, it will fetch them from the phase YAML configuration.
11
+ */
12
+ export function useGetOrchestrationExecutionActivitiesQuery(props, options) {
13
+ return useQuery([
14
+ 'get-orchestration-execution-activities',
15
+ props.releaseId,
16
+ props.phaseExecutionId,
17
+ props.queryParams,
18
+ ], ({ signal }) => getOrchestrationExecutionActivities(Object.assign(Object.assign({}, props), { signal })), options);
19
+ }
@@ -0,0 +1,38 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { OrchestrationExecutionPhase } from '../schemas/OrchestrationExecutionPhase';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface GetOrchestrationExecutionPhasesQueryPathParams {
7
+ releaseId: string;
8
+ }
9
+ export interface GetOrchestrationExecutionPhasesQueryQueryParams {
10
+ orgIdentifier?: string;
11
+ }
12
+ export interface GetOrchestrationExecutionPhasesQueryHeaderParams {
13
+ 'Harness-Account': string;
14
+ }
15
+ export type GetOrchestrationExecutionPhasesOkResponse = ResponseWithPagination<{
16
+ phases: OrchestrationExecutionPhase[];
17
+ /**
18
+ * ID of the process execution
19
+ */
20
+ process_execution_id: string;
21
+ /**
22
+ * ID of the release
23
+ */
24
+ release_id: string;
25
+ /**
26
+ * Total number of running activities across all phases
27
+ */
28
+ total_running_activities: number;
29
+ }>;
30
+ export type GetOrchestrationExecutionPhasesErrorResponse = ErrorResponseResponse;
31
+ export interface GetOrchestrationExecutionPhasesProps extends GetOrchestrationExecutionPhasesQueryPathParams, Omit<FetcherOptions<GetOrchestrationExecutionPhasesQueryQueryParams, unknown, GetOrchestrationExecutionPhasesQueryHeaderParams>, 'url'> {
32
+ queryParams: GetOrchestrationExecutionPhasesQueryQueryParams;
33
+ }
34
+ export declare function getOrchestrationExecutionPhases(props: GetOrchestrationExecutionPhasesProps): Promise<GetOrchestrationExecutionPhasesOkResponse>;
35
+ /**
36
+ * Retrieve all phases for a specific release. Returns phase details including their YAML configurations.
37
+ */
38
+ export declare function useGetOrchestrationExecutionPhasesQuery(props: GetOrchestrationExecutionPhasesProps, options?: Omit<UseQueryOptions<GetOrchestrationExecutionPhasesOkResponse, GetOrchestrationExecutionPhasesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetOrchestrationExecutionPhasesOkResponse, 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 getOrchestrationExecutionPhases(props) {
7
+ return fetcher(Object.assign({ url: `/orchestration/execution/${props.releaseId}/phases`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Retrieve all phases for a specific release. Returns phase details including their YAML configurations.
11
+ */
12
+ export function useGetOrchestrationExecutionPhasesQuery(props, options) {
13
+ return useQuery(['get-orchestration-execution-phases', props.releaseId, props.queryParams], ({ signal }) => getOrchestrationExecutionPhases(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,25 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { OrchestrationProcessInputStoreSummaryResponseResponse } from '../responses/OrchestrationProcessInputStoreSummaryResponseResponse';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface GetOrchestrationProcessInputStoreSummaryQueryQueryParams {
7
+ orgIdentifier?: string;
8
+ searchTerm?: string;
9
+ page?: number;
10
+ size?: number;
11
+ sort?: string[];
12
+ }
13
+ export interface GetOrchestrationProcessInputStoreSummaryQueryHeaderParams {
14
+ 'Harness-Account': string;
15
+ }
16
+ export type GetOrchestrationProcessInputStoreSummaryOkResponse = ResponseWithPagination<OrchestrationProcessInputStoreSummaryResponseResponse>;
17
+ export type GetOrchestrationProcessInputStoreSummaryErrorResponse = ErrorResponseResponse;
18
+ export interface GetOrchestrationProcessInputStoreSummaryProps extends Omit<FetcherOptions<GetOrchestrationProcessInputStoreSummaryQueryQueryParams, unknown, GetOrchestrationProcessInputStoreSummaryQueryHeaderParams>, 'url'> {
19
+ queryParams: GetOrchestrationProcessInputStoreSummaryQueryQueryParams;
20
+ }
21
+ export declare function getOrchestrationProcessInputStoreSummary(props: GetOrchestrationProcessInputStoreSummaryProps): Promise<GetOrchestrationProcessInputStoreSummaryOkResponse>;
22
+ /**
23
+ * Fetch List of Orchestration Process Input Stores
24
+ */
25
+ export declare function useGetOrchestrationProcessInputStoreSummaryQuery(props: GetOrchestrationProcessInputStoreSummaryProps, options?: Omit<UseQueryOptions<GetOrchestrationProcessInputStoreSummaryOkResponse, GetOrchestrationProcessInputStoreSummaryErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetOrchestrationProcessInputStoreSummaryOkResponse, 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 getOrchestrationProcessInputStoreSummary(props) {
7
+ return fetcher(Object.assign({ url: `/orchestration/process/inputStore/summary`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Fetch List of Orchestration Process Input Stores
11
+ */
12
+ export function useGetOrchestrationProcessInputStoreSummaryQuery(props, options) {
13
+ return useQuery(['get-orchestrationProcessInputStore-summary', props.queryParams], ({ signal }) => getOrchestrationProcessInputStoreSummary(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -4,7 +4,7 @@
4
4
  import { useQuery } from '@tanstack/react-query';
5
5
  import { fetcher } from '../../../../fetcher/index.js';
6
6
  export function getOrchestrationProcess(props) {
7
- return fetcher(Object.assign({ url: `/orchestrationProcess/${props.identifier}`, method: 'GET' }, props));
7
+ return fetcher(Object.assign({ url: `/orchestration/process/${props.identifier}`, method: 'GET' }, props));
8
8
  }
9
9
  /**
10
10
  * Get orchestration process by identifier
@@ -4,7 +4,7 @@
4
4
  import { useQuery } from '@tanstack/react-query';
5
5
  import { fetcher } from '../../../../fetcher/index.js';
6
6
  export function getOrchestrationProcessSummary(props) {
7
- return fetcher(Object.assign({ url: `/orchestrationProcess/summary`, method: 'GET' }, props));
7
+ return fetcher(Object.assign({ url: `/orchestration/process/summary`, method: 'GET' }, props));
8
8
  }
9
9
  /**
10
10
  * Fetch List of Orchestration Processes
@@ -0,0 +1,25 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { CreateOrchestrationActivityInputStoreResponseResponse } from '../responses/CreateOrchestrationActivityInputStoreResponseResponse';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { CreateOrchestrationActivityInputStoreRequestRequestBody } from '../requestBodies/CreateOrchestrationActivityInputStoreRequestRequestBody';
5
+ import type { ResponseWithPagination } from '../helpers';
6
+ import { FetcherOptions } from '../../../../fetcher/index.js';
7
+ export interface PostOrchestrationActivityInputStoreMutationQueryParams {
8
+ orgIdentifier?: string;
9
+ projectIdentifier?: string;
10
+ }
11
+ export interface PostOrchestrationActivityInputStoreMutationHeaderParams {
12
+ 'Harness-Account': string;
13
+ }
14
+ export type PostOrchestrationActivityInputStoreRequestBody = CreateOrchestrationActivityInputStoreRequestRequestBody;
15
+ export type PostOrchestrationActivityInputStoreOkResponse = ResponseWithPagination<CreateOrchestrationActivityInputStoreResponseResponse>;
16
+ export type PostOrchestrationActivityInputStoreErrorResponse = ErrorResponseResponse;
17
+ export interface PostOrchestrationActivityInputStoreProps extends Omit<FetcherOptions<PostOrchestrationActivityInputStoreMutationQueryParams, PostOrchestrationActivityInputStoreRequestBody, PostOrchestrationActivityInputStoreMutationHeaderParams>, 'url'> {
18
+ queryParams: PostOrchestrationActivityInputStoreMutationQueryParams;
19
+ body: PostOrchestrationActivityInputStoreRequestBody;
20
+ }
21
+ export declare function postOrchestrationActivityInputStore(props: PostOrchestrationActivityInputStoreProps): Promise<PostOrchestrationActivityInputStoreOkResponse>;
22
+ /**
23
+ * Create a new input store
24
+ */
25
+ export declare function usePostOrchestrationActivityInputStoreMutation(options?: Omit<UseMutationOptions<PostOrchestrationActivityInputStoreOkResponse, PostOrchestrationActivityInputStoreErrorResponse, PostOrchestrationActivityInputStoreProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<PostOrchestrationActivityInputStoreOkResponse, import("..").Error, PostOrchestrationActivityInputStoreProps, 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 postOrchestrationActivityInputStore(props) {
7
+ return fetcher(Object.assign({ url: `/orchestration/activity/inputStore`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Create a new input store
11
+ */
12
+ export function usePostOrchestrationActivityInputStoreMutation(options) {
13
+ return useMutation((mutateProps) => postOrchestrationActivityInputStore(mutateProps), options);
14
+ }
@@ -4,7 +4,7 @@
4
4
  import { useMutation } from '@tanstack/react-query';
5
5
  import { fetcher } from '../../../../fetcher/index.js';
6
6
  export function postOrchestrationActivity(props) {
7
- return fetcher(Object.assign({ url: `/orchestrationActivity`, method: 'POST' }, props));
7
+ return fetcher(Object.assign({ url: `/orchestration/activity`, method: 'POST' }, props));
8
8
  }
9
9
  /**
10
10
  * Create a new orchestration activity
@@ -0,0 +1,41 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { CreateOrchestrationProcessInputStoreResponseResponse } from '../responses/CreateOrchestrationProcessInputStoreResponseResponse';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface PostOrchestrationProcessInputStoreMutationQueryParams {
7
+ orgIdentifier?: string;
8
+ projectIdentifier?: string;
9
+ }
10
+ export interface PostOrchestrationProcessInputStoreMutationHeaderParams {
11
+ 'Harness-Account': string;
12
+ }
13
+ export type PostOrchestrationProcessInputStoreRequestBody = {
14
+ /**
15
+ * Description of the process input store
16
+ */
17
+ description?: string;
18
+ /**
19
+ * Unique identifier for the process input store
20
+ */
21
+ identifier: string;
22
+ /**
23
+ * Name of the process input store
24
+ */
25
+ name: string;
26
+ /**
27
+ * identifier for the process
28
+ */
29
+ processIdentifier?: string;
30
+ };
31
+ export type PostOrchestrationProcessInputStoreOkResponse = ResponseWithPagination<CreateOrchestrationProcessInputStoreResponseResponse>;
32
+ export type PostOrchestrationProcessInputStoreErrorResponse = ErrorResponseResponse;
33
+ export interface PostOrchestrationProcessInputStoreProps extends Omit<FetcherOptions<PostOrchestrationProcessInputStoreMutationQueryParams, PostOrchestrationProcessInputStoreRequestBody, PostOrchestrationProcessInputStoreMutationHeaderParams>, 'url'> {
34
+ queryParams: PostOrchestrationProcessInputStoreMutationQueryParams;
35
+ body: PostOrchestrationProcessInputStoreRequestBody;
36
+ }
37
+ export declare function postOrchestrationProcessInputStore(props: PostOrchestrationProcessInputStoreProps): Promise<PostOrchestrationProcessInputStoreOkResponse>;
38
+ /**
39
+ * Create a new process input store
40
+ */
41
+ export declare function usePostOrchestrationProcessInputStoreMutation(options?: Omit<UseMutationOptions<PostOrchestrationProcessInputStoreOkResponse, PostOrchestrationProcessInputStoreErrorResponse, PostOrchestrationProcessInputStoreProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<PostOrchestrationProcessInputStoreOkResponse, import("..").Error, PostOrchestrationProcessInputStoreProps, 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 postOrchestrationProcessInputStore(props) {
7
+ return fetcher(Object.assign({ url: `/orchestration/process/inputStore`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Create a new process input store
11
+ */
12
+ export function usePostOrchestrationProcessInputStoreMutation(options) {
13
+ return useMutation((mutateProps) => postOrchestrationProcessInputStore(mutateProps), options);
14
+ }
@@ -4,7 +4,7 @@
4
4
  import { useMutation } from '@tanstack/react-query';
5
5
  import { fetcher } from '../../../../fetcher/index.js';
6
6
  export function postOrchestrationProcess(props) {
7
- return fetcher(Object.assign({ url: `/orchestrationProcess`, method: 'POST' }, props));
7
+ return fetcher(Object.assign({ url: `/orchestration/process`, method: 'POST' }, props));
8
8
  }
9
9
  /**
10
10
  * Create a new orchestration process
@@ -0,0 +1,31 @@
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 PutOrchestrationActivityInputStoreMutationPathParams {
6
+ identifier: string;
7
+ }
8
+ export interface PutOrchestrationActivityInputStoreMutationQueryParams {
9
+ orgIdentifier?: string;
10
+ projectIdentifier?: string;
11
+ }
12
+ export interface PutOrchestrationActivityInputStoreMutationHeaderParams {
13
+ 'Harness-Account': string;
14
+ }
15
+ export type PutOrchestrationActivityInputStoreRequestBody = {
16
+ /**
17
+ * YAML configuration of activity input store
18
+ */
19
+ yaml: string;
20
+ };
21
+ export type PutOrchestrationActivityInputStoreOkResponse = ResponseWithPagination<unknown>;
22
+ export type PutOrchestrationActivityInputStoreErrorResponse = ErrorResponseResponse;
23
+ export interface PutOrchestrationActivityInputStoreProps extends PutOrchestrationActivityInputStoreMutationPathParams, Omit<FetcherOptions<PutOrchestrationActivityInputStoreMutationQueryParams, PutOrchestrationActivityInputStoreRequestBody, PutOrchestrationActivityInputStoreMutationHeaderParams>, 'url'> {
24
+ queryParams: PutOrchestrationActivityInputStoreMutationQueryParams;
25
+ body: PutOrchestrationActivityInputStoreRequestBody;
26
+ }
27
+ export declare function putOrchestrationActivityInputStore(props: PutOrchestrationActivityInputStoreProps): Promise<PutOrchestrationActivityInputStoreOkResponse>;
28
+ /**
29
+ * Update the YAML configuration for an activity input store
30
+ */
31
+ export declare function usePutOrchestrationActivityInputStoreMutation(options?: Omit<UseMutationOptions<PutOrchestrationActivityInputStoreOkResponse, PutOrchestrationActivityInputStoreErrorResponse, PutOrchestrationActivityInputStoreProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<PutOrchestrationActivityInputStoreOkResponse, import("..").Error, PutOrchestrationActivityInputStoreProps, 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 putOrchestrationActivityInputStore(props) {
7
+ return fetcher(Object.assign({ url: `/orchestration/activity/inputStore/${props.identifier}`, method: 'PUT' }, props));
8
+ }
9
+ /**
10
+ * Update the YAML configuration for an activity input store
11
+ */
12
+ export function usePutOrchestrationActivityInputStoreMutation(options) {
13
+ return useMutation((mutateProps) => putOrchestrationActivityInputStore(mutateProps), options);
14
+ }
@@ -0,0 +1,27 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
3
+ import type { UpdateOrchestrationActivityRequestRequestBody } from '../requestBodies/UpdateOrchestrationActivityRequestRequestBody';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface PutOrchestrationActivityMutationPathParams {
7
+ identifier: string;
8
+ }
9
+ export interface PutOrchestrationActivityMutationQueryParams {
10
+ orgIdentifier?: string;
11
+ projectIdentifier?: string;
12
+ }
13
+ export interface PutOrchestrationActivityMutationHeaderParams {
14
+ 'Harness-Account': string;
15
+ }
16
+ export type PutOrchestrationActivityRequestBody = UpdateOrchestrationActivityRequestRequestBody;
17
+ export type PutOrchestrationActivityOkResponse = ResponseWithPagination<unknown>;
18
+ export type PutOrchestrationActivityErrorResponse = ErrorResponseResponse;
19
+ export interface PutOrchestrationActivityProps extends PutOrchestrationActivityMutationPathParams, Omit<FetcherOptions<PutOrchestrationActivityMutationQueryParams, PutOrchestrationActivityRequestBody, PutOrchestrationActivityMutationHeaderParams>, 'url'> {
20
+ queryParams: PutOrchestrationActivityMutationQueryParams;
21
+ body: PutOrchestrationActivityRequestBody;
22
+ }
23
+ export declare function putOrchestrationActivity(props: PutOrchestrationActivityProps): Promise<PutOrchestrationActivityOkResponse>;
24
+ /**
25
+ * Update an orchestration activity with the provided YAML configuration
26
+ */
27
+ export declare function usePutOrchestrationActivityMutation(options?: Omit<UseMutationOptions<PutOrchestrationActivityOkResponse, PutOrchestrationActivityErrorResponse, PutOrchestrationActivityProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<PutOrchestrationActivityOkResponse, import("..").Error, PutOrchestrationActivityProps, unknown>;