Built motion from commit e02f907f.|2.6.14
[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 _0xeb69=['name','timeout','strategy','User','Agents','faxPause','getFaxQueues','../client','Request','GetFaxQueue'];(function(_0x1f7a31,_0x6a7b9){var _0x29206c=function(_0x255ed1){while(--_0x255ed1){_0x1f7a31['push'](_0x1f7a31['shift']());}};_0x29206c(++_0x6a7b9);}(_0xeb69,0x197));var _0x9eb6=function(_0x44ebbd,_0x3cc760){_0x44ebbd=_0x44ebbd-0x0;var _0xc97ad=_0xeb69[_0x44ebbd];return _0xc97ad;};'use strict';var client=require(_0x9eb6('0x0'));exports['getFaxQueues']=function(){return function(){return client[_0x9eb6('0x1')](_0x9eb6('0x2'),{'options':{'raw':![],'attributes':['id',_0x9eb6('0x3'),_0x9eb6('0x4'),_0x9eb6('0x5')],'include':[{'model':_0x9eb6('0x6'),'as':_0x9eb6('0x7'),'attributes':['id','name','online',_0x9eb6('0x8')]}]},'log':_0x9eb6('0x9')});};};