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