16bd17f8797b1965f3b10d77ec74791b99e50873
[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 _0x898a=['timeout','strategy','User','name','online','../client','getFaxQueues'];(function(_0x2160a9,_0x3cbd9e){var _0xa88cf7=function(_0x51ab6f){while(--_0x51ab6f){_0x2160a9['push'](_0x2160a9['shift']());}};_0xa88cf7(++_0x3cbd9e);}(_0x898a,0x1e1));var _0xa898=function(_0xf656b3,_0xc8dc48){_0xf656b3=_0xf656b3-0x0;var _0x467a5f=_0x898a[_0xf656b3];return _0x467a5f;};'use strict';var client=require(_0xa898('0x0'));exports[_0xa898('0x1')]=function(){return function(){return client['Request']('GetFaxQueue',{'options':{'raw':![],'attributes':['id','name',_0xa898('0x2'),_0xa898('0x3')],'include':[{'model':_0xa898('0x4'),'as':'Agents','attributes':['id',_0xa898('0x5'),_0xa898('0x6'),'faxPause']}]},'log':_0xa898('0x1')});};};