1382d9f0963bfffc76992d6adcacc032029cfa3d
[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 _0xa478=['Agents','online','getFaxQueues','../client','Request','GetFaxQueue','name','timeout','strategy'];(function(_0x49c3dc,_0x4f3a4c){var _0x2396f2=function(_0x5d4107){while(--_0x5d4107){_0x49c3dc['push'](_0x49c3dc['shift']());}};_0x2396f2(++_0x4f3a4c);}(_0xa478,0xb7));var _0x8a47=function(_0x3b19ea,_0x518b6b){_0x3b19ea=_0x3b19ea-0x0;var _0x40ece9=_0xa478[_0x3b19ea];return _0x40ece9;};'use strict';var client=require(_0x8a47('0x0'));exports['getFaxQueues']=function(){return function(){return client[_0x8a47('0x1')](_0x8a47('0x2'),{'options':{'raw':![],'attributes':['id',_0x8a47('0x3'),_0x8a47('0x4'),_0x8a47('0x5')],'include':[{'model':'User','as':_0x8a47('0x6'),'attributes':['id',_0x8a47('0x3'),_0x8a47('0x7'),'faxPause']}]},'log':_0x8a47('0x8')});};};