Built motion from commit bab6f49e.|2.6.17
[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 _0x557c=['getFaxQueues','../client','GetFaxQueue','name','timeout','User','Agents','faxPause'];(function(_0x8c43de,_0x90ff31){var _0xa6591b=function(_0x469716){while(--_0x469716){_0x8c43de['push'](_0x8c43de['shift']());}};_0xa6591b(++_0x90ff31);}(_0x557c,0x189));var _0xc557=function(_0x45bf6a,_0x2f1405){_0x45bf6a=_0x45bf6a-0x0;var _0x19a35c=_0x557c[_0x45bf6a];return _0x19a35c;};'use strict';var client=require(_0xc557('0x0'));exports['getFaxQueues']=function(){return function(){return client['Request'](_0xc557('0x1'),{'options':{'raw':![],'attributes':['id',_0xc557('0x2'),_0xc557('0x3'),'strategy'],'include':[{'model':_0xc557('0x4'),'as':_0xc557('0x5'),'attributes':['id',_0xc557('0x2'),'online',_0xc557('0x6')]}]},'log':_0xc557('0x7')});};};