Built motion from commit 9d0783e6.|2.6.13
[motion2.git] / server / services / ami / model / campaign.js
index 914f318..385eac2 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf23e=['dialOriginateCallerIdNumber','dialOriginateTimeout','dialCongestionMaxRetry','dialCongestionRetryFrequency','dialBusyMaxRetry','dialBusyRetryFrequency','dialNoAnswerMaxRetry','dialNoAnswerRetryFrequency','dialGlobalMaxRetry','dialNoSuchNumberMaxRetry','dialDropMaxRetry','dialDropRetryFrequency','dialAbandonedRetryFrequency','dialMachineMaxRetry','dialMachineRetryFrequency','dialAgentRejectMaxRetry','dialAgentRejectRetryFrequency','dialOrderByScheduledAt','DESC','dialPrefix','dialRandomLastDigitCallerIdNumber','dialCutDigit','TrunkBackup','Trunk','Interval','SquareProject','dialQueueProject','dialAMDActive','dialAMDInitialSilence','dialAMDGreeting','dialAMDAfterGreetingSilence','dialAMDMinWordLength','dialAMDBetweenWordsSilence','dialAMDMaximumNumberOfWords','dialAMDSilenceThreshold','dialAMDMaximumWordLength','exports','name','type','campaign','originated','temp','ivrAnswerCallsDay','ivrTotalCallsDays','message','sendMessageOneNotActive','active','limitCalls','dialTimezone','dialGlobalInterval','dialOriginateCallerIdName'];(function(_0x3afe18,_0x26922c){var _0x19ed1f=function(_0x1c0660){while(--_0x1c0660){_0x3afe18['push'](_0x3afe18['shift']());}};_0x19ed1f(++_0x26922c);}(_0xf23e,0x8b));var _0xef23=function(_0x17b6e3,_0x4522ed){_0x17b6e3=_0x17b6e3-0x0;var _0x3906f3=_0xf23e[_0x17b6e3];return _0x3906f3;};'use strict';function Campaign(_0x35c6a7){this['id']=_0x35c6a7['id']||0x0;this[_0xef23('0x0')]=_0x35c6a7[_0xef23('0x0')]||'';this[_0xef23('0x1')]=_0x35c6a7[_0xef23('0x1')]||_0xef23('0x2');this[_0xef23('0x3')]=0x0;this[_0xef23('0x4')]=0x0;this[_0xef23('0x5')]=0x0;this[_0xef23('0x6')]=0x0;this[_0xef23('0x7')]='';this[_0xef23('0x8')]=!![];this[_0xef23('0x9')]=_0x35c6a7[_0xef23('0x9')];this[_0xef23('0xa')]=_0x35c6a7[_0xef23('0xa')];this[_0xef23('0xb')]=_0x35c6a7['dialTimezone']||null;this['dialGlobalInterval']=_0x35c6a7['dialGlobalInterval']?_0x35c6a7[_0xef23('0xc')]:null;this[_0xef23('0xd')]=_0x35c6a7[_0xef23('0xd')];this[_0xef23('0xe')]=_0x35c6a7[_0xef23('0xe')];this[_0xef23('0xf')]=_0x35c6a7[_0xef23('0xf')]||0x1e;this['dialCongestionMaxRetry']=_0x35c6a7[_0xef23('0x10')];this[_0xef23('0x11')]=_0x35c6a7[_0xef23('0x11')];this[_0xef23('0x12')]=_0x35c6a7[_0xef23('0x12')];this['dialBusyRetryFrequency']=_0x35c6a7[_0xef23('0x13')];this['dialNoAnswerMaxRetry']=_0x35c6a7[_0xef23('0x14')];this[_0xef23('0x15')]=_0x35c6a7[_0xef23('0x15')];this[_0xef23('0x16')]=_0x35c6a7[_0xef23('0x16')];this[_0xef23('0x17')]=_0x35c6a7[_0xef23('0x17')]||0x3;this['dialNoSuchNumberRetryFrequency']=_0x35c6a7['dialNoSuchNumberRetryFrequency']||0x96;this['dialDropMaxRetry']=_0x35c6a7[_0xef23('0x18')]||0x3;this[_0xef23('0x19')]=_0x35c6a7[_0xef23('0x19')]||0x96;this['dialAbandonedMaxRetry']=_0x35c6a7['dialAbandonedMaxRetry']||0x3;this[_0xef23('0x1a')]=_0x35c6a7[_0xef23('0x1a')]||0x96;this[_0xef23('0x1b')]=_0x35c6a7[_0xef23('0x1b')]||0x3;this[_0xef23('0x1c')]=_0x35c6a7['dialMachineRetryFrequency']||0x96;this[_0xef23('0x1d')]=_0x35c6a7[_0xef23('0x1d')]||0x3;this['dialAgentRejectRetryFrequency']=_0x35c6a7[_0xef23('0x1e')]||0x96;this[_0xef23('0x1f')]=_0x35c6a7[_0xef23('0x1f')]||_0xef23('0x20');this['dialPrefix']=_0x35c6a7[_0xef23('0x21')]||undefined;this[_0xef23('0x22')]=_0x35c6a7[_0xef23('0x22')]||undefined;this[_0xef23('0x23')]=_0x35c6a7[_0xef23('0x23')]||undefined;this[_0xef23('0x24')]=_0x35c6a7[_0xef23('0x24')]?_0x35c6a7[_0xef23('0x24')]:undefined;this[_0xef23('0x25')]=_0x35c6a7[_0xef23('0x25')]?_0x35c6a7[_0xef23('0x25')]:undefined;this['Interval']=_0x35c6a7[_0xef23('0x26')]?_0x35c6a7[_0xef23('0x26')]:undefined;this['SquareProject']=_0x35c6a7[_0xef23('0x27')]?_0x35c6a7[_0xef23('0x27')]:undefined;this[_0xef23('0x28')]=_0x35c6a7['SquareProject']?_0x35c6a7[_0xef23('0x27')]['name']:undefined;this[_0xef23('0x29')]=_0x35c6a7[_0xef23('0x29')]||![];this[_0xef23('0x2a')]=_0x35c6a7['dialAMDInitialSilence'];this[_0xef23('0x2b')]=_0x35c6a7[_0xef23('0x2b')];this[_0xef23('0x2c')]=_0x35c6a7[_0xef23('0x2c')];this['dialAMDTotalAnalysisTime']=_0x35c6a7['dialAMDTotalAnalysisTime'];this[_0xef23('0x2d')]=_0x35c6a7[_0xef23('0x2d')];this['dialAMDBetweenWordsSilence']=_0x35c6a7[_0xef23('0x2e')];this[_0xef23('0x2f')]=_0x35c6a7['dialAMDMaximumNumberOfWords'];this[_0xef23('0x30')]=_0x35c6a7[_0xef23('0x30')];this[_0xef23('0x31')]=_0x35c6a7['dialAMDMaximumWordLength'];}module[_0xef23('0x32')]=Campaign;
\ No newline at end of file
+var _0x551c=['dialBusyRetryFrequency','dialNoAnswerMaxRetry','dialNoAnswerRetryFrequency','dialGlobalMaxRetry','dialNoSuchNumberMaxRetry','dialNoSuchNumberRetryFrequency','dialDropMaxRetry','dialDropRetryFrequency','dialAbandonedMaxRetry','dialAbandonedRetryFrequency','dialMachineRetryFrequency','dialAgentRejectMaxRetry','dialAgentRejectRetryFrequency','dialOrderByScheduledAt','DESC','dialPrefix','dialRandomLastDigitCallerIdNumber','dialCutDigit','TrunkBackup','Trunk','Interval','SquareProject','dialAMDActive','dialAMDGreeting','dialAMDAfterGreetingSilence','dialAMDTotalAnalysisTime','dialAMDMinWordLength','dialAMDBetweenWordsSilence','dialAMDMaximumNumberOfWords','dialAMDSilenceThreshold','dialAMDMaximumWordLength','exports','name','type','ivrAnswerCallsDay','ivrTotalCallsDays','sendMessageOneNotActive','active','limitCalls','dialTimezone','dialGlobalInterval','dialOriginateCallerIdName','dialOriginateCallerIdNumber','dialOriginateTimeout','dialCongestionMaxRetry','dialCongestionRetryFrequency','dialBusyMaxRetry'];(function(_0x247046,_0x2448c7){var _0x147b69=function(_0x480745){while(--_0x480745){_0x247046['push'](_0x247046['shift']());}};_0x147b69(++_0x2448c7);}(_0x551c,0xdc));var _0xc551=function(_0xc4dd3a,_0x4b6c6e){_0xc4dd3a=_0xc4dd3a-0x0;var _0x4b07b5=_0x551c[_0xc4dd3a];return _0x4b07b5;};'use strict';function Campaign(_0x3426cf){this['id']=_0x3426cf['id']||0x0;this[_0xc551('0x0')]=_0x3426cf[_0xc551('0x0')]||'';this[_0xc551('0x1')]=_0x3426cf[_0xc551('0x1')]||'campaign';this['originated']=0x0;this['temp']=0x0;this[_0xc551('0x2')]=0x0;this[_0xc551('0x3')]=0x0;this['message']='';this[_0xc551('0x4')]=!![];this[_0xc551('0x5')]=_0x3426cf[_0xc551('0x5')];this[_0xc551('0x6')]=_0x3426cf[_0xc551('0x6')];this[_0xc551('0x7')]=_0x3426cf['dialTimezone']||null;this[_0xc551('0x8')]=_0x3426cf[_0xc551('0x8')]?_0x3426cf['dialGlobalInterval']:null;this[_0xc551('0x9')]=_0x3426cf[_0xc551('0x9')];this['dialOriginateCallerIdNumber']=_0x3426cf[_0xc551('0xa')];this[_0xc551('0xb')]=_0x3426cf[_0xc551('0xb')]||0x1e;this[_0xc551('0xc')]=_0x3426cf['dialCongestionMaxRetry'];this[_0xc551('0xd')]=_0x3426cf['dialCongestionRetryFrequency'];this['dialBusyMaxRetry']=_0x3426cf[_0xc551('0xe')];this[_0xc551('0xf')]=_0x3426cf[_0xc551('0xf')];this[_0xc551('0x10')]=_0x3426cf['dialNoAnswerMaxRetry'];this[_0xc551('0x11')]=_0x3426cf[_0xc551('0x11')];this[_0xc551('0x12')]=_0x3426cf[_0xc551('0x12')];this[_0xc551('0x13')]=_0x3426cf[_0xc551('0x13')]||0x3;this[_0xc551('0x14')]=_0x3426cf[_0xc551('0x14')]||0x96;this[_0xc551('0x15')]=_0x3426cf['dialDropMaxRetry']||0x3;this['dialDropRetryFrequency']=_0x3426cf[_0xc551('0x16')]||0x96;this[_0xc551('0x17')]=_0x3426cf[_0xc551('0x17')]||0x3;this['dialAbandonedRetryFrequency']=_0x3426cf[_0xc551('0x18')]||0x96;this['dialMachineMaxRetry']=_0x3426cf['dialMachineMaxRetry']||0x3;this[_0xc551('0x19')]=_0x3426cf['dialMachineRetryFrequency']||0x96;this[_0xc551('0x1a')]=_0x3426cf[_0xc551('0x1a')]||0x3;this[_0xc551('0x1b')]=_0x3426cf[_0xc551('0x1b')]||0x96;this[_0xc551('0x1c')]=_0x3426cf[_0xc551('0x1c')]||_0xc551('0x1d');this[_0xc551('0x1e')]=_0x3426cf[_0xc551('0x1e')]||undefined;this[_0xc551('0x1f')]=_0x3426cf[_0xc551('0x1f')]||undefined;this[_0xc551('0x20')]=_0x3426cf[_0xc551('0x20')]||undefined;this[_0xc551('0x21')]=_0x3426cf['TrunkBackup']?_0x3426cf[_0xc551('0x21')]:undefined;this[_0xc551('0x22')]=_0x3426cf[_0xc551('0x22')]?_0x3426cf[_0xc551('0x22')]:undefined;this[_0xc551('0x23')]=_0x3426cf[_0xc551('0x23')]?_0x3426cf[_0xc551('0x23')]:undefined;this[_0xc551('0x24')]=_0x3426cf[_0xc551('0x24')]?_0x3426cf[_0xc551('0x24')]:undefined;this['dialQueueProject']=_0x3426cf['SquareProject']?_0x3426cf[_0xc551('0x24')][_0xc551('0x0')]:undefined;this['dialAMDActive']=_0x3426cf[_0xc551('0x25')]||![];this['dialAMDInitialSilence']=_0x3426cf['dialAMDInitialSilence'];this[_0xc551('0x26')]=_0x3426cf[_0xc551('0x26')];this[_0xc551('0x27')]=_0x3426cf[_0xc551('0x27')];this[_0xc551('0x28')]=_0x3426cf[_0xc551('0x28')];this[_0xc551('0x29')]=_0x3426cf[_0xc551('0x29')];this[_0xc551('0x2a')]=_0x3426cf[_0xc551('0x2a')];this[_0xc551('0x2b')]=_0x3426cf[_0xc551('0x2b')];this[_0xc551('0x2c')]=_0x3426cf[_0xc551('0x2c')];this['dialAMDMaximumWordLength']=_0x3426cf[_0xc551('0x2d')];}module[_0xc551('0x2e')]=Campaign;
\ No newline at end of file