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 _0x743d=['GetMailQueue','name','timeout','User','mailPause','Request'];(function(_0x148bd7,_0x4b58d6){var _0x38638a=function(_0x103bdb){while(--_0x103bdb){_0x148bd7['push'](_0x148bd7['shift']());}};_0x38638a(++_0x4b58d6);}(_0x743d,0xa1));var _0xd743=function(_0x501510,_0x61caa9){_0x501510=_0x501510-0x0;var _0x1e6ee5=_0x743d[_0x501510];return _0x1e6ee5;};'use strict';var client=require('../client');exports['getMailQueues']=function(){return function(){return client[_0xd743('0x0')](_0xd743('0x1'),{'options':{'raw':![],'attributes':['id',_0xd743('0x2'),_0xd743('0x3'),'strategy'],'include':[{'model':_0xd743('0x4'),'as':'Agents','attributes':['id',_0xd743('0x2'),'online',_0xd743('0x5')]}]},'log':'getMailQueues'});};};