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