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 _0x1ba9=['post','create','put','update','delete','destroy','exports','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/:id'];(function(_0x2cfce4,_0x19e9b3){var _0x32c9ce=function(_0x485f15){while(--_0x485f15){_0x2cfce4['push'](_0x2cfce4['shift']());}};_0x32c9ce(++_0x19e9b3);}(_0x1ba9,0xf5));var _0x91ba=function(_0x24dcd4,_0xf849b7){_0x24dcd4=_0x24dcd4-0x0;var _0x54ec84=_0x1ba9[_0x24dcd4];return _0x54ec84;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x91ba('0x0'));var timeout=require(_0x91ba('0x1'));var express=require(_0x91ba('0x2'));var router=express[_0x91ba('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0x91ba('0x4'));var config=require(_0x91ba('0x5'));var controller=require('./intServicenowField.controller');router[_0x91ba('0x6')]('/',auth[_0x91ba('0x7')](),controller[_0x91ba('0x8')]);router['get'](_0x91ba('0x9'),auth[_0x91ba('0x7')](),controller['show']);router[_0x91ba('0xa')]('/',auth[_0x91ba('0x7')](),controller[_0x91ba('0xb')]);router[_0x91ba('0xc')]('/:id',auth[_0x91ba('0x7')](),controller[_0x91ba('0xd')]);router[_0x91ba('0xe')](_0x91ba('0x9'),auth[_0x91ba('0x7')](),controller[_0x91ba('0xf')]);module[_0x91ba('0x10')]=router;