// @generated by jacquard-lexicon. DO NOT EDIT. // // Lexicon: app.bsky.notification.updateSeen // // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. #[jacquard_derive::lexicon] #[derive( serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq, bon::Builder, jacquard_derive::IntoStatic )] #[serde(rename_all = "camelCase")] #[builder(start_fn = new)] pub struct UpdateSeen<'a> { pub seen_at: jacquard_common::types::string::Datetime, #[serde(flatten)] #[serde(borrow)] #[builder(default)] pub extra_data: ::std::collections::BTreeMap< ::jacquard_common::smol_str::SmolStr, ::jacquard_common::types::value::Data<'a>, >, } ///Response type for ///app.bsky.notification.updateSeen pub struct UpdateSeenResponse; impl jacquard_common::xrpc::XrpcResp for UpdateSeenResponse { const NSID: &'static str = "app.bsky.notification.updateSeen"; const ENCODING: &'static str = "application/json"; type Output<'de> = (); type Err<'de> = jacquard_common::xrpc::GenericError<'de>; } impl<'a> jacquard_common::xrpc::XrpcRequest for UpdateSeen<'a> { const NSID: &'static str = "app.bsky.notification.updateSeen"; const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( "application/json", ); type Response = UpdateSeenResponse; } ///Endpoint type for ///app.bsky.notification.updateSeen pub struct UpdateSeenRequest; impl jacquard_common::xrpc::XrpcEndpoint for UpdateSeenRequest { const PATH: &'static str = "/xrpc/app.bsky.notification.updateSeen"; const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure( "application/json", ); type Request<'de> = UpdateSeen<'de>; type Response = UpdateSeenResponse; }