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