Built motion from commit (unavailable).|2.5.23
[motion2.git] / server / services / ami / model / campaign.js
index f8b8057..0f8a9cd 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf4cd=['dialMachineRetryFrequency','dialAgentRejectMaxRetry','dialAgentRejectRetryFrequency','dialRandomLastDigitCallerIdNumber','dialCutDigit','TrunkBackup','Trunk','Interval','SquareProject','dialAMDActive','dialAMDInitialSilence','dialAMDGreeting','dialAMDAfterGreetingSilence','dialAMDTotalAnalysisTime','dialAMDMinWordLength','dialAMDBetweenWordsSilence','dialAMDMaximumNumberOfWords','dialAMDSilenceThreshold','dialAMDMaximumWordLength','exports','name','type','campaign','originated','temp','ivrAnswerCallsDay','ivrTotalCallsDays','message','sendMessageOneNotActive','active','limitCalls','dialTimezone','dialGlobalInterval','dialOriginateCallerIdName','dialOriginateCallerIdNumber','dialOriginateTimeout','dialCongestionMaxRetry','dialCongestionRetryFrequency','dialBusyRetryFrequency','dialNoAnswerMaxRetry','dialNoAnswerRetryFrequency','dialGlobalMaxRetry','dialNoSuchNumberMaxRetry','dialNoSuchNumberRetryFrequency','dialDropMaxRetry','dialAbandonedMaxRetry','dialAbandonedRetryFrequency'];(function(_0x3336aa,_0x1949a0){var _0x198bbe=function(_0x5b0e86){while(--_0x5b0e86){_0x3336aa['push'](_0x3336aa['shift']());}};_0x198bbe(++_0x1949a0);}(_0xf4cd,0x18c));var _0xdf4c=function(_0xcd3647,_0x5182d6){_0xcd3647=_0xcd3647-0x0;var _0x4bad77=_0xf4cd[_0xcd3647];return _0x4bad77;};'use strict';function Campaign(_0x162b04){this['id']=_0x162b04['id']||0x0;this[_0xdf4c('0x0')]=_0x162b04[_0xdf4c('0x0')]||'';this['type']=_0x162b04[_0xdf4c('0x1')]||_0xdf4c('0x2');this[_0xdf4c('0x3')]=0x0;this[_0xdf4c('0x4')]=0x0;this[_0xdf4c('0x5')]=0x0;this[_0xdf4c('0x6')]=0x0;this[_0xdf4c('0x7')]='';this[_0xdf4c('0x8')]=!![];this[_0xdf4c('0x9')]=_0x162b04[_0xdf4c('0x9')];this[_0xdf4c('0xa')]=_0x162b04[_0xdf4c('0xa')];this[_0xdf4c('0xb')]=_0x162b04[_0xdf4c('0xb')]||null;this[_0xdf4c('0xc')]=_0x162b04['dialGlobalInterval']?_0x162b04[_0xdf4c('0xc')]:null;this[_0xdf4c('0xd')]=_0x162b04['dialOriginateCallerIdName'];this[_0xdf4c('0xe')]=_0x162b04[_0xdf4c('0xe')];this['dialOriginateTimeout']=_0x162b04[_0xdf4c('0xf')]||0x1e;this[_0xdf4c('0x10')]=_0x162b04[_0xdf4c('0x10')];this['dialCongestionRetryFrequency']=_0x162b04[_0xdf4c('0x11')];this['dialBusyMaxRetry']=_0x162b04['dialBusyMaxRetry'];this[_0xdf4c('0x12')]=_0x162b04[_0xdf4c('0x12')];this['dialNoAnswerMaxRetry']=_0x162b04[_0xdf4c('0x13')];this[_0xdf4c('0x14')]=_0x162b04[_0xdf4c('0x14')];this['dialGlobalMaxRetry']=_0x162b04[_0xdf4c('0x15')];this[_0xdf4c('0x16')]=_0x162b04[_0xdf4c('0x16')]||0x3;this[_0xdf4c('0x17')]=_0x162b04[_0xdf4c('0x17')]||0x96;this[_0xdf4c('0x18')]=_0x162b04[_0xdf4c('0x18')]||0x3;this['dialDropRetryFrequency']=_0x162b04['dialDropRetryFrequency']||0x96;this[_0xdf4c('0x19')]=_0x162b04[_0xdf4c('0x19')]||0x3;this[_0xdf4c('0x1a')]=_0x162b04['dialAbandonedRetryFrequency']||0x96;this['dialMachineMaxRetry']=_0x162b04['dialMachineMaxRetry']||0x3;this[_0xdf4c('0x1b')]=_0x162b04['dialMachineRetryFrequency']||0x96;this[_0xdf4c('0x1c')]=_0x162b04[_0xdf4c('0x1c')]||0x3;this[_0xdf4c('0x1d')]=_0x162b04[_0xdf4c('0x1d')]||0x96;this['dialOrderByScheduledAt']=_0x162b04['dialOrderByScheduledAt']||'DESC';this['dialPrefix']=_0x162b04['dialPrefix']||undefined;this[_0xdf4c('0x1e')]=_0x162b04[_0xdf4c('0x1e')]||undefined;this[_0xdf4c('0x1f')]=_0x162b04[_0xdf4c('0x1f')]||undefined;this[_0xdf4c('0x20')]=_0x162b04['TrunkBackup']?_0x162b04['TrunkBackup']:undefined;this['Trunk']=_0x162b04[_0xdf4c('0x21')]?_0x162b04['Trunk']:undefined;this[_0xdf4c('0x22')]=_0x162b04[_0xdf4c('0x22')]?_0x162b04[_0xdf4c('0x22')]:undefined;this[_0xdf4c('0x23')]=_0x162b04[_0xdf4c('0x23')]?_0x162b04[_0xdf4c('0x23')]:undefined;this['dialQueueProject']=_0x162b04[_0xdf4c('0x23')]?_0x162b04[_0xdf4c('0x23')][_0xdf4c('0x0')]:undefined;this[_0xdf4c('0x24')]=_0x162b04[_0xdf4c('0x24')]||![];this[_0xdf4c('0x25')]=_0x162b04[_0xdf4c('0x25')];this[_0xdf4c('0x26')]=_0x162b04['dialAMDGreeting'];this['dialAMDAfterGreetingSilence']=_0x162b04[_0xdf4c('0x27')];this[_0xdf4c('0x28')]=_0x162b04[_0xdf4c('0x28')];this[_0xdf4c('0x29')]=_0x162b04['dialAMDMinWordLength'];this[_0xdf4c('0x2a')]=_0x162b04[_0xdf4c('0x2a')];this[_0xdf4c('0x2b')]=_0x162b04['dialAMDMaximumNumberOfWords'];this[_0xdf4c('0x2c')]=_0x162b04[_0xdf4c('0x2c')];this[_0xdf4c('0x2d')]=_0x162b04[_0xdf4c('0x2d')];}module[_0xdf4c('0x2e')]=Campaign;
\ No newline at end of file
+var _0x09da=['dialAMDMaximumNumberOfWords','dialAMDSilenceThreshold','dialAMDMaximumWordLength','name','type','campaign','originated','ivrAnswerCallsDay','ivrTotalCallsDays','sendMessageOneNotActive','active','limitCalls','dialTimezone','dialGlobalInterval','dialOriginateCallerIdName','dialOriginateCallerIdNumber','dialOriginateTimeout','dialCongestionMaxRetry','dialCongestionRetryFrequency','dialBusyMaxRetry','dialBusyRetryFrequency','dialNoAnswerMaxRetry','dialNoAnswerRetryFrequency','dialGlobalMaxRetry','dialNoSuchNumberMaxRetry','dialNoSuchNumberRetryFrequency','dialDropMaxRetry','dialDropRetryFrequency','dialAbandonedMaxRetry','dialAbandonedRetryFrequency','dialMachineMaxRetry','dialMachineRetryFrequency','dialAgentRejectMaxRetry','dialAgentRejectRetryFrequency','dialOrderByScheduledAt','DESC','dialRandomLastDigitCallerIdNumber','dialCutDigit','TrunkBackup','Trunk','Interval','SquareProject','dialQueueProject','dialAMDActive','dialAMDInitialSilence','dialAMDGreeting','dialAMDAfterGreetingSilence','dialAMDTotalAnalysisTime','dialAMDMinWordLength'];(function(_0x4d64c4,_0x270117){var _0x3e0767=function(_0x10f1fc){while(--_0x10f1fc){_0x4d64c4['push'](_0x4d64c4['shift']());}};_0x3e0767(++_0x270117);}(_0x09da,0x65));var _0xa09d=function(_0x586ac6,_0x52f264){_0x586ac6=_0x586ac6-0x0;var _0x452caf=_0x09da[_0x586ac6];return _0x452caf;};'use strict';function Campaign(_0x32e2d1){this['id']=_0x32e2d1['id']||0x0;this['name']=_0x32e2d1[_0xa09d('0x0')]||'';this[_0xa09d('0x1')]=_0x32e2d1[_0xa09d('0x1')]||_0xa09d('0x2');this[_0xa09d('0x3')]=0x0;this['temp']=0x0;this[_0xa09d('0x4')]=0x0;this[_0xa09d('0x5')]=0x0;this['message']='';this[_0xa09d('0x6')]=!![];this[_0xa09d('0x7')]=_0x32e2d1[_0xa09d('0x7')];this[_0xa09d('0x8')]=_0x32e2d1['limitCalls'];this['dialTimezone']=_0x32e2d1[_0xa09d('0x9')]||null;this[_0xa09d('0xa')]=_0x32e2d1[_0xa09d('0xa')]?_0x32e2d1[_0xa09d('0xa')]:null;this[_0xa09d('0xb')]=_0x32e2d1['dialOriginateCallerIdName'];this[_0xa09d('0xc')]=_0x32e2d1[_0xa09d('0xc')];this['dialOriginateTimeout']=_0x32e2d1[_0xa09d('0xd')]||0x1e;this[_0xa09d('0xe')]=_0x32e2d1[_0xa09d('0xe')];this[_0xa09d('0xf')]=_0x32e2d1[_0xa09d('0xf')];this['dialBusyMaxRetry']=_0x32e2d1[_0xa09d('0x10')];this[_0xa09d('0x11')]=_0x32e2d1[_0xa09d('0x11')];this['dialNoAnswerMaxRetry']=_0x32e2d1[_0xa09d('0x12')];this['dialNoAnswerRetryFrequency']=_0x32e2d1[_0xa09d('0x13')];this[_0xa09d('0x14')]=_0x32e2d1[_0xa09d('0x14')];this[_0xa09d('0x15')]=_0x32e2d1[_0xa09d('0x15')]||0x3;this[_0xa09d('0x16')]=_0x32e2d1[_0xa09d('0x16')]||0x96;this[_0xa09d('0x17')]=_0x32e2d1[_0xa09d('0x17')]||0x3;this[_0xa09d('0x18')]=_0x32e2d1[_0xa09d('0x18')]||0x96;this[_0xa09d('0x19')]=_0x32e2d1[_0xa09d('0x19')]||0x3;this[_0xa09d('0x1a')]=_0x32e2d1['dialAbandonedRetryFrequency']||0x96;this[_0xa09d('0x1b')]=_0x32e2d1[_0xa09d('0x1b')]||0x3;this[_0xa09d('0x1c')]=_0x32e2d1['dialMachineRetryFrequency']||0x96;this['dialAgentRejectMaxRetry']=_0x32e2d1[_0xa09d('0x1d')]||0x3;this[_0xa09d('0x1e')]=_0x32e2d1[_0xa09d('0x1e')]||0x96;this[_0xa09d('0x1f')]=_0x32e2d1['dialOrderByScheduledAt']||_0xa09d('0x20');this['dialPrefix']=_0x32e2d1['dialPrefix']||undefined;this['dialRandomLastDigitCallerIdNumber']=_0x32e2d1[_0xa09d('0x21')]||undefined;this[_0xa09d('0x22')]=_0x32e2d1[_0xa09d('0x22')]||undefined;this[_0xa09d('0x23')]=_0x32e2d1[_0xa09d('0x23')]?_0x32e2d1[_0xa09d('0x23')]:undefined;this[_0xa09d('0x24')]=_0x32e2d1[_0xa09d('0x24')]?_0x32e2d1[_0xa09d('0x24')]:undefined;this['Interval']=_0x32e2d1[_0xa09d('0x25')]?_0x32e2d1[_0xa09d('0x25')]:undefined;this[_0xa09d('0x26')]=_0x32e2d1[_0xa09d('0x26')]?_0x32e2d1[_0xa09d('0x26')]:undefined;this[_0xa09d('0x27')]=_0x32e2d1['SquareProject']?_0x32e2d1['SquareProject']['name']:undefined;this[_0xa09d('0x28')]=_0x32e2d1[_0xa09d('0x28')]||![];this[_0xa09d('0x29')]=_0x32e2d1[_0xa09d('0x29')];this[_0xa09d('0x2a')]=_0x32e2d1[_0xa09d('0x2a')];this[_0xa09d('0x2b')]=_0x32e2d1['dialAMDAfterGreetingSilence'];this[_0xa09d('0x2c')]=_0x32e2d1[_0xa09d('0x2c')];this[_0xa09d('0x2d')]=_0x32e2d1[_0xa09d('0x2d')];this['dialAMDBetweenWordsSilence']=_0x32e2d1['dialAMDBetweenWordsSilence'];this[_0xa09d('0x2e')]=_0x32e2d1[_0xa09d('0x2e')];this[_0xa09d('0x2f')]=_0x32e2d1['dialAMDSilenceThreshold'];this[_0xa09d('0x30')]=_0x32e2d1[_0xa09d('0x30')];}module['exports']=Campaign;
\ No newline at end of file