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 _0xf0fd=['GetMailQueue','name','strategy','getMailQueues','Request'];(function(_0x131190,_0xcbb8a2){var _0x33e9ad=function(_0x2a0ca7){while(--_0x2a0ca7){_0x131190['push'](_0x131190['shift']());}};_0x33e9ad(++_0xcbb8a2);}(_0xf0fd,0x18e));var _0xdf0f=function(_0x17bfc2,_0x4b2b83){_0x17bfc2=_0x17bfc2-0x0;var _0x3a28e4=_0xf0fd[_0x17bfc2];return _0x3a28e4;};'use strict';var client=require('../client');exports[_0xdf0f('0x0')]=function(){return function(){return client[_0xdf0f('0x1')](_0xdf0f('0x2'),{'options':{'raw':![],'attributes':['id',_0xdf0f('0x3'),'timeout',_0xdf0f('0x4')],'include':[{'model':'User','as':'Agents','attributes':['id','name','online','mailPause']}]},'log':_0xdf0f('0x0')});};};