@harnessio/react-pipeline-swagger-service-client 1.4.1 → 1.4.2

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 (37) hide show
  1. package/dist/pipeline-swagger-service/src/services/hooks/useGetBatchInputSetsMetadataMutation.d.ts +35 -0
  2. package/dist/pipeline-swagger-service/src/services/hooks/useGetBatchInputSetsMetadataMutation.js +14 -0
  3. package/dist/pipeline-swagger-service/src/services/hooks/useGetExecutionBranchesListQuery.d.ts +23 -0
  4. package/dist/pipeline-swagger-service/src/services/hooks/useGetExecutionBranchesListQuery.js +14 -0
  5. package/dist/pipeline-swagger-service/src/services/hooks/useGetExecutionRepositoriesListQuery.d.ts +22 -0
  6. package/dist/pipeline-swagger-service/src/services/hooks/useGetExecutionRepositoriesListQuery.js +14 -0
  7. package/dist/pipeline-swagger-service/src/services/hooks/useGetListOfExecutionsMutation.d.ts +51 -0
  8. package/dist/pipeline-swagger-service/src/services/hooks/useGetListOfExecutionsMutation.js +14 -0
  9. package/dist/pipeline-swagger-service/src/services/index.d.ts +21 -0
  10. package/dist/pipeline-swagger-service/src/services/index.js +4 -0
  11. package/dist/pipeline-swagger-service/src/services/requestBodies/FilterPropertiesRequestBody.d.ts +2 -0
  12. package/dist/pipeline-swagger-service/src/services/requestBodies/FilterPropertiesRequestBody.js +1 -0
  13. package/dist/pipeline-swagger-service/src/services/schemas/BatchInputSetsApiRequest.d.ts +3 -0
  14. package/dist/pipeline-swagger-service/src/services/schemas/BatchInputSetsApiRequest.js +4 -0
  15. package/dist/pipeline-swagger-service/src/services/schemas/InputSetListResponse.d.ts +8 -0
  16. package/dist/pipeline-swagger-service/src/services/schemas/InputSetListResponse.js +4 -0
  17. package/dist/pipeline-swagger-service/src/services/schemas/PageInputSetListResponse.d.ts +26 -0
  18. package/dist/pipeline-swagger-service/src/services/schemas/PageInputSetListResponse.js +1 -0
  19. package/dist/pipeline-swagger-service/src/services/schemas/PagePipelineExecutionSummary.d.ts +31 -0
  20. package/dist/pipeline-swagger-service/src/services/schemas/PagePipelineExecutionSummary.js +1 -0
  21. package/dist/pipeline-swagger-service/src/services/schemas/Pageable.d.ts +18 -0
  22. package/dist/pipeline-swagger-service/src/services/schemas/Pageable.js +1 -0
  23. package/dist/pipeline-swagger-service/src/services/schemas/PmsPipelineListBranchesResponse.d.ts +3 -0
  24. package/dist/pipeline-swagger-service/src/services/schemas/PmsPipelineListBranchesResponse.js +4 -0
  25. package/dist/pipeline-swagger-service/src/services/schemas/PmsPipelineListRepoResponse.d.ts +3 -0
  26. package/dist/pipeline-swagger-service/src/services/schemas/PmsPipelineListRepoResponse.js +4 -0
  27. package/dist/pipeline-swagger-service/src/services/schemas/ResponsePageInputSetListResponse.d.ts +9 -0
  28. package/dist/pipeline-swagger-service/src/services/schemas/ResponsePageInputSetListResponse.js +1 -0
  29. package/dist/pipeline-swagger-service/src/services/schemas/ResponsePagePipelineExecutionSummary.d.ts +9 -0
  30. package/dist/pipeline-swagger-service/src/services/schemas/ResponsePagePipelineExecutionSummary.js +1 -0
  31. package/dist/pipeline-swagger-service/src/services/schemas/ResponsePmsPipelineListBranchesResponse.d.ts +9 -0
  32. package/dist/pipeline-swagger-service/src/services/schemas/ResponsePmsPipelineListBranchesResponse.js +1 -0
  33. package/dist/pipeline-swagger-service/src/services/schemas/ResponsePmsPipelineListRepoResponse.d.ts +9 -0
  34. package/dist/pipeline-swagger-service/src/services/schemas/ResponsePmsPipelineListRepoResponse.js +1 -0
  35. package/dist/pipeline-swagger-service/src/services/schemas/Sort.d.ts +5 -0
  36. package/dist/pipeline-swagger-service/src/services/schemas/Sort.js +4 -0
  37. package/package.json +1 -1
@@ -0,0 +1,35 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ResponsePageInputSetListResponse } from '../schemas/ResponsePageInputSetListResponse';
3
+ import type { Failure } from '../schemas/Failure';
4
+ import type { Error } from '../schemas/Error';
5
+ import type { BatchInputSetsApiRequest } from '../schemas/BatchInputSetsApiRequest';
6
+ import type { ResponseWithPagination } from '../helpers';
7
+ import { FetcherOptions } from '../../../../fetcher/index.js';
8
+ export interface GetBatchInputSetsMetadataMutationQueryParams {
9
+ accountIdentifier: string;
10
+ orgIdentifier: string;
11
+ projectIdentifier: string;
12
+ /**
13
+ * @format int32
14
+ * @default 0
15
+ */
16
+ pageIndex?: number;
17
+ /**
18
+ * @format int32
19
+ * @default 20
20
+ */
21
+ pageSize?: number;
22
+ searchTerm?: string;
23
+ }
24
+ export type GetBatchInputSetsMetadataRequestBody = BatchInputSetsApiRequest;
25
+ export type GetBatchInputSetsMetadataOkResponse = ResponseWithPagination<ResponsePageInputSetListResponse>;
26
+ export type GetBatchInputSetsMetadataErrorResponse = Failure | Error;
27
+ export interface GetBatchInputSetsMetadataProps extends Omit<FetcherOptions<GetBatchInputSetsMetadataMutationQueryParams, GetBatchInputSetsMetadataRequestBody>, 'url'> {
28
+ queryParams: GetBatchInputSetsMetadataMutationQueryParams;
29
+ body: GetBatchInputSetsMetadataRequestBody;
30
+ }
31
+ export declare function getBatchInputSetsMetadata(props: GetBatchInputSetsMetadataProps): Promise<GetBatchInputSetsMetadataOkResponse>;
32
+ /**
33
+ *
34
+ */
35
+ export declare function useGetBatchInputSetsMetadataMutation(options?: Omit<UseMutationOptions<GetBatchInputSetsMetadataOkResponse, GetBatchInputSetsMetadataErrorResponse, GetBatchInputSetsMetadataProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetBatchInputSetsMetadataOkResponse, GetBatchInputSetsMetadataErrorResponse, GetBatchInputSetsMetadataProps, 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 getBatchInputSetsMetadata(props) {
7
+ return fetcher(Object.assign({ url: `/inputSets/get/batch-input-sets-metadata`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useGetBatchInputSetsMetadataMutation(options) {
13
+ return useMutation((mutateProps) => getBatchInputSetsMetadata(mutateProps), options);
14
+ }
@@ -0,0 +1,23 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ResponsePmsPipelineListBranchesResponse } from '../schemas/ResponsePmsPipelineListBranchesResponse';
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 GetExecutionBranchesListQueryQueryParams {
8
+ accountIdentifier: string;
9
+ orgIdentifier: string;
10
+ projectIdentifier: string;
11
+ pipelineIdentifier?: string;
12
+ repoName?: string;
13
+ }
14
+ export type GetExecutionBranchesListOkResponse = ResponseWithPagination<ResponsePmsPipelineListBranchesResponse>;
15
+ export type GetExecutionBranchesListErrorResponse = Failure | Error;
16
+ export interface GetExecutionBranchesListProps extends Omit<FetcherOptions<GetExecutionBranchesListQueryQueryParams, unknown>, 'url'> {
17
+ queryParams: GetExecutionBranchesListQueryQueryParams;
18
+ }
19
+ export declare function getExecutionBranchesList(props: GetExecutionBranchesListProps): Promise<GetExecutionBranchesListOkResponse>;
20
+ /**
21
+ *
22
+ */
23
+ export declare function useGetExecutionBranchesListQuery(props: GetExecutionBranchesListProps, options?: Omit<UseQueryOptions<GetExecutionBranchesListOkResponse, GetExecutionBranchesListErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetExecutionBranchesListOkResponse, GetExecutionBranchesListErrorResponse>;
@@ -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 getExecutionBranchesList(props) {
7
+ return fetcher(Object.assign({ url: `/pipelines/execution/list-branches`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useGetExecutionBranchesListQuery(props, options) {
13
+ return useQuery(['getExecutionBranchesList', props.queryParams], ({ signal }) => getExecutionBranchesList(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,22 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ResponsePmsPipelineListRepoResponse } from '../schemas/ResponsePmsPipelineListRepoResponse';
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 GetExecutionRepositoriesListQueryQueryParams {
8
+ accountIdentifier: string;
9
+ orgIdentifier: string;
10
+ projectIdentifier: string;
11
+ pipelineIdentifier?: string;
12
+ }
13
+ export type GetExecutionRepositoriesListOkResponse = ResponseWithPagination<ResponsePmsPipelineListRepoResponse>;
14
+ export type GetExecutionRepositoriesListErrorResponse = Failure | Error;
15
+ export interface GetExecutionRepositoriesListProps extends Omit<FetcherOptions<GetExecutionRepositoriesListQueryQueryParams, unknown>, 'url'> {
16
+ queryParams: GetExecutionRepositoriesListQueryQueryParams;
17
+ }
18
+ export declare function getExecutionRepositoriesList(props: GetExecutionRepositoriesListProps): Promise<GetExecutionRepositoriesListOkResponse>;
19
+ /**
20
+ *
21
+ */
22
+ export declare function useGetExecutionRepositoriesListQuery(props: GetExecutionRepositoriesListProps, options?: Omit<UseQueryOptions<GetExecutionRepositoriesListOkResponse, GetExecutionRepositoriesListErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetExecutionRepositoriesListOkResponse, GetExecutionRepositoriesListErrorResponse>;
@@ -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 getExecutionRepositoriesList(props) {
7
+ return fetcher(Object.assign({ url: `/pipelines/execution/list-repositories`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useGetExecutionRepositoriesListQuery(props, options) {
13
+ return useQuery(['getExecutionRepositoriesList', props.queryParams], ({ signal }) => getExecutionRepositoriesList(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,51 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ResponsePagePipelineExecutionSummary } from '../schemas/ResponsePagePipelineExecutionSummary';
3
+ import type { Failure } from '../schemas/Failure';
4
+ import type { Error } from '../schemas/Error';
5
+ import type { FilterPropertiesRequestBody } from '../requestBodies/FilterPropertiesRequestBody';
6
+ import type { ResponseWithPagination } from '../helpers';
7
+ import { FetcherOptions } from '../../../../fetcher/index.js';
8
+ export interface GetListOfExecutionsMutationQueryParams {
9
+ accountIdentifier: string;
10
+ orgIdentifier: string;
11
+ projectIdentifier: string;
12
+ searchTerm?: string;
13
+ pipelineIdentifier?: string;
14
+ /**
15
+ * @format int32
16
+ * @default 0
17
+ */
18
+ page?: number;
19
+ /**
20
+ * @format int32
21
+ * @default 10
22
+ */
23
+ size?: number;
24
+ sort?: string[];
25
+ filterIdentifier?: string;
26
+ showAllExecutions?: boolean;
27
+ module?: string;
28
+ status?: Array<'APPROVAL_REJECTED' | 'APPROVAL_WAITING' | 'Aborted' | 'AbortedByFreeze' | 'ApprovalRejected' | 'ApprovalWaiting' | 'AsyncWaiting' | 'Discontinuing' | 'Errored' | 'Expired' | 'Failed' | 'INTERVENTION_WAITING' | 'IgnoreFailed' | 'InputWaiting' | 'InterventionWaiting' | 'NOT_STARTED' | 'NotStarted' | 'Paused' | 'Pausing' | 'QUEUED_PLAN_CREATION' | 'QUEUED_STEP_CONCURRENCY' | 'Queued' | 'QueuedExecutionConcurrencyReached' | 'QueuedLicenseLimitReached' | 'ResourceWaiting' | 'Running' | 'STARTING' | 'STARTING_PLAN_CREATION' | 'Skipped' | 'Success' | 'Suspended' | 'TaskWaiting' | 'TimedWaiting' | 'UploadWaiting' | 'WAITING' | 'WaitStepRunning'>;
29
+ myDeployments?: boolean;
30
+ branch?: string;
31
+ repoIdentifier?: string;
32
+ getDefaultFromOtherRepo?: boolean;
33
+ parentEntityConnectorRef?: string;
34
+ parentEntityRepoName?: string;
35
+ parentEntityAccountIdentifier?: string;
36
+ parentEntityOrgIdentifier?: string;
37
+ parentEntityProjectIdentifier?: string;
38
+ repoName?: string;
39
+ }
40
+ export type GetListOfExecutionsRequestBody = FilterPropertiesRequestBody;
41
+ export type GetListOfExecutionsOkResponse = ResponseWithPagination<ResponsePagePipelineExecutionSummary>;
42
+ export type GetListOfExecutionsErrorResponse = Failure | Error;
43
+ export interface GetListOfExecutionsProps extends Omit<FetcherOptions<GetListOfExecutionsMutationQueryParams, GetListOfExecutionsRequestBody>, 'url'> {
44
+ queryParams: GetListOfExecutionsMutationQueryParams;
45
+ body: GetListOfExecutionsRequestBody;
46
+ }
47
+ export declare function getListOfExecutions(props: GetListOfExecutionsProps): Promise<GetListOfExecutionsOkResponse>;
48
+ /**
49
+ *
50
+ */
51
+ export declare function useGetListOfExecutionsMutation(options?: Omit<UseMutationOptions<GetListOfExecutionsOkResponse, GetListOfExecutionsErrorResponse, GetListOfExecutionsProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetListOfExecutionsOkResponse, GetListOfExecutionsErrorResponse, GetListOfExecutionsProps, 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 getListOfExecutions(props) {
7
+ return fetcher(Object.assign({ url: `/pipelines/execution/summary`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useGetListOfExecutionsMutation(options) {
13
+ return useMutation((mutateProps) => getListOfExecutions(mutateProps), options);
14
+ }
@@ -3,14 +3,22 @@ export type { CreateTriggerErrorResponse, CreateTriggerMutationQueryParams, Crea
3
3
  export { createTrigger, useCreateTriggerMutation } from './hooks/useCreateTriggerMutation';
4
4
  export type { DeleteFilterErrorResponse, DeleteFilterMutationPathParams, DeleteFilterMutationQueryParams, DeleteFilterOkResponse, DeleteFilterProps, } from './hooks/useDeleteFilterMutation';
5
5
  export { deleteFilter, useDeleteFilterMutation } from './hooks/useDeleteFilterMutation';
6
+ export type { GetBatchInputSetsMetadataErrorResponse, GetBatchInputSetsMetadataMutationQueryParams, GetBatchInputSetsMetadataOkResponse, GetBatchInputSetsMetadataProps, GetBatchInputSetsMetadataRequestBody, } from './hooks/useGetBatchInputSetsMetadataMutation';
7
+ export { getBatchInputSetsMetadata, useGetBatchInputSetsMetadataMutation, } from './hooks/useGetBatchInputSetsMetadataMutation';
8
+ export type { GetExecutionBranchesListErrorResponse, GetExecutionBranchesListOkResponse, GetExecutionBranchesListProps, GetExecutionBranchesListQueryQueryParams, } from './hooks/useGetExecutionBranchesListQuery';
9
+ export { getExecutionBranchesList, useGetExecutionBranchesListQuery, } from './hooks/useGetExecutionBranchesListQuery';
6
10
  export type { GetExecutionDetailV2ErrorResponse, GetExecutionDetailV2OkResponse, GetExecutionDetailV2Props, GetExecutionDetailV2QueryPathParams, GetExecutionDetailV2QueryQueryParams, } from './hooks/useGetExecutionDetailV2Query';
7
11
  export { getExecutionDetailV2, useGetExecutionDetailV2Query, } from './hooks/useGetExecutionDetailV2Query';
12
+ export type { GetExecutionRepositoriesListErrorResponse, GetExecutionRepositoriesListOkResponse, GetExecutionRepositoriesListProps, GetExecutionRepositoriesListQueryQueryParams, } from './hooks/useGetExecutionRepositoriesListQuery';
13
+ export { getExecutionRepositoriesList, useGetExecutionRepositoriesListQuery, } from './hooks/useGetExecutionRepositoriesListQuery';
8
14
  export type { GetFilterListErrorResponse, GetFilterListOkResponse, GetFilterListProps, GetFilterListQueryQueryParams, } from './hooks/useGetFilterListQuery';
9
15
  export { getFilterList, useGetFilterListQuery } from './hooks/useGetFilterListQuery';
10
16
  export type { GetFilterErrorResponse, GetFilterOkResponse, GetFilterProps, GetFilterQueryPathParams, GetFilterQueryQueryParams, } from './hooks/useGetFilterQuery';
11
17
  export { getFilter, useGetFilterQuery } from './hooks/useGetFilterQuery';
12
18
  export type { GetGitTriggerEventDetailsErrorResponse, GetGitTriggerEventDetailsOkResponse, GetGitTriggerEventDetailsProps, } from './hooks/useGetGitTriggerEventDetailsQuery';
13
19
  export { getGitTriggerEventDetails, useGetGitTriggerEventDetailsQuery, } from './hooks/useGetGitTriggerEventDetailsQuery';
20
+ export type { GetListOfExecutionsErrorResponse, GetListOfExecutionsMutationQueryParams, GetListOfExecutionsOkResponse, GetListOfExecutionsProps, GetListOfExecutionsRequestBody, } from './hooks/useGetListOfExecutionsMutation';
21
+ export { getListOfExecutions, useGetListOfExecutionsMutation, } from './hooks/useGetListOfExecutionsMutation';
14
22
  export type { GetPipelineSummaryErrorResponse, GetPipelineSummaryOkResponse, GetPipelineSummaryProps, GetPipelineSummaryQueryPathParams, GetPipelineSummaryQueryQueryParams, } from './hooks/useGetPipelineSummaryQuery';
15
23
  export { getPipelineSummary, useGetPipelineSummaryQuery } from './hooks/useGetPipelineSummaryQuery';
16
24
  export type { GetTriggerCatalogErrorResponse, GetTriggerCatalogOkResponse, GetTriggerCatalogProps, GetTriggerCatalogQueryQueryParams, } from './hooks/useGetTriggerCatalogQuery';
@@ -24,10 +32,12 @@ export { retryHistory, useRetryHistoryQuery } from './hooks/useRetryHistoryQuery
24
32
  export type { UpdateFilterErrorResponse, UpdateFilterMutationQueryParams, UpdateFilterOkResponse, UpdateFilterProps, UpdateFilterRequestBody, } from './hooks/useUpdateFilterMutation';
25
33
  export { updateFilter, useUpdateFilterMutation } from './hooks/useUpdateFilterMutation';
26
34
  export type { FilterDtoRequestBody } from './requestBodies/FilterDtoRequestBody';
35
+ export type { FilterPropertiesRequestBody } from './requestBodies/FilterPropertiesRequestBody';
27
36
  export type { UpdateTriggerBodyRequestBody } from './requestBodies/UpdateTriggerBodyRequestBody';
28
37
  export type { AbortedBy } from './schemas/AbortedBy';
29
38
  export type { AccessControlCheckError } from './schemas/AccessControlCheckError';
30
39
  export type { AdviserIssuer } from './schemas/AdviserIssuer';
40
+ export type { BatchInputSetsApiRequest } from './schemas/BatchInputSetsApiRequest';
31
41
  export type { BuildDetails } from './schemas/BuildDetails';
32
42
  export type { ChildExecutionDetailDto } from './schemas/ChildExecutionDetailDto';
33
43
  export type { DelegateInfo } from './schemas/DelegateInfo';
@@ -51,6 +61,7 @@ export type { FilterDto } from './schemas/FilterDto';
51
61
  export type { FilterProperties } from './schemas/FilterProperties';
52
62
  export type { GovernanceMetadata } from './schemas/GovernanceMetadata';
53
63
  export type { GraphLayoutNode } from './schemas/GraphLayoutNode';
64
+ export type { InputSetListResponse } from './schemas/InputSetListResponse';
54
65
  export type { InputSetValidator } from './schemas/InputSetValidator';
55
66
  export type { InterruptConfig } from './schemas/InterruptConfig';
56
67
  export type { InterruptEffectDto } from './schemas/InterruptEffectDto';
@@ -63,12 +74,17 @@ export type { NgTriggerDetailsResponse } from './schemas/NgTriggerDetailsRespons
63
74
  export type { NgTriggerResponse } from './schemas/NgTriggerResponse';
64
75
  export type { NodeRunInfo } from './schemas/NodeRunInfo';
65
76
  export type { PageFilterDto } from './schemas/PageFilterDto';
77
+ export type { PageInputSetListResponse } from './schemas/PageInputSetListResponse';
66
78
  export type { PageNgTriggerDetailsResponse } from './schemas/PageNgTriggerDetailsResponse';
79
+ export type { PagePipelineExecutionSummary } from './schemas/PagePipelineExecutionSummary';
80
+ export type { Pageable } from './schemas/Pageable';
67
81
  export type { ParameterFieldListString } from './schemas/ParameterFieldListString';
68
82
  export type { PermissionCheck } from './schemas/PermissionCheck';
69
83
  export type { PipelineExecutionDetail } from './schemas/PipelineExecutionDetail';
70
84
  export type { PipelineExecutionSummary } from './schemas/PipelineExecutionSummary';
71
85
  export type { PipelineStageInfo } from './schemas/PipelineStageInfo';
86
+ export type { PmsPipelineListBranchesResponse } from './schemas/PmsPipelineListBranchesResponse';
87
+ export type { PmsPipelineListRepoResponse } from './schemas/PmsPipelineListRepoResponse';
72
88
  export type { PmsPipelineSummaryResponse } from './schemas/PmsPipelineSummaryResponse';
73
89
  export type { PollingSubscriptionStatus } from './schemas/PollingSubscriptionStatus';
74
90
  export type { RecentExecutionInfoDto } from './schemas/RecentExecutionInfoDto';
@@ -79,8 +95,12 @@ export type { ResponseMapStringMapStringListString } from './schemas/ResponseMap
79
95
  export type { ResponseMessage } from './schemas/ResponseMessage';
80
96
  export type { ResponseNgTriggerResponse } from './schemas/ResponseNgTriggerResponse';
81
97
  export type { ResponsePageFilterDto } from './schemas/ResponsePageFilterDto';
98
+ export type { ResponsePageInputSetListResponse } from './schemas/ResponsePageInputSetListResponse';
82
99
  export type { ResponsePageNgTriggerDetailsResponse } from './schemas/ResponsePageNgTriggerDetailsResponse';
100
+ export type { ResponsePagePipelineExecutionSummary } from './schemas/ResponsePagePipelineExecutionSummary';
83
101
  export type { ResponsePipelineExecutionDetail } from './schemas/ResponsePipelineExecutionDetail';
102
+ export type { ResponsePmsPipelineListBranchesResponse } from './schemas/ResponsePmsPipelineListBranchesResponse';
103
+ export type { ResponsePmsPipelineListRepoResponse } from './schemas/ResponsePmsPipelineListRepoResponse';
84
104
  export type { ResponsePmsPipelineSummaryResponse } from './schemas/ResponsePmsPipelineSummaryResponse';
85
105
  export type { ResponseRetryHistoryResponseDto } from './schemas/ResponseRetryHistoryResponseDto';
86
106
  export type { ResponseTriggerCatalogResponse } from './schemas/ResponseTriggerCatalogResponse';
@@ -90,6 +110,7 @@ export type { RetryInterruptConfig } from './schemas/RetryInterruptConfig';
90
110
  export type { RetryNodeMetadata } from './schemas/RetryNodeMetadata';
91
111
  export type { RetryStagesMetadataDto } from './schemas/RetryStagesMetadataDto';
92
112
  export type { SkipInfo } from './schemas/SkipInfo';
113
+ export type { Sort } from './schemas/Sort';
93
114
  export type { StackTraceElement } from './schemas/StackTraceElement';
94
115
  export type { StrategyMetadata } from './schemas/StrategyMetadata';
95
116
  export type { SystemIssuer } from './schemas/SystemIssuer';
@@ -1,9 +1,13 @@
1
1
  export { createTrigger, useCreateTriggerMutation } from './hooks/useCreateTriggerMutation';
2
2
  export { deleteFilter, useDeleteFilterMutation } from './hooks/useDeleteFilterMutation';
3
+ export { getBatchInputSetsMetadata, useGetBatchInputSetsMetadataMutation, } from './hooks/useGetBatchInputSetsMetadataMutation';
4
+ export { getExecutionBranchesList, useGetExecutionBranchesListQuery, } from './hooks/useGetExecutionBranchesListQuery';
3
5
  export { getExecutionDetailV2, useGetExecutionDetailV2Query, } from './hooks/useGetExecutionDetailV2Query';
6
+ export { getExecutionRepositoriesList, useGetExecutionRepositoriesListQuery, } from './hooks/useGetExecutionRepositoriesListQuery';
4
7
  export { getFilterList, useGetFilterListQuery } from './hooks/useGetFilterListQuery';
5
8
  export { getFilter, useGetFilterQuery } from './hooks/useGetFilterQuery';
6
9
  export { getGitTriggerEventDetails, useGetGitTriggerEventDetailsQuery, } from './hooks/useGetGitTriggerEventDetailsQuery';
10
+ export { getListOfExecutions, useGetListOfExecutionsMutation, } from './hooks/useGetListOfExecutionsMutation';
7
11
  export { getPipelineSummary, useGetPipelineSummaryQuery } from './hooks/useGetPipelineSummaryQuery';
8
12
  export { getTriggerCatalog, useGetTriggerCatalogQuery } from './hooks/useGetTriggerCatalogQuery';
9
13
  export { getTriggerListForTarget, useGetTriggerListForTargetQuery, } from './hooks/useGetTriggerListForTargetQuery';
@@ -0,0 +1,2 @@
1
+ import type { FilterProperties } from '../schemas/FilterProperties';
2
+ export type FilterPropertiesRequestBody = FilterProperties;
@@ -0,0 +1,3 @@
1
+ export interface BatchInputSetsApiRequest {
2
+ pipelineIdentifiers: 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,8 @@
1
+ export interface InputSetListResponse {
2
+ description?: string;
3
+ identifier?: string;
4
+ inputSetIdWithPipelineId?: string;
5
+ inputSetType?: 'INPUT_SET' | 'OVERLAY_INPUT_SET';
6
+ name?: string;
7
+ pipelineIdentifier?: string;
8
+ }
@@ -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,26 @@
1
+ import type { InputSetListResponse } from '../schemas/InputSetListResponse';
2
+ export interface PageInputSetListResponse {
3
+ content?: InputSetListResponse[];
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,31 @@
1
+ import type { PipelineExecutionSummary } from '../schemas/PipelineExecutionSummary';
2
+ import type { Pageable } from '../schemas/Pageable';
3
+ import type { Sort } from '../schemas/Sort';
4
+ export interface PagePipelineExecutionSummary {
5
+ content?: PipelineExecutionSummary[];
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,18 @@
1
+ import type { Sort } from '../schemas/Sort';
2
+ export interface Pageable {
3
+ /**
4
+ * @format int64
5
+ */
6
+ offset?: number;
7
+ /**
8
+ * @format int32
9
+ */
10
+ pageNumber?: number;
11
+ /**
12
+ * @format int32
13
+ */
14
+ pageSize?: number;
15
+ paged?: boolean;
16
+ sort?: Sort;
17
+ unpaged?: boolean;
18
+ }
@@ -0,0 +1,3 @@
1
+ export interface PmsPipelineListBranchesResponse {
2
+ branches?: 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,3 @@
1
+ export interface PmsPipelineListRepoResponse {
2
+ repositories?: 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,9 @@
1
+ import type { PageInputSetListResponse } from '../schemas/PageInputSetListResponse';
2
+ export interface ResponsePageInputSetListResponse {
3
+ correlationId?: string;
4
+ data?: PageInputSetListResponse;
5
+ metaData?: {
6
+ [key: string]: any;
7
+ };
8
+ status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
9
+ }
@@ -0,0 +1,9 @@
1
+ import type { PagePipelineExecutionSummary } from '../schemas/PagePipelineExecutionSummary';
2
+ export interface ResponsePagePipelineExecutionSummary {
3
+ correlationId?: string;
4
+ data?: PagePipelineExecutionSummary;
5
+ metaData?: {
6
+ [key: string]: any;
7
+ };
8
+ status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
9
+ }
@@ -0,0 +1,9 @@
1
+ import type { PmsPipelineListBranchesResponse } from '../schemas/PmsPipelineListBranchesResponse';
2
+ export interface ResponsePmsPipelineListBranchesResponse {
3
+ correlationId?: string;
4
+ data?: PmsPipelineListBranchesResponse;
5
+ metaData?: {
6
+ [key: string]: any;
7
+ };
8
+ status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
9
+ }
@@ -0,0 +1,9 @@
1
+ import type { PmsPipelineListRepoResponse } from '../schemas/PmsPipelineListRepoResponse';
2
+ export interface ResponsePmsPipelineListRepoResponse {
3
+ correlationId?: string;
4
+ data?: PmsPipelineListRepoResponse;
5
+ metaData?: {
6
+ [key: string]: any;
7
+ };
8
+ status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
9
+ }
@@ -0,0 +1,5 @@
1
+ export interface Sort {
2
+ empty?: boolean;
3
+ sorted?: boolean;
4
+ unsorted?: boolean;
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 {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-pipeline-swagger-service-client",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "description": "Harness React pipeline service client - Pipeline APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",