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