fb8ff760f85488bcf19378b3f3bc146a06ec0946
[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 _0x26f9=['getWhatsappQueues','GetWhatsappQueue','strategy','User','name','online','whatsappPause','../client'];(function(_0x3333bb,_0x1df222){var _0x273d39=function(_0x5c411b){while(--_0x5c411b){_0x3333bb['push'](_0x3333bb['shift']());}};_0x273d39(++_0x1df222);}(_0x26f9,0x16f));var _0x926f=function(_0x30e25c,_0x355276){_0x30e25c=_0x30e25c-0x0;var _0x47959b=_0x26f9[_0x30e25c];return _0x47959b;};'use strict';var client=require(_0x926f('0x0'));exports[_0x926f('0x1')]=function(){return function(){return client['Request'](_0x926f('0x2'),{'options':{'raw':![],'attributes':['id','name','timeout',_0x926f('0x3')],'include':[{'model':_0x926f('0x4'),'as':'Agents','attributes':['id',_0x926f('0x5'),_0x926f('0x6'),_0x926f('0x7')]}]},'log':_0x926f('0x1')});};};