Built motion from commit 129fb4d95212661e48f0db455e75d668addbaddf. Version 3.0.0...
[motion-next.git] / server / api / rpc / index.js
index bb4af67..798fd24 100644 (file)
@@ -1 +1 @@
-const a526_0x2c24=['/voice/queues/channels/:uniqueid','/openchannel/queues/:id','/mail/queues/waitinginteractions','/whatsapp/queues/:id','mailQueues','voiceQueuesChannels','/chat/queues/:id','/chat/queues','/sms/queues/waitinginteractions','express','put','voiceQueuesChannelRedirect','/mail/queues','showWhatsappQueues','agents','Router','/trunks','/campaigns','/voice/queues/channels','mailQueuesWaitingInteractions','/whatsapp/queues/waitinginteractions','voiceQueues','/chat/queues/:id/notify','showMailQueues','outboundChannels','voiceQueuesChannelHangup','get','outbound','smsQueuesWaitingInteractions','/fax/queues/waitinginteractions','openchannel','agentNotify','/voice/queues','/openchannel/queues','/voice/queues/preview/:id','../../components/auth/service','/chat/queues/waitinginteractions','/sms/queues','/whatsapp/queues/:id/notify','/mail/queues/:id/notify','/outbound','fax','agentCapacity','sms','/voice/queues/:id','/voice/channels/:uniqueid/stopmixmonitor','/voice/queues/channels/:uniqueid/hangup','faxQueues','showOpenchannelQueues','faxAccounts','/fax/queues','isAuthenticated','/openchannel/queues/waitinginteractions','/agents','/mail/accounts','faxQueuesWaitingInteractions','/outbound/channels','/fax/queues/:id','post','voiceChannelStopMixMonitor','queueNotify','mailAccounts','openchannelQueuesWaitingInteractions','mail','/sms/queues/:id/notify','voiceChannels','./rpc.controller','voiceQueuesChannel','/telephones','/voice/channels','whatsappQueues','/sms/queues/:id','/openchannel/queues/:id/waitinginteractions','/agents/:id/notify','showSmsQueues','showFaxQueues','/voice/channels/:uniqueid/mixmonitor','telephones','/voice/queues/channels/:uniqueid/redirect/:exten','voiceChannelMixMonitor'];(function(_0x3d6354,_0x2c24d5){const _0x27cd95=function(_0x3d1e96){while(--_0x3d1e96){_0x3d6354['push'](_0x3d6354['shift']());}};_0x27cd95(++_0x2c24d5);}(a526_0x2c24,0xab));const a526_0x27cd=function(_0x3d6354,_0x2c24d5){_0x3d6354=_0x3d6354-0x0;let _0x27cd95=a526_0x2c24[_0x3d6354];return _0x27cd95;};const _0x3a9708=a526_0x27cd;'use strict';const express=require(_0x3a9708('0x4e')),router=express[_0x3a9708('0x4')](),auth=require(_0x3a9708('0x18')),controller=require(_0x3a9708('0x37'));router[_0x3a9708('0xf')](_0x3a9708('0x3a'),auth[_0x3a9708('0x28')](),controller[_0x3a9708('0x36')]),router[_0x3a9708('0xf')](_0x3a9708('0x41'),auth[_0x3a9708('0x28')](),controller[_0x3a9708('0x44')]),router[_0x3a9708('0xf')](_0x3a9708('0x22'),auth['isAuthenticated'](),controller[_0x3a9708('0x30')]),router[_0x3a9708('0xf')](_0x3a9708('0x15'),auth['isAuthenticated'](),controller[_0x3a9708('0xa')]),router[_0x3a9708('0xf')](_0x3a9708('0x4c'),auth['isAuthenticated'](),controller['chatQueues']),router[_0x3a9708('0xf')](_0x3a9708('0x1'),auth[_0x3a9708('0x28')](),controller[_0x3a9708('0x49')]),router['get'](_0x3a9708('0x2b'),auth['isAuthenticated'](),controller[_0x3a9708('0x32')]),router[_0x3a9708('0xf')](_0x3a9708('0x16'),auth[_0x3a9708('0x28')](),controller['openchannelQueues']),router[_0x3a9708('0xf')](_0x3a9708('0x1a'),auth['isAuthenticated'](),controller['smsQueues']),router['get']('/whatsapp/queues',auth[_0x3a9708('0x28')](),controller[_0x3a9708('0x3b')]),router[_0x3a9708('0xf')](_0x3a9708('0x27'),auth[_0x3a9708('0x28')](),controller[_0x3a9708('0x24')]),router[_0x3a9708('0xf')](_0x3a9708('0x17'),auth['isAuthenticated'](),controller['voiceQueuesPreview']),router[_0x3a9708('0xf')](_0x3a9708('0x7'),auth['isAuthenticated'](),controller[_0x3a9708('0x4a')]),router[_0x3a9708('0xf')](_0x3a9708('0x45'),auth['isAuthenticated'](),controller[_0x3a9708('0x38')]),router[_0x3a9708('0xf')](_0x3a9708('0x23'),auth[_0x3a9708('0x28')](),controller[_0x3a9708('0xe')]),router[_0x3a9708('0xf')](_0x3a9708('0x43'),auth[_0x3a9708('0x28')](),controller[_0x3a9708('0x0')]),router['get'](_0x3a9708('0x21'),auth[_0x3a9708('0x28')](),controller['showVoiceQueues']),router['get'](_0x3a9708('0x1d'),auth[_0x3a9708('0x28')](),controller[_0x3a9708('0x10')]),router[_0x3a9708('0xf')](_0x3a9708('0x2d'),auth[_0x3a9708('0x28')](),controller[_0x3a9708('0xd')]),router[_0x3a9708('0xf')](_0x3a9708('0x2a'),auth[_0x3a9708('0x28')](),controller[_0x3a9708('0x3')]),router[_0x3a9708('0x4f')]('/agents/:id/capacity',auth['isAuthenticated'](),controller[_0x3a9708('0x1f')]),router[_0x3a9708('0xf')](_0x3a9708('0x39'),auth[_0x3a9708('0x28')](),controller[_0x3a9708('0x42')]),router[_0x3a9708('0xf')](_0x3a9708('0x5'),auth[_0x3a9708('0x28')](),controller['trunks']),router[_0x3a9708('0xf')](_0x3a9708('0x6'),auth[_0x3a9708('0x28')](),controller['campaigns']),router[_0x3a9708('0xf')]('/fax/accounts',auth[_0x3a9708('0x28')](),controller[_0x3a9708('0x26')]),router[_0x3a9708('0xf')](_0x3a9708('0x19'),auth[_0x3a9708('0x28')](),controller['chatQueuesWaitingInteractions']),router[_0x3a9708('0xf')](_0x3a9708('0x47'),auth['isAuthenticated'](),controller[_0x3a9708('0x8')]),router['get'](_0x3a9708('0x29'),auth['isAuthenticated'](),controller[_0x3a9708('0x33')]),router[_0x3a9708('0xf')](_0x3a9708('0x3d'),auth['isAuthenticated'](),controller['openchannelQueuesIdWaitingInteractions']),router[_0x3a9708('0xf')](_0x3a9708('0x4d'),auth['isAuthenticated'](),controller[_0x3a9708('0x11')]),router[_0x3a9708('0xf')](_0x3a9708('0x9'),auth[_0x3a9708('0x28')](),controller['whatsappQueuesWaitingInteractions']),router[_0x3a9708('0xf')](_0x3a9708('0x12'),auth[_0x3a9708('0x28')](),controller[_0x3a9708('0x2c')]),router[_0x3a9708('0x2f')](_0x3a9708('0x1c'),auth[_0x3a9708('0x28')](),controller[_0x3a9708('0x31')](_0x3a9708('0x34'))),router[_0x3a9708('0xf')]('/mail/queues/:id',auth[_0x3a9708('0x28')](),controller[_0x3a9708('0xc')]),router[_0x3a9708('0x2f')](_0x3a9708('0xb'),auth[_0x3a9708('0x28')](),controller[_0x3a9708('0x31')]('chat')),router[_0x3a9708('0xf')](_0x3a9708('0x4b'),auth['isAuthenticated'](),controller['showChatQueues']),router[_0x3a9708('0x2f')]('/fax/queues/:id/notify',auth[_0x3a9708('0x28')](),controller['queueNotify'](_0x3a9708('0x1e'))),router['get'](_0x3a9708('0x2e'),auth[_0x3a9708('0x28')](),controller[_0x3a9708('0x40')]),router[_0x3a9708('0x2f')]('/openchannel/queues/:id/notify',auth['isAuthenticated'](),controller[_0x3a9708('0x31')](_0x3a9708('0x13'))),router['get'](_0x3a9708('0x46'),auth[_0x3a9708('0x28')](),controller[_0x3a9708('0x25')]),router[_0x3a9708('0x2f')](_0x3a9708('0x35'),auth[_0x3a9708('0x28')](),controller[_0x3a9708('0x31')](_0x3a9708('0x20'))),router[_0x3a9708('0x2f')](_0x3a9708('0x1b'),auth[_0x3a9708('0x28')](),controller[_0x3a9708('0x31')]('whatsapp')),router[_0x3a9708('0xf')](_0x3a9708('0x3c'),auth[_0x3a9708('0x28')](),controller[_0x3a9708('0x3f')]),router[_0x3a9708('0xf')](_0x3a9708('0x48'),auth[_0x3a9708('0x28')](),controller[_0x3a9708('0x2')]),router[_0x3a9708('0x2f')](_0x3a9708('0x3e'),auth[_0x3a9708('0x28')](),controller[_0x3a9708('0x14')]),module['exports']=router;
\ No newline at end of file
+const a631_0x6e9f=['whatsapp','/voice/queues/channels','queueNotify','mailQueuesWaitingInteractions','faxAccounts','isAuthenticated','../../components/auth/service','/fax/queues/waitinginteractions','express','voiceQueuesChannels','get','put','voiceQueuesChannelHangup','/openchannel/queues','/voice/channels','/fax/queues/:id/notify','/openchannel/queues/:id','mailQueues','showOpenchannelQueues','telephones','faxQueues','agents','/voice/queues/:id','voiceChannelStopMixMonitor','/mail/accounts','/voice/queues/channels/:uniqueid/redirect/:exten','whatsappQueuesWaitingInteractions','/chat/queues/waitinginteractions','voiceChannelMixMonitor','voiceQueuesChannelRedirect','/outbound','/voice/queues/channels/:uniqueid','/whatsapp/queues','voiceChannels','smsQueuesWaitingInteractions','/trunks','/voice/queues/channels/:uniqueid/hangup','/campaigns','chatQueuesWaitingInteractions','/openchannel/queues/:id/notify','/voice/queues/preview/:id','showMailQueues','campaigns','/telephones','chat','showWhatsappQueues','showFaxQueues','exports','outboundChannels','/voice/channels/:uniqueid/mixmonitor','voiceQueuesChannel','/voice/queues','/openchannel/queues/waitinginteractions','/mail/queues/:id/notify','fax','sms','/whatsapp/queues/:id/notify','/sms/queues','openchannelQueues','/fax/queues','/mail/queues/:id','/fax/queues/:id','/agents/:id/capacity','post','voiceQueues','/chat/queues/:id/notify','/fax/accounts','showVoiceQueues','/sms/queues/waitinginteractions','openchannelQueuesWaitingInteractions','/outbound/channels','/agents','/agents/:id/notify','/sms/queues/:id/notify','mailAccounts'];(function(_0x21f5d4,_0x7edab7){const _0x6e9f77=function(_0x480fd3){while(--_0x480fd3){_0x21f5d4['push'](_0x21f5d4['shift']());}};_0x6e9f77(++_0x7edab7);}(a631_0x6e9f,0x172));const a631_0x480f=function(_0x21f5d4,_0x7edab7){_0x21f5d4=_0x21f5d4-0x1ac;let _0x6e9f77=a631_0x6e9f[_0x21f5d4];return _0x6e9f77;};const a631_0x431758=a631_0x480f;'use strict';const express=require(a631_0x431758(0x1b9)),router=express['Router'](),auth=require(a631_0x431758(0x1b7)),controller=require('./rpc.controller');router[a631_0x431758(0x1bb)](a631_0x431758(0x1bf),auth[a631_0x431758(0x1b6)](),controller[a631_0x431758(0x1d2)]),router[a631_0x431758(0x1bb)](a631_0x431758(0x1e2),auth[a631_0x431758(0x1b6)](),controller[a631_0x431758(0x1cd)]),router[a631_0x431758(0x1bb)]('/voice/channels/:uniqueid/stopmixmonitor',auth[a631_0x431758(0x1b6)](),controller[a631_0x431758(0x1c8)]),router[a631_0x431758(0x1bb)](a631_0x431758(0x1e4),auth['isAuthenticated'](),controller[a631_0x431758(0x1f1)]),router[a631_0x431758(0x1bb)]('/chat/queues',auth[a631_0x431758(0x1b6)](),controller['chatQueues']),router[a631_0x431758(0x1bb)]('/mail/queues',auth['isAuthenticated'](),controller[a631_0x431758(0x1c2)]),router[a631_0x431758(0x1bb)](a631_0x431758(0x1c9),auth['isAuthenticated'](),controller[a631_0x431758(0x1b0)]),router[a631_0x431758(0x1bb)](a631_0x431758(0x1be),auth['isAuthenticated'](),controller[a631_0x431758(0x1eb)]),router[a631_0x431758(0x1bb)](a631_0x431758(0x1ea),auth[a631_0x431758(0x1b6)](),controller['smsQueues']),router[a631_0x431758(0x1bb)](a631_0x431758(0x1d1),auth[a631_0x431758(0x1b6)](),controller['whatsappQueues']),router[a631_0x431758(0x1bb)](a631_0x431758(0x1ec),auth[a631_0x431758(0x1b6)](),controller[a631_0x431758(0x1c5)]),router[a631_0x431758(0x1bb)](a631_0x431758(0x1d9),auth['isAuthenticated'](),controller['voiceQueuesPreview']),router[a631_0x431758(0x1bb)](a631_0x431758(0x1b2),auth['isAuthenticated'](),controller[a631_0x431758(0x1ba)]),router[a631_0x431758(0x1bb)](a631_0x431758(0x1d0),auth['isAuthenticated'](),controller[a631_0x431758(0x1e3)]),router[a631_0x431758(0x1bb)](a631_0x431758(0x1d5),auth[a631_0x431758(0x1b6)](),controller[a631_0x431758(0x1bd)]),router[a631_0x431758(0x1bb)](a631_0x431758(0x1ca),auth[a631_0x431758(0x1b6)](),controller[a631_0x431758(0x1ce)]),router[a631_0x431758(0x1bb)](a631_0x431758(0x1c7),auth['isAuthenticated'](),controller[a631_0x431758(0x1f4)]),router[a631_0x431758(0x1bb)](a631_0x431758(0x1cf),auth[a631_0x431758(0x1b6)](),controller['outbound']),router['get'](a631_0x431758(0x1ac),auth[a631_0x431758(0x1b6)](),controller[a631_0x431758(0x1e1)]),router[a631_0x431758(0x1bb)](a631_0x431758(0x1ad),auth[a631_0x431758(0x1b6)](),controller[a631_0x431758(0x1c6)]),router[a631_0x431758(0x1bc)](a631_0x431758(0x1ef),auth['isAuthenticated'](),controller['agentCapacity']),router[a631_0x431758(0x1bb)](a631_0x431758(0x1dc),auth[a631_0x431758(0x1b6)](),controller[a631_0x431758(0x1c4)]),router['get'](a631_0x431758(0x1d4),auth[a631_0x431758(0x1b6)](),controller['trunks']),router[a631_0x431758(0x1bb)](a631_0x431758(0x1d6),auth[a631_0x431758(0x1b6)](),controller[a631_0x431758(0x1db)]),router['get'](a631_0x431758(0x1f3),auth[a631_0x431758(0x1b6)](),controller[a631_0x431758(0x1b5)]),router[a631_0x431758(0x1bb)](a631_0x431758(0x1cc),auth['isAuthenticated'](),controller[a631_0x431758(0x1d7)]),router[a631_0x431758(0x1bb)]('/mail/queues/waitinginteractions',auth[a631_0x431758(0x1b6)](),controller[a631_0x431758(0x1b4)]),router[a631_0x431758(0x1bb)](a631_0x431758(0x1e5),auth[a631_0x431758(0x1b6)](),controller[a631_0x431758(0x1f6)]),router[a631_0x431758(0x1bb)]('/openchannel/queues/:id/waitinginteractions',auth['isAuthenticated'](),controller['openchannelQueuesIdWaitingInteractions']),router['get'](a631_0x431758(0x1f5),auth[a631_0x431758(0x1b6)](),controller[a631_0x431758(0x1d3)]),router[a631_0x431758(0x1bb)]('/whatsapp/queues/waitinginteractions',auth[a631_0x431758(0x1b6)](),controller[a631_0x431758(0x1cb)]),router[a631_0x431758(0x1bb)](a631_0x431758(0x1b8),auth[a631_0x431758(0x1b6)](),controller['faxQueuesWaitingInteractions']),router[a631_0x431758(0x1f0)](a631_0x431758(0x1e6),auth[a631_0x431758(0x1b6)](),controller[a631_0x431758(0x1b3)]('mail')),router['get'](a631_0x431758(0x1ed),auth[a631_0x431758(0x1b6)](),controller[a631_0x431758(0x1da)]),router[a631_0x431758(0x1f0)](a631_0x431758(0x1f2),auth[a631_0x431758(0x1b6)](),controller[a631_0x431758(0x1b3)](a631_0x431758(0x1dd))),router['get']('/chat/queues/:id',auth[a631_0x431758(0x1b6)](),controller['showChatQueues']),router[a631_0x431758(0x1f0)](a631_0x431758(0x1c0),auth['isAuthenticated'](),controller[a631_0x431758(0x1b3)](a631_0x431758(0x1e7))),router[a631_0x431758(0x1bb)](a631_0x431758(0x1ee),auth[a631_0x431758(0x1b6)](),controller[a631_0x431758(0x1df)]),router['post'](a631_0x431758(0x1d8),auth[a631_0x431758(0x1b6)](),controller[a631_0x431758(0x1b3)]('openchannel')),router[a631_0x431758(0x1bb)](a631_0x431758(0x1c1),auth[a631_0x431758(0x1b6)](),controller[a631_0x431758(0x1c3)]),router[a631_0x431758(0x1f0)](a631_0x431758(0x1af),auth[a631_0x431758(0x1b6)](),controller[a631_0x431758(0x1b3)](a631_0x431758(0x1e8))),router[a631_0x431758(0x1f0)](a631_0x431758(0x1e9),auth[a631_0x431758(0x1b6)](),controller[a631_0x431758(0x1b3)](a631_0x431758(0x1b1))),router[a631_0x431758(0x1bb)]('/sms/queues/:id',auth[a631_0x431758(0x1b6)](),controller['showSmsQueues']),router[a631_0x431758(0x1bb)]('/whatsapp/queues/:id',auth['isAuthenticated'](),controller[a631_0x431758(0x1de)]),router['post'](a631_0x431758(0x1ae),auth[a631_0x431758(0x1b6)](),controller['agentNotify']),module[a631_0x431758(0x1e0)]=router;
\ No newline at end of file