Built motion from commit (unavailable).|2.5.4
[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 _0x984a=['strategy','Agents','online','faxPause','getFaxQueues','Request','GetFaxQueue','name','timeout'];(function(_0x2fee96,_0x2f735d){var _0x2e6ad1=function(_0x2c55ad){while(--_0x2c55ad){_0x2fee96['push'](_0x2fee96['shift']());}};_0x2e6ad1(++_0x2f735d);}(_0x984a,0x149));var _0xa984=function(_0x413057,_0x283424){_0x413057=_0x413057-0x0;var _0x390720=_0x984a[_0x413057];return _0x390720;};'use strict';var client=require('../client');exports['getFaxQueues']=function(){return function(){return client[_0xa984('0x0')](_0xa984('0x1'),{'options':{'raw':![],'attributes':['id',_0xa984('0x2'),_0xa984('0x3'),_0xa984('0x4')],'include':[{'model':'User','as':_0xa984('0x5'),'attributes':['id',_0xa984('0x2'),_0xa984('0x6'),_0xa984('0x7')]}]},'log':_0xa984('0x8')});};};