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