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