// This file was auto-generated by Fern from our API Definition.

/**
 * The data export api is used to view all message sent & viewed in a given timeframe.
 */
export interface DataExport {
    /** The identifier for your job. */
    job_identfier?: string;
    /** The current state of your job. */
    status?: DataExport.Status;
    /** The time after which you will not be able to access the data. */
    download_expires_at?: string;
    /** The location where you can download your data. */
    download_url?: string;
}

export namespace DataExport {
    /** The current state of your job. */
    export const Status = {
        Pending: "pending",
        InProgress: "in_progress",
        Failed: "failed",
        Completed: "completed",
        NoData: "no_data",
        Canceled: "canceled",
    } as const;
    export type Status = (typeof Status)[keyof typeof Status];
}
