@harnessio/react-pipeline-swagger-service-client 1.4.2 → 1.5.1
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/fetcher/index.js +1 -1
- package/dist/pipeline-swagger-service/src/services/hooks/useGetExecutionDataQuery.d.ts +22 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useGetExecutionDataQuery.js +14 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useGetListOfExecutionsMutation.d.ts +1 -1
- package/dist/pipeline-swagger-service/src/services/hooks/useGetNotesForExecutionQuery.d.ts +22 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useGetNotesForExecutionQuery.js +14 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useGetPipelineListMutation.d.ts +48 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useGetPipelineListMutation.js +14 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useGetPolicyEvaluationQuery.d.ts +33 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useGetPolicyEvaluationQuery.js +14 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useUpdateNotesForExecutionMutation.d.ts +25 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useUpdateNotesForExecutionMutation.js +14 -0
- package/dist/pipeline-swagger-service/src/services/index.d.ts +19 -0
- package/dist/pipeline-swagger-service/src/services/index.js +5 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ExecutionDataResponse.d.ts +4 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ExecutionDataResponse.js +4 -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 +1 -1
- package/dist/pipeline-swagger-service/src/services/schemas/ExecutionSummaryInfo.d.ts +1 -1
- package/dist/pipeline-swagger-service/src/services/schemas/GraphLayoutNode.d.ts +1 -1
- package/dist/pipeline-swagger-service/src/services/schemas/PageGovernanceMetadata.d.ts +31 -0
- package/dist/pipeline-swagger-service/src/services/schemas/PageGovernanceMetadata.js +1 -0
- package/dist/pipeline-swagger-service/src/services/schemas/PagePmsPipelineSummaryResponse.d.ts +31 -0
- package/dist/pipeline-swagger-service/src/services/schemas/PagePmsPipelineSummaryResponse.js +1 -0
- package/dist/pipeline-swagger-service/src/services/schemas/PipelineExecutionNotes.d.ts +3 -0
- package/dist/pipeline-swagger-service/src/services/schemas/PipelineExecutionNotes.js +4 -0
- package/dist/pipeline-swagger-service/src/services/schemas/PipelineExecutionSummary.d.ts +1 -1
- package/dist/pipeline-swagger-service/src/services/schemas/PipelineFilterProperties.d.ts +14 -0
- package/dist/pipeline-swagger-service/src/services/schemas/PipelineFilterProperties.js +1 -0
- package/dist/pipeline-swagger-service/src/services/schemas/RecentExecutionInfoDto.d.ts +1 -1
- package/dist/pipeline-swagger-service/src/services/schemas/ResponseExecutionDataResponse.d.ts +9 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ResponseExecutionDataResponse.js +1 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ResponsePageGovernanceMetadata.d.ts +9 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ResponsePageGovernanceMetadata.js +1 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ResponsePagePmsPipelineSummaryResponse.d.ts +9 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ResponsePagePmsPipelineSummaryResponse.js +1 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ResponsePipelineExecutionNotes.d.ts +9 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ResponsePipelineExecutionNotes.js +1 -0
- package/package.json +1 -1
package/dist/fetcher/index.js
CHANGED
|
@@ -30,7 +30,7 @@ export function fetcher(options) {
|
|
|
30
30
|
if (fetcherCallbacks === null || fetcherCallbacks === void 0 ? void 0 : fetcherCallbacks.urlInterceptor) {
|
|
31
31
|
finalUrl = (_a = fetcherCallbacks === null || fetcherCallbacks === void 0 ? void 0 : fetcherCallbacks.urlInterceptor) === null || _a === void 0 ? void 0 : _a.call(fetcherCallbacks, finalUrl);
|
|
32
32
|
}
|
|
33
|
-
let request = new Request(finalUrl, Object.assign({ headers: Object.assign(Object.assign({ Authorization: `Bearer ${token}` }, headers), customHeaders), body: body ? JSON.stringify(body) : undefined }, rest));
|
|
33
|
+
let request = new Request(finalUrl, Object.assign({ headers: Object.assign(Object.assign(Object.assign({}, (token ? { Authorization: `Bearer ${token}` } : {})), headers), customHeaders), body: body ? JSON.stringify(body) : undefined }, rest));
|
|
34
34
|
if (fetcherCallbacks === null || fetcherCallbacks === void 0 ? void 0 : fetcherCallbacks.requestInterceptor) {
|
|
35
35
|
request = fetcherCallbacks.requestInterceptor(request.clone());
|
|
36
36
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseExecutionDataResponse } from '../schemas/ResponseExecutionDataResponse';
|
|
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 GetExecutionDataQueryPathParams {
|
|
8
|
+
planExecutionId: string;
|
|
9
|
+
}
|
|
10
|
+
export interface GetExecutionDataQueryQueryParams {
|
|
11
|
+
accountIdentifier: string;
|
|
12
|
+
}
|
|
13
|
+
export type GetExecutionDataOkResponse = ResponseWithPagination<ResponseExecutionDataResponse>;
|
|
14
|
+
export type GetExecutionDataErrorResponse = Failure | Error;
|
|
15
|
+
export interface GetExecutionDataProps extends GetExecutionDataQueryPathParams, Omit<FetcherOptions<GetExecutionDataQueryQueryParams, unknown>, 'url'> {
|
|
16
|
+
queryParams: GetExecutionDataQueryQueryParams;
|
|
17
|
+
}
|
|
18
|
+
export declare function getExecutionData(props: GetExecutionDataProps): Promise<GetExecutionDataOkResponse>;
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
export declare function useGetExecutionDataQuery(props: GetExecutionDataProps, options?: Omit<UseQueryOptions<GetExecutionDataOkResponse, GetExecutionDataErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetExecutionDataOkResponse, GetExecutionDataErrorResponse>;
|
|
@@ -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 getExecutionData(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/pipelines/execution/${props.planExecutionId}/metadata`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetExecutionDataQuery(props, options) {
|
|
13
|
+
return useQuery(['getExecutionData', props.planExecutionId, props.queryParams], ({ signal }) => getExecutionData(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
package/dist/pipeline-swagger-service/src/services/hooks/useGetListOfExecutionsMutation.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ export interface GetListOfExecutionsMutationQueryParams {
|
|
|
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' | 'QUEUED_PLAN_CREATION' | 'QUEUED_STEP_CONCURRENCY' | 'Queued' | 'QueuedExecutionConcurrencyReached' | 'QueuedLicenseLimitReached' | 'ResourceWaiting' | 'Running' | 'STARTING' | 'STARTING_PLAN_CREATION' | 'Skipped' | 'Success' | 'Suspended' | 'TaskWaiting' | 'TimedWaiting' | 'UploadWaiting' | 'WAITING' | 'WaitStepRunning'>;
|
|
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_PLAN_CREATION' | 'QUEUED_STEP_CONCURRENCY' | 'Queued' | 'QueuedExecutionConcurrencyReached' | 'QueuedGlobalInfraCapacityReached' | 'QueuedLicenseLimitReached' | '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;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponsePipelineExecutionNotes } from '../schemas/ResponsePipelineExecutionNotes';
|
|
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 GetNotesForExecutionQueryPathParams {
|
|
8
|
+
planExecutionId: string;
|
|
9
|
+
}
|
|
10
|
+
export interface GetNotesForExecutionQueryQueryParams {
|
|
11
|
+
accountIdentifier: string;
|
|
12
|
+
}
|
|
13
|
+
export type GetNotesForExecutionOkResponse = ResponseWithPagination<ResponsePipelineExecutionNotes>;
|
|
14
|
+
export type GetNotesForExecutionErrorResponse = Failure | Error;
|
|
15
|
+
export interface GetNotesForExecutionProps extends GetNotesForExecutionQueryPathParams, Omit<FetcherOptions<GetNotesForExecutionQueryQueryParams, unknown>, 'url'> {
|
|
16
|
+
queryParams: GetNotesForExecutionQueryQueryParams;
|
|
17
|
+
}
|
|
18
|
+
export declare function getNotesForExecution(props: GetNotesForExecutionProps): Promise<GetNotesForExecutionOkResponse>;
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
export declare function useGetNotesForExecutionQuery(props: GetNotesForExecutionProps, options?: Omit<UseQueryOptions<GetNotesForExecutionOkResponse, GetNotesForExecutionErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetNotesForExecutionOkResponse, GetNotesForExecutionErrorResponse>;
|
|
@@ -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 getNotesForExecution(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/pipelines/execution/${props.planExecutionId}/notes`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetNotesForExecutionQuery(props, options) {
|
|
13
|
+
return useQuery(['getNotesForExecution', props.planExecutionId, props.queryParams], ({ signal }) => getNotesForExecution(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponsePagePmsPipelineSummaryResponse } from '../schemas/ResponsePagePmsPipelineSummaryResponse';
|
|
3
|
+
import type { Failure } from '../schemas/Failure';
|
|
4
|
+
import type { Error } from '../schemas/Error';
|
|
5
|
+
import type { PipelineFilterProperties } from '../schemas/PipelineFilterProperties';
|
|
6
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
7
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
|
+
export interface GetPipelineListMutationQueryParams {
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
orgIdentifier: string;
|
|
11
|
+
projectIdentifier: string;
|
|
12
|
+
/**
|
|
13
|
+
* @format int32
|
|
14
|
+
* @default 0
|
|
15
|
+
*/
|
|
16
|
+
page?: number;
|
|
17
|
+
/**
|
|
18
|
+
* @format int32
|
|
19
|
+
* @default 25
|
|
20
|
+
*/
|
|
21
|
+
size?: number;
|
|
22
|
+
sort?: string[];
|
|
23
|
+
searchTerm?: string;
|
|
24
|
+
module?: string;
|
|
25
|
+
filterIdentifier?: string;
|
|
26
|
+
branch?: string;
|
|
27
|
+
repoIdentifier?: string;
|
|
28
|
+
getDefaultFromOtherRepo?: boolean;
|
|
29
|
+
parentEntityConnectorRef?: string;
|
|
30
|
+
parentEntityRepoName?: string;
|
|
31
|
+
parentEntityAccountIdentifier?: string;
|
|
32
|
+
parentEntityOrgIdentifier?: string;
|
|
33
|
+
parentEntityProjectIdentifier?: string;
|
|
34
|
+
repoName?: string;
|
|
35
|
+
getDistinctFromBranches?: boolean;
|
|
36
|
+
}
|
|
37
|
+
export type GetPipelineListRequestBody = PipelineFilterProperties;
|
|
38
|
+
export type GetPipelineListOkResponse = ResponseWithPagination<ResponsePagePmsPipelineSummaryResponse>;
|
|
39
|
+
export type GetPipelineListErrorResponse = Failure | Error;
|
|
40
|
+
export interface GetPipelineListProps extends Omit<FetcherOptions<GetPipelineListMutationQueryParams, GetPipelineListRequestBody>, 'url'> {
|
|
41
|
+
queryParams: GetPipelineListMutationQueryParams;
|
|
42
|
+
body: GetPipelineListRequestBody;
|
|
43
|
+
}
|
|
44
|
+
export declare function getPipelineList(props: GetPipelineListProps): Promise<GetPipelineListOkResponse>;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
*/
|
|
48
|
+
export declare function useGetPipelineListMutation(options?: Omit<UseMutationOptions<GetPipelineListOkResponse, GetPipelineListErrorResponse, GetPipelineListProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetPipelineListOkResponse, GetPipelineListErrorResponse, GetPipelineListProps, 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 getPipelineList(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/pipelines/list`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetPipelineListMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => getPipelineList(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponsePageGovernanceMetadata } from '../schemas/ResponsePageGovernanceMetadata';
|
|
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 GetPolicyEvaluationQueryPathParams {
|
|
8
|
+
planExecutionId: string;
|
|
9
|
+
}
|
|
10
|
+
export interface GetPolicyEvaluationQueryQueryParams {
|
|
11
|
+
accountIdentifier: string;
|
|
12
|
+
orgIdentifier: string;
|
|
13
|
+
projectIdentifier: string;
|
|
14
|
+
/**
|
|
15
|
+
* @format int32
|
|
16
|
+
* @default 0
|
|
17
|
+
*/
|
|
18
|
+
page?: number;
|
|
19
|
+
/**
|
|
20
|
+
* @format int32
|
|
21
|
+
*/
|
|
22
|
+
size?: number;
|
|
23
|
+
}
|
|
24
|
+
export type GetPolicyEvaluationOkResponse = ResponseWithPagination<ResponsePageGovernanceMetadata>;
|
|
25
|
+
export type GetPolicyEvaluationErrorResponse = Failure | Error;
|
|
26
|
+
export interface GetPolicyEvaluationProps extends GetPolicyEvaluationQueryPathParams, Omit<FetcherOptions<GetPolicyEvaluationQueryQueryParams, unknown>, 'url'> {
|
|
27
|
+
queryParams: GetPolicyEvaluationQueryQueryParams;
|
|
28
|
+
}
|
|
29
|
+
export declare function getPolicyEvaluation(props: GetPolicyEvaluationProps): Promise<GetPolicyEvaluationOkResponse>;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
export declare function useGetPolicyEvaluationQuery(props: GetPolicyEvaluationProps, options?: Omit<UseQueryOptions<GetPolicyEvaluationOkResponse, GetPolicyEvaluationErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetPolicyEvaluationOkResponse, GetPolicyEvaluationErrorResponse>;
|
|
@@ -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 getPolicyEvaluation(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/pipelines/execution/${props.planExecutionId}/policy-evaluation`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetPolicyEvaluationQuery(props, options) {
|
|
13
|
+
return useQuery(['getPolicyEvaluation', props.planExecutionId, props.queryParams], ({ signal }) => getPolicyEvaluation(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
package/dist/pipeline-swagger-service/src/services/hooks/useUpdateNotesForExecutionMutation.d.ts
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponsePipelineExecutionNotes } from '../schemas/ResponsePipelineExecutionNotes';
|
|
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 UpdateNotesForExecutionMutationPathParams {
|
|
8
|
+
planExecutionId: string;
|
|
9
|
+
}
|
|
10
|
+
export interface UpdateNotesForExecutionMutationQueryParams {
|
|
11
|
+
accountIdentifier: string;
|
|
12
|
+
orgIdentifier: string;
|
|
13
|
+
projectIdentifier: string;
|
|
14
|
+
notesForPipelineExecution: string;
|
|
15
|
+
}
|
|
16
|
+
export type UpdateNotesForExecutionOkResponse = ResponseWithPagination<ResponsePipelineExecutionNotes>;
|
|
17
|
+
export type UpdateNotesForExecutionErrorResponse = Failure | Error;
|
|
18
|
+
export interface UpdateNotesForExecutionProps extends UpdateNotesForExecutionMutationPathParams, Omit<FetcherOptions<UpdateNotesForExecutionMutationQueryParams, unknown>, 'url'> {
|
|
19
|
+
queryParams: UpdateNotesForExecutionMutationQueryParams;
|
|
20
|
+
}
|
|
21
|
+
export declare function updateNotesForExecution(props: UpdateNotesForExecutionProps): Promise<UpdateNotesForExecutionOkResponse>;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
export declare function useUpdateNotesForExecutionMutation(options?: Omit<UseMutationOptions<UpdateNotesForExecutionOkResponse, UpdateNotesForExecutionErrorResponse, UpdateNotesForExecutionProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateNotesForExecutionOkResponse, UpdateNotesForExecutionErrorResponse, UpdateNotesForExecutionProps, unknown>;
|
package/dist/pipeline-swagger-service/src/services/hooks/useUpdateNotesForExecutionMutation.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function updateNotesForExecution(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/pipelines/execution/${props.planExecutionId}/notes`, method: 'PUT' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useUpdateNotesForExecutionMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => updateNotesForExecution(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -7,6 +7,8 @@ export type { GetBatchInputSetsMetadataErrorResponse, GetBatchInputSetsMetadataM
|
|
|
7
7
|
export { getBatchInputSetsMetadata, useGetBatchInputSetsMetadataMutation, } from './hooks/useGetBatchInputSetsMetadataMutation';
|
|
8
8
|
export type { GetExecutionBranchesListErrorResponse, GetExecutionBranchesListOkResponse, GetExecutionBranchesListProps, GetExecutionBranchesListQueryQueryParams, } from './hooks/useGetExecutionBranchesListQuery';
|
|
9
9
|
export { getExecutionBranchesList, useGetExecutionBranchesListQuery, } from './hooks/useGetExecutionBranchesListQuery';
|
|
10
|
+
export type { GetExecutionDataErrorResponse, GetExecutionDataOkResponse, GetExecutionDataProps, GetExecutionDataQueryPathParams, GetExecutionDataQueryQueryParams, } from './hooks/useGetExecutionDataQuery';
|
|
11
|
+
export { getExecutionData, useGetExecutionDataQuery } from './hooks/useGetExecutionDataQuery';
|
|
10
12
|
export type { GetExecutionDetailV2ErrorResponse, GetExecutionDetailV2OkResponse, GetExecutionDetailV2Props, GetExecutionDetailV2QueryPathParams, GetExecutionDetailV2QueryQueryParams, } from './hooks/useGetExecutionDetailV2Query';
|
|
11
13
|
export { getExecutionDetailV2, useGetExecutionDetailV2Query, } from './hooks/useGetExecutionDetailV2Query';
|
|
12
14
|
export type { GetExecutionRepositoriesListErrorResponse, GetExecutionRepositoriesListOkResponse, GetExecutionRepositoriesListProps, GetExecutionRepositoriesListQueryQueryParams, } from './hooks/useGetExecutionRepositoriesListQuery';
|
|
@@ -19,8 +21,14 @@ export type { GetGitTriggerEventDetailsErrorResponse, GetGitTriggerEventDetailsO
|
|
|
19
21
|
export { getGitTriggerEventDetails, useGetGitTriggerEventDetailsQuery, } from './hooks/useGetGitTriggerEventDetailsQuery';
|
|
20
22
|
export type { GetListOfExecutionsErrorResponse, GetListOfExecutionsMutationQueryParams, GetListOfExecutionsOkResponse, GetListOfExecutionsProps, GetListOfExecutionsRequestBody, } from './hooks/useGetListOfExecutionsMutation';
|
|
21
23
|
export { getListOfExecutions, useGetListOfExecutionsMutation, } from './hooks/useGetListOfExecutionsMutation';
|
|
24
|
+
export type { GetNotesForExecutionErrorResponse, GetNotesForExecutionOkResponse, GetNotesForExecutionProps, GetNotesForExecutionQueryPathParams, GetNotesForExecutionQueryQueryParams, } from './hooks/useGetNotesForExecutionQuery';
|
|
25
|
+
export { getNotesForExecution, useGetNotesForExecutionQuery, } from './hooks/useGetNotesForExecutionQuery';
|
|
26
|
+
export type { GetPipelineListErrorResponse, GetPipelineListMutationQueryParams, GetPipelineListOkResponse, GetPipelineListProps, GetPipelineListRequestBody, } from './hooks/useGetPipelineListMutation';
|
|
27
|
+
export { getPipelineList, useGetPipelineListMutation } from './hooks/useGetPipelineListMutation';
|
|
22
28
|
export type { GetPipelineSummaryErrorResponse, GetPipelineSummaryOkResponse, GetPipelineSummaryProps, GetPipelineSummaryQueryPathParams, GetPipelineSummaryQueryQueryParams, } from './hooks/useGetPipelineSummaryQuery';
|
|
23
29
|
export { getPipelineSummary, useGetPipelineSummaryQuery } from './hooks/useGetPipelineSummaryQuery';
|
|
30
|
+
export type { GetPolicyEvaluationErrorResponse, GetPolicyEvaluationOkResponse, GetPolicyEvaluationProps, GetPolicyEvaluationQueryPathParams, GetPolicyEvaluationQueryQueryParams, } from './hooks/useGetPolicyEvaluationQuery';
|
|
31
|
+
export { getPolicyEvaluation, useGetPolicyEvaluationQuery, } from './hooks/useGetPolicyEvaluationQuery';
|
|
24
32
|
export type { GetTriggerCatalogErrorResponse, GetTriggerCatalogOkResponse, GetTriggerCatalogProps, GetTriggerCatalogQueryQueryParams, } from './hooks/useGetTriggerCatalogQuery';
|
|
25
33
|
export { getTriggerCatalog, useGetTriggerCatalogQuery } from './hooks/useGetTriggerCatalogQuery';
|
|
26
34
|
export type { GetTriggerListForTargetErrorResponse, GetTriggerListForTargetOkResponse, GetTriggerListForTargetProps, GetTriggerListForTargetQueryQueryParams, } from './hooks/useGetTriggerListForTargetQuery';
|
|
@@ -31,6 +39,8 @@ export type { RetryHistoryErrorResponse, RetryHistoryOkResponse, RetryHistoryPro
|
|
|
31
39
|
export { retryHistory, useRetryHistoryQuery } from './hooks/useRetryHistoryQuery';
|
|
32
40
|
export type { UpdateFilterErrorResponse, UpdateFilterMutationQueryParams, UpdateFilterOkResponse, UpdateFilterProps, UpdateFilterRequestBody, } from './hooks/useUpdateFilterMutation';
|
|
33
41
|
export { updateFilter, useUpdateFilterMutation } from './hooks/useUpdateFilterMutation';
|
|
42
|
+
export type { UpdateNotesForExecutionErrorResponse, UpdateNotesForExecutionMutationPathParams, UpdateNotesForExecutionMutationQueryParams, UpdateNotesForExecutionOkResponse, UpdateNotesForExecutionProps, } from './hooks/useUpdateNotesForExecutionMutation';
|
|
43
|
+
export { updateNotesForExecution, useUpdateNotesForExecutionMutation, } from './hooks/useUpdateNotesForExecutionMutation';
|
|
34
44
|
export type { FilterDtoRequestBody } from './requestBodies/FilterDtoRequestBody';
|
|
35
45
|
export type { FilterPropertiesRequestBody } from './requestBodies/FilterPropertiesRequestBody';
|
|
36
46
|
export type { UpdateTriggerBodyRequestBody } from './requestBodies/UpdateTriggerBodyRequestBody';
|
|
@@ -47,6 +57,7 @@ export type { EntityValidityDetails } from './schemas/EntityValidityDetails';
|
|
|
47
57
|
export type { Error } from './schemas/Error';
|
|
48
58
|
export type { ErrorMetadataDto } from './schemas/ErrorMetadataDto';
|
|
49
59
|
export type { ExecutableResponse } from './schemas/ExecutableResponse';
|
|
60
|
+
export type { ExecutionDataResponse } from './schemas/ExecutionDataResponse';
|
|
50
61
|
export type { ExecutionErrorInfo } from './schemas/ExecutionErrorInfo';
|
|
51
62
|
export type { ExecutionGraph } from './schemas/ExecutionGraph';
|
|
52
63
|
export type { ExecutionInfo } from './schemas/ExecutionInfo';
|
|
@@ -74,14 +85,18 @@ export type { NgTriggerDetailsResponse } from './schemas/NgTriggerDetailsRespons
|
|
|
74
85
|
export type { NgTriggerResponse } from './schemas/NgTriggerResponse';
|
|
75
86
|
export type { NodeRunInfo } from './schemas/NodeRunInfo';
|
|
76
87
|
export type { PageFilterDto } from './schemas/PageFilterDto';
|
|
88
|
+
export type { PageGovernanceMetadata } from './schemas/PageGovernanceMetadata';
|
|
77
89
|
export type { PageInputSetListResponse } from './schemas/PageInputSetListResponse';
|
|
78
90
|
export type { PageNgTriggerDetailsResponse } from './schemas/PageNgTriggerDetailsResponse';
|
|
79
91
|
export type { PagePipelineExecutionSummary } from './schemas/PagePipelineExecutionSummary';
|
|
92
|
+
export type { PagePmsPipelineSummaryResponse } from './schemas/PagePmsPipelineSummaryResponse';
|
|
80
93
|
export type { Pageable } from './schemas/Pageable';
|
|
81
94
|
export type { ParameterFieldListString } from './schemas/ParameterFieldListString';
|
|
82
95
|
export type { PermissionCheck } from './schemas/PermissionCheck';
|
|
83
96
|
export type { PipelineExecutionDetail } from './schemas/PipelineExecutionDetail';
|
|
97
|
+
export type { PipelineExecutionNotes } from './schemas/PipelineExecutionNotes';
|
|
84
98
|
export type { PipelineExecutionSummary } from './schemas/PipelineExecutionSummary';
|
|
99
|
+
export type { PipelineFilterProperties } from './schemas/PipelineFilterProperties';
|
|
85
100
|
export type { PipelineStageInfo } from './schemas/PipelineStageInfo';
|
|
86
101
|
export type { PmsPipelineListBranchesResponse } from './schemas/PmsPipelineListBranchesResponse';
|
|
87
102
|
export type { PmsPipelineListRepoResponse } from './schemas/PmsPipelineListRepoResponse';
|
|
@@ -90,15 +105,19 @@ export type { PollingSubscriptionStatus } from './schemas/PollingSubscriptionSta
|
|
|
90
105
|
export type { RecentExecutionInfoDto } from './schemas/RecentExecutionInfoDto';
|
|
91
106
|
export type { ResourceScope } from './schemas/ResourceScope';
|
|
92
107
|
export type { ResponseBoolean } from './schemas/ResponseBoolean';
|
|
108
|
+
export type { ResponseExecutionDataResponse } from './schemas/ResponseExecutionDataResponse';
|
|
93
109
|
export type { ResponseFilterDto } from './schemas/ResponseFilterDto';
|
|
94
110
|
export type { ResponseMapStringMapStringListString } from './schemas/ResponseMapStringMapStringListString';
|
|
95
111
|
export type { ResponseMessage } from './schemas/ResponseMessage';
|
|
96
112
|
export type { ResponseNgTriggerResponse } from './schemas/ResponseNgTriggerResponse';
|
|
97
113
|
export type { ResponsePageFilterDto } from './schemas/ResponsePageFilterDto';
|
|
114
|
+
export type { ResponsePageGovernanceMetadata } from './schemas/ResponsePageGovernanceMetadata';
|
|
98
115
|
export type { ResponsePageInputSetListResponse } from './schemas/ResponsePageInputSetListResponse';
|
|
99
116
|
export type { ResponsePageNgTriggerDetailsResponse } from './schemas/ResponsePageNgTriggerDetailsResponse';
|
|
100
117
|
export type { ResponsePagePipelineExecutionSummary } from './schemas/ResponsePagePipelineExecutionSummary';
|
|
118
|
+
export type { ResponsePagePmsPipelineSummaryResponse } from './schemas/ResponsePagePmsPipelineSummaryResponse';
|
|
101
119
|
export type { ResponsePipelineExecutionDetail } from './schemas/ResponsePipelineExecutionDetail';
|
|
120
|
+
export type { ResponsePipelineExecutionNotes } from './schemas/ResponsePipelineExecutionNotes';
|
|
102
121
|
export type { ResponsePmsPipelineListBranchesResponse } from './schemas/ResponsePmsPipelineListBranchesResponse';
|
|
103
122
|
export type { ResponsePmsPipelineListRepoResponse } from './schemas/ResponsePmsPipelineListRepoResponse';
|
|
104
123
|
export type { ResponsePmsPipelineSummaryResponse } from './schemas/ResponsePmsPipelineSummaryResponse';
|
|
@@ -2,15 +2,20 @@ export { createTrigger, useCreateTriggerMutation } from './hooks/useCreateTrigge
|
|
|
2
2
|
export { deleteFilter, useDeleteFilterMutation } from './hooks/useDeleteFilterMutation';
|
|
3
3
|
export { getBatchInputSetsMetadata, useGetBatchInputSetsMetadataMutation, } from './hooks/useGetBatchInputSetsMetadataMutation';
|
|
4
4
|
export { getExecutionBranchesList, useGetExecutionBranchesListQuery, } from './hooks/useGetExecutionBranchesListQuery';
|
|
5
|
+
export { getExecutionData, useGetExecutionDataQuery } from './hooks/useGetExecutionDataQuery';
|
|
5
6
|
export { getExecutionDetailV2, useGetExecutionDetailV2Query, } from './hooks/useGetExecutionDetailV2Query';
|
|
6
7
|
export { getExecutionRepositoriesList, useGetExecutionRepositoriesListQuery, } from './hooks/useGetExecutionRepositoriesListQuery';
|
|
7
8
|
export { getFilterList, useGetFilterListQuery } from './hooks/useGetFilterListQuery';
|
|
8
9
|
export { getFilter, useGetFilterQuery } from './hooks/useGetFilterQuery';
|
|
9
10
|
export { getGitTriggerEventDetails, useGetGitTriggerEventDetailsQuery, } from './hooks/useGetGitTriggerEventDetailsQuery';
|
|
10
11
|
export { getListOfExecutions, useGetListOfExecutionsMutation, } from './hooks/useGetListOfExecutionsMutation';
|
|
12
|
+
export { getNotesForExecution, useGetNotesForExecutionQuery, } from './hooks/useGetNotesForExecutionQuery';
|
|
13
|
+
export { getPipelineList, useGetPipelineListMutation } from './hooks/useGetPipelineListMutation';
|
|
11
14
|
export { getPipelineSummary, useGetPipelineSummaryQuery } from './hooks/useGetPipelineSummaryQuery';
|
|
15
|
+
export { getPolicyEvaluation, useGetPolicyEvaluationQuery, } from './hooks/useGetPolicyEvaluationQuery';
|
|
12
16
|
export { getTriggerCatalog, useGetTriggerCatalogQuery } from './hooks/useGetTriggerCatalogQuery';
|
|
13
17
|
export { getTriggerListForTarget, useGetTriggerListForTargetQuery, } from './hooks/useGetTriggerListForTargetQuery';
|
|
14
18
|
export { postFilter, usePostFilterMutation } from './hooks/usePostFilterMutation';
|
|
15
19
|
export { retryHistory, useRetryHistoryQuery } from './hooks/useRetryHistoryQuery';
|
|
16
20
|
export { updateFilter, useUpdateFilterMutation } from './hooks/useUpdateFilterMutation';
|
|
21
|
+
export { updateNotesForExecution, useUpdateNotesForExecutionMutation, } from './hooks/useUpdateNotesForExecutionMutation';
|
|
@@ -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' | 'QUEUED_PLAN_CREATION' | 'QUEUED_STEP_CONCURRENCY' | 'Queued' | 'QueuedExecutionConcurrencyReached' | 'QueuedLicenseLimitReached' | 'ResourceWaiting' | 'Running' | 'STARTING' | 'STARTING_PLAN_CREATION' | 'Skipped' | 'Success' | 'Suspended' | 'TaskWaiting' | 'TimedWaiting' | 'UploadWaiting' | 'WAITING' | 'WaitStepRunning';
|
|
14
|
+
status?: 'APPROVAL_REJECTED' | 'APPROVAL_WAITING' | 'Aborted' | 'AbortedByFreeze' | 'ApprovalRejected' | 'ApprovalWaiting' | 'AsyncWaiting' | 'Discontinuing' | 'Errored' | 'Expired' | 'Failed' | 'INTERVENTION_WAITING' | 'IgnoreFailed' | 'InputWaiting' | 'InterventionWaiting' | 'NOT_STARTED' | 'NotStarted' | 'Paused' | 'Pausing' | 'QUEUED_PLAN_CREATION' | 'QUEUED_STEP_CONCURRENCY' | 'Queued' | 'QueuedExecutionConcurrencyReached' | 'QueuedGlobalInfraCapacityReached' | 'QueuedLicenseLimitReached' | 'ResourceWaiting' | 'Running' | 'STARTING' | 'STARTING_PLAN_CREATION' | 'Skipped' | 'Success' | 'Suspended' | 'TaskWaiting' | 'TimedWaiting' | 'UploadWaiting' | 'WAITING' | 'WaitStepRunning';
|
|
15
15
|
uuid?: string;
|
|
16
16
|
}
|
|
@@ -46,7 +46,7 @@ export interface ExecutionNode {
|
|
|
46
46
|
* @format int64
|
|
47
47
|
*/
|
|
48
48
|
startTs?: number;
|
|
49
|
-
status?: 'APPROVAL_REJECTED' | 'APPROVAL_WAITING' | 'Aborted' | 'AbortedByFreeze' | 'ApprovalRejected' | 'ApprovalWaiting' | 'AsyncWaiting' | 'Discontinuing' | 'Errored' | 'Expired' | 'Failed' | 'INTERVENTION_WAITING' | 'IgnoreFailed' | 'InputWaiting' | 'InterventionWaiting' | 'NOT_STARTED' | 'NotStarted' | 'Paused' | 'Pausing' | 'QUEUED_PLAN_CREATION' | 'QUEUED_STEP_CONCURRENCY' | 'Queued' | 'QueuedExecutionConcurrencyReached' | 'QueuedLicenseLimitReached' | 'ResourceWaiting' | 'Running' | 'STARTING' | 'STARTING_PLAN_CREATION' | 'Skipped' | 'Success' | 'Suspended' | 'TaskWaiting' | 'TimedWaiting' | 'UploadWaiting' | 'WAITING' | 'WaitStepRunning';
|
|
49
|
+
status?: 'APPROVAL_REJECTED' | 'APPROVAL_WAITING' | 'Aborted' | 'AbortedByFreeze' | 'ApprovalRejected' | 'ApprovalWaiting' | 'AsyncWaiting' | 'Discontinuing' | 'Errored' | 'Expired' | 'Failed' | 'INTERVENTION_WAITING' | 'IgnoreFailed' | 'InputWaiting' | 'InterventionWaiting' | 'NOT_STARTED' | 'NotStarted' | 'Paused' | 'Pausing' | 'QUEUED_PLAN_CREATION' | 'QUEUED_STEP_CONCURRENCY' | 'Queued' | 'QueuedExecutionConcurrencyReached' | 'QueuedGlobalInfraCapacityReached' | 'QueuedLicenseLimitReached' | 'ResourceWaiting' | 'Running' | 'STARTING' | 'STARTING_PLAN_CREATION' | 'Skipped' | 'Success' | 'Suspended' | 'TaskWaiting' | 'TimedWaiting' | 'UploadWaiting' | 'WAITING' | 'WaitStepRunning';
|
|
50
50
|
stepDetails?: {
|
|
51
51
|
[key: string]: {
|
|
52
52
|
[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' | 'QUEUED_PLAN_CREATION' | 'QUEUED_STEP_CONCURRENCY' | 'Queued' | 'QueuedExecutionConcurrencyReached' | 'QueuedLicenseLimitReached' | 'ResourceWaiting' | 'Running' | 'STARTING' | 'STARTING_PLAN_CREATION' | 'Skipped' | 'Success' | 'Suspended' | 'TaskWaiting' | 'TimedWaiting' | 'UploadWaiting' | 'WAITING' | 'WaitStepRunning';
|
|
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_PLAN_CREATION' | 'QUEUED_STEP_CONCURRENCY' | 'Queued' | 'QueuedExecutionConcurrencyReached' | 'QueuedGlobalInfraCapacityReached' | 'QueuedLicenseLimitReached' | 'ResourceWaiting' | 'Running' | 'STARTING' | 'STARTING_PLAN_CREATION' | 'Skipped' | 'Success' | 'Suspended' | 'TaskWaiting' | 'TimedWaiting' | 'UploadWaiting' | 'WAITING' | 'WaitStepRunning';
|
|
5
5
|
/**
|
|
6
6
|
* @format int64
|
|
7
7
|
*/
|
|
@@ -41,7 +41,7 @@ export interface GraphLayoutNode {
|
|
|
41
41
|
* @format int64
|
|
42
42
|
*/
|
|
43
43
|
startTs?: number;
|
|
44
|
-
status?: 'APPROVAL_REJECTED' | 'APPROVAL_WAITING' | 'Aborted' | 'AbortedByFreeze' | 'ApprovalRejected' | 'ApprovalWaiting' | 'AsyncWaiting' | 'Discontinuing' | 'Errored' | 'Expired' | 'Failed' | 'INTERVENTION_WAITING' | 'IgnoreFailed' | 'InputWaiting' | 'InterventionWaiting' | 'NOT_STARTED' | 'NotStarted' | 'Paused' | 'Pausing' | 'QUEUED_PLAN_CREATION' | 'QUEUED_STEP_CONCURRENCY' | 'Queued' | 'QueuedExecutionConcurrencyReached' | 'QueuedLicenseLimitReached' | 'ResourceWaiting' | 'Running' | 'STARTING' | 'STARTING_PLAN_CREATION' | 'Skipped' | 'Success' | 'Suspended' | 'TaskWaiting' | 'TimedWaiting' | 'UploadWaiting' | 'WAITING' | 'WaitStepRunning';
|
|
44
|
+
status?: 'APPROVAL_REJECTED' | 'APPROVAL_WAITING' | 'Aborted' | 'AbortedByFreeze' | 'ApprovalRejected' | 'ApprovalWaiting' | 'AsyncWaiting' | 'Discontinuing' | 'Errored' | 'Expired' | 'Failed' | 'INTERVENTION_WAITING' | 'IgnoreFailed' | 'InputWaiting' | 'InterventionWaiting' | 'NOT_STARTED' | 'NotStarted' | 'Paused' | 'Pausing' | 'QUEUED_PLAN_CREATION' | 'QUEUED_STEP_CONCURRENCY' | 'Queued' | 'QueuedExecutionConcurrencyReached' | 'QueuedGlobalInfraCapacityReached' | 'QueuedLicenseLimitReached' | 'ResourceWaiting' | 'Running' | 'STARTING' | 'STARTING_PLAN_CREATION' | 'Skipped' | 'Success' | 'Suspended' | 'TaskWaiting' | 'TimedWaiting' | 'UploadWaiting' | 'WAITING' | 'WaitStepRunning';
|
|
45
45
|
stepDetails?: {
|
|
46
46
|
[key: string]: {
|
|
47
47
|
[key: string]: {
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { GovernanceMetadata } from '../schemas/GovernanceMetadata';
|
|
2
|
+
import type { Pageable } from '../schemas/Pageable';
|
|
3
|
+
import type { Sort } from '../schemas/Sort';
|
|
4
|
+
export interface PageGovernanceMetadata {
|
|
5
|
+
content?: GovernanceMetadata[];
|
|
6
|
+
empty?: boolean;
|
|
7
|
+
first?: boolean;
|
|
8
|
+
last?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* @format int32
|
|
11
|
+
*/
|
|
12
|
+
number?: number;
|
|
13
|
+
/**
|
|
14
|
+
* @format int32
|
|
15
|
+
*/
|
|
16
|
+
numberOfElements?: number;
|
|
17
|
+
pageable?: Pageable;
|
|
18
|
+
/**
|
|
19
|
+
* @format int32
|
|
20
|
+
*/
|
|
21
|
+
size?: number;
|
|
22
|
+
sort?: Sort;
|
|
23
|
+
/**
|
|
24
|
+
* @format int64
|
|
25
|
+
*/
|
|
26
|
+
totalElements?: number;
|
|
27
|
+
/**
|
|
28
|
+
* @format int32
|
|
29
|
+
*/
|
|
30
|
+
totalPages?: number;
|
|
31
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/pipeline-swagger-service/src/services/schemas/PagePmsPipelineSummaryResponse.d.ts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { PmsPipelineSummaryResponse } from '../schemas/PmsPipelineSummaryResponse';
|
|
2
|
+
import type { Pageable } from '../schemas/Pageable';
|
|
3
|
+
import type { Sort } from '../schemas/Sort';
|
|
4
|
+
export interface PagePmsPipelineSummaryResponse {
|
|
5
|
+
content?: PmsPipelineSummaryResponse[];
|
|
6
|
+
empty?: boolean;
|
|
7
|
+
first?: boolean;
|
|
8
|
+
last?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* @format int32
|
|
11
|
+
*/
|
|
12
|
+
number?: number;
|
|
13
|
+
/**
|
|
14
|
+
* @format int32
|
|
15
|
+
*/
|
|
16
|
+
numberOfElements?: number;
|
|
17
|
+
pageable?: Pageable;
|
|
18
|
+
/**
|
|
19
|
+
* @format int32
|
|
20
|
+
*/
|
|
21
|
+
size?: number;
|
|
22
|
+
sort?: Sort;
|
|
23
|
+
/**
|
|
24
|
+
* @format int64
|
|
25
|
+
*/
|
|
26
|
+
totalElements?: number;
|
|
27
|
+
/**
|
|
28
|
+
* @format int32
|
|
29
|
+
*/
|
|
30
|
+
totalPages?: number;
|
|
31
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -81,7 +81,7 @@ export interface PipelineExecutionSummary {
|
|
|
81
81
|
*/
|
|
82
82
|
startTs?: number;
|
|
83
83
|
startingNodeId?: string;
|
|
84
|
-
status?: 'APPROVAL_REJECTED' | 'APPROVAL_WAITING' | 'Aborted' | 'AbortedByFreeze' | 'ApprovalRejected' | 'ApprovalWaiting' | 'AsyncWaiting' | 'Discontinuing' | 'Errored' | 'Expired' | 'Failed' | 'INTERVENTION_WAITING' | 'IgnoreFailed' | 'InputWaiting' | 'InterventionWaiting' | 'NOT_STARTED' | 'NotStarted' | 'Paused' | 'Pausing' | 'QUEUED_PLAN_CREATION' | 'QUEUED_STEP_CONCURRENCY' | 'Queued' | 'QueuedExecutionConcurrencyReached' | 'QueuedLicenseLimitReached' | 'ResourceWaiting' | 'Running' | 'STARTING' | 'STARTING_PLAN_CREATION' | 'Skipped' | 'Success' | 'Suspended' | 'TaskWaiting' | 'TimedWaiting' | 'UploadWaiting' | 'WAITING' | 'WaitStepRunning';
|
|
84
|
+
status?: 'APPROVAL_REJECTED' | 'APPROVAL_WAITING' | 'Aborted' | 'AbortedByFreeze' | 'ApprovalRejected' | 'ApprovalWaiting' | 'AsyncWaiting' | 'Discontinuing' | 'Errored' | 'Expired' | 'Failed' | 'INTERVENTION_WAITING' | 'IgnoreFailed' | 'InputWaiting' | 'InterventionWaiting' | 'NOT_STARTED' | 'NotStarted' | 'Paused' | 'Pausing' | 'QUEUED_PLAN_CREATION' | 'QUEUED_STEP_CONCURRENCY' | 'Queued' | 'QueuedExecutionConcurrencyReached' | 'QueuedGlobalInfraCapacityReached' | 'QueuedLicenseLimitReached' | 'ResourceWaiting' | 'Running' | 'STARTING' | 'STARTING_PLAN_CREATION' | 'Skipped' | 'Success' | 'Suspended' | 'TaskWaiting' | 'TimedWaiting' | 'UploadWaiting' | 'WAITING' | 'WaitStepRunning';
|
|
85
85
|
storeType?: 'INLINE' | 'INLINE_HC' | 'REMOTE';
|
|
86
86
|
/**
|
|
87
87
|
* @format int64
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { NgTag } from '../schemas/NgTag';
|
|
2
|
+
import type { FilterProperties } from '../schemas/FilterProperties';
|
|
3
|
+
export interface PipelineFilterProperties extends FilterProperties {
|
|
4
|
+
description?: string;
|
|
5
|
+
moduleProperties?: {
|
|
6
|
+
[key: string]: {
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
name?: string;
|
|
11
|
+
pipelineIdentifiers?: string[];
|
|
12
|
+
pipelineTags?: NgTag[];
|
|
13
|
+
repoName?: string;
|
|
14
|
+
}
|
|
@@ -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' | 'QUEUED_PLAN_CREATION' | 'QUEUED_STEP_CONCURRENCY' | 'Queued' | 'QueuedExecutionConcurrencyReached' | 'QueuedLicenseLimitReached' | 'ResourceWaiting' | 'Running' | 'STARTING' | 'STARTING_PLAN_CREATION' | 'Skipped' | 'Success' | 'Suspended' | 'TaskWaiting' | 'TimedWaiting' | 'UploadWaiting' | 'WAITING' | 'WaitStepRunning';
|
|
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_PLAN_CREATION' | 'QUEUED_STEP_CONCURRENCY' | 'Queued' | 'QueuedExecutionConcurrencyReached' | 'QueuedGlobalInfraCapacityReached' | 'QueuedLicenseLimitReached' | 'ResourceWaiting' | 'Running' | 'STARTING' | 'STARTING_PLAN_CREATION' | 'Skipped' | 'Success' | 'Suspended' | 'TaskWaiting' | 'TimedWaiting' | 'UploadWaiting' | 'WAITING' | 'WaitStepRunning';
|
|
20
20
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ExecutionDataResponse } from '../schemas/ExecutionDataResponse';
|
|
2
|
+
export interface ResponseExecutionDataResponse {
|
|
3
|
+
correlationId?: string;
|
|
4
|
+
data?: ExecutionDataResponse;
|
|
5
|
+
metaData?: {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
};
|
|
8
|
+
status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/pipeline-swagger-service/src/services/schemas/ResponsePageGovernanceMetadata.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { PageGovernanceMetadata } from '../schemas/PageGovernanceMetadata';
|
|
2
|
+
export interface ResponsePageGovernanceMetadata {
|
|
3
|
+
correlationId?: string;
|
|
4
|
+
data?: PageGovernanceMetadata;
|
|
5
|
+
metaData?: {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
};
|
|
8
|
+
status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { PagePmsPipelineSummaryResponse } from '../schemas/PagePmsPipelineSummaryResponse';
|
|
2
|
+
export interface ResponsePagePmsPipelineSummaryResponse {
|
|
3
|
+
correlationId?: string;
|
|
4
|
+
data?: PagePmsPipelineSummaryResponse;
|
|
5
|
+
metaData?: {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
};
|
|
8
|
+
status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
|
|
9
|
+
}
|
package/dist/pipeline-swagger-service/src/services/schemas/ResponsePagePmsPipelineSummaryResponse.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/pipeline-swagger-service/src/services/schemas/ResponsePipelineExecutionNotes.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { PipelineExecutionNotes } from '../schemas/PipelineExecutionNotes';
|
|
2
|
+
export interface ResponsePipelineExecutionNotes {
|
|
3
|
+
correlationId?: string;
|
|
4
|
+
data?: PipelineExecutionNotes;
|
|
5
|
+
metaData?: {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
};
|
|
8
|
+
status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED