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