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