6e03b76a4484207033537dd637d3e5275959e2ac
[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 _0x485a=['../client','Request','GetFaxQueue','name','online','faxPause'];(function(_0x20765b,_0x16f1c3){var _0x3c73cf=function(_0x1a254a){while(--_0x1a254a){_0x20765b['push'](_0x20765b['shift']());}};_0x3c73cf(++_0x16f1c3);}(_0x485a,0xba));var _0xa485=function(_0x5dbc86,_0xcdbb86){_0x5dbc86=_0x5dbc86-0x0;var _0x1f80e3=_0x485a[_0x5dbc86];return _0x1f80e3;};'use strict';var client=require(_0xa485('0x0'));exports['getFaxQueues']=function(){return function(){return client[_0xa485('0x1')](_0xa485('0x2'),{'options':{'raw':![],'attributes':['id',_0xa485('0x3'),'timeout','strategy'],'include':[{'model':'User','as':'Agents','attributes':['id',_0xa485('0x3'),_0xa485('0x4'),_0xa485('0x5')]}]},'log':'getFaxQueues'});};};