4bb98255e27aa8dfb9a783a473cac125b3cb51c9
[motion2.git] / server / services / routing / rpc / whatsappQueue.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 _0xe1e3=['name','online','whatsappPause','../client','getWhatsappQueues','GetWhatsappQueue','strategy','Agents'];(function(_0xface3,_0x2dc754){var _0x554771=function(_0x529416){while(--_0x529416){_0xface3['push'](_0xface3['shift']());}};_0x554771(++_0x2dc754);}(_0xe1e3,0x1bb));var _0x3e1e=function(_0x2938c9,_0x1ccaa2){_0x2938c9=_0x2938c9-0x0;var _0x38937c=_0xe1e3[_0x2938c9];return _0x38937c;};'use strict';var client=require(_0x3e1e('0x0'));exports[_0x3e1e('0x1')]=function(){return function(){return client['Request'](_0x3e1e('0x2'),{'options':{'raw':![],'attributes':['id','name','timeout',_0x3e1e('0x3')],'include':[{'model':'User','as':_0x3e1e('0x4'),'attributes':['id',_0x3e1e('0x5'),_0x3e1e('0x6'),_0x3e1e('0x7')]}]},'log':_0x3e1e('0x1')});};};