@harnessio/react-idp-service-client 0.96.2 → 0.97.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 (23) 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/useGetLayoutHealthV3Query.d.ts +16 -0
  6. package/dist/idp-service/src/services/hooks/useGetLayoutHealthV3Query.js +14 -0
  7. package/dist/idp-service/src/services/hooks/useGetLayoutV3Query.d.ts +19 -0
  8. package/dist/idp-service/src/services/hooks/useGetLayoutV3Query.js +14 -0
  9. package/dist/idp-service/src/services/hooks/useGetLayoutsV3Query.d.ts +16 -0
  10. package/dist/idp-service/src/services/hooks/useGetLayoutsV3Query.js +14 -0
  11. package/dist/idp-service/src/services/hooks/useGetLayoutsV4Query.d.ts +16 -0
  12. package/dist/idp-service/src/services/hooks/useGetLayoutsV4Query.js +14 -0
  13. package/dist/idp-service/src/services/hooks/useLayoutIngestV3Mutation.d.ts +19 -0
  14. package/dist/idp-service/src/services/hooks/useLayoutIngestV3Mutation.js +14 -0
  15. package/dist/idp-service/src/services/index.d.ts +15 -0
  16. package/dist/idp-service/src/services/index.js +7 -0
  17. package/dist/idp-service/src/services/schemas/AggregationRule.d.ts +2 -0
  18. package/dist/idp-service/src/services/schemas/AggregationRuleDetails.d.ts +2 -0
  19. package/dist/idp-service/src/services/schemas/AggregationType.d.ts +2 -0
  20. package/dist/idp-service/src/services/schemas/AggregationType.js +4 -0
  21. package/dist/idp-service/src/services/schemas/EntityResponse.d.ts +2 -0
  22. package/dist/idp-service/src/services/schemas/SaveDiscoverEntitiesRequest.d.ts +1 -0
  23. 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
+ }
@@ -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';
@@ -159,8 +163,16 @@ export type { GetKindSchemaErrorResponse, GetKindSchemaOkResponse, GetKindSchema
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';
@@ -389,6 +403,7 @@ export type { AggregationRuleResponse } from './schemas/AggregationRuleResponse'
389
403
  export type { AggregationScopeLevel } from './schemas/AggregationScopeLevel';
390
404
  export type { AggregationSelectionReviewRequest } from './schemas/AggregationSelectionReviewRequest';
391
405
  export type { AggregationSelectionReviewResponse } from './schemas/AggregationSelectionReviewResponse';
406
+ export type { AggregationType } from './schemas/AggregationType';
392
407
  export type { AllowListRequest } from './schemas/AllowListRequest';
393
408
  export type { AllowListResponse } from './schemas/AllowListResponse';
394
409
  export type { AppConfig } from './schemas/AppConfig';
@@ -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';
@@ -1,8 +1,10 @@
1
1
  import type { AggFormula } from '../schemas/AggFormula';
2
+ import type { AggregationType } from '../schemas/AggregationType';
2
3
  import type { AggregationComputeStatus } from '../schemas/AggregationComputeStatus';
3
4
  import type { AggregationScopeLevel } from '../schemas/AggregationScopeLevel';
4
5
  export interface AggregationRule {
5
6
  agg_formula: AggFormula;
7
+ aggregation_type: AggregationType;
6
8
  description?: string;
7
9
  field_for_agg: string;
8
10
  identifier: string;
@@ -1,9 +1,11 @@
1
1
  import type { AggFormula } from '../schemas/AggFormula';
2
+ import type { AggregationType } from '../schemas/AggregationType';
2
3
  import type { AggregationEntitySelectionCriteria } from '../schemas/AggregationEntitySelectionCriteria';
3
4
  import type { AggregationComputeStatus } from '../schemas/AggregationComputeStatus';
4
5
  import type { AggregationScopeLevel } from '../schemas/AggregationScopeLevel';
5
6
  export interface AggregationRuleDetails {
6
7
  agg_formula: AggFormula;
8
+ aggregation_type: AggregationType;
7
9
  description?: string;
8
10
  entity_selection_criteria?: AggregationEntitySelectionCriteria;
9
11
  /**
@@ -0,0 +1,2 @@
1
+ export interface AggregationType {
2
+ }
@@ -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 {};
@@ -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;
@@ -4,6 +4,7 @@ export interface SaveDiscoverEntitiesRequest {
4
4
  integration_entities: Array<{
5
5
  action?: 'MERGE' | 'REGISTER';
6
6
  action_destination?: string;
7
+ action_identifier?: string;
7
8
  integration_entity_id?: string;
8
9
  type?: string;
9
10
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-idp-service-client",
3
- "version": "0.96.2",
3
+ "version": "0.97.0",
4
4
  "description": "Harness React idp service client - IDP APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",