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 _0xb19d=['timeout','strategy','User','Agents','getWhatsappQueues','Request','GetWhatsappQueue','name'];(function(_0xe3f0b0,_0x43edc9){var _0x3a839e=function(_0x45e9cf){while(--_0x45e9cf){_0xe3f0b0['push'](_0xe3f0b0['shift']());}};_0x3a839e(++_0x43edc9);}(_0xb19d,0x115));var _0xdb19=function(_0x580b15,_0x28afa4){_0x580b15=_0x580b15-0x0;var _0x1adb1b=_0xb19d[_0x580b15];return _0x1adb1b;};'use strict';var client=require('../client');exports['getWhatsappQueues']=function(){return function(){return client[_0xdb19('0x0')](_0xdb19('0x1'),{'options':{'raw':![],'attributes':['id',_0xdb19('0x2'),_0xdb19('0x3'),_0xdb19('0x4')],'include':[{'model':_0xdb19('0x5'),'as':_0xdb19('0x6'),'attributes':['id',_0xdb19('0x2'),'online','whatsappPause']}]},'log':_0xdb19('0x7')});};};