@harnessio/react-idp-service-client 0.56.0 → 0.57.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.
@@ -5,6 +5,9 @@ import type { ResponseWithPagination } from '../helpers';
5
5
  import { FetcherOptions } from '../../../../fetcher/index.js';
6
6
  export interface CdEntitiesFetchQueryQueryParams {
7
7
  page?: number;
8
+ /**
9
+ * @default 10
10
+ */
8
11
  limit?: number;
9
12
  search_term?: string;
10
13
  }
@@ -19,6 +19,6 @@ export interface CreateEntityProps extends Omit<FetcherOptions<CreateEntityMutat
19
19
  }
20
20
  export declare function createEntity(props: CreateEntityProps): Promise<CreateEntityOkResponse>;
21
21
  /**
22
- * Create an Entity
22
+ * Create an Entity.
23
23
  */
24
24
  export declare function useCreateEntityMutation(options?: Omit<UseMutationOptions<CreateEntityOkResponse, CreateEntityErrorResponse, CreateEntityProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateEntityOkResponse, unknown, CreateEntityProps, unknown>;
@@ -7,7 +7,7 @@ export function createEntity(props) {
7
7
  return fetcher(Object.assign({ url: `/v1/entities`, method: 'POST' }, props));
8
8
  }
9
9
  /**
10
- * Create an Entity
10
+ * Create an Entity.
11
11
  */
12
12
  export function useCreateEntityMutation(options) {
13
13
  return useMutation((mutateProps) => createEntity(mutateProps), options);
@@ -5,6 +5,9 @@ import { FetcherOptions } from '../../../../fetcher/index.js';
5
5
  export interface GetChecksQueryQueryParams {
6
6
  custom?: boolean;
7
7
  page?: number;
8
+ /**
9
+ * @default 10
10
+ */
8
11
  limit?: number;
9
12
  sort?: string;
10
13
  search_term?: string;
@@ -11,6 +11,9 @@ export interface GetEntitiesFiltersByIdQueryQueryParams {
11
11
  projectIdentifier?: string;
12
12
  kind?: string;
13
13
  page?: number;
14
+ /**
15
+ * @default 10
16
+ */
14
17
  limit?: number;
15
18
  sort?: string;
16
19
  search_term?: string;
@@ -4,11 +4,15 @@ import type { ResponseWithPagination } from '../helpers';
4
4
  import { FetcherOptions } from '../../../../fetcher/index.js';
5
5
  export interface GetEntitiesQueryQueryParams {
6
6
  page?: number;
7
+ /**
8
+ * @default 10
9
+ */
7
10
  limit?: number;
8
11
  sort?: string;
9
12
  search_term?: string;
10
13
  entity_refs?: string;
11
14
  owned_by_me?: boolean;
15
+ favorites?: boolean;
12
16
  kind?: string;
13
17
  type?: string;
14
18
  owner?: string;
@@ -4,6 +4,9 @@ import type { ResponseWithPagination } from '../helpers';
4
4
  import { FetcherOptions } from '../../../../fetcher/index.js';
5
5
  export interface GetHarnessEntitiesQueryQueryParams {
6
6
  page?: number;
7
+ /**
8
+ * @default 10
9
+ */
7
10
  limit?: number;
8
11
  sort?: string;
9
12
  order?: string;
@@ -7,6 +7,9 @@ export interface GetIntegrationsQueryPathParams {
7
7
  }
8
8
  export interface GetIntegrationsQueryQueryParams {
9
9
  page?: number;
10
+ /**
11
+ * @default 10
12
+ */
10
13
  limit?: number;
11
14
  sort?: string;
12
15
  search_term?: string;
@@ -4,6 +4,9 @@ import type { ResponseWithPagination } from '../helpers';
4
4
  import { FetcherOptions } from '../../../../fetcher/index.js';
5
5
  export interface GetPluginRequestV2QueryQueryParams {
6
6
  page?: number;
7
+ /**
8
+ * @default 10
9
+ */
7
10
  limit?: number;
8
11
  }
9
12
  export interface GetPluginRequestV2QueryHeaderParams {
@@ -4,6 +4,9 @@ import type { ResponseWithPagination } from '../helpers';
4
4
  import { FetcherOptions } from '../../../../fetcher/index.js';
5
5
  export interface GetWorkflowsForAccountQueryQueryParams {
6
6
  page?: number;
7
+ /**
8
+ * @default 10
9
+ */
7
10
  limit?: number;
8
11
  }
9
12
  export interface GetWorkflowsForAccountQueryHeaderParams {
@@ -3,8 +3,10 @@
3
3
  */
4
4
  export interface EntityResponse {
5
5
  description?: string;
6
+ entity_ref: string;
6
7
  identifier: string;
7
8
  kind: 'api' | 'component' | 'group' | 'resource' | 'user' | 'workflow';
9
+ lifecycle?: string;
8
10
  name?: string;
9
11
  orgIdentifier?: string;
10
12
  owner?: string;
@@ -20,6 +22,7 @@ export interface EntityResponse {
20
22
  total_checks?: number;
21
23
  }>;
22
24
  };
25
+ starred?: boolean;
23
26
  status?: Array<{
24
27
  level?: string;
25
28
  message?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-idp-service-client",
3
- "version": "0.56.0",
3
+ "version": "0.57.0",
4
4
  "description": "Harness React idp service client - IDP APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",