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