Built motion from commit (unavailable).|2.4.17
[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 _0xf390=['dialRandomLastDigitCallerIdNumber','dialCutDigit','dialPredictiveIntervalMaxThreshold','dialPredictiveIntervalMinThreshold','Trunk','active','mandatoryDispositionPause','TrunkBackup','callerid','Interval','interval','getVoiceQueues','../client','GetVoiceQueue','name','acw','type','dialActive','dialLimitChannel','dialLimitQueue','dialPowerLevel','dialPredictiveOptimizationPercentage','dialOriginateCallerIdName','dialQueueTimeout','dialCongestionMaxRetry','dialBusyMaxRetry','dialNoAnswerMaxRetry','dialNoAnswerRetryFrequency','dialGlobalMaxRetry','dialPrefix','dialCheckDuplicateType','dialAMDActive','dialAMDInitialSilence','dialAMDGreeting','dialAMDTotalAnalysisTime','dialAMDMinWordLength','dialAMDMaximumWordLength','timeout','dialRecallMeTimeout','dialRecallInQueue','dialAgiAfterHangupAgent','dialAgiAfterHangupClient','dialQueueProject2','monitor_format','strategy'];(function(_0x178e48,_0x3c9509){var _0x440d7e=function(_0xc2f8a0){while(--_0xc2f8a0){_0x178e48['push'](_0x178e48['shift']());}};_0x440d7e(++_0x3c9509);}(_0xf390,0x93));var _0x0f39=function(_0x27a6e9,_0x5c7a87){_0x27a6e9=_0x27a6e9-0x0;var _0x512106=_0xf390[_0x27a6e9];return _0x512106;};'use strict';var client=require(_0x0f39('0x0'));exports['getVoiceQueues']=function(){return function(){return client['Request'](_0x0f39('0x1'),{'options':{'raw':![],'attributes':['id',_0x0f39('0x2'),_0x0f39('0x3'),'acwTimeout','autopause','monitor_format',_0x0f39('0x4'),_0x0f39('0x5'),'dialMethod',_0x0f39('0x6'),_0x0f39('0x7'),_0x0f39('0x8'),'dialPredictiveOptimization',_0x0f39('0x9'),'dialPredictiveInterval',_0x0f39('0xa'),'dialOriginateCallerIdNumber','dialOriginateTimeout','dialQueueOptions',_0x0f39('0xb'),'dialQueueProject',_0x0f39('0xc'),'dialCongestionRetryFrequency',_0x0f39('0xd'),'dialBusyRetryFrequency',_0x0f39('0xe'),_0x0f39('0xf'),_0x0f39('0x10'),'dialTimezone','dialGlobalInterval',_0x0f39('0x11'),_0x0f39('0x12'),_0x0f39('0x13'),_0x0f39('0x14'),_0x0f39('0x15'),'dialAMDAfterGreetingSilence',_0x0f39('0x16'),_0x0f39('0x17'),'dialAMDBetweenWordsSilence','dialAMDMaximumNumberOfWords','dialAMDSilenceThreshold',_0x0f39('0x18'),_0x0f39('0x19'),_0x0f39('0x1a'),_0x0f39('0x1b'),'dialOrderByScheduledAt',_0x0f39('0x1c'),_0x0f39('0x1d'),_0x0f39('0x1e'),_0x0f39('0x1f'),_0x0f39('0x20'),_0x0f39('0x21'),_0x0f39('0x22'),'mandatoryDisposition',_0x0f39('0x23'),_0x0f39('0x24')],'include':[{'model':_0x0f39('0x25'),'as':_0x0f39('0x25'),'attributes':['id','name','callerid',_0x0f39('0x26')]},{'model':'Pause','as':_0x0f39('0x27'),'attributes':['id',_0x0f39('0x2')]},{'model':_0x0f39('0x25'),'as':_0x0f39('0x28'),'attributes':['id',_0x0f39('0x2'),_0x0f39('0x29'),'active']},{'model':'Interval','as':_0x0f39('0x2a'),'attributes':['id',_0x0f39('0x2')],'include':[{'model':_0x0f39('0x2a'),'as':'Intervals','attributes':['id',_0x0f39('0x2'),_0x0f39('0x2b')]}]}]},'log':_0x0f39('0x2c')});};};