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 _0x029f=['path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./intServicenowField.controller','get','isAuthenticated','/:id','post','put','delete','destroy','exports','multer','util'];(function(_0x388846,_0xfb2efd){var _0x476c6e=function(_0x2ff7a8){while(--_0x2ff7a8){_0x388846['push'](_0x388846['shift']());}};_0x476c6e(++_0xfb2efd);}(_0x029f,0x97));var _0xf029=function(_0x432682,_0x253044){_0x432682=_0x432682-0x0;var _0x463d05=_0x029f[_0x432682];return _0x463d05;};'use strict';var multer=require(_0xf029('0x0'));var util=require(_0xf029('0x1'));var path=require(_0xf029('0x2'));var timeout=require(_0xf029('0x3'));var express=require(_0xf029('0x4'));var router=express[_0xf029('0x5')]();var auth=require('../../components/auth/service');var interaction=require(_0xf029('0x6'));var config=require(_0xf029('0x7'));var controller=require(_0xf029('0x8'));router[_0xf029('0x9')]('/',auth[_0xf029('0xa')](),controller['index']);router[_0xf029('0x9')](_0xf029('0xb'),auth[_0xf029('0xa')](),controller['show']);router[_0xf029('0xc')]('/',auth['isAuthenticated'](),controller['create']);router[_0xf029('0xd')](_0xf029('0xb'),auth['isAuthenticated'](),controller['update']);router[_0xf029('0xe')](_0xf029('0xb'),auth[_0xf029('0xa')](),controller[_0xf029('0xf')]);module[_0xf029('0x10')]=router;