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