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