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 _0x3d2f=['multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./userProfileResource.controller','isAuthenticated','index','get','/describe','/:id','show','create','put','update','exports'];(function(_0x3a274e,_0x25411b){var _0x526a06=function(_0x103c0f){while(--_0x103c0f){_0x3a274e['push'](_0x3a274e['shift']());}};_0x526a06(++_0x25411b);}(_0x3d2f,0x18f));var _0xf3d2=function(_0x3e0583,_0x4f0c7d){_0x3e0583=_0x3e0583-0x0;var _0x4f5045=_0x3d2f[_0x3e0583];return _0x4f5045;};'use strict';var multer=require(_0xf3d2('0x0'));var util=require(_0xf3d2('0x1'));var path=require('path');var timeout=require(_0xf3d2('0x2'));var express=require(_0xf3d2('0x3'));var router=express[_0xf3d2('0x4')]();var auth=require(_0xf3d2('0x5'));var interaction=require(_0xf3d2('0x6'));var config=require(_0xf3d2('0x7'));var controller=require(_0xf3d2('0x8'));router['get']('/',auth[_0xf3d2('0x9')](),controller[_0xf3d2('0xa')]);router[_0xf3d2('0xb')](_0xf3d2('0xc'),auth[_0xf3d2('0x9')](),controller['describe']);router[_0xf3d2('0xb')](_0xf3d2('0xd'),auth['isAuthenticated'](),controller[_0xf3d2('0xe')]);router['post']('/',auth[_0xf3d2('0x9')](),controller[_0xf3d2('0xf')]);router[_0xf3d2('0x10')](_0xf3d2('0xd'),auth[_0xf3d2('0x9')](),controller[_0xf3d2('0x11')]);router['delete'](_0xf3d2('0xd'),auth[_0xf3d2('0x9')](),controller['destroy']);module[_0xf3d2('0x12')]=router;