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