Built motion from commit 00bf23f6.|2.6.16
[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 _0xd307=['User','Agents','online','whatsappPause','getWhatsappQueues','GetWhatsappQueue','name','timeout'];(function(_0x1827ad,_0x491934){var _0x16e185=function(_0x583351){while(--_0x583351){_0x1827ad['push'](_0x1827ad['shift']());}};_0x16e185(++_0x491934);}(_0xd307,0x184));var _0x7d30=function(_0x41798e,_0x3f185d){_0x41798e=_0x41798e-0x0;var _0x31a389=_0xd307[_0x41798e];return _0x31a389;};'use strict';var client=require('../client');exports[_0x7d30('0x0')]=function(){return function(){return client['Request'](_0x7d30('0x1'),{'options':{'raw':![],'attributes':['id',_0x7d30('0x2'),_0x7d30('0x3'),'strategy'],'include':[{'model':_0x7d30('0x4'),'as':_0x7d30('0x5'),'attributes':['id',_0x7d30('0x2'),_0x7d30('0x6'),_0x7d30('0x7')]}]},'log':_0x7d30('0x0')});};};