Built motion from commit (unavailable).|2.5.14
[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 _0x1fcc=['post','put','/:id','update','delete','destroy','exports','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intDeskConfiguration.controller','isAuthenticated','index','get','show','/:id/fields','getSubjects','/:id/descriptions','getDescriptions','/:id/tags','getTags'];(function(_0x45295e,_0x4f07d3){var _0x3e37fe=function(_0x3d8d04){while(--_0x3d8d04){_0x45295e['push'](_0x45295e['shift']());}};_0x3e37fe(++_0x4f07d3);}(_0x1fcc,0x125));var _0xc1fc=function(_0x29d6e6,_0x264220){_0x29d6e6=_0x29d6e6-0x0;var _0xc75ff0=_0x1fcc[_0x29d6e6];return _0xc75ff0;};'use strict';var multer=require(_0xc1fc('0x0'));var util=require(_0xc1fc('0x1'));var path=require('path');var timeout=require(_0xc1fc('0x2'));var express=require(_0xc1fc('0x3'));var router=express[_0xc1fc('0x4')]();var auth=require(_0xc1fc('0x5'));var interaction=require(_0xc1fc('0x6'));var config=require(_0xc1fc('0x7'));var controller=require(_0xc1fc('0x8'));router['get']('/',auth[_0xc1fc('0x9')](),controller[_0xc1fc('0xa')]);router[_0xc1fc('0xb')]('/:id',auth[_0xc1fc('0x9')](),controller[_0xc1fc('0xc')]);router['get'](_0xc1fc('0xd'),auth[_0xc1fc('0x9')](),controller['getFields']);router[_0xc1fc('0xb')]('/:id/subjects',auth[_0xc1fc('0x9')](),controller[_0xc1fc('0xe')]);router['get'](_0xc1fc('0xf'),auth[_0xc1fc('0x9')](),controller[_0xc1fc('0x10')]);router[_0xc1fc('0xb')](_0xc1fc('0x11'),auth['isAuthenticated'](),controller[_0xc1fc('0x12')]);router[_0xc1fc('0x13')]('/',auth[_0xc1fc('0x9')](),controller['create']);router[_0xc1fc('0x13')](_0xc1fc('0x11'),auth[_0xc1fc('0x9')](),controller['setTags']);router[_0xc1fc('0x14')](_0xc1fc('0x15'),auth[_0xc1fc('0x9')](),controller[_0xc1fc('0x16')]);router[_0xc1fc('0x17')](_0xc1fc('0x15'),auth[_0xc1fc('0x9')](),controller[_0xc1fc('0x18')]);module[_0xc1fc('0x19')]=router;