Built motion from commit 9d7072cc.|2.5.39
[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 _0x9706=['online','whatsappPause','../client','getWhatsappQueues','Request','GetWhatsappQueue','timeout','strategy','User','Agents','name'];(function(_0xe2c95e,_0x3e6545){var _0x42ce6f=function(_0x218482){while(--_0x218482){_0xe2c95e['push'](_0xe2c95e['shift']());}};_0x42ce6f(++_0x3e6545);}(_0x9706,0x1f1));var _0x6970=function(_0x264c41,_0x520c68){_0x264c41=_0x264c41-0x0;var _0x76cc5=_0x9706[_0x264c41];return _0x76cc5;};'use strict';var client=require(_0x6970('0x0'));exports[_0x6970('0x1')]=function(){return function(){return client[_0x6970('0x2')](_0x6970('0x3'),{'options':{'raw':![],'attributes':['id','name',_0x6970('0x4'),_0x6970('0x5')],'include':[{'model':_0x6970('0x6'),'as':_0x6970('0x7'),'attributes':['id',_0x6970('0x8'),_0x6970('0x9'),_0x6970('0xa')]}]},'log':'getWhatsappQueues'});};};