@harnessio/react-pipeline-swagger-service-client 1.2.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/pipeline-swagger-service/src/services/hooks/useGetGitTriggerEventDetailsQuery.d.ts +15 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useGetGitTriggerEventDetailsQuery.js +14 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useGetPipelineSummaryQuery.d.ts +41 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useGetPipelineSummaryQuery.js +14 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useGetTriggerCatalogQuery.d.ts +19 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useGetTriggerCatalogQuery.js +14 -0
- package/dist/pipeline-swagger-service/src/services/index.d.ts +18 -0
- package/dist/pipeline-swagger-service/src/services/index.js +3 -0
- package/dist/pipeline-swagger-service/src/services/schemas/EntityGitDetails.d.ts +14 -0
- package/dist/pipeline-swagger-service/src/services/schemas/EntityGitDetails.js +4 -0
- package/dist/pipeline-swagger-service/src/services/schemas/EntityValidityDetails.d.ts +4 -0
- package/dist/pipeline-swagger-service/src/services/schemas/EntityValidityDetails.js +4 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ExecutionSummaryInfo.d.ts +10 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ExecutionSummaryInfo.js +4 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ExecutorInfoDto.d.ts +5 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ExecutorInfoDto.js +4 -0
- package/dist/pipeline-swagger-service/src/services/schemas/PipelineStageInfo.d.ts +3 -0
- package/dist/pipeline-swagger-service/src/services/schemas/PipelineStageInfo.js +4 -0
- package/dist/pipeline-swagger-service/src/services/schemas/PmsPipelineSummaryResponse.d.ts +47 -0
- package/dist/pipeline-swagger-service/src/services/schemas/PmsPipelineSummaryResponse.js +1 -0
- package/dist/pipeline-swagger-service/src/services/schemas/RecentExecutionInfoDto.d.ts +20 -0
- package/dist/pipeline-swagger-service/src/services/schemas/RecentExecutionInfoDto.js +1 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ResponseMapStringMapStringListString.d.ts +12 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ResponseMapStringMapStringListString.js +4 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ResponsePmsPipelineSummaryResponse.d.ts +9 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ResponsePmsPipelineSummaryResponse.js +1 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ResponseTriggerCatalogResponse.d.ts +9 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ResponseTriggerCatalogResponse.js +1 -0
- package/dist/pipeline-swagger-service/src/services/schemas/TriggerCatalogItem.d.ts +4 -0
- package/dist/pipeline-swagger-service/src/services/schemas/TriggerCatalogItem.js +4 -0
- package/dist/pipeline-swagger-service/src/services/schemas/TriggerCatalogResponse.d.ts +4 -0
- package/dist/pipeline-swagger-service/src/services/schemas/TriggerCatalogResponse.js +1 -0
- package/package.json +1 -1
package/dist/pipeline-swagger-service/src/services/hooks/useGetGitTriggerEventDetailsQuery.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseMapStringMapStringListString } from '../schemas/ResponseMapStringMapStringListString';
|
|
3
|
+
import type { Failure } from '../schemas/Failure';
|
|
4
|
+
import type { Error } from '../schemas/Error';
|
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
+
export type GetGitTriggerEventDetailsOkResponse = ResponseWithPagination<ResponseMapStringMapStringListString>;
|
|
8
|
+
export type GetGitTriggerEventDetailsErrorResponse = Failure | Error;
|
|
9
|
+
export interface GetGitTriggerEventDetailsProps extends Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
10
|
+
}
|
|
11
|
+
export declare function getGitTriggerEventDetails(props: GetGitTriggerEventDetailsProps): Promise<GetGitTriggerEventDetailsOkResponse>;
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
15
|
+
export declare function useGetGitTriggerEventDetailsQuery(props: GetGitTriggerEventDetailsProps, options?: Omit<UseQueryOptions<GetGitTriggerEventDetailsOkResponse, GetGitTriggerEventDetailsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetGitTriggerEventDetailsOkResponse, GetGitTriggerEventDetailsErrorResponse>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function getGitTriggerEventDetails(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/webhook/gitTriggerEventDetails`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetGitTriggerEventDetailsQuery(props, options) {
|
|
13
|
+
return useQuery(['getGitTriggerEventDetails'], ({ signal }) => getGitTriggerEventDetails(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponsePmsPipelineSummaryResponse } from '../schemas/ResponsePmsPipelineSummaryResponse';
|
|
3
|
+
import type { Failure } from '../schemas/Failure';
|
|
4
|
+
import type { Error } from '../schemas/Error';
|
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
+
export interface GetPipelineSummaryQueryPathParams {
|
|
8
|
+
pipelineIdentifier: string;
|
|
9
|
+
}
|
|
10
|
+
export interface GetPipelineSummaryQueryQueryParams {
|
|
11
|
+
accountIdentifier: string;
|
|
12
|
+
orgIdentifier: string;
|
|
13
|
+
projectIdentifier: string;
|
|
14
|
+
branch?: string;
|
|
15
|
+
repoIdentifier?: string;
|
|
16
|
+
getDefaultFromOtherRepo?: boolean;
|
|
17
|
+
parentEntityConnectorRef?: string;
|
|
18
|
+
parentEntityRepoName?: string;
|
|
19
|
+
parentEntityAccountIdentifier?: string;
|
|
20
|
+
parentEntityOrgIdentifier?: string;
|
|
21
|
+
parentEntityProjectIdentifier?: string;
|
|
22
|
+
repoName?: string;
|
|
23
|
+
getMetadataOnly?: boolean;
|
|
24
|
+
loadFromFallbackBranch?: boolean;
|
|
25
|
+
}
|
|
26
|
+
export interface GetPipelineSummaryQueryHeaderParams {
|
|
27
|
+
/**
|
|
28
|
+
* @default "false"
|
|
29
|
+
*/
|
|
30
|
+
'Load-From-Cache'?: string;
|
|
31
|
+
}
|
|
32
|
+
export type GetPipelineSummaryOkResponse = ResponseWithPagination<ResponsePmsPipelineSummaryResponse>;
|
|
33
|
+
export type GetPipelineSummaryErrorResponse = Failure | Error;
|
|
34
|
+
export interface GetPipelineSummaryProps extends GetPipelineSummaryQueryPathParams, Omit<FetcherOptions<GetPipelineSummaryQueryQueryParams, unknown, GetPipelineSummaryQueryHeaderParams>, 'url'> {
|
|
35
|
+
queryParams: GetPipelineSummaryQueryQueryParams;
|
|
36
|
+
}
|
|
37
|
+
export declare function getPipelineSummary(props: GetPipelineSummaryProps): Promise<GetPipelineSummaryOkResponse>;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
export declare function useGetPipelineSummaryQuery(props: GetPipelineSummaryProps, options?: Omit<UseQueryOptions<GetPipelineSummaryOkResponse, GetPipelineSummaryErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetPipelineSummaryOkResponse, GetPipelineSummaryErrorResponse>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function getPipelineSummary(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/pipelines/summary/${props.pipelineIdentifier}`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetPipelineSummaryQuery(props, options) {
|
|
13
|
+
return useQuery(['getPipelineSummary', props.pipelineIdentifier, props.queryParams], ({ signal }) => getPipelineSummary(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseTriggerCatalogResponse } from '../schemas/ResponseTriggerCatalogResponse';
|
|
3
|
+
import type { Failure } from '../schemas/Failure';
|
|
4
|
+
import type { Error } from '../schemas/Error';
|
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
+
export interface GetTriggerCatalogQueryQueryParams {
|
|
8
|
+
accountIdentifier: string;
|
|
9
|
+
}
|
|
10
|
+
export type GetTriggerCatalogOkResponse = ResponseWithPagination<ResponseTriggerCatalogResponse>;
|
|
11
|
+
export type GetTriggerCatalogErrorResponse = Failure | Error;
|
|
12
|
+
export interface GetTriggerCatalogProps extends Omit<FetcherOptions<GetTriggerCatalogQueryQueryParams, unknown>, 'url'> {
|
|
13
|
+
queryParams: GetTriggerCatalogQueryQueryParams;
|
|
14
|
+
}
|
|
15
|
+
export declare function getTriggerCatalog(props: GetTriggerCatalogProps): Promise<GetTriggerCatalogOkResponse>;
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export declare function useGetTriggerCatalogQuery(props: GetTriggerCatalogProps, options?: Omit<UseQueryOptions<GetTriggerCatalogOkResponse, GetTriggerCatalogErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetTriggerCatalogOkResponse, GetTriggerCatalogErrorResponse>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function getTriggerCatalog(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/triggers/catalog`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetTriggerCatalogQuery(props, options) {
|
|
13
|
+
return useQuery(['getTriggerCatalog', props.queryParams], ({ signal }) => getTriggerCatalog(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -7,6 +7,12 @@ export type { GetFilterListErrorResponse, GetFilterListOkResponse, GetFilterList
|
|
|
7
7
|
export { getFilterList, useGetFilterListQuery } from './hooks/useGetFilterListQuery';
|
|
8
8
|
export type { GetFilterErrorResponse, GetFilterOkResponse, GetFilterProps, GetFilterQueryPathParams, GetFilterQueryQueryParams, } from './hooks/useGetFilterQuery';
|
|
9
9
|
export { getFilter, useGetFilterQuery } from './hooks/useGetFilterQuery';
|
|
10
|
+
export type { GetGitTriggerEventDetailsErrorResponse, GetGitTriggerEventDetailsOkResponse, GetGitTriggerEventDetailsProps, } from './hooks/useGetGitTriggerEventDetailsQuery';
|
|
11
|
+
export { getGitTriggerEventDetails, useGetGitTriggerEventDetailsQuery, } from './hooks/useGetGitTriggerEventDetailsQuery';
|
|
12
|
+
export type { GetPipelineSummaryErrorResponse, GetPipelineSummaryOkResponse, GetPipelineSummaryProps, GetPipelineSummaryQueryPathParams, GetPipelineSummaryQueryQueryParams, } from './hooks/useGetPipelineSummaryQuery';
|
|
13
|
+
export { getPipelineSummary, useGetPipelineSummaryQuery } from './hooks/useGetPipelineSummaryQuery';
|
|
14
|
+
export type { GetTriggerCatalogErrorResponse, GetTriggerCatalogOkResponse, GetTriggerCatalogProps, GetTriggerCatalogQueryQueryParams, } from './hooks/useGetTriggerCatalogQuery';
|
|
15
|
+
export { getTriggerCatalog, useGetTriggerCatalogQuery } from './hooks/useGetTriggerCatalogQuery';
|
|
10
16
|
export type { GetTriggerListForTargetErrorResponse, GetTriggerListForTargetOkResponse, GetTriggerListForTargetProps, GetTriggerListForTargetQueryQueryParams, } from './hooks/useGetTriggerListForTargetQuery';
|
|
11
17
|
export { getTriggerListForTarget, useGetTriggerListForTargetQuery, } from './hooks/useGetTriggerListForTargetQuery';
|
|
12
18
|
export type { PostFilterErrorResponse, PostFilterMutationQueryParams, PostFilterOkResponse, PostFilterProps, PostFilterRequestBody, } from './hooks/usePostFilterMutation';
|
|
@@ -16,8 +22,12 @@ export { updateFilter, useUpdateFilterMutation } from './hooks/useUpdateFilterMu
|
|
|
16
22
|
export type { FilterDtoRequestBody } from './requestBodies/FilterDtoRequestBody';
|
|
17
23
|
export type { UpdateTriggerBodyRequestBody } from './requestBodies/UpdateTriggerBodyRequestBody';
|
|
18
24
|
export type { BuildDetails } from './schemas/BuildDetails';
|
|
25
|
+
export type { EntityGitDetails } from './schemas/EntityGitDetails';
|
|
26
|
+
export type { EntityValidityDetails } from './schemas/EntityValidityDetails';
|
|
19
27
|
export type { Error } from './schemas/Error';
|
|
20
28
|
export type { ErrorMetadataDto } from './schemas/ErrorMetadataDto';
|
|
29
|
+
export type { ExecutionSummaryInfo } from './schemas/ExecutionSummaryInfo';
|
|
30
|
+
export type { ExecutorInfoDto } from './schemas/ExecutorInfoDto';
|
|
21
31
|
export type { Failure } from './schemas/Failure';
|
|
22
32
|
export type { FilterDto } from './schemas/FilterDto';
|
|
23
33
|
export type { FilterProperties } from './schemas/FilterProperties';
|
|
@@ -28,15 +38,23 @@ export type { NgTriggerResponse } from './schemas/NgTriggerResponse';
|
|
|
28
38
|
export type { PageFilterDto } from './schemas/PageFilterDto';
|
|
29
39
|
export type { PageNgTriggerDetailsResponse } from './schemas/PageNgTriggerDetailsResponse';
|
|
30
40
|
export type { ParameterFieldListString } from './schemas/ParameterFieldListString';
|
|
41
|
+
export type { PipelineStageInfo } from './schemas/PipelineStageInfo';
|
|
42
|
+
export type { PmsPipelineSummaryResponse } from './schemas/PmsPipelineSummaryResponse';
|
|
31
43
|
export type { PollingSubscriptionStatus } from './schemas/PollingSubscriptionStatus';
|
|
44
|
+
export type { RecentExecutionInfoDto } from './schemas/RecentExecutionInfoDto';
|
|
32
45
|
export type { ResponseBoolean } from './schemas/ResponseBoolean';
|
|
33
46
|
export type { ResponseFilterDto } from './schemas/ResponseFilterDto';
|
|
47
|
+
export type { ResponseMapStringMapStringListString } from './schemas/ResponseMapStringMapStringListString';
|
|
34
48
|
export type { ResponseMessage } from './schemas/ResponseMessage';
|
|
35
49
|
export type { ResponseNgTriggerResponse } from './schemas/ResponseNgTriggerResponse';
|
|
36
50
|
export type { ResponsePageFilterDto } from './schemas/ResponsePageFilterDto';
|
|
37
51
|
export type { ResponsePageNgTriggerDetailsResponse } from './schemas/ResponsePageNgTriggerDetailsResponse';
|
|
52
|
+
export type { ResponsePmsPipelineSummaryResponse } from './schemas/ResponsePmsPipelineSummaryResponse';
|
|
53
|
+
export type { ResponseTriggerCatalogResponse } from './schemas/ResponseTriggerCatalogResponse';
|
|
38
54
|
export type { StackTraceElement } from './schemas/StackTraceElement';
|
|
39
55
|
export type { Throwable } from './schemas/Throwable';
|
|
56
|
+
export type { TriggerCatalogItem } from './schemas/TriggerCatalogItem';
|
|
57
|
+
export type { TriggerCatalogResponse } from './schemas/TriggerCatalogResponse';
|
|
40
58
|
export type { TriggerStatus } from './schemas/TriggerStatus';
|
|
41
59
|
export type { ValidationError } from './schemas/ValidationError';
|
|
42
60
|
export type { ValidationStatus } from './schemas/ValidationStatus';
|
|
@@ -2,6 +2,9 @@ export { createTrigger, useCreateTriggerMutation } from './hooks/useCreateTrigge
|
|
|
2
2
|
export { deleteFilter, useDeleteFilterMutation } from './hooks/useDeleteFilterMutation';
|
|
3
3
|
export { getFilterList, useGetFilterListQuery } from './hooks/useGetFilterListQuery';
|
|
4
4
|
export { getFilter, useGetFilterQuery } from './hooks/useGetFilterQuery';
|
|
5
|
+
export { getGitTriggerEventDetails, useGetGitTriggerEventDetailsQuery, } from './hooks/useGetGitTriggerEventDetailsQuery';
|
|
6
|
+
export { getPipelineSummary, useGetPipelineSummaryQuery } from './hooks/useGetPipelineSummaryQuery';
|
|
7
|
+
export { getTriggerCatalog, useGetTriggerCatalogQuery } from './hooks/useGetTriggerCatalogQuery';
|
|
5
8
|
export { getTriggerListForTarget, useGetTriggerListForTargetQuery, } from './hooks/useGetTriggerListForTargetQuery';
|
|
6
9
|
export { postFilter, usePostFilterMutation } from './hooks/usePostFilterMutation';
|
|
7
10
|
export { updateFilter, useUpdateFilterMutation } from './hooks/useUpdateFilterMutation';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface EntityGitDetails {
|
|
2
|
+
branch?: string;
|
|
3
|
+
commitId?: string;
|
|
4
|
+
filePath?: string;
|
|
5
|
+
fileUrl?: string;
|
|
6
|
+
isHarnessCodeRepo?: boolean;
|
|
7
|
+
objectId?: string;
|
|
8
|
+
parentEntityConnectorRef?: string;
|
|
9
|
+
parentEntityRepoName?: string;
|
|
10
|
+
repoIdentifier?: string;
|
|
11
|
+
repoName?: string;
|
|
12
|
+
repoUrl?: string;
|
|
13
|
+
rootFolder?: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface ExecutionSummaryInfo {
|
|
2
|
+
deployments?: number[];
|
|
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';
|
|
5
|
+
/**
|
|
6
|
+
* @format int64
|
|
7
|
+
*/
|
|
8
|
+
lastExecutionTs?: number;
|
|
9
|
+
numOfErrors?: number[];
|
|
10
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { EntityValidityDetails } from '../schemas/EntityValidityDetails';
|
|
2
|
+
import type { ExecutionSummaryInfo } from '../schemas/ExecutionSummaryInfo';
|
|
3
|
+
import type { EntityGitDetails } from '../schemas/EntityGitDetails';
|
|
4
|
+
import type { RecentExecutionInfoDto } from '../schemas/RecentExecutionInfoDto';
|
|
5
|
+
export interface PmsPipelineSummaryResponse {
|
|
6
|
+
connectorRef?: string;
|
|
7
|
+
/**
|
|
8
|
+
* @format int64
|
|
9
|
+
*/
|
|
10
|
+
createdAt?: number;
|
|
11
|
+
description?: string;
|
|
12
|
+
enableDAG?: boolean;
|
|
13
|
+
entityValidityDetails?: EntityValidityDetails;
|
|
14
|
+
executionSummaryInfo?: ExecutionSummaryInfo;
|
|
15
|
+
filters?: {
|
|
16
|
+
[key: string]: {
|
|
17
|
+
[key: string]: {
|
|
18
|
+
[key: string]: any;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
gitDetails?: EntityGitDetails;
|
|
23
|
+
identifier?: string;
|
|
24
|
+
isDraft?: boolean;
|
|
25
|
+
isInlineHCEntity?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* @format int64
|
|
28
|
+
*/
|
|
29
|
+
lastUpdatedAt?: number;
|
|
30
|
+
modules?: string[];
|
|
31
|
+
name?: string;
|
|
32
|
+
/**
|
|
33
|
+
* @format int32
|
|
34
|
+
*/
|
|
35
|
+
numOfStages?: number;
|
|
36
|
+
recentExecutionsInfo?: RecentExecutionInfoDto[];
|
|
37
|
+
stageNames?: string[];
|
|
38
|
+
storeType?: 'INLINE' | 'INLINE_HC' | 'REMOTE';
|
|
39
|
+
tags?: {
|
|
40
|
+
[key: string]: string;
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* @format int64
|
|
44
|
+
*/
|
|
45
|
+
version?: number;
|
|
46
|
+
yamlVersion?: string;
|
|
47
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { ExecutorInfoDto } from '../schemas/ExecutorInfoDto';
|
|
2
|
+
import type { PipelineStageInfo } from '../schemas/PipelineStageInfo';
|
|
3
|
+
export interface RecentExecutionInfoDto {
|
|
4
|
+
/**
|
|
5
|
+
* @format int64
|
|
6
|
+
*/
|
|
7
|
+
endTs?: number;
|
|
8
|
+
executorInfo?: ExecutorInfoDto;
|
|
9
|
+
parentStageInfo?: PipelineStageInfo;
|
|
10
|
+
planExecutionId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @format int32
|
|
13
|
+
*/
|
|
14
|
+
runSequence?: number;
|
|
15
|
+
/**
|
|
16
|
+
* @format int64
|
|
17
|
+
*/
|
|
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';
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/pipeline-swagger-service/src/services/schemas/ResponsePmsPipelineSummaryResponse.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { PmsPipelineSummaryResponse } from '../schemas/PmsPipelineSummaryResponse';
|
|
2
|
+
export interface ResponsePmsPipelineSummaryResponse {
|
|
3
|
+
correlationId?: string;
|
|
4
|
+
data?: PmsPipelineSummaryResponse;
|
|
5
|
+
metaData?: {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
};
|
|
8
|
+
status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
|
|
9
|
+
}
|
package/dist/pipeline-swagger-service/src/services/schemas/ResponsePmsPipelineSummaryResponse.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/pipeline-swagger-service/src/services/schemas/ResponseTriggerCatalogResponse.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { TriggerCatalogResponse } from '../schemas/TriggerCatalogResponse';
|
|
2
|
+
export interface ResponseTriggerCatalogResponse {
|
|
3
|
+
correlationId?: string;
|
|
4
|
+
data?: TriggerCatalogResponse;
|
|
5
|
+
metaData?: {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
};
|
|
8
|
+
status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export interface TriggerCatalogItem {
|
|
2
|
+
category: 'Artifact' | 'Manifest' | 'MultiRegionArtifact' | 'Scheduled' | 'Webhook';
|
|
3
|
+
triggerCatalogType: Array<'Acr' | 'AmazonMachineImage' | 'AmazonS3' | 'ArtifactoryRegistry' | 'AzureArtifacts' | 'AzureRepo' | 'Bamboo' | 'Bitbucket' | 'Cron' | 'Custom' | 'CustomArtifact' | 'DockerRegistry' | 'Ecr' | 'EventRelay' | 'Gcr' | 'Github' | 'GithubPackageRegistry' | 'Gitlab' | 'GoogleArtifactRegistry' | 'GoogleCloudStorage' | 'Harness' | 'HarnessArtifactRegistry' | 'HelmChart' | 'Jenkins' | 'Nexus2Registry' | 'Nexus3Registry'>;
|
|
4
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED