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 _0x1fa9=['name','strategy','User','online','faxPause','getFaxQueues','../client','Request','GetFaxQueue'];(function(_0x2f6d16,_0x516c0c){var _0xf706a=function(_0x43dd25){while(--_0x43dd25){_0x2f6d16['push'](_0x2f6d16['shift']());}};_0xf706a(++_0x516c0c);}(_0x1fa9,0x141));var _0x91fa=function(_0x1aca03,_0x1fdaf2){_0x1aca03=_0x1aca03-0x0;var _0x3bd431=_0x1fa9[_0x1aca03];return _0x3bd431;};'use strict';var client=require(_0x91fa('0x0'));exports['getFaxQueues']=function(){return function(){return client[_0x91fa('0x1')](_0x91fa('0x2'),{'options':{'raw':![],'attributes':['id',_0x91fa('0x3'),'timeout',_0x91fa('0x4')],'include':[{'model':_0x91fa('0x5'),'as':'Agents','attributes':['id',_0x91fa('0x3'),_0x91fa('0x6'),_0x91fa('0x7')]}]},'log':_0x91fa('0x8')});};};