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 _0x06a0=['exports','multer','path','Router','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','index','/:id','create','put','update','delete','destroy'];(function(_0x158a2a,_0x429e2e){var _0x17b949=function(_0xd4924c){while(--_0xd4924c){_0x158a2a['push'](_0x158a2a['shift']());}};_0x17b949(++_0x429e2e);}(_0x06a0,0x1e1));var _0x006a=function(_0x58ae9f,_0xcaa7d7){_0x58ae9f=_0x58ae9f-0x0;var _0x4c966d=_0x06a0[_0x58ae9f];return _0x4c966d;};'use strict';var multer=require(_0x006a('0x0'));var util=require('util');var path=require(_0x006a('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x006a('0x2')]();var auth=require(_0x006a('0x3'));var interaction=require(_0x006a('0x4'));var config=require('../../config/environment');var controller=require('./intFreshdeskField.controller');router[_0x006a('0x5')]('/',auth[_0x006a('0x6')](),controller[_0x006a('0x7')]);router[_0x006a('0x5')](_0x006a('0x8'),auth[_0x006a('0x6')](),controller['show']);router['post']('/',auth[_0x006a('0x6')](),controller[_0x006a('0x9')]);router[_0x006a('0xa')](_0x006a('0x8'),auth[_0x006a('0x6')](),controller[_0x006a('0xb')]);router[_0x006a('0xc')](_0x006a('0x8'),auth[_0x006a('0x6')](),controller[_0x006a('0xd')]);module[_0x006a('0xe')]=router;