PluginProbe
Fluent Support – Helpdesk & Customer Support Ticket System / 2.4.5
Fluent Support – Helpdesk & Customer Support Ticket System v2.4.5
2.4.5 2.4.0 2.3.2 2.3.1 2.3.0 2.2.1 2.2.0 trunk 1.10.0 1.10.1 1.10.2 1.10.3 1.10.4 1.10.5 1.4.0 1.4.1 1.4.2 1.4.5 1.4.6 1.4.7 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 All 69 releases
← All changes | app/Http/Routes/api.php +3 -30 2.3.2 → 2.4.5 View file →
@@ -72,9 +72,9 @@
72 72 $router->get('/{ticket_id}/fluent-booking/availability', 'TicketController@getFluentBookingAvailability')->int('ticket_id');
73 73 $router->post('/{ticket_id}/fluent-booking/booking-link', 'TicketController@createFluentBookingLink')->int('ticket_id');
74 74 $router->get('/{ticket_id}/fluent-booking/meetings', 'TicketController@getFluentBookingMeetings')->int('ticket_id');
75 75
76 - $router->post('bulk-actions', 'TicketController@doBulkActions'); // close_tickets | delete_tickets | assign_agent | assign_tags
76 + $router->post('bulk-actions', 'TicketController@doBulkActions'); // close_tickets, delete_tickets, reopen_tickets, assign_agent, assign_agent_group, assign_tags, remove_tags, change_priority, change_product
77 77 $router->post('bulk-reply', 'TicketController@doBulkReplies');
78 78
79 79 $router->post('sync-fluentcrm-tags', 'TicketController@syncFluentCrmTags');
80 80 $router->post('sync-fluentcrm-lists', 'TicketController@syncFluentCrmLists');
@@ -170,15 +170,8 @@
170 170 $router->delete('/{group_id}', 'AgentGroupController@delete')->int('group_id');
171 171 });
172 172
173 173 $router->prefix('reports')->withPolicy('ReportPolicy')->group(function ($router) {
174 - $router->get('/', 'ReportingController@getOverallReports');
175 - $router->get('/tickets-growth', 'ReportingController@getTicketsChart');
176 - $router->get('/tickets-resolve-growth', 'ReportingController@getResolveChart');
177 - $router->get('/response-growth', 'ReportingController@getResponseChart');
178 - $router->get('/agents-summary', 'ReportingController@getAgentsSummary');
179 - $router->get('/day-time-stats', 'ReportingController@dayTimeStats');
180 - $router->get('/ticket-response-stats', 'ReportingController@ticketResponseStats');
181 174 $router->get('/stats', 'ReportingController@getStats');
182 175 });
183 176
184 177 $router->prefix('my-reports')->withPolicy('AgentTicketPolicy')->group(function ($router) {
@@ -187,30 +180,9 @@
187 180 $router->get('/response-growth', 'ReportingController@getAgentResponseChart');
188 181 $router->get('/my-summary', 'ReportingController@getPersonalSummary');
189 182 });
190 183
191 -$router->prefix('product-reports')->withPolicy('AdminSensitivePolicy')->group(function ($router) {
192 - $router->get('/tickets-growth', 'ReportingController@getTicketsChart');
193 - $router->get('/tickets-resolve-growth', 'ReportingController@getResolveChart');
194 - $router->get('/response-growth', 'ReportingController@getResponseGrowthChart');
195 - $router->get('/product-reports-summary', 'ReportingController@getProductsSummary');
196 -});
197 -
198 -$router->prefix('mailbox-reports')->withPolicy('AdminSensitivePolicy')->group(function ($router) {
199 - $router->get('/tickets-growth', 'ReportingController@getTicketsChart');
200 - $router->get('/tickets-resolve-growth', 'ReportingController@getResolveChart');
201 - $router->get('/response-growth', 'ReportingController@getResponseGrowthChart');
202 - $router->get('/mailbox-reports-summary', 'ReportingController@getMailBoxesSummary');
203 -});
204 -
205 -$router->prefix('agent-group-reports')->withPolicy('AdminSensitivePolicy')->group(function ($router) {
206 - $router->get('/tickets-growth', 'ReportingController@getTicketsChart');
207 - $router->get('/tickets-resolve-growth', 'ReportingController@getResolveChart');
208 - $router->get('/response-growth', 'ReportingController@getResponseChart');
209 - $router->get('/agent-groups-summary', 'ReportingController@getAgentGroupsSummary');
210 -});
211 -
212 -$router->prefix('customers')->withPolicy('AdminSensitivePolicy')->group(function ($router) {
184 +$router->prefix('customers')->withPolicy('CustomerPolicy')->group(function ($router) {
213 185 $router->get('/', 'CustomerController@index');
214 186 $router->post('/', 'CustomerController@create');
215 187 $router->get('/customerField/{customer_id}', 'CustomerController@customerField')->int('customer_id');
216 188
@@ -266,8 +238,9 @@
266 238 $router->get('/{id}/chat-id', 'FluentBotController@getChatId')->int('id');
267 239 $router->post('/{id}/chat-id', 'FluentBotController@saveChatId')->int('id');
268 240 $router->delete('/{id}/chat-id', 'FluentBotController@deleteChatId')->int('id');
269 241 $router->get('/{id}/chat-messages', 'FluentBotController@getChatMessages')->int('id');
242 + $router->get('/{id}/chat-stream', 'FluentBotController@resumeChatStream')->int('id');
270 243 $router->get('/{id}/conversations', 'FluentBotController@getConversations')->int('id');
271 244 $router->post('/{id}/conversations/switch', 'FluentBotController@switchConversation')->int('id');
272 245 $router->get('/{id}/context-selection', 'FluentBotController@getContextSelection')->int('id');
273 246 $router->post('/{id}/context-selection', 'FluentBotController@saveContextSelection')->int('id');