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