@harnessio/react-pipeline-swagger-service-client 1.17.0 → 1.18.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.
Files changed (29) hide show
  1. package/dist/pipeline-swagger-service/src/services/hooks/useClonePipelineMutation.d.ts +35 -0
  2. package/dist/pipeline-swagger-service/src/services/hooks/useClonePipelineMutation.js +15 -0
  3. package/dist/pipeline-swagger-service/src/services/hooks/useCreateInputSetForPipelineMutation.d.ts +2 -2
  4. package/dist/pipeline-swagger-service/src/services/hooks/useCreateOverlayInputSetForPipelineMutation.d.ts +2 -2
  5. package/dist/pipeline-swagger-service/src/services/hooks/useCreateTriggerMutation.d.ts +2 -2
  6. package/dist/pipeline-swagger-service/src/services/hooks/useUpdateInputSetForPipelineMutation.d.ts +2 -2
  7. package/dist/pipeline-swagger-service/src/services/hooks/useUpdateTriggerMutation.d.ts +2 -2
  8. package/dist/pipeline-swagger-service/src/services/index.d.ts +11 -1
  9. package/dist/pipeline-swagger-service/src/services/index.js +1 -0
  10. package/dist/pipeline-swagger-service/src/services/requestBodies/ClonePipelinePropertiesRequestBody.d.ts +2 -0
  11. package/dist/pipeline-swagger-service/src/services/requestBodies/ClonePipelinePropertiesRequestBody.js +1 -0
  12. package/dist/pipeline-swagger-service/src/services/requestBodies/UpdateTriggerBodyRequestBody.d.ts +1 -0
  13. package/dist/pipeline-swagger-service/src/services/schemas/CloneConfig.d.ts +6 -0
  14. package/dist/pipeline-swagger-service/src/services/schemas/CloneConfig.js +4 -0
  15. package/dist/pipeline-swagger-service/src/services/schemas/ClonePipelineProperties.d.ts +9 -0
  16. package/dist/pipeline-swagger-service/src/services/schemas/ClonePipelineProperties.js +1 -0
  17. package/dist/pipeline-swagger-service/src/services/schemas/DestinationPipelineConfig.d.ts +10 -0
  18. package/dist/pipeline-swagger-service/src/services/schemas/DestinationPipelineConfig.js +4 -0
  19. package/dist/pipeline-swagger-service/src/services/schemas/PipelineSaveResponse.d.ts +7 -0
  20. package/dist/pipeline-swagger-service/src/services/schemas/PipelineSaveResponse.js +1 -0
  21. package/dist/pipeline-swagger-service/src/services/schemas/PublicAccessResponse.d.ts +4 -0
  22. package/dist/pipeline-swagger-service/src/services/schemas/PublicAccessResponse.js +4 -0
  23. package/dist/pipeline-swagger-service/src/services/schemas/ResponsePipelineSaveResponse.d.ts +9 -0
  24. package/dist/pipeline-swagger-service/src/services/schemas/ResponsePipelineSaveResponse.js +1 -0
  25. package/dist/pipeline-swagger-service/src/services/schemas/SourceIdentifierConfig.d.ts +6 -0
  26. package/dist/pipeline-swagger-service/src/services/schemas/SourceIdentifierConfig.js +4 -0
  27. package/package.json +1 -1
  28. package/dist/pipeline-swagger-service/src/services/requestBodies/CreateTriggerBodyRequestBody.d.ts +0 -1
  29. /package/dist/pipeline-swagger-service/src/services/requestBodies/{CreateTriggerBodyRequestBody.js → UpdateTriggerBodyRequestBody.js} +0 -0
@@ -0,0 +1,35 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ResponsePipelineSaveResponse } from '../schemas/ResponsePipelineSaveResponse';
3
+ import type { Failure } from '../schemas/Failure';
4
+ import type { Error } from '../schemas/Error';
5
+ import type { ClonePipelinePropertiesRequestBody } from '../requestBodies/ClonePipelinePropertiesRequestBody';
6
+ import type { ResponseWithPagination } from '../helpers';
7
+ import { FetcherOptions } from '../../../../fetcher/index.js';
8
+ export interface ClonePipelineMutationQueryParams {
9
+ accountIdentifier: string;
10
+ branch?: string;
11
+ repoIdentifier?: string;
12
+ rootFolder?: string;
13
+ filePath?: string;
14
+ commitMsg?: string;
15
+ isNewBranch?: boolean;
16
+ baseBranch?: string;
17
+ connectorRef?: string;
18
+ storeType?: 'INLINE' | 'INLINE_HC' | 'REMOTE';
19
+ repoName?: string;
20
+ isHarnessCodeRepo?: boolean;
21
+ enableDAG?: boolean;
22
+ }
23
+ export type ClonePipelineRequestBody = ClonePipelinePropertiesRequestBody;
24
+ export type ClonePipelineOkResponse = ResponseWithPagination<ResponsePipelineSaveResponse>;
25
+ export type ClonePipelineErrorResponse = Failure | Error;
26
+ export interface ClonePipelineProps extends Omit<FetcherOptions<ClonePipelineMutationQueryParams, ClonePipelineRequestBody>, 'url'> {
27
+ queryParams: ClonePipelineMutationQueryParams;
28
+ body: ClonePipelineRequestBody;
29
+ }
30
+ export declare function clonePipeline(props: ClonePipelineProps): Promise<ClonePipelineOkResponse>;
31
+ /**
32
+ *
33
+ * @deprecated
34
+ */
35
+ export declare function useClonePipelineMutation(options?: Omit<UseMutationOptions<ClonePipelineOkResponse, ClonePipelineErrorResponse, ClonePipelineProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ClonePipelineOkResponse, ClonePipelineErrorResponse, ClonePipelineProps, unknown>;
@@ -0,0 +1,15 @@
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 clonePipeline(props) {
7
+ return fetcher(Object.assign({ url: `/pipelines/clone`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ *
11
+ * @deprecated
12
+ */
13
+ export function useClonePipelineMutation(options) {
14
+ return useMutation((mutateProps) => clonePipeline(mutateProps), options);
15
+ }
@@ -2,7 +2,7 @@ import { UseMutationOptions } from '@tanstack/react-query';
2
2
  import type { ResponseInputSetResponse } from '../schemas/ResponseInputSetResponse';
3
3
  import type { Failure } from '../schemas/Failure';
4
4
  import type { Error } from '../schemas/Error';
5
- import type { CreateTriggerBodyRequestBody } from '../requestBodies/CreateTriggerBodyRequestBody';
5
+ import type { UpdateTriggerBodyRequestBody } from '../requestBodies/UpdateTriggerBodyRequestBody';
6
6
  import type { ResponseWithPagination } from '../helpers';
7
7
  import { FetcherOptions } from '../../../../fetcher/index.js';
8
8
  export interface CreateInputSetForPipelineMutationQueryParams {
@@ -28,7 +28,7 @@ export interface CreateInputSetForPipelineMutationQueryParams {
28
28
  */
29
29
  InputSetVersion?: string;
30
30
  }
31
- export type CreateInputSetForPipelineRequestBody = CreateTriggerBodyRequestBody;
31
+ export type CreateInputSetForPipelineRequestBody = UpdateTriggerBodyRequestBody;
32
32
  export type CreateInputSetForPipelineOkResponse = ResponseWithPagination<ResponseInputSetResponse>;
33
33
  export type CreateInputSetForPipelineErrorResponse = Failure | Error;
34
34
  export interface CreateInputSetForPipelineProps extends Omit<FetcherOptions<CreateInputSetForPipelineMutationQueryParams, CreateInputSetForPipelineRequestBody>, 'url'> {
@@ -2,7 +2,7 @@ import { UseMutationOptions } from '@tanstack/react-query';
2
2
  import type { ResponseOverlayInputSetResponse } from '../schemas/ResponseOverlayInputSetResponse';
3
3
  import type { Failure } from '../schemas/Failure';
4
4
  import type { Error } from '../schemas/Error';
5
- import type { CreateTriggerBodyRequestBody } from '../requestBodies/CreateTriggerBodyRequestBody';
5
+ import type { UpdateTriggerBodyRequestBody } from '../requestBodies/UpdateTriggerBodyRequestBody';
6
6
  import type { ResponseWithPagination } from '../helpers';
7
7
  import { FetcherOptions } from '../../../../fetcher/index.js';
8
8
  export interface CreateOverlayInputSetForPipelineMutationQueryParams {
@@ -22,7 +22,7 @@ export interface CreateOverlayInputSetForPipelineMutationQueryParams {
22
22
  repoName?: string;
23
23
  isHarnessCodeRepo?: boolean;
24
24
  }
25
- export type CreateOverlayInputSetForPipelineRequestBody = CreateTriggerBodyRequestBody;
25
+ export type CreateOverlayInputSetForPipelineRequestBody = UpdateTriggerBodyRequestBody;
26
26
  export type CreateOverlayInputSetForPipelineOkResponse = ResponseWithPagination<ResponseOverlayInputSetResponse>;
27
27
  export type CreateOverlayInputSetForPipelineErrorResponse = Failure | Error;
28
28
  export interface CreateOverlayInputSetForPipelineProps extends Omit<FetcherOptions<CreateOverlayInputSetForPipelineMutationQueryParams, CreateOverlayInputSetForPipelineRequestBody>, 'url'> {
@@ -2,7 +2,7 @@ import { UseMutationOptions } from '@tanstack/react-query';
2
2
  import type { ResponseNgTriggerResponse } from '../schemas/ResponseNgTriggerResponse';
3
3
  import type { Failure } from '../schemas/Failure';
4
4
  import type { Error } from '../schemas/Error';
5
- import type { CreateTriggerBodyRequestBody } from '../requestBodies/CreateTriggerBodyRequestBody';
5
+ import type { UpdateTriggerBodyRequestBody } from '../requestBodies/UpdateTriggerBodyRequestBody';
6
6
  import type { ResponseWithPagination } from '../helpers';
7
7
  import { FetcherOptions } from '../../../../fetcher/index.js';
8
8
  export interface CreateTriggerMutationQueryParams {
@@ -13,7 +13,7 @@ export interface CreateTriggerMutationQueryParams {
13
13
  ignoreError?: boolean;
14
14
  withServiceV2?: boolean;
15
15
  }
16
- export type CreateTriggerRequestBody = CreateTriggerBodyRequestBody;
16
+ export type CreateTriggerRequestBody = UpdateTriggerBodyRequestBody;
17
17
  export type CreateTriggerOkResponse = ResponseWithPagination<ResponseNgTriggerResponse>;
18
18
  export type CreateTriggerErrorResponse = Failure | Error;
19
19
  export interface CreateTriggerProps extends Omit<FetcherOptions<CreateTriggerMutationQueryParams, CreateTriggerRequestBody>, 'url'> {
@@ -2,7 +2,7 @@ import { UseMutationOptions } from '@tanstack/react-query';
2
2
  import type { ResponseInputSetResponse } from '../schemas/ResponseInputSetResponse';
3
3
  import type { Failure } from '../schemas/Failure';
4
4
  import type { Error } from '../schemas/Error';
5
- import type { CreateTriggerBodyRequestBody } from '../requestBodies/CreateTriggerBodyRequestBody';
5
+ import type { UpdateTriggerBodyRequestBody } from '../requestBodies/UpdateTriggerBodyRequestBody';
6
6
  import type { ResponseWithPagination } from '../helpers';
7
7
  import { FetcherOptions } from '../../../../fetcher/index.js';
8
8
  export interface UpdateInputSetForPipelineMutationPathParams {
@@ -36,7 +36,7 @@ export interface UpdateInputSetForPipelineMutationQueryParams {
36
36
  export interface UpdateInputSetForPipelineMutationHeaderParams {
37
37
  'If-Match'?: string;
38
38
  }
39
- export type UpdateInputSetForPipelineRequestBody = CreateTriggerBodyRequestBody;
39
+ export type UpdateInputSetForPipelineRequestBody = UpdateTriggerBodyRequestBody;
40
40
  export type UpdateInputSetForPipelineOkResponse = ResponseWithPagination<ResponseInputSetResponse>;
41
41
  export type UpdateInputSetForPipelineErrorResponse = Failure | Error;
42
42
  export interface UpdateInputSetForPipelineProps extends UpdateInputSetForPipelineMutationPathParams, Omit<FetcherOptions<UpdateInputSetForPipelineMutationQueryParams, UpdateInputSetForPipelineRequestBody, UpdateInputSetForPipelineMutationHeaderParams>, 'url'> {
@@ -2,7 +2,7 @@ import { UseMutationOptions } from '@tanstack/react-query';
2
2
  import type { ResponseNgTriggerResponse } from '../schemas/ResponseNgTriggerResponse';
3
3
  import type { Failure } from '../schemas/Failure';
4
4
  import type { Error } from '../schemas/Error';
5
- import type { CreateTriggerBodyRequestBody } from '../requestBodies/CreateTriggerBodyRequestBody';
5
+ import type { UpdateTriggerBodyRequestBody } from '../requestBodies/UpdateTriggerBodyRequestBody';
6
6
  import type { ResponseWithPagination } from '../helpers';
7
7
  import { FetcherOptions } from '../../../../fetcher/index.js';
8
8
  export interface UpdateTriggerMutationPathParams {
@@ -18,7 +18,7 @@ export interface UpdateTriggerMutationQueryParams {
18
18
  export interface UpdateTriggerMutationHeaderParams {
19
19
  'If-Match'?: string;
20
20
  }
21
- export type UpdateTriggerRequestBody = CreateTriggerBodyRequestBody;
21
+ export type UpdateTriggerRequestBody = UpdateTriggerBodyRequestBody;
22
22
  export type UpdateTriggerOkResponse = ResponseWithPagination<ResponseNgTriggerResponse>;
23
23
  export type UpdateTriggerErrorResponse = Failure | Error;
24
24
  export interface UpdateTriggerProps extends UpdateTriggerMutationPathParams, Omit<FetcherOptions<UpdateTriggerMutationQueryParams, UpdateTriggerRequestBody, UpdateTriggerMutationHeaderParams>, 'url'> {
@@ -1,6 +1,8 @@
1
1
  export type { GetPathParamsType, ResponseWithPagination } from './helpers';
2
2
  export type { CanRetryExecutionErrorResponse, CanRetryExecutionOkResponse, CanRetryExecutionProps, CanRetryExecutionQueryPathParams, CanRetryExecutionQueryQueryParams, } from './hooks/useCanRetryExecutionQuery';
3
3
  export { canRetryExecution, useCanRetryExecutionQuery } from './hooks/useCanRetryExecutionQuery';
4
+ export type { ClonePipelineErrorResponse, ClonePipelineMutationQueryParams, ClonePipelineOkResponse, ClonePipelineProps, ClonePipelineRequestBody, } from './hooks/useClonePipelineMutation';
5
+ export { clonePipeline, useClonePipelineMutation } from './hooks/useClonePipelineMutation';
4
6
  export type { CreateInputSetForPipelineErrorResponse, CreateInputSetForPipelineMutationQueryParams, CreateInputSetForPipelineOkResponse, CreateInputSetForPipelineProps, CreateInputSetForPipelineRequestBody, } from './hooks/useCreateInputSetForPipelineMutation';
5
7
  export { createInputSetForPipeline, useCreateInputSetForPipelineMutation, } from './hooks/useCreateInputSetForPipelineMutation';
6
8
  export type { CreateOverlayInputSetForPipelineErrorResponse, CreateOverlayInputSetForPipelineMutationQueryParams, CreateOverlayInputSetForPipelineOkResponse, CreateOverlayInputSetForPipelineProps, CreateOverlayInputSetForPipelineRequestBody, } from './hooks/useCreateOverlayInputSetForPipelineMutation';
@@ -91,9 +93,10 @@ export type { UpdateTriggerErrorResponse, UpdateTriggerMutationPathParams, Updat
91
93
  export { updateTrigger, useUpdateTriggerMutation } from './hooks/useUpdateTriggerMutation';
92
94
  export type { UpdateTriggerStatusErrorResponse, UpdateTriggerStatusMutationPathParams, UpdateTriggerStatusMutationQueryParams, UpdateTriggerStatusOkResponse, UpdateTriggerStatusProps, } from './hooks/useUpdateTriggerStatusMutation';
93
95
  export { updateTriggerStatus, useUpdateTriggerStatusMutation, } from './hooks/useUpdateTriggerStatusMutation';
94
- export type { CreateTriggerBodyRequestBody } from './requestBodies/CreateTriggerBodyRequestBody';
96
+ export type { ClonePipelinePropertiesRequestBody } from './requestBodies/ClonePipelinePropertiesRequestBody';
95
97
  export type { FilterDtoRequestBody } from './requestBodies/FilterDtoRequestBody';
96
98
  export type { FilterPropertiesRequestBody } from './requestBodies/FilterPropertiesRequestBody';
99
+ export type { UpdateTriggerBodyRequestBody } from './requestBodies/UpdateTriggerBodyRequestBody';
97
100
  export type { AbortedBy } from './schemas/AbortedBy';
98
101
  export type { AccessControlCheckError } from './schemas/AccessControlCheckError';
99
102
  export type { AdviserIssuer } from './schemas/AdviserIssuer';
@@ -102,9 +105,12 @@ export type { BatchInputSetsApiRequest } from './schemas/BatchInputSetsApiReques
102
105
  export type { BuildDetails } from './schemas/BuildDetails';
103
106
  export type { CacheResponseMetadata } from './schemas/CacheResponseMetadata';
104
107
  export type { ChildExecutionDetailDto } from './schemas/ChildExecutionDetailDto';
108
+ export type { CloneConfig } from './schemas/CloneConfig';
109
+ export type { ClonePipelineProperties } from './schemas/ClonePipelineProperties';
105
110
  export type { ConnectorCheckResponse } from './schemas/ConnectorCheckResponse';
106
111
  export type { ConnectorWrapperResponse } from './schemas/ConnectorWrapperResponse';
107
112
  export type { DelegateInfo } from './schemas/DelegateInfo';
113
+ export type { DestinationPipelineConfig } from './schemas/DestinationPipelineConfig';
108
114
  export type { EdgeLayoutList } from './schemas/EdgeLayoutList';
109
115
  export type { EntityGitDetails } from './schemas/EntityGitDetails';
110
116
  export type { EntityValidityDetails } from './schemas/EntityValidityDetails';
@@ -167,6 +173,7 @@ export type { PipelineExecutionNotes } from './schemas/PipelineExecutionNotes';
167
173
  export type { PipelineExecutionSummary } from './schemas/PipelineExecutionSummary';
168
174
  export type { PipelineFilterProperties } from './schemas/PipelineFilterProperties';
169
175
  export type { PipelineInputResponse } from './schemas/PipelineInputResponse';
176
+ export type { PipelineSaveResponse } from './schemas/PipelineSaveResponse';
170
177
  export type { PipelineStageInfo } from './schemas/PipelineStageInfo';
171
178
  export type { PipelineWrapperResponse } from './schemas/PipelineWrapperResponse';
172
179
  export type { PmsPipelineListBranchesResponse } from './schemas/PmsPipelineListBranchesResponse';
@@ -178,6 +185,7 @@ export type { PreFlightDto } from './schemas/PreFlightDto';
178
185
  export type { PreFlightEntityErrorInfo } from './schemas/PreFlightEntityErrorInfo';
179
186
  export type { PreFlightErrorInfo } from './schemas/PreFlightErrorInfo';
180
187
  export type { PreFlightResolution } from './schemas/PreFlightResolution';
188
+ export type { PublicAccessResponse } from './schemas/PublicAccessResponse';
181
189
  export type { RecentExecutionInfoDto } from './schemas/RecentExecutionInfoDto';
182
190
  export type { ResourceScope } from './schemas/ResourceScope';
183
191
  export type { ResponseAnnotationContentResponseDto } from './schemas/ResponseAnnotationContentResponseDto';
@@ -204,6 +212,7 @@ export type { ResponsePipelineAnnotationsResponseDto } from './schemas/ResponseP
204
212
  export type { ResponsePipelineExecutionDetail } from './schemas/ResponsePipelineExecutionDetail';
205
213
  export type { ResponsePipelineExecutionInterrupt } from './schemas/ResponsePipelineExecutionInterrupt';
206
214
  export type { ResponsePipelineExecutionNotes } from './schemas/ResponsePipelineExecutionNotes';
215
+ export type { ResponsePipelineSaveResponse } from './schemas/ResponsePipelineSaveResponse';
207
216
  export type { ResponsePmsPipelineListBranchesResponse } from './schemas/ResponsePmsPipelineListBranchesResponse';
208
217
  export type { ResponsePmsPipelineListRepoResponse } from './schemas/ResponsePmsPipelineListRepoResponse';
209
218
  export type { ResponsePmsPipelineSummaryResponse } from './schemas/ResponsePmsPipelineSummaryResponse';
@@ -219,6 +228,7 @@ export type { RetryNodeMetadata } from './schemas/RetryNodeMetadata';
219
228
  export type { RetryStagesMetadataDto } from './schemas/RetryStagesMetadataDto';
220
229
  export type { SkipInfo } from './schemas/SkipInfo';
221
230
  export type { Sort } from './schemas/Sort';
231
+ export type { SourceIdentifierConfig } from './schemas/SourceIdentifierConfig';
222
232
  export type { StackTraceElement } from './schemas/StackTraceElement';
223
233
  export type { StrategyMetadata } from './schemas/StrategyMetadata';
224
234
  export type { SystemIssuer } from './schemas/SystemIssuer';
@@ -1,4 +1,5 @@
1
1
  export { canRetryExecution, useCanRetryExecutionQuery } from './hooks/useCanRetryExecutionQuery';
2
+ export { clonePipeline, useClonePipelineMutation } from './hooks/useClonePipelineMutation';
2
3
  export { createInputSetForPipeline, useCreateInputSetForPipelineMutation, } from './hooks/useCreateInputSetForPipelineMutation';
3
4
  export { createOverlayInputSetForPipeline, useCreateOverlayInputSetForPipelineMutation, } from './hooks/useCreateOverlayInputSetForPipelineMutation';
4
5
  export { createTrigger, useCreateTriggerMutation } from './hooks/useCreateTriggerMutation';
@@ -0,0 +1,2 @@
1
+ import type { ClonePipelineProperties } from '../schemas/ClonePipelineProperties';
2
+ export type ClonePipelinePropertiesRequestBody = ClonePipelineProperties;
@@ -0,0 +1 @@
1
+ export type UpdateTriggerBodyRequestBody = string;
@@ -0,0 +1,6 @@
1
+ export interface CloneConfig {
2
+ connectors?: boolean;
3
+ inputSets?: boolean;
4
+ templates?: boolean;
5
+ triggers?: boolean;
6
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,9 @@
1
+ import type { CloneConfig } from '../schemas/CloneConfig';
2
+ import type { DestinationPipelineConfig } from '../schemas/DestinationPipelineConfig';
3
+ import type { SourceIdentifierConfig } from '../schemas/SourceIdentifierConfig';
4
+ export interface ClonePipelineProperties {
5
+ cloneConfig?: CloneConfig;
6
+ destinationConfig?: DestinationPipelineConfig;
7
+ enableDAG?: boolean;
8
+ sourceConfig?: SourceIdentifierConfig;
9
+ }
@@ -0,0 +1,10 @@
1
+ export interface DestinationPipelineConfig {
2
+ description?: string;
3
+ orgIdentifier?: string;
4
+ pipelineIdentifier?: string;
5
+ pipelineName?: string;
6
+ projectIdentifier?: string;
7
+ tags?: {
8
+ [key: string]: string;
9
+ };
10
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,7 @@
1
+ import type { GovernanceMetadata } from '../schemas/GovernanceMetadata';
2
+ import type { PublicAccessResponse } from '../schemas/PublicAccessResponse';
3
+ export interface PipelineSaveResponse {
4
+ governanceMetadata?: GovernanceMetadata;
5
+ identifier?: string;
6
+ publicAccessResponse?: PublicAccessResponse;
7
+ }
@@ -0,0 +1,4 @@
1
+ export interface PublicAccessResponse {
2
+ errorMessage?: string;
3
+ public?: boolean;
4
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,9 @@
1
+ import type { PipelineSaveResponse } from '../schemas/PipelineSaveResponse';
2
+ export interface ResponsePipelineSaveResponse {
3
+ correlationId?: string;
4
+ data?: PipelineSaveResponse;
5
+ metaData?: {
6
+ [key: string]: any;
7
+ };
8
+ status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
9
+ }
@@ -0,0 +1,6 @@
1
+ export interface SourceIdentifierConfig {
2
+ branch?: string;
3
+ orgIdentifier?: string;
4
+ pipelineIdentifier?: string;
5
+ projectIdentifier?: string;
6
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-pipeline-swagger-service-client",
3
- "version": "1.17.0",
3
+ "version": "1.18.0",
4
4
  "description": "Harness React pipeline service client - Pipeline APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",
@@ -1 +0,0 @@
1
- export type CreateTriggerBodyRequestBody = string;