@harnessio/react-rmg-service-client 0.21.0 → 0.23.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 (92) hide show
  1. package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionActivitiesQuery.d.ts +2 -1
  2. package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionActivitiesQuery.js +2 -2
  3. package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionPhasesQuery.d.ts +1 -1
  4. package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputQuery.d.ts +26 -0
  5. package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputQuery.js +19 -0
  6. package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputSummaryQuery.d.ts +29 -0
  7. package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputSummaryQuery.js +14 -0
  8. package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessAttachedReleaseGroupsMutation.d.ts +32 -0
  9. package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessAttachedReleaseGroupsMutation.js +14 -0
  10. package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessInputMutation.d.ts +28 -0
  11. package/dist/rmg-service/src/services/hooks/{usePostOrchestrationProcessInputStoreMutation.js → usePostOrchestrationProcessInputMutation.js} +5 -5
  12. package/dist/rmg-service/src/services/hooks/usePutOrchestrationActivityMutation.d.ts +2 -1
  13. package/dist/rmg-service/src/services/hooks/usePutOrchestrationProcessInputMutation.d.ts +29 -0
  14. package/dist/rmg-service/src/services/hooks/{usePutOrchestrationProcessInputStoreMutation.js → usePutOrchestrationProcessInputMutation.js} +5 -5
  15. package/dist/rmg-service/src/services/hooks/usePutOrchestrationProcessMutation.d.ts +2 -1
  16. package/dist/rmg-service/src/services/index.d.ts +31 -22
  17. package/dist/rmg-service/src/services/index.js +5 -7
  18. package/dist/rmg-service/src/services/requestBodies/CreateOrchestrationProcessInputRequestRequestBody.d.ts +6 -0
  19. package/dist/rmg-service/src/services/requestBodies/CreateReleaseGroupRequestRequestBody.d.ts +9 -1
  20. package/dist/rmg-service/src/services/requestBodies/OrchestrationProcessAttachedReleaseGroupsRequestRequestBody.d.ts +10 -0
  21. package/dist/rmg-service/src/services/requestBodies/UpdateOrchestrationProcessInputRequestRequestBody.d.ts +6 -0
  22. package/dist/rmg-service/src/services/requestBodies/UpdateReleaseGroupRequestRequestBody.d.ts +9 -1
  23. package/dist/rmg-service/src/services/requestBodies/UpdateReleaseRequestRequestBody.d.ts +8 -0
  24. package/dist/rmg-service/src/services/responses/CreateOrchestrationProcessInputResponseResponse.d.ts +10 -0
  25. package/dist/rmg-service/src/services/responses/GetOrchestrationProcessInputResponseResponse.d.ts +14 -0
  26. package/dist/rmg-service/src/services/responses/GetOrchestrationProcessInputResponseResponse.js +4 -0
  27. package/dist/rmg-service/src/services/responses/{OrchestrationProcessInputStoreSummaryResponseResponse.d.ts → OrchestrationProcessAttachedReleaseGroupsResponseResponse.d.ts} +3 -3
  28. package/dist/rmg-service/src/services/responses/{OrchestrationActivityInputStoreSummaryResponseResponse.d.ts → OrchestrationProcessInputSummaryResponseResponse.d.ts} +3 -3
  29. package/dist/rmg-service/src/services/responses/UpdateOrchestrationActivityResponseResponse.d.ts +10 -0
  30. package/dist/rmg-service/src/services/responses/UpdateOrchestrationActivityResponseResponse.js +4 -0
  31. package/dist/rmg-service/src/services/responses/UpdateOrchestrationProcessInputResponseResponse.d.ts +14 -0
  32. package/dist/rmg-service/src/services/responses/UpdateOrchestrationProcessInputResponseResponse.js +4 -0
  33. package/dist/rmg-service/src/services/responses/UpdateOrchestrationProcessResponseResponse.d.ts +10 -0
  34. package/dist/rmg-service/src/services/responses/UpdateOrchestrationProcessResponseResponse.js +4 -0
  35. package/dist/rmg-service/src/services/schemas/ActivityInputYaml.d.ts +12 -0
  36. package/dist/rmg-service/src/services/schemas/ActivityInputYaml.js +4 -0
  37. package/dist/rmg-service/src/services/schemas/AttachedReleaseGroupDto.d.ts +26 -0
  38. package/dist/rmg-service/src/services/schemas/AttachedReleaseGroupDto.js +4 -0
  39. package/dist/rmg-service/src/services/schemas/Error.d.ts +4 -0
  40. package/dist/rmg-service/src/services/schemas/GetReleaseGroupResponse.d.ts +9 -1
  41. package/dist/rmg-service/src/services/schemas/GlobalReleaseInputYaml.d.ts +8 -0
  42. package/dist/rmg-service/src/services/schemas/GlobalReleaseInputYaml.js +4 -0
  43. package/dist/rmg-service/src/services/schemas/InputVariable.d.ts +20 -0
  44. package/dist/rmg-service/src/services/schemas/InputVariable.js +4 -0
  45. package/dist/rmg-service/src/services/schemas/OrchestrationActivityPipelineYaml.d.ts +11 -0
  46. package/dist/rmg-service/src/services/schemas/OrchestrationActivityPipelineYaml.js +4 -0
  47. package/dist/rmg-service/src/services/schemas/OrchestrationActivityProcessYaml.d.ts +38 -0
  48. package/dist/rmg-service/src/services/schemas/OrchestrationActivityProcessYaml.js +4 -0
  49. package/dist/rmg-service/src/services/schemas/OrchestrationActivityYaml.d.ts +43 -16
  50. package/dist/rmg-service/src/services/schemas/OrchestrationActivityYaml.js +0 -3
  51. package/dist/rmg-service/src/services/schemas/OrchestrationExecutionActivity.d.ts +10 -2
  52. package/dist/rmg-service/src/services/schemas/OrchestrationExecutionPhase.d.ts +3 -3
  53. package/dist/rmg-service/src/services/schemas/OrchestrationPhaseYaml.d.ts +15 -3
  54. package/dist/rmg-service/src/services/schemas/OrchestrationProcessDto.d.ts +4 -0
  55. package/dist/rmg-service/src/services/schemas/OrchestrationProcessInputYaml.d.ts +17 -0
  56. package/dist/rmg-service/src/services/schemas/OrchestrationReleaseProcessYaml.d.ts +19 -13
  57. package/dist/rmg-service/src/services/schemas/PhaseInputYaml.d.ts +16 -0
  58. package/dist/rmg-service/src/services/schemas/PhaseReleaseInputYaml.d.ts +12 -0
  59. package/dist/rmg-service/src/services/schemas/PhaseReleaseInputYaml.js +4 -0
  60. package/dist/rmg-service/src/services/schemas/ProcessInputSummaryDto.d.ts +21 -0
  61. package/dist/rmg-service/src/services/schemas/ProcessInputSummaryDto.js +1 -0
  62. package/dist/rmg-service/src/services/schemas/ReleaseDto.d.ts +9 -1
  63. package/dist/rmg-service/src/services/schemas/ReleaseGroupDto.d.ts +8 -0
  64. package/dist/rmg-service/src/services/schemas/ReleaseInputYaml.d.ts +9 -0
  65. package/dist/rmg-service/src/services/schemas/ReleaseInputYaml.js +1 -0
  66. package/package.json +1 -1
  67. package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityInputStoreQuery.d.ts +0 -33
  68. package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityInputStoreQuery.js +0 -14
  69. package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityInputStoreSummaryQuery.d.ts +0 -25
  70. package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityInputStoreSummaryQuery.js +0 -14
  71. package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputStoreSummaryQuery.d.ts +0 -25
  72. package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputStoreSummaryQuery.js +0 -14
  73. package/dist/rmg-service/src/services/hooks/usePostOrchestrationActivityInputStoreMutation.d.ts +0 -25
  74. package/dist/rmg-service/src/services/hooks/usePostOrchestrationActivityInputStoreMutation.js +0 -14
  75. package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessInputStoreMutation.d.ts +0 -41
  76. package/dist/rmg-service/src/services/hooks/usePutOrchestrationActivityInputStoreMutation.d.ts +0 -31
  77. package/dist/rmg-service/src/services/hooks/usePutOrchestrationActivityInputStoreMutation.js +0 -14
  78. package/dist/rmg-service/src/services/hooks/usePutOrchestrationProcessInputStoreMutation.d.ts +0 -39
  79. package/dist/rmg-service/src/services/requestBodies/CreateOrchestrationActivityInputStoreRequestRequestBody.d.ts +0 -6
  80. package/dist/rmg-service/src/services/responses/CreateOrchestrationActivityInputStoreResponseResponse.d.ts +0 -10
  81. package/dist/rmg-service/src/services/responses/CreateOrchestrationProcessInputStoreResponseResponse.d.ts +0 -6
  82. package/dist/rmg-service/src/services/schemas/OrchestrationActivityInputStoreDto.d.ts +0 -8
  83. package/dist/rmg-service/src/services/schemas/OrchestrationProcessInputStoreDto.d.ts +0 -9
  84. package/dist/rmg-service/src/services/schemas/PipelineOrchestrationActivityYaml.d.ts +0 -62
  85. /package/dist/rmg-service/src/services/requestBodies/{CreateOrchestrationActivityInputStoreRequestRequestBody.js → CreateOrchestrationProcessInputRequestRequestBody.js} +0 -0
  86. /package/dist/rmg-service/src/services/{responses/CreateOrchestrationActivityInputStoreResponseResponse.js → requestBodies/OrchestrationProcessAttachedReleaseGroupsRequestRequestBody.js} +0 -0
  87. /package/dist/rmg-service/src/services/{responses/CreateOrchestrationProcessInputStoreResponseResponse.js → requestBodies/UpdateOrchestrationProcessInputRequestRequestBody.js} +0 -0
  88. /package/dist/rmg-service/src/services/{schemas/PipelineOrchestrationActivityYaml.js → responses/CreateOrchestrationProcessInputResponseResponse.js} +0 -0
  89. /package/dist/rmg-service/src/services/responses/{OrchestrationActivityInputStoreSummaryResponseResponse.js → OrchestrationProcessAttachedReleaseGroupsResponseResponse.js} +0 -0
  90. /package/dist/rmg-service/src/services/responses/{OrchestrationProcessInputStoreSummaryResponseResponse.js → OrchestrationProcessInputSummaryResponseResponse.js} +0 -0
  91. /package/dist/rmg-service/src/services/schemas/{OrchestrationActivityInputStoreDto.js → OrchestrationProcessInputYaml.js} +0 -0
  92. /package/dist/rmg-service/src/services/schemas/{OrchestrationProcessInputStoreDto.js → PhaseInputYaml.js} +0 -0
@@ -1,33 +0,0 @@
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>;
@@ -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 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
- }
@@ -1,25 +0,0 @@
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>;
@@ -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 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
- }
@@ -1,25 +0,0 @@
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>;
@@ -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 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
- }
@@ -1,25 +0,0 @@
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>;
@@ -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 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
- }
@@ -1,41 +0,0 @@
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>;
@@ -1,31 +0,0 @@
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>;
@@ -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 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
- }
@@ -1,39 +0,0 @@
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 PutOrchestrationProcessInputStoreMutationPathParams {
6
- identifier: string;
7
- }
8
- export interface PutOrchestrationProcessInputStoreMutationQueryParams {
9
- orgIdentifier?: string;
10
- projectIdentifier?: string;
11
- }
12
- export interface PutOrchestrationProcessInputStoreMutationHeaderParams {
13
- 'Harness-Account': string;
14
- }
15
- export type PutOrchestrationProcessInputStoreRequestBody = {
16
- /**
17
- * Identifier of the activity
18
- */
19
- activityIdentifier: string;
20
- /**
21
- * Reference to the activity input
22
- */
23
- activityInputRef: string;
24
- /**
25
- * Identifier of the phase
26
- */
27
- phaseIdentifier: string;
28
- };
29
- export type PutOrchestrationProcessInputStoreOkResponse = ResponseWithPagination<unknown>;
30
- export type PutOrchestrationProcessInputStoreErrorResponse = ErrorResponseResponse;
31
- export interface PutOrchestrationProcessInputStoreProps extends PutOrchestrationProcessInputStoreMutationPathParams, Omit<FetcherOptions<PutOrchestrationProcessInputStoreMutationQueryParams, PutOrchestrationProcessInputStoreRequestBody, PutOrchestrationProcessInputStoreMutationHeaderParams>, 'url'> {
32
- queryParams: PutOrchestrationProcessInputStoreMutationQueryParams;
33
- body: PutOrchestrationProcessInputStoreRequestBody;
34
- }
35
- export declare function putOrchestrationProcessInputStore(props: PutOrchestrationProcessInputStoreProps): Promise<PutOrchestrationProcessInputStoreOkResponse>;
36
- /**
37
- * Update the process input store to patch activity ref to activity input ref
38
- */
39
- export declare function usePutOrchestrationProcessInputStoreMutation(options?: Omit<UseMutationOptions<PutOrchestrationProcessInputStoreOkResponse, PutOrchestrationProcessInputStoreErrorResponse, PutOrchestrationProcessInputStoreProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<PutOrchestrationProcessInputStoreOkResponse, import("..").Error, PutOrchestrationProcessInputStoreProps, unknown>;
@@ -1,6 +0,0 @@
1
- export interface CreateOrchestrationActivityInputStoreRequestRequestBody {
2
- /**
3
- * YAML configuration string
4
- */
5
- yaml: string;
6
- }
@@ -1,10 +0,0 @@
1
- export interface CreateOrchestrationActivityInputStoreResponseResponse {
2
- /**
3
- * Identifier of the created input set
4
- */
5
- identifier: string;
6
- /**
7
- * YAML configuration of the input set
8
- */
9
- yaml: string;
10
- }
@@ -1,6 +0,0 @@
1
- export interface CreateOrchestrationProcessInputStoreResponseResponse {
2
- /**
3
- * Identifier of the created process input store
4
- */
5
- identifier: string;
6
- }
@@ -1,8 +0,0 @@
1
- import type { LastUpdatedByDto } from '../schemas/LastUpdatedByDto';
2
- export interface OrchestrationActivityInputStoreDto {
3
- description?: string;
4
- identifier: string;
5
- lastUpdatedAt: number;
6
- lastUpdatedBy: LastUpdatedByDto;
7
- name: string;
8
- }
@@ -1,9 +0,0 @@
1
- import type { LastUpdatedByDto } from '../schemas/LastUpdatedByDto';
2
- export interface OrchestrationProcessInputStoreDto {
3
- completed: boolean;
4
- description?: string;
5
- identifier: string;
6
- lastUpdatedAt: number;
7
- lastUpdatedBy: LastUpdatedByDto;
8
- name: string;
9
- }
@@ -1,62 +0,0 @@
1
- export interface PipelineOrchestrationActivityYaml {
2
- /**
3
- * Description of the pipeline activity
4
- */
5
- description: string;
6
- /**
7
- * Unique identifier for the pipeline activity
8
- */
9
- identifier: string;
10
- inputs: {
11
- [key: string]: {
12
- /**
13
- * Description of the input parameter
14
- */
15
- description: string;
16
- /**
17
- * Whether the input is required
18
- */
19
- required: boolean;
20
- /**
21
- * Type of the input parameter
22
- */
23
- type: string;
24
- };
25
- };
26
- /**
27
- * Name of the pipeline activity
28
- */
29
- name: string;
30
- spec: {
31
- /**
32
- * Organization identifier
33
- */
34
- orgIdentifier: string;
35
- outputs: Array<{
36
- /**
37
- * Name of the output
38
- */
39
- name: string;
40
- /**
41
- * Value expression for the output
42
- */
43
- value: string;
44
- }>;
45
- /**
46
- * Pipeline identifier
47
- */
48
- pipelineIdentifier: string;
49
- /**
50
- * Project identifier
51
- */
52
- projectIdentifier: string;
53
- };
54
- /**
55
- * Timeout duration for the pipeline activity (e.g., "8h")
56
- */
57
- timeout: string;
58
- /**
59
- * Type of the activity
60
- */
61
- type: 'PIPELINE';
62
- }