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 _0xc3bf=['update','destroy','exports','util','path','express','Router','fs-extra','../../components/auth/service','./intFreshdeskConfiguration.controller','index','get','/:id','isAuthenticated','show','/:id/fields','getSubjects','/:id/descriptions','getDescriptions','getTags','post','create','put'];(function(_0x559138,_0x564491){var _0x5c27d5=function(_0x4de283){while(--_0x4de283){_0x559138['push'](_0x559138['shift']());}};_0x5c27d5(++_0x564491);}(_0xc3bf,0xe9));var _0xfc3b=function(_0x1d5b69,_0x57592a){_0x1d5b69=_0x1d5b69-0x0;var _0x464222=_0xc3bf[_0x1d5b69];return _0x464222;};'use strict';var multer=require('multer');var util=require(_0xfc3b('0x0'));var path=require(_0xfc3b('0x1'));var timeout=require('connect-timeout');var express=require(_0xfc3b('0x2'));var router=express[_0xfc3b('0x3')]();var fs_extra=require(_0xfc3b('0x4'));var auth=require(_0xfc3b('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xfc3b('0x6'));router['get']('/',auth['isAuthenticated'](),controller[_0xfc3b('0x7')]);router[_0xfc3b('0x8')](_0xfc3b('0x9'),auth[_0xfc3b('0xa')](),controller[_0xfc3b('0xb')]);router[_0xfc3b('0x8')](_0xfc3b('0xc'),auth[_0xfc3b('0xa')](),controller['getFields']);router[_0xfc3b('0x8')]('/:id/subjects',auth[_0xfc3b('0xa')](),controller[_0xfc3b('0xd')]);router[_0xfc3b('0x8')](_0xfc3b('0xe'),auth[_0xfc3b('0xa')](),controller[_0xfc3b('0xf')]);router[_0xfc3b('0x8')]('/:id/tags',auth[_0xfc3b('0xa')](),controller[_0xfc3b('0x10')]);router[_0xfc3b('0x11')]('/',auth[_0xfc3b('0xa')](),controller[_0xfc3b('0x12')]);router[_0xfc3b('0x11')]('/:id/tags',auth[_0xfc3b('0xa')](),controller['setTags']);router[_0xfc3b('0x13')](_0xfc3b('0x9'),auth[_0xfc3b('0xa')](),controller[_0xfc3b('0x14')]);router['delete']('/:id',auth[_0xfc3b('0xa')](),controller[_0xfc3b('0x15')]);module[_0xfc3b('0x16')]=router;