Built motion from commit 9d0783e6.|2.6.13
[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 _0xf415=['strategy','User','Agents','name','online','whatsappPause','getWhatsappQueues','GetWhatsappQueue','timeout'];(function(_0x5b73bd,_0x3f352c){var _0x10048e=function(_0x1f206b){while(--_0x1f206b){_0x5b73bd['push'](_0x5b73bd['shift']());}};_0x10048e(++_0x3f352c);}(_0xf415,0x97));var _0x5f41=function(_0x7cc810,_0x1e192d){_0x7cc810=_0x7cc810-0x0;var _0x4ff9f6=_0xf415[_0x7cc810];return _0x4ff9f6;};'use strict';var client=require('../client');exports['getWhatsappQueues']=function(){return function(){return client['Request'](_0x5f41('0x0'),{'options':{'raw':![],'attributes':['id','name',_0x5f41('0x1'),_0x5f41('0x2')],'include':[{'model':_0x5f41('0x3'),'as':_0x5f41('0x4'),'attributes':['id',_0x5f41('0x5'),_0x5f41('0x6'),_0x5f41('0x7')]}]},'log':_0x5f41('0x8')});};};