c5b3cce4fee2b543fa599e1f35570f54c50b1ac7
[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 _0xc33f=['strategy','User','faxPause','getFaxQueues','../client','Request','GetFaxQueue','name','timeout'];(function(_0x52bb64,_0x3da5d0){var _0x10ecd1=function(_0x50dbe2){while(--_0x50dbe2){_0x52bb64['push'](_0x52bb64['shift']());}};_0x10ecd1(++_0x3da5d0);}(_0xc33f,0x175));var _0xfc33=function(_0x437560,_0xc5d67f){_0x437560=_0x437560-0x0;var _0x278361=_0xc33f[_0x437560];return _0x278361;};'use strict';var client=require(_0xfc33('0x0'));exports['getFaxQueues']=function(){return function(){return client[_0xfc33('0x1')](_0xfc33('0x2'),{'options':{'raw':![],'attributes':['id',_0xfc33('0x3'),_0xfc33('0x4'),_0xfc33('0x5')],'include':[{'model':_0xfc33('0x6'),'as':'Agents','attributes':['id',_0xfc33('0x3'),'online',_0xfc33('0x7')]}]},'log':_0xfc33('0x8')});};};