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 _0x9264=['/:id/tags','getTags','create','post','setTags','put','update','delete','destroy','multer','util','path','connect-timeout','../../components/auth/service','./intDeskConfiguration.controller','get','/:id','show','isAuthenticated','getFields','getSubjects'];(function(_0x33ccde,_0x5daa00){var _0x3b3ff0=function(_0x1ea39a){while(--_0x1ea39a){_0x33ccde['push'](_0x33ccde['shift']());}};_0x3b3ff0(++_0x5daa00);}(_0x9264,0xb1));var _0x4926=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0x9264[_0x20a584];return _0x4b41a8;};'use strict';var multer=require(_0x4926('0x0'));var util=require(_0x4926('0x1'));var path=require(_0x4926('0x2'));var timeout=require(_0x4926('0x3'));var express=require('express');var router=express['Router']();var auth=require(_0x4926('0x4'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x4926('0x5'));router['get']('/',auth['isAuthenticated'](),controller['index']);router[_0x4926('0x6')](_0x4926('0x7'),auth['isAuthenticated'](),controller[_0x4926('0x8')]);router[_0x4926('0x6')]('/:id/fields',auth[_0x4926('0x9')](),controller[_0x4926('0xa')]);router[_0x4926('0x6')]('/:id/subjects',auth[_0x4926('0x9')](),controller[_0x4926('0xb')]);router[_0x4926('0x6')]('/:id/descriptions',auth[_0x4926('0x9')](),controller['getDescriptions']);router['get'](_0x4926('0xc'),auth[_0x4926('0x9')](),controller[_0x4926('0xd')]);router['post']('/',auth[_0x4926('0x9')](),controller[_0x4926('0xe')]);router[_0x4926('0xf')](_0x4926('0xc'),auth[_0x4926('0x9')](),controller[_0x4926('0x10')]);router[_0x4926('0x11')](_0x4926('0x7'),auth[_0x4926('0x9')](),controller[_0x4926('0x12')]);router[_0x4926('0x13')](_0x4926('0x7'),auth[_0x4926('0x9')](),controller[_0x4926('0x14')]);module['exports']=router;