58e8cf90528cb70e0cf80e4bf13652fa57bb178e
[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 _0x46bc=['Request','GetFaxQueue','name','timeout','strategy','Agents','online','getFaxQueues'];(function(_0x1f8435,_0x48696a){var _0x208958=function(_0x3f822d){while(--_0x3f822d){_0x1f8435['push'](_0x1f8435['shift']());}};_0x208958(++_0x48696a);}(_0x46bc,0xb7));var _0xc46b=function(_0x1646fa,_0x4e5bd7){_0x1646fa=_0x1646fa-0x0;var _0x5a47a5=_0x46bc[_0x1646fa];return _0x5a47a5;};'use strict';var client=require('../client');exports[_0xc46b('0x0')]=function(){return function(){return client[_0xc46b('0x1')](_0xc46b('0x2'),{'options':{'raw':![],'attributes':['id',_0xc46b('0x3'),_0xc46b('0x4'),_0xc46b('0x5')],'include':[{'model':'User','as':_0xc46b('0x6'),'attributes':['id',_0xc46b('0x3'),_0xc46b('0x7'),'faxPause']}]},'log':_0xc46b('0x0')});};};