42a69a95fbb7d9af05f03fa0990d6bd47d99c9fb
[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 _0xd699=['GetVoiceQueueRtPauses','../client','getVoiceQueueRtPauses','Request'];(function(_0x2a1fca,_0x158f06){var _0x4b520e=function(_0x539f31){while(--_0x539f31){_0x2a1fca['push'](_0x2a1fca['shift']());}};_0x4b520e(++_0x158f06);}(_0xd699,0xfd));var _0x9d69=function(_0x1b2ff7,_0x12a034){_0x1b2ff7=_0x1b2ff7-0x0;var _0x31656a=_0xd699[_0x1b2ff7];return _0x31656a;};'use strict';var client=require(_0x9d69('0x0'));exports[_0x9d69('0x1')]=function(_0xf72e1){return function(){return client[_0x9d69('0x2')](_0x9d69('0x3'),{'options':{'where':{'VoiceQueueId':_0xf72e1,'paused':!![]},'raw':!![]},'log':_0x9d69('0x1')});};};