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