phone numbers are advanced as of now

This commit is contained in:
Priec
2026-07-18 23:55:40 +02:00
parent e15ba04158
commit a2c55aa982
7 changed files with 15 additions and 4 deletions

View File

@@ -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 {