7297a9aab1547ab9a67725e0f2d410a594b71cef
[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 _0xe67e=['../client','getFaxQueues','Request','GetFaxQueue','name','timeout','strategy','User','online','faxPause'];(function(_0x23e224,_0x202453){var _0x7a446=function(_0x33b6ed){while(--_0x33b6ed){_0x23e224['push'](_0x23e224['shift']());}};_0x7a446(++_0x202453);}(_0xe67e,0xbe));var _0xee67=function(_0x4070fe,_0x3816fe){_0x4070fe=_0x4070fe-0x0;var _0x43f95c=_0xe67e[_0x4070fe];return _0x43f95c;};'use strict';var client=require(_0xee67('0x0'));exports[_0xee67('0x1')]=function(){return function(){return client[_0xee67('0x2')](_0xee67('0x3'),{'options':{'raw':![],'attributes':['id',_0xee67('0x4'),_0xee67('0x5'),_0xee67('0x6')],'include':[{'model':_0xee67('0x7'),'as':'Agents','attributes':['id',_0xee67('0x4'),_0xee67('0x8'),_0xee67('0x9')]}]},'log':_0xee67('0x1')});};};