Built motion from commit 9d0783e6.|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 _0xb02f=['strategy','User','Agents','online','../client','getWhatsappQueues','Request','GetWhatsappQueue','name','timeout'];(function(_0xc18afe,_0x2e94a0){var _0x1b6c13=function(_0x7d87b5){while(--_0x7d87b5){_0xc18afe['push'](_0xc18afe['shift']());}};_0x1b6c13(++_0x2e94a0);}(_0xb02f,0x1d0));var _0xfb02=function(_0x24c516,_0x6344c5){_0x24c516=_0x24c516-0x0;var _0x4b1a72=_0xb02f[_0x24c516];return _0x4b1a72;};'use strict';var client=require(_0xfb02('0x0'));exports[_0xfb02('0x1')]=function(){return function(){return client[_0xfb02('0x2')](_0xfb02('0x3'),{'options':{'raw':![],'attributes':['id',_0xfb02('0x4'),_0xfb02('0x5'),_0xfb02('0x6')],'include':[{'model':_0xfb02('0x7'),'as':_0xfb02('0x8'),'attributes':['id','name',_0xfb02('0x9'),'whatsappPause']}]},'log':_0xfb02('0x1')});};};