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