Built motion from commit bab6f49e.|2.6.17
[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 _0x1140=['GetWhatsappQueue','User','Agents','name','whatsappPause','../client','getWhatsappQueues','Request'];(function(_0x358ae0,_0x1a3dcb){var _0xf0e8a5=function(_0x91c5f5){while(--_0x91c5f5){_0x358ae0['push'](_0x358ae0['shift']());}};_0xf0e8a5(++_0x1a3dcb);}(_0x1140,0xb5));var _0x0114=function(_0x36d60f,_0x4da75b){_0x36d60f=_0x36d60f-0x0;var _0x14aa2b=_0x1140[_0x36d60f];return _0x14aa2b;};'use strict';var client=require(_0x0114('0x0'));exports[_0x0114('0x1')]=function(){return function(){return client[_0x0114('0x2')](_0x0114('0x3'),{'options':{'raw':![],'attributes':['id','name','timeout','strategy'],'include':[{'model':_0x0114('0x4'),'as':_0x0114('0x5'),'attributes':['id',_0x0114('0x6'),'online',_0x0114('0x7')]}]},'log':_0x0114('0x1')});};};