@harnessio/react-pipeline-swagger-service-client 1.13.0 → 1.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/pipeline-swagger-service/src/services/hooks/useCreateInputSetForPipelineMutation.d.ts +2 -2
- package/dist/pipeline-swagger-service/src/services/hooks/useCreateOverlayInputSetForPipelineMutation.d.ts +2 -2
- package/dist/pipeline-swagger-service/src/services/hooks/useCreateTriggerMutation.d.ts +2 -2
- package/dist/pipeline-swagger-service/src/services/hooks/useDeleteFilterMutation.d.ts +1 -1
- package/dist/pipeline-swagger-service/src/services/hooks/useGetFilterListQuery.d.ts +1 -1
- package/dist/pipeline-swagger-service/src/services/hooks/useGetFilterQuery.d.ts +1 -1
- package/dist/pipeline-swagger-service/src/services/hooks/useGetInputsetYamlV2Query.d.ts +29 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useGetInputsetYamlV2Query.js +14 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useGetListOfExecutionsQuery.d.ts +1 -1
- package/dist/pipeline-swagger-service/src/services/hooks/useGetPreflightCheckResponseQuery.d.ts +23 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useGetPreflightCheckResponseQuery.js +14 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useHandleManualInterventionInterruptMutation.d.ts +1 -1
- package/dist/pipeline-swagger-service/src/services/hooks/useStartPreflightCheckMutation.d.ts +32 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useStartPreflightCheckMutation.js +14 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useUpdateInputSetForPipelineMutation.d.ts +2 -2
- package/dist/pipeline-swagger-service/src/services/hooks/useUpdateTriggerMutation.d.ts +2 -2
- package/dist/pipeline-swagger-service/src/services/index.d.ts +23 -1
- package/dist/pipeline-swagger-service/src/services/index.js +3 -0
- package/dist/pipeline-swagger-service/src/services/requestBodies/CreateTriggerBodyRequestBody.d.ts +1 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ConnectorCheckResponse.d.ts +12 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ConnectorCheckResponse.js +1 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ConnectorWrapperResponse.d.ts +6 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ConnectorWrapperResponse.js +1 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ExecutionInfo.d.ts +1 -1
- package/dist/pipeline-swagger-service/src/services/schemas/ExecutionNode.d.ts +2 -2
- package/dist/pipeline-swagger-service/src/services/schemas/ExecutionSummaryInfo.d.ts +1 -1
- package/dist/pipeline-swagger-service/src/services/schemas/FilterProperties.d.ts +11 -1
- package/dist/pipeline-swagger-service/src/services/schemas/FilterProperties.js +0 -3
- package/dist/pipeline-swagger-service/src/services/schemas/GraphLayoutNode.d.ts +1 -1
- package/dist/pipeline-swagger-service/src/services/schemas/InputSetDetails.d.ts +4 -0
- package/dist/pipeline-swagger-service/src/services/schemas/InputSetDetails.js +4 -0
- package/dist/pipeline-swagger-service/src/services/schemas/InputSetTemplateResponse.d.ts +11 -0
- package/dist/pipeline-swagger-service/src/services/schemas/InputSetTemplateResponse.js +1 -0
- package/dist/pipeline-swagger-service/src/services/schemas/InterruptEffectDto.d.ts +1 -1
- package/dist/pipeline-swagger-service/src/services/schemas/NgTriggerDetailsResponse.d.ts +2 -0
- package/dist/pipeline-swagger-service/src/services/schemas/NgTriggerResponse.d.ts +2 -0
- package/dist/pipeline-swagger-service/src/services/schemas/PipelineExecutionInterrupt.d.ts +1 -1
- package/dist/pipeline-swagger-service/src/services/schemas/PipelineExecutionSummary.d.ts +1 -1
- package/dist/pipeline-swagger-service/src/services/schemas/PipelineInputResponse.d.ts +8 -0
- package/dist/pipeline-swagger-service/src/services/schemas/PipelineInputResponse.js +1 -0
- package/dist/pipeline-swagger-service/src/services/schemas/PipelineWrapperResponse.d.ts +6 -0
- package/dist/pipeline-swagger-service/src/services/schemas/PipelineWrapperResponse.js +1 -0
- package/dist/pipeline-swagger-service/src/services/schemas/PreFlightCause.d.ts +3 -0
- package/dist/pipeline-swagger-service/src/services/schemas/PreFlightCause.js +4 -0
- package/dist/pipeline-swagger-service/src/services/schemas/PreFlightDto.d.ts +9 -0
- package/dist/pipeline-swagger-service/src/services/schemas/PreFlightDto.js +1 -0
- package/dist/pipeline-swagger-service/src/services/schemas/PreFlightEntityErrorInfo.d.ts +8 -0
- package/dist/pipeline-swagger-service/src/services/schemas/PreFlightEntityErrorInfo.js +1 -0
- package/dist/pipeline-swagger-service/src/services/schemas/PreFlightErrorInfo.d.ts +7 -0
- package/dist/pipeline-swagger-service/src/services/schemas/PreFlightErrorInfo.js +4 -0
- package/dist/pipeline-swagger-service/src/services/schemas/PreFlightResolution.d.ts +3 -0
- package/dist/pipeline-swagger-service/src/services/schemas/PreFlightResolution.js +4 -0
- package/dist/pipeline-swagger-service/src/services/schemas/RecentExecutionInfoDto.d.ts +1 -1
- package/dist/pipeline-swagger-service/src/services/schemas/ResponseInputSetTemplateResponse.d.ts +9 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ResponseInputSetTemplateResponse.js +1 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ResponsePreFlightDto.d.ts +9 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ResponsePreFlightDto.js +1 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ResponseString.d.ts +8 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ResponseString.js +4 -0
- package/dist/pipeline-swagger-service/src/services/schemas/TimeRange.d.ts +12 -0
- package/dist/pipeline-swagger-service/src/services/schemas/TimeRange.js +4 -0
- package/dist/pipeline-swagger-service/src/services/schemas/TriggerExecutorDto.d.ts +6 -0
- package/dist/pipeline-swagger-service/src/services/schemas/TriggerExecutorDto.js +4 -0
- package/package.json +1 -1
- package/dist/pipeline-swagger-service/src/services/requestBodies/UpdateTriggerBodyRequestBody.d.ts +0 -1
- /package/dist/pipeline-swagger-service/src/services/requestBodies/{UpdateTriggerBodyRequestBody.js → CreateTriggerBodyRequestBody.js} +0 -0
package/dist/pipeline-swagger-service/src/services/hooks/useCreateInputSetForPipelineMutation.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { UseMutationOptions } from '@tanstack/react-query';
|
|
|
2
2
|
import type { ResponseInputSetResponse } from '../schemas/ResponseInputSetResponse';
|
|
3
3
|
import type { Failure } from '../schemas/Failure';
|
|
4
4
|
import type { Error } from '../schemas/Error';
|
|
5
|
-
import type {
|
|
5
|
+
import type { CreateTriggerBodyRequestBody } from '../requestBodies/CreateTriggerBodyRequestBody';
|
|
6
6
|
import type { ResponseWithPagination } from '../helpers';
|
|
7
7
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
8
|
export interface CreateInputSetForPipelineMutationQueryParams {
|
|
@@ -28,7 +28,7 @@ export interface CreateInputSetForPipelineMutationQueryParams {
|
|
|
28
28
|
*/
|
|
29
29
|
InputSetVersion?: string;
|
|
30
30
|
}
|
|
31
|
-
export type CreateInputSetForPipelineRequestBody =
|
|
31
|
+
export type CreateInputSetForPipelineRequestBody = CreateTriggerBodyRequestBody;
|
|
32
32
|
export type CreateInputSetForPipelineOkResponse = ResponseWithPagination<ResponseInputSetResponse>;
|
|
33
33
|
export type CreateInputSetForPipelineErrorResponse = Failure | Error;
|
|
34
34
|
export interface CreateInputSetForPipelineProps extends Omit<FetcherOptions<CreateInputSetForPipelineMutationQueryParams, CreateInputSetForPipelineRequestBody>, 'url'> {
|
|
@@ -2,7 +2,7 @@ import { UseMutationOptions } from '@tanstack/react-query';
|
|
|
2
2
|
import type { ResponseOverlayInputSetResponse } from '../schemas/ResponseOverlayInputSetResponse';
|
|
3
3
|
import type { Failure } from '../schemas/Failure';
|
|
4
4
|
import type { Error } from '../schemas/Error';
|
|
5
|
-
import type {
|
|
5
|
+
import type { CreateTriggerBodyRequestBody } from '../requestBodies/CreateTriggerBodyRequestBody';
|
|
6
6
|
import type { ResponseWithPagination } from '../helpers';
|
|
7
7
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
8
|
export interface CreateOverlayInputSetForPipelineMutationQueryParams {
|
|
@@ -22,7 +22,7 @@ export interface CreateOverlayInputSetForPipelineMutationQueryParams {
|
|
|
22
22
|
repoName?: string;
|
|
23
23
|
isHarnessCodeRepo?: boolean;
|
|
24
24
|
}
|
|
25
|
-
export type CreateOverlayInputSetForPipelineRequestBody =
|
|
25
|
+
export type CreateOverlayInputSetForPipelineRequestBody = CreateTriggerBodyRequestBody;
|
|
26
26
|
export type CreateOverlayInputSetForPipelineOkResponse = ResponseWithPagination<ResponseOverlayInputSetResponse>;
|
|
27
27
|
export type CreateOverlayInputSetForPipelineErrorResponse = Failure | Error;
|
|
28
28
|
export interface CreateOverlayInputSetForPipelineProps extends Omit<FetcherOptions<CreateOverlayInputSetForPipelineMutationQueryParams, CreateOverlayInputSetForPipelineRequestBody>, 'url'> {
|
|
@@ -2,7 +2,7 @@ import { UseMutationOptions } from '@tanstack/react-query';
|
|
|
2
2
|
import type { ResponseNgTriggerResponse } from '../schemas/ResponseNgTriggerResponse';
|
|
3
3
|
import type { Failure } from '../schemas/Failure';
|
|
4
4
|
import type { Error } from '../schemas/Error';
|
|
5
|
-
import type {
|
|
5
|
+
import type { CreateTriggerBodyRequestBody } from '../requestBodies/CreateTriggerBodyRequestBody';
|
|
6
6
|
import type { ResponseWithPagination } from '../helpers';
|
|
7
7
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
8
|
export interface CreateTriggerMutationQueryParams {
|
|
@@ -13,7 +13,7 @@ export interface CreateTriggerMutationQueryParams {
|
|
|
13
13
|
ignoreError?: boolean;
|
|
14
14
|
withServiceV2?: boolean;
|
|
15
15
|
}
|
|
16
|
-
export type CreateTriggerRequestBody =
|
|
16
|
+
export type CreateTriggerRequestBody = CreateTriggerBodyRequestBody;
|
|
17
17
|
export type CreateTriggerOkResponse = ResponseWithPagination<ResponseNgTriggerResponse>;
|
|
18
18
|
export type CreateTriggerErrorResponse = Failure | Error;
|
|
19
19
|
export interface CreateTriggerProps extends Omit<FetcherOptions<CreateTriggerMutationQueryParams, CreateTriggerRequestBody>, 'url'> {
|
|
@@ -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,29 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseInputSetTemplateResponse } from '../schemas/ResponseInputSetTemplateResponse';
|
|
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 GetInputsetYamlV2QueryPathParams {
|
|
8
|
+
planExecutionId: string;
|
|
9
|
+
}
|
|
10
|
+
export interface GetInputsetYamlV2QueryQueryParams {
|
|
11
|
+
accountIdentifier: string;
|
|
12
|
+
orgIdentifier: string;
|
|
13
|
+
projectIdentifier: string;
|
|
14
|
+
resolveExpressions?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* @default "UNKNOWN"
|
|
17
|
+
*/
|
|
18
|
+
resolveExpressionsType?: 'RESOLVE_ALL_EXPRESSIONS' | 'RESOLVE_TRIGGER_EXPRESSIONS' | 'UNKNOWN';
|
|
19
|
+
}
|
|
20
|
+
export type GetInputsetYamlV2OkResponse = ResponseWithPagination<ResponseInputSetTemplateResponse>;
|
|
21
|
+
export type GetInputsetYamlV2ErrorResponse = Failure | Error;
|
|
22
|
+
export interface GetInputsetYamlV2Props extends GetInputsetYamlV2QueryPathParams, Omit<FetcherOptions<GetInputsetYamlV2QueryQueryParams, unknown>, 'url'> {
|
|
23
|
+
queryParams: GetInputsetYamlV2QueryQueryParams;
|
|
24
|
+
}
|
|
25
|
+
export declare function getInputsetYamlV2(props: GetInputsetYamlV2Props): Promise<GetInputsetYamlV2OkResponse>;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
export declare function useGetInputsetYamlV2Query(props: GetInputsetYamlV2Props, options?: Omit<UseQueryOptions<GetInputsetYamlV2OkResponse, GetInputsetYamlV2ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetInputsetYamlV2OkResponse, GetInputsetYamlV2ErrorResponse>;
|
|
@@ -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 getInputsetYamlV2(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/pipelines/execution/${props.planExecutionId}/inputsetV2`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetInputsetYamlV2Query(props, options) {
|
|
13
|
+
return useQuery(['getInputsetYamlV2', props.planExecutionId, props.queryParams], ({ signal }) => getInputsetYamlV2(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -25,7 +25,7 @@ export interface GetListOfExecutionsQueryQueryParams {
|
|
|
25
25
|
filterIdentifier?: string;
|
|
26
26
|
showAllExecutions?: boolean;
|
|
27
27
|
module?: string;
|
|
28
|
-
status?: Array<'APPROVAL_REJECTED' | 'APPROVAL_WAITING' | 'Aborted' | 'AbortedByFreeze' | 'ApprovalRejected' | 'ApprovalWaiting' | 'AsyncWaiting' | 'Discontinuing' | 'Errored' | 'Expired' | 'Failed' | 'INTERVENTION_WAITING' | 'IgnoreFailed' | 'InputWaiting' | 'InterventionWaiting' | 'NOT_STARTED' | 'NotStarted' | 'Paused' | 'Pausing' | '
|
|
28
|
+
status?: 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_STEP_CONCURRENCY' | 'Queued' | 'QueuedExecutionConcurrencyReached' | 'QueuedGlobalInfraCapacityReached' | 'QueuedLicenseLimitReached' | 'QueuedPlanCreation' | 'ResourceWaiting' | 'Running' | 'STARTING' | 'STARTING_PLAN_CREATION' | 'Skipped' | 'Success' | 'Suspended' | 'TaskWaiting' | 'TimedWaiting' | 'UploadWaiting' | 'WAITING' | 'WaitStepRunning'>;
|
|
29
29
|
myDeployments?: boolean;
|
|
30
30
|
branch?: string;
|
|
31
31
|
repoIdentifier?: string;
|
package/dist/pipeline-swagger-service/src/services/hooks/useGetPreflightCheckResponseQuery.d.ts
ADDED
|
@@ -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
|
+
}
|
package/dist/pipeline-swagger-service/src/services/hooks/useUpdateInputSetForPipelineMutation.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { UseMutationOptions } from '@tanstack/react-query';
|
|
|
2
2
|
import type { ResponseInputSetResponse } from '../schemas/ResponseInputSetResponse';
|
|
3
3
|
import type { Failure } from '../schemas/Failure';
|
|
4
4
|
import type { Error } from '../schemas/Error';
|
|
5
|
-
import type {
|
|
5
|
+
import type { CreateTriggerBodyRequestBody } from '../requestBodies/CreateTriggerBodyRequestBody';
|
|
6
6
|
import type { ResponseWithPagination } from '../helpers';
|
|
7
7
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
8
|
export interface UpdateInputSetForPipelineMutationPathParams {
|
|
@@ -36,7 +36,7 @@ export interface UpdateInputSetForPipelineMutationQueryParams {
|
|
|
36
36
|
export interface UpdateInputSetForPipelineMutationHeaderParams {
|
|
37
37
|
'If-Match'?: string;
|
|
38
38
|
}
|
|
39
|
-
export type UpdateInputSetForPipelineRequestBody =
|
|
39
|
+
export type UpdateInputSetForPipelineRequestBody = CreateTriggerBodyRequestBody;
|
|
40
40
|
export type UpdateInputSetForPipelineOkResponse = ResponseWithPagination<ResponseInputSetResponse>;
|
|
41
41
|
export type UpdateInputSetForPipelineErrorResponse = Failure | Error;
|
|
42
42
|
export interface UpdateInputSetForPipelineProps extends UpdateInputSetForPipelineMutationPathParams, Omit<FetcherOptions<UpdateInputSetForPipelineMutationQueryParams, UpdateInputSetForPipelineRequestBody, UpdateInputSetForPipelineMutationHeaderParams>, 'url'> {
|
|
@@ -2,7 +2,7 @@ import { UseMutationOptions } from '@tanstack/react-query';
|
|
|
2
2
|
import type { ResponseNgTriggerResponse } from '../schemas/ResponseNgTriggerResponse';
|
|
3
3
|
import type { Failure } from '../schemas/Failure';
|
|
4
4
|
import type { Error } from '../schemas/Error';
|
|
5
|
-
import type {
|
|
5
|
+
import type { CreateTriggerBodyRequestBody } from '../requestBodies/CreateTriggerBodyRequestBody';
|
|
6
6
|
import type { ResponseWithPagination } from '../helpers';
|
|
7
7
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
8
|
export interface UpdateTriggerMutationPathParams {
|
|
@@ -18,7 +18,7 @@ export interface UpdateTriggerMutationQueryParams {
|
|
|
18
18
|
export interface UpdateTriggerMutationHeaderParams {
|
|
19
19
|
'If-Match'?: string;
|
|
20
20
|
}
|
|
21
|
-
export type UpdateTriggerRequestBody =
|
|
21
|
+
export type UpdateTriggerRequestBody = CreateTriggerBodyRequestBody;
|
|
22
22
|
export type UpdateTriggerOkResponse = ResponseWithPagination<ResponseNgTriggerResponse>;
|
|
23
23
|
export type UpdateTriggerErrorResponse = Failure | Error;
|
|
24
24
|
export interface UpdateTriggerProps extends UpdateTriggerMutationPathParams, Omit<FetcherOptions<UpdateTriggerMutationQueryParams, UpdateTriggerRequestBody, UpdateTriggerMutationHeaderParams>, 'url'> {
|
|
@@ -37,6 +37,8 @@ export type { GetInputSetForPipelineErrorResponse, GetInputSetForPipelineOkRespo
|
|
|
37
37
|
export { getInputSetForPipeline, useGetInputSetForPipelineQuery, } from './hooks/useGetInputSetForPipelineQuery';
|
|
38
38
|
export type { GetInputSetsListForPipelineErrorResponse, GetInputSetsListForPipelineOkResponse, GetInputSetsListForPipelineProps, GetInputSetsListForPipelineQueryQueryParams, } from './hooks/useGetInputSetsListForPipelineQuery';
|
|
39
39
|
export { getInputSetsListForPipeline, useGetInputSetsListForPipelineQuery, } from './hooks/useGetInputSetsListForPipelineQuery';
|
|
40
|
+
export type { GetInputsetYamlV2ErrorResponse, GetInputsetYamlV2OkResponse, GetInputsetYamlV2Props, GetInputsetYamlV2QueryPathParams, GetInputsetYamlV2QueryQueryParams, } from './hooks/useGetInputsetYamlV2Query';
|
|
41
|
+
export { getInputsetYamlV2, useGetInputsetYamlV2Query } from './hooks/useGetInputsetYamlV2Query';
|
|
40
42
|
export type { GetListOfExecutionsErrorResponse, GetListOfExecutionsOkResponse, GetListOfExecutionsProps, GetListOfExecutionsQueryQueryParams, GetListOfExecutionsRequestBody, } from './hooks/useGetListOfExecutionsQuery';
|
|
41
43
|
export { getListOfExecutions, useGetListOfExecutionsQuery, } from './hooks/useGetListOfExecutionsQuery';
|
|
42
44
|
export type { GetNotesForExecutionErrorResponse, GetNotesForExecutionOkResponse, GetNotesForExecutionProps, GetNotesForExecutionQueryPathParams, GetNotesForExecutionQueryQueryParams, } from './hooks/useGetNotesForExecutionQuery';
|
|
@@ -49,6 +51,8 @@ export type { GetPipelineSummaryErrorResponse, GetPipelineSummaryOkResponse, Get
|
|
|
49
51
|
export { getPipelineSummary, useGetPipelineSummaryQuery } from './hooks/useGetPipelineSummaryQuery';
|
|
50
52
|
export type { GetPolicyEvaluationErrorResponse, GetPolicyEvaluationOkResponse, GetPolicyEvaluationProps, GetPolicyEvaluationQueryPathParams, GetPolicyEvaluationQueryQueryParams, } from './hooks/useGetPolicyEvaluationQuery';
|
|
51
53
|
export { getPolicyEvaluation, useGetPolicyEvaluationQuery, } from './hooks/useGetPolicyEvaluationQuery';
|
|
54
|
+
export type { GetPreflightCheckResponseErrorResponse, GetPreflightCheckResponseOkResponse, GetPreflightCheckResponseProps, GetPreflightCheckResponseQueryQueryParams, } from './hooks/useGetPreflightCheckResponseQuery';
|
|
55
|
+
export { getPreflightCheckResponse, useGetPreflightCheckResponseQuery, } from './hooks/useGetPreflightCheckResponseQuery';
|
|
52
56
|
export type { GetTriggerCatalogErrorResponse, GetTriggerCatalogOkResponse, GetTriggerCatalogProps, GetTriggerCatalogQueryQueryParams, } from './hooks/useGetTriggerCatalogQuery';
|
|
53
57
|
export { getTriggerCatalog, useGetTriggerCatalogQuery } from './hooks/useGetTriggerCatalogQuery';
|
|
54
58
|
export type { GetTriggerDetailsErrorResponse, GetTriggerDetailsOkResponse, GetTriggerDetailsProps, GetTriggerDetailsQueryPathParams, GetTriggerDetailsQueryQueryParams, } from './hooks/useGetTriggerDetailsQuery';
|
|
@@ -69,6 +73,8 @@ export type { PostFilterErrorResponse, PostFilterMutationQueryParams, PostFilter
|
|
|
69
73
|
export { postFilter, usePostFilterMutation } from './hooks/usePostFilterMutation';
|
|
70
74
|
export type { RetryHistoryErrorResponse, RetryHistoryOkResponse, RetryHistoryProps, RetryHistoryQueryPathParams, RetryHistoryQueryQueryParams, } from './hooks/useRetryHistoryQuery';
|
|
71
75
|
export { retryHistory, useRetryHistoryQuery } from './hooks/useRetryHistoryQuery';
|
|
76
|
+
export type { StartPreflightCheckErrorResponse, StartPreflightCheckMutationQueryParams, StartPreflightCheckOkResponse, StartPreflightCheckProps, } from './hooks/useStartPreflightCheckMutation';
|
|
77
|
+
export { startPreflightCheck, useStartPreflightCheckMutation, } from './hooks/useStartPreflightCheckMutation';
|
|
72
78
|
export type { TriggerEventHistoryErrorResponse, TriggerEventHistoryOkResponse, TriggerEventHistoryProps, TriggerEventHistoryQueryPathParams, TriggerEventHistoryQueryQueryParams, } from './hooks/useTriggerEventHistoryQuery';
|
|
73
79
|
export { triggerEventHistory, useTriggerEventHistoryQuery, } from './hooks/useTriggerEventHistoryQuery';
|
|
74
80
|
export type { UpdateFilterErrorResponse, UpdateFilterMutationQueryParams, UpdateFilterOkResponse, UpdateFilterProps, UpdateFilterRequestBody, } from './hooks/useUpdateFilterMutation';
|
|
@@ -81,9 +87,9 @@ export type { UpdateTriggerErrorResponse, UpdateTriggerMutationPathParams, Updat
|
|
|
81
87
|
export { updateTrigger, useUpdateTriggerMutation } from './hooks/useUpdateTriggerMutation';
|
|
82
88
|
export type { UpdateTriggerStatusErrorResponse, UpdateTriggerStatusMutationPathParams, UpdateTriggerStatusMutationQueryParams, UpdateTriggerStatusOkResponse, UpdateTriggerStatusProps, } from './hooks/useUpdateTriggerStatusMutation';
|
|
83
89
|
export { updateTriggerStatus, useUpdateTriggerStatusMutation, } from './hooks/useUpdateTriggerStatusMutation';
|
|
90
|
+
export type { CreateTriggerBodyRequestBody } from './requestBodies/CreateTriggerBodyRequestBody';
|
|
84
91
|
export type { FilterDtoRequestBody } from './requestBodies/FilterDtoRequestBody';
|
|
85
92
|
export type { FilterPropertiesRequestBody } from './requestBodies/FilterPropertiesRequestBody';
|
|
86
|
-
export type { UpdateTriggerBodyRequestBody } from './requestBodies/UpdateTriggerBodyRequestBody';
|
|
87
93
|
export type { AbortedBy } from './schemas/AbortedBy';
|
|
88
94
|
export type { AccessControlCheckError } from './schemas/AccessControlCheckError';
|
|
89
95
|
export type { AdviserIssuer } from './schemas/AdviserIssuer';
|
|
@@ -92,6 +98,8 @@ export type { BatchInputSetsApiRequest } from './schemas/BatchInputSetsApiReques
|
|
|
92
98
|
export type { BuildDetails } from './schemas/BuildDetails';
|
|
93
99
|
export type { CacheResponseMetadata } from './schemas/CacheResponseMetadata';
|
|
94
100
|
export type { ChildExecutionDetailDto } from './schemas/ChildExecutionDetailDto';
|
|
101
|
+
export type { ConnectorCheckResponse } from './schemas/ConnectorCheckResponse';
|
|
102
|
+
export type { ConnectorWrapperResponse } from './schemas/ConnectorWrapperResponse';
|
|
95
103
|
export type { DelegateInfo } from './schemas/DelegateInfo';
|
|
96
104
|
export type { EdgeLayoutList } from './schemas/EdgeLayoutList';
|
|
97
105
|
export type { EntityGitDetails } from './schemas/EntityGitDetails';
|
|
@@ -114,12 +122,14 @@ export type { FilterDto } from './schemas/FilterDto';
|
|
|
114
122
|
export type { FilterProperties } from './schemas/FilterProperties';
|
|
115
123
|
export type { GovernanceMetadata } from './schemas/GovernanceMetadata';
|
|
116
124
|
export type { GraphLayoutNode } from './schemas/GraphLayoutNode';
|
|
125
|
+
export type { InputSetDetails } from './schemas/InputSetDetails';
|
|
117
126
|
export type { InputSetError } from './schemas/InputSetError';
|
|
118
127
|
export type { InputSetErrorResponse } from './schemas/InputSetErrorResponse';
|
|
119
128
|
export type { InputSetErrorWrapper } from './schemas/InputSetErrorWrapper';
|
|
120
129
|
export type { InputSetListResponse } from './schemas/InputSetListResponse';
|
|
121
130
|
export type { InputSetResponse } from './schemas/InputSetResponse';
|
|
122
131
|
export type { InputSetSummaryResponse } from './schemas/InputSetSummaryResponse';
|
|
132
|
+
export type { InputSetTemplateResponse } from './schemas/InputSetTemplateResponse';
|
|
123
133
|
export type { InputSetValidator } from './schemas/InputSetValidator';
|
|
124
134
|
export type { InterruptConfig } from './schemas/InterruptConfig';
|
|
125
135
|
export type { InterruptEffectDto } from './schemas/InterruptEffectDto';
|
|
@@ -152,11 +162,18 @@ export type { PipelineExecutionInterrupt } from './schemas/PipelineExecutionInte
|
|
|
152
162
|
export type { PipelineExecutionNotes } from './schemas/PipelineExecutionNotes';
|
|
153
163
|
export type { PipelineExecutionSummary } from './schemas/PipelineExecutionSummary';
|
|
154
164
|
export type { PipelineFilterProperties } from './schemas/PipelineFilterProperties';
|
|
165
|
+
export type { PipelineInputResponse } from './schemas/PipelineInputResponse';
|
|
155
166
|
export type { PipelineStageInfo } from './schemas/PipelineStageInfo';
|
|
167
|
+
export type { PipelineWrapperResponse } from './schemas/PipelineWrapperResponse';
|
|
156
168
|
export type { PmsPipelineListBranchesResponse } from './schemas/PmsPipelineListBranchesResponse';
|
|
157
169
|
export type { PmsPipelineListRepoResponse } from './schemas/PmsPipelineListRepoResponse';
|
|
158
170
|
export type { PmsPipelineSummaryResponse } from './schemas/PmsPipelineSummaryResponse';
|
|
159
171
|
export type { PollingSubscriptionStatus } from './schemas/PollingSubscriptionStatus';
|
|
172
|
+
export type { PreFlightCause } from './schemas/PreFlightCause';
|
|
173
|
+
export type { PreFlightDto } from './schemas/PreFlightDto';
|
|
174
|
+
export type { PreFlightEntityErrorInfo } from './schemas/PreFlightEntityErrorInfo';
|
|
175
|
+
export type { PreFlightErrorInfo } from './schemas/PreFlightErrorInfo';
|
|
176
|
+
export type { PreFlightResolution } from './schemas/PreFlightResolution';
|
|
160
177
|
export type { RecentExecutionInfoDto } from './schemas/RecentExecutionInfoDto';
|
|
161
178
|
export type { ResourceScope } from './schemas/ResourceScope';
|
|
162
179
|
export type { ResponseAnnotationContentResponseDto } from './schemas/ResponseAnnotationContentResponseDto';
|
|
@@ -165,6 +182,7 @@ export type { ResponseExecutionDataResponse } from './schemas/ResponseExecutionD
|
|
|
165
182
|
export type { ResponseExecutionGraph } from './schemas/ResponseExecutionGraph';
|
|
166
183
|
export type { ResponseFilterDto } from './schemas/ResponseFilterDto';
|
|
167
184
|
export type { ResponseInputSetResponse } from './schemas/ResponseInputSetResponse';
|
|
185
|
+
export type { ResponseInputSetTemplateResponse } from './schemas/ResponseInputSetTemplateResponse';
|
|
168
186
|
export type { ResponseMapStringMapStringListString } from './schemas/ResponseMapStringMapStringListString';
|
|
169
187
|
export type { ResponseMessage } from './schemas/ResponseMessage';
|
|
170
188
|
export type { ResponseNgTriggerDetailsResponse } from './schemas/ResponseNgTriggerDetailsResponse';
|
|
@@ -185,7 +203,9 @@ export type { ResponsePipelineExecutionNotes } from './schemas/ResponsePipelineE
|
|
|
185
203
|
export type { ResponsePmsPipelineListBranchesResponse } from './schemas/ResponsePmsPipelineListBranchesResponse';
|
|
186
204
|
export type { ResponsePmsPipelineListRepoResponse } from './schemas/ResponsePmsPipelineListRepoResponse';
|
|
187
205
|
export type { ResponsePmsPipelineSummaryResponse } from './schemas/ResponsePmsPipelineSummaryResponse';
|
|
206
|
+
export type { ResponsePreFlightDto } from './schemas/ResponsePreFlightDto';
|
|
188
207
|
export type { ResponseRetryHistoryResponseDto } from './schemas/ResponseRetryHistoryResponseDto';
|
|
208
|
+
export type { ResponseString } from './schemas/ResponseString';
|
|
189
209
|
export type { ResponseTriggerCatalogResponse } from './schemas/ResponseTriggerCatalogResponse';
|
|
190
210
|
export type { ResponseWorkflowGraph } from './schemas/ResponseWorkflowGraph';
|
|
191
211
|
export type { RetryExecutionMetadata } from './schemas/RetryExecutionMetadata';
|
|
@@ -201,10 +221,12 @@ export type { SystemIssuer } from './schemas/SystemIssuer';
|
|
|
201
221
|
export type { TargetExecutionSummary } from './schemas/TargetExecutionSummary';
|
|
202
222
|
export type { TemplateReferenceSummary } from './schemas/TemplateReferenceSummary';
|
|
203
223
|
export type { Throwable } from './schemas/Throwable';
|
|
224
|
+
export type { TimeRange } from './schemas/TimeRange';
|
|
204
225
|
export type { TimeoutIssuer } from './schemas/TimeoutIssuer';
|
|
205
226
|
export type { TriggerCatalogItem } from './schemas/TriggerCatalogItem';
|
|
206
227
|
export type { TriggerCatalogResponse } from './schemas/TriggerCatalogResponse';
|
|
207
228
|
export type { TriggerEventStatus } from './schemas/TriggerEventStatus';
|
|
229
|
+
export type { TriggerExecutorDto } from './schemas/TriggerExecutorDto';
|
|
208
230
|
export type { TriggerIssuer } from './schemas/TriggerIssuer';
|
|
209
231
|
export type { TriggerStatus } from './schemas/TriggerStatus';
|
|
210
232
|
export type { UnitProgress } from './schemas/UnitProgress';
|
|
@@ -17,12 +17,14 @@ export { getFilter, useGetFilterQuery } from './hooks/useGetFilterQuery';
|
|
|
17
17
|
export { getGitTriggerEventDetails, useGetGitTriggerEventDetailsQuery, } from './hooks/useGetGitTriggerEventDetailsQuery';
|
|
18
18
|
export { getInputSetForPipeline, useGetInputSetForPipelineQuery, } from './hooks/useGetInputSetForPipelineQuery';
|
|
19
19
|
export { getInputSetsListForPipeline, useGetInputSetsListForPipelineQuery, } from './hooks/useGetInputSetsListForPipelineQuery';
|
|
20
|
+
export { getInputsetYamlV2, useGetInputsetYamlV2Query } from './hooks/useGetInputsetYamlV2Query';
|
|
20
21
|
export { getListOfExecutions, useGetListOfExecutionsQuery, } from './hooks/useGetListOfExecutionsQuery';
|
|
21
22
|
export { getNotesForExecution, useGetNotesForExecutionQuery, } from './hooks/useGetNotesForExecutionQuery';
|
|
22
23
|
export { getPipelineExecutionAnnotations, useGetPipelineExecutionAnnotationsQuery, } from './hooks/useGetPipelineExecutionAnnotationsQuery';
|
|
23
24
|
export { getPipelineList, useGetPipelineListQuery } from './hooks/useGetPipelineListQuery';
|
|
24
25
|
export { getPipelineSummary, useGetPipelineSummaryQuery } from './hooks/useGetPipelineSummaryQuery';
|
|
25
26
|
export { getPolicyEvaluation, useGetPolicyEvaluationQuery, } from './hooks/useGetPolicyEvaluationQuery';
|
|
27
|
+
export { getPreflightCheckResponse, useGetPreflightCheckResponseQuery, } from './hooks/useGetPreflightCheckResponseQuery';
|
|
26
28
|
export { getTriggerCatalog, useGetTriggerCatalogQuery } from './hooks/useGetTriggerCatalogQuery';
|
|
27
29
|
export { getTriggerDetails, useGetTriggerDetailsQuery } from './hooks/useGetTriggerDetailsQuery';
|
|
28
30
|
export { getTriggerListForTarget, useGetTriggerListForTargetQuery, } from './hooks/useGetTriggerListForTargetQuery';
|
|
@@ -33,6 +35,7 @@ export { handleManualInterventionInterrupt, useHandleManualInterventionInterrupt
|
|
|
33
35
|
export { handleStageInterrupt, useHandleStageInterruptMutation, } from './hooks/useHandleStageInterruptMutation';
|
|
34
36
|
export { postFilter, usePostFilterMutation } from './hooks/usePostFilterMutation';
|
|
35
37
|
export { retryHistory, useRetryHistoryQuery } from './hooks/useRetryHistoryQuery';
|
|
38
|
+
export { startPreflightCheck, useStartPreflightCheckMutation, } from './hooks/useStartPreflightCheckMutation';
|
|
36
39
|
export { triggerEventHistory, useTriggerEventHistoryQuery, } from './hooks/useTriggerEventHistoryQuery';
|
|
37
40
|
export { updateFilter, useUpdateFilterMutation } from './hooks/useUpdateFilterMutation';
|
|
38
41
|
export { updateInputSetForPipeline, useUpdateInputSetForPipelineMutation, } from './hooks/useUpdateInputSetForPipelineMutation';
|
package/dist/pipeline-swagger-service/src/services/requestBodies/CreateTriggerBodyRequestBody.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type CreateTriggerBodyRequestBody = string;
|
|
@@ -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 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -11,6 +11,6 @@ export interface ExecutionInfo {
|
|
|
11
11
|
* @format int64
|
|
12
12
|
*/
|
|
13
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' | '
|
|
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_STEP_CONCURRENCY' | 'Queued' | 'QueuedExecutionConcurrencyReached' | 'QueuedGlobalInfraCapacityReached' | 'QueuedLicenseLimitReached' | 'QueuedPlanCreation' | 'ResourceWaiting' | 'Running' | 'STARTING' | 'STARTING_PLAN_CREATION' | 'Skipped' | 'Success' | 'Suspended' | 'TaskWaiting' | 'TimedWaiting' | 'UploadWaiting' | 'WAITING' | 'WaitStepRunning';
|
|
15
15
|
uuid?: string;
|
|
16
16
|
}
|
|
@@ -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?: {
|
|
@@ -50,7 +50,7 @@ export interface ExecutionNode {
|
|
|
50
50
|
* @format int64
|
|
51
51
|
*/
|
|
52
52
|
startTs?: number;
|
|
53
|
-
status?: 'APPROVAL_REJECTED' | 'APPROVAL_WAITING' | 'Aborted' | 'AbortedByFreeze' | 'ApprovalRejected' | 'ApprovalWaiting' | 'AsyncWaiting' | 'Discontinuing' | 'Errored' | 'Expired' | 'Failed' | 'INTERVENTION_WAITING' | 'IgnoreFailed' | 'InputWaiting' | 'InterventionWaiting' | 'NOT_STARTED' | 'NotStarted' | 'Paused' | 'Pausing' | '
|
|
53
|
+
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_STEP_CONCURRENCY' | 'Queued' | 'QueuedExecutionConcurrencyReached' | 'QueuedGlobalInfraCapacityReached' | 'QueuedLicenseLimitReached' | 'QueuedPlanCreation' | 'ResourceWaiting' | 'Running' | 'STARTING' | 'STARTING_PLAN_CREATION' | 'Skipped' | 'Success' | 'Suspended' | 'TaskWaiting' | 'TimedWaiting' | 'UploadWaiting' | 'WAITING' | 'WaitStepRunning';
|
|
54
54
|
stepDetails?: {
|
|
55
55
|
[key: string]: {
|
|
56
56
|
[key: string]: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export interface ExecutionSummaryInfo {
|
|
2
2
|
deployments?: number[];
|
|
3
3
|
lastExecutionId?: string;
|
|
4
|
-
lastExecutionStatus?: 'APPROVAL_REJECTED' | 'APPROVAL_WAITING' | 'Aborted' | 'AbortedByFreeze' | 'ApprovalRejected' | 'ApprovalWaiting' | 'AsyncWaiting' | 'Discontinuing' | 'Errored' | 'Expired' | 'Failed' | 'INTERVENTION_WAITING' | 'IgnoreFailed' | 'InputWaiting' | 'InterventionWaiting' | 'NOT_STARTED' | 'NotStarted' | 'Paused' | 'Pausing' | '
|
|
4
|
+
lastExecutionStatus?: 'APPROVAL_REJECTED' | 'APPROVAL_WAITING' | 'Aborted' | 'AbortedByFreeze' | 'ApprovalRejected' | 'ApprovalWaiting' | 'AsyncWaiting' | 'Discontinuing' | 'Errored' | 'Expired' | 'Failed' | 'INTERVENTION_WAITING' | 'IgnoreFailed' | 'InputWaiting' | 'InterventionWaiting' | 'NOT_STARTED' | 'NotStarted' | 'Paused' | 'Pausing' | 'QUEUED_STEP_CONCURRENCY' | 'Queued' | 'QueuedExecutionConcurrencyReached' | 'QueuedGlobalInfraCapacityReached' | 'QueuedLicenseLimitReached' | 'QueuedPlanCreation' | 'ResourceWaiting' | 'Running' | 'STARTING' | 'STARTING_PLAN_CREATION' | 'Skipped' | 'Success' | 'Suspended' | 'TaskWaiting' | 'TimedWaiting' | 'UploadWaiting' | 'WAITING' | 'WaitStepRunning';
|
|
5
5
|
/**
|
|
6
6
|
* @format int64
|
|
7
7
|
*/
|
|
@@ -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_STEP_CONCURRENCY' | 'Queued' | 'QueuedExecutionConcurrencyReached' | 'QueuedGlobalInfraCapacityReached' | 'QueuedLicenseLimitReached' | 'QueuedPlanCreation' | '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
|
}
|
|
@@ -45,7 +45,7 @@ export interface GraphLayoutNode {
|
|
|
45
45
|
* @format int64
|
|
46
46
|
*/
|
|
47
47
|
startTs?: number;
|
|
48
|
-
status?: 'APPROVAL_REJECTED' | 'APPROVAL_WAITING' | 'Aborted' | 'AbortedByFreeze' | 'ApprovalRejected' | 'ApprovalWaiting' | 'AsyncWaiting' | 'Discontinuing' | 'Errored' | 'Expired' | 'Failed' | 'INTERVENTION_WAITING' | 'IgnoreFailed' | 'InputWaiting' | 'InterventionWaiting' | 'NOT_STARTED' | 'NotStarted' | 'Paused' | 'Pausing' | '
|
|
48
|
+
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_STEP_CONCURRENCY' | 'Queued' | 'QueuedExecutionConcurrencyReached' | 'QueuedGlobalInfraCapacityReached' | 'QueuedLicenseLimitReached' | 'QueuedPlanCreation' | 'ResourceWaiting' | 'Running' | 'STARTING' | 'STARTING_PLAN_CREATION' | 'Skipped' | 'Success' | 'Suspended' | 'TaskWaiting' | 'TimedWaiting' | 'UploadWaiting' | 'WAITING' | 'WaitStepRunning';
|
|
49
49
|
stepDetails?: {
|
|
50
50
|
[key: string]: {
|
|
51
51
|
[key: string]: {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { InputSetDetails } from '../schemas/InputSetDetails';
|
|
2
|
+
export interface InputSetTemplateResponse {
|
|
3
|
+
expressionValues?: {
|
|
4
|
+
[key: string]: string;
|
|
5
|
+
};
|
|
6
|
+
inputSetBranchName?: string;
|
|
7
|
+
inputSetDetails?: InputSetDetails[];
|
|
8
|
+
inputSetTemplateYaml?: string;
|
|
9
|
+
inputSetYaml?: string;
|
|
10
|
+
resolvedYaml?: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
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
|
}
|
|
@@ -87,7 +87,7 @@ export interface PipelineExecutionSummary {
|
|
|
87
87
|
startTs?: number;
|
|
88
88
|
startingNodeId?: string;
|
|
89
89
|
startingNodeIds?: string[];
|
|
90
|
-
status?: 'APPROVAL_REJECTED' | 'APPROVAL_WAITING' | 'Aborted' | 'AbortedByFreeze' | 'ApprovalRejected' | 'ApprovalWaiting' | 'AsyncWaiting' | 'Discontinuing' | 'Errored' | 'Expired' | 'Failed' | 'INTERVENTION_WAITING' | 'IgnoreFailed' | 'InputWaiting' | 'InterventionWaiting' | 'NOT_STARTED' | 'NotStarted' | 'Paused' | 'Pausing' | '
|
|
90
|
+
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_STEP_CONCURRENCY' | 'Queued' | 'QueuedExecutionConcurrencyReached' | 'QueuedGlobalInfraCapacityReached' | 'QueuedLicenseLimitReached' | 'QueuedPlanCreation' | 'ResourceWaiting' | 'Running' | 'STARTING' | 'STARTING_PLAN_CREATION' | 'Skipped' | 'Success' | 'Suspended' | 'TaskWaiting' | 'TimedWaiting' | 'UploadWaiting' | 'WAITING' | 'WaitStepRunning';
|
|
91
91
|
storeType?: 'INLINE' | 'INLINE_HC' | 'REMOTE';
|
|
92
92
|
/**
|
|
93
93
|
* @format int64
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
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 @@
|
|
|
1
|
+
export {};
|
|
@@ -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 @@
|
|
|
1
|
+
export {};
|
|
@@ -16,5 +16,5 @@ export interface RecentExecutionInfoDto {
|
|
|
16
16
|
* @format int64
|
|
17
17
|
*/
|
|
18
18
|
startTs?: number;
|
|
19
|
-
status?: 'APPROVAL_REJECTED' | 'APPROVAL_WAITING' | 'Aborted' | 'AbortedByFreeze' | 'ApprovalRejected' | 'ApprovalWaiting' | 'AsyncWaiting' | 'Discontinuing' | 'Errored' | 'Expired' | 'Failed' | 'INTERVENTION_WAITING' | 'IgnoreFailed' | 'InputWaiting' | 'InterventionWaiting' | 'NOT_STARTED' | 'NotStarted' | 'Paused' | 'Pausing' | '
|
|
19
|
+
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_STEP_CONCURRENCY' | 'Queued' | 'QueuedExecutionConcurrencyReached' | 'QueuedGlobalInfraCapacityReached' | 'QueuedLicenseLimitReached' | 'QueuedPlanCreation' | 'ResourceWaiting' | 'Running' | 'STARTING' | 'STARTING_PLAN_CREATION' | 'Skipped' | 'Success' | 'Suspended' | 'TaskWaiting' | 'TimedWaiting' | 'UploadWaiting' | 'WAITING' | 'WaitStepRunning';
|
|
20
20
|
}
|
package/dist/pipeline-swagger-service/src/services/schemas/ResponseInputSetTemplateResponse.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { InputSetTemplateResponse } from '../schemas/InputSetTemplateResponse';
|
|
2
|
+
export interface ResponseInputSetTemplateResponse {
|
|
3
|
+
correlationId?: string;
|
|
4
|
+
data?: InputSetTemplateResponse;
|
|
5
|
+
metaData?: {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
};
|
|
8
|
+
status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
|
|
9
|
+
}
|
package/dist/pipeline-swagger-service/src/services/schemas/ResponseInputSetTemplateResponse.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
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
|
+
}
|
package/package.json
CHANGED
package/dist/pipeline-swagger-service/src/services/requestBodies/UpdateTriggerBodyRequestBody.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type UpdateTriggerBodyRequestBody = string;
|