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 _0x0428=['online','../client','getWhatsappQueues','name','timeout','strategy','User'];(function(_0x2e0e37,_0x83de4b){var _0x468443=function(_0x5379c8){while(--_0x5379c8){_0x2e0e37['push'](_0x2e0e37['shift']());}};_0x468443(++_0x83de4b);}(_0x0428,0x13c));var _0x8042=function(_0x3ad23d,_0x1c5fd3){_0x3ad23d=_0x3ad23d-0x0;var _0x5aeda0=_0x0428[_0x3ad23d];return _0x5aeda0;};'use strict';var client=require(_0x8042('0x0'));exports[_0x8042('0x1')]=function(){return function(){return client['Request']('GetWhatsappQueue',{'options':{'raw':![],'attributes':['id',_0x8042('0x2'),_0x8042('0x3'),_0x8042('0x4')],'include':[{'model':_0x8042('0x5'),'as':'Agents','attributes':['id',_0x8042('0x2'),_0x8042('0x6'),'whatsappPause']}]},'log':_0x8042('0x1')});};};