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 _0xa280=['describe','/:id','post','put','delete','destroy','exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./userProfileResource.controller','get','isAuthenticated','index','/describe'];(function(_0x4abb10,_0x26897f){var _0x2494fe=function(_0x44c085){while(--_0x44c085){_0x4abb10['push'](_0x4abb10['shift']());}};_0x2494fe(++_0x26897f);}(_0xa280,0xc4));var _0x0a28=function(_0x64207e,_0x49f785){_0x64207e=_0x64207e-0x0;var _0x2f0246=_0xa280[_0x64207e];return _0x2f0246;};'use strict';var multer=require(_0x0a28('0x0'));var util=require(_0x0a28('0x1'));var path=require('path');var timeout=require(_0x0a28('0x2'));var express=require(_0x0a28('0x3'));var router=express[_0x0a28('0x4')]();var fs_extra=require(_0x0a28('0x5'));var auth=require(_0x0a28('0x6'));var interaction=require(_0x0a28('0x7'));var config=require(_0x0a28('0x8'));var controller=require(_0x0a28('0x9'));router[_0x0a28('0xa')]('/',auth[_0x0a28('0xb')](),controller[_0x0a28('0xc')]);router[_0x0a28('0xa')](_0x0a28('0xd'),auth[_0x0a28('0xb')](),controller[_0x0a28('0xe')]);router[_0x0a28('0xa')](_0x0a28('0xf'),auth[_0x0a28('0xb')](),controller['show']);router[_0x0a28('0x10')]('/',auth[_0x0a28('0xb')](),controller['create']);router[_0x0a28('0x11')](_0x0a28('0xf'),auth['isAuthenticated'](),controller['update']);router[_0x0a28('0x12')](_0x0a28('0xf'),auth[_0x0a28('0xb')](),controller[_0x0a28('0x13')]);module[_0x0a28('0x14')]=router;