Built motion from commit (unavailable).|2.5.23
[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 _0x0ffc=['SquareProject','getCampaign','getCampaigns','Request','name','active','limitCalls','dialOriginateCallerIdName','dialOriginateCallerIdNumber','dialOriginateTimeout','dialCongestionMaxRetry','dialCongestionRetryFrequency','dialBusyMaxRetry','dialBusyRetryFrequency','dialNoAnswerRetryFrequency','dialGlobalMaxRetry','dialNoSuchNumberMaxRetry','dialNoSuchNumberRetryFrequency','dialDropMaxRetry','dialDropRetryFrequency','dialAbandonedMaxRetry','dialAbandonedRetryFrequency','dialAgentRejectMaxRetry','dialTimezone','dialGlobalInterval','dialAMDActive','dialAMDInitialSilence','dialAMDAfterGreetingSilence','dialAMDTotalAnalysisTime','dialAMDBetweenWordsSilence','dialOrderByScheduledAt','dialPrefix','dialRandomLastDigitCallerIdNumber','Trunk','callerid','TrunkBackup','Interval','Intervals','interval'];(function(_0x2a8cda,_0x46be06){var _0x33dae6=function(_0x3c569b){while(--_0x3c569b){_0x2a8cda['push'](_0x2a8cda['shift']());}};_0x33dae6(++_0x46be06);}(_0x0ffc,0x9e));var _0xc0ff=function(_0xa46b86,_0x5c1465){_0xa46b86=_0xa46b86-0x0;var _0x417360=_0x0ffc[_0xa46b86];return _0x417360;};'use strict';var client=require('../client');exports[_0xc0ff('0x0')]=function(){return function(){return client[_0xc0ff('0x1')]('GetCampaign',{'options':{'raw':![],'attributes':['id',_0xc0ff('0x2'),'type',_0xc0ff('0x3'),_0xc0ff('0x4'),_0xc0ff('0x5'),_0xc0ff('0x6'),_0xc0ff('0x7'),_0xc0ff('0x8'),_0xc0ff('0x9'),_0xc0ff('0xa'),_0xc0ff('0xb'),'dialNoAnswerMaxRetry',_0xc0ff('0xc'),_0xc0ff('0xd'),_0xc0ff('0xe'),_0xc0ff('0xf'),_0xc0ff('0x10'),_0xc0ff('0x11'),_0xc0ff('0x12'),_0xc0ff('0x13'),'dialMachineMaxRetry','dialMachineRetryFrequency',_0xc0ff('0x14'),'dialAgentRejectRetryFrequency',_0xc0ff('0x15'),_0xc0ff('0x16'),_0xc0ff('0x17'),_0xc0ff('0x18'),'dialAMDGreeting',_0xc0ff('0x19'),_0xc0ff('0x1a'),'dialAMDMinWordLength',_0xc0ff('0x1b'),'dialAMDMaximumNumberOfWords','dialAMDSilenceThreshold','dialAMDMaximumWordLength',_0xc0ff('0x1c'),_0xc0ff('0x1d'),_0xc0ff('0x1e'),'dialCutDigit'],'include':[{'model':_0xc0ff('0x1f'),'as':_0xc0ff('0x1f'),'attributes':['id',_0xc0ff('0x2'),_0xc0ff('0x20'),_0xc0ff('0x3')]},{'model':_0xc0ff('0x1f'),'as':_0xc0ff('0x21'),'attributes':['id',_0xc0ff('0x2'),_0xc0ff('0x20'),_0xc0ff('0x3')]},{'model':_0xc0ff('0x22'),'as':'Interval','attributes':['id',_0xc0ff('0x2')],'include':[{'model':'Interval','as':_0xc0ff('0x23'),'attributes':['id',_0xc0ff('0x2'),_0xc0ff('0x24')]}]},{'model':'SquareProject','as':_0xc0ff('0x25'),'attributes':['id',_0xc0ff('0x2')]}]},'log':_0xc0ff('0x26')});};};