Built motion from commit a679711e.|2.6.15
[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 _0x90ee=['GetWhatsappQueue','name','timeout','strategy','User','Agents','online','whatsappPause','../client','getWhatsappQueues','Request'];(function(_0x158da6,_0x3cb06d){var _0x429c30=function(_0x2d5895){while(--_0x2d5895){_0x158da6['push'](_0x158da6['shift']());}};_0x429c30(++_0x3cb06d);}(_0x90ee,0x19f));var _0xe90e=function(_0x5d43b5,_0x3d1c74){_0x5d43b5=_0x5d43b5-0x0;var _0x2c5fba=_0x90ee[_0x5d43b5];return _0x2c5fba;};'use strict';var client=require(_0xe90e('0x0'));exports[_0xe90e('0x1')]=function(){return function(){return client[_0xe90e('0x2')](_0xe90e('0x3'),{'options':{'raw':![],'attributes':['id',_0xe90e('0x4'),_0xe90e('0x5'),_0xe90e('0x6')],'include':[{'model':_0xe90e('0x7'),'as':_0xe90e('0x8'),'attributes':['id',_0xe90e('0x4'),_0xe90e('0x9'),_0xe90e('0xa')]}]},'log':_0xe90e('0x1')});};};