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