// Code generated by lexgen. DO NOT EDIT.
#[derive(Debug, Clone, Default, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct SyncGetCheckoutParams {
pub did: String,
}
/// SyncGetCheckout — DEPRECATED - please use com.atproto.sync.getRepo instead
pub async fn sync_get_checkout(
client: &crate::xrpc::Client,
params: &SyncGetCheckoutParams,
) -> Result<Vec<u8>, crate::xrpc::Error> {
client
.query_raw("com.atproto.sync.getCheckout", params)
.await
}