1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
17 // *************************************************************************
18 var _0x8912=['dialAMDMaximumNumberOfWords','dialAMDSilenceThreshold','dialAMDMaximumWordLength','exports','name','type','originated','ivrTotalCallsDays','message','sendMessageOneNotActive','active','limitCalls','dialTimezone','dialGlobalInterval','dialOriginateCallerIdName','dialOriginateCallerIdNumber','dialOriginateTimeout','dialCongestionMaxRetry','dialCongestionRetryFrequency','dialBusyMaxRetry','dialBusyRetryFrequency','dialNoAnswerMaxRetry','dialNoAnswerRetryFrequency','dialGlobalMaxRetry','dialNoSuchNumberMaxRetry','dialNoSuchNumberRetryFrequency','dialDropMaxRetry','dialDropRetryFrequency','dialAbandonedMaxRetry','dialAbandonedRetryFrequency','dialMachineMaxRetry','dialMachineRetryFrequency','dialAgentRejectMaxRetry','dialAgentRejectRetryFrequency','dialOrderByScheduledAt','dialPrefix','dialRandomLastDigitCallerIdNumber','dialCutDigit','TrunkBackup','Trunk','Interval','SquareProject','dialAMDActive','dialAMDInitialSilence','dialAMDGreeting','dialAMDTotalAnalysisTime','dialAMDMinWordLength','dialAMDBetweenWordsSilence'];(function(_0xfca0bf,_0x8ac9f9){var _0xc72568=function(_0x4b4a90){while(--_0x4b4a90){_0xfca0bf['push'](_0xfca0bf['shift']());}};_0xc72568(++_0x8ac9f9);}(_0x8912,0x154));var _0x2891=function(_0x52bc78,_0xcf2799){_0x52bc78=_0x52bc78-0x0;var _0x403bd4=_0x8912[_0x52bc78];return _0x403bd4;};'use strict';function Campaign(_0x553f43){this['id']=_0x553f43['id']||0x0;this[_0x2891('0x0')]=_0x553f43[_0x2891('0x0')]||'';this[_0x2891('0x1')]=_0x553f43['type']||'campaign';this[_0x2891('0x2')]=0x0;this['temp']=0x0;this['ivrAnswerCallsDay']=0x0;this[_0x2891('0x3')]=0x0;this[_0x2891('0x4')]='';this[_0x2891('0x5')]=!![];this[_0x2891('0x6')]=_0x553f43[_0x2891('0x6')];this[_0x2891('0x7')]=_0x553f43[_0x2891('0x7')];this[_0x2891('0x8')]=_0x553f43['dialTimezone']||null;this[_0x2891('0x9')]=_0x553f43[_0x2891('0x9')]?_0x553f43['dialGlobalInterval']:null;this[_0x2891('0xa')]=_0x553f43[_0x2891('0xa')];this['dialOriginateCallerIdNumber']=_0x553f43[_0x2891('0xb')];this[_0x2891('0xc')]=_0x553f43[_0x2891('0xc')]||0x1e;this[_0x2891('0xd')]=_0x553f43['dialCongestionMaxRetry'];this['dialCongestionRetryFrequency']=_0x553f43[_0x2891('0xe')];this[_0x2891('0xf')]=_0x553f43[_0x2891('0xf')];this[_0x2891('0x10')]=_0x553f43[_0x2891('0x10')];this[_0x2891('0x11')]=_0x553f43['dialNoAnswerMaxRetry'];this[_0x2891('0x12')]=_0x553f43[_0x2891('0x12')];this[_0x2891('0x13')]=_0x553f43[_0x2891('0x13')];this[_0x2891('0x14')]=_0x553f43[_0x2891('0x14')]||0x3;this[_0x2891('0x15')]=_0x553f43[_0x2891('0x15')]||0x96;this['dialDropMaxRetry']=_0x553f43[_0x2891('0x16')]||0x3;this[_0x2891('0x17')]=_0x553f43['dialDropRetryFrequency']||0x96;this[_0x2891('0x18')]=_0x553f43[_0x2891('0x18')]||0x3;this[_0x2891('0x19')]=_0x553f43[_0x2891('0x19')]||0x96;this['dialMachineMaxRetry']=_0x553f43[_0x2891('0x1a')]||0x3;this[_0x2891('0x1b')]=_0x553f43['dialMachineRetryFrequency']||0x96;this[_0x2891('0x1c')]=_0x553f43[_0x2891('0x1c')]||0x3;this[_0x2891('0x1d')]=_0x553f43[_0x2891('0x1d')]||0x96;this[_0x2891('0x1e')]=_0x553f43[_0x2891('0x1e')]||'DESC';this[_0x2891('0x1f')]=_0x553f43[_0x2891('0x1f')]||undefined;this[_0x2891('0x20')]=_0x553f43['dialRandomLastDigitCallerIdNumber']||undefined;this[_0x2891('0x21')]=_0x553f43[_0x2891('0x21')]||undefined;this['TrunkBackup']=_0x553f43['TrunkBackup']?_0x553f43[_0x2891('0x22')]:undefined;this[_0x2891('0x23')]=_0x553f43[_0x2891('0x23')]?_0x553f43[_0x2891('0x23')]:undefined;this['Interval']=_0x553f43[_0x2891('0x24')]?_0x553f43['Interval']:undefined;this['SquareProject']=_0x553f43[_0x2891('0x25')]?_0x553f43[_0x2891('0x25')]:undefined;this['dialQueueProject']=_0x553f43[_0x2891('0x25')]?_0x553f43[_0x2891('0x25')][_0x2891('0x0')]:undefined;this[_0x2891('0x26')]=_0x553f43['dialAMDActive']||![];this[_0x2891('0x27')]=_0x553f43['dialAMDInitialSilence'];this[_0x2891('0x28')]=_0x553f43['dialAMDGreeting'];this['dialAMDAfterGreetingSilence']=_0x553f43['dialAMDAfterGreetingSilence'];this['dialAMDTotalAnalysisTime']=_0x553f43[_0x2891('0x29')];this[_0x2891('0x2a')]=_0x553f43[_0x2891('0x2a')];this[_0x2891('0x2b')]=_0x553f43[_0x2891('0x2b')];this[_0x2891('0x2c')]=_0x553f43[_0x2891('0x2c')];this[_0x2891('0x2d')]=_0x553f43['dialAMDSilenceThreshold'];this[_0x2891('0x2e')]=_0x553f43[_0x2891('0x2e')];}module[_0x2891('0x2f')]=Campaign;