@harnessio/react-idp-service-client 0.48.2 → 0.48.4

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.
@@ -4,12 +4,16 @@ import { FetcherOptions } from '../../../../fetcher/index.js';
4
4
  export interface DeleteCustomPluginInfoMutationPathParams {
5
5
  'plugin-id': string;
6
6
  }
7
+ export interface DeleteCustomPluginInfoMutationQueryParams {
8
+ plugin_name?: string;
9
+ }
7
10
  export interface DeleteCustomPluginInfoMutationHeaderParams {
8
11
  'Harness-Account'?: string;
9
12
  }
10
13
  export type DeleteCustomPluginInfoOkResponse = ResponseWithPagination<unknown>;
11
14
  export type DeleteCustomPluginInfoErrorResponse = unknown;
12
- export interface DeleteCustomPluginInfoProps extends DeleteCustomPluginInfoMutationPathParams, Omit<FetcherOptions<unknown, unknown, DeleteCustomPluginInfoMutationHeaderParams>, 'url'> {
15
+ export interface DeleteCustomPluginInfoProps extends DeleteCustomPluginInfoMutationPathParams, Omit<FetcherOptions<DeleteCustomPluginInfoMutationQueryParams, unknown, DeleteCustomPluginInfoMutationHeaderParams>, 'url'> {
16
+ queryParams: DeleteCustomPluginInfoMutationQueryParams;
13
17
  }
14
18
  export declare function deleteCustomPluginInfo(props: DeleteCustomPluginInfoProps): Promise<DeleteCustomPluginInfoOkResponse>;
15
19
  /**
@@ -6,6 +6,7 @@ export interface TogglePluginForAccountMutationPathParams {
6
6
  'plugin-id': string;
7
7
  }
8
8
  export interface TogglePluginForAccountMutationQueryParams {
9
+ plugin_name?: string;
9
10
  enabled: boolean;
10
11
  }
11
12
  export interface TogglePluginForAccountMutationHeaderParams {
@@ -11,7 +11,7 @@ export type { CreateScorecardErrorResponse, CreateScorecardOkResponse, CreateSco
11
11
  export { createScorecard, useCreateScorecardMutation } from './hooks/useCreateScorecardMutation';
12
12
  export type { DeleteCheckErrorResponse, DeleteCheckMutationPathParams, DeleteCheckMutationQueryParams, DeleteCheckOkResponse, DeleteCheckProps, } from './hooks/useDeleteCheckMutation';
13
13
  export { deleteCheck, useDeleteCheckMutation } from './hooks/useDeleteCheckMutation';
14
- export type { DeleteCustomPluginInfoErrorResponse, DeleteCustomPluginInfoMutationPathParams, DeleteCustomPluginInfoOkResponse, DeleteCustomPluginInfoProps, } from './hooks/useDeleteCustomPluginInfoMutation';
14
+ export type { DeleteCustomPluginInfoErrorResponse, DeleteCustomPluginInfoMutationPathParams, DeleteCustomPluginInfoMutationQueryParams, DeleteCustomPluginInfoOkResponse, DeleteCustomPluginInfoProps, } from './hooks/useDeleteCustomPluginInfoMutation';
15
15
  export { deleteCustomPluginInfo, useDeleteCustomPluginInfoMutation, } from './hooks/useDeleteCustomPluginInfoMutation';
16
16
  export type { DeleteScorecardErrorResponse, DeleteScorecardMutationPathParams, DeleteScorecardOkResponse, DeleteScorecardProps, } from './hooks/useDeleteScorecardMutation';
17
17
  export { deleteScorecard, useDeleteScorecardMutation } from './hooks/useDeleteScorecardMutation';
@@ -3,5 +3,6 @@
3
3
  */
4
4
  export interface ConnectorDetails {
5
5
  identifier: string;
6
+ message?: string;
6
7
  type: 'AzureRepo' | 'Bitbucket' | 'Github' | 'Gitlab';
7
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-idp-service-client",
3
- "version": "0.48.2",
3
+ "version": "0.48.4",
4
4
  "description": "Harness React idp service client - IDP APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",