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