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 _0x978e=['GetFaxQueue','name','timeout','strategy','User','faxPause','getFaxQueues','../client','Request'];(function(_0x4d8a8f,_0x2afd4c){var _0xfc4adc=function(_0xb89886){while(--_0xb89886){_0x4d8a8f['push'](_0x4d8a8f['shift']());}};_0xfc4adc(++_0x2afd4c);}(_0x978e,0x193));var _0xe978=function(_0x6c00f9,_0x31f5ce){_0x6c00f9=_0x6c00f9-0x0;var _0x29e4aa=_0x978e[_0x6c00f9];return _0x29e4aa;};'use strict';var client=require(_0xe978('0x0'));exports['getFaxQueues']=function(){return function(){return client[_0xe978('0x1')](_0xe978('0x2'),{'options':{'raw':![],'attributes':['id',_0xe978('0x3'),_0xe978('0x4'),_0xe978('0x5')],'include':[{'model':_0xe978('0x6'),'as':'Agents','attributes':['id','name','online',_0xe978('0x7')]}]},'log':_0xe978('0x8')});};};