Built motion from commit (unavailable).|2.1.0
[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 _0x9d5b=['dialOrderByScheduledAt','dialAgiAfterHangupAgent','dialAgiAfterHangupClient','dialQueueProject2','monitor_format','strategy','dialRandomLastDigitCallerIdNumber','dialCutDigit','Trunk','active','TrunkBackup','callerid','Interval','Intervals','interval','getVoiceQueues','Request','GetVoiceQueue','name','acw','autopause','type','dialActive','dialMethod','dialLimitChannel','dialLimitQueue','dialPredictiveOptimization','dialPredictiveOptimizationPercentage','dialOriginateCallerIdName','dialOriginateCallerIdNumber','dialOriginateTimeout','dialQueueOptions','dialQueueProject','dialCongestionMaxRetry','dialBusyMaxRetry','dialBusyRetryFrequency','dialNoAnswerMaxRetry','dialNoAnswerRetryFrequency','dialGlobalMaxRetry','dialTimezone','dialGlobalInterval','dialPrefix','dialCheckDuplicateType','dialAMDActive','dialAMDInitialSilence','dialAMDAfterGreetingSilence','dialAMDTotalAnalysisTime','dialAMDBetweenWordsSilence','dialAMDMaximumNumberOfWords','dialAMDSilenceThreshold','timeout','dialRecallMeTimeout','dialRecallInQueue'];(function(_0x20567b,_0x4840e2){var _0x42cda8=function(_0x2d82d8){while(--_0x2d82d8){_0x20567b['push'](_0x20567b['shift']());}};_0x42cda8(++_0x4840e2);}(_0x9d5b,0x14d));var _0xb9d5=function(_0x3677ea,_0x405c47){_0x3677ea=_0x3677ea-0x0;var _0x4a69b2=_0x9d5b[_0x3677ea];return _0x4a69b2;};'use strict';var client=require('../client');exports[_0xb9d5('0x0')]=function(){return function(){return client[_0xb9d5('0x1')](_0xb9d5('0x2'),{'options':{'raw':![],'attributes':['id',_0xb9d5('0x3'),_0xb9d5('0x4'),'acwTimeout',_0xb9d5('0x5'),'monitor_format',_0xb9d5('0x6'),_0xb9d5('0x7'),_0xb9d5('0x8'),_0xb9d5('0x9'),_0xb9d5('0xa'),'dialPowerLevel',_0xb9d5('0xb'),_0xb9d5('0xc'),'dialPredictiveInterval',_0xb9d5('0xd'),_0xb9d5('0xe'),_0xb9d5('0xf'),_0xb9d5('0x10'),'dialQueueTimeout',_0xb9d5('0x11'),_0xb9d5('0x12'),'dialCongestionRetryFrequency',_0xb9d5('0x13'),_0xb9d5('0x14'),_0xb9d5('0x15'),_0xb9d5('0x16'),_0xb9d5('0x17'),_0xb9d5('0x18'),_0xb9d5('0x19'),_0xb9d5('0x1a'),_0xb9d5('0x1b'),_0xb9d5('0x1c'),_0xb9d5('0x1d'),'dialAMDGreeting',_0xb9d5('0x1e'),_0xb9d5('0x1f'),'dialAMDMinWordLength',_0xb9d5('0x20'),_0xb9d5('0x21'),_0xb9d5('0x22'),'dialAMDMaximumWordLength',_0xb9d5('0x23'),_0xb9d5('0x24'),_0xb9d5('0x25'),_0xb9d5('0x26'),_0xb9d5('0x27'),_0xb9d5('0x28'),_0xb9d5('0x29'),_0xb9d5('0x2a'),_0xb9d5('0x2b'),_0xb9d5('0x2c'),_0xb9d5('0x2d')],'include':[{'model':_0xb9d5('0x2e'),'as':_0xb9d5('0x2e'),'attributes':['id',_0xb9d5('0x3'),'callerid',_0xb9d5('0x2f')]},{'model':_0xb9d5('0x2e'),'as':_0xb9d5('0x30'),'attributes':['id',_0xb9d5('0x3'),_0xb9d5('0x31'),_0xb9d5('0x2f')]},{'model':'Interval','as':_0xb9d5('0x32'),'attributes':['id','name'],'include':[{'model':_0xb9d5('0x32'),'as':_0xb9d5('0x33'),'attributes':['id',_0xb9d5('0x3'),_0xb9d5('0x34')]}]}]},'log':_0xb9d5('0x0')});};};