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