098e7f853808780d568133f91c4666d2a7138e66
[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 _0xaf8e=['getFaxQueues','name','timeout','strategy','Agents','online','../client'];(function(_0x15942a,_0x13b58c){var _0x36a9fb=function(_0x549c27){while(--_0x549c27){_0x15942a['push'](_0x15942a['shift']());}};_0x36a9fb(++_0x13b58c);}(_0xaf8e,0x84));var _0xeaf8=function(_0x3015ca,_0x275680){_0x3015ca=_0x3015ca-0x0;var _0x41cb04=_0xaf8e[_0x3015ca];return _0x41cb04;};'use strict';var client=require(_0xeaf8('0x0'));exports[_0xeaf8('0x1')]=function(){return function(){return client['Request']('GetFaxQueue',{'options':{'raw':![],'attributes':['id',_0xeaf8('0x2'),_0xeaf8('0x3'),_0xeaf8('0x4')],'include':[{'model':'User','as':_0xeaf8('0x5'),'attributes':['id',_0xeaf8('0x2'),_0xeaf8('0x6'),'faxPause']}]},'log':_0xeaf8('0x1')});};};