models are modified

This commit is contained in:
병준 박 2022-09-01 17:17:02 +00:00
parent 799fff847d
commit 7ffd576edb
31 changed files with 517 additions and 470 deletions

View File

@ -88,7 +88,9 @@ pub struct ListBettingHistoryResponse {
pub mod list_betting_history_response { pub mod list_betting_history_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { 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<crate::models::api::betting::BettingHistoryModel>, pub betting_history: ::prost::alloc::vec::Vec<crate::models::api::betting::BettingHistoryModel>,
} }
} }

View File

@ -34,7 +34,9 @@ pub struct ListGamesResponse {
pub mod list_games_response { pub mod list_games_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { 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<crate::models::api::game::Game>, pub games: ::prost::alloc::vec::Vec<crate::models::api::game::Game>,
} }
} }

View File

@ -36,7 +36,9 @@ pub struct ListVendorsResponse {
pub mod list_vendors_response { pub mod list_vendors_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { 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<crate::models::api::vendor::Vendor>, pub vendors: ::prost::alloc::vec::Vec<crate::models::api::vendor::Vendor>,
} }
} }

View File

@ -1,134 +1,135 @@
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct CreateBankRequest { pub struct CreateBankRequest {
#[prost(string, tag="1")] #[prost(string, tag = "1")]
pub name: ::prost::alloc::string::String, pub name: ::prost::alloc::string::String,
#[prost(uint32, tag="2")] #[prost(uint32, tag = "2")]
pub sort_order: u32, pub sort_order: u32,
#[prost(bool, tag="3")] #[prost(bool, tag = "3")]
pub show: bool, pub show: bool,
#[prost(bool, tag="4")] #[prost(bool, tag = "4")]
pub can_use: bool, pub can_use: bool,
#[prost(string, optional, tag="5")] #[prost(string, optional, tag = "5")]
pub memo: ::core::option::Option<::prost::alloc::string::String>, pub memo: ::core::option::Option<::prost::alloc::string::String>,
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct CreateBankResponse { pub struct CreateBankResponse {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>, pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<create_bank_response::Result>, pub result: ::core::option::Option<create_bank_response::Result>,
} }
/// Nested message and enum types in `CreateBankResponse`. /// Nested message and enum types in `CreateBankResponse`.
pub mod create_bank_response { pub mod create_bank_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { pub struct Result {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub bank: ::core::option::Option<crate::models::bank::Bank>, pub bank: ::core::option::Option<crate::models::bank::Bank>,
} }
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListBanksRequest { pub struct ListBanksRequest {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub pagination: ::core::option::Option<crate::protobuf::pagination::Pagination>, pub pagination: ::core::option::Option<crate::protobuf::pagination::Pagination>,
#[prost(message, repeated, tag="2")] #[prost(message, repeated, tag = "2")]
pub sorts: ::prost::alloc::vec::Vec<crate::protobuf::pagination::Sort>, pub sorts: ::prost::alloc::vec::Vec<crate::protobuf::pagination::Sort>,
#[prost(message, optional, tag="3")] #[prost(message, optional, tag = "3")]
pub search: ::core::option::Option<list_banks_request::Search>, pub search: ::core::option::Option<list_banks_request::Search>,
} }
/// Nested message and enum types in `ListBanksRequest`. /// Nested message and enum types in `ListBanksRequest`.
pub mod list_banks_request { pub mod list_banks_request {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Search { pub struct Search {
#[prost(string, optional, tag="1")] #[prost(string, optional, tag = "1")]
pub name_like: ::core::option::Option<::prost::alloc::string::String>, pub name_like: ::core::option::Option<::prost::alloc::string::String>,
#[prost(bool, optional, tag="2")] #[prost(bool, optional, tag = "2")]
pub show: ::core::option::Option<bool>, pub show: ::core::option::Option<bool>,
#[prost(bool, optional, tag="3")] #[prost(bool, optional, tag = "3")]
pub can_use: ::core::option::Option<bool>, pub can_use: ::core::option::Option<bool>,
#[prost(string, optional, tag="4")] #[prost(string, optional, tag = "4")]
pub memo_like: ::core::option::Option<::prost::alloc::string::String>, pub memo_like: ::core::option::Option<::prost::alloc::string::String>,
} }
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListBanksResponse { pub struct ListBanksResponse {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>, pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<list_banks_response::Result>, pub result: ::core::option::Option<list_banks_response::Result>,
} }
/// Nested message and enum types in `ListBanksResponse`. /// Nested message and enum types in `ListBanksResponse`.
pub mod list_banks_response { pub mod list_banks_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { pub struct Result {
#[prost(message, repeated, tag="1")] #[prost(uint64, tag = "1")]
pub banks: ::prost::alloc::vec::Vec<crate::models::bank::Bank>, pub total_count: u64,
} #[prost(message, repeated, tag = "2")]
pub banks: ::prost::alloc::vec::Vec<crate::models::bank::Bank>,
}
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetBankRequest { pub struct GetBankRequest {
#[prost(string, tag="1")] #[prost(string, tag = "1")]
pub id: ::prost::alloc::string::String, pub id: ::prost::alloc::string::String,
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetBankResponse { pub struct GetBankResponse {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>, pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<get_bank_response::Result>, pub result: ::core::option::Option<get_bank_response::Result>,
} }
/// Nested message and enum types in `GetBankResponse`. /// Nested message and enum types in `GetBankResponse`.
pub mod get_bank_response { pub mod get_bank_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { pub struct Result {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub bank: ::core::option::Option<crate::models::bank::Bank>, pub bank: ::core::option::Option<crate::models::bank::Bank>,
} }
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateBankRequest { pub struct UpdateBankRequest {
#[prost(string, tag="1")] #[prost(string, tag = "1")]
pub id: ::prost::alloc::string::String, pub id: ::prost::alloc::string::String,
#[prost(string, tag="2")] #[prost(string, tag = "2")]
pub name: ::prost::alloc::string::String, pub name: ::prost::alloc::string::String,
#[prost(uint32, tag="3")] #[prost(uint32, tag = "3")]
pub sort_order: u32, pub sort_order: u32,
#[prost(bool, tag="4")] #[prost(bool, tag = "4")]
pub show: bool, pub show: bool,
#[prost(bool, tag="5")] #[prost(bool, tag = "5")]
pub can_use: bool, pub can_use: bool,
#[prost(string, optional, tag="6")] #[prost(string, optional, tag = "6")]
pub memo: ::core::option::Option<::prost::alloc::string::String>, pub memo: ::core::option::Option<::prost::alloc::string::String>,
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateBankResponse { pub struct UpdateBankResponse {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>, pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<update_bank_response::Result>, pub result: ::core::option::Option<update_bank_response::Result>,
} }
/// Nested message and enum types in `UpdateBankResponse`. /// Nested message and enum types in `UpdateBankResponse`.
pub mod update_bank_response { pub mod update_bank_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { pub struct Result {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub bank: ::core::option::Option<crate::models::bank::Bank>, pub bank: ::core::option::Option<crate::models::bank::Bank>,
} }
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct DeleteBankRequest { pub struct DeleteBankRequest {
#[prost(string, tag="1")] #[prost(string, tag = "1")]
pub id: ::prost::alloc::string::String, pub id: ::prost::alloc::string::String,
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct DeleteBankResponse { pub struct DeleteBankResponse {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>, pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<delete_bank_response::Result>, pub result: ::core::option::Option<delete_bank_response::Result>,
} }
/// Nested message and enum types in `DeleteBankResponse`. /// Nested message and enum types in `DeleteBankResponse`.
pub mod delete_bank_response { pub mod delete_bank_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { pub struct Result {}
}
} }

View File

@ -83,7 +83,6 @@ pub mod signin_response {
pub access_token: ::prost::alloc::string::String, pub access_token: ::prost::alloc::string::String,
} }
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct SigninWithoutSecurityCodeRequest { pub struct SigninWithoutSecurityCodeRequest {
#[prost(string, tag = "1")] #[prost(string, tag = "1")]

View File

@ -176,7 +176,9 @@ pub struct ListMembersResponse {
pub mod list_members_response { pub mod list_members_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { 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<crate::models::member::MemberModel>, pub members: ::prost::alloc::vec::Vec<crate::models::member::MemberModel>,
} }
} }

View File

@ -65,7 +65,9 @@ pub struct ListMemberBankAccountsResponse {
pub mod list_member_bank_accounts_response { pub mod list_member_bank_accounts_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { 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: pub member_bank_accounts:
::prost::alloc::vec::Vec<crate::models::member_bank_account::MemberBankAccount>, ::prost::alloc::vec::Vec<crate::models::member_bank_account::MemberBankAccount>,
} }

View File

@ -63,7 +63,9 @@ pub struct ListMemberBankDepositsResponse {
pub mod list_member_bank_deposits_response { pub mod list_member_bank_deposits_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { 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: pub member_bank_deposits:
::prost::alloc::vec::Vec<crate::models::member_bank_deposit::MemberBankDepositModel>, ::prost::alloc::vec::Vec<crate::models::member_bank_deposit::MemberBankDepositModel>,
} }

View File

@ -73,7 +73,9 @@ pub struct ListMemberBankWithdrawsResponse {
pub mod list_member_bank_withdraws_response { pub mod list_member_bank_withdraws_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { 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: pub member_bank_withdraws:
::prost::alloc::vec::Vec<crate::models::member_bank_withdraw::MemberBankWithdrawModel>, ::prost::alloc::vec::Vec<crate::models::member_bank_withdraw::MemberBankWithdrawModel>,
} }

View File

@ -52,7 +52,9 @@ pub struct ListMemberClassesResponse {
pub mod list_member_classes_response { pub mod list_member_classes_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { 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<crate::models::member_class::MemberClass>, pub member_classes: ::prost::alloc::vec::Vec<crate::models::member_class::MemberClass>,
} }
} }

View File

@ -59,7 +59,9 @@ pub struct ListMemberGameSettingsResponse {
pub mod list_member_game_settings_response { pub mod list_member_game_settings_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { 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: pub member_game_settings:
::prost::alloc::vec::Vec<crate::models::member_game_setting::MemberGameSetting>, ::prost::alloc::vec::Vec<crate::models::member_game_setting::MemberGameSetting>,
} }

View File

@ -52,7 +52,9 @@ pub struct ListMemberLevelsResponse {
pub mod list_member_levels_response { pub mod list_member_levels_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { 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<crate::models::member_level::MemberLevel>, pub member_levels: ::prost::alloc::vec::Vec<crate::models::member_level::MemberLevel>,
} }
} }

View File

@ -72,7 +72,9 @@ pub struct ListMemberReferrersResponse {
pub mod list_member_referrers_response { pub mod list_member_referrers_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { pub struct Result {
#[prost(message, repeated, tag = "1")] #[prost(uint64, tag = "1")]
pub total_count: u64,
#[prost(message, repeated, tag = "2")]
pub member_referrers: pub member_referrers:
::prost::alloc::vec::Vec<crate::models::member_referrer::MemberReferrerModel>, ::prost::alloc::vec::Vec<crate::models::member_referrer::MemberReferrerModel>,
} }

View File

@ -93,7 +93,9 @@ pub struct ListMemberSettlementSettingsResponse {
pub mod list_member_settlement_settings_response { pub mod list_member_settlement_settings_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { 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: pub member_settlement_settings:
::prost::alloc::vec::Vec<crate::models::member_settlement_setting::MemberSettlementSetting>, ::prost::alloc::vec::Vec<crate::models::member_settlement_setting::MemberSettlementSetting>,
} }

View File

@ -1,146 +1,147 @@
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct CreateSiteRequest { pub struct CreateSiteRequest {
#[prost(string, tag="1")] #[prost(string, tag = "1")]
pub url: ::prost::alloc::string::String, pub url: ::prost::alloc::string::String,
#[prost(string, optional, tag="2")] #[prost(string, optional, tag = "2")]
pub name: ::core::option::Option<::prost::alloc::string::String>, pub name: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag="3")] #[prost(string, optional, tag = "3")]
pub path: ::core::option::Option<::prost::alloc::string::String>, pub path: ::core::option::Option<::prost::alloc::string::String>,
#[prost(bool, tag="4")] #[prost(bool, tag = "4")]
pub show: bool, pub show: bool,
#[prost(bool, tag="5")] #[prost(bool, tag = "5")]
pub can_use: bool, pub can_use: bool,
#[prost(string, optional, tag="6")] #[prost(string, optional, tag = "6")]
pub memo: ::core::option::Option<::prost::alloc::string::String>, pub memo: ::core::option::Option<::prost::alloc::string::String>,
#[prost(uint64, optional, tag="7")] #[prost(uint64, optional, tag = "7")]
pub expires_at: ::core::option::Option<u64>, pub expires_at: ::core::option::Option<u64>,
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct CreateSiteResponse { pub struct CreateSiteResponse {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>, pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<create_site_response::Result>, pub result: ::core::option::Option<create_site_response::Result>,
} }
/// Nested message and enum types in `CreateSiteResponse`. /// Nested message and enum types in `CreateSiteResponse`.
pub mod create_site_response { pub mod create_site_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { pub struct Result {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub site: ::core::option::Option<crate::models::site::Site>, pub site: ::core::option::Option<crate::models::site::Site>,
} }
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListSitesRequest { pub struct ListSitesRequest {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub pagination: ::core::option::Option<crate::protobuf::pagination::Pagination>, pub pagination: ::core::option::Option<crate::protobuf::pagination::Pagination>,
#[prost(message, repeated, tag="2")] #[prost(message, repeated, tag = "2")]
pub sorts: ::prost::alloc::vec::Vec<crate::protobuf::pagination::Sort>, pub sorts: ::prost::alloc::vec::Vec<crate::protobuf::pagination::Sort>,
#[prost(message, optional, tag="3")] #[prost(message, optional, tag = "3")]
pub search: ::core::option::Option<list_sites_request::Search>, pub search: ::core::option::Option<list_sites_request::Search>,
} }
/// Nested message and enum types in `ListSitesRequest`. /// Nested message and enum types in `ListSitesRequest`.
pub mod list_sites_request { pub mod list_sites_request {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Search { pub struct Search {
#[prost(string, optional, tag="1")] #[prost(string, optional, tag = "1")]
pub url_like: ::core::option::Option<::prost::alloc::string::String>, pub url_like: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag="2")] #[prost(string, optional, tag = "2")]
pub name_like: ::core::option::Option<::prost::alloc::string::String>, pub name_like: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag="3")] #[prost(string, optional, tag = "3")]
pub path_like: ::core::option::Option<::prost::alloc::string::String>, pub path_like: ::core::option::Option<::prost::alloc::string::String>,
#[prost(bool, optional, tag="4")] #[prost(bool, optional, tag = "4")]
pub show: ::core::option::Option<bool>, pub show: ::core::option::Option<bool>,
#[prost(bool, optional, tag="5")] #[prost(bool, optional, tag = "5")]
pub can_use: ::core::option::Option<bool>, pub can_use: ::core::option::Option<bool>,
#[prost(string, optional, tag="6")] #[prost(string, optional, tag = "6")]
pub memo_like: ::core::option::Option<::prost::alloc::string::String>, pub memo_like: ::core::option::Option<::prost::alloc::string::String>,
} }
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListSitesResponse { pub struct ListSitesResponse {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>, pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<list_sites_response::Result>, pub result: ::core::option::Option<list_sites_response::Result>,
} }
/// Nested message and enum types in `ListSitesResponse`. /// Nested message and enum types in `ListSitesResponse`.
pub mod list_sites_response { pub mod list_sites_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { pub struct Result {
#[prost(message, repeated, tag="1")] #[prost(uint64, tag = "1")]
pub sites: ::prost::alloc::vec::Vec<crate::models::site::Site>, pub total_count: u64,
} #[prost(message, repeated, tag = "2")]
pub sites: ::prost::alloc::vec::Vec<crate::models::site::Site>,
}
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetSiteRequest { pub struct GetSiteRequest {
#[prost(string, tag="1")] #[prost(string, tag = "1")]
pub id: ::prost::alloc::string::String, pub id: ::prost::alloc::string::String,
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetSiteResponse { pub struct GetSiteResponse {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>, pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<get_site_response::Result>, pub result: ::core::option::Option<get_site_response::Result>,
} }
/// Nested message and enum types in `GetSiteResponse`. /// Nested message and enum types in `GetSiteResponse`.
pub mod get_site_response { pub mod get_site_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { pub struct Result {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub site: ::core::option::Option<crate::models::site::Site>, pub site: ::core::option::Option<crate::models::site::Site>,
} }
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateSiteRequest { pub struct UpdateSiteRequest {
#[prost(string, tag="1")] #[prost(string, tag = "1")]
pub id: ::prost::alloc::string::String, pub id: ::prost::alloc::string::String,
#[prost(string, tag="2")] #[prost(string, tag = "2")]
pub url: ::prost::alloc::string::String, pub url: ::prost::alloc::string::String,
#[prost(string, optional, tag="3")] #[prost(string, optional, tag = "3")]
pub name: ::core::option::Option<::prost::alloc::string::String>, pub name: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag="4")] #[prost(string, optional, tag = "4")]
pub path: ::core::option::Option<::prost::alloc::string::String>, pub path: ::core::option::Option<::prost::alloc::string::String>,
#[prost(bool, tag="5")] #[prost(bool, tag = "5")]
pub show: bool, pub show: bool,
#[prost(bool, tag="6")] #[prost(bool, tag = "6")]
pub can_use: bool, pub can_use: bool,
#[prost(string, optional, tag="7")] #[prost(string, optional, tag = "7")]
pub memo: ::core::option::Option<::prost::alloc::string::String>, pub memo: ::core::option::Option<::prost::alloc::string::String>,
#[prost(uint64, optional, tag="8")] #[prost(uint64, optional, tag = "8")]
pub expires_at: ::core::option::Option<u64>, pub expires_at: ::core::option::Option<u64>,
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateSiteResponse { pub struct UpdateSiteResponse {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>, pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<update_site_response::Result>, pub result: ::core::option::Option<update_site_response::Result>,
} }
/// Nested message and enum types in `UpdateSiteResponse`. /// Nested message and enum types in `UpdateSiteResponse`.
pub mod update_site_response { pub mod update_site_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { pub struct Result {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub site: ::core::option::Option<crate::models::site::Site>, pub site: ::core::option::Option<crate::models::site::Site>,
} }
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct DeleteSiteRequest { pub struct DeleteSiteRequest {
#[prost(string, tag="1")] #[prost(string, tag = "1")]
pub id: ::prost::alloc::string::String, pub id: ::prost::alloc::string::String,
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct DeleteSiteResponse { pub struct DeleteSiteResponse {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>, pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<delete_site_response::Result>, pub result: ::core::option::Option<delete_site_response::Result>,
} }
/// Nested message and enum types in `DeleteSiteResponse`. /// Nested message and enum types in `DeleteSiteResponse`.
pub mod delete_site_response { pub mod delete_site_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { pub struct Result {}
}
} }

View File

@ -96,5 +96,5 @@ pub struct BettingHistoryModel {
#[prost(uint64, tag = "23")] #[prost(uint64, tag = "23")]
pub utc_created_at: u64, pub utc_created_at: u64,
#[prost(message, optional, tag = "24")] #[prost(message, optional, tag = "24")]
pub member: ::core::option::Option<super::super::member::MemberModel>, pub member: ::core::option::Option<crate::models::member::MemberModel>,
} }

View File

@ -104,7 +104,9 @@ pub struct ListBettingHistoryResponse {
pub mod list_betting_history_response { pub mod list_betting_history_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { 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<crate::models::api::betting::BettingHistory>, pub betting_history: ::prost::alloc::vec::Vec<crate::models::api::betting::BettingHistory>,
} }
} }

View File

@ -50,7 +50,9 @@ pub struct ListGamesResponse {
pub mod list_games_response { pub mod list_games_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { 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<crate::models::api::game::Game>, pub games: ::prost::alloc::vec::Vec<crate::models::api::game::Game>,
} }
} }

View File

@ -51,7 +51,9 @@ pub struct ListVendorsResponse {
pub mod list_vendors_response { pub mod list_vendors_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { 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<crate::models::api::vendor::Vendor>, pub vendors: ::prost::alloc::vec::Vec<crate::models::api::vendor::Vendor>,
} }
} }

View File

@ -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_UPDATE_BANK: &str = const_format::concatcp!(SUBJECT, ".UpdateBank");
pub const SUBJECT_DELETE_BANK: &str = const_format::concatcp!(SUBJECT, ".DeleteBank"); pub const SUBJECT_DELETE_BANK: &str = const_format::concatcp!(SUBJECT, ".DeleteBank");
/// subject = bet.beteran.ss.bank.CreateBank; /// subject = bet.beteran.ss.bank.CreateBank;
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct CreateBankRequest { pub struct CreateBankRequest {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub client: ::core::option::Option<crate::models::core::network::Client>, pub client: ::core::option::Option<crate::models::core::network::Client>,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag = "2")]
pub request: ::core::option::Option<create_bank_request::Request>, pub request: ::core::option::Option<create_bank_request::Request>,
} }
/// Nested message and enum types in `CreateBankRequest`. /// Nested message and enum types in `CreateBankRequest`.
pub mod create_bank_request { pub mod create_bank_request {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Request { pub struct Request {
#[prost(string, tag="1")] #[prost(string, tag = "1")]
pub name: ::prost::alloc::string::String, pub name: ::prost::alloc::string::String,
#[prost(uint32, tag="2")] #[prost(uint32, tag = "2")]
pub sort_order: u32, pub sort_order: u32,
#[prost(bool, tag="3")] #[prost(bool, tag = "3")]
pub show: bool, pub show: bool,
#[prost(bool, tag="4")] #[prost(bool, tag = "4")]
pub can_use: bool, pub can_use: bool,
#[prost(string, optional, tag="5")] #[prost(string, optional, tag = "5")]
pub memo: ::core::option::Option<::prost::alloc::string::String>, pub memo: ::core::option::Option<::prost::alloc::string::String>,
} }
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct CreateBankResponse { pub struct CreateBankResponse {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>, pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<create_bank_response::Result>, pub result: ::core::option::Option<create_bank_response::Result>,
} }
/// Nested message and enum types in `CreateBankResponse`. /// Nested message and enum types in `CreateBankResponse`.
pub mod create_bank_response { pub mod create_bank_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { pub struct Result {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub bank: ::core::option::Option<crate::models::bank::Bank>, pub bank: ::core::option::Option<crate::models::bank::Bank>,
} }
} }
/// subject = bet.beteran.ss.bank.ListBanks; /// subject = bet.beteran.ss.bank.ListBanks;
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListBanksRequest { pub struct ListBanksRequest {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub client: ::core::option::Option<crate::models::core::network::Client>, pub client: ::core::option::Option<crate::models::core::network::Client>,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag = "2")]
pub request: ::core::option::Option<list_banks_request::Request>, pub request: ::core::option::Option<list_banks_request::Request>,
} }
/// Nested message and enum types in `ListBanksRequest`. /// Nested message and enum types in `ListBanksRequest`.
pub mod list_banks_request { pub mod list_banks_request {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Request {
#[prost(message, optional, tag = "1")]
pub pagination: ::core::option::Option<crate::protobuf::pagination::Pagination>,
#[prost(message, repeated, tag = "2")]
pub sorts: ::prost::alloc::vec::Vec<crate::protobuf::pagination::Sort>,
#[prost(message, optional, tag = "3")]
pub search: ::core::option::Option<request::Search>,
}
/// Nested message and enum types in `Request`.
pub mod request {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Request { pub struct Search {
#[prost(message, optional, tag="1")] #[prost(string, optional, tag = "1")]
pub pagination: ::core::option::Option<crate::protobuf::pagination::Pagination>, pub name_like: ::core::option::Option<::prost::alloc::string::String>,
#[prost(message, repeated, tag="2")] #[prost(bool, optional, tag = "2")]
pub sorts: ::prost::alloc::vec::Vec<crate::protobuf::pagination::Sort>, pub show: ::core::option::Option<bool>,
#[prost(message, optional, tag="3")] #[prost(bool, optional, tag = "3")]
pub search: ::core::option::Option<request::Search>, pub can_use: ::core::option::Option<bool>,
} #[prost(string, optional, tag = "4")]
/// Nested message and enum types in `Request`. pub memo_like: ::core::option::Option<::prost::alloc::string::String>,
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<bool>,
#[prost(bool, optional, tag="3")]
pub can_use: ::core::option::Option<bool>,
#[prost(string, optional, tag="4")]
pub memo_like: ::core::option::Option<::prost::alloc::string::String>,
}
} }
}
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListBanksResponse { pub struct ListBanksResponse {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>, pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<list_banks_response::Result>, pub result: ::core::option::Option<list_banks_response::Result>,
} }
/// Nested message and enum types in `ListBanksResponse`. /// Nested message and enum types in `ListBanksResponse`.
pub mod list_banks_response { pub mod list_banks_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { pub struct Result {
#[prost(message, repeated, tag="1")] #[prost(uint64, tag = "1")]
pub banks: ::prost::alloc::vec::Vec<crate::models::bank::Bank>, pub total_count: u64,
} #[prost(message, repeated, tag = "2")]
pub banks: ::prost::alloc::vec::Vec<crate::models::bank::Bank>,
}
} }
/// subject = bet.beteran.ss.bank.GetBank /// subject = bet.beteran.ss.bank.GetBank
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetBankRequest { pub struct GetBankRequest {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub client: ::core::option::Option<crate::models::core::network::Client>, pub client: ::core::option::Option<crate::models::core::network::Client>,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag = "2")]
pub request: ::core::option::Option<get_bank_request::Request>, pub request: ::core::option::Option<get_bank_request::Request>,
} }
/// Nested message and enum types in `GetBankRequest`. /// Nested message and enum types in `GetBankRequest`.
pub mod get_bank_request { pub mod get_bank_request {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Request { pub struct Request {
#[prost(string, tag="1")] #[prost(string, tag = "1")]
pub id: ::prost::alloc::string::String, pub id: ::prost::alloc::string::String,
} }
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetBankResponse { pub struct GetBankResponse {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>, pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<get_bank_response::Result>, pub result: ::core::option::Option<get_bank_response::Result>,
} }
/// Nested message and enum types in `GetBankResponse`. /// Nested message and enum types in `GetBankResponse`.
pub mod get_bank_response { pub mod get_bank_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { pub struct Result {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub bank: ::core::option::Option<crate::models::bank::Bank>, pub bank: ::core::option::Option<crate::models::bank::Bank>,
} }
} }
/// subject = bet.beteran.ss.bank.UpdateBank /// subject = bet.beteran.ss.bank.UpdateBank
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateBankRequest { pub struct UpdateBankRequest {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub client: ::core::option::Option<crate::models::core::network::Client>, pub client: ::core::option::Option<crate::models::core::network::Client>,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag = "2")]
pub request: ::core::option::Option<update_bank_request::Request>, pub request: ::core::option::Option<update_bank_request::Request>,
} }
/// Nested message and enum types in `UpdateBankRequest`. /// Nested message and enum types in `UpdateBankRequest`.
pub mod update_bank_request { pub mod update_bank_request {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Request { pub struct Request {
#[prost(string, tag="1")] #[prost(string, tag = "1")]
pub id: ::prost::alloc::string::String, pub id: ::prost::alloc::string::String,
#[prost(string, tag="2")] #[prost(string, tag = "2")]
pub name: ::prost::alloc::string::String, pub name: ::prost::alloc::string::String,
#[prost(uint32, tag="3")] #[prost(uint32, tag = "3")]
pub sort_order: u32, pub sort_order: u32,
#[prost(bool, tag="4")] #[prost(bool, tag = "4")]
pub show: bool, pub show: bool,
#[prost(bool, tag="5")] #[prost(bool, tag = "5")]
pub can_use: bool, pub can_use: bool,
#[prost(string, optional, tag="6")] #[prost(string, optional, tag = "6")]
pub memo: ::core::option::Option<::prost::alloc::string::String>, pub memo: ::core::option::Option<::prost::alloc::string::String>,
} }
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateBankResponse { pub struct UpdateBankResponse {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>, pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<update_bank_response::Result>, pub result: ::core::option::Option<update_bank_response::Result>,
} }
/// Nested message and enum types in `UpdateBankResponse`. /// Nested message and enum types in `UpdateBankResponse`.
pub mod update_bank_response { pub mod update_bank_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { pub struct Result {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub bank: ::core::option::Option<crate::models::bank::Bank>, pub bank: ::core::option::Option<crate::models::bank::Bank>,
} }
} }
/// subject = bet.beteran.ss.bank.DeleteBank /// subject = bet.beteran.ss.bank.DeleteBank
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct DeleteBankRequest { pub struct DeleteBankRequest {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub client: ::core::option::Option<crate::models::core::network::Client>, pub client: ::core::option::Option<crate::models::core::network::Client>,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag = "2")]
pub request: ::core::option::Option<delete_bank_request::Request>, pub request: ::core::option::Option<delete_bank_request::Request>,
} }
/// Nested message and enum types in `DeleteBankRequest`. /// Nested message and enum types in `DeleteBankRequest`.
pub mod delete_bank_request { pub mod delete_bank_request {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Request { pub struct Request {
#[prost(string, tag="1")] #[prost(string, tag = "1")]
pub id: ::prost::alloc::string::String, pub id: ::prost::alloc::string::String,
} }
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct DeleteBankResponse { pub struct DeleteBankResponse {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>, pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<delete_bank_response::Result>, pub result: ::core::option::Option<delete_bank_response::Result>,
} }
/// Nested message and enum types in `DeleteBankResponse`. /// Nested message and enum types in `DeleteBankResponse`.
pub mod delete_bank_response { pub mod delete_bank_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { pub struct Result {}
}
} }

View File

@ -143,7 +143,6 @@ pub mod signin_response {
pub access_token: ::prost::alloc::string::String, pub access_token: ::prost::alloc::string::String,
} }
} }
/// subject = bet.beteran.ss.identity.SigninWithoutSecurityCode /// subject = bet.beteran.ss.identity.SigninWithoutSecurityCode
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct SigninWithoutSecurityCodeRequest { pub struct SigninWithoutSecurityCodeRequest {
@ -193,7 +192,6 @@ pub mod after_signin_event {
pub member: ::core::option::Option<crate::models::member::Member>, pub member: ::core::option::Option<crate::models::member::Member>,
} }
} }
/// subject = bet.beteran.ss_event.identity.AfterSignout /// subject = bet.beteran.ss_event.identity.AfterSignout
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct AfterSignoutEvent { pub struct AfterSignoutEvent {

View File

@ -220,7 +220,9 @@ pub struct ListMembersResponse {
pub mod list_members_response { pub mod list_members_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { 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<crate::models::member::MemberModel>, pub members: ::prost::alloc::vec::Vec<crate::models::member::MemberModel>,
} }
} }

View File

@ -102,7 +102,9 @@ pub struct ListMemberBankAccountsResponse {
pub mod list_member_bank_accounts_response { pub mod list_member_bank_accounts_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { 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: pub member_bank_accounts:
::prost::alloc::vec::Vec<crate::models::member_bank_account::MemberBankAccount>, ::prost::alloc::vec::Vec<crate::models::member_bank_account::MemberBankAccount>,
} }

View File

@ -106,7 +106,9 @@ pub struct ListMemberBankDepositsResponse {
pub mod list_member_bank_deposits_response { pub mod list_member_bank_deposits_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { 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: pub member_bank_deposits:
::prost::alloc::vec::Vec<crate::models::member_bank_deposit::MemberBankDepositModel>, ::prost::alloc::vec::Vec<crate::models::member_bank_deposit::MemberBankDepositModel>,
} }

View File

@ -116,7 +116,9 @@ pub struct ListMemberBankWithdrawsResponse {
pub mod list_member_bank_withdraws_response { pub mod list_member_bank_withdraws_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { 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: pub member_bank_withdraws:
::prost::alloc::vec::Vec<crate::models::member_bank_withdraw::MemberBankWithdrawModel>, ::prost::alloc::vec::Vec<crate::models::member_bank_withdraw::MemberBankWithdrawModel>,
} }

View File

@ -86,7 +86,9 @@ pub struct ListMemberClassesResponse {
pub mod list_member_classes_response { pub mod list_member_classes_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { 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<crate::models::member_class::MemberClass>, pub member_classes: ::prost::alloc::vec::Vec<crate::models::member_class::MemberClass>,
} }
} }

View File

@ -94,7 +94,9 @@ pub struct ListMemberGameSettingsResponse {
pub mod list_member_game_settings_response { pub mod list_member_game_settings_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { 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: pub member_game_settings:
::prost::alloc::vec::Vec<crate::models::member_game_setting::MemberGameSetting>, ::prost::alloc::vec::Vec<crate::models::member_game_setting::MemberGameSetting>,
} }

View File

@ -85,7 +85,9 @@ pub struct ListMemberLevelsResponse {
pub mod list_member_levels_response { pub mod list_member_levels_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { 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<crate::models::member_level::MemberLevel>, pub member_levels: ::prost::alloc::vec::Vec<crate::models::member_level::MemberLevel>,
} }
} }

View File

@ -125,7 +125,9 @@ pub struct ListMemberReferrersResponse {
pub mod list_member_referrers_response { pub mod list_member_referrers_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { pub struct Result {
#[prost(message, repeated, tag = "1")] #[prost(uint64, tag = "1")]
pub total_count: u64,
#[prost(message, repeated, tag = "2")]
pub member_referrers: pub member_referrers:
::prost::alloc::vec::Vec<crate::models::member_referrer::MemberReferrerModel>, ::prost::alloc::vec::Vec<crate::models::member_referrer::MemberReferrerModel>,
} }

View File

@ -128,7 +128,9 @@ pub struct ListMemberSettlementSettingsResponse {
pub mod list_member_settlement_settings_response { pub mod list_member_settlement_settings_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { 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: pub member_settlement_settings:
::prost::alloc::vec::Vec<crate::models::member_settlement_setting::MemberSettlementSetting>, ::prost::alloc::vec::Vec<crate::models::member_settlement_setting::MemberSettlementSetting>,
} }

View File

@ -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_UPDATE_SITE: &str = const_format::concatcp!(SUBJECT, ".UpdateSite");
pub const SUBJECT_DELETE_SITE: &str = const_format::concatcp!(SUBJECT, ".DeleteSite"); pub const SUBJECT_DELETE_SITE: &str = const_format::concatcp!(SUBJECT, ".DeleteSite");
/// subject = bet.beteran.ss.site.CreateSite; /// subject = bet.beteran.ss.site.CreateSite;
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct CreateSiteRequest { pub struct CreateSiteRequest {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub client: ::core::option::Option<crate::models::core::network::Client>, pub client: ::core::option::Option<crate::models::core::network::Client>,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag = "2")]
pub request: ::core::option::Option<create_site_request::Request>, pub request: ::core::option::Option<create_site_request::Request>,
} }
/// Nested message and enum types in `CreateSiteRequest`. /// Nested message and enum types in `CreateSiteRequest`.
pub mod create_site_request { pub mod create_site_request {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Request { pub struct Request {
#[prost(string, tag="1")] #[prost(string, tag = "1")]
pub url: ::prost::alloc::string::String, pub url: ::prost::alloc::string::String,
#[prost(string, optional, tag="2")] #[prost(string, optional, tag = "2")]
pub name: ::core::option::Option<::prost::alloc::string::String>, pub name: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag="3")] #[prost(string, optional, tag = "3")]
pub path: ::core::option::Option<::prost::alloc::string::String>, pub path: ::core::option::Option<::prost::alloc::string::String>,
#[prost(bool, tag="4")] #[prost(bool, tag = "4")]
pub show: bool, pub show: bool,
#[prost(bool, tag="5")] #[prost(bool, tag = "5")]
pub can_use: bool, pub can_use: bool,
#[prost(string, optional, tag="6")] #[prost(string, optional, tag = "6")]
pub memo: ::core::option::Option<::prost::alloc::string::String>, pub memo: ::core::option::Option<::prost::alloc::string::String>,
#[prost(uint64, optional, tag="7")] #[prost(uint64, optional, tag = "7")]
pub expires_at: ::core::option::Option<u64>, pub expires_at: ::core::option::Option<u64>,
} }
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct CreateSiteResponse { pub struct CreateSiteResponse {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>, pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<create_site_response::Result>, pub result: ::core::option::Option<create_site_response::Result>,
} }
/// Nested message and enum types in `CreateSiteResponse`. /// Nested message and enum types in `CreateSiteResponse`.
pub mod create_site_response { pub mod create_site_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { pub struct Result {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub site: ::core::option::Option<crate::models::site::Site>, pub site: ::core::option::Option<crate::models::site::Site>,
} }
} }
/// subject = bet.beteran.ss.site.ListSites; /// subject = bet.beteran.ss.site.ListSites;
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListSitesRequest { pub struct ListSitesRequest {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub client: ::core::option::Option<crate::models::core::network::Client>, pub client: ::core::option::Option<crate::models::core::network::Client>,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag = "2")]
pub request: ::core::option::Option<list_sites_request::Request>, pub request: ::core::option::Option<list_sites_request::Request>,
} }
/// Nested message and enum types in `ListSitesRequest`. /// Nested message and enum types in `ListSitesRequest`.
pub mod list_sites_request { pub mod list_sites_request {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Request {
#[prost(message, optional, tag = "1")]
pub pagination: ::core::option::Option<crate::protobuf::pagination::Pagination>,
#[prost(message, repeated, tag = "2")]
pub sorts: ::prost::alloc::vec::Vec<crate::protobuf::pagination::Sort>,
#[prost(message, optional, tag = "3")]
pub search: ::core::option::Option<request::Search>,
}
/// Nested message and enum types in `Request`.
pub mod request {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Request { pub struct Search {
#[prost(message, optional, tag="1")] #[prost(string, optional, tag = "1")]
pub pagination: ::core::option::Option<crate::protobuf::pagination::Pagination>, pub url_like: ::core::option::Option<::prost::alloc::string::String>,
#[prost(message, repeated, tag="2")] #[prost(string, optional, tag = "2")]
pub sorts: ::prost::alloc::vec::Vec<crate::protobuf::pagination::Sort>, pub name_like: ::core::option::Option<::prost::alloc::string::String>,
#[prost(message, optional, tag="3")] #[prost(string, optional, tag = "3")]
pub search: ::core::option::Option<request::Search>, pub path_like: ::core::option::Option<::prost::alloc::string::String>,
} #[prost(bool, optional, tag = "4")]
/// Nested message and enum types in `Request`. pub show: ::core::option::Option<bool>,
pub mod request { #[prost(bool, optional, tag = "5")]
#[derive(Clone, PartialEq, ::prost::Message)] pub can_use: ::core::option::Option<bool>,
pub struct Search { #[prost(string, optional, tag = "6")]
#[prost(string, optional, tag="1")] pub memo_like: ::core::option::Option<::prost::alloc::string::String>,
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<bool>,
#[prost(bool, optional, tag="5")]
pub can_use: ::core::option::Option<bool>,
#[prost(string, optional, tag="6")]
pub memo_like: ::core::option::Option<::prost::alloc::string::String>,
}
} }
}
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListSitesResponse { pub struct ListSitesResponse {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>, pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<list_sites_response::Result>, pub result: ::core::option::Option<list_sites_response::Result>,
} }
/// Nested message and enum types in `ListSitesResponse`. /// Nested message and enum types in `ListSitesResponse`.
pub mod list_sites_response { pub mod list_sites_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { pub struct Result {
#[prost(message, repeated, tag="1")] #[prost(uint64, tag = "1")]
pub sites: ::prost::alloc::vec::Vec<crate::models::site::Site>, pub total_count: u64,
} #[prost(message, repeated, tag = "2")]
pub sites: ::prost::alloc::vec::Vec<crate::models::site::Site>,
}
} }
/// subject = bet.beteran.ss.site.GetSite /// subject = bet.beteran.ss.site.GetSite
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetSiteRequest { pub struct GetSiteRequest {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub client: ::core::option::Option<crate::models::core::network::Client>, pub client: ::core::option::Option<crate::models::core::network::Client>,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag = "2")]
pub request: ::core::option::Option<get_site_request::Request>, pub request: ::core::option::Option<get_site_request::Request>,
} }
/// Nested message and enum types in `GetSiteRequest`. /// Nested message and enum types in `GetSiteRequest`.
pub mod get_site_request { pub mod get_site_request {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Request { pub struct Request {
#[prost(string, tag="1")] #[prost(string, tag = "1")]
pub id: ::prost::alloc::string::String, pub id: ::prost::alloc::string::String,
} }
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetSiteResponse { pub struct GetSiteResponse {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>, pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<get_site_response::Result>, pub result: ::core::option::Option<get_site_response::Result>,
} }
/// Nested message and enum types in `GetSiteResponse`. /// Nested message and enum types in `GetSiteResponse`.
pub mod get_site_response { pub mod get_site_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { pub struct Result {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub site: ::core::option::Option<crate::models::site::Site>, pub site: ::core::option::Option<crate::models::site::Site>,
} }
} }
/// subject = bet.beteran.ss.site.UpdateSite /// subject = bet.beteran.ss.site.UpdateSite
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateSiteRequest { pub struct UpdateSiteRequest {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub client: ::core::option::Option<crate::models::core::network::Client>, pub client: ::core::option::Option<crate::models::core::network::Client>,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag = "2")]
pub request: ::core::option::Option<update_site_request::Request>, pub request: ::core::option::Option<update_site_request::Request>,
} }
/// Nested message and enum types in `UpdateSiteRequest`. /// Nested message and enum types in `UpdateSiteRequest`.
pub mod update_site_request { pub mod update_site_request {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Request { pub struct Request {
#[prost(string, tag="1")] #[prost(string, tag = "1")]
pub id: ::prost::alloc::string::String, pub id: ::prost::alloc::string::String,
#[prost(string, tag="2")] #[prost(string, tag = "2")]
pub url: ::prost::alloc::string::String, pub url: ::prost::alloc::string::String,
#[prost(string, optional, tag="3")] #[prost(string, optional, tag = "3")]
pub name: ::core::option::Option<::prost::alloc::string::String>, pub name: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag="4")] #[prost(string, optional, tag = "4")]
pub path: ::core::option::Option<::prost::alloc::string::String>, pub path: ::core::option::Option<::prost::alloc::string::String>,
#[prost(bool, tag="5")] #[prost(bool, tag = "5")]
pub show: bool, pub show: bool,
#[prost(bool, tag="6")] #[prost(bool, tag = "6")]
pub can_use: bool, pub can_use: bool,
#[prost(string, optional, tag="7")] #[prost(string, optional, tag = "7")]
pub memo: ::core::option::Option<::prost::alloc::string::String>, pub memo: ::core::option::Option<::prost::alloc::string::String>,
#[prost(uint64, optional, tag="8")] #[prost(uint64, optional, tag = "8")]
pub expires_at: ::core::option::Option<u64>, pub expires_at: ::core::option::Option<u64>,
} }
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateSiteResponse { pub struct UpdateSiteResponse {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>, pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<update_site_response::Result>, pub result: ::core::option::Option<update_site_response::Result>,
} }
/// Nested message and enum types in `UpdateSiteResponse`. /// Nested message and enum types in `UpdateSiteResponse`.
pub mod update_site_response { pub mod update_site_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { pub struct Result {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub site: ::core::option::Option<crate::models::site::Site>, pub site: ::core::option::Option<crate::models::site::Site>,
} }
} }
/// subject = bet.beteran.ss.site.DeleteSite /// subject = bet.beteran.ss.site.DeleteSite
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct DeleteSiteRequest { pub struct DeleteSiteRequest {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub client: ::core::option::Option<crate::models::core::network::Client>, pub client: ::core::option::Option<crate::models::core::network::Client>,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag = "2")]
pub request: ::core::option::Option<delete_site_request::Request>, pub request: ::core::option::Option<delete_site_request::Request>,
} }
/// Nested message and enum types in `DeleteSiteRequest`. /// Nested message and enum types in `DeleteSiteRequest`.
pub mod delete_site_request { pub mod delete_site_request {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Request { pub struct Request {
#[prost(string, tag="1")] #[prost(string, tag = "1")]
pub id: ::prost::alloc::string::String, pub id: ::prost::alloc::string::String,
} }
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct DeleteSiteResponse { pub struct DeleteSiteResponse {
#[prost(message, optional, tag="1")] #[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>, pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag="2")] #[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<delete_site_response::Result>, pub result: ::core::option::Option<delete_site_response::Result>,
} }
/// Nested message and enum types in `DeleteSiteResponse`. /// Nested message and enum types in `DeleteSiteResponse`.
pub mod delete_site_response { pub mod delete_site_response {
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result { pub struct Result {}
}
} }