phone numbers are advanced as of now
This commit is contained in:
@@ -14,6 +14,9 @@ pub struct RegisterRequest {
|
||||
/// IANA timezone, for example Europe/Bratislava
|
||||
#[prost(string, tag = "6")]
|
||||
pub timezone: ::prost::alloc::string::String,
|
||||
/// ISO 3166-1 alpha-2 country used for national phone numbers, for example SK
|
||||
#[prost(string, tag = "7")]
|
||||
pub phone_country: ::prost::alloc::string::String,
|
||||
}
|
||||
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
|
||||
pub struct AuthResponse {
|
||||
@@ -61,6 +64,8 @@ pub struct LoginResponse {
|
||||
pub authorization: ::core::option::Option<AuthorizationSnapshot>,
|
||||
#[prost(string, tag = "8")]
|
||||
pub timezone: ::prost::alloc::string::String,
|
||||
#[prost(string, tag = "9")]
|
||||
pub phone_country: ::prost::alloc::string::String,
|
||||
}
|
||||
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
|
||||
pub struct SetTimezoneRequest {
|
||||
|
||||
Reference in New Issue
Block a user