Built motion from commit b0a9a629.|2.6.33
[motion2.git] / server / services / ami / model / campaign.js
index dd84294..3d09204 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x2367=['type','campaign','originated','temp','ivrAnswerCallsDay','ivrTotalCallsDays','message','sendMessageOneNotActive','active','limitCalls','dialTimezone','dialGlobalInterval','dialOriginateCallerIdName','dialOriginateCallerIdNumber','dialOriginateTimeout','dialCongestionMaxRetry','dialCongestionRetryFrequency','dialBusyMaxRetry','dialBusyRetryFrequency','dialNoAnswerMaxRetry','dialNoAnswerRetryFrequency','dialGlobalMaxRetry','dialNoSuchNumberMaxRetry','dialNoSuchNumberRetryFrequency','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','name'];(function(_0x18604e,_0x77a5ee){var _0x517cc0=function(_0x92f274){while(--_0x92f274){_0x18604e['push'](_0x18604e['shift']());}};_0x517cc0(++_0x77a5ee);}(_0x2367,0x65));var _0x7236=function(_0x8cf1e1,_0x2333b9){_0x8cf1e1=_0x8cf1e1-0x0;var _0x59e097=_0x2367[_0x8cf1e1];return _0x59e097;};'use strict';function Campaign(_0x54cce8){this['id']=_0x54cce8['id']||0x0;this[_0x7236('0x0')]=_0x54cce8[_0x7236('0x0')]||'';this[_0x7236('0x1')]=_0x54cce8[_0x7236('0x1')]||_0x7236('0x2');this[_0x7236('0x3')]=0x0;this[_0x7236('0x4')]=0x0;this[_0x7236('0x5')]=0x0;this[_0x7236('0x6')]=0x0;this[_0x7236('0x7')]='';this[_0x7236('0x8')]=!![];this['active']=_0x54cce8[_0x7236('0x9')];this[_0x7236('0xa')]=_0x54cce8[_0x7236('0xa')];this[_0x7236('0xb')]=_0x54cce8[_0x7236('0xb')]||null;this[_0x7236('0xc')]=_0x54cce8[_0x7236('0xc')]?_0x54cce8['dialGlobalInterval']:null;this[_0x7236('0xd')]=_0x54cce8[_0x7236('0xd')];this[_0x7236('0xe')]=_0x54cce8['dialOriginateCallerIdNumber'];this[_0x7236('0xf')]=_0x54cce8['dialOriginateTimeout']||0x1e;this[_0x7236('0x10')]=_0x54cce8[_0x7236('0x10')];this[_0x7236('0x11')]=_0x54cce8['dialCongestionRetryFrequency'];this['dialBusyMaxRetry']=_0x54cce8[_0x7236('0x12')];this[_0x7236('0x13')]=_0x54cce8['dialBusyRetryFrequency'];this['dialNoAnswerMaxRetry']=_0x54cce8[_0x7236('0x14')];this[_0x7236('0x15')]=_0x54cce8[_0x7236('0x15')];this[_0x7236('0x16')]=_0x54cce8[_0x7236('0x16')];this[_0x7236('0x17')]=_0x54cce8['dialNoSuchNumberMaxRetry']||0x3;this[_0x7236('0x18')]=_0x54cce8['dialNoSuchNumberRetryFrequency']||0x96;this['dialDropMaxRetry']=_0x54cce8['dialDropMaxRetry']||0x3;this[_0x7236('0x19')]=_0x54cce8['dialDropRetryFrequency']||0x96;this[_0x7236('0x1a')]=_0x54cce8['dialAbandonedMaxRetry']||0x3;this[_0x7236('0x1b')]=_0x54cce8[_0x7236('0x1b')]||0x96;this[_0x7236('0x1c')]=_0x54cce8['dialMachineMaxRetry']||0x3;this[_0x7236('0x1d')]=_0x54cce8[_0x7236('0x1d')]||0x96;this['dialAgentRejectMaxRetry']=_0x54cce8[_0x7236('0x1e')]||0x3;this[_0x7236('0x1f')]=_0x54cce8[_0x7236('0x1f')]||0x96;this[_0x7236('0x20')]=_0x54cce8[_0x7236('0x20')]||_0x7236('0x21');this[_0x7236('0x22')]=_0x54cce8[_0x7236('0x22')]||undefined;this[_0x7236('0x23')]=_0x54cce8['dialRandomLastDigitCallerIdNumber']||undefined;this[_0x7236('0x24')]=_0x54cce8[_0x7236('0x24')]||undefined;this[_0x7236('0x25')]=_0x54cce8[_0x7236('0x25')]?_0x54cce8[_0x7236('0x25')]:undefined;this['Trunk']=_0x54cce8[_0x7236('0x26')]?_0x54cce8[_0x7236('0x26')]:undefined;this['Interval']=_0x54cce8[_0x7236('0x27')]?_0x54cce8['Interval']:undefined;this[_0x7236('0x28')]=_0x54cce8[_0x7236('0x28')]?_0x54cce8[_0x7236('0x28')]:undefined;this['dialQueueProject']=_0x54cce8[_0x7236('0x28')]?_0x54cce8[_0x7236('0x28')][_0x7236('0x0')]:undefined;this['dialAMDActive']=_0x54cce8[_0x7236('0x29')]||![];this[_0x7236('0x2a')]=_0x54cce8[_0x7236('0x2a')];this[_0x7236('0x2b')]=_0x54cce8[_0x7236('0x2b')];this[_0x7236('0x2c')]=_0x54cce8['dialAMDAfterGreetingSilence'];this[_0x7236('0x2d')]=_0x54cce8[_0x7236('0x2d')];this[_0x7236('0x2e')]=_0x54cce8['dialAMDMinWordLength'];this['dialAMDBetweenWordsSilence']=_0x54cce8[_0x7236('0x2f')];this[_0x7236('0x30')]=_0x54cce8[_0x7236('0x30')];this['dialAMDSilenceThreshold']=_0x54cce8[_0x7236('0x31')];this[_0x7236('0x32')]=_0x54cce8[_0x7236('0x32')];}module['exports']=Campaign;
\ No newline at end of file
+var _0x9ff6=['Trunk','Interval','SquareProject','dialQueueProject','dialAMDActive','dialAMDInitialSilence','dialAMDGreeting','dialAMDAfterGreetingSilence','dialAMDTotalAnalysisTime','dialAMDMinWordLength','dialAMDBetweenWordsSilence','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','dialDropRetryFrequency','dialAbandonedMaxRetry','dialAbandonedRetryFrequency','dialMachineMaxRetry','dialMachineRetryFrequency','dialAgentRejectMaxRetry','dialAgentRejectRetryFrequency','dialOrderByScheduledAt','DESC','dialPrefix','dialRandomLastDigitCallerIdNumber','dialCutDigit','TrunkBackup'];(function(_0x618414,_0x1a7a60){var _0x21c19a=function(_0x507b17){while(--_0x507b17){_0x618414['push'](_0x618414['shift']());}};_0x21c19a(++_0x1a7a60);}(_0x9ff6,0xde));var _0x69ff=function(_0x2b7810,_0xb69116){_0x2b7810=_0x2b7810-0x0;var _0x86d8ee=_0x9ff6[_0x2b7810];return _0x86d8ee;};'use strict';function Campaign(_0x1ca345){this['id']=_0x1ca345['id']||0x0;this[_0x69ff('0x0')]=_0x1ca345['name']||'';this[_0x69ff('0x1')]=_0x1ca345['type']||_0x69ff('0x2');this[_0x69ff('0x3')]=0x0;this[_0x69ff('0x4')]=0x0;this[_0x69ff('0x5')]=0x0;this[_0x69ff('0x6')]=0x0;this[_0x69ff('0x7')]='';this[_0x69ff('0x8')]=!![];this[_0x69ff('0x9')]=_0x1ca345[_0x69ff('0x9')];this[_0x69ff('0xa')]=_0x1ca345['limitCalls'];this[_0x69ff('0xb')]=_0x1ca345[_0x69ff('0xb')]||null;this[_0x69ff('0xc')]=_0x1ca345[_0x69ff('0xc')]?_0x1ca345[_0x69ff('0xc')]:null;this[_0x69ff('0xd')]=_0x1ca345[_0x69ff('0xd')];this[_0x69ff('0xe')]=_0x1ca345[_0x69ff('0xe')];this[_0x69ff('0xf')]=_0x1ca345['dialOriginateTimeout']||0x1e;this[_0x69ff('0x10')]=_0x1ca345[_0x69ff('0x10')];this[_0x69ff('0x11')]=_0x1ca345['dialCongestionRetryFrequency'];this['dialBusyMaxRetry']=_0x1ca345['dialBusyMaxRetry'];this[_0x69ff('0x12')]=_0x1ca345['dialBusyRetryFrequency'];this[_0x69ff('0x13')]=_0x1ca345[_0x69ff('0x13')];this[_0x69ff('0x14')]=_0x1ca345[_0x69ff('0x14')];this['dialGlobalMaxRetry']=_0x1ca345[_0x69ff('0x15')];this['dialNoSuchNumberMaxRetry']=_0x1ca345[_0x69ff('0x16')]||0x3;this[_0x69ff('0x17')]=_0x1ca345[_0x69ff('0x17')]||0x96;this[_0x69ff('0x18')]=_0x1ca345['dialDropMaxRetry']||0x3;this[_0x69ff('0x19')]=_0x1ca345[_0x69ff('0x19')]||0x96;this[_0x69ff('0x1a')]=_0x1ca345['dialAbandonedMaxRetry']||0x3;this[_0x69ff('0x1b')]=_0x1ca345['dialAbandonedRetryFrequency']||0x96;this[_0x69ff('0x1c')]=_0x1ca345[_0x69ff('0x1c')]||0x3;this[_0x69ff('0x1d')]=_0x1ca345[_0x69ff('0x1d')]||0x96;this[_0x69ff('0x1e')]=_0x1ca345['dialAgentRejectMaxRetry']||0x3;this['dialAgentRejectRetryFrequency']=_0x1ca345[_0x69ff('0x1f')]||0x96;this['dialOrderByScheduledAt']=_0x1ca345[_0x69ff('0x20')]||_0x69ff('0x21');this['dialPrefix']=_0x1ca345[_0x69ff('0x22')]||undefined;this[_0x69ff('0x23')]=_0x1ca345[_0x69ff('0x23')]||undefined;this[_0x69ff('0x24')]=_0x1ca345['dialCutDigit']||undefined;this['TrunkBackup']=_0x1ca345[_0x69ff('0x25')]?_0x1ca345[_0x69ff('0x25')]:undefined;this[_0x69ff('0x26')]=_0x1ca345['Trunk']?_0x1ca345[_0x69ff('0x26')]:undefined;this[_0x69ff('0x27')]=_0x1ca345[_0x69ff('0x27')]?_0x1ca345[_0x69ff('0x27')]:undefined;this[_0x69ff('0x28')]=_0x1ca345[_0x69ff('0x28')]?_0x1ca345[_0x69ff('0x28')]:undefined;this[_0x69ff('0x29')]=_0x1ca345[_0x69ff('0x28')]?_0x1ca345['SquareProject'][_0x69ff('0x0')]:undefined;this[_0x69ff('0x2a')]=_0x1ca345[_0x69ff('0x2a')]||![];this[_0x69ff('0x2b')]=_0x1ca345[_0x69ff('0x2b')];this[_0x69ff('0x2c')]=_0x1ca345[_0x69ff('0x2c')];this[_0x69ff('0x2d')]=_0x1ca345[_0x69ff('0x2d')];this[_0x69ff('0x2e')]=_0x1ca345[_0x69ff('0x2e')];this['dialAMDMinWordLength']=_0x1ca345[_0x69ff('0x2f')];this[_0x69ff('0x30')]=_0x1ca345[_0x69ff('0x30')];this['dialAMDMaximumNumberOfWords']=_0x1ca345['dialAMDMaximumNumberOfWords'];this[_0x69ff('0x31')]=_0x1ca345[_0x69ff('0x31')];this[_0x69ff('0x32')]=_0x1ca345[_0x69ff('0x32')];}module[_0x69ff('0x33')]=Campaign;
\ No newline at end of file