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 _0xd843=['destroy','multer','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intServicenowField.controller','isAuthenticated','index','get','/:id','show','post','create','delete'];(function(_0x3074f3,_0x4f2c03){var _0x53f112=function(_0x4a17af){while(--_0x4a17af){_0x3074f3['push'](_0x3074f3['shift']());}};_0x53f112(++_0x4f2c03);}(_0xd843,0x1bb));var _0x3d84=function(_0x4aa4e6,_0x278c45){_0x4aa4e6=_0x4aa4e6-0x0;var _0x322588=_0xd843[_0x4aa4e6];return _0x322588;};'use strict';var multer=require(_0x3d84('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x3d84('0x1'));var express=require(_0x3d84('0x2'));var router=express[_0x3d84('0x3')]();var auth=require(_0x3d84('0x4'));var interaction=require(_0x3d84('0x5'));var config=require(_0x3d84('0x6'));var controller=require(_0x3d84('0x7'));router['get']('/',auth[_0x3d84('0x8')](),controller[_0x3d84('0x9')]);router[_0x3d84('0xa')](_0x3d84('0xb'),auth[_0x3d84('0x8')](),controller[_0x3d84('0xc')]);router[_0x3d84('0xd')]('/',auth[_0x3d84('0x8')](),controller[_0x3d84('0xe')]);router['put']('/:id',auth['isAuthenticated'](),controller['update']);router[_0x3d84('0xf')](_0x3d84('0xb'),auth['isAuthenticated'](),controller[_0x3d84('0x10')]);module['exports']=router;