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