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 _0xc6f8=['User','Agents','online','getSmsQueues','Request','name','timeout','strategy'];(function(_0x39ab6f,_0x299d71){var _0x5aa817=function(_0x169b02){while(--_0x169b02){_0x39ab6f['push'](_0x39ab6f['shift']());}};_0x5aa817(++_0x299d71);}(_0xc6f8,0x14c));var _0x8c6f=function(_0x223f73,_0x4eee3f){_0x223f73=_0x223f73-0x0;var _0x4718d0=_0xc6f8[_0x223f73];return _0x4718d0;};'use strict';var client=require('../client');exports['getSmsQueues']=function(){return function(){return client[_0x8c6f('0x0')]('GetSmsQueue',{'options':{'raw':![],'attributes':['id',_0x8c6f('0x1'),_0x8c6f('0x2'),_0x8c6f('0x3')],'include':[{'model':_0x8c6f('0x4'),'as':_0x8c6f('0x5'),'attributes':['id','name',_0x8c6f('0x6'),'smsPause']}]},'log':_0x8c6f('0x7')});};};