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