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