Built motion from commit 7158bc59.|2.5.42
[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 _0xd77a=['User','Agents','online','whatsappPause','../client','getWhatsappQueues','Request','GetWhatsappQueue','name','timeout','strategy'];(function(_0x221085,_0x5dbc19){var _0x29e0bd=function(_0x520b6a){while(--_0x520b6a){_0x221085['push'](_0x221085['shift']());}};_0x29e0bd(++_0x5dbc19);}(_0xd77a,0xeb));var _0xad77=function(_0x53af73,_0x16a217){_0x53af73=_0x53af73-0x0;var _0x14749a=_0xd77a[_0x53af73];return _0x14749a;};'use strict';var client=require(_0xad77('0x0'));exports[_0xad77('0x1')]=function(){return function(){return client[_0xad77('0x2')](_0xad77('0x3'),{'options':{'raw':![],'attributes':['id',_0xad77('0x4'),_0xad77('0x5'),_0xad77('0x6')],'include':[{'model':_0xad77('0x7'),'as':_0xad77('0x8'),'attributes':['id',_0xad77('0x4'),_0xad77('0x9'),_0xad77('0xa')]}]},'log':'getWhatsappQueues'});};};