9e669b18fdd61ed19666e30d4b7cf5ecb42fbfc1
[motion2.git] / server / services / ami / rpc / voiceQueueRt.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 _0xcd1f=['../client','Request','GetVoiceQueueRtPauses'];(function(_0x5794c4,_0x309b7a){var _0x537506=function(_0x5d5009){while(--_0x5d5009){_0x5794c4['push'](_0x5794c4['shift']());}};_0x537506(++_0x309b7a);}(_0xcd1f,0x1cb));var _0xfcd1=function(_0x3df068,_0x2b6498){_0x3df068=_0x3df068-0x0;var _0x595863=_0xcd1f[_0x3df068];return _0x595863;};'use strict';var client=require(_0xfcd1('0x0'));exports['getVoiceQueueRtPauses']=function(_0x29538b){return function(){return client[_0xfcd1('0x1')](_0xfcd1('0x2'),{'options':{'where':{'VoiceQueueId':_0x29538b,'paused':!![]},'raw':!![]},'log':'getVoiceQueueRtPauses'});};};