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