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 _0x00f0=['User','name','mailPause','getMailQueues','Request','timeout','strategy'];(function(_0x1d236a,_0x29b29b){var _0x514fde=function(_0x10db22){while(--_0x10db22){_0x1d236a['push'](_0x1d236a['shift']());}};_0x514fde(++_0x29b29b);}(_0x00f0,0x81));var _0x000f=function(_0x4a8e76,_0x423791){_0x4a8e76=_0x4a8e76-0x0;var _0xf3dfd=_0x00f0[_0x4a8e76];return _0xf3dfd;};'use strict';var client=require('../client');exports[_0x000f('0x0')]=function(){return function(){return client[_0x000f('0x1')]('GetMailQueue',{'options':{'raw':![],'attributes':['id','name',_0x000f('0x2'),_0x000f('0x3')],'include':[{'model':_0x000f('0x4'),'as':'Agents','attributes':['id',_0x000f('0x5'),'online',_0x000f('0x6')]}]},'log':_0x000f('0x0')});};};