80a103e683c4adc0cf580e64d387a2ff916be0ff
[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 _0xe989=['Agents','online','faxPause','../client','getFaxQueues','GetFaxQueue','name','timeout','strategy','User'];(function(_0x46ad10,_0x55f736){var _0x3ff9ea=function(_0x3e347a){while(--_0x3e347a){_0x46ad10['push'](_0x46ad10['shift']());}};_0x3ff9ea(++_0x55f736);}(_0xe989,0x1ed));var _0x9e98=function(_0x1a0daa,_0x2a4634){_0x1a0daa=_0x1a0daa-0x0;var _0x1dbe15=_0xe989[_0x1a0daa];return _0x1dbe15;};'use strict';var client=require(_0x9e98('0x0'));exports[_0x9e98('0x1')]=function(){return function(){return client['Request'](_0x9e98('0x2'),{'options':{'raw':![],'attributes':['id',_0x9e98('0x3'),_0x9e98('0x4'),_0x9e98('0x5')],'include':[{'model':_0x9e98('0x6'),'as':_0x9e98('0x7'),'attributes':['id','name',_0x9e98('0x8'),_0x9e98('0x9')]}]},'log':'getFaxQueues'});};};