@harnessio/react-pipeline-swagger-service-client 1.1.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/dist/pipeline-swagger-service/src/services/hooks/useDeleteFilterMutation.d.ts +25 -0
  2. package/dist/pipeline-swagger-service/src/services/hooks/useDeleteFilterMutation.js +14 -0
  3. package/dist/pipeline-swagger-service/src/services/hooks/useGetFilterListQuery.d.ts +33 -0
  4. package/dist/pipeline-swagger-service/src/services/hooks/useGetFilterListQuery.js +14 -0
  5. package/dist/pipeline-swagger-service/src/services/hooks/useGetFilterQuery.d.ts +25 -0
  6. package/dist/pipeline-swagger-service/src/services/hooks/useGetFilterQuery.js +14 -0
  7. package/dist/pipeline-swagger-service/src/services/hooks/usePostFilterMutation.d.ts +22 -0
  8. package/dist/pipeline-swagger-service/src/services/hooks/usePostFilterMutation.js +14 -0
  9. package/dist/pipeline-swagger-service/src/services/hooks/useUpdateFilterMutation.d.ts +22 -0
  10. package/dist/pipeline-swagger-service/src/services/hooks/useUpdateFilterMutation.js +14 -0
  11. package/dist/pipeline-swagger-service/src/services/index.d.ts +17 -0
  12. package/dist/pipeline-swagger-service/src/services/index.js +5 -0
  13. package/dist/pipeline-swagger-service/src/services/requestBodies/FilterDtoRequestBody.d.ts +2 -0
  14. package/dist/pipeline-swagger-service/src/services/requestBodies/FilterDtoRequestBody.js +1 -0
  15. package/dist/pipeline-swagger-service/src/services/schemas/FilterDto.d.ts +9 -0
  16. package/dist/pipeline-swagger-service/src/services/schemas/FilterDto.js +1 -0
  17. package/dist/pipeline-swagger-service/src/services/schemas/FilterProperties.d.ts +9 -0
  18. package/dist/pipeline-swagger-service/src/services/schemas/FilterProperties.js +4 -0
  19. package/dist/pipeline-swagger-service/src/services/schemas/PageFilterDto.d.ts +26 -0
  20. package/dist/pipeline-swagger-service/src/services/schemas/PageFilterDto.js +1 -0
  21. package/dist/pipeline-swagger-service/src/services/schemas/ResponseBoolean.d.ts +8 -0
  22. package/dist/pipeline-swagger-service/src/services/schemas/ResponseBoolean.js +4 -0
  23. package/dist/pipeline-swagger-service/src/services/schemas/ResponseFilterDto.d.ts +9 -0
  24. package/dist/pipeline-swagger-service/src/services/schemas/ResponseFilterDto.js +1 -0
  25. package/dist/pipeline-swagger-service/src/services/schemas/ResponsePageFilterDto.d.ts +9 -0
  26. package/dist/pipeline-swagger-service/src/services/schemas/ResponsePageFilterDto.js +1 -0
  27. package/package.json +1 -1
@@ -0,0 +1,25 @@
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 DeleteFilterMutationPathParams {
8
+ identifier: string;
9
+ }
10
+ export interface DeleteFilterMutationQueryParams {
11
+ accountIdentifier: string;
12
+ orgIdentifier?: string;
13
+ projectIdentifier?: string;
14
+ type: 'Anomaly' | 'Audit' | 'Autocud' | 'CCMBudget' | 'CCMConnector' | 'CCMK8sConnector' | 'CCMRecommendation' | 'Connector' | 'Delegate' | 'DelegateProfile' | 'Deployment' | 'Environment' | 'EnvironmentGroup' | 'FileStore' | 'InputSet' | 'Override' | 'PipelineExecution' | 'PipelineSetup' | 'RIInventory' | 'RuleExecution' | 'SPInventory' | 'Secret' | 'Template' | 'Trigger' | 'Webhook';
15
+ }
16
+ export type DeleteFilterOkResponse = ResponseWithPagination<ResponseBoolean>;
17
+ export type DeleteFilterErrorResponse = Failure | Error;
18
+ export interface DeleteFilterProps extends DeleteFilterMutationPathParams, Omit<FetcherOptions<DeleteFilterMutationQueryParams, unknown>, 'url'> {
19
+ queryParams: DeleteFilterMutationQueryParams;
20
+ }
21
+ export declare function deleteFilter(props: DeleteFilterProps): Promise<DeleteFilterOkResponse>;
22
+ /**
23
+ *
24
+ */
25
+ export declare function useDeleteFilterMutation(options?: Omit<UseMutationOptions<DeleteFilterOkResponse, DeleteFilterErrorResponse, DeleteFilterProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteFilterOkResponse, DeleteFilterErrorResponse, DeleteFilterProps, 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 deleteFilter(props) {
7
+ return fetcher(Object.assign({ url: `/filters/${props.identifier}`, method: 'DELETE' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useDeleteFilterMutation(options) {
13
+ return useMutation((mutateProps) => deleteFilter(mutateProps), options);
14
+ }
@@ -0,0 +1,33 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ResponsePageFilterDto } from '../schemas/ResponsePageFilterDto';
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 GetFilterListQueryQueryParams {
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
+ type: 'Anomaly' | 'Audit' | 'Autocud' | 'CCMBudget' | 'CCMConnector' | 'CCMK8sConnector' | 'CCMRecommendation' | 'Connector' | 'Delegate' | 'DelegateProfile' | 'Deployment' | 'Environment' | 'EnvironmentGroup' | 'FileStore' | 'InputSet' | 'Override' | 'PipelineExecution' | 'PipelineSetup' | 'RIInventory' | 'RuleExecution' | 'SPInventory' | 'Secret' | 'Template' | 'Trigger' | 'Webhook';
22
+ searchTerm?: string;
23
+ }
24
+ export type GetFilterListOkResponse = ResponseWithPagination<ResponsePageFilterDto>;
25
+ export type GetFilterListErrorResponse = Failure | Error;
26
+ export interface GetFilterListProps extends Omit<FetcherOptions<GetFilterListQueryQueryParams, unknown>, 'url'> {
27
+ queryParams: GetFilterListQueryQueryParams;
28
+ }
29
+ export declare function getFilterList(props: GetFilterListProps): Promise<GetFilterListOkResponse>;
30
+ /**
31
+ *
32
+ */
33
+ export declare function useGetFilterListQuery(props: GetFilterListProps, options?: Omit<UseQueryOptions<GetFilterListOkResponse, GetFilterListErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetFilterListOkResponse, GetFilterListErrorResponse>;
@@ -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 getFilterList(props) {
7
+ return fetcher(Object.assign({ url: `/filters`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useGetFilterListQuery(props, options) {
13
+ return useQuery(['getFilterList', props.queryParams], ({ signal }) => getFilterList(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,25 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ResponseFilterDto } from '../schemas/ResponseFilterDto';
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 GetFilterQueryPathParams {
8
+ identifier: string;
9
+ }
10
+ export interface GetFilterQueryQueryParams {
11
+ accountIdentifier: string;
12
+ orgIdentifier?: string;
13
+ projectIdentifier?: string;
14
+ type: 'Anomaly' | 'Audit' | 'Autocud' | 'CCMBudget' | 'CCMConnector' | 'CCMK8sConnector' | 'CCMRecommendation' | 'Connector' | 'Delegate' | 'DelegateProfile' | 'Deployment' | 'Environment' | 'EnvironmentGroup' | 'FileStore' | 'InputSet' | 'Override' | 'PipelineExecution' | 'PipelineSetup' | 'RIInventory' | 'RuleExecution' | 'SPInventory' | 'Secret' | 'Template' | 'Trigger' | 'Webhook';
15
+ }
16
+ export type GetFilterOkResponse = ResponseWithPagination<ResponseFilterDto>;
17
+ export type GetFilterErrorResponse = Failure | Error;
18
+ export interface GetFilterProps extends GetFilterQueryPathParams, Omit<FetcherOptions<GetFilterQueryQueryParams, unknown>, 'url'> {
19
+ queryParams: GetFilterQueryQueryParams;
20
+ }
21
+ export declare function getFilter(props: GetFilterProps): Promise<GetFilterOkResponse>;
22
+ /**
23
+ *
24
+ */
25
+ export declare function useGetFilterQuery(props: GetFilterProps, options?: Omit<UseQueryOptions<GetFilterOkResponse, GetFilterErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetFilterOkResponse, GetFilterErrorResponse>;
@@ -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 getFilter(props) {
7
+ return fetcher(Object.assign({ url: `/filters/${props.identifier}`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useGetFilterQuery(props, options) {
13
+ return useQuery(['getFilter', props.identifier, props.queryParams], ({ signal }) => getFilter(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,22 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ResponseFilterDto } from '../schemas/ResponseFilterDto';
3
+ import type { Failure } from '../schemas/Failure';
4
+ import type { Error } from '../schemas/Error';
5
+ import type { FilterDtoRequestBody } from '../requestBodies/FilterDtoRequestBody';
6
+ import type { ResponseWithPagination } from '../helpers';
7
+ import { FetcherOptions } from '../../../../fetcher/index.js';
8
+ export interface PostFilterMutationQueryParams {
9
+ accountIdentifier: string;
10
+ }
11
+ export type PostFilterRequestBody = FilterDtoRequestBody;
12
+ export type PostFilterOkResponse = ResponseWithPagination<ResponseFilterDto>;
13
+ export type PostFilterErrorResponse = Failure | Error;
14
+ export interface PostFilterProps extends Omit<FetcherOptions<PostFilterMutationQueryParams, PostFilterRequestBody>, 'url'> {
15
+ queryParams: PostFilterMutationQueryParams;
16
+ body: PostFilterRequestBody;
17
+ }
18
+ export declare function postFilter(props: PostFilterProps): Promise<PostFilterOkResponse>;
19
+ /**
20
+ *
21
+ */
22
+ export declare function usePostFilterMutation(options?: Omit<UseMutationOptions<PostFilterOkResponse, PostFilterErrorResponse, PostFilterProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<PostFilterOkResponse, PostFilterErrorResponse, PostFilterProps, 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 postFilter(props) {
7
+ return fetcher(Object.assign({ url: `/filters`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function usePostFilterMutation(options) {
13
+ return useMutation((mutateProps) => postFilter(mutateProps), options);
14
+ }
@@ -0,0 +1,22 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ResponseFilterDto } from '../schemas/ResponseFilterDto';
3
+ import type { Failure } from '../schemas/Failure';
4
+ import type { Error } from '../schemas/Error';
5
+ import type { FilterDtoRequestBody } from '../requestBodies/FilterDtoRequestBody';
6
+ import type { ResponseWithPagination } from '../helpers';
7
+ import { FetcherOptions } from '../../../../fetcher/index.js';
8
+ export interface UpdateFilterMutationQueryParams {
9
+ accountIdentifier: string;
10
+ }
11
+ export type UpdateFilterRequestBody = FilterDtoRequestBody;
12
+ export type UpdateFilterOkResponse = ResponseWithPagination<ResponseFilterDto>;
13
+ export type UpdateFilterErrorResponse = Failure | Error;
14
+ export interface UpdateFilterProps extends Omit<FetcherOptions<UpdateFilterMutationQueryParams, UpdateFilterRequestBody>, 'url'> {
15
+ queryParams: UpdateFilterMutationQueryParams;
16
+ body: UpdateFilterRequestBody;
17
+ }
18
+ export declare function updateFilter(props: UpdateFilterProps): Promise<UpdateFilterOkResponse>;
19
+ /**
20
+ *
21
+ */
22
+ export declare function useUpdateFilterMutation(options?: Omit<UseMutationOptions<UpdateFilterOkResponse, UpdateFilterErrorResponse, UpdateFilterProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateFilterOkResponse, UpdateFilterErrorResponse, UpdateFilterProps, 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 updateFilter(props) {
7
+ return fetcher(Object.assign({ url: `/filters`, method: 'PUT' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useUpdateFilterMutation(options) {
13
+ return useMutation((mutateProps) => updateFilter(mutateProps), options);
14
+ }
@@ -1,22 +1,39 @@
1
1
  export type { GetPathParamsType, ResponseWithPagination } from './helpers';
2
2
  export type { CreateTriggerErrorResponse, CreateTriggerMutationQueryParams, CreateTriggerOkResponse, CreateTriggerProps, CreateTriggerRequestBody, } from './hooks/useCreateTriggerMutation';
3
3
  export { createTrigger, useCreateTriggerMutation } from './hooks/useCreateTriggerMutation';
4
+ export type { DeleteFilterErrorResponse, DeleteFilterMutationPathParams, DeleteFilterMutationQueryParams, DeleteFilterOkResponse, DeleteFilterProps, } from './hooks/useDeleteFilterMutation';
5
+ export { deleteFilter, useDeleteFilterMutation } from './hooks/useDeleteFilterMutation';
6
+ export type { GetFilterListErrorResponse, GetFilterListOkResponse, GetFilterListProps, GetFilterListQueryQueryParams, } from './hooks/useGetFilterListQuery';
7
+ export { getFilterList, useGetFilterListQuery } from './hooks/useGetFilterListQuery';
8
+ export type { GetFilterErrorResponse, GetFilterOkResponse, GetFilterProps, GetFilterQueryPathParams, GetFilterQueryQueryParams, } from './hooks/useGetFilterQuery';
9
+ export { getFilter, useGetFilterQuery } from './hooks/useGetFilterQuery';
4
10
  export type { GetTriggerListForTargetErrorResponse, GetTriggerListForTargetOkResponse, GetTriggerListForTargetProps, GetTriggerListForTargetQueryQueryParams, } from './hooks/useGetTriggerListForTargetQuery';
5
11
  export { getTriggerListForTarget, useGetTriggerListForTargetQuery, } from './hooks/useGetTriggerListForTargetQuery';
12
+ export type { PostFilterErrorResponse, PostFilterMutationQueryParams, PostFilterOkResponse, PostFilterProps, PostFilterRequestBody, } from './hooks/usePostFilterMutation';
13
+ export { postFilter, usePostFilterMutation } from './hooks/usePostFilterMutation';
14
+ export type { UpdateFilterErrorResponse, UpdateFilterMutationQueryParams, UpdateFilterOkResponse, UpdateFilterProps, UpdateFilterRequestBody, } from './hooks/useUpdateFilterMutation';
15
+ export { updateFilter, useUpdateFilterMutation } from './hooks/useUpdateFilterMutation';
16
+ export type { FilterDtoRequestBody } from './requestBodies/FilterDtoRequestBody';
6
17
  export type { UpdateTriggerBodyRequestBody } from './requestBodies/UpdateTriggerBodyRequestBody';
7
18
  export type { BuildDetails } from './schemas/BuildDetails';
8
19
  export type { Error } from './schemas/Error';
9
20
  export type { ErrorMetadataDto } from './schemas/ErrorMetadataDto';
10
21
  export type { Failure } from './schemas/Failure';
22
+ export type { FilterDto } from './schemas/FilterDto';
23
+ export type { FilterProperties } from './schemas/FilterProperties';
11
24
  export type { InputSetValidator } from './schemas/InputSetValidator';
12
25
  export type { LastTriggerExecutionDetails } from './schemas/LastTriggerExecutionDetails';
13
26
  export type { NgTriggerDetailsResponse } from './schemas/NgTriggerDetailsResponse';
14
27
  export type { NgTriggerResponse } from './schemas/NgTriggerResponse';
28
+ export type { PageFilterDto } from './schemas/PageFilterDto';
15
29
  export type { PageNgTriggerDetailsResponse } from './schemas/PageNgTriggerDetailsResponse';
16
30
  export type { ParameterFieldListString } from './schemas/ParameterFieldListString';
17
31
  export type { PollingSubscriptionStatus } from './schemas/PollingSubscriptionStatus';
32
+ export type { ResponseBoolean } from './schemas/ResponseBoolean';
33
+ export type { ResponseFilterDto } from './schemas/ResponseFilterDto';
18
34
  export type { ResponseMessage } from './schemas/ResponseMessage';
19
35
  export type { ResponseNgTriggerResponse } from './schemas/ResponseNgTriggerResponse';
36
+ export type { ResponsePageFilterDto } from './schemas/ResponsePageFilterDto';
20
37
  export type { ResponsePageNgTriggerDetailsResponse } from './schemas/ResponsePageNgTriggerDetailsResponse';
21
38
  export type { StackTraceElement } from './schemas/StackTraceElement';
22
39
  export type { Throwable } from './schemas/Throwable';
@@ -1,2 +1,7 @@
1
1
  export { createTrigger, useCreateTriggerMutation } from './hooks/useCreateTriggerMutation';
2
+ export { deleteFilter, useDeleteFilterMutation } from './hooks/useDeleteFilterMutation';
3
+ export { getFilterList, useGetFilterListQuery } from './hooks/useGetFilterListQuery';
4
+ export { getFilter, useGetFilterQuery } from './hooks/useGetFilterQuery';
2
5
  export { getTriggerListForTarget, useGetTriggerListForTargetQuery, } from './hooks/useGetTriggerListForTargetQuery';
6
+ export { postFilter, usePostFilterMutation } from './hooks/usePostFilterMutation';
7
+ export { updateFilter, useUpdateFilterMutation } from './hooks/useUpdateFilterMutation';
@@ -0,0 +1,2 @@
1
+ import type { FilterDto } from '../schemas/FilterDto';
2
+ export type FilterDtoRequestBody = FilterDto;
@@ -0,0 +1,9 @@
1
+ import type { FilterProperties } from '../schemas/FilterProperties';
2
+ export interface FilterDto {
3
+ filterProperties: FilterProperties;
4
+ filterVisibility?: 'EveryOne' | 'OnlyCreator';
5
+ identifier: string;
6
+ name: string;
7
+ orgIdentifier?: string;
8
+ projectIdentifier?: string;
9
+ }
@@ -0,0 +1,9 @@
1
+ export interface FilterProperties {
2
+ filterType?: 'Anomaly' | 'Audit' | 'Autocud' | 'CCMBudget' | 'CCMConnector' | 'CCMK8sConnector' | 'CCMRecommendation' | 'Connector' | 'Delegate' | 'DelegateProfile' | 'Deployment' | 'Environment' | 'EnvironmentGroup' | 'FileStore' | 'InputSet' | 'Override' | 'PipelineExecution' | 'PipelineSetup' | 'RIInventory' | 'RuleExecution' | 'SPInventory' | 'Secret' | 'Template' | 'Trigger' | 'Webhook';
3
+ labels?: {
4
+ [key: string]: string;
5
+ };
6
+ tags?: {
7
+ [key: string]: string;
8
+ };
9
+ }
@@ -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 { FilterDto } from '../schemas/FilterDto';
2
+ export interface PageFilterDto {
3
+ content?: FilterDto[];
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,8 @@
1
+ export interface ResponseBoolean {
2
+ correlationId?: string;
3
+ data?: boolean;
4
+ metaData?: {
5
+ [key: string]: any;
6
+ };
7
+ status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
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,9 @@
1
+ import type { FilterDto } from '../schemas/FilterDto';
2
+ export interface ResponseFilterDto {
3
+ correlationId?: string;
4
+ data?: FilterDto;
5
+ metaData?: {
6
+ [key: string]: any;
7
+ };
8
+ status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
9
+ }
@@ -0,0 +1,9 @@
1
+ import type { PageFilterDto } from '../schemas/PageFilterDto';
2
+ export interface ResponsePageFilterDto {
3
+ correlationId?: string;
4
+ data?: PageFilterDto;
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.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "Harness React pipeline service client - Pipeline APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",