models are modified
This commit is contained in:
parent
799fff847d
commit
7ffd576edb
|
@ -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<crate::models::api::betting::BettingHistoryModel>,
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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<crate::models::api::game::Game>,
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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<crate::models::api::vendor::Vendor>,
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,134 +1,135 @@
|
|||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct CreateBankRequest {
|
||||
#[prost(string, tag="1")]
|
||||
#[prost(string, tag = "1")]
|
||||
pub name: ::prost::alloc::string::String,
|
||||
#[prost(uint32, tag="2")]
|
||||
#[prost(uint32, tag = "2")]
|
||||
pub sort_order: u32,
|
||||
#[prost(bool, tag="3")]
|
||||
#[prost(bool, tag = "3")]
|
||||
pub show: bool,
|
||||
#[prost(bool, tag="4")]
|
||||
#[prost(bool, tag = "4")]
|
||||
pub can_use: bool,
|
||||
#[prost(string, optional, tag="5")]
|
||||
#[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")]
|
||||
#[prost(message, optional, tag = "1")]
|
||||
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>,
|
||||
}
|
||||
/// 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")]
|
||||
#[prost(message, optional, tag = "1")]
|
||||
pub bank: ::core::option::Option<crate::models::bank::Bank>,
|
||||
}
|
||||
}
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct ListBanksRequest {
|
||||
#[prost(message, optional, tag="1")]
|
||||
#[prost(message, optional, tag = "1")]
|
||||
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>,
|
||||
#[prost(message, optional, tag="3")]
|
||||
#[prost(message, optional, tag = "3")]
|
||||
pub search: ::core::option::Option<list_banks_request::Search>,
|
||||
}
|
||||
/// 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")]
|
||||
#[prost(string, optional, tag = "1")]
|
||||
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>,
|
||||
#[prost(bool, optional, tag="3")]
|
||||
#[prost(bool, optional, tag = "3")]
|
||||
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>,
|
||||
}
|
||||
}
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct ListBanksResponse {
|
||||
#[prost(message, optional, tag="1")]
|
||||
#[prost(message, optional, tag = "1")]
|
||||
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>,
|
||||
}
|
||||
/// 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")]
|
||||
#[prost(uint64, tag = "1")]
|
||||
pub total_count: u64,
|
||||
#[prost(message, repeated, tag = "2")]
|
||||
pub banks: ::prost::alloc::vec::Vec<crate::models::bank::Bank>,
|
||||
}
|
||||
}
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct GetBankRequest {
|
||||
#[prost(string, tag="1")]
|
||||
#[prost(string, tag = "1")]
|
||||
pub id: ::prost::alloc::string::String,
|
||||
}
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct GetBankResponse {
|
||||
#[prost(message, optional, tag="1")]
|
||||
#[prost(message, optional, tag = "1")]
|
||||
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>,
|
||||
}
|
||||
/// 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")]
|
||||
#[prost(message, optional, tag = "1")]
|
||||
pub bank: ::core::option::Option<crate::models::bank::Bank>,
|
||||
}
|
||||
}
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct UpdateBankRequest {
|
||||
#[prost(string, tag="1")]
|
||||
#[prost(string, tag = "1")]
|
||||
pub id: ::prost::alloc::string::String,
|
||||
#[prost(string, tag="2")]
|
||||
#[prost(string, tag = "2")]
|
||||
pub name: ::prost::alloc::string::String,
|
||||
#[prost(uint32, tag="3")]
|
||||
#[prost(uint32, tag = "3")]
|
||||
pub sort_order: u32,
|
||||
#[prost(bool, tag="4")]
|
||||
#[prost(bool, tag = "4")]
|
||||
pub show: bool,
|
||||
#[prost(bool, tag="5")]
|
||||
#[prost(bool, tag = "5")]
|
||||
pub can_use: bool,
|
||||
#[prost(string, optional, tag="6")]
|
||||
#[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")]
|
||||
#[prost(message, optional, tag = "1")]
|
||||
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>,
|
||||
}
|
||||
/// 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")]
|
||||
#[prost(message, optional, tag = "1")]
|
||||
pub bank: ::core::option::Option<crate::models::bank::Bank>,
|
||||
}
|
||||
}
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct DeleteBankRequest {
|
||||
#[prost(string, tag="1")]
|
||||
#[prost(string, tag = "1")]
|
||||
pub id: ::prost::alloc::string::String,
|
||||
}
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct DeleteBankResponse {
|
||||
#[prost(message, optional, tag="1")]
|
||||
#[prost(message, optional, tag = "1")]
|
||||
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>,
|
||||
}
|
||||
/// Nested message and enum types in `DeleteBankResponse`.
|
||||
pub mod delete_bank_response {
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct Result {
|
||||
}
|
||||
pub struct Result {}
|
||||
}
|
||||
|
|
|
@ -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")]
|
||||
|
|
|
@ -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<crate::models::member::MemberModel>,
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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<crate::models::member_bank_account::MemberBankAccount>,
|
||||
}
|
||||
|
|
|
@ -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<crate::models::member_bank_deposit::MemberBankDepositModel>,
|
||||
}
|
||||
|
|
|
@ -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<crate::models::member_bank_withdraw::MemberBankWithdrawModel>,
|
||||
}
|
||||
|
|
|
@ -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<crate::models::member_class::MemberClass>,
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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<crate::models::member_game_setting::MemberGameSetting>,
|
||||
}
|
||||
|
|
|
@ -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<crate::models::member_level::MemberLevel>,
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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<crate::models::member_referrer::MemberReferrerModel>,
|
||||
}
|
||||
|
|
|
@ -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<crate::models::member_settlement_setting::MemberSettlementSetting>,
|
||||
}
|
||||
|
|
|
@ -1,146 +1,147 @@
|
|||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct CreateSiteRequest {
|
||||
#[prost(string, tag="1")]
|
||||
#[prost(string, tag = "1")]
|
||||
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>,
|
||||
#[prost(string, optional, tag="3")]
|
||||
#[prost(string, optional, tag = "3")]
|
||||
pub path: ::core::option::Option<::prost::alloc::string::String>,
|
||||
#[prost(bool, tag="4")]
|
||||
#[prost(bool, tag = "4")]
|
||||
pub show: bool,
|
||||
#[prost(bool, tag="5")]
|
||||
#[prost(bool, tag = "5")]
|
||||
pub can_use: bool,
|
||||
#[prost(string, optional, tag="6")]
|
||||
#[prost(string, optional, tag = "6")]
|
||||
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>,
|
||||
}
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct CreateSiteResponse {
|
||||
#[prost(message, optional, tag="1")]
|
||||
#[prost(message, optional, tag = "1")]
|
||||
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>,
|
||||
}
|
||||
/// 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")]
|
||||
#[prost(message, optional, tag = "1")]
|
||||
pub site: ::core::option::Option<crate::models::site::Site>,
|
||||
}
|
||||
}
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct ListSitesRequest {
|
||||
#[prost(message, optional, tag="1")]
|
||||
#[prost(message, optional, tag = "1")]
|
||||
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>,
|
||||
#[prost(message, optional, tag="3")]
|
||||
#[prost(message, optional, tag = "3")]
|
||||
pub search: ::core::option::Option<list_sites_request::Search>,
|
||||
}
|
||||
/// 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")]
|
||||
#[prost(string, optional, tag = "1")]
|
||||
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>,
|
||||
#[prost(string, optional, tag="3")]
|
||||
#[prost(string, optional, tag = "3")]
|
||||
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>,
|
||||
#[prost(bool, optional, tag="5")]
|
||||
#[prost(bool, optional, tag = "5")]
|
||||
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>,
|
||||
}
|
||||
}
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct ListSitesResponse {
|
||||
#[prost(message, optional, tag="1")]
|
||||
#[prost(message, optional, tag = "1")]
|
||||
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>,
|
||||
}
|
||||
/// 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")]
|
||||
#[prost(uint64, tag = "1")]
|
||||
pub total_count: u64,
|
||||
#[prost(message, repeated, tag = "2")]
|
||||
pub sites: ::prost::alloc::vec::Vec<crate::models::site::Site>,
|
||||
}
|
||||
}
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct GetSiteRequest {
|
||||
#[prost(string, tag="1")]
|
||||
#[prost(string, tag = "1")]
|
||||
pub id: ::prost::alloc::string::String,
|
||||
}
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct GetSiteResponse {
|
||||
#[prost(message, optional, tag="1")]
|
||||
#[prost(message, optional, tag = "1")]
|
||||
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>,
|
||||
}
|
||||
/// 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")]
|
||||
#[prost(message, optional, tag = "1")]
|
||||
pub site: ::core::option::Option<crate::models::site::Site>,
|
||||
}
|
||||
}
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct UpdateSiteRequest {
|
||||
#[prost(string, tag="1")]
|
||||
#[prost(string, tag = "1")]
|
||||
pub id: ::prost::alloc::string::String,
|
||||
#[prost(string, tag="2")]
|
||||
#[prost(string, tag = "2")]
|
||||
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>,
|
||||
#[prost(string, optional, tag="4")]
|
||||
#[prost(string, optional, tag = "4")]
|
||||
pub path: ::core::option::Option<::prost::alloc::string::String>,
|
||||
#[prost(bool, tag="5")]
|
||||
#[prost(bool, tag = "5")]
|
||||
pub show: bool,
|
||||
#[prost(bool, tag="6")]
|
||||
#[prost(bool, tag = "6")]
|
||||
pub can_use: bool,
|
||||
#[prost(string, optional, tag="7")]
|
||||
#[prost(string, optional, tag = "7")]
|
||||
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>,
|
||||
}
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct UpdateSiteResponse {
|
||||
#[prost(message, optional, tag="1")]
|
||||
#[prost(message, optional, tag = "1")]
|
||||
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>,
|
||||
}
|
||||
/// 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")]
|
||||
#[prost(message, optional, tag = "1")]
|
||||
pub site: ::core::option::Option<crate::models::site::Site>,
|
||||
}
|
||||
}
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct DeleteSiteRequest {
|
||||
#[prost(string, tag="1")]
|
||||
#[prost(string, tag = "1")]
|
||||
pub id: ::prost::alloc::string::String,
|
||||
}
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct DeleteSiteResponse {
|
||||
#[prost(message, optional, tag="1")]
|
||||
#[prost(message, optional, tag = "1")]
|
||||
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>,
|
||||
}
|
||||
/// Nested message and enum types in `DeleteSiteResponse`.
|
||||
pub mod delete_site_response {
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct Result {
|
||||
}
|
||||
pub struct Result {}
|
||||
}
|
||||
|
|
|
@ -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<super::super::member::MemberModel>,
|
||||
pub member: ::core::option::Option<crate::models::member::MemberModel>,
|
||||
}
|
||||
|
|
|
@ -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<crate::models::api::betting::BettingHistory>,
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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<crate::models::api::game::Game>,
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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<crate::models::api::vendor::Vendor>,
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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")]
|
||||
#[prost(message, optional, tag = "1")]
|
||||
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>,
|
||||
}
|
||||
/// Nested message and enum types in `CreateBankRequest`.
|
||||
pub mod create_bank_request {
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct Request {
|
||||
#[prost(string, tag="1")]
|
||||
#[prost(string, tag = "1")]
|
||||
pub name: ::prost::alloc::string::String,
|
||||
#[prost(uint32, tag="2")]
|
||||
#[prost(uint32, tag = "2")]
|
||||
pub sort_order: u32,
|
||||
#[prost(bool, tag="3")]
|
||||
#[prost(bool, tag = "3")]
|
||||
pub show: bool,
|
||||
#[prost(bool, tag="4")]
|
||||
#[prost(bool, tag = "4")]
|
||||
pub can_use: bool,
|
||||
#[prost(string, optional, tag="5")]
|
||||
#[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")]
|
||||
#[prost(message, optional, tag = "1")]
|
||||
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>,
|
||||
}
|
||||
/// 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")]
|
||||
#[prost(message, optional, tag = "1")]
|
||||
pub bank: ::core::option::Option<crate::models::bank::Bank>,
|
||||
}
|
||||
}
|
||||
/// subject = bet.beteran.ss.bank.ListBanks;
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct ListBanksRequest {
|
||||
#[prost(message, optional, tag="1")]
|
||||
#[prost(message, optional, tag = "1")]
|
||||
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>,
|
||||
}
|
||||
/// 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")]
|
||||
#[prost(message, optional, tag = "1")]
|
||||
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>,
|
||||
#[prost(message, optional, tag="3")]
|
||||
#[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)]
|
||||
pub struct Search {
|
||||
#[prost(string, optional, tag="1")]
|
||||
#[prost(string, optional, tag = "1")]
|
||||
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>,
|
||||
#[prost(bool, optional, tag="3")]
|
||||
#[prost(bool, optional, tag = "3")]
|
||||
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>,
|
||||
}
|
||||
}
|
||||
}
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct ListBanksResponse {
|
||||
#[prost(message, optional, tag="1")]
|
||||
#[prost(message, optional, tag = "1")]
|
||||
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>,
|
||||
}
|
||||
/// 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")]
|
||||
#[prost(uint64, tag = "1")]
|
||||
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
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct GetBankRequest {
|
||||
#[prost(message, optional, tag="1")]
|
||||
#[prost(message, optional, tag = "1")]
|
||||
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>,
|
||||
}
|
||||
/// Nested message and enum types in `GetBankRequest`.
|
||||
pub mod get_bank_request {
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct Request {
|
||||
#[prost(string, tag="1")]
|
||||
#[prost(string, tag = "1")]
|
||||
pub id: ::prost::alloc::string::String,
|
||||
}
|
||||
}
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct GetBankResponse {
|
||||
#[prost(message, optional, tag="1")]
|
||||
#[prost(message, optional, tag = "1")]
|
||||
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>,
|
||||
}
|
||||
/// 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")]
|
||||
#[prost(message, optional, tag = "1")]
|
||||
pub bank: ::core::option::Option<crate::models::bank::Bank>,
|
||||
}
|
||||
}
|
||||
/// subject = bet.beteran.ss.bank.UpdateBank
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct UpdateBankRequest {
|
||||
#[prost(message, optional, tag="1")]
|
||||
#[prost(message, optional, tag = "1")]
|
||||
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>,
|
||||
}
|
||||
/// Nested message and enum types in `UpdateBankRequest`.
|
||||
pub mod update_bank_request {
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct Request {
|
||||
#[prost(string, tag="1")]
|
||||
#[prost(string, tag = "1")]
|
||||
pub id: ::prost::alloc::string::String,
|
||||
#[prost(string, tag="2")]
|
||||
#[prost(string, tag = "2")]
|
||||
pub name: ::prost::alloc::string::String,
|
||||
#[prost(uint32, tag="3")]
|
||||
#[prost(uint32, tag = "3")]
|
||||
pub sort_order: u32,
|
||||
#[prost(bool, tag="4")]
|
||||
#[prost(bool, tag = "4")]
|
||||
pub show: bool,
|
||||
#[prost(bool, tag="5")]
|
||||
#[prost(bool, tag = "5")]
|
||||
pub can_use: bool,
|
||||
#[prost(string, optional, tag="6")]
|
||||
#[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")]
|
||||
#[prost(message, optional, tag = "1")]
|
||||
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>,
|
||||
}
|
||||
/// 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")]
|
||||
#[prost(message, optional, tag = "1")]
|
||||
pub bank: ::core::option::Option<crate::models::bank::Bank>,
|
||||
}
|
||||
}
|
||||
/// subject = bet.beteran.ss.bank.DeleteBank
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct DeleteBankRequest {
|
||||
#[prost(message, optional, tag="1")]
|
||||
#[prost(message, optional, tag = "1")]
|
||||
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>,
|
||||
}
|
||||
/// Nested message and enum types in `DeleteBankRequest`.
|
||||
pub mod delete_bank_request {
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct Request {
|
||||
#[prost(string, tag="1")]
|
||||
#[prost(string, tag = "1")]
|
||||
pub id: ::prost::alloc::string::String,
|
||||
}
|
||||
}
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct DeleteBankResponse {
|
||||
#[prost(message, optional, tag="1")]
|
||||
#[prost(message, optional, tag = "1")]
|
||||
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>,
|
||||
}
|
||||
/// Nested message and enum types in `DeleteBankResponse`.
|
||||
pub mod delete_bank_response {
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct Result {
|
||||
}
|
||||
pub struct Result {}
|
||||
}
|
||||
|
|
|
@ -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<crate::models::member::Member>,
|
||||
}
|
||||
}
|
||||
|
||||
/// subject = bet.beteran.ss_event.identity.AfterSignout
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct AfterSignoutEvent {
|
||||
|
|
|
@ -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<crate::models::member::MemberModel>,
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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<crate::models::member_bank_account::MemberBankAccount>,
|
||||
}
|
||||
|
|
|
@ -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<crate::models::member_bank_deposit::MemberBankDepositModel>,
|
||||
}
|
||||
|
|
|
@ -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<crate::models::member_bank_withdraw::MemberBankWithdrawModel>,
|
||||
}
|
||||
|
|
|
@ -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<crate::models::member_class::MemberClass>,
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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<crate::models::member_game_setting::MemberGameSetting>,
|
||||
}
|
||||
|
|
|
@ -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<crate::models::member_level::MemberLevel>,
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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<crate::models::member_referrer::MemberReferrerModel>,
|
||||
}
|
||||
|
|
|
@ -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<crate::models::member_settlement_setting::MemberSettlementSetting>,
|
||||
}
|
||||
|
|
106
src/ss/site.rs
106
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")]
|
||||
#[prost(message, optional, tag = "1")]
|
||||
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>,
|
||||
}
|
||||
/// Nested message and enum types in `CreateSiteRequest`.
|
||||
pub mod create_site_request {
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct Request {
|
||||
#[prost(string, tag="1")]
|
||||
#[prost(string, tag = "1")]
|
||||
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>,
|
||||
#[prost(string, optional, tag="3")]
|
||||
#[prost(string, optional, tag = "3")]
|
||||
pub path: ::core::option::Option<::prost::alloc::string::String>,
|
||||
#[prost(bool, tag="4")]
|
||||
#[prost(bool, tag = "4")]
|
||||
pub show: bool,
|
||||
#[prost(bool, tag="5")]
|
||||
#[prost(bool, tag = "5")]
|
||||
pub can_use: bool,
|
||||
#[prost(string, optional, tag="6")]
|
||||
#[prost(string, optional, tag = "6")]
|
||||
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>,
|
||||
}
|
||||
}
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct CreateSiteResponse {
|
||||
#[prost(message, optional, tag="1")]
|
||||
#[prost(message, optional, tag = "1")]
|
||||
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>,
|
||||
}
|
||||
/// 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")]
|
||||
#[prost(message, optional, tag = "1")]
|
||||
pub site: ::core::option::Option<crate::models::site::Site>,
|
||||
}
|
||||
}
|
||||
/// subject = bet.beteran.ss.site.ListSites;
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct ListSitesRequest {
|
||||
#[prost(message, optional, tag="1")]
|
||||
#[prost(message, optional, tag = "1")]
|
||||
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>,
|
||||
}
|
||||
/// 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")]
|
||||
#[prost(message, optional, tag = "1")]
|
||||
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>,
|
||||
#[prost(message, optional, tag="3")]
|
||||
#[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)]
|
||||
pub struct Search {
|
||||
#[prost(string, optional, tag="1")]
|
||||
#[prost(string, optional, tag = "1")]
|
||||
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>,
|
||||
#[prost(string, optional, tag="3")]
|
||||
#[prost(string, optional, tag = "3")]
|
||||
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>,
|
||||
#[prost(bool, optional, tag="5")]
|
||||
#[prost(bool, optional, tag = "5")]
|
||||
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>,
|
||||
}
|
||||
}
|
||||
}
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct ListSitesResponse {
|
||||
#[prost(message, optional, tag="1")]
|
||||
#[prost(message, optional, tag = "1")]
|
||||
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>,
|
||||
}
|
||||
/// 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")]
|
||||
#[prost(uint64, tag = "1")]
|
||||
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
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct GetSiteRequest {
|
||||
#[prost(message, optional, tag="1")]
|
||||
#[prost(message, optional, tag = "1")]
|
||||
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>,
|
||||
}
|
||||
/// Nested message and enum types in `GetSiteRequest`.
|
||||
pub mod get_site_request {
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct Request {
|
||||
#[prost(string, tag="1")]
|
||||
#[prost(string, tag = "1")]
|
||||
pub id: ::prost::alloc::string::String,
|
||||
}
|
||||
}
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct GetSiteResponse {
|
||||
#[prost(message, optional, tag="1")]
|
||||
#[prost(message, optional, tag = "1")]
|
||||
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>,
|
||||
}
|
||||
/// 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")]
|
||||
#[prost(message, optional, tag = "1")]
|
||||
pub site: ::core::option::Option<crate::models::site::Site>,
|
||||
}
|
||||
}
|
||||
/// subject = bet.beteran.ss.site.UpdateSite
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct UpdateSiteRequest {
|
||||
#[prost(message, optional, tag="1")]
|
||||
#[prost(message, optional, tag = "1")]
|
||||
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>,
|
||||
}
|
||||
/// Nested message and enum types in `UpdateSiteRequest`.
|
||||
pub mod update_site_request {
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct Request {
|
||||
#[prost(string, tag="1")]
|
||||
#[prost(string, tag = "1")]
|
||||
pub id: ::prost::alloc::string::String,
|
||||
#[prost(string, tag="2")]
|
||||
#[prost(string, tag = "2")]
|
||||
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>,
|
||||
#[prost(string, optional, tag="4")]
|
||||
#[prost(string, optional, tag = "4")]
|
||||
pub path: ::core::option::Option<::prost::alloc::string::String>,
|
||||
#[prost(bool, tag="5")]
|
||||
#[prost(bool, tag = "5")]
|
||||
pub show: bool,
|
||||
#[prost(bool, tag="6")]
|
||||
#[prost(bool, tag = "6")]
|
||||
pub can_use: bool,
|
||||
#[prost(string, optional, tag="7")]
|
||||
#[prost(string, optional, tag = "7")]
|
||||
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>,
|
||||
}
|
||||
}
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct UpdateSiteResponse {
|
||||
#[prost(message, optional, tag="1")]
|
||||
#[prost(message, optional, tag = "1")]
|
||||
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>,
|
||||
}
|
||||
/// 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")]
|
||||
#[prost(message, optional, tag = "1")]
|
||||
pub site: ::core::option::Option<crate::models::site::Site>,
|
||||
}
|
||||
}
|
||||
/// subject = bet.beteran.ss.site.DeleteSite
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct DeleteSiteRequest {
|
||||
#[prost(message, optional, tag="1")]
|
||||
#[prost(message, optional, tag = "1")]
|
||||
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>,
|
||||
}
|
||||
/// Nested message and enum types in `DeleteSiteRequest`.
|
||||
pub mod delete_site_request {
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct Request {
|
||||
#[prost(string, tag="1")]
|
||||
#[prost(string, tag = "1")]
|
||||
pub id: ::prost::alloc::string::String,
|
||||
}
|
||||
}
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct DeleteSiteResponse {
|
||||
#[prost(message, optional, tag="1")]
|
||||
#[prost(message, optional, tag = "1")]
|
||||
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>,
|
||||
}
|
||||
/// Nested message and enum types in `DeleteSiteResponse`.
|
||||
pub mod delete_site_response {
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct Result {
|
||||
}
|
||||
pub struct Result {}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user