Built motion from commit 3e059bc2.|2.5.32
[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 _0x30ad=['name','timeout','strategy','online','../client','Request'];(function(_0x1a9390,_0x3339e6){var _0x2b4514=function(_0x1c07d5){while(--_0x1c07d5){_0x1a9390['push'](_0x1a9390['shift']());}};_0x2b4514(++_0x3339e6);}(_0x30ad,0xca));var _0xd30a=function(_0x4030cb,_0x49193b){_0x4030cb=_0x4030cb-0x0;var _0x24e21a=_0x30ad[_0x4030cb];return _0x24e21a;};'use strict';var client=require(_0xd30a('0x0'));exports['getFaxQueues']=function(){return function(){return client[_0xd30a('0x1')]('GetFaxQueue',{'options':{'raw':![],'attributes':['id',_0xd30a('0x2'),_0xd30a('0x3'),_0xd30a('0x4')],'include':[{'model':'User','as':'Agents','attributes':['id','name',_0xd30a('0x5'),'faxPause']}]},'log':'getFaxQueues'});};};