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 _0x98a6=['online','mailPause','../client','Request','name','timeout','strategy','User','Agents'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0x98a6,0x1d6));var _0x698a=function(_0x494d1f,_0x3f72ff){_0x494d1f=_0x494d1f-0x0;var _0x457b6e=_0x98a6[_0x494d1f];return _0x457b6e;};'use strict';var client=require(_0x698a('0x0'));exports['getMailQueues']=function(){return function(){return client[_0x698a('0x1')]('GetMailQueue',{'options':{'raw':![],'attributes':['id',_0x698a('0x2'),_0x698a('0x3'),_0x698a('0x4')],'include':[{'model':_0x698a('0x5'),'as':_0x698a('0x6'),'attributes':['id',_0x698a('0x2'),_0x698a('0x7'),_0x698a('0x8')]}]},'log':'getMailQueues'});};};