Built motion from commit f738f9592c388b9f9eb3948f400a5c9d717a3561. Version 3.0.0...
[motion-next.git] / server / api / rpc / index.js
index 798fd24..f1d21ac 100644 (file)
@@ -1 +1 @@
-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
+const a631_0x32c7=['/chat/queues/waitinginteractions','/mail/accounts','/agents/:id/capacity','/trunks','outbound','/mail/queues','openchannelQueues','/voice/queues/channels/:uniqueid/redirect/:exten','queueNotify','trunks','showSmsQueues','/fax/queues/:id/notify','put','/voice/queues/:id','Router','/chat/queues/:id','/chat/queues/:id/notify','/openchannel/queues/:id/notify','/sms/queues/:id/notify','/openchannel/queues/waitinginteractions','/voice/channels','whatsappQueues','/whatsapp/queues','faxQueuesWaitingInteractions','/agents','voiceQueuesChannels','/outbound/channels','telephones','/mail/queues/:id/notify','/fax/queues','showWhatsappQueues','chatQueuesWaitingInteractions','/mail/queues/:id','get','mailQueuesWaitingInteractions','showChatQueues','/agents/:id/notify','chat','voiceQueuesChannel','faxAccounts','chatQueues','voiceQueuesPreview','isAuthenticated','/voice/channels/:uniqueid/mixmonitor','/openchannel/queues','/fax/accounts','express','agents','outboundChannels','/sms/queues/:id','/voice/queues/channels/:uniqueid','whatsapp','voiceQueuesChannelHangup','/fax/queues/:id','mailAccounts','agentCapacity','/openchannel/queues/:id/waitinginteractions','/campaigns','smsQueues','/chat/queues','voiceChannels','smsQueuesWaitingInteractions','openchannelQueuesIdWaitingInteractions','voiceChannelStopMixMonitor','/fax/queues/waitinginteractions','/voice/queues/preview/:id','voiceChannelMixMonitor','/mail/queues/waitinginteractions','../../components/auth/service','openchannel','/voice/queues','/openchannel/queues/:id','/voice/queues/channels/:uniqueid/hangup','fax','post','whatsappQueuesWaitingInteractions','/telephones'];(function(_0x1063be,_0xbc045d){const _0x32c760=function(_0x22c41b){while(--_0x22c41b){_0x1063be['push'](_0x1063be['shift']());}};_0x32c760(++_0xbc045d);}(a631_0x32c7,0xc2));const a631_0x22c4=function(_0x1063be,_0xbc045d){_0x1063be=_0x1063be-0x15b;let _0x32c760=a631_0x32c7[_0x1063be];return _0x32c760;};const a631_0x3fb1c1=a631_0x22c4;'use strict';const express=require(a631_0x3fb1c1(0x161)),router=express[a631_0x3fb1c1(0x18e)](),auth=require(a631_0x3fb1c1(0x177)),controller=require('./rpc.controller');router['get'](a631_0x3fb1c1(0x194),auth[a631_0x3fb1c1(0x15d)](),controller[a631_0x3fb1c1(0x16f)]),router[a631_0x3fb1c1(0x1a1)](a631_0x3fb1c1(0x15e),auth[a631_0x3fb1c1(0x15d)](),controller[a631_0x3fb1c1(0x175)]),router[a631_0x3fb1c1(0x1a1)]('/voice/channels/:uniqueid/stopmixmonitor',auth['isAuthenticated'](),controller[a631_0x3fb1c1(0x172)]),router[a631_0x3fb1c1(0x1a1)](a631_0x3fb1c1(0x179),auth[a631_0x3fb1c1(0x15d)](),controller['voiceQueues']),router[a631_0x3fb1c1(0x1a1)](a631_0x3fb1c1(0x16e),auth[a631_0x3fb1c1(0x15d)](),controller[a631_0x3fb1c1(0x15b)]),router[a631_0x3fb1c1(0x1a1)](a631_0x3fb1c1(0x185),auth['isAuthenticated'](),controller['mailQueues']),router[a631_0x3fb1c1(0x1a1)](a631_0x3fb1c1(0x181),auth[a631_0x3fb1c1(0x15d)](),controller[a631_0x3fb1c1(0x169)]),router[a631_0x3fb1c1(0x1a1)](a631_0x3fb1c1(0x15f),auth[a631_0x3fb1c1(0x15d)](),controller[a631_0x3fb1c1(0x186)]),router[a631_0x3fb1c1(0x1a1)]('/sms/queues',auth[a631_0x3fb1c1(0x15d)](),controller[a631_0x3fb1c1(0x16d)]),router[a631_0x3fb1c1(0x1a1)](a631_0x3fb1c1(0x196),auth[a631_0x3fb1c1(0x15d)](),controller[a631_0x3fb1c1(0x195)]),router['get'](a631_0x3fb1c1(0x19d),auth[a631_0x3fb1c1(0x15d)](),controller['faxQueues']),router[a631_0x3fb1c1(0x1a1)](a631_0x3fb1c1(0x174),auth['isAuthenticated'](),controller[a631_0x3fb1c1(0x15c)]),router[a631_0x3fb1c1(0x1a1)]('/voice/queues/channels',auth[a631_0x3fb1c1(0x15d)](),controller[a631_0x3fb1c1(0x199)]),router[a631_0x3fb1c1(0x1a1)](a631_0x3fb1c1(0x165),auth['isAuthenticated'](),controller[a631_0x3fb1c1(0x1a6)]),router[a631_0x3fb1c1(0x1a1)](a631_0x3fb1c1(0x17b),auth[a631_0x3fb1c1(0x15d)](),controller[a631_0x3fb1c1(0x167)]),router['get'](a631_0x3fb1c1(0x187),auth[a631_0x3fb1c1(0x15d)](),controller['voiceQueuesChannelRedirect']),router['get'](a631_0x3fb1c1(0x18d),auth[a631_0x3fb1c1(0x15d)](),controller['showVoiceQueues']),router[a631_0x3fb1c1(0x1a1)]('/outbound',auth[a631_0x3fb1c1(0x15d)](),controller[a631_0x3fb1c1(0x184)]),router[a631_0x3fb1c1(0x1a1)](a631_0x3fb1c1(0x19a),auth[a631_0x3fb1c1(0x15d)](),controller[a631_0x3fb1c1(0x163)]),router[a631_0x3fb1c1(0x1a1)](a631_0x3fb1c1(0x198),auth[a631_0x3fb1c1(0x15d)](),controller[a631_0x3fb1c1(0x162)]),router[a631_0x3fb1c1(0x18c)](a631_0x3fb1c1(0x182),auth[a631_0x3fb1c1(0x15d)](),controller[a631_0x3fb1c1(0x16a)]),router[a631_0x3fb1c1(0x1a1)](a631_0x3fb1c1(0x17f),auth['isAuthenticated'](),controller[a631_0x3fb1c1(0x19b)]),router[a631_0x3fb1c1(0x1a1)](a631_0x3fb1c1(0x183),auth[a631_0x3fb1c1(0x15d)](),controller[a631_0x3fb1c1(0x189)]),router[a631_0x3fb1c1(0x1a1)](a631_0x3fb1c1(0x16c),auth[a631_0x3fb1c1(0x15d)](),controller['campaigns']),router[a631_0x3fb1c1(0x1a1)](a631_0x3fb1c1(0x160),auth[a631_0x3fb1c1(0x15d)](),controller[a631_0x3fb1c1(0x1a7)]),router[a631_0x3fb1c1(0x1a1)](a631_0x3fb1c1(0x180),auth[a631_0x3fb1c1(0x15d)](),controller[a631_0x3fb1c1(0x19f)]),router['get'](a631_0x3fb1c1(0x176),auth['isAuthenticated'](),controller[a631_0x3fb1c1(0x1a2)]),router[a631_0x3fb1c1(0x1a1)](a631_0x3fb1c1(0x193),auth[a631_0x3fb1c1(0x15d)](),controller['openchannelQueuesWaitingInteractions']),router[a631_0x3fb1c1(0x1a1)](a631_0x3fb1c1(0x16b),auth['isAuthenticated'](),controller[a631_0x3fb1c1(0x171)]),router[a631_0x3fb1c1(0x1a1)]('/sms/queues/waitinginteractions',auth[a631_0x3fb1c1(0x15d)](),controller[a631_0x3fb1c1(0x170)]),router[a631_0x3fb1c1(0x1a1)]('/whatsapp/queues/waitinginteractions',auth[a631_0x3fb1c1(0x15d)](),controller[a631_0x3fb1c1(0x17e)]),router[a631_0x3fb1c1(0x1a1)](a631_0x3fb1c1(0x173),auth[a631_0x3fb1c1(0x15d)](),controller[a631_0x3fb1c1(0x197)]),router['post'](a631_0x3fb1c1(0x19c),auth[a631_0x3fb1c1(0x15d)](),controller[a631_0x3fb1c1(0x188)]('mail')),router['get'](a631_0x3fb1c1(0x1a0),auth[a631_0x3fb1c1(0x15d)](),controller['showMailQueues']),router[a631_0x3fb1c1(0x17d)](a631_0x3fb1c1(0x190),auth[a631_0x3fb1c1(0x15d)](),controller[a631_0x3fb1c1(0x188)](a631_0x3fb1c1(0x1a5))),router[a631_0x3fb1c1(0x1a1)](a631_0x3fb1c1(0x18f),auth['isAuthenticated'](),controller[a631_0x3fb1c1(0x1a3)]),router[a631_0x3fb1c1(0x17d)](a631_0x3fb1c1(0x18b),auth[a631_0x3fb1c1(0x15d)](),controller[a631_0x3fb1c1(0x188)](a631_0x3fb1c1(0x17c))),router[a631_0x3fb1c1(0x1a1)](a631_0x3fb1c1(0x168),auth['isAuthenticated'](),controller['showFaxQueues']),router[a631_0x3fb1c1(0x17d)](a631_0x3fb1c1(0x191),auth['isAuthenticated'](),controller[a631_0x3fb1c1(0x188)](a631_0x3fb1c1(0x178))),router['get'](a631_0x3fb1c1(0x17a),auth[a631_0x3fb1c1(0x15d)](),controller['showOpenchannelQueues']),router[a631_0x3fb1c1(0x17d)](a631_0x3fb1c1(0x192),auth[a631_0x3fb1c1(0x15d)](),controller[a631_0x3fb1c1(0x188)]('sms')),router[a631_0x3fb1c1(0x17d)]('/whatsapp/queues/:id/notify',auth['isAuthenticated'](),controller['queueNotify'](a631_0x3fb1c1(0x166))),router[a631_0x3fb1c1(0x1a1)](a631_0x3fb1c1(0x164),auth[a631_0x3fb1c1(0x15d)](),controller[a631_0x3fb1c1(0x18a)]),router[a631_0x3fb1c1(0x1a1)]('/whatsapp/queues/:id',auth[a631_0x3fb1c1(0x15d)](),controller[a631_0x3fb1c1(0x19e)]),router[a631_0x3fb1c1(0x17d)](a631_0x3fb1c1(0x1a4),auth[a631_0x3fb1c1(0x15d)](),controller['agentNotify']),module['exports']=router;
\ No newline at end of file