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 _0x2b94=['isAuthenticated','/:id','show','post','create','put','delete','destroy','exports','multer','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intSugarcrmField.controller','get'];(function(_0x1337c6,_0x3e8010){var _0x28bcf4=function(_0x3f0a5a){while(--_0x3f0a5a){_0x1337c6['push'](_0x1337c6['shift']());}};_0x28bcf4(++_0x3e8010);}(_0x2b94,0x121));var _0x42b9=function(_0x1c45e5,_0x58014b){_0x1c45e5=_0x1c45e5-0x0;var _0x1bc672=_0x2b94[_0x1c45e5];return _0x1bc672;};'use strict';var multer=require(_0x42b9('0x0'));var util=require('util');var path=require(_0x42b9('0x1'));var timeout=require(_0x42b9('0x2'));var express=require(_0x42b9('0x3'));var router=express[_0x42b9('0x4')]();var fs_extra=require(_0x42b9('0x5'));var auth=require(_0x42b9('0x6'));var interaction=require(_0x42b9('0x7'));var config=require(_0x42b9('0x8'));var controller=require(_0x42b9('0x9'));router[_0x42b9('0xa')]('/',auth[_0x42b9('0xb')](),controller['index']);router[_0x42b9('0xa')](_0x42b9('0xc'),auth['isAuthenticated'](),controller[_0x42b9('0xd')]);router[_0x42b9('0xe')]('/',auth[_0x42b9('0xb')](),controller[_0x42b9('0xf')]);router[_0x42b9('0x10')](_0x42b9('0xc'),auth[_0x42b9('0xb')](),controller['update']);router[_0x42b9('0x11')]('/:id',auth[_0x42b9('0xb')](),controller[_0x42b9('0x12')]);module[_0x42b9('0x13')]=router;