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 _0x87eb=['getFields','/:id/subjects','/:id/descriptions','getDescriptions','/:id/tags','post','create','setTags','put','update','exports','multer','util','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./intFreshdeskConfiguration.controller','get','isAuthenticated','index','/:id','show','/:id/fields'];(function(_0x5b644e,_0x2e5e07){var _0x49c6bf=function(_0x3032d9){while(--_0x3032d9){_0x5b644e['push'](_0x5b644e['shift']());}};_0x49c6bf(++_0x2e5e07);}(_0x87eb,0x105));var _0xb87e=function(_0xdea41a,_0x552987){_0xdea41a=_0xdea41a-0x0;var _0x15d0d8=_0x87eb[_0xdea41a];return _0x15d0d8;};'use strict';var multer=require(_0xb87e('0x0'));var util=require(_0xb87e('0x1'));var path=require('path');var timeout=require(_0xb87e('0x2'));var express=require(_0xb87e('0x3'));var router=express['Router']();var auth=require(_0xb87e('0x4'));var interaction=require(_0xb87e('0x5'));var config=require(_0xb87e('0x6'));var controller=require(_0xb87e('0x7'));router[_0xb87e('0x8')]('/',auth[_0xb87e('0x9')](),controller[_0xb87e('0xa')]);router[_0xb87e('0x8')](_0xb87e('0xb'),auth['isAuthenticated'](),controller[_0xb87e('0xc')]);router[_0xb87e('0x8')](_0xb87e('0xd'),auth[_0xb87e('0x9')](),controller[_0xb87e('0xe')]);router[_0xb87e('0x8')](_0xb87e('0xf'),auth[_0xb87e('0x9')](),controller['getSubjects']);router[_0xb87e('0x8')](_0xb87e('0x10'),auth[_0xb87e('0x9')](),controller[_0xb87e('0x11')]);router[_0xb87e('0x8')](_0xb87e('0x12'),auth[_0xb87e('0x9')](),controller['getTags']);router[_0xb87e('0x13')]('/',auth[_0xb87e('0x9')](),controller[_0xb87e('0x14')]);router[_0xb87e('0x13')](_0xb87e('0x12'),auth[_0xb87e('0x9')](),controller[_0xb87e('0x15')]);router[_0xb87e('0x16')](_0xb87e('0xb'),auth[_0xb87e('0x9')](),controller[_0xb87e('0x17')]);router['delete']('/:id',auth[_0xb87e('0x9')](),controller['destroy']);module[_0xb87e('0x18')]=router;