Built motion from commit (unavailable).|2.2.0
[motion2.git] / server / api / rpc / index.js
index 3c7b836..cab8c3b 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xcd26=['faxQueues','/voice/queues/preview/:id','voiceQueuesPreview','/voice/queues/channels','voiceQueuesChannels','/voice/queues/channels/:uniqueid','voiceQueuesChannel','/voice/queues/channels/:uniqueid/hangup','voiceQueuesChannelHangup','/voice/queues/:id','showVoiceQueues','/outbound/channels','outboundChannels','agents','put','/agents/:id/capacity','/telephones','telephones','/trunks','trunks','/campaigns','campaigns','faxAccounts','/chat/queues/waitinginteractions','/mail/queues/waitinginteractions','mailQueuesWaitingInteractions','/openchannel/queues/waitinginteractions','/sms/queues/waitinginteractions','post','queueNotify','mail','/mail/queues/:id','showMailQueues','chat','showChatQueues','/fax/queues/:id/notify','fax','showFaxQueues','/openchannel/queues/:id/notify','openchannel','/openchannel/queues/:id','showOpenchannelQueues','/sms/queues/:id/notify','sms','/sms/queues/:id','showSmsQueues','agentNotify','exports','util','express','Router','../../components/auth/service','./rpc.controller','get','/voice/channels','isAuthenticated','/voice/channels/:uniqueid/mixmonitor','voiceChannelMixMonitor','/voice/channels/:uniqueid/stopmixmonitor','voiceChannelStopMixMonitor','/voice/queues','voiceQueues','/chat/queues','chatQueues','mailQueues','/mail/accounts','mailAccounts','/openchannel/queues','openchannelQueues','smsQueues','/fax/queues'];(function(_0x5ee2db,_0x47ea25){var _0x2cab07=function(_0x4643f7){while(--_0x4643f7){_0x5ee2db['push'](_0x5ee2db['shift']());}};_0x2cab07(++_0x47ea25);}(_0xcd26,0x77));var _0x6cd2=function(_0x292911,_0x279a2e){_0x292911=_0x292911-0x0;var _0x18dee9=_0xcd26[_0x292911];return _0x18dee9;};'use strict';var multer=require('multer');var util=require(_0x6cd2('0x0'));var path=require('path');var express=require(_0x6cd2('0x1'));var router=express[_0x6cd2('0x2')]();var auth=require(_0x6cd2('0x3'));var controller=require(_0x6cd2('0x4'));router[_0x6cd2('0x5')](_0x6cd2('0x6'),auth[_0x6cd2('0x7')](),controller['voiceChannels']);router['get'](_0x6cd2('0x8'),auth[_0x6cd2('0x7')](),controller[_0x6cd2('0x9')]);router[_0x6cd2('0x5')](_0x6cd2('0xa'),auth['isAuthenticated'](),controller[_0x6cd2('0xb')]);router['get'](_0x6cd2('0xc'),auth[_0x6cd2('0x7')](),controller[_0x6cd2('0xd')]);router['get'](_0x6cd2('0xe'),auth['isAuthenticated'](),controller[_0x6cd2('0xf')]);router[_0x6cd2('0x5')]('/mail/queues',auth[_0x6cd2('0x7')](),controller[_0x6cd2('0x10')]);router[_0x6cd2('0x5')](_0x6cd2('0x11'),auth[_0x6cd2('0x7')](),controller[_0x6cd2('0x12')]);router['get'](_0x6cd2('0x13'),auth['isAuthenticated'](),controller[_0x6cd2('0x14')]);router[_0x6cd2('0x5')]('/sms/queues',auth[_0x6cd2('0x7')](),controller[_0x6cd2('0x15')]);router[_0x6cd2('0x5')](_0x6cd2('0x16'),auth[_0x6cd2('0x7')](),controller[_0x6cd2('0x17')]);router['get'](_0x6cd2('0x18'),auth[_0x6cd2('0x7')](),controller[_0x6cd2('0x19')]);router['get'](_0x6cd2('0x1a'),auth[_0x6cd2('0x7')](),controller[_0x6cd2('0x1b')]);router[_0x6cd2('0x5')](_0x6cd2('0x1c'),auth[_0x6cd2('0x7')](),controller[_0x6cd2('0x1d')]);router[_0x6cd2('0x5')](_0x6cd2('0x1e'),auth['isAuthenticated'](),controller[_0x6cd2('0x1f')]);router[_0x6cd2('0x5')]('/voice/queues/channels/:uniqueid/redirect/:exten',auth[_0x6cd2('0x7')](),controller['voiceQueuesChannelRedirect']);router['get'](_0x6cd2('0x20'),auth[_0x6cd2('0x7')](),controller[_0x6cd2('0x21')]);router[_0x6cd2('0x5')]('/outbound',auth[_0x6cd2('0x7')](),controller['outbound']);router[_0x6cd2('0x5')](_0x6cd2('0x22'),auth[_0x6cd2('0x7')](),controller[_0x6cd2('0x23')]);router[_0x6cd2('0x5')]('/agents',auth['isAuthenticated'](),controller[_0x6cd2('0x24')]);router[_0x6cd2('0x25')](_0x6cd2('0x26'),auth['isAuthenticated'](),controller['agentCapacity']);router[_0x6cd2('0x5')](_0x6cd2('0x27'),auth[_0x6cd2('0x7')](),controller[_0x6cd2('0x28')]);router[_0x6cd2('0x5')](_0x6cd2('0x29'),auth[_0x6cd2('0x7')](),controller[_0x6cd2('0x2a')]);router[_0x6cd2('0x5')](_0x6cd2('0x2b'),auth[_0x6cd2('0x7')](),controller[_0x6cd2('0x2c')]);router[_0x6cd2('0x5')]('/fax/accounts',auth[_0x6cd2('0x7')](),controller[_0x6cd2('0x2d')]);router[_0x6cd2('0x5')](_0x6cd2('0x2e'),auth[_0x6cd2('0x7')](),controller['chatQueuesWaitingInteractions']);router[_0x6cd2('0x5')](_0x6cd2('0x2f'),auth[_0x6cd2('0x7')](),controller[_0x6cd2('0x30')]);router[_0x6cd2('0x5')](_0x6cd2('0x31'),auth[_0x6cd2('0x7')](),controller['openchannelQueuesWaitingInteractions']);router[_0x6cd2('0x5')](_0x6cd2('0x32'),auth['isAuthenticated'](),controller['smsQueuesWaitingInteractions']);router[_0x6cd2('0x5')]('/fax/queues/waitinginteractions',auth[_0x6cd2('0x7')](),controller['faxQueuesWaitingInteractions']);router[_0x6cd2('0x33')]('/mail/queues/:id/notify',auth['isAuthenticated'](),controller[_0x6cd2('0x34')](_0x6cd2('0x35')));router['get'](_0x6cd2('0x36'),auth[_0x6cd2('0x7')](),controller[_0x6cd2('0x37')]);router['post']('/chat/queues/:id/notify',auth['isAuthenticated'](),controller[_0x6cd2('0x34')](_0x6cd2('0x38')));router[_0x6cd2('0x5')]('/chat/queues/:id',auth[_0x6cd2('0x7')](),controller[_0x6cd2('0x39')]);router[_0x6cd2('0x33')](_0x6cd2('0x3a'),auth[_0x6cd2('0x7')](),controller[_0x6cd2('0x34')](_0x6cd2('0x3b')));router['get']('/fax/queues/:id',auth[_0x6cd2('0x7')](),controller[_0x6cd2('0x3c')]);router['post'](_0x6cd2('0x3d'),auth[_0x6cd2('0x7')](),controller[_0x6cd2('0x34')](_0x6cd2('0x3e')));router[_0x6cd2('0x5')](_0x6cd2('0x3f'),auth['isAuthenticated'](),controller[_0x6cd2('0x40')]);router['post'](_0x6cd2('0x41'),auth['isAuthenticated'](),controller[_0x6cd2('0x34')](_0x6cd2('0x42')));router[_0x6cd2('0x5')](_0x6cd2('0x43'),auth[_0x6cd2('0x7')](),controller[_0x6cd2('0x44')]);router['post']('/agents/:id/notify',auth[_0x6cd2('0x7')](),controller[_0x6cd2('0x45')]);module[_0x6cd2('0x46')]=router;
\ No newline at end of file
+var _0xb31b=['sms','/sms/queues/:id','/agents/:id/notify','agentNotify','multer','path','express','Router','../../components/auth/service','./rpc.controller','get','/voice/channels','voiceChannels','/voice/channels/:uniqueid/mixmonitor','isAuthenticated','voiceChannelMixMonitor','/voice/channels/:uniqueid/stopmixmonitor','voiceChannelStopMixMonitor','/voice/queues','voiceQueues','/chat/queues','mailQueues','/mail/accounts','mailAccounts','/openchannel/queues','openchannelQueues','/sms/queues','/fax/queues','faxQueues','/voice/queues/preview/:id','voiceQueuesPreview','/voice/queues/channels/:uniqueid/hangup','/voice/queues/channels/:uniqueid/redirect/:exten','voiceQueuesChannelRedirect','/voice/queues/:id','showVoiceQueues','/outbound','outbound','/outbound/channels','outboundChannels','/agents','agents','/agents/:id/capacity','agentCapacity','/telephones','telephones','trunks','/campaigns','faxAccounts','/chat/queues/waitinginteractions','chatQueuesWaitingInteractions','/mail/queues/waitinginteractions','/openchannel/queues/waitinginteractions','openchannelQueuesWaitingInteractions','/sms/queues/waitinginteractions','smsQueuesWaitingInteractions','/fax/queues/waitinginteractions','faxQueuesWaitingInteractions','post','/mail/queues/:id/notify','queueNotify','mail','showMailQueues','/chat/queues/:id/notify','chat','/chat/queues/:id','/fax/queues/:id/notify','fax','/openchannel/queues/:id/notify','openchannel','/openchannel/queues/:id','showOpenchannelQueues'];(function(_0x5a05ea,_0x1154c1){var _0x550a55=function(_0x1c13b7){while(--_0x1c13b7){_0x5a05ea['push'](_0x5a05ea['shift']());}};_0x550a55(++_0x1154c1);}(_0xb31b,0xdc));var _0xbb31=function(_0x53e743,_0xa91988){_0x53e743=_0x53e743-0x0;var _0xbc7842=_0xb31b[_0x53e743];return _0xbc7842;};'use strict';var multer=require(_0xbb31('0x0'));var util=require('util');var path=require(_0xbb31('0x1'));var express=require(_0xbb31('0x2'));var router=express[_0xbb31('0x3')]();var auth=require(_0xbb31('0x4'));var controller=require(_0xbb31('0x5'));router[_0xbb31('0x6')](_0xbb31('0x7'),auth['isAuthenticated'](),controller[_0xbb31('0x8')]);router[_0xbb31('0x6')](_0xbb31('0x9'),auth[_0xbb31('0xa')](),controller[_0xbb31('0xb')]);router['get'](_0xbb31('0xc'),auth[_0xbb31('0xa')](),controller[_0xbb31('0xd')]);router[_0xbb31('0x6')](_0xbb31('0xe'),auth[_0xbb31('0xa')](),controller[_0xbb31('0xf')]);router[_0xbb31('0x6')](_0xbb31('0x10'),auth[_0xbb31('0xa')](),controller['chatQueues']);router[_0xbb31('0x6')]('/mail/queues',auth[_0xbb31('0xa')](),controller[_0xbb31('0x11')]);router['get'](_0xbb31('0x12'),auth[_0xbb31('0xa')](),controller[_0xbb31('0x13')]);router[_0xbb31('0x6')](_0xbb31('0x14'),auth['isAuthenticated'](),controller[_0xbb31('0x15')]);router[_0xbb31('0x6')](_0xbb31('0x16'),auth[_0xbb31('0xa')](),controller['smsQueues']);router[_0xbb31('0x6')](_0xbb31('0x17'),auth[_0xbb31('0xa')](),controller[_0xbb31('0x18')]);router[_0xbb31('0x6')](_0xbb31('0x19'),auth[_0xbb31('0xa')](),controller[_0xbb31('0x1a')]);router[_0xbb31('0x6')]('/voice/queues/channels',auth[_0xbb31('0xa')](),controller['voiceQueuesChannels']);router[_0xbb31('0x6')]('/voice/queues/channels/:uniqueid',auth['isAuthenticated'](),controller['voiceQueuesChannel']);router[_0xbb31('0x6')](_0xbb31('0x1b'),auth[_0xbb31('0xa')](),controller['voiceQueuesChannelHangup']);router['get'](_0xbb31('0x1c'),auth[_0xbb31('0xa')](),controller[_0xbb31('0x1d')]);router['get'](_0xbb31('0x1e'),auth['isAuthenticated'](),controller[_0xbb31('0x1f')]);router[_0xbb31('0x6')](_0xbb31('0x20'),auth[_0xbb31('0xa')](),controller[_0xbb31('0x21')]);router[_0xbb31('0x6')](_0xbb31('0x22'),auth[_0xbb31('0xa')](),controller[_0xbb31('0x23')]);router[_0xbb31('0x6')](_0xbb31('0x24'),auth[_0xbb31('0xa')](),controller[_0xbb31('0x25')]);router['put'](_0xbb31('0x26'),auth[_0xbb31('0xa')](),controller[_0xbb31('0x27')]);router['get'](_0xbb31('0x28'),auth[_0xbb31('0xa')](),controller[_0xbb31('0x29')]);router[_0xbb31('0x6')]('/trunks',auth['isAuthenticated'](),controller[_0xbb31('0x2a')]);router[_0xbb31('0x6')](_0xbb31('0x2b'),auth[_0xbb31('0xa')](),controller['campaigns']);router[_0xbb31('0x6')]('/fax/accounts',auth[_0xbb31('0xa')](),controller[_0xbb31('0x2c')]);router['get'](_0xbb31('0x2d'),auth['isAuthenticated'](),controller[_0xbb31('0x2e')]);router[_0xbb31('0x6')](_0xbb31('0x2f'),auth[_0xbb31('0xa')](),controller['mailQueuesWaitingInteractions']);router[_0xbb31('0x6')](_0xbb31('0x30'),auth[_0xbb31('0xa')](),controller[_0xbb31('0x31')]);router[_0xbb31('0x6')](_0xbb31('0x32'),auth['isAuthenticated'](),controller[_0xbb31('0x33')]);router['get'](_0xbb31('0x34'),auth[_0xbb31('0xa')](),controller[_0xbb31('0x35')]);router[_0xbb31('0x36')](_0xbb31('0x37'),auth[_0xbb31('0xa')](),controller[_0xbb31('0x38')](_0xbb31('0x39')));router[_0xbb31('0x6')]('/mail/queues/:id',auth[_0xbb31('0xa')](),controller[_0xbb31('0x3a')]);router['post'](_0xbb31('0x3b'),auth['isAuthenticated'](),controller[_0xbb31('0x38')](_0xbb31('0x3c')));router['get'](_0xbb31('0x3d'),auth[_0xbb31('0xa')](),controller['showChatQueues']);router['post'](_0xbb31('0x3e'),auth['isAuthenticated'](),controller[_0xbb31('0x38')](_0xbb31('0x3f')));router['get']('/fax/queues/:id',auth['isAuthenticated'](),controller['showFaxQueues']);router['post'](_0xbb31('0x40'),auth[_0xbb31('0xa')](),controller[_0xbb31('0x38')](_0xbb31('0x41')));router[_0xbb31('0x6')](_0xbb31('0x42'),auth[_0xbb31('0xa')](),controller[_0xbb31('0x43')]);router['post']('/sms/queues/:id/notify',auth[_0xbb31('0xa')](),controller[_0xbb31('0x38')](_0xbb31('0x44')));router[_0xbb31('0x6')](_0xbb31('0x45'),auth[_0xbb31('0xa')](),controller['showSmsQueues']);router[_0xbb31('0x36')](_0xbb31('0x46'),auth[_0xbb31('0xa')](),controller[_0xbb31('0x47')]);module['exports']=router;
\ No newline at end of file