@harnessio/react-rmg-service-client 0.56.0 → 0.58.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 (27) hide show
  1. package/dist/rmg-service/src/services/hooks/useDeleteReleaseMutation.d.ts +2 -3
  2. package/dist/rmg-service/src/services/hooks/useDeleteReleaseMutation.js +1 -1
  3. package/dist/rmg-service/src/services/hooks/useGetReportDownloadQuery.d.ts +1 -1
  4. package/dist/rmg-service/src/services/hooks/useGetReportDownloadQuery.js +1 -1
  5. package/dist/rmg-service/src/services/hooks/useGetYamlSchemaQuery.d.ts +22 -0
  6. package/dist/rmg-service/src/services/hooks/useGetYamlSchemaQuery.js +14 -0
  7. package/dist/rmg-service/src/services/hooks/usePostReleaseGroupReportGenerateMutation.d.ts +1 -1
  8. package/dist/rmg-service/src/services/hooks/usePostReleaseGroupReportGenerateMutation.js +1 -1
  9. package/dist/rmg-service/src/services/hooks/usePostReleaseReportGenerateMutation.d.ts +1 -1
  10. package/dist/rmg-service/src/services/hooks/usePostReleaseReportGenerateMutation.js +1 -1
  11. package/dist/rmg-service/src/services/hooks/useReceiveWebhookSignalMutation.d.ts +21 -0
  12. package/dist/rmg-service/src/services/hooks/useReceiveWebhookSignalMutation.js +15 -0
  13. package/dist/rmg-service/src/services/index.d.ts +8 -1
  14. package/dist/rmg-service/src/services/index.js +2 -0
  15. package/dist/rmg-service/src/services/schemas/ExecutionOutputDto.d.ts +4 -0
  16. package/dist/rmg-service/src/services/schemas/OrchestrationActivityYaml.d.ts +2 -1
  17. package/dist/rmg-service/src/services/schemas/OrchestrationPhaseYaml.d.ts +2 -1
  18. package/dist/rmg-service/src/services/schemas/OutputVariable.d.ts +14 -0
  19. package/dist/rmg-service/src/services/schemas/WebhookPipeline.d.ts +6 -0
  20. package/dist/rmg-service/src/services/schemas/WebhookPipeline.js +4 -0
  21. package/dist/rmg-service/src/services/schemas/WebhookSignalRequest.d.ts +14 -0
  22. package/dist/rmg-service/src/services/schemas/WebhookSignalRequest.js +1 -0
  23. package/dist/rmg-service/src/services/schemas/WebhookSignalResponse.d.ts +7 -0
  24. package/dist/rmg-service/src/services/schemas/WebhookSignalResponse.js +4 -0
  25. package/package.json +1 -1
  26. package/dist/rmg-service/src/services/responses/DeleteReleaseResponseResponse.d.ts +0 -14
  27. /package/dist/rmg-service/src/services/{responses/DeleteReleaseResponseResponse.js → schemas/OutputVariable.js} +0 -0
@@ -1,5 +1,4 @@
1
1
  import { UseMutationOptions } from '@tanstack/react-query';
2
- import type { DeleteReleaseResponseResponse } from '../responses/DeleteReleaseResponseResponse';
3
2
  import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
3
  import type { ResponseWithPagination } from '../helpers';
5
4
  import { FetcherOptions } from '../../../../fetcher/index.js';
@@ -13,13 +12,13 @@ export interface DeleteReleaseMutationQueryParams {
13
12
  export interface DeleteReleaseMutationHeaderParams {
14
13
  'Harness-Account': string;
15
14
  }
16
- export type DeleteReleaseOkResponse = ResponseWithPagination<DeleteReleaseResponseResponse>;
15
+ export type DeleteReleaseOkResponse = ResponseWithPagination<unknown>;
17
16
  export type DeleteReleaseErrorResponse = ErrorResponseResponse;
18
17
  export interface DeleteReleaseProps extends DeleteReleaseMutationPathParams, Omit<FetcherOptions<DeleteReleaseMutationQueryParams, unknown, DeleteReleaseMutationHeaderParams>, 'url'> {
19
18
  queryParams: DeleteReleaseMutationQueryParams;
20
19
  }
21
20
  export declare function deleteRelease(props: DeleteReleaseProps): Promise<DeleteReleaseOkResponse>;
22
21
  /**
23
- * Delete a release. For ADHOC releases, deletes both the release and its stub release group. For RECURRING releases, deletes only the release. The identifier can be either the slug_id or UUID of the release. Cannot delete releases in Running, Paused, or InputWaiting states.
22
+ * Delete a release. For ADHOC releases, deletes both the release and its stub release group. For RECURRING releases, deletes only the release. The identifier can be either the slug_id or UUID of the release. Only releases in Scheduled or InputWaiting state can be deleted. Cannot delete releases in Running or Paused states.
24
23
  */
25
24
  export declare function useDeleteReleaseMutation(options?: Omit<UseMutationOptions<DeleteReleaseOkResponse, DeleteReleaseErrorResponse, DeleteReleaseProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteReleaseOkResponse, import("..").Error, DeleteReleaseProps, unknown>;
@@ -7,7 +7,7 @@ export function deleteRelease(props) {
7
7
  return fetcher(Object.assign({ url: `/release/${props.releaseId}`, method: 'DELETE' }, props));
8
8
  }
9
9
  /**
10
- * Delete a release. For ADHOC releases, deletes both the release and its stub release group. For RECURRING releases, deletes only the release. The identifier can be either the slug_id or UUID of the release. Cannot delete releases in Running, Paused, or InputWaiting states.
10
+ * Delete a release. For ADHOC releases, deletes both the release and its stub release group. For RECURRING releases, deletes only the release. The identifier can be either the slug_id or UUID of the release. Only releases in Scheduled or InputWaiting state can be deleted. Cannot delete releases in Running or Paused states.
11
11
  */
12
12
  export function useDeleteReleaseMutation(options) {
13
13
  return useMutation((mutateProps) => deleteRelease(mutateProps), options);
@@ -19,6 +19,6 @@ export interface GetReportDownloadProps extends GetReportDownloadQueryPathParams
19
19
  }
20
20
  export declare function getReportDownload(props: GetReportDownloadProps): Promise<GetReportDownloadOkResponse>;
21
21
  /**
22
- * Download the generated CSV report. The report must be in COMPLETED status. Returns the CSV file as a binary download.
22
+ * Download the generated Excel report. The report must be in COMPLETED status. Returns the Excel file as a binary download.
23
23
  */
24
24
  export declare function useGetReportDownloadQuery(props: GetReportDownloadProps, options?: Omit<UseQueryOptions<GetReportDownloadOkResponse, GetReportDownloadErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetReportDownloadOkResponse, import("..").Error>;
@@ -7,7 +7,7 @@ export function getReportDownload(props) {
7
7
  return fetcher(Object.assign({ url: `/release/report/${props.reportId}/download`, method: 'GET' }, props));
8
8
  }
9
9
  /**
10
- * Download the generated CSV report. The report must be in COMPLETED status. Returns the CSV file as a binary download.
10
+ * Download the generated Excel report. The report must be in COMPLETED status. Returns the Excel file as a binary download.
11
11
  */
12
12
  export function useGetReportDownloadQuery(props, options) {
13
13
  return useQuery(['getReportDownload', props.reportId, props.queryParams], ({ signal }) => getReportDownload(Object.assign(Object.assign({}, props), { signal })), options);
@@ -0,0 +1,22 @@
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 GetYamlSchemaQueryQueryParams {
6
+ accountIdentifier: string;
7
+ orgIdentifier?: string;
8
+ projectIdentifier?: string;
9
+ entityType: 'PROCESS';
10
+ }
11
+ export type GetYamlSchemaOkResponse = ResponseWithPagination<{
12
+ [key: string]: any;
13
+ }>;
14
+ export type GetYamlSchemaErrorResponse = ErrorResponseResponse;
15
+ export interface GetYamlSchemaProps extends Omit<FetcherOptions<GetYamlSchemaQueryQueryParams, unknown>, 'url'> {
16
+ queryParams: GetYamlSchemaQueryQueryParams;
17
+ }
18
+ export declare function getYamlSchema(props: GetYamlSchemaProps): Promise<GetYamlSchemaOkResponse>;
19
+ /**
20
+ * Returns the JSON Schema for the specified entity type. Currently supports entityType=PROCESS.
21
+ */
22
+ export declare function useGetYamlSchemaQuery(props: GetYamlSchemaProps, options?: Omit<UseQueryOptions<GetYamlSchemaOkResponse, GetYamlSchemaErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetYamlSchemaOkResponse, 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 getYamlSchema(props) {
7
+ return fetcher(Object.assign({ url: `/yamlSchema`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Returns the JSON Schema for the specified entity type. Currently supports entityType=PROCESS.
11
+ */
12
+ export function useGetYamlSchemaQuery(props, options) {
13
+ return useQuery(['get-yamlSchema', props.queryParams], ({ signal }) => getYamlSchema(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -23,6 +23,6 @@ export interface PostReleaseGroupReportGenerateProps extends PostReleaseGroupRep
23
23
  }
24
24
  export declare function postReleaseGroupReportGenerate(props: PostReleaseGroupReportGenerateProps): Promise<PostReleaseGroupReportGenerateOkResponse>;
25
25
  /**
26
- * Generate a CSV report for all releases in a release group within a time period. The report generation is asynchronous and returns a report job ID that can be used to track status and download the report.
26
+ * Generate an Excel report for all releases in a release group within a time period. The report generation is asynchronous and returns a report job ID that can be used to track status and download the report.
27
27
  */
28
28
  export declare function usePostReleaseGroupReportGenerateMutation(options?: Omit<UseMutationOptions<PostReleaseGroupReportGenerateOkResponse, PostReleaseGroupReportGenerateErrorResponse, PostReleaseGroupReportGenerateProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<PostReleaseGroupReportGenerateOkResponse, import("..").Error, PostReleaseGroupReportGenerateProps, unknown>;
@@ -7,7 +7,7 @@ export function postReleaseGroupReportGenerate(props) {
7
7
  return fetcher(Object.assign({ url: `/releaseGroup/${props.releaseGroupId}/report/generate`, method: 'POST' }, props));
8
8
  }
9
9
  /**
10
- * Generate a CSV report for all releases in a release group within a time period. The report generation is asynchronous and returns a report job ID that can be used to track status and download the report.
10
+ * Generate an Excel report for all releases in a release group within a time period. The report generation is asynchronous and returns a report job ID that can be used to track status and download the report.
11
11
  */
12
12
  export function usePostReleaseGroupReportGenerateMutation(options) {
13
13
  return useMutation((mutateProps) => postReleaseGroupReportGenerate(mutateProps), options);
@@ -23,6 +23,6 @@ export interface PostReleaseReportGenerateProps extends PostReleaseReportGenerat
23
23
  }
24
24
  export declare function postReleaseReportGenerate(props: PostReleaseReportGenerateProps): Promise<PostReleaseReportGenerateOkResponse>;
25
25
  /**
26
- * Generate a CSV report for a specific release within a time period. The report generation is asynchronous and returns a report job ID that can be used to track status and download the report.
26
+ * Generate an Excel report for a specific release within a time period. The report generation is asynchronous and returns a report job ID that can be used to track status and download the report.
27
27
  */
28
28
  export declare function usePostReleaseReportGenerateMutation(options?: Omit<UseMutationOptions<PostReleaseReportGenerateOkResponse, PostReleaseReportGenerateErrorResponse, PostReleaseReportGenerateProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<PostReleaseReportGenerateOkResponse, import("..").Error, PostReleaseReportGenerateProps, unknown>;
@@ -7,7 +7,7 @@ export function postReleaseReportGenerate(props) {
7
7
  return fetcher(Object.assign({ url: `/release/${props.releaseId}/report/generate`, method: 'POST' }, props));
8
8
  }
9
9
  /**
10
- * Generate a CSV report for a specific release within a time period. The report generation is asynchronous and returns a report job ID that can be used to track status and download the report.
10
+ * Generate an Excel report for a specific release within a time period. The report generation is asynchronous and returns a report job ID that can be used to track status and download the report.
11
11
  */
12
12
  export function usePostReleaseReportGenerateMutation(options) {
13
13
  return useMutation((mutateProps) => postReleaseReportGenerate(mutateProps), options);
@@ -0,0 +1,21 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { WebhookSignalResponse } from '../schemas/WebhookSignalResponse';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { WebhookSignalRequest } from '../schemas/WebhookSignalRequest';
5
+ import type { ResponseWithPagination } from '../helpers';
6
+ import { FetcherOptions } from '../../../../fetcher/index.js';
7
+ export interface ReceiveWebhookSignalMutationHeaderParams {
8
+ 'Harness-Account': string;
9
+ }
10
+ export type ReceiveWebhookSignalRequestBody = WebhookSignalRequest;
11
+ export type ReceiveWebhookSignalOkResponse = ResponseWithPagination<WebhookSignalResponse>;
12
+ export type ReceiveWebhookSignalErrorResponse = ErrorResponseResponse;
13
+ export interface ReceiveWebhookSignalProps extends Omit<FetcherOptions<unknown, ReceiveWebhookSignalRequestBody, ReceiveWebhookSignalMutationHeaderParams>, 'url'> {
14
+ body: ReceiveWebhookSignalRequestBody;
15
+ }
16
+ export declare function receiveWebhookSignal(props: ReceiveWebhookSignalProps): Promise<ReceiveWebhookSignalOkResponse>;
17
+ /**
18
+ * Receive an inbound webhook signal from an external source (e.g. a pipeline execution completion event). Persists the signal as PENDING in the webhooks table and returns 200. Duplicate submissions with the same idempotencyKey are silently accepted (idempotent). Requires the RMG_ENABLE_WEBHOOK_QUEUE_SUPPORT feature flag to be enabled.
19
+ *
20
+ */
21
+ export declare function useReceiveWebhookSignalMutation(options?: Omit<UseMutationOptions<ReceiveWebhookSignalOkResponse, ReceiveWebhookSignalErrorResponse, ReceiveWebhookSignalProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ReceiveWebhookSignalOkResponse, import("..").Error, ReceiveWebhookSignalProps, unknown>;
@@ -0,0 +1,15 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useMutation } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function receiveWebhookSignal(props) {
7
+ return fetcher(Object.assign({ url: `/v1/webhook/signal`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Receive an inbound webhook signal from an external source (e.g. a pipeline execution completion event). Persists the signal as PENDING in the webhooks table and returns 200. Duplicate submissions with the same idempotencyKey are silently accepted (idempotent). Requires the RMG_ENABLE_WEBHOOK_QUEUE_SUPPORT feature flag to be enabled.
11
+ *
12
+ */
13
+ export function useReceiveWebhookSignalMutation(options) {
14
+ return useMutation((mutateProps) => receiveWebhookSignal(mutateProps), options);
15
+ }
@@ -85,6 +85,8 @@ export type { GetReportStatusErrorResponse, GetReportStatusOkResponse, GetReport
85
85
  export { getReportStatus, useGetReportStatusQuery } from './hooks/useGetReportStatusQuery';
86
86
  export type { GetTaskCommentsSummaryErrorResponse, GetTaskCommentsSummaryOkResponse, GetTaskCommentsSummaryProps, GetTaskCommentsSummaryQueryPathParams, GetTaskCommentsSummaryQueryQueryParams, } from './hooks/useGetTaskCommentsSummaryQuery';
87
87
  export { getTaskCommentsSummary, useGetTaskCommentsSummaryQuery, } from './hooks/useGetTaskCommentsSummaryQuery';
88
+ export type { GetYamlSchemaErrorResponse, GetYamlSchemaOkResponse, GetYamlSchemaProps, GetYamlSchemaQueryQueryParams, } from './hooks/useGetYamlSchemaQuery';
89
+ export { getYamlSchema, useGetYamlSchemaQuery } from './hooks/useGetYamlSchemaQuery';
88
90
  export type { PatchReleaseGroupErrorResponse, PatchReleaseGroupMutationPathParams, PatchReleaseGroupMutationQueryParams, PatchReleaseGroupOkResponse, PatchReleaseGroupProps, PatchReleaseGroupRequestBody, } from './hooks/usePatchReleaseGroupMutation';
89
91
  export { patchReleaseGroup, usePatchReleaseGroupMutation, } from './hooks/usePatchReleaseGroupMutation';
90
92
  export type { PostActivityExecutionOutputErrorResponse, PostActivityExecutionOutputMutationPathParams, PostActivityExecutionOutputMutationQueryParams, PostActivityExecutionOutputOkResponse, PostActivityExecutionOutputProps, PostActivityExecutionOutputRequestBody, } from './hooks/usePostActivityExecutionOutputMutation';
@@ -125,6 +127,8 @@ export type { PutReleaseGroupErrorResponse, PutReleaseGroupMutationPathParams, P
125
127
  export { putReleaseGroup, usePutReleaseGroupMutation } from './hooks/usePutReleaseGroupMutation';
126
128
  export type { PutReleaseReleaseIdErrorResponse, PutReleaseReleaseIdMutationPathParams, PutReleaseReleaseIdOkResponse, PutReleaseReleaseIdProps, PutReleaseReleaseIdRequestBody, } from './hooks/usePutReleaseReleaseIdMutation';
127
129
  export { putReleaseReleaseId, usePutReleaseReleaseIdMutation, } from './hooks/usePutReleaseReleaseIdMutation';
130
+ export type { ReceiveWebhookSignalErrorResponse, ReceiveWebhookSignalOkResponse, ReceiveWebhookSignalProps, ReceiveWebhookSignalRequestBody, } from './hooks/useReceiveWebhookSignalMutation';
131
+ export { receiveWebhookSignal, useReceiveWebhookSignalMutation, } from './hooks/useReceiveWebhookSignalMutation';
128
132
  export type { ServeUploadErrorResponse, ServeUploadOkResponse, ServeUploadProps, ServeUploadQueryPathParams, } from './hooks/useServeUploadQuery';
129
133
  export { serveUpload, useServeUploadQuery } from './hooks/useServeUploadQuery';
130
134
  export type { StartReleaseExecutionErrorResponse, StartReleaseExecutionMutationPathParams, StartReleaseExecutionMutationQueryParams, StartReleaseExecutionOkResponse, StartReleaseExecutionProps, StartReleaseExecutionRequestBody, } from './hooks/useStartReleaseExecutionMutation';
@@ -160,7 +164,6 @@ export type { CreateOrchestrationProcessResponseResponse } from './responses/Cre
160
164
  export type { CreateReleaseGroupResponseResponse } from './responses/CreateReleaseGroupResponseResponse';
161
165
  export type { CreateTaskCommentResponseResponse } from './responses/CreateTaskCommentResponseResponse';
162
166
  export type { DeleteReleaseGroupResponseResponse } from './responses/DeleteReleaseGroupResponseResponse';
163
- export type { DeleteReleaseResponseResponse } from './responses/DeleteReleaseResponseResponse';
164
167
  export type { EnvironmentDashboardResponseResponse } from './responses/EnvironmentDashboardResponseResponse';
165
168
  export type { EnvironmentListPerReleaseResponseResponse } from './responses/EnvironmentListPerReleaseResponseResponse';
166
169
  export type { ErrorResponseResponse } from './responses/ErrorResponseResponse';
@@ -280,6 +283,7 @@ export type { OrchestrationProcessDto } from './schemas/OrchestrationProcessDto'
280
283
  export type { OrchestrationProcessInputYaml } from './schemas/OrchestrationProcessInputYaml';
281
284
  export type { OrchestrationReleaseProcessYaml } from './schemas/OrchestrationReleaseProcessYaml';
282
285
  export type { OrchestrationStatus } from './schemas/OrchestrationStatus';
286
+ export type { OutputVariable } from './schemas/OutputVariable';
283
287
  export type { Pageable } from './schemas/Pageable';
284
288
  export type { PageableSort } from './schemas/PageableSort';
285
289
  export type { PhaseInputYaml } from './schemas/PhaseInputYaml';
@@ -331,4 +335,7 @@ export type { TimeRangeDto } from './schemas/TimeRangeDto';
331
335
  export type { TriggerType } from './schemas/TriggerType';
332
336
  export type { TriggeredByDto } from './schemas/TriggeredByDto';
333
337
  export type { User } from './schemas/User';
338
+ export type { WebhookPipeline } from './schemas/WebhookPipeline';
339
+ export type { WebhookSignalRequest } from './schemas/WebhookSignalRequest';
340
+ export type { WebhookSignalResponse } from './schemas/WebhookSignalResponse';
334
341
  export type { Weekday } from './schemas/Weekday';
@@ -41,6 +41,7 @@ export { getReleaseTasks, useGetReleaseTasksQuery } from './hooks/useGetReleaseT
41
41
  export { getReportDownload, useGetReportDownloadQuery } from './hooks/useGetReportDownloadQuery';
42
42
  export { getReportStatus, useGetReportStatusQuery } from './hooks/useGetReportStatusQuery';
43
43
  export { getTaskCommentsSummary, useGetTaskCommentsSummaryQuery, } from './hooks/useGetTaskCommentsSummaryQuery';
44
+ export { getYamlSchema, useGetYamlSchemaQuery } from './hooks/useGetYamlSchemaQuery';
44
45
  export { patchReleaseGroup, usePatchReleaseGroupMutation, } from './hooks/usePatchReleaseGroupMutation';
45
46
  export { postActivityExecutionOutput, usePostActivityExecutionOutputMutation, } from './hooks/usePostActivityExecutionOutputMutation';
46
47
  export { postOnHoldActivityAction, usePostOnHoldActivityActionMutation, } from './hooks/usePostOnHoldActivityActionMutation';
@@ -61,6 +62,7 @@ export { putOrchestrationProcessInput, usePutOrchestrationProcessInputMutation,
61
62
  export { putOrchestrationProcess, usePutOrchestrationProcessMutation, } from './hooks/usePutOrchestrationProcessMutation';
62
63
  export { putReleaseGroup, usePutReleaseGroupMutation } from './hooks/usePutReleaseGroupMutation';
63
64
  export { putReleaseReleaseId, usePutReleaseReleaseIdMutation, } from './hooks/usePutReleaseReleaseIdMutation';
65
+ export { receiveWebhookSignal, useReceiveWebhookSignalMutation, } from './hooks/useReceiveWebhookSignalMutation';
64
66
  export { serveUpload, useServeUploadQuery } from './hooks/useServeUploadQuery';
65
67
  export { startReleaseExecution, useStartReleaseExecutionMutation, } from './hooks/useStartReleaseExecutionMutation';
66
68
  export { updateExecutionTaskMetadata, useUpdateExecutionTaskMetadataMutation, } from './hooks/useUpdateExecutionTaskMetadataMutation';
@@ -3,6 +3,10 @@ import type { AnyValue } from '../schemas/AnyValue';
3
3
  * Output value for a phase execution
4
4
  */
5
5
  export interface ExecutionOutputDto {
6
+ /**
7
+ * Description of the output parameter
8
+ */
9
+ description?: string;
6
10
  /**
7
11
  * Name of the output parameter
8
12
  */
@@ -1,5 +1,6 @@
1
1
  import type { InputVariable } from '../schemas/InputVariable';
2
2
  import type { OrchestrationActivityManualYaml } from '../schemas/OrchestrationActivityManualYaml';
3
+ import type { OutputVariable } from '../schemas/OutputVariable';
3
4
  import type { OrchestrationActivityPipelineYaml } from '../schemas/OrchestrationActivityPipelineYaml';
4
5
  import type { OrchestrationActivitySubprocessYaml } from '../schemas/OrchestrationActivitySubprocessYaml';
5
6
  export interface OrchestrationActivityYaml {
@@ -27,7 +28,7 @@ export interface OrchestrationActivityYaml {
27
28
  * Outputs for the activity
28
29
  */
29
30
  outputs?: {
30
- [key: string]: string;
31
+ [key: string]: OutputVariable;
31
32
  };
32
33
  pipeline?: OrchestrationActivityPipelineYaml;
33
34
  process?: OrchestrationActivitySubprocessYaml;
@@ -1,4 +1,5 @@
1
1
  import type { OrchestrationActivityProcessYaml } from '../schemas/OrchestrationActivityProcessYaml';
2
+ import type { OutputVariable } from '../schemas/OutputVariable';
2
3
  export interface OrchestrationPhaseYaml {
3
4
  phase: {
4
5
  activities: OrchestrationActivityProcessYaml[];
@@ -26,7 +27,7 @@ export interface OrchestrationPhaseYaml {
26
27
  * Outputs for the phase
27
28
  */
28
29
  outputs?: {
29
- [key: string]: string;
30
+ [key: string]: OutputVariable;
30
31
  };
31
32
  /**
32
33
  * List of owner groups for the phase
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Output variable definition. Accepts either a plain string (legacy format) or an object with a `value` field and an optional `description` (new format).
3
+ *
4
+ */
5
+ export type OutputVariable = string | {
6
+ /**
7
+ * Human-readable description of the output variable.
8
+ */
9
+ description?: string;
10
+ /**
11
+ * The output value expression.
12
+ */
13
+ value: string;
14
+ };
@@ -0,0 +1,6 @@
1
+ export interface WebhookPipeline {
2
+ /**
3
+ * Pipeline identifier that acts as the webhook source.
4
+ */
5
+ identifier?: string;
6
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,14 @@
1
+ import type { WebhookPipeline } from '../schemas/WebhookPipeline';
2
+ export interface WebhookSignalRequest {
3
+ /**
4
+ * Unique key to ensure idempotent signal delivery.
5
+ */
6
+ idempotencyKey: string;
7
+ /**
8
+ * Optional arbitrary metadata payload from the webhook source.
9
+ */
10
+ metadata?: {
11
+ [key: string]: any;
12
+ };
13
+ pipeline?: WebhookPipeline;
14
+ }
@@ -0,0 +1,7 @@
1
+ export interface WebhookSignalResponse {
2
+ /**
3
+ * Acknowledgement status of the ingested signal.
4
+ * @example "accepted"
5
+ */
6
+ status: string;
7
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-rmg-service-client",
3
- "version": "0.56.0",
3
+ "version": "0.58.0",
4
4
  "description": "Harness Release Management Service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",
@@ -1,14 +0,0 @@
1
- export interface DeleteReleaseResponseResponse {
2
- /**
3
- * UUID of the deleted release
4
- */
5
- id: string;
6
- /**
7
- * Source of the deleted release (ADHOC or RECURRING)
8
- */
9
- source: string;
10
- /**
11
- * Indicates whether the deletion was successful
12
- */
13
- success: boolean;
14
- }