Built motion from commit 994c64e1.|2.6.1
[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 _0x0b1f=['GetVoiceQueueRtPauses','../client','Request'];(function(_0x59955d,_0x5bc159){var _0x9f2f18=function(_0x36a86a){while(--_0x36a86a){_0x59955d['push'](_0x59955d['shift']());}};_0x9f2f18(++_0x5bc159);}(_0x0b1f,0x1e7));var _0xf0b1=function(_0x2352c0,_0x74d3e5){_0x2352c0=_0x2352c0-0x0;var _0x5b8096=_0x0b1f[_0x2352c0];return _0x5b8096;};'use strict';var client=require(_0xf0b1('0x0'));exports['getVoiceQueueRtPauses']=function(_0x344c0b){return function(){return client[_0xf0b1('0x1')](_0xf0b1('0x2'),{'options':{'where':{'VoiceQueueId':_0x344c0b,'paused':!![]},'raw':!![]},'log':'getVoiceQueueRtPauses'});};};