e07b8c60fdd507a1841dd5f7e0361c3e11bab801
[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 _0xd190=['getFaxQueues','../client','Request','GetFaxQueue','name','strategy','Agents','online'];(function(_0x2b677a,_0x301538){var _0x4da00a=function(_0x52d5c4){while(--_0x52d5c4){_0x2b677a['push'](_0x2b677a['shift']());}};_0x4da00a(++_0x301538);}(_0xd190,0x99));var _0x0d19=function(_0x477fdb,_0x462b55){_0x477fdb=_0x477fdb-0x0;var _0x32beaf=_0xd190[_0x477fdb];return _0x32beaf;};'use strict';var client=require(_0x0d19('0x0'));exports['getFaxQueues']=function(){return function(){return client[_0x0d19('0x1')](_0x0d19('0x2'),{'options':{'raw':![],'attributes':['id',_0x0d19('0x3'),'timeout',_0x0d19('0x4')],'include':[{'model':'User','as':_0x0d19('0x5'),'attributes':['id','name',_0x0d19('0x6'),'faxPause']}]},'log':_0x0d19('0x7')});};};