@harnessio/react-pipeline-swagger-service-client 1.5.0 → 1.5.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 (25) hide show
  1. package/dist/pipeline-swagger-service/src/services/hooks/useGetExecutionDataQuery.d.ts +22 -0
  2. package/dist/pipeline-swagger-service/src/services/hooks/useGetExecutionDataQuery.js +14 -0
  3. package/dist/pipeline-swagger-service/src/services/hooks/useGetNotesForExecutionQuery.d.ts +22 -0
  4. package/dist/pipeline-swagger-service/src/services/hooks/useGetNotesForExecutionQuery.js +14 -0
  5. package/dist/pipeline-swagger-service/src/services/hooks/useGetPipelineListMutation.d.ts +48 -0
  6. package/dist/pipeline-swagger-service/src/services/hooks/useGetPipelineListMutation.js +14 -0
  7. package/dist/pipeline-swagger-service/src/services/hooks/useUpdateNotesForExecutionMutation.d.ts +25 -0
  8. package/dist/pipeline-swagger-service/src/services/hooks/useUpdateNotesForExecutionMutation.js +14 -0
  9. package/dist/pipeline-swagger-service/src/services/index.d.ts +15 -0
  10. package/dist/pipeline-swagger-service/src/services/index.js +4 -0
  11. package/dist/pipeline-swagger-service/src/services/schemas/ExecutionDataResponse.d.ts +4 -0
  12. package/dist/pipeline-swagger-service/src/services/schemas/ExecutionDataResponse.js +4 -0
  13. package/dist/pipeline-swagger-service/src/services/schemas/PagePmsPipelineSummaryResponse.d.ts +31 -0
  14. package/dist/pipeline-swagger-service/src/services/schemas/PagePmsPipelineSummaryResponse.js +1 -0
  15. package/dist/pipeline-swagger-service/src/services/schemas/PipelineExecutionNotes.d.ts +3 -0
  16. package/dist/pipeline-swagger-service/src/services/schemas/PipelineExecutionNotes.js +4 -0
  17. package/dist/pipeline-swagger-service/src/services/schemas/PipelineFilterProperties.d.ts +14 -0
  18. package/dist/pipeline-swagger-service/src/services/schemas/PipelineFilterProperties.js +1 -0
  19. package/dist/pipeline-swagger-service/src/services/schemas/ResponseExecutionDataResponse.d.ts +9 -0
  20. package/dist/pipeline-swagger-service/src/services/schemas/ResponseExecutionDataResponse.js +1 -0
  21. package/dist/pipeline-swagger-service/src/services/schemas/ResponsePagePmsPipelineSummaryResponse.d.ts +9 -0
  22. package/dist/pipeline-swagger-service/src/services/schemas/ResponsePagePmsPipelineSummaryResponse.js +1 -0
  23. package/dist/pipeline-swagger-service/src/services/schemas/ResponsePipelineExecutionNotes.d.ts +9 -0
  24. package/dist/pipeline-swagger-service/src/services/schemas/ResponsePipelineExecutionNotes.js +1 -0
  25. package/package.json +1 -1
@@ -0,0 +1,22 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ResponseExecutionDataResponse } from '../schemas/ResponseExecutionDataResponse';
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 GetExecutionDataQueryPathParams {
8
+ planExecutionId: string;
9
+ }
10
+ export interface GetExecutionDataQueryQueryParams {
11
+ accountIdentifier: string;
12
+ }
13
+ export type GetExecutionDataOkResponse = ResponseWithPagination<ResponseExecutionDataResponse>;
14
+ export type GetExecutionDataErrorResponse = Failure | Error;
15
+ export interface GetExecutionDataProps extends GetExecutionDataQueryPathParams, Omit<FetcherOptions<GetExecutionDataQueryQueryParams, unknown>, 'url'> {
16
+ queryParams: GetExecutionDataQueryQueryParams;
17
+ }
18
+ export declare function getExecutionData(props: GetExecutionDataProps): Promise<GetExecutionDataOkResponse>;
19
+ /**
20
+ *
21
+ */
22
+ export declare function useGetExecutionDataQuery(props: GetExecutionDataProps, options?: Omit<UseQueryOptions<GetExecutionDataOkResponse, GetExecutionDataErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetExecutionDataOkResponse, GetExecutionDataErrorResponse>;
@@ -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 getExecutionData(props) {
7
+ return fetcher(Object.assign({ url: `/pipelines/execution/${props.planExecutionId}/metadata`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useGetExecutionDataQuery(props, options) {
13
+ return useQuery(['getExecutionData', props.planExecutionId, props.queryParams], ({ signal }) => getExecutionData(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,22 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ResponsePipelineExecutionNotes } from '../schemas/ResponsePipelineExecutionNotes';
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 GetNotesForExecutionQueryPathParams {
8
+ planExecutionId: string;
9
+ }
10
+ export interface GetNotesForExecutionQueryQueryParams {
11
+ accountIdentifier: string;
12
+ }
13
+ export type GetNotesForExecutionOkResponse = ResponseWithPagination<ResponsePipelineExecutionNotes>;
14
+ export type GetNotesForExecutionErrorResponse = Failure | Error;
15
+ export interface GetNotesForExecutionProps extends GetNotesForExecutionQueryPathParams, Omit<FetcherOptions<GetNotesForExecutionQueryQueryParams, unknown>, 'url'> {
16
+ queryParams: GetNotesForExecutionQueryQueryParams;
17
+ }
18
+ export declare function getNotesForExecution(props: GetNotesForExecutionProps): Promise<GetNotesForExecutionOkResponse>;
19
+ /**
20
+ *
21
+ */
22
+ export declare function useGetNotesForExecutionQuery(props: GetNotesForExecutionProps, options?: Omit<UseQueryOptions<GetNotesForExecutionOkResponse, GetNotesForExecutionErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetNotesForExecutionOkResponse, GetNotesForExecutionErrorResponse>;
@@ -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 getNotesForExecution(props) {
7
+ return fetcher(Object.assign({ url: `/pipelines/execution/${props.planExecutionId}/notes`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useGetNotesForExecutionQuery(props, options) {
13
+ return useQuery(['getNotesForExecution', props.planExecutionId, props.queryParams], ({ signal }) => getNotesForExecution(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,48 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ResponsePagePmsPipelineSummaryResponse } from '../schemas/ResponsePagePmsPipelineSummaryResponse';
3
+ import type { Failure } from '../schemas/Failure';
4
+ import type { Error } from '../schemas/Error';
5
+ import type { PipelineFilterProperties } from '../schemas/PipelineFilterProperties';
6
+ import type { ResponseWithPagination } from '../helpers';
7
+ import { FetcherOptions } from '../../../../fetcher/index.js';
8
+ export interface GetPipelineListMutationQueryParams {
9
+ accountIdentifier: string;
10
+ orgIdentifier: string;
11
+ projectIdentifier: string;
12
+ /**
13
+ * @format int32
14
+ * @default 0
15
+ */
16
+ page?: number;
17
+ /**
18
+ * @format int32
19
+ * @default 25
20
+ */
21
+ size?: number;
22
+ sort?: string[];
23
+ searchTerm?: string;
24
+ module?: string;
25
+ filterIdentifier?: string;
26
+ branch?: string;
27
+ repoIdentifier?: string;
28
+ getDefaultFromOtherRepo?: boolean;
29
+ parentEntityConnectorRef?: string;
30
+ parentEntityRepoName?: string;
31
+ parentEntityAccountIdentifier?: string;
32
+ parentEntityOrgIdentifier?: string;
33
+ parentEntityProjectIdentifier?: string;
34
+ repoName?: string;
35
+ getDistinctFromBranches?: boolean;
36
+ }
37
+ export type GetPipelineListRequestBody = PipelineFilterProperties;
38
+ export type GetPipelineListOkResponse = ResponseWithPagination<ResponsePagePmsPipelineSummaryResponse>;
39
+ export type GetPipelineListErrorResponse = Failure | Error;
40
+ export interface GetPipelineListProps extends Omit<FetcherOptions<GetPipelineListMutationQueryParams, GetPipelineListRequestBody>, 'url'> {
41
+ queryParams: GetPipelineListMutationQueryParams;
42
+ body: GetPipelineListRequestBody;
43
+ }
44
+ export declare function getPipelineList(props: GetPipelineListProps): Promise<GetPipelineListOkResponse>;
45
+ /**
46
+ *
47
+ */
48
+ export declare function useGetPipelineListMutation(options?: Omit<UseMutationOptions<GetPipelineListOkResponse, GetPipelineListErrorResponse, GetPipelineListProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetPipelineListOkResponse, GetPipelineListErrorResponse, GetPipelineListProps, 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 getPipelineList(props) {
7
+ return fetcher(Object.assign({ url: `/pipelines/list`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useGetPipelineListMutation(options) {
13
+ return useMutation((mutateProps) => getPipelineList(mutateProps), options);
14
+ }
@@ -0,0 +1,25 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ResponsePipelineExecutionNotes } from '../schemas/ResponsePipelineExecutionNotes';
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 UpdateNotesForExecutionMutationPathParams {
8
+ planExecutionId: string;
9
+ }
10
+ export interface UpdateNotesForExecutionMutationQueryParams {
11
+ accountIdentifier: string;
12
+ orgIdentifier: string;
13
+ projectIdentifier: string;
14
+ notesForPipelineExecution: string;
15
+ }
16
+ export type UpdateNotesForExecutionOkResponse = ResponseWithPagination<ResponsePipelineExecutionNotes>;
17
+ export type UpdateNotesForExecutionErrorResponse = Failure | Error;
18
+ export interface UpdateNotesForExecutionProps extends UpdateNotesForExecutionMutationPathParams, Omit<FetcherOptions<UpdateNotesForExecutionMutationQueryParams, unknown>, 'url'> {
19
+ queryParams: UpdateNotesForExecutionMutationQueryParams;
20
+ }
21
+ export declare function updateNotesForExecution(props: UpdateNotesForExecutionProps): Promise<UpdateNotesForExecutionOkResponse>;
22
+ /**
23
+ *
24
+ */
25
+ export declare function useUpdateNotesForExecutionMutation(options?: Omit<UseMutationOptions<UpdateNotesForExecutionOkResponse, UpdateNotesForExecutionErrorResponse, UpdateNotesForExecutionProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateNotesForExecutionOkResponse, UpdateNotesForExecutionErrorResponse, UpdateNotesForExecutionProps, 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 updateNotesForExecution(props) {
7
+ return fetcher(Object.assign({ url: `/pipelines/execution/${props.planExecutionId}/notes`, method: 'PUT' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useUpdateNotesForExecutionMutation(options) {
13
+ return useMutation((mutateProps) => updateNotesForExecution(mutateProps), options);
14
+ }
@@ -7,6 +7,8 @@ export type { GetBatchInputSetsMetadataErrorResponse, GetBatchInputSetsMetadataM
7
7
  export { getBatchInputSetsMetadata, useGetBatchInputSetsMetadataMutation, } from './hooks/useGetBatchInputSetsMetadataMutation';
8
8
  export type { GetExecutionBranchesListErrorResponse, GetExecutionBranchesListOkResponse, GetExecutionBranchesListProps, GetExecutionBranchesListQueryQueryParams, } from './hooks/useGetExecutionBranchesListQuery';
9
9
  export { getExecutionBranchesList, useGetExecutionBranchesListQuery, } from './hooks/useGetExecutionBranchesListQuery';
10
+ export type { GetExecutionDataErrorResponse, GetExecutionDataOkResponse, GetExecutionDataProps, GetExecutionDataQueryPathParams, GetExecutionDataQueryQueryParams, } from './hooks/useGetExecutionDataQuery';
11
+ export { getExecutionData, useGetExecutionDataQuery } from './hooks/useGetExecutionDataQuery';
10
12
  export type { GetExecutionDetailV2ErrorResponse, GetExecutionDetailV2OkResponse, GetExecutionDetailV2Props, GetExecutionDetailV2QueryPathParams, GetExecutionDetailV2QueryQueryParams, } from './hooks/useGetExecutionDetailV2Query';
11
13
  export { getExecutionDetailV2, useGetExecutionDetailV2Query, } from './hooks/useGetExecutionDetailV2Query';
12
14
  export type { GetExecutionRepositoriesListErrorResponse, GetExecutionRepositoriesListOkResponse, GetExecutionRepositoriesListProps, GetExecutionRepositoriesListQueryQueryParams, } from './hooks/useGetExecutionRepositoriesListQuery';
@@ -19,6 +21,10 @@ export type { GetGitTriggerEventDetailsErrorResponse, GetGitTriggerEventDetailsO
19
21
  export { getGitTriggerEventDetails, useGetGitTriggerEventDetailsQuery, } from './hooks/useGetGitTriggerEventDetailsQuery';
20
22
  export type { GetListOfExecutionsErrorResponse, GetListOfExecutionsMutationQueryParams, GetListOfExecutionsOkResponse, GetListOfExecutionsProps, GetListOfExecutionsRequestBody, } from './hooks/useGetListOfExecutionsMutation';
21
23
  export { getListOfExecutions, useGetListOfExecutionsMutation, } from './hooks/useGetListOfExecutionsMutation';
24
+ export type { GetNotesForExecutionErrorResponse, GetNotesForExecutionOkResponse, GetNotesForExecutionProps, GetNotesForExecutionQueryPathParams, GetNotesForExecutionQueryQueryParams, } from './hooks/useGetNotesForExecutionQuery';
25
+ export { getNotesForExecution, useGetNotesForExecutionQuery, } from './hooks/useGetNotesForExecutionQuery';
26
+ export type { GetPipelineListErrorResponse, GetPipelineListMutationQueryParams, GetPipelineListOkResponse, GetPipelineListProps, GetPipelineListRequestBody, } from './hooks/useGetPipelineListMutation';
27
+ export { getPipelineList, useGetPipelineListMutation } from './hooks/useGetPipelineListMutation';
22
28
  export type { GetPipelineSummaryErrorResponse, GetPipelineSummaryOkResponse, GetPipelineSummaryProps, GetPipelineSummaryQueryPathParams, GetPipelineSummaryQueryQueryParams, } from './hooks/useGetPipelineSummaryQuery';
23
29
  export { getPipelineSummary, useGetPipelineSummaryQuery } from './hooks/useGetPipelineSummaryQuery';
24
30
  export type { GetPolicyEvaluationErrorResponse, GetPolicyEvaluationOkResponse, GetPolicyEvaluationProps, GetPolicyEvaluationQueryPathParams, GetPolicyEvaluationQueryQueryParams, } from './hooks/useGetPolicyEvaluationQuery';
@@ -33,6 +39,8 @@ export type { RetryHistoryErrorResponse, RetryHistoryOkResponse, RetryHistoryPro
33
39
  export { retryHistory, useRetryHistoryQuery } from './hooks/useRetryHistoryQuery';
34
40
  export type { UpdateFilterErrorResponse, UpdateFilterMutationQueryParams, UpdateFilterOkResponse, UpdateFilterProps, UpdateFilterRequestBody, } from './hooks/useUpdateFilterMutation';
35
41
  export { updateFilter, useUpdateFilterMutation } from './hooks/useUpdateFilterMutation';
42
+ export type { UpdateNotesForExecutionErrorResponse, UpdateNotesForExecutionMutationPathParams, UpdateNotesForExecutionMutationQueryParams, UpdateNotesForExecutionOkResponse, UpdateNotesForExecutionProps, } from './hooks/useUpdateNotesForExecutionMutation';
43
+ export { updateNotesForExecution, useUpdateNotesForExecutionMutation, } from './hooks/useUpdateNotesForExecutionMutation';
36
44
  export type { FilterDtoRequestBody } from './requestBodies/FilterDtoRequestBody';
37
45
  export type { FilterPropertiesRequestBody } from './requestBodies/FilterPropertiesRequestBody';
38
46
  export type { UpdateTriggerBodyRequestBody } from './requestBodies/UpdateTriggerBodyRequestBody';
@@ -49,6 +57,7 @@ export type { EntityValidityDetails } from './schemas/EntityValidityDetails';
49
57
  export type { Error } from './schemas/Error';
50
58
  export type { ErrorMetadataDto } from './schemas/ErrorMetadataDto';
51
59
  export type { ExecutableResponse } from './schemas/ExecutableResponse';
60
+ export type { ExecutionDataResponse } from './schemas/ExecutionDataResponse';
52
61
  export type { ExecutionErrorInfo } from './schemas/ExecutionErrorInfo';
53
62
  export type { ExecutionGraph } from './schemas/ExecutionGraph';
54
63
  export type { ExecutionInfo } from './schemas/ExecutionInfo';
@@ -80,11 +89,14 @@ export type { PageGovernanceMetadata } from './schemas/PageGovernanceMetadata';
80
89
  export type { PageInputSetListResponse } from './schemas/PageInputSetListResponse';
81
90
  export type { PageNgTriggerDetailsResponse } from './schemas/PageNgTriggerDetailsResponse';
82
91
  export type { PagePipelineExecutionSummary } from './schemas/PagePipelineExecutionSummary';
92
+ export type { PagePmsPipelineSummaryResponse } from './schemas/PagePmsPipelineSummaryResponse';
83
93
  export type { Pageable } from './schemas/Pageable';
84
94
  export type { ParameterFieldListString } from './schemas/ParameterFieldListString';
85
95
  export type { PermissionCheck } from './schemas/PermissionCheck';
86
96
  export type { PipelineExecutionDetail } from './schemas/PipelineExecutionDetail';
97
+ export type { PipelineExecutionNotes } from './schemas/PipelineExecutionNotes';
87
98
  export type { PipelineExecutionSummary } from './schemas/PipelineExecutionSummary';
99
+ export type { PipelineFilterProperties } from './schemas/PipelineFilterProperties';
88
100
  export type { PipelineStageInfo } from './schemas/PipelineStageInfo';
89
101
  export type { PmsPipelineListBranchesResponse } from './schemas/PmsPipelineListBranchesResponse';
90
102
  export type { PmsPipelineListRepoResponse } from './schemas/PmsPipelineListRepoResponse';
@@ -93,6 +105,7 @@ export type { PollingSubscriptionStatus } from './schemas/PollingSubscriptionSta
93
105
  export type { RecentExecutionInfoDto } from './schemas/RecentExecutionInfoDto';
94
106
  export type { ResourceScope } from './schemas/ResourceScope';
95
107
  export type { ResponseBoolean } from './schemas/ResponseBoolean';
108
+ export type { ResponseExecutionDataResponse } from './schemas/ResponseExecutionDataResponse';
96
109
  export type { ResponseFilterDto } from './schemas/ResponseFilterDto';
97
110
  export type { ResponseMapStringMapStringListString } from './schemas/ResponseMapStringMapStringListString';
98
111
  export type { ResponseMessage } from './schemas/ResponseMessage';
@@ -102,7 +115,9 @@ export type { ResponsePageGovernanceMetadata } from './schemas/ResponsePageGover
102
115
  export type { ResponsePageInputSetListResponse } from './schemas/ResponsePageInputSetListResponse';
103
116
  export type { ResponsePageNgTriggerDetailsResponse } from './schemas/ResponsePageNgTriggerDetailsResponse';
104
117
  export type { ResponsePagePipelineExecutionSummary } from './schemas/ResponsePagePipelineExecutionSummary';
118
+ export type { ResponsePagePmsPipelineSummaryResponse } from './schemas/ResponsePagePmsPipelineSummaryResponse';
105
119
  export type { ResponsePipelineExecutionDetail } from './schemas/ResponsePipelineExecutionDetail';
120
+ export type { ResponsePipelineExecutionNotes } from './schemas/ResponsePipelineExecutionNotes';
106
121
  export type { ResponsePmsPipelineListBranchesResponse } from './schemas/ResponsePmsPipelineListBranchesResponse';
107
122
  export type { ResponsePmsPipelineListRepoResponse } from './schemas/ResponsePmsPipelineListRepoResponse';
108
123
  export type { ResponsePmsPipelineSummaryResponse } from './schemas/ResponsePmsPipelineSummaryResponse';
@@ -2,12 +2,15 @@ export { createTrigger, useCreateTriggerMutation } from './hooks/useCreateTrigge
2
2
  export { deleteFilter, useDeleteFilterMutation } from './hooks/useDeleteFilterMutation';
3
3
  export { getBatchInputSetsMetadata, useGetBatchInputSetsMetadataMutation, } from './hooks/useGetBatchInputSetsMetadataMutation';
4
4
  export { getExecutionBranchesList, useGetExecutionBranchesListQuery, } from './hooks/useGetExecutionBranchesListQuery';
5
+ export { getExecutionData, useGetExecutionDataQuery } from './hooks/useGetExecutionDataQuery';
5
6
  export { getExecutionDetailV2, useGetExecutionDetailV2Query, } from './hooks/useGetExecutionDetailV2Query';
6
7
  export { getExecutionRepositoriesList, useGetExecutionRepositoriesListQuery, } from './hooks/useGetExecutionRepositoriesListQuery';
7
8
  export { getFilterList, useGetFilterListQuery } from './hooks/useGetFilterListQuery';
8
9
  export { getFilter, useGetFilterQuery } from './hooks/useGetFilterQuery';
9
10
  export { getGitTriggerEventDetails, useGetGitTriggerEventDetailsQuery, } from './hooks/useGetGitTriggerEventDetailsQuery';
10
11
  export { getListOfExecutions, useGetListOfExecutionsMutation, } from './hooks/useGetListOfExecutionsMutation';
12
+ export { getNotesForExecution, useGetNotesForExecutionQuery, } from './hooks/useGetNotesForExecutionQuery';
13
+ export { getPipelineList, useGetPipelineListMutation } from './hooks/useGetPipelineListMutation';
11
14
  export { getPipelineSummary, useGetPipelineSummaryQuery } from './hooks/useGetPipelineSummaryQuery';
12
15
  export { getPolicyEvaluation, useGetPolicyEvaluationQuery, } from './hooks/useGetPolicyEvaluationQuery';
13
16
  export { getTriggerCatalog, useGetTriggerCatalogQuery } from './hooks/useGetTriggerCatalogQuery';
@@ -15,3 +18,4 @@ export { getTriggerListForTarget, useGetTriggerListForTargetQuery, } from './hoo
15
18
  export { postFilter, usePostFilterMutation } from './hooks/usePostFilterMutation';
16
19
  export { retryHistory, useRetryHistoryQuery } from './hooks/useRetryHistoryQuery';
17
20
  export { updateFilter, useUpdateFilterMutation } from './hooks/useUpdateFilterMutation';
21
+ export { updateNotesForExecution, useUpdateNotesForExecutionMutation, } from './hooks/useUpdateNotesForExecutionMutation';
@@ -0,0 +1,4 @@
1
+ export interface ExecutionDataResponse {
2
+ executionId?: string;
3
+ executionYaml?: string;
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,31 @@
1
+ import type { PmsPipelineSummaryResponse } from '../schemas/PmsPipelineSummaryResponse';
2
+ import type { Pageable } from '../schemas/Pageable';
3
+ import type { Sort } from '../schemas/Sort';
4
+ export interface PagePmsPipelineSummaryResponse {
5
+ content?: PmsPipelineSummaryResponse[];
6
+ empty?: boolean;
7
+ first?: boolean;
8
+ last?: boolean;
9
+ /**
10
+ * @format int32
11
+ */
12
+ number?: number;
13
+ /**
14
+ * @format int32
15
+ */
16
+ numberOfElements?: number;
17
+ pageable?: Pageable;
18
+ /**
19
+ * @format int32
20
+ */
21
+ size?: number;
22
+ sort?: Sort;
23
+ /**
24
+ * @format int64
25
+ */
26
+ totalElements?: number;
27
+ /**
28
+ * @format int32
29
+ */
30
+ totalPages?: number;
31
+ }
@@ -0,0 +1,3 @@
1
+ export interface PipelineExecutionNotes {
2
+ notes?: string;
3
+ }
@@ -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,14 @@
1
+ import type { NgTag } from '../schemas/NgTag';
2
+ import type { FilterProperties } from '../schemas/FilterProperties';
3
+ export interface PipelineFilterProperties extends FilterProperties {
4
+ description?: string;
5
+ moduleProperties?: {
6
+ [key: string]: {
7
+ [key: string]: any;
8
+ };
9
+ };
10
+ name?: string;
11
+ pipelineIdentifiers?: string[];
12
+ pipelineTags?: NgTag[];
13
+ repoName?: string;
14
+ }
@@ -0,0 +1,9 @@
1
+ import type { ExecutionDataResponse } from '../schemas/ExecutionDataResponse';
2
+ export interface ResponseExecutionDataResponse {
3
+ correlationId?: string;
4
+ data?: ExecutionDataResponse;
5
+ metaData?: {
6
+ [key: string]: any;
7
+ };
8
+ status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
9
+ }
@@ -0,0 +1,9 @@
1
+ import type { PagePmsPipelineSummaryResponse } from '../schemas/PagePmsPipelineSummaryResponse';
2
+ export interface ResponsePagePmsPipelineSummaryResponse {
3
+ correlationId?: string;
4
+ data?: PagePmsPipelineSummaryResponse;
5
+ metaData?: {
6
+ [key: string]: any;
7
+ };
8
+ status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
9
+ }
@@ -0,0 +1,9 @@
1
+ import type { PipelineExecutionNotes } from '../schemas/PipelineExecutionNotes';
2
+ export interface ResponsePipelineExecutionNotes {
3
+ correlationId?: string;
4
+ data?: PipelineExecutionNotes;
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.5.0",
3
+ "version": "1.5.1",
4
4
  "description": "Harness React pipeline service client - Pipeline APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",