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 _0x826a=['Request','name','strategy','online','smsPause','getSmsQueues'];(function(_0x4df91d,_0x1f64e8){var _0x2dd4f5=function(_0x12f50e){while(--_0x12f50e){_0x4df91d['push'](_0x4df91d['shift']());}};_0x2dd4f5(++_0x1f64e8);}(_0x826a,0xae));var _0xa826=function(_0x3c72ea,_0x546526){_0x3c72ea=_0x3c72ea-0x0;var _0x5d4247=_0x826a[_0x3c72ea];return _0x5d4247;};'use strict';var client=require('../client');exports['getSmsQueues']=function(){return function(){return client[_0xa826('0x0')]('GetSmsQueue',{'options':{'raw':![],'attributes':['id',_0xa826('0x1'),'timeout',_0xa826('0x2')],'include':[{'model':'User','as':'Agents','attributes':['id',_0xa826('0x1'),_0xa826('0x3'),_0xa826('0x4')]}]},'log':_0xa826('0x5')});};};