Built motion from commit d5e4af8c.|2.6.23
[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 _0x1827=['name','timeout','strategy','User','Agents','online','whatsappPause','../client','getWhatsappQueues','GetWhatsappQueue'];(function(_0x3edfe4,_0x3301ef){var _0x44572b=function(_0x33b5a0){while(--_0x33b5a0){_0x3edfe4['push'](_0x3edfe4['shift']());}};_0x44572b(++_0x3301ef);}(_0x1827,0xcf));var _0x7182=function(_0x3ab51d,_0x2fa01d){_0x3ab51d=_0x3ab51d-0x0;var _0x29a04e=_0x1827[_0x3ab51d];return _0x29a04e;};'use strict';var client=require(_0x7182('0x0'));exports[_0x7182('0x1')]=function(){return function(){return client['Request'](_0x7182('0x2'),{'options':{'raw':![],'attributes':['id',_0x7182('0x3'),_0x7182('0x4'),_0x7182('0x5')],'include':[{'model':_0x7182('0x6'),'as':_0x7182('0x7'),'attributes':['id',_0x7182('0x3'),_0x7182('0x8'),_0x7182('0x9')]}]},'log':'getWhatsappQueues'});};};