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