1d2be99f75cd75c989f153fb1a2e4e601598718d
[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 _0x55aa=['whatsappPause','../client','getWhatsappQueues','Request','name','timeout','strategy','User','Agents','online'];(function(_0x32466a,_0x43fa50){var _0x1ab561=function(_0x474ec1){while(--_0x474ec1){_0x32466a['push'](_0x32466a['shift']());}};_0x1ab561(++_0x43fa50);}(_0x55aa,0x155));var _0xa55a=function(_0x325846,_0x20b7e9){_0x325846=_0x325846-0x0;var _0x46fead=_0x55aa[_0x325846];return _0x46fead;};'use strict';var client=require(_0xa55a('0x0'));exports[_0xa55a('0x1')]=function(){return function(){return client[_0xa55a('0x2')]('GetWhatsappQueue',{'options':{'raw':![],'attributes':['id',_0xa55a('0x3'),_0xa55a('0x4'),_0xa55a('0x5')],'include':[{'model':_0xa55a('0x6'),'as':_0xa55a('0x7'),'attributes':['id',_0xa55a('0x3'),_0xa55a('0x8'),_0xa55a('0x9')]}]},'log':_0xa55a('0x1')});};};