a27025142f967b0ec0de86eaa5ba124a2ef7b1ef
[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 _0x57a7=['User','Agents','online','../client','getWhatsappQueues','Request','GetWhatsappQueue','name'];(function(_0x1a52d1,_0x14271e){var _0xad2a2=function(_0x160b18){while(--_0x160b18){_0x1a52d1['push'](_0x1a52d1['shift']());}};_0xad2a2(++_0x14271e);}(_0x57a7,0x11b));var _0x757a=function(_0x26a615,_0x1074ef){_0x26a615=_0x26a615-0x0;var _0x251d7f=_0x57a7[_0x26a615];return _0x251d7f;};'use strict';var client=require(_0x757a('0x0'));exports[_0x757a('0x1')]=function(){return function(){return client[_0x757a('0x2')](_0x757a('0x3'),{'options':{'raw':![],'attributes':['id',_0x757a('0x4'),'timeout','strategy'],'include':[{'model':_0x757a('0x5'),'as':_0x757a('0x6'),'attributes':['id',_0x757a('0x4'),_0x757a('0x7'),'whatsappPause']}]},'log':_0x757a('0x1')});};};