Built motion from commit 5fcd269f5146f10cf3129722d518881dfac64576. Version 3.0.0...
[motion-next.git] / server / api / rpc / index.js
index 817e23d..2ad9d74 100644 (file)
@@ -1 +1 @@
-const a526_0x2273=['/sms/queues/:id/notify','mailQueuesWaitingInteractions','/voice/queues/:id','/whatsapp/queues/waitinginteractions','agentNotify','fax','express','whatsapp','/openchannel/queues','faxQueues','mail','/voice/queues/channels/:uniqueid/hangup','voiceQueuesChannelHangup','/fax/accounts','/campaigns','/voice/channels','whatsappQueues','/agents/:id/notify','/chat/queues','faxAccounts','/outbound','showChatQueues','/telephones','trunks','/trunks','/voice/queues/channels/:uniqueid/redirect/:exten','campaigns','/agents','showMailQueues','/mail/accounts','/openchannel/queues/:id/notify','queueNotify','/fax/queues/:id/notify','/outbound/channels','/sms/queues/waitinginteractions','chat','/mail/queues/:id/notify','voiceQueuesChannelRedirect','/fax/queues','showSmsQueues','outboundChannels','post','voiceQueuesChannels','voiceQueuesChannel','/voice/queues/channels','openchannelQueuesWaitingInteractions','voiceChannelStopMixMonitor','/voice/queues/channels/:uniqueid','/whatsapp/queues/:id/notify','sms','get','exports','/openchannel/queues/:id/waitinginteractions','/chat/queues/waitinginteractions','/mail/queues/:id','showVoiceQueues','mailQueues','/whatsapp/queues','isAuthenticated','put','/fax/queues/:id','outbound','./rpc.controller','/agents/:id/capacity','/fax/queues/waitinginteractions','voiceChannelMixMonitor','smsQueues','agents','openchannelQueues'];(function(_0x2036d6,_0x22730f){const _0x1dd18b=function(_0x1a0db8){while(--_0x1a0db8){_0x2036d6['push'](_0x2036d6['shift']());}};_0x1dd18b(++_0x22730f);}(a526_0x2273,0x150));const a526_0x1dd1=function(_0x2036d6,_0x22730f){_0x2036d6=_0x2036d6-0x0;let _0x1dd18b=a526_0x2273[_0x2036d6];return _0x1dd18b;};const _0x2bcc4a=a526_0x1dd1;'use strict';const express=require(_0x2bcc4a('0xf')),router=express['Router'](),auth=require('../../components/auth/service'),controller=require(_0x2bcc4a('0x2'));router[_0x2bcc4a('0x3b')](_0x2bcc4a('0x18'),auth[_0x2bcc4a('0x43')](),controller['voiceChannels']),router[_0x2bcc4a('0x3b')]('/voice/channels/:uniqueid/mixmonitor',auth[_0x2bcc4a('0x43')](),controller[_0x2bcc4a('0x5')]),router['get']('/voice/channels/:uniqueid/stopmixmonitor',auth[_0x2bcc4a('0x43')](),controller[_0x2bcc4a('0x37')]),router[_0x2bcc4a('0x3b')]('/voice/queues',auth[_0x2bcc4a('0x43')](),controller['voiceQueues']),router[_0x2bcc4a('0x3b')](_0x2bcc4a('0x1b'),auth[_0x2bcc4a('0x43')](),controller['chatQueues']),router[_0x2bcc4a('0x3b')]('/mail/queues',auth[_0x2bcc4a('0x43')](),controller[_0x2bcc4a('0x41')]),router[_0x2bcc4a('0x3b')](_0x2bcc4a('0x26'),auth[_0x2bcc4a('0x43')](),controller['mailAccounts']),router[_0x2bcc4a('0x3b')](_0x2bcc4a('0x11'),auth[_0x2bcc4a('0x43')](),controller[_0x2bcc4a('0x8')]),router['get']('/sms/queues',auth['isAuthenticated'](),controller[_0x2bcc4a('0x6')]),router[_0x2bcc4a('0x3b')](_0x2bcc4a('0x42'),auth['isAuthenticated'](),controller[_0x2bcc4a('0x19')]),router[_0x2bcc4a('0x3b')](_0x2bcc4a('0x2f'),auth['isAuthenticated'](),controller[_0x2bcc4a('0x12')]),router[_0x2bcc4a('0x3b')]('/voice/queues/preview/:id',auth[_0x2bcc4a('0x43')](),controller['voiceQueuesPreview']),router['get'](_0x2bcc4a('0x35'),auth['isAuthenticated'](),controller[_0x2bcc4a('0x33')]),router['get'](_0x2bcc4a('0x38'),auth[_0x2bcc4a('0x43')](),controller[_0x2bcc4a('0x34')]),router[_0x2bcc4a('0x3b')](_0x2bcc4a('0x14'),auth[_0x2bcc4a('0x43')](),controller[_0x2bcc4a('0x15')]),router['get'](_0x2bcc4a('0x22'),auth[_0x2bcc4a('0x43')](),controller[_0x2bcc4a('0x2e')]),router[_0x2bcc4a('0x3b')](_0x2bcc4a('0xb'),auth[_0x2bcc4a('0x43')](),controller[_0x2bcc4a('0x40')]),router[_0x2bcc4a('0x3b')](_0x2bcc4a('0x1d'),auth[_0x2bcc4a('0x43')](),controller[_0x2bcc4a('0x1')]),router['get'](_0x2bcc4a('0x2a'),auth[_0x2bcc4a('0x43')](),controller[_0x2bcc4a('0x31')]),router[_0x2bcc4a('0x3b')](_0x2bcc4a('0x24'),auth[_0x2bcc4a('0x43')](),controller[_0x2bcc4a('0x7')]),router[_0x2bcc4a('0x44')](_0x2bcc4a('0x3'),auth[_0x2bcc4a('0x43')](),controller['agentCapacity']),router['get'](_0x2bcc4a('0x1f'),auth[_0x2bcc4a('0x43')](),controller['telephones']),router[_0x2bcc4a('0x3b')](_0x2bcc4a('0x21'),auth[_0x2bcc4a('0x43')](),controller[_0x2bcc4a('0x20')]),router[_0x2bcc4a('0x3b')](_0x2bcc4a('0x17'),auth['isAuthenticated'](),controller[_0x2bcc4a('0x23')]),router[_0x2bcc4a('0x3b')](_0x2bcc4a('0x16'),auth['isAuthenticated'](),controller[_0x2bcc4a('0x1c')]),router[_0x2bcc4a('0x3b')](_0x2bcc4a('0x3e'),auth[_0x2bcc4a('0x43')](),controller['chatQueuesWaitingInteractions']),router['get']('/mail/queues/waitinginteractions',auth['isAuthenticated'](),controller[_0x2bcc4a('0xa')]),router[_0x2bcc4a('0x3b')]('/openchannel/queues/waitinginteractions',auth['isAuthenticated'](),controller[_0x2bcc4a('0x36')]),router[_0x2bcc4a('0x3b')](_0x2bcc4a('0x3d'),auth[_0x2bcc4a('0x43')](),controller['openchannelQueuesIdWaitingInteractions']),router[_0x2bcc4a('0x3b')](_0x2bcc4a('0x2b'),auth[_0x2bcc4a('0x43')](),controller['smsQueuesWaitingInteractions']),router[_0x2bcc4a('0x3b')](_0x2bcc4a('0xc'),auth[_0x2bcc4a('0x43')](),controller['whatsappQueuesWaitingInteractions']),router['get'](_0x2bcc4a('0x4'),auth['isAuthenticated'](),controller['faxQueuesWaitingInteractions']),router[_0x2bcc4a('0x32')](_0x2bcc4a('0x2d'),auth[_0x2bcc4a('0x43')](),controller[_0x2bcc4a('0x28')](_0x2bcc4a('0x13'))),router[_0x2bcc4a('0x3b')](_0x2bcc4a('0x3f'),auth['isAuthenticated'](),controller[_0x2bcc4a('0x25')]),router['post']('/chat/queues/:id/notify',auth['isAuthenticated'](),controller[_0x2bcc4a('0x28')](_0x2bcc4a('0x2c'))),router[_0x2bcc4a('0x3b')]('/chat/queues/:id',auth[_0x2bcc4a('0x43')](),controller[_0x2bcc4a('0x1e')]),router['post'](_0x2bcc4a('0x29'),auth[_0x2bcc4a('0x43')](),controller[_0x2bcc4a('0x28')](_0x2bcc4a('0xe'))),router['get'](_0x2bcc4a('0x0'),auth['isAuthenticated'](),controller['showFaxQueues']),router[_0x2bcc4a('0x32')](_0x2bcc4a('0x27'),auth['isAuthenticated'](),controller['queueNotify']('openchannel')),router[_0x2bcc4a('0x3b')]('/openchannel/queues/:id',auth[_0x2bcc4a('0x43')](),controller['showOpenchannelQueues']),router[_0x2bcc4a('0x32')](_0x2bcc4a('0x9'),auth[_0x2bcc4a('0x43')](),controller[_0x2bcc4a('0x28')](_0x2bcc4a('0x3a'))),router[_0x2bcc4a('0x32')](_0x2bcc4a('0x39'),auth[_0x2bcc4a('0x43')](),controller['queueNotify'](_0x2bcc4a('0x10'))),router[_0x2bcc4a('0x3b')]('/sms/queues/:id',auth[_0x2bcc4a('0x43')](),controller[_0x2bcc4a('0x30')]),router[_0x2bcc4a('0x3b')]('/whatsapp/queues/:id',auth[_0x2bcc4a('0x43')](),controller['showWhatsappQueues']),router[_0x2bcc4a('0x32')](_0x2bcc4a('0x1a'),auth[_0x2bcc4a('0x43')](),controller[_0x2bcc4a('0xd')]),module[_0x2bcc4a('0x3c')]=router;
\ No newline at end of file
+const a526_0x513b=['showSmsQueues','/outbound','faxQueuesWaitingInteractions','/fax/queues','queueNotify','/voice/channels/:uniqueid/stopmixmonitor','/whatsapp/queues','whatsappQueuesWaitingInteractions','/outbound/channels','smsQueuesWaitingInteractions','/voice/queues/channels/:uniqueid/hangup','voiceQueuesPreview','openchannelQueues','/sms/queues/:id','/chat/queues','showChatQueues','voiceChannels','faxAccounts','/mail/queues/:id','/voice/queues/channels/:uniqueid/redirect/:exten','get','voiceQueuesChannels','express','/openchannel/queues/:id','/voice/channels','/whatsapp/queues/:id','showWhatsappQueues','/mail/accounts','/openchannel/queues/waitinginteractions','mailQueues','/sms/queues/waitinginteractions','/chat/queues/:id','voiceChannelStopMixMonitor','exports','/sms/queues','chat','chatQueuesWaitingInteractions','openchannel','smsQueues','/voice/queues/:id','/trunks','../../components/auth/service','campaigns','showFaxQueues','/openchannel/queues','mailAccounts','/agents/:id/notify','chatQueues','/fax/queues/waitinginteractions','outbound','showVoiceQueues','voiceQueuesChannel','whatsapp','whatsappQueues','post','/voice/channels/:uniqueid/mixmonitor','/voice/queues','outboundChannels','/agents/:id/capacity','isAuthenticated','/whatsapp/queues/waitinginteractions','/openchannel/queues/:id/notify','/campaigns','/fax/accounts','openchannelQueuesWaitingInteractions','showOpenchannelQueues','voiceQueuesChannelHangup','voiceChannelMixMonitor','/fax/queues/:id/notify','/sms/queues/:id/notify','voiceQueues'];(function(_0x1c5077,_0x513bb4){const _0xc82845=function(_0x40e054){while(--_0x40e054){_0x1c5077['push'](_0x1c5077['shift']());}};_0xc82845(++_0x513bb4);}(a526_0x513b,0xca));const a526_0xc828=function(_0x1c5077,_0x513bb4){_0x1c5077=_0x1c5077-0x0;let _0xc82845=a526_0x513b[_0x1c5077];return _0xc82845;};const _0x400e31=a526_0xc828;'use strict';const express=require(_0x400e31('0x21')),router=express['Router'](),auth=require(_0x400e31('0x34')),controller=require('./rpc.controller');router[_0x400e31('0x1f')](_0x400e31('0x23'),auth[_0x400e31('0x46')](),controller[_0x400e31('0x1b')]),router['get'](_0x400e31('0x42'),auth['isAuthenticated'](),controller[_0x400e31('0x7')]),router[_0x400e31('0x1f')](_0x400e31('0x10'),auth[_0x400e31('0x46')](),controller[_0x400e31('0x2b')]),router[_0x400e31('0x1f')](_0x400e31('0x43'),auth['isAuthenticated'](),controller[_0x400e31('0xa')]),router['get'](_0x400e31('0x19'),auth[_0x400e31('0x46')](),controller[_0x400e31('0x3a')]),router[_0x400e31('0x1f')]('/mail/queues',auth[_0x400e31('0x46')](),controller[_0x400e31('0x28')]),router[_0x400e31('0x1f')](_0x400e31('0x26'),auth[_0x400e31('0x46')](),controller[_0x400e31('0x38')]),router[_0x400e31('0x1f')](_0x400e31('0x37'),auth['isAuthenticated'](),controller[_0x400e31('0x17')]),router['get'](_0x400e31('0x2d'),auth['isAuthenticated'](),controller[_0x400e31('0x31')]),router[_0x400e31('0x1f')](_0x400e31('0x11'),auth[_0x400e31('0x46')](),controller[_0x400e31('0x40')]),router[_0x400e31('0x1f')](_0x400e31('0xe'),auth['isAuthenticated'](),controller['faxQueues']),router[_0x400e31('0x1f')]('/voice/queues/preview/:id',auth[_0x400e31('0x46')](),controller[_0x400e31('0x16')]),router[_0x400e31('0x1f')]('/voice/queues/channels',auth[_0x400e31('0x46')](),controller[_0x400e31('0x20')]),router['get']('/voice/queues/channels/:uniqueid',auth[_0x400e31('0x46')](),controller[_0x400e31('0x3e')]),router['get'](_0x400e31('0x15'),auth[_0x400e31('0x46')](),controller[_0x400e31('0x6')]),router[_0x400e31('0x1f')](_0x400e31('0x1e'),auth[_0x400e31('0x46')](),controller['voiceQueuesChannelRedirect']),router[_0x400e31('0x1f')](_0x400e31('0x32'),auth[_0x400e31('0x46')](),controller[_0x400e31('0x3d')]),router[_0x400e31('0x1f')](_0x400e31('0xc'),auth[_0x400e31('0x46')](),controller[_0x400e31('0x3c')]),router['get'](_0x400e31('0x13'),auth[_0x400e31('0x46')](),controller[_0x400e31('0x44')]),router[_0x400e31('0x1f')]('/agents',auth[_0x400e31('0x46')](),controller['agents']),router['put'](_0x400e31('0x45'),auth['isAuthenticated'](),controller['agentCapacity']),router[_0x400e31('0x1f')]('/telephones',auth['isAuthenticated'](),controller['telephones']),router[_0x400e31('0x1f')](_0x400e31('0x33'),auth['isAuthenticated'](),controller['trunks']),router['get'](_0x400e31('0x2'),auth['isAuthenticated'](),controller[_0x400e31('0x35')]),router[_0x400e31('0x1f')](_0x400e31('0x3'),auth[_0x400e31('0x46')](),controller[_0x400e31('0x1c')]),router[_0x400e31('0x1f')]('/chat/queues/waitinginteractions',auth[_0x400e31('0x46')](),controller[_0x400e31('0x2f')]),router[_0x400e31('0x1f')]('/mail/queues/waitinginteractions',auth[_0x400e31('0x46')](),controller['mailQueuesWaitingInteractions']),router[_0x400e31('0x1f')](_0x400e31('0x27'),auth[_0x400e31('0x46')](),controller[_0x400e31('0x4')]),router[_0x400e31('0x1f')]('/openchannel/queues/:id/waitinginteractions',auth[_0x400e31('0x46')](),controller['openchannelQueuesIdWaitingInteractions']),router[_0x400e31('0x1f')](_0x400e31('0x29'),auth['isAuthenticated'](),controller[_0x400e31('0x14')]),router[_0x400e31('0x1f')](_0x400e31('0x0'),auth[_0x400e31('0x46')](),controller[_0x400e31('0x12')]),router[_0x400e31('0x1f')](_0x400e31('0x3b'),auth[_0x400e31('0x46')](),controller[_0x400e31('0xd')]),router[_0x400e31('0x41')]('/mail/queues/:id/notify',auth[_0x400e31('0x46')](),controller[_0x400e31('0xf')]('mail')),router['get'](_0x400e31('0x1d'),auth[_0x400e31('0x46')](),controller['showMailQueues']),router[_0x400e31('0x41')]('/chat/queues/:id/notify',auth[_0x400e31('0x46')](),controller[_0x400e31('0xf')](_0x400e31('0x2e'))),router['get'](_0x400e31('0x2a'),auth[_0x400e31('0x46')](),controller[_0x400e31('0x1a')]),router['post'](_0x400e31('0x8'),auth[_0x400e31('0x46')](),controller[_0x400e31('0xf')]('fax')),router[_0x400e31('0x1f')]('/fax/queues/:id',auth[_0x400e31('0x46')](),controller[_0x400e31('0x36')]),router[_0x400e31('0x41')](_0x400e31('0x1'),auth[_0x400e31('0x46')](),controller[_0x400e31('0xf')](_0x400e31('0x30'))),router[_0x400e31('0x1f')](_0x400e31('0x22'),auth['isAuthenticated'](),controller[_0x400e31('0x5')]),router[_0x400e31('0x41')](_0x400e31('0x9'),auth[_0x400e31('0x46')](),controller[_0x400e31('0xf')]('sms')),router[_0x400e31('0x41')]('/whatsapp/queues/:id/notify',auth['isAuthenticated'](),controller['queueNotify'](_0x400e31('0x3f'))),router[_0x400e31('0x1f')](_0x400e31('0x18'),auth['isAuthenticated'](),controller[_0x400e31('0xb')]),router[_0x400e31('0x1f')](_0x400e31('0x24'),auth[_0x400e31('0x46')](),controller[_0x400e31('0x25')]),router[_0x400e31('0x41')](_0x400e31('0x39'),auth['isAuthenticated'](),controller['agentNotify']),module[_0x400e31('0x2c')]=router;
\ No newline at end of file