@harnessio/react-pipeline-swagger-service-client 1.22.0 → 1.23.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/useRefreshAllMutation.d.ts +41 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useRefreshAllMutation.js +14 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useRefreshAndUpdateTemplateInputsMutation.d.ts +41 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useRefreshAndUpdateTemplateInputsMutation.js +14 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useValidateTemplateInputsQuery.d.ts +37 -0
- package/dist/pipeline-swagger-service/src/services/hooks/useValidateTemplateInputsQuery.js +14 -0
- package/dist/pipeline-swagger-service/src/services/index.d.ts +12 -0
- package/dist/pipeline-swagger-service/src/services/index.js +3 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ErrorNodeSummary.d.ts +9 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ErrorNodeSummary.js +1 -0
- package/dist/pipeline-swagger-service/src/services/schemas/NodeInfo.d.ts +5 -0
- package/dist/pipeline-swagger-service/src/services/schemas/NodeInfo.js +4 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ResponseValidateTemplateInputsResponseDto.d.ts +9 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ResponseValidateTemplateInputsResponseDto.js +1 -0
- package/dist/pipeline-swagger-service/src/services/schemas/TemplateInfo.d.ts +5 -0
- package/dist/pipeline-swagger-service/src/services/schemas/TemplateInfo.js +4 -0
- package/dist/pipeline-swagger-service/src/services/schemas/TemplateResponse.d.ts +41 -0
- package/dist/pipeline-swagger-service/src/services/schemas/TemplateResponse.js +1 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ValidateTemplateInputsResponseDto.d.ts +6 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ValidateTemplateInputsResponseDto.js +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,41 @@
|
|
|
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 RefreshAllMutationQueryParams {
|
|
8
|
+
accountIdentifier: string;
|
|
9
|
+
orgIdentifier?: string;
|
|
10
|
+
projectIdentifier?: string;
|
|
11
|
+
identifier?: string;
|
|
12
|
+
branch?: string;
|
|
13
|
+
repoIdentifier?: string;
|
|
14
|
+
rootFolder?: string;
|
|
15
|
+
filePath?: string;
|
|
16
|
+
commitMsg?: string;
|
|
17
|
+
lastObjectId?: string;
|
|
18
|
+
resolvedConflictCommitId?: string;
|
|
19
|
+
baseBranch?: string;
|
|
20
|
+
connectorRef?: string;
|
|
21
|
+
storeType?: 'INLINE' | 'INLINE_HC' | 'REMOTE';
|
|
22
|
+
lastCommitId?: string;
|
|
23
|
+
isNewBranch?: boolean;
|
|
24
|
+
isHarnessCodeRepo?: boolean;
|
|
25
|
+
}
|
|
26
|
+
export interface RefreshAllMutationHeaderParams {
|
|
27
|
+
/**
|
|
28
|
+
* @default "false"
|
|
29
|
+
*/
|
|
30
|
+
'Load-From-Cache'?: string;
|
|
31
|
+
}
|
|
32
|
+
export type RefreshAllOkResponse = ResponseWithPagination<ResponseBoolean>;
|
|
33
|
+
export type RefreshAllErrorResponse = Failure | Error;
|
|
34
|
+
export interface RefreshAllProps extends Omit<FetcherOptions<RefreshAllMutationQueryParams, unknown, RefreshAllMutationHeaderParams>, 'url'> {
|
|
35
|
+
queryParams: RefreshAllMutationQueryParams;
|
|
36
|
+
}
|
|
37
|
+
export declare function refreshAll(props: RefreshAllProps): Promise<RefreshAllOkResponse>;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
export declare function useRefreshAllMutation(options?: Omit<UseMutationOptions<RefreshAllOkResponse, RefreshAllErrorResponse, RefreshAllProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<RefreshAllOkResponse, RefreshAllErrorResponse, RefreshAllProps, 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 refreshAll(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/refresh-template/refresh-all`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useRefreshAllMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => refreshAll(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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 RefreshAndUpdateTemplateInputsMutationQueryParams {
|
|
8
|
+
accountIdentifier: string;
|
|
9
|
+
orgIdentifier?: string;
|
|
10
|
+
projectIdentifier?: string;
|
|
11
|
+
identifier?: string;
|
|
12
|
+
branch?: string;
|
|
13
|
+
repoIdentifier?: string;
|
|
14
|
+
rootFolder?: string;
|
|
15
|
+
filePath?: string;
|
|
16
|
+
commitMsg?: string;
|
|
17
|
+
lastObjectId?: string;
|
|
18
|
+
resolvedConflictCommitId?: string;
|
|
19
|
+
baseBranch?: string;
|
|
20
|
+
connectorRef?: string;
|
|
21
|
+
storeType?: 'INLINE' | 'INLINE_HC' | 'REMOTE';
|
|
22
|
+
lastCommitId?: string;
|
|
23
|
+
isNewBranch?: boolean;
|
|
24
|
+
isHarnessCodeRepo?: boolean;
|
|
25
|
+
}
|
|
26
|
+
export interface RefreshAndUpdateTemplateInputsMutationHeaderParams {
|
|
27
|
+
/**
|
|
28
|
+
* @default "false"
|
|
29
|
+
*/
|
|
30
|
+
'Load-From-Cache'?: string;
|
|
31
|
+
}
|
|
32
|
+
export type RefreshAndUpdateTemplateInputsOkResponse = ResponseWithPagination<ResponseBoolean>;
|
|
33
|
+
export type RefreshAndUpdateTemplateInputsErrorResponse = Failure | Error;
|
|
34
|
+
export interface RefreshAndUpdateTemplateInputsProps extends Omit<FetcherOptions<RefreshAndUpdateTemplateInputsMutationQueryParams, unknown, RefreshAndUpdateTemplateInputsMutationHeaderParams>, 'url'> {
|
|
35
|
+
queryParams: RefreshAndUpdateTemplateInputsMutationQueryParams;
|
|
36
|
+
}
|
|
37
|
+
export declare function refreshAndUpdateTemplateInputs(props: RefreshAndUpdateTemplateInputsProps): Promise<RefreshAndUpdateTemplateInputsOkResponse>;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
export declare function useRefreshAndUpdateTemplateInputsMutation(options?: Omit<UseMutationOptions<RefreshAndUpdateTemplateInputsOkResponse, RefreshAndUpdateTemplateInputsErrorResponse, RefreshAndUpdateTemplateInputsProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<RefreshAndUpdateTemplateInputsOkResponse, RefreshAndUpdateTemplateInputsErrorResponse, RefreshAndUpdateTemplateInputsProps, 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 refreshAndUpdateTemplateInputs(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/refresh-template`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useRefreshAndUpdateTemplateInputsMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => refreshAndUpdateTemplateInputs(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseValidateTemplateInputsResponseDto } from '../schemas/ResponseValidateTemplateInputsResponseDto';
|
|
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 ValidateTemplateInputsQueryQueryParams {
|
|
8
|
+
accountIdentifier: string;
|
|
9
|
+
orgIdentifier?: string;
|
|
10
|
+
projectIdentifier?: string;
|
|
11
|
+
identifier?: string;
|
|
12
|
+
branch?: string;
|
|
13
|
+
repoIdentifier?: string;
|
|
14
|
+
getDefaultFromOtherRepo?: boolean;
|
|
15
|
+
parentEntityConnectorRef?: string;
|
|
16
|
+
parentEntityRepoName?: string;
|
|
17
|
+
parentEntityAccountIdentifier?: string;
|
|
18
|
+
parentEntityOrgIdentifier?: string;
|
|
19
|
+
parentEntityProjectIdentifier?: string;
|
|
20
|
+
repoName?: string;
|
|
21
|
+
}
|
|
22
|
+
export interface ValidateTemplateInputsQueryHeaderParams {
|
|
23
|
+
/**
|
|
24
|
+
* @default "false"
|
|
25
|
+
*/
|
|
26
|
+
'Load-From-Cache'?: string;
|
|
27
|
+
}
|
|
28
|
+
export type ValidateTemplateInputsOkResponse = ResponseWithPagination<ResponseValidateTemplateInputsResponseDto>;
|
|
29
|
+
export type ValidateTemplateInputsErrorResponse = Failure | Error;
|
|
30
|
+
export interface ValidateTemplateInputsProps extends Omit<FetcherOptions<ValidateTemplateInputsQueryQueryParams, unknown, ValidateTemplateInputsQueryHeaderParams>, 'url'> {
|
|
31
|
+
queryParams: ValidateTemplateInputsQueryQueryParams;
|
|
32
|
+
}
|
|
33
|
+
export declare function validateTemplateInputs(props: ValidateTemplateInputsProps): Promise<ValidateTemplateInputsOkResponse>;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
export declare function useValidateTemplateInputsQuery(props: ValidateTemplateInputsProps, options?: Omit<UseQueryOptions<ValidateTemplateInputsOkResponse, ValidateTemplateInputsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ValidateTemplateInputsOkResponse, ValidateTemplateInputsErrorResponse>;
|
|
@@ -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 validateTemplateInputs(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/refresh-template/validate-template-inputs`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useValidateTemplateInputsQuery(props, options) {
|
|
13
|
+
return useQuery(['validateTemplateInputs', props.queryParams], ({ signal }) => validateTemplateInputs(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -79,6 +79,10 @@ export type { HandleStageInterruptErrorResponse, HandleStageInterruptMutationPat
|
|
|
79
79
|
export { handleStageInterrupt, useHandleStageInterruptMutation, } from './hooks/useHandleStageInterruptMutation';
|
|
80
80
|
export type { PostFilterErrorResponse, PostFilterMutationQueryParams, PostFilterOkResponse, PostFilterProps, PostFilterRequestBody, } from './hooks/usePostFilterMutation';
|
|
81
81
|
export { postFilter, usePostFilterMutation } from './hooks/usePostFilterMutation';
|
|
82
|
+
export type { RefreshAllErrorResponse, RefreshAllMutationQueryParams, RefreshAllOkResponse, RefreshAllProps, } from './hooks/useRefreshAllMutation';
|
|
83
|
+
export { refreshAll, useRefreshAllMutation } from './hooks/useRefreshAllMutation';
|
|
84
|
+
export type { RefreshAndUpdateTemplateInputsErrorResponse, RefreshAndUpdateTemplateInputsMutationQueryParams, RefreshAndUpdateTemplateInputsOkResponse, RefreshAndUpdateTemplateInputsProps, } from './hooks/useRefreshAndUpdateTemplateInputsMutation';
|
|
85
|
+
export { refreshAndUpdateTemplateInputs, useRefreshAndUpdateTemplateInputsMutation, } from './hooks/useRefreshAndUpdateTemplateInputsMutation';
|
|
82
86
|
export type { RetryHistoryErrorResponse, RetryHistoryOkResponse, RetryHistoryProps, RetryHistoryQueryPathParams, RetryHistoryQueryQueryParams, } from './hooks/useRetryHistoryQuery';
|
|
83
87
|
export { retryHistory, useRetryHistoryQuery } from './hooks/useRetryHistoryQuery';
|
|
84
88
|
export type { StartPreflightCheckErrorResponse, StartPreflightCheckMutationQueryParams, StartPreflightCheckOkResponse, StartPreflightCheckProps, } from './hooks/useStartPreflightCheckMutation';
|
|
@@ -99,6 +103,8 @@ export type { UpdateTriggerErrorResponse, UpdateTriggerMutationPathParams, Updat
|
|
|
99
103
|
export { updateTrigger, useUpdateTriggerMutation } from './hooks/useUpdateTriggerMutation';
|
|
100
104
|
export type { UpdateTriggerStatusErrorResponse, UpdateTriggerStatusMutationPathParams, UpdateTriggerStatusMutationQueryParams, UpdateTriggerStatusOkResponse, UpdateTriggerStatusProps, } from './hooks/useUpdateTriggerStatusMutation';
|
|
101
105
|
export { updateTriggerStatus, useUpdateTriggerStatusMutation, } from './hooks/useUpdateTriggerStatusMutation';
|
|
106
|
+
export type { ValidateTemplateInputsErrorResponse, ValidateTemplateInputsOkResponse, ValidateTemplateInputsProps, ValidateTemplateInputsQueryQueryParams, } from './hooks/useValidateTemplateInputsQuery';
|
|
107
|
+
export { useValidateTemplateInputsQuery, validateTemplateInputs, } from './hooks/useValidateTemplateInputsQuery';
|
|
102
108
|
export type { ClonePipelinePropertiesRequestBody } from './requestBodies/ClonePipelinePropertiesRequestBody';
|
|
103
109
|
export type { CreateTriggerBodyRequestBody } from './requestBodies/CreateTriggerBodyRequestBody';
|
|
104
110
|
export type { FilterDtoRequestBody } from './requestBodies/FilterDtoRequestBody';
|
|
@@ -125,6 +131,7 @@ export type { EntityGitDetails } from './schemas/EntityGitDetails';
|
|
|
125
131
|
export type { EntityValidityDetails } from './schemas/EntityValidityDetails';
|
|
126
132
|
export type { Error } from './schemas/Error';
|
|
127
133
|
export type { ErrorMetadataDto } from './schemas/ErrorMetadataDto';
|
|
134
|
+
export type { ErrorNodeSummary } from './schemas/ErrorNodeSummary';
|
|
128
135
|
export type { ExecutableResponse } from './schemas/ExecutableResponse';
|
|
129
136
|
export type { ExecutionDataResponse } from './schemas/ExecutionDataResponse';
|
|
130
137
|
export type { ExecutionErrorInfo } from './schemas/ExecutionErrorInfo';
|
|
@@ -163,6 +170,7 @@ export type { NgTriggerDetailsResponse } from './schemas/NgTriggerDetailsRespons
|
|
|
163
170
|
export type { NgTriggerEventHistoryResponse } from './schemas/NgTriggerEventHistoryResponse';
|
|
164
171
|
export type { NgTriggerEventInfo } from './schemas/NgTriggerEventInfo';
|
|
165
172
|
export type { NgTriggerResponse } from './schemas/NgTriggerResponse';
|
|
173
|
+
export type { NodeInfo } from './schemas/NodeInfo';
|
|
166
174
|
export type { NodeRunInfo } from './schemas/NodeRunInfo';
|
|
167
175
|
export type { OverlayInputSetResponse } from './schemas/OverlayInputSetResponse';
|
|
168
176
|
export type { PageFilterDto } from './schemas/PageFilterDto';
|
|
@@ -233,6 +241,7 @@ export type { ResponsePreFlightDto } from './schemas/ResponsePreFlightDto';
|
|
|
233
241
|
export type { ResponseRetryHistoryResponseDto } from './schemas/ResponseRetryHistoryResponseDto';
|
|
234
242
|
export type { ResponseString } from './schemas/ResponseString';
|
|
235
243
|
export type { ResponseTriggerCatalogResponse } from './schemas/ResponseTriggerCatalogResponse';
|
|
244
|
+
export type { ResponseValidateTemplateInputsResponseDto } from './schemas/ResponseValidateTemplateInputsResponseDto';
|
|
236
245
|
export type { ResponseWorkflowGraph } from './schemas/ResponseWorkflowGraph';
|
|
237
246
|
export type { RetryExecutionMetadata } from './schemas/RetryExecutionMetadata';
|
|
238
247
|
export type { RetryHistoryResponseDto } from './schemas/RetryHistoryResponseDto';
|
|
@@ -246,7 +255,9 @@ export type { StackTraceElement } from './schemas/StackTraceElement';
|
|
|
246
255
|
export type { StrategyMetadata } from './schemas/StrategyMetadata';
|
|
247
256
|
export type { SystemIssuer } from './schemas/SystemIssuer';
|
|
248
257
|
export type { TargetExecutionSummary } from './schemas/TargetExecutionSummary';
|
|
258
|
+
export type { TemplateInfo } from './schemas/TemplateInfo';
|
|
249
259
|
export type { TemplateReferenceSummary } from './schemas/TemplateReferenceSummary';
|
|
260
|
+
export type { TemplateResponse } from './schemas/TemplateResponse';
|
|
250
261
|
export type { Throwable } from './schemas/Throwable';
|
|
251
262
|
export type { TimeRange } from './schemas/TimeRange';
|
|
252
263
|
export type { TimeoutIssuer } from './schemas/TimeoutIssuer';
|
|
@@ -257,6 +268,7 @@ export type { TriggerExecutorDto } from './schemas/TriggerExecutorDto';
|
|
|
257
268
|
export type { TriggerIssuer } from './schemas/TriggerIssuer';
|
|
258
269
|
export type { TriggerStatus } from './schemas/TriggerStatus';
|
|
259
270
|
export type { UnitProgress } from './schemas/UnitProgress';
|
|
271
|
+
export type { ValidateTemplateInputsResponseDto } from './schemas/ValidateTemplateInputsResponseDto';
|
|
260
272
|
export type { ValidationError } from './schemas/ValidationError';
|
|
261
273
|
export type { ValidationStatus } from './schemas/ValidationStatus';
|
|
262
274
|
export type { WebhookAutoRegistrationStatus } from './schemas/WebhookAutoRegistrationStatus';
|
|
@@ -38,6 +38,8 @@ export { handleInterrupt, useHandleInterruptMutation } from './hooks/useHandleIn
|
|
|
38
38
|
export { handleManualInterventionInterrupt, useHandleManualInterventionInterruptMutation, } from './hooks/useHandleManualInterventionInterruptMutation';
|
|
39
39
|
export { handleStageInterrupt, useHandleStageInterruptMutation, } from './hooks/useHandleStageInterruptMutation';
|
|
40
40
|
export { postFilter, usePostFilterMutation } from './hooks/usePostFilterMutation';
|
|
41
|
+
export { refreshAll, useRefreshAllMutation } from './hooks/useRefreshAllMutation';
|
|
42
|
+
export { refreshAndUpdateTemplateInputs, useRefreshAndUpdateTemplateInputsMutation, } from './hooks/useRefreshAndUpdateTemplateInputsMutation';
|
|
41
43
|
export { retryHistory, useRetryHistoryQuery } from './hooks/useRetryHistoryQuery';
|
|
42
44
|
export { startPreflightCheck, useStartPreflightCheckMutation, } from './hooks/useStartPreflightCheckMutation';
|
|
43
45
|
export { triggerEventHistoryNew, useTriggerEventHistoryNewQuery, } from './hooks/useTriggerEventHistoryNewQuery';
|
|
@@ -48,3 +50,4 @@ export { updateInputSetForPipeline, useUpdateInputSetForPipelineMutation, } from
|
|
|
48
50
|
export { updateNotesForExecution, useUpdateNotesForExecutionMutation, } from './hooks/useUpdateNotesForExecutionMutation';
|
|
49
51
|
export { updateTrigger, useUpdateTriggerMutation } from './hooks/useUpdateTriggerMutation';
|
|
50
52
|
export { updateTriggerStatus, useUpdateTriggerStatusMutation, } from './hooks/useUpdateTriggerStatusMutation';
|
|
53
|
+
export { useValidateTemplateInputsQuery, validateTemplateInputs, } from './hooks/useValidateTemplateInputsQuery';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { NodeInfo } from '../schemas/NodeInfo';
|
|
2
|
+
import type { TemplateInfo } from '../schemas/TemplateInfo';
|
|
3
|
+
import type { TemplateResponse } from '../schemas/TemplateResponse';
|
|
4
|
+
export interface ErrorNodeSummary {
|
|
5
|
+
childrenErrorNodes?: ErrorNodeSummary[];
|
|
6
|
+
nodeInfo?: NodeInfo;
|
|
7
|
+
templateInfo?: TemplateInfo;
|
|
8
|
+
templateResponse?: TemplateResponse;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ValidateTemplateInputsResponseDto } from '../schemas/ValidateTemplateInputsResponseDto';
|
|
2
|
+
export interface ResponseValidateTemplateInputsResponseDto {
|
|
3
|
+
correlationId?: string;
|
|
4
|
+
data?: ValidateTemplateInputsResponseDto;
|
|
5
|
+
metaData?: {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
};
|
|
8
|
+
status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export interface TemplateInfo {
|
|
2
|
+
templateEntityType?: 'Agent' | 'ArtifactSource' | 'CustomDeployment' | 'MonitoredService' | 'Notification' | 'Pipeline' | 'SecretManager' | 'Stage' | 'Step' | 'StepGroup' | 'Workspace';
|
|
3
|
+
templateIdentifier?: string;
|
|
4
|
+
versionLabel?: string;
|
|
5
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { CacheResponseMetadata } from '../schemas/CacheResponseMetadata';
|
|
2
|
+
import type { EntityValidityDetails } from '../schemas/EntityValidityDetails';
|
|
3
|
+
import type { EntityGitDetails } from '../schemas/EntityGitDetails';
|
|
4
|
+
export interface TemplateResponse {
|
|
5
|
+
accountId: string;
|
|
6
|
+
bulkReconcileUUID?: string;
|
|
7
|
+
cacheResponseMetadata?: CacheResponseMetadata;
|
|
8
|
+
childType?: string;
|
|
9
|
+
connectorRef?: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
enableDAG?: boolean;
|
|
12
|
+
entityValidityDetails?: EntityValidityDetails;
|
|
13
|
+
gitDetails?: EntityGitDetails;
|
|
14
|
+
hasInsert?: boolean;
|
|
15
|
+
icon?: string;
|
|
16
|
+
identifier: string;
|
|
17
|
+
isInlineHCEntity?: boolean;
|
|
18
|
+
labels?: string[];
|
|
19
|
+
/**
|
|
20
|
+
* @format int64
|
|
21
|
+
*/
|
|
22
|
+
lastUpdatedAt?: number;
|
|
23
|
+
mergedYaml?: string;
|
|
24
|
+
name: string;
|
|
25
|
+
orgIdentifier?: string;
|
|
26
|
+
projectIdentifier?: string;
|
|
27
|
+
stableTemplate?: boolean;
|
|
28
|
+
storeType?: 'INLINE' | 'INLINE_HC' | 'REMOTE';
|
|
29
|
+
tags?: {
|
|
30
|
+
[key: string]: string;
|
|
31
|
+
};
|
|
32
|
+
templateEntityType?: 'Agent' | 'ArtifactSource' | 'CustomDeployment' | 'MonitoredService' | 'Notification' | 'Pipeline' | 'SecretManager' | 'Stage' | 'Step' | 'StepGroup' | 'Workspace';
|
|
33
|
+
templateScope?: 'account' | 'org' | 'project' | 'unknown';
|
|
34
|
+
/**
|
|
35
|
+
* @format int64
|
|
36
|
+
*/
|
|
37
|
+
version?: number;
|
|
38
|
+
versionLabel?: string;
|
|
39
|
+
yaml?: string;
|
|
40
|
+
yamlVersion?: string;
|
|
41
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/pipeline-swagger-service/src/services/schemas/ValidateTemplateInputsResponseDto.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ErrorNodeSummary } from '../schemas/ErrorNodeSummary';
|
|
2
|
+
import type { ErrorMetadataDto } from '../schemas/ErrorMetadataDto';
|
|
3
|
+
export interface ValidateTemplateInputsResponseDto extends ErrorMetadataDto {
|
|
4
|
+
errorNodeSummary?: ErrorNodeSummary;
|
|
5
|
+
validYaml?: boolean;
|
|
6
|
+
}
|
package/dist/pipeline-swagger-service/src/services/schemas/ValidateTemplateInputsResponseDto.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED