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