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 _0xcf66=['./intFreshdeskField.controller','isAuthenticated','index','get','show','post','create','put','delete','destroy','exports','multer','util','path','express','Router','../../config/environment'];(function(_0x1e12b2,_0x1f0faa){var _0x456f9b=function(_0x5030a6){while(--_0x5030a6){_0x1e12b2['push'](_0x1e12b2['shift']());}};_0x456f9b(++_0x1f0faa);}(_0xcf66,0x71));var _0x6cf6=function(_0x115732,_0x2273af){_0x115732=_0x115732-0x0;var _0x3be7eb=_0xcf66[_0x115732];return _0x3be7eb;};'use strict';var multer=require(_0x6cf6('0x0'));var util=require(_0x6cf6('0x1'));var path=require(_0x6cf6('0x2'));var timeout=require('connect-timeout');var express=require(_0x6cf6('0x3'));var router=express[_0x6cf6('0x4')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x6cf6('0x5'));var controller=require(_0x6cf6('0x6'));router['get']('/',auth[_0x6cf6('0x7')](),controller[_0x6cf6('0x8')]);router[_0x6cf6('0x9')]('/:id',auth[_0x6cf6('0x7')](),controller[_0x6cf6('0xa')]);router[_0x6cf6('0xb')]('/',auth[_0x6cf6('0x7')](),controller[_0x6cf6('0xc')]);router[_0x6cf6('0xd')]('/:id',auth['isAuthenticated'](),controller['update']);router[_0x6cf6('0xe')]('/:id',auth[_0x6cf6('0x7')](),controller[_0x6cf6('0xf')]);module[_0x6cf6('0x10')]=router;