diff --git a/atrium-api/src/com/atproto/admin/get_account_info.rs b/atrium-api/src/com/atproto/admin/get_account_info.rs new file mode 100644 index 00000000..6f09c0ff --- /dev/null +++ b/atrium-api/src/com/atproto/admin/get_account_info.rs @@ -0,0 +1,11 @@ +// This file is generated by atrium-codegen. DO NOT EDIT. +#![doc = "Definitions for the `com.atproto.admin.getAccountInfo` namespace."] +#[derive(serde :: Serialize, serde :: Deserialize, Debug, Clone, PartialEq, Eq)] +#[serde(rename_all = "camelCase")] +pub struct Parameters { + pub did: String, +} +pub type Output = crate::com::atproto::admin::defs::AccountView; +#[derive(serde :: Serialize, serde :: Deserialize, Debug, Clone, PartialEq, Eq)] +#[serde(tag = "error", content = "message")] +pub enum Error {} diff --git a/atrium-api/src/com/atproto/admin/get_subject_status.rs b/atrium-api/src/com/atproto/admin/get_subject_status.rs new file mode 100644 index 00000000..ff444a85 --- /dev/null +++ b/atrium-api/src/com/atproto/admin/get_subject_status.rs @@ -0,0 +1,32 @@ +// This file is generated by atrium-codegen. DO NOT EDIT. +#![doc = "Definitions for the `com.atproto.admin.getSubjectStatus` namespace."] +#[derive(serde :: Serialize, serde :: Deserialize, Debug, Clone, PartialEq, Eq)] +#[serde(rename_all = "camelCase")] +pub struct Parameters { + #[serde(skip_serializing_if = "Option::is_none")] + pub blob: Option, + #[serde(skip_serializing_if = "Option::is_none")] + pub did: Option, + #[serde(skip_serializing_if = "Option::is_none")] + pub uri: Option, +} +#[derive(serde :: Serialize, serde :: Deserialize, Debug, Clone, PartialEq, Eq)] +#[serde(rename_all = "camelCase")] +pub struct Output { + pub subject: OutputSubjectEnum, + #[serde(skip_serializing_if = "Option::is_none")] + pub takedown: Option, +} +#[derive(serde :: Serialize, serde :: Deserialize, Debug, Clone, PartialEq, Eq)] +#[serde(tag = "error", content = "message")] +pub enum Error {} +#[derive(serde :: Serialize, serde :: Deserialize, Debug, Clone, PartialEq, Eq)] +#[serde(tag = "$type")] +pub enum OutputSubjectEnum { + #[serde(rename = "com.atproto.admin.defs#repoRef")] + ComAtprotoAdminDefsRepoRef(Box), + #[serde(rename = "com.atproto.repo.strongRef")] + ComAtprotoRepoStrongRefMain(Box), + #[serde(rename = "com.atproto.admin.defs#repoBlobRef")] + ComAtprotoAdminDefsRepoBlobRef(Box), +} diff --git a/atrium-api/src/com/atproto/admin/update_subject_status.rs b/atrium-api/src/com/atproto/admin/update_subject_status.rs new file mode 100644 index 00000000..fa35d63c --- /dev/null +++ b/atrium-api/src/com/atproto/admin/update_subject_status.rs @@ -0,0 +1,39 @@ +// This file is generated by atrium-codegen. DO NOT EDIT. +#![doc = "Definitions for the `com.atproto.admin.updateSubjectStatus` namespace."] +#[derive(serde :: Serialize, serde :: Deserialize, Debug, Clone, PartialEq, Eq)] +#[serde(rename_all = "camelCase")] +pub struct Input { + pub subject: InputSubjectEnum, + #[serde(skip_serializing_if = "Option::is_none")] + pub takedown: Option, +} +#[derive(serde :: Serialize, serde :: Deserialize, Debug, Clone, PartialEq, Eq)] +#[serde(rename_all = "camelCase")] +pub struct Output { + pub subject: OutputSubjectEnum, + #[serde(skip_serializing_if = "Option::is_none")] + pub takedown: Option, +} +#[derive(serde :: Serialize, serde :: Deserialize, Debug, Clone, PartialEq, Eq)] +#[serde(tag = "error", content = "message")] +pub enum Error {} +#[derive(serde :: Serialize, serde :: Deserialize, Debug, Clone, PartialEq, Eq)] +#[serde(tag = "$type")] +pub enum InputSubjectEnum { + #[serde(rename = "com.atproto.admin.defs#repoRef")] + ComAtprotoAdminDefsRepoRef(Box), + #[serde(rename = "com.atproto.repo.strongRef")] + ComAtprotoRepoStrongRefMain(Box), + #[serde(rename = "com.atproto.admin.defs#repoBlobRef")] + ComAtprotoAdminDefsRepoBlobRef(Box), +} +#[derive(serde :: Serialize, serde :: Deserialize, Debug, Clone, PartialEq, Eq)] +#[serde(tag = "$type")] +pub enum OutputSubjectEnum { + #[serde(rename = "com.atproto.admin.defs#repoRef")] + ComAtprotoAdminDefsRepoRef(Box), + #[serde(rename = "com.atproto.repo.strongRef")] + ComAtprotoRepoStrongRefMain(Box), + #[serde(rename = "com.atproto.admin.defs#repoBlobRef")] + ComAtprotoAdminDefsRepoBlobRef(Box), +} diff --git a/atrium-api/src/com/atproto/server/reserve_signing_key.rs b/atrium-api/src/com/atproto/server/reserve_signing_key.rs new file mode 100644 index 00000000..7c66bf33 --- /dev/null +++ b/atrium-api/src/com/atproto/server/reserve_signing_key.rs @@ -0,0 +1,18 @@ +// This file is generated by atrium-codegen. DO NOT EDIT. +#![doc = "Definitions for the `com.atproto.server.reserveSigningKey` namespace."] +#[derive(serde :: Serialize, serde :: Deserialize, Debug, Clone, PartialEq, Eq)] +#[serde(rename_all = "camelCase")] +pub struct Input { + #[doc = "The did to reserve a new did:key for"] + #[serde(skip_serializing_if = "Option::is_none")] + pub did: Option, +} +#[derive(serde :: Serialize, serde :: Deserialize, Debug, Clone, PartialEq, Eq)] +#[serde(rename_all = "camelCase")] +pub struct Output { + #[doc = "Public signing key in the form of a did:key."] + pub signing_key: String, +} +#[derive(serde :: Serialize, serde :: Deserialize, Debug, Clone, PartialEq, Eq)] +#[serde(tag = "error", content = "message")] +pub enum Error {}