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