Built motion from commit d1eab355.|2.6.28
[motion2.git] / server / services / ami / model / campaign.js
index eb74688..323f3d4 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xea06=['dialAgentRejectRetryFrequency','dialOrderByScheduledAt','dialPrefix','dialRandomLastDigitCallerIdNumber','dialCutDigit','TrunkBackup','Trunk','Interval','SquareProject','dialQueueProject','dialAMDActive','dialAMDInitialSilence','dialAMDGreeting','dialAMDAfterGreetingSilence','dialAMDTotalAnalysisTime','dialAMDMinWordLength','dialAMDBetweenWordsSilence','dialAMDMaximumNumberOfWords','dialAMDSilenceThreshold','exports','name','type','campaign','ivrAnswerCallsDay','ivrTotalCallsDays','message','sendMessageOneNotActive','active','limitCalls','dialTimezone','dialGlobalInterval','dialOriginateCallerIdNumber','dialOriginateTimeout','dialCongestionMaxRetry','dialCongestionRetryFrequency','dialBusyMaxRetry','dialBusyRetryFrequency','dialNoAnswerMaxRetry','dialNoAnswerRetryFrequency','dialGlobalMaxRetry','dialNoSuchNumberMaxRetry','dialNoSuchNumberRetryFrequency','dialDropMaxRetry','dialDropRetryFrequency','dialAbandonedMaxRetry','dialAbandonedRetryFrequency','dialMachineMaxRetry','dialMachineRetryFrequency','dialAgentRejectMaxRetry'];(function(_0x3bdde1,_0x1122e9){var _0x3cc806=function(_0x14178f){while(--_0x14178f){_0x3bdde1['push'](_0x3bdde1['shift']());}};_0x3cc806(++_0x1122e9);}(_0xea06,0xd8));var _0x6ea0=function(_0xe355b0,_0x227265){_0xe355b0=_0xe355b0-0x0;var _0xcef12=_0xea06[_0xe355b0];return _0xcef12;};'use strict';function Campaign(_0x40913e){this['id']=_0x40913e['id']||0x0;this[_0x6ea0('0x0')]=_0x40913e[_0x6ea0('0x0')]||'';this[_0x6ea0('0x1')]=_0x40913e[_0x6ea0('0x1')]||_0x6ea0('0x2');this['originated']=0x0;this['temp']=0x0;this[_0x6ea0('0x3')]=0x0;this[_0x6ea0('0x4')]=0x0;this[_0x6ea0('0x5')]='';this[_0x6ea0('0x6')]=!![];this[_0x6ea0('0x7')]=_0x40913e[_0x6ea0('0x7')];this['limitCalls']=_0x40913e[_0x6ea0('0x8')];this[_0x6ea0('0x9')]=_0x40913e[_0x6ea0('0x9')]||null;this[_0x6ea0('0xa')]=_0x40913e[_0x6ea0('0xa')]?_0x40913e[_0x6ea0('0xa')]:null;this['dialOriginateCallerIdName']=_0x40913e['dialOriginateCallerIdName'];this[_0x6ea0('0xb')]=_0x40913e[_0x6ea0('0xb')];this[_0x6ea0('0xc')]=_0x40913e[_0x6ea0('0xc')]||0x1e;this[_0x6ea0('0xd')]=_0x40913e[_0x6ea0('0xd')];this['dialCongestionRetryFrequency']=_0x40913e[_0x6ea0('0xe')];this[_0x6ea0('0xf')]=_0x40913e[_0x6ea0('0xf')];this['dialBusyRetryFrequency']=_0x40913e[_0x6ea0('0x10')];this[_0x6ea0('0x11')]=_0x40913e[_0x6ea0('0x11')];this[_0x6ea0('0x12')]=_0x40913e[_0x6ea0('0x12')];this[_0x6ea0('0x13')]=_0x40913e['dialGlobalMaxRetry'];this[_0x6ea0('0x14')]=_0x40913e[_0x6ea0('0x14')]||0x3;this[_0x6ea0('0x15')]=_0x40913e['dialNoSuchNumberRetryFrequency']||0x96;this[_0x6ea0('0x16')]=_0x40913e['dialDropMaxRetry']||0x3;this[_0x6ea0('0x17')]=_0x40913e['dialDropRetryFrequency']||0x96;this[_0x6ea0('0x18')]=_0x40913e[_0x6ea0('0x18')]||0x3;this[_0x6ea0('0x19')]=_0x40913e[_0x6ea0('0x19')]||0x96;this[_0x6ea0('0x1a')]=_0x40913e[_0x6ea0('0x1a')]||0x3;this[_0x6ea0('0x1b')]=_0x40913e[_0x6ea0('0x1b')]||0x96;this[_0x6ea0('0x1c')]=_0x40913e[_0x6ea0('0x1c')]||0x3;this[_0x6ea0('0x1d')]=_0x40913e[_0x6ea0('0x1d')]||0x96;this[_0x6ea0('0x1e')]=_0x40913e[_0x6ea0('0x1e')]||'DESC';this['dialPrefix']=_0x40913e[_0x6ea0('0x1f')]||undefined;this[_0x6ea0('0x20')]=_0x40913e['dialRandomLastDigitCallerIdNumber']||undefined;this[_0x6ea0('0x21')]=_0x40913e[_0x6ea0('0x21')]||undefined;this[_0x6ea0('0x22')]=_0x40913e['TrunkBackup']?_0x40913e[_0x6ea0('0x22')]:undefined;this[_0x6ea0('0x23')]=_0x40913e[_0x6ea0('0x23')]?_0x40913e[_0x6ea0('0x23')]:undefined;this[_0x6ea0('0x24')]=_0x40913e[_0x6ea0('0x24')]?_0x40913e[_0x6ea0('0x24')]:undefined;this[_0x6ea0('0x25')]=_0x40913e[_0x6ea0('0x25')]?_0x40913e[_0x6ea0('0x25')]:undefined;this[_0x6ea0('0x26')]=_0x40913e[_0x6ea0('0x25')]?_0x40913e[_0x6ea0('0x25')]['name']:undefined;this[_0x6ea0('0x27')]=_0x40913e[_0x6ea0('0x27')]||![];this[_0x6ea0('0x28')]=_0x40913e[_0x6ea0('0x28')];this['dialAMDGreeting']=_0x40913e[_0x6ea0('0x29')];this[_0x6ea0('0x2a')]=_0x40913e['dialAMDAfterGreetingSilence'];this[_0x6ea0('0x2b')]=_0x40913e[_0x6ea0('0x2b')];this[_0x6ea0('0x2c')]=_0x40913e[_0x6ea0('0x2c')];this[_0x6ea0('0x2d')]=_0x40913e['dialAMDBetweenWordsSilence'];this[_0x6ea0('0x2e')]=_0x40913e['dialAMDMaximumNumberOfWords'];this[_0x6ea0('0x2f')]=_0x40913e[_0x6ea0('0x2f')];this['dialAMDMaximumWordLength']=_0x40913e['dialAMDMaximumWordLength'];}module[_0x6ea0('0x30')]=Campaign;
\ No newline at end of file
+var _0x32bc=['active','limitCalls','dialTimezone','dialGlobalInterval','dialOriginateCallerIdName','dialOriginateCallerIdNumber','dialOriginateTimeout','dialCongestionMaxRetry','dialCongestionRetryFrequency','dialBusyMaxRetry','dialBusyRetryFrequency','dialNoAnswerMaxRetry','dialNoAnswerRetryFrequency','dialGlobalMaxRetry','dialNoSuchNumberMaxRetry','dialNoSuchNumberRetryFrequency','dialDropMaxRetry','dialAbandonedMaxRetry','dialAbandonedRetryFrequency','dialMachineMaxRetry','dialMachineRetryFrequency','dialAgentRejectMaxRetry','dialAgentRejectRetryFrequency','dialOrderByScheduledAt','DESC','dialPrefix','dialRandomLastDigitCallerIdNumber','dialCutDigit','TrunkBackup','Trunk','Interval','SquareProject','dialQueueProject','dialAMDActive','dialAMDInitialSilence','dialAMDGreeting','dialAMDAfterGreetingSilence','dialAMDTotalAnalysisTime','dialAMDBetweenWordsSilence','dialAMDMaximumNumberOfWords','dialAMDSilenceThreshold','dialAMDMaximumWordLength','exports','name','type','campaign','temp','ivrAnswerCallsDay','ivrTotalCallsDays','message','sendMessageOneNotActive'];(function(_0x3f6b09,_0x303e84){var _0x2f4ea3=function(_0x3591bb){while(--_0x3591bb){_0x3f6b09['push'](_0x3f6b09['shift']());}};_0x2f4ea3(++_0x303e84);}(_0x32bc,0xf7));var _0xc32b=function(_0x5236f5,_0xdeba4f){_0x5236f5=_0x5236f5-0x0;var _0x4f9072=_0x32bc[_0x5236f5];return _0x4f9072;};'use strict';function Campaign(_0xff9974){this['id']=_0xff9974['id']||0x0;this[_0xc32b('0x0')]=_0xff9974[_0xc32b('0x0')]||'';this[_0xc32b('0x1')]=_0xff9974[_0xc32b('0x1')]||_0xc32b('0x2');this['originated']=0x0;this[_0xc32b('0x3')]=0x0;this[_0xc32b('0x4')]=0x0;this[_0xc32b('0x5')]=0x0;this[_0xc32b('0x6')]='';this[_0xc32b('0x7')]=!![];this[_0xc32b('0x8')]=_0xff9974[_0xc32b('0x8')];this[_0xc32b('0x9')]=_0xff9974['limitCalls'];this[_0xc32b('0xa')]=_0xff9974[_0xc32b('0xa')]||null;this[_0xc32b('0xb')]=_0xff9974[_0xc32b('0xb')]?_0xff9974[_0xc32b('0xb')]:null;this[_0xc32b('0xc')]=_0xff9974[_0xc32b('0xc')];this[_0xc32b('0xd')]=_0xff9974['dialOriginateCallerIdNumber'];this[_0xc32b('0xe')]=_0xff9974[_0xc32b('0xe')]||0x1e;this['dialCongestionMaxRetry']=_0xff9974[_0xc32b('0xf')];this[_0xc32b('0x10')]=_0xff9974[_0xc32b('0x10')];this['dialBusyMaxRetry']=_0xff9974[_0xc32b('0x11')];this[_0xc32b('0x12')]=_0xff9974[_0xc32b('0x12')];this['dialNoAnswerMaxRetry']=_0xff9974[_0xc32b('0x13')];this[_0xc32b('0x14')]=_0xff9974[_0xc32b('0x14')];this[_0xc32b('0x15')]=_0xff9974[_0xc32b('0x15')];this[_0xc32b('0x16')]=_0xff9974[_0xc32b('0x16')]||0x3;this[_0xc32b('0x17')]=_0xff9974[_0xc32b('0x17')]||0x96;this[_0xc32b('0x18')]=_0xff9974[_0xc32b('0x18')]||0x3;this['dialDropRetryFrequency']=_0xff9974['dialDropRetryFrequency']||0x96;this[_0xc32b('0x19')]=_0xff9974[_0xc32b('0x19')]||0x3;this['dialAbandonedRetryFrequency']=_0xff9974[_0xc32b('0x1a')]||0x96;this[_0xc32b('0x1b')]=_0xff9974[_0xc32b('0x1b')]||0x3;this[_0xc32b('0x1c')]=_0xff9974[_0xc32b('0x1c')]||0x96;this['dialAgentRejectMaxRetry']=_0xff9974[_0xc32b('0x1d')]||0x3;this['dialAgentRejectRetryFrequency']=_0xff9974[_0xc32b('0x1e')]||0x96;this[_0xc32b('0x1f')]=_0xff9974[_0xc32b('0x1f')]||_0xc32b('0x20');this[_0xc32b('0x21')]=_0xff9974['dialPrefix']||undefined;this['dialRandomLastDigitCallerIdNumber']=_0xff9974[_0xc32b('0x22')]||undefined;this[_0xc32b('0x23')]=_0xff9974[_0xc32b('0x23')]||undefined;this[_0xc32b('0x24')]=_0xff9974[_0xc32b('0x24')]?_0xff9974[_0xc32b('0x24')]:undefined;this[_0xc32b('0x25')]=_0xff9974[_0xc32b('0x25')]?_0xff9974[_0xc32b('0x25')]:undefined;this[_0xc32b('0x26')]=_0xff9974['Interval']?_0xff9974[_0xc32b('0x26')]:undefined;this[_0xc32b('0x27')]=_0xff9974['SquareProject']?_0xff9974[_0xc32b('0x27')]:undefined;this[_0xc32b('0x28')]=_0xff9974[_0xc32b('0x27')]?_0xff9974[_0xc32b('0x27')][_0xc32b('0x0')]:undefined;this[_0xc32b('0x29')]=_0xff9974[_0xc32b('0x29')]||![];this[_0xc32b('0x2a')]=_0xff9974[_0xc32b('0x2a')];this[_0xc32b('0x2b')]=_0xff9974[_0xc32b('0x2b')];this[_0xc32b('0x2c')]=_0xff9974['dialAMDAfterGreetingSilence'];this[_0xc32b('0x2d')]=_0xff9974[_0xc32b('0x2d')];this['dialAMDMinWordLength']=_0xff9974['dialAMDMinWordLength'];this[_0xc32b('0x2e')]=_0xff9974[_0xc32b('0x2e')];this[_0xc32b('0x2f')]=_0xff9974[_0xc32b('0x2f')];this[_0xc32b('0x30')]=_0xff9974[_0xc32b('0x30')];this[_0xc32b('0x31')]=_0xff9974['dialAMDMaximumWordLength'];}module[_0xc32b('0x32')]=Campaign;
\ No newline at end of file