add new confirmation type: api key creation (#357)

This commit is contained in:
Carson McManus 2024-01-04 21:59:18 -05:00 committed by GitHub
parent bdc8d3c526
commit 25280abc62
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -371,6 +371,7 @@ impl Confirmation {
#[repr(u32)] #[repr(u32)]
#[serde(from = "u32")] #[serde(from = "u32")]
/// Source: <https://github.com/SteamDatabase/SteamTracking/blob/6e7797e69b714c59f4b5784780b24753c17732ba/Structs/enums.steamd#L1607-L1616> /// Source: <https://github.com/SteamDatabase/SteamTracking/blob/6e7797e69b714c59f4b5784780b24753c17732ba/Structs/enums.steamd#L1607-L1616>
/// There are also some additional undocumented types.
pub enum ConfirmationType { pub enum ConfirmationType {
Test = 1, Test = 1,
Trade = 2, Trade = 2,
@ -378,6 +379,8 @@ pub enum ConfirmationType {
FeatureOptOut = 4, FeatureOptOut = 4,
PhoneNumberChange = 5, PhoneNumberChange = 5,
AccountRecovery = 6, AccountRecovery = 6,
/// Occurs when a new web API key is created via https://steamcommunity.com/dev/apikey
ApiKeyCreation = 9,
Unknown(u32), Unknown(u32),
} }