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 _0xea86=['util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intFreshdeskField.controller','get','isAuthenticated','/:id','show','put','update','delete','destroy','multer'];(function(_0x30182f,_0x30ce41){var _0x5207db=function(_0x50a417){while(--_0x50a417){_0x30182f['push'](_0x30182f['shift']());}};_0x5207db(++_0x30ce41);}(_0xea86,0x18b));var _0x6ea8=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0xea86[_0x20a584];return _0x4b41a8;};'use strict';var multer=require(_0x6ea8('0x0'));var util=require(_0x6ea8('0x1'));var path=require('path');var timeout=require(_0x6ea8('0x2'));var express=require(_0x6ea8('0x3'));var router=express[_0x6ea8('0x4')]();var fs_extra=require(_0x6ea8('0x5'));var auth=require(_0x6ea8('0x6'));var interaction=require(_0x6ea8('0x7'));var config=require(_0x6ea8('0x8'));var controller=require(_0x6ea8('0x9'));router[_0x6ea8('0xa')]('/',auth[_0x6ea8('0xb')](),controller['index']);router[_0x6ea8('0xa')](_0x6ea8('0xc'),auth[_0x6ea8('0xb')](),controller[_0x6ea8('0xd')]);router['post']('/',auth[_0x6ea8('0xb')](),controller['create']);router[_0x6ea8('0xe')](_0x6ea8('0xc'),auth[_0x6ea8('0xb')](),controller[_0x6ea8('0xf')]);router[_0x6ea8('0x10')](_0x6ea8('0xc'),auth[_0x6ea8('0xb')](),controller[_0x6ea8('0x11')]);module['exports']=router;