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 _0x710e=['destroy','exports','multer','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./intFreshsalesField.controller','index','get','/:id','isAuthenticated','show','post','update','delete'];(function(_0xe15270,_0x227d06){var _0x1e813b=function(_0x1d590d){while(--_0x1d590d){_0xe15270['push'](_0xe15270['shift']());}};_0x1e813b(++_0x227d06);}(_0x710e,0xb6));var _0xe710=function(_0x405e66,_0x38e21a){_0x405e66=_0x405e66-0x0;var _0x4cc766=_0x710e[_0x405e66];return _0x4cc766;};'use strict';var multer=require(_0xe710('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xe710('0x1'));var express=require(_0xe710('0x2'));var router=express[_0xe710('0x3')]();var fs_extra=require(_0xe710('0x4'));var auth=require(_0xe710('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xe710('0x6'));var controller=require(_0xe710('0x7'));router['get']('/',auth['isAuthenticated'](),controller[_0xe710('0x8')]);router[_0xe710('0x9')](_0xe710('0xa'),auth[_0xe710('0xb')](),controller[_0xe710('0xc')]);router[_0xe710('0xd')]('/',auth['isAuthenticated'](),controller['create']);router['put'](_0xe710('0xa'),auth[_0xe710('0xb')](),controller[_0xe710('0xe')]);router[_0xe710('0xf')](_0xe710('0xa'),auth[_0xe710('0xb')](),controller[_0xe710('0x10')]);module[_0xe710('0x11')]=router;