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 _0xf2d3=['../../components/auth/service','../../components/interaction/service','../../config/environment','./intServicenowField.controller','isAuthenticated','index','/:id','show','create','put','update','delete','exports','multer','path','connect-timeout','express','Router'];(function(_0x648163,_0x241576){var _0x199d4d=function(_0x23055d){while(--_0x23055d){_0x648163['push'](_0x648163['shift']());}};_0x199d4d(++_0x241576);}(_0xf2d3,0x12d));var _0x3f2d=function(_0x34dbee,_0x4b6ce5){_0x34dbee=_0x34dbee-0x0;var _0x305094=_0xf2d3[_0x34dbee];return _0x305094;};'use strict';var multer=require(_0x3f2d('0x0'));var util=require('util');var path=require(_0x3f2d('0x1'));var timeout=require(_0x3f2d('0x2'));var express=require(_0x3f2d('0x3'));var router=express[_0x3f2d('0x4')]();var auth=require(_0x3f2d('0x5'));var interaction=require(_0x3f2d('0x6'));var config=require(_0x3f2d('0x7'));var controller=require(_0x3f2d('0x8'));router['get']('/',auth[_0x3f2d('0x9')](),controller[_0x3f2d('0xa')]);router['get'](_0x3f2d('0xb'),auth[_0x3f2d('0x9')](),controller[_0x3f2d('0xc')]);router['post']('/',auth[_0x3f2d('0x9')](),controller[_0x3f2d('0xd')]);router[_0x3f2d('0xe')](_0x3f2d('0xb'),auth[_0x3f2d('0x9')](),controller[_0x3f2d('0xf')]);router[_0x3f2d('0x10')](_0x3f2d('0xb'),auth[_0x3f2d('0x9')](),controller['destroy']);module[_0x3f2d('0x11')]=router;