39a3084999d3a6bef2b8f3793317a7e9a136e1d3
[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 _0x6cc9=['Agents','online','faxPause','getFaxQueues','../client','Request','GetFaxQueue','name','User'];(function(_0x2b4411,_0x2625ed){var _0x8e41ef=function(_0x2aa8c1){while(--_0x2aa8c1){_0x2b4411['push'](_0x2b4411['shift']());}};_0x8e41ef(++_0x2625ed);}(_0x6cc9,0x124));var _0x96cc=function(_0xa98046,_0x55cc7f){_0xa98046=_0xa98046-0x0;var _0x253353=_0x6cc9[_0xa98046];return _0x253353;};'use strict';var client=require(_0x96cc('0x0'));exports['getFaxQueues']=function(){return function(){return client[_0x96cc('0x1')](_0x96cc('0x2'),{'options':{'raw':![],'attributes':['id',_0x96cc('0x3'),'timeout','strategy'],'include':[{'model':_0x96cc('0x4'),'as':_0x96cc('0x5'),'attributes':['id',_0x96cc('0x3'),_0x96cc('0x6'),_0x96cc('0x7')]}]},'log':_0x96cc('0x8')});};};