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 _0xe8b1=['Request','GetSmsQueue','timeout','strategy','Agents','name','online','smsPause','../client','getSmsQueues'];(function(_0x12916b,_0x3ba82d){var _0x58d533=function(_0xd83c7c){while(--_0xd83c7c){_0x12916b['push'](_0x12916b['shift']());}};_0x58d533(++_0x3ba82d);}(_0xe8b1,0x17a));var _0x1e8b=function(_0x1b55e3,_0x5407d7){_0x1b55e3=_0x1b55e3-0x0;var _0x2ed2d7=_0xe8b1[_0x1b55e3];return _0x2ed2d7;};'use strict';var client=require(_0x1e8b('0x0'));exports[_0x1e8b('0x1')]=function(){return function(){return client[_0x1e8b('0x2')](_0x1e8b('0x3'),{'options':{'raw':![],'attributes':['id','name',_0x1e8b('0x4'),_0x1e8b('0x5')],'include':[{'model':'User','as':_0x1e8b('0x6'),'attributes':['id',_0x1e8b('0x7'),_0x1e8b('0x8'),_0x1e8b('0x9')]}]},'log':_0x1e8b('0x1')});};};