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