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 _0x5174=['../../components/auth/service','../../config/environment','./screenRecording.controller','get','isAuthenticated','index','/describe','describe','show','download','post','put','/:id','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router'];(function(_0x567994,_0x12dff0){var _0x3ab03f=function(_0x38f095){while(--_0x38f095){_0x567994['push'](_0x567994['shift']());}};_0x3ab03f(++_0x12dff0);}(_0x5174,0x13c));var _0x4517=function(_0x45e520,_0x2d11df){_0x45e520=_0x45e520-0x0;var _0x209a05=_0x5174[_0x45e520];return _0x209a05;};'use strict';var multer=require(_0x4517('0x0'));var util=require(_0x4517('0x1'));var path=require(_0x4517('0x2'));var timeout=require(_0x4517('0x3'));var express=require(_0x4517('0x4'));var router=express[_0x4517('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0x4517('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x4517('0x7'));var controller=require(_0x4517('0x8'));router[_0x4517('0x9')]('/',auth[_0x4517('0xa')](),controller[_0x4517('0xb')]);router[_0x4517('0x9')](_0x4517('0xc'),auth['isAuthenticated'](),controller[_0x4517('0xd')]);router[_0x4517('0x9')]('/:id',auth[_0x4517('0xa')](),controller[_0x4517('0xe')]);router[_0x4517('0x9')]('/:id/download',auth[_0x4517('0xa')](),controller[_0x4517('0xf')]);router[_0x4517('0x10')]('/',auth[_0x4517('0xa')](),controller['create']);router[_0x4517('0x11')](_0x4517('0x12'),auth[_0x4517('0xa')](),controller[_0x4517('0x13')]);router[_0x4517('0x14')]('/:id',auth[_0x4517('0xa')](),controller[_0x4517('0x15')]);module[_0x4517('0x16')]=router;