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 _0x4144=['/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','post','create','delete','exports','util','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intServicenowConfiguration.controller','get','isAuthenticated','/:id','show','/:id/fields'];(function(_0x276fa5,_0x272b20){var _0x4c808e=function(_0x458279){while(--_0x458279){_0x276fa5['push'](_0x276fa5['shift']());}};_0x4c808e(++_0x272b20);}(_0x4144,0x170));var _0x4414=function(_0x5bfbe5,_0x3b9ac5){_0x5bfbe5=_0x5bfbe5-0x0;var _0x400dd8=_0x4144[_0x5bfbe5];return _0x400dd8;};'use strict';var multer=require('multer');var util=require(_0x4414('0x0'));var path=require('path');var timeout=require(_0x4414('0x1'));var express=require('express');var router=express[_0x4414('0x2')]();var auth=require(_0x4414('0x3'));var interaction=require(_0x4414('0x4'));var config=require(_0x4414('0x5'));var controller=require(_0x4414('0x6'));router[_0x4414('0x7')]('/',auth[_0x4414('0x8')](),controller['index']);router[_0x4414('0x7')](_0x4414('0x9'),auth[_0x4414('0x8')](),controller[_0x4414('0xa')]);router[_0x4414('0x7')](_0x4414('0xb'),auth[_0x4414('0x8')](),controller['getFields']);router['get'](_0x4414('0xc'),auth[_0x4414('0x8')](),controller[_0x4414('0xd')]);router['get'](_0x4414('0xe'),auth[_0x4414('0x8')](),controller[_0x4414('0xf')]);router[_0x4414('0x10')]('/',auth[_0x4414('0x8')](),controller[_0x4414('0x11')]);router['put'](_0x4414('0x9'),auth[_0x4414('0x8')](),controller['update']);router[_0x4414('0x12')](_0x4414('0x9'),auth[_0x4414('0x8')](),controller['destroy']);module[_0x4414('0x13')]=router;