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