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