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