Built motion from commit (unavailable).|2.4.16
[motion2.git] / server / services / ami / model / campaign.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x0713=['limitCalls','dialTimezone','dialGlobalInterval','dialOriginateCallerIdName','dialOriginateCallerIdNumber','dialOriginateTimeout','dialCongestionMaxRetry','dialCongestionRetryFrequency','dialBusyMaxRetry','dialNoAnswerMaxRetry','dialNoAnswerRetryFrequency','dialGlobalMaxRetry','dialOrderByScheduledAt','DESC','dialPrefix','dialRandomLastDigitCallerIdNumber','dialCutDigit','TrunkBackup','Trunk','Interval','SquareProject','dialQueueProject','dialAMDActive','dialAMDInitialSilence','dialAMDGreeting','dialAMDAfterGreetingSilence','dialAMDTotalAnalysisTime','dialAMDBetweenWordsSilence','dialAMDMaximumNumberOfWords','dialAMDSilenceThreshold','dialAMDMaximumWordLength','exports','name','type','campaign','originated','ivrAnswerCallsDay','ivrTotalCallsDays','message','sendMessageOneNotActive','active'];(function(_0x7127e7,_0x4965da){var _0x3a0df2=function(_0x3d353c){while(--_0x3d353c){_0x7127e7['push'](_0x7127e7['shift']());}};_0x3a0df2(++_0x4965da);}(_0x0713,0x1ba));var _0x3071=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x0713[_0x3dd15e];return _0x231fd0;};'use strict';function Campaign(_0x4bf247){this['id']=_0x4bf247['id']||0x0;this['name']=_0x4bf247[_0x3071('0x0')]||'';this[_0x3071('0x1')]=_0x4bf247[_0x3071('0x1')]||_0x3071('0x2');this[_0x3071('0x3')]=0x0;this['temp']=0x0;this[_0x3071('0x4')]=0x0;this[_0x3071('0x5')]=0x0;this[_0x3071('0x6')]='';this[_0x3071('0x7')]=!![];this[_0x3071('0x8')]=_0x4bf247[_0x3071('0x8')];this[_0x3071('0x9')]=_0x4bf247[_0x3071('0x9')];this[_0x3071('0xa')]=_0x4bf247[_0x3071('0xa')]||null;this[_0x3071('0xb')]=_0x4bf247[_0x3071('0xb')]?_0x4bf247[_0x3071('0xb')]:null;this['dialOriginateCallerIdName']=_0x4bf247[_0x3071('0xc')];this[_0x3071('0xd')]=_0x4bf247[_0x3071('0xd')];this[_0x3071('0xe')]=_0x4bf247[_0x3071('0xe')]||0x1e;this['dialCongestionMaxRetry']=_0x4bf247[_0x3071('0xf')];this[_0x3071('0x10')]=_0x4bf247[_0x3071('0x10')];this[_0x3071('0x11')]=_0x4bf247[_0x3071('0x11')];this['dialBusyRetryFrequency']=_0x4bf247['dialBusyRetryFrequency'];this[_0x3071('0x12')]=_0x4bf247['dialNoAnswerMaxRetry'];this[_0x3071('0x13')]=_0x4bf247[_0x3071('0x13')];this['dialGlobalMaxRetry']=_0x4bf247[_0x3071('0x14')];this['dialOrderByScheduledAt']=_0x4bf247[_0x3071('0x15')]||_0x3071('0x16');this[_0x3071('0x17')]=_0x4bf247[_0x3071('0x17')]||undefined;this[_0x3071('0x18')]=_0x4bf247[_0x3071('0x18')]||undefined;this[_0x3071('0x19')]=_0x4bf247[_0x3071('0x19')]||undefined;this[_0x3071('0x1a')]=_0x4bf247[_0x3071('0x1a')]?_0x4bf247['TrunkBackup']:undefined;this[_0x3071('0x1b')]=_0x4bf247[_0x3071('0x1b')]?_0x4bf247[_0x3071('0x1b')]:undefined;this[_0x3071('0x1c')]=_0x4bf247[_0x3071('0x1c')]?_0x4bf247[_0x3071('0x1c')]:undefined;this[_0x3071('0x1d')]=_0x4bf247[_0x3071('0x1d')]?_0x4bf247['SquareProject']:undefined;this[_0x3071('0x1e')]=_0x4bf247[_0x3071('0x1d')]?_0x4bf247[_0x3071('0x1d')]['name']:undefined;this[_0x3071('0x1f')]=_0x4bf247['dialAMDActive']||![];this[_0x3071('0x20')]=_0x4bf247[_0x3071('0x20')];this[_0x3071('0x21')]=_0x4bf247[_0x3071('0x21')];this[_0x3071('0x22')]=_0x4bf247[_0x3071('0x22')];this[_0x3071('0x23')]=_0x4bf247[_0x3071('0x23')];this['dialAMDMinWordLength']=_0x4bf247['dialAMDMinWordLength'];this[_0x3071('0x24')]=_0x4bf247[_0x3071('0x24')];this[_0x3071('0x25')]=_0x4bf247[_0x3071('0x25')];this[_0x3071('0x26')]=_0x4bf247[_0x3071('0x26')];this[_0x3071('0x27')]=_0x4bf247[_0x3071('0x27')];}module[_0x3071('0x28')]=Campaign;