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