Built motion from commit 82a371561bcdbc7605c801e5e414f4032ba9e7ad. Version 3.0.0...
[motion-next.git] / server / api / rpc / index.js
index 19d8266..935bc0e 100644 (file)
@@ -1 +1 @@
-const a526_0x396a=['/chat/queues/:id','post','isAuthenticated','mail','/outbound/channels','/fax/queues/waitinginteractions','showFaxQueues','voiceChannels','openchannelQueues','whatsappQueuesWaitingInteractions','chatQueues','Router','/telephones','/sms/queues/:id','/voice/queues/channels/:uniqueid','/openchannel/queues/:id/notify','/voice/channels/:uniqueid/mixmonitor','voiceQueuesChannelHangup','get','voiceChannelStopMixMonitor','/voice/queues/preview/:id','voiceQueues','outboundChannels','/openchannel/queues/:id','showMailQueues','/mail/queues/:id/notify','exports','/whatsapp/queues/:id/notify','/mail/queues/:id','openchannel','/agents','mailAccounts','openchannelQueuesWaitingInteractions','/whatsapp/queues/waitinginteractions','voiceQueuesChannelRedirect','showWhatsappQueues','/voice/queues/:id','smsQueues','/voice/queues','showChatQueues','/whatsapp/queues','/chat/queues/waitinginteractions','agentCapacity','/agents/:id/notify','faxQueues','showOpenchannelQueues','/sms/queues','express','/sms/queues/:id/notify','/sms/queues/waitinginteractions','mailQueuesWaitingInteractions','showVoiceQueues','/trunks','/agents/:id/capacity','/chat/queues/:id/notify','voiceQueuesPreview','telephones','/voice/channels/:uniqueid/stopmixmonitor','queueNotify','/voice/channels','/fax/queues/:id/notify','fax','campaigns','/campaigns','/fax/accounts','/whatsapp/queues/:id','voiceQueuesChannels','put','trunks','/openchannel/queues','/voice/queues/channels','faxQueuesWaitingInteractions','/openchannel/queues/waitinginteractions','/mail/queues','/voice/queues/channels/:uniqueid/redirect/:exten','/fax/queues','/openchannel/queues/:id/waitinginteractions','outbound','mailQueues','/voice/queues/channels/:uniqueid/hangup','sms'];(function(_0x5740b2,_0x396ad3){const _0x349ed2=function(_0x316056){while(--_0x316056){_0x5740b2['push'](_0x5740b2['shift']());}};_0x349ed2(++_0x396ad3);}(a526_0x396a,0x153));const a526_0x349e=function(_0x5740b2,_0x396ad3){_0x5740b2=_0x5740b2-0x0;let _0x349ed2=a526_0x396a[_0x5740b2];return _0x349ed2;};const _0xb6e407=a526_0x349e;'use strict';const express=require(_0xb6e407('0x20')),router=express[_0xb6e407('0x4d')](),auth=require('../../components/auth/service'),controller=require('./rpc.controller');router[_0xb6e407('0x3')](_0xb6e407('0x2c'),auth[_0xb6e407('0x44')](),controller[_0xb6e407('0x49')]),router[_0xb6e407('0x3')](_0xb6e407('0x1'),auth['isAuthenticated'](),controller['voiceChannelMixMonitor']),router[_0xb6e407('0x3')](_0xb6e407('0x2a'),auth[_0xb6e407('0x44')](),controller[_0xb6e407('0x4')]),router[_0xb6e407('0x3')](_0xb6e407('0x17'),auth[_0xb6e407('0x44')](),controller[_0xb6e407('0x6')]),router['get']('/chat/queues',auth[_0xb6e407('0x44')](),controller[_0xb6e407('0x4c')]),router[_0xb6e407('0x3')](_0xb6e407('0x3a'),auth[_0xb6e407('0x44')](),controller[_0xb6e407('0x3f')]),router['get']('/mail/accounts',auth[_0xb6e407('0x44')](),controller[_0xb6e407('0x10')]),router[_0xb6e407('0x3')](_0xb6e407('0x36'),auth[_0xb6e407('0x44')](),controller[_0xb6e407('0x4a')]),router[_0xb6e407('0x3')](_0xb6e407('0x1f'),auth[_0xb6e407('0x44')](),controller[_0xb6e407('0x16')]),router[_0xb6e407('0x3')](_0xb6e407('0x19'),auth[_0xb6e407('0x44')](),controller['whatsappQueues']),router['get'](_0xb6e407('0x3c'),auth[_0xb6e407('0x44')](),controller[_0xb6e407('0x1d')]),router[_0xb6e407('0x3')](_0xb6e407('0x5'),auth[_0xb6e407('0x44')](),controller[_0xb6e407('0x28')]),router[_0xb6e407('0x3')](_0xb6e407('0x37'),auth[_0xb6e407('0x44')](),controller[_0xb6e407('0x33')]),router[_0xb6e407('0x3')](_0xb6e407('0x50'),auth[_0xb6e407('0x44')](),controller['voiceQueuesChannel']),router[_0xb6e407('0x3')](_0xb6e407('0x40'),auth[_0xb6e407('0x44')](),controller[_0xb6e407('0x2')]),router[_0xb6e407('0x3')](_0xb6e407('0x3b'),auth[_0xb6e407('0x44')](),controller[_0xb6e407('0x13')]),router[_0xb6e407('0x3')](_0xb6e407('0x15'),auth[_0xb6e407('0x44')](),controller[_0xb6e407('0x24')]),router[_0xb6e407('0x3')]('/outbound',auth[_0xb6e407('0x44')](),controller[_0xb6e407('0x3e')]),router[_0xb6e407('0x3')](_0xb6e407('0x46'),auth[_0xb6e407('0x44')](),controller[_0xb6e407('0x7')]),router[_0xb6e407('0x3')](_0xb6e407('0xf'),auth[_0xb6e407('0x44')](),controller['agents']),router[_0xb6e407('0x34')](_0xb6e407('0x26'),auth[_0xb6e407('0x44')](),controller[_0xb6e407('0x1b')]),router[_0xb6e407('0x3')](_0xb6e407('0x4e'),auth[_0xb6e407('0x44')](),controller[_0xb6e407('0x29')]),router[_0xb6e407('0x3')](_0xb6e407('0x25'),auth[_0xb6e407('0x44')](),controller[_0xb6e407('0x35')]),router[_0xb6e407('0x3')](_0xb6e407('0x30'),auth[_0xb6e407('0x44')](),controller[_0xb6e407('0x2f')]),router[_0xb6e407('0x3')](_0xb6e407('0x31'),auth['isAuthenticated'](),controller['faxAccounts']),router[_0xb6e407('0x3')](_0xb6e407('0x1a'),auth[_0xb6e407('0x44')](),controller['chatQueuesWaitingInteractions']),router[_0xb6e407('0x3')]('/mail/queues/waitinginteractions',auth[_0xb6e407('0x44')](),controller[_0xb6e407('0x23')]),router['get'](_0xb6e407('0x39'),auth['isAuthenticated'](),controller[_0xb6e407('0x11')]),router['get'](_0xb6e407('0x3d'),auth[_0xb6e407('0x44')](),controller['openchannelQueuesIdWaitingInteractions']),router['get'](_0xb6e407('0x22'),auth[_0xb6e407('0x44')](),controller['smsQueuesWaitingInteractions']),router[_0xb6e407('0x3')](_0xb6e407('0x12'),auth['isAuthenticated'](),controller[_0xb6e407('0x4b')]),router['get'](_0xb6e407('0x47'),auth['isAuthenticated'](),controller[_0xb6e407('0x38')]),router[_0xb6e407('0x43')](_0xb6e407('0xa'),auth[_0xb6e407('0x44')](),controller[_0xb6e407('0x2b')](_0xb6e407('0x45'))),router[_0xb6e407('0x3')](_0xb6e407('0xd'),auth['isAuthenticated'](),controller[_0xb6e407('0x9')]),router['post'](_0xb6e407('0x27'),auth[_0xb6e407('0x44')](),controller['queueNotify']('chat')),router['get'](_0xb6e407('0x42'),auth[_0xb6e407('0x44')](),controller[_0xb6e407('0x18')]),router[_0xb6e407('0x43')](_0xb6e407('0x2d'),auth[_0xb6e407('0x44')](),controller[_0xb6e407('0x2b')](_0xb6e407('0x2e'))),router['get']('/fax/queues/:id',auth[_0xb6e407('0x44')](),controller[_0xb6e407('0x48')]),router['post'](_0xb6e407('0x0'),auth[_0xb6e407('0x44')](),controller[_0xb6e407('0x2b')](_0xb6e407('0xe'))),router[_0xb6e407('0x3')](_0xb6e407('0x8'),auth[_0xb6e407('0x44')](),controller[_0xb6e407('0x1e')]),router[_0xb6e407('0x43')](_0xb6e407('0x21'),auth[_0xb6e407('0x44')](),controller[_0xb6e407('0x2b')](_0xb6e407('0x41'))),router[_0xb6e407('0x43')](_0xb6e407('0xc'),auth['isAuthenticated'](),controller[_0xb6e407('0x2b')]('whatsapp')),router[_0xb6e407('0x3')](_0xb6e407('0x4f'),auth[_0xb6e407('0x44')](),controller['showSmsQueues']),router[_0xb6e407('0x3')](_0xb6e407('0x32'),auth[_0xb6e407('0x44')](),controller[_0xb6e407('0x14')]),router['post'](_0xb6e407('0x1c'),auth[_0xb6e407('0x44')](),controller['agentNotify']),module[_0xb6e407('0xb')]=router;
\ No newline at end of file
+const a526_0x5852=['/outbound','isAuthenticated','/sms/queues/waitinginteractions','post','voiceChannelStopMixMonitor','/agents/:id/capacity','/voice/queues/channels/:uniqueid/hangup','/openchannel/queues/:id','/whatsapp/queues','../../components/auth/service','/sms/queues/:id/notify','showVoiceQueues','showFaxQueues','get','agents','outboundChannels','chat','./rpc.controller','mailQueues','/outbound/channels','voiceQueuesChannelRedirect','agentNotify','openchannelQueues','/whatsapp/queues/:id','express','Router','chatQueues','/openchannel/queues/waitinginteractions','faxAccounts','whatsappQueuesWaitingInteractions','voiceChannelMixMonitor','voiceQueuesChannels','/openchannel/queues/:id/notify','showOpenchannelQueues','/voice/channels/:uniqueid/stopmixmonitor','/voice/queues/channels/:uniqueid/redirect/:exten','/fax/queues/:id','outbound','voiceQueuesPreview','/mail/queues/:id/notify','trunks','put','/voice/queues/channels','sms','/voice/channels/:uniqueid/mixmonitor','openchannel','/telephones','mailQueuesWaitingInteractions','/sms/queues/:id','voiceQueuesChannelHangup','openchannelQueuesIdWaitingInteractions','showMailQueues','/whatsapp/queues/:id/notify','/fax/queues','/whatsapp/queues/waitinginteractions','openchannelQueuesWaitingInteractions','/campaigns','showChatQueues','/fax/queues/waitinginteractions','/voice/queues','/mail/queues','telephones','whatsappQueues','/voice/queues/channels/:uniqueid','/fax/accounts','/mail/queues/:id','faxQueuesWaitingInteractions','voiceQueues','fax','/chat/queues','/mail/queues/waitinginteractions','agentCapacity','/openchannel/queues','queueNotify','/sms/queues','/voice/channels','/agents/:id/notify','showSmsQueues'];(function(_0x461440,_0x5852db){const _0x12fb1e=function(_0x343423){while(--_0x343423){_0x461440['push'](_0x461440['shift']());}};_0x12fb1e(++_0x5852db);}(a526_0x5852,0x66));const a526_0x12fb=function(_0x461440,_0x5852db){_0x461440=_0x461440-0x0;let _0x12fb1e=a526_0x5852[_0x461440];return _0x12fb1e;};const _0x1449a9=a526_0x12fb;'use strict';const express=require(_0x1449a9('0x0')),router=express[_0x1449a9('0x1')](),auth=require(_0x1449a9('0x3f')),controller=require(_0x1449a9('0x47'));router['get'](_0x1449a9('0x33'),auth[_0x1449a9('0x37')](),controller['voiceChannels']),router[_0x1449a9('0x43')](_0x1449a9('0x14'),auth['isAuthenticated'](),controller[_0x1449a9('0x6')]),router[_0x1449a9('0x43')](_0x1449a9('0xa'),auth['isAuthenticated'](),controller[_0x1449a9('0x3a')]),router[_0x1449a9('0x43')](_0x1449a9('0x23'),auth[_0x1449a9('0x37')](),controller[_0x1449a9('0x2b')]),router['get'](_0x1449a9('0x2d'),auth[_0x1449a9('0x37')](),controller[_0x1449a9('0x2')]),router[_0x1449a9('0x43')](_0x1449a9('0x24'),auth[_0x1449a9('0x37')](),controller[_0x1449a9('0x48')]),router[_0x1449a9('0x43')]('/mail/accounts',auth[_0x1449a9('0x37')](),controller['mailAccounts']),router['get'](_0x1449a9('0x30'),auth[_0x1449a9('0x37')](),controller[_0x1449a9('0x4c')]),router[_0x1449a9('0x43')](_0x1449a9('0x32'),auth[_0x1449a9('0x37')](),controller['smsQueues']),router[_0x1449a9('0x43')](_0x1449a9('0x3e'),auth[_0x1449a9('0x37')](),controller[_0x1449a9('0x26')]),router[_0x1449a9('0x43')](_0x1449a9('0x1d'),auth[_0x1449a9('0x37')](),controller['faxQueues']),router[_0x1449a9('0x43')]('/voice/queues/preview/:id',auth[_0x1449a9('0x37')](),controller[_0x1449a9('0xe')]),router[_0x1449a9('0x43')](_0x1449a9('0x12'),auth[_0x1449a9('0x37')](),controller[_0x1449a9('0x7')]),router['get'](_0x1449a9('0x27'),auth[_0x1449a9('0x37')](),controller['voiceQueuesChannel']),router['get'](_0x1449a9('0x3c'),auth[_0x1449a9('0x37')](),controller[_0x1449a9('0x19')]),router['get'](_0x1449a9('0xb'),auth[_0x1449a9('0x37')](),controller[_0x1449a9('0x4a')]),router['get']('/voice/queues/:id',auth[_0x1449a9('0x37')](),controller[_0x1449a9('0x41')]),router[_0x1449a9('0x43')](_0x1449a9('0x36'),auth[_0x1449a9('0x37')](),controller[_0x1449a9('0xd')]),router[_0x1449a9('0x43')](_0x1449a9('0x49'),auth[_0x1449a9('0x37')](),controller[_0x1449a9('0x45')]),router[_0x1449a9('0x43')]('/agents',auth[_0x1449a9('0x37')](),controller[_0x1449a9('0x44')]),router[_0x1449a9('0x11')](_0x1449a9('0x3b'),auth[_0x1449a9('0x37')](),controller[_0x1449a9('0x2f')]),router[_0x1449a9('0x43')](_0x1449a9('0x16'),auth[_0x1449a9('0x37')](),controller[_0x1449a9('0x25')]),router[_0x1449a9('0x43')]('/trunks',auth[_0x1449a9('0x37')](),controller[_0x1449a9('0x10')]),router[_0x1449a9('0x43')](_0x1449a9('0x20'),auth[_0x1449a9('0x37')](),controller['campaigns']),router[_0x1449a9('0x43')](_0x1449a9('0x28'),auth[_0x1449a9('0x37')](),controller[_0x1449a9('0x4')]),router[_0x1449a9('0x43')]('/chat/queues/waitinginteractions',auth[_0x1449a9('0x37')](),controller['chatQueuesWaitingInteractions']),router['get'](_0x1449a9('0x2e'),auth[_0x1449a9('0x37')](),controller[_0x1449a9('0x17')]),router['get'](_0x1449a9('0x3'),auth[_0x1449a9('0x37')](),controller[_0x1449a9('0x1f')]),router[_0x1449a9('0x43')]('/openchannel/queues/:id/waitinginteractions',auth[_0x1449a9('0x37')](),controller[_0x1449a9('0x1a')]),router['get'](_0x1449a9('0x38'),auth[_0x1449a9('0x37')](),controller['smsQueuesWaitingInteractions']),router[_0x1449a9('0x43')](_0x1449a9('0x1e'),auth[_0x1449a9('0x37')](),controller[_0x1449a9('0x5')]),router[_0x1449a9('0x43')](_0x1449a9('0x22'),auth[_0x1449a9('0x37')](),controller[_0x1449a9('0x2a')]),router[_0x1449a9('0x39')](_0x1449a9('0xf'),auth[_0x1449a9('0x37')](),controller[_0x1449a9('0x31')]('mail')),router[_0x1449a9('0x43')](_0x1449a9('0x29'),auth[_0x1449a9('0x37')](),controller[_0x1449a9('0x1b')]),router[_0x1449a9('0x39')]('/chat/queues/:id/notify',auth['isAuthenticated'](),controller[_0x1449a9('0x31')](_0x1449a9('0x46'))),router[_0x1449a9('0x43')]('/chat/queues/:id',auth[_0x1449a9('0x37')](),controller[_0x1449a9('0x21')]),router[_0x1449a9('0x39')]('/fax/queues/:id/notify',auth['isAuthenticated'](),controller[_0x1449a9('0x31')](_0x1449a9('0x2c'))),router[_0x1449a9('0x43')](_0x1449a9('0xc'),auth[_0x1449a9('0x37')](),controller[_0x1449a9('0x42')]),router[_0x1449a9('0x39')](_0x1449a9('0x8'),auth[_0x1449a9('0x37')](),controller[_0x1449a9('0x31')](_0x1449a9('0x15'))),router[_0x1449a9('0x43')](_0x1449a9('0x3d'),auth[_0x1449a9('0x37')](),controller[_0x1449a9('0x9')]),router['post'](_0x1449a9('0x40'),auth['isAuthenticated'](),controller[_0x1449a9('0x31')](_0x1449a9('0x13'))),router[_0x1449a9('0x39')](_0x1449a9('0x1c'),auth[_0x1449a9('0x37')](),controller[_0x1449a9('0x31')]('whatsapp')),router[_0x1449a9('0x43')](_0x1449a9('0x18'),auth['isAuthenticated'](),controller[_0x1449a9('0x35')]),router[_0x1449a9('0x43')](_0x1449a9('0x4d'),auth[_0x1449a9('0x37')](),controller['showWhatsappQueues']),router[_0x1449a9('0x39')](_0x1449a9('0x34'),auth[_0x1449a9('0x37')](),controller[_0x1449a9('0x4b')]),module['exports']=router;
\ No newline at end of file