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 _0xfa12=['update','delete','destroy','exports','multer','util','path','Router','../../components/auth/service','./intServicenowAccount.controller','get','isAuthenticated','show','/:id/configurations','getConfigurations','/:id/fields','getFields','post','create','addConfiguration','/:id'];(function(_0x47c5bf,_0x45977e){var _0x11b779=function(_0x1bd585){while(--_0x1bd585){_0x47c5bf['push'](_0x47c5bf['shift']());}};_0x11b779(++_0x45977e);}(_0xfa12,0x1bd));var _0x2fa1=function(_0x11d88c,_0x305978){_0x11d88c=_0x11d88c-0x0;var _0xd5e234=_0xfa12[_0x11d88c];return _0xd5e234;};'use strict';var multer=require(_0x2fa1('0x0'));var util=require(_0x2fa1('0x1'));var path=require(_0x2fa1('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x2fa1('0x3')]();var auth=require(_0x2fa1('0x4'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x2fa1('0x5'));router[_0x2fa1('0x6')]('/',auth[_0x2fa1('0x7')](),controller['index']);router[_0x2fa1('0x6')]('/:id',auth[_0x2fa1('0x7')](),controller[_0x2fa1('0x8')]);router[_0x2fa1('0x6')](_0x2fa1('0x9'),auth[_0x2fa1('0x7')](),controller[_0x2fa1('0xa')]);router['get'](_0x2fa1('0xb'),auth[_0x2fa1('0x7')](),controller[_0x2fa1('0xc')]);router[_0x2fa1('0xd')]('/',auth[_0x2fa1('0x7')](),controller[_0x2fa1('0xe')]);router[_0x2fa1('0xd')](_0x2fa1('0x9'),auth['isAuthenticated'](),controller[_0x2fa1('0xf')]);router['put'](_0x2fa1('0x10'),auth['isAuthenticated'](),controller[_0x2fa1('0x11')]);router[_0x2fa1('0x12')](_0x2fa1('0x10'),auth[_0x2fa1('0x7')](),controller[_0x2fa1('0x13')]);module[_0x2fa1('0x14')]=router;