1710befad53631b785daa8d6abd54c4a1300572c
[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 _0xd015=['../client','getFaxQueues','name','timeout','strategy','online'];(function(_0x77f2fb,_0x206a39){var _0x4c9280=function(_0x27ceb5){while(--_0x27ceb5){_0x77f2fb['push'](_0x77f2fb['shift']());}};_0x4c9280(++_0x206a39);}(_0xd015,0x168));var _0x5d01=function(_0x41886e,_0x2f9b3e){_0x41886e=_0x41886e-0x0;var _0x10e7f4=_0xd015[_0x41886e];return _0x10e7f4;};'use strict';var client=require(_0x5d01('0x0'));exports[_0x5d01('0x1')]=function(){return function(){return client['Request']('GetFaxQueue',{'options':{'raw':![],'attributes':['id',_0x5d01('0x2'),_0x5d01('0x3'),_0x5d01('0x4')],'include':[{'model':'User','as':'Agents','attributes':['id',_0x5d01('0x2'),_0x5d01('0x5'),'faxPause']}]},'log':_0x5d01('0x1')});};};