pub async fn define_name( state: Arc<AppState>, params: DefineNameParams, ) -> Result<DefineNameResponse>