@harnessio/react-pipeline-swagger-service-client 1.7.1 → 1.8.1

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 (39) hide show
  1. package/dist/pipeline-swagger-service/src/services/hooks/useCreateInputSetForPipelineMutation.d.ts +42 -0
  2. package/dist/pipeline-swagger-service/src/services/hooks/useCreateInputSetForPipelineMutation.js +14 -0
  3. package/dist/pipeline-swagger-service/src/services/hooks/useCreateOverlayInputSetForPipelineMutation.d.ts +36 -0
  4. package/dist/pipeline-swagger-service/src/services/hooks/useCreateOverlayInputSetForPipelineMutation.js +14 -0
  5. package/dist/pipeline-swagger-service/src/services/hooks/useDeleteInputSetForPipelineMutation.d.ts +34 -0
  6. package/dist/pipeline-swagger-service/src/services/hooks/useDeleteInputSetForPipelineMutation.js +14 -0
  7. package/dist/pipeline-swagger-service/src/services/hooks/useGetInputSetForPipelineQuery.d.ts +43 -0
  8. package/dist/pipeline-swagger-service/src/services/hooks/useGetInputSetForPipelineQuery.js +14 -0
  9. package/dist/pipeline-swagger-service/src/services/hooks/useGetInputSetsListForPipelineQuery.d.ts +47 -0
  10. package/dist/pipeline-swagger-service/src/services/hooks/useGetInputSetsListForPipelineQuery.js +14 -0
  11. package/dist/pipeline-swagger-service/src/services/hooks/useHandleInterruptMutation.d.ts +26 -0
  12. package/dist/pipeline-swagger-service/src/services/hooks/useHandleInterruptMutation.js +14 -0
  13. package/dist/pipeline-swagger-service/src/services/hooks/useUpdateInputSetForPipelineMutation.d.ts +50 -0
  14. package/dist/pipeline-swagger-service/src/services/hooks/useUpdateInputSetForPipelineMutation.js +14 -0
  15. package/dist/pipeline-swagger-service/src/services/index.d.ts +25 -0
  16. package/dist/pipeline-swagger-service/src/services/index.js +7 -0
  17. package/dist/pipeline-swagger-service/src/services/schemas/CacheResponseMetadata.d.ts +12 -0
  18. package/dist/pipeline-swagger-service/src/services/schemas/CacheResponseMetadata.js +4 -0
  19. package/dist/pipeline-swagger-service/src/services/schemas/InputSetError.d.ts +5 -0
  20. package/dist/pipeline-swagger-service/src/services/schemas/InputSetError.js +4 -0
  21. package/dist/pipeline-swagger-service/src/services/schemas/InputSetErrorResponse.d.ts +4 -0
  22. package/dist/pipeline-swagger-service/src/services/schemas/InputSetErrorResponse.js +1 -0
  23. package/dist/pipeline-swagger-service/src/services/schemas/InputSetErrorWrapper.d.ts +9 -0
  24. package/dist/pipeline-swagger-service/src/services/schemas/InputSetErrorWrapper.js +1 -0
  25. package/dist/pipeline-swagger-service/src/services/schemas/InputSetResponse.d.ts +26 -0
  26. package/dist/pipeline-swagger-service/src/services/schemas/InputSetResponse.js +1 -0
  27. package/dist/pipeline-swagger-service/src/services/schemas/InputSetSummaryResponse.d.ts +32 -0
  28. package/dist/pipeline-swagger-service/src/services/schemas/InputSetSummaryResponse.js +1 -0
  29. package/dist/pipeline-swagger-service/src/services/schemas/OverlayInputSetResponse.d.ts +28 -0
  30. package/dist/pipeline-swagger-service/src/services/schemas/OverlayInputSetResponse.js +1 -0
  31. package/dist/pipeline-swagger-service/src/services/schemas/PageInputSetSummaryResponse.d.ts +26 -0
  32. package/dist/pipeline-swagger-service/src/services/schemas/PageInputSetSummaryResponse.js +1 -0
  33. package/dist/pipeline-swagger-service/src/services/schemas/ResponseInputSetResponse.d.ts +9 -0
  34. package/dist/pipeline-swagger-service/src/services/schemas/ResponseInputSetResponse.js +1 -0
  35. package/dist/pipeline-swagger-service/src/services/schemas/ResponseOverlayInputSetResponse.d.ts +9 -0
  36. package/dist/pipeline-swagger-service/src/services/schemas/ResponseOverlayInputSetResponse.js +1 -0
  37. package/dist/pipeline-swagger-service/src/services/schemas/ResponsePageInputSetSummaryResponse.d.ts +9 -0
  38. package/dist/pipeline-swagger-service/src/services/schemas/ResponsePageInputSetSummaryResponse.js +1 -0
  39. package/package.json +1 -1
@@ -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>;
@@ -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
+ }
@@ -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>;
@@ -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
+ }
@@ -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>;
@@ -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,26 @@
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 HandleInterruptMutationPathParams {
9
+ planExecutionId: string;
10
+ }
11
+ export interface HandleInterruptMutationQueryParams {
12
+ accountIdentifier: string;
13
+ orgIdentifier: string;
14
+ projectIdentifier: string;
15
+ interruptType: 'AbortAll' | 'UserMarkedFailure';
16
+ }
17
+ export type HandleInterruptOkResponse = ResponseWithPagination<ResponsePipelineExecutionInterrupt>;
18
+ export type HandleInterruptErrorResponse = Failure | AccessControlCheckError | Error;
19
+ export interface HandleInterruptProps extends HandleInterruptMutationPathParams, Omit<FetcherOptions<HandleInterruptMutationQueryParams, unknown>, 'url'> {
20
+ queryParams: HandleInterruptMutationQueryParams;
21
+ }
22
+ export declare function handleInterrupt(props: HandleInterruptProps): Promise<HandleInterruptOkResponse>;
23
+ /**
24
+ *
25
+ */
26
+ export declare function useHandleInterruptMutation(options?: Omit<UseMutationOptions<HandleInterruptOkResponse, HandleInterruptErrorResponse, HandleInterruptProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<HandleInterruptOkResponse, HandleInterruptErrorResponse, HandleInterruptProps, 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 handleInterrupt(props) {
7
+ return fetcher(Object.assign({ url: `/pipeline/execute/interrupt/${props.planExecutionId}`, method: 'PUT' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useHandleInterruptMutation(options) {
13
+ return useMutation((mutateProps) => handleInterrupt(mutateProps), options);
14
+ }
@@ -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>;
@@ -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,10 +1,16 @@
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 { 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';
4
8
  export type { CreateTriggerErrorResponse, CreateTriggerMutationQueryParams, CreateTriggerOkResponse, CreateTriggerProps, CreateTriggerRequestBody, } from './hooks/useCreateTriggerMutation';
5
9
  export { createTrigger, useCreateTriggerMutation } from './hooks/useCreateTriggerMutation';
6
10
  export type { DeleteFilterErrorResponse, DeleteFilterMutationPathParams, DeleteFilterMutationQueryParams, DeleteFilterOkResponse, DeleteFilterProps, } from './hooks/useDeleteFilterMutation';
7
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';
8
14
  export type { DeleteTriggerErrorResponse, DeleteTriggerMutationPathParams, DeleteTriggerMutationQueryParams, DeleteTriggerOkResponse, DeleteTriggerProps, } from './hooks/useDeleteTriggerMutation';
9
15
  export { deleteTrigger, useDeleteTriggerMutation } from './hooks/useDeleteTriggerMutation';
10
16
  export type { GetAnnotationFullContentErrorResponse, GetAnnotationFullContentOkResponse, GetAnnotationFullContentProps, GetAnnotationFullContentQueryPathParams, GetAnnotationFullContentQueryQueryParams, } from './hooks/useGetAnnotationFullContentQuery';
@@ -25,6 +31,10 @@ export type { GetFilterErrorResponse, GetFilterOkResponse, GetFilterProps, GetFi
25
31
  export { getFilter, useGetFilterQuery } from './hooks/useGetFilterQuery';
26
32
  export type { GetGitTriggerEventDetailsErrorResponse, GetGitTriggerEventDetailsOkResponse, GetGitTriggerEventDetailsProps, } from './hooks/useGetGitTriggerEventDetailsQuery';
27
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';
28
38
  export type { GetListOfExecutionsErrorResponse, GetListOfExecutionsOkResponse, GetListOfExecutionsProps, GetListOfExecutionsQueryQueryParams, GetListOfExecutionsRequestBody, } from './hooks/useGetListOfExecutionsQuery';
29
39
  export { getListOfExecutions, useGetListOfExecutionsQuery, } from './hooks/useGetListOfExecutionsQuery';
30
40
  export type { GetNotesForExecutionErrorResponse, GetNotesForExecutionOkResponse, GetNotesForExecutionProps, GetNotesForExecutionQueryPathParams, GetNotesForExecutionQueryQueryParams, } from './hooks/useGetNotesForExecutionQuery';
@@ -45,6 +55,8 @@ export type { GetTriggerListForTargetErrorResponse, GetTriggerListForTargetOkRes
45
55
  export { getTriggerListForTarget, useGetTriggerListForTargetQuery, } from './hooks/useGetTriggerListForTargetQuery';
46
56
  export type { GetTriggerErrorResponse, GetTriggerOkResponse, GetTriggerProps, GetTriggerQueryPathParams, GetTriggerQueryQueryParams, } from './hooks/useGetTriggerQuery';
47
57
  export { getTrigger, useGetTriggerQuery } from './hooks/useGetTriggerQuery';
58
+ export type { HandleInterruptErrorResponse, HandleInterruptMutationPathParams, HandleInterruptMutationQueryParams, HandleInterruptOkResponse, HandleInterruptProps, } from './hooks/useHandleInterruptMutation';
59
+ export { handleInterrupt, useHandleInterruptMutation } from './hooks/useHandleInterruptMutation';
48
60
  export type { HandleStageInterruptErrorResponse, HandleStageInterruptMutationPathParams, HandleStageInterruptMutationQueryParams, HandleStageInterruptOkResponse, HandleStageInterruptProps, } from './hooks/useHandleStageInterruptMutation';
49
61
  export { handleStageInterrupt, useHandleStageInterruptMutation, } from './hooks/useHandleStageInterruptMutation';
50
62
  export type { PostFilterErrorResponse, PostFilterMutationQueryParams, PostFilterOkResponse, PostFilterProps, PostFilterRequestBody, } from './hooks/usePostFilterMutation';
@@ -55,6 +67,8 @@ export type { TriggerEventHistoryErrorResponse, TriggerEventHistoryOkResponse, T
55
67
  export { triggerEventHistory, useTriggerEventHistoryQuery, } from './hooks/useTriggerEventHistoryQuery';
56
68
  export type { UpdateFilterErrorResponse, UpdateFilterMutationQueryParams, UpdateFilterOkResponse, UpdateFilterProps, UpdateFilterRequestBody, } from './hooks/useUpdateFilterMutation';
57
69
  export { updateFilter, useUpdateFilterMutation } from './hooks/useUpdateFilterMutation';
70
+ export type { UpdateInputSetForPipelineErrorResponse, UpdateInputSetForPipelineMutationPathParams, UpdateInputSetForPipelineMutationQueryParams, UpdateInputSetForPipelineOkResponse, UpdateInputSetForPipelineProps, UpdateInputSetForPipelineRequestBody, } from './hooks/useUpdateInputSetForPipelineMutation';
71
+ export { updateInputSetForPipeline, useUpdateInputSetForPipelineMutation, } from './hooks/useUpdateInputSetForPipelineMutation';
58
72
  export type { UpdateNotesForExecutionErrorResponse, UpdateNotesForExecutionMutationPathParams, UpdateNotesForExecutionMutationQueryParams, UpdateNotesForExecutionOkResponse, UpdateNotesForExecutionProps, } from './hooks/useUpdateNotesForExecutionMutation';
59
73
  export { updateNotesForExecution, useUpdateNotesForExecutionMutation, } from './hooks/useUpdateNotesForExecutionMutation';
60
74
  export type { UpdateTriggerErrorResponse, UpdateTriggerMutationPathParams, UpdateTriggerMutationQueryParams, UpdateTriggerOkResponse, UpdateTriggerProps, UpdateTriggerRequestBody, } from './hooks/useUpdateTriggerMutation';
@@ -70,6 +84,7 @@ export type { AdviserIssuer } from './schemas/AdviserIssuer';
70
84
  export type { AnnotationContentResponseDto } from './schemas/AnnotationContentResponseDto';
71
85
  export type { BatchInputSetsApiRequest } from './schemas/BatchInputSetsApiRequest';
72
86
  export type { BuildDetails } from './schemas/BuildDetails';
87
+ export type { CacheResponseMetadata } from './schemas/CacheResponseMetadata';
73
88
  export type { ChildExecutionDetailDto } from './schemas/ChildExecutionDetailDto';
74
89
  export type { DelegateInfo } from './schemas/DelegateInfo';
75
90
  export type { EdgeLayoutList } from './schemas/EdgeLayoutList';
@@ -93,7 +108,12 @@ export type { FilterDto } from './schemas/FilterDto';
93
108
  export type { FilterProperties } from './schemas/FilterProperties';
94
109
  export type { GovernanceMetadata } from './schemas/GovernanceMetadata';
95
110
  export type { GraphLayoutNode } from './schemas/GraphLayoutNode';
111
+ export type { InputSetError } from './schemas/InputSetError';
112
+ export type { InputSetErrorResponse } from './schemas/InputSetErrorResponse';
113
+ export type { InputSetErrorWrapper } from './schemas/InputSetErrorWrapper';
96
114
  export type { InputSetListResponse } from './schemas/InputSetListResponse';
115
+ export type { InputSetResponse } from './schemas/InputSetResponse';
116
+ export type { InputSetSummaryResponse } from './schemas/InputSetSummaryResponse';
97
117
  export type { InputSetValidator } from './schemas/InputSetValidator';
98
118
  export type { InterruptConfig } from './schemas/InterruptConfig';
99
119
  export type { InterruptEffectDto } from './schemas/InterruptEffectDto';
@@ -107,9 +127,11 @@ export type { NgTriggerEventHistoryResponse } from './schemas/NgTriggerEventHist
107
127
  export type { NgTriggerEventInfo } from './schemas/NgTriggerEventInfo';
108
128
  export type { NgTriggerResponse } from './schemas/NgTriggerResponse';
109
129
  export type { NodeRunInfo } from './schemas/NodeRunInfo';
130
+ export type { OverlayInputSetResponse } from './schemas/OverlayInputSetResponse';
110
131
  export type { PageFilterDto } from './schemas/PageFilterDto';
111
132
  export type { PageGovernanceMetadata } from './schemas/PageGovernanceMetadata';
112
133
  export type { PageInputSetListResponse } from './schemas/PageInputSetListResponse';
134
+ export type { PageInputSetSummaryResponse } from './schemas/PageInputSetSummaryResponse';
113
135
  export type { PageNgTriggerDetailsResponse } from './schemas/PageNgTriggerDetailsResponse';
114
136
  export type { PageNgTriggerEventHistoryResponse } from './schemas/PageNgTriggerEventHistoryResponse';
115
137
  export type { PagePipelineExecutionSummary } from './schemas/PagePipelineExecutionSummary';
@@ -135,13 +157,16 @@ export type { ResponseAnnotationContentResponseDto } from './schemas/ResponseAnn
135
157
  export type { ResponseBoolean } from './schemas/ResponseBoolean';
136
158
  export type { ResponseExecutionDataResponse } from './schemas/ResponseExecutionDataResponse';
137
159
  export type { ResponseFilterDto } from './schemas/ResponseFilterDto';
160
+ export type { ResponseInputSetResponse } from './schemas/ResponseInputSetResponse';
138
161
  export type { ResponseMapStringMapStringListString } from './schemas/ResponseMapStringMapStringListString';
139
162
  export type { ResponseMessage } from './schemas/ResponseMessage';
140
163
  export type { ResponseNgTriggerDetailsResponse } from './schemas/ResponseNgTriggerDetailsResponse';
141
164
  export type { ResponseNgTriggerResponse } from './schemas/ResponseNgTriggerResponse';
165
+ export type { ResponseOverlayInputSetResponse } from './schemas/ResponseOverlayInputSetResponse';
142
166
  export type { ResponsePageFilterDto } from './schemas/ResponsePageFilterDto';
143
167
  export type { ResponsePageGovernanceMetadata } from './schemas/ResponsePageGovernanceMetadata';
144
168
  export type { ResponsePageInputSetListResponse } from './schemas/ResponsePageInputSetListResponse';
169
+ export type { ResponsePageInputSetSummaryResponse } from './schemas/ResponsePageInputSetSummaryResponse';
145
170
  export type { ResponsePageNgTriggerDetailsResponse } from './schemas/ResponsePageNgTriggerDetailsResponse';
146
171
  export type { ResponsePageNgTriggerEventHistoryResponse } from './schemas/ResponsePageNgTriggerEventHistoryResponse';
147
172
  export type { ResponsePagePipelineExecutionSummary } from './schemas/ResponsePagePipelineExecutionSummary';
@@ -1,6 +1,9 @@
1
1
  export { canRetryExecution, useCanRetryExecutionQuery } from './hooks/useCanRetryExecutionQuery';
2
+ export { createInputSetForPipeline, useCreateInputSetForPipelineMutation, } from './hooks/useCreateInputSetForPipelineMutation';
3
+ export { createOverlayInputSetForPipeline, useCreateOverlayInputSetForPipelineMutation, } from './hooks/useCreateOverlayInputSetForPipelineMutation';
2
4
  export { createTrigger, useCreateTriggerMutation } from './hooks/useCreateTriggerMutation';
3
5
  export { deleteFilter, useDeleteFilterMutation } from './hooks/useDeleteFilterMutation';
6
+ export { deleteInputSetForPipeline, useDeleteInputSetForPipelineMutation, } from './hooks/useDeleteInputSetForPipelineMutation';
4
7
  export { deleteTrigger, useDeleteTriggerMutation } from './hooks/useDeleteTriggerMutation';
5
8
  export { getAnnotationFullContent, useGetAnnotationFullContentQuery, } from './hooks/useGetAnnotationFullContentQuery';
6
9
  export { getBatchInputSetsMetadata, useGetBatchInputSetsMetadataMutation, } from './hooks/useGetBatchInputSetsMetadataMutation';
@@ -11,6 +14,8 @@ export { getExecutionRepositoriesList, useGetExecutionRepositoriesListQuery, } f
11
14
  export { getFilterList, useGetFilterListQuery } from './hooks/useGetFilterListQuery';
12
15
  export { getFilter, useGetFilterQuery } from './hooks/useGetFilterQuery';
13
16
  export { getGitTriggerEventDetails, useGetGitTriggerEventDetailsQuery, } from './hooks/useGetGitTriggerEventDetailsQuery';
17
+ export { getInputSetForPipeline, useGetInputSetForPipelineQuery, } from './hooks/useGetInputSetForPipelineQuery';
18
+ export { getInputSetsListForPipeline, useGetInputSetsListForPipelineQuery, } from './hooks/useGetInputSetsListForPipelineQuery';
14
19
  export { getListOfExecutions, useGetListOfExecutionsQuery, } from './hooks/useGetListOfExecutionsQuery';
15
20
  export { getNotesForExecution, useGetNotesForExecutionQuery, } from './hooks/useGetNotesForExecutionQuery';
16
21
  export { getPipelineExecutionAnnotations, useGetPipelineExecutionAnnotationsQuery, } from './hooks/useGetPipelineExecutionAnnotationsQuery';
@@ -21,11 +26,13 @@ export { getTriggerCatalog, useGetTriggerCatalogQuery } from './hooks/useGetTrig
21
26
  export { getTriggerDetails, useGetTriggerDetailsQuery } from './hooks/useGetTriggerDetailsQuery';
22
27
  export { getTriggerListForTarget, useGetTriggerListForTargetQuery, } from './hooks/useGetTriggerListForTargetQuery';
23
28
  export { getTrigger, useGetTriggerQuery } from './hooks/useGetTriggerQuery';
29
+ export { handleInterrupt, useHandleInterruptMutation } from './hooks/useHandleInterruptMutation';
24
30
  export { handleStageInterrupt, useHandleStageInterruptMutation, } from './hooks/useHandleStageInterruptMutation';
25
31
  export { postFilter, usePostFilterMutation } from './hooks/usePostFilterMutation';
26
32
  export { retryHistory, useRetryHistoryQuery } from './hooks/useRetryHistoryQuery';
27
33
  export { triggerEventHistory, useTriggerEventHistoryQuery, } from './hooks/useTriggerEventHistoryQuery';
28
34
  export { updateFilter, useUpdateFilterMutation } from './hooks/useUpdateFilterMutation';
35
+ export { updateInputSetForPipeline, useUpdateInputSetForPipelineMutation, } from './hooks/useUpdateInputSetForPipelineMutation';
29
36
  export { updateNotesForExecution, useUpdateNotesForExecutionMutation, } from './hooks/useUpdateNotesForExecutionMutation';
30
37
  export { updateTrigger, useUpdateTriggerMutation } from './hooks/useUpdateTriggerMutation';
31
38
  export { updateTriggerStatus, useUpdateTriggerStatusMutation, } from './hooks/useUpdateTriggerStatusMutation';
@@ -0,0 +1,12 @@
1
+ export interface CacheResponseMetadata {
2
+ cacheState: 'STALE_CACHE' | 'UNKNOWN' | 'VALID_CACHE';
3
+ isSyncEnabled: boolean;
4
+ /**
5
+ * @format int64
6
+ */
7
+ lastUpdatedAt: number;
8
+ /**
9
+ * @format int64
10
+ */
11
+ ttlLeft: number;
12
+ }
@@ -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,5 @@
1
+ export interface InputSetError {
2
+ fieldName?: string;
3
+ identifierOfErrorSource?: string;
4
+ message?: string;
5
+ }
@@ -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,4 @@
1
+ import type { InputSetError } from '../schemas/InputSetError';
2
+ export interface InputSetErrorResponse {
3
+ errors?: InputSetError[];
4
+ }
@@ -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,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,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,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,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,9 @@
1
+ import type { InputSetResponse } from '../schemas/InputSetResponse';
2
+ export interface ResponseInputSetResponse {
3
+ correlationId?: string;
4
+ data?: InputSetResponse;
5
+ metaData?: {
6
+ [key: string]: any;
7
+ };
8
+ status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
9
+ }
@@ -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,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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-pipeline-swagger-service-client",
3
- "version": "1.7.1",
3
+ "version": "1.8.1",
4
4
  "description": "Harness React pipeline service client - Pipeline APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",