@harnessio/react-rmg-service-client 0.55.0 → 0.57.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/rmg-service/src/services/hooks/useDeleteReleaseMutation.d.ts +24 -0
- package/dist/rmg-service/src/services/hooks/useDeleteReleaseMutation.js +14 -0
- package/dist/rmg-service/src/services/hooks/useGetReportDownloadQuery.d.ts +1 -1
- package/dist/rmg-service/src/services/hooks/useGetReportDownloadQuery.js +1 -1
- package/dist/rmg-service/src/services/hooks/useGetYamlSchemaQuery.d.ts +22 -0
- package/dist/rmg-service/src/services/hooks/useGetYamlSchemaQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/usePostReleaseGroupReportGenerateMutation.d.ts +1 -1
- package/dist/rmg-service/src/services/hooks/usePostReleaseGroupReportGenerateMutation.js +1 -1
- package/dist/rmg-service/src/services/hooks/usePostReleaseReportGenerateMutation.d.ts +1 -1
- package/dist/rmg-service/src/services/hooks/usePostReleaseReportGenerateMutation.js +1 -1
- package/dist/rmg-service/src/services/hooks/useReceiveWebhookSignalMutation.d.ts +21 -0
- package/dist/rmg-service/src/services/hooks/useReceiveWebhookSignalMutation.js +15 -0
- package/dist/rmg-service/src/services/index.d.ts +9 -0
- package/dist/rmg-service/src/services/index.js +3 -0
- package/dist/rmg-service/src/services/schemas/ReleaseDto.d.ts +4 -0
- package/dist/rmg-service/src/services/schemas/WebhookPipeline.d.ts +6 -0
- package/dist/rmg-service/src/services/schemas/WebhookPipeline.js +4 -0
- package/dist/rmg-service/src/services/schemas/WebhookSignalRequest.d.ts +14 -0
- package/dist/rmg-service/src/services/schemas/WebhookSignalRequest.js +1 -0
- package/dist/rmg-service/src/services/schemas/WebhookSignalResponse.d.ts +7 -0
- package/dist/rmg-service/src/services/schemas/WebhookSignalResponse.js +4 -0
- package/package.json +1 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface DeleteReleaseMutationPathParams {
|
|
6
|
+
releaseId: string;
|
|
7
|
+
}
|
|
8
|
+
export interface DeleteReleaseMutationQueryParams {
|
|
9
|
+
orgIdentifier?: string;
|
|
10
|
+
projectIdentifier?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface DeleteReleaseMutationHeaderParams {
|
|
13
|
+
'Harness-Account': string;
|
|
14
|
+
}
|
|
15
|
+
export type DeleteReleaseOkResponse = ResponseWithPagination<unknown>;
|
|
16
|
+
export type DeleteReleaseErrorResponse = ErrorResponseResponse;
|
|
17
|
+
export interface DeleteReleaseProps extends DeleteReleaseMutationPathParams, Omit<FetcherOptions<DeleteReleaseMutationQueryParams, unknown, DeleteReleaseMutationHeaderParams>, 'url'> {
|
|
18
|
+
queryParams: DeleteReleaseMutationQueryParams;
|
|
19
|
+
}
|
|
20
|
+
export declare function deleteRelease(props: DeleteReleaseProps): Promise<DeleteReleaseOkResponse>;
|
|
21
|
+
/**
|
|
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.
|
|
23
|
+
*/
|
|
24
|
+
export declare function useDeleteReleaseMutation(options?: Omit<UseMutationOptions<DeleteReleaseOkResponse, DeleteReleaseErrorResponse, DeleteReleaseProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteReleaseOkResponse, import("..").Error, DeleteReleaseProps, 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 deleteRelease(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/release/${props.releaseId}`, method: 'DELETE' }, props));
|
|
8
|
+
}
|
|
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. Only releases in Scheduled or InputWaiting state can be deleted. Cannot delete releases in Running or Paused states.
|
|
11
|
+
*/
|
|
12
|
+
export function useDeleteReleaseMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => deleteRelease(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
+
}
|
|
@@ -9,6 +9,8 @@ export type { DeleteOrchestrationProcessErrorResponse, DeleteOrchestrationProces
|
|
|
9
9
|
export { deleteOrchestrationProcess, useDeleteOrchestrationProcessMutation, } from './hooks/useDeleteOrchestrationProcessMutation';
|
|
10
10
|
export type { DeleteReleaseGroupErrorResponse, DeleteReleaseGroupMutationPathParams, DeleteReleaseGroupMutationQueryParams, DeleteReleaseGroupOkResponse, DeleteReleaseGroupProps, } from './hooks/useDeleteReleaseGroupMutation';
|
|
11
11
|
export { deleteReleaseGroup, useDeleteReleaseGroupMutation, } from './hooks/useDeleteReleaseGroupMutation';
|
|
12
|
+
export type { DeleteReleaseErrorResponse, DeleteReleaseMutationPathParams, DeleteReleaseMutationQueryParams, DeleteReleaseOkResponse, DeleteReleaseProps, } from './hooks/useDeleteReleaseMutation';
|
|
13
|
+
export { deleteRelease, useDeleteReleaseMutation } from './hooks/useDeleteReleaseMutation';
|
|
12
14
|
export type { DeleteTaskCommentErrorResponse, DeleteTaskCommentMutationPathParams, DeleteTaskCommentMutationQueryParams, DeleteTaskCommentOkResponse, DeleteTaskCommentProps, } from './hooks/useDeleteTaskCommentMutation';
|
|
13
15
|
export { deleteTaskComment, useDeleteTaskCommentMutation, } from './hooks/useDeleteTaskCommentMutation';
|
|
14
16
|
export type { GetActivityRetryHistoryByIdentifiersErrorResponse, GetActivityRetryHistoryByIdentifiersOkResponse, GetActivityRetryHistoryByIdentifiersProps, GetActivityRetryHistoryByIdentifiersQueryPathParams, GetActivityRetryHistoryByIdentifiersQueryQueryParams, } from './hooks/useGetActivityRetryHistoryByIdentifiersQuery';
|
|
@@ -83,6 +85,8 @@ export type { GetReportStatusErrorResponse, GetReportStatusOkResponse, GetReport
|
|
|
83
85
|
export { getReportStatus, useGetReportStatusQuery } from './hooks/useGetReportStatusQuery';
|
|
84
86
|
export type { GetTaskCommentsSummaryErrorResponse, GetTaskCommentsSummaryOkResponse, GetTaskCommentsSummaryProps, GetTaskCommentsSummaryQueryPathParams, GetTaskCommentsSummaryQueryQueryParams, } from './hooks/useGetTaskCommentsSummaryQuery';
|
|
85
87
|
export { getTaskCommentsSummary, useGetTaskCommentsSummaryQuery, } from './hooks/useGetTaskCommentsSummaryQuery';
|
|
88
|
+
export type { GetYamlSchemaErrorResponse, GetYamlSchemaOkResponse, GetYamlSchemaProps, GetYamlSchemaQueryQueryParams, } from './hooks/useGetYamlSchemaQuery';
|
|
89
|
+
export { getYamlSchema, useGetYamlSchemaQuery } from './hooks/useGetYamlSchemaQuery';
|
|
86
90
|
export type { PatchReleaseGroupErrorResponse, PatchReleaseGroupMutationPathParams, PatchReleaseGroupMutationQueryParams, PatchReleaseGroupOkResponse, PatchReleaseGroupProps, PatchReleaseGroupRequestBody, } from './hooks/usePatchReleaseGroupMutation';
|
|
87
91
|
export { patchReleaseGroup, usePatchReleaseGroupMutation, } from './hooks/usePatchReleaseGroupMutation';
|
|
88
92
|
export type { PostActivityExecutionOutputErrorResponse, PostActivityExecutionOutputMutationPathParams, PostActivityExecutionOutputMutationQueryParams, PostActivityExecutionOutputOkResponse, PostActivityExecutionOutputProps, PostActivityExecutionOutputRequestBody, } from './hooks/usePostActivityExecutionOutputMutation';
|
|
@@ -123,6 +127,8 @@ export type { PutReleaseGroupErrorResponse, PutReleaseGroupMutationPathParams, P
|
|
|
123
127
|
export { putReleaseGroup, usePutReleaseGroupMutation } from './hooks/usePutReleaseGroupMutation';
|
|
124
128
|
export type { PutReleaseReleaseIdErrorResponse, PutReleaseReleaseIdMutationPathParams, PutReleaseReleaseIdOkResponse, PutReleaseReleaseIdProps, PutReleaseReleaseIdRequestBody, } from './hooks/usePutReleaseReleaseIdMutation';
|
|
125
129
|
export { putReleaseReleaseId, usePutReleaseReleaseIdMutation, } from './hooks/usePutReleaseReleaseIdMutation';
|
|
130
|
+
export type { ReceiveWebhookSignalErrorResponse, ReceiveWebhookSignalOkResponse, ReceiveWebhookSignalProps, ReceiveWebhookSignalRequestBody, } from './hooks/useReceiveWebhookSignalMutation';
|
|
131
|
+
export { receiveWebhookSignal, useReceiveWebhookSignalMutation, } from './hooks/useReceiveWebhookSignalMutation';
|
|
126
132
|
export type { ServeUploadErrorResponse, ServeUploadOkResponse, ServeUploadProps, ServeUploadQueryPathParams, } from './hooks/useServeUploadQuery';
|
|
127
133
|
export { serveUpload, useServeUploadQuery } from './hooks/useServeUploadQuery';
|
|
128
134
|
export type { StartReleaseExecutionErrorResponse, StartReleaseExecutionMutationPathParams, StartReleaseExecutionMutationQueryParams, StartReleaseExecutionOkResponse, StartReleaseExecutionProps, StartReleaseExecutionRequestBody, } from './hooks/useStartReleaseExecutionMutation';
|
|
@@ -328,4 +334,7 @@ export type { TimeRangeDto } from './schemas/TimeRangeDto';
|
|
|
328
334
|
export type { TriggerType } from './schemas/TriggerType';
|
|
329
335
|
export type { TriggeredByDto } from './schemas/TriggeredByDto';
|
|
330
336
|
export type { User } from './schemas/User';
|
|
337
|
+
export type { WebhookPipeline } from './schemas/WebhookPipeline';
|
|
338
|
+
export type { WebhookSignalRequest } from './schemas/WebhookSignalRequest';
|
|
339
|
+
export type { WebhookSignalResponse } from './schemas/WebhookSignalResponse';
|
|
331
340
|
export type { Weekday } from './schemas/Weekday';
|
|
@@ -3,6 +3,7 @@ export { deleteOrchestrationActivity, useDeleteOrchestrationActivityMutation, }
|
|
|
3
3
|
export { deleteOrchestrationProcessInput, useDeleteOrchestrationProcessInputMutation, } from './hooks/useDeleteOrchestrationProcessInputMutation';
|
|
4
4
|
export { deleteOrchestrationProcess, useDeleteOrchestrationProcessMutation, } from './hooks/useDeleteOrchestrationProcessMutation';
|
|
5
5
|
export { deleteReleaseGroup, useDeleteReleaseGroupMutation, } from './hooks/useDeleteReleaseGroupMutation';
|
|
6
|
+
export { deleteRelease, useDeleteReleaseMutation } from './hooks/useDeleteReleaseMutation';
|
|
6
7
|
export { deleteTaskComment, useDeleteTaskCommentMutation, } from './hooks/useDeleteTaskCommentMutation';
|
|
7
8
|
export { getActivityRetryHistoryByIdentifiers, useGetActivityRetryHistoryByIdentifiersQuery, } from './hooks/useGetActivityRetryHistoryByIdentifiersQuery';
|
|
8
9
|
export { getEventsByEntityTypeAndId, useGetEventsByEntityTypeAndIdQuery, } from './hooks/useGetEventsByEntityTypeAndIdQuery';
|
|
@@ -40,6 +41,7 @@ export { getReleaseTasks, useGetReleaseTasksQuery } from './hooks/useGetReleaseT
|
|
|
40
41
|
export { getReportDownload, useGetReportDownloadQuery } from './hooks/useGetReportDownloadQuery';
|
|
41
42
|
export { getReportStatus, useGetReportStatusQuery } from './hooks/useGetReportStatusQuery';
|
|
42
43
|
export { getTaskCommentsSummary, useGetTaskCommentsSummaryQuery, } from './hooks/useGetTaskCommentsSummaryQuery';
|
|
44
|
+
export { getYamlSchema, useGetYamlSchemaQuery } from './hooks/useGetYamlSchemaQuery';
|
|
43
45
|
export { patchReleaseGroup, usePatchReleaseGroupMutation, } from './hooks/usePatchReleaseGroupMutation';
|
|
44
46
|
export { postActivityExecutionOutput, usePostActivityExecutionOutputMutation, } from './hooks/usePostActivityExecutionOutputMutation';
|
|
45
47
|
export { postOnHoldActivityAction, usePostOnHoldActivityActionMutation, } from './hooks/usePostOnHoldActivityActionMutation';
|
|
@@ -60,6 +62,7 @@ export { putOrchestrationProcessInput, usePutOrchestrationProcessInputMutation,
|
|
|
60
62
|
export { putOrchestrationProcess, usePutOrchestrationProcessMutation, } from './hooks/usePutOrchestrationProcessMutation';
|
|
61
63
|
export { putReleaseGroup, usePutReleaseGroupMutation } from './hooks/usePutReleaseGroupMutation';
|
|
62
64
|
export { putReleaseReleaseId, usePutReleaseReleaseIdMutation, } from './hooks/usePutReleaseReleaseIdMutation';
|
|
65
|
+
export { receiveWebhookSignal, useReceiveWebhookSignalMutation, } from './hooks/useReceiveWebhookSignalMutation';
|
|
63
66
|
export { serveUpload, useServeUploadQuery } from './hooks/useServeUploadQuery';
|
|
64
67
|
export { startReleaseExecution, useStartReleaseExecutionMutation, } from './hooks/useStartReleaseExecutionMutation';
|
|
65
68
|
export { updateExecutionTaskMetadata, useUpdateExecutionTaskMetadataMutation, } from './hooks/useUpdateExecutionTaskMetadataMutation';
|
|
@@ -47,6 +47,10 @@ export interface ReleaseDto {
|
|
|
47
47
|
* Identifier for the release group
|
|
48
48
|
*/
|
|
49
49
|
releaseGroupId: string;
|
|
50
|
+
/**
|
|
51
|
+
* Source of the release (ADHOC for ad hoc releases, RECURRING for scheduled releases)
|
|
52
|
+
*/
|
|
53
|
+
source?: 'ADHOC' | 'RECURRING';
|
|
50
54
|
/**
|
|
51
55
|
* Current status of the release
|
|
52
56
|
*/
|
|
@@ -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 @@
|
|
|
1
|
+
export {};
|