import { type BatchGetAssetPropertyAggregatesRequest, type BatchGetAssetPropertyAggregatesResponse, type BatchGetAssetPropertyValueHistoryRequest, type BatchGetAssetPropertyValueHistoryResponse, type GetAssetPropertyAggregatesRequest, type GetAssetPropertyAggregatesResponse, type GetAssetPropertyValueHistoryRequest, type GetAssetPropertyValueHistoryResponse } from '@aws-sdk/client-iotsitewise'; import { type Primitive } from '@iot-app-kit/charts-core'; import { type RequestFunction, type RequestParameters, type RequestResponse, type DataPoint } from '@iot-app-kit/core'; export type CommonRequestParameters = { numberOfDataPointsToScanFor?: number; }; /** * Raw data */ export type GetAssetPropertyValueHistoryRequestFunction = RequestFunction; export type GetAssetPropertyValueHistoryRequestParameters = RequestParameters; export type GetAssetPropertyValueHistoryRequestResponse = RequestResponse; export type AssetPropertyValueHistoryRequest = GetAssetPropertyValueHistoryRequestParameters & CommonRequestParameters; export type BatchGetAssetPropertyValueHistoryRequestFunction = RequestFunction; export type BatchGetAssetPropertyValueHistoryRequestParameters = RequestParameters; export type BatchGetAssetPropertyValueHistoryRequestResponse = RequestResponse; export type BatchAssetPropertyValueHistoryRequest = BatchGetAssetPropertyValueHistoryRequestParameters & CommonRequestParameters; /** * Aggregate data */ export type GetAssetPropertyAggregatesRequestFunction = RequestFunction; export type GetAssetPropertyAggregatesRequestParameters = RequestParameters; export type GetAssetPropertyAggregatesRequestResponse = RequestResponse; export type AssetPropertyAggregatesRequest = GetAssetPropertyAggregatesRequestParameters & CommonRequestParameters; export type BatchGetAssetPropertyAggregatesRequestFunction = RequestFunction; export type BatchGetAssetPropertyAggregatesRequestParameters = RequestParameters; export type BatchGetAssetPropertyAggregatesRequestResponse = RequestResponse; export type BatchAssetPropertyAggregatesRequest = BatchGetAssetPropertyAggregatesRequestParameters & CommonRequestParameters; /** * Helper types */ export type AssetPropertyValuesRequest = AssetPropertyValueHistoryRequest | AssetPropertyAggregatesRequest; export type AssetPropertyValuesData = DataPoint[]; export type AssetPropertyValuesRequestFunctions = { getAssetPropertyValueHistory?: GetAssetPropertyValueHistoryRequestFunction; batchGetAssetPropertyValueHistory?: BatchGetAssetPropertyValueHistoryRequestFunction; getAssetPropertyAggregates?: GetAssetPropertyAggregatesRequestFunction; batchGetAssetPropertyAggregates?: BatchGetAssetPropertyAggregatesRequestFunction; }; //# sourceMappingURL=types.d.ts.map