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