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