Built motion from commit 85328c08.|2.5.50
[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 _0x9c7c=['Request','GetWhatsappQueue','name','timeout','strategy','User','Agents','online','whatsappPause','getWhatsappQueues'];(function(_0x576f0d,_0x8b8ca2){var _0x3ff2ca=function(_0x33303f){while(--_0x33303f){_0x576f0d['push'](_0x576f0d['shift']());}};_0x3ff2ca(++_0x8b8ca2);}(_0x9c7c,0x117));var _0xc9c7=function(_0x41f1c1,_0x447d24){_0x41f1c1=_0x41f1c1-0x0;var _0x1433d2=_0x9c7c[_0x41f1c1];return _0x1433d2;};'use strict';var client=require('../client');exports[_0xc9c7('0x0')]=function(){return function(){return client[_0xc9c7('0x1')](_0xc9c7('0x2'),{'options':{'raw':![],'attributes':['id',_0xc9c7('0x3'),_0xc9c7('0x4'),_0xc9c7('0x5')],'include':[{'model':_0xc9c7('0x6'),'as':_0xc9c7('0x7'),'attributes':['id',_0xc9c7('0x3'),_0xc9c7('0x8'),_0xc9c7('0x9')]}]},'log':_0xc9c7('0x0')});};};