Built motion from commit 9d1906d1.|2.5.40
[motion2.git] / server / api / rpc / index.js
index 9b81192..f24a935 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x42fe=['chatQueues','/mail/queues','mailQueues','mailAccounts','/openchannel/queues','openchannelQueues','/sms/queues','/whatsapp/queues','faxQueues','/voice/queues/preview/:id','voiceQueuesPreview','/voice/queues/channels','voiceQueuesChannels','/voice/queues/channels/:uniqueid','voiceQueuesChannel','/voice/queues/channels/:uniqueid/hangup','voiceQueuesChannelHangup','voiceQueuesChannelRedirect','/voice/queues/:id','showVoiceQueues','/outbound','outbound','/outbound/channels','/agents','agents','put','/agents/:id/capacity','telephones','trunks','/campaigns','campaigns','/fax/accounts','chatQueuesWaitingInteractions','/mail/queues/waitinginteractions','/openchannel/queues/waitinginteractions','/openchannel/queues/:id/waitinginteractions','openchannelQueuesIdWaitingInteractions','/sms/queues/waitinginteractions','smsQueuesWaitingInteractions','/whatsapp/queues/waitinginteractions','whatsappQueuesWaitingInteractions','faxQueuesWaitingInteractions','post','queueNotify','mail','/mail/queues/:id','/chat/queues/:id/notify','chat','/chat/queues/:id','showChatQueues','fax','/fax/queues/:id','showFaxQueues','/openchannel/queues/:id/notify','openchannel','/openchannel/queues/:id','showOpenchannelQueues','sms','whatsapp','/sms/queues/:id','showSmsQueues','showWhatsappQueues','/agents/:id/notify','agentNotify','exports','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'];(function(_0x1ce924,_0x220d57){var _0x2a8240=function(_0x320eba){while(--_0x320eba){_0x1ce924['push'](_0x1ce924['shift']());}};_0x2a8240(++_0x220d57);}(_0x42fe,0x93));var _0xe42f=function(_0x6aad74,_0x32ecf4){_0x6aad74=_0x6aad74-0x0;var _0x5b1c38=_0x42fe[_0x6aad74];return _0x5b1c38;};'use strict';var multer=require(_0xe42f('0x0'));var util=require('util');var path=require(_0xe42f('0x1'));var express=require(_0xe42f('0x2'));var router=express[_0xe42f('0x3')]();var auth=require(_0xe42f('0x4'));var controller=require(_0xe42f('0x5'));router[_0xe42f('0x6')](_0xe42f('0x7'),auth['isAuthenticated'](),controller[_0xe42f('0x8')]);router[_0xe42f('0x6')](_0xe42f('0x9'),auth[_0xe42f('0xa')](),controller[_0xe42f('0xb')]);router[_0xe42f('0x6')](_0xe42f('0xc'),auth[_0xe42f('0xa')](),controller[_0xe42f('0xd')]);router[_0xe42f('0x6')](_0xe42f('0xe'),auth['isAuthenticated'](),controller[_0xe42f('0xf')]);router['get'](_0xe42f('0x10'),auth[_0xe42f('0xa')](),controller[_0xe42f('0x11')]);router[_0xe42f('0x6')](_0xe42f('0x12'),auth['isAuthenticated'](),controller[_0xe42f('0x13')]);router[_0xe42f('0x6')]('/mail/accounts',auth[_0xe42f('0xa')](),controller[_0xe42f('0x14')]);router[_0xe42f('0x6')](_0xe42f('0x15'),auth[_0xe42f('0xa')](),controller[_0xe42f('0x16')]);router['get'](_0xe42f('0x17'),auth[_0xe42f('0xa')](),controller['smsQueues']);router[_0xe42f('0x6')](_0xe42f('0x18'),auth[_0xe42f('0xa')](),controller['whatsappQueues']);router[_0xe42f('0x6')]('/fax/queues',auth[_0xe42f('0xa')](),controller[_0xe42f('0x19')]);router[_0xe42f('0x6')](_0xe42f('0x1a'),auth[_0xe42f('0xa')](),controller[_0xe42f('0x1b')]);router[_0xe42f('0x6')](_0xe42f('0x1c'),auth[_0xe42f('0xa')](),controller[_0xe42f('0x1d')]);router[_0xe42f('0x6')](_0xe42f('0x1e'),auth[_0xe42f('0xa')](),controller[_0xe42f('0x1f')]);router[_0xe42f('0x6')](_0xe42f('0x20'),auth['isAuthenticated'](),controller[_0xe42f('0x21')]);router[_0xe42f('0x6')]('/voice/queues/channels/:uniqueid/redirect/:exten',auth[_0xe42f('0xa')](),controller[_0xe42f('0x22')]);router[_0xe42f('0x6')](_0xe42f('0x23'),auth[_0xe42f('0xa')](),controller[_0xe42f('0x24')]);router[_0xe42f('0x6')](_0xe42f('0x25'),auth[_0xe42f('0xa')](),controller[_0xe42f('0x26')]);router[_0xe42f('0x6')](_0xe42f('0x27'),auth[_0xe42f('0xa')](),controller['outboundChannels']);router[_0xe42f('0x6')](_0xe42f('0x28'),auth[_0xe42f('0xa')](),controller[_0xe42f('0x29')]);router[_0xe42f('0x2a')](_0xe42f('0x2b'),auth[_0xe42f('0xa')](),controller['agentCapacity']);router[_0xe42f('0x6')]('/telephones',auth[_0xe42f('0xa')](),controller[_0xe42f('0x2c')]);router['get']('/trunks',auth[_0xe42f('0xa')](),controller[_0xe42f('0x2d')]);router['get'](_0xe42f('0x2e'),auth['isAuthenticated'](),controller[_0xe42f('0x2f')]);router[_0xe42f('0x6')](_0xe42f('0x30'),auth[_0xe42f('0xa')](),controller['faxAccounts']);router[_0xe42f('0x6')]('/chat/queues/waitinginteractions',auth[_0xe42f('0xa')](),controller[_0xe42f('0x31')]);router[_0xe42f('0x6')](_0xe42f('0x32'),auth[_0xe42f('0xa')](),controller['mailQueuesWaitingInteractions']);router[_0xe42f('0x6')](_0xe42f('0x33'),auth[_0xe42f('0xa')](),controller['openchannelQueuesWaitingInteractions']);router[_0xe42f('0x6')](_0xe42f('0x34'),auth[_0xe42f('0xa')](),controller[_0xe42f('0x35')]);router['get'](_0xe42f('0x36'),auth['isAuthenticated'](),controller[_0xe42f('0x37')]);router[_0xe42f('0x6')](_0xe42f('0x38'),auth[_0xe42f('0xa')](),controller[_0xe42f('0x39')]);router[_0xe42f('0x6')]('/fax/queues/waitinginteractions',auth[_0xe42f('0xa')](),controller[_0xe42f('0x3a')]);router[_0xe42f('0x3b')]('/mail/queues/:id/notify',auth['isAuthenticated'](),controller[_0xe42f('0x3c')](_0xe42f('0x3d')));router[_0xe42f('0x6')](_0xe42f('0x3e'),auth[_0xe42f('0xa')](),controller['showMailQueues']);router[_0xe42f('0x3b')](_0xe42f('0x3f'),auth[_0xe42f('0xa')](),controller[_0xe42f('0x3c')](_0xe42f('0x40')));router[_0xe42f('0x6')](_0xe42f('0x41'),auth[_0xe42f('0xa')](),controller[_0xe42f('0x42')]);router[_0xe42f('0x3b')]('/fax/queues/:id/notify',auth[_0xe42f('0xa')](),controller[_0xe42f('0x3c')](_0xe42f('0x43')));router[_0xe42f('0x6')](_0xe42f('0x44'),auth['isAuthenticated'](),controller[_0xe42f('0x45')]);router[_0xe42f('0x3b')](_0xe42f('0x46'),auth[_0xe42f('0xa')](),controller[_0xe42f('0x3c')](_0xe42f('0x47')));router[_0xe42f('0x6')](_0xe42f('0x48'),auth[_0xe42f('0xa')](),controller[_0xe42f('0x49')]);router[_0xe42f('0x3b')]('/sms/queues/:id/notify',auth[_0xe42f('0xa')](),controller['queueNotify'](_0xe42f('0x4a')));router[_0xe42f('0x3b')]('/whatsapp/queues/:id/notify',auth['isAuthenticated'](),controller[_0xe42f('0x3c')](_0xe42f('0x4b')));router[_0xe42f('0x6')](_0xe42f('0x4c'),auth[_0xe42f('0xa')](),controller[_0xe42f('0x4d')]);router['get']('/whatsapp/queues/:id',auth[_0xe42f('0xa')](),controller[_0xe42f('0x4e')]);router[_0xe42f('0x3b')](_0xe42f('0x4f'),auth[_0xe42f('0xa')](),controller[_0xe42f('0x50')]);module[_0xe42f('0x51')]=router;
\ No newline at end of file
+var _0xa33d=['voiceChannels','voiceChannelMixMonitor','voiceChannelStopMixMonitor','get','/voice/queues','voiceQueues','chatQueues','mailQueues','/mail/accounts','/openchannel/queues','openchannelQueues','/whatsapp/queues','whatsappQueues','/fax/queues','faxQueues','/voice/queues/preview/:id','voiceQueuesPreview','/voice/queues/channels','voiceQueuesChannels','/voice/queues/channels/:uniqueid','voiceQueuesChannel','voiceQueuesChannelHangup','voiceQueuesChannelRedirect','showVoiceQueues','put','/voice/queues/:id','updateVoiceQueue','/outbound','outboundChannels','/agents','agents','/agents/:id/capacity','/telephones','telephones','/trunks','campaigns','/fax/accounts','faxAccounts','/chat/queues/waitinginteractions','chatQueuesWaitingInteractions','mailQueuesWaitingInteractions','openchannelQueuesWaitingInteractions','openchannelQueuesIdWaitingInteractions','/sms/queues/waitinginteractions','smsQueuesWaitingInteractions','/whatsapp/queues/waitinginteractions','whatsappQueuesWaitingInteractions','/fax/queues/waitinginteractions','faxQueuesWaitingInteractions','/mail/queues/:id/notify','queueNotify','mail','post','/chat/queues/:id/notify','/chat/queues/:id','showChatQueues','/fax/queues/:id','showFaxQueues','/openchannel/queues/:id/notify','openchannel','/sms/queues/:id/notify','sms','/whatsapp/queues/:id/notify','whatsapp','/sms/queues/:id','showWhatsappQueues','agentNotify','exports','util','path','express','Router','../../components/auth/service','./rpc.controller','isAuthenticated'];(function(_0x117f65,_0x3f3225){var _0x181242=function(_0x19e580){while(--_0x19e580){_0x117f65['push'](_0x117f65['shift']());}};_0x181242(++_0x3f3225);}(_0xa33d,0x8f));var _0xda33=function(_0x5187dc,_0x296610){_0x5187dc=_0x5187dc-0x0;var _0x5be40b=_0xa33d[_0x5187dc];return _0x5be40b;};'use strict';var multer=require('multer');var util=require(_0xda33('0x0'));var path=require(_0xda33('0x1'));var express=require(_0xda33('0x2'));var router=express[_0xda33('0x3')]();var auth=require(_0xda33('0x4'));var controller=require(_0xda33('0x5'));router['get']('/voice/channels',auth[_0xda33('0x6')](),controller[_0xda33('0x7')]);router['get']('/voice/channels/:uniqueid/mixmonitor',auth[_0xda33('0x6')](),controller[_0xda33('0x8')]);router['get']('/voice/channels/:uniqueid/stopmixmonitor',auth['isAuthenticated'](),controller[_0xda33('0x9')]);router[_0xda33('0xa')](_0xda33('0xb'),auth['isAuthenticated'](),controller[_0xda33('0xc')]);router['get']('/chat/queues',auth[_0xda33('0x6')](),controller[_0xda33('0xd')]);router[_0xda33('0xa')]('/mail/queues',auth[_0xda33('0x6')](),controller[_0xda33('0xe')]);router[_0xda33('0xa')](_0xda33('0xf'),auth['isAuthenticated'](),controller['mailAccounts']);router[_0xda33('0xa')](_0xda33('0x10'),auth[_0xda33('0x6')](),controller[_0xda33('0x11')]);router['get']('/sms/queues',auth['isAuthenticated'](),controller['smsQueues']);router[_0xda33('0xa')](_0xda33('0x12'),auth[_0xda33('0x6')](),controller[_0xda33('0x13')]);router[_0xda33('0xa')](_0xda33('0x14'),auth['isAuthenticated'](),controller[_0xda33('0x15')]);router['get'](_0xda33('0x16'),auth[_0xda33('0x6')](),controller[_0xda33('0x17')]);router[_0xda33('0xa')](_0xda33('0x18'),auth[_0xda33('0x6')](),controller[_0xda33('0x19')]);router[_0xda33('0xa')](_0xda33('0x1a'),auth[_0xda33('0x6')](),controller[_0xda33('0x1b')]);router[_0xda33('0xa')]('/voice/queues/channels/:uniqueid/hangup',auth[_0xda33('0x6')](),controller[_0xda33('0x1c')]);router['get']('/voice/queues/channels/:uniqueid/redirect/:exten',auth['isAuthenticated'](),controller[_0xda33('0x1d')]);router[_0xda33('0xa')]('/voice/queues/:id',auth['isAuthenticated'](),controller[_0xda33('0x1e')]);router[_0xda33('0x1f')](_0xda33('0x20'),auth[_0xda33('0x6')](),controller[_0xda33('0x21')]);router[_0xda33('0xa')](_0xda33('0x22'),auth[_0xda33('0x6')](),controller['outbound']);router['get']('/outbound/channels',auth['isAuthenticated'](),controller[_0xda33('0x23')]);router['get'](_0xda33('0x24'),auth[_0xda33('0x6')](),controller[_0xda33('0x25')]);router['put'](_0xda33('0x26'),auth['isAuthenticated'](),controller['agentCapacity']);router['get'](_0xda33('0x27'),auth[_0xda33('0x6')](),controller[_0xda33('0x28')]);router[_0xda33('0xa')](_0xda33('0x29'),auth[_0xda33('0x6')](),controller['trunks']);router[_0xda33('0xa')]('/campaigns',auth[_0xda33('0x6')](),controller[_0xda33('0x2a')]);router['get'](_0xda33('0x2b'),auth[_0xda33('0x6')](),controller[_0xda33('0x2c')]);router[_0xda33('0xa')](_0xda33('0x2d'),auth['isAuthenticated'](),controller[_0xda33('0x2e')]);router[_0xda33('0xa')]('/mail/queues/waitinginteractions',auth['isAuthenticated'](),controller[_0xda33('0x2f')]);router[_0xda33('0xa')]('/openchannel/queues/waitinginteractions',auth[_0xda33('0x6')](),controller[_0xda33('0x30')]);router[_0xda33('0xa')]('/openchannel/queues/:id/waitinginteractions',auth['isAuthenticated'](),controller[_0xda33('0x31')]);router['get'](_0xda33('0x32'),auth[_0xda33('0x6')](),controller[_0xda33('0x33')]);router['get'](_0xda33('0x34'),auth['isAuthenticated'](),controller[_0xda33('0x35')]);router['get'](_0xda33('0x36'),auth[_0xda33('0x6')](),controller[_0xda33('0x37')]);router['post'](_0xda33('0x38'),auth['isAuthenticated'](),controller[_0xda33('0x39')](_0xda33('0x3a')));router[_0xda33('0xa')]('/mail/queues/:id',auth[_0xda33('0x6')](),controller['showMailQueues']);router[_0xda33('0x3b')](_0xda33('0x3c'),auth['isAuthenticated'](),controller[_0xda33('0x39')]('chat'));router[_0xda33('0xa')](_0xda33('0x3d'),auth['isAuthenticated'](),controller[_0xda33('0x3e')]);router[_0xda33('0x3b')]('/fax/queues/:id/notify',auth[_0xda33('0x6')](),controller[_0xda33('0x39')]('fax'));router['get'](_0xda33('0x3f'),auth['isAuthenticated'](),controller[_0xda33('0x40')]);router[_0xda33('0x3b')](_0xda33('0x41'),auth[_0xda33('0x6')](),controller[_0xda33('0x39')](_0xda33('0x42')));router[_0xda33('0xa')]('/openchannel/queues/:id',auth[_0xda33('0x6')](),controller['showOpenchannelQueues']);router[_0xda33('0x3b')](_0xda33('0x43'),auth[_0xda33('0x6')](),controller[_0xda33('0x39')](_0xda33('0x44')));router[_0xda33('0x3b')](_0xda33('0x45'),auth['isAuthenticated'](),controller[_0xda33('0x39')](_0xda33('0x46')));router[_0xda33('0xa')](_0xda33('0x47'),auth[_0xda33('0x6')](),controller['showSmsQueues']);router[_0xda33('0xa')]('/whatsapp/queues/:id',auth['isAuthenticated'](),controller[_0xda33('0x48')]);router[_0xda33('0x3b')]('/agents/:id/notify',auth[_0xda33('0x6')](),controller[_0xda33('0x49')]);module[_0xda33('0x4a')]=router;
\ No newline at end of file