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 _0x95c4=['get','isAuthenticated','index','/:id','post','put','delete','destroy','exports','multer','util','connect-timeout','Router','fs-extra','../../components/auth/service','../../config/environment','./intServicenowField.controller'];(function(_0x4f3561,_0x4ec3a8){var _0x51fe42=function(_0x2a59e7){while(--_0x2a59e7){_0x4f3561['push'](_0x4f3561['shift']());}};_0x51fe42(++_0x4ec3a8);}(_0x95c4,0x15d));var _0x495c=function(_0x344a3f,_0x579a22){_0x344a3f=_0x344a3f-0x0;var _0x264712=_0x95c4[_0x344a3f];return _0x264712;};'use strict';var multer=require(_0x495c('0x0'));var util=require(_0x495c('0x1'));var path=require('path');var timeout=require(_0x495c('0x2'));var express=require('express');var router=express[_0x495c('0x3')]();var fs_extra=require(_0x495c('0x4'));var auth=require(_0x495c('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x495c('0x6'));var controller=require(_0x495c('0x7'));router[_0x495c('0x8')]('/',auth[_0x495c('0x9')](),controller[_0x495c('0xa')]);router[_0x495c('0x8')](_0x495c('0xb'),auth[_0x495c('0x9')](),controller['show']);router[_0x495c('0xc')]('/',auth[_0x495c('0x9')](),controller['create']);router[_0x495c('0xd')](_0x495c('0xb'),auth[_0x495c('0x9')](),controller['update']);router[_0x495c('0xe')](_0x495c('0xb'),auth[_0x495c('0x9')](),controller[_0x495c('0xf')]);module[_0x495c('0x10')]=router;