Built motion from commit (unavailable).|2.4.8
[motion2.git] / server / api / rpc / index.js
index ce0c5ab..03f9d3d 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x775e=['chat','/chat/queues/:id','showChatQueues','/fax/queues/:id','showFaxQueues','openchannel','sms','/sms/queues/:id','/agents/:id/notify','agentNotify','exports','multer','path','express','Router','../../components/auth/service','get','/voice/channels','isAuthenticated','/voice/channels/:uniqueid/mixmonitor','voiceChannelMixMonitor','/voice/channels/:uniqueid/stopmixmonitor','voiceChannelStopMixMonitor','/voice/queues','voiceQueues','chatQueues','/mail/queues','mailQueues','/mail/accounts','mailAccounts','/openchannel/queues','openchannelQueues','smsQueues','faxQueues','/voice/queues/preview/:id','voiceQueuesPreview','/voice/queues/channels','/voice/queues/channels/:uniqueid','voiceQueuesChannelHangup','/voice/queues/channels/:uniqueid/redirect/:exten','voiceQueuesChannelRedirect','/voice/queues/:id','showVoiceQueues','/outbound','outbound','/outbound/channels','outboundChannels','/agents','/agents/:id/capacity','/telephones','telephones','/trunks','trunks','campaigns','/fax/accounts','faxAccounts','/mail/queues/waitinginteractions','mailQueuesWaitingInteractions','/openchannel/queues/waitinginteractions','openchannelQueuesWaitingInteractions','smsQueuesWaitingInteractions','/fax/queues/waitinginteractions','faxQueuesWaitingInteractions','post','/mail/queues/:id/notify','queueNotify','mail','/mail/queues/:id','showMailQueues'];(function(_0x2dacca,_0x3b55a5){var _0x4e8745=function(_0x4c4515){while(--_0x4c4515){_0x2dacca['push'](_0x2dacca['shift']());}};_0x4e8745(++_0x3b55a5);}(_0x775e,0xda));var _0xe775=function(_0x5c7587,_0x2fa9f5){_0x5c7587=_0x5c7587-0x0;var _0x319bef=_0x775e[_0x5c7587];return _0x319bef;};'use strict';var multer=require(_0xe775('0x0'));var util=require('util');var path=require(_0xe775('0x1'));var express=require(_0xe775('0x2'));var router=express[_0xe775('0x3')]();var auth=require(_0xe775('0x4'));var controller=require('./rpc.controller');router[_0xe775('0x5')](_0xe775('0x6'),auth[_0xe775('0x7')](),controller['voiceChannels']);router[_0xe775('0x5')](_0xe775('0x8'),auth[_0xe775('0x7')](),controller[_0xe775('0x9')]);router['get'](_0xe775('0xa'),auth['isAuthenticated'](),controller[_0xe775('0xb')]);router[_0xe775('0x5')](_0xe775('0xc'),auth[_0xe775('0x7')](),controller[_0xe775('0xd')]);router[_0xe775('0x5')]('/chat/queues',auth['isAuthenticated'](),controller[_0xe775('0xe')]);router[_0xe775('0x5')](_0xe775('0xf'),auth[_0xe775('0x7')](),controller[_0xe775('0x10')]);router[_0xe775('0x5')](_0xe775('0x11'),auth['isAuthenticated'](),controller[_0xe775('0x12')]);router[_0xe775('0x5')](_0xe775('0x13'),auth[_0xe775('0x7')](),controller[_0xe775('0x14')]);router['get']('/sms/queues',auth[_0xe775('0x7')](),controller[_0xe775('0x15')]);router[_0xe775('0x5')]('/fax/queues',auth[_0xe775('0x7')](),controller[_0xe775('0x16')]);router['get'](_0xe775('0x17'),auth['isAuthenticated'](),controller[_0xe775('0x18')]);router[_0xe775('0x5')](_0xe775('0x19'),auth['isAuthenticated'](),controller['voiceQueuesChannels']);router[_0xe775('0x5')](_0xe775('0x1a'),auth[_0xe775('0x7')](),controller['voiceQueuesChannel']);router[_0xe775('0x5')]('/voice/queues/channels/:uniqueid/hangup',auth[_0xe775('0x7')](),controller[_0xe775('0x1b')]);router[_0xe775('0x5')](_0xe775('0x1c'),auth[_0xe775('0x7')](),controller[_0xe775('0x1d')]);router[_0xe775('0x5')](_0xe775('0x1e'),auth[_0xe775('0x7')](),controller[_0xe775('0x1f')]);router[_0xe775('0x5')](_0xe775('0x20'),auth[_0xe775('0x7')](),controller[_0xe775('0x21')]);router[_0xe775('0x5')](_0xe775('0x22'),auth['isAuthenticated'](),controller[_0xe775('0x23')]);router[_0xe775('0x5')](_0xe775('0x24'),auth[_0xe775('0x7')](),controller['agents']);router['put'](_0xe775('0x25'),auth['isAuthenticated'](),controller['agentCapacity']);router[_0xe775('0x5')](_0xe775('0x26'),auth[_0xe775('0x7')](),controller[_0xe775('0x27')]);router[_0xe775('0x5')](_0xe775('0x28'),auth[_0xe775('0x7')](),controller[_0xe775('0x29')]);router[_0xe775('0x5')]('/campaigns',auth[_0xe775('0x7')](),controller[_0xe775('0x2a')]);router[_0xe775('0x5')](_0xe775('0x2b'),auth[_0xe775('0x7')](),controller[_0xe775('0x2c')]);router[_0xe775('0x5')]('/chat/queues/waitinginteractions',auth[_0xe775('0x7')](),controller['chatQueuesWaitingInteractions']);router[_0xe775('0x5')](_0xe775('0x2d'),auth['isAuthenticated'](),controller[_0xe775('0x2e')]);router[_0xe775('0x5')](_0xe775('0x2f'),auth[_0xe775('0x7')](),controller[_0xe775('0x30')]);router[_0xe775('0x5')]('/sms/queues/waitinginteractions',auth['isAuthenticated'](),controller[_0xe775('0x31')]);router['get'](_0xe775('0x32'),auth[_0xe775('0x7')](),controller[_0xe775('0x33')]);router[_0xe775('0x34')](_0xe775('0x35'),auth['isAuthenticated'](),controller[_0xe775('0x36')](_0xe775('0x37')));router[_0xe775('0x5')](_0xe775('0x38'),auth[_0xe775('0x7')](),controller[_0xe775('0x39')]);router[_0xe775('0x34')]('/chat/queues/:id/notify',auth[_0xe775('0x7')](),controller[_0xe775('0x36')](_0xe775('0x3a')));router[_0xe775('0x5')](_0xe775('0x3b'),auth[_0xe775('0x7')](),controller[_0xe775('0x3c')]);router[_0xe775('0x34')]('/fax/queues/:id/notify',auth[_0xe775('0x7')](),controller[_0xe775('0x36')]('fax'));router['get'](_0xe775('0x3d'),auth[_0xe775('0x7')](),controller[_0xe775('0x3e')]);router['post']('/openchannel/queues/:id/notify',auth[_0xe775('0x7')](),controller[_0xe775('0x36')](_0xe775('0x3f')));router[_0xe775('0x5')]('/openchannel/queues/:id',auth[_0xe775('0x7')](),controller['showOpenchannelQueues']);router[_0xe775('0x34')]('/sms/queues/:id/notify',auth['isAuthenticated'](),controller[_0xe775('0x36')](_0xe775('0x40')));router[_0xe775('0x5')](_0xe775('0x41'),auth[_0xe775('0x7')](),controller['showSmsQueues']);router['post'](_0xe775('0x42'),auth[_0xe775('0x7')](),controller[_0xe775('0x43')]);module[_0xe775('0x44')]=router;
\ No newline at end of file
+var _0xb4b6=['express','Router','../../components/auth/service','./rpc.controller','get','/voice/channels','isAuthenticated','voiceChannelMixMonitor','/voice/channels/:uniqueid/stopmixmonitor','/voice/queues','voiceQueues','/chat/queues','chatQueues','/mail/queues','mailQueues','/mail/accounts','mailAccounts','/openchannel/queues','openchannelQueues','/sms/queues','/fax/queues','faxQueues','/voice/queues/preview/:id','voiceQueuesPreview','/voice/queues/channels','voiceQueuesChannels','/voice/queues/channels/:uniqueid/hangup','voiceQueuesChannelHangup','/voice/queues/channels/:uniqueid/redirect/:exten','showVoiceQueues','/outbound','/outbound/channels','outboundChannels','put','agentCapacity','/telephones','/trunks','trunks','/fax/accounts','/chat/queues/waitinginteractions','chatQueuesWaitingInteractions','/mail/queues/waitinginteractions','/openchannel/queues/waitinginteractions','openchannelQueuesWaitingInteractions','/sms/queues/waitinginteractions','post','mail','/mail/queues/:id','showMailQueues','/chat/queues/:id/notify','queueNotify','/chat/queues/:id','/fax/queues/:id/notify','/fax/queues/:id','showFaxQueues','/openchannel/queues/:id/notify','/openchannel/queues/:id','/sms/queues/:id/notify','sms','/sms/queues/:id','showSmsQueues','agentNotify','util','path'];(function(_0x526818,_0x30c916){var _0x44c7e3=function(_0x364d90){while(--_0x364d90){_0x526818['push'](_0x526818['shift']());}};_0x44c7e3(++_0x30c916);}(_0xb4b6,0x7e));var _0x6b4b=function(_0x2e10e5,_0x4881a6){_0x2e10e5=_0x2e10e5-0x0;var _0x2f629a=_0xb4b6[_0x2e10e5];return _0x2f629a;};'use strict';var multer=require('multer');var util=require(_0x6b4b('0x0'));var path=require(_0x6b4b('0x1'));var express=require(_0x6b4b('0x2'));var router=express[_0x6b4b('0x3')]();var auth=require(_0x6b4b('0x4'));var controller=require(_0x6b4b('0x5'));router[_0x6b4b('0x6')](_0x6b4b('0x7'),auth[_0x6b4b('0x8')](),controller['voiceChannels']);router[_0x6b4b('0x6')]('/voice/channels/:uniqueid/mixmonitor',auth[_0x6b4b('0x8')](),controller[_0x6b4b('0x9')]);router[_0x6b4b('0x6')](_0x6b4b('0xa'),auth[_0x6b4b('0x8')](),controller['voiceChannelStopMixMonitor']);router[_0x6b4b('0x6')](_0x6b4b('0xb'),auth[_0x6b4b('0x8')](),controller[_0x6b4b('0xc')]);router[_0x6b4b('0x6')](_0x6b4b('0xd'),auth[_0x6b4b('0x8')](),controller[_0x6b4b('0xe')]);router['get'](_0x6b4b('0xf'),auth['isAuthenticated'](),controller[_0x6b4b('0x10')]);router[_0x6b4b('0x6')](_0x6b4b('0x11'),auth[_0x6b4b('0x8')](),controller[_0x6b4b('0x12')]);router[_0x6b4b('0x6')](_0x6b4b('0x13'),auth['isAuthenticated'](),controller[_0x6b4b('0x14')]);router[_0x6b4b('0x6')](_0x6b4b('0x15'),auth['isAuthenticated'](),controller['smsQueues']);router[_0x6b4b('0x6')](_0x6b4b('0x16'),auth['isAuthenticated'](),controller[_0x6b4b('0x17')]);router[_0x6b4b('0x6')](_0x6b4b('0x18'),auth[_0x6b4b('0x8')](),controller[_0x6b4b('0x19')]);router[_0x6b4b('0x6')](_0x6b4b('0x1a'),auth[_0x6b4b('0x8')](),controller[_0x6b4b('0x1b')]);router['get']('/voice/queues/channels/:uniqueid',auth[_0x6b4b('0x8')](),controller['voiceQueuesChannel']);router[_0x6b4b('0x6')](_0x6b4b('0x1c'),auth[_0x6b4b('0x8')](),controller[_0x6b4b('0x1d')]);router['get'](_0x6b4b('0x1e'),auth[_0x6b4b('0x8')](),controller['voiceQueuesChannelRedirect']);router['get']('/voice/queues/:id',auth[_0x6b4b('0x8')](),controller[_0x6b4b('0x1f')]);router[_0x6b4b('0x6')](_0x6b4b('0x20'),auth[_0x6b4b('0x8')](),controller['outbound']);router[_0x6b4b('0x6')](_0x6b4b('0x21'),auth[_0x6b4b('0x8')](),controller[_0x6b4b('0x22')]);router['get']('/agents',auth['isAuthenticated'](),controller['agents']);router[_0x6b4b('0x23')]('/agents/:id/capacity',auth['isAuthenticated'](),controller[_0x6b4b('0x24')]);router[_0x6b4b('0x6')](_0x6b4b('0x25'),auth[_0x6b4b('0x8')](),controller['telephones']);router['get'](_0x6b4b('0x26'),auth[_0x6b4b('0x8')](),controller[_0x6b4b('0x27')]);router[_0x6b4b('0x6')]('/campaigns',auth[_0x6b4b('0x8')](),controller['campaigns']);router[_0x6b4b('0x6')](_0x6b4b('0x28'),auth[_0x6b4b('0x8')](),controller['faxAccounts']);router[_0x6b4b('0x6')](_0x6b4b('0x29'),auth[_0x6b4b('0x8')](),controller[_0x6b4b('0x2a')]);router[_0x6b4b('0x6')](_0x6b4b('0x2b'),auth['isAuthenticated'](),controller['mailQueuesWaitingInteractions']);router['get'](_0x6b4b('0x2c'),auth[_0x6b4b('0x8')](),controller[_0x6b4b('0x2d')]);router[_0x6b4b('0x6')](_0x6b4b('0x2e'),auth[_0x6b4b('0x8')](),controller['smsQueuesWaitingInteractions']);router['get']('/fax/queues/waitinginteractions',auth[_0x6b4b('0x8')](),controller['faxQueuesWaitingInteractions']);router[_0x6b4b('0x2f')]('/mail/queues/:id/notify',auth['isAuthenticated'](),controller['queueNotify'](_0x6b4b('0x30')));router[_0x6b4b('0x6')](_0x6b4b('0x31'),auth[_0x6b4b('0x8')](),controller[_0x6b4b('0x32')]);router['post'](_0x6b4b('0x33'),auth['isAuthenticated'](),controller[_0x6b4b('0x34')]('chat'));router[_0x6b4b('0x6')](_0x6b4b('0x35'),auth[_0x6b4b('0x8')](),controller['showChatQueues']);router[_0x6b4b('0x2f')](_0x6b4b('0x36'),auth[_0x6b4b('0x8')](),controller['queueNotify']('fax'));router[_0x6b4b('0x6')](_0x6b4b('0x37'),auth[_0x6b4b('0x8')](),controller[_0x6b4b('0x38')]);router[_0x6b4b('0x2f')](_0x6b4b('0x39'),auth['isAuthenticated'](),controller[_0x6b4b('0x34')]('openchannel'));router[_0x6b4b('0x6')](_0x6b4b('0x3a'),auth['isAuthenticated'](),controller['showOpenchannelQueues']);router['post'](_0x6b4b('0x3b'),auth[_0x6b4b('0x8')](),controller[_0x6b4b('0x34')](_0x6b4b('0x3c')));router[_0x6b4b('0x6')](_0x6b4b('0x3d'),auth[_0x6b4b('0x8')](),controller[_0x6b4b('0x3e')]);router[_0x6b4b('0x2f')]('/agents/:id/notify',auth[_0x6b4b('0x8')](),controller[_0x6b4b('0x3f')]);module['exports']=router;
\ No newline at end of file