8fcb2a782278ffc000c3f84b7885f2265300facb
[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 _0xe3d4=['GetWhatsappQueue','timeout','strategy','Agents','online','whatsappPause','getWhatsappQueues','Request'];(function(_0x5f56d4,_0xe465a8){var _0x119509=function(_0x3abf0c){while(--_0x3abf0c){_0x5f56d4['push'](_0x5f56d4['shift']());}};_0x119509(++_0xe465a8);}(_0xe3d4,0xc6));var _0x4e3d=function(_0xc20f22,_0x49698f){_0xc20f22=_0xc20f22-0x0;var _0x1535d5=_0xe3d4[_0xc20f22];return _0x1535d5;};'use strict';var client=require('../client');exports[_0x4e3d('0x0')]=function(){return function(){return client[_0x4e3d('0x1')](_0x4e3d('0x2'),{'options':{'raw':![],'attributes':['id','name',_0x4e3d('0x3'),_0x4e3d('0x4')],'include':[{'model':'User','as':_0x4e3d('0x5'),'attributes':['id','name',_0x4e3d('0x6'),_0x4e3d('0x7')]}]},'log':'getWhatsappQueues'});};};