c2e1ab995eb1dc5c0f5a1f4a2c4597d1b2fa3f34
[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 _0xfbb7=['Request','GetVoiceQueueRtPauses','getVoiceQueueRtPauses'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0xfbb7,0x87));var _0x7fbb=function(_0xa06a7c,_0xdf25f7){_0xa06a7c=_0xa06a7c-0x0;var _0x301abe=_0xfbb7[_0xa06a7c];return _0x301abe;};'use strict';var client=require('../client');exports['getVoiceQueueRtPauses']=function(_0x36170d){return function(){return client[_0x7fbb('0x0')](_0x7fbb('0x1'),{'options':{'where':{'VoiceQueueId':_0x36170d,'paused':!![]},'raw':!![]},'log':_0x7fbb('0x2')});};};