#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct CommunicationDeleteTemplateInput {
pub id: String,
#[serde(flatten)]
pub extra: std::collections::HashMap<String, serde_json::Value>,
}
pub async fn communication_delete_template(
client: &crate::xrpc::Client,
input: &CommunicationDeleteTemplateInput,
) -> Result<(), crate::xrpc::Error> {
let _: serde_json::Value = client
.procedure("tools.ozone.communication.deleteTemplate", input)
.await?;
Ok(())
}