Built motion from commit 43538d75.|2.5.35
[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 _0x5abf=['multer','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./tag.controller','get','isAuthenticated','/:id','post','put','update','delete','destroy','exports'];(function(_0x263826,_0x35b35a){var _0x32af13=function(_0x93e978){while(--_0x93e978){_0x263826['push'](_0x263826['shift']());}};_0x32af13(++_0x35b35a);}(_0x5abf,0x72));var _0xf5ab=function(_0x139a4f,_0x5c6d66){_0x139a4f=_0x139a4f-0x0;var _0x46ed1c=_0x5abf[_0x139a4f];return _0x46ed1c;};'use strict';var multer=require(_0xf5ab('0x0'));var util=require(_0xf5ab('0x1'));var path=require(_0xf5ab('0x2'));var timeout=require(_0xf5ab('0x3'));var express=require(_0xf5ab('0x4'));var router=express[_0xf5ab('0x5')]();var fs_extra=require(_0xf5ab('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0xf5ab('0x7'));var config=require(_0xf5ab('0x8'));var controller=require(_0xf5ab('0x9'));router[_0xf5ab('0xa')]('/',auth[_0xf5ab('0xb')](),controller['index']);router[_0xf5ab('0xa')](_0xf5ab('0xc'),auth[_0xf5ab('0xb')](),controller['show']);router[_0xf5ab('0xd')]('/',auth[_0xf5ab('0xb')](),controller['create']);router[_0xf5ab('0xe')]('/:id',auth[_0xf5ab('0xb')](),controller[_0xf5ab('0xf')]);router[_0xf5ab('0x10')](_0xf5ab('0xc'),auth[_0xf5ab('0xb')](),controller[_0xf5ab('0x11')]);module[_0xf5ab('0x12')]=router;