Built motion from commit 994c64e1.|2.6.1
[motion2.git] / server / services / ami / model / campaign.js
index 31416b4..a8262c0 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xc650=['dialNoAnswerRetryFrequency','dialGlobalMaxRetry','dialNoSuchNumberMaxRetry','dialDropMaxRetry','dialDropRetryFrequency','dialAbandonedMaxRetry','dialAbandonedRetryFrequency','dialMachineMaxRetry','dialMachineRetryFrequency','dialAgentRejectMaxRetry','dialAgentRejectRetryFrequency','dialOrderByScheduledAt','DESC','dialPrefix','dialRandomLastDigitCallerIdNumber','dialCutDigit','TrunkBackup','Trunk','Interval','SquareProject','dialAMDActive','dialAMDInitialSilence','dialAMDGreeting','dialAMDAfterGreetingSilence','dialAMDTotalAnalysisTime','dialAMDMinWordLength','dialAMDBetweenWordsSilence','dialAMDMaximumNumberOfWords','dialAMDSilenceThreshold','dialAMDMaximumWordLength','name','type','campaign','originated','ivrAnswerCallsDay','ivrTotalCallsDays','message','sendMessageOneNotActive','active','limitCalls','dialTimezone','dialGlobalInterval','dialOriginateCallerIdName','dialOriginateCallerIdNumber','dialOriginateTimeout','dialCongestionMaxRetry','dialCongestionRetryFrequency','dialBusyMaxRetry','dialBusyRetryFrequency'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0xc650,0x1d7));var _0x0c65=function(_0x2f987f,_0x1e91ae){_0x2f987f=_0x2f987f-0x0;var _0x4378f9=_0xc650[_0x2f987f];return _0x4378f9;};'use strict';function Campaign(_0x4e0636){this['id']=_0x4e0636['id']||0x0;this[_0x0c65('0x0')]=_0x4e0636['name']||'';this[_0x0c65('0x1')]=_0x4e0636[_0x0c65('0x1')]||_0x0c65('0x2');this[_0x0c65('0x3')]=0x0;this['temp']=0x0;this[_0x0c65('0x4')]=0x0;this[_0x0c65('0x5')]=0x0;this[_0x0c65('0x6')]='';this[_0x0c65('0x7')]=!![];this['active']=_0x4e0636[_0x0c65('0x8')];this[_0x0c65('0x9')]=_0x4e0636['limitCalls'];this[_0x0c65('0xa')]=_0x4e0636[_0x0c65('0xa')]||null;this['dialGlobalInterval']=_0x4e0636[_0x0c65('0xb')]?_0x4e0636['dialGlobalInterval']:null;this[_0x0c65('0xc')]=_0x4e0636[_0x0c65('0xc')];this['dialOriginateCallerIdNumber']=_0x4e0636[_0x0c65('0xd')];this['dialOriginateTimeout']=_0x4e0636[_0x0c65('0xe')]||0x1e;this['dialCongestionMaxRetry']=_0x4e0636[_0x0c65('0xf')];this[_0x0c65('0x10')]=_0x4e0636[_0x0c65('0x10')];this[_0x0c65('0x11')]=_0x4e0636[_0x0c65('0x11')];this['dialBusyRetryFrequency']=_0x4e0636[_0x0c65('0x12')];this['dialNoAnswerMaxRetry']=_0x4e0636['dialNoAnswerMaxRetry'];this[_0x0c65('0x13')]=_0x4e0636[_0x0c65('0x13')];this[_0x0c65('0x14')]=_0x4e0636['dialGlobalMaxRetry'];this[_0x0c65('0x15')]=_0x4e0636[_0x0c65('0x15')]||0x3;this['dialNoSuchNumberRetryFrequency']=_0x4e0636['dialNoSuchNumberRetryFrequency']||0x96;this[_0x0c65('0x16')]=_0x4e0636[_0x0c65('0x16')]||0x3;this['dialDropRetryFrequency']=_0x4e0636[_0x0c65('0x17')]||0x96;this['dialAbandonedMaxRetry']=_0x4e0636[_0x0c65('0x18')]||0x3;this[_0x0c65('0x19')]=_0x4e0636['dialAbandonedRetryFrequency']||0x96;this[_0x0c65('0x1a')]=_0x4e0636[_0x0c65('0x1a')]||0x3;this[_0x0c65('0x1b')]=_0x4e0636['dialMachineRetryFrequency']||0x96;this['dialAgentRejectMaxRetry']=_0x4e0636[_0x0c65('0x1c')]||0x3;this[_0x0c65('0x1d')]=_0x4e0636['dialAgentRejectRetryFrequency']||0x96;this[_0x0c65('0x1e')]=_0x4e0636[_0x0c65('0x1e')]||_0x0c65('0x1f');this[_0x0c65('0x20')]=_0x4e0636[_0x0c65('0x20')]||undefined;this[_0x0c65('0x21')]=_0x4e0636[_0x0c65('0x21')]||undefined;this[_0x0c65('0x22')]=_0x4e0636[_0x0c65('0x22')]||undefined;this[_0x0c65('0x23')]=_0x4e0636[_0x0c65('0x23')]?_0x4e0636['TrunkBackup']:undefined;this[_0x0c65('0x24')]=_0x4e0636[_0x0c65('0x24')]?_0x4e0636[_0x0c65('0x24')]:undefined;this[_0x0c65('0x25')]=_0x4e0636[_0x0c65('0x25')]?_0x4e0636['Interval']:undefined;this[_0x0c65('0x26')]=_0x4e0636[_0x0c65('0x26')]?_0x4e0636[_0x0c65('0x26')]:undefined;this['dialQueueProject']=_0x4e0636['SquareProject']?_0x4e0636[_0x0c65('0x26')][_0x0c65('0x0')]:undefined;this[_0x0c65('0x27')]=_0x4e0636[_0x0c65('0x27')]||![];this['dialAMDInitialSilence']=_0x4e0636[_0x0c65('0x28')];this[_0x0c65('0x29')]=_0x4e0636[_0x0c65('0x29')];this[_0x0c65('0x2a')]=_0x4e0636[_0x0c65('0x2a')];this[_0x0c65('0x2b')]=_0x4e0636['dialAMDTotalAnalysisTime'];this['dialAMDMinWordLength']=_0x4e0636[_0x0c65('0x2c')];this[_0x0c65('0x2d')]=_0x4e0636[_0x0c65('0x2d')];this[_0x0c65('0x2e')]=_0x4e0636[_0x0c65('0x2e')];this[_0x0c65('0x2f')]=_0x4e0636[_0x0c65('0x2f')];this['dialAMDMaximumWordLength']=_0x4e0636[_0x0c65('0x30')];}module['exports']=Campaign;
\ No newline at end of file
+var _0x20a6=['dialTimezone','dialGlobalInterval','dialOriginateCallerIdName','dialOriginateCallerIdNumber','dialOriginateTimeout','dialCongestionMaxRetry','dialCongestionRetryFrequency','dialBusyMaxRetry','dialBusyRetryFrequency','dialNoAnswerMaxRetry','dialNoAnswerRetryFrequency','dialGlobalMaxRetry','dialNoSuchNumberMaxRetry','dialNoSuchNumberRetryFrequency','dialDropMaxRetry','dialDropRetryFrequency','dialAbandonedMaxRetry','dialAbandonedRetryFrequency','dialMachineMaxRetry','dialMachineRetryFrequency','dialAgentRejectMaxRetry','dialAgentRejectRetryFrequency','dialOrderByScheduledAt','DESC','dialPrefix','dialRandomLastDigitCallerIdNumber','dialCutDigit','TrunkBackup','Trunk','Interval','SquareProject','dialAMDActive','dialAMDInitialSilence','dialAMDGreeting','dialAMDAfterGreetingSilence','dialAMDTotalAnalysisTime','dialAMDMinWordLength','dialAMDBetweenWordsSilence','dialAMDMaximumNumberOfWords','dialAMDSilenceThreshold','dialAMDMaximumWordLength','name','type','campaign','originated','temp','ivrAnswerCallsDay','message','limitCalls'];(function(_0x4c10b6,_0x39ec58){var _0x18c250=function(_0x31f751){while(--_0x31f751){_0x4c10b6['push'](_0x4c10b6['shift']());}};_0x18c250(++_0x39ec58);}(_0x20a6,0x14f));var _0x620a=function(_0x3e642e,_0x47762c){_0x3e642e=_0x3e642e-0x0;var _0x3e4064=_0x20a6[_0x3e642e];return _0x3e4064;};'use strict';function Campaign(_0x53f03e){this['id']=_0x53f03e['id']||0x0;this['name']=_0x53f03e[_0x620a('0x0')]||'';this['type']=_0x53f03e[_0x620a('0x1')]||_0x620a('0x2');this[_0x620a('0x3')]=0x0;this[_0x620a('0x4')]=0x0;this[_0x620a('0x5')]=0x0;this['ivrTotalCallsDays']=0x0;this[_0x620a('0x6')]='';this['sendMessageOneNotActive']=!![];this['active']=_0x53f03e['active'];this[_0x620a('0x7')]=_0x53f03e[_0x620a('0x7')];this[_0x620a('0x8')]=_0x53f03e[_0x620a('0x8')]||null;this[_0x620a('0x9')]=_0x53f03e[_0x620a('0x9')]?_0x53f03e[_0x620a('0x9')]:null;this[_0x620a('0xa')]=_0x53f03e['dialOriginateCallerIdName'];this[_0x620a('0xb')]=_0x53f03e[_0x620a('0xb')];this[_0x620a('0xc')]=_0x53f03e[_0x620a('0xc')]||0x1e;this[_0x620a('0xd')]=_0x53f03e['dialCongestionMaxRetry'];this[_0x620a('0xe')]=_0x53f03e[_0x620a('0xe')];this[_0x620a('0xf')]=_0x53f03e['dialBusyMaxRetry'];this[_0x620a('0x10')]=_0x53f03e[_0x620a('0x10')];this[_0x620a('0x11')]=_0x53f03e[_0x620a('0x11')];this[_0x620a('0x12')]=_0x53f03e[_0x620a('0x12')];this[_0x620a('0x13')]=_0x53f03e[_0x620a('0x13')];this[_0x620a('0x14')]=_0x53f03e['dialNoSuchNumberMaxRetry']||0x3;this[_0x620a('0x15')]=_0x53f03e[_0x620a('0x15')]||0x96;this['dialDropMaxRetry']=_0x53f03e[_0x620a('0x16')]||0x3;this['dialDropRetryFrequency']=_0x53f03e[_0x620a('0x17')]||0x96;this[_0x620a('0x18')]=_0x53f03e[_0x620a('0x18')]||0x3;this[_0x620a('0x19')]=_0x53f03e[_0x620a('0x19')]||0x96;this[_0x620a('0x1a')]=_0x53f03e[_0x620a('0x1a')]||0x3;this[_0x620a('0x1b')]=_0x53f03e['dialMachineRetryFrequency']||0x96;this[_0x620a('0x1c')]=_0x53f03e[_0x620a('0x1c')]||0x3;this[_0x620a('0x1d')]=_0x53f03e[_0x620a('0x1d')]||0x96;this[_0x620a('0x1e')]=_0x53f03e[_0x620a('0x1e')]||_0x620a('0x1f');this['dialPrefix']=_0x53f03e[_0x620a('0x20')]||undefined;this[_0x620a('0x21')]=_0x53f03e['dialRandomLastDigitCallerIdNumber']||undefined;this['dialCutDigit']=_0x53f03e[_0x620a('0x22')]||undefined;this[_0x620a('0x23')]=_0x53f03e[_0x620a('0x23')]?_0x53f03e[_0x620a('0x23')]:undefined;this['Trunk']=_0x53f03e[_0x620a('0x24')]?_0x53f03e['Trunk']:undefined;this['Interval']=_0x53f03e[_0x620a('0x25')]?_0x53f03e[_0x620a('0x25')]:undefined;this['SquareProject']=_0x53f03e['SquareProject']?_0x53f03e[_0x620a('0x26')]:undefined;this['dialQueueProject']=_0x53f03e[_0x620a('0x26')]?_0x53f03e[_0x620a('0x26')][_0x620a('0x0')]:undefined;this[_0x620a('0x27')]=_0x53f03e[_0x620a('0x27')]||![];this[_0x620a('0x28')]=_0x53f03e['dialAMDInitialSilence'];this['dialAMDGreeting']=_0x53f03e[_0x620a('0x29')];this[_0x620a('0x2a')]=_0x53f03e['dialAMDAfterGreetingSilence'];this[_0x620a('0x2b')]=_0x53f03e[_0x620a('0x2b')];this[_0x620a('0x2c')]=_0x53f03e[_0x620a('0x2c')];this[_0x620a('0x2d')]=_0x53f03e[_0x620a('0x2d')];this[_0x620a('0x2e')]=_0x53f03e[_0x620a('0x2e')];this[_0x620a('0x2f')]=_0x53f03e[_0x620a('0x2f')];this[_0x620a('0x30')]=_0x53f03e[_0x620a('0x30')];}module['exports']=Campaign;
\ No newline at end of file