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