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 _0xa0cc=['GetWhatsappQueue','name','timeout','strategy','User','whatsappPause','../client','getWhatsappQueues','Request'];(function(_0x1eda20,_0x1149f4){var _0x31b953=function(_0x25f0d8){while(--_0x25f0d8){_0x1eda20['push'](_0x1eda20['shift']());}};_0x31b953(++_0x1149f4);}(_0xa0cc,0x1e3));var _0xca0c=function(_0x5044cd,_0x4f901d){_0x5044cd=_0x5044cd-0x0;var _0x40e4bc=_0xa0cc[_0x5044cd];return _0x40e4bc;};'use strict';var client=require(_0xca0c('0x0'));exports[_0xca0c('0x1')]=function(){return function(){return client[_0xca0c('0x2')](_0xca0c('0x3'),{'options':{'raw':![],'attributes':['id',_0xca0c('0x4'),_0xca0c('0x5'),_0xca0c('0x6')],'include':[{'model':_0xca0c('0x7'),'as':'Agents','attributes':['id','name','online',_0xca0c('0x8')]}]},'log':_0xca0c('0x1')});};};