@harnessio/react-idp-service-client 0.91.0 → 0.92.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/useCreateKindMutation.d.ts +19 -0
  2. package/dist/idp-service/src/services/hooks/useCreateKindMutation.js +14 -0
  3. package/dist/idp-service/src/services/hooks/useDeleteKindMutation.d.ts +18 -0
  4. package/dist/idp-service/src/services/hooks/useDeleteKindMutation.js +14 -0
  5. package/dist/idp-service/src/services/hooks/useGetKindQuery.d.ts +19 -0
  6. package/dist/idp-service/src/services/hooks/useGetKindQuery.js +14 -0
  7. package/dist/idp-service/src/services/hooks/useGetKindsQuery.d.ts +26 -0
  8. package/dist/idp-service/src/services/hooks/useGetKindsQuery.js +14 -0
  9. package/dist/idp-service/src/services/hooks/useUpdateKindMutation.d.ts +22 -0
  10. package/dist/idp-service/src/services/hooks/useUpdateKindMutation.js +14 -0
  11. package/dist/idp-service/src/services/index.d.ts +15 -0
  12. package/dist/idp-service/src/services/index.js +5 -0
  13. package/dist/idp-service/src/services/requestBodies/KindCreateRequestBodyRequestBody.d.ts +1 -0
  14. package/dist/idp-service/src/services/requestBodies/KindCreateRequestBodyRequestBody.js +1 -0
  15. package/dist/idp-service/src/services/requestBodies/KindUpdateRequestBodyRequestBody.d.ts +1 -0
  16. package/dist/idp-service/src/services/requestBodies/KindUpdateRequestBodyRequestBody.js +1 -0
  17. package/dist/idp-service/src/services/responses/KindResponseBodyListResponse.d.ts +2 -0
  18. package/dist/idp-service/src/services/responses/KindResponseBodyListResponse.js +1 -0
  19. package/dist/idp-service/src/services/responses/KindResponseBodyResponse.d.ts +2 -0
  20. package/dist/idp-service/src/services/responses/KindResponseBodyResponse.js +1 -0
  21. package/dist/idp-service/src/services/schemas/KindResponseBody.d.ts +10 -0
  22. package/dist/idp-service/src/services/schemas/KindResponseBody.js +4 -0
  23. package/package.json +1 -1
@@ -0,0 +1,19 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { KindResponseBodyResponse } from '../responses/KindResponseBodyResponse';
3
+ import type { KindCreateRequestBodyRequestBody } from '../requestBodies/KindCreateRequestBodyRequestBody';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../custom-idp-fetcher/index.js';
6
+ export interface CreateKindMutationHeaderParams {
7
+ 'Harness-Account'?: string;
8
+ }
9
+ export type CreateKindRequestBody = KindCreateRequestBodyRequestBody;
10
+ export type CreateKindOkResponse = ResponseWithPagination<KindResponseBodyResponse>;
11
+ export type CreateKindErrorResponse = unknown;
12
+ export interface CreateKindProps extends Omit<FetcherOptions<unknown, CreateKindRequestBody, CreateKindMutationHeaderParams>, 'url'> {
13
+ body: CreateKindRequestBody;
14
+ }
15
+ export declare function createKind(props: CreateKindProps): Promise<CreateKindOkResponse>;
16
+ /**
17
+ * Create a Kind.
18
+ */
19
+ export declare function useCreateKindMutation(options?: Omit<UseMutationOptions<CreateKindOkResponse, CreateKindErrorResponse, CreateKindProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateKindOkResponse, unknown, CreateKindProps, 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 createKind(props) {
7
+ return fetcher(Object.assign({ url: `/v1/kinds`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Create a Kind.
11
+ */
12
+ export function useCreateKindMutation(options) {
13
+ return useMutation((mutateProps) => createKind(mutateProps), options);
14
+ }
@@ -0,0 +1,18 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ResponseWithPagination } from '../helpers';
3
+ import { FetcherOptions } from '../../../../custom-idp-fetcher/index.js';
4
+ export interface DeleteKindMutationPathParams {
5
+ identifier: string;
6
+ }
7
+ export interface DeleteKindMutationHeaderParams {
8
+ 'Harness-Account'?: string;
9
+ }
10
+ export type DeleteKindOkResponse = ResponseWithPagination<unknown>;
11
+ export type DeleteKindErrorResponse = unknown;
12
+ export interface DeleteKindProps extends DeleteKindMutationPathParams, Omit<FetcherOptions<unknown, unknown, DeleteKindMutationHeaderParams>, 'url'> {
13
+ }
14
+ export declare function deleteKind(props: DeleteKindProps): Promise<DeleteKindOkResponse>;
15
+ /**
16
+ * Delete a Kind.
17
+ */
18
+ export declare function useDeleteKindMutation(options?: Omit<UseMutationOptions<DeleteKindOkResponse, DeleteKindErrorResponse, DeleteKindProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteKindOkResponse, unknown, DeleteKindProps, 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 deleteKind(props) {
7
+ return fetcher(Object.assign({ url: `/v1/kinds/${props.identifier}`, method: 'DELETE' }, props));
8
+ }
9
+ /**
10
+ * Delete a Kind.
11
+ */
12
+ export function useDeleteKindMutation(options) {
13
+ return useMutation((mutateProps) => deleteKind(mutateProps), options);
14
+ }
@@ -0,0 +1,19 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { KindResponseBodyResponse } from '../responses/KindResponseBodyResponse';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../custom-idp-fetcher/index.js';
5
+ export interface GetKindQueryPathParams {
6
+ identifier: string;
7
+ }
8
+ export interface GetKindQueryHeaderParams {
9
+ 'Harness-Account'?: string;
10
+ }
11
+ export type GetKindOkResponse = ResponseWithPagination<KindResponseBodyResponse>;
12
+ export type GetKindErrorResponse = unknown;
13
+ export interface GetKindProps extends GetKindQueryPathParams, Omit<FetcherOptions<unknown, unknown, GetKindQueryHeaderParams>, 'url'> {
14
+ }
15
+ export declare function getKind(props: GetKindProps): Promise<GetKindOkResponse>;
16
+ /**
17
+ * Get Kind.
18
+ */
19
+ export declare function useGetKindQuery(props: GetKindProps, options?: Omit<UseQueryOptions<GetKindOkResponse, GetKindErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetKindOkResponse, 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 getKind(props) {
7
+ return fetcher(Object.assign({ url: `/v1/kinds/${props.identifier}`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Get Kind.
11
+ */
12
+ export function useGetKindQuery(props, options) {
13
+ return useQuery(['get-kind', props.identifier], ({ signal }) => getKind(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,26 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { KindResponseBodyListResponse } from '../responses/KindResponseBodyListResponse';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../custom-idp-fetcher/index.js';
5
+ export interface GetKindsQueryQueryParams {
6
+ page?: number;
7
+ /**
8
+ * @default 10
9
+ */
10
+ limit?: number;
11
+ sort?: string;
12
+ search_term?: string;
13
+ }
14
+ export interface GetKindsQueryHeaderParams {
15
+ 'Harness-Account'?: string;
16
+ }
17
+ export type GetKindsOkResponse = ResponseWithPagination<KindResponseBodyListResponse>;
18
+ export type GetKindsErrorResponse = unknown;
19
+ export interface GetKindsProps extends Omit<FetcherOptions<GetKindsQueryQueryParams, unknown, GetKindsQueryHeaderParams>, 'url'> {
20
+ queryParams: GetKindsQueryQueryParams;
21
+ }
22
+ export declare function getKinds(props: GetKindsProps): Promise<GetKindsOkResponse>;
23
+ /**
24
+ * Get Kinds.
25
+ */
26
+ export declare function useGetKindsQuery(props: GetKindsProps, options?: Omit<UseQueryOptions<GetKindsOkResponse, GetKindsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetKindsOkResponse, 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 getKinds(props) {
7
+ return fetcher(Object.assign({ url: `/v1/kinds`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Get Kinds.
11
+ */
12
+ export function useGetKindsQuery(props, options) {
13
+ return useQuery(['get-kinds', props.queryParams], ({ signal }) => getKinds(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,22 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { KindResponseBodyResponse } from '../responses/KindResponseBodyResponse';
3
+ import type { KindUpdateRequestBodyRequestBody } from '../requestBodies/KindUpdateRequestBodyRequestBody';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../custom-idp-fetcher/index.js';
6
+ export interface UpdateKindMutationPathParams {
7
+ identifier: string;
8
+ }
9
+ export interface UpdateKindMutationHeaderParams {
10
+ 'Harness-Account'?: string;
11
+ }
12
+ export type UpdateKindRequestBody = KindUpdateRequestBodyRequestBody;
13
+ export type UpdateKindOkResponse = ResponseWithPagination<KindResponseBodyResponse>;
14
+ export type UpdateKindErrorResponse = unknown;
15
+ export interface UpdateKindProps extends UpdateKindMutationPathParams, Omit<FetcherOptions<unknown, UpdateKindRequestBody, UpdateKindMutationHeaderParams>, 'url'> {
16
+ body: UpdateKindRequestBody;
17
+ }
18
+ export declare function updateKind(props: UpdateKindProps): Promise<UpdateKindOkResponse>;
19
+ /**
20
+ * Update a Kind.
21
+ */
22
+ export declare function useUpdateKindMutation(options?: Omit<UseMutationOptions<UpdateKindOkResponse, UpdateKindErrorResponse, UpdateKindProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateKindOkResponse, unknown, UpdateKindProps, 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 updateKind(props) {
7
+ return fetcher(Object.assign({ url: `/v1/kinds/${props.identifier}`, method: 'PUT' }, props));
8
+ }
9
+ /**
10
+ * Update a Kind.
11
+ */
12
+ export function useUpdateKindMutation(options) {
13
+ return useMutation((mutateProps) => updateKind(mutateProps), options);
14
+ }
@@ -23,6 +23,8 @@ export type { CreateEntityVersionErrorResponse, CreateEntityVersionMutationQuery
23
23
  export { createEntityVersion, useCreateEntityVersionMutation, } from './hooks/useCreateEntityVersionMutation';
24
24
  export type { CreateIntegrationErrorResponse, CreateIntegrationMutationPathParams, CreateIntegrationMutationQueryParams, CreateIntegrationOkResponse, CreateIntegrationProps, CreateIntegrationRequestBody, } from './hooks/useCreateIntegrationMutation';
25
25
  export { createIntegration, useCreateIntegrationMutation, } from './hooks/useCreateIntegrationMutation';
26
+ export type { CreateKindErrorResponse, CreateKindOkResponse, CreateKindProps, CreateKindRequestBody, } from './hooks/useCreateKindMutation';
27
+ export { createKind, useCreateKindMutation } from './hooks/useCreateKindMutation';
26
28
  export type { CreateLayoutErrorResponse, CreateLayoutOkResponse, CreateLayoutProps, CreateLayoutRequestBody, } from './hooks/useCreateLayoutMutation';
27
29
  export { createLayout, useCreateLayoutMutation } from './hooks/useCreateLayoutMutation';
28
30
  export type { CreateOrUpdateEntityTableErrorResponse, CreateOrUpdateEntityTableMutationQueryParams, CreateOrUpdateEntityTableOkResponse, CreateOrUpdateEntityTableProps, CreateOrUpdateEntityTableRequestBody, } from './hooks/useCreateOrUpdateEntityTableMutation';
@@ -53,6 +55,8 @@ export type { DeleteHeadersQuickLinksIconErrorResponse, DeleteHeadersQuickLinksI
53
55
  export { deleteHeadersQuickLinksIcon, useDeleteHeadersQuickLinksIconMutation, } from './hooks/useDeleteHeadersQuickLinksIconMutation';
54
56
  export type { DeleteHomePageLayoutCardsIconErrorResponse, DeleteHomePageLayoutCardsIconMutationPathParams, DeleteHomePageLayoutCardsIconOkResponse, DeleteHomePageLayoutCardsIconProps, } from './hooks/useDeleteHomePageLayoutCardsIconMutation';
55
57
  export { deleteHomePageLayoutCardsIcon, useDeleteHomePageLayoutCardsIconMutation, } from './hooks/useDeleteHomePageLayoutCardsIconMutation';
58
+ export type { DeleteKindErrorResponse, DeleteKindMutationPathParams, DeleteKindOkResponse, DeleteKindProps, } from './hooks/useDeleteKindMutation';
59
+ export { deleteKind, useDeleteKindMutation } from './hooks/useDeleteKindMutation';
56
60
  export type { DeleteLayoutErrorResponse, DeleteLayoutOkResponse, DeleteLayoutProps, } from './hooks/useDeleteLayoutMutation';
57
61
  export { deleteLayout, useDeleteLayoutMutation } from './hooks/useDeleteLayoutMutation';
58
62
  export type { DeleteScorecardErrorResponse, DeleteScorecardMutationPathParams, DeleteScorecardOkResponse, DeleteScorecardProps, } from './hooks/useDeleteScorecardMutation';
@@ -147,6 +151,10 @@ export type { GetIntegrationsErrorResponse, GetIntegrationsOkResponse, GetIntegr
147
151
  export { getIntegrations, useGetIntegrationsQuery } from './hooks/useGetIntegrationsQuery';
148
152
  export type { GetJsonSchemaErrorResponse, GetJsonSchemaOkResponse, GetJsonSchemaProps, GetJsonSchemaQueryQueryParams, } from './hooks/useGetJsonSchemaQuery';
149
153
  export { getJsonSchema, useGetJsonSchemaQuery } from './hooks/useGetJsonSchemaQuery';
154
+ export type { GetKindErrorResponse, GetKindOkResponse, GetKindProps, GetKindQueryPathParams, } from './hooks/useGetKindQuery';
155
+ export { getKind, useGetKindQuery } from './hooks/useGetKindQuery';
156
+ export type { GetKindsErrorResponse, GetKindsOkResponse, GetKindsProps, GetKindsQueryQueryParams, } from './hooks/useGetKindsQuery';
157
+ export { getKinds, useGetKindsQuery } from './hooks/useGetKindsQuery';
150
158
  export type { GetLayoutErrorResponse, GetLayoutOkResponse, GetLayoutProps, GetLayoutQueryPathParams, } from './hooks/useGetLayoutQuery';
151
159
  export { getLayout, useGetLayoutQuery } from './hooks/useGetLayoutQuery';
152
160
  export type { GetMergedPluginsConfigErrorResponse, GetMergedPluginsConfigOkResponse, GetMergedPluginsConfigProps, } from './hooks/useGetMergedPluginsConfigQuery';
@@ -235,6 +243,8 @@ export type { UpdateGroupsErrorResponse, UpdateGroupsMutationQueryParams, Update
235
243
  export { updateGroups, useUpdateGroupsMutation } from './hooks/useUpdateGroupsMutation';
236
244
  export type { UpdateIntegrationErrorResponse, UpdateIntegrationMutationPathParams, UpdateIntegrationMutationQueryParams, UpdateIntegrationOkResponse, UpdateIntegrationProps, UpdateIntegrationRequestBody, } from './hooks/useUpdateIntegrationMutation';
237
245
  export { updateIntegration, useUpdateIntegrationMutation, } from './hooks/useUpdateIntegrationMutation';
246
+ export type { UpdateKindErrorResponse, UpdateKindMutationPathParams, UpdateKindOkResponse, UpdateKindProps, UpdateKindRequestBody, } from './hooks/useUpdateKindMutation';
247
+ export { updateKind, useUpdateKindMutation } from './hooks/useUpdateKindMutation';
238
248
  export type { UpdatePluginRequestV2ErrorResponse, UpdatePluginRequestV2MutationPathParams, UpdatePluginRequestV2OkResponse, UpdatePluginRequestV2Props, UpdatePluginRequestV2RequestBody, } from './hooks/useUpdatePluginRequestV2Mutation';
239
249
  export { updatePluginRequestV2, useUpdatePluginRequestV2Mutation, } from './hooks/useUpdatePluginRequestV2Mutation';
240
250
  export type { UpdateScorecardErrorResponse, UpdateScorecardMutationPathParams, UpdateScorecardOkResponse, UpdateScorecardProps, UpdateScorecardRequestBody, } from './hooks/useUpdateScorecardMutation';
@@ -268,6 +278,8 @@ export type { GroupRequestRequestBody } from './requestBodies/GroupRequestReques
268
278
  export type { HomePageLayoutRequestRequestBody } from './requestBodies/HomePageLayoutRequestRequestBody';
269
279
  export type { ImportHarnessEntitiesRequestRequestBody } from './requestBodies/ImportHarnessEntitiesRequestRequestBody';
270
280
  export type { IntegrationRequestRequestBody } from './requestBodies/IntegrationRequestRequestBody';
281
+ export type { KindCreateRequestBodyRequestBody } from './requestBodies/KindCreateRequestBodyRequestBody';
282
+ export type { KindUpdateRequestBodyRequestBody } from './requestBodies/KindUpdateRequestBodyRequestBody';
271
283
  export type { OnboardingCdEntitiesFetchRequestRequestBody } from './requestBodies/OnboardingCdEntitiesFetchRequestRequestBody';
272
284
  export type { OnboardingGenerateYamlDefRequestRequestBody } from './requestBodies/OnboardingGenerateYamlDefRequestRequestBody';
273
285
  export type { OnboardingImportCdEntitiesRequestRequestBody } from './requestBodies/OnboardingImportCdEntitiesRequestRequestBody';
@@ -326,6 +338,8 @@ export type { ImportEntitiesResponseResponse } from './responses/ImportEntitiesR
326
338
  export type { ImportedEntitiesResponseListResponse } from './responses/ImportedEntitiesResponseListResponse';
327
339
  export type { IntegrationResponseListResponse } from './responses/IntegrationResponseListResponse';
328
340
  export type { IntegrationResponseResponse } from './responses/IntegrationResponseResponse';
341
+ export type { KindResponseBodyListResponse } from './responses/KindResponseBodyListResponse';
342
+ export type { KindResponseBodyResponse } from './responses/KindResponseBodyResponse';
329
343
  export type { LayoutResponseResponse } from './responses/LayoutResponseResponse';
330
344
  export type { MergedPluginConfigResponseResponse } from './responses/MergedPluginConfigResponseResponse';
331
345
  export type { OnboardingCdEntitiesCountResponseResponse } from './responses/OnboardingCdEntitiesCountResponseResponse';
@@ -470,6 +484,7 @@ export type { ImportEntitiesResponse } from './schemas/ImportEntitiesResponse';
470
484
  export type { ImportedEntityResponse } from './schemas/ImportedEntityResponse';
471
485
  export type { InputDetails } from './schemas/InputDetails';
472
486
  export type { InputValue } from './schemas/InputValue';
487
+ export type { KindResponseBody } from './schemas/KindResponseBody';
473
488
  export type { LayoutIngestRequest } from './schemas/LayoutIngestRequest';
474
489
  export type { LayoutRequest } from './schemas/LayoutRequest';
475
490
  export type { LayoutResponse } from './schemas/LayoutResponse';
@@ -10,6 +10,7 @@ export { createCustomPluginsV2, useCreateCustomPluginsV2Mutation, } from './hook
10
10
  export { createEntity, useCreateEntityMutation } from './hooks/useCreateEntityMutation';
11
11
  export { createEntityVersion, useCreateEntityVersionMutation, } from './hooks/useCreateEntityVersionMutation';
12
12
  export { createIntegration, useCreateIntegrationMutation, } from './hooks/useCreateIntegrationMutation';
13
+ export { createKind, useCreateKindMutation } from './hooks/useCreateKindMutation';
13
14
  export { createLayout, useCreateLayoutMutation } from './hooks/useCreateLayoutMutation';
14
15
  export { createOrUpdateEntityTable, useCreateOrUpdateEntityTableMutation, } from './hooks/useCreateOrUpdateEntityTableMutation';
15
16
  export { createPluginRequestV2, useCreatePluginRequestV2Mutation, } from './hooks/useCreatePluginRequestV2Mutation';
@@ -25,6 +26,7 @@ export { deleteEntityVersion, useDeleteEntityVersionMutation, } from './hooks/us
25
26
  export { deleteGroup, useDeleteGroupMutation } from './hooks/useDeleteGroupMutation';
26
27
  export { deleteHeadersQuickLinksIcon, useDeleteHeadersQuickLinksIconMutation, } from './hooks/useDeleteHeadersQuickLinksIconMutation';
27
28
  export { deleteHomePageLayoutCardsIcon, useDeleteHomePageLayoutCardsIconMutation, } from './hooks/useDeleteHomePageLayoutCardsIconMutation';
29
+ export { deleteKind, useDeleteKindMutation } from './hooks/useDeleteKindMutation';
28
30
  export { deleteLayout, useDeleteLayoutMutation } from './hooks/useDeleteLayoutMutation';
29
31
  export { deleteScorecard, useDeleteScorecardMutation } from './hooks/useDeleteScorecardMutation';
30
32
  export { discoverEntities, useDiscoverEntitiesQuery } from './hooks/useDiscoverEntitiesQuery';
@@ -72,6 +74,8 @@ export { getImportedEntities, useGetImportedEntitiesQuery, } from './hooks/useGe
72
74
  export { getIntegration, useGetIntegrationQuery } from './hooks/useGetIntegrationQuery';
73
75
  export { getIntegrations, useGetIntegrationsQuery } from './hooks/useGetIntegrationsQuery';
74
76
  export { getJsonSchema, useGetJsonSchemaQuery } from './hooks/useGetJsonSchemaQuery';
77
+ export { getKind, useGetKindQuery } from './hooks/useGetKindQuery';
78
+ export { getKinds, useGetKindsQuery } from './hooks/useGetKindsQuery';
75
79
  export { getLayout, useGetLayoutQuery } from './hooks/useGetLayoutQuery';
76
80
  export { getMergedPluginsConfig, useGetMergedPluginsConfigQuery, } from './hooks/useGetMergedPluginsConfigQuery';
77
81
  export { getOnboardingStatus, useGetOnboardingStatusQuery, } from './hooks/useGetOnboardingStatusQuery';
@@ -116,6 +120,7 @@ export { updateEntityVersion, useUpdateEntityVersionMutation, } from './hooks/us
116
120
  export { updateGitMetadata, useUpdateGitMetadataMutation, } from './hooks/useUpdateGitMetadataMutation';
117
121
  export { updateGroups, useUpdateGroupsMutation } from './hooks/useUpdateGroupsMutation';
118
122
  export { updateIntegration, useUpdateIntegrationMutation, } from './hooks/useUpdateIntegrationMutation';
123
+ export { updateKind, useUpdateKindMutation } from './hooks/useUpdateKindMutation';
119
124
  export { updatePluginRequestV2, useUpdatePluginRequestV2Mutation, } from './hooks/useUpdatePluginRequestV2Mutation';
120
125
  export { updateScorecard, useUpdateScorecardMutation } from './hooks/useUpdateScorecardMutation';
121
126
  export { useValidateComplexCheckMutation, validateComplexCheck, } from './hooks/useValidateComplexCheckMutation';
@@ -0,0 +1 @@
1
+ export type KindCreateRequestBodyRequestBody = unknown;
@@ -0,0 +1 @@
1
+ export type KindUpdateRequestBodyRequestBody = unknown;
@@ -0,0 +1,2 @@
1
+ import type { KindResponseBody } from '../schemas/KindResponseBody';
2
+ export type KindResponseBodyListResponse = KindResponseBody[];
@@ -0,0 +1,2 @@
1
+ import type { KindResponseBody } from '../schemas/KindResponseBody';
2
+ export type KindResponseBodyResponse = KindResponseBody;
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Kind Response Body
3
+ */
4
+ export interface KindResponseBody {
5
+ description?: string;
6
+ icon?: string;
7
+ identifier: string;
8
+ name: string;
9
+ schema: string;
10
+ }
@@ -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-idp-service-client",
3
- "version": "0.91.0",
3
+ "version": "0.92.0",
4
4
  "description": "Harness React idp service client - IDP APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",