@harnessio/react-idp-service-client 0.96.3 → 0.98.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 (24) hide show
  1. package/dist/idp-service/src/services/hooks/useCreateLayoutV3Mutation.d.ts +19 -0
  2. package/dist/idp-service/src/services/hooks/useCreateLayoutV3Mutation.js +14 -0
  3. package/dist/idp-service/src/services/hooks/useDeleteLayoutV3Mutation.d.ts +16 -0
  4. package/dist/idp-service/src/services/hooks/useDeleteLayoutV3Mutation.js +14 -0
  5. package/dist/idp-service/src/services/hooks/useGetBlueprintEnvironmentsQuery.d.ts +2 -0
  6. package/dist/idp-service/src/services/hooks/useGetEnvironmentBlueprintInfoMutation.d.ts +6 -1
  7. package/dist/idp-service/src/services/hooks/useGetKindQuery.d.ts +5 -1
  8. package/dist/idp-service/src/services/hooks/useGetKindQuery.js +1 -1
  9. package/dist/idp-service/src/services/hooks/useGetKindsQuery.d.ts +1 -0
  10. package/dist/idp-service/src/services/hooks/useGetLayoutHealthV3Query.d.ts +16 -0
  11. package/dist/idp-service/src/services/hooks/useGetLayoutHealthV3Query.js +14 -0
  12. package/dist/idp-service/src/services/hooks/useGetLayoutV3Query.d.ts +19 -0
  13. package/dist/idp-service/src/services/hooks/useGetLayoutV3Query.js +14 -0
  14. package/dist/idp-service/src/services/hooks/useGetLayoutsV3Query.d.ts +16 -0
  15. package/dist/idp-service/src/services/hooks/useGetLayoutsV3Query.js +14 -0
  16. package/dist/idp-service/src/services/hooks/useGetLayoutsV4Query.d.ts +16 -0
  17. package/dist/idp-service/src/services/hooks/useGetLayoutsV4Query.js +14 -0
  18. package/dist/idp-service/src/services/hooks/useLayoutIngestV3Mutation.d.ts +19 -0
  19. package/dist/idp-service/src/services/hooks/useLayoutIngestV3Mutation.js +14 -0
  20. package/dist/idp-service/src/services/index.d.ts +16 -2
  21. package/dist/idp-service/src/services/index.js +7 -0
  22. package/dist/idp-service/src/services/schemas/EntityResponse.d.ts +2 -0
  23. package/dist/idp-service/src/services/schemas/KindResponseBody.d.ts +1 -0
  24. package/package.json +1 -1
@@ -0,0 +1,19 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { LayoutResponseResponse } from '../responses/LayoutResponseResponse';
3
+ import type { LayoutRequest } from '../schemas/LayoutRequest';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../custom-idp-fetcher/index.js';
6
+ export interface CreateLayoutV3MutationHeaderParams {
7
+ 'Harness-Account'?: string;
8
+ }
9
+ export type CreateLayoutV3RequestBody = LayoutRequest;
10
+ export type CreateLayoutV3OkResponse = ResponseWithPagination<LayoutResponseResponse>;
11
+ export type CreateLayoutV3ErrorResponse = unknown;
12
+ export interface CreateLayoutV3Props extends Omit<FetcherOptions<unknown, CreateLayoutV3RequestBody, CreateLayoutV3MutationHeaderParams>, 'url'> {
13
+ body: CreateLayoutV3RequestBody;
14
+ }
15
+ export declare function createLayoutV3(props: CreateLayoutV3Props): Promise<CreateLayoutV3OkResponse>;
16
+ /**
17
+ * Create layout V3.
18
+ */
19
+ export declare function useCreateLayoutV3Mutation(options?: Omit<UseMutationOptions<CreateLayoutV3OkResponse, CreateLayoutV3ErrorResponse, CreateLayoutV3Props>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateLayoutV3OkResponse, unknown, CreateLayoutV3Props, 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 '../../../../custom-idp-fetcher/index.js';
6
+ export function createLayoutV3(props) {
7
+ return fetcher(Object.assign({ url: `/v3/layout`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Create layout V3.
11
+ */
12
+ export function useCreateLayoutV3Mutation(options) {
13
+ return useMutation((mutateProps) => createLayoutV3(mutateProps), options);
14
+ }
@@ -0,0 +1,16 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { LayoutResponse } from '../schemas/LayoutResponse';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../custom-idp-fetcher/index.js';
5
+ export interface DeleteLayoutV3MutationHeaderParams {
6
+ 'Harness-Account'?: string;
7
+ }
8
+ export type DeleteLayoutV3OkResponse = ResponseWithPagination<LayoutResponse>;
9
+ export type DeleteLayoutV3ErrorResponse = unknown;
10
+ export interface DeleteLayoutV3Props extends Omit<FetcherOptions<unknown, unknown, DeleteLayoutV3MutationHeaderParams>, 'url'> {
11
+ }
12
+ export declare function deleteLayoutV3(props: DeleteLayoutV3Props): Promise<DeleteLayoutV3OkResponse>;
13
+ /**
14
+ * Delete layout V3.
15
+ */
16
+ export declare function useDeleteLayoutV3Mutation(options?: Omit<UseMutationOptions<DeleteLayoutV3OkResponse, DeleteLayoutV3ErrorResponse, DeleteLayoutV3Props>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteLayoutV3OkResponse, unknown, DeleteLayoutV3Props, 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 '../../../../custom-idp-fetcher/index.js';
6
+ export function deleteLayoutV3(props) {
7
+ return fetcher(Object.assign({ url: `/v3/layout`, method: 'DELETE' }, props));
8
+ }
9
+ /**
10
+ * Delete layout V3.
11
+ */
12
+ export function useDeleteLayoutV3Mutation(options) {
13
+ return useMutation((mutateProps) => deleteLayoutV3(mutateProps), options);
14
+ }
@@ -6,6 +6,8 @@ export interface GetBlueprintEnvironmentsQueryPathParams {
6
6
  identifier: string;
7
7
  }
8
8
  export interface GetBlueprintEnvironmentsQueryQueryParams {
9
+ orgIdentifier?: string;
10
+ projectIdentifier?: string;
9
11
  page?: number;
10
12
  /**
11
13
  * @default 10
@@ -3,13 +3,18 @@ import type { EnvironmentBlueprintInfoResponseResponse } from '../responses/Envi
3
3
  import type { EnvironmentBlueprintInfoRequestRequestBody } from '../requestBodies/EnvironmentBlueprintInfoRequestRequestBody';
4
4
  import type { ResponseWithPagination } from '../helpers';
5
5
  import { FetcherOptions } from '../../../../custom-idp-fetcher/index.js';
6
+ export interface GetEnvironmentBlueprintInfoMutationQueryParams {
7
+ orgIdentifier?: string;
8
+ projectIdentifier?: string;
9
+ }
6
10
  export interface GetEnvironmentBlueprintInfoMutationHeaderParams {
7
11
  'Harness-Account'?: string;
8
12
  }
9
13
  export type GetEnvironmentBlueprintInfoRequestBody = EnvironmentBlueprintInfoRequestRequestBody;
10
14
  export type GetEnvironmentBlueprintInfoOkResponse = ResponseWithPagination<EnvironmentBlueprintInfoResponseResponse>;
11
15
  export type GetEnvironmentBlueprintInfoErrorResponse = unknown;
12
- export interface GetEnvironmentBlueprintInfoProps extends Omit<FetcherOptions<unknown, GetEnvironmentBlueprintInfoRequestBody, GetEnvironmentBlueprintInfoMutationHeaderParams>, 'url'> {
16
+ export interface GetEnvironmentBlueprintInfoProps extends Omit<FetcherOptions<GetEnvironmentBlueprintInfoMutationQueryParams, GetEnvironmentBlueprintInfoRequestBody, GetEnvironmentBlueprintInfoMutationHeaderParams>, 'url'> {
17
+ queryParams: GetEnvironmentBlueprintInfoMutationQueryParams;
13
18
  body: GetEnvironmentBlueprintInfoRequestBody;
14
19
  }
15
20
  export declare function getEnvironmentBlueprintInfo(props: GetEnvironmentBlueprintInfoProps): Promise<GetEnvironmentBlueprintInfoOkResponse>;
@@ -5,12 +5,16 @@ import { FetcherOptions } from '../../../../custom-idp-fetcher/index.js';
5
5
  export interface GetKindQueryPathParams {
6
6
  identifier: string;
7
7
  }
8
+ export interface GetKindQueryQueryParams {
9
+ custom?: boolean;
10
+ }
8
11
  export interface GetKindQueryHeaderParams {
9
12
  'Harness-Account'?: string;
10
13
  }
11
14
  export type GetKindOkResponse = ResponseWithPagination<KindResponseBodyResponse>;
12
15
  export type GetKindErrorResponse = unknown;
13
- export interface GetKindProps extends GetKindQueryPathParams, Omit<FetcherOptions<unknown, unknown, GetKindQueryHeaderParams>, 'url'> {
16
+ export interface GetKindProps extends GetKindQueryPathParams, Omit<FetcherOptions<GetKindQueryQueryParams, unknown, GetKindQueryHeaderParams>, 'url'> {
17
+ queryParams: GetKindQueryQueryParams;
14
18
  }
15
19
  export declare function getKind(props: GetKindProps): Promise<GetKindOkResponse>;
16
20
  /**
@@ -10,5 +10,5 @@ export function getKind(props) {
10
10
  * Get Kind.
11
11
  */
12
12
  export function useGetKindQuery(props, options) {
13
- return useQuery(['get-kind', props.identifier], ({ signal }) => getKind(Object.assign(Object.assign({}, props), { signal })), options);
13
+ return useQuery(['get-kind', props.identifier, props.queryParams], ({ signal }) => getKind(Object.assign(Object.assign({}, props), { signal })), options);
14
14
  }
@@ -10,6 +10,7 @@ export interface GetKindsQueryQueryParams {
10
10
  limit?: number;
11
11
  sort?: string;
12
12
  search_term?: string;
13
+ custom?: boolean;
13
14
  }
14
15
  export interface GetKindsQueryHeaderParams {
15
16
  'Harness-Account'?: string;
@@ -0,0 +1,16 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { LayoutResponseResponse } from '../responses/LayoutResponseResponse';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../custom-idp-fetcher/index.js';
5
+ export interface GetLayoutHealthV3QueryHeaderParams {
6
+ 'Harness-Account'?: string;
7
+ }
8
+ export type GetLayoutHealthV3OkResponse = ResponseWithPagination<LayoutResponseResponse>;
9
+ export type GetLayoutHealthV3ErrorResponse = unknown;
10
+ export interface GetLayoutHealthV3Props extends Omit<FetcherOptions<unknown, unknown, GetLayoutHealthV3QueryHeaderParams>, 'url'> {
11
+ }
12
+ export declare function getLayoutHealthV3(props: GetLayoutHealthV3Props): Promise<GetLayoutHealthV3OkResponse>;
13
+ /**
14
+ * Get Layout Health V3.
15
+ */
16
+ export declare function useGetLayoutHealthV3Query(props: GetLayoutHealthV3Props, options?: Omit<UseQueryOptions<GetLayoutHealthV3OkResponse, GetLayoutHealthV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetLayoutHealthV3OkResponse, 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 { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../custom-idp-fetcher/index.js';
6
+ export function getLayoutHealthV3(props) {
7
+ return fetcher(Object.assign({ url: `/v3/layout/health`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Get Layout Health V3.
11
+ */
12
+ export function useGetLayoutHealthV3Query(props, options) {
13
+ return useQuery(['get-layout-health-v3'], ({ signal }) => getLayoutHealthV3(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,19 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { LayoutResponseResponse } from '../responses/LayoutResponseResponse';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../custom-idp-fetcher/index.js';
5
+ export interface GetLayoutV3QueryPathParams {
6
+ 'layout-identifier': string;
7
+ }
8
+ export interface GetLayoutV3QueryHeaderParams {
9
+ 'Harness-Account'?: string;
10
+ }
11
+ export type GetLayoutV3OkResponse = ResponseWithPagination<LayoutResponseResponse>;
12
+ export type GetLayoutV3ErrorResponse = unknown;
13
+ export interface GetLayoutV3Props extends GetLayoutV3QueryPathParams, Omit<FetcherOptions<unknown, unknown, GetLayoutV3QueryHeaderParams>, 'url'> {
14
+ }
15
+ export declare function getLayoutV3(props: GetLayoutV3Props): Promise<GetLayoutV3OkResponse>;
16
+ /**
17
+ * Get Layout V3.
18
+ */
19
+ export declare function useGetLayoutV3Query(props: GetLayoutV3Props, options?: Omit<UseQueryOptions<GetLayoutV3OkResponse, GetLayoutV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetLayoutV3OkResponse, 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 { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../custom-idp-fetcher/index.js';
6
+ export function getLayoutV3(props) {
7
+ return fetcher(Object.assign({ url: `/v3/layout/${props['layout-identifier']}`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Get Layout V3.
11
+ */
12
+ export function useGetLayoutV3Query(props, options) {
13
+ return useQuery(['get-layout-v3', props['layout-identifier']], ({ signal }) => getLayoutV3(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,16 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { LayoutResponseResponse } from '../responses/LayoutResponseResponse';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../custom-idp-fetcher/index.js';
5
+ export interface GetLayoutsV3QueryHeaderParams {
6
+ 'Harness-Account'?: string;
7
+ }
8
+ export type GetLayoutsV3OkResponse = ResponseWithPagination<LayoutResponseResponse>;
9
+ export type GetLayoutsV3ErrorResponse = unknown;
10
+ export interface GetLayoutsV3Props extends Omit<FetcherOptions<unknown, unknown, GetLayoutsV3QueryHeaderParams>, 'url'> {
11
+ }
12
+ export declare function getLayoutsV3(props: GetLayoutsV3Props): Promise<GetLayoutsV3OkResponse>;
13
+ /**
14
+ * Get Layouts V3.
15
+ */
16
+ export declare function useGetLayoutsV3Query(props: GetLayoutsV3Props, options?: Omit<UseQueryOptions<GetLayoutsV3OkResponse, GetLayoutsV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetLayoutsV3OkResponse, 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 { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../custom-idp-fetcher/index.js';
6
+ export function getLayoutsV3(props) {
7
+ return fetcher(Object.assign({ url: `/v3/layout`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Get Layouts V3.
11
+ */
12
+ export function useGetLayoutsV3Query(props, options) {
13
+ return useQuery(['get-layouts-v3'], ({ signal }) => getLayoutsV3(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,16 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { LayoutResponseResponse } from '../responses/LayoutResponseResponse';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../custom-idp-fetcher/index.js';
5
+ export interface GetLayoutsV4QueryHeaderParams {
6
+ 'Harness-Account'?: string;
7
+ }
8
+ export type GetLayoutsV4OkResponse = ResponseWithPagination<LayoutResponseResponse>;
9
+ export type GetLayoutsV4ErrorResponse = unknown;
10
+ export interface GetLayoutsV4Props extends Omit<FetcherOptions<unknown, unknown, GetLayoutsV4QueryHeaderParams>, 'url'> {
11
+ }
12
+ export declare function getLayoutsV4(props: GetLayoutsV4Props): Promise<GetLayoutsV4OkResponse>;
13
+ /**
14
+ * Get Layouts V4.
15
+ */
16
+ export declare function useGetLayoutsV4Query(props: GetLayoutsV4Props, options?: Omit<UseQueryOptions<GetLayoutsV4OkResponse, GetLayoutsV4ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetLayoutsV4OkResponse, 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 { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../custom-idp-fetcher/index.js';
6
+ export function getLayoutsV4(props) {
7
+ return fetcher(Object.assign({ url: `/v4/layout`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Get Layouts V4.
11
+ */
12
+ export function useGetLayoutsV4Query(props, options) {
13
+ return useQuery(['get-layouts-v4'], ({ signal }) => getLayoutsV4(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,19 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { LayoutResponseResponse } from '../responses/LayoutResponseResponse';
3
+ import type { LayoutIngestRequest } from '../schemas/LayoutIngestRequest';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../custom-idp-fetcher/index.js';
6
+ export interface LayoutIngestV3MutationHeaderParams {
7
+ 'Harness-Account'?: string;
8
+ }
9
+ export type LayoutIngestV3RequestBody = LayoutIngestRequest;
10
+ export type LayoutIngestV3OkResponse = ResponseWithPagination<LayoutResponseResponse>;
11
+ export type LayoutIngestV3ErrorResponse = unknown;
12
+ export interface LayoutIngestV3Props extends Omit<FetcherOptions<unknown, LayoutIngestV3RequestBody, LayoutIngestV3MutationHeaderParams>, 'url'> {
13
+ body: LayoutIngestV3RequestBody;
14
+ }
15
+ export declare function layoutIngestV3(props: LayoutIngestV3Props): Promise<LayoutIngestV3OkResponse>;
16
+ /**
17
+ * Ingest layout V3.
18
+ */
19
+ export declare function useLayoutIngestV3Mutation(options?: Omit<UseMutationOptions<LayoutIngestV3OkResponse, LayoutIngestV3ErrorResponse, LayoutIngestV3Props>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<LayoutIngestV3OkResponse, unknown, LayoutIngestV3Props, 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 '../../../../custom-idp-fetcher/index.js';
6
+ export function layoutIngestV3(props) {
7
+ return fetcher(Object.assign({ url: `/v3/layout/ingest`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Ingest layout V3.
11
+ */
12
+ export function useLayoutIngestV3Mutation(options) {
13
+ return useMutation((mutateProps) => layoutIngestV3(mutateProps), options);
14
+ }
@@ -27,6 +27,8 @@ export type { CreateKindErrorResponse, CreateKindOkResponse, CreateKindProps, Cr
27
27
  export { createKind, useCreateKindMutation } from './hooks/useCreateKindMutation';
28
28
  export type { CreateLayoutErrorResponse, CreateLayoutOkResponse, CreateLayoutProps, CreateLayoutRequestBody, } from './hooks/useCreateLayoutMutation';
29
29
  export { createLayout, useCreateLayoutMutation } from './hooks/useCreateLayoutMutation';
30
+ export type { CreateLayoutV3ErrorResponse, CreateLayoutV3OkResponse, CreateLayoutV3Props, CreateLayoutV3RequestBody, } from './hooks/useCreateLayoutV3Mutation';
31
+ export { createLayoutV3, useCreateLayoutV3Mutation } from './hooks/useCreateLayoutV3Mutation';
30
32
  export type { CreateOrUpdateEntityTableErrorResponse, CreateOrUpdateEntityTableMutationQueryParams, CreateOrUpdateEntityTableOkResponse, CreateOrUpdateEntityTableProps, CreateOrUpdateEntityTableRequestBody, } from './hooks/useCreateOrUpdateEntityTableMutation';
31
33
  export { createOrUpdateEntityTable, useCreateOrUpdateEntityTableMutation, } from './hooks/useCreateOrUpdateEntityTableMutation';
32
34
  export type { CreatePluginRequestV2ErrorResponse, CreatePluginRequestV2OkResponse, CreatePluginRequestV2Props, CreatePluginRequestV2RequestBody, } from './hooks/useCreatePluginRequestV2Mutation';
@@ -59,6 +61,8 @@ export type { DeleteKindErrorResponse, DeleteKindMutationPathParams, DeleteKindO
59
61
  export { deleteKind, useDeleteKindMutation } from './hooks/useDeleteKindMutation';
60
62
  export type { DeleteLayoutErrorResponse, DeleteLayoutOkResponse, DeleteLayoutProps, } from './hooks/useDeleteLayoutMutation';
61
63
  export { deleteLayout, useDeleteLayoutMutation } from './hooks/useDeleteLayoutMutation';
64
+ export type { DeleteLayoutV3ErrorResponse, DeleteLayoutV3OkResponse, DeleteLayoutV3Props, } from './hooks/useDeleteLayoutV3Mutation';
65
+ export { deleteLayoutV3, useDeleteLayoutV3Mutation } from './hooks/useDeleteLayoutV3Mutation';
62
66
  export type { DeleteScorecardErrorResponse, DeleteScorecardMutationPathParams, DeleteScorecardOkResponse, DeleteScorecardProps, } from './hooks/useDeleteScorecardMutation';
63
67
  export { deleteScorecard, useDeleteScorecardMutation } from './hooks/useDeleteScorecardMutation';
64
68
  export type { DiscoverEntitiesErrorResponse, DiscoverEntitiesOkResponse, DiscoverEntitiesProps, DiscoverEntitiesQueryPathParams, DiscoverEntitiesQueryQueryParams, } from './hooks/useDiscoverEntitiesQuery';
@@ -135,7 +139,7 @@ export type { GetEntityVersionErrorResponse, GetEntityVersionOkResponse, GetEnti
135
139
  export { getEntityVersion, useGetEntityVersionQuery } from './hooks/useGetEntityVersionQuery';
136
140
  export type { GetEntityVersionsErrorResponse, GetEntityVersionsOkResponse, GetEntityVersionsProps, GetEntityVersionsQueryPathParams, GetEntityVersionsQueryQueryParams, } from './hooks/useGetEntityVersionsQuery';
137
141
  export { getEntityVersions, useGetEntityVersionsQuery } from './hooks/useGetEntityVersionsQuery';
138
- export type { GetEnvironmentBlueprintInfoErrorResponse, GetEnvironmentBlueprintInfoOkResponse, GetEnvironmentBlueprintInfoProps, GetEnvironmentBlueprintInfoRequestBody, } from './hooks/useGetEnvironmentBlueprintInfoMutation';
142
+ export type { GetEnvironmentBlueprintInfoErrorResponse, GetEnvironmentBlueprintInfoMutationQueryParams, GetEnvironmentBlueprintInfoOkResponse, GetEnvironmentBlueprintInfoProps, GetEnvironmentBlueprintInfoRequestBody, } from './hooks/useGetEnvironmentBlueprintInfoMutation';
139
143
  export { getEnvironmentBlueprintInfo, useGetEnvironmentBlueprintInfoMutation, } from './hooks/useGetEnvironmentBlueprintInfoMutation';
140
144
  export type { GetGroupDetailsErrorResponse, GetGroupDetailsOkResponse, GetGroupDetailsProps, GetGroupDetailsQueryPathParams, GetGroupDetailsQueryQueryParams, } from './hooks/useGetGroupDetailsQuery';
141
145
  export { getGroupDetails, useGetGroupDetailsQuery } from './hooks/useGetGroupDetailsQuery';
@@ -153,14 +157,22 @@ export type { GetIntegrationsErrorResponse, GetIntegrationsOkResponse, GetIntegr
153
157
  export { getIntegrations, useGetIntegrationsQuery } from './hooks/useGetIntegrationsQuery';
154
158
  export type { GetJsonSchemaErrorResponse, GetJsonSchemaOkResponse, GetJsonSchemaProps, GetJsonSchemaQueryQueryParams, } from './hooks/useGetJsonSchemaQuery';
155
159
  export { getJsonSchema, useGetJsonSchemaQuery } from './hooks/useGetJsonSchemaQuery';
156
- export type { GetKindErrorResponse, GetKindOkResponse, GetKindProps, GetKindQueryPathParams, } from './hooks/useGetKindQuery';
160
+ export type { GetKindErrorResponse, GetKindOkResponse, GetKindProps, GetKindQueryPathParams, GetKindQueryQueryParams, } from './hooks/useGetKindQuery';
157
161
  export { getKind, useGetKindQuery } from './hooks/useGetKindQuery';
158
162
  export type { GetKindSchemaErrorResponse, GetKindSchemaOkResponse, GetKindSchemaProps, } from './hooks/useGetKindSchemaQuery';
159
163
  export { getKindSchema, useGetKindSchemaQuery } from './hooks/useGetKindSchemaQuery';
160
164
  export type { GetKindsErrorResponse, GetKindsOkResponse, GetKindsProps, GetKindsQueryQueryParams, } from './hooks/useGetKindsQuery';
161
165
  export { getKinds, useGetKindsQuery } from './hooks/useGetKindsQuery';
166
+ export type { GetLayoutHealthV3ErrorResponse, GetLayoutHealthV3OkResponse, GetLayoutHealthV3Props, } from './hooks/useGetLayoutHealthV3Query';
167
+ export { getLayoutHealthV3, useGetLayoutHealthV3Query } from './hooks/useGetLayoutHealthV3Query';
162
168
  export type { GetLayoutErrorResponse, GetLayoutOkResponse, GetLayoutProps, GetLayoutQueryPathParams, } from './hooks/useGetLayoutQuery';
163
169
  export { getLayout, useGetLayoutQuery } from './hooks/useGetLayoutQuery';
170
+ export type { GetLayoutV3ErrorResponse, GetLayoutV3OkResponse, GetLayoutV3Props, GetLayoutV3QueryPathParams, } from './hooks/useGetLayoutV3Query';
171
+ export { getLayoutV3, useGetLayoutV3Query } from './hooks/useGetLayoutV3Query';
172
+ export type { GetLayoutsV3ErrorResponse, GetLayoutsV3OkResponse, GetLayoutsV3Props, } from './hooks/useGetLayoutsV3Query';
173
+ export { getLayoutsV3, useGetLayoutsV3Query } from './hooks/useGetLayoutsV3Query';
174
+ export type { GetLayoutsV4ErrorResponse, GetLayoutsV4OkResponse, GetLayoutsV4Props, } from './hooks/useGetLayoutsV4Query';
175
+ export { getLayoutsV4, useGetLayoutsV4Query } from './hooks/useGetLayoutsV4Query';
164
176
  export type { GetMergedPluginsConfigErrorResponse, GetMergedPluginsConfigOkResponse, GetMergedPluginsConfigProps, } from './hooks/useGetMergedPluginsConfigQuery';
165
177
  export { getMergedPluginsConfig, useGetMergedPluginsConfigQuery, } from './hooks/useGetMergedPluginsConfigQuery';
166
178
  export type { GetOnboardingStatusErrorResponse, GetOnboardingStatusOkResponse, GetOnboardingStatusProps, } from './hooks/useGetOnboardingStatusQuery';
@@ -195,6 +207,8 @@ export type { KindSchemaValidateErrorResponse, KindSchemaValidateOkResponse, Kin
195
207
  export { kindSchemaValidate, useKindSchemaValidateMutation, } from './hooks/useKindSchemaValidateMutation';
196
208
  export type { LayoutIngestErrorResponse, LayoutIngestOkResponse, LayoutIngestProps, LayoutIngestRequestBody, } from './hooks/useLayoutIngestMutation';
197
209
  export { layoutIngest, useLayoutIngestMutation } from './hooks/useLayoutIngestMutation';
210
+ export type { LayoutIngestV3ErrorResponse, LayoutIngestV3OkResponse, LayoutIngestV3Props, LayoutIngestV3RequestBody, } from './hooks/useLayoutIngestV3Mutation';
211
+ export { layoutIngestV3, useLayoutIngestV3Mutation } from './hooks/useLayoutIngestV3Mutation';
198
212
  export type { MoveEntityErrorResponse, MoveEntityMutationPathParams, MoveEntityMutationQueryParams, MoveEntityOkResponse, MoveEntityProps, MoveEntityRequestBody, } from './hooks/useMoveEntityMutation';
199
213
  export { moveEntity, useMoveEntityMutation } from './hooks/useMoveEntityMutation';
200
214
  export type { OnboardingGenerateYamlErrorResponse, OnboardingGenerateYamlOkResponse, OnboardingGenerateYamlProps, OnboardingGenerateYamlRequestBody, } from './hooks/useOnboardingGenerateYamlMutation';
@@ -12,6 +12,7 @@ export { createEntityVersion, useCreateEntityVersionMutation, } from './hooks/us
12
12
  export { createIntegration, useCreateIntegrationMutation, } from './hooks/useCreateIntegrationMutation';
13
13
  export { createKind, useCreateKindMutation } from './hooks/useCreateKindMutation';
14
14
  export { createLayout, useCreateLayoutMutation } from './hooks/useCreateLayoutMutation';
15
+ export { createLayoutV3, useCreateLayoutV3Mutation } from './hooks/useCreateLayoutV3Mutation';
15
16
  export { createOrUpdateEntityTable, useCreateOrUpdateEntityTableMutation, } from './hooks/useCreateOrUpdateEntityTableMutation';
16
17
  export { createPluginRequestV2, useCreatePluginRequestV2Mutation, } from './hooks/useCreatePluginRequestV2Mutation';
17
18
  export { createScorecard, useCreateScorecardMutation } from './hooks/useCreateScorecardMutation';
@@ -28,6 +29,7 @@ export { deleteHeadersQuickLinksIcon, useDeleteHeadersQuickLinksIconMutation, }
28
29
  export { deleteHomePageLayoutCardsIcon, useDeleteHomePageLayoutCardsIconMutation, } from './hooks/useDeleteHomePageLayoutCardsIconMutation';
29
30
  export { deleteKind, useDeleteKindMutation } from './hooks/useDeleteKindMutation';
30
31
  export { deleteLayout, useDeleteLayoutMutation } from './hooks/useDeleteLayoutMutation';
32
+ export { deleteLayoutV3, useDeleteLayoutV3Mutation } from './hooks/useDeleteLayoutV3Mutation';
31
33
  export { deleteScorecard, useDeleteScorecardMutation } from './hooks/useDeleteScorecardMutation';
32
34
  export { discoverEntities, useDiscoverEntitiesQuery } from './hooks/useDiscoverEntitiesQuery';
33
35
  export { generateYamlDef, useGenerateYamlDefMutation } from './hooks/useGenerateYamlDefMutation';
@@ -78,7 +80,11 @@ export { getJsonSchema, useGetJsonSchemaQuery } from './hooks/useGetJsonSchemaQu
78
80
  export { getKind, useGetKindQuery } from './hooks/useGetKindQuery';
79
81
  export { getKindSchema, useGetKindSchemaQuery } from './hooks/useGetKindSchemaQuery';
80
82
  export { getKinds, useGetKindsQuery } from './hooks/useGetKindsQuery';
83
+ export { getLayoutHealthV3, useGetLayoutHealthV3Query } from './hooks/useGetLayoutHealthV3Query';
81
84
  export { getLayout, useGetLayoutQuery } from './hooks/useGetLayoutQuery';
85
+ export { getLayoutV3, useGetLayoutV3Query } from './hooks/useGetLayoutV3Query';
86
+ export { getLayoutsV3, useGetLayoutsV3Query } from './hooks/useGetLayoutsV3Query';
87
+ export { getLayoutsV4, useGetLayoutsV4Query } from './hooks/useGetLayoutsV4Query';
82
88
  export { getMergedPluginsConfig, useGetMergedPluginsConfigQuery, } from './hooks/useGetMergedPluginsConfigQuery';
83
89
  export { getOnboardingStatus, useGetOnboardingStatusQuery, } from './hooks/useGetOnboardingStatusQuery';
84
90
  export { getPluginRequestV2, useGetPluginRequestV2Query } from './hooks/useGetPluginRequestV2Query';
@@ -96,6 +102,7 @@ export { importEntity, useImportEntityMutation } from './hooks/useImportEntityMu
96
102
  export { importHarnessEntities, useImportHarnessEntitiesMutation, } from './hooks/useImportHarnessEntitiesMutation';
97
103
  export { kindSchemaValidate, useKindSchemaValidateMutation, } from './hooks/useKindSchemaValidateMutation';
98
104
  export { layoutIngest, useLayoutIngestMutation } from './hooks/useLayoutIngestMutation';
105
+ export { layoutIngestV3, useLayoutIngestV3Mutation } from './hooks/useLayoutIngestV3Mutation';
99
106
  export { moveEntity, useMoveEntityMutation } from './hooks/useMoveEntityMutation';
100
107
  export { onboardingGenerateYaml, useOnboardingGenerateYamlMutation, } from './hooks/useOnboardingGenerateYamlMutation';
101
108
  export { postOnboardingSkip, usePostOnboardingSkipMutation, } from './hooks/usePostOnboardingSkipMutation';
@@ -30,6 +30,8 @@ export interface EntityResponse {
30
30
  }>;
31
31
  identifier: string;
32
32
  kind: 'aiasset' | 'aidependency' | 'api' | 'component' | 'environment' | 'environmentblueprint' | 'group' | 'hierarchy' | 'resource' | 'system' | 'user' | 'workflow';
33
+ kind_icon?: string;
34
+ kind_identifier?: string;
33
35
  lifecycle?: string;
34
36
  metadata?: {
35
37
  [key: string]: any;
@@ -2,6 +2,7 @@
2
2
  * Kind Response Body
3
3
  */
4
4
  export interface KindResponseBody {
5
+ custom?: boolean;
5
6
  description?: string;
6
7
  icon?: string;
7
8
  identifier: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-idp-service-client",
3
- "version": "0.96.3",
3
+ "version": "0.98.0",
4
4
  "description": "Harness React idp service client - IDP APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",