4ebe268258c29e9791b1ce5f25211a759b5bb61e
[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 _0x7972=['Request','GetVoiceQueueRtPauses','getVoiceQueueRtPauses'];(function(_0x3e2fa3,_0x255f3c){var _0x23261e=function(_0x3aec62){while(--_0x3aec62){_0x3e2fa3['push'](_0x3e2fa3['shift']());}};_0x23261e(++_0x255f3c);}(_0x7972,0x1bf));var _0x2797=function(_0x314b8c,_0x569e2d){_0x314b8c=_0x314b8c-0x0;var _0x311bee=_0x7972[_0x314b8c];return _0x311bee;};'use strict';var client=require('../client');exports['getVoiceQueueRtPauses']=function(_0x5c17b0){return function(){return client[_0x2797('0x0')](_0x2797('0x1'),{'options':{'where':{'VoiceQueueId':_0x5c17b0,'paused':!![]},'raw':!![]},'log':_0x2797('0x2')});};};