import { Certificate } from '../certificate.entity' ; import { TransactionLog } from '../transaction-log.entity' ; export type GetCertificatesWithLogsParams = { deviceIds : string [ ] ; from : Date ; to : Date ; } ; export class GetCertificatesWithLogsQuery { constructor ( public params ) { } } export type CertificateWithLogs = Certificate & { transactionLogs : TransactionLog [ ] ; } ; export type GetCertificatesWithLogsResponse = CertificateWithLogs [ ] ;