Built motion from commit (unavailable).|2.3.7
[motion2.git] / server / services / ami / rpc / 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 _0x7fdb=['Intervals','interval','SquareProject','getCampaign','../client','getCampaigns','Request','GetCampaign','name','limitCalls','dialOriginateCallerIdName','dialOriginateCallerIdNumber','dialOriginateTimeout','dialCongestionMaxRetry','dialCongestionRetryFrequency','dialBusyMaxRetry','dialNoAnswerMaxRetry','dialGlobalMaxRetry','dialGlobalInterval','dialAMDActive','dialAMDGreeting','dialAMDTotalAnalysisTime','dialAMDMinWordLength','dialAMDBetweenWordsSilence','dialAMDMaximumNumberOfWords','dialAMDSilenceThreshold','dialAMDMaximumWordLength','dialOrderByScheduledAt','dialPrefix','dialRandomLastDigitCallerIdNumber','dialCutDigit','Trunk','TrunkBackup','active','Interval'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x7fdb,0x11c));var _0xb7fd=function(_0x2f7023,_0x1aa399){_0x2f7023=_0x2f7023-0x0;var _0x2f5e4e=_0x7fdb[_0x2f7023];return _0x2f5e4e;};'use strict';var client=require(_0xb7fd('0x0'));exports[_0xb7fd('0x1')]=function(){return function(){return client[_0xb7fd('0x2')](_0xb7fd('0x3'),{'options':{'raw':![],'attributes':['id',_0xb7fd('0x4'),'type','active',_0xb7fd('0x5'),_0xb7fd('0x6'),_0xb7fd('0x7'),_0xb7fd('0x8'),_0xb7fd('0x9'),_0xb7fd('0xa'),_0xb7fd('0xb'),'dialBusyRetryFrequency',_0xb7fd('0xc'),'dialNoAnswerRetryFrequency',_0xb7fd('0xd'),'dialTimezone',_0xb7fd('0xe'),_0xb7fd('0xf'),'dialAMDInitialSilence',_0xb7fd('0x10'),'dialAMDAfterGreetingSilence',_0xb7fd('0x11'),_0xb7fd('0x12'),_0xb7fd('0x13'),_0xb7fd('0x14'),_0xb7fd('0x15'),_0xb7fd('0x16'),_0xb7fd('0x17'),_0xb7fd('0x18'),_0xb7fd('0x19'),_0xb7fd('0x1a')],'include':[{'model':'Trunk','as':_0xb7fd('0x1b'),'attributes':['id',_0xb7fd('0x4'),'callerid','active']},{'model':_0xb7fd('0x1b'),'as':_0xb7fd('0x1c'),'attributes':['id',_0xb7fd('0x4'),'callerid',_0xb7fd('0x1d')]},{'model':'Interval','as':_0xb7fd('0x1e'),'attributes':['id',_0xb7fd('0x4')],'include':[{'model':'Interval','as':_0xb7fd('0x1f'),'attributes':['id',_0xb7fd('0x4'),_0xb7fd('0x20')]}]},{'model':_0xb7fd('0x21'),'as':_0xb7fd('0x21'),'attributes':['id',_0xb7fd('0x4')]}]},'log':_0xb7fd('0x22')});};};