3f53ef0866437b5739a219a0a30dcee34b7e10a8
[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 _0x0701=['Agents','online','faxPause','../client','getFaxQueues','Request','name'];(function(_0x5c0368,_0x423cf2){var _0x5b31b9=function(_0x118b40){while(--_0x118b40){_0x5c0368['push'](_0x5c0368['shift']());}};_0x5b31b9(++_0x423cf2);}(_0x0701,0xc0));var _0x1070=function(_0x568db1,_0xe5a254){_0x568db1=_0x568db1-0x0;var _0x2e55c2=_0x0701[_0x568db1];return _0x2e55c2;};'use strict';var client=require(_0x1070('0x0'));exports[_0x1070('0x1')]=function(){return function(){return client[_0x1070('0x2')]('GetFaxQueue',{'options':{'raw':![],'attributes':['id',_0x1070('0x3'),'timeout','strategy'],'include':[{'model':'User','as':_0x1070('0x4'),'attributes':['id',_0x1070('0x3'),_0x1070('0x5'),_0x1070('0x6')]}]},'log':_0x1070('0x1')});};};