Built motion from commit 82a371561bcdbc7605c801e5e414f4032ba9e7ad. Version 3.0.0...
[motion-next.git] / server / api / rpc / index.js
1 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;