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 _0xb793=['User','online','faxPause','getFaxQueues','../client','Request','GetFaxQueue','name','strategy'];(function(_0x4fbfd9,_0x3ab91a){var _0x31dc94=function(_0x11e53b){while(--_0x11e53b){_0x4fbfd9['push'](_0x4fbfd9['shift']());}};_0x31dc94(++_0x3ab91a);}(_0xb793,0x67));var _0x3b79=function(_0x245471,_0x138b31){_0x245471=_0x245471-0x0;var _0x560ae1=_0xb793[_0x245471];return _0x560ae1;};'use strict';var client=require(_0x3b79('0x0'));exports['getFaxQueues']=function(){return function(){return client[_0x3b79('0x1')](_0x3b79('0x2'),{'options':{'raw':![],'attributes':['id',_0x3b79('0x3'),'timeout',_0x3b79('0x4')],'include':[{'model':_0x3b79('0x5'),'as':'Agents','attributes':['id','name',_0x3b79('0x6'),_0x3b79('0x7')]}]},'log':_0x3b79('0x8')});};};