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 _0x6d0b=['path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intFreshsalesField.controller','isAuthenticated','index','get','/:id','show','post','create','put','delete','destroy','multer'];(function(_0x58417b,_0xc00192){var _0x418f5f=function(_0xce9685){while(--_0xce9685){_0x58417b['push'](_0x58417b['shift']());}};_0x418f5f(++_0xc00192);}(_0x6d0b,0x71));var _0xb6d0=function(_0x5a55e3,_0x10732a){_0x5a55e3=_0x5a55e3-0x0;var _0x2d3443=_0x6d0b[_0x5a55e3];return _0x2d3443;};'use strict';var multer=require(_0xb6d0('0x0'));var util=require('util');var path=require(_0xb6d0('0x1'));var timeout=require('connect-timeout');var express=require(_0xb6d0('0x2'));var router=express[_0xb6d0('0x3')]();var fs_extra=require(_0xb6d0('0x4'));var auth=require(_0xb6d0('0x5'));var interaction=require(_0xb6d0('0x6'));var config=require(_0xb6d0('0x7'));var controller=require(_0xb6d0('0x8'));router['get']('/',auth[_0xb6d0('0x9')](),controller[_0xb6d0('0xa')]);router[_0xb6d0('0xb')](_0xb6d0('0xc'),auth[_0xb6d0('0x9')](),controller[_0xb6d0('0xd')]);router[_0xb6d0('0xe')]('/',auth[_0xb6d0('0x9')](),controller[_0xb6d0('0xf')]);router[_0xb6d0('0x10')](_0xb6d0('0xc'),auth[_0xb6d0('0x9')](),controller['update']);router[_0xb6d0('0x11')]('/:id',auth[_0xb6d0('0x9')](),controller[_0xb6d0('0x12')]);module['exports']=router;