Built motion from commit 10af8726.|2.6.34
[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 _0x8b15=['Request','GetWhatsappQueue','name','timeout','strategy','User','Agents','online','whatsappPause','../client','getWhatsappQueues'];(function(_0xa041de,_0x3600e2){var _0x1d654c=function(_0x295d70){while(--_0x295d70){_0xa041de['push'](_0xa041de['shift']());}};_0x1d654c(++_0x3600e2);}(_0x8b15,0x77));var _0x58b1=function(_0x3434e2,_0x445235){_0x3434e2=_0x3434e2-0x0;var _0x3e503e=_0x8b15[_0x3434e2];return _0x3e503e;};'use strict';var client=require(_0x58b1('0x0'));exports[_0x58b1('0x1')]=function(){return function(){return client[_0x58b1('0x2')](_0x58b1('0x3'),{'options':{'raw':![],'attributes':['id',_0x58b1('0x4'),_0x58b1('0x5'),_0x58b1('0x6')],'include':[{'model':_0x58b1('0x7'),'as':_0x58b1('0x8'),'attributes':['id',_0x58b1('0x4'),_0x58b1('0x9'),_0x58b1('0xa')]}]},'log':_0x58b1('0x1')});};};