775090d424f1f4211df14831719269f3b571fa57
[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 _0xc1d7=['GetVoiceQueueRtPauses','Request'];(function(_0x54672d,_0x2be3f9){var _0xeb2e0f=function(_0xd564af){while(--_0xd564af){_0x54672d['push'](_0x54672d['shift']());}};_0xeb2e0f(++_0x2be3f9);}(_0xc1d7,0x1ed));var _0x7c1d=function(_0x424329,_0x1a3e61){_0x424329=_0x424329-0x0;var _0x324625=_0xc1d7[_0x424329];return _0x324625;};'use strict';var client=require('../client');exports['getVoiceQueueRtPauses']=function(_0xd0cf){return function(){return client[_0x7c1d('0x0')](_0x7c1d('0x1'),{'options':{'where':{'VoiceQueueId':_0xd0cf,'paused':!![]},'raw':!![]},'log':'getVoiceQueueRtPauses'});};};