70afa3da3ef0b2b08fd6fda697f0b950a6f80665
[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 _0x9503=['GetFaxQueue','name','strategy','User','Agents','online','../client','getFaxQueues','Request'];(function(_0x154e29,_0xf55d86){var _0x29e0d8=function(_0xaeaef3){while(--_0xaeaef3){_0x154e29['push'](_0x154e29['shift']());}};_0x29e0d8(++_0xf55d86);}(_0x9503,0xba));var _0x3950=function(_0x46b072,_0x360e08){_0x46b072=_0x46b072-0x0;var _0x29a62c=_0x9503[_0x46b072];return _0x29a62c;};'use strict';var client=require(_0x3950('0x0'));exports[_0x3950('0x1')]=function(){return function(){return client[_0x3950('0x2')](_0x3950('0x3'),{'options':{'raw':![],'attributes':['id',_0x3950('0x4'),'timeout',_0x3950('0x5')],'include':[{'model':_0x3950('0x6'),'as':_0x3950('0x7'),'attributes':['id',_0x3950('0x4'),_0x3950('0x8'),'faxPause']}]},'log':_0x3950('0x1')});};};