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