use async_trait::async_trait; pub use crate::model::Conversation; pub mod http_client; pub use http_client::HTTPClient; #[async_trait] pub trait APIInterface { type Error; // (GET) /version async fn get_version(&self) -> Result; // (GET) /conversations async fn get_conversations(&self) -> Result, Self::Error>; }