52f217e79032dea8c2158a5844d6ec0e9d5161fd
[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 _0xe8a6=['timeout','strategy','User','Agents','online','faxPause','../client','getFaxQueues','GetFaxQueue','name'];(function(_0x234995,_0x94ca50){var _0x2e106e=function(_0x1de80f){while(--_0x1de80f){_0x234995['push'](_0x234995['shift']());}};_0x2e106e(++_0x94ca50);}(_0xe8a6,0x7e));var _0x6e8a=function(_0x18dcd1,_0x293ee7){_0x18dcd1=_0x18dcd1-0x0;var _0x7beb34=_0xe8a6[_0x18dcd1];return _0x7beb34;};'use strict';var client=require(_0x6e8a('0x0'));exports[_0x6e8a('0x1')]=function(){return function(){return client['Request'](_0x6e8a('0x2'),{'options':{'raw':![],'attributes':['id',_0x6e8a('0x3'),_0x6e8a('0x4'),_0x6e8a('0x5')],'include':[{'model':_0x6e8a('0x6'),'as':_0x6e8a('0x7'),'attributes':['id','name',_0x6e8a('0x8'),_0x6e8a('0x9')]}]},'log':'getFaxQueues'});};};