Built motion from commit 4c579f6b.|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 _0x8fe3=['timeout','strategy','faxPause','../client','getFaxQueues','Request','name'];(function(_0x1e2193,_0x25819b){var _0x20f70e=function(_0x25b418){while(--_0x25b418){_0x1e2193['push'](_0x1e2193['shift']());}};_0x20f70e(++_0x25819b);}(_0x8fe3,0xb9));var _0x38fe=function(_0x2befb0,_0x120e28){_0x2befb0=_0x2befb0-0x0;var _0x1acafe=_0x8fe3[_0x2befb0];return _0x1acafe;};'use strict';var client=require(_0x38fe('0x0'));exports[_0x38fe('0x1')]=function(){return function(){return client[_0x38fe('0x2')]('GetFaxQueue',{'options':{'raw':![],'attributes':['id',_0x38fe('0x3'),_0x38fe('0x4'),_0x38fe('0x5')],'include':[{'model':'User','as':'Agents','attributes':['id','name','online',_0x38fe('0x6')]}]},'log':_0x38fe('0x1')});};};