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