@harnessio/react-pipeline-swagger-service-client 1.7.0 → 1.8.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/useCanRetryExecutionQuery.d.ts +24 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useCanRetryExecutionQuery.js +14 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useCreateInputSetForPipelineMutation.d.ts +42 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useCreateInputSetForPipelineMutation.js +14 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useCreateOverlayInputSetForPipelineMutation.d.ts +36 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useCreateOverlayInputSetForPipelineMutation.js +14 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useDeleteInputSetForPipelineMutation.d.ts +34 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useDeleteInputSetForPipelineMutation.js +14 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useGetInputSetForPipelineQuery.d.ts +43 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useGetInputSetForPipelineQuery.js +14 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useGetInputSetsListForPipelineQuery.d.ts +47 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useGetInputSetsListForPipelineQuery.js +14 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useHandleStageInterruptMutation.d.ts +27 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useHandleStageInterruptMutation.js +14 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useUpdateInputSetForPipelineMutation.d.ts +50 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useUpdateInputSetForPipelineMutation.js +14 -0
- package/dist/pipeline-swagger-service/src/services/index.d.ts +29 -0
- package/dist/pipeline-swagger-service/src/services/index.js +8 -0
- package/dist/pipeline-swagger-service/src/services/schemas/CacheResponseMetadata.d.ts +12 -0
- package/dist/pipeline-swagger-service/src/services/schemas/CacheResponseMetadata.js +4 -0
- package/dist/pipeline-swagger-service/src/services/schemas/InputSetError.d.ts +5 -0
- package/dist/pipeline-swagger-service/src/services/schemas/InputSetError.js +4 -0
- package/dist/pipeline-swagger-service/src/services/schemas/InputSetErrorResponse.d.ts +4 -0
- package/dist/pipeline-swagger-service/src/services/schemas/InputSetErrorResponse.js +1 -0
- package/dist/pipeline-swagger-service/src/services/schemas/InputSetErrorWrapper.d.ts +9 -0
- package/dist/pipeline-swagger-service/src/services/schemas/InputSetErrorWrapper.js +1 -0
- package/dist/pipeline-swagger-service/src/services/schemas/InputSetResponse.d.ts +26 -0
- package/dist/pipeline-swagger-service/src/services/schemas/InputSetResponse.js +1 -0
- package/dist/pipeline-swagger-service/src/services/schemas/InputSetSummaryResponse.d.ts +32 -0
- package/dist/pipeline-swagger-service/src/services/schemas/InputSetSummaryResponse.js +1 -0
- package/dist/pipeline-swagger-service/src/services/schemas/OverlayInputSetResponse.d.ts +28 -0
- package/dist/pipeline-swagger-service/src/services/schemas/OverlayInputSetResponse.js +1 -0
- package/dist/pipeline-swagger-service/src/services/schemas/PageInputSetSummaryResponse.d.ts +26 -0
- package/dist/pipeline-swagger-service/src/services/schemas/PageInputSetSummaryResponse.js +1 -0
- package/dist/pipeline-swagger-service/src/services/schemas/PipelineExecutionInterrupt.d.ts +5 -0
- package/dist/pipeline-swagger-service/src/services/schemas/PipelineExecutionInterrupt.js +4 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ResponseInputSetResponse.d.ts +9 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ResponseInputSetResponse.js +1 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ResponseOverlayInputSetResponse.d.ts +9 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ResponseOverlayInputSetResponse.js +1 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ResponsePageInputSetSummaryResponse.d.ts +9 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ResponsePageInputSetSummaryResponse.js +1 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ResponsePipelineExecutionInterrupt.d.ts +9 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ResponsePipelineExecutionInterrupt.js +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { UseQueryOptions } 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 CanRetryExecutionQueryPathParams {
|
|
8
|
+
planExecutionId: string;
|
|
9
|
+
}
|
|
10
|
+
export interface CanRetryExecutionQueryQueryParams {
|
|
11
|
+
accountIdentifier: string;
|
|
12
|
+
orgIdentifier: string;
|
|
13
|
+
projectIdentifier: string;
|
|
14
|
+
}
|
|
15
|
+
export type CanRetryExecutionOkResponse = ResponseWithPagination<ResponseBoolean>;
|
|
16
|
+
export type CanRetryExecutionErrorResponse = Failure | Error;
|
|
17
|
+
export interface CanRetryExecutionProps extends CanRetryExecutionQueryPathParams, Omit<FetcherOptions<CanRetryExecutionQueryQueryParams, unknown>, 'url'> {
|
|
18
|
+
queryParams: CanRetryExecutionQueryQueryParams;
|
|
19
|
+
}
|
|
20
|
+
export declare function canRetryExecution(props: CanRetryExecutionProps): Promise<CanRetryExecutionOkResponse>;
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
export declare function useCanRetryExecutionQuery(props: CanRetryExecutionProps, options?: Omit<UseQueryOptions<CanRetryExecutionOkResponse, CanRetryExecutionErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<CanRetryExecutionOkResponse, CanRetryExecutionErrorResponse>;
|
|
@@ -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 canRetryExecution(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/pipelines/execution/canRetry/${props.planExecutionId}`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useCanRetryExecutionQuery(props, options) {
|
|
13
|
+
return useQuery(['canRetryExecution', props.planExecutionId, props.queryParams], ({ signal }) => canRetryExecution(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
package/dist/pipeline-swagger-service/src/services/hooks/useCreateInputSetForPipelineMutation.d.ts
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseInputSetResponse } from '../schemas/ResponseInputSetResponse';
|
|
3
|
+
import type { Failure } from '../schemas/Failure';
|
|
4
|
+
import type { Error } from '../schemas/Error';
|
|
5
|
+
import type { UpdateTriggerBodyRequestBody } from '../requestBodies/UpdateTriggerBodyRequestBody';
|
|
6
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
7
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
|
+
export interface CreateInputSetForPipelineMutationQueryParams {
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
orgIdentifier: string;
|
|
11
|
+
projectIdentifier: string;
|
|
12
|
+
pipelineIdentifier: string;
|
|
13
|
+
pipelineBranch?: string;
|
|
14
|
+
pipelineRepoID?: string;
|
|
15
|
+
branch?: string;
|
|
16
|
+
repoIdentifier?: string;
|
|
17
|
+
rootFolder?: string;
|
|
18
|
+
filePath?: string;
|
|
19
|
+
commitMsg?: string;
|
|
20
|
+
isNewBranch?: boolean;
|
|
21
|
+
baseBranch?: string;
|
|
22
|
+
connectorRef?: string;
|
|
23
|
+
storeType?: 'INLINE' | 'INLINE_HC' | 'REMOTE';
|
|
24
|
+
repoName?: string;
|
|
25
|
+
isHarnessCodeRepo?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* @default "0"
|
|
28
|
+
*/
|
|
29
|
+
InputSetVersion?: string;
|
|
30
|
+
}
|
|
31
|
+
export type CreateInputSetForPipelineRequestBody = UpdateTriggerBodyRequestBody;
|
|
32
|
+
export type CreateInputSetForPipelineOkResponse = ResponseWithPagination<ResponseInputSetResponse>;
|
|
33
|
+
export type CreateInputSetForPipelineErrorResponse = Failure | Error;
|
|
34
|
+
export interface CreateInputSetForPipelineProps extends Omit<FetcherOptions<CreateInputSetForPipelineMutationQueryParams, CreateInputSetForPipelineRequestBody>, 'url'> {
|
|
35
|
+
queryParams: CreateInputSetForPipelineMutationQueryParams;
|
|
36
|
+
body: CreateInputSetForPipelineRequestBody;
|
|
37
|
+
}
|
|
38
|
+
export declare function createInputSetForPipeline(props: CreateInputSetForPipelineProps): Promise<CreateInputSetForPipelineOkResponse>;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
*/
|
|
42
|
+
export declare function useCreateInputSetForPipelineMutation(options?: Omit<UseMutationOptions<CreateInputSetForPipelineOkResponse, CreateInputSetForPipelineErrorResponse, CreateInputSetForPipelineProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateInputSetForPipelineOkResponse, CreateInputSetForPipelineErrorResponse, CreateInputSetForPipelineProps, unknown>;
|
package/dist/pipeline-swagger-service/src/services/hooks/useCreateInputSetForPipelineMutation.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 createInputSetForPipeline(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/inputSets`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useCreateInputSetForPipelineMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => createInputSetForPipeline(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseOverlayInputSetResponse } from '../schemas/ResponseOverlayInputSetResponse';
|
|
3
|
+
import type { Failure } from '../schemas/Failure';
|
|
4
|
+
import type { Error } from '../schemas/Error';
|
|
5
|
+
import type { UpdateTriggerBodyRequestBody } from '../requestBodies/UpdateTriggerBodyRequestBody';
|
|
6
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
7
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
|
+
export interface CreateOverlayInputSetForPipelineMutationQueryParams {
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
orgIdentifier: string;
|
|
11
|
+
projectIdentifier: string;
|
|
12
|
+
pipelineIdentifier: string;
|
|
13
|
+
branch?: string;
|
|
14
|
+
repoIdentifier?: string;
|
|
15
|
+
rootFolder?: string;
|
|
16
|
+
filePath?: string;
|
|
17
|
+
commitMsg?: string;
|
|
18
|
+
isNewBranch?: boolean;
|
|
19
|
+
baseBranch?: string;
|
|
20
|
+
connectorRef?: string;
|
|
21
|
+
storeType?: 'INLINE' | 'INLINE_HC' | 'REMOTE';
|
|
22
|
+
repoName?: string;
|
|
23
|
+
isHarnessCodeRepo?: boolean;
|
|
24
|
+
}
|
|
25
|
+
export type CreateOverlayInputSetForPipelineRequestBody = UpdateTriggerBodyRequestBody;
|
|
26
|
+
export type CreateOverlayInputSetForPipelineOkResponse = ResponseWithPagination<ResponseOverlayInputSetResponse>;
|
|
27
|
+
export type CreateOverlayInputSetForPipelineErrorResponse = Failure | Error;
|
|
28
|
+
export interface CreateOverlayInputSetForPipelineProps extends Omit<FetcherOptions<CreateOverlayInputSetForPipelineMutationQueryParams, CreateOverlayInputSetForPipelineRequestBody>, 'url'> {
|
|
29
|
+
queryParams: CreateOverlayInputSetForPipelineMutationQueryParams;
|
|
30
|
+
body: CreateOverlayInputSetForPipelineRequestBody;
|
|
31
|
+
}
|
|
32
|
+
export declare function createOverlayInputSetForPipeline(props: CreateOverlayInputSetForPipelineProps): Promise<CreateOverlayInputSetForPipelineOkResponse>;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
*/
|
|
36
|
+
export declare function useCreateOverlayInputSetForPipelineMutation(options?: Omit<UseMutationOptions<CreateOverlayInputSetForPipelineOkResponse, CreateOverlayInputSetForPipelineErrorResponse, CreateOverlayInputSetForPipelineProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateOverlayInputSetForPipelineOkResponse, CreateOverlayInputSetForPipelineErrorResponse, CreateOverlayInputSetForPipelineProps, 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 createOverlayInputSetForPipeline(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/inputSets/overlay`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useCreateOverlayInputSetForPipelineMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => createOverlayInputSetForPipeline(mutateProps), options);
|
|
14
|
+
}
|
package/dist/pipeline-swagger-service/src/services/hooks/useDeleteInputSetForPipelineMutation.d.ts
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
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 DeleteInputSetForPipelineMutationPathParams {
|
|
8
|
+
inputSetIdentifier: string;
|
|
9
|
+
}
|
|
10
|
+
export interface DeleteInputSetForPipelineMutationQueryParams {
|
|
11
|
+
accountIdentifier: string;
|
|
12
|
+
orgIdentifier: string;
|
|
13
|
+
projectIdentifier: string;
|
|
14
|
+
pipelineIdentifier: string;
|
|
15
|
+
branch?: string;
|
|
16
|
+
repoIdentifier?: string;
|
|
17
|
+
rootFolder?: string;
|
|
18
|
+
filePath?: string;
|
|
19
|
+
commitMsg?: string;
|
|
20
|
+
lastObjectId?: string;
|
|
21
|
+
}
|
|
22
|
+
export interface DeleteInputSetForPipelineMutationHeaderParams {
|
|
23
|
+
'If-Match'?: string;
|
|
24
|
+
}
|
|
25
|
+
export type DeleteInputSetForPipelineOkResponse = ResponseWithPagination<ResponseBoolean>;
|
|
26
|
+
export type DeleteInputSetForPipelineErrorResponse = Failure | Error;
|
|
27
|
+
export interface DeleteInputSetForPipelineProps extends DeleteInputSetForPipelineMutationPathParams, Omit<FetcherOptions<DeleteInputSetForPipelineMutationQueryParams, unknown, DeleteInputSetForPipelineMutationHeaderParams>, 'url'> {
|
|
28
|
+
queryParams: DeleteInputSetForPipelineMutationQueryParams;
|
|
29
|
+
}
|
|
30
|
+
export declare function deleteInputSetForPipeline(props: DeleteInputSetForPipelineProps): Promise<DeleteInputSetForPipelineOkResponse>;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
export declare function useDeleteInputSetForPipelineMutation(options?: Omit<UseMutationOptions<DeleteInputSetForPipelineOkResponse, DeleteInputSetForPipelineErrorResponse, DeleteInputSetForPipelineProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteInputSetForPipelineOkResponse, DeleteInputSetForPipelineErrorResponse, DeleteInputSetForPipelineProps, unknown>;
|
package/dist/pipeline-swagger-service/src/services/hooks/useDeleteInputSetForPipelineMutation.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 deleteInputSetForPipeline(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/inputSets/${props.inputSetIdentifier}`, method: 'DELETE' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useDeleteInputSetForPipelineMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => deleteInputSetForPipeline(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseInputSetResponse } from '../schemas/ResponseInputSetResponse';
|
|
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 GetInputSetForPipelineQueryPathParams {
|
|
8
|
+
inputSetIdentifier: string;
|
|
9
|
+
}
|
|
10
|
+
export interface GetInputSetForPipelineQueryQueryParams {
|
|
11
|
+
accountIdentifier: string;
|
|
12
|
+
orgIdentifier: string;
|
|
13
|
+
projectIdentifier: string;
|
|
14
|
+
pipelineIdentifier: string;
|
|
15
|
+
pipelineBranch?: string;
|
|
16
|
+
pipelineRepoID?: string;
|
|
17
|
+
loadFromFallbackBranch?: boolean;
|
|
18
|
+
branch?: string;
|
|
19
|
+
repoIdentifier?: string;
|
|
20
|
+
getDefaultFromOtherRepo?: boolean;
|
|
21
|
+
parentEntityConnectorRef?: string;
|
|
22
|
+
parentEntityRepoName?: string;
|
|
23
|
+
parentEntityAccountIdentifier?: string;
|
|
24
|
+
parentEntityOrgIdentifier?: string;
|
|
25
|
+
parentEntityProjectIdentifier?: string;
|
|
26
|
+
repoName?: string;
|
|
27
|
+
}
|
|
28
|
+
export interface GetInputSetForPipelineQueryHeaderParams {
|
|
29
|
+
/**
|
|
30
|
+
* @default "false"
|
|
31
|
+
*/
|
|
32
|
+
'Load-From-Cache'?: string;
|
|
33
|
+
}
|
|
34
|
+
export type GetInputSetForPipelineOkResponse = ResponseWithPagination<ResponseInputSetResponse>;
|
|
35
|
+
export type GetInputSetForPipelineErrorResponse = Failure | Error;
|
|
36
|
+
export interface GetInputSetForPipelineProps extends GetInputSetForPipelineQueryPathParams, Omit<FetcherOptions<GetInputSetForPipelineQueryQueryParams, unknown, GetInputSetForPipelineQueryHeaderParams>, 'url'> {
|
|
37
|
+
queryParams: GetInputSetForPipelineQueryQueryParams;
|
|
38
|
+
}
|
|
39
|
+
export declare function getInputSetForPipeline(props: GetInputSetForPipelineProps): Promise<GetInputSetForPipelineOkResponse>;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
*/
|
|
43
|
+
export declare function useGetInputSetForPipelineQuery(props: GetInputSetForPipelineProps, options?: Omit<UseQueryOptions<GetInputSetForPipelineOkResponse, GetInputSetForPipelineErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetInputSetForPipelineOkResponse, GetInputSetForPipelineErrorResponse>;
|
|
@@ -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 getInputSetForPipeline(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/inputSets/${props.inputSetIdentifier}`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetInputSetForPipelineQuery(props, options) {
|
|
13
|
+
return useQuery(['getInputSetForPipeline', props.inputSetIdentifier, props.queryParams], ({ signal }) => getInputSetForPipeline(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
package/dist/pipeline-swagger-service/src/services/hooks/useGetInputSetsListForPipelineQuery.d.ts
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponsePageInputSetSummaryResponse } from '../schemas/ResponsePageInputSetSummaryResponse';
|
|
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 GetInputSetsListForPipelineQueryQueryParams {
|
|
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
|
+
pipelineIdentifier: string;
|
|
22
|
+
/**
|
|
23
|
+
* @default "ALL"
|
|
24
|
+
*/
|
|
25
|
+
inputSetType?: 'ALL' | 'INPUT_SET' | 'OVERLAY_INPUT_SET';
|
|
26
|
+
searchTerm?: string;
|
|
27
|
+
sortOrders?: string[];
|
|
28
|
+
branch?: string;
|
|
29
|
+
repoIdentifier?: string;
|
|
30
|
+
getDefaultFromOtherRepo?: boolean;
|
|
31
|
+
parentEntityConnectorRef?: string;
|
|
32
|
+
parentEntityRepoName?: string;
|
|
33
|
+
parentEntityAccountIdentifier?: string;
|
|
34
|
+
parentEntityOrgIdentifier?: string;
|
|
35
|
+
parentEntityProjectIdentifier?: string;
|
|
36
|
+
repoName?: string;
|
|
37
|
+
}
|
|
38
|
+
export type GetInputSetsListForPipelineOkResponse = ResponseWithPagination<ResponsePageInputSetSummaryResponse>;
|
|
39
|
+
export type GetInputSetsListForPipelineErrorResponse = Failure | Error;
|
|
40
|
+
export interface GetInputSetsListForPipelineProps extends Omit<FetcherOptions<GetInputSetsListForPipelineQueryQueryParams, unknown>, 'url'> {
|
|
41
|
+
queryParams: GetInputSetsListForPipelineQueryQueryParams;
|
|
42
|
+
}
|
|
43
|
+
export declare function getInputSetsListForPipeline(props: GetInputSetsListForPipelineProps): Promise<GetInputSetsListForPipelineOkResponse>;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
*/
|
|
47
|
+
export declare function useGetInputSetsListForPipelineQuery(props: GetInputSetsListForPipelineProps, options?: Omit<UseQueryOptions<GetInputSetsListForPipelineOkResponse, GetInputSetsListForPipelineErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetInputSetsListForPipelineOkResponse, GetInputSetsListForPipelineErrorResponse>;
|
package/dist/pipeline-swagger-service/src/services/hooks/useGetInputSetsListForPipelineQuery.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 getInputSetsListForPipeline(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/inputSets`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetInputSetsListForPipelineQuery(props, options) {
|
|
13
|
+
return useQuery(['getInputSetsListForPipeline', props.queryParams], ({ signal }) => getInputSetsListForPipeline(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponsePipelineExecutionInterrupt } from '../schemas/ResponsePipelineExecutionInterrupt';
|
|
3
|
+
import type { Failure } from '../schemas/Failure';
|
|
4
|
+
import type { AccessControlCheckError } from '../schemas/AccessControlCheckError';
|
|
5
|
+
import type { Error } from '../schemas/Error';
|
|
6
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
7
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
|
+
export interface HandleStageInterruptMutationPathParams {
|
|
9
|
+
planExecutionId: string;
|
|
10
|
+
nodeExecutionId: string;
|
|
11
|
+
}
|
|
12
|
+
export interface HandleStageInterruptMutationQueryParams {
|
|
13
|
+
accountIdentifier: string;
|
|
14
|
+
orgIdentifier: string;
|
|
15
|
+
projectIdentifier: string;
|
|
16
|
+
interruptType: 'AbortAll' | 'UserMarkedFailure';
|
|
17
|
+
}
|
|
18
|
+
export type HandleStageInterruptOkResponse = ResponseWithPagination<ResponsePipelineExecutionInterrupt>;
|
|
19
|
+
export type HandleStageInterruptErrorResponse = Failure | AccessControlCheckError | Error;
|
|
20
|
+
export interface HandleStageInterruptProps extends HandleStageInterruptMutationPathParams, Omit<FetcherOptions<HandleStageInterruptMutationQueryParams, unknown>, 'url'> {
|
|
21
|
+
queryParams: HandleStageInterruptMutationQueryParams;
|
|
22
|
+
}
|
|
23
|
+
export declare function handleStageInterrupt(props: HandleStageInterruptProps): Promise<HandleStageInterruptOkResponse>;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare function useHandleStageInterruptMutation(options?: Omit<UseMutationOptions<HandleStageInterruptOkResponse, HandleStageInterruptErrorResponse, HandleStageInterruptProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<HandleStageInterruptOkResponse, HandleStageInterruptErrorResponse, HandleStageInterruptProps, 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 handleStageInterrupt(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/pipeline/execute/interrupt/${props.planExecutionId}/${props.nodeExecutionId}`, method: 'PUT' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useHandleStageInterruptMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => handleStageInterrupt(mutateProps), options);
|
|
14
|
+
}
|
package/dist/pipeline-swagger-service/src/services/hooks/useUpdateInputSetForPipelineMutation.d.ts
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseInputSetResponse } from '../schemas/ResponseInputSetResponse';
|
|
3
|
+
import type { Failure } from '../schemas/Failure';
|
|
4
|
+
import type { Error } from '../schemas/Error';
|
|
5
|
+
import type { UpdateTriggerBodyRequestBody } from '../requestBodies/UpdateTriggerBodyRequestBody';
|
|
6
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
7
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
|
+
export interface UpdateInputSetForPipelineMutationPathParams {
|
|
9
|
+
inputSetIdentifier: string;
|
|
10
|
+
}
|
|
11
|
+
export interface UpdateInputSetForPipelineMutationQueryParams {
|
|
12
|
+
accountIdentifier: string;
|
|
13
|
+
orgIdentifier: string;
|
|
14
|
+
projectIdentifier: string;
|
|
15
|
+
pipelineIdentifier: string;
|
|
16
|
+
pipelineBranch?: string;
|
|
17
|
+
pipelineRepoID?: string;
|
|
18
|
+
branch?: string;
|
|
19
|
+
repoIdentifier?: string;
|
|
20
|
+
rootFolder?: string;
|
|
21
|
+
filePath?: string;
|
|
22
|
+
commitMsg?: string;
|
|
23
|
+
lastObjectId?: string;
|
|
24
|
+
resolvedConflictCommitId?: string;
|
|
25
|
+
baseBranch?: string;
|
|
26
|
+
connectorRef?: string;
|
|
27
|
+
storeType?: 'INLINE' | 'INLINE_HC' | 'REMOTE';
|
|
28
|
+
lastCommitId?: string;
|
|
29
|
+
isNewBranch?: boolean;
|
|
30
|
+
isHarnessCodeRepo?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* @default "0"
|
|
33
|
+
*/
|
|
34
|
+
InputSetVersion?: string;
|
|
35
|
+
}
|
|
36
|
+
export interface UpdateInputSetForPipelineMutationHeaderParams {
|
|
37
|
+
'If-Match'?: string;
|
|
38
|
+
}
|
|
39
|
+
export type UpdateInputSetForPipelineRequestBody = UpdateTriggerBodyRequestBody;
|
|
40
|
+
export type UpdateInputSetForPipelineOkResponse = ResponseWithPagination<ResponseInputSetResponse>;
|
|
41
|
+
export type UpdateInputSetForPipelineErrorResponse = Failure | Error;
|
|
42
|
+
export interface UpdateInputSetForPipelineProps extends UpdateInputSetForPipelineMutationPathParams, Omit<FetcherOptions<UpdateInputSetForPipelineMutationQueryParams, UpdateInputSetForPipelineRequestBody, UpdateInputSetForPipelineMutationHeaderParams>, 'url'> {
|
|
43
|
+
queryParams: UpdateInputSetForPipelineMutationQueryParams;
|
|
44
|
+
body: UpdateInputSetForPipelineRequestBody;
|
|
45
|
+
}
|
|
46
|
+
export declare function updateInputSetForPipeline(props: UpdateInputSetForPipelineProps): Promise<UpdateInputSetForPipelineOkResponse>;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
*/
|
|
50
|
+
export declare function useUpdateInputSetForPipelineMutation(options?: Omit<UseMutationOptions<UpdateInputSetForPipelineOkResponse, UpdateInputSetForPipelineErrorResponse, UpdateInputSetForPipelineProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateInputSetForPipelineOkResponse, UpdateInputSetForPipelineErrorResponse, UpdateInputSetForPipelineProps, unknown>;
|
package/dist/pipeline-swagger-service/src/services/hooks/useUpdateInputSetForPipelineMutation.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 updateInputSetForPipeline(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/inputSets/${props.inputSetIdentifier}`, method: 'PUT' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useUpdateInputSetForPipelineMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => updateInputSetForPipeline(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
export type { GetPathParamsType, ResponseWithPagination } from './helpers';
|
|
2
|
+
export type { CanRetryExecutionErrorResponse, CanRetryExecutionOkResponse, CanRetryExecutionProps, CanRetryExecutionQueryPathParams, CanRetryExecutionQueryQueryParams, } from './hooks/useCanRetryExecutionQuery';
|
|
3
|
+
export { canRetryExecution, useCanRetryExecutionQuery } from './hooks/useCanRetryExecutionQuery';
|
|
4
|
+
export type { CreateInputSetForPipelineErrorResponse, CreateInputSetForPipelineMutationQueryParams, CreateInputSetForPipelineOkResponse, CreateInputSetForPipelineProps, CreateInputSetForPipelineRequestBody, } from './hooks/useCreateInputSetForPipelineMutation';
|
|
5
|
+
export { createInputSetForPipeline, useCreateInputSetForPipelineMutation, } from './hooks/useCreateInputSetForPipelineMutation';
|
|
6
|
+
export type { CreateOverlayInputSetForPipelineErrorResponse, CreateOverlayInputSetForPipelineMutationQueryParams, CreateOverlayInputSetForPipelineOkResponse, CreateOverlayInputSetForPipelineProps, CreateOverlayInputSetForPipelineRequestBody, } from './hooks/useCreateOverlayInputSetForPipelineMutation';
|
|
7
|
+
export { createOverlayInputSetForPipeline, useCreateOverlayInputSetForPipelineMutation, } from './hooks/useCreateOverlayInputSetForPipelineMutation';
|
|
2
8
|
export type { CreateTriggerErrorResponse, CreateTriggerMutationQueryParams, CreateTriggerOkResponse, CreateTriggerProps, CreateTriggerRequestBody, } from './hooks/useCreateTriggerMutation';
|
|
3
9
|
export { createTrigger, useCreateTriggerMutation } from './hooks/useCreateTriggerMutation';
|
|
4
10
|
export type { DeleteFilterErrorResponse, DeleteFilterMutationPathParams, DeleteFilterMutationQueryParams, DeleteFilterOkResponse, DeleteFilterProps, } from './hooks/useDeleteFilterMutation';
|
|
5
11
|
export { deleteFilter, useDeleteFilterMutation } from './hooks/useDeleteFilterMutation';
|
|
12
|
+
export type { DeleteInputSetForPipelineErrorResponse, DeleteInputSetForPipelineMutationPathParams, DeleteInputSetForPipelineMutationQueryParams, DeleteInputSetForPipelineOkResponse, DeleteInputSetForPipelineProps, } from './hooks/useDeleteInputSetForPipelineMutation';
|
|
13
|
+
export { deleteInputSetForPipeline, useDeleteInputSetForPipelineMutation, } from './hooks/useDeleteInputSetForPipelineMutation';
|
|
6
14
|
export type { DeleteTriggerErrorResponse, DeleteTriggerMutationPathParams, DeleteTriggerMutationQueryParams, DeleteTriggerOkResponse, DeleteTriggerProps, } from './hooks/useDeleteTriggerMutation';
|
|
7
15
|
export { deleteTrigger, useDeleteTriggerMutation } from './hooks/useDeleteTriggerMutation';
|
|
8
16
|
export type { GetAnnotationFullContentErrorResponse, GetAnnotationFullContentOkResponse, GetAnnotationFullContentProps, GetAnnotationFullContentQueryPathParams, GetAnnotationFullContentQueryQueryParams, } from './hooks/useGetAnnotationFullContentQuery';
|
|
@@ -23,6 +31,10 @@ export type { GetFilterErrorResponse, GetFilterOkResponse, GetFilterProps, GetFi
|
|
|
23
31
|
export { getFilter, useGetFilterQuery } from './hooks/useGetFilterQuery';
|
|
24
32
|
export type { GetGitTriggerEventDetailsErrorResponse, GetGitTriggerEventDetailsOkResponse, GetGitTriggerEventDetailsProps, } from './hooks/useGetGitTriggerEventDetailsQuery';
|
|
25
33
|
export { getGitTriggerEventDetails, useGetGitTriggerEventDetailsQuery, } from './hooks/useGetGitTriggerEventDetailsQuery';
|
|
34
|
+
export type { GetInputSetForPipelineErrorResponse, GetInputSetForPipelineOkResponse, GetInputSetForPipelineProps, GetInputSetForPipelineQueryPathParams, GetInputSetForPipelineQueryQueryParams, } from './hooks/useGetInputSetForPipelineQuery';
|
|
35
|
+
export { getInputSetForPipeline, useGetInputSetForPipelineQuery, } from './hooks/useGetInputSetForPipelineQuery';
|
|
36
|
+
export type { GetInputSetsListForPipelineErrorResponse, GetInputSetsListForPipelineOkResponse, GetInputSetsListForPipelineProps, GetInputSetsListForPipelineQueryQueryParams, } from './hooks/useGetInputSetsListForPipelineQuery';
|
|
37
|
+
export { getInputSetsListForPipeline, useGetInputSetsListForPipelineQuery, } from './hooks/useGetInputSetsListForPipelineQuery';
|
|
26
38
|
export type { GetListOfExecutionsErrorResponse, GetListOfExecutionsOkResponse, GetListOfExecutionsProps, GetListOfExecutionsQueryQueryParams, GetListOfExecutionsRequestBody, } from './hooks/useGetListOfExecutionsQuery';
|
|
27
39
|
export { getListOfExecutions, useGetListOfExecutionsQuery, } from './hooks/useGetListOfExecutionsQuery';
|
|
28
40
|
export type { GetNotesForExecutionErrorResponse, GetNotesForExecutionOkResponse, GetNotesForExecutionProps, GetNotesForExecutionQueryPathParams, GetNotesForExecutionQueryQueryParams, } from './hooks/useGetNotesForExecutionQuery';
|
|
@@ -43,6 +55,8 @@ export type { GetTriggerListForTargetErrorResponse, GetTriggerListForTargetOkRes
|
|
|
43
55
|
export { getTriggerListForTarget, useGetTriggerListForTargetQuery, } from './hooks/useGetTriggerListForTargetQuery';
|
|
44
56
|
export type { GetTriggerErrorResponse, GetTriggerOkResponse, GetTriggerProps, GetTriggerQueryPathParams, GetTriggerQueryQueryParams, } from './hooks/useGetTriggerQuery';
|
|
45
57
|
export { getTrigger, useGetTriggerQuery } from './hooks/useGetTriggerQuery';
|
|
58
|
+
export type { HandleStageInterruptErrorResponse, HandleStageInterruptMutationPathParams, HandleStageInterruptMutationQueryParams, HandleStageInterruptOkResponse, HandleStageInterruptProps, } from './hooks/useHandleStageInterruptMutation';
|
|
59
|
+
export { handleStageInterrupt, useHandleStageInterruptMutation, } from './hooks/useHandleStageInterruptMutation';
|
|
46
60
|
export type { PostFilterErrorResponse, PostFilterMutationQueryParams, PostFilterOkResponse, PostFilterProps, PostFilterRequestBody, } from './hooks/usePostFilterMutation';
|
|
47
61
|
export { postFilter, usePostFilterMutation } from './hooks/usePostFilterMutation';
|
|
48
62
|
export type { RetryHistoryErrorResponse, RetryHistoryOkResponse, RetryHistoryProps, RetryHistoryQueryPathParams, RetryHistoryQueryQueryParams, } from './hooks/useRetryHistoryQuery';
|
|
@@ -51,6 +65,8 @@ export type { TriggerEventHistoryErrorResponse, TriggerEventHistoryOkResponse, T
|
|
|
51
65
|
export { triggerEventHistory, useTriggerEventHistoryQuery, } from './hooks/useTriggerEventHistoryQuery';
|
|
52
66
|
export type { UpdateFilterErrorResponse, UpdateFilterMutationQueryParams, UpdateFilterOkResponse, UpdateFilterProps, UpdateFilterRequestBody, } from './hooks/useUpdateFilterMutation';
|
|
53
67
|
export { updateFilter, useUpdateFilterMutation } from './hooks/useUpdateFilterMutation';
|
|
68
|
+
export type { UpdateInputSetForPipelineErrorResponse, UpdateInputSetForPipelineMutationPathParams, UpdateInputSetForPipelineMutationQueryParams, UpdateInputSetForPipelineOkResponse, UpdateInputSetForPipelineProps, UpdateInputSetForPipelineRequestBody, } from './hooks/useUpdateInputSetForPipelineMutation';
|
|
69
|
+
export { updateInputSetForPipeline, useUpdateInputSetForPipelineMutation, } from './hooks/useUpdateInputSetForPipelineMutation';
|
|
54
70
|
export type { UpdateNotesForExecutionErrorResponse, UpdateNotesForExecutionMutationPathParams, UpdateNotesForExecutionMutationQueryParams, UpdateNotesForExecutionOkResponse, UpdateNotesForExecutionProps, } from './hooks/useUpdateNotesForExecutionMutation';
|
|
55
71
|
export { updateNotesForExecution, useUpdateNotesForExecutionMutation, } from './hooks/useUpdateNotesForExecutionMutation';
|
|
56
72
|
export type { UpdateTriggerErrorResponse, UpdateTriggerMutationPathParams, UpdateTriggerMutationQueryParams, UpdateTriggerOkResponse, UpdateTriggerProps, UpdateTriggerRequestBody, } from './hooks/useUpdateTriggerMutation';
|
|
@@ -66,6 +82,7 @@ export type { AdviserIssuer } from './schemas/AdviserIssuer';
|
|
|
66
82
|
export type { AnnotationContentResponseDto } from './schemas/AnnotationContentResponseDto';
|
|
67
83
|
export type { BatchInputSetsApiRequest } from './schemas/BatchInputSetsApiRequest';
|
|
68
84
|
export type { BuildDetails } from './schemas/BuildDetails';
|
|
85
|
+
export type { CacheResponseMetadata } from './schemas/CacheResponseMetadata';
|
|
69
86
|
export type { ChildExecutionDetailDto } from './schemas/ChildExecutionDetailDto';
|
|
70
87
|
export type { DelegateInfo } from './schemas/DelegateInfo';
|
|
71
88
|
export type { EdgeLayoutList } from './schemas/EdgeLayoutList';
|
|
@@ -89,7 +106,12 @@ export type { FilterDto } from './schemas/FilterDto';
|
|
|
89
106
|
export type { FilterProperties } from './schemas/FilterProperties';
|
|
90
107
|
export type { GovernanceMetadata } from './schemas/GovernanceMetadata';
|
|
91
108
|
export type { GraphLayoutNode } from './schemas/GraphLayoutNode';
|
|
109
|
+
export type { InputSetError } from './schemas/InputSetError';
|
|
110
|
+
export type { InputSetErrorResponse } from './schemas/InputSetErrorResponse';
|
|
111
|
+
export type { InputSetErrorWrapper } from './schemas/InputSetErrorWrapper';
|
|
92
112
|
export type { InputSetListResponse } from './schemas/InputSetListResponse';
|
|
113
|
+
export type { InputSetResponse } from './schemas/InputSetResponse';
|
|
114
|
+
export type { InputSetSummaryResponse } from './schemas/InputSetSummaryResponse';
|
|
93
115
|
export type { InputSetValidator } from './schemas/InputSetValidator';
|
|
94
116
|
export type { InterruptConfig } from './schemas/InterruptConfig';
|
|
95
117
|
export type { InterruptEffectDto } from './schemas/InterruptEffectDto';
|
|
@@ -103,9 +125,11 @@ export type { NgTriggerEventHistoryResponse } from './schemas/NgTriggerEventHist
|
|
|
103
125
|
export type { NgTriggerEventInfo } from './schemas/NgTriggerEventInfo';
|
|
104
126
|
export type { NgTriggerResponse } from './schemas/NgTriggerResponse';
|
|
105
127
|
export type { NodeRunInfo } from './schemas/NodeRunInfo';
|
|
128
|
+
export type { OverlayInputSetResponse } from './schemas/OverlayInputSetResponse';
|
|
106
129
|
export type { PageFilterDto } from './schemas/PageFilterDto';
|
|
107
130
|
export type { PageGovernanceMetadata } from './schemas/PageGovernanceMetadata';
|
|
108
131
|
export type { PageInputSetListResponse } from './schemas/PageInputSetListResponse';
|
|
132
|
+
export type { PageInputSetSummaryResponse } from './schemas/PageInputSetSummaryResponse';
|
|
109
133
|
export type { PageNgTriggerDetailsResponse } from './schemas/PageNgTriggerDetailsResponse';
|
|
110
134
|
export type { PageNgTriggerEventHistoryResponse } from './schemas/PageNgTriggerEventHistoryResponse';
|
|
111
135
|
export type { PagePipelineExecutionSummary } from './schemas/PagePipelineExecutionSummary';
|
|
@@ -116,6 +140,7 @@ export type { PermissionCheck } from './schemas/PermissionCheck';
|
|
|
116
140
|
export type { PipelineAnnotation } from './schemas/PipelineAnnotation';
|
|
117
141
|
export type { PipelineAnnotationsResponseDto } from './schemas/PipelineAnnotationsResponseDto';
|
|
118
142
|
export type { PipelineExecutionDetail } from './schemas/PipelineExecutionDetail';
|
|
143
|
+
export type { PipelineExecutionInterrupt } from './schemas/PipelineExecutionInterrupt';
|
|
119
144
|
export type { PipelineExecutionNotes } from './schemas/PipelineExecutionNotes';
|
|
120
145
|
export type { PipelineExecutionSummary } from './schemas/PipelineExecutionSummary';
|
|
121
146
|
export type { PipelineFilterProperties } from './schemas/PipelineFilterProperties';
|
|
@@ -130,19 +155,23 @@ export type { ResponseAnnotationContentResponseDto } from './schemas/ResponseAnn
|
|
|
130
155
|
export type { ResponseBoolean } from './schemas/ResponseBoolean';
|
|
131
156
|
export type { ResponseExecutionDataResponse } from './schemas/ResponseExecutionDataResponse';
|
|
132
157
|
export type { ResponseFilterDto } from './schemas/ResponseFilterDto';
|
|
158
|
+
export type { ResponseInputSetResponse } from './schemas/ResponseInputSetResponse';
|
|
133
159
|
export type { ResponseMapStringMapStringListString } from './schemas/ResponseMapStringMapStringListString';
|
|
134
160
|
export type { ResponseMessage } from './schemas/ResponseMessage';
|
|
135
161
|
export type { ResponseNgTriggerDetailsResponse } from './schemas/ResponseNgTriggerDetailsResponse';
|
|
136
162
|
export type { ResponseNgTriggerResponse } from './schemas/ResponseNgTriggerResponse';
|
|
163
|
+
export type { ResponseOverlayInputSetResponse } from './schemas/ResponseOverlayInputSetResponse';
|
|
137
164
|
export type { ResponsePageFilterDto } from './schemas/ResponsePageFilterDto';
|
|
138
165
|
export type { ResponsePageGovernanceMetadata } from './schemas/ResponsePageGovernanceMetadata';
|
|
139
166
|
export type { ResponsePageInputSetListResponse } from './schemas/ResponsePageInputSetListResponse';
|
|
167
|
+
export type { ResponsePageInputSetSummaryResponse } from './schemas/ResponsePageInputSetSummaryResponse';
|
|
140
168
|
export type { ResponsePageNgTriggerDetailsResponse } from './schemas/ResponsePageNgTriggerDetailsResponse';
|
|
141
169
|
export type { ResponsePageNgTriggerEventHistoryResponse } from './schemas/ResponsePageNgTriggerEventHistoryResponse';
|
|
142
170
|
export type { ResponsePagePipelineExecutionSummary } from './schemas/ResponsePagePipelineExecutionSummary';
|
|
143
171
|
export type { ResponsePagePmsPipelineSummaryResponse } from './schemas/ResponsePagePmsPipelineSummaryResponse';
|
|
144
172
|
export type { ResponsePipelineAnnotationsResponseDto } from './schemas/ResponsePipelineAnnotationsResponseDto';
|
|
145
173
|
export type { ResponsePipelineExecutionDetail } from './schemas/ResponsePipelineExecutionDetail';
|
|
174
|
+
export type { ResponsePipelineExecutionInterrupt } from './schemas/ResponsePipelineExecutionInterrupt';
|
|
146
175
|
export type { ResponsePipelineExecutionNotes } from './schemas/ResponsePipelineExecutionNotes';
|
|
147
176
|
export type { ResponsePmsPipelineListBranchesResponse } from './schemas/ResponsePmsPipelineListBranchesResponse';
|
|
148
177
|
export type { ResponsePmsPipelineListRepoResponse } from './schemas/ResponsePmsPipelineListRepoResponse';
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
+
export { canRetryExecution, useCanRetryExecutionQuery } from './hooks/useCanRetryExecutionQuery';
|
|
2
|
+
export { createInputSetForPipeline, useCreateInputSetForPipelineMutation, } from './hooks/useCreateInputSetForPipelineMutation';
|
|
3
|
+
export { createOverlayInputSetForPipeline, useCreateOverlayInputSetForPipelineMutation, } from './hooks/useCreateOverlayInputSetForPipelineMutation';
|
|
1
4
|
export { createTrigger, useCreateTriggerMutation } from './hooks/useCreateTriggerMutation';
|
|
2
5
|
export { deleteFilter, useDeleteFilterMutation } from './hooks/useDeleteFilterMutation';
|
|
6
|
+
export { deleteInputSetForPipeline, useDeleteInputSetForPipelineMutation, } from './hooks/useDeleteInputSetForPipelineMutation';
|
|
3
7
|
export { deleteTrigger, useDeleteTriggerMutation } from './hooks/useDeleteTriggerMutation';
|
|
4
8
|
export { getAnnotationFullContent, useGetAnnotationFullContentQuery, } from './hooks/useGetAnnotationFullContentQuery';
|
|
5
9
|
export { getBatchInputSetsMetadata, useGetBatchInputSetsMetadataMutation, } from './hooks/useGetBatchInputSetsMetadataMutation';
|
|
@@ -10,6 +14,8 @@ export { getExecutionRepositoriesList, useGetExecutionRepositoriesListQuery, } f
|
|
|
10
14
|
export { getFilterList, useGetFilterListQuery } from './hooks/useGetFilterListQuery';
|
|
11
15
|
export { getFilter, useGetFilterQuery } from './hooks/useGetFilterQuery';
|
|
12
16
|
export { getGitTriggerEventDetails, useGetGitTriggerEventDetailsQuery, } from './hooks/useGetGitTriggerEventDetailsQuery';
|
|
17
|
+
export { getInputSetForPipeline, useGetInputSetForPipelineQuery, } from './hooks/useGetInputSetForPipelineQuery';
|
|
18
|
+
export { getInputSetsListForPipeline, useGetInputSetsListForPipelineQuery, } from './hooks/useGetInputSetsListForPipelineQuery';
|
|
13
19
|
export { getListOfExecutions, useGetListOfExecutionsQuery, } from './hooks/useGetListOfExecutionsQuery';
|
|
14
20
|
export { getNotesForExecution, useGetNotesForExecutionQuery, } from './hooks/useGetNotesForExecutionQuery';
|
|
15
21
|
export { getPipelineExecutionAnnotations, useGetPipelineExecutionAnnotationsQuery, } from './hooks/useGetPipelineExecutionAnnotationsQuery';
|
|
@@ -20,10 +26,12 @@ export { getTriggerCatalog, useGetTriggerCatalogQuery } from './hooks/useGetTrig
|
|
|
20
26
|
export { getTriggerDetails, useGetTriggerDetailsQuery } from './hooks/useGetTriggerDetailsQuery';
|
|
21
27
|
export { getTriggerListForTarget, useGetTriggerListForTargetQuery, } from './hooks/useGetTriggerListForTargetQuery';
|
|
22
28
|
export { getTrigger, useGetTriggerQuery } from './hooks/useGetTriggerQuery';
|
|
29
|
+
export { handleStageInterrupt, useHandleStageInterruptMutation, } from './hooks/useHandleStageInterruptMutation';
|
|
23
30
|
export { postFilter, usePostFilterMutation } from './hooks/usePostFilterMutation';
|
|
24
31
|
export { retryHistory, useRetryHistoryQuery } from './hooks/useRetryHistoryQuery';
|
|
25
32
|
export { triggerEventHistory, useTriggerEventHistoryQuery, } from './hooks/useTriggerEventHistoryQuery';
|
|
26
33
|
export { updateFilter, useUpdateFilterMutation } from './hooks/useUpdateFilterMutation';
|
|
34
|
+
export { updateInputSetForPipeline, useUpdateInputSetForPipelineMutation, } from './hooks/useUpdateInputSetForPipelineMutation';
|
|
27
35
|
export { updateNotesForExecution, useUpdateNotesForExecutionMutation, } from './hooks/useUpdateNotesForExecutionMutation';
|
|
28
36
|
export { updateTrigger, useUpdateTriggerMutation } from './hooks/useUpdateTriggerMutation';
|
|
29
37
|
export { updateTriggerStatus, useUpdateTriggerStatusMutation, } from './hooks/useUpdateTriggerStatusMutation';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { InputSetErrorResponse } from '../schemas/InputSetErrorResponse';
|
|
2
|
+
import type { ErrorMetadataDto } from '../schemas/ErrorMetadataDto';
|
|
3
|
+
export interface InputSetErrorWrapper extends ErrorMetadataDto {
|
|
4
|
+
errorPipelineYaml?: string;
|
|
5
|
+
invalidInputSetReferences?: string[];
|
|
6
|
+
uuidToErrorResponseMap?: {
|
|
7
|
+
[key: string]: InputSetErrorResponse;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { CacheResponseMetadata } from '../schemas/CacheResponseMetadata';
|
|
2
|
+
import type { EntityValidityDetails } from '../schemas/EntityValidityDetails';
|
|
3
|
+
import type { EntityGitDetails } from '../schemas/EntityGitDetails';
|
|
4
|
+
import type { InputSetErrorWrapper } from '../schemas/InputSetErrorWrapper';
|
|
5
|
+
export interface InputSetResponse {
|
|
6
|
+
accountId?: string;
|
|
7
|
+
cacheResponse?: CacheResponseMetadata;
|
|
8
|
+
connectorRef?: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
entityValidityDetails?: EntityValidityDetails;
|
|
11
|
+
errorResponse?: boolean;
|
|
12
|
+
gitDetails?: EntityGitDetails;
|
|
13
|
+
identifier?: string;
|
|
14
|
+
inputSetErrorWrapper?: InputSetErrorWrapper;
|
|
15
|
+
inputSetYaml?: string;
|
|
16
|
+
isInlineHCEntity?: boolean;
|
|
17
|
+
name?: string;
|
|
18
|
+
orgIdentifier?: string;
|
|
19
|
+
outdated?: boolean;
|
|
20
|
+
pipelineIdentifier?: string;
|
|
21
|
+
projectIdentifier?: string;
|
|
22
|
+
storeType?: 'INLINE' | 'INLINE_HC' | 'REMOTE';
|
|
23
|
+
tags?: {
|
|
24
|
+
[key: string]: string;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { EntityValidityDetails } from '../schemas/EntityValidityDetails';
|
|
2
|
+
import type { EntityGitDetails } from '../schemas/EntityGitDetails';
|
|
3
|
+
import type { InputSetErrorWrapper } from '../schemas/InputSetErrorWrapper';
|
|
4
|
+
export interface InputSetSummaryResponse {
|
|
5
|
+
connectorRef?: string;
|
|
6
|
+
/**
|
|
7
|
+
* @format int64
|
|
8
|
+
*/
|
|
9
|
+
createdAt?: number;
|
|
10
|
+
description?: string;
|
|
11
|
+
entityValidityDetails?: EntityValidityDetails;
|
|
12
|
+
gitDetails?: EntityGitDetails;
|
|
13
|
+
identifier?: string;
|
|
14
|
+
inputSetErrorDetails?: InputSetErrorWrapper;
|
|
15
|
+
inputSetType?: 'INPUT_SET' | 'OVERLAY_INPUT_SET';
|
|
16
|
+
isInlineHCEntity?: boolean;
|
|
17
|
+
isOutdated?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* @format int64
|
|
20
|
+
*/
|
|
21
|
+
lastUpdatedAt?: number;
|
|
22
|
+
modules?: string[];
|
|
23
|
+
name?: string;
|
|
24
|
+
overlaySetErrorDetails?: {
|
|
25
|
+
[key: string]: string;
|
|
26
|
+
};
|
|
27
|
+
pipelineIdentifier?: string;
|
|
28
|
+
storeType?: 'INLINE' | 'INLINE_HC' | 'REMOTE';
|
|
29
|
+
tags?: {
|
|
30
|
+
[key: string]: string;
|
|
31
|
+
};
|
|
32
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { CacheResponseMetadata } from '../schemas/CacheResponseMetadata';
|
|
2
|
+
import type { EntityValidityDetails } from '../schemas/EntityValidityDetails';
|
|
3
|
+
import type { EntityGitDetails } from '../schemas/EntityGitDetails';
|
|
4
|
+
export interface OverlayInputSetResponse {
|
|
5
|
+
accountId?: string;
|
|
6
|
+
cacheResponse?: CacheResponseMetadata;
|
|
7
|
+
connectorRef?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
entityValidityDetails?: EntityValidityDetails;
|
|
10
|
+
errorResponse?: boolean;
|
|
11
|
+
gitDetails?: EntityGitDetails;
|
|
12
|
+
identifier?: string;
|
|
13
|
+
inputSetReferences?: string[];
|
|
14
|
+
invalidInputSetReferences?: {
|
|
15
|
+
[key: string]: string;
|
|
16
|
+
};
|
|
17
|
+
isInlineHCEntity?: boolean;
|
|
18
|
+
name?: string;
|
|
19
|
+
orgIdentifier?: string;
|
|
20
|
+
outdated?: boolean;
|
|
21
|
+
overlayInputSetYaml?: string;
|
|
22
|
+
pipelineIdentifier?: string;
|
|
23
|
+
projectIdentifier?: string;
|
|
24
|
+
storeType?: 'INLINE' | 'INLINE_HC' | 'REMOTE';
|
|
25
|
+
tags?: {
|
|
26
|
+
[key: string]: string;
|
|
27
|
+
};
|
|
28
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { InputSetSummaryResponse } from '../schemas/InputSetSummaryResponse';
|
|
2
|
+
export interface PageInputSetSummaryResponse {
|
|
3
|
+
content?: InputSetSummaryResponse[];
|
|
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,5 @@
|
|
|
1
|
+
export interface PipelineExecutionInterrupt {
|
|
2
|
+
id?: string;
|
|
3
|
+
planExecutionId?: string;
|
|
4
|
+
type?: 'Abort' | 'AbortAll' | 'ExpireAll' | 'Ignore' | 'MarkAsFailure' | 'MarkAsSuccess' | 'Pause' | 'PipelineRollback' | 'Resume' | 'Retry' | 'StageRollback' | 'StepGroupRollback' | 'UserMarkedFailure';
|
|
5
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/pipeline-swagger-service/src/services/schemas/ResponseOverlayInputSetResponse.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { OverlayInputSetResponse } from '../schemas/OverlayInputSetResponse';
|
|
2
|
+
export interface ResponseOverlayInputSetResponse {
|
|
3
|
+
correlationId?: string;
|
|
4
|
+
data?: OverlayInputSetResponse;
|
|
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/ResponsePageInputSetSummaryResponse.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { PageInputSetSummaryResponse } from '../schemas/PageInputSetSummaryResponse';
|
|
2
|
+
export interface ResponsePageInputSetSummaryResponse {
|
|
3
|
+
correlationId?: string;
|
|
4
|
+
data?: PageInputSetSummaryResponse;
|
|
5
|
+
metaData?: {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
};
|
|
8
|
+
status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
|
|
9
|
+
}
|
package/dist/pipeline-swagger-service/src/services/schemas/ResponsePageInputSetSummaryResponse.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/pipeline-swagger-service/src/services/schemas/ResponsePipelineExecutionInterrupt.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { PipelineExecutionInterrupt } from '../schemas/PipelineExecutionInterrupt';
|
|
2
|
+
export interface ResponsePipelineExecutionInterrupt {
|
|
3
|
+
correlationId?: string;
|
|
4
|
+
data?: PipelineExecutionInterrupt;
|
|
5
|
+
metaData?: {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
};
|
|
8
|
+
status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
|
|
9
|
+
}
|
package/dist/pipeline-swagger-service/src/services/schemas/ResponsePipelineExecutionInterrupt.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED