Built motion from commit 14588770.|2.5.38
[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 _0x8c18=['getWhatsappQueues','strategy','User','Agents','name','online','whatsappPause','../client'];(function(_0x4eb4c1,_0x1c4ae4){var _0x210b9a=function(_0x4ee26a){while(--_0x4ee26a){_0x4eb4c1['push'](_0x4eb4c1['shift']());}};_0x210b9a(++_0x1c4ae4);}(_0x8c18,0xbf));var _0x88c1=function(_0x7f8a2a,_0x155731){_0x7f8a2a=_0x7f8a2a-0x0;var _0x543ef3=_0x8c18[_0x7f8a2a];return _0x543ef3;};'use strict';var client=require(_0x88c1('0x0'));exports[_0x88c1('0x1')]=function(){return function(){return client['Request']('GetWhatsappQueue',{'options':{'raw':![],'attributes':['id','name','timeout',_0x88c1('0x2')],'include':[{'model':_0x88c1('0x3'),'as':_0x88c1('0x4'),'attributes':['id',_0x88c1('0x5'),_0x88c1('0x6'),_0x88c1('0x7')]}]},'log':'getWhatsappQueues'});};};