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 _0x0152=['dialAMDMaximumWordLength','name','type','campaign','originated','ivrAnswerCallsDay','message','sendMessageOneNotActive','active','limitCalls','dialTimezone','dialGlobalInterval','dialOriginateCallerIdName','dialOriginateCallerIdNumber','dialOriginateTimeout','dialCongestionMaxRetry','dialCongestionRetryFrequency','dialBusyMaxRetry','dialNoAnswerMaxRetry','dialNoAnswerRetryFrequency','dialGlobalMaxRetry','dialNoSuchNumberMaxRetry','dialNoSuchNumberRetryFrequency','dialDropMaxRetry','dialDropRetryFrequency','dialAbandonedMaxRetry','dialAbandonedRetryFrequency','dialMachineMaxRetry','dialMachineRetryFrequency','dialAgentRejectMaxRetry','dialAgentRejectRetryFrequency','dialOrderByScheduledAt','DESC','dialPrefix','dialRandomLastDigitCallerIdNumber','dialCutDigit','TrunkBackup','Trunk','Interval','SquareProject','dialQueueProject','dialAMDActive','dialAMDInitialSilence','dialAMDGreeting','dialAMDAfterGreetingSilence','dialAMDTotalAnalysisTime','dialAMDMinWordLength','dialAMDBetweenWordsSilence','dialAMDMaximumNumberOfWords','dialAMDSilenceThreshold'];(function(_0x552fc5,_0x54972e){var _0x3ae584=function(_0x4fa784){while(--_0x4fa784){_0x552fc5['push'](_0x552fc5['shift']());}};_0x3ae584(++_0x54972e);}(_0x0152,0x1c3));var _0x2015=function(_0x5af45f,_0x30be2f){_0x5af45f=_0x5af45f-0x0;var _0x1bab77=_0x0152[_0x5af45f];return _0x1bab77;};'use strict';function Campaign(_0x4bff92){this['id']=_0x4bff92['id']||0x0;this[_0x2015('0x0')]=_0x4bff92[_0x2015('0x0')]||'';this[_0x2015('0x1')]=_0x4bff92[_0x2015('0x1')]||_0x2015('0x2');this[_0x2015('0x3')]=0x0;this['temp']=0x0;this[_0x2015('0x4')]=0x0;this['ivrTotalCallsDays']=0x0;this[_0x2015('0x5')]='';this[_0x2015('0x6')]=!![];this[_0x2015('0x7')]=_0x4bff92[_0x2015('0x7')];this[_0x2015('0x8')]=_0x4bff92['limitCalls'];this[_0x2015('0x9')]=_0x4bff92['dialTimezone']||null;this[_0x2015('0xa')]=_0x4bff92[_0x2015('0xa')]?_0x4bff92[_0x2015('0xa')]:null;this[_0x2015('0xb')]=_0x4bff92[_0x2015('0xb')];this[_0x2015('0xc')]=_0x4bff92[_0x2015('0xc')];this[_0x2015('0xd')]=_0x4bff92[_0x2015('0xd')]||0x1e;this[_0x2015('0xe')]=_0x4bff92[_0x2015('0xe')];this[_0x2015('0xf')]=_0x4bff92['dialCongestionRetryFrequency'];this[_0x2015('0x10')]=_0x4bff92[_0x2015('0x10')];this['dialBusyRetryFrequency']=_0x4bff92['dialBusyRetryFrequency'];this[_0x2015('0x11')]=_0x4bff92[_0x2015('0x11')];this['dialNoAnswerRetryFrequency']=_0x4bff92[_0x2015('0x12')];this[_0x2015('0x13')]=_0x4bff92[_0x2015('0x13')];this[_0x2015('0x14')]=_0x4bff92[_0x2015('0x14')]||0x3;this[_0x2015('0x15')]=_0x4bff92['dialNoSuchNumberRetryFrequency']||0x96;this[_0x2015('0x16')]=_0x4bff92['dialDropMaxRetry']||0x3;this['dialDropRetryFrequency']=_0x4bff92[_0x2015('0x17')]||0x96;this[_0x2015('0x18')]=_0x4bff92[_0x2015('0x18')]||0x3;this[_0x2015('0x19')]=_0x4bff92['dialAbandonedRetryFrequency']||0x96;this[_0x2015('0x1a')]=_0x4bff92[_0x2015('0x1a')]||0x3;this[_0x2015('0x1b')]=_0x4bff92[_0x2015('0x1b')]||0x96;this[_0x2015('0x1c')]=_0x4bff92[_0x2015('0x1c')]||0x3;this[_0x2015('0x1d')]=_0x4bff92[_0x2015('0x1d')]||0x96;this[_0x2015('0x1e')]=_0x4bff92[_0x2015('0x1e')]||_0x2015('0x1f');this['dialPrefix']=_0x4bff92[_0x2015('0x20')]||undefined;this[_0x2015('0x21')]=_0x4bff92[_0x2015('0x21')]||undefined;this[_0x2015('0x22')]=_0x4bff92[_0x2015('0x22')]||undefined;this['TrunkBackup']=_0x4bff92[_0x2015('0x23')]?_0x4bff92[_0x2015('0x23')]:undefined;this['Trunk']=_0x4bff92[_0x2015('0x24')]?_0x4bff92['Trunk']:undefined;this[_0x2015('0x25')]=_0x4bff92['Interval']?_0x4bff92[_0x2015('0x25')]:undefined;this[_0x2015('0x26')]=_0x4bff92[_0x2015('0x26')]?_0x4bff92[_0x2015('0x26')]:undefined;this[_0x2015('0x27')]=_0x4bff92[_0x2015('0x26')]?_0x4bff92[_0x2015('0x26')]['name']:undefined;this['dialAMDActive']=_0x4bff92[_0x2015('0x28')]||![];this[_0x2015('0x29')]=_0x4bff92['dialAMDInitialSilence'];this[_0x2015('0x2a')]=_0x4bff92[_0x2015('0x2a')];this[_0x2015('0x2b')]=_0x4bff92[_0x2015('0x2b')];this['dialAMDTotalAnalysisTime']=_0x4bff92[_0x2015('0x2c')];this['dialAMDMinWordLength']=_0x4bff92[_0x2015('0x2d')];this[_0x2015('0x2e')]=_0x4bff92[_0x2015('0x2e')];this[_0x2015('0x2f')]=_0x4bff92[_0x2015('0x2f')];this[_0x2015('0x30')]=_0x4bff92[_0x2015('0x30')];this[_0x2015('0x31')]=_0x4bff92[_0x2015('0x31')];}module['exports']=Campaign;