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 _0x3912=['../client','Request','GetSmsQueue','name','timeout','strategy','User','Agents','online','smsPause','getSmsQueues'];(function(_0x561816,_0x44ba67){var _0x2d0ab5=function(_0x386ba5){while(--_0x386ba5){_0x561816['push'](_0x561816['shift']());}};_0x2d0ab5(++_0x44ba67);}(_0x3912,0xdc));var _0x2391=function(_0x119f6a,_0x100351){_0x119f6a=_0x119f6a-0x0;var _0x2bdf46=_0x3912[_0x119f6a];return _0x2bdf46;};'use strict';var client=require(_0x2391('0x0'));exports['getSmsQueues']=function(){return function(){return client[_0x2391('0x1')](_0x2391('0x2'),{'options':{'raw':![],'attributes':['id',_0x2391('0x3'),_0x2391('0x4'),_0x2391('0x5')],'include':[{'model':_0x2391('0x6'),'as':_0x2391('0x7'),'attributes':['id','name',_0x2391('0x8'),_0x2391('0x9')]}]},'log':_0x2391('0xa')});};};