Built motion from commit 0900f080.|2.5.45
[motion2.git] / server / services / ami / model / campaign.js
index 0c86d71..9d8e8e5 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x804d=['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','dialOriginateTimeout','dialCongestionMaxRetry','dialCongestionRetryFrequency','dialBusyMaxRetry','dialBusyRetryFrequency','dialNoAnswerMaxRetry','dialNoAnswerRetryFrequency','dialGlobalMaxRetry','dialNoSuchNumberMaxRetry','dialNoSuchNumberRetryFrequency','dialDropMaxRetry','dialAbandonedMaxRetry','dialAbandonedRetryFrequency','dialMachineMaxRetry','dialMachineRetryFrequency','dialAgentRejectMaxRetry','dialAgentRejectRetryFrequency','dialOrderByScheduledAt','dialPrefix','dialRandomLastDigitCallerIdNumber','dialCutDigit','TrunkBackup','Trunk','Interval','SquareProject','dialQueueProject'];(function(_0x261cc7,_0x398726){var _0x7225f3=function(_0x952092){while(--_0x952092){_0x261cc7['push'](_0x261cc7['shift']());}};_0x7225f3(++_0x398726);}(_0x804d,0x170));var _0xd804=function(_0x39637b,_0x512d81){_0x39637b=_0x39637b-0x0;var _0x1c7905=_0x804d[_0x39637b];return _0x1c7905;};'use strict';function Campaign(_0x7e80bf){this['id']=_0x7e80bf['id']||0x0;this[_0xd804('0x0')]=_0x7e80bf[_0xd804('0x0')]||'';this['type']=_0x7e80bf[_0xd804('0x1')]||_0xd804('0x2');this[_0xd804('0x3')]=0x0;this[_0xd804('0x4')]=0x0;this[_0xd804('0x5')]=0x0;this[_0xd804('0x6')]=0x0;this[_0xd804('0x7')]='';this[_0xd804('0x8')]=!![];this[_0xd804('0x9')]=_0x7e80bf['active'];this[_0xd804('0xa')]=_0x7e80bf[_0xd804('0xa')];this[_0xd804('0xb')]=_0x7e80bf[_0xd804('0xb')]||null;this[_0xd804('0xc')]=_0x7e80bf[_0xd804('0xc')]?_0x7e80bf[_0xd804('0xc')]:null;this[_0xd804('0xd')]=_0x7e80bf[_0xd804('0xd')];this['dialOriginateCallerIdNumber']=_0x7e80bf['dialOriginateCallerIdNumber'];this[_0xd804('0xe')]=_0x7e80bf[_0xd804('0xe')]||0x1e;this[_0xd804('0xf')]=_0x7e80bf[_0xd804('0xf')];this[_0xd804('0x10')]=_0x7e80bf[_0xd804('0x10')];this[_0xd804('0x11')]=_0x7e80bf['dialBusyMaxRetry'];this[_0xd804('0x12')]=_0x7e80bf[_0xd804('0x12')];this[_0xd804('0x13')]=_0x7e80bf['dialNoAnswerMaxRetry'];this[_0xd804('0x14')]=_0x7e80bf['dialNoAnswerRetryFrequency'];this[_0xd804('0x15')]=_0x7e80bf['dialGlobalMaxRetry'];this[_0xd804('0x16')]=_0x7e80bf[_0xd804('0x16')]||0x3;this[_0xd804('0x17')]=_0x7e80bf['dialNoSuchNumberRetryFrequency']||0x96;this[_0xd804('0x18')]=_0x7e80bf['dialDropMaxRetry']||0x3;this['dialDropRetryFrequency']=_0x7e80bf['dialDropRetryFrequency']||0x96;this[_0xd804('0x19')]=_0x7e80bf['dialAbandonedMaxRetry']||0x3;this['dialAbandonedRetryFrequency']=_0x7e80bf[_0xd804('0x1a')]||0x96;this[_0xd804('0x1b')]=_0x7e80bf[_0xd804('0x1b')]||0x3;this[_0xd804('0x1c')]=_0x7e80bf[_0xd804('0x1c')]||0x96;this['dialAgentRejectMaxRetry']=_0x7e80bf[_0xd804('0x1d')]||0x3;this[_0xd804('0x1e')]=_0x7e80bf[_0xd804('0x1e')]||0x96;this[_0xd804('0x1f')]=_0x7e80bf[_0xd804('0x1f')]||'DESC';this[_0xd804('0x20')]=_0x7e80bf[_0xd804('0x20')]||undefined;this['dialRandomLastDigitCallerIdNumber']=_0x7e80bf[_0xd804('0x21')]||undefined;this['dialCutDigit']=_0x7e80bf[_0xd804('0x22')]||undefined;this[_0xd804('0x23')]=_0x7e80bf[_0xd804('0x23')]?_0x7e80bf[_0xd804('0x23')]:undefined;this[_0xd804('0x24')]=_0x7e80bf[_0xd804('0x24')]?_0x7e80bf[_0xd804('0x24')]:undefined;this['Interval']=_0x7e80bf['Interval']?_0x7e80bf[_0xd804('0x25')]:undefined;this['SquareProject']=_0x7e80bf[_0xd804('0x26')]?_0x7e80bf['SquareProject']:undefined;this[_0xd804('0x27')]=_0x7e80bf['SquareProject']?_0x7e80bf[_0xd804('0x26')][_0xd804('0x0')]:undefined;this[_0xd804('0x28')]=_0x7e80bf[_0xd804('0x28')]||![];this[_0xd804('0x29')]=_0x7e80bf['dialAMDInitialSilence'];this[_0xd804('0x2a')]=_0x7e80bf[_0xd804('0x2a')];this[_0xd804('0x2b')]=_0x7e80bf[_0xd804('0x2b')];this[_0xd804('0x2c')]=_0x7e80bf[_0xd804('0x2c')];this[_0xd804('0x2d')]=_0x7e80bf['dialAMDMinWordLength'];this[_0xd804('0x2e')]=_0x7e80bf['dialAMDBetweenWordsSilence'];this[_0xd804('0x2f')]=_0x7e80bf[_0xd804('0x2f')];this[_0xd804('0x30')]=_0x7e80bf['dialAMDSilenceThreshold'];this[_0xd804('0x31')]=_0x7e80bf[_0xd804('0x31')];}module[_0xd804('0x32')]=Campaign;
\ No newline at end of file
+var _0x0af7=['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','exports','name','type','campaign','temp','ivrAnswerCallsDay','sendMessageOneNotActive','active','limitCalls','dialTimezone','dialOriginateCallerIdName','dialOriginateCallerIdNumber','dialOriginateTimeout','dialCongestionMaxRetry','dialBusyRetryFrequency'];(function(_0x138adb,_0x193fee){var _0x1b27f2=function(_0x5e97a2){while(--_0x5e97a2){_0x138adb['push'](_0x138adb['shift']());}};_0x1b27f2(++_0x193fee);}(_0x0af7,0x10c));var _0x70af=function(_0x370f88,_0x2bf2e4){_0x370f88=_0x370f88-0x0;var _0xfcafcb=_0x0af7[_0x370f88];return _0xfcafcb;};'use strict';function Campaign(_0x553b89){this['id']=_0x553b89['id']||0x0;this[_0x70af('0x0')]=_0x553b89[_0x70af('0x0')]||'';this[_0x70af('0x1')]=_0x553b89[_0x70af('0x1')]||_0x70af('0x2');this['originated']=0x0;this[_0x70af('0x3')]=0x0;this[_0x70af('0x4')]=0x0;this['ivrTotalCallsDays']=0x0;this['message']='';this[_0x70af('0x5')]=!![];this[_0x70af('0x6')]=_0x553b89[_0x70af('0x6')];this[_0x70af('0x7')]=_0x553b89[_0x70af('0x7')];this[_0x70af('0x8')]=_0x553b89[_0x70af('0x8')]||null;this['dialGlobalInterval']=_0x553b89['dialGlobalInterval']?_0x553b89['dialGlobalInterval']:null;this['dialOriginateCallerIdName']=_0x553b89[_0x70af('0x9')];this[_0x70af('0xa')]=_0x553b89[_0x70af('0xa')];this[_0x70af('0xb')]=_0x553b89[_0x70af('0xb')]||0x1e;this[_0x70af('0xc')]=_0x553b89['dialCongestionMaxRetry'];this['dialCongestionRetryFrequency']=_0x553b89['dialCongestionRetryFrequency'];this['dialBusyMaxRetry']=_0x553b89['dialBusyMaxRetry'];this[_0x70af('0xd')]=_0x553b89[_0x70af('0xd')];this['dialNoAnswerMaxRetry']=_0x553b89[_0x70af('0xe')];this[_0x70af('0xf')]=_0x553b89[_0x70af('0xf')];this[_0x70af('0x10')]=_0x553b89[_0x70af('0x10')];this[_0x70af('0x11')]=_0x553b89[_0x70af('0x11')]||0x3;this[_0x70af('0x12')]=_0x553b89['dialNoSuchNumberRetryFrequency']||0x96;this['dialDropMaxRetry']=_0x553b89[_0x70af('0x13')]||0x3;this[_0x70af('0x14')]=_0x553b89[_0x70af('0x14')]||0x96;this['dialAbandonedMaxRetry']=_0x553b89[_0x70af('0x15')]||0x3;this[_0x70af('0x16')]=_0x553b89[_0x70af('0x16')]||0x96;this['dialMachineMaxRetry']=_0x553b89[_0x70af('0x17')]||0x3;this[_0x70af('0x18')]=_0x553b89['dialMachineRetryFrequency']||0x96;this[_0x70af('0x19')]=_0x553b89[_0x70af('0x19')]||0x3;this[_0x70af('0x1a')]=_0x553b89[_0x70af('0x1a')]||0x96;this[_0x70af('0x1b')]=_0x553b89['dialOrderByScheduledAt']||_0x70af('0x1c');this[_0x70af('0x1d')]=_0x553b89['dialPrefix']||undefined;this['dialRandomLastDigitCallerIdNumber']=_0x553b89[_0x70af('0x1e')]||undefined;this[_0x70af('0x1f')]=_0x553b89[_0x70af('0x1f')]||undefined;this[_0x70af('0x20')]=_0x553b89[_0x70af('0x20')]?_0x553b89[_0x70af('0x20')]:undefined;this[_0x70af('0x21')]=_0x553b89[_0x70af('0x21')]?_0x553b89[_0x70af('0x21')]:undefined;this[_0x70af('0x22')]=_0x553b89['Interval']?_0x553b89[_0x70af('0x22')]:undefined;this[_0x70af('0x23')]=_0x553b89[_0x70af('0x23')]?_0x553b89[_0x70af('0x23')]:undefined;this['dialQueueProject']=_0x553b89['SquareProject']?_0x553b89[_0x70af('0x23')][_0x70af('0x0')]:undefined;this[_0x70af('0x24')]=_0x553b89['dialAMDActive']||![];this['dialAMDInitialSilence']=_0x553b89[_0x70af('0x25')];this[_0x70af('0x26')]=_0x553b89[_0x70af('0x26')];this[_0x70af('0x27')]=_0x553b89['dialAMDAfterGreetingSilence'];this[_0x70af('0x28')]=_0x553b89[_0x70af('0x28')];this[_0x70af('0x29')]=_0x553b89[_0x70af('0x29')];this['dialAMDBetweenWordsSilence']=_0x553b89[_0x70af('0x2a')];this[_0x70af('0x2b')]=_0x553b89[_0x70af('0x2b')];this['dialAMDSilenceThreshold']=_0x553b89[_0x70af('0x2c')];this['dialAMDMaximumWordLength']=_0x553b89[_0x70af('0x2d')];}module[_0x70af('0x2e')]=Campaign;
\ No newline at end of file