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