Built motion from commit (unavailable).|2.5.1
[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 _0x4604=['Intervals','interval','getVoiceQueues','Request','GetVoiceQueue','name','acwTimeout','autopause','monitor_format','dialActive','dialMethod','dialLimitChannel','dialPredictiveOptimization','dialOriginateCallerIdName','dialOriginateCallerIdNumber','dialOriginateTimeout','dialQueueOptions','dialQueueProject','dialCongestionMaxRetry','dialCongestionRetryFrequency','dialBusyMaxRetry','dialBusyRetryFrequency','dialGlobalMaxRetry','dialTimezone','dialPrefix','dialCheckDuplicateType','dialAMDActive','dialAMDInitialSilence','dialAMDGreeting','dialAMDAfterGreetingSilence','dialAMDMinWordLength','dialAMDSilenceThreshold','dialRecallMeTimeout','dialRecallInQueue','dialOrderByScheduledAt','dialAgiAfterHangupAgent','dialAgiAfterHangupClient','dialQueueProject2','strategy','dialRandomLastDigitCallerIdNumber','dialCutDigit','dialPredictiveIntervalMaxThreshold','Trunk','Pause','callerid','active','Interval'];(function(_0x3a956f,_0x400a31){var _0x483467=function(_0x53ae1e){while(--_0x53ae1e){_0x3a956f['push'](_0x3a956f['shift']());}};_0x483467(++_0x400a31);}(_0x4604,0xed));var _0x4460=function(_0x4a8ca2,_0x46e521){_0x4a8ca2=_0x4a8ca2-0x0;var _0x17271d=_0x4604[_0x4a8ca2];return _0x17271d;};'use strict';var client=require('../client');exports[_0x4460('0x0')]=function(){return function(){return client[_0x4460('0x1')](_0x4460('0x2'),{'options':{'raw':![],'attributes':['id',_0x4460('0x3'),'acw',_0x4460('0x4'),_0x4460('0x5'),_0x4460('0x6'),'type',_0x4460('0x7'),_0x4460('0x8'),_0x4460('0x9'),'dialLimitQueue','dialPowerLevel',_0x4460('0xa'),'dialPredictiveOptimizationPercentage','dialPredictiveInterval',_0x4460('0xb'),_0x4460('0xc'),_0x4460('0xd'),_0x4460('0xe'),'dialQueueTimeout',_0x4460('0xf'),_0x4460('0x10'),_0x4460('0x11'),_0x4460('0x12'),_0x4460('0x13'),'dialNoAnswerMaxRetry','dialNoAnswerRetryFrequency',_0x4460('0x14'),_0x4460('0x15'),'dialGlobalInterval',_0x4460('0x16'),_0x4460('0x17'),_0x4460('0x18'),_0x4460('0x19'),_0x4460('0x1a'),_0x4460('0x1b'),'dialAMDTotalAnalysisTime',_0x4460('0x1c'),'dialAMDBetweenWordsSilence','dialAMDMaximumNumberOfWords',_0x4460('0x1d'),'dialAMDMaximumWordLength','timeout',_0x4460('0x1e'),_0x4460('0x1f'),_0x4460('0x20'),_0x4460('0x21'),_0x4460('0x22'),_0x4460('0x23'),_0x4460('0x6'),_0x4460('0x24'),_0x4460('0x25'),_0x4460('0x26'),'mandatoryDisposition',_0x4460('0x27'),'dialPredictiveIntervalMinThreshold'],'include':[{'model':_0x4460('0x28'),'as':_0x4460('0x28'),'attributes':['id',_0x4460('0x3'),'callerid','active']},{'model':_0x4460('0x29'),'as':'mandatoryDispositionPause','attributes':['id',_0x4460('0x3')]},{'model':_0x4460('0x28'),'as':'TrunkBackup','attributes':['id',_0x4460('0x3'),_0x4460('0x2a'),_0x4460('0x2b')]},{'model':_0x4460('0x2c'),'as':_0x4460('0x2c'),'attributes':['id','name'],'include':[{'model':'Interval','as':_0x4460('0x2d'),'attributes':['id','name',_0x4460('0x2e')]}]}]},'log':'getVoiceQueues'});};};