Built motion from commit db94841.|2.5.3
[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 _0x6310=['../client','getFaxQueues','GetFaxQueue','name','strategy','User'];(function(_0x11f75e,_0x10a020){var _0x11f58a=function(_0x3a0339){while(--_0x3a0339){_0x11f75e['push'](_0x11f75e['shift']());}};_0x11f58a(++_0x10a020);}(_0x6310,0xf0));var _0x0631=function(_0x1f9f37,_0x18776e){_0x1f9f37=_0x1f9f37-0x0;var _0x21c080=_0x6310[_0x1f9f37];return _0x21c080;};'use strict';var client=require(_0x0631('0x0'));exports[_0x0631('0x1')]=function(){return function(){return client['Request'](_0x0631('0x2'),{'options':{'raw':![],'attributes':['id',_0x0631('0x3'),'timeout',_0x0631('0x4')],'include':[{'model':_0x0631('0x5'),'as':'Agents','attributes':['id',_0x0631('0x3'),'online','faxPause']}]},'log':_0x0631('0x1')});};};