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 _0x558c=['exports','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','./tag.controller','isAuthenticated','index','get','/:id','show','post','put','update','delete'];(function(_0x12b09c,_0x235ce6){var _0x54b03e=function(_0x39cf0d){while(--_0x39cf0d){_0x12b09c['push'](_0x12b09c['shift']());}};_0x54b03e(++_0x235ce6);}(_0x558c,0xbc));var _0xc558=function(_0x3f2859,_0x41049b){_0x3f2859=_0x3f2859-0x0;var _0x54a661=_0x558c[_0x3f2859];return _0x54a661;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xc558('0x0'));var timeout=require(_0xc558('0x1'));var express=require(_0xc558('0x2'));var router=express[_0xc558('0x3')]();var fs_extra=require(_0xc558('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0xc558('0x5'));var config=require('../../config/environment');var controller=require(_0xc558('0x6'));router['get']('/',auth[_0xc558('0x7')](),controller[_0xc558('0x8')]);router[_0xc558('0x9')](_0xc558('0xa'),auth[_0xc558('0x7')](),controller[_0xc558('0xb')]);router[_0xc558('0xc')]('/',auth[_0xc558('0x7')](),controller['create']);router[_0xc558('0xd')]('/:id',auth[_0xc558('0x7')](),controller[_0xc558('0xe')]);router[_0xc558('0xf')](_0xc558('0xa'),auth['isAuthenticated'](),controller['destroy']);module[_0xc558('0x10')]=router;