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 _0x3c10=['multer','util','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intServicenowField.controller','get','index','isAuthenticated','show','create','put','/:id','update','delete','destroy','exports'];(function(_0x2ab297,_0x2d6ea0){var _0x519b07=function(_0x323355){while(--_0x323355){_0x2ab297['push'](_0x2ab297['shift']());}};_0x519b07(++_0x2d6ea0);}(_0x3c10,0x1b8));var _0x03c1=function(_0x19be0e,_0x207bdd){_0x19be0e=_0x19be0e-0x0;var _0x5c24cd=_0x3c10[_0x19be0e];return _0x5c24cd;};'use strict';var multer=require(_0x03c1('0x0'));var util=require(_0x03c1('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x03c1('0x2'));var router=express[_0x03c1('0x3')]();var fs_extra=require(_0x03c1('0x4'));var auth=require(_0x03c1('0x5'));var interaction=require(_0x03c1('0x6'));var config=require(_0x03c1('0x7'));var controller=require(_0x03c1('0x8'));router[_0x03c1('0x9')]('/',auth['isAuthenticated'](),controller[_0x03c1('0xa')]);router[_0x03c1('0x9')]('/:id',auth[_0x03c1('0xb')](),controller[_0x03c1('0xc')]);router['post']('/',auth[_0x03c1('0xb')](),controller[_0x03c1('0xd')]);router[_0x03c1('0xe')](_0x03c1('0xf'),auth[_0x03c1('0xb')](),controller[_0x03c1('0x10')]);router[_0x03c1('0x11')]('/:id',auth[_0x03c1('0xb')](),controller[_0x03c1('0x12')]);module[_0x03c1('0x13')]=router;