Built motion from commit (unavailable).|2.6.0
[motion2.git] / server / api / tag / index.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xbacf=['express','../../components/interaction/service','../../config/environment','./tag.controller','get','isAuthenticated','index','/:id','show','post','create','put','delete','destroy','exports','util','path','connect-timeout'];(function(_0xc0b7f7,_0x3eb5e5){var _0x48ab14=function(_0x51d6a0){while(--_0x51d6a0){_0xc0b7f7['push'](_0xc0b7f7['shift']());}};_0x48ab14(++_0x3eb5e5);}(_0xbacf,0xf9));var _0xfbac=function(_0x4e4f0e,_0x1c3892){_0x4e4f0e=_0x4e4f0e-0x0;var _0x1a7219=_0xbacf[_0x4e4f0e];return _0x1a7219;};'use strict';var multer=require('multer');var util=require(_0xfbac('0x0'));var path=require(_0xfbac('0x1'));var timeout=require(_0xfbac('0x2'));var express=require(_0xfbac('0x3'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0xfbac('0x4'));var config=require(_0xfbac('0x5'));var controller=require(_0xfbac('0x6'));router[_0xfbac('0x7')]('/',auth[_0xfbac('0x8')](),controller[_0xfbac('0x9')]);router[_0xfbac('0x7')](_0xfbac('0xa'),auth['isAuthenticated'](),controller[_0xfbac('0xb')]);router[_0xfbac('0xc')]('/',auth[_0xfbac('0x8')](),controller[_0xfbac('0xd')]);router[_0xfbac('0xe')](_0xfbac('0xa'),auth[_0xfbac('0x8')](),controller['update']);router[_0xfbac('0xf')](_0xfbac('0xa'),auth[_0xfbac('0x8')](),controller[_0xfbac('0x10')]);module[_0xfbac('0x11')]=router;