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 _0x29e8=['index','/:id','show','/:id/fields','getFields','/:id/subjects','getSubjects','/:id/descriptions','post','put','update','delete','destroy','exports','multer','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','./intSugarcrmConfiguration.controller','get','isAuthenticated'];(function(_0x5eb05c,_0x4415de){var _0xb398a0=function(_0x3bdb7f){while(--_0x3bdb7f){_0x5eb05c['push'](_0x5eb05c['shift']());}};_0xb398a0(++_0x4415de);}(_0x29e8,0x150));var _0x829e=function(_0x5129bc,_0x4eb789){_0x5129bc=_0x5129bc-0x0;var _0x56a712=_0x29e8[_0x5129bc];return _0x56a712;};'use strict';var multer=require(_0x829e('0x0'));var util=require('util');var path=require(_0x829e('0x1'));var timeout=require(_0x829e('0x2'));var express=require(_0x829e('0x3'));var router=express['Router']();var auth=require(_0x829e('0x4'));var interaction=require(_0x829e('0x5'));var config=require('../../config/environment');var controller=require(_0x829e('0x6'));router[_0x829e('0x7')]('/',auth[_0x829e('0x8')](),controller[_0x829e('0x9')]);router[_0x829e('0x7')](_0x829e('0xa'),auth['isAuthenticated'](),controller[_0x829e('0xb')]);router[_0x829e('0x7')](_0x829e('0xc'),auth['isAuthenticated'](),controller[_0x829e('0xd')]);router[_0x829e('0x7')](_0x829e('0xe'),auth[_0x829e('0x8')](),controller[_0x829e('0xf')]);router[_0x829e('0x7')](_0x829e('0x10'),auth[_0x829e('0x8')](),controller['getDescriptions']);router[_0x829e('0x11')]('/',auth[_0x829e('0x8')](),controller['create']);router[_0x829e('0x12')](_0x829e('0xa'),auth[_0x829e('0x8')](),controller[_0x829e('0x13')]);router[_0x829e('0x14')]('/:id',auth[_0x829e('0x8')](),controller[_0x829e('0x15')]);module[_0x829e('0x16')]=router;