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 _0x5cb8=['get','/:id','show','post','create','put','delete','exports','multer','util','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated','index'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x5cb8,0x1a6));var _0x85cb=function(_0x5ea6da,_0x5d29c9){_0x5ea6da=_0x5ea6da-0x0;var _0x40e1da=_0x5cb8[_0x5ea6da];return _0x40e1da;};'use strict';var multer=require(_0x85cb('0x0'));var util=require(_0x85cb('0x1'));var path=require(_0x85cb('0x2'));var timeout=require('connect-timeout');var express=require(_0x85cb('0x3'));var router=express[_0x85cb('0x4')]();var auth=require(_0x85cb('0x5'));var interaction=require(_0x85cb('0x6'));var config=require(_0x85cb('0x7'));var controller=require('./intFreshsalesField.controller');router['get']('/',auth[_0x85cb('0x8')](),controller[_0x85cb('0x9')]);router[_0x85cb('0xa')](_0x85cb('0xb'),auth[_0x85cb('0x8')](),controller[_0x85cb('0xc')]);router[_0x85cb('0xd')]('/',auth[_0x85cb('0x8')](),controller[_0x85cb('0xe')]);router[_0x85cb('0xf')](_0x85cb('0xb'),auth[_0x85cb('0x8')](),controller['update']);router[_0x85cb('0x10')](_0x85cb('0xb'),auth[_0x85cb('0x8')](),controller['destroy']);module[_0x85cb('0x11')]=router;