2c8ac698fd19714852e07cc8c10306302b92f897
[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 _0x51d4=['Request','name','timeout','User','Agents','online','whatsappPause','../client','getWhatsappQueues'];(function(_0x2641f9,_0x26715f){var _0x585741=function(_0x2d1462){while(--_0x2d1462){_0x2641f9['push'](_0x2641f9['shift']());}};_0x585741(++_0x26715f);}(_0x51d4,0xbb));var _0x451d=function(_0x41795d,_0x2c5800){_0x41795d=_0x41795d-0x0;var _0x158e33=_0x51d4[_0x41795d];return _0x158e33;};'use strict';var client=require(_0x451d('0x0'));exports[_0x451d('0x1')]=function(){return function(){return client[_0x451d('0x2')]('GetWhatsappQueue',{'options':{'raw':![],'attributes':['id',_0x451d('0x3'),_0x451d('0x4'),'strategy'],'include':[{'model':_0x451d('0x5'),'as':_0x451d('0x6'),'attributes':['id','name',_0x451d('0x7'),_0x451d('0x8')]}]},'log':_0x451d('0x1')});};};