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