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 _0x7f4b=['multer','util','connect-timeout','Router','fs-extra','../../components/interaction/service','./userProfileSection.controller','get','isAuthenticated','/describe','describe','/:id','post','create','put','delete','destroy'];(function(_0x4c260a,_0x148241){var _0x17bbdd=function(_0x4f3e9f){while(--_0x4f3e9f){_0x4c260a['push'](_0x4c260a['shift']());}};_0x17bbdd(++_0x148241);}(_0x7f4b,0x1a9));var _0xb7f4=function(_0x450076,_0x10983b){_0x450076=_0x450076-0x0;var _0x2029cc=_0x7f4b[_0x450076];return _0x2029cc;};'use strict';var multer=require(_0xb7f4('0x0'));var util=require(_0xb7f4('0x1'));var path=require('path');var timeout=require(_0xb7f4('0x2'));var express=require('express');var router=express[_0xb7f4('0x3')]();var fs_extra=require(_0xb7f4('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0xb7f4('0x5'));var config=require('../../config/environment');var controller=require(_0xb7f4('0x6'));router[_0xb7f4('0x7')]('/',auth[_0xb7f4('0x8')](),controller['index']);router[_0xb7f4('0x7')](_0xb7f4('0x9'),auth[_0xb7f4('0x8')](),controller[_0xb7f4('0xa')]);router[_0xb7f4('0x7')](_0xb7f4('0xb'),auth[_0xb7f4('0x8')](),controller['show']);router[_0xb7f4('0xc')]('/',auth[_0xb7f4('0x8')](),controller[_0xb7f4('0xd')]);router[_0xb7f4('0xe')]('/:id',auth[_0xb7f4('0x8')](),controller['update']);router[_0xb7f4('0xf')](_0xb7f4('0xb'),auth['isAuthenticated'](),controller[_0xb7f4('0x10')]);module['exports']=router;