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 _0x5e86=['express','Router','fs-extra','../../components/interaction/service','../../config/environment','./userProfileResource.controller','isAuthenticated','index','get','/describe','/:id','show','post','create','put','update','path','connect-timeout'];(function(_0x36e488,_0x1741a1){var _0x372dd8=function(_0x4ea7d3){while(--_0x4ea7d3){_0x36e488['push'](_0x36e488['shift']());}};_0x372dd8(++_0x1741a1);}(_0x5e86,0x19c));var _0x65e8=function(_0xe1a2d9,_0x3bef10){_0xe1a2d9=_0xe1a2d9-0x0;var _0x33d146=_0x5e86[_0xe1a2d9];return _0x33d146;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x65e8('0x0'));var timeout=require(_0x65e8('0x1'));var express=require(_0x65e8('0x2'));var router=express[_0x65e8('0x3')]();var fs_extra=require(_0x65e8('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x65e8('0x5'));var config=require(_0x65e8('0x6'));var controller=require(_0x65e8('0x7'));router['get']('/',auth[_0x65e8('0x8')](),controller[_0x65e8('0x9')]);router[_0x65e8('0xa')](_0x65e8('0xb'),auth[_0x65e8('0x8')](),controller['describe']);router['get'](_0x65e8('0xc'),auth[_0x65e8('0x8')](),controller[_0x65e8('0xd')]);router[_0x65e8('0xe')]('/',auth[_0x65e8('0x8')](),controller[_0x65e8('0xf')]);router[_0x65e8('0x10')](_0x65e8('0xc'),auth[_0x65e8('0x8')](),controller[_0x65e8('0x11')]);router['delete']('/:id',auth[_0x65e8('0x8')](),controller['destroy']);module['exports']=router;