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