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 _0x40bf=['timeout','strategy','Agents','whatsappPause','getWhatsappQueues','Request','name'];(function(_0xbb10f,_0x302a1b){var _0x21b3a9=function(_0xb08ed7){while(--_0xb08ed7){_0xbb10f['push'](_0xbb10f['shift']());}};_0x21b3a9(++_0x302a1b);}(_0x40bf,0x107));var _0xf40b=function(_0x515afd,_0x1a1e91){_0x515afd=_0x515afd-0x0;var _0x536d53=_0x40bf[_0x515afd];return _0x536d53;};'use strict';var client=require('../client');exports[_0xf40b('0x0')]=function(){return function(){return client[_0xf40b('0x1')]('GetWhatsappQueue',{'options':{'raw':![],'attributes':['id',_0xf40b('0x2'),_0xf40b('0x3'),_0xf40b('0x4')],'include':[{'model':'User','as':_0xf40b('0x5'),'attributes':['id','name','online',_0xf40b('0x6')]}]},'log':_0xf40b('0x0')});};};