17b0c2a5aa9f5dfc3a2a0fe76ea3e8941517586e
[motion2.git] / server / services / routing / rpc / whatsappQueue.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x04e0=['getWhatsappQueues','Request','GetWhatsappQueue','name','timeout','strategy','User','online','whatsappPause','../client'];(function(_0x4b055c,_0x4b870b){var _0x4b62bb=function(_0x4884c2){while(--_0x4884c2){_0x4b055c['push'](_0x4b055c['shift']());}};_0x4b62bb(++_0x4b870b);}(_0x04e0,0x185));var _0x004e=function(_0x55359d,_0x11b4e3){_0x55359d=_0x55359d-0x0;var _0x26bc70=_0x04e0[_0x55359d];return _0x26bc70;};'use strict';var client=require(_0x004e('0x0'));exports[_0x004e('0x1')]=function(){return function(){return client[_0x004e('0x2')](_0x004e('0x3'),{'options':{'raw':![],'attributes':['id',_0x004e('0x4'),_0x004e('0x5'),_0x004e('0x6')],'include':[{'model':_0x004e('0x7'),'as':'Agents','attributes':['id',_0x004e('0x4'),_0x004e('0x8'),_0x004e('0x9')]}]},'log':'getWhatsappQueues'});};};