Built motion from commit 19a84241.|2.5.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 _0xe305=['strategy','User','name','online','getWhatsappQueues','Request','timeout'];(function(_0x516f52,_0x210b10){var _0x5d06db=function(_0x26ceab){while(--_0x26ceab){_0x516f52['push'](_0x516f52['shift']());}};_0x5d06db(++_0x210b10);}(_0xe305,0xeb));var _0x5e30=function(_0x4f33ff,_0x4cc52d){_0x4f33ff=_0x4f33ff-0x0;var _0x40e19c=_0xe305[_0x4f33ff];return _0x40e19c;};'use strict';var client=require('../client');exports[_0x5e30('0x0')]=function(){return function(){return client[_0x5e30('0x1')]('GetWhatsappQueue',{'options':{'raw':![],'attributes':['id','name',_0x5e30('0x2'),_0x5e30('0x3')],'include':[{'model':_0x5e30('0x4'),'as':'Agents','attributes':['id',_0x5e30('0x5'),_0x5e30('0x6'),'whatsappPause']}]},'log':'getWhatsappQueues'});};};