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 _0x7a5e=['connect-timeout','express','../../components/auth/service','../../components/interaction/service','./intServicenowConfiguration.controller','get','isAuthenticated','/:id','show','/:id/fields','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','post','create','put','update','delete','exports','multer','util','path'];(function(_0x501510,_0x61caa9){var _0x1e6ee5=function(_0x32845b){while(--_0x32845b){_0x501510['push'](_0x501510['shift']());}};_0x1e6ee5(++_0x61caa9);}(_0x7a5e,0x9e));var _0xe7a5=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x7a5e[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0xe7a5('0x0'));var util=require(_0xe7a5('0x1'));var path=require(_0xe7a5('0x2'));var timeout=require(_0xe7a5('0x3'));var express=require(_0xe7a5('0x4'));var router=express['Router']();var auth=require(_0xe7a5('0x5'));var interaction=require(_0xe7a5('0x6'));var config=require('../../config/environment');var controller=require(_0xe7a5('0x7'));router[_0xe7a5('0x8')]('/',auth[_0xe7a5('0x9')](),controller['index']);router[_0xe7a5('0x8')](_0xe7a5('0xa'),auth[_0xe7a5('0x9')](),controller[_0xe7a5('0xb')]);router[_0xe7a5('0x8')](_0xe7a5('0xc'),auth[_0xe7a5('0x9')](),controller['getFields']);router[_0xe7a5('0x8')](_0xe7a5('0xd'),auth[_0xe7a5('0x9')](),controller[_0xe7a5('0xe')]);router[_0xe7a5('0x8')](_0xe7a5('0xf'),auth[_0xe7a5('0x9')](),controller[_0xe7a5('0x10')]);router[_0xe7a5('0x11')]('/',auth[_0xe7a5('0x9')](),controller[_0xe7a5('0x12')]);router[_0xe7a5('0x13')](_0xe7a5('0xa'),auth[_0xe7a5('0x9')](),controller[_0xe7a5('0x14')]);router[_0xe7a5('0x15')](_0xe7a5('0xa'),auth[_0xe7a5('0x9')](),controller['destroy']);module[_0xe7a5('0x16')]=router;