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 _0x5941=['put','update','delete','destroy','exports','multer','util','path','../../components/auth/service','../../config/environment','./intFreshsalesField.controller','get','/:id','isAuthenticated','post','create'];(function(_0x1762b4,_0x33d836){var _0x29beda=function(_0x31c2fa){while(--_0x31c2fa){_0x1762b4['push'](_0x1762b4['shift']());}};_0x29beda(++_0x33d836);}(_0x5941,0x115));var _0x1594=function(_0x4d9fbb,_0x1fbf45){_0x4d9fbb=_0x4d9fbb-0x0;var _0x589027=_0x5941[_0x4d9fbb];return _0x589027;};'use strict';var multer=require(_0x1594('0x0'));var util=require(_0x1594('0x1'));var path=require(_0x1594('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var auth=require(_0x1594('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0x1594('0x4'));var controller=require(_0x1594('0x5'));router[_0x1594('0x6')]('/',auth['isAuthenticated'](),controller['index']);router[_0x1594('0x6')](_0x1594('0x7'),auth[_0x1594('0x8')](),controller['show']);router[_0x1594('0x9')]('/',auth[_0x1594('0x8')](),controller[_0x1594('0xa')]);router[_0x1594('0xb')]('/:id',auth[_0x1594('0x8')](),controller[_0x1594('0xc')]);router[_0x1594('0xd')](_0x1594('0x7'),auth[_0x1594('0x8')](),controller[_0x1594('0xe')]);module[_0x1594('0xf')]=router;