Built motion from commit 3e059bc2.|2.5.32
[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 _0xf2a6=['name','strategy','User','Agents','online','whatsappPause','getWhatsappQueues','Request','GetWhatsappQueue'];(function(_0xd93b26,_0x12bbf2){var _0x25f668=function(_0x133ff7){while(--_0x133ff7){_0xd93b26['push'](_0xd93b26['shift']());}};_0x25f668(++_0x12bbf2);}(_0xf2a6,0x16f));var _0x6f2a=function(_0x3e7af1,_0x12c870){_0x3e7af1=_0x3e7af1-0x0;var _0x35b9b0=_0xf2a6[_0x3e7af1];return _0x35b9b0;};'use strict';var client=require('../client');exports['getWhatsappQueues']=function(){return function(){return client[_0x6f2a('0x0')](_0x6f2a('0x1'),{'options':{'raw':![],'attributes':['id',_0x6f2a('0x2'),'timeout',_0x6f2a('0x3')],'include':[{'model':_0x6f2a('0x4'),'as':_0x6f2a('0x5'),'attributes':['id',_0x6f2a('0x2'),_0x6f2a('0x6'),_0x6f2a('0x7')]}]},'log':_0x6f2a('0x8')});};};