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