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 _0xaeca=['../../config/environment','./intFreshdeskField.controller','get','index','/:id','isAuthenticated','show','post','create','put','delete','destroy','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service'];(function(_0x1ff6d1,_0x52f903){var _0x1554cd=function(_0x233f9d){while(--_0x233f9d){_0x1ff6d1['push'](_0x1ff6d1['shift']());}};_0x1554cd(++_0x52f903);}(_0xaeca,0xfc));var _0xaaec=function(_0x258d6e,_0x54387b){_0x258d6e=_0x258d6e-0x0;var _0x1654f2=_0xaeca[_0x258d6e];return _0x1654f2;};'use strict';var multer=require(_0xaaec('0x0'));var util=require(_0xaaec('0x1'));var path=require(_0xaaec('0x2'));var timeout=require(_0xaaec('0x3'));var express=require(_0xaaec('0x4'));var router=express[_0xaaec('0x5')]();var fs_extra=require(_0xaaec('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0xaaec('0x7'));var config=require(_0xaaec('0x8'));var controller=require(_0xaaec('0x9'));router[_0xaaec('0xa')]('/',auth['isAuthenticated'](),controller[_0xaaec('0xb')]);router[_0xaaec('0xa')](_0xaaec('0xc'),auth[_0xaaec('0xd')](),controller[_0xaaec('0xe')]);router[_0xaaec('0xf')]('/',auth[_0xaaec('0xd')](),controller[_0xaaec('0x10')]);router[_0xaaec('0x11')](_0xaaec('0xc'),auth[_0xaaec('0xd')](),controller['update']);router[_0xaaec('0x12')]('/:id',auth['isAuthenticated'](),controller[_0xaaec('0x13')]);module['exports']=router;