7537e5752d9fee7145cb830c84c46799f57ca2f0
[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 _0xcc32=['strategy','name','online','getFaxQueues','../client','Request','GetFaxQueue','timeout'];(function(_0x414655,_0x79d916){var _0x237884=function(_0x2737d9){while(--_0x2737d9){_0x414655['push'](_0x414655['shift']());}};_0x237884(++_0x79d916);}(_0xcc32,0xec));var _0x2cc3=function(_0x160c73,_0x2ee678){_0x160c73=_0x160c73-0x0;var _0xd9302=_0xcc32[_0x160c73];return _0xd9302;};'use strict';var client=require(_0x2cc3('0x0'));exports['getFaxQueues']=function(){return function(){return client[_0x2cc3('0x1')](_0x2cc3('0x2'),{'options':{'raw':![],'attributes':['id','name',_0x2cc3('0x3'),_0x2cc3('0x4')],'include':[{'model':'User','as':'Agents','attributes':['id',_0x2cc3('0x5'),_0x2cc3('0x6'),'faxPause']}]},'log':_0x2cc3('0x7')});};};