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 _0x3514=['name','timeout','strategy','Agents','online','smsPause','getSmsQueues','../client'];(function(_0x411017,_0x4a8117){var _0x2adeea=function(_0x545222){while(--_0x545222){_0x411017['push'](_0x411017['shift']());}};_0x2adeea(++_0x4a8117);}(_0x3514,0xe7));var _0x4351=function(_0x2ac120,_0x22b4d9){_0x2ac120=_0x2ac120-0x0;var _0x3c5d9e=_0x3514[_0x2ac120];return _0x3c5d9e;};'use strict';var client=require(_0x4351('0x0'));exports['getSmsQueues']=function(){return function(){return client['Request']('GetSmsQueue',{'options':{'raw':![],'attributes':['id',_0x4351('0x1'),_0x4351('0x2'),_0x4351('0x3')],'include':[{'model':'User','as':_0x4351('0x4'),'attributes':['id',_0x4351('0x1'),_0x4351('0x5'),_0x4351('0x6')]}]},'log':_0x4351('0x7')});};};