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 _0xf69c=['Router','../../components/auth/service','../../components/interaction/service','./userProfileResource.controller','get','isAuthenticated','index','/describe','/:id','show','post','create','update','exports','multer','util','path','connect-timeout'];(function(_0x1a0760,_0x4d79a6){var _0x1bfe78=function(_0x174f2a){while(--_0x174f2a){_0x1a0760['push'](_0x1a0760['shift']());}};_0x1bfe78(++_0x4d79a6);}(_0xf69c,0x1e2));var _0xcf69=function(_0x4fb122,_0x38df6a){_0x4fb122=_0x4fb122-0x0;var _0x78527=_0xf69c[_0x4fb122];return _0x78527;};'use strict';var multer=require(_0xcf69('0x0'));var util=require(_0xcf69('0x1'));var path=require(_0xcf69('0x2'));var timeout=require(_0xcf69('0x3'));var express=require('express');var router=express[_0xcf69('0x4')]();var auth=require(_0xcf69('0x5'));var interaction=require(_0xcf69('0x6'));var config=require('../../config/environment');var controller=require(_0xcf69('0x7'));router[_0xcf69('0x8')]('/',auth[_0xcf69('0x9')](),controller[_0xcf69('0xa')]);router[_0xcf69('0x8')](_0xcf69('0xb'),auth[_0xcf69('0x9')](),controller['describe']);router[_0xcf69('0x8')](_0xcf69('0xc'),auth['isAuthenticated'](),controller[_0xcf69('0xd')]);router[_0xcf69('0xe')]('/',auth[_0xcf69('0x9')](),controller[_0xcf69('0xf')]);router['put'](_0xcf69('0xc'),auth[_0xcf69('0x9')](),controller[_0xcf69('0x10')]);router['delete'](_0xcf69('0xc'),auth[_0xcf69('0x9')](),controller['destroy']);module[_0xcf69('0x11')]=router;