Built motion from commit 25580385.|2.6.2
[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 _0x8ac5=['../client','Request','GetFaxQueue','name','timeout','strategy','User','Agents','online','faxPause','getFaxQueues'];(function(_0x45beec,_0x120b1a){var _0x487aa9=function(_0x4b3cb7){while(--_0x4b3cb7){_0x45beec['push'](_0x45beec['shift']());}};_0x487aa9(++_0x120b1a);}(_0x8ac5,0x113));var _0x58ac=function(_0x25fd75,_0x249eca){_0x25fd75=_0x25fd75-0x0;var _0x30c67d=_0x8ac5[_0x25fd75];return _0x30c67d;};'use strict';var client=require(_0x58ac('0x0'));exports['getFaxQueues']=function(){return function(){return client[_0x58ac('0x1')](_0x58ac('0x2'),{'options':{'raw':![],'attributes':['id',_0x58ac('0x3'),_0x58ac('0x4'),_0x58ac('0x5')],'include':[{'model':_0x58ac('0x6'),'as':_0x58ac('0x7'),'attributes':['id','name',_0x58ac('0x8'),_0x58ac('0x9')]}]},'log':_0x58ac('0xa')});};};