958fd6616892360dae587dba1e9629ac440d3f42
[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 _0xce31=['online','faxPause','../client','getFaxQueues','GetFaxQueue','name','timeout','strategy','Agents'];(function(_0x396510,_0x4da07d){var _0x2a1b98=function(_0x1645e9){while(--_0x1645e9){_0x396510['push'](_0x396510['shift']());}};_0x2a1b98(++_0x4da07d);}(_0xce31,0x161));var _0x1ce3=function(_0x80ed36,_0x5580cd){_0x80ed36=_0x80ed36-0x0;var _0x393295=_0xce31[_0x80ed36];return _0x393295;};'use strict';var client=require(_0x1ce3('0x0'));exports[_0x1ce3('0x1')]=function(){return function(){return client['Request'](_0x1ce3('0x2'),{'options':{'raw':![],'attributes':['id',_0x1ce3('0x3'),_0x1ce3('0x4'),_0x1ce3('0x5')],'include':[{'model':'User','as':_0x1ce3('0x6'),'attributes':['id',_0x1ce3('0x3'),_0x1ce3('0x7'),_0x1ce3('0x8')]}]},'log':'getFaxQueues'});};};