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 _0xfd77=['path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','./userProfileSection.controller','get','index','/describe','isAuthenticated','show','post','create','/:id','update','delete','destroy','multer','util'];(function(_0x48003a,_0x3506bd){var _0x2844d2=function(_0x97404f){while(--_0x97404f){_0x48003a['push'](_0x48003a['shift']());}};_0x2844d2(++_0x3506bd);}(_0xfd77,0xc6));var _0x7fd7=function(_0x388285,_0x3a0701){_0x388285=_0x388285-0x0;var _0x4493be=_0xfd77[_0x388285];return _0x4493be;};'use strict';var multer=require(_0x7fd7('0x0'));var util=require(_0x7fd7('0x1'));var path=require(_0x7fd7('0x2'));var timeout=require(_0x7fd7('0x3'));var express=require(_0x7fd7('0x4'));var router=express['Router']();var fs_extra=require(_0x7fd7('0x5'));var auth=require(_0x7fd7('0x6'));var interaction=require(_0x7fd7('0x7'));var config=require('../../config/environment');var controller=require(_0x7fd7('0x8'));router[_0x7fd7('0x9')]('/',auth['isAuthenticated'](),controller[_0x7fd7('0xa')]);router[_0x7fd7('0x9')](_0x7fd7('0xb'),auth[_0x7fd7('0xc')](),controller['describe']);router['get']('/:id',auth[_0x7fd7('0xc')](),controller[_0x7fd7('0xd')]);router[_0x7fd7('0xe')]('/',auth[_0x7fd7('0xc')](),controller[_0x7fd7('0xf')]);router['put'](_0x7fd7('0x10'),auth['isAuthenticated'](),controller[_0x7fd7('0x11')]);router[_0x7fd7('0x12')](_0x7fd7('0x10'),auth[_0x7fd7('0xc')](),controller[_0x7fd7('0x13')]);module['exports']=router;