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