a804790951e4b8d5055b615f6501d40f9b80a090
[motion2.git] / server / api / intDeskConfiguration / 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 _0x524e=['path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intDeskConfiguration.controller','get','isAuthenticated','/:id','/:id/fields','getFields','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','/:id/tags','getTags','create','post','setTags','update','delete','exports'];(function(_0x55f06f,_0xdabf4){var _0x563d17=function(_0x523486){while(--_0x523486){_0x55f06f['push'](_0x55f06f['shift']());}};_0x563d17(++_0xdabf4);}(_0x524e,0x15e));var _0xe524=function(_0x5a2447,_0x4ca382){_0x5a2447=_0x5a2447-0x0;var _0x49368e=_0x524e[_0x5a2447];return _0x49368e;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xe524('0x0'));var timeout=require(_0xe524('0x1'));var express=require(_0xe524('0x2'));var router=express[_0xe524('0x3')]();var auth=require(_0xe524('0x4'));var interaction=require(_0xe524('0x5'));var config=require(_0xe524('0x6'));var controller=require(_0xe524('0x7'));router[_0xe524('0x8')]('/',auth[_0xe524('0x9')](),controller['index']);router[_0xe524('0x8')](_0xe524('0xa'),auth[_0xe524('0x9')](),controller['show']);router[_0xe524('0x8')](_0xe524('0xb'),auth[_0xe524('0x9')](),controller[_0xe524('0xc')]);router[_0xe524('0x8')](_0xe524('0xd'),auth[_0xe524('0x9')](),controller[_0xe524('0xe')]);router[_0xe524('0x8')](_0xe524('0xf'),auth[_0xe524('0x9')](),controller[_0xe524('0x10')]);router[_0xe524('0x8')](_0xe524('0x11'),auth[_0xe524('0x9')](),controller[_0xe524('0x12')]);router['post']('/',auth['isAuthenticated'](),controller[_0xe524('0x13')]);router[_0xe524('0x14')](_0xe524('0x11'),auth[_0xe524('0x9')](),controller[_0xe524('0x15')]);router['put'](_0xe524('0xa'),auth['isAuthenticated'](),controller[_0xe524('0x16')]);router[_0xe524('0x17')]('/:id',auth[_0xe524('0x9')](),controller['destroy']);module[_0xe524('0x18')]=router;