2e0c53ee9ff9d6eb41d2a4a131eeeac1d987c824
[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 _0x950a=['name','timeout','strategy','User','Agents','online','whatsappPause','../client','getWhatsappQueues','GetWhatsappQueue'];(function(_0x46693c,_0x381ccf){var _0x5229d8=function(_0x414306){while(--_0x414306){_0x46693c['push'](_0x46693c['shift']());}};_0x5229d8(++_0x381ccf);}(_0x950a,0x18d));var _0xa950=function(_0x78cad1,_0xe4df2a){_0x78cad1=_0x78cad1-0x0;var _0x5409c7=_0x950a[_0x78cad1];return _0x5409c7;};'use strict';var client=require(_0xa950('0x0'));exports[_0xa950('0x1')]=function(){return function(){return client['Request'](_0xa950('0x2'),{'options':{'raw':![],'attributes':['id',_0xa950('0x3'),_0xa950('0x4'),_0xa950('0x5')],'include':[{'model':_0xa950('0x6'),'as':_0xa950('0x7'),'attributes':['id','name',_0xa950('0x8'),_0xa950('0x9')]}]},'log':_0xa950('0x1')});};};