f8fef90fa909c883c74ad624024e6e9d7f3512d6
[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 _0xe80b=['faxPause','../client','getFaxQueues','Request','GetFaxQueue','name','timeout','strategy','User','Agents'];(function(_0x444e5c,_0x4b1a72){var _0x16df4f=function(_0x484bd9){while(--_0x484bd9){_0x444e5c['push'](_0x444e5c['shift']());}};_0x16df4f(++_0x4b1a72);}(_0xe80b,0x15f));var _0xbe80=function(_0x4886cf,_0x2bf945){_0x4886cf=_0x4886cf-0x0;var _0x43a3f7=_0xe80b[_0x4886cf];return _0x43a3f7;};'use strict';var client=require(_0xbe80('0x0'));exports[_0xbe80('0x1')]=function(){return function(){return client[_0xbe80('0x2')](_0xbe80('0x3'),{'options':{'raw':![],'attributes':['id',_0xbe80('0x4'),_0xbe80('0x5'),_0xbe80('0x6')],'include':[{'model':_0xbe80('0x7'),'as':_0xbe80('0x8'),'attributes':['id',_0xbe80('0x4'),'online',_0xbe80('0x9')]}]},'log':_0xbe80('0x1')});};};