@harnessio/react-rmg-service-client 0.26.0 → 0.28.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/useGetOrchestrationExecutionActivityInputsQuery.d.ts +25 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionActivityInputsQuery.js +14 -0
- package/dist/rmg-service/src/services/index.d.ts +5 -0
- package/dist/rmg-service/src/services/index.js +1 -0
- package/dist/rmg-service/src/services/responses/ActivityExecutionInputsResponseResponse.d.ts +7 -0
- package/dist/rmg-service/src/services/responses/ActivityExecutionInputsResponseResponse.js +1 -0
- package/dist/rmg-service/src/services/schemas/ActivityExecutionInputDto.d.ts +18 -0
- package/dist/rmg-service/src/services/schemas/ActivityExecutionInputDto.js +1 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationExecutionActivity.d.ts +2 -0
- package/dist/rmg-service/src/services/schemas/PipelineActivityInfo.d.ts +9 -0
- package/dist/rmg-service/src/services/schemas/PipelineActivityInfo.js +4 -0
- package/package.json +1 -1
package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionActivityInputsQuery.d.ts
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ActivityExecutionInputsResponseResponse } from '../responses/ActivityExecutionInputsResponseResponse';
|
|
3
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface GetOrchestrationExecutionActivityInputsQueryPathParams {
|
|
7
|
+
activityId: string;
|
|
8
|
+
}
|
|
9
|
+
export interface GetOrchestrationExecutionActivityInputsQueryQueryParams {
|
|
10
|
+
orgIdentifier?: string;
|
|
11
|
+
projectIdentifier?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface GetOrchestrationExecutionActivityInputsQueryHeaderParams {
|
|
14
|
+
'Harness-Account': string;
|
|
15
|
+
}
|
|
16
|
+
export type GetOrchestrationExecutionActivityInputsOkResponse = ResponseWithPagination<ActivityExecutionInputsResponseResponse>;
|
|
17
|
+
export type GetOrchestrationExecutionActivityInputsErrorResponse = ErrorResponseResponse;
|
|
18
|
+
export interface GetOrchestrationExecutionActivityInputsProps extends GetOrchestrationExecutionActivityInputsQueryPathParams, Omit<FetcherOptions<GetOrchestrationExecutionActivityInputsQueryQueryParams, unknown, GetOrchestrationExecutionActivityInputsQueryHeaderParams>, 'url'> {
|
|
19
|
+
queryParams: GetOrchestrationExecutionActivityInputsQueryQueryParams;
|
|
20
|
+
}
|
|
21
|
+
export declare function getOrchestrationExecutionActivityInputs(props: GetOrchestrationExecutionActivityInputsProps): Promise<GetOrchestrationExecutionActivityInputsOkResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* Retrieve input values for a specific activity execution
|
|
24
|
+
*/
|
|
25
|
+
export declare function useGetOrchestrationExecutionActivityInputsQuery(props: GetOrchestrationExecutionActivityInputsProps, options?: Omit<UseQueryOptions<GetOrchestrationExecutionActivityInputsOkResponse, GetOrchestrationExecutionActivityInputsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetOrchestrationExecutionActivityInputsOkResponse, import("..").Error>;
|
package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionActivityInputsQuery.js
ADDED
|
@@ -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 getOrchestrationExecutionActivityInputs(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/orchestration/execution/activity/${props.activityId}/input`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Retrieve input values for a specific activity execution
|
|
11
|
+
*/
|
|
12
|
+
export function useGetOrchestrationExecutionActivityInputsQuery(props, options) {
|
|
13
|
+
return useQuery(['get-orchestration-execution-activity-inputs', props.activityId, props.queryParams], ({ signal }) => getOrchestrationExecutionActivityInputs(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -21,6 +21,8 @@ export type { GetOrchestrationActivitySummaryErrorResponse, GetOrchestrationActi
|
|
|
21
21
|
export { getOrchestrationActivitySummary, useGetOrchestrationActivitySummaryQuery, } from './hooks/useGetOrchestrationActivitySummaryQuery';
|
|
22
22
|
export type { GetOrchestrationExecutionActivitiesErrorResponse, GetOrchestrationExecutionActivitiesOkResponse, GetOrchestrationExecutionActivitiesProps, GetOrchestrationExecutionActivitiesQueryPathParams, GetOrchestrationExecutionActivitiesQueryQueryParams, } from './hooks/useGetOrchestrationExecutionActivitiesQuery';
|
|
23
23
|
export { getOrchestrationExecutionActivities, useGetOrchestrationExecutionActivitiesQuery, } from './hooks/useGetOrchestrationExecutionActivitiesQuery';
|
|
24
|
+
export type { GetOrchestrationExecutionActivityInputsErrorResponse, GetOrchestrationExecutionActivityInputsOkResponse, GetOrchestrationExecutionActivityInputsProps, GetOrchestrationExecutionActivityInputsQueryPathParams, GetOrchestrationExecutionActivityInputsQueryQueryParams, } from './hooks/useGetOrchestrationExecutionActivityInputsQuery';
|
|
25
|
+
export { getOrchestrationExecutionActivityInputs, useGetOrchestrationExecutionActivityInputsQuery, } from './hooks/useGetOrchestrationExecutionActivityInputsQuery';
|
|
24
26
|
export type { GetOrchestrationExecutionPhasesErrorResponse, GetOrchestrationExecutionPhasesOkResponse, GetOrchestrationExecutionPhasesProps, GetOrchestrationExecutionPhasesQueryPathParams, GetOrchestrationExecutionPhasesQueryQueryParams, } from './hooks/useGetOrchestrationExecutionPhasesQuery';
|
|
25
27
|
export { getOrchestrationExecutionPhases, useGetOrchestrationExecutionPhasesQuery, } from './hooks/useGetOrchestrationExecutionPhasesQuery';
|
|
26
28
|
export type { GetOrchestrationExecutionTasksErrorResponse, GetOrchestrationExecutionTasksOkResponse, GetOrchestrationExecutionTasksProps, GetOrchestrationExecutionTasksQueryPathParams, GetOrchestrationExecutionTasksQueryQueryParams, } from './hooks/useGetOrchestrationExecutionTasksQuery';
|
|
@@ -98,6 +100,7 @@ export type { UpdateOrchestrationProcessInputRequestRequestBody } from './reques
|
|
|
98
100
|
export type { UpdateOrchestrationProcessRequestRequestBody } from './requestBodies/UpdateOrchestrationProcessRequestRequestBody';
|
|
99
101
|
export type { UpdateReleaseGroupRequestRequestBody } from './requestBodies/UpdateReleaseGroupRequestRequestBody';
|
|
100
102
|
export type { UpdateReleaseRequestRequestBody } from './requestBodies/UpdateReleaseRequestRequestBody';
|
|
103
|
+
export type { ActivityExecutionInputsResponseResponse } from './responses/ActivityExecutionInputsResponseResponse';
|
|
101
104
|
export type { ActivityInputsResponseResponse } from './responses/ActivityInputsResponseResponse';
|
|
102
105
|
export type { CreateOrchestrationActivityResponseResponse } from './responses/CreateOrchestrationActivityResponseResponse';
|
|
103
106
|
export type { CreateOrchestrationProcessInputResponseResponse } from './responses/CreateOrchestrationProcessInputResponseResponse';
|
|
@@ -137,6 +140,7 @@ export type { UpdateReleaseConflictResponseResponse } from './responses/UpdateRe
|
|
|
137
140
|
export type { UpdateReleaseGroupResponseResponse } from './responses/UpdateReleaseGroupResponseResponse';
|
|
138
141
|
export type { UpdateReleaseResponseResponse } from './responses/UpdateReleaseResponseResponse';
|
|
139
142
|
export type { UpdateTaskCommentResponseResponse } from './responses/UpdateTaskCommentResponseResponse';
|
|
143
|
+
export type { ActivityExecutionInputDto } from './schemas/ActivityExecutionInputDto';
|
|
140
144
|
export type { ActivityInputYaml } from './schemas/ActivityInputYaml';
|
|
141
145
|
export type { ActivityInputsResponse } from './schemas/ActivityInputsResponse';
|
|
142
146
|
export type { ActivityType } from './schemas/ActivityType';
|
|
@@ -182,6 +186,7 @@ export type { Pageable } from './schemas/Pageable';
|
|
|
182
186
|
export type { PageableSort } from './schemas/PageableSort';
|
|
183
187
|
export type { PhaseInputYaml } from './schemas/PhaseInputYaml';
|
|
184
188
|
export type { PhaseReleaseInputYaml } from './schemas/PhaseReleaseInputYaml';
|
|
189
|
+
export type { PipelineActivityInfo } from './schemas/PipelineActivityInfo';
|
|
185
190
|
export type { ProcessInputSummaryDto } from './schemas/ProcessInputSummaryDto';
|
|
186
191
|
export type { ReleaseActivity } from './schemas/ReleaseActivity';
|
|
187
192
|
export type { ReleaseApprovalDto } from './schemas/ReleaseApprovalDto';
|
|
@@ -9,6 +9,7 @@ export { getOrchestrationActivityInputs, useGetOrchestrationActivityInputsQuery,
|
|
|
9
9
|
export { getOrchestrationActivity, useGetOrchestrationActivityQuery, } from './hooks/useGetOrchestrationActivityQuery';
|
|
10
10
|
export { getOrchestrationActivitySummary, useGetOrchestrationActivitySummaryQuery, } from './hooks/useGetOrchestrationActivitySummaryQuery';
|
|
11
11
|
export { getOrchestrationExecutionActivities, useGetOrchestrationExecutionActivitiesQuery, } from './hooks/useGetOrchestrationExecutionActivitiesQuery';
|
|
12
|
+
export { getOrchestrationExecutionActivityInputs, useGetOrchestrationExecutionActivityInputsQuery, } from './hooks/useGetOrchestrationExecutionActivityInputsQuery';
|
|
12
13
|
export { getOrchestrationExecutionPhases, useGetOrchestrationExecutionPhasesQuery, } from './hooks/useGetOrchestrationExecutionPhasesQuery';
|
|
13
14
|
export { getOrchestrationExecutionTasks, useGetOrchestrationExecutionTasksQuery, } from './hooks/useGetOrchestrationExecutionTasksQuery';
|
|
14
15
|
export { getOrchestrationProcessInput, useGetOrchestrationProcessInputQuery, } from './hooks/useGetOrchestrationProcessInputQuery';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { InputVariableType } from '../schemas/InputVariableType';
|
|
2
|
+
/**
|
|
3
|
+
* Input value for an activity execution
|
|
4
|
+
*/
|
|
5
|
+
export interface ActivityExecutionInputDto {
|
|
6
|
+
/**
|
|
7
|
+
* Name of the input parameter
|
|
8
|
+
*/
|
|
9
|
+
name: string;
|
|
10
|
+
/**
|
|
11
|
+
* Type of the input parameter
|
|
12
|
+
*/
|
|
13
|
+
type: InputVariableType;
|
|
14
|
+
/**
|
|
15
|
+
* Value of the input parameter
|
|
16
|
+
*/
|
|
17
|
+
value: string;
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { PipelineActivityInfo } from '../schemas/PipelineActivityInfo';
|
|
1
2
|
import type { Status } from '../schemas/Status';
|
|
2
3
|
/**
|
|
3
4
|
* Represents an activity in the orchestration execution
|
|
@@ -28,6 +29,7 @@ export interface OrchestrationExecutionActivity {
|
|
|
28
29
|
* Name of the activity
|
|
29
30
|
*/
|
|
30
31
|
name: string;
|
|
32
|
+
pipeline?: PipelineActivityInfo;
|
|
31
33
|
/**
|
|
32
34
|
* Start timestamp in milliseconds
|
|
33
35
|
* @format int64
|