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 _0x86cb=['express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/:id','show','post','create','put','update','delete','destroy','util','connect-timeout'];(function(_0x5776bc,_0x2151f2){var _0xecd448=function(_0x5a3440){while(--_0x5a3440){_0x5776bc['push'](_0x5776bc['shift']());}};_0xecd448(++_0x2151f2);}(_0x86cb,0x130));var _0xb86c=function(_0x2e4e19,_0x493b50){_0x2e4e19=_0x2e4e19-0x0;var _0x9ba20b=_0x86cb[_0x2e4e19];return _0x9ba20b;};'use strict';var multer=require('multer');var util=require(_0xb86c('0x0'));var path=require('path');var timeout=require(_0xb86c('0x1'));var express=require(_0xb86c('0x2'));var router=express[_0xb86c('0x3')]();var auth=require(_0xb86c('0x4'));var interaction=require(_0xb86c('0x5'));var config=require(_0xb86c('0x6'));var controller=require('./intSugarcrmField.controller');router[_0xb86c('0x7')]('/',auth[_0xb86c('0x8')](),controller[_0xb86c('0x9')]);router[_0xb86c('0x7')](_0xb86c('0xa'),auth[_0xb86c('0x8')](),controller[_0xb86c('0xb')]);router[_0xb86c('0xc')]('/',auth[_0xb86c('0x8')](),controller[_0xb86c('0xd')]);router[_0xb86c('0xe')](_0xb86c('0xa'),auth[_0xb86c('0x8')](),controller[_0xb86c('0xf')]);router[_0xb86c('0x10')](_0xb86c('0xa'),auth['isAuthenticated'](),controller[_0xb86c('0x11')]);module['exports']=router;