@@ -39,32 +39,32 @@ bool UpdateRole(Role role, bool updateRoleAgents = false)
3939 #endregion
4040
4141 #region User
42- User ? GetUserByEmail ( string email ) => throw new NotImplementedException ( ) ;
43- User ? GetUserByPhone ( string phone , string type = UserType . Client , string regionCode = "CN" ) => throw new NotImplementedException ( ) ;
44- User ? GetUserByPhoneV2 ( string phone , string source = UserType . Internal , string regionCode = "CN" ) => throw new NotImplementedException ( ) ;
45- User ? GetAffiliateUserByPhone ( string phone ) => throw new NotImplementedException ( ) ;
46- User ? GetUserById ( string id ) => throw new NotImplementedException ( ) ;
47- List < User > GetUserByIds ( List < string > ids ) => throw new NotImplementedException ( ) ;
48- List < User > GetUsersByAffiliateId ( string affiliateId ) => throw new NotImplementedException ( ) ;
49- User ? GetUserByUserName ( string userName ) => throw new NotImplementedException ( ) ;
50- void UpdateUserName ( string userId , string userName ) => throw new NotImplementedException ( ) ;
51- Dashboard ? GetDashboard ( string id = null ) => throw new NotImplementedException ( ) ;
52- void CreateUser ( User user ) => throw new NotImplementedException ( ) ;
53- void UpdateExistUser ( string userId , User user ) => throw new NotImplementedException ( ) ;
54- void UpdateUserVerified ( string userId ) => throw new NotImplementedException ( ) ;
55- void AddDashboardConversation ( string userId , string conversationId ) => throw new NotImplementedException ( ) ;
56- void RemoveDashboardConversation ( string userId , string conversationId ) => throw new NotImplementedException ( ) ;
57- void UpdateDashboardConversation ( string userId , DashboardConversation dashConv ) => throw new NotImplementedException ( ) ;
58- void UpdateUserVerificationCode ( string userId , string verficationCode ) => throw new NotImplementedException ( ) ;
59- void UpdateUserPassword ( string userId , string password ) => throw new NotImplementedException ( ) ;
60- void UpdateUserEmail ( string userId , string email ) => throw new NotImplementedException ( ) ;
61- void UpdateUserPhone ( string userId , string Iphone , string regionCode ) => throw new NotImplementedException ( ) ;
62- void UpdateUserIsDisable ( string userId , bool isDisable ) => throw new NotImplementedException ( ) ;
63- void UpdateUsersIsDisable ( List < string > userIds , bool isDisable ) => throw new NotImplementedException ( ) ;
42+ Task < User ? > GetUserByEmail ( string email ) => throw new NotImplementedException ( ) ;
43+ Task < User ? > GetUserByPhone ( string phone , string type = UserType . Client , string regionCode = "CN" ) => throw new NotImplementedException ( ) ;
44+ Task < User ? > GetUserByPhoneV2 ( string phone , string source = UserType . Internal , string regionCode = "CN" ) => throw new NotImplementedException ( ) ;
45+ Task < User ? > GetAffiliateUserByPhone ( string phone ) => throw new NotImplementedException ( ) ;
46+ Task < User ? > GetUserById ( string id ) => throw new NotImplementedException ( ) ;
47+ Task < List < User > > GetUserByIds ( List < string > ids ) => throw new NotImplementedException ( ) ;
48+ Task < List < User > > GetUsersByAffiliateId ( string affiliateId ) => throw new NotImplementedException ( ) ;
49+ Task < User ? > GetUserByUserName ( string userName ) => throw new NotImplementedException ( ) ;
50+ Task UpdateUserName ( string userId , string userName ) => throw new NotImplementedException ( ) ;
51+ Task < Dashboard ? > GetDashboard ( string id = null ) => throw new NotImplementedException ( ) ;
52+ Task CreateUser ( User user ) => throw new NotImplementedException ( ) ;
53+ Task UpdateExistUser ( string userId , User user ) => throw new NotImplementedException ( ) ;
54+ Task UpdateUserVerified ( string userId ) => throw new NotImplementedException ( ) ;
55+ Task AddDashboardConversation ( string userId , string conversationId ) => throw new NotImplementedException ( ) ;
56+ Task RemoveDashboardConversation ( string userId , string conversationId ) => throw new NotImplementedException ( ) ;
57+ Task UpdateDashboardConversation ( string userId , DashboardConversation dashConv ) => throw new NotImplementedException ( ) ;
58+ Task UpdateUserVerificationCode ( string userId , string verficationCode ) => throw new NotImplementedException ( ) ;
59+ Task UpdateUserPassword ( string userId , string password ) => throw new NotImplementedException ( ) ;
60+ Task UpdateUserEmail ( string userId , string email ) => throw new NotImplementedException ( ) ;
61+ Task UpdateUserPhone ( string userId , string Iphone , string regionCode ) => throw new NotImplementedException ( ) ;
62+ Task UpdateUserIsDisable ( string userId , bool isDisable ) => throw new NotImplementedException ( ) ;
63+ Task UpdateUsersIsDisable ( List < string > userIds , bool isDisable ) => throw new NotImplementedException ( ) ;
6464 ValueTask < PagedItems < User > > GetUsers ( UserFilter filter ) => throw new NotImplementedException ( ) ;
65- List < User > SearchLoginUsers ( User filter , string source = UserSource . Internal ) => throw new NotImplementedException ( ) ;
66- User ? GetUserDetails ( string userId , bool includeAgent = false ) => throw new NotImplementedException ( ) ;
67- bool UpdateUser ( User user , bool updateUserAgents = false ) => throw new NotImplementedException ( ) ;
65+ Task < List < User > > SearchLoginUsers ( User filter , string source = UserSource . Internal ) => throw new NotImplementedException ( ) ;
66+ Task < User ? > GetUserDetails ( string userId , bool includeAgent = false ) => throw new NotImplementedException ( ) ;
67+ Task < bool > UpdateUser ( User user , bool updateUserAgents = false ) => throw new NotImplementedException ( ) ;
6868 #endregion
6969
7070 #region Agent
@@ -193,13 +193,13 @@ DateTimePagination<ConversationStateLogModel> GetConversationStateLogs(string co
193193 #endregion
194194
195195 #region Instruction Log
196- bool SaveInstructionLogs ( IEnumerable < InstructionLogModel > logs )
196+ Task < bool > SaveInstructionLogs ( IEnumerable < InstructionLogModel > logs )
197197 => throw new NotImplementedException ( ) ;
198198
199199 ValueTask < PagedItems < InstructionLogModel > > GetInstructionLogs ( InstructLogFilter filter )
200200 => throw new NotImplementedException ( ) ;
201201
202- List < string > GetInstructionLogSearchKeys ( InstructLogKeysFilter filter )
202+ Task < List < string > > GetInstructionLogSearchKeys ( InstructLogKeysFilter filter )
203203 => throw new NotImplementedException ( ) ;
204204
205205 Task < bool > UpdateInstructionLogStates ( UpdateInstructionLogStatesModel updateInstructionStates )
0 commit comments