b16a6b81234f20e0d7326d6915e32bbbcdd05490
[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 _0x7eae=['../client','Request','GetVoiceQueueRtPauses','getVoiceQueueRtPauses'];(function(_0x1db5ad,_0x37ac19){var _0x2549f1=function(_0x23e146){while(--_0x23e146){_0x1db5ad['push'](_0x1db5ad['shift']());}};_0x2549f1(++_0x37ac19);}(_0x7eae,0x84));var _0xe7ea=function(_0x55f8b4,_0x43f30d){_0x55f8b4=_0x55f8b4-0x0;var _0x2475f9=_0x7eae[_0x55f8b4];return _0x2475f9;};'use strict';var client=require(_0xe7ea('0x0'));exports['getVoiceQueueRtPauses']=function(_0x26685c){return function(){return client[_0xe7ea('0x1')](_0xe7ea('0x2'),{'options':{'where':{'VoiceQueueId':_0x26685c,'paused':!![]},'raw':!![]},'log':_0xe7ea('0x3')});};};