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