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