@harnessio/react-idp-service-client 0.90.1 → 0.91.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 (28) hide show
  1. package/dist/idp-service/src/services/hooks/useCreateCustomPluginsV2Mutation.d.ts +19 -0
  2. package/dist/idp-service/src/services/hooks/useCreateCustomPluginsV2Mutation.js +14 -0
  3. package/dist/idp-service/src/services/hooks/useDeleteCustomPluginV2Mutation.d.ts +18 -0
  4. package/dist/idp-service/src/services/hooks/useDeleteCustomPluginV2Mutation.js +14 -0
  5. package/dist/idp-service/src/services/hooks/useGetCustomPluginV2Query.d.ts +19 -0
  6. package/dist/idp-service/src/services/hooks/useGetCustomPluginV2Query.js +14 -0
  7. package/dist/idp-service/src/services/hooks/useGetCustomPluginsV2Query.d.ts +23 -0
  8. package/dist/idp-service/src/services/hooks/useGetCustomPluginsV2Query.js +14 -0
  9. package/dist/idp-service/src/services/hooks/useUpdateCustomPluginV2Mutation.d.ts +22 -0
  10. package/dist/idp-service/src/services/hooks/useUpdateCustomPluginV2Mutation.js +14 -0
  11. package/dist/idp-service/src/services/index.d.ts +17 -0
  12. package/dist/idp-service/src/services/index.js +5 -0
  13. package/dist/idp-service/src/services/requestBodies/CustomPluginV2CreateRequestRequestBody.d.ts +2 -0
  14. package/dist/idp-service/src/services/requestBodies/CustomPluginV2CreateRequestRequestBody.js +1 -0
  15. package/dist/idp-service/src/services/requestBodies/CustomPluginV2UpdateRequestRequestBody.d.ts +2 -0
  16. package/dist/idp-service/src/services/requestBodies/CustomPluginV2UpdateRequestRequestBody.js +1 -0
  17. package/dist/idp-service/src/services/responses/CustomPluginV2ResponseResponse.d.ts +2 -0
  18. package/dist/idp-service/src/services/responses/CustomPluginV2ResponseResponse.js +1 -0
  19. package/dist/idp-service/src/services/responses/CustomPluginsV2ResponseBodyListResponse.d.ts +2 -0
  20. package/dist/idp-service/src/services/responses/CustomPluginsV2ResponseBodyListResponse.js +1 -0
  21. package/dist/idp-service/src/services/schemas/CustomPluginV2CreateRequest.d.ts +6 -0
  22. package/dist/idp-service/src/services/schemas/CustomPluginV2CreateRequest.js +4 -0
  23. package/dist/idp-service/src/services/schemas/CustomPluginV2Response.d.ts +10 -0
  24. package/dist/idp-service/src/services/schemas/CustomPluginV2Response.js +4 -0
  25. package/dist/idp-service/src/services/schemas/CustomPluginV2UpdateRequest.d.ts +5 -0
  26. package/dist/idp-service/src/services/schemas/CustomPluginV2UpdateRequest.js +4 -0
  27. package/dist/idp-service/src/services/schemas/ImportedEntityResponse.d.ts +2 -2
  28. package/package.json +1 -1
@@ -0,0 +1,19 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { CustomPluginV2ResponseResponse } from '../responses/CustomPluginV2ResponseResponse';
3
+ import type { CustomPluginV2CreateRequestRequestBody } from '../requestBodies/CustomPluginV2CreateRequestRequestBody';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../custom-idp-fetcher/index.js';
6
+ export interface CreateCustomPluginsV2MutationHeaderParams {
7
+ 'Harness-Account'?: string;
8
+ }
9
+ export type CreateCustomPluginsV2RequestBody = CustomPluginV2CreateRequestRequestBody;
10
+ export type CreateCustomPluginsV2OkResponse = ResponseWithPagination<CustomPluginV2ResponseResponse>;
11
+ export type CreateCustomPluginsV2ErrorResponse = unknown;
12
+ export interface CreateCustomPluginsV2Props extends Omit<FetcherOptions<unknown, CreateCustomPluginsV2RequestBody, CreateCustomPluginsV2MutationHeaderParams>, 'url'> {
13
+ body: CreateCustomPluginsV2RequestBody;
14
+ }
15
+ export declare function createCustomPluginsV2(props: CreateCustomPluginsV2Props): Promise<CreateCustomPluginsV2OkResponse>;
16
+ /**
17
+ * Create V2 Custom Plugin
18
+ */
19
+ export declare function useCreateCustomPluginsV2Mutation(options?: Omit<UseMutationOptions<CreateCustomPluginsV2OkResponse, CreateCustomPluginsV2ErrorResponse, CreateCustomPluginsV2Props>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateCustomPluginsV2OkResponse, unknown, CreateCustomPluginsV2Props, 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 createCustomPluginsV2(props) {
7
+ return fetcher(Object.assign({ url: `/v2/custom-plugins`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Create V2 Custom Plugin
11
+ */
12
+ export function useCreateCustomPluginsV2Mutation(options) {
13
+ return useMutation((mutateProps) => createCustomPluginsV2(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 DeleteCustomPluginV2MutationPathParams {
5
+ 'plugin-id': string;
6
+ }
7
+ export interface DeleteCustomPluginV2MutationHeaderParams {
8
+ 'Harness-Account'?: string;
9
+ }
10
+ export type DeleteCustomPluginV2OkResponse = ResponseWithPagination<unknown>;
11
+ export type DeleteCustomPluginV2ErrorResponse = unknown;
12
+ export interface DeleteCustomPluginV2Props extends DeleteCustomPluginV2MutationPathParams, Omit<FetcherOptions<unknown, unknown, DeleteCustomPluginV2MutationHeaderParams>, 'url'> {
13
+ }
14
+ export declare function deleteCustomPluginV2(props: DeleteCustomPluginV2Props): Promise<DeleteCustomPluginV2OkResponse>;
15
+ /**
16
+ * Delete custom plugin v2
17
+ */
18
+ export declare function useDeleteCustomPluginV2Mutation(options?: Omit<UseMutationOptions<DeleteCustomPluginV2OkResponse, DeleteCustomPluginV2ErrorResponse, DeleteCustomPluginV2Props>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteCustomPluginV2OkResponse, unknown, DeleteCustomPluginV2Props, 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 deleteCustomPluginV2(props) {
7
+ return fetcher(Object.assign({ url: `/v2/custom-plugins/${props['plugin-id']}`, method: 'DELETE' }, props));
8
+ }
9
+ /**
10
+ * Delete custom plugin v2
11
+ */
12
+ export function useDeleteCustomPluginV2Mutation(options) {
13
+ return useMutation((mutateProps) => deleteCustomPluginV2(mutateProps), options);
14
+ }
@@ -0,0 +1,19 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { CustomPluginV2ResponseResponse } from '../responses/CustomPluginV2ResponseResponse';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../custom-idp-fetcher/index.js';
5
+ export interface GetCustomPluginV2QueryPathParams {
6
+ 'plugin-id': string;
7
+ }
8
+ export interface GetCustomPluginV2QueryHeaderParams {
9
+ 'Harness-Account'?: string;
10
+ }
11
+ export type GetCustomPluginV2OkResponse = ResponseWithPagination<CustomPluginV2ResponseResponse>;
12
+ export type GetCustomPluginV2ErrorResponse = unknown;
13
+ export interface GetCustomPluginV2Props extends GetCustomPluginV2QueryPathParams, Omit<FetcherOptions<unknown, unknown, GetCustomPluginV2QueryHeaderParams>, 'url'> {
14
+ }
15
+ export declare function getCustomPluginV2(props: GetCustomPluginV2Props): Promise<GetCustomPluginV2OkResponse>;
16
+ /**
17
+ * Get custom plugin v2 details for given pluginId
18
+ */
19
+ export declare function useGetCustomPluginV2Query(props: GetCustomPluginV2Props, options?: Omit<UseQueryOptions<GetCustomPluginV2OkResponse, GetCustomPluginV2ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetCustomPluginV2OkResponse, 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 getCustomPluginV2(props) {
7
+ return fetcher(Object.assign({ url: `/v2/custom-plugins/${props['plugin-id']}`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Get custom plugin v2 details for given pluginId
11
+ */
12
+ export function useGetCustomPluginV2Query(props, options) {
13
+ return useQuery(['get-custom-plugin-v2', props['plugin-id']], ({ signal }) => getCustomPluginV2(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,23 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { CustomPluginsV2ResponseBodyListResponse } from '../responses/CustomPluginsV2ResponseBodyListResponse';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../custom-idp-fetcher/index.js';
5
+ export interface GetCustomPluginsV2QueryQueryParams {
6
+ page?: number;
7
+ limit?: number;
8
+ sort?: string;
9
+ search_term?: string;
10
+ }
11
+ export interface GetCustomPluginsV2QueryHeaderParams {
12
+ 'Harness-Account'?: string;
13
+ }
14
+ export type GetCustomPluginsV2OkResponse = ResponseWithPagination<CustomPluginsV2ResponseBodyListResponse>;
15
+ export type GetCustomPluginsV2ErrorResponse = unknown;
16
+ export interface GetCustomPluginsV2Props extends Omit<FetcherOptions<GetCustomPluginsV2QueryQueryParams, unknown, GetCustomPluginsV2QueryHeaderParams>, 'url'> {
17
+ queryParams: GetCustomPluginsV2QueryQueryParams;
18
+ }
19
+ export declare function getCustomPluginsV2(props: GetCustomPluginsV2Props): Promise<GetCustomPluginsV2OkResponse>;
20
+ /**
21
+ * Get all V2 Custom Plugins available
22
+ */
23
+ export declare function useGetCustomPluginsV2Query(props: GetCustomPluginsV2Props, options?: Omit<UseQueryOptions<GetCustomPluginsV2OkResponse, GetCustomPluginsV2ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetCustomPluginsV2OkResponse, 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 getCustomPluginsV2(props) {
7
+ return fetcher(Object.assign({ url: `/v2/custom-plugins`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Get all V2 Custom Plugins available
11
+ */
12
+ export function useGetCustomPluginsV2Query(props, options) {
13
+ return useQuery(['get-custom-plugins-v2', props.queryParams], ({ signal }) => getCustomPluginsV2(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,22 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { CustomPluginV2ResponseResponse } from '../responses/CustomPluginV2ResponseResponse';
3
+ import type { CustomPluginV2UpdateRequestRequestBody } from '../requestBodies/CustomPluginV2UpdateRequestRequestBody';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../custom-idp-fetcher/index.js';
6
+ export interface UpdateCustomPluginV2MutationPathParams {
7
+ 'plugin-id': string;
8
+ }
9
+ export interface UpdateCustomPluginV2MutationHeaderParams {
10
+ 'Harness-Account'?: string;
11
+ }
12
+ export type UpdateCustomPluginV2RequestBody = CustomPluginV2UpdateRequestRequestBody;
13
+ export type UpdateCustomPluginV2OkResponse = ResponseWithPagination<CustomPluginV2ResponseResponse>;
14
+ export type UpdateCustomPluginV2ErrorResponse = unknown;
15
+ export interface UpdateCustomPluginV2Props extends UpdateCustomPluginV2MutationPathParams, Omit<FetcherOptions<unknown, UpdateCustomPluginV2RequestBody, UpdateCustomPluginV2MutationHeaderParams>, 'url'> {
16
+ body: UpdateCustomPluginV2RequestBody;
17
+ }
18
+ export declare function updateCustomPluginV2(props: UpdateCustomPluginV2Props): Promise<UpdateCustomPluginV2OkResponse>;
19
+ /**
20
+ * Update custom plugin v2 details for given pluginId
21
+ */
22
+ export declare function useUpdateCustomPluginV2Mutation(options?: Omit<UseMutationOptions<UpdateCustomPluginV2OkResponse, UpdateCustomPluginV2ErrorResponse, UpdateCustomPluginV2Props>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateCustomPluginV2OkResponse, unknown, UpdateCustomPluginV2Props, 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 updateCustomPluginV2(props) {
7
+ return fetcher(Object.assign({ url: `/v2/custom-plugins/${props['plugin-id']}`, method: 'PUT' }, props));
8
+ }
9
+ /**
10
+ * Update custom plugin v2 details for given pluginId
11
+ */
12
+ export function useUpdateCustomPluginV2Mutation(options) {
13
+ return useMutation((mutateProps) => updateCustomPluginV2(mutateProps), options);
14
+ }
@@ -15,6 +15,8 @@ export type { CreateCheckErrorResponse, CreateCheckOkResponse, CreateCheckProps,
15
15
  export { createCheck, useCreateCheckMutation } from './hooks/useCreateCheckMutation';
16
16
  export type { CreateCompileAndExecuteEnvironmentErrorResponse, CreateCompileAndExecuteEnvironmentMutationQueryParams, CreateCompileAndExecuteEnvironmentOkResponse, CreateCompileAndExecuteEnvironmentProps, CreateCompileAndExecuteEnvironmentRequestBody, } from './hooks/useCreateCompileAndExecuteEnvironmentMutation';
17
17
  export { createCompileAndExecuteEnvironment, useCreateCompileAndExecuteEnvironmentMutation, } from './hooks/useCreateCompileAndExecuteEnvironmentMutation';
18
+ export type { CreateCustomPluginsV2ErrorResponse, CreateCustomPluginsV2OkResponse, CreateCustomPluginsV2Props, CreateCustomPluginsV2RequestBody, } from './hooks/useCreateCustomPluginsV2Mutation';
19
+ export { createCustomPluginsV2, useCreateCustomPluginsV2Mutation, } from './hooks/useCreateCustomPluginsV2Mutation';
18
20
  export type { CreateEntityErrorResponse, CreateEntityMutationQueryParams, CreateEntityOkResponse, CreateEntityProps, CreateEntityRequestBody, } from './hooks/useCreateEntityMutation';
19
21
  export { createEntity, useCreateEntityMutation } from './hooks/useCreateEntityMutation';
20
22
  export type { CreateEntityVersionErrorResponse, CreateEntityVersionMutationQueryParams, CreateEntityVersionOkResponse, CreateEntityVersionProps, CreateEntityVersionRequestBody, } from './hooks/useCreateEntityVersionMutation';
@@ -39,6 +41,8 @@ export type { DeleteCustomLinkCardQuickLinksErrorResponse, DeleteCustomLinkCardQ
39
41
  export { deleteCustomLinkCardQuickLinks, useDeleteCustomLinkCardQuickLinksMutation, } from './hooks/useDeleteCustomLinkCardQuickLinksMutation';
40
42
  export type { DeleteCustomPluginInfoErrorResponse, DeleteCustomPluginInfoMutationPathParams, DeleteCustomPluginInfoMutationQueryParams, DeleteCustomPluginInfoOkResponse, DeleteCustomPluginInfoProps, } from './hooks/useDeleteCustomPluginInfoMutation';
41
43
  export { deleteCustomPluginInfo, useDeleteCustomPluginInfoMutation, } from './hooks/useDeleteCustomPluginInfoMutation';
44
+ export type { DeleteCustomPluginV2ErrorResponse, DeleteCustomPluginV2MutationPathParams, DeleteCustomPluginV2OkResponse, DeleteCustomPluginV2Props, } from './hooks/useDeleteCustomPluginV2Mutation';
45
+ export { deleteCustomPluginV2, useDeleteCustomPluginV2Mutation, } from './hooks/useDeleteCustomPluginV2Mutation';
42
46
  export type { DeleteEntityErrorResponse, DeleteEntityMutationPathParams, DeleteEntityMutationQueryParams, DeleteEntityOkResponse, DeleteEntityProps, } from './hooks/useDeleteEntityMutation';
43
47
  export { deleteEntity, useDeleteEntityMutation } from './hooks/useDeleteEntityMutation';
44
48
  export type { DeleteEntityVersionErrorResponse, DeleteEntityVersionMutationPathParams, DeleteEntityVersionMutationQueryParams, DeleteEntityVersionOkResponse, DeleteEntityVersionProps, } from './hooks/useDeleteEntityVersionMutation';
@@ -93,6 +97,10 @@ export type { GetCustomPluginStatusLogsErrorResponse, GetCustomPluginStatusLogsO
93
97
  export { getCustomPluginStatusLogs, useGetCustomPluginStatusLogsQuery, } from './hooks/useGetCustomPluginStatusLogsQuery';
94
98
  export type { GetCustomPluginStatusPluginIdErrorResponse, GetCustomPluginStatusPluginIdOkResponse, GetCustomPluginStatusPluginIdProps, GetCustomPluginStatusPluginIdQueryPathParams, } from './hooks/useGetCustomPluginStatusPluginIdQuery';
95
99
  export { getCustomPluginStatusPluginId, useGetCustomPluginStatusPluginIdQuery, } from './hooks/useGetCustomPluginStatusPluginIdQuery';
100
+ export type { GetCustomPluginV2ErrorResponse, GetCustomPluginV2OkResponse, GetCustomPluginV2Props, GetCustomPluginV2QueryPathParams, } from './hooks/useGetCustomPluginV2Query';
101
+ export { getCustomPluginV2, useGetCustomPluginV2Query } from './hooks/useGetCustomPluginV2Query';
102
+ export type { GetCustomPluginsV2ErrorResponse, GetCustomPluginsV2OkResponse, GetCustomPluginsV2Props, GetCustomPluginsV2QueryQueryParams, } from './hooks/useGetCustomPluginsV2Query';
103
+ export { getCustomPluginsV2, useGetCustomPluginsV2Query } from './hooks/useGetCustomPluginsV2Query';
96
104
  export type { GetDataPointsForDataSourceErrorResponse, GetDataPointsForDataSourceOkResponse, GetDataPointsForDataSourceProps, GetDataPointsForDataSourceQueryPathParams, } from './hooks/useGetDataPointsForDataSourceQuery';
97
105
  export { getDataPointsForDataSource, useGetDataPointsForDataSourceQuery, } from './hooks/useGetDataPointsForDataSourceQuery';
98
106
  export type { GetDataSourcesDataPointsMapErrorResponse, GetDataSourcesDataPointsMapOkResponse, GetDataSourcesDataPointsMapProps, } from './hooks/useGetDataSourcesDataPointsMapQuery';
@@ -213,6 +221,8 @@ export type { UpdateCheckErrorResponse, UpdateCheckMutationPathParams, UpdateChe
213
221
  export { updateCheck, useUpdateCheckMutation } from './hooks/useUpdateCheckMutation';
214
222
  export type { UpdateConfigurationEntitiesErrorResponse, UpdateConfigurationEntitiesOkResponse, UpdateConfigurationEntitiesProps, UpdateConfigurationEntitiesRequestBody, } from './hooks/useUpdateConfigurationEntitiesMutation';
215
223
  export { updateConfigurationEntities, useUpdateConfigurationEntitiesMutation, } from './hooks/useUpdateConfigurationEntitiesMutation';
224
+ export type { UpdateCustomPluginV2ErrorResponse, UpdateCustomPluginV2MutationPathParams, UpdateCustomPluginV2OkResponse, UpdateCustomPluginV2Props, UpdateCustomPluginV2RequestBody, } from './hooks/useUpdateCustomPluginV2Mutation';
225
+ export { updateCustomPluginV2, useUpdateCustomPluginV2Mutation, } from './hooks/useUpdateCustomPluginV2Mutation';
216
226
  export type { UpdateCustomPluginsInfoErrorResponse, UpdateCustomPluginsInfoMutationPathParams, UpdateCustomPluginsInfoOkResponse, UpdateCustomPluginsInfoProps, UpdateCustomPluginsInfoRequestBody, } from './hooks/useUpdateCustomPluginsInfoMutation';
217
227
  export { updateCustomPluginsInfo, useUpdateCustomPluginsInfoMutation, } from './hooks/useUpdateCustomPluginsInfoMutation';
218
228
  export type { UpdateEntityErrorResponse, UpdateEntityMutationPathParams, UpdateEntityMutationQueryParams, UpdateEntityOkResponse, UpdateEntityProps, UpdateEntityRequestBody, } from './hooks/useUpdateEntityMutation';
@@ -238,6 +248,8 @@ export type { ConfigurationEntitiesRequestRequestBody } from './requestBodies/Co
238
248
  export type { ConnectorInfoRequestRequestBody } from './requestBodies/ConnectorInfoRequestRequestBody';
239
249
  export type { CustomPluginCreateRequestRequestBody } from './requestBodies/CustomPluginCreateRequestRequestBody';
240
250
  export type { CustomPluginInfoRequestRequestBody } from './requestBodies/CustomPluginInfoRequestRequestBody';
251
+ export type { CustomPluginV2CreateRequestRequestBody } from './requestBodies/CustomPluginV2CreateRequestRequestBody';
252
+ export type { CustomPluginV2UpdateRequestRequestBody } from './requestBodies/CustomPluginV2UpdateRequestRequestBody';
241
253
  export type { EntitesByRefsRequestRequestBody } from './requestBodies/EntitesByRefsRequestRequestBody';
242
254
  export type { EntityCreateRequestBodyRequestBody } from './requestBodies/EntityCreateRequestBodyRequestBody';
243
255
  export type { EntityFilterQueryRequestRequestBody } from './requestBodies/EntityFilterQueryRequestRequestBody';
@@ -284,6 +296,8 @@ export type { ConfigurationEntitiesResponseResponse } from './responses/Configur
284
296
  export type { ConnectorInfoResponseResponse } from './responses/ConnectorInfoResponseResponse';
285
297
  export type { CustomPluginInfoResponseResponse } from './responses/CustomPluginInfoResponseResponse';
286
298
  export type { CustomPluginStatusResponseResponse } from './responses/CustomPluginStatusResponseResponse';
299
+ export type { CustomPluginV2ResponseResponse } from './responses/CustomPluginV2ResponseResponse';
300
+ export type { CustomPluginsV2ResponseBodyListResponse } from './responses/CustomPluginsV2ResponseBodyListResponse';
287
301
  export type { DataSourceDataPointsMapResponseResponse } from './responses/DataSourceDataPointsMapResponseResponse';
288
302
  export type { DataSourcesResponseResponse } from './responses/DataSourcesResponseResponse';
289
303
  export type { DatapointResponseResponse } from './responses/DatapointResponseResponse';
@@ -391,6 +405,9 @@ export type { CustomPluginInfoRequest } from './schemas/CustomPluginInfoRequest'
391
405
  export type { CustomPluginInfoResponse } from './schemas/CustomPluginInfoResponse';
392
406
  export type { CustomPluginStatus } from './schemas/CustomPluginStatus';
393
407
  export type { CustomPluginStatusResponse } from './schemas/CustomPluginStatusResponse';
408
+ export type { CustomPluginV2CreateRequest } from './schemas/CustomPluginV2CreateRequest';
409
+ export type { CustomPluginV2Response } from './schemas/CustomPluginV2Response';
410
+ export type { CustomPluginV2UpdateRequest } from './schemas/CustomPluginV2UpdateRequest';
394
411
  export type { DataPoint } from './schemas/DataPoint';
395
412
  export type { DataPointsResponse } from './schemas/DataPointsResponse';
396
413
  export type { DataSource } from './schemas/DataSource';
@@ -6,6 +6,7 @@ export { createBackstageEnvVariables, useCreateBackstageEnvVariablesMutation, }
6
6
  export { createBackstagePermissions, useCreateBackstagePermissionsMutation, } from './hooks/useCreateBackstagePermissionsMutation';
7
7
  export { createCheck, useCreateCheckMutation } from './hooks/useCreateCheckMutation';
8
8
  export { createCompileAndExecuteEnvironment, useCreateCompileAndExecuteEnvironmentMutation, } from './hooks/useCreateCompileAndExecuteEnvironmentMutation';
9
+ export { createCustomPluginsV2, useCreateCustomPluginsV2Mutation, } from './hooks/useCreateCustomPluginsV2Mutation';
9
10
  export { createEntity, useCreateEntityMutation } from './hooks/useCreateEntityMutation';
10
11
  export { createEntityVersion, useCreateEntityVersionMutation, } from './hooks/useCreateEntityVersionMutation';
11
12
  export { createIntegration, useCreateIntegrationMutation, } from './hooks/useCreateIntegrationMutation';
@@ -18,6 +19,7 @@ export { deleteAggregationRule, useDeleteAggregationRuleMutation, } from './hook
18
19
  export { deleteCheck, useDeleteCheckMutation } from './hooks/useDeleteCheckMutation';
19
20
  export { deleteCustomLinkCardQuickLinks, useDeleteCustomLinkCardQuickLinksMutation, } from './hooks/useDeleteCustomLinkCardQuickLinksMutation';
20
21
  export { deleteCustomPluginInfo, useDeleteCustomPluginInfoMutation, } from './hooks/useDeleteCustomPluginInfoMutation';
22
+ export { deleteCustomPluginV2, useDeleteCustomPluginV2Mutation, } from './hooks/useDeleteCustomPluginV2Mutation';
21
23
  export { deleteEntity, useDeleteEntityMutation } from './hooks/useDeleteEntityMutation';
22
24
  export { deleteEntityVersion, useDeleteEntityVersionMutation, } from './hooks/useDeleteEntityVersionMutation';
23
25
  export { deleteGroup, useDeleteGroupMutation } from './hooks/useDeleteGroupMutation';
@@ -45,6 +47,8 @@ export { getChecks, useGetChecksQuery } from './hooks/useGetChecksQuery';
45
47
  export { getConnectorInfo, useGetConnectorInfoQuery } from './hooks/useGetConnectorInfoQuery';
46
48
  export { getCustomPluginStatusLogs, useGetCustomPluginStatusLogsQuery, } from './hooks/useGetCustomPluginStatusLogsQuery';
47
49
  export { getCustomPluginStatusPluginId, useGetCustomPluginStatusPluginIdQuery, } from './hooks/useGetCustomPluginStatusPluginIdQuery';
50
+ export { getCustomPluginV2, useGetCustomPluginV2Query } from './hooks/useGetCustomPluginV2Query';
51
+ export { getCustomPluginsV2, useGetCustomPluginsV2Query } from './hooks/useGetCustomPluginsV2Query';
48
52
  export { getDataPointsForDataSource, useGetDataPointsForDataSourceQuery, } from './hooks/useGetDataPointsForDataSourceQuery';
49
53
  export { getDataSourcesDataPointsMap, useGetDataSourcesDataPointsMapQuery, } from './hooks/useGetDataSourcesDataPointsMapQuery';
50
54
  export { getEntitiesByRefs, useGetEntitiesByRefsMutation, } from './hooks/useGetEntitiesByRefsMutation';
@@ -105,6 +109,7 @@ export { updateAggregationRule, useUpdateAggregationRuleMutation, } from './hook
105
109
  export { updateBackstagePermissions, useUpdateBackstagePermissionsMutation, } from './hooks/useUpdateBackstagePermissionsMutation';
106
110
  export { updateCheck, useUpdateCheckMutation } from './hooks/useUpdateCheckMutation';
107
111
  export { updateConfigurationEntities, useUpdateConfigurationEntitiesMutation, } from './hooks/useUpdateConfigurationEntitiesMutation';
112
+ export { updateCustomPluginV2, useUpdateCustomPluginV2Mutation, } from './hooks/useUpdateCustomPluginV2Mutation';
108
113
  export { updateCustomPluginsInfo, useUpdateCustomPluginsInfoMutation, } from './hooks/useUpdateCustomPluginsInfoMutation';
109
114
  export { updateEntity, useUpdateEntityMutation } from './hooks/useUpdateEntityMutation';
110
115
  export { updateEntityVersion, useUpdateEntityVersionMutation, } from './hooks/useUpdateEntityVersionMutation';
@@ -0,0 +1,2 @@
1
+ import type { CustomPluginV2CreateRequest } from '../schemas/CustomPluginV2CreateRequest';
2
+ export type CustomPluginV2CreateRequestRequestBody = CustomPluginV2CreateRequest;
@@ -0,0 +1,2 @@
1
+ import type { CustomPluginV2UpdateRequest } from '../schemas/CustomPluginV2UpdateRequest';
2
+ export type CustomPluginV2UpdateRequestRequestBody = CustomPluginV2UpdateRequest;
@@ -0,0 +1,2 @@
1
+ import type { CustomPluginV2Response } from '../schemas/CustomPluginV2Response';
2
+ export type CustomPluginV2ResponseResponse = CustomPluginV2Response;
@@ -0,0 +1,2 @@
1
+ import type { CustomPluginV2Response } from '../schemas/CustomPluginV2Response';
2
+ export type CustomPluginsV2ResponseBodyListResponse = CustomPluginV2Response[];
@@ -0,0 +1,6 @@
1
+ export interface CustomPluginV2CreateRequest {
2
+ description?: string;
3
+ icon?: string;
4
+ identifier: string;
5
+ name: string;
6
+ }
@@ -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,10 @@
1
+ export interface CustomPluginV2Response {
2
+ created_at?: number;
3
+ created_by?: string;
4
+ description?: string;
5
+ file_url?: string;
6
+ icon?: string;
7
+ identifier?: string;
8
+ name?: string;
9
+ updated_at?: number;
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 {};
@@ -0,0 +1,5 @@
1
+ export interface CustomPluginV2UpdateRequest {
2
+ description?: string;
3
+ icon?: string;
4
+ name?: string;
5
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -3,9 +3,9 @@ export interface ImportedEntityResponse {
3
3
  entity?: EntityResponse;
4
4
  raw_entity_details?: {
5
5
  /**
6
- * The action that was performed during import
6
+ * The action that was performed during import (e.g. register, merge)
7
7
  */
8
- action_performed?: 'MERGE' | 'REGISTER';
8
+ action_performed?: string;
9
9
  identifier?: string;
10
10
  /**
11
11
  * Timestamp (epoch millis) when the entity was imported
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-idp-service-client",
3
- "version": "0.90.1",
3
+ "version": "0.91.0",
4
4
  "description": "Harness React idp service client - IDP APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",