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