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 _0x0fd9=['Agents','online','whatsappPause','getWhatsappQueues','Request','GetWhatsappQueue','name','User'];(function(_0x14b61f,_0x34aa5f){var _0x29d33d=function(_0x1c25c8){while(--_0x1c25c8){_0x14b61f['push'](_0x14b61f['shift']());}};_0x29d33d(++_0x34aa5f);}(_0x0fd9,0xa3));var _0x90fd=function(_0x421263,_0x18187d){_0x421263=_0x421263-0x0;var _0x34e4b5=_0x0fd9[_0x421263];return _0x34e4b5;};'use strict';var client=require('../client');exports[_0x90fd('0x0')]=function(){return function(){return client[_0x90fd('0x1')](_0x90fd('0x2'),{'options':{'raw':![],'attributes':['id',_0x90fd('0x3'),'timeout','strategy'],'include':[{'model':_0x90fd('0x4'),'as':_0x90fd('0x5'),'attributes':['id',_0x90fd('0x3'),_0x90fd('0x6'),_0x90fd('0x7')]}]},'log':_0x90fd('0x0')});};};