Built motion from commit (unavailable).|2.3.10
[motion2.git] / server / services / ami / model / campaign.js
index f7c3d28..2ec3400 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x89e8=['type','campaign','originated','temp','sendMessageOneNotActive','active','limitCalls','dialTimezone','dialGlobalInterval','dialOriginateCallerIdName','dialOriginateCallerIdNumber','dialOriginateTimeout','dialCongestionMaxRetry','dialCongestionRetryFrequency','dialBusyMaxRetry','dialBusyRetryFrequency','dialNoAnswerMaxRetry','dialNoAnswerRetryFrequency','dialGlobalMaxRetry','dialOrderByScheduledAt','dialPrefix','dialRandomLastDigitCallerIdNumber','dialCutDigit','TrunkBackup','Trunk','Interval','SquareProject','dialQueueProject','dialAMDActive','dialAMDInitialSilence','dialAMDGreeting','dialAMDTotalAnalysisTime','dialAMDMinWordLength','dialAMDBetweenWordsSilence','dialAMDMaximumNumberOfWords','dialAMDSilenceThreshold','dialAMDMaximumWordLength','exports','name'];(function(_0x2ce78a,_0x4cfb37){var _0x4a82c4=function(_0x35d985){while(--_0x35d985){_0x2ce78a['push'](_0x2ce78a['shift']());}};_0x4a82c4(++_0x4cfb37);}(_0x89e8,0x74));var _0x889e=function(_0x4cf98e,_0xba4b79){_0x4cf98e=_0x4cf98e-0x0;var _0x1623ac=_0x89e8[_0x4cf98e];return _0x1623ac;};'use strict';function Campaign(_0x5442ae){this['id']=_0x5442ae['id']||0x0;this[_0x889e('0x0')]=_0x5442ae[_0x889e('0x0')]||'';this[_0x889e('0x1')]=_0x5442ae[_0x889e('0x1')]||_0x889e('0x2');this[_0x889e('0x3')]=0x0;this[_0x889e('0x4')]=0x0;this['ivrAnswerCallsDay']=0x0;this['ivrTotalCallsDays']=0x0;this['message']='';this[_0x889e('0x5')]=!![];this[_0x889e('0x6')]=_0x5442ae[_0x889e('0x6')];this['limitCalls']=_0x5442ae[_0x889e('0x7')];this['dialTimezone']=_0x5442ae[_0x889e('0x8')]||null;this[_0x889e('0x9')]=_0x5442ae[_0x889e('0x9')]?_0x5442ae['dialGlobalInterval']:null;this[_0x889e('0xa')]=_0x5442ae[_0x889e('0xa')];this[_0x889e('0xb')]=_0x5442ae[_0x889e('0xb')];this['dialOriginateTimeout']=_0x5442ae[_0x889e('0xc')]||0x1e;this[_0x889e('0xd')]=_0x5442ae['dialCongestionMaxRetry'];this[_0x889e('0xe')]=_0x5442ae[_0x889e('0xe')];this[_0x889e('0xf')]=_0x5442ae[_0x889e('0xf')];this['dialBusyRetryFrequency']=_0x5442ae[_0x889e('0x10')];this[_0x889e('0x11')]=_0x5442ae[_0x889e('0x11')];this['dialNoAnswerRetryFrequency']=_0x5442ae[_0x889e('0x12')];this[_0x889e('0x13')]=_0x5442ae[_0x889e('0x13')];this[_0x889e('0x14')]=_0x5442ae[_0x889e('0x14')]||'DESC';this['dialPrefix']=_0x5442ae[_0x889e('0x15')]||undefined;this[_0x889e('0x16')]=_0x5442ae[_0x889e('0x16')]||undefined;this[_0x889e('0x17')]=_0x5442ae['dialCutDigit']||undefined;this[_0x889e('0x18')]=_0x5442ae[_0x889e('0x18')]?_0x5442ae['TrunkBackup']:undefined;this[_0x889e('0x19')]=_0x5442ae['Trunk']?_0x5442ae[_0x889e('0x19')]:undefined;this[_0x889e('0x1a')]=_0x5442ae[_0x889e('0x1a')]?_0x5442ae[_0x889e('0x1a')]:undefined;this[_0x889e('0x1b')]=_0x5442ae['SquareProject']?_0x5442ae[_0x889e('0x1b')]:undefined;this[_0x889e('0x1c')]=_0x5442ae['SquareProject']?_0x5442ae[_0x889e('0x1b')][_0x889e('0x0')]:undefined;this[_0x889e('0x1d')]=_0x5442ae['dialAMDActive']||![];this[_0x889e('0x1e')]=_0x5442ae[_0x889e('0x1e')];this[_0x889e('0x1f')]=_0x5442ae[_0x889e('0x1f')];this['dialAMDAfterGreetingSilence']=_0x5442ae['dialAMDAfterGreetingSilence'];this[_0x889e('0x20')]=_0x5442ae[_0x889e('0x20')];this[_0x889e('0x21')]=_0x5442ae['dialAMDMinWordLength'];this[_0x889e('0x22')]=_0x5442ae[_0x889e('0x22')];this[_0x889e('0x23')]=_0x5442ae['dialAMDMaximumNumberOfWords'];this[_0x889e('0x24')]=_0x5442ae['dialAMDSilenceThreshold'];this[_0x889e('0x25')]=_0x5442ae[_0x889e('0x25')];}module[_0x889e('0x26')]=Campaign;
\ No newline at end of file
+var _0x71f4=['dialNoAnswerRetryFrequency','dialGlobalMaxRetry','dialOrderByScheduledAt','DESC','dialPrefix','dialRandomLastDigitCallerIdNumber','dialCutDigit','TrunkBackup','Trunk','Interval','SquareProject','dialQueueProject','dialAMDActive','dialAMDGreeting','dialAMDAfterGreetingSilence','dialAMDTotalAnalysisTime','dialAMDMinWordLength','dialAMDBetweenWordsSilence','dialAMDMaximumNumberOfWords','dialAMDSilenceThreshold','dialAMDMaximumWordLength','name','type','campaign','originated','ivrAnswerCallsDay','message','active','limitCalls','dialTimezone','dialGlobalInterval','dialOriginateCallerIdNumber','dialOriginateTimeout','dialCongestionMaxRetry','dialCongestionRetryFrequency','dialBusyMaxRetry','dialBusyRetryFrequency','dialNoAnswerMaxRetry'];(function(_0xfbdbd1,_0x2dc9d9){var _0x3e55b7=function(_0x1c569b){while(--_0x1c569b){_0xfbdbd1['push'](_0xfbdbd1['shift']());}};_0x3e55b7(++_0x2dc9d9);}(_0x71f4,0xf9));var _0x471f=function(_0x2cacf0,_0x3ed02d){_0x2cacf0=_0x2cacf0-0x0;var _0x457de2=_0x71f4[_0x2cacf0];return _0x457de2;};'use strict';function Campaign(_0x358938){this['id']=_0x358938['id']||0x0;this['name']=_0x358938[_0x471f('0x0')]||'';this[_0x471f('0x1')]=_0x358938[_0x471f('0x1')]||_0x471f('0x2');this[_0x471f('0x3')]=0x0;this['temp']=0x0;this[_0x471f('0x4')]=0x0;this['ivrTotalCallsDays']=0x0;this[_0x471f('0x5')]='';this['sendMessageOneNotActive']=!![];this[_0x471f('0x6')]=_0x358938[_0x471f('0x6')];this[_0x471f('0x7')]=_0x358938[_0x471f('0x7')];this[_0x471f('0x8')]=_0x358938[_0x471f('0x8')]||null;this[_0x471f('0x9')]=_0x358938[_0x471f('0x9')]?_0x358938[_0x471f('0x9')]:null;this['dialOriginateCallerIdName']=_0x358938['dialOriginateCallerIdName'];this['dialOriginateCallerIdNumber']=_0x358938[_0x471f('0xa')];this[_0x471f('0xb')]=_0x358938['dialOriginateTimeout']||0x1e;this[_0x471f('0xc')]=_0x358938[_0x471f('0xc')];this[_0x471f('0xd')]=_0x358938['dialCongestionRetryFrequency'];this[_0x471f('0xe')]=_0x358938[_0x471f('0xe')];this[_0x471f('0xf')]=_0x358938[_0x471f('0xf')];this[_0x471f('0x10')]=_0x358938[_0x471f('0x10')];this[_0x471f('0x11')]=_0x358938[_0x471f('0x11')];this[_0x471f('0x12')]=_0x358938['dialGlobalMaxRetry'];this[_0x471f('0x13')]=_0x358938['dialOrderByScheduledAt']||_0x471f('0x14');this[_0x471f('0x15')]=_0x358938[_0x471f('0x15')]||undefined;this[_0x471f('0x16')]=_0x358938[_0x471f('0x16')]||undefined;this[_0x471f('0x17')]=_0x358938[_0x471f('0x17')]||undefined;this[_0x471f('0x18')]=_0x358938['TrunkBackup']?_0x358938[_0x471f('0x18')]:undefined;this[_0x471f('0x19')]=_0x358938['Trunk']?_0x358938[_0x471f('0x19')]:undefined;this['Interval']=_0x358938[_0x471f('0x1a')]?_0x358938['Interval']:undefined;this[_0x471f('0x1b')]=_0x358938[_0x471f('0x1b')]?_0x358938[_0x471f('0x1b')]:undefined;this[_0x471f('0x1c')]=_0x358938['SquareProject']?_0x358938['SquareProject'][_0x471f('0x0')]:undefined;this['dialAMDActive']=_0x358938[_0x471f('0x1d')]||![];this['dialAMDInitialSilence']=_0x358938['dialAMDInitialSilence'];this[_0x471f('0x1e')]=_0x358938[_0x471f('0x1e')];this['dialAMDAfterGreetingSilence']=_0x358938[_0x471f('0x1f')];this[_0x471f('0x20')]=_0x358938[_0x471f('0x20')];this['dialAMDMinWordLength']=_0x358938[_0x471f('0x21')];this[_0x471f('0x22')]=_0x358938[_0x471f('0x22')];this[_0x471f('0x23')]=_0x358938[_0x471f('0x23')];this['dialAMDSilenceThreshold']=_0x358938[_0x471f('0x24')];this[_0x471f('0x25')]=_0x358938['dialAMDMaximumWordLength'];}module['exports']=Campaign;
\ No newline at end of file