5965caef2cb72e27f42c6df7025526fb9034d4a6
[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 _0x7db3=['online','faxPause','../client','getFaxQueues','name','timeout','strategy','User','Agents'];(function(_0x2436aa,_0x4a1346){var _0x4d737c=function(_0x500b7c){while(--_0x500b7c){_0x2436aa['push'](_0x2436aa['shift']());}};_0x4d737c(++_0x4a1346);}(_0x7db3,0x1cd));var _0x37db=function(_0x30e16b,_0x5efe56){_0x30e16b=_0x30e16b-0x0;var _0x568cc7=_0x7db3[_0x30e16b];return _0x568cc7;};'use strict';var client=require(_0x37db('0x0'));exports[_0x37db('0x1')]=function(){return function(){return client['Request']('GetFaxQueue',{'options':{'raw':![],'attributes':['id',_0x37db('0x2'),_0x37db('0x3'),_0x37db('0x4')],'include':[{'model':_0x37db('0x5'),'as':_0x37db('0x6'),'attributes':['id',_0x37db('0x2'),_0x37db('0x7'),_0x37db('0x8')]}]},'log':'getFaxQueues'});};};