Built motion from commit 538092ac.|2.6.10
[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 _0x1f7b=['Request','GetWhatsappQueue','name','timeout','strategy','Agents','online','whatsappPause','getWhatsappQueues'];(function(_0x423488,_0x599f06){var _0x5f3ec3=function(_0x3af57f){while(--_0x3af57f){_0x423488['push'](_0x423488['shift']());}};_0x5f3ec3(++_0x599f06);}(_0x1f7b,0x1ca));var _0xb1f7=function(_0x5c3c0b,_0x4ee35e){_0x5c3c0b=_0x5c3c0b-0x0;var _0x52ecd2=_0x1f7b[_0x5c3c0b];return _0x52ecd2;};'use strict';var client=require('../client');exports[_0xb1f7('0x0')]=function(){return function(){return client[_0xb1f7('0x1')](_0xb1f7('0x2'),{'options':{'raw':![],'attributes':['id',_0xb1f7('0x3'),_0xb1f7('0x4'),_0xb1f7('0x5')],'include':[{'model':'User','as':_0xb1f7('0x6'),'attributes':['id',_0xb1f7('0x3'),_0xb1f7('0x7'),_0xb1f7('0x8')]}]},'log':'getWhatsappQueues'});};};