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