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