0f615769ae201fd36c5fb82d4f702d4c077b2127
[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 _0x40b9=['name','timeout','User','Agents','online','faxPause','getFaxQueues','../client','Request'];(function(_0x4936fb,_0x10fda9){var _0x4430ab=function(_0xd722c3){while(--_0xd722c3){_0x4936fb['push'](_0x4936fb['shift']());}};_0x4430ab(++_0x10fda9);}(_0x40b9,0x18a));var _0x940b=function(_0x51433a,_0x124f08){_0x51433a=_0x51433a-0x0;var _0x22c8b8=_0x40b9[_0x51433a];return _0x22c8b8;};'use strict';var client=require(_0x940b('0x0'));exports['getFaxQueues']=function(){return function(){return client[_0x940b('0x1')]('GetFaxQueue',{'options':{'raw':![],'attributes':['id',_0x940b('0x2'),_0x940b('0x3'),'strategy'],'include':[{'model':_0x940b('0x4'),'as':_0x940b('0x5'),'attributes':['id','name',_0x940b('0x6'),_0x940b('0x7')]}]},'log':_0x940b('0x8')});};};