// Generated by atproto-codegen. Do not edit.
//! Lexicon: com.atproto.server.getAccountInviteCodes
use serde::{Deserialize, Serialize};
/// Get all invite codes for the current account. Requires auth.
/// XRPC Query: com.atproto.server.getAccountInviteCodes
#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct Params {
#[serde(skip_serializing_if = "Option::is_none")]
pub create_available: Option<bool>,
#[serde(skip_serializing_if = "Option::is_none")]
pub include_used: Option<bool>,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct Output {
pub codes: Vec<crate::com::atproto::server::defs::InviteCode>,
}