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 _0x49b3=['show','post','put','/:id','update','delete','destroy','exports','multer','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated'];(function(_0x48999d,_0x1e02cb){var _0x1ad0d1=function(_0x3f974e){while(--_0x3f974e){_0x48999d['push'](_0x48999d['shift']());}};_0x1ad0d1(++_0x1e02cb);}(_0x49b3,0x107));var _0x349b=function(_0x288f5e,_0x205edd){_0x288f5e=_0x288f5e-0x0;var _0x476cc9=_0x49b3[_0x288f5e];return _0x476cc9;};'use strict';var multer=require(_0x349b('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x349b('0x1'));var express=require('express');var router=express[_0x349b('0x2')]();var fs_extra=require(_0x349b('0x3'));var auth=require(_0x349b('0x4'));var interaction=require(_0x349b('0x5'));var config=require(_0x349b('0x6'));var controller=require('./intFreshdeskField.controller');router[_0x349b('0x7')]('/',auth[_0x349b('0x8')](),controller['index']);router[_0x349b('0x7')]('/:id',auth[_0x349b('0x8')](),controller[_0x349b('0x9')]);router[_0x349b('0xa')]('/',auth[_0x349b('0x8')](),controller['create']);router[_0x349b('0xb')](_0x349b('0xc'),auth[_0x349b('0x8')](),controller[_0x349b('0xd')]);router[_0x349b('0xe')](_0x349b('0xc'),auth[_0x349b('0x8')](),controller[_0x349b('0xf')]);module[_0x349b('0x10')]=router;