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