UNPKG

liferay-headless-rest-client

Version:
20 lines (19 loc) 2.22 kB
import type { Options as ClientOptions, TDataShape, Client } from '@hey-api/client-fetch'; import type { GetGroupAssetMetricAssetTypeAppearsOnHistogramData, GetGroupAssetMetricAssetTypeAppearsOnHistogramResponses, GetGroupAssetMetricAssetTypeDeviceData, GetGroupAssetMetricAssetTypeDeviceResponses, GetGroupAssetMetricAssetTypeHistogramData, GetGroupAssetMetricAssetTypeHistogramResponses, GetGroupAssetMetricData, GetGroupAssetMetricResponses } from './types.gen'; export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = ClientOptions<TData, ThrowOnError> & { /** * You can provide a client instance returned by `createClient()` instead of * individual options. This might be also useful if you want to implement a * custom client. */ client?: Client; /** * You can pass arbitrary values through the `meta` object. This can be * used to access values that aren't defined as part of the SDK function. */ meta?: Record<string, unknown>; }; export declare const getGroupAssetMetricAssetTypeAppearsOnHistogram: <ThrowOnError extends boolean = false>(options: Options<GetGroupAssetMetricAssetTypeAppearsOnHistogramData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetGroupAssetMetricAssetTypeAppearsOnHistogramResponses, unknown, ThrowOnError, "fields">; export declare const getGroupAssetMetricAssetTypeDevice: <ThrowOnError extends boolean = false>(options: Options<GetGroupAssetMetricAssetTypeDeviceData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetGroupAssetMetricAssetTypeDeviceResponses, unknown, ThrowOnError, "fields">; export declare const getGroupAssetMetricAssetTypeHistogram: <ThrowOnError extends boolean = false>(options: Options<GetGroupAssetMetricAssetTypeHistogramData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetGroupAssetMetricAssetTypeHistogramResponses, unknown, ThrowOnError, "fields">; export declare const getGroupAssetMetric: <ThrowOnError extends boolean = false>(options: Options<GetGroupAssetMetricData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetGroupAssetMetricResponses, unknown, ThrowOnError, "fields">;