8cef4cf504ae4513690a8b715eca8a2f53fbba10
[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 _0x3dfd=['Agents','online','faxPause','../client','getFaxQueues','Request','name','User'];(function(_0xca7f6e,_0x14dc70){var _0xd49a5e=function(_0x45e690){while(--_0x45e690){_0xca7f6e['push'](_0xca7f6e['shift']());}};_0xd49a5e(++_0x14dc70);}(_0x3dfd,0x1db));var _0xd3df=function(_0x342baa,_0x4a110f){_0x342baa=_0x342baa-0x0;var _0x1208f3=_0x3dfd[_0x342baa];return _0x1208f3;};'use strict';var client=require(_0xd3df('0x0'));exports[_0xd3df('0x1')]=function(){return function(){return client[_0xd3df('0x2')]('GetFaxQueue',{'options':{'raw':![],'attributes':['id',_0xd3df('0x3'),'timeout','strategy'],'include':[{'model':_0xd3df('0x4'),'as':_0xd3df('0x5'),'attributes':['id',_0xd3df('0x3'),_0xd3df('0x6'),_0xd3df('0x7')]}]},'log':_0xd3df('0x1')});};};