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 _0x9c91=['./intSugarcrmField.controller','isAuthenticated','index','get','/:id','show','create','put','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment'];(function(_0x2641f9,_0x26715f){var _0x585741=function(_0x2d1462){while(--_0x2d1462){_0x2641f9['push'](_0x2641f9['shift']());}};_0x585741(++_0x26715f);}(_0x9c91,0x14e));var _0x19c9=function(_0x1194d7,_0x459cd2){_0x1194d7=_0x1194d7-0x0;var _0x586a14=_0x9c91[_0x1194d7];return _0x586a14;};'use strict';var multer=require(_0x19c9('0x0'));var util=require(_0x19c9('0x1'));var path=require(_0x19c9('0x2'));var timeout=require(_0x19c9('0x3'));var express=require(_0x19c9('0x4'));var router=express[_0x19c9('0x5')]();var auth=require(_0x19c9('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x19c9('0x7'));var controller=require(_0x19c9('0x8'));router['get']('/',auth[_0x19c9('0x9')](),controller[_0x19c9('0xa')]);router[_0x19c9('0xb')](_0x19c9('0xc'),auth[_0x19c9('0x9')](),controller[_0x19c9('0xd')]);router['post']('/',auth['isAuthenticated'](),controller[_0x19c9('0xe')]);router[_0x19c9('0xf')](_0x19c9('0xc'),auth[_0x19c9('0x9')](),controller['update']);router[_0x19c9('0x10')](_0x19c9('0xc'),auth['isAuthenticated'](),controller[_0x19c9('0x11')]);module[_0x19c9('0x12')]=router;