pub fn bulk_download<T: Transport>( client: &ApiClient<T>, document_ids: &[u64], output_dir: &Path, original: bool, ) -> Result<Value, AppError>