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