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