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 _0x0719=['get','/:id','show','create','destroy','multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated'];(function(_0x47ac22,_0x5781b8){var _0x325122=function(_0x2d8b7c){while(--_0x2d8b7c){_0x47ac22['push'](_0x47ac22['shift']());}};_0x325122(++_0x5781b8);}(_0x0719,0x104));var _0x9071=function(_0x21b48b,_0x164e54){_0x21b48b=_0x21b48b-0x0;var _0x45f3d5=_0x0719[_0x21b48b];return _0x45f3d5;};'use strict';var multer=require(_0x9071('0x0'));var util=require(_0x9071('0x1'));var path=require('path');var timeout=require(_0x9071('0x2'));var express=require(_0x9071('0x3'));var router=express[_0x9071('0x4')]();var fs_extra=require(_0x9071('0x5'));var auth=require(_0x9071('0x6'));var interaction=require(_0x9071('0x7'));var config=require(_0x9071('0x8'));var controller=require('./intFreshdeskField.controller');router['get']('/',auth[_0x9071('0x9')](),controller['index']);router[_0x9071('0xa')](_0x9071('0xb'),auth[_0x9071('0x9')](),controller[_0x9071('0xc')]);router['post']('/',auth[_0x9071('0x9')](),controller[_0x9071('0xd')]);router['put'](_0x9071('0xb'),auth[_0x9071('0x9')](),controller['update']);router['delete'](_0x9071('0xb'),auth[_0x9071('0x9')](),controller[_0x9071('0xe')]);module['exports']=router;