#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct CommunicationListTemplatesOutput {
#[serde(default, skip_serializing_if = "Vec::is_empty")]
pub communication_templates: Vec<crate::api::tools::ozone::CommunicationDefsTemplateView>,
#[serde(flatten)]
pub extra: std::collections::HashMap<String, serde_json::Value>,
}
pub async fn communication_list_templates(
client: &crate::xrpc::Client,
) -> Result<CommunicationListTemplatesOutput, crate::xrpc::Error> {
client
.query("tools.ozone.communication.listTemplates", &())
.await
}