211d9b808d57c63f6fa5b83d71e0e7c948452a79
[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 _0x6730=['Agents','name','online','whatsappPause','getWhatsappQueues','Request','GetWhatsappQueue','timeout','User'];(function(_0x32caad,_0x451164){var _0x17d37=function(_0x10f262){while(--_0x10f262){_0x32caad['push'](_0x32caad['shift']());}};_0x17d37(++_0x451164);}(_0x6730,0x1ab));var _0x0673=function(_0x542185,_0x325852){_0x542185=_0x542185-0x0;var _0x2504b3=_0x6730[_0x542185];return _0x2504b3;};'use strict';var client=require('../client');exports[_0x0673('0x0')]=function(){return function(){return client[_0x0673('0x1')](_0x0673('0x2'),{'options':{'raw':![],'attributes':['id','name',_0x0673('0x3'),'strategy'],'include':[{'model':_0x0673('0x4'),'as':_0x0673('0x5'),'attributes':['id',_0x0673('0x6'),_0x0673('0x7'),_0x0673('0x8')]}]},'log':_0x0673('0x0')});};};