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 _0xf912=['path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./intFreshdeskField.controller','isAuthenticated','get','/:id','create','put','update','delete','destroy','exports','util'];(function(_0x19e35c,_0x29cd1e){var _0x3e1fe8=function(_0x17258b){while(--_0x17258b){_0x19e35c['push'](_0x19e35c['shift']());}};_0x3e1fe8(++_0x29cd1e);}(_0xf912,0xe9));var _0x2f91=function(_0x389251,_0x40a434){_0x389251=_0x389251-0x0;var _0x2bf62f=_0xf912[_0x389251];return _0x2bf62f;};'use strict';var multer=require('multer');var util=require(_0x2f91('0x0'));var path=require(_0x2f91('0x1'));var timeout=require(_0x2f91('0x2'));var express=require(_0x2f91('0x3'));var router=express[_0x2f91('0x4')]();var fs_extra=require(_0x2f91('0x5'));var auth=require(_0x2f91('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x2f91('0x7'));var controller=require(_0x2f91('0x8'));router['get']('/',auth[_0x2f91('0x9')](),controller['index']);router[_0x2f91('0xa')](_0x2f91('0xb'),auth[_0x2f91('0x9')](),controller['show']);router['post']('/',auth[_0x2f91('0x9')](),controller[_0x2f91('0xc')]);router[_0x2f91('0xd')](_0x2f91('0xb'),auth[_0x2f91('0x9')](),controller[_0x2f91('0xe')]);router[_0x2f91('0xf')]('/:id',auth[_0x2f91('0x9')](),controller[_0x2f91('0x10')]);module[_0x2f91('0x11')]=router;