f5569c7948f6f25c3d7199fd3ffbcfe1f9a08c63
[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 _0x0db7=['../client','getVoiceQueueRtPauses','Request','GetVoiceQueueRtPauses'];(function(_0x5e8d3e,_0x18ed2e){var _0x1348c0=function(_0x5a889f){while(--_0x5a889f){_0x5e8d3e['push'](_0x5e8d3e['shift']());}};_0x1348c0(++_0x18ed2e);}(_0x0db7,0x80));var _0x70db=function(_0x2652b7,_0x4480cb){_0x2652b7=_0x2652b7-0x0;var _0x3a231a=_0x0db7[_0x2652b7];return _0x3a231a;};'use strict';var client=require(_0x70db('0x0'));exports[_0x70db('0x1')]=function(_0xa355ab){return function(){return client[_0x70db('0x2')](_0x70db('0x3'),{'options':{'where':{'VoiceQueueId':_0xa355ab,'paused':!![]},'raw':!![]},'log':_0x70db('0x1')});};};