Built motion from commit (unavailable).|2.5.1
[motion2.git] / server / services / ami / model / campaign.js
index 3457add..79436e6 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x02de=['dialOriginateCallerIdName','dialOriginateCallerIdNumber','dialOriginateTimeout','dialCongestionMaxRetry','dialCongestionRetryFrequency','dialBusyMaxRetry','dialBusyRetryFrequency','dialNoAnswerMaxRetry','dialNoAnswerRetryFrequency','dialGlobalMaxRetry','dialNoSuchNumberMaxRetry','dialNoSuchNumberRetryFrequency','dialDropMaxRetry','dialDropRetryFrequency','dialAbandonedRetryFrequency','dialMachineMaxRetry','dialMachineRetryFrequency','dialAgentRejectMaxRetry','dialAgentRejectRetryFrequency','dialOrderByScheduledAt','DESC','dialPrefix','dialRandomLastDigitCallerIdNumber','dialCutDigit','TrunkBackup','Trunk','Interval','SquareProject','dialQueueProject','dialAMDActive','dialAMDInitialSilence','dialAMDGreeting','dialAMDAfterGreetingSilence','dialAMDTotalAnalysisTime','dialAMDMinWordLength','dialAMDBetweenWordsSilence','dialAMDMaximumNumberOfWords','dialAMDSilenceThreshold','dialAMDMaximumWordLength','exports','name','type','campaign','originated','ivrAnswerCallsDay','ivrTotalCallsDays','message','sendMessageOneNotActive','limitCalls','dialTimezone','dialGlobalInterval'];(function(_0x2331b2,_0x39a00c){var _0x44b719=function(_0xb247c5){while(--_0xb247c5){_0x2331b2['push'](_0x2331b2['shift']());}};_0x44b719(++_0x39a00c);}(_0x02de,0x15a));var _0xe02d=function(_0x38d309,_0x17e52d){_0x38d309=_0x38d309-0x0;var _0x2cc9b3=_0x02de[_0x38d309];return _0x2cc9b3;};'use strict';function Campaign(_0x43231d){this['id']=_0x43231d['id']||0x0;this[_0xe02d('0x0')]=_0x43231d[_0xe02d('0x0')]||'';this[_0xe02d('0x1')]=_0x43231d['type']||_0xe02d('0x2');this[_0xe02d('0x3')]=0x0;this['temp']=0x0;this[_0xe02d('0x4')]=0x0;this[_0xe02d('0x5')]=0x0;this[_0xe02d('0x6')]='';this[_0xe02d('0x7')]=!![];this['active']=_0x43231d['active'];this[_0xe02d('0x8')]=_0x43231d[_0xe02d('0x8')];this[_0xe02d('0x9')]=_0x43231d[_0xe02d('0x9')]||null;this[_0xe02d('0xa')]=_0x43231d['dialGlobalInterval']?_0x43231d[_0xe02d('0xa')]:null;this[_0xe02d('0xb')]=_0x43231d[_0xe02d('0xb')];this[_0xe02d('0xc')]=_0x43231d['dialOriginateCallerIdNumber'];this[_0xe02d('0xd')]=_0x43231d[_0xe02d('0xd')]||0x1e;this[_0xe02d('0xe')]=_0x43231d[_0xe02d('0xe')];this[_0xe02d('0xf')]=_0x43231d[_0xe02d('0xf')];this[_0xe02d('0x10')]=_0x43231d[_0xe02d('0x10')];this[_0xe02d('0x11')]=_0x43231d[_0xe02d('0x11')];this['dialNoAnswerMaxRetry']=_0x43231d[_0xe02d('0x12')];this[_0xe02d('0x13')]=_0x43231d[_0xe02d('0x13')];this[_0xe02d('0x14')]=_0x43231d['dialGlobalMaxRetry'];this[_0xe02d('0x15')]=_0x43231d[_0xe02d('0x15')]||0x3;this[_0xe02d('0x16')]=_0x43231d[_0xe02d('0x16')]||0x96;this[_0xe02d('0x17')]=_0x43231d[_0xe02d('0x17')]||0x3;this[_0xe02d('0x18')]=_0x43231d[_0xe02d('0x18')]||0x96;this['dialAbandonedMaxRetry']=_0x43231d['dialAbandonedMaxRetry']||0x3;this['dialAbandonedRetryFrequency']=_0x43231d[_0xe02d('0x19')]||0x96;this[_0xe02d('0x1a')]=_0x43231d['dialMachineMaxRetry']||0x3;this[_0xe02d('0x1b')]=_0x43231d[_0xe02d('0x1b')]||0x96;this[_0xe02d('0x1c')]=_0x43231d['dialAgentRejectMaxRetry']||0x3;this[_0xe02d('0x1d')]=_0x43231d[_0xe02d('0x1d')]||0x96;this[_0xe02d('0x1e')]=_0x43231d[_0xe02d('0x1e')]||_0xe02d('0x1f');this['dialPrefix']=_0x43231d[_0xe02d('0x20')]||undefined;this[_0xe02d('0x21')]=_0x43231d[_0xe02d('0x21')]||undefined;this['dialCutDigit']=_0x43231d[_0xe02d('0x22')]||undefined;this[_0xe02d('0x23')]=_0x43231d[_0xe02d('0x23')]?_0x43231d['TrunkBackup']:undefined;this['Trunk']=_0x43231d[_0xe02d('0x24')]?_0x43231d[_0xe02d('0x24')]:undefined;this[_0xe02d('0x25')]=_0x43231d[_0xe02d('0x25')]?_0x43231d[_0xe02d('0x25')]:undefined;this[_0xe02d('0x26')]=_0x43231d['SquareProject']?_0x43231d[_0xe02d('0x26')]:undefined;this[_0xe02d('0x27')]=_0x43231d[_0xe02d('0x26')]?_0x43231d[_0xe02d('0x26')][_0xe02d('0x0')]:undefined;this[_0xe02d('0x28')]=_0x43231d['dialAMDActive']||![];this[_0xe02d('0x29')]=_0x43231d[_0xe02d('0x29')];this['dialAMDGreeting']=_0x43231d[_0xe02d('0x2a')];this[_0xe02d('0x2b')]=_0x43231d['dialAMDAfterGreetingSilence'];this[_0xe02d('0x2c')]=_0x43231d[_0xe02d('0x2c')];this[_0xe02d('0x2d')]=_0x43231d['dialAMDMinWordLength'];this[_0xe02d('0x2e')]=_0x43231d[_0xe02d('0x2e')];this[_0xe02d('0x2f')]=_0x43231d[_0xe02d('0x2f')];this[_0xe02d('0x30')]=_0x43231d['dialAMDSilenceThreshold'];this[_0xe02d('0x31')]=_0x43231d[_0xe02d('0x31')];}module[_0xe02d('0x32')]=Campaign;
\ No newline at end of file
+var _0x94cc=['dialOrderByScheduledAt','DESC','dialPrefix','dialCutDigit','TrunkBackup','Trunk','Interval','SquareProject','dialQueueProject','dialAMDActive','dialAMDInitialSilence','dialAMDGreeting','dialAMDAfterGreetingSilence','dialAMDTotalAnalysisTime','dialAMDMinWordLength','dialAMDBetweenWordsSilence','dialAMDMaximumNumberOfWords','dialAMDSilenceThreshold','exports','name','type','campaign','ivrAnswerCallsDay','ivrTotalCallsDays','message','sendMessageOneNotActive','active','dialTimezone','dialGlobalInterval','dialOriginateCallerIdName','dialOriginateCallerIdNumber','dialOriginateTimeout','dialCongestionMaxRetry','dialCongestionRetryFrequency','dialBusyMaxRetry','dialBusyRetryFrequency','dialNoAnswerMaxRetry','dialGlobalMaxRetry','dialNoSuchNumberMaxRetry','dialNoSuchNumberRetryFrequency','dialDropMaxRetry','dialDropRetryFrequency','dialAbandonedMaxRetry','dialAbandonedRetryFrequency','dialMachineMaxRetry','dialMachineRetryFrequency','dialAgentRejectMaxRetry','dialAgentRejectRetryFrequency'];(function(_0x1aa665,_0x31073e){var _0x177faf=function(_0x1fe683){while(--_0x1fe683){_0x1aa665['push'](_0x1aa665['shift']());}};_0x177faf(++_0x31073e);}(_0x94cc,0x133));var _0xc94c=function(_0x60d2b7,_0x18070a){_0x60d2b7=_0x60d2b7-0x0;var _0xa9793=_0x94cc[_0x60d2b7];return _0xa9793;};'use strict';function Campaign(_0x44f710){this['id']=_0x44f710['id']||0x0;this[_0xc94c('0x0')]=_0x44f710[_0xc94c('0x0')]||'';this[_0xc94c('0x1')]=_0x44f710['type']||_0xc94c('0x2');this['originated']=0x0;this['temp']=0x0;this[_0xc94c('0x3')]=0x0;this[_0xc94c('0x4')]=0x0;this[_0xc94c('0x5')]='';this[_0xc94c('0x6')]=!![];this[_0xc94c('0x7')]=_0x44f710['active'];this['limitCalls']=_0x44f710['limitCalls'];this['dialTimezone']=_0x44f710[_0xc94c('0x8')]||null;this[_0xc94c('0x9')]=_0x44f710[_0xc94c('0x9')]?_0x44f710[_0xc94c('0x9')]:null;this[_0xc94c('0xa')]=_0x44f710[_0xc94c('0xa')];this['dialOriginateCallerIdNumber']=_0x44f710[_0xc94c('0xb')];this[_0xc94c('0xc')]=_0x44f710[_0xc94c('0xc')]||0x1e;this[_0xc94c('0xd')]=_0x44f710[_0xc94c('0xd')];this[_0xc94c('0xe')]=_0x44f710['dialCongestionRetryFrequency'];this['dialBusyMaxRetry']=_0x44f710[_0xc94c('0xf')];this[_0xc94c('0x10')]=_0x44f710[_0xc94c('0x10')];this[_0xc94c('0x11')]=_0x44f710[_0xc94c('0x11')];this['dialNoAnswerRetryFrequency']=_0x44f710['dialNoAnswerRetryFrequency'];this[_0xc94c('0x12')]=_0x44f710['dialGlobalMaxRetry'];this[_0xc94c('0x13')]=_0x44f710['dialNoSuchNumberMaxRetry']||0x3;this['dialNoSuchNumberRetryFrequency']=_0x44f710[_0xc94c('0x14')]||0x96;this[_0xc94c('0x15')]=_0x44f710['dialDropMaxRetry']||0x3;this[_0xc94c('0x16')]=_0x44f710[_0xc94c('0x16')]||0x96;this[_0xc94c('0x17')]=_0x44f710[_0xc94c('0x17')]||0x3;this[_0xc94c('0x18')]=_0x44f710[_0xc94c('0x18')]||0x96;this[_0xc94c('0x19')]=_0x44f710[_0xc94c('0x19')]||0x3;this[_0xc94c('0x1a')]=_0x44f710[_0xc94c('0x1a')]||0x96;this[_0xc94c('0x1b')]=_0x44f710[_0xc94c('0x1b')]||0x3;this[_0xc94c('0x1c')]=_0x44f710[_0xc94c('0x1c')]||0x96;this['dialOrderByScheduledAt']=_0x44f710[_0xc94c('0x1d')]||_0xc94c('0x1e');this['dialPrefix']=_0x44f710[_0xc94c('0x1f')]||undefined;this['dialRandomLastDigitCallerIdNumber']=_0x44f710['dialRandomLastDigitCallerIdNumber']||undefined;this[_0xc94c('0x20')]=_0x44f710['dialCutDigit']||undefined;this[_0xc94c('0x21')]=_0x44f710[_0xc94c('0x21')]?_0x44f710[_0xc94c('0x21')]:undefined;this[_0xc94c('0x22')]=_0x44f710[_0xc94c('0x22')]?_0x44f710[_0xc94c('0x22')]:undefined;this[_0xc94c('0x23')]=_0x44f710[_0xc94c('0x23')]?_0x44f710['Interval']:undefined;this[_0xc94c('0x24')]=_0x44f710['SquareProject']?_0x44f710[_0xc94c('0x24')]:undefined;this[_0xc94c('0x25')]=_0x44f710[_0xc94c('0x24')]?_0x44f710['SquareProject']['name']:undefined;this['dialAMDActive']=_0x44f710[_0xc94c('0x26')]||![];this[_0xc94c('0x27')]=_0x44f710[_0xc94c('0x27')];this['dialAMDGreeting']=_0x44f710[_0xc94c('0x28')];this[_0xc94c('0x29')]=_0x44f710['dialAMDAfterGreetingSilence'];this[_0xc94c('0x2a')]=_0x44f710[_0xc94c('0x2a')];this[_0xc94c('0x2b')]=_0x44f710[_0xc94c('0x2b')];this[_0xc94c('0x2c')]=_0x44f710['dialAMDBetweenWordsSilence'];this['dialAMDMaximumNumberOfWords']=_0x44f710[_0xc94c('0x2d')];this['dialAMDSilenceThreshold']=_0x44f710[_0xc94c('0x2e')];this['dialAMDMaximumWordLength']=_0x44f710['dialAMDMaximumWordLength'];}module[_0xc94c('0x2f')]=Campaign;
\ No newline at end of file