Built motion from commit e0fa946e.|2.6.5
[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 _0x9ca5=['../client','getFaxQueues','Request','GetFaxQueue','name','User','Agents','faxPause'];(function(_0x255d5b,_0x4f6f35){var _0x3e141a=function(_0x249ee2){while(--_0x249ee2){_0x255d5b['push'](_0x255d5b['shift']());}};_0x3e141a(++_0x4f6f35);}(_0x9ca5,0x108));var _0x59ca=function(_0x4a1e96,_0x143e6b){_0x4a1e96=_0x4a1e96-0x0;var _0x5acea9=_0x9ca5[_0x4a1e96];return _0x5acea9;};'use strict';var client=require(_0x59ca('0x0'));exports[_0x59ca('0x1')]=function(){return function(){return client[_0x59ca('0x2')](_0x59ca('0x3'),{'options':{'raw':![],'attributes':['id',_0x59ca('0x4'),'timeout','strategy'],'include':[{'model':_0x59ca('0x5'),'as':_0x59ca('0x6'),'attributes':['id',_0x59ca('0x4'),'online',_0x59ca('0x7')]}]},'log':_0x59ca('0x1')});};};