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 _0x79cb=['fs-extra','../../components/auth/service','../../config/environment','get','isAuthenticated','/:id','show','/:id/fields','getFields','getSubjects','/:id/descriptions','getDescriptions','create','put','delete','destroy','exports','multer','path','connect-timeout','express','Router'];(function(_0x3826ad,_0x49a30d){var _0x17b900=function(_0x38474f){while(--_0x38474f){_0x3826ad['push'](_0x3826ad['shift']());}};_0x17b900(++_0x49a30d);}(_0x79cb,0x1b3));var _0xb79c=function(_0x55ea84,_0x33e66d){_0x55ea84=_0x55ea84-0x0;var _0x1d1de2=_0x79cb[_0x55ea84];return _0x1d1de2;};'use strict';var multer=require(_0xb79c('0x0'));var util=require('util');var path=require(_0xb79c('0x1'));var timeout=require(_0xb79c('0x2'));var express=require(_0xb79c('0x3'));var router=express[_0xb79c('0x4')]();var fs_extra=require(_0xb79c('0x5'));var auth=require(_0xb79c('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xb79c('0x7'));var controller=require('./intServicenowConfiguration.controller');router[_0xb79c('0x8')]('/',auth[_0xb79c('0x9')](),controller['index']);router[_0xb79c('0x8')](_0xb79c('0xa'),auth[_0xb79c('0x9')](),controller[_0xb79c('0xb')]);router[_0xb79c('0x8')](_0xb79c('0xc'),auth[_0xb79c('0x9')](),controller[_0xb79c('0xd')]);router[_0xb79c('0x8')]('/:id/subjects',auth[_0xb79c('0x9')](),controller[_0xb79c('0xe')]);router['get'](_0xb79c('0xf'),auth[_0xb79c('0x9')](),controller[_0xb79c('0x10')]);router['post']('/',auth[_0xb79c('0x9')](),controller[_0xb79c('0x11')]);router[_0xb79c('0x12')](_0xb79c('0xa'),auth[_0xb79c('0x9')](),controller['update']);router[_0xb79c('0x13')](_0xb79c('0xa'),auth[_0xb79c('0x9')](),controller[_0xb79c('0x14')]);module[_0xb79c('0x15')]=router;