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 _0x923c=['get','/:id','show','post','create','update','destroy','exports','multer','path','connect-timeout','fs-extra','../../config/environment','./tag.controller','isAuthenticated','index'];(function(_0x1e2024,_0x36d4f9){var _0x5521dc=function(_0xbfde7f){while(--_0xbfde7f){_0x1e2024['push'](_0x1e2024['shift']());}};_0x5521dc(++_0x36d4f9);}(_0x923c,0x198));var _0xc923=function(_0x895e35,_0x2ea4d8){_0x895e35=_0x895e35-0x0;var _0x34a906=_0x923c[_0x895e35];return _0x34a906;};'use strict';var multer=require(_0xc923('0x0'));var util=require('util');var path=require(_0xc923('0x1'));var timeout=require(_0xc923('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require(_0xc923('0x3'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xc923('0x4'));var controller=require(_0xc923('0x5'));router['get']('/',auth[_0xc923('0x6')](),controller[_0xc923('0x7')]);router[_0xc923('0x8')](_0xc923('0x9'),auth[_0xc923('0x6')](),controller[_0xc923('0xa')]);router[_0xc923('0xb')]('/',auth[_0xc923('0x6')](),controller[_0xc923('0xc')]);router['put'](_0xc923('0x9'),auth[_0xc923('0x6')](),controller[_0xc923('0xd')]);router['delete'](_0xc923('0x9'),auth[_0xc923('0x6')](),controller[_0xc923('0xe')]);module[_0xc923('0xf')]=router;