diff --git a/src/models/email_address_verification.rs b/src/models/email_address_verification.rs index bbb3a46..eaa5a94 100644 --- a/src/models/email_address_verification.rs +++ b/src/models/email_address_verification.rs @@ -36,6 +36,10 @@ impl EmailAddressVerification { pub enum Status { #[serde(rename = "verified")] Verified, + #[serde(rename = "expired")] + Expired, + #[serde(rename = "failed")] + Failed, } impl Default for Status { @@ -48,6 +52,14 @@ impl Default for Status { pub enum Strategy { #[serde(rename = "admin")] Admin, + #[serde(rename = "phone_code")] + PhoneCode, + #[serde(rename = "email_code")] + EmailCode, + #[serde(rename = "from_oauth_google")] + FromOAuthGoogle, + #[serde(rename = "from_oauth_twitter")] + FromOAuthTwitter, #[serde(other)] Other, } diff --git a/src/models/identification_link.rs b/src/models/identification_link.rs index 8f1f0b6..2df63ec 100644 --- a/src/models/identification_link.rs +++ b/src/models/identification_link.rs @@ -27,6 +27,8 @@ impl IdentificationLink { pub enum Type { #[serde(rename = "oauth_google")] OauthGoogle, + #[serde(rename = "oauth_twitter")] + OauthTwitter, #[serde(rename = "oauth_mock")] OauthMock, #[serde(rename = "saml")]