diff --git a/Cargo.lock b/Cargo.lock index 059871c..eaeef32 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -717,7 +717,7 @@ checksum = "955d28af4278de8121b7ebeb796b6a45735dc01436d898801014aced2773a3d6" [[package]] name = "sentry_protos" -version = "0.8.23" +version = "0.8.24" dependencies = [ "prost", "prost-types", diff --git a/proto/sentry_protos/billing/v1/common/v1/unit_info.proto b/proto/sentry_protos/billing/v1/common/v1/unit_info.proto index 8475306..4a6eee6 100644 --- a/proto/sentry_protos/billing/v1/common/v1/unit_info.proto +++ b/proto/sentry_protos/billing/v1/common/v1/unit_info.proto @@ -8,6 +8,7 @@ enum BaseUnit { BASE_UNIT_BYTE = 1; BASE_UNIT_COUNT = 2; BASE_UNIT_SECOND = 3; + BASE_UNIT_MILLISECOND = 4; } // Unit information for measurement and conversion. diff --git a/rust/src/sentry_protos.billing.v1.common.v1.rs b/rust/src/sentry_protos.billing.v1.common.v1.rs index e0d91b6..f9e7e97 100644 --- a/rust/src/sentry_protos.billing.v1.common.v1.rs +++ b/rust/src/sentry_protos.billing.v1.common.v1.rs @@ -158,6 +158,7 @@ pub enum BaseUnit { Byte = 1, Count = 2, Second = 3, + Millisecond = 4, } impl BaseUnit { /// String value of the enum field names used in the ProtoBuf definition. @@ -170,6 +171,7 @@ impl BaseUnit { Self::Byte => "BASE_UNIT_BYTE", Self::Count => "BASE_UNIT_COUNT", Self::Second => "BASE_UNIT_SECOND", + Self::Millisecond => "BASE_UNIT_MILLISECOND", } } /// Creates an enum from field names used in the ProtoBuf definition. @@ -179,6 +181,7 @@ impl BaseUnit { "BASE_UNIT_BYTE" => Some(Self::Byte), "BASE_UNIT_COUNT" => Some(Self::Count), "BASE_UNIT_SECOND" => Some(Self::Second), + "BASE_UNIT_MILLISECOND" => Some(Self::Millisecond), _ => None, } }