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 _0x1c4f=['post','create','update','delete','multer','util','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/:id'];(function(_0x2e13ca,_0x54f33d){var _0x39444e=function(_0x55e026){while(--_0x55e026){_0x2e13ca['push'](_0x2e13ca['shift']());}};_0x39444e(++_0x54f33d);}(_0x1c4f,0x1f4));var _0xf1c4=function(_0x357982,_0x56f418){_0x357982=_0x357982-0x0;var _0x3b054d=_0x1c4f[_0x357982];return _0x3b054d;};'use strict';var multer=require(_0xf1c4('0x0'));var util=require(_0xf1c4('0x1'));var path=require(_0xf1c4('0x2'));var timeout=require('connect-timeout');var express=require(_0xf1c4('0x3'));var router=express[_0xf1c4('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xf1c4('0x5'));var interaction=require(_0xf1c4('0x6'));var config=require(_0xf1c4('0x7'));var controller=require('./intFreshsalesField.controller');router[_0xf1c4('0x8')]('/',auth[_0xf1c4('0x9')](),controller[_0xf1c4('0xa')]);router[_0xf1c4('0x8')](_0xf1c4('0xb'),auth[_0xf1c4('0x9')](),controller['show']);router[_0xf1c4('0xc')]('/',auth[_0xf1c4('0x9')](),controller[_0xf1c4('0xd')]);router['put'](_0xf1c4('0xb'),auth[_0xf1c4('0x9')](),controller[_0xf1c4('0xe')]);router[_0xf1c4('0xf')](_0xf1c4('0xb'),auth[_0xf1c4('0x9')](),controller['destroy']);module['exports']=router;