1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x708f=['Agents','smsPause','getSmsQueues','GetSmsQueue','name'];(function(_0x160144,_0x5c1497){var _0x3a94f8=function(_0x1102f6){while(--_0x1102f6){_0x160144['push'](_0x160144['shift']());}};_0x3a94f8(++_0x5c1497);}(_0x708f,0x11b));var _0xf708=function(_0x25901e,_0x212ff0){_0x25901e=_0x25901e-0x0;var _0x2f0123=_0x708f[_0x25901e];return _0x2f0123;};'use strict';var client=require('../client');exports['getSmsQueues']=function(){return function(){return client['Request'](_0xf708('0x0'),{'options':{'raw':![],'attributes':['id',_0xf708('0x1'),'timeout','strategy'],'include':[{'model':'User','as':_0xf708('0x2'),'attributes':['id',_0xf708('0x1'),'online',_0xf708('0x3')]}]},'log':_0xf708('0x4')});};};