@harnessio/react-rmg-service-client 0.47.0 → 0.48.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 (26) hide show
  1. package/dist/rmg-service/src/services/hooks/useGetReportDownloadQuery.d.ts +24 -0
  2. package/dist/rmg-service/src/services/hooks/useGetReportDownloadQuery.js +14 -0
  3. package/dist/rmg-service/src/services/hooks/useGetReportStatusQuery.d.ts +25 -0
  4. package/dist/rmg-service/src/services/hooks/useGetReportStatusQuery.js +14 -0
  5. package/dist/rmg-service/src/services/hooks/usePostReleaseGroupReportGenerateMutation.d.ts +28 -0
  6. package/dist/rmg-service/src/services/hooks/usePostReleaseGroupReportGenerateMutation.js +14 -0
  7. package/dist/rmg-service/src/services/hooks/usePostReleaseReportGenerateMutation.d.ts +28 -0
  8. package/dist/rmg-service/src/services/hooks/usePostReleaseReportGenerateMutation.js +14 -0
  9. package/dist/rmg-service/src/services/index.d.ts +14 -0
  10. package/dist/rmg-service/src/services/index.js +4 -0
  11. package/dist/rmg-service/src/services/responses/ReportGenerationResponseResponse.d.ts +2 -0
  12. package/dist/rmg-service/src/services/responses/ReportGenerationResponseResponse.js +1 -0
  13. package/dist/rmg-service/src/services/responses/ReportStatusResponseResponse.d.ts +2 -0
  14. package/dist/rmg-service/src/services/responses/ReportStatusResponseResponse.js +1 -0
  15. package/dist/rmg-service/src/services/schemas/ManualActivityInfo.d.ts +10 -0
  16. package/dist/rmg-service/src/services/schemas/ManualActivityInfo.js +4 -0
  17. package/dist/rmg-service/src/services/schemas/OrchestrationExecutionActivityPaginated.d.ts +5 -0
  18. package/dist/rmg-service/src/services/schemas/PipelineActivityInfo.d.ts +4 -0
  19. package/dist/rmg-service/src/services/schemas/ReportGenerationRequest.d.ts +12 -0
  20. package/dist/rmg-service/src/services/schemas/ReportGenerationRequest.js +4 -0
  21. package/dist/rmg-service/src/services/schemas/ReportGenerationResponse.d.ts +4 -0
  22. package/dist/rmg-service/src/services/schemas/ReportGenerationResponse.js +4 -0
  23. package/dist/rmg-service/src/services/schemas/ReportStatusResponse.d.ts +14 -0
  24. package/dist/rmg-service/src/services/schemas/ReportStatusResponse.js +4 -0
  25. package/dist/rmg-service/src/services/schemas/SubprocessActivityInfo.d.ts +4 -0
  26. package/package.json +1 -1
@@ -0,0 +1,24 @@
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 GetReportDownloadQueryPathParams {
6
+ reportId: string;
7
+ }
8
+ export interface GetReportDownloadQueryQueryParams {
9
+ orgIdentifier?: string;
10
+ projectIdentifier?: string;
11
+ }
12
+ export interface GetReportDownloadQueryHeaderParams {
13
+ 'Harness-Account': string;
14
+ }
15
+ export type GetReportDownloadOkResponse = ResponseWithPagination<unknown>;
16
+ export type GetReportDownloadErrorResponse = ErrorResponseResponse;
17
+ export interface GetReportDownloadProps extends GetReportDownloadQueryPathParams, Omit<FetcherOptions<GetReportDownloadQueryQueryParams, unknown, GetReportDownloadQueryHeaderParams>, 'url'> {
18
+ queryParams: GetReportDownloadQueryQueryParams;
19
+ }
20
+ export declare function getReportDownload(props: GetReportDownloadProps): Promise<GetReportDownloadOkResponse>;
21
+ /**
22
+ * Download the generated CSV report. The report must be in COMPLETED status. Returns the CSV file as a binary download.
23
+ */
24
+ export declare function useGetReportDownloadQuery(props: GetReportDownloadProps, options?: Omit<UseQueryOptions<GetReportDownloadOkResponse, GetReportDownloadErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetReportDownloadOkResponse, 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 getReportDownload(props) {
7
+ return fetcher(Object.assign({ url: `/release/report/${props.reportId}/download`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Download the generated CSV report. The report must be in COMPLETED status. Returns the CSV file as a binary download.
11
+ */
12
+ export function useGetReportDownloadQuery(props, options) {
13
+ return useQuery(['getReportDownload', props.reportId, props.queryParams], ({ signal }) => getReportDownload(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,25 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ReportStatusResponseResponse } from '../responses/ReportStatusResponseResponse';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface GetReportStatusQueryPathParams {
7
+ reportId: string;
8
+ }
9
+ export interface GetReportStatusQueryQueryParams {
10
+ orgIdentifier?: string;
11
+ projectIdentifier?: string;
12
+ }
13
+ export interface GetReportStatusQueryHeaderParams {
14
+ 'Harness-Account': string;
15
+ }
16
+ export type GetReportStatusOkResponse = ResponseWithPagination<ReportStatusResponseResponse>;
17
+ export type GetReportStatusErrorResponse = ErrorResponseResponse;
18
+ export interface GetReportStatusProps extends GetReportStatusQueryPathParams, Omit<FetcherOptions<GetReportStatusQueryQueryParams, unknown, GetReportStatusQueryHeaderParams>, 'url'> {
19
+ queryParams: GetReportStatusQueryQueryParams;
20
+ }
21
+ export declare function getReportStatus(props: GetReportStatusProps): Promise<GetReportStatusOkResponse>;
22
+ /**
23
+ * Get the status of a report generation job. Returns the current status, timestamps, and error information if the job failed.
24
+ */
25
+ export declare function useGetReportStatusQuery(props: GetReportStatusProps, options?: Omit<UseQueryOptions<GetReportStatusOkResponse, GetReportStatusErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetReportStatusOkResponse, 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 getReportStatus(props) {
7
+ return fetcher(Object.assign({ url: `/release/report/${props.reportId}/status`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Get the status of a report generation job. Returns the current status, timestamps, and error information if the job failed.
11
+ */
12
+ export function useGetReportStatusQuery(props, options) {
13
+ return useQuery(['getReportStatus', props.reportId, props.queryParams], ({ signal }) => getReportStatus(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,28 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ReportGenerationResponseResponse } from '../responses/ReportGenerationResponseResponse';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { ReportGenerationRequest } from '../schemas/ReportGenerationRequest';
5
+ import type { ResponseWithPagination } from '../helpers';
6
+ import { FetcherOptions } from '../../../../fetcher/index.js';
7
+ export interface PostReleaseGroupReportGenerateMutationPathParams {
8
+ releaseGroupId: string;
9
+ }
10
+ export interface PostReleaseGroupReportGenerateMutationQueryParams {
11
+ orgIdentifier?: string;
12
+ projectIdentifier?: string;
13
+ }
14
+ export interface PostReleaseGroupReportGenerateMutationHeaderParams {
15
+ 'Harness-Account': string;
16
+ }
17
+ export type PostReleaseGroupReportGenerateRequestBody = ReportGenerationRequest;
18
+ export type PostReleaseGroupReportGenerateOkResponse = ResponseWithPagination<ReportGenerationResponseResponse>;
19
+ export type PostReleaseGroupReportGenerateErrorResponse = ErrorResponseResponse;
20
+ export interface PostReleaseGroupReportGenerateProps extends PostReleaseGroupReportGenerateMutationPathParams, Omit<FetcherOptions<PostReleaseGroupReportGenerateMutationQueryParams, PostReleaseGroupReportGenerateRequestBody, PostReleaseGroupReportGenerateMutationHeaderParams>, 'url'> {
21
+ queryParams: PostReleaseGroupReportGenerateMutationQueryParams;
22
+ body: PostReleaseGroupReportGenerateRequestBody;
23
+ }
24
+ export declare function postReleaseGroupReportGenerate(props: PostReleaseGroupReportGenerateProps): Promise<PostReleaseGroupReportGenerateOkResponse>;
25
+ /**
26
+ * Generate a CSV report for all releases in a release group within a time period. The report generation is asynchronous and returns a report job ID that can be used to track status and download the report.
27
+ */
28
+ export declare function usePostReleaseGroupReportGenerateMutation(options?: Omit<UseMutationOptions<PostReleaseGroupReportGenerateOkResponse, PostReleaseGroupReportGenerateErrorResponse, PostReleaseGroupReportGenerateProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<PostReleaseGroupReportGenerateOkResponse, import("..").Error, PostReleaseGroupReportGenerateProps, 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 postReleaseGroupReportGenerate(props) {
7
+ return fetcher(Object.assign({ url: `/releaseGroup/${props.releaseGroupId}/report/generate`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Generate a CSV report for all releases in a release group within a time period. The report generation is asynchronous and returns a report job ID that can be used to track status and download the report.
11
+ */
12
+ export function usePostReleaseGroupReportGenerateMutation(options) {
13
+ return useMutation((mutateProps) => postReleaseGroupReportGenerate(mutateProps), options);
14
+ }
@@ -0,0 +1,28 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ReportGenerationResponseResponse } from '../responses/ReportGenerationResponseResponse';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { ReportGenerationRequest } from '../schemas/ReportGenerationRequest';
5
+ import type { ResponseWithPagination } from '../helpers';
6
+ import { FetcherOptions } from '../../../../fetcher/index.js';
7
+ export interface PostReleaseReportGenerateMutationPathParams {
8
+ releaseId: string;
9
+ }
10
+ export interface PostReleaseReportGenerateMutationQueryParams {
11
+ orgIdentifier?: string;
12
+ projectIdentifier?: string;
13
+ }
14
+ export interface PostReleaseReportGenerateMutationHeaderParams {
15
+ 'Harness-Account': string;
16
+ }
17
+ export type PostReleaseReportGenerateRequestBody = ReportGenerationRequest;
18
+ export type PostReleaseReportGenerateOkResponse = ResponseWithPagination<ReportGenerationResponseResponse>;
19
+ export type PostReleaseReportGenerateErrorResponse = ErrorResponseResponse;
20
+ export interface PostReleaseReportGenerateProps extends PostReleaseReportGenerateMutationPathParams, Omit<FetcherOptions<PostReleaseReportGenerateMutationQueryParams, PostReleaseReportGenerateRequestBody, PostReleaseReportGenerateMutationHeaderParams>, 'url'> {
21
+ queryParams: PostReleaseReportGenerateMutationQueryParams;
22
+ body: PostReleaseReportGenerateRequestBody;
23
+ }
24
+ export declare function postReleaseReportGenerate(props: PostReleaseReportGenerateProps): Promise<PostReleaseReportGenerateOkResponse>;
25
+ /**
26
+ * Generate a CSV report for a specific release within a time period. The report generation is asynchronous and returns a report job ID that can be used to track status and download the report.
27
+ */
28
+ export declare function usePostReleaseReportGenerateMutation(options?: Omit<UseMutationOptions<PostReleaseReportGenerateOkResponse, PostReleaseReportGenerateErrorResponse, PostReleaseReportGenerateProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<PostReleaseReportGenerateOkResponse, import("..").Error, PostReleaseReportGenerateProps, 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 postReleaseReportGenerate(props) {
7
+ return fetcher(Object.assign({ url: `/release/${props.releaseId}/report/generate`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Generate a CSV report for a specific release within a time period. The report generation is asynchronous and returns a report job ID that can be used to track status and download the report.
11
+ */
12
+ export function usePostReleaseReportGenerateMutation(options) {
13
+ return useMutation((mutateProps) => postReleaseReportGenerate(mutateProps), options);
14
+ }
@@ -77,6 +77,10 @@ export type { GetReleaseReleaseIdEnvironmentsErrorResponse, GetReleaseReleaseIdE
77
77
  export { getReleaseReleaseIdEnvironments, useGetReleaseReleaseIdEnvironmentsQuery, } from './hooks/useGetReleaseReleaseIdEnvironmentsQuery';
78
78
  export type { GetReleaseTasksErrorResponse, GetReleaseTasksOkResponse, GetReleaseTasksProps, GetReleaseTasksQueryPathParams, GetReleaseTasksQueryQueryParams, } from './hooks/useGetReleaseTasksQuery';
79
79
  export { getReleaseTasks, useGetReleaseTasksQuery } from './hooks/useGetReleaseTasksQuery';
80
+ export type { GetReportDownloadErrorResponse, GetReportDownloadOkResponse, GetReportDownloadProps, GetReportDownloadQueryPathParams, GetReportDownloadQueryQueryParams, } from './hooks/useGetReportDownloadQuery';
81
+ export { getReportDownload, useGetReportDownloadQuery } from './hooks/useGetReportDownloadQuery';
82
+ export type { GetReportStatusErrorResponse, GetReportStatusOkResponse, GetReportStatusProps, GetReportStatusQueryPathParams, GetReportStatusQueryQueryParams, } from './hooks/useGetReportStatusQuery';
83
+ export { getReportStatus, useGetReportStatusQuery } from './hooks/useGetReportStatusQuery';
80
84
  export type { GetTaskCommentsSummaryErrorResponse, GetTaskCommentsSummaryOkResponse, GetTaskCommentsSummaryProps, GetTaskCommentsSummaryQueryPathParams, GetTaskCommentsSummaryQueryQueryParams, } from './hooks/useGetTaskCommentsSummaryQuery';
81
85
  export { getTaskCommentsSummary, useGetTaskCommentsSummaryQuery, } from './hooks/useGetTaskCommentsSummaryQuery';
82
86
  export type { PatchReleaseGroupErrorResponse, PatchReleaseGroupMutationPathParams, PatchReleaseGroupMutationQueryParams, PatchReleaseGroupOkResponse, PatchReleaseGroupProps, PatchReleaseGroupRequestBody, } from './hooks/usePatchReleaseGroupMutation';
@@ -97,6 +101,10 @@ export type { PostReleaseActionErrorResponse, PostReleaseActionMutationPathParam
97
101
  export { postReleaseAction, usePostReleaseActionMutation, } from './hooks/usePostReleaseActionMutation';
98
102
  export type { PostReleaseGroupErrorResponse, PostReleaseGroupMutationQueryParams, PostReleaseGroupOkResponse, PostReleaseGroupProps, PostReleaseGroupRequestBody, } from './hooks/usePostReleaseGroupMutation';
99
103
  export { postReleaseGroup, usePostReleaseGroupMutation } from './hooks/usePostReleaseGroupMutation';
104
+ export type { PostReleaseGroupReportGenerateErrorResponse, PostReleaseGroupReportGenerateMutationPathParams, PostReleaseGroupReportGenerateMutationQueryParams, PostReleaseGroupReportGenerateOkResponse, PostReleaseGroupReportGenerateProps, PostReleaseGroupReportGenerateRequestBody, } from './hooks/usePostReleaseGroupReportGenerateMutation';
105
+ export { postReleaseGroupReportGenerate, usePostReleaseGroupReportGenerateMutation, } from './hooks/usePostReleaseGroupReportGenerateMutation';
106
+ export type { PostReleaseReportGenerateErrorResponse, PostReleaseReportGenerateMutationPathParams, PostReleaseReportGenerateMutationQueryParams, PostReleaseReportGenerateOkResponse, PostReleaseReportGenerateProps, PostReleaseReportGenerateRequestBody, } from './hooks/usePostReleaseReportGenerateMutation';
107
+ export { postReleaseReportGenerate, usePostReleaseReportGenerateMutation, } from './hooks/usePostReleaseReportGenerateMutation';
100
108
  export type { PostReleaseSubprocessTriggerErrorResponse, PostReleaseSubprocessTriggerMutationPathParams, PostReleaseSubprocessTriggerMutationQueryParams, PostReleaseSubprocessTriggerOkResponse, PostReleaseSubprocessTriggerProps, PostReleaseSubprocessTriggerRequestBody, } from './hooks/usePostReleaseSubprocessTriggerMutation';
101
109
  export { postReleaseSubprocessTrigger, usePostReleaseSubprocessTriggerMutation, } from './hooks/usePostReleaseSubprocessTriggerMutation';
102
110
  export type { PostReleaseSummaryErrorResponse, PostReleaseSummaryMutationQueryParams, PostReleaseSummaryOkResponse, PostReleaseSummaryProps, PostReleaseSummaryRequestBody, } from './hooks/usePostReleaseSummaryMutation';
@@ -171,6 +179,8 @@ export type { ReleaseGroupComponentResponseResponse } from './responses/ReleaseG
171
179
  export type { ReleaseGroupSummaryResponseResponse } from './responses/ReleaseGroupSummaryResponseResponse';
172
180
  export type { ReleaseSummaryResponseResponse } from './responses/ReleaseSummaryResponseResponse';
173
181
  export type { ReleaseTasksResponseResponse } from './responses/ReleaseTasksResponseResponse';
182
+ export type { ReportGenerationResponseResponse } from './responses/ReportGenerationResponseResponse';
183
+ export type { ReportStatusResponseResponse } from './responses/ReportStatusResponseResponse';
174
184
  export type { SubprocessTriggerResponseResponse } from './responses/SubprocessTriggerResponseResponse';
175
185
  export type { TaskCommentsListResponseResponse } from './responses/TaskCommentsListResponseResponse';
176
186
  export type { UpdateExecutionTaskMetadataResponseResponse } from './responses/UpdateExecutionTaskMetadataResponseResponse';
@@ -229,6 +239,7 @@ export type { InfrastructureMetadata } from './schemas/InfrastructureMetadata';
229
239
  export type { InputVariable } from './schemas/InputVariable';
230
240
  export type { InputVariableType } from './schemas/InputVariableType';
231
241
  export type { LastUpdatedByDto } from './schemas/LastUpdatedByDto';
242
+ export type { ManualActivityInfo } from './schemas/ManualActivityInfo';
232
243
  export type { ManualTaskYaml } from './schemas/ManualTaskYaml';
233
244
  export type { NextRequest } from './schemas/NextRequest';
234
245
  export type { OnHoldActivityActionRequest } from './schemas/OnHoldActivityActionRequest';
@@ -271,6 +282,9 @@ export type { ReleaseInputYaml } from './schemas/ReleaseInputYaml';
271
282
  export type { ReleaseParentDto } from './schemas/ReleaseParentDto';
272
283
  export type { ReleaseType } from './schemas/ReleaseType';
273
284
  export type { RepeatUnit } from './schemas/RepeatUnit';
285
+ export type { ReportGenerationRequest } from './schemas/ReportGenerationRequest';
286
+ export type { ReportGenerationResponse } from './schemas/ReportGenerationResponse';
287
+ export type { ReportStatusResponse } from './schemas/ReportStatusResponse';
274
288
  export type { ServiceInfoDto } from './schemas/ServiceInfoDto';
275
289
  export type { ServiceMetadata } from './schemas/ServiceMetadata';
276
290
  export type { StageInfoDetailsDto } from './schemas/StageInfoDetailsDto';
@@ -37,6 +37,8 @@ export { getReleaseReleaseIdApprovals, useGetReleaseReleaseIdApprovalsQuery, } f
37
37
  export { getReleaseReleaseIdEnvironmentDashboard, useGetReleaseReleaseIdEnvironmentDashboardQuery, } from './hooks/useGetReleaseReleaseIdEnvironmentDashboardQuery';
38
38
  export { getReleaseReleaseIdEnvironments, useGetReleaseReleaseIdEnvironmentsQuery, } from './hooks/useGetReleaseReleaseIdEnvironmentsQuery';
39
39
  export { getReleaseTasks, useGetReleaseTasksQuery } from './hooks/useGetReleaseTasksQuery';
40
+ export { getReportDownload, useGetReportDownloadQuery } from './hooks/useGetReportDownloadQuery';
41
+ export { getReportStatus, useGetReportStatusQuery } from './hooks/useGetReportStatusQuery';
40
42
  export { getTaskCommentsSummary, useGetTaskCommentsSummaryQuery, } from './hooks/useGetTaskCommentsSummaryQuery';
41
43
  export { patchReleaseGroup, usePatchReleaseGroupMutation, } from './hooks/usePatchReleaseGroupMutation';
42
44
  export { postActivityExecutionOutput, usePostActivityExecutionOutputMutation, } from './hooks/usePostActivityExecutionOutputMutation';
@@ -47,6 +49,8 @@ export { postOrchestrationProcessInput, usePostOrchestrationProcessInputMutation
47
49
  export { postOrchestrationProcess, usePostOrchestrationProcessMutation, } from './hooks/usePostOrchestrationProcessMutation';
48
50
  export { postReleaseAction, usePostReleaseActionMutation, } from './hooks/usePostReleaseActionMutation';
49
51
  export { postReleaseGroup, usePostReleaseGroupMutation } from './hooks/usePostReleaseGroupMutation';
52
+ export { postReleaseGroupReportGenerate, usePostReleaseGroupReportGenerateMutation, } from './hooks/usePostReleaseGroupReportGenerateMutation';
53
+ export { postReleaseReportGenerate, usePostReleaseReportGenerateMutation, } from './hooks/usePostReleaseReportGenerateMutation';
50
54
  export { postReleaseSubprocessTrigger, usePostReleaseSubprocessTriggerMutation, } from './hooks/usePostReleaseSubprocessTriggerMutation';
51
55
  export { postReleaseSummary, usePostReleaseSummaryMutation, } from './hooks/usePostReleaseSummaryMutation';
52
56
  export { putOrchestrationActivity, usePutOrchestrationActivityMutation, } from './hooks/usePutOrchestrationActivityMutation';
@@ -0,0 +1,2 @@
1
+ import type { ReportGenerationResponse } from '../schemas/ReportGenerationResponse';
2
+ export type ReportGenerationResponseResponse = ReportGenerationResponse;
@@ -0,0 +1,2 @@
1
+ import type { ReportStatusResponse } from '../schemas/ReportStatusResponse';
2
+ export type ReportStatusResponseResponse = ReportStatusResponse;
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Manual activity execution information
3
+ */
4
+ export interface ManualActivityInfo {
5
+ /**
6
+ * Total number of tasks in this manual activity
7
+ * @format int32
8
+ */
9
+ taskCount?: number | null;
10
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -1,4 +1,5 @@
1
1
  import type { FailureInfo } from '../schemas/FailureInfo';
2
+ import type { ManualActivityInfo } from '../schemas/ManualActivityInfo';
2
3
  import type { PipelineActivityInfo } from '../schemas/PipelineActivityInfo';
3
4
  import type { OrchestrationStatus } from '../schemas/OrchestrationStatus';
4
5
  import type { SubprocessActivityInfo } from '../schemas/SubprocessActivityInfo';
@@ -24,6 +25,10 @@ export interface OrchestrationExecutionActivityPaginated {
24
25
  * Unique identifier of the activity
25
26
  */
26
27
  identifier: string;
28
+ /**
29
+ * Manual activity execution information
30
+ */
31
+ manual?: ManualActivityInfo;
27
32
  /**
28
33
  * Name of the activity
29
34
  */
@@ -6,4 +6,8 @@ export interface PipelineActivityInfo {
6
6
  * ID of the pipeline execution
7
7
  */
8
8
  executionId: string;
9
+ /**
10
+ * Pipeline identifier for PIPELINE type activities in format org/project/pipelineIdentifier
11
+ */
12
+ identifier: string;
9
13
  }
@@ -0,0 +1,12 @@
1
+ export interface ReportGenerationRequest {
2
+ /**
3
+ * End timestamp in milliseconds (Unix epoch)
4
+ * @format int64
5
+ */
6
+ endTs: number;
7
+ /**
8
+ * Start timestamp in milliseconds (Unix epoch)
9
+ * @format int64
10
+ */
11
+ startTs: number;
12
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,4 @@
1
+ export interface ReportGenerationResponse {
2
+ reportId: string;
3
+ status: 'COMPLETED' | 'FAILED' | 'IN_PROGRESS' | 'PENDING';
4
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,14 @@
1
+ export interface ReportStatusResponse {
2
+ /**
3
+ * @format int64
4
+ */
5
+ completedAt?: number | null;
6
+ /**
7
+ * @format int64
8
+ */
9
+ createdAt?: number;
10
+ errorMessage?: string | null;
11
+ reportId: string;
12
+ status: 'COMPLETED' | 'FAILED' | 'IN_PROGRESS' | 'PENDING';
13
+ totalReleases?: number | null;
14
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -2,6 +2,10 @@
2
2
  * Subprocess execution information for activities
3
3
  */
4
4
  export interface SubprocessActivityInfo {
5
+ /**
6
+ * Process identifier for SUBPROCESS type activities
7
+ */
8
+ identifier: string;
5
9
  /**
6
10
  * ID of the subprocess release
7
11
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-rmg-service-client",
3
- "version": "0.47.0",
3
+ "version": "0.48.0",
4
4
  "description": "Harness Release Management Service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",