wecom_rs/client/contact/linked_corp/
mod.rs1use crate::Result;
2use async_trait::async_trait;
3
4#[async_trait]
5pub trait LinkedCorpManager {
6 async fn linked_corp_agent_get_perm_list(&self) -> Result<ResponseAgentPermList>;
9 async fn linked_corp_user_get(&self, user_id: &str) -> Result<UserInfo>;
12 async fn linked_corp_user_simple_list(
15 &self,
16 department_id: &str,
17 ) -> Result<Vec<UserSimpleInfo>>;
18 async fn linked_corp_user_list(&self, department_id: &str) -> Result<Vec<UserInfo>>;
21 async fn linked_corp_department_list(&self, department_id: &str)
24 -> Result<Vec<DepartmentInfo>>;
25}
26
27mod model;
28pub use model::*;