1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x27a5=['getMembers','getTeams','/:id/users','getAgents','post','create','/:id/teams','addTeams','addAgents','put','delete','destroy','removeTeams','removeAgents','exports','multer','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./whatsappQueue.controller','isAuthenticated','get','describe','/:id','show'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x27a5,0x188));var _0x527a=function(_0x17148a,_0x512075){_0x17148a=_0x17148a-0x0;var _0x369ff6=_0x27a5[_0x17148a];return _0x369ff6;};'use strict';var multer=require(_0x527a('0x0'));var util=require('util');var path=require(_0x527a('0x1'));var timeout=require(_0x527a('0x2'));var express=require(_0x527a('0x3'));var router=express[_0x527a('0x4')]();var fs_extra=require(_0x527a('0x5'));var auth=require(_0x527a('0x6'));var interaction=require(_0x527a('0x7'));var config=require('../../config/environment');var controller=require(_0x527a('0x8'));router['get']('/',auth[_0x527a('0x9')](),controller['index']);router[_0x527a('0xa')]('/describe',auth[_0x527a('0x9')](),controller[_0x527a('0xb')]);router['get'](_0x527a('0xc'),auth[_0x527a('0x9')](),controller[_0x527a('0xd')]);router[_0x527a('0xa')]('/:id/members',auth[_0x527a('0x9')](),controller[_0x527a('0xe')]);router[_0x527a('0xa')]('/:id/teams',auth[_0x527a('0x9')](),controller[_0x527a('0xf')]);router[_0x527a('0xa')](_0x527a('0x10'),auth[_0x527a('0x9')](),controller[_0x527a('0x11')]);router[_0x527a('0x12')]('/',auth[_0x527a('0x9')](),controller[_0x527a('0x13')]);router['post'](_0x527a('0x14'),auth[_0x527a('0x9')](),controller[_0x527a('0x15')]);router['post'](_0x527a('0x10'),auth[_0x527a('0x9')](),controller[_0x527a('0x16')]);router[_0x527a('0x17')](_0x527a('0xc'),auth[_0x527a('0x9')](),controller['update']);router[_0x527a('0x18')](_0x527a('0xc'),auth[_0x527a('0x9')](),controller[_0x527a('0x19')]);router[_0x527a('0x18')](_0x527a('0x14'),auth[_0x527a('0x9')](),controller[_0x527a('0x1a')]);router[_0x527a('0x18')](_0x527a('0x10'),auth[_0x527a('0x9')](),controller[_0x527a('0x1b')]);module[_0x527a('0x1c')]=router;