Built motion from commit b5a10faa.|2.6.13
[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 _0x39d3=['GetWhatsappQueue','name','timeout','strategy','User','Agents','online','whatsappPause','../client','getWhatsappQueues','Request'];(function(_0x3a2bd3,_0x4df97b){var _0x119eef=function(_0x4436dc){while(--_0x4436dc){_0x3a2bd3['push'](_0x3a2bd3['shift']());}};_0x119eef(++_0x4df97b);}(_0x39d3,0x194));var _0x339d=function(_0x138dda,_0x2bbb39){_0x138dda=_0x138dda-0x0;var _0x4a7e0c=_0x39d3[_0x138dda];return _0x4a7e0c;};'use strict';var client=require(_0x339d('0x0'));exports[_0x339d('0x1')]=function(){return function(){return client[_0x339d('0x2')](_0x339d('0x3'),{'options':{'raw':![],'attributes':['id',_0x339d('0x4'),_0x339d('0x5'),_0x339d('0x6')],'include':[{'model':_0x339d('0x7'),'as':_0x339d('0x8'),'attributes':['id','name',_0x339d('0x9'),_0x339d('0xa')]}]},'log':_0x339d('0x1')});};};