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