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 _0x30f9=['fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated','index','get','/:id','show','create','update','delete','destroy','exports','util','path','connect-timeout','express','Router'];(function(_0x15ea7c,_0x3048e5){var _0x3ddd32=function(_0x14f80c){while(--_0x14f80c){_0x15ea7c['push'](_0x15ea7c['shift']());}};_0x3ddd32(++_0x3048e5);}(_0x30f9,0xa6));var _0x930f=function(_0x5ad67c,_0x144860){_0x5ad67c=_0x5ad67c-0x0;var _0xccce2e=_0x30f9[_0x5ad67c];return _0xccce2e;};'use strict';var multer=require('multer');var util=require(_0x930f('0x0'));var path=require(_0x930f('0x1'));var timeout=require(_0x930f('0x2'));var express=require(_0x930f('0x3'));var router=express[_0x930f('0x4')]();var fs_extra=require(_0x930f('0x5'));var auth=require(_0x930f('0x6'));var interaction=require(_0x930f('0x7'));var config=require(_0x930f('0x8'));var controller=require('./intFreshdeskField.controller');router['get']('/',auth[_0x930f('0x9')](),controller[_0x930f('0xa')]);router[_0x930f('0xb')](_0x930f('0xc'),auth['isAuthenticated'](),controller[_0x930f('0xd')]);router['post']('/',auth[_0x930f('0x9')](),controller[_0x930f('0xe')]);router['put'](_0x930f('0xc'),auth[_0x930f('0x9')](),controller[_0x930f('0xf')]);router[_0x930f('0x10')]('/:id',auth[_0x930f('0x9')](),controller[_0x930f('0x11')]);module[_0x930f('0x12')]=router;