f7cac24d0a63e04b338d67fdac818e334538682a
[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 _0x8664=['getWhatsappQueues','Request','name','strategy','User','Agents','online','whatsappPause','../client'];(function(_0x264d79,_0x3d4271){var _0x3478bb=function(_0x197d35){while(--_0x197d35){_0x264d79['push'](_0x264d79['shift']());}};_0x3478bb(++_0x3d4271);}(_0x8664,0x131));var _0x4866=function(_0x5087d7,_0xd455f2){_0x5087d7=_0x5087d7-0x0;var _0x7dd873=_0x8664[_0x5087d7];return _0x7dd873;};'use strict';var client=require(_0x4866('0x0'));exports[_0x4866('0x1')]=function(){return function(){return client[_0x4866('0x2')]('GetWhatsappQueue',{'options':{'raw':![],'attributes':['id',_0x4866('0x3'),'timeout',_0x4866('0x4')],'include':[{'model':_0x4866('0x5'),'as':_0x4866('0x6'),'attributes':['id',_0x4866('0x3'),_0x4866('0x7'),_0x4866('0x8')]}]},'log':_0x4866('0x1')});};};