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