Built motion from commit 994c64e1.|2.6.1
[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 _0xb3e3=['GetWhatsappQueue','name','timeout','strategy','User','Agents','online','whatsappPause','getWhatsappQueues'];(function(_0x3523cb,_0x511b5c){var _0x54efd9=function(_0x48ee79){while(--_0x48ee79){_0x3523cb['push'](_0x3523cb['shift']());}};_0x54efd9(++_0x511b5c);}(_0xb3e3,0x1ee));var _0x3b3e=function(_0x4105c6,_0xa4e64c){_0x4105c6=_0x4105c6-0x0;var _0x5c6569=_0xb3e3[_0x4105c6];return _0x5c6569;};'use strict';var client=require('../client');exports[_0x3b3e('0x0')]=function(){return function(){return client['Request'](_0x3b3e('0x1'),{'options':{'raw':![],'attributes':['id',_0x3b3e('0x2'),_0x3b3e('0x3'),_0x3b3e('0x4')],'include':[{'model':_0x3b3e('0x5'),'as':_0x3b3e('0x6'),'attributes':['id',_0x3b3e('0x2'),_0x3b3e('0x7'),_0x3b3e('0x8')]}]},'log':'getWhatsappQueues'});};};