@harnessio/react-rmg-service-client 0.22.0 → 0.24.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 (112) hide show
  1. package/dist/rmg-service/src/services/hooks/useGetFreezeDetailsQuery.d.ts +25 -0
  2. package/dist/rmg-service/src/services/hooks/useGetFreezeDetailsQuery.js +14 -0
  3. package/dist/rmg-service/src/services/hooks/useGetFreezeListQuery.d.ts +35 -0
  4. package/dist/rmg-service/src/services/hooks/useGetFreezeListQuery.js +14 -0
  5. package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityInputsQuery.d.ts +25 -0
  6. package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityInputsQuery.js +14 -0
  7. package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputQuery.d.ts +26 -0
  8. package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputQuery.js +19 -0
  9. package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputSummaryQuery.d.ts +29 -0
  10. package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputSummaryQuery.js +14 -0
  11. package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessAttachedReleaseGroupsMutation.d.ts +32 -0
  12. package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessAttachedReleaseGroupsMutation.js +14 -0
  13. package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessInputMutation.d.ts +28 -0
  14. package/dist/rmg-service/src/services/hooks/{usePostOrchestrationProcessInputStoreMutation.js → usePostOrchestrationProcessInputMutation.js} +5 -5
  15. package/dist/rmg-service/src/services/hooks/usePutOrchestrationActivityMutation.d.ts +2 -1
  16. package/dist/rmg-service/src/services/hooks/usePutOrchestrationProcessInputMutation.d.ts +29 -0
  17. package/dist/rmg-service/src/services/hooks/{usePutOrchestrationProcessInputStoreMutation.js → usePutOrchestrationProcessInputMutation.js} +5 -5
  18. package/dist/rmg-service/src/services/hooks/usePutOrchestrationProcessMutation.d.ts +2 -1
  19. package/dist/rmg-service/src/services/hooks/useStartReleaseExecutionMutation.d.ts +8 -1
  20. package/dist/rmg-service/src/services/index.d.ts +47 -23
  21. package/dist/rmg-service/src/services/index.js +8 -7
  22. package/dist/rmg-service/src/services/requestBodies/CreateOrchestrationProcessInputRequestRequestBody.d.ts +6 -0
  23. package/dist/rmg-service/src/services/requestBodies/CreateReleaseGroupRequestRequestBody.d.ts +9 -1
  24. package/dist/rmg-service/src/services/requestBodies/OrchestrationProcessAttachedReleaseGroupsRequestRequestBody.d.ts +10 -0
  25. package/dist/rmg-service/src/services/requestBodies/UpdateOrchestrationProcessInputRequestRequestBody.d.ts +6 -0
  26. package/dist/rmg-service/src/services/requestBodies/UpdateReleaseGroupRequestRequestBody.d.ts +9 -1
  27. package/dist/rmg-service/src/services/requestBodies/UpdateReleaseRequestRequestBody.d.ts +8 -0
  28. package/dist/rmg-service/src/services/responses/ActivityInputsResponseResponse.d.ts +2 -0
  29. package/dist/rmg-service/src/services/responses/CreateOrchestrationProcessInputResponseResponse.d.ts +10 -0
  30. package/dist/rmg-service/src/services/responses/FreezeDetailsResponseResponse.d.ts +2 -0
  31. package/dist/rmg-service/src/services/responses/FreezeListResponseResponse.d.ts +2 -0
  32. package/dist/rmg-service/src/services/responses/GetOrchestrationProcessInputResponseResponse.d.ts +14 -0
  33. package/dist/rmg-service/src/services/responses/GetOrchestrationProcessInputResponseResponse.js +4 -0
  34. package/dist/rmg-service/src/services/responses/{OrchestrationProcessInputStoreSummaryResponseResponse.d.ts → OrchestrationProcessAttachedReleaseGroupsResponseResponse.d.ts} +3 -3
  35. package/dist/rmg-service/src/services/responses/{OrchestrationActivityInputStoreSummaryResponseResponse.d.ts → OrchestrationProcessInputSummaryResponseResponse.d.ts} +3 -3
  36. package/dist/rmg-service/src/services/responses/OrchestrationProcessInputSummaryResponseResponse.js +1 -0
  37. package/dist/rmg-service/src/services/responses/UpdateOrchestrationActivityResponseResponse.d.ts +10 -0
  38. package/dist/rmg-service/src/services/responses/UpdateOrchestrationActivityResponseResponse.js +4 -0
  39. package/dist/rmg-service/src/services/responses/UpdateOrchestrationProcessInputResponseResponse.d.ts +14 -0
  40. package/dist/rmg-service/src/services/responses/UpdateOrchestrationProcessInputResponseResponse.js +4 -0
  41. package/dist/rmg-service/src/services/responses/UpdateOrchestrationProcessResponseResponse.d.ts +10 -0
  42. package/dist/rmg-service/src/services/responses/UpdateOrchestrationProcessResponseResponse.js +4 -0
  43. package/dist/rmg-service/src/services/schemas/ActivityInputYaml.d.ts +12 -0
  44. package/dist/rmg-service/src/services/schemas/ActivityInputYaml.js +4 -0
  45. package/dist/rmg-service/src/services/schemas/ActivityInputsResponse.d.ts +9 -0
  46. package/dist/rmg-service/src/services/schemas/ActivityInputsResponse.js +4 -0
  47. package/dist/rmg-service/src/services/schemas/AttachedReleaseGroupDto.d.ts +26 -0
  48. package/dist/rmg-service/src/services/schemas/AttachedReleaseGroupDto.js +4 -0
  49. package/dist/rmg-service/src/services/schemas/Error.d.ts +4 -0
  50. package/dist/rmg-service/src/services/schemas/FreezeDetailsDto.d.ts +41 -0
  51. package/dist/rmg-service/src/services/schemas/FreezeDetailsDto.js +1 -0
  52. package/dist/rmg-service/src/services/schemas/FreezeEntitiesDto.d.ts +29 -0
  53. package/dist/rmg-service/src/services/schemas/FreezeEntitiesDto.js +4 -0
  54. package/dist/rmg-service/src/services/schemas/FreezeListItemDto.d.ts +31 -0
  55. package/dist/rmg-service/src/services/schemas/FreezeListItemDto.js +4 -0
  56. package/dist/rmg-service/src/services/schemas/FreezeListResponseDto.d.ts +16 -0
  57. package/dist/rmg-service/src/services/schemas/FreezeListResponseDto.js +1 -0
  58. package/dist/rmg-service/src/services/schemas/GetReleaseGroupResponse.d.ts +9 -1
  59. package/dist/rmg-service/src/services/schemas/GlobalReleaseInputYaml.d.ts +8 -0
  60. package/dist/rmg-service/src/services/schemas/GlobalReleaseInputYaml.js +4 -0
  61. package/dist/rmg-service/src/services/schemas/InputVariable.d.ts +12 -0
  62. package/dist/rmg-service/src/services/schemas/InputVariable.js +1 -0
  63. package/dist/rmg-service/src/services/schemas/InputVariableType.d.ts +4 -0
  64. package/dist/rmg-service/src/services/schemas/InputVariableType.js +4 -0
  65. package/dist/rmg-service/src/services/schemas/OrchestrationActivityPipelineYaml.d.ts +15 -0
  66. package/dist/rmg-service/src/services/schemas/OrchestrationActivityPipelineYaml.js +4 -0
  67. package/dist/rmg-service/src/services/schemas/OrchestrationActivityProcessYaml.d.ts +22 -0
  68. package/dist/rmg-service/src/services/schemas/OrchestrationActivityProcessYaml.js +4 -0
  69. package/dist/rmg-service/src/services/schemas/OrchestrationActivityYaml.d.ts +23 -16
  70. package/dist/rmg-service/src/services/schemas/OrchestrationActivityYaml.js +0 -3
  71. package/dist/rmg-service/src/services/schemas/OrchestrationPhaseYaml.d.ts +24 -22
  72. package/dist/rmg-service/src/services/schemas/OrchestrationProcessDto.d.ts +4 -0
  73. package/dist/rmg-service/src/services/schemas/OrchestrationProcessInputYaml.d.ts +31 -0
  74. package/dist/rmg-service/src/services/schemas/OrchestrationProcessInputYaml.js +1 -0
  75. package/dist/rmg-service/src/services/schemas/OrchestrationReleaseProcessYaml.d.ts +15 -13
  76. package/dist/rmg-service/src/services/schemas/PhaseInputYaml.d.ts +18 -0
  77. package/dist/rmg-service/src/services/schemas/PhaseInputYaml.js +1 -0
  78. package/dist/rmg-service/src/services/schemas/PhaseReleaseInputYaml.d.ts +12 -0
  79. package/dist/rmg-service/src/services/schemas/PhaseReleaseInputYaml.js +4 -0
  80. package/dist/rmg-service/src/services/schemas/ProcessInputSummaryDto.d.ts +25 -0
  81. package/dist/rmg-service/src/services/schemas/ProcessInputSummaryDto.js +1 -0
  82. package/dist/rmg-service/src/services/schemas/ReleaseDto.d.ts +9 -1
  83. package/dist/rmg-service/src/services/schemas/ReleaseGroupDto.d.ts +8 -0
  84. package/dist/rmg-service/src/services/schemas/ReleaseInputYaml.d.ts +9 -0
  85. package/dist/rmg-service/src/services/schemas/ReleaseInputYaml.js +1 -0
  86. package/package.json +1 -1
  87. package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityInputStoreQuery.d.ts +0 -33
  88. package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityInputStoreQuery.js +0 -14
  89. package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityInputStoreSummaryQuery.d.ts +0 -25
  90. package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityInputStoreSummaryQuery.js +0 -14
  91. package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputStoreSummaryQuery.d.ts +0 -25
  92. package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputStoreSummaryQuery.js +0 -14
  93. package/dist/rmg-service/src/services/hooks/usePostOrchestrationActivityInputStoreMutation.d.ts +0 -25
  94. package/dist/rmg-service/src/services/hooks/usePostOrchestrationActivityInputStoreMutation.js +0 -14
  95. package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessInputStoreMutation.d.ts +0 -41
  96. package/dist/rmg-service/src/services/hooks/usePutOrchestrationActivityInputStoreMutation.d.ts +0 -31
  97. package/dist/rmg-service/src/services/hooks/usePutOrchestrationActivityInputStoreMutation.js +0 -14
  98. package/dist/rmg-service/src/services/hooks/usePutOrchestrationProcessInputStoreMutation.d.ts +0 -39
  99. package/dist/rmg-service/src/services/requestBodies/CreateOrchestrationActivityInputStoreRequestRequestBody.d.ts +0 -6
  100. package/dist/rmg-service/src/services/responses/CreateOrchestrationActivityInputStoreResponseResponse.d.ts +0 -10
  101. package/dist/rmg-service/src/services/responses/CreateOrchestrationProcessInputStoreResponseResponse.d.ts +0 -6
  102. package/dist/rmg-service/src/services/schemas/OrchestrationActivityInputStoreDto.d.ts +0 -8
  103. package/dist/rmg-service/src/services/schemas/OrchestrationProcessInputStoreDto.d.ts +0 -9
  104. package/dist/rmg-service/src/services/schemas/PipelineOrchestrationActivityYaml.d.ts +0 -62
  105. /package/dist/rmg-service/src/services/requestBodies/{CreateOrchestrationActivityInputStoreRequestRequestBody.js → CreateOrchestrationProcessInputRequestRequestBody.js} +0 -0
  106. /package/dist/rmg-service/src/services/{responses/CreateOrchestrationActivityInputStoreResponseResponse.js → requestBodies/OrchestrationProcessAttachedReleaseGroupsRequestRequestBody.js} +0 -0
  107. /package/dist/rmg-service/src/services/{responses/CreateOrchestrationProcessInputStoreResponseResponse.js → requestBodies/UpdateOrchestrationProcessInputRequestRequestBody.js} +0 -0
  108. /package/dist/rmg-service/src/services/responses/{OrchestrationActivityInputStoreSummaryResponseResponse.js → ActivityInputsResponseResponse.js} +0 -0
  109. /package/dist/rmg-service/src/services/{schemas/PipelineOrchestrationActivityYaml.js → responses/CreateOrchestrationProcessInputResponseResponse.js} +0 -0
  110. /package/dist/rmg-service/src/services/responses/{OrchestrationProcessInputStoreSummaryResponseResponse.js → FreezeDetailsResponseResponse.js} +0 -0
  111. /package/dist/rmg-service/src/services/{schemas/OrchestrationActivityInputStoreDto.js → responses/FreezeListResponseResponse.js} +0 -0
  112. /package/dist/rmg-service/src/services/{schemas/OrchestrationProcessInputStoreDto.js → responses/OrchestrationProcessAttachedReleaseGroupsResponseResponse.js} +0 -0
@@ -0,0 +1,25 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { FreezeDetailsResponseResponse } from '../responses/FreezeDetailsResponseResponse';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface GetFreezeDetailsQueryPathParams {
7
+ freeze_identifier: string;
8
+ }
9
+ export interface GetFreezeDetailsQueryQueryParams {
10
+ orgIdentifier?: string;
11
+ projectIdentifier?: string;
12
+ }
13
+ export interface GetFreezeDetailsQueryHeaderParams {
14
+ 'Harness-Account': string;
15
+ }
16
+ export type GetFreezeDetailsOkResponse = ResponseWithPagination<FreezeDetailsResponseResponse>;
17
+ export type GetFreezeDetailsErrorResponse = ErrorResponseResponse;
18
+ export interface GetFreezeDetailsProps extends GetFreezeDetailsQueryPathParams, Omit<FetcherOptions<GetFreezeDetailsQueryQueryParams, unknown, GetFreezeDetailsQueryHeaderParams>, 'url'> {
19
+ queryParams: GetFreezeDetailsQueryQueryParams;
20
+ }
21
+ export declare function getFreezeDetails(props: GetFreezeDetailsProps): Promise<GetFreezeDetailsOkResponse>;
22
+ /**
23
+ * Retrieve detailed freeze information including entity extraction for a specific freeze.
24
+ */
25
+ export declare function useGetFreezeDetailsQuery(props: GetFreezeDetailsProps, options?: Omit<UseQueryOptions<GetFreezeDetailsOkResponse, GetFreezeDetailsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetFreezeDetailsOkResponse, 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 getFreezeDetails(props) {
7
+ return fetcher(Object.assign({ url: `/freeze/details/${props.freeze_identifier}`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Retrieve detailed freeze information including entity extraction for a specific freeze.
11
+ */
12
+ export function useGetFreezeDetailsQuery(props, options) {
13
+ return useQuery(['getFreezeDetails', props.freeze_identifier, props.queryParams], ({ signal }) => getFreezeDetails(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,35 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { FreezeListResponseResponse } from '../responses/FreezeListResponseResponse';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface GetFreezeListQueryQueryParams {
7
+ orgIdentifier?: string;
8
+ projectIdentifier?: string;
9
+ /**
10
+ * @format int64
11
+ */
12
+ startTime: number;
13
+ /**
14
+ * @format int64
15
+ */
16
+ endTime: number;
17
+ cursor?: string;
18
+ /**
19
+ * @default 50
20
+ */
21
+ limit?: number;
22
+ }
23
+ export interface GetFreezeListQueryHeaderParams {
24
+ 'Harness-Account': string;
25
+ }
26
+ export type GetFreezeListOkResponse = ResponseWithPagination<FreezeListResponseResponse>;
27
+ export type GetFreezeListErrorResponse = ErrorResponseResponse;
28
+ export interface GetFreezeListProps extends Omit<FetcherOptions<GetFreezeListQueryQueryParams, unknown, GetFreezeListQueryHeaderParams>, 'url'> {
29
+ queryParams: GetFreezeListQueryQueryParams;
30
+ }
31
+ export declare function getFreezeList(props: GetFreezeListProps): Promise<GetFreezeListOkResponse>;
32
+ /**
33
+ * Retrieve a paginated list of freeze information for all active freezes that overlap with the specified time range (startTime to endTime).
34
+ */
35
+ export declare function useGetFreezeListQuery(props: GetFreezeListProps, options?: Omit<UseQueryOptions<GetFreezeListOkResponse, GetFreezeListErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetFreezeListOkResponse, 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 getFreezeList(props) {
7
+ return fetcher(Object.assign({ url: `/freeze/list`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Retrieve a paginated list of freeze information for all active freezes that overlap with the specified time range (startTime to endTime).
11
+ */
12
+ export function useGetFreezeListQuery(props, options) {
13
+ return useQuery(['getFreezeList', props.queryParams], ({ signal }) => getFreezeList(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,25 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ActivityInputsResponseResponse } from '../responses/ActivityInputsResponseResponse';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface GetOrchestrationActivityInputsQueryPathParams {
7
+ activityRef: string;
8
+ }
9
+ export interface GetOrchestrationActivityInputsQueryQueryParams {
10
+ orgIdentifier?: string;
11
+ projectIdentifier?: string;
12
+ }
13
+ export interface GetOrchestrationActivityInputsQueryHeaderParams {
14
+ 'Harness-Account': string;
15
+ }
16
+ export type GetOrchestrationActivityInputsOkResponse = ResponseWithPagination<ActivityInputsResponseResponse>;
17
+ export type GetOrchestrationActivityInputsErrorResponse = ErrorResponseResponse;
18
+ export interface GetOrchestrationActivityInputsProps extends GetOrchestrationActivityInputsQueryPathParams, Omit<FetcherOptions<GetOrchestrationActivityInputsQueryQueryParams, unknown, GetOrchestrationActivityInputsQueryHeaderParams>, 'url'> {
19
+ queryParams: GetOrchestrationActivityInputsQueryQueryParams;
20
+ }
21
+ export declare function getOrchestrationActivityInputs(props: GetOrchestrationActivityInputsProps): Promise<GetOrchestrationActivityInputsOkResponse>;
22
+ /**
23
+ * Retrieve input definitions and values for a specific activity within a process input configuration
24
+ */
25
+ export declare function useGetOrchestrationActivityInputsQuery(props: GetOrchestrationActivityInputsProps, options?: Omit<UseQueryOptions<GetOrchestrationActivityInputsOkResponse, GetOrchestrationActivityInputsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetOrchestrationActivityInputsOkResponse, 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 getOrchestrationActivityInputs(props) {
7
+ return fetcher(Object.assign({ url: `/orchestration/activity/${props.activityRef}/inputs`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Retrieve input definitions and values for a specific activity within a process input configuration
11
+ */
12
+ export function useGetOrchestrationActivityInputsQuery(props, options) {
13
+ return useQuery(['get-orchestration-activity-inputs', props.activityRef, props.queryParams], ({ signal }) => getOrchestrationActivityInputs(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,26 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { GetOrchestrationProcessInputResponseResponse } from '../responses/GetOrchestrationProcessInputResponseResponse';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface GetOrchestrationProcessInputQueryPathParams {
7
+ processIdentifier: string;
8
+ identifier: string;
9
+ }
10
+ export interface GetOrchestrationProcessInputQueryQueryParams {
11
+ orgIdentifier?: string;
12
+ projectIdentifier?: string;
13
+ }
14
+ export interface GetOrchestrationProcessInputQueryHeaderParams {
15
+ 'Harness-Account': string;
16
+ }
17
+ export type GetOrchestrationProcessInputOkResponse = ResponseWithPagination<GetOrchestrationProcessInputResponseResponse>;
18
+ export type GetOrchestrationProcessInputErrorResponse = ErrorResponseResponse;
19
+ export interface GetOrchestrationProcessInputProps extends GetOrchestrationProcessInputQueryPathParams, Omit<FetcherOptions<GetOrchestrationProcessInputQueryQueryParams, unknown, GetOrchestrationProcessInputQueryHeaderParams>, 'url'> {
20
+ queryParams: GetOrchestrationProcessInputQueryQueryParams;
21
+ }
22
+ export declare function getOrchestrationProcessInput(props: GetOrchestrationProcessInputProps): Promise<GetOrchestrationProcessInputOkResponse>;
23
+ /**
24
+ * Get an orchestration process input by process identifier and input identifier
25
+ */
26
+ export declare function useGetOrchestrationProcessInputQuery(props: GetOrchestrationProcessInputProps, options?: Omit<UseQueryOptions<GetOrchestrationProcessInputOkResponse, GetOrchestrationProcessInputErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetOrchestrationProcessInputOkResponse, 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 getOrchestrationProcessInput(props) {
7
+ return fetcher(Object.assign({ url: `/orchestration/process/${props.processIdentifier}/input/${props.identifier}`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Get an orchestration process input by process identifier and input identifier
11
+ */
12
+ export function useGetOrchestrationProcessInputQuery(props, options) {
13
+ return useQuery([
14
+ 'get-orchestration-process-input',
15
+ props.processIdentifier,
16
+ props.identifier,
17
+ props.queryParams,
18
+ ], ({ signal }) => getOrchestrationProcessInput(Object.assign(Object.assign({}, props), { signal })), options);
19
+ }
@@ -0,0 +1,29 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { OrchestrationProcessInputSummaryResponseResponse } from '../responses/OrchestrationProcessInputSummaryResponseResponse';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface GetOrchestrationProcessInputSummaryQueryPathParams {
7
+ processIdentifier: string;
8
+ }
9
+ export interface GetOrchestrationProcessInputSummaryQueryQueryParams {
10
+ orgIdentifier?: string;
11
+ projectIdentifier?: string;
12
+ page?: number;
13
+ size?: number;
14
+ sort?: string[];
15
+ searchTerm?: string;
16
+ }
17
+ export interface GetOrchestrationProcessInputSummaryQueryHeaderParams {
18
+ 'Harness-Account': string;
19
+ }
20
+ export type GetOrchestrationProcessInputSummaryOkResponse = ResponseWithPagination<OrchestrationProcessInputSummaryResponseResponse>;
21
+ export type GetOrchestrationProcessInputSummaryErrorResponse = ErrorResponseResponse;
22
+ export interface GetOrchestrationProcessInputSummaryProps extends GetOrchestrationProcessInputSummaryQueryPathParams, Omit<FetcherOptions<GetOrchestrationProcessInputSummaryQueryQueryParams, unknown, GetOrchestrationProcessInputSummaryQueryHeaderParams>, 'url'> {
23
+ queryParams: GetOrchestrationProcessInputSummaryQueryQueryParams;
24
+ }
25
+ export declare function getOrchestrationProcessInputSummary(props: GetOrchestrationProcessInputSummaryProps): Promise<GetOrchestrationProcessInputSummaryOkResponse>;
26
+ /**
27
+ * Retrieve a paginated list of orchestration process inputs for a specific process
28
+ */
29
+ export declare function useGetOrchestrationProcessInputSummaryQuery(props: GetOrchestrationProcessInputSummaryProps, options?: Omit<UseQueryOptions<GetOrchestrationProcessInputSummaryOkResponse, GetOrchestrationProcessInputSummaryErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetOrchestrationProcessInputSummaryOkResponse, 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 getOrchestrationProcessInputSummary(props) {
7
+ return fetcher(Object.assign({ url: `/orchestration/process/${props.processIdentifier}/input/summary`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Retrieve a paginated list of orchestration process inputs for a specific process
11
+ */
12
+ export function useGetOrchestrationProcessInputSummaryQuery(props, options) {
13
+ return useQuery(['get-orchestration-process-input-summary', props.processIdentifier, props.queryParams], ({ signal }) => getOrchestrationProcessInputSummary(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,32 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { OrchestrationProcessAttachedReleaseGroupsResponseResponse } from '../responses/OrchestrationProcessAttachedReleaseGroupsResponseResponse';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { OrchestrationProcessAttachedReleaseGroupsRequestRequestBody } from '../requestBodies/OrchestrationProcessAttachedReleaseGroupsRequestRequestBody';
5
+ import type { ResponseWithPagination } from '../helpers';
6
+ import { FetcherOptions } from '../../../../fetcher/index.js';
7
+ export interface PostOrchestrationProcessAttachedReleaseGroupsMutationPathParams {
8
+ identifier: string;
9
+ }
10
+ export interface PostOrchestrationProcessAttachedReleaseGroupsMutationQueryParams {
11
+ orgIdentifier?: string;
12
+ projectIdentifier?: string;
13
+ page?: number;
14
+ size?: number;
15
+ sort?: string[];
16
+ searchTerm?: string;
17
+ }
18
+ export interface PostOrchestrationProcessAttachedReleaseGroupsMutationHeaderParams {
19
+ 'Harness-Account': string;
20
+ }
21
+ export type PostOrchestrationProcessAttachedReleaseGroupsRequestBody = OrchestrationProcessAttachedReleaseGroupsRequestRequestBody;
22
+ export type PostOrchestrationProcessAttachedReleaseGroupsOkResponse = ResponseWithPagination<OrchestrationProcessAttachedReleaseGroupsResponseResponse>;
23
+ export type PostOrchestrationProcessAttachedReleaseGroupsErrorResponse = ErrorResponseResponse;
24
+ export interface PostOrchestrationProcessAttachedReleaseGroupsProps extends PostOrchestrationProcessAttachedReleaseGroupsMutationPathParams, Omit<FetcherOptions<PostOrchestrationProcessAttachedReleaseGroupsMutationQueryParams, PostOrchestrationProcessAttachedReleaseGroupsRequestBody, PostOrchestrationProcessAttachedReleaseGroupsMutationHeaderParams>, 'url'> {
25
+ queryParams: PostOrchestrationProcessAttachedReleaseGroupsMutationQueryParams;
26
+ body: PostOrchestrationProcessAttachedReleaseGroupsRequestBody;
27
+ }
28
+ export declare function postOrchestrationProcessAttachedReleaseGroups(props: PostOrchestrationProcessAttachedReleaseGroupsProps): Promise<PostOrchestrationProcessAttachedReleaseGroupsOkResponse>;
29
+ /**
30
+ * Retrieve a paginated list of release groups attached to orchestration processes with optional filtering
31
+ */
32
+ export declare function usePostOrchestrationProcessAttachedReleaseGroupsMutation(options?: Omit<UseMutationOptions<PostOrchestrationProcessAttachedReleaseGroupsOkResponse, PostOrchestrationProcessAttachedReleaseGroupsErrorResponse, PostOrchestrationProcessAttachedReleaseGroupsProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<PostOrchestrationProcessAttachedReleaseGroupsOkResponse, import("..").Error, PostOrchestrationProcessAttachedReleaseGroupsProps, 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 postOrchestrationProcessAttachedReleaseGroups(props) {
7
+ return fetcher(Object.assign({ url: `/orchestration/process/${props.identifier}/attachedReleaseGroups`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Retrieve a paginated list of release groups attached to orchestration processes with optional filtering
11
+ */
12
+ export function usePostOrchestrationProcessAttachedReleaseGroupsMutation(options) {
13
+ return useMutation((mutateProps) => postOrchestrationProcessAttachedReleaseGroups(mutateProps), options);
14
+ }
@@ -0,0 +1,28 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { CreateOrchestrationProcessInputResponseResponse } from '../responses/CreateOrchestrationProcessInputResponseResponse';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { CreateOrchestrationProcessInputRequestRequestBody } from '../requestBodies/CreateOrchestrationProcessInputRequestRequestBody';
5
+ import type { ResponseWithPagination } from '../helpers';
6
+ import { FetcherOptions } from '../../../../fetcher/index.js';
7
+ export interface PostOrchestrationProcessInputMutationPathParams {
8
+ identifier: string;
9
+ }
10
+ export interface PostOrchestrationProcessInputMutationQueryParams {
11
+ orgIdentifier?: string;
12
+ projectIdentifier?: string;
13
+ }
14
+ export interface PostOrchestrationProcessInputMutationHeaderParams {
15
+ 'Harness-Account': string;
16
+ }
17
+ export type PostOrchestrationProcessInputRequestBody = CreateOrchestrationProcessInputRequestRequestBody;
18
+ export type PostOrchestrationProcessInputOkResponse = ResponseWithPagination<CreateOrchestrationProcessInputResponseResponse>;
19
+ export type PostOrchestrationProcessInputErrorResponse = ErrorResponseResponse;
20
+ export interface PostOrchestrationProcessInputProps extends PostOrchestrationProcessInputMutationPathParams, Omit<FetcherOptions<PostOrchestrationProcessInputMutationQueryParams, PostOrchestrationProcessInputRequestBody, PostOrchestrationProcessInputMutationHeaderParams>, 'url'> {
21
+ queryParams: PostOrchestrationProcessInputMutationQueryParams;
22
+ body: PostOrchestrationProcessInputRequestBody;
23
+ }
24
+ export declare function postOrchestrationProcessInput(props: PostOrchestrationProcessInputProps): Promise<PostOrchestrationProcessInputOkResponse>;
25
+ /**
26
+ * Create a new orchestration process input with the provided YAML configuration
27
+ */
28
+ export declare function usePostOrchestrationProcessInputMutation(options?: Omit<UseMutationOptions<PostOrchestrationProcessInputOkResponse, PostOrchestrationProcessInputErrorResponse, PostOrchestrationProcessInputProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<PostOrchestrationProcessInputOkResponse, import("..").Error, PostOrchestrationProcessInputProps, unknown>;
@@ -3,12 +3,12 @@
3
3
  // Please do not modify this code directly.
4
4
  import { useMutation } from '@tanstack/react-query';
5
5
  import { fetcher } from '../../../../fetcher/index.js';
6
- export function postOrchestrationProcessInputStore(props) {
7
- return fetcher(Object.assign({ url: `/orchestration/process/inputStore`, method: 'POST' }, props));
6
+ export function postOrchestrationProcessInput(props) {
7
+ return fetcher(Object.assign({ url: `/orchestration/process/${props.identifier}/input`, method: 'POST' }, props));
8
8
  }
9
9
  /**
10
- * Create a new process input store
10
+ * Create a new orchestration process input with the provided YAML configuration
11
11
  */
12
- export function usePostOrchestrationProcessInputStoreMutation(options) {
13
- return useMutation((mutateProps) => postOrchestrationProcessInputStore(mutateProps), options);
12
+ export function usePostOrchestrationProcessInputMutation(options) {
13
+ return useMutation((mutateProps) => postOrchestrationProcessInput(mutateProps), options);
14
14
  }
@@ -1,4 +1,5 @@
1
1
  import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { UpdateOrchestrationActivityResponseResponse } from '../responses/UpdateOrchestrationActivityResponseResponse';
2
3
  import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
3
4
  import type { UpdateOrchestrationActivityRequestRequestBody } from '../requestBodies/UpdateOrchestrationActivityRequestRequestBody';
4
5
  import type { ResponseWithPagination } from '../helpers';
@@ -14,7 +15,7 @@ export interface PutOrchestrationActivityMutationHeaderParams {
14
15
  'Harness-Account': string;
15
16
  }
16
17
  export type PutOrchestrationActivityRequestBody = UpdateOrchestrationActivityRequestRequestBody;
17
- export type PutOrchestrationActivityOkResponse = ResponseWithPagination<unknown>;
18
+ export type PutOrchestrationActivityOkResponse = ResponseWithPagination<UpdateOrchestrationActivityResponseResponse>;
18
19
  export type PutOrchestrationActivityErrorResponse = ErrorResponseResponse;
19
20
  export interface PutOrchestrationActivityProps extends PutOrchestrationActivityMutationPathParams, Omit<FetcherOptions<PutOrchestrationActivityMutationQueryParams, PutOrchestrationActivityRequestBody, PutOrchestrationActivityMutationHeaderParams>, 'url'> {
20
21
  queryParams: PutOrchestrationActivityMutationQueryParams;
@@ -0,0 +1,29 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { UpdateOrchestrationProcessInputResponseResponse } from '../responses/UpdateOrchestrationProcessInputResponseResponse';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { UpdateOrchestrationProcessInputRequestRequestBody } from '../requestBodies/UpdateOrchestrationProcessInputRequestRequestBody';
5
+ import type { ResponseWithPagination } from '../helpers';
6
+ import { FetcherOptions } from '../../../../fetcher/index.js';
7
+ export interface PutOrchestrationProcessInputMutationPathParams {
8
+ processIdentifier: string;
9
+ identifier: string;
10
+ }
11
+ export interface PutOrchestrationProcessInputMutationQueryParams {
12
+ orgIdentifier?: string;
13
+ projectIdentifier?: string;
14
+ }
15
+ export interface PutOrchestrationProcessInputMutationHeaderParams {
16
+ 'Harness-Account': string;
17
+ }
18
+ export type PutOrchestrationProcessInputRequestBody = UpdateOrchestrationProcessInputRequestRequestBody;
19
+ export type PutOrchestrationProcessInputOkResponse = ResponseWithPagination<UpdateOrchestrationProcessInputResponseResponse>;
20
+ export type PutOrchestrationProcessInputErrorResponse = ErrorResponseResponse;
21
+ export interface PutOrchestrationProcessInputProps extends PutOrchestrationProcessInputMutationPathParams, Omit<FetcherOptions<PutOrchestrationProcessInputMutationQueryParams, PutOrchestrationProcessInputRequestBody, PutOrchestrationProcessInputMutationHeaderParams>, 'url'> {
22
+ queryParams: PutOrchestrationProcessInputMutationQueryParams;
23
+ body: PutOrchestrationProcessInputRequestBody;
24
+ }
25
+ export declare function putOrchestrationProcessInput(props: PutOrchestrationProcessInputProps): Promise<PutOrchestrationProcessInputOkResponse>;
26
+ /**
27
+ * Update an orchestration process input with the provided YAML configuration
28
+ */
29
+ export declare function usePutOrchestrationProcessInputMutation(options?: Omit<UseMutationOptions<PutOrchestrationProcessInputOkResponse, PutOrchestrationProcessInputErrorResponse, PutOrchestrationProcessInputProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<PutOrchestrationProcessInputOkResponse, import("..").Error, PutOrchestrationProcessInputProps, unknown>;
@@ -3,12 +3,12 @@
3
3
  // Please do not modify this code directly.
4
4
  import { useMutation } from '@tanstack/react-query';
5
5
  import { fetcher } from '../../../../fetcher/index.js';
6
- export function putOrchestrationProcessInputStore(props) {
7
- return fetcher(Object.assign({ url: `/orchestration/process/inputStore/${props.identifier}`, method: 'PUT' }, props));
6
+ export function putOrchestrationProcessInput(props) {
7
+ return fetcher(Object.assign({ url: `/orchestration/process/${props.processIdentifier}/input/${props.identifier}`, method: 'PUT' }, props));
8
8
  }
9
9
  /**
10
- * Update the process input store to patch activity ref to activity input ref
10
+ * Update an orchestration process input with the provided YAML configuration
11
11
  */
12
- export function usePutOrchestrationProcessInputStoreMutation(options) {
13
- return useMutation((mutateProps) => putOrchestrationProcessInputStore(mutateProps), options);
12
+ export function usePutOrchestrationProcessInputMutation(options) {
13
+ return useMutation((mutateProps) => putOrchestrationProcessInput(mutateProps), options);
14
14
  }
@@ -1,4 +1,5 @@
1
1
  import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { UpdateOrchestrationProcessResponseResponse } from '../responses/UpdateOrchestrationProcessResponseResponse';
2
3
  import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
3
4
  import type { UpdateOrchestrationProcessRequestRequestBody } from '../requestBodies/UpdateOrchestrationProcessRequestRequestBody';
4
5
  import type { ResponseWithPagination } from '../helpers';
@@ -14,7 +15,7 @@ export interface PutOrchestrationProcessMutationHeaderParams {
14
15
  'Harness-Account': string;
15
16
  }
16
17
  export type PutOrchestrationProcessRequestBody = UpdateOrchestrationProcessRequestRequestBody;
17
- export type PutOrchestrationProcessOkResponse = ResponseWithPagination<unknown>;
18
+ export type PutOrchestrationProcessOkResponse = ResponseWithPagination<UpdateOrchestrationProcessResponseResponse>;
18
19
  export type PutOrchestrationProcessErrorResponse = ErrorResponseResponse;
19
20
  export interface PutOrchestrationProcessProps extends PutOrchestrationProcessMutationPathParams, Omit<FetcherOptions<PutOrchestrationProcessMutationQueryParams, PutOrchestrationProcessRequestBody, PutOrchestrationProcessMutationHeaderParams>, 'url'> {
20
21
  queryParams: PutOrchestrationProcessMutationQueryParams;
@@ -12,6 +12,12 @@ export interface StartReleaseExecutionMutationQueryParams {
12
12
  export interface StartReleaseExecutionMutationHeaderParams {
13
13
  'Harness-Account': string;
14
14
  }
15
+ export type StartReleaseExecutionRequestBody = {
16
+ /**
17
+ * YAML configuration for release input
18
+ */
19
+ releaseInputYaml: string;
20
+ };
15
21
  export type StartReleaseExecutionOkResponse = ResponseWithPagination<{
16
22
  /**
17
23
  * Identifier of the started execution
@@ -23,8 +29,9 @@ export type StartReleaseExecutionOkResponse = ResponseWithPagination<{
23
29
  yaml: string;
24
30
  }>;
25
31
  export type StartReleaseExecutionErrorResponse = ErrorResponseResponse;
26
- export interface StartReleaseExecutionProps extends StartReleaseExecutionMutationPathParams, Omit<FetcherOptions<StartReleaseExecutionMutationQueryParams, unknown, StartReleaseExecutionMutationHeaderParams>, 'url'> {
32
+ export interface StartReleaseExecutionProps extends StartReleaseExecutionMutationPathParams, Omit<FetcherOptions<StartReleaseExecutionMutationQueryParams, StartReleaseExecutionRequestBody, StartReleaseExecutionMutationHeaderParams>, 'url'> {
27
33
  queryParams: StartReleaseExecutionMutationQueryParams;
34
+ body: StartReleaseExecutionRequestBody;
28
35
  }
29
36
  export declare function startReleaseExecution(props: StartReleaseExecutionProps): Promise<StartReleaseExecutionOkResponse>;
30
37
  /**