Built motion from commit e02f907f.|2.6.14
[motion2.git] / server / services / ami / model / campaign.js
index 40c521b..5c731ac 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xfd85=['dialDropMaxRetry','dialDropRetryFrequency','dialAbandonedMaxRetry','dialAbandonedRetryFrequency','dialMachineRetryFrequency','dialAgentRejectMaxRetry','dialAgentRejectRetryFrequency','DESC','dialPrefix','dialRandomLastDigitCallerIdNumber','dialCutDigit','TrunkBackup','Trunk','Interval','SquareProject','dialQueueProject','dialAMDInitialSilence','dialAMDGreeting','dialAMDAfterGreetingSilence','dialAMDMinWordLength','dialAMDBetweenWordsSilence','dialAMDMaximumNumberOfWords','dialAMDSilenceThreshold','dialAMDMaximumWordLength','exports','name','type','campaign','originated','temp','ivrAnswerCallsDay','ivrTotalCallsDays','message','sendMessageOneNotActive','active','limitCalls','dialTimezone','dialGlobalInterval','dialOriginateCallerIdName','dialOriginateTimeout','dialCongestionMaxRetry','dialCongestionRetryFrequency','dialBusyRetryFrequency','dialNoAnswerMaxRetry','dialNoAnswerRetryFrequency','dialGlobalMaxRetry','dialNoSuchNumberMaxRetry','dialNoSuchNumberRetryFrequency'];(function(_0xd1d2b0,_0x4b1eba){var _0x1546a3=function(_0x1e2342){while(--_0x1e2342){_0xd1d2b0['push'](_0xd1d2b0['shift']());}};_0x1546a3(++_0x4b1eba);}(_0xfd85,0xa9));var _0x5fd8=function(_0x25c7fb,_0x2e4e86){_0x25c7fb=_0x25c7fb-0x0;var _0x214b77=_0xfd85[_0x25c7fb];return _0x214b77;};'use strict';function Campaign(_0x5f5885){this['id']=_0x5f5885['id']||0x0;this[_0x5fd8('0x0')]=_0x5f5885[_0x5fd8('0x0')]||'';this[_0x5fd8('0x1')]=_0x5f5885[_0x5fd8('0x1')]||_0x5fd8('0x2');this[_0x5fd8('0x3')]=0x0;this[_0x5fd8('0x4')]=0x0;this[_0x5fd8('0x5')]=0x0;this[_0x5fd8('0x6')]=0x0;this[_0x5fd8('0x7')]='';this[_0x5fd8('0x8')]=!![];this[_0x5fd8('0x9')]=_0x5f5885[_0x5fd8('0x9')];this[_0x5fd8('0xa')]=_0x5f5885[_0x5fd8('0xa')];this[_0x5fd8('0xb')]=_0x5f5885[_0x5fd8('0xb')]||null;this['dialGlobalInterval']=_0x5f5885[_0x5fd8('0xc')]?_0x5f5885[_0x5fd8('0xc')]:null;this['dialOriginateCallerIdName']=_0x5f5885[_0x5fd8('0xd')];this['dialOriginateCallerIdNumber']=_0x5f5885['dialOriginateCallerIdNumber'];this[_0x5fd8('0xe')]=_0x5f5885[_0x5fd8('0xe')]||0x1e;this[_0x5fd8('0xf')]=_0x5f5885['dialCongestionMaxRetry'];this['dialCongestionRetryFrequency']=_0x5f5885[_0x5fd8('0x10')];this['dialBusyMaxRetry']=_0x5f5885['dialBusyMaxRetry'];this[_0x5fd8('0x11')]=_0x5f5885['dialBusyRetryFrequency'];this[_0x5fd8('0x12')]=_0x5f5885[_0x5fd8('0x12')];this[_0x5fd8('0x13')]=_0x5f5885[_0x5fd8('0x13')];this[_0x5fd8('0x14')]=_0x5f5885['dialGlobalMaxRetry'];this[_0x5fd8('0x15')]=_0x5f5885[_0x5fd8('0x15')]||0x3;this[_0x5fd8('0x16')]=_0x5f5885[_0x5fd8('0x16')]||0x96;this[_0x5fd8('0x17')]=_0x5f5885[_0x5fd8('0x17')]||0x3;this[_0x5fd8('0x18')]=_0x5f5885['dialDropRetryFrequency']||0x96;this[_0x5fd8('0x19')]=_0x5f5885[_0x5fd8('0x19')]||0x3;this[_0x5fd8('0x1a')]=_0x5f5885[_0x5fd8('0x1a')]||0x96;this['dialMachineMaxRetry']=_0x5f5885['dialMachineMaxRetry']||0x3;this[_0x5fd8('0x1b')]=_0x5f5885[_0x5fd8('0x1b')]||0x96;this['dialAgentRejectMaxRetry']=_0x5f5885[_0x5fd8('0x1c')]||0x3;this[_0x5fd8('0x1d')]=_0x5f5885[_0x5fd8('0x1d')]||0x96;this['dialOrderByScheduledAt']=_0x5f5885['dialOrderByScheduledAt']||_0x5fd8('0x1e');this[_0x5fd8('0x1f')]=_0x5f5885['dialPrefix']||undefined;this['dialRandomLastDigitCallerIdNumber']=_0x5f5885[_0x5fd8('0x20')]||undefined;this[_0x5fd8('0x21')]=_0x5f5885[_0x5fd8('0x21')]||undefined;this[_0x5fd8('0x22')]=_0x5f5885[_0x5fd8('0x22')]?_0x5f5885[_0x5fd8('0x22')]:undefined;this[_0x5fd8('0x23')]=_0x5f5885[_0x5fd8('0x23')]?_0x5f5885['Trunk']:undefined;this[_0x5fd8('0x24')]=_0x5f5885[_0x5fd8('0x24')]?_0x5f5885[_0x5fd8('0x24')]:undefined;this[_0x5fd8('0x25')]=_0x5f5885[_0x5fd8('0x25')]?_0x5f5885[_0x5fd8('0x25')]:undefined;this[_0x5fd8('0x26')]=_0x5f5885['SquareProject']?_0x5f5885['SquareProject']['name']:undefined;this['dialAMDActive']=_0x5f5885['dialAMDActive']||![];this[_0x5fd8('0x27')]=_0x5f5885[_0x5fd8('0x27')];this[_0x5fd8('0x28')]=_0x5f5885[_0x5fd8('0x28')];this[_0x5fd8('0x29')]=_0x5f5885['dialAMDAfterGreetingSilence'];this['dialAMDTotalAnalysisTime']=_0x5f5885['dialAMDTotalAnalysisTime'];this['dialAMDMinWordLength']=_0x5f5885[_0x5fd8('0x2a')];this[_0x5fd8('0x2b')]=_0x5f5885[_0x5fd8('0x2b')];this[_0x5fd8('0x2c')]=_0x5f5885[_0x5fd8('0x2c')];this['dialAMDSilenceThreshold']=_0x5f5885[_0x5fd8('0x2d')];this['dialAMDMaximumWordLength']=_0x5f5885[_0x5fd8('0x2e')];}module[_0x5fd8('0x2f')]=Campaign;
\ No newline at end of file
+var _0x4f54=['campaign','originated','temp','sendMessageOneNotActive','active','limitCalls','dialTimezone','dialGlobalInterval','dialOriginateCallerIdName','dialOriginateCallerIdNumber','dialOriginateTimeout','dialCongestionMaxRetry','dialCongestionRetryFrequency','dialBusyMaxRetry','dialBusyRetryFrequency','dialNoAnswerRetryFrequency','dialGlobalMaxRetry','dialNoSuchNumberMaxRetry','dialNoSuchNumberRetryFrequency','dialDropMaxRetry','dialDropRetryFrequency','dialAbandonedMaxRetry','dialAbandonedRetryFrequency','dialMachineMaxRetry','dialMachineRetryFrequency','dialAgentRejectMaxRetry','dialAgentRejectRetryFrequency','dialOrderByScheduledAt','dialPrefix','dialRandomLastDigitCallerIdNumber','dialCutDigit','TrunkBackup','Trunk','Interval','dialQueueProject','SquareProject','dialAMDActive','dialAMDInitialSilence','dialAMDGreeting','dialAMDAfterGreetingSilence','dialAMDTotalAnalysisTime','dialAMDBetweenWordsSilence','dialAMDSilenceThreshold','dialAMDMaximumWordLength','exports','name','type'];(function(_0x4c99cd,_0x2b5650){var _0x9c212e=function(_0x5a9352){while(--_0x5a9352){_0x4c99cd['push'](_0x4c99cd['shift']());}};_0x9c212e(++_0x2b5650);}(_0x4f54,0x1d4));var _0x44f5=function(_0x465a0c,_0x19d4d5){_0x465a0c=_0x465a0c-0x0;var _0x1e202e=_0x4f54[_0x465a0c];return _0x1e202e;};'use strict';function Campaign(_0x49a2f1){this['id']=_0x49a2f1['id']||0x0;this[_0x44f5('0x0')]=_0x49a2f1[_0x44f5('0x0')]||'';this[_0x44f5('0x1')]=_0x49a2f1[_0x44f5('0x1')]||_0x44f5('0x2');this[_0x44f5('0x3')]=0x0;this[_0x44f5('0x4')]=0x0;this['ivrAnswerCallsDay']=0x0;this['ivrTotalCallsDays']=0x0;this['message']='';this[_0x44f5('0x5')]=!![];this[_0x44f5('0x6')]=_0x49a2f1['active'];this[_0x44f5('0x7')]=_0x49a2f1['limitCalls'];this[_0x44f5('0x8')]=_0x49a2f1['dialTimezone']||null;this[_0x44f5('0x9')]=_0x49a2f1[_0x44f5('0x9')]?_0x49a2f1[_0x44f5('0x9')]:null;this[_0x44f5('0xa')]=_0x49a2f1[_0x44f5('0xa')];this[_0x44f5('0xb')]=_0x49a2f1[_0x44f5('0xb')];this[_0x44f5('0xc')]=_0x49a2f1['dialOriginateTimeout']||0x1e;this[_0x44f5('0xd')]=_0x49a2f1[_0x44f5('0xd')];this[_0x44f5('0xe')]=_0x49a2f1[_0x44f5('0xe')];this[_0x44f5('0xf')]=_0x49a2f1[_0x44f5('0xf')];this[_0x44f5('0x10')]=_0x49a2f1[_0x44f5('0x10')];this['dialNoAnswerMaxRetry']=_0x49a2f1['dialNoAnswerMaxRetry'];this[_0x44f5('0x11')]=_0x49a2f1['dialNoAnswerRetryFrequency'];this['dialGlobalMaxRetry']=_0x49a2f1[_0x44f5('0x12')];this['dialNoSuchNumberMaxRetry']=_0x49a2f1[_0x44f5('0x13')]||0x3;this[_0x44f5('0x14')]=_0x49a2f1['dialNoSuchNumberRetryFrequency']||0x96;this[_0x44f5('0x15')]=_0x49a2f1['dialDropMaxRetry']||0x3;this[_0x44f5('0x16')]=_0x49a2f1[_0x44f5('0x16')]||0x96;this['dialAbandonedMaxRetry']=_0x49a2f1[_0x44f5('0x17')]||0x3;this[_0x44f5('0x18')]=_0x49a2f1[_0x44f5('0x18')]||0x96;this[_0x44f5('0x19')]=_0x49a2f1[_0x44f5('0x19')]||0x3;this[_0x44f5('0x1a')]=_0x49a2f1[_0x44f5('0x1a')]||0x96;this['dialAgentRejectMaxRetry']=_0x49a2f1[_0x44f5('0x1b')]||0x3;this[_0x44f5('0x1c')]=_0x49a2f1[_0x44f5('0x1c')]||0x96;this[_0x44f5('0x1d')]=_0x49a2f1[_0x44f5('0x1d')]||'DESC';this[_0x44f5('0x1e')]=_0x49a2f1[_0x44f5('0x1e')]||undefined;this[_0x44f5('0x1f')]=_0x49a2f1[_0x44f5('0x1f')]||undefined;this['dialCutDigit']=_0x49a2f1[_0x44f5('0x20')]||undefined;this[_0x44f5('0x21')]=_0x49a2f1[_0x44f5('0x21')]?_0x49a2f1[_0x44f5('0x21')]:undefined;this[_0x44f5('0x22')]=_0x49a2f1[_0x44f5('0x22')]?_0x49a2f1[_0x44f5('0x22')]:undefined;this[_0x44f5('0x23')]=_0x49a2f1[_0x44f5('0x23')]?_0x49a2f1[_0x44f5('0x23')]:undefined;this['SquareProject']=_0x49a2f1['SquareProject']?_0x49a2f1['SquareProject']:undefined;this[_0x44f5('0x24')]=_0x49a2f1[_0x44f5('0x25')]?_0x49a2f1[_0x44f5('0x25')][_0x44f5('0x0')]:undefined;this['dialAMDActive']=_0x49a2f1[_0x44f5('0x26')]||![];this['dialAMDInitialSilence']=_0x49a2f1[_0x44f5('0x27')];this['dialAMDGreeting']=_0x49a2f1[_0x44f5('0x28')];this['dialAMDAfterGreetingSilence']=_0x49a2f1[_0x44f5('0x29')];this[_0x44f5('0x2a')]=_0x49a2f1[_0x44f5('0x2a')];this['dialAMDMinWordLength']=_0x49a2f1['dialAMDMinWordLength'];this['dialAMDBetweenWordsSilence']=_0x49a2f1[_0x44f5('0x2b')];this['dialAMDMaximumNumberOfWords']=_0x49a2f1['dialAMDMaximumNumberOfWords'];this[_0x44f5('0x2c')]=_0x49a2f1[_0x44f5('0x2c')];this[_0x44f5('0x2d')]=_0x49a2f1[_0x44f5('0x2d')];}module[_0x44f5('0x2e')]=Campaign;
\ No newline at end of file