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 _0xe8f0=['download','post','put','update','delete','exports','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../config/environment','./screenRecording.controller','isAuthenticated','get','/describe','describe','/:id','show'];(function(_0x483eab,_0xe5157d){var _0x1aa0cb=function(_0x2af9e2){while(--_0x2af9e2){_0x483eab['push'](_0x483eab['shift']());}};_0x1aa0cb(++_0xe5157d);}(_0xe8f0,0x1e9));var _0x0e8f=function(_0x1435b2,_0xa894da){_0x1435b2=_0x1435b2-0x0;var _0x2b8ff9=_0xe8f0[_0x1435b2];return _0x2b8ff9;};'use strict';var multer=require(_0x0e8f('0x0'));var util=require(_0x0e8f('0x1'));var path=require(_0x0e8f('0x2'));var timeout=require('connect-timeout');var express=require(_0x0e8f('0x3'));var router=express[_0x0e8f('0x4')]();var fs_extra=require(_0x0e8f('0x5'));var auth=require(_0x0e8f('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x0e8f('0x7'));var controller=require(_0x0e8f('0x8'));router['get']('/',auth[_0x0e8f('0x9')](),controller['index']);router[_0x0e8f('0xa')](_0x0e8f('0xb'),auth['isAuthenticated'](),controller[_0x0e8f('0xc')]);router['get'](_0x0e8f('0xd'),auth[_0x0e8f('0x9')](),controller[_0x0e8f('0xe')]);router[_0x0e8f('0xa')]('/:id/download',auth['isAuthenticated'](),controller[_0x0e8f('0xf')]);router[_0x0e8f('0x10')]('/',auth[_0x0e8f('0x9')](),controller['create']);router[_0x0e8f('0x11')](_0x0e8f('0xd'),auth[_0x0e8f('0x9')](),controller[_0x0e8f('0x12')]);router[_0x0e8f('0x13')](_0x0e8f('0xd'),auth[_0x0e8f('0x9')](),controller['destroy']);module[_0x0e8f('0x14')]=router;