/**
 * Admin client API
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: v1
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
import { ReportFormat } from './reportFormat';
import { ReportStatus } from './reportStatus';
import { ReportGenerationFailReason } from './reportGenerationFailReason';
import { ReportRecordAllOfStats } from './reportRecordAllOfStats';
import { ReportType } from './reportType';
export interface ReportRecord {
    /**
     * Owner\'s user ID
     */
    userId: number;
    /**
     * Owner\'s active account ID
     */
    accountId: number;
    format: ReportFormat;
    type: ReportType;
    /**
     * The report\'s date range start date
     */
    from: string;
    /**
     * The report\'s date range end date
     */
    to: string;
    /**
     * Product ID (for Ledgers), Instrument ID (for Trades)
     */
    productOrInstrumentId?: number;
    /**
     * Mongo ID
     */
    _id: string;
    /**
     * The date when the report was created
     */
    createdAt: string;
    status: ReportStatus;
    /**
     * The date when report generation was completed
     */
    completedAt?: string;
    failReason?: ReportGenerationFailReason;
    /**
     * Flag that indicates new reports. Set to false when the report is loaded first time
     */
    _new?: boolean;
    stats?: ReportRecordAllOfStats;
}
