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 _0xa846=['isAuthenticated','index','get','/describe','describe','/:id','show','create','put','update','delete','destroy','util','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./userProfileResource.controller'];(function(_0x539898,_0x1bb48a){var _0x5d6856=function(_0x214583){while(--_0x214583){_0x539898['push'](_0x539898['shift']());}};_0x5d6856(++_0x1bb48a);}(_0xa846,0x70));var _0x6a84=function(_0x55fdf1,_0x133350){_0x55fdf1=_0x55fdf1-0x0;var _0x18857d=_0xa846[_0x55fdf1];return _0x18857d;};'use strict';var multer=require('multer');var util=require(_0x6a84('0x0'));var path=require(_0x6a84('0x1'));var timeout=require(_0x6a84('0x2'));var express=require(_0x6a84('0x3'));var router=express[_0x6a84('0x4')]();var auth=require(_0x6a84('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x6a84('0x6'));var controller=require(_0x6a84('0x7'));router['get']('/',auth[_0x6a84('0x8')](),controller[_0x6a84('0x9')]);router[_0x6a84('0xa')](_0x6a84('0xb'),auth['isAuthenticated'](),controller[_0x6a84('0xc')]);router['get'](_0x6a84('0xd'),auth['isAuthenticated'](),controller[_0x6a84('0xe')]);router['post']('/',auth[_0x6a84('0x8')](),controller[_0x6a84('0xf')]);router[_0x6a84('0x10')](_0x6a84('0xd'),auth[_0x6a84('0x8')](),controller[_0x6a84('0x11')]);router[_0x6a84('0x12')]('/:id',auth[_0x6a84('0x8')](),controller[_0x6a84('0x13')]);module['exports']=router;