@harnessio/react-rmg-service-client 0.65.1-beta.0 → 0.66.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 (34) hide show
  1. package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionActivitiesPaginatedQuery.d.ts +1 -1
  2. package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessExecutionsQuery.d.ts +1 -2
  3. package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessSummaryQuery.d.ts +1 -0
  4. package/dist/rmg-service/src/services/index.d.ts +1 -14
  5. package/dist/rmg-service/src/services/index.js +0 -3
  6. package/dist/rmg-service/src/services/schemas/ExecutionTaskDto.d.ts +2 -0
  7. package/dist/rmg-service/src/services/schemas/ManualTaskYaml.d.ts +2 -0
  8. package/dist/rmg-service/src/services/schemas/ManualTaskYaml.js +0 -3
  9. package/dist/rmg-service/src/services/schemas/MatchedSignalExecutionSummaryDto.d.ts +0 -4
  10. package/dist/rmg-service/src/services/schemas/OrchestrationStatus.d.ts +1 -1
  11. package/dist/rmg-service/src/services/schemas/TaskExecuteConfig.d.ts +10 -0
  12. package/package.json +1 -1
  13. package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionActivityOutputsV2Query.d.ts +0 -28
  14. package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionActivityOutputsV2Query.js +0 -20
  15. package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionPhaseOutputsV2Query.d.ts +0 -27
  16. package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionPhaseOutputsV2Query.js +0 -19
  17. package/dist/rmg-service/src/services/hooks/usePostWebhookQueueActionMutation.d.ts +0 -28
  18. package/dist/rmg-service/src/services/hooks/usePostWebhookQueueActionMutation.js +0 -14
  19. package/dist/rmg-service/src/services/requestBodies/WebhookQueueActionRequestRequestBody.d.ts +0 -2
  20. package/dist/rmg-service/src/services/requestBodies/WebhookQueueActionRequestRequestBody.js +0 -1
  21. package/dist/rmg-service/src/services/responses/ExecutionOutputsV2ResponseResponse.d.ts +0 -7
  22. package/dist/rmg-service/src/services/responses/ExecutionOutputsV2ResponseResponse.js +0 -1
  23. package/dist/rmg-service/src/services/responses/WebhookQueueActionResponseResponse.d.ts +0 -2
  24. package/dist/rmg-service/src/services/responses/WebhookQueueActionResponseResponse.js +0 -1
  25. package/dist/rmg-service/src/services/schemas/ExecutionOutputGroupDto.d.ts +0 -16
  26. package/dist/rmg-service/src/services/schemas/ExecutionOutputGroupDto.js +0 -1
  27. package/dist/rmg-service/src/services/schemas/ExecutionOutputV2Dto.d.ts +0 -13
  28. package/dist/rmg-service/src/services/schemas/OrchestrationStatusList.d.ts +0 -5
  29. package/dist/rmg-service/src/services/schemas/OrchestrationStatusList.js +0 -1
  30. package/dist/rmg-service/src/services/schemas/WebhookQueueActionRequest.d.ts +0 -10
  31. package/dist/rmg-service/src/services/schemas/WebhookQueueActionRequest.js +0 -4
  32. package/dist/rmg-service/src/services/schemas/WebhookQueueActionResponse.d.ts +0 -10
  33. package/dist/rmg-service/src/services/schemas/WebhookQueueActionResponse.js +0 -4
  34. /package/dist/rmg-service/src/services/schemas/{ExecutionOutputV2Dto.js → TaskExecuteConfig.js} +0 -0
@@ -12,7 +12,7 @@ export interface GetOrchestrationExecutionActivitiesPaginatedQueryQueryParams {
12
12
  page?: number;
13
13
  size?: number;
14
14
  sort?: string[];
15
- status?: Array<'ABORTED' | 'FAILED' | 'IGNORED' | 'ON_HOLD' | 'OUTPUT_WAITING' | 'QUEUED' | 'RETRIED' | 'RUNNING' | 'SCHEDULED' | 'SKIPPED' | 'SUCCEEDED'>;
15
+ status?: Array<'ABORTED' | 'FAILED' | 'IGNORED' | 'ON_HOLD' | 'OUTPUT_WAITING' | 'PIPELINE_WAITING_FOR_USER_ACTION' | 'QUEUED' | 'RETRIED' | 'RUNNING' | 'SCHEDULED' | 'SKIPPED' | 'SUCCEEDED'>;
16
16
  type?: Array<'MANUAL' | 'PIPELINE' | 'SUBPROCESS'>;
17
17
  phaseIdentifier?: string;
18
18
  /**
@@ -1,7 +1,6 @@
1
1
  import { UseQueryOptions } from '@tanstack/react-query';
2
2
  import type { ProcessExecutionDto } from '../schemas/ProcessExecutionDto';
3
3
  import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
- import type { OrchestrationStatusList } from '../schemas/OrchestrationStatusList';
5
4
  import type { ResponseWithPagination } from '../helpers';
6
5
  import { FetcherOptions } from '../../../../fetcher/index.js';
7
6
  export interface GetOrchestrationProcessExecutionsQueryPathParams {
@@ -14,7 +13,7 @@ export interface GetOrchestrationProcessExecutionsQueryQueryParams {
14
13
  size?: number;
15
14
  sort?: string[];
16
15
  executionType?: 'PROCESS' | 'RELEASE';
17
- statuses?: OrchestrationStatusList;
16
+ statuses?: Array<'ABORTED' | 'FAILED' | 'IGNORED' | 'ON_HOLD' | 'OUTPUT_WAITING' | 'PIPELINE_WAITING_FOR_USER_ACTION' | 'QUEUED' | 'RETRIED' | 'RUNNING' | 'SCHEDULED' | 'SKIPPED' | 'SUCCEEDED'>;
18
17
  /**
19
18
  * @format int64
20
19
  */
@@ -10,6 +10,7 @@ export interface GetOrchestrationProcessSummaryQueryQueryParams {
10
10
  page?: number;
11
11
  size?: number;
12
12
  sort?: string[];
13
+ processIdentifiers?: string[];
13
14
  }
14
15
  export interface GetOrchestrationProcessSummaryQueryHeaderParams {
15
16
  'Harness-Account': string;
@@ -51,14 +51,10 @@ export type { GetOrchestrationExecutionActivityInputsErrorResponse, GetOrchestra
51
51
  export { getOrchestrationExecutionActivityInputs, useGetOrchestrationExecutionActivityInputsQuery, } from './hooks/useGetOrchestrationExecutionActivityInputsQuery';
52
52
  export type { GetOrchestrationExecutionActivityOutputsErrorResponse, GetOrchestrationExecutionActivityOutputsOkResponse, GetOrchestrationExecutionActivityOutputsProps, GetOrchestrationExecutionActivityOutputsQueryPathParams, GetOrchestrationExecutionActivityOutputsQueryQueryParams, } from './hooks/useGetOrchestrationExecutionActivityOutputsQuery';
53
53
  export { getOrchestrationExecutionActivityOutputs, useGetOrchestrationExecutionActivityOutputsQuery, } from './hooks/useGetOrchestrationExecutionActivityOutputsQuery';
54
- export type { GetOrchestrationExecutionActivityOutputsV2ErrorResponse, GetOrchestrationExecutionActivityOutputsV2OkResponse, GetOrchestrationExecutionActivityOutputsV2Props, GetOrchestrationExecutionActivityOutputsV2QueryPathParams, GetOrchestrationExecutionActivityOutputsV2QueryQueryParams, } from './hooks/useGetOrchestrationExecutionActivityOutputsV2Query';
55
- export { getOrchestrationExecutionActivityOutputsV2, useGetOrchestrationExecutionActivityOutputsV2Query, } from './hooks/useGetOrchestrationExecutionActivityOutputsV2Query';
56
54
  export type { GetOrchestrationExecutionActivityErrorResponse, GetOrchestrationExecutionActivityOkResponse, GetOrchestrationExecutionActivityProps, GetOrchestrationExecutionActivityQueryPathParams, GetOrchestrationExecutionActivityQueryQueryParams, } from './hooks/useGetOrchestrationExecutionActivityQuery';
57
55
  export { getOrchestrationExecutionActivity, useGetOrchestrationExecutionActivityQuery, } from './hooks/useGetOrchestrationExecutionActivityQuery';
58
56
  export type { GetOrchestrationExecutionPhaseOutputsErrorResponse, GetOrchestrationExecutionPhaseOutputsOkResponse, GetOrchestrationExecutionPhaseOutputsProps, GetOrchestrationExecutionPhaseOutputsQueryPathParams, GetOrchestrationExecutionPhaseOutputsQueryQueryParams, } from './hooks/useGetOrchestrationExecutionPhaseOutputsQuery';
59
57
  export { getOrchestrationExecutionPhaseOutputs, useGetOrchestrationExecutionPhaseOutputsQuery, } from './hooks/useGetOrchestrationExecutionPhaseOutputsQuery';
60
- export type { GetOrchestrationExecutionPhaseOutputsV2ErrorResponse, GetOrchestrationExecutionPhaseOutputsV2OkResponse, GetOrchestrationExecutionPhaseOutputsV2Props, GetOrchestrationExecutionPhaseOutputsV2QueryPathParams, GetOrchestrationExecutionPhaseOutputsV2QueryQueryParams, } from './hooks/useGetOrchestrationExecutionPhaseOutputsV2Query';
61
- export { getOrchestrationExecutionPhaseOutputsV2, useGetOrchestrationExecutionPhaseOutputsV2Query, } from './hooks/useGetOrchestrationExecutionPhaseOutputsV2Query';
62
58
  export type { GetOrchestrationExecutionPhasesErrorResponse, GetOrchestrationExecutionPhasesOkResponse, GetOrchestrationExecutionPhasesProps, GetOrchestrationExecutionPhasesQueryPathParams, GetOrchestrationExecutionPhasesQueryQueryParams, } from './hooks/useGetOrchestrationExecutionPhasesQuery';
63
59
  export { getOrchestrationExecutionPhases, useGetOrchestrationExecutionPhasesQuery, } from './hooks/useGetOrchestrationExecutionPhasesQuery';
64
60
  export type { GetOrchestrationExecutionReleaseInputErrorResponse, GetOrchestrationExecutionReleaseInputOkResponse, GetOrchestrationExecutionReleaseInputProps, GetOrchestrationExecutionReleaseInputQueryPathParams, GetOrchestrationExecutionReleaseInputQueryQueryParams, } from './hooks/useGetOrchestrationExecutionReleaseInputQuery';
@@ -157,8 +153,6 @@ export type { PostReleaseSubprocessTriggerErrorResponse, PostReleaseSubprocessTr
157
153
  export { postReleaseSubprocessTrigger, usePostReleaseSubprocessTriggerMutation, } from './hooks/usePostReleaseSubprocessTriggerMutation';
158
154
  export type { PostReleaseSummaryErrorResponse, PostReleaseSummaryMutationQueryParams, PostReleaseSummaryOkResponse, PostReleaseSummaryProps, PostReleaseSummaryRequestBody, } from './hooks/usePostReleaseSummaryMutation';
159
155
  export { postReleaseSummary, usePostReleaseSummaryMutation, } from './hooks/usePostReleaseSummaryMutation';
160
- export type { PostWebhookQueueActionErrorResponse, PostWebhookQueueActionMutationPathParams, PostWebhookQueueActionMutationQueryParams, PostWebhookQueueActionOkResponse, PostWebhookQueueActionProps, PostWebhookQueueActionRequestBody, } from './hooks/usePostWebhookQueueActionMutation';
161
- export { postWebhookQueueAction, usePostWebhookQueueActionMutation, } from './hooks/usePostWebhookQueueActionMutation';
162
156
  export type { PutOrchestrationActivityErrorResponse, PutOrchestrationActivityMutationPathParams, PutOrchestrationActivityMutationQueryParams, PutOrchestrationActivityOkResponse, PutOrchestrationActivityProps, PutOrchestrationActivityRequestBody, } from './hooks/usePutOrchestrationActivityMutation';
163
157
  export { putOrchestrationActivity, usePutOrchestrationActivityMutation, } from './hooks/usePutOrchestrationActivityMutation';
164
158
  export type { PutOrchestrationProcessInputErrorResponse, PutOrchestrationProcessInputMutationPathParams, PutOrchestrationProcessInputMutationQueryParams, PutOrchestrationProcessInputOkResponse, PutOrchestrationProcessInputProps, PutOrchestrationProcessInputRequestBody, } from './hooks/usePutOrchestrationProcessInputMutation';
@@ -202,7 +196,6 @@ export type { UpdateOrchestrationProcessInputRequestRequestBody } from './reques
202
196
  export type { UpdateOrchestrationProcessRequestRequestBody } from './requestBodies/UpdateOrchestrationProcessRequestRequestBody';
203
197
  export type { UpdateReleaseGroupRequestRequestBody } from './requestBodies/UpdateReleaseGroupRequestRequestBody';
204
198
  export type { UpdateReleaseRequestRequestBody } from './requestBodies/UpdateReleaseRequestRequestBody';
205
- export type { WebhookQueueActionRequestRequestBody } from './requestBodies/WebhookQueueActionRequestRequestBody';
206
199
  export type { ActivityExecutionInputsResponseResponse } from './responses/ActivityExecutionInputsResponseResponse';
207
200
  export type { ActivityInputsResponseResponse } from './responses/ActivityInputsResponseResponse';
208
201
  export type { CreateAdHocReleaseResponseResponse } from './responses/CreateAdHocReleaseResponseResponse';
@@ -218,7 +211,6 @@ export type { ErrorResponseResponse } from './responses/ErrorResponseResponse';
218
211
  export type { EventsResponseResponse } from './responses/EventsResponseResponse';
219
212
  export type { ExecuteProcessResponseResponse } from './responses/ExecuteProcessResponseResponse';
220
213
  export type { ExecutionOutputsResponseResponse } from './responses/ExecutionOutputsResponseResponse';
221
- export type { ExecutionOutputsV2ResponseResponse } from './responses/ExecutionOutputsV2ResponseResponse';
222
214
  export type { ExecutionTasksListResponseResponse } from './responses/ExecutionTasksListResponseResponse';
223
215
  export type { FreezeDetailsResponseResponse } from './responses/FreezeDetailsResponseResponse';
224
216
  export type { FreezeListResponseResponse } from './responses/FreezeListResponseResponse';
@@ -260,7 +252,6 @@ export type { UpdateReleaseResponseResponse } from './responses/UpdateReleaseRes
260
252
  export type { UpdateTaskCommentResponseResponse } from './responses/UpdateTaskCommentResponseResponse';
261
253
  export type { ValidateOrchestrationProcessInputResponseResponse } from './responses/ValidateOrchestrationProcessInputResponseResponse';
262
254
  export type { WebhookMatchedSignalExecutionSummaryListResponseResponse } from './responses/WebhookMatchedSignalExecutionSummaryListResponseResponse';
263
- export type { WebhookQueueActionResponseResponse } from './responses/WebhookQueueActionResponseResponse';
264
255
  export type { AbortedBy } from './schemas/AbortedBy';
265
256
  export type { AcrArtifactMetadata } from './schemas/AcrArtifactMetadata';
266
257
  export type { ActivityCounts } from './schemas/ActivityCounts';
@@ -316,8 +307,6 @@ export type { EventType } from './schemas/EventType';
316
307
  export type { ExecuteProcessResponseDto } from './schemas/ExecuteProcessResponseDto';
317
308
  export type { ExecutionConflict } from './schemas/ExecutionConflict';
318
309
  export type { ExecutionOutputDto } from './schemas/ExecutionOutputDto';
319
- export type { ExecutionOutputGroupDto } from './schemas/ExecutionOutputGroupDto';
320
- export type { ExecutionOutputV2Dto } from './schemas/ExecutionOutputV2Dto';
321
310
  export type { ExecutionTaskDto } from './schemas/ExecutionTaskDto';
322
311
  export type { ExecutionTaskStatus } from './schemas/ExecutionTaskStatus';
323
312
  export type { ExecutionTriggerInfo } from './schemas/ExecutionTriggerInfo';
@@ -371,7 +360,6 @@ export type { OrchestrationProcessDto } from './schemas/OrchestrationProcessDto'
371
360
  export type { OrchestrationProcessInputYaml } from './schemas/OrchestrationProcessInputYaml';
372
361
  export type { OrchestrationReleaseProcessYaml } from './schemas/OrchestrationReleaseProcessYaml';
373
362
  export type { OrchestrationStatus } from './schemas/OrchestrationStatus';
374
- export type { OrchestrationStatusList } from './schemas/OrchestrationStatusList';
375
363
  export type { OutputVariable } from './schemas/OutputVariable';
376
364
  export type { Pageable } from './schemas/Pageable';
377
365
  export type { PageableSort } from './schemas/PageableSort';
@@ -427,6 +415,7 @@ export type { SubprocessTriggerRequest } from './schemas/SubprocessTriggerReques
427
415
  export type { SubprocessTriggerResponse } from './schemas/SubprocessTriggerResponse';
428
416
  export type { TaskCommentDto } from './schemas/TaskCommentDto';
429
417
  export type { TaskCommentsListResponseDto } from './schemas/TaskCommentsListResponseDto';
418
+ export type { TaskExecuteConfig } from './schemas/TaskExecuteConfig';
430
419
  export type { TemplateReferenceSummary } from './schemas/TemplateReferenceSummary';
431
420
  export type { TimeRangeDto } from './schemas/TimeRangeDto';
432
421
  export type { TriggerType } from './schemas/TriggerType';
@@ -439,8 +428,6 @@ export type { User } from './schemas/User';
439
428
  export type { WebhookErrorResponse } from './schemas/WebhookErrorResponse';
440
429
  export type { WebhookEventType } from './schemas/WebhookEventType';
441
430
  export type { WebhookMetadataResponse } from './schemas/WebhookMetadataResponse';
442
- export type { WebhookQueueActionRequest } from './schemas/WebhookQueueActionRequest';
443
- export type { WebhookQueueActionResponse } from './schemas/WebhookQueueActionResponse';
444
431
  export type { WebhookSignalPipeline } from './schemas/WebhookSignalPipeline';
445
432
  export type { WebhookSignalRequest } from './schemas/WebhookSignalRequest';
446
433
  export type { WebhookSignalResponse } from './schemas/WebhookSignalResponse';
@@ -24,10 +24,8 @@ export { getOrchestrationExecutionActivitiesPaginated, useGetOrchestrationExecut
24
24
  export { getOrchestrationExecutionActivities, useGetOrchestrationExecutionActivitiesQuery, } from './hooks/useGetOrchestrationExecutionActivitiesQuery';
25
25
  export { getOrchestrationExecutionActivityInputs, useGetOrchestrationExecutionActivityInputsQuery, } from './hooks/useGetOrchestrationExecutionActivityInputsQuery';
26
26
  export { getOrchestrationExecutionActivityOutputs, useGetOrchestrationExecutionActivityOutputsQuery, } from './hooks/useGetOrchestrationExecutionActivityOutputsQuery';
27
- export { getOrchestrationExecutionActivityOutputsV2, useGetOrchestrationExecutionActivityOutputsV2Query, } from './hooks/useGetOrchestrationExecutionActivityOutputsV2Query';
28
27
  export { getOrchestrationExecutionActivity, useGetOrchestrationExecutionActivityQuery, } from './hooks/useGetOrchestrationExecutionActivityQuery';
29
28
  export { getOrchestrationExecutionPhaseOutputs, useGetOrchestrationExecutionPhaseOutputsQuery, } from './hooks/useGetOrchestrationExecutionPhaseOutputsQuery';
30
- export { getOrchestrationExecutionPhaseOutputsV2, useGetOrchestrationExecutionPhaseOutputsV2Query, } from './hooks/useGetOrchestrationExecutionPhaseOutputsV2Query';
31
29
  export { getOrchestrationExecutionPhases, useGetOrchestrationExecutionPhasesQuery, } from './hooks/useGetOrchestrationExecutionPhasesQuery';
32
30
  export { getOrchestrationExecutionReleaseInput, useGetOrchestrationExecutionReleaseInputQuery, } from './hooks/useGetOrchestrationExecutionReleaseInputQuery';
33
31
  export { getOrchestrationExecutionTasks, useGetOrchestrationExecutionTasksQuery, } from './hooks/useGetOrchestrationExecutionTasksQuery';
@@ -77,7 +75,6 @@ export { postReleaseList, usePostReleaseListMutation } from './hooks/usePostRele
77
75
  export { postReleaseReportGenerate, usePostReleaseReportGenerateMutation, } from './hooks/usePostReleaseReportGenerateMutation';
78
76
  export { postReleaseSubprocessTrigger, usePostReleaseSubprocessTriggerMutation, } from './hooks/usePostReleaseSubprocessTriggerMutation';
79
77
  export { postReleaseSummary, usePostReleaseSummaryMutation, } from './hooks/usePostReleaseSummaryMutation';
80
- export { postWebhookQueueAction, usePostWebhookQueueActionMutation, } from './hooks/usePostWebhookQueueActionMutation';
81
78
  export { putOrchestrationActivity, usePutOrchestrationActivityMutation, } from './hooks/usePutOrchestrationActivityMutation';
82
79
  export { putOrchestrationProcessInput, usePutOrchestrationProcessInputMutation, } from './hooks/usePutOrchestrationProcessInputMutation';
83
80
  export { putOrchestrationProcess, usePutOrchestrationProcessMutation, } from './hooks/usePutOrchestrationProcessMutation';
@@ -1,3 +1,4 @@
1
+ import type { TaskExecuteConfig } from '../schemas/TaskExecuteConfig';
1
2
  import type { FailureInfo } from '../schemas/FailureInfo';
2
3
  import type { StringOrBool } from '../schemas/StringOrBool';
3
4
  import type { ExecutionTaskStatus } from '../schemas/ExecutionTaskStatus';
@@ -19,6 +20,7 @@ export interface ExecutionTaskDto {
19
20
  * Description of the task
20
21
  */
21
22
  description?: string;
23
+ execute?: TaskExecuteConfig;
22
24
  /**
23
25
  * Expected duration for the task (e.g., "1d 12h")
24
26
  */
@@ -1,3 +1,4 @@
1
+ import type { TaskExecuteConfig } from '../schemas/TaskExecuteConfig';
1
2
  /**
2
3
  * Manual task configuration
3
4
  */
@@ -10,6 +11,7 @@ export interface ManualTaskYaml {
10
11
  * Expected duration for the task (e.g., "1w", "1d", "2h", "1d 12h")
11
12
  */
12
13
  duration: string;
14
+ execute?: TaskExecuteConfig;
13
15
  /**
14
16
  * Unique identifier for the manual task
15
17
  */
@@ -1,4 +1 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
1
  export {};
@@ -2,10 +2,6 @@ import type { PipelineExecutionSummaryDto } from '../schemas/PipelineExecutionSu
2
2
  export interface MatchedSignalExecutionSummaryDto {
3
3
  executionSummary: PipelineExecutionSummaryDto;
4
4
  hasPipelineViewAccess: boolean;
5
- /**
6
- * Status of the matched signal.
7
- */
8
- status: 'NOT_SELECTED' | 'SELECTED';
9
5
  /**
10
6
  * Webhook slug identifier for fetching webhook metadata.
11
7
  */
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * Status of orchestration execution activities
3
3
  */
4
- export type OrchestrationStatus = 'ABORTED' | 'FAILED' | 'IGNORED' | 'ON_HOLD' | 'OUTPUT_WAITING' | 'QUEUED' | 'RETRIED' | 'RUNNING' | 'SCHEDULED' | 'SKIPPED' | 'SUCCEEDED';
4
+ export type OrchestrationStatus = 'ABORTED' | 'FAILED' | 'IGNORED' | 'ON_HOLD' | 'OUTPUT_WAITING' | 'PIPELINE_WAITING_FOR_USER_ACTION' | 'QUEUED' | 'RETRIED' | 'RUNNING' | 'SCHEDULED' | 'SKIPPED' | 'SUCCEEDED';
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Configuration for subprocess execution from a manual task
3
+ */
4
+ export interface TaskExecuteConfig {
5
+ /**
6
+ * Either the literal string "all" (any process can be triggered), the literal string "none" (no process can be triggered), or an array of whitelisted process identifiers.
7
+ *
8
+ */
9
+ processes: 'all' | 'none' | string[];
10
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-rmg-service-client",
3
- "version": "0.65.1-beta.0",
3
+ "version": "0.66.0",
4
4
  "description": "Harness Release Management Service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",
@@ -1,28 +0,0 @@
1
- import { UseQueryOptions } from '@tanstack/react-query';
2
- import type { ExecutionOutputsV2ResponseResponse } from '../responses/ExecutionOutputsV2ResponseResponse';
3
- import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
- import type { ResponseWithPagination } from '../helpers';
5
- import { FetcherOptions } from '../../../../fetcher/index.js';
6
- export interface GetOrchestrationExecutionActivityOutputsV2QueryPathParams {
7
- releaseId: string;
8
- phaseIdentifier: string;
9
- activityIdentifier: string;
10
- }
11
- export interface GetOrchestrationExecutionActivityOutputsV2QueryQueryParams {
12
- activityExecutionId?: string;
13
- orgIdentifier?: string;
14
- projectIdentifier?: string;
15
- }
16
- export interface GetOrchestrationExecutionActivityOutputsV2QueryHeaderParams {
17
- 'Harness-Account': string;
18
- }
19
- export type GetOrchestrationExecutionActivityOutputsV2OkResponse = ResponseWithPagination<ExecutionOutputsV2ResponseResponse>;
20
- export type GetOrchestrationExecutionActivityOutputsV2ErrorResponse = ErrorResponseResponse;
21
- export interface GetOrchestrationExecutionActivityOutputsV2Props extends GetOrchestrationExecutionActivityOutputsV2QueryPathParams, Omit<FetcherOptions<GetOrchestrationExecutionActivityOutputsV2QueryQueryParams, unknown, GetOrchestrationExecutionActivityOutputsV2QueryHeaderParams>, 'url'> {
22
- queryParams: GetOrchestrationExecutionActivityOutputsV2QueryQueryParams;
23
- }
24
- export declare function getOrchestrationExecutionActivityOutputsV2(props: GetOrchestrationExecutionActivityOutputsV2Props): Promise<GetOrchestrationExecutionActivityOutputsV2OkResponse>;
25
- /**
26
- * Retrieve grouped output values for a specific activity execution (v2 format)
27
- */
28
- export declare function useGetOrchestrationExecutionActivityOutputsV2Query(props: GetOrchestrationExecutionActivityOutputsV2Props, options?: Omit<UseQueryOptions<GetOrchestrationExecutionActivityOutputsV2OkResponse, GetOrchestrationExecutionActivityOutputsV2ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetOrchestrationExecutionActivityOutputsV2OkResponse, import("..").Error>;
@@ -1,20 +0,0 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
- import { useQuery } from '@tanstack/react-query';
5
- import { fetcher } from '../../../../fetcher/index.js';
6
- export function getOrchestrationExecutionActivityOutputsV2(props) {
7
- return fetcher(Object.assign({ url: `/orchestration/execution/release/${props.releaseId}/phase/${props.phaseIdentifier}/activity/${props.activityIdentifier}/output/v2`, method: 'GET' }, props));
8
- }
9
- /**
10
- * Retrieve grouped output values for a specific activity execution (v2 format)
11
- */
12
- export function useGetOrchestrationExecutionActivityOutputsV2Query(props, options) {
13
- return useQuery([
14
- 'get-orchestration-execution-activity-outputs-v2',
15
- props.releaseId,
16
- props.phaseIdentifier,
17
- props.activityIdentifier,
18
- props.queryParams,
19
- ], ({ signal }) => getOrchestrationExecutionActivityOutputsV2(Object.assign(Object.assign({}, props), { signal })), options);
20
- }
@@ -1,27 +0,0 @@
1
- import { UseQueryOptions } from '@tanstack/react-query';
2
- import type { ExecutionOutputsV2ResponseResponse } from '../responses/ExecutionOutputsV2ResponseResponse';
3
- import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
- import type { ResponseWithPagination } from '../helpers';
5
- import { FetcherOptions } from '../../../../fetcher/index.js';
6
- export interface GetOrchestrationExecutionPhaseOutputsV2QueryPathParams {
7
- releaseId: string;
8
- phaseIdentifier: string;
9
- }
10
- export interface GetOrchestrationExecutionPhaseOutputsV2QueryQueryParams {
11
- phaseExecutionId?: string;
12
- orgIdentifier?: string;
13
- projectIdentifier?: string;
14
- }
15
- export interface GetOrchestrationExecutionPhaseOutputsV2QueryHeaderParams {
16
- 'Harness-Account': string;
17
- }
18
- export type GetOrchestrationExecutionPhaseOutputsV2OkResponse = ResponseWithPagination<ExecutionOutputsV2ResponseResponse>;
19
- export type GetOrchestrationExecutionPhaseOutputsV2ErrorResponse = ErrorResponseResponse;
20
- export interface GetOrchestrationExecutionPhaseOutputsV2Props extends GetOrchestrationExecutionPhaseOutputsV2QueryPathParams, Omit<FetcherOptions<GetOrchestrationExecutionPhaseOutputsV2QueryQueryParams, unknown, GetOrchestrationExecutionPhaseOutputsV2QueryHeaderParams>, 'url'> {
21
- queryParams: GetOrchestrationExecutionPhaseOutputsV2QueryQueryParams;
22
- }
23
- export declare function getOrchestrationExecutionPhaseOutputsV2(props: GetOrchestrationExecutionPhaseOutputsV2Props): Promise<GetOrchestrationExecutionPhaseOutputsV2OkResponse>;
24
- /**
25
- * Retrieve grouped output values for a specific phase execution (v2 format)
26
- */
27
- export declare function useGetOrchestrationExecutionPhaseOutputsV2Query(props: GetOrchestrationExecutionPhaseOutputsV2Props, options?: Omit<UseQueryOptions<GetOrchestrationExecutionPhaseOutputsV2OkResponse, GetOrchestrationExecutionPhaseOutputsV2ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetOrchestrationExecutionPhaseOutputsV2OkResponse, import("..").Error>;
@@ -1,19 +0,0 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
- import { useQuery } from '@tanstack/react-query';
5
- import { fetcher } from '../../../../fetcher/index.js';
6
- export function getOrchestrationExecutionPhaseOutputsV2(props) {
7
- return fetcher(Object.assign({ url: `/orchestration/execution/release/${props.releaseId}/phase/${props.phaseIdentifier}/output/v2`, method: 'GET' }, props));
8
- }
9
- /**
10
- * Retrieve grouped output values for a specific phase execution (v2 format)
11
- */
12
- export function useGetOrchestrationExecutionPhaseOutputsV2Query(props, options) {
13
- return useQuery([
14
- 'get-orchestration-execution-phase-outputs-v2',
15
- props.releaseId,
16
- props.phaseIdentifier,
17
- props.queryParams,
18
- ], ({ signal }) => getOrchestrationExecutionPhaseOutputsV2(Object.assign(Object.assign({}, props), { signal })), options);
19
- }
@@ -1,28 +0,0 @@
1
- import { UseMutationOptions } from '@tanstack/react-query';
2
- import type { WebhookQueueActionResponseResponse } from '../responses/WebhookQueueActionResponseResponse';
3
- import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
- import type { WebhookQueueActionRequestRequestBody } from '../requestBodies/WebhookQueueActionRequestRequestBody';
5
- import type { ResponseWithPagination } from '../helpers';
6
- import { FetcherOptions } from '../../../../fetcher/index.js';
7
- export interface PostWebhookQueueActionMutationPathParams {
8
- activityExecutionId: string;
9
- }
10
- export interface PostWebhookQueueActionMutationQueryParams {
11
- orgIdentifier?: string;
12
- projectIdentifier?: string;
13
- }
14
- export interface PostWebhookQueueActionMutationHeaderParams {
15
- 'Harness-Account': string;
16
- }
17
- export type PostWebhookQueueActionRequestBody = WebhookQueueActionRequestRequestBody;
18
- export type PostWebhookQueueActionOkResponse = ResponseWithPagination<WebhookQueueActionResponseResponse>;
19
- export type PostWebhookQueueActionErrorResponse = ErrorResponseResponse;
20
- export interface PostWebhookQueueActionProps extends PostWebhookQueueActionMutationPathParams, Omit<FetcherOptions<PostWebhookQueueActionMutationQueryParams, PostWebhookQueueActionRequestBody, PostWebhookQueueActionMutationHeaderParams>, 'url'> {
21
- queryParams: PostWebhookQueueActionMutationQueryParams;
22
- body: PostWebhookQueueActionRequestBody;
23
- }
24
- export declare function postWebhookQueueAction(props: PostWebhookQueueActionProps): Promise<PostWebhookQueueActionOkResponse>;
25
- /**
26
- * Publishes an APPROVE or REJECT action for the webhook activity queue. Processing is async via Kafka.
27
- */
28
- export declare function usePostWebhookQueueActionMutation(options?: Omit<UseMutationOptions<PostWebhookQueueActionOkResponse, PostWebhookQueueActionErrorResponse, PostWebhookQueueActionProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<PostWebhookQueueActionOkResponse, import("..").Error, PostWebhookQueueActionProps, unknown>;
@@ -1,14 +0,0 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
- import { useMutation } from '@tanstack/react-query';
5
- import { fetcher } from '../../../../fetcher/index.js';
6
- export function postWebhookQueueAction(props) {
7
- return fetcher(Object.assign({ url: `/v1/webhook/${props.activityExecutionId}/queue/action`, method: 'POST' }, props));
8
- }
9
- /**
10
- * Publishes an APPROVE or REJECT action for the webhook activity queue. Processing is async via Kafka.
11
- */
12
- export function usePostWebhookQueueActionMutation(options) {
13
- return useMutation((mutateProps) => postWebhookQueueAction(mutateProps), options);
14
- }
@@ -1,2 +0,0 @@
1
- import type { WebhookQueueActionRequest } from '../schemas/WebhookQueueActionRequest';
2
- export type WebhookQueueActionRequestRequestBody = WebhookQueueActionRequest;
@@ -1,7 +0,0 @@
1
- import type { ExecutionOutputGroupDto } from '../schemas/ExecutionOutputGroupDto';
2
- export interface ExecutionOutputsV2ResponseResponse {
3
- /**
4
- * List of output groups; one entry per webhook signal (or one entry for phase/manual outputs)
5
- */
6
- values: ExecutionOutputGroupDto[];
7
- }
@@ -1,2 +0,0 @@
1
- import type { WebhookQueueActionResponse } from '../schemas/WebhookQueueActionResponse';
2
- export type WebhookQueueActionResponseResponse = WebhookQueueActionResponse;
@@ -1,16 +0,0 @@
1
- import type { ExecutionOutputV2Dto } from '../schemas/ExecutionOutputV2Dto';
2
- /**
3
- * A group of output entries from one webhook signal or execution, with extensible metadata
4
- */
5
- export interface ExecutionOutputGroupDto {
6
- /**
7
- * Reserved for future extension; always present, currently empty
8
- */
9
- metadata: {
10
- [key: string]: any;
11
- };
12
- /**
13
- * List of output name/value pairs for this group
14
- */
15
- output: ExecutionOutputV2Dto[];
16
- }
@@ -1,13 +0,0 @@
1
- /**
2
- * A single name/value output entry (v2)
3
- */
4
- export interface ExecutionOutputV2Dto {
5
- /**
6
- * Name of the output parameter
7
- */
8
- name: string;
9
- /**
10
- * Value of the output parameter (always a string in v2)
11
- */
12
- value: string;
13
- }
@@ -1,5 +0,0 @@
1
- import type { OrchestrationStatus } from '../schemas/OrchestrationStatus';
2
- /**
3
- * List of orchestration execution activity statuses
4
- */
5
- export type OrchestrationStatusList = OrchestrationStatus[];
@@ -1,10 +0,0 @@
1
- export interface WebhookQueueActionRequest {
2
- /**
3
- * The action to perform on the webhook queue. APPROVE resumes the activity as succeeded with the selected webhook outputs.
4
- */
5
- action: 'APPROVE';
6
- /**
7
- * List of webhook IDs to approve. Empty array resumes the activity with no outputs.
8
- */
9
- webhookIds?: string[];
10
- }
@@ -1,4 +0,0 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
- export {};
@@ -1,10 +0,0 @@
1
- export interface WebhookQueueActionResponse {
2
- /**
3
- * The action that was performed
4
- */
5
- action?: string;
6
- /**
7
- * The ID of the activity execution
8
- */
9
- activityExecutionId?: string;
10
- }
@@ -1,4 +0,0 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
- export {};