/** * @example * { * contentMd5: "rL0Y20zC+Fzt72VPzMSk2A==", * contentType: "application/octet-stream", * fileSizeBytes: 8192, * fileType: "driverCard" * } */ export interface TachographFileUploadsPostTachographFileUploadRequestBody { /** Base64-encoded MD5 digest of the file bytes (base64(md5(bytes))). Used as the Content-MD5 integrity check enforced by object storage on upload. */ contentMd5: string; /** The MIME content type of the file. The upload is sent to object storage as raw bytes. Valid values: `application/octet-stream` */ contentType: TachographFileUploadsPostTachographFileUploadRequestBody.ContentType; /** The size of the file in bytes. Enforced as the Content-Length on upload. Maximum 10 MB (10485760 bytes). */ fileSizeBytes: number; /** The kind of tachograph file being uploaded. The driver or device the file belongs to is resolved from the file contents, not from this field. Valid values: `driverCard`, `vehicleUnit` */ fileType: TachographFileUploadsPostTachographFileUploadRequestBody.FileType; } export declare namespace TachographFileUploadsPostTachographFileUploadRequestBody { /** The MIME content type of the file. The upload is sent to object storage as raw bytes. Valid values: `application/octet-stream` */ const ContentType: { readonly ApplicationOctetStream: "application/octet-stream"; }; type ContentType = (typeof ContentType)[keyof typeof ContentType]; /** The kind of tachograph file being uploaded. The driver or device the file belongs to is resolved from the file contents, not from this field. Valid values: `driverCard`, `vehicleUnit` */ const FileType: { readonly DriverCard: "driverCard"; readonly VehicleUnit: "vehicleUnit"; }; type FileType = (typeof FileType)[keyof typeof FileType]; }