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