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