f9ad76130907c6e4d0d396932f1c58bb1e30dec0
[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 _0xc5c5=['name','faxPause','../client','getFaxQueues','Request','timeout'];(function(_0x4c3344,_0x4c9e10){var _0x358bde=function(_0x1a1acc){while(--_0x1a1acc){_0x4c3344['push'](_0x4c3344['shift']());}};_0x358bde(++_0x4c9e10);}(_0xc5c5,0x1ca));var _0x5c5c=function(_0x297c56,_0x4812b8){_0x297c56=_0x297c56-0x0;var _0x193918=_0xc5c5[_0x297c56];return _0x193918;};'use strict';var client=require(_0x5c5c('0x0'));exports[_0x5c5c('0x1')]=function(){return function(){return client[_0x5c5c('0x2')]('GetFaxQueue',{'options':{'raw':![],'attributes':['id','name',_0x5c5c('0x3'),'strategy'],'include':[{'model':'User','as':'Agents','attributes':['id',_0x5c5c('0x4'),'online',_0x5c5c('0x5')]}]},'log':_0x5c5c('0x1')});};};