Built motion from commit 497d3d92.|2.5.43
[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 _0x1ba9=['whatsappPause','getWhatsappQueues','Request','GetWhatsappQueue','name','timeout','User','Agents','online'];(function(_0x1161f4,_0x381f17){var _0x20d236=function(_0x62093f){while(--_0x62093f){_0x1161f4['push'](_0x1161f4['shift']());}};_0x20d236(++_0x381f17);}(_0x1ba9,0xf5));var _0x91ba=function(_0x50b86,_0x190c6b){_0x50b86=_0x50b86-0x0;var _0x1773ed=_0x1ba9[_0x50b86];return _0x1773ed;};'use strict';var client=require('../client');exports['getWhatsappQueues']=function(){return function(){return client[_0x91ba('0x0')](_0x91ba('0x1'),{'options':{'raw':![],'attributes':['id',_0x91ba('0x2'),_0x91ba('0x3'),'strategy'],'include':[{'model':_0x91ba('0x4'),'as':_0x91ba('0x5'),'attributes':['id','name',_0x91ba('0x6'),_0x91ba('0x7')]}]},'log':_0x91ba('0x8')});};};