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 _0xb1a1=['Request','GetMailQueue','name','timeout','strategy','User','Agents','online','mailPause','getMailQueues'];(function(_0x6131cd,_0x4c26a1){var _0x47e916=function(_0x1f2bce){while(--_0x1f2bce){_0x6131cd['push'](_0x6131cd['shift']());}};_0x47e916(++_0x4c26a1);}(_0xb1a1,0x96));var _0x1b1a=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xb1a1[_0x3dd15e];return _0x231fd0;};'use strict';var client=require('../client');exports['getMailQueues']=function(){return function(){return client[_0x1b1a('0x0')](_0x1b1a('0x1'),{'options':{'raw':![],'attributes':['id',_0x1b1a('0x2'),_0x1b1a('0x3'),_0x1b1a('0x4')],'include':[{'model':_0x1b1a('0x5'),'as':_0x1b1a('0x6'),'attributes':['id','name',_0x1b1a('0x7'),_0x1b1a('0x8')]}]},'log':_0x1b1a('0x9')});};};