diff --git a/src/c2se/api/betting.rs b/src/c2se/api/betting.rs index 2d0fbdc..793ef35 100644 --- a/src/c2se/api/betting.rs +++ b/src/c2se/api/betting.rs @@ -88,7 +88,9 @@ pub struct ListBettingHistoryResponse { pub mod list_betting_history_response { #[derive(Clone, PartialEq, ::prost::Message)] pub struct Result { - #[prost(message, repeated, tag = "1")] + #[prost(uint64, tag = "1")] + pub total_count: u64, + #[prost(message, repeated, tag = "2")] pub betting_history: ::prost::alloc::vec::Vec, } } diff --git a/src/c2se/api/game.rs b/src/c2se/api/game.rs index 20318ae..3b4f5c7 100644 --- a/src/c2se/api/game.rs +++ b/src/c2se/api/game.rs @@ -34,7 +34,9 @@ pub struct ListGamesResponse { pub mod list_games_response { #[derive(Clone, PartialEq, ::prost::Message)] pub struct Result { - #[prost(message, repeated, tag = "1")] + #[prost(uint64, tag = "1")] + pub total_count: u64, + #[prost(message, repeated, tag = "2")] pub games: ::prost::alloc::vec::Vec, } } diff --git a/src/c2se/api/vendor.rs b/src/c2se/api/vendor.rs index 8caca15..9b9ca43 100644 --- a/src/c2se/api/vendor.rs +++ b/src/c2se/api/vendor.rs @@ -36,7 +36,9 @@ pub struct ListVendorsResponse { pub mod list_vendors_response { #[derive(Clone, PartialEq, ::prost::Message)] pub struct Result { - #[prost(message, repeated, tag = "1")] + #[prost(uint64, tag = "1")] + pub total_count: u64, + #[prost(message, repeated, tag = "2")] pub vendors: ::prost::alloc::vec::Vec, } } diff --git a/src/c2se/bank.rs b/src/c2se/bank.rs index 9a5e95d..81e57dc 100644 --- a/src/c2se/bank.rs +++ b/src/c2se/bank.rs @@ -1,134 +1,135 @@ #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateBankRequest { - #[prost(string, tag="1")] - pub name: ::prost::alloc::string::String, - #[prost(uint32, tag="2")] - pub sort_order: u32, - #[prost(bool, tag="3")] - pub show: bool, - #[prost(bool, tag="4")] - pub can_use: bool, - #[prost(string, optional, tag="5")] - pub memo: ::core::option::Option<::prost::alloc::string::String>, + #[prost(string, tag = "1")] + pub name: ::prost::alloc::string::String, + #[prost(uint32, tag = "2")] + pub sort_order: u32, + #[prost(bool, tag = "3")] + pub show: bool, + #[prost(bool, tag = "4")] + pub can_use: bool, + #[prost(string, optional, tag = "5")] + pub memo: ::core::option::Option<::prost::alloc::string::String>, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateBankResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `CreateBankResponse`. pub mod create_bank_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, optional, tag="1")] - pub bank: ::core::option::Option, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, optional, tag = "1")] + pub bank: ::core::option::Option, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListBanksRequest { - #[prost(message, optional, tag="1")] - pub pagination: ::core::option::Option, - #[prost(message, repeated, tag="2")] - pub sorts: ::prost::alloc::vec::Vec, - #[prost(message, optional, tag="3")] - pub search: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub pagination: ::core::option::Option, + #[prost(message, repeated, tag = "2")] + pub sorts: ::prost::alloc::vec::Vec, + #[prost(message, optional, tag = "3")] + pub search: ::core::option::Option, } /// Nested message and enum types in `ListBanksRequest`. pub mod list_banks_request { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Search { - #[prost(string, optional, tag="1")] - pub name_like: ::core::option::Option<::prost::alloc::string::String>, - #[prost(bool, optional, tag="2")] - pub show: ::core::option::Option, - #[prost(bool, optional, tag="3")] - pub can_use: ::core::option::Option, - #[prost(string, optional, tag="4")] - pub memo_like: ::core::option::Option<::prost::alloc::string::String>, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Search { + #[prost(string, optional, tag = "1")] + pub name_like: ::core::option::Option<::prost::alloc::string::String>, + #[prost(bool, optional, tag = "2")] + pub show: ::core::option::Option, + #[prost(bool, optional, tag = "3")] + pub can_use: ::core::option::Option, + #[prost(string, optional, tag = "4")] + pub memo_like: ::core::option::Option<::prost::alloc::string::String>, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListBanksResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `ListBanksResponse`. pub mod list_banks_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, repeated, tag="1")] - pub banks: ::prost::alloc::vec::Vec, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(uint64, tag = "1")] + pub total_count: u64, + #[prost(message, repeated, tag = "2")] + pub banks: ::prost::alloc::vec::Vec, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetBankRequest { - #[prost(string, tag="1")] - pub id: ::prost::alloc::string::String, + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetBankResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `GetBankResponse`. pub mod get_bank_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, optional, tag="1")] - pub bank: ::core::option::Option, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, optional, tag = "1")] + pub bank: ::core::option::Option, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateBankRequest { - #[prost(string, tag="1")] - pub id: ::prost::alloc::string::String, - #[prost(string, tag="2")] - pub name: ::prost::alloc::string::String, - #[prost(uint32, tag="3")] - pub sort_order: u32, - #[prost(bool, tag="4")] - pub show: bool, - #[prost(bool, tag="5")] - pub can_use: bool, - #[prost(string, optional, tag="6")] - pub memo: ::core::option::Option<::prost::alloc::string::String>, + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, + #[prost(string, tag = "2")] + pub name: ::prost::alloc::string::String, + #[prost(uint32, tag = "3")] + pub sort_order: u32, + #[prost(bool, tag = "4")] + pub show: bool, + #[prost(bool, tag = "5")] + pub can_use: bool, + #[prost(string, optional, tag = "6")] + pub memo: ::core::option::Option<::prost::alloc::string::String>, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateBankResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `UpdateBankResponse`. pub mod update_bank_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, optional, tag="1")] - pub bank: ::core::option::Option, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, optional, tag = "1")] + pub bank: ::core::option::Option, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteBankRequest { - #[prost(string, tag="1")] - pub id: ::prost::alloc::string::String, + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteBankResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `DeleteBankResponse`. pub mod delete_bank_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result {} } diff --git a/src/c2se/identity.rs b/src/c2se/identity.rs index 8bcb690..7459675 100644 --- a/src/c2se/identity.rs +++ b/src/c2se/identity.rs @@ -83,7 +83,6 @@ pub mod signin_response { pub access_token: ::prost::alloc::string::String, } } - #[derive(Clone, PartialEq, ::prost::Message)] pub struct SigninWithoutSecurityCodeRequest { #[prost(string, tag = "1")] diff --git a/src/c2se/member.rs b/src/c2se/member.rs index 55189a7..5259564 100644 --- a/src/c2se/member.rs +++ b/src/c2se/member.rs @@ -176,7 +176,9 @@ pub struct ListMembersResponse { pub mod list_members_response { #[derive(Clone, PartialEq, ::prost::Message)] pub struct Result { - #[prost(message, repeated, tag = "1")] + #[prost(uint64, tag = "1")] + pub total_count: u64, + #[prost(message, repeated, tag = "2")] pub members: ::prost::alloc::vec::Vec, } } diff --git a/src/c2se/member_bank_account.rs b/src/c2se/member_bank_account.rs index 1b58f9c..11fd47e 100644 --- a/src/c2se/member_bank_account.rs +++ b/src/c2se/member_bank_account.rs @@ -65,7 +65,9 @@ pub struct ListMemberBankAccountsResponse { pub mod list_member_bank_accounts_response { #[derive(Clone, PartialEq, ::prost::Message)] pub struct Result { - #[prost(message, repeated, tag = "1")] + #[prost(uint64, tag = "1")] + pub total_count: u64, + #[prost(message, repeated, tag = "2")] pub member_bank_accounts: ::prost::alloc::vec::Vec, } diff --git a/src/c2se/member_bank_deposit.rs b/src/c2se/member_bank_deposit.rs index c85e934..dc0c401 100644 --- a/src/c2se/member_bank_deposit.rs +++ b/src/c2se/member_bank_deposit.rs @@ -63,7 +63,9 @@ pub struct ListMemberBankDepositsResponse { pub mod list_member_bank_deposits_response { #[derive(Clone, PartialEq, ::prost::Message)] pub struct Result { - #[prost(message, repeated, tag = "1")] + #[prost(uint64, tag = "1")] + pub total_count: u64, + #[prost(message, repeated, tag = "2")] pub member_bank_deposits: ::prost::alloc::vec::Vec, } diff --git a/src/c2se/member_bank_withdraw.rs b/src/c2se/member_bank_withdraw.rs index 3b2caa6..6a8a4bb 100644 --- a/src/c2se/member_bank_withdraw.rs +++ b/src/c2se/member_bank_withdraw.rs @@ -73,7 +73,9 @@ pub struct ListMemberBankWithdrawsResponse { pub mod list_member_bank_withdraws_response { #[derive(Clone, PartialEq, ::prost::Message)] pub struct Result { - #[prost(message, repeated, tag = "1")] + #[prost(uint64, tag = "1")] + pub total_count: u64, + #[prost(message, repeated, tag = "2")] pub member_bank_withdraws: ::prost::alloc::vec::Vec, } diff --git a/src/c2se/member_class.rs b/src/c2se/member_class.rs index b5ecac9..7c2a7a4 100644 --- a/src/c2se/member_class.rs +++ b/src/c2se/member_class.rs @@ -52,7 +52,9 @@ pub struct ListMemberClassesResponse { pub mod list_member_classes_response { #[derive(Clone, PartialEq, ::prost::Message)] pub struct Result { - #[prost(message, repeated, tag = "1")] + #[prost(uint64, tag = "1")] + pub total_count: u64, + #[prost(message, repeated, tag = "2")] pub member_classes: ::prost::alloc::vec::Vec, } } diff --git a/src/c2se/member_game_setting.rs b/src/c2se/member_game_setting.rs index 0980c85..e12f65b 100644 --- a/src/c2se/member_game_setting.rs +++ b/src/c2se/member_game_setting.rs @@ -59,7 +59,9 @@ pub struct ListMemberGameSettingsResponse { pub mod list_member_game_settings_response { #[derive(Clone, PartialEq, ::prost::Message)] pub struct Result { - #[prost(message, repeated, tag = "1")] + #[prost(uint64, tag = "1")] + pub total_count: u64, + #[prost(message, repeated, tag = "2")] pub member_game_settings: ::prost::alloc::vec::Vec, } diff --git a/src/c2se/member_level.rs b/src/c2se/member_level.rs index 87c1a5a..d226599 100644 --- a/src/c2se/member_level.rs +++ b/src/c2se/member_level.rs @@ -52,7 +52,9 @@ pub struct ListMemberLevelsResponse { pub mod list_member_levels_response { #[derive(Clone, PartialEq, ::prost::Message)] pub struct Result { - #[prost(message, repeated, tag = "1")] + #[prost(uint64, tag = "1")] + pub total_count: u64, + #[prost(message, repeated, tag = "2")] pub member_levels: ::prost::alloc::vec::Vec, } } diff --git a/src/c2se/member_referrer.rs b/src/c2se/member_referrer.rs index 20ac59f..8f44758 100644 --- a/src/c2se/member_referrer.rs +++ b/src/c2se/member_referrer.rs @@ -72,7 +72,9 @@ pub struct ListMemberReferrersResponse { pub mod list_member_referrers_response { #[derive(Clone, PartialEq, ::prost::Message)] pub struct Result { - #[prost(message, repeated, tag = "1")] + #[prost(uint64, tag = "1")] + pub total_count: u64, + #[prost(message, repeated, tag = "2")] pub member_referrers: ::prost::alloc::vec::Vec, } diff --git a/src/c2se/member_settlement_setting.rs b/src/c2se/member_settlement_setting.rs index a492ccb..ef16e03 100644 --- a/src/c2se/member_settlement_setting.rs +++ b/src/c2se/member_settlement_setting.rs @@ -93,7 +93,9 @@ pub struct ListMemberSettlementSettingsResponse { pub mod list_member_settlement_settings_response { #[derive(Clone, PartialEq, ::prost::Message)] pub struct Result { - #[prost(message, repeated, tag = "1")] + #[prost(uint64, tag = "1")] + pub total_count: u64, + #[prost(message, repeated, tag = "2")] pub member_settlement_settings: ::prost::alloc::vec::Vec, } diff --git a/src/c2se/site.rs b/src/c2se/site.rs index 98fff3b..515ec8c 100644 --- a/src/c2se/site.rs +++ b/src/c2se/site.rs @@ -1,146 +1,147 @@ #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateSiteRequest { - #[prost(string, tag="1")] - pub url: ::prost::alloc::string::String, - #[prost(string, optional, tag="2")] - pub name: ::core::option::Option<::prost::alloc::string::String>, - #[prost(string, optional, tag="3")] - pub path: ::core::option::Option<::prost::alloc::string::String>, - #[prost(bool, tag="4")] - pub show: bool, - #[prost(bool, tag="5")] - pub can_use: bool, - #[prost(string, optional, tag="6")] - pub memo: ::core::option::Option<::prost::alloc::string::String>, - #[prost(uint64, optional, tag="7")] - pub expires_at: ::core::option::Option, + #[prost(string, tag = "1")] + pub url: ::prost::alloc::string::String, + #[prost(string, optional, tag = "2")] + pub name: ::core::option::Option<::prost::alloc::string::String>, + #[prost(string, optional, tag = "3")] + pub path: ::core::option::Option<::prost::alloc::string::String>, + #[prost(bool, tag = "4")] + pub show: bool, + #[prost(bool, tag = "5")] + pub can_use: bool, + #[prost(string, optional, tag = "6")] + pub memo: ::core::option::Option<::prost::alloc::string::String>, + #[prost(uint64, optional, tag = "7")] + pub expires_at: ::core::option::Option, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateSiteResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `CreateSiteResponse`. pub mod create_site_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, optional, tag="1")] - pub site: ::core::option::Option, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, optional, tag = "1")] + pub site: ::core::option::Option, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListSitesRequest { - #[prost(message, optional, tag="1")] - pub pagination: ::core::option::Option, - #[prost(message, repeated, tag="2")] - pub sorts: ::prost::alloc::vec::Vec, - #[prost(message, optional, tag="3")] - pub search: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub pagination: ::core::option::Option, + #[prost(message, repeated, tag = "2")] + pub sorts: ::prost::alloc::vec::Vec, + #[prost(message, optional, tag = "3")] + pub search: ::core::option::Option, } /// Nested message and enum types in `ListSitesRequest`. pub mod list_sites_request { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Search { - #[prost(string, optional, tag="1")] - pub url_like: ::core::option::Option<::prost::alloc::string::String>, - #[prost(string, optional, tag="2")] - pub name_like: ::core::option::Option<::prost::alloc::string::String>, - #[prost(string, optional, tag="3")] - pub path_like: ::core::option::Option<::prost::alloc::string::String>, - #[prost(bool, optional, tag="4")] - pub show: ::core::option::Option, - #[prost(bool, optional, tag="5")] - pub can_use: ::core::option::Option, - #[prost(string, optional, tag="6")] - pub memo_like: ::core::option::Option<::prost::alloc::string::String>, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Search { + #[prost(string, optional, tag = "1")] + pub url_like: ::core::option::Option<::prost::alloc::string::String>, + #[prost(string, optional, tag = "2")] + pub name_like: ::core::option::Option<::prost::alloc::string::String>, + #[prost(string, optional, tag = "3")] + pub path_like: ::core::option::Option<::prost::alloc::string::String>, + #[prost(bool, optional, tag = "4")] + pub show: ::core::option::Option, + #[prost(bool, optional, tag = "5")] + pub can_use: ::core::option::Option, + #[prost(string, optional, tag = "6")] + pub memo_like: ::core::option::Option<::prost::alloc::string::String>, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListSitesResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `ListSitesResponse`. pub mod list_sites_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, repeated, tag="1")] - pub sites: ::prost::alloc::vec::Vec, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(uint64, tag = "1")] + pub total_count: u64, + #[prost(message, repeated, tag = "2")] + pub sites: ::prost::alloc::vec::Vec, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetSiteRequest { - #[prost(string, tag="1")] - pub id: ::prost::alloc::string::String, + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetSiteResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `GetSiteResponse`. pub mod get_site_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, optional, tag="1")] - pub site: ::core::option::Option, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, optional, tag = "1")] + pub site: ::core::option::Option, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateSiteRequest { - #[prost(string, tag="1")] - pub id: ::prost::alloc::string::String, - #[prost(string, tag="2")] - pub url: ::prost::alloc::string::String, - #[prost(string, optional, tag="3")] - pub name: ::core::option::Option<::prost::alloc::string::String>, - #[prost(string, optional, tag="4")] - pub path: ::core::option::Option<::prost::alloc::string::String>, - #[prost(bool, tag="5")] - pub show: bool, - #[prost(bool, tag="6")] - pub can_use: bool, - #[prost(string, optional, tag="7")] - pub memo: ::core::option::Option<::prost::alloc::string::String>, - #[prost(uint64, optional, tag="8")] - pub expires_at: ::core::option::Option, + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, + #[prost(string, tag = "2")] + pub url: ::prost::alloc::string::String, + #[prost(string, optional, tag = "3")] + pub name: ::core::option::Option<::prost::alloc::string::String>, + #[prost(string, optional, tag = "4")] + pub path: ::core::option::Option<::prost::alloc::string::String>, + #[prost(bool, tag = "5")] + pub show: bool, + #[prost(bool, tag = "6")] + pub can_use: bool, + #[prost(string, optional, tag = "7")] + pub memo: ::core::option::Option<::prost::alloc::string::String>, + #[prost(uint64, optional, tag = "8")] + pub expires_at: ::core::option::Option, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateSiteResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `UpdateSiteResponse`. pub mod update_site_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, optional, tag="1")] - pub site: ::core::option::Option, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, optional, tag = "1")] + pub site: ::core::option::Option, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteSiteRequest { - #[prost(string, tag="1")] - pub id: ::prost::alloc::string::String, + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteSiteResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `DeleteSiteResponse`. pub mod delete_site_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result {} } diff --git a/src/models/api/betting.rs b/src/models/api/betting.rs index 093dd18..a7be215 100644 --- a/src/models/api/betting.rs +++ b/src/models/api/betting.rs @@ -96,5 +96,5 @@ pub struct BettingHistoryModel { #[prost(uint64, tag = "23")] pub utc_created_at: u64, #[prost(message, optional, tag = "24")] - pub member: ::core::option::Option, + pub member: ::core::option::Option, } diff --git a/src/ss/api/betting.rs b/src/ss/api/betting.rs index c869461..876f91c 100644 --- a/src/ss/api/betting.rs +++ b/src/ss/api/betting.rs @@ -104,7 +104,9 @@ pub struct ListBettingHistoryResponse { pub mod list_betting_history_response { #[derive(Clone, PartialEq, ::prost::Message)] pub struct Result { - #[prost(message, repeated, tag = "1")] + #[prost(uint64, tag = "1")] + pub total_count: u64, + #[prost(message, repeated, tag = "2")] pub betting_history: ::prost::alloc::vec::Vec, } } diff --git a/src/ss/api/game.rs b/src/ss/api/game.rs index 157d51d..6de9e85 100644 --- a/src/ss/api/game.rs +++ b/src/ss/api/game.rs @@ -50,7 +50,9 @@ pub struct ListGamesResponse { pub mod list_games_response { #[derive(Clone, PartialEq, ::prost::Message)] pub struct Result { - #[prost(message, repeated, tag = "1")] + #[prost(uint64, tag = "1")] + pub total_count: u64, + #[prost(message, repeated, tag = "2")] pub games: ::prost::alloc::vec::Vec, } } diff --git a/src/ss/api/vendor.rs b/src/ss/api/vendor.rs index 38b3555..5209a8c 100644 --- a/src/ss/api/vendor.rs +++ b/src/ss/api/vendor.rs @@ -51,7 +51,9 @@ pub struct ListVendorsResponse { pub mod list_vendors_response { #[derive(Clone, PartialEq, ::prost::Message)] pub struct Result { - #[prost(message, repeated, tag = "1")] + #[prost(uint64, tag = "1")] + pub total_count: u64, + #[prost(message, repeated, tag = "2")] pub vendors: ::prost::alloc::vec::Vec, } } diff --git a/src/ss/bank.rs b/src/ss/bank.rs index 9e3c092..f8c4766 100644 --- a/src/ss/bank.rs +++ b/src/ss/bank.rs @@ -6,193 +6,193 @@ pub const SUBJECT_GET_BANK: &str = const_format::concatcp!(SUBJECT, ".GetBank"); pub const SUBJECT_UPDATE_BANK: &str = const_format::concatcp!(SUBJECT, ".UpdateBank"); pub const SUBJECT_DELETE_BANK: &str = const_format::concatcp!(SUBJECT, ".DeleteBank"); - /// subject = bet.beteran.ss.bank.CreateBank; #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateBankRequest { - #[prost(message, optional, tag="1")] - pub client: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub request: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub client: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub request: ::core::option::Option, } /// Nested message and enum types in `CreateBankRequest`. pub mod create_bank_request { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Request { - #[prost(string, tag="1")] - pub name: ::prost::alloc::string::String, - #[prost(uint32, tag="2")] - pub sort_order: u32, - #[prost(bool, tag="3")] - pub show: bool, - #[prost(bool, tag="4")] - pub can_use: bool, - #[prost(string, optional, tag="5")] - pub memo: ::core::option::Option<::prost::alloc::string::String>, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Request { + #[prost(string, tag = "1")] + pub name: ::prost::alloc::string::String, + #[prost(uint32, tag = "2")] + pub sort_order: u32, + #[prost(bool, tag = "3")] + pub show: bool, + #[prost(bool, tag = "4")] + pub can_use: bool, + #[prost(string, optional, tag = "5")] + pub memo: ::core::option::Option<::prost::alloc::string::String>, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateBankResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `CreateBankResponse`. pub mod create_bank_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, optional, tag="1")] - pub bank: ::core::option::Option, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, optional, tag = "1")] + pub bank: ::core::option::Option, + } } /// subject = bet.beteran.ss.bank.ListBanks; #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListBanksRequest { - #[prost(message, optional, tag="1")] - pub client: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub request: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub client: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub request: ::core::option::Option, } /// Nested message and enum types in `ListBanksRequest`. pub mod list_banks_request { + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Request { + #[prost(message, optional, tag = "1")] + pub pagination: ::core::option::Option, + #[prost(message, repeated, tag = "2")] + pub sorts: ::prost::alloc::vec::Vec, + #[prost(message, optional, tag = "3")] + pub search: ::core::option::Option, + } + /// Nested message and enum types in `Request`. + pub mod request { #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Request { - #[prost(message, optional, tag="1")] - pub pagination: ::core::option::Option, - #[prost(message, repeated, tag="2")] - pub sorts: ::prost::alloc::vec::Vec, - #[prost(message, optional, tag="3")] - pub search: ::core::option::Option, - } - /// Nested message and enum types in `Request`. - pub mod request { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Search { - #[prost(string, optional, tag="1")] - pub name_like: ::core::option::Option<::prost::alloc::string::String>, - #[prost(bool, optional, tag="2")] - pub show: ::core::option::Option, - #[prost(bool, optional, tag="3")] - pub can_use: ::core::option::Option, - #[prost(string, optional, tag="4")] - pub memo_like: ::core::option::Option<::prost::alloc::string::String>, - } + pub struct Search { + #[prost(string, optional, tag = "1")] + pub name_like: ::core::option::Option<::prost::alloc::string::String>, + #[prost(bool, optional, tag = "2")] + pub show: ::core::option::Option, + #[prost(bool, optional, tag = "3")] + pub can_use: ::core::option::Option, + #[prost(string, optional, tag = "4")] + pub memo_like: ::core::option::Option<::prost::alloc::string::String>, } + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListBanksResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `ListBanksResponse`. pub mod list_banks_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, repeated, tag="1")] - pub banks: ::prost::alloc::vec::Vec, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(uint64, tag = "1")] + pub total_count: u64, + #[prost(message, repeated, tag = "2")] + pub banks: ::prost::alloc::vec::Vec, + } } /// subject = bet.beteran.ss.bank.GetBank #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetBankRequest { - #[prost(message, optional, tag="1")] - pub client: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub request: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub client: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub request: ::core::option::Option, } /// Nested message and enum types in `GetBankRequest`. pub mod get_bank_request { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Request { - #[prost(string, tag="1")] - pub id: ::prost::alloc::string::String, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Request { + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetBankResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `GetBankResponse`. pub mod get_bank_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, optional, tag="1")] - pub bank: ::core::option::Option, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, optional, tag = "1")] + pub bank: ::core::option::Option, + } } /// subject = bet.beteran.ss.bank.UpdateBank #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateBankRequest { - #[prost(message, optional, tag="1")] - pub client: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub request: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub client: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub request: ::core::option::Option, } /// Nested message and enum types in `UpdateBankRequest`. pub mod update_bank_request { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Request { - #[prost(string, tag="1")] - pub id: ::prost::alloc::string::String, - #[prost(string, tag="2")] - pub name: ::prost::alloc::string::String, - #[prost(uint32, tag="3")] - pub sort_order: u32, - #[prost(bool, tag="4")] - pub show: bool, - #[prost(bool, tag="5")] - pub can_use: bool, - #[prost(string, optional, tag="6")] - pub memo: ::core::option::Option<::prost::alloc::string::String>, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Request { + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, + #[prost(string, tag = "2")] + pub name: ::prost::alloc::string::String, + #[prost(uint32, tag = "3")] + pub sort_order: u32, + #[prost(bool, tag = "4")] + pub show: bool, + #[prost(bool, tag = "5")] + pub can_use: bool, + #[prost(string, optional, tag = "6")] + pub memo: ::core::option::Option<::prost::alloc::string::String>, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateBankResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `UpdateBankResponse`. pub mod update_bank_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, optional, tag="1")] - pub bank: ::core::option::Option, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, optional, tag = "1")] + pub bank: ::core::option::Option, + } } /// subject = bet.beteran.ss.bank.DeleteBank #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteBankRequest { - #[prost(message, optional, tag="1")] - pub client: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub request: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub client: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub request: ::core::option::Option, } /// Nested message and enum types in `DeleteBankRequest`. pub mod delete_bank_request { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Request { - #[prost(string, tag="1")] - pub id: ::prost::alloc::string::String, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Request { + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteBankResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `DeleteBankResponse`. pub mod delete_bank_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result {} } diff --git a/src/ss/identity.rs b/src/ss/identity.rs index 2fcda67..9df3631 100644 --- a/src/ss/identity.rs +++ b/src/ss/identity.rs @@ -143,7 +143,6 @@ pub mod signin_response { pub access_token: ::prost::alloc::string::String, } } - /// subject = bet.beteran.ss.identity.SigninWithoutSecurityCode #[derive(Clone, PartialEq, ::prost::Message)] pub struct SigninWithoutSecurityCodeRequest { @@ -193,7 +192,6 @@ pub mod after_signin_event { pub member: ::core::option::Option, } } - /// subject = bet.beteran.ss_event.identity.AfterSignout #[derive(Clone, PartialEq, ::prost::Message)] pub struct AfterSignoutEvent { diff --git a/src/ss/member.rs b/src/ss/member.rs index 4a6a8db..52e2b4b 100644 --- a/src/ss/member.rs +++ b/src/ss/member.rs @@ -220,7 +220,9 @@ pub struct ListMembersResponse { pub mod list_members_response { #[derive(Clone, PartialEq, ::prost::Message)] pub struct Result { - #[prost(message, repeated, tag = "1")] + #[prost(uint64, tag = "1")] + pub total_count: u64, + #[prost(message, repeated, tag = "2")] pub members: ::prost::alloc::vec::Vec, } } diff --git a/src/ss/member_bank_account.rs b/src/ss/member_bank_account.rs index 8f1878f..edfeb79 100644 --- a/src/ss/member_bank_account.rs +++ b/src/ss/member_bank_account.rs @@ -102,7 +102,9 @@ pub struct ListMemberBankAccountsResponse { pub mod list_member_bank_accounts_response { #[derive(Clone, PartialEq, ::prost::Message)] pub struct Result { - #[prost(message, repeated, tag = "1")] + #[prost(uint64, tag = "1")] + pub total_count: u64, + #[prost(message, repeated, tag = "2")] pub member_bank_accounts: ::prost::alloc::vec::Vec, } diff --git a/src/ss/member_bank_deposit.rs b/src/ss/member_bank_deposit.rs index bc615f6..e448db9 100644 --- a/src/ss/member_bank_deposit.rs +++ b/src/ss/member_bank_deposit.rs @@ -106,7 +106,9 @@ pub struct ListMemberBankDepositsResponse { pub mod list_member_bank_deposits_response { #[derive(Clone, PartialEq, ::prost::Message)] pub struct Result { - #[prost(message, repeated, tag = "1")] + #[prost(uint64, tag = "1")] + pub total_count: u64, + #[prost(message, repeated, tag = "2")] pub member_bank_deposits: ::prost::alloc::vec::Vec, } diff --git a/src/ss/member_bank_withdraw.rs b/src/ss/member_bank_withdraw.rs index 27edb31..7195425 100644 --- a/src/ss/member_bank_withdraw.rs +++ b/src/ss/member_bank_withdraw.rs @@ -116,7 +116,9 @@ pub struct ListMemberBankWithdrawsResponse { pub mod list_member_bank_withdraws_response { #[derive(Clone, PartialEq, ::prost::Message)] pub struct Result { - #[prost(message, repeated, tag = "1")] + #[prost(uint64, tag = "1")] + pub total_count: u64, + #[prost(message, repeated, tag = "2")] pub member_bank_withdraws: ::prost::alloc::vec::Vec, } diff --git a/src/ss/member_class.rs b/src/ss/member_class.rs index 3a5eaef..e495b61 100644 --- a/src/ss/member_class.rs +++ b/src/ss/member_class.rs @@ -86,7 +86,9 @@ pub struct ListMemberClassesResponse { pub mod list_member_classes_response { #[derive(Clone, PartialEq, ::prost::Message)] pub struct Result { - #[prost(message, repeated, tag = "1")] + #[prost(uint64, tag = "1")] + pub total_count: u64, + #[prost(message, repeated, tag = "2")] pub member_classes: ::prost::alloc::vec::Vec, } } diff --git a/src/ss/member_game_setting.rs b/src/ss/member_game_setting.rs index cd0905a..6c4b0bc 100644 --- a/src/ss/member_game_setting.rs +++ b/src/ss/member_game_setting.rs @@ -94,7 +94,9 @@ pub struct ListMemberGameSettingsResponse { pub mod list_member_game_settings_response { #[derive(Clone, PartialEq, ::prost::Message)] pub struct Result { - #[prost(message, repeated, tag = "1")] + #[prost(uint64, tag = "1")] + pub total_count: u64, + #[prost(message, repeated, tag = "2")] pub member_game_settings: ::prost::alloc::vec::Vec, } diff --git a/src/ss/member_level.rs b/src/ss/member_level.rs index d095265..3ef4cf6 100644 --- a/src/ss/member_level.rs +++ b/src/ss/member_level.rs @@ -85,7 +85,9 @@ pub struct ListMemberLevelsResponse { pub mod list_member_levels_response { #[derive(Clone, PartialEq, ::prost::Message)] pub struct Result { - #[prost(message, repeated, tag = "1")] + #[prost(uint64, tag = "1")] + pub total_count: u64, + #[prost(message, repeated, tag = "2")] pub member_levels: ::prost::alloc::vec::Vec, } } diff --git a/src/ss/member_referrer.rs b/src/ss/member_referrer.rs index 4ead5d7..8c21366 100644 --- a/src/ss/member_referrer.rs +++ b/src/ss/member_referrer.rs @@ -125,7 +125,9 @@ pub struct ListMemberReferrersResponse { pub mod list_member_referrers_response { #[derive(Clone, PartialEq, ::prost::Message)] pub struct Result { - #[prost(message, repeated, tag = "1")] + #[prost(uint64, tag = "1")] + pub total_count: u64, + #[prost(message, repeated, tag = "2")] pub member_referrers: ::prost::alloc::vec::Vec, } diff --git a/src/ss/member_settlement_setting.rs b/src/ss/member_settlement_setting.rs index 7deb2bf..92e110e 100644 --- a/src/ss/member_settlement_setting.rs +++ b/src/ss/member_settlement_setting.rs @@ -128,7 +128,9 @@ pub struct ListMemberSettlementSettingsResponse { pub mod list_member_settlement_settings_response { #[derive(Clone, PartialEq, ::prost::Message)] pub struct Result { - #[prost(message, repeated, tag = "1")] + #[prost(uint64, tag = "1")] + pub total_count: u64, + #[prost(message, repeated, tag = "2")] pub member_settlement_settings: ::prost::alloc::vec::Vec, } diff --git a/src/ss/site.rs b/src/ss/site.rs index 5346317..aaba6b8 100644 --- a/src/ss/site.rs +++ b/src/ss/site.rs @@ -6,205 +6,205 @@ pub const SUBJECT_GET_SITE: &str = const_format::concatcp!(SUBJECT, ".GetSite"); pub const SUBJECT_UPDATE_SITE: &str = const_format::concatcp!(SUBJECT, ".UpdateSite"); pub const SUBJECT_DELETE_SITE: &str = const_format::concatcp!(SUBJECT, ".DeleteSite"); - /// subject = bet.beteran.ss.site.CreateSite; #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateSiteRequest { - #[prost(message, optional, tag="1")] - pub client: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub request: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub client: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub request: ::core::option::Option, } /// Nested message and enum types in `CreateSiteRequest`. pub mod create_site_request { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Request { - #[prost(string, tag="1")] - pub url: ::prost::alloc::string::String, - #[prost(string, optional, tag="2")] - pub name: ::core::option::Option<::prost::alloc::string::String>, - #[prost(string, optional, tag="3")] - pub path: ::core::option::Option<::prost::alloc::string::String>, - #[prost(bool, tag="4")] - pub show: bool, - #[prost(bool, tag="5")] - pub can_use: bool, - #[prost(string, optional, tag="6")] - pub memo: ::core::option::Option<::prost::alloc::string::String>, - #[prost(uint64, optional, tag="7")] - pub expires_at: ::core::option::Option, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Request { + #[prost(string, tag = "1")] + pub url: ::prost::alloc::string::String, + #[prost(string, optional, tag = "2")] + pub name: ::core::option::Option<::prost::alloc::string::String>, + #[prost(string, optional, tag = "3")] + pub path: ::core::option::Option<::prost::alloc::string::String>, + #[prost(bool, tag = "4")] + pub show: bool, + #[prost(bool, tag = "5")] + pub can_use: bool, + #[prost(string, optional, tag = "6")] + pub memo: ::core::option::Option<::prost::alloc::string::String>, + #[prost(uint64, optional, tag = "7")] + pub expires_at: ::core::option::Option, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateSiteResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `CreateSiteResponse`. pub mod create_site_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, optional, tag="1")] - pub site: ::core::option::Option, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, optional, tag = "1")] + pub site: ::core::option::Option, + } } /// subject = bet.beteran.ss.site.ListSites; #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListSitesRequest { - #[prost(message, optional, tag="1")] - pub client: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub request: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub client: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub request: ::core::option::Option, } /// Nested message and enum types in `ListSitesRequest`. pub mod list_sites_request { + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Request { + #[prost(message, optional, tag = "1")] + pub pagination: ::core::option::Option, + #[prost(message, repeated, tag = "2")] + pub sorts: ::prost::alloc::vec::Vec, + #[prost(message, optional, tag = "3")] + pub search: ::core::option::Option, + } + /// Nested message and enum types in `Request`. + pub mod request { #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Request { - #[prost(message, optional, tag="1")] - pub pagination: ::core::option::Option, - #[prost(message, repeated, tag="2")] - pub sorts: ::prost::alloc::vec::Vec, - #[prost(message, optional, tag="3")] - pub search: ::core::option::Option, - } - /// Nested message and enum types in `Request`. - pub mod request { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Search { - #[prost(string, optional, tag="1")] - pub url_like: ::core::option::Option<::prost::alloc::string::String>, - #[prost(string, optional, tag="2")] - pub name_like: ::core::option::Option<::prost::alloc::string::String>, - #[prost(string, optional, tag="3")] - pub path_like: ::core::option::Option<::prost::alloc::string::String>, - #[prost(bool, optional, tag="4")] - pub show: ::core::option::Option, - #[prost(bool, optional, tag="5")] - pub can_use: ::core::option::Option, - #[prost(string, optional, tag="6")] - pub memo_like: ::core::option::Option<::prost::alloc::string::String>, - } + pub struct Search { + #[prost(string, optional, tag = "1")] + pub url_like: ::core::option::Option<::prost::alloc::string::String>, + #[prost(string, optional, tag = "2")] + pub name_like: ::core::option::Option<::prost::alloc::string::String>, + #[prost(string, optional, tag = "3")] + pub path_like: ::core::option::Option<::prost::alloc::string::String>, + #[prost(bool, optional, tag = "4")] + pub show: ::core::option::Option, + #[prost(bool, optional, tag = "5")] + pub can_use: ::core::option::Option, + #[prost(string, optional, tag = "6")] + pub memo_like: ::core::option::Option<::prost::alloc::string::String>, } + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListSitesResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `ListSitesResponse`. pub mod list_sites_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, repeated, tag="1")] - pub sites: ::prost::alloc::vec::Vec, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(uint64, tag = "1")] + pub total_count: u64, + #[prost(message, repeated, tag = "2")] + pub sites: ::prost::alloc::vec::Vec, + } } /// subject = bet.beteran.ss.site.GetSite #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetSiteRequest { - #[prost(message, optional, tag="1")] - pub client: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub request: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub client: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub request: ::core::option::Option, } /// Nested message and enum types in `GetSiteRequest`. pub mod get_site_request { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Request { - #[prost(string, tag="1")] - pub id: ::prost::alloc::string::String, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Request { + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetSiteResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `GetSiteResponse`. pub mod get_site_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, optional, tag="1")] - pub site: ::core::option::Option, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, optional, tag = "1")] + pub site: ::core::option::Option, + } } /// subject = bet.beteran.ss.site.UpdateSite #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateSiteRequest { - #[prost(message, optional, tag="1")] - pub client: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub request: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub client: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub request: ::core::option::Option, } /// Nested message and enum types in `UpdateSiteRequest`. pub mod update_site_request { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Request { - #[prost(string, tag="1")] - pub id: ::prost::alloc::string::String, - #[prost(string, tag="2")] - pub url: ::prost::alloc::string::String, - #[prost(string, optional, tag="3")] - pub name: ::core::option::Option<::prost::alloc::string::String>, - #[prost(string, optional, tag="4")] - pub path: ::core::option::Option<::prost::alloc::string::String>, - #[prost(bool, tag="5")] - pub show: bool, - #[prost(bool, tag="6")] - pub can_use: bool, - #[prost(string, optional, tag="7")] - pub memo: ::core::option::Option<::prost::alloc::string::String>, - #[prost(uint64, optional, tag="8")] - pub expires_at: ::core::option::Option, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Request { + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, + #[prost(string, tag = "2")] + pub url: ::prost::alloc::string::String, + #[prost(string, optional, tag = "3")] + pub name: ::core::option::Option<::prost::alloc::string::String>, + #[prost(string, optional, tag = "4")] + pub path: ::core::option::Option<::prost::alloc::string::String>, + #[prost(bool, tag = "5")] + pub show: bool, + #[prost(bool, tag = "6")] + pub can_use: bool, + #[prost(string, optional, tag = "7")] + pub memo: ::core::option::Option<::prost::alloc::string::String>, + #[prost(uint64, optional, tag = "8")] + pub expires_at: ::core::option::Option, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateSiteResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `UpdateSiteResponse`. pub mod update_site_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, optional, tag="1")] - pub site: ::core::option::Option, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, optional, tag = "1")] + pub site: ::core::option::Option, + } } /// subject = bet.beteran.ss.site.DeleteSite #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteSiteRequest { - #[prost(message, optional, tag="1")] - pub client: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub request: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub client: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub request: ::core::option::Option, } /// Nested message and enum types in `DeleteSiteRequest`. pub mod delete_site_request { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Request { - #[prost(string, tag="1")] - pub id: ::prost::alloc::string::String, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Request { + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteSiteResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `DeleteSiteResponse`. pub mod delete_site_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result {} }