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 _0xc900=['online','whatsappPause','getWhatsappQueues','Request','GetWhatsappQueue','name','strategy','User'];(function(_0x4d411f,_0xb85b9b){var _0xbe0cee=function(_0x2d313f){while(--_0x2d313f){_0x4d411f['push'](_0x4d411f['shift']());}};_0xbe0cee(++_0xb85b9b);}(_0xc900,0xb3));var _0x0c90=function(_0x4cb217,_0xc06928){_0x4cb217=_0x4cb217-0x0;var _0x522411=_0xc900[_0x4cb217];return _0x522411;};'use strict';var client=require('../client');exports['getWhatsappQueues']=function(){return function(){return client[_0x0c90('0x0')](_0x0c90('0x1'),{'options':{'raw':![],'attributes':['id',_0x0c90('0x2'),'timeout',_0x0c90('0x3')],'include':[{'model':_0x0c90('0x4'),'as':'Agents','attributes':['id',_0x0c90('0x2'),_0x0c90('0x5'),_0x0c90('0x6')]}]},'log':_0x0c90('0x7')});};};