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 _0x886e=['put','isAuthenticated','delete','destroy','exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./intServicenowField.controller','get','index','/:id','post'];(function(_0x356d1b,_0x2a9fb7){var _0x4c2ca4=function(_0x4bf366){while(--_0x4bf366){_0x356d1b['push'](_0x356d1b['shift']());}};_0x4c2ca4(++_0x2a9fb7);}(_0x886e,0x149));var _0xe886=function(_0x5148b7,_0x57f80e){_0x5148b7=_0x5148b7-0x0;var _0x3295f8=_0x886e[_0x5148b7];return _0x3295f8;};'use strict';var multer=require(_0xe886('0x0'));var util=require(_0xe886('0x1'));var path=require('path');var timeout=require(_0xe886('0x2'));var express=require(_0xe886('0x3'));var router=express[_0xe886('0x4')]();var fs_extra=require(_0xe886('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0xe886('0x6'));var config=require(_0xe886('0x7'));var controller=require(_0xe886('0x8'));router[_0xe886('0x9')]('/',auth['isAuthenticated'](),controller[_0xe886('0xa')]);router['get'](_0xe886('0xb'),auth['isAuthenticated'](),controller['show']);router[_0xe886('0xc')]('/',auth['isAuthenticated'](),controller['create']);router[_0xe886('0xd')](_0xe886('0xb'),auth[_0xe886('0xe')](),controller['update']);router[_0xe886('0xf')](_0xe886('0xb'),auth[_0xe886('0xe')](),controller[_0xe886('0x10')]);module[_0xe886('0x11')]=router;