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 _0x1d8a=['/:id','show','post','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/describe','describe'];(function(_0xf9f296,_0x2ba860){var _0x413db5=function(_0x163eed){while(--_0x163eed){_0xf9f296['push'](_0xf9f296['shift']());}};_0x413db5(++_0x2ba860);}(_0x1d8a,0x1d4));var _0xa1d8=function(_0x3891e8,_0x3b6b95){_0x3891e8=_0x3891e8-0x0;var _0xc34c60=_0x1d8a[_0x3891e8];return _0xc34c60;};'use strict';var multer=require(_0xa1d8('0x0'));var util=require(_0xa1d8('0x1'));var path=require(_0xa1d8('0x2'));var timeout=require(_0xa1d8('0x3'));var express=require(_0xa1d8('0x4'));var router=express[_0xa1d8('0x5')]();var fs_extra=require(_0xa1d8('0x6'));var auth=require(_0xa1d8('0x7'));var interaction=require(_0xa1d8('0x8'));var config=require(_0xa1d8('0x9'));var controller=require('./userProfileSection.controller');router[_0xa1d8('0xa')]('/',auth[_0xa1d8('0xb')](),controller[_0xa1d8('0xc')]);router[_0xa1d8('0xa')](_0xa1d8('0xd'),auth[_0xa1d8('0xb')](),controller[_0xa1d8('0xe')]);router[_0xa1d8('0xa')](_0xa1d8('0xf'),auth[_0xa1d8('0xb')](),controller[_0xa1d8('0x10')]);router[_0xa1d8('0x11')]('/',auth[_0xa1d8('0xb')](),controller['create']);router[_0xa1d8('0x12')]('/:id',auth[_0xa1d8('0xb')](),controller[_0xa1d8('0x13')]);router[_0xa1d8('0x14')](_0xa1d8('0xf'),auth[_0xa1d8('0xb')](),controller[_0xa1d8('0x15')]);module[_0xa1d8('0x16')]=router;