Built motion from commit (unavailable).|2.5.13
[motion2.git] / server / services / ami / rpc / campaign.js
index 40f3a57..879a191 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x8d5e=['dialGlobalInterval','dialAMDAfterGreetingSilence','dialAMDTotalAnalysisTime','dialAMDMinWordLength','dialAMDBetweenWordsSilence','dialAMDMaximumNumberOfWords','dialAMDSilenceThreshold','dialAMDMaximumWordLength','dialOrderByScheduledAt','dialPrefix','dialRandomLastDigitCallerIdNumber','dialCutDigit','Trunk','active','TrunkBackup','Interval','SquareProject','getCampaign','../client','getCampaigns','Request','GetCampaign','name','type','dialOriginateCallerIdName','dialOriginateCallerIdNumber','dialOriginateTimeout','dialCongestionMaxRetry','dialBusyRetryFrequency','dialNoAnswerMaxRetry','dialGlobalMaxRetry','dialNoSuchNumberMaxRetry','dialNoSuchNumberRetryFrequency','dialDropMaxRetry','dialAbandonedMaxRetry','dialAbandonedRetryFrequency','dialAgentRejectMaxRetry','dialAgentRejectRetryFrequency'];(function(_0x284506,_0x191316){var _0x1e9ee5=function(_0xe7eaa){while(--_0xe7eaa){_0x284506['push'](_0x284506['shift']());}};_0x1e9ee5(++_0x191316);}(_0x8d5e,0xf6));var _0xe8d5=function(_0x2763f2,_0x416af8){_0x2763f2=_0x2763f2-0x0;var _0x3ef471=_0x8d5e[_0x2763f2];return _0x3ef471;};'use strict';var client=require(_0xe8d5('0x0'));exports[_0xe8d5('0x1')]=function(){return function(){return client[_0xe8d5('0x2')](_0xe8d5('0x3'),{'options':{'raw':![],'attributes':['id',_0xe8d5('0x4'),_0xe8d5('0x5'),'active','limitCalls',_0xe8d5('0x6'),_0xe8d5('0x7'),_0xe8d5('0x8'),_0xe8d5('0x9'),'dialCongestionRetryFrequency','dialBusyMaxRetry',_0xe8d5('0xa'),_0xe8d5('0xb'),'dialNoAnswerRetryFrequency',_0xe8d5('0xc'),_0xe8d5('0xd'),_0xe8d5('0xe'),_0xe8d5('0xf'),'dialDropRetryFrequency',_0xe8d5('0x10'),_0xe8d5('0x11'),'dialMachineMaxRetry','dialMachineRetryFrequency',_0xe8d5('0x12'),_0xe8d5('0x13'),'dialTimezone',_0xe8d5('0x14'),'dialAMDActive','dialAMDInitialSilence','dialAMDGreeting',_0xe8d5('0x15'),_0xe8d5('0x16'),_0xe8d5('0x17'),_0xe8d5('0x18'),_0xe8d5('0x19'),_0xe8d5('0x1a'),_0xe8d5('0x1b'),_0xe8d5('0x1c'),_0xe8d5('0x1d'),_0xe8d5('0x1e'),_0xe8d5('0x1f')],'include':[{'model':'Trunk','as':_0xe8d5('0x20'),'attributes':['id',_0xe8d5('0x4'),'callerid',_0xe8d5('0x21')]},{'model':_0xe8d5('0x20'),'as':_0xe8d5('0x22'),'attributes':['id',_0xe8d5('0x4'),'callerid',_0xe8d5('0x21')]},{'model':_0xe8d5('0x23'),'as':'Interval','attributes':['id','name'],'include':[{'model':_0xe8d5('0x23'),'as':'Intervals','attributes':['id',_0xe8d5('0x4'),'interval']}]},{'model':_0xe8d5('0x24'),'as':_0xe8d5('0x24'),'attributes':['id',_0xe8d5('0x4')]}]},'log':_0xe8d5('0x25')});};};
\ No newline at end of file
+var _0x9123=['dialAMDTotalAnalysisTime','dialAMDMinWordLength','dialAMDBetweenWordsSilence','dialAMDSilenceThreshold','dialAMDMaximumWordLength','dialPrefix','dialRandomLastDigitCallerIdNumber','dialCutDigit','Trunk','callerid','TrunkBackup','Interval','Intervals','interval','SquareProject','getCampaign','../client','name','active','limitCalls','dialOriginateCallerIdName','dialOriginateCallerIdNumber','dialCongestionMaxRetry','dialCongestionRetryFrequency','dialNoAnswerMaxRetry','dialNoAnswerRetryFrequency','dialGlobalMaxRetry','dialNoSuchNumberRetryFrequency','dialDropMaxRetry','dialDropRetryFrequency','dialAbandonedMaxRetry','dialMachineMaxRetry','dialMachineRetryFrequency','dialAgentRejectRetryFrequency','dialTimezone','dialGlobalInterval','dialAMDActive','dialAMDInitialSilence'];(function(_0x324012,_0x23f45f){var _0x435cf2=function(_0x378a82){while(--_0x378a82){_0x324012['push'](_0x324012['shift']());}};_0x435cf2(++_0x23f45f);}(_0x9123,0x140));var _0x3912=function(_0x4e78a4,_0x5062e7){_0x4e78a4=_0x4e78a4-0x0;var _0x46284e=_0x9123[_0x4e78a4];return _0x46284e;};'use strict';var client=require(_0x3912('0x0'));exports['getCampaigns']=function(){return function(){return client['Request']('GetCampaign',{'options':{'raw':![],'attributes':['id',_0x3912('0x1'),'type',_0x3912('0x2'),_0x3912('0x3'),_0x3912('0x4'),_0x3912('0x5'),'dialOriginateTimeout',_0x3912('0x6'),_0x3912('0x7'),'dialBusyMaxRetry','dialBusyRetryFrequency',_0x3912('0x8'),_0x3912('0x9'),_0x3912('0xa'),'dialNoSuchNumberMaxRetry',_0x3912('0xb'),_0x3912('0xc'),_0x3912('0xd'),_0x3912('0xe'),'dialAbandonedRetryFrequency',_0x3912('0xf'),_0x3912('0x10'),'dialAgentRejectMaxRetry',_0x3912('0x11'),_0x3912('0x12'),_0x3912('0x13'),_0x3912('0x14'),_0x3912('0x15'),'dialAMDGreeting','dialAMDAfterGreetingSilence',_0x3912('0x16'),_0x3912('0x17'),_0x3912('0x18'),'dialAMDMaximumNumberOfWords',_0x3912('0x19'),_0x3912('0x1a'),'dialOrderByScheduledAt',_0x3912('0x1b'),_0x3912('0x1c'),_0x3912('0x1d')],'include':[{'model':_0x3912('0x1e'),'as':'Trunk','attributes':['id',_0x3912('0x1'),_0x3912('0x1f'),_0x3912('0x2')]},{'model':_0x3912('0x1e'),'as':_0x3912('0x20'),'attributes':['id','name',_0x3912('0x1f'),_0x3912('0x2')]},{'model':_0x3912('0x21'),'as':_0x3912('0x21'),'attributes':['id',_0x3912('0x1')],'include':[{'model':'Interval','as':_0x3912('0x22'),'attributes':['id',_0x3912('0x1'),_0x3912('0x23')]}]},{'model':'SquareProject','as':_0x3912('0x24'),'attributes':['id',_0x3912('0x1')]}]},'log':_0x3912('0x25')});};};
\ No newline at end of file