Built motion from commit (unavailable).|2.5.4
[motion2.git] / server / api / rpc / index.js
index f66011e..f825668 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa923=['whatsappQueuesWaitingInteractions','faxQueuesWaitingInteractions','post','queueNotify','mail','/chat/queues/:id/notify','chat','showChatQueues','/fax/queues/:id/notify','showFaxQueues','openchannel','/openchannel/queues/:id','showOpenchannelQueues','/sms/queues/:id/notify','sms','/whatsapp/queues/:id/notify','whatsapp','/sms/queues/:id','showSmsQueues','/whatsapp/queues/:id','showWhatsappQueues','/agents/:id/notify','agentNotify','exports','multer','util','path','../../components/auth/service','./rpc.controller','get','/voice/channels','isAuthenticated','voiceChannels','voiceChannelStopMixMonitor','voiceQueues','chatQueues','/mail/accounts','openchannelQueues','/sms/queues','smsQueues','whatsappQueues','/fax/queues','/voice/queues/preview/:id','voiceQueuesPreview','/voice/queues/channels','voiceQueuesChannels','voiceQueuesChannelHangup','/voice/queues/channels/:uniqueid/redirect/:exten','showVoiceQueues','outbound','/outbound/channels','outboundChannels','/agents','agents','put','/agents/:id/capacity','agentCapacity','/telephones','telephones','campaigns','/chat/queues/waitinginteractions','chatQueuesWaitingInteractions','/mail/queues/waitinginteractions','mailQueuesWaitingInteractions','/openchannel/queues/waitinginteractions','/whatsapp/queues/waitinginteractions'];(function(_0x17c432,_0x27878b){var _0x13e609=function(_0x5d5a8c){while(--_0x5d5a8c){_0x17c432['push'](_0x17c432['shift']());}};_0x13e609(++_0x27878b);}(_0xa923,0x1e6));var _0x3a92=function(_0x5c6bd8,_0x237c8e){_0x5c6bd8=_0x5c6bd8-0x0;var _0x320f06=_0xa923[_0x5c6bd8];return _0x320f06;};'use strict';var multer=require(_0x3a92('0x0'));var util=require(_0x3a92('0x1'));var path=require(_0x3a92('0x2'));var express=require('express');var router=express['Router']();var auth=require(_0x3a92('0x3'));var controller=require(_0x3a92('0x4'));router[_0x3a92('0x5')](_0x3a92('0x6'),auth[_0x3a92('0x7')](),controller[_0x3a92('0x8')]);router[_0x3a92('0x5')]('/voice/channels/:uniqueid/mixmonitor',auth[_0x3a92('0x7')](),controller['voiceChannelMixMonitor']);router['get']('/voice/channels/:uniqueid/stopmixmonitor',auth[_0x3a92('0x7')](),controller[_0x3a92('0x9')]);router[_0x3a92('0x5')]('/voice/queues',auth[_0x3a92('0x7')](),controller[_0x3a92('0xa')]);router[_0x3a92('0x5')]('/chat/queues',auth[_0x3a92('0x7')](),controller[_0x3a92('0xb')]);router[_0x3a92('0x5')]('/mail/queues',auth[_0x3a92('0x7')](),controller['mailQueues']);router['get'](_0x3a92('0xc'),auth[_0x3a92('0x7')](),controller['mailAccounts']);router[_0x3a92('0x5')]('/openchannel/queues',auth[_0x3a92('0x7')](),controller[_0x3a92('0xd')]);router[_0x3a92('0x5')](_0x3a92('0xe'),auth['isAuthenticated'](),controller[_0x3a92('0xf')]);router[_0x3a92('0x5')]('/whatsapp/queues',auth[_0x3a92('0x7')](),controller[_0x3a92('0x10')]);router[_0x3a92('0x5')](_0x3a92('0x11'),auth[_0x3a92('0x7')](),controller['faxQueues']);router[_0x3a92('0x5')](_0x3a92('0x12'),auth[_0x3a92('0x7')](),controller[_0x3a92('0x13')]);router[_0x3a92('0x5')](_0x3a92('0x14'),auth[_0x3a92('0x7')](),controller[_0x3a92('0x15')]);router['get']('/voice/queues/channels/:uniqueid',auth[_0x3a92('0x7')](),controller['voiceQueuesChannel']);router[_0x3a92('0x5')]('/voice/queues/channels/:uniqueid/hangup',auth['isAuthenticated'](),controller[_0x3a92('0x16')]);router[_0x3a92('0x5')](_0x3a92('0x17'),auth[_0x3a92('0x7')](),controller['voiceQueuesChannelRedirect']);router[_0x3a92('0x5')]('/voice/queues/:id',auth[_0x3a92('0x7')](),controller[_0x3a92('0x18')]);router['get']('/outbound',auth['isAuthenticated'](),controller[_0x3a92('0x19')]);router[_0x3a92('0x5')](_0x3a92('0x1a'),auth[_0x3a92('0x7')](),controller[_0x3a92('0x1b')]);router[_0x3a92('0x5')](_0x3a92('0x1c'),auth[_0x3a92('0x7')](),controller[_0x3a92('0x1d')]);router[_0x3a92('0x1e')](_0x3a92('0x1f'),auth[_0x3a92('0x7')](),controller[_0x3a92('0x20')]);router[_0x3a92('0x5')](_0x3a92('0x21'),auth[_0x3a92('0x7')](),controller[_0x3a92('0x22')]);router[_0x3a92('0x5')]('/trunks',auth[_0x3a92('0x7')](),controller['trunks']);router[_0x3a92('0x5')]('/campaigns',auth[_0x3a92('0x7')](),controller[_0x3a92('0x23')]);router[_0x3a92('0x5')]('/fax/accounts',auth[_0x3a92('0x7')](),controller['faxAccounts']);router[_0x3a92('0x5')](_0x3a92('0x24'),auth[_0x3a92('0x7')](),controller[_0x3a92('0x25')]);router['get'](_0x3a92('0x26'),auth['isAuthenticated'](),controller[_0x3a92('0x27')]);router['get'](_0x3a92('0x28'),auth[_0x3a92('0x7')](),controller['openchannelQueuesWaitingInteractions']);router[_0x3a92('0x5')]('/sms/queues/waitinginteractions',auth[_0x3a92('0x7')](),controller['smsQueuesWaitingInteractions']);router[_0x3a92('0x5')](_0x3a92('0x29'),auth[_0x3a92('0x7')](),controller[_0x3a92('0x2a')]);router[_0x3a92('0x5')]('/fax/queues/waitinginteractions',auth[_0x3a92('0x7')](),controller[_0x3a92('0x2b')]);router[_0x3a92('0x2c')]('/mail/queues/:id/notify',auth[_0x3a92('0x7')](),controller[_0x3a92('0x2d')](_0x3a92('0x2e')));router[_0x3a92('0x5')]('/mail/queues/:id',auth[_0x3a92('0x7')](),controller['showMailQueues']);router[_0x3a92('0x2c')](_0x3a92('0x2f'),auth['isAuthenticated'](),controller[_0x3a92('0x2d')](_0x3a92('0x30')));router[_0x3a92('0x5')]('/chat/queues/:id',auth[_0x3a92('0x7')](),controller[_0x3a92('0x31')]);router['post'](_0x3a92('0x32'),auth[_0x3a92('0x7')](),controller[_0x3a92('0x2d')]('fax'));router['get']('/fax/queues/:id',auth[_0x3a92('0x7')](),controller[_0x3a92('0x33')]);router[_0x3a92('0x2c')]('/openchannel/queues/:id/notify',auth[_0x3a92('0x7')](),controller[_0x3a92('0x2d')](_0x3a92('0x34')));router[_0x3a92('0x5')](_0x3a92('0x35'),auth[_0x3a92('0x7')](),controller[_0x3a92('0x36')]);router[_0x3a92('0x2c')](_0x3a92('0x37'),auth[_0x3a92('0x7')](),controller['queueNotify'](_0x3a92('0x38')));router[_0x3a92('0x2c')](_0x3a92('0x39'),auth[_0x3a92('0x7')](),controller[_0x3a92('0x2d')](_0x3a92('0x3a')));router['get'](_0x3a92('0x3b'),auth[_0x3a92('0x7')](),controller[_0x3a92('0x3c')]);router[_0x3a92('0x5')](_0x3a92('0x3d'),auth[_0x3a92('0x7')](),controller[_0x3a92('0x3e')]);router[_0x3a92('0x2c')](_0x3a92('0x3f'),auth[_0x3a92('0x7')](),controller[_0x3a92('0x40')]);module[_0x3a92('0x41')]=router;
\ No newline at end of file
+var _0x9b42=['chatQueues','/mail/accounts','mailAccounts','/openchannel/queues','openchannelQueues','smsQueues','/whatsapp/queues','/fax/queues','faxQueues','voiceQueuesChannels','/voice/queues/channels/:uniqueid','voiceQueuesChannel','/voice/queues/channels/:uniqueid/hangup','voiceQueuesChannelHangup','showVoiceQueues','/outbound','outbound','outboundChannels','/agents','agents','put','agentCapacity','/telephones','telephones','/trunks','/campaigns','campaigns','/fax/accounts','faxAccounts','/chat/queues/waitinginteractions','chatQueuesWaitingInteractions','/mail/queues/waitinginteractions','/openchannel/queues/waitinginteractions','openchannelQueuesWaitingInteractions','smsQueuesWaitingInteractions','/whatsapp/queues/waitinginteractions','whatsappQueuesWaitingInteractions','/fax/queues/waitinginteractions','faxQueuesWaitingInteractions','post','/mail/queues/:id/notify','queueNotify','mail','/mail/queues/:id','/chat/queues/:id/notify','/chat/queues/:id','/fax/queues/:id/notify','fax','/fax/queues/:id','/openchannel/queues/:id/notify','openchannel','/openchannel/queues/:id','showOpenchannelQueues','sms','/whatsapp/queues/:id/notify','whatsapp','/sms/queues/:id','showSmsQueues','/whatsapp/queues/:id','showWhatsappQueues','/agents/:id/notify','agentNotify','exports','multer','util','Router','./rpc.controller','/voice/channels','isAuthenticated','voiceChannels','get','/voice/channels/:uniqueid/mixmonitor','voiceChannelMixMonitor','voiceChannelStopMixMonitor','/voice/queues','voiceQueues'];(function(_0x2cae8a,_0x571826){var _0x5f4a6a=function(_0x66d32){while(--_0x66d32){_0x2cae8a['push'](_0x2cae8a['shift']());}};_0x5f4a6a(++_0x571826);}(_0x9b42,0xd7));var _0x29b4=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0x9b42[_0x20a584];return _0x4b41a8;};'use strict';var multer=require(_0x29b4('0x0'));var util=require(_0x29b4('0x1'));var path=require('path');var express=require('express');var router=express[_0x29b4('0x2')]();var auth=require('../../components/auth/service');var controller=require(_0x29b4('0x3'));router['get'](_0x29b4('0x4'),auth[_0x29b4('0x5')](),controller[_0x29b4('0x6')]);router[_0x29b4('0x7')](_0x29b4('0x8'),auth[_0x29b4('0x5')](),controller[_0x29b4('0x9')]);router['get']('/voice/channels/:uniqueid/stopmixmonitor',auth['isAuthenticated'](),controller[_0x29b4('0xa')]);router[_0x29b4('0x7')](_0x29b4('0xb'),auth[_0x29b4('0x5')](),controller[_0x29b4('0xc')]);router[_0x29b4('0x7')]('/chat/queues',auth[_0x29b4('0x5')](),controller[_0x29b4('0xd')]);router[_0x29b4('0x7')]('/mail/queues',auth[_0x29b4('0x5')](),controller['mailQueues']);router[_0x29b4('0x7')](_0x29b4('0xe'),auth[_0x29b4('0x5')](),controller[_0x29b4('0xf')]);router[_0x29b4('0x7')](_0x29b4('0x10'),auth['isAuthenticated'](),controller[_0x29b4('0x11')]);router[_0x29b4('0x7')]('/sms/queues',auth['isAuthenticated'](),controller[_0x29b4('0x12')]);router[_0x29b4('0x7')](_0x29b4('0x13'),auth['isAuthenticated'](),controller['whatsappQueues']);router[_0x29b4('0x7')](_0x29b4('0x14'),auth['isAuthenticated'](),controller[_0x29b4('0x15')]);router[_0x29b4('0x7')]('/voice/queues/preview/:id',auth[_0x29b4('0x5')](),controller['voiceQueuesPreview']);router[_0x29b4('0x7')]('/voice/queues/channels',auth[_0x29b4('0x5')](),controller[_0x29b4('0x16')]);router['get'](_0x29b4('0x17'),auth[_0x29b4('0x5')](),controller[_0x29b4('0x18')]);router['get'](_0x29b4('0x19'),auth[_0x29b4('0x5')](),controller[_0x29b4('0x1a')]);router[_0x29b4('0x7')]('/voice/queues/channels/:uniqueid/redirect/:exten',auth['isAuthenticated'](),controller['voiceQueuesChannelRedirect']);router[_0x29b4('0x7')]('/voice/queues/:id',auth[_0x29b4('0x5')](),controller[_0x29b4('0x1b')]);router['get'](_0x29b4('0x1c'),auth[_0x29b4('0x5')](),controller[_0x29b4('0x1d')]);router[_0x29b4('0x7')]('/outbound/channels',auth[_0x29b4('0x5')](),controller[_0x29b4('0x1e')]);router['get'](_0x29b4('0x1f'),auth['isAuthenticated'](),controller[_0x29b4('0x20')]);router[_0x29b4('0x21')]('/agents/:id/capacity',auth[_0x29b4('0x5')](),controller[_0x29b4('0x22')]);router[_0x29b4('0x7')](_0x29b4('0x23'),auth[_0x29b4('0x5')](),controller[_0x29b4('0x24')]);router[_0x29b4('0x7')](_0x29b4('0x25'),auth[_0x29b4('0x5')](),controller['trunks']);router[_0x29b4('0x7')](_0x29b4('0x26'),auth[_0x29b4('0x5')](),controller[_0x29b4('0x27')]);router[_0x29b4('0x7')](_0x29b4('0x28'),auth[_0x29b4('0x5')](),controller[_0x29b4('0x29')]);router[_0x29b4('0x7')](_0x29b4('0x2a'),auth[_0x29b4('0x5')](),controller[_0x29b4('0x2b')]);router['get'](_0x29b4('0x2c'),auth[_0x29b4('0x5')](),controller['mailQueuesWaitingInteractions']);router[_0x29b4('0x7')](_0x29b4('0x2d'),auth[_0x29b4('0x5')](),controller[_0x29b4('0x2e')]);router[_0x29b4('0x7')]('/sms/queues/waitinginteractions',auth[_0x29b4('0x5')](),controller[_0x29b4('0x2f')]);router[_0x29b4('0x7')](_0x29b4('0x30'),auth['isAuthenticated'](),controller[_0x29b4('0x31')]);router[_0x29b4('0x7')](_0x29b4('0x32'),auth['isAuthenticated'](),controller[_0x29b4('0x33')]);router[_0x29b4('0x34')](_0x29b4('0x35'),auth[_0x29b4('0x5')](),controller[_0x29b4('0x36')](_0x29b4('0x37')));router[_0x29b4('0x7')](_0x29b4('0x38'),auth[_0x29b4('0x5')](),controller['showMailQueues']);router[_0x29b4('0x34')](_0x29b4('0x39'),auth['isAuthenticated'](),controller[_0x29b4('0x36')]('chat'));router[_0x29b4('0x7')](_0x29b4('0x3a'),auth[_0x29b4('0x5')](),controller['showChatQueues']);router['post'](_0x29b4('0x3b'),auth[_0x29b4('0x5')](),controller[_0x29b4('0x36')](_0x29b4('0x3c')));router['get'](_0x29b4('0x3d'),auth[_0x29b4('0x5')](),controller['showFaxQueues']);router[_0x29b4('0x34')](_0x29b4('0x3e'),auth[_0x29b4('0x5')](),controller[_0x29b4('0x36')](_0x29b4('0x3f')));router[_0x29b4('0x7')](_0x29b4('0x40'),auth[_0x29b4('0x5')](),controller[_0x29b4('0x41')]);router[_0x29b4('0x34')]('/sms/queues/:id/notify',auth['isAuthenticated'](),controller[_0x29b4('0x36')](_0x29b4('0x42')));router[_0x29b4('0x34')](_0x29b4('0x43'),auth[_0x29b4('0x5')](),controller[_0x29b4('0x36')](_0x29b4('0x44')));router['get'](_0x29b4('0x45'),auth[_0x29b4('0x5')](),controller[_0x29b4('0x46')]);router[_0x29b4('0x7')](_0x29b4('0x47'),auth[_0x29b4('0x5')](),controller[_0x29b4('0x48')]);router['post'](_0x29b4('0x49'),auth['isAuthenticated'](),controller[_0x29b4('0x4a')]);module[_0x29b4('0x4b')]=router;
\ No newline at end of file