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 _0xef00=['getMailQueues','Request','name','timeout','strategy','User','Agents','online'];(function(_0x48585a,_0x2359f6){var _0x5268cc=function(_0x17285c){while(--_0x17285c){_0x48585a['push'](_0x48585a['shift']());}};_0x5268cc(++_0x2359f6);}(_0xef00,0x1a0));var _0x0ef0=function(_0x459b74,_0x5773bd){_0x459b74=_0x459b74-0x0;var _0x46cb16=_0xef00[_0x459b74];return _0x46cb16;};'use strict';var client=require('../client');exports[_0x0ef0('0x0')]=function(){return function(){return client[_0x0ef0('0x1')]('GetMailQueue',{'options':{'raw':![],'attributes':['id',_0x0ef0('0x2'),_0x0ef0('0x3'),_0x0ef0('0x4')],'include':[{'model':_0x0ef0('0x5'),'as':_0x0ef0('0x6'),'attributes':['id',_0x0ef0('0x2'),_0x0ef0('0x7'),'mailPause']}]},'log':'getMailQueues'});};};