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