|
1 | | -using BotSharp.Abstraction.Agents.Enums; |
2 | 1 | using BotSharp.Abstraction.Agents.Models; |
3 | 2 | using BotSharp.Abstraction.Repositories; |
4 | 3 | using BotSharp.Abstraction.Routing.Models; |
@@ -72,89 +71,99 @@ public int Transaction<TTableInterface>(Action action) |
72 | 71 | } |
73 | 72 |
|
74 | 73 |
|
75 | | - |
76 | | - public void CreateNewConversation(Conversation conversation) |
| 74 | + #region Agent |
| 75 | + public Agent GetAgent(string agentId) |
77 | 76 | { |
78 | 77 | throw new NotImplementedException(); |
79 | 78 | } |
80 | 79 |
|
81 | | - public List<RoutingItem> CreateRoutingItems(List<RoutingItem> routingItems) |
| 80 | + public void UpdateAgent(Agent agent, AgentField field) |
82 | 81 | { |
83 | 82 | throw new NotImplementedException(); |
84 | 83 | } |
85 | 84 |
|
86 | | - public List<RoutingProfile> CreateRoutingProfiles(List<RoutingProfile> profiles) |
| 85 | + public string GetAgentTemplate(string agentId, string templateName) |
87 | 86 | { |
88 | 87 | throw new NotImplementedException(); |
89 | 88 | } |
90 | 89 |
|
91 | | - public void CreateUser(User user) |
| 90 | + public List<string> GetAgentResponses(string agentId, string prefix, string intent) |
92 | 91 | { |
93 | 92 | throw new NotImplementedException(); |
94 | 93 | } |
| 94 | + #endregion |
95 | 95 |
|
96 | | - public void DeleteRoutingItems() |
| 96 | + |
| 97 | + #region Conversation |
| 98 | + public void CreateNewConversation(Conversation conversation) |
97 | 99 | { |
98 | 100 | throw new NotImplementedException(); |
99 | 101 | } |
100 | 102 |
|
101 | | - public void DeleteRoutingProfiles() |
| 103 | + public Conversation GetConversation(string conversationId) |
102 | 104 | { |
103 | 105 | throw new NotImplementedException(); |
104 | 106 | } |
105 | 107 |
|
106 | | - public Agent GetAgent(string agentId) |
| 108 | + public List<Conversation> GetConversations(string userId) |
107 | 109 | { |
108 | 110 | throw new NotImplementedException(); |
109 | 111 | } |
110 | 112 |
|
111 | | - public List<string> GetAgentResponses(string agentId, string prefix, string intent) |
| 113 | + public string GetConversationDialog(string conversationId) |
112 | 114 | { |
113 | 115 | throw new NotImplementedException(); |
114 | 116 | } |
115 | 117 |
|
116 | | - public Conversation GetConversation(string conversationId) |
| 118 | + public List<StateKeyValue> GetConversationStates(string conversationId) |
117 | 119 | { |
118 | 120 | throw new NotImplementedException(); |
119 | 121 | } |
120 | 122 |
|
121 | | - public string GetConversationDialog(string conversationId) |
| 123 | + public void UpdateConversationDialog(string conversationId, string dialogs) |
122 | 124 | { |
123 | 125 | throw new NotImplementedException(); |
124 | 126 | } |
125 | 127 |
|
126 | | - public List<Conversation> GetConversations(string userId) |
| 128 | + public void UpdateConversationStates(string conversationId, List<StateKeyValue> states) |
127 | 129 | { |
128 | 130 | throw new NotImplementedException(); |
129 | 131 | } |
| 132 | + #endregion |
130 | 133 |
|
131 | | - public List<StateKeyValue> GetConversationStates(string conversationId) |
| 134 | + |
| 135 | + #region User |
| 136 | + public User GetUserByEmail(string email) |
132 | 137 | { |
133 | 138 | throw new NotImplementedException(); |
134 | 139 | } |
135 | 140 |
|
136 | | - public User GetUserByEmail(string email) |
| 141 | + public void CreateUser(User user) |
137 | 142 | { |
138 | 143 | throw new NotImplementedException(); |
139 | 144 | } |
| 145 | + #endregion |
140 | 146 |
|
141 | | - public void UpdateAgent(Agent agent, AgentField field) |
| 147 | + |
| 148 | + #region Routing |
| 149 | + public List<RoutingItem> CreateRoutingItems(List<RoutingItem> routingItems) |
142 | 150 | { |
143 | 151 | throw new NotImplementedException(); |
144 | 152 | } |
145 | 153 |
|
146 | | - public void UpdateConversationDialog(string conversationId, string dialogs) |
| 154 | + public List<RoutingProfile> CreateRoutingProfiles(List<RoutingProfile> profiles) |
147 | 155 | { |
148 | 156 | throw new NotImplementedException(); |
149 | 157 | } |
150 | 158 |
|
151 | | - public void UpdateConversationStates(string conversationId, List<StateKeyValue> states) |
| 159 | + public void DeleteRoutingItems() |
152 | 160 | { |
153 | 161 | throw new NotImplementedException(); |
154 | 162 | } |
155 | 163 |
|
156 | | - public string GetAgentTemplate(string agentId, string templateName) |
| 164 | + public void DeleteRoutingProfiles() |
157 | 165 | { |
158 | 166 | throw new NotImplementedException(); |
159 | 167 | } |
| 168 | + #endregion |
160 | 169 | } |
0 commit comments