Built motion from commit (unavailable).|2.5.17
[motion2.git] / server / rpc / index.js
index f90668b..c61659e 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x09f6=['rpc','port','log','Express\x20RPC\x20server\x20listening\x20on\x20%s:%d!','../config/triggers','default','RPC\x20listening\x20on\x20','jayson/promise','bluebird','lodash','../config/environment','listen','../api/voiceExtension/voiceExtension.rpc','merge','../api/voiceQueue/voiceQueue.rpc','../api/voiceRecording/voiceRecording.rpc','../api/voiceCallReport/voiceCallReport.rpc','../api/voiceAgentReport/voiceAgentReport.rpc','../api/memberReport/memberReport.rpc','../api/trunk/trunk.rpc','../api/userVoiceQueueRt/userVoiceQueueRt.rpc','../api/mailServerIn/mailServerIn.rpc','../api/mailAccount/mailAccount.rpc','../api/mailQueue/mailQueue.rpc','../api/mailInteraction/mailInteraction.rpc','../api/mailApplication/mailApplication.rpc','../api/mailQueueReport/mailQueueReport.rpc','../api/faxAccount/faxAccount.rpc','../api/faxApplication/faxApplication.rpc','../api/faxInteraction/faxInteraction.rpc','../api/faxQueue/faxQueue.rpc','../api/smsAccount/smsAccount.rpc','../api/smsMessage/smsMessage.rpc','../api/smsQueue/smsQueue.rpc','../api/openchannelApplication/openchannelApplication.rpc','../api/openchannelInteraction/openchannelInteraction.rpc','../api/openchannelMessage/openchannelMessage.rpc','../api/openchannelQueue/openchannelQueue.rpc','../api/openchannelQueueReport/openchannelQueueReport.rpc','../api/chatMessage/chatMessage.rpc','../api/chatQueue/chatQueue.rpc','../api/cmContact/cmContact.rpc','../api/cmHopperBlack/cmHopperBlack.rpc','../api/cmHopperFinal/cmHopperFinal.rpc','../api/cmHopperHistory/cmHopperHistory.rpc','../api/reportAgentPreview/reportAgentPreview.rpc','../api/interval/interval.rpc','../api/pause/pause.rpc','../api/sound/sound.rpc','../api/template/template.rpc','../api/trigger/trigger.rpc','../api/variable/variable.rpc','../api/intSalesforceAccount/intSalesforceAccount.rpc','../api/intDeskAccount/intDeskAccount.rpc','../api/intZohoAccount/intZohoAccount.rpc','../api/intFreshdeskAccount/intFreshdeskAccount.rpc','../api/intVtigerAccount/intVtigerAccount.rpc','../api/intServicenowAccount/intServicenowAccount.rpc','../api/intDynamics365Account/intDynamics365Account.rpc','../api/intFreshsalesAccount/intFreshsalesAccount.rpc','../api/chatQueueReport/chatQueueReport.rpc','../api/smsQueueReport/smsQueueReport.rpc','../api/squareReport/squareReport.rpc','../api/squareReportDetail/squareReportDetail.rpc','../api/squareOdbc/squareOdbc.rpc','../api/squareProject/squareProject.rpc','../api/squareMessage/squareMessage.rpc','../api/plugin/plugin.rpc','../api/whatsappInteraction/whatsappInteraction.rpc','../api/whatsappMessage/whatsappMessage.rpc','../api/whatsappQueue/whatsappQueue.rpc','server','http'];(function(_0x731d66,_0x43ab72){var _0x2a2875=function(_0x50e87f){while(--_0x50e87f){_0x731d66['push'](_0x731d66['shift']());}};_0x2a2875(++_0x43ab72);}(_0x09f6,0x99));var _0x609f=function(_0x45f5df,_0x3b4325){_0x45f5df=_0x45f5df-0x0;var _0x81465d=_0x09f6[_0x45f5df];return _0x81465d;};'use strict';var jayson=require(_0x609f('0x0'));var BPromise=require(_0x609f('0x1'));var _=require(_0x609f('0x2'));var config=require(_0x609f('0x3'));exports[_0x609f('0x4')]=function(){return new BPromise(function(_0x1739ab,_0x1e42c9){var _0x45a359={};_0x45a359=_['merge'](_0x45a359,require('../api/user/user.rpc'));_0x45a359=_['merge'](_0x45a359,require(_0x609f('0x5')));_0x45a359=_[_0x609f('0x6')](_0x45a359,require(_0x609f('0x7')));_0x45a359=_['merge'](_0x45a359,require(_0x609f('0x8')));_0x45a359=_[_0x609f('0x6')](_0x45a359,require(_0x609f('0x9')));_0x45a359=_[_0x609f('0x6')](_0x45a359,require('../api/voiceDialReport/voiceDialReport.rpc'));_0x45a359=_['merge'](_0x45a359,require(_0x609f('0xa')));_0x45a359=_['merge'](_0x45a359,require('../api/voiceQueueReport/voiceQueueReport.rpc'));_0x45a359=_['merge'](_0x45a359,require(_0x609f('0xb')));_0x45a359=_[_0x609f('0x6')](_0x45a359,require(_0x609f('0xc')));_0x45a359=_[_0x609f('0x6')](_0x45a359,require('../api/voiceTransferReport/voiceTransferReport.rpc'));_0x45a359=_[_0x609f('0x6')](_0x45a359,require(_0x609f('0xd')));_0x45a359=_['merge'](_0x45a359,require(_0x609f('0xe')));_0x45a359=_['merge'](_0x45a359,require(_0x609f('0xf')));_0x45a359=_[_0x609f('0x6')](_0x45a359,require(_0x609f('0x10')));_0x45a359=_['merge'](_0x45a359,require(_0x609f('0x11')));_0x45a359=_[_0x609f('0x6')](_0x45a359,require('../api/mailMessage/mailMessage.rpc'));_0x45a359=_[_0x609f('0x6')](_0x45a359,require(_0x609f('0x12')));_0x45a359=_['merge'](_0x45a359,require(_0x609f('0x13')));_0x45a359=_['merge'](_0x45a359,require(_0x609f('0x14')));_0x45a359=_['merge'](_0x45a359,require(_0x609f('0x15')));_0x45a359=_[_0x609f('0x6')](_0x45a359,require(_0x609f('0x16')));_0x45a359=_['merge'](_0x45a359,require('../api/faxMessage/faxMessage.rpc'));_0x45a359=_[_0x609f('0x6')](_0x45a359,require(_0x609f('0x17')));_0x45a359=_[_0x609f('0x6')](_0x45a359,require('../api/faxQueueReport/faxQueueReport.rpc'));_0x45a359=_[_0x609f('0x6')](_0x45a359,require(_0x609f('0x18')));_0x45a359=_[_0x609f('0x6')](_0x45a359,require('../api/smsInteraction/smsInteraction.rpc'));_0x45a359=_[_0x609f('0x6')](_0x45a359,require(_0x609f('0x19')));_0x45a359=_['merge'](_0x45a359,require(_0x609f('0x1a')));_0x45a359=_[_0x609f('0x6')](_0x45a359,require(_0x609f('0x1b')));_0x45a359=_[_0x609f('0x6')](_0x45a359,require(_0x609f('0x1c')));_0x45a359=_[_0x609f('0x6')](_0x45a359,require(_0x609f('0x1d')));_0x45a359=_[_0x609f('0x6')](_0x45a359,require(_0x609f('0x1e')));_0x45a359=_[_0x609f('0x6')](_0x45a359,require(_0x609f('0x1f')));_0x45a359=_['merge'](_0x45a359,require('../api/chatInteraction/chatInteraction.rpc'));_0x45a359=_[_0x609f('0x6')](_0x45a359,require(_0x609f('0x20')));_0x45a359=_[_0x609f('0x6')](_0x45a359,require(_0x609f('0x21')));_0x45a359=_['merge'](_0x45a359,require(_0x609f('0x22')));_0x45a359=_['merge'](_0x45a359,require('../api/cmHopper/cmHopper.rpc'));_0x45a359=_['merge'](_0x45a359,require(_0x609f('0x23')));_0x45a359=_[_0x609f('0x6')](_0x45a359,require(_0x609f('0x24')));_0x45a359=_[_0x609f('0x6')](_0x45a359,require(_0x609f('0x25')));_0x45a359=_[_0x609f('0x6')](_0x45a359,require(_0x609f('0x26')));_0x45a359=_['merge'](_0x45a359,require(_0x609f('0x27')));_0x45a359=_[_0x609f('0x6')](_0x45a359,require(_0x609f('0x28')));_0x45a359=_[_0x609f('0x6')](_0x45a359,require(_0x609f('0x29')));_0x45a359=_[_0x609f('0x6')](_0x45a359,require(_0x609f('0x2a')));_0x45a359=_['merge'](_0x45a359,require(_0x609f('0x2b')));_0x45a359=_[_0x609f('0x6')](_0x45a359,require(_0x609f('0x2c')));_0x45a359=_[_0x609f('0x6')](_0x45a359,require(_0x609f('0x2d')));_0x45a359=_[_0x609f('0x6')](_0x45a359,require('../api/intSugarcrmAccount/intSugarcrmAccount.rpc'));_0x45a359=_[_0x609f('0x6')](_0x45a359,require(_0x609f('0x2e')));_0x45a359=_[_0x609f('0x6')](_0x45a359,require(_0x609f('0x2f')));_0x45a359=_[_0x609f('0x6')](_0x45a359,require('../api/intZendeskAccount/intZendeskAccount.rpc'));_0x45a359=_[_0x609f('0x6')](_0x45a359,require(_0x609f('0x30')));_0x45a359=_['merge'](_0x45a359,require(_0x609f('0x31')));_0x45a359=_[_0x609f('0x6')](_0x45a359,require(_0x609f('0x32')));_0x45a359=_['merge'](_0x45a359,require(_0x609f('0x33')));_0x45a359=_['merge'](_0x45a359,require(_0x609f('0x34')));_0x45a359=_[_0x609f('0x6')](_0x45a359,require(_0x609f('0x35')));_0x45a359=_[_0x609f('0x6')](_0x45a359,require(_0x609f('0x36')));_0x45a359=_[_0x609f('0x6')](_0x45a359,require(_0x609f('0x37')));_0x45a359=_['merge'](_0x45a359,require(_0x609f('0x38')));_0x45a359=_['merge'](_0x45a359,require(_0x609f('0x39')));_0x45a359=_['merge'](_0x45a359,require(_0x609f('0x3a')));_0x45a359=_[_0x609f('0x6')](_0x45a359,require('../api/squareRecording/squareRecording.rpc'));_0x45a359=_[_0x609f('0x6')](_0x45a359,require(_0x609f('0x3b')));_0x45a359=_[_0x609f('0x6')](_0x45a359,require('../api/campaign/campaign.rpc'));_0x45a359=_[_0x609f('0x6')](_0x45a359,require('../api/attachment/attachment.rpc'));_0x45a359=_['merge'](_0x45a359,require(_0x609f('0x3c')));_0x45a359=_[_0x609f('0x6')](_0x45a359,require('../api/whatsappAccount/whatsappAccount.rpc'));_0x45a359=_[_0x609f('0x6')](_0x45a359,require(_0x609f('0x3d')));_0x45a359=_[_0x609f('0x6')](_0x45a359,require(_0x609f('0x3e')));_0x45a359=_['merge'](_0x45a359,require('../api/whatsappQueueReport/whatsappQueueReport.rpc'));_0x45a359=_[_0x609f('0x6')](_0x45a359,require(_0x609f('0x3f')));var _0x2ad534=jayson[_0x609f('0x40')](_0x45a359)[_0x609f('0x41')]();var _0x51b2f0=config[_0x609f('0x42')][_0x609f('0x43')]||config[_0x609f('0x43')]+0x1;var _0x41ef5d=config[_0x609f('0x42')]['ip']||'localhost';_0x2ad534['on']('error',function(_0x539ab1){return _0x1e42c9(_0x539ab1);});_0x2ad534[_0x609f('0x4')](_0x51b2f0,_0x41ef5d,function(){console[_0x609f('0x44')](_0x609f('0x45'),_0x41ef5d,_0x51b2f0);require(_0x609f('0x46'))[_0x609f('0x47')]();return _0x1739ab(_0x609f('0x48')+_0x41ef5d+':'+_0x51b2f0);});});};
\ No newline at end of file
+var _0x2083=['../api/openchannelApplication/openchannelApplication.rpc','../api/openchannelInteraction/openchannelInteraction.rpc','../api/openchannelMessage/openchannelMessage.rpc','../api/openchannelQueueReport/openchannelQueueReport.rpc','../api/chatInteraction/chatInteraction.rpc','../api/chatMessage/chatMessage.rpc','../api/chatQueue/chatQueue.rpc','../api/cmContact/cmContact.rpc','../api/cmHopperBlack/cmHopperBlack.rpc','../api/cmHopperFinal/cmHopperFinal.rpc','../api/cmHopperHistory/cmHopperHistory.rpc','../api/interval/interval.rpc','../api/sound/sound.rpc','../api/template/template.rpc','../api/trigger/trigger.rpc','../api/variable/variable.rpc','../api/intSugarcrmAccount/intSugarcrmAccount.rpc','../api/intZohoAccount/intZohoAccount.rpc','../api/intZendeskAccount/intZendeskAccount.rpc','../api/intFreshdeskAccount/intFreshdeskAccount.rpc','../api/intServicenowAccount/intServicenowAccount.rpc','../api/intDynamics365Account/intDynamics365Account.rpc','../api/intFreshsalesAccount/intFreshsalesAccount.rpc','../api/chatQueueReport/chatQueueReport.rpc','../api/smsQueueReport/smsQueueReport.rpc','../api/squareReport/squareReport.rpc','../api/squareReportDetail/squareReportDetail.rpc','../api/squareOdbc/squareOdbc.rpc','../api/squareMessage/squareMessage.rpc','../api/campaign/campaign.rpc','../api/attachment/attachment.rpc','../api/plugin/plugin.rpc','../api/whatsappMessage/whatsappMessage.rpc','../api/whatsappQueueReport/whatsappQueueReport.rpc','../api/whatsappQueue/whatsappQueue.rpc','http','port','rpc','localhost','error','Express\x20RPC\x20server\x20listening\x20on\x20%s:%d!','../config/triggers','RPC\x20listening\x20on\x20','jayson/promise','../config/environment','listen','merge','../api/voiceRecording/voiceRecording.rpc','../api/voiceCallReport/voiceCallReport.rpc','../api/voiceDialReport/voiceDialReport.rpc','../api/voiceAgentReport/voiceAgentReport.rpc','../api/voiceQueueReport/voiceQueueReport.rpc','../api/memberReport/memberReport.rpc','../api/trunk/trunk.rpc','../api/voiceTransferReport/voiceTransferReport.rpc','../api/userVoiceQueueRt/userVoiceQueueRt.rpc','../api/mailServerIn/mailServerIn.rpc','../api/mailAccount/mailAccount.rpc','../api/mailInteraction/mailInteraction.rpc','../api/mailMessage/mailMessage.rpc','../api/mailApplication/mailApplication.rpc','../api/mailQueueReport/mailQueueReport.rpc','../api/faxApplication/faxApplication.rpc','../api/faxInteraction/faxInteraction.rpc','../api/faxQueue/faxQueue.rpc','../api/smsAccount/smsAccount.rpc','../api/smsMessage/smsMessage.rpc','../api/smsQueue/smsQueue.rpc'];(function(_0x526119,_0x5c4b34){var _0x402da2=function(_0x361fea){while(--_0x361fea){_0x526119['push'](_0x526119['shift']());}};_0x402da2(++_0x5c4b34);}(_0x2083,0x6f));var _0x3208=function(_0x3fba06,_0x3c0243){_0x3fba06=_0x3fba06-0x0;var _0x4ec6a2=_0x2083[_0x3fba06];return _0x4ec6a2;};'use strict';var jayson=require(_0x3208('0x0'));var BPromise=require('bluebird');var _=require('lodash');var config=require(_0x3208('0x1'));exports[_0x3208('0x2')]=function(){return new BPromise(function(_0x1a7697,_0x19f20d){var _0x23bb51={};_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require('../api/user/user.rpc'));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require('../api/voiceExtension/voiceExtension.rpc'));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require('../api/voiceQueue/voiceQueue.rpc'));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require(_0x3208('0x4')));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require(_0x3208('0x5')));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require(_0x3208('0x6')));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require(_0x3208('0x7')));_0x23bb51=_['merge'](_0x23bb51,require(_0x3208('0x8')));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require(_0x3208('0x9')));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require(_0x3208('0xa')));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require(_0x3208('0xb')));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require(_0x3208('0xc')));_0x23bb51=_['merge'](_0x23bb51,require(_0x3208('0xd')));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require(_0x3208('0xe')));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require('../api/mailQueue/mailQueue.rpc'));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require(_0x3208('0xf')));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require(_0x3208('0x10')));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require(_0x3208('0x11')));_0x23bb51=_['merge'](_0x23bb51,require(_0x3208('0x12')));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require('../api/faxAccount/faxAccount.rpc'));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require(_0x3208('0x13')));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require(_0x3208('0x14')));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require('../api/faxMessage/faxMessage.rpc'));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require(_0x3208('0x15')));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require('../api/faxQueueReport/faxQueueReport.rpc'));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require(_0x3208('0x16')));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require('../api/smsInteraction/smsInteraction.rpc'));_0x23bb51=_['merge'](_0x23bb51,require(_0x3208('0x17')));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require(_0x3208('0x18')));_0x23bb51=_['merge'](_0x23bb51,require(_0x3208('0x19')));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require(_0x3208('0x1a')));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require(_0x3208('0x1b')));_0x23bb51=_['merge'](_0x23bb51,require('../api/openchannelQueue/openchannelQueue.rpc'));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require(_0x3208('0x1c')));_0x23bb51=_['merge'](_0x23bb51,require(_0x3208('0x1d')));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require(_0x3208('0x1e')));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require(_0x3208('0x1f')));_0x23bb51=_['merge'](_0x23bb51,require(_0x3208('0x20')));_0x23bb51=_['merge'](_0x23bb51,require('../api/cmHopper/cmHopper.rpc'));_0x23bb51=_['merge'](_0x23bb51,require(_0x3208('0x21')));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require(_0x3208('0x22')));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require(_0x3208('0x23')));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require('../api/reportAgentPreview/reportAgentPreview.rpc'));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require(_0x3208('0x24')));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require('../api/pause/pause.rpc'));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require(_0x3208('0x25')));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require(_0x3208('0x26')));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require(_0x3208('0x27')));_0x23bb51=_['merge'](_0x23bb51,require(_0x3208('0x28')));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require('../api/intSalesforceAccount/intSalesforceAccount.rpc'));_0x23bb51=_['merge'](_0x23bb51,require(_0x3208('0x29')));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require('../api/intDeskAccount/intDeskAccount.rpc'));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require(_0x3208('0x2a')));_0x23bb51=_['merge'](_0x23bb51,require(_0x3208('0x2b')));_0x23bb51=_['merge'](_0x23bb51,require(_0x3208('0x2c')));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require('../api/intVtigerAccount/intVtigerAccount.rpc'));_0x23bb51=_['merge'](_0x23bb51,require(_0x3208('0x2d')));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require(_0x3208('0x2e')));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require(_0x3208('0x2f')));_0x23bb51=_['merge'](_0x23bb51,require(_0x3208('0x30')));_0x23bb51=_['merge'](_0x23bb51,require(_0x3208('0x31')));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require(_0x3208('0x32')));_0x23bb51=_['merge'](_0x23bb51,require(_0x3208('0x33')));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require(_0x3208('0x34')));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require('../api/squareProject/squareProject.rpc'));_0x23bb51=_['merge'](_0x23bb51,require('../api/squareRecording/squareRecording.rpc'));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require(_0x3208('0x35')));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require(_0x3208('0x36')));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require(_0x3208('0x37')));_0x23bb51=_['merge'](_0x23bb51,require(_0x3208('0x38')));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require('../api/whatsappAccount/whatsappAccount.rpc'));_0x23bb51=_['merge'](_0x23bb51,require('../api/whatsappInteraction/whatsappInteraction.rpc'));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require(_0x3208('0x39')));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require(_0x3208('0x3a')));_0x23bb51=_[_0x3208('0x3')](_0x23bb51,require(_0x3208('0x3b')));var _0x351b7b=jayson['server'](_0x23bb51)[_0x3208('0x3c')]();var _0x528c64=config['rpc'][_0x3208('0x3d')]||config[_0x3208('0x3d')]+0x1;var _0x41b292=config[_0x3208('0x3e')]['ip']||_0x3208('0x3f');_0x351b7b['on'](_0x3208('0x40'),function(_0xf6d0e9){return _0x19f20d(_0xf6d0e9);});_0x351b7b[_0x3208('0x2')](_0x528c64,_0x41b292,function(){console['log'](_0x3208('0x41'),_0x41b292,_0x528c64);require(_0x3208('0x42'))['default']();return _0x1a7697(_0x3208('0x43')+_0x41b292+':'+_0x528c64);});});};
\ No newline at end of file