import type * as Samsara from "../index.js"; /** * An event that refers to a discrete instance in time with various data elements. Depending on the type of event, not every field will be populated. For more information, see the ELD Mandate [section 3.1.2](https://www.ecfr.gov/cgi-bin/retrieveECFR?gp=1&ty=HTML&h=L&mc=true&=PART&n=pt49.5.395#ap49.5.395_138.a). */ export interface HosEldEventObjectResponseBody { /** The accumulated meters in the given ignition power on cycle. */ accumulatedVehicleMeters?: number | undefined; /** The elapsed time in the engine's operation in the given ignition power on cycle. */ elapsedEngineHours?: number | undefined; /** A dependent attribute on `eldEventType` that specifies the nature of the event, as defined in the ELD Mandate [section 7.20](https://www.ecfr.gov/cgi-bin/retrieveECFR?gp=1&ty=HTML&h=L&mc=true&=PART&n=pt49.5.395#ap49.5.395_138.a). Valid values: `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9` */ eldEventCode: number; /** An attribute for the event record indicating whether it is automatically recorded, or edited, entered or accepted by the driver, requested by another authenticated user, or assumed from unidentified driver profile, as defined in the ELD Mandate [section 7.22](https://www.ecfr.gov/cgi-bin/retrieveECFR?gp=1&ty=HTML&h=L&mc=true&=PART&n=pt49.5.395#ap49.5.395_138.a). Valid values: `1`, `2`, `3`, `4` */ eldEventRecordOrigin?: number | undefined; /** An attribute for the event record indicating whether an event is active or inactive and further, if inactive, whether it is due to a change or lack of confirmation by the driver or due to a driver's rejection of change request, as defined in the ELD Mandate [section 7.23](https://www.ecfr.gov/cgi-bin/retrieveECFR?gp=1&ty=HTML&h=L&mc=true&=PART&n=pt49.5.395#ap49.5.395_138.a). Valid values: `1`, `2`, `3`, `4` */ eldEventRecordStatus?: number | undefined; /** An attribute specifying the type of ELD event, as defined in the ELD Mandate [section 7.25](https://www.ecfr.gov/cgi-bin/retrieveECFR?gp=1&ty=HTML&h=L&mc=true&=PART&n=pt49.5.395#ap49.5.395_138.a). Valid values: `1`, `2`, `3`, `4`, `5`, `6`, `7` */ eldEventType: number; location?: Samsara.HosEldEventLocationObjectResponseBody | undefined; /** A code that further specifies the underlying malfunction or data diagnostic event, as defined in the ELD Mandate [section 7.34](https://www.ecfr.gov/cgi-bin/retrieveECFR?gp=1&ty=HTML&h=L&mc=true&=PART&n=pt49.5.395#ap49.5.395_138.a). Valid values: `P`, `E`, `T`, `L`, `R`, `S`, `O`, `1`, `2`, `3`, `4`, `5`, `6` */ malfunctionDiagnosticCode?: HosEldEventObjectResponseBody.MalfunctionDiagnosticCode | undefined; remark?: Samsara.HosEldEventRemarkObjectResponseBody | undefined; /** A time in RFC 3339 format. Millisecond precision and timezones are supported. (Examples: 2019-06-13T19:08:25Z, 2019-06-13T19:08:25.455Z, OR 2015-09-15T14:00:12-04:00). */ time: string; /** The aggregated time of a vehicle's engine's operation since its inception. */ totalEngineHours?: number | undefined; /** The total meters recorded for the vehicle. */ totalVehicleMeters?: number | undefined; vehicle?: Samsara.GoaVehicleTinyResponseResponseBody | undefined; } export declare namespace HosEldEventObjectResponseBody { /** A code that further specifies the underlying malfunction or data diagnostic event, as defined in the ELD Mandate [section 7.34](https://www.ecfr.gov/cgi-bin/retrieveECFR?gp=1&ty=HTML&h=L&mc=true&=PART&n=pt49.5.395#ap49.5.395_138.a). Valid values: `P`, `E`, `T`, `L`, `R`, `S`, `O`, `1`, `2`, `3`, `4`, `5`, `6` */ const MalfunctionDiagnosticCode: { readonly P: "P"; readonly E: "E"; readonly T: "T"; readonly L: "L"; readonly R: "R"; readonly S: "S"; readonly O: "O"; readonly One: "1"; readonly Two: "2"; readonly Three: "3"; readonly Four: "4"; readonly Five: "5"; readonly Six: "6"; }; type MalfunctionDiagnosticCode = (typeof MalfunctionDiagnosticCode)[keyof typeof MalfunctionDiagnosticCode]; }