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