@harnessio/react-pipeline-swagger-service-client 1.13.0 → 1.14.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 (44) hide show
  1. package/dist/pipeline-swagger-service/src/services/hooks/useDeleteFilterMutation.d.ts +1 -1
  2. package/dist/pipeline-swagger-service/src/services/hooks/useGetFilterListQuery.d.ts +1 -1
  3. package/dist/pipeline-swagger-service/src/services/hooks/useGetFilterQuery.d.ts +1 -1
  4. package/dist/pipeline-swagger-service/src/services/hooks/useGetPreflightCheckResponseQuery.d.ts +23 -0
  5. package/dist/pipeline-swagger-service/src/services/hooks/useGetPreflightCheckResponseQuery.js +14 -0
  6. package/dist/pipeline-swagger-service/src/services/hooks/useHandleManualInterventionInterruptMutation.d.ts +1 -1
  7. package/dist/pipeline-swagger-service/src/services/hooks/useStartPreflightCheckMutation.d.ts +32 -0
  8. package/dist/pipeline-swagger-service/src/services/hooks/useStartPreflightCheckMutation.js +14 -0
  9. package/dist/pipeline-swagger-service/src/services/index.d.ts +17 -0
  10. package/dist/pipeline-swagger-service/src/services/index.js +2 -0
  11. package/dist/pipeline-swagger-service/src/services/schemas/ConnectorCheckResponse.d.ts +12 -0
  12. package/dist/pipeline-swagger-service/src/services/schemas/ConnectorCheckResponse.js +1 -0
  13. package/dist/pipeline-swagger-service/src/services/schemas/ConnectorWrapperResponse.d.ts +6 -0
  14. package/dist/pipeline-swagger-service/src/services/schemas/ConnectorWrapperResponse.js +1 -0
  15. package/dist/pipeline-swagger-service/src/services/schemas/ExecutionNode.d.ts +1 -1
  16. package/dist/pipeline-swagger-service/src/services/schemas/FilterProperties.d.ts +11 -1
  17. package/dist/pipeline-swagger-service/src/services/schemas/FilterProperties.js +0 -3
  18. package/dist/pipeline-swagger-service/src/services/schemas/InterruptEffectDto.d.ts +1 -1
  19. package/dist/pipeline-swagger-service/src/services/schemas/NgTriggerDetailsResponse.d.ts +2 -0
  20. package/dist/pipeline-swagger-service/src/services/schemas/NgTriggerResponse.d.ts +2 -0
  21. package/dist/pipeline-swagger-service/src/services/schemas/PipelineExecutionInterrupt.d.ts +1 -1
  22. package/dist/pipeline-swagger-service/src/services/schemas/PipelineInputResponse.d.ts +8 -0
  23. package/dist/pipeline-swagger-service/src/services/schemas/PipelineInputResponse.js +1 -0
  24. package/dist/pipeline-swagger-service/src/services/schemas/PipelineWrapperResponse.d.ts +6 -0
  25. package/dist/pipeline-swagger-service/src/services/schemas/PipelineWrapperResponse.js +1 -0
  26. package/dist/pipeline-swagger-service/src/services/schemas/PreFlightCause.d.ts +3 -0
  27. package/dist/pipeline-swagger-service/src/services/schemas/PreFlightCause.js +4 -0
  28. package/dist/pipeline-swagger-service/src/services/schemas/PreFlightDto.d.ts +9 -0
  29. package/dist/pipeline-swagger-service/src/services/schemas/PreFlightDto.js +1 -0
  30. package/dist/pipeline-swagger-service/src/services/schemas/PreFlightEntityErrorInfo.d.ts +8 -0
  31. package/dist/pipeline-swagger-service/src/services/schemas/PreFlightEntityErrorInfo.js +1 -0
  32. package/dist/pipeline-swagger-service/src/services/schemas/PreFlightErrorInfo.d.ts +7 -0
  33. package/dist/pipeline-swagger-service/src/services/schemas/PreFlightErrorInfo.js +4 -0
  34. package/dist/pipeline-swagger-service/src/services/schemas/PreFlightResolution.d.ts +3 -0
  35. package/dist/pipeline-swagger-service/src/services/schemas/PreFlightResolution.js +4 -0
  36. package/dist/pipeline-swagger-service/src/services/schemas/ResponsePreFlightDto.d.ts +9 -0
  37. package/dist/pipeline-swagger-service/src/services/schemas/ResponsePreFlightDto.js +1 -0
  38. package/dist/pipeline-swagger-service/src/services/schemas/ResponseString.d.ts +8 -0
  39. package/dist/pipeline-swagger-service/src/services/schemas/ResponseString.js +4 -0
  40. package/dist/pipeline-swagger-service/src/services/schemas/TimeRange.d.ts +12 -0
  41. package/dist/pipeline-swagger-service/src/services/schemas/TimeRange.js +4 -0
  42. package/dist/pipeline-swagger-service/src/services/schemas/TriggerExecutorDto.d.ts +6 -0
  43. package/dist/pipeline-swagger-service/src/services/schemas/TriggerExecutorDto.js +4 -0
  44. package/package.json +1 -1
@@ -11,7 +11,7 @@ export interface DeleteFilterMutationQueryParams {
11
11
  accountIdentifier: string;
12
12
  orgIdentifier?: string;
13
13
  projectIdentifier?: string;
14
- type: 'Anomaly' | 'Audit' | 'Autocud' | 'CCMBudget' | 'CCMConnector' | 'CCMK8sConnector' | 'CCMRecommendation' | 'Connector' | 'Delegate' | 'DelegateProfile' | 'Deployment' | 'Environment' | 'EnvironmentGroup' | 'FileStore' | 'InputSet' | 'Override' | 'PipelineExecution' | 'PipelineSetup' | 'RIInventory' | 'RuleExecution' | 'SPInventory' | 'Secret' | 'Service' | 'Template' | 'Trigger' | 'Webhook';
14
+ type: 'Anomaly' | 'Audit' | 'Autocud' | 'CCMBudget' | 'CCMConnector' | 'CCMK8sConnector' | 'CCMRecommendation' | 'Connector' | 'Delegate' | 'DelegateProfile' | 'Deployment' | 'Environment' | 'EnvironmentGroup' | 'FileStore' | 'InputSet' | 'Override' | 'PipelineExecution' | 'PipelineSetup' | 'QueuedPipeline' | 'RIInventory' | 'RuleExecution' | 'SPInventory' | 'Secret' | 'Service' | 'Template' | 'Trigger' | 'Webhook';
15
15
  }
16
16
  export type DeleteFilterOkResponse = ResponseWithPagination<ResponseBoolean>;
17
17
  export type DeleteFilterErrorResponse = Failure | Error;
@@ -18,7 +18,7 @@ export interface GetFilterListQueryQueryParams {
18
18
  accountIdentifier: string;
19
19
  orgIdentifier?: string;
20
20
  projectIdentifier?: string;
21
- type: 'Anomaly' | 'Audit' | 'Autocud' | 'CCMBudget' | 'CCMConnector' | 'CCMK8sConnector' | 'CCMRecommendation' | 'Connector' | 'Delegate' | 'DelegateProfile' | 'Deployment' | 'Environment' | 'EnvironmentGroup' | 'FileStore' | 'InputSet' | 'Override' | 'PipelineExecution' | 'PipelineSetup' | 'RIInventory' | 'RuleExecution' | 'SPInventory' | 'Secret' | 'Service' | 'Template' | 'Trigger' | 'Webhook';
21
+ type: 'Anomaly' | 'Audit' | 'Autocud' | 'CCMBudget' | 'CCMConnector' | 'CCMK8sConnector' | 'CCMRecommendation' | 'Connector' | 'Delegate' | 'DelegateProfile' | 'Deployment' | 'Environment' | 'EnvironmentGroup' | 'FileStore' | 'InputSet' | 'Override' | 'PipelineExecution' | 'PipelineSetup' | 'QueuedPipeline' | 'RIInventory' | 'RuleExecution' | 'SPInventory' | 'Secret' | 'Service' | 'Template' | 'Trigger' | 'Webhook';
22
22
  searchTerm?: string;
23
23
  }
24
24
  export type GetFilterListOkResponse = ResponseWithPagination<ResponsePageFilterDto>;
@@ -11,7 +11,7 @@ export interface GetFilterQueryQueryParams {
11
11
  accountIdentifier: string;
12
12
  orgIdentifier?: string;
13
13
  projectIdentifier?: string;
14
- type: 'Anomaly' | 'Audit' | 'Autocud' | 'CCMBudget' | 'CCMConnector' | 'CCMK8sConnector' | 'CCMRecommendation' | 'Connector' | 'Delegate' | 'DelegateProfile' | 'Deployment' | 'Environment' | 'EnvironmentGroup' | 'FileStore' | 'InputSet' | 'Override' | 'PipelineExecution' | 'PipelineSetup' | 'RIInventory' | 'RuleExecution' | 'SPInventory' | 'Secret' | 'Service' | 'Template' | 'Trigger' | 'Webhook';
14
+ type: 'Anomaly' | 'Audit' | 'Autocud' | 'CCMBudget' | 'CCMConnector' | 'CCMK8sConnector' | 'CCMRecommendation' | 'Connector' | 'Delegate' | 'DelegateProfile' | 'Deployment' | 'Environment' | 'EnvironmentGroup' | 'FileStore' | 'InputSet' | 'Override' | 'PipelineExecution' | 'PipelineSetup' | 'QueuedPipeline' | 'RIInventory' | 'RuleExecution' | 'SPInventory' | 'Secret' | 'Service' | 'Template' | 'Trigger' | 'Webhook';
15
15
  }
16
16
  export type GetFilterOkResponse = ResponseWithPagination<ResponseFilterDto>;
17
17
  export type GetFilterErrorResponse = Failure | Error;
@@ -0,0 +1,23 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ResponsePreFlightDto } from '../schemas/ResponsePreFlightDto';
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 GetPreflightCheckResponseQueryQueryParams {
9
+ accountIdentifier: string;
10
+ orgIdentifier: string;
11
+ projectIdentifier: string;
12
+ preflightCheckId: string;
13
+ }
14
+ export type GetPreflightCheckResponseOkResponse = ResponseWithPagination<ResponsePreFlightDto>;
15
+ export type GetPreflightCheckResponseErrorResponse = Failure | AccessControlCheckError | Error;
16
+ export interface GetPreflightCheckResponseProps extends Omit<FetcherOptions<GetPreflightCheckResponseQueryQueryParams, unknown>, 'url'> {
17
+ queryParams: GetPreflightCheckResponseQueryQueryParams;
18
+ }
19
+ export declare function getPreflightCheckResponse(props: GetPreflightCheckResponseProps): Promise<GetPreflightCheckResponseOkResponse>;
20
+ /**
21
+ *
22
+ */
23
+ export declare function useGetPreflightCheckResponseQuery(props: GetPreflightCheckResponseProps, options?: Omit<UseQueryOptions<GetPreflightCheckResponseOkResponse, GetPreflightCheckResponseErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetPreflightCheckResponseOkResponse, GetPreflightCheckResponseErrorResponse>;
@@ -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 getPreflightCheckResponse(props) {
7
+ return fetcher(Object.assign({ url: `/pipeline/execute/getPreflightCheckResponse`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useGetPreflightCheckResponseQuery(props, options) {
13
+ return useQuery(['getPreflightCheckResponse', props.queryParams], ({ signal }) => getPreflightCheckResponse(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -13,7 +13,7 @@ export interface HandleManualInterventionInterruptMutationQueryParams {
13
13
  accountIdentifier: string;
14
14
  orgIdentifier: string;
15
15
  projectIdentifier: string;
16
- interruptType: 'Abort' | 'AbortAll' | 'ExpireAll' | 'Ignore' | 'MarkAsFailure' | 'MarkAsSuccess' | 'Pause' | 'PipelineRollback' | 'Resume' | 'Retry' | 'StageRollback' | 'StepGroupRollback' | 'UserMarkedFailure';
16
+ interruptType: 'Abort' | 'AbortAll' | 'ExpireAll' | 'Ignore' | 'MarkAsFailure' | 'MarkAsSuccess' | 'Pause' | 'PipelineRollback' | 'Resume' | 'Retry' | 'RetryStepGroup' | 'StageRollback' | 'StepGroupRollback' | 'UserMarkedFailure';
17
17
  }
18
18
  export type HandleManualInterventionInterruptOkResponse = ResponseWithPagination<ResponsePipelineExecutionInterrupt>;
19
19
  export type HandleManualInterventionInterruptErrorResponse = Failure | AccessControlCheckError | Error;
@@ -0,0 +1,32 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ResponseString } from '../schemas/ResponseString';
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 StartPreflightCheckMutationQueryParams {
9
+ accountIdentifier: string;
10
+ orgIdentifier: string;
11
+ projectIdentifier: string;
12
+ pipelineIdentifier?: string;
13
+ branch?: string;
14
+ repoIdentifier?: string;
15
+ getDefaultFromOtherRepo?: boolean;
16
+ parentEntityConnectorRef?: string;
17
+ parentEntityRepoName?: string;
18
+ parentEntityAccountIdentifier?: string;
19
+ parentEntityOrgIdentifier?: string;
20
+ parentEntityProjectIdentifier?: string;
21
+ repoName?: string;
22
+ }
23
+ export type StartPreflightCheckOkResponse = ResponseWithPagination<ResponseString>;
24
+ export type StartPreflightCheckErrorResponse = Failure | AccessControlCheckError | Error;
25
+ export interface StartPreflightCheckProps extends Omit<FetcherOptions<StartPreflightCheckMutationQueryParams, unknown>, 'url'> {
26
+ queryParams: StartPreflightCheckMutationQueryParams;
27
+ }
28
+ export declare function startPreflightCheck(props: StartPreflightCheckProps): Promise<StartPreflightCheckOkResponse>;
29
+ /**
30
+ *
31
+ */
32
+ export declare function useStartPreflightCheckMutation(options?: Omit<UseMutationOptions<StartPreflightCheckOkResponse, StartPreflightCheckErrorResponse, StartPreflightCheckProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<StartPreflightCheckOkResponse, StartPreflightCheckErrorResponse, StartPreflightCheckProps, 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 startPreflightCheck(props) {
7
+ return fetcher(Object.assign({ url: `/pipeline/execute/preflightCheck`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useStartPreflightCheckMutation(options) {
13
+ return useMutation((mutateProps) => startPreflightCheck(mutateProps), options);
14
+ }
@@ -49,6 +49,8 @@ export type { GetPipelineSummaryErrorResponse, GetPipelineSummaryOkResponse, Get
49
49
  export { getPipelineSummary, useGetPipelineSummaryQuery } from './hooks/useGetPipelineSummaryQuery';
50
50
  export type { GetPolicyEvaluationErrorResponse, GetPolicyEvaluationOkResponse, GetPolicyEvaluationProps, GetPolicyEvaluationQueryPathParams, GetPolicyEvaluationQueryQueryParams, } from './hooks/useGetPolicyEvaluationQuery';
51
51
  export { getPolicyEvaluation, useGetPolicyEvaluationQuery, } from './hooks/useGetPolicyEvaluationQuery';
52
+ export type { GetPreflightCheckResponseErrorResponse, GetPreflightCheckResponseOkResponse, GetPreflightCheckResponseProps, GetPreflightCheckResponseQueryQueryParams, } from './hooks/useGetPreflightCheckResponseQuery';
53
+ export { getPreflightCheckResponse, useGetPreflightCheckResponseQuery, } from './hooks/useGetPreflightCheckResponseQuery';
52
54
  export type { GetTriggerCatalogErrorResponse, GetTriggerCatalogOkResponse, GetTriggerCatalogProps, GetTriggerCatalogQueryQueryParams, } from './hooks/useGetTriggerCatalogQuery';
53
55
  export { getTriggerCatalog, useGetTriggerCatalogQuery } from './hooks/useGetTriggerCatalogQuery';
54
56
  export type { GetTriggerDetailsErrorResponse, GetTriggerDetailsOkResponse, GetTriggerDetailsProps, GetTriggerDetailsQueryPathParams, GetTriggerDetailsQueryQueryParams, } from './hooks/useGetTriggerDetailsQuery';
@@ -69,6 +71,8 @@ export type { PostFilterErrorResponse, PostFilterMutationQueryParams, PostFilter
69
71
  export { postFilter, usePostFilterMutation } from './hooks/usePostFilterMutation';
70
72
  export type { RetryHistoryErrorResponse, RetryHistoryOkResponse, RetryHistoryProps, RetryHistoryQueryPathParams, RetryHistoryQueryQueryParams, } from './hooks/useRetryHistoryQuery';
71
73
  export { retryHistory, useRetryHistoryQuery } from './hooks/useRetryHistoryQuery';
74
+ export type { StartPreflightCheckErrorResponse, StartPreflightCheckMutationQueryParams, StartPreflightCheckOkResponse, StartPreflightCheckProps, } from './hooks/useStartPreflightCheckMutation';
75
+ export { startPreflightCheck, useStartPreflightCheckMutation, } from './hooks/useStartPreflightCheckMutation';
72
76
  export type { TriggerEventHistoryErrorResponse, TriggerEventHistoryOkResponse, TriggerEventHistoryProps, TriggerEventHistoryQueryPathParams, TriggerEventHistoryQueryQueryParams, } from './hooks/useTriggerEventHistoryQuery';
73
77
  export { triggerEventHistory, useTriggerEventHistoryQuery, } from './hooks/useTriggerEventHistoryQuery';
74
78
  export type { UpdateFilterErrorResponse, UpdateFilterMutationQueryParams, UpdateFilterOkResponse, UpdateFilterProps, UpdateFilterRequestBody, } from './hooks/useUpdateFilterMutation';
@@ -92,6 +96,8 @@ export type { BatchInputSetsApiRequest } from './schemas/BatchInputSetsApiReques
92
96
  export type { BuildDetails } from './schemas/BuildDetails';
93
97
  export type { CacheResponseMetadata } from './schemas/CacheResponseMetadata';
94
98
  export type { ChildExecutionDetailDto } from './schemas/ChildExecutionDetailDto';
99
+ export type { ConnectorCheckResponse } from './schemas/ConnectorCheckResponse';
100
+ export type { ConnectorWrapperResponse } from './schemas/ConnectorWrapperResponse';
95
101
  export type { DelegateInfo } from './schemas/DelegateInfo';
96
102
  export type { EdgeLayoutList } from './schemas/EdgeLayoutList';
97
103
  export type { EntityGitDetails } from './schemas/EntityGitDetails';
@@ -152,11 +158,18 @@ export type { PipelineExecutionInterrupt } from './schemas/PipelineExecutionInte
152
158
  export type { PipelineExecutionNotes } from './schemas/PipelineExecutionNotes';
153
159
  export type { PipelineExecutionSummary } from './schemas/PipelineExecutionSummary';
154
160
  export type { PipelineFilterProperties } from './schemas/PipelineFilterProperties';
161
+ export type { PipelineInputResponse } from './schemas/PipelineInputResponse';
155
162
  export type { PipelineStageInfo } from './schemas/PipelineStageInfo';
163
+ export type { PipelineWrapperResponse } from './schemas/PipelineWrapperResponse';
156
164
  export type { PmsPipelineListBranchesResponse } from './schemas/PmsPipelineListBranchesResponse';
157
165
  export type { PmsPipelineListRepoResponse } from './schemas/PmsPipelineListRepoResponse';
158
166
  export type { PmsPipelineSummaryResponse } from './schemas/PmsPipelineSummaryResponse';
159
167
  export type { PollingSubscriptionStatus } from './schemas/PollingSubscriptionStatus';
168
+ export type { PreFlightCause } from './schemas/PreFlightCause';
169
+ export type { PreFlightDto } from './schemas/PreFlightDto';
170
+ export type { PreFlightEntityErrorInfo } from './schemas/PreFlightEntityErrorInfo';
171
+ export type { PreFlightErrorInfo } from './schemas/PreFlightErrorInfo';
172
+ export type { PreFlightResolution } from './schemas/PreFlightResolution';
160
173
  export type { RecentExecutionInfoDto } from './schemas/RecentExecutionInfoDto';
161
174
  export type { ResourceScope } from './schemas/ResourceScope';
162
175
  export type { ResponseAnnotationContentResponseDto } from './schemas/ResponseAnnotationContentResponseDto';
@@ -185,7 +198,9 @@ export type { ResponsePipelineExecutionNotes } from './schemas/ResponsePipelineE
185
198
  export type { ResponsePmsPipelineListBranchesResponse } from './schemas/ResponsePmsPipelineListBranchesResponse';
186
199
  export type { ResponsePmsPipelineListRepoResponse } from './schemas/ResponsePmsPipelineListRepoResponse';
187
200
  export type { ResponsePmsPipelineSummaryResponse } from './schemas/ResponsePmsPipelineSummaryResponse';
201
+ export type { ResponsePreFlightDto } from './schemas/ResponsePreFlightDto';
188
202
  export type { ResponseRetryHistoryResponseDto } from './schemas/ResponseRetryHistoryResponseDto';
203
+ export type { ResponseString } from './schemas/ResponseString';
189
204
  export type { ResponseTriggerCatalogResponse } from './schemas/ResponseTriggerCatalogResponse';
190
205
  export type { ResponseWorkflowGraph } from './schemas/ResponseWorkflowGraph';
191
206
  export type { RetryExecutionMetadata } from './schemas/RetryExecutionMetadata';
@@ -201,10 +216,12 @@ export type { SystemIssuer } from './schemas/SystemIssuer';
201
216
  export type { TargetExecutionSummary } from './schemas/TargetExecutionSummary';
202
217
  export type { TemplateReferenceSummary } from './schemas/TemplateReferenceSummary';
203
218
  export type { Throwable } from './schemas/Throwable';
219
+ export type { TimeRange } from './schemas/TimeRange';
204
220
  export type { TimeoutIssuer } from './schemas/TimeoutIssuer';
205
221
  export type { TriggerCatalogItem } from './schemas/TriggerCatalogItem';
206
222
  export type { TriggerCatalogResponse } from './schemas/TriggerCatalogResponse';
207
223
  export type { TriggerEventStatus } from './schemas/TriggerEventStatus';
224
+ export type { TriggerExecutorDto } from './schemas/TriggerExecutorDto';
208
225
  export type { TriggerIssuer } from './schemas/TriggerIssuer';
209
226
  export type { TriggerStatus } from './schemas/TriggerStatus';
210
227
  export type { UnitProgress } from './schemas/UnitProgress';
@@ -23,6 +23,7 @@ export { getPipelineExecutionAnnotations, useGetPipelineExecutionAnnotationsQuer
23
23
  export { getPipelineList, useGetPipelineListQuery } from './hooks/useGetPipelineListQuery';
24
24
  export { getPipelineSummary, useGetPipelineSummaryQuery } from './hooks/useGetPipelineSummaryQuery';
25
25
  export { getPolicyEvaluation, useGetPolicyEvaluationQuery, } from './hooks/useGetPolicyEvaluationQuery';
26
+ export { getPreflightCheckResponse, useGetPreflightCheckResponseQuery, } from './hooks/useGetPreflightCheckResponseQuery';
26
27
  export { getTriggerCatalog, useGetTriggerCatalogQuery } from './hooks/useGetTriggerCatalogQuery';
27
28
  export { getTriggerDetails, useGetTriggerDetailsQuery } from './hooks/useGetTriggerDetailsQuery';
28
29
  export { getTriggerListForTarget, useGetTriggerListForTargetQuery, } from './hooks/useGetTriggerListForTargetQuery';
@@ -33,6 +34,7 @@ export { handleManualInterventionInterrupt, useHandleManualInterventionInterrupt
33
34
  export { handleStageInterrupt, useHandleStageInterruptMutation, } from './hooks/useHandleStageInterruptMutation';
34
35
  export { postFilter, usePostFilterMutation } from './hooks/usePostFilterMutation';
35
36
  export { retryHistory, useRetryHistoryQuery } from './hooks/useRetryHistoryQuery';
37
+ export { startPreflightCheck, useStartPreflightCheckMutation, } from './hooks/useStartPreflightCheckMutation';
36
38
  export { triggerEventHistory, useTriggerEventHistoryQuery, } from './hooks/useTriggerEventHistoryQuery';
37
39
  export { updateFilter, useUpdateFilterMutation } from './hooks/useUpdateFilterMutation';
38
40
  export { updateInputSetForPipeline, useUpdateInputSetForPipelineMutation, } from './hooks/useUpdateInputSetForPipelineMutation';
@@ -0,0 +1,12 @@
1
+ import type { PreFlightEntityErrorInfo } from '../schemas/PreFlightEntityErrorInfo';
2
+ export interface ConnectorCheckResponse {
3
+ connectorIdentifier?: string;
4
+ errorInfo?: PreFlightEntityErrorInfo;
5
+ fqn?: string;
6
+ scope?: 'account' | 'org' | 'project' | 'unknown';
7
+ stageIdentifier?: string;
8
+ stageName?: string;
9
+ status?: 'FAILURE' | 'IN_PROGRESS' | 'SUCCESS' | 'UNKNOWN';
10
+ stepIdentifier?: string;
11
+ stepName?: string;
12
+ }
@@ -0,0 +1,6 @@
1
+ import type { ConnectorCheckResponse } from '../schemas/ConnectorCheckResponse';
2
+ export interface ConnectorWrapperResponse {
3
+ checkResponses?: ConnectorCheckResponse[];
4
+ label?: string;
5
+ status?: 'FAILURE' | 'IN_PROGRESS' | 'SUCCESS' | 'UNKNOWN';
6
+ }
@@ -28,7 +28,7 @@ export interface ExecutionNode {
28
28
  identifier?: string;
29
29
  interruptHistories?: InterruptEffectDto[];
30
30
  logBaseKey?: string;
31
- 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'>;
31
+ manualInterventionAvailableActions?: Array<'CUSTOM_FAILURE' | 'END_EXECUTION' | 'IGNORE' | 'MANUAL_INTERVENTION' | 'MARK_AS_FAILURE' | 'MARK_AS_SUCCESS' | 'ON_FAIL' | 'PIPELINE_ROLLBACK' | 'RETRY' | 'RETRY_STEP_GROUP' | 'STAGE_ROLLBACK' | 'STEP_GROUP_ROLLBACK' | 'UNKNOWN' | 'UNRECOGNIZED'>;
32
32
  name?: string;
33
33
  nodeRunInfo?: NodeRunInfo;
34
34
  outcomes?: {
@@ -1,9 +1,19 @@
1
+ import type { NgTag } from '../schemas/NgTag';
2
+ import type { TimeRange } from '../schemas/TimeRange';
1
3
  export interface FilterProperties {
2
- filterType?: 'Anomaly' | 'Audit' | 'Autocud' | 'CCMBudget' | 'CCMConnector' | 'CCMK8sConnector' | 'CCMRecommendation' | 'Connector' | 'Delegate' | 'DelegateProfile' | 'Deployment' | 'Environment' | 'EnvironmentGroup' | 'FileStore' | 'InputSet' | 'Override' | 'PipelineExecution' | 'PipelineSetup' | 'RIInventory' | 'RuleExecution' | 'SPInventory' | 'Secret' | 'Service' | 'Template' | 'Trigger' | 'Webhook';
4
+ filterType?: 'Anomaly' | 'Audit' | 'Autocud' | 'CCMBudget' | 'CCMConnector' | 'CCMK8sConnector' | 'CCMRecommendation' | 'Connector' | 'Delegate' | 'DelegateProfile' | 'Deployment' | 'Environment' | 'EnvironmentGroup' | 'FileStore' | 'InputSet' | 'Override' | 'PipelineExecution' | 'PipelineSetup' | 'QueuedPipeline' | 'RIInventory' | 'RuleExecution' | 'SPInventory' | 'Secret' | 'Service' | 'Template' | 'Trigger' | 'Webhook';
3
5
  labels?: {
4
6
  [key: string]: string;
5
7
  };
8
+ orgIdentifiers?: string[];
9
+ pipelineIdentifiers?: string[];
10
+ pipelineTags?: NgTag[];
11
+ priorityTypes?: Array<'HIGH' | 'LOW' | 'NORMAL'>;
12
+ projectIdentifiers?: string[];
13
+ queuedTimeRange?: TimeRange;
14
+ statuses?: Array<'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' | 'QueuedGlobalInfraCapacityReached' | 'QueuedLicenseLimitReached' | 'ResourceWaiting' | 'Running' | 'STARTING' | 'STARTING_PLAN_CREATION' | 'Skipped' | 'Success' | 'Suspended' | 'TaskWaiting' | 'TimedWaiting' | 'UploadWaiting' | 'WAITING' | 'WaitStepRunning'>;
6
15
  tags?: {
7
16
  [key: string]: string;
8
17
  };
18
+ triggerTypes?: Array<'ARTIFACT' | 'MANIFEST' | 'MANUAL' | 'NOOP' | 'SCHEDULER_CRON' | 'UNRECOGNIZED' | 'WEBHOOK' | 'WEBHOOK_CUSTOM'>;
9
19
  }
@@ -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,7 +2,7 @@ import type { InterruptConfig } from '../schemas/InterruptConfig';
2
2
  export interface InterruptEffectDto {
3
3
  interruptConfig: InterruptConfig;
4
4
  interruptId: string;
5
- interruptType: 'ABORT' | 'ABORT_ALL' | 'CUSTOM_FAILURE' | 'END_EXECUTION' | 'EXPIRE_ALL' | 'IGNORE' | 'MARK_EXPIRED' | 'MARK_FAILED' | 'MARK_SUCCESS' | 'NEXT_STEP' | 'PAUSE' | 'PAUSE_ALL' | 'PROCEED_WITH_DEFAULT' | 'RESUME' | 'RESUME_ALL' | 'RETRY' | 'UNKNOWN' | 'UNRECOGNIZED' | 'USER_MARKED_FAIL_ALL' | 'WAITING_FOR_MANUAL_INTERVENTION';
5
+ interruptType: 'ABORT' | 'ABORT_ALL' | 'CUSTOM_FAILURE' | 'END_EXECUTION' | 'EXPIRE_ALL' | 'IGNORE' | 'MARK_EXPIRED' | 'MARK_FAILED' | 'MARK_SUCCESS' | 'NEXT_STEP' | 'PAUSE' | 'PAUSE_ALL' | 'PROCEED_WITH_DEFAULT' | 'RESUME' | 'RESUME_ALL' | 'RETRY' | 'RETRY_STEP_GROUP' | 'UNKNOWN' | 'UNRECOGNIZED' | 'USER_MARKED_FAIL_ALL' | 'WAITING_FOR_MANUAL_INTERVENTION';
6
6
  /**
7
7
  * @format int64
8
8
  */
@@ -1,4 +1,5 @@
1
1
  import type { BuildDetails } from '../schemas/BuildDetails';
2
+ import type { TriggerExecutorDto } from '../schemas/TriggerExecutorDto';
2
3
  import type { LastTriggerExecutionDetails } from '../schemas/LastTriggerExecutionDetails';
3
4
  import type { TriggerStatus } from '../schemas/TriggerStatus';
4
5
  import type { WebhookDetails } from '../schemas/WebhookDetails';
@@ -7,6 +8,7 @@ export interface NgTriggerDetailsResponse {
7
8
  description?: string;
8
9
  enabled?: boolean;
9
10
  executions?: number[];
11
+ executorInfo?: TriggerExecutorDto;
10
12
  identifier?: string;
11
13
  lastTriggerExecutionDetails?: LastTriggerExecutionDetails;
12
14
  name?: string;
@@ -1,3 +1,4 @@
1
+ import type { TriggerExecutorDto } from '../schemas/TriggerExecutorDto';
1
2
  import type { ParameterFieldListString } from '../schemas/ParameterFieldListString';
2
3
  export interface NgTriggerResponse {
3
4
  accountIdentifier?: string;
@@ -9,6 +10,7 @@ export interface NgTriggerResponse {
9
10
  [key: string]: string;
10
11
  };
11
12
  };
13
+ executorInfo?: TriggerExecutorDto;
12
14
  identifier?: string;
13
15
  name?: string;
14
16
  orgIdentifier?: string;
@@ -1,5 +1,5 @@
1
1
  export interface PipelineExecutionInterrupt {
2
2
  id?: string;
3
3
  planExecutionId?: string;
4
- type?: 'Abort' | 'AbortAll' | 'ExpireAll' | 'Ignore' | 'MarkAsFailure' | 'MarkAsSuccess' | 'Pause' | 'PipelineRollback' | 'Resume' | 'Retry' | 'StageRollback' | 'StepGroupRollback' | 'UserMarkedFailure';
4
+ type?: 'Abort' | 'AbortAll' | 'ExpireAll' | 'Ignore' | 'MarkAsFailure' | 'MarkAsSuccess' | 'Pause' | 'PipelineRollback' | 'Resume' | 'Retry' | 'RetryStepGroup' | 'StageRollback' | 'StepGroupRollback' | 'UserMarkedFailure';
5
5
  }
@@ -0,0 +1,8 @@
1
+ import type { PreFlightEntityErrorInfo } from '../schemas/PreFlightEntityErrorInfo';
2
+ export interface PipelineInputResponse {
3
+ errorInfo?: PreFlightEntityErrorInfo;
4
+ fqn?: string;
5
+ stageName?: string;
6
+ stepName?: string;
7
+ success?: boolean;
8
+ }
@@ -0,0 +1,6 @@
1
+ import type { PipelineInputResponse } from '../schemas/PipelineInputResponse';
2
+ export interface PipelineWrapperResponse {
3
+ label?: string;
4
+ pipelineInputResponse?: PipelineInputResponse[];
5
+ status?: 'FAILURE' | 'IN_PROGRESS' | 'SUCCESS' | 'UNKNOWN';
6
+ }
@@ -0,0 +1,3 @@
1
+ export interface PreFlightCause {
2
+ cause?: string;
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,9 @@
1
+ import type { ConnectorWrapperResponse } from '../schemas/ConnectorWrapperResponse';
2
+ import type { PreFlightErrorInfo } from '../schemas/PreFlightErrorInfo';
3
+ import type { PipelineWrapperResponse } from '../schemas/PipelineWrapperResponse';
4
+ export interface PreFlightDto {
5
+ connectorWrapperResponse?: ConnectorWrapperResponse;
6
+ errorInfo?: PreFlightErrorInfo;
7
+ pipelineInputWrapperResponse?: PipelineWrapperResponse;
8
+ status?: 'FAILURE' | 'IN_PROGRESS' | 'SUCCESS' | 'UNKNOWN';
9
+ }
@@ -0,0 +1,8 @@
1
+ import type { PreFlightCause } from '../schemas/PreFlightCause';
2
+ import type { PreFlightResolution } from '../schemas/PreFlightResolution';
3
+ export interface PreFlightEntityErrorInfo {
4
+ causes?: PreFlightCause[];
5
+ description?: string;
6
+ resolution?: PreFlightResolution[];
7
+ summary?: string;
8
+ }
@@ -0,0 +1,7 @@
1
+ export interface PreFlightErrorInfo {
2
+ /**
3
+ * @format int32
4
+ */
5
+ count?: number;
6
+ message?: string;
7
+ }
@@ -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 PreFlightResolution {
2
+ resolution?: string;
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,9 @@
1
+ import type { PreFlightDto } from '../schemas/PreFlightDto';
2
+ export interface ResponsePreFlightDto {
3
+ correlationId?: string;
4
+ data?: PreFlightDto;
5
+ metaData?: {
6
+ [key: string]: any;
7
+ };
8
+ status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
9
+ }
@@ -0,0 +1,8 @@
1
+ export interface ResponseString {
2
+ correlationId?: string;
3
+ data?: string;
4
+ metaData?: {
5
+ [key: string]: any;
6
+ };
7
+ status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
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,12 @@
1
+ export interface TimeRange {
2
+ /**
3
+ * @format int64
4
+ */
5
+ endTime?: number;
6
+ relativeTime?: string;
7
+ /**
8
+ * @format int64
9
+ */
10
+ startTime?: number;
11
+ timeRangeFilterType?: 'LAST_12_MONTHS' | 'LAST_30_DAYS' | 'LAST_3_MONTHS' | 'LAST_6_MONTHS' | 'LAST_7_DAYS' | 'LAST_MONTH' | 'LAST_QUARTER' | 'LAST_YEAR' | 'THIS_MONTH' | 'THIS_QUARTER' | 'THIS_YEAR';
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,6 @@
1
+ export interface TriggerExecutorDto {
2
+ email?: string;
3
+ name?: string;
4
+ type?: 'SERVICE_ACCOUNT' | 'USER';
5
+ uuid?: 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 {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-pipeline-swagger-service-client",
3
- "version": "1.13.0",
3
+ "version": "1.14.0",
4
4
  "description": "Harness React pipeline service client - Pipeline APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",