Built motion from commit (unavailable).|2.5.23
[motion2.git] / server / services / ami / rpc / voiceQueue.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 _0x7099=['Trunk','callerid','active','TrunkBackup','Interval','Intervals','interval','getVoiceQueues','GetVoiceQueue','name','acwTimeout','autopause','type','dialMethod','dialLimitChannel','dialLimitQueue','dialPowerLevel','dialPredictiveOptimizationPercentage','dialPredictiveInterval','dialOriginateCallerIdName','dialOriginateTimeout','dialQueueOptions','dialQueueProject','dialBusyRetryFrequency','dialNoAnswerRetryFrequency','dialGlobalMaxRetry','dialGlobalInterval','dialPrefix','dialCheckDuplicateType','dialAMDActive','dialAMDInitialSilence','dialAMDAfterGreetingSilence','dialAMDTotalAnalysisTime','dialAMDMinWordLength','dialAMDBetweenWordsSilence','dialAMDMaximumNumberOfWords','timeout','dialRecallInQueue','dialOrderByScheduledAt','dialAgiAfterHangupClient','dialQueueProject2','monitor_format','strategy','dialRandomLastDigitCallerIdNumber','dialNoSuchNumberMaxRetry','dialNoSuchNumberRetryFrequency','dialDropMaxRetry','dialDropRetryFrequency','dialAbandonedMaxRetry','dialAgentRejectMaxRetry','dialAgentRejectRetryFrequency','mandatoryDisposition','dialPredictiveIntervalMaxThreshold'];(function(_0x1bc762,_0x523eb3){var _0x40f70c=function(_0x3c206e){while(--_0x3c206e){_0x1bc762['push'](_0x1bc762['shift']());}};_0x40f70c(++_0x523eb3);}(_0x7099,0xa6));var _0x9709=function(_0xb04261,_0x50e162){_0xb04261=_0xb04261-0x0;var _0x430e34=_0x7099[_0xb04261];return _0x430e34;};'use strict';var client=require('../client');exports[_0x9709('0x0')]=function(){return function(){return client['Request'](_0x9709('0x1'),{'options':{'raw':![],'attributes':['id',_0x9709('0x2'),'acw',_0x9709('0x3'),_0x9709('0x4'),'monitor_format',_0x9709('0x5'),'dialActive',_0x9709('0x6'),_0x9709('0x7'),_0x9709('0x8'),_0x9709('0x9'),'dialPredictiveOptimization',_0x9709('0xa'),_0x9709('0xb'),_0x9709('0xc'),'dialOriginateCallerIdNumber',_0x9709('0xd'),_0x9709('0xe'),'dialQueueTimeout',_0x9709('0xf'),'dialCongestionMaxRetry','dialCongestionRetryFrequency','dialBusyMaxRetry',_0x9709('0x10'),'dialNoAnswerMaxRetry',_0x9709('0x11'),_0x9709('0x12'),'dialTimezone',_0x9709('0x13'),_0x9709('0x14'),_0x9709('0x15'),_0x9709('0x16'),_0x9709('0x17'),'dialAMDGreeting',_0x9709('0x18'),_0x9709('0x19'),_0x9709('0x1a'),_0x9709('0x1b'),_0x9709('0x1c'),'dialAMDSilenceThreshold','dialAMDMaximumWordLength',_0x9709('0x1d'),'dialRecallMeTimeout',_0x9709('0x1e'),_0x9709('0x1f'),'dialAgiAfterHangupAgent',_0x9709('0x20'),_0x9709('0x21'),_0x9709('0x22'),_0x9709('0x23'),_0x9709('0x24'),'dialCutDigit',_0x9709('0x25'),_0x9709('0x26'),_0x9709('0x27'),_0x9709('0x28'),_0x9709('0x29'),'dialAbandonedRetryFrequency','dialMachineMaxRetry','dialMachineRetryFrequency',_0x9709('0x2a'),_0x9709('0x2b'),_0x9709('0x2c'),_0x9709('0x2d'),'dialPredictiveIntervalMinThreshold'],'include':[{'model':_0x9709('0x2e'),'as':_0x9709('0x2e'),'attributes':['id',_0x9709('0x2'),_0x9709('0x2f'),_0x9709('0x30')]},{'model':'Pause','as':'mandatoryDispositionPause','attributes':['id',_0x9709('0x2')]},{'model':_0x9709('0x2e'),'as':_0x9709('0x31'),'attributes':['id',_0x9709('0x2'),_0x9709('0x2f'),_0x9709('0x30')]},{'model':_0x9709('0x32'),'as':_0x9709('0x32'),'attributes':['id',_0x9709('0x2')],'include':[{'model':_0x9709('0x32'),'as':_0x9709('0x33'),'attributes':['id',_0x9709('0x2'),_0x9709('0x34')]}]}]},'log':'getVoiceQueues'});};};