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 _0x2aa7=['put','update','delete','exports','multer','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./intServicenowField.controller','isAuthenticated','index','get','/:id','show','post','create'];(function(_0x38abad,_0x406e7b){var _0x2e160c=function(_0x299bb5){while(--_0x299bb5){_0x38abad['push'](_0x38abad['shift']());}};_0x2e160c(++_0x406e7b);}(_0x2aa7,0x16c));var _0x72aa=function(_0x2d0b04,_0x5db0eb){_0x2d0b04=_0x2d0b04-0x0;var _0x26e3fc=_0x2aa7[_0x2d0b04];return _0x26e3fc;};'use strict';var multer=require(_0x72aa('0x0'));var util=require(_0x72aa('0x1'));var path=require(_0x72aa('0x2'));var timeout=require(_0x72aa('0x3'));var express=require(_0x72aa('0x4'));var router=express['Router']();var auth=require(_0x72aa('0x5'));var interaction=require(_0x72aa('0x6'));var config=require(_0x72aa('0x7'));var controller=require(_0x72aa('0x8'));router['get']('/',auth[_0x72aa('0x9')](),controller[_0x72aa('0xa')]);router[_0x72aa('0xb')](_0x72aa('0xc'),auth['isAuthenticated'](),controller[_0x72aa('0xd')]);router[_0x72aa('0xe')]('/',auth[_0x72aa('0x9')](),controller[_0x72aa('0xf')]);router[_0x72aa('0x10')]('/:id',auth['isAuthenticated'](),controller[_0x72aa('0x11')]);router[_0x72aa('0x12')](_0x72aa('0xc'),auth[_0x72aa('0x9')](),controller['destroy']);module[_0x72aa('0x13')]=router;