@harnessio/react-pipeline-swagger-service-client 1.4.1 → 1.5.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/fetcher/index.js +1 -1
- package/dist/pipeline-swagger-service/src/services/hooks/useGetBatchInputSetsMetadataMutation.d.ts +35 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useGetBatchInputSetsMetadataMutation.js +14 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useGetExecutionBranchesListQuery.d.ts +23 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useGetExecutionBranchesListQuery.js +14 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useGetExecutionRepositoriesListQuery.d.ts +22 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useGetExecutionRepositoriesListQuery.js +14 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useGetListOfExecutionsMutation.d.ts +51 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useGetListOfExecutionsMutation.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/index.d.ts +25 -0
- package/dist/pipeline-swagger-service/src/services/index.js +5 -0
- package/dist/pipeline-swagger-service/src/services/requestBodies/FilterPropertiesRequestBody.d.ts +2 -0
- package/dist/pipeline-swagger-service/src/services/requestBodies/FilterPropertiesRequestBody.js +1 -0
- package/dist/pipeline-swagger-service/src/services/schemas/BatchInputSetsApiRequest.d.ts +3 -0
- package/dist/pipeline-swagger-service/src/services/schemas/BatchInputSetsApiRequest.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/InputSetListResponse.d.ts +8 -0
- package/dist/pipeline-swagger-service/src/services/schemas/InputSetListResponse.js +4 -0
- 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/PageInputSetListResponse.d.ts +26 -0
- package/dist/pipeline-swagger-service/src/services/schemas/PageInputSetListResponse.js +1 -0
- package/dist/pipeline-swagger-service/src/services/schemas/PagePipelineExecutionSummary.d.ts +31 -0
- package/dist/pipeline-swagger-service/src/services/schemas/PagePipelineExecutionSummary.js +1 -0
- package/dist/pipeline-swagger-service/src/services/schemas/Pageable.d.ts +18 -0
- package/dist/pipeline-swagger-service/src/services/schemas/Pageable.js +1 -0
- package/dist/pipeline-swagger-service/src/services/schemas/PipelineExecutionSummary.d.ts +1 -1
- package/dist/pipeline-swagger-service/src/services/schemas/PmsPipelineListBranchesResponse.d.ts +3 -0
- package/dist/pipeline-swagger-service/src/services/schemas/PmsPipelineListBranchesResponse.js +4 -0
- package/dist/pipeline-swagger-service/src/services/schemas/PmsPipelineListRepoResponse.d.ts +3 -0
- package/dist/pipeline-swagger-service/src/services/schemas/PmsPipelineListRepoResponse.js +4 -0
- package/dist/pipeline-swagger-service/src/services/schemas/RecentExecutionInfoDto.d.ts +1 -1
- 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/ResponsePageInputSetListResponse.d.ts +9 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ResponsePageInputSetListResponse.js +1 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ResponsePagePipelineExecutionSummary.d.ts +9 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ResponsePagePipelineExecutionSummary.js +1 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ResponsePmsPipelineListBranchesResponse.d.ts +9 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ResponsePmsPipelineListBranchesResponse.js +1 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ResponsePmsPipelineListRepoResponse.d.ts +9 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ResponsePmsPipelineListRepoResponse.js +1 -0
- package/dist/pipeline-swagger-service/src/services/schemas/Sort.d.ts +5 -0
- package/dist/pipeline-swagger-service/src/services/schemas/Sort.js +4 -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
|
}
|
package/dist/pipeline-swagger-service/src/services/hooks/useGetBatchInputSetsMetadataMutation.d.ts
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponsePageInputSetListResponse } from '../schemas/ResponsePageInputSetListResponse';
|
|
3
|
+
import type { Failure } from '../schemas/Failure';
|
|
4
|
+
import type { Error } from '../schemas/Error';
|
|
5
|
+
import type { BatchInputSetsApiRequest } from '../schemas/BatchInputSetsApiRequest';
|
|
6
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
7
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
|
+
export interface GetBatchInputSetsMetadataMutationQueryParams {
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
orgIdentifier: string;
|
|
11
|
+
projectIdentifier: string;
|
|
12
|
+
/**
|
|
13
|
+
* @format int32
|
|
14
|
+
* @default 0
|
|
15
|
+
*/
|
|
16
|
+
pageIndex?: number;
|
|
17
|
+
/**
|
|
18
|
+
* @format int32
|
|
19
|
+
* @default 20
|
|
20
|
+
*/
|
|
21
|
+
pageSize?: number;
|
|
22
|
+
searchTerm?: string;
|
|
23
|
+
}
|
|
24
|
+
export type GetBatchInputSetsMetadataRequestBody = BatchInputSetsApiRequest;
|
|
25
|
+
export type GetBatchInputSetsMetadataOkResponse = ResponseWithPagination<ResponsePageInputSetListResponse>;
|
|
26
|
+
export type GetBatchInputSetsMetadataErrorResponse = Failure | Error;
|
|
27
|
+
export interface GetBatchInputSetsMetadataProps extends Omit<FetcherOptions<GetBatchInputSetsMetadataMutationQueryParams, GetBatchInputSetsMetadataRequestBody>, 'url'> {
|
|
28
|
+
queryParams: GetBatchInputSetsMetadataMutationQueryParams;
|
|
29
|
+
body: GetBatchInputSetsMetadataRequestBody;
|
|
30
|
+
}
|
|
31
|
+
export declare function getBatchInputSetsMetadata(props: GetBatchInputSetsMetadataProps): Promise<GetBatchInputSetsMetadataOkResponse>;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
export declare function useGetBatchInputSetsMetadataMutation(options?: Omit<UseMutationOptions<GetBatchInputSetsMetadataOkResponse, GetBatchInputSetsMetadataErrorResponse, GetBatchInputSetsMetadataProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetBatchInputSetsMetadataOkResponse, GetBatchInputSetsMetadataErrorResponse, GetBatchInputSetsMetadataProps, unknown>;
|
package/dist/pipeline-swagger-service/src/services/hooks/useGetBatchInputSetsMetadataMutation.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 getBatchInputSetsMetadata(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/inputSets/get/batch-input-sets-metadata`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetBatchInputSetsMetadataMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => getBatchInputSetsMetadata(mutateProps), options);
|
|
14
|
+
}
|
package/dist/pipeline-swagger-service/src/services/hooks/useGetExecutionBranchesListQuery.d.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponsePmsPipelineListBranchesResponse } from '../schemas/ResponsePmsPipelineListBranchesResponse';
|
|
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 GetExecutionBranchesListQueryQueryParams {
|
|
8
|
+
accountIdentifier: string;
|
|
9
|
+
orgIdentifier: string;
|
|
10
|
+
projectIdentifier: string;
|
|
11
|
+
pipelineIdentifier?: string;
|
|
12
|
+
repoName?: string;
|
|
13
|
+
}
|
|
14
|
+
export type GetExecutionBranchesListOkResponse = ResponseWithPagination<ResponsePmsPipelineListBranchesResponse>;
|
|
15
|
+
export type GetExecutionBranchesListErrorResponse = Failure | Error;
|
|
16
|
+
export interface GetExecutionBranchesListProps extends Omit<FetcherOptions<GetExecutionBranchesListQueryQueryParams, unknown>, 'url'> {
|
|
17
|
+
queryParams: GetExecutionBranchesListQueryQueryParams;
|
|
18
|
+
}
|
|
19
|
+
export declare function getExecutionBranchesList(props: GetExecutionBranchesListProps): Promise<GetExecutionBranchesListOkResponse>;
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
export declare function useGetExecutionBranchesListQuery(props: GetExecutionBranchesListProps, options?: Omit<UseQueryOptions<GetExecutionBranchesListOkResponse, GetExecutionBranchesListErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetExecutionBranchesListOkResponse, GetExecutionBranchesListErrorResponse>;
|
|
@@ -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 getExecutionBranchesList(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/pipelines/execution/list-branches`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetExecutionBranchesListQuery(props, options) {
|
|
13
|
+
return useQuery(['getExecutionBranchesList', props.queryParams], ({ signal }) => getExecutionBranchesList(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
package/dist/pipeline-swagger-service/src/services/hooks/useGetExecutionRepositoriesListQuery.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponsePmsPipelineListRepoResponse } from '../schemas/ResponsePmsPipelineListRepoResponse';
|
|
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 GetExecutionRepositoriesListQueryQueryParams {
|
|
8
|
+
accountIdentifier: string;
|
|
9
|
+
orgIdentifier: string;
|
|
10
|
+
projectIdentifier: string;
|
|
11
|
+
pipelineIdentifier?: string;
|
|
12
|
+
}
|
|
13
|
+
export type GetExecutionRepositoriesListOkResponse = ResponseWithPagination<ResponsePmsPipelineListRepoResponse>;
|
|
14
|
+
export type GetExecutionRepositoriesListErrorResponse = Failure | Error;
|
|
15
|
+
export interface GetExecutionRepositoriesListProps extends Omit<FetcherOptions<GetExecutionRepositoriesListQueryQueryParams, unknown>, 'url'> {
|
|
16
|
+
queryParams: GetExecutionRepositoriesListQueryQueryParams;
|
|
17
|
+
}
|
|
18
|
+
export declare function getExecutionRepositoriesList(props: GetExecutionRepositoriesListProps): Promise<GetExecutionRepositoriesListOkResponse>;
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
export declare function useGetExecutionRepositoriesListQuery(props: GetExecutionRepositoriesListProps, options?: Omit<UseQueryOptions<GetExecutionRepositoriesListOkResponse, GetExecutionRepositoriesListErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetExecutionRepositoriesListOkResponse, GetExecutionRepositoriesListErrorResponse>;
|
package/dist/pipeline-swagger-service/src/services/hooks/useGetExecutionRepositoriesListQuery.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 { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function getExecutionRepositoriesList(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/pipelines/execution/list-repositories`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetExecutionRepositoriesListQuery(props, options) {
|
|
13
|
+
return useQuery(['getExecutionRepositoriesList', props.queryParams], ({ signal }) => getExecutionRepositoriesList(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponsePagePipelineExecutionSummary } from '../schemas/ResponsePagePipelineExecutionSummary';
|
|
3
|
+
import type { Failure } from '../schemas/Failure';
|
|
4
|
+
import type { Error } from '../schemas/Error';
|
|
5
|
+
import type { FilterPropertiesRequestBody } from '../requestBodies/FilterPropertiesRequestBody';
|
|
6
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
7
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
|
+
export interface GetListOfExecutionsMutationQueryParams {
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
orgIdentifier: string;
|
|
11
|
+
projectIdentifier: string;
|
|
12
|
+
searchTerm?: string;
|
|
13
|
+
pipelineIdentifier?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @format int32
|
|
16
|
+
* @default 0
|
|
17
|
+
*/
|
|
18
|
+
page?: number;
|
|
19
|
+
/**
|
|
20
|
+
* @format int32
|
|
21
|
+
* @default 10
|
|
22
|
+
*/
|
|
23
|
+
size?: number;
|
|
24
|
+
sort?: string[];
|
|
25
|
+
filterIdentifier?: string;
|
|
26
|
+
showAllExecutions?: boolean;
|
|
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' | 'QueuedGlobalInfraCapacityReached' | 'QueuedLicenseLimitReached' | 'ResourceWaiting' | 'Running' | 'STARTING' | 'STARTING_PLAN_CREATION' | 'Skipped' | 'Success' | 'Suspended' | 'TaskWaiting' | 'TimedWaiting' | 'UploadWaiting' | 'WAITING' | 'WaitStepRunning'>;
|
|
29
|
+
myDeployments?: boolean;
|
|
30
|
+
branch?: string;
|
|
31
|
+
repoIdentifier?: string;
|
|
32
|
+
getDefaultFromOtherRepo?: boolean;
|
|
33
|
+
parentEntityConnectorRef?: string;
|
|
34
|
+
parentEntityRepoName?: string;
|
|
35
|
+
parentEntityAccountIdentifier?: string;
|
|
36
|
+
parentEntityOrgIdentifier?: string;
|
|
37
|
+
parentEntityProjectIdentifier?: string;
|
|
38
|
+
repoName?: string;
|
|
39
|
+
}
|
|
40
|
+
export type GetListOfExecutionsRequestBody = FilterPropertiesRequestBody;
|
|
41
|
+
export type GetListOfExecutionsOkResponse = ResponseWithPagination<ResponsePagePipelineExecutionSummary>;
|
|
42
|
+
export type GetListOfExecutionsErrorResponse = Failure | Error;
|
|
43
|
+
export interface GetListOfExecutionsProps extends Omit<FetcherOptions<GetListOfExecutionsMutationQueryParams, GetListOfExecutionsRequestBody>, 'url'> {
|
|
44
|
+
queryParams: GetListOfExecutionsMutationQueryParams;
|
|
45
|
+
body: GetListOfExecutionsRequestBody;
|
|
46
|
+
}
|
|
47
|
+
export declare function getListOfExecutions(props: GetListOfExecutionsProps): Promise<GetListOfExecutionsOkResponse>;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
*/
|
|
51
|
+
export declare function useGetListOfExecutionsMutation(options?: Omit<UseMutationOptions<GetListOfExecutionsOkResponse, GetListOfExecutionsErrorResponse, GetListOfExecutionsProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetListOfExecutionsOkResponse, GetListOfExecutionsErrorResponse, GetListOfExecutionsProps, 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 getListOfExecutions(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/pipelines/execution/summary`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetListOfExecutionsMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => getListOfExecutions(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
|
+
}
|
|
@@ -3,16 +3,26 @@ export type { CreateTriggerErrorResponse, CreateTriggerMutationQueryParams, Crea
|
|
|
3
3
|
export { createTrigger, useCreateTriggerMutation } from './hooks/useCreateTriggerMutation';
|
|
4
4
|
export type { DeleteFilterErrorResponse, DeleteFilterMutationPathParams, DeleteFilterMutationQueryParams, DeleteFilterOkResponse, DeleteFilterProps, } from './hooks/useDeleteFilterMutation';
|
|
5
5
|
export { deleteFilter, useDeleteFilterMutation } from './hooks/useDeleteFilterMutation';
|
|
6
|
+
export type { GetBatchInputSetsMetadataErrorResponse, GetBatchInputSetsMetadataMutationQueryParams, GetBatchInputSetsMetadataOkResponse, GetBatchInputSetsMetadataProps, GetBatchInputSetsMetadataRequestBody, } from './hooks/useGetBatchInputSetsMetadataMutation';
|
|
7
|
+
export { getBatchInputSetsMetadata, useGetBatchInputSetsMetadataMutation, } from './hooks/useGetBatchInputSetsMetadataMutation';
|
|
8
|
+
export type { GetExecutionBranchesListErrorResponse, GetExecutionBranchesListOkResponse, GetExecutionBranchesListProps, GetExecutionBranchesListQueryQueryParams, } from './hooks/useGetExecutionBranchesListQuery';
|
|
9
|
+
export { getExecutionBranchesList, useGetExecutionBranchesListQuery, } from './hooks/useGetExecutionBranchesListQuery';
|
|
6
10
|
export type { GetExecutionDetailV2ErrorResponse, GetExecutionDetailV2OkResponse, GetExecutionDetailV2Props, GetExecutionDetailV2QueryPathParams, GetExecutionDetailV2QueryQueryParams, } from './hooks/useGetExecutionDetailV2Query';
|
|
7
11
|
export { getExecutionDetailV2, useGetExecutionDetailV2Query, } from './hooks/useGetExecutionDetailV2Query';
|
|
12
|
+
export type { GetExecutionRepositoriesListErrorResponse, GetExecutionRepositoriesListOkResponse, GetExecutionRepositoriesListProps, GetExecutionRepositoriesListQueryQueryParams, } from './hooks/useGetExecutionRepositoriesListQuery';
|
|
13
|
+
export { getExecutionRepositoriesList, useGetExecutionRepositoriesListQuery, } from './hooks/useGetExecutionRepositoriesListQuery';
|
|
8
14
|
export type { GetFilterListErrorResponse, GetFilterListOkResponse, GetFilterListProps, GetFilterListQueryQueryParams, } from './hooks/useGetFilterListQuery';
|
|
9
15
|
export { getFilterList, useGetFilterListQuery } from './hooks/useGetFilterListQuery';
|
|
10
16
|
export type { GetFilterErrorResponse, GetFilterOkResponse, GetFilterProps, GetFilterQueryPathParams, GetFilterQueryQueryParams, } from './hooks/useGetFilterQuery';
|
|
11
17
|
export { getFilter, useGetFilterQuery } from './hooks/useGetFilterQuery';
|
|
12
18
|
export type { GetGitTriggerEventDetailsErrorResponse, GetGitTriggerEventDetailsOkResponse, GetGitTriggerEventDetailsProps, } from './hooks/useGetGitTriggerEventDetailsQuery';
|
|
13
19
|
export { getGitTriggerEventDetails, useGetGitTriggerEventDetailsQuery, } from './hooks/useGetGitTriggerEventDetailsQuery';
|
|
20
|
+
export type { GetListOfExecutionsErrorResponse, GetListOfExecutionsMutationQueryParams, GetListOfExecutionsOkResponse, GetListOfExecutionsProps, GetListOfExecutionsRequestBody, } from './hooks/useGetListOfExecutionsMutation';
|
|
21
|
+
export { getListOfExecutions, useGetListOfExecutionsMutation, } from './hooks/useGetListOfExecutionsMutation';
|
|
14
22
|
export type { GetPipelineSummaryErrorResponse, GetPipelineSummaryOkResponse, GetPipelineSummaryProps, GetPipelineSummaryQueryPathParams, GetPipelineSummaryQueryQueryParams, } from './hooks/useGetPipelineSummaryQuery';
|
|
15
23
|
export { getPipelineSummary, useGetPipelineSummaryQuery } from './hooks/useGetPipelineSummaryQuery';
|
|
24
|
+
export type { GetPolicyEvaluationErrorResponse, GetPolicyEvaluationOkResponse, GetPolicyEvaluationProps, GetPolicyEvaluationQueryPathParams, GetPolicyEvaluationQueryQueryParams, } from './hooks/useGetPolicyEvaluationQuery';
|
|
25
|
+
export { getPolicyEvaluation, useGetPolicyEvaluationQuery, } from './hooks/useGetPolicyEvaluationQuery';
|
|
16
26
|
export type { GetTriggerCatalogErrorResponse, GetTriggerCatalogOkResponse, GetTriggerCatalogProps, GetTriggerCatalogQueryQueryParams, } from './hooks/useGetTriggerCatalogQuery';
|
|
17
27
|
export { getTriggerCatalog, useGetTriggerCatalogQuery } from './hooks/useGetTriggerCatalogQuery';
|
|
18
28
|
export type { GetTriggerListForTargetErrorResponse, GetTriggerListForTargetOkResponse, GetTriggerListForTargetProps, GetTriggerListForTargetQueryQueryParams, } from './hooks/useGetTriggerListForTargetQuery';
|
|
@@ -24,10 +34,12 @@ export { retryHistory, useRetryHistoryQuery } from './hooks/useRetryHistoryQuery
|
|
|
24
34
|
export type { UpdateFilterErrorResponse, UpdateFilterMutationQueryParams, UpdateFilterOkResponse, UpdateFilterProps, UpdateFilterRequestBody, } from './hooks/useUpdateFilterMutation';
|
|
25
35
|
export { updateFilter, useUpdateFilterMutation } from './hooks/useUpdateFilterMutation';
|
|
26
36
|
export type { FilterDtoRequestBody } from './requestBodies/FilterDtoRequestBody';
|
|
37
|
+
export type { FilterPropertiesRequestBody } from './requestBodies/FilterPropertiesRequestBody';
|
|
27
38
|
export type { UpdateTriggerBodyRequestBody } from './requestBodies/UpdateTriggerBodyRequestBody';
|
|
28
39
|
export type { AbortedBy } from './schemas/AbortedBy';
|
|
29
40
|
export type { AccessControlCheckError } from './schemas/AccessControlCheckError';
|
|
30
41
|
export type { AdviserIssuer } from './schemas/AdviserIssuer';
|
|
42
|
+
export type { BatchInputSetsApiRequest } from './schemas/BatchInputSetsApiRequest';
|
|
31
43
|
export type { BuildDetails } from './schemas/BuildDetails';
|
|
32
44
|
export type { ChildExecutionDetailDto } from './schemas/ChildExecutionDetailDto';
|
|
33
45
|
export type { DelegateInfo } from './schemas/DelegateInfo';
|
|
@@ -51,6 +63,7 @@ export type { FilterDto } from './schemas/FilterDto';
|
|
|
51
63
|
export type { FilterProperties } from './schemas/FilterProperties';
|
|
52
64
|
export type { GovernanceMetadata } from './schemas/GovernanceMetadata';
|
|
53
65
|
export type { GraphLayoutNode } from './schemas/GraphLayoutNode';
|
|
66
|
+
export type { InputSetListResponse } from './schemas/InputSetListResponse';
|
|
54
67
|
export type { InputSetValidator } from './schemas/InputSetValidator';
|
|
55
68
|
export type { InterruptConfig } from './schemas/InterruptConfig';
|
|
56
69
|
export type { InterruptEffectDto } from './schemas/InterruptEffectDto';
|
|
@@ -63,12 +76,18 @@ export type { NgTriggerDetailsResponse } from './schemas/NgTriggerDetailsRespons
|
|
|
63
76
|
export type { NgTriggerResponse } from './schemas/NgTriggerResponse';
|
|
64
77
|
export type { NodeRunInfo } from './schemas/NodeRunInfo';
|
|
65
78
|
export type { PageFilterDto } from './schemas/PageFilterDto';
|
|
79
|
+
export type { PageGovernanceMetadata } from './schemas/PageGovernanceMetadata';
|
|
80
|
+
export type { PageInputSetListResponse } from './schemas/PageInputSetListResponse';
|
|
66
81
|
export type { PageNgTriggerDetailsResponse } from './schemas/PageNgTriggerDetailsResponse';
|
|
82
|
+
export type { PagePipelineExecutionSummary } from './schemas/PagePipelineExecutionSummary';
|
|
83
|
+
export type { Pageable } from './schemas/Pageable';
|
|
67
84
|
export type { ParameterFieldListString } from './schemas/ParameterFieldListString';
|
|
68
85
|
export type { PermissionCheck } from './schemas/PermissionCheck';
|
|
69
86
|
export type { PipelineExecutionDetail } from './schemas/PipelineExecutionDetail';
|
|
70
87
|
export type { PipelineExecutionSummary } from './schemas/PipelineExecutionSummary';
|
|
71
88
|
export type { PipelineStageInfo } from './schemas/PipelineStageInfo';
|
|
89
|
+
export type { PmsPipelineListBranchesResponse } from './schemas/PmsPipelineListBranchesResponse';
|
|
90
|
+
export type { PmsPipelineListRepoResponse } from './schemas/PmsPipelineListRepoResponse';
|
|
72
91
|
export type { PmsPipelineSummaryResponse } from './schemas/PmsPipelineSummaryResponse';
|
|
73
92
|
export type { PollingSubscriptionStatus } from './schemas/PollingSubscriptionStatus';
|
|
74
93
|
export type { RecentExecutionInfoDto } from './schemas/RecentExecutionInfoDto';
|
|
@@ -79,8 +98,13 @@ export type { ResponseMapStringMapStringListString } from './schemas/ResponseMap
|
|
|
79
98
|
export type { ResponseMessage } from './schemas/ResponseMessage';
|
|
80
99
|
export type { ResponseNgTriggerResponse } from './schemas/ResponseNgTriggerResponse';
|
|
81
100
|
export type { ResponsePageFilterDto } from './schemas/ResponsePageFilterDto';
|
|
101
|
+
export type { ResponsePageGovernanceMetadata } from './schemas/ResponsePageGovernanceMetadata';
|
|
102
|
+
export type { ResponsePageInputSetListResponse } from './schemas/ResponsePageInputSetListResponse';
|
|
82
103
|
export type { ResponsePageNgTriggerDetailsResponse } from './schemas/ResponsePageNgTriggerDetailsResponse';
|
|
104
|
+
export type { ResponsePagePipelineExecutionSummary } from './schemas/ResponsePagePipelineExecutionSummary';
|
|
83
105
|
export type { ResponsePipelineExecutionDetail } from './schemas/ResponsePipelineExecutionDetail';
|
|
106
|
+
export type { ResponsePmsPipelineListBranchesResponse } from './schemas/ResponsePmsPipelineListBranchesResponse';
|
|
107
|
+
export type { ResponsePmsPipelineListRepoResponse } from './schemas/ResponsePmsPipelineListRepoResponse';
|
|
84
108
|
export type { ResponsePmsPipelineSummaryResponse } from './schemas/ResponsePmsPipelineSummaryResponse';
|
|
85
109
|
export type { ResponseRetryHistoryResponseDto } from './schemas/ResponseRetryHistoryResponseDto';
|
|
86
110
|
export type { ResponseTriggerCatalogResponse } from './schemas/ResponseTriggerCatalogResponse';
|
|
@@ -90,6 +114,7 @@ export type { RetryInterruptConfig } from './schemas/RetryInterruptConfig';
|
|
|
90
114
|
export type { RetryNodeMetadata } from './schemas/RetryNodeMetadata';
|
|
91
115
|
export type { RetryStagesMetadataDto } from './schemas/RetryStagesMetadataDto';
|
|
92
116
|
export type { SkipInfo } from './schemas/SkipInfo';
|
|
117
|
+
export type { Sort } from './schemas/Sort';
|
|
93
118
|
export type { StackTraceElement } from './schemas/StackTraceElement';
|
|
94
119
|
export type { StrategyMetadata } from './schemas/StrategyMetadata';
|
|
95
120
|
export type { SystemIssuer } from './schemas/SystemIssuer';
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
export { createTrigger, useCreateTriggerMutation } from './hooks/useCreateTriggerMutation';
|
|
2
2
|
export { deleteFilter, useDeleteFilterMutation } from './hooks/useDeleteFilterMutation';
|
|
3
|
+
export { getBatchInputSetsMetadata, useGetBatchInputSetsMetadataMutation, } from './hooks/useGetBatchInputSetsMetadataMutation';
|
|
4
|
+
export { getExecutionBranchesList, useGetExecutionBranchesListQuery, } from './hooks/useGetExecutionBranchesListQuery';
|
|
3
5
|
export { getExecutionDetailV2, useGetExecutionDetailV2Query, } from './hooks/useGetExecutionDetailV2Query';
|
|
6
|
+
export { getExecutionRepositoriesList, useGetExecutionRepositoriesListQuery, } from './hooks/useGetExecutionRepositoriesListQuery';
|
|
4
7
|
export { getFilterList, useGetFilterListQuery } from './hooks/useGetFilterListQuery';
|
|
5
8
|
export { getFilter, useGetFilterQuery } from './hooks/useGetFilterQuery';
|
|
6
9
|
export { getGitTriggerEventDetails, useGetGitTriggerEventDetailsQuery, } from './hooks/useGetGitTriggerEventDetailsQuery';
|
|
10
|
+
export { getListOfExecutions, useGetListOfExecutionsMutation, } from './hooks/useGetListOfExecutionsMutation';
|
|
7
11
|
export { getPipelineSummary, useGetPipelineSummaryQuery } from './hooks/useGetPipelineSummaryQuery';
|
|
12
|
+
export { getPolicyEvaluation, useGetPolicyEvaluationQuery, } from './hooks/useGetPolicyEvaluationQuery';
|
|
8
13
|
export { getTriggerCatalog, useGetTriggerCatalogQuery } from './hooks/useGetTriggerCatalogQuery';
|
|
9
14
|
export { getTriggerListForTarget, useGetTriggerListForTargetQuery, } from './hooks/useGetTriggerListForTargetQuery';
|
|
10
15
|
export { postFilter, usePostFilterMutation } from './hooks/usePostFilterMutation';
|
package/dist/pipeline-swagger-service/src/services/requestBodies/FilterPropertiesRequestBody.js
ADDED
|
@@ -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' | '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 {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { InputSetListResponse } from '../schemas/InputSetListResponse';
|
|
2
|
+
export interface PageInputSetListResponse {
|
|
3
|
+
content?: InputSetListResponse[];
|
|
4
|
+
empty?: boolean;
|
|
5
|
+
/**
|
|
6
|
+
* @format int64
|
|
7
|
+
*/
|
|
8
|
+
pageIndex?: number;
|
|
9
|
+
/**
|
|
10
|
+
* @format int64
|
|
11
|
+
*/
|
|
12
|
+
pageItemCount?: number;
|
|
13
|
+
/**
|
|
14
|
+
* @format int64
|
|
15
|
+
*/
|
|
16
|
+
pageSize?: number;
|
|
17
|
+
pageToken?: string;
|
|
18
|
+
/**
|
|
19
|
+
* @format int64
|
|
20
|
+
*/
|
|
21
|
+
totalItems?: number;
|
|
22
|
+
/**
|
|
23
|
+
* @format int64
|
|
24
|
+
*/
|
|
25
|
+
totalPages?: number;
|
|
26
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { PipelineExecutionSummary } from '../schemas/PipelineExecutionSummary';
|
|
2
|
+
import type { Pageable } from '../schemas/Pageable';
|
|
3
|
+
import type { Sort } from '../schemas/Sort';
|
|
4
|
+
export interface PagePipelineExecutionSummary {
|
|
5
|
+
content?: PipelineExecutionSummary[];
|
|
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 {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { Sort } from '../schemas/Sort';
|
|
2
|
+
export interface Pageable {
|
|
3
|
+
/**
|
|
4
|
+
* @format int64
|
|
5
|
+
*/
|
|
6
|
+
offset?: number;
|
|
7
|
+
/**
|
|
8
|
+
* @format int32
|
|
9
|
+
*/
|
|
10
|
+
pageNumber?: number;
|
|
11
|
+
/**
|
|
12
|
+
* @format int32
|
|
13
|
+
*/
|
|
14
|
+
pageSize?: number;
|
|
15
|
+
paged?: boolean;
|
|
16
|
+
sort?: Sort;
|
|
17
|
+
unpaged?: boolean;
|
|
18
|
+
}
|
|
@@ -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
|
|
@@ -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
|
}
|
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 {};
|
package/dist/pipeline-swagger-service/src/services/schemas/ResponsePageInputSetListResponse.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { PageInputSetListResponse } from '../schemas/PageInputSetListResponse';
|
|
2
|
+
export interface ResponsePageInputSetListResponse {
|
|
3
|
+
correlationId?: string;
|
|
4
|
+
data?: PageInputSetListResponse;
|
|
5
|
+
metaData?: {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
};
|
|
8
|
+
status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
|
|
9
|
+
}
|
package/dist/pipeline-swagger-service/src/services/schemas/ResponsePageInputSetListResponse.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/pipeline-swagger-service/src/services/schemas/ResponsePagePipelineExecutionSummary.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { PagePipelineExecutionSummary } from '../schemas/PagePipelineExecutionSummary';
|
|
2
|
+
export interface ResponsePagePipelineExecutionSummary {
|
|
3
|
+
correlationId?: string;
|
|
4
|
+
data?: PagePipelineExecutionSummary;
|
|
5
|
+
metaData?: {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
};
|
|
8
|
+
status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
|
|
9
|
+
}
|
package/dist/pipeline-swagger-service/src/services/schemas/ResponsePagePipelineExecutionSummary.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { PmsPipelineListBranchesResponse } from '../schemas/PmsPipelineListBranchesResponse';
|
|
2
|
+
export interface ResponsePmsPipelineListBranchesResponse {
|
|
3
|
+
correlationId?: string;
|
|
4
|
+
data?: PmsPipelineListBranchesResponse;
|
|
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/ResponsePmsPipelineListRepoResponse.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { PmsPipelineListRepoResponse } from '../schemas/PmsPipelineListRepoResponse';
|
|
2
|
+
export interface ResponsePmsPipelineListRepoResponse {
|
|
3
|
+
correlationId?: string;
|
|
4
|
+
data?: PmsPipelineListRepoResponse;
|
|
5
|
+
metaData?: {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
};
|
|
8
|
+
status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
|
|
9
|
+
}
|
package/dist/pipeline-swagger-service/src/services/schemas/ResponsePmsPipelineListRepoResponse.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED