import type * as Samsara from "../index.js"; export interface UploadedMediaObjectResponseBody { /** Serial number of the auxiliary camera that captured this media. Only present for analog inputs from auxiliary camera devices (e.g. Octo-1, Octo-4). Examples: ABDVJ123456789 */ auxCamSerial?: string | undefined; /** Timestamp, in RFC 3339 format, at which the media item was made available. Examples: 2019-06-13T19:08:25Z, 2019-06-13T19:08:25.455Z, OR 2015-09-15T14:00:12-04:00 */ availableAtTime: string; /** Camera role for this media. Valid values: `leftMirrorMount`, `leftSide`, `rightMirrorMount`, `rightSide`, `rearHigh`, `rearBumper`, `inCab`, `front`, `hopper`, `other1`, `other2`, `other3`, `other4`, `leftBev`, `rightBev`, `rearBev`, `frontBev`, `otherBev`, `bevNotUsed` */ cameraRole?: UploadedMediaObjectResponseBody.CameraRole | undefined; /** An end 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). */ endTime: string; /** Input type for this media. Valid values: `dashcamForwardFacing`, `dashcamInwardFacing`, `analog1`, `analog2`, `analog3`, `analog4` */ input: UploadedMediaObjectResponseBody.Input; /** Type of media. Valid values: `image`, `videoHighRes`, `videoLowRes`, `hyperlapse` */ mediaType: UploadedMediaObjectResponseBody.MediaType; /** A start 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). */ startTime: string; /** Trigger reason for this media capture. Valid values: `api`, `panicButton`, `periodicStill`, `rfidEvent`, `safetyEvent`, `tripEndStill`, `tripStartStill`, `videoRetrieval` */ triggerReason: UploadedMediaObjectResponseBody.TriggerReason; urlInfo?: Samsara.UrlInfoObjectResponseBody | undefined; /** Vehicle ID for which this media was captured. Examples: 1234 */ vehicleId: string; } export declare namespace UploadedMediaObjectResponseBody { /** Camera role for this media. Valid values: `leftMirrorMount`, `leftSide`, `rightMirrorMount`, `rightSide`, `rearHigh`, `rearBumper`, `inCab`, `front`, `hopper`, `other1`, `other2`, `other3`, `other4`, `leftBev`, `rightBev`, `rearBev`, `frontBev`, `otherBev`, `bevNotUsed` */ const CameraRole: { readonly LeftMirrorMount: "leftMirrorMount"; readonly LeftSide: "leftSide"; readonly RightMirrorMount: "rightMirrorMount"; readonly RightSide: "rightSide"; readonly RearHigh: "rearHigh"; readonly RearBumper: "rearBumper"; readonly InCab: "inCab"; readonly Front: "front"; readonly Hopper: "hopper"; readonly Other1: "other1"; readonly Other2: "other2"; readonly Other3: "other3"; readonly Other4: "other4"; readonly LeftBev: "leftBev"; readonly RightBev: "rightBev"; readonly RearBev: "rearBev"; readonly FrontBev: "frontBev"; readonly OtherBev: "otherBev"; readonly BevNotUsed: "bevNotUsed"; }; type CameraRole = (typeof CameraRole)[keyof typeof CameraRole]; /** Input type for this media. Valid values: `dashcamForwardFacing`, `dashcamInwardFacing`, `analog1`, `analog2`, `analog3`, `analog4` */ const Input: { readonly DashcamForwardFacing: "dashcamForwardFacing"; readonly DashcamInwardFacing: "dashcamInwardFacing"; readonly Analog1: "analog1"; readonly Analog2: "analog2"; readonly Analog3: "analog3"; readonly Analog4: "analog4"; }; type Input = (typeof Input)[keyof typeof Input]; /** Type of media. Valid values: `image`, `videoHighRes`, `videoLowRes`, `hyperlapse` */ const MediaType: { readonly Image: "image"; readonly VideoHighRes: "videoHighRes"; readonly VideoLowRes: "videoLowRes"; readonly Hyperlapse: "hyperlapse"; }; type MediaType = (typeof MediaType)[keyof typeof MediaType]; /** Trigger reason for this media capture. Valid values: `api`, `panicButton`, `periodicStill`, `rfidEvent`, `safetyEvent`, `tripEndStill`, `tripStartStill`, `videoRetrieval` */ const TriggerReason: { readonly Api: "api"; readonly PanicButton: "panicButton"; readonly PeriodicStill: "periodicStill"; readonly RfidEvent: "rfidEvent"; readonly SafetyEvent: "safetyEvent"; readonly TripEndStill: "tripEndStill"; readonly TripStartStill: "tripStartStill"; readonly VideoRetrieval: "videoRetrieval"; }; type TriggerReason = (typeof TriggerReason)[keyof typeof TriggerReason]; }