Built motion from commit b5413ace.|2.6.9
[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 _0x9465=['faxPause','../client','getFaxQueues','Request','GetFaxQueue','name','timeout','User','online'];(function(_0x454883,_0x5b0757){var _0x18d8bc=function(_0x381498){while(--_0x381498){_0x454883['push'](_0x454883['shift']());}};_0x18d8bc(++_0x5b0757);}(_0x9465,0x1b1));var _0x5946=function(_0x124298,_0x542004){_0x124298=_0x124298-0x0;var _0x35ac24=_0x9465[_0x124298];return _0x35ac24;};'use strict';var client=require(_0x5946('0x0'));exports[_0x5946('0x1')]=function(){return function(){return client[_0x5946('0x2')](_0x5946('0x3'),{'options':{'raw':![],'attributes':['id',_0x5946('0x4'),_0x5946('0x5'),'strategy'],'include':[{'model':_0x5946('0x6'),'as':'Agents','attributes':['id','name',_0x5946('0x7'),_0x5946('0x8')]}]},'log':_0x5946('0x1')});};};