@harnessio/react-integration-manager-client 0.6.1 → 0.6.3
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/useGetCustomEntitiesMutation.d.ts +44 -0
- package/dist/integration-manager/src/services/hooks/useGetCustomEntitiesMutation.js +38 -0
- package/dist/integration-manager/src/services/hooks/useGetCustomEntitiesOrgMutation.d.ts +45 -0
- package/dist/integration-manager/src/services/hooks/useGetCustomEntitiesOrgMutation.js +38 -0
- package/dist/integration-manager/src/services/hooks/useGetCustomEntitiesProjectMutation.d.ts +46 -0
- package/dist/integration-manager/src/services/hooks/useGetCustomEntitiesProjectMutation.js +38 -0
- package/dist/integration-manager/src/services/hooks/useGetCustomEntitiesTypeMutation.d.ts +31 -0
- package/dist/integration-manager/src/services/hooks/useGetCustomEntitiesTypeMutation.js +25 -0
- package/dist/integration-manager/src/services/hooks/useGetCustomEntitiesTypeOrgMutation.d.ts +32 -0
- package/dist/integration-manager/src/services/hooks/useGetCustomEntitiesTypeOrgMutation.js +25 -0
- package/dist/integration-manager/src/services/hooks/useGetCustomEntitiesTypeProjectMutation.d.ts +33 -0
- package/dist/integration-manager/src/services/hooks/useGetCustomEntitiesTypeProjectMutation.js +25 -0
- package/dist/integration-manager/src/services/hooks/useGetEntitiesOrgMutation.d.ts +48 -0
- package/dist/integration-manager/src/services/hooks/useGetEntitiesOrgMutation.js +41 -0
- package/dist/integration-manager/src/services/hooks/useGetEntitiesProjectMutation.d.ts +49 -0
- package/dist/integration-manager/src/services/hooks/useGetEntitiesProjectMutation.js +41 -0
- package/dist/integration-manager/src/services/hooks/useGetMetricTimeseriesOrgQuery.d.ts +42 -0
- package/dist/integration-manager/src/services/hooks/useGetMetricTimeseriesOrgQuery.js +20 -0
- package/dist/integration-manager/src/services/hooks/useGetMetricTimeseriesProjectQuery.d.ts +43 -0
- package/dist/integration-manager/src/services/hooks/useGetMetricTimeseriesProjectQuery.js +21 -0
- package/dist/integration-manager/src/services/hooks/useGetMetricTimeseriesQuery.d.ts +41 -0
- package/dist/integration-manager/src/services/hooks/useGetMetricTimeseriesQuery.js +14 -0
- package/dist/integration-manager/src/services/hooks/useListIntegrationConfigsOrgQuery.d.ts +26 -1
- package/dist/integration-manager/src/services/hooks/useListIntegrationConfigsOrgQuery.js +1 -1
- package/dist/integration-manager/src/services/hooks/useListIntegrationConfigsProjectQuery.d.ts +26 -1
- package/dist/integration-manager/src/services/hooks/useListIntegrationConfigsProjectQuery.js +1 -0
- package/dist/integration-manager/src/services/hooks/useListIntegrationConfigsQuery.d.ts +26 -1
- package/dist/integration-manager/src/services/hooks/useListIntegrationConfigsQuery.js +1 -1
- package/dist/integration-manager/src/services/index.d.ts +41 -3
- package/dist/integration-manager/src/services/index.js +11 -0
- package/dist/integration-manager/src/services/schemas/EntityGetCustomEntitiesResponse.d.ts +6 -0
- package/dist/integration-manager/src/services/schemas/EntityGetCustomEntitiesResponse.js +1 -0
- package/dist/integration-manager/src/services/schemas/EntityGetCustomEntitiesTypeResponse.d.ts +3 -0
- package/dist/integration-manager/src/services/schemas/EntityGetCustomEntitiesTypeResponse.js +4 -0
- package/dist/integration-manager/src/services/schemas/EnumMetricAggregation.d.ts +1 -0
- package/dist/integration-manager/src/services/schemas/EnumMetricAggregation.js +4 -0
- package/dist/integration-manager/src/services/schemas/EnumMetricBucketSize.d.ts +1 -0
- package/dist/integration-manager/src/services/schemas/EnumMetricBucketSize.js +4 -0
- package/dist/integration-manager/src/services/schemas/EnumMetricTimeRange.d.ts +1 -0
- package/dist/integration-manager/src/services/schemas/EnumMetricTimeRange.js +4 -0
- package/dist/integration-manager/src/services/schemas/OpenapiCustomIntegrationRequestOpenApi.d.ts +11 -0
- package/dist/integration-manager/src/services/schemas/OpenapiCustomIntegrationRequestOpenApi.js +1 -0
- package/dist/integration-manager/src/services/schemas/OpenapiGetCustomEntitiesOrgRequest.d.ts +9 -0
- package/dist/integration-manager/src/services/schemas/OpenapiGetCustomEntitiesOrgRequest.js +1 -0
- package/dist/integration-manager/src/services/schemas/OpenapiGetCustomEntitiesProjectRequest.d.ts +9 -0
- package/dist/integration-manager/src/services/schemas/OpenapiGetCustomEntitiesProjectRequest.js +1 -0
- package/dist/integration-manager/src/services/schemas/OpenapiGetCustomEntitiesRequest.d.ts +9 -0
- package/dist/integration-manager/src/services/schemas/OpenapiGetCustomEntitiesRequest.js +1 -0
- package/dist/integration-manager/src/services/schemas/OpenapiGetCustomEntitiesTypeOrgRequest.d.ts +4 -0
- package/dist/integration-manager/src/services/schemas/OpenapiGetCustomEntitiesTypeOrgRequest.js +4 -0
- package/dist/integration-manager/src/services/schemas/OpenapiGetCustomEntitiesTypeProjectRequest.d.ts +4 -0
- package/dist/integration-manager/src/services/schemas/OpenapiGetCustomEntitiesTypeProjectRequest.js +4 -0
- package/dist/integration-manager/src/services/schemas/OpenapiGetCustomEntitiesTypeRequest.d.ts +4 -0
- package/dist/integration-manager/src/services/schemas/OpenapiGetCustomEntitiesTypeRequest.js +4 -0
- package/dist/integration-manager/src/services/schemas/OpenapiGetEntitiesOrgRequest.d.ts +10 -0
- package/dist/integration-manager/src/services/schemas/OpenapiGetEntitiesOrgRequest.js +1 -0
- package/dist/integration-manager/src/services/schemas/OpenapiGetEntitiesProjectRequest.d.ts +10 -0
- package/dist/integration-manager/src/services/schemas/OpenapiGetEntitiesProjectRequest.js +1 -0
- package/dist/integration-manager/src/services/schemas/TypesGetTimeseriesResponse.d.ts +15 -0
- package/dist/integration-manager/src/services/schemas/TypesGetTimeseriesResponse.js +1 -0
- package/dist/integration-manager/src/services/schemas/TypesMetricDataPoint.d.ts +5 -0
- package/dist/integration-manager/src/services/schemas/TypesMetricDataPoint.js +4 -0
- package/package.json +1 -1
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { TypesGetTimeseriesResponse } from '../schemas/TypesGetTimeseriesResponse';
|
|
3
|
+
import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface GetMetricTimeseriesOrgQueryPathParams {
|
|
7
|
+
accountIdentifier: string;
|
|
8
|
+
orgIdentifier: string;
|
|
9
|
+
metric_config_id: string;
|
|
10
|
+
}
|
|
11
|
+
export interface GetMetricTimeseriesOrgQueryQueryParams {
|
|
12
|
+
/**
|
|
13
|
+
* Filter metric points by entity reference. At least one of entity_ref or correlation_value is required.
|
|
14
|
+
*/
|
|
15
|
+
entity_ref?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Filter metric points by correlation value. Requires MetricConfig.Configuration.CorrelationMapping.SourcePath to be configured for the metric.
|
|
18
|
+
*/
|
|
19
|
+
correlation_value?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Time window for the timeseries. Defaults to '7d'.
|
|
22
|
+
*/
|
|
23
|
+
time_range?: '1d' | '1mo' | '1y' | '7d' | 'all';
|
|
24
|
+
/**
|
|
25
|
+
* When true, server-side averages points into buckets (one element per bucket with a count). Defaults to false.
|
|
26
|
+
*/
|
|
27
|
+
aggregate?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Bucket width, only valid when aggregate=true. Defaults to '1h'. Sizes map to mongo $dateTrunc with unit 'hour' or 'day' and binSize:1.
|
|
30
|
+
*/
|
|
31
|
+
bucket_size?: '1d' | '1h';
|
|
32
|
+
}
|
|
33
|
+
export type GetMetricTimeseriesOrgOkResponse = ResponseWithPagination<TypesGetTimeseriesResponse>;
|
|
34
|
+
export type GetMetricTimeseriesOrgErrorResponse = ApierrorsErrorResponse;
|
|
35
|
+
export interface GetMetricTimeseriesOrgProps extends GetMetricTimeseriesOrgQueryPathParams, Omit<FetcherOptions<GetMetricTimeseriesOrgQueryQueryParams, unknown>, 'url'> {
|
|
36
|
+
queryParams: GetMetricTimeseriesOrgQueryQueryParams;
|
|
37
|
+
}
|
|
38
|
+
export declare function getMetricTimeseriesOrg(props: GetMetricTimeseriesOrgProps): Promise<GetMetricTimeseriesOrgOkResponse>;
|
|
39
|
+
/**
|
|
40
|
+
* Returns the timeseries for one metric. In raw mode (default), points are sorted ASC by timestamp. In aggregated mode (aggregate=true), the server averages points into buckets sized by bucket_size and returns one element per bucket with a count, sorted ASC by bucket start. The response is capped at 10,000 points; rows beyond the cap are silently dropped (the store keeps the most-recent rows). At least one of entity_ref or correlation_value is required.
|
|
41
|
+
*/
|
|
42
|
+
export declare function useGetMetricTimeseriesOrgQuery(props: GetMetricTimeseriesOrgProps, options?: Omit<UseQueryOptions<GetMetricTimeseriesOrgOkResponse, GetMetricTimeseriesOrgErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetMetricTimeseriesOrgOkResponse, ApierrorsErrorResponse>;
|
|
@@ -0,0 +1,20 @@
|
|
|
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 '../../../../fetcher/index.js';
|
|
6
|
+
export function getMetricTimeseriesOrg(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/metrics/${props.metric_config_id}/timeseries`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Returns the timeseries for one metric. In raw mode (default), points are sorted ASC by timestamp. In aggregated mode (aggregate=true), the server averages points into buckets sized by bucket_size and returns one element per bucket with a count, sorted ASC by bucket start. The response is capped at 10,000 points; rows beyond the cap are silently dropped (the store keeps the most-recent rows). At least one of entity_ref or correlation_value is required.
|
|
11
|
+
*/
|
|
12
|
+
export function useGetMetricTimeseriesOrgQuery(props, options) {
|
|
13
|
+
return useQuery([
|
|
14
|
+
'getMetricTimeseriesOrg',
|
|
15
|
+
props.accountIdentifier,
|
|
16
|
+
props.orgIdentifier,
|
|
17
|
+
props.metric_config_id,
|
|
18
|
+
props.queryParams,
|
|
19
|
+
], ({ signal }) => getMetricTimeseriesOrg(Object.assign(Object.assign({}, props), { signal })), options);
|
|
20
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { TypesGetTimeseriesResponse } from '../schemas/TypesGetTimeseriesResponse';
|
|
3
|
+
import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface GetMetricTimeseriesProjectQueryPathParams {
|
|
7
|
+
accountIdentifier: string;
|
|
8
|
+
orgIdentifier: string;
|
|
9
|
+
projectIdentifier: string;
|
|
10
|
+
metric_config_id: string;
|
|
11
|
+
}
|
|
12
|
+
export interface GetMetricTimeseriesProjectQueryQueryParams {
|
|
13
|
+
/**
|
|
14
|
+
* Filter metric points by entity reference. At least one of entity_ref or correlation_value is required.
|
|
15
|
+
*/
|
|
16
|
+
entity_ref?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Filter metric points by correlation value. Requires MetricConfig.Configuration.CorrelationMapping.SourcePath to be configured for the metric.
|
|
19
|
+
*/
|
|
20
|
+
correlation_value?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Time window for the timeseries. Defaults to '7d'.
|
|
23
|
+
*/
|
|
24
|
+
time_range?: '1d' | '1mo' | '1y' | '7d' | 'all';
|
|
25
|
+
/**
|
|
26
|
+
* When true, server-side averages points into buckets (one element per bucket with a count). Defaults to false.
|
|
27
|
+
*/
|
|
28
|
+
aggregate?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Bucket width, only valid when aggregate=true. Defaults to '1h'. Sizes map to mongo $dateTrunc with unit 'hour' or 'day' and binSize:1.
|
|
31
|
+
*/
|
|
32
|
+
bucket_size?: '1d' | '1h';
|
|
33
|
+
}
|
|
34
|
+
export type GetMetricTimeseriesProjectOkResponse = ResponseWithPagination<TypesGetTimeseriesResponse>;
|
|
35
|
+
export type GetMetricTimeseriesProjectErrorResponse = ApierrorsErrorResponse;
|
|
36
|
+
export interface GetMetricTimeseriesProjectProps extends GetMetricTimeseriesProjectQueryPathParams, Omit<FetcherOptions<GetMetricTimeseriesProjectQueryQueryParams, unknown>, 'url'> {
|
|
37
|
+
queryParams: GetMetricTimeseriesProjectQueryQueryParams;
|
|
38
|
+
}
|
|
39
|
+
export declare function getMetricTimeseriesProject(props: GetMetricTimeseriesProjectProps): Promise<GetMetricTimeseriesProjectOkResponse>;
|
|
40
|
+
/**
|
|
41
|
+
* Returns the timeseries for one metric. In raw mode (default), points are sorted ASC by timestamp. In aggregated mode (aggregate=true), the server averages points into buckets sized by bucket_size and returns one element per bucket with a count, sorted ASC by bucket start. The response is capped at 10,000 points; rows beyond the cap are silently dropped (the store keeps the most-recent rows). At least one of entity_ref or correlation_value is required.
|
|
42
|
+
*/
|
|
43
|
+
export declare function useGetMetricTimeseriesProjectQuery(props: GetMetricTimeseriesProjectProps, options?: Omit<UseQueryOptions<GetMetricTimeseriesProjectOkResponse, GetMetricTimeseriesProjectErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetMetricTimeseriesProjectOkResponse, ApierrorsErrorResponse>;
|
|
@@ -0,0 +1,21 @@
|
|
|
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 '../../../../fetcher/index.js';
|
|
6
|
+
export function getMetricTimeseriesProject(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/projects/${props.projectIdentifier}/metrics/${props.metric_config_id}/timeseries`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Returns the timeseries for one metric. In raw mode (default), points are sorted ASC by timestamp. In aggregated mode (aggregate=true), the server averages points into buckets sized by bucket_size and returns one element per bucket with a count, sorted ASC by bucket start. The response is capped at 10,000 points; rows beyond the cap are silently dropped (the store keeps the most-recent rows). At least one of entity_ref or correlation_value is required.
|
|
11
|
+
*/
|
|
12
|
+
export function useGetMetricTimeseriesProjectQuery(props, options) {
|
|
13
|
+
return useQuery([
|
|
14
|
+
'getMetricTimeseriesProject',
|
|
15
|
+
props.accountIdentifier,
|
|
16
|
+
props.orgIdentifier,
|
|
17
|
+
props.projectIdentifier,
|
|
18
|
+
props.metric_config_id,
|
|
19
|
+
props.queryParams,
|
|
20
|
+
], ({ signal }) => getMetricTimeseriesProject(Object.assign(Object.assign({}, props), { signal })), options);
|
|
21
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { TypesGetTimeseriesResponse } from '../schemas/TypesGetTimeseriesResponse';
|
|
3
|
+
import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface GetMetricTimeseriesQueryPathParams {
|
|
7
|
+
accountIdentifier: string;
|
|
8
|
+
metric_config_id: string;
|
|
9
|
+
}
|
|
10
|
+
export interface GetMetricTimeseriesQueryQueryParams {
|
|
11
|
+
/**
|
|
12
|
+
* Filter metric points by entity reference. At least one of entity_ref or correlation_value is required.
|
|
13
|
+
*/
|
|
14
|
+
entity_ref?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Filter metric points by correlation value. Requires MetricConfig.Configuration.CorrelationMapping.SourcePath to be configured for the metric.
|
|
17
|
+
*/
|
|
18
|
+
correlation_value?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Time window for the timeseries. Defaults to '7d'.
|
|
21
|
+
*/
|
|
22
|
+
time_range?: '1d' | '1mo' | '1y' | '7d' | 'all';
|
|
23
|
+
/**
|
|
24
|
+
* When true, server-side averages points into buckets (one element per bucket with a count). Defaults to false.
|
|
25
|
+
*/
|
|
26
|
+
aggregate?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Bucket width, only valid when aggregate=true. Defaults to '1h'. Sizes map to mongo $dateTrunc with unit 'hour' or 'day' and binSize:1.
|
|
29
|
+
*/
|
|
30
|
+
bucket_size?: '1d' | '1h';
|
|
31
|
+
}
|
|
32
|
+
export type GetMetricTimeseriesOkResponse = ResponseWithPagination<TypesGetTimeseriesResponse>;
|
|
33
|
+
export type GetMetricTimeseriesErrorResponse = ApierrorsErrorResponse;
|
|
34
|
+
export interface GetMetricTimeseriesProps extends GetMetricTimeseriesQueryPathParams, Omit<FetcherOptions<GetMetricTimeseriesQueryQueryParams, unknown>, 'url'> {
|
|
35
|
+
queryParams: GetMetricTimeseriesQueryQueryParams;
|
|
36
|
+
}
|
|
37
|
+
export declare function getMetricTimeseries(props: GetMetricTimeseriesProps): Promise<GetMetricTimeseriesOkResponse>;
|
|
38
|
+
/**
|
|
39
|
+
* Returns the timeseries for one metric. In raw mode (default), points are sorted ASC by timestamp. In aggregated mode (aggregate=true), the server averages points into buckets sized by bucket_size and returns one element per bucket with a count, sorted ASC by bucket start. The response is capped at 10,000 points; rows beyond the cap are silently dropped (the store keeps the most-recent rows). At least one of entity_ref or correlation_value is required.
|
|
40
|
+
*/
|
|
41
|
+
export declare function useGetMetricTimeseriesQuery(props: GetMetricTimeseriesProps, options?: Omit<UseQueryOptions<GetMetricTimeseriesOkResponse, GetMetricTimeseriesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetMetricTimeseriesOkResponse, ApierrorsErrorResponse>;
|
|
@@ -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 '../../../../fetcher/index.js';
|
|
6
|
+
export function getMetricTimeseries(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/metrics/${props.metric_config_id}/timeseries`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Returns the timeseries for one metric. In raw mode (default), points are sorted ASC by timestamp. In aggregated mode (aggregate=true), the server averages points into buckets sized by bucket_size and returns one element per bucket with a count, sorted ASC by bucket start. The response is capped at 10,000 points; rows beyond the cap are silently dropped (the store keeps the most-recent rows). At least one of entity_ref or correlation_value is required.
|
|
11
|
+
*/
|
|
12
|
+
export function useGetMetricTimeseriesQuery(props, options) {
|
|
13
|
+
return useQuery(['getMetricTimeseries', props.accountIdentifier, props.metric_config_id, props.queryParams], ({ signal }) => getMetricTimeseries(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -1,14 +1,39 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { TypesIntegrationConfig } from '../schemas/TypesIntegrationConfig';
|
|
3
|
+
import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
|
|
3
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
4
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
6
|
export interface ListIntegrationConfigsOrgQueryPathParams {
|
|
6
7
|
accountIdentifier: string;
|
|
7
8
|
orgIdentifier: string;
|
|
8
9
|
}
|
|
10
|
+
export interface ListIntegrationConfigsOrgQueryQueryParams {
|
|
11
|
+
integration_type?: EnumIntegrationType;
|
|
12
|
+
/**
|
|
13
|
+
* Optional filter by entity kinds present in the integration's kinds array (repeatable).
|
|
14
|
+
*/
|
|
15
|
+
kind?: string[];
|
|
16
|
+
/**
|
|
17
|
+
* Maximum number of items to return. Defaults to 50 when omitted.
|
|
18
|
+
*/
|
|
19
|
+
limit?: number;
|
|
20
|
+
/**
|
|
21
|
+
* Number of items to skip from the start of the result set. Defaults to 0.
|
|
22
|
+
*/
|
|
23
|
+
offset?: number;
|
|
24
|
+
/**
|
|
25
|
+
* Sort field: 'created', 'updated', or 'name'. Omitted means unsorted.
|
|
26
|
+
*/
|
|
27
|
+
sort?: 'created' | 'name' | 'updated';
|
|
28
|
+
/**
|
|
29
|
+
* Sort order: 'asc' or 'desc'. Defaults to 'desc' when sort is provided.
|
|
30
|
+
*/
|
|
31
|
+
order?: 'asc' | 'desc';
|
|
32
|
+
}
|
|
9
33
|
export type ListIntegrationConfigsOrgOkResponse = ResponseWithPagination<TypesIntegrationConfig[]>;
|
|
10
34
|
export type ListIntegrationConfigsOrgErrorResponse = unknown;
|
|
11
|
-
export interface ListIntegrationConfigsOrgProps extends ListIntegrationConfigsOrgQueryPathParams, Omit<FetcherOptions<
|
|
35
|
+
export interface ListIntegrationConfigsOrgProps extends ListIntegrationConfigsOrgQueryPathParams, Omit<FetcherOptions<ListIntegrationConfigsOrgQueryQueryParams, unknown>, 'url'> {
|
|
36
|
+
queryParams: ListIntegrationConfigsOrgQueryQueryParams;
|
|
12
37
|
}
|
|
13
38
|
export declare function listIntegrationConfigsOrg(props: ListIntegrationConfigsOrgProps): Promise<ListIntegrationConfigsOrgOkResponse>;
|
|
14
39
|
/**
|
|
@@ -10,5 +10,5 @@ export function listIntegrationConfigsOrg(props) {
|
|
|
10
10
|
* List integration configurations at organization level
|
|
11
11
|
*/
|
|
12
12
|
export function useListIntegrationConfigsOrgQuery(props, options) {
|
|
13
|
-
return useQuery(['listIntegrationConfigsOrg', props.accountIdentifier, props.orgIdentifier], ({ signal }) => listIntegrationConfigsOrg(Object.assign(Object.assign({}, props), { signal })), options);
|
|
13
|
+
return useQuery(['listIntegrationConfigsOrg', props.accountIdentifier, props.orgIdentifier, props.queryParams], ({ signal }) => listIntegrationConfigsOrg(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
14
|
}
|
package/dist/integration-manager/src/services/hooks/useListIntegrationConfigsProjectQuery.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { TypesIntegrationConfig } from '../schemas/TypesIntegrationConfig';
|
|
3
|
+
import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
|
|
3
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
4
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
6
|
export interface ListIntegrationConfigsProjectQueryPathParams {
|
|
@@ -7,9 +8,33 @@ export interface ListIntegrationConfigsProjectQueryPathParams {
|
|
|
7
8
|
orgIdentifier: string;
|
|
8
9
|
projectIdentifier: string;
|
|
9
10
|
}
|
|
11
|
+
export interface ListIntegrationConfigsProjectQueryQueryParams {
|
|
12
|
+
integration_type?: EnumIntegrationType;
|
|
13
|
+
/**
|
|
14
|
+
* Optional filter by entity kinds present in the integration's kinds array (repeatable).
|
|
15
|
+
*/
|
|
16
|
+
kind?: string[];
|
|
17
|
+
/**
|
|
18
|
+
* Maximum number of items to return. Defaults to 50 when omitted.
|
|
19
|
+
*/
|
|
20
|
+
limit?: number;
|
|
21
|
+
/**
|
|
22
|
+
* Number of items to skip from the start of the result set. Defaults to 0.
|
|
23
|
+
*/
|
|
24
|
+
offset?: number;
|
|
25
|
+
/**
|
|
26
|
+
* Sort field: 'created', 'updated', or 'name'. Omitted means unsorted.
|
|
27
|
+
*/
|
|
28
|
+
sort?: 'created' | 'name' | 'updated';
|
|
29
|
+
/**
|
|
30
|
+
* Sort order: 'asc' or 'desc'. Defaults to 'desc' when sort is provided.
|
|
31
|
+
*/
|
|
32
|
+
order?: 'asc' | 'desc';
|
|
33
|
+
}
|
|
10
34
|
export type ListIntegrationConfigsProjectOkResponse = ResponseWithPagination<TypesIntegrationConfig[]>;
|
|
11
35
|
export type ListIntegrationConfigsProjectErrorResponse = unknown;
|
|
12
|
-
export interface ListIntegrationConfigsProjectProps extends ListIntegrationConfigsProjectQueryPathParams, Omit<FetcherOptions<
|
|
36
|
+
export interface ListIntegrationConfigsProjectProps extends ListIntegrationConfigsProjectQueryPathParams, Omit<FetcherOptions<ListIntegrationConfigsProjectQueryQueryParams, unknown>, 'url'> {
|
|
37
|
+
queryParams: ListIntegrationConfigsProjectQueryQueryParams;
|
|
13
38
|
}
|
|
14
39
|
export declare function listIntegrationConfigsProject(props: ListIntegrationConfigsProjectProps): Promise<ListIntegrationConfigsProjectOkResponse>;
|
|
15
40
|
/**
|
package/dist/integration-manager/src/services/hooks/useListIntegrationConfigsProjectQuery.js
CHANGED
|
@@ -15,5 +15,6 @@ export function useListIntegrationConfigsProjectQuery(props, options) {
|
|
|
15
15
|
props.accountIdentifier,
|
|
16
16
|
props.orgIdentifier,
|
|
17
17
|
props.projectIdentifier,
|
|
18
|
+
props.queryParams,
|
|
18
19
|
], ({ signal }) => listIntegrationConfigsProject(Object.assign(Object.assign({}, props), { signal })), options);
|
|
19
20
|
}
|
|
@@ -1,13 +1,38 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { TypesIntegrationConfig } from '../schemas/TypesIntegrationConfig';
|
|
3
|
+
import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
|
|
3
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
4
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
6
|
export interface ListIntegrationConfigsQueryPathParams {
|
|
6
7
|
accountIdentifier: string;
|
|
7
8
|
}
|
|
9
|
+
export interface ListIntegrationConfigsQueryQueryParams {
|
|
10
|
+
integration_type?: EnumIntegrationType;
|
|
11
|
+
/**
|
|
12
|
+
* Optional filter by entity kinds present in the integration's kinds array (repeatable).
|
|
13
|
+
*/
|
|
14
|
+
kind?: string[];
|
|
15
|
+
/**
|
|
16
|
+
* Maximum number of items to return. Defaults to 50 when omitted.
|
|
17
|
+
*/
|
|
18
|
+
limit?: number;
|
|
19
|
+
/**
|
|
20
|
+
* Number of items to skip from the start of the result set. Defaults to 0.
|
|
21
|
+
*/
|
|
22
|
+
offset?: number;
|
|
23
|
+
/**
|
|
24
|
+
* Sort field: 'created', 'updated', or 'name'. Omitted means unsorted.
|
|
25
|
+
*/
|
|
26
|
+
sort?: 'created' | 'name' | 'updated';
|
|
27
|
+
/**
|
|
28
|
+
* Sort order: 'asc' or 'desc'. Defaults to 'desc' when sort is provided.
|
|
29
|
+
*/
|
|
30
|
+
order?: 'asc' | 'desc';
|
|
31
|
+
}
|
|
8
32
|
export type ListIntegrationConfigsOkResponse = ResponseWithPagination<TypesIntegrationConfig[]>;
|
|
9
33
|
export type ListIntegrationConfigsErrorResponse = unknown;
|
|
10
|
-
export interface ListIntegrationConfigsProps extends ListIntegrationConfigsQueryPathParams, Omit<FetcherOptions<
|
|
34
|
+
export interface ListIntegrationConfigsProps extends ListIntegrationConfigsQueryPathParams, Omit<FetcherOptions<ListIntegrationConfigsQueryQueryParams, unknown>, 'url'> {
|
|
35
|
+
queryParams: ListIntegrationConfigsQueryQueryParams;
|
|
11
36
|
}
|
|
12
37
|
export declare function listIntegrationConfigs(props: ListIntegrationConfigsProps): Promise<ListIntegrationConfigsOkResponse>;
|
|
13
38
|
/**
|
|
@@ -10,5 +10,5 @@ export function listIntegrationConfigs(props) {
|
|
|
10
10
|
* List integration configurations
|
|
11
11
|
*/
|
|
12
12
|
export function useListIntegrationConfigsQuery(props, options) {
|
|
13
|
-
return useQuery(['listIntegrationConfigs', props.accountIdentifier], ({ signal }) => listIntegrationConfigs(Object.assign(Object.assign({}, props), { signal })), options);
|
|
13
|
+
return useQuery(['listIntegrationConfigs', props.accountIdentifier, props.queryParams], ({ signal }) => listIntegrationConfigs(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
14
|
}
|
|
@@ -53,8 +53,24 @@ export type { GetAirbyteIntegrationConfigProjectErrorResponse, GetAirbyteIntegra
|
|
|
53
53
|
export { getAirbyteIntegrationConfigProject, useGetAirbyteIntegrationConfigProjectQuery, } from './hooks/useGetAirbyteIntegrationConfigProjectQuery';
|
|
54
54
|
export type { GetAirbyteIntegrationConfigErrorResponse, GetAirbyteIntegrationConfigOkResponse, GetAirbyteIntegrationConfigProps, GetAirbyteIntegrationConfigQueryPathParams, } from './hooks/useGetAirbyteIntegrationConfigQuery';
|
|
55
55
|
export { getAirbyteIntegrationConfig, useGetAirbyteIntegrationConfigQuery, } from './hooks/useGetAirbyteIntegrationConfigQuery';
|
|
56
|
+
export type { GetCustomEntitiesErrorResponse, GetCustomEntitiesMutationPathParams, GetCustomEntitiesOkResponse, GetCustomEntitiesProps, GetCustomEntitiesRequestBody, } from './hooks/useGetCustomEntitiesMutation';
|
|
57
|
+
export { getCustomEntities, useGetCustomEntitiesMutation, } from './hooks/useGetCustomEntitiesMutation';
|
|
58
|
+
export type { GetCustomEntitiesOrgErrorResponse, GetCustomEntitiesOrgMutationPathParams, GetCustomEntitiesOrgOkResponse, GetCustomEntitiesOrgProps, GetCustomEntitiesOrgRequestBody, } from './hooks/useGetCustomEntitiesOrgMutation';
|
|
59
|
+
export { getCustomEntitiesOrg, useGetCustomEntitiesOrgMutation, } from './hooks/useGetCustomEntitiesOrgMutation';
|
|
60
|
+
export type { GetCustomEntitiesProjectErrorResponse, GetCustomEntitiesProjectMutationPathParams, GetCustomEntitiesProjectOkResponse, GetCustomEntitiesProjectProps, GetCustomEntitiesProjectRequestBody, } from './hooks/useGetCustomEntitiesProjectMutation';
|
|
61
|
+
export { getCustomEntitiesProject, useGetCustomEntitiesProjectMutation, } from './hooks/useGetCustomEntitiesProjectMutation';
|
|
62
|
+
export type { GetCustomEntitiesTypeErrorResponse, GetCustomEntitiesTypeMutationPathParams, GetCustomEntitiesTypeOkResponse, GetCustomEntitiesTypeProps, GetCustomEntitiesTypeRequestBody, } from './hooks/useGetCustomEntitiesTypeMutation';
|
|
63
|
+
export { getCustomEntitiesType, useGetCustomEntitiesTypeMutation, } from './hooks/useGetCustomEntitiesTypeMutation';
|
|
64
|
+
export type { GetCustomEntitiesTypeOrgErrorResponse, GetCustomEntitiesTypeOrgMutationPathParams, GetCustomEntitiesTypeOrgOkResponse, GetCustomEntitiesTypeOrgProps, GetCustomEntitiesTypeOrgRequestBody, } from './hooks/useGetCustomEntitiesTypeOrgMutation';
|
|
65
|
+
export { getCustomEntitiesTypeOrg, useGetCustomEntitiesTypeOrgMutation, } from './hooks/useGetCustomEntitiesTypeOrgMutation';
|
|
66
|
+
export type { GetCustomEntitiesTypeProjectErrorResponse, GetCustomEntitiesTypeProjectMutationPathParams, GetCustomEntitiesTypeProjectOkResponse, GetCustomEntitiesTypeProjectProps, GetCustomEntitiesTypeProjectRequestBody, } from './hooks/useGetCustomEntitiesTypeProjectMutation';
|
|
67
|
+
export { getCustomEntitiesTypeProject, useGetCustomEntitiesTypeProjectMutation, } from './hooks/useGetCustomEntitiesTypeProjectMutation';
|
|
56
68
|
export type { GetEntitiesErrorResponse, GetEntitiesMutationPathParams, GetEntitiesOkResponse, GetEntitiesProps, GetEntitiesRequestBody, } from './hooks/useGetEntitiesMutation';
|
|
57
69
|
export { getEntities, useGetEntitiesMutation } from './hooks/useGetEntitiesMutation';
|
|
70
|
+
export type { GetEntitiesOrgErrorResponse, GetEntitiesOrgMutationPathParams, GetEntitiesOrgOkResponse, GetEntitiesOrgProps, GetEntitiesOrgRequestBody, } from './hooks/useGetEntitiesOrgMutation';
|
|
71
|
+
export { getEntitiesOrg, useGetEntitiesOrgMutation } from './hooks/useGetEntitiesOrgMutation';
|
|
72
|
+
export type { GetEntitiesProjectErrorResponse, GetEntitiesProjectMutationPathParams, GetEntitiesProjectOkResponse, GetEntitiesProjectProps, GetEntitiesProjectRequestBody, } from './hooks/useGetEntitiesProjectMutation';
|
|
73
|
+
export { getEntitiesProject, useGetEntitiesProjectMutation, } from './hooks/useGetEntitiesProjectMutation';
|
|
58
74
|
export type { GetHealthErrorResponse, GetHealthOkResponse, GetHealthProps, } from './hooks/useGetHealthQuery';
|
|
59
75
|
export { getHealth, useGetHealthQuery } from './hooks/useGetHealthQuery';
|
|
60
76
|
export type { GetIntegrationConfigOrgErrorResponse, GetIntegrationConfigOrgOkResponse, GetIntegrationConfigOrgProps, GetIntegrationConfigOrgQueryPathParams, } from './hooks/useGetIntegrationConfigOrgQuery';
|
|
@@ -69,17 +85,23 @@ export type { GetMetricConfigProjectErrorResponse, GetMetricConfigProjectOkRespo
|
|
|
69
85
|
export { getMetricConfigProject, useGetMetricConfigProjectQuery, } from './hooks/useGetMetricConfigProjectQuery';
|
|
70
86
|
export type { GetMetricConfigErrorResponse, GetMetricConfigOkResponse, GetMetricConfigProps, GetMetricConfigQueryPathParams, } from './hooks/useGetMetricConfigQuery';
|
|
71
87
|
export { getMetricConfig, useGetMetricConfigQuery } from './hooks/useGetMetricConfigQuery';
|
|
88
|
+
export type { GetMetricTimeseriesOrgErrorResponse, GetMetricTimeseriesOrgOkResponse, GetMetricTimeseriesOrgProps, GetMetricTimeseriesOrgQueryPathParams, GetMetricTimeseriesOrgQueryQueryParams, } from './hooks/useGetMetricTimeseriesOrgQuery';
|
|
89
|
+
export { getMetricTimeseriesOrg, useGetMetricTimeseriesOrgQuery, } from './hooks/useGetMetricTimeseriesOrgQuery';
|
|
90
|
+
export type { GetMetricTimeseriesProjectErrorResponse, GetMetricTimeseriesProjectOkResponse, GetMetricTimeseriesProjectProps, GetMetricTimeseriesProjectQueryPathParams, GetMetricTimeseriesProjectQueryQueryParams, } from './hooks/useGetMetricTimeseriesProjectQuery';
|
|
91
|
+
export { getMetricTimeseriesProject, useGetMetricTimeseriesProjectQuery, } from './hooks/useGetMetricTimeseriesProjectQuery';
|
|
92
|
+
export type { GetMetricTimeseriesErrorResponse, GetMetricTimeseriesOkResponse, GetMetricTimeseriesProps, GetMetricTimeseriesQueryPathParams, GetMetricTimeseriesQueryQueryParams, } from './hooks/useGetMetricTimeseriesQuery';
|
|
93
|
+
export { getMetricTimeseries, useGetMetricTimeseriesQuery, } from './hooks/useGetMetricTimeseriesQuery';
|
|
72
94
|
export type { ListAgentsErrorResponse, ListAgentsOkResponse, ListAgentsProps, ListAgentsQueryPathParams, } from './hooks/useListAgentsQuery';
|
|
73
95
|
export { listAgents, useListAgentsQuery } from './hooks/useListAgentsQuery';
|
|
74
96
|
export type { ListDefaultMappingFieldsErrorResponse, ListDefaultMappingFieldsOkResponse, ListDefaultMappingFieldsProps, ListDefaultMappingFieldsQueryPathParams, ListDefaultMappingFieldsQueryQueryParams, } from './hooks/useListDefaultMappingFieldsQuery';
|
|
75
97
|
export { listDefaultMappingFields, useListDefaultMappingFieldsQuery, } from './hooks/useListDefaultMappingFieldsQuery';
|
|
76
98
|
export type { ListDefaultSchemasErrorResponse, ListDefaultSchemasOkResponse, ListDefaultSchemasProps, ListDefaultSchemasQueryPathParams, ListDefaultSchemasQueryQueryParams, } from './hooks/useListDefaultSchemasQuery';
|
|
77
99
|
export { listDefaultSchemas, useListDefaultSchemasQuery } from './hooks/useListDefaultSchemasQuery';
|
|
78
|
-
export type { ListIntegrationConfigsOrgErrorResponse, ListIntegrationConfigsOrgOkResponse, ListIntegrationConfigsOrgProps, ListIntegrationConfigsOrgQueryPathParams, } from './hooks/useListIntegrationConfigsOrgQuery';
|
|
100
|
+
export type { ListIntegrationConfigsOrgErrorResponse, ListIntegrationConfigsOrgOkResponse, ListIntegrationConfigsOrgProps, ListIntegrationConfigsOrgQueryPathParams, ListIntegrationConfigsOrgQueryQueryParams, } from './hooks/useListIntegrationConfigsOrgQuery';
|
|
79
101
|
export { listIntegrationConfigsOrg, useListIntegrationConfigsOrgQuery, } from './hooks/useListIntegrationConfigsOrgQuery';
|
|
80
|
-
export type { ListIntegrationConfigsProjectErrorResponse, ListIntegrationConfigsProjectOkResponse, ListIntegrationConfigsProjectProps, ListIntegrationConfigsProjectQueryPathParams, } from './hooks/useListIntegrationConfigsProjectQuery';
|
|
102
|
+
export type { ListIntegrationConfigsProjectErrorResponse, ListIntegrationConfigsProjectOkResponse, ListIntegrationConfigsProjectProps, ListIntegrationConfigsProjectQueryPathParams, ListIntegrationConfigsProjectQueryQueryParams, } from './hooks/useListIntegrationConfigsProjectQuery';
|
|
81
103
|
export { listIntegrationConfigsProject, useListIntegrationConfigsProjectQuery, } from './hooks/useListIntegrationConfigsProjectQuery';
|
|
82
|
-
export type { ListIntegrationConfigsErrorResponse, ListIntegrationConfigsOkResponse, ListIntegrationConfigsProps, ListIntegrationConfigsQueryPathParams, } from './hooks/useListIntegrationConfigsQuery';
|
|
104
|
+
export type { ListIntegrationConfigsErrorResponse, ListIntegrationConfigsOkResponse, ListIntegrationConfigsProps, ListIntegrationConfigsQueryPathParams, ListIntegrationConfigsQueryQueryParams, } from './hooks/useListIntegrationConfigsQuery';
|
|
83
105
|
export { listIntegrationConfigs, useListIntegrationConfigsQuery, } from './hooks/useListIntegrationConfigsQuery';
|
|
84
106
|
export type { ListIntegrationEventsOrgErrorResponse, ListIntegrationEventsOrgOkResponse, ListIntegrationEventsOrgProps, ListIntegrationEventsOrgQueryPathParams, ListIntegrationEventsOrgQueryQueryParams, } from './hooks/useListIntegrationEventsOrgQuery';
|
|
85
107
|
export { listIntegrationEventsOrg, useListIntegrationEventsOrgQuery, } from './hooks/useListIntegrationEventsOrgQuery';
|
|
@@ -159,6 +181,8 @@ export type { AirbyteFetchAirbyteConnectorCatalogResponse } from './schemas/Airb
|
|
|
159
181
|
export type { AirbyteGetAirbyteConnectorCatalogResponse } from './schemas/AirbyteGetAirbyteConnectorCatalogResponse';
|
|
160
182
|
export type { ApierrorsErrorDetail } from './schemas/ApierrorsErrorDetail';
|
|
161
183
|
export type { ApierrorsErrorResponse } from './schemas/ApierrorsErrorResponse';
|
|
184
|
+
export type { EntityGetCustomEntitiesResponse } from './schemas/EntityGetCustomEntitiesResponse';
|
|
185
|
+
export type { EntityGetCustomEntitiesTypeResponse } from './schemas/EntityGetCustomEntitiesTypeResponse';
|
|
162
186
|
export type { EntityGetEntitiesResponse } from './schemas/EntityGetEntitiesResponse';
|
|
163
187
|
export type { EntityPaginationInfo } from './schemas/EntityPaginationInfo';
|
|
164
188
|
export type { EnumAction } from './schemas/EnumAction';
|
|
@@ -167,6 +191,9 @@ export type { EnumAirbyteSyncMode } from './schemas/EnumAirbyteSyncMode';
|
|
|
167
191
|
export type { EnumIntegrationEventType } from './schemas/EnumIntegrationEventType';
|
|
168
192
|
export type { EnumIntegrationMode } from './schemas/EnumIntegrationMode';
|
|
169
193
|
export type { EnumIntegrationType } from './schemas/EnumIntegrationType';
|
|
194
|
+
export type { EnumMetricAggregation } from './schemas/EnumMetricAggregation';
|
|
195
|
+
export type { EnumMetricBucketSize } from './schemas/EnumMetricBucketSize';
|
|
196
|
+
export type { EnumMetricTimeRange } from './schemas/EnumMetricTimeRange';
|
|
170
197
|
export type { EnumOperator } from './schemas/EnumOperator';
|
|
171
198
|
export type { EnumSyncResponseStatus } from './schemas/EnumSyncResponseStatus';
|
|
172
199
|
export type { EnumSyncStatus } from './schemas/EnumSyncStatus';
|
|
@@ -186,8 +213,17 @@ export type { OpenapiCreateIntegrationConfigRequest } from './schemas/OpenapiCre
|
|
|
186
213
|
export type { OpenapiCreateMetricConfigOrgRequest } from './schemas/OpenapiCreateMetricConfigOrgRequest';
|
|
187
214
|
export type { OpenapiCreateMetricConfigProjectRequest } from './schemas/OpenapiCreateMetricConfigProjectRequest';
|
|
188
215
|
export type { OpenapiCreateMetricConfigRequest } from './schemas/OpenapiCreateMetricConfigRequest';
|
|
216
|
+
export type { OpenapiCustomIntegrationRequestOpenApi } from './schemas/OpenapiCustomIntegrationRequestOpenApi';
|
|
189
217
|
export type { OpenapiFieldValFilterRequest } from './schemas/OpenapiFieldValFilterRequest';
|
|
190
218
|
export type { OpenapiGetAirbyteConnectorCatalogRequest } from './schemas/OpenapiGetAirbyteConnectorCatalogRequest';
|
|
219
|
+
export type { OpenapiGetCustomEntitiesOrgRequest } from './schemas/OpenapiGetCustomEntitiesOrgRequest';
|
|
220
|
+
export type { OpenapiGetCustomEntitiesProjectRequest } from './schemas/OpenapiGetCustomEntitiesProjectRequest';
|
|
221
|
+
export type { OpenapiGetCustomEntitiesRequest } from './schemas/OpenapiGetCustomEntitiesRequest';
|
|
222
|
+
export type { OpenapiGetCustomEntitiesTypeOrgRequest } from './schemas/OpenapiGetCustomEntitiesTypeOrgRequest';
|
|
223
|
+
export type { OpenapiGetCustomEntitiesTypeProjectRequest } from './schemas/OpenapiGetCustomEntitiesTypeProjectRequest';
|
|
224
|
+
export type { OpenapiGetCustomEntitiesTypeRequest } from './schemas/OpenapiGetCustomEntitiesTypeRequest';
|
|
225
|
+
export type { OpenapiGetEntitiesOrgRequest } from './schemas/OpenapiGetEntitiesOrgRequest';
|
|
226
|
+
export type { OpenapiGetEntitiesProjectRequest } from './schemas/OpenapiGetEntitiesProjectRequest';
|
|
191
227
|
export type { OpenapiGetEntitiesRequest } from './schemas/OpenapiGetEntitiesRequest';
|
|
192
228
|
export type { OpenapiIntegrationRequestOpenApi } from './schemas/OpenapiIntegrationRequestOpenApi';
|
|
193
229
|
export type { OpenapiSecondaryKindRequestOpenApi } from './schemas/OpenapiSecondaryKindRequestOpenApi';
|
|
@@ -228,6 +264,7 @@ export type { TypesEntityMapping } from './schemas/TypesEntityMapping';
|
|
|
228
264
|
export type { TypesEntityMappingSpec } from './schemas/TypesEntityMappingSpec';
|
|
229
265
|
export type { TypesEntitySchema } from './schemas/TypesEntitySchema';
|
|
230
266
|
export type { TypesFieldMapping } from './schemas/TypesFieldMapping';
|
|
267
|
+
export type { TypesGetTimeseriesResponse } from './schemas/TypesGetTimeseriesResponse';
|
|
231
268
|
export type { TypesHarnessAirbyteConfig } from './schemas/TypesHarnessAirbyteConfig';
|
|
232
269
|
export type { TypesHarnessComponentSettings } from './schemas/TypesHarnessComponentSettings';
|
|
233
270
|
export type { TypesIdpSubscription } from './schemas/TypesIdpSubscription';
|
|
@@ -243,6 +280,7 @@ export type { TypesMappingConfig } from './schemas/TypesMappingConfig';
|
|
|
243
280
|
export type { TypesMappingSpec } from './schemas/TypesMappingSpec';
|
|
244
281
|
export type { TypesMetricConfig } from './schemas/TypesMetricConfig';
|
|
245
282
|
export type { TypesMetricConfiguration } from './schemas/TypesMetricConfiguration';
|
|
283
|
+
export type { TypesMetricDataPoint } from './schemas/TypesMetricDataPoint';
|
|
246
284
|
export type { TypesMetricErrors } from './schemas/TypesMetricErrors';
|
|
247
285
|
export type { TypesReevalState } from './schemas/TypesReevalState';
|
|
248
286
|
export type { TypesSchemaMapping } from './schemas/TypesSchemaMapping';
|
|
@@ -25,7 +25,15 @@ export { getAirbyteConnectorCatalog, useGetAirbyteConnectorCatalogQuery, } from
|
|
|
25
25
|
export { getAirbyteIntegrationConfigOrg, useGetAirbyteIntegrationConfigOrgQuery, } from './hooks/useGetAirbyteIntegrationConfigOrgQuery';
|
|
26
26
|
export { getAirbyteIntegrationConfigProject, useGetAirbyteIntegrationConfigProjectQuery, } from './hooks/useGetAirbyteIntegrationConfigProjectQuery';
|
|
27
27
|
export { getAirbyteIntegrationConfig, useGetAirbyteIntegrationConfigQuery, } from './hooks/useGetAirbyteIntegrationConfigQuery';
|
|
28
|
+
export { getCustomEntities, useGetCustomEntitiesMutation, } from './hooks/useGetCustomEntitiesMutation';
|
|
29
|
+
export { getCustomEntitiesOrg, useGetCustomEntitiesOrgMutation, } from './hooks/useGetCustomEntitiesOrgMutation';
|
|
30
|
+
export { getCustomEntitiesProject, useGetCustomEntitiesProjectMutation, } from './hooks/useGetCustomEntitiesProjectMutation';
|
|
31
|
+
export { getCustomEntitiesType, useGetCustomEntitiesTypeMutation, } from './hooks/useGetCustomEntitiesTypeMutation';
|
|
32
|
+
export { getCustomEntitiesTypeOrg, useGetCustomEntitiesTypeOrgMutation, } from './hooks/useGetCustomEntitiesTypeOrgMutation';
|
|
33
|
+
export { getCustomEntitiesTypeProject, useGetCustomEntitiesTypeProjectMutation, } from './hooks/useGetCustomEntitiesTypeProjectMutation';
|
|
28
34
|
export { getEntities, useGetEntitiesMutation } from './hooks/useGetEntitiesMutation';
|
|
35
|
+
export { getEntitiesOrg, useGetEntitiesOrgMutation } from './hooks/useGetEntitiesOrgMutation';
|
|
36
|
+
export { getEntitiesProject, useGetEntitiesProjectMutation, } from './hooks/useGetEntitiesProjectMutation';
|
|
29
37
|
export { getHealth, useGetHealthQuery } from './hooks/useGetHealthQuery';
|
|
30
38
|
export { getIntegrationConfigOrg, useGetIntegrationConfigOrgQuery, } from './hooks/useGetIntegrationConfigOrgQuery';
|
|
31
39
|
export { getIntegrationConfigProject, useGetIntegrationConfigProjectQuery, } from './hooks/useGetIntegrationConfigProjectQuery';
|
|
@@ -33,6 +41,9 @@ export { getIntegrationConfig, useGetIntegrationConfigQuery, } from './hooks/use
|
|
|
33
41
|
export { getMetricConfigOrg, useGetMetricConfigOrgQuery } from './hooks/useGetMetricConfigOrgQuery';
|
|
34
42
|
export { getMetricConfigProject, useGetMetricConfigProjectQuery, } from './hooks/useGetMetricConfigProjectQuery';
|
|
35
43
|
export { getMetricConfig, useGetMetricConfigQuery } from './hooks/useGetMetricConfigQuery';
|
|
44
|
+
export { getMetricTimeseriesOrg, useGetMetricTimeseriesOrgQuery, } from './hooks/useGetMetricTimeseriesOrgQuery';
|
|
45
|
+
export { getMetricTimeseriesProject, useGetMetricTimeseriesProjectQuery, } from './hooks/useGetMetricTimeseriesProjectQuery';
|
|
46
|
+
export { getMetricTimeseries, useGetMetricTimeseriesQuery, } from './hooks/useGetMetricTimeseriesQuery';
|
|
36
47
|
export { listAgents, useListAgentsQuery } from './hooks/useListAgentsQuery';
|
|
37
48
|
export { listDefaultMappingFields, useListDefaultMappingFieldsQuery, } from './hooks/useListDefaultMappingFieldsQuery';
|
|
38
49
|
export { listDefaultSchemas, useListDefaultSchemasQuery } from './hooks/useListDefaultSchemasQuery';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type EnumMetricAggregation = string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type EnumMetricBucketSize = string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type EnumMetricTimeRange = string;
|
package/dist/integration-manager/src/services/schemas/OpenapiCustomIntegrationRequestOpenApi.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { TypesScope } from '../schemas/TypesScope';
|
|
2
|
+
export interface OpenapiCustomIntegrationRequestOpenApi {
|
|
3
|
+
correlation_value?: string;
|
|
4
|
+
data_kind?: string;
|
|
5
|
+
entity_ref?: string;
|
|
6
|
+
filter?: {
|
|
7
|
+
[key: string]: string[];
|
|
8
|
+
};
|
|
9
|
+
integration_id?: string;
|
|
10
|
+
scope?: TypesScope;
|
|
11
|
+
}
|
package/dist/integration-manager/src/services/schemas/OpenapiCustomIntegrationRequestOpenApi.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { OpenapiCustomIntegrationRequestOpenApi } from '../schemas/OpenapiCustomIntegrationRequestOpenApi';
|
|
2
|
+
export interface OpenapiGetCustomEntitiesOrgRequest {
|
|
3
|
+
integrations?: OpenapiCustomIntegrationRequestOpenApi[] | null;
|
|
4
|
+
limit?: number;
|
|
5
|
+
order?: string;
|
|
6
|
+
page?: number;
|
|
7
|
+
skip_count?: boolean | null;
|
|
8
|
+
sort_by?: string;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/integration-manager/src/services/schemas/OpenapiGetCustomEntitiesProjectRequest.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { OpenapiCustomIntegrationRequestOpenApi } from '../schemas/OpenapiCustomIntegrationRequestOpenApi';
|
|
2
|
+
export interface OpenapiGetCustomEntitiesProjectRequest {
|
|
3
|
+
integrations?: OpenapiCustomIntegrationRequestOpenApi[] | null;
|
|
4
|
+
limit?: number;
|
|
5
|
+
order?: string;
|
|
6
|
+
page?: number;
|
|
7
|
+
skip_count?: boolean | null;
|
|
8
|
+
sort_by?: string;
|
|
9
|
+
}
|
package/dist/integration-manager/src/services/schemas/OpenapiGetCustomEntitiesProjectRequest.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { OpenapiCustomIntegrationRequestOpenApi } from '../schemas/OpenapiCustomIntegrationRequestOpenApi';
|
|
2
|
+
export interface OpenapiGetCustomEntitiesRequest {
|
|
3
|
+
integrations?: OpenapiCustomIntegrationRequestOpenApi[] | null;
|
|
4
|
+
limit?: number;
|
|
5
|
+
order?: string;
|
|
6
|
+
page?: number;
|
|
7
|
+
skip_count?: boolean | null;
|
|
8
|
+
sort_by?: string;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|