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