@harnessio/react-integration-manager-client 0.5.7 → 0.6.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.
- package/dist/integration-manager/src/services/hooks/useGetEntitiesMutation.d.ts +15 -3
- package/dist/integration-manager/src/services/hooks/useGetEntitiesMutation.js +15 -3
- package/dist/integration-manager/src/services/index.d.ts +0 -6
- package/dist/integration-manager/src/services/index.js +0 -2
- package/dist/integration-manager/src/services/schemas/EntityGetEntitiesResponse.d.ts +1 -0
- package/dist/integration-manager/src/services/schemas/OpenapiIntegrationRequestOpenApi.d.ts +2 -0
- package/package.json +1 -1
- package/dist/integration-manager/src/services/hooks/useGetEntitiesOrgMutation.d.ts +0 -44
- package/dist/integration-manager/src/services/hooks/useGetEntitiesOrgMutation.js +0 -37
- package/dist/integration-manager/src/services/hooks/useGetEntitiesProjectMutation.d.ts +0 -45
- package/dist/integration-manager/src/services/hooks/useGetEntitiesProjectMutation.js +0 -37
- package/dist/integration-manager/src/services/schemas/OpenapiGetEntitiesOrgRequest.d.ts +0 -10
- package/dist/integration-manager/src/services/schemas/OpenapiGetEntitiesOrgRequest.js +0 -1
- package/dist/integration-manager/src/services/schemas/OpenapiGetEntitiesProjectRequest.d.ts +0 -10
- package/dist/integration-manager/src/services/schemas/OpenapiGetEntitiesProjectRequest.js +0 -1
|
@@ -20,16 +20,28 @@ export declare function getEntities(props: GetEntitiesProps): Promise<GetEntitie
|
|
|
20
20
|
* Request Body (required):
|
|
21
21
|
* - integrations: Required array of integration queries. Each entry includes:
|
|
22
22
|
* - integration_id: Required - integration config identifier.
|
|
23
|
-
* -
|
|
23
|
+
* - scope: Optional - per-integration org/project. The account is always taken from the path; if
|
|
24
|
+
* scope.account_identifier is provided it must match the path account. When omitted, the request
|
|
25
|
+
* is account-level. A single request may target integrations across
|
|
26
|
+
* different org/projects within the same account.
|
|
24
27
|
* - secondary_kinds: Optional - array of secondary entity kinds to fetch via EntityRelation linkage.
|
|
25
28
|
* Each secondary kind can include field_val_filters for filtering.
|
|
26
29
|
* - sort_by: Sort field - "created" (default), "last_updated", "name", or "identifier".
|
|
27
30
|
* - order: Sort order - "asc" or "desc" (default: "desc").
|
|
28
31
|
* - page: Pagination page number (default: 1, 1-based).
|
|
29
32
|
* - limit: Page size (default: 50, max: 2000).
|
|
33
|
+
* - skip_count: When true, skips expensive count and returns -1 as total (default: true).
|
|
30
34
|
* - exclude_primary: When true, excludes primary entities from the response (default: false).
|
|
31
35
|
*
|
|
32
|
-
* For each integration, the primary entity is fetched
|
|
33
|
-
* are resolved via EntityRelation definitions.
|
|
36
|
+
* For each integration, the primary entity is fetched, then linked secondary entities
|
|
37
|
+
* are resolved via EntityRelation definitions.
|
|
38
|
+
*
|
|
39
|
+
* Response:
|
|
40
|
+
* - primaries: Array of primary entities (omitted when exclude_primary is true).
|
|
41
|
+
* - items: Array of secondary entities (paginated by page/limit/order).
|
|
42
|
+
* - pagination: Pagination metadata for secondary entities (page, size, total, total_pages).
|
|
43
|
+
*
|
|
44
|
+
* Pagination (page, limit, order) applies only to secondary entities. When exclude_primary is false,
|
|
45
|
+
* primary entities are always included in addition to up to limit secondary entities.
|
|
34
46
|
*/
|
|
35
47
|
export declare function useGetEntitiesMutation(options?: Omit<UseMutationOptions<GetEntitiesOkResponse, GetEntitiesErrorResponse, GetEntitiesProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetEntitiesOkResponse, ApierrorsErrorResponse, GetEntitiesProps, unknown>;
|
|
@@ -12,17 +12,29 @@ export function getEntities(props) {
|
|
|
12
12
|
* Request Body (required):
|
|
13
13
|
* - integrations: Required array of integration queries. Each entry includes:
|
|
14
14
|
* - integration_id: Required - integration config identifier.
|
|
15
|
-
* -
|
|
15
|
+
* - scope: Optional - per-integration org/project. The account is always taken from the path; if
|
|
16
|
+
* scope.account_identifier is provided it must match the path account. When omitted, the request
|
|
17
|
+
* is account-level. A single request may target integrations across
|
|
18
|
+
* different org/projects within the same account.
|
|
16
19
|
* - secondary_kinds: Optional - array of secondary entity kinds to fetch via EntityRelation linkage.
|
|
17
20
|
* Each secondary kind can include field_val_filters for filtering.
|
|
18
21
|
* - sort_by: Sort field - "created" (default), "last_updated", "name", or "identifier".
|
|
19
22
|
* - order: Sort order - "asc" or "desc" (default: "desc").
|
|
20
23
|
* - page: Pagination page number (default: 1, 1-based).
|
|
21
24
|
* - limit: Page size (default: 50, max: 2000).
|
|
25
|
+
* - skip_count: When true, skips expensive count and returns -1 as total (default: true).
|
|
22
26
|
* - exclude_primary: When true, excludes primary entities from the response (default: false).
|
|
23
27
|
*
|
|
24
|
-
* For each integration, the primary entity is fetched
|
|
25
|
-
* are resolved via EntityRelation definitions.
|
|
28
|
+
* For each integration, the primary entity is fetched, then linked secondary entities
|
|
29
|
+
* are resolved via EntityRelation definitions.
|
|
30
|
+
*
|
|
31
|
+
* Response:
|
|
32
|
+
* - primaries: Array of primary entities (omitted when exclude_primary is true).
|
|
33
|
+
* - items: Array of secondary entities (paginated by page/limit/order).
|
|
34
|
+
* - pagination: Pagination metadata for secondary entities (page, size, total, total_pages).
|
|
35
|
+
*
|
|
36
|
+
* Pagination (page, limit, order) applies only to secondary entities. When exclude_primary is false,
|
|
37
|
+
* primary entities are always included in addition to up to limit secondary entities.
|
|
26
38
|
*/
|
|
27
39
|
export function useGetEntitiesMutation(options) {
|
|
28
40
|
return useMutation((mutateProps) => getEntities(mutateProps), options);
|
|
@@ -55,10 +55,6 @@ export type { GetAirbyteIntegrationConfigErrorResponse, GetAirbyteIntegrationCon
|
|
|
55
55
|
export { getAirbyteIntegrationConfig, useGetAirbyteIntegrationConfigQuery, } from './hooks/useGetAirbyteIntegrationConfigQuery';
|
|
56
56
|
export type { GetEntitiesErrorResponse, GetEntitiesMutationPathParams, GetEntitiesOkResponse, GetEntitiesProps, GetEntitiesRequestBody, } from './hooks/useGetEntitiesMutation';
|
|
57
57
|
export { getEntities, useGetEntitiesMutation } from './hooks/useGetEntitiesMutation';
|
|
58
|
-
export type { GetEntitiesOrgErrorResponse, GetEntitiesOrgMutationPathParams, GetEntitiesOrgOkResponse, GetEntitiesOrgProps, GetEntitiesOrgRequestBody, } from './hooks/useGetEntitiesOrgMutation';
|
|
59
|
-
export { getEntitiesOrg, useGetEntitiesOrgMutation } from './hooks/useGetEntitiesOrgMutation';
|
|
60
|
-
export type { GetEntitiesProjectErrorResponse, GetEntitiesProjectMutationPathParams, GetEntitiesProjectOkResponse, GetEntitiesProjectProps, GetEntitiesProjectRequestBody, } from './hooks/useGetEntitiesProjectMutation';
|
|
61
|
-
export { getEntitiesProject, useGetEntitiesProjectMutation, } from './hooks/useGetEntitiesProjectMutation';
|
|
62
58
|
export type { GetHealthErrorResponse, GetHealthOkResponse, GetHealthProps, } from './hooks/useGetHealthQuery';
|
|
63
59
|
export { getHealth, useGetHealthQuery } from './hooks/useGetHealthQuery';
|
|
64
60
|
export type { GetIntegrationConfigOrgErrorResponse, GetIntegrationConfigOrgOkResponse, GetIntegrationConfigOrgProps, GetIntegrationConfigOrgQueryPathParams, } from './hooks/useGetIntegrationConfigOrgQuery';
|
|
@@ -192,8 +188,6 @@ export type { OpenapiCreateMetricConfigProjectRequest } from './schemas/OpenapiC
|
|
|
192
188
|
export type { OpenapiCreateMetricConfigRequest } from './schemas/OpenapiCreateMetricConfigRequest';
|
|
193
189
|
export type { OpenapiFieldValFilterRequest } from './schemas/OpenapiFieldValFilterRequest';
|
|
194
190
|
export type { OpenapiGetAirbyteConnectorCatalogRequest } from './schemas/OpenapiGetAirbyteConnectorCatalogRequest';
|
|
195
|
-
export type { OpenapiGetEntitiesOrgRequest } from './schemas/OpenapiGetEntitiesOrgRequest';
|
|
196
|
-
export type { OpenapiGetEntitiesProjectRequest } from './schemas/OpenapiGetEntitiesProjectRequest';
|
|
197
191
|
export type { OpenapiGetEntitiesRequest } from './schemas/OpenapiGetEntitiesRequest';
|
|
198
192
|
export type { OpenapiIntegrationRequestOpenApi } from './schemas/OpenapiIntegrationRequestOpenApi';
|
|
199
193
|
export type { OpenapiSecondaryKindRequestOpenApi } from './schemas/OpenapiSecondaryKindRequestOpenApi';
|
|
@@ -26,8 +26,6 @@ export { getAirbyteIntegrationConfigOrg, useGetAirbyteIntegrationConfigOrgQuery,
|
|
|
26
26
|
export { getAirbyteIntegrationConfigProject, useGetAirbyteIntegrationConfigProjectQuery, } from './hooks/useGetAirbyteIntegrationConfigProjectQuery';
|
|
27
27
|
export { getAirbyteIntegrationConfig, useGetAirbyteIntegrationConfigQuery, } from './hooks/useGetAirbyteIntegrationConfigQuery';
|
|
28
28
|
export { getEntities, useGetEntitiesMutation } from './hooks/useGetEntitiesMutation';
|
|
29
|
-
export { getEntitiesOrg, useGetEntitiesOrgMutation } from './hooks/useGetEntitiesOrgMutation';
|
|
30
|
-
export { getEntitiesProject, useGetEntitiesProjectMutation, } from './hooks/useGetEntitiesProjectMutation';
|
|
31
29
|
export { getHealth, useGetHealthQuery } from './hooks/useGetHealthQuery';
|
|
32
30
|
export { getIntegrationConfigOrg, useGetIntegrationConfigOrgQuery, } from './hooks/useGetIntegrationConfigOrgQuery';
|
|
33
31
|
export { getIntegrationConfigProject, useGetIntegrationConfigProjectQuery, } from './hooks/useGetIntegrationConfigProjectQuery';
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import type { TypesScope } from '../schemas/TypesScope';
|
|
1
2
|
import type { OpenapiSecondaryKindRequestOpenApi } from '../schemas/OpenapiSecondaryKindRequestOpenApi';
|
|
2
3
|
export interface OpenapiIntegrationRequestOpenApi {
|
|
3
4
|
entity_uuid?: string;
|
|
4
5
|
integration_id?: string;
|
|
6
|
+
scope?: TypesScope;
|
|
5
7
|
secondary_kinds?: OpenapiSecondaryKindRequestOpenApi[];
|
|
6
8
|
}
|
package/package.json
CHANGED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
-
import type { EntityGetEntitiesResponse } from '../schemas/EntityGetEntitiesResponse';
|
|
3
|
-
import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
4
|
-
import type { OpenapiGetEntitiesOrgRequest } from '../schemas/OpenapiGetEntitiesOrgRequest';
|
|
5
|
-
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
-
export interface GetEntitiesOrgMutationPathParams {
|
|
8
|
-
accountIdentifier: string;
|
|
9
|
-
orgIdentifier: string;
|
|
10
|
-
}
|
|
11
|
-
export type GetEntitiesOrgRequestBody = OpenapiGetEntitiesOrgRequest;
|
|
12
|
-
export type GetEntitiesOrgOkResponse = ResponseWithPagination<EntityGetEntitiesResponse>;
|
|
13
|
-
export type GetEntitiesOrgErrorResponse = ApierrorsErrorResponse;
|
|
14
|
-
export interface GetEntitiesOrgProps extends GetEntitiesOrgMutationPathParams, Omit<FetcherOptions<unknown, GetEntitiesOrgRequestBody>, 'url'> {
|
|
15
|
-
body: GetEntitiesOrgRequestBody;
|
|
16
|
-
}
|
|
17
|
-
export declare function getEntitiesOrg(props: GetEntitiesOrgProps): Promise<GetEntitiesOrgOkResponse>;
|
|
18
|
-
/**
|
|
19
|
-
* Get entities from multiple integrations with linked secondary entities.
|
|
20
|
-
*
|
|
21
|
-
* Request Body (required):
|
|
22
|
-
* - integrations: Required array of integration queries. Each entry includes:
|
|
23
|
-
* - integration_id: Required - integration config identifier.
|
|
24
|
-
* - secondary_kinds: Optional - array of secondary entity kinds to fetch via EntityRelation linkage.
|
|
25
|
-
* Each secondary kind can include field_val_filters for filtering.
|
|
26
|
-
* - sort_by: Sort field - "created" (default), "last_updated", "name", or "identifier".
|
|
27
|
-
* - order: Sort order - "asc" or "desc" (default: "desc").
|
|
28
|
-
* - page: Pagination page number (default: 1, 1-based).
|
|
29
|
-
* - limit: Page size (default: 50, max: 2000).
|
|
30
|
-
* - skip_count: When true, skips expensive count and returns -1 as total (default: true).
|
|
31
|
-
* - exclude_primary: When true, excludes primary entities from the response (default: false).
|
|
32
|
-
*
|
|
33
|
-
* For each integration, the primary entity is fetched, then linked secondary entities
|
|
34
|
-
* are resolved via EntityRelation definitions.
|
|
35
|
-
*
|
|
36
|
-
* Response:
|
|
37
|
-
* - primaries: Array of primary entities (omitted when exclude_primary is true).
|
|
38
|
-
* - items: Array of secondary entities (paginated by page/limit/order).
|
|
39
|
-
* - pagination: Pagination metadata for secondary entities (page, size, total, total_pages).
|
|
40
|
-
*
|
|
41
|
-
* Pagination (page, limit, order) applies only to secondary entities. When exclude_primary is false,
|
|
42
|
-
* primary entities are always included in addition to up to limit secondary entities.
|
|
43
|
-
*/
|
|
44
|
-
export declare function useGetEntitiesOrgMutation(options?: Omit<UseMutationOptions<GetEntitiesOrgOkResponse, GetEntitiesOrgErrorResponse, GetEntitiesOrgProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetEntitiesOrgOkResponse, ApierrorsErrorResponse, GetEntitiesOrgProps, unknown>;
|
|
@@ -1,37 +0,0 @@
|
|
|
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 '../../../../fetcher/index.js';
|
|
6
|
-
export function getEntitiesOrg(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/entities`, method: 'POST' }, props));
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Get entities from multiple integrations with linked secondary entities.
|
|
11
|
-
*
|
|
12
|
-
* Request Body (required):
|
|
13
|
-
* - integrations: Required array of integration queries. Each entry includes:
|
|
14
|
-
* - integration_id: Required - integration config identifier.
|
|
15
|
-
* - secondary_kinds: Optional - array of secondary entity kinds to fetch via EntityRelation linkage.
|
|
16
|
-
* Each secondary kind can include field_val_filters for filtering.
|
|
17
|
-
* - sort_by: Sort field - "created" (default), "last_updated", "name", or "identifier".
|
|
18
|
-
* - order: Sort order - "asc" or "desc" (default: "desc").
|
|
19
|
-
* - page: Pagination page number (default: 1, 1-based).
|
|
20
|
-
* - limit: Page size (default: 50, max: 2000).
|
|
21
|
-
* - skip_count: When true, skips expensive count and returns -1 as total (default: true).
|
|
22
|
-
* - exclude_primary: When true, excludes primary entities from the response (default: false).
|
|
23
|
-
*
|
|
24
|
-
* For each integration, the primary entity is fetched, then linked secondary entities
|
|
25
|
-
* are resolved via EntityRelation definitions.
|
|
26
|
-
*
|
|
27
|
-
* Response:
|
|
28
|
-
* - primaries: Array of primary entities (omitted when exclude_primary is true).
|
|
29
|
-
* - items: Array of secondary entities (paginated by page/limit/order).
|
|
30
|
-
* - pagination: Pagination metadata for secondary entities (page, size, total, total_pages).
|
|
31
|
-
*
|
|
32
|
-
* Pagination (page, limit, order) applies only to secondary entities. When exclude_primary is false,
|
|
33
|
-
* primary entities are always included in addition to up to limit secondary entities.
|
|
34
|
-
*/
|
|
35
|
-
export function useGetEntitiesOrgMutation(options) {
|
|
36
|
-
return useMutation((mutateProps) => getEntitiesOrg(mutateProps), options);
|
|
37
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
-
import type { EntityGetEntitiesResponse } from '../schemas/EntityGetEntitiesResponse';
|
|
3
|
-
import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
4
|
-
import type { OpenapiGetEntitiesProjectRequest } from '../schemas/OpenapiGetEntitiesProjectRequest';
|
|
5
|
-
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
-
export interface GetEntitiesProjectMutationPathParams {
|
|
8
|
-
accountIdentifier: string;
|
|
9
|
-
orgIdentifier: string;
|
|
10
|
-
projectIdentifier: string;
|
|
11
|
-
}
|
|
12
|
-
export type GetEntitiesProjectRequestBody = OpenapiGetEntitiesProjectRequest;
|
|
13
|
-
export type GetEntitiesProjectOkResponse = ResponseWithPagination<EntityGetEntitiesResponse>;
|
|
14
|
-
export type GetEntitiesProjectErrorResponse = ApierrorsErrorResponse;
|
|
15
|
-
export interface GetEntitiesProjectProps extends GetEntitiesProjectMutationPathParams, Omit<FetcherOptions<unknown, GetEntitiesProjectRequestBody>, 'url'> {
|
|
16
|
-
body: GetEntitiesProjectRequestBody;
|
|
17
|
-
}
|
|
18
|
-
export declare function getEntitiesProject(props: GetEntitiesProjectProps): Promise<GetEntitiesProjectOkResponse>;
|
|
19
|
-
/**
|
|
20
|
-
* Get entities from multiple integrations with linked secondary entities.
|
|
21
|
-
*
|
|
22
|
-
* Request Body (required):
|
|
23
|
-
* - integrations: Required array of integration queries. Each entry includes:
|
|
24
|
-
* - integration_id: Required - integration config identifier.
|
|
25
|
-
* - secondary_kinds: Optional - array of secondary entity kinds to fetch via EntityRelation linkage.
|
|
26
|
-
* Each secondary kind can include field_val_filters for filtering.
|
|
27
|
-
* - sort_by: Sort field - "created" (default), "last_updated", "name", or "identifier".
|
|
28
|
-
* - order: Sort order - "asc" or "desc" (default: "desc").
|
|
29
|
-
* - page: Pagination page number (default: 1, 1-based).
|
|
30
|
-
* - limit: Page size (default: 50, max: 2000).
|
|
31
|
-
* - skip_count: When true, skips expensive count and returns -1 as total (default: true).
|
|
32
|
-
* - exclude_primary: When true, excludes primary entities from the response (default: false).
|
|
33
|
-
*
|
|
34
|
-
* For each integration, the primary entity is fetched, then linked secondary entities
|
|
35
|
-
* are resolved via EntityRelation definitions.
|
|
36
|
-
*
|
|
37
|
-
* Response:
|
|
38
|
-
* - primaries: Array of primary entities (omitted when exclude_primary is true).
|
|
39
|
-
* - items: Array of secondary entities (paginated by page/limit/order).
|
|
40
|
-
* - pagination: Pagination metadata for secondary entities (page, size, total, total_pages).
|
|
41
|
-
*
|
|
42
|
-
* Pagination (page, limit, order) applies only to secondary entities. When exclude_primary is false,
|
|
43
|
-
* primary entities are always included in addition to up to limit secondary entities.
|
|
44
|
-
*/
|
|
45
|
-
export declare function useGetEntitiesProjectMutation(options?: Omit<UseMutationOptions<GetEntitiesProjectOkResponse, GetEntitiesProjectErrorResponse, GetEntitiesProjectProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetEntitiesProjectOkResponse, ApierrorsErrorResponse, GetEntitiesProjectProps, unknown>;
|
|
@@ -1,37 +0,0 @@
|
|
|
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 '../../../../fetcher/index.js';
|
|
6
|
-
export function getEntitiesProject(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/projects/${props.projectIdentifier}/entities`, method: 'POST' }, props));
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Get entities from multiple integrations with linked secondary entities.
|
|
11
|
-
*
|
|
12
|
-
* Request Body (required):
|
|
13
|
-
* - integrations: Required array of integration queries. Each entry includes:
|
|
14
|
-
* - integration_id: Required - integration config identifier.
|
|
15
|
-
* - secondary_kinds: Optional - array of secondary entity kinds to fetch via EntityRelation linkage.
|
|
16
|
-
* Each secondary kind can include field_val_filters for filtering.
|
|
17
|
-
* - sort_by: Sort field - "created" (default), "last_updated", "name", or "identifier".
|
|
18
|
-
* - order: Sort order - "asc" or "desc" (default: "desc").
|
|
19
|
-
* - page: Pagination page number (default: 1, 1-based).
|
|
20
|
-
* - limit: Page size (default: 50, max: 2000).
|
|
21
|
-
* - skip_count: When true, skips expensive count and returns -1 as total (default: true).
|
|
22
|
-
* - exclude_primary: When true, excludes primary entities from the response (default: false).
|
|
23
|
-
*
|
|
24
|
-
* For each integration, the primary entity is fetched, then linked secondary entities
|
|
25
|
-
* are resolved via EntityRelation definitions.
|
|
26
|
-
*
|
|
27
|
-
* Response:
|
|
28
|
-
* - primaries: Array of primary entities (omitted when exclude_primary is true).
|
|
29
|
-
* - items: Array of secondary entities (paginated by page/limit/order).
|
|
30
|
-
* - pagination: Pagination metadata for secondary entities (page, size, total, total_pages).
|
|
31
|
-
*
|
|
32
|
-
* Pagination (page, limit, order) applies only to secondary entities. When exclude_primary is false,
|
|
33
|
-
* primary entities are always included in addition to up to limit secondary entities.
|
|
34
|
-
*/
|
|
35
|
-
export function useGetEntitiesProjectMutation(options) {
|
|
36
|
-
return useMutation((mutateProps) => getEntitiesProject(mutateProps), options);
|
|
37
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { OpenapiIntegrationRequestOpenApi } from '../schemas/OpenapiIntegrationRequestOpenApi';
|
|
2
|
-
export interface OpenapiGetEntitiesOrgRequest {
|
|
3
|
-
exclude_primary?: boolean;
|
|
4
|
-
integrations?: OpenapiIntegrationRequestOpenApi[] | null;
|
|
5
|
-
limit?: number;
|
|
6
|
-
order?: string;
|
|
7
|
-
page?: number;
|
|
8
|
-
skip_count?: boolean | null;
|
|
9
|
-
sort_by?: string;
|
|
10
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { OpenapiIntegrationRequestOpenApi } from '../schemas/OpenapiIntegrationRequestOpenApi';
|
|
2
|
-
export interface OpenapiGetEntitiesProjectRequest {
|
|
3
|
-
exclude_primary?: boolean;
|
|
4
|
-
integrations?: OpenapiIntegrationRequestOpenApi[] | null;
|
|
5
|
-
limit?: number;
|
|
6
|
-
order?: string;
|
|
7
|
-
page?: number;
|
|
8
|
-
skip_count?: boolean | null;
|
|
9
|
-
sort_by?: string;
|
|
10
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|