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 _0x4d38=['../../components/interaction/service','./intFreshsalesField.controller','get','/:id','isAuthenticated','show','post','create','put','update','delete','destroy','multer','util','path','express','../../components/auth/service'];(function(_0x13a4bf,_0x56cb27){var _0x2933d6=function(_0x4a966f){while(--_0x4a966f){_0x13a4bf['push'](_0x13a4bf['shift']());}};_0x2933d6(++_0x56cb27);}(_0x4d38,0xc7));var _0x84d3=function(_0x276e0a,_0xfa4f3f){_0x276e0a=_0x276e0a-0x0;var _0x1f2970=_0x4d38[_0x276e0a];return _0x1f2970;};'use strict';var multer=require(_0x84d3('0x0'));var util=require(_0x84d3('0x1'));var path=require(_0x84d3('0x2'));var timeout=require('connect-timeout');var express=require(_0x84d3('0x3'));var router=express['Router']();var auth=require(_0x84d3('0x4'));var interaction=require(_0x84d3('0x5'));var config=require('../../config/environment');var controller=require(_0x84d3('0x6'));router[_0x84d3('0x7')]('/',auth['isAuthenticated'](),controller['index']);router['get'](_0x84d3('0x8'),auth[_0x84d3('0x9')](),controller[_0x84d3('0xa')]);router[_0x84d3('0xb')]('/',auth[_0x84d3('0x9')](),controller[_0x84d3('0xc')]);router[_0x84d3('0xd')](_0x84d3('0x8'),auth[_0x84d3('0x9')](),controller[_0x84d3('0xe')]);router[_0x84d3('0xf')](_0x84d3('0x8'),auth[_0x84d3('0x9')](),controller[_0x84d3('0x10')]);module['exports']=router;