Built motion from commit 85328c08.|2.5.50
[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 _0x5f8d=['Request','GetFaxQueue','name','timeout','strategy','online','faxPause','../client'];(function(_0x278e3c,_0x1c9cfd){var _0x3e2d9b=function(_0x34d928){while(--_0x34d928){_0x278e3c['push'](_0x278e3c['shift']());}};_0x3e2d9b(++_0x1c9cfd);}(_0x5f8d,0x137));var _0xd5f8=function(_0x59bf02,_0x58b4eb){_0x59bf02=_0x59bf02-0x0;var _0xa9400f=_0x5f8d[_0x59bf02];return _0xa9400f;};'use strict';var client=require(_0xd5f8('0x0'));exports['getFaxQueues']=function(){return function(){return client[_0xd5f8('0x1')](_0xd5f8('0x2'),{'options':{'raw':![],'attributes':['id',_0xd5f8('0x3'),_0xd5f8('0x4'),_0xd5f8('0x5')],'include':[{'model':'User','as':'Agents','attributes':['id',_0xd5f8('0x3'),_0xd5f8('0x6'),_0xd5f8('0x7')]}]},'log':'getFaxQueues'});};};