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 _0x043c=['delete','destroy','multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./tag.controller','isAuthenticated','get','/:id','post','create','put','update'];(function(_0xac151d,_0x4ea1d2){var _0x111dba=function(_0x13d7f4){while(--_0x13d7f4){_0xac151d['push'](_0xac151d['shift']());}};_0x111dba(++_0x4ea1d2);}(_0x043c,0xc8));var _0xc043=function(_0x4a095e,_0x381cd5){_0x4a095e=_0x4a095e-0x0;var _0x10ef73=_0x043c[_0x4a095e];return _0x10ef73;};'use strict';var multer=require(_0xc043('0x0'));var util=require(_0xc043('0x1'));var path=require('path');var timeout=require(_0xc043('0x2'));var express=require(_0xc043('0x3'));var router=express[_0xc043('0x4')]();var fs_extra=require(_0xc043('0x5'));var auth=require(_0xc043('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xc043('0x7'));var controller=require(_0xc043('0x8'));router['get']('/',auth[_0xc043('0x9')](),controller['index']);router[_0xc043('0xa')](_0xc043('0xb'),auth['isAuthenticated'](),controller['show']);router[_0xc043('0xc')]('/',auth[_0xc043('0x9')](),controller[_0xc043('0xd')]);router[_0xc043('0xe')](_0xc043('0xb'),auth[_0xc043('0x9')](),controller[_0xc043('0xf')]);router[_0xc043('0x10')](_0xc043('0xb'),auth['isAuthenticated'](),controller[_0xc043('0x11')]);module['exports']=router;