c63c6555473d6ccb5bb7244fa13190858ad876cd
[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 _0xa34a=['strategy','Agents','online','../client','getWhatsappQueues','GetWhatsappQueue','name'];(function(_0x4737a0,_0x36520e){var _0x4d558b=function(_0xaa9825){while(--_0xaa9825){_0x4737a0['push'](_0x4737a0['shift']());}};_0x4d558b(++_0x36520e);}(_0xa34a,0x137));var _0xaa34=function(_0x5b53bc,_0x595d90){_0x5b53bc=_0x5b53bc-0x0;var _0x141486=_0xa34a[_0x5b53bc];return _0x141486;};'use strict';var client=require(_0xaa34('0x0'));exports[_0xaa34('0x1')]=function(){return function(){return client['Request'](_0xaa34('0x2'),{'options':{'raw':![],'attributes':['id',_0xaa34('0x3'),'timeout',_0xaa34('0x4')],'include':[{'model':'User','as':_0xaa34('0x5'),'attributes':['id',_0xaa34('0x3'),_0xaa34('0x6'),'whatsappPause']}]},'log':'getWhatsappQueues'});};};