1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x1b44=['whatsappPause','../client','getWhatsappQueues','Request','GetWhatsappQueue','timeout','strategy','User','Agents','name','online'];(function(_0x1a6f7f,_0x45eaf1){var _0x4a09c2=function(_0x5a808c){while(--_0x5a808c){_0x1a6f7f['push'](_0x1a6f7f['shift']());}};_0x4a09c2(++_0x45eaf1);}(_0x1b44,0x16c));var _0x41b4=function(_0x5980b4,_0x324826){_0x5980b4=_0x5980b4-0x0;var _0x46f597=_0x1b44[_0x5980b4];return _0x46f597;};'use strict';var client=require(_0x41b4('0x0'));exports[_0x41b4('0x1')]=function(){return function(){return client[_0x41b4('0x2')](_0x41b4('0x3'),{'options':{'raw':![],'attributes':['id','name',_0x41b4('0x4'),_0x41b4('0x5')],'include':[{'model':_0x41b4('0x6'),'as':_0x41b4('0x7'),'attributes':['id',_0x41b4('0x8'),_0x41b4('0x9'),_0x41b4('0xa')]}]},'log':_0x41b4('0x1')});};};