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