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 _0x8909=['/describe','describe','isAuthenticated','download','post','create','put','/:id','delete','destroy','util','path','connect-timeout','express','../../config/environment','./screenRecording.controller','get','index'];(function(_0x1627d0,_0x5c07b1){var _0x4d6e63=function(_0x2cac11){while(--_0x2cac11){_0x1627d0['push'](_0x1627d0['shift']());}};_0x4d6e63(++_0x5c07b1);}(_0x8909,0x1de));var _0x9890=function(_0x33bc64,_0x4d1e92){_0x33bc64=_0x33bc64-0x0;var _0x3fdd34=_0x8909[_0x33bc64];return _0x3fdd34;};'use strict';var multer=require('multer');var util=require(_0x9890('0x0'));var path=require(_0x9890('0x1'));var timeout=require(_0x9890('0x2'));var express=require(_0x9890('0x3'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x9890('0x4'));var controller=require(_0x9890('0x5'));router[_0x9890('0x6')]('/',auth['isAuthenticated'](),controller[_0x9890('0x7')]);router[_0x9890('0x6')](_0x9890('0x8'),auth['isAuthenticated'](),controller[_0x9890('0x9')]);router[_0x9890('0x6')]('/:id',auth[_0x9890('0xa')](),controller['show']);router[_0x9890('0x6')]('/:id/download',auth[_0x9890('0xa')](),controller[_0x9890('0xb')]);router[_0x9890('0xc')]('/',auth['isAuthenticated'](),controller[_0x9890('0xd')]);router[_0x9890('0xe')](_0x9890('0xf'),auth['isAuthenticated'](),controller['update']);router[_0x9890('0x10')](_0x9890('0xf'),auth[_0x9890('0xa')](),controller[_0x9890('0x11')]);module['exports']=router;