@harnessio/react-pipeline-swagger-service-client 1.1.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/useDeleteFilterMutation.d.ts +25 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useDeleteFilterMutation.js +14 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useGetFilterListQuery.d.ts +33 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useGetFilterListQuery.js +14 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useGetFilterQuery.d.ts +25 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useGetFilterQuery.js +14 -0
- 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/hooks/usePostFilterMutation.d.ts +22 -0
- package/dist/pipeline-swagger-service/src/services/hooks/usePostFilterMutation.js +14 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useUpdateFilterMutation.d.ts +22 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useUpdateFilterMutation.js +14 -0
- package/dist/pipeline-swagger-service/src/services/index.d.ts +35 -0
- package/dist/pipeline-swagger-service/src/services/index.js +8 -0
- package/dist/pipeline-swagger-service/src/services/requestBodies/FilterDtoRequestBody.d.ts +2 -0
- package/dist/pipeline-swagger-service/src/services/requestBodies/FilterDtoRequestBody.js +1 -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/FilterDto.d.ts +9 -0
- package/dist/pipeline-swagger-service/src/services/schemas/FilterDto.js +1 -0
- package/dist/pipeline-swagger-service/src/services/schemas/FilterProperties.d.ts +9 -0
- package/dist/pipeline-swagger-service/src/services/schemas/FilterProperties.js +4 -0
- package/dist/pipeline-swagger-service/src/services/schemas/PageFilterDto.d.ts +26 -0
- package/dist/pipeline-swagger-service/src/services/schemas/PageFilterDto.js +1 -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/ResponseBoolean.d.ts +8 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ResponseBoolean.js +4 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ResponseFilterDto.d.ts +9 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ResponseFilterDto.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/ResponsePageFilterDto.d.ts +9 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ResponsePageFilterDto.js +1 -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
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseBoolean } from '../schemas/ResponseBoolean';
|
|
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 DeleteFilterMutationPathParams {
|
|
8
|
+
identifier: string;
|
|
9
|
+
}
|
|
10
|
+
export interface DeleteFilterMutationQueryParams {
|
|
11
|
+
accountIdentifier: string;
|
|
12
|
+
orgIdentifier?: string;
|
|
13
|
+
projectIdentifier?: string;
|
|
14
|
+
type: 'Anomaly' | 'Audit' | 'Autocud' | 'CCMBudget' | 'CCMConnector' | 'CCMK8sConnector' | 'CCMRecommendation' | 'Connector' | 'Delegate' | 'DelegateProfile' | 'Deployment' | 'Environment' | 'EnvironmentGroup' | 'FileStore' | 'InputSet' | 'Override' | 'PipelineExecution' | 'PipelineSetup' | 'RIInventory' | 'RuleExecution' | 'SPInventory' | 'Secret' | 'Template' | 'Trigger' | 'Webhook';
|
|
15
|
+
}
|
|
16
|
+
export type DeleteFilterOkResponse = ResponseWithPagination<ResponseBoolean>;
|
|
17
|
+
export type DeleteFilterErrorResponse = Failure | Error;
|
|
18
|
+
export interface DeleteFilterProps extends DeleteFilterMutationPathParams, Omit<FetcherOptions<DeleteFilterMutationQueryParams, unknown>, 'url'> {
|
|
19
|
+
queryParams: DeleteFilterMutationQueryParams;
|
|
20
|
+
}
|
|
21
|
+
export declare function deleteFilter(props: DeleteFilterProps): Promise<DeleteFilterOkResponse>;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
export declare function useDeleteFilterMutation(options?: Omit<UseMutationOptions<DeleteFilterOkResponse, DeleteFilterErrorResponse, DeleteFilterProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteFilterOkResponse, DeleteFilterErrorResponse, DeleteFilterProps, 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 deleteFilter(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/filters/${props.identifier}`, method: 'DELETE' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useDeleteFilterMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => deleteFilter(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponsePageFilterDto } from '../schemas/ResponsePageFilterDto';
|
|
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 GetFilterListQueryQueryParams {
|
|
8
|
+
/**
|
|
9
|
+
* @format int32
|
|
10
|
+
* @default 0
|
|
11
|
+
*/
|
|
12
|
+
pageIndex?: number;
|
|
13
|
+
/**
|
|
14
|
+
* @format int32
|
|
15
|
+
* @default 100
|
|
16
|
+
*/
|
|
17
|
+
pageSize?: number;
|
|
18
|
+
accountIdentifier: string;
|
|
19
|
+
orgIdentifier?: string;
|
|
20
|
+
projectIdentifier?: string;
|
|
21
|
+
type: 'Anomaly' | 'Audit' | 'Autocud' | 'CCMBudget' | 'CCMConnector' | 'CCMK8sConnector' | 'CCMRecommendation' | 'Connector' | 'Delegate' | 'DelegateProfile' | 'Deployment' | 'Environment' | 'EnvironmentGroup' | 'FileStore' | 'InputSet' | 'Override' | 'PipelineExecution' | 'PipelineSetup' | 'RIInventory' | 'RuleExecution' | 'SPInventory' | 'Secret' | 'Template' | 'Trigger' | 'Webhook';
|
|
22
|
+
searchTerm?: string;
|
|
23
|
+
}
|
|
24
|
+
export type GetFilterListOkResponse = ResponseWithPagination<ResponsePageFilterDto>;
|
|
25
|
+
export type GetFilterListErrorResponse = Failure | Error;
|
|
26
|
+
export interface GetFilterListProps extends Omit<FetcherOptions<GetFilterListQueryQueryParams, unknown>, 'url'> {
|
|
27
|
+
queryParams: GetFilterListQueryQueryParams;
|
|
28
|
+
}
|
|
29
|
+
export declare function getFilterList(props: GetFilterListProps): Promise<GetFilterListOkResponse>;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
export declare function useGetFilterListQuery(props: GetFilterListProps, options?: Omit<UseQueryOptions<GetFilterListOkResponse, GetFilterListErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetFilterListOkResponse, GetFilterListErrorResponse>;
|
|
@@ -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 getFilterList(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/filters`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetFilterListQuery(props, options) {
|
|
13
|
+
return useQuery(['getFilterList', props.queryParams], ({ signal }) => getFilterList(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseFilterDto } from '../schemas/ResponseFilterDto';
|
|
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 GetFilterQueryPathParams {
|
|
8
|
+
identifier: string;
|
|
9
|
+
}
|
|
10
|
+
export interface GetFilterQueryQueryParams {
|
|
11
|
+
accountIdentifier: string;
|
|
12
|
+
orgIdentifier?: string;
|
|
13
|
+
projectIdentifier?: string;
|
|
14
|
+
type: 'Anomaly' | 'Audit' | 'Autocud' | 'CCMBudget' | 'CCMConnector' | 'CCMK8sConnector' | 'CCMRecommendation' | 'Connector' | 'Delegate' | 'DelegateProfile' | 'Deployment' | 'Environment' | 'EnvironmentGroup' | 'FileStore' | 'InputSet' | 'Override' | 'PipelineExecution' | 'PipelineSetup' | 'RIInventory' | 'RuleExecution' | 'SPInventory' | 'Secret' | 'Template' | 'Trigger' | 'Webhook';
|
|
15
|
+
}
|
|
16
|
+
export type GetFilterOkResponse = ResponseWithPagination<ResponseFilterDto>;
|
|
17
|
+
export type GetFilterErrorResponse = Failure | Error;
|
|
18
|
+
export interface GetFilterProps extends GetFilterQueryPathParams, Omit<FetcherOptions<GetFilterQueryQueryParams, unknown>, 'url'> {
|
|
19
|
+
queryParams: GetFilterQueryQueryParams;
|
|
20
|
+
}
|
|
21
|
+
export declare function getFilter(props: GetFilterProps): Promise<GetFilterOkResponse>;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
export declare function useGetFilterQuery(props: GetFilterProps, options?: Omit<UseQueryOptions<GetFilterOkResponse, GetFilterErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetFilterOkResponse, GetFilterErrorResponse>;
|
|
@@ -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 getFilter(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/filters/${props.identifier}`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetFilterQuery(props, options) {
|
|
13
|
+
return useQuery(['getFilter', props.identifier, props.queryParams], ({ signal }) => getFilter(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
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
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseFilterDto } from '../schemas/ResponseFilterDto';
|
|
3
|
+
import type { Failure } from '../schemas/Failure';
|
|
4
|
+
import type { Error } from '../schemas/Error';
|
|
5
|
+
import type { FilterDtoRequestBody } from '../requestBodies/FilterDtoRequestBody';
|
|
6
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
7
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
|
+
export interface PostFilterMutationQueryParams {
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
}
|
|
11
|
+
export type PostFilterRequestBody = FilterDtoRequestBody;
|
|
12
|
+
export type PostFilterOkResponse = ResponseWithPagination<ResponseFilterDto>;
|
|
13
|
+
export type PostFilterErrorResponse = Failure | Error;
|
|
14
|
+
export interface PostFilterProps extends Omit<FetcherOptions<PostFilterMutationQueryParams, PostFilterRequestBody>, 'url'> {
|
|
15
|
+
queryParams: PostFilterMutationQueryParams;
|
|
16
|
+
body: PostFilterRequestBody;
|
|
17
|
+
}
|
|
18
|
+
export declare function postFilter(props: PostFilterProps): Promise<PostFilterOkResponse>;
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
export declare function usePostFilterMutation(options?: Omit<UseMutationOptions<PostFilterOkResponse, PostFilterErrorResponse, PostFilterProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<PostFilterOkResponse, PostFilterErrorResponse, PostFilterProps, 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 postFilter(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/filters`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function usePostFilterMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => postFilter(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseFilterDto } from '../schemas/ResponseFilterDto';
|
|
3
|
+
import type { Failure } from '../schemas/Failure';
|
|
4
|
+
import type { Error } from '../schemas/Error';
|
|
5
|
+
import type { FilterDtoRequestBody } from '../requestBodies/FilterDtoRequestBody';
|
|
6
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
7
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
|
+
export interface UpdateFilterMutationQueryParams {
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
}
|
|
11
|
+
export type UpdateFilterRequestBody = FilterDtoRequestBody;
|
|
12
|
+
export type UpdateFilterOkResponse = ResponseWithPagination<ResponseFilterDto>;
|
|
13
|
+
export type UpdateFilterErrorResponse = Failure | Error;
|
|
14
|
+
export interface UpdateFilterProps extends Omit<FetcherOptions<UpdateFilterMutationQueryParams, UpdateFilterRequestBody>, 'url'> {
|
|
15
|
+
queryParams: UpdateFilterMutationQueryParams;
|
|
16
|
+
body: UpdateFilterRequestBody;
|
|
17
|
+
}
|
|
18
|
+
export declare function updateFilter(props: UpdateFilterProps): Promise<UpdateFilterOkResponse>;
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
export declare function useUpdateFilterMutation(options?: Omit<UseMutationOptions<UpdateFilterOkResponse, UpdateFilterErrorResponse, UpdateFilterProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateFilterOkResponse, UpdateFilterErrorResponse, UpdateFilterProps, 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 updateFilter(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/filters`, method: 'PUT' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useUpdateFilterMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => updateFilter(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -1,25 +1,60 @@
|
|
|
1
1
|
export type { GetPathParamsType, ResponseWithPagination } from './helpers';
|
|
2
2
|
export type { CreateTriggerErrorResponse, CreateTriggerMutationQueryParams, CreateTriggerOkResponse, CreateTriggerProps, CreateTriggerRequestBody, } from './hooks/useCreateTriggerMutation';
|
|
3
3
|
export { createTrigger, useCreateTriggerMutation } from './hooks/useCreateTriggerMutation';
|
|
4
|
+
export type { DeleteFilterErrorResponse, DeleteFilterMutationPathParams, DeleteFilterMutationQueryParams, DeleteFilterOkResponse, DeleteFilterProps, } from './hooks/useDeleteFilterMutation';
|
|
5
|
+
export { deleteFilter, useDeleteFilterMutation } from './hooks/useDeleteFilterMutation';
|
|
6
|
+
export type { GetFilterListErrorResponse, GetFilterListOkResponse, GetFilterListProps, GetFilterListQueryQueryParams, } from './hooks/useGetFilterListQuery';
|
|
7
|
+
export { getFilterList, useGetFilterListQuery } from './hooks/useGetFilterListQuery';
|
|
8
|
+
export type { GetFilterErrorResponse, GetFilterOkResponse, GetFilterProps, GetFilterQueryPathParams, GetFilterQueryQueryParams, } from './hooks/useGetFilterQuery';
|
|
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';
|
|
4
16
|
export type { GetTriggerListForTargetErrorResponse, GetTriggerListForTargetOkResponse, GetTriggerListForTargetProps, GetTriggerListForTargetQueryQueryParams, } from './hooks/useGetTriggerListForTargetQuery';
|
|
5
17
|
export { getTriggerListForTarget, useGetTriggerListForTargetQuery, } from './hooks/useGetTriggerListForTargetQuery';
|
|
18
|
+
export type { PostFilterErrorResponse, PostFilterMutationQueryParams, PostFilterOkResponse, PostFilterProps, PostFilterRequestBody, } from './hooks/usePostFilterMutation';
|
|
19
|
+
export { postFilter, usePostFilterMutation } from './hooks/usePostFilterMutation';
|
|
20
|
+
export type { UpdateFilterErrorResponse, UpdateFilterMutationQueryParams, UpdateFilterOkResponse, UpdateFilterProps, UpdateFilterRequestBody, } from './hooks/useUpdateFilterMutation';
|
|
21
|
+
export { updateFilter, useUpdateFilterMutation } from './hooks/useUpdateFilterMutation';
|
|
22
|
+
export type { FilterDtoRequestBody } from './requestBodies/FilterDtoRequestBody';
|
|
6
23
|
export type { UpdateTriggerBodyRequestBody } from './requestBodies/UpdateTriggerBodyRequestBody';
|
|
7
24
|
export type { BuildDetails } from './schemas/BuildDetails';
|
|
25
|
+
export type { EntityGitDetails } from './schemas/EntityGitDetails';
|
|
26
|
+
export type { EntityValidityDetails } from './schemas/EntityValidityDetails';
|
|
8
27
|
export type { Error } from './schemas/Error';
|
|
9
28
|
export type { ErrorMetadataDto } from './schemas/ErrorMetadataDto';
|
|
29
|
+
export type { ExecutionSummaryInfo } from './schemas/ExecutionSummaryInfo';
|
|
30
|
+
export type { ExecutorInfoDto } from './schemas/ExecutorInfoDto';
|
|
10
31
|
export type { Failure } from './schemas/Failure';
|
|
32
|
+
export type { FilterDto } from './schemas/FilterDto';
|
|
33
|
+
export type { FilterProperties } from './schemas/FilterProperties';
|
|
11
34
|
export type { InputSetValidator } from './schemas/InputSetValidator';
|
|
12
35
|
export type { LastTriggerExecutionDetails } from './schemas/LastTriggerExecutionDetails';
|
|
13
36
|
export type { NgTriggerDetailsResponse } from './schemas/NgTriggerDetailsResponse';
|
|
14
37
|
export type { NgTriggerResponse } from './schemas/NgTriggerResponse';
|
|
38
|
+
export type { PageFilterDto } from './schemas/PageFilterDto';
|
|
15
39
|
export type { PageNgTriggerDetailsResponse } from './schemas/PageNgTriggerDetailsResponse';
|
|
16
40
|
export type { ParameterFieldListString } from './schemas/ParameterFieldListString';
|
|
41
|
+
export type { PipelineStageInfo } from './schemas/PipelineStageInfo';
|
|
42
|
+
export type { PmsPipelineSummaryResponse } from './schemas/PmsPipelineSummaryResponse';
|
|
17
43
|
export type { PollingSubscriptionStatus } from './schemas/PollingSubscriptionStatus';
|
|
44
|
+
export type { RecentExecutionInfoDto } from './schemas/RecentExecutionInfoDto';
|
|
45
|
+
export type { ResponseBoolean } from './schemas/ResponseBoolean';
|
|
46
|
+
export type { ResponseFilterDto } from './schemas/ResponseFilterDto';
|
|
47
|
+
export type { ResponseMapStringMapStringListString } from './schemas/ResponseMapStringMapStringListString';
|
|
18
48
|
export type { ResponseMessage } from './schemas/ResponseMessage';
|
|
19
49
|
export type { ResponseNgTriggerResponse } from './schemas/ResponseNgTriggerResponse';
|
|
50
|
+
export type { ResponsePageFilterDto } from './schemas/ResponsePageFilterDto';
|
|
20
51
|
export type { ResponsePageNgTriggerDetailsResponse } from './schemas/ResponsePageNgTriggerDetailsResponse';
|
|
52
|
+
export type { ResponsePmsPipelineSummaryResponse } from './schemas/ResponsePmsPipelineSummaryResponse';
|
|
53
|
+
export type { ResponseTriggerCatalogResponse } from './schemas/ResponseTriggerCatalogResponse';
|
|
21
54
|
export type { StackTraceElement } from './schemas/StackTraceElement';
|
|
22
55
|
export type { Throwable } from './schemas/Throwable';
|
|
56
|
+
export type { TriggerCatalogItem } from './schemas/TriggerCatalogItem';
|
|
57
|
+
export type { TriggerCatalogResponse } from './schemas/TriggerCatalogResponse';
|
|
23
58
|
export type { TriggerStatus } from './schemas/TriggerStatus';
|
|
24
59
|
export type { ValidationError } from './schemas/ValidationError';
|
|
25
60
|
export type { ValidationStatus } from './schemas/ValidationStatus';
|
|
@@ -1,2 +1,10 @@
|
|
|
1
1
|
export { createTrigger, useCreateTriggerMutation } from './hooks/useCreateTriggerMutation';
|
|
2
|
+
export { deleteFilter, useDeleteFilterMutation } from './hooks/useDeleteFilterMutation';
|
|
3
|
+
export { getFilterList, useGetFilterListQuery } from './hooks/useGetFilterListQuery';
|
|
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';
|
|
2
8
|
export { getTriggerListForTarget, useGetTriggerListForTargetQuery, } from './hooks/useGetTriggerListForTargetQuery';
|
|
9
|
+
export { postFilter, usePostFilterMutation } from './hooks/usePostFilterMutation';
|
|
10
|
+
export { updateFilter, useUpdateFilterMutation } from './hooks/useUpdateFilterMutation';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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,9 @@
|
|
|
1
|
+
import type { FilterProperties } from '../schemas/FilterProperties';
|
|
2
|
+
export interface FilterDto {
|
|
3
|
+
filterProperties: FilterProperties;
|
|
4
|
+
filterVisibility?: 'EveryOne' | 'OnlyCreator';
|
|
5
|
+
identifier: string;
|
|
6
|
+
name: string;
|
|
7
|
+
orgIdentifier?: string;
|
|
8
|
+
projectIdentifier?: string;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface FilterProperties {
|
|
2
|
+
filterType?: 'Anomaly' | 'Audit' | 'Autocud' | 'CCMBudget' | 'CCMConnector' | 'CCMK8sConnector' | 'CCMRecommendation' | 'Connector' | 'Delegate' | 'DelegateProfile' | 'Deployment' | 'Environment' | 'EnvironmentGroup' | 'FileStore' | 'InputSet' | 'Override' | 'PipelineExecution' | 'PipelineSetup' | 'RIInventory' | 'RuleExecution' | 'SPInventory' | 'Secret' | 'Template' | 'Trigger' | 'Webhook';
|
|
3
|
+
labels?: {
|
|
4
|
+
[key: string]: string;
|
|
5
|
+
};
|
|
6
|
+
tags?: {
|
|
7
|
+
[key: string]: string;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { FilterDto } from '../schemas/FilterDto';
|
|
2
|
+
export interface PageFilterDto {
|
|
3
|
+
content?: FilterDto[];
|
|
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,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 {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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