pub async fn load_file_preview(
configuration: &Configuration,
workspace: &str,
file_key: &str,
file_size_in_bytes: Option<i32>,
file_mime_type: Option<&str>,
csv_separator: Option<&str>,
csv_has_header: Option<bool>,
read_bytes_from: Option<i32>,
read_bytes_length: Option<i32>,
storage: Option<&str>,
) -> Result<WindmillFilePreview, Error<LoadFilePreviewError>>