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 _0x546b=['../../config/environment','./userProfileSection.controller','isAuthenticated','index','get','/:id','show','create','put','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x53b37c,_0x1e3dae){var _0x912a5=function(_0x3e0a92){while(--_0x3e0a92){_0x53b37c['push'](_0x53b37c['shift']());}};_0x912a5(++_0x1e3dae);}(_0x546b,0x16e));var _0xb546=function(_0x1a595a,_0x263824){_0x1a595a=_0x1a595a-0x0;var _0x33f008=_0x546b[_0x1a595a];return _0x33f008;};'use strict';var multer=require(_0xb546('0x0'));var util=require(_0xb546('0x1'));var path=require(_0xb546('0x2'));var timeout=require(_0xb546('0x3'));var express=require(_0xb546('0x4'));var router=express[_0xb546('0x5')]();var auth=require(_0xb546('0x6'));var interaction=require(_0xb546('0x7'));var config=require(_0xb546('0x8'));var controller=require(_0xb546('0x9'));router['get']('/',auth[_0xb546('0xa')](),controller[_0xb546('0xb')]);router[_0xb546('0xc')]('/describe',auth[_0xb546('0xa')](),controller['describe']);router[_0xb546('0xc')](_0xb546('0xd'),auth[_0xb546('0xa')](),controller[_0xb546('0xe')]);router['post']('/',auth[_0xb546('0xa')](),controller[_0xb546('0xf')]);router[_0xb546('0x10')](_0xb546('0xd'),auth['isAuthenticated'](),controller['update']);router['delete'](_0xb546('0xd'),auth[_0xb546('0xa')](),controller['destroy']);module['exports']=router;