Built motion from commit (unavailable).|2.5.7
[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 _0xe2cf=['whatsappPause','getWhatsappQueues','GetWhatsappQueue','timeout','strategy','User','Agents','online'];(function(_0x6131cd,_0x4c26a1){var _0x47e916=function(_0x1f2bce){while(--_0x1f2bce){_0x6131cd['push'](_0x6131cd['shift']());}};_0x47e916(++_0x4c26a1);}(_0xe2cf,0x1a1));var _0xfe2c=function(_0x4421a0,_0x1525bc){_0x4421a0=_0x4421a0-0x0;var _0x5626d0=_0xe2cf[_0x4421a0];return _0x5626d0;};'use strict';var client=require('../client');exports[_0xfe2c('0x0')]=function(){return function(){return client['Request'](_0xfe2c('0x1'),{'options':{'raw':![],'attributes':['id','name',_0xfe2c('0x2'),_0xfe2c('0x3')],'include':[{'model':_0xfe2c('0x4'),'as':_0xfe2c('0x5'),'attributes':['id','name',_0xfe2c('0x6'),_0xfe2c('0x7')]}]},'log':'getWhatsappQueues'});};};