Built motion from commit efa66e19.|2.6.22
[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 _0xa177=['getFaxQueues','name','timeout','strategy','User','faxPause','../client'];(function(_0x1dd289,_0x1e391f){var _0x44f028=function(_0xfb6522){while(--_0xfb6522){_0x1dd289['push'](_0x1dd289['shift']());}};_0x44f028(++_0x1e391f);}(_0xa177,0x18e));var _0x7a17=function(_0x45aeaa,_0x2ac370){_0x45aeaa=_0x45aeaa-0x0;var _0x28fbe4=_0xa177[_0x45aeaa];return _0x28fbe4;};'use strict';var client=require(_0x7a17('0x0'));exports[_0x7a17('0x1')]=function(){return function(){return client['Request']('GetFaxQueue',{'options':{'raw':![],'attributes':['id',_0x7a17('0x2'),_0x7a17('0x3'),_0x7a17('0x4')],'include':[{'model':_0x7a17('0x5'),'as':'Agents','attributes':['id',_0x7a17('0x2'),'online',_0x7a17('0x6')]}]},'log':_0x7a17('0x1')});};};