a2ff6ebfd4f8ed6d4a71c159afa02ac3905393c4
[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 _0x40b8=['name','strategy','Agents','online','faxPause','../client','getFaxQueues','Request','GetFaxQueue'];(function(_0xa2e4f6,_0x103f14){var _0xf8bfe5=function(_0x1e4cb0){while(--_0x1e4cb0){_0xa2e4f6['push'](_0xa2e4f6['shift']());}};_0xf8bfe5(++_0x103f14);}(_0x40b8,0x8c));var _0x840b=function(_0x4792c8,_0x5158a1){_0x4792c8=_0x4792c8-0x0;var _0x35edb1=_0x40b8[_0x4792c8];return _0x35edb1;};'use strict';var client=require(_0x840b('0x0'));exports[_0x840b('0x1')]=function(){return function(){return client[_0x840b('0x2')](_0x840b('0x3'),{'options':{'raw':![],'attributes':['id',_0x840b('0x4'),'timeout',_0x840b('0x5')],'include':[{'model':'User','as':_0x840b('0x6'),'attributes':['id',_0x840b('0x4'),_0x840b('0x7'),_0x840b('0x8')]}]},'log':'getFaxQueues'});};};