Built motion from commit (unavailable).|2.3.4
[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 _0x235a=['Trunk','Interval','SquareProject','dialQueueProject','dialAMDActive','dialAMDInitialSilence','dialAMDGreeting','dialAMDAfterGreetingSilence','dialAMDTotalAnalysisTime','dialAMDMinWordLength','dialAMDBetweenWordsSilence','dialAMDMaximumNumberOfWords','dialAMDSilenceThreshold','dialAMDMaximumWordLength','exports','name','type','originated','temp','ivrAnswerCallsDay','ivrTotalCallsDays','message','sendMessageOneNotActive','active','limitCalls','dialTimezone','dialGlobalInterval','dialOriginateCallerIdNumber','dialOriginateTimeout','dialCongestionRetryFrequency','dialBusyMaxRetry','dialNoAnswerMaxRetry','dialNoAnswerRetryFrequency','dialGlobalMaxRetry','dialOrderByScheduledAt','DESC','dialPrefix','dialRandomLastDigitCallerIdNumber','dialCutDigit','TrunkBackup'];(function(_0x53a12f,_0x54ad64){var _0x45dd59=function(_0x436cc1){while(--_0x436cc1){_0x53a12f['push'](_0x53a12f['shift']());}};_0x45dd59(++_0x54ad64);}(_0x235a,0x1ef));var _0xa235=function(_0x488517,_0xa3e4c8){_0x488517=_0x488517-0x0;var _0x5d446c=_0x235a[_0x488517];return _0x5d446c;};'use strict';function Campaign(_0x1f3e74){this['id']=_0x1f3e74['id']||0x0;this[_0xa235('0x0')]=_0x1f3e74[_0xa235('0x0')]||'';this['type']=_0x1f3e74[_0xa235('0x1')]||'campaign';this[_0xa235('0x2')]=0x0;this[_0xa235('0x3')]=0x0;this[_0xa235('0x4')]=0x0;this[_0xa235('0x5')]=0x0;this[_0xa235('0x6')]='';this[_0xa235('0x7')]=!![];this[_0xa235('0x8')]=_0x1f3e74[_0xa235('0x8')];this['limitCalls']=_0x1f3e74[_0xa235('0x9')];this[_0xa235('0xa')]=_0x1f3e74[_0xa235('0xa')]||null;this[_0xa235('0xb')]=_0x1f3e74['dialGlobalInterval']?_0x1f3e74[_0xa235('0xb')]:null;this['dialOriginateCallerIdName']=_0x1f3e74['dialOriginateCallerIdName'];this[_0xa235('0xc')]=_0x1f3e74['dialOriginateCallerIdNumber'];this[_0xa235('0xd')]=_0x1f3e74['dialOriginateTimeout']||0x1e;this['dialCongestionMaxRetry']=_0x1f3e74['dialCongestionMaxRetry'];this[_0xa235('0xe')]=_0x1f3e74[_0xa235('0xe')];this[_0xa235('0xf')]=_0x1f3e74[_0xa235('0xf')];this['dialBusyRetryFrequency']=_0x1f3e74['dialBusyRetryFrequency'];this['dialNoAnswerMaxRetry']=_0x1f3e74[_0xa235('0x10')];this[_0xa235('0x11')]=_0x1f3e74[_0xa235('0x11')];this[_0xa235('0x12')]=_0x1f3e74[_0xa235('0x12')];this[_0xa235('0x13')]=_0x1f3e74[_0xa235('0x13')]||_0xa235('0x14');this[_0xa235('0x15')]=_0x1f3e74['dialPrefix']||undefined;this[_0xa235('0x16')]=_0x1f3e74[_0xa235('0x16')]||undefined;this[_0xa235('0x17')]=_0x1f3e74[_0xa235('0x17')]||undefined;this[_0xa235('0x18')]=_0x1f3e74[_0xa235('0x18')]?_0x1f3e74['TrunkBackup']:undefined;this['Trunk']=_0x1f3e74[_0xa235('0x19')]?_0x1f3e74[_0xa235('0x19')]:undefined;this[_0xa235('0x1a')]=_0x1f3e74['Interval']?_0x1f3e74[_0xa235('0x1a')]:undefined;this[_0xa235('0x1b')]=_0x1f3e74[_0xa235('0x1b')]?_0x1f3e74[_0xa235('0x1b')]:undefined;this[_0xa235('0x1c')]=_0x1f3e74[_0xa235('0x1b')]?_0x1f3e74[_0xa235('0x1b')]['name']:undefined;this['dialAMDActive']=_0x1f3e74[_0xa235('0x1d')]||![];this[_0xa235('0x1e')]=_0x1f3e74[_0xa235('0x1e')];this[_0xa235('0x1f')]=_0x1f3e74[_0xa235('0x1f')];this[_0xa235('0x20')]=_0x1f3e74[_0xa235('0x20')];this[_0xa235('0x21')]=_0x1f3e74[_0xa235('0x21')];this[_0xa235('0x22')]=_0x1f3e74[_0xa235('0x22')];this[_0xa235('0x23')]=_0x1f3e74[_0xa235('0x23')];this[_0xa235('0x24')]=_0x1f3e74[_0xa235('0x24')];this[_0xa235('0x25')]=_0x1f3e74[_0xa235('0x25')];this[_0xa235('0x26')]=_0x1f3e74[_0xa235('0x26')];}module[_0xa235('0x27')]=Campaign;