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 _0x1bf0=['util','connect-timeout','express','fs-extra','../../components/auth/service','../../config/environment','./intServicenowField.controller','get','index','show','post','create','put','/:id','isAuthenticated','delete','destroy','exports','multer'];(function(_0x20f256,_0x2f58ec){var _0x5ced25=function(_0x15a4c4){while(--_0x15a4c4){_0x20f256['push'](_0x20f256['shift']());}};_0x5ced25(++_0x2f58ec);}(_0x1bf0,0x142));var _0x01bf=function(_0x232593,_0x12a00a){_0x232593=_0x232593-0x0;var _0x3e3662=_0x1bf0[_0x232593];return _0x3e3662;};'use strict';var multer=require(_0x01bf('0x0'));var util=require(_0x01bf('0x1'));var path=require('path');var timeout=require(_0x01bf('0x2'));var express=require(_0x01bf('0x3'));var router=express['Router']();var fs_extra=require(_0x01bf('0x4'));var auth=require(_0x01bf('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x01bf('0x6'));var controller=require(_0x01bf('0x7'));router[_0x01bf('0x8')]('/',auth['isAuthenticated'](),controller[_0x01bf('0x9')]);router[_0x01bf('0x8')]('/:id',auth['isAuthenticated'](),controller[_0x01bf('0xa')]);router[_0x01bf('0xb')]('/',auth['isAuthenticated'](),controller[_0x01bf('0xc')]);router[_0x01bf('0xd')](_0x01bf('0xe'),auth[_0x01bf('0xf')](),controller['update']);router[_0x01bf('0x10')](_0x01bf('0xe'),auth[_0x01bf('0xf')](),controller[_0x01bf('0x11')]);module[_0x01bf('0x12')]=router;