1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x6a95=['Router','../../components/auth/service','./intDeskConfiguration.controller','get','isAuthenticated','index','/:id','/:id/fields','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','post','create','/:id/tags','setTags','put','delete','destroy','multer','util','path','connect-timeout','express'];(function(_0x2f8e7f,_0x49182c){var _0x50a9ea=function(_0x20e07d){while(--_0x20e07d){_0x2f8e7f['push'](_0x2f8e7f['shift']());}};_0x50a9ea(++_0x49182c);}(_0x6a95,0x1db));var _0x56a9=function(_0xf0bcac,_0x531755){_0xf0bcac=_0xf0bcac-0x0;var _0x4e4c65=_0x6a95[_0xf0bcac];return _0x4e4c65;};'use strict';var multer=require(_0x56a9('0x0'));var util=require(_0x56a9('0x1'));var path=require(_0x56a9('0x2'));var timeout=require(_0x56a9('0x3'));var express=require(_0x56a9('0x4'));var router=express[_0x56a9('0x5')]();var auth=require(_0x56a9('0x6'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x56a9('0x7'));router[_0x56a9('0x8')]('/',auth[_0x56a9('0x9')](),controller[_0x56a9('0xa')]);router[_0x56a9('0x8')](_0x56a9('0xb'),auth[_0x56a9('0x9')](),controller['show']);router['get'](_0x56a9('0xc'),auth[_0x56a9('0x9')](),controller['getFields']);router[_0x56a9('0x8')](_0x56a9('0xd'),auth[_0x56a9('0x9')](),controller[_0x56a9('0xe')]);router[_0x56a9('0x8')](_0x56a9('0xf'),auth[_0x56a9('0x9')](),controller[_0x56a9('0x10')]);router[_0x56a9('0x8')]('/:id/tags',auth[_0x56a9('0x9')](),controller['getTags']);router[_0x56a9('0x11')]('/',auth[_0x56a9('0x9')](),controller[_0x56a9('0x12')]);router[_0x56a9('0x11')](_0x56a9('0x13'),auth[_0x56a9('0x9')](),controller[_0x56a9('0x14')]);router[_0x56a9('0x15')](_0x56a9('0xb'),auth['isAuthenticated'](),controller['update']);router[_0x56a9('0x16')](_0x56a9('0xb'),auth[_0x56a9('0x9')](),controller[_0x56a9('0x17')]);module['exports']=router;