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