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 _0xaa5a=['GetMailQueue','name','timeout','Agents','mailPause','getMailQueues','Request'];(function(_0x1b828b,_0x344400){var _0x98da1a=function(_0x1a0f5b){while(--_0x1a0f5b){_0x1b828b['push'](_0x1b828b['shift']());}};_0x98da1a(++_0x344400);}(_0xaa5a,0x83));var _0xaaa5=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xaa5a[_0x3dd15e];return _0x231fd0;};'use strict';var client=require('../client');exports[_0xaaa5('0x0')]=function(){return function(){return client[_0xaaa5('0x1')](_0xaaa5('0x2'),{'options':{'raw':![],'attributes':['id',_0xaaa5('0x3'),_0xaaa5('0x4'),'strategy'],'include':[{'model':'User','as':_0xaaa5('0x5'),'attributes':['id',_0xaaa5('0x3'),'online',_0xaaa5('0x6')]}]},'log':'getMailQueues'});};};