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