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 _0x88cf=['put','update','delete','destroy','removeTeams','removeAgents','exports','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappQueue.controller','isAuthenticated','index','get','describe','/:id','show','/:id/teams','getTeams','/:id/users','getAgents','post','create','addTeams','addAgents'];(function(_0x5cb97e,_0x132a39){var _0x1714b4=function(_0x384210){while(--_0x384210){_0x5cb97e['push'](_0x5cb97e['shift']());}};_0x1714b4(++_0x132a39);}(_0x88cf,0x10c));var _0xf88c=function(_0x5f09c1,_0x1e45ef){_0x5f09c1=_0x5f09c1-0x0;var _0xd12523=_0x88cf[_0x5f09c1];return _0xd12523;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0xf88c('0x0'));var express=require(_0xf88c('0x1'));var router=express[_0xf88c('0x2')]();var fs_extra=require(_0xf88c('0x3'));var auth=require(_0xf88c('0x4'));var interaction=require(_0xf88c('0x5'));var config=require(_0xf88c('0x6'));var controller=require(_0xf88c('0x7'));router['get']('/',auth[_0xf88c('0x8')](),controller[_0xf88c('0x9')]);router[_0xf88c('0xa')]('/describe',auth[_0xf88c('0x8')](),controller[_0xf88c('0xb')]);router[_0xf88c('0xa')](_0xf88c('0xc'),auth['isAuthenticated'](),controller[_0xf88c('0xd')]);router[_0xf88c('0xa')]('/:id/members',auth[_0xf88c('0x8')](),controller['getMembers']);router[_0xf88c('0xa')](_0xf88c('0xe'),auth['isAuthenticated'](),controller[_0xf88c('0xf')]);router[_0xf88c('0xa')](_0xf88c('0x10'),auth['isAuthenticated'](),controller[_0xf88c('0x11')]);router[_0xf88c('0x12')]('/',auth['isAuthenticated'](),controller[_0xf88c('0x13')]);router['post'](_0xf88c('0xe'),auth[_0xf88c('0x8')](),controller[_0xf88c('0x14')]);router[_0xf88c('0x12')](_0xf88c('0x10'),auth['isAuthenticated'](),controller[_0xf88c('0x15')]);router[_0xf88c('0x16')](_0xf88c('0xc'),auth['isAuthenticated'](),controller[_0xf88c('0x17')]);router[_0xf88c('0x18')](_0xf88c('0xc'),auth[_0xf88c('0x8')](),controller[_0xf88c('0x19')]);router[_0xf88c('0x18')]('/:id/teams',auth[_0xf88c('0x8')](),controller[_0xf88c('0x1a')]);router[_0xf88c('0x18')]('/:id/users',auth[_0xf88c('0x8')](),controller[_0xf88c('0x1b')]);module[_0xf88c('0x1c')]=router;