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 _0xd987=['index','get','show','create','/:id','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./tag.controller','isAuthenticated'];(function(_0x1f9f37,_0x18776e){var _0x21c080=function(_0x4acb93){while(--_0x4acb93){_0x1f9f37['push'](_0x1f9f37['shift']());}};_0x21c080(++_0x18776e);}(_0xd987,0x15d));var _0x7d98=function(_0x31e691,_0x43460d){_0x31e691=_0x31e691-0x0;var _0x423559=_0xd987[_0x31e691];return _0x423559;};'use strict';var multer=require(_0x7d98('0x0'));var util=require(_0x7d98('0x1'));var path=require(_0x7d98('0x2'));var timeout=require(_0x7d98('0x3'));var express=require(_0x7d98('0x4'));var router=express[_0x7d98('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0x7d98('0x6'));var interaction=require(_0x7d98('0x7'));var config=require(_0x7d98('0x8'));var controller=require(_0x7d98('0x9'));router['get']('/',auth[_0x7d98('0xa')](),controller[_0x7d98('0xb')]);router[_0x7d98('0xc')]('/:id',auth[_0x7d98('0xa')](),controller[_0x7d98('0xd')]);router['post']('/',auth['isAuthenticated'](),controller[_0x7d98('0xe')]);router['put'](_0x7d98('0xf'),auth[_0x7d98('0xa')](),controller[_0x7d98('0x10')]);router[_0x7d98('0x11')](_0x7d98('0xf'),auth[_0x7d98('0xa')](),controller[_0x7d98('0x12')]);module[_0x7d98('0x13')]=router;