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 _0x8be4=['index','/:id','show','post','isAuthenticated','put','update','destroy','exports','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','get'];(function(_0x409e72,_0x2c5061){var _0x51ca54=function(_0xcb4e75){while(--_0xcb4e75){_0x409e72['push'](_0x409e72['shift']());}};_0x51ca54(++_0x2c5061);}(_0x8be4,0x129));var _0x48be=function(_0xb0b922,_0x183826){_0xb0b922=_0xb0b922-0x0;var _0x5dc41e=_0x8be4[_0xb0b922];return _0x5dc41e;};'use strict';var multer=require('multer');var util=require(_0x48be('0x0'));var path=require(_0x48be('0x1'));var timeout=require(_0x48be('0x2'));var express=require(_0x48be('0x3'));var router=express[_0x48be('0x4')]();var fs_extra=require(_0x48be('0x5'));var auth=require(_0x48be('0x6'));var interaction=require(_0x48be('0x7'));var config=require('../../config/environment');var controller=require('./intServicenowField.controller');router[_0x48be('0x8')]('/',auth['isAuthenticated'](),controller[_0x48be('0x9')]);router[_0x48be('0x8')](_0x48be('0xa'),auth['isAuthenticated'](),controller[_0x48be('0xb')]);router[_0x48be('0xc')]('/',auth[_0x48be('0xd')](),controller['create']);router[_0x48be('0xe')](_0x48be('0xa'),auth[_0x48be('0xd')](),controller[_0x48be('0xf')]);router['delete'](_0x48be('0xa'),auth[_0x48be('0xd')](),controller[_0x48be('0x10')]);module[_0x48be('0x11')]=router;