5e3eefd3216b8ca95b43dc088344c469293a8a59
[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 _0x4e81=['name','online','whatsappPause','../client','getWhatsappQueues','Request','strategy','User','Agents'];(function(_0x4b1032,_0x36952e){var _0x5a1d55=function(_0x282e9b){while(--_0x282e9b){_0x4b1032['push'](_0x4b1032['shift']());}};_0x5a1d55(++_0x36952e);}(_0x4e81,0x1bc));var _0x14e8=function(_0x21b706,_0x1022f4){_0x21b706=_0x21b706-0x0;var _0x13b94a=_0x4e81[_0x21b706];return _0x13b94a;};'use strict';var client=require(_0x14e8('0x0'));exports[_0x14e8('0x1')]=function(){return function(){return client[_0x14e8('0x2')]('GetWhatsappQueue',{'options':{'raw':![],'attributes':['id','name','timeout',_0x14e8('0x3')],'include':[{'model':_0x14e8('0x4'),'as':_0x14e8('0x5'),'attributes':['id',_0x14e8('0x6'),_0x14e8('0x7'),_0x14e8('0x8')]}]},'log':'getWhatsappQueues'});};};