Built motion from commit 9d0783e6.|2.6.13
[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 _0x986f=['GetFaxQueue','name','timeout','strategy','Agents','online','getFaxQueues','../client'];(function(_0x2e3dd8,_0x5cb6ba){var _0x30a523=function(_0x124b14){while(--_0x124b14){_0x2e3dd8['push'](_0x2e3dd8['shift']());}};_0x30a523(++_0x5cb6ba);}(_0x986f,0x6f));var _0xf986=function(_0x3ac768,_0x272286){_0x3ac768=_0x3ac768-0x0;var _0x304be3=_0x986f[_0x3ac768];return _0x304be3;};'use strict';var client=require(_0xf986('0x0'));exports['getFaxQueues']=function(){return function(){return client['Request'](_0xf986('0x1'),{'options':{'raw':![],'attributes':['id',_0xf986('0x2'),_0xf986('0x3'),_0xf986('0x4')],'include':[{'model':'User','as':_0xf986('0x5'),'attributes':['id','name',_0xf986('0x6'),'faxPause']}]},'log':_0xf986('0x7')});};};