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