Built motion from commit a61a4a20.|2.5.46
[motion2.git] / server / services / ami / rpc / campaign.js
index fe7f6fd..fd7292f 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa9f0=['Intervals','SquareProject','getCampaign','../client','Request','GetCampaign','name','type','active','limitCalls','dialOriginateCallerIdName','dialOriginateCallerIdNumber','dialCongestionMaxRetry','dialBusyMaxRetry','dialNoAnswerMaxRetry','dialNoAnswerRetryFrequency','dialGlobalMaxRetry','dialNoSuchNumberMaxRetry','dialDropMaxRetry','dialDropRetryFrequency','dialAbandonedMaxRetry','dialAbandonedRetryFrequency','dialAgentRejectMaxRetry','dialAgentRejectRetryFrequency','dialTimezone','dialGlobalInterval','dialAMDActive','dialAMDInitialSilence','dialAMDGreeting','dialAMDAfterGreetingSilence','dialAMDTotalAnalysisTime','dialAMDMinWordLength','dialAMDBetweenWordsSilence','dialAMDMaximumNumberOfWords','dialAMDSilenceThreshold','dialOrderByScheduledAt','dialPrefix','dialRandomLastDigitCallerIdNumber','dialCutDigit','Trunk','TrunkBackup','Interval'];(function(_0x5a776b,_0x46f785){var _0xbbef59=function(_0x38313e){while(--_0x38313e){_0x5a776b['push'](_0x5a776b['shift']());}};_0xbbef59(++_0x46f785);}(_0xa9f0,0x153));var _0x0a9f=function(_0x1ed565,_0x36fbf0){_0x1ed565=_0x1ed565-0x0;var _0x1bb908=_0xa9f0[_0x1ed565];return _0x1bb908;};'use strict';var client=require(_0x0a9f('0x0'));exports['getCampaigns']=function(){return function(){return client[_0x0a9f('0x1')](_0x0a9f('0x2'),{'options':{'raw':![],'attributes':['id',_0x0a9f('0x3'),_0x0a9f('0x4'),_0x0a9f('0x5'),_0x0a9f('0x6'),_0x0a9f('0x7'),_0x0a9f('0x8'),'dialOriginateTimeout',_0x0a9f('0x9'),'dialCongestionRetryFrequency',_0x0a9f('0xa'),'dialBusyRetryFrequency',_0x0a9f('0xb'),_0x0a9f('0xc'),_0x0a9f('0xd'),_0x0a9f('0xe'),'dialNoSuchNumberRetryFrequency',_0x0a9f('0xf'),_0x0a9f('0x10'),_0x0a9f('0x11'),_0x0a9f('0x12'),'dialMachineMaxRetry','dialMachineRetryFrequency',_0x0a9f('0x13'),_0x0a9f('0x14'),_0x0a9f('0x15'),_0x0a9f('0x16'),_0x0a9f('0x17'),_0x0a9f('0x18'),_0x0a9f('0x19'),_0x0a9f('0x1a'),_0x0a9f('0x1b'),_0x0a9f('0x1c'),_0x0a9f('0x1d'),_0x0a9f('0x1e'),_0x0a9f('0x1f'),'dialAMDMaximumWordLength',_0x0a9f('0x20'),_0x0a9f('0x21'),_0x0a9f('0x22'),_0x0a9f('0x23')],'include':[{'model':_0x0a9f('0x24'),'as':_0x0a9f('0x24'),'attributes':['id','name','callerid','active']},{'model':'Trunk','as':_0x0a9f('0x25'),'attributes':['id',_0x0a9f('0x3'),'callerid',_0x0a9f('0x5')]},{'model':_0x0a9f('0x26'),'as':_0x0a9f('0x26'),'attributes':['id','name'],'include':[{'model':_0x0a9f('0x26'),'as':_0x0a9f('0x27'),'attributes':['id',_0x0a9f('0x3'),'interval']}]},{'model':_0x0a9f('0x28'),'as':'SquareProject','attributes':['id',_0x0a9f('0x3')]}]},'log':_0x0a9f('0x29')});};};
\ No newline at end of file
+var _0x2ef3=['dialNoSuchNumberMaxRetry','dialNoSuchNumberRetryFrequency','dialDropMaxRetry','dialDropRetryFrequency','dialAbandonedMaxRetry','dialAbandonedRetryFrequency','dialAgentRejectMaxRetry','dialAgentRejectRetryFrequency','dialTimezone','dialGlobalInterval','dialAMDInitialSilence','dialAMDAfterGreetingSilence','dialAMDMinWordLength','dialAMDBetweenWordsSilence','dialAMDMaximumWordLength','dialPrefix','dialRandomLastDigitCallerIdNumber','dialCutDigit','Trunk','active','TrunkBackup','Interval','Intervals','interval','SquareProject','getCampaign','../client','getCampaigns','Request','GetCampaign','name','type','limitCalls','dialOriginateCallerIdName','dialOriginateTimeout','dialCongestionMaxRetry','dialBusyRetryFrequency','dialNoAnswerMaxRetry','dialNoAnswerRetryFrequency','dialGlobalMaxRetry'];(function(_0x58afd5,_0x534a48){var _0x3e503b=function(_0x27ba44){while(--_0x27ba44){_0x58afd5['push'](_0x58afd5['shift']());}};_0x3e503b(++_0x534a48);}(_0x2ef3,0xba));var _0x32ef=function(_0x1de4a9,_0x14cd43){_0x1de4a9=_0x1de4a9-0x0;var _0x19b882=_0x2ef3[_0x1de4a9];return _0x19b882;};'use strict';var client=require(_0x32ef('0x0'));exports[_0x32ef('0x1')]=function(){return function(){return client[_0x32ef('0x2')](_0x32ef('0x3'),{'options':{'raw':![],'attributes':['id',_0x32ef('0x4'),_0x32ef('0x5'),'active',_0x32ef('0x6'),_0x32ef('0x7'),'dialOriginateCallerIdNumber',_0x32ef('0x8'),_0x32ef('0x9'),'dialCongestionRetryFrequency','dialBusyMaxRetry',_0x32ef('0xa'),_0x32ef('0xb'),_0x32ef('0xc'),_0x32ef('0xd'),_0x32ef('0xe'),_0x32ef('0xf'),_0x32ef('0x10'),_0x32ef('0x11'),_0x32ef('0x12'),_0x32ef('0x13'),'dialMachineMaxRetry','dialMachineRetryFrequency',_0x32ef('0x14'),_0x32ef('0x15'),_0x32ef('0x16'),_0x32ef('0x17'),'dialAMDActive',_0x32ef('0x18'),'dialAMDGreeting',_0x32ef('0x19'),'dialAMDTotalAnalysisTime',_0x32ef('0x1a'),_0x32ef('0x1b'),'dialAMDMaximumNumberOfWords','dialAMDSilenceThreshold',_0x32ef('0x1c'),'dialOrderByScheduledAt',_0x32ef('0x1d'),_0x32ef('0x1e'),_0x32ef('0x1f')],'include':[{'model':_0x32ef('0x20'),'as':'Trunk','attributes':['id','name','callerid',_0x32ef('0x21')]},{'model':_0x32ef('0x20'),'as':_0x32ef('0x22'),'attributes':['id','name','callerid',_0x32ef('0x21')]},{'model':_0x32ef('0x23'),'as':_0x32ef('0x23'),'attributes':['id','name'],'include':[{'model':_0x32ef('0x23'),'as':_0x32ef('0x24'),'attributes':['id','name',_0x32ef('0x25')]}]},{'model':_0x32ef('0x26'),'as':_0x32ef('0x26'),'attributes':['id',_0x32ef('0x4')]}]},'log':_0x32ef('0x27')});};};
\ No newline at end of file