283a87f522093dc5d201ce2865b8c8f48a3155ab
[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 _0x8b02=['getVoiceQueueRtPauses','Request','GetVoiceQueueRtPauses'];(function(_0x522956,_0x305bb8){var _0xc412aa=function(_0x33f519){while(--_0x33f519){_0x522956['push'](_0x522956['shift']());}};_0xc412aa(++_0x305bb8);}(_0x8b02,0xba));var _0x28b0=function(_0x2ca892,_0x11af43){_0x2ca892=_0x2ca892-0x0;var _0x3d3f77=_0x8b02[_0x2ca892];return _0x3d3f77;};'use strict';var client=require('../client');exports[_0x28b0('0x0')]=function(_0x47fea5){return function(){return client[_0x28b0('0x1')](_0x28b0('0x2'),{'options':{'where':{'VoiceQueueId':_0x47fea5,'paused':!![]},'raw':!![]},'log':_0x28b0('0x0')});};};