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 _0xe63f=['Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intFreshdeskField.controller','get','isAuthenticated','index','/:id','show','post','create','put','update','delete','destroy','exports','multer','util','express'];(function(_0xbe91d0,_0x5b159f){var _0x36fb86=function(_0x585ce0){while(--_0x585ce0){_0xbe91d0['push'](_0xbe91d0['shift']());}};_0x36fb86(++_0x5b159f);}(_0xe63f,0x1a1));var _0xfe63=function(_0xb4572e,_0x1ab19c){_0xb4572e=_0xb4572e-0x0;var _0x33d26c=_0xe63f[_0xb4572e];return _0x33d26c;};'use strict';var multer=require(_0xfe63('0x0'));var util=require(_0xfe63('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xfe63('0x2'));var router=express[_0xfe63('0x3')]();var fs_extra=require(_0xfe63('0x4'));var auth=require(_0xfe63('0x5'));var interaction=require(_0xfe63('0x6'));var config=require(_0xfe63('0x7'));var controller=require(_0xfe63('0x8'));router[_0xfe63('0x9')]('/',auth[_0xfe63('0xa')](),controller[_0xfe63('0xb')]);router[_0xfe63('0x9')](_0xfe63('0xc'),auth['isAuthenticated'](),controller[_0xfe63('0xd')]);router[_0xfe63('0xe')]('/',auth['isAuthenticated'](),controller[_0xfe63('0xf')]);router[_0xfe63('0x10')](_0xfe63('0xc'),auth[_0xfe63('0xa')](),controller[_0xfe63('0x11')]);router[_0xfe63('0x12')](_0xfe63('0xc'),auth[_0xfe63('0xa')](),controller[_0xfe63('0x13')]);module[_0xfe63('0x14')]=router;