/** * A fleet installer photo upload session. */ export interface FleetInstallerPhotoUploadSessionResponseBody { /** Base64-encoded MD5 of the file bytes. */ contentMd5: string; /** Session creation timestamp (RFC 3339). */ createdAtTime: string; /** Samsara device ID. */ deviceId: string; /** File format. Valid values: `imageJpeg`, `imagePng`, `unknown` */ fileFormatType: FleetInstallerPhotoUploadSessionResponseBody.FileFormatType; /** Original file name supplied at session creation. */ fileName: string; /** Hardware category of the device. Valid values: `vehicleGateway`, `assetGateway`, `camera`, `cameraConnector`, `environmentalMonitor`, `assetTag`, `trackingLabel`, `unknown` */ hardwareType: FleetInstallerPhotoUploadSessionResponseBody.HardwareType; /** Unique session UUID. */ id: string; /** Purpose of the photo. Valid values: `installPhoto`, `assetPhoto`, `unknown` */ photoType: FleetInstallerPhotoUploadSessionResponseBody.PhotoType; /** Upload lifecycle state. Valid values: `awaitingUpload`, `processing`, `finished`, `unknown` */ processingStatus: FleetInstallerPhotoUploadSessionResponseBody.ProcessingStatus; /** File size in bytes. */ sizeBytes: number; /** Timestamp of last state change (RFC 3339). Equals createdAtTime at session creation; updated when processingStatus changes. */ updatedAtTime: string; } export declare namespace FleetInstallerPhotoUploadSessionResponseBody { /** File format. Valid values: `imageJpeg`, `imagePng`, `unknown` */ const FileFormatType: { readonly ImageJpeg: "imageJpeg"; readonly ImagePng: "imagePng"; readonly Unknown: "unknown"; }; type FileFormatType = (typeof FileFormatType)[keyof typeof FileFormatType]; /** Hardware category of the device. Valid values: `vehicleGateway`, `assetGateway`, `camera`, `cameraConnector`, `environmentalMonitor`, `assetTag`, `trackingLabel`, `unknown` */ const HardwareType: { readonly VehicleGateway: "vehicleGateway"; readonly AssetGateway: "assetGateway"; readonly Camera: "camera"; readonly CameraConnector: "cameraConnector"; readonly EnvironmentalMonitor: "environmentalMonitor"; readonly AssetTag: "assetTag"; readonly TrackingLabel: "trackingLabel"; readonly Unknown: "unknown"; }; type HardwareType = (typeof HardwareType)[keyof typeof HardwareType]; /** Purpose of the photo. Valid values: `installPhoto`, `assetPhoto`, `unknown` */ const PhotoType: { readonly InstallPhoto: "installPhoto"; readonly AssetPhoto: "assetPhoto"; readonly Unknown: "unknown"; }; type PhotoType = (typeof PhotoType)[keyof typeof PhotoType]; /** Upload lifecycle state. Valid values: `awaitingUpload`, `processing`, `finished`, `unknown` */ const ProcessingStatus: { readonly AwaitingUpload: "awaitingUpload"; readonly Processing: "processing"; readonly Finished: "finished"; readonly Unknown: "unknown"; }; type ProcessingStatus = (typeof ProcessingStatus)[keyof typeof ProcessingStatus]; }