@harnessio/react-rmg-service-client 0.56.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 +2 -3
- package/dist/rmg-service/src/services/hooks/useDeleteReleaseMutation.js +1 -1
- 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 +7 -1
- package/dist/rmg-service/src/services/index.js +2 -0
- package/dist/rmg-service/src/services/schemas/WebhookPipeline.d.ts +6 -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
- package/dist/rmg-service/src/services/responses/DeleteReleaseResponseResponse.d.ts +0 -14
- /package/dist/rmg-service/src/services/{responses/DeleteReleaseResponseResponse.js → schemas/WebhookPipeline.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<
|
|
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
|
|
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
|
|
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
|
|
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
|
+
}
|
|
@@ -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';
|
|
@@ -331,4 +334,7 @@ export type { TimeRangeDto } from './schemas/TimeRangeDto';
|
|
|
331
334
|
export type { TriggerType } from './schemas/TriggerType';
|
|
332
335
|
export type { TriggeredByDto } from './schemas/TriggeredByDto';
|
|
333
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';
|
|
334
340
|
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';
|
|
@@ -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 {};
|
package/package.json
CHANGED
|
@@ -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
|
-
}
|
|
File without changes
|