b69ec3bd395e916d0a271d345d4425394e354a5d
[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 _0xf3bb=['timeout','User','Agents','online','../client','getWhatsappQueues','Request','name'];(function(_0x55fa03,_0xcb96c2){var _0x2cd7cd=function(_0x56611f){while(--_0x56611f){_0x55fa03['push'](_0x55fa03['shift']());}};_0x2cd7cd(++_0xcb96c2);}(_0xf3bb,0x9c));var _0xbf3b=function(_0x4905d4,_0x3c60d6){_0x4905d4=_0x4905d4-0x0;var _0x21ee9b=_0xf3bb[_0x4905d4];return _0x21ee9b;};'use strict';var client=require(_0xbf3b('0x0'));exports[_0xbf3b('0x1')]=function(){return function(){return client[_0xbf3b('0x2')]('GetWhatsappQueue',{'options':{'raw':![],'attributes':['id',_0xbf3b('0x3'),_0xbf3b('0x4'),'strategy'],'include':[{'model':_0xbf3b('0x5'),'as':_0xbf3b('0x6'),'attributes':['id',_0xbf3b('0x3'),_0xbf3b('0x7'),'whatsappPause']}]},'log':_0xbf3b('0x1')});};};