diff --git a/src/ss/identity.rs b/src/ss/identity.rs index 1dc515c..8908628 100644 --- a/src/ss/identity.rs +++ b/src/ss/identity.rs @@ -9,6 +9,8 @@ pub const SUBJECT_CAPTCHA: &str = const_format::concatcp!(SUBJECT, ".Captcha"); pub const SUBJECT_SIGNIN: &str = const_format::concatcp!(SUBJECT, ".Signin"); pub const EVENT_SUBJECT_AFTER_SIGNIN: &str = const_format::concatcp!(EVENT_SUBJECT, ".AfterSignin"); +pub const EVENT_SUBJECT_AFTER_SIGNOUT: &str = + const_format::concatcp!(EVENT_SUBJECT, ".AfterSignout"); /// subject = bet.beteran.ss.identity.CheckUsernameForDuplication; #[derive(Clone, PartialEq, ::prost::Message)] @@ -155,3 +157,20 @@ pub mod after_signin_event { pub member: ::core::option::Option, } } + +/// subject = bet.beteran.ss_event.identity.AfterSignout +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct AfterSignoutEvent { + #[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 `AfterSignoutEvent`. +pub mod after_signout_event { + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Event { + #[prost(message, optional, tag = "1")] + pub member: ::core::option::Option, + } +} diff --git a/src/ss/member.rs b/src/ss/member.rs index 742b841..dd95ea1 100644 --- a/src/ss/member.rs +++ b/src/ss/member.rs @@ -316,3 +316,52 @@ pub mod delete_member_response { #[derive(Clone, PartialEq, ::prost::Message)] pub struct Result {} } + +/// subject = bet.beteran.ss_event.member.AfterCreateMember +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct AfterCreateMemberEvent { + #[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 `AfterCreateMemberEvent`. +pub mod after_create_member_event { + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Event { + #[prost(message, optional, tag = "1")] + pub member: ::core::option::Option, + } +} +/// subject = bet.beteran.ss_event.member.AfterUpdateMember +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct AfterUpdateMemberEvent { + #[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 `AfterUpdateMemberEvent`. +pub mod after_update_member_event { + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Event { + #[prost(message, optional, tag = "1")] + pub member: ::core::option::Option, + } +} +/// subject = bet.beteran.ss_event.member.AfterDeleteMember +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct AfterDeleteMemberEvent { + #[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 `AfterDeleteMemberEvent`. +pub mod after_delete_member_event { + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Event { + #[prost(message, optional, tag = "1")] + pub member: ::core::option::Option, + } +}