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 _0xd23b=['GetMailQueue','User','name','online','mailPause','getMailQueues','Request'];(function(_0x16aa70,_0x5b1f73){var _0x11875f=function(_0x18c7be){while(--_0x18c7be){_0x16aa70['push'](_0x16aa70['shift']());}};_0x11875f(++_0x5b1f73);}(_0xd23b,0x186));var _0xbd23=function(_0x5b8310,_0x77ea6f){_0x5b8310=_0x5b8310-0x0;var _0xd3ebc1=_0xd23b[_0x5b8310];return _0xd3ebc1;};'use strict';var client=require('../client');exports[_0xbd23('0x0')]=function(){return function(){return client[_0xbd23('0x1')](_0xbd23('0x2'),{'options':{'raw':![],'attributes':['id','name','timeout','strategy'],'include':[{'model':_0xbd23('0x3'),'as':'Agents','attributes':['id',_0xbd23('0x4'),_0xbd23('0x5'),_0xbd23('0x6')]}]},'log':_0xbd23('0x0')});};};