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 _0x7efb=['name','faxPause','getFaxQueues','../client','GetFaxQueue','timeout','strategy','User','Agents'];(function(_0x52c0db,_0xfbbbf4){var _0x1cda9f=function(_0x3e0acf){while(--_0x3e0acf){_0x52c0db['push'](_0x52c0db['shift']());}};_0x1cda9f(++_0xfbbbf4);}(_0x7efb,0x1e9));var _0xb7ef=function(_0x201701,_0x33c30c){_0x201701=_0x201701-0x0;var _0x536b03=_0x7efb[_0x201701];return _0x536b03;};'use strict';var client=require(_0xb7ef('0x0'));exports['getFaxQueues']=function(){return function(){return client['Request'](_0xb7ef('0x1'),{'options':{'raw':![],'attributes':['id','name',_0xb7ef('0x2'),_0xb7ef('0x3')],'include':[{'model':_0xb7ef('0x4'),'as':_0xb7ef('0x5'),'attributes':['id',_0xb7ef('0x6'),'online',_0xb7ef('0x7')]}]},'log':_0xb7ef('0x8')});};};