/** * This file was auto-generated by Fern from our API Definition. */ import * as Vectara from "../index"; export interface Job { /** The ID of the job. */ id?: string; /** The type of job. */ type?: Vectara.JobType; /** The corpora that this job belongs to. It may not belong to any corpora. */ corpusKeys?: Vectara.CorpusKey[]; state?: Vectara.JobState; /** Specifies when the job was created. */ createdAt?: Date; /** Specifies when the job was started. */ startedAt?: Date; /** Specifies when the job was completed. */ completedAt?: Date; /** The username of the user who created the job. This property may be missing, e.g., if the job was created by the system, not a user. */ createdByUsername?: string; }