84b3aa7ffa4f627ed5b1acdc24a38039b813466d
[motion2.git] / server / services / routing / rpc / faxQueue.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x0b96=['timeout','strategy','User','Agents','online','faxPause','../client','getFaxQueues','Request','name'];(function(_0x128768,_0x387d89){var _0x40bf08=function(_0x2612ae){while(--_0x2612ae){_0x128768['push'](_0x128768['shift']());}};_0x40bf08(++_0x387d89);}(_0x0b96,0xc4));var _0x60b9=function(_0x2feffe,_0x104382){_0x2feffe=_0x2feffe-0x0;var _0x190bb3=_0x0b96[_0x2feffe];return _0x190bb3;};'use strict';var client=require(_0x60b9('0x0'));exports[_0x60b9('0x1')]=function(){return function(){return client[_0x60b9('0x2')]('GetFaxQueue',{'options':{'raw':![],'attributes':['id',_0x60b9('0x3'),_0x60b9('0x4'),_0x60b9('0x5')],'include':[{'model':_0x60b9('0x6'),'as':_0x60b9('0x7'),'attributes':['id','name',_0x60b9('0x8'),_0x60b9('0x9')]}]},'log':_0x60b9('0x1')});};};