component-dbs-core
Version:
DTO objects shared among device backend
14 lines (13 loc) • 780 B
TypeScript
import { DocumentClient } from 'aws-sdk/clients/dynamodb';
import { DeviceMetricsInput, DeviceMetricsOutput } from '../types.d';
import { DeviceVerification } from './deviceVerification';
import { EnvironmentService } from '../common_services/config';
import { DynamodbService } from '../common_services/dynamodb/dynamodbService';
export declare class DeviceMetrics {
private readonly dynamodbService;
private readonly envService;
private readonly deviceVerification;
constructor(dynamodbService: DynamodbService, envService: EnvironmentService, deviceVerification: DeviceVerification);
getDeviceMetrics: (id: string, type: string) => Promise<DocumentClient.QueryOutput>;
createDeviceMetrics: (input: DeviceMetricsInput) => Promise<DeviceMetricsOutput>;
}