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