Built motion from commit 0415ced0.|2.6.28
[motion2.git] / server / services / ami / model / campaign.js
index 688eb07..427eaf9 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf83f=['dialCutDigit','TrunkBackup','Trunk','Interval','SquareProject','dialAMDActive','dialAMDInitialSilence','dialAMDGreeting','dialAMDAfterGreetingSilence','dialAMDTotalAnalysisTime','dialAMDMinWordLength','dialAMDBetweenWordsSilence','dialAMDMaximumNumberOfWords','dialAMDSilenceThreshold','dialAMDMaximumWordLength','name','type','campaign','temp','ivrAnswerCallsDay','ivrTotalCallsDays','sendMessageOneNotActive','active','limitCalls','dialTimezone','dialGlobalInterval','dialOriginateCallerIdName','dialOriginateCallerIdNumber','dialOriginateTimeout','dialCongestionMaxRetry','dialCongestionRetryFrequency','dialBusyMaxRetry','dialBusyRetryFrequency','dialNoAnswerMaxRetry','dialNoAnswerRetryFrequency','dialGlobalMaxRetry','dialNoSuchNumberMaxRetry','dialNoSuchNumberRetryFrequency','dialDropMaxRetry','dialDropRetryFrequency','dialAbandonedMaxRetry','dialMachineMaxRetry','dialMachineRetryFrequency','dialAgentRejectMaxRetry','dialAgentRejectRetryFrequency','dialOrderByScheduledAt','dialPrefix','dialRandomLastDigitCallerIdNumber'];(function(_0x4bda33,_0x249265){var _0xa4a967=function(_0x1311e2){while(--_0x1311e2){_0x4bda33['push'](_0x4bda33['shift']());}};_0xa4a967(++_0x249265);}(_0xf83f,0xff));var _0xff83=function(_0x130538,_0x22c97c){_0x130538=_0x130538-0x0;var _0x19f541=_0xf83f[_0x130538];return _0x19f541;};'use strict';function Campaign(_0x4bd4e9){this['id']=_0x4bd4e9['id']||0x0;this[_0xff83('0x0')]=_0x4bd4e9[_0xff83('0x0')]||'';this['type']=_0x4bd4e9[_0xff83('0x1')]||_0xff83('0x2');this['originated']=0x0;this[_0xff83('0x3')]=0x0;this[_0xff83('0x4')]=0x0;this[_0xff83('0x5')]=0x0;this['message']='';this[_0xff83('0x6')]=!![];this[_0xff83('0x7')]=_0x4bd4e9[_0xff83('0x7')];this[_0xff83('0x8')]=_0x4bd4e9[_0xff83('0x8')];this[_0xff83('0x9')]=_0x4bd4e9[_0xff83('0x9')]||null;this[_0xff83('0xa')]=_0x4bd4e9[_0xff83('0xa')]?_0x4bd4e9[_0xff83('0xa')]:null;this['dialOriginateCallerIdName']=_0x4bd4e9[_0xff83('0xb')];this[_0xff83('0xc')]=_0x4bd4e9[_0xff83('0xc')];this[_0xff83('0xd')]=_0x4bd4e9[_0xff83('0xd')]||0x1e;this[_0xff83('0xe')]=_0x4bd4e9[_0xff83('0xe')];this[_0xff83('0xf')]=_0x4bd4e9['dialCongestionRetryFrequency'];this[_0xff83('0x10')]=_0x4bd4e9[_0xff83('0x10')];this[_0xff83('0x11')]=_0x4bd4e9[_0xff83('0x11')];this['dialNoAnswerMaxRetry']=_0x4bd4e9[_0xff83('0x12')];this[_0xff83('0x13')]=_0x4bd4e9['dialNoAnswerRetryFrequency'];this['dialGlobalMaxRetry']=_0x4bd4e9[_0xff83('0x14')];this[_0xff83('0x15')]=_0x4bd4e9[_0xff83('0x15')]||0x3;this[_0xff83('0x16')]=_0x4bd4e9['dialNoSuchNumberRetryFrequency']||0x96;this[_0xff83('0x17')]=_0x4bd4e9[_0xff83('0x17')]||0x3;this[_0xff83('0x18')]=_0x4bd4e9[_0xff83('0x18')]||0x96;this[_0xff83('0x19')]=_0x4bd4e9[_0xff83('0x19')]||0x3;this['dialAbandonedRetryFrequency']=_0x4bd4e9['dialAbandonedRetryFrequency']||0x96;this[_0xff83('0x1a')]=_0x4bd4e9[_0xff83('0x1a')]||0x3;this[_0xff83('0x1b')]=_0x4bd4e9['dialMachineRetryFrequency']||0x96;this[_0xff83('0x1c')]=_0x4bd4e9[_0xff83('0x1c')]||0x3;this[_0xff83('0x1d')]=_0x4bd4e9['dialAgentRejectRetryFrequency']||0x96;this[_0xff83('0x1e')]=_0x4bd4e9[_0xff83('0x1e')]||'DESC';this[_0xff83('0x1f')]=_0x4bd4e9[_0xff83('0x1f')]||undefined;this[_0xff83('0x20')]=_0x4bd4e9[_0xff83('0x20')]||undefined;this[_0xff83('0x21')]=_0x4bd4e9[_0xff83('0x21')]||undefined;this['TrunkBackup']=_0x4bd4e9[_0xff83('0x22')]?_0x4bd4e9[_0xff83('0x22')]:undefined;this[_0xff83('0x23')]=_0x4bd4e9[_0xff83('0x23')]?_0x4bd4e9['Trunk']:undefined;this[_0xff83('0x24')]=_0x4bd4e9[_0xff83('0x24')]?_0x4bd4e9[_0xff83('0x24')]:undefined;this['SquareProject']=_0x4bd4e9[_0xff83('0x25')]?_0x4bd4e9[_0xff83('0x25')]:undefined;this['dialQueueProject']=_0x4bd4e9[_0xff83('0x25')]?_0x4bd4e9[_0xff83('0x25')]['name']:undefined;this[_0xff83('0x26')]=_0x4bd4e9[_0xff83('0x26')]||![];this['dialAMDInitialSilence']=_0x4bd4e9[_0xff83('0x27')];this[_0xff83('0x28')]=_0x4bd4e9[_0xff83('0x28')];this[_0xff83('0x29')]=_0x4bd4e9[_0xff83('0x29')];this[_0xff83('0x2a')]=_0x4bd4e9[_0xff83('0x2a')];this[_0xff83('0x2b')]=_0x4bd4e9[_0xff83('0x2b')];this[_0xff83('0x2c')]=_0x4bd4e9[_0xff83('0x2c')];this[_0xff83('0x2d')]=_0x4bd4e9[_0xff83('0x2d')];this['dialAMDSilenceThreshold']=_0x4bd4e9[_0xff83('0x2e')];this[_0xff83('0x2f')]=_0x4bd4e9[_0xff83('0x2f')];}module['exports']=Campaign;
\ No newline at end of file
+var _0x96c8=['dialQueueProject','dialAMDActive','dialAMDGreeting','dialAMDAfterGreetingSilence','dialAMDTotalAnalysisTime','dialAMDMinWordLength','dialAMDMaximumNumberOfWords','dialAMDSilenceThreshold','dialAMDMaximumWordLength','name','type','campaign','originated','ivrAnswerCallsDay','ivrTotalCallsDays','message','sendMessageOneNotActive','active','limitCalls','dialTimezone','dialGlobalInterval','dialOriginateCallerIdName','dialOriginateTimeout','dialCongestionMaxRetry','dialCongestionRetryFrequency','dialBusyRetryFrequency','dialNoAnswerMaxRetry','dialNoAnswerRetryFrequency','dialGlobalMaxRetry','dialNoSuchNumberMaxRetry','dialDropMaxRetry','dialDropRetryFrequency','dialAbandonedMaxRetry','dialAbandonedRetryFrequency','dialMachineMaxRetry','dialMachineRetryFrequency','dialAgentRejectMaxRetry','dialAgentRejectRetryFrequency','dialOrderByScheduledAt','DESC','dialPrefix','dialRandomLastDigitCallerIdNumber','dialCutDigit','TrunkBackup','Trunk','Interval','SquareProject'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x96c8,0x1b0));var _0x896c=function(_0x5852a5,_0x405ed6){_0x5852a5=_0x5852a5-0x0;var _0xae0182=_0x96c8[_0x5852a5];return _0xae0182;};'use strict';function Campaign(_0x2da591){this['id']=_0x2da591['id']||0x0;this[_0x896c('0x0')]=_0x2da591[_0x896c('0x0')]||'';this[_0x896c('0x1')]=_0x2da591[_0x896c('0x1')]||_0x896c('0x2');this[_0x896c('0x3')]=0x0;this['temp']=0x0;this[_0x896c('0x4')]=0x0;this[_0x896c('0x5')]=0x0;this[_0x896c('0x6')]='';this[_0x896c('0x7')]=!![];this[_0x896c('0x8')]=_0x2da591[_0x896c('0x8')];this[_0x896c('0x9')]=_0x2da591[_0x896c('0x9')];this[_0x896c('0xa')]=_0x2da591[_0x896c('0xa')]||null;this[_0x896c('0xb')]=_0x2da591[_0x896c('0xb')]?_0x2da591[_0x896c('0xb')]:null;this[_0x896c('0xc')]=_0x2da591[_0x896c('0xc')];this['dialOriginateCallerIdNumber']=_0x2da591['dialOriginateCallerIdNumber'];this[_0x896c('0xd')]=_0x2da591['dialOriginateTimeout']||0x1e;this['dialCongestionMaxRetry']=_0x2da591[_0x896c('0xe')];this[_0x896c('0xf')]=_0x2da591[_0x896c('0xf')];this['dialBusyMaxRetry']=_0x2da591['dialBusyMaxRetry'];this[_0x896c('0x10')]=_0x2da591[_0x896c('0x10')];this[_0x896c('0x11')]=_0x2da591['dialNoAnswerMaxRetry'];this[_0x896c('0x12')]=_0x2da591[_0x896c('0x12')];this[_0x896c('0x13')]=_0x2da591['dialGlobalMaxRetry'];this[_0x896c('0x14')]=_0x2da591[_0x896c('0x14')]||0x3;this['dialNoSuchNumberRetryFrequency']=_0x2da591['dialNoSuchNumberRetryFrequency']||0x96;this[_0x896c('0x15')]=_0x2da591[_0x896c('0x15')]||0x3;this[_0x896c('0x16')]=_0x2da591[_0x896c('0x16')]||0x96;this[_0x896c('0x17')]=_0x2da591[_0x896c('0x17')]||0x3;this[_0x896c('0x18')]=_0x2da591[_0x896c('0x18')]||0x96;this[_0x896c('0x19')]=_0x2da591[_0x896c('0x19')]||0x3;this['dialMachineRetryFrequency']=_0x2da591[_0x896c('0x1a')]||0x96;this[_0x896c('0x1b')]=_0x2da591[_0x896c('0x1b')]||0x3;this['dialAgentRejectRetryFrequency']=_0x2da591[_0x896c('0x1c')]||0x96;this[_0x896c('0x1d')]=_0x2da591[_0x896c('0x1d')]||_0x896c('0x1e');this[_0x896c('0x1f')]=_0x2da591[_0x896c('0x1f')]||undefined;this[_0x896c('0x20')]=_0x2da591[_0x896c('0x20')]||undefined;this[_0x896c('0x21')]=_0x2da591[_0x896c('0x21')]||undefined;this['TrunkBackup']=_0x2da591[_0x896c('0x22')]?_0x2da591[_0x896c('0x22')]:undefined;this[_0x896c('0x23')]=_0x2da591[_0x896c('0x23')]?_0x2da591['Trunk']:undefined;this['Interval']=_0x2da591[_0x896c('0x24')]?_0x2da591[_0x896c('0x24')]:undefined;this[_0x896c('0x25')]=_0x2da591[_0x896c('0x25')]?_0x2da591['SquareProject']:undefined;this[_0x896c('0x26')]=_0x2da591[_0x896c('0x25')]?_0x2da591['SquareProject'][_0x896c('0x0')]:undefined;this['dialAMDActive']=_0x2da591[_0x896c('0x27')]||![];this['dialAMDInitialSilence']=_0x2da591['dialAMDInitialSilence'];this[_0x896c('0x28')]=_0x2da591['dialAMDGreeting'];this[_0x896c('0x29')]=_0x2da591[_0x896c('0x29')];this[_0x896c('0x2a')]=_0x2da591[_0x896c('0x2a')];this[_0x896c('0x2b')]=_0x2da591[_0x896c('0x2b')];this['dialAMDBetweenWordsSilence']=_0x2da591['dialAMDBetweenWordsSilence'];this[_0x896c('0x2c')]=_0x2da591['dialAMDMaximumNumberOfWords'];this[_0x896c('0x2d')]=_0x2da591[_0x896c('0x2d')];this['dialAMDMaximumWordLength']=_0x2da591[_0x896c('0x2e')];}module['exports']=Campaign;
\ No newline at end of file