import type * as Samsara from "../index.js"; /** * A job representing the async generation of IFTA mileage segments. The job should be polled until the state is terminal. */ export interface IftaDetailJobResponseBody { args: Samsara.IftaDetailJobArgsResponseBody; /** The time this job completed successfully. */ completedAtTime?: string | undefined; /** A message containing additional details about the job, if available. */ details?: string | undefined; /** The time this job failed. */ failedAtTime?: string | undefined; /** A list of files generated by this job. This field will be omitted when the job status is "Failed" or no data exists with the provided job arguments. Read about the file structure [here](https://developers.samsara.com/docs/ifta-detail-csv). */ files?: Samsara.IftaDetailJobOutputResponseBody[] | undefined; /** The ID used to retrieve this job. */ jobId: string; /** The status of this job. `jobStatus` can be one of Requested, Processing, Completed, or Failed. Valid values: `Requested`, `Processing`, `Completed`, `Failed` */ jobStatus: IftaDetailJobResponseBody.JobStatus; /** The time this job was requested for creation. */ requestedAtTime: string; /** The time this job started processing. */ startedAtTime?: string | undefined; } export declare namespace IftaDetailJobResponseBody { /** The status of this job. `jobStatus` can be one of Requested, Processing, Completed, or Failed. Valid values: `Requested`, `Processing`, `Completed`, `Failed` */ const JobStatus: { readonly Requested: "Requested"; readonly Processing: "Processing"; readonly Completed: "Completed"; readonly Failed: "Failed"; }; type JobStatus = (typeof JobStatus)[keyof typeof JobStatus]; }