53cf74fb17fb4fc090a6a7a5771da8238d3a20fe
[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 _0x6572=['timeout','User','online','faxPause','../client','getFaxQueues','name'];(function(_0x2afd88,_0x20d2f8){var _0x4f9262=function(_0x11b99b){while(--_0x11b99b){_0x2afd88['push'](_0x2afd88['shift']());}};_0x4f9262(++_0x20d2f8);}(_0x6572,0x7b));var _0x2657=function(_0x289b0c,_0xe3df44){_0x289b0c=_0x289b0c-0x0;var _0x45e3cc=_0x6572[_0x289b0c];return _0x45e3cc;};'use strict';var client=require(_0x2657('0x0'));exports[_0x2657('0x1')]=function(){return function(){return client['Request']('GetFaxQueue',{'options':{'raw':![],'attributes':['id',_0x2657('0x2'),_0x2657('0x3'),'strategy'],'include':[{'model':_0x2657('0x4'),'as':'Agents','attributes':['id','name',_0x2657('0x5'),_0x2657('0x6')]}]},'log':'getFaxQueues'});};};