@harnessio/react-pipeline-swagger-service-client 1.2.0 → 1.4.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 (119) hide show
  1. package/dist/pipeline-swagger-service/src/services/hooks/useGetExecutionDetailV2Query.d.ts +28 -0
  2. package/dist/pipeline-swagger-service/src/services/hooks/useGetExecutionDetailV2Query.js +14 -0
  3. package/dist/pipeline-swagger-service/src/services/hooks/useGetGitTriggerEventDetailsQuery.d.ts +15 -0
  4. package/dist/pipeline-swagger-service/src/services/hooks/useGetGitTriggerEventDetailsQuery.js +14 -0
  5. package/dist/pipeline-swagger-service/src/services/hooks/useGetPipelineSummaryQuery.d.ts +41 -0
  6. package/dist/pipeline-swagger-service/src/services/hooks/useGetPipelineSummaryQuery.js +14 -0
  7. package/dist/pipeline-swagger-service/src/services/hooks/useGetTriggerCatalogQuery.d.ts +19 -0
  8. package/dist/pipeline-swagger-service/src/services/hooks/useGetTriggerCatalogQuery.js +14 -0
  9. package/dist/pipeline-swagger-service/src/services/hooks/useRetryHistoryQuery.d.ts +26 -0
  10. package/dist/pipeline-swagger-service/src/services/hooks/useRetryHistoryQuery.js +14 -0
  11. package/dist/pipeline-swagger-service/src/services/index.d.ts +63 -0
  12. package/dist/pipeline-swagger-service/src/services/index.js +5 -0
  13. package/dist/pipeline-swagger-service/src/services/schemas/AbortedBy.d.ts +8 -0
  14. package/dist/pipeline-swagger-service/src/services/schemas/AbortedBy.js +4 -0
  15. package/dist/pipeline-swagger-service/src/services/schemas/AccessControlCheckError.d.ts +13 -0
  16. package/dist/pipeline-swagger-service/src/services/schemas/AccessControlCheckError.js +1 -0
  17. package/dist/pipeline-swagger-service/src/services/schemas/AdviserIssuer.d.ts +3 -0
  18. package/dist/pipeline-swagger-service/src/services/schemas/AdviserIssuer.js +4 -0
  19. package/dist/pipeline-swagger-service/src/services/schemas/ChildExecutionDetailDto.d.ts +6 -0
  20. package/dist/pipeline-swagger-service/src/services/schemas/ChildExecutionDetailDto.js +1 -0
  21. package/dist/pipeline-swagger-service/src/services/schemas/DelegateInfo.d.ts +6 -0
  22. package/dist/pipeline-swagger-service/src/services/schemas/DelegateInfo.js +4 -0
  23. package/dist/pipeline-swagger-service/src/services/schemas/EdgeLayoutList.d.ts +4 -0
  24. package/dist/pipeline-swagger-service/src/services/schemas/EdgeLayoutList.js +4 -0
  25. package/dist/pipeline-swagger-service/src/services/schemas/EntityGitDetails.d.ts +14 -0
  26. package/dist/pipeline-swagger-service/src/services/schemas/EntityGitDetails.js +4 -0
  27. package/dist/pipeline-swagger-service/src/services/schemas/EntityValidityDetails.d.ts +4 -0
  28. package/dist/pipeline-swagger-service/src/services/schemas/EntityValidityDetails.js +4 -0
  29. package/dist/pipeline-swagger-service/src/services/schemas/ExecutableResponse.d.ts +3 -0
  30. package/dist/pipeline-swagger-service/src/services/schemas/ExecutableResponse.js +4 -0
  31. package/dist/pipeline-swagger-service/src/services/schemas/ExecutionErrorInfo.d.ts +3 -0
  32. package/dist/pipeline-swagger-service/src/services/schemas/ExecutionErrorInfo.js +4 -0
  33. package/dist/pipeline-swagger-service/src/services/schemas/ExecutionGraph.d.ts +15 -0
  34. package/dist/pipeline-swagger-service/src/services/schemas/ExecutionGraph.js +1 -0
  35. package/dist/pipeline-swagger-service/src/services/schemas/ExecutionInfo.d.ts +16 -0
  36. package/dist/pipeline-swagger-service/src/services/schemas/ExecutionInfo.js +4 -0
  37. package/dist/pipeline-swagger-service/src/services/schemas/ExecutionNode.d.ts +66 -0
  38. package/dist/pipeline-swagger-service/src/services/schemas/ExecutionNode.js +1 -0
  39. package/dist/pipeline-swagger-service/src/services/schemas/ExecutionNodeAdjacencyList.d.ts +4 -0
  40. package/dist/pipeline-swagger-service/src/services/schemas/ExecutionNodeAdjacencyList.js +4 -0
  41. package/dist/pipeline-swagger-service/src/services/schemas/ExecutionSummaryInfo.d.ts +10 -0
  42. package/dist/pipeline-swagger-service/src/services/schemas/ExecutionSummaryInfo.js +4 -0
  43. package/dist/pipeline-swagger-service/src/services/schemas/ExecutionTriggerInfo.d.ts +3 -0
  44. package/dist/pipeline-swagger-service/src/services/schemas/ExecutionTriggerInfo.js +4 -0
  45. package/dist/pipeline-swagger-service/src/services/schemas/ExecutorInfoDto.d.ts +5 -0
  46. package/dist/pipeline-swagger-service/src/services/schemas/ExecutorInfoDto.js +4 -0
  47. package/dist/pipeline-swagger-service/src/services/schemas/FailureInfoDto.d.ts +6 -0
  48. package/dist/pipeline-swagger-service/src/services/schemas/FailureInfoDto.js +1 -0
  49. package/dist/pipeline-swagger-service/src/services/schemas/GovernanceMetadata.d.ts +3 -0
  50. package/dist/pipeline-swagger-service/src/services/schemas/GovernanceMetadata.js +4 -0
  51. package/dist/pipeline-swagger-service/src/services/schemas/GraphLayoutNode.d.ts +53 -0
  52. package/dist/pipeline-swagger-service/src/services/schemas/GraphLayoutNode.js +1 -0
  53. package/dist/pipeline-swagger-service/src/services/schemas/InterruptConfig.d.ts +6 -0
  54. package/dist/pipeline-swagger-service/src/services/schemas/InterruptConfig.js +1 -0
  55. package/dist/pipeline-swagger-service/src/services/schemas/InterruptEffectDto.d.ts +10 -0
  56. package/dist/pipeline-swagger-service/src/services/schemas/InterruptEffectDto.js +1 -0
  57. package/dist/pipeline-swagger-service/src/services/schemas/IssuedBy.d.ts +16 -0
  58. package/dist/pipeline-swagger-service/src/services/schemas/IssuedBy.js +1 -0
  59. package/dist/pipeline-swagger-service/src/services/schemas/ManualIssuer.d.ts +6 -0
  60. package/dist/pipeline-swagger-service/src/services/schemas/ManualIssuer.js +4 -0
  61. package/dist/pipeline-swagger-service/src/services/schemas/NgLabel.d.ts +4 -0
  62. package/dist/pipeline-swagger-service/src/services/schemas/NgLabel.js +4 -0
  63. package/dist/pipeline-swagger-service/src/services/schemas/NgTag.d.ts +4 -0
  64. package/dist/pipeline-swagger-service/src/services/schemas/NgTag.js +4 -0
  65. package/dist/pipeline-swagger-service/src/services/schemas/NodeRunInfo.d.ts +3 -0
  66. package/dist/pipeline-swagger-service/src/services/schemas/NodeRunInfo.js +4 -0
  67. package/dist/pipeline-swagger-service/src/services/schemas/PermissionCheck.d.ts +10 -0
  68. package/dist/pipeline-swagger-service/src/services/schemas/PermissionCheck.js +1 -0
  69. package/dist/pipeline-swagger-service/src/services/schemas/PipelineExecutionDetail.d.ts +9 -0
  70. package/dist/pipeline-swagger-service/src/services/schemas/PipelineExecutionDetail.js +1 -0
  71. package/dist/pipeline-swagger-service/src/services/schemas/PipelineExecutionSummary.d.ts +97 -0
  72. package/dist/pipeline-swagger-service/src/services/schemas/PipelineExecutionSummary.js +1 -0
  73. package/dist/pipeline-swagger-service/src/services/schemas/PipelineStageInfo.d.ts +3 -0
  74. package/dist/pipeline-swagger-service/src/services/schemas/PipelineStageInfo.js +4 -0
  75. package/dist/pipeline-swagger-service/src/services/schemas/PmsPipelineSummaryResponse.d.ts +47 -0
  76. package/dist/pipeline-swagger-service/src/services/schemas/PmsPipelineSummaryResponse.js +1 -0
  77. package/dist/pipeline-swagger-service/src/services/schemas/RecentExecutionInfoDto.d.ts +20 -0
  78. package/dist/pipeline-swagger-service/src/services/schemas/RecentExecutionInfoDto.js +1 -0
  79. package/dist/pipeline-swagger-service/src/services/schemas/ResourceScope.d.ts +5 -0
  80. package/dist/pipeline-swagger-service/src/services/schemas/ResourceScope.js +4 -0
  81. package/dist/pipeline-swagger-service/src/services/schemas/ResponseMapStringMapStringListString.d.ts +12 -0
  82. package/dist/pipeline-swagger-service/src/services/schemas/ResponseMapStringMapStringListString.js +4 -0
  83. package/dist/pipeline-swagger-service/src/services/schemas/ResponsePipelineExecutionDetail.d.ts +9 -0
  84. package/dist/pipeline-swagger-service/src/services/schemas/ResponsePipelineExecutionDetail.js +1 -0
  85. package/dist/pipeline-swagger-service/src/services/schemas/ResponsePmsPipelineSummaryResponse.d.ts +9 -0
  86. package/dist/pipeline-swagger-service/src/services/schemas/ResponsePmsPipelineSummaryResponse.js +1 -0
  87. package/dist/pipeline-swagger-service/src/services/schemas/ResponseRetryHistoryResponseDto.d.ts +9 -0
  88. package/dist/pipeline-swagger-service/src/services/schemas/ResponseRetryHistoryResponseDto.js +1 -0
  89. package/dist/pipeline-swagger-service/src/services/schemas/ResponseTriggerCatalogResponse.d.ts +9 -0
  90. package/dist/pipeline-swagger-service/src/services/schemas/ResponseTriggerCatalogResponse.js +1 -0
  91. package/dist/pipeline-swagger-service/src/services/schemas/RetryExecutionMetadata.d.ts +18 -0
  92. package/dist/pipeline-swagger-service/src/services/schemas/RetryExecutionMetadata.js +1 -0
  93. package/dist/pipeline-swagger-service/src/services/schemas/RetryHistoryResponseDto.d.ts +8 -0
  94. package/dist/pipeline-swagger-service/src/services/schemas/RetryHistoryResponseDto.js +1 -0
  95. package/dist/pipeline-swagger-service/src/services/schemas/RetryInterruptConfig.d.ts +3 -0
  96. package/dist/pipeline-swagger-service/src/services/schemas/RetryInterruptConfig.js +4 -0
  97. package/dist/pipeline-swagger-service/src/services/schemas/RetryNodeMetadata.d.ts +17 -0
  98. package/dist/pipeline-swagger-service/src/services/schemas/RetryNodeMetadata.js +1 -0
  99. package/dist/pipeline-swagger-service/src/services/schemas/RetryStagesMetadataDto.d.ts +4 -0
  100. package/dist/pipeline-swagger-service/src/services/schemas/RetryStagesMetadataDto.js +4 -0
  101. package/dist/pipeline-swagger-service/src/services/schemas/SkipInfo.d.ts +3 -0
  102. package/dist/pipeline-swagger-service/src/services/schemas/SkipInfo.js +4 -0
  103. package/dist/pipeline-swagger-service/src/services/schemas/StrategyMetadata.d.ts +3 -0
  104. package/dist/pipeline-swagger-service/src/services/schemas/StrategyMetadata.js +4 -0
  105. package/dist/pipeline-swagger-service/src/services/schemas/SystemIssuer.d.ts +3 -0
  106. package/dist/pipeline-swagger-service/src/services/schemas/SystemIssuer.js +4 -0
  107. package/dist/pipeline-swagger-service/src/services/schemas/TemplateReferenceSummary.d.ts +3 -0
  108. package/dist/pipeline-swagger-service/src/services/schemas/TemplateReferenceSummary.js +4 -0
  109. package/dist/pipeline-swagger-service/src/services/schemas/TimeoutIssuer.d.ts +3 -0
  110. package/dist/pipeline-swagger-service/src/services/schemas/TimeoutIssuer.js +4 -0
  111. package/dist/pipeline-swagger-service/src/services/schemas/TriggerCatalogItem.d.ts +4 -0
  112. package/dist/pipeline-swagger-service/src/services/schemas/TriggerCatalogItem.js +4 -0
  113. package/dist/pipeline-swagger-service/src/services/schemas/TriggerCatalogResponse.d.ts +4 -0
  114. package/dist/pipeline-swagger-service/src/services/schemas/TriggerCatalogResponse.js +1 -0
  115. package/dist/pipeline-swagger-service/src/services/schemas/TriggerIssuer.d.ts +4 -0
  116. package/dist/pipeline-swagger-service/src/services/schemas/TriggerIssuer.js +4 -0
  117. package/dist/pipeline-swagger-service/src/services/schemas/UnitProgress.d.ts +3 -0
  118. package/dist/pipeline-swagger-service/src/services/schemas/UnitProgress.js +4 -0
  119. package/package.json +1 -1
@@ -0,0 +1,28 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ResponsePipelineExecutionDetail } from '../schemas/ResponsePipelineExecutionDetail';
3
+ import type { Failure } from '../schemas/Failure';
4
+ import type { Error } from '../schemas/Error';
5
+ import type { ResponseWithPagination } from '../helpers';
6
+ import { FetcherOptions } from '../../../../fetcher/index.js';
7
+ export interface GetExecutionDetailV2QueryPathParams {
8
+ planExecutionId: string;
9
+ }
10
+ export interface GetExecutionDetailV2QueryQueryParams {
11
+ accountIdentifier: string;
12
+ orgIdentifier: string;
13
+ projectIdentifier: string;
14
+ stageNodeId?: string;
15
+ stageNodeExecutionId?: string;
16
+ childStageNodeId?: string;
17
+ renderFullBottomGraph?: boolean;
18
+ }
19
+ export type GetExecutionDetailV2OkResponse = ResponseWithPagination<ResponsePipelineExecutionDetail>;
20
+ export type GetExecutionDetailV2ErrorResponse = Failure | Error;
21
+ export interface GetExecutionDetailV2Props extends GetExecutionDetailV2QueryPathParams, Omit<FetcherOptions<GetExecutionDetailV2QueryQueryParams, unknown>, 'url'> {
22
+ queryParams: GetExecutionDetailV2QueryQueryParams;
23
+ }
24
+ export declare function getExecutionDetailV2(props: GetExecutionDetailV2Props): Promise<GetExecutionDetailV2OkResponse>;
25
+ /**
26
+ *
27
+ */
28
+ export declare function useGetExecutionDetailV2Query(props: GetExecutionDetailV2Props, options?: Omit<UseQueryOptions<GetExecutionDetailV2OkResponse, GetExecutionDetailV2ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetExecutionDetailV2OkResponse, GetExecutionDetailV2ErrorResponse>;
@@ -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 getExecutionDetailV2(props) {
7
+ return fetcher(Object.assign({ url: `/pipelines/execution/v2/${props.planExecutionId}`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useGetExecutionDetailV2Query(props, options) {
13
+ return useQuery(['getExecutionDetailV2', props.planExecutionId, props.queryParams], ({ signal }) => getExecutionDetailV2(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,15 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ResponseMapStringMapStringListString } from '../schemas/ResponseMapStringMapStringListString';
3
+ import type { Failure } from '../schemas/Failure';
4
+ import type { Error } from '../schemas/Error';
5
+ import type { ResponseWithPagination } from '../helpers';
6
+ import { FetcherOptions } from '../../../../fetcher/index.js';
7
+ export type GetGitTriggerEventDetailsOkResponse = ResponseWithPagination<ResponseMapStringMapStringListString>;
8
+ export type GetGitTriggerEventDetailsErrorResponse = Failure | Error;
9
+ export interface GetGitTriggerEventDetailsProps extends Omit<FetcherOptions<unknown, unknown>, 'url'> {
10
+ }
11
+ export declare function getGitTriggerEventDetails(props: GetGitTriggerEventDetailsProps): Promise<GetGitTriggerEventDetailsOkResponse>;
12
+ /**
13
+ *
14
+ */
15
+ export declare function useGetGitTriggerEventDetailsQuery(props: GetGitTriggerEventDetailsProps, options?: Omit<UseQueryOptions<GetGitTriggerEventDetailsOkResponse, GetGitTriggerEventDetailsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetGitTriggerEventDetailsOkResponse, GetGitTriggerEventDetailsErrorResponse>;
@@ -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 getGitTriggerEventDetails(props) {
7
+ return fetcher(Object.assign({ url: `/webhook/gitTriggerEventDetails`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useGetGitTriggerEventDetailsQuery(props, options) {
13
+ return useQuery(['getGitTriggerEventDetails'], ({ signal }) => getGitTriggerEventDetails(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,41 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ResponsePmsPipelineSummaryResponse } from '../schemas/ResponsePmsPipelineSummaryResponse';
3
+ import type { Failure } from '../schemas/Failure';
4
+ import type { Error } from '../schemas/Error';
5
+ import type { ResponseWithPagination } from '../helpers';
6
+ import { FetcherOptions } from '../../../../fetcher/index.js';
7
+ export interface GetPipelineSummaryQueryPathParams {
8
+ pipelineIdentifier: string;
9
+ }
10
+ export interface GetPipelineSummaryQueryQueryParams {
11
+ accountIdentifier: string;
12
+ orgIdentifier: string;
13
+ projectIdentifier: string;
14
+ branch?: string;
15
+ repoIdentifier?: string;
16
+ getDefaultFromOtherRepo?: boolean;
17
+ parentEntityConnectorRef?: string;
18
+ parentEntityRepoName?: string;
19
+ parentEntityAccountIdentifier?: string;
20
+ parentEntityOrgIdentifier?: string;
21
+ parentEntityProjectIdentifier?: string;
22
+ repoName?: string;
23
+ getMetadataOnly?: boolean;
24
+ loadFromFallbackBranch?: boolean;
25
+ }
26
+ export interface GetPipelineSummaryQueryHeaderParams {
27
+ /**
28
+ * @default "false"
29
+ */
30
+ 'Load-From-Cache'?: string;
31
+ }
32
+ export type GetPipelineSummaryOkResponse = ResponseWithPagination<ResponsePmsPipelineSummaryResponse>;
33
+ export type GetPipelineSummaryErrorResponse = Failure | Error;
34
+ export interface GetPipelineSummaryProps extends GetPipelineSummaryQueryPathParams, Omit<FetcherOptions<GetPipelineSummaryQueryQueryParams, unknown, GetPipelineSummaryQueryHeaderParams>, 'url'> {
35
+ queryParams: GetPipelineSummaryQueryQueryParams;
36
+ }
37
+ export declare function getPipelineSummary(props: GetPipelineSummaryProps): Promise<GetPipelineSummaryOkResponse>;
38
+ /**
39
+ *
40
+ */
41
+ export declare function useGetPipelineSummaryQuery(props: GetPipelineSummaryProps, options?: Omit<UseQueryOptions<GetPipelineSummaryOkResponse, GetPipelineSummaryErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetPipelineSummaryOkResponse, GetPipelineSummaryErrorResponse>;
@@ -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 getPipelineSummary(props) {
7
+ return fetcher(Object.assign({ url: `/pipelines/summary/${props.pipelineIdentifier}`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useGetPipelineSummaryQuery(props, options) {
13
+ return useQuery(['getPipelineSummary', props.pipelineIdentifier, props.queryParams], ({ signal }) => getPipelineSummary(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,19 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ResponseTriggerCatalogResponse } from '../schemas/ResponseTriggerCatalogResponse';
3
+ import type { Failure } from '../schemas/Failure';
4
+ import type { Error } from '../schemas/Error';
5
+ import type { ResponseWithPagination } from '../helpers';
6
+ import { FetcherOptions } from '../../../../fetcher/index.js';
7
+ export interface GetTriggerCatalogQueryQueryParams {
8
+ accountIdentifier: string;
9
+ }
10
+ export type GetTriggerCatalogOkResponse = ResponseWithPagination<ResponseTriggerCatalogResponse>;
11
+ export type GetTriggerCatalogErrorResponse = Failure | Error;
12
+ export interface GetTriggerCatalogProps extends Omit<FetcherOptions<GetTriggerCatalogQueryQueryParams, unknown>, 'url'> {
13
+ queryParams: GetTriggerCatalogQueryQueryParams;
14
+ }
15
+ export declare function getTriggerCatalog(props: GetTriggerCatalogProps): Promise<GetTriggerCatalogOkResponse>;
16
+ /**
17
+ *
18
+ */
19
+ export declare function useGetTriggerCatalogQuery(props: GetTriggerCatalogProps, options?: Omit<UseQueryOptions<GetTriggerCatalogOkResponse, GetTriggerCatalogErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetTriggerCatalogOkResponse, GetTriggerCatalogErrorResponse>;
@@ -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 getTriggerCatalog(props) {
7
+ return fetcher(Object.assign({ url: `/triggers/catalog`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useGetTriggerCatalogQuery(props, options) {
13
+ return useQuery(['getTriggerCatalog', props.queryParams], ({ signal }) => getTriggerCatalog(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,26 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ResponseRetryHistoryResponseDto } from '../schemas/ResponseRetryHistoryResponseDto';
3
+ import type { Failure } from '../schemas/Failure';
4
+ import type { AccessControlCheckError } from '../schemas/AccessControlCheckError';
5
+ import type { Error } from '../schemas/Error';
6
+ import type { ResponseWithPagination } from '../helpers';
7
+ import { FetcherOptions } from '../../../../fetcher/index.js';
8
+ export interface RetryHistoryQueryPathParams {
9
+ planExecutionId: string;
10
+ }
11
+ export interface RetryHistoryQueryQueryParams {
12
+ accountIdentifier: string;
13
+ orgIdentifier: string;
14
+ projectIdentifier: string;
15
+ pipelineIdentifier: string;
16
+ }
17
+ export type RetryHistoryOkResponse = ResponseWithPagination<ResponseRetryHistoryResponseDto>;
18
+ export type RetryHistoryErrorResponse = Failure | AccessControlCheckError | Error;
19
+ export interface RetryHistoryProps extends RetryHistoryQueryPathParams, Omit<FetcherOptions<RetryHistoryQueryQueryParams, unknown>, 'url'> {
20
+ queryParams: RetryHistoryQueryQueryParams;
21
+ }
22
+ export declare function retryHistory(props: RetryHistoryProps): Promise<RetryHistoryOkResponse>;
23
+ /**
24
+ *
25
+ */
26
+ export declare function useRetryHistoryQuery(props: RetryHistoryProps, options?: Omit<UseQueryOptions<RetryHistoryOkResponse, RetryHistoryErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<RetryHistoryOkResponse, RetryHistoryErrorResponse>;
@@ -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 retryHistory(props) {
7
+ return fetcher(Object.assign({ url: `/pipeline/execute/retryHistory/${props.planExecutionId}`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useRetryHistoryQuery(props, options) {
13
+ return useQuery(['retryHistory', props.planExecutionId, props.queryParams], ({ signal }) => retryHistory(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -3,41 +3,104 @@ export type { CreateTriggerErrorResponse, CreateTriggerMutationQueryParams, Crea
3
3
  export { createTrigger, useCreateTriggerMutation } from './hooks/useCreateTriggerMutation';
4
4
  export type { DeleteFilterErrorResponse, DeleteFilterMutationPathParams, DeleteFilterMutationQueryParams, DeleteFilterOkResponse, DeleteFilterProps, } from './hooks/useDeleteFilterMutation';
5
5
  export { deleteFilter, useDeleteFilterMutation } from './hooks/useDeleteFilterMutation';
6
+ export type { GetExecutionDetailV2ErrorResponse, GetExecutionDetailV2OkResponse, GetExecutionDetailV2Props, GetExecutionDetailV2QueryPathParams, GetExecutionDetailV2QueryQueryParams, } from './hooks/useGetExecutionDetailV2Query';
7
+ export { getExecutionDetailV2, useGetExecutionDetailV2Query, } from './hooks/useGetExecutionDetailV2Query';
6
8
  export type { GetFilterListErrorResponse, GetFilterListOkResponse, GetFilterListProps, GetFilterListQueryQueryParams, } from './hooks/useGetFilterListQuery';
7
9
  export { getFilterList, useGetFilterListQuery } from './hooks/useGetFilterListQuery';
8
10
  export type { GetFilterErrorResponse, GetFilterOkResponse, GetFilterProps, GetFilterQueryPathParams, GetFilterQueryQueryParams, } from './hooks/useGetFilterQuery';
9
11
  export { getFilter, useGetFilterQuery } from './hooks/useGetFilterQuery';
12
+ export type { GetGitTriggerEventDetailsErrorResponse, GetGitTriggerEventDetailsOkResponse, GetGitTriggerEventDetailsProps, } from './hooks/useGetGitTriggerEventDetailsQuery';
13
+ export { getGitTriggerEventDetails, useGetGitTriggerEventDetailsQuery, } from './hooks/useGetGitTriggerEventDetailsQuery';
14
+ export type { GetPipelineSummaryErrorResponse, GetPipelineSummaryOkResponse, GetPipelineSummaryProps, GetPipelineSummaryQueryPathParams, GetPipelineSummaryQueryQueryParams, } from './hooks/useGetPipelineSummaryQuery';
15
+ export { getPipelineSummary, useGetPipelineSummaryQuery } from './hooks/useGetPipelineSummaryQuery';
16
+ export type { GetTriggerCatalogErrorResponse, GetTriggerCatalogOkResponse, GetTriggerCatalogProps, GetTriggerCatalogQueryQueryParams, } from './hooks/useGetTriggerCatalogQuery';
17
+ export { getTriggerCatalog, useGetTriggerCatalogQuery } from './hooks/useGetTriggerCatalogQuery';
10
18
  export type { GetTriggerListForTargetErrorResponse, GetTriggerListForTargetOkResponse, GetTriggerListForTargetProps, GetTriggerListForTargetQueryQueryParams, } from './hooks/useGetTriggerListForTargetQuery';
11
19
  export { getTriggerListForTarget, useGetTriggerListForTargetQuery, } from './hooks/useGetTriggerListForTargetQuery';
12
20
  export type { PostFilterErrorResponse, PostFilterMutationQueryParams, PostFilterOkResponse, PostFilterProps, PostFilterRequestBody, } from './hooks/usePostFilterMutation';
13
21
  export { postFilter, usePostFilterMutation } from './hooks/usePostFilterMutation';
22
+ export type { RetryHistoryErrorResponse, RetryHistoryOkResponse, RetryHistoryProps, RetryHistoryQueryPathParams, RetryHistoryQueryQueryParams, } from './hooks/useRetryHistoryQuery';
23
+ export { retryHistory, useRetryHistoryQuery } from './hooks/useRetryHistoryQuery';
14
24
  export type { UpdateFilterErrorResponse, UpdateFilterMutationQueryParams, UpdateFilterOkResponse, UpdateFilterProps, UpdateFilterRequestBody, } from './hooks/useUpdateFilterMutation';
15
25
  export { updateFilter, useUpdateFilterMutation } from './hooks/useUpdateFilterMutation';
16
26
  export type { FilterDtoRequestBody } from './requestBodies/FilterDtoRequestBody';
17
27
  export type { UpdateTriggerBodyRequestBody } from './requestBodies/UpdateTriggerBodyRequestBody';
28
+ export type { AbortedBy } from './schemas/AbortedBy';
29
+ export type { AccessControlCheckError } from './schemas/AccessControlCheckError';
30
+ export type { AdviserIssuer } from './schemas/AdviserIssuer';
18
31
  export type { BuildDetails } from './schemas/BuildDetails';
32
+ export type { ChildExecutionDetailDto } from './schemas/ChildExecutionDetailDto';
33
+ export type { DelegateInfo } from './schemas/DelegateInfo';
34
+ export type { EdgeLayoutList } from './schemas/EdgeLayoutList';
35
+ export type { EntityGitDetails } from './schemas/EntityGitDetails';
36
+ export type { EntityValidityDetails } from './schemas/EntityValidityDetails';
19
37
  export type { Error } from './schemas/Error';
20
38
  export type { ErrorMetadataDto } from './schemas/ErrorMetadataDto';
39
+ export type { ExecutableResponse } from './schemas/ExecutableResponse';
40
+ export type { ExecutionErrorInfo } from './schemas/ExecutionErrorInfo';
41
+ export type { ExecutionGraph } from './schemas/ExecutionGraph';
42
+ export type { ExecutionInfo } from './schemas/ExecutionInfo';
43
+ export type { ExecutionNode } from './schemas/ExecutionNode';
44
+ export type { ExecutionNodeAdjacencyList } from './schemas/ExecutionNodeAdjacencyList';
45
+ export type { ExecutionSummaryInfo } from './schemas/ExecutionSummaryInfo';
46
+ export type { ExecutionTriggerInfo } from './schemas/ExecutionTriggerInfo';
47
+ export type { ExecutorInfoDto } from './schemas/ExecutorInfoDto';
21
48
  export type { Failure } from './schemas/Failure';
49
+ export type { FailureInfoDto } from './schemas/FailureInfoDto';
22
50
  export type { FilterDto } from './schemas/FilterDto';
23
51
  export type { FilterProperties } from './schemas/FilterProperties';
52
+ export type { GovernanceMetadata } from './schemas/GovernanceMetadata';
53
+ export type { GraphLayoutNode } from './schemas/GraphLayoutNode';
24
54
  export type { InputSetValidator } from './schemas/InputSetValidator';
55
+ export type { InterruptConfig } from './schemas/InterruptConfig';
56
+ export type { InterruptEffectDto } from './schemas/InterruptEffectDto';
57
+ export type { IssuedBy } from './schemas/IssuedBy';
25
58
  export type { LastTriggerExecutionDetails } from './schemas/LastTriggerExecutionDetails';
59
+ export type { ManualIssuer } from './schemas/ManualIssuer';
60
+ export type { NgLabel } from './schemas/NgLabel';
61
+ export type { NgTag } from './schemas/NgTag';
26
62
  export type { NgTriggerDetailsResponse } from './schemas/NgTriggerDetailsResponse';
27
63
  export type { NgTriggerResponse } from './schemas/NgTriggerResponse';
64
+ export type { NodeRunInfo } from './schemas/NodeRunInfo';
28
65
  export type { PageFilterDto } from './schemas/PageFilterDto';
29
66
  export type { PageNgTriggerDetailsResponse } from './schemas/PageNgTriggerDetailsResponse';
30
67
  export type { ParameterFieldListString } from './schemas/ParameterFieldListString';
68
+ export type { PermissionCheck } from './schemas/PermissionCheck';
69
+ export type { PipelineExecutionDetail } from './schemas/PipelineExecutionDetail';
70
+ export type { PipelineExecutionSummary } from './schemas/PipelineExecutionSummary';
71
+ export type { PipelineStageInfo } from './schemas/PipelineStageInfo';
72
+ export type { PmsPipelineSummaryResponse } from './schemas/PmsPipelineSummaryResponse';
31
73
  export type { PollingSubscriptionStatus } from './schemas/PollingSubscriptionStatus';
74
+ export type { RecentExecutionInfoDto } from './schemas/RecentExecutionInfoDto';
75
+ export type { ResourceScope } from './schemas/ResourceScope';
32
76
  export type { ResponseBoolean } from './schemas/ResponseBoolean';
33
77
  export type { ResponseFilterDto } from './schemas/ResponseFilterDto';
78
+ export type { ResponseMapStringMapStringListString } from './schemas/ResponseMapStringMapStringListString';
34
79
  export type { ResponseMessage } from './schemas/ResponseMessage';
35
80
  export type { ResponseNgTriggerResponse } from './schemas/ResponseNgTriggerResponse';
36
81
  export type { ResponsePageFilterDto } from './schemas/ResponsePageFilterDto';
37
82
  export type { ResponsePageNgTriggerDetailsResponse } from './schemas/ResponsePageNgTriggerDetailsResponse';
83
+ export type { ResponsePipelineExecutionDetail } from './schemas/ResponsePipelineExecutionDetail';
84
+ export type { ResponsePmsPipelineSummaryResponse } from './schemas/ResponsePmsPipelineSummaryResponse';
85
+ export type { ResponseRetryHistoryResponseDto } from './schemas/ResponseRetryHistoryResponseDto';
86
+ export type { ResponseTriggerCatalogResponse } from './schemas/ResponseTriggerCatalogResponse';
87
+ export type { RetryExecutionMetadata } from './schemas/RetryExecutionMetadata';
88
+ export type { RetryHistoryResponseDto } from './schemas/RetryHistoryResponseDto';
89
+ export type { RetryInterruptConfig } from './schemas/RetryInterruptConfig';
90
+ export type { RetryNodeMetadata } from './schemas/RetryNodeMetadata';
91
+ export type { RetryStagesMetadataDto } from './schemas/RetryStagesMetadataDto';
92
+ export type { SkipInfo } from './schemas/SkipInfo';
38
93
  export type { StackTraceElement } from './schemas/StackTraceElement';
94
+ export type { StrategyMetadata } from './schemas/StrategyMetadata';
95
+ export type { SystemIssuer } from './schemas/SystemIssuer';
96
+ export type { TemplateReferenceSummary } from './schemas/TemplateReferenceSummary';
39
97
  export type { Throwable } from './schemas/Throwable';
98
+ export type { TimeoutIssuer } from './schemas/TimeoutIssuer';
99
+ export type { TriggerCatalogItem } from './schemas/TriggerCatalogItem';
100
+ export type { TriggerCatalogResponse } from './schemas/TriggerCatalogResponse';
101
+ export type { TriggerIssuer } from './schemas/TriggerIssuer';
40
102
  export type { TriggerStatus } from './schemas/TriggerStatus';
103
+ export type { UnitProgress } from './schemas/UnitProgress';
41
104
  export type { ValidationError } from './schemas/ValidationError';
42
105
  export type { ValidationStatus } from './schemas/ValidationStatus';
43
106
  export type { WebhookAutoRegistrationStatus } from './schemas/WebhookAutoRegistrationStatus';
@@ -1,7 +1,12 @@
1
1
  export { createTrigger, useCreateTriggerMutation } from './hooks/useCreateTriggerMutation';
2
2
  export { deleteFilter, useDeleteFilterMutation } from './hooks/useDeleteFilterMutation';
3
+ export { getExecutionDetailV2, useGetExecutionDetailV2Query, } from './hooks/useGetExecutionDetailV2Query';
3
4
  export { getFilterList, useGetFilterListQuery } from './hooks/useGetFilterListQuery';
4
5
  export { getFilter, useGetFilterQuery } from './hooks/useGetFilterQuery';
6
+ export { getGitTriggerEventDetails, useGetGitTriggerEventDetailsQuery, } from './hooks/useGetGitTriggerEventDetailsQuery';
7
+ export { getPipelineSummary, useGetPipelineSummaryQuery } from './hooks/useGetPipelineSummaryQuery';
8
+ export { getTriggerCatalog, useGetTriggerCatalogQuery } from './hooks/useGetTriggerCatalogQuery';
5
9
  export { getTriggerListForTarget, useGetTriggerListForTargetQuery, } from './hooks/useGetTriggerListForTargetQuery';
6
10
  export { postFilter, usePostFilterMutation } from './hooks/usePostFilterMutation';
11
+ export { retryHistory, useRetryHistoryQuery } from './hooks/useRetryHistoryQuery';
7
12
  export { updateFilter, useUpdateFilterMutation } from './hooks/useUpdateFilterMutation';
@@ -0,0 +1,8 @@
1
+ export interface AbortedBy {
2
+ /**
3
+ * @format int64
4
+ */
5
+ createdAt?: number;
6
+ email?: string;
7
+ userName?: string;
8
+ }
@@ -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,13 @@
1
+ import type { PermissionCheck } from '../schemas/PermissionCheck';
2
+ import type { ErrorMetadataDto } from '../schemas/ErrorMetadataDto';
3
+ import type { ResponseMessage } from '../schemas/ResponseMessage';
4
+ export interface AccessControlCheckError {
5
+ code?: 'ABORT_ALL_ALREADY' | 'ABORT_ALL_ALREADY_NG' | 'ACCESS_DENIED' | 'ACCOUNT_DISABLED' | 'ACCOUNT_DOES_NOT_EXIST' | 'ACCOUNT_MIGRATED' | 'ACCOUNT_MIGRATED_TO_NEXT_GEN' | 'ACTIVE_SERVICE_INSTANCES_PRESENT_EXCEPTION' | 'ADFS_ERROR' | 'ALGORITHM_NEGOTIATION_ERROR' | 'APM_CONFIGURATION_ERROR' | 'APPDYNAMICS_CONFIGURATION_ERROR' | 'APPDYNAMICS_ERROR' | 'APPROVAL_REJECTION' | 'APPROVAL_STEP_NG_ERROR' | 'ARTIFACT_SERVER_ERROR' | 'AUTHENTICATION_ERROR' | 'AUTHORIZATION_ERROR' | 'AWS_ACCESS_DENIED' | 'AWS_APPLICATION_AUTO_SCALING' | 'AWS_ASG_ERROR' | 'AWS_CF_ERROR' | 'AWS_CLUSTER_NOT_FOUND' | 'AWS_ECS_CLIENT_ERROR' | 'AWS_ECS_ERROR' | 'AWS_ECS_SERVICE_NOT_ACTIVE' | 'AWS_EKS_ERROR' | 'AWS_IAM_ERROR' | 'AWS_INSTANCE_ERROR' | 'AWS_LOAD_BALANCER_ERROR' | 'AWS_SECRETS_MANAGER_OPERATION_ERROR' | 'AWS_SERVICE_NOT_FOUND' | 'AWS_STS_ERROR' | 'AWS_TAG_ERROR' | 'AWS_VPC_ERROR' | 'AZURE_APP_SERVICES_TASK_EXCEPTION' | 'AZURE_ARM_TASK_EXCEPTION' | 'AZURE_AUTHENTICATION_ERROR' | 'AZURE_BP_TASK_EXCEPTION' | 'AZURE_CLIENT_EXCEPTION' | 'AZURE_CONFIG_ERROR' | 'AZURE_KEY_VAULT_INTERRUPT_ERROR' | 'AZURE_KEY_VAULT_OPERATION_ERROR' | 'AZURE_SERVICE_EXCEPTION' | 'BARRIERS_NOT_RUNNING_CONCURRENTLY' | 'BARRIER_FAILED_ERROR' | 'BASELINE_CONFIGURATION_ERROR' | 'BATCH_PROCESSING_ERROR' | 'BUCKET_SERVER_ERROR' | 'CACHE_NOT_FOUND_EXCEPTION' | 'CG_LICENSE_USAGE_ERROR' | 'CLOUDWATCH_CONFIGURATION_ERROR' | 'CLOUDWATCH_ERROR' | 'CLUSTER_CREDENTIALS_NOT_FOUND' | 'CLUSTER_NOT_FOUND' | 'COMMAND_DOES_NOT_EXIST' | 'COMMAND_EXECUTION_ERROR' | 'COMMNITY_EDITION_NOT_FOUND' | 'CONNECTION_ERROR' | 'CONNECTION_TIMEOUT' | 'CONNECTOR_NOT_FOUND_EXCEPTION' | 'CONNECTOR_VALIDATION_EXCEPTION' | 'CONTEXT' | 'COULD_NOT_MAP_BEFORE_YAML' | 'CUSTOM_APPROVAL_ERROR' | 'DATA' | 'DATA_COLLECTION_ERROR' | 'DATA_DOG_CONFIGURATION_ERROR' | 'DATA_PROCESSING_ERROR' | 'DEFAULT_ERROR_CODE' | 'DELEGATE_ERROR_HANDLER_EXCEPTION' | 'DELEGATE_INSTALLATION_COMMAND_NOT_SUPPORTED_EXCEPTION' | 'DELEGATE_NOT_AVAILABLE' | 'DELEGATE_NOT_REGISTERED' | 'DELEGATE_SERVICE_DRIVER_EXCEPTION' | 'DELEGATE_TASK_EXPIRED' | 'DELEGATE_TASK_RETRY' | 'DELEGATE_TASK_VALIDATION_FAILED' | 'DELETE_NOT_ALLOWED' | 'DEPLOYMENT_GOVERNANCE_ERROR' | 'DEPLOYMENT_MIGRATION_ERROR' | 'DEPLOY_MODE_IS_NOT_ON_PREM' | 'DOMAIN_NOT_ALLOWED_TO_REGISTER' | 'DOMAIN_WHITELIST_FILTER_CHECK_FAILED' | 'DUPLICATE_ARTIFACTSTREAM_NAMES' | 'DUPLICATE_COMMAND_NAMES' | 'DUPLICATE_DELEGATE_EXCEPTION' | 'DUPLICATE_FIELD' | 'DUPLICATE_FILE_IMPORT' | 'DUPLICATE_HOST_NAMES' | 'DUPLICATE_STATE_NAMES' | 'DYNA_TRACE_CONFIGURATION_ERROR' | 'DYNA_TRACE_ERROR' | 'ELASTICSEARCH_NOT_AVAILABLE' | 'ELK_CONFIGURATION_ERROR' | 'EMAIL_ERROR' | 'EMAIL_FAILED' | 'EMAIL_NOT_VERIFIED' | 'EMAIL_VERIFICATION_TOKEN_NOT_FOUND' | 'ENCRYPTION_NOT_CONFIGURED' | 'ENCRYPT_DECRYPT_ERROR' | 'ENGINE_ENTITY_UPDATE_EXCEPTION' | 'ENGINE_EXPRESSION_EVALUATION_ERROR' | 'ENGINE_FUNCTOR_ERROR' | 'ENGINE_INTERRUPT_PROCESSING_EXCEPTION' | 'ENGINE_IO_EXCEPTION' | 'ENGINE_OUTCOME_EXCEPTION' | 'ENGINE_SWEEPING_OUTPUT_EXCEPTION' | 'ENTITY_NOT_FOUND' | 'ENTITY_REFERENCE_EXCEPTION' | 'ERROR_IN_GETTING_CHANNEL_STREAMS' | 'EVENT_LISTENER_STEP_FAILURE' | 'EVENT_PUBLISH_FAILED' | 'EXCEPTION_HANDLER_NOT_FOUND' | 'EXPIRED_TOKEN' | 'EXPIRE_ALL_ALREADY' | 'EXPLANATION' | 'EXPRESSION_EVALUATION_FAILED' | 'FAILED_TO_ACQUIRE_NON_PERSISTENT_LOCK' | 'FAILED_TO_ACQUIRE_PERSISTENT_LOCK' | 'FEATURE_UNAVAILABLE' | 'FILE_CREATE_ERROR' | 'FILE_DOWNLOAD_FAILED' | 'FILE_INTEGRITY_CHECK_FAILED' | 'FILE_NOT_FOUND_ERROR' | 'FILE_READ_FAILED' | 'FILE_SIZE_EXCEEDS_LIMIT' | 'FILTER_CREATION_ERROR' | 'FREEZE_EXCEPTION' | 'GCP_KMS_OPERATION_ERROR' | 'GCP_MARKETPLACE_EXCEPTION' | 'GCP_SECRET_MANAGER_OPERATION_ERROR' | 'GCP_SECRET_OPERATION_ERROR' | 'GCP_SERVER_ERROR' | 'GENERAL_ERROR' | 'GENERAL_YAML_ERROR' | 'GENERAL_YAML_INFO' | 'GITX_OAUTH_NOT_SET' | 'GIT_CONNECTION_ERROR' | 'GIT_DIFF_COMMIT_NOT_IN_ORDER' | 'GIT_ERROR' | 'GIT_OPERATION_ERROR' | 'GIT_SYNC_ERROR' | 'GIT_UNSEEN_REMOTE_HEAD_COMMIT' | 'GRAPHQL_ERROR' | 'HEALTH_ERROR' | 'HINT' | 'HTTP_BAD_GATEWAY' | 'HTTP_CLIENT_ERROR_RESPONSE' | 'HTTP_GATEWAY_TIMEOUT' | 'HTTP_INTERNAL_SERVER_ERROR' | 'HTTP_RESPONSE_EXCEPTION' | 'HTTP_SERVER_ERROR_RESPONSE' | 'HTTP_SERVICE_UNAVAILABLE' | 'ILLEGAL_ARGUMENT' | 'ILLEGAL_STATE' | 'IMAGE_NOT_FOUND' | 'IMAGE_TAG_NOT_FOUND' | 'INACTIVE_ACCOUNT' | 'INCORRECT_DEFAULT_GOOGLE_CREDENTIALS' | 'INCORRECT_SIGN_IN_MECHANISM' | 'INITIAL_STATE_NOT_DEFINED' | 'INIT_TIMEOUT' | 'INSTANA_CONFIGURATION_ERROR' | 'INSTANCE_STATS_AGGREGATION_ERROR' | 'INSTANCE_STATS_MIGRATION_ERROR' | 'INSTANCE_STATS_PROCESS_ERROR' | 'INTERNAL_SERVER_ERROR' | 'INVALID_ACCOUNT_PERMISSION' | 'INVALID_AGENT_MTLS_AUTHORITY' | 'INVALID_ARGUMENT' | 'INVALID_ARTIFACTORY_REGISTRY_REQUEST' | 'INVALID_ARTIFACT_SERVER' | 'INVALID_ARTIFACT_SOURCE' | 'INVALID_AUTHENTICATION_MECHANISM' | 'INVALID_AZURE_AKS_REQUEST' | 'INVALID_AZURE_CONTAINER_REGISTRY_REQUEST' | 'INVALID_AZURE_VAULT_CONFIGURATION' | 'INVALID_CAPTCHA_TOKEN' | 'INVALID_CLOUD_PROVIDER' | 'INVALID_CONNECTOR_TYPE' | 'INVALID_CREDENTIAL' | 'INVALID_CREDENTIALS' | 'INVALID_CREDENTIALS_THIRD_PARTY' | 'INVALID_CSV_FILE' | 'INVALID_DASHBOARD_UPDATE_REQUEST' | 'INVALID_EMAIL' | 'INVALID_EXECUTION_ID' | 'INVALID_FORMAT' | 'INVALID_IDENTIFIER_REF' | 'INVALID_INFRA_CONFIGURATION' | 'INVALID_INFRA_STATE' | 'INVALID_INPUT_SET' | 'INVALID_JSON_PAYLOAD' | 'INVALID_KEY' | 'INVALID_KEYPATH' | 'INVALID_LDAP_CONFIGURATION' | 'INVALID_MARKETPLACE_TOKEN' | 'INVALID_NEXUS_REGISTRY_REQUEST' | 'INVALID_OAUTH_CONFIGURATION' | 'INVALID_OIDC_CONFIGURATION' | 'INVALID_OR_PRIVATE_REPO' | 'INVALID_OVERLAY_INPUT_SET' | 'INVALID_PIPELINE' | 'INVALID_PORT' | 'INVALID_REQUEST' | 'INVALID_ROLLBACK' | 'INVALID_SAML_CONFIGURATION' | 'INVALID_TERRAFORM_TARGETS_REQUEST' | 'INVALID_TICKETING_SERVER' | 'INVALID_TOKEN' | 'INVALID_TOTP_TOKEN' | 'INVALID_TWO_FACTOR_AUTHENTICATION_CONFIGURATION' | 'INVALID_URL' | 'INVALID_USAGE_RESTRICTION' | 'INVALID_VARIABLE' | 'INVALID_YAML_ERROR' | 'INVALID_YAML_PAYLOAD' | 'JENKINS_ERROR' | 'JIRA_CLIENT_ERROR' | 'JIRA_ERROR' | 'KMS_OPERATION_ERROR' | 'KRYO_HANDLER_NOT_FOUND_ERROR' | 'KUBERNETES_API_TASK_EXCEPTION' | 'KUBERNETES_CLUSTER_ERROR' | 'KUBERNETES_TASK_EXCEPTION' | 'KUBERNETES_VALUES_ERROR' | 'KUBERNETES_YAML_ERROR' | 'LICENSE_EXPIRED' | 'LOGZ_CONFIGURATION_ERROR' | 'MARKETPLACE_TOKEN_NOT_FOUND' | 'MAX_FAILED_ATTEMPT_COUNT_EXCEEDED' | 'MEDIA_NOT_SUPPORTED' | 'MIGRATION_EXCEPTION' | 'MISSING_BEFORE_YAML' | 'MISSING_DEFAULT_GOOGLE_CREDENTIALS' | 'MISSING_EXCEPTION' | 'MISSING_YAML' | 'MONGO_EXECUTION_TIMEOUT_EXCEPTION' | 'NEWRELIC_CONFIGURATION_ERROR' | 'NEWRELIC_ERROR' | 'NG_ACCESS_DENIED' | 'NG_PIPELINE_CREATE_EXCEPTION' | 'NG_PIPELINE_EXECUTION_EXCEPTION' | 'NON_EMPTY_DELETIONS' | 'NON_EXISTING_PIPELINE' | 'NON_FORK_STATES' | 'NON_REPEAT_STATES' | 'NOT_ACCOUNT_MGR_NOR_HAS_ALL_APP_ACCESS' | 'NOT_LICENSED' | 'NOT_WHITELISTED_IP' | 'NO_APPS_ASSIGNED' | 'NO_AVAILABLE_DELEGATES' | 'NO_AVAILABLE_RUNNERS' | 'NO_ELIGIBLE_RUNNERS' | 'NO_GLOBAL_DELEGATE_ACCOUNT' | 'NO_INSTALLED_DELEGATES' | 'OAUTH_LOGIN_FAILED' | 'OBJECT_STORE_NOT_AVAILABLE' | 'OPA_POLICY_EVALUATION_ERROR' | 'OPTIMISTIC_LOCKING_EXCEPTION' | 'PAGERDUTY_ERROR' | 'PARAMETER_FIELD_CAST_ERROR' | 'PASSWORD_EXPIRED' | 'PASSWORD_STRENGTH_CHECK_FAILED' | 'PAUSE_ALL_ALREADY' | 'PIPELINE_ALREADY_TRIGGERED' | 'PIPELINE_EXECUTION_IN_PROGRESS' | 'PIPELINE_UPDATE_EXCEPTION' | 'PLAN_CREATION_ERROR' | 'PLATFORM_SOFTWARE_DELETE_ERROR' | 'PMS_INITIALIZE_SDK_EXCEPTION' | 'POD_NOT_FOUND_ERROR' | 'POLICY_EVALUATION_FAILURE' | 'POLICY_SET_ERROR' | 'PROCESS_EXECUTION_EXCEPTION' | 'PROMETHEUS_CONFIGURATION_ERROR' | 'PR_CREATION_ERROR' | 'READ_FILE_FROM_AWS_STORAGE_FAILED' | 'READ_FILE_FROM_GCP_STORAGE_FAILED' | 'REGISTRY_EXCEPTION' | 'REQUEST_PROCESSING_INTERRUPTED' | 'REQUEST_TIMEOUT' | 'RESOURCE_ALREADY_EXISTS' | 'RESOURCE_NOT_FOUND' | 'RESOURCE_NOT_FOUND_EXCEPTION' | 'RESUME_ALL_ALREADY' | 'RETRY_FAILED' | 'REVOKED_TOKEN' | 'ROLE_DOES_NOT_EXIST' | 'ROLLBACK_ALREADY' | 'RUNNER_DISCONNECTED' | 'SAML_IDP_CONFIGURATION_NOT_AVAILABLE' | 'SAML_TEST_SUCCESS_MECHANISM_NOT_ENABLED' | 'SAVE_FILE_INTO_AWS_STORAGE_FAILED' | 'SAVE_FILE_INTO_GCP_STORAGE_FAILED' | 'SCHEMA_VALIDATION_FAILED' | 'SCM_API_ERROR' | 'SCM_BAD_REQUEST' | 'SCM_CONFLICT_ERROR' | 'SCM_CONFLICT_ERROR_V2' | 'SCM_FAILED_DEPENDENCY_ERROR' | 'SCM_FORBIDDEN' | 'SCM_INTERNAL_SERVER_ERROR' | 'SCM_INTERNAL_SERVER_ERROR_V2' | 'SCM_NOT_FOUND_ERROR' | 'SCM_NOT_MODIFIED' | 'SCM_REQUEST_TIMEOUT' | 'SCM_UNAUTHORIZED' | 'SCM_UNAUTHORIZED_ERROR_V2' | 'SCM_UNEXPECTED_ERROR' | 'SCM_UNPROCESSABLE_ENTITY' | 'SECRET_MANAGEMENT_ERROR' | 'SECRET_MANAGER_ID_NOT_FOUND' | 'SECRET_NOT_FOUND' | 'SERVICENOW_ERROR' | 'SERVICENOW_REFRESH_TOKEN_ERROR' | 'SERVICE_GUARD_CONFIGURATION_ERROR' | 'SHELL_EXECUTION_EXCEPTION' | 'SOCKET_CONNECTION_ERROR' | 'SOCKET_CONNECTION_TIMEOUT' | 'SPLUNK_CONFIGURATION_ERROR' | 'SPOTINST_NULL_ERROR' | 'SPOTNIST_REST_EXCEPTION' | 'SSH_CONNECTION_ERROR' | 'SSH_RETRY' | 'SSH_SESSION_TIMEOUT' | 'SSL_HANDSHAKE_FAILED' | 'STACKDRIVER_CONFIGURATION_ERROR' | 'STACKDRIVER_ERROR' | 'STATES_WITH_DUP_TRANSITIONS' | 'STATE_DISCONTINUE_FAILED' | 'STATE_EXECUTION_INSTANCE_NOT_FOUND' | 'STATE_MACHINE_ISSUE' | 'STATE_NOT_FOR_TYPE' | 'STATE_PAUSE_FAILED' | 'SUMO_CONFIGURATION_ERROR' | 'SUMO_DATA_COLLECTION_ERROR' | 'TASK_FAILURE_ERROR' | 'TEMPLATES_LINKED' | 'TEMPLATE_ALREADY_EXISTS_EXCEPTION' | 'TEMPLATE_EXCEPTION' | 'TEMPLATE_NOT_FOUND' | 'TERRAFORM_CLOUD_ERROR' | 'TERRAFORM_EXECUTION_ERROR' | 'TERRAFORM_VAULT_SECRET_CLEANUP_FAILURE' | 'TERRAGRUNT_EXECUTION_ERROR' | 'TIMEOUT_ENGINE_EXCEPTION' | 'TIMESCALE_NOT_AVAILABLE' | 'TOKEN_ALREADY_REFRESHED_ONCE' | 'TOO_MANY_REQUESTS' | 'TRANSACTION_ABORTED' | 'TRANSITION_NOT_LINKED' | 'TRANSITION_TO_INCORRECT_STATE' | 'TRANSITION_TYPE_NULL' | 'UNAVAILABLE_DELEGATES' | 'UNEXPECTED' | 'UNEXPECTED_SCHEMA_EXCEPTION' | 'UNEXPECTED_SNIPPET_EXCEPTION' | 'UNEXPECTED_TYPE_ERROR' | 'UNKNOWN_ARTIFACT_TYPE' | 'UNKNOWN_ERROR' | 'UNKNOWN_EXECUTOR_TYPE_ERROR' | 'UNKNOWN_HOST' | 'UNKNOWN_STAGE_ELEMENT_WRAPPER_TYPE' | 'UNREACHABLE_HOST' | 'UNRECOGNIZED_YAML_FIELDS' | 'UNRESOLVED_EXPRESSIONS_ERROR' | 'UNSUPPORTED_OPERATION_EXCEPTION' | 'UPDATE_NOT_ALLOWED' | 'URL_NOT_PROVIDED' | 'URL_NOT_REACHABLE' | 'USAGE_LIMITS_EXCEEDED' | 'USAGE_RESTRICTION_ERROR' | 'USER_ALREADY_PRESENT' | 'USER_ALREADY_REGISTERED' | 'USER_DISABLED' | 'USER_DOES_NOT_EXIST' | 'USER_DOMAIN_NOT_ALLOWED' | 'USER_GROUP_ALREADY_EXIST' | 'USER_GROUP_ERROR' | 'USER_GROUP_SYNC_FAILURE' | 'USER_HAS_NO_PERMISSIONS' | 'USER_INVITATION_DOES_NOT_EXIST' | 'USER_INVITE_OPERATION_FAILED' | 'USER_LOCKED' | 'USER_MARKED_FAILURE' | 'USER_NOT_AUTHORIZED' | 'USER_NOT_AUTHORIZED_DUE_TO_USAGE_RESTRICTIONS' | 'VAULT_OPERATION_ERROR' | 'WEBHOOK_EXCEPTION' | 'WINRM_COMMAND_EXECUTION_TIMEOUT' | 'WORKFLOW_ALREADY_TRIGGERED' | 'WORKFLOW_EXECUTION_IN_PROGRESS' | 'YAML_GIT_SYNC_ERROR';
6
+ correlationId?: string;
7
+ detailedMessage?: string;
8
+ failedPermissionChecks?: PermissionCheck[];
9
+ message?: string;
10
+ metadata?: ErrorMetadataDto;
11
+ responseMessages?: ResponseMessage[];
12
+ status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
13
+ }
@@ -0,0 +1,3 @@
1
+ export interface AdviserIssuer {
2
+ adviseType: 'END_PLAN' | 'IGNORE_FAILURE' | 'INTERVENTION_WAIT' | 'MARK_AS_FAILURE' | 'MARK_SUCCESS' | 'NEXT_STEP' | 'PROCEED_WITH_DEFAULT' | 'RETRY' | 'UNKNOWN' | 'UNRECOGNIZED';
3
+ }
@@ -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,6 @@
1
+ import type { ExecutionGraph } from '../schemas/ExecutionGraph';
2
+ import type { PipelineExecutionSummary } from '../schemas/PipelineExecutionSummary';
3
+ export interface ChildExecutionDetailDto {
4
+ executionGraph?: ExecutionGraph;
5
+ pipelineExecutionSummary?: PipelineExecutionSummary;
6
+ }
@@ -0,0 +1,6 @@
1
+ export interface DelegateInfo {
2
+ id?: string;
3
+ name?: string;
4
+ taskId?: string;
5
+ taskName?: string;
6
+ }
@@ -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 EdgeLayoutList {
2
+ currentNodeChildren?: string[];
3
+ nextIds?: string[];
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 EntityGitDetails {
2
+ branch?: string;
3
+ commitId?: string;
4
+ filePath?: string;
5
+ fileUrl?: string;
6
+ isHarnessCodeRepo?: boolean;
7
+ objectId?: string;
8
+ parentEntityConnectorRef?: string;
9
+ parentEntityRepoName?: string;
10
+ repoIdentifier?: string;
11
+ repoName?: string;
12
+ repoUrl?: string;
13
+ rootFolder?: string;
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 {};
@@ -0,0 +1,4 @@
1
+ export interface EntityValidityDetails {
2
+ invalidYaml?: string;
3
+ valid?: boolean;
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,3 @@
1
+ export interface ExecutableResponse {
2
+ [key: string]: any;
3
+ }
@@ -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,3 @@
1
+ export interface ExecutionErrorInfo {
2
+ [key: string]: any;
3
+ }
@@ -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,15 @@
1
+ import type { ExecutionNodeAdjacencyList } from '../schemas/ExecutionNodeAdjacencyList';
2
+ import type { ExecutionNode } from '../schemas/ExecutionNode';
3
+ export interface ExecutionGraph {
4
+ executionMetadata?: {
5
+ [key: string]: string;
6
+ };
7
+ nodeAdjacencyListMap?: {
8
+ [key: string]: ExecutionNodeAdjacencyList;
9
+ };
10
+ nodeMap?: {
11
+ [key: string]: ExecutionNode;
12
+ };
13
+ representationStrategy?: 'camelCase';
14
+ rootNodeId?: string;
15
+ }
@@ -0,0 +1,16 @@
1
+ export interface ExecutionInfo {
2
+ /**
3
+ * @format int64
4
+ */
5
+ endTs?: number;
6
+ /**
7
+ * @format int32
8
+ */
9
+ runSequence?: number;
10
+ /**
11
+ * @format int64
12
+ */
13
+ startTs?: number;
14
+ status?: 'APPROVAL_REJECTED' | 'APPROVAL_WAITING' | 'Aborted' | 'AbortedByFreeze' | 'ApprovalRejected' | 'ApprovalWaiting' | 'AsyncWaiting' | 'Discontinuing' | 'Errored' | 'Expired' | 'Failed' | 'INTERVENTION_WAITING' | 'IgnoreFailed' | 'InputWaiting' | 'InterventionWaiting' | 'NOT_STARTED' | 'NotStarted' | 'Paused' | 'Pausing' | 'QUEUED_PLAN_CREATION' | 'QUEUED_STEP_CONCURRENCY' | 'Queued' | 'QueuedExecutionConcurrencyReached' | 'QueuedLicenseLimitReached' | 'ResourceWaiting' | 'Running' | 'STARTING' | 'STARTING_PLAN_CREATION' | 'Skipped' | 'Success' | 'Suspended' | 'TaskWaiting' | 'TimedWaiting' | 'UploadWaiting' | 'WAITING' | 'WaitStepRunning';
15
+ uuid?: string;
16
+ }
@@ -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,66 @@
1
+ import type { DelegateInfo } from '../schemas/DelegateInfo';
2
+ import type { ExecutableResponse } from '../schemas/ExecutableResponse';
3
+ import type { FailureInfoDto } from '../schemas/FailureInfoDto';
4
+ import type { InterruptEffectDto } from '../schemas/InterruptEffectDto';
5
+ import type { NodeRunInfo } from '../schemas/NodeRunInfo';
6
+ import type { RetryNodeMetadata } from '../schemas/RetryNodeMetadata';
7
+ import type { SkipInfo } from '../schemas/SkipInfo';
8
+ import type { StrategyMetadata } from '../schemas/StrategyMetadata';
9
+ import type { UnitProgress } from '../schemas/UnitProgress';
10
+ export interface ExecutionNode {
11
+ baseFqn?: string;
12
+ /**
13
+ * @format int64
14
+ */
15
+ createdAt?: number;
16
+ delegateInfoList?: DelegateInfo[];
17
+ /**
18
+ * @format int64
19
+ */
20
+ endTs?: number;
21
+ executableResponses?: ExecutableResponse[];
22
+ executionInputConfigured?: boolean;
23
+ failureInfo?: FailureInfoDto;
24
+ identifier?: string;
25
+ interruptHistories?: InterruptEffectDto[];
26
+ logBaseKey?: string;
27
+ manualInterventionAvailableActions?: Array<'CUSTOM_FAILURE' | 'END_EXECUTION' | 'IGNORE' | 'MANUAL_INTERVENTION' | 'MARK_AS_FAILURE' | 'MARK_AS_SUCCESS' | 'ON_FAIL' | 'PIPELINE_ROLLBACK' | 'RETRY' | 'STAGE_ROLLBACK' | 'STEP_GROUP_ROLLBACK' | 'UNKNOWN' | 'UNRECOGNIZED'>;
28
+ name?: string;
29
+ nodeRunInfo?: NodeRunInfo;
30
+ outcomes?: {
31
+ [key: string]: {
32
+ [key: string]: {
33
+ [key: string]: any;
34
+ };
35
+ };
36
+ };
37
+ progressData?: {
38
+ [key: string]: {
39
+ [key: string]: any;
40
+ };
41
+ };
42
+ retryNodeMetadata?: RetryNodeMetadata;
43
+ setupId?: string;
44
+ skipInfo?: SkipInfo;
45
+ /**
46
+ * @format int64
47
+ */
48
+ startTs?: number;
49
+ status?: 'APPROVAL_REJECTED' | 'APPROVAL_WAITING' | 'Aborted' | 'AbortedByFreeze' | 'ApprovalRejected' | 'ApprovalWaiting' | 'AsyncWaiting' | 'Discontinuing' | 'Errored' | 'Expired' | 'Failed' | 'INTERVENTION_WAITING' | 'IgnoreFailed' | 'InputWaiting' | 'InterventionWaiting' | 'NOT_STARTED' | 'NotStarted' | 'Paused' | 'Pausing' | 'QUEUED_PLAN_CREATION' | 'QUEUED_STEP_CONCURRENCY' | 'Queued' | 'QueuedExecutionConcurrencyReached' | 'QueuedLicenseLimitReached' | 'ResourceWaiting' | 'Running' | 'STARTING' | 'STARTING_PLAN_CREATION' | 'Skipped' | 'Success' | 'Suspended' | 'TaskWaiting' | 'TimedWaiting' | 'UploadWaiting' | 'WAITING' | 'WaitStepRunning';
50
+ stepDetails?: {
51
+ [key: string]: {
52
+ [key: string]: {
53
+ [key: string]: any;
54
+ };
55
+ };
56
+ };
57
+ stepParameters?: {
58
+ [key: string]: {
59
+ [key: string]: any;
60
+ };
61
+ };
62
+ stepType?: string;
63
+ strategyMetadata?: StrategyMetadata;
64
+ unitProgresses?: UnitProgress[];
65
+ uuid?: string;
66
+ }