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 _0xb3a5=['../../config/environment','./intSugarcrmField.controller','get','isAuthenticated','index','/:id','show','create','update','delete','destroy','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x176807,_0x137e37){var _0x26cd57=function(_0x4d3f71){while(--_0x4d3f71){_0x176807['push'](_0x176807['shift']());}};_0x26cd57(++_0x137e37);}(_0xb3a5,0xe3));var _0x5b3a=function(_0x4d8fc8,_0x28692d){_0x4d8fc8=_0x4d8fc8-0x0;var _0x20b457=_0xb3a5[_0x4d8fc8];return _0x20b457;};'use strict';var multer=require('multer');var util=require(_0x5b3a('0x0'));var path=require(_0x5b3a('0x1'));var timeout=require(_0x5b3a('0x2'));var express=require(_0x5b3a('0x3'));var router=express[_0x5b3a('0x4')]();var auth=require(_0x5b3a('0x5'));var interaction=require(_0x5b3a('0x6'));var config=require(_0x5b3a('0x7'));var controller=require(_0x5b3a('0x8'));router[_0x5b3a('0x9')]('/',auth[_0x5b3a('0xa')](),controller[_0x5b3a('0xb')]);router[_0x5b3a('0x9')](_0x5b3a('0xc'),auth[_0x5b3a('0xa')](),controller[_0x5b3a('0xd')]);router['post']('/',auth[_0x5b3a('0xa')](),controller[_0x5b3a('0xe')]);router['put'](_0x5b3a('0xc'),auth[_0x5b3a('0xa')](),controller[_0x5b3a('0xf')]);router[_0x5b3a('0x10')](_0x5b3a('0xc'),auth[_0x5b3a('0xa')](),controller[_0x5b3a('0x11')]);module['exports']=router;