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 _0x2eb4=['Agents','online','getSmsQueues','../client','Request','GetSmsQueue','name','timeout','strategy','User'];(function(_0x4b54f2,_0x7ccc66){var _0x8ad615=function(_0x52e40f){while(--_0x52e40f){_0x4b54f2['push'](_0x4b54f2['shift']());}};_0x8ad615(++_0x7ccc66);}(_0x2eb4,0x17f));var _0x42eb=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x2eb4[_0x3dd15e];return _0x231fd0;};'use strict';var client=require(_0x42eb('0x0'));exports['getSmsQueues']=function(){return function(){return client[_0x42eb('0x1')](_0x42eb('0x2'),{'options':{'raw':![],'attributes':['id',_0x42eb('0x3'),_0x42eb('0x4'),_0x42eb('0x5')],'include':[{'model':_0x42eb('0x6'),'as':_0x42eb('0x7'),'attributes':['id','name',_0x42eb('0x8'),'smsPause']}]},'log':_0x42eb('0x9')});};};