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 _0xb2e6=['util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./tag.controller','get','isAuthenticated','index','/:id','show','create','put','update','destroy','multer'];(function(_0x192151,_0x32a6f8){var _0x4001bc=function(_0xdba27a){while(--_0xdba27a){_0x192151['push'](_0x192151['shift']());}};_0x4001bc(++_0x32a6f8);}(_0xb2e6,0x1da));var _0x6b2e=function(_0x42745d,_0x5d3ff9){_0x42745d=_0x42745d-0x0;var _0x3224cf=_0xb2e6[_0x42745d];return _0x3224cf;};'use strict';var multer=require(_0x6b2e('0x0'));var util=require(_0x6b2e('0x1'));var path=require('path');var timeout=require(_0x6b2e('0x2'));var express=require(_0x6b2e('0x3'));var router=express[_0x6b2e('0x4')]();var fs_extra=require(_0x6b2e('0x5'));var auth=require(_0x6b2e('0x6'));var interaction=require(_0x6b2e('0x7'));var config=require(_0x6b2e('0x8'));var controller=require(_0x6b2e('0x9'));router[_0x6b2e('0xa')]('/',auth[_0x6b2e('0xb')](),controller[_0x6b2e('0xc')]);router[_0x6b2e('0xa')](_0x6b2e('0xd'),auth[_0x6b2e('0xb')](),controller[_0x6b2e('0xe')]);router['post']('/',auth['isAuthenticated'](),controller[_0x6b2e('0xf')]);router[_0x6b2e('0x10')](_0x6b2e('0xd'),auth[_0x6b2e('0xb')](),controller[_0x6b2e('0x11')]);router['delete'](_0x6b2e('0xd'),auth[_0x6b2e('0xb')](),controller[_0x6b2e('0x12')]);module['exports']=router;