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 _0xf274=['isAuthenticated','/:id','post','create','put','update','delete','destroy','multer','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./intFreshsalesField.controller','get'];(function(_0x446f11,_0x95cf21){var _0x385cb5=function(_0x426715){while(--_0x426715){_0x446f11['push'](_0x446f11['shift']());}};_0x385cb5(++_0x95cf21);}(_0xf274,0x1ca));var _0x4f27=function(_0x172747,_0x1732bd){_0x172747=_0x172747-0x0;var _0x509692=_0xf274[_0x172747];return _0x509692;};'use strict';var multer=require(_0x4f27('0x0'));var util=require(_0x4f27('0x1'));var path=require(_0x4f27('0x2'));var timeout=require(_0x4f27('0x3'));var express=require(_0x4f27('0x4'));var router=express['Router']();var auth=require(_0x4f27('0x5'));var interaction=require(_0x4f27('0x6'));var config=require(_0x4f27('0x7'));var controller=require(_0x4f27('0x8'));router[_0x4f27('0x9')]('/',auth[_0x4f27('0xa')](),controller['index']);router[_0x4f27('0x9')](_0x4f27('0xb'),auth[_0x4f27('0xa')](),controller['show']);router[_0x4f27('0xc')]('/',auth[_0x4f27('0xa')](),controller[_0x4f27('0xd')]);router[_0x4f27('0xe')](_0x4f27('0xb'),auth[_0x4f27('0xa')](),controller[_0x4f27('0xf')]);router[_0x4f27('0x10')](_0x4f27('0xb'),auth[_0x4f27('0xa')](),controller[_0x4f27('0x11')]);module['exports']=router;