diff --git a/src/ss/member_bank_deposit.rs b/src/ss/member_bank_deposit.rs index 383e926..ffd83bd 100644 --- a/src/ss/member_bank_deposit.rs +++ b/src/ss/member_bank_deposit.rs @@ -1,4 +1,5 @@ const SUBJECT: &str = "bet.beteran.ss.member_bank_deposit"; +const EVENT_SUBJECT: &str = "bet.beteran.ss_event.member_bank_deposit"; pub const SUBJECT_CREATE_MEMBER_BANK_DEPOSIT: &str = const_format::concatcp!(SUBJECT, ".CreateMemberBankDeposit"); @@ -13,6 +14,9 @@ pub const SUBJECT_UPDATE_MEMBER_BANK_DEPOSIT_FOR_STATE: &str = pub const SUBJECT_DELETE_MEMBER_BANK_DEPOSIT: &str = const_format::concatcp!(SUBJECT, ".DeleteMemberBankDeposit"); +pub const EVENT_SUBJECT_AFTER_UPDATE_MEMBER_BANK_DEPOSIT_FOR_STATE: &str = + const_format::concatcp!(EVENT_SUBJECT, ".AfterUpdateMemberBankDepositForState"); + /// subject = bet.beteran.ss.member_bank_deposit.CreateMemberBankDeposit #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateMemberBankDepositRequest { @@ -242,3 +246,21 @@ pub mod delete_member_bank_deposit_response { #[derive(Clone, PartialEq, ::prost::Message)] pub struct Result {} } + +/// subject = bet.beteran.ss_event.member_bank_deposit.AfterUpdateMemberBankDepositForState +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct AfterUpdateMemberBankDepositForState { + #[prost(message, optional, tag = "1")] + pub client: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub event: ::core::option::Option, +} +/// Nested message and enum types in `AfterUpdateMemberBankDepositForState`. +pub mod after_update_member_bank_deposit_for_state { + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Event { + #[prost(message, optional, tag = "1")] + pub member_bank_deposit: + ::core::option::Option, + } +} diff --git a/src/ss/member_bank_withdraw.rs b/src/ss/member_bank_withdraw.rs index 925545f..1362335 100644 --- a/src/ss/member_bank_withdraw.rs +++ b/src/ss/member_bank_withdraw.rs @@ -1,4 +1,5 @@ const SUBJECT: &str = "bet.beteran.ss.member_bank_withdraw"; +const EVENT_SUBJECT: &str = "bet.beteran.ss_event.member_bank_withdraw"; pub const SUBJECT_CREATE_MEMBER_BANK_WITHDRAW: &str = const_format::concatcp!(SUBJECT, ".CreateMemberBankWithdraw"); @@ -13,6 +14,9 @@ pub const SUBJECT_UPDATE_MEMBER_BANK_WITHDRAW_FOR_STATE: &str = pub const SUBJECT_DELETE_MEMBER_BANK_WITHDRAW: &str = const_format::concatcp!(SUBJECT, ".DeleteMemberBankWithdraw"); +pub const EVENT_SUBJECT_AFTER_UPDATE_MEMBER_BANK_WITHDRAW_FOR_STATE: &str = + const_format::concatcp!(EVENT_SUBJECT, ".AfterUpdateMemberBankWithdrawForState"); + /// subject = bet.beteran.ss.member_bank_withdraw.CreateMemberBankWithdraw #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateMemberBankWithdrawRequest { @@ -258,3 +262,21 @@ pub mod delete_member_bank_withdraw_response { #[derive(Clone, PartialEq, ::prost::Message)] pub struct Result {} } + +/// subject = bet.beteran.ss_event.member_bank_withdraw.AfterUpdateMemberBankWithdrawForState +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct AfterUpdateMemberBankWithdrawForState { + #[prost(message, optional, tag = "1")] + pub client: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub event: ::core::option::Option, +} +/// Nested message and enum types in `AfterUpdateMemberBankWithdrawForState`. +pub mod after_update_member_bank_withdraw_for_state { + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Event { + #[prost(message, optional, tag = "1")] + pub member_bank_withdraw: + ::core::option::Option, + } +}