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 _0xb10b=['whatsappPause','../client','Request','GetWhatsappQueue','name','strategy','User','Agents','online'];(function(_0x5b7d03,_0x41049f){var _0x4070f1=function(_0x2868cf){while(--_0x2868cf){_0x5b7d03['push'](_0x5b7d03['shift']());}};_0x4070f1(++_0x41049f);}(_0xb10b,0x12a));var _0xbb10=function(_0x4239bd,_0x1f310b){_0x4239bd=_0x4239bd-0x0;var _0x21f061=_0xb10b[_0x4239bd];return _0x21f061;};'use strict';var client=require(_0xbb10('0x0'));exports['getWhatsappQueues']=function(){return function(){return client[_0xbb10('0x1')](_0xbb10('0x2'),{'options':{'raw':![],'attributes':['id',_0xbb10('0x3'),'timeout',_0xbb10('0x4')],'include':[{'model':_0xbb10('0x5'),'as':_0xbb10('0x6'),'attributes':['id',_0xbb10('0x3'),_0xbb10('0x7'),_0xbb10('0x8')]}]},'log':'getWhatsappQueues'});};};