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 _0xa45c=['whatsappPause','../client','getWhatsappQueues','name','strategy','Agents'];(function(_0x3e8cae,_0x4cb96a){var _0x45c4d6=function(_0x4bf3a5){while(--_0x4bf3a5){_0x3e8cae['push'](_0x3e8cae['shift']());}};_0x45c4d6(++_0x4cb96a);}(_0xa45c,0x6d));var _0xca45=function(_0x56f4d9,_0x5d3673){_0x56f4d9=_0x56f4d9-0x0;var _0x5abeff=_0xa45c[_0x56f4d9];return _0x5abeff;};'use strict';var client=require(_0xca45('0x0'));exports[_0xca45('0x1')]=function(){return function(){return client['Request']('GetWhatsappQueue',{'options':{'raw':![],'attributes':['id',_0xca45('0x2'),'timeout',_0xca45('0x3')],'include':[{'model':'User','as':_0xca45('0x4'),'attributes':['id','name','online',_0xca45('0x5')]}]},'log':_0xca45('0x1')});};};