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