f99e2cc03473f9d1a124a305c91d781c71b1e063
[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 _0xf2e3=['User','Agents','online','getFaxQueues','../client','Request','GetFaxQueue','name','strategy'];(function(_0x12d75f,_0x363cc9){var _0x26b291=function(_0x218053){while(--_0x218053){_0x12d75f['push'](_0x12d75f['shift']());}};_0x26b291(++_0x363cc9);}(_0xf2e3,0x151));var _0x3f2e=function(_0x47fd36,_0x41535d){_0x47fd36=_0x47fd36-0x0;var _0x21a0fc=_0xf2e3[_0x47fd36];return _0x21a0fc;};'use strict';var client=require(_0x3f2e('0x0'));exports['getFaxQueues']=function(){return function(){return client[_0x3f2e('0x1')](_0x3f2e('0x2'),{'options':{'raw':![],'attributes':['id',_0x3f2e('0x3'),'timeout',_0x3f2e('0x4')],'include':[{'model':_0x3f2e('0x5'),'as':_0x3f2e('0x6'),'attributes':['id',_0x3f2e('0x3'),_0x3f2e('0x7'),'faxPause']}]},'log':_0x3f2e('0x8')});};};